/******/ (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] = { /******/ exports: {}, /******/ id: moduleId, /******/ loaded: false /******/ }; /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ // Flag the module as loaded /******/ module.loaded = 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; /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ // Load entry module and return exports /******/ return __webpack_require__(0); /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\nvar ReactDOM = __webpack_require__(34);\n\n// store and actions\nvar Store = __webpack_require__(73);\n\n// Views\nvar Configurator = __webpack_require__(690);\nvar DealerQuotes = __webpack_require__(780);\nvar BusinessSettings = __webpack_require__(786);\n\n// Utils\nvar Constants = __webpack_require__(270);\nvar Helpers = __webpack_require__(21);\nvar Polyfill = __webpack_require__(685);\n\nvar Router = {\n\troutes: [],\n\n\tchangeToRoute: function changeToRoute() {\n\t\tvar mountNode = document.querySelector(Constants.CONFIGURATOR_APP_MOUNT_NODE);\n\t\tvar country = Helpers.getCountryAndLanguageFromUrl().country;\n\t\tvar language = Helpers.getCountryAndLanguageFromUrl().language;\n\t\tvar nodeId = mountNode.getAttribute('data-id');\n\t\tvar productId = mountNode.getAttribute('data-productid');\n\t\tvar color = mountNode.getAttribute('data-color');\n\t\tvar brand = mountNode.getAttribute('data-brand');\n\t\tvar dealerId = mountNode.getAttribute('data-dealerid');\n\t\tvar route = Router.getRouteFromHash();\n\t\tReactDOM.render(React.createElement(Configurator, {\n\t\t\tslug: route.slug,\n\t\t\tstep: route.stepNumber,\n\t\t\tcountry: country,\n\t\t\tlanguage: language,\n\t\t\tnodeId: nodeId,\n\t\t\tcolor: color,\n\t\t\tbrand: brand,\n\t\t\tproductId: productId,\n\t\t\tdealerId: dealerId\n\t\t}), mountNode);\n\t},\n\n\tgetRouteFromHash: function getRouteFromHash() {\n\t\tvar routeToReturn = { slug: 'step-0', stepNumber: 0 };\n\t\tvar hash = window.location.hash;\n\t\tif (hash.indexOf('#') > -1) {\n\t\t\thash = hash.split('?')[0].substr(1);\n\t\t\tif (hash == 'thanks') {\n\t\t\t\trouteToReturn = {\n\t\t\t\t\tslug: 'thanks',\n\t\t\t\t\tstepNumber: 6\n\t\t\t\t};\n\t\t\t} else {\n\t\t\t\tRouter.routes.forEach(function (route) {\n\t\t\t\t\tif (route.slug == hash) {\n\t\t\t\t\t\trouteToReturn = route;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\treturn routeToReturn;\n\t},\n\n\tonHashChange: function onHashChange() {\n\t\tRouter.changeToRoute();\n\t},\n\n\tonStoreChange: function onStoreChange() {\n\t\tvar model = Store.getConfiguratorModel();\n\t\tif (model && model.steps) {\n\t\t\t// See if model steps have changed.\n\t\t\tif (JSON.stringify(Router.routes) !== JSON.stringify(model.steps)) {\n\t\t\t\tRouter.routes = model.steps;\n\t\t\t\tif (window.location.hash === '' || window.location.hash === '') {\n\t\t\t\t\twindow.location.hash = '#' + model.steps[0].slug;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\tstartApp: function startApp() {\n\t\tif (Constants.USE_MOCK_API) {\n\t\t\tconsole.warn('Warning: Constants.USE_MOCK_API is set to `true`. Set to `false` in `/assets/react/utils/constants.js` and rebuild before testing live API data or pushing to production.');\n\t\t}\n\t\tvar mountNode;\n\t\tvar country = Helpers.getCountryAndLanguageFromUrl().country;\n\t\tvar language = Helpers.getCountryAndLanguageFromUrl().language;\n\t\tif (document.querySelector(Constants.CONFIGURATOR_APP_MOUNT_NODE)) {\n\t\t\tmountNode = document.querySelector(Constants.CONFIGURATOR_APP_MOUNT_NODE);\n\t\t\twindow.location.hash = '';\n\t\t\twindow.onhashchange = Router.onHashChange;\n\t\t\tStore.addChangeListener(Router.onStoreChange);\n\t\t\tvar route = Router.getRouteFromHash();\n\t\t\t// The Umbraco Node Id\n\t\t\tvar nodeId = mountNode.getAttribute('data-id');\n\t\t\tvar productId = mountNode.getAttribute('data-productid');\n\t\t\tvar color = mountNode.getAttribute('data-color');\n\t\t\tvar brand = mountNode.getAttribute('data-brand');\n\t\t\tvar dealerId = mountNode.getAttribute('data-dealerid');\n\t\t\tReactDOM.render(React.createElement(Configurator, {\n\t\t\t\tslug: route.slug,\n\t\t\t\tstep: route.stepNumber,\n\t\t\t\tcountry: country,\n\t\t\t\tlanguage: language,\n\t\t\t\tnodeId: nodeId,\n\t\t\t\tcolor: color,\n\t\t\t\tbrand: brand,\n\t\t\t\tproductId: productId,\n\t\t\t\tdealerId: dealerId\n\t\t\t}), mountNode);\n\t\t} else if (document.querySelector('div[data-react-dealer-quotes]')) {\n\t\t\tmountNode = document.querySelector('div[data-react-dealer-quotes]');\n\t\t\tvar nodeId = mountNode.getAttribute('data-id');\n\t\t\tvar dealerId = mountNode.getAttribute('data-dealer');\n\t\t\tvar color = mountNode.getAttribute('data-color');\n\t\t\tvar brand = mountNode.getAttribute('data-brand');\n\t\t\tReactDOM.render(React.createElement(DealerQuotes, {\n\t\t\t\tcountry: country,\n\t\t\t\tlanguage: language,\n\t\t\t\tnodeId: nodeId,\n\t\t\t\tcolor: color,\n\t\t\t\tbrand: brand,\n\t\t\t\tdealerId: dealerId\n\t\t\t}), mountNode);\n\t\t} else if (document.querySelector('div[data-react-business-settings')) {\n\t\t\tmountNode = document.querySelector('div[data-react-business-settings]');\n\t\t\tvar nodeId = mountNode.getAttribute('data-id');\n\t\t\tvar dealerId = mountNode.getAttribute('data-dealer');\n\t\t\tvar color = mountNode.getAttribute('data-color');\n\t\t\tvar brand = mountNode.getAttribute('data-brand');\n\t\t\tReactDOM.render(React.createElement(BusinessSettings, {\n\t\t\t\tcountry: country,\n\t\t\t\tlanguage: language,\n\t\t\t\tnodeId: nodeId,\n\t\t\t\tcolor: color,\n\t\t\t\tbrand: brand,\n\t\t\t\tdealerId: dealerId\n\t\t\t}), mountNode);\n\t\t}\n\t}\n};\n\nvar attempts = 0;\nvar initApp = function initApp() {\n\t// The configurator will fail if a step loads the gallery before jQuery loads.\n\t// This initiation logic prevents that from occuring.\n\tif (typeof $ !== 'undefined') {\n\t\tPolyfill.init();\n\t\tRouter.startApp();\n\t} else {\n\t\tattempts++;\n\t\tif (attempts < 200) {\n\t\t\twindow.setTimeout(function () {\n\t\t\t\tinitApp();\n\t\t\t}, 100);\n\t\t} else {\n\t\t\tconsole.error('Cannot load boat configurator: Dependency $ did not properly load.');\n\t\t}\n\t}\n};\n\ninitApp();\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/app.jsx\n// module id = 0\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/app.jsx?"); /***/ }), /* 1 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nmodule.exports = __webpack_require__(31);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/react.js\n// module id = 1\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/react.js?"); /***/ }), /* 2 */ /***/ (function(module, exports) { eval("// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // 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\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // 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.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/process/browser.js\n// module id = 2\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/process/browser.js?"); /***/ }), /* 3 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar validateFormat = function validateFormat(format) {};\n\nif (process.env.NODE_ENV !== 'production') {\n validateFormat = function validateFormat(format) {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n };\n}\n\nfunction invariant(condition, format, a, b, c, d, e, f) {\n validateFormat(format);\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(format.replace(/%s/g, function () {\n return args[argIndex++];\n }));\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n}\n\nmodule.exports = invariant;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/invariant.js\n// module id = 3\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/fbjs/lib/invariant.js?"); /***/ }), /* 4 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar emptyFunction = __webpack_require__(14);\n\n/**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\nvar warning = emptyFunction;\n\nif (process.env.NODE_ENV !== 'production') {\n var printWarning = function printWarning(format) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var argIndex = 0;\n var message = 'Warning: ' + format.replace(/%s/g, function () {\n return args[argIndex++];\n });\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n\n warning = function warning(condition, format) {\n if (format === undefined) {\n throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');\n }\n\n if (format.indexOf('Failed Composite propType: ') === 0) {\n return; // Ignore CompositeComponent proptype check.\n }\n\n if (!condition) {\n for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n args[_key2 - 2] = arguments[_key2];\n }\n\n printWarning.apply(undefined, [format].concat(args));\n }\n };\n}\n\nmodule.exports = warning;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/warning.js\n// module id = 4\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/fbjs/lib/warning.js?"); /***/ }), /* 5 */, /* 6 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n'use strict';\n\n/**\n * WARNING: DO NOT manually require this module.\n * This is a replacement for `invariant(...)` used by the error code system\n * and will _only_ be required by the corresponding babel pass.\n * It always throws.\n */\n\nfunction reactProdInvariant(code) {\n var argCount = arguments.length - 1;\n\n var message = 'Minified React error #' + code + '; visit ' + 'https://facebook.github.io/react/docs/error-decoder.html?invariant=' + code;\n\n for (var argIdx = 0; argIdx < argCount; argIdx++) {\n message += '&args[]=' + encodeURIComponent(arguments[argIdx + 1]);\n }\n\n message += ' for the full message or use the non-minified dev environment' + ' for full errors and additional helpful warnings.';\n\n var error = new Error(message);\n error.name = 'Invariant Violation';\n error.framesToPop = 1; // we don't care about reactProdInvariant's own frame\n\n throw error;\n}\n\nmodule.exports = reactProdInvariant;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/reactProdInvariant.js\n// module id = 6\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/reactProdInvariant.js?"); /***/ }), /* 7 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6);\n\nvar DOMProperty = __webpack_require__(23);\nvar ReactDOMComponentFlags = __webpack_require__(94);\n\nvar invariant = __webpack_require__(3);\n\nvar ATTR_NAME = DOMProperty.ID_ATTRIBUTE_NAME;\nvar Flags = ReactDOMComponentFlags;\n\nvar internalInstanceKey = '__reactInternalInstance$' + Math.random().toString(36).slice(2);\n\n/**\n * Check if a given node should be cached.\n */\nfunction shouldPrecacheNode(node, nodeID) {\n return node.nodeType === 1 && node.getAttribute(ATTR_NAME) === String(nodeID) || node.nodeType === 8 && node.nodeValue === ' react-text: ' + nodeID + ' ' || node.nodeType === 8 && node.nodeValue === ' react-empty: ' + nodeID + ' ';\n}\n\n/**\n * Drill down (through composites and empty components) until we get a host or\n * host text component.\n *\n * This is pretty polymorphic but unavoidable with the current structure we have\n * for `_renderedChildren`.\n */\nfunction getRenderedHostOrTextFromComponent(component) {\n var rendered;\n while (rendered = component._renderedComponent) {\n component = rendered;\n }\n return component;\n}\n\n/**\n * Populate `_hostNode` on the rendered host/text component with the given\n * DOM node. The passed `inst` can be a composite.\n */\nfunction precacheNode(inst, node) {\n var hostInst = getRenderedHostOrTextFromComponent(inst);\n hostInst._hostNode = node;\n node[internalInstanceKey] = hostInst;\n}\n\nfunction uncacheNode(inst) {\n var node = inst._hostNode;\n if (node) {\n delete node[internalInstanceKey];\n inst._hostNode = null;\n }\n}\n\n/**\n * Populate `_hostNode` on each child of `inst`, assuming that the children\n * match up with the DOM (element) children of `node`.\n *\n * We cache entire levels at once to avoid an n^2 problem where we access the\n * children of a node sequentially and have to walk from the start to our target\n * node every time.\n *\n * Since we update `_renderedChildren` and the actual DOM at (slightly)\n * different times, we could race here and see a newer `_renderedChildren` than\n * the DOM nodes we see. To avoid this, ReactMultiChild calls\n * `prepareToManageChildren` before we change `_renderedChildren`, at which\n * time the container's child nodes are always cached (until it unmounts).\n */\nfunction precacheChildNodes(inst, node) {\n if (inst._flags & Flags.hasCachedChildNodes) {\n return;\n }\n var children = inst._renderedChildren;\n var childNode = node.firstChild;\n outer: for (var name in children) {\n if (!children.hasOwnProperty(name)) {\n continue;\n }\n var childInst = children[name];\n var childID = getRenderedHostOrTextFromComponent(childInst)._domID;\n if (childID === 0) {\n // We're currently unmounting this child in ReactMultiChild; skip it.\n continue;\n }\n // We assume the child nodes are in the same order as the child instances.\n for (; childNode !== null; childNode = childNode.nextSibling) {\n if (shouldPrecacheNode(childNode, childID)) {\n precacheNode(childInst, childNode);\n continue outer;\n }\n }\n // We reached the end of the DOM children without finding an ID match.\n true ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Unable to find element with ID %s.', childID) : _prodInvariant('32', childID) : void 0;\n }\n inst._flags |= Flags.hasCachedChildNodes;\n}\n\n/**\n * Given a DOM node, return the closest ReactDOMComponent or\n * ReactDOMTextComponent instance ancestor.\n */\nfunction getClosestInstanceFromNode(node) {\n if (node[internalInstanceKey]) {\n return node[internalInstanceKey];\n }\n\n // Walk up the tree until we find an ancestor whose instance we have cached.\n var parents = [];\n while (!node[internalInstanceKey]) {\n parents.push(node);\n if (node.parentNode) {\n node = node.parentNode;\n } else {\n // Top of the tree. This node must not be part of a React tree (or is\n // unmounted, potentially).\n return null;\n }\n }\n\n var closest;\n var inst;\n for (; node && (inst = node[internalInstanceKey]); node = parents.pop()) {\n closest = inst;\n if (parents.length) {\n precacheChildNodes(inst, node);\n }\n }\n\n return closest;\n}\n\n/**\n * Given a DOM node, return the ReactDOMComponent or ReactDOMTextComponent\n * instance, or null if the node was not rendered by this React.\n */\nfunction getInstanceFromNode(node) {\n var inst = getClosestInstanceFromNode(node);\n if (inst != null && inst._hostNode === node) {\n return inst;\n } else {\n return null;\n }\n}\n\n/**\n * Given a ReactDOMComponent or ReactDOMTextComponent, return the corresponding\n * DOM node.\n */\nfunction getNodeFromInstance(inst) {\n // Without this first invariant, passing a non-DOM-component triggers the next\n // invariant for a missing parent, which is super confusing.\n !(inst._hostNode !== undefined) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'getNodeFromInstance: Invalid argument.') : _prodInvariant('33') : void 0;\n\n if (inst._hostNode) {\n return inst._hostNode;\n }\n\n // Walk up the tree until we find an ancestor whose DOM node we have cached.\n var parents = [];\n while (!inst._hostNode) {\n parents.push(inst);\n !inst._hostParent ? process.env.NODE_ENV !== 'production' ? invariant(false, 'React DOM tree root should always have a node reference.') : _prodInvariant('34') : void 0;\n inst = inst._hostParent;\n }\n\n // Now parents contains each ancestor that does *not* have a cached native\n // node, and `inst` is the deepest ancestor that does.\n for (; parents.length; inst = parents.pop()) {\n precacheChildNodes(inst, inst._hostNode);\n }\n\n return inst._hostNode;\n}\n\nvar ReactDOMComponentTree = {\n getClosestInstanceFromNode: getClosestInstanceFromNode,\n getInstanceFromNode: getInstanceFromNode,\n getNodeFromInstance: getNodeFromInstance,\n precacheChildNodes: precacheChildNodes,\n precacheNode: precacheNode,\n uncacheNode: uncacheNode\n};\n\nmodule.exports = ReactDOMComponentTree;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDOMComponentTree.js\n// module id = 7\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactDOMComponentTree.js?"); /***/ }), /* 8 */ /***/ (function(module, exports) { eval("/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/~/object-assign/index.js\n// module id = 8\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/~/object-assign/index.js?"); /***/ }), /* 9 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\n/**\n * Simple, lightweight module assisting with the detection and context of\n * Worker. Helps avoid circular dependencies and allows code to reason about\n * whether or not they are in a Worker, even if they never include the main\n * `ReactWorker` dependency.\n */\nvar ExecutionEnvironment = {\n\n canUseDOM: canUseDOM,\n\n canUseWorkers: typeof Worker !== 'undefined',\n\n canUseEventListeners: canUseDOM && !!(window.addEventListener || window.attachEvent),\n\n canUseViewport: canUseDOM && !!window.screen,\n\n isInWorker: !canUseDOM // For now, this is true - might change in the future.\n\n};\n\nmodule.exports = ExecutionEnvironment;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/ExecutionEnvironment.js\n// module id = 9\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/fbjs/lib/ExecutionEnvironment.js?"); /***/ }), /* 10 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2016-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(32);\n\nvar ReactCurrentOwner = __webpack_require__(17);\n\nvar invariant = __webpack_require__(3);\nvar warning = __webpack_require__(4);\n\nfunction isNative(fn) {\n // Based on isNative() from Lodash\n var funcToString = Function.prototype.toString;\n var hasOwnProperty = Object.prototype.hasOwnProperty;\n var reIsNative = RegExp('^' + funcToString\n // Take an example native function source for comparison\n .call(hasOwnProperty\n // Strip regex characters so we can use it for regex\n ).replace(/[\\\\^$.*+?()[\\]{}|]/g, '\\\\$&'\n // Remove hasOwnProperty from the template to make it generic\n ).replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$');\n try {\n var source = funcToString.call(fn);\n return reIsNative.test(source);\n } catch (err) {\n return false;\n }\n}\n\nvar canUseCollections =\n// Array.from\ntypeof Array.from === 'function' &&\n// Map\ntypeof Map === 'function' && isNative(Map) &&\n// Map.prototype.keys\nMap.prototype != null && typeof Map.prototype.keys === 'function' && isNative(Map.prototype.keys) &&\n// Set\ntypeof Set === 'function' && isNative(Set) &&\n// Set.prototype.keys\nSet.prototype != null && typeof Set.prototype.keys === 'function' && isNative(Set.prototype.keys);\n\nvar setItem;\nvar getItem;\nvar removeItem;\nvar getItemIDs;\nvar addRoot;\nvar removeRoot;\nvar getRootIDs;\n\nif (canUseCollections) {\n var itemMap = new Map();\n var rootIDSet = new Set();\n\n setItem = function (id, item) {\n itemMap.set(id, item);\n };\n getItem = function (id) {\n return itemMap.get(id);\n };\n removeItem = function (id) {\n itemMap['delete'](id);\n };\n getItemIDs = function () {\n return Array.from(itemMap.keys());\n };\n\n addRoot = function (id) {\n rootIDSet.add(id);\n };\n removeRoot = function (id) {\n rootIDSet['delete'](id);\n };\n getRootIDs = function () {\n return Array.from(rootIDSet.keys());\n };\n} else {\n var itemByKey = {};\n var rootByKey = {};\n\n // Use non-numeric keys to prevent V8 performance issues:\n // https://github.com/facebook/react/pull/7232\n var getKeyFromID = function (id) {\n return '.' + id;\n };\n var getIDFromKey = function (key) {\n return parseInt(key.substr(1), 10);\n };\n\n setItem = function (id, item) {\n var key = getKeyFromID(id);\n itemByKey[key] = item;\n };\n getItem = function (id) {\n var key = getKeyFromID(id);\n return itemByKey[key];\n };\n removeItem = function (id) {\n var key = getKeyFromID(id);\n delete itemByKey[key];\n };\n getItemIDs = function () {\n return Object.keys(itemByKey).map(getIDFromKey);\n };\n\n addRoot = function (id) {\n var key = getKeyFromID(id);\n rootByKey[key] = true;\n };\n removeRoot = function (id) {\n var key = getKeyFromID(id);\n delete rootByKey[key];\n };\n getRootIDs = function () {\n return Object.keys(rootByKey).map(getIDFromKey);\n };\n}\n\nvar unmountedIDs = [];\n\nfunction purgeDeep(id) {\n var item = getItem(id);\n if (item) {\n var childIDs = item.childIDs;\n\n removeItem(id);\n childIDs.forEach(purgeDeep);\n }\n}\n\nfunction describeComponentFrame(name, source, ownerName) {\n return '\\n in ' + (name || 'Unknown') + (source ? ' (at ' + source.fileName.replace(/^.*[\\\\\\/]/, '') + ':' + source.lineNumber + ')' : ownerName ? ' (created by ' + ownerName + ')' : '');\n}\n\nfunction getDisplayName(element) {\n if (element == null) {\n return '#empty';\n } else if (typeof element === 'string' || typeof element === 'number') {\n return '#text';\n } else if (typeof element.type === 'string') {\n return element.type;\n } else {\n return element.type.displayName || element.type.name || 'Unknown';\n }\n}\n\nfunction describeID(id) {\n var name = ReactComponentTreeHook.getDisplayName(id);\n var element = ReactComponentTreeHook.getElement(id);\n var ownerID = ReactComponentTreeHook.getOwnerID(id);\n var ownerName;\n if (ownerID) {\n ownerName = ReactComponentTreeHook.getDisplayName(ownerID);\n }\n process.env.NODE_ENV !== 'production' ? warning(element, 'ReactComponentTreeHook: Missing React element for debugID %s when ' + 'building stack', id) : void 0;\n return describeComponentFrame(name, element && element._source, ownerName);\n}\n\nvar ReactComponentTreeHook = {\n onSetChildren: function (id, nextChildIDs) {\n var item = getItem(id);\n !item ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Item must have been set') : _prodInvariant('144') : void 0;\n item.childIDs = nextChildIDs;\n\n for (var i = 0; i < nextChildIDs.length; i++) {\n var nextChildID = nextChildIDs[i];\n var nextChild = getItem(nextChildID);\n !nextChild ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Expected hook events to fire for the child before its parent includes it in onSetChildren().') : _prodInvariant('140') : void 0;\n !(nextChild.childIDs != null || typeof nextChild.element !== 'object' || nextChild.element == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Expected onSetChildren() to fire for a container child before its parent includes it in onSetChildren().') : _prodInvariant('141') : void 0;\n !nextChild.isMounted ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Expected onMountComponent() to fire for the child before its parent includes it in onSetChildren().') : _prodInvariant('71') : void 0;\n if (nextChild.parentID == null) {\n nextChild.parentID = id;\n // TODO: This shouldn't be necessary but mounting a new root during in\n // componentWillMount currently causes not-yet-mounted components to\n // be purged from our tree data so their parent id is missing.\n }\n !(nextChild.parentID === id) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Expected onBeforeMountComponent() parent and onSetChildren() to be consistent (%s has parents %s and %s).', nextChildID, nextChild.parentID, id) : _prodInvariant('142', nextChildID, nextChild.parentID, id) : void 0;\n }\n },\n onBeforeMountComponent: function (id, element, parentID) {\n var item = {\n element: element,\n parentID: parentID,\n text: null,\n childIDs: [],\n isMounted: false,\n updateCount: 0\n };\n setItem(id, item);\n },\n onBeforeUpdateComponent: function (id, element) {\n var item = getItem(id);\n if (!item || !item.isMounted) {\n // We may end up here as a result of setState() in componentWillUnmount().\n // In this case, ignore the element.\n return;\n }\n item.element = element;\n },\n onMountComponent: function (id) {\n var item = getItem(id);\n !item ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Item must have been set') : _prodInvariant('144') : void 0;\n item.isMounted = true;\n var isRoot = item.parentID === 0;\n if (isRoot) {\n addRoot(id);\n }\n },\n onUpdateComponent: function (id) {\n var item = getItem(id);\n if (!item || !item.isMounted) {\n // We may end up here as a result of setState() in componentWillUnmount().\n // In this case, ignore the element.\n return;\n }\n item.updateCount++;\n },\n onUnmountComponent: function (id) {\n var item = getItem(id);\n if (item) {\n // We need to check if it exists.\n // `item` might not exist if it is inside an error boundary, and a sibling\n // error boundary child threw while mounting. Then this instance never\n // got a chance to mount, but it still gets an unmounting event during\n // the error boundary cleanup.\n item.isMounted = false;\n var isRoot = item.parentID === 0;\n if (isRoot) {\n removeRoot(id);\n }\n }\n unmountedIDs.push(id);\n },\n purgeUnmountedComponents: function () {\n if (ReactComponentTreeHook._preventPurging) {\n // Should only be used for testing.\n return;\n }\n\n for (var i = 0; i < unmountedIDs.length; i++) {\n var id = unmountedIDs[i];\n purgeDeep(id);\n }\n unmountedIDs.length = 0;\n },\n isMounted: function (id) {\n var item = getItem(id);\n return item ? item.isMounted : false;\n },\n getCurrentStackAddendum: function (topElement) {\n var info = '';\n if (topElement) {\n var name = getDisplayName(topElement);\n var owner = topElement._owner;\n info += describeComponentFrame(name, topElement._source, owner && owner.getName());\n }\n\n var currentOwner = ReactCurrentOwner.current;\n var id = currentOwner && currentOwner._debugID;\n\n info += ReactComponentTreeHook.getStackAddendumByID(id);\n return info;\n },\n getStackAddendumByID: function (id) {\n var info = '';\n while (id) {\n info += describeID(id);\n id = ReactComponentTreeHook.getParentID(id);\n }\n return info;\n },\n getChildIDs: function (id) {\n var item = getItem(id);\n return item ? item.childIDs : [];\n },\n getDisplayName: function (id) {\n var element = ReactComponentTreeHook.getElement(id);\n if (!element) {\n return null;\n }\n return getDisplayName(element);\n },\n getElement: function (id) {\n var item = getItem(id);\n return item ? item.element : null;\n },\n getOwnerID: function (id) {\n var element = ReactComponentTreeHook.getElement(id);\n if (!element || !element._owner) {\n return null;\n }\n return element._owner._debugID;\n },\n getParentID: function (id) {\n var item = getItem(id);\n return item ? item.parentID : null;\n },\n getSource: function (id) {\n var item = getItem(id);\n var element = item ? item.element : null;\n var source = element != null ? element._source : null;\n return source;\n },\n getText: function (id) {\n var element = ReactComponentTreeHook.getElement(id);\n if (typeof element === 'string') {\n return element;\n } else if (typeof element === 'number') {\n return '' + element;\n } else {\n return null;\n }\n },\n getUpdateCount: function (id) {\n var item = getItem(id);\n return item ? item.updateCount : 0;\n },\n\n\n getRootIDs: getRootIDs,\n getRegisteredIDs: getItemIDs,\n\n pushNonStandardWarningStack: function (isCreatingElement, currentSource) {\n if (typeof console.reactStack !== 'function') {\n return;\n }\n\n var stack = [];\n var currentOwner = ReactCurrentOwner.current;\n var id = currentOwner && currentOwner._debugID;\n\n try {\n if (isCreatingElement) {\n stack.push({\n name: id ? ReactComponentTreeHook.getDisplayName(id) : null,\n fileName: currentSource ? currentSource.fileName : null,\n lineNumber: currentSource ? currentSource.lineNumber : null\n });\n }\n\n while (id) {\n var element = ReactComponentTreeHook.getElement(id);\n var parentID = ReactComponentTreeHook.getParentID(id);\n var ownerID = ReactComponentTreeHook.getOwnerID(id);\n var ownerName = ownerID ? ReactComponentTreeHook.getDisplayName(ownerID) : null;\n var source = element && element._source;\n stack.push({\n name: ownerName,\n fileName: source ? source.fileName : null,\n lineNumber: source ? source.lineNumber : null\n });\n id = parentID;\n }\n } catch (err) {\n // Internal state is messed up.\n // Stop building the stack (it's just a nice to have).\n }\n\n console.reactStack(stack);\n },\n popNonStandardWarningStack: function () {\n if (typeof console.reactStackEnd !== 'function') {\n return;\n }\n console.reactStackEnd();\n }\n};\n\nmodule.exports = ReactComponentTreeHook;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactComponentTreeHook.js\n// module id = 10\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/ReactComponentTreeHook.js?"); /***/ }), /* 11 */, /* 12 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar Store = __webpack_require__(73);\n\nvar Dictionary = {\n /**\r\n * Gets the dictionary from the store and returns it.\r\n * @returns {JSON} A JSON model of the dictionary pulled from storage.\r\n */\n getDictionary: function getDictionary() {\n var dictionary = localStorage.getItem('dictionary');\n return !!dictionary && dictionary !== 'undefined' ? JSON.parse(dictionary) : {};\n },\n\n /**\r\n * @method getPriceSetting\r\n * @returns {JSON}\r\n */\n getPriceSetting: function getPriceSetting() {\n var priceSetting = localStorage.getItem('priceSetting');\n return !!priceSetting ? JSON.parse(priceSetting) : {};\n },\n\n /**\r\n * @method getValue - Gets the matching value for the `key` from the dictionary\r\n * and returns it. If no entry matches, returns `placeholder` if it was \r\n * provided, otherwise returns the key.\r\n * @param {string} key\r\n * @param {string=} placeholder\r\n * @returns {string}\r\n */\n getValue: function getValue(key, placeholder) {\n var dictionary = Dictionary.getDictionary();\n if (dictionary[key] && typeof dictionary[key] !== 'undefined') {\n return dictionary[key];\n } else if (typeof placeholder !== 'undefined') {\n return placeholder;\n }\n return key;\n }\n};\n\nmodule.exports = Dictionary;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/utils/dictionary.js\n// module id = 12\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/utils/dictionary.js?"); /***/ }), /* 13 */, /* 14 */ /***/ (function(module, exports) { eval("\"use strict\";\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\nfunction makeEmptyFunction(arg) {\n return function () {\n return arg;\n };\n}\n\n/**\n * This function accepts and discards inputs; it has no side effects. This is\n * primarily useful idiomatically for overridable function endpoints which\n * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n */\nvar emptyFunction = function emptyFunction() {};\n\nemptyFunction.thatReturns = makeEmptyFunction;\nemptyFunction.thatReturnsFalse = makeEmptyFunction(false);\nemptyFunction.thatReturnsTrue = makeEmptyFunction(true);\nemptyFunction.thatReturnsNull = makeEmptyFunction(null);\nemptyFunction.thatReturnsThis = function () {\n return this;\n};\nemptyFunction.thatReturnsArgument = function (arg) {\n return arg;\n};\n\nmodule.exports = emptyFunction;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/emptyFunction.js\n// module id = 14\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/fbjs/lib/emptyFunction.js?"); /***/ }), /* 15 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2016-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\n// Trust the developer to only use ReactInstrumentation with a __DEV__ check\n\nvar debugTool = null;\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactDebugTool = __webpack_require__(196);\n debugTool = ReactDebugTool;\n}\n\nmodule.exports = { debugTool: debugTool };\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactInstrumentation.js\n// module id = 15\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactInstrumentation.js?"); /***/ }), /* 16 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6),\n _assign = __webpack_require__(8);\n\nvar CallbackQueue = __webpack_require__(92);\nvar PooledClass = __webpack_require__(26);\nvar ReactFeatureFlags = __webpack_require__(97);\nvar ReactReconciler = __webpack_require__(30);\nvar Transaction = __webpack_require__(48);\n\nvar invariant = __webpack_require__(3);\n\nvar dirtyComponents = [];\nvar updateBatchNumber = 0;\nvar asapCallbackQueue = CallbackQueue.getPooled();\nvar asapEnqueued = false;\n\nvar batchingStrategy = null;\n\nfunction ensureInjected() {\n !(ReactUpdates.ReactReconcileTransaction && batchingStrategy) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactUpdates: must inject a reconcile transaction class and batching strategy') : _prodInvariant('123') : void 0;\n}\n\nvar NESTED_UPDATES = {\n initialize: function () {\n this.dirtyComponentsLength = dirtyComponents.length;\n },\n close: function () {\n if (this.dirtyComponentsLength !== dirtyComponents.length) {\n // Additional updates were enqueued by componentDidUpdate handlers or\n // similar; before our own UPDATE_QUEUEING wrapper closes, we want to run\n // these new updates so that if A's componentDidUpdate calls setState on\n // B, B will update before the callback A's updater provided when calling\n // setState.\n dirtyComponents.splice(0, this.dirtyComponentsLength);\n flushBatchedUpdates();\n } else {\n dirtyComponents.length = 0;\n }\n }\n};\n\nvar UPDATE_QUEUEING = {\n initialize: function () {\n this.callbackQueue.reset();\n },\n close: function () {\n this.callbackQueue.notifyAll();\n }\n};\n\nvar TRANSACTION_WRAPPERS = [NESTED_UPDATES, UPDATE_QUEUEING];\n\nfunction ReactUpdatesFlushTransaction() {\n this.reinitializeTransaction();\n this.dirtyComponentsLength = null;\n this.callbackQueue = CallbackQueue.getPooled();\n this.reconcileTransaction = ReactUpdates.ReactReconcileTransaction.getPooled(\n /* useCreateElement */true);\n}\n\n_assign(ReactUpdatesFlushTransaction.prototype, Transaction, {\n getTransactionWrappers: function () {\n return TRANSACTION_WRAPPERS;\n },\n\n destructor: function () {\n this.dirtyComponentsLength = null;\n CallbackQueue.release(this.callbackQueue);\n this.callbackQueue = null;\n ReactUpdates.ReactReconcileTransaction.release(this.reconcileTransaction);\n this.reconcileTransaction = null;\n },\n\n perform: function (method, scope, a) {\n // Essentially calls `this.reconcileTransaction.perform(method, scope, a)`\n // with this transaction's wrappers around it.\n return Transaction.perform.call(this, this.reconcileTransaction.perform, this.reconcileTransaction, method, scope, a);\n }\n});\n\nPooledClass.addPoolingTo(ReactUpdatesFlushTransaction);\n\nfunction batchedUpdates(callback, a, b, c, d, e) {\n ensureInjected();\n return batchingStrategy.batchedUpdates(callback, a, b, c, d, e);\n}\n\n/**\n * Array comparator for ReactComponents by mount ordering.\n *\n * @param {ReactComponent} c1 first component you're comparing\n * @param {ReactComponent} c2 second component you're comparing\n * @return {number} Return value usable by Array.prototype.sort().\n */\nfunction mountOrderComparator(c1, c2) {\n return c1._mountOrder - c2._mountOrder;\n}\n\nfunction runBatchedUpdates(transaction) {\n var len = transaction.dirtyComponentsLength;\n !(len === dirtyComponents.length) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Expected flush transaction\\'s stored dirty-components length (%s) to match dirty-components array length (%s).', len, dirtyComponents.length) : _prodInvariant('124', len, dirtyComponents.length) : void 0;\n\n // Since reconciling a component higher in the owner hierarchy usually (not\n // always -- see shouldComponentUpdate()) will reconcile children, reconcile\n // them before their children by sorting the array.\n dirtyComponents.sort(mountOrderComparator);\n\n // Any updates enqueued while reconciling must be performed after this entire\n // batch. Otherwise, if dirtyComponents is [A, B] where A has children B and\n // C, B could update twice in a single batch if C's render enqueues an update\n // to B (since B would have already updated, we should skip it, and the only\n // way we can know to do so is by checking the batch counter).\n updateBatchNumber++;\n\n for (var i = 0; i < len; i++) {\n // If a component is unmounted before pending changes apply, it will still\n // be here, but we assume that it has cleared its _pendingCallbacks and\n // that performUpdateIfNecessary is a noop.\n var component = dirtyComponents[i];\n\n // If performUpdateIfNecessary happens to enqueue any new updates, we\n // shouldn't execute the callbacks until the next render happens, so\n // stash the callbacks first\n var callbacks = component._pendingCallbacks;\n component._pendingCallbacks = null;\n\n var markerName;\n if (ReactFeatureFlags.logTopLevelRenders) {\n var namedComponent = component;\n // Duck type TopLevelWrapper. This is probably always true.\n if (component._currentElement.type.isReactTopLevelWrapper) {\n namedComponent = component._renderedComponent;\n }\n markerName = 'React update: ' + namedComponent.getName();\n console.time(markerName);\n }\n\n ReactReconciler.performUpdateIfNecessary(component, transaction.reconcileTransaction, updateBatchNumber);\n\n if (markerName) {\n console.timeEnd(markerName);\n }\n\n if (callbacks) {\n for (var j = 0; j < callbacks.length; j++) {\n transaction.callbackQueue.enqueue(callbacks[j], component.getPublicInstance());\n }\n }\n }\n}\n\nvar flushBatchedUpdates = function () {\n // ReactUpdatesFlushTransaction's wrappers will clear the dirtyComponents\n // array and perform any updates enqueued by mount-ready handlers (i.e.,\n // componentDidUpdate) but we need to check here too in order to catch\n // updates enqueued by setState callbacks and asap calls.\n while (dirtyComponents.length || asapEnqueued) {\n if (dirtyComponents.length) {\n var transaction = ReactUpdatesFlushTransaction.getPooled();\n transaction.perform(runBatchedUpdates, null, transaction);\n ReactUpdatesFlushTransaction.release(transaction);\n }\n\n if (asapEnqueued) {\n asapEnqueued = false;\n var queue = asapCallbackQueue;\n asapCallbackQueue = CallbackQueue.getPooled();\n queue.notifyAll();\n CallbackQueue.release(queue);\n }\n }\n};\n\n/**\n * Mark a component as needing a rerender, adding an optional callback to a\n * list of functions which will be executed once the rerender occurs.\n */\nfunction enqueueUpdate(component) {\n ensureInjected();\n\n // Various parts of our code (such as ReactCompositeComponent's\n // _renderValidatedComponent) assume that calls to render aren't nested;\n // verify that that's the case. (This is called by each top-level update\n // function, like setState, forceUpdate, etc.; creation and\n // destruction of top-level components is guarded in ReactMount.)\n\n if (!batchingStrategy.isBatchingUpdates) {\n batchingStrategy.batchedUpdates(enqueueUpdate, component);\n return;\n }\n\n dirtyComponents.push(component);\n if (component._updateBatchNumber == null) {\n component._updateBatchNumber = updateBatchNumber + 1;\n }\n}\n\n/**\n * Enqueue a callback to be run at the end of the current batching cycle. Throws\n * if no updates are currently being performed.\n */\nfunction asap(callback, context) {\n invariant(batchingStrategy.isBatchingUpdates, \"ReactUpdates.asap: Can't enqueue an asap callback in a context where\" + 'updates are not being batched.');\n asapCallbackQueue.enqueue(callback, context);\n asapEnqueued = true;\n}\n\nvar ReactUpdatesInjection = {\n injectReconcileTransaction: function (ReconcileTransaction) {\n !ReconcileTransaction ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactUpdates: must provide a reconcile transaction class') : _prodInvariant('126') : void 0;\n ReactUpdates.ReactReconcileTransaction = ReconcileTransaction;\n },\n\n injectBatchingStrategy: function (_batchingStrategy) {\n !_batchingStrategy ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactUpdates: must provide a batching strategy') : _prodInvariant('127') : void 0;\n !(typeof _batchingStrategy.batchedUpdates === 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactUpdates: must provide a batchedUpdates() function') : _prodInvariant('128') : void 0;\n !(typeof _batchingStrategy.isBatchingUpdates === 'boolean') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactUpdates: must provide an isBatchingUpdates boolean attribute') : _prodInvariant('129') : void 0;\n batchingStrategy = _batchingStrategy;\n }\n};\n\nvar ReactUpdates = {\n /**\n * React references `ReactReconcileTransaction` using this property in order\n * to allow dependency injection.\n *\n * @internal\n */\n ReactReconcileTransaction: null,\n\n batchedUpdates: batchedUpdates,\n enqueueUpdate: enqueueUpdate,\n flushBatchedUpdates: flushBatchedUpdates,\n injection: ReactUpdatesInjection,\n asap: asap\n};\n\nmodule.exports = ReactUpdates;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactUpdates.js\n// module id = 16\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactUpdates.js?"); /***/ }), /* 17 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\n/**\n * Keeps track of the current owner.\n *\n * The current owner is the component who should own any components that are\n * currently being constructed.\n */\nvar ReactCurrentOwner = {\n /**\n * @internal\n * @type {ReactComponent}\n */\n current: null\n};\n\nmodule.exports = ReactCurrentOwner;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactCurrentOwner.js\n// module id = 17\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/ReactCurrentOwner.js?"); /***/ }), /* 18 */, /* 19 */, /* 20 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _assign = __webpack_require__(8);\n\nvar PooledClass = __webpack_require__(26);\n\nvar emptyFunction = __webpack_require__(14);\nvar warning = __webpack_require__(4);\n\nvar didWarnForAddedNewProperty = false;\nvar isProxySupported = typeof Proxy === 'function';\n\nvar shouldBeReleasedProperties = ['dispatchConfig', '_targetInst', 'nativeEvent', 'isDefaultPrevented', 'isPropagationStopped', '_dispatchListeners', '_dispatchInstances'];\n\n/**\n * @interface Event\n * @see https://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar EventInterface = {\n type: null,\n target: null,\n // currentTarget is set when dispatching; no use in copying it here\n currentTarget: emptyFunction.thatReturnsNull,\n eventPhase: null,\n bubbles: null,\n cancelable: null,\n timeStamp: function (event) {\n return event.timeStamp || Date.now();\n },\n defaultPrevented: null,\n isTrusted: null\n};\n\n/**\n * Synthetic events are dispatched by event plugins, typically in response to a\n * top-level event delegation handler.\n *\n * These systems should generally use pooling to reduce the frequency of garbage\n * collection. The system should check `isPersistent` to determine whether the\n * event should be released into the pool after being dispatched. Users that\n * need a persisted event should invoke `persist`.\n *\n * Synthetic events (and subclasses) implement the DOM Level 3 Events API by\n * normalizing browser quirks. Subclasses do not necessarily have to implement a\n * DOM interface; custom application-specific events can also subclass this.\n *\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {*} targetInst Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @param {DOMEventTarget} nativeEventTarget Target node.\n */\nfunction SyntheticEvent(dispatchConfig, targetInst, nativeEvent, nativeEventTarget) {\n if (process.env.NODE_ENV !== 'production') {\n // these have a getter/setter for warnings\n delete this.nativeEvent;\n delete this.preventDefault;\n delete this.stopPropagation;\n }\n\n this.dispatchConfig = dispatchConfig;\n this._targetInst = targetInst;\n this.nativeEvent = nativeEvent;\n\n var Interface = this.constructor.Interface;\n for (var propName in Interface) {\n if (!Interface.hasOwnProperty(propName)) {\n continue;\n }\n if (process.env.NODE_ENV !== 'production') {\n delete this[propName]; // this has a getter/setter for warnings\n }\n var normalize = Interface[propName];\n if (normalize) {\n this[propName] = normalize(nativeEvent);\n } else {\n if (propName === 'target') {\n this.target = nativeEventTarget;\n } else {\n this[propName] = nativeEvent[propName];\n }\n }\n }\n\n var defaultPrevented = nativeEvent.defaultPrevented != null ? nativeEvent.defaultPrevented : nativeEvent.returnValue === false;\n if (defaultPrevented) {\n this.isDefaultPrevented = emptyFunction.thatReturnsTrue;\n } else {\n this.isDefaultPrevented = emptyFunction.thatReturnsFalse;\n }\n this.isPropagationStopped = emptyFunction.thatReturnsFalse;\n return this;\n}\n\n_assign(SyntheticEvent.prototype, {\n preventDefault: function () {\n this.defaultPrevented = true;\n var event = this.nativeEvent;\n if (!event) {\n return;\n }\n\n if (event.preventDefault) {\n event.preventDefault();\n // eslint-disable-next-line valid-typeof\n } else if (typeof event.returnValue !== 'unknown') {\n event.returnValue = false;\n }\n this.isDefaultPrevented = emptyFunction.thatReturnsTrue;\n },\n\n stopPropagation: function () {\n var event = this.nativeEvent;\n if (!event) {\n return;\n }\n\n if (event.stopPropagation) {\n event.stopPropagation();\n // eslint-disable-next-line valid-typeof\n } else if (typeof event.cancelBubble !== 'unknown') {\n // The ChangeEventPlugin registers a \"propertychange\" event for\n // IE. This event does not support bubbling or cancelling, and\n // any references to cancelBubble throw \"Member not found\". A\n // typeof check of \"unknown\" circumvents this issue (and is also\n // IE specific).\n event.cancelBubble = true;\n }\n\n this.isPropagationStopped = emptyFunction.thatReturnsTrue;\n },\n\n /**\n * We release all dispatched `SyntheticEvent`s after each event loop, adding\n * them back into the pool. This allows a way to hold onto a reference that\n * won't be added back into the pool.\n */\n persist: function () {\n this.isPersistent = emptyFunction.thatReturnsTrue;\n },\n\n /**\n * Checks if this event should be released back into the pool.\n *\n * @return {boolean} True if this should not be released, false otherwise.\n */\n isPersistent: emptyFunction.thatReturnsFalse,\n\n /**\n * `PooledClass` looks for `destructor` on each instance it releases.\n */\n destructor: function () {\n var Interface = this.constructor.Interface;\n for (var propName in Interface) {\n if (process.env.NODE_ENV !== 'production') {\n Object.defineProperty(this, propName, getPooledWarningPropertyDefinition(propName, Interface[propName]));\n } else {\n this[propName] = null;\n }\n }\n for (var i = 0; i < shouldBeReleasedProperties.length; i++) {\n this[shouldBeReleasedProperties[i]] = null;\n }\n if (process.env.NODE_ENV !== 'production') {\n Object.defineProperty(this, 'nativeEvent', getPooledWarningPropertyDefinition('nativeEvent', null));\n Object.defineProperty(this, 'preventDefault', getPooledWarningPropertyDefinition('preventDefault', emptyFunction));\n Object.defineProperty(this, 'stopPropagation', getPooledWarningPropertyDefinition('stopPropagation', emptyFunction));\n }\n }\n});\n\nSyntheticEvent.Interface = EventInterface;\n\n/**\n * Helper to reduce boilerplate when creating subclasses.\n *\n * @param {function} Class\n * @param {?object} Interface\n */\nSyntheticEvent.augmentClass = function (Class, Interface) {\n var Super = this;\n\n var E = function () {};\n E.prototype = Super.prototype;\n var prototype = new E();\n\n _assign(prototype, Class.prototype);\n Class.prototype = prototype;\n Class.prototype.constructor = Class;\n\n Class.Interface = _assign({}, Super.Interface, Interface);\n Class.augmentClass = Super.augmentClass;\n\n PooledClass.addPoolingTo(Class, PooledClass.fourArgumentPooler);\n};\n\n/** Proxying after everything set on SyntheticEvent\n * to resolve Proxy issue on some WebKit browsers\n * in which some Event properties are set to undefined (GH#10010)\n */\nif (process.env.NODE_ENV !== 'production') {\n if (isProxySupported) {\n /*eslint-disable no-func-assign */\n SyntheticEvent = new Proxy(SyntheticEvent, {\n construct: function (target, args) {\n return this.apply(target, Object.create(target.prototype), args);\n },\n apply: function (constructor, that, args) {\n return new Proxy(constructor.apply(that, args), {\n set: function (target, prop, value) {\n if (prop !== 'isPersistent' && !target.constructor.Interface.hasOwnProperty(prop) && shouldBeReleasedProperties.indexOf(prop) === -1) {\n process.env.NODE_ENV !== 'production' ? warning(didWarnForAddedNewProperty || target.isPersistent(), \"This synthetic event is reused for performance reasons. If you're \" + \"seeing this, you're adding a new property in the synthetic event object. \" + 'The property is never released. See ' + 'https://fb.me/react-event-pooling for more information.') : void 0;\n didWarnForAddedNewProperty = true;\n }\n target[prop] = value;\n return true;\n }\n });\n }\n });\n /*eslint-enable no-func-assign */\n }\n}\n\nPooledClass.addPoolingTo(SyntheticEvent, PooledClass.fourArgumentPooler);\n\nmodule.exports = SyntheticEvent;\n\n/**\n * Helper to nullify syntheticEvent instance properties when destructing\n *\n * @param {object} SyntheticEvent\n * @param {String} propName\n * @return {object} defineProperty object\n */\nfunction getPooledWarningPropertyDefinition(propName, getVal) {\n var isFunction = typeof getVal === 'function';\n return {\n configurable: true,\n set: set,\n get: get\n };\n\n function set(val) {\n var action = isFunction ? 'setting the method' : 'setting the property';\n warn(action, 'This is effectively a no-op');\n return val;\n }\n\n function get() {\n var action = isFunction ? 'accessing the method' : 'accessing the property';\n var result = isFunction ? 'This is a no-op function' : 'This is set to null';\n warn(action, result);\n return getVal;\n }\n\n function warn(action, result) {\n var warningCondition = false;\n process.env.NODE_ENV !== 'production' ? warning(warningCondition, \"This synthetic event is reused for performance reasons. If you're seeing this, \" + \"you're %s `%s` on a released/nullified synthetic event. %s. \" + 'If you must keep the original synthetic event around, use event.persist(). ' + 'See https://fb.me/react-event-pooling for more information.', action, propName, result) : void 0;\n }\n}\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/SyntheticEvent.js\n// module id = 20\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/SyntheticEvent.js?"); /***/ }), /* 21 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar Dictionary = __webpack_require__(12);\n\n/**\r\n * @class Helpers\r\n * @description A series of helper functions.\r\n */\nvar Helpers = {\n\n areAnyPricesMissing: function areAnyPricesMissing(prices) {\n var areAnyPricesMissing = prices.engine == 0;\n prices.packs.forEach(function (packPrice) {\n if (packPrice == 0) {\n areAnyPricesMissing = true;\n }\n });\n prices.options.forEach(function (optionPrice) {\n if (optionPrice == 0) {\n areAnyPricesMissing = true;\n }\n });\n return areAnyPricesMissing;\n },\n\n /**\r\n * Returns a `{discount: number, percentage: number}` object with the \r\n * calculated discount of an original price depending on passed in \r\n * parameters.\r\n * @param {number} originalPrice \r\n * @param {number} discountValue \r\n * @param {string} valueType - Either \"percentage\" or \"amount\"\r\n * @returns {{discount: number, percentage: number}} \r\n */\n calculateDiscount: function calculateDiscount(originalPrice, discountValue, valueType) {\n if (discountValue == 0 || discountValue == '' || typeof discountValue === 'undefined') {\n return {\n discount: 0,\n percentage: 0\n };\n }\n var decimalIndex = discountValue.indexOf('.') > -1 ? discountValue.indexOf('.') : discountValue.indexOf(',');\n if (decimalIndex > -1) {\n discountValue = discountValue.substr(0, decimalIndex + 3);\n }\n if (valueType === \"percentage\") {\n return {\n discount: Number((originalPrice * (Number(discountValue) / 100)).toFixed(2)),\n percentage: discountValue\n };\n } else if (valueType === \"amount\") {\n return {\n discount: discountValue,\n percentage: originalPrice > 0 ? (Number(discountValue) / originalPrice * 100).toFixed(2) : 0\n };\n }\n console.error('Helpers.calculateDiscount(): expecting a valueType of \"percentage\" or \"amount\", instead got \"' + valueType + '\".');\n return false;\n },\n\n calculateSummaryTotals: function calculateSummaryTotals(submission, overrides) {\n var discounts = submission.discounts;\n var prices = Helpers.getPricesAfterOverrides(submission, overrides);\n var subtotal = 0;\n\n // Engine\n subtotal += prices.engine;\n var engineDiscount = (submission.engine.discount ? parseFloat(submission.engine.discount.amount) : 0) + (discounts.engine.discount ? parseFloat(discounts.engine.discount) : 0);\n subtotal -= engineDiscount;\n\n // Freight\n subtotal += submission.freight.price ? parseFloat(submission.freight.price) : 0;\n var freightDiscount = submission.freight.discount ? parseFloat(submission.freight.discount.amount) : 0;\n subtotal -= freightDiscount;\n\n // Packs\n var packDiscount = 0;\n subtotal += prices.packs.reduce(function (total, pack) {\n return total + parseFloat(pack);\n }, 0);\n packDiscount += submission.packs.reduce(function (total, pack) {\n return total + pack.discount ? parseFloat(pack.discount.amount) : 0;\n }, 0);\n packDiscount += discounts.packs.discount ? parseFloat(discounts.packs.discount) : 0;\n packDiscount += discounts.packs.items.reduce(function (total, pack) {\n return total + pack.discount ? parseFloat(pack.discount) : 0;\n }, 0);\n subtotal -= packDiscount;\n\n // Options\n var optionDiscount = 0;\n subtotal += prices.options.reduce(function (total, option) {\n return total + parseFloat(option);\n }, 0);\n optionDiscount += submission.options.reduce(function (total, option) {\n return total + option.discount ? parseFloat(option.discount.amount) : 0;\n }, 0);\n optionDiscount += discounts.options.discount ? parseFloat(discounts.options.discount) : 0;\n optionDiscount += discounts.options.items.reduce(function (total, option) {\n return total + option.discount ? parseFloat(option.discount) : 0;\n }, 0);\n subtotal -= optionDiscount;\n\n // Extras\n var extraDiscount = 0;\n subtotal += submission.extras.reduce(function (total, extra) {\n extraDiscount = extra.discount ? parseFloat(extra.discount) : 0;\n return total + extra.price ? parseFloat(extra.price) : 0;\n }, 0);\n subtotal -= extraDiscount;\n\n // Dealer Items\n subtotal += submission.dealerItems.reduce(function (total, item) {\n return total + item.price ? parseFloat(item.price) : 0;\n }, 0);\n\n // Trade-Ins\n var tradeInTotal = submission.tradeIns.reduce(function (total, tradeIn) {\n return total + tradeIn.price ? Math.abs(parseFloat(tradeIn.price)) : 0;\n }, 0);\n subtotal -= tradeInTotal;\n\n var vat = subtotal - subtotal * 100 / (100 + submission.vatPercentage);\n\n return {\n priceWithoutVat: subtotal - vat,\n vat: vat,\n priceIncludingVat: subtotal\n };\n },\n\n /**\r\n * @function formatMoney\r\n * @param {number} n - The number to be formatted\r\n * @param {string} d - The character to be used for the decimal. Defaults to \".\".\r\n * @param {string} t - the character to be used for the thousands separator. Defaults to \",\".\r\n * @param {int} c - the number of decimal places. Defaults to 2.\r\n * @returns {string}\r\n * @description Formats a number to a price\r\n */\n formatMoney: function formatMoney(n, d, t, c) {\n var c = isNaN(c = Math.abs(c)) ? 2 : c,\n d = d == undefined ? '.' : d,\n t = t == undefined ? ',' : t,\n s = n < 0 ? '-' : '',\n i = parseInt(n = Math.abs(+n || 0).toFixed(c)) + '',\n j = (j = i.length) > 3 ? j % 3 : 0;\n\n return s + (j ? i.substr(0, j) + t : '') + i.substr(j).replace(/(\\d{3})(?=\\d)/g, '$1' + t) + (c ? d + Math.abs(n - i).toFixed(c).slice(2) : '');\n },\n\n /**\r\n * Format the price with localized currency symbol and seperators, and \r\n * return.\r\n * @param {number} price The price to format\r\n * @param {boolean=} overrideShowPrice If true, show the price anyway.\r\n * @returns {string}\r\n */\n formatMoneyLocalized: function formatMoneyLocalized(price, overrideShowPrice) {\n var priceSetting = Dictionary.getPriceSetting();\n return (priceSetting.showPrices || overrideShowPrice) && price > 0 ? priceSetting.currencySymbolBeforeAmount ? priceSetting.currency + ' ' + Helpers.formatMoney(price, priceSetting.decimalSeparator ? priceSetting.decimalSeparator : '.', priceSetting.thousandSeparator ? priceSetting.thousandSeparator : ',') : Helpers.formatMoney(price, priceSetting.decimalSeparator ? priceSetting.decimalSeparator : '.', priceSetting.thousandSeparator ? priceSetting.thousandSeparator : ',') + ' ' + priceSetting.currency : '';\n },\n\n /**\r\n * @function getCountryAndLanguageFromUrl\r\n * @returns {object}\r\n * @description Returns an object with country and language properties based on the URL pathing.\r\n */\n getCalculatorCountryAndLanguageFromUrl: function getCalculatorCountryAndLanguageFromUrl() {\n var path = window.location.pathname.split('/');\n var qIndex = 0;var i = 1;\n //path.forEach(function(piece, index) {\n // if (piece.toLowerCase() == \"quicksilver\") {\n // qIndex = index;\n // }\n //});\n return {\n country: path[qIndex + 1],\n language: path[qIndex + 2]\n };\n },\n\n /**\r\n * @function getCountryAndLanguageFromUrl\r\n * @returns {object}\r\n * @description Returns an object with country and language properties based on the URL pathing.\r\n */\n getCountryAndLanguageFromUrl: function getCountryAndLanguageFromUrl() {\n var path = window.location.pathname.split('/');\n var qIndex = 0;\n path.forEach(function (piece, index) {\n if (piece.toLowerCase() == 'quicksilver' || piece.toLowerCase() == 'uttern') {\n qIndex = index;\n }\n });\n return {\n country: path[qIndex + 1].toLowerCase() !== 'int' ? path[qIndex + 1] : '',\n language: path[qIndex + 2]\n };\n },\n\n /**\r\n * @function getDays\r\n * @param {int} month - The month's number; a 1 based index, not 0\r\n * @param {int} year - The year\r\n * @returns {array}\r\n * @description Returns a list of days for a month in a specific year\r\n */\n getDays: function getDays(year, month) {\n var date = new Date();\n var thisYear = date.getUTCFullYear();\n var thisMonth = date.getUTCMonth() + 1;\n var day = date.getUTCDate();\n var daysInMonth = Helpers.getDaysInMonth(month, year);\n var days = [];\n for (var i = 1; i <= daysInMonth; i++) {\n if (year !== thisYear || year == thisYear && month !== thisMonth || year == thisYear && month == thisMonth && i >= day) {\n days.push(i);\n }\n }\n return days;\n },\n\n /**\r\n * @function getDaysInMonth\r\n * @param {int} year - The year\r\n * @param {int} month - The month's number; a 1 based index, not 0\r\n * @returns {int}\r\n * @description Returns the number of days in a month based on the year\r\n */\n getDaysInMonth: function getDaysInMonth(month, year) {\n return new Date(year, month, 0).getDate();\n },\n\n /**\r\n * @function getDefaultDate\r\n * @returns {date}\r\n * @description Returns a date thirty days from the current date\r\n */\n getDefaultDate: function getDefaultDate() {\n var date = new Date();\n var result = date.setUTCDate(date.getDate() + 30);\n return result;\n },\n\n /**\r\n * @function getDefaultDay\r\n * @returns {int}\r\n * @description Gets the current date for the submission\r\n */\n getDefaultDay: function getDefaultDay() {\n var date = new Date(Helpers.getDefaultDate());\n return date.getUTCDate();\n },\n\n /**\r\n * @function getDefaultMonth\r\n * @returns {int}\r\n * @description Gets the current month for the submission\r\n */\n getDefaultMonth: function getDefaultMonth() {\n var date = new Date(Helpers.getDefaultDate());\n return date.getUTCMonth() + 1;\n },\n\n /**\r\n * @function getDefaultYear\r\n * @returns {int}\r\n * @description Gets the current year for the submission\r\n */\n getDefaultYear: function getDefaultYear() {\n var date = new Date(Helpers.getDefaultDate());\n return date.getUTCFullYear();\n },\n\n /**\r\n * Returns the total discounts on the submission.\r\n * @param {JSON} submission \r\n * @returns {number} The amount of the total discount\r\n */\n getDiscountTotals: function getDiscountTotals(submission) {\n var discounts = submission.discounts;\n var total = Number(discounts.engine.discount);\n total += Number(discounts.options.discount ? discounts.options.discount : 0);\n total += discounts.options.items.reduce(function (optionTotal, option) {\n return optionTotal + Number(option.discount);\n }, 0);\n total += Number(discounts.packs.discount ? discounts.packs.discount : 0);\n total += discounts.packs.items.reduce(function (packTotal, pack) {\n return packTotal + Number(pack.discount);\n }, 0);\n return total;\n },\n\n /**\r\n * @function getMonths - Returns a list of months after the current if this \r\n * year, otherwise all months\r\n * @param {int} year A year to match months to\r\n * @returns {(number[]} array of months as zero-based index.\r\n */\n getMonths: function getMonths(year) {\n var date = new Date();\n var thisYear = date.getUTCFullYear();\n var month = date.getUTCMonth();\n var months = [];\n for (var i = 0; i < 12; i++) {\n if (year !== thisYear || year == thisYear && i >= month) {\n months.push(i);\n }\n }\n return months;\n },\n\n getPricesAfterOverrides: function getPricesAfterOverrides(submission, overrides) {\n var prices = {\n engine: overrides.engine !== '' ? overrides.engine : submission.engine.price,\n packs: submission.packs.map(function (pack, index) {\n return overrides.packs && overrides.packs[index] && overrides.packs[index].price ? overrides.packs[index].price : pack.price;\n }),\n options: submission.options.map(function (option, index) {\n return overrides.options && overrides.options[index] && overrides.options[index].price ? overrides.options[index].price : option.price;\n })\n };\n return prices;\n },\n\n /**\r\n * @function getQueryStringParameter\r\n * @param {string} name - The query string key\r\n * @param {string} url - An optional url, defaults to the current page\r\n * @returns {string}\r\n * @description Returns a value passed in via a querystring parameter\r\n */\n getQueryStringParameter: function getQueryStringParameter(name, url) {\n if (!url) url = window.location.href;\n name = name.replace(/[\\[\\]]/g, '\\\\$&');\n var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)'),\n results = regex.exec(url);\n if (!results) return null;\n if (!results[2]) return '';\n return decodeURIComponent(results[2].replace(/\\+/g, ' '));\n },\n\n /**\r\n * @function getYears\r\n * @returns {array}\r\n * @description Returns an array of integers for this year and the next five\r\n */\n getYears: function getYears() {\n var date = new Date();\n var year = date.getUTCFullYear();\n var years = [];\n for (var i = year; i <= year + 5; i++) {\n years.push(i);\n }\n return years;\n },\n\n /**\r\n * @function isDayInMonth\r\n * @param {number} day The day of the month (1-31)\r\n * @param {number} month The month in the year\r\n * @param {number} year The year\r\n * @param {boolean=} onlyRemainingDays Set to `true` to only check the day \r\n * against the remaining days in the month if the month indicated is the \r\n * current one.\r\n * @returns {boolean}\r\n * @description Checks to see if a day is in a month for the purposes of dynamic date changing\r\n */\n isDayInMonth: function isDayInMonth(day, month, year, onlyRemainingDays) {\n var days = Helpers.getDaysInMonth(month, year);\n if (!onlyRemainingDays) {\n return day <= days;\n }\n var date = new Date();\n var thisDay = date.getUTCDate();\n var thisYear = date.getUTCFullYear();\n var thisMonth = date.getUTCMonth() + 1;\n if (year !== thisYear || year == thisYear && month !== thisMonth || year == thisYear && month == thisMonth && day >= thisDay) {\n return day <= days;\n }\n return false;\n },\n\n isPartOfSelectedPack: function isPartOfSelectedPack(packIds, option) {\n var isPartOfPack = false;\n option.isPartOf.forEach(function (partOfPackId) {\n packIds.forEach(function (packId) {\n if (packId === partOfPackId) {\n isPartOfPack = true;\n }\n });\n });\n return isPartOfPack;\n },\n\n isPartOfSelectedOptions: function isPartOfSelectedOptions(optionIds, selectedOption) {\n var isPartOf = false;\n optionIds.forEach(function (optionId) {\n if (optionId === selectedOption.id) {\n isPartOf = true;\n }\n });\n return isPartOf;\n },\n\n getRequiredRelatedOptions: function getRequiredRelatedOptions(options, selectedOption) {\n var relatedOptions = [];\n selectedOption.requiredRelatedOptions.forEach(function (id) {\n options.forEach(function (option) {\n if (option.id === id) {\n relatedOptions.push(option);\n }\n });\n });\n return relatedOptions;\n },\n\n isEmailMessageValid: function isEmailMessageValid(emailMessage) {\n var emailRegex = /.+\\@.+\\..+/i;\n return emailMessage != null && emailMessage.email != null && emailMessage.email.match(emailRegex) && emailMessage.subject != null && emailMessage.subject !== '' && emailMessage.message != null && emailMessage.message !== '';\n },\n\n /**\r\n * @method shouldShowPrice Returns `false` if priceSetting.showPrice is \r\n * `false` or the location includes \"/int/\" in its pathname.\r\n * @returns {boolean}\r\n */\n shouldShowPrice: function shouldShowPrice() {\n var priceSetting = Dictionary.getPriceSetting();\n return !(!priceSetting.showPrices || window.location.pathname.toLowerCase().indexOf('/int/') > -1);\n }\n};\n\nmodule.exports = Helpers;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/utils/Helpers.js\n// module id = 21\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/utils/Helpers.js?"); /***/ }), /* 22 */, /* 23 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6);\n\nvar invariant = __webpack_require__(3);\n\nfunction checkMask(value, bitmask) {\n return (value & bitmask) === bitmask;\n}\n\nvar DOMPropertyInjection = {\n /**\n * Mapping from normalized, camelcased property names to a configuration that\n * specifies how the associated DOM property should be accessed or rendered.\n */\n MUST_USE_PROPERTY: 0x1,\n HAS_BOOLEAN_VALUE: 0x4,\n HAS_NUMERIC_VALUE: 0x8,\n HAS_POSITIVE_NUMERIC_VALUE: 0x10 | 0x8,\n HAS_OVERLOADED_BOOLEAN_VALUE: 0x20,\n\n /**\n * Inject some specialized knowledge about the DOM. This takes a config object\n * with the following properties:\n *\n * isCustomAttribute: function that given an attribute name will return true\n * if it can be inserted into the DOM verbatim. Useful for data-* or aria-*\n * attributes where it's impossible to enumerate all of the possible\n * attribute names,\n *\n * Properties: object mapping DOM property name to one of the\n * DOMPropertyInjection constants or null. If your attribute isn't in here,\n * it won't get written to the DOM.\n *\n * DOMAttributeNames: object mapping React attribute name to the DOM\n * attribute name. Attribute names not specified use the **lowercase**\n * normalized name.\n *\n * DOMAttributeNamespaces: object mapping React attribute name to the DOM\n * attribute namespace URL. (Attribute names not specified use no namespace.)\n *\n * DOMPropertyNames: similar to DOMAttributeNames but for DOM properties.\n * Property names not specified use the normalized name.\n *\n * DOMMutationMethods: Properties that require special mutation methods. If\n * `value` is undefined, the mutation method should unset the property.\n *\n * @param {object} domPropertyConfig the config as described above.\n */\n injectDOMPropertyConfig: function (domPropertyConfig) {\n var Injection = DOMPropertyInjection;\n var Properties = domPropertyConfig.Properties || {};\n var DOMAttributeNamespaces = domPropertyConfig.DOMAttributeNamespaces || {};\n var DOMAttributeNames = domPropertyConfig.DOMAttributeNames || {};\n var DOMPropertyNames = domPropertyConfig.DOMPropertyNames || {};\n var DOMMutationMethods = domPropertyConfig.DOMMutationMethods || {};\n\n if (domPropertyConfig.isCustomAttribute) {\n DOMProperty._isCustomAttributeFunctions.push(domPropertyConfig.isCustomAttribute);\n }\n\n for (var propName in Properties) {\n !!DOMProperty.properties.hasOwnProperty(propName) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'injectDOMPropertyConfig(...): You\\'re trying to inject DOM property \\'%s\\' which has already been injected. You may be accidentally injecting the same DOM property config twice, or you may be injecting two configs that have conflicting property names.', propName) : _prodInvariant('48', propName) : void 0;\n\n var lowerCased = propName.toLowerCase();\n var propConfig = Properties[propName];\n\n var propertyInfo = {\n attributeName: lowerCased,\n attributeNamespace: null,\n propertyName: propName,\n mutationMethod: null,\n\n mustUseProperty: checkMask(propConfig, Injection.MUST_USE_PROPERTY),\n hasBooleanValue: checkMask(propConfig, Injection.HAS_BOOLEAN_VALUE),\n hasNumericValue: checkMask(propConfig, Injection.HAS_NUMERIC_VALUE),\n hasPositiveNumericValue: checkMask(propConfig, Injection.HAS_POSITIVE_NUMERIC_VALUE),\n hasOverloadedBooleanValue: checkMask(propConfig, Injection.HAS_OVERLOADED_BOOLEAN_VALUE)\n };\n !(propertyInfo.hasBooleanValue + propertyInfo.hasNumericValue + propertyInfo.hasOverloadedBooleanValue <= 1) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'DOMProperty: Value can be one of boolean, overloaded boolean, or numeric value, but not a combination: %s', propName) : _prodInvariant('50', propName) : void 0;\n\n if (process.env.NODE_ENV !== 'production') {\n DOMProperty.getPossibleStandardName[lowerCased] = propName;\n }\n\n if (DOMAttributeNames.hasOwnProperty(propName)) {\n var attributeName = DOMAttributeNames[propName];\n propertyInfo.attributeName = attributeName;\n if (process.env.NODE_ENV !== 'production') {\n DOMProperty.getPossibleStandardName[attributeName] = propName;\n }\n }\n\n if (DOMAttributeNamespaces.hasOwnProperty(propName)) {\n propertyInfo.attributeNamespace = DOMAttributeNamespaces[propName];\n }\n\n if (DOMPropertyNames.hasOwnProperty(propName)) {\n propertyInfo.propertyName = DOMPropertyNames[propName];\n }\n\n if (DOMMutationMethods.hasOwnProperty(propName)) {\n propertyInfo.mutationMethod = DOMMutationMethods[propName];\n }\n\n DOMProperty.properties[propName] = propertyInfo;\n }\n }\n};\n\n/* eslint-disable max-len */\nvar ATTRIBUTE_NAME_START_CHAR = ':A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD';\n/* eslint-enable max-len */\n\n/**\n * DOMProperty exports lookup objects that can be used like functions:\n *\n * > DOMProperty.isValid['id']\n * true\n * > DOMProperty.isValid['foobar']\n * undefined\n *\n * Although this may be confusing, it performs better in general.\n *\n * @see https://jsperf.com/key-exists\n * @see https://jsperf.com/key-missing\n */\nvar DOMProperty = {\n ID_ATTRIBUTE_NAME: 'data-reactid',\n ROOT_ATTRIBUTE_NAME: 'data-reactroot',\n\n ATTRIBUTE_NAME_START_CHAR: ATTRIBUTE_NAME_START_CHAR,\n ATTRIBUTE_NAME_CHAR: ATTRIBUTE_NAME_START_CHAR + '\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040',\n\n /**\n * Map from property \"standard name\" to an object with info about how to set\n * the property in the DOM. Each object contains:\n *\n * attributeName:\n * Used when rendering markup or with `*Attribute()`.\n * attributeNamespace\n * propertyName:\n * Used on DOM node instances. (This includes properties that mutate due to\n * external factors.)\n * mutationMethod:\n * If non-null, used instead of the property or `setAttribute()` after\n * initial render.\n * mustUseProperty:\n * Whether the property must be accessed and mutated as an object property.\n * hasBooleanValue:\n * Whether the property should be removed when set to a falsey value.\n * hasNumericValue:\n * Whether the property must be numeric or parse as a numeric and should be\n * removed when set to a falsey value.\n * hasPositiveNumericValue:\n * Whether the property must be positive numeric or parse as a positive\n * numeric and should be removed when set to a falsey value.\n * hasOverloadedBooleanValue:\n * Whether the property can be used as a flag as well as with a value.\n * Removed when strictly equal to false; present without a value when\n * strictly equal to true; present with a value otherwise.\n */\n properties: {},\n\n /**\n * Mapping from lowercase property names to the properly cased version, used\n * to warn in the case of missing properties. Available only in __DEV__.\n *\n * autofocus is predefined, because adding it to the property whitelist\n * causes unintended side effects.\n *\n * @type {Object}\n */\n getPossibleStandardName: process.env.NODE_ENV !== 'production' ? { autofocus: 'autoFocus' } : null,\n\n /**\n * All of the isCustomAttribute() functions that have been injected.\n */\n _isCustomAttributeFunctions: [],\n\n /**\n * Checks whether a property name is a custom attribute.\n * @method\n */\n isCustomAttribute: function (attributeName) {\n for (var i = 0; i < DOMProperty._isCustomAttributeFunctions.length; i++) {\n var isCustomAttributeFn = DOMProperty._isCustomAttributeFunctions[i];\n if (isCustomAttributeFn(attributeName)) {\n return true;\n }\n }\n return false;\n },\n\n injection: DOMPropertyInjection\n};\n\nmodule.exports = DOMProperty;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/DOMProperty.js\n// module id = 23\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/DOMProperty.js?"); /***/ }), /* 24 */, /* 25 */, /* 26 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6);\n\nvar invariant = __webpack_require__(3);\n\n/**\n * Static poolers. Several custom versions for each potential number of\n * arguments. A completely generic pooler is easy to implement, but would\n * require accessing the `arguments` object. In each of these, `this` refers to\n * the Class itself, not an instance. If any others are needed, simply add them\n * here, or in their own files.\n */\nvar oneArgumentPooler = function (copyFieldsFrom) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, copyFieldsFrom);\n return instance;\n } else {\n return new Klass(copyFieldsFrom);\n }\n};\n\nvar twoArgumentPooler = function (a1, a2) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2);\n return instance;\n } else {\n return new Klass(a1, a2);\n }\n};\n\nvar threeArgumentPooler = function (a1, a2, a3) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2, a3);\n return instance;\n } else {\n return new Klass(a1, a2, a3);\n }\n};\n\nvar fourArgumentPooler = function (a1, a2, a3, a4) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2, a3, a4);\n return instance;\n } else {\n return new Klass(a1, a2, a3, a4);\n }\n};\n\nvar standardReleaser = function (instance) {\n var Klass = this;\n !(instance instanceof Klass) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Trying to release an instance into a pool of a different type.') : _prodInvariant('25') : void 0;\n instance.destructor();\n if (Klass.instancePool.length < Klass.poolSize) {\n Klass.instancePool.push(instance);\n }\n};\n\nvar DEFAULT_POOL_SIZE = 10;\nvar DEFAULT_POOLER = oneArgumentPooler;\n\n/**\n * Augments `CopyConstructor` to be a poolable class, augmenting only the class\n * itself (statically) not adding any prototypical fields. Any CopyConstructor\n * you give this may have a `poolSize` property, and will look for a\n * prototypical `destructor` on instances.\n *\n * @param {Function} CopyConstructor Constructor that can be used to reset.\n * @param {Function} pooler Customizable pooler.\n */\nvar addPoolingTo = function (CopyConstructor, pooler) {\n // Casting as any so that flow ignores the actual implementation and trusts\n // it to match the type we declared\n var NewKlass = CopyConstructor;\n NewKlass.instancePool = [];\n NewKlass.getPooled = pooler || DEFAULT_POOLER;\n if (!NewKlass.poolSize) {\n NewKlass.poolSize = DEFAULT_POOL_SIZE;\n }\n NewKlass.release = standardReleaser;\n return NewKlass;\n};\n\nvar PooledClass = {\n addPoolingTo: addPoolingTo,\n oneArgumentPooler: oneArgumentPooler,\n twoArgumentPooler: twoArgumentPooler,\n threeArgumentPooler: threeArgumentPooler,\n fourArgumentPooler: fourArgumentPooler\n};\n\nmodule.exports = PooledClass;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/PooledClass.js\n// module id = 26\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/PooledClass.js?"); /***/ }), /* 27 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _assign = __webpack_require__(72);\n\nvar ReactCurrentOwner = __webpack_require__(17);\n\nvar warning = __webpack_require__(4);\nvar canDefineProperty = __webpack_require__(51);\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar REACT_ELEMENT_TYPE = __webpack_require__(114);\n\nvar RESERVED_PROPS = {\n key: true,\n ref: true,\n __self: true,\n __source: true\n};\n\nvar specialPropKeyWarningShown, specialPropRefWarningShown;\n\nfunction hasValidRef(config) {\n if (process.env.NODE_ENV !== 'production') {\n if (hasOwnProperty.call(config, 'ref')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n if (process.env.NODE_ENV !== 'production') {\n if (hasOwnProperty.call(config, 'key')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n return config.key !== undefined;\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n var warnAboutAccessingKey = function () {\n if (!specialPropKeyWarningShown) {\n specialPropKeyWarningShown = true;\n process.env.NODE_ENV !== 'production' ? warning(false, '%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName) : void 0;\n }\n };\n warnAboutAccessingKey.isReactWarning = true;\n Object.defineProperty(props, 'key', {\n get: warnAboutAccessingKey,\n configurable: true\n });\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n var warnAboutAccessingRef = function () {\n if (!specialPropRefWarningShown) {\n specialPropRefWarningShown = true;\n process.env.NODE_ENV !== 'production' ? warning(false, '%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://fb.me/react-special-props)', displayName) : void 0;\n }\n };\n warnAboutAccessingRef.isReactWarning = true;\n Object.defineProperty(props, 'ref', {\n get: warnAboutAccessingRef,\n configurable: true\n });\n}\n\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, no instanceof check\n * will work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} key\n * @param {string|object} ref\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @param {*} owner\n * @param {*} props\n * @internal\n */\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n var element = {\n // This tag allow us to uniquely identify this as a React Element\n $$typeof: REACT_ELEMENT_TYPE,\n\n // Built-in properties that belong on the element\n type: type,\n key: key,\n ref: ref,\n props: props,\n\n // Record the component responsible for creating this element.\n _owner: owner\n };\n\n if (process.env.NODE_ENV !== 'production') {\n // The validation flag is currently mutative. We put it on\n // an external backing store so that we can freeze the whole object.\n // This can be replaced with a WeakMap once they are implemented in\n // commonly used development environments.\n element._store = {};\n\n // To make comparing ReactElements easier for testing purposes, we make\n // the validation flag non-enumerable (where possible, which should\n // include every environment we run tests in), so the test framework\n // ignores it.\n if (canDefineProperty) {\n Object.defineProperty(element._store, 'validated', {\n configurable: false,\n enumerable: false,\n writable: true,\n value: false\n });\n // self and source are DEV only properties.\n Object.defineProperty(element, '_self', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: self\n });\n // Two elements created in two different places should be considered\n // equal for testing purposes and therefore we hide it from enumeration.\n Object.defineProperty(element, '_source', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: source\n });\n } else {\n element._store.validated = false;\n element._self = self;\n element._source = source;\n }\n if (Object.freeze) {\n Object.freeze(element.props);\n Object.freeze(element);\n }\n }\n\n return element;\n};\n\n/**\n * Create and return a new ReactElement of the given type.\n * See https://facebook.github.io/react/docs/top-level-api.html#react.createelement\n */\nReactElement.createElement = function (type, config, children) {\n var propName;\n\n // Reserved names are extracted\n var props = {};\n\n var key = null;\n var ref = null;\n var self = null;\n var source = null;\n\n if (config != null) {\n if (hasValidRef(config)) {\n ref = config.ref;\n }\n if (hasValidKey(config)) {\n key = '' + config.key;\n }\n\n self = config.__self === undefined ? null : config.__self;\n source = config.__source === undefined ? null : config.__source;\n // Remaining properties are added to a new props object\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n }\n }\n\n // Children can be more than one argument, and those are transferred onto\n // the newly allocated props object.\n var childrenLength = arguments.length - 2;\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 2];\n }\n if (process.env.NODE_ENV !== 'production') {\n if (Object.freeze) {\n Object.freeze(childArray);\n }\n }\n props.children = childArray;\n }\n\n // Resolve default props\n if (type && type.defaultProps) {\n var defaultProps = type.defaultProps;\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n }\n if (process.env.NODE_ENV !== 'production') {\n if (key || ref) {\n if (typeof props.$$typeof === 'undefined' || props.$$typeof !== REACT_ELEMENT_TYPE) {\n var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n if (key) {\n defineKeyPropWarningGetter(props, displayName);\n }\n if (ref) {\n defineRefPropWarningGetter(props, displayName);\n }\n }\n }\n }\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n};\n\n/**\n * Return a function that produces ReactElements of a given type.\n * See https://facebook.github.io/react/docs/top-level-api.html#react.createfactory\n */\nReactElement.createFactory = function (type) {\n var factory = ReactElement.createElement.bind(null, type);\n // Expose the type on the factory and the prototype so that it can be\n // easily accessed on elements. E.g. `.type === Foo`.\n // This should not be named `constructor` since this may not be the function\n // that created the element, and it may not even be a constructor.\n // Legacy hook TODO: Warn if this is accessed\n factory.type = type;\n return factory;\n};\n\nReactElement.cloneAndReplaceKey = function (oldElement, newKey) {\n var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);\n\n return newElement;\n};\n\n/**\n * Clone and return a new ReactElement using element as the starting point.\n * See https://facebook.github.io/react/docs/top-level-api.html#react.cloneelement\n */\nReactElement.cloneElement = function (element, config, children) {\n var propName;\n\n // Original props are copied\n var props = _assign({}, element.props);\n\n // Reserved names are extracted\n var key = element.key;\n var ref = element.ref;\n // Self is preserved since the owner is preserved.\n var self = element._self;\n // Source is preserved since cloneElement is unlikely to be targeted by a\n // transpiler, and the original source is probably a better indicator of the\n // true owner.\n var source = element._source;\n\n // Owner will be preserved, unless ref is overridden\n var owner = element._owner;\n\n if (config != null) {\n if (hasValidRef(config)) {\n // Silently steal the ref from the parent.\n ref = config.ref;\n owner = ReactCurrentOwner.current;\n }\n if (hasValidKey(config)) {\n key = '' + config.key;\n }\n\n // Remaining properties override existing props\n var defaultProps;\n if (element.type && element.type.defaultProps) {\n defaultProps = element.type.defaultProps;\n }\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n if (config[propName] === undefined && defaultProps !== undefined) {\n // Resolve default props\n props[propName] = defaultProps[propName];\n } else {\n props[propName] = config[propName];\n }\n }\n }\n }\n\n // Children can be more than one argument, and those are transferred onto\n // the newly allocated props object.\n var childrenLength = arguments.length - 2;\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 2];\n }\n props.children = childArray;\n }\n\n return ReactElement(element.type, key, ref, self, source, owner, props);\n};\n\n/**\n * Verifies the object is a ReactElement.\n * See https://facebook.github.io/react/docs/top-level-api.html#react.isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a valid component.\n * @final\n */\nReactElement.isValidElement = function (object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n};\n\nmodule.exports = ReactElement;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactElement.js\n// module id = 27\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/ReactElement.js?"); /***/ }), /* 28 */, /* 29 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar DOMNamespaces = __webpack_require__(57);\nvar setInnerHTML = __webpack_require__(50);\n\nvar createMicrosoftUnsafeLocalFunction = __webpack_require__(64);\nvar setTextContent = __webpack_require__(111);\n\nvar ELEMENT_NODE_TYPE = 1;\nvar DOCUMENT_FRAGMENT_NODE_TYPE = 11;\n\n/**\n * In IE (8-11) and Edge, appending nodes with no children is dramatically\n * faster than appending a full subtree, so we essentially queue up the\n * .appendChild calls here and apply them so each node is added to its parent\n * before any children are added.\n *\n * In other browsers, doing so is slower or neutral compared to the other order\n * (in Firefox, twice as slow) so we only do this inversion in IE.\n *\n * See https://github.com/spicyj/innerhtml-vs-createelement-vs-clonenode.\n */\nvar enableLazy = typeof document !== 'undefined' && typeof document.documentMode === 'number' || typeof navigator !== 'undefined' && typeof navigator.userAgent === 'string' && /\\bEdge\\/\\d/.test(navigator.userAgent);\n\nfunction insertTreeChildren(tree) {\n if (!enableLazy) {\n return;\n }\n var node = tree.node;\n var children = tree.children;\n if (children.length) {\n for (var i = 0; i < children.length; i++) {\n insertTreeBefore(node, children[i], null);\n }\n } else if (tree.html != null) {\n setInnerHTML(node, tree.html);\n } else if (tree.text != null) {\n setTextContent(node, tree.text);\n }\n}\n\nvar insertTreeBefore = createMicrosoftUnsafeLocalFunction(function (parentNode, tree, referenceNode) {\n // DocumentFragments aren't actually part of the DOM after insertion so\n // appending children won't update the DOM. We need to ensure the fragment\n // is properly populated first, breaking out of our lazy approach for just\n // this level. Also, some plugins (like Flash Player) will read\n // nodes immediately upon insertion into the DOM, so \n // must also be populated prior to insertion into the DOM.\n if (tree.node.nodeType === DOCUMENT_FRAGMENT_NODE_TYPE || tree.node.nodeType === ELEMENT_NODE_TYPE && tree.node.nodeName.toLowerCase() === 'object' && (tree.node.namespaceURI == null || tree.node.namespaceURI === DOMNamespaces.html)) {\n insertTreeChildren(tree);\n parentNode.insertBefore(tree.node, referenceNode);\n } else {\n parentNode.insertBefore(tree.node, referenceNode);\n insertTreeChildren(tree);\n }\n});\n\nfunction replaceChildWithTree(oldNode, newTree) {\n oldNode.parentNode.replaceChild(newTree.node, oldNode);\n insertTreeChildren(newTree);\n}\n\nfunction queueChild(parentTree, childTree) {\n if (enableLazy) {\n parentTree.children.push(childTree);\n } else {\n parentTree.node.appendChild(childTree.node);\n }\n}\n\nfunction queueHTML(tree, html) {\n if (enableLazy) {\n tree.html = html;\n } else {\n setInnerHTML(tree.node, html);\n }\n}\n\nfunction queueText(tree, text) {\n if (enableLazy) {\n tree.text = text;\n } else {\n setTextContent(tree.node, text);\n }\n}\n\nfunction toString() {\n return this.node.nodeName;\n}\n\nfunction DOMLazyTree(node) {\n return {\n node: node,\n children: [],\n html: null,\n text: null,\n toString: toString\n };\n}\n\nDOMLazyTree.insertTreeBefore = insertTreeBefore;\nDOMLazyTree.replaceChildWithTree = replaceChildWithTree;\nDOMLazyTree.queueChild = queueChild;\nDOMLazyTree.queueHTML = queueHTML;\nDOMLazyTree.queueText = queueText;\n\nmodule.exports = DOMLazyTree;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/DOMLazyTree.js\n// module id = 29\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/DOMLazyTree.js?"); /***/ }), /* 30 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar ReactRef = __webpack_require__(210);\nvar ReactInstrumentation = __webpack_require__(15);\n\nvar warning = __webpack_require__(4);\n\n/**\n * Helper to call ReactRef.attachRefs with this composite component, split out\n * to avoid allocations in the transaction mount-ready queue.\n */\nfunction attachRefs() {\n ReactRef.attachRefs(this, this._currentElement);\n}\n\nvar ReactReconciler = {\n /**\n * Initializes the component, renders markup, and registers event listeners.\n *\n * @param {ReactComponent} internalInstance\n * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n * @param {?object} the containing host component instance\n * @param {?object} info about the host container\n * @return {?string} Rendered markup to be inserted into the DOM.\n * @final\n * @internal\n */\n mountComponent: function (internalInstance, transaction, hostParent, hostContainerInfo, context, parentDebugID) // 0 in production and for roots\n {\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onBeforeMountComponent(internalInstance._debugID, internalInstance._currentElement, parentDebugID);\n }\n }\n var markup = internalInstance.mountComponent(transaction, hostParent, hostContainerInfo, context, parentDebugID);\n if (internalInstance._currentElement && internalInstance._currentElement.ref != null) {\n transaction.getReactMountReady().enqueue(attachRefs, internalInstance);\n }\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onMountComponent(internalInstance._debugID);\n }\n }\n return markup;\n },\n\n /**\n * Returns a value that can be passed to\n * ReactComponentEnvironment.replaceNodeWithMarkup.\n */\n getHostNode: function (internalInstance) {\n return internalInstance.getHostNode();\n },\n\n /**\n * Releases any resources allocated by `mountComponent`.\n *\n * @final\n * @internal\n */\n unmountComponent: function (internalInstance, safely) {\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onBeforeUnmountComponent(internalInstance._debugID);\n }\n }\n ReactRef.detachRefs(internalInstance, internalInstance._currentElement);\n internalInstance.unmountComponent(safely);\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onUnmountComponent(internalInstance._debugID);\n }\n }\n },\n\n /**\n * Update a component using a new element.\n *\n * @param {ReactComponent} internalInstance\n * @param {ReactElement} nextElement\n * @param {ReactReconcileTransaction} transaction\n * @param {object} context\n * @internal\n */\n receiveComponent: function (internalInstance, nextElement, transaction, context) {\n var prevElement = internalInstance._currentElement;\n\n if (nextElement === prevElement && context === internalInstance._context) {\n // Since elements are immutable after the owner is rendered,\n // we can do a cheap identity compare here to determine if this is a\n // superfluous reconcile. It's possible for state to be mutable but such\n // change should trigger an update of the owner which would recreate\n // the element. We explicitly check for the existence of an owner since\n // it's possible for an element created outside a composite to be\n // deeply mutated and reused.\n\n // TODO: Bailing out early is just a perf optimization right?\n // TODO: Removing the return statement should affect correctness?\n return;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onBeforeUpdateComponent(internalInstance._debugID, nextElement);\n }\n }\n\n var refsChanged = ReactRef.shouldUpdateRefs(prevElement, nextElement);\n\n if (refsChanged) {\n ReactRef.detachRefs(internalInstance, prevElement);\n }\n\n internalInstance.receiveComponent(nextElement, transaction, context);\n\n if (refsChanged && internalInstance._currentElement && internalInstance._currentElement.ref != null) {\n transaction.getReactMountReady().enqueue(attachRefs, internalInstance);\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onUpdateComponent(internalInstance._debugID);\n }\n }\n },\n\n /**\n * Flush any dirty changes in a component.\n *\n * @param {ReactComponent} internalInstance\n * @param {ReactReconcileTransaction} transaction\n * @internal\n */\n performUpdateIfNecessary: function (internalInstance, transaction, updateBatchNumber) {\n if (internalInstance._updateBatchNumber !== updateBatchNumber) {\n // The component's enqueued batch number should always be the current\n // batch or the following one.\n process.env.NODE_ENV !== 'production' ? warning(internalInstance._updateBatchNumber == null || internalInstance._updateBatchNumber === updateBatchNumber + 1, 'performUpdateIfNecessary: Unexpected batch number (current %s, ' + 'pending %s)', updateBatchNumber, internalInstance._updateBatchNumber) : void 0;\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onBeforeUpdateComponent(internalInstance._debugID, internalInstance._currentElement);\n }\n }\n internalInstance.performUpdateIfNecessary(transaction);\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onUpdateComponent(internalInstance._debugID);\n }\n }\n }\n};\n\nmodule.exports = ReactReconciler;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactReconciler.js\n// module id = 30\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactReconciler.js?"); /***/ }), /* 31 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _assign = __webpack_require__(72);\n\nvar ReactBaseClasses = __webpack_require__(113);\nvar ReactChildren = __webpack_require__(240);\nvar ReactDOMFactories = __webpack_require__(241);\nvar ReactElement = __webpack_require__(27);\nvar ReactPropTypes = __webpack_require__(243);\nvar ReactVersion = __webpack_require__(245);\n\nvar createReactClass = __webpack_require__(247);\nvar onlyChild = __webpack_require__(249);\n\nvar createElement = ReactElement.createElement;\nvar createFactory = ReactElement.createFactory;\nvar cloneElement = ReactElement.cloneElement;\n\nif (process.env.NODE_ENV !== 'production') {\n var lowPriorityWarning = __webpack_require__(71);\n var canDefineProperty = __webpack_require__(51);\n var ReactElementValidator = __webpack_require__(115);\n var didWarnPropTypesDeprecated = false;\n createElement = ReactElementValidator.createElement;\n createFactory = ReactElementValidator.createFactory;\n cloneElement = ReactElementValidator.cloneElement;\n}\n\nvar __spread = _assign;\nvar createMixin = function (mixin) {\n return mixin;\n};\n\nif (process.env.NODE_ENV !== 'production') {\n var warnedForSpread = false;\n var warnedForCreateMixin = false;\n __spread = function () {\n lowPriorityWarning(warnedForSpread, 'React.__spread is deprecated and should not be used. Use ' + 'Object.assign directly or another helper function with similar ' + 'semantics. You may be seeing this warning due to your compiler. ' + 'See https://fb.me/react-spread-deprecation for more details.');\n warnedForSpread = true;\n return _assign.apply(null, arguments);\n };\n\n createMixin = function (mixin) {\n lowPriorityWarning(warnedForCreateMixin, 'React.createMixin is deprecated and should not be used. ' + 'In React v16.0, it will be removed. ' + 'You can use this mixin directly instead. ' + 'See https://fb.me/createmixin-was-never-implemented for more info.');\n warnedForCreateMixin = true;\n return mixin;\n };\n}\n\nvar React = {\n // Modern\n\n Children: {\n map: ReactChildren.map,\n forEach: ReactChildren.forEach,\n count: ReactChildren.count,\n toArray: ReactChildren.toArray,\n only: onlyChild\n },\n\n Component: ReactBaseClasses.Component,\n PureComponent: ReactBaseClasses.PureComponent,\n\n createElement: createElement,\n cloneElement: cloneElement,\n isValidElement: ReactElement.isValidElement,\n\n // Classic\n\n PropTypes: ReactPropTypes,\n createClass: createReactClass,\n createFactory: createFactory,\n createMixin: createMixin,\n\n // This looks DOM specific but these are actually isomorphic helpers\n // since they are just generating DOM strings.\n DOM: ReactDOMFactories,\n\n version: ReactVersion,\n\n // Deprecated hook for JSX spread, don't use this for anything.\n __spread: __spread\n};\n\nif (process.env.NODE_ENV !== 'production') {\n var warnedForCreateClass = false;\n if (canDefineProperty) {\n Object.defineProperty(React, 'PropTypes', {\n get: function () {\n lowPriorityWarning(didWarnPropTypesDeprecated, 'Accessing PropTypes via the main React package is deprecated,' + ' and will be removed in React v16.0.' + ' Use the latest available v15.* prop-types package from npm instead.' + ' For info on usage, compatibility, migration and more, see ' + 'https://fb.me/prop-types-docs');\n didWarnPropTypesDeprecated = true;\n return ReactPropTypes;\n }\n });\n\n Object.defineProperty(React, 'createClass', {\n get: function () {\n lowPriorityWarning(warnedForCreateClass, 'Accessing createClass via the main React package is deprecated,' + ' and will be removed in React v16.0.' + \" Use a plain JavaScript class instead. If you're not yet \" + 'ready to migrate, create-react-class v15.* is available ' + 'on npm as a temporary, drop-in replacement. ' + 'For more info see https://fb.me/react-create-class');\n warnedForCreateClass = true;\n return createReactClass;\n }\n });\n }\n\n // React.DOM factories are deprecated. Wrap these methods so that\n // invocations of the React.DOM namespace and alert users to switch\n // to the `react-dom-factories` package.\n React.DOM = {};\n var warnedForFactories = false;\n Object.keys(ReactDOMFactories).forEach(function (factory) {\n React.DOM[factory] = function () {\n if (!warnedForFactories) {\n lowPriorityWarning(false, 'Accessing factories like React.DOM.%s has been deprecated ' + 'and will be removed in v16.0+. Use the ' + 'react-dom-factories package instead. ' + ' Version 1.0 provides a drop-in replacement.' + ' For more info, see https://fb.me/react-dom-factories', factory);\n warnedForFactories = true;\n }\n return ReactDOMFactories[factory].apply(ReactDOMFactories, arguments);\n };\n });\n}\n\nmodule.exports = React;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/React.js\n// module id = 31\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/React.js?"); /***/ }), /* 32 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n'use strict';\n\n/**\n * WARNING: DO NOT manually require this module.\n * This is a replacement for `invariant(...)` used by the error code system\n * and will _only_ be required by the corresponding babel pass.\n * It always throws.\n */\n\nfunction reactProdInvariant(code) {\n var argCount = arguments.length - 1;\n\n var message = 'Minified React error #' + code + '; visit ' + 'https://facebook.github.io/react/docs/error-decoder.html?invariant=' + code;\n\n for (var argIdx = 0; argIdx < argCount; argIdx++) {\n message += '&args[]=' + encodeURIComponent(arguments[argIdx + 1]);\n }\n\n message += ' for the full message or use the non-minified dev environment' + ' for full errors and additional helpful warnings.';\n\n var error = new Error(message);\n error.name = 'Invariant Violation';\n error.framesToPop = 1; // we don't care about reactProdInvariant's own frame\n\n throw error;\n}\n\nmodule.exports = reactProdInvariant;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/reactProdInvariant.js\n// module id = 32\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/reactProdInvariant.js?"); /***/ }), /* 33 */, /* 34 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nmodule.exports = __webpack_require__(181);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/index.js\n// module id = 34\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/index.js?"); /***/ }), /* 35 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6);\n\nvar EventPluginRegistry = __webpack_require__(45);\nvar EventPluginUtils = __webpack_require__(58);\nvar ReactErrorUtils = __webpack_require__(62);\n\nvar accumulateInto = __webpack_require__(104);\nvar forEachAccumulated = __webpack_require__(105);\nvar invariant = __webpack_require__(3);\n\n/**\n * Internal store for event listeners\n */\nvar listenerBank = {};\n\n/**\n * Internal queue of events that have accumulated their dispatches and are\n * waiting to have their dispatches executed.\n */\nvar eventQueue = null;\n\n/**\n * Dispatches an event and releases it back into the pool, unless persistent.\n *\n * @param {?object} event Synthetic event to be dispatched.\n * @param {boolean} simulated If the event is simulated (changes exn behavior)\n * @private\n */\nvar executeDispatchesAndRelease = function (event, simulated) {\n if (event) {\n EventPluginUtils.executeDispatchesInOrder(event, simulated);\n\n if (!event.isPersistent()) {\n event.constructor.release(event);\n }\n }\n};\nvar executeDispatchesAndReleaseSimulated = function (e) {\n return executeDispatchesAndRelease(e, true);\n};\nvar executeDispatchesAndReleaseTopLevel = function (e) {\n return executeDispatchesAndRelease(e, false);\n};\n\nvar getDictionaryKey = function (inst) {\n // Prevents V8 performance issue:\n // https://github.com/facebook/react/pull/7232\n return '.' + inst._rootNodeID;\n};\n\nfunction isInteractive(tag) {\n return tag === 'button' || tag === 'input' || tag === 'select' || tag === 'textarea';\n}\n\nfunction shouldPreventMouseEvent(name, type, props) {\n switch (name) {\n case 'onClick':\n case 'onClickCapture':\n case 'onDoubleClick':\n case 'onDoubleClickCapture':\n case 'onMouseDown':\n case 'onMouseDownCapture':\n case 'onMouseMove':\n case 'onMouseMoveCapture':\n case 'onMouseUp':\n case 'onMouseUpCapture':\n return !!(props.disabled && isInteractive(type));\n default:\n return false;\n }\n}\n\n/**\n * This is a unified interface for event plugins to be installed and configured.\n *\n * Event plugins can implement the following properties:\n *\n * `extractEvents` {function(string, DOMEventTarget, string, object): *}\n * Required. When a top-level event is fired, this method is expected to\n * extract synthetic events that will in turn be queued and dispatched.\n *\n * `eventTypes` {object}\n * Optional, plugins that fire events must publish a mapping of registration\n * names that are used to register listeners. Values of this mapping must\n * be objects that contain `registrationName` or `phasedRegistrationNames`.\n *\n * `executeDispatch` {function(object, function, string)}\n * Optional, allows plugins to override how an event gets dispatched. By\n * default, the listener is simply invoked.\n *\n * Each plugin that is injected into `EventsPluginHub` is immediately operable.\n *\n * @public\n */\nvar EventPluginHub = {\n /**\n * Methods for injecting dependencies.\n */\n injection: {\n /**\n * @param {array} InjectedEventPluginOrder\n * @public\n */\n injectEventPluginOrder: EventPluginRegistry.injectEventPluginOrder,\n\n /**\n * @param {object} injectedNamesToPlugins Map from names to plugin modules.\n */\n injectEventPluginsByName: EventPluginRegistry.injectEventPluginsByName\n },\n\n /**\n * Stores `listener` at `listenerBank[registrationName][key]`. Is idempotent.\n *\n * @param {object} inst The instance, which is the source of events.\n * @param {string} registrationName Name of listener (e.g. `onClick`).\n * @param {function} listener The callback to store.\n */\n putListener: function (inst, registrationName, listener) {\n !(typeof listener === 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Expected %s listener to be a function, instead got type %s', registrationName, typeof listener) : _prodInvariant('94', registrationName, typeof listener) : void 0;\n\n var key = getDictionaryKey(inst);\n var bankForRegistrationName = listenerBank[registrationName] || (listenerBank[registrationName] = {});\n bankForRegistrationName[key] = listener;\n\n var PluginModule = EventPluginRegistry.registrationNameModules[registrationName];\n if (PluginModule && PluginModule.didPutListener) {\n PluginModule.didPutListener(inst, registrationName, listener);\n }\n },\n\n /**\n * @param {object} inst The instance, which is the source of events.\n * @param {string} registrationName Name of listener (e.g. `onClick`).\n * @return {?function} The stored callback.\n */\n getListener: function (inst, registrationName) {\n // TODO: shouldPreventMouseEvent is DOM-specific and definitely should not\n // live here; needs to be moved to a better place soon\n var bankForRegistrationName = listenerBank[registrationName];\n if (shouldPreventMouseEvent(registrationName, inst._currentElement.type, inst._currentElement.props)) {\n return null;\n }\n var key = getDictionaryKey(inst);\n return bankForRegistrationName && bankForRegistrationName[key];\n },\n\n /**\n * Deletes a listener from the registration bank.\n *\n * @param {object} inst The instance, which is the source of events.\n * @param {string} registrationName Name of listener (e.g. `onClick`).\n */\n deleteListener: function (inst, registrationName) {\n var PluginModule = EventPluginRegistry.registrationNameModules[registrationName];\n if (PluginModule && PluginModule.willDeleteListener) {\n PluginModule.willDeleteListener(inst, registrationName);\n }\n\n var bankForRegistrationName = listenerBank[registrationName];\n // TODO: This should never be null -- when is it?\n if (bankForRegistrationName) {\n var key = getDictionaryKey(inst);\n delete bankForRegistrationName[key];\n }\n },\n\n /**\n * Deletes all listeners for the DOM element with the supplied ID.\n *\n * @param {object} inst The instance, which is the source of events.\n */\n deleteAllListeners: function (inst) {\n var key = getDictionaryKey(inst);\n for (var registrationName in listenerBank) {\n if (!listenerBank.hasOwnProperty(registrationName)) {\n continue;\n }\n\n if (!listenerBank[registrationName][key]) {\n continue;\n }\n\n var PluginModule = EventPluginRegistry.registrationNameModules[registrationName];\n if (PluginModule && PluginModule.willDeleteListener) {\n PluginModule.willDeleteListener(inst, registrationName);\n }\n\n delete listenerBank[registrationName][key];\n }\n },\n\n /**\n * Allows registered plugins an opportunity to extract events from top-level\n * native browser events.\n *\n * @return {*} An accumulation of synthetic events.\n * @internal\n */\n extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n var events;\n var plugins = EventPluginRegistry.plugins;\n for (var i = 0; i < plugins.length; i++) {\n // Not every plugin in the ordering may be loaded at runtime.\n var possiblePlugin = plugins[i];\n if (possiblePlugin) {\n var extractedEvents = possiblePlugin.extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget);\n if (extractedEvents) {\n events = accumulateInto(events, extractedEvents);\n }\n }\n }\n return events;\n },\n\n /**\n * Enqueues a synthetic event that should be dispatched when\n * `processEventQueue` is invoked.\n *\n * @param {*} events An accumulation of synthetic events.\n * @internal\n */\n enqueueEvents: function (events) {\n if (events) {\n eventQueue = accumulateInto(eventQueue, events);\n }\n },\n\n /**\n * Dispatches all synthetic events on the event queue.\n *\n * @internal\n */\n processEventQueue: function (simulated) {\n // Set `eventQueue` to null before processing it so that we can tell if more\n // events get enqueued while processing.\n var processingEventQueue = eventQueue;\n eventQueue = null;\n if (simulated) {\n forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseSimulated);\n } else {\n forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseTopLevel);\n }\n !!eventQueue ? process.env.NODE_ENV !== 'production' ? invariant(false, 'processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented.') : _prodInvariant('95') : void 0;\n // This would be a good time to rethrow if any of the event handlers threw.\n ReactErrorUtils.rethrowCaughtError();\n },\n\n /**\n * These are needed for tests only. Do not use!\n */\n __purge: function () {\n listenerBank = {};\n },\n\n __getListenerBank: function () {\n return listenerBank;\n }\n};\n\nmodule.exports = EventPluginHub;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/EventPluginHub.js\n// module id = 35\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/EventPluginHub.js?"); /***/ }), /* 36 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar EventPluginHub = __webpack_require__(35);\nvar EventPluginUtils = __webpack_require__(58);\n\nvar accumulateInto = __webpack_require__(104);\nvar forEachAccumulated = __webpack_require__(105);\nvar warning = __webpack_require__(4);\n\nvar getListener = EventPluginHub.getListener;\n\n/**\n * Some event types have a notion of different registration names for different\n * \"phases\" of propagation. This finds listeners by a given phase.\n */\nfunction listenerAtPhase(inst, event, propagationPhase) {\n var registrationName = event.dispatchConfig.phasedRegistrationNames[propagationPhase];\n return getListener(inst, registrationName);\n}\n\n/**\n * Tags a `SyntheticEvent` with dispatched listeners. Creating this function\n * here, allows us to not have to bind or create functions for each event.\n * Mutating the event's members allows us to not have to create a wrapping\n * \"dispatch\" object that pairs the event with the listener.\n */\nfunction accumulateDirectionalDispatches(inst, phase, event) {\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(inst, 'Dispatching inst must not be null') : void 0;\n }\n var listener = listenerAtPhase(inst, event, phase);\n if (listener) {\n event._dispatchListeners = accumulateInto(event._dispatchListeners, listener);\n event._dispatchInstances = accumulateInto(event._dispatchInstances, inst);\n }\n}\n\n/**\n * Collect dispatches (must be entirely collected before dispatching - see unit\n * tests). Lazily allocate the array to conserve memory. We must loop through\n * each event and perform the traversal for each one. We cannot perform a\n * single traversal for the entire collection of events because each event may\n * have a different target.\n */\nfunction accumulateTwoPhaseDispatchesSingle(event) {\n if (event && event.dispatchConfig.phasedRegistrationNames) {\n EventPluginUtils.traverseTwoPhase(event._targetInst, accumulateDirectionalDispatches, event);\n }\n}\n\n/**\n * Same as `accumulateTwoPhaseDispatchesSingle`, but skips over the targetID.\n */\nfunction accumulateTwoPhaseDispatchesSingleSkipTarget(event) {\n if (event && event.dispatchConfig.phasedRegistrationNames) {\n var targetInst = event._targetInst;\n var parentInst = targetInst ? EventPluginUtils.getParentInstance(targetInst) : null;\n EventPluginUtils.traverseTwoPhase(parentInst, accumulateDirectionalDispatches, event);\n }\n}\n\n/**\n * Accumulates without regard to direction, does not look for phased\n * registration names. Same as `accumulateDirectDispatchesSingle` but without\n * requiring that the `dispatchMarker` be the same as the dispatched ID.\n */\nfunction accumulateDispatches(inst, ignoredDirection, event) {\n if (event && event.dispatchConfig.registrationName) {\n var registrationName = event.dispatchConfig.registrationName;\n var listener = getListener(inst, registrationName);\n if (listener) {\n event._dispatchListeners = accumulateInto(event._dispatchListeners, listener);\n event._dispatchInstances = accumulateInto(event._dispatchInstances, inst);\n }\n }\n}\n\n/**\n * Accumulates dispatches on an `SyntheticEvent`, but only for the\n * `dispatchMarker`.\n * @param {SyntheticEvent} event\n */\nfunction accumulateDirectDispatchesSingle(event) {\n if (event && event.dispatchConfig.registrationName) {\n accumulateDispatches(event._targetInst, null, event);\n }\n}\n\nfunction accumulateTwoPhaseDispatches(events) {\n forEachAccumulated(events, accumulateTwoPhaseDispatchesSingle);\n}\n\nfunction accumulateTwoPhaseDispatchesSkipTarget(events) {\n forEachAccumulated(events, accumulateTwoPhaseDispatchesSingleSkipTarget);\n}\n\nfunction accumulateEnterLeaveDispatches(leave, enter, from, to) {\n EventPluginUtils.traverseEnterLeave(from, to, accumulateDispatches, leave, enter);\n}\n\nfunction accumulateDirectDispatches(events) {\n forEachAccumulated(events, accumulateDirectDispatchesSingle);\n}\n\n/**\n * A small set of propagation patterns, each of which will accept a small amount\n * of information, and generate a set of \"dispatch ready event objects\" - which\n * are sets of events that have already been annotated with a set of dispatched\n * listener functions/ids. The API is designed this way to discourage these\n * propagation strategies from actually executing the dispatches, since we\n * always want to collect the entire set of dispatches before executing event a\n * single one.\n *\n * @constructor EventPropagators\n */\nvar EventPropagators = {\n accumulateTwoPhaseDispatches: accumulateTwoPhaseDispatches,\n accumulateTwoPhaseDispatchesSkipTarget: accumulateTwoPhaseDispatchesSkipTarget,\n accumulateDirectDispatches: accumulateDirectDispatches,\n accumulateEnterLeaveDispatches: accumulateEnterLeaveDispatches\n};\n\nmodule.exports = EventPropagators;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/EventPropagators.js\n// module id = 36\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/EventPropagators.js?"); /***/ }), /* 37 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\n/**\n * `ReactInstanceMap` maintains a mapping from a public facing stateful\n * instance (key) and the internal representation (value). This allows public\n * methods to accept the user facing instance as an argument and map them back\n * to internal methods.\n */\n\n// TODO: Replace this with ES6: var ReactInstanceMap = new Map();\n\nvar ReactInstanceMap = {\n /**\n * This API should be called `delete` but we'd have to make sure to always\n * transform these to strings for IE support. When this transform is fully\n * supported we can rename it.\n */\n remove: function (key) {\n key._reactInternalInstance = undefined;\n },\n\n get: function (key) {\n return key._reactInternalInstance;\n },\n\n has: function (key) {\n return key._reactInternalInstance !== undefined;\n },\n\n set: function (key, value) {\n key._reactInternalInstance = value;\n }\n};\n\nmodule.exports = ReactInstanceMap;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactInstanceMap.js\n// module id = 37\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactInstanceMap.js?"); /***/ }), /* 38 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar SyntheticEvent = __webpack_require__(20);\n\nvar getEventTarget = __webpack_require__(67);\n\n/**\n * @interface UIEvent\n * @see https://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar UIEventInterface = {\n view: function (event) {\n if (event.view) {\n return event.view;\n }\n\n var target = getEventTarget(event);\n if (target.window === target) {\n // target is a window object\n return target;\n }\n\n var doc = target.ownerDocument;\n // TODO: Figure out why `ownerDocument` is sometimes undefined in IE8.\n if (doc) {\n return doc.defaultView || doc.parentWindow;\n } else {\n return window;\n }\n },\n detail: function (event) {\n return event.detail || 0;\n }\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticEvent}\n */\nfunction SyntheticUIEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticEvent.augmentClass(SyntheticUIEvent, UIEventInterface);\n\nmodule.exports = SyntheticUIEvent;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/SyntheticUIEvent.js\n// module id = 38\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/SyntheticUIEvent.js?"); /***/ }), /* 39 */, /* 40 */, /* 41 */, /* 42 */, /* 43 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var REACT_ELEMENT_TYPE = (typeof Symbol === 'function' &&\n Symbol.for &&\n Symbol.for('react.element')) ||\n 0xeac7;\n\n var isValidElement = function(object) {\n return typeof object === 'object' &&\n object !== null &&\n object.$$typeof === REACT_ELEMENT_TYPE;\n };\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // https://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = __webpack_require__(90)(isValidElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // https://fb.me/prop-types-in-prod\n module.exports = __webpack_require__(166)();\n}\n\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/prop-types/index.js\n// module id = 43\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/prop-types/index.js?"); /***/ }), /* 44 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar emptyObject = {};\n\nif (process.env.NODE_ENV !== 'production') {\n Object.freeze(emptyObject);\n}\n\nmodule.exports = emptyObject;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/emptyObject.js\n// module id = 44\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/fbjs/lib/emptyObject.js?"); /***/ }), /* 45 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6);\n\nvar invariant = __webpack_require__(3);\n\n/**\n * Injectable ordering of event plugins.\n */\nvar eventPluginOrder = null;\n\n/**\n * Injectable mapping from names to event plugin modules.\n */\nvar namesToPlugins = {};\n\n/**\n * Recomputes the plugin list using the injected plugins and plugin ordering.\n *\n * @private\n */\nfunction recomputePluginOrdering() {\n if (!eventPluginOrder) {\n // Wait until an `eventPluginOrder` is injected.\n return;\n }\n for (var pluginName in namesToPlugins) {\n var pluginModule = namesToPlugins[pluginName];\n var pluginIndex = eventPluginOrder.indexOf(pluginName);\n !(pluginIndex > -1) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.', pluginName) : _prodInvariant('96', pluginName) : void 0;\n if (EventPluginRegistry.plugins[pluginIndex]) {\n continue;\n }\n !pluginModule.extractEvents ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.', pluginName) : _prodInvariant('97', pluginName) : void 0;\n EventPluginRegistry.plugins[pluginIndex] = pluginModule;\n var publishedEvents = pluginModule.eventTypes;\n for (var eventName in publishedEvents) {\n !publishEventForPlugin(publishedEvents[eventName], pluginModule, eventName) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.', eventName, pluginName) : _prodInvariant('98', eventName, pluginName) : void 0;\n }\n }\n}\n\n/**\n * Publishes an event so that it can be dispatched by the supplied plugin.\n *\n * @param {object} dispatchConfig Dispatch configuration for the event.\n * @param {object} PluginModule Plugin publishing the event.\n * @return {boolean} True if the event was successfully published.\n * @private\n */\nfunction publishEventForPlugin(dispatchConfig, pluginModule, eventName) {\n !!EventPluginRegistry.eventNameDispatchConfigs.hasOwnProperty(eventName) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.', eventName) : _prodInvariant('99', eventName) : void 0;\n EventPluginRegistry.eventNameDispatchConfigs[eventName] = dispatchConfig;\n\n var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;\n if (phasedRegistrationNames) {\n for (var phaseName in phasedRegistrationNames) {\n if (phasedRegistrationNames.hasOwnProperty(phaseName)) {\n var phasedRegistrationName = phasedRegistrationNames[phaseName];\n publishRegistrationName(phasedRegistrationName, pluginModule, eventName);\n }\n }\n return true;\n } else if (dispatchConfig.registrationName) {\n publishRegistrationName(dispatchConfig.registrationName, pluginModule, eventName);\n return true;\n }\n return false;\n}\n\n/**\n * Publishes a registration name that is used to identify dispatched events and\n * can be used with `EventPluginHub.putListener` to register listeners.\n *\n * @param {string} registrationName Registration name to add.\n * @param {object} PluginModule Plugin publishing the event.\n * @private\n */\nfunction publishRegistrationName(registrationName, pluginModule, eventName) {\n !!EventPluginRegistry.registrationNameModules[registrationName] ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.', registrationName) : _prodInvariant('100', registrationName) : void 0;\n EventPluginRegistry.registrationNameModules[registrationName] = pluginModule;\n EventPluginRegistry.registrationNameDependencies[registrationName] = pluginModule.eventTypes[eventName].dependencies;\n\n if (process.env.NODE_ENV !== 'production') {\n var lowerCasedName = registrationName.toLowerCase();\n EventPluginRegistry.possibleRegistrationNames[lowerCasedName] = registrationName;\n\n if (registrationName === 'onDoubleClick') {\n EventPluginRegistry.possibleRegistrationNames.ondblclick = registrationName;\n }\n }\n}\n\n/**\n * Registers plugins so that they can extract and dispatch events.\n *\n * @see {EventPluginHub}\n */\nvar EventPluginRegistry = {\n /**\n * Ordered list of injected plugins.\n */\n plugins: [],\n\n /**\n * Mapping from event name to dispatch config\n */\n eventNameDispatchConfigs: {},\n\n /**\n * Mapping from registration name to plugin module\n */\n registrationNameModules: {},\n\n /**\n * Mapping from registration name to event name\n */\n registrationNameDependencies: {},\n\n /**\n * Mapping from lowercase registration names to the properly cased version,\n * used to warn in the case of missing event handlers. Available\n * only in __DEV__.\n * @type {Object}\n */\n possibleRegistrationNames: process.env.NODE_ENV !== 'production' ? {} : null,\n // Trust the developer to only use possibleRegistrationNames in __DEV__\n\n /**\n * Injects an ordering of plugins (by plugin name). This allows the ordering\n * to be decoupled from injection of the actual plugins so that ordering is\n * always deterministic regardless of packaging, on-the-fly injection, etc.\n *\n * @param {array} InjectedEventPluginOrder\n * @internal\n * @see {EventPluginHub.injection.injectEventPluginOrder}\n */\n injectEventPluginOrder: function (injectedEventPluginOrder) {\n !!eventPluginOrder ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.') : _prodInvariant('101') : void 0;\n // Clone the ordering so it cannot be dynamically mutated.\n eventPluginOrder = Array.prototype.slice.call(injectedEventPluginOrder);\n recomputePluginOrdering();\n },\n\n /**\n * Injects plugins to be used by `EventPluginHub`. The plugin names must be\n * in the ordering injected by `injectEventPluginOrder`.\n *\n * Plugins can be injected as part of page initialization or on-the-fly.\n *\n * @param {object} injectedNamesToPlugins Map from names to plugin modules.\n * @internal\n * @see {EventPluginHub.injection.injectEventPluginsByName}\n */\n injectEventPluginsByName: function (injectedNamesToPlugins) {\n var isOrderingDirty = false;\n for (var pluginName in injectedNamesToPlugins) {\n if (!injectedNamesToPlugins.hasOwnProperty(pluginName)) {\n continue;\n }\n var pluginModule = injectedNamesToPlugins[pluginName];\n if (!namesToPlugins.hasOwnProperty(pluginName) || namesToPlugins[pluginName] !== pluginModule) {\n !!namesToPlugins[pluginName] ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.', pluginName) : _prodInvariant('102', pluginName) : void 0;\n namesToPlugins[pluginName] = pluginModule;\n isOrderingDirty = true;\n }\n }\n if (isOrderingDirty) {\n recomputePluginOrdering();\n }\n },\n\n /**\n * Looks up the plugin for the supplied event.\n *\n * @param {object} event A synthetic event.\n * @return {?object} The plugin that created the supplied event.\n * @internal\n */\n getPluginModuleForEvent: function (event) {\n var dispatchConfig = event.dispatchConfig;\n if (dispatchConfig.registrationName) {\n return EventPluginRegistry.registrationNameModules[dispatchConfig.registrationName] || null;\n }\n if (dispatchConfig.phasedRegistrationNames !== undefined) {\n // pulling phasedRegistrationNames out of dispatchConfig helps Flow see\n // that it is not undefined.\n var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;\n\n for (var phase in phasedRegistrationNames) {\n if (!phasedRegistrationNames.hasOwnProperty(phase)) {\n continue;\n }\n var pluginModule = EventPluginRegistry.registrationNameModules[phasedRegistrationNames[phase]];\n if (pluginModule) {\n return pluginModule;\n }\n }\n }\n return null;\n },\n\n /**\n * Exposed for unit testing.\n * @private\n */\n _resetEventPlugins: function () {\n eventPluginOrder = null;\n for (var pluginName in namesToPlugins) {\n if (namesToPlugins.hasOwnProperty(pluginName)) {\n delete namesToPlugins[pluginName];\n }\n }\n EventPluginRegistry.plugins.length = 0;\n\n var eventNameDispatchConfigs = EventPluginRegistry.eventNameDispatchConfigs;\n for (var eventName in eventNameDispatchConfigs) {\n if (eventNameDispatchConfigs.hasOwnProperty(eventName)) {\n delete eventNameDispatchConfigs[eventName];\n }\n }\n\n var registrationNameModules = EventPluginRegistry.registrationNameModules;\n for (var registrationName in registrationNameModules) {\n if (registrationNameModules.hasOwnProperty(registrationName)) {\n delete registrationNameModules[registrationName];\n }\n }\n\n if (process.env.NODE_ENV !== 'production') {\n var possibleRegistrationNames = EventPluginRegistry.possibleRegistrationNames;\n for (var lowerCasedName in possibleRegistrationNames) {\n if (possibleRegistrationNames.hasOwnProperty(lowerCasedName)) {\n delete possibleRegistrationNames[lowerCasedName];\n }\n }\n }\n }\n};\n\nmodule.exports = EventPluginRegistry;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/EventPluginRegistry.js\n// module id = 45\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/EventPluginRegistry.js?"); /***/ }), /* 46 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _assign = __webpack_require__(8);\n\nvar EventPluginRegistry = __webpack_require__(45);\nvar ReactEventEmitterMixin = __webpack_require__(200);\nvar ViewportMetrics = __webpack_require__(103);\n\nvar getVendorPrefixedEventName = __webpack_require__(235);\nvar isEventSupported = __webpack_require__(68);\n\n/**\n * Summary of `ReactBrowserEventEmitter` event handling:\n *\n * - Top-level delegation is used to trap most native browser events. This\n * may only occur in the main thread and is the responsibility of\n * ReactEventListener, which is injected and can therefore support pluggable\n * event sources. This is the only work that occurs in the main thread.\n *\n * - We normalize and de-duplicate events to account for browser quirks. This\n * may be done in the worker thread.\n *\n * - Forward these native events (with the associated top-level type used to\n * trap it) to `EventPluginHub`, which in turn will ask plugins if they want\n * to extract any synthetic events.\n *\n * - The `EventPluginHub` will then process each event by annotating them with\n * \"dispatches\", a sequence of listeners and IDs that care about that event.\n *\n * - The `EventPluginHub` then dispatches the events.\n *\n * Overview of React and the event system:\n *\n * +------------+ .\n * | DOM | .\n * +------------+ .\n * | .\n * v .\n * +------------+ .\n * | ReactEvent | .\n * | Listener | .\n * +------------+ . +-----------+\n * | . +--------+|SimpleEvent|\n * | . | |Plugin |\n * +-----|------+ . v +-----------+\n * | | | . +--------------+ +------------+\n * | +-----------.--->|EventPluginHub| | Event |\n * | | . | | +-----------+ | Propagators|\n * | ReactEvent | . | | |TapEvent | |------------|\n * | Emitter | . | |<---+|Plugin | |other plugin|\n * | | . | | +-----------+ | utilities |\n * | +-----------.--->| | +------------+\n * | | | . +--------------+\n * +-----|------+ . ^ +-----------+\n * | . | |Enter/Leave|\n * + . +-------+|Plugin |\n * +-------------+ . +-----------+\n * | application | .\n * |-------------| .\n * | | .\n * | | .\n * +-------------+ .\n * .\n * React Core . General Purpose Event Plugin System\n */\n\nvar hasEventPageXY;\nvar alreadyListeningTo = {};\nvar isMonitoringScrollValue = false;\nvar reactTopListenersCounter = 0;\n\n// For events like 'submit' which don't consistently bubble (which we trap at a\n// lower node than `document`), binding at `document` would cause duplicate\n// events so we don't include them here\nvar topEventMapping = {\n topAbort: 'abort',\n topAnimationEnd: getVendorPrefixedEventName('animationend') || 'animationend',\n topAnimationIteration: getVendorPrefixedEventName('animationiteration') || 'animationiteration',\n topAnimationStart: getVendorPrefixedEventName('animationstart') || 'animationstart',\n topBlur: 'blur',\n topCanPlay: 'canplay',\n topCanPlayThrough: 'canplaythrough',\n topChange: 'change',\n topClick: 'click',\n topCompositionEnd: 'compositionend',\n topCompositionStart: 'compositionstart',\n topCompositionUpdate: 'compositionupdate',\n topContextMenu: 'contextmenu',\n topCopy: 'copy',\n topCut: 'cut',\n topDoubleClick: 'dblclick',\n topDrag: 'drag',\n topDragEnd: 'dragend',\n topDragEnter: 'dragenter',\n topDragExit: 'dragexit',\n topDragLeave: 'dragleave',\n topDragOver: 'dragover',\n topDragStart: 'dragstart',\n topDrop: 'drop',\n topDurationChange: 'durationchange',\n topEmptied: 'emptied',\n topEncrypted: 'encrypted',\n topEnded: 'ended',\n topError: 'error',\n topFocus: 'focus',\n topInput: 'input',\n topKeyDown: 'keydown',\n topKeyPress: 'keypress',\n topKeyUp: 'keyup',\n topLoadedData: 'loadeddata',\n topLoadedMetadata: 'loadedmetadata',\n topLoadStart: 'loadstart',\n topMouseDown: 'mousedown',\n topMouseMove: 'mousemove',\n topMouseOut: 'mouseout',\n topMouseOver: 'mouseover',\n topMouseUp: 'mouseup',\n topPaste: 'paste',\n topPause: 'pause',\n topPlay: 'play',\n topPlaying: 'playing',\n topProgress: 'progress',\n topRateChange: 'ratechange',\n topScroll: 'scroll',\n topSeeked: 'seeked',\n topSeeking: 'seeking',\n topSelectionChange: 'selectionchange',\n topStalled: 'stalled',\n topSuspend: 'suspend',\n topTextInput: 'textInput',\n topTimeUpdate: 'timeupdate',\n topTouchCancel: 'touchcancel',\n topTouchEnd: 'touchend',\n topTouchMove: 'touchmove',\n topTouchStart: 'touchstart',\n topTransitionEnd: getVendorPrefixedEventName('transitionend') || 'transitionend',\n topVolumeChange: 'volumechange',\n topWaiting: 'waiting',\n topWheel: 'wheel'\n};\n\n/**\n * To ensure no conflicts with other potential React instances on the page\n */\nvar topListenersIDKey = '_reactListenersID' + String(Math.random()).slice(2);\n\nfunction getListeningForDocument(mountAt) {\n // In IE8, `mountAt` is a host object and doesn't have `hasOwnProperty`\n // directly.\n if (!Object.prototype.hasOwnProperty.call(mountAt, topListenersIDKey)) {\n mountAt[topListenersIDKey] = reactTopListenersCounter++;\n alreadyListeningTo[mountAt[topListenersIDKey]] = {};\n }\n return alreadyListeningTo[mountAt[topListenersIDKey]];\n}\n\n/**\n * `ReactBrowserEventEmitter` is used to attach top-level event listeners. For\n * example:\n *\n * EventPluginHub.putListener('myID', 'onClick', myFunction);\n *\n * This would allocate a \"registration\" of `('onClick', myFunction)` on 'myID'.\n *\n * @internal\n */\nvar ReactBrowserEventEmitter = _assign({}, ReactEventEmitterMixin, {\n /**\n * Injectable event backend\n */\n ReactEventListener: null,\n\n injection: {\n /**\n * @param {object} ReactEventListener\n */\n injectReactEventListener: function (ReactEventListener) {\n ReactEventListener.setHandleTopLevel(ReactBrowserEventEmitter.handleTopLevel);\n ReactBrowserEventEmitter.ReactEventListener = ReactEventListener;\n }\n },\n\n /**\n * Sets whether or not any created callbacks should be enabled.\n *\n * @param {boolean} enabled True if callbacks should be enabled.\n */\n setEnabled: function (enabled) {\n if (ReactBrowserEventEmitter.ReactEventListener) {\n ReactBrowserEventEmitter.ReactEventListener.setEnabled(enabled);\n }\n },\n\n /**\n * @return {boolean} True if callbacks are enabled.\n */\n isEnabled: function () {\n return !!(ReactBrowserEventEmitter.ReactEventListener && ReactBrowserEventEmitter.ReactEventListener.isEnabled());\n },\n\n /**\n * We listen for bubbled touch events on the document object.\n *\n * Firefox v8.01 (and possibly others) exhibited strange behavior when\n * mounting `onmousemove` events at some node that was not the document\n * element. The symptoms were that if your mouse is not moving over something\n * contained within that mount point (for example on the background) the\n * top-level listeners for `onmousemove` won't be called. However, if you\n * register the `mousemove` on the document object, then it will of course\n * catch all `mousemove`s. This along with iOS quirks, justifies restricting\n * top-level listeners to the document object only, at least for these\n * movement types of events and possibly all events.\n *\n * @see https://www.quirksmode.org/blog/archives/2010/09/click_event_del.html\n *\n * Also, `keyup`/`keypress`/`keydown` do not bubble to the window on IE, but\n * they bubble to document.\n *\n * @param {string} registrationName Name of listener (e.g. `onClick`).\n * @param {object} contentDocumentHandle Document which owns the container\n */\n listenTo: function (registrationName, contentDocumentHandle) {\n var mountAt = contentDocumentHandle;\n var isListening = getListeningForDocument(mountAt);\n var dependencies = EventPluginRegistry.registrationNameDependencies[registrationName];\n\n for (var i = 0; i < dependencies.length; i++) {\n var dependency = dependencies[i];\n if (!(isListening.hasOwnProperty(dependency) && isListening[dependency])) {\n if (dependency === 'topWheel') {\n if (isEventSupported('wheel')) {\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topWheel', 'wheel', mountAt);\n } else if (isEventSupported('mousewheel')) {\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topWheel', 'mousewheel', mountAt);\n } else {\n // Firefox needs to capture a different mouse scroll event.\n // @see https://www.quirksmode.org/dom/events/tests/scroll.html\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topWheel', 'DOMMouseScroll', mountAt);\n }\n } else if (dependency === 'topScroll') {\n if (isEventSupported('scroll', true)) {\n ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent('topScroll', 'scroll', mountAt);\n } else {\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topScroll', 'scroll', ReactBrowserEventEmitter.ReactEventListener.WINDOW_HANDLE);\n }\n } else if (dependency === 'topFocus' || dependency === 'topBlur') {\n if (isEventSupported('focus', true)) {\n ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent('topFocus', 'focus', mountAt);\n ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent('topBlur', 'blur', mountAt);\n } else if (isEventSupported('focusin')) {\n // IE has `focusin` and `focusout` events which bubble.\n // @see https://www.quirksmode.org/blog/archives/2008/04/delegating_the.html\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topFocus', 'focusin', mountAt);\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent('topBlur', 'focusout', mountAt);\n }\n\n // to make sure blur and focus event listeners are only attached once\n isListening.topBlur = true;\n isListening.topFocus = true;\n } else if (topEventMapping.hasOwnProperty(dependency)) {\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(dependency, topEventMapping[dependency], mountAt);\n }\n\n isListening[dependency] = true;\n }\n }\n },\n\n trapBubbledEvent: function (topLevelType, handlerBaseName, handle) {\n return ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelType, handlerBaseName, handle);\n },\n\n trapCapturedEvent: function (topLevelType, handlerBaseName, handle) {\n return ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelType, handlerBaseName, handle);\n },\n\n /**\n * Protect against document.createEvent() returning null\n * Some popup blocker extensions appear to do this:\n * https://github.com/facebook/react/issues/6887\n */\n supportsEventPageXY: function () {\n if (!document.createEvent) {\n return false;\n }\n var ev = document.createEvent('MouseEvent');\n return ev != null && 'pageX' in ev;\n },\n\n /**\n * Listens to window scroll and resize events. We cache scroll values so that\n * application code can access them without triggering reflows.\n *\n * ViewportMetrics is only used by SyntheticMouse/TouchEvent and only when\n * pageX/pageY isn't supported (legacy browsers).\n *\n * NOTE: Scroll events do not bubble.\n *\n * @see https://www.quirksmode.org/dom/events/scroll.html\n */\n ensureScrollValueMonitoring: function () {\n if (hasEventPageXY === undefined) {\n hasEventPageXY = ReactBrowserEventEmitter.supportsEventPageXY();\n }\n if (!hasEventPageXY && !isMonitoringScrollValue) {\n var refresh = ViewportMetrics.refreshScrollValues;\n ReactBrowserEventEmitter.ReactEventListener.monitorScrollValue(refresh);\n isMonitoringScrollValue = true;\n }\n }\n});\n\nmodule.exports = ReactBrowserEventEmitter;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactBrowserEventEmitter.js\n// module id = 46\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactBrowserEventEmitter.js?"); /***/ }), /* 47 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar SyntheticUIEvent = __webpack_require__(38);\nvar ViewportMetrics = __webpack_require__(103);\n\nvar getEventModifierState = __webpack_require__(66);\n\n/**\n * @interface MouseEvent\n * @see https://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar MouseEventInterface = {\n screenX: null,\n screenY: null,\n clientX: null,\n clientY: null,\n ctrlKey: null,\n shiftKey: null,\n altKey: null,\n metaKey: null,\n getModifierState: getEventModifierState,\n button: function (event) {\n // Webkit, Firefox, IE9+\n // which: 1 2 3\n // button: 0 1 2 (standard)\n var button = event.button;\n if ('which' in event) {\n return button;\n }\n // IE<9\n // which: undefined\n // button: 0 0 0\n // button: 1 4 2 (onmouseup)\n return button === 2 ? 2 : button === 4 ? 1 : 0;\n },\n buttons: null,\n relatedTarget: function (event) {\n return event.relatedTarget || (event.fromElement === event.srcElement ? event.toElement : event.fromElement);\n },\n // \"Proprietary\" Interface.\n pageX: function (event) {\n return 'pageX' in event ? event.pageX : event.clientX + ViewportMetrics.currentScrollLeft;\n },\n pageY: function (event) {\n return 'pageY' in event ? event.pageY : event.clientY + ViewportMetrics.currentScrollTop;\n }\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticMouseEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticUIEvent.augmentClass(SyntheticMouseEvent, MouseEventInterface);\n\nmodule.exports = SyntheticMouseEvent;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/SyntheticMouseEvent.js\n// module id = 47\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/SyntheticMouseEvent.js?"); /***/ }), /* 48 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6);\n\nvar invariant = __webpack_require__(3);\n\nvar OBSERVED_ERROR = {};\n\n/**\n * `Transaction` creates a black box that is able to wrap any method such that\n * certain invariants are maintained before and after the method is invoked\n * (Even if an exception is thrown while invoking the wrapped method). Whoever\n * instantiates a transaction can provide enforcers of the invariants at\n * creation time. The `Transaction` class itself will supply one additional\n * automatic invariant for you - the invariant that any transaction instance\n * should not be run while it is already being run. You would typically create a\n * single instance of a `Transaction` for reuse multiple times, that potentially\n * is used to wrap several different methods. Wrappers are extremely simple -\n * they only require implementing two methods.\n *\n *
\n *                       wrappers (injected at creation time)\n *                                      +        +\n *                                      |        |\n *                    +-----------------|--------|--------------+\n *                    |                 v        |              |\n *                    |      +---------------+   |              |\n *                    |   +--|    wrapper1   |---|----+         |\n *                    |   |  +---------------+   v    |         |\n *                    |   |          +-------------+  |         |\n *                    |   |     +----|   wrapper2  |--------+   |\n *                    |   |     |    +-------------+  |     |   |\n *                    |   |     |                     |     |   |\n *                    |   v     v                     v     v   | wrapper\n *                    | +---+ +---+   +---------+   +---+ +---+ | invariants\n * perform(anyMethod) | |   | |   |   |         |   |   | |   | | maintained\n * +----------------->|-|---|-|---|-->|anyMethod|---|---|-|---|-|-------->\n *                    | |   | |   |   |         |   |   | |   | |\n *                    | |   | |   |   |         |   |   | |   | |\n *                    | |   | |   |   |         |   |   | |   | |\n *                    | +---+ +---+   +---------+   +---+ +---+ |\n *                    |  initialize                    close    |\n *                    +-----------------------------------------+\n * 
\n *\n * Use cases:\n * - Preserving the input selection ranges before/after reconciliation.\n * Restoring selection even in the event of an unexpected error.\n * - Deactivating events while rearranging the DOM, preventing blurs/focuses,\n * while guaranteeing that afterwards, the event system is reactivated.\n * - Flushing a queue of collected DOM mutations to the main UI thread after a\n * reconciliation takes place in a worker thread.\n * - Invoking any collected `componentDidUpdate` callbacks after rendering new\n * content.\n * - (Future use case): Wrapping particular flushes of the `ReactWorker` queue\n * to preserve the `scrollTop` (an automatic scroll aware DOM).\n * - (Future use case): Layout calculations before and after DOM updates.\n *\n * Transactional plugin API:\n * - A module that has an `initialize` method that returns any precomputation.\n * - and a `close` method that accepts the precomputation. `close` is invoked\n * when the wrapped process is completed, or has failed.\n *\n * @param {Array} transactionWrapper Wrapper modules\n * that implement `initialize` and `close`.\n * @return {Transaction} Single transaction for reuse in thread.\n *\n * @class Transaction\n */\nvar TransactionImpl = {\n /**\n * Sets up this instance so that it is prepared for collecting metrics. Does\n * so such that this setup method may be used on an instance that is already\n * initialized, in a way that does not consume additional memory upon reuse.\n * That can be useful if you decide to make your subclass of this mixin a\n * \"PooledClass\".\n */\n reinitializeTransaction: function () {\n this.transactionWrappers = this.getTransactionWrappers();\n if (this.wrapperInitData) {\n this.wrapperInitData.length = 0;\n } else {\n this.wrapperInitData = [];\n }\n this._isInTransaction = false;\n },\n\n _isInTransaction: false,\n\n /**\n * @abstract\n * @return {Array} Array of transaction wrappers.\n */\n getTransactionWrappers: null,\n\n isInTransaction: function () {\n return !!this._isInTransaction;\n },\n\n /* eslint-disable space-before-function-paren */\n\n /**\n * Executes the function within a safety window. Use this for the top level\n * methods that result in large amounts of computation/mutations that would\n * need to be safety checked. The optional arguments helps prevent the need\n * to bind in many cases.\n *\n * @param {function} method Member of scope to call.\n * @param {Object} scope Scope to invoke from.\n * @param {Object?=} a Argument to pass to the method.\n * @param {Object?=} b Argument to pass to the method.\n * @param {Object?=} c Argument to pass to the method.\n * @param {Object?=} d Argument to pass to the method.\n * @param {Object?=} e Argument to pass to the method.\n * @param {Object?=} f Argument to pass to the method.\n *\n * @return {*} Return value from `method`.\n */\n perform: function (method, scope, a, b, c, d, e, f) {\n /* eslint-enable space-before-function-paren */\n !!this.isInTransaction() ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Transaction.perform(...): Cannot initialize a transaction when there is already an outstanding transaction.') : _prodInvariant('27') : void 0;\n var errorThrown;\n var ret;\n try {\n this._isInTransaction = true;\n // Catching errors makes debugging more difficult, so we start with\n // errorThrown set to true before setting it to false after calling\n // close -- if it's still set to true in the finally block, it means\n // one of these calls threw.\n errorThrown = true;\n this.initializeAll(0);\n ret = method.call(scope, a, b, c, d, e, f);\n errorThrown = false;\n } finally {\n try {\n if (errorThrown) {\n // If `method` throws, prefer to show that stack trace over any thrown\n // by invoking `closeAll`.\n try {\n this.closeAll(0);\n } catch (err) {}\n } else {\n // Since `method` didn't throw, we don't want to silence the exception\n // here.\n this.closeAll(0);\n }\n } finally {\n this._isInTransaction = false;\n }\n }\n return ret;\n },\n\n initializeAll: function (startIndex) {\n var transactionWrappers = this.transactionWrappers;\n for (var i = startIndex; i < transactionWrappers.length; i++) {\n var wrapper = transactionWrappers[i];\n try {\n // Catching errors makes debugging more difficult, so we start with the\n // OBSERVED_ERROR state before overwriting it with the real return value\n // of initialize -- if it's still set to OBSERVED_ERROR in the finally\n // block, it means wrapper.initialize threw.\n this.wrapperInitData[i] = OBSERVED_ERROR;\n this.wrapperInitData[i] = wrapper.initialize ? wrapper.initialize.call(this) : null;\n } finally {\n if (this.wrapperInitData[i] === OBSERVED_ERROR) {\n // The initializer for wrapper i threw an error; initialize the\n // remaining wrappers but silence any exceptions from them to ensure\n // that the first error is the one to bubble up.\n try {\n this.initializeAll(i + 1);\n } catch (err) {}\n }\n }\n }\n },\n\n /**\n * Invokes each of `this.transactionWrappers.close[i]` functions, passing into\n * them the respective return values of `this.transactionWrappers.init[i]`\n * (`close`rs that correspond to initializers that failed will not be\n * invoked).\n */\n closeAll: function (startIndex) {\n !this.isInTransaction() ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Transaction.closeAll(): Cannot close transaction when none are open.') : _prodInvariant('28') : void 0;\n var transactionWrappers = this.transactionWrappers;\n for (var i = startIndex; i < transactionWrappers.length; i++) {\n var wrapper = transactionWrappers[i];\n var initData = this.wrapperInitData[i];\n var errorThrown;\n try {\n // Catching errors makes debugging more difficult, so we start with\n // errorThrown set to true before setting it to false after calling\n // close -- if it's still set to true in the finally block, it means\n // wrapper.close threw.\n errorThrown = true;\n if (initData !== OBSERVED_ERROR && wrapper.close) {\n wrapper.close.call(this, initData);\n }\n errorThrown = false;\n } finally {\n if (errorThrown) {\n // The closer for wrapper i threw an error; close the remaining\n // wrappers but silence any exceptions from them to ensure that the\n // first error is the one to bubble up.\n try {\n this.closeAll(i + 1);\n } catch (e) {}\n }\n }\n }\n this.wrapperInitData.length = 0;\n }\n};\n\nmodule.exports = TransactionImpl;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/Transaction.js\n// module id = 48\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/Transaction.js?"); /***/ }), /* 49 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2016-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * Based on the escape-html library, which is used under the MIT License below:\n *\n * Copyright (c) 2012-2013 TJ Holowaychuk\n * Copyright (c) 2015 Andreas Lubbe\n * Copyright (c) 2015 Tiancheng \"Timothy\" Gu\n *\n * Permission is hereby granted, free of charge, to any person obtaining\n * a copy of this software and associated documentation files (the\n * 'Software'), to deal in the Software without restriction, including\n * without limitation the rights to use, copy, modify, merge, publish,\n * distribute, sublicense, and/or sell copies of the Software, and to\n * permit persons to whom the Software is furnished to do so, subject to\n * the following conditions:\n *\n * The above copyright notice and this permission notice shall be\n * included in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n *\n */\n\n'use strict';\n\n// code copied and modified from escape-html\n/**\n * Module variables.\n * @private\n */\n\nvar matchHtmlRegExp = /[\"'&<>]/;\n\n/**\n * Escape special characters in the given string of html.\n *\n * @param {string} string The string to escape for inserting into HTML\n * @return {string}\n * @public\n */\n\nfunction escapeHtml(string) {\n var str = '' + string;\n var match = matchHtmlRegExp.exec(str);\n\n if (!match) {\n return str;\n }\n\n var escape;\n var html = '';\n var index = 0;\n var lastIndex = 0;\n\n for (index = match.index; index < str.length; index++) {\n switch (str.charCodeAt(index)) {\n case 34:\n // \"\n escape = '"';\n break;\n case 38:\n // &\n escape = '&';\n break;\n case 39:\n // '\n escape = '''; // modified from escape-html; used to be '''\n break;\n case 60:\n // <\n escape = '<';\n break;\n case 62:\n // >\n escape = '>';\n break;\n default:\n continue;\n }\n\n if (lastIndex !== index) {\n html += str.substring(lastIndex, index);\n }\n\n lastIndex = index + 1;\n html += escape;\n }\n\n return lastIndex !== index ? html + str.substring(lastIndex, index) : html;\n}\n// end code copied and modified from escape-html\n\n/**\n * Escapes text to prevent scripting attacks.\n *\n * @param {*} text Text value to escape.\n * @return {string} An escaped string.\n */\nfunction escapeTextContentForBrowser(text) {\n if (typeof text === 'boolean' || typeof text === 'number') {\n // this shortcircuit helps perf for types that we know will never have\n // special characters, especially given that this function is used often\n // for numeric dom ids.\n return '' + text;\n }\n return escapeHtml(text);\n}\n\nmodule.exports = escapeTextContentForBrowser;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/escapeTextContentForBrowser.js\n// module id = 49\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/escapeTextContentForBrowser.js?"); /***/ }), /* 50 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar ExecutionEnvironment = __webpack_require__(9);\nvar DOMNamespaces = __webpack_require__(57);\n\nvar WHITESPACE_TEST = /^[ \\r\\n\\t\\f]/;\nvar NONVISIBLE_TEST = /<(!--|link|noscript|meta|script|style)[ \\r\\n\\t\\f\\/>]/;\n\nvar createMicrosoftUnsafeLocalFunction = __webpack_require__(64);\n\n// SVG temp container for IE lacking innerHTML\nvar reusableSVGContainer;\n\n/**\n * Set the innerHTML property of a node, ensuring that whitespace is preserved\n * even in IE8.\n *\n * @param {DOMElement} node\n * @param {string} html\n * @internal\n */\nvar setInnerHTML = createMicrosoftUnsafeLocalFunction(function (node, html) {\n // IE does not have innerHTML for SVG nodes, so instead we inject the\n // new markup in a temp node and then move the child nodes across into\n // the target node\n if (node.namespaceURI === DOMNamespaces.svg && !('innerHTML' in node)) {\n reusableSVGContainer = reusableSVGContainer || document.createElement('div');\n reusableSVGContainer.innerHTML = '' + html + '';\n var svgNode = reusableSVGContainer.firstChild;\n while (svgNode.firstChild) {\n node.appendChild(svgNode.firstChild);\n }\n } else {\n node.innerHTML = html;\n }\n});\n\nif (ExecutionEnvironment.canUseDOM) {\n // IE8: When updating a just created node with innerHTML only leading\n // whitespace is removed. When updating an existing node with innerHTML\n // whitespace in root TextNodes is also collapsed.\n // @see quirksmode.org/bugreports/archives/2004/11/innerhtml_and_t.html\n\n // Feature detection; only IE8 is known to behave improperly like this.\n var testElement = document.createElement('div');\n testElement.innerHTML = ' ';\n if (testElement.innerHTML === '') {\n setInnerHTML = function (node, html) {\n // Magic theory: IE8 supposedly differentiates between added and updated\n // nodes when processing innerHTML, innerHTML on updated nodes suffers\n // from worse whitespace behavior. Re-adding a node like this triggers\n // the initial and more favorable whitespace behavior.\n // TODO: What to do on a detached node?\n if (node.parentNode) {\n node.parentNode.replaceChild(node, node);\n }\n\n // We also implement a workaround for non-visible tags disappearing into\n // thin air on IE8, this only happens if there is no visible text\n // in-front of the non-visible tags. Piggyback on the whitespace fix\n // and simply check if any non-visible tags appear in the source.\n if (WHITESPACE_TEST.test(html) || html[0] === '<' && NONVISIBLE_TEST.test(html)) {\n // Recover leading whitespace by temporarily prepending any character.\n // \\uFEFF has the potential advantage of being zero-width/invisible.\n // UglifyJS drops U+FEFF chars when parsing, so use String.fromCharCode\n // in hopes that this is preserved even if \"\\uFEFF\" is transformed to\n // the actual Unicode character (by Babel, for example).\n // https://github.com/mishoo/UglifyJS2/blob/v2.4.20/lib/parse.js#L216\n node.innerHTML = String.fromCharCode(0xfeff) + html;\n\n // deleteData leaves an empty `TextNode` which offsets the index of all\n // children. Definitely want to avoid this.\n var textNode = node.firstChild;\n if (textNode.data.length === 1) {\n node.removeChild(textNode);\n } else {\n textNode.deleteData(0, 1);\n }\n } else {\n node.innerHTML = html;\n }\n };\n }\n testElement = null;\n}\n\nmodule.exports = setInnerHTML;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/setInnerHTML.js\n// module id = 50\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/setInnerHTML.js?"); /***/ }), /* 51 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar canDefineProperty = false;\nif (process.env.NODE_ENV !== 'production') {\n try {\n // $FlowFixMe https://github.com/facebook/flow/issues/285\n Object.defineProperty({}, 'x', { get: function () {} });\n canDefineProperty = true;\n } catch (x) {\n // IE will fail on defineProperty\n }\n}\n\nmodule.exports = canDefineProperty;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/canDefineProperty.js\n// module id = 51\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/canDefineProperty.js?"); /***/ }), /* 52 */, /* 53 */, /* 54 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n * \n */\n\n/*eslint-disable no-self-compare */\n\n'use strict';\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\n/**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\nfunction is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n // Added the nonzero y check to make Flow happy, but it is redundant\n return x !== 0 || y !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n}\n\n/**\n * Performs equality by iterating through keys on an object and returning false\n * when any key has values which are not strictly equal between the arguments.\n * Returns true when the values of all keys are strictly equal.\n */\nfunction shallowEqual(objA, objB) {\n if (is(objA, objB)) {\n return true;\n }\n\n if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {\n return false;\n }\n\n var keysA = Object.keys(objA);\n var keysB = Object.keys(objB);\n\n if (keysA.length !== keysB.length) {\n return false;\n }\n\n // Test for A's keys different from B.\n for (var i = 0; i < keysA.length; i++) {\n if (!hasOwnProperty.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) {\n return false;\n }\n }\n\n return true;\n}\n\nmodule.exports = shallowEqual;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/shallowEqual.js\n// module id = 54\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/fbjs/lib/shallowEqual.js?"); /***/ }), /* 55 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/prop-types/lib/ReactPropTypesSecret.js\n// module id = 55\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/prop-types/lib/ReactPropTypesSecret.js?"); /***/ }), /* 56 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar DOMLazyTree = __webpack_require__(29);\nvar Danger = __webpack_require__(173);\nvar ReactDOMComponentTree = __webpack_require__(7);\nvar ReactInstrumentation = __webpack_require__(15);\n\nvar createMicrosoftUnsafeLocalFunction = __webpack_require__(64);\nvar setInnerHTML = __webpack_require__(50);\nvar setTextContent = __webpack_require__(111);\n\nfunction getNodeAfter(parentNode, node) {\n // Special case for text components, which return [open, close] comments\n // from getHostNode.\n if (Array.isArray(node)) {\n node = node[1];\n }\n return node ? node.nextSibling : parentNode.firstChild;\n}\n\n/**\n * Inserts `childNode` as a child of `parentNode` at the `index`.\n *\n * @param {DOMElement} parentNode Parent node in which to insert.\n * @param {DOMElement} childNode Child node to insert.\n * @param {number} index Index at which to insert the child.\n * @internal\n */\nvar insertChildAt = createMicrosoftUnsafeLocalFunction(function (parentNode, childNode, referenceNode) {\n // We rely exclusively on `insertBefore(node, null)` instead of also using\n // `appendChild(node)`. (Using `undefined` is not allowed by all browsers so\n // we are careful to use `null`.)\n parentNode.insertBefore(childNode, referenceNode);\n});\n\nfunction insertLazyTreeChildAt(parentNode, childTree, referenceNode) {\n DOMLazyTree.insertTreeBefore(parentNode, childTree, referenceNode);\n}\n\nfunction moveChild(parentNode, childNode, referenceNode) {\n if (Array.isArray(childNode)) {\n moveDelimitedText(parentNode, childNode[0], childNode[1], referenceNode);\n } else {\n insertChildAt(parentNode, childNode, referenceNode);\n }\n}\n\nfunction removeChild(parentNode, childNode) {\n if (Array.isArray(childNode)) {\n var closingComment = childNode[1];\n childNode = childNode[0];\n removeDelimitedText(parentNode, childNode, closingComment);\n parentNode.removeChild(closingComment);\n }\n parentNode.removeChild(childNode);\n}\n\nfunction moveDelimitedText(parentNode, openingComment, closingComment, referenceNode) {\n var node = openingComment;\n while (true) {\n var nextNode = node.nextSibling;\n insertChildAt(parentNode, node, referenceNode);\n if (node === closingComment) {\n break;\n }\n node = nextNode;\n }\n}\n\nfunction removeDelimitedText(parentNode, startNode, closingComment) {\n while (true) {\n var node = startNode.nextSibling;\n if (node === closingComment) {\n // The closing comment is removed by ReactMultiChild.\n break;\n } else {\n parentNode.removeChild(node);\n }\n }\n}\n\nfunction replaceDelimitedText(openingComment, closingComment, stringText) {\n var parentNode = openingComment.parentNode;\n var nodeAfterComment = openingComment.nextSibling;\n if (nodeAfterComment === closingComment) {\n // There are no text nodes between the opening and closing comments; insert\n // a new one if stringText isn't empty.\n if (stringText) {\n insertChildAt(parentNode, document.createTextNode(stringText), nodeAfterComment);\n }\n } else {\n if (stringText) {\n // Set the text content of the first node after the opening comment, and\n // remove all following nodes up until the closing comment.\n setTextContent(nodeAfterComment, stringText);\n removeDelimitedText(parentNode, nodeAfterComment, closingComment);\n } else {\n removeDelimitedText(parentNode, openingComment, closingComment);\n }\n }\n\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: ReactDOMComponentTree.getInstanceFromNode(openingComment)._debugID,\n type: 'replace text',\n payload: stringText\n });\n }\n}\n\nvar dangerouslyReplaceNodeWithMarkup = Danger.dangerouslyReplaceNodeWithMarkup;\nif (process.env.NODE_ENV !== 'production') {\n dangerouslyReplaceNodeWithMarkup = function (oldChild, markup, prevInstance) {\n Danger.dangerouslyReplaceNodeWithMarkup(oldChild, markup);\n if (prevInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: prevInstance._debugID,\n type: 'replace with',\n payload: markup.toString()\n });\n } else {\n var nextInstance = ReactDOMComponentTree.getInstanceFromNode(markup.node);\n if (nextInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: nextInstance._debugID,\n type: 'mount',\n payload: markup.toString()\n });\n }\n }\n };\n}\n\n/**\n * Operations for updating with DOM children.\n */\nvar DOMChildrenOperations = {\n dangerouslyReplaceNodeWithMarkup: dangerouslyReplaceNodeWithMarkup,\n\n replaceDelimitedText: replaceDelimitedText,\n\n /**\n * Updates a component's children by processing a series of updates. The\n * update configurations are each expected to have a `parentNode` property.\n *\n * @param {array} updates List of update configurations.\n * @internal\n */\n processUpdates: function (parentNode, updates) {\n if (process.env.NODE_ENV !== 'production') {\n var parentNodeDebugID = ReactDOMComponentTree.getInstanceFromNode(parentNode)._debugID;\n }\n\n for (var k = 0; k < updates.length; k++) {\n var update = updates[k];\n switch (update.type) {\n case 'INSERT_MARKUP':\n insertLazyTreeChildAt(parentNode, update.content, getNodeAfter(parentNode, update.afterNode));\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: parentNodeDebugID,\n type: 'insert child',\n payload: {\n toIndex: update.toIndex,\n content: update.content.toString()\n }\n });\n }\n break;\n case 'MOVE_EXISTING':\n moveChild(parentNode, update.fromNode, getNodeAfter(parentNode, update.afterNode));\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: parentNodeDebugID,\n type: 'move child',\n payload: { fromIndex: update.fromIndex, toIndex: update.toIndex }\n });\n }\n break;\n case 'SET_MARKUP':\n setInnerHTML(parentNode, update.content);\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: parentNodeDebugID,\n type: 'replace children',\n payload: update.content.toString()\n });\n }\n break;\n case 'TEXT_CONTENT':\n setTextContent(parentNode, update.content);\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: parentNodeDebugID,\n type: 'replace text',\n payload: update.content.toString()\n });\n }\n break;\n case 'REMOVE_NODE':\n removeChild(parentNode, update.fromNode);\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: parentNodeDebugID,\n type: 'remove child',\n payload: { fromIndex: update.fromIndex }\n });\n }\n break;\n }\n }\n }\n};\n\nmodule.exports = DOMChildrenOperations;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/DOMChildrenOperations.js\n// module id = 56\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/DOMChildrenOperations.js?"); /***/ }), /* 57 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar DOMNamespaces = {\n html: 'https://www.w3.org/1999/xhtml',\n mathml: 'https://www.w3.org/1998/Math/MathML',\n svg: 'https://www.w3.org/2000/svg'\n};\n\nmodule.exports = DOMNamespaces;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/DOMNamespaces.js\n// module id = 57\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/DOMNamespaces.js?"); /***/ }), /* 58 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6);\n\nvar ReactErrorUtils = __webpack_require__(62);\n\nvar invariant = __webpack_require__(3);\nvar warning = __webpack_require__(4);\n\n/**\n * Injected dependencies:\n */\n\n/**\n * - `ComponentTree`: [required] Module that can convert between React instances\n * and actual node references.\n */\nvar ComponentTree;\nvar TreeTraversal;\nvar injection = {\n injectComponentTree: function (Injected) {\n ComponentTree = Injected;\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(Injected && Injected.getNodeFromInstance && Injected.getInstanceFromNode, 'EventPluginUtils.injection.injectComponentTree(...): Injected ' + 'module is missing getNodeFromInstance or getInstanceFromNode.') : void 0;\n }\n },\n injectTreeTraversal: function (Injected) {\n TreeTraversal = Injected;\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(Injected && Injected.isAncestor && Injected.getLowestCommonAncestor, 'EventPluginUtils.injection.injectTreeTraversal(...): Injected ' + 'module is missing isAncestor or getLowestCommonAncestor.') : void 0;\n }\n }\n};\n\nfunction isEndish(topLevelType) {\n return topLevelType === 'topMouseUp' || topLevelType === 'topTouchEnd' || topLevelType === 'topTouchCancel';\n}\n\nfunction isMoveish(topLevelType) {\n return topLevelType === 'topMouseMove' || topLevelType === 'topTouchMove';\n}\nfunction isStartish(topLevelType) {\n return topLevelType === 'topMouseDown' || topLevelType === 'topTouchStart';\n}\n\nvar validateEventDispatches;\nif (process.env.NODE_ENV !== 'production') {\n validateEventDispatches = function (event) {\n var dispatchListeners = event._dispatchListeners;\n var dispatchInstances = event._dispatchInstances;\n\n var listenersIsArr = Array.isArray(dispatchListeners);\n var listenersLen = listenersIsArr ? dispatchListeners.length : dispatchListeners ? 1 : 0;\n\n var instancesIsArr = Array.isArray(dispatchInstances);\n var instancesLen = instancesIsArr ? dispatchInstances.length : dispatchInstances ? 1 : 0;\n\n process.env.NODE_ENV !== 'production' ? warning(instancesIsArr === listenersIsArr && instancesLen === listenersLen, 'EventPluginUtils: Invalid `event`.') : void 0;\n };\n}\n\n/**\n * Dispatch the event to the listener.\n * @param {SyntheticEvent} event SyntheticEvent to handle\n * @param {boolean} simulated If the event is simulated (changes exn behavior)\n * @param {function} listener Application-level callback\n * @param {*} inst Internal component instance\n */\nfunction executeDispatch(event, simulated, listener, inst) {\n var type = event.type || 'unknown-event';\n event.currentTarget = EventPluginUtils.getNodeFromInstance(inst);\n if (simulated) {\n ReactErrorUtils.invokeGuardedCallbackWithCatch(type, listener, event);\n } else {\n ReactErrorUtils.invokeGuardedCallback(type, listener, event);\n }\n event.currentTarget = null;\n}\n\n/**\n * Standard/simple iteration through an event's collected dispatches.\n */\nfunction executeDispatchesInOrder(event, simulated) {\n var dispatchListeners = event._dispatchListeners;\n var dispatchInstances = event._dispatchInstances;\n if (process.env.NODE_ENV !== 'production') {\n validateEventDispatches(event);\n }\n if (Array.isArray(dispatchListeners)) {\n for (var i = 0; i < dispatchListeners.length; i++) {\n if (event.isPropagationStopped()) {\n break;\n }\n // Listeners and Instances are two parallel arrays that are always in sync.\n executeDispatch(event, simulated, dispatchListeners[i], dispatchInstances[i]);\n }\n } else if (dispatchListeners) {\n executeDispatch(event, simulated, dispatchListeners, dispatchInstances);\n }\n event._dispatchListeners = null;\n event._dispatchInstances = null;\n}\n\n/**\n * Standard/simple iteration through an event's collected dispatches, but stops\n * at the first dispatch execution returning true, and returns that id.\n *\n * @return {?string} id of the first dispatch execution who's listener returns\n * true, or null if no listener returned true.\n */\nfunction executeDispatchesInOrderStopAtTrueImpl(event) {\n var dispatchListeners = event._dispatchListeners;\n var dispatchInstances = event._dispatchInstances;\n if (process.env.NODE_ENV !== 'production') {\n validateEventDispatches(event);\n }\n if (Array.isArray(dispatchListeners)) {\n for (var i = 0; i < dispatchListeners.length; i++) {\n if (event.isPropagationStopped()) {\n break;\n }\n // Listeners and Instances are two parallel arrays that are always in sync.\n if (dispatchListeners[i](event, dispatchInstances[i])) {\n return dispatchInstances[i];\n }\n }\n } else if (dispatchListeners) {\n if (dispatchListeners(event, dispatchInstances)) {\n return dispatchInstances;\n }\n }\n return null;\n}\n\n/**\n * @see executeDispatchesInOrderStopAtTrueImpl\n */\nfunction executeDispatchesInOrderStopAtTrue(event) {\n var ret = executeDispatchesInOrderStopAtTrueImpl(event);\n event._dispatchInstances = null;\n event._dispatchListeners = null;\n return ret;\n}\n\n/**\n * Execution of a \"direct\" dispatch - there must be at most one dispatch\n * accumulated on the event or it is considered an error. It doesn't really make\n * sense for an event with multiple dispatches (bubbled) to keep track of the\n * return values at each dispatch execution, but it does tend to make sense when\n * dealing with \"direct\" dispatches.\n *\n * @return {*} The return value of executing the single dispatch.\n */\nfunction executeDirectDispatch(event) {\n if (process.env.NODE_ENV !== 'production') {\n validateEventDispatches(event);\n }\n var dispatchListener = event._dispatchListeners;\n var dispatchInstance = event._dispatchInstances;\n !!Array.isArray(dispatchListener) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'executeDirectDispatch(...): Invalid `event`.') : _prodInvariant('103') : void 0;\n event.currentTarget = dispatchListener ? EventPluginUtils.getNodeFromInstance(dispatchInstance) : null;\n var res = dispatchListener ? dispatchListener(event) : null;\n event.currentTarget = null;\n event._dispatchListeners = null;\n event._dispatchInstances = null;\n return res;\n}\n\n/**\n * @param {SyntheticEvent} event\n * @return {boolean} True iff number of dispatches accumulated is greater than 0.\n */\nfunction hasDispatches(event) {\n return !!event._dispatchListeners;\n}\n\n/**\n * General utilities that are useful in creating custom Event Plugins.\n */\nvar EventPluginUtils = {\n isEndish: isEndish,\n isMoveish: isMoveish,\n isStartish: isStartish,\n\n executeDirectDispatch: executeDirectDispatch,\n executeDispatchesInOrder: executeDispatchesInOrder,\n executeDispatchesInOrderStopAtTrue: executeDispatchesInOrderStopAtTrue,\n hasDispatches: hasDispatches,\n\n getInstanceFromNode: function (node) {\n return ComponentTree.getInstanceFromNode(node);\n },\n getNodeFromInstance: function (node) {\n return ComponentTree.getNodeFromInstance(node);\n },\n isAncestor: function (a, b) {\n return TreeTraversal.isAncestor(a, b);\n },\n getLowestCommonAncestor: function (a, b) {\n return TreeTraversal.getLowestCommonAncestor(a, b);\n },\n getParentInstance: function (inst) {\n return TreeTraversal.getParentInstance(inst);\n },\n traverseTwoPhase: function (target, fn, arg) {\n return TreeTraversal.traverseTwoPhase(target, fn, arg);\n },\n traverseEnterLeave: function (from, to, fn, argFrom, argTo) {\n return TreeTraversal.traverseEnterLeave(from, to, fn, argFrom, argTo);\n },\n\n injection: injection\n};\n\nmodule.exports = EventPluginUtils;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/EventPluginUtils.js\n// module id = 58\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/EventPluginUtils.js?"); /***/ }), /* 59 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\n/**\n * Escape and wrap key so it is safe to use as a reactid\n *\n * @param {string} key to be escaped.\n * @return {string} the escaped key.\n */\n\nfunction escape(key) {\n var escapeRegex = /[=:]/g;\n var escaperLookup = {\n '=': '=0',\n ':': '=2'\n };\n var escapedString = ('' + key).replace(escapeRegex, function (match) {\n return escaperLookup[match];\n });\n\n return '$' + escapedString;\n}\n\n/**\n * Unescape and unwrap key for human-readable display\n *\n * @param {string} key to unescape.\n * @return {string} the unescaped key.\n */\nfunction unescape(key) {\n var unescapeRegex = /(=0|=2)/g;\n var unescaperLookup = {\n '=0': '=',\n '=2': ':'\n };\n var keySubstring = key[0] === '.' && key[1] === '$' ? key.substring(2) : key.substring(1);\n\n return ('' + keySubstring).replace(unescapeRegex, function (match) {\n return unescaperLookup[match];\n });\n}\n\nvar KeyEscapeUtils = {\n escape: escape,\n unescape: unescape\n};\n\nmodule.exports = KeyEscapeUtils;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/KeyEscapeUtils.js\n// module id = 59\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/KeyEscapeUtils.js?"); /***/ }), /* 60 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6);\n\nvar ReactPropTypesSecret = __webpack_require__(102);\nvar propTypesFactory = __webpack_require__(89);\n\nvar React = __webpack_require__(31);\nvar PropTypes = propTypesFactory(React.isValidElement);\n\nvar invariant = __webpack_require__(3);\nvar warning = __webpack_require__(4);\n\nvar hasReadOnlyValue = {\n button: true,\n checkbox: true,\n image: true,\n hidden: true,\n radio: true,\n reset: true,\n submit: true\n};\n\nfunction _assertSingleLink(inputProps) {\n !(inputProps.checkedLink == null || inputProps.valueLink == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Cannot provide a checkedLink and a valueLink. If you want to use checkedLink, you probably don\\'t want to use valueLink and vice versa.') : _prodInvariant('87') : void 0;\n}\nfunction _assertValueLink(inputProps) {\n _assertSingleLink(inputProps);\n !(inputProps.value == null && inputProps.onChange == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Cannot provide a valueLink and a value or onChange event. If you want to use value or onChange, you probably don\\'t want to use valueLink.') : _prodInvariant('88') : void 0;\n}\n\nfunction _assertCheckedLink(inputProps) {\n _assertSingleLink(inputProps);\n !(inputProps.checked == null && inputProps.onChange == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Cannot provide a checkedLink and a checked property or onChange event. If you want to use checked or onChange, you probably don\\'t want to use checkedLink') : _prodInvariant('89') : void 0;\n}\n\nvar propTypes = {\n value: function (props, propName, componentName) {\n if (!props[propName] || hasReadOnlyValue[props.type] || props.onChange || props.readOnly || props.disabled) {\n return null;\n }\n return new Error('You provided a `value` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultValue`. Otherwise, ' + 'set either `onChange` or `readOnly`.');\n },\n checked: function (props, propName, componentName) {\n if (!props[propName] || props.onChange || props.readOnly || props.disabled) {\n return null;\n }\n return new Error('You provided a `checked` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultChecked`. Otherwise, ' + 'set either `onChange` or `readOnly`.');\n },\n onChange: PropTypes.func\n};\n\nvar loggedTypeFailures = {};\nfunction getDeclarationErrorAddendum(owner) {\n if (owner) {\n var name = owner.getName();\n if (name) {\n return ' Check the render method of `' + name + '`.';\n }\n }\n return '';\n}\n\n/**\n * Provide a linked `value` attribute for controlled forms. You should not use\n * this outside of the ReactDOM controlled form components.\n */\nvar LinkedValueUtils = {\n checkPropTypes: function (tagName, props, owner) {\n for (var propName in propTypes) {\n if (propTypes.hasOwnProperty(propName)) {\n var error = propTypes[propName](props, propName, tagName, 'prop', null, ReactPropTypesSecret);\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var addendum = getDeclarationErrorAddendum(owner);\n process.env.NODE_ENV !== 'production' ? warning(false, 'Failed form propType: %s%s', error.message, addendum) : void 0;\n }\n }\n },\n\n /**\n * @param {object} inputProps Props for form component\n * @return {*} current value of the input either from value prop or link.\n */\n getValue: function (inputProps) {\n if (inputProps.valueLink) {\n _assertValueLink(inputProps);\n return inputProps.valueLink.value;\n }\n return inputProps.value;\n },\n\n /**\n * @param {object} inputProps Props for form component\n * @return {*} current checked status of the input either from checked prop\n * or link.\n */\n getChecked: function (inputProps) {\n if (inputProps.checkedLink) {\n _assertCheckedLink(inputProps);\n return inputProps.checkedLink.value;\n }\n return inputProps.checked;\n },\n\n /**\n * @param {object} inputProps Props for form component\n * @param {SyntheticEvent} event change event to handle\n */\n executeOnChange: function (inputProps, event) {\n if (inputProps.valueLink) {\n _assertValueLink(inputProps);\n return inputProps.valueLink.requestChange(event.target.value);\n } else if (inputProps.checkedLink) {\n _assertCheckedLink(inputProps);\n return inputProps.checkedLink.requestChange(event.target.checked);\n } else if (inputProps.onChange) {\n return inputProps.onChange.call(undefined, event);\n }\n }\n};\n\nmodule.exports = LinkedValueUtils;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/LinkedValueUtils.js\n// module id = 60\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/LinkedValueUtils.js?"); /***/ }), /* 61 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6);\n\nvar invariant = __webpack_require__(3);\n\nvar injected = false;\n\nvar ReactComponentEnvironment = {\n /**\n * Optionally injectable hook for swapping out mount images in the middle of\n * the tree.\n */\n replaceNodeWithMarkup: null,\n\n /**\n * Optionally injectable hook for processing a queue of child updates. Will\n * later move into MultiChildComponents.\n */\n processChildrenUpdates: null,\n\n injection: {\n injectEnvironment: function (environment) {\n !!injected ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactCompositeComponent: injectEnvironment() can only be called once.') : _prodInvariant('104') : void 0;\n ReactComponentEnvironment.replaceNodeWithMarkup = environment.replaceNodeWithMarkup;\n ReactComponentEnvironment.processChildrenUpdates = environment.processChildrenUpdates;\n injected = true;\n }\n }\n};\n\nmodule.exports = ReactComponentEnvironment;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactComponentEnvironment.js\n// module id = 61\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactComponentEnvironment.js?"); /***/ }), /* 62 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar caughtError = null;\n\n/**\n * Call a function while guarding against errors that happens within it.\n *\n * @param {String} name of the guard to use for logging or debugging\n * @param {Function} func The function to invoke\n * @param {*} a First argument\n * @param {*} b Second argument\n */\nfunction invokeGuardedCallback(name, func, a) {\n try {\n func(a);\n } catch (x) {\n if (caughtError === null) {\n caughtError = x;\n }\n }\n}\n\nvar ReactErrorUtils = {\n invokeGuardedCallback: invokeGuardedCallback,\n\n /**\n * Invoked by ReactTestUtils.Simulate so that any errors thrown by the event\n * handler are sure to be rethrown by rethrowCaughtError.\n */\n invokeGuardedCallbackWithCatch: invokeGuardedCallback,\n\n /**\n * During execution of guarded functions we will capture the first error which\n * we will rethrow to be handled by the top level error handler.\n */\n rethrowCaughtError: function () {\n if (caughtError) {\n var error = caughtError;\n caughtError = null;\n throw error;\n }\n }\n};\n\nif (process.env.NODE_ENV !== 'production') {\n /**\n * To help development we can get better devtools integration by simulating a\n * real browser event.\n */\n if (typeof window !== 'undefined' && typeof window.dispatchEvent === 'function' && typeof document !== 'undefined' && typeof document.createEvent === 'function') {\n var fakeNode = document.createElement('react');\n ReactErrorUtils.invokeGuardedCallback = function (name, func, a) {\n var boundFunc = function () {\n func(a);\n };\n var evtType = 'react-' + name;\n fakeNode.addEventListener(evtType, boundFunc, false);\n var evt = document.createEvent('Event');\n evt.initEvent(evtType, false, false);\n fakeNode.dispatchEvent(evt);\n fakeNode.removeEventListener(evtType, boundFunc, false);\n };\n }\n}\n\nmodule.exports = ReactErrorUtils;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactErrorUtils.js\n// module id = 62\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactErrorUtils.js?"); /***/ }), /* 63 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6);\n\nvar ReactCurrentOwner = __webpack_require__(17);\nvar ReactInstanceMap = __webpack_require__(37);\nvar ReactInstrumentation = __webpack_require__(15);\nvar ReactUpdates = __webpack_require__(16);\n\nvar invariant = __webpack_require__(3);\nvar warning = __webpack_require__(4);\n\nfunction enqueueUpdate(internalInstance) {\n ReactUpdates.enqueueUpdate(internalInstance);\n}\n\nfunction formatUnexpectedArgument(arg) {\n var type = typeof arg;\n if (type !== 'object') {\n return type;\n }\n var displayName = arg.constructor && arg.constructor.name || type;\n var keys = Object.keys(arg);\n if (keys.length > 0 && keys.length < 20) {\n return displayName + ' (keys: ' + keys.join(', ') + ')';\n }\n return displayName;\n}\n\nfunction getInternalInstanceReadyForUpdate(publicInstance, callerName) {\n var internalInstance = ReactInstanceMap.get(publicInstance);\n if (!internalInstance) {\n if (process.env.NODE_ENV !== 'production') {\n var ctor = publicInstance.constructor;\n // Only warn when we have a callerName. Otherwise we should be silent.\n // We're probably calling from enqueueCallback. We don't want to warn\n // there because we already warned for the corresponding lifecycle method.\n process.env.NODE_ENV !== 'production' ? warning(!callerName, '%s(...): Can only update a mounted or mounting component. ' + 'This usually means you called %s() on an unmounted component. ' + 'This is a no-op. Please check the code for the %s component.', callerName, callerName, ctor && (ctor.displayName || ctor.name) || 'ReactClass') : void 0;\n }\n return null;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(ReactCurrentOwner.current == null, '%s(...): Cannot update during an existing state transition (such as ' + \"within `render` or another component's constructor). Render methods \" + 'should be a pure function of props and state; constructor ' + 'side-effects are an anti-pattern, but can be moved to ' + '`componentWillMount`.', callerName) : void 0;\n }\n\n return internalInstance;\n}\n\n/**\n * ReactUpdateQueue allows for state updates to be scheduled into a later\n * reconciliation step.\n */\nvar ReactUpdateQueue = {\n /**\n * Checks whether or not this composite component is mounted.\n * @param {ReactClass} publicInstance The instance we want to test.\n * @return {boolean} True if mounted, false otherwise.\n * @protected\n * @final\n */\n isMounted: function (publicInstance) {\n if (process.env.NODE_ENV !== 'production') {\n var owner = ReactCurrentOwner.current;\n if (owner !== null) {\n process.env.NODE_ENV !== 'production' ? warning(owner._warnedAboutRefsInRender, '%s is accessing isMounted inside its render() function. ' + 'render() should be a pure function of props and state. It should ' + 'never access something that requires stale data from the previous ' + 'render, such as refs. Move this logic to componentDidMount and ' + 'componentDidUpdate instead.', owner.getName() || 'A component') : void 0;\n owner._warnedAboutRefsInRender = true;\n }\n }\n var internalInstance = ReactInstanceMap.get(publicInstance);\n if (internalInstance) {\n // During componentWillMount and render this will still be null but after\n // that will always render to something. At least for now. So we can use\n // this hack.\n return !!internalInstance._renderedComponent;\n } else {\n return false;\n }\n },\n\n /**\n * Enqueue a callback that will be executed after all the pending updates\n * have processed.\n *\n * @param {ReactClass} publicInstance The instance to use as `this` context.\n * @param {?function} callback Called after state is updated.\n * @param {string} callerName Name of the calling function in the public API.\n * @internal\n */\n enqueueCallback: function (publicInstance, callback, callerName) {\n ReactUpdateQueue.validateCallback(callback, callerName);\n var internalInstance = getInternalInstanceReadyForUpdate(publicInstance);\n\n // Previously we would throw an error if we didn't have an internal\n // instance. Since we want to make it a no-op instead, we mirror the same\n // behavior we have in other enqueue* methods.\n // We also need to ignore callbacks in componentWillMount. See\n // enqueueUpdates.\n if (!internalInstance) {\n return null;\n }\n\n if (internalInstance._pendingCallbacks) {\n internalInstance._pendingCallbacks.push(callback);\n } else {\n internalInstance._pendingCallbacks = [callback];\n }\n // TODO: The callback here is ignored when setState is called from\n // componentWillMount. Either fix it or disallow doing so completely in\n // favor of getInitialState. Alternatively, we can disallow\n // componentWillMount during server-side rendering.\n enqueueUpdate(internalInstance);\n },\n\n enqueueCallbackInternal: function (internalInstance, callback) {\n if (internalInstance._pendingCallbacks) {\n internalInstance._pendingCallbacks.push(callback);\n } else {\n internalInstance._pendingCallbacks = [callback];\n }\n enqueueUpdate(internalInstance);\n },\n\n /**\n * Forces an update. This should only be invoked when it is known with\n * certainty that we are **not** in a DOM transaction.\n *\n * You may want to call this when you know that some deeper aspect of the\n * component's state has changed but `setState` was not called.\n *\n * This will not invoke `shouldComponentUpdate`, but it will invoke\n * `componentWillUpdate` and `componentDidUpdate`.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @internal\n */\n enqueueForceUpdate: function (publicInstance) {\n var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'forceUpdate');\n\n if (!internalInstance) {\n return;\n }\n\n internalInstance._pendingForceUpdate = true;\n\n enqueueUpdate(internalInstance);\n },\n\n /**\n * Replaces all of the state. Always use this or `setState` to mutate state.\n * You should treat `this.state` as immutable.\n *\n * There is no guarantee that `this.state` will be immediately updated, so\n * accessing `this.state` after calling this method may return the old value.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} completeState Next state.\n * @internal\n */\n enqueueReplaceState: function (publicInstance, completeState, callback) {\n var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'replaceState');\n\n if (!internalInstance) {\n return;\n }\n\n internalInstance._pendingStateQueue = [completeState];\n internalInstance._pendingReplaceState = true;\n\n // Future-proof 15.5\n if (callback !== undefined && callback !== null) {\n ReactUpdateQueue.validateCallback(callback, 'replaceState');\n if (internalInstance._pendingCallbacks) {\n internalInstance._pendingCallbacks.push(callback);\n } else {\n internalInstance._pendingCallbacks = [callback];\n }\n }\n\n enqueueUpdate(internalInstance);\n },\n\n /**\n * Sets a subset of the state. This only exists because _pendingState is\n * internal. This provides a merging strategy that is not available to deep\n * properties which is confusing. TODO: Expose pendingState or don't use it\n * during the merge.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} partialState Next partial state to be merged with state.\n * @internal\n */\n enqueueSetState: function (publicInstance, partialState) {\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onSetState();\n process.env.NODE_ENV !== 'production' ? warning(partialState != null, 'setState(...): You passed an undefined or null state object; ' + 'instead, use forceUpdate().') : void 0;\n }\n\n var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'setState');\n\n if (!internalInstance) {\n return;\n }\n\n var queue = internalInstance._pendingStateQueue || (internalInstance._pendingStateQueue = []);\n queue.push(partialState);\n\n enqueueUpdate(internalInstance);\n },\n\n enqueueElementInternal: function (internalInstance, nextElement, nextContext) {\n internalInstance._pendingElement = nextElement;\n // TODO: introduce _pendingContext instead of setting it directly.\n internalInstance._context = nextContext;\n enqueueUpdate(internalInstance);\n },\n\n validateCallback: function (callback, callerName) {\n !(!callback || typeof callback === 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.', callerName, formatUnexpectedArgument(callback)) : _prodInvariant('122', callerName, formatUnexpectedArgument(callback)) : void 0;\n }\n};\n\nmodule.exports = ReactUpdateQueue;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactUpdateQueue.js\n// module id = 63\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactUpdateQueue.js?"); /***/ }), /* 64 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n/* globals MSApp */\n\n'use strict';\n\n/**\n * Create a function which has 'unsafe' privileges (required by windows8 apps)\n */\n\nvar createMicrosoftUnsafeLocalFunction = function (func) {\n if (typeof MSApp !== 'undefined' && MSApp.execUnsafeLocalFunction) {\n return function (arg0, arg1, arg2, arg3) {\n MSApp.execUnsafeLocalFunction(function () {\n return func(arg0, arg1, arg2, arg3);\n });\n };\n } else {\n return func;\n }\n};\n\nmodule.exports = createMicrosoftUnsafeLocalFunction;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/createMicrosoftUnsafeLocalFunction.js\n// module id = 64\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/createMicrosoftUnsafeLocalFunction.js?"); /***/ }), /* 65 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\n/**\n * `charCode` represents the actual \"character code\" and is safe to use with\n * `String.fromCharCode`. As such, only keys that correspond to printable\n * characters produce a valid `charCode`, the only exception to this is Enter.\n * The Tab-key is considered non-printable and does not have a `charCode`,\n * presumably because it does not produce a tab-character in browsers.\n *\n * @param {object} nativeEvent Native browser event.\n * @return {number} Normalized `charCode` property.\n */\n\nfunction getEventCharCode(nativeEvent) {\n var charCode;\n var keyCode = nativeEvent.keyCode;\n\n if ('charCode' in nativeEvent) {\n charCode = nativeEvent.charCode;\n\n // FF does not set `charCode` for the Enter-key, check against `keyCode`.\n if (charCode === 0 && keyCode === 13) {\n charCode = 13;\n }\n } else {\n // IE8 does not implement `charCode`, but `keyCode` has the correct value.\n charCode = keyCode;\n }\n\n // Some non-printable keys are reported in `charCode`/`keyCode`, discard them.\n // Must not discard the (non-)printable Enter-key.\n if (charCode >= 32 || charCode === 13) {\n return charCode;\n }\n\n return 0;\n}\n\nmodule.exports = getEventCharCode;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/getEventCharCode.js\n// module id = 65\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/getEventCharCode.js?"); /***/ }), /* 66 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\n/**\n * Translation from modifier key to the associated property in the event.\n * @see https://www.w3.org/TR/DOM-Level-3-Events/#keys-Modifiers\n */\n\nvar modifierKeyToProp = {\n Alt: 'altKey',\n Control: 'ctrlKey',\n Meta: 'metaKey',\n Shift: 'shiftKey'\n};\n\n// IE8 does not implement getModifierState so we simply map it to the only\n// modifier keys exposed by the event itself, does not support Lock-keys.\n// Currently, all major browsers except Chrome seems to support Lock-keys.\nfunction modifierStateGetter(keyArg) {\n var syntheticEvent = this;\n var nativeEvent = syntheticEvent.nativeEvent;\n if (nativeEvent.getModifierState) {\n return nativeEvent.getModifierState(keyArg);\n }\n var keyProp = modifierKeyToProp[keyArg];\n return keyProp ? !!nativeEvent[keyProp] : false;\n}\n\nfunction getEventModifierState(nativeEvent) {\n return modifierStateGetter;\n}\n\nmodule.exports = getEventModifierState;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/getEventModifierState.js\n// module id = 66\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/getEventModifierState.js?"); /***/ }), /* 67 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\n/**\n * Gets the target node from a native browser event by accounting for\n * inconsistencies in browser DOM APIs.\n *\n * @param {object} nativeEvent Native browser event.\n * @return {DOMEventTarget} Target node.\n */\n\nfunction getEventTarget(nativeEvent) {\n var target = nativeEvent.target || nativeEvent.srcElement || window;\n\n // Normalize SVG element events #4963\n if (target.correspondingUseElement) {\n target = target.correspondingUseElement;\n }\n\n // Safari may fire events on text nodes (Node.TEXT_NODE is 3).\n // @see https://www.quirksmode.org/js/events_properties.html\n return target.nodeType === 3 ? target.parentNode : target;\n}\n\nmodule.exports = getEventTarget;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/getEventTarget.js\n// module id = 67\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/getEventTarget.js?"); /***/ }), /* 68 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar ExecutionEnvironment = __webpack_require__(9);\n\nvar useHasFeature;\nif (ExecutionEnvironment.canUseDOM) {\n useHasFeature = document.implementation && document.implementation.hasFeature &&\n // always returns true in newer browsers as per the standard.\n // @see https://dom.spec.whatwg.org/#dom-domimplementation-hasfeature\n document.implementation.hasFeature('', '') !== true;\n}\n\n/**\n * Checks if an event is supported in the current execution environment.\n *\n * NOTE: This will not work correctly for non-generic events such as `change`,\n * `reset`, `load`, `error`, and `select`.\n *\n * Borrows from Modernizr.\n *\n * @param {string} eventNameSuffix Event name, e.g. \"click\".\n * @param {?boolean} capture Check if the capture phase is supported.\n * @return {boolean} True if the event is supported.\n * @internal\n * @license Modernizr 3.0.0pre (Custom Build) | MIT\n */\nfunction isEventSupported(eventNameSuffix, capture) {\n if (!ExecutionEnvironment.canUseDOM || capture && !('addEventListener' in document)) {\n return false;\n }\n\n var eventName = 'on' + eventNameSuffix;\n var isSupported = eventName in document;\n\n if (!isSupported) {\n var element = document.createElement('div');\n element.setAttribute(eventName, 'return;');\n isSupported = typeof element[eventName] === 'function';\n }\n\n if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {\n // This is the only way to test support for the `wheel` event in IE9+.\n isSupported = document.implementation.hasFeature('Events.wheel', '3.0');\n }\n\n return isSupported;\n}\n\nmodule.exports = isEventSupported;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/isEventSupported.js\n// module id = 68\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/isEventSupported.js?"); /***/ }), /* 69 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\n/**\n * Given a `prevElement` and `nextElement`, determines if the existing\n * instance should be updated as opposed to being destroyed or replaced by a new\n * instance. Both arguments are elements. This ensures that this logic can\n * operate on stateless trees without any backing instance.\n *\n * @param {?object} prevElement\n * @param {?object} nextElement\n * @return {boolean} True if the existing instance should be updated.\n * @protected\n */\n\nfunction shouldUpdateReactComponent(prevElement, nextElement) {\n var prevEmpty = prevElement === null || prevElement === false;\n var nextEmpty = nextElement === null || nextElement === false;\n if (prevEmpty || nextEmpty) {\n return prevEmpty === nextEmpty;\n }\n\n var prevType = typeof prevElement;\n var nextType = typeof nextElement;\n if (prevType === 'string' || prevType === 'number') {\n return nextType === 'string' || nextType === 'number';\n } else {\n return nextType === 'object' && prevElement.type === nextElement.type && prevElement.key === nextElement.key;\n }\n}\n\nmodule.exports = shouldUpdateReactComponent;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/shouldUpdateReactComponent.js\n// module id = 69\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/shouldUpdateReactComponent.js?"); /***/ }), /* 70 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _assign = __webpack_require__(8);\n\nvar emptyFunction = __webpack_require__(14);\nvar warning = __webpack_require__(4);\n\nvar validateDOMNesting = emptyFunction;\n\nif (process.env.NODE_ENV !== 'production') {\n // This validation code was written based on the HTML5 parsing spec:\n // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope\n //\n // Note: this does not catch all invalid nesting, nor does it try to (as it's\n // not clear what practical benefit doing so provides); instead, we warn only\n // for cases where the parser will give a parse tree differing from what React\n // intended. For example,
is invalid but we don't warn\n // because it still parses correctly; we do warn for other cases like nested\n //

tags where the beginning of the second element implicitly closes the\n // first, causing a confusing mess.\n\n // https://html.spec.whatwg.org/multipage/syntax.html#special\n var specialTags = ['address', 'applet', 'area', 'article', 'aside', 'base', 'basefont', 'bgsound', 'blockquote', 'body', 'br', 'button', 'caption', 'center', 'col', 'colgroup', 'dd', 'details', 'dir', 'div', 'dl', 'dt', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'frame', 'frameset', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'iframe', 'img', 'input', 'isindex', 'li', 'link', 'listing', 'main', 'marquee', 'menu', 'menuitem', 'meta', 'nav', 'noembed', 'noframes', 'noscript', 'object', 'ol', 'p', 'param', 'plaintext', 'pre', 'script', 'section', 'select', 'source', 'style', 'summary', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'title', 'tr', 'track', 'ul', 'wbr', 'xmp'];\n\n // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope\n var inScopeTags = ['applet', 'caption', 'html', 'table', 'td', 'th', 'marquee', 'object', 'template',\n\n // https://html.spec.whatwg.org/multipage/syntax.html#html-integration-point\n // TODO: Distinguish by namespace here -- for , including it here\n // errs on the side of fewer warnings\n 'foreignObject', 'desc', 'title'];\n\n // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-button-scope\n var buttonScopeTags = inScopeTags.concat(['button']);\n\n // https://html.spec.whatwg.org/multipage/syntax.html#generate-implied-end-tags\n var impliedEndTags = ['dd', 'dt', 'li', 'option', 'optgroup', 'p', 'rp', 'rt'];\n\n var emptyAncestorInfo = {\n current: null,\n\n formTag: null,\n aTagInScope: null,\n buttonTagInScope: null,\n nobrTagInScope: null,\n pTagInButtonScope: null,\n\n listItemTagAutoclosing: null,\n dlItemTagAutoclosing: null\n };\n\n var updatedAncestorInfo = function (oldInfo, tag, instance) {\n var ancestorInfo = _assign({}, oldInfo || emptyAncestorInfo);\n var info = { tag: tag, instance: instance };\n\n if (inScopeTags.indexOf(tag) !== -1) {\n ancestorInfo.aTagInScope = null;\n ancestorInfo.buttonTagInScope = null;\n ancestorInfo.nobrTagInScope = null;\n }\n if (buttonScopeTags.indexOf(tag) !== -1) {\n ancestorInfo.pTagInButtonScope = null;\n }\n\n // See rules for 'li', 'dd', 'dt' start tags in\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody\n if (specialTags.indexOf(tag) !== -1 && tag !== 'address' && tag !== 'div' && tag !== 'p') {\n ancestorInfo.listItemTagAutoclosing = null;\n ancestorInfo.dlItemTagAutoclosing = null;\n }\n\n ancestorInfo.current = info;\n\n if (tag === 'form') {\n ancestorInfo.formTag = info;\n }\n if (tag === 'a') {\n ancestorInfo.aTagInScope = info;\n }\n if (tag === 'button') {\n ancestorInfo.buttonTagInScope = info;\n }\n if (tag === 'nobr') {\n ancestorInfo.nobrTagInScope = info;\n }\n if (tag === 'p') {\n ancestorInfo.pTagInButtonScope = info;\n }\n if (tag === 'li') {\n ancestorInfo.listItemTagAutoclosing = info;\n }\n if (tag === 'dd' || tag === 'dt') {\n ancestorInfo.dlItemTagAutoclosing = info;\n }\n\n return ancestorInfo;\n };\n\n /**\n * Returns whether\n */\n var isTagValidWithParent = function (tag, parentTag) {\n // First, let's check if we're in an unusual parsing mode...\n switch (parentTag) {\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inselect\n case 'select':\n return tag === 'option' || tag === 'optgroup' || tag === '#text';\n case 'optgroup':\n return tag === 'option' || tag === '#text';\n // Strictly speaking, seeing an <option> doesn't mean we're in a <select>\n // but\n case 'option':\n return tag === '#text';\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intd\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incaption\n // No special behavior since these rules fall back to \"in body\" mode for\n // all except special table nodes which cause bad parsing behavior anyway.\n\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intr\n case 'tr':\n return tag === 'th' || tag === 'td' || tag === 'style' || tag === 'script' || tag === 'template';\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intbody\n case 'tbody':\n case 'thead':\n case 'tfoot':\n return tag === 'tr' || tag === 'style' || tag === 'script' || tag === 'template';\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incolgroup\n case 'colgroup':\n return tag === 'col' || tag === 'template';\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intable\n case 'table':\n return tag === 'caption' || tag === 'colgroup' || tag === 'tbody' || tag === 'tfoot' || tag === 'thead' || tag === 'style' || tag === 'script' || tag === 'template';\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inhead\n case 'head':\n return tag === 'base' || tag === 'basefont' || tag === 'bgsound' || tag === 'link' || tag === 'meta' || tag === 'title' || tag === 'noscript' || tag === 'noframes' || tag === 'style' || tag === 'script' || tag === 'template';\n // https://html.spec.whatwg.org/multipage/semantics.html#the-html-element\n case 'html':\n return tag === 'head' || tag === 'body';\n case '#document':\n return tag === 'html';\n }\n\n // Probably in the \"in body\" parsing mode, so we outlaw only tag combos\n // where the parsing rules cause implicit opens or closes to be added.\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody\n switch (tag) {\n case 'h1':\n case 'h2':\n case 'h3':\n case 'h4':\n case 'h5':\n case 'h6':\n return parentTag !== 'h1' && parentTag !== 'h2' && parentTag !== 'h3' && parentTag !== 'h4' && parentTag !== 'h5' && parentTag !== 'h6';\n\n case 'rp':\n case 'rt':\n return impliedEndTags.indexOf(parentTag) === -1;\n\n case 'body':\n case 'caption':\n case 'col':\n case 'colgroup':\n case 'frame':\n case 'head':\n case 'html':\n case 'tbody':\n case 'td':\n case 'tfoot':\n case 'th':\n case 'thead':\n case 'tr':\n // These tags are only valid with a few parents that have special child\n // parsing rules -- if we're down here, then none of those matched and\n // so we allow it only if we don't know what the parent is, as all other\n // cases are invalid.\n return parentTag == null;\n }\n\n return true;\n };\n\n /**\n * Returns whether\n */\n var findInvalidAncestorForTag = function (tag, ancestorInfo) {\n switch (tag) {\n case 'address':\n case 'article':\n case 'aside':\n case 'blockquote':\n case 'center':\n case 'details':\n case 'dialog':\n case 'dir':\n case 'div':\n case 'dl':\n case 'fieldset':\n case 'figcaption':\n case 'figure':\n case 'footer':\n case 'header':\n case 'hgroup':\n case 'main':\n case 'menu':\n case 'nav':\n case 'ol':\n case 'p':\n case 'section':\n case 'summary':\n case 'ul':\n case 'pre':\n case 'listing':\n case 'table':\n case 'hr':\n case 'xmp':\n case 'h1':\n case 'h2':\n case 'h3':\n case 'h4':\n case 'h5':\n case 'h6':\n return ancestorInfo.pTagInButtonScope;\n\n case 'form':\n return ancestorInfo.formTag || ancestorInfo.pTagInButtonScope;\n\n case 'li':\n return ancestorInfo.listItemTagAutoclosing;\n\n case 'dd':\n case 'dt':\n return ancestorInfo.dlItemTagAutoclosing;\n\n case 'button':\n return ancestorInfo.buttonTagInScope;\n\n case 'a':\n // Spec says something about storing a list of markers, but it sounds\n // equivalent to this check.\n return ancestorInfo.aTagInScope;\n\n case 'nobr':\n return ancestorInfo.nobrTagInScope;\n }\n\n return null;\n };\n\n /**\n * Given a ReactCompositeComponent instance, return a list of its recursive\n * owners, starting at the root and ending with the instance itself.\n */\n var findOwnerStack = function (instance) {\n if (!instance) {\n return [];\n }\n\n var stack = [];\n do {\n stack.push(instance);\n } while (instance = instance._currentElement._owner);\n stack.reverse();\n return stack;\n };\n\n var didWarn = {};\n\n validateDOMNesting = function (childTag, childText, childInstance, ancestorInfo) {\n ancestorInfo = ancestorInfo || emptyAncestorInfo;\n var parentInfo = ancestorInfo.current;\n var parentTag = parentInfo && parentInfo.tag;\n\n if (childText != null) {\n process.env.NODE_ENV !== 'production' ? warning(childTag == null, 'validateDOMNesting: when childText is passed, childTag should be null') : void 0;\n childTag = '#text';\n }\n\n var invalidParent = isTagValidWithParent(childTag, parentTag) ? null : parentInfo;\n var invalidAncestor = invalidParent ? null : findInvalidAncestorForTag(childTag, ancestorInfo);\n var problematic = invalidParent || invalidAncestor;\n\n if (problematic) {\n var ancestorTag = problematic.tag;\n var ancestorInstance = problematic.instance;\n\n var childOwner = childInstance && childInstance._currentElement._owner;\n var ancestorOwner = ancestorInstance && ancestorInstance._currentElement._owner;\n\n var childOwners = findOwnerStack(childOwner);\n var ancestorOwners = findOwnerStack(ancestorOwner);\n\n var minStackLen = Math.min(childOwners.length, ancestorOwners.length);\n var i;\n\n var deepestCommon = -1;\n for (i = 0; i < minStackLen; i++) {\n if (childOwners[i] === ancestorOwners[i]) {\n deepestCommon = i;\n } else {\n break;\n }\n }\n\n var UNKNOWN = '(unknown)';\n var childOwnerNames = childOwners.slice(deepestCommon + 1).map(function (inst) {\n return inst.getName() || UNKNOWN;\n });\n var ancestorOwnerNames = ancestorOwners.slice(deepestCommon + 1).map(function (inst) {\n return inst.getName() || UNKNOWN;\n });\n var ownerInfo = [].concat(\n // If the parent and child instances have a common owner ancestor, start\n // with that -- otherwise we just start with the parent's owners.\n deepestCommon !== -1 ? childOwners[deepestCommon].getName() || UNKNOWN : [], ancestorOwnerNames, ancestorTag,\n // If we're warning about an invalid (non-parent) ancestry, add '...'\n invalidAncestor ? ['...'] : [], childOwnerNames, childTag).join(' > ');\n\n var warnKey = !!invalidParent + '|' + childTag + '|' + ancestorTag + '|' + ownerInfo;\n if (didWarn[warnKey]) {\n return;\n }\n didWarn[warnKey] = true;\n\n var tagDisplayName = childTag;\n var whitespaceInfo = '';\n if (childTag === '#text') {\n if (/\\S/.test(childText)) {\n tagDisplayName = 'Text nodes';\n } else {\n tagDisplayName = 'Whitespace text nodes';\n whitespaceInfo = \" Make sure you don't have any extra whitespace between tags on \" + 'each line of your source code.';\n }\n } else {\n tagDisplayName = '<' + childTag + '>';\n }\n\n if (invalidParent) {\n var info = '';\n if (ancestorTag === 'table' && childTag === 'tr') {\n info += ' Add a <tbody> to your code to match the DOM tree generated by ' + 'the browser.';\n }\n process.env.NODE_ENV !== 'production' ? warning(false, 'validateDOMNesting(...): %s cannot appear as a child of <%s>.%s ' + 'See %s.%s', tagDisplayName, ancestorTag, whitespaceInfo, ownerInfo, info) : void 0;\n } else {\n process.env.NODE_ENV !== 'production' ? warning(false, 'validateDOMNesting(...): %s cannot appear as a descendant of ' + '<%s>. See %s.', tagDisplayName, ancestorTag, ownerInfo) : void 0;\n }\n }\n };\n\n validateDOMNesting.updatedAncestorInfo = updatedAncestorInfo;\n\n // For testing\n validateDOMNesting.isTagValidInContext = function (tag, ancestorInfo) {\n ancestorInfo = ancestorInfo || emptyAncestorInfo;\n var parentInfo = ancestorInfo.current;\n var parentTag = parentInfo && parentInfo.tag;\n return isTagValidWithParent(tag, parentTag) && !findInvalidAncestorForTag(tag, ancestorInfo);\n };\n}\n\nmodule.exports = validateDOMNesting;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/validateDOMNesting.js\n// module id = 70\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/validateDOMNesting.js?"); /***/ }), /* 71 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\n/**\n * Forked from fbjs/warning:\n * https://github.com/facebook/fbjs/blob/e66ba20ad5be433eb54423f2b097d829324d9de6/packages/fbjs/src/__forks__/warning.js\n *\n * Only change is we use console.warn instead of console.error,\n * and do nothing when 'console' is not supported.\n * This really simplifies the code.\n * ---\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\nvar lowPriorityWarning = function () {};\n\nif (process.env.NODE_ENV !== 'production') {\n var printWarning = function (format) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var argIndex = 0;\n var message = 'Warning: ' + format.replace(/%s/g, function () {\n return args[argIndex++];\n });\n if (typeof console !== 'undefined') {\n console.warn(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n\n lowPriorityWarning = function (condition, format) {\n if (format === undefined) {\n throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');\n }\n if (!condition) {\n for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n args[_key2 - 2] = arguments[_key2];\n }\n\n printWarning.apply(undefined, [format].concat(args));\n }\n };\n}\n\nmodule.exports = lowPriorityWarning;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/lowPriorityWarning.js\n// module id = 71\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/lowPriorityWarning.js?"); /***/ }), /* 72 */ /***/ (function(module, exports) { eval("/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/~/object-assign/index.js\n// module id = 72\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/~/object-assign/index.js?"); /***/ }), /* 73 */ /***/ (function(module, exports, __webpack_require__) { eval("\"use strict\";\n\n// Modules\nvar assign = __webpack_require__(264);\nvar EventEmitter = __webpack_require__(275).EventEmitter;\n\n// Dispatcher\nvar AppDispatcher = __webpack_require__(311);\n\n// Models\nvar EmailMessage = __webpack_require__(365);\nvar Submission = __webpack_require__(366);\nvar SubmissionResult = __webpack_require__(312);\nvar BusinessSettingsSubmission = __webpack_require__(133);\nvar BusinessSettingsSubmissionResult = __webpack_require__(134);\nvar Validation = __webpack_require__(367);\nvar BusinessSettingsValidation = __webpack_require__(135);\nvar BusinessSettingsMemberValidation = __webpack_require__(682);\nvar BusinessSettingsCustomDealerItemValidation = __webpack_require__(681);\n\n// Utils/Helpers\nvar Constants = __webpack_require__(270);\nvar Helpers = __webpack_require__(21);\nvar UiHelpers = __webpack_require__(259);\n\n// Variables\nvar CHANGE_EVENT = \"change\";\n\nvar _configuratorModel = false;\nvar _calculatorModel = false;\nvar _businessSettingsModel = false;\nvar _dealers = [];\nvar _emailMessage = new EmailMessage();\nvar _calculatorDealers = [];\nvar _phonePrefixes = [];\nvar _lastActionReceived = \"\";\nvar _lastQuoteEmailed = -1;\nvar _submission = new Submission({\n engine: false,\n freight: false\n});\nvar _businessSettingsSubmission = new BusinessSettingsSubmission({\n addressInfo: false,\n contactInfo: false,\n financialInfo: false\n});\nvar _maximumStep = 0;\nvar _quotesModel = false;\nvar _validation = new Validation();\nvar _businessSettingsValidation = new BusinessSettingsValidation();\nvar _isSubmitting = false;\nvar _emailSubmissionResult = new SubmissionResult({\n isSuccess: false\n});\nvar _submissionResult = new SubmissionResult({\n isSuccess: false\n});\nvar _businessSettingsSubmissionResult = new BusinessSettingsSubmissionResult({\n isSuccess: false\n});\nvar _dealerItems = [];\nvar _deleteQuoteVersionResult = false;\nvar _validateCalculatorFields = false;\n//Keep track of member id for which we're updating profile picture\nvar _profilePictureSubmittedForMember = false;\n//Result of profile picture upload\nvar _submitProfilePictureResult = false;\nvar _lastAddedItemId = 0;\nvar _lastAddedMemberId = 0;\nvar _showFeedbackPopup = false;\nvar _showValidationErrorPopup = false;\n// ui display logic for some steps\nvar _ui = {\n countries: [],\n customerCountries: [],\n confirmation: {\n boats: [],\n viewEmailForm: false,\n viewEmailSuccess: false,\n validation: {\n email: true,\n message: true,\n subject: true\n }\n },\n dealers: [],\n engine: {\n selectedBoardType: '',\n selectedSingleOrDual: '',\n selectedBrand: ''\n },\n route: false,\n mobile: {\n activeTab: ''\n },\n originForDirections: '',\n overview: {\n haveAttemptedSubmission: false,\n showMapLink: false,\n viewAllDetails: false,\n viewBoatAndEngineDetails: false,\n viewClientDetails: true,\n viewDealerItems: false,\n viewNewDealerItemForm: false,\n viewNewTradeInForm: false,\n viewOptionsDetails: false,\n viewPacksDetails: false,\n viewQuoteDetails: true,\n viewTradeIns: false,\n viewBoatAndEngineDiscount: false,\n viewPacksDiscount: false,\n viewOptionsDiscount: false,\n viewPackItemDiscount: [],\n viewOptionItemDiscount: []\n },\n phonePrefixes: [],\n requiredFields: {\n client: {}\n },\n selectedDealer: {},\n steps: [],\n configurator: false,\n international: false\n};\n\n/**\r\n * @var Store\r\n */\nvar Store = assign({}, EventEmitter.prototype, {\n emitChange: function emitChange() {\n var self = this;\n window.setTimeout(function () {\n self.emit(CHANGE_EVENT);\n }, 1);\n },\n\n addChangeListener: function addChangeListener(callback) {\n this.on(CHANGE_EVENT, callback);\n },\n\n calculateTotal: function calculateTotal() {\n var totalPrice = 0;\n var totalDiscount = 0;\n var extrasDiscount = 0;\n if (_submission.engine && _submission.engine.price) {\n totalPrice += _submission.engine.price;\n if (_submission.engine.discount && _submission.engine.discount.amount > 0) {\n totalDiscount += parseFloat(_submission.engine.discount.amount);\n totalPrice -= parseFloat(_submission.engine.discount.amount);\n }\n }\n if (_submission.freight && _submission.freight.price) {\n totalPrice += _submission.freight.price;\n if (_submission.freight.discount && _submission.freight.discount.amount > 0) {\n totalDiscount += parseFloat(_submission.freight.discount.amount);\n totalPrice -= parseFloat(_submission.freight.discount.amount);\n }\n }\n if (_submission.packs && _submission.packs.length > 0) {\n _submission.packs.forEach(function (pack) {\n totalPrice += pack.price;\n if (pack.discount && pack.discount.amount > 0) {\n totalDiscount += parseFloat(pack.discount.amount);\n totalPrice -= parseFloat(pack.discount.amount);\n }\n });\n }\n if (_submission.options && _submission.options.length > 0) {\n _submission.options.forEach(function (option) {\n totalPrice += option.price;\n if (option.discount && option.discount.amount > 0) {\n totalDiscount += parseFloat(option.discount.amount);\n totalPrice -= parseFloat(option.discount.amount);\n }\n });\n }\n if (_submission.extras && _submission.extras.length > 0) {\n _submission.extras.forEach(function (extra) {\n if (extra.price && extra.price !== 0) {\n if (extra.price > 0) {\n totalPrice += parseFloat(extra.price);\n if (extra.discount && extra.discount.amount > 0) {\n totalDiscount += parseFloat(extra.discount.amount);\n totalPrice -= parseFloat(extra.discount.amount);\n }\n }\n }\n });\n }\n if (_submission.redeems && _submission.redeems.length > 0) {\n _submission.redeems.forEach(function (redeem) {\n if (redeem.price && redeem.price !== 0) {\n if (redeem.price > 0) {\n extrasDiscount += Math.abs(parseFloat(redeem.price));\n }\n }\n });\n }\n _submission.total = totalPrice;\n _submission.totalRedeems = extrasDiscount;\n _submission.vat = totalPrice - totalPrice * 100 / (100 + _submission.vatPercentage);\n _submission.discountVat = totalDiscount * 100 / (100 + _submission.vatPercentage);\n _submission.subtotal = totalPrice - _submission.vat;\n },\n\n /**\r\n * @method getCalculatorModel\r\n * @returns {JSON}\r\n */\n getCalculatorModel: function getCalculatorModel() {\n return _calculatorModel;\n },\n\n getConfiguratorModel: function getConfiguratorModel() {\n return _configuratorModel;\n },\n\n getBusinessSettingsModel: function getBusinessSettingsModel() {\n return _businessSettingsModel;\n },\n\n getDealers: function getDealers() {\n return _dealers;\n },\n\n getDealerItems: function getDealerItems() {\n return _dealerItems;\n },\n\n getEmailMessage: function getEmailMessage() {\n return _emailMessage;\n },\n\n getEmailSubmissionResult: function getEmailSubmissionResult() {\n return _emailSubmissionResult;\n },\n\n getIsSubmitting: function getIsSubmitting() {\n return _isSubmitting;\n },\n\n getLastActionReceived: function getLastActionReceived() {\n return _lastActionReceived;\n },\n\n getLastQuoteEmailed: function getLastQuoteEmailed() {\n return _lastQuoteEmailed;\n },\n\n /**\r\n * @method getMaximumStep\r\n * @returns {number}\r\n * @description Returns the maximum step the visitor has reached in the store.\r\n */\n getMaximumStep: function getMaximumStep() {\n return _maximumStep;\n },\n\n getQuotesModel: function getQuotesModel() {\n return _quotesModel;\n },\n\n getPhonePrefixes: function getPhonePrefixes() {\n return _phonePrefixes;\n },\n\n getSubmission: function getSubmission() {\n return _submission;\n },\n\n getBusinessSettingsSubmission: function getBusinessSettingsSubmission() {\n return _businessSettingsSubmission;\n },\n\n getSubmissionResult: function getSubmissionResult() {\n return _submissionResult;\n },\n\n getBusinessSettingsSubmissionResult: function getBusinessSettingsSubmissionResult() {\n return _businessSettingsSubmissionResult;\n },\n\n getSubmitProfilePictureResult: function getSubmitProfilePictureResult() {\n return _submitProfilePictureResult;\n },\n\n getMemberIdOfLastSubmittedProfilePicture: function getMemberIdOfLastSubmittedProfilePicture() {\n return _profilePictureSubmittedForMember;\n },\n\n getDeleteQuoteVersionResult: function getDeleteQuoteVersionResult() {\n return _deleteQuoteVersionResult;\n },\n\n getValidation: function getValidation() {\n return _validation;\n },\n\n getBusinessSettingsValidation: function getBusinessSettingsValidation() {\n return _businessSettingsValidation;\n },\n\n setLastAddedItemId: function setLastAddedItemId(id) {\n _lastAddedItemId = id;\n },\n\n setLastAddedMemberId: function setLastAddedMemberId(id) {\n _lastAddedMemberId = id;\n },\n\n getLastAddedItemId: function getLastAddedItemId() {\n return _lastAddedItemId;\n },\n\n getLastAddedMemberId: function getLastAddedMemberId() {\n return _lastAddedMemberId;\n },\n\n getShowFeedbackPopup: function getShowFeedbackPopup() {\n return _showFeedbackPopup;\n },\n\n getUi: function getUi() {\n return _ui;\n },\n\n getValidationErrorPopup: function getValidationErrorPopup() {\n return _showValidationErrorPopup;\n },\n\n performValidationCheck: function performValidationCheck() {\n var info = _submission.personalInfo;\n var emailRegex = /.+\\@.+\\..+/i;\n var emailProvided = info.email !== \"\";\n var addressFieldsProvided = info.street !== \"\" && info.streetNumber !== \"\" && info.zipCode !== \"\" && info.city !== \"\" && info.phoneCountry !== \"\" && info.phone !== \"\" && info.country !== \"\";\n // for calculator \n if (_validateCalculatorFields) {\n _validation = new Validation({\n title: info.title ? true : false,\n firstName: info.firstName !== \"\" ? true : false,\n lastName: info.lastName !== \"\" ? true : false,\n email: emailProvided && info.email.match(emailRegex) ? true : false,\n shouldSendToFriend: true,\n friendEmail: true,\n shouldGetQuote: true,\n reference: _submission.reference !== \"\" ? true : false,\n street: info.street !== \"\" ? true : false,\n streetNumber: info.streetNumber !== \"\" ? true : false,\n zipCode: info.zipCode !== \"\" ? true : false,\n city: info.city !== \"\" ? true : false,\n phoneCountry: info.telephoneCountry !== \"--\" && info.telephoneCountry !== \"0\" ? true : false,\n phone: info.telephone !== \"\" ? true : false,\n country: info.country !== \"INT\" && info.country !== \"\" && info.country !== \"ASSETS\" ? true : false,\n dealer: true,\n dealerCountry: true,\n optIn: info.optIn ? true : false\n });\n // For configurator\n } else {\n _validation = new Validation({\n title: info.title ? true : false,\n firstName: info.firstName !== \"\" ? true : false,\n lastName: info.lastName !== \"\" ? true : false,\n email: emailProvided && info.email.match(emailRegex) ? true : false,\n shouldSendToFriend: info.sendToFriend,\n friendEmail: info.friendEmailAddress !== \"\" && info.friendEmailAddress.indexOf(\"@\") > 0,\n shouldGetQuote: info.requestQuote,\n reference: _submission.reference !== \"\",\n street: info.street !== \"\",\n streetNumber: info.streetNumber !== \"\",\n zipCode: info.zipCode !== \"\",\n city: info.city !== \"\",\n phoneCountry: info.telephoneCountry !== \"--\" && info.telephoneCountry !== \"0\" && info.telephoneCountry !== '',\n phone: info.telephone !== \"\",\n country: info.country !== \"INT\" && info.country !== '',\n dealer: info.requestQuote ? info.dealer && info.dealer !== \"0\" ? true : false : true,\n dealerCountry: info.requestQuote ? info.dealerCountry && info.dealerCountry !== \"0\" ? true : false : true,\n optIn: info.optIn ? true : false,\n toc: info.toc ? true : false\n });\n }\n },\n\n performBusinessSettingsValidationCheck: function performBusinessSettingsValidationCheck(submitPerformed) {\n var emailRegex = /.+\\@.+\\..+/i;\n var financialInfo = _businessSettingsSubmission.financialInfo;\n var addressInfo = _businessSettingsSubmission.addressInfo;\n var contactInfo = _businessSettingsSubmission.contactInfo;\n var members = _businessSettingsSubmission.members;\n var customItems = _businessSettingsSubmission.customDealerItems;\n _businessSettingsValidation = new BusinessSettingsValidation({\n vat: financialInfo.vat ? true : false,\n iban: financialInfo.iban ? true : false,\n bic: financialInfo.bic ? true : false,\n address1: true, // addressInfo.address1 ? true : false,\n address2: true, // addressInfo.address2 ? true : false,\n zipCode: true, // addressInfo.zipCode ? true : false,\n location: true, // addressInfo.location ? true : false,\n country: true, // addressInfo.country ? true : false,\n phoneCountryPrefix: contactInfo.phoneCountryPrefix ? true : false,\n phoneNumber: contactInfo.phoneNumber ? true : false,\n email: contactInfo.email.match(emailRegex)\n });\n members.forEach(function (member) {\n _businessSettingsValidation.memberValidation.push(new BusinessSettingsMemberValidation({\n id: member.id,\n firstName: member.firstName ? true : false,\n lastName: member.lastName ? true : false,\n email: member.email !== undefined && member.email.match(emailRegex) ? true : false,\n phoneCountryPrefix: member.phoneCountryPrefix ? true : false,\n phoneNumber: member.phoneNumber ? true : false,\n mobileCountryPrefix: true, //member.mobileCountryPrefix ? true : false,\n mobileNumber: true, //member.mobileNumber ? true : false,\n login: member.id < 0 ? member.login ? true : false : true,\n password: member.id < 0 ? member.password && member.password.length >= 8 ? true : false : member.password !== null && member.password !== \"\" ? member.password.length >= 8 ? true : false : true,\n confirmPassword: member.id < 0 ? member.confirmPassword === member.password ? true : false : true\n }));\n });\n customItems.forEach(function (customItem) {\n _businessSettingsValidation.customItemValidation.push(new BusinessSettingsCustomDealerItemValidation({\n id: customItem.id,\n name: customItem.name ? true : false,\n price: customItem.price ? true : false\n }));\n });\n _showValidationErrorPopup = submitPerformed && !_businessSettingsValidation.allBusinessRulesFulfilled();\n },\n\n removeChangeListener: function removeChangeListener(callback) {\n this.removeListener(CHANGE_EVENT, callback);\n },\n\n dispatchToken: AppDispatcher.register(function (payload) {\n var action = payload.action;\n _lastActionReceived = action.type;\n _showFeedbackPopup = false;\n var results = action.results;\n if (Constants.LOG_ACTIONS_IN_CONSOLE) {\n console.log('ACTION: ', action);\n }\n switch (action.type) {\n case \"CHANGE_ACTIVE_MOBILE_TAB\":\n if (typeof action.tabName !== 'undefined') {\n _ui.mobile.activeTab = action.tabName;\n Store.emitChange();\n }\n break;\n case \"CHANGE_CONFIRMATION_UI_PARAMETER\":\n if (action.key && typeof action.value !== 'undefined') {\n _ui.confirmation[action.key] = action.value;\n Store.emitChange();\n }\n break;\n case \"CHANGE_ENGINE_UI_PARAMETER\":\n if (typeof action.key !== 'undefined' && typeof action.value !== 'undefined') {\n _ui.engine[action.key] = action.value;\n Store.emitChange();\n }\n break;\n case \"CHANGE_OVERVIEW_UI_PARAMETER\":\n if (action.key && typeof action.value !== 'undefined') {\n if (action.key.indexOf('viewPackItemDiscount') > -1 || action.key.indexOf('viewOptionItemDiscount') > -1) {\n var key = action.key.split('-')[0];\n var _index = action.key.split('-')[1];\n var doesExist = false;\n _ui.overview[key].forEach(function (item, i) {\n if (item == _index) {\n doesExist = true;\n _ui.overview[key].splice(i, 1);\n }\n });\n if (!doesExist) {\n _ui.overview[key].push(_index);\n }\n } else {\n _ui.overview[action.key] = action.value;\n }\n Store.emitChange();\n }\n break;\n case \"GOT_CONFIGURATOR_MODEL\":\n if (results) {\n _configuratorModel = results;\n // _submission.engine = _configuratorModel.boat.engines.find((engine) => {\n // return engine.isDefault;\n // });\n // _ui.engine = UiHelpers.Engine.configureUiBasedUponDefaultEngine(_configuratorModel.boat.engines, _ui).engine;\n _submission.boatId = _configuratorModel.boat.id;\n _submission.freight = _configuratorModel.boat.freight;\n _submission.vatPercentage = _configuratorModel.vat;\n _ui.countries = _configuratorModel.countries;\n _ui.customerCountries = _configuratorModel.customerCountries;\n _ui.dealers = _configuratorModel.dealers ? _configuratorModel.dealers : [];\n _ui.steps = _configuratorModel.steps;\n _ui.configurator = true;\n _ui.international = _configuratorModel.international;\n if (Helpers.getQueryStringParameter(\"d\") !== null && Helpers.getQueryStringParameter(\"d\") !== '0') {\n _submission.personalInfo.requestQuote = true;\n _submission.personalInfo.dealer = Helpers.getQueryStringParameter(\"d\");\n }\n Store.calculateTotal();\n Store.emitChange();\n }\n break;\n case \"GOT_CALCULATOR_MODEL\":\n if (results) {\n _calculatorModel = results;\n // _submission.engine = _calculatorModel.boat.engines.find((engine) => {\n // return engine.isDefault;\n // });\n // _ui.engine = UiHelpers.Engine.configureUiBasedUponDefaultEngine(_calculatorModel.boat.engines, _ui).engine;\n _submission.freight = _calculatorModel.boat.freight;\n _submission.boatId = _calculatorModel.boat.id;\n _submission.freight = _calculatorModel.boat.freight;\n _submission.vatPercentage = _calculatorModel.vat;\n _ui.countries = _calculatorModel.countries;\n _ui.customerCountries = _calculatorModel.customerCountries;\n _ui.configurator = false;\n _ui.international = false;\n // Edit mode\n if (Helpers.getQueryStringParameter(\"quoteId\")) {\n _submission.action = \"update\";\n _submission.id = _calculatorModel.currentSubmission.id;\n _submission.boatId = _calculatorModel.currentSubmission.boatId;\n _submission.country = _calculatorModel.currentSubmission.country;\n _submission.currentPageId = _calculatorModel.currentSubmission.currentPageId;\n _submission.engine = _calculatorModel.currentSubmission.engine;\n _submission.engine.discount = _calculatorModel.currentSubmission.engine.discount;\n _submission.expirationDay = _calculatorModel.currentSubmission.expirationDay;\n _submission.expirationMonth = _calculatorModel.currentSubmission.expirationMonth;\n _submission.expirationYear = _calculatorModel.currentSubmission.expirationYear;\n if (_calculatorModel.currentSubmission.extras) {\n var index = 0;\n _calculatorModel.currentSubmission.extras.forEach(function (extra) {\n extra.id = index;\n _submission.extras.push(extra);\n index = index + 1;\n });\n }\n if (_calculatorModel.currentSubmission.packs) {\n _calculatorModel.currentSubmission.packs.forEach(function (pack) {\n _submission.packs.push(pack);\n });\n }\n if (_calculatorModel.currentSubmission.options) {\n _calculatorModel.currentSubmission.options.forEach(function (option) {\n _submission.options.push(option);\n });\n }\n _submission.personalInfo = _calculatorModel.currentSubmission.personalInfo;\n if (_calculatorModel.currentSubmission.redeems) {\n var index = 0;\n _calculatorModel.currentSubmission.redeems.forEach(function (redeem) {\n redeem.id = index;\n _submission.redeems.push(redeem);\n index = index + 1;\n });\n }\n _submission.reference = _calculatorModel.currentSubmission.reference;\n _submission.url = _calculatorModel.currentSubmission.url;\n //_maximumStep = _calculatorModel.steps.length;\n }\n // Check to see if there are recommended configurations and set them\n else if (Helpers.getQueryStringParameter(\"config\")) {\n var configId = Helpers.getQueryStringParameter(\"config\");\n var selectedConfig = false;\n _calculatorModel.recommendedConfigurations.forEach(function (config) {\n if (config.id == configId) {\n selectedConfig = config;\n }\n });\n if (selectedConfig) {\n _calculatorModel.boat.engines.forEach(function (engine) {\n if (engine.id == selectedConfig.engine) {\n _submission.engine = engine;\n }\n });\n _submission.packs = [];\n _calculatorModel.boat.packs.forEach(function (pack) {\n selectedConfig.packs.forEach(function (packId) {\n if (packId == pack.id) {\n _submission.packs.push(pack);\n }\n });\n });\n _submission.options = [];\n _submission.requiredOptions = [];\n _submission.partOfPackOptions = [];\n var allOptions = _calculatorModel.boat.options;\n _calculatorModel.boat.options.forEach(function (option) {\n var isPartOfSelectedPack = Helpers.isPartOfSelectedPack(selectedConfig.packs, option);\n var isPartOfSelectedConfig = Helpers.isPartOfSelectedOptions(selectedConfig.optionalEquipment, option);\n var requiredRelatedOptions = Helpers.getRequiredRelatedOptions(allOptions, option);\n if (isPartOfSelectedPack) {\n var inPackList = false;\n _submission.partOfPackOptions.forEach(function (packOption) {\n if (packOption.id === option.id) {\n inPackList = true;\n }\n });\n if (!inPackList) {\n _submission.partOfPackOptions.push(option);\n }\n }\n if (isPartOfSelectedConfig && !isPartOfSelectedPack) {\n var inList = false;\n _submission.options.forEach(function (submittedOption) {\n if (submittedOption.id === option.id) {\n inList = true;\n }\n });\n if (!inList) {\n _submission.options.push(option);\n }\n if (requiredRelatedOptions.length > 0) {\n requiredRelatedOptions.forEach(function (requiredRelatedOption) {\n var inRequiredList = false;\n _submission.requiredOptions.forEach(function (requiredOption) {\n if (requiredOption.id === requiredOption.id) {\n inRequiredList = true;\n }\n });\n if (!inRequiredList) {\n _submission.requiredOptions.push(option);\n }\n });\n }\n }\n });\n //Iterate all pacsk selected in configuration, add required options and remove incompatible options again\n _submission.packs.forEach(function (pack) {\n var incompatibleWithPackOptionIds = pack.incompatibleOptions;\n var requiredForPackOptionIds = pack.requiredOptions;\n var forRemoval = [];\n //Iterate all incompatible options for selected pack and also mark for removal\n incompatibleWithPackOptionIds.forEach(function (incompatibleWithPackOptionId) {\n allOptions.forEach(function (option) {\n if (option.id === incompatibleWithPackOptionId) {\n forRemoval.push(option);\n }\n });\n });\n var currentOptions = _submission.options;\n _submission.options = [];\n //Empty submission option list, iterate those options and if marked for removal, don't add to new list of options\n currentOptions.forEach(function (currentOption) {\n var inRemovalList = false;\n forRemoval.forEach(function (optionForRemoval) {\n if (optionForRemoval.id === currentOption.id) {\n inRemovalList = true;\n }\n });\n if (!inRemovalList) {\n _submission.options.push(currentOption);\n }\n });\n //Iterate required pack option ids\n requiredForPackOptionIds.forEach(function (requiredOptionId) {\n var alreadyInList = false;\n //Check if not yet in list of selected options\n _submission.options.forEach(function (option) {\n if (option.id === requiredOptionId) {\n alreadyInList = true;\n }\n });\n if (!alreadyInList) {\n //Find option in list of all options based on id and add to selected options\n allOptions.forEach(function (option) {\n if (option.id === requiredOptionId) {\n _submission.options.push(option);\n }\n });\n }\n });\n });\n }\n }\n Store.calculateTotal();\n Store.emitChange();\n }\n break;\n case \"GOT_BUSINESS_SETTINGS_MODEL\":\n if (results) {\n _businessSettingsModel = results;\n _businessSettingsSubmission.customerNumber = _businessSettingsModel.customerNumber;\n _businessSettingsSubmission.financialInfo = _businessSettingsModel.financialInfo;\n _businessSettingsSubmission.addressInfo = _businessSettingsModel.addressInfo;\n _businessSettingsSubmission.contactInfo = _businessSettingsModel.contactInfo;\n if (_businessSettingsModel.customDealerItems) {\n _businessSettingsModel.customDealerItems.forEach(function (customDealerItem) {\n _businessSettingsSubmission.customDealerItems.push(customDealerItem);\n });\n }\n if (_businessSettingsModel.members) {\n _businessSettingsModel.members.forEach(function (member) {\n _businessSettingsSubmission.members.push(member);\n });\n }\n Store.performBusinessSettingsValidationCheck(false);\n Store.emitChange();\n }\n break;\n case \"GOT_DEALERS\":\n if (action.dealers) {\n _dealers = action.dealers;\n _ui.dealers = action.dealers;\n if (Helpers.getQueryStringParameter(\"d\")) {\n _submission.personalInfo.requestQuote = true;\n _submission.personalInfo.dealer = Helpers.getQueryStringParameter(\"d\");\n }\n // If the user is set to request info from a dealer, make sure that the one selected exists. Otherwise, choose a default.\n if (_submission.personalInfo.requestQuote) {\n var isDealerInList = false;\n if (_dealers != null) {\n _dealers.forEach(function (dealer) {\n if (dealer.customerNumber == _submission.personalInfo.dealer) {\n isDealerInList = true;\n }\n });\n }\n if (!isDealerInList) {\n _submission.personalInfo.dealer = 0;\n }\n }\n Store.emitChange();\n }\n break;\n case \"GOT_DEALER_ITEMS\":\n if (action.items) {\n _dealerItems = items;\n Store.emitChange();\n }\n break;\n case \"GOT_CALCULATOR_DEALERS\":\n if (action.dealers) {\n _calculatorDealers = action.dealers;\n // If the user is set to request info from a dealer, make sure that the one selected exists. Otherwise, choose a default.\n if (_submission.personalInfo.requestQuote) {\n var isDealerInList = false;\n _calculatorDealers.forEach(function (dealer) {\n if (dealer.customerNumber == _submission.personalInfo.dealer) {\n isDealerInList = true;\n }\n });\n if (!isDealerInList) {\n _submission.personalInfo.dealer = _dealers[0].customerNumber;\n }\n }\n Store.emitChange();\n }\n break;\n case \"GOT_PHONE_PREFIXES\":\n if (action.prefixes) {\n _phonePrefixes = action.prefixes;\n _ui.phonePrefixes = action.prefixes;\n Store.emitChange();\n }\n break;\n case \"GOT_QUOTES_MODEL\":\n if (results) {\n _quotesModel = results;\n _quotesModel.quotes.forEach(function (quote, index) {\n quote.id = index;\n });\n Store.emitChange();\n }\n break;\n case \"SENDING_EMAIL\":\n _isSubmitting = true;\n _lastQuoteEmailed = action.index;\n Store.emitChange();\n break;\n case \"SELECT_DEALER\":\n _ui.selectedDealer = action.dealer;\n Store.emitChange();\n break;\n case \"SENT_EMAIL\":\n _isSubmitting = false;\n _emailSubmissionResult = new SubmissionResult(action.response);\n _emailMessage = new EmailMessage();\n _ui.confirmation.viewEmailForm = false;\n _ui.confirmation.viewEmailSuccess = true;\n Store.emitChange();\n break;\n case \"VALIDATE_CALCULATOR_FIELDS\":\n _validateCalculatorFields = true;\n break;\n case \"SUBMITTED_CONFIG\":\n _isSubmitting = false;\n _submissionResult = new SubmissionResult(action.response);\n if (_submissionResult.boats && _submissionResult.boats.length > 0) {\n _ui.confirmation.boats = _submissionResult.boats;\n }\n if (_submissionResult.isSuccess) {\n window.location.hash = \"#thanks\";\n var info = JSON.parse(JSON.stringify(_submission.personalInfo));\n var address = [];\n if (info.street !== '') {\n address.push(info.street + (info.streetNumber !== '' ? ' ' + info.streetNumber : ''));\n }\n if (info.zipCode !== '' || info.city !== '') {\n address.push(info.zipCode + (info.city !== '' ? ' ' + info.city : ''));\n }\n if (address.length > 0) {\n address.push(info.country);\n }\n var origin = address.join(' ');\n _ui.originForDirections = origin;\n }\n Store.emitChange();\n break;\n case \"SUBMITTED_CALCULATOR\":\n _isSubmitting = false;\n _submissionResult = new SubmissionResult(action.response);\n if (_submissionResult.boats && _submissionResult.boats.length > 0) {\n _ui.confirmation.boats = _submissionResult.boats;\n }\n if (_submissionResult.isSuccess) {\n _emailMessage = new EmailMessage();\n _emailMessage.email = _submission.personalInfo.email;\n window.location.hash = \"#thanks\";\n }\n Store.emitChange();\n break;\n case \"SUBMITTED_BUSINESS_SETTINGS\":\n _isSubmitting = false;\n _showFeedbackPopup = true;\n _businessSettingsSubmissionResult = new BusinessSettingsSubmissionResult(action.response);\n Store.emitChange();\n break;\n case \"SUBMITTING_CONFIG\":\n _isSubmitting = true;\n Store.emitChange();\n break;\n case \"SUBMITTING_CALCULATOR\":\n _isSubmitting = true;\n Store.emitChange();\n break;\n case \"SUBMITTING_BUSINESS_SETTINGS\":\n _isSubmitting = true;\n Store.emitChange();\n break;\n case \"UPDATE_MAXIMUM_STEP\":\n _maximumStep = action.step;\n Store.emitChange();\n break;\n case \"UPDATE_EMAIL_MESSAGE\":\n _emailMessage = action.emailMessage;\n Store.emitChange();\n break;\n case \"UPDATE_ORIGIN\":\n _ui.originForDirections = action.origin;\n Store.emitChange();\n break;\n case \"UPDATE_SUBMISSION\":\n _submission = action.submission;\n Store.calculateTotal();\n Store.performValidationCheck();\n Store.emitChange();\n break;\n case \"SET_LAST_ADDED_ID\":\n _lastAddedId = action.id;\n break;\n case \"UPDATE_BUSINESS_SETTINGS_SUBMISSION\":\n _businessSettingsSubmission = action.submission;\n Store.performBusinessSettingsValidationCheck(action.submitPerformed);\n Store.emitChange();\n break;\n case \"UPDATE_VALIDATION\":\n _validation = new Validation(action.validation);\n brea;\n case \"DELETING_QUOTE_VERSION\":\n _isSubmitting = true;\n Store.emitChange();\n break;\n case \"DELETED_QUOTE_VERSION\":\n _isSubmitting = false;\n _deleteQuoteVersionResult = action.response;\n Store.emitChange();\n break;\n case \"SUBMITTING_PROFILE_PICTURE\":\n _isSubmitting = true;\n _profilePictureSubmittedForMember = action.memberId;\n Store.emitChange();\n break;\n case \"SUBMITTED_PROFILE_PICTURE\":\n _isSubmitting = false;\n _submitProfilePictureResult = action.response;\n if (_submitProfilePictureResult.success) {\n _businessSettingsSubmission.members.forEach(function (member) {\n if (member.id === _profilePictureSubmittedForMember) {\n member.avatar.imagePath = action.response.filename;\n }\n });\n }\n Store.emitChange();\n break;\n case \"UPDATE_DEALER_ITEMS\":\n _submission.dealerItems = action.dealerItems;\n Store.emitChange();\n break;\n case \"UPDATE_DISCOUNTS\":\n if (action.discounts) {\n _submission.discounts = action.discounts;\n Store.emitChange();\n }\n break;\n case \"UPDATE_ROUTE\":\n _ui.route = action.route;\n Store.emitChange();\n case \"UPDATE_PRICE_OVERRIDE\":\n if (action.override) {\n _submission.priceOverride = action.override;\n Store.emitChange();\n }\n break;\n case \"UPDATE_TRADE_INS\":\n if (action.tradeIns) {\n _submission.tradeIns = action.tradeIns;\n Store.emitChange();\n }\n break;\n default:\n // do nothing\n }\n })\n});\n\nmodule.exports = Store;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/stores/appStore.js\n// module id = 73\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/stores/appStore.js?"); /***/ }), /* 74 */, /* 75 */, /* 76 */, /* 77 */, /* 78 */, /* 79 */, /* 80 */, /* 81 */, /* 82 */ /***/ (function(module, exports, __webpack_require__) { eval("\"use strict\";\n\nvar AppDispatcher = __webpack_require__(311);\nvar Api = __webpack_require__(683);\n\n/**\r\n * @const ViewActions - Flux store actions called by views/components that trigger\r\n * store state changes in the Flux store. Best practice is to call these actions \r\n * only from logic components that serve as wrappers to view components (such \r\n * as the top-level components of the configurator and calculator apps).\r\n */\nvar ViewActions = {\n\n /**\r\n * @method changeActiveMobileTab\r\n * @param {string} tabName\r\n * @returns {void}\r\n */\n changeActiveMobileTab: function changeActiveMobileTab(tabName) {\n var action = {\n type: 'CHANGE_ACTIVE_MOBILE_TAB',\n tabName: tabName\n };\n AppDispatcher.handleViewAction(action);\n },\n\n /**\r\n * @method changeConfirmationUiParameter - Updates the _ui parameter of the store,\r\n * in particular a parameter inside its confirmation object.\r\n * @param {string} key\r\n * @param {string} value\r\n * @returns {void}\r\n */\n changeConfirmationUiParameter: function changeConfirmationUiParameter(key, value) {\n var action = {\n type: 'CHANGE_CONFIRMATION_UI_PARAMETER',\n key: key,\n value: value\n };\n AppDispatcher.handleViewAction(action);\n },\n\n /**\r\n * @method changeEngineUiParameter - Updates the _ui parameter of the store, \r\n * in particular a parameter inside its engine object.\r\n * @param {string} key\r\n * @param {string} value\r\n * @returns {void}\r\n */\n changeEngineUiParameter: function changeEngineUiParameter(key, value) {\n var action = {\n type: 'CHANGE_ENGINE_UI_PARAMETER',\n key: key,\n value: value\n };\n AppDispatcher.handleViewAction(action);\n },\n\n /**\r\n * @method changeOverviewUiParameter - Updates the _ui parameter of the store,\r\n * in particular a parameter inside its overview object.\r\n * @param {string} key\r\n * @param {string} value\r\n * @returns {void}\r\n */\n changeOverviewUiParameter: function changeOverviewUiParameter(key, value) {\n var action = {\n type: 'CHANGE_OVERVIEW_UI_PARAMETER',\n key: key,\n value: value\n };\n AppDispatcher.handleViewAction(action);\n },\n\n /**\r\n * @method deleteQuoteVersion\r\n * @param {any} version\r\n * @returns {void}\r\n */\n deleteQuoteVersion: function deleteQuoteVersion(version) {\n Api.deleteQuoteVersion(version);\n var action = {\n type: \"DELETING_QUOTE_VERSION\"\n };\n AppDispatcher.handleViewAction(action);\n },\n\n /**\r\n * @method getBusinessSettingsModel\r\n * @param nodeId\r\n * @param language\r\n * @param dealerId\r\n * @returns {void}\r\n */\n getBusinessSettingsModel: function getBusinessSettingsModel(nodeId, language, dealerId) {\n Api.getBusinessSettingsModel(nodeId, language, dealerId);\n },\n\n /**\r\n * @method getCalculatorModel\r\n * @param nodeId\r\n * @param productId\r\n * @param country\r\n * @param language\r\n * @param quoteId\r\n * @returns {void}\r\n */\n getCalculatorModel: function getCalculatorModel(nodeId, productId, country, language, quoteId) {\n Api.getCalculatorModel(nodeId, productId, country, language, quoteId);\n },\n\n /**\r\n * @function getConfiguratorModel - Requests product data for the \r\n * configurator from the API.\r\n * @param {number} nodeId - The node ID of the umbraco page that is calling \r\n * the API.\r\n * @param {number} productId - The ID of the boat to get info about\r\n * @param {string} country - The country code of the country to search\r\n * @param {string} language - the language code for the language to show the \r\n * responses in.\r\n * @returns {void}\r\n * @description\r\n */\n getConfiguratorModel: function getConfiguratorModel(nodeId, productId, country, language, dealerId) {\n Api.getConfiguratorModel(nodeId, productId, country, language, dealerId);\n },\n\n /**\r\n * @function getDealers\r\n * @param {number} nodeId - The node ID of the umbraco page that is calling the API.\r\n * @param {string} country - The country code of the country to search\r\n * @returns {void}\r\n * @description Requests dealer info for the listed country via API.\r\n */\n getDealers: function getDealers(nodeId, country, dealerId) {\n Api.getDealersByCountry(nodeId, country, dealerId);\n },\n\n /**\r\n * @method getPhonePrefixes\r\n * @returns {void}\r\n */\n getPhonePrefixes: function getPhonePrefixes() {\n Api.getPhonePrefixes();\n },\n\n /**\r\n * @method getQuotesModel\r\n * @param id\r\n * @param language\r\n * @param dealerId\r\n * @returns {void}\r\n */\n getQuotesModel: function getQuotesModel(id, language, dealerId) {\n Api.getQuotesModel(id, language, dealerId);\n },\n\n selectDealer: function selectDealer(dealer) {\n AppDispatcher.handleViewAction({\n type: 'SELECT_DEALER',\n dealer: dealer\n });\n },\n\n /**\r\n * @method sendEmail\r\n * @param emailMessage\r\n * @param id\r\n * @returns {void}\r\n */\n sendEmail: function sendEmail(emailMessage, id) {\n if (id == undefined) {\n id = -1;\n }\n AppDispatcher.handleViewAction({\n type: \"SENDING_EMAIL\",\n index: id\n });\n Api.sendEmail(emailMessage, id);\n },\n\n /**\r\n * @method setLastAddedItemId\r\n * @param id\r\n * @returns {void}\r\n */\n // setLastAddedItemId: function(id) {\n // var action = {\n // type: \"SET_LAST_ADDED_ITEM_ID\",\n // id: id\n // }\n // AppDispatcher.handleViewAction(action);\n // },\n\n /**\r\n * @method setLastAddedMemberId\r\n * @param id\r\n * @returns {void}\r\n */\n // setLastAddedMemberId: function(id) {\n // var action = {\n // type: \"SET_LAST_ADDED_MEMBER_ID\",\n // id: id\n // }\n // AppDispatcher.handleViewAction(action);\n // }, \n\n /**\r\n * @method submitBusinessSettings\r\n * @param {JSON} submission\r\n * @returns {void}\r\n */\n submitBusinessSettings: function submitBusinessSettings(submission) {\n Api.submitBusinessSettings(submission);\n var action = {\n type: \"SUBMITTING_BUSINESS_SETTINGS\"\n };\n AppDispatcher.handleViewAction(action);\n },\n\n /**\r\n * @method submitCalculator\r\n * @param {JSON} submission\r\n * @returns {void}\r\n */\n submitCalculator: function submitCalculator(submission) {\n AppDispatcher.handleViewAction({\n type: \"SUBMITTING_CALCULATOR\"\n });\n Api.submitCalculator(submission);\n },\n\n /**\r\n * @method submitConfigurator\r\n * @param {JSON} submission\r\n * @returns {void}\r\n */\n submitConfigurator: function submitConfigurator(submission) {\n Api.submitConfigurator(submission);\n var action = {\n type: \"SUBMITTING_CONFIG\"\n };\n AppDispatcher.handleViewAction(action);\n },\n\n /**\r\n * @method submitProfilePicture\r\n * @param file\r\n * @param memberId\r\n * @returns {void}\r\n */\n submitProfilePicture: function submitProfilePicture(file, memberId) {\n Api.submitProfilePicture(file);\n var action = {\n type: \"SUBMITTING_PROFILE_PICTURE\",\n memberId: memberId\n };\n AppDispatcher.handleViewAction(action);\n },\n\n /**\r\n * @method updateBusinessSettingsSubmission\r\n * @param {JSON} submission\r\n * @param submitPerformed\r\n * @returns {void}\r\n */\n updateBusinessSettingsSubmission: function updateBusinessSettingsSubmission(submission, submitPerformed) {\n var action = {\n type: \"UPDATE_BUSINESS_SETTINGS_SUBMISSION\",\n submission: submission,\n submitPerformed: submitPerformed\n };\n AppDispatcher.handleViewAction(action);\n },\n\n /**\r\n * @method updateBusinessSettingsValidation\r\n * @param {JSON} validation\r\n * @returns {void}\r\n */\n updateBusinessSettingsValidation: function updateBusinessSettingsValidation(validation) {\n var action = {\n type: \"UPDATE_BUSINESS_SETTINGS_VALIDATION\",\n validation: validation\n };\n AppDispatcher.handleViewAction(validation);\n },\n\n /**\r\n * @method updateDealerItems - Updates the dealer items for the submission.\r\n * @param {{name: string, description: string, price: number}[]} dealerItems\r\n * @returns {void}\r\n */\n updateDealerItems: function updateDealerItems(dealerItems) {\n var action = {\n type: 'UPDATE_DEALER_ITEMS',\n dealerItems: dealerItems\n };\n AppDispatcher.handleViewAction(action);\n },\n\n /**\r\n * @method updateDiscounts\r\n * @param {JSON} discounts\r\n * @returns {void}\r\n */\n updateDiscounts: function updateDiscounts(discounts) {\n var action = {\n type: \"UPDATE_DISCOUNTS\",\n discounts: discounts\n };\n AppDispatcher.handleViewAction(action);\n },\n /**\r\n * @method updateEmailMessage\r\n * @param emailMessage\r\n * @returns {void}\r\n */\n updateEmailMessage: function updateEmailMessage(emailMessage) {\n var action = {\n type: \"UPDATE_EMAIL_MESSAGE\",\n emailMessage: emailMessage\n };\n AppDispatcher.handleViewAction(action);\n },\n\n updateRoute: function updateRoute(route) {\n var action = {\n type: 'UPDATE_ROUTE',\n route: route\n };\n AppDispatcher.handleViewAction(action);\n },\n\n /**\r\n * @method updateMaximumStep\r\n * @param {number} step\r\n * @returns {void}\r\n * @description Updates the store with a new maximum step that the app has reached.\r\n */\n updateMaximumStep: function updateMaximumStep(step) {\n var action = {\n type: \"UPDATE_MAXIMUM_STEP\",\n step: step\n };\n AppDispatcher.handleViewAction(action);\n },\n\n updateOrigin: function updateOrigin(origin) {\n AppDispatcher.handleViewAction({\n type: \"UPDATE_ORIGIN\",\n origin: origin\n });\n },\n\n /**\r\n * @method updatePriceOverride\r\n * @param {JSON} override\r\n * @returns {void}\r\n */\n updatePriceOverride: function updatePriceOverride(override) {\n var action = {\n type: \"UPDATE_PRICE_OVERRIDE\",\n override: override\n };\n AppDispatcher.handleViewAction(action);\n },\n\n /**\r\n * @method updateSubmission\r\n * @param {object} submission - The submission object to update. See Submission class.\r\n * @returns {void}\r\n * @description Updates the store's submission model.\r\n */\n updateSubmission: function updateSubmission(submission) {\n var action = {\n type: \"UPDATE_SUBMISSION\",\n submission: submission\n };\n AppDispatcher.handleViewAction(action);\n },\n\n /**\r\n * @method updateTradeIns - Updates the store's submission model's list of \r\n * tradeIns for the calculator submission.\r\n * @param {{name: string, description: string, price: number}[]} tradeIns\r\n * @returns {void}\r\n */\n updateTradeIns: function updateTradeIns(tradeIns) {\n var action = {\n type: \"UPDATE_TRADE_INS\",\n tradeIns: tradeIns\n };\n AppDispatcher.handleViewAction(action);\n },\n\n /**\r\n * @method updateValidation\r\n * @param {JSON} validation\r\n * @returns {void}\r\n */\n updateValidation: function updateValidation(validation) {\n var action = {\n type: \"UPDATE_VALIDATION\",\n validation: validation\n };\n AppDispatcher.handleViewAction(validation);\n },\n\n /**\r\n * @method validateCalculatorFields\r\n * @returns {void}\r\n */\n validateCalculatorFields: function validateCalculatorFields() {\n var action = {\n type: \"VALIDATE_CALCULATOR_FIELDS\"\n };\n AppDispatcher.handleViewAction(action);\n }\n};\n\nmodule.exports = ViewActions;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/actions/viewActions.js\n// module id = 82\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/actions/viewActions.js?"); /***/ }), /* 83 */, /* 84 */, /* 85 */, /* 86 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\n\nvar emptyFunction = __webpack_require__(14);\n\n/**\n * Upstream version of event listener. Does not take into account specific\n * nature of platform.\n */\nvar EventListener = {\n /**\n * Listen to DOM events during the bubble phase.\n *\n * @param {DOMEventTarget} target DOM element to register listener on.\n * @param {string} eventType Event type, e.g. 'click' or 'mouseover'.\n * @param {function} callback Callback function.\n * @return {object} Object with a `remove` method.\n */\n listen: function listen(target, eventType, callback) {\n if (target.addEventListener) {\n target.addEventListener(eventType, callback, false);\n return {\n remove: function remove() {\n target.removeEventListener(eventType, callback, false);\n }\n };\n } else if (target.attachEvent) {\n target.attachEvent('on' + eventType, callback);\n return {\n remove: function remove() {\n target.detachEvent('on' + eventType, callback);\n }\n };\n }\n },\n\n /**\n * Listen to DOM events during the capture phase.\n *\n * @param {DOMEventTarget} target DOM element to register listener on.\n * @param {string} eventType Event type, e.g. 'click' or 'mouseover'.\n * @param {function} callback Callback function.\n * @return {object} Object with a `remove` method.\n */\n capture: function capture(target, eventType, callback) {\n if (target.addEventListener) {\n target.addEventListener(eventType, callback, true);\n return {\n remove: function remove() {\n target.removeEventListener(eventType, callback, true);\n }\n };\n } else {\n if (process.env.NODE_ENV !== 'production') {\n console.error('Attempted to listen to events during the capture phase on a ' + 'browser that does not support the capture phase. Your application ' + 'will not receive some events.');\n }\n return {\n remove: emptyFunction\n };\n }\n },\n\n registerDefault: function registerDefault() {}\n};\n\nmodule.exports = EventListener;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/EventListener.js\n// module id = 86\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/fbjs/lib/EventListener.js?"); /***/ }), /* 87 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\n/**\n * @param {DOMElement} node input/textarea to focus\n */\n\nfunction focusNode(node) {\n // IE8 can throw \"Can't move focus to the control because it is invisible,\n // not enabled, or of a type that does not accept the focus.\" for all kinds of\n // reasons that are too expensive and fragile to test.\n try {\n node.focus();\n } catch (e) {}\n}\n\nmodule.exports = focusNode;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/focusNode.js\n// module id = 87\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/fbjs/lib/focusNode.js?"); /***/ }), /* 88 */ /***/ (function(module, exports) { eval("'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\n\n/* eslint-disable fb-www/typeof-undefined */\n\n/**\n * Same as document.activeElement but wraps in a try-catch block. In IE it is\n * not safe to call document.activeElement if there is nothing focused.\n *\n * The activeElement will be null only if the document or document body is not\n * yet defined.\n *\n * @param {?DOMDocument} doc Defaults to current document.\n * @return {?DOMElement}\n */\nfunction getActiveElement(doc) /*?DOMElement*/{\n doc = doc || (typeof document !== 'undefined' ? document : undefined);\n if (typeof doc === 'undefined') {\n return null;\n }\n try {\n return doc.activeElement || doc.body;\n } catch (e) {\n return doc.body;\n }\n}\n\nmodule.exports = getActiveElement;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/getActiveElement.js\n// module id = 88\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/fbjs/lib/getActiveElement.js?"); /***/ }), /* 89 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n// React 15.5 references this module, and assumes PropTypes are still callable in production.\n// Therefore we re-export development-only version with all the PropTypes checks here.\n// However if one is migrating to the `prop-types` npm library, they will go through the\n// `index.js` entry point, and it will branch depending on the environment.\nvar factory = __webpack_require__(90);\nmodule.exports = function(isValidElement) {\n // It is still allowed in 15.5.\n var throwOnDirectAccess = false;\n return factory(isValidElement, throwOnDirectAccess);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/prop-types/factory.js\n// module id = 89\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/prop-types/factory.js?"); /***/ }), /* 90 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar emptyFunction = __webpack_require__(14);\nvar invariant = __webpack_require__(3);\nvar warning = __webpack_require__(4);\nvar assign = __webpack_require__(167);\n\nvar ReactPropTypesSecret = __webpack_require__(55);\nvar checkPropTypes = __webpack_require__(165);\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<<anonymous>>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message) {\n this.message = message;\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n invariant(\n false,\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at https://fb.me/use-check-prop-types'\n );\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n warning(\n false,\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `%s` prop on `%s`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.',\n propFullName,\n componentName\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunction.thatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid argument supplied to oneOf, expected an instance of array.') : void 0;\n return emptyFunction.thatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (propValue.hasOwnProperty(key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunction.thatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n warning(\n false,\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received %s at index %s.',\n getPostfixForTypeWarning(checker),\n i\n );\n return emptyFunction.thatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {\n return null;\n }\n }\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (!checker) {\n continue;\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from\n // props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/prop-types/factoryWithTypeCheckers.js\n// module id = 90\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/prop-types/factoryWithTypeCheckers.js?"); /***/ }), /* 91 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\n/**\n * CSS properties which accept numbers but are not in units of \"px\".\n */\n\nvar isUnitlessNumber = {\n animationIterationCount: true,\n borderImageOutset: true,\n borderImageSlice: true,\n borderImageWidth: true,\n boxFlex: true,\n boxFlexGroup: true,\n boxOrdinalGroup: true,\n columnCount: true,\n columns: true,\n flex: true,\n flexGrow: true,\n flexPositive: true,\n flexShrink: true,\n flexNegative: true,\n flexOrder: true,\n gridRow: true,\n gridRowEnd: true,\n gridRowSpan: true,\n gridRowStart: true,\n gridColumn: true,\n gridColumnEnd: true,\n gridColumnSpan: true,\n gridColumnStart: true,\n fontWeight: true,\n lineClamp: true,\n lineHeight: true,\n opacity: true,\n order: true,\n orphans: true,\n tabSize: true,\n widows: true,\n zIndex: true,\n zoom: true,\n\n // SVG-related properties\n fillOpacity: true,\n floodOpacity: true,\n stopOpacity: true,\n strokeDasharray: true,\n strokeDashoffset: true,\n strokeMiterlimit: true,\n strokeOpacity: true,\n strokeWidth: true\n};\n\n/**\n * @param {string} prefix vendor-specific prefix, eg: Webkit\n * @param {string} key style name, eg: transitionDuration\n * @return {string} style name prefixed with `prefix`, properly camelCased, eg:\n * WebkitTransitionDuration\n */\nfunction prefixKey(prefix, key) {\n return prefix + key.charAt(0).toUpperCase() + key.substring(1);\n}\n\n/**\n * Support style names that may come passed in prefixed by adding permutations\n * of vendor prefixes.\n */\nvar prefixes = ['Webkit', 'ms', 'Moz', 'O'];\n\n// Using Object.keys here, or else the vanilla for-in loop makes IE8 go into an\n// infinite loop, because it iterates over the newly added props too.\nObject.keys(isUnitlessNumber).forEach(function (prop) {\n prefixes.forEach(function (prefix) {\n isUnitlessNumber[prefixKey(prefix, prop)] = isUnitlessNumber[prop];\n });\n});\n\n/**\n * Most style properties can be unset by doing .style[prop] = '' but IE8\n * doesn't like doing that with shorthand properties so for the properties that\n * IE8 breaks on, which are listed here, we instead unset each of the\n * individual properties. See https://bugs.jquery.com/ticket/12385.\n * The 4-value 'clock' properties like margin, padding, border-width seem to\n * behave without any problems. Curiously, list-style works too without any\n * special prodding.\n */\nvar shorthandPropertyExpansions = {\n background: {\n backgroundAttachment: true,\n backgroundColor: true,\n backgroundImage: true,\n backgroundPositionX: true,\n backgroundPositionY: true,\n backgroundRepeat: true\n },\n backgroundPosition: {\n backgroundPositionX: true,\n backgroundPositionY: true\n },\n border: {\n borderWidth: true,\n borderStyle: true,\n borderColor: true\n },\n borderBottom: {\n borderBottomWidth: true,\n borderBottomStyle: true,\n borderBottomColor: true\n },\n borderLeft: {\n borderLeftWidth: true,\n borderLeftStyle: true,\n borderLeftColor: true\n },\n borderRight: {\n borderRightWidth: true,\n borderRightStyle: true,\n borderRightColor: true\n },\n borderTop: {\n borderTopWidth: true,\n borderTopStyle: true,\n borderTopColor: true\n },\n font: {\n fontStyle: true,\n fontVariant: true,\n fontWeight: true,\n fontSize: true,\n lineHeight: true,\n fontFamily: true\n },\n outline: {\n outlineWidth: true,\n outlineStyle: true,\n outlineColor: true\n }\n};\n\nvar CSSProperty = {\n isUnitlessNumber: isUnitlessNumber,\n shorthandPropertyExpansions: shorthandPropertyExpansions\n};\n\nmodule.exports = CSSProperty;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/CSSProperty.js\n// module id = 91\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/CSSProperty.js?"); /***/ }), /* 92 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar PooledClass = __webpack_require__(26);\n\nvar invariant = __webpack_require__(3);\n\n/**\n * A specialized pseudo-event module to help keep track of components waiting to\n * be notified when their DOM representations are available for use.\n *\n * This implements `PooledClass`, so you should never need to instantiate this.\n * Instead, use `CallbackQueue.getPooled()`.\n *\n * @class ReactMountReady\n * @implements PooledClass\n * @internal\n */\n\nvar CallbackQueue = function () {\n function CallbackQueue(arg) {\n _classCallCheck(this, CallbackQueue);\n\n this._callbacks = null;\n this._contexts = null;\n this._arg = arg;\n }\n\n /**\n * Enqueues a callback to be invoked when `notifyAll` is invoked.\n *\n * @param {function} callback Invoked when `notifyAll` is invoked.\n * @param {?object} context Context to call `callback` with.\n * @internal\n */\n\n\n CallbackQueue.prototype.enqueue = function enqueue(callback, context) {\n this._callbacks = this._callbacks || [];\n this._callbacks.push(callback);\n this._contexts = this._contexts || [];\n this._contexts.push(context);\n };\n\n /**\n * Invokes all enqueued callbacks and clears the queue. This is invoked after\n * the DOM representation of a component has been created or updated.\n *\n * @internal\n */\n\n\n CallbackQueue.prototype.notifyAll = function notifyAll() {\n var callbacks = this._callbacks;\n var contexts = this._contexts;\n var arg = this._arg;\n if (callbacks && contexts) {\n !(callbacks.length === contexts.length) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Mismatched list of contexts in callback queue') : _prodInvariant('24') : void 0;\n this._callbacks = null;\n this._contexts = null;\n for (var i = 0; i < callbacks.length; i++) {\n callbacks[i].call(contexts[i], arg);\n }\n callbacks.length = 0;\n contexts.length = 0;\n }\n };\n\n CallbackQueue.prototype.checkpoint = function checkpoint() {\n return this._callbacks ? this._callbacks.length : 0;\n };\n\n CallbackQueue.prototype.rollback = function rollback(len) {\n if (this._callbacks && this._contexts) {\n this._callbacks.length = len;\n this._contexts.length = len;\n }\n };\n\n /**\n * Resets the internal queue.\n *\n * @internal\n */\n\n\n CallbackQueue.prototype.reset = function reset() {\n this._callbacks = null;\n this._contexts = null;\n };\n\n /**\n * `PooledClass` looks for this.\n */\n\n\n CallbackQueue.prototype.destructor = function destructor() {\n this.reset();\n };\n\n return CallbackQueue;\n}();\n\nmodule.exports = PooledClass.addPoolingTo(CallbackQueue);\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/CallbackQueue.js\n// module id = 92\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/CallbackQueue.js?"); /***/ }), /* 93 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar DOMProperty = __webpack_require__(23);\nvar ReactDOMComponentTree = __webpack_require__(7);\nvar ReactInstrumentation = __webpack_require__(15);\n\nvar quoteAttributeValueForBrowser = __webpack_require__(236);\nvar warning = __webpack_require__(4);\n\nvar VALID_ATTRIBUTE_NAME_REGEX = new RegExp('^[' + DOMProperty.ATTRIBUTE_NAME_START_CHAR + '][' + DOMProperty.ATTRIBUTE_NAME_CHAR + ']*$');\nvar illegalAttributeNameCache = {};\nvar validatedAttributeNameCache = {};\n\nfunction isAttributeNameSafe(attributeName) {\n if (validatedAttributeNameCache.hasOwnProperty(attributeName)) {\n return true;\n }\n if (illegalAttributeNameCache.hasOwnProperty(attributeName)) {\n return false;\n }\n if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)) {\n validatedAttributeNameCache[attributeName] = true;\n return true;\n }\n illegalAttributeNameCache[attributeName] = true;\n process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid attribute name: `%s`', attributeName) : void 0;\n return false;\n}\n\nfunction shouldIgnoreValue(propertyInfo, value) {\n return value == null || propertyInfo.hasBooleanValue && !value || propertyInfo.hasNumericValue && isNaN(value) || propertyInfo.hasPositiveNumericValue && value < 1 || propertyInfo.hasOverloadedBooleanValue && value === false;\n}\n\n/**\n * Operations for dealing with DOM properties.\n */\nvar DOMPropertyOperations = {\n /**\n * Creates markup for the ID property.\n *\n * @param {string} id Unescaped ID.\n * @return {string} Markup string.\n */\n createMarkupForID: function (id) {\n return DOMProperty.ID_ATTRIBUTE_NAME + '=' + quoteAttributeValueForBrowser(id);\n },\n\n setAttributeForID: function (node, id) {\n node.setAttribute(DOMProperty.ID_ATTRIBUTE_NAME, id);\n },\n\n createMarkupForRoot: function () {\n return DOMProperty.ROOT_ATTRIBUTE_NAME + '=\"\"';\n },\n\n setAttributeForRoot: function (node) {\n node.setAttribute(DOMProperty.ROOT_ATTRIBUTE_NAME, '');\n },\n\n /**\n * Creates markup for a property.\n *\n * @param {string} name\n * @param {*} value\n * @return {?string} Markup string, or null if the property was invalid.\n */\n createMarkupForProperty: function (name, value) {\n var propertyInfo = DOMProperty.properties.hasOwnProperty(name) ? DOMProperty.properties[name] : null;\n if (propertyInfo) {\n if (shouldIgnoreValue(propertyInfo, value)) {\n return '';\n }\n var attributeName = propertyInfo.attributeName;\n if (propertyInfo.hasBooleanValue || propertyInfo.hasOverloadedBooleanValue && value === true) {\n return attributeName + '=\"\"';\n }\n return attributeName + '=' + quoteAttributeValueForBrowser(value);\n } else if (DOMProperty.isCustomAttribute(name)) {\n if (value == null) {\n return '';\n }\n return name + '=' + quoteAttributeValueForBrowser(value);\n }\n return null;\n },\n\n /**\n * Creates markup for a custom property.\n *\n * @param {string} name\n * @param {*} value\n * @return {string} Markup string, or empty string if the property was invalid.\n */\n createMarkupForCustomAttribute: function (name, value) {\n if (!isAttributeNameSafe(name) || value == null) {\n return '';\n }\n return name + '=' + quoteAttributeValueForBrowser(value);\n },\n\n /**\n * Sets the value for a property on a node.\n *\n * @param {DOMElement} node\n * @param {string} name\n * @param {*} value\n */\n setValueForProperty: function (node, name, value) {\n var propertyInfo = DOMProperty.properties.hasOwnProperty(name) ? DOMProperty.properties[name] : null;\n if (propertyInfo) {\n var mutationMethod = propertyInfo.mutationMethod;\n if (mutationMethod) {\n mutationMethod(node, value);\n } else if (shouldIgnoreValue(propertyInfo, value)) {\n this.deleteValueForProperty(node, name);\n return;\n } else if (propertyInfo.mustUseProperty) {\n // Contrary to `setAttribute`, object properties are properly\n // `toString`ed by IE8/9.\n node[propertyInfo.propertyName] = value;\n } else {\n var attributeName = propertyInfo.attributeName;\n var namespace = propertyInfo.attributeNamespace;\n // `setAttribute` with objects becomes only `[object]` in IE8/9,\n // ('' + value) makes it output the correct toString()-value.\n if (namespace) {\n node.setAttributeNS(namespace, attributeName, '' + value);\n } else if (propertyInfo.hasBooleanValue || propertyInfo.hasOverloadedBooleanValue && value === true) {\n node.setAttribute(attributeName, '');\n } else {\n node.setAttribute(attributeName, '' + value);\n }\n }\n } else if (DOMProperty.isCustomAttribute(name)) {\n DOMPropertyOperations.setValueForAttribute(node, name, value);\n return;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n var payload = {};\n payload[name] = value;\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: ReactDOMComponentTree.getInstanceFromNode(node)._debugID,\n type: 'update attribute',\n payload: payload\n });\n }\n },\n\n setValueForAttribute: function (node, name, value) {\n if (!isAttributeNameSafe(name)) {\n return;\n }\n if (value == null) {\n node.removeAttribute(name);\n } else {\n node.setAttribute(name, '' + value);\n }\n\n if (process.env.NODE_ENV !== 'production') {\n var payload = {};\n payload[name] = value;\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: ReactDOMComponentTree.getInstanceFromNode(node)._debugID,\n type: 'update attribute',\n payload: payload\n });\n }\n },\n\n /**\n * Deletes an attributes from a node.\n *\n * @param {DOMElement} node\n * @param {string} name\n */\n deleteValueForAttribute: function (node, name) {\n node.removeAttribute(name);\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: ReactDOMComponentTree.getInstanceFromNode(node)._debugID,\n type: 'remove attribute',\n payload: name\n });\n }\n },\n\n /**\n * Deletes the value for a property on a node.\n *\n * @param {DOMElement} node\n * @param {string} name\n */\n deleteValueForProperty: function (node, name) {\n var propertyInfo = DOMProperty.properties.hasOwnProperty(name) ? DOMProperty.properties[name] : null;\n if (propertyInfo) {\n var mutationMethod = propertyInfo.mutationMethod;\n if (mutationMethod) {\n mutationMethod(node, undefined);\n } else if (propertyInfo.mustUseProperty) {\n var propName = propertyInfo.propertyName;\n if (propertyInfo.hasBooleanValue) {\n node[propName] = false;\n } else {\n node[propName] = '';\n }\n } else {\n node.removeAttribute(propertyInfo.attributeName);\n }\n } else if (DOMProperty.isCustomAttribute(name)) {\n node.removeAttribute(name);\n }\n\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: ReactDOMComponentTree.getInstanceFromNode(node)._debugID,\n type: 'remove attribute',\n payload: name\n });\n }\n }\n};\n\nmodule.exports = DOMPropertyOperations;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/DOMPropertyOperations.js\n// module id = 93\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/DOMPropertyOperations.js?"); /***/ }), /* 94 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar ReactDOMComponentFlags = {\n hasCachedChildNodes: 1 << 0\n};\n\nmodule.exports = ReactDOMComponentFlags;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDOMComponentFlags.js\n// module id = 94\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactDOMComponentFlags.js?"); /***/ }), /* 95 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _assign = __webpack_require__(8);\n\nvar LinkedValueUtils = __webpack_require__(60);\nvar ReactDOMComponentTree = __webpack_require__(7);\nvar ReactUpdates = __webpack_require__(16);\n\nvar warning = __webpack_require__(4);\n\nvar didWarnValueLink = false;\nvar didWarnValueDefaultValue = false;\n\nfunction updateOptionsIfPendingUpdateAndMounted() {\n if (this._rootNodeID && this._wrapperState.pendingUpdate) {\n this._wrapperState.pendingUpdate = false;\n\n var props = this._currentElement.props;\n var value = LinkedValueUtils.getValue(props);\n\n if (value != null) {\n updateOptions(this, Boolean(props.multiple), value);\n }\n }\n}\n\nfunction getDeclarationErrorAddendum(owner) {\n if (owner) {\n var name = owner.getName();\n if (name) {\n return ' Check the render method of `' + name + '`.';\n }\n }\n return '';\n}\n\nvar valuePropNames = ['value', 'defaultValue'];\n\n/**\n * Validation function for `value` and `defaultValue`.\n * @private\n */\nfunction checkSelectPropTypes(inst, props) {\n var owner = inst._currentElement._owner;\n LinkedValueUtils.checkPropTypes('select', props, owner);\n\n if (props.valueLink !== undefined && !didWarnValueLink) {\n process.env.NODE_ENV !== 'production' ? warning(false, '`valueLink` prop on `select` is deprecated; set `value` and `onChange` instead.') : void 0;\n didWarnValueLink = true;\n }\n\n for (var i = 0; i < valuePropNames.length; i++) {\n var propName = valuePropNames[i];\n if (props[propName] == null) {\n continue;\n }\n var isArray = Array.isArray(props[propName]);\n if (props.multiple && !isArray) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'The `%s` prop supplied to <select> must be an array if ' + '`multiple` is true.%s', propName, getDeclarationErrorAddendum(owner)) : void 0;\n } else if (!props.multiple && isArray) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'The `%s` prop supplied to <select> must be a scalar ' + 'value if `multiple` is false.%s', propName, getDeclarationErrorAddendum(owner)) : void 0;\n }\n }\n}\n\n/**\n * @param {ReactDOMComponent} inst\n * @param {boolean} multiple\n * @param {*} propValue A stringable (with `multiple`, a list of stringables).\n * @private\n */\nfunction updateOptions(inst, multiple, propValue) {\n var selectedValue, i;\n var options = ReactDOMComponentTree.getNodeFromInstance(inst).options;\n\n if (multiple) {\n selectedValue = {};\n for (i = 0; i < propValue.length; i++) {\n selectedValue['' + propValue[i]] = true;\n }\n for (i = 0; i < options.length; i++) {\n var selected = selectedValue.hasOwnProperty(options[i].value);\n if (options[i].selected !== selected) {\n options[i].selected = selected;\n }\n }\n } else {\n // Do not set `select.value` as exact behavior isn't consistent across all\n // browsers for all cases.\n selectedValue = '' + propValue;\n for (i = 0; i < options.length; i++) {\n if (options[i].value === selectedValue) {\n options[i].selected = true;\n return;\n }\n }\n if (options.length) {\n options[0].selected = true;\n }\n }\n}\n\n/**\n * Implements a <select> host component that allows optionally setting the\n * props `value` and `defaultValue`. If `multiple` is false, the prop must be a\n * stringable. If `multiple` is true, the prop must be an array of stringables.\n *\n * If `value` is not supplied (or null/undefined), user actions that change the\n * selected option will trigger updates to the rendered options.\n *\n * If it is supplied (and not null/undefined), the rendered options will not\n * update in response to user actions. Instead, the `value` prop must change in\n * order for the rendered options to update.\n *\n * If `defaultValue` is provided, any options with the supplied values will be\n * selected.\n */\nvar ReactDOMSelect = {\n getHostProps: function (inst, props) {\n return _assign({}, props, {\n onChange: inst._wrapperState.onChange,\n value: undefined\n });\n },\n\n mountWrapper: function (inst, props) {\n if (process.env.NODE_ENV !== 'production') {\n checkSelectPropTypes(inst, props);\n }\n\n var value = LinkedValueUtils.getValue(props);\n inst._wrapperState = {\n pendingUpdate: false,\n initialValue: value != null ? value : props.defaultValue,\n listeners: null,\n onChange: _handleChange.bind(inst),\n wasMultiple: Boolean(props.multiple)\n };\n\n if (props.value !== undefined && props.defaultValue !== undefined && !didWarnValueDefaultValue) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Select elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled select ' + 'element and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components') : void 0;\n didWarnValueDefaultValue = true;\n }\n },\n\n getSelectValueContext: function (inst) {\n // ReactDOMOption looks at this initial value so the initial generated\n // markup has correct `selected` attributes\n return inst._wrapperState.initialValue;\n },\n\n postUpdateWrapper: function (inst) {\n var props = inst._currentElement.props;\n\n // After the initial mount, we control selected-ness manually so don't pass\n // this value down\n inst._wrapperState.initialValue = undefined;\n\n var wasMultiple = inst._wrapperState.wasMultiple;\n inst._wrapperState.wasMultiple = Boolean(props.multiple);\n\n var value = LinkedValueUtils.getValue(props);\n if (value != null) {\n inst._wrapperState.pendingUpdate = false;\n updateOptions(inst, Boolean(props.multiple), value);\n } else if (wasMultiple !== Boolean(props.multiple)) {\n // For simplicity, reapply `defaultValue` if `multiple` is toggled.\n if (props.defaultValue != null) {\n updateOptions(inst, Boolean(props.multiple), props.defaultValue);\n } else {\n // Revert the select back to its default unselected state.\n updateOptions(inst, Boolean(props.multiple), props.multiple ? [] : '');\n }\n }\n }\n};\n\nfunction _handleChange(event) {\n var props = this._currentElement.props;\n var returnValue = LinkedValueUtils.executeOnChange(props, event);\n\n if (this._rootNodeID) {\n this._wrapperState.pendingUpdate = true;\n }\n ReactUpdates.asap(updateOptionsIfPendingUpdateAndMounted, this);\n return returnValue;\n}\n\nmodule.exports = ReactDOMSelect;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDOMSelect.js\n// module id = 95\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactDOMSelect.js?"); /***/ }), /* 96 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar emptyComponentFactory;\n\nvar ReactEmptyComponentInjection = {\n injectEmptyComponentFactory: function (factory) {\n emptyComponentFactory = factory;\n }\n};\n\nvar ReactEmptyComponent = {\n create: function (instantiate) {\n return emptyComponentFactory(instantiate);\n }\n};\n\nReactEmptyComponent.injection = ReactEmptyComponentInjection;\n\nmodule.exports = ReactEmptyComponent;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactEmptyComponent.js\n// module id = 96\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactEmptyComponent.js?"); /***/ }), /* 97 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar ReactFeatureFlags = {\n // When true, call console.time() before and .timeEnd() after each top-level\n // render (both initial renders and updates). Useful when looking at prod-mode\n // timeline profiles in Chrome, for example.\n logTopLevelRenders: false\n};\n\nmodule.exports = ReactFeatureFlags;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactFeatureFlags.js\n// module id = 97\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactFeatureFlags.js?"); /***/ }), /* 98 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6);\n\nvar invariant = __webpack_require__(3);\n\nvar genericComponentClass = null;\nvar textComponentClass = null;\n\nvar ReactHostComponentInjection = {\n // This accepts a class that receives the tag string. This is a catch all\n // that can render any kind of tag.\n injectGenericComponentClass: function (componentClass) {\n genericComponentClass = componentClass;\n },\n // This accepts a text component class that takes the text string to be\n // rendered as props.\n injectTextComponentClass: function (componentClass) {\n textComponentClass = componentClass;\n }\n};\n\n/**\n * Get a host internal component class for a specific tag.\n *\n * @param {ReactElement} element The element to create.\n * @return {function} The internal class constructor function.\n */\nfunction createInternalComponent(element) {\n !genericComponentClass ? process.env.NODE_ENV !== 'production' ? invariant(false, 'There is no registered component for the tag %s', element.type) : _prodInvariant('111', element.type) : void 0;\n return new genericComponentClass(element);\n}\n\n/**\n * @param {ReactText} text\n * @return {ReactComponent}\n */\nfunction createInstanceForText(text) {\n return new textComponentClass(text);\n}\n\n/**\n * @param {ReactComponent} component\n * @return {boolean}\n */\nfunction isTextComponent(component) {\n return component instanceof textComponentClass;\n}\n\nvar ReactHostComponent = {\n createInternalComponent: createInternalComponent,\n createInstanceForText: createInstanceForText,\n isTextComponent: isTextComponent,\n injection: ReactHostComponentInjection\n};\n\nmodule.exports = ReactHostComponent;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactHostComponent.js\n// module id = 98\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactHostComponent.js?"); /***/ }), /* 99 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar ReactDOMSelection = __webpack_require__(191);\n\nvar containsNode = __webpack_require__(153);\nvar focusNode = __webpack_require__(87);\nvar getActiveElement = __webpack_require__(88);\n\nfunction isInDocument(node) {\n return containsNode(document.documentElement, node);\n}\n\n/**\n * @ReactInputSelection: React input selection module. Based on Selection.js,\n * but modified to be suitable for react and has a couple of bug fixes (doesn't\n * assume buttons have range selections allowed).\n * Input selection module for React.\n */\nvar ReactInputSelection = {\n hasSelectionCapabilities: function (elem) {\n var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();\n return nodeName && (nodeName === 'input' && elem.type === 'text' || nodeName === 'textarea' || elem.contentEditable === 'true');\n },\n\n getSelectionInformation: function () {\n var focusedElem = getActiveElement();\n return {\n focusedElem: focusedElem,\n selectionRange: ReactInputSelection.hasSelectionCapabilities(focusedElem) ? ReactInputSelection.getSelection(focusedElem) : null\n };\n },\n\n /**\n * @restoreSelection: If any selection information was potentially lost,\n * restore it. This is useful when performing operations that could remove dom\n * nodes and place them back in, resulting in focus being lost.\n */\n restoreSelection: function (priorSelectionInformation) {\n var curFocusedElem = getActiveElement();\n var priorFocusedElem = priorSelectionInformation.focusedElem;\n var priorSelectionRange = priorSelectionInformation.selectionRange;\n if (curFocusedElem !== priorFocusedElem && isInDocument(priorFocusedElem)) {\n if (ReactInputSelection.hasSelectionCapabilities(priorFocusedElem)) {\n ReactInputSelection.setSelection(priorFocusedElem, priorSelectionRange);\n }\n focusNode(priorFocusedElem);\n }\n },\n\n /**\n * @getSelection: Gets the selection bounds of a focused textarea, input or\n * contentEditable node.\n * -@input: Look up selection bounds of this input\n * -@return {start: selectionStart, end: selectionEnd}\n */\n getSelection: function (input) {\n var selection;\n\n if ('selectionStart' in input) {\n // Modern browser with input or textarea.\n selection = {\n start: input.selectionStart,\n end: input.selectionEnd\n };\n } else if (document.selection && input.nodeName && input.nodeName.toLowerCase() === 'input') {\n // IE8 input.\n var range = document.selection.createRange();\n // There can only be one selection per document in IE, so it must\n // be in our element.\n if (range.parentElement() === input) {\n selection = {\n start: -range.moveStart('character', -input.value.length),\n end: -range.moveEnd('character', -input.value.length)\n };\n }\n } else {\n // Content editable or old IE textarea.\n selection = ReactDOMSelection.getOffsets(input);\n }\n\n return selection || { start: 0, end: 0 };\n },\n\n /**\n * @setSelection: Sets the selection bounds of a textarea or input and focuses\n * the input.\n * -@input Set selection bounds of this input or textarea\n * -@offsets Object of same form that is returned from get*\n */\n setSelection: function (input, offsets) {\n var start = offsets.start;\n var end = offsets.end;\n if (end === undefined) {\n end = start;\n }\n\n if ('selectionStart' in input) {\n input.selectionStart = start;\n input.selectionEnd = Math.min(end, input.value.length);\n } else if (document.selection && input.nodeName && input.nodeName.toLowerCase() === 'input') {\n var range = input.createTextRange();\n range.collapse(true);\n range.moveStart('character', start);\n range.moveEnd('character', end - start);\n range.select();\n } else {\n ReactDOMSelection.setOffsets(input, offsets);\n }\n }\n};\n\nmodule.exports = ReactInputSelection;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactInputSelection.js\n// module id = 99\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactInputSelection.js?"); /***/ }), /* 100 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6);\n\nvar DOMLazyTree = __webpack_require__(29);\nvar DOMProperty = __webpack_require__(23);\nvar React = __webpack_require__(31);\nvar ReactBrowserEventEmitter = __webpack_require__(46);\nvar ReactCurrentOwner = __webpack_require__(17);\nvar ReactDOMComponentTree = __webpack_require__(7);\nvar ReactDOMContainerInfo = __webpack_require__(183);\nvar ReactDOMFeatureFlags = __webpack_require__(185);\nvar ReactFeatureFlags = __webpack_require__(97);\nvar ReactInstanceMap = __webpack_require__(37);\nvar ReactInstrumentation = __webpack_require__(15);\nvar ReactMarkupChecksum = __webpack_require__(205);\nvar ReactReconciler = __webpack_require__(30);\nvar ReactUpdateQueue = __webpack_require__(63);\nvar ReactUpdates = __webpack_require__(16);\n\nvar emptyObject = __webpack_require__(44);\nvar instantiateReactComponent = __webpack_require__(109);\nvar invariant = __webpack_require__(3);\nvar setInnerHTML = __webpack_require__(50);\nvar shouldUpdateReactComponent = __webpack_require__(69);\nvar warning = __webpack_require__(4);\n\nvar ATTR_NAME = DOMProperty.ID_ATTRIBUTE_NAME;\nvar ROOT_ATTR_NAME = DOMProperty.ROOT_ATTRIBUTE_NAME;\n\nvar ELEMENT_NODE_TYPE = 1;\nvar DOC_NODE_TYPE = 9;\nvar DOCUMENT_FRAGMENT_NODE_TYPE = 11;\n\nvar instancesByReactRootID = {};\n\n/**\n * Finds the index of the first character\n * that's not common between the two given strings.\n *\n * @return {number} the index of the character where the strings diverge\n */\nfunction firstDifferenceIndex(string1, string2) {\n var minLen = Math.min(string1.length, string2.length);\n for (var i = 0; i < minLen; i++) {\n if (string1.charAt(i) !== string2.charAt(i)) {\n return i;\n }\n }\n return string1.length === string2.length ? -1 : minLen;\n}\n\n/**\n * @param {DOMElement|DOMDocument} container DOM element that may contain\n * a React component\n * @return {?*} DOM element that may have the reactRoot ID, or null.\n */\nfunction getReactRootElementInContainer(container) {\n if (!container) {\n return null;\n }\n\n if (container.nodeType === DOC_NODE_TYPE) {\n return container.documentElement;\n } else {\n return container.firstChild;\n }\n}\n\nfunction internalGetID(node) {\n // If node is something like a window, document, or text node, none of\n // which support attributes or a .getAttribute method, gracefully return\n // the empty string, as if the attribute were missing.\n return node.getAttribute && node.getAttribute(ATTR_NAME) || '';\n}\n\n/**\n * Mounts this component and inserts it into the DOM.\n *\n * @param {ReactComponent} componentInstance The instance to mount.\n * @param {DOMElement} container DOM element to mount into.\n * @param {ReactReconcileTransaction} transaction\n * @param {boolean} shouldReuseMarkup If true, do not insert markup\n */\nfunction mountComponentIntoNode(wrapperInstance, container, transaction, shouldReuseMarkup, context) {\n var markerName;\n if (ReactFeatureFlags.logTopLevelRenders) {\n var wrappedElement = wrapperInstance._currentElement.props.child;\n var type = wrappedElement.type;\n markerName = 'React mount: ' + (typeof type === 'string' ? type : type.displayName || type.name);\n console.time(markerName);\n }\n\n var markup = ReactReconciler.mountComponent(wrapperInstance, transaction, null, ReactDOMContainerInfo(wrapperInstance, container), context, 0 /* parentDebugID */\n );\n\n if (markerName) {\n console.timeEnd(markerName);\n }\n\n wrapperInstance._renderedComponent._topLevelWrapper = wrapperInstance;\n ReactMount._mountImageIntoNode(markup, container, wrapperInstance, shouldReuseMarkup, transaction);\n}\n\n/**\n * Batched mount.\n *\n * @param {ReactComponent} componentInstance The instance to mount.\n * @param {DOMElement} container DOM element to mount into.\n * @param {boolean} shouldReuseMarkup If true, do not insert markup\n */\nfunction batchedMountComponentIntoNode(componentInstance, container, shouldReuseMarkup, context) {\n var transaction = ReactUpdates.ReactReconcileTransaction.getPooled(\n /* useCreateElement */\n !shouldReuseMarkup && ReactDOMFeatureFlags.useCreateElement);\n transaction.perform(mountComponentIntoNode, null, componentInstance, container, transaction, shouldReuseMarkup, context);\n ReactUpdates.ReactReconcileTransaction.release(transaction);\n}\n\n/**\n * Unmounts a component and removes it from the DOM.\n *\n * @param {ReactComponent} instance React component instance.\n * @param {DOMElement} container DOM element to unmount from.\n * @final\n * @internal\n * @see {ReactMount.unmountComponentAtNode}\n */\nfunction unmountComponentFromNode(instance, container, safely) {\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onBeginFlush();\n }\n ReactReconciler.unmountComponent(instance, safely);\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onEndFlush();\n }\n\n if (container.nodeType === DOC_NODE_TYPE) {\n container = container.documentElement;\n }\n\n // https://jsperf.com/emptying-a-node\n while (container.lastChild) {\n container.removeChild(container.lastChild);\n }\n}\n\n/**\n * True if the supplied DOM node has a direct React-rendered child that is\n * not a React root element. Useful for warning in `render`,\n * `unmountComponentAtNode`, etc.\n *\n * @param {?DOMElement} node The candidate DOM node.\n * @return {boolean} True if the DOM element contains a direct child that was\n * rendered by React but is not a root element.\n * @internal\n */\nfunction hasNonRootReactChild(container) {\n var rootEl = getReactRootElementInContainer(container);\n if (rootEl) {\n var inst = ReactDOMComponentTree.getInstanceFromNode(rootEl);\n return !!(inst && inst._hostParent);\n }\n}\n\n/**\n * True if the supplied DOM node is a React DOM element and\n * it has been rendered by another copy of React.\n *\n * @param {?DOMElement} node The candidate DOM node.\n * @return {boolean} True if the DOM has been rendered by another copy of React\n * @internal\n */\nfunction nodeIsRenderedByOtherInstance(container) {\n var rootEl = getReactRootElementInContainer(container);\n return !!(rootEl && isReactNode(rootEl) && !ReactDOMComponentTree.getInstanceFromNode(rootEl));\n}\n\n/**\n * True if the supplied DOM node is a valid node element.\n *\n * @param {?DOMElement} node The candidate DOM node.\n * @return {boolean} True if the DOM is a valid DOM node.\n * @internal\n */\nfunction isValidContainer(node) {\n return !!(node && (node.nodeType === ELEMENT_NODE_TYPE || node.nodeType === DOC_NODE_TYPE || node.nodeType === DOCUMENT_FRAGMENT_NODE_TYPE));\n}\n\n/**\n * True if the supplied DOM node is a valid React node element.\n *\n * @param {?DOMElement} node The candidate DOM node.\n * @return {boolean} True if the DOM is a valid React DOM node.\n * @internal\n */\nfunction isReactNode(node) {\n return isValidContainer(node) && (node.hasAttribute(ROOT_ATTR_NAME) || node.hasAttribute(ATTR_NAME));\n}\n\nfunction getHostRootInstanceInContainer(container) {\n var rootEl = getReactRootElementInContainer(container);\n var prevHostInstance = rootEl && ReactDOMComponentTree.getInstanceFromNode(rootEl);\n return prevHostInstance && !prevHostInstance._hostParent ? prevHostInstance : null;\n}\n\nfunction getTopLevelWrapperInContainer(container) {\n var root = getHostRootInstanceInContainer(container);\n return root ? root._hostContainerInfo._topLevelWrapper : null;\n}\n\n/**\n * Temporary (?) hack so that we can store all top-level pending updates on\n * composites instead of having to worry about different types of components\n * here.\n */\nvar topLevelRootCounter = 1;\nvar TopLevelWrapper = function () {\n this.rootID = topLevelRootCounter++;\n};\nTopLevelWrapper.prototype.isReactComponent = {};\nif (process.env.NODE_ENV !== 'production') {\n TopLevelWrapper.displayName = 'TopLevelWrapper';\n}\nTopLevelWrapper.prototype.render = function () {\n return this.props.child;\n};\nTopLevelWrapper.isReactTopLevelWrapper = true;\n\n/**\n * Mounting is the process of initializing a React component by creating its\n * representative DOM elements and inserting them into a supplied `container`.\n * Any prior content inside `container` is destroyed in the process.\n *\n * ReactMount.render(\n * component,\n * document.getElementById('container')\n * );\n *\n * <div id=\"container\"> <-- Supplied `container`.\n * <div data-reactid=\".3\"> <-- Rendered reactRoot of React\n * // ... component.\n * </div>\n * </div>\n *\n * Inside of `container`, the first element rendered is the \"reactRoot\".\n */\nvar ReactMount = {\n TopLevelWrapper: TopLevelWrapper,\n\n /**\n * Used by devtools. The keys are not important.\n */\n _instancesByReactRootID: instancesByReactRootID,\n\n /**\n * This is a hook provided to support rendering React components while\n * ensuring that the apparent scroll position of its `container` does not\n * change.\n *\n * @param {DOMElement} container The `container` being rendered into.\n * @param {function} renderCallback This must be called once to do the render.\n */\n scrollMonitor: function (container, renderCallback) {\n renderCallback();\n },\n\n /**\n * Take a component that's already mounted into the DOM and replace its props\n * @param {ReactComponent} prevComponent component instance already in the DOM\n * @param {ReactElement} nextElement component instance to render\n * @param {DOMElement} container container to render into\n * @param {?function} callback function triggered on completion\n */\n _updateRootComponent: function (prevComponent, nextElement, nextContext, container, callback) {\n ReactMount.scrollMonitor(container, function () {\n ReactUpdateQueue.enqueueElementInternal(prevComponent, nextElement, nextContext);\n if (callback) {\n ReactUpdateQueue.enqueueCallbackInternal(prevComponent, callback);\n }\n });\n\n return prevComponent;\n },\n\n /**\n * Render a new component into the DOM. Hooked by hooks!\n *\n * @param {ReactElement} nextElement element to render\n * @param {DOMElement} container container to render into\n * @param {boolean} shouldReuseMarkup if we should skip the markup insertion\n * @return {ReactComponent} nextComponent\n */\n _renderNewRootComponent: function (nextElement, container, shouldReuseMarkup, context) {\n // Various parts of our code (such as ReactCompositeComponent's\n // _renderValidatedComponent) assume that calls to render aren't nested;\n // verify that that's the case.\n process.env.NODE_ENV !== 'production' ? warning(ReactCurrentOwner.current == null, '_renderNewRootComponent(): Render methods should be a pure function ' + 'of props and state; triggering nested component updates from ' + 'render is not allowed. If necessary, trigger nested updates in ' + 'componentDidUpdate. Check the render method of %s.', ReactCurrentOwner.current && ReactCurrentOwner.current.getName() || 'ReactCompositeComponent') : void 0;\n\n !isValidContainer(container) ? process.env.NODE_ENV !== 'production' ? invariant(false, '_registerComponent(...): Target container is not a DOM element.') : _prodInvariant('37') : void 0;\n\n ReactBrowserEventEmitter.ensureScrollValueMonitoring();\n var componentInstance = instantiateReactComponent(nextElement, false);\n\n // The initial render is synchronous but any updates that happen during\n // rendering, in componentWillMount or componentDidMount, will be batched\n // according to the current batching strategy.\n\n ReactUpdates.batchedUpdates(batchedMountComponentIntoNode, componentInstance, container, shouldReuseMarkup, context);\n\n var wrapperID = componentInstance._instance.rootID;\n instancesByReactRootID[wrapperID] = componentInstance;\n\n return componentInstance;\n },\n\n /**\n * Renders a React component into the DOM in the supplied `container`.\n *\n * If the React component was previously rendered into `container`, this will\n * perform an update on it and only mutate the DOM as necessary to reflect the\n * latest React component.\n *\n * @param {ReactComponent} parentComponent The conceptual parent of this render tree.\n * @param {ReactElement} nextElement Component element to render.\n * @param {DOMElement} container DOM element to render into.\n * @param {?function} callback function triggered on completion\n * @return {ReactComponent} Component instance rendered in `container`.\n */\n renderSubtreeIntoContainer: function (parentComponent, nextElement, container, callback) {\n !(parentComponent != null && ReactInstanceMap.has(parentComponent)) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'parentComponent must be a valid React Component') : _prodInvariant('38') : void 0;\n return ReactMount._renderSubtreeIntoContainer(parentComponent, nextElement, container, callback);\n },\n\n _renderSubtreeIntoContainer: function (parentComponent, nextElement, container, callback) {\n ReactUpdateQueue.validateCallback(callback, 'ReactDOM.render');\n !React.isValidElement(nextElement) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactDOM.render(): Invalid component element.%s', typeof nextElement === 'string' ? \" Instead of passing a string like 'div', pass \" + \"React.createElement('div') or <div />.\" : typeof nextElement === 'function' ? ' Instead of passing a class like Foo, pass ' + 'React.createElement(Foo) or <Foo />.' : // Check if it quacks like an element\n nextElement != null && nextElement.props !== undefined ? ' This may be caused by unintentionally loading two independent ' + 'copies of React.' : '') : _prodInvariant('39', typeof nextElement === 'string' ? \" Instead of passing a string like 'div', pass \" + \"React.createElement('div') or <div />.\" : typeof nextElement === 'function' ? ' Instead of passing a class like Foo, pass ' + 'React.createElement(Foo) or <Foo />.' : nextElement != null && nextElement.props !== undefined ? ' This may be caused by unintentionally loading two independent ' + 'copies of React.' : '') : void 0;\n\n process.env.NODE_ENV !== 'production' ? warning(!container || !container.tagName || container.tagName.toUpperCase() !== 'BODY', 'render(): Rendering components directly into document.body is ' + 'discouraged, since its children are often manipulated by third-party ' + 'scripts and browser extensions. This may lead to subtle ' + 'reconciliation issues. Try rendering into a container element created ' + 'for your app.') : void 0;\n\n var nextWrappedElement = React.createElement(TopLevelWrapper, {\n child: nextElement\n });\n\n var nextContext;\n if (parentComponent) {\n var parentInst = ReactInstanceMap.get(parentComponent);\n nextContext = parentInst._processChildContext(parentInst._context);\n } else {\n nextContext = emptyObject;\n }\n\n var prevComponent = getTopLevelWrapperInContainer(container);\n\n if (prevComponent) {\n var prevWrappedElement = prevComponent._currentElement;\n var prevElement = prevWrappedElement.props.child;\n if (shouldUpdateReactComponent(prevElement, nextElement)) {\n var publicInst = prevComponent._renderedComponent.getPublicInstance();\n var updatedCallback = callback && function () {\n callback.call(publicInst);\n };\n ReactMount._updateRootComponent(prevComponent, nextWrappedElement, nextContext, container, updatedCallback);\n return publicInst;\n } else {\n ReactMount.unmountComponentAtNode(container);\n }\n }\n\n var reactRootElement = getReactRootElementInContainer(container);\n var containerHasReactMarkup = reactRootElement && !!internalGetID(reactRootElement);\n var containerHasNonRootReactChild = hasNonRootReactChild(container);\n\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(!containerHasNonRootReactChild, 'render(...): Replacing React-rendered children with a new root ' + 'component. If you intended to update the children of this node, ' + 'you should instead have the existing children update their state ' + 'and render the new components instead of calling ReactDOM.render.') : void 0;\n\n if (!containerHasReactMarkup || reactRootElement.nextSibling) {\n var rootElementSibling = reactRootElement;\n while (rootElementSibling) {\n if (internalGetID(rootElementSibling)) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'render(): Target node has markup rendered by React, but there ' + 'are unrelated nodes as well. This is most commonly caused by ' + 'white-space inserted around server-rendered markup.') : void 0;\n break;\n }\n rootElementSibling = rootElementSibling.nextSibling;\n }\n }\n }\n\n var shouldReuseMarkup = containerHasReactMarkup && !prevComponent && !containerHasNonRootReactChild;\n var component = ReactMount._renderNewRootComponent(nextWrappedElement, container, shouldReuseMarkup, nextContext)._renderedComponent.getPublicInstance();\n if (callback) {\n callback.call(component);\n }\n return component;\n },\n\n /**\n * Renders a React component into the DOM in the supplied `container`.\n * See https://facebook.github.io/react/docs/top-level-api.html#reactdom.render\n *\n * If the React component was previously rendered into `container`, this will\n * perform an update on it and only mutate the DOM as necessary to reflect the\n * latest React component.\n *\n * @param {ReactElement} nextElement Component element to render.\n * @param {DOMElement} container DOM element to render into.\n * @param {?function} callback function triggered on completion\n * @return {ReactComponent} Component instance rendered in `container`.\n */\n render: function (nextElement, container, callback) {\n return ReactMount._renderSubtreeIntoContainer(null, nextElement, container, callback);\n },\n\n /**\n * Unmounts and destroys the React component rendered in the `container`.\n * See https://facebook.github.io/react/docs/top-level-api.html#reactdom.unmountcomponentatnode\n *\n * @param {DOMElement} container DOM element containing a React component.\n * @return {boolean} True if a component was found in and unmounted from\n * `container`\n */\n unmountComponentAtNode: function (container) {\n // Various parts of our code (such as ReactCompositeComponent's\n // _renderValidatedComponent) assume that calls to render aren't nested;\n // verify that that's the case. (Strictly speaking, unmounting won't cause a\n // render but we still don't expect to be in a render call here.)\n process.env.NODE_ENV !== 'production' ? warning(ReactCurrentOwner.current == null, 'unmountComponentAtNode(): Render methods should be a pure function ' + 'of props and state; triggering nested component updates from render ' + 'is not allowed. If necessary, trigger nested updates in ' + 'componentDidUpdate. Check the render method of %s.', ReactCurrentOwner.current && ReactCurrentOwner.current.getName() || 'ReactCompositeComponent') : void 0;\n\n !isValidContainer(container) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'unmountComponentAtNode(...): Target container is not a DOM element.') : _prodInvariant('40') : void 0;\n\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(!nodeIsRenderedByOtherInstance(container), \"unmountComponentAtNode(): The node you're attempting to unmount \" + 'was rendered by another copy of React.') : void 0;\n }\n\n var prevComponent = getTopLevelWrapperInContainer(container);\n if (!prevComponent) {\n // Check if the node being unmounted was rendered by React, but isn't a\n // root node.\n var containerHasNonRootReactChild = hasNonRootReactChild(container);\n\n // Check if the container itself is a React root node.\n var isContainerReactRoot = container.nodeType === 1 && container.hasAttribute(ROOT_ATTR_NAME);\n\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(!containerHasNonRootReactChild, \"unmountComponentAtNode(): The node you're attempting to unmount \" + 'was rendered by React and is not a top-level container. %s', isContainerReactRoot ? 'You may have accidentally passed in a React root node instead ' + 'of its container.' : 'Instead, have the parent component update its state and ' + 'rerender in order to remove this component.') : void 0;\n }\n\n return false;\n }\n delete instancesByReactRootID[prevComponent._instance.rootID];\n ReactUpdates.batchedUpdates(unmountComponentFromNode, prevComponent, container, false);\n return true;\n },\n\n _mountImageIntoNode: function (markup, container, instance, shouldReuseMarkup, transaction) {\n !isValidContainer(container) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'mountComponentIntoNode(...): Target container is not valid.') : _prodInvariant('41') : void 0;\n\n if (shouldReuseMarkup) {\n var rootElement = getReactRootElementInContainer(container);\n if (ReactMarkupChecksum.canReuseMarkup(markup, rootElement)) {\n ReactDOMComponentTree.precacheNode(instance, rootElement);\n return;\n } else {\n var checksum = rootElement.getAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME);\n rootElement.removeAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME);\n\n var rootMarkup = rootElement.outerHTML;\n rootElement.setAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME, checksum);\n\n var normalizedMarkup = markup;\n if (process.env.NODE_ENV !== 'production') {\n // because rootMarkup is retrieved from the DOM, various normalizations\n // will have occurred which will not be present in `markup`. Here,\n // insert markup into a <div> or <iframe> depending on the container\n // type to perform the same normalizations before comparing.\n var normalizer;\n if (container.nodeType === ELEMENT_NODE_TYPE) {\n normalizer = document.createElement('div');\n normalizer.innerHTML = markup;\n normalizedMarkup = normalizer.innerHTML;\n } else {\n normalizer = document.createElement('iframe');\n document.body.appendChild(normalizer);\n normalizer.contentDocument.write(markup);\n normalizedMarkup = normalizer.contentDocument.documentElement.outerHTML;\n document.body.removeChild(normalizer);\n }\n }\n\n var diffIndex = firstDifferenceIndex(normalizedMarkup, rootMarkup);\n var difference = ' (client) ' + normalizedMarkup.substring(diffIndex - 20, diffIndex + 20) + '\\n (server) ' + rootMarkup.substring(diffIndex - 20, diffIndex + 20);\n\n !(container.nodeType !== DOC_NODE_TYPE) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'You\\'re trying to render a component to the document using server rendering but the checksum was invalid. This usually means you rendered a different component type or props on the client from the one on the server, or your render() methods are impure. React cannot handle this case due to cross-browser quirks by rendering at the document root. You should look for environment dependent code in your components and ensure the props are the same client and server side:\\n%s', difference) : _prodInvariant('42', difference) : void 0;\n\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(false, 'React attempted to reuse markup in a container but the ' + 'checksum was invalid. This generally means that you are ' + 'using server rendering and the markup generated on the ' + 'server was not what the client was expecting. React injected ' + 'new markup to compensate which works but you have lost many ' + 'of the benefits of server rendering. Instead, figure out ' + 'why the markup being generated is different on the client ' + 'or server:\\n%s', difference) : void 0;\n }\n }\n }\n\n !(container.nodeType !== DOC_NODE_TYPE) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'You\\'re trying to render a component to the document but you didn\\'t use server rendering. We can\\'t do this without using server rendering due to cross-browser quirks. See ReactDOMServer.renderToString() for server rendering.') : _prodInvariant('43') : void 0;\n\n if (transaction.useCreateElement) {\n while (container.lastChild) {\n container.removeChild(container.lastChild);\n }\n DOMLazyTree.insertTreeBefore(container, markup, null);\n } else {\n setInnerHTML(container, markup);\n ReactDOMComponentTree.precacheNode(instance, container.firstChild);\n }\n\n if (process.env.NODE_ENV !== 'production') {\n var hostNode = ReactDOMComponentTree.getInstanceFromNode(container.firstChild);\n if (hostNode._debugID !== 0) {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: hostNode._debugID,\n type: 'mount',\n payload: markup.toString()\n });\n }\n }\n }\n};\n\nmodule.exports = ReactMount;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactMount.js\n// module id = 100\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactMount.js?"); /***/ }), /* 101 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6);\n\nvar React = __webpack_require__(31);\n\nvar invariant = __webpack_require__(3);\n\nvar ReactNodeTypes = {\n HOST: 0,\n COMPOSITE: 1,\n EMPTY: 2,\n\n getType: function (node) {\n if (node === null || node === false) {\n return ReactNodeTypes.EMPTY;\n } else if (React.isValidElement(node)) {\n if (typeof node.type === 'function') {\n return ReactNodeTypes.COMPOSITE;\n } else {\n return ReactNodeTypes.HOST;\n }\n }\n true ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Unexpected node: %s', node) : _prodInvariant('26', node) : void 0;\n }\n};\n\nmodule.exports = ReactNodeTypes;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactNodeTypes.js\n// module id = 101\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactNodeTypes.js?"); /***/ }), /* 102 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactPropTypesSecret.js\n// module id = 102\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactPropTypesSecret.js?"); /***/ }), /* 103 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar ViewportMetrics = {\n currentScrollLeft: 0,\n\n currentScrollTop: 0,\n\n refreshScrollValues: function (scrollPosition) {\n ViewportMetrics.currentScrollLeft = scrollPosition.x;\n ViewportMetrics.currentScrollTop = scrollPosition.y;\n }\n};\n\nmodule.exports = ViewportMetrics;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ViewportMetrics.js\n// module id = 103\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ViewportMetrics.js?"); /***/ }), /* 104 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6);\n\nvar invariant = __webpack_require__(3);\n\n/**\n * Accumulates items that must not be null or undefined into the first one. This\n * is used to conserve memory by avoiding array allocations, and thus sacrifices\n * API cleanness. Since `current` can be null before being passed in and not\n * null after this function, make sure to assign it back to `current`:\n *\n * `a = accumulateInto(a, b);`\n *\n * This API should be sparingly used. Try `accumulate` for something cleaner.\n *\n * @return {*|array<*>} An accumulation of items.\n */\n\nfunction accumulateInto(current, next) {\n !(next != null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'accumulateInto(...): Accumulated items must not be null or undefined.') : _prodInvariant('30') : void 0;\n\n if (current == null) {\n return next;\n }\n\n // Both are not empty. Warning: Never call x.concat(y) when you are not\n // certain that x is an Array (x could be a string with concat method).\n if (Array.isArray(current)) {\n if (Array.isArray(next)) {\n current.push.apply(current, next);\n return current;\n }\n current.push(next);\n return current;\n }\n\n if (Array.isArray(next)) {\n // A bit too dangerous to mutate `next`.\n return [current].concat(next);\n }\n\n return [current, next];\n}\n\nmodule.exports = accumulateInto;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/accumulateInto.js\n// module id = 104\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/accumulateInto.js?"); /***/ }), /* 105 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\n/**\n * @param {array} arr an \"accumulation\" of items which is either an Array or\n * a single item. Useful when paired with the `accumulate` module. This is a\n * simple utility that allows us to reason about a collection of items, but\n * handling the case when there is exactly one item (and we do not need to\n * allocate an array).\n */\n\nfunction forEachAccumulated(arr, cb, scope) {\n if (Array.isArray(arr)) {\n arr.forEach(cb, scope);\n } else if (arr) {\n cb.call(scope, arr);\n }\n}\n\nmodule.exports = forEachAccumulated;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/forEachAccumulated.js\n// module id = 105\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/forEachAccumulated.js?"); /***/ }), /* 106 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar ReactNodeTypes = __webpack_require__(101);\n\nfunction getHostComponentFromComposite(inst) {\n var type;\n\n while ((type = inst._renderedNodeType) === ReactNodeTypes.COMPOSITE) {\n inst = inst._renderedComponent;\n }\n\n if (type === ReactNodeTypes.HOST) {\n return inst._renderedComponent;\n } else if (type === ReactNodeTypes.EMPTY) {\n return null;\n }\n}\n\nmodule.exports = getHostComponentFromComposite;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/getHostComponentFromComposite.js\n// module id = 106\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/getHostComponentFromComposite.js?"); /***/ }), /* 107 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar ExecutionEnvironment = __webpack_require__(9);\n\nvar contentKey = null;\n\n/**\n * Gets the key used to access text content on a DOM node.\n *\n * @return {?string} Key used to access text content.\n * @internal\n */\nfunction getTextContentAccessor() {\n if (!contentKey && ExecutionEnvironment.canUseDOM) {\n // Prefer textContent to innerText because many browsers support both but\n // SVG <text> elements don't support innerText even when <div> does.\n contentKey = 'textContent' in document.documentElement ? 'textContent' : 'innerText';\n }\n return contentKey;\n}\n\nmodule.exports = getTextContentAccessor;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/getTextContentAccessor.js\n// module id = 107\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/getTextContentAccessor.js?"); /***/ }), /* 108 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar ReactDOMComponentTree = __webpack_require__(7);\n\nfunction isCheckable(elem) {\n var type = elem.type;\n var nodeName = elem.nodeName;\n return nodeName && nodeName.toLowerCase() === 'input' && (type === 'checkbox' || type === 'radio');\n}\n\nfunction getTracker(inst) {\n return inst._wrapperState.valueTracker;\n}\n\nfunction attachTracker(inst, tracker) {\n inst._wrapperState.valueTracker = tracker;\n}\n\nfunction detachTracker(inst) {\n inst._wrapperState.valueTracker = null;\n}\n\nfunction getValueFromNode(node) {\n var value;\n if (node) {\n value = isCheckable(node) ? '' + node.checked : node.value;\n }\n return value;\n}\n\nvar inputValueTracking = {\n // exposed for testing\n _getTrackerFromNode: function (node) {\n return getTracker(ReactDOMComponentTree.getInstanceFromNode(node));\n },\n\n\n track: function (inst) {\n if (getTracker(inst)) {\n return;\n }\n\n var node = ReactDOMComponentTree.getNodeFromInstance(inst);\n var valueField = isCheckable(node) ? 'checked' : 'value';\n var descriptor = Object.getOwnPropertyDescriptor(node.constructor.prototype, valueField);\n\n var currentValue = '' + node[valueField];\n\n // if someone has already defined a value or Safari, then bail\n // and don't track value will cause over reporting of changes,\n // but it's better then a hard failure\n // (needed for certain tests that spyOn input values and Safari)\n if (node.hasOwnProperty(valueField) || typeof descriptor.get !== 'function' || typeof descriptor.set !== 'function') {\n return;\n }\n\n Object.defineProperty(node, valueField, {\n enumerable: descriptor.enumerable,\n configurable: true,\n get: function () {\n return descriptor.get.call(this);\n },\n set: function (value) {\n currentValue = '' + value;\n descriptor.set.call(this, value);\n }\n });\n\n attachTracker(inst, {\n getValue: function () {\n return currentValue;\n },\n setValue: function (value) {\n currentValue = '' + value;\n },\n stopTracking: function () {\n detachTracker(inst);\n delete node[valueField];\n }\n });\n },\n\n updateValueIfChanged: function (inst) {\n if (!inst) {\n return false;\n }\n var tracker = getTracker(inst);\n\n if (!tracker) {\n inputValueTracking.track(inst);\n return true;\n }\n\n var lastValue = tracker.getValue();\n var nextValue = getValueFromNode(ReactDOMComponentTree.getNodeFromInstance(inst));\n\n if (nextValue !== lastValue) {\n tracker.setValue(nextValue);\n return true;\n }\n\n return false;\n },\n stopTracking: function (inst) {\n var tracker = getTracker(inst);\n if (tracker) {\n tracker.stopTracking();\n }\n }\n};\n\nmodule.exports = inputValueTracking;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/inputValueTracking.js\n// module id = 108\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/inputValueTracking.js?"); /***/ }), /* 109 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6),\n _assign = __webpack_require__(8);\n\nvar ReactCompositeComponent = __webpack_require__(180);\nvar ReactEmptyComponent = __webpack_require__(96);\nvar ReactHostComponent = __webpack_require__(98);\n\nvar getNextDebugID = __webpack_require__(248);\nvar invariant = __webpack_require__(3);\nvar warning = __webpack_require__(4);\n\n// To avoid a cyclic dependency, we create the final class in this module\nvar ReactCompositeComponentWrapper = function (element) {\n this.construct(element);\n};\n\nfunction getDeclarationErrorAddendum(owner) {\n if (owner) {\n var name = owner.getName();\n if (name) {\n return ' Check the render method of `' + name + '`.';\n }\n }\n return '';\n}\n\n/**\n * Check if the type reference is a known internal type. I.e. not a user\n * provided composite type.\n *\n * @param {function} type\n * @return {boolean} Returns true if this is a valid internal type.\n */\nfunction isInternalComponentType(type) {\n return typeof type === 'function' && typeof type.prototype !== 'undefined' && typeof type.prototype.mountComponent === 'function' && typeof type.prototype.receiveComponent === 'function';\n}\n\n/**\n * Given a ReactNode, create an instance that will actually be mounted.\n *\n * @param {ReactNode} node\n * @param {boolean} shouldHaveDebugID\n * @return {object} A new instance of the element's constructor.\n * @protected\n */\nfunction instantiateReactComponent(node, shouldHaveDebugID) {\n var instance;\n\n if (node === null || node === false) {\n instance = ReactEmptyComponent.create(instantiateReactComponent);\n } else if (typeof node === 'object') {\n var element = node;\n var type = element.type;\n if (typeof type !== 'function' && typeof type !== 'string') {\n var info = '';\n if (process.env.NODE_ENV !== 'production') {\n if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n info += ' You likely forgot to export your component from the file ' + \"it's defined in.\";\n }\n }\n info += getDeclarationErrorAddendum(element._owner);\n true ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s', type == null ? type : typeof type, info) : _prodInvariant('130', type == null ? type : typeof type, info) : void 0;\n }\n\n // Special case string values\n if (typeof element.type === 'string') {\n instance = ReactHostComponent.createInternalComponent(element);\n } else if (isInternalComponentType(element.type)) {\n // This is temporarily available for custom components that are not string\n // representations. I.e. ART. Once those are updated to use the string\n // representation, we can drop this code path.\n instance = new element.type(element);\n\n // We renamed this. Allow the old name for compat. :(\n if (!instance.getHostNode) {\n instance.getHostNode = instance.getNativeNode;\n }\n } else {\n instance = new ReactCompositeComponentWrapper(element);\n }\n } else if (typeof node === 'string' || typeof node === 'number') {\n instance = ReactHostComponent.createInstanceForText(node);\n } else {\n true ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Encountered invalid React node of type %s', typeof node) : _prodInvariant('131', typeof node) : void 0;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(typeof instance.mountComponent === 'function' && typeof instance.receiveComponent === 'function' && typeof instance.getHostNode === 'function' && typeof instance.unmountComponent === 'function', 'Only React Components can be mounted.') : void 0;\n }\n\n // These two fields are used by the DOM and ART diffing algorithms\n // respectively. Instead of using expandos on components, we should be\n // storing the state needed by the diffing algorithms elsewhere.\n instance._mountIndex = 0;\n instance._mountImage = null;\n\n if (process.env.NODE_ENV !== 'production') {\n instance._debugID = shouldHaveDebugID ? getNextDebugID() : 0;\n }\n\n // Internal instances should fully constructed at this point, so they should\n // not get any new fields added to them at this point.\n if (process.env.NODE_ENV !== 'production') {\n if (Object.preventExtensions) {\n Object.preventExtensions(instance);\n }\n }\n\n return instance;\n}\n\n_assign(ReactCompositeComponentWrapper.prototype, ReactCompositeComponent, {\n _instantiateReactComponent: instantiateReactComponent\n});\n\nmodule.exports = instantiateReactComponent;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/instantiateReactComponent.js\n// module id = 109\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/instantiateReactComponent.js?"); /***/ }), /* 110 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\n/**\n * @see https://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary\n */\n\nvar supportedInputTypes = {\n color: true,\n date: true,\n datetime: true,\n 'datetime-local': true,\n email: true,\n month: true,\n number: true,\n password: true,\n range: true,\n search: true,\n tel: true,\n text: true,\n time: true,\n url: true,\n week: true\n};\n\nfunction isTextInputElement(elem) {\n var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();\n\n if (nodeName === 'input') {\n return !!supportedInputTypes[elem.type];\n }\n\n if (nodeName === 'textarea') {\n return true;\n }\n\n return false;\n}\n\nmodule.exports = isTextInputElement;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/isTextInputElement.js\n// module id = 110\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/isTextInputElement.js?"); /***/ }), /* 111 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar ExecutionEnvironment = __webpack_require__(9);\nvar escapeTextContentForBrowser = __webpack_require__(49);\nvar setInnerHTML = __webpack_require__(50);\n\n/**\n * Set the textContent property of a node, ensuring that whitespace is preserved\n * even in IE8. innerText is a poor substitute for textContent and, among many\n * issues, inserts <br> instead of the literal newline chars. innerHTML behaves\n * as it should.\n *\n * @param {DOMElement} node\n * @param {string} text\n * @internal\n */\nvar setTextContent = function (node, text) {\n if (text) {\n var firstChild = node.firstChild;\n\n if (firstChild && firstChild === node.lastChild && firstChild.nodeType === 3) {\n firstChild.nodeValue = text;\n return;\n }\n }\n node.textContent = text;\n};\n\nif (ExecutionEnvironment.canUseDOM) {\n if (!('textContent' in document.documentElement)) {\n setTextContent = function (node, text) {\n if (node.nodeType === 3) {\n node.nodeValue = text;\n return;\n }\n setInnerHTML(node, escapeTextContentForBrowser(text));\n };\n }\n}\n\nmodule.exports = setTextContent;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/setTextContent.js\n// module id = 111\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/setTextContent.js?"); /***/ }), /* 112 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6);\n\nvar ReactCurrentOwner = __webpack_require__(17);\nvar REACT_ELEMENT_TYPE = __webpack_require__(199);\n\nvar getIteratorFn = __webpack_require__(233);\nvar invariant = __webpack_require__(3);\nvar KeyEscapeUtils = __webpack_require__(59);\nvar warning = __webpack_require__(4);\n\nvar SEPARATOR = '.';\nvar SUBSEPARATOR = ':';\n\n/**\n * This is inlined from ReactElement since this file is shared between\n * isomorphic and renderers. We could extract this to a\n *\n */\n\n/**\n * TODO: Test that a single child and an array with one item have the same key\n * pattern.\n */\n\nvar didWarnAboutMaps = false;\n\n/**\n * Generate a key string that identifies a component within a set.\n *\n * @param {*} component A component that could contain a manual key.\n * @param {number} index Index that is used if a manual key is not provided.\n * @return {string}\n */\nfunction getComponentKey(component, index) {\n // Do some typechecking here since we call this blindly. We want to ensure\n // that we don't block potential future ES APIs.\n if (component && typeof component === 'object' && component.key != null) {\n // Explicit key\n return KeyEscapeUtils.escape(component.key);\n }\n // Implicit key determined by the index in the set\n return index.toString(36);\n}\n\n/**\n * @param {?*} children Children tree container.\n * @param {!string} nameSoFar Name of the key path so far.\n * @param {!function} callback Callback to invoke with each child found.\n * @param {?*} traverseContext Used to pass information throughout the traversal\n * process.\n * @return {!number} The number of children in this subtree.\n */\nfunction traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext) {\n var type = typeof children;\n\n if (type === 'undefined' || type === 'boolean') {\n // All of the above are perceived as null.\n children = null;\n }\n\n if (children === null || type === 'string' || type === 'number' ||\n // The following is inlined from ReactElement. This means we can optimize\n // some checks. React Fiber also inlines this logic for similar purposes.\n type === 'object' && children.$$typeof === REACT_ELEMENT_TYPE) {\n callback(traverseContext, children,\n // If it's the only child, treat the name as if it was wrapped in an array\n // so that it's consistent if the number of children grows.\n nameSoFar === '' ? SEPARATOR + getComponentKey(children, 0) : nameSoFar);\n return 1;\n }\n\n var child;\n var nextName;\n var subtreeCount = 0; // Count of children found in the current subtree.\n var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR;\n\n if (Array.isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n child = children[i];\n nextName = nextNamePrefix + getComponentKey(child, i);\n subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n }\n } else {\n var iteratorFn = getIteratorFn(children);\n if (iteratorFn) {\n var iterator = iteratorFn.call(children);\n var step;\n if (iteratorFn !== children.entries) {\n var ii = 0;\n while (!(step = iterator.next()).done) {\n child = step.value;\n nextName = nextNamePrefix + getComponentKey(child, ii++);\n subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n }\n } else {\n if (process.env.NODE_ENV !== 'production') {\n var mapsAsChildrenAddendum = '';\n if (ReactCurrentOwner.current) {\n var mapsAsChildrenOwnerName = ReactCurrentOwner.current.getName();\n if (mapsAsChildrenOwnerName) {\n mapsAsChildrenAddendum = ' Check the render method of `' + mapsAsChildrenOwnerName + '`.';\n }\n }\n process.env.NODE_ENV !== 'production' ? warning(didWarnAboutMaps, 'Using Maps as children is not yet fully supported. It is an ' + 'experimental feature that might be removed. Convert it to a ' + 'sequence / iterable of keyed ReactElements instead.%s', mapsAsChildrenAddendum) : void 0;\n didWarnAboutMaps = true;\n }\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n child = entry[1];\n nextName = nextNamePrefix + KeyEscapeUtils.escape(entry[0]) + SUBSEPARATOR + getComponentKey(child, 0);\n subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n }\n }\n }\n } else if (type === 'object') {\n var addendum = '';\n if (process.env.NODE_ENV !== 'production') {\n addendum = ' If you meant to render a collection of children, use an array ' + 'instead or wrap the object using createFragment(object) from the ' + 'React add-ons.';\n if (children._isReactElement) {\n addendum = \" It looks like you're using an element created by a different \" + 'version of React. Make sure to use only one copy of React.';\n }\n if (ReactCurrentOwner.current) {\n var name = ReactCurrentOwner.current.getName();\n if (name) {\n addendum += ' Check the render method of `' + name + '`.';\n }\n }\n }\n var childrenString = String(children);\n true ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Objects are not valid as a React child (found: %s).%s', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : _prodInvariant('31', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : void 0;\n }\n }\n\n return subtreeCount;\n}\n\n/**\n * Traverses children that are typically specified as `props.children`, but\n * might also be specified through attributes:\n *\n * - `traverseAllChildren(this.props.children, ...)`\n * - `traverseAllChildren(this.props.leftPanelChildren, ...)`\n *\n * The `traverseContext` is an optional argument that is passed through the\n * entire traversal. It can be used to store accumulations or anything else that\n * the callback might find relevant.\n *\n * @param {?*} children Children tree object.\n * @param {!function} callback To invoke upon traversing each child.\n * @param {?*} traverseContext Context for traversal.\n * @return {!number} The number of children in this subtree.\n */\nfunction traverseAllChildren(children, callback, traverseContext) {\n if (children == null) {\n return 0;\n }\n\n return traverseAllChildrenImpl(children, '', callback, traverseContext);\n}\n\nmodule.exports = traverseAllChildren;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/traverseAllChildren.js\n// module id = 112\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/traverseAllChildren.js?"); /***/ }), /* 113 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(32),\n _assign = __webpack_require__(72);\n\nvar ReactNoopUpdateQueue = __webpack_require__(116);\n\nvar canDefineProperty = __webpack_require__(51);\nvar emptyObject = __webpack_require__(44);\nvar invariant = __webpack_require__(3);\nvar lowPriorityWarning = __webpack_require__(71);\n\n/**\n * Base class helpers for the updating state of a component.\n */\nfunction ReactComponent(props, context, updater) {\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n // We initialize the default updater but the real one gets injected by the\n // renderer.\n this.updater = updater || ReactNoopUpdateQueue;\n}\n\nReactComponent.prototype.isReactComponent = {};\n\n/**\n * Sets a subset of the state. Always use this to mutate\n * state. You should treat `this.state` as immutable.\n *\n * There is no guarantee that `this.state` will be immediately updated, so\n * accessing `this.state` after calling this method may return the old value.\n *\n * There is no guarantee that calls to `setState` will run synchronously,\n * as they may eventually be batched together. You can provide an optional\n * callback that will be executed when the call to setState is actually\n * completed.\n *\n * When a function is provided to setState, it will be called at some point in\n * the future (not synchronously). It will be called with the up to date\n * component arguments (state, props, context). These values can be different\n * from this.* because your function may be called after receiveProps but before\n * shouldComponentUpdate, and this new state, props, and context will not yet be\n * assigned to this.\n *\n * @param {object|function} partialState Next partial state or function to\n * produce next partial state to be merged with current state.\n * @param {?function} callback Called after state is updated.\n * @final\n * @protected\n */\nReactComponent.prototype.setState = function (partialState, callback) {\n !(typeof partialState === 'object' || typeof partialState === 'function' || partialState == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'setState(...): takes an object of state variables to update or a function which returns an object of state variables.') : _prodInvariant('85') : void 0;\n this.updater.enqueueSetState(this, partialState);\n if (callback) {\n this.updater.enqueueCallback(this, callback, 'setState');\n }\n};\n\n/**\n * Forces an update. This should only be invoked when it is known with\n * certainty that we are **not** in a DOM transaction.\n *\n * You may want to call this when you know that some deeper aspect of the\n * component's state has changed but `setState` was not called.\n *\n * This will not invoke `shouldComponentUpdate`, but it will invoke\n * `componentWillUpdate` and `componentDidUpdate`.\n *\n * @param {?function} callback Called after update is complete.\n * @final\n * @protected\n */\nReactComponent.prototype.forceUpdate = function (callback) {\n this.updater.enqueueForceUpdate(this);\n if (callback) {\n this.updater.enqueueCallback(this, callback, 'forceUpdate');\n }\n};\n\n/**\n * Deprecated APIs. These APIs used to exist on classic React classes but since\n * we would like to deprecate them, we're not going to move them over to this\n * modern base class. Instead, we define a getter that warns if it's accessed.\n */\nif (process.env.NODE_ENV !== 'production') {\n var deprecatedAPIs = {\n isMounted: ['isMounted', 'Instead, make sure to clean up subscriptions and pending requests in ' + 'componentWillUnmount to prevent memory leaks.'],\n replaceState: ['replaceState', 'Refactor your code to use setState instead (see ' + 'https://github.com/facebook/react/issues/3236).']\n };\n var defineDeprecationWarning = function (methodName, info) {\n if (canDefineProperty) {\n Object.defineProperty(ReactComponent.prototype, methodName, {\n get: function () {\n lowPriorityWarning(false, '%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]);\n return undefined;\n }\n });\n }\n };\n for (var fnName in deprecatedAPIs) {\n if (deprecatedAPIs.hasOwnProperty(fnName)) {\n defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);\n }\n }\n}\n\n/**\n * Base class helpers for the updating state of a component.\n */\nfunction ReactPureComponent(props, context, updater) {\n // Duplicated from ReactComponent.\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n // We initialize the default updater but the real one gets injected by the\n // renderer.\n this.updater = updater || ReactNoopUpdateQueue;\n}\n\nfunction ComponentDummy() {}\nComponentDummy.prototype = ReactComponent.prototype;\nReactPureComponent.prototype = new ComponentDummy();\nReactPureComponent.prototype.constructor = ReactPureComponent;\n// Avoid an extra prototype jump for these methods.\n_assign(ReactPureComponent.prototype, ReactComponent.prototype);\nReactPureComponent.prototype.isPureReactComponent = true;\n\nmodule.exports = {\n Component: ReactComponent,\n PureComponent: ReactPureComponent\n};\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactBaseClasses.js\n// module id = 113\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/ReactBaseClasses.js?"); /***/ }), /* 114 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\n// The Symbol used to tag the ReactElement type. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\n\nvar REACT_ELEMENT_TYPE = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.element') || 0xeac7;\n\nmodule.exports = REACT_ELEMENT_TYPE;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactElementSymbol.js\n// module id = 114\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/ReactElementSymbol.js?"); /***/ }), /* 115 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n/**\n * ReactElementValidator provides a wrapper around a element factory\n * which validates the props passed to the element. This is intended to be\n * used only in DEV and could be replaced by a static type checker for languages\n * that support it.\n */\n\n'use strict';\n\nvar ReactCurrentOwner = __webpack_require__(17);\nvar ReactComponentTreeHook = __webpack_require__(10);\nvar ReactElement = __webpack_require__(27);\n\nvar checkReactTypeSpec = __webpack_require__(246);\n\nvar canDefineProperty = __webpack_require__(51);\nvar getIteratorFn = __webpack_require__(117);\nvar warning = __webpack_require__(4);\nvar lowPriorityWarning = __webpack_require__(71);\n\nfunction getDeclarationErrorAddendum() {\n if (ReactCurrentOwner.current) {\n var name = ReactCurrentOwner.current.getName();\n if (name) {\n return ' Check the render method of `' + name + '`.';\n }\n }\n return '';\n}\n\nfunction getSourceInfoErrorAddendum(elementProps) {\n if (elementProps !== null && elementProps !== undefined && elementProps.__source !== undefined) {\n var source = elementProps.__source;\n var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n var lineNumber = source.lineNumber;\n return ' Check your code at ' + fileName + ':' + lineNumber + '.';\n }\n return '';\n}\n\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n var info = getDeclarationErrorAddendum();\n\n if (!info) {\n var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n if (parentName) {\n info = ' Check the top-level render call using <' + parentName + '>.';\n }\n }\n return info;\n}\n\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\nfunction validateExplicitKey(element, parentType) {\n if (!element._store || element._store.validated || element.key != null) {\n return;\n }\n element._store.validated = true;\n\n var memoizer = ownerHasKeyUseWarning.uniqueKey || (ownerHasKeyUseWarning.uniqueKey = {});\n\n var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n if (memoizer[currentComponentErrorInfo]) {\n return;\n }\n memoizer[currentComponentErrorInfo] = true;\n\n // Usually the current owner is the offender, but if it accepts children as a\n // property, it may be the creator of the child that's responsible for\n // assigning it a key.\n var childOwner = '';\n if (element && element._owner && element._owner !== ReactCurrentOwner.current) {\n // Give the component that originally created this child.\n childOwner = ' It was passed a child from ' + element._owner.getName() + '.';\n }\n\n process.env.NODE_ENV !== 'production' ? warning(false, 'Each child in an array or iterator should have a unique \"key\" prop.' + '%s%s See https://fb.me/react-warning-keys for more information.%s', currentComponentErrorInfo, childOwner, ReactComponentTreeHook.getCurrentStackAddendum(element)) : void 0;\n}\n\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\nfunction validateChildKeys(node, parentType) {\n if (typeof node !== 'object') {\n return;\n }\n if (Array.isArray(node)) {\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n if (ReactElement.isValidElement(child)) {\n validateExplicitKey(child, parentType);\n }\n }\n } else if (ReactElement.isValidElement(node)) {\n // This element was passed in a valid location.\n if (node._store) {\n node._store.validated = true;\n }\n } else if (node) {\n var iteratorFn = getIteratorFn(node);\n // Entry iterators provide implicit keys.\n if (iteratorFn) {\n if (iteratorFn !== node.entries) {\n var iterator = iteratorFn.call(node);\n var step;\n while (!(step = iterator.next()).done) {\n if (ReactElement.isValidElement(step.value)) {\n validateExplicitKey(step.value, parentType);\n }\n }\n }\n }\n }\n}\n\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\nfunction validatePropTypes(element) {\n var componentClass = element.type;\n if (typeof componentClass !== 'function') {\n return;\n }\n var name = componentClass.displayName || componentClass.name;\n if (componentClass.propTypes) {\n checkReactTypeSpec(componentClass.propTypes, element.props, 'prop', name, element, null);\n }\n if (typeof componentClass.getDefaultProps === 'function') {\n process.env.NODE_ENV !== 'production' ? warning(componentClass.getDefaultProps.isReactClassApproved, 'getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.') : void 0;\n }\n}\n\nvar ReactElementValidator = {\n createElement: function (type, props, children) {\n var validType = typeof type === 'string' || typeof type === 'function';\n // We warn in this case but don't throw. We expect the element creation to\n // succeed and there will likely be errors in render.\n if (!validType) {\n if (typeof type !== 'function' && typeof type !== 'string') {\n var info = '';\n if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n info += ' You likely forgot to export your component from the file ' + \"it's defined in.\";\n }\n\n var sourceInfo = getSourceInfoErrorAddendum(props);\n if (sourceInfo) {\n info += sourceInfo;\n } else {\n info += getDeclarationErrorAddendum();\n }\n\n info += ReactComponentTreeHook.getCurrentStackAddendum();\n\n var currentSource = props !== null && props !== undefined && props.__source !== undefined ? props.__source : null;\n ReactComponentTreeHook.pushNonStandardWarningStack(true, currentSource);\n process.env.NODE_ENV !== 'production' ? warning(false, 'React.createElement: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', type == null ? type : typeof type, info) : void 0;\n ReactComponentTreeHook.popNonStandardWarningStack();\n }\n }\n\n var element = ReactElement.createElement.apply(this, arguments);\n\n // The result can be nullish if a mock or a custom function is used.\n // TODO: Drop this when these are no longer allowed as the type argument.\n if (element == null) {\n return element;\n }\n\n // Skip key warning if the type isn't valid since our key validation logic\n // doesn't expect a non-string/function type and can throw confusing errors.\n // We don't want exception behavior to differ between dev and prod.\n // (Rendering will throw with a helpful message and as soon as the type is\n // fixed, the key warnings will appear.)\n if (validType) {\n for (var i = 2; i < arguments.length; i++) {\n validateChildKeys(arguments[i], type);\n }\n }\n\n validatePropTypes(element);\n\n return element;\n },\n\n createFactory: function (type) {\n var validatedFactory = ReactElementValidator.createElement.bind(null, type);\n // Legacy hook TODO: Warn if this is accessed\n validatedFactory.type = type;\n\n if (process.env.NODE_ENV !== 'production') {\n if (canDefineProperty) {\n Object.defineProperty(validatedFactory, 'type', {\n enumerable: false,\n get: function () {\n lowPriorityWarning(false, 'Factory.type is deprecated. Access the class directly ' + 'before passing it to createFactory.');\n Object.defineProperty(this, 'type', {\n value: type\n });\n return type;\n }\n });\n }\n }\n\n return validatedFactory;\n },\n\n cloneElement: function (element, props, children) {\n var newElement = ReactElement.cloneElement.apply(this, arguments);\n for (var i = 2; i < arguments.length; i++) {\n validateChildKeys(arguments[i], newElement.type);\n }\n validatePropTypes(newElement);\n return newElement;\n }\n};\n\nmodule.exports = ReactElementValidator;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactElementValidator.js\n// module id = 115\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/ReactElementValidator.js?"); /***/ }), /* 116 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar warning = __webpack_require__(4);\n\nfunction warnNoop(publicInstance, callerName) {\n if (process.env.NODE_ENV !== 'production') {\n var constructor = publicInstance.constructor;\n process.env.NODE_ENV !== 'production' ? warning(false, '%s(...): Can only update a mounted or mounting component. ' + 'This usually means you called %s() on an unmounted component. ' + 'This is a no-op. Please check the code for the %s component.', callerName, callerName, constructor && (constructor.displayName || constructor.name) || 'ReactClass') : void 0;\n }\n}\n\n/**\n * This is the abstract API for an update queue.\n */\nvar ReactNoopUpdateQueue = {\n /**\n * Checks whether or not this composite component is mounted.\n * @param {ReactClass} publicInstance The instance we want to test.\n * @return {boolean} True if mounted, false otherwise.\n * @protected\n * @final\n */\n isMounted: function (publicInstance) {\n return false;\n },\n\n /**\n * Enqueue a callback that will be executed after all the pending updates\n * have processed.\n *\n * @param {ReactClass} publicInstance The instance to use as `this` context.\n * @param {?function} callback Called after state is updated.\n * @internal\n */\n enqueueCallback: function (publicInstance, callback) {},\n\n /**\n * Forces an update. This should only be invoked when it is known with\n * certainty that we are **not** in a DOM transaction.\n *\n * You may want to call this when you know that some deeper aspect of the\n * component's state has changed but `setState` was not called.\n *\n * This will not invoke `shouldComponentUpdate`, but it will invoke\n * `componentWillUpdate` and `componentDidUpdate`.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @internal\n */\n enqueueForceUpdate: function (publicInstance) {\n warnNoop(publicInstance, 'forceUpdate');\n },\n\n /**\n * Replaces all of the state. Always use this or `setState` to mutate state.\n * You should treat `this.state` as immutable.\n *\n * There is no guarantee that `this.state` will be immediately updated, so\n * accessing `this.state` after calling this method may return the old value.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} completeState Next state.\n * @internal\n */\n enqueueReplaceState: function (publicInstance, completeState) {\n warnNoop(publicInstance, 'replaceState');\n },\n\n /**\n * Sets a subset of the state. This only exists because _pendingState is\n * internal. This provides a merging strategy that is not available to deep\n * properties which is confusing. TODO: Expose pendingState or don't use it\n * during the merge.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} partialState Next partial state to be merged with state.\n * @internal\n */\n enqueueSetState: function (publicInstance, partialState) {\n warnNoop(publicInstance, 'setState');\n }\n};\n\nmodule.exports = ReactNoopUpdateQueue;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactNoopUpdateQueue.js\n// module id = 116\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/ReactNoopUpdateQueue.js?"); /***/ }), /* 117 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\n/* global Symbol */\n\nvar ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n/**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\nfunction getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n}\n\nmodule.exports = getIteratorFn;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/getIteratorFn.js\n// module id = 117\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/getIteratorFn.js?"); /***/ }), /* 118 */, /* 119 */, /* 120 */, /* 121 */, /* 122 */, /* 123 */, /* 124 */, /* 125 */, /* 126 */, /* 127 */, /* 128 */, /* 129 */, /* 130 */, /* 131 */ /***/ (function(module, exports, __webpack_require__) { eval("(function webpackUniversalModuleDefinition(root, factory) {\n\tif(true)\n\t\tmodule.exports = factory(__webpack_require__(43), __webpack_require__(1), __webpack_require__(34));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"prop-types\", \"react\", \"react-dom\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"react-owl-carousel2\"] = factory(require(\"prop-types\"), require(\"react\"), require(\"react-dom\"));\n\telse\n\t\troot[\"react-owl-carousel2\"] = factory(root[\"PropTypes\"], root[\"React\"], root[\"ReactDOM\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_4__, __WEBPACK_EXTERNAL_MODULE_5__) {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n\n\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\teval(\"'use strict';\\n\\nObject.defineProperty(exports, \\\"__esModule\\\", {\\n\\tvalue: 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 _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\\\"value\\\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\\n\\nvar _react = __webpack_require__(4);\\n\\nvar _react2 = _interopRequireDefault(_react);\\n\\nvar _reactDom = __webpack_require__(5);\\n\\nvar _propTypes = __webpack_require__(3);\\n\\nvar _propTypes2 = _interopRequireDefault(_propTypes);\\n\\n__webpack_require__(2);\\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\\nvar owlCarouselOptions = {\\n\\tcore: ['items', 'loop', 'center', 'rewind', 'mouseDrag', 'touchDrag', 'pullDrag', 'freeDrag', 'margin', 'stagePadding', 'merge', 'mergeFit', 'autoWidth', 'startPosition', 'rtl', 'smartSpeed', 'fluidSpeed', 'dragEndSpeed', 'responsive', 'responsiveRefreshRate', 'responsiveBaseElement', 'fallbackEasing', 'info', 'nestedItemSelector', 'itemElement', 'stageElement', 'refreshClass', 'loadedClass', 'loadingClass', 'rtlClass', 'responsiveClass', 'dragClass', 'itemClass', 'stageClass', 'stageOuterClass', 'grabClass'],\\n\\tautorefresh: ['autoRefresh', 'autoRefreshInterval'],\\n\\tlazy: ['lazyLoad'],\\n\\tautoHeight: ['autoHeight', 'autoHeightClass'],\\n\\tvideo: ['video', 'videoHeight', 'videoWidth'],\\n\\tanimate: ['animateOut', 'animateIn'],\\n\\tautoplay: ['autoplay', 'autoplayTimeout', 'autoplayHoverPause', 'autoplaySpeed'],\\n\\tnavigation: ['nav', 'navText', 'navSpeed', 'navElement', 'navContainer', 'navContainerClass', 'navClass', 'slideBy', 'dotClass', 'dotsClass', 'dots', 'dotsEach', 'dotsData', 'dotsSpeed', 'dotsContainer'],\\n\\thash: ['URLhashListener']\\n};\\n\\nvar owlCarouselEvents = {\\n\\tcore: ['onInitialize', 'onInitialized', 'onResize', 'onResized', 'onRefresh', 'onRefreshed', 'onDrag', 'onDragged', 'onTranslate', 'onTranslated', 'onChange', 'onChanged'],\\n\\tlazy: ['onLoadLazy', 'onLoadedLazy'],\\n\\tvideo: ['onStopVideo', 'onPlayVideo']\\n};\\n\\nvar OwlCarousel = function (_React$Component) {\\n\\t_inherits(OwlCarousel, _React$Component);\\n\\n\\tfunction OwlCarousel(props, context) {\\n\\t\\t_classCallCheck(this, OwlCarousel);\\n\\n\\t\\tvar _this = _possibleConstructorReturn(this, (OwlCarousel.__proto__ || Object.getPrototypeOf(OwlCarousel)).call(this, props, context));\\n\\n\\t\\t_this.onTranslate = function (next) {\\n\\t\\t\\treturn function (event) {\\n\\t\\t\\t\\t_this.currentPosition = event.item.index;\\n\\t\\t\\t\\tif (next) next(event);\\n\\t\\t\\t};\\n\\t\\t};\\n\\n\\t\\t_this.next = function () {\\n\\t\\t\\treturn _this.$car.next();\\n\\t\\t};\\n\\t\\t_this.prev = function () {\\n\\t\\t\\treturn _this.$car.prev();\\n\\t\\t};\\n\\t\\t_this.goTo = function (x) {\\n\\t\\t\\treturn _this.$car.to(x);\\n\\t\\t};\\n\\n\\t\\t_this.currentPosition = 0;\\n\\t\\t_this.onTranslate = _this.onTranslate.bind(_this);\\n\\t\\treturn _this;\\n\\t}\\n\\n\\t_createClass(OwlCarousel, [{\\n\\t\\tkey: 'componentDidMount',\\n\\t\\tvalue: function componentDidMount() {\\n\\t\\t\\t__webpack_require__(1);\\n\\t\\t\\tvar options = this.getOptions();\\n\\t\\t\\tthis.init(options);\\n\\t\\t}\\n\\t}, {\\n\\t\\tkey: 'componentWillReceiveProps',\\n\\t\\tvalue: function componentWillReceiveProps(nextProps) {\\n\\t\\t\\tthis.destroy();\\n\\t\\t}\\n\\t}, {\\n\\t\\tkey: 'componentDidUpdate',\\n\\t\\tvalue: function componentDidUpdate(prevProps, prevState) {\\n\\t\\t\\tvar options = this.getOptions();\\n\\t\\t\\toptions.startPosition = this.currentPosition;\\n\\t\\t\\tthis.init(options);\\n\\t\\t}\\n\\t}, {\\n\\t\\tkey: 'componentWillUnmount',\\n\\t\\tvalue: function componentWillUnmount() {\\n\\t\\t\\tthis.destroy();\\n\\t\\t}\\n\\t}, {\\n\\t\\tkey: 'init',\\n\\t\\tvalue: function init(options) {\\n\\t\\t\\tvar next = options.onTranslate;\\n\\t\\t\\toptions.onTranslate = this.onTranslate(next);\\n\\t\\t\\tthis.$node.owlCarousel(options);\\n\\t\\t\\tthis.$car = this.$node.data('owl.carousel');\\n\\t\\t}\\n\\t}, {\\n\\t\\tkey: 'destroy',\\n\\t\\tvalue: function destroy() {\\n\\t\\t\\tthis.$car.destroy();\\n\\t\\t}\\n\\t}, {\\n\\t\\tkey: 'getOptions',\\n\\t\\tvalue: function getOptions() {\\n\\t\\t\\tvar _this2 = this;\\n\\n\\t\\t\\tvar options = {};\\n\\n\\t\\t\\tvar carOptions = Object.values(owlCarouselOptions).reduce(function (a, v) {\\n\\t\\t\\t\\treturn a.concat(v);\\n\\t\\t\\t}, []);\\n\\n\\t\\t\\tcarOptions.forEach(function (val) {\\n\\t\\t\\t\\tif (val in _this2.props.options) options[val] = _this2.props.options[val];\\n\\t\\t\\t});\\n\\n\\t\\t\\tvar carEvents = Object.values(owlCarouselEvents).reduce(function (a, v) {\\n\\t\\t\\t\\treturn a.concat(v);\\n\\t\\t\\t}, []);\\n\\n\\t\\t\\tcarEvents.forEach(function (val) {\\n\\t\\t\\t\\tif (val in _this2.props.events) options[val] = _this2.props.events[val];\\n\\t\\t\\t});\\n\\n\\t\\t\\treturn options;\\n\\t\\t}\\n\\t}, {\\n\\t\\tkey: 'render',\\n\\t\\tvalue: function render() {\\n\\t\\t\\tvar _this3 = this;\\n\\n\\t\\t\\tvar _props = this.props,\\n\\t\\t\\t options = _props.options,\\n\\t\\t\\t events = _props.events,\\n\\t\\t\\t children = _props.children,\\n\\t\\t\\t props = _objectWithoutProperties(_props, ['options', 'events', 'children']);\\n\\n\\t\\t\\treturn _react2.default.createElement(\\n\\t\\t\\t\\t'div',\\n\\t\\t\\t\\t_extends({ ref: function ref(item) {\\n\\t\\t\\t\\t\\t\\treturn _this3.$node = $((0, _reactDom.findDOMNode)(item));\\n\\t\\t\\t\\t\\t}, className: 'owl-carousel owl-theme' }, props),\\n\\t\\t\\t\\tchildren\\n\\t\\t\\t);\\n\\t\\t}\\n\\t}]);\\n\\n\\treturn OwlCarousel;\\n}(_react2.default.Component);\\n\\nOwlCarousel.propTypes = {\\n\\tchildren: _propTypes2.default.oneOfType([_propTypes2.default.element, _propTypes2.default.arrayOf(_propTypes2.default.element.isRequired)]).isRequired,\\n\\n\\tstyle: _propTypes2.default.object,\\n\\tid: _propTypes2.default.string,\\n\\n\\toptions: _propTypes2.default.shape({\\n\\t\\t// core\\n\\t\\titems: _propTypes2.default.number,\\n\\t\\tloop: _propTypes2.default.bool,\\n\\t\\tcenter: _propTypes2.default.bool,\\n\\t\\trewind: _propTypes2.default.bool,\\n\\n\\t\\tmouseDrag: _propTypes2.default.bool,\\n\\t\\ttouchDrag: _propTypes2.default.bool,\\n\\t\\tpullDrag: _propTypes2.default.bool,\\n\\t\\tfreeDrag: _propTypes2.default.bool,\\n\\n\\t\\tmargin: _propTypes2.default.number,\\n\\t\\tstagePadding: _propTypes2.default.number,\\n\\n\\t\\tmerge: _propTypes2.default.bool,\\n\\t\\tmergeFit: _propTypes2.default.bool,\\n\\t\\tautoWidth: _propTypes2.default.bool,\\n\\n\\t\\tstartPosition: _propTypes2.default.number,\\n\\t\\trtl: _propTypes2.default.bool,\\n\\n\\t\\tsmartSpeed: _propTypes2.default.number,\\n\\t\\tfluidSpeed: _propTypes2.default.bool,\\n\\t\\tdragEndSpeed: _propTypes2.default.bool,\\n\\n\\t\\tresponsive: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.object]),\\n\\t\\tresponsiveRefreshRate: _propTypes2.default.number,\\n\\t\\tresponsiveBaseElement: _propTypes2.default.object,\\n\\n\\t\\tfallbackEasing: _propTypes2.default.string,\\n\\n\\t\\tinfo: _propTypes2.default.bool,\\n\\n\\t\\tnestedItemSelector: _propTypes2.default.bool,\\n\\t\\titemElement: _propTypes2.default.string,\\n\\t\\tstageElement: _propTypes2.default.string,\\n\\n\\t\\trefreshClass: _propTypes2.default.string,\\n\\t\\tloadedClass: _propTypes2.default.string,\\n\\t\\tloadingClass: _propTypes2.default.string,\\n\\t\\trtlClass: _propTypes2.default.string,\\n\\t\\tresponsiveClass: _propTypes2.default.string,\\n\\t\\tdragClass: _propTypes2.default.string,\\n\\t\\titemClass: _propTypes2.default.string,\\n\\t\\tstageClass: _propTypes2.default.string,\\n\\t\\tstageOuterClass: _propTypes2.default.string,\\n\\t\\tgrabClass: _propTypes2.default.string,\\n\\n\\t\\t// autoRefresh\\n\\t\\tautoRefresh: _propTypes2.default.bool,\\n\\t\\tautoRefreshInterval: _propTypes2.default.number,\\n\\n\\t\\t// lazy\\n\\t\\tlazyLoad: _propTypes2.default.bool,\\n\\n\\t\\t// autoHeight\\n\\t\\tautoHeight: _propTypes2.default.bool,\\n\\t\\tautoHeightClass: _propTypes2.default.string,\\n\\n\\t\\t// video\\n\\t\\tvideo: _propTypes2.default.bool,\\n\\t\\tvideoHeight: _propTypes2.default.bool,\\n\\t\\tvideoWidth: _propTypes2.default.bool,\\n\\n\\t\\t// animate\\n\\t\\tanimateOut: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.string]),\\n\\t\\tanimateIn: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.string]),\\n\\n\\t\\t// autoplay\\n\\t\\tautoplay: _propTypes2.default.bool,\\n\\t\\tautoplayTimeout: _propTypes2.default.number,\\n\\t\\tautoplayHoverPause: _propTypes2.default.bool,\\n\\t\\tautoplaySpeed: _propTypes2.default.bool,\\n\\n\\t\\t// navigation\\n\\t\\tnav: _propTypes2.default.bool,\\n\\t\\tnavText: _propTypes2.default.array,\\n\\t\\tnavSpeed: _propTypes2.default.bool,\\n\\t\\tnavElement: _propTypes2.default.string,\\n\\t\\tnavContainer: _propTypes2.default.bool,\\n\\t\\tnavContainerClass: _propTypes2.default.string,\\n\\t\\tnavClass: _propTypes2.default.array,\\n\\t\\tslideBy: _propTypes2.default.number,\\n\\t\\tdotClass: _propTypes2.default.string,\\n\\t\\tdotsClass: _propTypes2.default.string,\\n\\t\\tdots: _propTypes2.default.bool,\\n\\t\\tdotsEach: _propTypes2.default.bool,\\n\\t\\tdotsData: _propTypes2.default.bool,\\n\\t\\tdotsSpeed: _propTypes2.default.bool,\\n\\t\\tdotsContainer: _propTypes2.default.bool,\\n\\n\\t\\t// hash\\n\\t\\tURLhashListener: _propTypes2.default.bool\\n\\t}),\\n\\n\\tevents: _propTypes2.default.shape({\\n\\t\\t// core\\n\\t\\tonInitialize: _propTypes2.default.func,\\n\\t\\tonInitialized: _propTypes2.default.func,\\n\\t\\tonResize: _propTypes2.default.func,\\n\\t\\tonResized: _propTypes2.default.func,\\n\\t\\tonRefresh: _propTypes2.default.func,\\n\\t\\tonRefreshed: _propTypes2.default.func,\\n\\t\\tonDrag: _propTypes2.default.func,\\n\\t\\tonDragged: _propTypes2.default.func,\\n\\t\\tonTranslate: _propTypes2.default.func,\\n\\t\\tonTranslated: _propTypes2.default.func,\\n\\t\\tonChange: _propTypes2.default.func,\\n\\t\\tonChanged: _propTypes2.default.func,\\n\\n\\t\\t// lazy\\n\\t\\tonLoadLazy: _propTypes2.default.func,\\n\\t\\tonLoadedLazy: _propTypes2.default.func,\\n\\n\\t\\t// video\\n\\t\\tonStopVideo: _propTypes2.default.func,\\n\\t\\tonPlayVideo: _propTypes2.default.func\\n\\t})\\n};\\n\\nOwlCarousel.defaultProps = {\\n\\toptions: {},\\n\\tevents: {}\\n};\\n\\nexports.default = OwlCarousel;\\nmodule.exports = exports['default'];\\n\\n/*****************\\n ** WEBPACK FOOTER\\n ** ./components/OwlCarousel.jsx\\n ** module id = 0\\n ** module chunks = 0\\n **/\\n//# sourceURL=webpack:///./components/OwlCarousel.jsx?\");\n\n/***/ },\n/* 1 */\n/***/ function(module, exports) {\n\n\teval(\"'use strict';\\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\\n/**\\n * Owl Carousel v2.2.1\\n * Copyright 2013-2017 David Deutsch\\n * Licensed under ()\\n */\\n/**\\n * Owl carousel\\n * @version 2.1.6\\n * @author Bartosz Wojciechowski\\n * @author David Deutsch\\n * @license The MIT License (MIT)\\n * @todo Lazy Load Icon\\n * @todo prevent animationend bubling\\n * @todo itemsScaleUp\\n * @todo Test Zepto\\n * @todo stagePadding calculate wrong active classes\\n */\\n;(function ($, window, document, undefined) {\\n\\n\\t/**\\n * Creates a carousel.\\n * @class The Owl Carousel.\\n * @public\\n * @param {HTMLElement|jQuery} element - The element to create the carousel for.\\n * @param {Object} [options] - The options\\n */\\n\\tfunction Owl(element, options) {\\n\\n\\t\\t/**\\n * Current settings for the carousel.\\n * @public\\n */\\n\\t\\tthis.settings = null;\\n\\n\\t\\t/**\\n * Current options set by the caller including defaults.\\n * @public\\n */\\n\\t\\tthis.options = $.extend({}, Owl.Defaults, options);\\n\\n\\t\\t/**\\n * Plugin element.\\n * @public\\n */\\n\\t\\tthis.$element = $(element);\\n\\n\\t\\t/**\\n * Proxied event handlers.\\n * @protected\\n */\\n\\t\\tthis._handlers = {};\\n\\n\\t\\t/**\\n * References to the running plugins of this carousel.\\n * @protected\\n */\\n\\t\\tthis._plugins = {};\\n\\n\\t\\t/**\\n * Currently suppressed events to prevent them from beeing retriggered.\\n * @protected\\n */\\n\\t\\tthis._supress = {};\\n\\n\\t\\t/**\\n * Absolute current position.\\n * @protected\\n */\\n\\t\\tthis._current = null;\\n\\n\\t\\t/**\\n * Animation speed in milliseconds.\\n * @protected\\n */\\n\\t\\tthis._speed = null;\\n\\n\\t\\t/**\\n * Coordinates of all items in pixel.\\n * @todo The name of this member is missleading.\\n * @protected\\n */\\n\\t\\tthis._coordinates = [];\\n\\n\\t\\t/**\\n * Current breakpoint.\\n * @todo Real media queries would be nice.\\n * @protected\\n */\\n\\t\\tthis._breakpoint = null;\\n\\n\\t\\t/**\\n * Current width of the plugin element.\\n */\\n\\t\\tthis._width = null;\\n\\n\\t\\t/**\\n * All real items.\\n * @protected\\n */\\n\\t\\tthis._items = [];\\n\\n\\t\\t/**\\n * All cloned items.\\n * @protected\\n */\\n\\t\\tthis._clones = [];\\n\\n\\t\\t/**\\n * Merge values of all items.\\n * @todo Maybe this could be part of a plugin.\\n * @protected\\n */\\n\\t\\tthis._mergers = [];\\n\\n\\t\\t/**\\n * Widths of all items.\\n */\\n\\t\\tthis._widths = [];\\n\\n\\t\\t/**\\n * Invalidated parts within the update process.\\n * @protected\\n */\\n\\t\\tthis._invalidated = {};\\n\\n\\t\\t/**\\n * Ordered list of workers for the update process.\\n * @protected\\n */\\n\\t\\tthis._pipe = [];\\n\\n\\t\\t/**\\n * Current state information for the drag operation.\\n * @todo #261\\n * @protected\\n */\\n\\t\\tthis._drag = {\\n\\t\\t\\ttime: null,\\n\\t\\t\\ttarget: null,\\n\\t\\t\\tpointer: null,\\n\\t\\t\\tstage: {\\n\\t\\t\\t\\tstart: null,\\n\\t\\t\\t\\tcurrent: null\\n\\t\\t\\t},\\n\\t\\t\\tdirection: null\\n\\t\\t};\\n\\n\\t\\t/**\\n * Current state information and their tags.\\n * @type {Object}\\n * @protected\\n */\\n\\t\\tthis._states = {\\n\\t\\t\\tcurrent: {},\\n\\t\\t\\ttags: {\\n\\t\\t\\t\\t'initializing': ['busy'],\\n\\t\\t\\t\\t'animating': ['busy'],\\n\\t\\t\\t\\t'dragging': ['interacting']\\n\\t\\t\\t}\\n\\t\\t};\\n\\n\\t\\t$.each(['onResize', 'onThrottledResize'], $.proxy(function (i, handler) {\\n\\t\\t\\tthis._handlers[handler] = $.proxy(this[handler], this);\\n\\t\\t}, this));\\n\\n\\t\\t$.each(Owl.Plugins, $.proxy(function (key, plugin) {\\n\\t\\t\\tthis._plugins[key.charAt(0).toLowerCase() + key.slice(1)] = new plugin(this);\\n\\t\\t}, this));\\n\\n\\t\\t$.each(Owl.Workers, $.proxy(function (priority, worker) {\\n\\t\\t\\tthis._pipe.push({\\n\\t\\t\\t\\t'filter': worker.filter,\\n\\t\\t\\t\\t'run': $.proxy(worker.run, this)\\n\\t\\t\\t});\\n\\t\\t}, this));\\n\\n\\t\\tthis.setup();\\n\\t\\tthis.initialize();\\n\\t}\\n\\n\\t/**\\n * Default options for the carousel.\\n * @public\\n */\\n\\tOwl.Defaults = {\\n\\t\\titems: 3,\\n\\t\\tloop: false,\\n\\t\\tcenter: false,\\n\\t\\trewind: false,\\n\\n\\t\\tmouseDrag: true,\\n\\t\\ttouchDrag: true,\\n\\t\\tpullDrag: true,\\n\\t\\tfreeDrag: false,\\n\\n\\t\\tmargin: 0,\\n\\t\\tstagePadding: 0,\\n\\n\\t\\tmerge: false,\\n\\t\\tmergeFit: true,\\n\\t\\tautoWidth: false,\\n\\n\\t\\tstartPosition: 0,\\n\\t\\trtl: false,\\n\\n\\t\\tsmartSpeed: 250,\\n\\t\\tfluidSpeed: false,\\n\\t\\tdragEndSpeed: false,\\n\\n\\t\\tresponsive: {},\\n\\t\\tresponsiveRefreshRate: 200,\\n\\t\\tresponsiveBaseElement: window,\\n\\n\\t\\tfallbackEasing: 'swing',\\n\\n\\t\\tinfo: false,\\n\\n\\t\\tnestedItemSelector: false,\\n\\t\\titemElement: 'div',\\n\\t\\tstageElement: 'div',\\n\\n\\t\\trefreshClass: 'owl-refresh',\\n\\t\\tloadedClass: 'owl-loaded',\\n\\t\\tloadingClass: 'owl-loading',\\n\\t\\trtlClass: 'owl-rtl',\\n\\t\\tresponsiveClass: 'owl-responsive',\\n\\t\\tdragClass: 'owl-drag',\\n\\t\\titemClass: 'owl-item',\\n\\t\\tstageClass: 'owl-stage',\\n\\t\\tstageOuterClass: 'owl-stage-outer',\\n\\t\\tgrabClass: 'owl-grab'\\n\\t};\\n\\n\\t/**\\n * Enumeration for width.\\n * @public\\n * @readonly\\n * @enum {String}\\n */\\n\\tOwl.Width = {\\n\\t\\tDefault: 'default',\\n\\t\\tInner: 'inner',\\n\\t\\tOuter: 'outer'\\n\\t};\\n\\n\\t/**\\n * Enumeration for types.\\n * @public\\n * @readonly\\n * @enum {String}\\n */\\n\\tOwl.Type = {\\n\\t\\tEvent: 'event',\\n\\t\\tState: 'state'\\n\\t};\\n\\n\\t/**\\n * Contains all registered plugins.\\n * @public\\n */\\n\\tOwl.Plugins = {};\\n\\n\\t/**\\n * List of workers involved in the update process.\\n */\\n\\tOwl.Workers = [{\\n\\t\\tfilter: ['width', 'settings'],\\n\\t\\trun: function run() {\\n\\t\\t\\tthis._width = this.$element.width();\\n\\t\\t}\\n\\t}, {\\n\\t\\tfilter: ['width', 'items', 'settings'],\\n\\t\\trun: function run(cache) {\\n\\t\\t\\tcache.current = this._items && this._items[this.relative(this._current)];\\n\\t\\t}\\n\\t}, {\\n\\t\\tfilter: ['items', 'settings'],\\n\\t\\trun: function run() {\\n\\t\\t\\tthis.$stage.children('.cloned').remove();\\n\\t\\t}\\n\\t}, {\\n\\t\\tfilter: ['width', 'items', 'settings'],\\n\\t\\trun: function run(cache) {\\n\\t\\t\\tvar margin = this.settings.margin || '',\\n\\t\\t\\t grid = !this.settings.autoWidth,\\n\\t\\t\\t rtl = this.settings.rtl,\\n\\t\\t\\t css = {\\n\\t\\t\\t\\t'width': 'auto',\\n\\t\\t\\t\\t'margin-left': rtl ? margin : '',\\n\\t\\t\\t\\t'margin-right': rtl ? '' : margin\\n\\t\\t\\t};\\n\\n\\t\\t\\t!grid && this.$stage.children().css(css);\\n\\n\\t\\t\\tcache.css = css;\\n\\t\\t}\\n\\t}, {\\n\\t\\tfilter: ['width', 'items', 'settings'],\\n\\t\\trun: function run(cache) {\\n\\t\\t\\tvar width = (this.width() / this.settings.items).toFixed(3) - this.settings.margin,\\n\\t\\t\\t merge = null,\\n\\t\\t\\t iterator = this._items.length,\\n\\t\\t\\t grid = !this.settings.autoWidth,\\n\\t\\t\\t widths = [];\\n\\n\\t\\t\\tcache.items = {\\n\\t\\t\\t\\tmerge: false,\\n\\t\\t\\t\\twidth: width\\n\\t\\t\\t};\\n\\n\\t\\t\\twhile (iterator--) {\\n\\t\\t\\t\\tmerge = this._mergers[iterator];\\n\\t\\t\\t\\tmerge = this.settings.mergeFit && Math.min(merge, this.settings.items) || merge;\\n\\n\\t\\t\\t\\tcache.items.merge = merge > 1 || cache.items.merge;\\n\\n\\t\\t\\t\\twidths[iterator] = !grid ? this._items[iterator].width() : width * merge;\\n\\t\\t\\t}\\n\\n\\t\\t\\tthis._widths = widths;\\n\\t\\t}\\n\\t}, {\\n\\t\\tfilter: ['items', 'settings'],\\n\\t\\trun: function run() {\\n\\t\\t\\tvar clones = [],\\n\\t\\t\\t items = this._items,\\n\\t\\t\\t settings = this.settings,\\n\\n\\t\\t\\t// TODO: Should be computed from number of min width items in stage\\n\\t\\t\\tview = Math.max(settings.items * 2, 4),\\n\\t\\t\\t size = Math.ceil(items.length / 2) * 2,\\n\\t\\t\\t repeat = settings.loop && items.length ? settings.rewind ? view : Math.max(view, size) : 0,\\n\\t\\t\\t append = '',\\n\\t\\t\\t prepend = '';\\n\\n\\t\\t\\trepeat /= 2;\\n\\n\\t\\t\\twhile (repeat--) {\\n\\t\\t\\t\\t// Switch to only using appended clones\\n\\t\\t\\t\\tclones.push(this.normalize(clones.length / 2, true));\\n\\t\\t\\t\\tappend = append + items[clones[clones.length - 1]][0].outerHTML;\\n\\t\\t\\t\\tclones.push(this.normalize(items.length - 1 - (clones.length - 1) / 2, true));\\n\\t\\t\\t\\tprepend = items[clones[clones.length - 1]][0].outerHTML + prepend;\\n\\t\\t\\t}\\n\\n\\t\\t\\tthis._clones = clones;\\n\\n\\t\\t\\t$(append).addClass('cloned').appendTo(this.$stage);\\n\\t\\t\\t$(prepend).addClass('cloned').prependTo(this.$stage);\\n\\t\\t}\\n\\t}, {\\n\\t\\tfilter: ['width', 'items', 'settings'],\\n\\t\\trun: function run() {\\n\\t\\t\\tvar rtl = this.settings.rtl ? 1 : -1,\\n\\t\\t\\t size = this._clones.length + this._items.length,\\n\\t\\t\\t iterator = -1,\\n\\t\\t\\t previous = 0,\\n\\t\\t\\t current = 0,\\n\\t\\t\\t coordinates = [];\\n\\n\\t\\t\\twhile (++iterator < size) {\\n\\t\\t\\t\\tprevious = coordinates[iterator - 1] || 0;\\n\\t\\t\\t\\tcurrent = this._widths[this.relative(iterator)] + this.settings.margin;\\n\\t\\t\\t\\tcoordinates.push(previous + current * rtl);\\n\\t\\t\\t}\\n\\n\\t\\t\\tthis._coordinates = coordinates;\\n\\t\\t}\\n\\t}, {\\n\\t\\tfilter: ['width', 'items', 'settings'],\\n\\t\\trun: function run() {\\n\\t\\t\\tvar padding = this.settings.stagePadding,\\n\\t\\t\\t coordinates = this._coordinates,\\n\\t\\t\\t css = {\\n\\t\\t\\t\\t'width': Math.ceil(Math.abs(coordinates[coordinates.length - 1])) + padding * 2,\\n\\t\\t\\t\\t'padding-left': padding || '',\\n\\t\\t\\t\\t'padding-right': padding || ''\\n\\t\\t\\t};\\n\\n\\t\\t\\tthis.$stage.css(css);\\n\\t\\t}\\n\\t}, {\\n\\t\\tfilter: ['width', 'items', 'settings'],\\n\\t\\trun: function run(cache) {\\n\\t\\t\\tvar iterator = this._coordinates.length,\\n\\t\\t\\t grid = !this.settings.autoWidth,\\n\\t\\t\\t items = this.$stage.children();\\n\\n\\t\\t\\tif (grid && cache.items.merge) {\\n\\t\\t\\t\\twhile (iterator--) {\\n\\t\\t\\t\\t\\tcache.css.width = this._widths[this.relative(iterator)];\\n\\t\\t\\t\\t\\titems.eq(iterator).css(cache.css);\\n\\t\\t\\t\\t}\\n\\t\\t\\t} else if (grid) {\\n\\t\\t\\t\\tcache.css.width = cache.items.width;\\n\\t\\t\\t\\titems.css(cache.css);\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}, {\\n\\t\\tfilter: ['items'],\\n\\t\\trun: function run() {\\n\\t\\t\\tthis._coordinates.length < 1 && this.$stage.removeAttr('style');\\n\\t\\t}\\n\\t}, {\\n\\t\\tfilter: ['width', 'items', 'settings'],\\n\\t\\trun: function run(cache) {\\n\\t\\t\\tcache.current = cache.current ? this.$stage.children().index(cache.current) : 0;\\n\\t\\t\\tcache.current = Math.max(this.minimum(), Math.min(this.maximum(), cache.current));\\n\\t\\t\\tthis.reset(cache.current);\\n\\t\\t}\\n\\t}, {\\n\\t\\tfilter: ['position'],\\n\\t\\trun: function run() {\\n\\t\\t\\tthis.animate(this.coordinates(this._current));\\n\\t\\t}\\n\\t}, {\\n\\t\\tfilter: ['width', 'position', 'items', 'settings'],\\n\\t\\trun: function run() {\\n\\t\\t\\tvar rtl = this.settings.rtl ? 1 : -1,\\n\\t\\t\\t padding = this.settings.stagePadding * 2,\\n\\t\\t\\t begin = this.coordinates(this.current()) + padding,\\n\\t\\t\\t end = begin + this.width() * rtl,\\n\\t\\t\\t inner,\\n\\t\\t\\t outer,\\n\\t\\t\\t matches = [],\\n\\t\\t\\t i,\\n\\t\\t\\t n;\\n\\n\\t\\t\\tfor (i = 0, n = this._coordinates.length; i < n; i++) {\\n\\t\\t\\t\\tinner = this._coordinates[i - 1] || 0;\\n\\t\\t\\t\\touter = Math.abs(this._coordinates[i]) + padding * rtl;\\n\\n\\t\\t\\t\\tif (this.op(inner, '<=', begin) && this.op(inner, '>', end) || this.op(outer, '<', begin) && this.op(outer, '>', end)) {\\n\\t\\t\\t\\t\\tmatches.push(i);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\n\\t\\t\\tthis.$stage.children('.active').removeClass('active');\\n\\t\\t\\tthis.$stage.children(':eq(' + matches.join('), :eq(') + ')').addClass('active');\\n\\n\\t\\t\\tif (this.settings.center) {\\n\\t\\t\\t\\tthis.$stage.children('.center').removeClass('center');\\n\\t\\t\\t\\tthis.$stage.children().eq(this.current()).addClass('center');\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}];\\n\\n\\t/**\\n * Initializes the carousel.\\n * @protected\\n */\\n\\tOwl.prototype.initialize = function () {\\n\\t\\tthis.enter('initializing');\\n\\t\\tthis.trigger('initialize');\\n\\n\\t\\tthis.$element.toggleClass(this.settings.rtlClass, this.settings.rtl);\\n\\n\\t\\tif (this.settings.autoWidth && !this.is('pre-loading')) {\\n\\t\\t\\tvar imgs, nestedSelector, width;\\n\\t\\t\\timgs = this.$element.find('img');\\n\\t\\t\\tnestedSelector = this.settings.nestedItemSelector ? '.' + this.settings.nestedItemSelector : undefined;\\n\\t\\t\\twidth = this.$element.children(nestedSelector).width();\\n\\n\\t\\t\\tif (imgs.length && width <= 0) {\\n\\t\\t\\t\\tthis.preloadAutoWidthImages(imgs);\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\tthis.$element.addClass(this.options.loadingClass);\\n\\n\\t\\t// HACK: DISABLE SCROLLBAR\\n\\t\\tvar overflowVal = $('body').css('overflow');\\n\\t\\t$('body').css({ 'overflow': 'hidden' });\\n\\n\\t\\t// create stage\\n\\t\\tthis.$stage = $('<' + this.settings.stageElement + ' class=\\\"' + this.settings.stageClass + '\\\"/>').wrap('<div class=\\\"' + this.settings.stageOuterClass + '\\\"/>');\\n\\n\\t\\t// append stage\\n\\t\\tthis.$element.append(this.$stage.parent());\\n\\n\\t\\t// append content\\n\\t\\tthis.replace(this.$element.children().not(this.$stage.parent()));\\n\\n\\t\\t// check visibility\\n\\t\\tif (this.$element.is(':visible')) {\\n\\t\\t\\t// update view\\n\\t\\t\\tthis.refresh();\\n\\t\\t} else {\\n\\t\\t\\t// invalidate width\\n\\t\\t\\tthis.invalidate('width');\\n\\t\\t}\\n\\n\\t\\t// HACK: RESTORE SCROLLBAR\\n\\t\\t$('body').css({ 'overflow': overflowVal });\\n\\n\\t\\tthis.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass);\\n\\n\\t\\t// register event handlers\\n\\t\\tthis.registerEventHandlers();\\n\\n\\t\\tthis.leave('initializing');\\n\\t\\tthis.trigger('initialized');\\n\\t};\\n\\n\\t/**\\n * Setups the current settings.\\n * @todo Remove responsive classes. Why should adaptive designs be brought into IE8?\\n * @todo Support for media queries by using `matchMedia` would be nice.\\n * @public\\n */\\n\\tOwl.prototype.setup = function () {\\n\\t\\tvar viewport = this.viewport(),\\n\\t\\t overwrites = this.options.responsive,\\n\\t\\t match = -1,\\n\\t\\t settings = null;\\n\\n\\t\\tif (!overwrites) {\\n\\t\\t\\tsettings = $.extend({}, this.options);\\n\\t\\t} else {\\n\\t\\t\\t$.each(overwrites, function (breakpoint) {\\n\\t\\t\\t\\tif (breakpoint <= viewport && breakpoint > match) {\\n\\t\\t\\t\\t\\tmatch = Number(breakpoint);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\n\\t\\t\\tsettings = $.extend({}, this.options, overwrites[match]);\\n\\t\\t\\tif (typeof settings.stagePadding === 'function') {\\n\\t\\t\\t\\tsettings.stagePadding = settings.stagePadding();\\n\\t\\t\\t}\\n\\t\\t\\tdelete settings.responsive;\\n\\n\\t\\t\\t// responsive class\\n\\t\\t\\tif (settings.responsiveClass) {\\n\\t\\t\\t\\tthis.$element.attr('class', this.$element.attr('class').replace(new RegExp('(' + this.options.responsiveClass + '-)\\\\\\\\S+\\\\\\\\s', 'g'), '$1' + match));\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\tthis.trigger('change', { property: { name: 'settings', value: settings } });\\n\\t\\tthis._breakpoint = match;\\n\\t\\tthis.settings = settings;\\n\\t\\tthis.invalidate('settings');\\n\\t\\tthis.trigger('changed', { property: { name: 'settings', value: this.settings } });\\n\\t};\\n\\n\\t/**\\n * Updates option logic if necessery.\\n * @protected\\n */\\n\\tOwl.prototype.optionsLogic = function () {\\n\\t\\tif (this.settings.autoWidth) {\\n\\t\\t\\tthis.settings.stagePadding = false;\\n\\t\\t\\tthis.settings.merge = false;\\n\\t\\t}\\n\\t};\\n\\n\\t/**\\n * Prepares an item before add.\\n * @todo Rename event parameter `content` to `item`.\\n * @protected\\n * @returns {jQuery|HTMLElement} - The item container.\\n */\\n\\tOwl.prototype.prepare = function (item) {\\n\\t\\tvar event = this.trigger('prepare', { content: item });\\n\\n\\t\\tif (!event.data) {\\n\\t\\t\\tevent.data = $('<' + this.settings.itemElement + '/>').addClass(this.options.itemClass).append(item);\\n\\t\\t}\\n\\n\\t\\tthis.trigger('prepared', { content: event.data });\\n\\n\\t\\treturn event.data;\\n\\t};\\n\\n\\t/**\\n * Updates the view.\\n * @public\\n */\\n\\tOwl.prototype.update = function () {\\n\\t\\tvar i = 0,\\n\\t\\t n = this._pipe.length,\\n\\t\\t filter = $.proxy(function (p) {\\n\\t\\t\\treturn this[p];\\n\\t\\t}, this._invalidated),\\n\\t\\t cache = {};\\n\\n\\t\\twhile (i < n) {\\n\\t\\t\\tif (this._invalidated.all || $.grep(this._pipe[i].filter, filter).length > 0) {\\n\\t\\t\\t\\tthis._pipe[i].run(cache);\\n\\t\\t\\t}\\n\\t\\t\\ti++;\\n\\t\\t}\\n\\n\\t\\tthis._invalidated = {};\\n\\n\\t\\t!this.is('valid') && this.enter('valid');\\n\\t};\\n\\n\\t/**\\n * Gets the width of the view.\\n * @public\\n * @param {Owl.Width} [dimension=Owl.Width.Default] - The dimension to return.\\n * @returns {Number} - The width of the view in pixel.\\n */\\n\\tOwl.prototype.width = function (dimension) {\\n\\t\\tdimension = dimension || Owl.Width.Default;\\n\\t\\tswitch (dimension) {\\n\\t\\t\\tcase Owl.Width.Inner:\\n\\t\\t\\tcase Owl.Width.Outer:\\n\\t\\t\\t\\treturn this._width;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\treturn this._width - this.settings.stagePadding * 2 + this.settings.margin;\\n\\t\\t}\\n\\t};\\n\\n\\t/**\\n * Refreshes the carousel primarily for adaptive purposes.\\n * @public\\n */\\n\\tOwl.prototype.refresh = function () {\\n\\t\\tthis.enter('refreshing');\\n\\t\\tthis.trigger('refresh');\\n\\n\\t\\tthis.setup();\\n\\n\\t\\tthis.optionsLogic();\\n\\n\\t\\tthis.$element.addClass(this.options.refreshClass);\\n\\n\\t\\tthis.update();\\n\\n\\t\\tthis.$element.removeClass(this.options.refreshClass);\\n\\n\\t\\tthis.leave('refreshing');\\n\\t\\tthis.trigger('refreshed');\\n\\t};\\n\\n\\t/**\\n * Checks window `resize` event.\\n * @protected\\n */\\n\\tOwl.prototype.onThrottledResize = function () {\\n\\t\\twindow.clearTimeout(this.resizeTimer);\\n\\t\\tthis.resizeTimer = window.setTimeout(this._handlers.onResize, this.settings.responsiveRefreshRate);\\n\\t};\\n\\n\\t/**\\n * Checks window `resize` event.\\n * @protected\\n */\\n\\tOwl.prototype.onResize = function () {\\n\\t\\tif (!this._items.length) {\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\n\\t\\tif (this._width === this.$element.width()) {\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\n\\t\\tif (!this.$element.is(':visible')) {\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\n\\t\\tthis.enter('resizing');\\n\\n\\t\\tif (this.trigger('resize').isDefaultPrevented()) {\\n\\t\\t\\tthis.leave('resizing');\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\n\\t\\tthis.invalidate('width');\\n\\n\\t\\tthis.refresh();\\n\\n\\t\\tthis.leave('resizing');\\n\\t\\tthis.trigger('resized');\\n\\t};\\n\\n\\t/**\\n * Registers event handlers.\\n * @todo Check `msPointerEnabled`\\n * @todo #261\\n * @protected\\n */\\n\\tOwl.prototype.registerEventHandlers = function () {\\n\\t\\tif ($.support.transition) {\\n\\t\\t\\tthis.$stage.on($.support.transition.end + '.owl.core', $.proxy(this.onTransitionEnd, this));\\n\\t\\t}\\n\\n\\t\\tif (this.settings.responsive !== false) {\\n\\t\\t\\tthis.on(window, 'resize', this._handlers.onThrottledResize);\\n\\t\\t}\\n\\n\\t\\tif (this.settings.mouseDrag) {\\n\\t\\t\\tthis.$element.addClass(this.options.dragClass);\\n\\t\\t\\tthis.$stage.on('mousedown.owl.core', $.proxy(this.onDragStart, this));\\n\\t\\t\\tthis.$stage.on('dragstart.owl.core selectstart.owl.core', function () {\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t});\\n\\t\\t}\\n\\n\\t\\tif (this.settings.touchDrag) {\\n\\t\\t\\tthis.$stage.on('touchstart.owl.core', $.proxy(this.onDragStart, this));\\n\\t\\t\\tthis.$stage.on('touchcancel.owl.core', $.proxy(this.onDragEnd, this));\\n\\t\\t}\\n\\t};\\n\\n\\t/**\\n * Handles `touchstart` and `mousedown` events.\\n * @todo Horizontal swipe threshold as option\\n * @todo #261\\n * @protected\\n * @param {Event} event - The event arguments.\\n */\\n\\tOwl.prototype.onDragStart = function (event) {\\n\\t\\tvar stage = null;\\n\\n\\t\\tif (event.which === 3) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\n\\t\\tif ($.support.transform) {\\n\\t\\t\\tstage = this.$stage.css('transform').replace(/.*\\\\(|\\\\)| /g, '').split(',');\\n\\t\\t\\tstage = {\\n\\t\\t\\t\\tx: stage[stage.length === 16 ? 12 : 4],\\n\\t\\t\\t\\ty: stage[stage.length === 16 ? 13 : 5]\\n\\t\\t\\t};\\n\\t\\t} else {\\n\\t\\t\\tstage = this.$stage.position();\\n\\t\\t\\tstage = {\\n\\t\\t\\t\\tx: this.settings.rtl ? stage.left + this.$stage.width() - this.width() + this.settings.margin : stage.left,\\n\\t\\t\\t\\ty: stage.top\\n\\t\\t\\t};\\n\\t\\t}\\n\\n\\t\\tif (this.is('animating')) {\\n\\t\\t\\t$.support.transform ? this.animate(stage.x) : this.$stage.stop();\\n\\t\\t\\tthis.invalidate('position');\\n\\t\\t}\\n\\n\\t\\tthis.$element.toggleClass(this.options.grabClass, event.type === 'mousedown');\\n\\n\\t\\tthis.speed(0);\\n\\n\\t\\tthis._drag.time = new Date().getTime();\\n\\t\\tthis._drag.target = $(event.target);\\n\\t\\tthis._drag.stage.start = stage;\\n\\t\\tthis._drag.stage.current = stage;\\n\\t\\tthis._drag.pointer = this.pointer(event);\\n\\n\\t\\t$(document).on('mouseup.owl.core touchend.owl.core', $.proxy(this.onDragEnd, this));\\n\\n\\t\\t$(document).one('mousemove.owl.core touchmove.owl.core', $.proxy(function (event) {\\n\\t\\t\\tvar delta = this.difference(this._drag.pointer, this.pointer(event));\\n\\n\\t\\t\\t$(document).on('mousemove.owl.core touchmove.owl.core', $.proxy(this.onDragMove, this));\\n\\n\\t\\t\\tif (Math.abs(delta.x) < Math.abs(delta.y) && this.is('valid')) {\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\n\\t\\t\\tevent.preventDefault();\\n\\n\\t\\t\\tthis.enter('dragging');\\n\\t\\t\\tthis.trigger('drag');\\n\\t\\t}, this));\\n\\t};\\n\\n\\t/**\\n * Handles the `touchmove` and `mousemove` events.\\n * @todo #261\\n * @protected\\n * @param {Event} event - The event arguments.\\n */\\n\\tOwl.prototype.onDragMove = function (event) {\\n\\t\\tvar minimum = null,\\n\\t\\t maximum = null,\\n\\t\\t pull = null,\\n\\t\\t delta = this.difference(this._drag.pointer, this.pointer(event)),\\n\\t\\t stage = this.difference(this._drag.stage.start, delta);\\n\\n\\t\\tif (!this.is('dragging')) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\n\\t\\tevent.preventDefault();\\n\\n\\t\\tif (this.settings.loop) {\\n\\t\\t\\tminimum = this.coordinates(this.minimum());\\n\\t\\t\\tmaximum = this.coordinates(this.maximum() + 1) - minimum;\\n\\t\\t\\tstage.x = ((stage.x - minimum) % maximum + maximum) % maximum + minimum;\\n\\t\\t} else {\\n\\t\\t\\tminimum = this.settings.rtl ? this.coordinates(this.maximum()) : this.coordinates(this.minimum());\\n\\t\\t\\tmaximum = this.settings.rtl ? this.coordinates(this.minimum()) : this.coordinates(this.maximum());\\n\\t\\t\\tpull = this.settings.pullDrag ? -1 * delta.x / 5 : 0;\\n\\t\\t\\tstage.x = Math.max(Math.min(stage.x, minimum + pull), maximum + pull);\\n\\t\\t}\\n\\n\\t\\tthis._drag.stage.current = stage;\\n\\n\\t\\tthis.animate(stage.x);\\n\\t};\\n\\n\\t/**\\n * Handles the `touchend` and `mouseup` events.\\n * @todo #261\\n * @todo Threshold for click event\\n * @protected\\n * @param {Event} event - The event arguments.\\n */\\n\\tOwl.prototype.onDragEnd = function (event) {\\n\\t\\tvar delta = this.difference(this._drag.pointer, this.pointer(event)),\\n\\t\\t stage = this._drag.stage.current,\\n\\t\\t direction = delta.x > 0 ^ this.settings.rtl ? 'left' : 'right';\\n\\n\\t\\t$(document).off('.owl.core');\\n\\n\\t\\tthis.$element.removeClass(this.options.grabClass);\\n\\n\\t\\tif (delta.x !== 0 && this.is('dragging') || !this.is('valid')) {\\n\\t\\t\\tthis.speed(this.settings.dragEndSpeed || this.settings.smartSpeed);\\n\\t\\t\\tthis.current(this.closest(stage.x, delta.x !== 0 ? direction : this._drag.direction));\\n\\t\\t\\tthis.invalidate('position');\\n\\t\\t\\tthis.update();\\n\\n\\t\\t\\tthis._drag.direction = direction;\\n\\n\\t\\t\\tif (Math.abs(delta.x) > 3 || new Date().getTime() - this._drag.time > 300) {\\n\\t\\t\\t\\tthis._drag.target.one('click.owl.core', function () {\\n\\t\\t\\t\\t\\treturn false;\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\tif (!this.is('dragging')) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\n\\t\\tthis.leave('dragging');\\n\\t\\tthis.trigger('dragged');\\n\\t};\\n\\n\\t/**\\n * Gets absolute position of the closest item for a coordinate.\\n * @todo Setting `freeDrag` makes `closest` not reusable. See #165.\\n * @protected\\n * @param {Number} coordinate - The coordinate in pixel.\\n * @param {String} direction - The direction to check for the closest item. Ether `left` or `right`.\\n * @return {Number} - The absolute position of the closest item.\\n */\\n\\tOwl.prototype.closest = function (coordinate, direction) {\\n\\t\\tvar position = -1,\\n\\t\\t pull = 30,\\n\\t\\t width = this.width(),\\n\\t\\t coordinates = this.coordinates();\\n\\n\\t\\tif (!this.settings.freeDrag) {\\n\\t\\t\\t// check closest item\\n\\t\\t\\t$.each(coordinates, $.proxy(function (index, value) {\\n\\t\\t\\t\\t// on a left pull, check on current index\\n\\t\\t\\t\\tif (direction === 'left' && coordinate > value - pull && coordinate < value + pull) {\\n\\t\\t\\t\\t\\tposition = index;\\n\\t\\t\\t\\t\\t// on a right pull, check on previous index\\n\\t\\t\\t\\t\\t// to do so, subtract width from value and set position = index + 1\\n\\t\\t\\t\\t} else if (direction === 'right' && coordinate > value - width - pull && coordinate < value - width + pull) {\\n\\t\\t\\t\\t\\tposition = index + 1;\\n\\t\\t\\t\\t} else if (this.op(coordinate, '<', value) && this.op(coordinate, '>', coordinates[index + 1] || value - width)) {\\n\\t\\t\\t\\t\\tposition = direction === 'left' ? index + 1 : index;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\treturn position === -1;\\n\\t\\t\\t}, this));\\n\\t\\t}\\n\\n\\t\\tif (!this.settings.loop) {\\n\\t\\t\\t// non loop boundries\\n\\t\\t\\tif (this.op(coordinate, '>', coordinates[this.minimum()])) {\\n\\t\\t\\t\\tposition = coordinate = this.minimum();\\n\\t\\t\\t} else if (this.op(coordinate, '<', coordinates[this.maximum()])) {\\n\\t\\t\\t\\tposition = coordinate = this.maximum();\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\treturn position;\\n\\t};\\n\\n\\t/**\\n * Animates the stage.\\n * @todo #270\\n * @public\\n * @param {Number} coordinate - The coordinate in pixels.\\n */\\n\\tOwl.prototype.animate = function (coordinate) {\\n\\t\\tvar animate = this.speed() > 0;\\n\\n\\t\\tthis.is('animating') && this.onTransitionEnd();\\n\\n\\t\\tif (animate) {\\n\\t\\t\\tthis.enter('animating');\\n\\t\\t\\tthis.trigger('translate');\\n\\t\\t}\\n\\n\\t\\tif ($.support.transform3d && $.support.transition) {\\n\\t\\t\\tthis.$stage.css({\\n\\t\\t\\t\\ttransform: 'translate3d(' + coordinate + 'px,0px,0px)',\\n\\t\\t\\t\\ttransition: this.speed() / 1000 + 's'\\n\\t\\t\\t});\\n\\t\\t} else if (animate) {\\n\\t\\t\\tthis.$stage.animate({\\n\\t\\t\\t\\tleft: coordinate + 'px'\\n\\t\\t\\t}, this.speed(), this.settings.fallbackEasing, $.proxy(this.onTransitionEnd, this));\\n\\t\\t} else {\\n\\t\\t\\tthis.$stage.css({\\n\\t\\t\\t\\tleft: coordinate + 'px'\\n\\t\\t\\t});\\n\\t\\t}\\n\\t};\\n\\n\\t/**\\n * Checks whether the carousel is in a specific state or not.\\n * @param {String} state - The state to check.\\n * @returns {Boolean} - The flag which indicates if the carousel is busy.\\n */\\n\\tOwl.prototype.is = function (state) {\\n\\t\\treturn this._states.current[state] && this._states.current[state] > 0;\\n\\t};\\n\\n\\t/**\\n * Sets the absolute position of the current item.\\n * @public\\n * @param {Number} [position] - The new absolute position or nothing to leave it unchanged.\\n * @returns {Number} - The absolute position of the current item.\\n */\\n\\tOwl.prototype.current = function (position) {\\n\\t\\tif (position === undefined) {\\n\\t\\t\\treturn this._current;\\n\\t\\t}\\n\\n\\t\\tif (this._items.length === 0) {\\n\\t\\t\\treturn undefined;\\n\\t\\t}\\n\\n\\t\\tposition = this.normalize(position);\\n\\n\\t\\tif (this._current !== position) {\\n\\t\\t\\tvar event = this.trigger('change', { property: { name: 'position', value: position } });\\n\\n\\t\\t\\tif (event.data !== undefined) {\\n\\t\\t\\t\\tposition = this.normalize(event.data);\\n\\t\\t\\t}\\n\\n\\t\\t\\tthis._current = position;\\n\\n\\t\\t\\tthis.invalidate('position');\\n\\n\\t\\t\\tthis.trigger('changed', { property: { name: 'position', value: this._current } });\\n\\t\\t}\\n\\n\\t\\treturn this._current;\\n\\t};\\n\\n\\t/**\\n * Invalidates the given part of the update routine.\\n * @param {String} [part] - The part to invalidate.\\n * @returns {Array.<String>} - The invalidated parts.\\n */\\n\\tOwl.prototype.invalidate = function (part) {\\n\\t\\tif ($.type(part) === 'string') {\\n\\t\\t\\tthis._invalidated[part] = true;\\n\\t\\t\\tthis.is('valid') && this.leave('valid');\\n\\t\\t}\\n\\t\\treturn $.map(this._invalidated, function (v, i) {\\n\\t\\t\\treturn i;\\n\\t\\t});\\n\\t};\\n\\n\\t/**\\n * Resets the absolute position of the current item.\\n * @public\\n * @param {Number} position - The absolute position of the new item.\\n */\\n\\tOwl.prototype.reset = function (position) {\\n\\t\\tposition = this.normalize(position);\\n\\n\\t\\tif (position === undefined) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\n\\t\\tthis._speed = 0;\\n\\t\\tthis._current = position;\\n\\n\\t\\tthis.suppress(['translate', 'translated']);\\n\\n\\t\\tthis.animate(this.coordinates(position));\\n\\n\\t\\tthis.release(['translate', 'translated']);\\n\\t};\\n\\n\\t/**\\n * Normalizes an absolute or a relative position of an item.\\n * @public\\n * @param {Number} position - The absolute or relative position to normalize.\\n * @param {Boolean} [relative=false] - Whether the given position is relative or not.\\n * @returns {Number} - The normalized position.\\n */\\n\\tOwl.prototype.normalize = function (position, relative) {\\n\\t\\tvar n = this._items.length,\\n\\t\\t m = relative ? 0 : this._clones.length;\\n\\n\\t\\tif (!this.isNumeric(position) || n < 1) {\\n\\t\\t\\tposition = undefined;\\n\\t\\t} else if (position < 0 || position >= n + m) {\\n\\t\\t\\tposition = ((position - m / 2) % n + n) % n + m / 2;\\n\\t\\t}\\n\\n\\t\\treturn position;\\n\\t};\\n\\n\\t/**\\n * Converts an absolute position of an item into a relative one.\\n * @public\\n * @param {Number} position - The absolute position to convert.\\n * @returns {Number} - The converted position.\\n */\\n\\tOwl.prototype.relative = function (position) {\\n\\t\\tposition -= this._clones.length / 2;\\n\\t\\treturn this.normalize(position, true);\\n\\t};\\n\\n\\t/**\\n * Gets the maximum position for the current item.\\n * @public\\n * @param {Boolean} [relative=false] - Whether to return an absolute position or a relative position.\\n * @returns {Number}\\n */\\n\\tOwl.prototype.maximum = function (relative) {\\n\\t\\tvar settings = this.settings,\\n\\t\\t maximum = this._coordinates.length,\\n\\t\\t iterator,\\n\\t\\t reciprocalItemsWidth,\\n\\t\\t elementWidth;\\n\\n\\t\\tif (settings.loop) {\\n\\t\\t\\tmaximum = this._clones.length / 2 + this._items.length - 1;\\n\\t\\t} else if (settings.autoWidth || settings.merge) {\\n\\t\\t\\titerator = this._items.length;\\n\\t\\t\\treciprocalItemsWidth = this._items[--iterator].width();\\n\\t\\t\\telementWidth = this.$element.width();\\n\\t\\t\\twhile (iterator--) {\\n\\t\\t\\t\\treciprocalItemsWidth += this._items[iterator].width() + this.settings.margin;\\n\\t\\t\\t\\tif (reciprocalItemsWidth > elementWidth) {\\n\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t\\tmaximum = iterator + 1;\\n\\t\\t} else if (settings.center) {\\n\\t\\t\\tmaximum = this._items.length - 1;\\n\\t\\t} else {\\n\\t\\t\\tmaximum = this._items.length - settings.items;\\n\\t\\t}\\n\\n\\t\\tif (relative) {\\n\\t\\t\\tmaximum -= this._clones.length / 2;\\n\\t\\t}\\n\\n\\t\\treturn Math.max(maximum, 0);\\n\\t};\\n\\n\\t/**\\n * Gets the minimum position for the current item.\\n * @public\\n * @param {Boolean} [relative=false] - Whether to return an absolute position or a relative position.\\n * @returns {Number}\\n */\\n\\tOwl.prototype.minimum = function (relative) {\\n\\t\\treturn relative ? 0 : this._clones.length / 2;\\n\\t};\\n\\n\\t/**\\n * Gets an item at the specified relative position.\\n * @public\\n * @param {Number} [position] - The relative position of the item.\\n * @return {jQuery|Array.<jQuery>} - The item at the given position or all items if no position was given.\\n */\\n\\tOwl.prototype.items = function (position) {\\n\\t\\tif (position === undefined) {\\n\\t\\t\\treturn this._items.slice();\\n\\t\\t}\\n\\n\\t\\tposition = this.normalize(position, true);\\n\\t\\treturn this._items[position];\\n\\t};\\n\\n\\t/**\\n * Gets an item at the specified relative position.\\n * @public\\n * @param {Number} [position] - The relative position of the item.\\n * @return {jQuery|Array.<jQuery>} - The item at the given position or all items if no position was given.\\n */\\n\\tOwl.prototype.mergers = function (position) {\\n\\t\\tif (position === undefined) {\\n\\t\\t\\treturn this._mergers.slice();\\n\\t\\t}\\n\\n\\t\\tposition = this.normalize(position, true);\\n\\t\\treturn this._mergers[position];\\n\\t};\\n\\n\\t/**\\n * Gets the absolute positions of clones for an item.\\n * @public\\n * @param {Number} [position] - The relative position of the item.\\n * @returns {Array.<Number>} - The absolute positions of clones for the item or all if no position was given.\\n */\\n\\tOwl.prototype.clones = function (position) {\\n\\t\\tvar odd = this._clones.length / 2,\\n\\t\\t even = odd + this._items.length,\\n\\t\\t map = function map(index) {\\n\\t\\t\\treturn index % 2 === 0 ? even + index / 2 : odd - (index + 1) / 2;\\n\\t\\t};\\n\\n\\t\\tif (position === undefined) {\\n\\t\\t\\treturn $.map(this._clones, function (v, i) {\\n\\t\\t\\t\\treturn map(i);\\n\\t\\t\\t});\\n\\t\\t}\\n\\n\\t\\treturn $.map(this._clones, function (v, i) {\\n\\t\\t\\treturn v === position ? map(i) : null;\\n\\t\\t});\\n\\t};\\n\\n\\t/**\\n * Sets the current animation speed.\\n * @public\\n * @param {Number} [speed] - The animation speed in milliseconds or nothing to leave it unchanged.\\n * @returns {Number} - The current animation speed in milliseconds.\\n */\\n\\tOwl.prototype.speed = function (speed) {\\n\\t\\tif (speed !== undefined) {\\n\\t\\t\\tthis._speed = speed;\\n\\t\\t}\\n\\n\\t\\treturn this._speed;\\n\\t};\\n\\n\\t/**\\n * Gets the coordinate of an item.\\n * @todo The name of this method is missleanding.\\n * @public\\n * @param {Number} position - The absolute position of the item within `minimum()` and `maximum()`.\\n * @returns {Number|Array.<Number>} - The coordinate of the item in pixel or all coordinates.\\n */\\n\\tOwl.prototype.coordinates = function (position) {\\n\\t\\tvar multiplier = 1,\\n\\t\\t newPosition = position - 1,\\n\\t\\t coordinate;\\n\\n\\t\\tif (position === undefined) {\\n\\t\\t\\treturn $.map(this._coordinates, $.proxy(function (coordinate, index) {\\n\\t\\t\\t\\treturn this.coordinates(index);\\n\\t\\t\\t}, this));\\n\\t\\t}\\n\\n\\t\\tif (this.settings.center) {\\n\\t\\t\\tif (this.settings.rtl) {\\n\\t\\t\\t\\tmultiplier = -1;\\n\\t\\t\\t\\tnewPosition = position + 1;\\n\\t\\t\\t}\\n\\n\\t\\t\\tcoordinate = this._coordinates[position];\\n\\t\\t\\tcoordinate += (this.width() - coordinate + (this._coordinates[newPosition] || 0)) / 2 * multiplier;\\n\\t\\t} else {\\n\\t\\t\\tcoordinate = this._coordinates[newPosition] || 0;\\n\\t\\t}\\n\\n\\t\\tcoordinate = Math.ceil(coordinate);\\n\\n\\t\\treturn coordinate;\\n\\t};\\n\\n\\t/**\\n * Calculates the speed for a translation.\\n * @protected\\n * @param {Number} from - The absolute position of the start item.\\n * @param {Number} to - The absolute position of the target item.\\n * @param {Number} [factor=undefined] - The time factor in milliseconds.\\n * @returns {Number} - The time in milliseconds for the translation.\\n */\\n\\tOwl.prototype.duration = function (from, to, factor) {\\n\\t\\tif (factor === 0) {\\n\\t\\t\\treturn 0;\\n\\t\\t}\\n\\n\\t\\treturn Math.min(Math.max(Math.abs(to - from), 1), 6) * Math.abs(factor || this.settings.smartSpeed);\\n\\t};\\n\\n\\t/**\\n * Slides to the specified item.\\n * @public\\n * @param {Number} position - The position of the item.\\n * @param {Number} [speed] - The time in milliseconds for the transition.\\n */\\n\\tOwl.prototype.to = function (position, speed) {\\n\\t\\tvar current = this.current(),\\n\\t\\t revert = null,\\n\\t\\t distance = position - this.relative(current),\\n\\t\\t direction = (distance > 0) - (distance < 0),\\n\\t\\t items = this._items.length,\\n\\t\\t minimum = this.minimum(),\\n\\t\\t maximum = this.maximum();\\n\\n\\t\\tif (this.settings.loop) {\\n\\t\\t\\tif (!this.settings.rewind && Math.abs(distance) > items / 2) {\\n\\t\\t\\t\\tdistance += direction * -1 * items;\\n\\t\\t\\t}\\n\\n\\t\\t\\tposition = current + distance;\\n\\t\\t\\trevert = ((position - minimum) % items + items) % items + minimum;\\n\\n\\t\\t\\tif (revert !== position && revert - distance <= maximum && revert - distance > 0) {\\n\\t\\t\\t\\tcurrent = revert - distance;\\n\\t\\t\\t\\tposition = revert;\\n\\t\\t\\t\\tthis.reset(current);\\n\\t\\t\\t}\\n\\t\\t} else if (this.settings.rewind) {\\n\\t\\t\\tmaximum += 1;\\n\\t\\t\\tposition = (position % maximum + maximum) % maximum;\\n\\t\\t} else {\\n\\t\\t\\tposition = Math.max(minimum, Math.min(maximum, position));\\n\\t\\t}\\n\\n\\t\\tthis.speed(this.duration(current, position, speed));\\n\\t\\tthis.current(position);\\n\\n\\t\\tif (this.$element.is(':visible')) {\\n\\t\\t\\tthis.update();\\n\\t\\t}\\n\\t};\\n\\n\\t/**\\n * Slides to the next item.\\n * @public\\n * @param {Number} [speed] - The time in milliseconds for the transition.\\n */\\n\\tOwl.prototype.next = function (speed) {\\n\\t\\tspeed = speed || false;\\n\\t\\tthis.to(this.relative(this.current()) + 1, speed);\\n\\t};\\n\\n\\t/**\\n * Slides to the previous item.\\n * @public\\n * @param {Number} [speed] - The time in milliseconds for the transition.\\n */\\n\\tOwl.prototype.prev = function (speed) {\\n\\t\\tspeed = speed || false;\\n\\t\\tthis.to(this.relative(this.current()) - 1, speed);\\n\\t};\\n\\n\\t/**\\n * Handles the end of an animation.\\n * @protected\\n * @param {Event} event - The event arguments.\\n */\\n\\tOwl.prototype.onTransitionEnd = function (event) {\\n\\n\\t\\t// if css2 animation then event object is undefined\\n\\t\\tif (event !== undefined) {\\n\\t\\t\\tevent.stopPropagation();\\n\\n\\t\\t\\t// Catch only owl-stage transitionEnd event\\n\\t\\t\\tif ((event.target || event.srcElement || event.originalTarget) !== this.$stage.get(0)) {\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\tthis.leave('animating');\\n\\t\\tthis.trigger('translated');\\n\\t};\\n\\n\\t/**\\n * Gets viewport width.\\n * @protected\\n * @return {Number} - The width in pixel.\\n */\\n\\tOwl.prototype.viewport = function () {\\n\\t\\tvar width;\\n\\t\\tif (this.options.responsiveBaseElement !== window) {\\n\\t\\t\\twidth = $(this.options.responsiveBaseElement).width();\\n\\t\\t} else if (window.innerWidth) {\\n\\t\\t\\twidth = window.innerWidth;\\n\\t\\t} else if (document.documentElement && document.documentElement.clientWidth) {\\n\\t\\t\\twidth = document.documentElement.clientWidth;\\n\\t\\t} else {\\n\\t\\t\\tconsole.warn('Can not detect viewport width.');\\n\\t\\t}\\n\\t\\treturn width;\\n\\t};\\n\\n\\t/**\\n * Replaces the current content.\\n * @public\\n * @param {HTMLElement|jQuery|String} content - The new content.\\n */\\n\\tOwl.prototype.replace = function (content) {\\n\\t\\tthis.$stage.empty();\\n\\t\\tthis._items = [];\\n\\n\\t\\tif (content) {\\n\\t\\t\\tcontent = content instanceof jQuery ? content : $(content);\\n\\t\\t}\\n\\n\\t\\tif (this.settings.nestedItemSelector) {\\n\\t\\t\\tcontent = content.find('.' + this.settings.nestedItemSelector);\\n\\t\\t}\\n\\n\\t\\tcontent.filter(function () {\\n\\t\\t\\treturn this.nodeType === 1;\\n\\t\\t}).each($.proxy(function (index, item) {\\n\\t\\t\\titem = this.prepare(item);\\n\\t\\t\\tthis.$stage.append(item);\\n\\t\\t\\tthis._items.push(item);\\n\\t\\t\\tthis._mergers.push(item.find('[data-merge]').addBack('[data-merge]').attr('data-merge') * 1 || 1);\\n\\t\\t}, this));\\n\\n\\t\\tthis.reset(this.isNumeric(this.settings.startPosition) ? this.settings.startPosition : 0);\\n\\n\\t\\tthis.invalidate('items');\\n\\t};\\n\\n\\t/**\\n * Adds an item.\\n * @todo Use `item` instead of `content` for the event arguments.\\n * @public\\n * @param {HTMLElement|jQuery|String} content - The item content to add.\\n * @param {Number} [position] - The relative position at which to insert the item otherwise the item will be added to the end.\\n */\\n\\tOwl.prototype.add = function (content, position) {\\n\\t\\tvar current = this.relative(this._current);\\n\\n\\t\\tposition = position === undefined ? this._items.length : this.normalize(position, true);\\n\\t\\tcontent = content instanceof jQuery ? content : $(content);\\n\\n\\t\\tthis.trigger('add', { content: content, position: position });\\n\\n\\t\\tcontent = this.prepare(content);\\n\\n\\t\\tif (this._items.length === 0 || position === this._items.length) {\\n\\t\\t\\tthis._items.length === 0 && this.$stage.append(content);\\n\\t\\t\\tthis._items.length !== 0 && this._items[position - 1].after(content);\\n\\t\\t\\tthis._items.push(content);\\n\\t\\t\\tthis._mergers.push(content.find('[data-merge]').addBack('[data-merge]').attr('data-merge') * 1 || 1);\\n\\t\\t} else {\\n\\t\\t\\tthis._items[position].before(content);\\n\\t\\t\\tthis._items.splice(position, 0, content);\\n\\t\\t\\tthis._mergers.splice(position, 0, content.find('[data-merge]').addBack('[data-merge]').attr('data-merge') * 1 || 1);\\n\\t\\t}\\n\\n\\t\\tthis._items[current] && this.reset(this._items[current].index());\\n\\n\\t\\tthis.invalidate('items');\\n\\n\\t\\tthis.trigger('added', { content: content, position: position });\\n\\t};\\n\\n\\t/**\\n * Removes an item by its position.\\n * @todo Use `item` instead of `content` for the event arguments.\\n * @public\\n * @param {Number} position - The relative position of the item to remove.\\n */\\n\\tOwl.prototype.remove = function (position) {\\n\\t\\tposition = this.normalize(position, true);\\n\\n\\t\\tif (position === undefined) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\n\\t\\tthis.trigger('remove', { content: this._items[position], position: position });\\n\\n\\t\\tthis._items[position].remove();\\n\\t\\tthis._items.splice(position, 1);\\n\\t\\tthis._mergers.splice(position, 1);\\n\\n\\t\\tthis.invalidate('items');\\n\\n\\t\\tthis.trigger('removed', { content: null, position: position });\\n\\t};\\n\\n\\t/**\\n * Preloads images with auto width.\\n * @todo Replace by a more generic approach\\n * @protected\\n */\\n\\tOwl.prototype.preloadAutoWidthImages = function (images) {\\n\\t\\timages.each($.proxy(function (i, element) {\\n\\t\\t\\tthis.enter('pre-loading');\\n\\t\\t\\telement = $(element);\\n\\t\\t\\t$(new Image()).one('load', $.proxy(function (e) {\\n\\t\\t\\t\\telement.attr('src', e.target.src);\\n\\t\\t\\t\\telement.css('opacity', 1);\\n\\t\\t\\t\\tthis.leave('pre-loading');\\n\\t\\t\\t\\t!this.is('pre-loading') && !this.is('initializing') && this.refresh();\\n\\t\\t\\t}, this)).attr('src', element.attr('src') || element.attr('data-src') || element.attr('data-src-retina'));\\n\\t\\t}, this));\\n\\t};\\n\\n\\t/**\\n * Destroys the carousel.\\n * @public\\n */\\n\\tOwl.prototype.destroy = function () {\\n\\n\\t\\tthis.$element.off('.owl.core');\\n\\t\\tthis.$stage.off('.owl.core');\\n\\t\\t$(document).off('.owl.core');\\n\\n\\t\\tif (this.settings.responsive !== false) {\\n\\t\\t\\twindow.clearTimeout(this.resizeTimer);\\n\\t\\t\\tthis.off(window, 'resize', this._handlers.onThrottledResize);\\n\\t\\t}\\n\\n\\t\\tfor (var i in this._plugins) {\\n\\t\\t\\tthis._plugins[i].destroy();\\n\\t\\t}\\n\\n\\t\\tthis.$stage.children('.cloned').remove();\\n\\n\\t\\tthis.$stage.unwrap();\\n\\t\\tthis.$stage.children().contents().unwrap();\\n\\t\\tthis.$stage.children().unwrap();\\n\\n\\t\\tthis.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr('class', this.$element.attr('class').replace(new RegExp(this.options.responsiveClass + '-\\\\\\\\S+\\\\\\\\s', 'g'), '')).removeData('owl.carousel');\\n\\t};\\n\\n\\t/**\\n * Operators to calculate right-to-left and left-to-right.\\n * @protected\\n * @param {Number} [a] - The left side operand.\\n * @param {String} [o] - The operator.\\n * @param {Number} [b] - The right side operand.\\n */\\n\\tOwl.prototype.op = function (a, o, b) {\\n\\t\\tvar rtl = this.settings.rtl;\\n\\t\\tswitch (o) {\\n\\t\\t\\tcase '<':\\n\\t\\t\\t\\treturn rtl ? a > b : a < b;\\n\\t\\t\\tcase '>':\\n\\t\\t\\t\\treturn rtl ? a < b : a > b;\\n\\t\\t\\tcase '>=':\\n\\t\\t\\t\\treturn rtl ? a <= b : a >= b;\\n\\t\\t\\tcase '<=':\\n\\t\\t\\t\\treturn rtl ? a >= b : a <= b;\\n\\t\\t\\tdefault:\\n\\t\\t\\t\\tbreak;\\n\\t\\t}\\n\\t};\\n\\n\\t/**\\n * Attaches to an internal event.\\n * @protected\\n * @param {HTMLElement} element - The event source.\\n * @param {String} event - The event name.\\n * @param {Function} listener - The event handler to attach.\\n * @param {Boolean} capture - Wether the event should be handled at the capturing phase or not.\\n */\\n\\tOwl.prototype.on = function (element, event, listener, capture) {\\n\\t\\tif (element.addEventListener) {\\n\\t\\t\\telement.addEventListener(event, listener, capture);\\n\\t\\t} else if (element.attachEvent) {\\n\\t\\t\\telement.attachEvent('on' + event, listener);\\n\\t\\t}\\n\\t};\\n\\n\\t/**\\n * Detaches from an internal event.\\n * @protected\\n * @param {HTMLElement} element - The event source.\\n * @param {String} event - The event name.\\n * @param {Function} listener - The attached event handler to detach.\\n * @param {Boolean} capture - Wether the attached event handler was registered as a capturing listener or not.\\n */\\n\\tOwl.prototype.off = function (element, event, listener, capture) {\\n\\t\\tif (element.removeEventListener) {\\n\\t\\t\\telement.removeEventListener(event, listener, capture);\\n\\t\\t} else if (element.detachEvent) {\\n\\t\\t\\telement.detachEvent('on' + event, listener);\\n\\t\\t}\\n\\t};\\n\\n\\t/**\\n * Triggers a public event.\\n * @todo Remove `status`, `relatedTarget` should be used instead.\\n * @protected\\n * @param {String} name - The event name.\\n * @param {*} [data=null] - The event data.\\n * @param {String} [namespace=carousel] - The event namespace.\\n * @param {String} [state] - The state which is associated with the event.\\n * @param {Boolean} [enter=false] - Indicates if the call enters the specified state or not.\\n * @returns {Event} - The event arguments.\\n */\\n\\tOwl.prototype.trigger = function (name, data, namespace, state, enter) {\\n\\t\\tvar status = {\\n\\t\\t\\titem: { count: this._items.length, index: this.current() }\\n\\t\\t},\\n\\t\\t handler = $.camelCase($.grep(['on', name, namespace], function (v) {\\n\\t\\t\\treturn v;\\n\\t\\t}).join('-').toLowerCase()),\\n\\t\\t event = $.Event([name, 'owl', namespace || 'carousel'].join('.').toLowerCase(), $.extend({ relatedTarget: this }, status, data));\\n\\n\\t\\tif (!this._supress[name]) {\\n\\t\\t\\t$.each(this._plugins, function (name, plugin) {\\n\\t\\t\\t\\tif (plugin.onTrigger) {\\n\\t\\t\\t\\t\\tplugin.onTrigger(event);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\n\\t\\t\\tthis.register({ type: Owl.Type.Event, name: name });\\n\\t\\t\\tthis.$element.trigger(event);\\n\\n\\t\\t\\tif (this.settings && typeof this.settings[handler] === 'function') {\\n\\t\\t\\t\\tthis.settings[handler].call(this, event);\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\treturn event;\\n\\t};\\n\\n\\t/**\\n * Enters a state.\\n * @param name - The state name.\\n */\\n\\tOwl.prototype.enter = function (name) {\\n\\t\\t$.each([name].concat(this._states.tags[name] || []), $.proxy(function (i, name) {\\n\\t\\t\\tif (this._states.current[name] === undefined) {\\n\\t\\t\\t\\tthis._states.current[name] = 0;\\n\\t\\t\\t}\\n\\n\\t\\t\\tthis._states.current[name]++;\\n\\t\\t}, this));\\n\\t};\\n\\n\\t/**\\n * Leaves a state.\\n * @param name - The state name.\\n */\\n\\tOwl.prototype.leave = function (name) {\\n\\t\\t$.each([name].concat(this._states.tags[name] || []), $.proxy(function (i, name) {\\n\\t\\t\\tthis._states.current[name]--;\\n\\t\\t}, this));\\n\\t};\\n\\n\\t/**\\n * Registers an event or state.\\n * @public\\n * @param {Object} object - The event or state to register.\\n */\\n\\tOwl.prototype.register = function (object) {\\n\\t\\tif (object.type === Owl.Type.Event) {\\n\\t\\t\\tif (!$.event.special[object.name]) {\\n\\t\\t\\t\\t$.event.special[object.name] = {};\\n\\t\\t\\t}\\n\\n\\t\\t\\tif (!$.event.special[object.name].owl) {\\n\\t\\t\\t\\tvar _default = $.event.special[object.name]._default;\\n\\t\\t\\t\\t$.event.special[object.name]._default = function (e) {\\n\\t\\t\\t\\t\\tif (_default && _default.apply && (!e.namespace || e.namespace.indexOf('owl') === -1)) {\\n\\t\\t\\t\\t\\t\\treturn _default.apply(this, arguments);\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\treturn e.namespace && e.namespace.indexOf('owl') > -1;\\n\\t\\t\\t\\t};\\n\\t\\t\\t\\t$.event.special[object.name].owl = true;\\n\\t\\t\\t}\\n\\t\\t} else if (object.type === Owl.Type.State) {\\n\\t\\t\\tif (!this._states.tags[object.name]) {\\n\\t\\t\\t\\tthis._states.tags[object.name] = object.tags;\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tthis._states.tags[object.name] = this._states.tags[object.name].concat(object.tags);\\n\\t\\t\\t}\\n\\n\\t\\t\\tthis._states.tags[object.name] = $.grep(this._states.tags[object.name], $.proxy(function (tag, i) {\\n\\t\\t\\t\\treturn $.inArray(tag, this._states.tags[object.name]) === i;\\n\\t\\t\\t}, this));\\n\\t\\t}\\n\\t};\\n\\n\\t/**\\n * Suppresses events.\\n * @protected\\n * @param {Array.<String>} events - The events to suppress.\\n */\\n\\tOwl.prototype.suppress = function (events) {\\n\\t\\t$.each(events, $.proxy(function (index, event) {\\n\\t\\t\\tthis._supress[event] = true;\\n\\t\\t}, this));\\n\\t};\\n\\n\\t/**\\n * Releases suppressed events.\\n * @protected\\n * @param {Array.<String>} events - The events to release.\\n */\\n\\tOwl.prototype.release = function (events) {\\n\\t\\t$.each(events, $.proxy(function (index, event) {\\n\\t\\t\\tdelete this._supress[event];\\n\\t\\t}, this));\\n\\t};\\n\\n\\t/**\\n * Gets unified pointer coordinates from event.\\n * @todo #261\\n * @protected\\n * @param {Event} - The `mousedown` or `touchstart` event.\\n * @returns {Object} - Contains `x` and `y` coordinates of current pointer position.\\n */\\n\\tOwl.prototype.pointer = function (event) {\\n\\t\\tvar result = { x: null, y: null };\\n\\n\\t\\tevent = event.originalEvent || event || window.event;\\n\\n\\t\\tevent = event.touches && event.touches.length ? event.touches[0] : event.changedTouches && event.changedTouches.length ? event.changedTouches[0] : event;\\n\\n\\t\\tif (event.pageX) {\\n\\t\\t\\tresult.x = event.pageX;\\n\\t\\t\\tresult.y = event.pageY;\\n\\t\\t} else {\\n\\t\\t\\tresult.x = event.clientX;\\n\\t\\t\\tresult.y = event.clientY;\\n\\t\\t}\\n\\n\\t\\treturn result;\\n\\t};\\n\\n\\t/**\\n * Determines if the input is a Number or something that can be coerced to a Number\\n * @protected\\n * @param {Number|String|Object|Array|Boolean|RegExp|Function|Symbol} - The input to be tested\\n * @returns {Boolean} - An indication if the input is a Number or can be coerced to a Number\\n */\\n\\tOwl.prototype.isNumeric = function (number) {\\n\\t\\treturn !isNaN(parseFloat(number));\\n\\t};\\n\\n\\t/**\\n * Gets the difference of two vectors.\\n * @todo #261\\n * @protected\\n * @param {Object} - The first vector.\\n * @param {Object} - The second vector.\\n * @returns {Object} - The difference.\\n */\\n\\tOwl.prototype.difference = function (first, second) {\\n\\t\\treturn {\\n\\t\\t\\tx: first.x - second.x,\\n\\t\\t\\ty: first.y - second.y\\n\\t\\t};\\n\\t};\\n\\n\\t/**\\n * The jQuery Plugin for the Owl Carousel\\n * @todo Navigation plugin `next` and `prev`\\n * @public\\n */\\n\\t$.fn.owlCarousel = function (option) {\\n\\t\\tvar args = Array.prototype.slice.call(arguments, 1);\\n\\n\\t\\treturn this.each(function () {\\n\\t\\t\\tvar $this = $(this),\\n\\t\\t\\t data = $this.data('owl.carousel');\\n\\n\\t\\t\\tif (!data) {\\n\\t\\t\\t\\tdata = new Owl(this, (typeof option === 'undefined' ? 'undefined' : _typeof(option)) == 'object' && option);\\n\\t\\t\\t\\t$this.data('owl.carousel', data);\\n\\n\\t\\t\\t\\t$.each(['next', 'prev', 'to', 'destroy', 'refresh', 'replace', 'add', 'remove'], function (i, event) {\\n\\t\\t\\t\\t\\tdata.register({ type: Owl.Type.Event, name: event });\\n\\t\\t\\t\\t\\tdata.$element.on(event + '.owl.carousel.core', $.proxy(function (e) {\\n\\t\\t\\t\\t\\t\\tif (e.namespace && e.relatedTarget !== this) {\\n\\t\\t\\t\\t\\t\\t\\tthis.suppress([event]);\\n\\t\\t\\t\\t\\t\\t\\tdata[event].apply(this, [].slice.call(arguments, 1));\\n\\t\\t\\t\\t\\t\\t\\tthis.release([event]);\\n\\t\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\t}, data));\\n\\t\\t\\t\\t});\\n\\t\\t\\t}\\n\\n\\t\\t\\tif (typeof option == 'string' && option.charAt(0) !== '_') {\\n\\t\\t\\t\\tdata[option].apply(data, args);\\n\\t\\t\\t}\\n\\t\\t});\\n\\t};\\n\\n\\t/**\\n * The constructor for the jQuery Plugin\\n * @public\\n */\\n\\t$.fn.owlCarousel.Constructor = Owl;\\n})(window.Zepto || window.jQuery, window, document);\\n\\n/**\\n * AutoRefresh Plugin\\n * @version 2.1.0\\n * @author Artus Kolanowski\\n * @author David Deutsch\\n * @license The MIT License (MIT)\\n */\\n;(function ($, window, document, undefined) {\\n\\n\\t/**\\n * Creates the auto refresh plugin.\\n * @class The Auto Refresh Plugin\\n * @param {Owl} carousel - The Owl Carousel\\n */\\n\\tvar AutoRefresh = function AutoRefresh(carousel) {\\n\\t\\t/**\\n * Reference to the core.\\n * @protected\\n * @type {Owl}\\n */\\n\\t\\tthis._core = carousel;\\n\\n\\t\\t/**\\n * Refresh interval.\\n * @protected\\n * @type {number}\\n */\\n\\t\\tthis._interval = null;\\n\\n\\t\\t/**\\n * Whether the element is currently visible or not.\\n * @protected\\n * @type {Boolean}\\n */\\n\\t\\tthis._visible = null;\\n\\n\\t\\t/**\\n * All event handlers.\\n * @protected\\n * @type {Object}\\n */\\n\\t\\tthis._handlers = {\\n\\t\\t\\t'initialized.owl.carousel': $.proxy(function (e) {\\n\\t\\t\\t\\tif (e.namespace && this._core.settings.autoRefresh) {\\n\\t\\t\\t\\t\\tthis.watch();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this)\\n\\t\\t};\\n\\n\\t\\t// set default options\\n\\t\\tthis._core.options = $.extend({}, AutoRefresh.Defaults, this._core.options);\\n\\n\\t\\t// register event handlers\\n\\t\\tthis._core.$element.on(this._handlers);\\n\\t};\\n\\n\\t/**\\n * Default options.\\n * @public\\n */\\n\\tAutoRefresh.Defaults = {\\n\\t\\tautoRefresh: true,\\n\\t\\tautoRefreshInterval: 500\\n\\t};\\n\\n\\t/**\\n * Watches the element.\\n */\\n\\tAutoRefresh.prototype.watch = function () {\\n\\t\\tif (this._interval) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\n\\t\\tthis._visible = this._core.$element.is(':visible');\\n\\t\\tthis._interval = window.setInterval($.proxy(this.refresh, this), this._core.settings.autoRefreshInterval);\\n\\t};\\n\\n\\t/**\\n * Refreshes the element.\\n */\\n\\tAutoRefresh.prototype.refresh = function () {\\n\\t\\tif (this._core.$element.is(':visible') === this._visible) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\n\\t\\tthis._visible = !this._visible;\\n\\n\\t\\tthis._core.$element.toggleClass('owl-hidden', !this._visible);\\n\\n\\t\\tthis._visible && this._core.invalidate('width') && this._core.refresh();\\n\\t};\\n\\n\\t/**\\n * Destroys the plugin.\\n */\\n\\tAutoRefresh.prototype.destroy = function () {\\n\\t\\tvar handler, property;\\n\\n\\t\\twindow.clearInterval(this._interval);\\n\\n\\t\\tfor (handler in this._handlers) {\\n\\t\\t\\tthis._core.$element.off(handler, this._handlers[handler]);\\n\\t\\t}\\n\\t\\tfor (property in Object.getOwnPropertyNames(this)) {\\n\\t\\t\\ttypeof this[property] != 'function' && (this[property] = null);\\n\\t\\t}\\n\\t};\\n\\n\\t$.fn.owlCarousel.Constructor.Plugins.AutoRefresh = AutoRefresh;\\n})(window.Zepto || window.jQuery, window, document);\\n\\n/**\\n * Lazy Plugin\\n * @version 2.1.0\\n * @author Bartosz Wojciechowski\\n * @author David Deutsch\\n * @license The MIT License (MIT)\\n */\\n;(function ($, window, document, undefined) {\\n\\n\\t/**\\n * Creates the lazy plugin.\\n * @class The Lazy Plugin\\n * @param {Owl} carousel - The Owl Carousel\\n */\\n\\tvar Lazy = function Lazy(carousel) {\\n\\n\\t\\t/**\\n * Reference to the core.\\n * @protected\\n * @type {Owl}\\n */\\n\\t\\tthis._core = carousel;\\n\\n\\t\\t/**\\n * Already loaded items.\\n * @protected\\n * @type {Array.<jQuery>}\\n */\\n\\t\\tthis._loaded = [];\\n\\n\\t\\t/**\\n * Event handlers.\\n * @protected\\n * @type {Object}\\n */\\n\\t\\tthis._handlers = {\\n\\t\\t\\t'initialized.owl.carousel change.owl.carousel resized.owl.carousel': $.proxy(function (e) {\\n\\t\\t\\t\\tif (!e.namespace) {\\n\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\tif (!this._core.settings || !this._core.settings.lazyLoad) {\\n\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\tif (e.property && e.property.name == 'position' || e.type == 'initialized') {\\n\\t\\t\\t\\t\\tvar settings = this._core.settings,\\n\\t\\t\\t\\t\\t n = settings.center && Math.ceil(settings.items / 2) || settings.items,\\n\\t\\t\\t\\t\\t i = settings.center && n * -1 || 0,\\n\\t\\t\\t\\t\\t position = (e.property && e.property.value !== undefined ? e.property.value : this._core.current()) + i,\\n\\t\\t\\t\\t\\t clones = this._core.clones().length,\\n\\t\\t\\t\\t\\t load = $.proxy(function (i, v) {\\n\\t\\t\\t\\t\\t\\tthis.load(v);\\n\\t\\t\\t\\t\\t}, this);\\n\\n\\t\\t\\t\\t\\twhile (i++ < n) {\\n\\t\\t\\t\\t\\t\\tthis.load(clones / 2 + this._core.relative(position));\\n\\t\\t\\t\\t\\t\\tclones && $.each(this._core.clones(this._core.relative(position)), load);\\n\\t\\t\\t\\t\\t\\tposition++;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this)\\n\\t\\t};\\n\\n\\t\\t// set the default options\\n\\t\\tthis._core.options = $.extend({}, Lazy.Defaults, this._core.options);\\n\\n\\t\\t// register event handler\\n\\t\\tthis._core.$element.on(this._handlers);\\n\\t};\\n\\n\\t/**\\n * Default options.\\n * @public\\n */\\n\\tLazy.Defaults = {\\n\\t\\tlazyLoad: false\\n\\t};\\n\\n\\t/**\\n * Loads all resources of an item at the specified position.\\n * @param {Number} position - The absolute position of the item.\\n * @protected\\n */\\n\\tLazy.prototype.load = function (position) {\\n\\t\\tvar $item = this._core.$stage.children().eq(position),\\n\\t\\t $elements = $item && $item.find('.owl-lazy');\\n\\n\\t\\tif (!$elements || $.inArray($item.get(0), this._loaded) > -1) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\n\\t\\t$elements.each($.proxy(function (index, element) {\\n\\t\\t\\tvar $element = $(element),\\n\\t\\t\\t image,\\n\\t\\t\\t url = window.devicePixelRatio > 1 && $element.attr('data-src-retina') || $element.attr('data-src');\\n\\n\\t\\t\\tthis._core.trigger('load', { element: $element, url: url }, 'lazy');\\n\\n\\t\\t\\tif ($element.is('img')) {\\n\\t\\t\\t\\t$element.one('load.owl.lazy', $.proxy(function () {\\n\\t\\t\\t\\t\\t$element.css('opacity', 1);\\n\\t\\t\\t\\t\\tthis._core.trigger('loaded', { element: $element, url: url }, 'lazy');\\n\\t\\t\\t\\t}, this)).attr('src', url);\\n\\t\\t\\t} else {\\n\\t\\t\\t\\timage = new Image();\\n\\t\\t\\t\\timage.onload = $.proxy(function () {\\n\\t\\t\\t\\t\\t$element.css({\\n\\t\\t\\t\\t\\t\\t'background-image': 'url(\\\"' + url + '\\\")',\\n\\t\\t\\t\\t\\t\\t'opacity': '1'\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\tthis._core.trigger('loaded', { element: $element, url: url }, 'lazy');\\n\\t\\t\\t\\t}, this);\\n\\t\\t\\t\\timage.src = url;\\n\\t\\t\\t}\\n\\t\\t}, this));\\n\\n\\t\\tthis._loaded.push($item.get(0));\\n\\t};\\n\\n\\t/**\\n * Destroys the plugin.\\n * @public\\n */\\n\\tLazy.prototype.destroy = function () {\\n\\t\\tvar handler, property;\\n\\n\\t\\tfor (handler in this.handlers) {\\n\\t\\t\\tthis._core.$element.off(handler, this.handlers[handler]);\\n\\t\\t}\\n\\t\\tfor (property in Object.getOwnPropertyNames(this)) {\\n\\t\\t\\ttypeof this[property] != 'function' && (this[property] = null);\\n\\t\\t}\\n\\t};\\n\\n\\t$.fn.owlCarousel.Constructor.Plugins.Lazy = Lazy;\\n})(window.Zepto || window.jQuery, window, document);\\n\\n/**\\n * AutoHeight Plugin\\n * @version 2.1.0\\n * @author Bartosz Wojciechowski\\n * @author David Deutsch\\n * @license The MIT License (MIT)\\n */\\n;(function ($, window, document, undefined) {\\n\\n\\t/**\\n * Creates the auto height plugin.\\n * @class The Auto Height Plugin\\n * @param {Owl} carousel - The Owl Carousel\\n */\\n\\tvar AutoHeight = function AutoHeight(carousel) {\\n\\t\\t/**\\n * Reference to the core.\\n * @protected\\n * @type {Owl}\\n */\\n\\t\\tthis._core = carousel;\\n\\n\\t\\t/**\\n * All event handlers.\\n * @protected\\n * @type {Object}\\n */\\n\\t\\tthis._handlers = {\\n\\t\\t\\t'initialized.owl.carousel refreshed.owl.carousel': $.proxy(function (e) {\\n\\t\\t\\t\\tif (e.namespace && this._core.settings.autoHeight) {\\n\\t\\t\\t\\t\\tthis.update();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this),\\n\\t\\t\\t'changed.owl.carousel': $.proxy(function (e) {\\n\\t\\t\\t\\tif (e.namespace && this._core.settings.autoHeight && e.property.name == 'position') {\\n\\t\\t\\t\\t\\tthis.update();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this),\\n\\t\\t\\t'loaded.owl.lazy': $.proxy(function (e) {\\n\\t\\t\\t\\tif (e.namespace && this._core.settings.autoHeight && e.element.closest('.' + this._core.settings.itemClass).index() === this._core.current()) {\\n\\t\\t\\t\\t\\tthis.update();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this)\\n\\t\\t};\\n\\n\\t\\t// set default options\\n\\t\\tthis._core.options = $.extend({}, AutoHeight.Defaults, this._core.options);\\n\\n\\t\\t// register event handlers\\n\\t\\tthis._core.$element.on(this._handlers);\\n\\t};\\n\\n\\t/**\\n * Default options.\\n * @public\\n */\\n\\tAutoHeight.Defaults = {\\n\\t\\tautoHeight: false,\\n\\t\\tautoHeightClass: 'owl-height'\\n\\t};\\n\\n\\t/**\\n * Updates the view.\\n */\\n\\tAutoHeight.prototype.update = function () {\\n\\t\\tvar start = this._core._current,\\n\\t\\t end = start + this._core.settings.items,\\n\\t\\t visible = this._core.$stage.children().toArray().slice(start, end),\\n\\t\\t heights = [],\\n\\t\\t maxheight = 0;\\n\\n\\t\\t$.each(visible, function (index, item) {\\n\\t\\t\\theights.push($(item).height());\\n\\t\\t});\\n\\n\\t\\tmaxheight = Math.max.apply(null, heights);\\n\\n\\t\\tthis._core.$stage.parent().height(maxheight).addClass(this._core.settings.autoHeightClass);\\n\\t};\\n\\n\\tAutoHeight.prototype.destroy = function () {\\n\\t\\tvar handler, property;\\n\\n\\t\\tfor (handler in this._handlers) {\\n\\t\\t\\tthis._core.$element.off(handler, this._handlers[handler]);\\n\\t\\t}\\n\\t\\tfor (property in Object.getOwnPropertyNames(this)) {\\n\\t\\t\\ttypeof this[property] != 'function' && (this[property] = null);\\n\\t\\t}\\n\\t};\\n\\n\\t$.fn.owlCarousel.Constructor.Plugins.AutoHeight = AutoHeight;\\n})(window.Zepto || window.jQuery, window, document);\\n\\n/**\\n * Video Plugin\\n * @version 2.1.0\\n * @author Bartosz Wojciechowski\\n * @author David Deutsch\\n * @license The MIT License (MIT)\\n */\\n;(function ($, window, document, undefined) {\\n\\n\\t/**\\n * Creates the video plugin.\\n * @class The Video Plugin\\n * @param {Owl} carousel - The Owl Carousel\\n */\\n\\tvar Video = function Video(carousel) {\\n\\t\\t/**\\n * Reference to the core.\\n * @protected\\n * @type {Owl}\\n */\\n\\t\\tthis._core = carousel;\\n\\n\\t\\t/**\\n * Cache all video URLs.\\n * @protected\\n * @type {Object}\\n */\\n\\t\\tthis._videos = {};\\n\\n\\t\\t/**\\n * Current playing item.\\n * @protected\\n * @type {jQuery}\\n */\\n\\t\\tthis._playing = null;\\n\\n\\t\\t/**\\n * All event handlers.\\n * @todo The cloned content removale is too late\\n * @protected\\n * @type {Object}\\n */\\n\\t\\tthis._handlers = {\\n\\t\\t\\t'initialized.owl.carousel': $.proxy(function (e) {\\n\\t\\t\\t\\tif (e.namespace) {\\n\\t\\t\\t\\t\\tthis._core.register({ type: 'state', name: 'playing', tags: ['interacting'] });\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this),\\n\\t\\t\\t'resize.owl.carousel': $.proxy(function (e) {\\n\\t\\t\\t\\tif (e.namespace && this._core.settings.video && this.isInFullScreen()) {\\n\\t\\t\\t\\t\\te.preventDefault();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this),\\n\\t\\t\\t'refreshed.owl.carousel': $.proxy(function (e) {\\n\\t\\t\\t\\tif (e.namespace && this._core.is('resizing')) {\\n\\t\\t\\t\\t\\tthis._core.$stage.find('.cloned .owl-video-frame').remove();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this),\\n\\t\\t\\t'changed.owl.carousel': $.proxy(function (e) {\\n\\t\\t\\t\\tif (e.namespace && e.property.name === 'position' && this._playing) {\\n\\t\\t\\t\\t\\tthis.stop();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this),\\n\\t\\t\\t'prepared.owl.carousel': $.proxy(function (e) {\\n\\t\\t\\t\\tif (!e.namespace) {\\n\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\tvar $element = $(e.content).find('.owl-video');\\n\\n\\t\\t\\t\\tif ($element.length) {\\n\\t\\t\\t\\t\\t$element.css('display', 'none');\\n\\t\\t\\t\\t\\tthis.fetch($element, $(e.content));\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this)\\n\\t\\t};\\n\\n\\t\\t// set default options\\n\\t\\tthis._core.options = $.extend({}, Video.Defaults, this._core.options);\\n\\n\\t\\t// register event handlers\\n\\t\\tthis._core.$element.on(this._handlers);\\n\\n\\t\\tthis._core.$element.on('click.owl.video', '.owl-video-play-icon', $.proxy(function (e) {\\n\\t\\t\\tthis.play(e);\\n\\t\\t}, this));\\n\\t};\\n\\n\\t/**\\n * Default options.\\n * @public\\n */\\n\\tVideo.Defaults = {\\n\\t\\tvideo: false,\\n\\t\\tvideoHeight: false,\\n\\t\\tvideoWidth: false\\n\\t};\\n\\n\\t/**\\n * Gets the video ID and the type (YouTube/Vimeo/vzaar only).\\n * @protected\\n * @param {jQuery} target - The target containing the video data.\\n * @param {jQuery} item - The item containing the video.\\n */\\n\\tVideo.prototype.fetch = function (target, item) {\\n\\t\\tvar type = function () {\\n\\t\\t\\tif (target.attr('data-vimeo-id')) {\\n\\t\\t\\t\\treturn 'vimeo';\\n\\t\\t\\t} else if (target.attr('data-vzaar-id')) {\\n\\t\\t\\t\\treturn 'vzaar';\\n\\t\\t\\t} else {\\n\\t\\t\\t\\treturn 'youtube';\\n\\t\\t\\t}\\n\\t\\t}(),\\n\\t\\t id = target.attr('data-vimeo-id') || target.attr('data-youtube-id') || target.attr('data-vzaar-id'),\\n\\t\\t width = target.attr('data-width') || this._core.settings.videoWidth,\\n\\t\\t height = target.attr('data-height') || this._core.settings.videoHeight,\\n\\t\\t url = target.attr('href');\\n\\n\\t\\tif (url) {\\n\\n\\t\\t\\t/*\\n \\t\\tParses the id's out of the following urls (and probably more):\\n \\t\\thttps://www.youtube.com/watch?v=:id\\n \\t\\thttps://youtu.be/:id\\n \\t\\thttps://vimeo.com/:id\\n \\t\\thttps://vimeo.com/channels/:channel/:id\\n \\t\\thttps://vimeo.com/groups/:group/videos/:id\\n \\t\\thttps://app.vzaar.com/videos/:id\\n \\t\\t\\tVisual example: https://regexper.com/#(http%3A%7Chttps%3A%7C)%5C%2F%5C%2F(player.%7Cwww.%7Capp.)%3F(vimeo%5C.com%7Cyoutu(be%5C.com%7C%5C.be%7Cbe%5C.googleapis%5C.com)%7Cvzaar%5C.com)%5C%2F(video%5C%2F%7Cvideos%5C%2F%7Cembed%5C%2F%7Cchannels%5C%2F.%2B%5C%2F%7Cgroups%5C%2F.%2B%5C%2F%7Cwatch%5C%3Fv%3D%7Cv%5C%2F)%3F(%5BA-Za-z0-9._%25-%5D*)(%5C%26%5CS%2B)%3F\\n */\\n\\n\\t\\t\\tid = url.match(/(https:|https:|)\\\\/\\\\/(player.|www.|app.)?(vimeo\\\\.com|youtu(be\\\\.com|\\\\.be|be\\\\.googleapis\\\\.com)|vzaar\\\\.com)\\\\/(video\\\\/|videos\\\\/|embed\\\\/|channels\\\\/.+\\\\/|groups\\\\/.+\\\\/|watch\\\\?v=|v\\\\/)?([A-Za-z0-9._%-]*)(\\\\&\\\\S+)?/);\\n\\n\\t\\t\\tif (id[3].indexOf('youtu') > -1) {\\n\\t\\t\\t\\ttype = 'youtube';\\n\\t\\t\\t} else if (id[3].indexOf('vimeo') > -1) {\\n\\t\\t\\t\\ttype = 'vimeo';\\n\\t\\t\\t} else if (id[3].indexOf('vzaar') > -1) {\\n\\t\\t\\t\\ttype = 'vzaar';\\n\\t\\t\\t} else {\\n\\t\\t\\t\\tthrow new Error('Video URL not supported.');\\n\\t\\t\\t}\\n\\t\\t\\tid = id[6];\\n\\t\\t} else {\\n\\t\\t\\tthrow new Error('Missing video URL.');\\n\\t\\t}\\n\\n\\t\\tthis._videos[url] = {\\n\\t\\t\\ttype: type,\\n\\t\\t\\tid: id,\\n\\t\\t\\twidth: width,\\n\\t\\t\\theight: height\\n\\t\\t};\\n\\n\\t\\titem.attr('data-video', url);\\n\\n\\t\\tthis.thumbnail(target, this._videos[url]);\\n\\t};\\n\\n\\t/**\\n * Creates video thumbnail.\\n * @protected\\n * @param {jQuery} target - The target containing the video data.\\n * @param {Object} info - The video info object.\\n * @see `fetch`\\n */\\n\\tVideo.prototype.thumbnail = function (target, video) {\\n\\t\\tvar tnLink,\\n\\t\\t icon,\\n\\t\\t path,\\n\\t\\t dimensions = video.width && video.height ? 'style=\\\"width:' + video.width + 'px;height:' + video.height + 'px;\\\"' : '',\\n\\t\\t customTn = target.find('img'),\\n\\t\\t srcType = 'src',\\n\\t\\t lazyClass = '',\\n\\t\\t settings = this._core.settings,\\n\\t\\t create = function create(path) {\\n\\t\\t\\ticon = '<div class=\\\"owl-video-play-icon\\\"></div>';\\n\\n\\t\\t\\tif (settings.lazyLoad) {\\n\\t\\t\\t\\ttnLink = '<div class=\\\"owl-video-tn ' + lazyClass + '\\\" ' + srcType + '=\\\"' + path + '\\\"></div>';\\n\\t\\t\\t} else {\\n\\t\\t\\t\\ttnLink = '<div class=\\\"owl-video-tn\\\" style=\\\"opacity:1;background-image:url(' + path + ')\\\"></div>';\\n\\t\\t\\t}\\n\\t\\t\\ttarget.after(tnLink);\\n\\t\\t\\ttarget.after(icon);\\n\\t\\t};\\n\\n\\t\\t// wrap video content into owl-video-wrapper div\\n\\t\\ttarget.wrap('<div class=\\\"owl-video-wrapper\\\"' + dimensions + '></div>');\\n\\n\\t\\tif (this._core.settings.lazyLoad) {\\n\\t\\t\\tsrcType = 'data-src';\\n\\t\\t\\tlazyClass = 'owl-lazy';\\n\\t\\t}\\n\\n\\t\\t// custom thumbnail\\n\\t\\tif (customTn.length) {\\n\\t\\t\\tcreate(customTn.attr(srcType));\\n\\t\\t\\tcustomTn.remove();\\n\\t\\t\\treturn false;\\n\\t\\t}\\n\\n\\t\\tif (video.type === 'youtube') {\\n\\t\\t\\tpath = \\\"//img.youtube.com/vi/\\\" + video.id + \\\"/hqdefault.jpg\\\";\\n\\t\\t\\tcreate(path);\\n\\t\\t} else if (video.type === 'vimeo') {\\n\\t\\t\\t$.ajax({\\n\\t\\t\\t\\ttype: 'GET',\\n\\t\\t\\t\\turl: '//vimeo.com/api/v2/video/' + video.id + '.json',\\n\\t\\t\\t\\tjsonp: 'callback',\\n\\t\\t\\t\\tdataType: 'jsonp',\\n\\t\\t\\t\\tsuccess: function success(data) {\\n\\t\\t\\t\\t\\tpath = data[0].thumbnail_large;\\n\\t\\t\\t\\t\\tcreate(path);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t} else if (video.type === 'vzaar') {\\n\\t\\t\\t$.ajax({\\n\\t\\t\\t\\ttype: 'GET',\\n\\t\\t\\t\\turl: '//vzaar.com/api/videos/' + video.id + '.json',\\n\\t\\t\\t\\tjsonp: 'callback',\\n\\t\\t\\t\\tdataType: 'jsonp',\\n\\t\\t\\t\\tsuccess: function success(data) {\\n\\t\\t\\t\\t\\tpath = data.framegrab_url;\\n\\t\\t\\t\\t\\tcreate(path);\\n\\t\\t\\t\\t}\\n\\t\\t\\t});\\n\\t\\t}\\n\\t};\\n\\n\\t/**\\n * Stops the current video.\\n * @public\\n */\\n\\tVideo.prototype.stop = function () {\\n\\t\\tthis._core.trigger('stop', null, 'video');\\n\\t\\tthis._playing.find('.owl-video-frame').remove();\\n\\t\\tthis._playing.removeClass('owl-video-playing');\\n\\t\\tthis._playing = null;\\n\\t\\tthis._core.leave('playing');\\n\\t\\tthis._core.trigger('stopped', null, 'video');\\n\\t};\\n\\n\\t/**\\n * Starts the current video.\\n * @public\\n * @param {Event} event - The event arguments.\\n */\\n\\tVideo.prototype.play = function (event) {\\n\\t\\tvar target = $(event.target),\\n\\t\\t item = target.closest('.' + this._core.settings.itemClass),\\n\\t\\t video = this._videos[item.attr('data-video')],\\n\\t\\t width = video.width || '100%',\\n\\t\\t height = video.height || this._core.$stage.height(),\\n\\t\\t html;\\n\\n\\t\\tif (this._playing) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\n\\t\\tthis._core.enter('playing');\\n\\t\\tthis._core.trigger('play', null, 'video');\\n\\n\\t\\titem = this._core.items(this._core.relative(item.index()));\\n\\n\\t\\tthis._core.reset(item.index());\\n\\n\\t\\tif (video.type === 'youtube') {\\n\\t\\t\\thtml = '<iframe width=\\\"' + width + '\\\" height=\\\"' + height + '\\\" src=\\\"//www.youtube.com/embed/' + video.id + '?autoplay=1&rel=0&v=' + video.id + '\\\" frameborder=\\\"0\\\" allowfullscreen></iframe>';\\n\\t\\t} else if (video.type === 'vimeo') {\\n\\t\\t\\thtml = '<iframe src=\\\"//player.vimeo.com/video/' + video.id + '?autoplay=1\\\" width=\\\"' + width + '\\\" height=\\\"' + height + '\\\" frameborder=\\\"0\\\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>';\\n\\t\\t} else if (video.type === 'vzaar') {\\n\\t\\t\\thtml = '<iframe frameborder=\\\"0\\\"' + 'height=\\\"' + height + '\\\"' + 'width=\\\"' + width + '\\\" allowfullscreen mozallowfullscreen webkitAllowFullScreen ' + 'src=\\\"//view.vzaar.com/' + video.id + '/player?autoplay=true\\\"></iframe>';\\n\\t\\t}\\n\\n\\t\\t$('<div class=\\\"owl-video-frame\\\">' + html + '</div>').insertAfter(item.find('.owl-video'));\\n\\n\\t\\tthis._playing = item.addClass('owl-video-playing');\\n\\t};\\n\\n\\t/**\\n * Checks whether an video is currently in full screen mode or not.\\n * @todo Bad style because looks like a readonly method but changes members.\\n * @protected\\n * @returns {Boolean}\\n */\\n\\tVideo.prototype.isInFullScreen = function () {\\n\\t\\tvar element = document.fullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement;\\n\\n\\t\\treturn element && $(element).parent().hasClass('owl-video-frame');\\n\\t};\\n\\n\\t/**\\n * Destroys the plugin.\\n */\\n\\tVideo.prototype.destroy = function () {\\n\\t\\tvar handler, property;\\n\\n\\t\\tthis._core.$element.off('click.owl.video');\\n\\n\\t\\tfor (handler in this._handlers) {\\n\\t\\t\\tthis._core.$element.off(handler, this._handlers[handler]);\\n\\t\\t}\\n\\t\\tfor (property in Object.getOwnPropertyNames(this)) {\\n\\t\\t\\ttypeof this[property] != 'function' && (this[property] = null);\\n\\t\\t}\\n\\t};\\n\\n\\t$.fn.owlCarousel.Constructor.Plugins.Video = Video;\\n})(window.Zepto || window.jQuery, window, document);\\n\\n/**\\n * Animate Plugin\\n * @version 2.1.0\\n * @author Bartosz Wojciechowski\\n * @author David Deutsch\\n * @license The MIT License (MIT)\\n */\\n;(function ($, window, document, undefined) {\\n\\n\\t/**\\n * Creates the animate plugin.\\n * @class The Navigation Plugin\\n * @param {Owl} scope - The Owl Carousel\\n */\\n\\tvar Animate = function Animate(scope) {\\n\\t\\tthis.core = scope;\\n\\t\\tthis.core.options = $.extend({}, Animate.Defaults, this.core.options);\\n\\t\\tthis.swapping = true;\\n\\t\\tthis.previous = undefined;\\n\\t\\tthis.next = undefined;\\n\\n\\t\\tthis.handlers = {\\n\\t\\t\\t'change.owl.carousel': $.proxy(function (e) {\\n\\t\\t\\t\\tif (e.namespace && e.property.name == 'position') {\\n\\t\\t\\t\\t\\tthis.previous = this.core.current();\\n\\t\\t\\t\\t\\tthis.next = e.property.value;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this),\\n\\t\\t\\t'drag.owl.carousel dragged.owl.carousel translated.owl.carousel': $.proxy(function (e) {\\n\\t\\t\\t\\tif (e.namespace) {\\n\\t\\t\\t\\t\\tthis.swapping = e.type == 'translated';\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this),\\n\\t\\t\\t'translate.owl.carousel': $.proxy(function (e) {\\n\\t\\t\\t\\tif (e.namespace && this.swapping && (this.core.options.animateOut || this.core.options.animateIn)) {\\n\\t\\t\\t\\t\\tthis.swap();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this)\\n\\t\\t};\\n\\n\\t\\tthis.core.$element.on(this.handlers);\\n\\t};\\n\\n\\t/**\\n * Default options.\\n * @public\\n */\\n\\tAnimate.Defaults = {\\n\\t\\tanimateOut: false,\\n\\t\\tanimateIn: false\\n\\t};\\n\\n\\t/**\\n * Toggles the animation classes whenever an translations starts.\\n * @protected\\n * @returns {Boolean|undefined}\\n */\\n\\tAnimate.prototype.swap = function () {\\n\\n\\t\\tif (this.core.settings.items !== 1) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\n\\t\\tif (!$.support.animation || !$.support.transition) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\n\\t\\tthis.core.speed(0);\\n\\n\\t\\tvar left,\\n\\t\\t clear = $.proxy(this.clear, this),\\n\\t\\t previous = this.core.$stage.children().eq(this.previous),\\n\\t\\t next = this.core.$stage.children().eq(this.next),\\n\\t\\t incoming = this.core.settings.animateIn,\\n\\t\\t outgoing = this.core.settings.animateOut;\\n\\n\\t\\tif (this.core.current() === this.previous) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\n\\t\\tif (outgoing) {\\n\\t\\t\\tleft = this.core.coordinates(this.previous) - this.core.coordinates(this.next);\\n\\t\\t\\tprevious.one($.support.animation.end, clear).css({ 'left': left + 'px' }).addClass('animated owl-animated-out').addClass(outgoing);\\n\\t\\t}\\n\\n\\t\\tif (incoming) {\\n\\t\\t\\tnext.one($.support.animation.end, clear).addClass('animated owl-animated-in').addClass(incoming);\\n\\t\\t}\\n\\t};\\n\\n\\tAnimate.prototype.clear = function (e) {\\n\\t\\t$(e.target).css({ 'left': '' }).removeClass('animated owl-animated-out owl-animated-in').removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut);\\n\\t\\tthis.core.onTransitionEnd();\\n\\t};\\n\\n\\t/**\\n * Destroys the plugin.\\n * @public\\n */\\n\\tAnimate.prototype.destroy = function () {\\n\\t\\tvar handler, property;\\n\\n\\t\\tfor (handler in this.handlers) {\\n\\t\\t\\tthis.core.$element.off(handler, this.handlers[handler]);\\n\\t\\t}\\n\\t\\tfor (property in Object.getOwnPropertyNames(this)) {\\n\\t\\t\\ttypeof this[property] != 'function' && (this[property] = null);\\n\\t\\t}\\n\\t};\\n\\n\\t$.fn.owlCarousel.Constructor.Plugins.Animate = Animate;\\n})(window.Zepto || window.jQuery, window, document);\\n\\n/**\\n * Autoplay Plugin\\n * @version 2.1.0\\n * @author Bartosz Wojciechowski\\n * @author Artus Kolanowski\\n * @author David Deutsch\\n * @license The MIT License (MIT)\\n */\\n;(function ($, window, document, undefined) {\\n\\n\\t/**\\n * Creates the autoplay plugin.\\n * @class The Autoplay Plugin\\n * @param {Owl} scope - The Owl Carousel\\n */\\n\\tvar Autoplay = function Autoplay(carousel) {\\n\\t\\t/**\\n * Reference to the core.\\n * @protected\\n * @type {Owl}\\n */\\n\\t\\tthis._core = carousel;\\n\\n\\t\\t/**\\n * The autoplay timeout.\\n * @type {Timeout}\\n */\\n\\t\\tthis._timeout = null;\\n\\n\\t\\t/**\\n * Indicates whenever the autoplay is paused.\\n * @type {Boolean}\\n */\\n\\t\\tthis._paused = false;\\n\\n\\t\\t/**\\n * All event handlers.\\n * @protected\\n * @type {Object}\\n */\\n\\t\\tthis._handlers = {\\n\\t\\t\\t'changed.owl.carousel': $.proxy(function (e) {\\n\\t\\t\\t\\tif (e.namespace && e.property.name === 'settings') {\\n\\t\\t\\t\\t\\tif (this._core.settings.autoplay) {\\n\\t\\t\\t\\t\\t\\tthis.play();\\n\\t\\t\\t\\t\\t} else {\\n\\t\\t\\t\\t\\t\\tthis.stop();\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t} else if (e.namespace && e.property.name === 'position') {\\n\\t\\t\\t\\t\\t//console.log('play?', e);\\n\\t\\t\\t\\t\\tif (this._core.settings.autoplay) {\\n\\t\\t\\t\\t\\t\\tthis._setAutoPlayInterval();\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this),\\n\\t\\t\\t'initialized.owl.carousel': $.proxy(function (e) {\\n\\t\\t\\t\\tif (e.namespace && this._core.settings.autoplay) {\\n\\t\\t\\t\\t\\tthis.play();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this),\\n\\t\\t\\t'play.owl.autoplay': $.proxy(function (e, t, s) {\\n\\t\\t\\t\\tif (e.namespace) {\\n\\t\\t\\t\\t\\tthis.play(t, s);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this),\\n\\t\\t\\t'stop.owl.autoplay': $.proxy(function (e) {\\n\\t\\t\\t\\tif (e.namespace) {\\n\\t\\t\\t\\t\\tthis.stop();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this),\\n\\t\\t\\t'mouseover.owl.autoplay': $.proxy(function () {\\n\\t\\t\\t\\tif (this._core.settings.autoplayHoverPause && this._core.is('rotating')) {\\n\\t\\t\\t\\t\\tthis.pause();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this),\\n\\t\\t\\t'mouseleave.owl.autoplay': $.proxy(function () {\\n\\t\\t\\t\\tif (this._core.settings.autoplayHoverPause && this._core.is('rotating')) {\\n\\t\\t\\t\\t\\tthis.play();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this),\\n\\t\\t\\t'touchstart.owl.core': $.proxy(function () {\\n\\t\\t\\t\\tif (this._core.settings.autoplayHoverPause && this._core.is('rotating')) {\\n\\t\\t\\t\\t\\tthis.pause();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this),\\n\\t\\t\\t'touchend.owl.core': $.proxy(function () {\\n\\t\\t\\t\\tif (this._core.settings.autoplayHoverPause) {\\n\\t\\t\\t\\t\\tthis.play();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this)\\n\\t\\t};\\n\\n\\t\\t// register event handlers\\n\\t\\tthis._core.$element.on(this._handlers);\\n\\n\\t\\t// set default options\\n\\t\\tthis._core.options = $.extend({}, Autoplay.Defaults, this._core.options);\\n\\t};\\n\\n\\t/**\\n * Default options.\\n * @public\\n */\\n\\tAutoplay.Defaults = {\\n\\t\\tautoplay: false,\\n\\t\\tautoplayTimeout: 5000,\\n\\t\\tautoplayHoverPause: false,\\n\\t\\tautoplaySpeed: false\\n\\t};\\n\\n\\t/**\\n * Starts the autoplay.\\n * @public\\n * @param {Number} [timeout] - The interval before the next animation starts.\\n * @param {Number} [speed] - The animation speed for the animations.\\n */\\n\\tAutoplay.prototype.play = function (timeout, speed) {\\n\\t\\tthis._paused = false;\\n\\n\\t\\tif (this._core.is('rotating')) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\n\\t\\tthis._core.enter('rotating');\\n\\n\\t\\tthis._setAutoPlayInterval();\\n\\t};\\n\\n\\t/**\\n * Gets a new timeout\\n * @private\\n * @param {Number} [timeout] - The interval before the next animation starts.\\n * @param {Number} [speed] - The animation speed for the animations.\\n * @return {Timeout}\\n */\\n\\tAutoplay.prototype._getNextTimeout = function (timeout, speed) {\\n\\t\\tif (this._timeout) {\\n\\t\\t\\twindow.clearTimeout(this._timeout);\\n\\t\\t}\\n\\t\\treturn window.setTimeout($.proxy(function () {\\n\\t\\t\\tif (this._paused || this._core.is('busy') || this._core.is('interacting') || document.hidden) {\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\t\\t\\tthis._core.next(speed || this._core.settings.autoplaySpeed);\\n\\t\\t}, this), timeout || this._core.settings.autoplayTimeout);\\n\\t};\\n\\n\\t/**\\n * Sets autoplay in motion.\\n * @private\\n */\\n\\tAutoplay.prototype._setAutoPlayInterval = function () {\\n\\t\\tthis._timeout = this._getNextTimeout();\\n\\t};\\n\\n\\t/**\\n * Stops the autoplay.\\n * @public\\n */\\n\\tAutoplay.prototype.stop = function () {\\n\\t\\tif (!this._core.is('rotating')) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\n\\t\\twindow.clearTimeout(this._timeout);\\n\\t\\tthis._core.leave('rotating');\\n\\t};\\n\\n\\t/**\\n * Stops the autoplay.\\n * @public\\n */\\n\\tAutoplay.prototype.pause = function () {\\n\\t\\tif (!this._core.is('rotating')) {\\n\\t\\t\\treturn;\\n\\t\\t}\\n\\n\\t\\tthis._paused = true;\\n\\t};\\n\\n\\t/**\\n * Destroys the plugin.\\n */\\n\\tAutoplay.prototype.destroy = function () {\\n\\t\\tvar handler, property;\\n\\n\\t\\tthis.stop();\\n\\n\\t\\tfor (handler in this._handlers) {\\n\\t\\t\\tthis._core.$element.off(handler, this._handlers[handler]);\\n\\t\\t}\\n\\t\\tfor (property in Object.getOwnPropertyNames(this)) {\\n\\t\\t\\ttypeof this[property] != 'function' && (this[property] = null);\\n\\t\\t}\\n\\t};\\n\\n\\t$.fn.owlCarousel.Constructor.Plugins.autoplay = Autoplay;\\n})(window.Zepto || window.jQuery, window, document);\\n\\n/**\\n * Navigation Plugin\\n * @version 2.1.0\\n * @author Artus Kolanowski\\n * @author David Deutsch\\n * @license The MIT License (MIT)\\n */\\n;(function ($, window, document, undefined) {\\n\\t'use strict';\\n\\n\\t/**\\n * Creates the navigation plugin.\\n * @class The Navigation Plugin\\n * @param {Owl} carousel - The Owl Carousel.\\n */\\n\\n\\tvar Navigation = function Navigation(carousel) {\\n\\t\\t/**\\n * Reference to the core.\\n * @protected\\n * @type {Owl}\\n */\\n\\t\\tthis._core = carousel;\\n\\n\\t\\t/**\\n * Indicates whether the plugin is initialized or not.\\n * @protected\\n * @type {Boolean}\\n */\\n\\t\\tthis._initialized = false;\\n\\n\\t\\t/**\\n * The current paging indexes.\\n * @protected\\n * @type {Array}\\n */\\n\\t\\tthis._pages = [];\\n\\n\\t\\t/**\\n * All DOM elements of the user interface.\\n * @protected\\n * @type {Object}\\n */\\n\\t\\tthis._controls = {};\\n\\n\\t\\t/**\\n * Markup for an indicator.\\n * @protected\\n * @type {Array.<String>}\\n */\\n\\t\\tthis._templates = [];\\n\\n\\t\\t/**\\n * The carousel element.\\n * @type {jQuery}\\n */\\n\\t\\tthis.$element = this._core.$element;\\n\\n\\t\\t/**\\n * Overridden methods of the carousel.\\n * @protected\\n * @type {Object}\\n */\\n\\t\\tthis._overrides = {\\n\\t\\t\\tnext: this._core.next,\\n\\t\\t\\tprev: this._core.prev,\\n\\t\\t\\tto: this._core.to\\n\\t\\t};\\n\\n\\t\\t/**\\n * All event handlers.\\n * @protected\\n * @type {Object}\\n */\\n\\t\\tthis._handlers = {\\n\\t\\t\\t'prepared.owl.carousel': $.proxy(function (e) {\\n\\t\\t\\t\\tif (e.namespace && this._core.settings.dotsData) {\\n\\t\\t\\t\\t\\tthis._templates.push('<div class=\\\"' + this._core.settings.dotClass + '\\\">' + $(e.content).find('[data-dot]').addBack('[data-dot]').attr('data-dot') + '</div>');\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this),\\n\\t\\t\\t'added.owl.carousel': $.proxy(function (e) {\\n\\t\\t\\t\\tif (e.namespace && this._core.settings.dotsData) {\\n\\t\\t\\t\\t\\tthis._templates.splice(e.position, 0, this._templates.pop());\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this),\\n\\t\\t\\t'remove.owl.carousel': $.proxy(function (e) {\\n\\t\\t\\t\\tif (e.namespace && this._core.settings.dotsData) {\\n\\t\\t\\t\\t\\tthis._templates.splice(e.position, 1);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this),\\n\\t\\t\\t'changed.owl.carousel': $.proxy(function (e) {\\n\\t\\t\\t\\tif (e.namespace && e.property.name == 'position') {\\n\\t\\t\\t\\t\\tthis.draw();\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this),\\n\\t\\t\\t'initialized.owl.carousel': $.proxy(function (e) {\\n\\t\\t\\t\\tif (e.namespace && !this._initialized) {\\n\\t\\t\\t\\t\\tthis._core.trigger('initialize', null, 'navigation');\\n\\t\\t\\t\\t\\tthis.initialize();\\n\\t\\t\\t\\t\\tthis.update();\\n\\t\\t\\t\\t\\tthis.draw();\\n\\t\\t\\t\\t\\tthis._initialized = true;\\n\\t\\t\\t\\t\\tthis._core.trigger('initialized', null, 'navigation');\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this),\\n\\t\\t\\t'refreshed.owl.carousel': $.proxy(function (e) {\\n\\t\\t\\t\\tif (e.namespace && this._initialized) {\\n\\t\\t\\t\\t\\tthis._core.trigger('refresh', null, 'navigation');\\n\\t\\t\\t\\t\\tthis.update();\\n\\t\\t\\t\\t\\tthis.draw();\\n\\t\\t\\t\\t\\tthis._core.trigger('refreshed', null, 'navigation');\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this)\\n\\t\\t};\\n\\n\\t\\t// set default options\\n\\t\\tthis._core.options = $.extend({}, Navigation.Defaults, this._core.options);\\n\\n\\t\\t// register event handlers\\n\\t\\tthis.$element.on(this._handlers);\\n\\t};\\n\\n\\t/**\\n * Default options.\\n * @public\\n * @todo Rename `slideBy` to `navBy`\\n */\\n\\tNavigation.Defaults = {\\n\\t\\tnav: false,\\n\\t\\tnavText: ['prev', 'next'],\\n\\t\\tnavSpeed: false,\\n\\t\\tnavElement: 'div',\\n\\t\\tnavContainer: false,\\n\\t\\tnavContainerClass: 'owl-nav',\\n\\t\\tnavClass: ['owl-prev', 'owl-next'],\\n\\t\\tslideBy: 1,\\n\\t\\tdotClass: 'owl-dot',\\n\\t\\tdotsClass: 'owl-dots',\\n\\t\\tdots: true,\\n\\t\\tdotsEach: false,\\n\\t\\tdotsData: false,\\n\\t\\tdotsSpeed: false,\\n\\t\\tdotsContainer: false\\n\\t};\\n\\n\\t/**\\n * Initializes the layout of the plugin and extends the carousel.\\n * @protected\\n */\\n\\tNavigation.prototype.initialize = function () {\\n\\t\\tvar override,\\n\\t\\t settings = this._core.settings;\\n\\n\\t\\t// create DOM structure for relative navigation\\n\\t\\tthis._controls.$relative = (settings.navContainer ? $(settings.navContainer) : $('<div>').addClass(settings.navContainerClass).appendTo(this.$element)).addClass('disabled');\\n\\n\\t\\tthis._controls.$previous = $('<' + settings.navElement + '>').addClass(settings.navClass[0]).html(settings.navText[0]).prependTo(this._controls.$relative).on('click', $.proxy(function (e) {\\n\\t\\t\\tthis.prev(settings.navSpeed);\\n\\t\\t}, this));\\n\\t\\tthis._controls.$next = $('<' + settings.navElement + '>').addClass(settings.navClass[1]).html(settings.navText[1]).appendTo(this._controls.$relative).on('click', $.proxy(function (e) {\\n\\t\\t\\tthis.next(settings.navSpeed);\\n\\t\\t}, this));\\n\\n\\t\\t// create DOM structure for absolute navigation\\n\\t\\tif (!settings.dotsData) {\\n\\t\\t\\tthis._templates = [$('<div>').addClass(settings.dotClass).append($('<span>')).prop('outerHTML')];\\n\\t\\t}\\n\\n\\t\\tthis._controls.$absolute = (settings.dotsContainer ? $(settings.dotsContainer) : $('<div>').addClass(settings.dotsClass).appendTo(this.$element)).addClass('disabled');\\n\\n\\t\\tthis._controls.$absolute.on('click', 'div', $.proxy(function (e) {\\n\\t\\t\\tvar index = $(e.target).parent().is(this._controls.$absolute) ? $(e.target).index() : $(e.target).parent().index();\\n\\n\\t\\t\\te.preventDefault();\\n\\n\\t\\t\\tthis.to(index, settings.dotsSpeed);\\n\\t\\t}, this));\\n\\n\\t\\t// override public methods of the carousel\\n\\t\\tfor (override in this._overrides) {\\n\\t\\t\\tthis._core[override] = $.proxy(this[override], this);\\n\\t\\t}\\n\\t};\\n\\n\\t/**\\n * Destroys the plugin.\\n * @protected\\n */\\n\\tNavigation.prototype.destroy = function () {\\n\\t\\tvar handler, control, property, override;\\n\\n\\t\\tfor (handler in this._handlers) {\\n\\t\\t\\tthis.$element.off(handler, this._handlers[handler]);\\n\\t\\t}\\n\\t\\tfor (control in this._controls) {\\n\\t\\t\\tthis._controls[control].remove();\\n\\t\\t}\\n\\t\\tfor (override in this.overides) {\\n\\t\\t\\tthis._core[override] = this._overrides[override];\\n\\t\\t}\\n\\t\\tfor (property in Object.getOwnPropertyNames(this)) {\\n\\t\\t\\ttypeof this[property] != 'function' && (this[property] = null);\\n\\t\\t}\\n\\t};\\n\\n\\t/**\\n * Updates the internal state.\\n * @protected\\n */\\n\\tNavigation.prototype.update = function () {\\n\\t\\tvar i,\\n\\t\\t j,\\n\\t\\t k,\\n\\t\\t lower = this._core.clones().length / 2,\\n\\t\\t upper = lower + this._core.items().length,\\n\\t\\t maximum = this._core.maximum(true),\\n\\t\\t settings = this._core.settings,\\n\\t\\t size = settings.center || settings.autoWidth || settings.dotsData ? 1 : settings.dotsEach || settings.items;\\n\\n\\t\\tif (settings.slideBy !== 'page') {\\n\\t\\t\\tsettings.slideBy = Math.min(settings.slideBy, settings.items);\\n\\t\\t}\\n\\n\\t\\tif (settings.dots || settings.slideBy == 'page') {\\n\\t\\t\\tthis._pages = [];\\n\\n\\t\\t\\tfor (i = lower, j = 0, k = 0; i < upper; i++) {\\n\\t\\t\\t\\tif (j >= size || j === 0) {\\n\\t\\t\\t\\t\\tthis._pages.push({\\n\\t\\t\\t\\t\\t\\tstart: Math.min(maximum, i - lower),\\n\\t\\t\\t\\t\\t\\tend: i - lower + size - 1\\n\\t\\t\\t\\t\\t});\\n\\t\\t\\t\\t\\tif (Math.min(maximum, i - lower) === maximum) {\\n\\t\\t\\t\\t\\t\\tbreak;\\n\\t\\t\\t\\t\\t}\\n\\t\\t\\t\\t\\tj = 0, ++k;\\n\\t\\t\\t\\t}\\n\\t\\t\\t\\tj += this._core.mergers(this._core.relative(i));\\n\\t\\t\\t}\\n\\t\\t}\\n\\t};\\n\\n\\t/**\\n * Draws the user interface.\\n * @todo The option `dotsData` wont work.\\n * @protected\\n */\\n\\tNavigation.prototype.draw = function () {\\n\\t\\tvar difference,\\n\\t\\t settings = this._core.settings,\\n\\t\\t disabled = this._core.items().length <= settings.items,\\n\\t\\t index = this._core.relative(this._core.current()),\\n\\t\\t loop = settings.loop || settings.rewind;\\n\\n\\t\\tthis._controls.$relative.toggleClass('disabled', !settings.nav || disabled);\\n\\n\\t\\tif (settings.nav) {\\n\\t\\t\\tthis._controls.$previous.toggleClass('disabled', !loop && index <= this._core.minimum(true));\\n\\t\\t\\tthis._controls.$next.toggleClass('disabled', !loop && index >= this._core.maximum(true));\\n\\t\\t}\\n\\n\\t\\tthis._controls.$absolute.toggleClass('disabled', !settings.dots || disabled);\\n\\n\\t\\tif (settings.dots) {\\n\\t\\t\\tdifference = this._pages.length - this._controls.$absolute.children().length;\\n\\n\\t\\t\\tif (settings.dotsData && difference !== 0) {\\n\\t\\t\\t\\tthis._controls.$absolute.html(this._templates.join(''));\\n\\t\\t\\t} else if (difference > 0) {\\n\\t\\t\\t\\tthis._controls.$absolute.append(new Array(difference + 1).join(this._templates[0]));\\n\\t\\t\\t} else if (difference < 0) {\\n\\t\\t\\t\\tthis._controls.$absolute.children().slice(difference).remove();\\n\\t\\t\\t}\\n\\n\\t\\t\\tthis._controls.$absolute.find('.active').removeClass('active');\\n\\t\\t\\tthis._controls.$absolute.children().eq($.inArray(this.current(), this._pages)).addClass('active');\\n\\t\\t}\\n\\t};\\n\\n\\t/**\\n * Extends event data.\\n * @protected\\n * @param {Event} event - The event object which gets thrown.\\n */\\n\\tNavigation.prototype.onTrigger = function (event) {\\n\\t\\tvar settings = this._core.settings;\\n\\n\\t\\tevent.page = {\\n\\t\\t\\tindex: $.inArray(this.current(), this._pages),\\n\\t\\t\\tcount: this._pages.length,\\n\\t\\t\\tsize: settings && (settings.center || settings.autoWidth || settings.dotsData ? 1 : settings.dotsEach || settings.items)\\n\\t\\t};\\n\\t};\\n\\n\\t/**\\n * Gets the current page position of the carousel.\\n * @protected\\n * @returns {Number}\\n */\\n\\tNavigation.prototype.current = function () {\\n\\t\\tvar current = this._core.relative(this._core.current());\\n\\t\\treturn $.grep(this._pages, $.proxy(function (page, index) {\\n\\t\\t\\treturn page.start <= current && page.end >= current;\\n\\t\\t}, this)).pop();\\n\\t};\\n\\n\\t/**\\n * Gets the current succesor/predecessor position.\\n * @protected\\n * @returns {Number}\\n */\\n\\tNavigation.prototype.getPosition = function (successor) {\\n\\t\\tvar position,\\n\\t\\t length,\\n\\t\\t settings = this._core.settings;\\n\\n\\t\\tif (settings.slideBy == 'page') {\\n\\t\\t\\tposition = $.inArray(this.current(), this._pages);\\n\\t\\t\\tlength = this._pages.length;\\n\\t\\t\\tsuccessor ? ++position : --position;\\n\\t\\t\\tposition = this._pages[(position % length + length) % length].start;\\n\\t\\t} else {\\n\\t\\t\\tposition = this._core.relative(this._core.current());\\n\\t\\t\\tlength = this._core.items().length;\\n\\t\\t\\tsuccessor ? position += settings.slideBy : position -= settings.slideBy;\\n\\t\\t}\\n\\n\\t\\treturn position;\\n\\t};\\n\\n\\t/**\\n * Slides to the next item or page.\\n * @public\\n * @param {Number} [speed=false] - The time in milliseconds for the transition.\\n */\\n\\tNavigation.prototype.next = function (speed) {\\n\\t\\t$.proxy(this._overrides.to, this._core)(this.getPosition(true), speed);\\n\\t};\\n\\n\\t/**\\n * Slides to the previous item or page.\\n * @public\\n * @param {Number} [speed=false] - The time in milliseconds for the transition.\\n */\\n\\tNavigation.prototype.prev = function (speed) {\\n\\t\\t$.proxy(this._overrides.to, this._core)(this.getPosition(false), speed);\\n\\t};\\n\\n\\t/**\\n * Slides to the specified item or page.\\n * @public\\n * @param {Number} position - The position of the item or page.\\n * @param {Number} [speed] - The time in milliseconds for the transition.\\n * @param {Boolean} [standard=false] - Whether to use the standard behaviour or not.\\n */\\n\\tNavigation.prototype.to = function (position, speed, standard) {\\n\\t\\tvar length;\\n\\n\\t\\tif (!standard && this._pages.length) {\\n\\t\\t\\tlength = this._pages.length;\\n\\t\\t\\t$.proxy(this._overrides.to, this._core)(this._pages[(position % length + length) % length].start, speed);\\n\\t\\t} else {\\n\\t\\t\\t$.proxy(this._overrides.to, this._core)(position, speed);\\n\\t\\t}\\n\\t};\\n\\n\\t$.fn.owlCarousel.Constructor.Plugins.Navigation = Navigation;\\n})(window.Zepto || window.jQuery, window, document);\\n\\n/**\\n * Hash Plugin\\n * @version 2.1.0\\n * @author Artus Kolanowski\\n * @author David Deutsch\\n * @license The MIT License (MIT)\\n */\\n;(function ($, window, document, undefined) {\\n\\t'use strict';\\n\\n\\t/**\\n * Creates the hash plugin.\\n * @class The Hash Plugin\\n * @param {Owl} carousel - The Owl Carousel\\n */\\n\\n\\tvar Hash = function Hash(carousel) {\\n\\t\\t/**\\n * Reference to the core.\\n * @protected\\n * @type {Owl}\\n */\\n\\t\\tthis._core = carousel;\\n\\n\\t\\t/**\\n * Hash index for the items.\\n * @protected\\n * @type {Object}\\n */\\n\\t\\tthis._hashes = {};\\n\\n\\t\\t/**\\n * The carousel element.\\n * @type {jQuery}\\n */\\n\\t\\tthis.$element = this._core.$element;\\n\\n\\t\\t/**\\n * All event handlers.\\n * @protected\\n * @type {Object}\\n */\\n\\t\\tthis._handlers = {\\n\\t\\t\\t'initialized.owl.carousel': $.proxy(function (e) {\\n\\t\\t\\t\\tif (e.namespace && this._core.settings.startPosition === 'URLHash') {\\n\\t\\t\\t\\t\\t$(window).trigger('hashchange.owl.navigation');\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this),\\n\\t\\t\\t'prepared.owl.carousel': $.proxy(function (e) {\\n\\t\\t\\t\\tif (e.namespace) {\\n\\t\\t\\t\\t\\tvar hash = $(e.content).find('[data-hash]').addBack('[data-hash]').attr('data-hash');\\n\\n\\t\\t\\t\\t\\tif (!hash) {\\n\\t\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\t\\tthis._hashes[hash] = e.content;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this),\\n\\t\\t\\t'changed.owl.carousel': $.proxy(function (e) {\\n\\t\\t\\t\\tif (e.namespace && e.property.name === 'position') {\\n\\t\\t\\t\\t\\tvar current = this._core.items(this._core.relative(this._core.current())),\\n\\t\\t\\t\\t\\t hash = $.map(this._hashes, function (item, hash) {\\n\\t\\t\\t\\t\\t\\treturn item === current ? hash : null;\\n\\t\\t\\t\\t\\t}).join();\\n\\n\\t\\t\\t\\t\\tif (!hash || window.location.hash.slice(1) === hash) {\\n\\t\\t\\t\\t\\t\\treturn;\\n\\t\\t\\t\\t\\t}\\n\\n\\t\\t\\t\\t\\twindow.location.hash = hash;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}, this)\\n\\t\\t};\\n\\n\\t\\t// set default options\\n\\t\\tthis._core.options = $.extend({}, Hash.Defaults, this._core.options);\\n\\n\\t\\t// register the event handlers\\n\\t\\tthis.$element.on(this._handlers);\\n\\n\\t\\t// register event listener for hash navigation\\n\\t\\t$(window).on('hashchange.owl.navigation', $.proxy(function (e) {\\n\\t\\t\\tvar hash = window.location.hash.substring(1),\\n\\t\\t\\t items = this._core.$stage.children(),\\n\\t\\t\\t position = this._hashes[hash] && items.index(this._hashes[hash]);\\n\\n\\t\\t\\tif (position === undefined || position === this._core.current()) {\\n\\t\\t\\t\\treturn;\\n\\t\\t\\t}\\n\\n\\t\\t\\tthis._core.to(this._core.relative(position), false, true);\\n\\t\\t}, this));\\n\\t};\\n\\n\\t/**\\n * Default options.\\n * @public\\n */\\n\\tHash.Defaults = {\\n\\t\\tURLhashListener: false\\n\\t};\\n\\n\\t/**\\n * Destroys the plugin.\\n * @public\\n */\\n\\tHash.prototype.destroy = function () {\\n\\t\\tvar handler, property;\\n\\n\\t\\t$(window).off('hashchange.owl.navigation');\\n\\n\\t\\tfor (handler in this._handlers) {\\n\\t\\t\\tthis._core.$element.off(handler, this._handlers[handler]);\\n\\t\\t}\\n\\t\\tfor (property in Object.getOwnPropertyNames(this)) {\\n\\t\\t\\ttypeof this[property] != 'function' && (this[property] = null);\\n\\t\\t}\\n\\t};\\n\\n\\t$.fn.owlCarousel.Constructor.Plugins.Hash = Hash;\\n})(window.Zepto || window.jQuery, window, document);\\n\\n/**\\n * Support Plugin\\n *\\n * @version 2.1.0\\n * @author Vivid Planet Software GmbH\\n * @author Artus Kolanowski\\n * @author David Deutsch\\n * @license The MIT License (MIT)\\n */\\n;(function ($, window, document, undefined) {\\n\\n\\tvar style = $('<support>').get(0).style,\\n\\t prefixes = 'Webkit Moz O ms'.split(' '),\\n\\t events = {\\n\\t\\ttransition: {\\n\\t\\t\\tend: {\\n\\t\\t\\t\\tWebkitTransition: 'webkitTransitionEnd',\\n\\t\\t\\t\\tMozTransition: 'transitionend',\\n\\t\\t\\t\\tOTransition: 'oTransitionEnd',\\n\\t\\t\\t\\ttransition: 'transitionend'\\n\\t\\t\\t}\\n\\t\\t},\\n\\t\\tanimation: {\\n\\t\\t\\tend: {\\n\\t\\t\\t\\tWebkitAnimation: 'webkitAnimationEnd',\\n\\t\\t\\t\\tMozAnimation: 'animationend',\\n\\t\\t\\t\\tOAnimation: 'oAnimationEnd',\\n\\t\\t\\t\\tanimation: 'animationend'\\n\\t\\t\\t}\\n\\t\\t}\\n\\t},\\n\\t tests = {\\n\\t\\tcsstransforms: function csstransforms() {\\n\\t\\t\\treturn !!test('transform');\\n\\t\\t},\\n\\t\\tcsstransforms3d: function csstransforms3d() {\\n\\t\\t\\treturn !!test('perspective');\\n\\t\\t},\\n\\t\\tcsstransitions: function csstransitions() {\\n\\t\\t\\treturn !!test('transition');\\n\\t\\t},\\n\\t\\tcssanimations: function cssanimations() {\\n\\t\\t\\treturn !!test('animation');\\n\\t\\t}\\n\\t};\\n\\n\\tfunction test(property, prefixed) {\\n\\t\\tvar result = false,\\n\\t\\t upper = property.charAt(0).toUpperCase() + property.slice(1);\\n\\n\\t\\t$.each((property + ' ' + prefixes.join(upper + ' ') + upper).split(' '), function (i, property) {\\n\\t\\t\\tif (style[property] !== undefined) {\\n\\t\\t\\t\\tresult = prefixed ? property : true;\\n\\t\\t\\t\\treturn false;\\n\\t\\t\\t}\\n\\t\\t});\\n\\n\\t\\treturn result;\\n\\t}\\n\\n\\tfunction prefixed(property) {\\n\\t\\treturn test(property, true);\\n\\t}\\n\\n\\tif (tests.csstransitions()) {\\n\\t\\t/* jshint -W053 */\\n\\t\\t$.support.transition = new String(prefixed('transition'));\\n\\t\\t$.support.transition.end = events.transition.end[$.support.transition];\\n\\t}\\n\\n\\tif (tests.cssanimations()) {\\n\\t\\t/* jshint -W053 */\\n\\t\\t$.support.animation = new String(prefixed('animation'));\\n\\t\\t$.support.animation.end = events.animation.end[$.support.animation];\\n\\t}\\n\\n\\tif (tests.csstransforms()) {\\n\\t\\t/* jshint -W053 */\\n\\t\\t$.support.transform = new String(prefixed('transform'));\\n\\t\\t$.support.transform3d = tests.csstransforms3d();\\n\\t}\\n})(window.Zepto || window.jQuery, window, document);\\n\\n/*****************\\n ** WEBPACK FOOTER\\n ** ./src/owl.carousel.js\\n ** module id = 1\\n ** module chunks = 0\\n **/\\n//# sourceURL=webpack:///./src/owl.carousel.js?\");\n\n/***/ },\n/* 2 */\n/***/ function(module, exports) {\n\n\teval(\"// removed by extract-text-webpack-plugin\\n\\n/*****************\\n ** WEBPACK FOOTER\\n ** ./src/owl.carousel.css\\n ** module id = 2\\n ** module chunks = 0\\n **/\\n//# sourceURL=webpack:///./src/owl.carousel.css?\");\n\n/***/ },\n/* 3 */\n/***/ function(module, exports) {\n\n\teval(\"module.exports = __WEBPACK_EXTERNAL_MODULE_3__;\\n\\n/*****************\\n ** WEBPACK FOOTER\\n ** external {\\\"root\\\":\\\"PropTypes\\\",\\\"commonjs2\\\":\\\"prop-types\\\",\\\"commonjs\\\":\\\"prop-types\\\",\\\"amd\\\":\\\"prop-types\\\"}\\n ** module id = 3\\n ** module chunks = 0\\n **/\\n//# sourceURL=webpack:///external_%7B%22root%22:%22PropTypes%22,%22commonjs2%22:%22prop-types%22,%22commonjs%22:%22prop-types%22,%22amd%22:%22prop-types%22%7D?\");\n\n/***/ },\n/* 4 */\n/***/ function(module, exports) {\n\n\teval(\"module.exports = __WEBPACK_EXTERNAL_MODULE_4__;\\n\\n/*****************\\n ** WEBPACK FOOTER\\n ** external {\\\"root\\\":\\\"React\\\",\\\"commonjs2\\\":\\\"react\\\",\\\"commonjs\\\":\\\"react\\\",\\\"amd\\\":\\\"react\\\"}\\n ** module id = 4\\n ** module chunks = 0\\n **/\\n//# sourceURL=webpack:///external_%7B%22root%22:%22React%22,%22commonjs2%22:%22react%22,%22commonjs%22:%22react%22,%22amd%22:%22react%22%7D?\");\n\n/***/ },\n/* 5 */\n/***/ function(module, exports) {\n\n\teval(\"module.exports = __WEBPACK_EXTERNAL_MODULE_5__;\\n\\n/*****************\\n ** WEBPACK FOOTER\\n ** external {\\\"root\\\":\\\"ReactDOM\\\",\\\"commonjs2\\\":\\\"react-dom\\\",\\\"commonjs\\\":\\\"react-dom\\\",\\\"amd\\\":\\\"react-dom\\\"}\\n ** module id = 5\\n ** module chunks = 0\\n **/\\n//# sourceURL=webpack:///external_%7B%22root%22:%22ReactDOM%22,%22commonjs2%22:%22react-dom%22,%22commonjs%22:%22react-dom%22,%22amd%22:%22react-dom%22%7D?\");\n\n/***/ }\n/******/ ])\n});\n;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-owl-carousel2/lib/OwlCarousel.js\n// module id = 131\n// module chunks = 1 2 3\n//# sourceURL=webpack:///./~/react-owl-carousel2/lib/OwlCarousel.js?"); /***/ }), /* 132 */, /* 133 */ /***/ (function(module, exports) { eval("'use strict';\n\nvar BusinessSettingsSubmission = function BusinessSettingsSubmission(data) {\n\tvar self = this;\n\n\tself.customerNumber = '';\n\n\tself.addressInfo = new CompanyAddressInfo();\n\tself.contactInfo = new CompanyContactInfo();\n\tself.financialInfo = new CompanyFinancialInfo();\n\n\tself.customDealerItems = [];\n\n\tself.members = [];\n\n\tif (data !== undefined) {\n\t\tif (data.customerNumber !== undefined) {\n\t\t\tself.customerNumber = data.customerNumber;\n\t\t}\n\t\tif (data.addressInfo !== undefined) {\n\t\t\tself.addressInfo = new CompanyAddressInfo(data.addressInfo);\n\t\t}\n\t\tif (data.contactInfo !== undefined) {\n\t\t\tself.contactInfo = new CompanyContactInfo(data.contactInfo);\n\t\t}\n\t\tif (data.financialInfo !== undefined) {\n\t\t\tself.financialInfo = new CompanyFinancialInfo(data.financialInfo);\n\t\t}\n\t\tif (data.customDealerItems !== undefined) {\n\t\t\tself.customDealerItems = data.customDealerItems;\n\t\t}\n\t\tif (data.members !== undefined) {\n\t\t\tself.members = data.members;\n\t\t}\n\t}\n};\n\nvar CompanyAddressInfo = function CompanyAddressInfo(data) {\n\tvar self = this;\n\n\tvar address1 = '';\n\tvar address2 = '';\n\tvar zipCode = '';\n\tvar location = '';\n\tvar country = '';\n\n\tif (data !== undefined) {\n\t\tif (data.address1 !== undefined) {\n\t\t\tself.address1 = data.address1;\n\t\t}\n\t\tif (data.address2 !== undefined) {\n\t\t\tself.address2 = data.address2;\n\t\t}\n\t\tif (data.zipCode !== undefined) {\n\t\t\tself.zipCode = data.zipCode;\n\t\t}\n\t\tif (data.location !== undefined) {\n\t\t\tself.location = data.location;\n\t\t}\n\t\tif (data.country !== undefined) {\n\t\t\tself.country = data.country;\n\t\t}\n\t}\n};\n\nvar CompanyContactInfo = function CompanyContactInfo(data) {\n\tvar self = this;\n\n\tvar phoneCountryPrefix = '';\n\tvar phoneNumber = '';\n\tvar faxCountryPrefix = '';\n\tvar faxNumber = '';\n\tvar mobileCountryPrefix = '';\n\tvar mobileNumber = '';\n\tvar email = '';\n\n\tif (data !== undefined) {\n\t\tif (data.phoneCountryPrefix !== undefined) {\n\t\t\tself.phoneCountryPrefix = data.phoneCountryPrefix;\n\t\t}\n\t\tif (data.phoneNumber !== undefined) {\n\t\t\tself.phoneNumber = data.phoneNumber;\n\t\t}\n\t\tif (data.faxCountryPrefix !== undefined) {\n\t\t\tself.faxCountryPrefix = data.faxCountryPrefix;\n\t\t}\n\t\tif (data.faxNumber !== undefined) {\n\t\t\tself.faxNumber = data.faxNumber;\n\t\t}\n\t\tif (data.mobileCountryPrefix !== undefined) {\n\t\t\tself.mobileCountryPrefix = data.mobileCountryPrefix;\n\t\t}\n\t\tif (data.mobileNumber !== undefined) {\n\t\t\tself.mobileNumber = data.mobileNumber;\n\t\t}\n\t\tif (data.email !== undefined) {\n\t\t\tself.email = data.email;\n\t\t}\n\t}\n};\n\nvar CompanyFinancialInfo = function CompanyFinancialInfo(data) {\n\tvar self = this;\n\n\tvar vat = '';\n\tvar iban = '';\n\tvar bic = '';\n\n\tif (data !== undefined) {\n\t\tif (data.vat !== undefined) {\n\t\t\tself.vat = data.vat;\n\t\t}\n\t\tif (data.iban !== undefined) {\n\t\t\tself.iban = data.iban;\n\t\t}\n\t\tif (data.bic !== undefined) {\n\t\t\tself.bic = data.bic;\n\t\t}\n\t}\n};\n\nmodule.exports = BusinessSettingsSubmission;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/models/businessSettingsSubmission.js\n// module id = 133\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/models/businessSettingsSubmission.js?"); /***/ }), /* 134 */ /***/ (function(module, exports) { eval("\"use strict\";\n\nvar BusinessSettingsSubmissionResult = function BusinessSettingsSubmissionResult(data) {\n var self = this;\n\n self.isSuccess = false;\n self.messages = [];\n\n if (data !== undefined) {\n if (data.isSuccess !== undefined) {\n self.isSuccess = data.isSuccess;\n }\n if (data.messages !== undefined) {\n self.messages = data.messages;\n }\n }\n};\n\nmodule.exports = BusinessSettingsSubmissionResult;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/models/businessSettingsSubmissionResult.js\n// module id = 134\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/models/businessSettingsSubmissionResult.js?"); /***/ }), /* 135 */ /***/ (function(module, exports) { eval("\"use strict\";\n\nvar BusinessSettingsValidation = function BusinessSettingsValidation(data) {\n var self = this;\n\n self.allBusinessRulesFulfilled = function () {\n return self.financialInfoOk() && self.addressInfoOk() && self.customItemDataOk() && self.memberDataOk();\n };\n\n self.financialInfoOk = function () {\n return self.vat;\n };\n\n self.addressInfoOk = function () {\n return true;\n };\n\n self.contactInfoOk = function () {\n return self.phoneCountryPrefix && self.phoneNumber && self.email;\n };\n\n self.customItemDataOk = function () {\n var valid = true;\n\n self.customItemValidation.forEach(function (validation) {\n valid = valid && validation.customItemDataOk();\n });\n\n return valid;\n };\n\n self.memberDataOk = function () {\n var valid = true;\n\n self.memberValidation.forEach(function (validation) {\n valid = valid && validation.memberDataOk();\n });\n\n return valid;\n };\n\n self.vat = true;\n self.iban = true;\n self.bic = true;\n\n if (data !== undefined) {\n if (data.vat !== undefined) {\n self.vat = data.vat;\n }\n if (data.iban !== undefined) {\n self.iban = data.iban;\n }\n if (data.bic !== undefined) {\n self.bic = data.bic;\n }\n }\n\n self.address1 = true;\n self.address2 = true;\n self.zipCode = true;\n self.location = true;\n self.country = true;\n\n if (data !== undefined) {\n if (data.address1 !== undefined) {\n self.address1 = data.address1;\n }\n if (data.address2 !== undefined) {\n self.address2 = data.address2;\n }\n if (data.zipCode !== undefined) {\n self.zipCode = data.zipCode;\n }\n if (data.location !== undefined) {\n self.location = data.location;\n }\n if (data.country !== undefined) {\n self.country = data.country;\n }\n }\n\n self.phoneCountryPrefix = true;\n self.phoneNumber = true;\n self.email = true;\n\n if (data !== undefined) {\n if (data.phoneCountryPrefix !== undefined) {\n self.phoneCountryPrefix = data.phoneCountryPrefix;\n }\n if (data.phoneNumber !== undefined) {\n self.phoneNumber = data.phoneNumber;\n }\n if (data.email !== undefined) {\n self.email = data.email;\n }\n }\n\n self.memberValidation = [];\n self.customItemValidation = [];\n};\n\nmodule.exports = BusinessSettingsValidation;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/models/businessSettingsValidation.js\n// module id = 135\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/models/businessSettingsValidation.js?"); /***/ }), /* 136 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n/**\r\n * @class TextArea\r\n * @property {string} name - The name for the input\r\n * @property {string} title - The text title for the input\r\n * @property {string} placeholder - A string to display before anything is entered.\r\n * @property {string} value - The input's value\r\n * @property {string} wrapperClass - Class names for the wrapper div\r\n * @property {function} onChange - Function to run when value changes\r\n * @property {bool} isRequired\r\n * @property {bool} hasError\r\n * @property {string} extraInputClassName - Some text input fields require extra class name, use this property to add those\r\n * @description A TextArea with associated wrapper elements for the form.\r\n */\nvar TextArea = React.createClass({\n\tdisplayName: 'TextArea',\n\n\trenderInputClassName: function renderInputClassName() {\n\t\tvar className = 'c_form__field c_form__field--text';\n\t\tif (this.props.extraInputClassName) {\n\t\t\tclassName += ' ' + this.props.extraInputClassName;\n\t\t}\n\t\tif (this.props.hasError) {\n\t\t\tclassName += ' input-validation-error';\n\t\t}\n\t\treturn className;\n\t},\n\trender: function render() {\n\t\treturn React.createElement(\n\t\t\t'div',\n\t\t\t{ className: this.props.wrapperClass },\n\t\t\tReact.createElement(\n\t\t\t\t'fieldset',\n\t\t\t\t{ className: 'c_form__fieldset c_form__entry' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'label',\n\t\t\t\t\t{ htmlFor: 'frm_' + this.props.name, className: 'c_form__label' },\n\t\t\t\t\tthis.props.title,\n\t\t\t\t\tthis.props.isRequired ? React.createElement(\n\t\t\t\t\t\t'span',\n\t\t\t\t\t\t{ className: 'c_text--blue' },\n\t\t\t\t\t\t'*'\n\t\t\t\t\t) : null\n\t\t\t\t),\n\t\t\t\tReact.createElement('textarea', {\n\t\t\t\t\tname: this.props.name,\n\t\t\t\t\tid: 'frm_' + this.props.name,\n\t\t\t\t\tplaceholder: this.props.placeholder,\n\t\t\t\t\tvalue: this.props.value != null ? this.props.value : '',\n\t\t\t\t\ttabIndex: '',\n\t\t\t\t\trequired: this.props.isRequired,\n\t\t\t\t\tclassName: this.renderInputClassName(),\n\t\t\t\t\tonChange: this.props.onChange,\n\t\t\t\t\tonInput: this.props.onInput,\n\t\t\t\t\t'aria-required': this.props.isRequired,\n\t\t\t\t\t'aria-invalid': this.props.hasError\n\t\t\t\t})\n\t\t\t)\n\t\t);\n\t}\n});\n\nmodule.exports = TextArea;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Common/TextArea.jsx\n// module id = 136\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Common/TextArea.jsx?"); /***/ }), /* 137 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n/**\r\n * @class TextBox\r\n * @property {string} name - The name for the input\r\n * @property {string} title - The text title for the input\r\n * @property {string} placeholder - A string to display before anything is entered.\r\n * @property {string} value - The input's value\r\n * @property {string} wrapperClass - Class names for the wrapper div\r\n * @property {function} onChange - Function to run when value changes\r\n * @property {bool} isRequired\r\n * @property {bool} hasError\r\n * @property {string} extraInputClassName - Some text input fields require extra class name, use this property to add those\r\n * @description A textbox with associated wrapper elements for the form.\r\n */\nvar TextBox = React.createClass({\n\tdisplayName: 'TextBox',\n\n\trenderInputClassName: function renderInputClassName() {\n\t\tvar className = 'c_form__field c_form__field--text';\n\t\tif (this.props.extraInputClassName) {\n\t\t\tclassName += ' ' + this.props.extraInputClassName;\n\t\t}\n\t\tif (this.props.hasError) {\n\t\t\tclassName += ' input-validation-error';\n\t\t}\n\t\treturn className;\n\t},\n\trender: function render() {\n\t\treturn React.createElement(\n\t\t\t'div',\n\t\t\t{ className: this.props.wrapperClass },\n\t\t\tReact.createElement(\n\t\t\t\t'fieldset',\n\t\t\t\t{ className: 'c_form__fieldset c_form__entry' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'label',\n\t\t\t\t\t{ htmlFor: 'frm_' + this.props.name, className: 'c_form__label' },\n\t\t\t\t\tthis.props.title,\n\t\t\t\t\tthis.props.isRequired ? React.createElement(\n\t\t\t\t\t\t'span',\n\t\t\t\t\t\t{ className: 'c_text--blue' },\n\t\t\t\t\t\t'*'\n\t\t\t\t\t) : null\n\t\t\t\t),\n\t\t\t\tthis.props.addon && React.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'c_form__field--addon__container' },\n\t\t\t\t\tReact.createElement('input', {\n\t\t\t\t\t\ttype: this.props.type ? this.props.type : 'text',\n\t\t\t\t\t\tname: this.props.name,\n\t\t\t\t\t\tid: 'frm_' + this.props.name,\n\t\t\t\t\t\tplaceholder: this.props.placeholder,\n\t\t\t\t\t\tvalue: this.props.value != null ? this.props.value : '',\n\t\t\t\t\t\ttabIndex: '',\n\t\t\t\t\t\trequired: this.props.isRequired,\n\t\t\t\t\t\tclassName: this.renderInputClassName(),\n\t\t\t\t\t\tonChange: this.props.onChange,\n\t\t\t\t\t\tonInput: this.props.onInput,\n\t\t\t\t\t\t'aria-required': this.props.isRequired,\n\t\t\t\t\t\t'aria-invalid': this.props.hasError,\n\t\t\t\t\t\tdisabled: this.props.disabled\n\t\t\t\t\t}),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'span',\n\t\t\t\t\t\t{ className: 'c_form__field--addon' },\n\t\t\t\t\t\tthis.props.addon\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\t!this.props.addon && React.createElement('input', {\n\t\t\t\t\ttype: this.props.type ? this.props.type : 'text',\n\t\t\t\t\tname: this.props.name,\n\t\t\t\t\tid: 'frm_' + this.props.name,\n\t\t\t\t\tplaceholder: this.props.placeholder,\n\t\t\t\t\tvalue: this.props.value != null ? this.props.value : '',\n\t\t\t\t\ttabIndex: '',\n\t\t\t\t\trequired: this.props.isRequired,\n\t\t\t\t\tclassName: this.renderInputClassName(),\n\t\t\t\t\tonChange: this.props.onChange,\n\t\t\t\t\tonInput: this.props.onInput,\n\t\t\t\t\t'aria-required': this.props.isRequired,\n\t\t\t\t\t'aria-invalid': this.props.hasError,\n\t\t\t\t\tdisabled: this.props.disabled\n\t\t\t\t})\n\t\t\t)\n\t\t);\n\t}\n});\n\nmodule.exports = TextBox;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Common/TextBox.jsx\n// module id = 137\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Common/TextBox.jsx?"); /***/ }), /* 138 */, /* 139 */, /* 140 */, /* 141 */, /* 142 */, /* 143 */, /* 144 */, /* 145 */, /* 146 */, /* 147 */, /* 148 */, /* 149 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _assign = __webpack_require__(150);\n\nvar emptyObject = __webpack_require__(44);\nvar _invariant = __webpack_require__(3);\n\nif (process.env.NODE_ENV !== 'production') {\n var warning = __webpack_require__(4);\n}\n\nvar MIXINS_KEY = 'mixins';\n\n// Helper function to allow the creation of anonymous functions which do not\n// have .name set to the name of the variable being assigned to.\nfunction identity(fn) {\n return fn;\n}\n\nvar ReactPropTypeLocationNames;\nif (process.env.NODE_ENV !== 'production') {\n ReactPropTypeLocationNames = {\n prop: 'prop',\n context: 'context',\n childContext: 'child context'\n };\n} else {\n ReactPropTypeLocationNames = {};\n}\n\nfunction factory(ReactComponent, isValidElement, ReactNoopUpdateQueue) {\n /**\n * Policies that describe methods in `ReactClassInterface`.\n */\n\n var injectedMixins = [];\n\n /**\n * Composite components are higher-level components that compose other composite\n * or host components.\n *\n * To create a new type of `ReactClass`, pass a specification of\n * your new class to `React.createClass`. The only requirement of your class\n * specification is that you implement a `render` method.\n *\n * var MyComponent = React.createClass({\n * render: function() {\n * return <div>Hello World</div>;\n * }\n * });\n *\n * The class specification supports a specific protocol of methods that have\n * special meaning (e.g. `render`). See `ReactClassInterface` for\n * more the comprehensive protocol. Any other properties and methods in the\n * class specification will be available on the prototype.\n *\n * @interface ReactClassInterface\n * @internal\n */\n var ReactClassInterface = {\n /**\n * An array of Mixin objects to include when defining your component.\n *\n * @type {array}\n * @optional\n */\n mixins: 'DEFINE_MANY',\n\n /**\n * An object containing properties and methods that should be defined on\n * the component's constructor instead of its prototype (static methods).\n *\n * @type {object}\n * @optional\n */\n statics: 'DEFINE_MANY',\n\n /**\n * Definition of prop types for this component.\n *\n * @type {object}\n * @optional\n */\n propTypes: 'DEFINE_MANY',\n\n /**\n * Definition of context types for this component.\n *\n * @type {object}\n * @optional\n */\n contextTypes: 'DEFINE_MANY',\n\n /**\n * Definition of context types this component sets for its children.\n *\n * @type {object}\n * @optional\n */\n childContextTypes: 'DEFINE_MANY',\n\n // ==== Definition methods ====\n\n /**\n * Invoked when the component is mounted. Values in the mapping will be set on\n * `this.props` if that prop is not specified (i.e. using an `in` check).\n *\n * This method is invoked before `getInitialState` and therefore cannot rely\n * on `this.state` or use `this.setState`.\n *\n * @return {object}\n * @optional\n */\n getDefaultProps: 'DEFINE_MANY_MERGED',\n\n /**\n * Invoked once before the component is mounted. The return value will be used\n * as the initial value of `this.state`.\n *\n * getInitialState: function() {\n * return {\n * isOn: false,\n * fooBaz: new BazFoo()\n * }\n * }\n *\n * @return {object}\n * @optional\n */\n getInitialState: 'DEFINE_MANY_MERGED',\n\n /**\n * @return {object}\n * @optional\n */\n getChildContext: 'DEFINE_MANY_MERGED',\n\n /**\n * Uses props from `this.props` and state from `this.state` to render the\n * structure of the component.\n *\n * No guarantees are made about when or how often this method is invoked, so\n * it must not have side effects.\n *\n * render: function() {\n * var name = this.props.name;\n * return <div>Hello, {name}!</div>;\n * }\n *\n * @return {ReactComponent}\n * @required\n */\n render: 'DEFINE_ONCE',\n\n // ==== Delegate methods ====\n\n /**\n * Invoked when the component is initially created and about to be mounted.\n * This may have side effects, but any external subscriptions or data created\n * by this method must be cleaned up in `componentWillUnmount`.\n *\n * @optional\n */\n componentWillMount: 'DEFINE_MANY',\n\n /**\n * Invoked when the component has been mounted and has a DOM representation.\n * However, there is no guarantee that the DOM node is in the document.\n *\n * Use this as an opportunity to operate on the DOM when the component has\n * been mounted (initialized and rendered) for the first time.\n *\n * @param {DOMElement} rootNode DOM element representing the component.\n * @optional\n */\n componentDidMount: 'DEFINE_MANY',\n\n /**\n * Invoked before the component receives new props.\n *\n * Use this as an opportunity to react to a prop transition by updating the\n * state using `this.setState`. Current props are accessed via `this.props`.\n *\n * componentWillReceiveProps: function(nextProps, nextContext) {\n * this.setState({\n * likesIncreasing: nextProps.likeCount > this.props.likeCount\n * });\n * }\n *\n * NOTE: There is no equivalent `componentWillReceiveState`. An incoming prop\n * transition may cause a state change, but the opposite is not true. If you\n * need it, you are probably looking for `componentWillUpdate`.\n *\n * @param {object} nextProps\n * @optional\n */\n componentWillReceiveProps: 'DEFINE_MANY',\n\n /**\n * Invoked while deciding if the component should be updated as a result of\n * receiving new props, state and/or context.\n *\n * Use this as an opportunity to `return false` when you're certain that the\n * transition to the new props/state/context will not require a component\n * update.\n *\n * shouldComponentUpdate: function(nextProps, nextState, nextContext) {\n * return !equal(nextProps, this.props) ||\n * !equal(nextState, this.state) ||\n * !equal(nextContext, this.context);\n * }\n *\n * @param {object} nextProps\n * @param {?object} nextState\n * @param {?object} nextContext\n * @return {boolean} True if the component should update.\n * @optional\n */\n shouldComponentUpdate: 'DEFINE_ONCE',\n\n /**\n * Invoked when the component is about to update due to a transition from\n * `this.props`, `this.state` and `this.context` to `nextProps`, `nextState`\n * and `nextContext`.\n *\n * Use this as an opportunity to perform preparation before an update occurs.\n *\n * NOTE: You **cannot** use `this.setState()` in this method.\n *\n * @param {object} nextProps\n * @param {?object} nextState\n * @param {?object} nextContext\n * @param {ReactReconcileTransaction} transaction\n * @optional\n */\n componentWillUpdate: 'DEFINE_MANY',\n\n /**\n * Invoked when the component's DOM representation has been updated.\n *\n * Use this as an opportunity to operate on the DOM when the component has\n * been updated.\n *\n * @param {object} prevProps\n * @param {?object} prevState\n * @param {?object} prevContext\n * @param {DOMElement} rootNode DOM element representing the component.\n * @optional\n */\n componentDidUpdate: 'DEFINE_MANY',\n\n /**\n * Invoked when the component is about to be removed from its parent and have\n * its DOM representation destroyed.\n *\n * Use this as an opportunity to deallocate any external resources.\n *\n * NOTE: There is no `componentDidUnmount` since your component will have been\n * destroyed by that point.\n *\n * @optional\n */\n componentWillUnmount: 'DEFINE_MANY',\n\n /**\n * Replacement for (deprecated) `componentWillMount`.\n *\n * @optional\n */\n UNSAFE_componentWillMount: 'DEFINE_MANY',\n\n /**\n * Replacement for (deprecated) `componentWillReceiveProps`.\n *\n * @optional\n */\n UNSAFE_componentWillReceiveProps: 'DEFINE_MANY',\n\n /**\n * Replacement for (deprecated) `componentWillUpdate`.\n *\n * @optional\n */\n UNSAFE_componentWillUpdate: 'DEFINE_MANY',\n\n // ==== Advanced methods ====\n\n /**\n * Updates the component's currently mounted DOM representation.\n *\n * By default, this implements React's rendering and reconciliation algorithm.\n * Sophisticated clients may wish to override this.\n *\n * @param {ReactReconcileTransaction} transaction\n * @internal\n * @overridable\n */\n updateComponent: 'OVERRIDE_BASE'\n };\n\n /**\n * Similar to ReactClassInterface but for static methods.\n */\n var ReactClassStaticInterface = {\n /**\n * This method is invoked after a component is instantiated and when it\n * receives new props. Return an object to update state in response to\n * prop changes. Return null to indicate no change to state.\n *\n * If an object is returned, its keys will be merged into the existing state.\n *\n * @return {object || null}\n * @optional\n */\n getDerivedStateFromProps: 'DEFINE_MANY_MERGED'\n };\n\n /**\n * Mapping from class specification keys to special processing functions.\n *\n * Although these are declared like instance properties in the specification\n * when defining classes using `React.createClass`, they are actually static\n * and are accessible on the constructor instead of the prototype. Despite\n * being static, they must be defined outside of the \"statics\" key under\n * which all other static methods are defined.\n */\n var RESERVED_SPEC_KEYS = {\n displayName: function(Constructor, displayName) {\n Constructor.displayName = displayName;\n },\n mixins: function(Constructor, mixins) {\n if (mixins) {\n for (var i = 0; i < mixins.length; i++) {\n mixSpecIntoComponent(Constructor, mixins[i]);\n }\n }\n },\n childContextTypes: function(Constructor, childContextTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, childContextTypes, 'childContext');\n }\n Constructor.childContextTypes = _assign(\n {},\n Constructor.childContextTypes,\n childContextTypes\n );\n },\n contextTypes: function(Constructor, contextTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, contextTypes, 'context');\n }\n Constructor.contextTypes = _assign(\n {},\n Constructor.contextTypes,\n contextTypes\n );\n },\n /**\n * Special case getDefaultProps which should move into statics but requires\n * automatic merging.\n */\n getDefaultProps: function(Constructor, getDefaultProps) {\n if (Constructor.getDefaultProps) {\n Constructor.getDefaultProps = createMergedResultFunction(\n Constructor.getDefaultProps,\n getDefaultProps\n );\n } else {\n Constructor.getDefaultProps = getDefaultProps;\n }\n },\n propTypes: function(Constructor, propTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, propTypes, 'prop');\n }\n Constructor.propTypes = _assign({}, Constructor.propTypes, propTypes);\n },\n statics: function(Constructor, statics) {\n mixStaticSpecIntoComponent(Constructor, statics);\n },\n autobind: function() {}\n };\n\n function validateTypeDef(Constructor, typeDef, location) {\n for (var propName in typeDef) {\n if (typeDef.hasOwnProperty(propName)) {\n // use a warning instead of an _invariant so components\n // don't show up in prod but only in __DEV__\n if (process.env.NODE_ENV !== 'production') {\n warning(\n typeof typeDef[propName] === 'function',\n '%s: %s type `%s` is invalid; it must be a function, usually from ' +\n 'React.PropTypes.',\n Constructor.displayName || 'ReactClass',\n ReactPropTypeLocationNames[location],\n propName\n );\n }\n }\n }\n }\n\n function validateMethodOverride(isAlreadyDefined, name) {\n var specPolicy = ReactClassInterface.hasOwnProperty(name)\n ? ReactClassInterface[name]\n : null;\n\n // Disallow overriding of base class methods unless explicitly allowed.\n if (ReactClassMixin.hasOwnProperty(name)) {\n _invariant(\n specPolicy === 'OVERRIDE_BASE',\n 'ReactClassInterface: You are attempting to override ' +\n '`%s` from your class specification. Ensure that your method names ' +\n 'do not overlap with React methods.',\n name\n );\n }\n\n // Disallow defining methods more than once unless explicitly allowed.\n if (isAlreadyDefined) {\n _invariant(\n specPolicy === 'DEFINE_MANY' || specPolicy === 'DEFINE_MANY_MERGED',\n 'ReactClassInterface: You are attempting to define ' +\n '`%s` on your component more than once. This conflict may be due ' +\n 'to a mixin.',\n name\n );\n }\n }\n\n /**\n * Mixin helper which handles policy validation and reserved\n * specification keys when building React classes.\n */\n function mixSpecIntoComponent(Constructor, spec) {\n if (!spec) {\n if (process.env.NODE_ENV !== 'production') {\n var typeofSpec = typeof spec;\n var isMixinValid = typeofSpec === 'object' && spec !== null;\n\n if (process.env.NODE_ENV !== 'production') {\n warning(\n isMixinValid,\n \"%s: You're attempting to include a mixin that is either null \" +\n 'or not an object. Check the mixins included by the component, ' +\n 'as well as any mixins they include themselves. ' +\n 'Expected object but got %s.',\n Constructor.displayName || 'ReactClass',\n spec === null ? null : typeofSpec\n );\n }\n }\n\n return;\n }\n\n _invariant(\n typeof spec !== 'function',\n \"ReactClass: You're attempting to \" +\n 'use a component class or function as a mixin. Instead, just use a ' +\n 'regular object.'\n );\n _invariant(\n !isValidElement(spec),\n \"ReactClass: You're attempting to \" +\n 'use a component as a mixin. Instead, just use a regular object.'\n );\n\n var proto = Constructor.prototype;\n var autoBindPairs = proto.__reactAutoBindPairs;\n\n // By handling mixins before any other properties, we ensure the same\n // chaining order is applied to methods with DEFINE_MANY policy, whether\n // mixins are listed before or after these methods in the spec.\n if (spec.hasOwnProperty(MIXINS_KEY)) {\n RESERVED_SPEC_KEYS.mixins(Constructor, spec.mixins);\n }\n\n for (var name in spec) {\n if (!spec.hasOwnProperty(name)) {\n continue;\n }\n\n if (name === MIXINS_KEY) {\n // We have already handled mixins in a special case above.\n continue;\n }\n\n var property = spec[name];\n var isAlreadyDefined = proto.hasOwnProperty(name);\n validateMethodOverride(isAlreadyDefined, name);\n\n if (RESERVED_SPEC_KEYS.hasOwnProperty(name)) {\n RESERVED_SPEC_KEYS[name](Constructor, property);\n } else {\n // Setup methods on prototype:\n // The following member methods should not be automatically bound:\n // 1. Expected ReactClass methods (in the \"interface\").\n // 2. Overridden methods (that were mixed in).\n var isReactClassMethod = ReactClassInterface.hasOwnProperty(name);\n var isFunction = typeof property === 'function';\n var shouldAutoBind =\n isFunction &&\n !isReactClassMethod &&\n !isAlreadyDefined &&\n spec.autobind !== false;\n\n if (shouldAutoBind) {\n autoBindPairs.push(name, property);\n proto[name] = property;\n } else {\n if (isAlreadyDefined) {\n var specPolicy = ReactClassInterface[name];\n\n // These cases should already be caught by validateMethodOverride.\n _invariant(\n isReactClassMethod &&\n (specPolicy === 'DEFINE_MANY_MERGED' ||\n specPolicy === 'DEFINE_MANY'),\n 'ReactClass: Unexpected spec policy %s for key %s ' +\n 'when mixing in component specs.',\n specPolicy,\n name\n );\n\n // For methods which are defined more than once, call the existing\n // methods before calling the new property, merging if appropriate.\n if (specPolicy === 'DEFINE_MANY_MERGED') {\n proto[name] = createMergedResultFunction(proto[name], property);\n } else if (specPolicy === 'DEFINE_MANY') {\n proto[name] = createChainedFunction(proto[name], property);\n }\n } else {\n proto[name] = property;\n if (process.env.NODE_ENV !== 'production') {\n // Add verbose displayName to the function, which helps when looking\n // at profiling tools.\n if (typeof property === 'function' && spec.displayName) {\n proto[name].displayName = spec.displayName + '_' + name;\n }\n }\n }\n }\n }\n }\n }\n\n function mixStaticSpecIntoComponent(Constructor, statics) {\n if (!statics) {\n return;\n }\n\n for (var name in statics) {\n var property = statics[name];\n if (!statics.hasOwnProperty(name)) {\n continue;\n }\n\n var isReserved = name in RESERVED_SPEC_KEYS;\n _invariant(\n !isReserved,\n 'ReactClass: You are attempting to define a reserved ' +\n 'property, `%s`, that shouldn\\'t be on the \"statics\" key. Define it ' +\n 'as an instance property instead; it will still be accessible on the ' +\n 'constructor.',\n name\n );\n\n var isAlreadyDefined = name in Constructor;\n if (isAlreadyDefined) {\n var specPolicy = ReactClassStaticInterface.hasOwnProperty(name)\n ? ReactClassStaticInterface[name]\n : null;\n\n _invariant(\n specPolicy === 'DEFINE_MANY_MERGED',\n 'ReactClass: You are attempting to define ' +\n '`%s` on your component more than once. This conflict may be ' +\n 'due to a mixin.',\n name\n );\n\n Constructor[name] = createMergedResultFunction(Constructor[name], property);\n\n return;\n }\n\n Constructor[name] = property;\n }\n }\n\n /**\n * Merge two objects, but throw if both contain the same key.\n *\n * @param {object} one The first object, which is mutated.\n * @param {object} two The second object\n * @return {object} one after it has been mutated to contain everything in two.\n */\n function mergeIntoWithNoDuplicateKeys(one, two) {\n _invariant(\n one && two && typeof one === 'object' && typeof two === 'object',\n 'mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.'\n );\n\n for (var key in two) {\n if (two.hasOwnProperty(key)) {\n _invariant(\n one[key] === undefined,\n 'mergeIntoWithNoDuplicateKeys(): ' +\n 'Tried to merge two objects with the same key: `%s`. This conflict ' +\n 'may be due to a mixin; in particular, this may be caused by two ' +\n 'getInitialState() or getDefaultProps() methods returning objects ' +\n 'with clashing keys.',\n key\n );\n one[key] = two[key];\n }\n }\n return one;\n }\n\n /**\n * Creates a function that invokes two functions and merges their return values.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\n function createMergedResultFunction(one, two) {\n return function mergedResult() {\n var a = one.apply(this, arguments);\n var b = two.apply(this, arguments);\n if (a == null) {\n return b;\n } else if (b == null) {\n return a;\n }\n var c = {};\n mergeIntoWithNoDuplicateKeys(c, a);\n mergeIntoWithNoDuplicateKeys(c, b);\n return c;\n };\n }\n\n /**\n * Creates a function that invokes two functions and ignores their return vales.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\n function createChainedFunction(one, two) {\n return function chainedFunction() {\n one.apply(this, arguments);\n two.apply(this, arguments);\n };\n }\n\n /**\n * Binds a method to the component.\n *\n * @param {object} component Component whose method is going to be bound.\n * @param {function} method Method to be bound.\n * @return {function} The bound method.\n */\n function bindAutoBindMethod(component, method) {\n var boundMethod = method.bind(component);\n if (process.env.NODE_ENV !== 'production') {\n boundMethod.__reactBoundContext = component;\n boundMethod.__reactBoundMethod = method;\n boundMethod.__reactBoundArguments = null;\n var componentName = component.constructor.displayName;\n var _bind = boundMethod.bind;\n boundMethod.bind = function(newThis) {\n for (\n var _len = arguments.length,\n args = Array(_len > 1 ? _len - 1 : 0),\n _key = 1;\n _key < _len;\n _key++\n ) {\n args[_key - 1] = arguments[_key];\n }\n\n // User is trying to bind() an autobound method; we effectively will\n // ignore the value of \"this\" that the user is trying to use, so\n // let's warn.\n if (newThis !== component && newThis !== null) {\n if (process.env.NODE_ENV !== 'production') {\n warning(\n false,\n 'bind(): React component methods may only be bound to the ' +\n 'component instance. See %s',\n componentName\n );\n }\n } else if (!args.length) {\n if (process.env.NODE_ENV !== 'production') {\n warning(\n false,\n 'bind(): You are binding a component method to the component. ' +\n 'React does this for you automatically in a high-performance ' +\n 'way, so you can safely remove this call. See %s',\n componentName\n );\n }\n return boundMethod;\n }\n var reboundMethod = _bind.apply(boundMethod, arguments);\n reboundMethod.__reactBoundContext = component;\n reboundMethod.__reactBoundMethod = method;\n reboundMethod.__reactBoundArguments = args;\n return reboundMethod;\n };\n }\n return boundMethod;\n }\n\n /**\n * Binds all auto-bound methods in a component.\n *\n * @param {object} component Component whose method is going to be bound.\n */\n function bindAutoBindMethods(component) {\n var pairs = component.__reactAutoBindPairs;\n for (var i = 0; i < pairs.length; i += 2) {\n var autoBindKey = pairs[i];\n var method = pairs[i + 1];\n component[autoBindKey] = bindAutoBindMethod(component, method);\n }\n }\n\n var IsMountedPreMixin = {\n componentDidMount: function() {\n this.__isMounted = true;\n }\n };\n\n var IsMountedPostMixin = {\n componentWillUnmount: function() {\n this.__isMounted = false;\n }\n };\n\n /**\n * Add more to the ReactClass base class. These are all legacy features and\n * therefore not already part of the modern ReactComponent.\n */\n var ReactClassMixin = {\n /**\n * TODO: This will be deprecated because state should always keep a consistent\n * type signature and the only use case for this, is to avoid that.\n */\n replaceState: function(newState, callback) {\n this.updater.enqueueReplaceState(this, newState, callback);\n },\n\n /**\n * Checks whether or not this composite component is mounted.\n * @return {boolean} True if mounted, false otherwise.\n * @protected\n * @final\n */\n isMounted: function() {\n if (process.env.NODE_ENV !== 'production') {\n warning(\n this.__didWarnIsMounted,\n '%s: isMounted is deprecated. Instead, make sure to clean up ' +\n 'subscriptions and pending requests in componentWillUnmount to ' +\n 'prevent memory leaks.',\n (this.constructor && this.constructor.displayName) ||\n this.name ||\n 'Component'\n );\n this.__didWarnIsMounted = true;\n }\n return !!this.__isMounted;\n }\n };\n\n var ReactClassComponent = function() {};\n _assign(\n ReactClassComponent.prototype,\n ReactComponent.prototype,\n ReactClassMixin\n );\n\n /**\n * Creates a composite component class given a class specification.\n * See https://facebook.github.io/react/docs/top-level-api.html#react.createclass\n *\n * @param {object} spec Class specification (which must define `render`).\n * @return {function} Component constructor function.\n * @public\n */\n function createClass(spec) {\n // To keep our warnings more understandable, we'll use a little hack here to\n // ensure that Constructor.name !== 'Constructor'. This makes sure we don't\n // unnecessarily identify a class without displayName as 'Constructor'.\n var Constructor = identity(function(props, context, updater) {\n // This constructor gets overridden by mocks. The argument is used\n // by mocks to assert on what gets mounted.\n\n if (process.env.NODE_ENV !== 'production') {\n warning(\n this instanceof Constructor,\n 'Something is calling a React component directly. Use a factory or ' +\n 'JSX instead. See: https://fb.me/react-legacyfactory'\n );\n }\n\n // Wire up auto-binding\n if (this.__reactAutoBindPairs.length) {\n bindAutoBindMethods(this);\n }\n\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n\n this.state = null;\n\n // ReactClasses doesn't have constructors. Instead, they use the\n // getInitialState and componentWillMount methods for initialization.\n\n var initialState = this.getInitialState ? this.getInitialState() : null;\n if (process.env.NODE_ENV !== 'production') {\n // We allow auto-mocks to proceed as if they're returning null.\n if (\n initialState === undefined &&\n this.getInitialState._isMockFunction\n ) {\n // This is probably bad practice. Consider warning here and\n // deprecating this convenience.\n initialState = null;\n }\n }\n _invariant(\n typeof initialState === 'object' && !Array.isArray(initialState),\n '%s.getInitialState(): must return an object or null',\n Constructor.displayName || 'ReactCompositeComponent'\n );\n\n this.state = initialState;\n });\n Constructor.prototype = new ReactClassComponent();\n Constructor.prototype.constructor = Constructor;\n Constructor.prototype.__reactAutoBindPairs = [];\n\n injectedMixins.forEach(mixSpecIntoComponent.bind(null, Constructor));\n\n mixSpecIntoComponent(Constructor, IsMountedPreMixin);\n mixSpecIntoComponent(Constructor, spec);\n mixSpecIntoComponent(Constructor, IsMountedPostMixin);\n\n // Initialize the defaultProps property after all mixins have been merged.\n if (Constructor.getDefaultProps) {\n Constructor.defaultProps = Constructor.getDefaultProps();\n }\n\n if (process.env.NODE_ENV !== 'production') {\n // This is a tag to indicate that the use of these method names is ok,\n // since it's used with createClass. If it's not, then it's likely a\n // mistake so we'll warn you to use the static property, property\n // initializer or constructor respectively.\n if (Constructor.getDefaultProps) {\n Constructor.getDefaultProps.isReactClassApproved = {};\n }\n if (Constructor.prototype.getInitialState) {\n Constructor.prototype.getInitialState.isReactClassApproved = {};\n }\n }\n\n _invariant(\n Constructor.prototype.render,\n 'createClass(...): Class specification must implement a `render` method.'\n );\n\n if (process.env.NODE_ENV !== 'production') {\n warning(\n !Constructor.prototype.componentShouldUpdate,\n '%s has a method called ' +\n 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' +\n 'The name is phrased as a question because the function is ' +\n 'expected to return a value.',\n spec.displayName || 'A component'\n );\n warning(\n !Constructor.prototype.componentWillRecieveProps,\n '%s has a method called ' +\n 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?',\n spec.displayName || 'A component'\n );\n warning(\n !Constructor.prototype.UNSAFE_componentWillRecieveProps,\n '%s has a method called UNSAFE_componentWillRecieveProps(). ' +\n 'Did you mean UNSAFE_componentWillReceiveProps()?',\n spec.displayName || 'A component'\n );\n }\n\n // Reduce time spent doing lookups by setting these on the prototype.\n for (var methodName in ReactClassInterface) {\n if (!Constructor.prototype[methodName]) {\n Constructor.prototype[methodName] = null;\n }\n }\n\n return Constructor;\n }\n\n return createClass;\n}\n\nmodule.exports = factory;\n\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/create-react-class/factory.js\n// module id = 149\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/create-react-class/factory.js?"); /***/ }), /* 150 */ /***/ (function(module, exports) { eval("/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/create-react-class/~/object-assign/index.js\n// module id = 150\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/create-react-class/~/object-assign/index.js?"); /***/ }), /* 151 */ /***/ (function(module, exports) { eval("\"use strict\";\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\n\nvar _hyphenPattern = /-(.)/g;\n\n/**\n * Camelcases a hyphenated string, for example:\n *\n * > camelize('background-color')\n * < \"backgroundColor\"\n *\n * @param {string} string\n * @return {string}\n */\nfunction camelize(string) {\n return string.replace(_hyphenPattern, function (_, character) {\n return character.toUpperCase();\n });\n}\n\nmodule.exports = camelize;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/camelize.js\n// module id = 151\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/fbjs/lib/camelize.js?"); /***/ }), /* 152 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\n\n'use strict';\n\nvar camelize = __webpack_require__(151);\n\nvar msPattern = /^-ms-/;\n\n/**\n * Camelcases a hyphenated CSS property name, for example:\n *\n * > camelizeStyleName('background-color')\n * < \"backgroundColor\"\n * > camelizeStyleName('-moz-transition')\n * < \"MozTransition\"\n * > camelizeStyleName('-ms-transition')\n * < \"msTransition\"\n *\n * As Andi Smith suggests\n * (https://www.andismith.com/blog/2012/02/modernizr-prefixed/), an `-ms` prefix\n * is converted to lowercase `ms`.\n *\n * @param {string} string\n * @return {string}\n */\nfunction camelizeStyleName(string) {\n return camelize(string.replace(msPattern, 'ms-'));\n}\n\nmodule.exports = camelizeStyleName;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/camelizeStyleName.js\n// module id = 152\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/fbjs/lib/camelizeStyleName.js?"); /***/ }), /* 153 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\nvar isTextNode = __webpack_require__(161);\n\n/*eslint-disable no-bitwise */\n\n/**\n * Checks if a given DOM node contains or is another DOM node.\n */\nfunction containsNode(outerNode, innerNode) {\n if (!outerNode || !innerNode) {\n return false;\n } else if (outerNode === innerNode) {\n return true;\n } else if (isTextNode(outerNode)) {\n return false;\n } else if (isTextNode(innerNode)) {\n return containsNode(outerNode, innerNode.parentNode);\n } else if ('contains' in outerNode) {\n return outerNode.contains(innerNode);\n } else if (outerNode.compareDocumentPosition) {\n return !!(outerNode.compareDocumentPosition(innerNode) & 16);\n } else {\n return false;\n }\n}\n\nmodule.exports = containsNode;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/containsNode.js\n// module id = 153\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/fbjs/lib/containsNode.js?"); /***/ }), /* 154 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\n\nvar invariant = __webpack_require__(3);\n\n/**\n * Convert array-like objects to arrays.\n *\n * This API assumes the caller knows the contents of the data type. For less\n * well defined inputs use createArrayFromMixed.\n *\n * @param {object|function|filelist} obj\n * @return {array}\n */\nfunction toArray(obj) {\n var length = obj.length;\n\n // Some browsers builtin objects can report typeof 'function' (e.g. NodeList\n // in old versions of Safari).\n !(!Array.isArray(obj) && (typeof obj === 'object' || typeof obj === 'function')) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'toArray: Array-like object expected') : invariant(false) : void 0;\n\n !(typeof length === 'number') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'toArray: Object needs a length property') : invariant(false) : void 0;\n\n !(length === 0 || length - 1 in obj) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'toArray: Object should have keys for indices') : invariant(false) : void 0;\n\n !(typeof obj.callee !== 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'toArray: Object can\\'t be `arguments`. Use rest params ' + '(function(...args) {}) or Array.from() instead.') : invariant(false) : void 0;\n\n // Old IE doesn't give collections access to hasOwnProperty. Assume inputs\n // without method will throw during the slice call and skip straight to the\n // fallback.\n if (obj.hasOwnProperty) {\n try {\n return Array.prototype.slice.call(obj);\n } catch (e) {\n // IE < 9 does not support Array#slice on collections objects\n }\n }\n\n // Fall back to copying key by key. This assumes all keys have a value,\n // so will not preserve sparsely populated inputs.\n var ret = Array(length);\n for (var ii = 0; ii < length; ii++) {\n ret[ii] = obj[ii];\n }\n return ret;\n}\n\n/**\n * Perform a heuristic test to determine if an object is \"array-like\".\n *\n * A monk asked Joshu, a Zen master, \"Has a dog Buddha nature?\"\n * Joshu replied: \"Mu.\"\n *\n * This function determines if its argument has \"array nature\": it returns\n * true if the argument is an actual array, an `arguments' object, or an\n * HTMLCollection (e.g. node.childNodes or node.getElementsByTagName()).\n *\n * It will return false for other array-like objects like Filelist.\n *\n * @param {*} obj\n * @return {boolean}\n */\nfunction hasArrayNature(obj) {\n return (\n // not null/false\n !!obj && (\n // arrays are objects, NodeLists are functions in Safari\n typeof obj == 'object' || typeof obj == 'function') &&\n // quacks like an array\n 'length' in obj &&\n // not window\n !('setInterval' in obj) &&\n // no DOM node should be considered an array-like\n // a 'select' element has 'length' and 'item' properties on IE8\n typeof obj.nodeType != 'number' && (\n // a real array\n Array.isArray(obj) ||\n // arguments\n 'callee' in obj ||\n // HTMLCollection/NodeList\n 'item' in obj)\n );\n}\n\n/**\n * Ensure that the argument is an array by wrapping it in an array if it is not.\n * Creates a copy of the argument if it is already an array.\n *\n * This is mostly useful idiomatically:\n *\n * var createArrayFromMixed = require('createArrayFromMixed');\n *\n * function takesOneOrMoreThings(things) {\n * things = createArrayFromMixed(things);\n * ...\n * }\n *\n * This allows you to treat `things' as an array, but accept scalars in the API.\n *\n * If you need to convert an array-like object, like `arguments`, into an array\n * use toArray instead.\n *\n * @param {*} obj\n * @return {array}\n */\nfunction createArrayFromMixed(obj) {\n if (!hasArrayNature(obj)) {\n return [obj];\n } else if (Array.isArray(obj)) {\n return obj.slice();\n } else {\n return toArray(obj);\n }\n}\n\nmodule.exports = createArrayFromMixed;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/createArrayFromMixed.js\n// module id = 154\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/fbjs/lib/createArrayFromMixed.js?"); /***/ }), /* 155 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\n\n/*eslint-disable fb-www/unsafe-html*/\n\nvar ExecutionEnvironment = __webpack_require__(9);\n\nvar createArrayFromMixed = __webpack_require__(154);\nvar getMarkupWrap = __webpack_require__(156);\nvar invariant = __webpack_require__(3);\n\n/**\n * Dummy container used to render all markup.\n */\nvar dummyNode = ExecutionEnvironment.canUseDOM ? document.createElement('div') : null;\n\n/**\n * Pattern used by `getNodeName`.\n */\nvar nodeNamePattern = /^\\s*<(\\w+)/;\n\n/**\n * Extracts the `nodeName` of the first element in a string of markup.\n *\n * @param {string} markup String of markup.\n * @return {?string} Node name of the supplied markup.\n */\nfunction getNodeName(markup) {\n var nodeNameMatch = markup.match(nodeNamePattern);\n return nodeNameMatch && nodeNameMatch[1].toLowerCase();\n}\n\n/**\n * Creates an array containing the nodes rendered from the supplied markup. The\n * optionally supplied `handleScript` function will be invoked once for each\n * <script> element that is rendered. If no `handleScript` function is supplied,\n * an exception is thrown if any <script> elements are rendered.\n *\n * @param {string} markup A string of valid HTML markup.\n * @param {?function} handleScript Invoked once for each rendered <script>.\n * @return {array<DOMElement|DOMTextNode>} An array of rendered nodes.\n */\nfunction createNodesFromMarkup(markup, handleScript) {\n var node = dummyNode;\n !!!dummyNode ? process.env.NODE_ENV !== 'production' ? invariant(false, 'createNodesFromMarkup dummy not initialized') : invariant(false) : void 0;\n var nodeName = getNodeName(markup);\n\n var wrap = nodeName && getMarkupWrap(nodeName);\n if (wrap) {\n node.innerHTML = wrap[1] + markup + wrap[2];\n\n var wrapDepth = wrap[0];\n while (wrapDepth--) {\n node = node.lastChild;\n }\n } else {\n node.innerHTML = markup;\n }\n\n var scripts = node.getElementsByTagName('script');\n if (scripts.length) {\n !handleScript ? process.env.NODE_ENV !== 'production' ? invariant(false, 'createNodesFromMarkup(...): Unexpected <script> element rendered.') : invariant(false) : void 0;\n createArrayFromMixed(scripts).forEach(handleScript);\n }\n\n var nodes = Array.from(node.childNodes);\n while (node.lastChild) {\n node.removeChild(node.lastChild);\n }\n return nodes;\n}\n\nmodule.exports = createNodesFromMarkup;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/createNodesFromMarkup.js\n// module id = 155\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/fbjs/lib/createNodesFromMarkup.js?"); /***/ }), /* 156 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n/*eslint-disable fb-www/unsafe-html */\n\nvar ExecutionEnvironment = __webpack_require__(9);\n\nvar invariant = __webpack_require__(3);\n\n/**\n * Dummy container used to detect which wraps are necessary.\n */\nvar dummyNode = ExecutionEnvironment.canUseDOM ? document.createElement('div') : null;\n\n/**\n * Some browsers cannot use `innerHTML` to render certain elements standalone,\n * so we wrap them, render the wrapped nodes, then extract the desired node.\n *\n * In IE8, certain elements cannot render alone, so wrap all elements ('*').\n */\n\nvar shouldWrap = {};\n\nvar selectWrap = [1, '<select multiple=\"true\">', '</select>'];\nvar tableWrap = [1, '<table>', '</table>'];\nvar trWrap = [3, '<table><tbody><tr>', '</tr></tbody></table>'];\n\nvar svgWrap = [1, '<svg xmlns=\"https://www.w3.org/2000/svg\">', '</svg>'];\n\nvar markupWrap = {\n '*': [1, '?<div>', '</div>'],\n\n 'area': [1, '<map>', '</map>'],\n 'col': [2, '<table><tbody></tbody><colgroup>', '</colgroup></table>'],\n 'legend': [1, '<fieldset>', '</fieldset>'],\n 'param': [1, '<object>', '</object>'],\n 'tr': [2, '<table><tbody>', '</tbody></table>'],\n\n 'optgroup': selectWrap,\n 'option': selectWrap,\n\n 'caption': tableWrap,\n 'colgroup': tableWrap,\n 'tbody': tableWrap,\n 'tfoot': tableWrap,\n 'thead': tableWrap,\n\n 'td': trWrap,\n 'th': trWrap\n};\n\n// Initialize the SVG elements since we know they'll always need to be wrapped\n// consistently. If they are created inside a <div> they will be initialized in\n// the wrong namespace (and will not display).\nvar svgElements = ['circle', 'clipPath', 'defs', 'ellipse', 'g', 'image', 'line', 'linearGradient', 'mask', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'stop', 'text', 'tspan'];\nsvgElements.forEach(function (nodeName) {\n markupWrap[nodeName] = svgWrap;\n shouldWrap[nodeName] = true;\n});\n\n/**\n * Gets the markup wrap configuration for the supplied `nodeName`.\n *\n * NOTE: This lazily detects which wraps are necessary for the current browser.\n *\n * @param {string} nodeName Lowercase `nodeName`.\n * @return {?array} Markup wrap configuration, if applicable.\n */\nfunction getMarkupWrap(nodeName) {\n !!!dummyNode ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Markup wrapping node not initialized') : invariant(false) : void 0;\n if (!markupWrap.hasOwnProperty(nodeName)) {\n nodeName = '*';\n }\n if (!shouldWrap.hasOwnProperty(nodeName)) {\n if (nodeName === '*') {\n dummyNode.innerHTML = '<link />';\n } else {\n dummyNode.innerHTML = '<' + nodeName + '></' + nodeName + '>';\n }\n shouldWrap[nodeName] = !dummyNode.firstChild;\n }\n return shouldWrap[nodeName] ? markupWrap[nodeName] : null;\n}\n\nmodule.exports = getMarkupWrap;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/getMarkupWrap.js\n// module id = 156\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/fbjs/lib/getMarkupWrap.js?"); /***/ }), /* 157 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\n\n'use strict';\n\n/**\n * Gets the scroll position of the supplied element or window.\n *\n * The return values are unbounded, unlike `getScrollPosition`. This means they\n * may be negative or exceed the element boundaries (which is possible using\n * inertial scrolling).\n *\n * @param {DOMWindow|DOMElement} scrollable\n * @return {object} Map with `x` and `y` keys.\n */\n\nfunction getUnboundedScrollPosition(scrollable) {\n if (scrollable.Window && scrollable instanceof scrollable.Window) {\n return {\n x: scrollable.pageXOffset || scrollable.document.documentElement.scrollLeft,\n y: scrollable.pageYOffset || scrollable.document.documentElement.scrollTop\n };\n }\n return {\n x: scrollable.scrollLeft,\n y: scrollable.scrollTop\n };\n}\n\nmodule.exports = getUnboundedScrollPosition;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/getUnboundedScrollPosition.js\n// module id = 157\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/fbjs/lib/getUnboundedScrollPosition.js?"); /***/ }), /* 158 */ /***/ (function(module, exports) { eval("'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\n\nvar _uppercasePattern = /([A-Z])/g;\n\n/**\n * Hyphenates a camelcased string, for example:\n *\n * > hyphenate('backgroundColor')\n * < \"background-color\"\n *\n * For CSS style names, use `hyphenateStyleName` instead which works properly\n * with all vendor prefixes, including `ms`.\n *\n * @param {string} string\n * @return {string}\n */\nfunction hyphenate(string) {\n return string.replace(_uppercasePattern, '-$1').toLowerCase();\n}\n\nmodule.exports = hyphenate;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/hyphenate.js\n// module id = 158\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/fbjs/lib/hyphenate.js?"); /***/ }), /* 159 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\n\n'use strict';\n\nvar hyphenate = __webpack_require__(158);\n\nvar msPattern = /^ms-/;\n\n/**\n * Hyphenates a camelcased CSS property name, for example:\n *\n * > hyphenateStyleName('backgroundColor')\n * < \"background-color\"\n * > hyphenateStyleName('MozTransition')\n * < \"-moz-transition\"\n * > hyphenateStyleName('msTransition')\n * < \"-ms-transition\"\n *\n * As Modernizr suggests (https://modernizr.com/docs/#prefixed), an `ms` prefix\n * is converted to `-ms-`.\n *\n * @param {string} string\n * @return {string}\n */\nfunction hyphenateStyleName(string) {\n return hyphenate(string).replace(msPattern, '-ms-');\n}\n\nmodule.exports = hyphenateStyleName;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/hyphenateStyleName.js\n// module id = 159\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/fbjs/lib/hyphenateStyleName.js?"); /***/ }), /* 160 */ /***/ (function(module, exports) { eval("'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\n\n/**\n * @param {*} object The object to check.\n * @return {boolean} Whether or not the object is a DOM node.\n */\nfunction isNode(object) {\n var doc = object ? object.ownerDocument || object : document;\n var defaultView = doc.defaultView || window;\n return !!(object && (typeof defaultView.Node === 'function' ? object instanceof defaultView.Node : typeof object === 'object' && typeof object.nodeType === 'number' && typeof object.nodeName === 'string'));\n}\n\nmodule.exports = isNode;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/isNode.js\n// module id = 160\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/fbjs/lib/isNode.js?"); /***/ }), /* 161 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\n\nvar isNode = __webpack_require__(160);\n\n/**\n * @param {*} object The object to check.\n * @return {boolean} Whether or not the object is a DOM text node.\n */\nfunction isTextNode(object) {\n return isNode(object) && object.nodeType == 3;\n}\n\nmodule.exports = isTextNode;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/isTextNode.js\n// module id = 161\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/fbjs/lib/isTextNode.js?"); /***/ }), /* 162 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @typechecks static-only\n */\n\n'use strict';\n\n/**\n * Memoizes the return value of a function that accepts one string argument.\n */\n\nfunction memoizeStringOnly(callback) {\n var cache = {};\n return function (string) {\n if (!cache.hasOwnProperty(string)) {\n cache[string] = callback.call(this, string);\n }\n return cache[string];\n };\n}\n\nmodule.exports = memoizeStringOnly;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/memoizeStringOnly.js\n// module id = 162\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/fbjs/lib/memoizeStringOnly.js?"); /***/ }), /* 163 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\n\n'use strict';\n\nvar ExecutionEnvironment = __webpack_require__(9);\n\nvar performance;\n\nif (ExecutionEnvironment.canUseDOM) {\n performance = window.performance || window.msPerformance || window.webkitPerformance;\n}\n\nmodule.exports = performance || {};\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/performance.js\n// module id = 163\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/fbjs/lib/performance.js?"); /***/ }), /* 164 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\n\nvar performance = __webpack_require__(163);\n\nvar performanceNow;\n\n/**\n * Detect if we can use `window.performance.now()` and gracefully fallback to\n * `Date.now()` if it doesn't exist. We need to support Firefox < 15 for now\n * because of Facebook's testing infrastructure.\n */\nif (performance.now) {\n performanceNow = function performanceNow() {\n return performance.now();\n };\n} else {\n performanceNow = function performanceNow() {\n return Date.now();\n };\n}\n\nmodule.exports = performanceNow;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/performanceNow.js\n// module id = 164\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/fbjs/lib/performanceNow.js?"); /***/ }), /* 165 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== 'production') {\n var invariant = __webpack_require__(3);\n var warning = __webpack_require__(4);\n var ReactPropTypesSecret = __webpack_require__(55);\n var loggedTypeFailures = {};\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (typeSpecs.hasOwnProperty(typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n invariant(typeof typeSpecs[typeSpecName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'the `prop-types` package, but received `%s`.', componentName || 'React class', location, typeSpecName, typeof typeSpecs[typeSpecName]);\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n warning(!error || error instanceof Error, '%s: type specification of %s `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error);\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n warning(false, 'Failed %s type: %s%s', location, error.message, stack != null ? stack : '');\n }\n }\n }\n }\n}\n\nmodule.exports = checkPropTypes;\n\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/prop-types/checkPropTypes.js\n// module id = 165\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/prop-types/checkPropTypes.js?"); /***/ }), /* 166 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar emptyFunction = __webpack_require__(14);\nvar invariant = __webpack_require__(3);\nvar ReactPropTypesSecret = __webpack_require__(55);\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n invariant(\n false,\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at https://fb.me/use-check-prop-types'\n );\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim\n };\n\n ReactPropTypes.checkPropTypes = emptyFunction;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/prop-types/factoryWithThrowingShims.js\n// module id = 166\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/prop-types/factoryWithThrowingShims.js?"); /***/ }), /* 167 */ /***/ (function(module, exports) { eval("/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/prop-types/~/object-assign/index.js\n// module id = 167\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/prop-types/~/object-assign/index.js?"); /***/ }), /* 168 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar ARIADOMPropertyConfig = {\n Properties: {\n // Global States and Properties\n 'aria-current': 0, // state\n 'aria-details': 0,\n 'aria-disabled': 0, // state\n 'aria-hidden': 0, // state\n 'aria-invalid': 0, // state\n 'aria-keyshortcuts': 0,\n 'aria-label': 0,\n 'aria-roledescription': 0,\n // Widget Attributes\n 'aria-autocomplete': 0,\n 'aria-checked': 0,\n 'aria-expanded': 0,\n 'aria-haspopup': 0,\n 'aria-level': 0,\n 'aria-modal': 0,\n 'aria-multiline': 0,\n 'aria-multiselectable': 0,\n 'aria-orientation': 0,\n 'aria-placeholder': 0,\n 'aria-pressed': 0,\n 'aria-readonly': 0,\n 'aria-required': 0,\n 'aria-selected': 0,\n 'aria-sort': 0,\n 'aria-valuemax': 0,\n 'aria-valuemin': 0,\n 'aria-valuenow': 0,\n 'aria-valuetext': 0,\n // Live Region Attributes\n 'aria-atomic': 0,\n 'aria-busy': 0,\n 'aria-live': 0,\n 'aria-relevant': 0,\n // Drag-and-Drop Attributes\n 'aria-dropeffect': 0,\n 'aria-grabbed': 0,\n // Relationship Attributes\n 'aria-activedescendant': 0,\n 'aria-colcount': 0,\n 'aria-colindex': 0,\n 'aria-colspan': 0,\n 'aria-controls': 0,\n 'aria-describedby': 0,\n 'aria-errormessage': 0,\n 'aria-flowto': 0,\n 'aria-labelledby': 0,\n 'aria-owns': 0,\n 'aria-posinset': 0,\n 'aria-rowcount': 0,\n 'aria-rowindex': 0,\n 'aria-rowspan': 0,\n 'aria-setsize': 0\n },\n DOMAttributeNames: {},\n DOMPropertyNames: {}\n};\n\nmodule.exports = ARIADOMPropertyConfig;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ARIADOMPropertyConfig.js\n// module id = 168\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ARIADOMPropertyConfig.js?"); /***/ }), /* 169 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar ReactDOMComponentTree = __webpack_require__(7);\n\nvar focusNode = __webpack_require__(87);\n\nvar AutoFocusUtils = {\n focusDOMComponent: function () {\n focusNode(ReactDOMComponentTree.getNodeFromInstance(this));\n }\n};\n\nmodule.exports = AutoFocusUtils;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/AutoFocusUtils.js\n// module id = 169\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/AutoFocusUtils.js?"); /***/ }), /* 170 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar EventPropagators = __webpack_require__(36);\nvar ExecutionEnvironment = __webpack_require__(9);\nvar FallbackCompositionState = __webpack_require__(176);\nvar SyntheticCompositionEvent = __webpack_require__(219);\nvar SyntheticInputEvent = __webpack_require__(222);\n\nvar END_KEYCODES = [9, 13, 27, 32]; // Tab, Return, Esc, Space\nvar START_KEYCODE = 229;\n\nvar canUseCompositionEvent = ExecutionEnvironment.canUseDOM && 'CompositionEvent' in window;\n\nvar documentMode = null;\nif (ExecutionEnvironment.canUseDOM && 'documentMode' in document) {\n documentMode = document.documentMode;\n}\n\n// Webkit offers a very useful `textInput` event that can be used to\n// directly represent `beforeInput`. The IE `textinput` event is not as\n// useful, so we don't use it.\nvar canUseTextInputEvent = ExecutionEnvironment.canUseDOM && 'TextEvent' in window && !documentMode && !isPresto();\n\n// In IE9+, we have access to composition events, but the data supplied\n// by the native compositionend event may be incorrect. Japanese ideographic\n// spaces, for instance (\\u3000) are not recorded correctly.\nvar useFallbackCompositionData = ExecutionEnvironment.canUseDOM && (!canUseCompositionEvent || documentMode && documentMode > 8 && documentMode <= 11);\n\n/**\n * Opera <= 12 includes TextEvent in window, but does not fire\n * text input events. Rely on keypress instead.\n */\nfunction isPresto() {\n var opera = window.opera;\n return typeof opera === 'object' && typeof opera.version === 'function' && parseInt(opera.version(), 10) <= 12;\n}\n\nvar SPACEBAR_CODE = 32;\nvar SPACEBAR_CHAR = String.fromCharCode(SPACEBAR_CODE);\n\n// Events and their corresponding property names.\nvar eventTypes = {\n beforeInput: {\n phasedRegistrationNames: {\n bubbled: 'onBeforeInput',\n captured: 'onBeforeInputCapture'\n },\n dependencies: ['topCompositionEnd', 'topKeyPress', 'topTextInput', 'topPaste']\n },\n compositionEnd: {\n phasedRegistrationNames: {\n bubbled: 'onCompositionEnd',\n captured: 'onCompositionEndCapture'\n },\n dependencies: ['topBlur', 'topCompositionEnd', 'topKeyDown', 'topKeyPress', 'topKeyUp', 'topMouseDown']\n },\n compositionStart: {\n phasedRegistrationNames: {\n bubbled: 'onCompositionStart',\n captured: 'onCompositionStartCapture'\n },\n dependencies: ['topBlur', 'topCompositionStart', 'topKeyDown', 'topKeyPress', 'topKeyUp', 'topMouseDown']\n },\n compositionUpdate: {\n phasedRegistrationNames: {\n bubbled: 'onCompositionUpdate',\n captured: 'onCompositionUpdateCapture'\n },\n dependencies: ['topBlur', 'topCompositionUpdate', 'topKeyDown', 'topKeyPress', 'topKeyUp', 'topMouseDown']\n }\n};\n\n// Track whether we've ever handled a keypress on the space key.\nvar hasSpaceKeypress = false;\n\n/**\n * Return whether a native keypress event is assumed to be a command.\n * This is required because Firefox fires `keypress` events for key commands\n * (cut, copy, select-all, etc.) even though no character is inserted.\n */\nfunction isKeypressCommand(nativeEvent) {\n return (nativeEvent.ctrlKey || nativeEvent.altKey || nativeEvent.metaKey) &&\n // ctrlKey && altKey is equivalent to AltGr, and is not a command.\n !(nativeEvent.ctrlKey && nativeEvent.altKey);\n}\n\n/**\n * Translate native top level events into event types.\n *\n * @param {string} topLevelType\n * @return {object}\n */\nfunction getCompositionEventType(topLevelType) {\n switch (topLevelType) {\n case 'topCompositionStart':\n return eventTypes.compositionStart;\n case 'topCompositionEnd':\n return eventTypes.compositionEnd;\n case 'topCompositionUpdate':\n return eventTypes.compositionUpdate;\n }\n}\n\n/**\n * Does our fallback best-guess model think this event signifies that\n * composition has begun?\n *\n * @param {string} topLevelType\n * @param {object} nativeEvent\n * @return {boolean}\n */\nfunction isFallbackCompositionStart(topLevelType, nativeEvent) {\n return topLevelType === 'topKeyDown' && nativeEvent.keyCode === START_KEYCODE;\n}\n\n/**\n * Does our fallback mode think that this event is the end of composition?\n *\n * @param {string} topLevelType\n * @param {object} nativeEvent\n * @return {boolean}\n */\nfunction isFallbackCompositionEnd(topLevelType, nativeEvent) {\n switch (topLevelType) {\n case 'topKeyUp':\n // Command keys insert or clear IME input.\n return END_KEYCODES.indexOf(nativeEvent.keyCode) !== -1;\n case 'topKeyDown':\n // Expect IME keyCode on each keydown. If we get any other\n // code we must have exited earlier.\n return nativeEvent.keyCode !== START_KEYCODE;\n case 'topKeyPress':\n case 'topMouseDown':\n case 'topBlur':\n // Events are not possible without cancelling IME.\n return true;\n default:\n return false;\n }\n}\n\n/**\n * Google Input Tools provides composition data via a CustomEvent,\n * with the `data` property populated in the `detail` object. If this\n * is available on the event object, use it. If not, this is a plain\n * composition event and we have nothing special to extract.\n *\n * @param {object} nativeEvent\n * @return {?string}\n */\nfunction getDataFromCustomEvent(nativeEvent) {\n var detail = nativeEvent.detail;\n if (typeof detail === 'object' && 'data' in detail) {\n return detail.data;\n }\n return null;\n}\n\n// Track the current IME composition fallback object, if any.\nvar currentComposition = null;\n\n/**\n * @return {?object} A SyntheticCompositionEvent.\n */\nfunction extractCompositionEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n var eventType;\n var fallbackData;\n\n if (canUseCompositionEvent) {\n eventType = getCompositionEventType(topLevelType);\n } else if (!currentComposition) {\n if (isFallbackCompositionStart(topLevelType, nativeEvent)) {\n eventType = eventTypes.compositionStart;\n }\n } else if (isFallbackCompositionEnd(topLevelType, nativeEvent)) {\n eventType = eventTypes.compositionEnd;\n }\n\n if (!eventType) {\n return null;\n }\n\n if (useFallbackCompositionData) {\n // The current composition is stored statically and must not be\n // overwritten while composition continues.\n if (!currentComposition && eventType === eventTypes.compositionStart) {\n currentComposition = FallbackCompositionState.getPooled(nativeEventTarget);\n } else if (eventType === eventTypes.compositionEnd) {\n if (currentComposition) {\n fallbackData = currentComposition.getData();\n }\n }\n }\n\n var event = SyntheticCompositionEvent.getPooled(eventType, targetInst, nativeEvent, nativeEventTarget);\n\n if (fallbackData) {\n // Inject data generated from fallback path into the synthetic event.\n // This matches the property of native CompositionEventInterface.\n event.data = fallbackData;\n } else {\n var customData = getDataFromCustomEvent(nativeEvent);\n if (customData !== null) {\n event.data = customData;\n }\n }\n\n EventPropagators.accumulateTwoPhaseDispatches(event);\n return event;\n}\n\n/**\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {object} nativeEvent Native browser event.\n * @return {?string} The string corresponding to this `beforeInput` event.\n */\nfunction getNativeBeforeInputChars(topLevelType, nativeEvent) {\n switch (topLevelType) {\n case 'topCompositionEnd':\n return getDataFromCustomEvent(nativeEvent);\n case 'topKeyPress':\n /**\n * If native `textInput` events are available, our goal is to make\n * use of them. However, there is a special case: the spacebar key.\n * In Webkit, preventing default on a spacebar `textInput` event\n * cancels character insertion, but it *also* causes the browser\n * to fall back to its default spacebar behavior of scrolling the\n * page.\n *\n * Tracking at:\n * https://code.google.com/p/chromium/issues/detail?id=355103\n *\n * To avoid this issue, use the keypress event as if no `textInput`\n * event is available.\n */\n var which = nativeEvent.which;\n if (which !== SPACEBAR_CODE) {\n return null;\n }\n\n hasSpaceKeypress = true;\n return SPACEBAR_CHAR;\n\n case 'topTextInput':\n // Record the characters to be added to the DOM.\n var chars = nativeEvent.data;\n\n // If it's a spacebar character, assume that we have already handled\n // it at the keypress level and bail immediately. Android Chrome\n // doesn't give us keycodes, so we need to blacklist it.\n if (chars === SPACEBAR_CHAR && hasSpaceKeypress) {\n return null;\n }\n\n return chars;\n\n default:\n // For other native event types, do nothing.\n return null;\n }\n}\n\n/**\n * For browsers that do not provide the `textInput` event, extract the\n * appropriate string to use for SyntheticInputEvent.\n *\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {object} nativeEvent Native browser event.\n * @return {?string} The fallback string for this `beforeInput` event.\n */\nfunction getFallbackBeforeInputChars(topLevelType, nativeEvent) {\n // If we are currently composing (IME) and using a fallback to do so,\n // try to extract the composed characters from the fallback object.\n // If composition event is available, we extract a string only at\n // compositionevent, otherwise extract it at fallback events.\n if (currentComposition) {\n if (topLevelType === 'topCompositionEnd' || !canUseCompositionEvent && isFallbackCompositionEnd(topLevelType, nativeEvent)) {\n var chars = currentComposition.getData();\n FallbackCompositionState.release(currentComposition);\n currentComposition = null;\n return chars;\n }\n return null;\n }\n\n switch (topLevelType) {\n case 'topPaste':\n // If a paste event occurs after a keypress, throw out the input\n // chars. Paste events should not lead to BeforeInput events.\n return null;\n case 'topKeyPress':\n /**\n * As of v27, Firefox may fire keypress events even when no character\n * will be inserted. A few possibilities:\n *\n * - `which` is `0`. Arrow keys, Esc key, etc.\n *\n * - `which` is the pressed key code, but no char is available.\n * Ex: 'AltGr + d` in Polish. There is no modified character for\n * this key combination and no character is inserted into the\n * document, but FF fires the keypress for char code `100` anyway.\n * No `input` event will occur.\n *\n * - `which` is the pressed key code, but a command combination is\n * being used. Ex: `Cmd+C`. No character is inserted, and no\n * `input` event will occur.\n */\n if (nativeEvent.which && !isKeypressCommand(nativeEvent)) {\n return String.fromCharCode(nativeEvent.which);\n }\n return null;\n case 'topCompositionEnd':\n return useFallbackCompositionData ? null : nativeEvent.data;\n default:\n return null;\n }\n}\n\n/**\n * Extract a SyntheticInputEvent for `beforeInput`, based on either native\n * `textInput` or fallback behavior.\n *\n * @return {?object} A SyntheticInputEvent.\n */\nfunction extractBeforeInputEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n var chars;\n\n if (canUseTextInputEvent) {\n chars = getNativeBeforeInputChars(topLevelType, nativeEvent);\n } else {\n chars = getFallbackBeforeInputChars(topLevelType, nativeEvent);\n }\n\n // If no characters are being inserted, no BeforeInput event should\n // be fired.\n if (!chars) {\n return null;\n }\n\n var event = SyntheticInputEvent.getPooled(eventTypes.beforeInput, targetInst, nativeEvent, nativeEventTarget);\n\n event.data = chars;\n EventPropagators.accumulateTwoPhaseDispatches(event);\n return event;\n}\n\n/**\n * Create an `onBeforeInput` event to match\n * https://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105/#events-inputevents.\n *\n * This event plugin is based on the native `textInput` event\n * available in Chrome, Safari, Opera, and IE. This event fires after\n * `onKeyPress` and `onCompositionEnd`, but before `onInput`.\n *\n * `beforeInput` is spec'd but not implemented in any browsers, and\n * the `input` event does not provide any useful information about what has\n * actually been added, contrary to the spec. Thus, `textInput` is the best\n * available event to identify the characters that have actually been inserted\n * into the target node.\n *\n * This plugin is also responsible for emitting `composition` events, thus\n * allowing us to share composition fallback code for both `beforeInput` and\n * `composition` event types.\n */\nvar BeforeInputEventPlugin = {\n eventTypes: eventTypes,\n\n extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n return [extractCompositionEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget), extractBeforeInputEvent(topLevelType, targetInst, nativeEvent, nativeEventTarget)];\n }\n};\n\nmodule.exports = BeforeInputEventPlugin;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/BeforeInputEventPlugin.js\n// module id = 170\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/BeforeInputEventPlugin.js?"); /***/ }), /* 171 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar CSSProperty = __webpack_require__(91);\nvar ExecutionEnvironment = __webpack_require__(9);\nvar ReactInstrumentation = __webpack_require__(15);\n\nvar camelizeStyleName = __webpack_require__(152);\nvar dangerousStyleValue = __webpack_require__(229);\nvar hyphenateStyleName = __webpack_require__(159);\nvar memoizeStringOnly = __webpack_require__(162);\nvar warning = __webpack_require__(4);\n\nvar processStyleName = memoizeStringOnly(function (styleName) {\n return hyphenateStyleName(styleName);\n});\n\nvar hasShorthandPropertyBug = false;\nvar styleFloatAccessor = 'cssFloat';\nif (ExecutionEnvironment.canUseDOM) {\n var tempStyle = document.createElement('div').style;\n try {\n // IE8 throws \"Invalid argument.\" if resetting shorthand style properties.\n tempStyle.font = '';\n } catch (e) {\n hasShorthandPropertyBug = true;\n }\n // IE8 only supports accessing cssFloat (standard) as styleFloat\n if (document.documentElement.style.cssFloat === undefined) {\n styleFloatAccessor = 'styleFloat';\n }\n}\n\nif (process.env.NODE_ENV !== 'production') {\n // 'msTransform' is correct, but the other prefixes should be capitalized\n var badVendoredStyleNamePattern = /^(?:webkit|moz|o)[A-Z]/;\n\n // style values shouldn't contain a semicolon\n var badStyleValueWithSemicolonPattern = /;\\s*$/;\n\n var warnedStyleNames = {};\n var warnedStyleValues = {};\n var warnedForNaNValue = false;\n\n var warnHyphenatedStyleName = function (name, owner) {\n if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) {\n return;\n }\n\n warnedStyleNames[name] = true;\n process.env.NODE_ENV !== 'production' ? warning(false, 'Unsupported style property %s. Did you mean %s?%s', name, camelizeStyleName(name), checkRenderMessage(owner)) : void 0;\n };\n\n var warnBadVendoredStyleName = function (name, owner) {\n if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) {\n return;\n }\n\n warnedStyleNames[name] = true;\n process.env.NODE_ENV !== 'production' ? warning(false, 'Unsupported vendor-prefixed style property %s. Did you mean %s?%s', name, name.charAt(0).toUpperCase() + name.slice(1), checkRenderMessage(owner)) : void 0;\n };\n\n var warnStyleValueWithSemicolon = function (name, value, owner) {\n if (warnedStyleValues.hasOwnProperty(value) && warnedStyleValues[value]) {\n return;\n }\n\n warnedStyleValues[value] = true;\n process.env.NODE_ENV !== 'production' ? warning(false, \"Style property values shouldn't contain a semicolon.%s \" + 'Try \"%s: %s\" instead.', checkRenderMessage(owner), name, value.replace(badStyleValueWithSemicolonPattern, '')) : void 0;\n };\n\n var warnStyleValueIsNaN = function (name, value, owner) {\n if (warnedForNaNValue) {\n return;\n }\n\n warnedForNaNValue = true;\n process.env.NODE_ENV !== 'production' ? warning(false, '`NaN` is an invalid value for the `%s` css style property.%s', name, checkRenderMessage(owner)) : void 0;\n };\n\n var checkRenderMessage = function (owner) {\n if (owner) {\n var name = owner.getName();\n if (name) {\n return ' Check the render method of `' + name + '`.';\n }\n }\n return '';\n };\n\n /**\n * @param {string} name\n * @param {*} value\n * @param {ReactDOMComponent} component\n */\n var warnValidStyle = function (name, value, component) {\n var owner;\n if (component) {\n owner = component._currentElement._owner;\n }\n if (name.indexOf('-') > -1) {\n warnHyphenatedStyleName(name, owner);\n } else if (badVendoredStyleNamePattern.test(name)) {\n warnBadVendoredStyleName(name, owner);\n } else if (badStyleValueWithSemicolonPattern.test(value)) {\n warnStyleValueWithSemicolon(name, value, owner);\n }\n\n if (typeof value === 'number' && isNaN(value)) {\n warnStyleValueIsNaN(name, value, owner);\n }\n };\n}\n\n/**\n * Operations for dealing with CSS properties.\n */\nvar CSSPropertyOperations = {\n /**\n * Serializes a mapping of style properties for use as inline styles:\n *\n * > createMarkupForStyles({width: '200px', height: 0})\n * \"width:200px;height:0;\"\n *\n * Undefined values are ignored so that declarative programming is easier.\n * The result should be HTML-escaped before insertion into the DOM.\n *\n * @param {object} styles\n * @param {ReactDOMComponent} component\n * @return {?string}\n */\n createMarkupForStyles: function (styles, component) {\n var serialized = '';\n for (var styleName in styles) {\n if (!styles.hasOwnProperty(styleName)) {\n continue;\n }\n var isCustomProperty = styleName.indexOf('--') === 0;\n var styleValue = styles[styleName];\n if (process.env.NODE_ENV !== 'production') {\n if (!isCustomProperty) {\n warnValidStyle(styleName, styleValue, component);\n }\n }\n if (styleValue != null) {\n serialized += processStyleName(styleName) + ':';\n serialized += dangerousStyleValue(styleName, styleValue, component, isCustomProperty) + ';';\n }\n }\n return serialized || null;\n },\n\n /**\n * Sets the value for multiple styles on a node. If a value is specified as\n * '' (empty string), the corresponding style property will be unset.\n *\n * @param {DOMElement} node\n * @param {object} styles\n * @param {ReactDOMComponent} component\n */\n setValueForStyles: function (node, styles, component) {\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation({\n instanceID: component._debugID,\n type: 'update styles',\n payload: styles\n });\n }\n\n var style = node.style;\n for (var styleName in styles) {\n if (!styles.hasOwnProperty(styleName)) {\n continue;\n }\n var isCustomProperty = styleName.indexOf('--') === 0;\n if (process.env.NODE_ENV !== 'production') {\n if (!isCustomProperty) {\n warnValidStyle(styleName, styles[styleName], component);\n }\n }\n var styleValue = dangerousStyleValue(styleName, styles[styleName], component, isCustomProperty);\n if (styleName === 'float' || styleName === 'cssFloat') {\n styleName = styleFloatAccessor;\n }\n if (isCustomProperty) {\n style.setProperty(styleName, styleValue);\n } else if (styleValue) {\n style[styleName] = styleValue;\n } else {\n var expansion = hasShorthandPropertyBug && CSSProperty.shorthandPropertyExpansions[styleName];\n if (expansion) {\n // Shorthand property that IE8 won't like unsetting, so unset each\n // component to placate it\n for (var individualStyleName in expansion) {\n style[individualStyleName] = '';\n }\n } else {\n style[styleName] = '';\n }\n }\n }\n }\n};\n\nmodule.exports = CSSPropertyOperations;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/CSSPropertyOperations.js\n// module id = 171\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/CSSPropertyOperations.js?"); /***/ }), /* 172 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar EventPluginHub = __webpack_require__(35);\nvar EventPropagators = __webpack_require__(36);\nvar ExecutionEnvironment = __webpack_require__(9);\nvar ReactDOMComponentTree = __webpack_require__(7);\nvar ReactUpdates = __webpack_require__(16);\nvar SyntheticEvent = __webpack_require__(20);\n\nvar inputValueTracking = __webpack_require__(108);\nvar getEventTarget = __webpack_require__(67);\nvar isEventSupported = __webpack_require__(68);\nvar isTextInputElement = __webpack_require__(110);\n\nvar eventTypes = {\n change: {\n phasedRegistrationNames: {\n bubbled: 'onChange',\n captured: 'onChangeCapture'\n },\n dependencies: ['topBlur', 'topChange', 'topClick', 'topFocus', 'topInput', 'topKeyDown', 'topKeyUp', 'topSelectionChange']\n }\n};\n\nfunction createAndAccumulateChangeEvent(inst, nativeEvent, target) {\n var event = SyntheticEvent.getPooled(eventTypes.change, inst, nativeEvent, target);\n event.type = 'change';\n EventPropagators.accumulateTwoPhaseDispatches(event);\n return event;\n}\n/**\n * For IE shims\n */\nvar activeElement = null;\nvar activeElementInst = null;\n\n/**\n * SECTION: handle `change` event\n */\nfunction shouldUseChangeEvent(elem) {\n var nodeName = elem.nodeName && elem.nodeName.toLowerCase();\n return nodeName === 'select' || nodeName === 'input' && elem.type === 'file';\n}\n\nvar doesChangeEventBubble = false;\nif (ExecutionEnvironment.canUseDOM) {\n // See `handleChange` comment below\n doesChangeEventBubble = isEventSupported('change') && (!document.documentMode || document.documentMode > 8);\n}\n\nfunction manualDispatchChangeEvent(nativeEvent) {\n var event = createAndAccumulateChangeEvent(activeElementInst, nativeEvent, getEventTarget(nativeEvent));\n\n // If change and propertychange bubbled, we'd just bind to it like all the\n // other events and have it go through ReactBrowserEventEmitter. Since it\n // doesn't, we manually listen for the events and so we have to enqueue and\n // process the abstract event manually.\n //\n // Batching is necessary here in order to ensure that all event handlers run\n // before the next rerender (including event handlers attached to ancestor\n // elements instead of directly on the input). Without this, controlled\n // components don't work properly in conjunction with event bubbling because\n // the component is rerendered and the value reverted before all the event\n // handlers can run. See https://github.com/facebook/react/issues/708.\n ReactUpdates.batchedUpdates(runEventInBatch, event);\n}\n\nfunction runEventInBatch(event) {\n EventPluginHub.enqueueEvents(event);\n EventPluginHub.processEventQueue(false);\n}\n\nfunction startWatchingForChangeEventIE8(target, targetInst) {\n activeElement = target;\n activeElementInst = targetInst;\n activeElement.attachEvent('onchange', manualDispatchChangeEvent);\n}\n\nfunction stopWatchingForChangeEventIE8() {\n if (!activeElement) {\n return;\n }\n activeElement.detachEvent('onchange', manualDispatchChangeEvent);\n activeElement = null;\n activeElementInst = null;\n}\n\nfunction getInstIfValueChanged(targetInst, nativeEvent) {\n var updated = inputValueTracking.updateValueIfChanged(targetInst);\n var simulated = nativeEvent.simulated === true && ChangeEventPlugin._allowSimulatedPassThrough;\n\n if (updated || simulated) {\n return targetInst;\n }\n}\n\nfunction getTargetInstForChangeEvent(topLevelType, targetInst) {\n if (topLevelType === 'topChange') {\n return targetInst;\n }\n}\n\nfunction handleEventsForChangeEventIE8(topLevelType, target, targetInst) {\n if (topLevelType === 'topFocus') {\n // stopWatching() should be a noop here but we call it just in case we\n // missed a blur event somehow.\n stopWatchingForChangeEventIE8();\n startWatchingForChangeEventIE8(target, targetInst);\n } else if (topLevelType === 'topBlur') {\n stopWatchingForChangeEventIE8();\n }\n}\n\n/**\n * SECTION: handle `input` event\n */\nvar isInputEventSupported = false;\nif (ExecutionEnvironment.canUseDOM) {\n // IE9 claims to support the input event but fails to trigger it when\n // deleting text, so we ignore its input events.\n\n isInputEventSupported = isEventSupported('input') && (!document.documentMode || document.documentMode > 9);\n}\n\n/**\n * (For IE <=9) Starts tracking propertychange events on the passed-in element\n * and override the value property so that we can distinguish user events from\n * value changes in JS.\n */\nfunction startWatchingForValueChange(target, targetInst) {\n activeElement = target;\n activeElementInst = targetInst;\n activeElement.attachEvent('onpropertychange', handlePropertyChange);\n}\n\n/**\n * (For IE <=9) Removes the event listeners from the currently-tracked element,\n * if any exists.\n */\nfunction stopWatchingForValueChange() {\n if (!activeElement) {\n return;\n }\n activeElement.detachEvent('onpropertychange', handlePropertyChange);\n\n activeElement = null;\n activeElementInst = null;\n}\n\n/**\n * (For IE <=9) Handles a propertychange event, sending a `change` event if\n * the value of the active element has changed.\n */\nfunction handlePropertyChange(nativeEvent) {\n if (nativeEvent.propertyName !== 'value') {\n return;\n }\n if (getInstIfValueChanged(activeElementInst, nativeEvent)) {\n manualDispatchChangeEvent(nativeEvent);\n }\n}\n\nfunction handleEventsForInputEventPolyfill(topLevelType, target, targetInst) {\n if (topLevelType === 'topFocus') {\n // In IE8, we can capture almost all .value changes by adding a\n // propertychange handler and looking for events with propertyName\n // equal to 'value'\n // In IE9, propertychange fires for most input events but is buggy and\n // doesn't fire when text is deleted, but conveniently, selectionchange\n // appears to fire in all of the remaining cases so we catch those and\n // forward the event if the value has changed\n // In either case, we don't want to call the event handler if the value\n // is changed from JS so we redefine a setter for `.value` that updates\n // our activeElementValue variable, allowing us to ignore those changes\n //\n // stopWatching() should be a noop here but we call it just in case we\n // missed a blur event somehow.\n stopWatchingForValueChange();\n startWatchingForValueChange(target, targetInst);\n } else if (topLevelType === 'topBlur') {\n stopWatchingForValueChange();\n }\n}\n\n// For IE8 and IE9.\nfunction getTargetInstForInputEventPolyfill(topLevelType, targetInst, nativeEvent) {\n if (topLevelType === 'topSelectionChange' || topLevelType === 'topKeyUp' || topLevelType === 'topKeyDown') {\n // On the selectionchange event, the target is just document which isn't\n // helpful for us so just check activeElement instead.\n //\n // 99% of the time, keydown and keyup aren't necessary. IE8 fails to fire\n // propertychange on the first input event after setting `value` from a\n // script and fires only keydown, keypress, keyup. Catching keyup usually\n // gets it and catching keydown lets us fire an event for the first\n // keystroke if user does a key repeat (it'll be a little delayed: right\n // before the second keystroke). Other input methods (e.g., paste) seem to\n // fire selectionchange normally.\n return getInstIfValueChanged(activeElementInst, nativeEvent);\n }\n}\n\n/**\n * SECTION: handle `click` event\n */\nfunction shouldUseClickEvent(elem) {\n // Use the `click` event to detect changes to checkbox and radio inputs.\n // This approach works across all browsers, whereas `change` does not fire\n // until `blur` in IE8.\n var nodeName = elem.nodeName;\n return nodeName && nodeName.toLowerCase() === 'input' && (elem.type === 'checkbox' || elem.type === 'radio');\n}\n\nfunction getTargetInstForClickEvent(topLevelType, targetInst, nativeEvent) {\n if (topLevelType === 'topClick') {\n return getInstIfValueChanged(targetInst, nativeEvent);\n }\n}\n\nfunction getTargetInstForInputOrChangeEvent(topLevelType, targetInst, nativeEvent) {\n if (topLevelType === 'topInput' || topLevelType === 'topChange') {\n return getInstIfValueChanged(targetInst, nativeEvent);\n }\n}\n\nfunction handleControlledInputBlur(inst, node) {\n // TODO: In IE, inst is occasionally null. Why?\n if (inst == null) {\n return;\n }\n\n // Fiber and ReactDOM keep wrapper state in separate places\n var state = inst._wrapperState || node._wrapperState;\n\n if (!state || !state.controlled || node.type !== 'number') {\n return;\n }\n\n // If controlled, assign the value attribute to the current value on blur\n var value = '' + node.value;\n if (node.getAttribute('value') !== value) {\n node.setAttribute('value', value);\n }\n}\n\n/**\n * This plugin creates an `onChange` event that normalizes change events\n * across form elements. This event fires at a time when it's possible to\n * change the element's value without seeing a flicker.\n *\n * Supported elements are:\n * - input (see `isTextInputElement`)\n * - textarea\n * - select\n */\nvar ChangeEventPlugin = {\n eventTypes: eventTypes,\n\n _allowSimulatedPassThrough: true,\n _isInputEventSupported: isInputEventSupported,\n\n extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n var targetNode = targetInst ? ReactDOMComponentTree.getNodeFromInstance(targetInst) : window;\n\n var getTargetInstFunc, handleEventFunc;\n if (shouldUseChangeEvent(targetNode)) {\n if (doesChangeEventBubble) {\n getTargetInstFunc = getTargetInstForChangeEvent;\n } else {\n handleEventFunc = handleEventsForChangeEventIE8;\n }\n } else if (isTextInputElement(targetNode)) {\n if (isInputEventSupported) {\n getTargetInstFunc = getTargetInstForInputOrChangeEvent;\n } else {\n getTargetInstFunc = getTargetInstForInputEventPolyfill;\n handleEventFunc = handleEventsForInputEventPolyfill;\n }\n } else if (shouldUseClickEvent(targetNode)) {\n getTargetInstFunc = getTargetInstForClickEvent;\n }\n\n if (getTargetInstFunc) {\n var inst = getTargetInstFunc(topLevelType, targetInst, nativeEvent);\n if (inst) {\n var event = createAndAccumulateChangeEvent(inst, nativeEvent, nativeEventTarget);\n return event;\n }\n }\n\n if (handleEventFunc) {\n handleEventFunc(topLevelType, targetNode, targetInst);\n }\n\n // When blurring, set the value attribute for number inputs\n if (topLevelType === 'topBlur') {\n handleControlledInputBlur(targetInst, targetNode);\n }\n }\n};\n\nmodule.exports = ChangeEventPlugin;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ChangeEventPlugin.js\n// module id = 172\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ChangeEventPlugin.js?"); /***/ }), /* 173 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6);\n\nvar DOMLazyTree = __webpack_require__(29);\nvar ExecutionEnvironment = __webpack_require__(9);\n\nvar createNodesFromMarkup = __webpack_require__(155);\nvar emptyFunction = __webpack_require__(14);\nvar invariant = __webpack_require__(3);\n\nvar Danger = {\n /**\n * Replaces a node with a string of markup at its current position within its\n * parent. The markup must render into a single root node.\n *\n * @param {DOMElement} oldChild Child node to replace.\n * @param {string} markup Markup to render in place of the child node.\n * @internal\n */\n dangerouslyReplaceNodeWithMarkup: function (oldChild, markup) {\n !ExecutionEnvironment.canUseDOM ? process.env.NODE_ENV !== 'production' ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): Cannot render markup in a worker thread. Make sure `window` and `document` are available globally before requiring React when unit testing or use ReactDOMServer.renderToString() for server rendering.') : _prodInvariant('56') : void 0;\n !markup ? process.env.NODE_ENV !== 'production' ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): Missing markup.') : _prodInvariant('57') : void 0;\n !(oldChild.nodeName !== 'HTML') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'dangerouslyReplaceNodeWithMarkup(...): Cannot replace markup of the <html> node. This is because browser quirks make this unreliable and/or slow. If you want to render to the root you must use server rendering. See ReactDOMServer.renderToString().') : _prodInvariant('58') : void 0;\n\n if (typeof markup === 'string') {\n var newChild = createNodesFromMarkup(markup, emptyFunction)[0];\n oldChild.parentNode.replaceChild(newChild, oldChild);\n } else {\n DOMLazyTree.replaceChildWithTree(oldChild, markup);\n }\n }\n};\n\nmodule.exports = Danger;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/Danger.js\n// module id = 173\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/Danger.js?"); /***/ }), /* 174 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\n/**\n * Module that is injectable into `EventPluginHub`, that specifies a\n * deterministic ordering of `EventPlugin`s. A convenient way to reason about\n * plugins, without having to package every one of them. This is better than\n * having plugins be ordered in the same order that they are injected because\n * that ordering would be influenced by the packaging order.\n * `ResponderEventPlugin` must occur before `SimpleEventPlugin` so that\n * preventing default on events is convenient in `SimpleEventPlugin` handlers.\n */\n\nvar DefaultEventPluginOrder = ['ResponderEventPlugin', 'SimpleEventPlugin', 'TapEventPlugin', 'EnterLeaveEventPlugin', 'ChangeEventPlugin', 'SelectEventPlugin', 'BeforeInputEventPlugin'];\n\nmodule.exports = DefaultEventPluginOrder;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/DefaultEventPluginOrder.js\n// module id = 174\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/DefaultEventPluginOrder.js?"); /***/ }), /* 175 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar EventPropagators = __webpack_require__(36);\nvar ReactDOMComponentTree = __webpack_require__(7);\nvar SyntheticMouseEvent = __webpack_require__(47);\n\nvar eventTypes = {\n mouseEnter: {\n registrationName: 'onMouseEnter',\n dependencies: ['topMouseOut', 'topMouseOver']\n },\n mouseLeave: {\n registrationName: 'onMouseLeave',\n dependencies: ['topMouseOut', 'topMouseOver']\n }\n};\n\nvar EnterLeaveEventPlugin = {\n eventTypes: eventTypes,\n\n /**\n * For almost every interaction we care about, there will be both a top-level\n * `mouseover` and `mouseout` event that occurs. Only use `mouseout` so that\n * we do not extract duplicate events. However, moving the mouse into the\n * browser from outside will not fire a `mouseout` event. In this case, we use\n * the `mouseover` top-level event.\n */\n extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n if (topLevelType === 'topMouseOver' && (nativeEvent.relatedTarget || nativeEvent.fromElement)) {\n return null;\n }\n if (topLevelType !== 'topMouseOut' && topLevelType !== 'topMouseOver') {\n // Must not be a mouse in or mouse out - ignoring.\n return null;\n }\n\n var win;\n if (nativeEventTarget.window === nativeEventTarget) {\n // `nativeEventTarget` is probably a window object.\n win = nativeEventTarget;\n } else {\n // TODO: Figure out why `ownerDocument` is sometimes undefined in IE8.\n var doc = nativeEventTarget.ownerDocument;\n if (doc) {\n win = doc.defaultView || doc.parentWindow;\n } else {\n win = window;\n }\n }\n\n var from;\n var to;\n if (topLevelType === 'topMouseOut') {\n from = targetInst;\n var related = nativeEvent.relatedTarget || nativeEvent.toElement;\n to = related ? ReactDOMComponentTree.getClosestInstanceFromNode(related) : null;\n } else {\n // Moving to a node from outside the window.\n from = null;\n to = targetInst;\n }\n\n if (from === to) {\n // Nothing pertains to our managed components.\n return null;\n }\n\n var fromNode = from == null ? win : ReactDOMComponentTree.getNodeFromInstance(from);\n var toNode = to == null ? win : ReactDOMComponentTree.getNodeFromInstance(to);\n\n var leave = SyntheticMouseEvent.getPooled(eventTypes.mouseLeave, from, nativeEvent, nativeEventTarget);\n leave.type = 'mouseleave';\n leave.target = fromNode;\n leave.relatedTarget = toNode;\n\n var enter = SyntheticMouseEvent.getPooled(eventTypes.mouseEnter, to, nativeEvent, nativeEventTarget);\n enter.type = 'mouseenter';\n enter.target = toNode;\n enter.relatedTarget = fromNode;\n\n EventPropagators.accumulateEnterLeaveDispatches(leave, enter, from, to);\n\n return [leave, enter];\n }\n};\n\nmodule.exports = EnterLeaveEventPlugin;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/EnterLeaveEventPlugin.js\n// module id = 175\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/EnterLeaveEventPlugin.js?"); /***/ }), /* 176 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _assign = __webpack_require__(8);\n\nvar PooledClass = __webpack_require__(26);\n\nvar getTextContentAccessor = __webpack_require__(107);\n\n/**\n * This helper class stores information about text content of a target node,\n * allowing comparison of content before and after a given event.\n *\n * Identify the node where selection currently begins, then observe\n * both its text content and its current position in the DOM. Since the\n * browser may natively replace the target node during composition, we can\n * use its position to find its replacement.\n *\n * @param {DOMEventTarget} root\n */\nfunction FallbackCompositionState(root) {\n this._root = root;\n this._startText = this.getText();\n this._fallbackText = null;\n}\n\n_assign(FallbackCompositionState.prototype, {\n destructor: function () {\n this._root = null;\n this._startText = null;\n this._fallbackText = null;\n },\n\n /**\n * Get current text of input.\n *\n * @return {string}\n */\n getText: function () {\n if ('value' in this._root) {\n return this._root.value;\n }\n return this._root[getTextContentAccessor()];\n },\n\n /**\n * Determine the differing substring between the initially stored\n * text content and the current content.\n *\n * @return {string}\n */\n getData: function () {\n if (this._fallbackText) {\n return this._fallbackText;\n }\n\n var start;\n var startValue = this._startText;\n var startLength = startValue.length;\n var end;\n var endValue = this.getText();\n var endLength = endValue.length;\n\n for (start = 0; start < startLength; start++) {\n if (startValue[start] !== endValue[start]) {\n break;\n }\n }\n\n var minEnd = startLength - start;\n for (end = 1; end <= minEnd; end++) {\n if (startValue[startLength - end] !== endValue[endLength - end]) {\n break;\n }\n }\n\n var sliceTail = end > 1 ? 1 - end : undefined;\n this._fallbackText = endValue.slice(start, sliceTail);\n return this._fallbackText;\n }\n});\n\nPooledClass.addPoolingTo(FallbackCompositionState);\n\nmodule.exports = FallbackCompositionState;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/FallbackCompositionState.js\n// module id = 176\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/FallbackCompositionState.js?"); /***/ }), /* 177 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar DOMProperty = __webpack_require__(23);\n\nvar MUST_USE_PROPERTY = DOMProperty.injection.MUST_USE_PROPERTY;\nvar HAS_BOOLEAN_VALUE = DOMProperty.injection.HAS_BOOLEAN_VALUE;\nvar HAS_NUMERIC_VALUE = DOMProperty.injection.HAS_NUMERIC_VALUE;\nvar HAS_POSITIVE_NUMERIC_VALUE = DOMProperty.injection.HAS_POSITIVE_NUMERIC_VALUE;\nvar HAS_OVERLOADED_BOOLEAN_VALUE = DOMProperty.injection.HAS_OVERLOADED_BOOLEAN_VALUE;\n\nvar HTMLDOMPropertyConfig = {\n isCustomAttribute: RegExp.prototype.test.bind(new RegExp('^(data|aria)-[' + DOMProperty.ATTRIBUTE_NAME_CHAR + ']*$')),\n Properties: {\n /**\n * Standard Properties\n */\n accept: 0,\n acceptCharset: 0,\n accessKey: 0,\n action: 0,\n allowFullScreen: HAS_BOOLEAN_VALUE,\n allowTransparency: 0,\n alt: 0,\n // specifies target context for links with `preload` type\n as: 0,\n async: HAS_BOOLEAN_VALUE,\n autoComplete: 0,\n // autoFocus is polyfilled/normalized by AutoFocusUtils\n // autoFocus: HAS_BOOLEAN_VALUE,\n autoPlay: HAS_BOOLEAN_VALUE,\n capture: HAS_BOOLEAN_VALUE,\n cellPadding: 0,\n cellSpacing: 0,\n charSet: 0,\n challenge: 0,\n checked: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n cite: 0,\n classID: 0,\n className: 0,\n cols: HAS_POSITIVE_NUMERIC_VALUE,\n colSpan: 0,\n content: 0,\n contentEditable: 0,\n contextMenu: 0,\n controls: HAS_BOOLEAN_VALUE,\n controlsList: 0,\n coords: 0,\n crossOrigin: 0,\n data: 0, // For `<object />` acts as `src`.\n dateTime: 0,\n 'default': HAS_BOOLEAN_VALUE,\n defer: HAS_BOOLEAN_VALUE,\n dir: 0,\n disabled: HAS_BOOLEAN_VALUE,\n download: HAS_OVERLOADED_BOOLEAN_VALUE,\n draggable: 0,\n encType: 0,\n form: 0,\n formAction: 0,\n formEncType: 0,\n formMethod: 0,\n formNoValidate: HAS_BOOLEAN_VALUE,\n formTarget: 0,\n frameBorder: 0,\n headers: 0,\n height: 0,\n hidden: HAS_BOOLEAN_VALUE,\n high: 0,\n href: 0,\n hrefLang: 0,\n htmlFor: 0,\n httpEquiv: 0,\n icon: 0,\n id: 0,\n inputMode: 0,\n integrity: 0,\n is: 0,\n keyParams: 0,\n keyType: 0,\n kind: 0,\n label: 0,\n lang: 0,\n list: 0,\n loop: HAS_BOOLEAN_VALUE,\n low: 0,\n manifest: 0,\n marginHeight: 0,\n marginWidth: 0,\n max: 0,\n maxLength: 0,\n media: 0,\n mediaGroup: 0,\n method: 0,\n min: 0,\n minLength: 0,\n // Caution; `option.selected` is not updated if `select.multiple` is\n // disabled with `removeAttribute`.\n multiple: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n muted: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n name: 0,\n nonce: 0,\n noValidate: HAS_BOOLEAN_VALUE,\n open: HAS_BOOLEAN_VALUE,\n optimum: 0,\n pattern: 0,\n placeholder: 0,\n playsInline: HAS_BOOLEAN_VALUE,\n poster: 0,\n preload: 0,\n profile: 0,\n radioGroup: 0,\n readOnly: HAS_BOOLEAN_VALUE,\n referrerPolicy: 0,\n rel: 0,\n required: HAS_BOOLEAN_VALUE,\n reversed: HAS_BOOLEAN_VALUE,\n role: 0,\n rows: HAS_POSITIVE_NUMERIC_VALUE,\n rowSpan: HAS_NUMERIC_VALUE,\n sandbox: 0,\n scope: 0,\n scoped: HAS_BOOLEAN_VALUE,\n scrolling: 0,\n seamless: HAS_BOOLEAN_VALUE,\n selected: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,\n shape: 0,\n size: HAS_POSITIVE_NUMERIC_VALUE,\n sizes: 0,\n span: HAS_POSITIVE_NUMERIC_VALUE,\n spellCheck: 0,\n src: 0,\n srcDoc: 0,\n srcLang: 0,\n srcSet: 0,\n start: HAS_NUMERIC_VALUE,\n step: 0,\n style: 0,\n summary: 0,\n tabIndex: 0,\n target: 0,\n title: 0,\n // Setting .type throws on non-<input> tags\n type: 0,\n useMap: 0,\n value: 0,\n width: 0,\n wmode: 0,\n wrap: 0,\n\n /**\n * RDFa Properties\n */\n about: 0,\n datatype: 0,\n inlist: 0,\n prefix: 0,\n // property is also supported for OpenGraph in meta tags.\n property: 0,\n resource: 0,\n 'typeof': 0,\n vocab: 0,\n\n /**\n * Non-standard Properties\n */\n // autoCapitalize and autoCorrect are supported in Mobile Safari for\n // keyboard hints.\n autoCapitalize: 0,\n autoCorrect: 0,\n // autoSave allows WebKit/Blink to persist values of input fields on page reloads\n autoSave: 0,\n // color is for Safari mask-icon link\n color: 0,\n // itemProp, itemScope, itemType are for\n // Microdata support. See https://schema.org/docs/gs.html\n itemProp: 0,\n itemScope: HAS_BOOLEAN_VALUE,\n itemType: 0,\n // itemID and itemRef are for Microdata support as well but\n // only specified in the WHATWG spec document. See\n // https://html.spec.whatwg.org/multipage/microdata.html#microdata-dom-api\n itemID: 0,\n itemRef: 0,\n // results show looking glass icon and recent searches on input\n // search fields in WebKit/Blink\n results: 0,\n // IE-only attribute that specifies security restrictions on an iframe\n // as an alternative to the sandbox attribute on IE<10\n security: 0,\n // IE-only attribute that controls focus behavior\n unselectable: 0\n },\n DOMAttributeNames: {\n acceptCharset: 'accept-charset',\n className: 'class',\n htmlFor: 'for',\n httpEquiv: 'http-equiv'\n },\n DOMPropertyNames: {},\n DOMMutationMethods: {\n value: function (node, value) {\n if (value == null) {\n return node.removeAttribute('value');\n }\n\n // Number inputs get special treatment due to some edge cases in\n // Chrome. Let everything else assign the value attribute as normal.\n // https://github.com/facebook/react/issues/7253#issuecomment-236074326\n if (node.type !== 'number' || node.hasAttribute('value') === false) {\n node.setAttribute('value', '' + value);\n } else if (node.validity && !node.validity.badInput && node.ownerDocument.activeElement !== node) {\n // Don't assign an attribute if validation reports bad\n // input. Chrome will clear the value. Additionally, don't\n // operate on inputs that have focus, otherwise Chrome might\n // strip off trailing decimal places and cause the user's\n // cursor position to jump to the beginning of the input.\n //\n // In ReactDOMInput, we have an onBlur event that will trigger\n // this function again when focus is lost.\n node.setAttribute('value', '' + value);\n }\n }\n }\n};\n\nmodule.exports = HTMLDOMPropertyConfig;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/HTMLDOMPropertyConfig.js\n// module id = 177\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/HTMLDOMPropertyConfig.js?"); /***/ }), /* 178 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar ReactReconciler = __webpack_require__(30);\n\nvar instantiateReactComponent = __webpack_require__(109);\nvar KeyEscapeUtils = __webpack_require__(59);\nvar shouldUpdateReactComponent = __webpack_require__(69);\nvar traverseAllChildren = __webpack_require__(112);\nvar warning = __webpack_require__(4);\n\nvar ReactComponentTreeHook;\n\nif (typeof process !== 'undefined' && process.env && process.env.NODE_ENV === 'test') {\n // Temporary hack.\n // Inline requires don't work well with Jest:\n // https://github.com/facebook/react/issues/7240\n // Remove the inline requires when we don't need them anymore:\n // https://github.com/facebook/react/pull/7178\n ReactComponentTreeHook = __webpack_require__(10);\n}\n\nfunction instantiateChild(childInstances, child, name, selfDebugID) {\n // We found a component instance.\n var keyUnique = childInstances[name] === undefined;\n if (process.env.NODE_ENV !== 'production') {\n if (!ReactComponentTreeHook) {\n ReactComponentTreeHook = __webpack_require__(10);\n }\n if (!keyUnique) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'flattenChildren(...): Encountered two children with the same key, ' + '`%s`. Child keys must be unique; when two children share a key, only ' + 'the first child will be used.%s', KeyEscapeUtils.unescape(name), ReactComponentTreeHook.getStackAddendumByID(selfDebugID)) : void 0;\n }\n }\n if (child != null && keyUnique) {\n childInstances[name] = instantiateReactComponent(child, true);\n }\n}\n\n/**\n * ReactChildReconciler provides helpers for initializing or updating a set of\n * children. Its output is suitable for passing it onto ReactMultiChild which\n * does diffed reordering and insertion.\n */\nvar ReactChildReconciler = {\n /**\n * Generates a \"mount image\" for each of the supplied children. In the case\n * of `ReactDOMComponent`, a mount image is a string of markup.\n *\n * @param {?object} nestedChildNodes Nested child maps.\n * @return {?object} A set of child instances.\n * @internal\n */\n instantiateChildren: function (nestedChildNodes, transaction, context, selfDebugID) // 0 in production and for roots\n {\n if (nestedChildNodes == null) {\n return null;\n }\n var childInstances = {};\n\n if (process.env.NODE_ENV !== 'production') {\n traverseAllChildren(nestedChildNodes, function (childInsts, child, name) {\n return instantiateChild(childInsts, child, name, selfDebugID);\n }, childInstances);\n } else {\n traverseAllChildren(nestedChildNodes, instantiateChild, childInstances);\n }\n return childInstances;\n },\n\n /**\n * Updates the rendered children and returns a new set of children.\n *\n * @param {?object} prevChildren Previously initialized set of children.\n * @param {?object} nextChildren Flat child element maps.\n * @param {ReactReconcileTransaction} transaction\n * @param {object} context\n * @return {?object} A new set of child instances.\n * @internal\n */\n updateChildren: function (prevChildren, nextChildren, mountImages, removedNodes, transaction, hostParent, hostContainerInfo, context, selfDebugID) // 0 in production and for roots\n {\n // We currently don't have a way to track moves here but if we use iterators\n // instead of for..in we can zip the iterators and check if an item has\n // moved.\n // TODO: If nothing has changed, return the prevChildren object so that we\n // can quickly bailout if nothing has changed.\n if (!nextChildren && !prevChildren) {\n return;\n }\n var name;\n var prevChild;\n for (name in nextChildren) {\n if (!nextChildren.hasOwnProperty(name)) {\n continue;\n }\n prevChild = prevChildren && prevChildren[name];\n var prevElement = prevChild && prevChild._currentElement;\n var nextElement = nextChildren[name];\n if (prevChild != null && shouldUpdateReactComponent(prevElement, nextElement)) {\n ReactReconciler.receiveComponent(prevChild, nextElement, transaction, context);\n nextChildren[name] = prevChild;\n } else {\n if (prevChild) {\n removedNodes[name] = ReactReconciler.getHostNode(prevChild);\n ReactReconciler.unmountComponent(prevChild, false);\n }\n // The child must be instantiated before it's mounted.\n var nextChildInstance = instantiateReactComponent(nextElement, true);\n nextChildren[name] = nextChildInstance;\n // Creating mount image now ensures refs are resolved in right order\n // (see https://github.com/facebook/react/pull/7101 for explanation).\n var nextChildMountImage = ReactReconciler.mountComponent(nextChildInstance, transaction, hostParent, hostContainerInfo, context, selfDebugID);\n mountImages.push(nextChildMountImage);\n }\n }\n // Unmount children that are no longer present.\n for (name in prevChildren) {\n if (prevChildren.hasOwnProperty(name) && !(nextChildren && nextChildren.hasOwnProperty(name))) {\n prevChild = prevChildren[name];\n removedNodes[name] = ReactReconciler.getHostNode(prevChild);\n ReactReconciler.unmountComponent(prevChild, false);\n }\n }\n },\n\n /**\n * Unmounts all rendered children. This should be used to clean up children\n * when this component is unmounted.\n *\n * @param {?object} renderedChildren Previously initialized set of children.\n * @internal\n */\n unmountChildren: function (renderedChildren, safely) {\n for (var name in renderedChildren) {\n if (renderedChildren.hasOwnProperty(name)) {\n var renderedChild = renderedChildren[name];\n ReactReconciler.unmountComponent(renderedChild, safely);\n }\n }\n }\n};\n\nmodule.exports = ReactChildReconciler;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactChildReconciler.js\n// module id = 178\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactChildReconciler.js?"); /***/ }), /* 179 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar DOMChildrenOperations = __webpack_require__(56);\nvar ReactDOMIDOperations = __webpack_require__(186);\n\n/**\n * Abstracts away all functionality of the reconciler that requires knowledge of\n * the browser context. TODO: These callers should be refactored to avoid the\n * need for this injection.\n */\nvar ReactComponentBrowserEnvironment = {\n processChildrenUpdates: ReactDOMIDOperations.dangerouslyProcessChildrenUpdates,\n\n replaceNodeWithMarkup: DOMChildrenOperations.dangerouslyReplaceNodeWithMarkup\n};\n\nmodule.exports = ReactComponentBrowserEnvironment;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactComponentBrowserEnvironment.js\n// module id = 179\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactComponentBrowserEnvironment.js?"); /***/ }), /* 180 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6),\n _assign = __webpack_require__(8);\n\nvar React = __webpack_require__(31);\nvar ReactComponentEnvironment = __webpack_require__(61);\nvar ReactCurrentOwner = __webpack_require__(17);\nvar ReactErrorUtils = __webpack_require__(62);\nvar ReactInstanceMap = __webpack_require__(37);\nvar ReactInstrumentation = __webpack_require__(15);\nvar ReactNodeTypes = __webpack_require__(101);\nvar ReactReconciler = __webpack_require__(30);\n\nif (process.env.NODE_ENV !== 'production') {\n var checkReactTypeSpec = __webpack_require__(228);\n}\n\nvar emptyObject = __webpack_require__(44);\nvar invariant = __webpack_require__(3);\nvar shallowEqual = __webpack_require__(54);\nvar shouldUpdateReactComponent = __webpack_require__(69);\nvar warning = __webpack_require__(4);\n\nvar CompositeTypes = {\n ImpureClass: 0,\n PureClass: 1,\n StatelessFunctional: 2\n};\n\nfunction StatelessComponent(Component) {}\nStatelessComponent.prototype.render = function () {\n var Component = ReactInstanceMap.get(this)._currentElement.type;\n var element = Component(this.props, this.context, this.updater);\n warnIfInvalidElement(Component, element);\n return element;\n};\n\nfunction warnIfInvalidElement(Component, element) {\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(element === null || element === false || React.isValidElement(element), '%s(...): A valid React element (or null) must be returned. You may have ' + 'returned undefined, an array or some other invalid object.', Component.displayName || Component.name || 'Component') : void 0;\n process.env.NODE_ENV !== 'production' ? warning(!Component.childContextTypes, '%s(...): childContextTypes cannot be defined on a functional component.', Component.displayName || Component.name || 'Component') : void 0;\n }\n}\n\nfunction shouldConstruct(Component) {\n return !!(Component.prototype && Component.prototype.isReactComponent);\n}\n\nfunction isPureComponent(Component) {\n return !!(Component.prototype && Component.prototype.isPureReactComponent);\n}\n\n// Separated into a function to contain deoptimizations caused by try/finally.\nfunction measureLifeCyclePerf(fn, debugID, timerType) {\n if (debugID === 0) {\n // Top-level wrappers (see ReactMount) and empty components (see\n // ReactDOMEmptyComponent) are invisible to hooks and devtools.\n // Both are implementation details that should go away in the future.\n return fn();\n }\n\n ReactInstrumentation.debugTool.onBeginLifeCycleTimer(debugID, timerType);\n try {\n return fn();\n } finally {\n ReactInstrumentation.debugTool.onEndLifeCycleTimer(debugID, timerType);\n }\n}\n\n/**\n * ------------------ The Life-Cycle of a Composite Component ------------------\n *\n * - constructor: Initialization of state. The instance is now retained.\n * - componentWillMount\n * - render\n * - [children's constructors]\n * - [children's componentWillMount and render]\n * - [children's componentDidMount]\n * - componentDidMount\n *\n * Update Phases:\n * - componentWillReceiveProps (only called if parent updated)\n * - shouldComponentUpdate\n * - componentWillUpdate\n * - render\n * - [children's constructors or receive props phases]\n * - componentDidUpdate\n *\n * - componentWillUnmount\n * - [children's componentWillUnmount]\n * - [children destroyed]\n * - (destroyed): The instance is now blank, released by React and ready for GC.\n *\n * -----------------------------------------------------------------------------\n */\n\n/**\n * An incrementing ID assigned to each component when it is mounted. This is\n * used to enforce the order in which `ReactUpdates` updates dirty components.\n *\n * @private\n */\nvar nextMountID = 1;\n\n/**\n * @lends {ReactCompositeComponent.prototype}\n */\nvar ReactCompositeComponent = {\n /**\n * Base constructor for all composite component.\n *\n * @param {ReactElement} element\n * @final\n * @internal\n */\n construct: function (element) {\n this._currentElement = element;\n this._rootNodeID = 0;\n this._compositeType = null;\n this._instance = null;\n this._hostParent = null;\n this._hostContainerInfo = null;\n\n // See ReactUpdateQueue\n this._updateBatchNumber = null;\n this._pendingElement = null;\n this._pendingStateQueue = null;\n this._pendingReplaceState = false;\n this._pendingForceUpdate = false;\n\n this._renderedNodeType = null;\n this._renderedComponent = null;\n this._context = null;\n this._mountOrder = 0;\n this._topLevelWrapper = null;\n\n // See ReactUpdates and ReactUpdateQueue.\n this._pendingCallbacks = null;\n\n // ComponentWillUnmount shall only be called once\n this._calledComponentWillUnmount = false;\n\n if (process.env.NODE_ENV !== 'production') {\n this._warnedAboutRefsInRender = false;\n }\n },\n\n /**\n * Initializes the component, renders markup, and registers event listeners.\n *\n * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n * @param {?object} hostParent\n * @param {?object} hostContainerInfo\n * @param {?object} context\n * @return {?string} Rendered markup to be inserted into the DOM.\n * @final\n * @internal\n */\n mountComponent: function (transaction, hostParent, hostContainerInfo, context) {\n var _this = this;\n\n this._context = context;\n this._mountOrder = nextMountID++;\n this._hostParent = hostParent;\n this._hostContainerInfo = hostContainerInfo;\n\n var publicProps = this._currentElement.props;\n var publicContext = this._processContext(context);\n\n var Component = this._currentElement.type;\n\n var updateQueue = transaction.getUpdateQueue();\n\n // Initialize the public class\n var doConstruct = shouldConstruct(Component);\n var inst = this._constructComponent(doConstruct, publicProps, publicContext, updateQueue);\n var renderedElement;\n\n // Support functional components\n if (!doConstruct && (inst == null || inst.render == null)) {\n renderedElement = inst;\n warnIfInvalidElement(Component, renderedElement);\n !(inst === null || inst === false || React.isValidElement(inst)) ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s(...): A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object.', Component.displayName || Component.name || 'Component') : _prodInvariant('105', Component.displayName || Component.name || 'Component') : void 0;\n inst = new StatelessComponent(Component);\n this._compositeType = CompositeTypes.StatelessFunctional;\n } else {\n if (isPureComponent(Component)) {\n this._compositeType = CompositeTypes.PureClass;\n } else {\n this._compositeType = CompositeTypes.ImpureClass;\n }\n }\n\n if (process.env.NODE_ENV !== 'production') {\n // This will throw later in _renderValidatedComponent, but add an early\n // warning now to help debugging\n if (inst.render == null) {\n process.env.NODE_ENV !== 'production' ? warning(false, '%s(...): No `render` method found on the returned component ' + 'instance: you may have forgotten to define `render`.', Component.displayName || Component.name || 'Component') : void 0;\n }\n\n var propsMutated = inst.props !== publicProps;\n var componentName = Component.displayName || Component.name || 'Component';\n\n process.env.NODE_ENV !== 'production' ? warning(inst.props === undefined || !propsMutated, '%s(...): When calling super() in `%s`, make sure to pass ' + \"up the same props that your component's constructor was passed.\", componentName, componentName) : void 0;\n }\n\n // These should be set up in the constructor, but as a convenience for\n // simpler class abstractions, we set them up after the fact.\n inst.props = publicProps;\n inst.context = publicContext;\n inst.refs = emptyObject;\n inst.updater = updateQueue;\n\n this._instance = inst;\n\n // Store a reference from the instance back to the internal representation\n ReactInstanceMap.set(inst, this);\n\n if (process.env.NODE_ENV !== 'production') {\n // Since plain JS classes are defined without any special initialization\n // logic, we can not catch common errors early. Therefore, we have to\n // catch them here, at initialization time, instead.\n process.env.NODE_ENV !== 'production' ? warning(!inst.getInitialState || inst.getInitialState.isReactClassApproved || inst.state, 'getInitialState was defined on %s, a plain JavaScript class. ' + 'This is only supported for classes created using React.createClass. ' + 'Did you mean to define a state property instead?', this.getName() || 'a component') : void 0;\n process.env.NODE_ENV !== 'production' ? warning(!inst.getDefaultProps || inst.getDefaultProps.isReactClassApproved, 'getDefaultProps was defined on %s, a plain JavaScript class. ' + 'This is only supported for classes created using React.createClass. ' + 'Use a static property to define defaultProps instead.', this.getName() || 'a component') : void 0;\n process.env.NODE_ENV !== 'production' ? warning(!inst.propTypes, 'propTypes was defined as an instance property on %s. Use a static ' + 'property to define propTypes instead.', this.getName() || 'a component') : void 0;\n process.env.NODE_ENV !== 'production' ? warning(!inst.contextTypes, 'contextTypes was defined as an instance property on %s. Use a ' + 'static property to define contextTypes instead.', this.getName() || 'a component') : void 0;\n process.env.NODE_ENV !== 'production' ? warning(typeof inst.componentShouldUpdate !== 'function', '%s has a method called ' + 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' + 'The name is phrased as a question because the function is ' + 'expected to return a value.', this.getName() || 'A component') : void 0;\n process.env.NODE_ENV !== 'production' ? warning(typeof inst.componentDidUnmount !== 'function', '%s has a method called ' + 'componentDidUnmount(). But there is no such lifecycle method. ' + 'Did you mean componentWillUnmount()?', this.getName() || 'A component') : void 0;\n process.env.NODE_ENV !== 'production' ? warning(typeof inst.componentWillRecieveProps !== 'function', '%s has a method called ' + 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?', this.getName() || 'A component') : void 0;\n }\n\n var initialState = inst.state;\n if (initialState === undefined) {\n inst.state = initialState = null;\n }\n !(typeof initialState === 'object' && !Array.isArray(initialState)) ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s.state: must be set to an object or null', this.getName() || 'ReactCompositeComponent') : _prodInvariant('106', this.getName() || 'ReactCompositeComponent') : void 0;\n\n this._pendingStateQueue = null;\n this._pendingReplaceState = false;\n this._pendingForceUpdate = false;\n\n var markup;\n if (inst.unstable_handleError) {\n markup = this.performInitialMountWithErrorHandling(renderedElement, hostParent, hostContainerInfo, transaction, context);\n } else {\n markup = this.performInitialMount(renderedElement, hostParent, hostContainerInfo, transaction, context);\n }\n\n if (inst.componentDidMount) {\n if (process.env.NODE_ENV !== 'production') {\n transaction.getReactMountReady().enqueue(function () {\n measureLifeCyclePerf(function () {\n return inst.componentDidMount();\n }, _this._debugID, 'componentDidMount');\n });\n } else {\n transaction.getReactMountReady().enqueue(inst.componentDidMount, inst);\n }\n }\n\n return markup;\n },\n\n _constructComponent: function (doConstruct, publicProps, publicContext, updateQueue) {\n if (process.env.NODE_ENV !== 'production' && !doConstruct) {\n ReactCurrentOwner.current = this;\n try {\n return this._constructComponentWithoutOwner(doConstruct, publicProps, publicContext, updateQueue);\n } finally {\n ReactCurrentOwner.current = null;\n }\n } else {\n return this._constructComponentWithoutOwner(doConstruct, publicProps, publicContext, updateQueue);\n }\n },\n\n _constructComponentWithoutOwner: function (doConstruct, publicProps, publicContext, updateQueue) {\n var Component = this._currentElement.type;\n\n if (doConstruct) {\n if (process.env.NODE_ENV !== 'production') {\n return measureLifeCyclePerf(function () {\n return new Component(publicProps, publicContext, updateQueue);\n }, this._debugID, 'ctor');\n } else {\n return new Component(publicProps, publicContext, updateQueue);\n }\n }\n\n // This can still be an instance in case of factory components\n // but we'll count this as time spent rendering as the more common case.\n if (process.env.NODE_ENV !== 'production') {\n return measureLifeCyclePerf(function () {\n return Component(publicProps, publicContext, updateQueue);\n }, this._debugID, 'render');\n } else {\n return Component(publicProps, publicContext, updateQueue);\n }\n },\n\n performInitialMountWithErrorHandling: function (renderedElement, hostParent, hostContainerInfo, transaction, context) {\n var markup;\n var checkpoint = transaction.checkpoint();\n try {\n markup = this.performInitialMount(renderedElement, hostParent, hostContainerInfo, transaction, context);\n } catch (e) {\n // Roll back to checkpoint, handle error (which may add items to the transaction), and take a new checkpoint\n transaction.rollback(checkpoint);\n this._instance.unstable_handleError(e);\n if (this._pendingStateQueue) {\n this._instance.state = this._processPendingState(this._instance.props, this._instance.context);\n }\n checkpoint = transaction.checkpoint();\n\n this._renderedComponent.unmountComponent(true);\n transaction.rollback(checkpoint);\n\n // Try again - we've informed the component about the error, so they can render an error message this time.\n // If this throws again, the error will bubble up (and can be caught by a higher error boundary).\n markup = this.performInitialMount(renderedElement, hostParent, hostContainerInfo, transaction, context);\n }\n return markup;\n },\n\n performInitialMount: function (renderedElement, hostParent, hostContainerInfo, transaction, context) {\n var inst = this._instance;\n\n var debugID = 0;\n if (process.env.NODE_ENV !== 'production') {\n debugID = this._debugID;\n }\n\n if (inst.componentWillMount) {\n if (process.env.NODE_ENV !== 'production') {\n measureLifeCyclePerf(function () {\n return inst.componentWillMount();\n }, debugID, 'componentWillMount');\n } else {\n inst.componentWillMount();\n }\n // When mounting, calls to `setState` by `componentWillMount` will set\n // `this._pendingStateQueue` without triggering a re-render.\n if (this._pendingStateQueue) {\n inst.state = this._processPendingState(inst.props, inst.context);\n }\n }\n\n // If not a stateless component, we now render\n if (renderedElement === undefined) {\n renderedElement = this._renderValidatedComponent();\n }\n\n var nodeType = ReactNodeTypes.getType(renderedElement);\n this._renderedNodeType = nodeType;\n var child = this._instantiateReactComponent(renderedElement, nodeType !== ReactNodeTypes.EMPTY /* shouldHaveDebugID */\n );\n this._renderedComponent = child;\n\n var markup = ReactReconciler.mountComponent(child, transaction, hostParent, hostContainerInfo, this._processChildContext(context), debugID);\n\n if (process.env.NODE_ENV !== 'production') {\n if (debugID !== 0) {\n var childDebugIDs = child._debugID !== 0 ? [child._debugID] : [];\n ReactInstrumentation.debugTool.onSetChildren(debugID, childDebugIDs);\n }\n }\n\n return markup;\n },\n\n getHostNode: function () {\n return ReactReconciler.getHostNode(this._renderedComponent);\n },\n\n /**\n * Releases any resources allocated by `mountComponent`.\n *\n * @final\n * @internal\n */\n unmountComponent: function (safely) {\n if (!this._renderedComponent) {\n return;\n }\n\n var inst = this._instance;\n\n if (inst.componentWillUnmount && !inst._calledComponentWillUnmount) {\n inst._calledComponentWillUnmount = true;\n\n if (safely) {\n var name = this.getName() + '.componentWillUnmount()';\n ReactErrorUtils.invokeGuardedCallback(name, inst.componentWillUnmount.bind(inst));\n } else {\n if (process.env.NODE_ENV !== 'production') {\n measureLifeCyclePerf(function () {\n return inst.componentWillUnmount();\n }, this._debugID, 'componentWillUnmount');\n } else {\n inst.componentWillUnmount();\n }\n }\n }\n\n if (this._renderedComponent) {\n ReactReconciler.unmountComponent(this._renderedComponent, safely);\n this._renderedNodeType = null;\n this._renderedComponent = null;\n this._instance = null;\n }\n\n // Reset pending fields\n // Even if this component is scheduled for another update in ReactUpdates,\n // it would still be ignored because these fields are reset.\n this._pendingStateQueue = null;\n this._pendingReplaceState = false;\n this._pendingForceUpdate = false;\n this._pendingCallbacks = null;\n this._pendingElement = null;\n\n // These fields do not really need to be reset since this object is no\n // longer accessible.\n this._context = null;\n this._rootNodeID = 0;\n this._topLevelWrapper = null;\n\n // Delete the reference from the instance to this internal representation\n // which allow the internals to be properly cleaned up even if the user\n // leaks a reference to the public instance.\n ReactInstanceMap.remove(inst);\n\n // Some existing components rely on inst.props even after they've been\n // destroyed (in event handlers).\n // TODO: inst.props = null;\n // TODO: inst.state = null;\n // TODO: inst.context = null;\n },\n\n /**\n * Filters the context object to only contain keys specified in\n * `contextTypes`\n *\n * @param {object} context\n * @return {?object}\n * @private\n */\n _maskContext: function (context) {\n var Component = this._currentElement.type;\n var contextTypes = Component.contextTypes;\n if (!contextTypes) {\n return emptyObject;\n }\n var maskedContext = {};\n for (var contextName in contextTypes) {\n maskedContext[contextName] = context[contextName];\n }\n return maskedContext;\n },\n\n /**\n * Filters the context object to only contain keys specified in\n * `contextTypes`, and asserts that they are valid.\n *\n * @param {object} context\n * @return {?object}\n * @private\n */\n _processContext: function (context) {\n var maskedContext = this._maskContext(context);\n if (process.env.NODE_ENV !== 'production') {\n var Component = this._currentElement.type;\n if (Component.contextTypes) {\n this._checkContextTypes(Component.contextTypes, maskedContext, 'context');\n }\n }\n return maskedContext;\n },\n\n /**\n * @param {object} currentContext\n * @return {object}\n * @private\n */\n _processChildContext: function (currentContext) {\n var Component = this._currentElement.type;\n var inst = this._instance;\n var childContext;\n\n if (inst.getChildContext) {\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onBeginProcessingChildContext();\n try {\n childContext = inst.getChildContext();\n } finally {\n ReactInstrumentation.debugTool.onEndProcessingChildContext();\n }\n } else {\n childContext = inst.getChildContext();\n }\n }\n\n if (childContext) {\n !(typeof Component.childContextTypes === 'object') ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().', this.getName() || 'ReactCompositeComponent') : _prodInvariant('107', this.getName() || 'ReactCompositeComponent') : void 0;\n if (process.env.NODE_ENV !== 'production') {\n this._checkContextTypes(Component.childContextTypes, childContext, 'child context');\n }\n for (var name in childContext) {\n !(name in Component.childContextTypes) ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s.getChildContext(): key \"%s\" is not defined in childContextTypes.', this.getName() || 'ReactCompositeComponent', name) : _prodInvariant('108', this.getName() || 'ReactCompositeComponent', name) : void 0;\n }\n return _assign({}, currentContext, childContext);\n }\n return currentContext;\n },\n\n /**\n * Assert that the context types are valid\n *\n * @param {object} typeSpecs Map of context field to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @private\n */\n _checkContextTypes: function (typeSpecs, values, location) {\n if (process.env.NODE_ENV !== 'production') {\n checkReactTypeSpec(typeSpecs, values, location, this.getName(), null, this._debugID);\n }\n },\n\n receiveComponent: function (nextElement, transaction, nextContext) {\n var prevElement = this._currentElement;\n var prevContext = this._context;\n\n this._pendingElement = null;\n\n this.updateComponent(transaction, prevElement, nextElement, prevContext, nextContext);\n },\n\n /**\n * If any of `_pendingElement`, `_pendingStateQueue`, or `_pendingForceUpdate`\n * is set, update the component.\n *\n * @param {ReactReconcileTransaction} transaction\n * @internal\n */\n performUpdateIfNecessary: function (transaction) {\n if (this._pendingElement != null) {\n ReactReconciler.receiveComponent(this, this._pendingElement, transaction, this._context);\n } else if (this._pendingStateQueue !== null || this._pendingForceUpdate) {\n this.updateComponent(transaction, this._currentElement, this._currentElement, this._context, this._context);\n } else {\n this._updateBatchNumber = null;\n }\n },\n\n /**\n * Perform an update to a mounted component. The componentWillReceiveProps and\n * shouldComponentUpdate methods are called, then (assuming the update isn't\n * skipped) the remaining update lifecycle methods are called and the DOM\n * representation is updated.\n *\n * By default, this implements React's rendering and reconciliation algorithm.\n * Sophisticated clients may wish to override this.\n *\n * @param {ReactReconcileTransaction} transaction\n * @param {ReactElement} prevParentElement\n * @param {ReactElement} nextParentElement\n * @internal\n * @overridable\n */\n updateComponent: function (transaction, prevParentElement, nextParentElement, prevUnmaskedContext, nextUnmaskedContext) {\n var inst = this._instance;\n !(inst != null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Attempted to update component `%s` that has already been unmounted (or failed to mount).', this.getName() || 'ReactCompositeComponent') : _prodInvariant('136', this.getName() || 'ReactCompositeComponent') : void 0;\n\n var willReceive = false;\n var nextContext;\n\n // Determine if the context has changed or not\n if (this._context === nextUnmaskedContext) {\n nextContext = inst.context;\n } else {\n nextContext = this._processContext(nextUnmaskedContext);\n willReceive = true;\n }\n\n var prevProps = prevParentElement.props;\n var nextProps = nextParentElement.props;\n\n // Not a simple state update but a props update\n if (prevParentElement !== nextParentElement) {\n willReceive = true;\n }\n\n // An update here will schedule an update but immediately set\n // _pendingStateQueue which will ensure that any state updates gets\n // immediately reconciled instead of waiting for the next batch.\n if (willReceive && inst.componentWillReceiveProps) {\n if (process.env.NODE_ENV !== 'production') {\n measureLifeCyclePerf(function () {\n return inst.componentWillReceiveProps(nextProps, nextContext);\n }, this._debugID, 'componentWillReceiveProps');\n } else {\n inst.componentWillReceiveProps(nextProps, nextContext);\n }\n }\n\n var nextState = this._processPendingState(nextProps, nextContext);\n var shouldUpdate = true;\n\n if (!this._pendingForceUpdate) {\n if (inst.shouldComponentUpdate) {\n if (process.env.NODE_ENV !== 'production') {\n shouldUpdate = measureLifeCyclePerf(function () {\n return inst.shouldComponentUpdate(nextProps, nextState, nextContext);\n }, this._debugID, 'shouldComponentUpdate');\n } else {\n shouldUpdate = inst.shouldComponentUpdate(nextProps, nextState, nextContext);\n }\n } else {\n if (this._compositeType === CompositeTypes.PureClass) {\n shouldUpdate = !shallowEqual(prevProps, nextProps) || !shallowEqual(inst.state, nextState);\n }\n }\n }\n\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(shouldUpdate !== undefined, '%s.shouldComponentUpdate(): Returned undefined instead of a ' + 'boolean value. Make sure to return true or false.', this.getName() || 'ReactCompositeComponent') : void 0;\n }\n\n this._updateBatchNumber = null;\n if (shouldUpdate) {\n this._pendingForceUpdate = false;\n // Will set `this.props`, `this.state` and `this.context`.\n this._performComponentUpdate(nextParentElement, nextProps, nextState, nextContext, transaction, nextUnmaskedContext);\n } else {\n // If it's determined that a component should not update, we still want\n // to set props and state but we shortcut the rest of the update.\n this._currentElement = nextParentElement;\n this._context = nextUnmaskedContext;\n inst.props = nextProps;\n inst.state = nextState;\n inst.context = nextContext;\n }\n },\n\n _processPendingState: function (props, context) {\n var inst = this._instance;\n var queue = this._pendingStateQueue;\n var replace = this._pendingReplaceState;\n this._pendingReplaceState = false;\n this._pendingStateQueue = null;\n\n if (!queue) {\n return inst.state;\n }\n\n if (replace && queue.length === 1) {\n return queue[0];\n }\n\n var nextState = _assign({}, replace ? queue[0] : inst.state);\n for (var i = replace ? 1 : 0; i < queue.length; i++) {\n var partial = queue[i];\n _assign(nextState, typeof partial === 'function' ? partial.call(inst, nextState, props, context) : partial);\n }\n\n return nextState;\n },\n\n /**\n * Merges new props and state, notifies delegate methods of update and\n * performs update.\n *\n * @param {ReactElement} nextElement Next element\n * @param {object} nextProps Next public object to set as properties.\n * @param {?object} nextState Next object to set as state.\n * @param {?object} nextContext Next public object to set as context.\n * @param {ReactReconcileTransaction} transaction\n * @param {?object} unmaskedContext\n * @private\n */\n _performComponentUpdate: function (nextElement, nextProps, nextState, nextContext, transaction, unmaskedContext) {\n var _this2 = this;\n\n var inst = this._instance;\n\n var hasComponentDidUpdate = Boolean(inst.componentDidUpdate);\n var prevProps;\n var prevState;\n var prevContext;\n if (hasComponentDidUpdate) {\n prevProps = inst.props;\n prevState = inst.state;\n prevContext = inst.context;\n }\n\n if (inst.componentWillUpdate) {\n if (process.env.NODE_ENV !== 'production') {\n measureLifeCyclePerf(function () {\n return inst.componentWillUpdate(nextProps, nextState, nextContext);\n }, this._debugID, 'componentWillUpdate');\n } else {\n inst.componentWillUpdate(nextProps, nextState, nextContext);\n }\n }\n\n this._currentElement = nextElement;\n this._context = unmaskedContext;\n inst.props = nextProps;\n inst.state = nextState;\n inst.context = nextContext;\n\n this._updateRenderedComponent(transaction, unmaskedContext);\n\n if (hasComponentDidUpdate) {\n if (process.env.NODE_ENV !== 'production') {\n transaction.getReactMountReady().enqueue(function () {\n measureLifeCyclePerf(inst.componentDidUpdate.bind(inst, prevProps, prevState, prevContext), _this2._debugID, 'componentDidUpdate');\n });\n } else {\n transaction.getReactMountReady().enqueue(inst.componentDidUpdate.bind(inst, prevProps, prevState, prevContext), inst);\n }\n }\n },\n\n /**\n * Call the component's `render` method and update the DOM accordingly.\n *\n * @param {ReactReconcileTransaction} transaction\n * @internal\n */\n _updateRenderedComponent: function (transaction, context) {\n var prevComponentInstance = this._renderedComponent;\n var prevRenderedElement = prevComponentInstance._currentElement;\n var nextRenderedElement = this._renderValidatedComponent();\n\n var debugID = 0;\n if (process.env.NODE_ENV !== 'production') {\n debugID = this._debugID;\n }\n\n if (shouldUpdateReactComponent(prevRenderedElement, nextRenderedElement)) {\n ReactReconciler.receiveComponent(prevComponentInstance, nextRenderedElement, transaction, this._processChildContext(context));\n } else {\n var oldHostNode = ReactReconciler.getHostNode(prevComponentInstance);\n ReactReconciler.unmountComponent(prevComponentInstance, false);\n\n var nodeType = ReactNodeTypes.getType(nextRenderedElement);\n this._renderedNodeType = nodeType;\n var child = this._instantiateReactComponent(nextRenderedElement, nodeType !== ReactNodeTypes.EMPTY /* shouldHaveDebugID */\n );\n this._renderedComponent = child;\n\n var nextMarkup = ReactReconciler.mountComponent(child, transaction, this._hostParent, this._hostContainerInfo, this._processChildContext(context), debugID);\n\n if (process.env.NODE_ENV !== 'production') {\n if (debugID !== 0) {\n var childDebugIDs = child._debugID !== 0 ? [child._debugID] : [];\n ReactInstrumentation.debugTool.onSetChildren(debugID, childDebugIDs);\n }\n }\n\n this._replaceNodeWithMarkup(oldHostNode, nextMarkup, prevComponentInstance);\n }\n },\n\n /**\n * Overridden in shallow rendering.\n *\n * @protected\n */\n _replaceNodeWithMarkup: function (oldHostNode, nextMarkup, prevInstance) {\n ReactComponentEnvironment.replaceNodeWithMarkup(oldHostNode, nextMarkup, prevInstance);\n },\n\n /**\n * @protected\n */\n _renderValidatedComponentWithoutOwnerOrContext: function () {\n var inst = this._instance;\n var renderedElement;\n\n if (process.env.NODE_ENV !== 'production') {\n renderedElement = measureLifeCyclePerf(function () {\n return inst.render();\n }, this._debugID, 'render');\n } else {\n renderedElement = inst.render();\n }\n\n if (process.env.NODE_ENV !== 'production') {\n // We allow auto-mocks to proceed as if they're returning null.\n if (renderedElement === undefined && inst.render._isMockFunction) {\n // This is probably bad practice. Consider warning here and\n // deprecating this convenience.\n renderedElement = null;\n }\n }\n\n return renderedElement;\n },\n\n /**\n * @private\n */\n _renderValidatedComponent: function () {\n var renderedElement;\n if (process.env.NODE_ENV !== 'production' || this._compositeType !== CompositeTypes.StatelessFunctional) {\n ReactCurrentOwner.current = this;\n try {\n renderedElement = this._renderValidatedComponentWithoutOwnerOrContext();\n } finally {\n ReactCurrentOwner.current = null;\n }\n } else {\n renderedElement = this._renderValidatedComponentWithoutOwnerOrContext();\n }\n !(\n // TODO: An `isValidNode` function would probably be more appropriate\n renderedElement === null || renderedElement === false || React.isValidElement(renderedElement)) ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s.render(): A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object.', this.getName() || 'ReactCompositeComponent') : _prodInvariant('109', this.getName() || 'ReactCompositeComponent') : void 0;\n\n return renderedElement;\n },\n\n /**\n * Lazily allocates the refs object and stores `component` as `ref`.\n *\n * @param {string} ref Reference name.\n * @param {component} component Component to store as `ref`.\n * @final\n * @private\n */\n attachRef: function (ref, component) {\n var inst = this.getPublicInstance();\n !(inst != null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Stateless function components cannot have refs.') : _prodInvariant('110') : void 0;\n var publicComponentInstance = component.getPublicInstance();\n if (process.env.NODE_ENV !== 'production') {\n var componentName = component && component.getName ? component.getName() : 'a component';\n process.env.NODE_ENV !== 'production' ? warning(publicComponentInstance != null || component._compositeType !== CompositeTypes.StatelessFunctional, 'Stateless function components cannot be given refs ' + '(See ref \"%s\" in %s created by %s). ' + 'Attempts to access this ref will fail.', ref, componentName, this.getName()) : void 0;\n }\n var refs = inst.refs === emptyObject ? inst.refs = {} : inst.refs;\n refs[ref] = publicComponentInstance;\n },\n\n /**\n * Detaches a reference name.\n *\n * @param {string} ref Name to dereference.\n * @final\n * @private\n */\n detachRef: function (ref) {\n var refs = this.getPublicInstance().refs;\n delete refs[ref];\n },\n\n /**\n * Get a text description of the component that can be used to identify it\n * in error messages.\n * @return {string} The name or null.\n * @internal\n */\n getName: function () {\n var type = this._currentElement.type;\n var constructor = this._instance && this._instance.constructor;\n return type.displayName || constructor && constructor.displayName || type.name || constructor && constructor.name || null;\n },\n\n /**\n * Get the publicly accessible representation of this component - i.e. what\n * is exposed by refs and returned by render. Can be null for stateless\n * components.\n *\n * @return {ReactComponent} the public component instance.\n * @internal\n */\n getPublicInstance: function () {\n var inst = this._instance;\n if (this._compositeType === CompositeTypes.StatelessFunctional) {\n return null;\n }\n return inst;\n },\n\n // Stub\n _instantiateReactComponent: null\n};\n\nmodule.exports = ReactCompositeComponent;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactCompositeComponent.js\n// module id = 180\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactCompositeComponent.js?"); /***/ }), /* 181 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n/* globals __REACT_DEVTOOLS_GLOBAL_HOOK__*/\n\n'use strict';\n\nvar ReactDOMComponentTree = __webpack_require__(7);\nvar ReactDefaultInjection = __webpack_require__(198);\nvar ReactMount = __webpack_require__(100);\nvar ReactReconciler = __webpack_require__(30);\nvar ReactUpdates = __webpack_require__(16);\nvar ReactVersion = __webpack_require__(213);\n\nvar findDOMNode = __webpack_require__(230);\nvar getHostComponentFromComposite = __webpack_require__(106);\nvar renderSubtreeIntoContainer = __webpack_require__(237);\nvar warning = __webpack_require__(4);\n\nReactDefaultInjection.inject();\n\nvar ReactDOM = {\n findDOMNode: findDOMNode,\n render: ReactMount.render,\n unmountComponentAtNode: ReactMount.unmountComponentAtNode,\n version: ReactVersion,\n\n /* eslint-disable camelcase */\n unstable_batchedUpdates: ReactUpdates.batchedUpdates,\n unstable_renderSubtreeIntoContainer: renderSubtreeIntoContainer\n /* eslint-enable camelcase */\n};\n\n// Inject the runtime into a devtools global hook regardless of browser.\n// Allows for debugging when the hook is injected on the page.\nif (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject === 'function') {\n __REACT_DEVTOOLS_GLOBAL_HOOK__.inject({\n ComponentTree: {\n getClosestInstanceFromNode: ReactDOMComponentTree.getClosestInstanceFromNode,\n getNodeFromInstance: function (inst) {\n // inst is an internal instance (but could be a composite)\n if (inst._renderedComponent) {\n inst = getHostComponentFromComposite(inst);\n }\n if (inst) {\n return ReactDOMComponentTree.getNodeFromInstance(inst);\n } else {\n return null;\n }\n }\n },\n Mount: ReactMount,\n Reconciler: ReactReconciler\n });\n}\n\nif (process.env.NODE_ENV !== 'production') {\n var ExecutionEnvironment = __webpack_require__(9);\n if (ExecutionEnvironment.canUseDOM && window.top === window.self) {\n // First check if devtools is not installed\n if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined') {\n // If we're in Chrome or Firefox, provide a download link if not installed.\n if (navigator.userAgent.indexOf('Chrome') > -1 && navigator.userAgent.indexOf('Edge') === -1 || navigator.userAgent.indexOf('Firefox') > -1) {\n // Firefox does not have the issue with devtools loaded over file://\n var showFileUrlMessage = window.location.protocol.indexOf('http') === -1 && navigator.userAgent.indexOf('Firefox') === -1;\n console.debug('Download the React DevTools ' + (showFileUrlMessage ? 'and use an HTTP server (instead of a file: URL) ' : '') + 'for a better development experience: ' + 'https://fb.me/react-devtools');\n }\n }\n\n var testFunc = function testFn() {};\n process.env.NODE_ENV !== 'production' ? warning((testFunc.name || testFunc.toString()).indexOf('testFn') !== -1, \"It looks like you're using a minified copy of the development build \" + 'of React. When deploying React apps to production, make sure to use ' + 'the production build which skips development warnings and is faster. ' + 'See https://fb.me/react-minification for more details.') : void 0;\n\n // If we're in IE8, check to see if we are in compatibility mode and provide\n // information on preventing compatibility mode\n var ieCompatibilityMode = document.documentMode && document.documentMode < 8;\n\n process.env.NODE_ENV !== 'production' ? warning(!ieCompatibilityMode, 'Internet Explorer is running in compatibility mode; please add the ' + 'following tag to your HTML to prevent this from happening: ' + '<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />') : void 0;\n\n var expectedFeatures = [\n // shims\n Array.isArray, Array.prototype.every, Array.prototype.forEach, Array.prototype.indexOf, Array.prototype.map, Date.now, Function.prototype.bind, Object.keys, String.prototype.trim];\n\n for (var i = 0; i < expectedFeatures.length; i++) {\n if (!expectedFeatures[i]) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'One or more ES5 shims expected by React are not available: ' + 'https://fb.me/react-warning-polyfills') : void 0;\n break;\n }\n }\n }\n}\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactInstrumentation = __webpack_require__(15);\n var ReactDOMUnknownPropertyHook = __webpack_require__(195);\n var ReactDOMNullInputValuePropHook = __webpack_require__(189);\n var ReactDOMInvalidARIAHook = __webpack_require__(188);\n\n ReactInstrumentation.debugTool.addHook(ReactDOMUnknownPropertyHook);\n ReactInstrumentation.debugTool.addHook(ReactDOMNullInputValuePropHook);\n ReactInstrumentation.debugTool.addHook(ReactDOMInvalidARIAHook);\n}\n\nmodule.exports = ReactDOM;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDOM.js\n// module id = 181\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactDOM.js?"); /***/ }), /* 182 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n/* global hasOwnProperty:true */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6),\n _assign = __webpack_require__(8);\n\nvar AutoFocusUtils = __webpack_require__(169);\nvar CSSPropertyOperations = __webpack_require__(171);\nvar DOMLazyTree = __webpack_require__(29);\nvar DOMNamespaces = __webpack_require__(57);\nvar DOMProperty = __webpack_require__(23);\nvar DOMPropertyOperations = __webpack_require__(93);\nvar EventPluginHub = __webpack_require__(35);\nvar EventPluginRegistry = __webpack_require__(45);\nvar ReactBrowserEventEmitter = __webpack_require__(46);\nvar ReactDOMComponentFlags = __webpack_require__(94);\nvar ReactDOMComponentTree = __webpack_require__(7);\nvar ReactDOMInput = __webpack_require__(187);\nvar ReactDOMOption = __webpack_require__(190);\nvar ReactDOMSelect = __webpack_require__(95);\nvar ReactDOMTextarea = __webpack_require__(193);\nvar ReactInstrumentation = __webpack_require__(15);\nvar ReactMultiChild = __webpack_require__(206);\nvar ReactServerRenderingTransaction = __webpack_require__(211);\n\nvar emptyFunction = __webpack_require__(14);\nvar escapeTextContentForBrowser = __webpack_require__(49);\nvar invariant = __webpack_require__(3);\nvar isEventSupported = __webpack_require__(68);\nvar shallowEqual = __webpack_require__(54);\nvar inputValueTracking = __webpack_require__(108);\nvar validateDOMNesting = __webpack_require__(70);\nvar warning = __webpack_require__(4);\n\nvar Flags = ReactDOMComponentFlags;\nvar deleteListener = EventPluginHub.deleteListener;\nvar getNode = ReactDOMComponentTree.getNodeFromInstance;\nvar listenTo = ReactBrowserEventEmitter.listenTo;\nvar registrationNameModules = EventPluginRegistry.registrationNameModules;\n\n// For quickly matching children type, to test if can be treated as content.\nvar CONTENT_TYPES = { string: true, number: true };\n\nvar STYLE = 'style';\nvar HTML = '__html';\nvar RESERVED_PROPS = {\n children: null,\n dangerouslySetInnerHTML: null,\n suppressContentEditableWarning: null\n};\n\n// Node type for document fragments (Node.DOCUMENT_FRAGMENT_NODE).\nvar DOC_FRAGMENT_TYPE = 11;\n\nfunction getDeclarationErrorAddendum(internalInstance) {\n if (internalInstance) {\n var owner = internalInstance._currentElement._owner || null;\n if (owner) {\n var name = owner.getName();\n if (name) {\n return ' This DOM node was rendered by `' + name + '`.';\n }\n }\n }\n return '';\n}\n\nfunction friendlyStringify(obj) {\n if (typeof obj === 'object') {\n if (Array.isArray(obj)) {\n return '[' + obj.map(friendlyStringify).join(', ') + ']';\n } else {\n var pairs = [];\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n var keyEscaped = /^[a-z$_][\\w$_]*$/i.test(key) ? key : JSON.stringify(key);\n pairs.push(keyEscaped + ': ' + friendlyStringify(obj[key]));\n }\n }\n return '{' + pairs.join(', ') + '}';\n }\n } else if (typeof obj === 'string') {\n return JSON.stringify(obj);\n } else if (typeof obj === 'function') {\n return '[function object]';\n }\n // Differs from JSON.stringify in that undefined because undefined and that\n // inf and nan don't become null\n return String(obj);\n}\n\nvar styleMutationWarning = {};\n\nfunction checkAndWarnForMutatedStyle(style1, style2, component) {\n if (style1 == null || style2 == null) {\n return;\n }\n if (shallowEqual(style1, style2)) {\n return;\n }\n\n var componentName = component._tag;\n var owner = component._currentElement._owner;\n var ownerName;\n if (owner) {\n ownerName = owner.getName();\n }\n\n var hash = ownerName + '|' + componentName;\n\n if (styleMutationWarning.hasOwnProperty(hash)) {\n return;\n }\n\n styleMutationWarning[hash] = true;\n\n process.env.NODE_ENV !== 'production' ? warning(false, '`%s` was passed a style object that has previously been mutated. ' + 'Mutating `style` is deprecated. Consider cloning it beforehand. Check ' + 'the `render` %s. Previous style: %s. Mutated style: %s.', componentName, owner ? 'of `' + ownerName + '`' : 'using <' + componentName + '>', friendlyStringify(style1), friendlyStringify(style2)) : void 0;\n}\n\n/**\n * @param {object} component\n * @param {?object} props\n */\nfunction assertValidProps(component, props) {\n if (!props) {\n return;\n }\n // Note the use of `==` which checks for null or undefined.\n if (voidElementTags[component._tag]) {\n !(props.children == null && props.dangerouslySetInnerHTML == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.%s', component._tag, component._currentElement._owner ? ' Check the render method of ' + component._currentElement._owner.getName() + '.' : '') : _prodInvariant('137', component._tag, component._currentElement._owner ? ' Check the render method of ' + component._currentElement._owner.getName() + '.' : '') : void 0;\n }\n if (props.dangerouslySetInnerHTML != null) {\n !(props.children == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Can only set one of `children` or `props.dangerouslySetInnerHTML`.') : _prodInvariant('60') : void 0;\n !(typeof props.dangerouslySetInnerHTML === 'object' && HTML in props.dangerouslySetInnerHTML) ? process.env.NODE_ENV !== 'production' ? invariant(false, '`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information.') : _prodInvariant('61') : void 0;\n }\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(props.innerHTML == null, 'Directly setting property `innerHTML` is not permitted. ' + 'For more information, lookup documentation on `dangerouslySetInnerHTML`.') : void 0;\n process.env.NODE_ENV !== 'production' ? warning(props.suppressContentEditableWarning || !props.contentEditable || props.children == null, 'A component is `contentEditable` and contains `children` managed by ' + 'React. It is now your responsibility to guarantee that none of ' + 'those nodes are unexpectedly modified or duplicated. This is ' + 'probably not intentional.') : void 0;\n process.env.NODE_ENV !== 'production' ? warning(props.onFocusIn == null && props.onFocusOut == null, 'React uses onFocus and onBlur instead of onFocusIn and onFocusOut. ' + 'All React events are normalized to bubble, so onFocusIn and onFocusOut ' + 'are not needed/supported by React.') : void 0;\n }\n !(props.style == null || typeof props.style === 'object') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + \\'em\\'}} when using JSX.%s', getDeclarationErrorAddendum(component)) : _prodInvariant('62', getDeclarationErrorAddendum(component)) : void 0;\n}\n\nfunction enqueuePutListener(inst, registrationName, listener, transaction) {\n if (transaction instanceof ReactServerRenderingTransaction) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n // IE8 has no API for event capturing and the `onScroll` event doesn't\n // bubble.\n process.env.NODE_ENV !== 'production' ? warning(registrationName !== 'onScroll' || isEventSupported('scroll', true), \"This browser doesn't support the `onScroll` event\") : void 0;\n }\n var containerInfo = inst._hostContainerInfo;\n var isDocumentFragment = containerInfo._node && containerInfo._node.nodeType === DOC_FRAGMENT_TYPE;\n var doc = isDocumentFragment ? containerInfo._node : containerInfo._ownerDocument;\n listenTo(registrationName, doc);\n transaction.getReactMountReady().enqueue(putListener, {\n inst: inst,\n registrationName: registrationName,\n listener: listener\n });\n}\n\nfunction putListener() {\n var listenerToPut = this;\n EventPluginHub.putListener(listenerToPut.inst, listenerToPut.registrationName, listenerToPut.listener);\n}\n\nfunction inputPostMount() {\n var inst = this;\n ReactDOMInput.postMountWrapper(inst);\n}\n\nfunction textareaPostMount() {\n var inst = this;\n ReactDOMTextarea.postMountWrapper(inst);\n}\n\nfunction optionPostMount() {\n var inst = this;\n ReactDOMOption.postMountWrapper(inst);\n}\n\nvar setAndValidateContentChildDev = emptyFunction;\nif (process.env.NODE_ENV !== 'production') {\n setAndValidateContentChildDev = function (content) {\n var hasExistingContent = this._contentDebugID != null;\n var debugID = this._debugID;\n // This ID represents the inlined child that has no backing instance:\n var contentDebugID = -debugID;\n\n if (content == null) {\n if (hasExistingContent) {\n ReactInstrumentation.debugTool.onUnmountComponent(this._contentDebugID);\n }\n this._contentDebugID = null;\n return;\n }\n\n validateDOMNesting(null, String(content), this, this._ancestorInfo);\n this._contentDebugID = contentDebugID;\n if (hasExistingContent) {\n ReactInstrumentation.debugTool.onBeforeUpdateComponent(contentDebugID, content);\n ReactInstrumentation.debugTool.onUpdateComponent(contentDebugID);\n } else {\n ReactInstrumentation.debugTool.onBeforeMountComponent(contentDebugID, content, debugID);\n ReactInstrumentation.debugTool.onMountComponent(contentDebugID);\n ReactInstrumentation.debugTool.onSetChildren(debugID, [contentDebugID]);\n }\n };\n}\n\n// There are so many media events, it makes sense to just\n// maintain a list rather than create a `trapBubbledEvent` for each\nvar mediaEvents = {\n topAbort: 'abort',\n topCanPlay: 'canplay',\n topCanPlayThrough: 'canplaythrough',\n topDurationChange: 'durationchange',\n topEmptied: 'emptied',\n topEncrypted: 'encrypted',\n topEnded: 'ended',\n topError: 'error',\n topLoadedData: 'loadeddata',\n topLoadedMetadata: 'loadedmetadata',\n topLoadStart: 'loadstart',\n topPause: 'pause',\n topPlay: 'play',\n topPlaying: 'playing',\n topProgress: 'progress',\n topRateChange: 'ratechange',\n topSeeked: 'seeked',\n topSeeking: 'seeking',\n topStalled: 'stalled',\n topSuspend: 'suspend',\n topTimeUpdate: 'timeupdate',\n topVolumeChange: 'volumechange',\n topWaiting: 'waiting'\n};\n\nfunction trackInputValue() {\n inputValueTracking.track(this);\n}\n\nfunction trapBubbledEventsLocal() {\n var inst = this;\n // If a component renders to null or if another component fatals and causes\n // the state of the tree to be corrupted, `node` here can be null.\n !inst._rootNodeID ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Must be mounted to trap events') : _prodInvariant('63') : void 0;\n var node = getNode(inst);\n !node ? process.env.NODE_ENV !== 'production' ? invariant(false, 'trapBubbledEvent(...): Requires node to be rendered.') : _prodInvariant('64') : void 0;\n\n switch (inst._tag) {\n case 'iframe':\n case 'object':\n inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent('topLoad', 'load', node)];\n break;\n case 'video':\n case 'audio':\n inst._wrapperState.listeners = [];\n // Create listener for each media event\n for (var event in mediaEvents) {\n if (mediaEvents.hasOwnProperty(event)) {\n inst._wrapperState.listeners.push(ReactBrowserEventEmitter.trapBubbledEvent(event, mediaEvents[event], node));\n }\n }\n break;\n case 'source':\n inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent('topError', 'error', node)];\n break;\n case 'img':\n inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent('topError', 'error', node), ReactBrowserEventEmitter.trapBubbledEvent('topLoad', 'load', node)];\n break;\n case 'form':\n inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent('topReset', 'reset', node), ReactBrowserEventEmitter.trapBubbledEvent('topSubmit', 'submit', node)];\n break;\n case 'input':\n case 'select':\n case 'textarea':\n inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent('topInvalid', 'invalid', node)];\n break;\n }\n}\n\nfunction postUpdateSelectWrapper() {\n ReactDOMSelect.postUpdateWrapper(this);\n}\n\n// For HTML, certain tags should omit their close tag. We keep a whitelist for\n// those special-case tags.\n\nvar omittedCloseTags = {\n area: true,\n base: true,\n br: true,\n col: true,\n embed: true,\n hr: true,\n img: true,\n input: true,\n keygen: true,\n link: true,\n meta: true,\n param: true,\n source: true,\n track: true,\n wbr: true\n // NOTE: menuitem's close tag should be omitted, but that causes problems.\n};\n\nvar newlineEatingTags = {\n listing: true,\n pre: true,\n textarea: true\n};\n\n// For HTML, certain tags cannot have children. This has the same purpose as\n// `omittedCloseTags` except that `menuitem` should still have its closing tag.\n\nvar voidElementTags = _assign({\n menuitem: true\n}, omittedCloseTags);\n\n// We accept any tag to be rendered but since this gets injected into arbitrary\n// HTML, we want to make sure that it's a safe tag.\n// https://www.w3.org/TR/REC-xml/#NT-Name\n\nvar VALID_TAG_REGEX = /^[a-zA-Z][a-zA-Z:_\\.\\-\\d]*$/; // Simplified subset\nvar validatedTagCache = {};\nvar hasOwnProperty = {}.hasOwnProperty;\n\nfunction validateDangerousTag(tag) {\n if (!hasOwnProperty.call(validatedTagCache, tag)) {\n !VALID_TAG_REGEX.test(tag) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Invalid tag: %s', tag) : _prodInvariant('65', tag) : void 0;\n validatedTagCache[tag] = true;\n }\n}\n\nfunction isCustomComponent(tagName, props) {\n return tagName.indexOf('-') >= 0 || props.is != null;\n}\n\nvar globalIdCounter = 1;\n\n/**\n * Creates a new React class that is idempotent and capable of containing other\n * React components. It accepts event listeners and DOM properties that are\n * valid according to `DOMProperty`.\n *\n * - Event listeners: `onClick`, `onMouseDown`, etc.\n * - DOM properties: `className`, `name`, `title`, etc.\n *\n * The `style` property functions differently from the DOM API. It accepts an\n * object mapping of style properties to values.\n *\n * @constructor ReactDOMComponent\n * @extends ReactMultiChild\n */\nfunction ReactDOMComponent(element) {\n var tag = element.type;\n validateDangerousTag(tag);\n this._currentElement = element;\n this._tag = tag.toLowerCase();\n this._namespaceURI = null;\n this._renderedChildren = null;\n this._previousStyle = null;\n this._previousStyleCopy = null;\n this._hostNode = null;\n this._hostParent = null;\n this._rootNodeID = 0;\n this._domID = 0;\n this._hostContainerInfo = null;\n this._wrapperState = null;\n this._topLevelWrapper = null;\n this._flags = 0;\n if (process.env.NODE_ENV !== 'production') {\n this._ancestorInfo = null;\n setAndValidateContentChildDev.call(this, null);\n }\n}\n\nReactDOMComponent.displayName = 'ReactDOMComponent';\n\nReactDOMComponent.Mixin = {\n /**\n * Generates root tag markup then recurses. This method has side effects and\n * is not idempotent.\n *\n * @internal\n * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n * @param {?ReactDOMComponent} the parent component instance\n * @param {?object} info about the host container\n * @param {object} context\n * @return {string} The computed markup.\n */\n mountComponent: function (transaction, hostParent, hostContainerInfo, context) {\n this._rootNodeID = globalIdCounter++;\n this._domID = hostContainerInfo._idCounter++;\n this._hostParent = hostParent;\n this._hostContainerInfo = hostContainerInfo;\n\n var props = this._currentElement.props;\n\n switch (this._tag) {\n case 'audio':\n case 'form':\n case 'iframe':\n case 'img':\n case 'link':\n case 'object':\n case 'source':\n case 'video':\n this._wrapperState = {\n listeners: null\n };\n transaction.getReactMountReady().enqueue(trapBubbledEventsLocal, this);\n break;\n case 'input':\n ReactDOMInput.mountWrapper(this, props, hostParent);\n props = ReactDOMInput.getHostProps(this, props);\n transaction.getReactMountReady().enqueue(trackInputValue, this);\n transaction.getReactMountReady().enqueue(trapBubbledEventsLocal, this);\n break;\n case 'option':\n ReactDOMOption.mountWrapper(this, props, hostParent);\n props = ReactDOMOption.getHostProps(this, props);\n break;\n case 'select':\n ReactDOMSelect.mountWrapper(this, props, hostParent);\n props = ReactDOMSelect.getHostProps(this, props);\n transaction.getReactMountReady().enqueue(trapBubbledEventsLocal, this);\n break;\n case 'textarea':\n ReactDOMTextarea.mountWrapper(this, props, hostParent);\n props = ReactDOMTextarea.getHostProps(this, props);\n transaction.getReactMountReady().enqueue(trackInputValue, this);\n transaction.getReactMountReady().enqueue(trapBubbledEventsLocal, this);\n break;\n }\n\n assertValidProps(this, props);\n\n // We create tags in the namespace of their parent container, except HTML\n // tags get no namespace.\n var namespaceURI;\n var parentTag;\n if (hostParent != null) {\n namespaceURI = hostParent._namespaceURI;\n parentTag = hostParent._tag;\n } else if (hostContainerInfo._tag) {\n namespaceURI = hostContainerInfo._namespaceURI;\n parentTag = hostContainerInfo._tag;\n }\n if (namespaceURI == null || namespaceURI === DOMNamespaces.svg && parentTag === 'foreignobject') {\n namespaceURI = DOMNamespaces.html;\n }\n if (namespaceURI === DOMNamespaces.html) {\n if (this._tag === 'svg') {\n namespaceURI = DOMNamespaces.svg;\n } else if (this._tag === 'math') {\n namespaceURI = DOMNamespaces.mathml;\n }\n }\n this._namespaceURI = namespaceURI;\n\n if (process.env.NODE_ENV !== 'production') {\n var parentInfo;\n if (hostParent != null) {\n parentInfo = hostParent._ancestorInfo;\n } else if (hostContainerInfo._tag) {\n parentInfo = hostContainerInfo._ancestorInfo;\n }\n if (parentInfo) {\n // parentInfo should always be present except for the top-level\n // component when server rendering\n validateDOMNesting(this._tag, null, this, parentInfo);\n }\n this._ancestorInfo = validateDOMNesting.updatedAncestorInfo(parentInfo, this._tag, this);\n }\n\n var mountImage;\n if (transaction.useCreateElement) {\n var ownerDocument = hostContainerInfo._ownerDocument;\n var el;\n if (namespaceURI === DOMNamespaces.html) {\n if (this._tag === 'script') {\n // Create the script via .innerHTML so its \"parser-inserted\" flag is\n // set to true and it does not execute\n var div = ownerDocument.createElement('div');\n var type = this._currentElement.type;\n div.innerHTML = '<' + type + '></' + type + '>';\n el = div.removeChild(div.firstChild);\n } else if (props.is) {\n el = ownerDocument.createElement(this._currentElement.type, props.is);\n } else {\n // Separate else branch instead of using `props.is || undefined` above becuase of a Firefox bug.\n // See discussion in https://github.com/facebook/react/pull/6896\n // and discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=1276240\n el = ownerDocument.createElement(this._currentElement.type);\n }\n } else {\n el = ownerDocument.createElementNS(namespaceURI, this._currentElement.type);\n }\n ReactDOMComponentTree.precacheNode(this, el);\n this._flags |= Flags.hasCachedChildNodes;\n if (!this._hostParent) {\n DOMPropertyOperations.setAttributeForRoot(el);\n }\n this._updateDOMProperties(null, props, transaction);\n var lazyTree = DOMLazyTree(el);\n this._createInitialChildren(transaction, props, context, lazyTree);\n mountImage = lazyTree;\n } else {\n var tagOpen = this._createOpenTagMarkupAndPutListeners(transaction, props);\n var tagContent = this._createContentMarkup(transaction, props, context);\n if (!tagContent && omittedCloseTags[this._tag]) {\n mountImage = tagOpen + '/>';\n } else {\n mountImage = tagOpen + '>' + tagContent + '</' + this._currentElement.type + '>';\n }\n }\n\n switch (this._tag) {\n case 'input':\n transaction.getReactMountReady().enqueue(inputPostMount, this);\n if (props.autoFocus) {\n transaction.getReactMountReady().enqueue(AutoFocusUtils.focusDOMComponent, this);\n }\n break;\n case 'textarea':\n transaction.getReactMountReady().enqueue(textareaPostMount, this);\n if (props.autoFocus) {\n transaction.getReactMountReady().enqueue(AutoFocusUtils.focusDOMComponent, this);\n }\n break;\n case 'select':\n if (props.autoFocus) {\n transaction.getReactMountReady().enqueue(AutoFocusUtils.focusDOMComponent, this);\n }\n break;\n case 'button':\n if (props.autoFocus) {\n transaction.getReactMountReady().enqueue(AutoFocusUtils.focusDOMComponent, this);\n }\n break;\n case 'option':\n transaction.getReactMountReady().enqueue(optionPostMount, this);\n break;\n }\n\n return mountImage;\n },\n\n /**\n * Creates markup for the open tag and all attributes.\n *\n * This method has side effects because events get registered.\n *\n * Iterating over object properties is faster than iterating over arrays.\n * @see https://jsperf.com/obj-vs-arr-iteration\n *\n * @private\n * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n * @param {object} props\n * @return {string} Markup of opening tag.\n */\n _createOpenTagMarkupAndPutListeners: function (transaction, props) {\n var ret = '<' + this._currentElement.type;\n\n for (var propKey in props) {\n if (!props.hasOwnProperty(propKey)) {\n continue;\n }\n var propValue = props[propKey];\n if (propValue == null) {\n continue;\n }\n if (registrationNameModules.hasOwnProperty(propKey)) {\n if (propValue) {\n enqueuePutListener(this, propKey, propValue, transaction);\n }\n } else {\n if (propKey === STYLE) {\n if (propValue) {\n if (process.env.NODE_ENV !== 'production') {\n // See `_updateDOMProperties`. style block\n this._previousStyle = propValue;\n }\n propValue = this._previousStyleCopy = _assign({}, props.style);\n }\n propValue = CSSPropertyOperations.createMarkupForStyles(propValue, this);\n }\n var markup = null;\n if (this._tag != null && isCustomComponent(this._tag, props)) {\n if (!RESERVED_PROPS.hasOwnProperty(propKey)) {\n markup = DOMPropertyOperations.createMarkupForCustomAttribute(propKey, propValue);\n }\n } else {\n markup = DOMPropertyOperations.createMarkupForProperty(propKey, propValue);\n }\n if (markup) {\n ret += ' ' + markup;\n }\n }\n }\n\n // For static pages, no need to put React ID and checksum. Saves lots of\n // bytes.\n if (transaction.renderToStaticMarkup) {\n return ret;\n }\n\n if (!this._hostParent) {\n ret += ' ' + DOMPropertyOperations.createMarkupForRoot();\n }\n ret += ' ' + DOMPropertyOperations.createMarkupForID(this._domID);\n return ret;\n },\n\n /**\n * Creates markup for the content between the tags.\n *\n * @private\n * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n * @param {object} props\n * @param {object} context\n * @return {string} Content markup.\n */\n _createContentMarkup: function (transaction, props, context) {\n var ret = '';\n\n // Intentional use of != to avoid catching zero/false.\n var innerHTML = props.dangerouslySetInnerHTML;\n if (innerHTML != null) {\n if (innerHTML.__html != null) {\n ret = innerHTML.__html;\n }\n } else {\n var contentToUse = CONTENT_TYPES[typeof props.children] ? props.children : null;\n var childrenToUse = contentToUse != null ? null : props.children;\n if (contentToUse != null) {\n // TODO: Validate that text is allowed as a child of this node\n ret = escapeTextContentForBrowser(contentToUse);\n if (process.env.NODE_ENV !== 'production') {\n setAndValidateContentChildDev.call(this, contentToUse);\n }\n } else if (childrenToUse != null) {\n var mountImages = this.mountChildren(childrenToUse, transaction, context);\n ret = mountImages.join('');\n }\n }\n if (newlineEatingTags[this._tag] && ret.charAt(0) === '\\n') {\n // text/html ignores the first character in these tags if it's a newline\n // Prefer to break application/xml over text/html (for now) by adding\n // a newline specifically to get eaten by the parser. (Alternately for\n // textareas, replacing \"^\\n\" with \"\\r\\n\" doesn't get eaten, and the first\n // \\r is normalized out by HTMLTextAreaElement#value.)\n // See: <https://www.w3.org/TR/html-polyglot/#newlines-in-textarea-and-pre>\n // See: <https://www.w3.org/TR/html5/syntax.html#element-restrictions>\n // See: <https://www.w3.org/TR/html5/syntax.html#newlines>\n // See: Parsing of \"textarea\" \"listing\" and \"pre\" elements\n // from <https://www.w3.org/TR/html5/syntax.html#parsing-main-inbody>\n return '\\n' + ret;\n } else {\n return ret;\n }\n },\n\n _createInitialChildren: function (transaction, props, context, lazyTree) {\n // Intentional use of != to avoid catching zero/false.\n var innerHTML = props.dangerouslySetInnerHTML;\n if (innerHTML != null) {\n if (innerHTML.__html != null) {\n DOMLazyTree.queueHTML(lazyTree, innerHTML.__html);\n }\n } else {\n var contentToUse = CONTENT_TYPES[typeof props.children] ? props.children : null;\n var childrenToUse = contentToUse != null ? null : props.children;\n // TODO: Validate that text is allowed as a child of this node\n if (contentToUse != null) {\n // Avoid setting textContent when the text is empty. In IE11 setting\n // textContent on a text area will cause the placeholder to not\n // show within the textarea until it has been focused and blurred again.\n // https://github.com/facebook/react/issues/6731#issuecomment-254874553\n if (contentToUse !== '') {\n if (process.env.NODE_ENV !== 'production') {\n setAndValidateContentChildDev.call(this, contentToUse);\n }\n DOMLazyTree.queueText(lazyTree, contentToUse);\n }\n } else if (childrenToUse != null) {\n var mountImages = this.mountChildren(childrenToUse, transaction, context);\n for (var i = 0; i < mountImages.length; i++) {\n DOMLazyTree.queueChild(lazyTree, mountImages[i]);\n }\n }\n }\n },\n\n /**\n * Receives a next element and updates the component.\n *\n * @internal\n * @param {ReactElement} nextElement\n * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n * @param {object} context\n */\n receiveComponent: function (nextElement, transaction, context) {\n var prevElement = this._currentElement;\n this._currentElement = nextElement;\n this.updateComponent(transaction, prevElement, nextElement, context);\n },\n\n /**\n * Updates a DOM component after it has already been allocated and\n * attached to the DOM. Reconciles the root DOM node, then recurses.\n *\n * @param {ReactReconcileTransaction} transaction\n * @param {ReactElement} prevElement\n * @param {ReactElement} nextElement\n * @internal\n * @overridable\n */\n updateComponent: function (transaction, prevElement, nextElement, context) {\n var lastProps = prevElement.props;\n var nextProps = this._currentElement.props;\n\n switch (this._tag) {\n case 'input':\n lastProps = ReactDOMInput.getHostProps(this, lastProps);\n nextProps = ReactDOMInput.getHostProps(this, nextProps);\n break;\n case 'option':\n lastProps = ReactDOMOption.getHostProps(this, lastProps);\n nextProps = ReactDOMOption.getHostProps(this, nextProps);\n break;\n case 'select':\n lastProps = ReactDOMSelect.getHostProps(this, lastProps);\n nextProps = ReactDOMSelect.getHostProps(this, nextProps);\n break;\n case 'textarea':\n lastProps = ReactDOMTextarea.getHostProps(this, lastProps);\n nextProps = ReactDOMTextarea.getHostProps(this, nextProps);\n break;\n }\n\n assertValidProps(this, nextProps);\n this._updateDOMProperties(lastProps, nextProps, transaction);\n this._updateDOMChildren(lastProps, nextProps, transaction, context);\n\n switch (this._tag) {\n case 'input':\n // Update the wrapper around inputs *after* updating props. This has to\n // happen after `_updateDOMProperties`. Otherwise HTML5 input validations\n // raise warnings and prevent the new value from being assigned.\n ReactDOMInput.updateWrapper(this);\n\n // We also check that we haven't missed a value update, such as a\n // Radio group shifting the checked value to another named radio input.\n inputValueTracking.updateValueIfChanged(this);\n break;\n case 'textarea':\n ReactDOMTextarea.updateWrapper(this);\n break;\n case 'select':\n // <select> value update needs to occur after <option> children\n // reconciliation\n transaction.getReactMountReady().enqueue(postUpdateSelectWrapper, this);\n break;\n }\n },\n\n /**\n * Reconciles the properties by detecting differences in property values and\n * updating the DOM as necessary. This function is probably the single most\n * critical path for performance optimization.\n *\n * TODO: Benchmark whether checking for changed values in memory actually\n * improves performance (especially statically positioned elements).\n * TODO: Benchmark the effects of putting this at the top since 99% of props\n * do not change for a given reconciliation.\n * TODO: Benchmark areas that can be improved with caching.\n *\n * @private\n * @param {object} lastProps\n * @param {object} nextProps\n * @param {?DOMElement} node\n */\n _updateDOMProperties: function (lastProps, nextProps, transaction) {\n var propKey;\n var styleName;\n var styleUpdates;\n for (propKey in lastProps) {\n if (nextProps.hasOwnProperty(propKey) || !lastProps.hasOwnProperty(propKey) || lastProps[propKey] == null) {\n continue;\n }\n if (propKey === STYLE) {\n var lastStyle = this._previousStyleCopy;\n for (styleName in lastStyle) {\n if (lastStyle.hasOwnProperty(styleName)) {\n styleUpdates = styleUpdates || {};\n styleUpdates[styleName] = '';\n }\n }\n this._previousStyleCopy = null;\n } else if (registrationNameModules.hasOwnProperty(propKey)) {\n if (lastProps[propKey]) {\n // Only call deleteListener if there was a listener previously or\n // else willDeleteListener gets called when there wasn't actually a\n // listener (e.g., onClick={null})\n deleteListener(this, propKey);\n }\n } else if (isCustomComponent(this._tag, lastProps)) {\n if (!RESERVED_PROPS.hasOwnProperty(propKey)) {\n DOMPropertyOperations.deleteValueForAttribute(getNode(this), propKey);\n }\n } else if (DOMProperty.properties[propKey] || DOMProperty.isCustomAttribute(propKey)) {\n DOMPropertyOperations.deleteValueForProperty(getNode(this), propKey);\n }\n }\n for (propKey in nextProps) {\n var nextProp = nextProps[propKey];\n var lastProp = propKey === STYLE ? this._previousStyleCopy : lastProps != null ? lastProps[propKey] : undefined;\n if (!nextProps.hasOwnProperty(propKey) || nextProp === lastProp || nextProp == null && lastProp == null) {\n continue;\n }\n if (propKey === STYLE) {\n if (nextProp) {\n if (process.env.NODE_ENV !== 'production') {\n checkAndWarnForMutatedStyle(this._previousStyleCopy, this._previousStyle, this);\n this._previousStyle = nextProp;\n }\n nextProp = this._previousStyleCopy = _assign({}, nextProp);\n } else {\n this._previousStyleCopy = null;\n }\n if (lastProp) {\n // Unset styles on `lastProp` but not on `nextProp`.\n for (styleName in lastProp) {\n if (lastProp.hasOwnProperty(styleName) && (!nextProp || !nextProp.hasOwnProperty(styleName))) {\n styleUpdates = styleUpdates || {};\n styleUpdates[styleName] = '';\n }\n }\n // Update styles that changed since `lastProp`.\n for (styleName in nextProp) {\n if (nextProp.hasOwnProperty(styleName) && lastProp[styleName] !== nextProp[styleName]) {\n styleUpdates = styleUpdates || {};\n styleUpdates[styleName] = nextProp[styleName];\n }\n }\n } else {\n // Relies on `updateStylesByID` not mutating `styleUpdates`.\n styleUpdates = nextProp;\n }\n } else if (registrationNameModules.hasOwnProperty(propKey)) {\n if (nextProp) {\n enqueuePutListener(this, propKey, nextProp, transaction);\n } else if (lastProp) {\n deleteListener(this, propKey);\n }\n } else if (isCustomComponent(this._tag, nextProps)) {\n if (!RESERVED_PROPS.hasOwnProperty(propKey)) {\n DOMPropertyOperations.setValueForAttribute(getNode(this), propKey, nextProp);\n }\n } else if (DOMProperty.properties[propKey] || DOMProperty.isCustomAttribute(propKey)) {\n var node = getNode(this);\n // If we're updating to null or undefined, we should remove the property\n // from the DOM node instead of inadvertently setting to a string. This\n // brings us in line with the same behavior we have on initial render.\n if (nextProp != null) {\n DOMPropertyOperations.setValueForProperty(node, propKey, nextProp);\n } else {\n DOMPropertyOperations.deleteValueForProperty(node, propKey);\n }\n }\n }\n if (styleUpdates) {\n CSSPropertyOperations.setValueForStyles(getNode(this), styleUpdates, this);\n }\n },\n\n /**\n * Reconciles the children with the various properties that affect the\n * children content.\n *\n * @param {object} lastProps\n * @param {object} nextProps\n * @param {ReactReconcileTransaction} transaction\n * @param {object} context\n */\n _updateDOMChildren: function (lastProps, nextProps, transaction, context) {\n var lastContent = CONTENT_TYPES[typeof lastProps.children] ? lastProps.children : null;\n var nextContent = CONTENT_TYPES[typeof nextProps.children] ? nextProps.children : null;\n\n var lastHtml = lastProps.dangerouslySetInnerHTML && lastProps.dangerouslySetInnerHTML.__html;\n var nextHtml = nextProps.dangerouslySetInnerHTML && nextProps.dangerouslySetInnerHTML.__html;\n\n // Note the use of `!=` which checks for null or undefined.\n var lastChildren = lastContent != null ? null : lastProps.children;\n var nextChildren = nextContent != null ? null : nextProps.children;\n\n // If we're switching from children to content/html or vice versa, remove\n // the old content\n var lastHasContentOrHtml = lastContent != null || lastHtml != null;\n var nextHasContentOrHtml = nextContent != null || nextHtml != null;\n if (lastChildren != null && nextChildren == null) {\n this.updateChildren(null, transaction, context);\n } else if (lastHasContentOrHtml && !nextHasContentOrHtml) {\n this.updateTextContent('');\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onSetChildren(this._debugID, []);\n }\n }\n\n if (nextContent != null) {\n if (lastContent !== nextContent) {\n this.updateTextContent('' + nextContent);\n if (process.env.NODE_ENV !== 'production') {\n setAndValidateContentChildDev.call(this, nextContent);\n }\n }\n } else if (nextHtml != null) {\n if (lastHtml !== nextHtml) {\n this.updateMarkup('' + nextHtml);\n }\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onSetChildren(this._debugID, []);\n }\n } else if (nextChildren != null) {\n if (process.env.NODE_ENV !== 'production') {\n setAndValidateContentChildDev.call(this, null);\n }\n\n this.updateChildren(nextChildren, transaction, context);\n }\n },\n\n getHostNode: function () {\n return getNode(this);\n },\n\n /**\n * Destroys all event registrations for this instance. Does not remove from\n * the DOM. That must be done by the parent.\n *\n * @internal\n */\n unmountComponent: function (safely) {\n switch (this._tag) {\n case 'audio':\n case 'form':\n case 'iframe':\n case 'img':\n case 'link':\n case 'object':\n case 'source':\n case 'video':\n var listeners = this._wrapperState.listeners;\n if (listeners) {\n for (var i = 0; i < listeners.length; i++) {\n listeners[i].remove();\n }\n }\n break;\n case 'input':\n case 'textarea':\n inputValueTracking.stopTracking(this);\n break;\n case 'html':\n case 'head':\n case 'body':\n /**\n * Components like <html> <head> and <body> can't be removed or added\n * easily in a cross-browser way, however it's valuable to be able to\n * take advantage of React's reconciliation for styling and <title>\n * management. So we just document it and throw in dangerous cases.\n */\n true ? process.env.NODE_ENV !== 'production' ? invariant(false, '<%s> tried to unmount. Because of cross-browser quirks it is impossible to unmount some top-level components (eg <html>, <head>, and <body>) reliably and efficiently. To fix this, have a single top-level component that never unmounts render these elements.', this._tag) : _prodInvariant('66', this._tag) : void 0;\n break;\n }\n\n this.unmountChildren(safely);\n ReactDOMComponentTree.uncacheNode(this);\n EventPluginHub.deleteAllListeners(this);\n this._rootNodeID = 0;\n this._domID = 0;\n this._wrapperState = null;\n\n if (process.env.NODE_ENV !== 'production') {\n setAndValidateContentChildDev.call(this, null);\n }\n },\n\n getPublicInstance: function () {\n return getNode(this);\n }\n};\n\n_assign(ReactDOMComponent.prototype, ReactDOMComponent.Mixin, ReactMultiChild.Mixin);\n\nmodule.exports = ReactDOMComponent;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDOMComponent.js\n// module id = 182\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactDOMComponent.js?"); /***/ }), /* 183 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar validateDOMNesting = __webpack_require__(70);\n\nvar DOC_NODE_TYPE = 9;\n\nfunction ReactDOMContainerInfo(topLevelWrapper, node) {\n var info = {\n _topLevelWrapper: topLevelWrapper,\n _idCounter: 1,\n _ownerDocument: node ? node.nodeType === DOC_NODE_TYPE ? node : node.ownerDocument : null,\n _node: node,\n _tag: node ? node.nodeName.toLowerCase() : null,\n _namespaceURI: node ? node.namespaceURI : null\n };\n if (process.env.NODE_ENV !== 'production') {\n info._ancestorInfo = node ? validateDOMNesting.updatedAncestorInfo(null, info._tag, null) : null;\n }\n return info;\n}\n\nmodule.exports = ReactDOMContainerInfo;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDOMContainerInfo.js\n// module id = 183\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactDOMContainerInfo.js?"); /***/ }), /* 184 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _assign = __webpack_require__(8);\n\nvar DOMLazyTree = __webpack_require__(29);\nvar ReactDOMComponentTree = __webpack_require__(7);\n\nvar ReactDOMEmptyComponent = function (instantiate) {\n // ReactCompositeComponent uses this:\n this._currentElement = null;\n // ReactDOMComponentTree uses these:\n this._hostNode = null;\n this._hostParent = null;\n this._hostContainerInfo = null;\n this._domID = 0;\n};\n_assign(ReactDOMEmptyComponent.prototype, {\n mountComponent: function (transaction, hostParent, hostContainerInfo, context) {\n var domID = hostContainerInfo._idCounter++;\n this._domID = domID;\n this._hostParent = hostParent;\n this._hostContainerInfo = hostContainerInfo;\n\n var nodeValue = ' react-empty: ' + this._domID + ' ';\n if (transaction.useCreateElement) {\n var ownerDocument = hostContainerInfo._ownerDocument;\n var node = ownerDocument.createComment(nodeValue);\n ReactDOMComponentTree.precacheNode(this, node);\n return DOMLazyTree(node);\n } else {\n if (transaction.renderToStaticMarkup) {\n // Normally we'd insert a comment node, but since this is a situation\n // where React won't take over (static pages), we can simply return\n // nothing.\n return '';\n }\n return '<!--' + nodeValue + '-->';\n }\n },\n receiveComponent: function () {},\n getHostNode: function () {\n return ReactDOMComponentTree.getNodeFromInstance(this);\n },\n unmountComponent: function () {\n ReactDOMComponentTree.uncacheNode(this);\n }\n});\n\nmodule.exports = ReactDOMEmptyComponent;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDOMEmptyComponent.js\n// module id = 184\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactDOMEmptyComponent.js?"); /***/ }), /* 185 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar ReactDOMFeatureFlags = {\n useCreateElement: true,\n useFiber: false\n};\n\nmodule.exports = ReactDOMFeatureFlags;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDOMFeatureFlags.js\n// module id = 185\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactDOMFeatureFlags.js?"); /***/ }), /* 186 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar DOMChildrenOperations = __webpack_require__(56);\nvar ReactDOMComponentTree = __webpack_require__(7);\n\n/**\n * Operations used to process updates to DOM nodes.\n */\nvar ReactDOMIDOperations = {\n /**\n * Updates a component's children by processing a series of updates.\n *\n * @param {array<object>} updates List of update configurations.\n * @internal\n */\n dangerouslyProcessChildrenUpdates: function (parentInst, updates) {\n var node = ReactDOMComponentTree.getNodeFromInstance(parentInst);\n DOMChildrenOperations.processUpdates(node, updates);\n }\n};\n\nmodule.exports = ReactDOMIDOperations;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDOMIDOperations.js\n// module id = 186\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactDOMIDOperations.js?"); /***/ }), /* 187 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6),\n _assign = __webpack_require__(8);\n\nvar DOMPropertyOperations = __webpack_require__(93);\nvar LinkedValueUtils = __webpack_require__(60);\nvar ReactDOMComponentTree = __webpack_require__(7);\nvar ReactUpdates = __webpack_require__(16);\n\nvar invariant = __webpack_require__(3);\nvar warning = __webpack_require__(4);\n\nvar didWarnValueLink = false;\nvar didWarnCheckedLink = false;\nvar didWarnValueDefaultValue = false;\nvar didWarnCheckedDefaultChecked = false;\nvar didWarnControlledToUncontrolled = false;\nvar didWarnUncontrolledToControlled = false;\n\nfunction forceUpdateIfMounted() {\n if (this._rootNodeID) {\n // DOM component is still mounted; update\n ReactDOMInput.updateWrapper(this);\n }\n}\n\nfunction isControlled(props) {\n var usesChecked = props.type === 'checkbox' || props.type === 'radio';\n return usesChecked ? props.checked != null : props.value != null;\n}\n\n/**\n * Implements an <input> host component that allows setting these optional\n * props: `checked`, `value`, `defaultChecked`, and `defaultValue`.\n *\n * If `checked` or `value` are not supplied (or null/undefined), user actions\n * that affect the checked state or value will trigger updates to the element.\n *\n * If they are supplied (and not null/undefined), the rendered element will not\n * trigger updates to the element. Instead, the props must change in order for\n * the rendered element to be updated.\n *\n * The rendered element will be initialized as unchecked (or `defaultChecked`)\n * with an empty value (or `defaultValue`).\n *\n * @see https://www.w3.org/TR/2012/WD-html5-20121025/the-input-element.html\n */\nvar ReactDOMInput = {\n getHostProps: function (inst, props) {\n var value = LinkedValueUtils.getValue(props);\n var checked = LinkedValueUtils.getChecked(props);\n\n var hostProps = _assign({\n // Make sure we set .type before any other properties (setting .value\n // before .type means .value is lost in IE11 and below)\n type: undefined,\n // Make sure we set .step before .value (setting .value before .step\n // means .value is rounded on mount, based upon step precision)\n step: undefined,\n // Make sure we set .min & .max before .value (to ensure proper order\n // in corner cases such as min or max deriving from value, e.g. Issue #7170)\n min: undefined,\n max: undefined\n }, props, {\n defaultChecked: undefined,\n defaultValue: undefined,\n value: value != null ? value : inst._wrapperState.initialValue,\n checked: checked != null ? checked : inst._wrapperState.initialChecked,\n onChange: inst._wrapperState.onChange\n });\n\n return hostProps;\n },\n\n mountWrapper: function (inst, props) {\n if (process.env.NODE_ENV !== 'production') {\n LinkedValueUtils.checkPropTypes('input', props, inst._currentElement._owner);\n\n var owner = inst._currentElement._owner;\n\n if (props.valueLink !== undefined && !didWarnValueLink) {\n process.env.NODE_ENV !== 'production' ? warning(false, '`valueLink` prop on `input` is deprecated; set `value` and `onChange` instead.') : void 0;\n didWarnValueLink = true;\n }\n if (props.checkedLink !== undefined && !didWarnCheckedLink) {\n process.env.NODE_ENV !== 'production' ? warning(false, '`checkedLink` prop on `input` is deprecated; set `value` and `onChange` instead.') : void 0;\n didWarnCheckedLink = true;\n }\n if (props.checked !== undefined && props.defaultChecked !== undefined && !didWarnCheckedDefaultChecked) {\n process.env.NODE_ENV !== 'production' ? warning(false, '%s contains an input of type %s with both checked and defaultChecked props. ' + 'Input elements must be either controlled or uncontrolled ' + '(specify either the checked prop, or the defaultChecked prop, but not ' + 'both). Decide between using a controlled or uncontrolled input ' + 'element and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components', owner && owner.getName() || 'A component', props.type) : void 0;\n didWarnCheckedDefaultChecked = true;\n }\n if (props.value !== undefined && props.defaultValue !== undefined && !didWarnValueDefaultValue) {\n process.env.NODE_ENV !== 'production' ? warning(false, '%s contains an input of type %s with both value and defaultValue props. ' + 'Input elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled input ' + 'element and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components', owner && owner.getName() || 'A component', props.type) : void 0;\n didWarnValueDefaultValue = true;\n }\n }\n\n var defaultValue = props.defaultValue;\n inst._wrapperState = {\n initialChecked: props.checked != null ? props.checked : props.defaultChecked,\n initialValue: props.value != null ? props.value : defaultValue,\n listeners: null,\n onChange: _handleChange.bind(inst),\n controlled: isControlled(props)\n };\n },\n\n updateWrapper: function (inst) {\n var props = inst._currentElement.props;\n\n if (process.env.NODE_ENV !== 'production') {\n var controlled = isControlled(props);\n var owner = inst._currentElement._owner;\n\n if (!inst._wrapperState.controlled && controlled && !didWarnUncontrolledToControlled) {\n process.env.NODE_ENV !== 'production' ? warning(false, '%s is changing an uncontrolled input of type %s to be controlled. ' + 'Input elements should not switch from uncontrolled to controlled (or vice versa). ' + 'Decide between using a controlled or uncontrolled input ' + 'element for the lifetime of the component. More info: https://fb.me/react-controlled-components', owner && owner.getName() || 'A component', props.type) : void 0;\n didWarnUncontrolledToControlled = true;\n }\n if (inst._wrapperState.controlled && !controlled && !didWarnControlledToUncontrolled) {\n process.env.NODE_ENV !== 'production' ? warning(false, '%s is changing a controlled input of type %s to be uncontrolled. ' + 'Input elements should not switch from controlled to uncontrolled (or vice versa). ' + 'Decide between using a controlled or uncontrolled input ' + 'element for the lifetime of the component. More info: https://fb.me/react-controlled-components', owner && owner.getName() || 'A component', props.type) : void 0;\n didWarnControlledToUncontrolled = true;\n }\n }\n\n // TODO: Shouldn't this be getChecked(props)?\n var checked = props.checked;\n if (checked != null) {\n DOMPropertyOperations.setValueForProperty(ReactDOMComponentTree.getNodeFromInstance(inst), 'checked', checked || false);\n }\n\n var node = ReactDOMComponentTree.getNodeFromInstance(inst);\n var value = LinkedValueUtils.getValue(props);\n if (value != null) {\n if (value === 0 && node.value === '') {\n node.value = '0';\n // Note: IE9 reports a number inputs as 'text', so check props instead.\n } else if (props.type === 'number') {\n // Simulate `input.valueAsNumber`. IE9 does not support it\n var valueAsNumber = parseFloat(node.value, 10) || 0;\n\n if (\n // eslint-disable-next-line\n value != valueAsNumber ||\n // eslint-disable-next-line\n value == valueAsNumber && node.value != value) {\n // Cast `value` to a string to ensure the value is set correctly. While\n // browsers typically do this as necessary, jsdom doesn't.\n node.value = '' + value;\n }\n } else if (node.value !== '' + value) {\n // Cast `value` to a string to ensure the value is set correctly. While\n // browsers typically do this as necessary, jsdom doesn't.\n node.value = '' + value;\n }\n } else {\n if (props.value == null && props.defaultValue != null) {\n // In Chrome, assigning defaultValue to certain input types triggers input validation.\n // For number inputs, the display value loses trailing decimal points. For email inputs,\n // Chrome raises \"The specified value <x> is not a valid email address\".\n //\n // Here we check to see if the defaultValue has actually changed, avoiding these problems\n // when the user is inputting text\n //\n // https://github.com/facebook/react/issues/7253\n if (node.defaultValue !== '' + props.defaultValue) {\n node.defaultValue = '' + props.defaultValue;\n }\n }\n if (props.checked == null && props.defaultChecked != null) {\n node.defaultChecked = !!props.defaultChecked;\n }\n }\n },\n\n postMountWrapper: function (inst) {\n var props = inst._currentElement.props;\n\n // This is in postMount because we need access to the DOM node, which is not\n // available until after the component has mounted.\n var node = ReactDOMComponentTree.getNodeFromInstance(inst);\n\n // Detach value from defaultValue. We won't do anything if we're working on\n // submit or reset inputs as those values & defaultValues are linked. They\n // are not resetable nodes so this operation doesn't matter and actually\n // removes browser-default values (eg \"Submit Query\") when no value is\n // provided.\n\n switch (props.type) {\n case 'submit':\n case 'reset':\n break;\n case 'color':\n case 'date':\n case 'datetime':\n case 'datetime-local':\n case 'month':\n case 'time':\n case 'week':\n // This fixes the no-show issue on iOS Safari and Android Chrome:\n // https://github.com/facebook/react/issues/7233\n node.value = '';\n node.value = node.defaultValue;\n break;\n default:\n node.value = node.value;\n break;\n }\n\n // Normally, we'd just do `node.checked = node.checked` upon initial mount, less this bug\n // this is needed to work around a chrome bug where setting defaultChecked\n // will sometimes influence the value of checked (even after detachment).\n // Reference: https://bugs.chromium.org/p/chromium/issues/detail?id=608416\n // We need to temporarily unset name to avoid disrupting radio button groups.\n var name = node.name;\n if (name !== '') {\n node.name = '';\n }\n node.defaultChecked = !node.defaultChecked;\n node.defaultChecked = !node.defaultChecked;\n if (name !== '') {\n node.name = name;\n }\n }\n};\n\nfunction _handleChange(event) {\n var props = this._currentElement.props;\n\n var returnValue = LinkedValueUtils.executeOnChange(props, event);\n\n // Here we use asap to wait until all updates have propagated, which\n // is important when using controlled components within layers:\n // https://github.com/facebook/react/issues/1698\n ReactUpdates.asap(forceUpdateIfMounted, this);\n\n var name = props.name;\n if (props.type === 'radio' && name != null) {\n var rootNode = ReactDOMComponentTree.getNodeFromInstance(this);\n var queryRoot = rootNode;\n\n while (queryRoot.parentNode) {\n queryRoot = queryRoot.parentNode;\n }\n\n // If `rootNode.form` was non-null, then we could try `form.elements`,\n // but that sometimes behaves strangely in IE8. We could also try using\n // `form.getElementsByName`, but that will only return direct children\n // and won't include inputs that use the HTML5 `form=` attribute. Since\n // the input might not even be in a form, let's just use the global\n // `querySelectorAll` to ensure we don't miss anything.\n var group = queryRoot.querySelectorAll('input[name=' + JSON.stringify('' + name) + '][type=\"radio\"]');\n\n for (var i = 0; i < group.length; i++) {\n var otherNode = group[i];\n if (otherNode === rootNode || otherNode.form !== rootNode.form) {\n continue;\n }\n // This will throw if radio buttons rendered by different copies of React\n // and the same name are rendered into the same form (same as #1939).\n // That's probably okay; we don't support it just as we don't support\n // mixing React radio buttons with non-React ones.\n var otherInstance = ReactDOMComponentTree.getInstanceFromNode(otherNode);\n !otherInstance ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.') : _prodInvariant('90') : void 0;\n // If this is a controlled radio button group, forcing the input that\n // was previously checked to update will cause it to be come re-checked\n // as appropriate.\n ReactUpdates.asap(forceUpdateIfMounted, otherInstance);\n }\n }\n\n return returnValue;\n}\n\nmodule.exports = ReactDOMInput;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDOMInput.js\n// module id = 187\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactDOMInput.js?"); /***/ }), /* 188 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar DOMProperty = __webpack_require__(23);\nvar ReactComponentTreeHook = __webpack_require__(10);\n\nvar warning = __webpack_require__(4);\n\nvar warnedProperties = {};\nvar rARIA = new RegExp('^(aria)-[' + DOMProperty.ATTRIBUTE_NAME_CHAR + ']*$');\n\nfunction validateProperty(tagName, name, debugID) {\n if (warnedProperties.hasOwnProperty(name) && warnedProperties[name]) {\n return true;\n }\n\n if (rARIA.test(name)) {\n var lowerCasedName = name.toLowerCase();\n var standardName = DOMProperty.getPossibleStandardName.hasOwnProperty(lowerCasedName) ? DOMProperty.getPossibleStandardName[lowerCasedName] : null;\n\n // If this is an aria-* attribute, but is not listed in the known DOM\n // DOM properties, then it is an invalid aria-* attribute.\n if (standardName == null) {\n warnedProperties[name] = true;\n return false;\n }\n // aria-* attributes should be lowercase; suggest the lowercase version.\n if (name !== standardName) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Unknown ARIA attribute %s. Did you mean %s?%s', name, standardName, ReactComponentTreeHook.getStackAddendumByID(debugID)) : void 0;\n warnedProperties[name] = true;\n return true;\n }\n }\n\n return true;\n}\n\nfunction warnInvalidARIAProps(debugID, element) {\n var invalidProps = [];\n\n for (var key in element.props) {\n var isValid = validateProperty(element.type, key, debugID);\n if (!isValid) {\n invalidProps.push(key);\n }\n }\n\n var unknownPropString = invalidProps.map(function (prop) {\n return '`' + prop + '`';\n }).join(', ');\n\n if (invalidProps.length === 1) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid aria prop %s on <%s> tag. ' + 'For details, see https://fb.me/invalid-aria-prop%s', unknownPropString, element.type, ReactComponentTreeHook.getStackAddendumByID(debugID)) : void 0;\n } else if (invalidProps.length > 1) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid aria props %s on <%s> tag. ' + 'For details, see https://fb.me/invalid-aria-prop%s', unknownPropString, element.type, ReactComponentTreeHook.getStackAddendumByID(debugID)) : void 0;\n }\n}\n\nfunction handleElement(debugID, element) {\n if (element == null || typeof element.type !== 'string') {\n return;\n }\n if (element.type.indexOf('-') >= 0 || element.props.is) {\n return;\n }\n\n warnInvalidARIAProps(debugID, element);\n}\n\nvar ReactDOMInvalidARIAHook = {\n onBeforeMountComponent: function (debugID, element) {\n if (process.env.NODE_ENV !== 'production') {\n handleElement(debugID, element);\n }\n },\n onBeforeUpdateComponent: function (debugID, element) {\n if (process.env.NODE_ENV !== 'production') {\n handleElement(debugID, element);\n }\n }\n};\n\nmodule.exports = ReactDOMInvalidARIAHook;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDOMInvalidARIAHook.js\n// module id = 188\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactDOMInvalidARIAHook.js?"); /***/ }), /* 189 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar ReactComponentTreeHook = __webpack_require__(10);\n\nvar warning = __webpack_require__(4);\n\nvar didWarnValueNull = false;\n\nfunction handleElement(debugID, element) {\n if (element == null) {\n return;\n }\n if (element.type !== 'input' && element.type !== 'textarea' && element.type !== 'select') {\n return;\n }\n if (element.props != null && element.props.value === null && !didWarnValueNull) {\n process.env.NODE_ENV !== 'production' ? warning(false, '`value` prop on `%s` should not be null. ' + 'Consider using the empty string to clear the component or `undefined` ' + 'for uncontrolled components.%s', element.type, ReactComponentTreeHook.getStackAddendumByID(debugID)) : void 0;\n\n didWarnValueNull = true;\n }\n}\n\nvar ReactDOMNullInputValuePropHook = {\n onBeforeMountComponent: function (debugID, element) {\n handleElement(debugID, element);\n },\n onBeforeUpdateComponent: function (debugID, element) {\n handleElement(debugID, element);\n }\n};\n\nmodule.exports = ReactDOMNullInputValuePropHook;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDOMNullInputValuePropHook.js\n// module id = 189\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactDOMNullInputValuePropHook.js?"); /***/ }), /* 190 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _assign = __webpack_require__(8);\n\nvar React = __webpack_require__(31);\nvar ReactDOMComponentTree = __webpack_require__(7);\nvar ReactDOMSelect = __webpack_require__(95);\n\nvar warning = __webpack_require__(4);\nvar didWarnInvalidOptionChildren = false;\n\nfunction flattenChildren(children) {\n var content = '';\n\n // Flatten children and warn if they aren't strings or numbers;\n // invalid types are ignored.\n React.Children.forEach(children, function (child) {\n if (child == null) {\n return;\n }\n if (typeof child === 'string' || typeof child === 'number') {\n content += child;\n } else if (!didWarnInvalidOptionChildren) {\n didWarnInvalidOptionChildren = true;\n process.env.NODE_ENV !== 'production' ? warning(false, 'Only strings and numbers are supported as <option> children.') : void 0;\n }\n });\n\n return content;\n}\n\n/**\n * Implements an <option> host component that warns when `selected` is set.\n */\nvar ReactDOMOption = {\n mountWrapper: function (inst, props, hostParent) {\n // TODO (yungsters): Remove support for `selected` in <option>.\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(props.selected == null, 'Use the `defaultValue` or `value` props on <select> instead of ' + 'setting `selected` on <option>.') : void 0;\n }\n\n // Look up whether this option is 'selected'\n var selectValue = null;\n if (hostParent != null) {\n var selectParent = hostParent;\n\n if (selectParent._tag === 'optgroup') {\n selectParent = selectParent._hostParent;\n }\n\n if (selectParent != null && selectParent._tag === 'select') {\n selectValue = ReactDOMSelect.getSelectValueContext(selectParent);\n }\n }\n\n // If the value is null (e.g., no specified value or after initial mount)\n // or missing (e.g., for <datalist>), we don't change props.selected\n var selected = null;\n if (selectValue != null) {\n var value;\n if (props.value != null) {\n value = props.value + '';\n } else {\n value = flattenChildren(props.children);\n }\n selected = false;\n if (Array.isArray(selectValue)) {\n // multiple\n for (var i = 0; i < selectValue.length; i++) {\n if ('' + selectValue[i] === value) {\n selected = true;\n break;\n }\n }\n } else {\n selected = '' + selectValue === value;\n }\n }\n\n inst._wrapperState = { selected: selected };\n },\n\n postMountWrapper: function (inst) {\n // value=\"\" should make a value attribute (#6219)\n var props = inst._currentElement.props;\n if (props.value != null) {\n var node = ReactDOMComponentTree.getNodeFromInstance(inst);\n node.setAttribute('value', props.value);\n }\n },\n\n getHostProps: function (inst, props) {\n var hostProps = _assign({ selected: undefined, children: undefined }, props);\n\n // Read state only from initial mount because <select> updates value\n // manually; we need the initial state only for server rendering\n if (inst._wrapperState.selected != null) {\n hostProps.selected = inst._wrapperState.selected;\n }\n\n var content = flattenChildren(props.children);\n\n if (content) {\n hostProps.children = content;\n }\n\n return hostProps;\n }\n};\n\nmodule.exports = ReactDOMOption;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDOMOption.js\n// module id = 190\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactDOMOption.js?"); /***/ }), /* 191 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar ExecutionEnvironment = __webpack_require__(9);\n\nvar getNodeForCharacterOffset = __webpack_require__(234);\nvar getTextContentAccessor = __webpack_require__(107);\n\n/**\n * While `isCollapsed` is available on the Selection object and `collapsed`\n * is available on the Range object, IE11 sometimes gets them wrong.\n * If the anchor/focus nodes and offsets are the same, the range is collapsed.\n */\nfunction isCollapsed(anchorNode, anchorOffset, focusNode, focusOffset) {\n return anchorNode === focusNode && anchorOffset === focusOffset;\n}\n\n/**\n * Get the appropriate anchor and focus node/offset pairs for IE.\n *\n * The catch here is that IE's selection API doesn't provide information\n * about whether the selection is forward or backward, so we have to\n * behave as though it's always forward.\n *\n * IE text differs from modern selection in that it behaves as though\n * block elements end with a new line. This means character offsets will\n * differ between the two APIs.\n *\n * @param {DOMElement} node\n * @return {object}\n */\nfunction getIEOffsets(node) {\n var selection = document.selection;\n var selectedRange = selection.createRange();\n var selectedLength = selectedRange.text.length;\n\n // Duplicate selection so we can move range without breaking user selection.\n var fromStart = selectedRange.duplicate();\n fromStart.moveToElementText(node);\n fromStart.setEndPoint('EndToStart', selectedRange);\n\n var startOffset = fromStart.text.length;\n var endOffset = startOffset + selectedLength;\n\n return {\n start: startOffset,\n end: endOffset\n };\n}\n\n/**\n * @param {DOMElement} node\n * @return {?object}\n */\nfunction getModernOffsets(node) {\n var selection = window.getSelection && window.getSelection();\n\n if (!selection || selection.rangeCount === 0) {\n return null;\n }\n\n var anchorNode = selection.anchorNode;\n var anchorOffset = selection.anchorOffset;\n var focusNode = selection.focusNode;\n var focusOffset = selection.focusOffset;\n\n var currentRange = selection.getRangeAt(0);\n\n // In Firefox, range.startContainer and range.endContainer can be \"anonymous\n // divs\", e.g. the up/down buttons on an <input type=\"number\">. Anonymous\n // divs do not seem to expose properties, triggering a \"Permission denied\n // error\" if any of its properties are accessed. The only seemingly possible\n // way to avoid erroring is to access a property that typically works for\n // non-anonymous divs and catch any error that may otherwise arise. See\n // https://bugzilla.mozilla.org/show_bug.cgi?id=208427\n try {\n /* eslint-disable no-unused-expressions */\n currentRange.startContainer.nodeType;\n currentRange.endContainer.nodeType;\n /* eslint-enable no-unused-expressions */\n } catch (e) {\n return null;\n }\n\n // If the node and offset values are the same, the selection is collapsed.\n // `Selection.isCollapsed` is available natively, but IE sometimes gets\n // this value wrong.\n var isSelectionCollapsed = isCollapsed(selection.anchorNode, selection.anchorOffset, selection.focusNode, selection.focusOffset);\n\n var rangeLength = isSelectionCollapsed ? 0 : currentRange.toString().length;\n\n var tempRange = currentRange.cloneRange();\n tempRange.selectNodeContents(node);\n tempRange.setEnd(currentRange.startContainer, currentRange.startOffset);\n\n var isTempRangeCollapsed = isCollapsed(tempRange.startContainer, tempRange.startOffset, tempRange.endContainer, tempRange.endOffset);\n\n var start = isTempRangeCollapsed ? 0 : tempRange.toString().length;\n var end = start + rangeLength;\n\n // Detect whether the selection is backward.\n var detectionRange = document.createRange();\n detectionRange.setStart(anchorNode, anchorOffset);\n detectionRange.setEnd(focusNode, focusOffset);\n var isBackward = detectionRange.collapsed;\n\n return {\n start: isBackward ? end : start,\n end: isBackward ? start : end\n };\n}\n\n/**\n * @param {DOMElement|DOMTextNode} node\n * @param {object} offsets\n */\nfunction setIEOffsets(node, offsets) {\n var range = document.selection.createRange().duplicate();\n var start, end;\n\n if (offsets.end === undefined) {\n start = offsets.start;\n end = start;\n } else if (offsets.start > offsets.end) {\n start = offsets.end;\n end = offsets.start;\n } else {\n start = offsets.start;\n end = offsets.end;\n }\n\n range.moveToElementText(node);\n range.moveStart('character', start);\n range.setEndPoint('EndToStart', range);\n range.moveEnd('character', end - start);\n range.select();\n}\n\n/**\n * In modern non-IE browsers, we can support both forward and backward\n * selections.\n *\n * Note: IE10+ supports the Selection object, but it does not support\n * the `extend` method, which means that even in modern IE, it's not possible\n * to programmatically create a backward selection. Thus, for all IE\n * versions, we use the old IE API to create our selections.\n *\n * @param {DOMElement|DOMTextNode} node\n * @param {object} offsets\n */\nfunction setModernOffsets(node, offsets) {\n if (!window.getSelection) {\n return;\n }\n\n var selection = window.getSelection();\n var length = node[getTextContentAccessor()].length;\n var start = Math.min(offsets.start, length);\n var end = offsets.end === undefined ? start : Math.min(offsets.end, length);\n\n // IE 11 uses modern selection, but doesn't support the extend method.\n // Flip backward selections, so we can set with a single range.\n if (!selection.extend && start > end) {\n var temp = end;\n end = start;\n start = temp;\n }\n\n var startMarker = getNodeForCharacterOffset(node, start);\n var endMarker = getNodeForCharacterOffset(node, end);\n\n if (startMarker && endMarker) {\n var range = document.createRange();\n range.setStart(startMarker.node, startMarker.offset);\n selection.removeAllRanges();\n\n if (start > end) {\n selection.addRange(range);\n selection.extend(endMarker.node, endMarker.offset);\n } else {\n range.setEnd(endMarker.node, endMarker.offset);\n selection.addRange(range);\n }\n }\n}\n\nvar useIEOffsets = ExecutionEnvironment.canUseDOM && 'selection' in document && !('getSelection' in window);\n\nvar ReactDOMSelection = {\n /**\n * @param {DOMElement} node\n */\n getOffsets: useIEOffsets ? getIEOffsets : getModernOffsets,\n\n /**\n * @param {DOMElement|DOMTextNode} node\n * @param {object} offsets\n */\n setOffsets: useIEOffsets ? setIEOffsets : setModernOffsets\n};\n\nmodule.exports = ReactDOMSelection;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDOMSelection.js\n// module id = 191\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactDOMSelection.js?"); /***/ }), /* 192 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6),\n _assign = __webpack_require__(8);\n\nvar DOMChildrenOperations = __webpack_require__(56);\nvar DOMLazyTree = __webpack_require__(29);\nvar ReactDOMComponentTree = __webpack_require__(7);\n\nvar escapeTextContentForBrowser = __webpack_require__(49);\nvar invariant = __webpack_require__(3);\nvar validateDOMNesting = __webpack_require__(70);\n\n/**\n * Text nodes violate a couple assumptions that React makes about components:\n *\n * - When mounting text into the DOM, adjacent text nodes are merged.\n * - Text nodes cannot be assigned a React root ID.\n *\n * This component is used to wrap strings between comment nodes so that they\n * can undergo the same reconciliation that is applied to elements.\n *\n * TODO: Investigate representing React components in the DOM with text nodes.\n *\n * @class ReactDOMTextComponent\n * @extends ReactComponent\n * @internal\n */\nvar ReactDOMTextComponent = function (text) {\n // TODO: This is really a ReactText (ReactNode), not a ReactElement\n this._currentElement = text;\n this._stringText = '' + text;\n // ReactDOMComponentTree uses these:\n this._hostNode = null;\n this._hostParent = null;\n\n // Properties\n this._domID = 0;\n this._mountIndex = 0;\n this._closingComment = null;\n this._commentNodes = null;\n};\n\n_assign(ReactDOMTextComponent.prototype, {\n /**\n * Creates the markup for this text node. This node is not intended to have\n * any features besides containing text content.\n *\n * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n * @return {string} Markup for this text node.\n * @internal\n */\n mountComponent: function (transaction, hostParent, hostContainerInfo, context) {\n if (process.env.NODE_ENV !== 'production') {\n var parentInfo;\n if (hostParent != null) {\n parentInfo = hostParent._ancestorInfo;\n } else if (hostContainerInfo != null) {\n parentInfo = hostContainerInfo._ancestorInfo;\n }\n if (parentInfo) {\n // parentInfo should always be present except for the top-level\n // component when server rendering\n validateDOMNesting(null, this._stringText, this, parentInfo);\n }\n }\n\n var domID = hostContainerInfo._idCounter++;\n var openingValue = ' react-text: ' + domID + ' ';\n var closingValue = ' /react-text ';\n this._domID = domID;\n this._hostParent = hostParent;\n if (transaction.useCreateElement) {\n var ownerDocument = hostContainerInfo._ownerDocument;\n var openingComment = ownerDocument.createComment(openingValue);\n var closingComment = ownerDocument.createComment(closingValue);\n var lazyTree = DOMLazyTree(ownerDocument.createDocumentFragment());\n DOMLazyTree.queueChild(lazyTree, DOMLazyTree(openingComment));\n if (this._stringText) {\n DOMLazyTree.queueChild(lazyTree, DOMLazyTree(ownerDocument.createTextNode(this._stringText)));\n }\n DOMLazyTree.queueChild(lazyTree, DOMLazyTree(closingComment));\n ReactDOMComponentTree.precacheNode(this, openingComment);\n this._closingComment = closingComment;\n return lazyTree;\n } else {\n var escapedText = escapeTextContentForBrowser(this._stringText);\n\n if (transaction.renderToStaticMarkup) {\n // Normally we'd wrap this between comment nodes for the reasons stated\n // above, but since this is a situation where React won't take over\n // (static pages), we can simply return the text as it is.\n return escapedText;\n }\n\n return '<!--' + openingValue + '-->' + escapedText + '<!--' + closingValue + '-->';\n }\n },\n\n /**\n * Updates this component by updating the text content.\n *\n * @param {ReactText} nextText The next text content\n * @param {ReactReconcileTransaction} transaction\n * @internal\n */\n receiveComponent: function (nextText, transaction) {\n if (nextText !== this._currentElement) {\n this._currentElement = nextText;\n var nextStringText = '' + nextText;\n if (nextStringText !== this._stringText) {\n // TODO: Save this as pending props and use performUpdateIfNecessary\n // and/or updateComponent to do the actual update for consistency with\n // other component types?\n this._stringText = nextStringText;\n var commentNodes = this.getHostNode();\n DOMChildrenOperations.replaceDelimitedText(commentNodes[0], commentNodes[1], nextStringText);\n }\n }\n },\n\n getHostNode: function () {\n var hostNode = this._commentNodes;\n if (hostNode) {\n return hostNode;\n }\n if (!this._closingComment) {\n var openingComment = ReactDOMComponentTree.getNodeFromInstance(this);\n var node = openingComment.nextSibling;\n while (true) {\n !(node != null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Missing closing comment for text component %s', this._domID) : _prodInvariant('67', this._domID) : void 0;\n if (node.nodeType === 8 && node.nodeValue === ' /react-text ') {\n this._closingComment = node;\n break;\n }\n node = node.nextSibling;\n }\n }\n hostNode = [this._hostNode, this._closingComment];\n this._commentNodes = hostNode;\n return hostNode;\n },\n\n unmountComponent: function () {\n this._closingComment = null;\n this._commentNodes = null;\n ReactDOMComponentTree.uncacheNode(this);\n }\n});\n\nmodule.exports = ReactDOMTextComponent;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDOMTextComponent.js\n// module id = 192\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactDOMTextComponent.js?"); /***/ }), /* 193 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6),\n _assign = __webpack_require__(8);\n\nvar LinkedValueUtils = __webpack_require__(60);\nvar ReactDOMComponentTree = __webpack_require__(7);\nvar ReactUpdates = __webpack_require__(16);\n\nvar invariant = __webpack_require__(3);\nvar warning = __webpack_require__(4);\n\nvar didWarnValueLink = false;\nvar didWarnValDefaultVal = false;\n\nfunction forceUpdateIfMounted() {\n if (this._rootNodeID) {\n // DOM component is still mounted; update\n ReactDOMTextarea.updateWrapper(this);\n }\n}\n\n/**\n * Implements a <textarea> host component that allows setting `value`, and\n * `defaultValue`. This differs from the traditional DOM API because value is\n * usually set as PCDATA children.\n *\n * If `value` is not supplied (or null/undefined), user actions that affect the\n * value will trigger updates to the element.\n *\n * If `value` is supplied (and not null/undefined), the rendered element will\n * not trigger updates to the element. Instead, the `value` prop must change in\n * order for the rendered element to be updated.\n *\n * The rendered element will be initialized with an empty value, the prop\n * `defaultValue` if specified, or the children content (deprecated).\n */\nvar ReactDOMTextarea = {\n getHostProps: function (inst, props) {\n !(props.dangerouslySetInnerHTML == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, '`dangerouslySetInnerHTML` does not make sense on <textarea>.') : _prodInvariant('91') : void 0;\n\n // Always set children to the same thing. In IE9, the selection range will\n // get reset if `textContent` is mutated. We could add a check in setTextContent\n // to only set the value if/when the value differs from the node value (which would\n // completely solve this IE9 bug), but Sebastian+Ben seemed to like this solution.\n // The value can be a boolean or object so that's why it's forced to be a string.\n var hostProps = _assign({}, props, {\n value: undefined,\n defaultValue: undefined,\n children: '' + inst._wrapperState.initialValue,\n onChange: inst._wrapperState.onChange\n });\n\n return hostProps;\n },\n\n mountWrapper: function (inst, props) {\n if (process.env.NODE_ENV !== 'production') {\n LinkedValueUtils.checkPropTypes('textarea', props, inst._currentElement._owner);\n if (props.valueLink !== undefined && !didWarnValueLink) {\n process.env.NODE_ENV !== 'production' ? warning(false, '`valueLink` prop on `textarea` is deprecated; set `value` and `onChange` instead.') : void 0;\n didWarnValueLink = true;\n }\n if (props.value !== undefined && props.defaultValue !== undefined && !didWarnValDefaultVal) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Textarea elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled textarea ' + 'and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components') : void 0;\n didWarnValDefaultVal = true;\n }\n }\n\n var value = LinkedValueUtils.getValue(props);\n var initialValue = value;\n\n // Only bother fetching default value if we're going to use it\n if (value == null) {\n var defaultValue = props.defaultValue;\n // TODO (yungsters): Remove support for children content in <textarea>.\n var children = props.children;\n if (children != null) {\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Use the `defaultValue` or `value` props instead of setting ' + 'children on <textarea>.') : void 0;\n }\n !(defaultValue == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'If you supply `defaultValue` on a <textarea>, do not pass children.') : _prodInvariant('92') : void 0;\n if (Array.isArray(children)) {\n !(children.length <= 1) ? process.env.NODE_ENV !== 'production' ? invariant(false, '<textarea> can only have at most one child.') : _prodInvariant('93') : void 0;\n children = children[0];\n }\n\n defaultValue = '' + children;\n }\n if (defaultValue == null) {\n defaultValue = '';\n }\n initialValue = defaultValue;\n }\n\n inst._wrapperState = {\n initialValue: '' + initialValue,\n listeners: null,\n onChange: _handleChange.bind(inst)\n };\n },\n\n updateWrapper: function (inst) {\n var props = inst._currentElement.props;\n\n var node = ReactDOMComponentTree.getNodeFromInstance(inst);\n var value = LinkedValueUtils.getValue(props);\n if (value != null) {\n // Cast `value` to a string to ensure the value is set correctly. While\n // browsers typically do this as necessary, jsdom doesn't.\n var newValue = '' + value;\n\n // To avoid side effects (such as losing text selection), only set value if changed\n if (newValue !== node.value) {\n node.value = newValue;\n }\n if (props.defaultValue == null) {\n node.defaultValue = newValue;\n }\n }\n if (props.defaultValue != null) {\n node.defaultValue = props.defaultValue;\n }\n },\n\n postMountWrapper: function (inst) {\n // This is in postMount because we need access to the DOM node, which is not\n // available until after the component has mounted.\n var node = ReactDOMComponentTree.getNodeFromInstance(inst);\n var textContent = node.textContent;\n\n // Only set node.value if textContent is equal to the expected\n // initial value. In IE10/IE11 there is a bug where the placeholder attribute\n // will populate textContent as well.\n // https://developer.microsoft.com/microsoft-edge/platform/issues/101525/\n if (textContent === inst._wrapperState.initialValue) {\n node.value = textContent;\n }\n }\n};\n\nfunction _handleChange(event) {\n var props = this._currentElement.props;\n var returnValue = LinkedValueUtils.executeOnChange(props, event);\n ReactUpdates.asap(forceUpdateIfMounted, this);\n return returnValue;\n}\n\nmodule.exports = ReactDOMTextarea;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDOMTextarea.js\n// module id = 193\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactDOMTextarea.js?"); /***/ }), /* 194 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6);\n\nvar invariant = __webpack_require__(3);\n\n/**\n * Return the lowest common ancestor of A and B, or null if they are in\n * different trees.\n */\nfunction getLowestCommonAncestor(instA, instB) {\n !('_hostNode' in instA) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'getNodeFromInstance: Invalid argument.') : _prodInvariant('33') : void 0;\n !('_hostNode' in instB) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'getNodeFromInstance: Invalid argument.') : _prodInvariant('33') : void 0;\n\n var depthA = 0;\n for (var tempA = instA; tempA; tempA = tempA._hostParent) {\n depthA++;\n }\n var depthB = 0;\n for (var tempB = instB; tempB; tempB = tempB._hostParent) {\n depthB++;\n }\n\n // If A is deeper, crawl up.\n while (depthA - depthB > 0) {\n instA = instA._hostParent;\n depthA--;\n }\n\n // If B is deeper, crawl up.\n while (depthB - depthA > 0) {\n instB = instB._hostParent;\n depthB--;\n }\n\n // Walk in lockstep until we find a match.\n var depth = depthA;\n while (depth--) {\n if (instA === instB) {\n return instA;\n }\n instA = instA._hostParent;\n instB = instB._hostParent;\n }\n return null;\n}\n\n/**\n * Return if A is an ancestor of B.\n */\nfunction isAncestor(instA, instB) {\n !('_hostNode' in instA) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'isAncestor: Invalid argument.') : _prodInvariant('35') : void 0;\n !('_hostNode' in instB) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'isAncestor: Invalid argument.') : _prodInvariant('35') : void 0;\n\n while (instB) {\n if (instB === instA) {\n return true;\n }\n instB = instB._hostParent;\n }\n return false;\n}\n\n/**\n * Return the parent instance of the passed-in instance.\n */\nfunction getParentInstance(inst) {\n !('_hostNode' in inst) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'getParentInstance: Invalid argument.') : _prodInvariant('36') : void 0;\n\n return inst._hostParent;\n}\n\n/**\n * Simulates the traversal of a two-phase, capture/bubble event dispatch.\n */\nfunction traverseTwoPhase(inst, fn, arg) {\n var path = [];\n while (inst) {\n path.push(inst);\n inst = inst._hostParent;\n }\n var i;\n for (i = path.length; i-- > 0;) {\n fn(path[i], 'captured', arg);\n }\n for (i = 0; i < path.length; i++) {\n fn(path[i], 'bubbled', arg);\n }\n}\n\n/**\n * Traverses the ID hierarchy and invokes the supplied `cb` on any IDs that\n * should would receive a `mouseEnter` or `mouseLeave` event.\n *\n * Does not invoke the callback on the nearest common ancestor because nothing\n * \"entered\" or \"left\" that element.\n */\nfunction traverseEnterLeave(from, to, fn, argFrom, argTo) {\n var common = from && to ? getLowestCommonAncestor(from, to) : null;\n var pathFrom = [];\n while (from && from !== common) {\n pathFrom.push(from);\n from = from._hostParent;\n }\n var pathTo = [];\n while (to && to !== common) {\n pathTo.push(to);\n to = to._hostParent;\n }\n var i;\n for (i = 0; i < pathFrom.length; i++) {\n fn(pathFrom[i], 'bubbled', argFrom);\n }\n for (i = pathTo.length; i-- > 0;) {\n fn(pathTo[i], 'captured', argTo);\n }\n}\n\nmodule.exports = {\n isAncestor: isAncestor,\n getLowestCommonAncestor: getLowestCommonAncestor,\n getParentInstance: getParentInstance,\n traverseTwoPhase: traverseTwoPhase,\n traverseEnterLeave: traverseEnterLeave\n};\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDOMTreeTraversal.js\n// module id = 194\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactDOMTreeTraversal.js?"); /***/ }), /* 195 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar DOMProperty = __webpack_require__(23);\nvar EventPluginRegistry = __webpack_require__(45);\nvar ReactComponentTreeHook = __webpack_require__(10);\n\nvar warning = __webpack_require__(4);\n\nif (process.env.NODE_ENV !== 'production') {\n var reactProps = {\n children: true,\n dangerouslySetInnerHTML: true,\n key: true,\n ref: true,\n\n autoFocus: true,\n defaultValue: true,\n valueLink: true,\n defaultChecked: true,\n checkedLink: true,\n innerHTML: true,\n suppressContentEditableWarning: true,\n onFocusIn: true,\n onFocusOut: true\n };\n var warnedProperties = {};\n\n var validateProperty = function (tagName, name, debugID) {\n if (DOMProperty.properties.hasOwnProperty(name) || DOMProperty.isCustomAttribute(name)) {\n return true;\n }\n if (reactProps.hasOwnProperty(name) && reactProps[name] || warnedProperties.hasOwnProperty(name) && warnedProperties[name]) {\n return true;\n }\n if (EventPluginRegistry.registrationNameModules.hasOwnProperty(name)) {\n return true;\n }\n warnedProperties[name] = true;\n var lowerCasedName = name.toLowerCase();\n\n // data-* attributes should be lowercase; suggest the lowercase version\n var standardName = DOMProperty.isCustomAttribute(lowerCasedName) ? lowerCasedName : DOMProperty.getPossibleStandardName.hasOwnProperty(lowerCasedName) ? DOMProperty.getPossibleStandardName[lowerCasedName] : null;\n\n var registrationName = EventPluginRegistry.possibleRegistrationNames.hasOwnProperty(lowerCasedName) ? EventPluginRegistry.possibleRegistrationNames[lowerCasedName] : null;\n\n if (standardName != null) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Unknown DOM property %s. Did you mean %s?%s', name, standardName, ReactComponentTreeHook.getStackAddendumByID(debugID)) : void 0;\n return true;\n } else if (registrationName != null) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Unknown event handler property %s. Did you mean `%s`?%s', name, registrationName, ReactComponentTreeHook.getStackAddendumByID(debugID)) : void 0;\n return true;\n } else {\n // We were unable to guess which prop the user intended.\n // It is likely that the user was just blindly spreading/forwarding props\n // Components should be careful to only render valid props/attributes.\n // Warning will be invoked in warnUnknownProperties to allow grouping.\n return false;\n }\n };\n}\n\nvar warnUnknownProperties = function (debugID, element) {\n var unknownProps = [];\n for (var key in element.props) {\n var isValid = validateProperty(element.type, key, debugID);\n if (!isValid) {\n unknownProps.push(key);\n }\n }\n\n var unknownPropString = unknownProps.map(function (prop) {\n return '`' + prop + '`';\n }).join(', ');\n\n if (unknownProps.length === 1) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Unknown prop %s on <%s> tag. Remove this prop from the element. ' + 'For details, see https://fb.me/react-unknown-prop%s', unknownPropString, element.type, ReactComponentTreeHook.getStackAddendumByID(debugID)) : void 0;\n } else if (unknownProps.length > 1) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Unknown props %s on <%s> tag. Remove these props from the element. ' + 'For details, see https://fb.me/react-unknown-prop%s', unknownPropString, element.type, ReactComponentTreeHook.getStackAddendumByID(debugID)) : void 0;\n }\n};\n\nfunction handleElement(debugID, element) {\n if (element == null || typeof element.type !== 'string') {\n return;\n }\n if (element.type.indexOf('-') >= 0 || element.props.is) {\n return;\n }\n warnUnknownProperties(debugID, element);\n}\n\nvar ReactDOMUnknownPropertyHook = {\n onBeforeMountComponent: function (debugID, element) {\n handleElement(debugID, element);\n },\n onBeforeUpdateComponent: function (debugID, element) {\n handleElement(debugID, element);\n }\n};\n\nmodule.exports = ReactDOMUnknownPropertyHook;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDOMUnknownPropertyHook.js\n// module id = 195\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactDOMUnknownPropertyHook.js?"); /***/ }), /* 196 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2016-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar ReactInvalidSetStateWarningHook = __webpack_require__(204);\nvar ReactHostOperationHistoryHook = __webpack_require__(202);\nvar ReactComponentTreeHook = __webpack_require__(10);\nvar ExecutionEnvironment = __webpack_require__(9);\n\nvar performanceNow = __webpack_require__(164);\nvar warning = __webpack_require__(4);\n\nvar hooks = [];\nvar didHookThrowForEvent = {};\n\nfunction callHook(event, fn, context, arg1, arg2, arg3, arg4, arg5) {\n try {\n fn.call(context, arg1, arg2, arg3, arg4, arg5);\n } catch (e) {\n process.env.NODE_ENV !== 'production' ? warning(didHookThrowForEvent[event], 'Exception thrown by hook while handling %s: %s', event, e + '\\n' + e.stack) : void 0;\n didHookThrowForEvent[event] = true;\n }\n}\n\nfunction emitEvent(event, arg1, arg2, arg3, arg4, arg5) {\n for (var i = 0; i < hooks.length; i++) {\n var hook = hooks[i];\n var fn = hook[event];\n if (fn) {\n callHook(event, fn, hook, arg1, arg2, arg3, arg4, arg5);\n }\n }\n}\n\nvar isProfiling = false;\nvar flushHistory = [];\nvar lifeCycleTimerStack = [];\nvar currentFlushNesting = 0;\nvar currentFlushMeasurements = [];\nvar currentFlushStartTime = 0;\nvar currentTimerDebugID = null;\nvar currentTimerStartTime = 0;\nvar currentTimerNestedFlushDuration = 0;\nvar currentTimerType = null;\n\nvar lifeCycleTimerHasWarned = false;\n\nfunction clearHistory() {\n ReactComponentTreeHook.purgeUnmountedComponents();\n ReactHostOperationHistoryHook.clearHistory();\n}\n\nfunction getTreeSnapshot(registeredIDs) {\n return registeredIDs.reduce(function (tree, id) {\n var ownerID = ReactComponentTreeHook.getOwnerID(id);\n var parentID = ReactComponentTreeHook.getParentID(id);\n tree[id] = {\n displayName: ReactComponentTreeHook.getDisplayName(id),\n text: ReactComponentTreeHook.getText(id),\n updateCount: ReactComponentTreeHook.getUpdateCount(id),\n childIDs: ReactComponentTreeHook.getChildIDs(id),\n // Text nodes don't have owners but this is close enough.\n ownerID: ownerID || parentID && ReactComponentTreeHook.getOwnerID(parentID) || 0,\n parentID: parentID\n };\n return tree;\n }, {});\n}\n\nfunction resetMeasurements() {\n var previousStartTime = currentFlushStartTime;\n var previousMeasurements = currentFlushMeasurements;\n var previousOperations = ReactHostOperationHistoryHook.getHistory();\n\n if (currentFlushNesting === 0) {\n currentFlushStartTime = 0;\n currentFlushMeasurements = [];\n clearHistory();\n return;\n }\n\n if (previousMeasurements.length || previousOperations.length) {\n var registeredIDs = ReactComponentTreeHook.getRegisteredIDs();\n flushHistory.push({\n duration: performanceNow() - previousStartTime,\n measurements: previousMeasurements || [],\n operations: previousOperations || [],\n treeSnapshot: getTreeSnapshot(registeredIDs)\n });\n }\n\n clearHistory();\n currentFlushStartTime = performanceNow();\n currentFlushMeasurements = [];\n}\n\nfunction checkDebugID(debugID) {\n var allowRoot = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n if (allowRoot && debugID === 0) {\n return;\n }\n if (!debugID) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'ReactDebugTool: debugID may not be empty.') : void 0;\n }\n}\n\nfunction beginLifeCycleTimer(debugID, timerType) {\n if (currentFlushNesting === 0) {\n return;\n }\n if (currentTimerType && !lifeCycleTimerHasWarned) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'There is an internal error in the React performance measurement code. ' + 'Did not expect %s timer to start while %s timer is still in ' + 'progress for %s instance.', timerType, currentTimerType || 'no', debugID === currentTimerDebugID ? 'the same' : 'another') : void 0;\n lifeCycleTimerHasWarned = true;\n }\n currentTimerStartTime = performanceNow();\n currentTimerNestedFlushDuration = 0;\n currentTimerDebugID = debugID;\n currentTimerType = timerType;\n}\n\nfunction endLifeCycleTimer(debugID, timerType) {\n if (currentFlushNesting === 0) {\n return;\n }\n if (currentTimerType !== timerType && !lifeCycleTimerHasWarned) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'There is an internal error in the React performance measurement code. ' + 'We did not expect %s timer to stop while %s timer is still in ' + 'progress for %s instance. Please report this as a bug in React.', timerType, currentTimerType || 'no', debugID === currentTimerDebugID ? 'the same' : 'another') : void 0;\n lifeCycleTimerHasWarned = true;\n }\n if (isProfiling) {\n currentFlushMeasurements.push({\n timerType: timerType,\n instanceID: debugID,\n duration: performanceNow() - currentTimerStartTime - currentTimerNestedFlushDuration\n });\n }\n currentTimerStartTime = 0;\n currentTimerNestedFlushDuration = 0;\n currentTimerDebugID = null;\n currentTimerType = null;\n}\n\nfunction pauseCurrentLifeCycleTimer() {\n var currentTimer = {\n startTime: currentTimerStartTime,\n nestedFlushStartTime: performanceNow(),\n debugID: currentTimerDebugID,\n timerType: currentTimerType\n };\n lifeCycleTimerStack.push(currentTimer);\n currentTimerStartTime = 0;\n currentTimerNestedFlushDuration = 0;\n currentTimerDebugID = null;\n currentTimerType = null;\n}\n\nfunction resumeCurrentLifeCycleTimer() {\n var _lifeCycleTimerStack$ = lifeCycleTimerStack.pop(),\n startTime = _lifeCycleTimerStack$.startTime,\n nestedFlushStartTime = _lifeCycleTimerStack$.nestedFlushStartTime,\n debugID = _lifeCycleTimerStack$.debugID,\n timerType = _lifeCycleTimerStack$.timerType;\n\n var nestedFlushDuration = performanceNow() - nestedFlushStartTime;\n currentTimerStartTime = startTime;\n currentTimerNestedFlushDuration += nestedFlushDuration;\n currentTimerDebugID = debugID;\n currentTimerType = timerType;\n}\n\nvar lastMarkTimeStamp = 0;\nvar canUsePerformanceMeasure = typeof performance !== 'undefined' && typeof performance.mark === 'function' && typeof performance.clearMarks === 'function' && typeof performance.measure === 'function' && typeof performance.clearMeasures === 'function';\n\nfunction shouldMark(debugID) {\n if (!isProfiling || !canUsePerformanceMeasure) {\n return false;\n }\n var element = ReactComponentTreeHook.getElement(debugID);\n if (element == null || typeof element !== 'object') {\n return false;\n }\n var isHostElement = typeof element.type === 'string';\n if (isHostElement) {\n return false;\n }\n return true;\n}\n\nfunction markBegin(debugID, markType) {\n if (!shouldMark(debugID)) {\n return;\n }\n\n var markName = debugID + '::' + markType;\n lastMarkTimeStamp = performanceNow();\n performance.mark(markName);\n}\n\nfunction markEnd(debugID, markType) {\n if (!shouldMark(debugID)) {\n return;\n }\n\n var markName = debugID + '::' + markType;\n var displayName = ReactComponentTreeHook.getDisplayName(debugID) || 'Unknown';\n\n // Chrome has an issue of dropping markers recorded too fast:\n // https://bugs.chromium.org/p/chromium/issues/detail?id=640652\n // To work around this, we will not report very small measurements.\n // I determined the magic number by tweaking it back and forth.\n // 0.05ms was enough to prevent the issue, but I set it to 0.1ms to be safe.\n // When the bug is fixed, we can `measure()` unconditionally if we want to.\n var timeStamp = performanceNow();\n if (timeStamp - lastMarkTimeStamp > 0.1) {\n var measurementName = displayName + ' [' + markType + ']';\n performance.measure(measurementName, markName);\n }\n\n performance.clearMarks(markName);\n if (measurementName) {\n performance.clearMeasures(measurementName);\n }\n}\n\nvar ReactDebugTool = {\n addHook: function (hook) {\n hooks.push(hook);\n },\n removeHook: function (hook) {\n for (var i = 0; i < hooks.length; i++) {\n if (hooks[i] === hook) {\n hooks.splice(i, 1);\n i--;\n }\n }\n },\n isProfiling: function () {\n return isProfiling;\n },\n beginProfiling: function () {\n if (isProfiling) {\n return;\n }\n\n isProfiling = true;\n flushHistory.length = 0;\n resetMeasurements();\n ReactDebugTool.addHook(ReactHostOperationHistoryHook);\n },\n endProfiling: function () {\n if (!isProfiling) {\n return;\n }\n\n isProfiling = false;\n resetMeasurements();\n ReactDebugTool.removeHook(ReactHostOperationHistoryHook);\n },\n getFlushHistory: function () {\n return flushHistory;\n },\n onBeginFlush: function () {\n currentFlushNesting++;\n resetMeasurements();\n pauseCurrentLifeCycleTimer();\n emitEvent('onBeginFlush');\n },\n onEndFlush: function () {\n resetMeasurements();\n currentFlushNesting--;\n resumeCurrentLifeCycleTimer();\n emitEvent('onEndFlush');\n },\n onBeginLifeCycleTimer: function (debugID, timerType) {\n checkDebugID(debugID);\n emitEvent('onBeginLifeCycleTimer', debugID, timerType);\n markBegin(debugID, timerType);\n beginLifeCycleTimer(debugID, timerType);\n },\n onEndLifeCycleTimer: function (debugID, timerType) {\n checkDebugID(debugID);\n endLifeCycleTimer(debugID, timerType);\n markEnd(debugID, timerType);\n emitEvent('onEndLifeCycleTimer', debugID, timerType);\n },\n onBeginProcessingChildContext: function () {\n emitEvent('onBeginProcessingChildContext');\n },\n onEndProcessingChildContext: function () {\n emitEvent('onEndProcessingChildContext');\n },\n onHostOperation: function (operation) {\n checkDebugID(operation.instanceID);\n emitEvent('onHostOperation', operation);\n },\n onSetState: function () {\n emitEvent('onSetState');\n },\n onSetChildren: function (debugID, childDebugIDs) {\n checkDebugID(debugID);\n childDebugIDs.forEach(checkDebugID);\n emitEvent('onSetChildren', debugID, childDebugIDs);\n },\n onBeforeMountComponent: function (debugID, element, parentDebugID) {\n checkDebugID(debugID);\n checkDebugID(parentDebugID, true);\n emitEvent('onBeforeMountComponent', debugID, element, parentDebugID);\n markBegin(debugID, 'mount');\n },\n onMountComponent: function (debugID) {\n checkDebugID(debugID);\n markEnd(debugID, 'mount');\n emitEvent('onMountComponent', debugID);\n },\n onBeforeUpdateComponent: function (debugID, element) {\n checkDebugID(debugID);\n emitEvent('onBeforeUpdateComponent', debugID, element);\n markBegin(debugID, 'update');\n },\n onUpdateComponent: function (debugID) {\n checkDebugID(debugID);\n markEnd(debugID, 'update');\n emitEvent('onUpdateComponent', debugID);\n },\n onBeforeUnmountComponent: function (debugID) {\n checkDebugID(debugID);\n emitEvent('onBeforeUnmountComponent', debugID);\n markBegin(debugID, 'unmount');\n },\n onUnmountComponent: function (debugID) {\n checkDebugID(debugID);\n markEnd(debugID, 'unmount');\n emitEvent('onUnmountComponent', debugID);\n },\n onTestEvent: function () {\n emitEvent('onTestEvent');\n }\n};\n\n// TODO remove these when RN/www gets updated\nReactDebugTool.addDevtool = ReactDebugTool.addHook;\nReactDebugTool.removeDevtool = ReactDebugTool.removeHook;\n\nReactDebugTool.addHook(ReactInvalidSetStateWarningHook);\nReactDebugTool.addHook(ReactComponentTreeHook);\nvar url = ExecutionEnvironment.canUseDOM && window.location.href || '';\nif (/[?&]react_perf\\b/.test(url)) {\n ReactDebugTool.beginProfiling();\n}\n\nmodule.exports = ReactDebugTool;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDebugTool.js\n// module id = 196\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactDebugTool.js?"); /***/ }), /* 197 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _assign = __webpack_require__(8);\n\nvar ReactUpdates = __webpack_require__(16);\nvar Transaction = __webpack_require__(48);\n\nvar emptyFunction = __webpack_require__(14);\n\nvar RESET_BATCHED_UPDATES = {\n initialize: emptyFunction,\n close: function () {\n ReactDefaultBatchingStrategy.isBatchingUpdates = false;\n }\n};\n\nvar FLUSH_BATCHED_UPDATES = {\n initialize: emptyFunction,\n close: ReactUpdates.flushBatchedUpdates.bind(ReactUpdates)\n};\n\nvar TRANSACTION_WRAPPERS = [FLUSH_BATCHED_UPDATES, RESET_BATCHED_UPDATES];\n\nfunction ReactDefaultBatchingStrategyTransaction() {\n this.reinitializeTransaction();\n}\n\n_assign(ReactDefaultBatchingStrategyTransaction.prototype, Transaction, {\n getTransactionWrappers: function () {\n return TRANSACTION_WRAPPERS;\n }\n});\n\nvar transaction = new ReactDefaultBatchingStrategyTransaction();\n\nvar ReactDefaultBatchingStrategy = {\n isBatchingUpdates: false,\n\n /**\n * Call the provided function in a context within which calls to `setState`\n * and friends are batched such that components aren't updated unnecessarily.\n */\n batchedUpdates: function (callback, a, b, c, d, e) {\n var alreadyBatchingUpdates = ReactDefaultBatchingStrategy.isBatchingUpdates;\n\n ReactDefaultBatchingStrategy.isBatchingUpdates = true;\n\n // The code is written this way to avoid extra allocations\n if (alreadyBatchingUpdates) {\n return callback(a, b, c, d, e);\n } else {\n return transaction.perform(callback, null, a, b, c, d, e);\n }\n }\n};\n\nmodule.exports = ReactDefaultBatchingStrategy;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDefaultBatchingStrategy.js\n// module id = 197\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactDefaultBatchingStrategy.js?"); /***/ }), /* 198 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar ARIADOMPropertyConfig = __webpack_require__(168);\nvar BeforeInputEventPlugin = __webpack_require__(170);\nvar ChangeEventPlugin = __webpack_require__(172);\nvar DefaultEventPluginOrder = __webpack_require__(174);\nvar EnterLeaveEventPlugin = __webpack_require__(175);\nvar HTMLDOMPropertyConfig = __webpack_require__(177);\nvar ReactComponentBrowserEnvironment = __webpack_require__(179);\nvar ReactDOMComponent = __webpack_require__(182);\nvar ReactDOMComponentTree = __webpack_require__(7);\nvar ReactDOMEmptyComponent = __webpack_require__(184);\nvar ReactDOMTreeTraversal = __webpack_require__(194);\nvar ReactDOMTextComponent = __webpack_require__(192);\nvar ReactDefaultBatchingStrategy = __webpack_require__(197);\nvar ReactEventListener = __webpack_require__(201);\nvar ReactInjection = __webpack_require__(203);\nvar ReactReconcileTransaction = __webpack_require__(209);\nvar SVGDOMPropertyConfig = __webpack_require__(214);\nvar SelectEventPlugin = __webpack_require__(215);\nvar SimpleEventPlugin = __webpack_require__(216);\n\nvar alreadyInjected = false;\n\nfunction inject() {\n if (alreadyInjected) {\n // TODO: This is currently true because these injections are shared between\n // the client and the server package. They should be built independently\n // and not share any injection state. Then this problem will be solved.\n return;\n }\n alreadyInjected = true;\n\n ReactInjection.EventEmitter.injectReactEventListener(ReactEventListener);\n\n /**\n * Inject modules for resolving DOM hierarchy and plugin ordering.\n */\n ReactInjection.EventPluginHub.injectEventPluginOrder(DefaultEventPluginOrder);\n ReactInjection.EventPluginUtils.injectComponentTree(ReactDOMComponentTree);\n ReactInjection.EventPluginUtils.injectTreeTraversal(ReactDOMTreeTraversal);\n\n /**\n * Some important event plugins included by default (without having to require\n * them).\n */\n ReactInjection.EventPluginHub.injectEventPluginsByName({\n SimpleEventPlugin: SimpleEventPlugin,\n EnterLeaveEventPlugin: EnterLeaveEventPlugin,\n ChangeEventPlugin: ChangeEventPlugin,\n SelectEventPlugin: SelectEventPlugin,\n BeforeInputEventPlugin: BeforeInputEventPlugin\n });\n\n ReactInjection.HostComponent.injectGenericComponentClass(ReactDOMComponent);\n\n ReactInjection.HostComponent.injectTextComponentClass(ReactDOMTextComponent);\n\n ReactInjection.DOMProperty.injectDOMPropertyConfig(ARIADOMPropertyConfig);\n ReactInjection.DOMProperty.injectDOMPropertyConfig(HTMLDOMPropertyConfig);\n ReactInjection.DOMProperty.injectDOMPropertyConfig(SVGDOMPropertyConfig);\n\n ReactInjection.EmptyComponent.injectEmptyComponentFactory(function (instantiate) {\n return new ReactDOMEmptyComponent(instantiate);\n });\n\n ReactInjection.Updates.injectReconcileTransaction(ReactReconcileTransaction);\n ReactInjection.Updates.injectBatchingStrategy(ReactDefaultBatchingStrategy);\n\n ReactInjection.Component.injectEnvironment(ReactComponentBrowserEnvironment);\n}\n\nmodule.exports = {\n inject: inject\n};\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactDefaultInjection.js\n// module id = 198\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactDefaultInjection.js?"); /***/ }), /* 199 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\n// The Symbol used to tag the ReactElement type. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\n\nvar REACT_ELEMENT_TYPE = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.element') || 0xeac7;\n\nmodule.exports = REACT_ELEMENT_TYPE;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactElementSymbol.js\n// module id = 199\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactElementSymbol.js?"); /***/ }), /* 200 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar EventPluginHub = __webpack_require__(35);\n\nfunction runEventQueueInBatch(events) {\n EventPluginHub.enqueueEvents(events);\n EventPluginHub.processEventQueue(false);\n}\n\nvar ReactEventEmitterMixin = {\n /**\n * Streams a fired top-level event to `EventPluginHub` where plugins have the\n * opportunity to create `ReactEvent`s to be dispatched.\n */\n handleTopLevel: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n var events = EventPluginHub.extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget);\n runEventQueueInBatch(events);\n }\n};\n\nmodule.exports = ReactEventEmitterMixin;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactEventEmitterMixin.js\n// module id = 200\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactEventEmitterMixin.js?"); /***/ }), /* 201 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _assign = __webpack_require__(8);\n\nvar EventListener = __webpack_require__(86);\nvar ExecutionEnvironment = __webpack_require__(9);\nvar PooledClass = __webpack_require__(26);\nvar ReactDOMComponentTree = __webpack_require__(7);\nvar ReactUpdates = __webpack_require__(16);\n\nvar getEventTarget = __webpack_require__(67);\nvar getUnboundedScrollPosition = __webpack_require__(157);\n\n/**\n * Find the deepest React component completely containing the root of the\n * passed-in instance (for use when entire React trees are nested within each\n * other). If React trees are not nested, returns null.\n */\nfunction findParent(inst) {\n // TODO: It may be a good idea to cache this to prevent unnecessary DOM\n // traversal, but caching is difficult to do correctly without using a\n // mutation observer to listen for all DOM changes.\n while (inst._hostParent) {\n inst = inst._hostParent;\n }\n var rootNode = ReactDOMComponentTree.getNodeFromInstance(inst);\n var container = rootNode.parentNode;\n return ReactDOMComponentTree.getClosestInstanceFromNode(container);\n}\n\n// Used to store ancestor hierarchy in top level callback\nfunction TopLevelCallbackBookKeeping(topLevelType, nativeEvent) {\n this.topLevelType = topLevelType;\n this.nativeEvent = nativeEvent;\n this.ancestors = [];\n}\n_assign(TopLevelCallbackBookKeeping.prototype, {\n destructor: function () {\n this.topLevelType = null;\n this.nativeEvent = null;\n this.ancestors.length = 0;\n }\n});\nPooledClass.addPoolingTo(TopLevelCallbackBookKeeping, PooledClass.twoArgumentPooler);\n\nfunction handleTopLevelImpl(bookKeeping) {\n var nativeEventTarget = getEventTarget(bookKeeping.nativeEvent);\n var targetInst = ReactDOMComponentTree.getClosestInstanceFromNode(nativeEventTarget);\n\n // Loop through the hierarchy, in case there's any nested components.\n // It's important that we build the array of ancestors before calling any\n // event handlers, because event handlers can modify the DOM, leading to\n // inconsistencies with ReactMount's node cache. See #1105.\n var ancestor = targetInst;\n do {\n bookKeeping.ancestors.push(ancestor);\n ancestor = ancestor && findParent(ancestor);\n } while (ancestor);\n\n for (var i = 0; i < bookKeeping.ancestors.length; i++) {\n targetInst = bookKeeping.ancestors[i];\n ReactEventListener._handleTopLevel(bookKeeping.topLevelType, targetInst, bookKeeping.nativeEvent, getEventTarget(bookKeeping.nativeEvent));\n }\n}\n\nfunction scrollValueMonitor(cb) {\n var scrollPosition = getUnboundedScrollPosition(window);\n cb(scrollPosition);\n}\n\nvar ReactEventListener = {\n _enabled: true,\n _handleTopLevel: null,\n\n WINDOW_HANDLE: ExecutionEnvironment.canUseDOM ? window : null,\n\n setHandleTopLevel: function (handleTopLevel) {\n ReactEventListener._handleTopLevel = handleTopLevel;\n },\n\n setEnabled: function (enabled) {\n ReactEventListener._enabled = !!enabled;\n },\n\n isEnabled: function () {\n return ReactEventListener._enabled;\n },\n\n /**\n * Traps top-level events by using event bubbling.\n *\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {string} handlerBaseName Event name (e.g. \"click\").\n * @param {object} element Element on which to attach listener.\n * @return {?object} An object with a remove function which will forcefully\n * remove the listener.\n * @internal\n */\n trapBubbledEvent: function (topLevelType, handlerBaseName, element) {\n if (!element) {\n return null;\n }\n return EventListener.listen(element, handlerBaseName, ReactEventListener.dispatchEvent.bind(null, topLevelType));\n },\n\n /**\n * Traps a top-level event by using event capturing.\n *\n * @param {string} topLevelType Record from `EventConstants`.\n * @param {string} handlerBaseName Event name (e.g. \"click\").\n * @param {object} element Element on which to attach listener.\n * @return {?object} An object with a remove function which will forcefully\n * remove the listener.\n * @internal\n */\n trapCapturedEvent: function (topLevelType, handlerBaseName, element) {\n if (!element) {\n return null;\n }\n return EventListener.capture(element, handlerBaseName, ReactEventListener.dispatchEvent.bind(null, topLevelType));\n },\n\n monitorScrollValue: function (refresh) {\n var callback = scrollValueMonitor.bind(null, refresh);\n EventListener.listen(window, 'scroll', callback);\n },\n\n dispatchEvent: function (topLevelType, nativeEvent) {\n if (!ReactEventListener._enabled) {\n return;\n }\n\n var bookKeeping = TopLevelCallbackBookKeeping.getPooled(topLevelType, nativeEvent);\n try {\n // Event queue being processed in the same cycle allows\n // `preventDefault`.\n ReactUpdates.batchedUpdates(handleTopLevelImpl, bookKeeping);\n } finally {\n TopLevelCallbackBookKeeping.release(bookKeeping);\n }\n }\n};\n\nmodule.exports = ReactEventListener;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactEventListener.js\n// module id = 201\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactEventListener.js?"); /***/ }), /* 202 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2016-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar history = [];\n\nvar ReactHostOperationHistoryHook = {\n onHostOperation: function (operation) {\n history.push(operation);\n },\n clearHistory: function () {\n if (ReactHostOperationHistoryHook._preventClearing) {\n // Should only be used for tests.\n return;\n }\n\n history = [];\n },\n getHistory: function () {\n return history;\n }\n};\n\nmodule.exports = ReactHostOperationHistoryHook;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactHostOperationHistoryHook.js\n// module id = 202\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactHostOperationHistoryHook.js?"); /***/ }), /* 203 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar DOMProperty = __webpack_require__(23);\nvar EventPluginHub = __webpack_require__(35);\nvar EventPluginUtils = __webpack_require__(58);\nvar ReactComponentEnvironment = __webpack_require__(61);\nvar ReactEmptyComponent = __webpack_require__(96);\nvar ReactBrowserEventEmitter = __webpack_require__(46);\nvar ReactHostComponent = __webpack_require__(98);\nvar ReactUpdates = __webpack_require__(16);\n\nvar ReactInjection = {\n Component: ReactComponentEnvironment.injection,\n DOMProperty: DOMProperty.injection,\n EmptyComponent: ReactEmptyComponent.injection,\n EventPluginHub: EventPluginHub.injection,\n EventPluginUtils: EventPluginUtils.injection,\n EventEmitter: ReactBrowserEventEmitter.injection,\n HostComponent: ReactHostComponent.injection,\n Updates: ReactUpdates.injection\n};\n\nmodule.exports = ReactInjection;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactInjection.js\n// module id = 203\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactInjection.js?"); /***/ }), /* 204 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2016-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar warning = __webpack_require__(4);\n\nif (process.env.NODE_ENV !== 'production') {\n var processingChildContext = false;\n\n var warnInvalidSetState = function () {\n process.env.NODE_ENV !== 'production' ? warning(!processingChildContext, 'setState(...): Cannot call setState() inside getChildContext()') : void 0;\n };\n}\n\nvar ReactInvalidSetStateWarningHook = {\n onBeginProcessingChildContext: function () {\n processingChildContext = true;\n },\n onEndProcessingChildContext: function () {\n processingChildContext = false;\n },\n onSetState: function () {\n warnInvalidSetState();\n }\n};\n\nmodule.exports = ReactInvalidSetStateWarningHook;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactInvalidSetStateWarningHook.js\n// module id = 204\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactInvalidSetStateWarningHook.js?"); /***/ }), /* 205 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar adler32 = __webpack_require__(227);\n\nvar TAG_END = /\\/?>/;\nvar COMMENT_START = /^<\\!\\-\\-/;\n\nvar ReactMarkupChecksum = {\n CHECKSUM_ATTR_NAME: 'data-react-checksum',\n\n /**\n * @param {string} markup Markup string\n * @return {string} Markup string with checksum attribute attached\n */\n addChecksumToMarkup: function (markup) {\n var checksum = adler32(markup);\n\n // Add checksum (handle both parent tags, comments and self-closing tags)\n if (COMMENT_START.test(markup)) {\n return markup;\n } else {\n return markup.replace(TAG_END, ' ' + ReactMarkupChecksum.CHECKSUM_ATTR_NAME + '=\"' + checksum + '\"$&');\n }\n },\n\n /**\n * @param {string} markup to use\n * @param {DOMElement} element root React element\n * @returns {boolean} whether or not the markup is the same\n */\n canReuseMarkup: function (markup, element) {\n var existingChecksum = element.getAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME);\n existingChecksum = existingChecksum && parseInt(existingChecksum, 10);\n var markupChecksum = adler32(markup);\n return markupChecksum === existingChecksum;\n }\n};\n\nmodule.exports = ReactMarkupChecksum;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactMarkupChecksum.js\n// module id = 205\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactMarkupChecksum.js?"); /***/ }), /* 206 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6);\n\nvar ReactComponentEnvironment = __webpack_require__(61);\nvar ReactInstanceMap = __webpack_require__(37);\nvar ReactInstrumentation = __webpack_require__(15);\n\nvar ReactCurrentOwner = __webpack_require__(17);\nvar ReactReconciler = __webpack_require__(30);\nvar ReactChildReconciler = __webpack_require__(178);\n\nvar emptyFunction = __webpack_require__(14);\nvar flattenChildren = __webpack_require__(231);\nvar invariant = __webpack_require__(3);\n\n/**\n * Make an update for markup to be rendered and inserted at a supplied index.\n *\n * @param {string} markup Markup that renders into an element.\n * @param {number} toIndex Destination index.\n * @private\n */\nfunction makeInsertMarkup(markup, afterNode, toIndex) {\n // NOTE: Null values reduce hidden classes.\n return {\n type: 'INSERT_MARKUP',\n content: markup,\n fromIndex: null,\n fromNode: null,\n toIndex: toIndex,\n afterNode: afterNode\n };\n}\n\n/**\n * Make an update for moving an existing element to another index.\n *\n * @param {number} fromIndex Source index of the existing element.\n * @param {number} toIndex Destination index of the element.\n * @private\n */\nfunction makeMove(child, afterNode, toIndex) {\n // NOTE: Null values reduce hidden classes.\n return {\n type: 'MOVE_EXISTING',\n content: null,\n fromIndex: child._mountIndex,\n fromNode: ReactReconciler.getHostNode(child),\n toIndex: toIndex,\n afterNode: afterNode\n };\n}\n\n/**\n * Make an update for removing an element at an index.\n *\n * @param {number} fromIndex Index of the element to remove.\n * @private\n */\nfunction makeRemove(child, node) {\n // NOTE: Null values reduce hidden classes.\n return {\n type: 'REMOVE_NODE',\n content: null,\n fromIndex: child._mountIndex,\n fromNode: node,\n toIndex: null,\n afterNode: null\n };\n}\n\n/**\n * Make an update for setting the markup of a node.\n *\n * @param {string} markup Markup that renders into an element.\n * @private\n */\nfunction makeSetMarkup(markup) {\n // NOTE: Null values reduce hidden classes.\n return {\n type: 'SET_MARKUP',\n content: markup,\n fromIndex: null,\n fromNode: null,\n toIndex: null,\n afterNode: null\n };\n}\n\n/**\n * Make an update for setting the text content.\n *\n * @param {string} textContent Text content to set.\n * @private\n */\nfunction makeTextContent(textContent) {\n // NOTE: Null values reduce hidden classes.\n return {\n type: 'TEXT_CONTENT',\n content: textContent,\n fromIndex: null,\n fromNode: null,\n toIndex: null,\n afterNode: null\n };\n}\n\n/**\n * Push an update, if any, onto the queue. Creates a new queue if none is\n * passed and always returns the queue. Mutative.\n */\nfunction enqueue(queue, update) {\n if (update) {\n queue = queue || [];\n queue.push(update);\n }\n return queue;\n}\n\n/**\n * Processes any enqueued updates.\n *\n * @private\n */\nfunction processQueue(inst, updateQueue) {\n ReactComponentEnvironment.processChildrenUpdates(inst, updateQueue);\n}\n\nvar setChildrenForInstrumentation = emptyFunction;\nif (process.env.NODE_ENV !== 'production') {\n var getDebugID = function (inst) {\n if (!inst._debugID) {\n // Check for ART-like instances. TODO: This is silly/gross.\n var internal;\n if (internal = ReactInstanceMap.get(inst)) {\n inst = internal;\n }\n }\n return inst._debugID;\n };\n setChildrenForInstrumentation = function (children) {\n var debugID = getDebugID(this);\n // TODO: React Native empty components are also multichild.\n // This means they still get into this method but don't have _debugID.\n if (debugID !== 0) {\n ReactInstrumentation.debugTool.onSetChildren(debugID, children ? Object.keys(children).map(function (key) {\n return children[key]._debugID;\n }) : []);\n }\n };\n}\n\n/**\n * ReactMultiChild are capable of reconciling multiple children.\n *\n * @class ReactMultiChild\n * @internal\n */\nvar ReactMultiChild = {\n /**\n * Provides common functionality for components that must reconcile multiple\n * children. This is used by `ReactDOMComponent` to mount, update, and\n * unmount child components.\n *\n * @lends {ReactMultiChild.prototype}\n */\n Mixin: {\n _reconcilerInstantiateChildren: function (nestedChildren, transaction, context) {\n if (process.env.NODE_ENV !== 'production') {\n var selfDebugID = getDebugID(this);\n if (this._currentElement) {\n try {\n ReactCurrentOwner.current = this._currentElement._owner;\n return ReactChildReconciler.instantiateChildren(nestedChildren, transaction, context, selfDebugID);\n } finally {\n ReactCurrentOwner.current = null;\n }\n }\n }\n return ReactChildReconciler.instantiateChildren(nestedChildren, transaction, context);\n },\n\n _reconcilerUpdateChildren: function (prevChildren, nextNestedChildrenElements, mountImages, removedNodes, transaction, context) {\n var nextChildren;\n var selfDebugID = 0;\n if (process.env.NODE_ENV !== 'production') {\n selfDebugID = getDebugID(this);\n if (this._currentElement) {\n try {\n ReactCurrentOwner.current = this._currentElement._owner;\n nextChildren = flattenChildren(nextNestedChildrenElements, selfDebugID);\n } finally {\n ReactCurrentOwner.current = null;\n }\n ReactChildReconciler.updateChildren(prevChildren, nextChildren, mountImages, removedNodes, transaction, this, this._hostContainerInfo, context, selfDebugID);\n return nextChildren;\n }\n }\n nextChildren = flattenChildren(nextNestedChildrenElements, selfDebugID);\n ReactChildReconciler.updateChildren(prevChildren, nextChildren, mountImages, removedNodes, transaction, this, this._hostContainerInfo, context, selfDebugID);\n return nextChildren;\n },\n\n /**\n * Generates a \"mount image\" for each of the supplied children. In the case\n * of `ReactDOMComponent`, a mount image is a string of markup.\n *\n * @param {?object} nestedChildren Nested child maps.\n * @return {array} An array of mounted representations.\n * @internal\n */\n mountChildren: function (nestedChildren, transaction, context) {\n var children = this._reconcilerInstantiateChildren(nestedChildren, transaction, context);\n this._renderedChildren = children;\n\n var mountImages = [];\n var index = 0;\n for (var name in children) {\n if (children.hasOwnProperty(name)) {\n var child = children[name];\n var selfDebugID = 0;\n if (process.env.NODE_ENV !== 'production') {\n selfDebugID = getDebugID(this);\n }\n var mountImage = ReactReconciler.mountComponent(child, transaction, this, this._hostContainerInfo, context, selfDebugID);\n child._mountIndex = index++;\n mountImages.push(mountImage);\n }\n }\n\n if (process.env.NODE_ENV !== 'production') {\n setChildrenForInstrumentation.call(this, children);\n }\n\n return mountImages;\n },\n\n /**\n * Replaces any rendered children with a text content string.\n *\n * @param {string} nextContent String of content.\n * @internal\n */\n updateTextContent: function (nextContent) {\n var prevChildren = this._renderedChildren;\n // Remove any rendered children.\n ReactChildReconciler.unmountChildren(prevChildren, false);\n for (var name in prevChildren) {\n if (prevChildren.hasOwnProperty(name)) {\n true ? process.env.NODE_ENV !== 'production' ? invariant(false, 'updateTextContent called on non-empty component.') : _prodInvariant('118') : void 0;\n }\n }\n // Set new text content.\n var updates = [makeTextContent(nextContent)];\n processQueue(this, updates);\n },\n\n /**\n * Replaces any rendered children with a markup string.\n *\n * @param {string} nextMarkup String of markup.\n * @internal\n */\n updateMarkup: function (nextMarkup) {\n var prevChildren = this._renderedChildren;\n // Remove any rendered children.\n ReactChildReconciler.unmountChildren(prevChildren, false);\n for (var name in prevChildren) {\n if (prevChildren.hasOwnProperty(name)) {\n true ? process.env.NODE_ENV !== 'production' ? invariant(false, 'updateTextContent called on non-empty component.') : _prodInvariant('118') : void 0;\n }\n }\n var updates = [makeSetMarkup(nextMarkup)];\n processQueue(this, updates);\n },\n\n /**\n * Updates the rendered children with new children.\n *\n * @param {?object} nextNestedChildrenElements Nested child element maps.\n * @param {ReactReconcileTransaction} transaction\n * @internal\n */\n updateChildren: function (nextNestedChildrenElements, transaction, context) {\n // Hook used by React ART\n this._updateChildren(nextNestedChildrenElements, transaction, context);\n },\n\n /**\n * @param {?object} nextNestedChildrenElements Nested child element maps.\n * @param {ReactReconcileTransaction} transaction\n * @final\n * @protected\n */\n _updateChildren: function (nextNestedChildrenElements, transaction, context) {\n var prevChildren = this._renderedChildren;\n var removedNodes = {};\n var mountImages = [];\n var nextChildren = this._reconcilerUpdateChildren(prevChildren, nextNestedChildrenElements, mountImages, removedNodes, transaction, context);\n if (!nextChildren && !prevChildren) {\n return;\n }\n var updates = null;\n var name;\n // `nextIndex` will increment for each child in `nextChildren`, but\n // `lastIndex` will be the last index visited in `prevChildren`.\n var nextIndex = 0;\n var lastIndex = 0;\n // `nextMountIndex` will increment for each newly mounted child.\n var nextMountIndex = 0;\n var lastPlacedNode = null;\n for (name in nextChildren) {\n if (!nextChildren.hasOwnProperty(name)) {\n continue;\n }\n var prevChild = prevChildren && prevChildren[name];\n var nextChild = nextChildren[name];\n if (prevChild === nextChild) {\n updates = enqueue(updates, this.moveChild(prevChild, lastPlacedNode, nextIndex, lastIndex));\n lastIndex = Math.max(prevChild._mountIndex, lastIndex);\n prevChild._mountIndex = nextIndex;\n } else {\n if (prevChild) {\n // Update `lastIndex` before `_mountIndex` gets unset by unmounting.\n lastIndex = Math.max(prevChild._mountIndex, lastIndex);\n // The `removedNodes` loop below will actually remove the child.\n }\n // The child must be instantiated before it's mounted.\n updates = enqueue(updates, this._mountChildAtIndex(nextChild, mountImages[nextMountIndex], lastPlacedNode, nextIndex, transaction, context));\n nextMountIndex++;\n }\n nextIndex++;\n lastPlacedNode = ReactReconciler.getHostNode(nextChild);\n }\n // Remove children that are no longer present.\n for (name in removedNodes) {\n if (removedNodes.hasOwnProperty(name)) {\n updates = enqueue(updates, this._unmountChild(prevChildren[name], removedNodes[name]));\n }\n }\n if (updates) {\n processQueue(this, updates);\n }\n this._renderedChildren = nextChildren;\n\n if (process.env.NODE_ENV !== 'production') {\n setChildrenForInstrumentation.call(this, nextChildren);\n }\n },\n\n /**\n * Unmounts all rendered children. This should be used to clean up children\n * when this component is unmounted. It does not actually perform any\n * backend operations.\n *\n * @internal\n */\n unmountChildren: function (safely) {\n var renderedChildren = this._renderedChildren;\n ReactChildReconciler.unmountChildren(renderedChildren, safely);\n this._renderedChildren = null;\n },\n\n /**\n * Moves a child component to the supplied index.\n *\n * @param {ReactComponent} child Component to move.\n * @param {number} toIndex Destination index of the element.\n * @param {number} lastIndex Last index visited of the siblings of `child`.\n * @protected\n */\n moveChild: function (child, afterNode, toIndex, lastIndex) {\n // If the index of `child` is less than `lastIndex`, then it needs to\n // be moved. Otherwise, we do not need to move it because a child will be\n // inserted or moved before `child`.\n if (child._mountIndex < lastIndex) {\n return makeMove(child, afterNode, toIndex);\n }\n },\n\n /**\n * Creates a child component.\n *\n * @param {ReactComponent} child Component to create.\n * @param {string} mountImage Markup to insert.\n * @protected\n */\n createChild: function (child, afterNode, mountImage) {\n return makeInsertMarkup(mountImage, afterNode, child._mountIndex);\n },\n\n /**\n * Removes a child component.\n *\n * @param {ReactComponent} child Child to remove.\n * @protected\n */\n removeChild: function (child, node) {\n return makeRemove(child, node);\n },\n\n /**\n * Mounts a child with the supplied name.\n *\n * NOTE: This is part of `updateChildren` and is here for readability.\n *\n * @param {ReactComponent} child Component to mount.\n * @param {string} name Name of the child.\n * @param {number} index Index at which to insert the child.\n * @param {ReactReconcileTransaction} transaction\n * @private\n */\n _mountChildAtIndex: function (child, mountImage, afterNode, index, transaction, context) {\n child._mountIndex = index;\n return this.createChild(child, afterNode, mountImage);\n },\n\n /**\n * Unmounts a rendered child.\n *\n * NOTE: This is part of `updateChildren` and is here for readability.\n *\n * @param {ReactComponent} child Component to unmount.\n * @private\n */\n _unmountChild: function (child, node) {\n var update = this.removeChild(child, node);\n child._mountIndex = null;\n return update;\n }\n }\n};\n\nmodule.exports = ReactMultiChild;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactMultiChild.js\n// module id = 206\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactMultiChild.js?"); /***/ }), /* 207 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6);\n\nvar invariant = __webpack_require__(3);\n\n/**\n * @param {?object} object\n * @return {boolean} True if `object` is a valid owner.\n * @final\n */\nfunction isValidOwner(object) {\n return !!(object && typeof object.attachRef === 'function' && typeof object.detachRef === 'function');\n}\n\n/**\n * ReactOwners are capable of storing references to owned components.\n *\n * All components are capable of //being// referenced by owner components, but\n * only ReactOwner components are capable of //referencing// owned components.\n * The named reference is known as a \"ref\".\n *\n * Refs are available when mounted and updated during reconciliation.\n *\n * var MyComponent = React.createClass({\n * render: function() {\n * return (\n * <div onClick={this.handleClick}>\n * <CustomComponent ref=\"custom\" />\n * </div>\n * );\n * },\n * handleClick: function() {\n * this.refs.custom.handleClick();\n * },\n * componentDidMount: function() {\n * this.refs.custom.initialize();\n * }\n * });\n *\n * Refs should rarely be used. When refs are used, they should only be done to\n * control data that is not handled by React's data flow.\n *\n * @class ReactOwner\n */\nvar ReactOwner = {\n /**\n * Adds a component by ref to an owner component.\n *\n * @param {ReactComponent} component Component to reference.\n * @param {string} ref Name by which to refer to the component.\n * @param {ReactOwner} owner Component on which to record the ref.\n * @final\n * @internal\n */\n addComponentAsRefTo: function (component, ref, owner) {\n !isValidOwner(owner) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component\\'s `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).') : _prodInvariant('119') : void 0;\n owner.attachRef(ref, component);\n },\n\n /**\n * Removes a component by ref from an owner component.\n *\n * @param {ReactComponent} component Component to dereference.\n * @param {string} ref Name of the ref to remove.\n * @param {ReactOwner} owner Component on which the ref is recorded.\n * @final\n * @internal\n */\n removeComponentAsRefFrom: function (component, ref, owner) {\n !isValidOwner(owner) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'removeComponentAsRefFrom(...): Only a ReactOwner can have refs. You might be removing a ref to a component that was not created inside a component\\'s `render` method, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).') : _prodInvariant('120') : void 0;\n var ownerPublicInstance = owner.getPublicInstance();\n // Check that `component`'s owner is still alive and that `component` is still the current ref\n // because we do not want to detach the ref if another component stole it.\n if (ownerPublicInstance && ownerPublicInstance.refs[ref] === component.getPublicInstance()) {\n owner.detachRef(ref);\n }\n }\n};\n\nmodule.exports = ReactOwner;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactOwner.js\n// module id = 207\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactOwner.js?"); /***/ }), /* 208 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar ReactPropTypeLocationNames = {};\n\nif (process.env.NODE_ENV !== 'production') {\n ReactPropTypeLocationNames = {\n prop: 'prop',\n context: 'context',\n childContext: 'child context'\n };\n}\n\nmodule.exports = ReactPropTypeLocationNames;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactPropTypeLocationNames.js\n// module id = 208\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactPropTypeLocationNames.js?"); /***/ }), /* 209 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _assign = __webpack_require__(8);\n\nvar CallbackQueue = __webpack_require__(92);\nvar PooledClass = __webpack_require__(26);\nvar ReactBrowserEventEmitter = __webpack_require__(46);\nvar ReactInputSelection = __webpack_require__(99);\nvar ReactInstrumentation = __webpack_require__(15);\nvar Transaction = __webpack_require__(48);\nvar ReactUpdateQueue = __webpack_require__(63);\n\n/**\n * Ensures that, when possible, the selection range (currently selected text\n * input) is not disturbed by performing the transaction.\n */\nvar SELECTION_RESTORATION = {\n /**\n * @return {Selection} Selection information.\n */\n initialize: ReactInputSelection.getSelectionInformation,\n /**\n * @param {Selection} sel Selection information returned from `initialize`.\n */\n close: ReactInputSelection.restoreSelection\n};\n\n/**\n * Suppresses events (blur/focus) that could be inadvertently dispatched due to\n * high level DOM manipulations (like temporarily removing a text input from the\n * DOM).\n */\nvar EVENT_SUPPRESSION = {\n /**\n * @return {boolean} The enabled status of `ReactBrowserEventEmitter` before\n * the reconciliation.\n */\n initialize: function () {\n var currentlyEnabled = ReactBrowserEventEmitter.isEnabled();\n ReactBrowserEventEmitter.setEnabled(false);\n return currentlyEnabled;\n },\n\n /**\n * @param {boolean} previouslyEnabled Enabled status of\n * `ReactBrowserEventEmitter` before the reconciliation occurred. `close`\n * restores the previous value.\n */\n close: function (previouslyEnabled) {\n ReactBrowserEventEmitter.setEnabled(previouslyEnabled);\n }\n};\n\n/**\n * Provides a queue for collecting `componentDidMount` and\n * `componentDidUpdate` callbacks during the transaction.\n */\nvar ON_DOM_READY_QUEUEING = {\n /**\n * Initializes the internal `onDOMReady` queue.\n */\n initialize: function () {\n this.reactMountReady.reset();\n },\n\n /**\n * After DOM is flushed, invoke all registered `onDOMReady` callbacks.\n */\n close: function () {\n this.reactMountReady.notifyAll();\n }\n};\n\n/**\n * Executed within the scope of the `Transaction` instance. Consider these as\n * being member methods, but with an implied ordering while being isolated from\n * each other.\n */\nvar TRANSACTION_WRAPPERS = [SELECTION_RESTORATION, EVENT_SUPPRESSION, ON_DOM_READY_QUEUEING];\n\nif (process.env.NODE_ENV !== 'production') {\n TRANSACTION_WRAPPERS.push({\n initialize: ReactInstrumentation.debugTool.onBeginFlush,\n close: ReactInstrumentation.debugTool.onEndFlush\n });\n}\n\n/**\n * Currently:\n * - The order that these are listed in the transaction is critical:\n * - Suppresses events.\n * - Restores selection range.\n *\n * Future:\n * - Restore document/overflow scroll positions that were unintentionally\n * modified via DOM insertions above the top viewport boundary.\n * - Implement/integrate with customized constraint based layout system and keep\n * track of which dimensions must be remeasured.\n *\n * @class ReactReconcileTransaction\n */\nfunction ReactReconcileTransaction(useCreateElement) {\n this.reinitializeTransaction();\n // Only server-side rendering really needs this option (see\n // `ReactServerRendering`), but server-side uses\n // `ReactServerRenderingTransaction` instead. This option is here so that it's\n // accessible and defaults to false when `ReactDOMComponent` and\n // `ReactDOMTextComponent` checks it in `mountComponent`.`\n this.renderToStaticMarkup = false;\n this.reactMountReady = CallbackQueue.getPooled(null);\n this.useCreateElement = useCreateElement;\n}\n\nvar Mixin = {\n /**\n * @see Transaction\n * @abstract\n * @final\n * @return {array<object>} List of operation wrap procedures.\n * TODO: convert to array<TransactionWrapper>\n */\n getTransactionWrappers: function () {\n return TRANSACTION_WRAPPERS;\n },\n\n /**\n * @return {object} The queue to collect `onDOMReady` callbacks with.\n */\n getReactMountReady: function () {\n return this.reactMountReady;\n },\n\n /**\n * @return {object} The queue to collect React async events.\n */\n getUpdateQueue: function () {\n return ReactUpdateQueue;\n },\n\n /**\n * Save current transaction state -- if the return value from this method is\n * passed to `rollback`, the transaction will be reset to that state.\n */\n checkpoint: function () {\n // reactMountReady is the our only stateful wrapper\n return this.reactMountReady.checkpoint();\n },\n\n rollback: function (checkpoint) {\n this.reactMountReady.rollback(checkpoint);\n },\n\n /**\n * `PooledClass` looks for this, and will invoke this before allowing this\n * instance to be reused.\n */\n destructor: function () {\n CallbackQueue.release(this.reactMountReady);\n this.reactMountReady = null;\n }\n};\n\n_assign(ReactReconcileTransaction.prototype, Transaction, Mixin);\n\nPooledClass.addPoolingTo(ReactReconcileTransaction);\n\nmodule.exports = ReactReconcileTransaction;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactReconcileTransaction.js\n// module id = 209\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactReconcileTransaction.js?"); /***/ }), /* 210 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar ReactOwner = __webpack_require__(207);\n\nvar ReactRef = {};\n\nfunction attachRef(ref, component, owner) {\n if (typeof ref === 'function') {\n ref(component.getPublicInstance());\n } else {\n // Legacy ref\n ReactOwner.addComponentAsRefTo(component, ref, owner);\n }\n}\n\nfunction detachRef(ref, component, owner) {\n if (typeof ref === 'function') {\n ref(null);\n } else {\n // Legacy ref\n ReactOwner.removeComponentAsRefFrom(component, ref, owner);\n }\n}\n\nReactRef.attachRefs = function (instance, element) {\n if (element === null || typeof element !== 'object') {\n return;\n }\n var ref = element.ref;\n if (ref != null) {\n attachRef(ref, instance, element._owner);\n }\n};\n\nReactRef.shouldUpdateRefs = function (prevElement, nextElement) {\n // If either the owner or a `ref` has changed, make sure the newest owner\n // has stored a reference to `this`, and the previous owner (if different)\n // has forgotten the reference to `this`. We use the element instead\n // of the public this.props because the post processing cannot determine\n // a ref. The ref conceptually lives on the element.\n\n // TODO: Should this even be possible? The owner cannot change because\n // it's forbidden by shouldUpdateReactComponent. The ref can change\n // if you swap the keys of but not the refs. Reconsider where this check\n // is made. It probably belongs where the key checking and\n // instantiateReactComponent is done.\n\n var prevRef = null;\n var prevOwner = null;\n if (prevElement !== null && typeof prevElement === 'object') {\n prevRef = prevElement.ref;\n prevOwner = prevElement._owner;\n }\n\n var nextRef = null;\n var nextOwner = null;\n if (nextElement !== null && typeof nextElement === 'object') {\n nextRef = nextElement.ref;\n nextOwner = nextElement._owner;\n }\n\n return prevRef !== nextRef ||\n // If owner changes but we have an unchanged function ref, don't update refs\n typeof nextRef === 'string' && nextOwner !== prevOwner;\n};\n\nReactRef.detachRefs = function (instance, element) {\n if (element === null || typeof element !== 'object') {\n return;\n }\n var ref = element.ref;\n if (ref != null) {\n detachRef(ref, instance, element._owner);\n }\n};\n\nmodule.exports = ReactRef;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactRef.js\n// module id = 210\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactRef.js?"); /***/ }), /* 211 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _assign = __webpack_require__(8);\n\nvar PooledClass = __webpack_require__(26);\nvar Transaction = __webpack_require__(48);\nvar ReactInstrumentation = __webpack_require__(15);\nvar ReactServerUpdateQueue = __webpack_require__(212);\n\n/**\n * Executed within the scope of the `Transaction` instance. Consider these as\n * being member methods, but with an implied ordering while being isolated from\n * each other.\n */\nvar TRANSACTION_WRAPPERS = [];\n\nif (process.env.NODE_ENV !== 'production') {\n TRANSACTION_WRAPPERS.push({\n initialize: ReactInstrumentation.debugTool.onBeginFlush,\n close: ReactInstrumentation.debugTool.onEndFlush\n });\n}\n\nvar noopCallbackQueue = {\n enqueue: function () {}\n};\n\n/**\n * @class ReactServerRenderingTransaction\n * @param {boolean} renderToStaticMarkup\n */\nfunction ReactServerRenderingTransaction(renderToStaticMarkup) {\n this.reinitializeTransaction();\n this.renderToStaticMarkup = renderToStaticMarkup;\n this.useCreateElement = false;\n this.updateQueue = new ReactServerUpdateQueue(this);\n}\n\nvar Mixin = {\n /**\n * @see Transaction\n * @abstract\n * @final\n * @return {array} Empty list of operation wrap procedures.\n */\n getTransactionWrappers: function () {\n return TRANSACTION_WRAPPERS;\n },\n\n /**\n * @return {object} The queue to collect `onDOMReady` callbacks with.\n */\n getReactMountReady: function () {\n return noopCallbackQueue;\n },\n\n /**\n * @return {object} The queue to collect React async events.\n */\n getUpdateQueue: function () {\n return this.updateQueue;\n },\n\n /**\n * `PooledClass` looks for this, and will invoke this before allowing this\n * instance to be reused.\n */\n destructor: function () {},\n\n checkpoint: function () {},\n\n rollback: function () {}\n};\n\n_assign(ReactServerRenderingTransaction.prototype, Transaction, Mixin);\n\nPooledClass.addPoolingTo(ReactServerRenderingTransaction);\n\nmodule.exports = ReactServerRenderingTransaction;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactServerRenderingTransaction.js\n// module id = 211\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactServerRenderingTransaction.js?"); /***/ }), /* 212 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar ReactUpdateQueue = __webpack_require__(63);\n\nvar warning = __webpack_require__(4);\n\nfunction warnNoop(publicInstance, callerName) {\n if (process.env.NODE_ENV !== 'production') {\n var constructor = publicInstance.constructor;\n process.env.NODE_ENV !== 'production' ? warning(false, '%s(...): Can only update a mounting component. ' + 'This usually means you called %s() outside componentWillMount() on the server. ' + 'This is a no-op. Please check the code for the %s component.', callerName, callerName, constructor && (constructor.displayName || constructor.name) || 'ReactClass') : void 0;\n }\n}\n\n/**\n * This is the update queue used for server rendering.\n * It delegates to ReactUpdateQueue while server rendering is in progress and\n * switches to ReactNoopUpdateQueue after the transaction has completed.\n * @class ReactServerUpdateQueue\n * @param {Transaction} transaction\n */\n\nvar ReactServerUpdateQueue = function () {\n function ReactServerUpdateQueue(transaction) {\n _classCallCheck(this, ReactServerUpdateQueue);\n\n this.transaction = transaction;\n }\n\n /**\n * Checks whether or not this composite component is mounted.\n * @param {ReactClass} publicInstance The instance we want to test.\n * @return {boolean} True if mounted, false otherwise.\n * @protected\n * @final\n */\n\n\n ReactServerUpdateQueue.prototype.isMounted = function isMounted(publicInstance) {\n return false;\n };\n\n /**\n * Enqueue a callback that will be executed after all the pending updates\n * have processed.\n *\n * @param {ReactClass} publicInstance The instance to use as `this` context.\n * @param {?function} callback Called after state is updated.\n * @internal\n */\n\n\n ReactServerUpdateQueue.prototype.enqueueCallback = function enqueueCallback(publicInstance, callback, callerName) {\n if (this.transaction.isInTransaction()) {\n ReactUpdateQueue.enqueueCallback(publicInstance, callback, callerName);\n }\n };\n\n /**\n * Forces an update. This should only be invoked when it is known with\n * certainty that we are **not** in a DOM transaction.\n *\n * You may want to call this when you know that some deeper aspect of the\n * component's state has changed but `setState` was not called.\n *\n * This will not invoke `shouldComponentUpdate`, but it will invoke\n * `componentWillUpdate` and `componentDidUpdate`.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @internal\n */\n\n\n ReactServerUpdateQueue.prototype.enqueueForceUpdate = function enqueueForceUpdate(publicInstance) {\n if (this.transaction.isInTransaction()) {\n ReactUpdateQueue.enqueueForceUpdate(publicInstance);\n } else {\n warnNoop(publicInstance, 'forceUpdate');\n }\n };\n\n /**\n * Replaces all of the state. Always use this or `setState` to mutate state.\n * You should treat `this.state` as immutable.\n *\n * There is no guarantee that `this.state` will be immediately updated, so\n * accessing `this.state` after calling this method may return the old value.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object|function} completeState Next state.\n * @internal\n */\n\n\n ReactServerUpdateQueue.prototype.enqueueReplaceState = function enqueueReplaceState(publicInstance, completeState) {\n if (this.transaction.isInTransaction()) {\n ReactUpdateQueue.enqueueReplaceState(publicInstance, completeState);\n } else {\n warnNoop(publicInstance, 'replaceState');\n }\n };\n\n /**\n * Sets a subset of the state. This only exists because _pendingState is\n * internal. This provides a merging strategy that is not available to deep\n * properties which is confusing. TODO: Expose pendingState or don't use it\n * during the merge.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object|function} partialState Next partial state to be merged with state.\n * @internal\n */\n\n\n ReactServerUpdateQueue.prototype.enqueueSetState = function enqueueSetState(publicInstance, partialState) {\n if (this.transaction.isInTransaction()) {\n ReactUpdateQueue.enqueueSetState(publicInstance, partialState);\n } else {\n warnNoop(publicInstance, 'setState');\n }\n };\n\n return ReactServerUpdateQueue;\n}();\n\nmodule.exports = ReactServerUpdateQueue;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactServerUpdateQueue.js\n// module id = 212\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactServerUpdateQueue.js?"); /***/ }), /* 213 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nmodule.exports = '15.6.2';\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/ReactVersion.js\n// module id = 213\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/ReactVersion.js?"); /***/ }), /* 214 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar NS = {\n xlink: 'https://www.w3.org/1999/xlink',\n xml: 'https://www.w3.org/XML/1998/namespace'\n};\n\n// We use attributes for everything SVG so let's avoid some duplication and run\n// code instead.\n// The following are all specified in the HTML config already so we exclude here.\n// - class (as className)\n// - color\n// - height\n// - id\n// - lang\n// - max\n// - media\n// - method\n// - min\n// - name\n// - style\n// - target\n// - type\n// - width\nvar ATTRS = {\n accentHeight: 'accent-height',\n accumulate: 0,\n additive: 0,\n alignmentBaseline: 'alignment-baseline',\n allowReorder: 'allowReorder',\n alphabetic: 0,\n amplitude: 0,\n arabicForm: 'arabic-form',\n ascent: 0,\n attributeName: 'attributeName',\n attributeType: 'attributeType',\n autoReverse: 'autoReverse',\n azimuth: 0,\n baseFrequency: 'baseFrequency',\n baseProfile: 'baseProfile',\n baselineShift: 'baseline-shift',\n bbox: 0,\n begin: 0,\n bias: 0,\n by: 0,\n calcMode: 'calcMode',\n capHeight: 'cap-height',\n clip: 0,\n clipPath: 'clip-path',\n clipRule: 'clip-rule',\n clipPathUnits: 'clipPathUnits',\n colorInterpolation: 'color-interpolation',\n colorInterpolationFilters: 'color-interpolation-filters',\n colorProfile: 'color-profile',\n colorRendering: 'color-rendering',\n contentScriptType: 'contentScriptType',\n contentStyleType: 'contentStyleType',\n cursor: 0,\n cx: 0,\n cy: 0,\n d: 0,\n decelerate: 0,\n descent: 0,\n diffuseConstant: 'diffuseConstant',\n direction: 0,\n display: 0,\n divisor: 0,\n dominantBaseline: 'dominant-baseline',\n dur: 0,\n dx: 0,\n dy: 0,\n edgeMode: 'edgeMode',\n elevation: 0,\n enableBackground: 'enable-background',\n end: 0,\n exponent: 0,\n externalResourcesRequired: 'externalResourcesRequired',\n fill: 0,\n fillOpacity: 'fill-opacity',\n fillRule: 'fill-rule',\n filter: 0,\n filterRes: 'filterRes',\n filterUnits: 'filterUnits',\n floodColor: 'flood-color',\n floodOpacity: 'flood-opacity',\n focusable: 0,\n fontFamily: 'font-family',\n fontSize: 'font-size',\n fontSizeAdjust: 'font-size-adjust',\n fontStretch: 'font-stretch',\n fontStyle: 'font-style',\n fontVariant: 'font-variant',\n fontWeight: 'font-weight',\n format: 0,\n from: 0,\n fx: 0,\n fy: 0,\n g1: 0,\n g2: 0,\n glyphName: 'glyph-name',\n glyphOrientationHorizontal: 'glyph-orientation-horizontal',\n glyphOrientationVertical: 'glyph-orientation-vertical',\n glyphRef: 'glyphRef',\n gradientTransform: 'gradientTransform',\n gradientUnits: 'gradientUnits',\n hanging: 0,\n horizAdvX: 'horiz-adv-x',\n horizOriginX: 'horiz-origin-x',\n ideographic: 0,\n imageRendering: 'image-rendering',\n 'in': 0,\n in2: 0,\n intercept: 0,\n k: 0,\n k1: 0,\n k2: 0,\n k3: 0,\n k4: 0,\n kernelMatrix: 'kernelMatrix',\n kernelUnitLength: 'kernelUnitLength',\n kerning: 0,\n keyPoints: 'keyPoints',\n keySplines: 'keySplines',\n keyTimes: 'keyTimes',\n lengthAdjust: 'lengthAdjust',\n letterSpacing: 'letter-spacing',\n lightingColor: 'lighting-color',\n limitingConeAngle: 'limitingConeAngle',\n local: 0,\n markerEnd: 'marker-end',\n markerMid: 'marker-mid',\n markerStart: 'marker-start',\n markerHeight: 'markerHeight',\n markerUnits: 'markerUnits',\n markerWidth: 'markerWidth',\n mask: 0,\n maskContentUnits: 'maskContentUnits',\n maskUnits: 'maskUnits',\n mathematical: 0,\n mode: 0,\n numOctaves: 'numOctaves',\n offset: 0,\n opacity: 0,\n operator: 0,\n order: 0,\n orient: 0,\n orientation: 0,\n origin: 0,\n overflow: 0,\n overlinePosition: 'overline-position',\n overlineThickness: 'overline-thickness',\n paintOrder: 'paint-order',\n panose1: 'panose-1',\n pathLength: 'pathLength',\n patternContentUnits: 'patternContentUnits',\n patternTransform: 'patternTransform',\n patternUnits: 'patternUnits',\n pointerEvents: 'pointer-events',\n points: 0,\n pointsAtX: 'pointsAtX',\n pointsAtY: 'pointsAtY',\n pointsAtZ: 'pointsAtZ',\n preserveAlpha: 'preserveAlpha',\n preserveAspectRatio: 'preserveAspectRatio',\n primitiveUnits: 'primitiveUnits',\n r: 0,\n radius: 0,\n refX: 'refX',\n refY: 'refY',\n renderingIntent: 'rendering-intent',\n repeatCount: 'repeatCount',\n repeatDur: 'repeatDur',\n requiredExtensions: 'requiredExtensions',\n requiredFeatures: 'requiredFeatures',\n restart: 0,\n result: 0,\n rotate: 0,\n rx: 0,\n ry: 0,\n scale: 0,\n seed: 0,\n shapeRendering: 'shape-rendering',\n slope: 0,\n spacing: 0,\n specularConstant: 'specularConstant',\n specularExponent: 'specularExponent',\n speed: 0,\n spreadMethod: 'spreadMethod',\n startOffset: 'startOffset',\n stdDeviation: 'stdDeviation',\n stemh: 0,\n stemv: 0,\n stitchTiles: 'stitchTiles',\n stopColor: 'stop-color',\n stopOpacity: 'stop-opacity',\n strikethroughPosition: 'strikethrough-position',\n strikethroughThickness: 'strikethrough-thickness',\n string: 0,\n stroke: 0,\n strokeDasharray: 'stroke-dasharray',\n strokeDashoffset: 'stroke-dashoffset',\n strokeLinecap: 'stroke-linecap',\n strokeLinejoin: 'stroke-linejoin',\n strokeMiterlimit: 'stroke-miterlimit',\n strokeOpacity: 'stroke-opacity',\n strokeWidth: 'stroke-width',\n surfaceScale: 'surfaceScale',\n systemLanguage: 'systemLanguage',\n tableValues: 'tableValues',\n targetX: 'targetX',\n targetY: 'targetY',\n textAnchor: 'text-anchor',\n textDecoration: 'text-decoration',\n textRendering: 'text-rendering',\n textLength: 'textLength',\n to: 0,\n transform: 0,\n u1: 0,\n u2: 0,\n underlinePosition: 'underline-position',\n underlineThickness: 'underline-thickness',\n unicode: 0,\n unicodeBidi: 'unicode-bidi',\n unicodeRange: 'unicode-range',\n unitsPerEm: 'units-per-em',\n vAlphabetic: 'v-alphabetic',\n vHanging: 'v-hanging',\n vIdeographic: 'v-ideographic',\n vMathematical: 'v-mathematical',\n values: 0,\n vectorEffect: 'vector-effect',\n version: 0,\n vertAdvY: 'vert-adv-y',\n vertOriginX: 'vert-origin-x',\n vertOriginY: 'vert-origin-y',\n viewBox: 'viewBox',\n viewTarget: 'viewTarget',\n visibility: 0,\n widths: 0,\n wordSpacing: 'word-spacing',\n writingMode: 'writing-mode',\n x: 0,\n xHeight: 'x-height',\n x1: 0,\n x2: 0,\n xChannelSelector: 'xChannelSelector',\n xlinkActuate: 'xlink:actuate',\n xlinkArcrole: 'xlink:arcrole',\n xlinkHref: 'xlink:href',\n xlinkRole: 'xlink:role',\n xlinkShow: 'xlink:show',\n xlinkTitle: 'xlink:title',\n xlinkType: 'xlink:type',\n xmlBase: 'xml:base',\n xmlns: 0,\n xmlnsXlink: 'xmlns:xlink',\n xmlLang: 'xml:lang',\n xmlSpace: 'xml:space',\n y: 0,\n y1: 0,\n y2: 0,\n yChannelSelector: 'yChannelSelector',\n z: 0,\n zoomAndPan: 'zoomAndPan'\n};\n\nvar SVGDOMPropertyConfig = {\n Properties: {},\n DOMAttributeNamespaces: {\n xlinkActuate: NS.xlink,\n xlinkArcrole: NS.xlink,\n xlinkHref: NS.xlink,\n xlinkRole: NS.xlink,\n xlinkShow: NS.xlink,\n xlinkTitle: NS.xlink,\n xlinkType: NS.xlink,\n xmlBase: NS.xml,\n xmlLang: NS.xml,\n xmlSpace: NS.xml\n },\n DOMAttributeNames: {}\n};\n\nObject.keys(ATTRS).forEach(function (key) {\n SVGDOMPropertyConfig.Properties[key] = 0;\n if (ATTRS[key]) {\n SVGDOMPropertyConfig.DOMAttributeNames[key] = ATTRS[key];\n }\n});\n\nmodule.exports = SVGDOMPropertyConfig;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/SVGDOMPropertyConfig.js\n// module id = 214\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/SVGDOMPropertyConfig.js?"); /***/ }), /* 215 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar EventPropagators = __webpack_require__(36);\nvar ExecutionEnvironment = __webpack_require__(9);\nvar ReactDOMComponentTree = __webpack_require__(7);\nvar ReactInputSelection = __webpack_require__(99);\nvar SyntheticEvent = __webpack_require__(20);\n\nvar getActiveElement = __webpack_require__(88);\nvar isTextInputElement = __webpack_require__(110);\nvar shallowEqual = __webpack_require__(54);\n\nvar skipSelectionChangeEvent = ExecutionEnvironment.canUseDOM && 'documentMode' in document && document.documentMode <= 11;\n\nvar eventTypes = {\n select: {\n phasedRegistrationNames: {\n bubbled: 'onSelect',\n captured: 'onSelectCapture'\n },\n dependencies: ['topBlur', 'topContextMenu', 'topFocus', 'topKeyDown', 'topKeyUp', 'topMouseDown', 'topMouseUp', 'topSelectionChange']\n }\n};\n\nvar activeElement = null;\nvar activeElementInst = null;\nvar lastSelection = null;\nvar mouseDown = false;\n\n// Track whether a listener exists for this plugin. If none exist, we do\n// not extract events. See #3639.\nvar hasListener = false;\n\n/**\n * Get an object which is a unique representation of the current selection.\n *\n * The return value will not be consistent across nodes or browsers, but\n * two identical selections on the same node will return identical objects.\n *\n * @param {DOMElement} node\n * @return {object}\n */\nfunction getSelection(node) {\n if ('selectionStart' in node && ReactInputSelection.hasSelectionCapabilities(node)) {\n return {\n start: node.selectionStart,\n end: node.selectionEnd\n };\n } else if (window.getSelection) {\n var selection = window.getSelection();\n return {\n anchorNode: selection.anchorNode,\n anchorOffset: selection.anchorOffset,\n focusNode: selection.focusNode,\n focusOffset: selection.focusOffset\n };\n } else if (document.selection) {\n var range = document.selection.createRange();\n return {\n parentElement: range.parentElement(),\n text: range.text,\n top: range.boundingTop,\n left: range.boundingLeft\n };\n }\n}\n\n/**\n * Poll selection to see whether it's changed.\n *\n * @param {object} nativeEvent\n * @return {?SyntheticEvent}\n */\nfunction constructSelectEvent(nativeEvent, nativeEventTarget) {\n // Ensure we have the right element, and that the user is not dragging a\n // selection (this matches native `select` event behavior). In HTML5, select\n // fires only on input and textarea thus if there's no focused element we\n // won't dispatch.\n if (mouseDown || activeElement == null || activeElement !== getActiveElement()) {\n return null;\n }\n\n // Only fire when selection has actually changed.\n var currentSelection = getSelection(activeElement);\n if (!lastSelection || !shallowEqual(lastSelection, currentSelection)) {\n lastSelection = currentSelection;\n\n var syntheticEvent = SyntheticEvent.getPooled(eventTypes.select, activeElementInst, nativeEvent, nativeEventTarget);\n\n syntheticEvent.type = 'select';\n syntheticEvent.target = activeElement;\n\n EventPropagators.accumulateTwoPhaseDispatches(syntheticEvent);\n\n return syntheticEvent;\n }\n\n return null;\n}\n\n/**\n * This plugin creates an `onSelect` event that normalizes select events\n * across form elements.\n *\n * Supported elements are:\n * - input (see `isTextInputElement`)\n * - textarea\n * - contentEditable\n *\n * This differs from native browser implementations in the following ways:\n * - Fires on contentEditable fields as well as inputs.\n * - Fires for collapsed selection.\n * - Fires after user input.\n */\nvar SelectEventPlugin = {\n eventTypes: eventTypes,\n\n extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n if (!hasListener) {\n return null;\n }\n\n var targetNode = targetInst ? ReactDOMComponentTree.getNodeFromInstance(targetInst) : window;\n\n switch (topLevelType) {\n // Track the input node that has focus.\n case 'topFocus':\n if (isTextInputElement(targetNode) || targetNode.contentEditable === 'true') {\n activeElement = targetNode;\n activeElementInst = targetInst;\n lastSelection = null;\n }\n break;\n case 'topBlur':\n activeElement = null;\n activeElementInst = null;\n lastSelection = null;\n break;\n // Don't fire the event while the user is dragging. This matches the\n // semantics of the native select event.\n case 'topMouseDown':\n mouseDown = true;\n break;\n case 'topContextMenu':\n case 'topMouseUp':\n mouseDown = false;\n return constructSelectEvent(nativeEvent, nativeEventTarget);\n // Chrome and IE fire non-standard event when selection is changed (and\n // sometimes when it hasn't). IE's event fires out of order with respect\n // to key and input events on deletion, so we discard it.\n //\n // Firefox doesn't support selectionchange, so check selection status\n // after each key entry. The selection changes after keydown and before\n // keyup, but we check on keydown as well in the case of holding down a\n // key, when multiple keydown events are fired but only one keyup is.\n // This is also our approach for IE handling, for the reason above.\n case 'topSelectionChange':\n if (skipSelectionChangeEvent) {\n break;\n }\n // falls through\n case 'topKeyDown':\n case 'topKeyUp':\n return constructSelectEvent(nativeEvent, nativeEventTarget);\n }\n\n return null;\n },\n\n didPutListener: function (inst, registrationName, listener) {\n if (registrationName === 'onSelect') {\n hasListener = true;\n }\n }\n};\n\nmodule.exports = SelectEventPlugin;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/SelectEventPlugin.js\n// module id = 215\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/SelectEventPlugin.js?"); /***/ }), /* 216 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6);\n\nvar EventListener = __webpack_require__(86);\nvar EventPropagators = __webpack_require__(36);\nvar ReactDOMComponentTree = __webpack_require__(7);\nvar SyntheticAnimationEvent = __webpack_require__(217);\nvar SyntheticClipboardEvent = __webpack_require__(218);\nvar SyntheticEvent = __webpack_require__(20);\nvar SyntheticFocusEvent = __webpack_require__(221);\nvar SyntheticKeyboardEvent = __webpack_require__(223);\nvar SyntheticMouseEvent = __webpack_require__(47);\nvar SyntheticDragEvent = __webpack_require__(220);\nvar SyntheticTouchEvent = __webpack_require__(224);\nvar SyntheticTransitionEvent = __webpack_require__(225);\nvar SyntheticUIEvent = __webpack_require__(38);\nvar SyntheticWheelEvent = __webpack_require__(226);\n\nvar emptyFunction = __webpack_require__(14);\nvar getEventCharCode = __webpack_require__(65);\nvar invariant = __webpack_require__(3);\n\n/**\n * Turns\n * ['abort', ...]\n * into\n * eventTypes = {\n * 'abort': {\n * phasedRegistrationNames: {\n * bubbled: 'onAbort',\n * captured: 'onAbortCapture',\n * },\n * dependencies: ['topAbort'],\n * },\n * ...\n * };\n * topLevelEventsToDispatchConfig = {\n * 'topAbort': { sameConfig }\n * };\n */\nvar eventTypes = {};\nvar topLevelEventsToDispatchConfig = {};\n['abort', 'animationEnd', 'animationIteration', 'animationStart', 'blur', 'canPlay', 'canPlayThrough', 'click', 'contextMenu', 'copy', 'cut', 'doubleClick', 'drag', 'dragEnd', 'dragEnter', 'dragExit', 'dragLeave', 'dragOver', 'dragStart', 'drop', 'durationChange', 'emptied', 'encrypted', 'ended', 'error', 'focus', 'input', 'invalid', 'keyDown', 'keyPress', 'keyUp', 'load', 'loadedData', 'loadedMetadata', 'loadStart', 'mouseDown', 'mouseMove', 'mouseOut', 'mouseOver', 'mouseUp', 'paste', 'pause', 'play', 'playing', 'progress', 'rateChange', 'reset', 'scroll', 'seeked', 'seeking', 'stalled', 'submit', 'suspend', 'timeUpdate', 'touchCancel', 'touchEnd', 'touchMove', 'touchStart', 'transitionEnd', 'volumeChange', 'waiting', 'wheel'].forEach(function (event) {\n var capitalizedEvent = event[0].toUpperCase() + event.slice(1);\n var onEvent = 'on' + capitalizedEvent;\n var topEvent = 'top' + capitalizedEvent;\n\n var type = {\n phasedRegistrationNames: {\n bubbled: onEvent,\n captured: onEvent + 'Capture'\n },\n dependencies: [topEvent]\n };\n eventTypes[event] = type;\n topLevelEventsToDispatchConfig[topEvent] = type;\n});\n\nvar onClickListeners = {};\n\nfunction getDictionaryKey(inst) {\n // Prevents V8 performance issue:\n // https://github.com/facebook/react/pull/7232\n return '.' + inst._rootNodeID;\n}\n\nfunction isInteractive(tag) {\n return tag === 'button' || tag === 'input' || tag === 'select' || tag === 'textarea';\n}\n\nvar SimpleEventPlugin = {\n eventTypes: eventTypes,\n\n extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n var dispatchConfig = topLevelEventsToDispatchConfig[topLevelType];\n if (!dispatchConfig) {\n return null;\n }\n var EventConstructor;\n switch (topLevelType) {\n case 'topAbort':\n case 'topCanPlay':\n case 'topCanPlayThrough':\n case 'topDurationChange':\n case 'topEmptied':\n case 'topEncrypted':\n case 'topEnded':\n case 'topError':\n case 'topInput':\n case 'topInvalid':\n case 'topLoad':\n case 'topLoadedData':\n case 'topLoadedMetadata':\n case 'topLoadStart':\n case 'topPause':\n case 'topPlay':\n case 'topPlaying':\n case 'topProgress':\n case 'topRateChange':\n case 'topReset':\n case 'topSeeked':\n case 'topSeeking':\n case 'topStalled':\n case 'topSubmit':\n case 'topSuspend':\n case 'topTimeUpdate':\n case 'topVolumeChange':\n case 'topWaiting':\n // HTML Events\n // @see https://www.w3.org/TR/html5/index.html#events-0\n EventConstructor = SyntheticEvent;\n break;\n case 'topKeyPress':\n // Firefox creates a keypress event for function keys too. This removes\n // the unwanted keypress events. Enter is however both printable and\n // non-printable. One would expect Tab to be as well (but it isn't).\n if (getEventCharCode(nativeEvent) === 0) {\n return null;\n }\n /* falls through */\n case 'topKeyDown':\n case 'topKeyUp':\n EventConstructor = SyntheticKeyboardEvent;\n break;\n case 'topBlur':\n case 'topFocus':\n EventConstructor = SyntheticFocusEvent;\n break;\n case 'topClick':\n // Firefox creates a click event on right mouse clicks. This removes the\n // unwanted click events.\n if (nativeEvent.button === 2) {\n return null;\n }\n /* falls through */\n case 'topDoubleClick':\n case 'topMouseDown':\n case 'topMouseMove':\n case 'topMouseUp':\n // TODO: Disabled elements should not respond to mouse events\n /* falls through */\n case 'topMouseOut':\n case 'topMouseOver':\n case 'topContextMenu':\n EventConstructor = SyntheticMouseEvent;\n break;\n case 'topDrag':\n case 'topDragEnd':\n case 'topDragEnter':\n case 'topDragExit':\n case 'topDragLeave':\n case 'topDragOver':\n case 'topDragStart':\n case 'topDrop':\n EventConstructor = SyntheticDragEvent;\n break;\n case 'topTouchCancel':\n case 'topTouchEnd':\n case 'topTouchMove':\n case 'topTouchStart':\n EventConstructor = SyntheticTouchEvent;\n break;\n case 'topAnimationEnd':\n case 'topAnimationIteration':\n case 'topAnimationStart':\n EventConstructor = SyntheticAnimationEvent;\n break;\n case 'topTransitionEnd':\n EventConstructor = SyntheticTransitionEvent;\n break;\n case 'topScroll':\n EventConstructor = SyntheticUIEvent;\n break;\n case 'topWheel':\n EventConstructor = SyntheticWheelEvent;\n break;\n case 'topCopy':\n case 'topCut':\n case 'topPaste':\n EventConstructor = SyntheticClipboardEvent;\n break;\n }\n !EventConstructor ? process.env.NODE_ENV !== 'production' ? invariant(false, 'SimpleEventPlugin: Unhandled event type, `%s`.', topLevelType) : _prodInvariant('86', topLevelType) : void 0;\n var event = EventConstructor.getPooled(dispatchConfig, targetInst, nativeEvent, nativeEventTarget);\n EventPropagators.accumulateTwoPhaseDispatches(event);\n return event;\n },\n\n didPutListener: function (inst, registrationName, listener) {\n // Mobile Safari does not fire properly bubble click events on\n // non-interactive elements, which means delegated click listeners do not\n // fire. The workaround for this bug involves attaching an empty click\n // listener on the target node.\n // https://www.quirksmode.org/blog/archives/2010/09/click_event_del.html\n if (registrationName === 'onClick' && !isInteractive(inst._tag)) {\n var key = getDictionaryKey(inst);\n var node = ReactDOMComponentTree.getNodeFromInstance(inst);\n if (!onClickListeners[key]) {\n onClickListeners[key] = EventListener.listen(node, 'click', emptyFunction);\n }\n }\n },\n\n willDeleteListener: function (inst, registrationName) {\n if (registrationName === 'onClick' && !isInteractive(inst._tag)) {\n var key = getDictionaryKey(inst);\n onClickListeners[key].remove();\n delete onClickListeners[key];\n }\n }\n};\n\nmodule.exports = SimpleEventPlugin;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/SimpleEventPlugin.js\n// module id = 216\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/SimpleEventPlugin.js?"); /***/ }), /* 217 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar SyntheticEvent = __webpack_require__(20);\n\n/**\n * @interface Event\n * @see https://www.w3.org/TR/css3-animations/#AnimationEvent-interface\n * @see https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent\n */\nvar AnimationEventInterface = {\n animationName: null,\n elapsedTime: null,\n pseudoElement: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticEvent}\n */\nfunction SyntheticAnimationEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticEvent.augmentClass(SyntheticAnimationEvent, AnimationEventInterface);\n\nmodule.exports = SyntheticAnimationEvent;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/SyntheticAnimationEvent.js\n// module id = 217\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/SyntheticAnimationEvent.js?"); /***/ }), /* 218 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar SyntheticEvent = __webpack_require__(20);\n\n/**\n * @interface Event\n * @see https://www.w3.org/TR/clipboard-apis/\n */\nvar ClipboardEventInterface = {\n clipboardData: function (event) {\n return 'clipboardData' in event ? event.clipboardData : window.clipboardData;\n }\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticClipboardEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticEvent.augmentClass(SyntheticClipboardEvent, ClipboardEventInterface);\n\nmodule.exports = SyntheticClipboardEvent;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/SyntheticClipboardEvent.js\n// module id = 218\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/SyntheticClipboardEvent.js?"); /***/ }), /* 219 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar SyntheticEvent = __webpack_require__(20);\n\n/**\n * @interface Event\n * @see https://www.w3.org/TR/DOM-Level-3-Events/#events-compositionevents\n */\nvar CompositionEventInterface = {\n data: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticCompositionEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticEvent.augmentClass(SyntheticCompositionEvent, CompositionEventInterface);\n\nmodule.exports = SyntheticCompositionEvent;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/SyntheticCompositionEvent.js\n// module id = 219\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/SyntheticCompositionEvent.js?"); /***/ }), /* 220 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar SyntheticMouseEvent = __webpack_require__(47);\n\n/**\n * @interface DragEvent\n * @see https://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar DragEventInterface = {\n dataTransfer: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticDragEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticMouseEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticMouseEvent.augmentClass(SyntheticDragEvent, DragEventInterface);\n\nmodule.exports = SyntheticDragEvent;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/SyntheticDragEvent.js\n// module id = 220\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/SyntheticDragEvent.js?"); /***/ }), /* 221 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar SyntheticUIEvent = __webpack_require__(38);\n\n/**\n * @interface FocusEvent\n * @see https://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar FocusEventInterface = {\n relatedTarget: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticFocusEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticUIEvent.augmentClass(SyntheticFocusEvent, FocusEventInterface);\n\nmodule.exports = SyntheticFocusEvent;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/SyntheticFocusEvent.js\n// module id = 221\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/SyntheticFocusEvent.js?"); /***/ }), /* 222 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar SyntheticEvent = __webpack_require__(20);\n\n/**\n * @interface Event\n * @see https://www.w3.org/TR/2013/WD-DOM-Level-3-Events-20131105\n * /#events-inputevents\n */\nvar InputEventInterface = {\n data: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticInputEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticEvent.augmentClass(SyntheticInputEvent, InputEventInterface);\n\nmodule.exports = SyntheticInputEvent;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/SyntheticInputEvent.js\n// module id = 222\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/SyntheticInputEvent.js?"); /***/ }), /* 223 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar SyntheticUIEvent = __webpack_require__(38);\n\nvar getEventCharCode = __webpack_require__(65);\nvar getEventKey = __webpack_require__(232);\nvar getEventModifierState = __webpack_require__(66);\n\n/**\n * @interface KeyboardEvent\n * @see https://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar KeyboardEventInterface = {\n key: getEventKey,\n location: null,\n ctrlKey: null,\n shiftKey: null,\n altKey: null,\n metaKey: null,\n repeat: null,\n locale: null,\n getModifierState: getEventModifierState,\n // Legacy Interface\n charCode: function (event) {\n // `charCode` is the result of a KeyPress event and represents the value of\n // the actual printable character.\n\n // KeyPress is deprecated, but its replacement is not yet final and not\n // implemented in any major browser. Only KeyPress has charCode.\n if (event.type === 'keypress') {\n return getEventCharCode(event);\n }\n return 0;\n },\n keyCode: function (event) {\n // `keyCode` is the result of a KeyDown/Up event and represents the value of\n // physical keyboard key.\n\n // The actual meaning of the value depends on the users' keyboard layout\n // which cannot be detected. Assuming that it is a US keyboard layout\n // provides a surprisingly accurate mapping for US and European users.\n // Due to this, it is left to the user to implement at this time.\n if (event.type === 'keydown' || event.type === 'keyup') {\n return event.keyCode;\n }\n return 0;\n },\n which: function (event) {\n // `which` is an alias for either `keyCode` or `charCode` depending on the\n // type of the event.\n if (event.type === 'keypress') {\n return getEventCharCode(event);\n }\n if (event.type === 'keydown' || event.type === 'keyup') {\n return event.keyCode;\n }\n return 0;\n }\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticKeyboardEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticUIEvent.augmentClass(SyntheticKeyboardEvent, KeyboardEventInterface);\n\nmodule.exports = SyntheticKeyboardEvent;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/SyntheticKeyboardEvent.js\n// module id = 223\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/SyntheticKeyboardEvent.js?"); /***/ }), /* 224 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar SyntheticUIEvent = __webpack_require__(38);\n\nvar getEventModifierState = __webpack_require__(66);\n\n/**\n * @interface TouchEvent\n * @see https://www.w3.org/TR/touch-events/\n */\nvar TouchEventInterface = {\n touches: null,\n targetTouches: null,\n changedTouches: null,\n altKey: null,\n metaKey: null,\n ctrlKey: null,\n shiftKey: null,\n getModifierState: getEventModifierState\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticTouchEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticUIEvent.augmentClass(SyntheticTouchEvent, TouchEventInterface);\n\nmodule.exports = SyntheticTouchEvent;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/SyntheticTouchEvent.js\n// module id = 224\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/SyntheticTouchEvent.js?"); /***/ }), /* 225 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar SyntheticEvent = __webpack_require__(20);\n\n/**\n * @interface Event\n * @see https://www.w3.org/TR/2009/WD-css3-transitions-20090320/#transition-events-\n * @see https://developer.mozilla.org/en-US/docs/Web/API/TransitionEvent\n */\nvar TransitionEventInterface = {\n propertyName: null,\n elapsedTime: null,\n pseudoElement: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticEvent}\n */\nfunction SyntheticTransitionEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticEvent.augmentClass(SyntheticTransitionEvent, TransitionEventInterface);\n\nmodule.exports = SyntheticTransitionEvent;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/SyntheticTransitionEvent.js\n// module id = 225\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/SyntheticTransitionEvent.js?"); /***/ }), /* 226 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar SyntheticMouseEvent = __webpack_require__(47);\n\n/**\n * @interface WheelEvent\n * @see https://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar WheelEventInterface = {\n deltaX: function (event) {\n return 'deltaX' in event ? event.deltaX : // Fallback to `wheelDeltaX` for Webkit and normalize (right is positive).\n 'wheelDeltaX' in event ? -event.wheelDeltaX : 0;\n },\n deltaY: function (event) {\n return 'deltaY' in event ? event.deltaY : // Fallback to `wheelDeltaY` for Webkit and normalize (down is positive).\n 'wheelDeltaY' in event ? -event.wheelDeltaY : // Fallback to `wheelDelta` for IE<9 and normalize (down is positive).\n 'wheelDelta' in event ? -event.wheelDelta : 0;\n },\n deltaZ: null,\n\n // Browsers without \"deltaMode\" is reporting in raw wheel delta where one\n // notch on the scroll is always +/- 120, roughly equivalent to pixels.\n // A good approximation of DOM_DELTA_LINE (1) is 5% of viewport size or\n // ~40 pixels, for DOM_DELTA_SCREEN (2) it is 87.5% of viewport size.\n deltaMode: null\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticMouseEvent}\n */\nfunction SyntheticWheelEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticMouseEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticMouseEvent.augmentClass(SyntheticWheelEvent, WheelEventInterface);\n\nmodule.exports = SyntheticWheelEvent;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/SyntheticWheelEvent.js\n// module id = 226\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/SyntheticWheelEvent.js?"); /***/ }), /* 227 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar MOD = 65521;\n\n// adler32 is not cryptographically strong, and is only used to sanity check that\n// markup generated on the server matches the markup generated on the client.\n// This implementation (a modified version of the SheetJS version) has been optimized\n// for our use case, at the expense of conforming to the adler32 specification\n// for non-ascii inputs.\nfunction adler32(data) {\n var a = 1;\n var b = 0;\n var i = 0;\n var l = data.length;\n var m = l & ~0x3;\n while (i < m) {\n var n = Math.min(i + 4096, m);\n for (; i < n; i += 4) {\n b += (a += data.charCodeAt(i)) + (a += data.charCodeAt(i + 1)) + (a += data.charCodeAt(i + 2)) + (a += data.charCodeAt(i + 3));\n }\n a %= MOD;\n b %= MOD;\n }\n for (; i < l; i++) {\n b += a += data.charCodeAt(i);\n }\n a %= MOD;\n b %= MOD;\n return a | b << 16;\n}\n\nmodule.exports = adler32;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/adler32.js\n// module id = 227\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/adler32.js?"); /***/ }), /* 228 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6);\n\nvar ReactPropTypeLocationNames = __webpack_require__(208);\nvar ReactPropTypesSecret = __webpack_require__(102);\n\nvar invariant = __webpack_require__(3);\nvar warning = __webpack_require__(4);\n\nvar ReactComponentTreeHook;\n\nif (typeof process !== 'undefined' && process.env && process.env.NODE_ENV === 'test') {\n // Temporary hack.\n // Inline requires don't work well with Jest:\n // https://github.com/facebook/react/issues/7240\n // Remove the inline requires when we don't need them anymore:\n // https://github.com/facebook/react/pull/7178\n ReactComponentTreeHook = __webpack_require__(10);\n}\n\nvar loggedTypeFailures = {};\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?object} element The React element that is being type-checked\n * @param {?number} debugID The React component instance that is being type-checked\n * @private\n */\nfunction checkReactTypeSpec(typeSpecs, values, location, componentName, element, debugID) {\n for (var typeSpecName in typeSpecs) {\n if (typeSpecs.hasOwnProperty(typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n !(typeof typeSpecs[typeSpecName] === 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.', componentName || 'React class', ReactPropTypeLocationNames[location], typeSpecName) : _prodInvariant('84', componentName || 'React class', ReactPropTypeLocationNames[location], typeSpecName) : void 0;\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n process.env.NODE_ENV !== 'production' ? warning(!error || error instanceof Error, '%s: type specification of %s `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', ReactPropTypeLocationNames[location], typeSpecName, typeof error) : void 0;\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var componentStackInfo = '';\n\n if (process.env.NODE_ENV !== 'production') {\n if (!ReactComponentTreeHook) {\n ReactComponentTreeHook = __webpack_require__(10);\n }\n if (debugID !== null) {\n componentStackInfo = ReactComponentTreeHook.getStackAddendumByID(debugID);\n } else if (element !== null) {\n componentStackInfo = ReactComponentTreeHook.getCurrentStackAddendum(element);\n }\n }\n\n process.env.NODE_ENV !== 'production' ? warning(false, 'Failed %s type: %s%s', location, error.message, componentStackInfo) : void 0;\n }\n }\n }\n}\n\nmodule.exports = checkReactTypeSpec;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/checkReactTypeSpec.js\n// module id = 228\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/checkReactTypeSpec.js?"); /***/ }), /* 229 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar CSSProperty = __webpack_require__(91);\nvar warning = __webpack_require__(4);\n\nvar isUnitlessNumber = CSSProperty.isUnitlessNumber;\nvar styleWarnings = {};\n\n/**\n * Convert a value into the proper css writable value. The style name `name`\n * should be logical (no hyphens), as specified\n * in `CSSProperty.isUnitlessNumber`.\n *\n * @param {string} name CSS property name such as `topMargin`.\n * @param {*} value CSS property value such as `10px`.\n * @param {ReactDOMComponent} component\n * @return {string} Normalized style value with dimensions applied.\n */\nfunction dangerousStyleValue(name, value, component, isCustomProperty) {\n // Note that we've removed escapeTextForBrowser() calls here since the\n // whole string will be escaped when the attribute is injected into\n // the markup. If you provide unsafe user data here they can inject\n // arbitrary CSS which may be problematic (I couldn't repro this):\n // https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet\n // https://www.thespanner.co.uk/2007/11/26/ultimate-xss-css-injection/\n // This is not an XSS hole but instead a potential CSS injection issue\n // which has lead to a greater discussion about how we're going to\n // trust URLs moving forward. See #2115901\n\n var isEmpty = value == null || typeof value === 'boolean' || value === '';\n if (isEmpty) {\n return '';\n }\n\n var isNonNumeric = isNaN(value);\n if (isCustomProperty || isNonNumeric || value === 0 || isUnitlessNumber.hasOwnProperty(name) && isUnitlessNumber[name]) {\n return '' + value; // cast to string\n }\n\n if (typeof value === 'string') {\n if (process.env.NODE_ENV !== 'production') {\n // Allow '0' to pass through without warning. 0 is already special and\n // doesn't require units, so we don't need to warn about it.\n if (component && value !== '0') {\n var owner = component._currentElement._owner;\n var ownerName = owner ? owner.getName() : null;\n if (ownerName && !styleWarnings[ownerName]) {\n styleWarnings[ownerName] = {};\n }\n var warned = false;\n if (ownerName) {\n var warnings = styleWarnings[ownerName];\n warned = warnings[name];\n if (!warned) {\n warnings[name] = true;\n }\n }\n if (!warned) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'a `%s` tag (owner: `%s`) was passed a numeric string value ' + 'for CSS property `%s` (value: `%s`) which will be treated ' + 'as a unitless number in a future version of React.', component._currentElement.type, ownerName || 'unknown', name, value) : void 0;\n }\n }\n }\n value = value.trim();\n }\n return value + 'px';\n}\n\nmodule.exports = dangerousStyleValue;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/dangerousStyleValue.js\n// module id = 229\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/dangerousStyleValue.js?"); /***/ }), /* 230 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(6);\n\nvar ReactCurrentOwner = __webpack_require__(17);\nvar ReactDOMComponentTree = __webpack_require__(7);\nvar ReactInstanceMap = __webpack_require__(37);\n\nvar getHostComponentFromComposite = __webpack_require__(106);\nvar invariant = __webpack_require__(3);\nvar warning = __webpack_require__(4);\n\n/**\n * Returns the DOM node rendered by this element.\n *\n * See https://facebook.github.io/react/docs/top-level-api.html#reactdom.finddomnode\n *\n * @param {ReactComponent|DOMElement} componentOrElement\n * @return {?DOMElement} The root node of this element.\n */\nfunction findDOMNode(componentOrElement) {\n if (process.env.NODE_ENV !== 'production') {\n var owner = ReactCurrentOwner.current;\n if (owner !== null) {\n process.env.NODE_ENV !== 'production' ? warning(owner._warnedAboutRefsInRender, '%s is accessing findDOMNode inside its render(). ' + 'render() should be a pure function of props and state. It should ' + 'never access something that requires stale data from the previous ' + 'render, such as refs. Move this logic to componentDidMount and ' + 'componentDidUpdate instead.', owner.getName() || 'A component') : void 0;\n owner._warnedAboutRefsInRender = true;\n }\n }\n if (componentOrElement == null) {\n return null;\n }\n if (componentOrElement.nodeType === 1) {\n return componentOrElement;\n }\n\n var inst = ReactInstanceMap.get(componentOrElement);\n if (inst) {\n inst = getHostComponentFromComposite(inst);\n return inst ? ReactDOMComponentTree.getNodeFromInstance(inst) : null;\n }\n\n if (typeof componentOrElement.render === 'function') {\n true ? process.env.NODE_ENV !== 'production' ? invariant(false, 'findDOMNode was called on an unmounted component.') : _prodInvariant('44') : void 0;\n } else {\n true ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Element appears to be neither ReactComponent nor DOMNode (keys: %s)', Object.keys(componentOrElement)) : _prodInvariant('45', Object.keys(componentOrElement)) : void 0;\n }\n}\n\nmodule.exports = findDOMNode;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/findDOMNode.js\n// module id = 230\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/findDOMNode.js?"); /***/ }), /* 231 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar KeyEscapeUtils = __webpack_require__(59);\nvar traverseAllChildren = __webpack_require__(112);\nvar warning = __webpack_require__(4);\n\nvar ReactComponentTreeHook;\n\nif (typeof process !== 'undefined' && process.env && process.env.NODE_ENV === 'test') {\n // Temporary hack.\n // Inline requires don't work well with Jest:\n // https://github.com/facebook/react/issues/7240\n // Remove the inline requires when we don't need them anymore:\n // https://github.com/facebook/react/pull/7178\n ReactComponentTreeHook = __webpack_require__(10);\n}\n\n/**\n * @param {function} traverseContext Context passed through traversal.\n * @param {?ReactComponent} child React child component.\n * @param {!string} name String name of key path to child.\n * @param {number=} selfDebugID Optional debugID of the current internal instance.\n */\nfunction flattenSingleChildIntoContext(traverseContext, child, name, selfDebugID) {\n // We found a component instance.\n if (traverseContext && typeof traverseContext === 'object') {\n var result = traverseContext;\n var keyUnique = result[name] === undefined;\n if (process.env.NODE_ENV !== 'production') {\n if (!ReactComponentTreeHook) {\n ReactComponentTreeHook = __webpack_require__(10);\n }\n if (!keyUnique) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'flattenChildren(...): Encountered two children with the same key, ' + '`%s`. Child keys must be unique; when two children share a key, only ' + 'the first child will be used.%s', KeyEscapeUtils.unescape(name), ReactComponentTreeHook.getStackAddendumByID(selfDebugID)) : void 0;\n }\n }\n if (keyUnique && child != null) {\n result[name] = child;\n }\n }\n}\n\n/**\n * Flattens children that are typically specified as `props.children`. Any null\n * children will not be included in the resulting object.\n * @return {!object} flattened children keyed by name.\n */\nfunction flattenChildren(children, selfDebugID) {\n if (children == null) {\n return children;\n }\n var result = {};\n\n if (process.env.NODE_ENV !== 'production') {\n traverseAllChildren(children, function (traverseContext, child, name) {\n return flattenSingleChildIntoContext(traverseContext, child, name, selfDebugID);\n }, result);\n } else {\n traverseAllChildren(children, flattenSingleChildIntoContext, result);\n }\n return result;\n}\n\nmodule.exports = flattenChildren;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/flattenChildren.js\n// module id = 231\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/flattenChildren.js?"); /***/ }), /* 232 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar getEventCharCode = __webpack_require__(65);\n\n/**\n * Normalization of deprecated HTML5 `key` values\n * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names\n */\nvar normalizeKey = {\n Esc: 'Escape',\n Spacebar: ' ',\n Left: 'ArrowLeft',\n Up: 'ArrowUp',\n Right: 'ArrowRight',\n Down: 'ArrowDown',\n Del: 'Delete',\n Win: 'OS',\n Menu: 'ContextMenu',\n Apps: 'ContextMenu',\n Scroll: 'ScrollLock',\n MozPrintableKey: 'Unidentified'\n};\n\n/**\n * Translation from legacy `keyCode` to HTML5 `key`\n * Only special keys supported, all others depend on keyboard layout or browser\n * @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Key_names\n */\nvar translateToKey = {\n 8: 'Backspace',\n 9: 'Tab',\n 12: 'Clear',\n 13: 'Enter',\n 16: 'Shift',\n 17: 'Control',\n 18: 'Alt',\n 19: 'Pause',\n 20: 'CapsLock',\n 27: 'Escape',\n 32: ' ',\n 33: 'PageUp',\n 34: 'PageDown',\n 35: 'End',\n 36: 'Home',\n 37: 'ArrowLeft',\n 38: 'ArrowUp',\n 39: 'ArrowRight',\n 40: 'ArrowDown',\n 45: 'Insert',\n 46: 'Delete',\n 112: 'F1',\n 113: 'F2',\n 114: 'F3',\n 115: 'F4',\n 116: 'F5',\n 117: 'F6',\n 118: 'F7',\n 119: 'F8',\n 120: 'F9',\n 121: 'F10',\n 122: 'F11',\n 123: 'F12',\n 144: 'NumLock',\n 145: 'ScrollLock',\n 224: 'Meta'\n};\n\n/**\n * @param {object} nativeEvent Native browser event.\n * @return {string} Normalized `key` property.\n */\nfunction getEventKey(nativeEvent) {\n if (nativeEvent.key) {\n // Normalize inconsistent values reported by browsers due to\n // implementations of a working draft specification.\n\n // FireFox implements `key` but returns `MozPrintableKey` for all\n // printable characters (normalized to `Unidentified`), ignore it.\n var key = normalizeKey[nativeEvent.key] || nativeEvent.key;\n if (key !== 'Unidentified') {\n return key;\n }\n }\n\n // Browser does not implement `key`, polyfill as much of it as we can.\n if (nativeEvent.type === 'keypress') {\n var charCode = getEventCharCode(nativeEvent);\n\n // The enter-key is technically both printable and non-printable and can\n // thus be captured by `keypress`, no other non-printable key should.\n return charCode === 13 ? 'Enter' : String.fromCharCode(charCode);\n }\n if (nativeEvent.type === 'keydown' || nativeEvent.type === 'keyup') {\n // While user keyboard layout determines the actual meaning of each\n // `keyCode` value, almost all function keys have a universal value.\n return translateToKey[nativeEvent.keyCode] || 'Unidentified';\n }\n return '';\n}\n\nmodule.exports = getEventKey;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/getEventKey.js\n// module id = 232\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/getEventKey.js?"); /***/ }), /* 233 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\n/* global Symbol */\n\nvar ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n/**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\nfunction getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n}\n\nmodule.exports = getIteratorFn;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/getIteratorFn.js\n// module id = 233\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/getIteratorFn.js?"); /***/ }), /* 234 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\n/**\n * Given any node return the first leaf node without children.\n *\n * @param {DOMElement|DOMTextNode} node\n * @return {DOMElement|DOMTextNode}\n */\n\nfunction getLeafNode(node) {\n while (node && node.firstChild) {\n node = node.firstChild;\n }\n return node;\n}\n\n/**\n * Get the next sibling within a container. This will walk up the\n * DOM if a node's siblings have been exhausted.\n *\n * @param {DOMElement|DOMTextNode} node\n * @return {?DOMElement|DOMTextNode}\n */\nfunction getSiblingNode(node) {\n while (node) {\n if (node.nextSibling) {\n return node.nextSibling;\n }\n node = node.parentNode;\n }\n}\n\n/**\n * Get object describing the nodes which contain characters at offset.\n *\n * @param {DOMElement|DOMTextNode} root\n * @param {number} offset\n * @return {?object}\n */\nfunction getNodeForCharacterOffset(root, offset) {\n var node = getLeafNode(root);\n var nodeStart = 0;\n var nodeEnd = 0;\n\n while (node) {\n if (node.nodeType === 3) {\n nodeEnd = nodeStart + node.textContent.length;\n\n if (nodeStart <= offset && nodeEnd >= offset) {\n return {\n node: node,\n offset: offset - nodeStart\n };\n }\n\n nodeStart = nodeEnd;\n }\n\n node = getLeafNode(getSiblingNode(node));\n }\n}\n\nmodule.exports = getNodeForCharacterOffset;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/getNodeForCharacterOffset.js\n// module id = 234\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/getNodeForCharacterOffset.js?"); /***/ }), /* 235 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar ExecutionEnvironment = __webpack_require__(9);\n\n/**\n * Generate a mapping of standard vendor prefixes using the defined style property and event name.\n *\n * @param {string} styleProp\n * @param {string} eventName\n * @returns {object}\n */\nfunction makePrefixMap(styleProp, eventName) {\n var prefixes = {};\n\n prefixes[styleProp.toLowerCase()] = eventName.toLowerCase();\n prefixes['Webkit' + styleProp] = 'webkit' + eventName;\n prefixes['Moz' + styleProp] = 'moz' + eventName;\n prefixes['ms' + styleProp] = 'MS' + eventName;\n prefixes['O' + styleProp] = 'o' + eventName.toLowerCase();\n\n return prefixes;\n}\n\n/**\n * A list of event names to a configurable list of vendor prefixes.\n */\nvar vendorPrefixes = {\n animationend: makePrefixMap('Animation', 'AnimationEnd'),\n animationiteration: makePrefixMap('Animation', 'AnimationIteration'),\n animationstart: makePrefixMap('Animation', 'AnimationStart'),\n transitionend: makePrefixMap('Transition', 'TransitionEnd')\n};\n\n/**\n * Event names that have already been detected and prefixed (if applicable).\n */\nvar prefixedEventNames = {};\n\n/**\n * Element to check for prefixes on.\n */\nvar style = {};\n\n/**\n * Bootstrap if a DOM exists.\n */\nif (ExecutionEnvironment.canUseDOM) {\n style = document.createElement('div').style;\n\n // On some platforms, in particular some releases of Android 4.x,\n // the un-prefixed \"animation\" and \"transition\" properties are defined on the\n // style object but the events that fire will still be prefixed, so we need\n // to check if the un-prefixed events are usable, and if not remove them from the map.\n if (!('AnimationEvent' in window)) {\n delete vendorPrefixes.animationend.animation;\n delete vendorPrefixes.animationiteration.animation;\n delete vendorPrefixes.animationstart.animation;\n }\n\n // Same as above\n if (!('TransitionEvent' in window)) {\n delete vendorPrefixes.transitionend.transition;\n }\n}\n\n/**\n * Attempts to determine the correct vendor prefixed event name.\n *\n * @param {string} eventName\n * @returns {string}\n */\nfunction getVendorPrefixedEventName(eventName) {\n if (prefixedEventNames[eventName]) {\n return prefixedEventNames[eventName];\n } else if (!vendorPrefixes[eventName]) {\n return eventName;\n }\n\n var prefixMap = vendorPrefixes[eventName];\n\n for (var styleProp in prefixMap) {\n if (prefixMap.hasOwnProperty(styleProp) && styleProp in style) {\n return prefixedEventNames[eventName] = prefixMap[styleProp];\n }\n }\n\n return '';\n}\n\nmodule.exports = getVendorPrefixedEventName;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/getVendorPrefixedEventName.js\n// module id = 235\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/getVendorPrefixedEventName.js?"); /***/ }), /* 236 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar escapeTextContentForBrowser = __webpack_require__(49);\n\n/**\n * Escapes attribute value to prevent scripting attacks.\n *\n * @param {*} value Value to escape.\n * @return {string} An escaped string.\n */\nfunction quoteAttributeValueForBrowser(value) {\n return '\"' + escapeTextContentForBrowser(value) + '\"';\n}\n\nmodule.exports = quoteAttributeValueForBrowser;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/quoteAttributeValueForBrowser.js\n// module id = 236\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/quoteAttributeValueForBrowser.js?"); /***/ }), /* 237 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar ReactMount = __webpack_require__(100);\n\nmodule.exports = ReactMount.renderSubtreeIntoContainer;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-dom/lib/renderSubtreeIntoContainer.js\n// module id = 237\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react-dom/lib/renderSubtreeIntoContainer.js?"); /***/ }), /* 238 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\n/**\n * Escape and wrap key so it is safe to use as a reactid\n *\n * @param {string} key to be escaped.\n * @return {string} the escaped key.\n */\n\nfunction escape(key) {\n var escapeRegex = /[=:]/g;\n var escaperLookup = {\n '=': '=0',\n ':': '=2'\n };\n var escapedString = ('' + key).replace(escapeRegex, function (match) {\n return escaperLookup[match];\n });\n\n return '$' + escapedString;\n}\n\n/**\n * Unescape and unwrap key for human-readable display\n *\n * @param {string} key to unescape.\n * @return {string} the unescaped key.\n */\nfunction unescape(key) {\n var unescapeRegex = /(=0|=2)/g;\n var unescaperLookup = {\n '=0': '=',\n '=2': ':'\n };\n var keySubstring = key[0] === '.' && key[1] === '$' ? key.substring(2) : key.substring(1);\n\n return ('' + keySubstring).replace(unescapeRegex, function (match) {\n return unescaperLookup[match];\n });\n}\n\nvar KeyEscapeUtils = {\n escape: escape,\n unescape: unescape\n};\n\nmodule.exports = KeyEscapeUtils;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/KeyEscapeUtils.js\n// module id = 238\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/KeyEscapeUtils.js?"); /***/ }), /* 239 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(32);\n\nvar invariant = __webpack_require__(3);\n\n/**\n * Static poolers. Several custom versions for each potential number of\n * arguments. A completely generic pooler is easy to implement, but would\n * require accessing the `arguments` object. In each of these, `this` refers to\n * the Class itself, not an instance. If any others are needed, simply add them\n * here, or in their own files.\n */\nvar oneArgumentPooler = function (copyFieldsFrom) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, copyFieldsFrom);\n return instance;\n } else {\n return new Klass(copyFieldsFrom);\n }\n};\n\nvar twoArgumentPooler = function (a1, a2) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2);\n return instance;\n } else {\n return new Klass(a1, a2);\n }\n};\n\nvar threeArgumentPooler = function (a1, a2, a3) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2, a3);\n return instance;\n } else {\n return new Klass(a1, a2, a3);\n }\n};\n\nvar fourArgumentPooler = function (a1, a2, a3, a4) {\n var Klass = this;\n if (Klass.instancePool.length) {\n var instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2, a3, a4);\n return instance;\n } else {\n return new Klass(a1, a2, a3, a4);\n }\n};\n\nvar standardReleaser = function (instance) {\n var Klass = this;\n !(instance instanceof Klass) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Trying to release an instance into a pool of a different type.') : _prodInvariant('25') : void 0;\n instance.destructor();\n if (Klass.instancePool.length < Klass.poolSize) {\n Klass.instancePool.push(instance);\n }\n};\n\nvar DEFAULT_POOL_SIZE = 10;\nvar DEFAULT_POOLER = oneArgumentPooler;\n\n/**\n * Augments `CopyConstructor` to be a poolable class, augmenting only the class\n * itself (statically) not adding any prototypical fields. Any CopyConstructor\n * you give this may have a `poolSize` property, and will look for a\n * prototypical `destructor` on instances.\n *\n * @param {Function} CopyConstructor Constructor that can be used to reset.\n * @param {Function} pooler Customizable pooler.\n */\nvar addPoolingTo = function (CopyConstructor, pooler) {\n // Casting as any so that flow ignores the actual implementation and trusts\n // it to match the type we declared\n var NewKlass = CopyConstructor;\n NewKlass.instancePool = [];\n NewKlass.getPooled = pooler || DEFAULT_POOLER;\n if (!NewKlass.poolSize) {\n NewKlass.poolSize = DEFAULT_POOL_SIZE;\n }\n NewKlass.release = standardReleaser;\n return NewKlass;\n};\n\nvar PooledClass = {\n addPoolingTo: addPoolingTo,\n oneArgumentPooler: oneArgumentPooler,\n twoArgumentPooler: twoArgumentPooler,\n threeArgumentPooler: threeArgumentPooler,\n fourArgumentPooler: fourArgumentPooler\n};\n\nmodule.exports = PooledClass;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/PooledClass.js\n// module id = 239\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/PooledClass.js?"); /***/ }), /* 240 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar PooledClass = __webpack_require__(239);\nvar ReactElement = __webpack_require__(27);\n\nvar emptyFunction = __webpack_require__(14);\nvar traverseAllChildren = __webpack_require__(250);\n\nvar twoArgumentPooler = PooledClass.twoArgumentPooler;\nvar fourArgumentPooler = PooledClass.fourArgumentPooler;\n\nvar userProvidedKeyEscapeRegex = /\\/+/g;\nfunction escapeUserProvidedKey(text) {\n return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/');\n}\n\n/**\n * PooledClass representing the bookkeeping associated with performing a child\n * traversal. Allows avoiding binding callbacks.\n *\n * @constructor ForEachBookKeeping\n * @param {!function} forEachFunction Function to perform traversal with.\n * @param {?*} forEachContext Context to perform context with.\n */\nfunction ForEachBookKeeping(forEachFunction, forEachContext) {\n this.func = forEachFunction;\n this.context = forEachContext;\n this.count = 0;\n}\nForEachBookKeeping.prototype.destructor = function () {\n this.func = null;\n this.context = null;\n this.count = 0;\n};\nPooledClass.addPoolingTo(ForEachBookKeeping, twoArgumentPooler);\n\nfunction forEachSingleChild(bookKeeping, child, name) {\n var func = bookKeeping.func,\n context = bookKeeping.context;\n\n func.call(context, child, bookKeeping.count++);\n}\n\n/**\n * Iterates through children that are typically specified as `props.children`.\n *\n * See https://facebook.github.io/react/docs/top-level-api.html#react.children.foreach\n *\n * The provided forEachFunc(child, index) will be called for each\n * leaf child.\n *\n * @param {?*} children Children tree container.\n * @param {function(*, int)} forEachFunc\n * @param {*} forEachContext Context for forEachContext.\n */\nfunction forEachChildren(children, forEachFunc, forEachContext) {\n if (children == null) {\n return children;\n }\n var traverseContext = ForEachBookKeeping.getPooled(forEachFunc, forEachContext);\n traverseAllChildren(children, forEachSingleChild, traverseContext);\n ForEachBookKeeping.release(traverseContext);\n}\n\n/**\n * PooledClass representing the bookkeeping associated with performing a child\n * mapping. Allows avoiding binding callbacks.\n *\n * @constructor MapBookKeeping\n * @param {!*} mapResult Object containing the ordered map of results.\n * @param {!function} mapFunction Function to perform mapping with.\n * @param {?*} mapContext Context to perform mapping with.\n */\nfunction MapBookKeeping(mapResult, keyPrefix, mapFunction, mapContext) {\n this.result = mapResult;\n this.keyPrefix = keyPrefix;\n this.func = mapFunction;\n this.context = mapContext;\n this.count = 0;\n}\nMapBookKeeping.prototype.destructor = function () {\n this.result = null;\n this.keyPrefix = null;\n this.func = null;\n this.context = null;\n this.count = 0;\n};\nPooledClass.addPoolingTo(MapBookKeeping, fourArgumentPooler);\n\nfunction mapSingleChildIntoContext(bookKeeping, child, childKey) {\n var result = bookKeeping.result,\n keyPrefix = bookKeeping.keyPrefix,\n func = bookKeeping.func,\n context = bookKeeping.context;\n\n\n var mappedChild = func.call(context, child, bookKeeping.count++);\n if (Array.isArray(mappedChild)) {\n mapIntoWithKeyPrefixInternal(mappedChild, result, childKey, emptyFunction.thatReturnsArgument);\n } else if (mappedChild != null) {\n if (ReactElement.isValidElement(mappedChild)) {\n mappedChild = ReactElement.cloneAndReplaceKey(mappedChild,\n // Keep both the (mapped) and old keys if they differ, just as\n // traverseAllChildren used to do for objects as children\n keyPrefix + (mappedChild.key && (!child || child.key !== mappedChild.key) ? escapeUserProvidedKey(mappedChild.key) + '/' : '') + childKey);\n }\n result.push(mappedChild);\n }\n}\n\nfunction mapIntoWithKeyPrefixInternal(children, array, prefix, func, context) {\n var escapedPrefix = '';\n if (prefix != null) {\n escapedPrefix = escapeUserProvidedKey(prefix) + '/';\n }\n var traverseContext = MapBookKeeping.getPooled(array, escapedPrefix, func, context);\n traverseAllChildren(children, mapSingleChildIntoContext, traverseContext);\n MapBookKeeping.release(traverseContext);\n}\n\n/**\n * Maps children that are typically specified as `props.children`.\n *\n * See https://facebook.github.io/react/docs/top-level-api.html#react.children.map\n *\n * The provided mapFunction(child, key, index) will be called for each\n * leaf child.\n *\n * @param {?*} children Children tree container.\n * @param {function(*, int)} func The map function.\n * @param {*} context Context for mapFunction.\n * @return {object} Object containing the ordered map of results.\n */\nfunction mapChildren(children, func, context) {\n if (children == null) {\n return children;\n }\n var result = [];\n mapIntoWithKeyPrefixInternal(children, result, null, func, context);\n return result;\n}\n\nfunction forEachSingleChildDummy(traverseContext, child, name) {\n return null;\n}\n\n/**\n * Count the number of children that are typically specified as\n * `props.children`.\n *\n * See https://facebook.github.io/react/docs/top-level-api.html#react.children.count\n *\n * @param {?*} children Children tree container.\n * @return {number} The number of children.\n */\nfunction countChildren(children, context) {\n return traverseAllChildren(children, forEachSingleChildDummy, null);\n}\n\n/**\n * Flatten a children object (typically specified as `props.children`) and\n * return an array with appropriately re-keyed children.\n *\n * See https://facebook.github.io/react/docs/top-level-api.html#react.children.toarray\n */\nfunction toArray(children) {\n var result = [];\n mapIntoWithKeyPrefixInternal(children, result, null, emptyFunction.thatReturnsArgument);\n return result;\n}\n\nvar ReactChildren = {\n forEach: forEachChildren,\n map: mapChildren,\n mapIntoWithKeyPrefixInternal: mapIntoWithKeyPrefixInternal,\n count: countChildren,\n toArray: toArray\n};\n\nmodule.exports = ReactChildren;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactChildren.js\n// module id = 240\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/ReactChildren.js?"); /***/ }), /* 241 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar ReactElement = __webpack_require__(27);\n\n/**\n * Create a factory that creates HTML tag elements.\n *\n * @private\n */\nvar createDOMFactory = ReactElement.createFactory;\nif (process.env.NODE_ENV !== 'production') {\n var ReactElementValidator = __webpack_require__(115);\n createDOMFactory = ReactElementValidator.createFactory;\n}\n\n/**\n * Creates a mapping from supported HTML tags to `ReactDOMComponent` classes.\n *\n * @public\n */\nvar ReactDOMFactories = {\n a: createDOMFactory('a'),\n abbr: createDOMFactory('abbr'),\n address: createDOMFactory('address'),\n area: createDOMFactory('area'),\n article: createDOMFactory('article'),\n aside: createDOMFactory('aside'),\n audio: createDOMFactory('audio'),\n b: createDOMFactory('b'),\n base: createDOMFactory('base'),\n bdi: createDOMFactory('bdi'),\n bdo: createDOMFactory('bdo'),\n big: createDOMFactory('big'),\n blockquote: createDOMFactory('blockquote'),\n body: createDOMFactory('body'),\n br: createDOMFactory('br'),\n button: createDOMFactory('button'),\n canvas: createDOMFactory('canvas'),\n caption: createDOMFactory('caption'),\n cite: createDOMFactory('cite'),\n code: createDOMFactory('code'),\n col: createDOMFactory('col'),\n colgroup: createDOMFactory('colgroup'),\n data: createDOMFactory('data'),\n datalist: createDOMFactory('datalist'),\n dd: createDOMFactory('dd'),\n del: createDOMFactory('del'),\n details: createDOMFactory('details'),\n dfn: createDOMFactory('dfn'),\n dialog: createDOMFactory('dialog'),\n div: createDOMFactory('div'),\n dl: createDOMFactory('dl'),\n dt: createDOMFactory('dt'),\n em: createDOMFactory('em'),\n embed: createDOMFactory('embed'),\n fieldset: createDOMFactory('fieldset'),\n figcaption: createDOMFactory('figcaption'),\n figure: createDOMFactory('figure'),\n footer: createDOMFactory('footer'),\n form: createDOMFactory('form'),\n h1: createDOMFactory('h1'),\n h2: createDOMFactory('h2'),\n h3: createDOMFactory('h3'),\n h4: createDOMFactory('h4'),\n h5: createDOMFactory('h5'),\n h6: createDOMFactory('h6'),\n head: createDOMFactory('head'),\n header: createDOMFactory('header'),\n hgroup: createDOMFactory('hgroup'),\n hr: createDOMFactory('hr'),\n html: createDOMFactory('html'),\n i: createDOMFactory('i'),\n iframe: createDOMFactory('iframe'),\n img: createDOMFactory('img'),\n input: createDOMFactory('input'),\n ins: createDOMFactory('ins'),\n kbd: createDOMFactory('kbd'),\n keygen: createDOMFactory('keygen'),\n label: createDOMFactory('label'),\n legend: createDOMFactory('legend'),\n li: createDOMFactory('li'),\n link: createDOMFactory('link'),\n main: createDOMFactory('main'),\n map: createDOMFactory('map'),\n mark: createDOMFactory('mark'),\n menu: createDOMFactory('menu'),\n menuitem: createDOMFactory('menuitem'),\n meta: createDOMFactory('meta'),\n meter: createDOMFactory('meter'),\n nav: createDOMFactory('nav'),\n noscript: createDOMFactory('noscript'),\n object: createDOMFactory('object'),\n ol: createDOMFactory('ol'),\n optgroup: createDOMFactory('optgroup'),\n option: createDOMFactory('option'),\n output: createDOMFactory('output'),\n p: createDOMFactory('p'),\n param: createDOMFactory('param'),\n picture: createDOMFactory('picture'),\n pre: createDOMFactory('pre'),\n progress: createDOMFactory('progress'),\n q: createDOMFactory('q'),\n rp: createDOMFactory('rp'),\n rt: createDOMFactory('rt'),\n ruby: createDOMFactory('ruby'),\n s: createDOMFactory('s'),\n samp: createDOMFactory('samp'),\n script: createDOMFactory('script'),\n section: createDOMFactory('section'),\n select: createDOMFactory('select'),\n small: createDOMFactory('small'),\n source: createDOMFactory('source'),\n span: createDOMFactory('span'),\n strong: createDOMFactory('strong'),\n style: createDOMFactory('style'),\n sub: createDOMFactory('sub'),\n summary: createDOMFactory('summary'),\n sup: createDOMFactory('sup'),\n table: createDOMFactory('table'),\n tbody: createDOMFactory('tbody'),\n td: createDOMFactory('td'),\n textarea: createDOMFactory('textarea'),\n tfoot: createDOMFactory('tfoot'),\n th: createDOMFactory('th'),\n thead: createDOMFactory('thead'),\n time: createDOMFactory('time'),\n title: createDOMFactory('title'),\n tr: createDOMFactory('tr'),\n track: createDOMFactory('track'),\n u: createDOMFactory('u'),\n ul: createDOMFactory('ul'),\n 'var': createDOMFactory('var'),\n video: createDOMFactory('video'),\n wbr: createDOMFactory('wbr'),\n\n // SVG\n circle: createDOMFactory('circle'),\n clipPath: createDOMFactory('clipPath'),\n defs: createDOMFactory('defs'),\n ellipse: createDOMFactory('ellipse'),\n g: createDOMFactory('g'),\n image: createDOMFactory('image'),\n line: createDOMFactory('line'),\n linearGradient: createDOMFactory('linearGradient'),\n mask: createDOMFactory('mask'),\n path: createDOMFactory('path'),\n pattern: createDOMFactory('pattern'),\n polygon: createDOMFactory('polygon'),\n polyline: createDOMFactory('polyline'),\n radialGradient: createDOMFactory('radialGradient'),\n rect: createDOMFactory('rect'),\n stop: createDOMFactory('stop'),\n svg: createDOMFactory('svg'),\n text: createDOMFactory('text'),\n tspan: createDOMFactory('tspan')\n};\n\nmodule.exports = ReactDOMFactories;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactDOMFactories.js\n// module id = 241\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/ReactDOMFactories.js?"); /***/ }), /* 242 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar ReactPropTypeLocationNames = {};\n\nif (process.env.NODE_ENV !== 'production') {\n ReactPropTypeLocationNames = {\n prop: 'prop',\n context: 'context',\n childContext: 'child context'\n };\n}\n\nmodule.exports = ReactPropTypeLocationNames;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactPropTypeLocationNames.js\n// module id = 242\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/ReactPropTypeLocationNames.js?"); /***/ }), /* 243 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _require = __webpack_require__(27),\n isValidElement = _require.isValidElement;\n\nvar factory = __webpack_require__(89);\n\nmodule.exports = factory(isValidElement);\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactPropTypes.js\n// module id = 243\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/ReactPropTypes.js?"); /***/ }), /* 244 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactPropTypesSecret.js\n// module id = 244\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/ReactPropTypesSecret.js?"); /***/ }), /* 245 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nmodule.exports = '15.6.2';\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/ReactVersion.js\n// module id = 245\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/ReactVersion.js?"); /***/ }), /* 246 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(32);\n\nvar ReactPropTypeLocationNames = __webpack_require__(242);\nvar ReactPropTypesSecret = __webpack_require__(244);\n\nvar invariant = __webpack_require__(3);\nvar warning = __webpack_require__(4);\n\nvar ReactComponentTreeHook;\n\nif (typeof process !== 'undefined' && process.env && process.env.NODE_ENV === 'test') {\n // Temporary hack.\n // Inline requires don't work well with Jest:\n // https://github.com/facebook/react/issues/7240\n // Remove the inline requires when we don't need them anymore:\n // https://github.com/facebook/react/pull/7178\n ReactComponentTreeHook = __webpack_require__(10);\n}\n\nvar loggedTypeFailures = {};\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?object} element The React element that is being type-checked\n * @param {?number} debugID The React component instance that is being type-checked\n * @private\n */\nfunction checkReactTypeSpec(typeSpecs, values, location, componentName, element, debugID) {\n for (var typeSpecName in typeSpecs) {\n if (typeSpecs.hasOwnProperty(typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n !(typeof typeSpecs[typeSpecName] === 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.', componentName || 'React class', ReactPropTypeLocationNames[location], typeSpecName) : _prodInvariant('84', componentName || 'React class', ReactPropTypeLocationNames[location], typeSpecName) : void 0;\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n process.env.NODE_ENV !== 'production' ? warning(!error || error instanceof Error, '%s: type specification of %s `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', ReactPropTypeLocationNames[location], typeSpecName, typeof error) : void 0;\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var componentStackInfo = '';\n\n if (process.env.NODE_ENV !== 'production') {\n if (!ReactComponentTreeHook) {\n ReactComponentTreeHook = __webpack_require__(10);\n }\n if (debugID !== null) {\n componentStackInfo = ReactComponentTreeHook.getStackAddendumByID(debugID);\n } else if (element !== null) {\n componentStackInfo = ReactComponentTreeHook.getCurrentStackAddendum(element);\n }\n }\n\n process.env.NODE_ENV !== 'production' ? warning(false, 'Failed %s type: %s%s', location, error.message, componentStackInfo) : void 0;\n }\n }\n }\n}\n\nmodule.exports = checkReactTypeSpec;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/checkReactTypeSpec.js\n// module id = 246\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/checkReactTypeSpec.js?"); /***/ }), /* 247 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _require = __webpack_require__(113),\n Component = _require.Component;\n\nvar _require2 = __webpack_require__(27),\n isValidElement = _require2.isValidElement;\n\nvar ReactNoopUpdateQueue = __webpack_require__(116);\nvar factory = __webpack_require__(149);\n\nmodule.exports = factory(Component, isValidElement, ReactNoopUpdateQueue);\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/createClass.js\n// module id = 247\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/createClass.js?"); /***/ }), /* 248 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n'use strict';\n\nvar nextDebugID = 1;\n\nfunction getNextDebugID() {\n return nextDebugID++;\n}\n\nmodule.exports = getNextDebugID;\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/getNextDebugID.js\n// module id = 248\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/getNextDebugID.js?"); /***/ }), /* 249 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n'use strict';\n\nvar _prodInvariant = __webpack_require__(32);\n\nvar ReactElement = __webpack_require__(27);\n\nvar invariant = __webpack_require__(3);\n\n/**\n * Returns the first child in a collection of children and verifies that there\n * is only one child in the collection.\n *\n * See https://facebook.github.io/react/docs/top-level-api.html#react.children.only\n *\n * The current implementation of this function assumes that a single child gets\n * passed without a wrapper, but the purpose of this helper function is to\n * abstract away the particular structure of children.\n *\n * @param {?object} children Child collection structure.\n * @return {ReactElement} The first and only `ReactElement` contained in the\n * structure.\n */\nfunction onlyChild(children) {\n !ReactElement.isValidElement(children) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'React.Children.only expected to receive a single React element child.') : _prodInvariant('143') : void 0;\n return children;\n}\n\nmodule.exports = onlyChild;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/onlyChild.js\n// module id = 249\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/onlyChild.js?"); /***/ }), /* 250 */ /***/ (function(module, exports, __webpack_require__) { eval("/* WEBPACK VAR INJECTION */(function(process) {/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n'use strict';\n\nvar _prodInvariant = __webpack_require__(32);\n\nvar ReactCurrentOwner = __webpack_require__(17);\nvar REACT_ELEMENT_TYPE = __webpack_require__(114);\n\nvar getIteratorFn = __webpack_require__(117);\nvar invariant = __webpack_require__(3);\nvar KeyEscapeUtils = __webpack_require__(238);\nvar warning = __webpack_require__(4);\n\nvar SEPARATOR = '.';\nvar SUBSEPARATOR = ':';\n\n/**\n * This is inlined from ReactElement since this file is shared between\n * isomorphic and renderers. We could extract this to a\n *\n */\n\n/**\n * TODO: Test that a single child and an array with one item have the same key\n * pattern.\n */\n\nvar didWarnAboutMaps = false;\n\n/**\n * Generate a key string that identifies a component within a set.\n *\n * @param {*} component A component that could contain a manual key.\n * @param {number} index Index that is used if a manual key is not provided.\n * @return {string}\n */\nfunction getComponentKey(component, index) {\n // Do some typechecking here since we call this blindly. We want to ensure\n // that we don't block potential future ES APIs.\n if (component && typeof component === 'object' && component.key != null) {\n // Explicit key\n return KeyEscapeUtils.escape(component.key);\n }\n // Implicit key determined by the index in the set\n return index.toString(36);\n}\n\n/**\n * @param {?*} children Children tree container.\n * @param {!string} nameSoFar Name of the key path so far.\n * @param {!function} callback Callback to invoke with each child found.\n * @param {?*} traverseContext Used to pass information throughout the traversal\n * process.\n * @return {!number} The number of children in this subtree.\n */\nfunction traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext) {\n var type = typeof children;\n\n if (type === 'undefined' || type === 'boolean') {\n // All of the above are perceived as null.\n children = null;\n }\n\n if (children === null || type === 'string' || type === 'number' ||\n // The following is inlined from ReactElement. This means we can optimize\n // some checks. React Fiber also inlines this logic for similar purposes.\n type === 'object' && children.$$typeof === REACT_ELEMENT_TYPE) {\n callback(traverseContext, children,\n // If it's the only child, treat the name as if it was wrapped in an array\n // so that it's consistent if the number of children grows.\n nameSoFar === '' ? SEPARATOR + getComponentKey(children, 0) : nameSoFar);\n return 1;\n }\n\n var child;\n var nextName;\n var subtreeCount = 0; // Count of children found in the current subtree.\n var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR;\n\n if (Array.isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n child = children[i];\n nextName = nextNamePrefix + getComponentKey(child, i);\n subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n }\n } else {\n var iteratorFn = getIteratorFn(children);\n if (iteratorFn) {\n var iterator = iteratorFn.call(children);\n var step;\n if (iteratorFn !== children.entries) {\n var ii = 0;\n while (!(step = iterator.next()).done) {\n child = step.value;\n nextName = nextNamePrefix + getComponentKey(child, ii++);\n subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n }\n } else {\n if (process.env.NODE_ENV !== 'production') {\n var mapsAsChildrenAddendum = '';\n if (ReactCurrentOwner.current) {\n var mapsAsChildrenOwnerName = ReactCurrentOwner.current.getName();\n if (mapsAsChildrenOwnerName) {\n mapsAsChildrenAddendum = ' Check the render method of `' + mapsAsChildrenOwnerName + '`.';\n }\n }\n process.env.NODE_ENV !== 'production' ? warning(didWarnAboutMaps, 'Using Maps as children is not yet fully supported. It is an ' + 'experimental feature that might be removed. Convert it to a ' + 'sequence / iterable of keyed ReactElements instead.%s', mapsAsChildrenAddendum) : void 0;\n didWarnAboutMaps = true;\n }\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n child = entry[1];\n nextName = nextNamePrefix + KeyEscapeUtils.escape(entry[0]) + SUBSEPARATOR + getComponentKey(child, 0);\n subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n }\n }\n }\n } else if (type === 'object') {\n var addendum = '';\n if (process.env.NODE_ENV !== 'production') {\n addendum = ' If you meant to render a collection of children, use an array ' + 'instead or wrap the object using createFragment(object) from the ' + 'React add-ons.';\n if (children._isReactElement) {\n addendum = \" It looks like you're using an element created by a different \" + 'version of React. Make sure to use only one copy of React.';\n }\n if (ReactCurrentOwner.current) {\n var name = ReactCurrentOwner.current.getName();\n if (name) {\n addendum += ' Check the render method of `' + name + '`.';\n }\n }\n }\n var childrenString = String(children);\n true ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Objects are not valid as a React child (found: %s).%s', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : _prodInvariant('31', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : void 0;\n }\n }\n\n return subtreeCount;\n}\n\n/**\n * Traverses children that are typically specified as `props.children`, but\n * might also be specified through attributes:\n *\n * - `traverseAllChildren(this.props.children, ...)`\n * - `traverseAllChildren(this.props.leftPanelChildren, ...)`\n *\n * The `traverseContext` is an optional argument that is passed through the\n * entire traversal. It can be used to store accumulations or anything else that\n * the callback might find relevant.\n *\n * @param {?*} children Children tree object.\n * @param {!function} callback To invoke upon traversing each child.\n * @param {?*} traverseContext Context for traversal.\n * @return {!number} The number of children in this subtree.\n */\nfunction traverseAllChildren(children, callback, traverseContext) {\n if (children == null) {\n return 0;\n }\n\n return traverseAllChildrenImpl(children, '', callback, traverseContext);\n}\n\nmodule.exports = traverseAllChildren;\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react/lib/traverseAllChildren.js\n// module id = 250\n// module chunks = 0 1 2 3\n//# sourceURL=webpack:///./~/react/lib/traverseAllChildren.js?"); /***/ }), /* 251 */, /* 252 */, /* 253 */, /* 254 */, /* 255 */, /* 256 */, /* 257 */ /***/ (function(module, exports) { eval("'use strict';\n\nvar CustomDealerItem = function CustomDealerItem(data) {\n\tvar self = this;\n\n\tself.submit = false;\n\n\tself.id = false;\n\tself.customerNumber = false;\n\tself.name = '';\n\tself.description = '';\n\tself.price = 0;\n\n\tif (data !== undefined) {\n\t\tif (data.id !== undefined) {\n\t\t\tself.id = data.id;\n\t\t}\n\t\tif (data.customerNumber !== undefined) {\n\t\t\tself.customerNumber = data.customerNumber;\n\t\t}\n\t\tif (data.name !== undefined) {\n\t\t\tself.name = data.name;\n\t\t}\n\t\tif (data.description !== undefined) {\n\t\t\tself.description = data.description;\n\t\t}\n\t\tif (data.price !== undefined) {\n\t\t\tself.price = data.price;\n\t\t}\n\t}\n};\n\nmodule.exports = CustomDealerItem;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/models/customDealerItem.js\n// module id = 257\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/models/customDealerItem.js?"); /***/ }), /* 258 */ /***/ (function(module, exports) { eval("'use strict';\n\nvar Member = function Member(data) {\n\tvar self = this;\n\n\t//Keeping track whether member data has been submitted, important for validation\n\tself.submit = false;\n\n\tself.id = false;\n\tself.avatar = new Avatar();\n\tself.customerNumber = false;\n\tself.firstName = '';\n\tself.lastName = '';\n\tself.phoneCountryPrefix = '';\n\tself.phoneNumber = '';\n\tself.mobileCountryPrefix = '';\n\tself.mobileNumber = '';\n\tself.email = '';\n\n\t//For new members\n\tself.login = '';\n\tself.password = '';\n\n\t//For existing members\n\tself.confirmPassword = '';\n\n\tif (data !== undefined) {\n\t\tif (data.id !== undefined) {\n\t\t\tself.id = data.id;\n\t\t}\n\t\tif (data.customerNumber !== undefined) {\n\t\t\tself.customerNumber = data.customerNumber;\n\t\t}\n\t\tif (data.firstName !== undefined) {\n\t\t\tself.firstName = data.firstName;\n\t\t}\n\t\tif (data.lastName !== undefined) {\n\t\t\tself.lastName = data.lastName;\n\t\t}\n\t\tif (data.phoneCountryPrefix !== undefined) {\n\t\t\tself.phoneCountryPrefix = data.phoneCountryPrefix;\n\t\t}\n\t\tif (data.phoneNumber !== undefined) {\n\t\t\tself.phoneNumber = data.phoneNumber;\n\t\t}\n\t\tif (data.mobileCountryPrefix !== undefined) {\n\t\t\tself.mobileCountryPrefix = data.mobileCountryPrefix;\n\t\t}\n\t\tif (data.mobileNumber !== undefined) {\n\t\t\tself.mobileNumber = data.mobileNumber;\n\t\t}\n\t\tif (data.email !== undefined) {\n\t\t\tself.email = data.email;\n\t\t}\n\t\tif (data.login !== undefined) {\n\t\t\tself.login = data.login;\n\t\t}\n\t\tif (data.password !== undefined) {\n\t\t\tself.password = data.password;\n\t\t}\n\t\tif (data.confirmPassword !== undefined) {\n\t\t\tself.confirmPassword = data.confirmPassword;\n\t\t}\n\t}\n};\n\nvar Avatar = function Avatar(data) {\n\tvar self = this;\n\n\tself.imagePath = '';\n\n\tif (data !== undefined) {\n\t\tif (data.imagePath !== undefined) {\n\t\t\tself.imagePath = data.imagePath;\n\t\t}\n\t}\n};\n\nmodule.exports = Member;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/models/member.js\n// module id = 258\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/models/member.js?"); /***/ }), /* 259 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar Constants = __webpack_require__(270);\n\n/**\r\n * @const UiHelpers - A collection of functions to help with the UI logic.\r\n */\nvar UiHelpers = {\n Engine: {\n\n /**\r\n * @method configureUiBasedUponDefaultEngine\r\n * @param {JSON[]} engines\r\n * @param {JSON} ui\r\n * @returns {JSON}\r\n */\n configureUiBasedUponDefaultEngine: function configureUiBasedUponDefaultEngine(engines, ui) {\n var newUi = JSON.parse(JSON.stringify(ui));\n var defaultEngine = engines.find(function (engine) {\n return engine.isDefault;\n });\n if (defaultEngine && defaultEngine.isDefault) {\n newUi.engine.selectedBoardType = defaultEngine.inboard ? Constants.STRING_KEYS.BOARD_TYPE_INBOARD : Constants.STRING_KEYS.BOARD_TYPE_OUTBOARD;\n if (defaultEngine.fourstrokeEngine) {\n newUi.engine.selectedBrand = Constants.STRING_KEYS.ENGINE_BRAND_FOURSTROKE;\n }\n if (defaultEngine.veradoEngine) {\n newUi.engine.selectedBrand = Constants.STRING_KEYS.ENGINE_BRAND_VERADO;\n }\n newUi.engine.selectedSingleOrDual = defaultEngine.dual ? Constants.STRING_KEYS.ENGINE_COUNT_DOUBLE : Constants.STRING_KEYS.ENGINE_COUNT_SINGLE;\n return newUi;\n }\n return ui;\n },\n\n /**\r\n * @method filterEnginesBasedUponUi\r\n * @param {JSON[]} engines\r\n * @param {JSON} ui\r\n * @returns {JSON[]} JSON[]\r\n */\n filterEnginesBasedUponUi: function filterEnginesBasedUponUi(engines, ui) {\n var engineUi = ui.engine;\n if (engines.length > 0 && UiHelpers.Engine.hasBoardTypeChoice(engines) && UiHelpers.Engine.isBoardTypeSelected(ui)) {\n engines = UiHelpers.Engine.filterEnginesByParameter(engines, 'inboard', engineUi.selectedBoardType === 'BOARD_TYPE_INBOARD');\n }\n if (engines.length > 0 && UiHelpers.Engine.hasBrandChoice(engines) && UiHelpers.Engine.isBrandSelected(ui)) {\n var brandKey = engineUi.selectedBrand === 'ENGINE_BRAND_FOURSTROKE' ? 'fourstrokeEngine' : 'veradoEngine';\n engines = UiHelpers.Engine.filterEnginesByParameter(engines, brandKey, true);\n }\n if (engines.length > 0 && UiHelpers.Engine.hasEngineCountChoice(engines, ui) && UiHelpers.Engine.isCountSelected(ui)) {\n engines = UiHelpers.Engine.filterEnginesByParameter(engines, 'dual', engineUi.selectedSingleOrDual === 'ENGINE_COUNT_DOUBLE');\n }\n return engines;\n },\n\n /**\r\n * @method filterEnginesByParameter - Filter the `engines` by a member \r\n * `parameter` that has value that matches `value`.\r\n * @param {JSON[]} engines\r\n * @param {string} parameter\r\n * @param {any} value\r\n * @returns {JSON[]} JSON[]\r\n */\n filterEnginesByParameter: function filterEnginesByParameter(engines, parameter, value) {\n return engines.filter(function (engine) {\n return engine[parameter] === value;\n });\n },\n\n /**\r\n * @method hasBoardTypeChoice - Returns `true` if the provided array \r\n * of `engines` has at least one outboard and one inboard engine.\r\n * @param {JSON[]} engines\r\n * @returns {boolean} boolean\r\n */\n hasBoardTypeChoice: function hasBoardTypeChoice(engines) {\n var hasOutboard = false;\n var hasInboard = false;\n engines.forEach(function (engine) {\n hasInboard = engine.inboard ? true : hasInboard;\n hasOutboard = !engine.inboard ? true : hasOutboard;\n });\n return hasInboard && hasOutboard;\n },\n\n /**\r\n * @method hasBrandChoice\r\n * @param {JSON[]} engines\r\n * @returns {boolean}\r\n */\n hasBrandChoice: function hasBrandChoice(engines) {\n return false;\n /**\r\n * @note by Kyle Weems on 5 December 2018: Per https://github.com/netaddictshq/brunswick-website/issues/2450 \r\n * we want to not currently show brand selection as an option. As\r\n * such, hard-wiring this to always be false.\r\n */\n /*\r\n let hasFourStroke = false;\r\n let hasVerado = false;\r\n engines.forEach((engine) => {\r\n hasFourStroke = engine.fourstrokeEngine ? true : hasFourStroke;\r\n hasVerado = engine.veradoEngine ? true : hasVerado;\r\n });\r\n return (hasFourStroke && hasVerado);*/\n },\n\n /**\r\n * @method hasEngineCountChoice - Returns `true` if both single and \r\n * dual stroke engines are available.\r\n * @param {JSON[]} engines\r\n * @returns {boolean} boolean\r\n */\n hasEngineCountChoice: function hasEngineCountChoice(engines, ui) {\n var hasSingle = false;\n var hasDual = false;\n var engineUi = ui.engine;\n if (engines.length > 0 && UiHelpers.Engine.hasBoardTypeChoice(engines) && UiHelpers.Engine.isBoardTypeSelected(ui)) {\n engines = UiHelpers.Engine.filterEnginesByParameter(engines, 'inboard', engineUi.selectedBoardType === 'BOARD_TYPE_INBOARD');\n }\n if (engines.length > 0 && UiHelpers.Engine.hasBrandChoice(engines) && UiHelpers.Engine.isBrandSelected(ui)) {\n var brandKey = engineUi.selectedBrand === 'ENGINE_BRAND_FOURSTROKE' ? 'fourstrokeEngine' : 'veradoEngine';\n engines = UiHelpers.Engine.filterEnginesByParameter(engines, brandKey, true);\n }\n engines.forEach(function (engine) {\n hasDual = engine.dual ? true : hasDual;\n hasSingle = !engine.dual ? true : hasSingle;\n });\n return hasSingle && hasDual;\n },\n\n /**\r\n * Returns `false` if the user isn't at the bottom remaining choice, \r\n * otherwise returns `true`.\r\n * @param {JSON[]} engines\r\n * @param {JSON} ui\r\n * @returns {boolean} boolean\r\n */\n haveNoEngineChoiceLeft: function haveNoEngineChoiceLeft(engines, ui) {\n var typeSelection = UiHelpers.Engine.shouldShowBoardTypeSelection(engines, ui) && UiHelpers.Engine.isBoardTypeSelected(ui) || !UiHelpers.Engine.shouldShowBoardTypeSelection(engines, ui);\n var countSelection = UiHelpers.Engine.shouldShowCountSelection(engines, ui) && UiHelpers.Engine.isCountSelected(ui) || !UiHelpers.Engine.shouldShowCountSelection(engines, ui);\n\n return typeSelection && countSelection;\n },\n\n /**\r\n * @method isBoardTypeSelected - Returns `true` if the user has \r\n * explicitly selected a board type.\r\n * @param {JSON} ui\r\n * @returns {boolean} boolean\r\n */\n isBoardTypeSelected: function isBoardTypeSelected(ui) {\n return ui.engine.selectedBoardType !== '';\n },\n\n /**\r\n * @method isBrandSelected - Returns `true` if the user has explicitly \r\n * selected the Verado or Fourstroke engine brand.\r\n * @param {JSON} ui\r\n * @returns {boolean} boolean\r\n */\n isBrandSelected: function isBrandSelected(ui) {\n return ui.engine.selectedBrand !== '';\n },\n\n /**\r\n * @method isCountSelected - Returns `true` if the user has explicitly \r\n * selected the engine count.\r\n * @param {JSON} ui\r\n * @returns {boolean} boolean\r\n */\n isCountSelected: function isCountSelected(ui) {\n return ui.engine.selectedSingleOrDual !== '';\n },\n\n /**\r\n * @method shouldShowBoardTypeSelection - Returns `true` if the conditions \r\n * are correct to show the board type selection.\r\n * @param {JSON[]} engines\r\n * @param {JSON} ui\r\n * @returns {boolean} boolean\r\n */\n shouldShowBoardTypeSelection: function shouldShowBoardTypeSelection(engines, ui) {\n return UiHelpers.Engine.hasBoardTypeChoice(engines) && !UiHelpers.Engine.isBoardTypeSelected(ui);\n //|| (UiHelpers.Engine.hasBoardTypeChoice(engines) && !UiHelpers.Engine.hasEngineCountChoice(engines, ui));\n },\n\n /**\r\n * @method shouldShowBrandSelection - Returns `true` if the conditions \r\n * are correct to show the brand selection.\r\n * @param {JSON[]} engines\r\n * @param {JSON} ui\r\n * @returns {boolean} boolean\r\n */\n shouldShowBrandSelection: function shouldShowBrandSelection(engines, ui) {\n return false;\n /**\r\n * @note by Kyle Weems on 5 December 2018: Per https://github.com/netaddictshq/brunswick-website/issues/2450 \r\n * we want to not currently show brand selection as an option. As\r\n * such, hard-wiring this to always be false.\r\n */\n // return !UiHelpers.Engine.shouldShowBoardTypeSelection(engines, ui) && UiHelpers.Engine.hasBrandChoice(engines) && !UiHelpers.Engine.isBrandSelected(ui);\n },\n\n /**\r\n * @method shouldShowCountSelection - Returns `true` if the conditions \r\n * are correct to show the engine count selection.\r\n * @param {JSON[]} engines\r\n * @param {JSON} ui\r\n * @returns {boolean} boolean\r\n */\n shouldShowCountSelection: function shouldShowCountSelection(engines, ui) {\n //return !UiHelpers.Engine.shouldShowBoardTypeSelection(engines, ui) && !UiHelpers.Engine.shouldShowBrandSelection(engines, ui);\n return !UiHelpers.Engine.shouldShowBoardTypeSelection(engines, ui) //&& !UiHelpers.Engine.shouldShowBrandSelection(engines, ui) \n && UiHelpers.Engine.hasEngineCountChoice(engines, ui) && !UiHelpers.Engine.isCountSelected(ui);\n }\n }\n};\n\nmodule.exports = UiHelpers;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/utils/uiHelpers.js\n// module id = 259\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/utils/uiHelpers.js?"); /***/ }), /* 260 */, /* 261 */, /* 262 */, /* 263 */, /* 264 */ /***/ (function(module, exports) { eval("'use strict';\n\nfunction ToObject(val) {\n\tif (val == null) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nmodule.exports = Object.assign || function (target, source) {\n\tvar from;\n\tvar keys;\n\tvar to = ToObject(target);\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = arguments[s];\n\t\tkeys = Object.keys(Object(from));\n\n\t\tfor (var i = 0; i < keys.length; i++) {\n\t\t\tto[keys[i]] = from[keys[i]];\n\t\t}\n\t}\n\n\treturn to;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/object-assign/index.js\n// module id = 264\n// module chunks = 1 2 3\n//# sourceURL=webpack:///./~/object-assign/index.js?"); /***/ }), /* 265 */, /* 266 */, /* 267 */, /* 268 */, /* 269 */, /* 270 */ /***/ (function(module, exports) { eval("'use strict';\n\nvar Constants = {\n API_KEYS: {\n GOOGLE_MAPS: 'AIzaSyDnl_zNmuO_FLb-gt0YfKWeSjhNeLZvoeg'\n },\n ENABLE_CONSOLE_LOGGING: false,\n CONFIGURATOR_APP_MOUNT_NODE: '*[data-react-root]',\n LOG_ACTIONS_IN_CONSOLE: false,\n USE_MOCK_API: false,\n STRING_KEYS: {\n BOARD_TYPE_INBOARD: 'BOARD_TYPE_INBOARD',\n BOARD_TYPE_OUTBOARD: 'BOARD_TYPE_OUTBOARD',\n ENGINE_BRAND_FOURSTROKE: 'ENGINE_BRAND_FOURSTROKE',\n ENGINE_BRAND_VERADO: 'ENGINE_BRAND_VERADO',\n ENGINE_COUNT_SINGLE: 'ENGINE_COUNT_SINGLE',\n ENGINE_COUNT_DOUBLE: 'ENGINE_COUNT_DOUBLE'\n }\n};\n\nmodule.exports = Constants;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/utils/constants.js\n// module id = 270\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/utils/constants.js?"); /***/ }), /* 271 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n/**\r\n * The header component of the overview summary dropdown items.\r\n * @param {DropdownHeaderProps} props \r\n */\nvar DropdownHeader = function DropdownHeader(props) {\n var styleAsLink = { cursor: 'pointer' };\n\n return React.createElement(\n 'header',\n { className: 'c_dropdown__header--alt h--flexbox' },\n React.createElement(\n 'span',\n {\n className: 'c_dropdown__title c_text--blue',\n onClick: function onClick(e) {\n e.preventDefault();props.events.onToggleViewDropdownPanel(props.panelKey);\n },\n style: styleAsLink\n },\n Dictionary.getValue(props.titleKey, props.titleDefault) + ' ',\n typeof props.itemCount !== 'undefined' && React.createElement(\n 'span',\n { className: 'c_text--dark-gray' },\n '(',\n props.itemCount,\n ')'\n )\n ),\n React.createElement(\n 'a',\n {\n href: '#',\n className: 'c_dropdown__trigger c_dropdown__trigger--blue c_dropdown__trigger--normal',\n onClick: function onClick(e) {\n e.preventDefault();props.events.onToggleViewDropdownPanel(props.panelKey);\n }\n },\n React.createElement(\n 'span',\n { className: 'c_text--blue' },\n Helpers.formatMoneyLocalized(props.price, !!props.price)\n )\n )\n );\n};\n\n/**\r\n * @typedef DropdownHeaderProps\r\n * @prop {string} titleKey\r\n * @prop {string} titleDefault\r\n * @prop {number=} itemCount\r\n * @prop {string} panelKey\r\n * @prop {number} price\r\n * @prop {(Event)=>{}[]} events\r\n * \r\n */\n\nmodule.exports = DropdownHeader;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/common/DropdownHeader/DropdownHeader.jsx\n// module id = 271\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/common/DropdownHeader/DropdownHeader.jsx?"); /***/ }), /* 272 */, /* 273 */, /* 274 */, /* 275 */ /***/ (function(module, exports) { eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nfunction EventEmitter() {\n this._events = this._events || {};\n this._maxListeners = this._maxListeners || undefined;\n}\nmodule.exports = EventEmitter;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nEventEmitter.defaultMaxListeners = 10;\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function(n) {\n if (!isNumber(n) || n < 0 || isNaN(n))\n throw TypeError('n must be a positive number');\n this._maxListeners = n;\n return this;\n};\n\nEventEmitter.prototype.emit = function(type) {\n var er, handler, len, args, i, listeners;\n\n if (!this._events)\n this._events = {};\n\n // If there is no 'error' event listener then throw.\n if (type === 'error') {\n if (!this._events.error ||\n (isObject(this._events.error) && !this._events.error.length)) {\n er = arguments[1];\n if (er instanceof Error) {\n throw er; // Unhandled 'error' event\n } else {\n // At least give some kind of context to the user\n var err = new Error('Uncaught, unspecified \"error\" event. (' + er + ')');\n err.context = er;\n throw err;\n }\n }\n }\n\n handler = this._events[type];\n\n if (isUndefined(handler))\n return false;\n\n if (isFunction(handler)) {\n switch (arguments.length) {\n // fast cases\n case 1:\n handler.call(this);\n break;\n case 2:\n handler.call(this, arguments[1]);\n break;\n case 3:\n handler.call(this, arguments[1], arguments[2]);\n break;\n // slower\n default:\n args = Array.prototype.slice.call(arguments, 1);\n handler.apply(this, args);\n }\n } else if (isObject(handler)) {\n args = Array.prototype.slice.call(arguments, 1);\n listeners = handler.slice();\n len = listeners.length;\n for (i = 0; i < len; i++)\n listeners[i].apply(this, args);\n }\n\n return true;\n};\n\nEventEmitter.prototype.addListener = function(type, listener) {\n var m;\n\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n if (!this._events)\n this._events = {};\n\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (this._events.newListener)\n this.emit('newListener', type,\n isFunction(listener.listener) ?\n listener.listener : listener);\n\n if (!this._events[type])\n // Optimize the case of one listener. Don't need the extra array object.\n this._events[type] = listener;\n else if (isObject(this._events[type]))\n // If we've already got an array, just append.\n this._events[type].push(listener);\n else\n // Adding the second element, need to change to array.\n this._events[type] = [this._events[type], listener];\n\n // Check for listener leak\n if (isObject(this._events[type]) && !this._events[type].warned) {\n if (!isUndefined(this._maxListeners)) {\n m = this._maxListeners;\n } else {\n m = EventEmitter.defaultMaxListeners;\n }\n\n if (m && m > 0 && this._events[type].length > m) {\n this._events[type].warned = true;\n console.error('(node) warning: possible EventEmitter memory ' +\n 'leak detected. %d listeners added. ' +\n 'Use emitter.setMaxListeners() to increase limit.',\n this._events[type].length);\n if (typeof console.trace === 'function') {\n // not supported in IE 10\n console.trace();\n }\n }\n }\n\n return this;\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.once = function(type, listener) {\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n var fired = false;\n\n function g() {\n this.removeListener(type, g);\n\n if (!fired) {\n fired = true;\n listener.apply(this, arguments);\n }\n }\n\n g.listener = listener;\n this.on(type, g);\n\n return this;\n};\n\n// emits a 'removeListener' event iff the listener was removed\nEventEmitter.prototype.removeListener = function(type, listener) {\n var list, position, length, i;\n\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n if (!this._events || !this._events[type])\n return this;\n\n list = this._events[type];\n length = list.length;\n position = -1;\n\n if (list === listener ||\n (isFunction(list.listener) && list.listener === listener)) {\n delete this._events[type];\n if (this._events.removeListener)\n this.emit('removeListener', type, listener);\n\n } else if (isObject(list)) {\n for (i = length; i-- > 0;) {\n if (list[i] === listener ||\n (list[i].listener && list[i].listener === listener)) {\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (list.length === 1) {\n list.length = 0;\n delete this._events[type];\n } else {\n list.splice(position, 1);\n }\n\n if (this._events.removeListener)\n this.emit('removeListener', type, listener);\n }\n\n return this;\n};\n\nEventEmitter.prototype.removeAllListeners = function(type) {\n var key, listeners;\n\n if (!this._events)\n return this;\n\n // not listening for removeListener, no need to emit\n if (!this._events.removeListener) {\n if (arguments.length === 0)\n this._events = {};\n else if (this._events[type])\n delete this._events[type];\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n for (key in this._events) {\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = {};\n return this;\n }\n\n listeners = this._events[type];\n\n if (isFunction(listeners)) {\n this.removeListener(type, listeners);\n } else if (listeners) {\n // LIFO order\n while (listeners.length)\n this.removeListener(type, listeners[listeners.length - 1]);\n }\n delete this._events[type];\n\n return this;\n};\n\nEventEmitter.prototype.listeners = function(type) {\n var ret;\n if (!this._events || !this._events[type])\n ret = [];\n else if (isFunction(this._events[type]))\n ret = [this._events[type]];\n else\n ret = this._events[type].slice();\n return ret;\n};\n\nEventEmitter.prototype.listenerCount = function(type) {\n if (this._events) {\n var evlistener = this._events[type];\n\n if (isFunction(evlistener))\n return 1;\n else if (evlistener)\n return evlistener.length;\n }\n return 0;\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n return emitter.listenerCount(type);\n};\n\nfunction isFunction(arg) {\n return typeof arg === 'function';\n}\n\nfunction isNumber(arg) {\n return typeof arg === 'number';\n}\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\n\nfunction isUndefined(arg) {\n return arg === void 0;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/events/events.js\n// module id = 275\n// module chunks = 1 2 3\n//# sourceURL=webpack:///./~/events/events.js?"); /***/ }), /* 276 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Copyright (c) 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\nmodule.exports.Dispatcher = __webpack_require__(277)\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/flux/index.js\n// module id = 276\n// module chunks = 1 2 3\n//# sourceURL=webpack:///./~/flux/index.js?"); /***/ }), /* 277 */ /***/ (function(module, exports, __webpack_require__) { eval("/*\n * Copyright (c) 2014, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule Dispatcher\n * @typechecks\n */\n\n\"use strict\";\n\nvar invariant = __webpack_require__(278);\n\nvar _lastID = 1;\nvar _prefix = 'ID_';\n\n/**\n * Dispatcher is used to broadcast payloads to registered callbacks. This is\n * different from generic pub-sub systems in two ways:\n *\n * 1) Callbacks are not subscribed to particular events. Every payload is\n * dispatched to every registered callback.\n * 2) Callbacks can be deferred in whole or part until other callbacks have\n * been executed.\n *\n * For example, consider this hypothetical flight destination form, which\n * selects a default city when a country is selected:\n *\n * var flightDispatcher = new Dispatcher();\n *\n * // Keeps track of which country is selected\n * var CountryStore = {country: null};\n *\n * // Keeps track of which city is selected\n * var CityStore = {city: null};\n *\n * // Keeps track of the base flight price of the selected city\n * var FlightPriceStore = {price: null}\n *\n * When a user changes the selected city, we dispatch the payload:\n *\n * flightDispatcher.dispatch({\n * actionType: 'city-update',\n * selectedCity: 'paris'\n * });\n *\n * This payload is digested by `CityStore`:\n *\n * flightDispatcher.register(function(payload) {\n * if (payload.actionType === 'city-update') {\n * CityStore.city = payload.selectedCity;\n * }\n * });\n *\n * When the user selects a country, we dispatch the payload:\n *\n * flightDispatcher.dispatch({\n * actionType: 'country-update',\n * selectedCountry: 'australia'\n * });\n *\n * This payload is digested by both stores:\n *\n * CountryStore.dispatchToken = flightDispatcher.register(function(payload) {\n * if (payload.actionType === 'country-update') {\n * CountryStore.country = payload.selectedCountry;\n * }\n * });\n *\n * When the callback to update `CountryStore` is registered, we save a reference\n * to the returned token. Using this token with `waitFor()`, we can guarantee\n * that `CountryStore` is updated before the callback that updates `CityStore`\n * needs to query its data.\n *\n * CityStore.dispatchToken = flightDispatcher.register(function(payload) {\n * if (payload.actionType === 'country-update') {\n * // `CountryStore.country` may not be updated.\n * flightDispatcher.waitFor([CountryStore.dispatchToken]);\n * // `CountryStore.country` is now guaranteed to be updated.\n *\n * // Select the default city for the new country\n * CityStore.city = getDefaultCityForCountry(CountryStore.country);\n * }\n * });\n *\n * The usage of `waitFor()` can be chained, for example:\n *\n * FlightPriceStore.dispatchToken =\n * flightDispatcher.register(function(payload) {\n * switch (payload.actionType) {\n * case 'country-update':\n * flightDispatcher.waitFor([CityStore.dispatchToken]);\n * FlightPriceStore.price =\n * getFlightPriceStore(CountryStore.country, CityStore.city);\n * break;\n *\n * case 'city-update':\n * FlightPriceStore.price =\n * FlightPriceStore(CountryStore.country, CityStore.city);\n * break;\n * }\n * });\n *\n * The `country-update` payload will be guaranteed to invoke the stores'\n * registered callbacks in order: `CountryStore`, `CityStore`, then\n * `FlightPriceStore`.\n */\n\n function Dispatcher() {\n this.$Dispatcher_callbacks = {};\n this.$Dispatcher_isPending = {};\n this.$Dispatcher_isHandled = {};\n this.$Dispatcher_isDispatching = false;\n this.$Dispatcher_pendingPayload = null;\n }\n\n /**\n * Registers a callback to be invoked with every dispatched payload. Returns\n * a token that can be used with `waitFor()`.\n *\n * @param {function} callback\n * @return {string}\n */\n Dispatcher.prototype.register=function(callback) {\n var id = _prefix + _lastID++;\n this.$Dispatcher_callbacks[id] = callback;\n return id;\n };\n\n /**\n * Removes a callback based on its token.\n *\n * @param {string} id\n */\n Dispatcher.prototype.unregister=function(id) {\n invariant(\n this.$Dispatcher_callbacks[id],\n 'Dispatcher.unregister(...): `%s` does not map to a registered callback.',\n id\n );\n delete this.$Dispatcher_callbacks[id];\n };\n\n /**\n * Waits for the callbacks specified to be invoked before continuing execution\n * of the current callback. This method should only be used by a callback in\n * response to a dispatched payload.\n *\n * @param {array<string>} ids\n */\n Dispatcher.prototype.waitFor=function(ids) {\n invariant(\n this.$Dispatcher_isDispatching,\n 'Dispatcher.waitFor(...): Must be invoked while dispatching.'\n );\n for (var ii = 0; ii < ids.length; ii++) {\n var id = ids[ii];\n if (this.$Dispatcher_isPending[id]) {\n invariant(\n this.$Dispatcher_isHandled[id],\n 'Dispatcher.waitFor(...): Circular dependency detected while ' +\n 'waiting for `%s`.',\n id\n );\n continue;\n }\n invariant(\n this.$Dispatcher_callbacks[id],\n 'Dispatcher.waitFor(...): `%s` does not map to a registered callback.',\n id\n );\n this.$Dispatcher_invokeCallback(id);\n }\n };\n\n /**\n * Dispatches a payload to all registered callbacks.\n *\n * @param {object} payload\n */\n Dispatcher.prototype.dispatch=function(payload) {\n invariant(\n !this.$Dispatcher_isDispatching,\n 'Dispatch.dispatch(...): Cannot dispatch in the middle of a dispatch.'\n );\n this.$Dispatcher_startDispatching(payload);\n try {\n for (var id in this.$Dispatcher_callbacks) {\n if (this.$Dispatcher_isPending[id]) {\n continue;\n }\n this.$Dispatcher_invokeCallback(id);\n }\n } finally {\n this.$Dispatcher_stopDispatching();\n }\n };\n\n /**\n * Is this Dispatcher currently dispatching.\n *\n * @return {boolean}\n */\n Dispatcher.prototype.isDispatching=function() {\n return this.$Dispatcher_isDispatching;\n };\n\n /**\n * Call the callback stored with the given id. Also do some internal\n * bookkeeping.\n *\n * @param {string} id\n * @internal\n */\n Dispatcher.prototype.$Dispatcher_invokeCallback=function(id) {\n this.$Dispatcher_isPending[id] = true;\n this.$Dispatcher_callbacks[id](this.$Dispatcher_pendingPayload);\n this.$Dispatcher_isHandled[id] = true;\n };\n\n /**\n * Set up bookkeeping needed when dispatching.\n *\n * @param {object} payload\n * @internal\n */\n Dispatcher.prototype.$Dispatcher_startDispatching=function(payload) {\n for (var id in this.$Dispatcher_callbacks) {\n this.$Dispatcher_isPending[id] = false;\n this.$Dispatcher_isHandled[id] = false;\n }\n this.$Dispatcher_pendingPayload = payload;\n this.$Dispatcher_isDispatching = true;\n };\n\n /**\n * Clear bookkeeping used for dispatching.\n *\n * @internal\n */\n Dispatcher.prototype.$Dispatcher_stopDispatching=function() {\n this.$Dispatcher_pendingPayload = null;\n this.$Dispatcher_isDispatching = false;\n };\n\n\nmodule.exports = Dispatcher;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/flux/lib/Dispatcher.js\n// module id = 277\n// module chunks = 1 2 3\n//# sourceURL=webpack:///./~/flux/lib/Dispatcher.js?"); /***/ }), /* 278 */ /***/ (function(module, exports) { eval("/**\n * Copyright (c) 2014, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule invariant\n */\n\n\"use strict\";\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar invariant = function(condition, format, a, b, c, d, e, f) {\n if (false) {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error(\n 'Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.'\n );\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(\n 'Invariant Violation: ' +\n format.replace(/%s/g, function() { return args[argIndex++]; })\n );\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\n\nmodule.exports = invariant;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/flux/lib/invariant.js\n// module id = 278\n// module chunks = 1 2 3\n//# sourceURL=webpack:///./~/flux/lib/invariant.js?"); /***/ }), /* 279 */, /* 280 */ /***/ (function(module, exports) { eval("\n/**\n * Reduce `arr` with `fn`.\n *\n * @param {Array} arr\n * @param {Function} fn\n * @param {Mixed} initial\n *\n * TODO: combatible error handling?\n */\n\nmodule.exports = function(arr, fn, initial){ \n var idx = 0;\n var len = arr.length;\n var curr = arguments.length == 3\n ? initial\n : arr[idx++];\n\n while (idx < len) {\n curr = fn.call(null, curr, arr[idx], ++idx, arr);\n }\n \n return curr;\n};\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/reduce-component/index.js\n// module id = 280\n// module chunks = 1 2 3\n//# sourceURL=webpack:///./~/reduce-component/index.js?"); /***/ }), /* 281 */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * Module dependencies.\n */\n\nvar Emitter = __webpack_require__(282);\nvar reduce = __webpack_require__(280);\n\n/**\n * Root reference for iframes.\n */\n\nvar root = 'undefined' == typeof window\n ? this\n : window;\n\n/**\n * Noop.\n */\n\nfunction noop(){};\n\n/**\n * Check if `obj` is a host object,\n * we don't want to serialize these :)\n *\n * TODO: future proof, move to compoent land\n *\n * @param {Object} obj\n * @return {Boolean}\n * @api private\n */\n\nfunction isHost(obj) {\n var str = {}.toString.call(obj);\n\n switch (str) {\n case '[object File]':\n case '[object Blob]':\n case '[object FormData]':\n return true;\n default:\n return false;\n }\n}\n\n/**\n * Determine XHR.\n */\n\nfunction getXHR() {\n if (root.XMLHttpRequest\n && ('file:' != root.location.protocol || !root.ActiveXObject)) {\n return new XMLHttpRequest;\n } else {\n try { return new ActiveXObject('Microsoft.XMLHTTP'); } catch(e) {}\n try { return new ActiveXObject('Msxml2.XMLHTTP.6.0'); } catch(e) {}\n try { return new ActiveXObject('Msxml2.XMLHTTP.3.0'); } catch(e) {}\n try { return new ActiveXObject('Msxml2.XMLHTTP'); } catch(e) {}\n }\n return false;\n}\n\n/**\n * Removes leading and trailing whitespace, added to support IE.\n *\n * @param {String} s\n * @return {String}\n * @api private\n */\n\nvar trim = ''.trim\n ? function(s) { return s.trim(); }\n : function(s) { return s.replace(/(^\\s*|\\s*$)/g, ''); };\n\n/**\n * Check if `obj` is an object.\n *\n * @param {Object} obj\n * @return {Boolean}\n * @api private\n */\n\nfunction isObject(obj) {\n return obj === Object(obj);\n}\n\n/**\n * Serialize the given `obj`.\n *\n * @param {Object} obj\n * @return {String}\n * @api private\n */\n\nfunction serialize(obj) {\n if (!isObject(obj)) return obj;\n var pairs = [];\n for (var key in obj) {\n if (null != obj[key]) {\n pairs.push(encodeURIComponent(key)\n + '=' + encodeURIComponent(obj[key]));\n }\n }\n return pairs.join('&');\n}\n\n/**\n * Expose serialization method.\n */\n\n request.serializeObject = serialize;\n\n /**\n * Parse the given x-www-form-urlencoded `str`.\n *\n * @param {String} str\n * @return {Object}\n * @api private\n */\n\nfunction parseString(str) {\n var obj = {};\n var pairs = str.split('&');\n var parts;\n var pair;\n\n for (var i = 0, len = pairs.length; i < len; ++i) {\n pair = pairs[i];\n parts = pair.split('=');\n obj[decodeURIComponent(parts[0])] = decodeURIComponent(parts[1]);\n }\n\n return obj;\n}\n\n/**\n * Expose parser.\n */\n\nrequest.parseString = parseString;\n\n/**\n * Default MIME type map.\n *\n * superagent.types.xml = 'application/xml';\n *\n */\n\nrequest.types = {\n html: 'text/html',\n json: 'application/json',\n xml: 'application/xml',\n urlencoded: 'application/x-www-form-urlencoded',\n 'form': 'application/x-www-form-urlencoded',\n 'form-data': 'application/x-www-form-urlencoded'\n};\n\n/**\n * Default serialization map.\n *\n * superagent.serialize['application/xml'] = function(obj){\n * return 'generated xml here';\n * };\n *\n */\n\n request.serialize = {\n 'application/x-www-form-urlencoded': serialize,\n 'application/json': JSON.stringify\n };\n\n /**\n * Default parsers.\n *\n * superagent.parse['application/xml'] = function(str){\n * return { object parsed from str };\n * };\n *\n */\n\nrequest.parse = {\n 'application/x-www-form-urlencoded': parseString,\n 'application/json': JSON.parse\n};\n\n/**\n * Parse the given header `str` into\n * an object containing the mapped fields.\n *\n * @param {String} str\n * @return {Object}\n * @api private\n */\n\nfunction parseHeader(str) {\n var lines = str.split(/\\r?\\n/);\n var fields = {};\n var index;\n var line;\n var field;\n var val;\n\n lines.pop(); // trailing CRLF\n\n for (var i = 0, len = lines.length; i < len; ++i) {\n line = lines[i];\n index = line.indexOf(':');\n field = line.slice(0, index).toLowerCase();\n val = trim(line.slice(index + 1));\n fields[field] = val;\n }\n\n return fields;\n}\n\n/**\n * Return the mime type for the given `str`.\n *\n * @param {String} str\n * @return {String}\n * @api private\n */\n\nfunction type(str){\n return str.split(/ *; */).shift();\n};\n\n/**\n * Return header field parameters.\n *\n * @param {String} str\n * @return {Object}\n * @api private\n */\n\nfunction params(str){\n return reduce(str.split(/ *; */), function(obj, str){\n var parts = str.split(/ *= */)\n , key = parts.shift()\n , val = parts.shift();\n\n if (key && val) obj[key] = val;\n return obj;\n }, {});\n};\n\n/**\n * Initialize a new `Response` with the given `xhr`.\n *\n * - set flags (.ok, .error, etc)\n * - parse header\n *\n * Examples:\n *\n * Aliasing `superagent` as `request` is nice:\n *\n * request = superagent;\n *\n * We can use the promise-like API, or pass callbacks:\n *\n * request.get('/').end(function(res){});\n * request.get('/', function(res){});\n *\n * Sending data can be chained:\n *\n * request\n * .post('/user')\n * .send({ name: 'tj' })\n * .end(function(res){});\n *\n * Or passed to `.send()`:\n *\n * request\n * .post('/user')\n * .send({ name: 'tj' }, function(res){});\n *\n * Or passed to `.post()`:\n *\n * request\n * .post('/user', { name: 'tj' })\n * .end(function(res){});\n *\n * Or further reduced to a single call for simple cases:\n *\n * request\n * .post('/user', { name: 'tj' }, function(res){});\n *\n * @param {XMLHTTPRequest} xhr\n * @param {Object} options\n * @api private\n */\n\nfunction Response(req, options) {\n options = options || {};\n this.req = req;\n this.xhr = this.req.xhr;\n this.text = this.req.method !='HEAD' \n ? this.xhr.responseText \n : null;\n this.setStatusProperties(this.xhr.status);\n this.header = this.headers = parseHeader(this.xhr.getAllResponseHeaders());\n // getAllResponseHeaders sometimes falsely returns \"\" for CORS requests, but\n // getResponseHeader still works. so we get content-type even if getting\n // other headers fails.\n this.header['content-type'] = this.xhr.getResponseHeader('content-type');\n this.setHeaderProperties(this.header);\n this.body = this.req.method != 'HEAD'\n ? this.parseBody(this.text)\n : null;\n}\n\n/**\n * Get case-insensitive `field` value.\n *\n * @param {String} field\n * @return {String}\n * @api public\n */\n\nResponse.prototype.get = function(field){\n return this.header[field.toLowerCase()];\n};\n\n/**\n * Set header related properties:\n *\n * - `.type` the content type without params\n *\n * A response of \"Content-Type: text/plain; charset=utf-8\"\n * will provide you with a `.type` of \"text/plain\".\n *\n * @param {Object} header\n * @api private\n */\n\nResponse.prototype.setHeaderProperties = function(header){\n // content-type\n var ct = this.header['content-type'] || '';\n this.type = type(ct);\n\n // params\n var obj = params(ct);\n for (var key in obj) this[key] = obj[key];\n};\n\n/**\n * Parse the given body `str`.\n *\n * Used for auto-parsing of bodies. Parsers\n * are defined on the `superagent.parse` object.\n *\n * @param {String} str\n * @return {Mixed}\n * @api private\n */\n\nResponse.prototype.parseBody = function(str){\n var parse = request.parse[this.type];\n return parse && str && str.length\n ? parse(str)\n : null;\n};\n\n/**\n * Set flags such as `.ok` based on `status`.\n *\n * For example a 2xx response will give you a `.ok` of __true__\n * whereas 5xx will be __false__ and `.error` will be __true__. The\n * `.clientError` and `.serverError` are also available to be more\n * specific, and `.statusType` is the class of error ranging from 1..5\n * sometimes useful for mapping respond colors etc.\n *\n * \"sugar\" properties are also defined for common cases. Currently providing:\n *\n * - .noContent\n * - .badRequest\n * - .unauthorized\n * - .notAcceptable\n * - .notFound\n *\n * @param {Number} status\n * @api private\n */\n\nResponse.prototype.setStatusProperties = function(status){\n var type = status / 100 | 0;\n\n // status / class\n this.status = status;\n this.statusType = type;\n\n // basics\n this.info = 1 == type;\n this.ok = 2 == type;\n this.clientError = 4 == type;\n this.serverError = 5 == type;\n this.error = (4 == type || 5 == type)\n ? this.toError()\n : false;\n\n // sugar\n this.accepted = 202 == status;\n this.noContent = 204 == status || 1223 == status;\n this.badRequest = 400 == status;\n this.unauthorized = 401 == status;\n this.notAcceptable = 406 == status;\n this.notFound = 404 == status;\n this.forbidden = 403 == status;\n};\n\n/**\n * Return an `Error` representative of this response.\n *\n * @return {Error}\n * @api public\n */\n\nResponse.prototype.toError = function(){\n var req = this.req;\n var method = req.method;\n var url = req.url;\n\n var msg = 'cannot ' + method + ' ' + url + ' (' + this.status + ')';\n var err = new Error(msg);\n err.status = this.status;\n err.method = method;\n err.url = url;\n\n return err;\n};\n\n/**\n * Expose `Response`.\n */\n\nrequest.Response = Response;\n\n/**\n * Initialize a new `Request` with the given `method` and `url`.\n *\n * @param {String} method\n * @param {String} url\n * @api public\n */\n\nfunction Request(method, url) {\n var self = this;\n Emitter.call(this);\n this._query = this._query || [];\n this.method = method;\n this.url = url;\n this.header = {};\n this._header = {};\n this.on('end', function(){\n var err = null;\n var res = null;\n\n try {\n res = new Response(self); \n } catch(e) {\n err = new Error('Parser is unable to parse the response');\n err.parse = true;\n err.original = e;\n }\n\n self.callback(err, res);\n });\n}\n\n/**\n * Mixin `Emitter`.\n */\n\nEmitter(Request.prototype);\n\n/**\n * Allow for extension\n */\n\nRequest.prototype.use = function(fn) {\n fn(this);\n return this;\n}\n\n/**\n * Set timeout to `ms`.\n *\n * @param {Number} ms\n * @return {Request} for chaining\n * @api public\n */\n\nRequest.prototype.timeout = function(ms){\n this._timeout = ms;\n return this;\n};\n\n/**\n * Clear previous timeout.\n *\n * @return {Request} for chaining\n * @api public\n */\n\nRequest.prototype.clearTimeout = function(){\n this._timeout = 0;\n clearTimeout(this._timer);\n return this;\n};\n\n/**\n * Abort the request, and clear potential timeout.\n *\n * @return {Request}\n * @api public\n */\n\nRequest.prototype.abort = function(){\n if (this.aborted) return;\n this.aborted = true;\n this.xhr.abort();\n this.clearTimeout();\n this.emit('abort');\n return this;\n};\n\n/**\n * Set header `field` to `val`, or multiple fields with one object.\n *\n * Examples:\n *\n * req.get('/')\n * .set('Accept', 'application/json')\n * .set('X-API-Key', 'foobar')\n * .end(callback);\n *\n * req.get('/')\n * .set({ Accept: 'application/json', 'X-API-Key': 'foobar' })\n * .end(callback);\n *\n * @param {String|Object} field\n * @param {String} val\n * @return {Request} for chaining\n * @api public\n */\n\nRequest.prototype.set = function(field, val){\n if (isObject(field)) {\n for (var key in field) {\n this.set(key, field[key]);\n }\n return this;\n }\n this._header[field.toLowerCase()] = val;\n this.header[field] = val;\n return this;\n};\n\n/**\n * Remove header `field`.\n *\n * Example:\n *\n * req.get('/')\n * .unset('User-Agent')\n * .end(callback);\n *\n * @param {String} field\n * @return {Request} for chaining\n * @api public\n */\n\nRequest.prototype.unset = function(field){\n delete this._header[field.toLowerCase()];\n delete this.header[field];\n return this;\n};\n\n/**\n * Get case-insensitive header `field` value.\n *\n * @param {String} field\n * @return {String}\n * @api private\n */\n\nRequest.prototype.getHeader = function(field){\n return this._header[field.toLowerCase()];\n};\n\n/**\n * Set Content-Type to `type`, mapping values from `request.types`.\n *\n * Examples:\n *\n * superagent.types.xml = 'application/xml';\n *\n * request.post('/')\n * .type('xml')\n * .send(xmlstring)\n * .end(callback);\n *\n * request.post('/')\n * .type('application/xml')\n * .send(xmlstring)\n * .end(callback);\n *\n * @param {String} type\n * @return {Request} for chaining\n * @api public\n */\n\nRequest.prototype.type = function(type){\n this.set('Content-Type', request.types[type] || type);\n return this;\n};\n\n/**\n * Set Accept to `type`, mapping values from `request.types`.\n *\n * Examples:\n *\n * superagent.types.json = 'application/json';\n *\n * request.get('/agent')\n * .accept('json')\n * .end(callback);\n *\n * request.get('/agent')\n * .accept('application/json')\n * .end(callback);\n *\n * @param {String} accept\n * @return {Request} for chaining\n * @api public\n */\n\nRequest.prototype.accept = function(type){\n this.set('Accept', request.types[type] || type);\n return this;\n};\n\n/**\n * Set Authorization field value with `user` and `pass`.\n *\n * @param {String} user\n * @param {String} pass\n * @return {Request} for chaining\n * @api public\n */\n\nRequest.prototype.auth = function(user, pass){\n var str = btoa(user + ':' + pass);\n this.set('Authorization', 'Basic ' + str);\n return this;\n};\n\n/**\n* Add query-string `val`.\n*\n* Examples:\n*\n* request.get('/shoes')\n* .query('size=10')\n* .query({ color: 'blue' })\n*\n* @param {Object|String} val\n* @return {Request} for chaining\n* @api public\n*/\n\nRequest.prototype.query = function(val){\n if ('string' != typeof val) val = serialize(val);\n if (val) this._query.push(val);\n return this;\n};\n\n/**\n * Write the field `name` and `val` for \"multipart/form-data\"\n * request bodies.\n *\n * ``` js\n * request.post('/upload')\n * .field('foo', 'bar')\n * .end(callback);\n * ```\n *\n * @param {String} name\n * @param {String|Blob|File} val\n * @return {Request} for chaining\n * @api public\n */\n\nRequest.prototype.field = function(name, val){\n if (!this._formData) this._formData = new FormData();\n this._formData.append(name, val);\n return this;\n};\n\n/**\n * Queue the given `file` as an attachment to the specified `field`,\n * with optional `filename`.\n *\n * ``` js\n * request.post('/upload')\n * .attach(new Blob(['<a id=\"a\"><b id=\"b\">hey!</b></a>'], { type: \"text/html\"}))\n * .end(callback);\n * ```\n *\n * @param {String} field\n * @param {Blob|File} file\n * @param {String} filename\n * @return {Request} for chaining\n * @api public\n */\n\nRequest.prototype.attach = function(field, file, filename){\n if (!this._formData) this._formData = new FormData();\n this._formData.append(field, file, filename);\n return this;\n};\n\n/**\n * Send `data`, defaulting the `.type()` to \"json\" when\n * an object is given.\n *\n * Examples:\n *\n * // querystring\n * request.get('/search')\n * .end(callback)\n *\n * // multiple data \"writes\"\n * request.get('/search')\n * .send({ search: 'query' })\n * .send({ range: '1..5' })\n * .send({ order: 'desc' })\n * .end(callback)\n *\n * // manual json\n * request.post('/user')\n * .type('json')\n * .send('{\"name\":\"tj\"})\n * .end(callback)\n *\n * // auto json\n * request.post('/user')\n * .send({ name: 'tj' })\n * .end(callback)\n *\n * // manual x-www-form-urlencoded\n * request.post('/user')\n * .type('form')\n * .send('name=tj')\n * .end(callback)\n *\n * // auto x-www-form-urlencoded\n * request.post('/user')\n * .type('form')\n * .send({ name: 'tj' })\n * .end(callback)\n *\n * // defaults to x-www-form-urlencoded\n * request.post('/user')\n * .send('name=tobi')\n * .send('species=ferret')\n * .end(callback)\n *\n * @param {String|Object} data\n * @return {Request} for chaining\n * @api public\n */\n\nRequest.prototype.send = function(data){\n var obj = isObject(data);\n var type = this.getHeader('Content-Type');\n\n // merge\n if (obj && isObject(this._data)) {\n for (var key in data) {\n this._data[key] = data[key];\n }\n } else if ('string' == typeof data) {\n if (!type) this.type('form');\n type = this.getHeader('Content-Type');\n if ('application/x-www-form-urlencoded' == type) {\n this._data = this._data\n ? this._data + '&' + data\n : data;\n } else {\n this._data = (this._data || '') + data;\n }\n } else {\n this._data = data;\n }\n\n if (!obj) return this;\n if (!type) this.type('json');\n return this;\n};\n\n/**\n * Invoke the callback with `err` and `res`\n * and handle arity check.\n *\n * @param {Error} err\n * @param {Response} res\n * @api private\n */\n\nRequest.prototype.callback = function(err, res){\n var fn = this._callback;\n this.clearTimeout();\n if (2 == fn.length) return fn(err, res);\n if (err) return this.emit('error', err);\n fn(res);\n};\n\n/**\n * Invoke callback with x-domain error.\n *\n * @api private\n */\n\nRequest.prototype.crossDomainError = function(){\n var err = new Error('Origin is not allowed by Access-Control-Allow-Origin');\n err.crossDomain = true;\n this.callback(err);\n};\n\n/**\n * Invoke callback with timeout error.\n *\n * @api private\n */\n\nRequest.prototype.timeoutError = function(){\n var timeout = this._timeout;\n var err = new Error('timeout of ' + timeout + 'ms exceeded');\n err.timeout = timeout;\n this.callback(err);\n};\n\n/**\n * Enable transmission of cookies with x-domain requests.\n *\n * Note that for this to work the origin must not be\n * using \"Access-Control-Allow-Origin\" with a wildcard,\n * and also must set \"Access-Control-Allow-Credentials\"\n * to \"true\".\n *\n * @api public\n */\n\nRequest.prototype.withCredentials = function(){\n this._withCredentials = true;\n return this;\n};\n\n/**\n * Initiate request, invoking callback `fn(res)`\n * with an instanceof `Response`.\n *\n * @param {Function} fn\n * @return {Request} for chaining\n * @api public\n */\n\nRequest.prototype.end = function(fn){\n var self = this;\n var xhr = this.xhr = getXHR();\n var query = this._query.join('&');\n var timeout = this._timeout;\n var data = this._formData || this._data;\n\n // store callback\n this._callback = fn || noop;\n\n // state change\n xhr.onreadystatechange = function(){\n if (4 != xhr.readyState) return;\n if (0 == xhr.status) {\n if (self.aborted) return self.timeoutError();\n return self.crossDomainError();\n }\n self.emit('end');\n };\n\n // progress\n if (xhr.upload) {\n xhr.upload.onprogress = function(e){\n e.percent = e.loaded / e.total * 100;\n self.emit('progress', e);\n };\n }\n\n // timeout\n if (timeout && !this._timer) {\n this._timer = setTimeout(function(){\n self.abort();\n }, timeout);\n }\n\n // querystring\n if (query) {\n query = request.serializeObject(query);\n this.url += ~this.url.indexOf('?')\n ? '&' + query\n : '?' + query;\n }\n\n // initiate request\n xhr.open(this.method, this.url, true);\n\n // CORS\n if (this._withCredentials) xhr.withCredentials = true;\n\n // body\n if ('GET' != this.method && 'HEAD' != this.method && 'string' != typeof data && !isHost(data)) {\n // serialize stuff\n var serialize = request.serialize[this.getHeader('Content-Type')];\n if (serialize) data = serialize(data);\n }\n\n // set header fields\n for (var field in this.header) {\n if (null == this.header[field]) continue;\n xhr.setRequestHeader(field, this.header[field]);\n }\n\n // send stuff\n this.emit('request', this);\n xhr.send(data);\n return this;\n};\n\n/**\n * Expose `Request`.\n */\n\nrequest.Request = Request;\n\n/**\n * Issue a request:\n *\n * Examples:\n *\n * request('GET', '/users').end(callback)\n * request('/users').end(callback)\n * request('/users', callback)\n *\n * @param {String} method\n * @param {String|Function} url or callback\n * @return {Request}\n * @api public\n */\n\nfunction request(method, url) {\n // callback\n if ('function' == typeof url) {\n return new Request('GET', method).end(url);\n }\n\n // url first\n if (1 == arguments.length) {\n return new Request('GET', method);\n }\n\n return new Request(method, url);\n}\n\n/**\n * GET `url` with optional callback `fn(res)`.\n *\n * @param {String} url\n * @param {Mixed|Function} data or fn\n * @param {Function} fn\n * @return {Request}\n * @api public\n */\n\nrequest.get = function(url, data, fn){\n var req = request('GET', url);\n if ('function' == typeof data) fn = data, data = null;\n if (data) req.query(data);\n if (fn) req.end(fn);\n return req;\n};\n\n/**\n * HEAD `url` with optional callback `fn(res)`.\n *\n * @param {String} url\n * @param {Mixed|Function} data or fn\n * @param {Function} fn\n * @return {Request}\n * @api public\n */\n\nrequest.head = function(url, data, fn){\n var req = request('HEAD', url);\n if ('function' == typeof data) fn = data, data = null;\n if (data) req.send(data);\n if (fn) req.end(fn);\n return req;\n};\n\n/**\n * DELETE `url` with optional callback `fn(res)`.\n *\n * @param {String} url\n * @param {Function} fn\n * @return {Request}\n * @api public\n */\n\nrequest.del = function(url, fn){\n var req = request('DELETE', url);\n if (fn) req.end(fn);\n return req;\n};\n\n/**\n * PATCH `url` with optional `data` and callback `fn(res)`.\n *\n * @param {String} url\n * @param {Mixed} data\n * @param {Function} fn\n * @return {Request}\n * @api public\n */\n\nrequest.patch = function(url, data, fn){\n var req = request('PATCH', url);\n if ('function' == typeof data) fn = data, data = null;\n if (data) req.send(data);\n if (fn) req.end(fn);\n return req;\n};\n\n/**\n * POST `url` with optional `data` and callback `fn(res)`.\n *\n * @param {String} url\n * @param {Mixed} data\n * @param {Function} fn\n * @return {Request}\n * @api public\n */\n\nrequest.post = function(url, data, fn){\n var req = request('POST', url);\n if ('function' == typeof data) fn = data, data = null;\n if (data) req.send(data);\n if (fn) req.end(fn);\n return req;\n};\n\n/**\n * PUT `url` with optional `data` and callback `fn(res)`.\n *\n * @param {String} url\n * @param {Mixed|Function} data or fn\n * @param {Function} fn\n * @return {Request}\n * @api public\n */\n\nrequest.put = function(url, data, fn){\n var req = request('PUT', url);\n if ('function' == typeof data) fn = data, data = null;\n if (data) req.send(data);\n if (fn) req.end(fn);\n return req;\n};\n\n/**\n * Expose `request`.\n */\n\nmodule.exports = request;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/superagent/lib/client.js\n// module id = 281\n// module chunks = 1 2 3\n//# sourceURL=webpack:///./~/superagent/lib/client.js?"); /***/ }), /* 282 */ /***/ (function(module, exports) { eval("\n/**\n * Expose `Emitter`.\n */\n\nmodule.exports = Emitter;\n\n/**\n * Initialize a new `Emitter`.\n *\n * @api public\n */\n\nfunction Emitter(obj) {\n if (obj) return mixin(obj);\n};\n\n/**\n * Mixin the emitter properties.\n *\n * @param {Object} obj\n * @return {Object}\n * @api private\n */\n\nfunction mixin(obj) {\n for (var key in Emitter.prototype) {\n obj[key] = Emitter.prototype[key];\n }\n return obj;\n}\n\n/**\n * Listen on the given `event` with `fn`.\n *\n * @param {String} event\n * @param {Function} fn\n * @return {Emitter}\n * @api public\n */\n\nEmitter.prototype.on =\nEmitter.prototype.addEventListener = function(event, fn){\n this._callbacks = this._callbacks || {};\n (this._callbacks[event] = this._callbacks[event] || [])\n .push(fn);\n return this;\n};\n\n/**\n * Adds an `event` listener that will be invoked a single\n * time then automatically removed.\n *\n * @param {String} event\n * @param {Function} fn\n * @return {Emitter}\n * @api public\n */\n\nEmitter.prototype.once = function(event, fn){\n var self = this;\n this._callbacks = this._callbacks || {};\n\n function on() {\n self.off(event, on);\n fn.apply(this, arguments);\n }\n\n on.fn = fn;\n this.on(event, on);\n return this;\n};\n\n/**\n * Remove the given callback for `event` or all\n * registered callbacks.\n *\n * @param {String} event\n * @param {Function} fn\n * @return {Emitter}\n * @api public\n */\n\nEmitter.prototype.off =\nEmitter.prototype.removeListener =\nEmitter.prototype.removeAllListeners =\nEmitter.prototype.removeEventListener = function(event, fn){\n this._callbacks = this._callbacks || {};\n\n // all\n if (0 == arguments.length) {\n this._callbacks = {};\n return this;\n }\n\n // specific event\n var callbacks = this._callbacks[event];\n if (!callbacks) return this;\n\n // remove all handlers\n if (1 == arguments.length) {\n delete this._callbacks[event];\n return this;\n }\n\n // remove specific handler\n var cb;\n for (var i = 0; i < callbacks.length; i++) {\n cb = callbacks[i];\n if (cb === fn || cb.fn === fn) {\n callbacks.splice(i, 1);\n break;\n }\n }\n return this;\n};\n\n/**\n * Emit `event` with the given args.\n *\n * @param {String} event\n * @param {Mixed} ...\n * @return {Emitter}\n */\n\nEmitter.prototype.emit = function(event){\n this._callbacks = this._callbacks || {};\n var args = [].slice.call(arguments, 1)\n , callbacks = this._callbacks[event];\n\n if (callbacks) {\n callbacks = callbacks.slice(0);\n for (var i = 0, len = callbacks.length; i < len; ++i) {\n callbacks[i].apply(this, args);\n }\n }\n\n return this;\n};\n\n/**\n * Return array of callbacks for `event`.\n *\n * @param {String} event\n * @return {Array}\n * @api public\n */\n\nEmitter.prototype.listeners = function(event){\n this._callbacks = this._callbacks || {};\n return this._callbacks[event] || [];\n};\n\n/**\n * Check if this emitter has `event` handlers.\n *\n * @param {String} event\n * @return {Boolean}\n * @api public\n */\n\nEmitter.prototype.hasListeners = function(event){\n return !! this.listeners(event).length;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/superagent/~/component-emitter/index.js\n// module id = 282\n// module chunks = 1 2 3\n//# sourceURL=webpack:///./~/superagent/~/component-emitter/index.js?"); /***/ }), /* 283 */, /* 284 */, /* 285 */, /* 286 */, /* 287 */, /* 288 */, /* 289 */, /* 290 */, /* 291 */, /* 292 */, /* 293 */, /* 294 */, /* 295 */, /* 296 */, /* 297 */, /* 298 */, /* 299 */, /* 300 */, /* 301 */, /* 302 */, /* 303 */, /* 304 */, /* 305 */, /* 306 */, /* 307 */, /* 308 */, /* 309 */, /* 310 */, /* 311 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar Dispatcher = __webpack_require__(276).Dispatcher;\nvar AppDispatcher = new Dispatcher();\n\n/**\r\n * @method handleServerAction\r\n * @this AppDispatcher\r\n * @param {object} action\r\n * @description Build a payload with the 'VIEW_ACTION' source and the provided action, and dispatch it.\r\n */\nAppDispatcher.handleServerAction = function (action) {\n var payload = {\n source: 'SERVER_ACTION',\n action: action\n };\n this.dispatch(payload);\n};\n\n/**\r\n * @method handleViewAction\r\n * @this AppDispatcher\r\n * @param {object} action\r\n * @description Build a payload with the 'VIEW_ACTION' source and the provided action, and dispatch it.\r\n */\nAppDispatcher.handleViewAction = function (action) {\n var payload = {\n source: 'VIEW_ACTION',\n action: action\n };\n this.dispatch(payload);\n};\n\nmodule.exports = AppDispatcher;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/dispatchers/appDispatcher.js\n// module id = 311\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/dispatchers/appDispatcher.js?"); /***/ }), /* 312 */ /***/ (function(module, exports) { eval("'use strict';\n\nvar SubmissionResult = function SubmissionResult(data) {\n\tvar self = this;\n\tself.isSuccess = false;\n\t//self.messages = [];\n\tself.pdfUrl = '';\n\tself.quoteId = '';\n\t//self.emailConfirmationMessage = '';\n\tself.boats = [];\n\tself.dealers = [];\n\tself.eventListUrl = '';\n\tself.events = [];\n\tif (data !== undefined) {\n\t\tif (data.isSuccess !== undefined) {\n\t\t\tself.isSuccess = data.isSuccess;\n\t\t}\n\t\t// if (data.messages !== undefined) {\n\t\t// \tself.messages = data.messages;\n\t\t// }\n\t\tif (data.pdfUrl !== undefined) {\n\t\t\tself.pdfUrl = data.pdfUrl;\n\t\t}\n\t\tif (data.quoteId !== undefined) {\n\t\t\tself.quoteId = data.quoteId;\n\t\t}\n\t\t// if (data.emailConfirmationMessage !== undefined) {\n\t\t// \tself.emailConfirmationMessage = data.emailConfirmationMessage;\n\t\t// }\n\t\tif (data.boats !== undefined) {\n\t\t\tself.boats = data.boats;\n\t\t}\n\t\tif (data.dealers !== undefined) {\n\t\t\tself.dealers = data.dealers;\n\t\t}\n\t\tif (data.eventListUrl !== undefined) {\n\t\t\tself.eventListUrl = data.eventListUrl;\n\t\t}\n\t\tif (data.events !== undefined) {\n\t\t\tself.events = data.events;\n\t\t}\n\t}\n};\n\nmodule.exports = SubmissionResult;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/models/submissionResult.js\n// module id = 312\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/models/submissionResult.js?"); /***/ }), /* 313 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n// views\n\nvar DiscountSection = __webpack_require__(759);\n\nvar Subtotal = function Subtotal(props) {\n\n var hasPrice = props.price != 0 || props.originalPrice != 0;\n var currentPrice = props.price != 0 ? props.price : props.originalPrice;\n\n var titleClass = \"grid--v-large__col--7 grid--v-medium__col--7 grid--v-small__col--7 grid--v-mini__cols--7 c_dropdown--overview_subtotal__title__container\";\n if (!props.canEditPrice) {\n titleClass = \"grid--v-large__col--6 grid--v-medium__col--6 grid--v-small__col--6 grid--v-mini__cols--6 c_dropdown--overview_subtotal__title__container\";\n }\n\n return React.createElement(\n 'div',\n {\n className: 'grid__row c_dropdown--overview__options__container c_dropdown--overview__subtotal__container c_dropdown--overview__input__container--distributor'\n },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'div',\n { className: 'grid__row' },\n React.createElement(\n 'div',\n {\n className: titleClass,\n onDoubleClick: function onDoubleClick(e) {\n if (hasPrice) {\n props.events.onToggleViewDropdownPanel(props.panelKey);\n }\n }\n },\n React.createElement(\n 'span',\n { className: 'c_text--large' },\n Dictionary.getValue(props.titleKey, props.titleDefault)\n )\n ),\n props.canEditPrice && React.createElement(\n 'div',\n { className: 'grid--v-large__col--5 grid--v-medium__col--5 grid--v-small__col--5 grid--v-mini__cols--5 grid--v-large__col--omega grid--v-medium__col--omega grid--v-small__col--omega grid--v-mini__col--omega c_dropdown--overview__subtotal__price__container' },\n React.createElement(\n 'div',\n { className: 'c_dropdown--overview__input__wrapper' },\n React.createElement('input', {\n className: 'c_text--large c_dropdown--overview__input',\n pattern: '.{1,}'\n // required={true}\n , onChange: props.onPriceChange,\n value: props.price\n }),\n React.createElement(\n 'div',\n { className: 'c_dropdown--overview__input-placeholder' },\n React.createElement('i', { className: 'icon icon--tag' }),\n React.createElement(\n 'div',\n { className: 'c_dropdown--overview__input-placeholder--desktop' },\n Dictionary.getValue('clickToEnterAPrice', 'Click to enter a price')\n ),\n React.createElement(\n 'div',\n { className: 'c_dropdown--overview__input-placeholder--mobile' },\n Dictionary.getValue('price', 'Price')\n )\n )\n ),\n props.discountAmount > 0 && React.createElement(\n 'span',\n { className: 'c_text--large c_dropdown--distributor__price c_text--strikethrough' },\n Helpers.formatMoneyLocalized(currentPrice, true)\n )\n ),\n !props.canEditPrice && React.createElement(\n 'div',\n { className: 'grid--v-large__col--6 grid--v-medium__col--6 grid--v-small__col--6 grid--v-mini__cols--6 grid--v-large__col--omega grid--v-medium__col--omega grid--v-small__col--omega grid--v-mini__col--omega c_dropdown--overview__subtotal__price__container' },\n props.discountAmount > 0 && React.createElement(\n 'span',\n { className: 'c_text--large c_text--strikethrough' },\n Helpers.formatMoneyLocalized(currentPrice, true)\n ),\n React.createElement(\n 'span',\n { className: 'c_text--large c_text--red-2 c_text--italic' },\n Helpers.formatMoneyLocalized(props.price, true)\n )\n )\n ),\n React.createElement(DiscountSection, {\n isActive: props.ui.overview[props.panelKey],\n hasPrice: hasPrice,\n onDiscountChange: props.onDiscountChange,\n discount: props.discountAmount,\n percentage: props.discountPercentage\n })\n )\n );\n};\n\n/**\r\n * @typedef SubtotalProps\r\n * @prop {boolean} canEditPrice\r\n * @prop {string} panelKey\r\n * @prop {string} titleKey\r\n * @prop {string} titleDefault\r\n * @prop {number} price\r\n * @prop {number} originalPrice\r\n * @prop {boolean} priceOverride\r\n * @prop {number} discountAmount\r\n * @prop {number} discountPercentage\r\n * @prop {(e) => {}} onDiscountChange\r\n * @prop {(e)=> {}[]} events\r\n * @prop {(e) => {}} onPriceChange\r\n * @prop {JSON} ui\r\n */\n\nmodule.exports = Subtotal;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/common/Subtotal/Subtotal.jsx\n// module id = 313\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/common/Subtotal/Subtotal.jsx?"); /***/ }), /* 314 */, /* 315 */, /* 316 */, /* 317 */, /* 318 */, /* 319 */, /* 320 */, /* 321 */, /* 322 */, /* 323 */, /* 324 */, /* 325 */, /* 326 */, /* 327 */, /* 328 */, /* 329 */, /* 330 */, /* 331 */, /* 332 */, /* 333 */, /* 334 */, /* 335 */, /* 336 */, /* 337 */, /* 338 */, /* 339 */, /* 340 */, /* 341 */, /* 342 */, /* 343 */, /* 344 */, /* 345 */, /* 346 */, /* 347 */, /* 348 */, /* 349 */, /* 350 */, /* 351 */, /* 352 */, /* 353 */, /* 354 */, /* 355 */, /* 356 */, /* 357 */, /* 358 */, /* 359 */, /* 360 */, /* 361 */, /* 362 */, /* 363 */, /* 364 */, /* 365 */ /***/ (function(module, exports) { eval("'use strict';\n\nvar EmailMessage = function EmailMessage(data) {\n\tvar self = this;\n\tself.email = '';\n\tself.message = '';\n\tself.subject = '';\n\n\tif (data !== undefined) {\n\t\tif (data.email !== undefined) {\n\t\t\tself.email = data.email;\n\t\t}\n\t\tif (data.message !== undefined) {\n\t\t\tself.message = data.message;\n\t\t}\n\t\tif (data.subject !== undefined) {\n\t\t\tself.subject = data.subject;\n\t\t}\n\t}\n};\n\nmodule.exports = EmailMessage;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/models/emailMessage.js\n// module id = 365\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/models/emailMessage.js?"); /***/ }), /* 366 */ /***/ (function(module, exports) { eval("'use strict';\n\nvar Submission = function Submission(data) {\n\tvar self = this;\n\tself.action = '';\n\tself.id = '';\n\tself.boatId = '';\n\tself.country = '';\n\tself.currentPageId = false;\n\tself.dealerItems = [];\n\tself.discounts = {\n\t\tengine: {\n\t\t\tdiscount: 0,\n\t\t\tpercentage: 0\n\t\t},\n\t\toptions: {\n\t\t\tdiscount: 0,\n\t\t\tpercentage: 0,\n\t\t\titems: []\n\t\t},\n\t\tpacks: {\n\t\t\tdiscount: 0,\n\t\t\tpercentage: 0,\n\t\t\titems: []\n\t\t}\n\t};\n\tself.engine = false;\n\tself.expirationDay = '';\n\tself.expirationMonth = '';\n\tself.expirationYear = '';\n\tself.extras = [];\n\tself.redeems = [], self.freight = false;\n\tself.language = '';\n\tself.options = [];\n\tself.packs = [];\n\tself.priceOverride = {\n\t\tengine: ''\n\t};\n\tself.requiredOptions = [], self.partOfPackOptions = [], self.personalInfo = new PersonalInfo();\n\tself.reference = '';\n\tself.subtotal = 0;\n\tself.tradeIns = [];\n\tself.vatPercentage = 0;\n\tself.vat = 0;\n\tself.discountVat = 0;\n\tself.total = 0;\n\tself.totalRedeems = 0;\n\tself.url = '';\n\tif (data !== undefined) {\n\t\tif (data.action !== undefined) {\n\t\t\tself.action = data.action;\n\t\t}\n\t\tif (data.id !== undefined) {\n\t\t\tself.id = data.id;\n\t\t}\n\t\tif (data.boatId !== undefined) {\n\t\t\tself.boatId = data.boatId;\n\t\t}\n\t\tif (data.country !== undefined) {\n\t\t\tself.country = data.country;\n\t\t}\n\t\tif (data.currentPageId !== undefined) {\n\t\t\tself.currentPageId = data.currentPageId;\n\t\t}\n\t\tif (data.dealerItems !== undefined) {\n\t\t\tself.dealerItems = data.dealerItems;\n\t\t}\n\t\tif (data.discounts !== undefined) {\n\t\t\tself.discounts = JSON.parse(JSON.stringify(data.discounts));\n\t\t}\n\t\tif (data.engine !== undefined) {\n\t\t\tself.engine = data.engine;\n\t\t}\n\t\tif (data.expirationDay !== undefined) {\n\t\t\tself.expirationDay = data.expirationDay;\n\t\t}\n\t\tif (data.expirationMonth !== undefined) {\n\t\t\tself.expirationMonth = data.expirationMonth;\n\t\t}\n\t\tif (data.expirationYear !== undefined) {\n\t\t\tself.expirationYear = data.expirationYear;\n\t\t}\n\t\tif (data.extras !== undefined) {\n\t\t\tself.extras = data.extras;\n\t\t}\n\t\tif (data.redeems !== undefined) {\n\t\t\tself.redeems = data.redeems;\n\t\t}\n\t\tif (data.freight !== undefined) {\n\t\t\tself.freight = data.freight;\n\t\t}\n\t\tif (data.language !== undefined) {\n\t\t\tself.language = data.language;\n\t\t}\n\t\tif (data.options !== undefined) {\n\t\t\tself.options = data.options;\n\t\t}\n\t\tif (data.packs !== undefined) {\n\t\t\tself.packs = data.packs;\n\t\t}\n\t\tif (data.requiredOptions !== undefined) {\n\t\t\tself.requiredOptions = data.requiredOptions;\n\t\t}\n\t\tif (data.partOfPackOptions !== undefined) {\n\t\t\tself.partOfPackOptions = data.partOfPackOptions;\n\t\t}\n\t\tif (data.personalInfo !== undefined) {\n\t\t\tself.personalInfo = new PersonalInfo(data.personalInfo);\n\t\t}\n\t\tif (data.priceOverride !== undefined) {\n\t\t\tself.priceOverride = JSON.parse(JSON.stringify(data.priceOverride));\n\t\t}\n\t\tif (data.reference !== undefined) {\n\t\t\tself.reference = data.reference;\n\t\t}\n\t\tif (data.total !== undefined) {\n\t\t\tself.total = data.total;\n\t\t}\n\t\tif (data.tradeIns !== undefined) {\n\t\t\tself.tradeIns = data.tradeIns;\n\t\t}\n\t\tif (data.url !== undefined) {\n\t\t\tself.url = data.url;\n\t\t}\n\t\tif (data.vatPercentage !== undefined) {\n\t\t\tself.vatPercentage = data.vatPercentage;\n\t\t}\n\t}\n};\n\nvar PersonalInfo = function PersonalInfo(data) {\n\tvar self = this;\n\tself.title = false;\n\tself.firstName = '';\n\tself.lastName = '';\n\tself.email = '';\n\tself.telephone = '';\n\tself.telephoneCountry = '--';\n\tself.street = '';\n\tself.streetNumber = '';\n\tself.unit = '';\n\tself.zipCode = '';\n\tself.city = '';\n\tself.country = '';\n\tself.sendToFriend = false;\n\tself.optIn = true;\n\tself.toc = false;\n\tself.friendEmailAddress = '';\n\tself.requestQuote = false;\n\tself.dealer = false;\n\tself.dealerCountry = false;\n\tif (data !== undefined) {\n\t\tif (data.title !== undefined) {\n\t\t\tself.title = data.title;\n\t\t}\n\t\tif (data.firstName !== undefined) {\n\t\t\tself.firstName = data.firstName;\n\t\t}\n\t\tif (data.lastName !== undefined) {\n\t\t\tself.lastName = data.lastName;\n\t\t}\n\t\tif (data.email !== undefined) {\n\t\t\tself.email = data.email;\n\t\t}\n\t\tif (data.telephone !== undefined) {\n\t\t\tself.telephone = data.telephone;\n\t\t}\n\t\tif (data.telephoneCountry !== undefined) {\n\t\t\tself.telephoneCountry = data.telephoneCountry;\n\t\t}\n\t\tif (data.street !== undefined) {\n\t\t\tself.street = data.street;\n\t\t}\n\t\tif (data.streetNumber !== undefined) {\n\t\t\tself.streetNumber = data.streetNumber;\n\t\t}\n\t\tif (data.unit !== undefined) {\n\t\t\tself.unit = data.unit;\n\t\t}\n\t\tif (data.zipCode !== undefined) {\n\t\t\tself.zipCode = data.zipCode;\n\t\t}\n\t\tif (data.city !== undefined) {\n\t\t\tself.city = data.city;\n\t\t}\n\t\tif (data.country !== undefined) {\n\t\t\tself.country = data.country;\n\t\t}\n\t\tif (data.sendToFriend !== undefined) {\n\t\t\tself.sendToFriend = data.sendToFriend;\n\t\t}\n\t\tif (data.optIn !== undefined) {\n\t\t\tself.optIn = data.optIn;\n\t\t}\n\t\tif (data.toc !== undefined) {\n\t\t\tself.toc = data.toc;\n\t\t}\n\t\tif (data.friendEmailAddress !== undefined) {\n\t\t\tself.friendEmailAddress = data.friendEmailAddress;\n\t\t}\n\t\tif (data.requestQuote !== undefined) {\n\t\t\tself.requestQuote = data.requestQuote;\n\t\t}\n\t\tif (data.dealer !== undefined) {\n\t\t\tself.dealer = data.dealer;\n\t\t}\n\t\tif (data.dealerCountry !== undefined) {\n\t\t\tself.dealerCountry = data.dealerCountry;\n\t\t}\n\t}\n};\n\nmodule.exports = Submission;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/models/submission.js\n// module id = 366\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/models/submission.js?"); /***/ }), /* 367 */ /***/ (function(module, exports) { eval("\"use strict\";\n\nvar Validation = function Validation(data) {\n\tvar self = this;\n\tself.title = false;\n\tself.firstName = false;\n\tself.lastName = false;\n\tself.email = false;\n\tself.optIn = false;\n\tself.toc = false;\n\tself.phone = false;\n\tself.phoneCountry = false;\n\tself.street = false;\n\tself.streetNumber = false;\n\tself.zipCode = false;\n\tself.city = false;\n\tself.country = false;\n\tself.shouldSendToFriend = false;\n\tself.friendEmail = false;\n\tself.shouldGetQuote = false;\n\tself.reference = false;\n\tself.dealer = false;\n\tself.dealerCountry = false;\n\tif (data !== undefined) {\n\t\tif (data.title !== undefined) {\n\t\t\tself.title = data.title;\n\t\t}\n\t\tif (data.firstName !== undefined) {\n\t\t\tself.firstName = data.firstName;\n\t\t}\n\t\tif (data.lastName !== undefined) {\n\t\t\tself.lastName = data.lastName;\n\t\t}\n\t\tif (data.email !== undefined) {\n\t\t\tself.email = data.email;\n\t\t}\n\t\tif (data.optIn !== undefined) {\n\t\t\tself.optIn = data.optIn;\n\t\t}\n\t\tif (data.toc !== undefined) {\n\t\t\tself.toc = data.toc;\n\t\t}\n\t\tif (data.phoneCountry !== undefined) {\n\t\t\tself.phoneCountry = data.phoneCountry;\n\t\t}\n\t\tif (data.phone !== undefined) {\n\t\t\tself.phone = data.phone;\n\t\t}\n\t\tif (data.street !== undefined) {\n\t\t\tself.street = data.street;\n\t\t}\n\t\tif (data.streetNumber !== undefined) {\n\t\t\tself.streetNumber = data.streetNumber;\n\t\t}\n\t\tif (data.zipCode !== undefined) {\n\t\t\tself.zipCode = data.zipCode;\n\t\t}\n\t\tif (data.city !== undefined) {\n\t\t\tself.city = data.city;\n\t\t}\n\t\tif (data.country !== undefined) {\n\t\t\tself.country = data.country;\n\t\t}\n\t\tif (data.shouldSendToFriend !== undefined) {\n\t\t\tself.shouldSendToFriend = data.shouldSendToFriend;\n\t\t}\n\t\tif (data.friendEmail !== undefined) {\n\t\t\tself.friendEmail = data.friendEmail;\n\t\t}\n\t\tif (data.shouldGetQuote !== undefined) {\n\t\t\tself.shouldGetQuote = data.shouldGetQuote;\n\t\t}\n\t\tif (data.reference !== undefined) {\n\t\t\tself.reference = data.reference;\n\t\t}\n\t\tif (data.dealer !== undefined) {\n\t\t\tself.dealer = data.dealer;\n\t\t}\n\t\tif (data.dealerCountry !== undefined) {\n\t\t\tself.dealerCountry = data.dealerCountry;\n\t\t}\n\t}\n\n\tself.doesConfiguratorPass = function () {\n\t\tvar doesPass = true;\n\t\tif (!self.title) {\n\t\t\tdoesPass = false;\n\t\t}\n\t\tif (!self.firstName) {\n\t\t\tdoesPass = false;\n\t\t}\n\t\tif (!self.lastName) {\n\t\t\tdoesPass = false;\n\t\t}\n\t\tif (!self.email) {\n\t\t\tdoesPass = false;\n\t\t}\n\t\tif (self.shouldSendToFriend) {\n\t\t\tif (!self.friendEmail) {\n\t\t\t\tdoesPass = false;\n\t\t\t}\n\t\t}\n\t\tif (self.shouldGetQuote) {\n\t\t\tif (!self.dealer) {\n\t\t\t\tdoesPass = false;\n\t\t\t}\n\t\t}\n\t\tif (!self.optIn) {\n\t\t\tdoesPass = false;\n\t\t}\n\t\tif (!self.toc) {\n\t\t\tdoesPass = false;\n\t\t}\n\t\treturn doesPass;\n\t};\n\n\tself.doesCalculatorPass = function () {\n\t\tvar doesPass = true;\n\t\tif (!self.title) {\n\t\t\tdoesPass = false;\n\t\t}\n\t\tif (!self.firstName) {\n\t\t\tdoesPass = false;\n\t\t}\n\t\tif (!self.lastName) {\n\t\t\tdoesPass = false;\n\t\t}\n\t\tif (!self.email) {\n\t\t\tdoesPass = false;\n\t\t}\n\t\tif (!self.reference) {\n\t\t\tdoesPass = false;\n\t\t}\n\t\tif (!self.street) {\n\t\t\tdoesPass = false;\n\t\t}\n\t\tif (!self.streetNumber) {\n\t\t\tdoesPass = false;\n\t\t}\n\t\tif (!self.zipCode) {\n\t\t\tdoesPass = false;\n\t\t}\n\t\tif (!self.city) {\n\t\t\tdoesPass = false;\n\t\t}\n\t\tif (!self.phoneCountry) {\n\t\t\tdoesPass = false;\n\t\t}\n\t\tif (!self.phone) {\n\t\t\tdoesPass = false;\n\t\t}\n\t\tif (!self.optIn) {\n\t\t\tdoesPass = false;\n\t\t}\n\t\treturn doesPass;\n\t};\n};\n\nmodule.exports = Validation;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/models/validation.js\n// module id = 367\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/models/validation.js?"); /***/ }), /* 368 */ /***/ (function(module, exports) { eval("'use strict';\n\n/**\r\n * @class dealerMapService\r\n */\nvar dealerMapService = {\n\tmap: null,\n\tmarkers: [],\n\tbounds: null,\n\tinfoWindow: null,\n\n\t/**\r\n * @method addMarker\r\n * @param {object} location - Contains a latitude, longitude, and name parameter\r\n * @param {function} onClick\r\n * @returns {void}\r\n * @description Adds a marker to the map at the provided location with the provided name.\r\n */\n\taddMarker: function addMarker(location, onClick) {\n\t\t// temp fix due to spelling error on dealer object from API.\n\t\tvar latitude = location.latitude ? location.latitude : location.latitutde;\n\t\tvar latLng = new google.maps.LatLng(latitude, location.longitude);\n\t\tvar marker = new google.maps.Marker({\n\t\t\tposition: latLng,\n\t\t\tmap: this.map,\n\t\t\ttitle: location.name\n\t\t});\n\t\t//add a reference to the dealer card\n\t\tmarker.customerNumber = location.customerNumber;\n\t\tgoogle.maps.event.addListener(marker, 'click', function () {\n\t\t\tif (onClick) {\n\t\t\t\tonClick(location.customerNumber);\n\t\t\t}\n\t\t\tfor (var i in dealerMapService.markers) {\n\t\t\t\tvar thisMarker = dealerMapService.markers[i];\n\t\t\t\tthisMarker.setIcon('https://maps.google.com/mapfiles/ms/icons/red-dot.png');\n\t\t\t}\n\t\t\tmarker.setIcon('https://maps.google.com/mapfiles/ms/icons/green-dot.png');\n\t\t\t//center map on the clicked icon\n\t\t\tdealerMapService.map.setCenter({\n\t\t\t\tlat: marker.getPosition().lat(),\n\t\t\t\tlng: marker.getPosition().lng()\n\t\t\t});\n\t\t});\n\t\t//this.createInfoboxForMarker(marker, location, onClick);\n\t\tthis.markers.push(marker);\n\t\tthis.bounds.extend(latLng);\n\t},\n\n\t/**\r\n * @method addMarkers\r\n * @param {Array} locations - An array of objects with a latitude, longitude, and name parameters\r\n * @param {function} onClick\r\n * @returns {void}\r\n * @description Clears all existing markers and adds new ones based on provided locations.\r\n */\n\taddMarkers: function addMarkers(locations, onClick) {\n\t\tdealerMapService.clearMarkers();\n\t\tdealerMapService.bounds = new google.maps.LatLngBounds();\n\t\tvar hasMarker = false;\n\t\tfor (var i in locations) {\n\t\t\tdealerMapService.addMarker(locations[i], onClick);\n\t\t\thasMarker = true;\n\t\t}\n\t\tif (hasMarker) {\n\t\t\tthis.map.fitBounds(this.bounds);\n\t\t\t//limit how far zoomed in the map goes\n\t\t\tif (this.map.getZoom() > 10) {\n\t\t\t\tthis.map.setZoom(6);\n\t\t\t}\n\t\t}\n\t},\n\n\t/**\r\n * Calculate the driving directions for a route from the `origin` address to\r\n * the `destination` address and return the results to the `callback`\r\n * function. `travelMode` can be omitted in which case it is 'DRIVING'.\r\n * @param {string} origin - The address string of the starting point.\r\n * @param {string} destination - The address string of the ending point.\r\n * @param {string=} travelMode - Optional and defaults to 'DRIVING'. If not \r\n * included, the third parameter becomes `callback`.\r\n * @param {(JSON) =>{}} callback - A function to get the response after \r\n * the async call is complete.\r\n * @returns {void}\r\n */\n\tcalculateRoute: function calculateRoute(origin, destination, travelMode, callback) {\n\t\tif (travelMode && typeof travelMode === 'function') {\n\t\t\tcallback = travelMode;\n\t\t\ttravelMode = 'DRIVING';\n\t\t}\n\t\tvar directionsService = new google.maps.DirectionsService();\n\t\tdirectionsService.route({\n\t\t\torigin: origin,\n\t\t\tdestination: destination,\n\t\t\ttravelMode: travelMode ? travelMode : 'DRIVING'\n\t\t}, function (response, status) {\n\t\t\tif (status === 'OK') {\n\t\t\t\tcallback(response);\n\t\t\t} else {\n\t\t\t\tconsole.error('DealerMapService.calculateRoute call to google.maps.DirectionsService failed due to ' + status);\n\t\t\t}\n\t\t});\n\t},\n\n\t/**\r\n * @method clearMarkers\r\n * @returns {void}\r\n * @description Removes all markers from the map.\r\n */\n\tclearMarkers: function clearMarkers() {\n\t\tthis.setMapOnAll(null);\n\t},\n\n\t/**\r\n * @method createInfoboxForMarker\r\n * @param {google.maps.Marker} marker - see Google Maps API documentation\r\n * @param {object} location\r\n * @param {function} onClick\r\n * @returns {void}\r\n * @description Creates an info box that pops up when the marker is clicked.\r\n */\n\tcreateInfoboxForMarker: function createInfoboxForMarker(marker, location, onClick) {\n\t\tvar html = '<h3 class=\"c_text--uppercase\">' + location.name + '</h3>';\n\t\thtml = \"<div class='result-info-window'>\" + html + '</div>';\n\t\tgoogle.maps.event.addListener(marker, 'click', function () {\n\t\t\tif (onClick) {\n\t\t\t\tonClick(location.customerNumber);\n\t\t\t}\n\t\t\tif (dealerMapService.infoWindow) {\n\t\t\t\tdealerMapService.infoWindow.close();\n\t\t\t}\n\t\t\t// Set the infowindow's details.\n\t\t\tdealerMapService.infoWindow = new google.maps.InfoWindow({\n\t\t\t\tcontent: html,\n\t\t\t\theight: 200,\n\t\t\t\tmaxHeight: 200,\n\t\t\t\twidth: 400,\n\t\t\t\tdisableAutoPan: true\n\t\t\t});\n\t\t\t//change icons to normal\n\t\t\tfor (var i in dealerMapService.markers) {\n\t\t\t\tvar thisMarker = dealerMapService.markers[i];\n\t\t\t\tthisMarker.setIcon('https://maps.google.com/mapfiles/ms/icons/red-dot.png');\n\t\t\t}\n\t\t\tmarker.setIcon('https://maps.google.com/mapfiles/ms/icons/green-dot.png');\n\t\t\tdealerMapService.infoWindow.open(dealerMapService.map, marker);\n\t\t\t//center map on the clicked icon\n\t\t\tdealerMapService.map.setCenter({\n\t\t\t\tlat: marker.getPosition().lat(),\n\t\t\t\tlng: marker.getPosition().lng()\n\t\t\t});\n\t\t});\n\t},\n\n\tgetRoute: function getRoute(origin, destination, travelMode, callback) {\n\t\tdealerMapService.calculateRoute(origin, destination, travelMode ? travelMode : 'DRIVING', function (response) {\n\t\t\tcallback(response.routes[0]);\n\t\t});\n\t},\n\n\t/**\r\n * @method initMap\r\n * @param {string} selector\r\n * @param {function} callback\r\n * @returns {void}\r\n * @description Inits the Google map, binding it to the element that matches the provided CSS selector.\r\n */\n\tinitMap: function initMap(selector, callback) {\n\t\tvar element = document.querySelector(selector);\n\t\tthis.map = new google.maps.Map(element, {\n\t\t\tcenter: { lat: 50.71, lng: 6.14 },\n\t\t\tzoom: 4,\n\t\t\tscrollwheel: false,\n\t\t\tnavigationControl: false\n\t\t});\n\t\tgoogle.maps.event.addListenerOnce(this.map, 'idle', function () {\n\t\t\tgoogle.maps.event.trigger(this.map, 'resize');\n\t\t\tthis.map.setZoom(this.map.getZoom());\n\t\t\tif (callback) {\n\t\t\t\tcallback();\n\t\t\t}\n\t\t}.bind(this));\n\t},\n\n\t/**\r\n * @method setMapOnAll\r\n * @param {google.map.Map} map\r\n * @returns {void}\r\n * @description associates all markers with the provided map, causing them to be set.\r\n */\n\tsetMapOnAll: function setMapOnAll(map) {\n\t\tfor (var i = 0; i < this.markers.length; i++) {\n\t\t\tthis.markers[i].setMap(map);\n\t\t}\n\t}\n};\n\nmodule.exports = dealerMapService;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/utils/DealerMapService.js\n// module id = 368\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/utils/DealerMapService.js?"); /***/ }), /* 369 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\nvar SummaryRow = function SummaryRow(props) {\n return React.createElement(\n 'div',\n { className: 'h--flexbox c_overview__pricing__record' },\n React.createElement(\n 'div',\n { className: 'grid--v-small__col--8 grid--v-medium__col--8 grid--v-large__col--8' },\n props.useGreenCheck && React.createElement('img', {\n src: '/assets/configurator/quicksilver/default/images/icon_check--green.svg',\n className: 'c_overview__pricing__record__checkmark'\n }),\n React.createElement(\n 'span',\n { className: \"c_text--medium\" + (props.useGreenCheck ? ' c_text--green' : '') },\n props.entry\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid--v-small__col--4 grid--v-medium__col--4 grid--v-large__col--4 grid--v-large__col--omega grid--v-medium__col--omega grid--v-small__col--omega c_text--right' },\n React.createElement(\n 'span',\n { className: \"c_text--medium ws-no-wrap\" + (props.useGreenCheck ? ' c_text--green' : '') },\n props.useGreenCheck ? '-' : '',\n Helpers.formatMoneyLocalized(props.price, !props.ui.configurator)\n )\n )\n );\n};\n\nmodule.exports = SummaryRow;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/Summary/components/SummaryRow/SummaryRow.jsx\n// module id = 369\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/Summary/components/SummaryRow/SummaryRow.jsx?"); /***/ }), /* 370 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\nvar ReactDOM = __webpack_require__(34);\n\nvar PopupLink = React.createClass({\n\tdisplayName: 'PopupLink',\n\n\tonClick: function onClick(e) {\n\t\te.preventDefault();\n\t\tthis.props.onClick(this.props.id);\n\t},\n\trenderContent: function renderContent() {\n\t\treturn {\n\t\t\t__html: this.props.content\n\t\t};\n\t},\n\trender: function render() {\n\t\treturn React.createElement('a', {\n\t\t\tclassName: this.props.className,\n\t\t\thref: '#',\n\t\t\tdangerouslySetInnerHTML: this.renderContent(),\n\t\t\tonClick: this.onClick\n\t\t});\n\t}\n});\n\nmodule.exports = PopupLink;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/PopupLink.jsx\n// module id = 370\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/PopupLink.jsx?"); /***/ }), /* 371 */, /* 372 */, /* 373 */, /* 374 */, /* 375 */, /* 376 */, /* 377 */, /* 378 */, /* 379 */, /* 380 */, /* 381 */, /* 382 */, /* 383 */, /* 384 */, /* 385 */, /* 386 */, /* 387 */, /* 388 */, /* 389 */, /* 390 */, /* 391 */, /* 392 */, /* 393 */, /* 394 */, /* 395 */, /* 396 */, /* 397 */, /* 398 */, /* 399 */, /* 400 */, /* 401 */, /* 402 */, /* 403 */, /* 404 */, /* 405 */, /* 406 */, /* 407 */, /* 408 */, /* 409 */, /* 410 */, /* 411 */, /* 412 */, /* 413 */, /* 414 */, /* 415 */, /* 416 */, /* 417 */, /* 418 */, /* 419 */, /* 420 */, /* 421 */, /* 422 */, /* 423 */, /* 424 */, /* 425 */, /* 426 */, /* 427 */, /* 428 */, /* 429 */, /* 430 */, /* 431 */, /* 432 */, /* 433 */, /* 434 */, /* 435 */, /* 436 */, /* 437 */, /* 438 */, /* 439 */, /* 440 */, /* 441 */, /* 442 */, /* 443 */, /* 444 */, /* 445 */, /* 446 */, /* 447 */, /* 448 */, /* 449 */, /* 450 */, /* 451 */, /* 452 */, /* 453 */, /* 454 */, /* 455 */, /* 456 */, /* 457 */, /* 458 */, /* 459 */, /* 460 */, /* 461 */, /* 462 */, /* 463 */, /* 464 */, /* 465 */, /* 466 */, /* 467 */, /* 468 */, /* 469 */, /* 470 */, /* 471 */, /* 472 */, /* 473 */, /* 474 */, /* 475 */, /* 476 */, /* 477 */, /* 478 */, /* 479 */, /* 480 */, /* 481 */, /* 482 */, /* 483 */, /* 484 */, /* 485 */, /* 486 */, /* 487 */, /* 488 */, /* 489 */, /* 490 */, /* 491 */, /* 492 */, /* 493 */, /* 494 */, /* 495 */, /* 496 */, /* 497 */, /* 498 */, /* 499 */, /* 500 */, /* 501 */, /* 502 */, /* 503 */, /* 504 */, /* 505 */, /* 506 */, /* 507 */, /* 508 */, /* 509 */, /* 510 */, /* 511 */, /* 512 */, /* 513 */, /* 514 */, /* 515 */, /* 516 */, /* 517 */, /* 518 */, /* 519 */, /* 520 */, /* 521 */, /* 522 */, /* 523 */, /* 524 */, /* 525 */, /* 526 */, /* 527 */, /* 528 */, /* 529 */, /* 530 */, /* 531 */, /* 532 */, /* 533 */, /* 534 */, /* 535 */, /* 536 */, /* 537 */, /* 538 */, /* 539 */, /* 540 */, /* 541 */, /* 542 */, /* 543 */, /* 544 */, /* 545 */, /* 546 */, /* 547 */, /* 548 */, /* 549 */, /* 550 */, /* 551 */, /* 552 */, /* 553 */, /* 554 */, /* 555 */, /* 556 */, /* 557 */, /* 558 */, /* 559 */, /* 560 */, /* 561 */, /* 562 */, /* 563 */, /* 564 */, /* 565 */, /* 566 */, /* 567 */, /* 568 */, /* 569 */, /* 570 */, /* 571 */, /* 572 */, /* 573 */, /* 574 */, /* 575 */, /* 576 */, /* 577 */, /* 578 */, /* 579 */, /* 580 */, /* 581 */, /* 582 */, /* 583 */, /* 584 */, /* 585 */, /* 586 */, /* 587 */, /* 588 */, /* 589 */, /* 590 */, /* 591 */, /* 592 */, /* 593 */, /* 594 */, /* 595 */, /* 596 */, /* 597 */, /* 598 */, /* 599 */, /* 600 */, /* 601 */, /* 602 */, /* 603 */, /* 604 */, /* 605 */, /* 606 */, /* 607 */, /* 608 */, /* 609 */, /* 610 */, /* 611 */, /* 612 */, /* 613 */, /* 614 */, /* 615 */, /* 616 */, /* 617 */, /* 618 */, /* 619 */, /* 620 */, /* 621 */, /* 622 */, /* 623 */, /* 624 */, /* 625 */, /* 626 */, /* 627 */, /* 628 */, /* 629 */, /* 630 */, /* 631 */, /* 632 */, /* 633 */, /* 634 */, /* 635 */, /* 636 */, /* 637 */, /* 638 */, /* 639 */, /* 640 */, /* 641 */, /* 642 */, /* 643 */, /* 644 */, /* 645 */, /* 646 */, /* 647 */, /* 648 */, /* 649 */, /* 650 */, /* 651 */, /* 652 */, /* 653 */, /* 654 */, /* 655 */, /* 656 */, /* 657 */, /* 658 */, /* 659 */, /* 660 */, /* 661 */, /* 662 */, /* 663 */, /* 664 */, /* 665 */, /* 666 */, /* 667 */, /* 668 */, /* 669 */, /* 670 */, /* 671 */, /* 672 */, /* 673 */, /* 674 */, /* 675 */, /* 676 */, /* 677 */, /* 678 */, /* 679 */, /* 680 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar AppDispatcher = __webpack_require__(311);\n\nvar ServerActions = {\n\tapiError: function apiError(error) {\n\t\tif (error) {\n\t\t\tvar action = {\n\t\t\t\ttype: 'API_ERROR',\n\t\t\t\tresults: error\n\t\t\t};\n\t\t\tAppDispatcher.handleServerAction(action);\n\t\t}\n\t},\n\tgotConfiguratorModel: function gotConfiguratorModel(results) {\n\t\tif (results) {\n\t\t\tvar action = {\n\t\t\t\ttype: 'GOT_CONFIGURATOR_MODEL',\n\t\t\t\tresults: results\n\t\t\t};\n\t\t\tAppDispatcher.handleServerAction(action);\n\t\t}\n\t},\n\tgotCalculatorModel: function gotCalculatorModel(results) {\n\t\tif (results) {\n\t\t\tvar action = {\n\t\t\t\ttype: 'GOT_CALCULATOR_MODEL',\n\t\t\t\tresults: results\n\t\t\t};\n\t\t\tAppDispatcher.handleServerAction(action);\n\t\t}\n\t},\n\tgotBusinessSettingsModel: function gotBusinessSettingsModel(results) {\n\t\tif (results) {\n\t\t\tvar action = {\n\t\t\t\ttype: 'GOT_BUSINESS_SETTINGS_MODEL',\n\t\t\t\tresults: results\n\t\t\t};\n\t\t\tAppDispatcher.handleServerAction(action);\n\t\t}\n\t},\n\tgotDealers: function gotDealers(dealers) {\n\t\tif (dealers) {\n\t\t\tvar action = {\n\t\t\t\ttype: 'GOT_DEALERS',\n\t\t\t\tdealers: dealers\n\t\t\t};\n\t\t\tAppDispatcher.handleServerAction(action);\n\t\t}\n\t},\n\tgotDealerItems: function gotDealerItems(items) {\n\t\tif (items) {\n\t\t\tvar action = {\n\t\t\t\ttype: 'GOT_DEALER_ITEMS',\n\t\t\t\titems: items\n\t\t\t};\n\t\t\tAppDispatcher.handleServerAction(action);\n\t\t}\n\t},\n\tgotPhonePrefixes: function gotPhonePrefixes(prefixes) {\n\t\tif (prefixes) {\n\t\t\tvar action = {\n\t\t\t\ttype: 'GOT_PHONE_PREFIXES',\n\t\t\t\tprefixes: prefixes\n\t\t\t};\n\t\t\tAppDispatcher.handleServerAction(action);\n\t\t}\n\t},\n\tgotQuotesModel: function gotQuotesModel(results) {\n\t\tif (results) {\n\t\t\tvar action = {\n\t\t\t\ttype: 'GOT_QUOTES_MODEL',\n\t\t\t\tresults: results\n\t\t\t};\n\t\t\tAppDispatcher.handleServerAction(action);\n\t\t}\n\t},\n\tsendEmail: function sendEmail(response) {\n\t\tif (response) {\n\t\t\tvar action = {\n\t\t\t\ttype: 'SENT_EMAIL',\n\t\t\t\tresponse: response\n\t\t\t};\n\t\t\tAppDispatcher.handleServerAction(action);\n\t\t}\n\t},\n\tsubmittedConfig: function submittedConfig(response) {\n\t\tif (response) {\n\t\t\tvar action = {\n\t\t\t\ttype: 'SUBMITTED_CONFIG',\n\t\t\t\tresponse: response\n\t\t\t};\n\t\t\tAppDispatcher.handleServerAction(action);\n\t\t}\n\t},\n\tsubmittedCalculator: function submittedCalculator(response) {\n\t\tif (response) {\n\t\t\tvar action = {\n\t\t\t\ttype: 'SUBMITTED_CALCULATOR',\n\t\t\t\tresponse: response\n\t\t\t};\n\t\t\tAppDispatcher.handleServerAction(action);\n\t\t}\n\t},\n\tsubmittedBusinessSettings: function submittedBusinessSettings(response) {\n\t\tif (response) {\n\t\t\tvar action = {\n\t\t\t\ttype: 'SUBMITTED_BUSINESS_SETTINGS',\n\t\t\t\tresponse: response\n\t\t\t};\n\t\t\tAppDispatcher.handleServerAction(action);\n\t\t}\n\t},\n\tdeletedQuoteVersion: function deletedQuoteVersion(response) {\n\t\tif (response) {\n\t\t\tvar action = {\n\t\t\t\ttype: 'DELETED_QUOTE_VERSION',\n\t\t\t\tresponse: response\n\t\t\t};\n\t\t\tAppDispatcher.handleServerAction(action);\n\t\t}\n\t},\n\tsubmittedProfilePicture: function submittedProfilePicture(response) {\n\t\tif (response) {\n\t\t\tvar action = {\n\t\t\t\ttype: 'SUBMITTED_PROFILE_PICTURE',\n\t\t\t\tresponse: response\n\t\t\t};\n\t\t\tAppDispatcher.handleServerAction(action);\n\t\t}\n\t}\n};\n\nmodule.exports = ServerActions;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/actions/serverActions.js\n// module id = 680\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/actions/serverActions.js?"); /***/ }), /* 681 */ /***/ (function(module, exports) { eval("'use strict';\n\nvar BusinessSettingsCustomDealerItemValidation = function BusinessSettingsCustomDealerItemValidation(data) {\n\tvar self = this;\n\n\tself.customItemDataOk = function () {\n\t\treturn self.name && self.price;\n\t};\n\n\tself.id = '';\n\tself.name = true;\n\tself.description = true;\n\tself.price = true;\n\n\tif (data !== undefined) {\n\t\tif (data.id !== undefined) {\n\t\t\tself.id = data.id;\n\t\t}\n\t\tif (data.name !== undefined) {\n\t\t\tself.name = data.name;\n\t\t}\n\t\tif (data.description !== undefined) {\n\t\t\tself.description = data.description;\n\t\t}\n\t\tif (data.price !== undefined) {\n\t\t\tself.price = data.price;\n\t\t}\n\t}\n};\n\nmodule.exports = BusinessSettingsCustomDealerItemValidation;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/models/businessSettingsCustomDealerItemValidation.js\n// module id = 681\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/models/businessSettingsCustomDealerItemValidation.js?"); /***/ }), /* 682 */ /***/ (function(module, exports) { eval("\"use strict\";\n\nvar BusinessSettingsMemberValidation = function BusinessSettingsMemberValidation(data) {\n var self = this;\n\n self.memberDataOk = function () {\n return self.firstName && self.lastName && self.email && self.phoneCountryPrefix && self.phoneNumber && self.mobileCountryPrefix && self.mobileNumber && self.login && self.password && self.confirmPassword;\n };\n\n self.id = \"\";\n self.firstName = true;\n self.lastName = true;\n self.email = true;\n self.phoneCountryPrefix = true;\n self.phoneNumber = true;\n self.mobileCountryPrefix = true;\n self.mobileNumber = true;\n self.login = true;\n self.password = true;\n self.confirmPassword = true;\n\n if (data !== undefined) {\n if (data.id !== undefined) {\n self.id = data.id;\n }\n if (data.firstName !== undefined) {\n self.firstName = data.firstName;\n }\n if (data.lastName !== undefined) {\n self.lastName = data.lastName;\n }\n if (data.email !== undefined) {\n self.email = data.email;\n }\n if (data.phoneCountryPrefix !== undefined) {\n self.phoneCountryPrefix = data.phoneCountryPrefix;\n }\n if (data.phoneNumber !== undefined) {\n self.phoneNumber = data.phoneNumber;\n }\n if (data.mobileCountryPrefix !== undefined) {\n self.mobileCountryPrefix = data.mobileCountryPrefix;\n }\n if (data.mobileNumber !== undefined) {\n self.mobileNumber = data.mobileNumber;\n }\n if (data.login !== undefined) {\n self.login = data.login;\n }\n if (data.password !== undefined) {\n self.password = data.password;\n }\n if (data.confirmPassword !== undefined) {\n self.confirmPassword = data.confirmPassword;\n }\n }\n};\n\nmodule.exports = BusinessSettingsMemberValidation;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/models/businessSettingsMemberValidation.js\n// module id = 682\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/models/businessSettingsMemberValidation.js?"); /***/ }), /* 683 */ /***/ (function(module, exports, __webpack_require__) { eval("\"use strict\";\n\nvar request = __webpack_require__(281);\n\n// store\nvar ServerActions = __webpack_require__(680);\n\n// utils\nvar ApiMocks = __webpack_require__(684);\nvar Constants = __webpack_require__(270);\n\n/**\r\n * @function makeRequest\r\n * @param {string} url \r\n * @param {JSON} postData \r\n * @param {function} onError \r\n * @param {function} onSuccess \r\n */\nvar makeRequest = function makeRequest(url, postData, onError, onSuccess) {\n request.post(url).send(postData)\n //.attach('file', postData)\n .set('Accept', 'application/json').set('X-Requested-With', \"XMLHttpRequest\").end(function (error, res) {\n if (error == null) {\n if (res.body && res.body.error) {\n onError(res.body.error);\n } else {\n onSuccess(res.body);\n }\n } else {\n onError(error);\n }\n });\n};\n\n/**\r\n * @method makeGetRequest\r\n * @param {string} url \r\n * @param {function} onError \r\n * @param {function} onSuccess \r\n */\nvar makeGetRequest = function makeGetRequest(url, onError, onSuccess) {\n request.get(url).set('Accept', 'application/json').set('X-Requested-With', \"XMLHttpRequest\").end(function (error, res) {\n if (error == null) {\n if (res.body && res.body.error) {\n onError(res.body.error);\n } else {\n onSuccess(res.body);\n }\n } else {\n onError(error);\n }\n });\n};\n\n/**\r\n * @class API\r\n * @description A collection of functions to request data from the server via API.\r\n */\nvar API = {\n deleteQuoteVersion: function deleteQuoteVersion(version) {\n makeRequest('/umbraco/Api/Calculator/RemoveQuoteVersion', version, ServerActions.apiError, ServerActions.deletedQuoteVersion);\n },\n\n getBusinessSettingsModel: function getBusinessSettingsModel(nodeId, language, customerNumber) {\n makeGetRequest('/umbraco/Api/BusinessSettings/GetBusinessSettings?id=' + nodeId + '&language=' + language + '&customerNumber=' + customerNumber, ServerActions.apiError, ServerActions.gotBusinessSettingsModel);\n },\n\n getCalculatorModel: function getCalculatorModel(nodeId, productId, country, language, quoteId) {\n var url = '/umbraco/Api/Calculator/GetCalculator?id=' + nodeId + '&productId=' + productId + '&country=' + country + '&language=' + language + '"eId=' + quoteId;\n\n if (Constants.USE_MOCK_API) {\n var response = ApiMocks.getCalculator;\n console.info('API GetCalculator mock response', response);\n ServerActions.gotCalculatorModel(response);\n } else {\n makeGetRequest(url, ServerActions.apiError, ServerActions.gotCalculatorModel);\n }\n },\n\n /**\r\n * @param {string} nodeId\r\n * @param {string} productId\r\n * @param {string} country (e.g. AF)\r\n * @param {string} language\r\n * @param {string} dealerId\r\n * @returns {void}\r\n */\n getConfiguratorModel: function getConfiguratorModel(nodeId, productId, country, language, dealerId) {\n var url = '/umbraco/Api/Configurator/GetConfigurator?id=' + nodeId + '&productId=' + productId + '&country=' + country + '&language=' + language + '&dealerId=' + dealerId;\n\n if (Constants.USE_MOCK_API) {\n var response = ApiMocks.getConfiguratorActive755Weekend;\n //const response = ApiMocks.getConfiguratorWithSkippedSteps;\n console.info('API GetConfigurator mock response', response);\n ServerActions.gotConfiguratorModel(response);\n } else {\n makeGetRequest(url, ServerActions.apiError, ServerActions.gotConfiguratorModel);\n }\n },\n\n /**\r\n * @param {string} nodeId\r\n * @param {string} country\r\n * @param {string} dealerId\r\n * @returns {void}\r\n */\n getDealersByCountry: function getDealersByCountry(nodeId, country, dealerId) {\n var url = '/umbraco/Api/Configurator/GetDealersByCountry?id=' + nodeId + '&country=' + country.toLowerCase() + '&dealerId=' + dealerId;\n\n if (Constants.USE_MOCK_API) {\n console.info('API GetDealersByCountry mock response', ApiMocks.getDealersByCountry);\n ServerActions.gotDealers(ApiMocks.getDealersByCountry);\n } else {\n makeGetRequest(url, ServerActions.apiError, ServerActions.gotDealers);\n };\n },\n\n getDealerItems: function getDealerItems() {\n if (Constants.USE_MOCK_API) {\n ServerActions.gotDealerItems(ApiMocks.getDealerItems);\n } else {\n // wire in live behavior here.\n }\n },\n\n /**\r\n * @method getPhonePrefixes\r\n * @returns {void}\r\n */\n getPhonePrefixes: function getPhonePrefixes() {\n var url = '/umbraco/Api/Configurator/GetPhonePrefixes';\n if (Constants.USE_MOCK_API) {\n console.info('API GetPhonePrefixes mock response', ApiMocks.getPhonePrefixes);\n ServerActions.gotPhonePrefixes(ApiMocks.getPhonePrefixes);\n } else {\n makeGetRequest(url, ServerActions.apiError, ServerActions.gotPhonePrefixes);\n }\n },\n\n getQuotesModel: function getQuotesModel(id, language, dealerId) {\n makeGetRequest('/umbraco/Api/Calculator/GetQuotesForDealer?id=' + id + '&language=' + language + '&dealerId=' + dealerId, ServerActions.apiError, ServerActions.gotQuotesModel);\n },\n\n sendEmail: function sendEmail(emailMessage, id) {\n if (Constants.USE_MOCK_API) {\n console.info('API SendEmail mock response', { isSuccess: true });\n ServerActions.sendEmail({ isSuccess: true });\n } else {\n emailMessage.quoteId = id;\n makeRequest('/umbraco/Api/Calculator/SendEmail', emailMessage, ServerActions.apiError, ServerActions.sendEmail);\n }\n },\n\n submitBusinessSettings: function submitBusinessSettings(submission) {\n makeRequest('/umbraco/Api/BusinessSettings/SubmitBusinessSettings', submission, ServerActions.apiError, ServerActions.submittedBusinessSettings);\n },\n\n submitCalculator: function submitCalculator(submission) {\n if (Constants.USE_MOCK_API) {\n console.info('API SubmitConfigurator mock response', ApiMocks.submitConfigurator);\n ServerActions.submittedConfig(ApiMocks.submitConfigurator);\n } else {\n makeRequest('/umbraco/Api/Calculator/SubmitCalculator', submission, ServerActions.apiError, ServerActions.submittedCalculator);\n }\n },\n\n /**\r\n * @method submitConfigurator\r\n * @param {JSON} submission\r\n * @returns {void}\r\n */\n submitConfigurator: function submitConfigurator(submission) {\n if (Constants.USE_MOCK_API) {\n console.info('API SubmitConfigurator mock response', ApiMocks.submitConfigurator);\n ServerActions.submittedConfig(ApiMocks.submitConfigurator);\n } else {\n makeRequest('/umbraco/Api/Configurator/SubmitConfigurator', submission, ServerActions.apiError, ServerActions.submittedConfig);\n }\n },\n\n submitProfilePicture: function submitProfilePicture(formData) {\n makeRequest('/umbraco/Api/BusinessSettings/Upload', formData, ServerActions.apiError, ServerActions.submittedProfilePicture);\n }\n};\n\nmodule.exports = API;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/utils/Api.js\n// module id = 683\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/utils/Api.js?"); /***/ }), /* 684 */ /***/ (function(module, exports) { eval("\"use strict\";var ApiMocks={getCalculator:{\"title\":\"\",\"text\":\"\",\"image\":\"/media/386888/875_sundeck_running_0121_960x512px_v2.jpg\",\"modelsUrl\":\"/ch/de/modelle/\",\"dealerNumber\":54545,\"priceSetting\":{\"showPrices\":false,\"thousandSeparator\":\".\",\"decimalSeparator\":\",\",\"currency\":\"€\"},\"vat\":7.7,\"steps\":[{\"stepNumber\":0,\"mastheadTitle\":\"Start\",\"title\":\"Start\",\"text\":\"\",\"sidebarText\":\"\",\"slug\":\"start\",\"button\":\"Standard equipment\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":1,\"mastheadTitle\":\"Standard equipment\",\"title\":\"Standard equipment\",\"text\":\"<p>Alle im Folgenden aufgezählten Features und Ausstattungen gehören serienmäßig zu Ihrem Boot. Gehen Sie durch die Serienausstattung und fangen Sie an Ihr Boot zu konfigurieren, indem Sie unten auf der Seite 'Motor auswählen‘ anklicken.</p>\",\"sidebarText\":\"\",\"slug\":\"standard-equipment\",\"button\":\"Choose engine\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":2,\"mastheadTitle\":\"Engine\",\"title\":\"Engine\",\"text\":\"<p><span>Die gelisteten Motoren sind alle mit dem von Ihnen gewählten Boot kompatibel. Als Basis empfehlen wir einen Motor, der den Bedürfnissen der meisten Bootsfahrer entspricht. Sie können aber auch den Motor Ihren eigenen Bedürfnissen anpassen. Wenn Sie mehr über die unterschiedlichen Motoren erfahren möchten, finden Sie Informationen auf der Website von </span><a href=\\\"https://www.mercurymarine.com/de/de/\\\" target=\\\"_blank\\\" class=\\\"c_link--special\\\">Mercury</a><span>.</span></p>\",\"sidebarText\":\"\",\"slug\":\"engine\",\"button\":\"Choose packs\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":3,\"mastheadTitle\":\"Packs\",\"title\":\"Packs\",\"text\":\"<p><span>Die Pakete bieten eine Reihe komplementärer Optionen zu günstigen Sonderpreisen an. Die SMART Edition enthält die mit Abstand beliebtesten Optionen. Die Konfigurationen der SMART Edition werden am häufigsten gewählt, was den zusätzlichen Vorteil hat, dass sie direkt beim Händler vorrätig sind oder nur eine kurze Lieferzeit haben. Andere Pakete enthalten mehr Komfort für bestimmte Bereiche des Bootes (z. B. Cockpit oder Kabine) oder Aktivitäten (z. B. Wassersport oder Kreuzfahrten).</span></p>\",\"sidebarText\":\"\",\"slug\":\"packs\",\"button\":\"Choose options\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":4,\"mastheadTitle\":\"Options\",\"title\":\"Options\",\"text\":\"<p><span>Schließen Sie Ihre Wunschkonfiguration ab, indem Sie genau die Optionen hinzufügen, die Sie auf dem Wasser am meisten genießen werden. Sie können bei der Konfiguration keine Fehler machen: es können keine Optionen gewählt werden, die mit den bereits vorhandenen nicht kompatibel sind. Es ist ebenso unmöglich, Optionen auszuwählen, die bereits in einem der von Ihnen gewählten Pakete enthalten sind.</span></p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finalize\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Overview\",\"title\":\"Overview\",\"text\":\"<p><span>Herzlichen Glückwunsch, Sie haben soeben Ihr eigenes Boot konfiguriert! Kontrollieren Sie die Zusammenfassung Ihrer Konfiguration mit den angegebenen Verkaufspreisen.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}}}}}},{\"stepNumber\":1,\"mastheadTitle\":\"Standard equipment\",\"title\":\"Standard equipment\",\"text\":\"<p>Alle im Folgenden aufgezählten Features und Ausstattungen gehören serienmäßig zu Ihrem Boot. Gehen Sie durch die Serienausstattung und fangen Sie an Ihr Boot zu konfigurieren, indem Sie unten auf der Seite 'Motor auswählen‘ anklicken.</p>\",\"sidebarText\":\"\",\"slug\":\"standard-equipment\",\"button\":\"Choose engine\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":2,\"mastheadTitle\":\"Engine\",\"title\":\"Engine\",\"text\":\"<p><span>Die gelisteten Motoren sind alle mit dem von Ihnen gewählten Boot kompatibel. Als Basis empfehlen wir einen Motor, der den Bedürfnissen der meisten Bootsfahrer entspricht. Sie können aber auch den Motor Ihren eigenen Bedürfnissen anpassen. Wenn Sie mehr über die unterschiedlichen Motoren erfahren möchten, finden Sie Informationen auf der Website von </span><a href=\\\"https://www.mercurymarine.com/de/de/\\\" target=\\\"_blank\\\" class=\\\"c_link--special\\\">Mercury</a><span>.</span></p>\",\"sidebarText\":\"\",\"slug\":\"engine\",\"button\":\"Choose packs\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":3,\"mastheadTitle\":\"Packs\",\"title\":\"Packs\",\"text\":\"<p><span>Die Pakete bieten eine Reihe komplementärer Optionen zu günstigen Sonderpreisen an. Die SMART Edition enthält die mit Abstand beliebtesten Optionen. Die Konfigurationen der SMART Edition werden am häufigsten gewählt, was den zusätzlichen Vorteil hat, dass sie direkt beim Händler vorrätig sind oder nur eine kurze Lieferzeit haben. Andere Pakete enthalten mehr Komfort für bestimmte Bereiche des Bootes (z. B. Cockpit oder Kabine) oder Aktivitäten (z. B. Wassersport oder Kreuzfahrten).</span></p>\",\"sidebarText\":\"\",\"slug\":\"packs\",\"button\":\"Choose options\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":4,\"mastheadTitle\":\"Options\",\"title\":\"Options\",\"text\":\"<p><span>Schließen Sie Ihre Wunschkonfiguration ab, indem Sie genau die Optionen hinzufügen, die Sie auf dem Wasser am meisten genießen werden. Sie können bei der Konfiguration keine Fehler machen: es können keine Optionen gewählt werden, die mit den bereits vorhandenen nicht kompatibel sind. Es ist ebenso unmöglich, Optionen auszuwählen, die bereits in einem der von Ihnen gewählten Pakete enthalten sind.</span></p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finalize\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Overview\",\"title\":\"Overview\",\"text\":\"<p><span>Herzlichen Glückwunsch, Sie haben soeben Ihr eigenes Boot konfiguriert! Kontrollieren Sie die Zusammenfassung Ihrer Konfiguration mit den angegebenen Verkaufspreisen.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}}}}},{\"stepNumber\":2,\"mastheadTitle\":\"Engine\",\"title\":\"Engine\",\"text\":\"<p><span>Die gelisteten Motoren sind alle mit dem von Ihnen gewählten Boot kompatibel. Als Basis empfehlen wir einen Motor, der den Bedürfnissen der meisten Bootsfahrer entspricht. Sie können aber auch den Motor Ihren eigenen Bedürfnissen anpassen. Wenn Sie mehr über die unterschiedlichen Motoren erfahren möchten, finden Sie Informationen auf der Website von </span><a href=\\\"https://www.mercurymarine.com/de/de/\\\" target=\\\"_blank\\\" class=\\\"c_link--special\\\">Mercury</a><span>.</span></p>\",\"sidebarText\":\"\",\"slug\":\"engine\",\"button\":\"Choose packs\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":3,\"mastheadTitle\":\"Packs\",\"title\":\"Packs\",\"text\":\"<p><span>Die Pakete bieten eine Reihe komplementärer Optionen zu günstigen Sonderpreisen an. Die SMART Edition enthält die mit Abstand beliebtesten Optionen. Die Konfigurationen der SMART Edition werden am häufigsten gewählt, was den zusätzlichen Vorteil hat, dass sie direkt beim Händler vorrätig sind oder nur eine kurze Lieferzeit haben. Andere Pakete enthalten mehr Komfort für bestimmte Bereiche des Bootes (z. B. Cockpit oder Kabine) oder Aktivitäten (z. B. Wassersport oder Kreuzfahrten).</span></p>\",\"sidebarText\":\"\",\"slug\":\"packs\",\"button\":\"Choose options\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":4,\"mastheadTitle\":\"Options\",\"title\":\"Options\",\"text\":\"<p><span>Schließen Sie Ihre Wunschkonfiguration ab, indem Sie genau die Optionen hinzufügen, die Sie auf dem Wasser am meisten genießen werden. Sie können bei der Konfiguration keine Fehler machen: es können keine Optionen gewählt werden, die mit den bereits vorhandenen nicht kompatibel sind. Es ist ebenso unmöglich, Optionen auszuwählen, die bereits in einem der von Ihnen gewählten Pakete enthalten sind.</span></p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finalize\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Overview\",\"title\":\"Overview\",\"text\":\"<p><span>Herzlichen Glückwunsch, Sie haben soeben Ihr eigenes Boot konfiguriert! Kontrollieren Sie die Zusammenfassung Ihrer Konfiguration mit den angegebenen Verkaufspreisen.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}}}},{\"stepNumber\":3,\"mastheadTitle\":\"Packs\",\"title\":\"Packs\",\"text\":\"<p><span>Die Pakete bieten eine Reihe komplementärer Optionen zu günstigen Sonderpreisen an. Die SMART Edition enthält die mit Abstand beliebtesten Optionen. Die Konfigurationen der SMART Edition werden am häufigsten gewählt, was den zusätzlichen Vorteil hat, dass sie direkt beim Händler vorrätig sind oder nur eine kurze Lieferzeit haben. Andere Pakete enthalten mehr Komfort für bestimmte Bereiche des Bootes (z. B. Cockpit oder Kabine) oder Aktivitäten (z. B. Wassersport oder Kreuzfahrten).</span></p>\",\"sidebarText\":\"\",\"slug\":\"packs\",\"button\":\"Choose options\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":4,\"mastheadTitle\":\"Options\",\"title\":\"Options\",\"text\":\"<p><span>Schließen Sie Ihre Wunschkonfiguration ab, indem Sie genau die Optionen hinzufügen, die Sie auf dem Wasser am meisten genießen werden. Sie können bei der Konfiguration keine Fehler machen: es können keine Optionen gewählt werden, die mit den bereits vorhandenen nicht kompatibel sind. Es ist ebenso unmöglich, Optionen auszuwählen, die bereits in einem der von Ihnen gewählten Pakete enthalten sind.</span></p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finalize\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Overview\",\"title\":\"Overview\",\"text\":\"<p><span>Herzlichen Glückwunsch, Sie haben soeben Ihr eigenes Boot konfiguriert! Kontrollieren Sie die Zusammenfassung Ihrer Konfiguration mit den angegebenen Verkaufspreisen.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}}},{\"stepNumber\":4,\"mastheadTitle\":\"Options\",\"title\":\"Options\",\"text\":\"<p><span>Schließen Sie Ihre Wunschkonfiguration ab, indem Sie genau die Optionen hinzufügen, die Sie auf dem Wasser am meisten genießen werden. Sie können bei der Konfiguration keine Fehler machen: es können keine Optionen gewählt werden, die mit den bereits vorhandenen nicht kompatibel sind. Es ist ebenso unmöglich, Optionen auszuwählen, die bereits in einem der von Ihnen gewählten Pakete enthalten sind.</span></p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finalize\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Overview\",\"title\":\"Overview\",\"text\":\"<p><span>Herzlichen Glückwunsch, Sie haben soeben Ihr eigenes Boot konfiguriert! Kontrollieren Sie die Zusammenfassung Ihrer Konfiguration mit den angegebenen Verkaufspreisen.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}},{\"stepNumber\":5,\"mastheadTitle\":\"Overview\",\"title\":\"Overview\",\"text\":\"<p><span>Herzlichen Glückwunsch, Sie haben soeben Ihr eigenes Boot konfiguriert! Kontrollieren Sie die Zusammenfassung Ihrer Konfiguration mit den angegebenen Verkaufspreisen.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}],\"boat\":{\"id\":37918,\"name\":\"Activ 875 Sundeck\",\"image\":\"/media/385246/875_sundeck_running_0346_1920x1080px.jpg\",\"freight\":{\"price\":0,\"discount\":null},\"standardEquipment\":[{\"name\":\"Hull & Deck\",\"items\":[{\"id\":37922,\"name\":\"Swim Ladder\",\"image\":\"/media/385364/2875_sundeck_detail_0039_f.jpg\"},{\"id\":37923,\"name\":\"Navigation lights\",\"image\":\"/media/385362/3875-cruiser-detail-1818_f.jpg\"},{\"id\":37924,\"name\":\"Forward line/anchor Locker\",\"image\":\"/media/385450/875sd_forward-line-locker_f.jpg\"},{\"id\":37925,\"name\":\"Self Bailing Cockpit\",\"image\":\"/media/385361/5self-bailing-cockpit_875sd_composition_f.jpg\"},{\"id\":38024,\"name\":\"Hull side windows\",\"image\":\"/media/385371/6875_sundeck_detail_0306_f.jpg\"},{\"id\":37927,\"name\":\"Swim Platform\",\"image\":\"/media/385368/7875-cruiser-details-0048_f.jpg\"},{\"id\":37928,\"name\":\"Motorwell Bridge\",\"image\":\"/media/385366/9875-cruiser-detail-1659_f.jpg\"},{\"id\":37929,\"name\":\"LED Courtesy lights\",\"image\":\"/media/385365/8all-qs_led-lighting_f.jpg\"}]},{\"name\":\"Bow\",\"items\":[{\"id\":37931,\"name\":\"Forward sun lounge\",\"image\":\"/media/385376/10875_sundeck_detail_1264_f.jpg\"}]},{\"name\":\"Helm\",\"items\":[{\"id\":37933,\"name\":\"Smartcraft Speedometer/Tachometer\",\"image\":\"/media/385367/11dash-875sd-with-smartcraft_img_2477_f.jpg\"},{\"id\":37934,\"name\":\"12v electrical socket\",\"image\":\"/media/385369/13875-cruiser-detail-1353_f.jpg\"},{\"id\":37935,\"name\":\"Adjustable Steering Position\",\"image\":\"/media/385370/12875-cruiser-detail-1377_f.jpg\"}]},{\"name\":\"Cabin\",\"items\":[{\"id\":37952,\"name\":\"4 berths\",\"image\":\"/media/385390/224-berths_875sd_composition_f.jpg\"},{\"id\":38028,\"name\":\"Storage below Berth\",\"image\":\"/media/385375/23storage-below-berth_875sd_compo_f.jpg\"},{\"id\":38029,\"name\":\"Deck Hatch\",\"image\":\"/media/385383/27875_sundeck_detail_0297_f.jpg\"},{\"id\":37953,\"name\":\"Berth Cushions/Filler\",\"image\":\"/media/385454/39875_sundeck_detail_0392_f.jpg\"},{\"id\":37954,\"name\":\"Cabin lights\",\"image\":\"/media/385385/24875_sundeck_detail_0349_f.jpg\"},{\"id\":37955,\"name\":\"Opening Portlights\",\"image\":\"/media/385394/25875_sundeck_detail_0306_f.jpg\"},{\"id\":37956,\"name\":\"Cabin Table\",\"image\":\"/media/385395/26875_sundeck_detail_0496-v2_f.jpg\"},{\"id\":37957,\"name\":\"Dinette Seat Configuration\",\"image\":\"/media/385395/26875_sundeck_detail_0496-v2_f.jpg\"}]},{\"name\":\"Head\",\"items\":[{\"id\":38031,\"name\":\"Sink with pressure fresh water system\",\"image\":\"/media/385384/28875_sundeck_detail_0279_f.jpg\"},{\"id\":38032,\"name\":\"Shower\",\"image\":\"/media/385381/29875_sundeck_detail_0281_f.jpg\"},{\"id\":38034,\"name\":\"Enclosed Sea Toilet\",\"image\":\"/media/385388/30875_sundeck_detail_0270_f.jpg\"},{\"id\":38035,\"name\":\"Opening Portlight\",\"image\":\"/media/385392/31875_sundeck_detail_0281_f.jpg\"}]},{\"name\":\"Galley\",\"items\":[{\"id\":37940,\"name\":\"Sink with Tap\",\"image\":\"/media/385389/32sink-with-tap_875sd_compo_f.jpg\"}]},{\"name\":\"Cockpit\",\"items\":[{\"id\":38025,\"name\":\"Dual Helm Seat with Bolster\",\"image\":\"/media/385378/14dual-helm-seat_875sd_composition_f.jpg\"},{\"id\":38027,\"name\":\"Real teak cockpit table\",\"image\":\"/media/385386/20real-teak-cock-table_875sd_compo_f.jpg\"},{\"id\":37945,\"name\":\"Cockpit Cushions\",\"image\":\"/media/385377/19875_sundeck_detail_0990_f.jpg\"},{\"id\":37947,\"name\":\"Cockpit Shower\",\"image\":\"/media/385380/21875_sundeck_detail_1756_f.jpg\"},{\"id\":37948,\"name\":\"Aft Bench Seat\",\"image\":\"/media/385382/15875_sundeck_detail_0873_1_f.jpg\"},{\"id\":37949,\"name\":\"Aft Seat Extension L-Lounge\",\"image\":\"/media/385379/18875_sundeck_detail_0877_f.jpg\"},{\"id\":37950,\"name\":\"Aft Seat Folding Backrest\",\"image\":\"/media/385374/17aft-seat-foldin_875sd_compo_f.jpg\"},{\"id\":38026,\"name\":\"Storage below Aft Seat\",\"image\":\"/media/385372/16875-cruiser-detail-1841_f.jpg\"},{\"id\":38095,\"name\":\"Transom Door\",\"image\":\"/media/385455/41875_sundeck_detail_1639_f.jpg\"}]},{\"name\":\"Equipment\",\"items\":[{\"id\":37960,\"name\":\"OB Pre-Rigging\",\"image\":\"\"},{\"id\":37961,\"name\":\"Dual Battery System\",\"image\":\"/media/385391/33755wk_img_3178_dual-battery-system_f.jpg\"},{\"id\":37962,\"name\":\"Electric & Manual Bilge Pump \",\"image\":\"\"},{\"id\":37963,\"name\":\"Hydraulic steering\",\"image\":\"/media/385393/36875_sundeck_detail_1388_f.jpg\"},{\"id\":38036,\"name\":\"CO Monitor\",\"image\":\"/media/386408/img_4327_co_monitor_f.jpg\"},{\"id\":38037,\"name\":\"Smoke Detector\",\"image\":\"/media/385624/35875_sundeck_smoke-detector_f.jpg\"},{\"id\":41725,\"name\":\"\",\"image\":\"\"}]}],\"engines\":[{\"id\":30913,\"name\":\"Twin 150 EFI\",\"image\":\"/media/382045/twin_fourstroke150efi_199x299px_lr.jpg\",\"price\":0,\"displayPrice\":\"\",\"inboard\":false,\"dual\":true,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":false,\"veradoEngine\":false,\"url\":\"https://www.mercurymarine.com/de/de/\"},{\"id\":30914,\"name\":\"Twin Verado 175\",\"image\":\"/media/382047/twin_verado175_199x299px_lr.jpg\",\"price\":0,\"displayPrice\":\"\",\"inboard\":false,\"dual\":true,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/de/de/\"},{\"id\":30915,\"name\":\"Twin Verado 200\",\"image\":\"/media/382048/twin_verado200_199x299px_lr.jpg\",\"price\":0,\"displayPrice\":\"\",\"inboard\":false,\"dual\":true,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/de/de/\"},{\"id\":30941,\"name\":\"Twin Verado 225\",\"image\":\"/media/382049/twin_verado225_199x299px_lr.jpg\",\"price\":0,\"displayPrice\":\"\",\"inboard\":false,\"dual\":true,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/de/de/\"},{\"id\":30942,\"name\":\"Twin Verado 250\",\"image\":\"/media/382050/twin_verado250_199x299_lr.jpg\",\"price\":0,\"displayPrice\":\"\",\"inboard\":false,\"dual\":true,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/de/de/\"},{\"id\":33386,\"name\":\"Twin Verado 250 with Joystick (JPO)\",\"image\":\"/media/381953/mercury_twinverado250_0_medium.jpg\",\"price\":0,\"displayPrice\":\"\",\"inboard\":false,\"dual\":true,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/de/de/\"},{\"id\":30919,\"name\":\"Verado 225\",\"image\":\"/media/381959/mercury_verado225_3_medium.jpg\",\"price\":0,\"displayPrice\":\"\",\"inboard\":true,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":225,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/de/de/\"},{\"id\":30920,\"name\":\"Verado 250\",\"image\":\"/media/381962/mercury_verado250_2_medium.jpg\",\"price\":0,\"displayPrice\":\"\",\"inboard\":true,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":250,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/de/de/\"},{\"id\":30921,\"name\":\"Verado 300\",\"image\":\"/media/381960/mercury_verado300_1_medium.jpg\",\"price\":0,\"displayPrice\":\"\",\"inboard\":true,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":300,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/de/de/\"},{\"id\":30922,\"name\":\"Verado 350\",\"image\":\"/media/381961/mercury_verado350_0_medium.jpg\",\"price\":0,\"displayPrice\":\"\",\"inboard\":false,\"dual\":false,\"isDefault\":true,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/de/de/\"},{\"id\":34200,\"name\":\"Verado 400R SM\",\"image\":\"/media/383137/black400-starboard-angle_199x299px.jpg\",\"price\":0,\"displayPrice\":\"\",\"inboard\":false,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/de/de/\"}],\"options\":[{\"id\":38040,\"name\":\"Flexiteek Flooring\",\"images\":[\"/media/385407/875_sundeck_detail_0877_flexi-teak-flooring_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"Privilege Pack\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[38084],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":37971,\"name\":\"Swim Platform Extension\",\"images\":[],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\\\"Swim Platform Extension with Flexiteek\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38039],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38039,\"name\":\"Swim Platform Extension with Flexiteek\",\"images\":[\"/media/385429/7875-cruiser-details-0048_extswimplat_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\\\"Swim Platform Extension\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[37971],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":37973,\"name\":\"Hull Color\",\"images\":[\"/media/385423/9875-cruiser-running-0162_hull-color_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38041,\"name\":\"Under Water Lighting\",\"images\":[\"/media/385643/875sd_underwater_light_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":37970,\"name\":\"Ski Pole\",\"images\":[\"/media/385421/6875-cruiser-detail-1823_ski-mast_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38049,\"name\":\"Simrad GPS/Chart Plotter 12\\\" NSS evo 3 with HDI Transducer\",\"images\":[\"/media/385422/14single-gps-12_875sd_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\\\"Dual Simrad GPS/Chart Plotter 9\\\" NSS evo 3 with HDI Transducer\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38048],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38048,\"name\":\"Dual Simrad GPS/Chart Plotter 9\\\" NSS evo 3 with HDI Transducer\",\"images\":[\"/media/385428/15875_sundeck_detail_1411_dual-gps9_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\\\"Simrad GPS/Chart Plotter 12\\\" NSS evo 3 with HDI Transducer\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38049],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38044,\"name\":\"Stereo with 4 speakers\",\"images\":[\"/media/385420/11stereo_875sd_composition_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\\\"Stereo with 6 speakers and subwoofer\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38045],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38045,\"name\":\"Stereo with 6 speakers and subwoofer\",\"images\":[\"/media/385433/12stereo-upgrade_875sd_compo_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\\\"Stereo with 4 speakers\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38044],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38042,\"name\":\"Active Trim\",\"images\":[\"/media/385439/29875-cruiser-detail-1350_active-trim_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38050,\"name\":\"VHF\",\"images\":[],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38047,\"name\":\"DAB Stereo Kit with Antenna\",\"images\":[],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38051,\"name\":\"Cockpit Sunlounge\",\"images\":[\"/media/385427/19875_sundeck_detail_1511_cockpit-sunlounge_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\", \\\"Cockpit Comfort Pack\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[37990,37997],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38052,\"name\":\"Helm Seat Flip Seat\",\"images\":[\"/media/385424/21875_sundeck_detail_1726_helm-seat-flip-seat_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\", \\\"Cockpit Comfort Pack\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[37990,37997],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38053,\"name\":\"Starboard Flip Seat\",\"images\":[\"/media/385425/20875-cruiser-detail-1710_std-flip-seat_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\", \\\"Cockpit Comfort Pack\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[37990,37997],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":37958,\"name\":\"Curtains\",\"images\":[\"/media/385419/875_sundeck_detail_0438_curtains_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\", \\\"Cabin Comfort Pack\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[37990,38070],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38058,\"name\":\"Hatch Screen Cover (hatch cover and mosquito net)\",\"images\":[\"/media/385404/foredeck-hatch-cover_875sd_compo_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"Privilege Pack\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[38084],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38059,\"name\":\"Screen Inovtech 21'5\\\" LED HD 1080 with DVD, USB, HDMI\",\"images\":[\"/media/385441/36875_sundeck_detail_0407-v2_screen-inovtech_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38060,\"name\":\"Electric Grill\",\"images\":[\"/media/385426/17electric-grill_875sd_1_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"Galley Pack\\\"\",\"requiredRelatedOptions\":[37979],\"requiredRelatedOptionsDescription\":\"\\\"Shore Power\\\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[38078],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[37990,38078],\"incompatibleWithPacksDescription\":\"\\\"SMART Edition\\\", \\\"Galley Pack\\\"\",\"discount\":null,\"available\":true},{\"id\":38061,\"name\":\"Refrigerator \",\"images\":[\"/media/385431/17875_sundeck_detail_1442_ice-drawer_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\", \\\"Galley Pack\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[37990,38078],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":37979,\"name\":\"Shore Power\",\"images\":[\"/media/385436/27875-cruiser-detail-1812_shorepower_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[38060,38063,38065],\"isRequiredForOptionDescription\":\"\\\"Electric Grill\\\", \\\"Water Heating\\\", \\\"Air Conditioner\\\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[37990,38070],\"requiredForPacksDescription\":\"\\\"SMART Edition\\\", \\\"Cabin Comfort Pack\\\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":37980,\"name\":\"Bow Thruster\",\"images\":[\"/media/385443/28bow-thruster_805sd_composition_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":37981,\"name\":\"Bow Electrical Windlass\",\"images\":[\"/media/385430/25bow-electric-windlass_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":37982,\"name\":\"Electric Trim Tabs\",\"images\":[\"/media/385434/26trim-tabs_875sd_composition_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":37983,\"name\":\"Grey water system with dock discharge only\",\"images\":[],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\\\"Grey water system with manual outboard discharge\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38597],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38597,\"name\":\"Grey water system with manual outboard discharge\",\"images\":[],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\\\"Grey water system with dock discharge only\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[37983],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38062,\"name\":\"Mooring kit\",\"images\":[],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38063,\"name\":\"Water Heating\",\"images\":[],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[37979],\"requiredRelatedOptionsDescription\":\"\\\"Shore Power\\\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38064,\"name\":\"Diesel Heating\",\"images\":[\"/media/385437/35875-cruiser-detail-0262_diesel_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\\\"Air Conditioner\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38065],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38065,\"name\":\"Air Conditioner\",\"images\":[\"/media/385438/34875-cruiser-detail-0262_air-cond_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\\\"Diesel Heating\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[37979],\"requiredRelatedOptionsDescription\":\"\\\"Shore Power\\\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38064],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38066,\"name\":\"Port Windscreen Wiper with washer\",\"images\":[\"/media/385444/37875_sundeck_detail_0678_wetwindsh-wip_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":37985,\"name\":\"Bimini with Enclosed Canvas\",\"images\":[\"/media/385442/31875_sundeck_detail_0595_bimini-with-enclosure_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\\\"Bimini\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[37986],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":37986,\"name\":\"Bimini\",\"images\":[\"/media/385440/30875_sundeck_details_-0014_bimini_f.jpg\"],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\\\"Bimini with Enclosed Canvas\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[37985],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38067,\"name\":\"Mooring Cover\",\"images\":[],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38068,\"name\":\"Forward Sun Awning \",\"images\":[],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38069,\"name\":\"Seat & Dash cover\",\"images\":[],\"items\":[],\"price\":0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true}],\"packs\":[{\"id\":37990,\"name\":\"SMART Edition\",\"image\":\"/media/385448/smart_pack_875sd_composition_f.jpg\",\"items\":[{\"id\":37991,\"name\":\"Starboard Flip Seat\",\"image\":\"/media/385411/875_sundeck_detail_1726_stbd-flip-seat_f.jpg\"},{\"id\":38822,\"name\":\"Helm Seat Flip Seat\",\"image\":\"/media/385412/875-cruiser-detail-1710_helm-seat-flip-seat_f.jpg\"},{\"id\":37992,\"name\":\"Cockpit Sunlounge\",\"image\":\"/media/385413/875_sundeck_detail_1511_cockpit-sun-lounge_f.jpg\"},{\"id\":38824,\"name\":\"Curtains\",\"image\":\"/media/385419/875_sundeck_detail_0438_curtains_f.jpg\"},{\"id\":37993,\"name\":\"Refrigerator\",\"image\":\"/media/385417/875_sundeck_detail_0188-v2_refrigerator_f.jpg\"},{\"id\":38823,\"name\":\"Microwave\",\"image\":\"/media/385416/875_sundeck_detail_0188-v2_microwave_f.jpg\"},{\"id\":38831,\"name\":\"Refrigerator\",\"image\":\"/media/385410/875_sundeck_detail_1442_ice-drawer_f.jpg\"},{\"id\":37994,\"name\":\"Stove LPG\",\"image\":\"/media/385409/875-cruiser-detail-1795_lpg-stove_f.jpg\"}],\"price\":0,\"incompatiblePacks\":[38070,37997,38078],\"incompatibilityDescription\":\"\\\"Cabin Comfort Pack\\\", \\\"Cockpit Comfort Pack\\\", \\\"Galley Pack\\\"\",\"incompatibleOptions\":[38060],\"incompatibleOptionsDescription\":\"\\\"Electric Grill\\\"\",\"requiredOptions\":[37979],\"requiredOptionsDescription\":\"\\\"Shore Power\\\"\",\"discount\":null,\"available\":true},{\"id\":38070,\"name\":\"Cabin Comfort Pack\",\"image\":\"/media/385418/cabin_comfort_pack_875sd_compo_f.jpg\",\"items\":[{\"id\":38073,\"name\":\"Refrigerator 50 l (cabin)\",\"image\":\"/media/385417/875_sundeck_detail_0188-v2_refrigerator_f.jpg\"},{\"id\":38075,\"name\":\"Microwave\",\"image\":\"/media/385416/875_sundeck_detail_0188-v2_microwave_f.jpg\"},{\"id\":38076,\"name\":\"Curtains\",\"image\":\"/media/385419/875_sundeck_detail_0438_curtains_f.jpg\"}],\"price\":0,\"incompatiblePacks\":[37990],\"incompatibilityDescription\":\"\\\"SMART Edition\\\"\",\"incompatibleOptions\":[],\"incompatibleOptionsDescription\":\"\",\"requiredOptions\":[37979],\"requiredOptionsDescription\":\"\\\"Shore Power\\\"\",\"discount\":null,\"available\":true},{\"id\":37997,\"name\":\"Cockpit Comfort Pack\",\"image\":\"/media/385414/cock_comfort_pack_875sd_compo_f.jpg\",\"items\":[{\"id\":37999,\"name\":\"Cockpit Sunlounge\",\"image\":\"/media/385413/875_sundeck_detail_1511_cockpit-sun-lounge_f.jpg\"},{\"id\":38077,\"name\":\"Helm Seat Flip Seat\",\"image\":\"/media/385412/875-cruiser-detail-1710_helm-seat-flip-seat_f.jpg\"},{\"id\":37998,\"name\":\"Starboard Flip Seat\",\"image\":\"/media/385411/875_sundeck_detail_1726_stbd-flip-seat_f.jpg\"}],\"price\":0,\"incompatiblePacks\":[37990],\"incompatibilityDescription\":\"\\\"SMART Edition\\\"\",\"incompatibleOptions\":[],\"incompatibleOptionsDescription\":\"\",\"requiredOptions\":[],\"requiredOptionsDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38078,\"name\":\"Galley Pack\",\"image\":\"/media/385415/galley_pack_875sd_compo_f.jpg\",\"items\":[{\"id\":38082,\"name\":\"Refrigerator\",\"image\":\"/media/385410/875_sundeck_detail_1442_ice-drawer_f.jpg\"},{\"id\":38083,\"name\":\"Dual Burner Stove LPG\",\"image\":\"/media/385409/875-cruiser-detail-1795_lpg-stove_f.jpg\"}],\"price\":0,\"incompatiblePacks\":[37990],\"incompatibilityDescription\":\"\\\"SMART Edition\\\"\",\"incompatibleOptions\":[38060],\"incompatibleOptionsDescription\":\"\\\"Electric Grill\\\"\",\"requiredOptions\":[],\"requiredOptionsDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38084,\"name\":\"Privilege Pack\",\"image\":\"/media/385449/privilege_pack_875sd_composition_f.jpg\",\"items\":[{\"id\":38090,\"name\":\"Flexiteek Flooring\",\"image\":\"/media/385407/875_sundeck_detail_0877_flexi-teak-flooring_f.jpg\"},{\"id\":38088,\"name\":\"Upgraded Uphosltery (cockpit + foredeck+helm seat)\",\"image\":\"/media/385408/upgrade-upholstery_875sd_composition_f.jpg\"},{\"id\":38091,\"name\":\"Upgraded steering wheel\",\"image\":\"/media/385406/875-cruiser-detail-1377_upg-steering-wheel_f.jpg\"},{\"id\":38092,\"name\":\"Upholstered liner and storage pads\",\"image\":\"/media/385405/upholstered-cabin_875sd_compo_f.jpg\"},{\"id\":38093,\"name\":\"Headliner LED lighting\",\"image\":\"/media/385403/875_sundeck_detail_0179_headliner-led_f.jpg\"},{\"id\":38094,\"name\":\"Hatch Screen Cover (hatch cover and mosquito net)\",\"image\":\"/media/385404/foredeck-hatch-cover_875sd_compo_f.jpg\"}],\"price\":0,\"incompatiblePacks\":[],\"incompatibilityDescription\":\"\",\"incompatibleOptions\":[],\"incompatibleOptionsDescription\":\"\",\"requiredOptions\":[],\"requiredOptionsDescription\":\"\",\"discount\":null,\"available\":true}]},\"recommendedConfigurations\":[{\"id\":38020,\"badgeImageUrl\":\"/media/387118/icon_popular.png\",\"defaultEngineBadge\":\"Recommended\",\"name\":\"Most popular\",\"description\":\"Most popular\",\"engine\":30922,\"packs\":[37990],\"optionalEquipment\":[37971,38049,38044,37979,37980,37981,38062,37986,38067]},{\"id\":38022,\"badgeImageUrl\":\"/media/387117/icon_sport.png\",\"defaultEngineBadge\":\"Sport configuration\",\"name\":\"Sport configuration\",\"description\":\"Description for sport configuration\",\"engine\":30942,\"packs\":[37990,38084],\"optionalEquipment\":[38039,38048,38045,38042,37979,37980,37981,37982,38062,38066,37986,38067]},{\"id\":-1,\"badgeImageUrl\":\"/media/387116/icon_scratch.png\",\"defaultEngineBadge\":\"Recommended\",\"name\":\"Start from scratch\",\"description\":\"Start from scratch\",\"engine\":30922,\"packs\":[],\"optionalEquipment\":[]}],\"dictionary\":{\"close\":\"Close\",\"step\":\"Step\",\"confirmationStep\":\"Confirmation\",\"headerAccessoriesTitle\":\"Accessories\",\"headerEngineTitle\":\"Engine\",\"headerOptionsTitle\":\"Options\",\"headerOverviewTitle\":\"Overview\",\"headerPacksTitle\":\"Packs\",\"headerReturn2Overview\":\"Return to model overview\",\"headerStartTitle\":\"Start\",\"headerTitle\":\"Configurator\",\"autofillFor\":\"Autofill for:\",\"popupTitle\":\"Boat builder loaded \",\"start\":\"Start\",\"chooseEngineBtn\":\"Choose engine\",\"stdEquipmentTitle\":\"Standard equipment\",\"choosePacksBtn\":\"Choose packs\",\"engineSelectionTitle\":\"Engine\",\"chooseOptionsBtn\":\"Choose options\",\"comparePacks\":\"Compare packs\",\"comparePacksClose\":\"Close\",\"notCompatible\":\"(Incompatible with {0})\",\"notAvailablePack\":\"(Price currently not available)\",\"choosePacksTitle\":\"Packs\",\"openPackContent\":\"Show pack content\",\"hidePackContent\":\"Hide pack content\",\"notCompatibleOptions\":\"(Option is not compatible with {0})\",\"requiredForPacks\":\"(Option required as part of {0})\",\"packIncompatibleOptions\":\"(Incompatible options: {0})\",\"packRequiredOptions\":\"(Required options: {0})\",\"chooseAccessoriesBtn\":\"Finish\",\"chooseOptionsTitle\":\"Options\",\"partOf\":\"(Part of {0})\",\"notAvailableOption\":\"(Price currently not available)\",\"requiredRelatedOptions\":\"Requires related option: {0}\",\"isRequiredForOptions\":\"Required if one of the following options is selected: {0}\",\"freeOfCharge\":\"Free of charge\",\"overviewTitle\":\"Overview\",\"personalInformation\":\"\",\"titleMr\":\"Mr\",\"titleMrs\":\"Mrs\",\"firstName\":\"First name\",\"firstNamePlaceholder\":\"First name\",\"lastName\":\"Last name\",\"lastNamePlaceholder\":\"Last name\",\"email\":\"Email\",\"emailPlaceholder\":\"Email\",\"phonePrefix\":\"Prefix\",\"phonePrefixPlaceholder\":\"+ xx\",\"phone\":\"Phone\",\"phonePlaceholder\":\"Phone\",\"streetAddress\":\"Street\",\"streetAddressPlaceholder\":\"Street\",\"streetAddressNr\":\"Nr\",\"streetAddressNrPlaceholder\":\"Nr\",\"postalCode\":\"Zip\",\"postalCodePlaceholder\":\"Zip\",\"city\":\"City\",\"cityPlaceholder\":\"City\",\"chooseACountry\":\"Choose country\",\"send2me\":\"Send this configuration to me\",\"send2Friend\":\"Send this configuration to a friend\",\"send2FriendEmailPlaceholder\":\"Friend's email address\",\"request4Quote\":\"Request a quote for this configuration & select a dealer\",\"chooseDealer\":\"Choose dealer\",\"findDealerOnMap\":\"Find dealer on map\",\"requiredFields\":\"Required fields\",\"saveQuote\":\"Create quote\",\"discount\":\"Reduction\",\"extras\":\"Extras\",\"extrasDiscount\":\"Extras discount\",\"discountExVat\":\"\",\"article\":\"Article\",\"price\":\"Price\",\"reference\":\"Price quote reference number\",\"referencePlaceholder\":\"Price quote reference number\",\"quoteExpirationDate\":\"Expiry date price offer\",\"emailToClient\":\"Send (price) quote to client via email\",\"subject\":\"Subject\",\"subjectPlaceholder\":\"Subject\",\"message\":\"Message\",\"messagePlaceholder\":\"Enter the text you want included in email with the pdf attachment\",\"sendEmail\":\"Send email\",\"printQuote\":\"View/Print (price) quote\",\"modelsOverview\":\"Start a new (price) quote\",\"redeems\":\"Trade-in\",\"subtotal\":\"Subtotal\",\"month1\":\"January\",\"month2\":\"February\",\"month3\":\"March\",\"month4\":\"April\",\"month5\":\"May\",\"month6\":\"June\",\"month7\":\"July\",\"month8\":\"August\",\"month9\":\"September\",\"month10\":\"October\",\"month11\":\"November\",\"month12\":\"December\",\"freight\":\"Freight\",\"selectedOptions\":\"Selected options\",\"total\":\"Total\",\"thankYouHeadline\":\"The quote has been created\",\"emailSent\":\"\",\"setCourseWith\":\"Set course with\",\"chooseThisSetting\":\"Choose this configuration\",\"selectedPacks\":\"Selected packs\",\"optin\":\"I agree to the <a href=\\\"https://www.qs-dealer.be/terms-conditions/\\\" target=\\\"_blank\\\" class=\\\"c_link--special\\\" style=\\\"line-height:28px;\\\">Terms&Conditions</a> and <a href=\\\"https://www.qs-dealer.be/privacy/\\\" target=\\\"_blank\\\" class=\\\"c_link--special\\\" style=\\\"line-height:28px;\\\">Privacy Policy</a>.\",\"priceExVat\":\"Price without VAT\",\"vatInfo\":\"VAT (7,7%)\",\"priceIncVat\":\"Price including VAT\"},\"countries\":[{\"id\":0,\"code\":\"AF\",\"name\":\"AFGHANISTAN\"},{\"id\":0,\"code\":\"AL\",\"name\":\"ALBANIA\"},{\"id\":0,\"code\":\"DZ\",\"name\":\"ALGERIA\"},{\"id\":0,\"code\":\"AS\",\"name\":\"AMERICAN SAMOA\"},{\"id\":0,\"code\":\"AD\",\"name\":\"ANDORRA\"},{\"id\":0,\"code\":\"AO\",\"name\":\"ANGOLA\"},{\"id\":0,\"code\":\"AI\",\"name\":\"ANGUILLA\"},{\"id\":0,\"code\":\"AQ\",\"name\":\"ANTARCTICA\"},{\"id\":0,\"code\":\"AG\",\"name\":\"ANTIGUA & BARBUDA\"},{\"id\":0,\"code\":\"AR\",\"name\":\"ARGENTINA\"},{\"id\":0,\"code\":\"AM\",\"name\":\"ARMENIA\"},{\"id\":0,\"code\":\"AW\",\"name\":\"ARUBA\"},{\"id\":0,\"code\":\"AU\",\"name\":\"AUSTRALIA\"},{\"id\":0,\"code\":\"AT\",\"name\":\"AUSTRIA\"},{\"id\":0,\"code\":\"AZ\",\"name\":\"AZERBAIJAN\"},{\"id\":0,\"code\":\"BS\",\"name\":\"BAHAMAS\"},{\"id\":0,\"code\":\"BH\",\"name\":\"BAHRAIN\"},{\"id\":0,\"code\":\"BD\",\"name\":\"BANGLADESH\"},{\"id\":0,\"code\":\"BB\",\"name\":\"BARBADOS\"},{\"id\":0,\"code\":\"BY\",\"name\":\"BELARUS\"},{\"id\":0,\"code\":\"BE\",\"name\":\"BELGIUM\"},{\"id\":0,\"code\":\"BZ\",\"name\":\"BELIZE\"},{\"id\":0,\"code\":\"BJ\",\"name\":\"BENIN\"},{\"id\":0,\"code\":\"BM\",\"name\":\"BERMUDA\"},{\"id\":0,\"code\":\"BT\",\"name\":\"BHUTAN\"},{\"id\":0,\"code\":\"BO\",\"name\":\"BOLIVIA\"},{\"id\":0,\"code\":\"BA\",\"name\":\"BOSNIA-HERZEGOVINA\"},{\"id\":0,\"code\":\"BW\",\"name\":\"BOTSWANA\"},{\"id\":0,\"code\":\"BV\",\"name\":\"BOUVET ISLAND\"},{\"id\":0,\"code\":\"IO\",\"name\":\"BR. INDIAN OCEAN TER\"},{\"id\":0,\"code\":\"BR\",\"name\":\"BRAZIL\"},{\"id\":0,\"code\":\"VG\",\"name\":\"BRITISH VIRGIN ISL.\"},{\"id\":0,\"code\":\"BN\",\"name\":\"BRUNEI\"},{\"id\":0,\"code\":\"BG\",\"name\":\"BULGARIA\"},{\"id\":0,\"code\":\"BF\",\"name\":\"BURKINA-FASO\"},{\"id\":0,\"code\":\"BI\",\"name\":\"BURUNDI\"},{\"id\":0,\"code\":\"KH\",\"name\":\"CAMBODIA\"},{\"id\":0,\"code\":\"CM\",\"name\":\"CAMEROON\"},{\"id\":0,\"code\":\"CA\",\"name\":\"CANADA\"},{\"id\":0,\"code\":\"CV\",\"name\":\"CAPE VERDE\"},{\"id\":0,\"code\":\"KY\",\"name\":\"CAYMAN ISLANDS\"},{\"id\":0,\"code\":\"CF\",\"name\":\"CENTRAL AFRICAN REP.\"},{\"id\":0,\"code\":\"XC\",\"name\":\"CEUTA\"},{\"id\":0,\"code\":\"TD\",\"name\":\"CHAD\"},{\"id\":0,\"code\":\"CL\",\"name\":\"CHILE\"},{\"id\":0,\"code\":\"CN\",\"name\":\"CHINA\"},{\"id\":0,\"code\":\"CX\",\"name\":\"CHRISTMAS ISLAND\"},{\"id\":0,\"code\":\"CC\",\"name\":\"COCOS ISLANDS\"},{\"id\":0,\"code\":\"CO\",\"name\":\"COLOMBIA\"},{\"id\":0,\"code\":\"KM\",\"name\":\"COMOROS\"},{\"id\":0,\"code\":\"CG\",\"name\":\"CONGO\"},{\"id\":0,\"code\":\"CD\",\"name\":\"CONGO,DEM REP OF THE\"},{\"id\":0,\"code\":\"CK\",\"name\":\"COOK ISLANDS\"},{\"id\":0,\"code\":\"CR\",\"name\":\"COSTA RICA\"},{\"id\":0,\"code\":\"HR\",\"name\":\"CROATIA\"},{\"id\":0,\"code\":\"CU\",\"name\":\"CUBA\"},{\"id\":0,\"code\":\"CY\",\"name\":\"CYPRUS\"},{\"id\":0,\"code\":\"CZ\",\"name\":\"CZECH REPUBLIC\"},{\"id\":0,\"code\":\"DK\",\"name\":\"DENMARK\"},{\"id\":0,\"code\":\"EU\",\"name\":\"DIVERS EEC\"},{\"id\":0,\"code\":\"DJ\",\"name\":\"DJIBOUTI\"},{\"id\":0,\"code\":\"DM\",\"name\":\"DOMINICA\"},{\"id\":0,\"code\":\"DO\",\"name\":\"DOMINICAN REPUBLIC\"},{\"id\":0,\"code\":\"EG\",\"name\":\"EGYPT\"},{\"id\":0,\"code\":\"SV\",\"name\":\"EL SALVADOR\"},{\"id\":0,\"code\":\"EC\",\"name\":\"EQUADOR\"},{\"id\":0,\"code\":\"GQ\",\"name\":\"EQUATORIAL GUINEA\"},{\"id\":0,\"code\":\"ER\",\"name\":\"ERITREA\"},{\"id\":0,\"code\":\"EE\",\"name\":\"ESTONIA\"},{\"id\":0,\"code\":\"ET\",\"name\":\"ETHIOPIA\"},{\"id\":0,\"code\":\"FK\",\"name\":\"FALKLAND ISLANDS\"},{\"id\":0,\"code\":\"FO\",\"name\":\"FAROE ISLANDS\"},{\"id\":0,\"code\":\"FJ\",\"name\":\"FIJI\"},{\"id\":0,\"code\":\"FI\",\"name\":\"FINLAND\"},{\"id\":0,\"code\":\"FR\",\"name\":\"FRANCE\"},{\"id\":0,\"code\":\"PF\",\"name\":\"FRENCH POLYNESIA\"},{\"id\":0,\"code\":\"GA\",\"name\":\"GABON\"},{\"id\":0,\"code\":\"GM\",\"name\":\"GAMBIA\"},{\"id\":0,\"code\":\"GE\",\"name\":\"GEORGIA\"},{\"id\":0,\"code\":\"DE\",\"name\":\"GERMANY\"},{\"id\":0,\"code\":\"GH\",\"name\":\"GHANA\"},{\"id\":0,\"code\":\"GI\",\"name\":\"GIBRALTAR\"},{\"id\":0,\"code\":\"GR\",\"name\":\"GREECE\"},{\"id\":0,\"code\":\"GL\",\"name\":\"GREENLAND\"},{\"id\":0,\"code\":\"GD\",\"name\":\"GRENADA\"},{\"id\":0,\"code\":\"GP\",\"name\":\"GUADELOUPE\"},{\"id\":0,\"code\":\"GU\",\"name\":\"GUAM\"},{\"id\":0,\"code\":\"GT\",\"name\":\"GUATEMALA\"},{\"id\":0,\"code\":\"GN\",\"name\":\"GUINEA\"},{\"id\":0,\"code\":\"GW\",\"name\":\"GUINEA-BISSAU\"},{\"id\":0,\"code\":\"GY\",\"name\":\"GUYANA\"},{\"id\":0,\"code\":\"HT\",\"name\":\"HAITI\"},{\"id\":0,\"code\":\"HM\",\"name\":\"HEARD AND MC DONALD\"},{\"id\":0,\"code\":\"HN\",\"name\":\"HONDURAS\"},{\"id\":0,\"code\":\"HK\",\"name\":\"HONG KONG\"},{\"id\":0,\"code\":\"HU\",\"name\":\"HUNGARY\"},{\"id\":0,\"code\":\"IS\",\"name\":\"ICELAND\"},{\"id\":0,\"code\":\"IN\",\"name\":\"INDIA\"},{\"id\":0,\"code\":\"ID\",\"name\":\"INDONESIA\"},{\"id\":0,\"code\":\"IR\",\"name\":\"IRAN\"},{\"id\":0,\"code\":\"IQ\",\"name\":\"IRAQ\"},{\"id\":0,\"code\":\"IE\",\"name\":\"IRELAND\"},{\"id\":0,\"code\":\"IL\",\"name\":\"ISRAEL\"},{\"id\":0,\"code\":\"IT\",\"name\":\"ITALY\"},{\"id\":0,\"code\":\"CI\",\"name\":\"IVORY COAST\"},{\"id\":0,\"code\":\"JM\",\"name\":\"JAMAICA\"},{\"id\":0,\"code\":\"JP\",\"name\":\"JAPAN\"},{\"id\":0,\"code\":\"JO\",\"name\":\"JORDAN\"},{\"id\":0,\"code\":\"KZ\",\"name\":\"KAZAKHSTAN\"},{\"id\":0,\"code\":\"KE\",\"name\":\"KENYA\"},{\"id\":0,\"code\":\"KI\",\"name\":\"KIRIBATI\"},{\"id\":0,\"code\":\"KR\",\"name\":\"KOREA, REPUBLIC OF\"},{\"id\":0,\"code\":\"KP\",\"name\":\"KOREA,DEM.PEOPLE REP\"},{\"id\":0,\"code\":\"XK\",\"name\":\"KOSOVO\"},{\"id\":0,\"code\":\"KW\",\"name\":\"KUWAIT\"},{\"id\":0,\"code\":\"KG\",\"name\":\"KYRGYZSTAN\"},{\"id\":0,\"code\":\"LA\",\"name\":\"LAO PEOPLE'S DEM REP\"},{\"id\":0,\"code\":\"LV\",\"name\":\"LATVIA\"},{\"id\":0,\"code\":\"LB\",\"name\":\"LEBANON\"},{\"id\":0,\"code\":\"LS\",\"name\":\"LESOTHO\"},{\"id\":0,\"code\":\"LR\",\"name\":\"LIBERIA\"},{\"id\":0,\"code\":\"LI\",\"name\":\"LIECHTENSTEIN\"},{\"id\":0,\"code\":\"LT\",\"name\":\"LITHUANIA\"},{\"id\":0,\"code\":\"LU\",\"name\":\"LUXEMBURG\"},{\"id\":0,\"code\":\"LY\",\"name\":\"LYBIAN ARAB\"},{\"id\":0,\"code\":\"MO\",\"name\":\"MACAU\"},{\"id\":0,\"code\":\"MK\",\"name\":\"MACEDONIA\"},{\"id\":0,\"code\":\"MG\",\"name\":\"MADAGASCAR\"},{\"id\":0,\"code\":\"MW\",\"name\":\"MALAWI\"},{\"id\":0,\"code\":\"MY\",\"name\":\"MALAYSIA\"},{\"id\":0,\"code\":\"MV\",\"name\":\"MALDIVES\"},{\"id\":0,\"code\":\"ML\",\"name\":\"MALI\"},{\"id\":0,\"code\":\"MT\",\"name\":\"MALTA\"},{\"id\":0,\"code\":\"MH\",\"name\":\"MARSHALL ISLANDS\"},{\"id\":0,\"code\":\"MQ\",\"name\":\"MARTINIQUE\"},{\"id\":0,\"code\":\"MR\",\"name\":\"MAURITANIA\"},{\"id\":0,\"code\":\"MU\",\"name\":\"MAURITIUS\"},{\"id\":0,\"code\":\"YT\",\"name\":\"MAYOTTE\"},{\"id\":0,\"code\":\"XL\",\"name\":\"MELILLA\"},{\"id\":0,\"code\":\"MX\",\"name\":\"MEXICO\"},{\"id\":0,\"code\":\"FM\",\"name\":\"MICRONESIA,FED.STATE\"},{\"id\":0,\"code\":\"MD\",\"name\":\"MOLDOVA, REPUBLIC OF\"},{\"id\":0,\"code\":\"MN\",\"name\":\"MONGOLIA\"},{\"id\":0,\"code\":\"ME\",\"name\":\"MONTENEGRO\"},{\"id\":0,\"code\":\"MS\",\"name\":\"MONTSERRAT\"},{\"id\":0,\"code\":\"MA\",\"name\":\"MOROCCO\"},{\"id\":0,\"code\":\"MZ\",\"name\":\"MOZAMBIQUE\"},{\"id\":0,\"code\":\"MM\",\"name\":\"MYANMAR\"},{\"id\":0,\"code\":\"NA\",\"name\":\"NAMIBIA\"},{\"id\":0,\"code\":\"NR\",\"name\":\"NAURU\"},{\"id\":0,\"code\":\"NP\",\"name\":\"NEPAL\"},{\"id\":0,\"code\":\"NL\",\"name\":\"NETHERLANDS\"},{\"id\":0,\"code\":\"AN\",\"name\":\"NETHERLANDS ANTILLES\"},{\"id\":0,\"code\":\"NC\",\"name\":\"NEW CALEDONIA\"},{\"id\":0,\"code\":\"NZ\",\"name\":\"NEW ZEALAND\"},{\"id\":0,\"code\":\"NI\",\"name\":\"NICARAGUA\"},{\"id\":0,\"code\":\"NE\",\"name\":\"NIGER\"},{\"id\":0,\"code\":\"NG\",\"name\":\"NIGERIA\"},{\"id\":0,\"code\":\"NU\",\"name\":\"NIUE\"},{\"id\":0,\"code\":\"NF\",\"name\":\"NORFOLK ISLAND\"},{\"id\":0,\"code\":\"MP\",\"name\":\"NORTHERN MARIANA ISL\"},{\"id\":0,\"code\":\"NO\",\"name\":\"NORWAY\"},{\"id\":0,\"code\":\"OM\",\"name\":\"OMAN\"},{\"id\":0,\"code\":\"PK\",\"name\":\"PAKISTAN\"},{\"id\":0,\"code\":\"PA\",\"name\":\"PANAMA\"},{\"id\":0,\"code\":\"PG\",\"name\":\"PAPUA NEW GUINEA\"},{\"id\":0,\"code\":\"PY\",\"name\":\"PARAGUAY\"},{\"id\":0,\"code\":\"PH\",\"name\":\"PHILIPPINES\"},{\"id\":0,\"code\":\"PN\",\"name\":\"PITCAIRN ISLAND\"},{\"id\":0,\"code\":\"PL\",\"name\":\"POLAND\"},{\"id\":0,\"code\":\"PT\",\"name\":\"PORTUGAL\"},{\"id\":0,\"code\":\"QA\",\"name\":\"QATAR\"},{\"id\":0,\"code\":\"RE\",\"name\":\"REUNION\"},{\"id\":0,\"code\":\"RO\",\"name\":\"ROMANIA\"},{\"id\":0,\"code\":\"RU\",\"name\":\"RUSSIAN FEDERATION\"},{\"id\":0,\"code\":\"RW\",\"name\":\"RWANDA\"},{\"id\":0,\"code\":\"LC\",\"name\":\"SAINT LUCIA\"},{\"id\":0,\"code\":\"WS\",\"name\":\"SAMOA\"},{\"id\":0,\"code\":\"SM\",\"name\":\"SAN MARINO\"},{\"id\":0,\"code\":\"ST\",\"name\":\"SAO TOME & PRINCIPE\"},{\"id\":0,\"code\":\"SA\",\"name\":\"SAUDI ARABIA\"},{\"id\":0,\"code\":\"SN\",\"name\":\"SENEGAL\"},{\"id\":0,\"code\":\"XS\",\"name\":\"SERBIE\"},{\"id\":0,\"code\":\"SC\",\"name\":\"SEYCHELLES\"},{\"id\":0,\"code\":\"SL\",\"name\":\"SIERRA LEONE\"},{\"id\":0,\"code\":\"SG\",\"name\":\"SINGAPORE\"},{\"id\":0,\"code\":\"SK\",\"name\":\"SLOVAKIA\"},{\"id\":0,\"code\":\"SI\",\"name\":\"SLOVENIA\"},{\"id\":0,\"code\":\"SB\",\"name\":\"SOLOMON ISLANDS\"},{\"id\":0,\"code\":\"SO\",\"name\":\"SOMALIA\"},{\"id\":0,\"code\":\"ZA\",\"name\":\"SOUTH AFRICA\"},{\"id\":0,\"code\":\"ES\",\"name\":\"SPAIN\"},{\"id\":0,\"code\":\"LK\",\"name\":\"SRI LANKA\"},{\"id\":0,\"code\":\"VC\",\"name\":\"ST VINCENT & GRENADI\"},{\"id\":0,\"code\":\"SH\",\"name\":\"ST. HELENA\"},{\"id\":0,\"code\":\"KN\",\"name\":\"ST. KITTS-NEVIS-ANG.\"},{\"id\":0,\"code\":\"PM\",\"name\":\"ST.PIERRE & MIQUELON\"},{\"id\":0,\"code\":\"SD\",\"name\":\"SUDAN\"},{\"id\":0,\"code\":\"SR\",\"name\":\"SURINAME\"},{\"id\":0,\"code\":\"SZ\",\"name\":\"SWAZILAND\"},{\"id\":0,\"code\":\"SE\",\"name\":\"SWEDEN\"},{\"id\":0,\"code\":\"CH\",\"name\":\"SWITZERLAND\"},{\"id\":0,\"code\":\"SY\",\"name\":\"SYRIAN\"},{\"id\":0,\"code\":\"TW\",\"name\":\"TAIWAN\"},{\"id\":0,\"code\":\"TJ\",\"name\":\"TAJIKISTAN\"},{\"id\":0,\"code\":\"TZ\",\"name\":\"TANZANIA, UNITED REP\"},{\"id\":0,\"code\":\"TH\",\"name\":\"THAILAND\"},{\"id\":0,\"code\":\"TL\",\"name\":\"TIMOR-LESTE\"},{\"id\":0,\"code\":\"TG\",\"name\":\"TOGO\"},{\"id\":0,\"code\":\"TK\",\"name\":\"TOKELAU\"},{\"id\":0,\"code\":\"TO\",\"name\":\"TONGA\"},{\"id\":0,\"code\":\"TT\",\"name\":\"TRINIDAD AND TOBAGO\"},{\"id\":0,\"code\":\"TN\",\"name\":\"TUNISIA\"},{\"id\":0,\"code\":\"TR\",\"name\":\"TURKEY\"},{\"id\":0,\"code\":\"TM\",\"name\":\"TURKMENISTAN\"},{\"id\":0,\"code\":\"TC\",\"name\":\"TURKS AND CAICOS ISL\"},{\"id\":0,\"code\":\"TV\",\"name\":\"TUVALU\"},{\"id\":0,\"code\":\"UG\",\"name\":\"UGANDA\"},{\"id\":0,\"code\":\"UA\",\"name\":\"UKRAINE\"},{\"id\":0,\"code\":\"AE\",\"name\":\"UNITED ARAB EMIRATES\"},{\"id\":0,\"code\":\"GB\",\"name\":\"UNITED KINGDOM\"},{\"id\":0,\"code\":\"US\",\"name\":\"UNITED STATES\"},{\"id\":0,\"code\":\"UY\",\"name\":\"URUGUAY\"},{\"id\":0,\"code\":\"VI\",\"name\":\"US VIRGIN ISLANDS\"},{\"id\":0,\"code\":\"UZ\",\"name\":\"UZBEKISTAN\"},{\"id\":0,\"code\":\"VU\",\"name\":\"VANUATU\"},{\"id\":0,\"code\":\"VA\",\"name\":\"VATICAN CITY STATE\"},{\"id\":0,\"code\":\"VE\",\"name\":\"VENEZUELA\"},{\"id\":0,\"code\":\"VN\",\"name\":\"VIET NAM\"},{\"id\":0,\"code\":\"WF\",\"name\":\"WALLIS & FUTUNA ISL.\"},{\"id\":0,\"code\":\"YE\",\"name\":\"YEMEN\"},{\"id\":0,\"code\":\"ZM\",\"name\":\"ZAMBIA\"},{\"id\":0,\"code\":\"ZW\",\"name\":\"ZIMBABWE\"}],\"currentSubmission\":null,\"engineDecisionPath\":{\"engineDecisionBasedOnInboardVsOutboard\":true,\"engineDecisionBasedOnFourstrokeOrVerado\":false,\"engineDecisionBasedOnSingleVsDual\":true,\"descriptions\":null,\"startingPriceInfo\":[],\"hpRanges\":[]}},getConfiguratorActiv755Open:{\"title\":\"\",\"text\":\"\",\"image\":\"/media/383308/755_op_1_running-332.jpg\",\"modelsUrl\":\"/uk/en/models/\",\"dealerNumber\":54545,\"priceSetting\":{\"showPrices\":false,\"thousandSeparator\":\".\",\"decimalSeparator\":\",\",\"currency\":\"GBP\"},\"vat\":20.00,\"steps\":[{\"stepNumber\":0,\"mastheadTitle\":\"Start\",\"title\":\"Start\",\"text\":\"\",\"sidebarText\":\"\",\"slug\":\"start\",\"button\":\"Standard equipment\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":1,\"mastheadTitle\":\"Standard equipment\",\"title\":\"Standard equipment\",\"text\":\"<p>All features and equipment listed below are already included in your boat. Browse the standard equipment or start tweaking your boat by clicking ‘Choose engine’ at the bottom of the page.</p>\",\"sidebarText\":\"\",\"slug\":\"standard-equipment\",\"button\":\"Choose engine\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":2,\"mastheadTitle\":\"Engine\",\"title\":\"Engine\",\"text\":\"<p>The engines listed in this section are all compatible with the boat you have selected. By default, we suggest an engine that suits most boaters’ needs but you can tailor the engine to your preferences. If you would like to know more about the different engines, you can find information on the <a href=\\\"https://www.mercurymarine.com/en-gb/europe/\\\" target=\\\"_blank\\\" class=\\\"c_link--special\\\">Mercury website</a></p>\",\"sidebarText\":\"\",\"slug\":\"engine\",\"button\":\"Choose packs\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":3,\"mastheadTitle\":\"Packs\",\"title\":\"Packs\",\"text\":\"<p>Packs offer several complementary options at a discount rate. The SMART Edition consists of the most popular options overall. A SMART Edition configuration is sold most often, which has the added advantage of being available at your dealer either right away or with a short delivery time. Other packs add comfort for specific boat areas (like the cockpit or cabin) and activities (such as water sports or cruising).</p>\",\"sidebarText\":\"\",\"slug\":\"packs\",\"button\":\"Choose options\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":4,\"mastheadTitle\":\"Options\",\"title\":\"Options\",\"text\":\"<p>Complete the personalisation process by adding exactly those options that you will enjoy the most on the water. We’ve made it impossible to make any mistake: you can’t tick an option that’s incompatible with another one you’ve already selected. Likewise, you can’t choose options that are already included in a pack you’ve added.</p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finalize\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Overview\",\"title\":\"Overview\",\"text\":\"<p>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}}}}}},{\"stepNumber\":1,\"mastheadTitle\":\"Standard equipment\",\"title\":\"Standard equipment\",\"text\":\"<p>All features and equipment listed below are already included in your boat. Browse the standard equipment or start tweaking your boat by clicking ‘Choose engine’ at the bottom of the page.</p>\",\"sidebarText\":\"\",\"slug\":\"standard-equipment\",\"button\":\"Choose engine\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":2,\"mastheadTitle\":\"Engine\",\"title\":\"Engine\",\"text\":\"<p>The engines listed in this section are all compatible with the boat you have selected. By default, we suggest an engine that suits most boaters’ needs but you can tailor the engine to your preferences. If you would like to know more about the different engines, you can find information on the <a href=\\\"https://www.mercurymarine.com/en-gb/europe/\\\" target=\\\"_blank\\\" class=\\\"c_link--special\\\">Mercury website</a></p>\",\"sidebarText\":\"\",\"slug\":\"engine\",\"button\":\"Choose packs\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":3,\"mastheadTitle\":\"Packs\",\"title\":\"Packs\",\"text\":\"<p>Packs offer several complementary options at a discount rate. The SMART Edition consists of the most popular options overall. A SMART Edition configuration is sold most often, which has the added advantage of being available at your dealer either right away or with a short delivery time. Other packs add comfort for specific boat areas (like the cockpit or cabin) and activities (such as water sports or cruising).</p>\",\"sidebarText\":\"\",\"slug\":\"packs\",\"button\":\"Choose options\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":4,\"mastheadTitle\":\"Options\",\"title\":\"Options\",\"text\":\"<p>Complete the personalisation process by adding exactly those options that you will enjoy the most on the water. We’ve made it impossible to make any mistake: you can’t tick an option that’s incompatible with another one you’ve already selected. Likewise, you can’t choose options that are already included in a pack you’ve added.</p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finalize\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Overview\",\"title\":\"Overview\",\"text\":\"<p>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}}}}},{\"stepNumber\":2,\"mastheadTitle\":\"Engine\",\"title\":\"Engine\",\"text\":\"<p>The engines listed in this section are all compatible with the boat you have selected. By default, we suggest an engine that suits most boaters’ needs but you can tailor the engine to your preferences. If you would like to know more about the different engines, you can find information on the <a href=\\\"https://www.mercurymarine.com/en-gb/europe/\\\" target=\\\"_blank\\\" class=\\\"c_link--special\\\">Mercury website</a></p>\",\"sidebarText\":\"\",\"slug\":\"engine\",\"button\":\"Choose packs\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":3,\"mastheadTitle\":\"Packs\",\"title\":\"Packs\",\"text\":\"<p>Packs offer several complementary options at a discount rate. The SMART Edition consists of the most popular options overall. A SMART Edition configuration is sold most often, which has the added advantage of being available at your dealer either right away or with a short delivery time. Other packs add comfort for specific boat areas (like the cockpit or cabin) and activities (such as water sports or cruising).</p>\",\"sidebarText\":\"\",\"slug\":\"packs\",\"button\":\"Choose options\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":4,\"mastheadTitle\":\"Options\",\"title\":\"Options\",\"text\":\"<p>Complete the personalisation process by adding exactly those options that you will enjoy the most on the water. We’ve made it impossible to make any mistake: you can’t tick an option that’s incompatible with another one you’ve already selected. Likewise, you can’t choose options that are already included in a pack you’ve added.</p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finalize\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Overview\",\"title\":\"Overview\",\"text\":\"<p>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}}}},{\"stepNumber\":3,\"mastheadTitle\":\"Packs\",\"title\":\"Packs\",\"text\":\"<p>Packs offer several complementary options at a discount rate. The SMART Edition consists of the most popular options overall. A SMART Edition configuration is sold most often, which has the added advantage of being available at your dealer either right away or with a short delivery time. Other packs add comfort for specific boat areas (like the cockpit or cabin) and activities (such as water sports or cruising).</p>\",\"sidebarText\":\"\",\"slug\":\"packs\",\"button\":\"Choose options\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":4,\"mastheadTitle\":\"Options\",\"title\":\"Options\",\"text\":\"<p>Complete the personalisation process by adding exactly those options that you will enjoy the most on the water. We’ve made it impossible to make any mistake: you can’t tick an option that’s incompatible with another one you’ve already selected. Likewise, you can’t choose options that are already included in a pack you’ve added.</p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finalize\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Overview\",\"title\":\"Overview\",\"text\":\"<p>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}}},{\"stepNumber\":4,\"mastheadTitle\":\"Options\",\"title\":\"Options\",\"text\":\"<p>Complete the personalisation process by adding exactly those options that you will enjoy the most on the water. We’ve made it impossible to make any mistake: you can’t tick an option that’s incompatible with another one you’ve already selected. Likewise, you can’t choose options that are already included in a pack you’ve added.</p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finalize\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Overview\",\"title\":\"Overview\",\"text\":\"<p>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}},{\"stepNumber\":5,\"mastheadTitle\":\"Overview\",\"title\":\"Overview\",\"text\":\"<p>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}],\"boat\":{\"id\":23387,\"name\":\"Activ 755 Open\",\"image\":\"/media/381008/activ_755_open_v2.jpg\",\"freight\":{\"price\":0.0,\"discount\":null},\"standardEquipment\":[{\"name\":\"Hull & Deck\",\"items\":[{\"id\":23390,\"name\":\"Bow Roller\",\"image\":\"/media/380312/755-sundeck-dtls-077_bow-roller_f.jpg\"},{\"id\":23391,\"name\":\"Swim Ladder\",\"image\":\"/media/380319/swim-ladder_755op_composition_f.jpg\"},{\"id\":23392,\"name\":\"Navigation lights\",\"image\":\"/media/380315/navigation-lights_755op_composition_f.jpg\"},{\"id\":23393,\"name\":\"Forward line/anchor Locker\",\"image\":\"/media/380308/755-open-dtls-706_forward-line-anchor-locker_f.jpg\"},{\"id\":23394,\"name\":\"Self Bailing Cockpit\",\"image\":\"/media/380318/self-bailing-cockpit_755op_composition_f.jpg\"},{\"id\":23448,\"name\":\"Rod holders\",\"image\":\"/media/380305/755-open-dtls-421_rod-holders_f.jpg\"},{\"id\":23449,\"name\":\"LED Courtesy lights\",\"image\":\"/media/381787/all-qs_led-lighting_f.jpg\"},{\"id\":25298,\"name\":\"Swim Platform\",\"image\":\"/media/381107/swim-platform_755op_composition_v2_f.jpg\"}]},{\"name\":\"Bow\",\"items\":[{\"id\":23451,\"name\":\"Bow cushion\",\"image\":\"/media/380307/755-open-dtls-804_bow-cushions_f.jpg\"}]},{\"name\":\"Helm\",\"items\":[{\"id\":23398,\"name\":\"Smartcraft Speedometer/Tachometer\",\"image\":\"/media/380314/755-sundeck-dtls-877_smartcraft-speedometer-tachometer_f.jpg\"},{\"id\":23399,\"name\":\"12v electrical socket\",\"image\":\"/media/380320/12v-electrical-socket_755op_composition_f.jpg\"},{\"id\":28837,\"name\":\"Adjustable Steering Position\",\"image\":\"/media/380785/755-open-dtls-763_adjustable-steering-position_f.jpg\"}]},{\"name\":\"Cockpit\",\"items\":[{\"id\":23401,\"name\":\"Pilot Seat with Flip Bolster and Swivel\",\"image\":\"/media/380317/pilot-seat-with-flip-bolster-and-swivel_755op_composition_f.jpg\"},{\"id\":23402,\"name\":\"Co-pilot Seat\",\"image\":\"/media/380316/co-pilot-seat_755op_composition_f.jpg\"},{\"id\":23452,\"name\":\"Aft Bench Seat\",\"image\":\"/media/380321/755-open-dtls-318_aft-bench-seat_f.jpg\"},{\"id\":23404,\"name\":\"Cockpit Table\",\"image\":\"/media/380306/755-open-dtls-434_plastic-table-standard_f.jpg\"},{\"id\":25302,\"name\":\"Cockpit Cushions\",\"image\":\"/media/380309/755-open-dtls-511_cockpit-cushions_f.jpg\"}]},{\"name\":\"Cabin\",\"items\":[{\"id\":23406,\"name\":\"1 berth\",\"image\":\"/media/380310/755-open-dtls-931_1-berth_f.jpg\"},{\"id\":23408,\"name\":\"Cabin lights\",\"image\":\"/media/380313/755-sundeck-dtls-801_cabin-lights_f.jpg\"},{\"id\":23409,\"name\":\"Opening Portlights\",\"image\":\"/media/381833/utt_qs_all-models_opening-portlights-in-cabin_f.jpg\"}]},{\"name\":\"Equipment\",\"items\":[{\"id\":23412,\"name\":\"Single Battery System\",\"image\":\"/media/381996/active-595-details-2013-_re_9483_755op_sgl_bat_sys_f.jpg\"},{\"id\":23413,\"name\":\"Hydraulic steering\",\"image\":\"/media/381603/755-open-dtls-758_f.jpg\"},{\"id\":23414,\"name\":\"Electric Bilge Pump\",\"image\":\"\"},{\"id\":23453,\"name\":\"OB Pre-Rigging\",\"image\":\"\"},{\"id\":38643,\"name\":\"CO Monitor\",\"image\":\"/media/386408/img_4327_co_monitor_f.jpg\"},{\"id\":41718,\"name\":\"Fire Extinguisher\",\"image\":\"\"}]}],\"engines\":[{\"id\":30902,\"name\":\"FourStroke 150 EFI\",\"image\":\"/media/381991/mercury_fourstroke150efi_0_medium.jpg\",\"price\":0.0,\"displayPrice\":\"\",\"inboard\":true,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":150,\"fourstrokeEngine\":true,\"veradoEngine\":false,\"url\":\"https://www.mercurymarine.com/en/us/?set-country=us\"},{\"id\":30918,\"name\":\"Verado 200\",\"image\":\"/media/381958/mercury_verado200_0_medium.jpg\",\"price\":0.0,\"displayPrice\":\"\",\"inboard\":true,\"dual\":false,\"isDefault\":true,\"discount\":null,\"hp\":200,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/en-gb/europe/\"},{\"id\":30919,\"name\":\"Verado 225\",\"image\":\"/media/381959/mercury_verado225_3_medium.jpg\",\"price\":0.0,\"displayPrice\":\"\",\"inboard\":true,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":225,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/en-gb/europe/\"},{\"id\":30920,\"name\":\"Verado 250\",\"image\":\"/media/381962/mercury_verado250_2_medium.jpg\",\"price\":0.0,\"displayPrice\":\"\",\"inboard\":true,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":250,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/en-gb/europe/\"},{\"id\":30921,\"name\":\"Verado 300\",\"image\":\"/media/381960/mercury_verado300_1_medium.jpg\",\"price\":0.0,\"displayPrice\":\"\",\"inboard\":true,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":300,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/en-gb/europe/\"}],\"options\":[{\"id\":38199,\"name\":\"Flexiteek Flooring\",\"images\":[\"/media/380282/755-open-dtls-683_bow-table_f.jpg\",\"/media/380284/755-open-dtls-746_electric-trim-tabs_f.jpg\"],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38200,\"name\":\"Swim Platform Extension with Flexiteek \",\"images\":[],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\\\"Swim Platform Extension with Flexiteek & Motor Bracket\\\", \\\"Swim Platform Extension\\\", \\\"Swim Platform Extension with Motor Bracket\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38414,23420,33389],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":33389,\"name\":\"Swim Platform Extension with Motor Bracket\",\"images\":[\"/media/380302/swim-platform-extension_755op_composition_f.jpg\"],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\\\"Swim Platform Extension with Flexiteek \\\", \\\"Swim Platform Extension with Flexiteek & Motor Bracket\\\", \\\"Swim Platform Extension\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38200,38414,23420],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38414,\"name\":\"Swim Platform Extension with Flexiteek & Motor Bracket\",\"images\":[],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\\\"Swim Platform Extension\\\", \\\"Swim Platform Extension with Flexiteek \\\", \\\"Swim Platform Extension with Motor Bracket\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[23420,38200,33389],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23420,\"name\":\"Swim Platform Extension\",\"images\":[\"/media/380302/swim-platform-extension_755op_composition_f.jpg\"],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\\\"Swim Platform Extension with Flexiteek \\\", \\\"Swim Platform Extension with Motor Bracket\\\", \\\"Swim Platform Extension with Flexiteek & Motor Bracket\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38200,33389,38414],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23421,\"name\":\"Hull Color\",\"images\":[\"/media/380292/755-sundeck-dtls-031_hull-color_f.jpg\"],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23419,\"name\":\"Ski Pole\",\"images\":[\"/media/380299/ski-pole_755op_composition_f.jpg\"],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23455,\"name\":\"Convertible bow sun lounge & bow table\",\"images\":[\"/media/382432/convertible-bow-sun-lounge_table_755op_comp_f.jpg\"],\"items\":[\"Bow Table\",\"Convertible bow sun lounge\"],\"price\":0.0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[27073],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23424,\"name\":\"Stereo \",\"images\":[\"/media/380301/stereo_755op_composition_f.jpg\"],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[38266],\"isRequiredForOptionDescription\":\"\\\"DAB Stereo Kit with Antenna\\\"\",\"isPartOf\":[27073],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23425,\"name\":\"GPS/Chart plotter 7\\\"\",\"images\":[\"/media/380289/755-open-dtls-752_gps-chart-plotter-7_f.jpg\"],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[41609],\"isRequiredForOptionDescription\":\"\\\"VesselView Link digital interface\\\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38266,\"name\":\"DAB Stereo Kit with Antenna\",\"images\":[],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[23424],\"requiredRelatedOptionsDescription\":\"\\\"Stereo \\\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38374,\"name\":\"Active Trim\",\"images\":[\"/media/385850/29875-cruiser-detail-1350_active-trim_f.jpg\"],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":41609,\"name\":\"VesselView Link digital interface\",\"images\":[],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[23425],\"requiredRelatedOptionsDescription\":\"\\\"GPS/Chart plotter 7\\\"\\\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23458,\"name\":\"Leaning post with galley\",\"images\":[\"/media/382433/leaning-post-with-galley_755op_compo_f.jpg\"],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\\\"Leaning post without galley\\\", \\\"Cockpit Shower\\\", \\\"Console & bolster seats cover\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[23434],\"isRequiredForOptionDescription\":\"\\\"Grey water system (80L)\\\"\",\"isPartOf\":[],\"incompatibleItems\":[33064,23428,23446],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":33064,\"name\":\"Leaning post without galley\",\"images\":[],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\\\"Leaning post with galley\\\", \\\"Console & bolster seats cover\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[23458,23446],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23428,\"name\":\"Cockpit Shower\",\"images\":[\"/media/380303/755-open-dtls-279_cockpit-shower_f.jpg\"],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\\\"Leaning post with galley\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[23458],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23429,\"name\":\"Starboard & Port Flip Seat\",\"images\":[\"/media/382436/combined_stdb_port_flip_seat_755op_composition.jpg\"],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23432,\"name\":\"Sea Toilet\",\"images\":[\"/media/380286/755-open-dtls-948_sea-toilet_f.jpg\"],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23434,\"name\":\"Grey water system (80L)\",\"images\":[],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[23458],\"requiredRelatedOptionsDescription\":\"\\\"Leaning post with galley\\\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23435,\"name\":\"Bow Electrical Windlass\",\"images\":[\"/media/380295/bow-electrical-windlass_755op_composition_f.jpg\"],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[27073],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23436,\"name\":\"Motor Bracket\",\"images\":[],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23437,\"name\":\"Electric Trim Tabs\",\"images\":[\"/media/380284/755-open-dtls-746_electric-trim-tabs_f.jpg\"],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38435,\"name\":\"Mooring kit\",\"images\":[],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23443,\"name\":\"Forward Sun Awning \",\"images\":[\"/media/380287/755-open-dtls-899_forward-sun-awning_f.jpg\"],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23444,\"name\":\"Bimini\",\"images\":[\"/media/381109/bimini_755op_composition_v2_f.jpg\"],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\\\"Bimini with Enclosed Canvas\\\"\",\"partOfDescription\":\"\\\"SMART Edition\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[27073],\"incompatibleItems\":[23445],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":34653,\"name\":\"Bimini with Enclosed Canvas (with Smart Edition)\",\"images\":[],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\\\"Bimini with Enclosed Canvas\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[23445],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23445,\"name\":\"Bimini with Enclosed Canvas\",\"images\":[],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\\\"Bimini with Enclosed Canvas (with Smart Edition)\\\", \\\"Bimini\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[34653,23444],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23447,\"name\":\"Transport Cover\",\"images\":[\"/media/384478/transport_cover_img_0641_f.jpg\"],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23446,\"name\":\"Console & bolster seats cover\",\"images\":[\"/media/380291/755-sundeck-running-481_seat-cover_f.jpg\"],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\\\"Leaning post with galley\\\", \\\"Leaning post without galley\\\", \\\"Console & Leaning Post Cover\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[23458,33064,23459],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23459,\"name\":\"Console & Leaning Post Cover\",\"images\":[\"/media/380290/755-open-running-454_leaning-post-cover_f.jpg\"],\"items\":[],\"price\":0.0,\"incompatibilityDescription\":\"\\\"Console & bolster seats cover\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[23446],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true}],\"packs\":[{\"id\":27073,\"name\":\"SMART Edition\",\"image\":\"/media/380495/smart_pack_755op_composition_f.jpg\",\"items\":[{\"id\":27074,\"name\":\"Bimini \",\"image\":\"/media/380323/bimini_755op_composition_f.jpg\"},{\"id\":27075,\"name\":\"Stereo Fusion with speakers\",\"image\":\"/media/380329/stereo_755op_composition_f.jpg\"},{\"id\":27077,\"name\":\"Bow Table\",\"image\":\"/media/380327/755-open-dtls-683_bow-table_f.jpg\"},{\"id\":27078,\"name\":\"Convertible bow sun lounge\",\"image\":\"/media/380324/convertible-bow-sun-lounge_755op_composition.jpg\"},{\"id\":27080,\"name\":\"Upgraded fibre-reinforced plastic cockpit table\",\"image\":\"/media/380306/755-open-dtls-434_plastic-table-standard_f.jpg\"},{\"id\":27082,\"name\":\"Berth Cushions/Filler\",\"image\":\"/media/380330/755-open-dtls-928_berth-cushions-filler_f.jpg\"},{\"id\":27084,\"name\":\"Bow Electrical Windlass\",\"image\":\"/media/380325/bow-electrical-windlass_755op_composition_f.jpg\"},{\"id\":27085,\"name\":\"Motorwell Bridge\",\"image\":\"/media/380326/755-open-dtls-251_motorwell-bridge_f.jpg\"}],\"price\":0.0,\"incompatiblePacks\":[],\"incompatibilityDescription\":\"\",\"incompatibleOptions\":[],\"incompatibleOptionsDescription\":\"\",\"requiredOptions\":[],\"requiredOptionsDescription\":\"\",\"discount\":null,\"available\":true}]},\"recommendedConfigurations\":[{\"id\":36244,\"badgeImageUrl\":\"/media/387118/icon_popular.png\",\"defaultEngineBadge\":\"Recommended\",\"name\":\"Most popular\",\"description\":\"Most popular\",\"engine\":30918,\"packs\":[27073],\"optionalEquipment\":[23419,23425,23428,23429]},{\"id\":32879,\"badgeImageUrl\":\"/media/387117/icon_sport.png\",\"defaultEngineBadge\":\"Sport configuration\",\"name\":\"Sport configuration\",\"description\":\"Description for sport configuration\",\"engine\":30921,\"packs\":[27073],\"optionalEquipment\":[23419,23420,23421,23425,23458,23429,23432,23437,23443,23447,23459]},{\"id\":-1,\"badgeImageUrl\":\"/media/387116/icon_scratch.png\",\"defaultEngineBadge\":\"Recommended\",\"name\":\"Start from scratch\",\"description\":\"Start from scratch\",\"engine\":30918,\"packs\":[],\"optionalEquipment\":[]}],\"dictionary\":{\"close\":\"Close\",\"step\":\"Step\",\"confirmationStep\":\"Confirmation\",\"headerAccessoriesTitle\":\"Accessories\",\"headerEngineTitle\":\"Engine\",\"headerOptionsTitle\":\"Options\",\"headerOverviewTitle\":\"Overview\",\"headerPacksTitle\":\"Packs\",\"headerReturn2Overview\":\"Return to model overview\",\"headerStartTitle\":\"Start\",\"headerTitle\":\"Configurator\",\"autofillFor\":\"Autofill for:\",\"popupTitle\":\"Boat builder loaded \",\"start\":\"Start\",\"chooseEngineBtn\":\"Choose engine\",\"stdEquipmentTitle\":\"Standard equipment\",\"choosePacksBtn\":\"Choose packs\",\"engineSelectionTitle\":\"Engine\",\"chooseOptionsBtn\":\"Choose options\",\"comparePacks\":\"Compare packs\",\"comparePacksClose\":\"Close\",\"notCompatible\":\"(Incompatible with {0})\",\"notAvailablePack\":\"(Price currently not available)\",\"choosePacksTitle\":\"Packs\",\"openPackContent\":\"Show pack content\",\"hidePackContent\":\"Hide pack content\",\"notCompatibleOptions\":\"(Option is not compatible with {0})\",\"requiredForPacks\":\"(Option required as part of {0})\",\"packIncompatibleOptions\":\"(Incompatible options: {0})\",\"packRequiredOptions\":\"(Required options: {0})\",\"chooseAccessoriesBtn\":\"Finish\",\"chooseOptionsTitle\":\"Options\",\"partOf\":\"(Part of {0})\",\"notAvailableOption\":\"(Price currently not available)\",\"requiredRelatedOptions\":\"Requires related option: {0}\",\"isRequiredForOptions\":\"Required if one of the following options is selected: {0}\",\"freeOfCharge\":\"Free of charge\",\"overviewTitle\":\"Overview\",\"personalInformation\":\"\",\"titleMr\":\"Mr\",\"titleMrs\":\"Mrs\",\"firstName\":\"First name\",\"firstNamePlaceholder\":\"First name\",\"lastName\":\"Last name\",\"lastNamePlaceholder\":\"Last name\",\"email\":\"Email\",\"emailPlaceholder\":\"Email\",\"phonePrefix\":\"Prefix\",\"phonePrefixPlaceholder\":\"+ xx\",\"phone\":\"Phone\",\"phonePlaceholder\":\"Phone\",\"streetAddress\":\"Street\",\"streetAddressPlaceholder\":\"Street\",\"streetAddressNr\":\"Nr\",\"streetAddressNrPlaceholder\":\"Nr\",\"postalCode\":\"Zip\",\"postalCodePlaceholder\":\"Zip\",\"city\":\"City\",\"cityPlaceholder\":\"City\",\"chooseACountry\":\"Choose country\",\"send2me\":\"Send this configuration to me\",\"send2Friend\":\"Send this configuration to a friend\",\"send2FriendEmailPlaceholder\":\"Friend's email address\",\"request4Quote\":\"Request a quote for this configuration & select a dealer\",\"chooseDealer\":\"Choose dealer\",\"findDealerOnMap\":\"Find dealer on map\",\"requiredFields\":\"Required fields\",\"saveQuote\":\"Create quote\",\"discount\":\"Reduction\",\"extras\":\"Extras\",\"extrasDiscount\":\"Extras discount\",\"discountExVat\":\"\",\"article\":\"Article\",\"price\":\"Price\",\"reference\":\"Price quote reference number\",\"referencePlaceholder\":\"Price quote reference number\",\"quoteExpirationDate\":\"Expiry date price offer\",\"emailToClient\":\"Send (price) quote to client via email\",\"subject\":\"Subject\",\"subjectPlaceholder\":\"Subject\",\"message\":\"Message\",\"messagePlaceholder\":\"Enter the text you want included in email with the pdf attachment\",\"sendEmail\":\"Send email\",\"printQuote\":\"View/Print (price) quote\",\"modelsOverview\":\"Start a new (price) quote\",\"redeems\":\"Trade-in\",\"subtotal\":\"Subtotal\",\"month1\":\"January\",\"month2\":\"February\",\"month3\":\"March\",\"month4\":\"April\",\"month5\":\"May\",\"month6\":\"June\",\"month7\":\"July\",\"month8\":\"August\",\"month9\":\"September\",\"month10\":\"October\",\"month11\":\"November\",\"month12\":\"December\",\"freight\":\"Freight\",\"selectedOptions\":\"Selected options\",\"total\":\"Total\",\"thankYouHeadline\":\"The quote has been created\",\"emailSent\":\"\",\"setCourseWith\":\"Set course with\",\"chooseThisSetting\":\"Choose this configuration\",\"selectedPacks\":\"Selected packs\",\"optin\":\"I agree to the <a href=\\\"https://www.qs-dealer.be/terms-conditions/\\\" target=\\\"_blank\\\" class=\\\"c_link--special\\\" style=\\\"line-height:28px;\\\">Terms&Conditions</a> and <a href=\\\"https://www.qs-dealer.be/privacy/\\\" target=\\\"_blank\\\" class=\\\"c_link--special\\\" style=\\\"line-height:28px;\\\">Privacy Policy</a>.\",\"priceExVat\":\"Price without VAT\",\"vatInfo\":\"VAT (20%)\",\"priceIncVat\":\"Price including VAT\"},\"countries\":[{\"id\":0,\"code\":\"AF\",\"name\":\"AFGHANISTAN\"},{\"id\":0,\"code\":\"AL\",\"name\":\"ALBANIA\"},{\"id\":0,\"code\":\"DZ\",\"name\":\"ALGERIA\"},{\"id\":0,\"code\":\"AS\",\"name\":\"AMERICAN SAMOA\"},{\"id\":0,\"code\":\"AD\",\"name\":\"ANDORRA\"},{\"id\":0,\"code\":\"AO\",\"name\":\"ANGOLA\"},{\"id\":0,\"code\":\"AI\",\"name\":\"ANGUILLA\"},{\"id\":0,\"code\":\"AQ\",\"name\":\"ANTARCTICA\"},{\"id\":0,\"code\":\"AG\",\"name\":\"ANTIGUA & BARBUDA\"},{\"id\":0,\"code\":\"AR\",\"name\":\"ARGENTINA\"},{\"id\":0,\"code\":\"AM\",\"name\":\"ARMENIA\"},{\"id\":0,\"code\":\"AW\",\"name\":\"ARUBA\"},{\"id\":0,\"code\":\"AU\",\"name\":\"AUSTRALIA\"},{\"id\":0,\"code\":\"AT\",\"name\":\"AUSTRIA\"},{\"id\":0,\"code\":\"AZ\",\"name\":\"AZERBAIJAN\"},{\"id\":0,\"code\":\"BS\",\"name\":\"BAHAMAS\"},{\"id\":0,\"code\":\"BH\",\"name\":\"BAHRAIN\"},{\"id\":0,\"code\":\"BD\",\"name\":\"BANGLADESH\"},{\"id\":0,\"code\":\"BB\",\"name\":\"BARBADOS\"},{\"id\":0,\"code\":\"BY\",\"name\":\"BELARUS\"},{\"id\":0,\"code\":\"BE\",\"name\":\"BELGIUM\"},{\"id\":0,\"code\":\"BZ\",\"name\":\"BELIZE\"},{\"id\":0,\"code\":\"BJ\",\"name\":\"BENIN\"},{\"id\":0,\"code\":\"BM\",\"name\":\"BERMUDA\"},{\"id\":0,\"code\":\"BT\",\"name\":\"BHUTAN\"},{\"id\":0,\"code\":\"BO\",\"name\":\"BOLIVIA\"},{\"id\":0,\"code\":\"BA\",\"name\":\"BOSNIA-HERZEGOVINA\"},{\"id\":0,\"code\":\"BW\",\"name\":\"BOTSWANA\"},{\"id\":0,\"code\":\"BV\",\"name\":\"BOUVET ISLAND\"},{\"id\":0,\"code\":\"IO\",\"name\":\"BR. INDIAN OCEAN TER\"},{\"id\":0,\"code\":\"BR\",\"name\":\"BRAZIL\"},{\"id\":0,\"code\":\"VG\",\"name\":\"BRITISH VIRGIN ISL.\"},{\"id\":0,\"code\":\"BN\",\"name\":\"BRUNEI\"},{\"id\":0,\"code\":\"BG\",\"name\":\"BULGARIA\"},{\"id\":0,\"code\":\"BF\",\"name\":\"BURKINA-FASO\"},{\"id\":0,\"code\":\"BI\",\"name\":\"BURUNDI\"},{\"id\":0,\"code\":\"KH\",\"name\":\"CAMBODIA\"},{\"id\":0,\"code\":\"CM\",\"name\":\"CAMEROON\"},{\"id\":0,\"code\":\"CA\",\"name\":\"CANADA\"},{\"id\":0,\"code\":\"CV\",\"name\":\"CAPE VERDE\"},{\"id\":0,\"code\":\"KY\",\"name\":\"CAYMAN ISLANDS\"},{\"id\":0,\"code\":\"CF\",\"name\":\"CENTRAL AFRICAN REP.\"},{\"id\":0,\"code\":\"XC\",\"name\":\"CEUTA\"},{\"id\":0,\"code\":\"TD\",\"name\":\"CHAD\"},{\"id\":0,\"code\":\"CL\",\"name\":\"CHILE\"},{\"id\":0,\"code\":\"CN\",\"name\":\"CHINA\"},{\"id\":0,\"code\":\"CX\",\"name\":\"CHRISTMAS ISLAND\"},{\"id\":0,\"code\":\"CC\",\"name\":\"COCOS ISLANDS\"},{\"id\":0,\"code\":\"CO\",\"name\":\"COLOMBIA\"},{\"id\":0,\"code\":\"KM\",\"name\":\"COMOROS\"},{\"id\":0,\"code\":\"CG\",\"name\":\"CONGO\"},{\"id\":0,\"code\":\"CD\",\"name\":\"CONGO,DEM REP OF THE\"},{\"id\":0,\"code\":\"CK\",\"name\":\"COOK ISLANDS\"},{\"id\":0,\"code\":\"CR\",\"name\":\"COSTA RICA\"},{\"id\":0,\"code\":\"HR\",\"name\":\"CROATIA\"},{\"id\":0,\"code\":\"CU\",\"name\":\"CUBA\"},{\"id\":0,\"code\":\"CY\",\"name\":\"CYPRUS\"},{\"id\":0,\"code\":\"CZ\",\"name\":\"CZECH REPUBLIC\"},{\"id\":0,\"code\":\"DK\",\"name\":\"DENMARK\"},{\"id\":0,\"code\":\"EU\",\"name\":\"DIVERS EEC\"},{\"id\":0,\"code\":\"DJ\",\"name\":\"DJIBOUTI\"},{\"id\":0,\"code\":\"DM\",\"name\":\"DOMINICA\"},{\"id\":0,\"code\":\"DO\",\"name\":\"DOMINICAN REPUBLIC\"},{\"id\":0,\"code\":\"EG\",\"name\":\"EGYPT\"},{\"id\":0,\"code\":\"SV\",\"name\":\"EL SALVADOR\"},{\"id\":0,\"code\":\"EC\",\"name\":\"EQUADOR\"},{\"id\":0,\"code\":\"GQ\",\"name\":\"EQUATORIAL GUINEA\"},{\"id\":0,\"code\":\"ER\",\"name\":\"ERITREA\"},{\"id\":0,\"code\":\"EE\",\"name\":\"ESTONIA\"},{\"id\":0,\"code\":\"ET\",\"name\":\"ETHIOPIA\"},{\"id\":0,\"code\":\"FK\",\"name\":\"FALKLAND ISLANDS\"},{\"id\":0,\"code\":\"FO\",\"name\":\"FAROE ISLANDS\"},{\"id\":0,\"code\":\"FJ\",\"name\":\"FIJI\"},{\"id\":0,\"code\":\"FI\",\"name\":\"FINLAND\"},{\"id\":0,\"code\":\"FR\",\"name\":\"FRANCE\"},{\"id\":0,\"code\":\"PF\",\"name\":\"FRENCH POLYNESIA\"},{\"id\":0,\"code\":\"GA\",\"name\":\"GABON\"},{\"id\":0,\"code\":\"GM\",\"name\":\"GAMBIA\"},{\"id\":0,\"code\":\"GE\",\"name\":\"GEORGIA\"},{\"id\":0,\"code\":\"DE\",\"name\":\"GERMANY\"},{\"id\":0,\"code\":\"GH\",\"name\":\"GHANA\"},{\"id\":0,\"code\":\"GI\",\"name\":\"GIBRALTAR\"},{\"id\":0,\"code\":\"GR\",\"name\":\"GREECE\"},{\"id\":0,\"code\":\"GL\",\"name\":\"GREENLAND\"},{\"id\":0,\"code\":\"GD\",\"name\":\"GRENADA\"},{\"id\":0,\"code\":\"GP\",\"name\":\"GUADELOUPE\"},{\"id\":0,\"code\":\"GU\",\"name\":\"GUAM\"},{\"id\":0,\"code\":\"GT\",\"name\":\"GUATEMALA\"},{\"id\":0,\"code\":\"GN\",\"name\":\"GUINEA\"},{\"id\":0,\"code\":\"GW\",\"name\":\"GUINEA-BISSAU\"},{\"id\":0,\"code\":\"GY\",\"name\":\"GUYANA\"},{\"id\":0,\"code\":\"HT\",\"name\":\"HAITI\"},{\"id\":0,\"code\":\"HM\",\"name\":\"HEARD AND MC DONALD\"},{\"id\":0,\"code\":\"HN\",\"name\":\"HONDURAS\"},{\"id\":0,\"code\":\"HK\",\"name\":\"HONG KONG\"},{\"id\":0,\"code\":\"HU\",\"name\":\"HUNGARY\"},{\"id\":0,\"code\":\"IS\",\"name\":\"ICELAND\"},{\"id\":0,\"code\":\"IN\",\"name\":\"INDIA\"},{\"id\":0,\"code\":\"ID\",\"name\":\"INDONESIA\"},{\"id\":0,\"code\":\"IR\",\"name\":\"IRAN\"},{\"id\":0,\"code\":\"IQ\",\"name\":\"IRAQ\"},{\"id\":0,\"code\":\"IE\",\"name\":\"IRELAND\"},{\"id\":0,\"code\":\"IL\",\"name\":\"ISRAEL\"},{\"id\":0,\"code\":\"IT\",\"name\":\"ITALY\"},{\"id\":0,\"code\":\"CI\",\"name\":\"IVORY COAST\"},{\"id\":0,\"code\":\"JM\",\"name\":\"JAMAICA\"},{\"id\":0,\"code\":\"JP\",\"name\":\"JAPAN\"},{\"id\":0,\"code\":\"JO\",\"name\":\"JORDAN\"},{\"id\":0,\"code\":\"KZ\",\"name\":\"KAZAKHSTAN\"},{\"id\":0,\"code\":\"KE\",\"name\":\"KENYA\"},{\"id\":0,\"code\":\"KI\",\"name\":\"KIRIBATI\"},{\"id\":0,\"code\":\"KR\",\"name\":\"KOREA, REPUBLIC OF\"},{\"id\":0,\"code\":\"KP\",\"name\":\"KOREA,DEM.PEOPLE REP\"},{\"id\":0,\"code\":\"XK\",\"name\":\"KOSOVO\"},{\"id\":0,\"code\":\"KW\",\"name\":\"KUWAIT\"},{\"id\":0,\"code\":\"KG\",\"name\":\"KYRGYZSTAN\"},{\"id\":0,\"code\":\"LA\",\"name\":\"LAO PEOPLE'S DEM REP\"},{\"id\":0,\"code\":\"LV\",\"name\":\"LATVIA\"},{\"id\":0,\"code\":\"LB\",\"name\":\"LEBANON\"},{\"id\":0,\"code\":\"LS\",\"name\":\"LESOTHO\"},{\"id\":0,\"code\":\"LR\",\"name\":\"LIBERIA\"},{\"id\":0,\"code\":\"LI\",\"name\":\"LIECHTENSTEIN\"},{\"id\":0,\"code\":\"LT\",\"name\":\"LITHUANIA\"},{\"id\":0,\"code\":\"LU\",\"name\":\"LUXEMBURG\"},{\"id\":0,\"code\":\"LY\",\"name\":\"LYBIAN ARAB\"},{\"id\":0,\"code\":\"MO\",\"name\":\"MACAU\"},{\"id\":0,\"code\":\"MK\",\"name\":\"MACEDONIA\"},{\"id\":0,\"code\":\"MG\",\"name\":\"MADAGASCAR\"},{\"id\":0,\"code\":\"MW\",\"name\":\"MALAWI\"},{\"id\":0,\"code\":\"MY\",\"name\":\"MALAYSIA\"},{\"id\":0,\"code\":\"MV\",\"name\":\"MALDIVES\"},{\"id\":0,\"code\":\"ML\",\"name\":\"MALI\"},{\"id\":0,\"code\":\"MT\",\"name\":\"MALTA\"},{\"id\":0,\"code\":\"MH\",\"name\":\"MARSHALL ISLANDS\"},{\"id\":0,\"code\":\"MQ\",\"name\":\"MARTINIQUE\"},{\"id\":0,\"code\":\"MR\",\"name\":\"MAURITANIA\"},{\"id\":0,\"code\":\"MU\",\"name\":\"MAURITIUS\"},{\"id\":0,\"code\":\"YT\",\"name\":\"MAYOTTE\"},{\"id\":0,\"code\":\"XL\",\"name\":\"MELILLA\"},{\"id\":0,\"code\":\"MX\",\"name\":\"MEXICO\"},{\"id\":0,\"code\":\"FM\",\"name\":\"MICRONESIA,FED.STATE\"},{\"id\":0,\"code\":\"MD\",\"name\":\"MOLDOVA, REPUBLIC OF\"},{\"id\":0,\"code\":\"MN\",\"name\":\"MONGOLIA\"},{\"id\":0,\"code\":\"ME\",\"name\":\"MONTENEGRO\"},{\"id\":0,\"code\":\"MS\",\"name\":\"MONTSERRAT\"},{\"id\":0,\"code\":\"MA\",\"name\":\"MOROCCO\"},{\"id\":0,\"code\":\"MZ\",\"name\":\"MOZAMBIQUE\"},{\"id\":0,\"code\":\"MM\",\"name\":\"MYANMAR\"},{\"id\":0,\"code\":\"NA\",\"name\":\"NAMIBIA\"},{\"id\":0,\"code\":\"NR\",\"name\":\"NAURU\"},{\"id\":0,\"code\":\"NP\",\"name\":\"NEPAL\"},{\"id\":0,\"code\":\"NL\",\"name\":\"NETHERLANDS\"},{\"id\":0,\"code\":\"AN\",\"name\":\"NETHERLANDS ANTILLES\"},{\"id\":0,\"code\":\"NC\",\"name\":\"NEW CALEDONIA\"},{\"id\":0,\"code\":\"NZ\",\"name\":\"NEW ZEALAND\"},{\"id\":0,\"code\":\"NI\",\"name\":\"NICARAGUA\"},{\"id\":0,\"code\":\"NE\",\"name\":\"NIGER\"},{\"id\":0,\"code\":\"NG\",\"name\":\"NIGERIA\"},{\"id\":0,\"code\":\"NU\",\"name\":\"NIUE\"},{\"id\":0,\"code\":\"NF\",\"name\":\"NORFOLK ISLAND\"},{\"id\":0,\"code\":\"MP\",\"name\":\"NORTHERN MARIANA ISL\"},{\"id\":0,\"code\":\"NO\",\"name\":\"NORWAY\"},{\"id\":0,\"code\":\"OM\",\"name\":\"OMAN\"},{\"id\":0,\"code\":\"PK\",\"name\":\"PAKISTAN\"},{\"id\":0,\"code\":\"PA\",\"name\":\"PANAMA\"},{\"id\":0,\"code\":\"PG\",\"name\":\"PAPUA NEW GUINEA\"},{\"id\":0,\"code\":\"PY\",\"name\":\"PARAGUAY\"},{\"id\":0,\"code\":\"PH\",\"name\":\"PHILIPPINES\"},{\"id\":0,\"code\":\"PN\",\"name\":\"PITCAIRN ISLAND\"},{\"id\":0,\"code\":\"PL\",\"name\":\"POLAND\"},{\"id\":0,\"code\":\"PT\",\"name\":\"PORTUGAL\"},{\"id\":0,\"code\":\"QA\",\"name\":\"QATAR\"},{\"id\":0,\"code\":\"RE\",\"name\":\"REUNION\"},{\"id\":0,\"code\":\"RO\",\"name\":\"ROMANIA\"},{\"id\":0,\"code\":\"RU\",\"name\":\"RUSSIAN FEDERATION\"},{\"id\":0,\"code\":\"RW\",\"name\":\"RWANDA\"},{\"id\":0,\"code\":\"LC\",\"name\":\"SAINT LUCIA\"},{\"id\":0,\"code\":\"WS\",\"name\":\"SAMOA\"},{\"id\":0,\"code\":\"SM\",\"name\":\"SAN MARINO\"},{\"id\":0,\"code\":\"ST\",\"name\":\"SAO TOME & PRINCIPE\"},{\"id\":0,\"code\":\"SA\",\"name\":\"SAUDI ARABIA\"},{\"id\":0,\"code\":\"SN\",\"name\":\"SENEGAL\"},{\"id\":0,\"code\":\"XS\",\"name\":\"SERBIE\"},{\"id\":0,\"code\":\"SC\",\"name\":\"SEYCHELLES\"},{\"id\":0,\"code\":\"SL\",\"name\":\"SIERRA LEONE\"},{\"id\":0,\"code\":\"SG\",\"name\":\"SINGAPORE\"},{\"id\":0,\"code\":\"SK\",\"name\":\"SLOVAKIA\"},{\"id\":0,\"code\":\"SI\",\"name\":\"SLOVENIA\"},{\"id\":0,\"code\":\"SB\",\"name\":\"SOLOMON ISLANDS\"},{\"id\":0,\"code\":\"SO\",\"name\":\"SOMALIA\"},{\"id\":0,\"code\":\"ZA\",\"name\":\"SOUTH AFRICA\"},{\"id\":0,\"code\":\"ES\",\"name\":\"SPAIN\"},{\"id\":0,\"code\":\"LK\",\"name\":\"SRI LANKA\"},{\"id\":0,\"code\":\"VC\",\"name\":\"ST VINCENT & GRENADI\"},{\"id\":0,\"code\":\"SH\",\"name\":\"ST. HELENA\"},{\"id\":0,\"code\":\"KN\",\"name\":\"ST. KITTS-NEVIS-ANG.\"},{\"id\":0,\"code\":\"PM\",\"name\":\"ST.PIERRE & MIQUELON\"},{\"id\":0,\"code\":\"SD\",\"name\":\"SUDAN\"},{\"id\":0,\"code\":\"SR\",\"name\":\"SURINAME\"},{\"id\":0,\"code\":\"SZ\",\"name\":\"SWAZILAND\"},{\"id\":0,\"code\":\"SE\",\"name\":\"SWEDEN\"},{\"id\":0,\"code\":\"CH\",\"name\":\"SWITZERLAND\"},{\"id\":0,\"code\":\"SY\",\"name\":\"SYRIAN\"},{\"id\":0,\"code\":\"TW\",\"name\":\"TAIWAN\"},{\"id\":0,\"code\":\"TJ\",\"name\":\"TAJIKISTAN\"},{\"id\":0,\"code\":\"TZ\",\"name\":\"TANZANIA, UNITED REP\"},{\"id\":0,\"code\":\"TH\",\"name\":\"THAILAND\"},{\"id\":0,\"code\":\"TL\",\"name\":\"TIMOR-LESTE\"},{\"id\":0,\"code\":\"TG\",\"name\":\"TOGO\"},{\"id\":0,\"code\":\"TK\",\"name\":\"TOKELAU\"},{\"id\":0,\"code\":\"TO\",\"name\":\"TONGA\"},{\"id\":0,\"code\":\"TT\",\"name\":\"TRINIDAD AND TOBAGO\"},{\"id\":0,\"code\":\"TN\",\"name\":\"TUNISIA\"},{\"id\":0,\"code\":\"TR\",\"name\":\"TURKEY\"},{\"id\":0,\"code\":\"TM\",\"name\":\"TURKMENISTAN\"},{\"id\":0,\"code\":\"TC\",\"name\":\"TURKS AND CAICOS ISL\"},{\"id\":0,\"code\":\"TV\",\"name\":\"TUVALU\"},{\"id\":0,\"code\":\"UG\",\"name\":\"UGANDA\"},{\"id\":0,\"code\":\"UA\",\"name\":\"UKRAINE\"},{\"id\":0,\"code\":\"AE\",\"name\":\"UNITED ARAB EMIRATES\"},{\"id\":0,\"code\":\"GB\",\"name\":\"UNITED KINGDOM\"},{\"id\":0,\"code\":\"US\",\"name\":\"UNITED STATES\"},{\"id\":0,\"code\":\"UY\",\"name\":\"URUGUAY\"},{\"id\":0,\"code\":\"VI\",\"name\":\"US VIRGIN ISLANDS\"},{\"id\":0,\"code\":\"UZ\",\"name\":\"UZBEKISTAN\"},{\"id\":0,\"code\":\"VU\",\"name\":\"VANUATU\"},{\"id\":0,\"code\":\"VA\",\"name\":\"VATICAN CITY STATE\"},{\"id\":0,\"code\":\"VE\",\"name\":\"VENEZUELA\"},{\"id\":0,\"code\":\"VN\",\"name\":\"VIET NAM\"},{\"id\":0,\"code\":\"WF\",\"name\":\"WALLIS & FUTUNA ISL.\"},{\"id\":0,\"code\":\"YE\",\"name\":\"YEMEN\"},{\"id\":0,\"code\":\"ZM\",\"name\":\"ZAMBIA\"},{\"id\":0,\"code\":\"ZW\",\"name\":\"ZIMBABWE\"}],\"currentSubmission\":null,\"engineDecisionPath\":{\"engineDecisionBasedOnInboardVsOutboard\":false,\"engineDecisionBasedOnFourstrokeOrVerado\":false,\"engineDecisionBasedOnSingleVsDual\":false,\"descriptions\":null,\"startingPriceInfo\":[],\"hpRanges\":[]}},getConfiguratorActive755Weekend:{\"title\":\"\",\"text\":\"<p><span>Check the unique features you can use to adapt your boat to your wishes. Not sure what to choose? Then let us make a suggestion, based on either the most popular options or our expert recommendations.</span></p>\",\"image\":\"/media/383329/755_wk_1_running-5454.jpg\",\"modelUrl\":\"/be/en/products/activ-755-weekend/\",\"modelsUrl\":\"/be/en/product-selector/\",\"priceSetting\":{\"showPrices\":true,\"thousandSeparator\":\".\",\"decimalSeparator\":\",\",\"currency\":\"EUR\"},\"vat\":21.00,\"steps\":[{\"stepNumber\":0,\"mastheadTitle\":\"Start\",\"title\":\"Start\",\"text\":\"<p><span>Check the unique features you can use to adapt your boat to your wishes. Not sure what to choose? Then let us make a suggestion, based on either the most popular options or our expert recommendations.</span></p>\",\"sidebarText\":\"\",\"slug\":\"start\",\"button\":\"Standard equipment\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":1,\"mastheadTitle\":\"Standard equipment\",\"title\":\"Standard equipment\",\"text\":\"<p>All features and equipment listed below are already included in your boat. Browse the standard equipment or start tweaking your boat by clicking ‘Choose engine’ at the bottom of the page.</p>\",\"sidebarText\":\"\",\"slug\":\"standard-equipment\",\"button\":\"Choose engine\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":2,\"mastheadTitle\":\"Engine\",\"title\":\"Engine\",\"text\":\"<p><span>The engines listed in this section are all compatible with the boat you have selected. By default, we suggest an engine that suits most boaters’ needs but you can tailor the engine to your preferences. If you would like to know more about the different engines, you can find information on the </span><a rel=\\\"noopener noreferrer\\\" href=\\\"https://www.mercurymarine.com/nl/nl/\\\" target=\\\"_blank\\\" class=\\\"link--special\\\">Mercury website</a><span>.</span></p>\",\"sidebarText\":\"\",\"slug\":\"engine\",\"button\":\"Choose packs\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":3,\"mastheadTitle\":\"Packs\",\"title\":\"Packs\",\"text\":\"<p>Packs offer several complementary options at a discount rate. The SMART Edition consists of the most popular options overall. A SMART Edition configuration is sold most often, which has the added advantage of being available at your dealer either right away or with a short delivery time. Other packs add comfort for specific boat areas (like the cockpit or cabin) and activities (such as water sports or cruising).</p>\",\"sidebarText\":\"\",\"slug\":\"packs\",\"button\":\"Choose options\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":4,\"mastheadTitle\":\"Options\",\"title\":\"Options\",\"text\":\"<p>Complete the personalisation process by adding exactly those options that you will enjoy the most on the water. We’ve made it impossible to make any mistake: you can’t tick an option that’s incompatible with another one you’ve already selected. Likewise, you can’t choose options that are already included in a pack you’ve added.</p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finish\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Overview\",\"title\":\"Overview\",\"text\":\"<p><span>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}}}}}},{\"stepNumber\":1,\"mastheadTitle\":\"Standard equipment\",\"title\":\"Standard equipment\",\"text\":\"<p>All features and equipment listed below are already included in your boat. Browse the standard equipment or start tweaking your boat by clicking ‘Choose engine’ at the bottom of the page.</p>\",\"sidebarText\":\"\",\"slug\":\"standard-equipment\",\"button\":\"Choose engine\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":2,\"mastheadTitle\":\"Engine\",\"title\":\"Engine\",\"text\":\"<p><span>The engines listed in this section are all compatible with the boat you have selected. By default, we suggest an engine that suits most boaters’ needs but you can tailor the engine to your preferences. If you would like to know more about the different engines, you can find information on the </span><a rel=\\\"noopener noreferrer\\\" href=\\\"https://www.mercurymarine.com/nl/nl/\\\" target=\\\"_blank\\\" class=\\\"link--special\\\">Mercury website</a><span>.</span></p>\",\"sidebarText\":\"\",\"slug\":\"engine\",\"button\":\"Choose packs\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":3,\"mastheadTitle\":\"Packs\",\"title\":\"Packs\",\"text\":\"<p>Packs offer several complementary options at a discount rate. The SMART Edition consists of the most popular options overall. A SMART Edition configuration is sold most often, which has the added advantage of being available at your dealer either right away or with a short delivery time. Other packs add comfort for specific boat areas (like the cockpit or cabin) and activities (such as water sports or cruising).</p>\",\"sidebarText\":\"\",\"slug\":\"packs\",\"button\":\"Choose options\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":4,\"mastheadTitle\":\"Options\",\"title\":\"Options\",\"text\":\"<p>Complete the personalisation process by adding exactly those options that you will enjoy the most on the water. We’ve made it impossible to make any mistake: you can’t tick an option that’s incompatible with another one you’ve already selected. Likewise, you can’t choose options that are already included in a pack you’ve added.</p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finish\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Overview\",\"title\":\"Overview\",\"text\":\"<p><span>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}}}}},{\"stepNumber\":2,\"mastheadTitle\":\"Engine\",\"title\":\"Engine\",\"text\":\"<p><span>The engines listed in this section are all compatible with the boat you have selected. By default, we suggest an engine that suits most boaters’ needs but you can tailor the engine to your preferences. If you would like to know more about the different engines, you can find information on the </span><a rel=\\\"noopener noreferrer\\\" href=\\\"https://www.mercurymarine.com/nl/nl/\\\" target=\\\"_blank\\\" class=\\\"link--special\\\">Mercury website</a><span>.</span></p>\",\"sidebarText\":\"\",\"slug\":\"engine\",\"button\":\"Choose packs\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":3,\"mastheadTitle\":\"Packs\",\"title\":\"Packs\",\"text\":\"<p>Packs offer several complementary options at a discount rate. The SMART Edition consists of the most popular options overall. A SMART Edition configuration is sold most often, which has the added advantage of being available at your dealer either right away or with a short delivery time. Other packs add comfort for specific boat areas (like the cockpit or cabin) and activities (such as water sports or cruising).</p>\",\"sidebarText\":\"\",\"slug\":\"packs\",\"button\":\"Choose options\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":4,\"mastheadTitle\":\"Options\",\"title\":\"Options\",\"text\":\"<p>Complete the personalisation process by adding exactly those options that you will enjoy the most on the water. We’ve made it impossible to make any mistake: you can’t tick an option that’s incompatible with another one you’ve already selected. Likewise, you can’t choose options that are already included in a pack you’ve added.</p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finish\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Overview\",\"title\":\"Overview\",\"text\":\"<p><span>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}}}},{\"stepNumber\":3,\"mastheadTitle\":\"Packs\",\"title\":\"Packs\",\"text\":\"<p>Packs offer several complementary options at a discount rate. The SMART Edition consists of the most popular options overall. A SMART Edition configuration is sold most often, which has the added advantage of being available at your dealer either right away or with a short delivery time. Other packs add comfort for specific boat areas (like the cockpit or cabin) and activities (such as water sports or cruising).</p>\",\"sidebarText\":\"\",\"slug\":\"packs\",\"button\":\"Choose options\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":4,\"mastheadTitle\":\"Options\",\"title\":\"Options\",\"text\":\"<p>Complete the personalisation process by adding exactly those options that you will enjoy the most on the water. We’ve made it impossible to make any mistake: you can’t tick an option that’s incompatible with another one you’ve already selected. Likewise, you can’t choose options that are already included in a pack you’ve added.</p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finish\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Overview\",\"title\":\"Overview\",\"text\":\"<p><span>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}}},{\"stepNumber\":4,\"mastheadTitle\":\"Options\",\"title\":\"Options\",\"text\":\"<p>Complete the personalisation process by adding exactly those options that you will enjoy the most on the water. We’ve made it impossible to make any mistake: you can’t tick an option that’s incompatible with another one you’ve already selected. Likewise, you can’t choose options that are already included in a pack you’ve added.</p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finish\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Overview\",\"title\":\"Overview\",\"text\":\"<p><span>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}},{\"stepNumber\":5,\"mastheadTitle\":\"Overview\",\"title\":\"Overview\",\"text\":\"<p><span>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}],\"boat\":{\"id\":25166,\"name\":\"Activ 755 Weekend\",\"image\":\"/assets/demo/images/configurator-gallery/755-weekend-running-5228_2_hero_2000x1125px.jpg\",\"freight\":{\"price\":2320.00,\"discount\":{\"percent\":0.0,\"amount\":0.0}},\"standardEquipment\":[{\"name\":\"Hull & Deck\",\"items\":[{\"id\":25169,\"name\":\"Bow Roller\",\"imageDescription\":\"Bow Roller\",\"images\":[{\"imageUrl\":\"/assets/demo/images/configurator-gallery/755-weekend-dtls-3435_bow-roller_f_lr.jpg\"}],\"subitems\":[]},{\"id\":25170,\"name\":\"Swim Ladder\",\"imageDescription\":\"Swim Ladder\",\"images\":[{\"imageUrl\":\"/assets/demo/images/configurator-gallery/swim-ladder_755wk_composition_f.jpg\"}],\"subitems\":[]},{\"id\":25171,\"name\":\"Navigation Lights\",\"imageDescription\":\"Navigation lights\",\"images\":[{\"imageUrl\":\"/assets/demo/images/configurator-gallery/navigation-lights_755wk_composition_f.jpg\"}],\"subitems\":[]},{\"id\":25172,\"name\":\"Forward Line/Anchor Locker\",\"imageDescription\":\"Forward line/anchor Locker\",\"images\":[{\"imageUrl\":\"/assets/demo/images/configurator-gallery/755-weekend-dtls-3723_anchor_locker_f.jpg\"}],\"subitems\":[]},{\"id\":25173,\"name\":\"Self Bailing Cockpit\",\"imageDescription\":\"Self Bailing Cockpit\",\"images\":[{\"imageUrl\":\"/assets/demo/images/configurator-gallery/755-weekend-dtls-3972_self-bailing-cockpit_f.jpg\"}],\"subitems\":[]},{\"id\":25176,\"name\":\"Swim Platforms (Outboard)\",\"imageDescription\":\"Swim Platforms (Outboard)\",\"images\":[{\"imageUrl\":\"/assets/demo/images/configurator-gallery/swim-platform_755wk_composition_f.jpg\"}],\"subitems\":[]},{\"id\":35278,\"name\":\"Swim Platforms (Inboard)\",\"imageDescription\":\"Swim Platforms (Inboard)\",\"images\":[{\"imageUrl\":\"/assets/demo/images/configurator-gallery/755we_swimplatform_ib_boot17_f.jpg\"}],\"subitems\":[]},{\"id\":25177,\"name\":\"LED Courtesy Lights\",\"imageDescription\":\"LED Courtesy lights\",\"images\":[{\"imageUrl\":\"/assets/demo/images/configurator-gallery/all-qs_led-lighting_f.jpg\"}],\"subitems\":[]},{\"id\":25247,\"name\":\"Rod Holders \",\"imageDescription\":\"Rodholders\",\"images\":[{\"imageUrl\":\"/assets/demo/images/configurator-gallery/755-weekend-dtls-4270_rod-holders_f.jpg\"}],\"subitems\":[]},{\"id\":45519,\"name\":\"Hull Side Windows\",\"imageDescription\":\"Hull Side Windows\",\"images\":[],\"subitems\":[]}]},{\"name\":\"Helm\",\"items\":[{\"id\":25180,\"name\":\"SmartCraft Speedometer/Tachometer\",\"imageDescription\":\"Smartcraft Speedometer/ Tachometer\",\"images\":[{\"imageUrl\":\"/media/382819/755-weekend-dtls-4501_smartcraft_speedo_tacho_f.jpg\"}],\"subitems\":[]},{\"id\":25182,\"name\":\"12v Electrical Socket\",\"imageDescription\":\"12v electrical socket\",\"images\":[{\"imageUrl\":\"/media/381474/12v-electrical-sockett_c77_compo_f.jpg\"}],\"subitems\":[]},{\"id\":28052,\"name\":\"Adjustable Steering Position\",\"imageDescription\":\"Adjustable Steering Position\",\"images\":[{\"imageUrl\":\"/media/382800/755-weekend-dtls-4557-adjustable-steering-position_f.jpg\"}],\"subitems\":[]}]},{\"name\":\"Cockpit\",\"items\":[{\"id\":25198,\"name\":\"Cockpit Cushions\",\"imageDescription\":\"Cockpit Cushions\",\"images\":[{\"imageUrl\":\"/media/382803/755-weekend-dtls-4471-cockpit-cushions_f.jpg\"}],\"subitems\":[]},{\"id\":25201,\"name\":\"Aft Bench Seat\",\"imageDescription\":\"Aft Bench Seat\",\"images\":[{\"imageUrl\":\"/media/382807/755-weekend-dtls-4496_aft-bench-seat_f.jpg\"}],\"subitems\":[]},{\"id\":28860,\"name\":\"Cockpit Shower\",\"imageDescription\":\"Cockpit Shower\",\"images\":[{\"imageUrl\":\"/media/382799/755-weekend-dtls-4393-cockpit_shower_f.jpg\"}],\"subitems\":[]},{\"id\":38097,\"name\":\"Transom Door\",\"imageDescription\":\"Transom Door\",\"images\":[{\"imageUrl\":\"/media/387413/transom-door_755wk_composition_f.jpg\"}],\"subitems\":[]},{\"id\":45517,\"name\":\"Storage below Aft Seat\",\"imageDescription\":\"Storage below Aft Seat\",\"images\":[],\"subitems\":[]}]},{\"name\":\"Cabin\",\"items\":[{\"id\":25190,\"name\":\"4 berths\",\"imageDescription\":\"3 berths with cabin cushions\",\"images\":[{\"imageUrl\":\"/media/382794/4-berths_755wk_composition_f.jpg\"}],\"subitems\":[]},{\"id\":25191,\"name\":\"Berth Cushions/Filler\",\"imageDescription\":\"Berth Cushions/Filler\",\"images\":[{\"imageUrl\":\"/media/382806/755-weekend-dtls-4714_berth-cushionsfiller_f.jpg\"}],\"subitems\":[]},{\"id\":25192,\"name\":\"Cabin Lights \",\"imageDescription\":\"Cabin lights\",\"images\":[{\"imageUrl\":\"/media/382804/cabin-lights_755wk_composition_f.jpg\"}],\"subitems\":[]},{\"id\":25185,\"name\":\"Opening Portlights\",\"imageDescription\":\"Opening Portlight\",\"images\":[{\"imageUrl\":\"/media/382810/755-weekend-dtls-4757_opening-portlights_f.jpg\"}],\"subitems\":[]},{\"id\":25248,\"name\":\"Pilot Seat with Flip Bolster and Swivel\",\"imageDescription\":\"Pilot Seats with Flip Bolster and Swivel\",\"images\":[{\"imageUrl\":\"/media/382812/pilot-seats-with_755wk_composition_f.jpg\"}],\"subitems\":[]},{\"id\":25249,\"name\":\"Dinette Seat Configuration\",\"imageDescription\":\"Dinette Seat Configuration\",\"images\":[{\"imageUrl\":\"/media/382808/755-weekend-dtls-4698_dinette-seat-conf_f.jpg\"}],\"subitems\":[]},{\"id\":25250,\"name\":\"Cabin Table\",\"imageDescription\":\"Cabin Table\",\"images\":[{\"imageUrl\":\"/media/382805/755-weekend-dtls-4617_cabin-table_f.jpg\"}],\"subitems\":[]},{\"id\":28060,\"name\":\"Deck Hatch - Opening\",\"imageDescription\":\"Roof/Deck Hatch\",\"images\":[{\"imageUrl\":\"/media/382815/755-weekend-dtls-4731-deck-hatch_f.jpg\"}],\"subitems\":[]},{\"id\":45518,\"name\":\"Storage below Berth\",\"imageDescription\":\"Storage below Berth\",\"images\":[],\"subitems\":[]}]},{\"name\":\"Galley\",\"items\":[{\"id\":25187,\"name\":\"Sink with Tap\",\"imageDescription\":\"Sink with Tap\",\"images\":[{\"imageUrl\":\"/media/382802/755-weekend-dtls-4661-sink-with-tap_f.jpg\"}],\"subitems\":[]}]},{\"name\":\"Equipment\",\"items\":[{\"id\":25204,\"name\":\"OB Pre-Rigging\",\"imageDescription\":\"OB Pre-Rigging\",\"images\":[],\"subitems\":[]},{\"id\":25205,\"name\":\"Dual Battery System\",\"imageDescription\":\"Dual Battery System\",\"images\":[{\"imageUrl\":\"/media/382816/dual-battery-system_755wk_composition_f.jpg\"}],\"subitems\":[]},{\"id\":25206,\"name\":\"Electric & Manual Bilge Pump \",\"imageDescription\":\"Electric Bilge Pump\",\"images\":[],\"subitems\":[]},{\"id\":25181,\"name\":\"Hydraulic Steering\",\"imageDescription\":\"Hydraulic steering\",\"images\":[{\"imageUrl\":\"/media/382801/755-weekend-dtls-4577_hydraulic-steering_f.jpg\"}],\"subitems\":[]},{\"id\":25174,\"name\":\"Starboard Windscreen Wiper\",\"imageDescription\":\"Starboard Windscreen Wiper\",\"images\":[{\"imageUrl\":\"/media/382817/755-weekend-running-5266-v1_starboard-windscreen-wiper_f.jpg\"}],\"subitems\":[]},{\"id\":38646,\"name\":\"CO Monitor\",\"imageDescription\":\"CO Monitor\",\"images\":[{\"imageUrl\":\"/media/386408/img_4327_co_monitor_f.jpg\"}],\"subitems\":[]},{\"id\":41701,\"name\":\"Fire Extinguisher\",\"imageDescription\":\"Fire Extinguisher\",\"images\":[{\"imageUrl\":\"/media/384596/41c77-details-0943_fire-exting_f.jpg\"}],\"subitems\":[]},{\"id\":45056,\"name\":\"City Water Inlet\",\"imageDescription\":\"City Water Inlet\",\"images\":[],\"subitems\":[]},{\"id\":45520,\"name\":\"Smoke Detector\",\"imageDescription\":\"Smoke Detector\",\"images\":[],\"subitems\":[]}]}],\"engines\":[{\"id\":45159,\"name\":\"Mercury 175 V6\",\"image\":\"/media/387527/175hp_fs_pb_v6_xl_rp3-4_199x299.jpg\",\"price\":59190.00,\"displayPrice\":\"\",\"inboard\":false,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":175,\"url\":\"https://www.mercurymarine.com/en-gb/europe/engines/outboard/fourstroke/175-300-hp/\"},{\"id\":45160,\"name\":\"Mercury 200 V6\",\"image\":\"/media/387528/200hp_fs_pb_v6_xl_rp3-4_199x299.jpg\",\"price\":60290.00,\"displayPrice\":\"\",\"inboard\":false,\"dual\":false,\"isDefault\":true,\"discount\":null,\"hp\":200,\"url\":\"https://www.mercurymarine.com/en-gb/europe/engines/outboard/fourstroke/175-300-hp/\"},{\"id\":45161,\"name\":\"Mercury 225 V6\",\"image\":\"/media/387529/225hp_fs_pb_v6_xl_fp3-4_199x299.jpg\",\"price\":60950.00,\"displayPrice\":\"+1760.00\",\"inboard\":false,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":225,\"url\":\"https://www.mercurymarine.com/en-gb/europe/engines/outboard/fourstroke/175-300-hp/\"},{\"id\":30920,\"name\":\"Mercury 250 V8 Verado\",\"image\":\"/media/387524/verado-250-bk-bk_199x299.jpg\",\"price\":65400.00,\"displayPrice\":\"+6210.00\",\"inboard\":false,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":250,\"url\":\"https://www.mercurymarine.com/en-gb/europe/engines/outboard/fourstroke/175-300-hp/\"},{\"id\":30894,\"name\":\"Mercruiser 4.5L 200 HP Catalyst\",\"image\":\"/media/381966/mercurymercruiser_45l200hp_0_medium.jpg\",\"price\":67960.00,\"displayPrice\":\"+8770.00\",\"inboard\":true,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":200,\"url\":\"https://www.mercurymarine.com/en-gb/europe/engines/inboard-and-sterndrive/mercruiser/45l/\"},{\"id\":30921,\"name\":\"Mercury 300 V8 Verado\",\"image\":\"/media/387525/verado-300-bk-bk_199x299.jpg\",\"price\":69550.00,\"displayPrice\":\"+10360.00\",\"inboard\":false,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":300,\"url\":\"https://www.mercurymarine.com/en-gb/europe/engines/outboard/fourstroke/175-300-hp/\"},{\"id\":30895,\"name\":\"Mercruiser 4.5L 250 HP DTS Catalyst\",\"image\":\"/media/381967/mercurymercruiser_45l250hp_0_medium.jpg\",\"price\":71900.00,\"displayPrice\":\"+12710.00\",\"inboard\":true,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":250,\"url\":\"https://www.mercurymarine.com/en-gb/europe/engines/inboard-and-sterndrive/mercruiser/45l/\"},{\"id\":30890,\"name\":\"Mercury Diesel 2.0L 170 HP Tier III\",\"image\":\"/media/381963/mercurymercruiser_20l170hpdieselalpha_0_medium.jpg\",\"price\":78500.00,\"displayPrice\":\"+19310.00\",\"inboard\":true,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":170,\"url\":\"https://www.mercurymarine.com/en-gb/europe/engines/diesel/mercury-diesel/20l-tier-2/\"}],\"options\":[{\"id\":38210,\"name\":\"Flexiteek Flooring\",\"imageDescription\":\"Flexiteek Flooring\",\"images\":[],\"subitems\":[],\"price\":2280.00,\"incompatibilityDescription\":\"\\\"Flexiteek Flooring (Inboard) \\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38208],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38209,\"name\":\"Swim Platform Extensions with Flexiteek\",\"imageDescription\":\"Swim Platform Extensions with Flexiteek\",\"images\":[],\"subitems\":[],\"price\":830.00,\"incompatibilityDescription\":\"\\\"Swim Platform Extensions\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[25215],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":25215,\"name\":\"Swim Platform Extensions\",\"imageDescription\":\"Swim Platform Extension (Outboard)\",\"images\":[{\"imageUrl\":\"/media/382904/755wk_composition_swim-plat-ext_f.jpg\"}],\"subitems\":[],\"price\":640.00,\"incompatibilityDescription\":\"\\\"Swim Platform Extensions with Flexiteek\\\", \\\"Flexiteek Flooring (Inboard) \\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38209,38208],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38208,\"name\":\"Flexiteek Flooring (Inboard) \",\"imageDescription\":\"Flexiteek Flooring (Inboard) \",\"images\":[{\"imageUrl\":\"/media/383722/755we_swimplatform_ib_boot17_f.jpg\"}],\"subitems\":[],\"price\":2710.00,\"incompatibilityDescription\":\"\\\"Swim Platform Extensions\\\", \\\"Flexiteek Flooring\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[25215,38210],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":25217,\"name\":\"Hull Color (Dark Grey)\",\"imageDescription\":\"Hull Color\",\"images\":[{\"imageUrl\":\"/media/382901/755-weekend-running-5282-hull-color_f.jpg\"}],\"subitems\":[],\"price\":1050.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":25219,\"name\":\"Forward Sun Lounge \",\"imageDescription\":\"Forward sun lounge\",\"images\":[{\"imageUrl\":\"/media/382899/755-weekend-dtls-3519_forward-sun-lounge_f.jpg\"}],\"subitems\":[],\"price\":530.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[28813],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":25273,\"name\":\"Simrad VHF RS20\",\"imageDescription\":\"Simrad VHF RS20\",\"images\":[{\"imageUrl\":\"/media/380557/vhf_755wk_composition_f.jpg\"}],\"subitems\":[],\"price\":460.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38278,\"name\":\"DAB Stereo Kit with Antenna\",\"imageDescription\":\"DAB Stereo Kit with Antenna\",\"images\":[],\"subitems\":[],\"price\":210.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38385,\"name\":\"Active Trim\",\"imageDescription\":\"Active Trim\",\"images\":[{\"imageUrl\":\"/media/385850/29875-cruiser-detail-1350_active-trim_f.jpg\"}],\"subitems\":[],\"price\":630.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":25282,\"name\":\"Aft Seat Folding Backrest \",\"imageDescription\":\"Aft Seat Folding Backrest (optional/part of SMART Edition for outboard and standard for inboard version)\",\"images\":[{\"imageUrl\":\"/media/382890/aft-seat-fol-backrest_755wk_composition.jpg\"}],\"subitems\":[],\"price\":560.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[28813],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":25278,\"name\":\"Cockpit Table (Outboard)\",\"imageDescription\":\"Cockpit Table\",\"images\":[{\"imageUrl\":\"/media/382879/755-weekend-dtls-3820_cockpit-table_f.jpg\"}],\"subitems\":[],\"price\":440.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\", \\\"Cockpit Comfort Pack \\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[28813,27361],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":45203,\"name\":\"Cockpit Table (Inboard)\",\"imageDescription\":\"Cockpit Table\",\"images\":[{\"imageUrl\":\"/media/382879/755-weekend-dtls-3820_cockpit-table_f.jpg\"}],\"subitems\":[],\"price\":550.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\", \\\"Cockpit Comfort Pack \\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[28813,27361],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":25284,\"name\":\"Curtains\",\"imageDescription\":\"Curtains\",\"images\":[{\"imageUrl\":\"/media/382889/755-weekend-dtls-5128_curtains_f.jpg\"}],\"subitems\":[],\"price\":1230.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[28813],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":25285,\"name\":\"Roof Hatch\",\"imageDescription\":\"Roof/Deck Hatch\",\"images\":[{\"imageUrl\":\"/media/382882/755-weekend-dtls-4615_deck-hatch_f.jpg\"}],\"subitems\":[],\"price\":1210.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[38261],\"isRequiredForOptionDescription\":\"\\\"Hatch Screen Cover (hatch cover and mosquito net)\\\"\",\"isPartOf\":[28813],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38261,\"name\":\"Hatch Screen Cover (hatch cover and mosquito net)\",\"imageDescription\":\"Hatch Screen Cover (hatch cover and mosquito net)\",\"images\":[{\"imageUrl\":\"/media/386595/foredeck-hatch-cover_875sd_compo_f.jpg\"}],\"subitems\":[],\"price\":770.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[25285],\"requiredRelatedOptionsDescription\":\"\\\"Roof Hatch\\\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":25287,\"name\":\"Enclosed Sea Toilet\",\"imageDescription\":\"Enclosed Sea Toilet\",\"images\":[{\"imageUrl\":\"/media/382883/755-weekend-dtls-4705_enclosed-sea-toilet_f.jpg\"}],\"subitems\":[],\"price\":1860.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[28813],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":25227,\"name\":\"Shore Power\",\"imageDescription\":\"Shore Power\",\"images\":[{\"imageUrl\":\"/media/382886/755-weekend-dtls-5151-shore-power_f.jpg\"}],\"subitems\":[],\"price\":1430.00,\"incompatibilityDescription\":\"\\\"Air Conditioning/heating\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[25289],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":25228,\"name\":\"Bow Thruster\",\"imageDescription\":\"Bow Thruster\",\"images\":[{\"imageUrl\":\"/media/380540/activ-855-running-0220_bow-thruster_f.jpg\"}],\"subitems\":[],\"price\":2510.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":25229,\"name\":\"Bow Electrical Windlass\",\"imageDescription\":\"Bow Electrical Windlass\",\"images\":[{\"imageUrl\":\"/media/382892/bow-electrical-windlass_755wk_composition.jpg\"}],\"subitems\":[],\"price\":1950.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[28813],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":25230,\"name\":\"Electric Trim Tabs\",\"imageDescription\":\"Electric Trim Tabs\",\"images\":[{\"imageUrl\":\"/media/380553/img_3204_-electric-trim-tabs_f.jpg\"}],\"subitems\":[],\"price\":1320.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[28813],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":25288,\"name\":\"Diesel Heating\",\"imageDescription\":\"Diesel heating\",\"images\":[{\"imageUrl\":\"/media/381828/d77_diesel_heat_f.jpg\"}],\"subitems\":[],\"price\":3840.00,\"incompatibilityDescription\":\"\\\"Air Conditioning/heating\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[25289],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":25289,\"name\":\"Air Conditioning/heating\",\"imageDescription\":\"Air Conditioning/heating (on shorepower)\",\"images\":[{\"imageUrl\":\"/media/380550/img_3193_air-conditioning-heating_f.jpg\"}],\"subitems\":[],\"price\":3810.00,\"incompatibilityDescription\":\"\\\"Shore Power\\\", \\\"Diesel Heating\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[25227,25288],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":25290,\"name\":\"Transom Electrical Windlass\",\"imageDescription\":\"Transom Electrical Windlass\",\"images\":[],\"subitems\":[],\"price\":4600.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":25291,\"name\":\"Simrad 3G Radar\",\"imageDescription\":\"Simrad Radar\",\"images\":[{\"imageUrl\":\"/media/382905/755wk_composition_simrad-radar_f.jpg\"}],\"subitems\":[],\"price\":2620.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":25293,\"name\":\"Cockpit Lighting \",\"imageDescription\":\"Hard Top Docking Lights\",\"images\":[{\"imageUrl\":\"/media/382891/755-weekend-dtls-5125_cockpit-flood-light_f.jpg\"}],\"subitems\":[],\"price\":210.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[28813],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":31778,\"name\":\"Port & Starboard Windscreen Wiper with Windshield Wash\",\"imageDescription\":\"Port & Starboard Windscreen Wiper with Windshield Wash\",\"images\":[{\"imageUrl\":\"/media/383486/combined_port_wiper_wash_755wk_compo_f.jpg\"}],\"subitems\":[{\"id\":25350,\"name\":\"Windshield Wash\",\"imageDescription\":\"Port & Starboard Windscreen Wiper with Windshield Wash - Windshield Wash\",\"images\":[],\"subitems\":null},{\"id\":25175,\"name\":\"Port Windscreen Wiper\",\"imageDescription\":\"Port & Starboard Windscreen Wiper with Windshield Wash - Port Windscreen Wiper\",\"images\":[{\"imageUrl\":\"/media/383486/combined_port_wiper_wash_755wk_compo_f.jpg\"}],\"subitems\":null}],\"price\":320.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38446,\"name\":\"Mooring Kit\",\"imageDescription\":\"6 black fenders (61x16 cm) with branded cover & 4 dock lines of 9m (diameter: 14 mm)\",\"images\":[],\"subitems\":[],\"price\":430.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":45197,\"name\":\"Grey water system with dock discharge only\",\"imageDescription\":\"Grey water system (90L)\",\"images\":[],\"subitems\":[],\"price\":540.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":45198,\"name\":\"Grey water system with manual outboard discharge\",\"imageDescription\":\"Grey water system (90L)\",\"images\":[],\"subitems\":[],\"price\":730.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":25223,\"name\":\"Bimini with Enclosed Canvas\",\"imageDescription\":\"Bimini with Enclosed Canvas\",\"images\":[{\"imageUrl\":\"/media/382004/complete-enclosed-canvas_755wk_compo_f_lr.jpg\"}],\"subitems\":[],\"price\":2310.00,\"incompatibilityDescription\":\"\\\"Bimini\\\", \\\"Sun Awning\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[25225,25294],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":25225,\"name\":\"Bimini\",\"imageDescription\":\"Bimini\",\"images\":[{\"imageUrl\":\"/media/380535/855cr_bimini_f.jpg\"}],\"subitems\":[],\"price\":1300.00,\"incompatibilityDescription\":\"\\\"Sun Awning\\\", \\\"Bimini with Enclosed Canvas\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[25294,25223],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":25294,\"name\":\"Sun Awning\",\"imageDescription\":\"Sun Awning\",\"images\":[{\"imageUrl\":\"/media/382907/755wk_composition_sun-awning_f.jpg\"}],\"subitems\":[],\"price\":1080.00,\"incompatibilityDescription\":\"\\\"Bimini with Enclosed Canvas\\\", \\\"Bimini\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[25223,25225],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true}],\"packs\":[{\"id\":28813,\"name\":\"SMART Edition\",\"items\":[{\"id\":28814,\"name\":\"Forward Sun Lounge \",\"imageDescription\":\"Forward Sun Lounge \",\"images\":[{\"imageUrl\":\"/assets/demo/images/configurator-gallery/755-weekend-dtls-3679_forward-sun-lounge_f.jpg\"}],\"subitems\":[]},{\"id\":28815,\"name\":\"Curtains\",\"imageDescription\":\"Curtains\",\"images\":[{\"imageUrl\":\"/assets/demo/images/configurator-gallery/755-weekend-dtls-5128_curtains_f.jpg\"}],\"subitems\":[]},{\"id\":28816,\"name\":\"Bow Electrical Windlass\",\"imageDescription\":\"Bow Electrical Windlass\",\"images\":[{\"imageUrl\":\"/assets/demo/images/configurator-gallery/bow-electrical-windlass_755wk_composition.jpg\"}],\"subitems\":[]},{\"id\":28817,\"name\":\"Roof Hatch\",\"imageDescription\":\"Roof Hatch\",\"images\":[{\"imageUrl\":\"/assets/demo/images/configurator-gallery/755-weekend-dtls-4615_deck-hatch_f.jpg\"}],\"subitems\":[]},{\"id\":28818,\"name\":\"Refrigerator\",\"imageDescription\":\"Refrigerator\",\"images\":[{\"imageUrl\":\"/assets/demo/images/configurator-gallery/755-weekend-dtls-4668_refrigerator_f.jpg\"}],\"subitems\":[]},{\"id\":28819,\"name\":\"Aft Seat Extension L-Lounge\",\"imageDescription\":\"Aft Seat Extension L-Lounge\",\"images\":[{\"imageUrl\":\"/assets/demo/images/configurator-gallery/755-weekend-dtls-4223_aftseat-ext-l-lounge_f.jpg\"}],\"subitems\":[]},{\"id\":28820,\"name\":\"Enclosed Sea Toilet\",\"imageDescription\":\"Enclosed Sea Toilet\",\"images\":[{\"imageUrl\":\"/assets/demo/images/configurator-gallery/755-weekend-dtls-4705_enclosed-sea-toilet_f.jpg\"}],\"subitems\":[]},{\"id\":28821,\"name\":\"Electric Trim Tabs\",\"imageDescription\":\"Electric Trim Tabs\",\"images\":[{\"imageUrl\":\"/assets/demo/images/configurator-gallery/img_3204_elec-trim-tabs_f.jpg\"}],\"subitems\":[]},{\"id\":28822,\"name\":\"Aft Seat with Folding Backrest\",\"imageDescription\":\"Aft Seat with Folding Backrest\",\"images\":[{\"imageUrl\":\"/assets/demo/images/configurator-gallery/aft-seat-fol-backrest_755wk_composition.jpg\"}],\"subitems\":[]},{\"id\":28824,\"name\":\"Shore Power\",\"imageDescription\":\"Shore Power\",\"images\":[{\"imageUrl\":\"/assets/demo/images/configurator-gallery/755-weekend-dtls-5151-shore-power_f.jpg\"}],\"subitems\":[]},{\"id\":28825,\"name\":\"Cockpit Table\",\"imageDescription\":\"Cockpit Table\",\"images\":[{\"imageUrl\":\"/assets/demo/images/configurator-gallery/755-weekend-dtls-3820_cockpit-table_f.jpg\"}],\"subitems\":[]},{\"id\":28826,\"name\":\"Cockpit Sun Lounge\",\"imageDescription\":\"Cockpit Sun Lounge\",\"images\":[{\"imageUrl\":\"/assets/demo/images/configurator-gallery/755-weekend-dtls-3983_cockpit-sunlounge_f.jpg\"}],\"subitems\":[]},{\"id\":28827,\"name\":\"Stove LPG\",\"imageDescription\":\"Stove LPG\",\"images\":[{\"imageUrl\":\"/assets/demo/images/configurator-gallery/755-weekend-dtls-4652_stove-lpg_f.jpg\"}],\"subitems\":[]},{\"id\":45050,\"name\":\"Cockpit Lighting \",\"imageDescription\":\"Cockpit Lighting \",\"images\":[{\"imageUrl\":\"/assets/demo/images/configurator-gallery/activ-855-ldetails-4773_cockpit-flood-light_f.jpg\"}],\"subitems\":[]}],\"price\":11830.00,\"incompatiblePacks\":[27361,27389],\"incompatibilityDescription\":\"\\\"Cockpit Comfort Pack \\\", \\\"Galley Pack\\\"\",\"incompatibleOptions\":[],\"incompatibleOptionsDescription\":\"\",\"requiredOptions\":[],\"requiredOptionsDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":27361,\"name\":\"Cockpit Comfort Pack \",\"items\":[{\"id\":27363,\"name\":\"Cockpit Table\",\"imageDescription\":\"Cockpit Table\",\"images\":[{\"imageUrl\":\"/media/382879/755-weekend-dtls-3820_cockpit-table_f.jpg\"}],\"subitems\":[]},{\"id\":27364,\"name\":\"Cockpit Sun Lounge\",\"imageDescription\":\"Cockpit Sun Lounge\",\"images\":[{\"imageUrl\":\"/media/382880/755-weekend-dtls-3983_cockpit-sunlounge_f.jpg\"}],\"subitems\":[]},{\"id\":27367,\"name\":\"Aft Seat Extension L-Lounge\",\"imageDescription\":\"Aft Seat Extension L-Lounge\",\"images\":[{\"imageUrl\":\"/media/382885/755-weekend-dtls-4223_aftseat-ext-l-lounge_f.jpg\"}],\"subitems\":[]}],\"price\":1230.00,\"incompatiblePacks\":[28813],\"incompatibilityDescription\":\"\\\"SMART Edition\\\"\",\"incompatibleOptions\":[],\"incompatibleOptionsDescription\":\"\",\"requiredOptions\":[],\"requiredOptionsDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":27389,\"name\":\"Galley Pack\",\"items\":[{\"id\":27390,\"name\":\"Refrigerator\",\"imageDescription\":\"Refrigerator\",\"images\":[{\"imageUrl\":\"/media/382887/755-weekend-dtls-4668_refrigerator_f.jpg\"}],\"subitems\":[]},{\"id\":27391,\"name\":\"Stove LPG\",\"imageDescription\":\"Stove LPG\",\"images\":[{\"imageUrl\":\"/media/382888/755-weekend-dtls-4652_stove-lpg_f.jpg\"}],\"subitems\":[]}],\"price\":1660.00,\"incompatiblePacks\":[28813],\"incompatibilityDescription\":\"\\\"SMART Edition\\\"\",\"incompatibleOptions\":[],\"incompatibleOptionsDescription\":\"\",\"requiredOptions\":[],\"requiredOptionsDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":27385,\"name\":\"Electronics Pack\",\"items\":[{\"id\":27386,\"name\":\"Simrad GPS/Chart Plotter 9\\\" NSS Evo 3 with HDI Transducer\",\"imageDescription\":\"Simrad GPS/Chart Plotter 9\\\" NSS Evo 3 with HDI Transducer\",\"images\":[{\"imageUrl\":\"/media/382884/755-weekend-dtls-4518_gps_f.jpg\"}],\"subitems\":[]},{\"id\":27388,\"name\":\"Stereo Fusion with 6 Speakers\",\"imageDescription\":\"Stereo Fusion with 6 Speakers\",\"images\":[{\"imageUrl\":\"/media/382881/755-weekend-dtls-4523_stereo_f.jpg\"}],\"subitems\":[]},{\"id\":38397,\"name\":\"VesselView Link Digital Interface\",\"imageDescription\":\"VesselView Link Digital Interface\",\"images\":[],\"subitems\":[]}],\"price\":3870.00,\"incompatiblePacks\":[],\"incompatibilityDescription\":\"\",\"incompatibleOptions\":[],\"incompatibleOptionsDescription\":\"\",\"requiredOptions\":[],\"requiredOptionsDescription\":\"\",\"discount\":null,\"available\":true}]},\"recommendedConfigurations\":[{\"id\":34945,\"badgeImageUrl\":\"/media/387118/icon_popular.png\",\"defaultEngineBadge\":\"Most popular (outboard)\",\"name\":\"Most popular (outboard)\",\"description\":\"Contains the options and engine that most people in Belgium have chosen\",\"engine\":45160,\"packs\":[28813],\"optionalEquipment\":[31778]},{\"id\":32902,\"badgeImageUrl\":\"/media/387118/icon_popular.png\",\"defaultEngineBadge\":\"Most popular (inboard)\",\"name\":\"Most popular (inboard)\",\"description\":\"Contains the options and engine that most people in Belgium have chosen\",\"engine\":30894,\"packs\":[28813],\"optionalEquipment\":[31778]},{\"id\":32903,\"badgeImageUrl\":\"/media/387117/icon_sport.png\",\"defaultEngineBadge\":\"Sport configuration (outboard)\",\"name\":\"Sport configuration (outboard)\",\"description\":\"The perfect compromise between speed, performance and comfort\",\"engine\":30921,\"packs\":[28813,27385],\"optionalEquipment\":[33383,25215,25273,25227,25291,31778,25223,25212]},{\"id\":34946,\"badgeImageUrl\":\"/media/387117/icon_sport.png\",\"defaultEngineBadge\":\"Sport configuration (inboard)\",\"name\":\"Sport configuration (inboard)\",\"description\":\"The perfect compromise between speed, performance and comfort\",\"engine\":30895,\"packs\":[28813,27385],\"optionalEquipment\":[34838,25273,25227,25291,31778,25223,25212]},{\"id\":-1,\"badgeImageUrl\":\"/media/387116/icon_scratch.png\",\"defaultEngineBadge\":\"Recommended\",\"name\":\"Start from scratch\",\"description\":\"Create your own configuration without any preselection\",\"engine\":45160,\"packs\":[],\"optionalEquipment\":[]}],\"dictionary\":{\"close\":\"Close\",\"gotoNextStep\":\"Go to next step: \",\"step\":\"Step\",\"confirmationStep\":\"Confirmation\",\"headerAccessoriesTitle\":\"Accessories\",\"headerEngineTitle\":\"Engine\",\"headerOptionsTitle\":\"Options\",\"headerOverviewTitle\":\"Overview\",\"headerPacksTitle\":\"Packs\",\"headerReturn2Overview\":\"Return to model overview\",\"headerStartTitle\":\"Standard equipment\",\"headerTitle\":\"Configurator\",\"autofillFor\":\"Autofill for:\",\"popupTitle\":\"Boat builder loaded \",\"start\":\"Start\",\"chooseEngineBtn\":\"Choose engine\",\"stdEquipmentTitle\":\"Standard equipment\",\"choosePacksBtn\":\"Choose packs\",\"engineSelectionTitle\":\"Engine\",\"engineSingleTitle\":\"Single outboard engine\",\"engineSingleDescription\":\"Mercury single outboard-engine set up will deliver performance combined with excellent fuel economy\",\"engineDualTitle\":\"Twin outboard engine\",\"engineDualDescription\":\"Mercury dual outboard-engine set-up for enhanced maneuverability and peace of mind\",\"engineFourstrokeDescription\":\"FourStroke description\",\"engineVeradoDescription\":\"Verado description\",\"engineInboardDescription\":\"Mercury Mercruiser Sterndrives and Inboards and Mercury Diesel engines all feature proven technology, rock-solid reliability, and an unbeatable combination of performance and fuel economy\",\"engineInboardTitle\":\"Mercury and Mercruiser Inboard engines\",\"engineOutboardDescription\":\"Backed by decades of innovation and leadership, Mercury outboards are built to go the distance, delivering legendary performance driven by technology. Durable. Reliable. Powerful. That is what you can expect with our Mercury outboards\",\"engineOutboardTitle\":\"Mercury outboard engines\",\"engineShowDetails\":\"Show details\",\"engineHideDetails\":\"Hide details\",\"orChooseOtherEngine\":\"Or choose\",\"chooseOptionsBtn\":\"Choose options\",\"comparePacks\":\"Compare packs\",\"comparePacksClose\":\"Close\",\"notCompatible\":\"(Incompatible with {0})\",\"notAvailablePack\":\"(Price currently not available)\",\"choosePacksTitle\":\"Packs\",\"openPackContent\":\"Show pack content\",\"hidePackContent\":\"Hide pack content\",\"notCompatibleOptions\":\"(Option is not compatible with {0})\",\"requiredForPacks\":\"(Option required as part of {0})\",\"packIncompatibleOptions\":\"(Incompatible options: {0})\",\"packRequiredOptions\":\"(Required options: {0})\",\"chooseAccessoriesBtn\":\"Finish\",\"chooseOptionsTitle\":\"Options\",\"partOf\":\"(Part of {0})\",\"notAvailableOption\":\"(Price currently not available)\",\"requiredRelatedOptions\":\"Requires related option: {0}\",\"isRequiredForOptions\":\"Required if one of the following options is selected: {0}\",\"freeOfCharge\":\"Free of charge\",\"overviewTitle\":\"Overview\",\"personalInformation\":\"Where do we need to send your configuration?\",\"titleMr\":\"Mr\",\"titleMrs\":\"Mrs\",\"firstName\":\"First name\",\"firstNamePlaceholder\":\"First name\",\"lastName\":\"Last name\",\"lastNamePlaceholder\":\"Last name\",\"email\":\"Email\",\"emailPlaceholder\":\"Email\",\"phonePrefix\":\"Prefix\",\"phonePrefixPlaceholder\":\"+ xx\",\"phone\":\"Phone\",\"phonePlaceholder\":\"Phone\",\"streetAddress\":\"Street\",\"streetAddressPlaceholder\":\"Street\",\"streetAddressNr\":\"Nr\",\"streetAddressNrPlaceholder\":\"Nr\",\"postalCode\":\"Zip\",\"postalCodePlaceholder\":\"Zip\",\"city\":\"City\",\"cityPlaceholder\":\"City\",\"country\":\"Country\",\"chooseACountry\":\"Choose country\",\"send2me\":\"Send this configuration to me\",\"send2Friend\":\"Send this configuration to a friend\",\"send2FriendEmailPlaceholder\":\"Friend's email address\",\"request4Quote\":\"Request a quote for this configuration & select a dealer\",\"chooseDealer\":\"Choose dealer\",\"findDealerOnMap\":\"Find dealer on map\",\"optin\":\"I would like to receive Quicksilver news and promotional information\",\"requiredFields\":\"Required fields\",\"saveQuote\":\"Receive configuration\",\"subtotal\":\"\",\"showDetails\":\"Show all details\",\"hideDetails\":\"Hide all details\",\"boatAndEngine\":\"Boat and engine\",\"boatWithStandardEquipment\":\"Boat with standard equipment\",\"editEngine\":\"Edit engine\",\"editPacks\":\"Edit packs\",\"editOptions\":\"Edit options\",\"clientDetails\":\"Client details\",\"freight\":\"Freight\",\"selectedOptions\":\"Selected options\",\"total\":\"Total\",\"loadingMap\":\"Loading map...\",\"selectDealer\":\"Select dealer\",\"selectedPacks\":\"Selected packs\",\"thankYouHeadline\":\"Thank you for your interest\",\"sentEmailConfirmation\":\"Thank you, we have sent your configuration to\",\"sentTwoEmailConfirmation\":\"Thank you, we’ve sent your configuration to {0} and to {1}.\",\"sentToDealerConfirmation\":\"You will receive a quote by the dealer of your choice shortly.\",\"printQuote\":\"Print configuration\",\"modelsOverview\":\"Return to model overview\",\"modelsSelector\":\"Return to all models\",\"discoverYourConfiguration\":\"Discover your dream boat on our coming boat shows\",\"viewAllEvents\":\"See all events\",\"visitYourLocalDealers\":\"Or visit one of our official dealers\",\"moreInfoEvent\":\"More info\",\"dealerSite\":\"Visit dealer website\",\"routeDescription\":\"Show route description\",\"setCourseWith\":\"Set course with\",\"chooseThisSetting\":\"Choose this configuration\",\"return2Configurator\":\"Return to configurator\",\"selectConfigurationFirstHeader\":\"Select the configuration type of your choice\",\"selectConfigurationFirstMessage\":\"You can choose between sport configuration, most popular or start your configuration from scratch.\",\"selectEngineFirstHeader\":\"Please select an engine\",\"selectEngineFirstMessage\":\"To continue with your configuration you need to select an engine\",\"boatWithEngine\":\"Boat with engine\",\"startingFrom\":\"Starting from\",\"moreOnMercurySite\":\"More engine info on the Mercury website\",\"hp\":\"hp\",\"priceExVat\":\"Price without VAT\",\"vatInfo\":\"VAT (21%)\",\"priceIncVat\":\"Price including VAT\",\"specificConstraints\":\"<p>Batteries, handling, preparation and launching not included.</p>\"},\"countries\":[{\"id\":0,\"code\":\"AL\",\"name\":\"ALBANIA\"},{\"id\":0,\"code\":\"DZ\",\"name\":\"ALGERIA\"},{\"id\":0,\"code\":\"AO\",\"name\":\"ANGOLA\"},{\"id\":0,\"code\":\"AU\",\"name\":\"AUSTRALIA\"},{\"id\":0,\"code\":\"AT\",\"name\":\"AUSTRIA\"},{\"id\":0,\"code\":\"AZ\",\"name\":\"AZERBAIJAN\"},{\"id\":0,\"code\":\"BY\",\"name\":\"BELARUS\"},{\"id\":0,\"code\":\"BE\",\"name\":\"BELGIUM\"},{\"id\":0,\"code\":\"BG\",\"name\":\"BULGARIA\"},{\"id\":0,\"code\":\"CL\",\"name\":\"CHILE\"},{\"id\":0,\"code\":\"CN\",\"name\":\"CHINA\"},{\"id\":0,\"code\":\"CO\",\"name\":\"COLOMBIA\"},{\"id\":0,\"code\":\"CD\",\"name\":\"CONGO,DEM REP OF THE\"},{\"id\":0,\"code\":\"HR\",\"name\":\"CROATIA\"},{\"id\":0,\"code\":\"CY\",\"name\":\"CYPRUS\"},{\"id\":0,\"code\":\"CZ\",\"name\":\"CZECH REPUBLIC\"},{\"id\":0,\"code\":\"DK\",\"name\":\"DENMARK\"},{\"id\":0,\"code\":\"EE\",\"name\":\"ESTONIA\"},{\"id\":0,\"code\":\"FI\",\"name\":\"FINLAND\"},{\"id\":0,\"code\":\"FR\",\"name\":\"FRANCE\"},{\"id\":0,\"code\":\"PF\",\"name\":\"FRENCH POLYNESIA\"},{\"id\":0,\"code\":\"GE\",\"name\":\"GEORGIA\"},{\"id\":0,\"code\":\"DE\",\"name\":\"GERMANY\"},{\"id\":0,\"code\":\"GR\",\"name\":\"GREECE\"},{\"id\":0,\"code\":\"GL\",\"name\":\"GREENLAND\"},{\"id\":0,\"code\":\"HK\",\"name\":\"HONG KONG\"},{\"id\":0,\"code\":\"HU\",\"name\":\"HUNGARY\"},{\"id\":0,\"code\":\"IS\",\"name\":\"ICELAND\"},{\"id\":0,\"code\":\"IN\",\"name\":\"INDIA\"},{\"id\":0,\"code\":\"IL\",\"name\":\"ISRAEL\"},{\"id\":0,\"code\":\"IT\",\"name\":\"ITALY\"},{\"id\":0,\"code\":\"CI\",\"name\":\"IVORY COAST\"},{\"id\":0,\"code\":\"JP\",\"name\":\"JAPAN\"},{\"id\":0,\"code\":\"KZ\",\"name\":\"KAZAKHSTAN\"},{\"id\":0,\"code\":\"KR\",\"name\":\"KOREA, REPUBLIC OF\"},{\"id\":0,\"code\":\"KW\",\"name\":\"KUWAIT\"},{\"id\":0,\"code\":\"LV\",\"name\":\"LATVIA\"},{\"id\":0,\"code\":\"LB\",\"name\":\"LEBANON\"},{\"id\":0,\"code\":\"LT\",\"name\":\"LITHUANIA\"},{\"id\":0,\"code\":\"MK\",\"name\":\"MACEDONIA\"},{\"id\":0,\"code\":\"MV\",\"name\":\"MALDIVES\"},{\"id\":0,\"code\":\"MT\",\"name\":\"MALTA\"},{\"id\":0,\"code\":\"MQ\",\"name\":\"MARTINIQUE\"},{\"id\":0,\"code\":\"MU\",\"name\":\"MAURITIUS\"},{\"id\":0,\"code\":\"ME\",\"name\":\"MONTENEGRO\"},{\"id\":0,\"code\":\"MA\",\"name\":\"MOROCCO\"},{\"id\":0,\"code\":\"NL\",\"name\":\"NETHERLANDS\"},{\"id\":0,\"code\":\"NC\",\"name\":\"NEW CALEDONIA\"},{\"id\":0,\"code\":\"NO\",\"name\":\"NORWAY\"},{\"id\":0,\"code\":\"PL\",\"name\":\"POLAND\"},{\"id\":0,\"code\":\"PT\",\"name\":\"PORTUGAL\"},{\"id\":0,\"code\":\"QA\",\"name\":\"QATAR\"},{\"id\":0,\"code\":\"RE\",\"name\":\"REUNION\"},{\"id\":0,\"code\":\"RO\",\"name\":\"ROMANIA\"},{\"id\":0,\"code\":\"RU\",\"name\":\"RUSSIAN FEDERATION\"},{\"id\":0,\"code\":\"SA\",\"name\":\"SAUDI ARABIA\"},{\"id\":0,\"code\":\"XS\",\"name\":\"SERBIE\"},{\"id\":0,\"code\":\"SG\",\"name\":\"SINGAPORE\"},{\"id\":0,\"code\":\"SK\",\"name\":\"SLOVAKIA\"},{\"id\":0,\"code\":\"SI\",\"name\":\"SLOVENIA\"},{\"id\":0,\"code\":\"ZA\",\"name\":\"SOUTH AFRICA\"},{\"id\":0,\"code\":\"ES\",\"name\":\"SPAIN\"},{\"id\":0,\"code\":\"SE\",\"name\":\"SWEDEN\"},{\"id\":0,\"code\":\"CH\",\"name\":\"SWITZERLAND\"},{\"id\":0,\"code\":\"TW\",\"name\":\"TAIWAN\"},{\"id\":0,\"code\":\"TH\",\"name\":\"THAILAND\"},{\"id\":0,\"code\":\"TR\",\"name\":\"TURKEY\"},{\"id\":0,\"code\":\"UA\",\"name\":\"UKRAINE\"},{\"id\":0,\"code\":\"GB\",\"name\":\"UNITED KINGDOM\"},{\"id\":0,\"code\":\"VN\",\"name\":\"VIET NAM\"}],\"dealers\":[{\"customerNumber\":11125,\"dropdownName\":\"MONS NAUTIC S.A. - FRAMERIES\",\"name\":\"MONS NAUTIC S.A.\",\"address1\":\"\",\"address2\":\"Avenue du Parc Scientifique 8\",\"postalCode\":\"7080\",\"city\":\"Frameries\",\"phone\":\"+32 65674073\",\"latitutde\":50.419791,\"longitude\":3.90515,\"siteUrl\":null},{\"customerNumber\":11685,\"dropdownName\":\"NORTH SEA BOATING - BLANKENBERGE\",\"name\":\"NORTH SEA BOATING\",\"address1\":\"\",\"address2\":\"Wenduinse Steenweg 12\",\"postalCode\":\"8370\",\"city\":\"Blankenberge\",\"phone\":\"+32 50412006\",\"latitutde\":51.31125,\"longitude\":3.11430833,\"siteUrl\":null},{\"customerNumber\":11740,\"dropdownName\":\"POWERBOATSCENTER N.V. - IZEGEM\",\"name\":\"POWERBOATSCENTER N.V.\",\"address1\":\"\",\"address2\":\"Noordkaai 30\",\"postalCode\":\"8870\",\"city\":\"Izegem\",\"phone\":\"+32 51308112\",\"latitutde\":50.93101322,\"longitude\":3.184833,\"siteUrl\":null}],\"engineDecisionPath\":{\"engineDecisionBasedOnInboardVsOutboard\":true,\"engineDecisionBasedOnSingleVsDual\":false,\"descriptions\":[{\"identifier\":\"inboard\",\"description\":\"Mercury Mercruiser Sterndrives and Inboards and Mercury Diesel engines all feature proven technology, rock-solid reliability, and an unbeatable combination of performance and fuel economy\"},{\"identifier\":\"outboard\",\"description\":\"Backed by decades of innovation and leadership, Mercury outboards are built to go the distance, delivering legendary performance driven by technology. Durable. Reliable. Powerful. That is what you can expect with our Mercury outboards\"}],\"startingPriceInfo\":[{\"identifier\":\"inboard\",\"startPrice\":67960.00},{\"identifier\":\"outboard\",\"startPrice\":59190.00}],\"hpRanges\":[{\"identifier\":\"inboard\",\"minimum\":170,\"maximum\":250},{\"identifier\":\"outboard\",\"minimum\":175,\"maximum\":300}]}},getConfiguratorWithImages:{\"title\":\"\",\"text\":\"<p><span>Check the unique features you can use to adapt your boat to your wishes. Not sure what to choose? Then let us make a suggestion, based on either the most popular options or our expert recommendations.</span></p>\",\"image\":\"/media/383308/755_op_1_running-332.jpg?crop=0.13906172839506173,0,0.14982716049382716,0&cropmode=percentage&width=800&height=600&rnd=131218642810000000\",\"modelUrl\":\"/be/en/products/activ-755-open/\",\"modelsUrl\":\"/be/en/product-selector/\",\"priceSetting\":{\"showPrices\":true,\"thousandSeparator\":\".\",\"decimalSeparator\":\",\",\"currency\":\"€\"},\"vat\":21.00,\"steps\":[{\"stepNumber\":1,\"mastheadTitle\":\"Step 1<br/>Standard equipment\",\"title\":\"Standard equipment\",\"text\":\"<p class=\\\"wide\\\">All features and equipment listed below are already included in your boat. Browse the standard equipment or start tweaking your boat by clicking ‘Choose engine’ at the bottom of the page.</p>\",\"sidebarText\":\"\",\"slug\":\"standard-equipment\",\"button\":\"Choose engine\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":2,\"mastheadTitle\":\"Step 2<br/>Engine\",\"title\":\"Engine\",\"text\":\"<p class=\\\"wide\\\"><span>The engines listed in this section are all compatible with the boat you have selected. By default, we suggest an engine that suits most boaters’ needs but you can tailor the engine to your preferences. If you would like to know more about the different engines, you can find information on the </span><a href=\\\"https://www.mercurymarine.com/nl/nl/\\\" target=\\\"_blank\\\" class=\\\"link--special\\\">Mercury website</a><span>.</span></p>\",\"sidebarText\":\"\",\"slug\":\"engine\",\"button\":\"Choose packs\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":3,\"mastheadTitle\":\"Step 3<br/>Packs\",\"title\":\"Packs\",\"text\":\"<p class=\\\"wide\\\">Packs offer several complementary options at a discount rate. The SMART Edition consists of the most popular options overall. A SMART Edition configuration is sold most often, which has the added advantage of being available at your dealer either right away or with a short delivery time. Other packs add comfort for specific boat areas (like the cockpit or cabin) and activities (such as water sports or cruising).</p>\",\"sidebarText\":\"\",\"slug\":\"packs\",\"button\":\"Choose options\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":4,\"mastheadTitle\":\"Step 4<br/>Options\",\"title\":\"Options\",\"text\":\"<p class=\\\"wide\\\">Complete the personalisation process by adding exactly those options that you will enjoy the most on the water. We’ve made it impossible to make any mistake: you can’t tick an option that’s incompatible with another one you’ve already selected. Likewise, you can’t choose options that are already included in a pack you’ve added.</p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finish\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Step 5<br/>Overview\",\"title\":\"Overview\",\"text\":\"<p class=\\\"wide\\\"><span>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}}}}},{\"stepNumber\":2,\"mastheadTitle\":\"Step 2<br/>Engine\",\"title\":\"Engine\",\"text\":\"<p class=\\\"wide\\\"><span>The engines listed in this section are all compatible with the boat you have selected. By default, we suggest an engine that suits most boaters’ needs but you can tailor the engine to your preferences. If you would like to know more about the different engines, you can find information on the </span><a href=\\\"https://www.mercurymarine.com/nl/nl/\\\" target=\\\"_blank\\\" class=\\\"link--special\\\">Mercury website</a><span>.</span></p>\",\"sidebarText\":\"\",\"slug\":\"engine\",\"button\":\"Choose packs\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":3,\"mastheadTitle\":\"Step 3<br/>Packs\",\"title\":\"Packs\",\"text\":\"<p class=\\\"wide\\\">Packs offer several complementary options at a discount rate. The SMART Edition consists of the most popular options overall. A SMART Edition configuration is sold most often, which has the added advantage of being available at your dealer either right away or with a short delivery time. Other packs add comfort for specific boat areas (like the cockpit or cabin) and activities (such as water sports or cruising).</p>\",\"sidebarText\":\"\",\"slug\":\"packs\",\"button\":\"Choose options\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":4,\"mastheadTitle\":\"Step 4<br/>Options\",\"title\":\"Options\",\"text\":\"<p class=\\\"wide\\\">Complete the personalisation process by adding exactly those options that you will enjoy the most on the water. We’ve made it impossible to make any mistake: you can’t tick an option that’s incompatible with another one you’ve already selected. Likewise, you can’t choose options that are already included in a pack you’ve added.</p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finish\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Step 5<br/>Overview\",\"title\":\"Overview\",\"text\":\"<p class=\\\"wide\\\"><span>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}}}},{\"stepNumber\":3,\"mastheadTitle\":\"Step 3<br/>Packs\",\"title\":\"Packs\",\"text\":\"<p class=\\\"wide\\\">Packs offer several complementary options at a discount rate. The SMART Edition consists of the most popular options overall. A SMART Edition configuration is sold most often, which has the added advantage of being available at your dealer either right away or with a short delivery time. Other packs add comfort for specific boat areas (like the cockpit or cabin) and activities (such as water sports or cruising).</p>\",\"sidebarText\":\"\",\"slug\":\"packs\",\"button\":\"Choose options\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":4,\"mastheadTitle\":\"Step 4<br/>Options\",\"title\":\"Options\",\"text\":\"<p class=\\\"wide\\\">Complete the personalisation process by adding exactly those options that you will enjoy the most on the water. We’ve made it impossible to make any mistake: you can’t tick an option that’s incompatible with another one you’ve already selected. Likewise, you can’t choose options that are already included in a pack you’ve added.</p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finish\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Step 5<br/>Overview\",\"title\":\"Overview\",\"text\":\"<p class=\\\"wide\\\"><span>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}}},{\"stepNumber\":4,\"mastheadTitle\":\"Step 4<br/>Options\",\"title\":\"Options\",\"text\":\"<p class=\\\"wide\\\">Complete the personalisation process by adding exactly those options that you will enjoy the most on the water. We’ve made it impossible to make any mistake: you can’t tick an option that’s incompatible with another one you’ve already selected. Likewise, you can’t choose options that are already included in a pack you’ve added.</p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finish\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Step 5<br/>Overview\",\"title\":\"Overview\",\"text\":\"<p class=\\\"wide\\\"><span>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}},{\"stepNumber\":5,\"mastheadTitle\":\"Step 5<br/>Overview\",\"title\":\"Overview\",\"text\":\"<p class=\\\"wide\\\"><span>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}],\"boat\":{\"id\":23387,\"name\":\"Activ 755 Open\",\"image\":\"/media/381008/activ_755_open_v2.jpg?mode=pad&width=400&rnd=131000062950000000\",\"freight\":{\"price\":1860.00,\"discount\":{\"percent\":0.0,\"amount\":0.0}},\"standardEquipment\":[{\"name\":\"Hull & Deck\",\"items\":[{\"id\":23390,\"name\":\"Bow Roller\",\"image\":\"\",\"image2\":\"/media/380312/755-sundeck-dtls-077_bow-roller_f.jpg\"},{\"id\":23391,\"name\":\"Swim Ladder\",\"image\":\"/media/380319/swim-ladder_755op_composition_f.jpg\"},{\"id\":23392,\"name\":\"Navigation lights\",\"image\":\"/media/380315/navigation-lights_755op_composition_f.jpg\"},{\"id\":23393,\"name\":\"Forward line/anchor Locker\",\"image\":\"/media/380308/755-open-dtls-706_forward-line-anchor-locker_f.jpg\"},{\"id\":23394,\"name\":\"Self Bailing Cockpit\",\"image\":\"/media/380318/self-bailing-cockpit_755op_composition_f.jpg\"},{\"id\":23448,\"name\":\"Rod holders\",\"image\":\"/media/380305/755-open-dtls-421_rod-holders_f.jpg\"},{\"id\":23449,\"name\":\"LED Courtesy lights\",\"image\":\"/media/381787/all-qs_led-lighting_f.jpg\"},{\"id\":25298,\"name\":\"Swim Platform\",\"image\":\"/media/381107/swim-platform_755op_composition_v2_f.jpg\"}]},{\"name\":\"Bow\",\"items\":[{\"id\":23451,\"name\":\"Bow cushion\",\"image\":\"/media/380307/755-open-dtls-804_bow-cushions_f.jpg\"}]},{\"name\":\"Helm\",\"items\":[{\"id\":23398,\"name\":\"Smartcraft Speedometer/Tachometer\",\"image\":\"/media/380314/755-sundeck-dtls-877_smartcraft-speedometer-tachometer_f.jpg\"},{\"id\":23399,\"name\":\"12v electrical socket\",\"image\":\"/media/380320/12v-electrical-socket_755op_composition_f.jpg\"},{\"id\":28837,\"name\":\"Adjustable Steering Position\",\"image\":\"/media/380785/755-open-dtls-763_adjustable-steering-position_f.jpg\"}]},{\"name\":\"Cockpit\",\"items\":[{\"id\":23401,\"name\":\"Pilot Seat with Flip Bolster and Swivel\",\"image\":\"/media/380317/pilot-seat-with-flip-bolster-and-swivel_755op_composition_f.jpg\"},{\"id\":23402,\"name\":\"Co-pilot Seat\",\"image\":\"/media/380316/co-pilot-seat_755op_composition_f.jpg\"},{\"id\":23452,\"name\":\"Aft Bench Seat\",\"image\":\"/media/380321/755-open-dtls-318_aft-bench-seat_f.jpg\"},{\"id\":23404,\"name\":\"Cockpit Table\",\"image\":\"/media/380306/755-open-dtls-434_plastic-table-standard_f.jpg\"},{\"id\":25302,\"name\":\"Cockpit Cushions\",\"image\":\"/media/380309/755-open-dtls-511_cockpit-cushions_f.jpg\"}]},{\"name\":\"Cabin\",\"items\":[{\"id\":23406,\"name\":\"1 berth\",\"image\":\"/media/380310/755-open-dtls-931_1-berth_f.jpg\"},{\"id\":23408,\"name\":\"Cabin lights\",\"image\":\"/media/380313/755-sundeck-dtls-801_cabin-lights_f.jpg\"},{\"id\":23409,\"name\":\"Opening Portlights\",\"image\":\"/media/381833/utt_qs_all-models_opening-portlights-in-cabin_f.jpg\"}]},{\"name\":\"Equipment\",\"items\":[{\"id\":23412,\"name\":\"Single Battery System\",\"image\":\"/media/381996/active-595-details-2013-_re_9483_755op_sgl_bat_sys_f.jpg\"},{\"id\":23413,\"name\":\"Hydraulic steering\",\"image\":\"/media/381603/755-open-dtls-758_f.jpg\"},{\"id\":23414,\"name\":\"Electric Bilge Pump\",\"image\":\"\"},{\"id\":23453,\"name\":\"OB Pre-Rigging\",\"image\":\"\"},{\"id\":38643,\"name\":\"CO Monitor\",\"image\":\"/media/386408/img_4327_co_monitor_f.jpg\"},{\"id\":41718,\"name\":\"Fire Extinguisher\",\"image\":\"\"}]}],\"engines\":[{\"id\":30902,\"name\":\"FourStroke 150 EFI\",\"image\":\"/media/381991/mercury_fourstroke150efi_0_medium.jpg?mode=crop&width=47&height=70&rnd=131056384440000000\",\"price\":40930.00,\"displayPrice\":\"\",\"inboard\":false,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":true,\"veradoEngine\":false,\"url\":\"https://www.mercurymarine.com/en/us/?set-country=us\"},{\"id\":30917,\"name\":\"Verado 175\",\"image\":\"/media/381957/mercury_verado175_0_medium.jpg?mode=crop&width=47&height=70&rnd=131056384400000000\",\"price\":42420.00,\"displayPrice\":\"+1490.00\",\"inboard\":false,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/nl/nl/\"},{\"id\":30918,\"name\":\"Verado 200\",\"image\":\"/media/381958/mercury_verado200_0_medium.jpg?mode=crop&width=47&height=70&rnd=131056384410000000\",\"price\":43640.00,\"displayPrice\":\"\",\"inboard\":false,\"dual\":false,\"isDefault\":true,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/nl/nl/\"},{\"id\":30919,\"name\":\"Verado 225\",\"image\":\"/media/381959/mercury_verado225_3_medium.jpg?mode=crop&width=47&height=70&rnd=131056384410000000\",\"price\":46790.00,\"displayPrice\":\"+5860.00\",\"inboard\":false,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/nl/nl/\"},{\"id\":30920,\"name\":\"Verado 250\",\"image\":\"/media/381962/mercury_verado250_2_medium.jpg?mode=crop&width=47&height=70&rnd=131056384410000000\",\"price\":48550.00,\"displayPrice\":\"+7620.00\",\"inboard\":false,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/nl/nl/\"},{\"id\":30921,\"name\":\"Verado 300\",\"image\":\"/media/381960/mercury_verado300_1_medium.jpg?mode=crop&width=47&height=70&rnd=131056384410000000\",\"price\":52760.00,\"displayPrice\":\"+11830.00\",\"inboard\":false,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/nl/nl/\"}],\"options\":[{\"id\":38199,\"name\":\"Flexi teak Flooring\",\"images\":[\"/media/380286/755-open-dtls-948_sea-toilet_f.jpg\",\"/media/380287/755-open-dtls-899_forward-sun-awning_f.jpg\",\"/media/380283/755-open-dtls-505_sink-with-tap_f.jpg\"],\"items\":[],\"price\":3590.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38200,\"name\":\"Swim Platform Extension with Flexi teak \",\"images\":[],\"items\":[],\"price\":800.00,\"incompatibilityDescription\":\"\\\"Swim Platform Extension with Motor Bracket\\\", \\\"Swim Platform Extension with Flexi teak & Motor Bracket\\\", \\\"Swim Platform Extension\\\", \\\"Motor Bracket\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[33389,38414,23420,23436],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":33389,\"name\":\"Swim Platform Extension with Motor Bracket\",\"images\":[\"/media/380293/port-flip-seat_755op_composition_f.jpg\",\"/media/380302/swim-platform-extension_755op_composition_f.jpg\",\"/media/380282/755-open-dtls-683_bow-table_f.jpg\",\"/media/380289/755-open-dtls-752_gps-chart-plotter-7_f.jpg\"],\"items\":[],\"price\":620.00,\"incompatibilityDescription\":\"\\\"Swim Platform Extension with Flexi teak \\\", \\\"Swim Platform Extension with Flexi teak & Motor Bracket\\\", \\\"Swim Platform Extension\\\", \\\"Motor Bracket\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38200,38414,23420,23436],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38414,\"name\":\"Swim Platform Extension with Flexi teak & Motor Bracket\",\"images\":[],\"items\":[],\"price\":800.00,\"incompatibilityDescription\":\"\\\"Swim Platform Extension with Flexi teak \\\", \\\"Swim Platform Extension with Motor Bracket\\\", \\\"Swim Platform Extension\\\", \\\"Motor Bracket\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38200,33389,23420,23436],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23420,\"name\":\"Swim Platform Extension\",\"images\":[\"/media/380302/swim-platform-extension_755op_composition_f.jpg\"],\"items\":[],\"price\":620.00,\"incompatibilityDescription\":\"\\\"Swim Platform Extension with Flexi teak \\\", \\\"Swim Platform Extension with Motor Bracket\\\", \\\"Swim Platform Extension with Flexi teak & Motor Bracket\\\", \\\"Motor Bracket\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38200,33389,38414,23436],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23421,\"name\":\"Hull Color\",\"images\":[\"/media/380292/755-sundeck-dtls-031_hull-color_f.jpg\",\"/media/380294/bimini_755op_composition_f.jpg\"],\"items\":[],\"price\":840.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23419,\"name\":\"Ski Pole\",\"images\":[\"/media/380299/ski-pole_755op_composition_f.jpg\"],\"items\":[],\"price\":500.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23455,\"name\":\"Convertible bow sun lounge & bow table\",\"images\":[\"/media/382432/convertible-bow-sun-lounge_table_755op_comp_f.jpg\"],\"items\":[\"Bow Table\",\"Convertible bow sun lounge\"],\"price\":1140.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[27073],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23424,\"name\":\"Stereo \",\"images\":[\"/media/380301/stereo_755op_composition_f.jpg\"],\"items\":[],\"price\":600.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[38266],\"isRequiredForOptionDescription\":\"\\\"DAB Stereo Kit with Antenna\\\"\",\"isPartOf\":[27073],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23425,\"name\":\"GPS/Chart plotter 7\\\"\",\"images\":[\"/media/380289/755-open-dtls-752_gps-chart-plotter-7_f.jpg\"],\"items\":[],\"price\":1300.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[41609],\"isRequiredForOptionDescription\":\"\\\"VesselView Link digital interface\\\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38266,\"name\":\"DAB Stereo Kit with Antenna\",\"images\":[],\"items\":[],\"price\":200.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[23424],\"requiredRelatedOptionsDescription\":\"\\\"Stereo \\\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38374,\"name\":\"Active Trim\",\"images\":[\"/media/380300/755-open-dtls-026_leaning-post_f.jpg\",\"/media/385850/29875-cruiser-detail-1350_active-trim_f.jpg\",\"/media/380296/convertible-bow-sun-lounge_755op_composition_f.jpg\"],\"items\":[],\"price\":600.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":41609,\"name\":\"VesselView Link digital interface\",\"images\":[],\"items\":[],\"price\":470.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[23425],\"requiredRelatedOptionsDescription\":\"\\\"GPS/Chart plotter 7\\\"\\\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23458,\"name\":\"Leaning post with galley\",\"images\":[\"/media/382433/leaning-post-with-galley_755op_compo_f.jpg\"],\"items\":[],\"price\":2160.00,\"incompatibilityDescription\":\"\\\"Leaning post without galley\\\", \\\"Cockpit Shower\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[23434],\"isRequiredForOptionDescription\":\"\\\"Grey water system (80L)\\\"\",\"isPartOf\":[],\"incompatibleItems\":[33064,23428],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":33064,\"name\":\"Leaning post without galley\",\"images\":[],\"items\":[],\"price\":250.00,\"incompatibilityDescription\":\"\\\"Leaning post with galley\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[23458],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23428,\"name\":\"Cockpit Shower\",\"images\":[\"/media/380303/755-open-dtls-279_cockpit-shower_f.jpg\"],\"items\":[],\"price\":550.00,\"incompatibilityDescription\":\"\\\"Leaning post with galley\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[23458],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23429,\"name\":\"Starboard & Port Flip Seat\",\"images\":[\"/media/382436/combined_stdb_port_flip_seat_755op_composition.jpg\"],\"items\":[],\"price\":1840.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23432,\"name\":\"Sea Toilet\",\"images\":[\"/media/380286/755-open-dtls-948_sea-toilet_f.jpg\"],\"items\":[],\"price\":1470.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23434,\"name\":\"Grey water system (80L)\",\"images\":[],\"items\":[],\"price\":320.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[23458],\"requiredRelatedOptionsDescription\":\"\\\"Leaning post with galley\\\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23435,\"name\":\"Bow Electrical Windlass\",\"images\":[\"/media/380295/bow-electrical-windlass_755op_composition_f.jpg\"],\"items\":[],\"price\":1760.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[27073],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23436,\"name\":\"Motor Bracket\",\"images\":[],\"items\":[],\"price\":240.00,\"incompatibilityDescription\":\"\\\"Swim Platform Extension with Flexi teak \\\", \\\"Swim Platform Extension with Motor Bracket\\\", \\\"Swim Platform Extension with Flexi teak & Motor Bracket\\\", \\\"Swim Platform Extension\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38200,33389,38414,23420],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23437,\"name\":\"Electric Trim Tabs\",\"images\":[\"/media/380284/755-open-dtls-746_electric-trim-tabs_f.jpg\"],\"items\":[],\"price\":1270.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38435,\"name\":\"Mooring kit\",\"images\":[],\"items\":[],\"price\":410.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23443,\"name\":\"Forward Sun Awning \",\"images\":[\"/media/380287/755-open-dtls-899_forward-sun-awning_f.jpg\"],\"items\":[],\"price\":730.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23444,\"name\":\"Bimini\",\"images\":[\"/media/381109/bimini_755op_composition_v2_f.jpg\"],\"items\":[],\"price\":1070.00,\"incompatibilityDescription\":\"\\\"Bimini with Enclosed Canvas\\\"\",\"partOfDescription\":\"\\\"SMART Edition\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[27073],\"incompatibleItems\":[23445],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":34653,\"name\":\"Bimini with Enclosed Canvas (with Smart Edition)\",\"images\":[],\"items\":[],\"price\":820.00,\"incompatibilityDescription\":\"\\\"Bimini with Enclosed Canvas\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[23445],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23445,\"name\":\"Bimini with Enclosed Canvas\",\"images\":[],\"items\":[],\"price\":1840.00,\"incompatibilityDescription\":\"\\\"Bimini with Enclosed Canvas (with Smart Edition)\\\", \\\"Bimini\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[34653,23444],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23447,\"name\":\"Transport Cover\",\"images\":[\"/media/384478/transport_cover_img_0641_f.jpg\"],\"items\":[],\"price\":1820.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23446,\"name\":\"Console & bolster seats cover\",\"images\":[\"/media/380291/755-sundeck-running-481_seat-cover_f.jpg\"],\"items\":[],\"price\":380.00,\"incompatibilityDescription\":\"\\\"Console & Leaning Post Cover\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[23459],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23459,\"name\":\"Console & Leaning Post Cover\",\"images\":[\"/media/380290/755-open-running-454_leaning-post-cover_f.jpg\"],\"items\":[],\"price\":550.00,\"incompatibilityDescription\":\"\\\"Console & bolster seats cover\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[23446],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true}],\"packs\":[{\"id\":27073,\"name\":\"SMART Edition\",\"image\":\"/media/380495/smart_pack_755op_composition_f.jpg\",\"items\":[{\"id\":27073,\"name\":\"SMART Edition\",\"image\":\"/media/380495/smart_pack_755op_composition_f.jpg\"},{\"id\":27074,\"name\":\"Bimini \",\"image\":\"/media/380323/bimini_755op_composition_f.jpg\"},{\"id\":27075,\"name\":\"Stereo Fusion with speakers\",\"image\":\"/media/380329/stereo_755op_composition_f.jpg\"},{\"id\":27077,\"name\":\"Bow Table\",\"image\":\"/media/380327/755-open-dtls-683_bow-table_f.jpg\"},{\"id\":27078,\"name\":\"Convertible bow sun lounge\",\"image\":\"/media/380324/convertible-bow-sun-lounge_755op_composition.jpg\"},{\"id\":27080,\"name\":\"Upgraded fibre-reinforced plastic cockpit table\",\"image\":'',\"image_intentionally_disabled_for_component_tests\":\"/media/380306/755-open-dtls-434_plastic-table-standard_f.jpg\"},{\"id\":27082,\"name\":\"Berth Cushions/Filler\",\"image\":\"/media/380330/755-open-dtls-928_berth-cushions-filler_f.jpg\"},{\"id\":27084,\"name\":\"Bow Electrical Windlass\",\"image\":\"/media/380325/bow-electrical-windlass_755op_composition_f.jpg\"},{\"id\":27085,\"name\":\"Motorwell Bridge\",\"image\":\"/media/380326/755-open-dtls-251_motorwell-bridge_f.jpg\"}],\"price\":4870.00,\"incompatiblePacks\":[],\"incompatibilityDescription\":\"\",\"incompatibleOptions\":[],\"incompatibleOptionsDescription\":\"\",\"requiredOptions\":[],\"requiredOptionsDescription\":\"\",\"discount\":null,\"available\":true}]},\"recommendedConfigurations\":[{\"id\":36244,\"badgeImageUrl\":\"\",\"name\":\"Most popular\",\"description\":\"\",\"engine\":30918,\"packs\":[27073],\"optionalEquipment\":[23419,23425,23428,23429]},{\"id\":32879,\"badgeImageUrl\":\"\",\"name\":\"Sport configuration\",\"description\":\"\",\"engine\":30921,\"packs\":[27073],\"optionalEquipment\":[23419,23420,23421,23425,23458,23429,23432,23437,23443,23447,23459]},{\"id\":-1,\"badgeImageUrl\":\"/media/387116/icon_scratch.png\",\"name\":\"Start from scratch\",\"description\":\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do.\",\"engine\":30918,\"packs\":[],\"optionalEquipment\":[]}],\"dictionary\":{\"close\":\"Close\",\"headerAccessoriesTitle\":\"Accessories\",\"headerEngineTitle\":\"Engine\",\"headerOptionsTitle\":\"Options\",\"headerOverviewTitle\":\"Overview\",\"headerPacksTitle\":\"Packs\",\"headerReturn2Overview\":\"Return to model overview\",\"headerStartTitle\":\"Standard equipment\",\"headerTitle\":\"Configurator\",\"autofillFor\":\"Autofill for:\",\"popupTitle\":\"Boat builder loaded \",\"start\":\"Start\",\"chooseEngineBtn\":\"Choose engine\",\"stdEquipmentTitle\":\"Standard equipment\",\"choosePacksBtn\":\"Choose packs\",\"engineSelectionTitle\":\"Engine\",\"chooseOptionsBtn\":\"Choose options\",\"comparePacks\":\"Compare packs\",\"comparePacksClose\":\"Close\",\"notCompatible\":\"(Incompatible with {0})\",\"notAvailablePack\":\"(Price currently not available)\",\"choosePacksTitle\":\"Packs\",\"openPackContent\":\"Show pack content\",\"hidePackContent\":\"Hide pack content\",\"notCompatibleOptions\":\"(Option is not compatible with {0})\",\"requiredForPacks\":\"(Option required as part of {0})\",\"packIncompatibleOptions\":\"(Incompatible options: {0})\",\"packRequiredOptions\":\"(Required options: {0})\",\"chooseAccessoriesBtn\":\"Finish\",\"chooseOptionsTitle\":\"Options\",\"partOf\":\"(Part of {0})\",\"notAvailableOption\":\"(Price currently not available)\",\"requiredRelatedOptions\":\"Requires related option: {0}\",\"isRequiredForOptions\":\"Required if one of the following options is selected: {0}\",\"freeOfCharge\":\"Free of charge\",\"overviewTitle\":\"Overview\",\"personalInformation\":\"Where do we need to send your configuration?\",\"titleMr\":\"Mr\",\"titleMrs\":\"Mrs\",\"firstName\":\"First name\",\"firstNamePlaceholder\":\"First name\",\"lastName\":\"Last name\",\"lastNamePlaceholder\":\"Last name\",\"email\":\"Email\",\"emailPlaceholder\":\"Email\",\"phonePrefix\":\"Prefix\",\"phonePrefixPlaceholder\":\"+ xx\",\"phone\":\"Phone\",\"phonePlaceholder\":\"Phone\",\"streetAddress\":\"Street\",\"streetAddressPlaceholder\":\"Street\",\"streetAddressNr\":\"Nr\",\"streetAddressNrPlaceholder\":\"Nr\",\"postalCode\":\"Zip\",\"postalCodePlaceholder\":\"Zip\",\"city\":\"City\",\"cityPlaceholder\":\"City\",\"chooseACountry\":\"Choose country\",\"send2me\":\"Send this configuration to me\",\"send2Friend\":\"Send this configuration to a friend\",\"send2FriendEmailPlaceholder\":\"Friend's email address\",\"request4Quote\":\"Request a quote for this configuration & select a dealer\",\"chooseDealer\":\"Choose dealer\",\"findDealerOnMap\":\"Find dealer on map\",\"optin\":\"I would like to receive Quicksilver news and promotional information\",\"requiredFields\":\"Required fields\",\"saveQuote\":\"Receive configuration\",\"subtotal\":\"\",\"freight\":\"Freight\",\"selectedOptions\":\"Selected options\",\"total\":\"Total\",\"loadingMap\":\"Loading map...\",\"selectDealer\":\"Select dealer\",\"selectedPacks\":\"Selected packs\",\"thankYouHeadline\":\"Thank you for your interest\",\"sentEmailConfirmation\":\"Thank you, we have sent your configuration to\",\"sentTwoEmailConfirmation\":\"Thank you, we’ve sent your configuration to {0} and to {1}.\",\"sentToDealerConfirmation\":\"You will receive a quote by the dealer of your choice shortly.\",\"printQuote\":\"Print configuration\",\"modelsOverview\":\"Return to model overview\",\"modelsSelector\":\"Return to all models\",\"setCourseWith\":\"Set course with\",\"chooseThisSetting\":\"Choose this configuration\",\"boatWithEngine\":\"Boat with engine\",\"startingFrom\":\"Starting from\",\"moreOnMercurySite\":\"More on Mercury website\",\"thankYouText\":\"\",\"priceExVat\":\"Price without VAT\",\"vatInfo\":\"VAT (21%)\",\"priceIncVat\":\"Price including VAT\",\"specificConstraints\":\"<p>Batteries, handling, preparation and launching not included.</p>\"},\"countries\":[{\"id\":0,\"code\":\"AF\",\"name\":\"AFGHANISTAN\"},{\"id\":0,\"code\":\"AL\",\"name\":\"ALBANIA\"},{\"id\":0,\"code\":\"DZ\",\"name\":\"ALGERIA\"},{\"id\":0,\"code\":\"AS\",\"name\":\"AMERICAN SAMOA\"},{\"id\":0,\"code\":\"AD\",\"name\":\"ANDORRA\"},{\"id\":0,\"code\":\"AO\",\"name\":\"ANGOLA\"},{\"id\":0,\"code\":\"AI\",\"name\":\"ANGUILLA\"},{\"id\":0,\"code\":\"AQ\",\"name\":\"ANTARCTICA\"},{\"id\":0,\"code\":\"AG\",\"name\":\"ANTIGUA & BARBUDA\"},{\"id\":0,\"code\":\"AR\",\"name\":\"ARGENTINA\"},{\"id\":0,\"code\":\"AM\",\"name\":\"ARMENIA\"},{\"id\":0,\"code\":\"AW\",\"name\":\"ARUBA\"},{\"id\":0,\"code\":\"AU\",\"name\":\"AUSTRALIA\"},{\"id\":0,\"code\":\"AT\",\"name\":\"AUSTRIA\"},{\"id\":0,\"code\":\"AZ\",\"name\":\"AZERBAIJAN\"},{\"id\":0,\"code\":\"BS\",\"name\":\"BAHAMAS\"},{\"id\":0,\"code\":\"BH\",\"name\":\"BAHRAIN\"},{\"id\":0,\"code\":\"BD\",\"name\":\"BANGLADESH\"},{\"id\":0,\"code\":\"BB\",\"name\":\"BARBADOS\"},{\"id\":0,\"code\":\"BY\",\"name\":\"BELARUS\"},{\"id\":0,\"code\":\"BE\",\"name\":\"BELGIUM\"},{\"id\":0,\"code\":\"BZ\",\"name\":\"BELIZE\"},{\"id\":0,\"code\":\"BJ\",\"name\":\"BENIN\"},{\"id\":0,\"code\":\"BM\",\"name\":\"BERMUDA\"},{\"id\":0,\"code\":\"BT\",\"name\":\"BHUTAN\"},{\"id\":0,\"code\":\"BO\",\"name\":\"BOLIVIA\"},{\"id\":0,\"code\":\"BA\",\"name\":\"BOSNIA-HERZEGOVINA\"},{\"id\":0,\"code\":\"BW\",\"name\":\"BOTSWANA\"},{\"id\":0,\"code\":\"BV\",\"name\":\"BOUVET ISLAND\"},{\"id\":0,\"code\":\"IO\",\"name\":\"BR. INDIAN OCEAN TER\"},{\"id\":0,\"code\":\"BR\",\"name\":\"BRAZIL\"},{\"id\":0,\"code\":\"VG\",\"name\":\"BRITISH VIRGIN ISL.\"},{\"id\":0,\"code\":\"BN\",\"name\":\"BRUNEI\"},{\"id\":0,\"code\":\"BG\",\"name\":\"BULGARIA\"},{\"id\":0,\"code\":\"BF\",\"name\":\"BURKINA-FASO\"},{\"id\":0,\"code\":\"BI\",\"name\":\"BURUNDI\"},{\"id\":0,\"code\":\"KH\",\"name\":\"CAMBODIA\"},{\"id\":0,\"code\":\"CM\",\"name\":\"CAMEROON\"},{\"id\":0,\"code\":\"CA\",\"name\":\"CANADA\"},{\"id\":0,\"code\":\"CV\",\"name\":\"CAPE VERDE\"},{\"id\":0,\"code\":\"KY\",\"name\":\"CAYMAN ISLANDS\"},{\"id\":0,\"code\":\"CF\",\"name\":\"CENTRAL AFRICAN REP.\"},{\"id\":0,\"code\":\"XC\",\"name\":\"CEUTA\"},{\"id\":0,\"code\":\"TD\",\"name\":\"CHAD\"},{\"id\":0,\"code\":\"CL\",\"name\":\"CHILE\"},{\"id\":0,\"code\":\"CN\",\"name\":\"CHINA\"},{\"id\":0,\"code\":\"CX\",\"name\":\"CHRISTMAS ISLAND\"},{\"id\":0,\"code\":\"CC\",\"name\":\"COCOS ISLANDS\"},{\"id\":0,\"code\":\"CO\",\"name\":\"COLOMBIA\"},{\"id\":0,\"code\":\"KM\",\"name\":\"COMOROS\"},{\"id\":0,\"code\":\"CG\",\"name\":\"CONGO\"},{\"id\":0,\"code\":\"CD\",\"name\":\"CONGO,DEM REP OF THE\"},{\"id\":0,\"code\":\"CK\",\"name\":\"COOK ISLANDS\"},{\"id\":0,\"code\":\"CR\",\"name\":\"COSTA RICA\"},{\"id\":0,\"code\":\"HR\",\"name\":\"CROATIA\"},{\"id\":0,\"code\":\"CU\",\"name\":\"CUBA\"},{\"id\":0,\"code\":\"CY\",\"name\":\"CYPRUS\"},{\"id\":0,\"code\":\"CZ\",\"name\":\"CZECH REPUBLIC\"},{\"id\":0,\"code\":\"DK\",\"name\":\"DENMARK\"},{\"id\":0,\"code\":\"EU\",\"name\":\"DIVERS EEC\"},{\"id\":0,\"code\":\"DJ\",\"name\":\"DJIBOUTI\"},{\"id\":0,\"code\":\"DM\",\"name\":\"DOMINICA\"},{\"id\":0,\"code\":\"DO\",\"name\":\"DOMINICAN REPUBLIC\"},{\"id\":0,\"code\":\"EG\",\"name\":\"EGYPT\"},{\"id\":0,\"code\":\"SV\",\"name\":\"EL SALVADOR\"},{\"id\":0,\"code\":\"EC\",\"name\":\"EQUADOR\"},{\"id\":0,\"code\":\"GQ\",\"name\":\"EQUATORIAL GUINEA\"},{\"id\":0,\"code\":\"ER\",\"name\":\"ERITREA\"},{\"id\":0,\"code\":\"EE\",\"name\":\"ESTONIA\"},{\"id\":0,\"code\":\"ET\",\"name\":\"ETHIOPIA\"},{\"id\":0,\"code\":\"FK\",\"name\":\"FALKLAND ISLANDS\"},{\"id\":0,\"code\":\"FO\",\"name\":\"FAROE ISLANDS\"},{\"id\":0,\"code\":\"FJ\",\"name\":\"FIJI\"},{\"id\":0,\"code\":\"FI\",\"name\":\"FINLAND\"},{\"id\":0,\"code\":\"FR\",\"name\":\"FRANCE\"},{\"id\":0,\"code\":\"PF\",\"name\":\"FRENCH POLYNESIA\"},{\"id\":0,\"code\":\"GA\",\"name\":\"GABON\"},{\"id\":0,\"code\":\"GM\",\"name\":\"GAMBIA\"},{\"id\":0,\"code\":\"GE\",\"name\":\"GEORGIA\"},{\"id\":0,\"code\":\"DE\",\"name\":\"GERMANY\"},{\"id\":0,\"code\":\"GH\",\"name\":\"GHANA\"},{\"id\":0,\"code\":\"GI\",\"name\":\"GIBRALTAR\"},{\"id\":0,\"code\":\"GR\",\"name\":\"GREECE\"},{\"id\":0,\"code\":\"GL\",\"name\":\"GREENLAND\"},{\"id\":0,\"code\":\"GD\",\"name\":\"GRENADA\"},{\"id\":0,\"code\":\"GP\",\"name\":\"GUADELOUPE\"},{\"id\":0,\"code\":\"GU\",\"name\":\"GUAM\"},{\"id\":0,\"code\":\"GT\",\"name\":\"GUATEMALA\"},{\"id\":0,\"code\":\"GN\",\"name\":\"GUINEA\"},{\"id\":0,\"code\":\"GW\",\"name\":\"GUINEA-BISSAU\"},{\"id\":0,\"code\":\"GY\",\"name\":\"GUYANA\"},{\"id\":0,\"code\":\"HT\",\"name\":\"HAITI\"},{\"id\":0,\"code\":\"HM\",\"name\":\"HEARD AND MC DONALD\"},{\"id\":0,\"code\":\"HN\",\"name\":\"HONDURAS\"},{\"id\":0,\"code\":\"HK\",\"name\":\"HONG KONG\"},{\"id\":0,\"code\":\"HU\",\"name\":\"HUNGARY\"},{\"id\":0,\"code\":\"IS\",\"name\":\"ICELAND\"},{\"id\":0,\"code\":\"IN\",\"name\":\"INDIA\"},{\"id\":0,\"code\":\"ID\",\"name\":\"INDONESIA\"},{\"id\":0,\"code\":\"IR\",\"name\":\"IRAN\"},{\"id\":0,\"code\":\"IQ\",\"name\":\"IRAQ\"},{\"id\":0,\"code\":\"IE\",\"name\":\"IRELAND\"},{\"id\":0,\"code\":\"IL\",\"name\":\"ISRAEL\"},{\"id\":0,\"code\":\"IT\",\"name\":\"ITALY\"},{\"id\":0,\"code\":\"CI\",\"name\":\"IVORY COAST\"},{\"id\":0,\"code\":\"JM\",\"name\":\"JAMAICA\"},{\"id\":0,\"code\":\"JP\",\"name\":\"JAPAN\"},{\"id\":0,\"code\":\"JO\",\"name\":\"JORDAN\"},{\"id\":0,\"code\":\"KZ\",\"name\":\"KAZAKHSTAN\"},{\"id\":0,\"code\":\"KE\",\"name\":\"KENYA\"},{\"id\":0,\"code\":\"KI\",\"name\":\"KIRIBATI\"},{\"id\":0,\"code\":\"KR\",\"name\":\"KOREA, REPUBLIC OF\"},{\"id\":0,\"code\":\"KP\",\"name\":\"KOREA,DEM.PEOPLE REP\"},{\"id\":0,\"code\":\"XK\",\"name\":\"KOSOVO\"},{\"id\":0,\"code\":\"KW\",\"name\":\"KUWAIT\"},{\"id\":0,\"code\":\"KG\",\"name\":\"KYRGYZSTAN\"},{\"id\":0,\"code\":\"LA\",\"name\":\"LAO PEOPLE'S DEM REP\"},{\"id\":0,\"code\":\"LV\",\"name\":\"LATVIA\"},{\"id\":0,\"code\":\"LB\",\"name\":\"LEBANON\"},{\"id\":0,\"code\":\"LS\",\"name\":\"LESOTHO\"},{\"id\":0,\"code\":\"LR\",\"name\":\"LIBERIA\"},{\"id\":0,\"code\":\"LI\",\"name\":\"LIECHTENSTEIN\"},{\"id\":0,\"code\":\"LT\",\"name\":\"LITHUANIA\"},{\"id\":0,\"code\":\"LU\",\"name\":\"LUXEMBURG\"},{\"id\":0,\"code\":\"LY\",\"name\":\"LYBIAN ARAB\"},{\"id\":0,\"code\":\"MO\",\"name\":\"MACAU\"},{\"id\":0,\"code\":\"MK\",\"name\":\"MACEDONIA\"},{\"id\":0,\"code\":\"MG\",\"name\":\"MADAGASCAR\"},{\"id\":0,\"code\":\"MW\",\"name\":\"MALAWI\"},{\"id\":0,\"code\":\"MY\",\"name\":\"MALAYSIA\"},{\"id\":0,\"code\":\"MV\",\"name\":\"MALDIVES\"},{\"id\":0,\"code\":\"ML\",\"name\":\"MALI\"},{\"id\":0,\"code\":\"MT\",\"name\":\"MALTA\"},{\"id\":0,\"code\":\"MH\",\"name\":\"MARSHALL ISLANDS\"},{\"id\":0,\"code\":\"MQ\",\"name\":\"MARTINIQUE\"},{\"id\":0,\"code\":\"MR\",\"name\":\"MAURITANIA\"},{\"id\":0,\"code\":\"MU\",\"name\":\"MAURITIUS\"},{\"id\":0,\"code\":\"YT\",\"name\":\"MAYOTTE\"},{\"id\":0,\"code\":\"XL\",\"name\":\"MELILLA\"},{\"id\":0,\"code\":\"MX\",\"name\":\"MEXICO\"},{\"id\":0,\"code\":\"FM\",\"name\":\"MICRONESIA,FED.STATE\"},{\"id\":0,\"code\":\"MD\",\"name\":\"MOLDOVA, REPUBLIC OF\"},{\"id\":0,\"code\":\"MN\",\"name\":\"MONGOLIA\"},{\"id\":0,\"code\":\"ME\",\"name\":\"MONTENEGRO\"},{\"id\":0,\"code\":\"MS\",\"name\":\"MONTSERRAT\"},{\"id\":0,\"code\":\"MA\",\"name\":\"MOROCCO\"},{\"id\":0,\"code\":\"MZ\",\"name\":\"MOZAMBIQUE\"},{\"id\":0,\"code\":\"MM\",\"name\":\"MYANMAR\"},{\"id\":0,\"code\":\"NA\",\"name\":\"NAMIBIA\"},{\"id\":0,\"code\":\"NR\",\"name\":\"NAURU\"},{\"id\":0,\"code\":\"NP\",\"name\":\"NEPAL\"},{\"id\":0,\"code\":\"NL\",\"name\":\"NETHERLANDS\"},{\"id\":0,\"code\":\"AN\",\"name\":\"NETHERLANDS ANTILLES\"},{\"id\":0,\"code\":\"NC\",\"name\":\"NEW CALEDONIA\"},{\"id\":0,\"code\":\"NZ\",\"name\":\"NEW ZEALAND\"},{\"id\":0,\"code\":\"NI\",\"name\":\"NICARAGUA\"},{\"id\":0,\"code\":\"NE\",\"name\":\"NIGER\"},{\"id\":0,\"code\":\"NG\",\"name\":\"NIGERIA\"},{\"id\":0,\"code\":\"NU\",\"name\":\"NIUE\"},{\"id\":0,\"code\":\"NF\",\"name\":\"NORFOLK ISLAND\"},{\"id\":0,\"code\":\"MP\",\"name\":\"NORTHERN MARIANA ISL\"},{\"id\":0,\"code\":\"NO\",\"name\":\"NORWAY\"},{\"id\":0,\"code\":\"OM\",\"name\":\"OMAN\"},{\"id\":0,\"code\":\"PK\",\"name\":\"PAKISTAN\"},{\"id\":0,\"code\":\"PA\",\"name\":\"PANAMA\"},{\"id\":0,\"code\":\"PG\",\"name\":\"PAPUA NEW GUINEA\"},{\"id\":0,\"code\":\"PY\",\"name\":\"PARAGUAY\"},{\"id\":0,\"code\":\"PH\",\"name\":\"PHILIPPINES\"},{\"id\":0,\"code\":\"PN\",\"name\":\"PITCAIRN ISLAND\"},{\"id\":0,\"code\":\"PL\",\"name\":\"POLAND\"},{\"id\":0,\"code\":\"PT\",\"name\":\"PORTUGAL\"},{\"id\":0,\"code\":\"QA\",\"name\":\"QATAR\"},{\"id\":0,\"code\":\"RE\",\"name\":\"REUNION\"},{\"id\":0,\"code\":\"RO\",\"name\":\"ROMANIA\"},{\"id\":0,\"code\":\"RU\",\"name\":\"RUSSIAN FEDERATION\"},{\"id\":0,\"code\":\"RW\",\"name\":\"RWANDA\"},{\"id\":0,\"code\":\"LC\",\"name\":\"SAINT LUCIA\"},{\"id\":0,\"code\":\"WS\",\"name\":\"SAMOA\"},{\"id\":0,\"code\":\"SM\",\"name\":\"SAN MARINO\"},{\"id\":0,\"code\":\"ST\",\"name\":\"SAO TOME & PRINCIPE\"},{\"id\":0,\"code\":\"SA\",\"name\":\"SAUDI ARABIA\"},{\"id\":0,\"code\":\"SN\",\"name\":\"SENEGAL\"},{\"id\":0,\"code\":\"XS\",\"name\":\"SERBIE\"},{\"id\":0,\"code\":\"SC\",\"name\":\"SEYCHELLES\"},{\"id\":0,\"code\":\"SL\",\"name\":\"SIERRA LEONE\"},{\"id\":0,\"code\":\"SG\",\"name\":\"SINGAPORE\"},{\"id\":0,\"code\":\"SK\",\"name\":\"SLOVAKIA\"},{\"id\":0,\"code\":\"SI\",\"name\":\"SLOVENIA\"},{\"id\":0,\"code\":\"SB\",\"name\":\"SOLOMON ISLANDS\"},{\"id\":0,\"code\":\"SO\",\"name\":\"SOMALIA\"},{\"id\":0,\"code\":\"ZA\",\"name\":\"SOUTH AFRICA\"},{\"id\":0,\"code\":\"ES\",\"name\":\"SPAIN\"},{\"id\":0,\"code\":\"LK\",\"name\":\"SRI LANKA\"},{\"id\":0,\"code\":\"VC\",\"name\":\"ST VINCENT & GRENADI\"},{\"id\":0,\"code\":\"SH\",\"name\":\"ST. HELENA\"},{\"id\":0,\"code\":\"KN\",\"name\":\"ST. KITTS-NEVIS-ANG.\"},{\"id\":0,\"code\":\"PM\",\"name\":\"ST.PIERRE & MIQUELON\"},{\"id\":0,\"code\":\"SD\",\"name\":\"SUDAN\"},{\"id\":0,\"code\":\"SR\",\"name\":\"SURINAME\"},{\"id\":0,\"code\":\"SZ\",\"name\":\"SWAZILAND\"},{\"id\":0,\"code\":\"SE\",\"name\":\"SWEDEN\"},{\"id\":0,\"code\":\"CH\",\"name\":\"SWITZERLAND\"},{\"id\":0,\"code\":\"SY\",\"name\":\"SYRIAN\"},{\"id\":0,\"code\":\"TW\",\"name\":\"TAIWAN\"},{\"id\":0,\"code\":\"TJ\",\"name\":\"TAJIKISTAN\"},{\"id\":0,\"code\":\"TZ\",\"name\":\"TANZANIA, UNITED REP\"},{\"id\":0,\"code\":\"TH\",\"name\":\"THAILAND\"},{\"id\":0,\"code\":\"TL\",\"name\":\"TIMOR-LESTE\"},{\"id\":0,\"code\":\"TG\",\"name\":\"TOGO\"},{\"id\":0,\"code\":\"TK\",\"name\":\"TOKELAU\"},{\"id\":0,\"code\":\"TO\",\"name\":\"TONGA\"},{\"id\":0,\"code\":\"TT\",\"name\":\"TRINIDAD AND TOBAGO\"},{\"id\":0,\"code\":\"TN\",\"name\":\"TUNISIA\"},{\"id\":0,\"code\":\"TR\",\"name\":\"TURKEY\"},{\"id\":0,\"code\":\"TM\",\"name\":\"TURKMENISTAN\"},{\"id\":0,\"code\":\"TC\",\"name\":\"TURKS AND CAICOS ISL\"},{\"id\":0,\"code\":\"TV\",\"name\":\"TUVALU\"},{\"id\":0,\"code\":\"UG\",\"name\":\"UGANDA\"},{\"id\":0,\"code\":\"UA\",\"name\":\"UKRAINE\"},{\"id\":0,\"code\":\"AE\",\"name\":\"UNITED ARAB EMIRATES\"},{\"id\":0,\"code\":\"GB\",\"name\":\"UNITED KINGDOM\"},{\"id\":0,\"code\":\"US\",\"name\":\"UNITED STATES\"},{\"id\":0,\"code\":\"UY\",\"name\":\"URUGUAY\"},{\"id\":0,\"code\":\"VI\",\"name\":\"US VIRGIN ISLANDS\"},{\"id\":0,\"code\":\"UZ\",\"name\":\"UZBEKISTAN\"},{\"id\":0,\"code\":\"VU\",\"name\":\"VANUATU\"},{\"id\":0,\"code\":\"VA\",\"name\":\"VATICAN CITY STATE\"},{\"id\":0,\"code\":\"VE\",\"name\":\"VENEZUELA\"},{\"id\":0,\"code\":\"VN\",\"name\":\"VIET NAM\"},{\"id\":0,\"code\":\"WF\",\"name\":\"WALLIS & FUTUNA ISL.\"},{\"id\":0,\"code\":\"YE\",\"name\":\"YEMEN\"},{\"id\":0,\"code\":\"ZM\",\"name\":\"ZAMBIA\"},{\"id\":0,\"code\":\"ZW\",\"name\":\"ZIMBABWE\"}],\"engineDecisionPath\":{\"engineDecisionBasedOnInboardVsOutboard\":false,\"engineDecisionBasedOnFourstrokeOrVerado\":true,\"engineDecisionBasedOnSingleVsDual\":false,\"descriptions\":[{\"identifier\":\"fourstroke\",\"description\":\"\"},{\"identifier\":\"verado\",\"description\":\"\"}],\"startingPriceInfo\":[{\"identifier\":\"fourstroke\",\"startPrice\":40930.00},{\"identifier\":\"verado\",\"startPrice\":42420.00}],\"hpRanges\":[{\"identifier\":\"fourstroke\",\"minimum\":0,\"maximum\":0},{\"identifier\":\"verado\",\"minimum\":0,\"maximum\":0}]}},getConfiguratorMultiplePacks:{\"title\":\"\",\"text\":\"<p><span>Check the unique features you can use to adapt your boat to your wishes. Not sure what to choose? Then let us make a suggestion, based on either the most popular options or our expert recommendations.</span></p>\",\"image\":\"/media/386888/875_sundeck_running_0121_960x512px_v2.jpg?anchor=center&mode=crop&width=800&height=600&rnd=131690597840000000\",\"modelUrl\":\"/be/en/products/activ-875-sundeck/\",\"modelsUrl\":\"/be/en/product-selector/\",\"priceSetting\":{\"showPrices\":true,\"thousandSeparator\":\".\",\"decimalSeparator\":\",\",\"currency\":\"€\"},\"vat\":21.00,\"steps\":[{\"stepNumber\":1,\"mastheadTitle\":\"Step 1<br/>Standard equipment\",\"title\":\"Standard equipment\",\"text\":\"<p class=\\\"wide\\\">All features and equipment listed below are already included in your boat. Browse the standard equipment or start tweaking your boat by clicking ‘Choose engine’ at the bottom of the page.</p>\",\"sidebarText\":\"\",\"slug\":\"standard-equipment\",\"button\":\"Choose engine\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":2,\"mastheadTitle\":\"Step 2<br/>Engine\",\"title\":\"Engine\",\"text\":\"<p class=\\\"wide\\\"><span>The engines listed in this section are all compatible with the boat you have selected. By default, we suggest an engine that suits most boaters’ needs but you can tailor the engine to your preferences. If you would like to know more about the different engines, you can find information on the </span><a href=\\\"https://www.mercurymarine.com/nl/nl/\\\" target=\\\"_blank\\\" class=\\\"link--special\\\">Mercury website</a><span>.</span></p>\",\"sidebarText\":\"\",\"slug\":\"engine\",\"button\":\"Choose packs\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":3,\"mastheadTitle\":\"Step 3<br/>Packs\",\"title\":\"Packs\",\"text\":\"<p class=\\\"wide\\\">Packs offer several complementary options at a discount rate. The SMART Edition consists of the most popular options overall. A SMART Edition configuration is sold most often, which has the added advantage of being available at your dealer either right away or with a short delivery time. Other packs add comfort for specific boat areas (like the cockpit or cabin) and activities (such as water sports or cruising).</p>\",\"sidebarText\":\"\",\"slug\":\"packs\",\"button\":\"Choose options\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":4,\"mastheadTitle\":\"Step 4<br/>Options\",\"title\":\"Options\",\"text\":\"<p class=\\\"wide\\\">Complete the personalisation process by adding exactly those options that you will enjoy the most on the water. We’ve made it impossible to make any mistake: you can’t tick an option that’s incompatible with another one you’ve already selected. Likewise, you can’t choose options that are already included in a pack you’ve added.</p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finish\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Step 5<br/>Overview\",\"title\":\"Overview\",\"text\":\"<p class=\\\"wide\\\"><span>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}}}}},{\"stepNumber\":2,\"mastheadTitle\":\"Step 2<br/>Engine\",\"title\":\"Engine\",\"text\":\"<p class=\\\"wide\\\"><span>The engines listed in this section are all compatible with the boat you have selected. By default, we suggest an engine that suits most boaters’ needs but you can tailor the engine to your preferences. If you would like to know more about the different engines, you can find information on the </span><a href=\\\"https://www.mercurymarine.com/nl/nl/\\\" target=\\\"_blank\\\" class=\\\"link--special\\\">Mercury website</a><span>.</span></p>\",\"sidebarText\":\"\",\"slug\":\"engine\",\"button\":\"Choose packs\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":3,\"mastheadTitle\":\"Step 3<br/>Packs\",\"title\":\"Packs\",\"text\":\"<p class=\\\"wide\\\">Packs offer several complementary options at a discount rate. The SMART Edition consists of the most popular options overall. A SMART Edition configuration is sold most often, which has the added advantage of being available at your dealer either right away or with a short delivery time. Other packs add comfort for specific boat areas (like the cockpit or cabin) and activities (such as water sports or cruising).</p>\",\"sidebarText\":\"\",\"slug\":\"packs\",\"button\":\"Choose options\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":4,\"mastheadTitle\":\"Step 4<br/>Options\",\"title\":\"Options\",\"text\":\"<p class=\\\"wide\\\">Complete the personalisation process by adding exactly those options that you will enjoy the most on the water. We’ve made it impossible to make any mistake: you can’t tick an option that’s incompatible with another one you’ve already selected. Likewise, you can’t choose options that are already included in a pack you’ve added.</p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finish\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Step 5<br/>Overview\",\"title\":\"Overview\",\"text\":\"<p class=\\\"wide\\\"><span>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}}}},{\"stepNumber\":3,\"mastheadTitle\":\"Step 3<br/>Packs\",\"title\":\"Packs\",\"text\":\"<p class=\\\"wide\\\">Packs offer several complementary options at a discount rate. The SMART Edition consists of the most popular options overall. A SMART Edition configuration is sold most often, which has the added advantage of being available at your dealer either right away or with a short delivery time. Other packs add comfort for specific boat areas (like the cockpit or cabin) and activities (such as water sports or cruising).</p>\",\"sidebarText\":\"\",\"slug\":\"packs\",\"button\":\"Choose options\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":4,\"mastheadTitle\":\"Step 4<br/>Options\",\"title\":\"Options\",\"text\":\"<p class=\\\"wide\\\">Complete the personalisation process by adding exactly those options that you will enjoy the most on the water. We’ve made it impossible to make any mistake: you can’t tick an option that’s incompatible with another one you’ve already selected. Likewise, you can’t choose options that are already included in a pack you’ve added.</p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finish\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Step 5<br/>Overview\",\"title\":\"Overview\",\"text\":\"<p class=\\\"wide\\\"><span>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}}},{\"stepNumber\":4,\"mastheadTitle\":\"Step 4<br/>Options\",\"title\":\"Options\",\"text\":\"<p class=\\\"wide\\\">Complete the personalisation process by adding exactly those options that you will enjoy the most on the water. We’ve made it impossible to make any mistake: you can’t tick an option that’s incompatible with another one you’ve already selected. Likewise, you can’t choose options that are already included in a pack you’ve added.</p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finish\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Step 5<br/>Overview\",\"title\":\"Overview\",\"text\":\"<p class=\\\"wide\\\"><span>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}},{\"stepNumber\":5,\"mastheadTitle\":\"Step 5<br/>Overview\",\"title\":\"Overview\",\"text\":\"<p class=\\\"wide\\\"><span>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}],\"boat\":{\"id\":37918,\"name\":\"Activ 875 Sundeck\",\"image\":\"/media/385246/875_sundeck_running_0346_1920x1080px.jpg?anchor=center&mode=crop&width=400&rnd=131483843710000000\",\"freight\":{\"price\":2590.00,\"discount\":{\"percent\":0.0,\"amount\":0.0}},\"standardEquipment\":[{\"name\":\"Hull & Deck\",\"items\":[{\"id\":37922,\"name\":\"Swim Ladder\",\"image\":\"/media/385364/2875_sundeck_detail_0039_f.jpg\"},{\"id\":37923,\"name\":\"Navigation lights\",\"image\":\"/media/385362/3875-cruiser-detail-1818_f.jpg\"},{\"id\":37924,\"name\":\"Forward line/anchor Locker\",\"image\":\"/media/385450/875sd_forward-line-locker_f.jpg\"},{\"id\":37925,\"name\":\"Self Bailing Cockpit\",\"image\":\"/media/385361/5self-bailing-cockpit_875sd_composition_f.jpg\"},{\"id\":38024,\"name\":\"Hull side windows\",\"image\":\"/media/385371/6875_sundeck_detail_0306_f.jpg\"},{\"id\":37927,\"name\":\"Swim Platform\",\"image\":\"/media/385368/7875-cruiser-details-0048_f.jpg\"},{\"id\":37928,\"name\":\"Motorwell Bridge\",\"image\":\"/media/385366/9875-cruiser-detail-1659_f.jpg\"},{\"id\":37929,\"name\":\"LED Courtesy lights\",\"image\":\"/media/385365/8all-qs_led-lighting_f.jpg\"}]},{\"name\":\"Bow\",\"items\":[{\"id\":37931,\"name\":\"Forward sun lounge\",\"image\":\"/media/385376/10875_sundeck_detail_1264_f.jpg\"}]},{\"name\":\"Helm\",\"items\":[{\"id\":37933,\"name\":\"Smartcraft Speedometer/Tachometer\",\"image\":\"/media/385367/11dash-875sd-with-smartcraft_img_2477_f.jpg\"},{\"id\":37934,\"name\":\"12v electrical socket\",\"image\":\"/media/385369/13875-cruiser-detail-1353_f.jpg\"},{\"id\":37935,\"name\":\"Adjustable Steering Position\",\"image\":\"/media/385370/12875-cruiser-detail-1377_f.jpg\"}]},{\"name\":\"Cabin\",\"items\":[{\"id\":37952,\"name\":\"4 berths\",\"image\":\"/media/385390/224-berths_875sd_composition_f.jpg\"},{\"id\":38028,\"name\":\"Storage below Berth\",\"image\":\"/media/385375/23storage-below-berth_875sd_compo_f.jpg\"},{\"id\":38029,\"name\":\"Deck Hatch\",\"image\":\"/media/385383/27875_sundeck_detail_0297_f.jpg\"},{\"id\":37953,\"name\":\"Berth Cushions/Filler\",\"image\":\"/media/385454/39875_sundeck_detail_0392_f.jpg\"},{\"id\":37954,\"name\":\"Cabin lights\",\"image\":\"/media/385385/24875_sundeck_detail_0349_f.jpg\"},{\"id\":37955,\"name\":\"Opening Portlights\",\"image\":\"/media/385394/25875_sundeck_detail_0306_f.jpg\"},{\"id\":37956,\"name\":\"Cabin Table\",\"image\":\"/media/385395/26875_sundeck_detail_0496-v2_f.jpg\"},{\"id\":37957,\"name\":\"Dinette Seat Configuration\",\"image\":\"/media/385395/26875_sundeck_detail_0496-v2_f.jpg\"}]},{\"name\":\"Head\",\"items\":[{\"id\":38031,\"name\":\"Sink with pressure fresh water system\",\"image\":\"/media/385384/28875_sundeck_detail_0279_f.jpg\"},{\"id\":38032,\"name\":\"Shower\",\"image\":\"/media/385381/29875_sundeck_detail_0281_f.jpg\"},{\"id\":38034,\"name\":\"Enclosed Sea Toilet\",\"image\":\"/media/385388/30875_sundeck_detail_0270_f.jpg\"},{\"id\":38035,\"name\":\"Opening Portlight\",\"image\":\"/media/385392/31875_sundeck_detail_0281_f.jpg\"}]},{\"name\":\"Galley\",\"items\":[{\"id\":37940,\"name\":\"Sink with Tap\",\"image\":\"/media/385389/32sink-with-tap_875sd_compo_f.jpg\"}]},{\"name\":\"Cockpit\",\"items\":[{\"id\":38025,\"name\":\"Dual Helm Seat with Bolster\",\"image\":\"/media/385378/14dual-helm-seat_875sd_composition_f.jpg\"},{\"id\":38027,\"name\":\"Real teak cockpit table\",\"image\":\"/media/385386/20real-teak-cock-table_875sd_compo_f.jpg\"},{\"id\":37945,\"name\":\"Cockpit Cushions\",\"image\":\"/media/385377/19875_sundeck_detail_0990_f.jpg\"},{\"id\":37947,\"name\":\"Cockpit Shower\",\"image\":\"/media/385380/21875_sundeck_detail_1756_f.jpg\"},{\"id\":37948,\"name\":\"Aft Bench Seat\",\"image\":\"/media/385382/15875_sundeck_detail_0873_1_f.jpg\"},{\"id\":37949,\"name\":\"Aft Seat Extension L-Lounge\",\"image\":\"/media/385379/18875_sundeck_detail_0877_f.jpg\"},{\"id\":37950,\"name\":\"Aft Seat Folding Backrest\",\"image\":\"/media/385374/17aft-seat-foldin_875sd_compo_f.jpg\"},{\"id\":38026,\"name\":\"Storage below Aft Seat\",\"image\":\"/media/385372/16875-cruiser-detail-1841_f.jpg\"},{\"id\":38095,\"name\":\"Transom Door\",\"image\":\"/media/385455/41875_sundeck_detail_1639_f.jpg\"}]},{\"name\":\"Equipment\",\"items\":[{\"id\":37960,\"name\":\"OB Pre-Rigging\",\"image\":\"\"},{\"id\":37961,\"name\":\"Dual Battery System\",\"image\":\"/media/385391/33755wk_img_3178_dual-battery-system_f.jpg\"},{\"id\":37962,\"name\":\"Electric & Manual Bilge Pump \",\"image\":\"\"},{\"id\":37963,\"name\":\"Hydraulic steering\",\"image\":\"/media/385393/36875_sundeck_detail_1388_f.jpg\"},{\"id\":38036,\"name\":\"CO Monitor\",\"image\":\"/media/386408/img_4327_co_monitor_f.jpg\"},{\"id\":38037,\"name\":\"Smoke Detector\",\"image\":\"/media/385624/35875_sundeck_smoke-detector_f.jpg\"},{\"id\":41725,\"name\":\"\",\"image\":\"\"}]}],\"engines\":[{\"id\":30919,\"name\":\"Verado 225\",\"image\":\"/media/381959/mercury_verado225_3_medium.jpg?mode=crop&width=47&height=70&rnd=131056384410000000\",\"price\":72450.00,\"displayPrice\":\"\",\"inboard\":false,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/nl/nl/\"},{\"id\":30920,\"name\":\"Verado 250\",\"image\":\"/media/381962/mercury_verado250_2_medium.jpg?mode=crop&width=47&height=70&rnd=131056384410000000\",\"price\":74210.00,\"displayPrice\":\"+1760.00\",\"inboard\":false,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/nl/nl/\"},{\"id\":30921,\"name\":\"Verado 300\",\"image\":\"/media/381960/mercury_verado300_1_medium.jpg?mode=crop&width=47&height=70&rnd=131056384410000000\",\"price\":78420.00,\"displayPrice\":\"+5970.00\",\"inboard\":false,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/nl/nl/\"},{\"id\":30913,\"name\":\"Twin 150 EFI\",\"image\":\"/media/382045/twin_fourstroke150efi_199x299px_lr.jpg?mode=crop&width=47&height=70&rnd=131068537760000000\",\"price\":83680.00,\"displayPrice\":\"+11230.00\",\"inboard\":false,\"dual\":true,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":false,\"veradoEngine\":false,\"url\":\"https://www.mercurymarine.com/nl/nl/\"},{\"id\":30922,\"name\":\"Verado 350\",\"image\":\"/media/381961/mercury_verado350_0_medium.jpg?mode=crop&width=47&height=70&rnd=131056384410000000\",\"price\":83990.00,\"displayPrice\":\"\",\"inboard\":false,\"dual\":false,\"isDefault\":true,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/nl/nl/\"},{\"id\":30914,\"name\":\"Twin Verado 175\",\"image\":\"/media/382047/twin_verado175_199x299px_lr.jpg?mode=crop&width=47&height=70&rnd=131068539220000000\",\"price\":84880.00,\"displayPrice\":\"+12430.00\",\"inboard\":false,\"dual\":true,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/nl/nl/\"},{\"id\":30915,\"name\":\"Twin Verado 200\",\"image\":\"/media/382048/twin_verado200_199x299px_lr.jpg?mode=crop&width=47&height=70&rnd=131068539830000000\",\"price\":87320.00,\"displayPrice\":\"+14870.00\",\"inboard\":false,\"dual\":true,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/nl/nl/\"},{\"id\":30941,\"name\":\"Twin Verado 225\",\"image\":\"/media/382049/twin_verado225_199x299px_lr.jpg?mode=crop&width=47&height=70&rnd=131068540890000000\",\"price\":92270.00,\"displayPrice\":\"+19820.00\",\"inboard\":false,\"dual\":true,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/nl/nl/\"},{\"id\":34200,\"name\":\"Verado 400R SM\",\"image\":\"/media/383137/black400-starboard-angle_199x299px.jpg?anchor=center&mode=crop&width=47&height=70&rnd=131205960240000000\",\"price\":92600.00,\"displayPrice\":\"+20150.00\",\"inboard\":false,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/nl/nl/\"},{\"id\":30942,\"name\":\"Twin Verado 250\",\"image\":\"/media/382050/twin_verado250_199x299_lr.jpg?mode=crop&width=47&height=70&rnd=131068541610000000\",\"price\":95790.00,\"displayPrice\":\"+23340.00\",\"inboard\":false,\"dual\":true,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/nl/nl/\"},{\"id\":33386,\"name\":\"Twin Verado 250 with Joystick (JPO)\",\"image\":\"/media/381953/mercury_twinverado250_0_medium.jpg?mode=crop&width=47&height=70&rnd=131056384400000000\",\"price\":114770.00,\"displayPrice\":\"+42320.00\",\"inboard\":false,\"dual\":true,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":false,\"veradoEngine\":true,\"url\":\"https://www.mercurymarine.com/nl/nl/\"}],\"options\":[{\"id\":38040,\"name\":\"Flexi teak Flooring\",\"images\":[\"/media/385407/875_sundeck_detail_0877_flexi-teak-flooring_f.jpg\"],\"items\":[],\"price\":3780.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"Privilege Pack\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[38084],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":37971,\"name\":\"Swim Platform Extension\",\"images\":[],\"items\":[],\"price\":680.00,\"incompatibilityDescription\":\"\\\"Swim Platform Extension with Flexi teak \\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38039],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38039,\"name\":\"Swim Platform Extension with Flexi teak \",\"images\":[\"/media/385429/7875-cruiser-details-0048_extswimplat_f.jpg\"],\"items\":[],\"price\":970.00,\"incompatibilityDescription\":\"\\\"Swim Platform Extension\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[37971],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":37973,\"name\":\"Hull Color\",\"images\":[\"/media/385423/9875-cruiser-running-0162_hull-color_f.jpg\"],\"items\":[],\"price\":1090.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38041,\"name\":\"Under Water Lighting\",\"images\":[\"/media/385643/875sd_underwater_light_f.jpg\"],\"items\":[],\"price\":1100.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":37970,\"name\":\"Ski Pole\",\"images\":[\"/media/385421/6875-cruiser-detail-1823_ski-mast_f.jpg\"],\"items\":[],\"price\":570.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38049,\"name\":\"Simrad GPS/Chart Plotter 12\\\" NSS evo 3 with HDI Transducer\",\"images\":[\"/media/385422/14single-gps-12_875sd_f.jpg\"],\"items\":[],\"price\":3960.00,\"incompatibilityDescription\":\"\\\"Dual Simrad GPS/Chart Plotter 9\\\" NSS evo 3 with HDI Transducer\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38048],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38048,\"name\":\"Dual Simrad GPS/Chart Plotter 9\\\" NSS evo 3 with HDI Transducer\",\"images\":[\"/media/385428/15875_sundeck_detail_1411_dual-gps9_f.jpg\"],\"items\":[],\"price\":4760.00,\"incompatibilityDescription\":\"\\\"Simrad GPS/Chart Plotter 12\\\" NSS evo 3 with HDI Transducer\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38049],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38044,\"name\":\"Stereo with 4 speakers\",\"images\":[\"/media/385420/11stereo_875sd_composition_f.jpg\"],\"items\":[],\"price\":730.00,\"incompatibilityDescription\":\"\\\"Stereo with 6 speakers and subwoofer\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38045],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38045,\"name\":\"Stereo with 6 speakers and subwoofer\",\"images\":[\"/media/385433/12stereo-upgrade_875sd_compo_f.jpg\"],\"items\":[],\"price\":2100.00,\"incompatibilityDescription\":\"\\\"Stereo with 4 speakers\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38044],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38042,\"name\":\"Active Trim\",\"images\":[\"/media/385439/29875-cruiser-detail-1350_active-trim_f.jpg\"],\"items\":[],\"price\":600.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38050,\"name\":\"VHF\",\"images\":[],\"items\":[],\"price\":430.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38047,\"name\":\"DAB Stereo Kit with Antenna\",\"images\":[],\"items\":[],\"price\":200.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38051,\"name\":\"Cockpit Sunlounge\",\"images\":[\"/media/385427/19875_sundeck_detail_1511_cockpit-sunlounge_f.jpg\"],\"items\":[],\"price\":380.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\", \\\"Cockpit Comfort Pack\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[37990,37997],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38052,\"name\":\"Helm Seat Flip Seat\",\"images\":[\"/media/385424/21875_sundeck_detail_1726_helm-seat-flip-seat_f.jpg\"],\"items\":[],\"price\":960.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\", \\\"Cockpit Comfort Pack\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[37990,37997],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38053,\"name\":\"Starboard Flip Seat\",\"images\":[\"/media/385425/20875-cruiser-detail-1710_std-flip-seat_f.jpg\"],\"items\":[],\"price\":910.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\", \\\"Cockpit Comfort Pack\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[37990,37997],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":37958,\"name\":\"Curtains\",\"images\":[\"/media/385419/875_sundeck_detail_0438_curtains_f.jpg\"],\"items\":[],\"price\":630.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\", \\\"Cabin Comfort Pack\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[37990,38070],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38058,\"name\":\"Hatch Screen Cover (hatch cover and mosquito net)\",\"images\":[\"/media/385404/foredeck-hatch-cover_875sd_compo_f.jpg\"],\"items\":[],\"price\":260.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"Privilege Pack\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[38084],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38059,\"name\":\"Screen Inovtech 21'5\\\" LED HD 1080 with DVD, USB, HDMI\",\"images\":[\"/media/385441/36875_sundeck_detail_0407-v2_screen-inovtech_f.jpg\"],\"items\":[],\"price\":810.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38060,\"name\":\"Electric Grill\",\"images\":[\"/media/385426/17electric-grill_875sd_1_f.jpg\"],\"items\":[],\"price\":1570.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"Galley Pack\\\"\",\"requiredRelatedOptions\":[37979],\"requiredRelatedOptionsDescription\":\"\\\"Shore Power\\\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[38078],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[37990,38078],\"incompatibleWithPacksDescription\":\"\\\"SMART Edition\\\", \\\"Galley Pack\\\"\",\"discount\":null,\"available\":true},{\"id\":38061,\"name\":\"Refrigerator \",\"images\":[\"/media/385431/17875_sundeck_detail_1442_ice-drawer_f.jpg\"],\"items\":[],\"price\":940.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\\\"SMART Edition\\\", \\\"Galley Pack\\\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[37990,38078],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":37979,\"name\":\"Shore Power\",\"images\":[\"/media/385436/27875-cruiser-detail-1812_shorepower_f.jpg\"],\"items\":[],\"price\":1440.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[38060,38063,38065],\"isRequiredForOptionDescription\":\"\\\"Electric Grill\\\", \\\"Water Heating\\\", \\\"Air Conditioner\\\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[37990,38070],\"requiredForPacksDescription\":\"\\\"SMART Edition\\\", \\\"Cabin Comfort Pack\\\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":37980,\"name\":\"Bow Thruster\",\"images\":[\"/media/385443/28bow-thruster_805sd_composition_f.jpg\"],\"items\":[],\"price\":2360.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":37981,\"name\":\"Bow Electrical Windlass\",\"images\":[\"/media/385430/25bow-electric-windlass_f.jpg\"],\"items\":[],\"price\":2080.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":37982,\"name\":\"Electric Trim Tabs\",\"images\":[\"/media/385434/26trim-tabs_875sd_composition_f.jpg\"],\"items\":[],\"price\":1440.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":37983,\"name\":\"Grey water system with dock discharge only\",\"images\":[],\"items\":[],\"price\":420.00,\"incompatibilityDescription\":\"\\\"Grey water system with manual outboard discharge\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38597],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38597,\"name\":\"Grey water system with manual outboard discharge\",\"images\":[],\"items\":[],\"price\":650.00,\"incompatibilityDescription\":\"\\\"Grey water system with dock discharge only\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[37983],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38062,\"name\":\"Mooring kit\",\"images\":[],\"items\":[],\"price\":410.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38063,\"name\":\"Water Heating\",\"images\":[],\"items\":[],\"price\":1350.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[37979],\"requiredRelatedOptionsDescription\":\"\\\"Shore Power\\\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38064,\"name\":\"Diesel Heating\",\"images\":[\"/media/385437/35875-cruiser-detail-0262_diesel_f.jpg\"],\"items\":[],\"price\":3690.00,\"incompatibilityDescription\":\"\\\"Air Conditioner\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38065],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38065,\"name\":\"Air Conditioner\",\"images\":[\"/media/385438/34875-cruiser-detail-0262_air-cond_f.jpg\"],\"items\":[],\"price\":3580.00,\"incompatibilityDescription\":\"\\\"Diesel Heating\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[37979],\"requiredRelatedOptionsDescription\":\"\\\"Shore Power\\\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[38064],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38066,\"name\":\"Port Windscreen Wiper with washer\",\"images\":[\"/media/385444/37875_sundeck_detail_0678_wetwindsh-wip_f.jpg\"],\"items\":[],\"price\":570.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":37985,\"name\":\"Bimini with Enclosed Canvas\",\"images\":[\"/media/385442/31875_sundeck_detail_0595_bimini-with-enclosure_f.jpg\"],\"items\":[],\"price\":3020.00,\"incompatibilityDescription\":\"\\\"Bimini\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[37986],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":37986,\"name\":\"Bimini\",\"images\":[\"/media/385440/30875_sundeck_details_-0014_bimini_f.jpg\"],\"items\":[],\"price\":1860.00,\"incompatibilityDescription\":\"\\\"Bimini with Enclosed Canvas\\\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[37985],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38067,\"name\":\"Mooring Cover\",\"images\":[],\"items\":[],\"price\":1840.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38068,\"name\":\"Forward Sun Awning \",\"images\":[],\"items\":[],\"price\":750.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38069,\"name\":\"Seat & Dash cover\",\"images\":[],\"items\":[],\"price\":730.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true}],\"packs\":[{\"id\":37990,\"name\":\"SMART Edition\",\"image\":\"/media/385448/smart_pack_875sd_composition_f.jpg\",\"items\":[{\"id\":37990,\"name\":\"SMART Edition\",\"image\":\"/media/385448/smart_pack_875sd_composition_f.jpg\"},{\"id\":37991,\"name\":\"Starboard Flip Seat\",\"image\":\"/media/385411/875_sundeck_detail_1726_stbd-flip-seat_f.jpg\"},{\"id\":38822,\"name\":\"Helm Seat Flip Seat\",\"image\":\"/media/385412/875-cruiser-detail-1710_helm-seat-flip-seat_f.jpg\"},{\"id\":37992,\"name\":\"Cockpit Sunlounge\",\"image\":\"/media/385413/875_sundeck_detail_1511_cockpit-sun-lounge_f.jpg\"},{\"id\":38824,\"name\":\"Curtains\",\"image\":\"/media/385419/875_sundeck_detail_0438_curtains_f.jpg\"},{\"id\":37993,\"name\":\"Refrigerator\",\"image\":\"/media/385417/875_sundeck_detail_0188-v2_refrigerator_f.jpg\"},{\"id\":38823,\"name\":\"Microwave\",\"image\":\"/media/385416/875_sundeck_detail_0188-v2_microwave_f.jpg\"},{\"id\":38831,\"name\":\"Refrigerator\",\"image\":\"/media/385410/875_sundeck_detail_1442_ice-drawer_f.jpg\"},{\"id\":37994,\"name\":\"Stove LPG\",\"image\":\"/media/385409/875-cruiser-detail-1795_lpg-stove_f.jpg\"}],\"price\":4940.00,\"incompatiblePacks\":[38070,37997,38078],\"incompatibilityDescription\":\"\\\"Cabin Comfort Pack\\\", \\\"Cockpit Comfort Pack\\\", \\\"Galley Pack\\\"\",\"incompatibleOptions\":[38060],\"incompatibleOptionsDescription\":\"\\\"Electric Grill\\\"\",\"requiredOptions\":[37979],\"requiredOptionsDescription\":\"\\\"Shore Power\\\"\",\"discount\":null,\"available\":true},{\"id\":38070,\"name\":\"Cabin Comfort Pack\",\"image\":\"/media/385418/cabin_comfort_pack_875sd_compo_f.jpg\",\"items\":[{\"id\":38070,\"name\":\"Cabin Comfort Pack\",\"image\":\"/media/385418/cabin_comfort_pack_875sd_compo_f.jpg\"},{\"id\":38073,\"name\":\"Refrigerator 50 l (cabin)\",\"image\":\"/media/385417/875_sundeck_detail_0188-v2_refrigerator_f.jpg\"},{\"id\":38075,\"name\":\"Microwave\",\"image\":\"/media/385416/875_sundeck_detail_0188-v2_microwave_f.jpg\"},{\"id\":38076,\"name\":\"Curtains\",\"image\":\"/media/385419/875_sundeck_detail_0438_curtains_f.jpg\"}],\"price\":2020.00,\"incompatiblePacks\":[37990],\"incompatibilityDescription\":\"\\\"SMART Edition\\\"\",\"incompatibleOptions\":[],\"incompatibleOptionsDescription\":\"\",\"requiredOptions\":[37979],\"requiredOptionsDescription\":\"\\\"Shore Power\\\"\",\"discount\":null,\"available\":true},{\"id\":37997,\"name\":\"Cockpit Comfort Pack\",\"image\":\"/media/385414/cock_comfort_pack_875sd_compo_f.jpg\",\"items\":[{\"id\":37997,\"name\":\"Cockpit Comfort Pack\",\"image\":\"/media/385414/cock_comfort_pack_875sd_compo_f.jpg\"},{\"id\":37999,\"name\":\"Cockpit Sunlounge\",\"image\":\"/media/385413/875_sundeck_detail_1511_cockpit-sun-lounge_f.jpg\"},{\"id\":38077,\"name\":\"Helm Seat Flip Seat\",\"image\":\"/media/385412/875-cruiser-detail-1710_helm-seat-flip-seat_f.jpg\"},{\"id\":37998,\"name\":\"Starboard Flip Seat\",\"image\":\"/media/385411/875_sundeck_detail_1726_stbd-flip-seat_f.jpg\"}],\"price\":1780.00,\"incompatiblePacks\":[37990],\"incompatibilityDescription\":\"\\\"SMART Edition\\\"\",\"incompatibleOptions\":[],\"incompatibleOptionsDescription\":\"\",\"requiredOptions\":[],\"requiredOptionsDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38078,\"name\":\"Galley Pack\",\"image\":\"/media/385415/galley_pack_875sd_compo_f.jpg\",\"items\":[{\"id\":38078,\"name\":\"Galley Pack\",\"image\":\"/media/385415/galley_pack_875sd_compo_f.jpg\"},{\"id\":38082,\"name\":\"Refrigerator\",\"image\":\"/media/385410/875_sundeck_detail_1442_ice-drawer_f.jpg\"},{\"id\":38083,\"name\":\"Dual Burner Stove LPG\",\"image\":\"/media/385409/875-cruiser-detail-1795_lpg-stove_f.jpg\"}],\"price\":1700.00,\"incompatiblePacks\":[37990],\"incompatibilityDescription\":\"\\\"SMART Edition\\\"\",\"incompatibleOptions\":[38060],\"incompatibleOptionsDescription\":\"\\\"Electric Grill\\\"\",\"requiredOptions\":[],\"requiredOptionsDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38084,\"name\":\"Privilege Pack\",\"image\":\"/media/385449/privilege_pack_875sd_composition_f.jpg\",\"items\":[{\"id\":38084,\"name\":\"Privilege Pack\",\"image\":\"/media/385449/privilege_pack_875sd_composition_f.jpg\"},{\"id\":38090,\"name\":\"Flexi teak Flooring\",\"image\":\"/media/385407/875_sundeck_detail_0877_flexi-teak-flooring_f.jpg\"},{\"id\":38088,\"name\":\"Upgraded Uphosltery (cockpit + foredeck+helm seat)\",\"image\":\"/media/385408/upgrade-upholstery_875sd_composition_f.jpg\"},{\"id\":38091,\"name\":\"Upgraded steering wheel\",\"image\":\"/media/385406/875-cruiser-detail-1377_upg-steering-wheel_f.jpg\"},{\"id\":38092,\"name\":\"Upholstered liner and storage pads\",\"image\":\"/media/385405/upholstered-cabin_875sd_compo_f.jpg\"},{\"id\":38093,\"name\":\"Headliner LED lighting\",\"image\":\"/media/385403/875_sundeck_detail_0179_headliner-led_f.jpg\"},{\"id\":38094,\"name\":\"Hatch Screen Cover (hatch cover and mosquito net)\",\"image\":\"/media/385404/foredeck-hatch-cover_875sd_compo_f.jpg\"}],\"price\":4910.00,\"incompatiblePacks\":[],\"incompatibilityDescription\":\"\",\"incompatibleOptions\":[],\"incompatibleOptionsDescription\":\"\",\"requiredOptions\":[],\"requiredOptionsDescription\":\"\",\"discount\":null,\"available\":true}]},\"recommendedConfigurations\":[{\"id\":38020,\"badgeImageUrl\":\"\",\"name\":\"Most popular\",\"description\":\"\",\"engine\":30922,\"packs\":[37990],\"optionalEquipment\":[37971,38049,38044,37979,37980,37981,38062,37986,38067]},{\"id\":38022,\"badgeImageUrl\":\"\",\"name\":\"Sport configuration\",\"description\":\"\",\"engine\":30942,\"packs\":[37990,38084],\"optionalEquipment\":[38039,38048,38045,38042,37979,37980,37981,37982,38062,38066,37986,38067]},{\"id\":-1,\"badgeImageUrl\":\"/media/387116/icon_scratch.png\",\"name\":\"Start from scratch\",\"description\":\"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do.\",\"engine\":30922,\"packs\":[],\"optionalEquipment\":[]}],\"dictionary\":{\"close\":\"Close\",\"headerAccessoriesTitle\":\"Accessories\",\"headerEngineTitle\":\"Engine\",\"headerOptionsTitle\":\"Options\",\"headerOverviewTitle\":\"Overview\",\"headerPacksTitle\":\"Packs\",\"headerReturn2Overview\":\"Return to model overview\",\"headerStartTitle\":\"Standard equipment\",\"headerTitle\":\"Configurator\",\"autofillFor\":\"Autofill for:\",\"popupTitle\":\"Boat builder loaded \",\"start\":\"Start\",\"chooseEngineBtn\":\"Choose engine\",\"stdEquipmentTitle\":\"Standard equipment\",\"choosePacksBtn\":\"Choose packs\",\"engineSelectionTitle\":\"Engine\",\"chooseOptionsBtn\":\"Choose options\",\"comparePacks\":\"Compare packs\",\"comparePacksClose\":\"Close\",\"notCompatible\":\"(Incompatible with {0})\",\"notAvailablePack\":\"(Price currently not available)\",\"choosePacksTitle\":\"Packs\",\"openPackContent\":\"Show pack content\",\"hidePackContent\":\"Hide pack content\",\"notCompatibleOptions\":\"(Option is not compatible with {0})\",\"requiredForPacks\":\"(Option required as part of {0})\",\"packIncompatibleOptions\":\"(Incompatible options: {0})\",\"packRequiredOptions\":\"(Required options: {0})\",\"chooseAccessoriesBtn\":\"Finish\",\"chooseOptionsTitle\":\"Options\",\"partOf\":\"(Part of {0})\",\"notAvailableOption\":\"(Price currently not available)\",\"requiredRelatedOptions\":\"Requires related option: {0}\",\"isRequiredForOptions\":\"Required if one of the following options is selected: {0}\",\"freeOfCharge\":\"Free of charge\",\"overviewTitle\":\"Overview\",\"personalInformation\":\"Where do we need to send your configuration?\",\"titleMr\":\"Mr\",\"titleMrs\":\"Mrs\",\"firstName\":\"First name\",\"firstNamePlaceholder\":\"First name\",\"lastName\":\"Last name\",\"lastNamePlaceholder\":\"Last name\",\"email\":\"Email\",\"emailPlaceholder\":\"Email\",\"phonePrefix\":\"Prefix\",\"phonePrefixPlaceholder\":\"+ xx\",\"phone\":\"Phone\",\"phonePlaceholder\":\"Phone\",\"streetAddress\":\"Street\",\"streetAddressPlaceholder\":\"Street\",\"streetAddressNr\":\"Nr\",\"streetAddressNrPlaceholder\":\"Nr\",\"postalCode\":\"Zip\",\"postalCodePlaceholder\":\"Zip\",\"city\":\"City\",\"cityPlaceholder\":\"City\",\"chooseACountry\":\"Choose country\",\"send2me\":\"Send this configuration to me\",\"send2Friend\":\"Send this configuration to a friend\",\"send2FriendEmailPlaceholder\":\"Friend's email address\",\"request4Quote\":\"Request a quote for this configuration & select a dealer\",\"chooseDealer\":\"Choose dealer\",\"findDealerOnMap\":\"Find dealer on map\",\"optin\":\"I would like to receive Quicksilver news and promotional information\",\"requiredFields\":\"Required fields\",\"saveQuote\":\"Receive configuration\",\"subtotal\":\"\",\"freight\":\"Freight\",\"selectedOptions\":\"Selected options\",\"total\":\"Total\",\"loadingMap\":\"Loading map...\",\"selectDealer\":\"Select dealer\",\"selectedPacks\":\"Selected packs\",\"thankYouHeadline\":\"Thank you for your interest\",\"sentEmailConfirmation\":\"Thank you, we have sent your configuration to\",\"sentTwoEmailConfirmation\":\"Thank you, we’ve sent your configuration to {0} and to {1}.\",\"sentToDealerConfirmation\":\"You will receive a quote by the dealer of your choice shortly.\",\"printQuote\":\"Print configuration\",\"modelsOverview\":\"Return to model overview\",\"modelsSelector\":\"Return to all models\",\"setCourseWith\":\"Set course with\",\"chooseThisSetting\":\"Choose this configuration\",\"boatWithEngine\":\"Boat with engine\",\"startingFrom\":\"Starting from\",\"moreOnMercurySite\":\"More on Mercury website\",\"thankYouText\":\"\",\"priceExVat\":\"Price without VAT\",\"vatInfo\":\"VAT (21%)\",\"priceIncVat\":\"Price including VAT\",\"specificConstraints\":\"<p>Batteries, handling, preparation and launching not included.</p>\"},\"countries\":[{\"id\":0,\"code\":\"AF\",\"name\":\"AFGHANISTAN\"},{\"id\":0,\"code\":\"AL\",\"name\":\"ALBANIA\"},{\"id\":0,\"code\":\"DZ\",\"name\":\"ALGERIA\"},{\"id\":0,\"code\":\"AS\",\"name\":\"AMERICAN SAMOA\"},{\"id\":0,\"code\":\"AD\",\"name\":\"ANDORRA\"},{\"id\":0,\"code\":\"AO\",\"name\":\"ANGOLA\"},{\"id\":0,\"code\":\"AI\",\"name\":\"ANGUILLA\"},{\"id\":0,\"code\":\"AQ\",\"name\":\"ANTARCTICA\"},{\"id\":0,\"code\":\"AG\",\"name\":\"ANTIGUA & BARBUDA\"},{\"id\":0,\"code\":\"AR\",\"name\":\"ARGENTINA\"},{\"id\":0,\"code\":\"AM\",\"name\":\"ARMENIA\"},{\"id\":0,\"code\":\"AW\",\"name\":\"ARUBA\"},{\"id\":0,\"code\":\"AU\",\"name\":\"AUSTRALIA\"},{\"id\":0,\"code\":\"AT\",\"name\":\"AUSTRIA\"},{\"id\":0,\"code\":\"AZ\",\"name\":\"AZERBAIJAN\"},{\"id\":0,\"code\":\"BS\",\"name\":\"BAHAMAS\"},{\"id\":0,\"code\":\"BH\",\"name\":\"BAHRAIN\"},{\"id\":0,\"code\":\"BD\",\"name\":\"BANGLADESH\"},{\"id\":0,\"code\":\"BB\",\"name\":\"BARBADOS\"},{\"id\":0,\"code\":\"BY\",\"name\":\"BELARUS\"},{\"id\":0,\"code\":\"BE\",\"name\":\"BELGIUM\"},{\"id\":0,\"code\":\"BZ\",\"name\":\"BELIZE\"},{\"id\":0,\"code\":\"BJ\",\"name\":\"BENIN\"},{\"id\":0,\"code\":\"BM\",\"name\":\"BERMUDA\"},{\"id\":0,\"code\":\"BT\",\"name\":\"BHUTAN\"},{\"id\":0,\"code\":\"BO\",\"name\":\"BOLIVIA\"},{\"id\":0,\"code\":\"BA\",\"name\":\"BOSNIA-HERZEGOVINA\"},{\"id\":0,\"code\":\"BW\",\"name\":\"BOTSWANA\"},{\"id\":0,\"code\":\"BV\",\"name\":\"BOUVET ISLAND\"},{\"id\":0,\"code\":\"IO\",\"name\":\"BR. INDIAN OCEAN TER\"},{\"id\":0,\"code\":\"BR\",\"name\":\"BRAZIL\"},{\"id\":0,\"code\":\"VG\",\"name\":\"BRITISH VIRGIN ISL.\"},{\"id\":0,\"code\":\"BN\",\"name\":\"BRUNEI\"},{\"id\":0,\"code\":\"BG\",\"name\":\"BULGARIA\"},{\"id\":0,\"code\":\"BF\",\"name\":\"BURKINA-FASO\"},{\"id\":0,\"code\":\"BI\",\"name\":\"BURUNDI\"},{\"id\":0,\"code\":\"KH\",\"name\":\"CAMBODIA\"},{\"id\":0,\"code\":\"CM\",\"name\":\"CAMEROON\"},{\"id\":0,\"code\":\"CA\",\"name\":\"CANADA\"},{\"id\":0,\"code\":\"CV\",\"name\":\"CAPE VERDE\"},{\"id\":0,\"code\":\"KY\",\"name\":\"CAYMAN ISLANDS\"},{\"id\":0,\"code\":\"CF\",\"name\":\"CENTRAL AFRICAN REP.\"},{\"id\":0,\"code\":\"XC\",\"name\":\"CEUTA\"},{\"id\":0,\"code\":\"TD\",\"name\":\"CHAD\"},{\"id\":0,\"code\":\"CL\",\"name\":\"CHILE\"},{\"id\":0,\"code\":\"CN\",\"name\":\"CHINA\"},{\"id\":0,\"code\":\"CX\",\"name\":\"CHRISTMAS ISLAND\"},{\"id\":0,\"code\":\"CC\",\"name\":\"COCOS ISLANDS\"},{\"id\":0,\"code\":\"CO\",\"name\":\"COLOMBIA\"},{\"id\":0,\"code\":\"KM\",\"name\":\"COMOROS\"},{\"id\":0,\"code\":\"CG\",\"name\":\"CONGO\"},{\"id\":0,\"code\":\"CD\",\"name\":\"CONGO,DEM REP OF THE\"},{\"id\":0,\"code\":\"CK\",\"name\":\"COOK ISLANDS\"},{\"id\":0,\"code\":\"CR\",\"name\":\"COSTA RICA\"},{\"id\":0,\"code\":\"HR\",\"name\":\"CROATIA\"},{\"id\":0,\"code\":\"CU\",\"name\":\"CUBA\"},{\"id\":0,\"code\":\"CY\",\"name\":\"CYPRUS\"},{\"id\":0,\"code\":\"CZ\",\"name\":\"CZECH REPUBLIC\"},{\"id\":0,\"code\":\"DK\",\"name\":\"DENMARK\"},{\"id\":0,\"code\":\"EU\",\"name\":\"DIVERS EEC\"},{\"id\":0,\"code\":\"DJ\",\"name\":\"DJIBOUTI\"},{\"id\":0,\"code\":\"DM\",\"name\":\"DOMINICA\"},{\"id\":0,\"code\":\"DO\",\"name\":\"DOMINICAN REPUBLIC\"},{\"id\":0,\"code\":\"EG\",\"name\":\"EGYPT\"},{\"id\":0,\"code\":\"SV\",\"name\":\"EL SALVADOR\"},{\"id\":0,\"code\":\"EC\",\"name\":\"EQUADOR\"},{\"id\":0,\"code\":\"GQ\",\"name\":\"EQUATORIAL GUINEA\"},{\"id\":0,\"code\":\"ER\",\"name\":\"ERITREA\"},{\"id\":0,\"code\":\"EE\",\"name\":\"ESTONIA\"},{\"id\":0,\"code\":\"ET\",\"name\":\"ETHIOPIA\"},{\"id\":0,\"code\":\"FK\",\"name\":\"FALKLAND ISLANDS\"},{\"id\":0,\"code\":\"FO\",\"name\":\"FAROE ISLANDS\"},{\"id\":0,\"code\":\"FJ\",\"name\":\"FIJI\"},{\"id\":0,\"code\":\"FI\",\"name\":\"FINLAND\"},{\"id\":0,\"code\":\"FR\",\"name\":\"FRANCE\"},{\"id\":0,\"code\":\"PF\",\"name\":\"FRENCH POLYNESIA\"},{\"id\":0,\"code\":\"GA\",\"name\":\"GABON\"},{\"id\":0,\"code\":\"GM\",\"name\":\"GAMBIA\"},{\"id\":0,\"code\":\"GE\",\"name\":\"GEORGIA\"},{\"id\":0,\"code\":\"DE\",\"name\":\"GERMANY\"},{\"id\":0,\"code\":\"GH\",\"name\":\"GHANA\"},{\"id\":0,\"code\":\"GI\",\"name\":\"GIBRALTAR\"},{\"id\":0,\"code\":\"GR\",\"name\":\"GREECE\"},{\"id\":0,\"code\":\"GL\",\"name\":\"GREENLAND\"},{\"id\":0,\"code\":\"GD\",\"name\":\"GRENADA\"},{\"id\":0,\"code\":\"GP\",\"name\":\"GUADELOUPE\"},{\"id\":0,\"code\":\"GU\",\"name\":\"GUAM\"},{\"id\":0,\"code\":\"GT\",\"name\":\"GUATEMALA\"},{\"id\":0,\"code\":\"GN\",\"name\":\"GUINEA\"},{\"id\":0,\"code\":\"GW\",\"name\":\"GUINEA-BISSAU\"},{\"id\":0,\"code\":\"GY\",\"name\":\"GUYANA\"},{\"id\":0,\"code\":\"HT\",\"name\":\"HAITI\"},{\"id\":0,\"code\":\"HM\",\"name\":\"HEARD AND MC DONALD\"},{\"id\":0,\"code\":\"HN\",\"name\":\"HONDURAS\"},{\"id\":0,\"code\":\"HK\",\"name\":\"HONG KONG\"},{\"id\":0,\"code\":\"HU\",\"name\":\"HUNGARY\"},{\"id\":0,\"code\":\"IS\",\"name\":\"ICELAND\"},{\"id\":0,\"code\":\"IN\",\"name\":\"INDIA\"},{\"id\":0,\"code\":\"ID\",\"name\":\"INDONESIA\"},{\"id\":0,\"code\":\"IR\",\"name\":\"IRAN\"},{\"id\":0,\"code\":\"IQ\",\"name\":\"IRAQ\"},{\"id\":0,\"code\":\"IE\",\"name\":\"IRELAND\"},{\"id\":0,\"code\":\"IL\",\"name\":\"ISRAEL\"},{\"id\":0,\"code\":\"IT\",\"name\":\"ITALY\"},{\"id\":0,\"code\":\"CI\",\"name\":\"IVORY COAST\"},{\"id\":0,\"code\":\"JM\",\"name\":\"JAMAICA\"},{\"id\":0,\"code\":\"JP\",\"name\":\"JAPAN\"},{\"id\":0,\"code\":\"JO\",\"name\":\"JORDAN\"},{\"id\":0,\"code\":\"KZ\",\"name\":\"KAZAKHSTAN\"},{\"id\":0,\"code\":\"KE\",\"name\":\"KENYA\"},{\"id\":0,\"code\":\"KI\",\"name\":\"KIRIBATI\"},{\"id\":0,\"code\":\"KR\",\"name\":\"KOREA, REPUBLIC OF\"},{\"id\":0,\"code\":\"KP\",\"name\":\"KOREA,DEM.PEOPLE REP\"},{\"id\":0,\"code\":\"XK\",\"name\":\"KOSOVO\"},{\"id\":0,\"code\":\"KW\",\"name\":\"KUWAIT\"},{\"id\":0,\"code\":\"KG\",\"name\":\"KYRGYZSTAN\"},{\"id\":0,\"code\":\"LA\",\"name\":\"LAO PEOPLE'S DEM REP\"},{\"id\":0,\"code\":\"LV\",\"name\":\"LATVIA\"},{\"id\":0,\"code\":\"LB\",\"name\":\"LEBANON\"},{\"id\":0,\"code\":\"LS\",\"name\":\"LESOTHO\"},{\"id\":0,\"code\":\"LR\",\"name\":\"LIBERIA\"},{\"id\":0,\"code\":\"LI\",\"name\":\"LIECHTENSTEIN\"},{\"id\":0,\"code\":\"LT\",\"name\":\"LITHUANIA\"},{\"id\":0,\"code\":\"LU\",\"name\":\"LUXEMBURG\"},{\"id\":0,\"code\":\"LY\",\"name\":\"LYBIAN ARAB\"},{\"id\":0,\"code\":\"MO\",\"name\":\"MACAU\"},{\"id\":0,\"code\":\"MK\",\"name\":\"MACEDONIA\"},{\"id\":0,\"code\":\"MG\",\"name\":\"MADAGASCAR\"},{\"id\":0,\"code\":\"MW\",\"name\":\"MALAWI\"},{\"id\":0,\"code\":\"MY\",\"name\":\"MALAYSIA\"},{\"id\":0,\"code\":\"MV\",\"name\":\"MALDIVES\"},{\"id\":0,\"code\":\"ML\",\"name\":\"MALI\"},{\"id\":0,\"code\":\"MT\",\"name\":\"MALTA\"},{\"id\":0,\"code\":\"MH\",\"name\":\"MARSHALL ISLANDS\"},{\"id\":0,\"code\":\"MQ\",\"name\":\"MARTINIQUE\"},{\"id\":0,\"code\":\"MR\",\"name\":\"MAURITANIA\"},{\"id\":0,\"code\":\"MU\",\"name\":\"MAURITIUS\"},{\"id\":0,\"code\":\"YT\",\"name\":\"MAYOTTE\"},{\"id\":0,\"code\":\"XL\",\"name\":\"MELILLA\"},{\"id\":0,\"code\":\"MX\",\"name\":\"MEXICO\"},{\"id\":0,\"code\":\"FM\",\"name\":\"MICRONESIA,FED.STATE\"},{\"id\":0,\"code\":\"MD\",\"name\":\"MOLDOVA, REPUBLIC OF\"},{\"id\":0,\"code\":\"MN\",\"name\":\"MONGOLIA\"},{\"id\":0,\"code\":\"ME\",\"name\":\"MONTENEGRO\"},{\"id\":0,\"code\":\"MS\",\"name\":\"MONTSERRAT\"},{\"id\":0,\"code\":\"MA\",\"name\":\"MOROCCO\"},{\"id\":0,\"code\":\"MZ\",\"name\":\"MOZAMBIQUE\"},{\"id\":0,\"code\":\"MM\",\"name\":\"MYANMAR\"},{\"id\":0,\"code\":\"NA\",\"name\":\"NAMIBIA\"},{\"id\":0,\"code\":\"NR\",\"name\":\"NAURU\"},{\"id\":0,\"code\":\"NP\",\"name\":\"NEPAL\"},{\"id\":0,\"code\":\"NL\",\"name\":\"NETHERLANDS\"},{\"id\":0,\"code\":\"AN\",\"name\":\"NETHERLANDS ANTILLES\"},{\"id\":0,\"code\":\"NC\",\"name\":\"NEW CALEDONIA\"},{\"id\":0,\"code\":\"NZ\",\"name\":\"NEW ZEALAND\"},{\"id\":0,\"code\":\"NI\",\"name\":\"NICARAGUA\"},{\"id\":0,\"code\":\"NE\",\"name\":\"NIGER\"},{\"id\":0,\"code\":\"NG\",\"name\":\"NIGERIA\"},{\"id\":0,\"code\":\"NU\",\"name\":\"NIUE\"},{\"id\":0,\"code\":\"NF\",\"name\":\"NORFOLK ISLAND\"},{\"id\":0,\"code\":\"MP\",\"name\":\"NORTHERN MARIANA ISL\"},{\"id\":0,\"code\":\"NO\",\"name\":\"NORWAY\"},{\"id\":0,\"code\":\"OM\",\"name\":\"OMAN\"},{\"id\":0,\"code\":\"PK\",\"name\":\"PAKISTAN\"},{\"id\":0,\"code\":\"PA\",\"name\":\"PANAMA\"},{\"id\":0,\"code\":\"PG\",\"name\":\"PAPUA NEW GUINEA\"},{\"id\":0,\"code\":\"PY\",\"name\":\"PARAGUAY\"},{\"id\":0,\"code\":\"PH\",\"name\":\"PHILIPPINES\"},{\"id\":0,\"code\":\"PN\",\"name\":\"PITCAIRN ISLAND\"},{\"id\":0,\"code\":\"PL\",\"name\":\"POLAND\"},{\"id\":0,\"code\":\"PT\",\"name\":\"PORTUGAL\"},{\"id\":0,\"code\":\"QA\",\"name\":\"QATAR\"},{\"id\":0,\"code\":\"RE\",\"name\":\"REUNION\"},{\"id\":0,\"code\":\"RO\",\"name\":\"ROMANIA\"},{\"id\":0,\"code\":\"RU\",\"name\":\"RUSSIAN FEDERATION\"},{\"id\":0,\"code\":\"RW\",\"name\":\"RWANDA\"},{\"id\":0,\"code\":\"LC\",\"name\":\"SAINT LUCIA\"},{\"id\":0,\"code\":\"WS\",\"name\":\"SAMOA\"},{\"id\":0,\"code\":\"SM\",\"name\":\"SAN MARINO\"},{\"id\":0,\"code\":\"ST\",\"name\":\"SAO TOME & PRINCIPE\"},{\"id\":0,\"code\":\"SA\",\"name\":\"SAUDI ARABIA\"},{\"id\":0,\"code\":\"SN\",\"name\":\"SENEGAL\"},{\"id\":0,\"code\":\"XS\",\"name\":\"SERBIE\"},{\"id\":0,\"code\":\"SC\",\"name\":\"SEYCHELLES\"},{\"id\":0,\"code\":\"SL\",\"name\":\"SIERRA LEONE\"},{\"id\":0,\"code\":\"SG\",\"name\":\"SINGAPORE\"},{\"id\":0,\"code\":\"SK\",\"name\":\"SLOVAKIA\"},{\"id\":0,\"code\":\"SI\",\"name\":\"SLOVENIA\"},{\"id\":0,\"code\":\"SB\",\"name\":\"SOLOMON ISLANDS\"},{\"id\":0,\"code\":\"SO\",\"name\":\"SOMALIA\"},{\"id\":0,\"code\":\"ZA\",\"name\":\"SOUTH AFRICA\"},{\"id\":0,\"code\":\"ES\",\"name\":\"SPAIN\"},{\"id\":0,\"code\":\"LK\",\"name\":\"SRI LANKA\"},{\"id\":0,\"code\":\"VC\",\"name\":\"ST VINCENT & GRENADI\"},{\"id\":0,\"code\":\"SH\",\"name\":\"ST. HELENA\"},{\"id\":0,\"code\":\"KN\",\"name\":\"ST. KITTS-NEVIS-ANG.\"},{\"id\":0,\"code\":\"PM\",\"name\":\"ST.PIERRE & MIQUELON\"},{\"id\":0,\"code\":\"SD\",\"name\":\"SUDAN\"},{\"id\":0,\"code\":\"SR\",\"name\":\"SURINAME\"},{\"id\":0,\"code\":\"SZ\",\"name\":\"SWAZILAND\"},{\"id\":0,\"code\":\"SE\",\"name\":\"SWEDEN\"},{\"id\":0,\"code\":\"CH\",\"name\":\"SWITZERLAND\"},{\"id\":0,\"code\":\"SY\",\"name\":\"SYRIAN\"},{\"id\":0,\"code\":\"TW\",\"name\":\"TAIWAN\"},{\"id\":0,\"code\":\"TJ\",\"name\":\"TAJIKISTAN\"},{\"id\":0,\"code\":\"TZ\",\"name\":\"TANZANIA, UNITED REP\"},{\"id\":0,\"code\":\"TH\",\"name\":\"THAILAND\"},{\"id\":0,\"code\":\"TL\",\"name\":\"TIMOR-LESTE\"},{\"id\":0,\"code\":\"TG\",\"name\":\"TOGO\"},{\"id\":0,\"code\":\"TK\",\"name\":\"TOKELAU\"},{\"id\":0,\"code\":\"TO\",\"name\":\"TONGA\"},{\"id\":0,\"code\":\"TT\",\"name\":\"TRINIDAD AND TOBAGO\"},{\"id\":0,\"code\":\"TN\",\"name\":\"TUNISIA\"},{\"id\":0,\"code\":\"TR\",\"name\":\"TURKEY\"},{\"id\":0,\"code\":\"TM\",\"name\":\"TURKMENISTAN\"},{\"id\":0,\"code\":\"TC\",\"name\":\"TURKS AND CAICOS ISL\"},{\"id\":0,\"code\":\"TV\",\"name\":\"TUVALU\"},{\"id\":0,\"code\":\"UG\",\"name\":\"UGANDA\"},{\"id\":0,\"code\":\"UA\",\"name\":\"UKRAINE\"},{\"id\":0,\"code\":\"AE\",\"name\":\"UNITED ARAB EMIRATES\"},{\"id\":0,\"code\":\"GB\",\"name\":\"UNITED KINGDOM\"},{\"id\":0,\"code\":\"US\",\"name\":\"UNITED STATES\"},{\"id\":0,\"code\":\"UY\",\"name\":\"URUGUAY\"},{\"id\":0,\"code\":\"VI\",\"name\":\"US VIRGIN ISLANDS\"},{\"id\":0,\"code\":\"UZ\",\"name\":\"UZBEKISTAN\"},{\"id\":0,\"code\":\"VU\",\"name\":\"VANUATU\"},{\"id\":0,\"code\":\"VA\",\"name\":\"VATICAN CITY STATE\"},{\"id\":0,\"code\":\"VE\",\"name\":\"VENEZUELA\"},{\"id\":0,\"code\":\"VN\",\"name\":\"VIET NAM\"},{\"id\":0,\"code\":\"WF\",\"name\":\"WALLIS & FUTUNA ISL.\"},{\"id\":0,\"code\":\"YE\",\"name\":\"YEMEN\"},{\"id\":0,\"code\":\"ZM\",\"name\":\"ZAMBIA\"},{\"id\":0,\"code\":\"ZW\",\"name\":\"ZIMBABWE\"}],\"engineDecisionPath\":{\"engineDecisionBasedOnInboardVsOutboard\":false,\"engineDecisionBasedOnFourstrokeOrVerado\":false,\"engineDecisionBasedOnSingleVsDual\":true,\"descriptions\":[{\"identifier\":\"single\",\"description\":\"\"},{\"identifier\":\"dual\",\"description\":\"\"}],\"startingPriceInfo\":[{\"identifier\":\"single\",\"startPrice\":72450.00},{\"identifier\":\"dual\",\"startPrice\":83680.00}],\"hpRanges\":[{\"identifier\":\"single\",\"minimum\":0,\"maximum\":0},{\"identifier\":\"dual\",\"minimum\":0,\"maximum\":0}]}},getConfiguratorWithSkippedSteps:{\"title\":\"\",\"text\":\"<p><span>Check the unique features you can use to adapt your boat to your wishes. Not sure what to choose? Then let us make a suggestion, based on either the most popular options or our expert recommendations.</span></p>\",\"image\":\"/media/383343/505_ca_1_roll-up-v1.jpg?anchor=center&mode=crop&width=800&height=600&rnd=131218751530000000\",\"modelUrl\":\"/be/en/products/activ-505-cabin/\",\"modelsUrl\":\"/be/en/product-selector/\",\"priceSetting\":{\"showPrices\":true,\"thousandSeparator\":\".\",\"decimalSeparator\":\",\",\"currency\":\"€\"},\"vat\":21.00,\"steps\":[{\"stepNumber\":0,\"mastheadTitle\":\"Start\",\"title\":\"Start\",\"text\":\"<p><span>Check the unique features you can use to adapt your boat to your wishes. Not sure what to choose? Then let us make a suggestion, based on either the most popular options or our expert recommendations.</span></p>\",\"sidebarText\":\"\",\"slug\":\"start\",\"button\":\"Standard equipment\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":1,\"mastheadTitle\":\"Standard equipment\",\"title\":\"Standard equipment\",\"text\":\"<p>All features and equipment listed below are already included in your boat. Browse the standard equipment or start tweaking your boat by clicking ‘Choose engine’ at the bottom of the page.</p>\",\"sidebarText\":\"\",\"slug\":\"standard-equipment\",\"button\":\"Choose engine\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":2,\"mastheadTitle\":\"Engine\",\"title\":\"Engine\",\"text\":\"<p><span>The engines listed in this section are all compatible with the boat you have selected. By default, we suggest an engine that suits most boaters’ needs but you can tailor the engine to your preferences. If you would like to know more about the different engines, you can find information on the </span><a href=\\\"https://www.mercurymarine.com/nl/nl/\\\" target=\\\"_blank\\\" class=\\\"link--special\\\">Mercury website</a><span>.</span></p>\",\"sidebarText\":\"\",\"slug\":\"engine\",\"button\":\"Choose options\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":4,\"mastheadTitle\":\"Options\",\"title\":\"Options\",\"text\":\"<p>Complete the personalisation process by adding exactly those options that you will enjoy the most on the water. We’ve made it impossible to make any mistake: you can’t tick an option that’s incompatible with another one you’ve already selected. Likewise, you can’t choose options that are already included in a pack you’ve added.</p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finish\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Overview\",\"title\":\"Overview\",\"text\":\"<p><span>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}}}}},{\"stepNumber\":1,\"mastheadTitle\":\"Standard equipment\",\"title\":\"Standard equipment\",\"text\":\"<p>All features and equipment listed below are already included in your boat. Browse the standard equipment or start tweaking your boat by clicking ‘Choose engine’ at the bottom of the page.</p>\",\"sidebarText\":\"\",\"slug\":\"standard-equipment\",\"button\":\"Choose engine\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":2,\"mastheadTitle\":\"Engine\",\"title\":\"Engine\",\"text\":\"<p><span>The engines listed in this section are all compatible with the boat you have selected. By default, we suggest an engine that suits most boaters’ needs but you can tailor the engine to your preferences. If you would like to know more about the different engines, you can find information on the </span><a href=\\\"https://www.mercurymarine.com/nl/nl/\\\" target=\\\"_blank\\\" class=\\\"link--special\\\">Mercury website</a><span>.</span></p>\",\"sidebarText\":\"\",\"slug\":\"engine\",\"button\":\"Choose options\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":4,\"mastheadTitle\":\"Options\",\"title\":\"Options\",\"text\":\"<p>Complete the personalisation process by adding exactly those options that you will enjoy the most on the water. We’ve made it impossible to make any mistake: you can’t tick an option that’s incompatible with another one you’ve already selected. Likewise, you can’t choose options that are already included in a pack you’ve added.</p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finish\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Overview\",\"title\":\"Overview\",\"text\":\"<p><span>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}}}},{\"stepNumber\":2,\"mastheadTitle\":\"Engine\",\"title\":\"Engine\",\"text\":\"<p><span>The engines listed in this section are all compatible with the boat you have selected. By default, we suggest an engine that suits most boaters’ needs but you can tailor the engine to your preferences. If you would like to know more about the different engines, you can find information on the </span><a href=\\\"https://www.mercurymarine.com/nl/nl/\\\" target=\\\"_blank\\\" class=\\\"link--special\\\">Mercury website</a><span>.</span></p>\",\"sidebarText\":\"\",\"slug\":\"engine\",\"button\":\"Choose options\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":4,\"mastheadTitle\":\"Options\",\"title\":\"Options\",\"text\":\"<p>Complete the personalisation process by adding exactly those options that you will enjoy the most on the water. We’ve made it impossible to make any mistake: you can’t tick an option that’s incompatible with another one you’ve already selected. Likewise, you can’t choose options that are already included in a pack you’ve added.</p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finish\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Overview\",\"title\":\"Overview\",\"text\":\"<p><span>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}}},{\"stepNumber\":3,\"mastheadTitle\":\"Packs\",\"title\":\"Packs\",\"text\":\"<p>Packs offer several complementary options at a discount rate. The SMART Edition consists of the most popular options overall. A SMART Edition configuration is sold most often, which has the added advantage of being available at your dealer either right away or with a short delivery time. Other packs add comfort for specific boat areas (like the cockpit or cabin) and activities (such as water sports or cruising).</p>\",\"sidebarText\":\"\",\"slug\":\"packs\",\"button\":\"Choose options\",\"skipStep\":true,\"nextStep\":{\"stepNumber\":4,\"mastheadTitle\":\"Options\",\"title\":\"Options\",\"text\":\"<p>Complete the personalisation process by adding exactly those options that you will enjoy the most on the water. We’ve made it impossible to make any mistake: you can’t tick an option that’s incompatible with another one you’ve already selected. Likewise, you can’t choose options that are already included in a pack you’ve added.</p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finish\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Overview\",\"title\":\"Overview\",\"text\":\"<p><span>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}}},{\"stepNumber\":4,\"mastheadTitle\":\"Options\",\"title\":\"Options\",\"text\":\"<p>Complete the personalisation process by adding exactly those options that you will enjoy the most on the water. We’ve made it impossible to make any mistake: you can’t tick an option that’s incompatible with another one you’ve already selected. Likewise, you can’t choose options that are already included in a pack you’ve added.</p>\",\"sidebarText\":\"\",\"slug\":\"options\",\"button\":\"Finish\",\"skipStep\":false,\"nextStep\":{\"stepNumber\":5,\"mastheadTitle\":\"Overview\",\"title\":\"Overview\",\"text\":\"<p><span>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}},{\"stepNumber\":5,\"mastheadTitle\":\"Overview\",\"title\":\"Overview\",\"text\":\"<p><span>Congratulations, you’ve just put together your own boat! Check out the overview of your configuration with suggested retail prices. Below, you can request a quote to receive a personalised offer from a dealer near you.</span></p>\",\"sidebarText\":\"\",\"slug\":\"overview\",\"button\":\"\",\"skipStep\":false,\"nextStep\":null}],\"boat\":{\"id\":23268,\"name\":\"Activ 505 Cabin\",\"image\":\"/media/380603/activ_505_1_cabin.jpg?mode=pad&width=400&rnd=130990536990000000\",\"freight\":{\"price\":710.00,\"discount\":{\"percent\":0.0,\"amount\":0.0}},\"standardEquipment\":[{\"name\":\"Hull & Deck\",\"items\":[{\"id\":23271,\"name\":\"Bow Roller\",\"image\":\"/media/380266/505-cabin-dtls-062_bow-roller_f.jpg\"},{\"id\":23272,\"name\":\"Swim Ladder\",\"image\":\"/media/380264/swim-ladder_505ca_composition_f.jpg\"},{\"id\":23273,\"name\":\"Navigation lights\",\"image\":\"/media/380265/505-cabin-dtls-062_navigation-lights_f.jpg\"},{\"id\":23274,\"name\":\"Forward line/anchor Locker\",\"image\":\"/media/380263/505-cabin-dtls-045forward-line-anchor-locker_f.jpg\"},{\"id\":23275,\"name\":\"Self Bailing Cockpit\",\"image\":\"/media/380261/self-bailing-cockpit_505ca_composition_f.jpg\"},{\"id\":23276,\"name\":\"Rod holders\",\"image\":\"/media/380258/rod-holders_505ca_composition_f.jpg\"}]},{\"name\":\"Helm\",\"items\":[{\"id\":23278,\"name\":\"Analog Speedometer/Tachometer\",\"image\":\"/media/380262/455-cabin-dtls-412_analog-speedometer-tachometer_f.jpg\"},{\"id\":23279,\"name\":\"Trim gauge\",\"image\":\"/media/380257/505-cabin-dtls-414_trim-gauge_f.jpg\"},{\"id\":23280,\"name\":\"12v electrical socket\",\"image\":\"/media/380260/12v-electrical-socket_505ca_composition_f.jpg\"}]},{\"name\":\"Cabin\",\"items\":[{\"id\":23282,\"name\":\"2 berths\",\"image\":\"/media/380256/505-cabin-dtls-608_2-berths_f.jpg\"}]},{\"name\":\"Cockpit\",\"items\":[{\"id\":23284,\"name\":\"Pilot Seat with Flip Bolster and Swivel\",\"image\":\"/media/380259/505-cabin-dtls-018_pilot-seat-with-flip-bolster-and_f.jpg\"},{\"id\":23285,\"name\":\"Aft Bench Seat\",\"image\":\"/media/380253/505-cabin-dtls-175_aft-bench-seat_f.jpg\"},{\"id\":23286,\"name\":\"Cockpit Table\",\"image\":\"/media/380254/505-cabin-dtls-201_cockpit-table_f.jpg\"},{\"id\":23296,\"name\":\"Cockpit Cushions\",\"image\":\"/media/383723/505-cabin-dtls-298_cockpit-cushions_f_v2.jpg\"}]},{\"name\":\"Equipment\",\"items\":[{\"id\":23288,\"name\":\"Single Battery System\",\"image\":\"\"},{\"id\":23289,\"name\":\"Electric Bilge Pump\",\"image\":\"\"},{\"id\":23290,\"name\":\"OB Pre-Rigging\",\"image\":\"\"},{\"id\":38655,\"name\":\"CO Monitor\",\"image\":\"/media/386408/img_4327_co_monitor_f.jpg\"},{\"id\":41738,\"name\":\"Fire Extinguisher\",\"image\":\"\"}]}],\"engines\":[{\"id\":30905,\"name\":\"FourStroke 60 EFI\",\"image\":\"/media/384665/mercury_fourstroke60efi_199x299px_my2017.jpg?anchor=center&mode=crop&width=47&height=70&rnd=131327647330000000\",\"price\":18760.00,\"displayPrice\":\"\",\"inboard\":false,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":true,\"veradoEngine\":false,\"url\":\"https://www.mercurymarine.com/nl/nl/\"},{\"id\":30906,\"name\":\"FourStroke 60 EFI CT\",\"image\":\"/media/381985/mercury_fourstroke60efict_0_medium.jpg?mode=crop&width=47&height=70&rnd=131056384440000000\",\"price\":19390.00,\"displayPrice\":\"+630.00\",\"inboard\":false,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":true,\"veradoEngine\":false,\"url\":\"https://www.mercurymarine.com/nl/nl/\"},{\"id\":30907,\"name\":\"FourStroke 80 EFI\",\"image\":\"/media/384658/fourstroke_80_efi_v2_199x299px.jpg?anchor=center&mode=crop&width=47&height=70&rnd=131324323940000000\",\"price\":20960.00,\"displayPrice\":\"\",\"inboard\":false,\"dual\":false,\"isDefault\":true,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":true,\"veradoEngine\":false,\"url\":\"https://www.mercurymarine.com/nl/nl/\"},{\"id\":30898,\"name\":\"FourStroke 100 ELPT EFI\",\"image\":\"/media/384659/fourstroke100efi_v2_199x299px.jpg?anchor=center&mode=crop&width=47&height=70&rnd=131324323990000000\",\"price\":22360.00,\"displayPrice\":\"+3600.00\",\"inboard\":false,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":true,\"veradoEngine\":false,\"url\":\"https://www.mercurymarine.com/nl/nl/\"},{\"id\":30899,\"name\":\"FourStroke 100 EFI CT\",\"image\":\"/media/381989/mercury_fourstroke100efict_0_medium.jpg?mode=crop&width=47&height=70&rnd=131056384440000000\",\"price\":23170.00,\"displayPrice\":\"+4410.00\",\"inboard\":false,\"dual\":false,\"isDefault\":false,\"discount\":null,\"hp\":0,\"fourstrokeEngine\":true,\"veradoEngine\":false,\"url\":\"https://www.mercurymarine.com/en/us/?set-country=us\"}],\"options\":[{\"id\":23303,\"name\":\"Hull Color\",\"images\":[\"/media/380246/755-sundeck-dtls-031_hull-color_f.jpg\"],\"items\":[],\"price\":510.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23306,\"name\":\"Smartcraft Speedometer/ Tachometer\",\"images\":[\"/media/380245/505-cabin-dtls-643_smartcraft-speedometer-tachometer_f.jpg\"],\"items\":[],\"price\":600.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[38390],\"isRequiredForOptionDescription\":\"\\\"Active Trim\\\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38243,\"name\":\"GPS/Chart plotter 5\\\"\",\"images\":[],\"items\":[],\"price\":810.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38390,\"name\":\"Active Trim\",\"images\":[\"/media/385850/29875-cruiser-detail-1350_active-trim_f.jpg\"],\"items\":[],\"price\":600.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[23306],\"requiredRelatedOptionsDescription\":\"\\\"Smartcraft Speedometer/ Tachometer\\\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23295,\"name\":\"Co-pilot Seat\",\"images\":[\"/media/380250/co-pilot-seat_505ca_composition_f.jpg\"],\"items\":[],\"price\":400.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23309,\"name\":\"Cockpit sun lounge\",\"images\":[\"/media/380252/505-cabin-dtls-311_cockpit-sunlounge_f.jpg\"],\"items\":[],\"price\":510.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[28840],\"requiredRelatedOptionsDescription\":\"\\\"Back bench filler with cushion\\\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":28840,\"name\":\"Back bench filler with cushion\",\"images\":[\"/media/380249/505-cabin-dtls-202_back-bench-filler-with-cushion_f.jpg\"],\"items\":[],\"price\":460.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[23309],\"isRequiredForOptionDescription\":\"\\\"Cockpit sun lounge\\\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23293,\"name\":\"Berth Cushions/Filler\",\"images\":[\"/media/380247/berth-cushions-filler_505ca_composition_f.jpg\"],\"items\":[],\"price\":210.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23298,\"name\":\"Mooring Cover\",\"images\":[],\"items\":[],\"price\":580.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":23299,\"name\":\"Bimini with Enclosed Canvas\",\"images\":[\"/media/380251/bimini-with-enclosed-canvas_505ca_composition-f.jpg\"],\"items\":[],\"price\":1300.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true},{\"id\":38453,\"name\":\"Mooring kit\",\"images\":[],\"items\":[],\"price\":250.00,\"incompatibilityDescription\":\"\",\"partOfDescription\":\"\",\"requiredRelatedOptions\":[],\"requiredRelatedOptionsDescription\":\"\",\"isRequiredFor\":[],\"isRequiredForOptionDescription\":\"\",\"isPartOf\":[],\"incompatibleItems\":[],\"requiredForPacks\":[],\"requiredForPacksDescription\":\"\",\"incompatibleWithPacks\":[],\"incompatibleWithPacksDescription\":\"\",\"discount\":null,\"available\":true}],\"packs\":[]},\"recommendedConfigurations\":[{\"id\":32912,\"badgeImageUrl\":\"/media/387118/icon_popular.png\",\"defaultEngineBadge\":\"Recommended\",\"name\":\"Most popular\",\"description\":\"Most popular\",\"engine\":30907,\"packs\":[],\"optionalEquipment\":[23295,28840,23299]},{\"id\":32913,\"badgeImageUrl\":\"/media/387117/icon_sport.png\",\"defaultEngineBadge\":\"Sport configuration\",\"name\":\"Sport configuration\",\"description\":\"Description for sport configuration\",\"engine\":30899,\"packs\":[],\"optionalEquipment\":[23303,23306,23295,23309,28840,23293,23298,23299]},{\"id\":-1,\"badgeImageUrl\":\"/media/387116/icon_scratch.png\",\"defaultEngineBadge\":\"Recommended\",\"name\":\"Start from scratch\",\"description\":\"Start from scratch\",\"engine\":30907,\"packs\":[],\"optionalEquipment\":[]}],\"dictionary\":{\"close\":\"Close\",\"step\":\"Step\",\"headerAccessoriesTitle\":\"Accessories\",\"headerEngineTitle\":\"Engine\",\"headerOptionsTitle\":\"Options\",\"headerOverviewTitle\":\"Overview\",\"headerPacksTitle\":\"Packs\",\"headerReturn2Overview\":\"Return to model overview\",\"headerStartTitle\":\"Start\",\"headerTitle\":\"Configurator\",\"autofillFor\":\"Autofill for:\",\"popupTitle\":\"Boat builder loaded \",\"start\":\"Start\",\"chooseEngineBtn\":\"Choose engine\",\"stdEquipmentTitle\":\"Standard equipment\",\"choosePacksBtn\":\"Choose packs\",\"engineSelectionTitle\":\"Engine\",\"engineSingleDescription\":\"\",\"engineDualDescription\":\"Dual description\",\"engineFourstrokeDescription\":\"FourStroke description\",\"engineVeradoDescription\":\"Verado description\",\"engineInboardDescription\":\"Inboard description\",\"engineOutboardDescription\":\"Outboard description\",\"engineShowDetails\":\"Show details\",\"engineHideDetails\":\"Hide details\",\"chooseOptionsBtn\":\"Choose options\",\"comparePacks\":\"Compare packs\",\"comparePacksClose\":\"Close\",\"notCompatible\":\"(Incompatible with {0})\",\"notAvailablePack\":\"(Price currently not available)\",\"choosePacksTitle\":\"Packs\",\"openPackContent\":\"Show pack content\",\"hidePackContent\":\"Hide pack content\",\"notCompatibleOptions\":\"(Option is not compatible with {0})\",\"requiredForPacks\":\"(Option required as part of {0})\",\"packIncompatibleOptions\":\"(Incompatible options: {0})\",\"packRequiredOptions\":\"(Required options: {0})\",\"chooseAccessoriesBtn\":\"Finish\",\"chooseOptionsTitle\":\"Options\",\"partOf\":\"(Part of {0})\",\"notAvailableOption\":\"(Price currently not available)\",\"requiredRelatedOptions\":\"Requires related option: {0}\",\"isRequiredForOptions\":\"Required if one of the following options is selected: {0}\",\"freeOfCharge\":\"Free of charge\",\"overviewTitle\":\"Overview\",\"personalInformation\":\"Where do we need to send your configuration?\",\"titleMr\":\"Mr\",\"titleMrs\":\"Mrs\",\"firstName\":\"First name\",\"firstNamePlaceholder\":\"First name\",\"lastName\":\"Last name\",\"lastNamePlaceholder\":\"Last name\",\"email\":\"Email\",\"emailPlaceholder\":\"Email\",\"phonePrefix\":\"Prefix\",\"phonePrefixPlaceholder\":\"+ xx\",\"phone\":\"Phone\",\"phonePlaceholder\":\"Phone\",\"streetAddress\":\"Street\",\"streetAddressPlaceholder\":\"Street\",\"streetAddressNr\":\"Nr\",\"streetAddressNrPlaceholder\":\"Nr\",\"postalCode\":\"Zip\",\"postalCodePlaceholder\":\"Zip\",\"city\":\"City\",\"cityPlaceholder\":\"City\",\"chooseACountry\":\"Choose country\",\"send2me\":\"Send this configuration to me\",\"send2Friend\":\"Send this configuration to a friend\",\"send2FriendEmailPlaceholder\":\"Friend's email address\",\"request4Quote\":\"Request a quote for this configuration & select a dealer\",\"chooseDealer\":\"Choose dealer\",\"findDealerOnMap\":\"Find dealer on map\",\"optin\":\"I would like to receive Quicksilver news and promotional information\",\"requiredFields\":\"Required fields\",\"saveQuote\":\"Receive configuration\",\"subtotal\":\"\",\"showDetails\":\"Show all details\",\"hideDetails\":\"Hide all details\",\"boatAndEngine\":\"\",\"boatWithStandardEquipment\":\"Boat with standard equipment\",\"editEngine\":\"Edit engine\",\"editPacks\":\"Edit packs\",\"editOptions\":\"Edit options\",\"clientDetails\":\"Client details\",\"freight\":\"Freight\",\"selectedOptions\":\"Selected options\",\"total\":\"Total\",\"loadingMap\":\"Loading map...\",\"selectDealer\":\"Select dealer\",\"selectedPacks\":\"Selected packs\",\"thankYouHeadline\":\"Thank you for your interest\",\"sentEmailConfirmation\":\"Thank you, we have sent your configuration to\",\"sentTwoEmailConfirmation\":\"Thank you, we’ve sent your configuration to {0} and to {1}.\",\"sentToDealerConfirmation\":\"You will receive a quote by the dealer of your choice shortly.\",\"printQuote\":\"Print configuration\",\"modelsOverview\":\"Return to model overview\",\"modelsSelector\":\"Return to all models\",\"discoverYourConfiguration\":\"Discover your configuration on our next boat shows\",\"viewAllEvents\":\"View all events\",\"visitYourLocalDealers\":\"Or visit your local dealers\",\"moreInfoEvent\":\"More info\",\"dealerSite\":\"Dealer site\",\"routeDescription\":\"Route description\",\"setCourseWith\":\"Set course with\",\"chooseThisSetting\":\"Choose this configuration\",\"boatWithEngine\":\"Boat with engine\",\"startingFrom\":\"Starting from\",\"moreOnMercurySite\":\"More on Mercury website\",\"thankYouText\":\"\",\"priceExVat\":\"Price without VAT\",\"vatInfo\":\"VAT (21%)\",\"priceIncVat\":\"Price including VAT\",\"specificConstraints\":\"<p>Batteries, handling, preparation and launching not included.</p>\"},\"countries\":[{\"id\":0,\"code\":\"AL\",\"name\":\"ALBANIA\"},{\"id\":0,\"code\":\"DZ\",\"name\":\"ALGERIA\"},{\"id\":0,\"code\":\"AO\",\"name\":\"ANGOLA\"},{\"id\":0,\"code\":\"AU\",\"name\":\"AUSTRALIA\"},{\"id\":0,\"code\":\"AT\",\"name\":\"AUSTRIA\"},{\"id\":0,\"code\":\"AZ\",\"name\":\"AZERBAIJAN\"},{\"id\":0,\"code\":\"BY\",\"name\":\"BELARUS\"},{\"id\":0,\"code\":\"BE\",\"name\":\"BELGIUM\"},{\"id\":0,\"code\":\"BG\",\"name\":\"BULGARIA\"},{\"id\":0,\"code\":\"CL\",\"name\":\"CHILE\"},{\"id\":0,\"code\":\"CN\",\"name\":\"CHINA\"},{\"id\":0,\"code\":\"CO\",\"name\":\"COLOMBIA\"},{\"id\":0,\"code\":\"CD\",\"name\":\"CONGO,DEM REP OF THE\"},{\"id\":0,\"code\":\"HR\",\"name\":\"CROATIA\"},{\"id\":0,\"code\":\"CY\",\"name\":\"CYPRUS\"},{\"id\":0,\"code\":\"CZ\",\"name\":\"CZECH REPUBLIC\"},{\"id\":0,\"code\":\"DK\",\"name\":\"DENMARK\"},{\"id\":0,\"code\":\"EE\",\"name\":\"ESTONIA\"},{\"id\":0,\"code\":\"FI\",\"name\":\"FINLAND\"},{\"id\":0,\"code\":\"FR\",\"name\":\"FRANCE\"},{\"id\":0,\"code\":\"PF\",\"name\":\"FRENCH POLYNESIA\"},{\"id\":0,\"code\":\"GE\",\"name\":\"GEORGIA\"},{\"id\":0,\"code\":\"DE\",\"name\":\"GERMANY\"},{\"id\":0,\"code\":\"GR\",\"name\":\"GREECE\"},{\"id\":0,\"code\":\"GL\",\"name\":\"GREENLAND\"},{\"id\":0,\"code\":\"HK\",\"name\":\"HONG KONG\"},{\"id\":0,\"code\":\"HU\",\"name\":\"HUNGARY\"},{\"id\":0,\"code\":\"IS\",\"name\":\"ICELAND\"},{\"id\":0,\"code\":\"IN\",\"name\":\"INDIA\"},{\"id\":0,\"code\":\"IL\",\"name\":\"ISRAEL\"},{\"id\":0,\"code\":\"IT\",\"name\":\"ITALY\"},{\"id\":0,\"code\":\"CI\",\"name\":\"IVORY COAST\"},{\"id\":0,\"code\":\"JP\",\"name\":\"JAPAN\"},{\"id\":0,\"code\":\"KZ\",\"name\":\"KAZAKHSTAN\"},{\"id\":0,\"code\":\"KR\",\"name\":\"KOREA, REPUBLIC OF\"},{\"id\":0,\"code\":\"KW\",\"name\":\"KUWAIT\"},{\"id\":0,\"code\":\"LV\",\"name\":\"LATVIA\"},{\"id\":0,\"code\":\"LB\",\"name\":\"LEBANON\"},{\"id\":0,\"code\":\"LT\",\"name\":\"LITHUANIA\"},{\"id\":0,\"code\":\"MK\",\"name\":\"MACEDONIA\"},{\"id\":0,\"code\":\"MV\",\"name\":\"MALDIVES\"},{\"id\":0,\"code\":\"MT\",\"name\":\"MALTA\"},{\"id\":0,\"code\":\"MQ\",\"name\":\"MARTINIQUE\"},{\"id\":0,\"code\":\"MU\",\"name\":\"MAURITIUS\"},{\"id\":0,\"code\":\"ME\",\"name\":\"MONTENEGRO\"},{\"id\":0,\"code\":\"MA\",\"name\":\"MOROCCO\"},{\"id\":0,\"code\":\"NL\",\"name\":\"NETHERLANDS\"},{\"id\":0,\"code\":\"NC\",\"name\":\"NEW CALEDONIA\"},{\"id\":0,\"code\":\"NO\",\"name\":\"NORWAY\"},{\"id\":0,\"code\":\"PL\",\"name\":\"POLAND\"},{\"id\":0,\"code\":\"PT\",\"name\":\"PORTUGAL\"},{\"id\":0,\"code\":\"QA\",\"name\":\"QATAR\"},{\"id\":0,\"code\":\"RE\",\"name\":\"REUNION\"},{\"id\":0,\"code\":\"RO\",\"name\":\"ROMANIA\"},{\"id\":0,\"code\":\"RU\",\"name\":\"RUSSIAN FEDERATION\"},{\"id\":0,\"code\":\"SA\",\"name\":\"SAUDI ARABIA\"},{\"id\":0,\"code\":\"XS\",\"name\":\"SERBIE\"},{\"id\":0,\"code\":\"SG\",\"name\":\"SINGAPORE\"},{\"id\":0,\"code\":\"SK\",\"name\":\"SLOVAKIA\"},{\"id\":0,\"code\":\"SI\",\"name\":\"SLOVENIA\"},{\"id\":0,\"code\":\"ZA\",\"name\":\"SOUTH AFRICA\"},{\"id\":0,\"code\":\"ES\",\"name\":\"SPAIN\"},{\"id\":0,\"code\":\"SE\",\"name\":\"SWEDEN\"},{\"id\":0,\"code\":\"CH\",\"name\":\"SWITZERLAND\"},{\"id\":0,\"code\":\"TW\",\"name\":\"TAIWAN\"},{\"id\":0,\"code\":\"TH\",\"name\":\"THAILAND\"},{\"id\":0,\"code\":\"TR\",\"name\":\"TURKEY\"},{\"id\":0,\"code\":\"UA\",\"name\":\"UKRAINE\"},{\"id\":0,\"code\":\"GB\",\"name\":\"UNITED KINGDOM\"},{\"id\":0,\"code\":\"VN\",\"name\":\"VIET NAM\"}],\"engineDecisionPath\":{\"engineDecisionBasedOnInboardVsOutboard\":false,\"engineDecisionBasedOnFourstrokeOrVerado\":false,\"engineDecisionBasedOnSingleVsDual\":false,\"descriptions\":[],\"startingPriceInfo\":[],\"hpRanges\":[]}},getDealersByCountry:[{\"customerNumber\":23155,\"dropdownName\":\"ACCASTILLAGE DIFF STRASBOURG - STRASBOURG\",\"name\":\"ACCASTILLAGE DIFF STRASBOURG\",\"address1\":\"Port Sud\",\"address2\":\"2 Rue de Boulogne\",\"postalCode\":\"67100\",\"city\":\"Strasbourg\",\"phone\":\"+33388410241\",\"latitutde\":48.53811911,\"longitude\":7.788233},{\"customerNumber\":99901,\"dropdownName\":\"ARMOR NAUTIC - LORIENT\",\"name\":\"ARMOR NAUTIC\",\"address1\":\"Pôle nautique de la Base des sous-marins\",\"address2\":\"1C rue François Toullec\",\"postalCode\":\"56100\",\"city\":\"Lorient\",\"phone\":\"+33297370688\",\"latitutde\":47.73409688,\"longitude\":-3.37647155},{\"customerNumber\":99902,\"dropdownName\":\"ARMOR NAUTIC - QUIMPER\",\"name\":\"ARMOR NAUTIC\",\"address1\":\"ZI Guelen\",\"address2\":\"6 allée Geoges Lacombe\",\"postalCode\":\"29000\",\"city\":\"Quimper\",\"phone\":\"+33298662322\",\"latitutde\":47.97957433,\"longitude\":-4.03366633},{\"customerNumber\":23335,\"dropdownName\":\"ATELIER NAUTIQUE DE JADE - PORNIC\",\"name\":\"ATELIER NAUTIQUE DE JADE\",\"address1\":\"zi les terres jarries\",\"address2\":\"8 rue jean monnet\",\"postalCode\":\"44210\",\"city\":\"Pornic\",\"phone\":\"+33240822804\",\"latitutde\":47.12632711,\"longitude\":-2.11699933},{\"customerNumber\":23952,\"dropdownName\":\"ATLANTIC BATEAUX PIRIAC - PIRIAC SUR MER\",\"name\":\"ATLANTIC BATEAUX PIRIAC\",\"address1\":\"ZA DU PLADREAU\",\"address2\":\"00440 Rue Clos du Moulin\",\"postalCode\":\"44420\",\"city\":\"Piriac sur Mer\",\"phone\":\"+33240236494\",\"latitutde\":47.37386877,\"longitude\":-2.54290522},{\"customerNumber\":84059,\"dropdownName\":\"ATLANTIC PASSION - THEIX\",\"name\":\"ATLANTIC PASSION\",\"address1\":\"\",\"address2\":\"Rue denis papin\",\"postalCode\":\"56450\",\"city\":\"Theix\",\"phone\":\"+33297542375\",\"latitutde\":47.64911077,\"longitude\":-2.69977744},{\"customerNumber\":23374,\"dropdownName\":\"AVENIR NAUTIC - CLERMONT-FERRAND\",\"name\":\"AVENIR NAUTIC\",\"address1\":\"\",\"address2\":\"12 Rue Rodolphe Diesel\",\"postalCode\":\"63000\",\"city\":\"Clermont-Ferrand\",\"phone\":\"+33473267105\",\"latitutde\":45.77780488,\"longitude\":3.13541633},{\"customerNumber\":84073,\"dropdownName\":\"BABOU MARINE - CAHORS\",\"name\":\"BABOU MARINE\",\"address1\":\"Port saint Mary\",\"address2\":\"Chemin de Saint Mary\",\"postalCode\":\"46000\",\"city\":\"Cahors\",\"phone\":\"+33565300899\",\"latitutde\":44.45450833,\"longitude\":1.43127155},{\"customerNumber\":23048,\"dropdownName\":\"BATEAU SERVICE AUSSONNE - AUSSONNE\",\"name\":\"BATEAU SERVICE AUSSONNE\",\"address1\":\"ZA des Moulins\",\"address2\":\"13 Rue A.Verges\",\"postalCode\":\"31840\",\"city\":\"Aussonne\",\"phone\":\"+33534579172\",\"latitutde\":43.68822466,\"longitude\":1.33947744},{\"customerNumber\":23974,\"dropdownName\":\"BATEL PLAISANCE - LUSIGNY SUR BARSE\",\"name\":\"BATEL PLAISANCE\",\"address1\":\"ZA\",\"address2\":\"Route de Montreuil\",\"postalCode\":\"10270\",\"city\":\"Lusigny sur Barse\",\"phone\":\"+33325412000\",\"latitutde\":48.243533,\"longitude\":4.28122433},{\"customerNumber\":23842,\"dropdownName\":\"BERTRAND MARINE - LE GRAU DU ROI\",\"name\":\"BERTRAND MARINE\",\"address1\":\"Port Camargue\",\"address2\":\"1 Routes des Marines\",\"postalCode\":\"30240\",\"city\":\"Le Grau du Roi\",\"phone\":\"+33466804695\",\"latitutde\":43.51410555,\"longitude\":4.13942188},{\"customerNumber\":23209,\"dropdownName\":\"BI MARINE - BASTIA - BIGUGLIA\",\"name\":\"BI MARINE\",\"address1\":\"\",\"address2\":\"15 Zoning Industriel Tragone\",\"postalCode\":\"20620\",\"city\":\"Bastia - Biguglia\",\"phone\":\"+33495337208\",\"latitutde\":42.60019722,\"longitude\":9.44383022},{\"customerNumber\":23872,\"dropdownName\":\"BREIZ MARINE - PAIMPOL\",\"name\":\"BREIZ MARINE\",\"address1\":\"\",\"address2\":\"Zone D'Activites Maritime de Kerpalud\",\"postalCode\":\"22500\",\"city\":\"Paimpol\",\"phone\":\"+33296220029\",\"latitutde\":48.78691911,\"longitude\":-3.04571633},{\"customerNumber\":84029,\"dropdownName\":\"BRICO-NAUTIC - TREGASTEL\",\"name\":\"BRICO-NAUTIC\",\"address1\":\"\",\"address2\":\"AC cote de granite rose\",\"postalCode\":\"22730\",\"city\":\"Tregastel\",\"phone\":\"+33296238646\",\"latitutde\":48.82366322,\"longitude\":-3.49699966},{\"customerNumber\":84000,\"dropdownName\":\"CANCALE NAUTIC - CANCALE\",\"name\":\"CANCALE NAUTIC\",\"address1\":\"\",\"address2\":\"7 Rue du Brocanteur\",\"postalCode\":\"35260\",\"city\":\"Cancale\",\"phone\":\"+33299899598\",\"latitutde\":48.67993266,\"longitude\":-1.86539166},{\"customerNumber\":99906,\"dropdownName\":\"CAP OUEST LA ROCHELLE - LA ROCHELLE\",\"name\":\"CAP OUEST LA ROCHELLE\",\"address1\":\"ZA des Minimes\",\"address2\":\"Rue de La Trinquette\",\"postalCode\":\"17000\",\"city\":\"La Rochelle\",\"phone\":\"+33546443280\",\"latitutde\":46.14842744,\"longitude\":-1.15888611},{\"customerNumber\":99904,\"dropdownName\":\"CAP OUEST LA TREMBLADE - LA TREMBLADE\",\"name\":\"CAP OUEST LA TREMBLADE\",\"address1\":\"\",\"address2\":\"Boulevard Laleu\",\"postalCode\":\"17390\",\"city\":\"La Tremblade\",\"phone\":\"+33546360505\",\"latitutde\":45.77514933,\"longitude\":-1.14136633},{\"customerNumber\":99905,\"dropdownName\":\"CAP OUEST OLERON - LE CHÂTEAU D'OLERON\",\"name\":\"CAP OUEST OLERON\",\"address1\":\"\",\"address2\":\"Av. du Port\",\"postalCode\":\"17480\",\"city\":\"Le Château D'Oleron\",\"phone\":\"+33546477806\",\"latitutde\":45.88278544,\"longitude\":-1.19208577},{\"customerNumber\":23922,\"dropdownName\":\"CHANTIER MARITIME DU CROUESTY - ARZON\",\"name\":\"CHANTIER MARITIME DU CROUESTY\",\"address1\":\"\",\"address2\":\"ZA du Rédo\",\"postalCode\":\"56000\",\"city\":\"Arzon\",\"phone\":\"+33297534541\",\"latitutde\":47.54417188,\"longitude\":2.88316322},{\"customerNumber\":84208,\"dropdownName\":\"CHANTIER NAUTIQUE DU NORD - SECLIN\",\"name\":\"CHANTIER NAUTIQUE DU NORD\",\"address1\":\"Zone Unexpo Seclin\",\"address2\":\"104b Avenue de la République\",\"postalCode\":\"59113\",\"city\":\"Seclin\",\"phone\":\"+33320030667\",\"latitutde\":50.54529411,\"longitude\":3.04664966},{\"customerNumber\":23151,\"dropdownName\":\"CHARLET NAUTIC - BISCARROSSE\",\"name\":\"CHARLET NAUTIC\",\"address1\":\"\",\"address2\":\"Chemin de Maguide\",\"postalCode\":\"40600\",\"city\":\"Biscarrosse\",\"phone\":\"+33558098585\",\"latitutde\":44.45911388,\"longitude\":-1.20084166},{\"customerNumber\":23293,\"dropdownName\":\"CLINIQUE DU BATEAU - SAINT CYPRIEN\",\"name\":\"CLINIQUE DU BATEAU\",\"address1\":\"ZT du Port de Saint Cyprien\",\"address2\":\"Rue Maurice Ravel\",\"postalCode\":\"66750\",\"city\":\"Saint Cyprien\",\"phone\":\"+33468213858\",\"latitutde\":42.61495833,\"longitude\":3.03504688},{\"customerNumber\":99909,\"dropdownName\":\"COTENTIN NAUTIC - SAINT VAAST LA HOUGUE\",\"name\":\"COTENTIN NAUTIC\",\"address1\":\"Port Saint Vaast la Hougue\",\"address2\":\"10 ZA du Pont des Bernes\",\"postalCode\":\"50550\",\"city\":\"Saint Vaast la Hougue\",\"phone\":\"+33233887510\",\"latitutde\":49.592808,\"longitude\":-1.28616077},{\"customerNumber\":23222,\"dropdownName\":\"DELTA MARINE - AVIGNON\",\"name\":\"DELTA MARINE\",\"address1\":\"\",\"address2\":\"40 Avenue du Grand Gigognan\",\"postalCode\":\"84000\",\"city\":\"Avignon\",\"phone\":\"+33490820948\",\"latitutde\":43.93161877,\"longitude\":4.78106322},{\"customerNumber\":23126,\"dropdownName\":\"DEVAUX NAUTISME SAS - PONT DE POITTE\",\"name\":\"DEVAUX NAUTISME SAS\",\"address1\":\"Lac de Vouglans\",\"address2\":\"87 grande rue\",\"postalCode\":\"39130\",\"city\":\"Pont de Poitte\",\"phone\":\"+33384483022\",\"latitutde\":46.58712188,\"longitude\":5.69194133},{\"customerNumber\":23802,\"dropdownName\":\"DISTRIMER - OUISTREHAM\",\"name\":\"DISTRIMER\",\"address1\":\"\",\"address2\":\"Quai Charcot\",\"postalCode\":\"14150\",\"city\":\"Ouistreham\",\"phone\":\"+33231970266\",\"latitutde\":49.27449377,\"longitude\":-0.25140277},{\"customerNumber\":23866,\"dropdownName\":\"DOLPHIN NAUTICO - MARSEILLAN PLAGE\",\"name\":\"DOLPHIN NAUTICO\",\"address1\":\"Port du Bateau d'Argent\",\"address2\":\"4 Chemin des Loisirs\",\"postalCode\":\"34340\",\"city\":\"Marseillan Plage\",\"phone\":\"+33467218569\",\"latitutde\":43.32122988,\"longitude\":3.55097777},{\"customerNumber\":23660,\"dropdownName\":\"ETS ALAIN QUICHAUD - NIEUL\",\"name\":\"ETS ALAIN QUICHAUD\",\"address1\":\"\",\"address2\":\"37 Rue Édouard Mouratille\",\"postalCode\":\"87510\",\"city\":\"Nieul\",\"phone\":\"+33555756874\",\"latitutde\":45.92729933,\"longitude\":1.17376044},{\"customerNumber\":23448,\"dropdownName\":\"ETS LETHIEC ET FILS - PEGOMAS\",\"name\":\"ETS LETHIEC ET FILS\",\"address1\":\"\",\"address2\":\"2599 Route de la Fenerie\",\"postalCode\":\"06580\",\"city\":\"Pegomas\",\"phone\":\"+33492193942\",\"latitutde\":43.57463822,\"longitude\":6.93447188},{\"customerNumber\":23569,\"dropdownName\":\"ETS PETRIGNET - LA VILLE AUX DAMES\",\"name\":\"ETS PETRIGNET\",\"address1\":\"\",\"address2\":\"215 Avenue Jeanne D'Arc\",\"postalCode\":\"37210\",\"city\":\"La Ville aux Dames\",\"phone\":\"+33247444794\",\"latitutde\":47.3940593,\"longitude\":0.7813553},{\"customerNumber\":84036,\"dropdownName\":\"EVASION NAUTISME - LE CAP D'AGDE\",\"name\":\"EVASION NAUTISME\",\"address1\":\"Zone Technique\",\"address2\":\"9 Avenue De La Jetee,\",\"postalCode\":\"34300\",\"city\":\"Le Cap D'agde\",\"phone\":\"+33467000999\",\"latitutde\":43.279776625,\"longitude\":3.514311727},{\"customerNumber\":23656,\"dropdownName\":\"ILE NAUTIQUE - NOIRMOUTIER EN ILE\",\"name\":\"ILE NAUTIQUE\",\"address1\":\"Port de Noirmoutier\",\"address2\":\"Rue de l'Ecluse BP 303\",\"postalCode\":\"85330\",\"city\":\"Noirmoutier en Ile\",\"phone\":\"+33251390578\",\"latitutde\":46.998182685,\"longitude\":-2.2423905},{\"customerNumber\":23233,\"dropdownName\":\"JV MARINE - BANDOL\",\"name\":\"JV MARINE\",\"address1\":\"\",\"address2\":\"Quartier Pont d'Aran\",\"postalCode\":\"83150\",\"city\":\"Bandol\",\"phone\":\"+33494250880\",\"latitutde\":43.14556077,\"longitude\":5.76833822},{\"customerNumber\":23463,\"dropdownName\":\"LOISIRS NAUTIQUES 74 - THONON LES BAINS\",\"name\":\"LOISIRS NAUTIQUES 74\",\"address1\":\"\",\"address2\":\"5 Avenue des Genevriers\",\"postalCode\":\"74200\",\"city\":\"Thonon les Bains\",\"phone\":\"+33450700807\",\"latitutde\":46.38943855,\"longitude\":6.50399722},{\"customerNumber\":23910,\"dropdownName\":\"MARINE 33 - BORDEAUX\",\"name\":\"MARINE 33\",\"address1\":\"Hangar - Bassin a Flot 2\",\"address2\":\"29 Rue Lucien Faure\",\"postalCode\":\"33000\",\"city\":\"Bordeaux\",\"phone\":\"+33556291099\",\"latitutde\":44.86531111,\"longitude\":-0.56013333},{\"customerNumber\":23607,\"dropdownName\":\"MARINE EVASION 16 - SAINT-YRIEIX-SUR-CHARENTE\",\"name\":\"MARINE EVASION 16\",\"address1\":\"\",\"address2\":\"213 Rue des Mesniers\",\"postalCode\":\"16710\",\"city\":\"Saint-Yrieix-sur-Charente\",\"phone\":\"+33545924939\",\"latitutde\":45.69166355,\"longitude\":-0.12768266},{\"customerNumber\":84919,\"dropdownName\":\"MAX MARINE - RINXENT\",\"name\":\"MAX MARINE\",\"address1\":\"\",\"address2\":\"Avenue de l'Europe\",\"postalCode\":\"62720\",\"city\":\"Rinxent\",\"phone\":\"+33321995656\",\"latitutde\":50.814002,\"longitude\":1.732693},{\"customerNumber\":84557,\"dropdownName\":\"MECA PASSION - LE BOURGET DU LAC\",\"name\":\"MECA PASSION\",\"address1\":\"\",\"address2\":\"1242 Route de Chambéry\",\"postalCode\":\"73370\",\"city\":\"Le Bourget du Lac\",\"phone\":\"+33479253193\",\"latitutde\":45.63954966,\"longitude\":5.86856044},{\"customerNumber\":239171,\"dropdownName\":\"NAUTIC 2000 - ENSUES LA REDONNE\",\"name\":\"NAUTIC 2000\",\"address1\":\"\",\"address2\":\"CD 9 - Quartier la Damiane\",\"postalCode\":\"13820\",\"city\":\"Ensues la Redonne\",\"phone\":\"+33442304417\",\"latitutde\":43.37972155,\"longitude\":5.19111077},{\"customerNumber\":239172,\"dropdownName\":\"NAUTIC 2000 - CARRY LE ROUET\",\"name\":\"NAUTIC 2000\",\"address1\":\"\",\"address2\":\"Quai Vayssière, Immeuble Brise\",\"postalCode\":\"13620\",\"city\":\"Carry Le Rouet\",\"phone\":\"+33465010770\",\"latitutde\":43.329997,\"longitude\":5.153927},{\"customerNumber\":23881,\"dropdownName\":\"NAUTIC CENTER ILE DE FRANCE - MEAUX\",\"name\":\"NAUTIC CENTER ILE DE FRANCE\",\"address1\":\"\",\"address2\":\"Quai Jacques Prévert Prolongé\",\"postalCode\":\"77100\",\"city\":\"Meaux\",\"phone\":\"+33164341988\",\"latitutde\":48.95086388,\"longitude\":2.88325766},{\"customerNumber\":23968,\"dropdownName\":\"NAUTIC EXPRESS SARL - PROPRIANO\",\"name\":\"NAUTIC EXPRESS SARL\",\"address1\":\"\",\"address2\":\"Lieu dit Ivespi\",\"postalCode\":\"20110\",\"city\":\"Propriano\",\"phone\":\"+33495732561\",\"latitutde\":41.66567222,\"longitude\":8.92087988},{\"customerNumber\":84802,\"dropdownName\":\"NAVIOUEST - BREST\",\"name\":\"NAVIOUEST\",\"address1\":\"\",\"address2\":\"700 Rue Alain Colas\",\"postalCode\":\"29200\",\"city\":\"Brest\",\"phone\":\"+33298331212\",\"latitutde\":48.38998855,\"longitude\":-4.44103022},{\"customerNumber\":84507,\"dropdownName\":\"NORD NAUTIC LOISIRS - BERNES SUR OISE\",\"name\":\"NORD NAUTIC LOISIRS\",\"address1\":\"\",\"address2\":\"125 Grande Rue\",\"postalCode\":\"95340\",\"city\":\"Bernes sur Oise\",\"phone\":\"+33134704161\",\"latitutde\":49.16044166,\"longitude\":2.30518333},{\"customerNumber\":23954,\"dropdownName\":\"NORD YACHTING - DUNKERQUE\",\"name\":\"NORD YACHTING\",\"address1\":\"\",\"address2\":\"Route de l'Écluse Trystram\",\"postalCode\":\"59140\",\"city\":\"Dunkerque\",\"phone\":\"+33328212913\",\"latitutde\":51.044783,\"longitude\":2.37010211},{\"customerNumber\":23224,\"dropdownName\":\"OCEANO SPORTS - LES SABLES D'OLONNE\",\"name\":\"OCEANO SPORTS\",\"address1\":\"Port Olona 2 BP 86\",\"address2\":\"Quai à la Gravière\",\"postalCode\":\"85103\",\"city\":\"Les Sables D'Olonne\",\"phone\":\"+33251211464\",\"latitutde\":46.50396111,\"longitude\":-1.79135244},{\"customerNumber\":23187,\"dropdownName\":\"OUEST NAUTIC SERVICES - NORT SUR ERDRE\",\"name\":\"OUEST NAUTIC SERVICES\",\"address1\":\"\",\"address2\":\"1 Chemin de la trudelle\",\"postalCode\":\"44390\",\"city\":\"Nort Sur Erdre\",\"phone\":\"+33685201336\",\"latitutde\":47.44308855,\"longitude\":1.49325244},{\"customerNumber\":23625,\"dropdownName\":\"PLAUD NAUTISME - SAINTE GEMMES SUR LOIRE\",\"name\":\"PLAUD NAUTISME\",\"address1\":\"ZA Vernusson Pierre-Martine\",\"address2\":\"5 rue Clément Ader\",\"postalCode\":\"49130\",\"city\":\"Sainte Gemmes sur Loire\",\"phone\":\"+33241663454\",\"latitutde\":47.42842155,\"longitude\":-0.54811355},{\"customerNumber\":23973,\"dropdownName\":\"PORT DEUN MARINE - ST PHILIBERT\",\"name\":\"PORT DEUN MARINE\",\"address1\":\"cale de port deun\",\"address2\":\"35 route de l'ocean\",\"postalCode\":\"56470\",\"city\":\"St Philibert\",\"phone\":\"+33297300699\",\"latitutde\":47.57844655,\"longitude\":-3.01159444},{\"customerNumber\":23867,\"dropdownName\":\"PORT STL NAUTISME - GRANVILLE\",\"name\":\"PORT STL NAUTISME\",\"address1\":\"Zone du Mesnil\",\"address2\":\"657 Rue de la Parfonterie\",\"postalCode\":\"50400\",\"city\":\"Granville\",\"phone\":\"+33233692275\",\"latitutde\":48.84233855,\"longitude\":-1.56390833},{\"customerNumber\":23290,\"dropdownName\":\"PORTLAND - HYERES\",\"name\":\"PORTLAND\",\"address1\":\"\",\"address2\":\"747 Route des Vieux Salins\",\"postalCode\":\"83400\",\"city\":\"Hyeres\",\"phone\":\"+33494664601\",\"latitutde\":43.11541388,\"longitude\":6.18618855},{\"customerNumber\":23242,\"dropdownName\":\"PUIG NAUTISME - CHORGES\",\"name\":\"PUIG NAUTISME\",\"address1\":\"\",\"address2\":\"Baie Saint Michel\",\"postalCode\":\"05230\",\"city\":\"Chorges\",\"phone\":\"+33492438706\",\"latitutde\":44.52667433,\"longitude\":6.32495488},{\"customerNumber\":23687,\"dropdownName\":\"REGINA PLAISANCE SARL - ERQUY\",\"name\":\"REGINA PLAISANCE SARL\",\"address1\":\"Erquy/ Pleneuf/ Saint Cast Le Guildo\",\"address2\":\"La Croix Rouge\",\"postalCode\":\"22430\",\"city\":\"Erquy\",\"phone\":\"+33296721370\",\"latitutde\":48.60081666,\"longitude\":-2.46065833},{\"customerNumber\":23724,\"dropdownName\":\"SAVOIE MARINE - ST JORIOZ\",\"name\":\"SAVOIE MARINE\",\"address1\":\"\",\"address2\":\"1359 Route d'Albertville\",\"postalCode\":\"74410\",\"city\":\"St Jorioz\",\"phone\":\"+33450686007\",\"latitutde\":45.83132711,\"longitude\":6.17742433},{\"customerNumber\":84969,\"dropdownName\":\"SC MARINE - LECCI\",\"name\":\"SC MARINE\",\"address1\":\"\",\"address2\":\"Saint Cyprien\",\"postalCode\":\"20137\",\"city\":\"Lecci\",\"phone\":\"+33495716012\",\"latitutde\":41.67947155,\"longitude\":9.32738822},{\"customerNumber\":23943,\"dropdownName\":\"SEINE NAUTIC - ROUEN\",\"name\":\"SEINE NAUTIC\",\"address1\":\"\",\"address2\":\"12 Bd de L'Ouest\",\"postalCode\":\"76000\",\"city\":\"Rouen\",\"phone\":\"+33235890739\",\"latitutde\":49.44888855,\"longitude\":1.04980522},{\"customerNumber\":23168,\"dropdownName\":\"SENSEY NAUTIC - LEGE CAP FERRET\",\"name\":\"SENSEY NAUTIC\",\"address1\":\"\",\"address2\":\"2 Rue Jacques Cassard\",\"postalCode\":\"33950\",\"city\":\"Lege Cap Ferret\",\"phone\":\"+33556606356\",\"latitutde\":44.78514966,\"longitude\":-1.16742155},{\"customerNumber\":23745,\"dropdownName\":\"SONAUTIC - REPLONGES\",\"name\":\"SONAUTIC\",\"address1\":\"\",\"address2\":\"Rue de la Prairie\",\"postalCode\":\"1750\",\"city\":\"Replonges\",\"phone\":\"+33385311144\",\"latitutde\":46.3213885,\"longitude\":4.845041},{\"customerNumber\":23750,\"dropdownName\":\"STATION MOTONAUTIQUE DE LA MOSELLE - METZ CEDEX\",\"name\":\"STATION MOTONAUTIQUE DE LA MOSELLE\",\"address1\":\"Longeville des Metz\",\"address2\":\"52 Rue du Gal de Gaulle\",\"postalCode\":\"57023\",\"city\":\"Metz Cedex\",\"phone\":\"+33387324221\",\"latitutde\":49.11747155,\"longitude\":6.14222188},{\"customerNumber\":23680,\"dropdownName\":\"SUD PLAISANCE - MARSEILLE\",\"name\":\"SUD PLAISANCE\",\"address1\":\"\",\"address2\":\"Port de la Pointe Rouge\",\"postalCode\":\"13008\",\"city\":\"Marseille\",\"phone\":\"+33491726675\",\"latitutde\":43.24333577,\"longitude\":5.367666},{\"customerNumber\":99925,\"dropdownName\":\"USHIP - COTENTIN NAUTIC - SAINT VAAST LA HOUGUE\",\"name\":\"USHIP - COTENTIN NAUTIC\",\"address1\":\"Port Saint Vaast la Hougue\",\"address2\":\"5 Rue de Réville\",\"postalCode\":\"50550\",\"city\":\"Saint Vaast la Hougue\",\"phone\":\"+33233208550\",\"latitutde\":49.58972466,\"longitude\":-1.26619722},{\"customerNumber\":84851,\"dropdownName\":\"YACHTING 99 - GRIGNY\",\"name\":\"YACHTING 99\",\"address1\":\"\",\"address2\":\"Chemin du Port\",\"postalCode\":\"91350\",\"city\":\"Grigny\",\"phone\":\"+33169069909\",\"latitutde\":48.66907155,\"longitude\":2.39872466},{\"customerNumber\":23325,\"dropdownName\":\"YACHTING SERVICES - AJACCIO\",\"name\":\"YACHTING SERVICES\",\"address1\":\"Zone Industrielle du Vazzio\",\"address2\":\"Ancienne Route de Sartène\",\"postalCode\":\"20090\",\"city\":\"Ajaccio\",\"phone\":\"+33495103820\",\"latitutde\":41.930416,\"longitude\":8.77844377}],getPhonePrefixes:[{\"text\":\"+31\",\"value\":\"+31\"},{\"text\":\"+32\",\"value\":\"+32\"},{\"text\":\"+33\",\"value\":\"+33\"},{\"text\":\"+34\",\"value\":\"+34\"},{\"text\":\"+358\",\"value\":\"+358\"},{\"text\":\"+39\",\"value\":\"+39\"},{\"text\":\"+41\",\"value\":\"+41\"},{\"text\":\"+43\",\"value\":\"+43\"},{\"text\":\"+44\",\"value\":\"+44\"},{\"text\":\"+45\",\"value\":\"+45\"},{\"text\":\"+46\",\"value\":\"+46\"},{\"text\":\"+47\",\"value\":\"+47\"},{\"text\":\"+49\",\"value\":\"+49\"},{\"text\":\"--\",\"value\":\"0\"},{\"text\":\"+1\",\"value\":\"+1\"},{\"text\":\"+20\",\"value\":\"+20\"},{\"text\":\"+211\",\"value\":\"+211\"},{\"text\":\"+212\",\"value\":\"+212\"},{\"text\":\"+213\",\"value\":\"+213\"},{\"text\":\"+216\",\"value\":\"+216\"},{\"text\":\"+218\",\"value\":\"+218\"},{\"text\":\"+220\",\"value\":\"+220\"},{\"text\":\"+221\",\"value\":\"+221\"},{\"text\":\"+222\",\"value\":\"+222\"},{\"text\":\"+223\",\"value\":\"+223\"},{\"text\":\"+224\",\"value\":\"+224\"},{\"text\":\"+225\",\"value\":\"+225\"},{\"text\":\"+226\",\"value\":\"+226\"},{\"text\":\"+227\",\"value\":\"+227\"},{\"text\":\"+228\",\"value\":\"+228\"},{\"text\":\"+229\",\"value\":\"+229\"},{\"text\":\"+230\",\"value\":\"+230\"},{\"text\":\"+231\",\"value\":\"+231\"},{\"text\":\"+232\",\"value\":\"+232\"},{\"text\":\"+233\",\"value\":\"+233\"},{\"text\":\"+234\",\"value\":\"+234\"},{\"text\":\"+235\",\"value\":\"+235\"},{\"text\":\"+236\",\"value\":\"+236\"},{\"text\":\"+237\",\"value\":\"+237\"},{\"text\":\"+238\",\"value\":\"+238\"},{\"text\":\"+239\",\"value\":\"+239\"},{\"text\":\"+240\",\"value\":\"+240\"},{\"text\":\"+241\",\"value\":\"+241\"},{\"text\":\"+242\",\"value\":\"+242\"},{\"text\":\"+243\",\"value\":\"+243\"},{\"text\":\"+244\",\"value\":\"+244\"},{\"text\":\"+245\",\"value\":\"+245\"},{\"text\":\"+246\",\"value\":\"+246\"},{\"text\":\"+248\",\"value\":\"+248\"},{\"text\":\"+249\",\"value\":\"+249\"},{\"text\":\"+250\",\"value\":\"+250\"},{\"text\":\"+251\",\"value\":\"+251\"},{\"text\":\"+252\",\"value\":\"+252\"},{\"text\":\"+253\",\"value\":\"+253\"},{\"text\":\"+254\",\"value\":\"+254\"},{\"text\":\"+255\",\"value\":\"+255\"},{\"text\":\"+256\",\"value\":\"+256\"},{\"text\":\"+257\",\"value\":\"+257\"},{\"text\":\"+258\",\"value\":\"+258\"},{\"text\":\"+260\",\"value\":\"+260\"},{\"text\":\"+261\",\"value\":\"+261\"},{\"text\":\"+262\",\"value\":\"+262\"},{\"text\":\"+263\",\"value\":\"+263\"},{\"text\":\"+264\",\"value\":\"+264\"},{\"text\":\"+265\",\"value\":\"+265\"},{\"text\":\"+266\",\"value\":\"+266\"},{\"text\":\"+267\",\"value\":\"+267\"},{\"text\":\"+268\",\"value\":\"+268\"},{\"text\":\"+269\",\"value\":\"+269\"},{\"text\":\"+27\",\"value\":\"+27\"},{\"text\":\"+290\",\"value\":\"+290\"},{\"text\":\"+291\",\"value\":\"+291\"},{\"text\":\"+297\",\"value\":\"+297\"},{\"text\":\"+298\",\"value\":\"+298\"},{\"text\":\"+299\",\"value\":\"+299\"},{\"text\":\"+30\",\"value\":\"+30\"},{\"text\":\"+350\",\"value\":\"+350\"},{\"text\":\"+351\",\"value\":\"+351\"},{\"text\":\"+352\",\"value\":\"+352\"},{\"text\":\"+353\",\"value\":\"+353\"},{\"text\":\"+354\",\"value\":\"+354\"},{\"text\":\"+355\",\"value\":\"+355\"},{\"text\":\"+356\",\"value\":\"+356\"},{\"text\":\"+357\",\"value\":\"+357\"},{\"text\":\"+359\",\"value\":\"+359\"},{\"text\":\"+36\",\"value\":\"+36\"},{\"text\":\"+370\",\"value\":\"+370\"},{\"text\":\"+371\",\"value\":\"+371\"},{\"text\":\"+372\",\"value\":\"+372\"},{\"text\":\"+373\",\"value\":\"+373\"},{\"text\":\"+374\",\"value\":\"+374\"},{\"text\":\"+375\",\"value\":\"+375\"},{\"text\":\"+376\",\"value\":\"+376\"},{\"text\":\"+377\",\"value\":\"+377\"},{\"text\":\"+378\",\"value\":\"+378\"},{\"text\":\"+379\",\"value\":\"+379\"},{\"text\":\"+380\",\"value\":\"+380\"},{\"text\":\"+381\",\"value\":\"+381\"},{\"text\":\"+382\",\"value\":\"+382\"},{\"text\":\"+383\",\"value\":\"+383\"},{\"text\":\"+385\",\"value\":\"+385\"},{\"text\":\"+386\",\"value\":\"+386\"},{\"text\":\"+387\",\"value\":\"+387\"},{\"text\":\"+389\",\"value\":\"+389\"},{\"text\":\"+40\",\"value\":\"+40\"},{\"text\":\"+420\",\"value\":\"+420\"},{\"text\":\"+421\",\"value\":\"+421\"},{\"text\":\"+423\",\"value\":\"+423\"},{\"text\":\"+48\",\"value\":\"+48\"},{\"text\":\"+500\",\"value\":\"+500\"},{\"text\":\"+501\",\"value\":\"+501\"},{\"text\":\"+502\",\"value\":\"+502\"},{\"text\":\"+503\",\"value\":\"+503\"},{\"text\":\"+504\",\"value\":\"+504\"},{\"text\":\"+505\",\"value\":\"+505\"},{\"text\":\"+506\",\"value\":\"+506\"},{\"text\":\"+507\",\"value\":\"+507\"},{\"text\":\"+508\",\"value\":\"+508\"},{\"text\":\"+509\",\"value\":\"+509\"},{\"text\":\"+51\",\"value\":\"+51\"},{\"text\":\"+52\",\"value\":\"+52\"},{\"text\":\"+53\",\"value\":\"+53\"},{\"text\":\"+54\",\"value\":\"+54\"},{\"text\":\"+55\",\"value\":\"+55\"},{\"text\":\"+56\",\"value\":\"+56\"},{\"text\":\"+57\",\"value\":\"+57\"},{\"text\":\"+58\",\"value\":\"+58\"},{\"text\":\"+590\",\"value\":\"+590\"},{\"text\":\"+591\",\"value\":\"+591\"},{\"text\":\"+592\",\"value\":\"+592\"},{\"text\":\"+593\",\"value\":\"+593\"},{\"text\":\"+595\",\"value\":\"+595\"},{\"text\":\"+597\",\"value\":\"+597\"},{\"text\":\"+598\",\"value\":\"+598\"},{\"text\":\"+599\",\"value\":\"+599\"},{\"text\":\"+60\",\"value\":\"+60\"},{\"text\":\"+61\",\"value\":\"+61\"},{\"text\":\"+62\",\"value\":\"+62\"},{\"text\":\"+63\",\"value\":\"+63\"},{\"text\":\"+64\",\"value\":\"+64\"},{\"text\":\"+65\",\"value\":\"+65\"},{\"text\":\"+66\",\"value\":\"+66\"},{\"text\":\"+670\",\"value\":\"+670\"},{\"text\":\"+672\",\"value\":\"+672\"},{\"text\":\"+673\",\"value\":\"+673\"},{\"text\":\"+674\",\"value\":\"+674\"},{\"text\":\"+675\",\"value\":\"+675\"},{\"text\":\"+676\",\"value\":\"+676\"},{\"text\":\"+677\",\"value\":\"+677\"},{\"text\":\"+678\",\"value\":\"+678\"},{\"text\":\"+679\",\"value\":\"+679\"},{\"text\":\"+680\",\"value\":\"+680\"},{\"text\":\"+681\",\"value\":\"+681\"},{\"text\":\"+682\",\"value\":\"+682\"},{\"text\":\"+683\",\"value\":\"+683\"},{\"text\":\"+685\",\"value\":\"+685\"},{\"text\":\"+686\",\"value\":\"+686\"},{\"text\":\"+687\",\"value\":\"+687\"},{\"text\":\"+688\",\"value\":\"+688\"},{\"text\":\"+689\",\"value\":\"+689\"},{\"text\":\"+690\",\"value\":\"+690\"},{\"text\":\"+691\",\"value\":\"+691\"},{\"text\":\"+692\",\"value\":\"+692\"},{\"text\":\"+7\",\"value\":\"+7\"},{\"text\":\"+81\",\"value\":\"+81\"},{\"text\":\"+82\",\"value\":\"+82\"},{\"text\":\"+84\",\"value\":\"+84\"},{\"text\":\"+850\",\"value\":\"+850\"},{\"text\":\"+852\",\"value\":\"+852\"},{\"text\":\"+853\",\"value\":\"+853\"},{\"text\":\"+855\",\"value\":\"+855\"},{\"text\":\"+856\",\"value\":\"+856\"},{\"text\":\"+86\",\"value\":\"+86\"},{\"text\":\"+880\",\"value\":\"+880\"},{\"text\":\"+886\",\"value\":\"+886\"},{\"text\":\"+90\",\"value\":\"+90\"},{\"text\":\"+91\",\"value\":\"+91\"},{\"text\":\"+92\",\"value\":\"+92\"},{\"text\":\"+93\",\"value\":\"+93\"},{\"text\":\"+94\",\"value\":\"+94\"},{\"text\":\"+95\",\"value\":\"+95\"},{\"text\":\"+960\",\"value\":\"+960\"},{\"text\":\"+961\",\"value\":\"+961\"},{\"text\":\"+962\",\"value\":\"+962\"},{\"text\":\"+963\",\"value\":\"+963\"},{\"text\":\"+964\",\"value\":\"+964\"},{\"text\":\"+965\",\"value\":\"+965\"},{\"text\":\"+966\",\"value\":\"+966\"},{\"text\":\"+967\",\"value\":\"+967\"},{\"text\":\"+968\",\"value\":\"+968\"},{\"text\":\"+970\",\"value\":\"+970\"},{\"text\":\"+971\",\"value\":\"+971\"},{\"text\":\"+972\",\"value\":\"+972\"},{\"text\":\"+973\",\"value\":\"+973\"},{\"text\":\"+974\",\"value\":\"+974\"},{\"text\":\"+975\",\"value\":\"+975\"},{\"text\":\"+976\",\"value\":\"+976\"},{\"text\":\"+977\",\"value\":\"+977\"},{\"text\":\"+98\",\"value\":\"+98\"},{\"text\":\"+992\",\"value\":\"+992\"},{\"text\":\"+993\",\"value\":\"+993\"},{\"text\":\"+994\",\"value\":\"+994\"},{\"text\":\"+995\",\"value\":\"+995\"},{\"text\":\"+996\",\"value\":\"+996\"},{\"text\":\"+998\",\"value\":\"+998\"}],submitConfigurator:{isSuccess:true,boats:[{name:'Active 805 Pro Fish',description:'Donec eu odio eget velit facilisis lobortis ut tristique metus. Nullam tristique augue eu porttitor sodales.',image:'/assets/demo/images/thankYouPageMoreOffersBoat.png',url:'/link-goes-here/'},{name:'Active 999 Pro Shark',description:'Donec eu odio eget velit facilisis lobortis ut tristique metus. Nullam tristique augue eu porttitor sodales.',image:'/assets/demo/images/thankYouPageMoreOffersBoat.png',url:'/link-goes-here/'}],dealers:[{name:'Garage Nautique Jambes G.N.J. Desktop',phone:'+32 (0)81 300 640',siteUrl:'https://urlgoeshere.com',address1:'Chaussée de Liège 109',address2:'',postalCode:'5100',city:'Jambes',country:'België'},{name:'Garage Nautique Jambes G.N.J. Desktop',phone:'+32 (0)81 300 640',siteUrl:'https://urlgoeshere.com',address1:'Chaussée de Liège 109',address2:'',postalCode:'5100',city:'Jambes',country:'België'},{name:'Garage Nautique Jambes G.N.J. Desktop',phone:'+32 (0)81 300 640',siteUrl:'https://urlgoeshere.com',address1:'Chaussée de Liège 109',address2:'',postalCode:'5100',city:'Jambes',country:'België'}]}};module.exports=ApiMocks;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/utils/apiMocks.js\n// module id = 684\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/utils/apiMocks.js?"); /***/ }), /* 685 */ /***/ (function(module, exports) { eval("'use strict';\n\nvar PolyFill = {\n init: function init() {\n PolyFill.arrayFind();\n },\n arrayFind: function arrayFind() {\n // https://tc39.github.io/ecma262/#sec-array.prototype.find\n if (!Array.prototype.find) {\n Object.defineProperty(Array.prototype, 'find', {\n value: function value(predicate) {\n // 1. Let O be ? ToObject(this value).\n if (this == null) {\n throw new TypeError('\"this\" is null or not defined');\n }\n\n var o = Object(this);\n\n // 2. Let len be ? ToLength(? Get(O, \"length\")).\n var len = o.length >>> 0;\n\n // 3. If IsCallable(predicate) is false, throw a TypeError exception.\n if (typeof predicate !== 'function') {\n throw new TypeError('predicate must be a function');\n }\n\n // 4. If thisArg was supplied, let T be thisArg; else let T be undefined.\n var thisArg = arguments[1];\n\n // 5. Let k be 0.\n var k = 0;\n\n // 6. Repeat, while k < len\n while (k < len) {\n // a. Let Pk be ! ToString(k).\n // b. Let kValue be ? Get(O, Pk).\n // c. Let testResult be ToBoolean(? Call(predicate, T, « kValue, k, O »)).\n // d. If testResult is true, return kValue.\n var kValue = o[k];\n if (predicate.call(thisArg, kValue, k, o)) {\n return kValue;\n }\n // e. Increase k by 1.\n k++;\n }\n\n // 7. Return undefined.\n return undefined;\n },\n configurable: true,\n writable: true\n });\n }\n }\n};\n\nmodule.exports = PolyFill;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/utils/polyfill.js\n// module id = 685\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/utils/polyfill.js?"); /***/ }), /* 686 */ /***/ (function(module, exports) { eval("'use strict';\n\n/**\r\n * @const ValidationHelpers\r\n */\nvar ValidationHelpers = {\n /**\r\n * @method isCalculatorValid Checks the submission model for the \r\n * calculator that is passed in and returns `true` if all required fields \r\n * are correctly entered.\r\n * @param {JSON} submission\r\n * @returns {boolean}\r\n */\n isCalculatorValid: function isCalculatorValid(submission) {\n var isValid = true;\n var personal = submission.personalInfo;\n\n var emailRegex = /.+\\@.+\\..+/i;\n\n if (submission.reference === '') {\n isValid = false;\n }\n if (!personal.title || personal.title === '') {\n isValid = false;\n }\n if (personal.firstName === '') {\n isValid = false;\n }\n if (personal.lastName === '') {\n isValid = false;\n }\n if (personal.email === '') {\n isValid = false;\n }\n if (!personal.email.match(emailRegex)) {\n isValid = false;\n }\n if (personal.phoneCountry === '') {\n isValid = false;\n }\n if (personal.phone === '') {\n isValid = false;\n }\n if (personal.street === '') {\n isValid = false;\n }\n if (personal.streetNumber === '') {\n isValid = false;\n }\n if (personal.zipCode === '') {\n isValid = false;\n }\n if (personal.city === '') {\n isValid = false;\n }\n if (personal.country === '') {\n isValid = false;\n }\n if (!personal.optIn) {\n isValid = false;\n }\n\n return isValid;\n },\n\n /**\r\n * @method isConfiguratorValid Checks the submission model for the \r\n * configurator that is passed in and returns `true` if all required fields \r\n * are correctly entered.\r\n * @param {JSON} submission\r\n * @returns {boolean}\r\n */\n isConfiguratorValid: function isConfiguratorValid(submission) {\n var isValid = true;\n var personal = submission.personalInfo;\n\n var emailRegex = /.+\\@.+\\..+/i;\n\n if (!personal.title || personal.title === '') {\n isValid = false;\n }\n if (personal.email === '') {\n isValid = false;\n }\n if (!personal.email.match(emailRegex)) {\n isValid = false;\n }\n if (personal.firstName === '') {\n isValid = false;\n }\n if (personal.lastName === '') {\n isValid = false;\n }\n if (personal.sendToFriend && personal.friendEmailAddress === '') {\n isValid = false;\n }\n if (personal.requestQuote && (!personal.dealer || personal.dealer === '0')) {\n isValid = false;\n }\n if (!personal.optIn) {\n isValid = false;\n }\n if (!personal.toc) {\n isValid = false;\n }\n return isValid;\n }\n};\n\nmodule.exports = ValidationHelpers;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/utils/validationHelpers.js\n// module id = 686\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/utils/validationHelpers.js?"); /***/ }), /* 687 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n/**\r\n * @method QuoteDetails - Renders the Quote Details from for the calculator \r\n * overview.\r\n * @param {JSON} props \r\n * @returns {JSX.Element}\r\n */\nvar QuoteDetails = function QuoteDetails(props) {\n var submission = props.submission;\n var haveAttemptedSubmission = props.ui.overview.haveAttemptedSubmission;\n var wrapperClass = 'c_dropdown--alt c_dropdown--overview c_dropdown--bs c_overview__quote-details__container h--large-margin-bottom' + /*props.ui.overview.viewQuoteDetails ? */' c_dropdown--open' /* : ''*/;\n var days = Helpers.getDays(submission.expirationYear, submission.expirationMonth);\n var months = Helpers.getMonths(submission.expirationYear);\n var years = Helpers.getYears();\n\n return React.createElement(\n 'div',\n { className: wrapperClass },\n React.createElement(\n 'header',\n { className: 'c_dropdown__header--alt c_dropdown__header--divider h--flexbox' },\n React.createElement(\n 'span',\n { className: 'c_dropdown__title c_text--blue' },\n Dictionary.getValue('quoteDetails', 'Quote details')\n )\n ),\n React.createElement(\n 'div',\n { className: 'c_dropdown__content--alt c_dropdown__content--padded' },\n React.createElement(\n 'div',\n { className: 'grid__row' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--6 grid--v-medium__col--12 grid--v-small__col--12 grid--v-small__col--omega h--medium-margin-bottom' },\n React.createElement(\n 'fieldset',\n { className: 'c_form__fieldset c_form__entry' },\n React.createElement(\n 'label',\n { htmlFor: 'frm_reference', className: 'c_form__label' },\n Dictionary.getValue('referenceNumber', 'Reference number'),\n React.createElement(\n 'span',\n { className: 'c_text--blue' },\n '*'\n )\n ),\n React.createElement('input', {\n id: 'frm_reference',\n name: 'reference',\n className: \"c_form__field c_form__field--text c_form__field--alt\" + (!haveAttemptedSubmission || props.validity.reference ? \"\" : \" input-validation-error\"),\n type: 'text',\n value: submission.reference,\n onChange: function onChange(e) {\n props.events.onSubmissionChange('reference', e.target.value);\n }\n })\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--6 grid--v-medium__col--12 grid--v-small__col--12 grid--v-large__col--omega grid--v-medium__col--omega grid--v-small__col--omega h--medium-margin-bottom' },\n React.createElement(\n 'fieldset',\n { className: 'c_form__fieldset c_form__entry' },\n React.createElement(\n 'label',\n { className: 'c_form__label' },\n Dictionary.getValue('expirationDate', 'Expiration date'),\n React.createElement(\n 'span',\n { className: 'c_text--blue' },\n '*'\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid__row' },\n React.createElement(\n 'div',\n { className: 'c_overview__quote-details__expiration-date' },\n React.createElement(\n 'div',\n { className: 'c_form__select--alt__container' },\n React.createElement(\n 'select',\n {\n type: 'text',\n name: 'expiration_date_day',\n className: 'c_form__field c_form__field--text c_form__field--alt',\n value: submission.expirationDay,\n onChange: function onChange(e) {\n props.events.onDateChange('Day', e.target.value);\n }\n },\n days.map(function (day) {\n return React.createElement(\n 'option',\n {\n key: \"day-option-\" + day,\n value: day\n },\n day < 10 ? '0' + day : day\n );\n })\n ),\n React.createElement('span', { className: 'c_form__select--arrow-down icon icon--arrow-down' })\n ),\n React.createElement(\n 'div',\n { className: 'c_form__select--alt__container' },\n React.createElement(\n 'select',\n {\n type: 'text',\n name: 'expiration_date_month',\n className: 'c_form__field c_form__field--text c_form__field--alt',\n value: submission.expirationMonth,\n onChange: function onChange(e) {\n props.events.onDateChange('Month', e.target.value);\n }\n },\n months.map(function (month) {\n var m = month + 1;\n return React.createElement(\n 'option',\n {\n key: 'month-option-' + m,\n value: m\n },\n m < 10 ? '0' + m : m\n );\n })\n ),\n React.createElement('span', { className: 'c_form__select--arrow-down icon icon--arrow-down' })\n ),\n React.createElement(\n 'div',\n { className: 'c_form__select--alt__container' },\n React.createElement(\n 'select',\n {\n type: 'text',\n name: 'expiration_date_year',\n className: 'c_form__field c_form__field--text c_form__field--alt',\n value: submission.expirationYear,\n onChange: function onChange(e) {\n props.events.onDateChange('Year', e.target.value);\n }\n },\n years.map(function (year) {\n return React.createElement(\n 'option',\n {\n key: 'year-option-' + year,\n value: year\n },\n year\n );\n })\n ),\n React.createElement('span', { className: 'c_form__select--arrow-down icon icon--arrow-down' })\n )\n )\n )\n )\n )\n )\n )\n );\n};\n\nmodule.exports = QuoteDetails;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Calculator/components/CalculatorOverview/components/QuoteDetails/QuoteDetails.jsx\n// module id = 687\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Calculator/components/CalculatorOverview/components/QuoteDetails/QuoteDetails.jsx?"); /***/ }), /* 688 */ /***/ (function(module, exports, __webpack_require__) { eval("\"use strict\";\n\nvar React = __webpack_require__(1);\n\n/**\r\n * @const ClientFormTextBox\r\n * @param {ClientFormTextBoxProps} props \r\n */\nvar ClientFormTextBox = function ClientFormTextBox(props) {\n return React.createElement(\n \"div\",\n { className: props.wrapperClass },\n React.createElement(\n \"fieldset\",\n { className: \"c_form__fieldset c_form__entry\" },\n React.createElement(\n \"label\",\n {\n htmlFor: \"frm_\" + props.fieldName,\n className: \"c_form__label\"\n },\n props.label,\n props.isRequired && React.createElement(\n \"span\",\n { className: \"c_text--blue\" },\n \"*\"\n )\n ),\n React.createElement(\"input\", {\n id: \"frm_\" + props.fieldName,\n name: props.fieldName,\n className: \"c_form__field c_form__field--text c_form__field--alt\" + (props.isValid ? \"\" : \" input-validation-error\"),\n type: \"text\",\n onChange: props.onChange,\n value: props.value\n })\n )\n );\n};\n\n/**\r\n * @typedef ClientFormTextBoxProps\r\n * @prop {string} fieldName\r\n * @prop {boolean} isRequired\r\n * @prop {(e: Event) => {}} onChange\r\n * @prop {string} label\r\n * @prop {string} value\r\n * @prop {string} wrapperClass\r\n */\n\nmodule.exports = ClientFormTextBox;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Common/ClientFormTextBox/ClientFormTextBox.jsx\n// module id = 688\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Common/ClientFormTextBox/ClientFormTextBox.jsx?"); /***/ }), /* 689 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\nvar Helpers = __webpack_require__(21);\n// store and actions\nvar Store = __webpack_require__(73);\nvar ViewActions = __webpack_require__(82);\n// models\nvar SubmissionResult = __webpack_require__(312);\n// Components\nvar TextArea = __webpack_require__(136);\nvar TextBox = __webpack_require__(137);\n\nvar EmailForm = React.createClass({\n\tdisplayName: 'EmailForm',\n\n\tgetInitialState: function getInitialState() {\n\t\treturn {\n\t\t\thaveAttemptedSubmission: false,\n\t\t\tsubmissionResult: new SubmissionResult(),\n\t\t\tvalidData: false\n\t\t};\n\t},\n\tcomponentDidMount: function componentDidMount() {\n\t\t// Set up a listener for the store\n\t\tStore.addChangeListener(this.onStoreChange);\n\t},\n\tcomponentWillUnmount: function componentWillUnmount() {\n\t\tStore.removeChangeListener(this.onStoreChange);\n\t},\n\tonEmailMessageChange: function onEmailMessageChange(parameter, e) {\n\t\tthis.props.onEmailMessageChange(parameter, e.target.value);\n\t\tthis.setState({ validData: Helpers.isEmailMessageValid(Store.getEmailMessage()) });\n\t},\n\tonStoreChange: function onStoreChange() {\n\t\tswitch (Store.getLastActionReceived()) {\n\t\t\tcase 'SENT_EMAIL':\n\t\t\t\tvar submissionResult = Store.getEmailSubmissionResult();\n\t\t\t\tvar index = Store.getLastQuoteEmailed();\n\t\t\t\tif (index == this.props.id) {\n\t\t\t\t\tthis.setState({ submissionResult: submissionResult });\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t}\n\t},\n\t/**\r\n * @method onSubmit\r\n * @param {event} e\r\n * @returns {void}\r\n */\n\tonSubmit: function onSubmit(e) {\n\t\te.preventDefault();\n\t\tViewActions.sendEmail(this.props.emailMessage, this.props.id);\n\t\tthis.setState({ haveAttemptedSubmission: true });\n\t},\n\trenderDropdownWrapperClass: function renderDropdownWrapperClass() {\n\t\tvar className = 'c_dropdown';\n\t\tif (this.props.isOpen) {\n\t\t\tclassName += ' c_dropdown--open';\n\t\t}\n\t\treturn className;\n\t},\n\trenderSuccessMessage: function renderSuccessMessage(email) {\n\t\treturn this.props.dictionary.emailSent.replace('{0}', email);\n\t},\n\trenderSubmitButtonClassName: function renderSubmitButtonClassName() {\n\t\tvar className = 'c_button c_button--full-width c_button--loading c_form__submit';\n\t\tif (!this.state.validData) {\n\t\t\tclassName += ' c_button--disabled';\n\t\t}\n\t\treturn className;\n\t},\n\trender: function render() {\n\t\treturn React.createElement(\n\t\t\t'div',\n\t\t\t{ className: this.renderDropdownWrapperClass() },\n\t\t\tthis.state.submissionResult.isSuccess == false ? React.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'c_dropdown__content' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\tReact.createElement(TextBox, {\n\t\t\t\t\t\tname: 'email',\n\t\t\t\t\t\ttitle: this.props.dictionary.email,\n\t\t\t\t\t\tvalue: this.props.emailMessage.email,\n\t\t\t\t\t\tplaceholder: this.props.dictionary.email,\n\t\t\t\t\t\twrapperClass: 'grid--v-large__col--8-8 h--medium-margin-bottom c_text--left',\n\t\t\t\t\t\tonInput: this.onEmailMessageChange.bind(this, 'email'),\n\t\t\t\t\t\tisRequired: true\n\t\t\t\t\t})\n\t\t\t\t),\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\tReact.createElement(TextBox, {\n\t\t\t\t\t\tname: 'subject',\n\t\t\t\t\t\ttitle: this.props.dictionary.subject,\n\t\t\t\t\t\tvalue: this.props.emailMessage.subject,\n\t\t\t\t\t\tplaceholder: this.props.dictionary.subjectPlaceholder,\n\t\t\t\t\t\twrapperClass: 'grid--v-large__col--8-8 h--medium-margin-bottom c_text--left',\n\t\t\t\t\t\tonInput: this.onEmailMessageChange.bind(this, 'subject'),\n\t\t\t\t\t\tisRequired: true\n\t\t\t\t\t})\n\t\t\t\t),\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\tReact.createElement(TextArea, {\n\t\t\t\t\t\tname: 'message',\n\t\t\t\t\t\ttitle: this.props.dictionary.message,\n\t\t\t\t\t\tvalue: this.props.emailMessage.message,\n\t\t\t\t\t\tplaceholder: this.props.dictionary.messagePlaceholder,\n\t\t\t\t\t\twrapperClass: 'grid--v-large__col--8-8 h--medium-margin-bottom c_text--left',\n\t\t\t\t\t\tonInput: this.onEmailMessageChange.bind(this, 'message'),\n\t\t\t\t\t\tisRequired: true\n\t\t\t\t\t})\n\t\t\t\t),\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'form',\n\t\t\t\t\t{ onSubmit: this.onSubmit, className: 'grid__row' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid--v-large__col--3-8 grid--v-large__col--omega' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'button',\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\ttype: 'submit',\n\t\t\t\t\t\t\t\tclassName: this.renderSubmitButtonClassName(),\n\t\t\t\t\t\t\t\tname: 'frm_submit',\n\t\t\t\t\t\t\t\tdisabled: this.props.isSubmitting\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tthis.props.dictionary.sendEmail\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t) : React.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'c_dropdown__content' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'p',\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'strong',\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\tthis.renderSuccessMessage(this.props.emailMessage.email)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t}\n});\n\nmodule.exports = EmailForm;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Common/EmailForm.jsx\n// module id = 689\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Common/EmailForm.jsx?"); /***/ }), /* 690 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\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 = __webpack_require__(1);\n\n// store and actions\nvar Store = __webpack_require__(73);\nvar ViewActions = __webpack_require__(82);\n\n// views\nvar ConfiguratorView = __webpack_require__(691);\n\n// Models\nvar Submission = __webpack_require__(366);\nvar SubmissionResult = __webpack_require__(312);\nvar Validation = __webpack_require__(367);\n\n// Utils\nvar Constants = __webpack_require__(270);\nvar DealerMapService = __webpack_require__(368);\nvar Helpers = __webpack_require__(21);\nvar ValidationHelpers = __webpack_require__(686);\n\n/**\r\n * @class Configurator\r\n * @description - The parent React component-view responsible for rendering the\r\n * configurator app. Handles non-store state logic for the app.\r\n */\nvar Configurator = React.createClass({\n\tdisplayName: 'Configurator',\n\n\tgetInitialState: function getInitialState() {\n\t\treturn {\n\t\t\tmodel: {\n\t\t\t\tboat: {\n\t\t\t\t\tstandardEquipment: [],\n\t\t\t\t\toptions: [],\n\t\t\t\t\tpacks: []\n\t\t\t\t},\n\t\t\t\tdictionary: {},\n\t\t\t\tsteps: [],\n\t\t\t\tcurrencyCode: ''\n\t\t\t},\n\t\t\tphonePrefixes: [],\n\t\t\tactivePopup: false,\n\t\t\tactivePackPopupIndex: 0,\n\t\t\tdealers: [],\n\t\t\tengineTab: 'single',\n\t\t\tisDealerPage: false,\n\t\t\tisPopupActive: false,\n\t\t\tisSubmitting: false,\n\t\t\tlast_action: '',\n\t\t\tmaxStep: 0,\n\t\t\topenEquipmentDropdown: -1,\n\t\t\tselectedConfig: 0,\n\t\t\tselectedEquipmentTab: 0,\n\t\t\tselectedStandardEquipmentPopupTab: 0,\n\t\t\tselectedStandardEquipmentPopupItem: 0,\n\t\t\tselectedPackPopupItem: 0,\n\t\t\tshowComparePacks: false,\n\t\t\tshowConfigurationFormError: false,\n\t\t\tshowEngineFormError: false,\n\t\t\trequiredPackIds: [],\n\t\t\tshowRequiredPacksWarning: false,\n\t\t\tsubmission: new Submission(),\n\t\t\tsubmissionResult: new SubmissionResult(),\n\t\t\tui: {},\n\t\t\tvalidation: new Validation()\n\t\t};\n\t},\n\n\t// React Lifecycle Methods /////////////////////////////////////////////////\n\n\tcomponentDidMount: function componentDidMount() {\n\t\t// Set up a listener for the store\n\t\tStore.addChangeListener(this.onStoreChange);\n\t\t// Attempt to load the model and submission to set the state.\n\t\tvar model = Store.getConfiguratorModel();\n\t\tvar isSubmitting = Store.getIsSubmitting();\n\t\tvar submission = new Submission(Store.getSubmission());\n\t\tvar submissionResult = new SubmissionResult(Store.getSubmissionResult());\n\t\tsubmission = this.setCountryForSubmission(submission);\n\t\tvar validation = new Validation(Store.getValidation());\n\t\tvar dealers = Store.getDealers();\n\t\tvar phonePrefixes = Store.getPhonePrefixes();\n\t\t// If the submission has no country assigned, get one from the URL.\n\t\tvar maxStep = Store.getMaximumStep();\n\t\tvar ui = Store.getUi();\n\t\t// If unable to acquire the model, request the model via API via ViewActions.\n\t\tif (!model) {\n\t\t\tsubmission.currentPageId = this.props.nodeId;\n\t\t\tsubmission.country = Helpers.getCountryAndLanguageFromUrl().country.toLowerCase();\n\t\t\tsubmission.expirationDay = Helpers.getDefaultDay();\n\t\t\tsubmission.expirationMonth = Helpers.getDefaultMonth();\n\t\t\tsubmission.expirationYear = Helpers.getDefaultYear();\n\t\t\tsubmission.language = Helpers.getCountryAndLanguageFromUrl().language.toLowerCase();\n\t\t\tsubmission.url = window.location.href.split('#')[0];\n\t\t\tViewActions.updateSubmission(submission);\n\t\t\tViewActions.getConfiguratorModel(this.props.nodeId, this.props.productId, this.props.country, this.props.language, this.props.dealerId);\n\t\t\tif (submission.country !== '') {\n\t\t\t\tViewActions.getDealers(this.props.nodeId, submission.country, this.props.dealerId);\n\t\t\t}\n\t\t\tViewActions.getPhonePrefixes();\n\t\t\tthis.updateState({ maxStep: maxStep, last_action: 'SET_MAX_STEP (componentDidMount())' });\n\t\t} else {\n\t\t\tlocalStorage.setItem('dictionary', JSON.stringify(model.dictionary));\n\t\t\tlocalStorage.setItem('priceSetting', JSON.stringify(model.priceSetting));\n\t\t\tthis.updateState({\n\t\t\t\tdealers: dealers,\n\t\t\t\tisSubmitting: isSubmitting,\n\t\t\t\tmodel: model,\n\t\t\t\tphonePrefixes: phonePrefixes,\n\t\t\t\tmaxStep: maxStep,\n\t\t\t\tsubmission: submission,\n\t\t\t\tsubmissionResult: submissionResult,\n\t\t\t\tui: ui,\n\t\t\t\tvalidation: validation,\n\t\t\t\tlast_action: 'UPDATE_CONFIGURATOR_FROM_STORE (componentDidMount())'\n\t\t\t});\n\t\t\tViewActions.updateSubmission(submission);\n\t\t}\n\t},\n\n\tcomponentDidUpdate: function componentDidUpdate(prevProps, prevState) {\n\t\tvar currentStep = this.getCurrentStep();\n\t\tif (currentStep !== undefined) {\n\t\t\tif (currentStep.stepNumber > this.state.maxStep) {\n\t\t\t\tvar maxStep = currentStep.stepNumber;\n\t\t\t\tViewActions.updateMaximumStep(maxStep);\n\t\t\t}\n\t\t}\n\t},\n\n\tcomponentWillUnmount: function componentWillUnmount() {\n\t\tStore.removeChangeListener(this.onStoreChange);\n\t},\n\n\t// Helper Functions ////////////////////////////////////////////////////////\n\n\t/**\r\n * @method activatePopup\r\n * @param {number} popupId\r\n * @returns {void}\r\n * @description Will trigger a popup opening with a matching ID, if such\r\n * exists.\r\n */\n\tactivatePopup: function activatePopup(popupId) {\n\t\tthis.updateState({ activePopup: popupId, last_action: 'ACTIVATE_POPUP (activatePopup())' });\n\t},\n\n\t/**\r\n * @method getCurrentStep\r\n * @returns {object}\r\n * @description Returns the active step of the app.\r\n */\n\tgetCurrentStep: function getCurrentStep() {\n\t\tvar step = {\n\t\t\tstepNumber: 0,\n\t\t\tbutton: ''\n\t\t};\n\t\tif (this.state.model.steps && this.state.model.steps.length > 0) {\n\t\t\tstep = this.state.model.steps[this.props.step];\n\t\t}\n\t\treturn step;\n\t},\n\n\t/**\r\n * @method getPopupItems\r\n * @returns {Array of object}\r\n * @description Builds up an array of objects for creating popups for the\r\n * current step.\r\n */\n\tgetPopupItems: function getPopupItems() {\n\t\tvar items = [];\n\t\tif (this.state.model.boat) {\n\t\t\tswitch (this.props.step) {\n\t\t\t\tcase 1:\n\t\t\t\t\t// Standard Equipment\n\t\t\t\t\tvar equipment = this.state.model.boat.standardEquipment[this.state.selectedStandardEquipmentPopupTab];\n\t\t\t\t\titems = equipment ? equipment.items.reduce(function (accumulated, item) {\n\t\t\t\t\t\tif (item.images.length > 0) {\n\t\t\t\t\t\t\titem.images.forEach(function (image, index) {\n\t\t\t\t\t\t\t\taccumulated.push({\n\t\t\t\t\t\t\t\t\tid: item.id,\n\t\t\t\t\t\t\t\t\timage: image,\n\t\t\t\t\t\t\t\t\tname: item.imageDescription\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (item.subitems.length > 0) {\n\t\t\t\t\t\t\titem.subitems.forEach(function (subItem, index) {\n\t\t\t\t\t\t\t\tif (subItem.images.length > 0) {\n\t\t\t\t\t\t\t\t\tsubItem.images.forEach(function (image, index) {\n\t\t\t\t\t\t\t\t\t\taccumulated.push({\n\t\t\t\t\t\t\t\t\t\t\tid: subItem.id,\n\t\t\t\t\t\t\t\t\t\t\timage: image,\n\t\t\t\t\t\t\t\t\t\t\tname: subItem.imageDescription\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn accumulated;\n\t\t\t\t\t}, []) : [];\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3:\n\t\t\t\t\t// Packs\n\t\t\t\t\tvar pack = this.state.model.boat.packs[this.state.activePackPopupIndex];\n\t\t\t\t\titems = pack ? pack.items.reduce(function (accumulated, item) {\n\t\t\t\t\t\tif (item.images.length > 0) {\n\t\t\t\t\t\t\titem.images.forEach(function (image, index) {\n\t\t\t\t\t\t\t\taccumulated.push({\n\t\t\t\t\t\t\t\t\tid: item.id,\n\t\t\t\t\t\t\t\t\timage: image,\n\t\t\t\t\t\t\t\t\tname: item.imageDescription\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (item.subitems.length > 0) {\n\t\t\t\t\t\t\titem.subitems.forEach(function (subItem, index) {\n\t\t\t\t\t\t\t\tif (subItem.images.length > 0) {\n\t\t\t\t\t\t\t\t\tsubItem.images.forEach(function (image, index) {\n\t\t\t\t\t\t\t\t\t\taccumulated.push({\n\t\t\t\t\t\t\t\t\t\t\tid: subItem.id,\n\t\t\t\t\t\t\t\t\t\t\timage: image,\n\t\t\t\t\t\t\t\t\t\t\tname: subItem.imageDescription\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn accumulated;\n\t\t\t\t\t}, []) : [];\n\t\t\t\t\tbreak;\n\t\t\t\tcase 4:\n\t\t\t\t\t// Options\n\t\t\t\t\tvar option = this.state.model.boat.options[this.state.activePackPopupIndex];\n\t\t\t\t\toption.images.map(function (image, index) {\n\t\t\t\t\t\titems.push({\n\t\t\t\t\t\t\tid: option.id,\n\t\t\t\t\t\t\timage: image,\n\t\t\t\t\t\t\tname: option.imageDescription\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t\tif (option.subitems.length > 0) {\n\t\t\t\t\t\toption.subitems.forEach(function (subItem, index) {\n\t\t\t\t\t\t\tif (subItem.images.length > 0) {\n\t\t\t\t\t\t\t\tsubItem.images.forEach(function (image, index) {\n\t\t\t\t\t\t\t\t\titems.push({\n\t\t\t\t\t\t\t\t\t\tid: subItem.id,\n\t\t\t\t\t\t\t\t\t\timage: image,\n\t\t\t\t\t\t\t\t\t\tname: subItem.imageDescription\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn items;\n\t},\n\n\t/**\r\n * @method getPopupStartingIndex\r\n * @returns {number}\r\n */\n\tgetPopupStartingIndex: function getPopupStartingIndex() {\n\t\tvar startingIndex = 0;\n\t\tif (this.props.step == 1) {\n\t\t\tstartingIndex = this.state.selectedStandardEquipmentPopupItem;\n\t\t} else if (this.props.step == 3 || this.props.step == 4) {\n\t\t\tstartingIndex = this.state.selectedPackPopupItem;\n\t\t}\n\t\treturn startingIndex;\n\t},\n\n\t/**\r\n * @method getPopupState - Returns a built up state object for the current \r\n * state of the popup gallery.\r\n * @returns {JSON}\r\n */\n\tgetPopupState: function getPopupState() {\n\t\tvar popupState = {\n\t\t\tisActive: this.state.isPopupActive,\n\t\t\titems: this.getPopupItems(),\n\t\t\tstartingIndex: this.getPopupStartingIndex(),\n\t\t\tshouldRender: this.shouldRenderPopupGallery()\n\t\t};\n\t\treturn popupState;\n\t},\n\n\t/**\r\n * @method getTotals\r\n * @returns {JSON}\r\n */\n\tgetTotals: function getTotals() {\n\t\tvar submission = this.state.submission;\n\t\tvar format = this.state.model.priceSetting;\n\n\t\tvar totals = {\n\t\t\tsubtotal: Helpers.formatMoney(0),\n\t\t\tvat: Helpers.formatMoney(0),\n\t\t\tdiscountVat: Helpers.formatMoney(0),\n\t\t\ttotal: Helpers.formatMoney(0)\n\t\t};\n\n\t\tif (typeof submission !== 'undefined' && typeof format !== 'undefined') {\n\t\t\ttotals = {\n\t\t\t\tsubtotal: Helpers.formatMoney(submission.subtotal, format.decimalSeparator, format.thousandSeparator),\n\t\t\t\tvat: Helpers.formatMoney(submission.vat, format.decimalSeparator, format.thousandSeparator),\n\t\t\t\tdiscountVat: Helpers.formatMoney(submission.discountVat, format.decimalSeparator, format.thousandSeparator),\n\t\t\t\ttotal: Helpers.formatMoney(submission.total - submission.totalRedeems, format.decimalSeparator, format.thousandSeparator)\n\t\t\t};\n\t\t}\n\n\t\treturn totals;\n\t},\n\n\t/**\r\n * @method isButtonDisabled\r\n * @returns {bool}\r\n * @description If the current step's submission requirements are fulfilled,\r\n * returns true. Otherwise returns false.\r\n */\n\tisButtonDisabled: function isButtonDisabled() {\n\t\tvar isDisabled = false;\n\t\tif (this.props.step == 2) {\n\t\t\tif (!this.state.submission.engine) {\n\t\t\t\tisDisabled = true;\n\t\t\t}\n\t\t}\n\t\treturn isDisabled;\n\t},\n\n\t/**\r\n * @method setCountryForSubmission\r\n * @param {object} submission - See Submission class.\r\n * @returns {object}\r\n * @description If the submission object has no country, acquire one from\r\n * the URL.\r\n */\n\tsetCountryForSubmission: function setCountryForSubmission(submission) {\n\t\tvar update = false;\n\t\tif (!submission.personalInfo.country) {\n\t\t\tvar country = Helpers.getCountryAndLanguageFromUrl().country.toUpperCase();\n\t\t\tif (country == 'INT') {\n\t\t\t\tsubmission.personalInfo.country = '0';\n\t\t\t} else {\n\t\t\t\tsubmission.personalInfo.country = country;\n\t\t\t}\n\t\t}\n\t\tsubmission.personalInfo.dealerCountry = '0';\n\t\tViewActions.updateSubmission(submission);\n\t\treturn submission;\n\t},\n\n\t/**\r\n * @method selectDealer\r\n * @param {number} dealerId\r\n * @returns {void}\r\n * @description For the dealer map, when a dealer is clicked update the\r\n * submission accordingly.\r\n */\n\tselectDealer: function selectDealer(dealerId) {\n\t\tthis.onPersonalInfoChange('dealer', dealerId);\n\t},\n\n\t/**\r\n * @method shouldRenderPopupGallery\r\n * @returns {bool}\r\n */\n\tshouldRenderPopupGallery: function shouldRenderPopupGallery() {\n\t\tvar shouldRender = false;\n\t\tif (this.props.step == 1 || this.props.step == 3 || this.props.step == 4) {\n\t\t\tshouldRender = true;\n\t\t}\n\t\treturn shouldRender;\n\t},\n\n\t/**\r\n * @method shouldRenderOverviewLink\r\n * @returns {bool}\r\n */\n\tshouldRenderOverviewLink: function shouldRenderOverviewLink() {\n\t\treturn true;\n\t},\n\n\t/**\r\n * @method toggleDealerMap\r\n * @method {event} e\r\n * @returns {void}\r\n * @description Opens/closes the dealer map page.\r\n */\n\ttoggleDealerMap: function toggleDealerMap(e) {\n\t\tif (e) {\n\t\t\te.preventDefault();\n\t\t}\n\t\tvar isDealerPage = !this.state.isDealerPage;\n\t\tthis.updateState({ isDealerPage: isDealerPage, last_action: 'TOGGLE_DEALER_MAP (toggleDealerMap())' });\n\t},\n\n\t/**\r\n * @method updateState\r\n * @param {JSON} stateChange\r\n * @param {function} callbackAfterStateChange\r\n * @returns {JSON}\r\n * @description Updates this.state with the provided stateChange.\r\n */\n\tupdateState: function updateState(stateChange, callbackAfterStateChange) {\n\t\tif (Constants.ENABLE_CONSOLE_LOGGING && Constants.LOG_ACTIONS_IN_CONSOLE) {\n\t\t\tconsole.group('===Configurator===');\n\t\t\tconsole.log('%c old state:', 'color:gray', this.state);\n\t\t\tconsole.log('%c action: \"' + stateChange.last_action + '\"', 'color:magenta');\n\t\t\tconsole.log('%c stateChange:', 'color:blue', stateChange);\n\t\t}\n\t\tvar newState = Object.assign({}, this.state, stateChange);\n\t\tif (callbackAfterStateChange) {\n\t\t\tthis.setState(newState, function () {\n\t\t\t\tcallbackAfterStateChange();\n\t\t\t}.bind(this));\n\t\t} else {\n\t\t\tthis.setState(newState);\n\t\t}\n\t\tif (Constants.ENABLE_CONSOLE_LOGGING && Constants.LOG_ACTIONS_IN_CONSOLE) {\n\t\t\tconsole.log('%c new state:', 'color:green', newState);\n\t\t\tconsole.groupEnd('===Configurator===');\n\t\t}\n\t\treturn this.state;\n\t},\n\n\t// Event Handlers //////////////////////////////////////////////////////////\n\n\t/**\r\n * @method onChangeActiveMobileTab\r\n * @param {string} tabName\r\n * @returns {void}\r\n */\n\tonChangeActiveMobileTab: function onChangeActiveMobileTab(tabName) {\n\t\tViewActions.changeActiveMobileTab(tabName);\n\t},\n\n\t/**\r\n * @method onChangeStep\r\n * @param {number} stepNumber\r\n * @returns {void}\r\n */\n\tonChangeStep: function onChangeStep(stepNumber) {\n\t\tvar slug = this.state.model.steps[stepNumber].slug;\n\t\twindow.location.hash = '#' + slug;\n\t\tthis.setState({ activePackPopupIndex: 0 });\n\t},\n\n\t/**\r\n * @method onChooseOtherEngine\r\n * @returns {void}\r\n */\n\tonChooseOtherEngine: function onChooseOtherEngine() {\n\t\tthis.onEngineBoardTypeSelect('');\n\t\tthis.onEngineBrandSelect('');\n\t\tthis.onEngineCountSelect('');\n\t\tthis.onEngineSelect('');\n\t\twindow.scrollTo(0, 0);\n\t\t//Reset navigation to not allow to go beyond engine step\n\t\tif (this.state.maxStep > 2) {\n\t\t\tViewActions.updateMaximumStep(2);\n\t\t}\n\t},\n\n\t/**\r\n * @method onClickEquipmentDropdown\r\n * @param {Event} e\r\n * @returns {void}\r\n */\n\tonClickEquipmentDropdown: function onClickEquipmentDropdown(e) {\n\t\te.preventDefault();\n\t\tvar index = Number(e.target.getAttribute('data-index'));\n\t\tif (this.state.openEquipmentDropdown == index) {\n\t\t\tindex = -1;\n\t\t}\n\t\tvar lastAction = index !== -1 ? 'OPEN_EQUIPMENT_DROPDOWN (onClickEquipmentDropdown())' : 'CLOSE_EQUIPMENT_DROPDOWN (onClickEquipmentDropdown())';\n\t\tthis.updateState({ openEquipmentDropdown: index, last_action: lastAction });\n\t},\n\n\t/**\r\n * @method onClickStandardEquipmentItem\r\n * @param {number} tabIndex\r\n * @param {number} itemIndex\r\n * @returns {void}\r\n */\n\tonClickStandardEquipmentItem: function onClickStandardEquipmentItem(tabIndex, itemIndex) {\n\t\tthis.updateState({\n\t\t\tisPopupActive: true,\n\t\t\tselectedStandardEquipmentPopupItem: itemIndex,\n\t\t\tselectedStandardEquipmentPopupTab: tabIndex,\n\t\t\tlast_action: 'OPEN_POPUP (onClickStandardEquipmentItem())'\n\t\t});\n\t},\n\n\t/**\r\n * @method onCloseComparePicks\r\n */\n\tonCloseComparePacks: function onCloseComparePacks() {\n\t\tthis.updateState({ showComparePacks: false, last_action: 'CLOSE_COMPARE_PACKS (onCloseComparePacks())' });\n\t},\n\n\t/**\r\n * @method onCloseConfigurationFormError\r\n */\n\tonCloseConfigurationFormError: function onCloseConfigurationFormError() {\n\t\tthis.updateState({ showConfigurationFormError: false, last_action: 'CLOSE_FORM_ERROR_POPUP (onCloseConfigurationFormError())' });\n\t},\n\n\t/**\r\n * @method onCloseEngineFormError\r\n */\n\tonCloseEngineFormError: function onCloseEngineFormError() {\n\t\tthis.updateState({ showEngineFormError: false, last_action: 'CLOSE_FORM_ERROR_POPUP (onCloseEngineFormError())' });\n\t},\n\n\t/**\r\n * @method onCloseRequiredPacksWarning\r\n */\n\tonCloseRequiredPacksWarning: function onCloseRequiredPacksWarning() {\n\t\tthis.updateState({ requiredPackIds: [], showRequiredPacksWarning: false, last_action: 'CLOSE_FORM_ERROR_POPUP (onCloseRequiredPacksWarning)' });\n\t},\n\n\t/**\r\n * @method onClosePopup\r\n * @returns {void}\r\n * @description Closes the active popup.\r\n */\n\tonClosePopup: function onClosePopup() {\n\t\tthis.updateState({ isPopupActive: false, last_action: 'CLOSE_POPUP (closePopup())' });\n\t},\n\n\t/**\r\n * @method onConfigurationSelect\r\n * @param {number} configId - The id of the configuration selected.\r\n * @returns {void}\r\n * @description Update the submission object with preset values from the\r\n * chosen configuration.\r\n */\n\tonConfigurationSelect: function onConfigurationSelect(configId) {\n\t\tvar selectedConfig = false;\n\t\tvar currentSelectedConfig = this.state.selectedConfig;\n\t\tthis.state.model.recommendedConfigurations.forEach(function (config) {\n\t\t\tif (config.id == configId) {\n\t\t\t\tselectedConfig = config;\n\t\t\t}\n\t\t});\n\t\tif (selectedConfig) {\n\t\t\tvar submission = new Submission(this.state.submission);\n\t\t\tif (currentSelectedConfig !== selectedConfig && selectedConfig.id !== -1) {\n\t\t\t\t//Don't make engine decision if starting from scratch configuration is choosen\n\t\t\t\t// Get choosen configuration\n\t\t\t\tvar recommendedConfiguration = this.state.model.recommendedConfigurations.filter(function (config) {\n\t\t\t\t\treturn config.id === selectedConfig.id;\n\t\t\t\t})[0];\n\t\t\t\t// Get engine of choosen configuration\n\t\t\t\tvar recommendedConfigurationEngine = this.state.model.boat.engines.filter(function (engine) {\n\t\t\t\t\treturn engine.id === recommendedConfiguration.engine;\n\t\t\t\t})[0];\n\n\t\t\t\t// Set submission engine info\n\t\t\t\tsubmission.engine = recommendedConfigurationEngine;\n\n\t\t\t\t// Must set board and count type to \"move\" into last engine decision step\n\t\t\t\tvar boardType = recommendedConfigurationEngine.inboard ? 'BOARD_TYPE_INBOARD' : 'BOARD_TYPE_OUTBOARD';\n\t\t\t\tvar countType = recommendedConfigurationEngine.dual ? 'ENGINE_COUNT_DOUBLE' : 'ENGINE_COUNT_SINGLE';\n\n\t\t\t\tthis.onEngineBoardTypeSelect(boardType);\n\t\t\t\tthis.onEngineCountSelect(countType);\n\t\t\t} else if (selectedConfig.id === -1) {\n\t\t\t\t//Reset engine decision if starting from scratch configuration is choosen\n\t\t\t\tthis.onChooseOtherEngine();\n\t\t\t\tsubmission.engine = '';\n\t\t\t}\n\t\t\tsubmission.packs = [];\n\t\t\tthis.state.model.boat.packs.forEach(function (pack) {\n\t\t\t\tselectedConfig.packs.forEach(function (packId) {\n\t\t\t\t\tif (packId == pack.id) {\n\t\t\t\t\t\tsubmission.packs.push(pack);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\t\t\tsubmission.options = [];\n\t\t\tsubmission.requiredOptions = [];\n\t\t\tsubmission.partOfPackOptions = [];\n\t\t\tvar allOptions = this.state.model.boat.options;\n\t\t\tthis.state.model.boat.options.forEach(function (option) {\n\t\t\t\tvar isPartOfSelectedPack = Helpers.isPartOfSelectedPack(selectedConfig.packs, option);\n\t\t\t\tvar isPartOfSelectedConfig = Helpers.isPartOfSelectedOptions(selectedConfig.optionalEquipment, option);\n\t\t\t\tvar requiredRelatedOptions = Helpers.getRequiredRelatedOptions(allOptions, option);\n\t\t\t\tif (isPartOfSelectedPack) {\n\t\t\t\t\tvar inPackList = false;\n\t\t\t\t\tsubmission.partOfPackOptions.forEach(function (packOption) {\n\t\t\t\t\t\tif (packOption.id === option.id) {\n\t\t\t\t\t\t\tinPackList = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tif (!inPackList) {\n\t\t\t\t\t\tsubmission.partOfPackOptions.push(option);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (isPartOfSelectedConfig && !isPartOfSelectedPack) {\n\t\t\t\t\tvar inList = false;\n\t\t\t\t\tsubmission.options.forEach(function (submittedOption) {\n\t\t\t\t\t\tif (submittedOption.id === option.id) {\n\t\t\t\t\t\t\tinList = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tif (!inList) {\n\t\t\t\t\t\tsubmission.options.push(option);\n\t\t\t\t\t}\n\t\t\t\t\tif (requiredRelatedOptions.length > 0) {\n\t\t\t\t\t\trequiredRelatedOptions.forEach(function (requiredRelatedOption) {\n\t\t\t\t\t\t\tvar inRequiredList = false;\n\t\t\t\t\t\t\tsubmission.requiredOptions.forEach(function (requiredOption) {\n\t\t\t\t\t\t\t\tif (requiredOption.id === requiredOption.id) {\n\t\t\t\t\t\t\t\t\tinRequiredList = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tif (!inRequiredList) {\n\t\t\t\t\t\t\t\tsubmission.requiredOptions.push(option);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\t//Iterate all pacsk selected in configuration, add required options and remove incompatible options again\n\t\t\tsubmission.packs.forEach(function (pack) {\n\t\t\t\tvar incompatibleWithPackOptionIds = pack.incompatibleOptions;\n\t\t\t\tvar requiredForPackOptionIds = pack.requiredOptions;\n\t\t\t\tvar forRemoval = [];\n\t\t\t\t//Iterate all incompatible options for selected pack and also mark for removal\n\t\t\t\tincompatibleWithPackOptionIds.forEach(function (incompatibleWithPackOptionId) {\n\t\t\t\t\tallOptions.forEach(function (option) {\n\t\t\t\t\t\tif (option.id === incompatibleWithPackOptionId) {\n\t\t\t\t\t\t\tforRemoval.push(option);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t\tvar currentOptions = submission.options;\n\t\t\t\tsubmission.options = [];\n\t\t\t\t//Empty submission option list, iterate those options and if marked for removal, don't add to new list of options\n\t\t\t\tcurrentOptions.forEach(function (currentOption) {\n\t\t\t\t\tvar inRemovalList = false;\n\t\t\t\t\tforRemoval.forEach(function (optionForRemoval) {\n\t\t\t\t\t\tif (optionForRemoval.id === currentOption.id) {\n\t\t\t\t\t\t\tinRemovalList = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tif (!inRemovalList) {\n\t\t\t\t\t\tsubmission.options.push(currentOption);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\t//Iterate required pack option ids\n\t\t\t\trequiredForPackOptionIds.forEach(function (requiredOptionId) {\n\t\t\t\t\tvar alreadyInList = false;\n\t\t\t\t\t//Check if not yet in list of selected options\n\t\t\t\t\tsubmission.options.forEach(function (option) {\n\t\t\t\t\t\tif (option.id === requiredOptionId) {\n\t\t\t\t\t\t\talreadyInList = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tif (!alreadyInList) {\n\t\t\t\t\t\t//Find option in list of all options based on id and add to selected options\n\t\t\t\t\t\tallOptions.forEach(function (option) {\n\t\t\t\t\t\t\tif (option.id === requiredOptionId) {\n\t\t\t\t\t\t\t\tsubmission.options.push(option);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\t\tViewActions.updateSubmission(submission);\n\t\tthis.updateState({ selectedConfig: configId, last_action: 'SELECT_CONFIGURATION (onConfigurationSelect())' });\n\t},\n\n\t/**\r\n * @method onEngineBoardTypeSelect - Triggered when the user selects what \r\n * category of board type (inboard or outboard) they want for their engine\r\n * @param {string} boardType - A constants key for the board type.\r\n * @returns {false}\r\n */\n\tonEngineBoardTypeSelect: function onEngineBoardTypeSelect(boardType) {\n\t\tViewActions.changeEngineUiParameter('selectedBoardType', boardType);\n\t},\n\n\t/**\r\n * @method onEngineBrandSelect\r\n * @param {string} brand\r\n * @returns {void}\r\n */\n\tonEngineBrandSelect: function onEngineBrandSelect(brand) {\n\t\tViewActions.changeEngineUiParameter('selectedBrand', brand);\n\t},\n\n\t/**\r\n * @method onEngineCountSelect\r\n * @param {number} count\r\n * @returns {void}\r\n */\n\tonEngineCountSelect: function onEngineCountSelect(count) {\n\t\tViewActions.changeEngineUiParameter('selectedSingleOrDual', count);\n\t},\n\n\t/**\r\n * @method onEngineSelect\r\n * @param {object} engine\r\n * @returns {void}\r\n * @description Updates the store's submission object with a new engine via\r\n * ViewActions.\r\n */\n\tonEngineSelect: function onEngineSelect(engine) {\n\t\tvar submission = new Submission(this.state.submission);\n\t\tsubmission.engine = engine;\n\t\tViewActions.updateSubmission(submission);\n\t},\n\n\t/**\r\n * @method onEngineTabSelect\r\n * @param {Events} e\r\n * @returns {void}\r\n */\n\tonEngineTabSelect: function onEngineTabSelect(e) {\n\t\te.preventDefault();\n\t\tvar newType = 'single';\n\t\tif (e.target.href.split('#')[1] == '2x') {\n\t\t\tnewType = 'dual';\n\t\t}\n\t\tif (newType !== this.state.engineTab) {\n\t\t\tthis.setState({ engineTab: newType });\n\t\t}\n\t},\n\n\tonGetDealerRouteDirections: function onGetDealerRouteDirections(dealer) {\n\t\tvar info = JSON.parse(JSON.stringify(this.state.submission.personalInfo));\n\t\tvar address = [];\n\t\tif (this.state.ui.originForDirections !== '') {\n\t\t\torigin = this.state.ui.originForDirections;\n\t\t} else {\n\t\t\tif (info.street !== '') {\n\t\t\t\taddress.push(info.street + (info.streetNumber !== '' ? ' ' + info.streetNumber : ''));\n\t\t\t}\n\t\t\tif (info.zipCode !== '' || info.city !== '') {\n\t\t\t\taddress.push(info.zipCode + (info.city !== '' ? ' ' + info.city : ''));\n\t\t\t}\n\t\t\tif (address.length > 0) {\n\t\t\t\taddress.push(info.country);\n\t\t\t}\n\t\t\torigin = address.join(' ');\n\t\t}\n\t\taddress = [];\n\t\tif (dealer.address1) {\n\t\t\taddress.push(dealer.address1);\n\t\t}\n\t\tif (dealer.address2) {\n\t\t\taddress.push(dealer.address2);\n\t\t}\n\t\taddress.push(dealer.postalCode + \" \" + dealer.city);\n\t\taddress.push(dealer.country);\n\t\tvar destination = address.join(', ');\n\t\tViewActions.selectDealer(dealer);\n\t\tDealerMapService.getRoute(origin, destination, 'DRIVING', function (route) {\n\t\t\tViewActions.updateRoute(route);\n\t\t});\n\t},\n\n\n\t/**\r\n * @method onNextStep\r\n * @returns {void}\r\n * @description Updates the hash of the URL for the next step, causing the\r\n * app's next page to load.\r\n */\n\tonNextStep: function onNextStep() {\n\t\tif (this.props.step == 0 && this.state.selectedConfig == '0') {\n\t\t\tthis.setState({ showConfigurationFormError: true });\n\t\t\treturn false;\n\t\t}\n\t\tif (this.props.step == 2 && (this.state.submission.engine === '' || this.state.submission.engine === '-1' || !this.state.submission.engine)) {\n\t\t\tthis.setState({ showEngineFormError: true });\n\t\t\treturn false;\n\t\t}\n\t\tvar currentStep = this.state.model.steps[this.props.step];\n\t\tvar slug = this.state.model.steps[currentStep.nextStep.stepNumber].slug;\n\t\twindow.location.hash = '#' + slug;\n\t},\n\n\t/**\r\n * @method onOpenComparePacks\r\n */\n\tonOpenComparePacks: function onOpenComparePacks() {\n\t\tthis.updateState({ showComparePacks: true, last_action: 'OPEN_COMPARE_PACKS (onOpenComparePacks())' });\n\t},\n\n\t/**\r\n * @method onOptionSelect\r\n * @param {object} selectedOption\r\n * @returns {void}\r\n * @description Updates the store's submission object via ViewActions with a new option in the option array, or removes it if it already exists in that array.\r\n */\n\tonOptionSelect: function onOptionSelect(selectedOption) {\n\t\tvar submission = new Submission(this.state.submission);\n\t\tvar selectedPacks = submission.packs;\n\t\tvar allOptions = this.state.model.boat.options;\n\t\tvar allSubmittedOptions = submission.options;\n\t\tvar isAlreadySelected = false;\n\t\tsubmission.options.forEach(function (option, index) {\n\t\t\tif (option.id == selectedOption.id) {\n\t\t\t\tisAlreadySelected = true;\n\t\t\t\tsubmission.options.splice(index, 1);\n\t\t\t}\n\t\t});\n\t\tif (!isAlreadySelected) {\n\t\t\tif (selectedOption.requiredPacks && selectedOption.requiredPacks.length > 0) {\n\t\t\t\tvar requiredPackSelected = false;\n\t\t\t\tselectedPacks.forEach(function (selectedPack) {\n\t\t\t\t\tselectedOption.requiredPacks.forEach(function (selectedOptionRequiredPackId) {\n\t\t\t\t\t\tif (selectedPack.id === selectedOptionRequiredPackId) {\n\t\t\t\t\t\t\trequiredPackSelected = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t\tif (requiredPackSelected) {\n\t\t\t\t\tsubmission.options.push(selectedOption);\n\t\t\t\t} else {\n\t\t\t\t\tthis.setState({ requiredPackIds: selectedOption.requiredPacks, showRequiredPacksWarning: true });\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tsubmission.options.push(selectedOption);\n\t\t\t}\n\t\t}\n\t\t//Re-evaluate required options list\n\t\tsubmission.requiredOptions = [];\n\t\tsubmission.options.forEach(function (option, index) {\n\t\t\tvar requiredOptions = Helpers.getRequiredRelatedOptions(allOptions, option);\n\t\t\trequiredOptions.forEach(function (requiredRelatedOption) {\n\t\t\t\tvar inList = false;\n\t\t\t\tvar alreadyAsPartOfPackOption = false;\n\t\t\t\tallSubmittedOptions.forEach(function (submittedOption) {\n\t\t\t\t\tif (submittedOption.id === requiredRelatedOption.id) {\n\t\t\t\t\t\tinList = true;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\t//Extra check to verify if required related option is not part of an already selected pack!\n\t\t\t\tsubmission.partOfPackOptions.forEach(function (option) {\n\t\t\t\t\tif (option.id === requiredRelatedOption.id) {\n\t\t\t\t\t\talreadyAsPartOfPackOption = true;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tif (!inList && !alreadyAsPartOfPackOption) {\n\t\t\t\t\tsubmission.options.push(requiredRelatedOption);\n\t\t\t\t}\n\t\t\t\tvar inRequiredList = false;\n\t\t\t\tsubmission.requiredOptions.forEach(function (requiredOption) {\n\t\t\t\t\tif (requiredOption.id === requiredRelatedOption.id) {\n\t\t\t\t\t\tinRequiredList = true;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tif (!inRequiredList) {\n\t\t\t\t\tsubmission.requiredOptions.push(requiredRelatedOption);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t\tViewActions.updateSubmission(submission);\n\t},\n\t/**\r\n * @method onPackSelect\r\n * @param {objected} selectedPack\r\n * @returns {void}\r\n * @description Updates the store's submission object via ViewActions with a new pack in the packs array, or removes it if it already exists in that array.\r\n */\n\tonPackSelect: function onPackSelect(selectedPack) {\n\t\tvar submission = new Submission(this.state.submission);\n\t\tvar allOptions = this.state.model.boat.options;\n\t\tvar allSubmittedOptions = submission.options;\n\t\tvar allPacks = this.state.model.packs;\n\t\tvar isPackAlreadySelected = false;\n\n\t\tvar incompatibleWithPackOptionIds = selectedPack.incompatibleOptions;\n\t\tvar requiredForPackOptionIds = selectedPack.requiredOptions;\n\n\t\tsubmission.packs.forEach(function (pack, index) {\n\t\t\tif (pack.id == selectedPack.id) {\n\t\t\t\tisPackAlreadySelected = true;\n\t\t\t\tvar currentPackOptions = submission.partOfPackOptions;\n\t\t\t\tvar packIds = [];\n\t\t\t\tsubmission.packs.splice(index, 1);\n\t\t\t\tsubmission.partOfPackOptions = [];\n\t\t\t\tsubmission.packs.forEach(function (pack) {\n\t\t\t\t\tpackIds.push(pack.id);\n\t\t\t\t});\n\t\t\t\tcurrentPackOptions.forEach(function (currentOption) {\n\t\t\t\t\tvar isPartOfSelectedPack = Helpers.isPartOfSelectedPack(packIds, currentOption);\n\t\t\t\t\tif (isPartOfSelectedPack) {\n\t\t\t\t\t\tsubmission.partOfPackOptions.push(currentOption);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\t// Re-evaluate existing options, as some may need to be removed (if option requires pack\n\t\t\t\tvar reevaluatedOptions = [];\n\t\t\t\tsubmission.options.forEach(function (option) {\n\t\t\t\t\tvar dontAdd = false;\n\t\t\t\t\tvar requiredPackIds = option.requiredPacks;\n\t\t\t\t\trequiredPackIds.forEach(function (requiredPackId) {\n\t\t\t\t\t\tif (requiredPackId === selectedPack.id) {\n\t\t\t\t\t\t\t//Oops, we need to remove the option as it would require the selected pack which just got deselected\n\t\t\t\t\t\t\tdontAdd = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tif (!dontAdd) {\n\t\t\t\t\t\treevaluatedOptions.push(option);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tsubmission.options = reevaluatedOptions;\n\t\t\t\t//Have to re-evaluate all already selected options, and verify if we need to re-add required related options to list of options\n\t\t\t\t//Re-evaluate required options list\n\t\t\t\tsubmission.requiredOptions = [];\n\t\t\t\tsubmission.options.forEach(function (option, index) {\n\t\t\t\t\tvar requiredOptions = Helpers.getRequiredRelatedOptions(allOptions, option);\n\t\t\t\t\trequiredOptions.forEach(function (requiredRelatedOption) {\n\t\t\t\t\t\tvar inList = false;\n\t\t\t\t\t\tvar alreadyAsPartOfPackOption = false;\n\t\t\t\t\t\tallSubmittedOptions.forEach(function (submittedOption) {\n\t\t\t\t\t\t\tif (submittedOption.id === requiredRelatedOption.id) {\n\t\t\t\t\t\t\t\tinList = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t\t//Extra check to verify if required related option is not part of an already selected pack!\n\t\t\t\t\t\tsubmission.partOfPackOptions.forEach(function (option) {\n\t\t\t\t\t\t\tif (option.id === requiredRelatedOption.id) {\n\t\t\t\t\t\t\t\talreadyAsPartOfPackOption = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t\tif (!inList && !alreadyAsPartOfPackOption) {\n\t\t\t\t\t\t\tsubmission.options.push(requiredRelatedOption);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar inRequiredList = false;\n\t\t\t\t\t\tsubmission.requiredOptions.forEach(function (requiredOption) {\n\t\t\t\t\t\t\tif (requiredOption.id === requiredRelatedOption.id) {\n\t\t\t\t\t\t\t\tinRequiredList = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t\tif (!inRequiredList) {\n\t\t\t\t\t\t\tsubmission.requiredOptions.push(requiredRelatedOption);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t}\n\t\t});\n\t\tif (!isPackAlreadySelected) {\n\t\t\t//Get all options in this newly selected pack\n\t\t\tvar optionsInPack = [];\n\t\t\tallOptions.forEach(function (option) {\n\t\t\t\toption.isPartOf.forEach(function (packId) {\n\t\t\t\t\tif (packId == selectedPack.id) {\n\t\t\t\t\t\toptionsInPack.push(option);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\t\t\t//Iterate options from selected pack and add if not yet in list if options part of a pack\n\t\t\tvar forRemoval = [];\n\t\t\toptionsInPack.forEach(function (optionInPack) {\n\t\t\t\tvar inList = false;\n\t\t\t\tsubmission.partOfPackOptions.forEach(function (packOption) {\n\t\t\t\t\tif (optionInPack.id == packOption.id) {\n\t\t\t\t\t\tinList = true;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tif (!inList) {\n\t\t\t\t\tsubmission.partOfPackOptions.push(optionInPack);\n\t\t\t\t}\n\t\t\t\tvar inOptionList = false;\n\t\t\t\t//Find current selected options that are now part of options in pack, mark for removal\n\t\t\t\tsubmission.options.forEach(function (option) {\n\t\t\t\t\tif (option.id === optionInPack.id) {\n\t\t\t\t\t\tforRemoval.push(optionInPack);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\t\t\t//Iterate all incompatible options for selected pack and also mark for removal\n\t\t\tincompatibleWithPackOptionIds.forEach(function (incompatibleWithPackOptionId) {\n\t\t\t\tallOptions.forEach(function (option) {\n\t\t\t\t\tif (option.id === incompatibleWithPackOptionId) {\n\t\t\t\t\t\tforRemoval.push(option);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\t\t\tvar currentOptions = submission.options;\n\t\t\tsubmission.options = [];\n\t\t\t//Empty submission option list, iterate those options and if marked for removal, don't add to new list of options\n\t\t\tcurrentOptions.forEach(function (currentOption) {\n\t\t\t\tvar inRemovalList = false;\n\t\t\t\tforRemoval.forEach(function (optionForRemoval) {\n\t\t\t\t\tif (optionForRemoval.id === currentOption.id) {\n\t\t\t\t\t\tinRemovalList = true;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tif (!inRemovalList) {\n\t\t\t\t\tsubmission.options.push(currentOption);\n\t\t\t\t}\n\t\t\t});\n\t\t\t//Iterate required pack option ids\n\t\t\trequiredForPackOptionIds.forEach(function (requiredOptionId) {\n\t\t\t\tvar alreadyInList = false;\n\t\t\t\t//Check if not yet in list of selected options\n\t\t\t\tsubmission.options.forEach(function (option) {\n\t\t\t\t\tif (option.id === requiredOptionId) {\n\t\t\t\t\t\talreadyInList = true;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tif (!alreadyInList) {\n\t\t\t\t\t//Find option in list of all options based on id and add to selected options\n\t\t\t\t\tallOptions.forEach(function (option) {\n\t\t\t\t\t\tif (option.id === requiredOptionId) {\n\t\t\t\t\t\t\tsubmission.options.push(option);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t});\n\t\t\tsubmission.packs.push(selectedPack);\n\t\t}\n\t\tViewActions.updateSubmission(submission);\n\t},\n\n\t/**\r\n * @method onPersonalInfoChange\r\n * @param {string} parameter - key to the parameter of the personalInfo\r\n * object to change.\r\n * @param {string} value - The value to update the parameter to.\r\n * @returns {void}\r\n * @description Updates the personal information part of the submission\r\n * model with the new value for the indicated parameter.\r\n */\n\tonPersonalInfoChange: function onPersonalInfoChange(parameter, value) {\n\t\tvar submission = new Submission(this.state.submission);\n\t\tif (submission.personalInfo.requestQuote) {\n\t\t\tif (parameter == 'dealerCountry') {\n\t\t\t\tViewActions.getDealers(this.props.nodeId, value, this.props.dealerId);\n\t\t\t\tsubmission.personalInfo['dealerCountry'] = false;\n\t\t\t\tsubmission.personalInfo['dealer'] = false;\n\t\t\t}\n\t\t\tif (parameter == 'dealer') {\n\t\t\t\tif (value == '0') {\n\t\t\t\t\tsubmission.personalInfo['dealer'] = false;\n\t\t\t\t} else {\n\t\t\t\t\tsubmission.personalInfo['dealer'] = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsubmission.personalInfo[parameter] = value;\n\t\tViewActions.updateSubmission(submission);\n\t},\n\n\t/**\r\n * @method onSelectEquipmentTab\r\n * @param {Event} e\r\n * @returns {void}\r\n */\n\tonSelectEquipmentTab: function onSelectEquipmentTab(e) {\n\t\te.preventDefault();\n\t\tvar index = Number(e.target.getAttribute('data-index'));\n\t\tthis.updateState({ selectedEquipmentTab: index, last_action: 'SELECT_EQUIPMENT_TAB (onSelectEquipmentTab())' });\n\t},\n\n\t/**\r\n * @method onStoreChange\r\n * @returns {void}\r\n * @description Triggered when the store's state changes, and updates the\r\n * component's state as needed to match.\r\n */\n\tonStoreChange: function onStoreChange() {\n\t\tvar dealers = Store.getDealers();\n\t\tvar model = Store.getConfiguratorModel();\n\t\tvar submission = Store.getSubmission();\n\t\tvar submissionResult = Store.getSubmissionResult();\n\t\tvar maxStep = Store.getMaximumStep();\n\t\tvar validation = Store.getValidation();\n\t\tvar isSubmitting = Store.getIsSubmitting();\n\t\tvar phonePrefixes = Store.getPhonePrefixes();\n\t\tvar ui = Store.getUi();\n\t\tlocalStorage.setItem('dictionary', JSON.stringify(model.dictionary));\n\t\tlocalStorage.setItem('priceSetting', JSON.stringify(model.priceSetting));\n\t\tthis.updateState({\n\t\t\tdealers: dealers,\n\t\t\tisSubmitting: isSubmitting,\n\t\t\tmaxStep: maxStep,\n\t\t\tmodel: model,\n\t\t\tphonePrefixes: phonePrefixes,\n\t\t\tsubmission: submission,\n\t\t\tsubmissionResult: submissionResult,\n\t\t\tui: ui,\n\t\t\tvalidation: validation,\n\t\t\tlast_action: 'UPDATE_FROM_FLUX_STORE (onStoreChange())'\n\t\t}, function () {\n\t\t\tif (model) {\n\t\t\t\tif (model.recommendedConfigurations && model.recommendedConfigurations.length > 0) {\n\t\t\t\t\tif (this.state.selectedConfig == 0) {\n\t\t\t\t\t\t//this.onConfigurationSelect(model.recommendedConfigurations[0].id);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}.bind(this));\n\t},\n\n\t/**\r\n * @method onSubmit\r\n * @param {JSON} submission\r\n * @returns {void}\r\n */\n\tonSubmit: function onSubmit(submission) {\n\t\tif (ValidationHelpers.isConfiguratorValid(submission)) {\n\t\t\tViewActions.submitConfigurator(submission);\n\t\t}\n\t\tViewActions.changeOverviewUiParameter('haveAttemptedSubmission', true);\n\t},\n\n\t/**\r\n * @method onToggleShowMapLink - Changes the value of the `showMapLink`parameter \r\n * of the `_ui.overview` model in the store. Used by the Overview step.\r\n * @param {boolean} value\r\n * @returns {void}\r\n */\n\tonToggleShowMapLink: function onToggleShowMapLink(value) {\n\t\tViewActions.changeOverviewUiParameter('showMapLink', value);\n\t},\n\n\t/**\r\n * @method onToggleViewAllDetails - Toggles the value of the `viewAllDetails` \r\n * parameter of the `_ui.overview` model in the store, flipping it between \r\n * `true` and `false`. Used by the Overview step.\r\n * @returns {void}\r\n */\n\tonToggleViewAllDetails: function onToggleViewAllDetails() {\n\t\tViewActions.changeOverviewUiParameter('viewAllDetails', !this.state.ui.overview.viewAllDetails);\n\t},\n\n\t/**\r\n * @method onToggleViewClientDetails - Toggles the value of the `viewClientDetails` \r\n * parameter of the `_ui.overview` model in the store, flipping it between \r\n * `true` and `false`. Used by the Overview step.\r\n * @returns {void}\r\n */\n\tonToggleViewClientDetails: function onToggleViewClientDetails() {\n\t\tViewActions.changeOverviewUiParameter('viewClientDetails', !this.state.ui.overview.viewClientDetails);\n\t},\n\n\t/**\r\n * @method onToggleViewDropdownPanel - Toggles the boolean value of the applicable \r\n * Overview step's details dropdown visibility flag in the `_ui.overview` \r\n * model in the store.\r\n * @param {string} panelKey - must be one of `\"viewBoatAndEngineDetails\"`, \r\n * `\"viewOptionsDetails\"`, or `\"viewPacksDetails\"`.\r\n * @returns {void}\r\n */\n\tonToggleViewDropdownPanel: function onToggleViewDropdownPanel(panelKey) {\n\t\tvar toggledViewState = !this.state.ui.overview[panelKey];\n\t\tViewActions.changeOverviewUiParameter(panelKey, toggledViewState);\n\t},\n\n\tonUpdateOrigin: function onUpdateOrigin(origin) {\n\t\tViewActions.updateOrigin(origin);\n\t},\n\n\t/**\r\n * @method selectPackPopupGallery\r\n * @param {number} index\r\n * @param {number} slideIndex\r\n * @returns {void}\r\n */\n\tselectPackPopupGallery: function selectPackPopupGallery(index, slideIndex) {\n\t\tthis.updateState({ activePackPopupIndex: index, selectedPackPopupItem: slideIndex ? slideIndex : 0, isPopupActive: true, last_action: 'CHANGE_ACTIVE_PACK_POPUP_INDEX (selectPackPopupGallery())' });\n\t},\n\n\t// Render Assisting Methods ////////////////////////////////////////////////\n\n\t// Render //////////////////////////////////////////////////////////////////\n\n\trender: function render() {\n\t\tvar events = {\n\t\t\tonChangeActiveMobileTab: this.onChangeActiveMobileTab,\n\t\t\tonChangeStep: this.onChangeStep,\n\t\t\tonChooseOtherEngine: this.onChooseOtherEngine,\n\t\t\tonClickEquipmentDropdown: this.onClickEquipmentDropdown,\n\t\t\tonClickStandardEquipmentItem: this.onClickStandardEquipmentItem,\n\t\t\tonCloseComparePacks: this.onCloseComparePacks,\n\t\t\tonCloseConfigurationFormError: this.onCloseConfigurationFormError,\n\t\t\tonCloseEngineFormError: this.onCloseEngineFormError,\n\t\t\tonCloseRequiredPacksWarning: this.onCloseRequiredPacksWarning,\n\t\t\tonClosePopup: this.onClosePopup,\n\t\t\tonConfigurationSelect: this.onConfigurationSelect,\n\t\t\tonEngineBoardTypeSelect: this.onEngineBoardTypeSelect,\n\t\t\tonEngineBrandSelect: this.onEngineBrandSelect,\n\t\t\tonEngineCountSelect: this.onEngineCountSelect,\n\t\t\tonEngineSelect: this.onEngineSelect,\n\t\t\tonEngineTabSelect: this.onEngineTabSelect,\n\t\t\tonGetDealerRouteDirections: this.onGetDealerRouteDirections,\n\t\t\tonOpenComparePacks: this.onOpenComparePacks,\n\t\t\tonOptionSelect: this.onOptionSelect,\n\t\t\tonPackSelect: this.onPackSelect,\n\t\t\tonPersonalInfoChange: this.onPersonalInfoChange,\n\t\t\tonNextStep: this.onNextStep,\n\t\t\tonSelectEquipmentTab: this.onSelectEquipmentTab,\n\t\t\tonSubmit: this.onSubmit,\n\t\t\tonToggleShowMapLink: this.onToggleShowMapLink,\n\t\t\tonToggleViewAllDetails: this.onToggleViewAllDetails,\n\t\t\tonToggleViewClientDetails: this.onToggleViewClientDetails,\n\t\t\tonToggleViewDropdownPanel: this.onToggleViewDropdownPanel,\n\t\t\tonUpdateOrigin: this.onUpdateOrigin,\n\t\t\tselectDealer: this.selectDealer,\n\t\t\tselectPackPopupGallery: this.selectPackPopupGallery,\n\t\t\ttoggleDealerMap: this.toggleDealerMap\n\t\t};\n\n\t\treturn React.createElement(ConfiguratorView, _extends({}, this.props, {\n\t\t\tcurrentStep: this.getCurrentStep(),\n\t\t\tdealers: this.state.dealers,\n\t\t\tengineTab: this.state.engineTab,\n\t\t\tevents: events,\n\t\t\tisButtonDisabled: this.isButtonDisabled(),\n\t\t\tisDealerPage: this.state.isDealerPage,\n\t\t\tisSubmitting: this.state.isSubmitting,\n\t\t\tmaxStep: this.state.maxStep,\n\t\t\tmodel: this.state.model,\n\t\t\topenEquipmentDropdown: this.state.openEquipmentDropdown,\n\t\t\tpopup: this.getPopupState(),\n\t\t\tselectedConfig: this.state.selectedConfig,\n\t\t\tselectedEquipmentTab: this.state.selectedEquipmentTab,\n\t\t\tshouldRenderOverviewLink: this.shouldRenderOverviewLink(),\n\t\t\tshowComparePacks: this.state.showComparePacks,\n\t\t\tshowConfigurationFormError: this.state.showConfigurationFormError,\n\t\t\tshowEngineFormError: this.state.showEngineFormError,\n\t\t\tshowRequiredPacksWarning: this.state.showRequiredPacksWarning,\n\t\t\tsubmission: this.state.submission,\n\t\t\tsubmissionResult: this.state.submissionResult,\n\t\t\ttotals: this.getTotals(),\n\t\t\tui: this.state.ui\n\t\t}));\n\t}\n});\n\nmodule.exports = Configurator;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/Configurator.jsx\n// module id = 690\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/Configurator.jsx?"); /***/ }), /* 691 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// views\nvar ComparePacks = __webpack_require__(692);\nvar FormErrorPopup = __webpack_require__(703);\nvar Confirmation = __webpack_require__(693);\nvar DealerMap = __webpack_require__(701);\nvar Main = __webpack_require__(704);\n//var Masthead = require('./components/Masthead/Masthead.jsx');\nvar Overview = __webpack_require__(741);\n//var PacksPopupGallery = require('./components/PacksPopupGallery/PacksPopupGallery.jsx');\nvar PopupGallery = __webpack_require__(767);\nvar Sidebar = __webpack_require__(769);\nvar StepsFooter = __webpack_require__(773);\nvar StepsMenu = __webpack_require__(774);\nvar StepsMobileMenu = __webpack_require__(775);\n\n// utils\nvar Dictionary = __webpack_require__(12);\n\n/**\r\n * @function ConfiguratorView\r\n * @param {JSON} props\r\n */\nvar ConfiguratorView = function ConfiguratorView(props) {\n\tvar events = props.events;\n\tvar model = props.model;\n\n\treturn React.createElement(\n\t\t'main',\n\t\t{ className: 'site-content wrapper background--gray-2' },\n\t\tReact.createElement(StepsMenu, {\n\t\t\tdictionary: model.dictionary,\n\t\t\tsteps: model.steps,\n\t\t\tcurrentStep: props.step,\n\t\t\tmaxStep: props.maxStep,\n\t\t\tcolor: props.color,\n\t\t\tbrand: props.brand,\n\t\t\trenderOverviewLink: props.shouldRenderOverviewLink,\n\t\t\tevents: events\n\t\t}),\n\t\tReact.createElement(StepsMobileMenu, {\n\t\t\tboat: model.boat,\n\t\t\tbrand: props.brand,\n\t\t\tcolor: props.color,\n\t\t\tcurrentStep: props.step,\n\t\t\tdictionary: model.dictionary,\n\t\t\tevents: events,\n\t\t\tmaxStep: props.maxStep,\n\t\t\tselectedConfig: props.selectedConfig,\n\t\t\tsteps: model.steps,\n\t\t\tsubmission: props.submission,\n\t\t\tui: props.ui\n\t\t}),\n\t\tReact.createElement(FormErrorPopup, {\n\t\t\tbutton: Dictionary.getValue('return2Configurator', 'Back to configurator'),\n\t\t\theader: Dictionary.getValue('selectConfigurationFirstHeader', 'Please select a configuration first'),\n\t\t\tmessage: Dictionary.getValue('selectConfigurationFirstMessage', 'In order to proceed with the configurator, you need to select a configuration first'),\n\t\t\tonCloseClick: events.onCloseConfigurationFormError,\n\t\t\tshowError: props.showConfigurationFormError\n\t\t}),\n\t\tReact.createElement(FormErrorPopup, {\n\t\t\tbutton: Dictionary.getValue('return2Configurator', 'Back to configurator'),\n\t\t\theader: Dictionary.getValue('selectEngineFirstHeader', 'Please select an engine first'),\n\t\t\tmessage: Dictionary.getValue('selectEngineFirstMessage', 'In order to proceed with the configurator, you need to select an engine first'),\n\t\t\tonCloseClick: events.onCloseEngineFormError,\n\t\t\tshowError: props.showEngineFormError\n\t\t}),\n\t\tReact.createElement(FormErrorPopup, {\n\t\t\tbutton: Dictionary.getValue('return2Configurator', 'Back to configurator'),\n\t\t\theader: Dictionary.getValue('selectRequiredPacksFirstHeader', 'Please select required pack(s) first'),\n\t\t\tmessage: Dictionary.getValue('selectRequiredPacksFirstMessage', 'In order to select this option and proceed with the configurator, you need to select one or more listed required packs first'),\n\t\t\tonCloseClick: events.onCloseRequiredPacksWarning,\n\t\t\tshowError: props.showRequiredPacksWarning\n\t\t}),\n\t\tprops.step < 5 && React.createElement(\n\t\t\t'div',\n\t\t\t{ className: 'grid__container grid__container--no-max' },\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: \"h--flexbox\" + (props.step === 0 ? \" mb-xs-150 mb-sm-0\" : \"\") },\n\t\t\t\tReact.createElement(Main, {\n\t\t\t\t\tbrand: props.brand,\n\t\t\t\t\tcolor: props.color,\n\t\t\t\t\tcountry: props.country,\n\t\t\t\t\tdealerId: props.dealerId,\n\t\t\t\t\tdealers: props.dealers,\n\t\t\t\t\tengineTab: props.engineTab,\n\t\t\t\t\tevents: events,\n\t\t\t\t\tisSubmitting: props.isSubmitting,\n\t\t\t\t\tmodel: model,\n\t\t\t\t\topenEquipmentDropdown: props.openEquipmentDropdown,\n\t\t\t\t\tphonePrefixes: props.phonePrefixes,\n\t\t\t\t\tselectedConfig: props.selectedConfig,\n\t\t\t\t\tselectedEquipmentTab: props.selectedEquipmentTab,\n\t\t\t\t\tshowConfigurationFormError: props.showConfigurationFormError,\n\t\t\t\t\tshowEngineFormError: props.showEngineFormError,\n\t\t\t\t\tstep: props.step,\n\t\t\t\t\tsubmission: props.submission,\n\t\t\t\t\tsubmissionResult: props.submissionResult,\n\t\t\t\t\tui: props.ui,\n\t\t\t\t\tvalidation: props.validation\n\t\t\t\t}),\n\t\t\t\tReact.createElement(Sidebar, {\n\t\t\t\t\tboat: model.boat,\n\t\t\t\t\tbrand: props.brand,\n\t\t\t\t\tdictionary: model.dictionary,\n\t\t\t\t\tformat: model.priceSetting,\n\t\t\t\t\tisButtonDisabled: props.isButtonDisabled,\n\t\t\t\t\tonSubmit: events.onNextStep,\n\t\t\t\t\tselectedConfig: props.selectedConfig,\n\t\t\t\t\tstep: props.currentStep,\n\t\t\t\t\tsubmission: props.submission,\n\t\t\t\t\ttotals: props.totals,\n\t\t\t\t\tui: props.ui\n\t\t\t\t})\n\t\t\t)\n\t\t),\n\t\tprops.step == 5 && React.createElement(Overview, {\n\t\t\tboat: model.boat,\n\t\t\tbrand: props.brand,\n\t\t\tcolor: props.color,\n\t\t\tcountries: model.countries,\n\t\t\tcountry: props.country,\n\t\t\tdealers: props.dealers,\n\t\t\tevents: events,\n\t\t\tpreselectedDealer: props.dealerId,\n\t\t\tdictionary: model.dictionary,\n\t\t\tformat: model.priceSetting,\n\t\t\tisSubmitting: props.isSubmitting,\n\t\t\tonPersonalInfoChange: events.onPersonalInfoChange,\n\t\t\tonToggleMap: events.toggleDealerMap,\n\t\t\tphonePrefixes: props.phonePrefixes,\n\t\t\tstep: model.steps[5],\n\t\t\tsubmission: props.submission,\n\t\t\tsubmissionResult: props.submissionResult,\n\t\t\tui: props.ui,\n\t\t\tvalidation: props.validation\n\t\t}),\n\t\tprops.step == 6 && React.createElement(Confirmation, {\n\t\t\tbrand: props.brand,\n\t\t\tcolor: props.color,\n\t\t\tdictionary: model.dictionary,\n\t\t\tevents: events,\n\t\t\tmodelUrl: model.modelUrl,\n\t\t\tmodelsUrl: model.modelsUrl,\n\t\t\tsubmission: props.submission,\n\t\t\tsubmissionResult: props.submissionResult,\n\t\t\tui: props.ui\n\t\t}),\n\t\tprops.step < 5 && React.createElement(StepsFooter, {\n\t\t\tcurrentStep: props.step,\n\t\t\tdictionary: model.dictionary,\n\t\t\tmaxStep: props.maxStep,\n\t\t\tmodelUrl: model.modelUrl,\n\t\t\tonSubmit: events.onNextStep,\n\t\t\tsteps: model.steps\n\t\t}),\n\t\tprops.showComparePacks && React.createElement(ComparePacks, {\n\t\t\tcolor: props.color,\n\t\t\tdictionary: model.dictionary,\n\t\t\tpacks: model.boat.packs,\n\t\t\thash: props.currentStep.slug,\n\t\t\tisActive: props.showComparePacks,\n\t\t\tonClose: events.onCloseComparePacks\n\t\t}),\n\t\tprops.popup.shouldRender && React.createElement(PopupGallery, {\n\t\t\tbrand: props.brand,\n\t\t\tdictionary: model.dictionary,\n\t\t\tpopup: props.popup,\n\t\t\tonCloseClick: events.onClosePopup,\n\t\t\tstep: props.step\n\t\t}),\n\t\tprops.isDealerPage && React.createElement(DealerMap, {\n\t\t\tcolor: props.color,\n\t\t\tdealers: props.dealers,\n\t\t\tdictionary: model.dictionary,\n\t\t\tselected: props.submission.personalInfo.dealer,\n\t\t\tonClose: events.toggleDealerMap,\n\t\t\tonSelect: events.selectDealer\n\t\t})\n\t);\n};\n\nmodule.exports = ConfiguratorView;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/ConfiguratorView.jsx\n// module id = 691\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/ConfiguratorView.jsx?"); /***/ }), /* 692 */ /***/ (function(module, exports, __webpack_require__) { eval("\"use strict\";\n\nvar React = __webpack_require__(1);\n\n/**\r\n * @const ComparePacks - The compare packs popup that appears on the pack step.\r\n * @param {JSON} props \r\n * @returns {JSX.Element}\r\n */\nvar ComparePacks = function ComparePacks(props) {\n\n var packs = props.packs;\n var color = props.color;\n\n var getUniquePackItems = function getUniquePackItems() {\n var items = [];\n packs.forEach(function (pack) {\n items = items.concat(pack.items);\n });\n var unique = [];\n items.forEach(function (item) {\n if (!unique.some(function (uniqueItem) {\n // Note: Filtering by name instead of id, as multiple copies of \n // items exist in example API data with unique keys but \n // identical names and images.\n return uniqueItem.name === item.name;\n })) {\n unique.push(item);\n }\n });\n return unique;\n };\n\n return React.createElement(\n \"div\",\n { className: \"c_img-slider slider-table toggle-active\" },\n React.createElement(\"div\", { className: \"c_img-slider__bg slider-table toggle-active\" }),\n React.createElement(\n \"div\",\n { className: \"c_img-slider__header\" },\n React.createElement(\n \"span\",\n { className: \"c_img-slider__header__title\" },\n props.dictionary.comparePacks\n ),\n React.createElement(\n \"div\",\n {\n className: \"c_img-slider__header__close slider-table toggle-active\",\n onClick: function onClick(e) {\n e.preventDefault();props.onClose();\n }\n },\n React.createElement(\"i\", { className: \"icon icon--cross\" }),\n React.createElement(\n \"span\",\n null,\n props.dictionary.comparePacksClose\n )\n )\n ),\n React.createElement(\n \"div\",\n { className: \"c_img-slider__body c_img-slider__body--full-width\" },\n React.createElement(\n \"div\",\n { className: \"c_img-slider__body__carousel c_img-slider__body__carousel--no-slider\" },\n React.createElement(\n \"table\",\n { className: \"c_table c_table--responsive\" },\n React.createElement(\n \"thead\",\n null,\n React.createElement(\n \"tr\",\n null,\n React.createElement(\n \"th\",\n null,\n \" \"\n ),\n props.packs.map(function (pack, index) {\n return React.createElement(\n \"th\",\n { key: 'th-pack-' + index },\n pack.name\n );\n })\n )\n ),\n React.createElement(\n \"tbody\",\n null,\n React.createElement(\"tr\", null),\n getUniquePackItems().map(function (item, itemIndex) {\n return React.createElement(\n \"tr\",\n { key: 'pack-popup-row-' + itemIndex },\n React.createElement(\n \"td\",\n null,\n React.createElement(\n \"strong\",\n null,\n item.name\n )\n ),\n packs.map(function (pack, packIndex) {\n return pack.items.some(function (packItem) {\n return packItem.name === item.name;\n }) ? React.createElement(\n \"td\",\n {\n key: 'td-item-' + itemIndex + '-pack-' + packIndex,\n className: \"c_text--centered\"\n },\n React.createElement(\"i\", { className: 'icon icon--check c_text--' + color })\n ) : React.createElement(\"td\", { key: 'td-item-' + itemIndex + '-pack-' + packIndex });\n })\n );\n })\n )\n )\n )\n )\n );\n};\n\nmodule.exports = ComparePacks;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/ComparePacks/ComparePacks.jsx\n// module id = 692\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/ComparePacks/ComparePacks.jsx?"); /***/ }), /* 693 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\n\n// views\nvar Directions = __webpack_require__(694);\nvar EventListing = __webpack_require__(696);\nvar LocalDealerListing = __webpack_require__(698);\n\n/**\r\n * @const Confirmation\r\n * @param {JSON} props\r\n * @returns {JSX.Element}\r\n */\nvar Confirmation = function Confirmation(props) {\n\tvar weHaveSent = props.submission.personalInfo.sendToFriend ? Dictionary.getValue('sentTwoEmailConfirmation') : Dictionary.getValue('sentEmailConfirmation');\n\n\tvar dealers = !props.submission.personalInfo.dealer ? props.submissionResult.dealers : props.submissionResult.dealers.filter(function (dealer) {\n\t\treturn dealer.customerNumber == props.submission.personalInfo.dealer;\n\t});\n\n\tif (weHaveSent.indexOf('{1}') > -1) {\n\t\tweHaveSent = weHaveSent.replace('{0}', '<strong class=\"c_text--blue c_text--italic\">' + props.submission.personalInfo.email + '</strong>').replace('{1}', '<strong class=\"c_text--blue c_text--italic\">' + props.submission.personalInfo.friendEmailAddress + '</strong>');\n\t} else {\n\t\tweHaveSent += ' <strong class=\"c_text--blue c_text--italic\">' + props.submission.personalInfo.email + '</strong>';\n\t}\n\n\tif (props.submission.personalInfo.requestQuote) {\n\t\tweHaveSent += ' ' + Dictionary.getValue('sentToDealerConfirmation', 'You will receive a quote by the dealer of your choice shortly.');\n\t}\n\n\treturn React.createElement(\n\t\t'div',\n\t\tnull,\n\t\tReact.createElement(\n\t\t\t'div',\n\t\t\t{ className: 'grid__container grid__container--no-max h--large-padding-top c_thankyou' },\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'grid__container' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'c_title-medium c_text--uppercase h--small-margin-bottom h--mini-margin-top' },\n\t\t\t\t\t\tDictionary.getValue('thankYouHeadline', 'Thank you for your interest!')\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement('p', {\n\t\t\t\t\t\tclassName: 'c_text--medium c_text--gray',\n\t\t\t\t\t\tdangerouslySetInnerHTML: { __html: weHaveSent }\n\t\t\t\t\t})\n\t\t\t\t),\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'grid__row c_text--centered' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'a',\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tclassName: 'c_button c_button--medium c_button--green h--medium-margin-bottom',\n\t\t\t\t\t\t\thref: props.submissionResult.pdfUrl,\n\t\t\t\t\t\t\ttarget: '_blank'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tDictionary.getValue('printQuote', 'Print quote')\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'grid__row c_text--centered' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'a',\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\thref: props.modelUrl,\n\t\t\t\t\t\t\tclassName: 'c_button c_button--medium c_button--green h--medium-margin-bottom',\n\t\t\t\t\t\t\ttarget: '_blank'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tDictionary.getValue('modelsOverview', 'Return to model overview')\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'a',\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\thref: props.modelsUrl,\n\t\t\t\t\t\t\tclassName: 'c_button c_button--medium c_button--green h--medium-margin-bottom',\n\t\t\t\t\t\t\ttarget: '_blank'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tDictionary.getValue('modelsSelector', 'Return to all models')\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\tReact.createElement('hr', { className: 'h--small-margin-top h--medium-margin-bottom' }),\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'h--medium-margin-bottom' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'strong',\n\t\t\t\t\t\t\t{ className: 'c_thankyou__cta__title h--small-padding-normal' },\n\t\t\t\t\t\t\tDictionary.getValue('discoverYourConfiguration', 'Discover your configuration on our next boat shows')\n\t\t\t\t\t\t)\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(EventListing, { brand: props.brand, events: props.submissionResult.events })\n\t\t\t\t),\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'h--medium-margin-bottom c_text--right' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'a',\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\thref: props.submissionResult.eventListUrl,\n\t\t\t\t\t\t\tclassName: 'c_button c_button--blue',\n\t\t\t\t\t\t\ttarget: '_blank'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tDictionary.getValue('viewAllEvents', 'View all events')\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\tdealers && dealers.length > 0 && React.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'h--medium-margin-bottom' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'strong',\n\t\t\t\t\t\t{ className: 'c_thankyou__cta__title h--small-padding-normal' },\n\t\t\t\t\t\tprops.submission.personalInfo.dealer ? Dictionary.getValue('visitDealerOrChoice', 'Or visit the dealer of your choice') : Dictionary.getValue('visitYourLocalDealers', 'Or visit your local dealers')\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\tdealers.length > 1 && React.createElement(Directions, {\n\t\t\t\t\tdealer: props.ui.selectedDealer,\n\t\t\t\t\tevents: props.events,\n\t\t\t\t\troute: props.ui.route,\n\t\t\t\t\torigin: props.ui.originForDirections\n\t\t\t\t}),\n\t\t\t\tReact.createElement(LocalDealerListing, {\n\t\t\t\t\tdealers: dealers,\n\t\t\t\t\tcolor: props.color,\n\t\t\t\t\tcssClassName: 'item-container helper---equal-height hidden-xs',\n\t\t\t\t\tevents: props.events,\n\t\t\t\t\torigin: props.ui.originForDirections\n\t\t\t\t}),\n\t\t\t\tdealers.length == 1 && React.createElement(Directions, {\n\t\t\t\t\tdealer: props.ui.selectedDealer,\n\t\t\t\t\tevents: props.events,\n\t\t\t\t\troute: props.ui.route,\n\t\t\t\t\torigin: props.ui.originForDirections\n\t\t\t\t})\n\t\t\t)\n\t\t),\n\t\tReact.createElement(LocalDealerListing, {\n\t\t\tdealers: props.submissionResult.dealers,\n\t\t\tcolor: props.color,\n\t\t\tcssClassName: 'item-container helper---equal-height visible-xs',\n\t\t\tevents: props.events,\n\t\t\torigin: props.ui.originForDirections\n\t\t})\n\t);\n};\n\nmodule.exports = Confirmation;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Confirmation/Confirmation.jsx\n// module id = 693\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Confirmation/Confirmation.jsx?"); /***/ }), /* 694 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// views\nvar DirectionsStep = __webpack_require__(695);\n\n/**\r\n * Directions to a selected dealer.\r\n * @param {JSON} props \r\n * @returns {JSX.Element}\r\n */\nvar Directions = function Directions(props) {\n\n if (!props.route) {\n return null;\n }\n if (!props.route.legs || props.route.legs.length < 1) {\n return null;\n }\n\n var leg = props.route.legs[0];\n\n return React.createElement(\n 'div',\n { className: 'grid__container h--large-margin-bottom' },\n React.createElement(\n 'div',\n { className: 'grid__container' },\n React.createElement(\n 'div',\n null,\n React.createElement(\n 'div',\n { className: 'adp' },\n React.createElement(\n 'div',\n { 'data-leg-index': '0' },\n React.createElement(\n 'table',\n { className: 'adp-placemark' },\n React.createElement(\n 'tbody',\n null,\n React.createElement(\n 'tr',\n null,\n React.createElement(\n 'td',\n null,\n React.createElement('img', {\n src: 'data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20width%3D%2227px%22%20height%3D%2243px%22%20viewBox%3D%220%200%2027%2043%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%3Cdefs%3E%0A%3Cpath%20id%3D%22a%22%20d%3D%22m12.5%200c-6.9039%200-12.5%205.5961-12.5%2012.5%200%201.8859%200.54297%203.7461%201.4414%205.4617%203.425%206.6156%2010.216%2013.566%2010.216%2022.195%200%200.46562%200.37734%200.84297%200.84297%200.84297s0.84297-0.37734%200.84297-0.84297c0-8.6289%206.7906-15.58%2010.216-22.195%200.89844-1.7156%201.4414-3.5758%201.4414-5.4617%200-6.9039-5.5961-12.5-12.5-12.5z%22%2F%3E%0A%3C%2Fdefs%3E%0A%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%3Cg%20transform%3D%22translate(1%201)%22%3E%0A%3Cuse%20fill%3D%22%23EA4335%22%20fill-rule%3D%22evenodd%22%20xlink%3Ahref%3D%22%23a%22%2F%3E%0A%3Cpath%20d%3D%22m12.5-0.5c7.18%200%2013%205.82%2013%2013%200%201.8995-0.52398%203.8328-1.4974%205.6916-0.91575%201.7688-1.0177%201.9307-4.169%206.7789-4.2579%206.5508-5.9907%2010.447-5.9907%2015.187%200%200.74177-0.6012%201.343-1.343%201.343s-1.343-0.6012-1.343-1.343c0-4.7396-1.7327-8.6358-5.9907-15.187-3.1512-4.8482-3.2532-5.01-4.1679-6.7768-0.97449-1.8608-1.4985-3.7942-1.4985-5.6937%200-7.18%205.82-13%2013-13z%22%20stroke%3D%22%23fff%22%2F%3E%0A%3C%2Fg%3E%0A%3Ctext%20text-anchor%3D%22middle%22%20dy%3D%220.3em%22%20x%3D%2214%22%20y%3D%2215%22%20font-family%3D%22Roboto%2C%20Arial%2C%20sans-serif%22%20font-size%3D%2216px%22%20fill%3D%22%23FFF%22%3EA%3C%2Ftext%3E%0A%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A',\n className: 'adp-marker2' })\n ),\n React.createElement(\n 'td',\n { className: 'adp-text' },\n leg.start_address\n )\n )\n )\n )\n ),\n React.createElement(\n 'div',\n null,\n React.createElement(\n 'div',\n { className: 'adp-summary' },\n leg.distance.text,\n ' (',\n leg.duration.text,\n ')'\n ),\n React.createElement(\n 'div',\n null,\n React.createElement(\n 'table',\n { className: 'adp-directions' },\n React.createElement(\n 'tbody',\n null,\n leg.steps.map(function (step, index) {\n return React.createElement(DirectionsStep, {\n key: 'route-step-' + index,\n step: step,\n stepNumber: index + 1\n });\n })\n )\n )\n ),\n React.createElement(\n 'div',\n { 'data-leg-index': '1' },\n React.createElement(\n 'table',\n { className: 'adp-placemark' },\n React.createElement(\n 'tbody',\n null,\n React.createElement(\n 'tr',\n null,\n React.createElement(\n 'td',\n null,\n React.createElement('img', {\n src: 'data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20width%3D%2227px%22%20height%3D%2243px%22%20viewBox%3D%220%200%2027%2043%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%3Cdefs%3E%0A%3Cpath%20id%3D%22a%22%20d%3D%22m12.5%200c-6.9039%200-12.5%205.5961-12.5%2012.5%200%201.8859%200.54297%203.7461%201.4414%205.4617%203.425%206.6156%2010.216%2013.566%2010.216%2022.195%200%200.46562%200.37734%200.84297%200.84297%200.84297s0.84297-0.37734%200.84297-0.84297c0-8.6289%206.7906-15.58%2010.216-22.195%200.89844-1.7156%201.4414-3.5758%201.4414-5.4617%200-6.9039-5.5961-12.5-12.5-12.5z%22%2F%3E%0A%3C%2Fdefs%3E%0A%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%3Cg%20transform%3D%22translate(1%201)%22%3E%0A%3Cuse%20fill%3D%22%23EA4335%22%20fill-rule%3D%22evenodd%22%20xlink%3Ahref%3D%22%23a%22%2F%3E%0A%3Cpath%20d%3D%22m12.5-0.5c7.18%200%2013%205.82%2013%2013%200%201.8995-0.52398%203.8328-1.4974%205.6916-0.91575%201.7688-1.0177%201.9307-4.169%206.7789-4.2579%206.5508-5.9907%2010.447-5.9907%2015.187%200%200.74177-0.6012%201.343-1.343%201.343s-1.343-0.6012-1.343-1.343c0-4.7396-1.7327-8.6358-5.9907-15.187-3.1512-4.8482-3.2532-5.01-4.1679-6.7768-0.97449-1.8608-1.4985-3.7942-1.4985-5.6937%200-7.18%205.82-13%2013-13z%22%20stroke%3D%22%23fff%22%2F%3E%0A%3C%2Fg%3E%0A%3Ctext%20text-anchor%3D%22middle%22%20dy%3D%220.3em%22%20x%3D%2214%22%20y%3D%2215%22%20font-family%3D%22Roboto%2C%20Arial%2C%20sans-serif%22%20font-size%3D%2216px%22%20fill%3D%22%23FFF%22%3EB%3C%2Ftext%3E%0A%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A',\n className: 'adp-marker2' })\n ),\n React.createElement('td', { className: 'adp-text', dangerouslySetInnerHTML: { __html: leg.end_address } })\n )\n )\n )\n )\n ),\n React.createElement('div', { className: 'adp-legal', dangerouslySetInnerHTML: { __html: props.route.copyrights } })\n )\n )\n )\n );\n};\n\nmodule.exports = Directions;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Confirmation/components/Directions/Directions.jsx\n// module id = 694\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Confirmation/components/Directions/Directions.jsx?"); /***/ }), /* 695 */ /***/ (function(module, exports, __webpack_require__) { eval("\"use strict\";\n\nvar React = __webpack_require__(1);\n\n/**\r\n * Single step in directions to dealer's address based on specified origin\r\n * @param {JSON} props \r\n * @returns {JSX.Element}\r\n */\nvar DirectionsStep = function DirectionsStep(props) {\n var step = props.step;\n var stepNumber = props.stepNumber;\n\n return React.createElement(\n \"tr\",\n null,\n React.createElement(\n \"td\",\n { className: \"adp-substep\" },\n React.createElement(\n \"div\",\n { className: \"adp-stepicon\" },\n React.createElement(\"div\", { className: 'adp-' + step.maneuver + ' adp-maneuver' })\n )\n ),\n React.createElement(\n \"td\",\n { className: \"adp-substep\" },\n stepNumber,\n \".\"\n ),\n React.createElement(\"td\", { className: \"adp-substep\", dangerouslySetInnerHTML: { __html: step.instructions } }),\n React.createElement(\n \"td\",\n { className: \"adp-substep\" },\n React.createElement(\n \"div\",\n { className: \"adp-distance\" },\n step.distance.text,\n \" (\",\n step.duration.text,\n \")\"\n )\n )\n );\n};\n\nmodule.exports = DirectionsStep;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Confirmation/components/Directions/components/DirectionsStep.jsx\n// module id = 695\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Confirmation/components/Directions/components/DirectionsStep.jsx?"); /***/ }), /* 696 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// views\nvar EventItem = __webpack_require__(697);\n\n/**\r\n * @const EventListing\r\n * @param {EventListingProps} props \r\n * @returns {JSX.Element}\r\n */\nvar EventListing = function EventListing(props) {\n\n if (!props.events || props.events.length < 1) {\n return null;\n }\n\n return React.createElement(\n 'div',\n { className: 'filter-results' },\n React.createElement(\n 'div',\n { className: 'item-container helper---equal-height' },\n props.events.map(function (event, index) {\n return React.createElement(EventItem, {\n key: 'event-item-' + index,\n brand: props.brand,\n event: event\n });\n })\n )\n );\n};\n\n/**\r\n * @typedef EventListingProps\r\n * @prop {Event[]} events\r\n */\n\n/**\r\n * @typedef Event\r\n * @prop {string} address\r\n * @prop {string} endDate - DD/MM/YYYY\r\n * @prop {string} eventUrl\r\n * @prop {string} imageUrl\r\n * @prop {string} name\r\n * @prop {string} startDate - DD/MM/YYYY\r\n */\n\nmodule.exports = EventListing;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Confirmation/components/EventListing/EventListing.jsx\n// module id = 696\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Confirmation/components/EventListing/EventListing.jsx?"); /***/ }), /* 697 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\n\n/**\r\n * \r\n * @param {EventItemProps} props \r\n */\nvar EventItem = function EventItem(props) {\n\n var event = props.event;\n\n return React.createElement(\n 'div',\n { className: 'grid--v-large__cols--6 grid--v-medium__cols--12' },\n React.createElement(\n 'div',\n { className: 'c_item c_item--event' },\n React.createElement(\n 'div',\n { className: 'grid__row c_item--event--desktop' },\n React.createElement('div', {\n className: 'grid--v-large__cols--5 grid--v-medium__cols--5 c_item__col-bg',\n style: { backgroundImage: \"url('\" + event.imageUrl + \"')\" } }),\n React.createElement(\n 'div',\n { className: 'grid--v-large__cols--7 grid--v-medium__cols--7' },\n React.createElement(\n 'div',\n { className: 'c_item__content' },\n React.createElement(\n 'h2',\n { className: 'c_item__title' },\n React.createElement(\n 'a',\n { href: event.url },\n event.name\n )\n ),\n React.createElement(\n 'p',\n { className: 'c_item__text' },\n React.createElement('img', { className: 'c_item__icon', src: \"/assets/configurator/\" + props.brand + \"/default/images/icon_calendar.svg\" }),\n event.dateInfo,\n React.createElement('br', null),\n React.createElement('img', { className: 'c_item__icon', src: \"/assets/configurator/\" + props.brand + \"/default/images/icon_map-o.svg\" }),\n event.location\n ),\n React.createElement(\n 'a',\n { href: event.url, className: 'c_button c_button--green', target: '_blank' },\n Dictionary.getValue('moreInfoEvent', 'More info')\n )\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid__row c_item--event--mobile' },\n React.createElement('div', { className: 'grid--v-large__cols--12 c_item__col-bg', style: { backgroundImage: \"url('\" + event.imageUrl + \"')\" } })\n ),\n React.createElement(\n 'div',\n { className: 'grid__row c_item--event--mobile' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__cols--12' },\n React.createElement(\n 'div',\n { className: 'c_item__content' },\n React.createElement(\n 'h2',\n { className: 'c_item__title' },\n React.createElement(\n 'a',\n { href: event.url },\n event.name\n )\n ),\n React.createElement(\n 'p',\n { className: 'c_item__text' },\n React.createElement('img', { className: 'c_item__icon', src: \"/assets/configurator/\" + props.brand + \"/default/images/icon_calendar.svg\" }),\n event.dateInfo,\n React.createElement('br', null),\n React.createElement('img', { className: 'c_item__icon', src: \"/assets/configurator/\" + props.brand + \"/default/images/icon_map-o.svg\" }),\n event.location\n ),\n React.createElement(\n 'a',\n { href: event.url, className: 'c_button c_button--green', target: '_blank' },\n Dictionary.getValue('moreInfoEvent', 'More info')\n )\n )\n )\n )\n )\n );\n};\n\n/**\r\n * @typedef EventItemProps\r\n * @prop {Event} event\r\n **/\n\n/**\r\n * @typedef Event\r\n * @prop {string} location\r\n * @prop {string} dateInfo \r\n * @prop {string} url\r\n * @prop {string} imageUrl\r\n * @prop {string} name\r\n */\n\nmodule.exports = EventItem;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Confirmation/components/EventListing/components/EventItem/EventItem.jsx\n// module id = 697\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Confirmation/components/EventListing/components/EventItem/EventItem.jsx?"); /***/ }), /* 698 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// views\nvar DealerDesktopCard = __webpack_require__(699);\nvar DealerMobileCard = __webpack_require__(700);\n\n/**\r\n * @const LocalDealerListing\r\n * @param {LocalDealerListingProps} props \r\n * @returns {JSX.Element}\r\n */\nvar LocalDealerListing = function LocalDealerListing(props) {\n\n var cssClassName = props.cssClassName;\n\n if (!props.dealers || props.dealers.length < 1) {\n return null;\n }\n\n return React.createElement(\n 'div',\n { className: cssClassName },\n props.dealers.map(function (dealer, index) {\n return React.createElement(DealerDesktopCard, {\n key: 'dealer-desktop-card-' + index,\n color: props.color,\n dealer: dealer,\n openRouteDescriptionForm: props.dealers.length == 1,\n events: props.events,\n origin: props.origin\n });\n }),\n props.dealers.map(function (dealer, index) {\n return React.createElement(DealerMobileCard, {\n key: 'dealer-mobile-card-' + index,\n color: props.color,\n dealer: dealer,\n events: props.events,\n origin: props.origin\n });\n })\n );\n};\n\n/**\r\n * @typedef LocalDealerListingProps \r\n * @prop {Dealer[]} dealers\r\n */\n\n/**\r\n * @typedef Dealer\r\n * @prop {string} name\r\n * @prop {string} link\r\n * @prop {string} telephone\r\n * @prop {string} street\r\n * @prop {string} streetNumber\r\n * @prop {string} postalCode\r\n * @prop {string} city\r\n * @prop {string} country\r\n * @prop {string} routeUrl\r\n */\n\nmodule.exports = LocalDealerListing;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Confirmation/components/LocalDealerListing/LocalDealerListing.jsx\n// module id = 698\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Confirmation/components/LocalDealerListing/LocalDealerListing.jsx?"); /***/ }), /* 699 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\n\nvar DealerDesktopCard = React.createClass({\n displayName: 'DealerDesktopCard',\n\n getInitialState: function getInitialState() {\n return {\n routeDescriptionFormOpen: false\n };\n },\n\n componentDidMount: function componentDidMount() {\n if (this.props.openRouteDescriptionForm) {\n this.setState({ routeDescriptionFormOpen: true });\n this.props.events.onGetDealerRouteDirections(this.props.dealer);\n }\n },\n\n onRouteClick: function onRouteClick(e) {\n e.preventDefault();\n this.props.events.onGetDealerRouteDirections(this.props.dealer);\n },\n\n onOriginUpdate: function onOriginUpdate(e) {\n this.props.events.onUpdateOrigin(e.target.value);\n },\n\n onRouteDescriptionLinkClicked: function onRouteDescriptionLinkClicked(e) {\n e.preventDefault();\n this.setState({ routeDescriptionFormOpen: !this.state.routeDescriptionFormOpen });\n },\n\n render: function render() {\n var dealer = this.props.dealer;\n var addressInfo = [];\n if (dealer.address1) {\n addressInfo.push(dealer.address1 + ', ');\n }\n if (dealer.address2) {\n addressInfo.push(dealer.address2 + ', ');\n }\n addressInfo.push(dealer.postalCode + \" \" + dealer.city + ', ');\n addressInfo.push(dealer.country);\n\n return React.createElement(\n 'div',\n { className: 'grid--v-large__cols--4 grid--v-medium__cols--4 dealer-card dealer-card--desktop' },\n React.createElement(\n 'div',\n { className: 'dealer-card__container' },\n React.createElement(\n 'a',\n { href: dealer.siteUrl, className: 'dealer-card__name', target: '_blank' },\n dealer.name\n ),\n React.createElement(\n 'div',\n { className: 'dealer-card__contact-items__container' },\n React.createElement(\n 'div',\n { className: 'dealer-card__contact-item' },\n React.createElement('i', { className: \"icon icon--phone c_text--\" + this.props.color }),\n React.createElement(\n 'div',\n { className: 'dealer-card__contact-item__details' },\n dealer.phone\n )\n ),\n React.createElement(\n 'div',\n { className: 'dealer-card__contact-item' },\n React.createElement('i', { className: \"icon icon--pin c_text--\" + this.props.color }),\n React.createElement('div', { className: 'dealer-card__contact-item__details', dangerouslySetInnerHTML: { __html: addressInfo.join('<br/>') } })\n )\n ),\n React.createElement(\n 'a',\n { href: dealer.siteUrl, className: \"c_button c_button--medium c_button--green\", target: '_blank' },\n Dictionary.getValue('dealerSite', 'Dealer site')\n ),\n React.createElement(\n 'div',\n { className: 'dealer-card__route-description' },\n React.createElement(\n 'a',\n { href: '#', onClick: this.onRouteDescriptionLinkClicked },\n React.createElement('i', { className: 'icon icon--map c_text--blue' }),\n React.createElement(\n 'span',\n { className: 'c_text--dark-gray' },\n Dictionary.getValue('routeDescription', 'Route Description')\n )\n )\n ),\n React.createElement(\n 'form',\n { action: '', className: 'c_form c_form--route' + (this.state.routeDescriptionFormOpen ? '' : ' c_form--hidden'), noValidate: 'novalidate' },\n React.createElement(\n 'div',\n { className: 'c_form__entry c_helper--flexbox' },\n React.createElement('input', { name: 'address', value: this.props.origin, onChange: this.onOriginUpdate, placeholder: Dictionary.getValue('routeDescriptionPlaceholder', 'Enter your full address'), className: 'c_form__field c_form__field--text c_helper--flex route-address', type: 'text' }),\n React.createElement(\n 'button',\n { type: 'submit', className: 'c_button route-button', onClick: this.onRouteClick },\n 'Show route'\n )\n )\n )\n )\n );\n }\n});\n\n/**\r\n * @typedef Dealer\r\n * @prop {string} name\r\n * @prop {string} address1\r\n * @prop {string} address2\r\n * @prop {string} postalCode\r\n * @prop {string} city\r\n * @prop {string} phone\r\n * @prop {string} siteUrl\r\n */\n\nmodule.exports = DealerDesktopCard;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Confirmation/components/LocalDealerListing/components/DealerDesktopCard/DealerDesktopCard.jsx\n// module id = 699\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Confirmation/components/LocalDealerListing/components/DealerDesktopCard/DealerDesktopCard.jsx?"); /***/ }), /* 700 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\n\nvar DealerMobileCard = React.createClass({\n displayName: 'DealerMobileCard',\n\n getInitialState: function getInitialState() {\n return {\n routeDescriptionFormOpen: false\n };\n },\n\n onRouteClick: function onRouteClick(e) {\n e.preventDefault();\n this.props.events.onGetDealerRouteDirections(this.props.dealer);\n },\n\n onOriginUpdate: function onOriginUpdate(e) {\n this.props.events.onUpdateOrigin(e.target.value);\n },\n\n onRouteDescriptionLinkClicked: function onRouteDescriptionLinkClicked(e) {\n e.preventDefault();\n this.setState({ routeDescriptionFormOpen: !this.state.routeDescriptionFormOpen });\n },\n\n render: function render() {\n var dealer = this.props.dealer;\n var addressInfo = [];\n if (dealer.address1) {\n addressInfo.push(dealer.address1 + ', ');\n }\n if (dealer.address2) {\n addressInfo.push(dealer.address2 + ', ');\n }\n addressInfo.push(dealer.postalCode + \" \" + dealer.city + ', ');\n\n return React.createElement(\n 'div',\n { className: 'dealer-card dealer-card--mobile' },\n React.createElement(\n 'div',\n { className: 'dealer-card__half' },\n React.createElement(\n 'a',\n { href: dealer.siteUrl, className: 'dealer-card__name' },\n dealer.name\n ),\n React.createElement(\n 'div',\n { className: 'dealer-card__address' },\n React.createElement('div', { className: 'dealer-card__contact-item__details', dangerouslySetInnerHTML: { __html: addressInfo.join('<br/>') } })\n )\n ),\n React.createElement(\n 'div',\n { className: 'dealer-card__half' },\n React.createElement(\n 'div',\n { className: 'dealer-card__actions__container' },\n React.createElement(\n 'div',\n { className: 'dealer-card__action' },\n React.createElement(\n 'a',\n { href: dealer.siteUrl },\n React.createElement('i', { className: 'icon icon--external-link text--green' }),\n React.createElement(\n 'span',\n null,\n Dictionary.getValue('dealerSite', 'Dealer site')\n )\n )\n )\n )\n )\n );\n }\n});\n\n/**\r\n * @typedef Dealer\r\n * @prop {string} name\r\n * @prop {string} address1\r\n * @prop {string} address2\r\n * @prop {string} postalCode\r\n * @prop {string} city\r\n * @prop {string} phone\r\n * @prop {string} siteUrl\r\n */\n\nmodule.exports = DealerMobileCard;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Confirmation/components/LocalDealerListing/components/DealerMobileCard/DealerMobileCard.jsx\n// module id = 700\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Confirmation/components/LocalDealerListing/components/DealerMobileCard/DealerMobileCard.jsx?"); /***/ }), /* 701 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\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 React = __webpack_require__(1);\n\n// utils\nvar Map = __webpack_require__(368);\n\n// views\nvar DealerSidebar = __webpack_require__(702);\n\n/**\r\n * @class DealerMap\r\n * @prop {array} dealers\r\n * @prop {number} selected\r\n * @prop {function} onClose\r\n * @description A Google Map popup showing dealers\r\n */\n\nvar DealerMap = function (_React$Component) {\n _inherits(DealerMap, _React$Component);\n\n function DealerMap(props) {\n _classCallCheck(this, DealerMap);\n\n var _this = _possibleConstructorReturn(this, (DealerMap.__proto__ || Object.getPrototypeOf(DealerMap)).call(this, props));\n\n _this.addDealersToMap = function () {\n Map.addMarkers(_this.props.dealers, _this.props.onSelect);\n };\n\n _this.state = {};\n return _this;\n }\n\n // React Lifecycle Methods /////////////////////////////////////////////////\n\n _createClass(DealerMap, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n Map.initMap('div[data-dealer-map]', this.addDealersToMap);\n }\n\n // Helper Functions ////////////////////////////////////////////////////////\n\n }, {\n key: 'render',\n\n\n // Event Handlers ////////////////////////////////////////////////////////// \n\n\n // Render ////////////////////////////////////////////////////////////////// \n\n value: function render() {\n var _this2 = this;\n\n var selectedDealer = this.props.dealers.find(function (dealer) {\n return dealer.customerNumber == _this2.props.selected;\n });\n return React.createElement(\n 'div',\n { className: 'map-wrapper' },\n React.createElement(\n 'div',\n { className: 'map' },\n React.createElement(\n 'div',\n {\n 'data-dealer-map': true,\n style: {\n position: 'absolute',\n left: 0,\n top: 0,\n width: '100%',\n height: '100%'\n }\n },\n this.props.dictionary.loadingMap\n ),\n React.createElement(\n 'button',\n {\n type: 'button',\n className: 'c_button close-map-button',\n onClick: this.props.onClose\n },\n this.props.dictionary.close\n ),\n selectedDealer && React.createElement(DealerSidebar, {\n color: this.props.color,\n dealer: selectedDealer,\n dictionary: this.props.dictionary,\n onClose: this.props.onClose\n })\n )\n );\n }\n }]);\n\n return DealerMap;\n}(React.Component);\n\n;\n\nmodule.exports = DealerMap;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/DealerMap/DealerMap.jsx\n// module id = 701\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/DealerMap/DealerMap.jsx?"); /***/ }), /* 702 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n/**\r\n * @class DealerSidebar\r\n *\r\n * @description The small sidebar box on the dealer map for showing dealer details.\r\n */\nvar DealerSidebar = function DealerSidebar(props) {\n\n var onClose = function onClose(e) {\n e.preventDefault();\n props.onClose();\n };\n\n var dealer = props.dealer;\n\n return React.createElement(\n 'div',\n { id: 'dealer-sidebar' },\n React.createElement(\n 'h3',\n { className: 'c_text--uppercase dealer-sidebar-header dealer-sidebar-header-' + props.color },\n dealer.name\n ),\n React.createElement(\n 'div',\n { className: 'dealer-sidebar-content' },\n React.createElement(\n 'ul',\n { className: 'list--clear' },\n React.createElement(\n 'li',\n { className: 'dealer-sidebar-address' },\n React.createElement('i', { className: 'result-address icon icon--pin c_text--' + props.color }),\n dealer.address1 != '' ? React.createElement(\n 'span',\n null,\n dealer.address1,\n React.createElement('br', null)\n ) : null,\n dealer.address2 != '' ? React.createElement(\n 'span',\n null,\n dealer.address2\n ) : null,\n React.createElement(\n 'div',\n null,\n React.createElement(\n 'span',\n null,\n dealer.city\n ),\n ', ',\n React.createElement(\n 'span',\n null,\n dealer.postalCode\n )\n )\n ),\n React.createElement(\n 'li',\n { className: 'dealer-sidebar-phone' },\n React.createElement('i', { className: 'result-phone icon icon--cellphone c_text--' + props.color }),\n React.createElement(\n 'span',\n null,\n dealer.phone\n )\n )\n ),\n React.createElement(\n 'a',\n {\n href: '#select ',\n className: 'c_button result-website dealer-sidebar-website',\n onClick: onClose\n },\n props.dictionary.selectDealer\n )\n )\n );\n};\n\nmodule.exports = DealerSidebar;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/DealerMap/components/DealerSidebar/DealerSidebar.jsx\n// module id = 702\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/DealerMap/components/DealerSidebar/DealerSidebar.jsx?"); /***/ }), /* 703 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\n\nvar FormErrorPopup = function FormErrorPopup(props) {\n var popupCssClassName = \"c_popup\" + (props.showError ? \" c_popup--active\" : \"\");\n return React.createElement(\n 'div',\n { className: popupCssClassName, id: 'popup-error-client_details' },\n React.createElement(\n 'div',\n { className: 'c_popup__header c_popup__header--half' },\n React.createElement(\n 'a',\n { href: '#', className: 'c_button c_popup__close', onClick: function onClick(e) {\n e.preventDefault();props.onCloseClick();\n } },\n React.createElement('i', { className: 'icon icon--cross' }),\n Dictionary.getValue('close', 'Close')\n ),\n React.createElement(\n 'div',\n { className: 'c_popup__title' },\n props.header\n ),\n React.createElement('br', null),\n React.createElement(\n 'div',\n { className: 'row' },\n React.createElement(\n 'div',\n { className: 'col-md-12' },\n React.createElement(\n 'span',\n { className: 'c_text--gray' },\n props.message\n )\n )\n ),\n React.createElement('br', null),\n React.createElement('br', null),\n React.createElement(\n 'div',\n { className: 'row' },\n React.createElement(\n 'div',\n { className: 'col-md-12 c_popup__buttons hidden-xs' },\n React.createElement(\n 'a',\n { href: '#', className: 'c_button c_button--green center', onClick: function onClick(e) {\n e.preventDefault();props.onCloseClick();\n } },\n props.button\n )\n ),\n React.createElement(\n 'div',\n { className: 'col-md-12 c_popup__buttons visible-xs' },\n React.createElement(\n 'a',\n { href: '#', className: 'c_button c_button--green c_button--small center', onClick: function onClick(e) {\n e.preventDefault();props.onCloseClick();\n } },\n props.button\n )\n )\n )\n ),\n React.createElement('div', { className: 'c_popup__bg' })\n );\n};\n\nmodule.exports = FormErrorPopup;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/FormErrorPopup/FormErrorPopup.jsx\n// module id = 703\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/FormErrorPopup/FormErrorPopup.jsx?"); /***/ }), /* 704 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// views\nvar Engine = __webpack_require__(705);\nvar Options = __webpack_require__(714);\nvar Packs = __webpack_require__(724);\nvar StandardEquipment = __webpack_require__(732);\nvar Start = __webpack_require__(739);\n\n/**\r\n * @method Main - The main container that holds the current step display.\r\n * @param {JSON} props\r\n * @returns {JSX.Element}\r\n */\nvar Main = function Main(props) {\n var color = props.color;\n var events = props.events;\n var model = props.model;\n var steps = model.steps;\n var submission = props.submission;\n\n if (!steps || typeof steps == 'undefined' || steps.length < 1) {\n return React.createElement('div', { className: 'grid--v-large__col--8 h--large-padding-top' });\n }\n\n var renderStep = function renderStep(step) {\n var activeStep = steps.find(function (item) {\n return item.stepNumber == step;\n });\n if (!!activeStep) {\n switch (step) {\n case 0:\n return React.createElement(Start, {\n step: activeStep,\n brand: props.brand,\n boat: model.boat,\n color: props.color,\n dictionary: model.dictionary,\n onConfigurationSelect: events.onConfigurationSelect,\n options: model.recommendedConfigurations,\n selectedConfig: props.selectedConfig\n });\n case 1:\n return React.createElement(StandardEquipment, {\n step: activeStep,\n groups: model.boat.standardEquipment,\n color: props.color,\n onPopupClick: events.activatePopup,\n openDropdown: props.openEquipmentDropdown,\n selectedTab: props.selectedEquipmentTab,\n events: props.events\n });\n break;\n case 2:\n return React.createElement(Engine, {\n step: activeStep,\n engines: model.boat.engines,\n configurations: model.recommendedConfigurations,\n selectedConfig: props.selectedConfig,\n engineTab: props.engineTab,\n color: props.color,\n events: events,\n onEngineSelect: events.onEngineSelect,\n onEngineTabSelect: events.onEngineTabSelect,\n submission: props.submission,\n format: model.priceSetting,\n ui: props.ui\n });\n break;\n case 3:\n return React.createElement(Packs, {\n step: activeStep,\n packs: model.boat.packs,\n selectedPacks: submission.packs,\n dictionary: model.dictionary,\n color: props.color,\n events: events,\n submission: props.submission,\n format: model.priceSetting\n });\n break;\n case 4:\n return React.createElement(Options, {\n step: activeStep,\n options: model.boat.options,\n color: props.color,\n dictionary: model.dictionary,\n events: events,\n onOptionSelect: events.onOptionSelect,\n onPopupClick: events.activatePopup,\n submission: props.submission,\n country: props.country,\n format: model.priceSetting\n });\n break;\n }\n }\n\n return null;\n };\n\n return React.createElement(\n 'div',\n { className: 'grid--v-large__col--8 h--large-padding-top' },\n renderStep(props.step)\n );\n};\n\nmodule.exports = Main;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/Main.jsx\n// module id = 704\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/Main.jsx?"); /***/ }), /* 705 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar UiHelpers = __webpack_require__(259);\n\n// views\nvar BoardTypeSelection = __webpack_require__(706);\nvar BrandSelection = __webpack_require__(708);\nvar CountSelection = __webpack_require__(710);\nvar EngineOptions = __webpack_require__(712);\n\n/**\r\n * @var Engine - The engine step of the boat configurator app.\r\n * @param {JSON} props \r\n */\nvar Engine = function Engine(props) {\n\n var engines = props.engines;\n var ui = props.ui;\n\n // Restart choice not required if all engines are of the same type/count\n var noChoice2Make = !UiHelpers.Engine.hasBoardTypeChoice(engines) && !UiHelpers.Engine.hasEngineCountChoice(engines, ui);\n // Check if both decisions are to be taken and whether we've already taken the count choice\n var outboardChoiceAndCountChoiceRequired = UiHelpers.Engine.hasBoardTypeChoice(engines) && UiHelpers.Engine.hasEngineCountChoice(engines, ui) && UiHelpers.Engine.isBoardTypeSelected(ui) && !UiHelpers.Engine.isCountSelected(ui);\n var restartChoice = !noChoice2Make && (UiHelpers.Engine.haveNoEngineChoiceLeft(engines, ui) || outboardChoiceAndCountChoiceRequired);\n\n return React.createElement(\n 'div',\n { className: 'wrapper--fixed-width' },\n React.createElement(\n 'div',\n { className: 'c_title-medium c_text--uppercase h--small-margin-bottom' },\n props.step.title\n ),\n React.createElement('div', { className: 'c_text--gray', dangerouslySetInnerHTML: { __html: props.step.text } }),\n UiHelpers.Engine.shouldShowBoardTypeSelection(engines, ui) && React.createElement(BoardTypeSelection, {\n engines: props.engines,\n events: props.events,\n format: props.format,\n ui: ui,\n color: props.color\n }),\n UiHelpers.Engine.shouldShowBrandSelection(engines, ui) && React.createElement(BrandSelection, {\n engines: props.engines,\n events: props.events,\n format: props.format,\n ui: ui,\n color: props.color\n }),\n UiHelpers.Engine.shouldShowCountSelection(engines, ui) && React.createElement(CountSelection, {\n engines: props.engines,\n events: props.events,\n format: props.format,\n ui: ui,\n color: props.color\n }),\n UiHelpers.Engine.haveNoEngineChoiceLeft(engines, ui) && React.createElement(EngineOptions, {\n engines: props.engines,\n configurations: props.configurations,\n selectedConfig: props.selectedConfig,\n events: props.events,\n format: props.format,\n submission: props.submission,\n ui: props.ui,\n color: props.color\n }),\n React.createElement(\n 'div',\n { className: 'grid__row h--extra-huge-margin-bottom h--large-margin-top' },\n restartChoice && React.createElement(\n 'a',\n {\n href: '#',\n className: 'c_link c_text__weight--bold c_text--underline c_text--purple',\n onClick: function onClick(e) {\n e.preventDefault();props.events.onChooseOtherEngine();\n }\n },\n Dictionary.getValue('orChooseOtherEngine', 'Or choose other engine')\n )\n )\n );\n};\n\nmodule.exports = Engine;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Engine/Engine.jsx\n// module id = 705\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Engine/Engine.jsx?"); /***/ }), /* 706 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// views\nvar BoardTypeOption = __webpack_require__(707);\n\n// helpers & utils\nvar Dictionary = __webpack_require__(12);\nvar UiHelpers = __webpack_require__(259);\n\n/**\r\n * @const BoardTypeSelection - Section of Engine step that permits the user to \r\n * select whether they want an \"inboard\" or \"outboard\" motor.\r\n */\nvar BoardTypeSelection = function BoardTypeSelection(props) {\n\n var engines = props.engines;\n\n return React.createElement(\n 'div',\n { className: 'grid__row' },\n React.createElement(\n 'div',\n { className: 'row' },\n React.createElement(\n 'div',\n { className: 'col-lg-12' },\n React.createElement(\n 'div',\n { className: 'row c_card__row' },\n React.createElement(BoardTypeOption, {\n key: 'board-type-option-inboard',\n index: '0',\n engines: UiHelpers.Engine.filterEnginesByParameter(engines, 'inboard', true),\n events: props.events,\n format: props.format,\n isSelected: props.ui.engine.selectedBoardType === 'BOARD_TYPE_INBOARD',\n title: Dictionary.getValue('engineInboardTitle', 'Inboard engine'),\n value: 'BOARD_TYPE_INBOARD',\n color: props.color,\n description: Dictionary.getValue('engineInboardDescription', 'Inboard description')\n }),\n React.createElement(BoardTypeOption, {\n key: 'board-type-option-outboard',\n index: '1',\n engines: UiHelpers.Engine.filterEnginesByParameter(engines, 'inboard', false),\n events: props.events,\n format: props.format,\n isSelected: props.ui.engine.selectedBoardType === 'BOARD_TYPE_OUTBOARD',\n title: Dictionary.getValue('engineOutboardTitle', 'Outboard engine'),\n value: 'BOARD_TYPE_OUTBOARD',\n color: props.color,\n description: Dictionary.getValue('engineOutboardDescription', 'Outboard description')\n })\n )\n )\n )\n );\n};\n\nmodule.exports = BoardTypeSelection;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Engine/components/BoardTypeSelection/BoardTypeSelection.jsx\n// module id = 706\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Engine/components/BoardTypeSelection/BoardTypeSelection.jsx?"); /***/ }), /* 707 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils & helpers\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n/**\r\n * @class BoardTypeOption - Selectable option for the board type.\r\n */\nvar BoardTypeOption = React.createClass({\n displayName: 'BoardTypeOption',\n\n\n getInitialState: function getInitialState() {\n return {\n isActive: false\n };\n },\n\n onSelectOption: function onSelectOption() {\n this.props.events.onEngineBoardTypeSelect(this.props.value);\n },\n\n getHighestHP: function getHighestHP() {\n var hp = 0;\n this.props.engines.forEach(function (engine) {\n if (engine.hp > hp) {\n hp = engine.hp;\n }\n });\n return hp;\n },\n\n getLowestHP: function getLowestHP() {\n var hp = 999999;\n this.props.engines.forEach(function (engine) {\n if (engine.hp < hp) {\n hp = engine.hp;\n }\n });\n if (hp === 999999) {\n return 0;\n }\n return hp;\n },\n\n getLowestPrice: function getLowestPrice() {\n var price = 999999;\n this.props.engines.forEach(function (engine) {\n if (engine.price < price) {\n price = engine.price;\n }\n });\n if (price === 999999) {\n return '';\n }\n return Helpers.formatMoneyLocalized(price);\n },\n\n getInlineStyle: function getInlineStyle() {\n if (Helpers.shouldShowPrice()) {\n return {};\n }\n return {\n paddingLeft: '30px'\n };\n },\n\n toggleDescriptionDisplay: function toggleDescriptionDisplay(e) {\n e.preventDefault();\n this.setState({ isActive: !this.state.isActive });\n },\n\n render: function render() {\n return React.createElement(\n 'label',\n { className: 'col-lg-6 col-md-6 col-sm-12 col-xs-12 c_card c_card--engine--1', htmlFor: \"board-type-option-\" + this.props.index },\n React.createElement('input', {\n name: \"board-type-option-\" + this.props.index,\n id: \"board-type-option-\" + this.props.index,\n className: 'c_form__field--radio',\n type: 'radio',\n checked: this.props.isSelected,\n onChange: this.onSelectOption\n }),\n React.createElement(\n 'div',\n { className: 'c_card__container color--white' },\n React.createElement(\n 'div',\n { className: 'c_card__radio-option__container' },\n React.createElement(\n 'div',\n { className: 'c_card__radio-option' },\n React.createElement(\n 'div',\n { className: 'c_form__entry c_form__entry--inline' },\n React.createElement(\n 'label',\n { className: 'c_form__label--radio', htmlFor: \"board-type-option-\" + this.props.index },\n React.createElement(\n 'span',\n null,\n this.props.title\n )\n )\n )\n ),\n React.createElement('hr', null)\n ),\n React.createElement(\n 'div',\n { className: 'row c_card__details' },\n Helpers.shouldShowPrice() && React.createElement(\n 'div',\n { className: 'col-md-12 col-sm-7 col-xs-6' },\n React.createElement(\n 'div',\n { className: 'c_card__detail' },\n React.createElement('span', { className: \"icon icon--tag c_text--\" + this.props.color + \" c_card__detail__icon\" }),\n React.createElement(\n 'span',\n { className: 'c_card__detail__value' },\n React.createElement(\n 'span',\n { className: \"c_text--\" + this.props.color },\n Dictionary.getValue('boatWithEngine', 'Boat with engine')\n ),\n ' ',\n Dictionary.getValue('startingFrom', 'Starting from'),\n ' ',\n this.getLowestPrice()\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'col-md-12 col-sm-5 col-xs-6', style: this.getInlineStyle() },\n React.createElement(\n 'div',\n { className: 'c_card__detail' },\n React.createElement('span', { className: \"icon icon--tachometer c_text--\" + this.props.color + \" c_card__detail__icon\" }),\n React.createElement(\n 'span',\n { className: 'c_card__detail__value' },\n this.getLowestHP(),\n ' - ',\n this.getHighestHP(),\n ' ',\n Dictionary.getValue('hp', 'hp')\n )\n )\n )\n ),\n React.createElement(\n 'a',\n { href: '#', className: \"c_card__expand-link c_card__expand-link--show description-1 \" + (this.state.isActive ? \"toggle-active\" : \"toggle-inactive\"), 'data-toggle': '.description-1', onClick: this.toggleDescriptionDisplay },\n Dictionary.getValue('engineShowDetails', 'View details'),\n React.createElement('span', { className: 'icon icon--arrow-down' })\n ),\n React.createElement(\n 'a',\n { href: '#', className: \"c_card__expand-link c_card__expand-link--hide description-1 \" + (this.state.isActive ? \"toggle-active\" : \"toggle-inactive\"), 'data-toggle': '.description-1', onClick: this.toggleDescriptionDisplay },\n Dictionary.getValue('engineHideDetails', 'Hide details'),\n React.createElement('span', { className: 'icon icon--arrow-up' })\n ),\n React.createElement(\n 'p',\n { className: \"c_text--gray c_card__text description-1 \" + (this.state.isActive ? \"toggle-active\" : \"toggle-inactive\") },\n this.props.description\n )\n )\n );\n }\n});\n\nmodule.exports = BoardTypeOption;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Engine/components/BoardTypeSelection/components/BoardTypeOption/BoardTypeOption.jsx\n// module id = 707\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Engine/components/BoardTypeSelection/components/BoardTypeOption/BoardTypeOption.jsx?"); /***/ }), /* 708 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// views\nvar BrandOption = __webpack_require__(709);\n\n// helpers & utils\nvar Dictionary = __webpack_require__(12);\nvar UiHelpers = __webpack_require__(259);\n\n/**\r\n * @const BrandSelection - Section of Engine step that permits the user to \r\n * select whether they want an \"fourstroke\" or \"verado\" motor.\r\n */\nvar BrandSelection = function BrandSelection(props) {\n\n var engines = props.engines;\n\n return React.createElement(\n 'div',\n { className: 'grid__row' },\n React.createElement(\n 'div',\n { className: 'row' },\n React.createElement(\n 'div',\n { className: 'col-lg-12' },\n React.createElement(\n 'div',\n { className: 'row c_card__row' },\n React.createElement(BrandOption, {\n key: 'board-type-option-fourstroke',\n index: '0',\n engines: UiHelpers.Engine.filterEnginesByParameter(engines, 'fourstrokeEngine', true),\n events: props.events,\n format: props.format,\n isSelected: props.ui.engine.selectedBrand === 'ENGINE_BRAND_FOURSTROKE',\n title: Dictionary.getValue('fourstroke', 'Fourstroke'),\n value: 'ENGINE_BRAND_FOURSTROKE',\n color: props.color,\n description: Dictionary.getValue('engineFourstrokeDescription', 'Fourstroke')\n }),\n React.createElement(BrandOption, {\n key: 'board-type-option-verado',\n index: '1',\n engines: UiHelpers.Engine.filterEnginesByParameter(engines, 'veradoEngine', true),\n events: props.events,\n format: props.format,\n isSelected: props.ui.engine.selectedBrand === 'ENGINE_BRAND_VERADO',\n title: Dictionary.getValue('verado', 'Verado'),\n value: 'ENGINE_BRAND_VERADO',\n color: props.color,\n description: Dictionary.getValue('engineVeradoDescription', 'Verado')\n })\n )\n )\n )\n );\n};\n\nmodule.exports = BrandSelection;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Engine/components/BrandSelection/BrandSelection.jsx\n// module id = 708\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Engine/components/BrandSelection/BrandSelection.jsx?"); /***/ }), /* 709 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils & helpers\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n/**\r\n * @const BrandOption - Selectable option for the brand.\r\n * @param {JSON} props \r\n * @returns {JSX.Element}\r\n */\nvar BrandOption = React.createClass({\n displayName: 'BrandOption',\n\n\n getInitialState: function getInitialState() {\n return {\n isActive: false\n };\n },\n\n onSelectOption: function onSelectOption() {\n this.props.events.onEngineBoardTypeSelect(this.props.value);\n },\n\n getHighestHP: function getHighestHP() {\n var hp = 0;\n this.props.engines.forEach(function (engine) {\n if (engine.hp > hp) {\n hp = engine.hp;\n }\n });\n return hp;\n },\n\n getLowestHP: function getLowestHP() {\n var hp = 999999;\n this.props.engines.forEach(function (engine) {\n if (engine.hp < hp) {\n hp = engine.hp;\n }\n });\n if (hp === 999999) {\n return 0;\n }\n return hp;\n },\n\n getLowestPrice: function getLowestPrice() {\n var price = 999999;\n this.props.engines.forEach(function (engine) {\n if (engine.price < price) {\n price = engine.price;\n }\n });\n if (price === 999999) {\n return '';\n }\n return Helpers.formatMoneyLocalized(price);\n },\n\n toggleDescriptionDisplay: function toggleDescriptionDisplay(e) {\n e.preventDefault();\n this.setState({ isActive: !this.state.isActive });\n },\n\n render: function render() {\n return React.createElement(\n 'label',\n { className: 'col-lg-6 col-md-6 col-sm-12 col-xs-12 c_card c_card--engine--1', htmlFor: \"brand-option-\" + this.props.index },\n React.createElement('input', {\n name: \"brand-option-\" + this.props.index,\n id: \"brand-option-\" + this.props.index,\n className: 'c_form__field--radio',\n type: 'radio',\n checked: this.props.isSelected,\n onChange: this.onSelectOption\n }),\n React.createElement(\n 'div',\n { className: 'c_card__container color--white' },\n React.createElement(\n 'div',\n { className: 'c_card__radio-option__container' },\n React.createElement(\n 'div',\n { className: 'c_card__radio-option' },\n React.createElement(\n 'div',\n { className: 'c_form__entry c_form__entry--inline' },\n React.createElement(\n 'label',\n { className: 'c_form__label--radio', htmlFor: \"brand-option-\" + this.props.index },\n React.createElement(\n 'span',\n null,\n this.props.title\n )\n )\n )\n ),\n React.createElement('hr', null)\n ),\n React.createElement(\n 'div',\n { className: 'row c_card__details' },\n React.createElement(\n 'div',\n { className: 'col-md-12 col-sm-7 col-xs-6' },\n React.createElement(\n 'div',\n { className: 'c_card__detail' },\n React.createElement('span', { className: \"icon icon--tag c_text--\" + this.props.color + \" c_card__detail__icon\" }),\n React.createElement(\n 'span',\n { className: 'c_card__detail__value' },\n React.createElement(\n 'span',\n { className: \"c_text--\" + this.props.color },\n Dictionary.getValue('boatWithEngine', 'Boat with engine')\n ),\n ' ',\n Dictionary.getValue('startingFrom', 'Starting from'),\n ' ',\n this.getLowestPrice()\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'col-md-12 col-sm-5 col-xs-6' },\n React.createElement(\n 'div',\n { className: 'c_card__detail' },\n React.createElement('span', { className: \"icon icon--tachometer c_text--\" + this.props.color + \" c_card__detail__icon\" }),\n React.createElement(\n 'span',\n { className: 'c_card__detail__value' },\n this.getLowestHP(),\n ' - ',\n this.getHighestHP(),\n ' ',\n Dictionary.getValue('hp', 'hp')\n )\n )\n )\n ),\n React.createElement(\n 'a',\n { href: '#', className: \"c_card__expand-link c_card__expand-link--show description-1 \" + (this.state.isActive ? \"toggle-active\" : \"toggle-inactive\"), 'data-toggle': '.description-1' },\n Dictionary.getValue('engineShowDetails', 'View details'),\n React.createElement('span', { className: 'icon icon--arrow-down' })\n ),\n React.createElement(\n 'a',\n { href: '#', className: \"c_card__expand-link c_card__expand-link--hide description-1 \" + (this.state.isActive ? \"toggle-active\" : \"toggle-inactive\"), 'data-toggle': '.description-1' },\n Dictionary.getValue('engineHideDetails', 'Hide details'),\n React.createElement('span', { className: 'icon icon--arrow-up' })\n ),\n React.createElement(\n 'p',\n { className: \"c_text--gray c_card__text description-1 \" + (this.state.isActive ? \"toggle-active\" : \"toggle-inactive\") },\n this.props.description\n )\n )\n );\n }\n});\n\nmodule.exports = BrandOption;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Engine/components/BrandSelection/components/BrandOption/BrandOption.jsx\n// module id = 709\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Engine/components/BrandSelection/components/BrandOption/BrandOption.jsx?"); /***/ }), /* 710 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// views\nvar CountOption = __webpack_require__(711);\n\n// helpers & utils\nvar Dictionary = __webpack_require__(12);\nvar UiHelpers = __webpack_require__(259);\n\n/**\r\n * @const CountSelection - Section of Engine.\r\n */\nvar CountSelection = function CountSelection(props) {\n\n var engines = props.engines;\n\n return React.createElement(\n 'div',\n { className: 'grid__row' },\n React.createElement(\n 'div',\n { className: 'row' },\n React.createElement(\n 'div',\n { className: 'col-lg-12' },\n React.createElement(\n 'div',\n { className: 'row c_card__row' },\n React.createElement(CountOption, {\n key: 'count-option-single',\n index: '0',\n engines: UiHelpers.Engine.filterEnginesByParameter(engines, 'dual', false),\n events: props.events,\n format: props.format,\n isSelected: props.ui.engine.selectedSingleOrDual === 'ENGINE_COUNT_SINGLE',\n title: Dictionary.getValue('engineSingleTitle', 'Single'),\n value: 'ENGINE_COUNT_SINGLE',\n color: props.color,\n description: Dictionary.getValue('engineSingleDescription', 'Single')\n }),\n React.createElement(CountOption, {\n key: 'count-option-dual',\n index: '1',\n engines: UiHelpers.Engine.filterEnginesByParameter(engines, 'dual', true),\n events: props.events,\n format: props.format,\n isSelected: props.ui.engine.selectedSingleOrDual === 'ENGINE_COUNT_DOUBLE',\n title: Dictionary.getValue('engineDualTitle', 'Dual'),\n value: 'ENGINE_COUNT_DOUBLE',\n color: props.color,\n description: Dictionary.getValue('engineDualDescription', 'Dual')\n })\n )\n )\n )\n );\n};\n\nmodule.exports = CountSelection;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Engine/components/CountSelection/CountSelection.jsx\n// module id = 710\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Engine/components/CountSelection/CountSelection.jsx?"); /***/ }), /* 711 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils & helpers\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n/**\r\n * @class CountOption - Selectable option for the engine count.\r\n */\nvar CountOption = React.createClass({\n displayName: 'CountOption',\n\n\n getInitialState: function getInitialState() {\n return {\n isActive: false\n };\n },\n\n onSelectOption: function onSelectOption() {\n this.props.events.onEngineCountSelect(this.props.value);\n },\n\n getHighestHP: function getHighestHP() {\n var hp = 0;\n this.props.engines.forEach(function (engine) {\n if (engine.hp > hp) {\n hp = engine.hp;\n }\n });\n return hp;\n },\n\n getLowestHP: function getLowestHP() {\n var hp = 999999;\n this.props.engines.forEach(function (engine) {\n if (engine.hp < hp) {\n hp = engine.hp;\n }\n });\n if (hp === 999999) {\n return 0;\n }\n return hp;\n },\n\n getLowestPrice: function getLowestPrice() {\n var price = 999999;\n this.props.engines.forEach(function (engine) {\n if (engine.price < price) {\n price = engine.price;\n }\n });\n if (price === 999999) {\n return '';\n }\n return Helpers.formatMoneyLocalized(price);\n },\n\n getInlineStyle: function getInlineStyle() {\n if (Helpers.shouldShowPrice()) {\n return {};\n }\n return {\n paddingLeft: '30px'\n };\n },\n\n toggleDescriptionDisplay: function toggleDescriptionDisplay(e) {\n e.preventDefault();\n this.setState({ isActive: !this.state.isActive });\n },\n\n render: function render() {\n return React.createElement(\n 'label',\n { className: 'col-lg-6 col-md-6 col-sm-12 col-xs-12 c_card c_card--engine--1', htmlFor: \"count-option-\" + this.props.index },\n React.createElement('input', {\n name: \"count-option-\" + this.props.index,\n id: \"count-option-\" + this.props.index,\n className: 'c_form__field--radio',\n type: 'radio',\n checked: this.props.isSelected,\n onChange: this.onSelectOption\n }),\n React.createElement(\n 'div',\n { className: 'c_card__container color--white' },\n React.createElement(\n 'div',\n { className: 'c_card__radio-option__container' },\n React.createElement(\n 'div',\n { className: 'c_card__radio-option' },\n React.createElement(\n 'div',\n { className: 'c_form__entry c_form__entry--inline' },\n React.createElement(\n 'label',\n { className: 'c_form__label--radio', htmlFor: \"count-option-\" + this.props.index },\n React.createElement(\n 'span',\n null,\n this.props.title\n )\n )\n )\n ),\n React.createElement('hr', null)\n ),\n React.createElement(\n 'div',\n { className: 'row c_card__details' },\n Helpers.shouldShowPrice() && React.createElement(\n 'div',\n { className: 'col-md-12 col-sm-7 col-xs-6' },\n React.createElement(\n 'div',\n { className: 'c_card__detail' },\n React.createElement('span', { className: \"icon icon--tag c_text--\" + this.props.color + \" c_card__detail__icon\" }),\n React.createElement(\n 'span',\n { className: 'c_card__detail__value' },\n React.createElement(\n 'span',\n { className: \"c_text--\" + this.props.color },\n Dictionary.getValue('boatWithEngine', 'Boat with engine')\n ),\n ' ',\n Dictionary.getValue('startingFrom', 'Starting from'),\n ' ',\n this.getLowestPrice()\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'col-md-12 col-sm-5 col-xs-6', style: this.getInlineStyle() },\n React.createElement(\n 'div',\n { className: 'c_card__detail' },\n React.createElement('span', { className: \"icon icon--tachometer c_text--\" + this.props.color + \" c_card__detail__icon\" }),\n React.createElement(\n 'span',\n { className: 'c_card__detail__value' },\n this.getLowestHP(),\n ' - ',\n this.getHighestHP(),\n ' ',\n Dictionary.getValue('hp', 'hp')\n )\n )\n )\n ),\n React.createElement(\n 'a',\n { href: '#', className: \"c_card__expand-link c_card__expand-link--show description-1 \" + (this.state.isActive ? \"toggle-active\" : \"toggle-inactive\"), onClick: this.toggleDescriptionDisplay },\n Dictionary.getValue('engineShowDetails', 'View details'),\n React.createElement('span', { className: 'icon icon--arrow-down' })\n ),\n React.createElement(\n 'a',\n { href: '#', className: \"c_card__expand-link c_card__expand-link--hide description-1 \" + (this.state.isActive ? \"toggle-active\" : \"toggle-inactive\"), onClick: this.toggleDescriptionDisplay },\n Dictionary.getValue('engineHideDetails', 'Hide details'),\n React.createElement('span', { className: 'icon icon--arrow-up' })\n ),\n React.createElement(\n 'p',\n { className: \"c_text--gray c_card__text description-1 \" + (this.state.isActive ? \"toggle-active\" : \"toggle-inactive\") },\n this.props.description\n )\n )\n );\n }\n});\n\nmodule.exports = CountOption;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Engine/components/CountSelection/components/CountOption/CountOption.jsx\n// module id = 711\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Engine/components/CountSelection/components/CountOption/CountOption.jsx?"); /***/ }), /* 712 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar UiHelpers = __webpack_require__(259);\n\n// views\nvar EngineOption = __webpack_require__(713);\n\nvar EngineOptions = function EngineOptions(props) {\n var engines = props.engines;\n var configurations = props.configurations;\n var selectedConfig = props.selectedConfig;\n var ui = props.ui;\n\n var renderEngineOptions = function renderEngineOptions() {\n var options = [];\n var filteredEngines = UiHelpers.Engine.filterEnginesBasedUponUi(engines, ui);\n\n filteredEngines.forEach(function (engine, index) {\n var badge = '';\n configurations.forEach(function (config, index) {\n if (config.engine == engine.id) {\n badge = config.defaultEngineBadge;\n }\n });\n options.push(React.createElement(EngineOption, {\n engine: engine,\n badge: badge,\n displayPrice: '',\n format: props.format,\n key: 'engine-option-' + index,\n onClick: props.events.onEngineSelect,\n isChecked: engine.id == props.submission.engine.id,\n color: props.color\n }));\n });\n return options;\n };\n\n var options = renderEngineOptions();\n\n return React.createElement(\n 'div',\n { className: 'grid__row' },\n React.createElement(\n 'div',\n { className: 'row' },\n React.createElement(\n 'div',\n { className: 'col-lg-12' },\n React.createElement(\n 'div',\n { className: 'row c_card__row c_card__row--no-margin-bottom c_card__row--no-mobile-gutters' },\n options\n )\n )\n )\n );\n};\n\nmodule.exports = EngineOptions;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Engine/components/EngineOptions/EngineOptions.jsx\n// module id = 712\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Engine/components/EngineOptions/EngineOptions.jsx?"); /***/ }), /* 713 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n/**\r\n * @function EngineOption\r\n * @param {JSON} props\r\n * @returns {JSX.Element}\r\n */\nvar EngineOption = function EngineOption(props) {\n var engine = props.engine;\n var badge = props.badge;\n\n var onClick = function onClick(e) {\n props.onClick(props.engine);\n };\n\n return React.createElement(\n 'label',\n { className: 'col-lg-4 col-sm-6 col-xs-12 c_card c_card--engine--1', htmlFor: \"engine-option-\" + engine.id },\n React.createElement('input', {\n className: 'c_form__field--radio',\n id: 'engine-option-' + engine.id,\n name: 'engine-option-' + engine.id,\n type: 'radio',\n value: engine.id,\n checked: props.isChecked,\n onChange: onClick\n }),\n React.createElement(\n 'div',\n { className: 'c_card__container color--white' },\n !!badge && badge !== '' && React.createElement(\n 'div',\n { className: 'c_card__tag' },\n badge\n ),\n React.createElement(\n 'div',\n { className: 'c_card__radio-option__container' },\n React.createElement(\n 'div',\n { className: 'c_card__radio-option' },\n React.createElement(\n 'div',\n { className: 'c_form__entry c_form__entry--inline' },\n React.createElement(\n 'label',\n { htmlFor: \"engine-option-\" + engine.id, className: 'c_form__label--radio' },\n React.createElement(\n 'span',\n null,\n engine.name\n )\n )\n )\n ),\n React.createElement('hr', null)\n ),\n React.createElement('img', { src: engine.image, className: 'c_card__image', style: { maxHeight: '200px' }, 'data-pin-nopin': 'true' }),\n Helpers.shouldShowPrice() && React.createElement(\n 'div',\n { className: 'c_card__detail' },\n React.createElement('span', { className: \"icon icon--tag c_text--\" + props.color + \" c_card__detail__icon\" }),\n React.createElement(\n 'span',\n { className: 'c_card__detail__value' },\n React.createElement(\n 'span',\n { className: \"c_text--\" + props.color },\n Dictionary.getValue('boatWithEngine', 'Boat with engine')\n ),\n ' ',\n React.createElement('br', null),\n Helpers.formatMoneyLocalized(engine.price)\n )\n ),\n React.createElement(\n 'div',\n { className: 'c_card__detail' },\n React.createElement('span', { className: \"icon icon--tachometer c_text--\" + props.color + \" c_card__detail__icon\" }),\n React.createElement(\n 'span',\n { className: 'c_card__detail__value' },\n engine.hp,\n ' ',\n Dictionary.getValue('hp', 'hp')\n )\n ),\n React.createElement(\n 'a',\n { href: engine.url, className: 'c_text--gray c_card__link', target: '_blank' },\n Dictionary.getValue('moreOnMercurySite', 'More on Mercury website')\n )\n )\n );\n};\n\nmodule.exports = EngineOption;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Engine/components/EngineOptions/components/EngineOption/EngineOption.jsx\n// module id = 713\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Engine/components/EngineOptions/components/EngineOption/EngineOption.jsx?"); /***/ }), /* 714 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// views\n// var OptionGroupItem = require('./components/OptionGroupItem/OptionGroupItem.jsx');\nvar OptionItem = __webpack_require__(715);\n\n/**\r\n * @function Options\r\n * @param {JSON} props\r\n * @returns {JSX.Element}\r\n */\nvar Options = function Options(props) {\n\n /**\r\n * @method isOptionActive - Returns `true` if a currently selected pack or \r\n * option is incomaptible with this option.\r\n * @param {JSON} option \r\n */\n var isOptionActive = function isOptionActive(option) {\n var hasIncompatibleOption = option.incompatibleItems.some(function (incompatible) {\n return props.submission.options.some(function (selectedOption) {\n return selectedOption.id === incompatible;\n });\n });\n var hasIncompatiblePack = option.incompatibleWithPacks.some(function (incompatible) {\n return props.submission.packs.some(function (selectedPack) {\n return selectedPack.id === incompatible;\n });\n });\n var includedInPack = option.isPartOf.some(function (partOf) {\n return props.submission.packs.some(function (selectedPack) {\n return selectedPack.id === partOf;\n });\n });\n return !(hasIncompatibleOption || hasIncompatiblePack || includedInPack);\n };\n\n return React.createElement(\n 'div',\n { className: 'wrapper--fixed-width' },\n React.createElement(\n 'div',\n { className: 'c_title-medium c_text--uppercase h--small-margin-bottom' },\n props.step.title\n ),\n React.createElement('div', { className: 'c_text--gray', dangerouslySetInnerHTML: { __html: props.step.text } }),\n props.options.map(function (option, index) {\n return React.createElement(OptionItem, {\n selectedOptions: props.submission.options,\n selectedPacks: props.submission.packs,\n packOptions: props.submission.partOfPackOptions,\n requiredOptions: props.submission.requiredOptions,\n option: option,\n index: index,\n isActive: isOptionActive(option),\n key: 'option-' + index,\n dictionary: props.dictionary,\n events: props.events,\n isChecked: props.submission.options.some(function (submitted) {\n return submitted.id == option.id;\n }),\n country: props.country,\n format: props.format\n });\n }),\n React.createElement('div', { className: 'spacer-100' })\n );\n};\n\nmodule.exports = Options;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Options/Options.jsx\n// module id = 714\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Options/Options.jsx?"); /***/ }), /* 715 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// views\nvar CompatibilityWarning = __webpack_require__(716);\nvar Gallery = __webpack_require__(717);\nvar OptionInfoText = __webpack_require__(719);\nvar PopupLink = __webpack_require__(370);\nvar PartOf = __webpack_require__(720);\nvar RequiredFor = __webpack_require__(721);\nvar RequiredPacks = __webpack_require__(723);\nvar RequiredOptions = __webpack_require__(722);\n\n// utils\nvar Helpers = __webpack_require__(21);\n\n/**\r\n * @class OptionItem\r\n */\nvar OptionItem = React.createClass({\n displayName: 'OptionItem',\n\n getInitialState: function getInitialState() {\n return {\n isOpen: false\n };\n },\n\n // React Lifecycle Methods /////////////////////////////////////////////////\n\n // Helper Functions ////////////////////////////////////////////////////////\n\n // Event Handlers //////////////////////////////////////////////////////////\n\n /**\r\n * @method onClick\r\n * @param {Event} e\r\n * @returns {void}\r\n */\n onClick: function onClick(e) {\n this.props.events.onOptionSelect(this.props.option);\n },\n\n /**\r\n * @method onToggleDropdown\r\n * @param {Event} e\r\n * @returns {void}\r\n */\n onToggleDropdown: function onToggleDropdown(e) {\n e.preventDefault();\n this.setState({ isOpen: !this.state.isOpen });\n },\n\n doNothing: function doNothing(e) {\n e.preventDefault();\n },\n\n // Render ////////////////////////////////////////////////////////////////// \n\n render: function render() {\n var props = this.props;\n var option = props.option;\n var items = [];\n\n items.push(option);\n if (option.subitems && option.subitems.length > 0) {\n option.subitems.forEach(function (subItem, index) {\n items.push(subItem);\n });\n }\n\n var hasImages = items.filter(function (item) {\n return item.images && item.images.length > 0;\n }).length > 0;\n\n var containerClass = 'c_dropdown--alt c_dropdown--overview c_dropdown--bs ' + 'c_dropdown--option c_dropdown--option--spacing h--large-margin-bottom ' + (props.isChecked ? 'toggle-active ' : 'toggle-inactive ') + (this.state.isOpen ? 'c_dropdown--open' : '');\n\n var headerClass = 'c_dropdown__header--alt c_dropdown__header--checkbox c_dropdown__header--divider h--flexbox' + (!props.isActive ? ' c_dropdown__header--checkbox--disabled' : '');\n\n return React.createElement(\n 'div',\n { className: containerClass },\n React.createElement(\n 'header',\n { className: headerClass },\n React.createElement(\n 'div',\n { className: 'c_dropdown__title c_text--gray d-flex w-100' },\n React.createElement('input', {\n type: 'checkbox',\n name: 'input-checkbox-option-' + props.index,\n id: 'input-checkboxgroup-' + props.index,\n className: 'c_form__field--checkbox',\n checked: props.isChecked,\n disabled: !props.isActive,\n onChange: this.onClick\n }),\n React.createElement('label', {\n htmlFor: 'input-checkboxgroup-' + props.index,\n className: 'c_form__label c_form__label--checkbox c_text--gray ' + (props.isActive ? 'toggle-active ' : 'toggle-inactive ')\n }),\n React.createElement(\n 'label',\n {\n className: \"c_text--gray c_dropdown__trigger__custom\" + (hasImages ? \" c-pointer\" : \"\") + \" my-auto\",\n onClick: hasImages ? this.onToggleDropdown : this.doNothing },\n option.name\n )\n ),\n React.createElement(\n 'a',\n {\n href: '#',\n className: \"c_dropdown__trigger c_dropdown__trigger--\" + (hasImages ? \"blue\" : \"white\"),\n onClick: hasImages ? this.onToggleDropdown : this.doNothing\n },\n React.createElement(\n 'span',\n { className: 'c_text--gray c_text--normal' },\n Helpers.formatMoneyLocalized(option.price)\n )\n ),\n React.createElement(CompatibilityWarning, {\n optionIds: props.option.incompatibleItems,\n optionNames: props.option.incompatibilityDescription,\n packIds: props.option.incompatibleWithPacks,\n packNames: props.option.incompatibleWithPacksDescription,\n selectedPacks: props.selectedPacks,\n selectedOptions: props.selectedOptions\n }),\n React.createElement(PartOf, {\n isPartOfPacks: option.isPartOf,\n partOfDescription: option.partOfDescription\n }),\n React.createElement(RequiredOptions, {\n requiredOptions: option.requiredRelatedOptions,\n requiredDescriptions: option.requiredRelatedOptionsDescription\n }),\n React.createElement(RequiredFor, {\n isRequiredFor: option.isRequiredFor,\n isRequiredForOptionDescription: option.isRequiredForOptionDescription\n }),\n React.createElement(RequiredPacks, {\n requiredPacks: option.requiredPacks,\n requiredPacksDescription: option.requiredPacksDescription\n }),\n React.createElement(OptionInfoText, {\n dictionary: props.dictionary,\n format: props.format,\n option: option\n })\n ),\n React.createElement(\n 'div',\n { className: 'c_dropdown__content--alt c_dropdown--option c_dropdown__content--padded' },\n React.createElement(Gallery, {\n index: props.index,\n items: items,\n events: props.events\n })\n )\n );\n }\n});\n\nmodule.exports = OptionItem;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Options/components/OptionItem/OptionItem.jsx\n// module id = 715\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Options/components/OptionItem/OptionItem.jsx?"); /***/ }), /* 716 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\n\n/**\r\n * @const CompatibilityWarning - Red warning text that appears on an option \r\n * if there's limited compatibility with other packs or options.\r\n * @param {CompatibilityWarningProps} props \r\n * @returns {JSX.Element}\r\n */\nvar CompatibilityWarning = function CompatibilityWarning(props) {\n\n var getIncompatibility = function getIncompatibility() {\n var isIncompatible = false;\n var incompatibleItems = [];\n props.packIds.forEach(function (packId, index) {\n props.selectedPacks.forEach(function (selectedPack) {\n if (selectedPack.id === packId) {\n isIncompatible = true;\n incompatibleItems.push(props.packNames.split(', ')[index]);\n }\n });\n });\n props.optionIds.forEach(function (optionId, index) {\n props.selectedOptions.forEach(function (selectedOption) {\n if (selectedOption.id === optionId) {\n isIncompatible = true;\n incompatibleItems.push(props.optionNames.split(', ')[index]);\n }\n });\n });\n return {\n isIncompatible: isIncompatible,\n items: incompatibleItems.join(', ')\n };\n };\n\n var incompatibility = getIncompatibility();\n\n if (!incompatibility.isIncompatible) {\n return null;\n }\n\n var compatibleText = Dictionary.getValue('notCompatibleOptions', '(Option is not compatible with {0})');\n compatibleText = compatibleText.split('{0}').join(incompatibility.items);\n\n return React.createElement(\n 'div',\n {\n className: 'c_text--red-2 c_dropdown__option__note'\n },\n compatibleText\n );\n};\n\n/**\r\n * @typedef CompatibilityWarningProps\r\n * @prop {string} packNames CSV string of names of incompatible packs.\r\n * @prop {number[]} packIds Array of IDs of incompatible packs.\r\n * @prop {JSON[]} selectedPacks Array of currently selected packs.\r\n * \r\n */\n\nmodule.exports = CompatibilityWarning;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Options/components/OptionItem/components/CompatibilityWarning/CompatibilityWarning.jsx\n// module id = 716\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Options/components/OptionItem/components/CompatibilityWarning/CompatibilityWarning.jsx?"); /***/ }), /* 717 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// Views\nvar GalleryItem = __webpack_require__(718);\n\n/**\r\n * @const Gallery - The grid of clickable items w/images for the pack & option \r\n * steps.\r\n * @param {JSON} props\r\n * @returns {JSX.Element}\r\n */\nvar Gallery = function Gallery(props) {\n var galleryIndex = 0;\n\n return React.createElement(\n 'div',\n { className: 'grid__row box--pack-gallery' },\n props.items.map(function (item, index) {\n var galleryItem = React.createElement(GalleryItem, {\n key: 'pack-' + props.index + '-feature-' + index,\n item: item,\n itemIndex: index,\n galleryIndex: galleryIndex,\n groupIndex: props.index,\n events: props.events\n });\n galleryIndex = galleryIndex + item.images.length;\n // if (item.subitems.length > 0) {\n // item.subitems.forEach(function(subItem, subIndex){\n // galleryIndex = galleryIndex + subItem.images.length;\n // });\n // }\n return galleryItem;\n })\n );\n};\n\nmodule.exports = Gallery;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Options/components/OptionItem/components/Gallery/Gallery.jsx\n// module id = 717\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Options/components/OptionItem/components/Gallery/Gallery.jsx?"); /***/ }), /* 718 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\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 React = __webpack_require__(1);\n\n/**\r\n * @class GalleryItem\r\n */\n\nvar GalleryItem = function (_React$Component) {\n _inherits(GalleryItem, _React$Component);\n\n function GalleryItem(props) {\n _classCallCheck(this, GalleryItem);\n\n var _this = _possibleConstructorReturn(this, (GalleryItem.__proto__ || Object.getPrototypeOf(GalleryItem)).call(this, props));\n\n _this.checkImageExists = function (imageUrl) {}\n // var imageData = new Image();\n // imageData.addEventListener('error', this.onImageError);\n // imageData.src = imageUrl;\n // this.setState({imageData: imageData});\n\n\n // Event Handlers //////////////////////////////////////////////////////////\n\n ;\n\n _this.onClick = function (e) {\n if (_this.props.item.images && _this.props.item.images.length > 0 && _this.props.item.images[0].imageUrl !== '') {\n e.preventDefault();\n _this.props.events.selectPackPopupGallery(_this.props.groupIndex, _this.props.galleryIndex);\n }\n };\n\n _this.onImageError = function (e) {}\n // if (this.state._isMounted) {\n // this.setState({ imageDoesNotExist: true });\n // }\n\n\n // Render Assisting Methods ////////////////////////////////////////////////\n\n // Render //////////////////////////////////////////////////////////////////\n\n ;\n\n _this.state = {\n // imageDoesNotExist: false,\n // _isMounted: false,\n // imageData: false,\n };\n return _this;\n }\n\n // React Lifecycle Methods /////////////////////////////////////////////////\n\n _createClass(GalleryItem, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n // var image = typeof this.props.item == 'string' ? '' : this.props.item.image;\n // this.checkImageExists(image);\n // this.setState({ _isMounted: true });\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {}\n // if (this.state.imageData) {\n // this.state.imageData.removeEventListener('error', this.onImageError);\n // }\n // this.setState({ _isMounted: false });\n\n\n // Helper Functions ////////////////////////////////////////////////////////\n\n }, {\n key: 'render',\n value: function render() {\n var item = this.props.item;\n var numberOfImages = item.images.length;\n var name = typeof item == 'string' ? item : item.name;\n // if (item.subitems.length > 0) {\n // item.subitems.forEach(function(subItem, index) {\n // numberOfImages += subItem.images.length;\n // });\n // }\n var hasImage = item.images && item.images.length > 0;\n var imageUrl = hasImage ? item.images[0].imageUrl : '/assets/configurator/shared/images/icon_anchor.png';\n //const overlayImage = hasImage ? '/assets/configurator/shared/images/icon_camera--white.svg' : '/assets/configurator/shared/images/icon_anchor.png';\n var boxClassName = 'c_dropdown__option__content__item';\n\n if (!hasImage) {\n boxClassName += ' c_dropdown__option__content__item--no-image';\n }\n return React.createElement(\n 'div',\n { className: 'col-lg-4 col-md-6 col-sm-6 col-xs-6 box--gallery-item' },\n React.createElement(\n 'div',\n { className: boxClassName, onClick: this.onClick },\n React.createElement(\n 'div',\n { className: 'c_dropdown__option__content__item__image__container', style: { backgroundImage: \"url('\" + imageUrl + \"')\" } },\n React.createElement('img', { src: '/assets/configurator/shared/images/transparent_3x2.png', className: 'c_dropdown__option__content__item__image' }),\n hasImage && React.createElement(\n 'div',\n { className: 'c_dropdown__option__content__item__image__overlay' },\n React.createElement('img', {\n className: 'c_dropdown__option__content__item__image__overlay__icon',\n src: '/assets/configurator/shared/images/icon_camera--white.svg'\n })\n ),\n hasImage && React.createElement(\n 'div',\n null,\n React.createElement('div', { className: 'counter-overlay' }),\n React.createElement(\n 'div',\n { className: 'image-count-container' },\n React.createElement('img', { className: 'image-count-camera', src: '/assets/configurator/shared/images/icon_camera--white.svg' }),\n React.createElement(\n 'div',\n { className: 'image-count lg' },\n numberOfImages\n )\n )\n )\n ),\n React.createElement(\n 'span',\n { className: 'c_dropdown__option__content__item__title' },\n name\n )\n )\n );\n }\n }]);\n\n return GalleryItem;\n}(React.Component);\n\n;\n\nmodule.exports = GalleryItem;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Options/components/OptionItem/components/Gallery/GalleryItem/GalleryItem.jsx\n// module id = 718\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Options/components/OptionItem/components/Gallery/GalleryItem/GalleryItem.jsx?"); /***/ }), /* 719 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n/**\r\n * @function OptionInfoText\r\n * @param {JSON} props\r\n * @returns {JSX.Element}\r\n */\nvar OptionInfoText = function OptionInfoText(props) {\n\tvar dictionary = props.dictionary;\n\tvar format = props.format;\n\tvar option = props.option;\n\n\treturn format.showPrices && !option.available && dictionary.notAvailableOption != '' && React.createElement(\n\t\t'div',\n\t\t{ className: 'c_text--gray c_dropdown__option__note' },\n\t\tdictionary.notAvailableOption\n\t);\n};\n\nmodule.exports = OptionInfoText;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Options/components/OptionItem/components/OptionInfoText/OptionInfoText.jsx\n// module id = 719\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Options/components/OptionItem/components/OptionInfoText/OptionInfoText.jsx?"); /***/ }), /* 720 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\n\nvar PartOf = function PartOf(props) {\n if (!props.isPartOfPacks || props.isPartOfPacks.length == 0) {\n return null;\n }\n\n var partOfText = Dictionary.getValue('partOf', '(Part of {0})');\n partOfText = partOfText.split('{0}').join(props.partOfDescription);\n\n return React.createElement(\n 'div',\n { className: 'c_text--gray c_dropdown__option__note' },\n partOfText\n );\n};\n\nmodule.exports = PartOf;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Options/components/OptionItem/components/PartOf/PartOf.jsx\n// module id = 720\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Options/components/OptionItem/components/PartOf/PartOf.jsx?"); /***/ }), /* 721 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\n\nvar RequiredFor = function RequiredFor(props) {\n if (!props.isRequiredFor || props.isRequiredFor.length == 0) {\n return null;\n }\n\n var requiredText = Dictionary.getValue('isRequiredForOptions', '(Required if one of the following options is selected: {0})');\n requiredText = requiredText.split('{0}').join(props.isRequiredForOptionDescription);\n\n return React.createElement(\n 'div',\n { className: 'c_text--gray c_dropdown__option__note' },\n requiredText\n );\n};\n\nmodule.exports = RequiredFor;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Options/components/OptionItem/components/RequiredFor/RequiredFor.jsx\n// module id = 721\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Options/components/OptionItem/components/RequiredFor/RequiredFor.jsx?"); /***/ }), /* 722 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\n\nvar RequiredOptions = function RequiredOptions(props) {\n if (!props.requiredOptions || props.requiredOptions.length == 0) {\n return null;\n }\n\n var requiredText = Dictionary.getValue('packRequiredOptions', '(Required options: {0})');\n requiredText = requiredText.split('{0}').join(props.requiredDescriptions);\n\n return React.createElement(\n 'div',\n { className: 'c_text--gray c_dropdown__option__note' },\n requiredText\n );\n};\n\nmodule.exports = RequiredOptions;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Options/components/OptionItem/components/RequiredOptions/RequiredOptions.jsx\n// module id = 722\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Options/components/OptionItem/components/RequiredOptions/RequiredOptions.jsx?"); /***/ }), /* 723 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\n\nvar RequiredPacks = function RequiredPacks(props) {\n if (!props.requiredPacks || props.requiredPacks.length == 0) {\n return null;\n }\n\n var requiredText = Dictionary.getValue('requiredPacks', '(Can only be selected if one of the following packs is selected: {0})');\n requiredText = requiredText.split('{0}').join(props.requiredPacksDescription);\n\n return React.createElement(\n 'div',\n { className: 'c_text--gray c_dropdown__option__note' },\n requiredText\n );\n};\n\nmodule.exports = RequiredPacks;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Options/components/OptionItem/components/RequiredPacks/RequiredPacks.jsx\n// module id = 723\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Options/components/OptionItem/components/RequiredPacks/RequiredPacks.jsx?"); /***/ }), /* 724 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\n\n// views\nvar PackItem = __webpack_require__(725);\n\n/**\r\n * @method Packs The packs step inside the main pane of the configurator app.\r\n * @param {JSON} props\r\n * @returns {JSX.Element}\r\n */\nvar Packs = function Packs(props) {\n\n /**\r\n * @method isPackActive - Returns `true` if none of the currently selected \r\n * packs are incompatible with the pack being tested against.\r\n * @param {JSON} pack \r\n * @returns {boolean}\r\n */\n var isPackActive = function isPackActive(pack) {\n return !props.selectedPacks.some(function (selected, spi) {\n return selected.incompatiblePacks.some(function (exclude, ipi) {\n return exclude == pack.id;\n });\n });\n };\n\n return React.createElement(\n 'div',\n { className: 'wrapper--fixed-width' },\n React.createElement(\n 'div',\n { className: 'c_title-medium c_text--uppercase h--small-margin-bottom' },\n props.step.title\n ),\n React.createElement('div', { className: 'c_text--gray', dangerouslySetInnerHTML: { __html: props.step.text } }),\n props.packs.map(function (pack, index) {\n var isPackSubmitted = props.submission.packs && props.submission.packs.some(function (submitted) {\n return submitted.id == pack.id;\n });\n return React.createElement(PackItem, {\n pack: pack,\n index: index,\n key: 'pack-' + index,\n dictionary: props.dictionary,\n isActive: isPackActive(pack),\n openOnLoad: props.packs.length === 1 || props.selectedPacks.some(function (selected) {\n selected.id === pack.id;\n }),\n events: props.events,\n isChecked: isPackSubmitted,\n format: props.format,\n selectedPacks: props.submission.packs\n });\n }),\n props.packs.length > 1 ? React.createElement(\n 'div',\n { className: '' },\n React.createElement(\n 'a',\n { href: '#', onClick: function onClick(e) {\n e.preventDefault();props.events.onOpenComparePacks();\n } },\n React.createElement(\n 'button',\n { className: 'c_button c_button--secondary' },\n Dictionary.getValue('comparePacks', 'Compare packs')\n )\n )\n ) : null,\n React.createElement('div', { className: 'spacer-100' })\n );\n};\n\nmodule.exports = Packs;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Packs/Packs.jsx\n// module id = 724\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Packs/Packs.jsx?"); /***/ }), /* 725 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// Views\nvar CompatibilityWarning = __webpack_require__(726);\nvar IncompatibleOptions = __webpack_require__(729);\nvar RequiredOptions = __webpack_require__(731);\nvar Gallery = __webpack_require__(727);\nvar OptionInfoText = __webpack_require__(730);\n\n// Utils\nvar Helpers = __webpack_require__(21);\n\n/**\r\n * @class PackItem\r\n */\nvar PackItem = React.createClass({\n displayName: 'PackItem',\n\n getInitialState: function getInitialState() {\n return {\n isOpen: false\n };\n },\n\n // React Lifecycle Methods /////////////////////////////////////////////////\n\n componentDidMount: function componentDidMount() {\n if (this.props.openOnLoad) {\n this.setState({ isOpen: true });\n }\n },\n\n\n // Helper Functions ////////////////////////////////////////////////////////\n\n // Event Handlers //////////////////////////////////////////////////////////\n\n /**\r\n * @method onClick\r\n * @param {Event} e\r\n * @returns {void}\r\n */\n onClick: function onClick(e) {\n this.props.events.onPackSelect(this.props.pack);\n },\n\n /**\r\n * @method onToggleDropdown\r\n * @param {Event} e\r\n * @returns {void}\r\n */\n onToggleDropdown: function onToggleDropdown(e) {\n e.preventDefault();\n this.setState({ isOpen: !this.state.isOpen });\n },\n\n // doNothing: function (e) {\n // e.preventDefault();\n // },\n\n // Render Assisting Methods ////////////////////////////////////////////////\n\n // Render //////////////////////////////////////////////////////////////////\n\n render: function render() {\n var props = this.props;\n var pack = props.pack;\n var items = [];\n\n items.push(pack);\n if (pack.items && pack.items.length > 0) {\n pack.items.forEach(function (item, index) {\n items.push(item);\n if (item.subitems && item.subitems.length > 0) {\n item.subitems.forEach(function (subItem, subIndex) {\n items.push(subItem);\n });\n }\n });\n }\n\n var hasImages = items.filter(function (item) {\n return item.images && item.images.length > 0;\n }).length > 0;\n\n var containerClass = 'c_dropdown--alt c_dropdown--overview ' + 'c_dropdown--bs c_dropdown--option c_dropdown--option--spacing ' + 'h--large-margin-bottom ' + (props.isChecked ? 'toggle-active ' : 'toggle-inactive ') + (this.state.isOpen ? 'c_dropdown--open' : '');\n\n var headerClass = 'c_dropdown__header--alt c_dropdown__header--checkbox c_dropdown__header--divider h--flexbox' + (!props.isActive ? ' c_dropdown__header--checkbox--disabled' : '');\n\n return React.createElement(\n 'div',\n { className: containerClass },\n React.createElement(\n 'header',\n { className: headerClass },\n React.createElement(\n 'div',\n { className: 'c_dropdown__title c_text--gray d-flex w-100' },\n React.createElement('input', {\n type: 'checkbox',\n name: 'input-checkbox-option-' + props.index,\n id: 'input-checkboxgroup-' + props.index,\n className: 'c_form__field--checkbox',\n checked: props.isChecked,\n onChange: this.onClick,\n disabled: !props.isActive\n }),\n React.createElement('label', {\n htmlFor: 'input-checkboxgroup-' + props.index,\n className: 'c_form__label c_form__label--checkbox c_text--gray ' + (props.isActive ? 'toggle-active ' : '')\n }),\n React.createElement(\n 'label',\n {\n className: 'c_text--gray c_dropdown__trigger__custom' + ' c-pointer' + ' my-auto',\n onClick: this.onToggleDropdown },\n props.pack.name\n )\n ),\n React.createElement(\n 'a',\n {\n href: '#',\n className: 'c_dropdown__trigger c_dropdown__trigger--blue',\n onClick: this.onToggleDropdown\n },\n React.createElement(\n 'span',\n { className: 'c_text--gray c_text--normal' },\n Helpers.formatMoneyLocalized(props.pack.price)\n )\n ),\n React.createElement(CompatibilityWarning, {\n selectedPacks: props.selectedPacks,\n packIds: props.pack.incompatiblePacks,\n packNames: props.pack.incompatibilityDescription\n }),\n React.createElement(RequiredOptions, {\n requiredOptions: props.pack.requiredOptions,\n requiredOptionsDescription: props.pack.requiredOptionsDescription\n }),\n React.createElement(OptionInfoText, {\n dictionary: props.dictionary,\n format: props.format,\n pack: props.pack\n })\n ),\n React.createElement(\n 'div',\n { className: 'c_dropdown__content--alt c_dropdown--option c_dropdown__content--padded' },\n React.createElement(Gallery, {\n index: props.index,\n items: props.pack.items.length > 0 ? props.pack.items : [],\n events: props.events\n })\n )\n );\n }\n});\n\nmodule.exports = PackItem;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Packs/components/PackItem/PackItem.jsx\n// module id = 725\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Packs/components/PackItem/PackItem.jsx?"); /***/ }), /* 726 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\n\n/**\r\n * @const CompatibilityWarning - Red warning text that appears on a pack item \r\n * if there's limited compatibility with other packs.\r\n * @param {CompatibilityWarningProps} props \r\n * @returns {JSX.Element}\r\n */\nvar CompatibilityWarning = function CompatibilityWarning(props) {\n\n var getIncompatibility = function getIncompatibility() {\n var isIncompatible = false;\n var incompatiblePacks = [];\n props.packIds.forEach(function (packId, index) {\n props.selectedPacks.forEach(function (selectedPack) {\n if (selectedPack.id === packId) {\n isIncompatible = true;\n incompatiblePacks.push(props.packNames.split(', ')[index]);\n }\n });\n });\n return {\n isIncompatible: isIncompatible,\n packs: incompatiblePacks.join(', ')\n };\n };\n\n var incompatibility = getIncompatibility();\n\n if (!incompatibility.isIncompatible) {\n return null;\n }\n\n var compatibleText = Dictionary.getValue('notCompatible', '(Incompatible with {0})');\n compatibleText = compatibleText.split('{0}').join(incompatibility.packs);\n\n return React.createElement(\n 'div',\n {\n className: 'c_text--red-2 c_dropdown__option__note'\n },\n compatibleText\n );\n};\n\n/**\r\n * @typedef CompatibilityWarningProps\r\n * @prop {string} packNames CSV string of names of incompatible packs.\r\n * @prop {number[]} packIds Array of IDs of incompatible packs.\r\n * @prop {JSON[]} selectedPacks Array of currently selected packs.\r\n * \r\n */\n\nmodule.exports = CompatibilityWarning;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Packs/components/PackItem/components/CompatibilityWarning/CompatibilityWarning.jsx\n// module id = 726\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Packs/components/PackItem/components/CompatibilityWarning/CompatibilityWarning.jsx?"); /***/ }), /* 727 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// Views\nvar GalleryItem = __webpack_require__(728);\n\n/**\r\n * @const Gallery - The grid of clickable items w/images for the pack & option \r\n * steps.\r\n * @param {JSON} props\r\n * @returns {JSX.Element}\r\n */\nvar Gallery = function Gallery(props) {\n var galleryIndex = 0;\n\n return React.createElement(\n 'div',\n { className: 'grid__row box--pack-gallery' },\n props.items.map(function (item, index) {\n var galleryItem = React.createElement(GalleryItem, {\n key: 'pack-' + props.index + '-feature-' + index,\n item: item,\n itemIndex: index,\n galleryIndex: galleryIndex,\n groupIndex: props.index,\n events: props.events\n });\n galleryIndex = galleryIndex + (item.images ? item.images.length : 0);\n if (item.subitems && item.subitems.length > 0) {\n item.subitems.forEach(function (subItem, subIndex) {\n galleryIndex = galleryIndex + subItem.images.length;\n });\n }\n return galleryItem;\n })\n );\n};\n\nmodule.exports = Gallery;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Packs/components/PackItem/components/Gallery/Gallery.jsx\n// module id = 727\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Packs/components/PackItem/components/Gallery/Gallery.jsx?"); /***/ }), /* 728 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\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 React = __webpack_require__(1);\n\n/**\r\n * @class GalleryItem\r\n */\n\nvar GalleryItem = function (_React$Component) {\n _inherits(GalleryItem, _React$Component);\n\n function GalleryItem(props) {\n _classCallCheck(this, GalleryItem);\n\n var _this = _possibleConstructorReturn(this, (GalleryItem.__proto__ || Object.getPrototypeOf(GalleryItem)).call(this, props));\n\n _this.checkImageExists = function (imageUrl) {}\n // var imageData = new Image();\n // imageData.addEventListener('error', this.onImageError);\n // imageData.src = imageUrl;\n // this.setState({imageData: imageData});\n\n\n // Event Handlers //////////////////////////////////////////////////////////\n\n ;\n\n _this.onClick = function (e) {\n if (_this.props.item.images && _this.props.item.images.length > 0 && _this.props.item.images[0].imageUrl !== '') {\n e.preventDefault();\n _this.props.events.selectPackPopupGallery(_this.props.groupIndex, _this.props.galleryIndex);\n }\n };\n\n _this.onImageError = function (e) {}\n // if (this.state._isMounted) {\n // this.setState({ imageDoesNotExist: true });\n // }\n\n\n // Render Assisting Methods ////////////////////////////////////////////////\n\n // Render //////////////////////////////////////////////////////////////////\n\n ;\n\n _this.state = {\n // imageDoesNotExist: false,\n // _isMounted: false,\n // imageData: false,\n };\n return _this;\n }\n\n // React Lifecycle Methods /////////////////////////////////////////////////\n\n _createClass(GalleryItem, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n // var image = typeof this.props.item == 'string' ? '' : this.props.item.image;\n // this.checkImageExists(image);\n // this.setState({ _isMounted: true });\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {}\n // if (this.state.imageData) {\n // this.state.imageData.removeEventListener('error', this.onImageError);\n // }\n // this.setState({ _isMounted: false });\n\n\n // Helper Functions ////////////////////////////////////////////////////////\n\n }, {\n key: 'render',\n value: function render() {\n var item = this.props.item;\n var numberOfImages = item.images ? item.images.length : 0;\n var name = typeof item == 'string' ? item : item.name;\n if (item.subitems && item.subitems.length > 0) {\n item.subitems.forEach(function (subItem, index) {\n numberOfImages += subItem.images.length;\n });\n }\n var hasImage = item.images ? item.images.length : false;\n var imageUrl = hasImage ? item.images[0].imageUrl : '/assets/configurator/shared/images/icon_anchor.png';\n //const overlayImage = hasImage ? '/assets/configurator/shared/images/icon_camera--white.svg' : '/assets/configurator/shared/images/icon_anchor.png';\n var boxClassName = 'c_dropdown__option__content__item';\n\n if (!hasImage) {\n boxClassName += ' c_dropdown__option__content__item--no-image';\n }\n return React.createElement(\n 'div',\n { className: 'col-lg-4 col-md-6 col-sm-6 col-xs-6 box--gallery-item' },\n React.createElement(\n 'div',\n { className: boxClassName, onClick: this.onClick },\n React.createElement(\n 'div',\n { className: 'c_dropdown__option__content__item__image__container', style: { backgroundImage: \"url('\" + imageUrl + \"')\" } },\n React.createElement('img', { src: '/assets/configurator/shared/images/transparent_3x2.png', className: 'c_dropdown__option__content__item__image' }),\n hasImage && React.createElement(\n 'div',\n { className: 'c_dropdown__option__content__item__image__overlay' },\n React.createElement('img', {\n className: 'c_dropdown__option__content__item__image__overlay__icon',\n src: '/assets/configurator/shared/images/icon_camera--white.svg'\n })\n ),\n hasImage && React.createElement(\n 'div',\n null,\n React.createElement('div', { className: 'counter-overlay' }),\n React.createElement(\n 'div',\n { className: 'image-count-container' },\n React.createElement('img', { className: 'image-count-camera', src: '/assets/configurator/shared/images/icon_camera--white.svg' }),\n React.createElement(\n 'div',\n { className: 'image-count lg' },\n numberOfImages\n )\n )\n )\n ),\n React.createElement(\n 'span',\n { className: 'c_dropdown__option__content__item__title' },\n name\n )\n )\n );\n }\n }]);\n\n return GalleryItem;\n}(React.Component);\n\n;\n\nmodule.exports = GalleryItem;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Packs/components/PackItem/components/Gallery/GalleryItem/GalleryItem.jsx\n// module id = 728\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Packs/components/PackItem/components/Gallery/GalleryItem/GalleryItem.jsx?"); /***/ }), /* 729 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\n\nvar IncompatibleOptions = function IncompatibleOptions(props) {\n if (!props.incompatibleOptions || props.incompatibleOptions.length == 0) {\n return null;\n }\n\n var text = Dictionary.getValue('packIncompatibleOptions', '(Incompatible options: {0})');\n text = text.split('{0}').join(props.incompatibleOptionsDescription);\n\n return React.createElement(\n 'div',\n { className: 'c_text--red-2 c_dropdown__option__note' },\n text\n );\n};\n\nmodule.exports = IncompatibleOptions;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Packs/components/PackItem/components/IncompatibleOptions/IncompatibleOptions.jsx\n// module id = 729\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Packs/components/PackItem/components/IncompatibleOptions/IncompatibleOptions.jsx?"); /***/ }), /* 730 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n/**\r\n * @function OptionInfoText\r\n * @param {JSON} props\r\n * @returns {JSX.Element}\r\n */\nvar OptionInfoText = function OptionInfoText(props) {\n\tvar dictionary = props.dictionary;\n\tvar format = props.format;\n\tvar pack = props.pack;\n\n\treturn format.showPrices && !pack.available && dictionary.notAvailablePack != '' && React.createElement(\n\t\t'div',\n\t\t{ className: 'c_text--gray c_dropdown__option__note' },\n\t\tdictionary.notAvailablePack\n\t);\n};\n\nmodule.exports = OptionInfoText;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Packs/components/PackItem/components/OptionInfoText/OptionInfoText.jsx\n// module id = 730\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Packs/components/PackItem/components/OptionInfoText/OptionInfoText.jsx?"); /***/ }), /* 731 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\n\nvar RequiredOptions = function RequiredOptions(props) {\n if (!props.requiredOptions || props.requiredOptions.length == 0) {\n return null;\n }\n\n var text = Dictionary.getValue('packRequiredOptions', '(Required options: {0})');\n text = text.split('{0}').join(props.requiredOptionsDescription);\n\n return React.createElement(\n 'div',\n { className: 'c_text--gray c_dropdown__option__note' },\n text\n );\n};\n\nmodule.exports = RequiredOptions;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Packs/components/PackItem/components/RequiredOptions/RequiredOptions.jsx\n// module id = 731\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Packs/components/PackItem/components/RequiredOptions/RequiredOptions.jsx?"); /***/ }), /* 732 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// views\nvar CarouselNavigation = __webpack_require__(733);\nvar CarouselTabs = __webpack_require__(734);\nvar EquipmentDropdown = __webpack_require__(737);\nvar PopupLink = __webpack_require__(370);\n\n/**\r\n * @function StandardEquipment - The main panel of the Standard Equipment step \r\n * for the configurator.\r\n * @param {JSON} props\r\n * @returns {JSX.Element}\r\n */\nvar StandardEquipment = function StandardEquipment(props) {\n\n var events = props.events;\n var groups = props.groups;\n\n return React.createElement(\n 'div',\n { className: 'wrapper--fixed-width' },\n React.createElement(\n 'div',\n { className: 'c_title-medium c_text--uppercase h--small-margin-bottom' },\n props.step.title\n ),\n React.createElement('div', { className: 'c_text--gray', dangerouslySetInnerHTML: { __html: props.step.text } }),\n React.createElement(\n 'div',\n { className: 'hidden-sm hidden-xs' },\n React.createElement(\n 'div',\n { className: 'grid__row' },\n React.createElement(\n 'div',\n { className: 'c_tabs-box box--carousel' },\n React.createElement(CarouselNavigation, {\n groups: groups,\n selectedTab: props.selectedTab,\n events: events\n }),\n React.createElement(CarouselTabs, {\n groups: groups,\n selectedTab: props.selectedTab,\n onClickItem: events.onClickStandardEquipmentItem\n })\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'hidden-lg hidden-md' },\n groups.map(function (group, index) {\n return React.createElement(EquipmentDropdown, {\n key: 'edd-' + index,\n events: events,\n group: group,\n index: index,\n isOpen: props.openDropdown == index\n });\n })\n )\n );\n};\n\nmodule.exports = StandardEquipment;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/StandardEquipment/StandardEquipment.jsx\n// module id = 732\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/StandardEquipment/StandardEquipment.jsx?"); /***/ }), /* 733 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\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 React = __webpack_require__(1);\nvar OwlCarousel = __webpack_require__(131);\n\n/**\r\n * @method CarouselNavigation\r\n * @param {JSON} props\r\n * @returns {JSX.Element}\r\n */\n\nvar CarouselNavigation = function (_React$Component) {\n _inherits(CarouselNavigation, _React$Component);\n\n function CarouselNavigation(props) {\n _classCallCheck(this, CarouselNavigation);\n\n var _this = _possibleConstructorReturn(this, (CarouselNavigation.__proto__ || Object.getPrototypeOf(CarouselNavigation)).call(this, props));\n\n _this.getPrevArrowUrl = function () {\n var url = '/assets/configurator/shared/images/icon_angle--left--gray.svg';\n if (_this.state.currentSlide === 1) {\n url = '/assets/configurator/shared/images/icon_angle--left--light-gray.svg';\n }\n return url;\n };\n\n _this.getNextArrowUrl = function () {\n var url = '/assets/configurator/shared/images/icon_angle--right--gray.svg';\n var slides = document.querySelectorAll('.box--carousel-nav .owl-item');\n var last = slides[slides.length - 1];\n if (last && last.className.indexOf('active') > -1) {\n url = '/assets/configurator/shared/images/icon_angle--right--light-gray.svg';\n }\n return url;\n };\n\n _this.onNextClick = function (e) {\n _this.carouselRef.next();\n _this.setState({ currentSlide: _this.carouselRef.currentPosition + 1 });\n };\n\n _this.onPrevClick = function (e) {\n _this.carouselRef.prev();\n _this.setState({ currentSlide: _this.carouselRef.currentPosition + 1 });\n };\n\n _this.options = {\n responsive: {\n 480: {\n items: 3,\n slideBy: 2\n },\n 1200: {\n items: 6,\n slideBy: 3\n }\n },\n loop: false,\n dots: false,\n nav: false\n };\n\n _this.state = {\n currentSlide: 1\n };\n\n return _this;\n }\n\n // React Lifecycle Methods /////////////////////////////////////////////////\n\n // Helper Functions ////////////////////////////////////////////////////////\n\n // Event Handlers //////////////////////////////////////////////////////////\n\n /**\r\n * @method onNextClick Slides the gallery to the next (on the right) slide in the \r\n * gallery.\r\n * @param {Event} e\r\n * @returns {false}\r\n */\n\n\n /**\r\n * @method onPrevClick Slides the gallery to the previous (on the left) slide in \r\n * the gallery.\r\n * @param {Event} e\r\n * @returns {false}\r\n */\n\n\n _createClass(CarouselNavigation, [{\n key: 'render',\n\n\n // Render //////////////////////////////////////////////////////////////////\n\n value: function render() {\n var _this2 = this;\n\n var groups = this.props.groups;\n var events = this.props.events;\n\n return React.createElement(\n 'div',\n { className: 'grid__row' },\n React.createElement(\n 'div',\n {\n className: 'grid--v-large__col--1 grid--v-medium__col--1 c_tabs-box__navigation-container c_tabs-box__navigation-container--left',\n onClick: this.onPrevClick\n },\n React.createElement(\n 'div',\n { className: 'owl-prev' },\n React.createElement('img', { className: 'c_tabs-box__navigation__arrow c_tabs-box__navigation__arrow--left', src: this.getPrevArrowUrl() })\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--10 grid--v-medium__col--10' },\n React.createElement(\n 'div',\n { className: 'owl-carousel c_tabs-box__tabs-container flex-owl-h box--carousel-nav' },\n React.createElement(\n OwlCarousel,\n {\n options: this.options,\n ref: function ref(elem) {\n return _this2.carouselRef = elem;\n }\n },\n groups.map(function (group, index) {\n var linkClass = index == _this2.props.selectedTab ? 'c_tabs-box__tab-item active' : 'c_tabs-box__tab-item';\n return React.createElement(\n 'div',\n { className: 'c_tabs-box__tab-item__container', key: 'tab-nav-' + index },\n React.createElement(\n 'a',\n {\n href: '#',\n className: linkClass,\n onClick: events.onSelectEquipmentTab,\n 'data-index': index\n },\n group.name\n )\n );\n })\n )\n )\n ),\n React.createElement(\n 'div',\n {\n className: 'grid--v-large__col--1 grid--v-medium__col--1 grid--v-large__col--omega grid--v-medium__col--omega c_tabs-box__navigation-container c_tabs-box__navigation-container--right',\n onClick: this.onNextClick\n },\n React.createElement(\n 'div',\n { className: 'owl-next' },\n React.createElement('img', { className: 'c_tabs-box__navigation__arrow c_tabs-box__navigation__arrow--right', src: this.getNextArrowUrl() })\n )\n )\n );\n }\n }]);\n\n return CarouselNavigation;\n}(React.Component);\n\n;\n\nmodule.exports = CarouselNavigation;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/StandardEquipment/components/CarouselNavigation/CarouselNavigation.jsx\n// module id = 733\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/StandardEquipment/components/CarouselNavigation/CarouselNavigation.jsx?"); /***/ }), /* 734 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// View\nvar Tab = __webpack_require__(735);\n\n/**\r\n * @method CarouselTabs\r\n * @param {JSON} props\r\n * @returns {JSX.Element}\r\n */\nvar CarouselTabs = function CarouselTabs(props) {\n return React.createElement(\n 'div',\n { className: 'grid__row box--carousel-tabs' },\n React.createElement(\n 'div',\n { className: 'c_tabs-box__tab__content__container' },\n React.createElement(\n 'div',\n { className: 'grid__row' },\n props.groups.map(function (group, index) {\n return React.createElement(Tab, {\n key: 'tab-group-' + index,\n group: group,\n index: index,\n isActive: index == props.selectedTab,\n onClickItem: props.onClickItem\n });\n })\n )\n )\n );\n};\n\nmodule.exports = CarouselTabs;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/StandardEquipment/components/CarouselTabs/CarouselTabs.jsx\n// module id = 734\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/StandardEquipment/components/CarouselTabs/CarouselTabs.jsx?"); /***/ }), /* 735 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\nvar GalleryItem = __webpack_require__(736);\n\n/**\r\n * @method Tab\r\n * @param {JSON} props\r\n * @returns {JSX.Element}\r\n */\nvar Tab = function Tab(props) {\n\n var tabClass = 'c_tabs-box__tab__content' + (props.isActive ? ' active' : '');\n var galleryIndex = 0;\n // const gallerySize = props.group.items.filter((item) => { \n // return item.images.length > 0;\n // }).length;\n\n return React.createElement(\n 'div',\n { id: 'content-tab-1-' + props.index, className: tabClass },\n props.group.items.map(function (item, index) {\n var galleryItem = React.createElement(GalleryItem, {\n key: 'group-' + props.index + '-item-' + index,\n item: item,\n index: index,\n groupIndex: props.index,\n galleryIndex: galleryIndex\n //gallerySize={gallerySize}\n , onClick: props.onClickItem\n });\n galleryIndex = galleryIndex + (item.images ? item.images.length : 0);\n if (item.subitems && item.subitems.length > 0) {\n item.subitems.forEach(function (subItem, subIndex) {\n galleryIndex = galleryIndex + subItem.images.length;\n });\n }\n return galleryItem;\n })\n );\n};\n\nmodule.exports = Tab;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/StandardEquipment/components/CarouselTabs/components/Tab/Tab.jsx\n// module id = 735\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/StandardEquipment/components/CarouselTabs/components/Tab/Tab.jsx?"); /***/ }), /* 736 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\nvar GalleryItem = React.createClass({\n displayName: 'GalleryItem',\n\n // React Lifecycle Methods /////////////////////////////////////////////////\n\n getInitialState: function getInitialState() {\n return {\n // imageDoesNotExist: false,\n // _isMounted: false,\n // imageData: false\n };\n },\n componentDidMount: function componentDidMount() {\n // this.checkImageExists(this.props.item.images);\n // this.setState({ _isMounted: true });\n },\n componentWillUnmount: function componentWillUnmount() {\n // if (this.state.imageData) {\n // this.state.imageData.removeEventListener('error', this.onImageError);\n // } \n // this.setState({ _isMounted: false });\n },\n\n\n // Helper Functions ////////////////////////////////////////////////////////\n\n checkImageExists: function checkImageExists(images) {\n // var imageData = new Image();\n // imageData.addEventListener('error', this.onImageError);\n // imageData.src = images[0].imageUrl;\n // this.setState({imageData: imageData});\n },\n\n\n // Event Handlers //////////////////////////////////////////////////////////\n\n onClick: function onClick(e) {\n if (this.props.item.images && this.props.item.images.length > 0 && this.props.item.images[0].imageUrl !== '') {\n this.props.onClick(this.props.groupIndex, this.props.galleryIndex);\n }\n },\n\n\n // onImageError(e) {\n // if (this.state._isMounted) {\n // this.setState({ imageDoesNotExist: true });\n // }\n // },\n\n // Render Assisting Methods ////////////////////////////////////////////////\n\n // Render //////////////////////////////////////////////////////////////////\n\n render: function render() {\n var props = this.props;\n var item = props.item;\n var numberOfImages = item.images ? item.images.length : 0;\n if (item.subitems && item.subitems.length > 0) {\n item.subitems.forEach(function (subItem, index) {\n numberOfImages += subItem.images.length;\n });\n }\n var noImage = item.images ? item.images.length == 0 : true; // this.state.imageDoesNotExist;\n\n return React.createElement(\n 'div',\n { className: 'grid--v-large__col--4 grid--v-medium__col--6' + (props.index > 0 && (props.index + 1) % 3 == 0 ? ' grid--v-large__col--omega' : '') },\n React.createElement(\n 'div',\n { className: 'box--gallery-item c_tabs-box__tab__content__item' + (noImage ? ' c_tabs-box__tab__content__item--no-image' : '') },\n React.createElement(\n 'div',\n {\n className: 'c_tabs-box__tab__content__item__image__container',\n style: noImage ? {} : { backgroundImage: \"url('\" + item.images[0].imageUrl + \"')\" },\n onClick: this.onClick\n },\n React.createElement('img', { src: '/assets/configurator/shared/images/transparent_3x2.png', className: 'c_tabs-box__tab__content__item__image' }),\n React.createElement(\n 'div',\n { className: 'c_tabs-box__tab__content__item__image__overlay' },\n noImage && React.createElement('img', {\n className: 'c_tabs-box__tab__content__item__image__overlay__icon',\n src: '/assets/configurator/shared/images/icon_anchor.png'\n })\n ),\n !noImage && React.createElement(\n 'div',\n null,\n React.createElement('div', { className: 'counter-overlay' }),\n React.createElement(\n 'div',\n { className: 'image-count-container' },\n React.createElement('img', { className: 'image-count-camera', src: '/assets/configurator/shared/images/icon_camera--white.svg' }),\n React.createElement(\n 'div',\n { className: 'image-count lg' },\n numberOfImages\n )\n )\n )\n ),\n React.createElement(\n 'span',\n { className: 'c_tabs-box__tab__content__item__title' },\n item.name\n )\n )\n );\n }\n});\n\nmodule.exports = GalleryItem;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/StandardEquipment/components/CarouselTabs/components/Tab/components/GalleryItem/GalleryItem.jsx\n// module id = 736\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/StandardEquipment/components/CarouselTabs/components/Tab/components/GalleryItem/GalleryItem.jsx?"); /***/ }), /* 737 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\nvar DropdownGalleryItem = __webpack_require__(738);\n\n/**\r\n * @method EquipmentDropdown\r\n * @param {JSON} props\r\n * @returns {JSX.Element}\r\n */\nvar EquipmentDropdown = function EquipmentDropdown(props) {\n var galleryIndex = -1;\n\n return React.createElement(\n 'div',\n { className: 'c_dropdown--alt c_dropdown--bs c_dropdown--option' + (props.isOpen ? ' c_dropdown--open' : '') },\n React.createElement(\n 'header',\n { className: 'c_dropdown__header--alt c_dropdown__header--divider h--flexbox' },\n React.createElement(\n 'div',\n { className: 'c_dropdown__title c_text--blue' },\n React.createElement(\n 'span',\n {\n 'data-index': props.index,\n onClick: props.events.onClickEquipmentDropdown,\n style: { cursor: 'pointer' }\n },\n props.group.name\n )\n ),\n React.createElement('a', {\n 'data-index': props.index,\n href: '#',\n className: 'c_dropdown__trigger c_dropdown__trigger--blue c_dropdown__trigger--vcenter top-center',\n onClick: props.events.onClickEquipmentDropdown\n })\n ),\n React.createElement(\n 'div',\n { className: 'c_dropdown__content--alt c_dropdown--option c_dropdown__content--padded' },\n React.createElement(\n 'div',\n { className: 'grid__row' },\n props.group.items.map(function (item, index) {\n if (item.images && item.images.length > 0) {\n galleryIndex = galleryIndex + item.images.length;\n if (item.subitems.length > 0) {\n item.subitems.forEach(function (subItem, index) {\n galleryIndex = galleryIndex + subItem.images.length;\n });\n }\n }\n return React.createElement(DropdownGalleryItem, {\n key: 'dgi-' + index,\n groupIndex: props.index,\n index: index,\n item: item,\n galleryIndex: galleryIndex,\n events: props.events\n });\n })\n )\n )\n );\n};\n\nmodule.exports = EquipmentDropdown;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/StandardEquipment/components/EquipmentDropdown/EquipmentDropdown.jsx\n// module id = 737\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/StandardEquipment/components/EquipmentDropdown/EquipmentDropdown.jsx?"); /***/ }), /* 738 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n/**\r\n * @function DropdownGalleryItem\r\n * @param {JSON} props\r\n * @returns {JSX.Element}\r\n */\nvar DropdownGalleryItem = React.createClass({\n displayName: 'DropdownGalleryItem',\n\n // React Lifecycle Methods /////////////////////////////////////////////////\n\n getInitialState: function getInitialState() {\n return {\n // imageDoesNotExist: false,\n // _isMounted: false,\n // imageData: false,\n };\n },\n componentDidMount: function componentDidMount() {\n // this.checkImageExists(this.props.item.image);\n // this.setState({ _isMounted: true });\n },\n componentWillUnmount: function componentWillUnmount() {\n // if (this.state.imageData) {\n // this.state.imageData.removeEventListener('error', this.onImageError);\n // } \n // this.setState({ _isMounted: false });\n },\n\n\n // Helper Functions ////////////////////////////////////////////////////////\n\n /**\r\n * @method checkImageExists\r\n * @param {string} imageUrl\r\n * @returns {void} \r\n */\n checkImageExists: function checkImageExists(imageUrl) {\n // var imageData = new Image();\n // imageData.addEventListener('error', this.onImageError);\n // imageData.src = imageUrl;\n // this.setState({imageData: imageData});\n },\n\n\n // Event Handlers //////////////////////////////////////////////////////////\n\n /**\r\n * Triggered when the user clicks on the gallery item, and opens the \r\n * associated popup gallery.\r\n * @param {Event} e \r\n * @returns {void}\r\n */\n onClick: function onClick(e) {\n if (this.props.item.images && this.props.item.images.length > 0 && this.props.item.images[0].imageUrl !== '') {\n this.props.events.onClickStandardEquipmentItem(this.props.groupIndex, this.props.galleryIndex);\n }\n },\n\n\n // onImageError(e) {\n // if (this.state._isMounted) {\n // this.setState({ imageDoesNotExist: true });\n // }\n // },\n\n // Render //////////////////////////////////////////////////////////////////\n\n render: function render() {\n // const imageUrl = this.state.imageDoesNotExist ? '/assets/configurator/shared/images/transparent_3x2.png' : this.props.item.image;\n // const overlayImage = this.state.imageDoesNotExist ? '/assets/configurator/shared/images/icon_anchor.png' : '/assets/configurator/shared/images/icon_camera--white.svg'; \n var props = this.props;\n var item = props.item;\n var noImage = item.images ? item.images.length == 0 : true; // this.state.imageDoesNotExist;\n\n return React.createElement(\n 'div',\n { className: 'col-lg-4 col-md-6 col-sm-6 col-xs-6' },\n noImage ? React.createElement(\n 'div',\n { className: 'c_dropdown__option__content__item toggle-inactive' },\n React.createElement(\n 'div',\n { className: 'c_dropdown__option__content__item c_dropdown__option__content__item--no-image' },\n React.createElement(\n 'div',\n { className: 'c_dropdown__option__content__item__image__container', style: { backgroundImage: \"url('/assets/configurator/shared/images/icon_anchor.png')\" } },\n React.createElement('img', { src: '/assets/configurator/shared/images/transparent_3x2.png', className: 'c_dropdown__option__content__item__image' })\n ),\n React.createElement(\n 'span',\n { className: 'c_dropdown__option__content__item__title' },\n this.props.item.name\n )\n )\n ) : React.createElement(\n 'div',\n { className: 'c_dropdown__option__content__item toggle-inactive', onClick: this.onClick },\n React.createElement(\n 'div',\n { className: 'c_dropdown__option__content__item__image__container', style: { background: \"url('\" + item.images[0].imageUrl + \"')\" } },\n React.createElement('img', { src: '/assets/configurator/shared/images/transparent_3x2.png', className: 'c_tabs-box__tab__content__item__image' }),\n React.createElement(\n 'div',\n { className: 'c_dropdown__option__content__item__image__overlay' },\n React.createElement('img', { className: 'c_dropdown__option__content__item__image__overlay__icon', src: '/assets/configurator/shared/images/icon_camera--white.svg' })\n )\n ),\n React.createElement(\n 'span',\n { className: 'c_dropdown__option__content__item__title' },\n this.props.item.name\n )\n )\n );\n }\n});\n\nmodule.exports = DropdownGalleryItem;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/StandardEquipment/components/EquipmentDropdown/components/DropdownGalleryItem/DropdownGalleryItem.jsx\n// module id = 738\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/StandardEquipment/components/EquipmentDropdown/components/DropdownGalleryItem/DropdownGalleryItem.jsx?"); /***/ }), /* 739 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// views\nvar Configuration = __webpack_require__(740);\n\n/**\r\n * @method Start\r\n * @param {JSON} props\r\n * @returns {JSX.Element}\r\n */\nvar Start = function Start(props) {\n\tvar getTerm = function getTerm(key) {\n\t\tif (props.dictionary[key]) {\n\t\t\treturn props.dictionary[key];\n\t\t}\n\t\treturn key;\n\t};\n\n\tvar renderOptions = function renderOptions() {\n\t\tif (props.options && props.options.length > 0) {\n\t\t\tvar configs = [];\n\t\t\tprops.options.forEach(function (option, index) {\n\t\t\t\tconfigs.push(React.createElement(Configuration, {\n\t\t\t\t\tkey: 'option-' + index,\n\t\t\t\t\tdictionary: props.dictionary,\n\t\t\t\t\tisChecked: props.selectedConfig == option.id,\n\t\t\t\t\tonSelect: props.onConfigurationSelect,\n\t\t\t\t\toption: option\n\t\t\t\t}));\n\t\t\t});\n\t\t\treturn configs;\n\t\t}\n\t\treturn null;\n\t};\n\n\treturn React.createElement(\n\t\t'div',\n\t\tnull,\n\t\tReact.createElement(\n\t\t\t'div',\n\t\t\t{ className: 'c_title-medium c_text--uppercase h--small-margin-bottom' },\n\t\t\tgetTerm('setCourseWith'),\n\t\t\t' ',\n\t\t\t' ',\n\t\t\t' ',\n\t\t\tprops.brand,\n\t\t\t' ',\n\t\t\t' ',\n\t\t\tReact.createElement(\n\t\t\t\t'span',\n\t\t\t\t{ className: \"c_text--\" + props.color },\n\t\t\t\tprops.boat.name\n\t\t\t)\n\t\t),\n\t\tReact.createElement('div', { className: 'c_text--gray h--no-margin', dangerouslySetInnerHTML: { __html: props.step.text } }),\n\t\tprops.options && props.options.length > 0 && React.createElement(\n\t\t\t'div',\n\t\t\t{ className: 'grid__row' },\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'row' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'col-lg-10 col-md-12' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'row c_card__row mb-85' },\n\t\t\t\t\t\trenderOptions()\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t)\n\t);\n};\n\nmodule.exports = Start;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Start/Start.jsx\n// module id = 739\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Start/Start.jsx?"); /***/ }), /* 740 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n/**\r\n * @method Configuration\r\n * @param {JSON} props\r\n * @returns {JSX.Element}\r\n */\nvar Configuration = function Configuration(props) {\n\tvar option = props.option;\n\n\tvar getTerm = function getTerm(key) {\n\t\tif (props.dictionary[key]) {\n\t\t\treturn props.dictionary[key];\n\t\t}\n\t\treturn key;\n\t};\n\n\tvar onClick = function onClick(e) {\n\t\tif (props.onSelect && typeof props.onSelect !== 'undefined') {\n\t\t\tprops.onSelect(e.target.value);\n\t\t}\n\t};\n\n\treturn React.createElement(\n\t\t'label',\n\t\t{\n\t\t\tclassName: 'col-lg-4 col-md-4 col-sm-12 col-xs-12 c_card',\n\t\t\thtmlFor: 'option-' + option.id\n\t\t},\n\t\tReact.createElement('input', {\n\t\t\ttype: 'radio',\n\t\t\tname: 'setting',\n\t\t\tid: 'option-' + option.id,\n\t\t\tclassName: 'c_form__field--radio',\n\t\t\tvalue: option.id,\n\t\t\tonClick: onClick,\n\t\t\tchecked: props.isChecked\n\t\t}),\n\t\tReact.createElement(\n\t\t\t'div',\n\t\t\t{ className: 'c_card__container color--white' },\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'c_card__diamond' },\n\t\t\t\tReact.createElement('div', { className: 'c_card__diamond__background c_card__diamond__background--qs' }),\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'c_card__diamond__content' },\n\t\t\t\t\tReact.createElement('img', {\n\t\t\t\t\t\tsrc: option.badgeImageUrl\n\t\t\t\t\t})\n\t\t\t\t)\n\t\t\t),\n\t\t\tReact.createElement(\n\t\t\t\t'strong',\n\t\t\t\t{ className: 'c_title-4 c_card__title' },\n\t\t\t\toption.name\n\t\t\t),\n\t\t\tReact.createElement(\n\t\t\t\t'p',\n\t\t\t\t{ className: 'c_text--gray c_card__text' },\n\t\t\t\toption.description\n\t\t\t),\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'c_card__radio-option__container' },\n\t\t\t\tReact.createElement('hr', null),\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'c_card__radio-option' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'c_form__entry c_form__entry--inline' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'label',\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tclassName: 'c_form__label--radio hidden-xs hidden-sm',\n\t\t\t\t\t\t\t\thtmlFor: 'option-' + option.id\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tgetTerm('chooseThisSetting')\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'label',\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tclassName: 'c_form__label--radio visible-xs visible-sm',\n\t\t\t\t\t\t\t\thtmlFor: 'option-' + option.id\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\toption.name\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t)\n\t);\n};\n\nmodule.exports = Configuration;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Main/components/Start/components/Configuration/Configuration.jsx\n// module id = 740\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Main/components/Start/components/Configuration/Configuration.jsx?"); /***/ }), /* 741 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// Store\nvar ViewActions = __webpack_require__(82);\n\n// utils\nvar Helpers = __webpack_require__(21);\n\n// Views\nvar ClientForm = __webpack_require__(742);\n//const FormErrorPopup = require('../FormErrorPopup/FormErrorPopup.jsx');\nvar Summary = __webpack_require__(764);\n\n/**\r\n * @class Overview\r\n */\nvar Overview = function Overview(props) {\n\n return React.createElement(\n 'div',\n { className: 'step-wrapper--overview' },\n React.createElement(Summary, {\n step: props.step,\n boat: props.boat,\n events: props.events,\n format: props.format,\n submission: props.submission,\n ui: props.ui\n }),\n React.createElement(ClientForm, {\n isSubmitting: props.isSubmitting,\n step: props.step,\n brand: props.brand,\n boat: props.boat,\n country: props.country,\n events: props.events,\n format: props.format,\n submission: props.submission,\n ui: props.ui,\n preselectedDealer: props.preselectedDealer\n })\n );\n};\n\nmodule.exports = Overview;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/Overview.jsx\n// module id = 741\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/Overview.jsx?"); /***/ }), /* 742 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// store and actions\nvar Store = __webpack_require__(73);\n\n// utils\nvar Dictionary = __webpack_require__(12);\n\n// views\nvar ClientFormTextBox = __webpack_require__(688);\nvar CountryDropdown = __webpack_require__(743);\nvar DealerDropdown = __webpack_require__(744);\nvar OverviewDetails = __webpack_require__(745);\nvar QuoteDetails = __webpack_require__(687);\n\n/**\r\n * @const ClientForm - The form section of the Overview step.\r\n * @param {JSON} props\r\n * @returns {JSX.Element} \r\n */\nvar ClientForm = function ClientForm(props) {\n\n var step = props.step;\n var validity = Store.getValidation();\n var haveAttemptedSubmission = props.ui.overview.haveAttemptedSubmission;\n var clientDetailsDropdownClass = 'c_dropdown--alt c_dropdown--overview c_dropdown--bs c_overview__client-details__container c_dropdown--open';\n //(props.ui.overview.viewClientDetails ? ' c_dropdown--open' : '');\n var isCalculator = typeof props.isCalculator !== 'undefined' ? props.isCalculator : false;\n\n /**\r\n * @method onPersonalInfoChange - Gets the value of the element that \r\n * triggered the event and passes it up to the Configurator logic container.\r\n * @param {string} parameter \r\n * @param {Event} e \r\n */\n var onPersonalInfoChange = function onPersonalInfoChange(parameter, e) {\n var value = e.target.value;\n if (value === 'true') {\n value = true;\n }\n if (value === 'false') {\n value = false;\n }\n props.events.onPersonalInfoChange(parameter, value);\n };\n\n return React.createElement(\n 'form',\n {\n className: 'h--extra-large-margin-bottom box--client-form',\n onSubmit: function onSubmit(e) {\n e.preventDefault();\n props.events.onSubmit(props.submission);\n }\n },\n React.createElement(OverviewDetails, {\n boat: props.boat,\n dealerItemToEditIndex: typeof props.dealerItemToEditIndex !== 'undefined' ? props.dealerItemToEditIndex : -1,\n dealerItems: typeof props.dealerItems !== 'undefined' ? props.dealerItems : [],\n tradeInToEditIndex: typeof props.tradeInToEditIndex !== 'undefined' ? props.tradeInToEditIndex : -1,\n events: props.events,\n format: props.format,\n isCalculator: isCalculator,\n submission: props.submission,\n ui: props.ui\n }),\n React.createElement(\n 'div',\n { className: 'grid__container hidden-md hidden-lg' },\n React.createElement(\n 'div',\n { className: 'h--flexbox' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega h--large-padding-top' },\n React.createElement(\n 'div',\n { className: 'c_title-medium c_text--uppercase h--medium-margin-bottom' },\n Dictionary.getValue('overviewTitle', 'Overview')\n ),\n React.createElement('div', { dangerouslySetInnerHTML: { __html: step.text } })\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid__container h--large-margin-top h--extra-large-margin-bottom' },\n isCalculator && React.createElement(\n 'div',\n { className: 'h--flexbox' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(QuoteDetails, {\n events: props.events,\n submission: props.submission,\n ui: props.ui,\n validity: validity\n })\n )\n ),\n React.createElement(\n 'div',\n { className: 'h--flexbox' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'div',\n { className: clientDetailsDropdownClass },\n React.createElement(\n 'header',\n { className: 'c_dropdown__header--alt c_dropdown__header--divider h--flexbox' },\n React.createElement(\n 'span',\n { className: 'c_dropdown__title c_text--blue' },\n Dictionary.getValue('clientDetails', 'Client details')\n )\n ),\n React.createElement(\n 'div',\n { className: 'c_dropdown__content c_dropdown__content--alt c_dropdown__content--padded' },\n React.createElement(\n 'div',\n { className: 'grid__row' },\n React.createElement(\n 'div',\n { className: 'grid__row' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12' },\n React.createElement(\n 'div',\n { className: \"grid__row h--medium-margin-bottom h--flexbox h--large-margin-bottom\" + (haveAttemptedSubmission && !props.submission.personalInfo.title ? ' input-validation-error' : '') },\n React.createElement(\n 'div',\n { className: 'h--medium-margin-right' },\n React.createElement('input', {\n name: 'input-radiogroup',\n id: 'input-radiogroup-1',\n className: 'c_form__field--radio',\n type: 'radio',\n checked: props.submission.personalInfo.title === Dictionary.getValue('titleMr', 'Mr.'),\n onChange: function onChange(e) {\n props.events.onPersonalInfoChange('title', props.submission.personalInfo.title !== e.target.value ? e.target.value : false);\n },\n value: Dictionary.getValue('titleMr', 'Mr.')\n }),\n React.createElement(\n 'label',\n { htmlFor: 'input-radiogroup-1', className: 'c_form__label c_form__label--radio c_text--gray' },\n Dictionary.getValue('titleMr', 'Mr.')\n )\n ),\n React.createElement(\n 'div',\n null,\n React.createElement('input', {\n name: 'input-radiogroup',\n id: 'input-radiogroup-2',\n className: 'c_form__field--radio',\n type: 'radio',\n checked: props.submission.personalInfo.title === Dictionary.getValue('titleMrs', 'Mrs.'),\n onChange: function onChange(e) {\n props.events.onPersonalInfoChange('title', props.submission.personalInfo.title !== e.target.value ? e.target.value : false);\n },\n value: Dictionary.getValue('titleMrs', 'Mrs.')\n }),\n React.createElement(\n 'label',\n { htmlFor: 'input-radiogroup-2', className: 'c_form__label c_form__label--radio c_text--gray' },\n Dictionary.getValue('titleMrs', 'Mrs.')\n )\n )\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid__row' },\n React.createElement(ClientFormTextBox, {\n fieldName: 'firstname',\n isRequired: true,\n label: Dictionary.getValue('firstName', 'First name'),\n onChange: onPersonalInfoChange.bind(undefined, 'firstName'),\n value: props.submission.personalInfo.firstName,\n isValid: !haveAttemptedSubmission || validity.firstName,\n wrapperClass: 'grid--v-large__col--6 grid--v-medium__col--6 h--medium-margin-bottom'\n }),\n React.createElement(ClientFormTextBox, {\n fieldName: 'lastname',\n isRequired: true,\n label: Dictionary.getValue('lastName', 'Last name'),\n onChange: onPersonalInfoChange.bind(undefined, 'lastName'),\n value: props.submission.personalInfo.lastName,\n isValid: !haveAttemptedSubmission || validity.lastName,\n wrapperClass: 'grid--v-large__col--6 grid--v-medium__col--6 h--medium-margin-bottom grid--v-large__col--omega grid--v-medium__col--omega'\n })\n ),\n React.createElement(\n 'div',\n { className: 'grid__row' },\n React.createElement(ClientFormTextBox, {\n fieldName: 'email',\n isRequired: true,\n label: Dictionary.getValue('email', 'E-mail address'),\n onChange: onPersonalInfoChange.bind(undefined, 'email'),\n value: props.submission.personalInfo.email,\n isValid: !haveAttemptedSubmission || validity.email,\n wrapperClass: 'grid--v-large__col--6 grid--v-medium__col--6 h--medium-margin-bottom'\n }),\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--3 grid--v-medium__col--6 h--medium-margin-bottom' },\n React.createElement(\n 'fieldset',\n { className: 'c_form__fieldset c_form__entry' },\n React.createElement(\n 'label',\n { htmlFor: 'frm_prefix', className: 'c_form__label' },\n Dictionary.getValue('phonePrefix', 'Prefix')\n ),\n React.createElement(\n 'div',\n { className: 'c_form__select--alt__container' },\n React.createElement(\n 'select',\n {\n type: 'text',\n id: 'frm_prefix',\n name: 'prefix',\n className: \"c_form__field c_form__field--text c_form__field--alt\" + (!haveAttemptedSubmission || !isCalculator || validity.phoneCountry ? \"\" : \" input-validation-error\"),\n onChange: onPersonalInfoChange.bind(undefined, 'telephoneCountry'),\n value: props.submission.personalInfo.telephoneCountry\n },\n React.createElement(\n 'option',\n { value: '', disabled: true },\n Dictionary.getValue('phonePrefixPlaceholder', '+xx')\n ),\n props.ui.phonePrefixes.map(function (prefix, index) {\n return React.createElement(\n 'option',\n {\n key: 'phone-prefix-' + index,\n value: prefix.value },\n prefix.text\n );\n }),\n ';'\n ),\n React.createElement('span', { className: 'c_form__select--arrow-down icon icon--arrow-down' })\n )\n )\n ),\n React.createElement(ClientFormTextBox, {\n fieldName: 'phone',\n isRequired: isCalculator,\n label: Dictionary.getValue('phone', 'Phone'),\n onChange: onPersonalInfoChange.bind(undefined, 'telephone'),\n value: props.submission.personalInfo.telephone,\n isValid: !haveAttemptedSubmission || !isCalculator || validity.phone,\n wrapperClass: 'grid--v-large__col--3 grid--v-medium__col--6 h--medium-margin-bottom grid--v-large__col--omega grid--v-medium__col--omega'\n })\n ),\n React.createElement(\n 'div',\n { className: 'grid__row' },\n React.createElement(ClientFormTextBox, {\n fieldName: 'street',\n isRequired: isCalculator,\n label: Dictionary.getValue('streetAddress', 'Street'),\n onChange: onPersonalInfoChange.bind(undefined, 'street'),\n value: props.submission.personalInfo.street,\n isValid: !haveAttemptedSubmission || !isCalculator || validity.street,\n wrapperClass: 'grid--v-large__col--3 grid--v-medium__col--6 h--medium-margin-bottom'\n }),\n React.createElement(ClientFormTextBox, {\n fieldName: 'number',\n isRequired: isCalculator,\n label: Dictionary.getValue('streetAddressNr', 'Number'),\n onChange: onPersonalInfoChange.bind(undefined, 'streetNumber'),\n value: props.submission.personalInfo.streetNumber,\n isValid: !haveAttemptedSubmission || !isCalculator || validity.streetNumber,\n wrapperClass: 'grid--v-large__col--3 grid--v-medium__col--6 h--medium-margin-bottom'\n }),\n React.createElement(ClientFormTextBox, {\n fieldName: 'zipcode',\n isRequired: isCalculator,\n label: Dictionary.getValue('postalCode', 'Zip'),\n onChange: onPersonalInfoChange.bind(undefined, 'zipCode'),\n value: props.submission.personalInfo.zipCode,\n isValid: !haveAttemptedSubmission || !isCalculator || validity.zipCode,\n wrapperClass: 'grid--v-large__col--3 grid--v-medium__col--6 h--medium-margin-bottom'\n }),\n React.createElement(ClientFormTextBox, {\n fieldName: 'city',\n isRequired: isCalculator,\n label: Dictionary.getValue('city', 'City'),\n onChange: onPersonalInfoChange.bind(undefined, 'city'),\n value: props.submission.personalInfo.city,\n isValid: !haveAttemptedSubmission || !isCalculator || validity.city,\n wrapperClass: 'grid--v-large__col--3 grid--v-medium__col--6 h--medium-margin-bottom grid--v-large__col--omega grid--v-medium__col--omega'\n })\n ),\n React.createElement(\n 'div',\n { className: 'grid__row' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--6 grid--v-medium__col--12 grid--v-medium__col--omega h--medium-margin-bottom' },\n React.createElement(CountryDropdown, {\n countries: props.ui.customerCountries,\n events: props.events,\n submission: props.submission,\n isValid: !haveAttemptedSubmission || !isCalculator || validity.country\n })\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid__row' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-medium__col--12 h--medium-margin-top' },\n React.createElement(\n 'fieldset',\n { className: 'c_form__fieldset c_form__entry c_dropdown--overview__checkboxes__container' },\n !isCalculator && React.createElement(\n 'div',\n { className: 'h--medium-margin-bottom' },\n React.createElement('input', {\n name: 'input-checkbox-send-friend',\n id: 'input-checkboxgroup-1',\n className: 'c_form__field--checkbox',\n type: 'checkbox',\n onChange: onPersonalInfoChange.bind(undefined, 'sendToFriend'),\n checked: props.submission.personalInfo.sendToFriend,\n value: !props.submission.personalInfo.sendToFriend\n }),\n React.createElement(\n 'label',\n { htmlFor: 'input-checkboxgroup-1', className: 'c_form__label c_form__label--checkbox c_text--gray' },\n React.createElement(\n 'span',\n null,\n React.createElement(\n 'strong',\n null,\n Dictionary.getValue('send2Friend', 'Send this configuration to a friend')\n ),\n React.createElement('span', null)\n )\n )\n ),\n !isCalculator && React.createElement(\n 'div',\n {\n className: \"grid__row h--small-margin-bottom c_dropdown--overview__checkbox__option h--large-margin-bottom \" + (props.submission.personalInfo.sendToFriend ? 'toggle-active' : 'toggle-inactive'),\n id: 'sendToFriend'\n },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'label',\n { htmlFor: 'frm_email_friend', className: 'c_text__weight--normal c_form__label agree--send-to-friend' },\n Dictionary.getValue('send2FriendEmailPlaceholder', \"Friend's e-mail address\")\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--5 grid--v-medium__col--7 grid--v-large__col--omega' },\n React.createElement('input', {\n id: 'frm_email_friend',\n name: 'email_friend'\n // required={props.submission.personalInfo.sendToFriend} \n , className: \"c_form__field c_form__field--text c_form__field--alt\" + (!haveAttemptedSubmission || validity.friendEmail ? \"\" : \" input-validation-error\"),\n type: 'text',\n onChange: onPersonalInfoChange.bind(undefined, 'friendEmailAddress'),\n value: props.submission.personalInfo.friendEmailAddress\n })\n )\n ),\n !isCalculator && React.createElement(\n 'div',\n { className: 'h--medium-margin-bottom' },\n React.createElement('input', {\n name: 'input-checkbox-request-quote',\n id: 'input-checkboxgroup-2',\n className: 'c_form__field--checkbox',\n type: 'checkbox',\n onChange: onPersonalInfoChange.bind(undefined, 'requestQuote'),\n checked: props.submission.personalInfo.requestQuote,\n value: !props.submission.personalInfo.requestQuote\n }),\n React.createElement(\n 'label',\n { htmlFor: 'input-checkboxgroup-2', className: 'c_form__label c_form__label--checkbox c_text--gray agree--request-for-quote' },\n React.createElement(\n 'span',\n null,\n React.createElement(\n 'strong',\n null,\n Dictionary.getValue('request4Quote', 'Request a quote for this configuration & select a dealer')\n )\n )\n )\n ),\n !isCalculator && React.createElement(\n 'div',\n {\n className: \"grid__row h--small-margin-bottom c_dropdown--overview__checkbox__option \" + (props.submission.personalInfo.requestQuote ? 'toggle-active' : 'toggle-inactive'),\n id: 'requestDealerQuote'\n },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'label',\n { htmlFor: 'frm_dealer', className: 'c_text__weight--normal c_form__label' },\n Dictionary.getValue('chooseDealer', 'Choose dealer')\n )\n ),\n props.country === '' && React.createElement(\n 'div',\n { className: 'grid--v-large__col--6 grid--v-medium__col--12 grid--v-medium__col--omega h--medium-margin-bottom' },\n React.createElement(CountryDropdown, {\n countries: props.ui.countries,\n events: props.events,\n submission: props.submission,\n isValid: props.submission.personalInfo.requestQuote && props.submission.personalInfo.dealerCountry !== '0' || !haveAttemptedSubmission,\n parameter: 'dealerCountry',\n shouldHideTitle: true\n })\n ),\n props.ui.dealers.length > 0 && React.createElement(DealerDropdown, {\n brand: props.brand,\n dealers: props.ui.dealers,\n events: props.events,\n submission: props.submission,\n ui: props.ui,\n preselectedDealer: props.preselectedDealer\n })\n ),\n React.createElement(\n 'div',\n null,\n React.createElement('input', {\n name: 'input-checkbox-news',\n id: 'input-checkboxgroup-3',\n className: 'c_form__field--checkbox',\n type: 'checkbox',\n onChange: onPersonalInfoChange.bind(undefined, 'optIn'),\n checked: props.submission.personalInfo.optIn,\n value: !props.submission.personalInfo.optIn\n }),\n React.createElement(\n 'label',\n { htmlFor: 'input-checkboxgroup-3', className: \"c_form__label c_form__label--checkbox c_text--gray\" + (!haveAttemptedSubmission || props.submission.personalInfo.optIn ? \"\" : \" input-validation-error\") },\n React.createElement('span', {\n dangerouslySetInnerHTML: { __html: Dictionary.getValue('optin', 'I would like to receive Quicksilver news and promotional information') } })\n )\n ),\n !isCalculator && React.createElement(\n 'div',\n null,\n React.createElement('input', {\n name: 'input-checkbox-toc',\n id: 'input-checkboxgroup-4',\n className: 'c_form__field--checkbox',\n type: 'checkbox',\n onChange: onPersonalInfoChange.bind(undefined, 'toc'),\n checked: props.submission.personalInfo.toc,\n value: !props.submission.personalInfo.toc\n }),\n React.createElement(\n 'label',\n { htmlFor: 'input-checkboxgroup-4', className: \"c_form__label c_form__label--checkbox c_text--gray\" + (!haveAttemptedSubmission || props.submission.personalInfo.toc ? \"\" : \" input-validation-error\") },\n React.createElement('span', {\n dangerouslySetInnerHTML: { __html: Dictionary.getValue('toc', 'I agree to the <a href=\"#\">{TERMS}</a> and <a href=\"#\">{POLICY}</a>') } })\n )\n )\n )\n )\n )\n )\n )\n )\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid__row' },\n React.createElement(\n 'div',\n { className: 'c_steps__footer' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega c_steps__footer__submit--container' },\n React.createElement(\n 'button',\n {\n type: 'submit',\n className: \"c_button c_button--green\" + (props.isSubmitting ? \" c_button--loading \" : \" \") + \"c_steps__footer__submit\",\n disabled: props.isSubmitting ? \"disabled\" : \"\"\n },\n Dictionary.getValue('saveQuote', 'Receive configuration')\n )\n )\n )\n )\n );\n};\n\nmodule.exports = ClientForm;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/ClientForm/ClientForm.jsx\n// module id = 742\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/ClientForm/ClientForm.jsx?"); /***/ }), /* 743 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\n\nvar CountryDropdown = function CountryDropdown(props) {\n\n var parameter = props.parameter ? props.parameter : 'country';\n\n var onChange = function onChange(e) {\n props.events.onPersonalInfoChange(parameter, e.target.value);\n };\n\n var renderCountryOptions = function renderCountryOptions() {\n var options = props.countries.map(function (country, index) {\n return React.createElement(\n 'option',\n { key: 'country-option-' + index, value: country.code },\n country.name\n );\n });\n options.unshift(React.createElement(\n 'option',\n { key: 'country-option-000', value: '', disabled: true },\n Dictionary.getValue('chooseACountry', 'Choose country')\n ));\n return options;\n };\n\n return React.createElement(\n 'fieldset',\n { className: 'c_form__fieldset c_form__entry' },\n !props.shouldHideTitle && React.createElement(\n 'label',\n { htmlFor: 'frm_country', className: 'c_form__label' },\n Dictionary.getValue('country', 'Country')\n ),\n React.createElement(\n 'div',\n { className: 'c_form__select--alt__container' },\n React.createElement(\n 'select',\n {\n type: 'text',\n id: 'frm_country',\n name: 'country',\n className: \"c_form__field c_form__field--text c_form__field--alt\" + (props.isValid ? \"\" : \" input-validation-error\"),\n onChange: onChange,\n value: props.submission.personalInfo[props.parameter ? props.parameter : 'country']\n },\n renderCountryOptions()\n ),\n React.createElement('span', { className: 'c_form__select--arrow-down icon icon--arrow-down' })\n )\n );\n};\n\nmodule.exports = CountryDropdown;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/ClientForm/components/CountryDropdown/CountryDropdown.jsx\n// module id = 743\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/ClientForm/components/CountryDropdown/CountryDropdown.jsx?"); /***/ }), /* 744 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\n\n/**\r\n * @const DealerDropdown\r\n * @param {JSON} props \r\n * @returns {JSX.Element}\r\n */\nvar DealerDropdown = function DealerDropdown(props) {\n\n var haveAttemptedSubmission = props.ui.overview.haveAttemptedSubmission;\n var dealerOptions = props.preselectedDealer !== '0' ? props.dealers.filter(function (dealer) {\n return dealer.customerNumber == props.preselectedDealer;\n }).map(function (dealer, index) {\n return React.createElement(\n 'option',\n { key: 'dealer-option-' + index, value: dealer.customerNumber },\n dealer.dropdownName\n );\n }) : props.dealers.map(function (dealer, index) {\n return React.createElement(\n 'option',\n { key: 'dealer-option-' + index, value: dealer.customerNumber },\n dealer.dropdownName\n );\n });\n var mapSelection = props.preselectedDealer == '0' && dealerOptions.length > 1;\n\n var onChange = function onChange(e) {\n props.events.onPersonalInfoChange('dealer', e.target.value);\n };\n\n var value = props.preselectedDealer !== '0' ? props.preselectedDealer : props.submission.personalInfo.dealer;\n\n var dealerSelectionInvalid = haveAttemptedSubmission && props.submission.personalInfo.requestQuote && props.submission.personalInfo.dealer == '0';\n\n var renderDealerOptions = function renderDealerOptions(options) {\n options.unshift(React.createElement(\n 'option',\n { key: 'dealer-option-000', value: '0', disabled: true },\n Dictionary.getValue('selectDealer', 'Select dealer')\n ));\n\n return options;\n };\n\n return React.createElement(\n 'div',\n { className: 'grid--v-large__col--6 grid--v-medium__col--12 grid--v-medium__col--omega h--medium-margin-bottom' },\n React.createElement(\n 'div',\n { className: 'c_form__select--alt__container' },\n React.createElement(\n 'select',\n {\n type: 'text',\n id: 'frm_country',\n name: 'country',\n className: \"c_form__field c_form__field--text c_form__field--alt\" + (dealerSelectionInvalid ? ' input-validation-error' : ''),\n onChange: onChange\n // required={props.submission.personalInfo.requestQuote}\n , value: value\n },\n renderDealerOptions(dealerOptions)\n ),\n React.createElement(\n 'style',\n null,\n '\\n .c_dropdown--overview__checkboxes__container span.js-workaround--arrow-down-size-override {\\n font-size: 11px !important;\\n }\\n '\n ),\n React.createElement('span', { className: 'c_form__select--arrow-down icon icon--arrow-down js-workaround--arrow-down-size-override' })\n ),\n mapSelection && React.createElement(\n 'a',\n {\n href: '#',\n className: 'c_button c_button--blue h--small-margin-top c_button--img-icon--left hidden-xs hidden-sm',\n onClick: function onClick(e) {\n props.events.toggleDealerMap(e);\n }\n },\n React.createElement('img', {\n src: \"/assets/configurator/\" + props.brand + \"/default/images/icon_map-o--white.svg\" }),\n Dictionary.getValue('findDealerOnMap', 'Find dealer on map')\n )\n );\n};\n\nmodule.exports = DealerDropdown;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/ClientForm/components/DealerDropdown/DealerDropdown.jsx\n// module id = 744\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/ClientForm/components/DealerDropdown/DealerDropdown.jsx?"); /***/ }), /* 745 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n// views\nvar CalculatorBoatAndEngineDetailsDropdown = __webpack_require__(746);\nvar CalculatorPacksDropdown = __webpack_require__(750);\nvar CalculatorOptionsDropdown = __webpack_require__(747);\nvar DealerItems = __webpack_require__(753);\nvar DetailsDropdown = __webpack_require__(756);\nvar PopupSlideshow = __webpack_require__(760);\nvar TradeIns = __webpack_require__(761);\n\n/**\r\n * @const OverviewDetails - The collapsable detail accordions on the Overview \r\n * step.\r\n * @param {JSON} props \r\n * @returns {JSX.Element}\r\n */\nvar OverviewDetails = function OverviewDetails(props) {\n var overrides = props.submission.priceOverride;\n var prices = Helpers.getPricesAfterOverrides(props.submission, overrides);\n var haveAttemptedSubmission = props.ui.overview.haveAttemptedSubmission;\n var shouldViewDetails = props.ui.overview.viewAllDetails;\n var toggleActiveClass = shouldViewDetails ? 'toggle-active' : 'toggle-inactive';\n\n var onClicktoggleDropdownDetails = function onClicktoggleDropdownDetails(panelKey, e) {\n e.preventDefault();\n props.events.onToggleViewDropdownPanel(panelKey);\n };\n\n var getBoatDetails = function getBoatDetails() {\n var details = [{\n title: props.boat.name + ' + ' + props.submission.engine.name,\n available: true,\n subdetails: []\n }, {\n title: Dictionary.getValue('boatWithStandardEquipment', 'Boat with standard equipment'),\n subdetails: props.boat.standardEquipment.map(function (equipment, index) {\n return {\n title: equipment.name,\n items: equipment.items.map(function (item) {\n return item.name;\n })\n };\n })\n }];\n return details;\n };\n\n var getOptionDetails = function getOptionDetails() {\n var details = props.submission.options.map(function (option, index) {\n return {\n title: option.name,\n price: option.price,\n available: option.available,\n noPriceL10n: Dictionary.getValue('notAvailableOption', '(Price is currently not available)'),\n subdetails: [{\n title: '',\n items: [] //[option.incompatibilityDescription]\n }]\n };\n });\n return details;\n };\n\n var getPackContentsDetails = function getPackContentsDetails(pack) {\n var items = pack.items.map(function (item, index) {\n return item.name;\n });\n return items;\n };\n\n var getPackDetails = function getPackDetails() {\n var details = props.submission.packs.map(function (pack, index) {\n return {\n title: pack.name,\n price: pack.price,\n available: pack.available,\n noPriceL10n: Dictionary.getValue('notAvailablePack', '(Price is currently not available)'),\n subdetails: [{\n title: '',\n items: getPackContentsDetails(pack) //.slice(1)\n }]\n };\n });\n return details;\n };\n\n return React.createElement(\n 'div',\n { className: toggleActiveClass + \" box--overview-details grid__container c_overview__details__container toggleDetailsVisibility\" },\n React.createElement(\n 'div',\n { className: 'h--flexbox' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(PopupSlideshow, null),\n props.isCalculator ? React.createElement(\n 'div',\n null,\n React.createElement(CalculatorBoatAndEngineDetailsDropdown, {\n boat: props.boat,\n events: props.events,\n isActive: props.ui.overview.viewBoatAndEngineDetails,\n isCalculator: props.isCalculator,\n submission: props.submission,\n ui: props.ui\n }),\n React.createElement(CalculatorPacksDropdown, {\n boat: props.boat,\n events: props.events,\n isActive: props.ui.overview.viewPacksDetails,\n submission: props.submission,\n ui: props.ui\n }),\n React.createElement(CalculatorOptionsDropdown, {\n boat: props.boat,\n events: props.events,\n isActive: props.ui.overview.viewOptionsDetails,\n submission: props.submission,\n ui: props.ui\n }),\n React.createElement(DealerItems, {\n dealerItemToEditIndex: props.dealerItemToEditIndex,\n dealerItems: props.dealerItems,\n events: props.events,\n submission: props.submission,\n ui: props.ui\n }),\n React.createElement(TradeIns, {\n tradeInToEditIndex: props.tradeInToEditIndex,\n events: props.events,\n submission: props.submission,\n ui: props.ui\n })\n ) : React.createElement(\n 'div',\n null,\n React.createElement(DetailsDropdown, {\n onClickToggle: onClicktoggleDropdownDetails.bind(undefined, 'viewBoatAndEngineDetails'),\n details: getBoatDetails(),\n editLinkText: Dictionary.getValue('editEngine', 'Edit Engine'),\n editLinkStep: 2,\n events: props.events,\n format: props.format,\n isActive: props.ui.overview.viewBoatAndEngineDetails,\n isCalculator: props.isCalculator,\n price: props.submission.engine.price,\n title: Dictionary.getValue('boatAndEngine', 'Boat and engine'),\n quantity: ''\n }),\n React.createElement(DetailsDropdown, {\n onClickToggle: onClicktoggleDropdownDetails.bind(undefined, 'viewPacksDetails'),\n details: getPackDetails(),\n editLinkText: Dictionary.getValue('editPacks', 'Edit Packs'),\n editLinkStep: 3,\n events: props.events,\n format: props.format,\n isActive: props.ui.overview.viewPacksDetails,\n price: props.submission.packs.reduce(function (total, pack) {\n return total += pack.price;\n }, 0),\n title: Dictionary.getValue('selectedPacks', 'Selected Packs'),\n quantity: props.submission.packs.length\n }),\n React.createElement(DetailsDropdown, {\n onClickToggle: onClicktoggleDropdownDetails.bind(undefined, 'viewOptionsDetails'),\n details: getOptionDetails(),\n editLinkText: Dictionary.getValue('editOptions', 'Edit Options'),\n editLinkStep: 4,\n events: props.events,\n format: props.format,\n isActive: props.ui.overview.viewOptionsDetails,\n price: props.submission.options.reduce(function (total, option) {\n return total += option.price;\n }, 0),\n title: Dictionary.getValue('selectedOptions', 'Selected Options'),\n quantity: props.submission.options.length\n })\n )\n )\n )\n );\n};\n\nmodule.exports = OverviewDetails;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/OverviewDetails.jsx\n// module id = 745\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/OverviewDetails.jsx?"); /***/ }), /* 746 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n// views\nvar DropdownHeader = __webpack_require__(271);\nvar Subtotal = __webpack_require__(313);\n\nvar CalculatorBoatAndEngineDetailsDropdown = function CalculatorBoatAndEngineDetailsDropdown(props) {\n\n var submission = props.submission;\n var discountAmount = !!submission.discounts.engine.discount ? submission.discounts.engine.discount : 0;\n var discountPercentage = !!submission.discounts.engine.percentage ? submission.discounts.engine.percentage : 0;\n var price = submission.priceOverride.engine !== '' ? submission.priceOverride.engine : submission.engine.price;\n\n var dropdownClass = 'c_dropdown--alt c_dropdown--overview c_dropdown--bs' + (props.isActive ? ' c_dropdown--open' : '');\n\n /**\r\n * When the discount is updated, update accordingly.\r\n * @param {Event} e \r\n * @returns {void}\r\n */\n var onDiscountsChange = function onDiscountsChange(e) {\n var value = e.target.value.split('%').join('');\n var type = e.target.getAttribute('data-type');\n if (value !== '' && isNaN(value)) {\n e.preventDefault();\n } else {\n if (value < 0) {\n value = 0;\n }\n var discounts = JSON.parse(JSON.stringify(submission.discounts));\n var originalPrice = submission.priceOverride.engine > 0 ? submission.priceOverride.engine : submission.engine.price;\n discounts.engine = Helpers.calculateDiscount(originalPrice, value, type);\n props.events.onDiscountsChange(discounts);\n }\n };\n\n /**\r\n * When a price on a pack is changed by the user, update the submission \r\n * model accordingly.\r\n * @param {Event} e \r\n * @returns {void}\r\n */\n var onPriceChange = function onPriceChange(e) {\n var value = e.target.value;\n if (value !== '' && isNaN(value)) {\n e.preventDefault();\n } else {\n var override = JSON.parse(JSON.stringify(submission.priceOverride));\n override.engine = value;\n props.events.onPriceOverrideChange(override);\n var discounts = JSON.parse(JSON.stringify(submission.discounts));\n discounts.engine = Helpers.calculateDiscount(value, value <= 0 ? 0 : discounts.engine.percentage, 'percentage');\n props.events.onDiscountsChange(discounts);\n }\n };\n\n // Render //////////////////////////////////////////////////////////////////\n\n return React.createElement(\n 'div',\n { className: dropdownClass },\n React.createElement(DropdownHeader, {\n titleKey: 'boatAndEngine',\n titleDefault: 'Boat and engine',\n panelKey: 'viewBoatAndEngineDetails',\n price: price - discountAmount,\n events: props.events\n }),\n React.createElement(\n 'div',\n { className: 'c_dropdown__content c_dropdown__content--alt c_dropdown__content--padded' },\n !props.isCalculator && React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__container c_dropdown--overview__options__container--gray c_dropdown--overview__options__container--small c_dropdown--overview__options__container--no-content' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__title' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega c_dropdown--overview__options__title__container' },\n React.createElement(\n 'div',\n null,\n React.createElement('img', { src: '/assets/configurator/shared/images/icon_check.svg', className: 'icon' }),\n React.createElement(\n 'span',\n { className: 'c_text--gray c_text--large' },\n props.boat.name\n )\n )\n )\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__container c_dropdown--overview__options__container--small c_dropdown--overview__options__container--no-content' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__title' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega c_dropdown--overview__options__title__container' },\n React.createElement(\n 'div',\n null,\n React.createElement('img', { src: '/assets/configurator/shared/images/icon_check.svg', className: 'icon' }),\n React.createElement(\n 'span',\n { className: 'c_text--gray c_text--large' },\n props.boat.name + ' + ' + submission.engine.name\n )\n )\n )\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__container' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__title c_dropdown--overview__options__title--default' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega c_dropdown--overview__options__title__container' },\n React.createElement(\n 'div',\n null,\n React.createElement('img', { src: '/assets/configurator/shared/images/icon_check.svg', className: 'icon' }),\n React.createElement(\n 'span',\n { className: 'c_text--gray c_text--large' },\n Dictionary.getValue('boatWithStandardEquipment', 'Boat with standard equipment')\n )\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'c_dropdown--overview__options__container__items' },\n props.boat.standardEquipment.map(function (item, index) {\n return React.createElement(\n 'div',\n {\n key: 'overview-std-eq-item-' + index,\n className: 'grid__row c_dropdown--overview__option'\n },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--11 grid--v-large__col--omega' },\n React.createElement('span', { className: 'icon' }),\n React.createElement(\n 'div',\n { className: 'c_dropdown--overview__option__text-container' },\n React.createElement(\n 'span',\n { className: 'c_text--gray c_dropdown--overview__option__title' },\n item.name\n ),\n React.createElement(\n 'span',\n { className: 'c_text--gray c_dropdown--overview__option__description' },\n item.items.map(function (subitem, subindex) {\n return subindex > 0 ? ', ' + subitem.name : subitem.name;\n })\n )\n )\n )\n );\n })\n )\n )\n ),\n React.createElement(Subtotal, {\n canEditPrice: true,\n panelKey: 'viewBoatAndEngineDiscount',\n titleKey: 'totalBaseBoatAndEngine',\n titleDefault: 'Total base boat and engine',\n price: submission.priceOverride.engine,\n originalPrice: submission.engine.price,\n priceOverride: submission.priceOverride.engine,\n discountAmount: discountAmount,\n discountPercentage: discountPercentage,\n onDiscountChange: onDiscountsChange,\n events: props.events,\n onPriceChange: onPriceChange,\n ui: props.ui\n }),\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__option__edit' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'a',\n {\n href: '#',\n className: 'c_dropdown--overview__option__edit__link',\n onClick: function onClick(e) {\n e.preventDefault();\n props.events.onChangeStep(2);\n }\n },\n React.createElement('img', { src: '/assets/configurator/shared/images/edit--blue.svg', className: 'c_dropdown--overview__option__edit__icon' }),\n React.createElement(\n 'span',\n { className: 'c_dropdown--overview__option__edit__text' },\n Dictionary.getValue('editEngine', 'Edit Engine')\n )\n )\n )\n )\n )\n );\n};\n\nmodule.exports = CalculatorBoatAndEngineDetailsDropdown;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/CalculatorBoatAndEngineDetailsDropdown/CalculatorBoatAndEngineDetailsDropdown.jsx\n// module id = 746\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/CalculatorBoatAndEngineDetailsDropdown/CalculatorBoatAndEngineDetailsDropdown.jsx?"); /***/ }), /* 747 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n// views\nvar DropdownHeader = __webpack_require__(271);\nvar Option = __webpack_require__(748);\nvar Subtotal = __webpack_require__(313);\n\n/**\r\n * @const CalculatorOptionsDropdown\r\n * @param {JSON} props \r\n * @returns {JSX.Element}\r\n */\nvar CalculatorOptionsDropdown = function CalculatorOptionsDropdown(props) {\n var submission = props.submission;\n\n if (submission.options.length === 0) {\n return null;\n }\n\n var override = submission.priceOverride;\n var dropdownClass = 'c_dropdown--alt c_dropdown--overview c_dropdown--bs' + (props.isActive ? ' c_dropdown--open' : '');\n var unmodifiedTotal = props.submission.options.reduce(function (accumulator, option) {\n return accumulator + Number(option.price);\n }, 0);\n var discountAmount = !!submission.discounts.options.discount ? submission.discounts.options.discount : 0;\n var discountPercentage = !!submission.discounts.options.percentage ? submission.discounts.options.percentage : 0;\n var total = props.submission.options.reduce(function (accumulator, option, index) {\n var overridePrice = !!override.options ? override.options.find(function (overrideOption) {\n return overrideOption.id === option.id;\n }) : false;\n return accumulator + Number(!!overridePrice ? overridePrice.price : option.price);\n }, 0);\n var totalDiscount = Number(discountAmount) + submission.discounts.options.items.reduce(function (accumulator, item) {\n return accumulator + Number(item.discount);\n }, 0);\n var hasLineItemDiscount = submission.discounts.options.items.length > 0;\n\n /**\r\n * When the discount is updated, update accordingly.\r\n * @param {Event} e \r\n * @returns {void}\r\n */\n var onDiscountsChange = function onDiscountsChange(e) {\n var discounts = JSON.parse(JSON.stringify(submission.discounts));\n if (discounts.options.items.length > 0) {\n // If existing option item-level discounts exist we cannot make any\n // global option discount.\n e.preventDefault();\n } else {\n var value = e.target.value.split('%').join('');\n var type = e.target.getAttribute('data-type');\n if (value !== '' && isNaN(value)) {\n e.preventDefault();\n } else {\n if (value < 0) {\n value = 0;\n }\n var originalPrice = total;\n var newDiscount = Helpers.calculateDiscount(originalPrice, value, type);\n discounts.options = {\n discount: newDiscount.discount,\n percentage: newDiscount.percentage,\n items: discounts.options.items\n };\n props.events.onDiscountsChange(discounts);\n }\n }\n };\n\n var onOptionItemDiscountChange = function onOptionItemDiscountChange(e) {\n var discounts = JSON.parse(JSON.stringify(submission.discounts));\n if (discounts.options.discount > 0) {\n // If global option discount exists we cannot make option item-level\n // discounts.\n e.preventDefault();\n } else {\n var value = e.target.value.split('%').join('');\n var type = e.target.getAttribute('data-type');\n var id = e.target.getAttribute('data-id');\n if (value !== '' && isNaN(value)) {\n e.preventDefault();\n } else {\n if (value < 0) {\n value = 0;\n }\n var optionOverride = submission.priceOverride.options ? submission.priceOverride.options.find(function (option) {\n return option.id == id;\n }) : undefined;\n var optionItem = submission.options ? submission.options.find(function (option) {\n return option.id == id;\n }) : undefined;\n var originalPrice = typeof optionOverride !== 'undefined' ? optionOverride.price : optionItem.price;\n var itemDiscount = Helpers.calculateDiscount(originalPrice, value, type);\n var doesItemDiscountExist = false;\n discounts.options.items.forEach(function (option, i) {\n if (option.id == id) {\n doesItemDiscountExist = true;\n if (value == 0) {\n discounts.options.items.splice(i, 1);\n } else {\n option.discount = itemDiscount.discount;\n option.percentage = itemDiscount.percentage;\n }\n }\n });\n if (!doesItemDiscountExist) {\n discounts.options.items.push({\n id: id,\n discount: itemDiscount.discount,\n percentage: itemDiscount.percentage\n });\n }\n props.events.onDiscountsChange(discounts);\n }\n }\n };\n\n var onOptionPriceChange = function onOptionPriceChange(newOverride, optionId, discount) {\n var newTotal = props.submission.options.reduce(function (accumulator, option, index) {\n var overridePrice = !!newOverride.options ? newOverride.options.find(function (overrideOption) {\n return overrideOption.id === option.id;\n }) : false;\n return accumulator + Number(!!overridePrice ? overridePrice.price : option.price);\n }, 0);\n var discounts = JSON.parse(JSON.stringify(submission.discounts));\n if (discounts.options.discount > 0) {\n var newDiscount = Helpers.calculateDiscount(newTotal, newTotal <= 0 ? 0 : discounts.options.percentage, 'percentage');\n discounts.options = {\n discount: newDiscount.discount,\n percentage: newDiscount.percentage,\n items: discounts.options.items\n };\n } else if (discounts.options.items.length > 0) {\n var optionOverride = newOverride.options ? newOverride.options.find(function (option) {\n return option.id == optionId;\n }) : undefined;\n var optionItem = submission.options ? submission.options.find(function (option) {\n return option.id == optionId;\n }) : undefined;\n var originalPrice = typeof optionOverride !== 'undefined' ? optionOverride.price : optionItem.price;\n var itemDiscount = Helpers.calculateDiscount(originalPrice, originalPrice <= 0 ? 0 : discount.percentage, 'percentage');\n var doesItemDiscountExist = false;\n discounts.options.items.forEach(function (option) {\n if (option.id == optionId) {\n doesItemDiscountExist = true;\n option.discount = itemDiscount.discount;\n option.percentage = itemDiscount.percentage;\n }\n });\n if (!doesItemDiscountExist) {\n discounts.options.items.push({\n id: optionId,\n discount: itemDiscount.discount,\n percentage: itemDiscount.percentage\n });\n }\n }\n props.events.onPriceOverrideChange(newOverride);\n props.events.onDiscountsChange(discounts);\n };\n\n // Render //////////////////////////////////////////////////////////////////\n\n return React.createElement(\n 'div',\n { className: dropdownClass },\n React.createElement(DropdownHeader, {\n titleKey: 'selectedOptions',\n titleDefault: 'Selected Options',\n panelKey: 'viewOptionsDetails',\n price: total - totalDiscount,\n events: props.events,\n itemCount: submission.options.length\n }),\n React.createElement(\n 'div',\n { className: 'c_dropdown__content c_dropdown__content--alt c_dropdown__content--padded' },\n submission.options.map(function (option, index) {\n return React.createElement(Option, {\n key: \"option-overview-\" + index,\n index: index,\n option: option,\n events: props.events,\n override: override,\n onOptionItemDiscountChange: onOptionItemDiscountChange,\n onPriceChange: onOptionPriceChange,\n submission: props.submission,\n ui: props.ui\n });\n }),\n React.createElement(Subtotal, {\n canEditPrice: false,\n panelKey: 'viewOptionsDiscount',\n titleKey: 'totalOptions',\n titleDefault: 'Total options',\n price: hasLineItemDiscount ? total - totalDiscount : total,\n originalPrice: unmodifiedTotal,\n priceOverride: override.options,\n discountAmount: discountAmount,\n discountPercentage: discountPercentage,\n onDiscountChange: onDiscountsChange,\n events: props.events,\n ui: props.ui\n }),\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__option__edit' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'a',\n {\n href: '#',\n className: 'c_dropdown--overview__option__edit__link',\n onClick: function onClick(e) {\n e.preventDefault();\n props.events.onChangeStep(4);\n }\n },\n React.createElement('img', { src: '/assets/configurator/shared/images/edit--blue.svg', className: 'c_dropdown--overview__option__edit__icon' }),\n React.createElement(\n 'span',\n { className: 'c_dropdown--overview__option__edit__text' },\n Dictionary.getValue('editOptions', 'Edit Options')\n )\n )\n )\n )\n )\n );\n};\n\nmodule.exports = CalculatorOptionsDropdown;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/CalculatorOptionsDropdown/CalculatorOptionsDropdown.jsx\n// module id = 747\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/CalculatorOptionsDropdown/CalculatorOptionsDropdown.jsx?"); /***/ }), /* 748 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n// views\nvar OptionItemDiscount = __webpack_require__(749);\n\n/**\r\n * @const Option - Renders a option line item in the calculator overview step.\r\n * @param {JSON} props \r\n * @returns {JSX.Element}\r\n */\nvar Option = function Option(props) {\n var option = props.option;\n var override = props.override.options ? props.override.options.find(function (overrideOption, index) {\n return overrideOption.id == option.id;\n }) : false;\n var itemDiscount = props.submission.discounts.options.items.find(function (item) {\n return item.id == option.id;\n });\n var discount = typeof itemDiscount !== 'undefined' ? itemDiscount : {\n id: option.id,\n discount: 0,\n percentage: 0\n };\n var doesDiscountExist = itemDiscount && itemDiscount.discount > 0;\n var doesPriceExist = !!(!!override ? override.price : option.price);\n var currentPrice = !!override ? override.price : option.price;\n\n /**\r\n * @method onPriceChange - When a user updates a option's price, change the \r\n * submission model accordingly.\r\n * @param {Event} e \r\n * @returns {void}\r\n */\n var onPriceChange = function onPriceChange(e) {\n var value = e.target.value;\n if (value !== '' && isNaN(value)) {\n e.preventDefault();\n } else {\n var newOverride = JSON.parse(JSON.stringify(props.override));\n var doesExist = false;\n if (newOverride.options) {\n newOverride.options.forEach(function (overrideOption, index) {\n if (overrideOption.id === option.id) {\n doesExist = true;\n if (value === '') {\n newOverride.options.splice(index, 1);\n } else {\n overrideOption.price = Number(value);\n }\n }\n });\n } else {\n newOverride.options = [];\n }\n if (!doesExist) {\n newOverride.options.push({\n id: option.id,\n price: Number(value)\n });\n }\n props.onPriceChange(newOverride, option.id, discount);\n }\n };\n\n // Render //////////////////////////////////////////////////////////////////\n\n return React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__container c_dropdown--overview__input__container--distributor c_dropdown--overview__options--2' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__title' },\n React.createElement(\n 'div',\n {\n className: 'grid--v-large__col--7 grid--v-medium__col--7 grid--v-small__col--7 grid--v-mini__cols--7 c_dropdown--overview__options__title__container',\n onDoubleClick: function onDoubleClick(e) {\n if (doesPriceExist) {\n props.events.onToggleViewDropdownPanel('viewOptionItemDiscount-' + props.index);\n }\n }\n },\n React.createElement('img', { src: '/assets/configurator/shared/images/icon_check.svg', className: 'icon' }),\n React.createElement(\n 'span',\n { className: 'c_text--gray c_text--large' },\n option.name\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--5 grid--v-medium__col--5 grid--v-small__col--5 grid--v-mini__cols--5 grid--v-large__col--omega grid--v-medium__col--omega grid--v-small__col--omega grid--v-mini__col--omega' },\n React.createElement(\n 'div',\n null,\n React.createElement(\n 'div',\n { className: 'c_dropdown--overview__input__wrapper c_dropdown--overview__input__wrapper--48' },\n React.createElement('input', {\n className: 'c_text--large c_dropdown--overview__input c_text--italic',\n pattern: '.{1,}',\n value: !!override ? override.price : \"\",\n onChange: function onChange(e) {\n onPriceChange(e);\n }\n }),\n React.createElement(\n 'div',\n { className: 'c_dropdown--overview__input-placeholder' },\n React.createElement('i', { className: 'icon icon--tag' }),\n React.createElement(\n 'div',\n { className: 'c_dropdown--overview__input-placeholder--desktop' },\n Dictionary.getValue('clickToEnterPrice', 'Click to enter a price')\n ),\n React.createElement(\n 'div',\n { className: 'c_dropdown--overview__input-placeholder--mobile' },\n Dictionary.getValue('price', 'Price')\n )\n )\n ),\n doesDiscountExist && React.createElement(\n 'span',\n { className: 'pull-right c_text--large c_dropdown--overview__options__price c_dropdown--distributor__price c_dropdown--distributor__price--options c_text--gray c_text--normal c_text--strikethrough' },\n Helpers.formatMoneyLocalized(currentPrice, true)\n )\n )\n )\n ),\n React.createElement(OptionItemDiscount, {\n isActive: typeof props.ui.overview.viewOptionItemDiscount.find(function (item) {\n return item == props.index;\n }) !== 'undefined',\n doesPriceExist: doesPriceExist,\n onDiscountChange: props.onOptionItemDiscountChange,\n id: option.id,\n discount: discount.discount,\n percentage: discount.percentage\n })\n )\n );\n};\n\nmodule.exports = Option;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/CalculatorOptionsDropdown/Option/Option.jsx\n// module id = 748\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/CalculatorOptionsDropdown/Option/Option.jsx?"); /***/ }), /* 749 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n/**\r\n * Renders the discount section for option line items in the calculator overview step.\r\n * @param {JSON} props \r\n * @returns {JSX.Element}\r\n */\nvar OptionItemDiscount = function OptionItemDiscount(props) {\n\n var className = 'c_dropdown--overview__options--2 c_dropdown--overview__options__details__container' + (props.isActive ? '' : ' toggle-inactive');\n\n return React.createElement(\n 'div',\n { className: className },\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__details__discount' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'span',\n { className: 'c_text--red-2 c_text--italic pull-right' },\n props.discount > 0 ? React.createElement(\n 'span',\n null,\n '- ',\n Helpers.formatMoneyLocalized(props.discount, true)\n ) : React.createElement(\n 'span',\n null,\n '\\xA0'\n )\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__details__discount__labels' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'span',\n { className: 'c_text--gray c_dropdown--overview__options__details__discount__title' },\n Dictionary.getValue('discount', 'Discount')\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement('input', {\n className: 'c_text--gray c_dropdown--overview__options__details__discount__label c_dropdown--overview__options__details__discount__label--small',\n value: props.percentage ? props.percentage : \"\",\n type: 'text',\n 'data-type': 'percentage',\n 'data-id': props.id,\n onChange: function onChange(e) {\n if (props.doesPriceExist) {\n props.onDiscountChange(e);\n } else {\n e.preventDefault();\n }\n },\n placeholder: '%'\n }),\n React.createElement('input', {\n className: 'c_text--gray c_dropdown--overview__options__details__discount__label',\n value: props.discount ? props.discount : \"\",\n type: 'text',\n 'data-type': 'amount',\n 'data-id': props.id,\n onChange: function onChange(e) {\n if (props.doesPriceExist) {\n props.onDiscountChange(e);\n } else {\n e.preventDefault();\n }\n },\n placeholder: Dictionary.getPriceSetting().currency\n })\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__details__discount__actions c_dropdown__actions' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'a',\n {\n href: '#',\n className: 'c_dropdown__actions--delete',\n onClick: function onClick(e) {\n e.preventDefault();\n props.onDiscountChange({\n preventDefault: function preventDefault() {},\n target: {\n 'value': '0',\n getAttribute: function getAttribute(key) {\n if (key == 'data-type') {\n return 'percentage';\n }\n return props.id;\n }\n }\n });\n }\n },\n React.createElement(\n 'span',\n { className: 'c_dropdown__actions--delete_icon' },\n React.createElement('i', { className: 'icon icon--cross' })\n ),\n React.createElement(\n 'span',\n { className: 'c_dropdown__actions--delete_text c_link--alt' },\n ' ',\n Dictionary.getValue('deleteDiscount', 'Delete discount')\n )\n )\n )\n )\n );\n};\n\nmodule.exports = OptionItemDiscount;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/CalculatorOptionsDropdown/Option/components/OptionItemDiscount/OptionItemDiscount.jsx\n// module id = 749\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/CalculatorOptionsDropdown/Option/components/OptionItemDiscount/OptionItemDiscount.jsx?"); /***/ }), /* 750 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n// views\nvar DropdownHeader = __webpack_require__(271);\nvar Pack = __webpack_require__(751);\nvar Subtotal = __webpack_require__(313);\n\n/**\r\n * @const CalculatorPacksDropdown\r\n * @param {JSON} props \r\n * @returns {JSX.Element}\r\n */\nvar CalculatorPacksDropdown = function CalculatorPacksDropdown(props) {\n var submission = props.submission;\n\n if (submission.packs.length === 0) {\n return null;\n }\n\n var override = submission.priceOverride;\n var dropdownClass = 'c_dropdown--alt c_dropdown--overview c_dropdown--bs' + (props.isActive ? ' c_dropdown--open' : '');\n var unmodifiedTotal = props.submission.packs.reduce(function (accumulator, pack) {\n return accumulator + Number(pack.price);\n }, 0);\n var discountAmount = !!submission.discounts.packs.discount ? submission.discounts.packs.discount : 0;\n var discountPercentage = !!submission.discounts.packs.percentage ? submission.discounts.packs.percentage : 0;\n var total = props.submission.packs.reduce(function (accumulator, pack, index) {\n var overridePrice = !!override.packs ? override.packs.find(function (overridePack) {\n return overridePack.id === pack.id;\n }) : false;\n return accumulator + Number(!!overridePrice ? overridePrice.price : pack.price);\n }, 0);\n var totalDiscount = Number(discountAmount) + submission.discounts.packs.items.reduce(function (accumulator, item) {\n return accumulator + Number(item.discount);\n }, 0);\n var hasLineItemDiscount = submission.discounts.packs.items.length > 0;\n\n /**\r\n * When the discount is updated, update accordingly.\r\n * @param {Event} e \r\n * @returns {void}\r\n */\n var onDiscountsChange = function onDiscountsChange(e) {\n var discounts = JSON.parse(JSON.stringify(submission.discounts));\n if (discounts.packs.items.length > 0) {\n // If existing pack item-level discounts exist we cannot make any\n // global pack discount.\n e.preventDefault();\n } else {\n var value = e.target.value.split('%').join('');\n var type = e.target.getAttribute('data-type');\n if (value !== '' && isNaN(value)) {\n e.preventDefault();\n } else {\n if (value < 0) {\n value = 0;\n }\n var originalPrice = total;\n var newDiscount = Helpers.calculateDiscount(originalPrice, value, type);\n discounts.packs = {\n discount: newDiscount.discount,\n percentage: newDiscount.percentage,\n items: discounts.packs.items\n };\n props.events.onDiscountsChange(discounts);\n }\n }\n };\n\n var onPackItemDiscountChange = function onPackItemDiscountChange(e) {\n var discounts = JSON.parse(JSON.stringify(submission.discounts));\n if (discounts.packs.discount > 0) {\n // If global pack discount exists we cannot make pack item-level\n // discounts.\n e.preventDefault();\n } else {\n var value = e.target.value.split('%').join('');\n var type = e.target.getAttribute('data-type');\n var id = e.target.getAttribute('data-id');\n if (value !== '' && isNaN(value)) {\n e.preventDefault();\n } else {\n if (value < 0) {\n value = 0;\n }\n var packOverride = submission.priceOverride.packs ? submission.priceOverride.packs.find(function (pack) {\n return pack.id == id;\n }) : undefined;\n var packItem = submission.packs ? submission.packs.find(function (pack) {\n return pack.id == id;\n }) : undefined;\n var originalPrice = typeof packOverride !== 'undefined' ? packOverride.price : packItem.price;\n var itemDiscount = Helpers.calculateDiscount(originalPrice, value, type);\n var doesItemDiscountExist = false;\n discounts.packs.items.forEach(function (pack, i) {\n if (pack.id == id) {\n doesItemDiscountExist = true;\n if (value == 0) {\n discounts.packs.items.splice(i, 1);\n } else {\n pack.discount = itemDiscount.discount;\n pack.percentage = itemDiscount.percentage;\n }\n }\n });\n if (!doesItemDiscountExist) {\n discounts.packs.items.push({\n id: id,\n discount: itemDiscount.discount,\n percentage: itemDiscount.percentage\n });\n }\n props.events.onDiscountsChange(discounts);\n }\n }\n };\n\n var onPackPriceChange = function onPackPriceChange(newOverride, packId, discount) {\n var newTotal = props.submission.packs.reduce(function (accumulator, pack, index) {\n var overridePrice = !!newOverride.packs ? newOverride.packs.find(function (overridePack) {\n return overridePack.id === pack.id;\n }) : false;\n return accumulator + Number(!!overridePrice ? overridePrice.price : pack.price);\n }, 0);\n var discounts = JSON.parse(JSON.stringify(submission.discounts));\n if (discounts.packs.discount > 0) {\n var newDiscount = Helpers.calculateDiscount(newTotal, newTotal <= 0 ? 0 : discounts.packs.percentage, 'percentage');\n discounts.packs = {\n discount: newDiscount.discount,\n percentage: newDiscount.percentage,\n items: discounts.packs.items\n };\n } else if (discounts.packs.items.length > 0) {\n var packOverride = newOverride.packs ? newOverride.packs.find(function (pack) {\n return pack.id == packId;\n }) : undefined;\n var packItem = submission.packs ? submission.packs.find(function (pack) {\n return pack.id == packId;\n }) : undefined;\n var originalPrice = typeof packOverride !== 'undefined' ? packOverride.price : packItem.price;\n var itemDiscount = Helpers.calculateDiscount(originalPrice, originalPrice <= 0 ? 0 : discount.percentage, 'percentage');\n var doesItemDiscountExist = false;\n discounts.packs.items.forEach(function (pack) {\n if (pack.id == packId) {\n doesItemDiscountExist = true;\n pack.discount = itemDiscount.discount;\n pack.percentage = itemDiscount.percentage;\n }\n });\n if (!doesItemDiscountExist) {\n discounts.packs.items.push({\n id: packId,\n discount: itemDiscount.discount,\n percentage: itemDiscount.percentage\n });\n }\n }\n props.events.onDiscountsChange(discounts);\n props.events.onPriceOverrideChange(newOverride);\n };\n\n return React.createElement(\n 'div',\n { className: dropdownClass },\n React.createElement(DropdownHeader, {\n titleKey: 'selectedPacks',\n titleDefault: 'Selected Packs',\n panelKey: 'viewPacksDetails',\n price: total - totalDiscount,\n events: props.events,\n itemCount: submission.packs.length\n }),\n React.createElement(\n 'div',\n { className: 'c_dropdown__content c_dropdown__content--alt c_dropdown__content--padded' },\n submission.packs.map(function (pack, index) {\n return React.createElement(Pack, {\n key: \"pack-overview-\" + index,\n index: index,\n pack: pack,\n events: props.events,\n override: override,\n onPackItemDiscountChange: onPackItemDiscountChange,\n onPriceChange: onPackPriceChange,\n submission: props.submission,\n ui: props.ui\n });\n }),\n React.createElement(Subtotal, {\n canEditPrice: false,\n panelKey: 'viewPacksDiscount',\n titleKey: 'totalPacks',\n titleDefault: 'Total packs',\n price: hasLineItemDiscount ? total - totalDiscount : total,\n originalPrice: unmodifiedTotal,\n priceOverride: override.packs,\n discountAmount: discountAmount,\n discountPercentage: discountPercentage,\n onDiscountChange: onDiscountsChange,\n events: props.events,\n ui: props.ui\n }),\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__option__edit' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'a',\n {\n href: '#',\n className: 'c_dropdown--overview__option__edit__link',\n onClick: function onClick(e) {\n e.preventDefault();\n props.events.onChangeStep(3);\n }\n },\n React.createElement('img', { src: '/assets/configurator/shared/images/edit--blue.svg', className: 'c_dropdown--overview__option__edit__icon' }),\n React.createElement(\n 'span',\n { className: 'c_dropdown--overview__option__edit__text' },\n Dictionary.getValue('editPacks', 'Edit Packs')\n )\n )\n )\n )\n )\n );\n};\n\nmodule.exports = CalculatorPacksDropdown;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/CalculatorPacksDropdown/CalculatorPacksDropdown.jsx\n// module id = 750\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/CalculatorPacksDropdown/CalculatorPacksDropdown.jsx?"); /***/ }), /* 751 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n// views\nvar PackItemDiscount = __webpack_require__(752);\n\n/**\r\n * @const Pack - Renders a pack line item in the calculator overview step.\r\n * @param {JSON} props \r\n * @returns {JSX.Element}\r\n */\nvar Pack = function Pack(props) {\n var pack = props.pack;\n var override = props.override.packs ? props.override.packs.find(function (overridePack, index) {\n return overridePack.id == pack.id;\n }) : false;\n var itemDiscount = props.submission.discounts.packs.items.find(function (item) {\n return item.id == pack.id;\n });\n var discount = typeof itemDiscount !== 'undefined' ? itemDiscount : {\n id: pack.id,\n discount: 0,\n percentage: 0\n };\n var doesDiscountExist = itemDiscount && itemDiscount.discount > 0;\n var doesPriceExist = !!(!!override ? override.price : pack.price);\n var currentPrice = !!override ? override.price : pack.price;\n\n /**\r\n * @method onPriceChange - When a user updates a pack's price, change the \r\n * submission model accordingly.\r\n * @param {Event} e \r\n * @returns {void}\r\n */\n var onPriceChange = function onPriceChange(e) {\n var value = e.target.value;\n if (value !== '' && isNaN(value)) {\n e.preventDefault();\n } else {\n var newOverride = JSON.parse(JSON.stringify(props.override));\n var doesExist = false;\n if (newOverride.packs) {\n newOverride.packs.forEach(function (overridePack, index) {\n if (overridePack.id === pack.id) {\n doesExist = true;\n if (value === '') {\n newOverride.packs.splice(index, 1);\n } else {\n overridePack.price = Number(value);\n }\n }\n });\n } else {\n newOverride.packs = [];\n }\n if (!doesExist) {\n newOverride.packs.push({\n id: pack.id,\n price: Number(value)\n });\n }\n props.onPriceChange(newOverride, pack.id, discount);\n }\n };\n\n // Render //////////////////////////////////////////////////////////////////\n\n return React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__container c_dropdown--overview__input__container--distributor c_dropdown--overview__options--2' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__title' },\n React.createElement(\n 'div',\n {\n className: 'grid--v-large__col--7 grid--v-medium__col--7 grid--v-small__col--7 grid--v-mini__cols--7 c_dropdown--overview__options__title__container',\n onDoubleClick: function onDoubleClick(e) {\n if (doesPriceExist) {\n props.events.onToggleViewDropdownPanel('viewPackItemDiscount-' + props.index);\n }\n }\n },\n React.createElement('img', { src: '/assets/configurator/shared/images/icon_check.svg', className: 'icon' }),\n React.createElement(\n 'span',\n { className: 'c_text--gray c_text--large' },\n pack.name\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--5 grid--v-medium__col--5 grid--v-small__col--5 grid--v-mini__cols--5 grid--v-large__col--omega grid--v-medium__col--omega grid--v-small__col--omega grid--v-mini__col--omega' },\n React.createElement(\n 'div',\n null,\n React.createElement(\n 'div',\n { className: 'c_dropdown--overview__input__wrapper c_dropdown--overview__input__wrapper--48' },\n React.createElement('input', {\n className: 'c_text--large c_dropdown--overview__input c_text--italic',\n pattern: '.{1,}',\n value: !!override ? override.price : \"\",\n onChange: function onChange(e) {\n onPriceChange(e);\n }\n }),\n React.createElement(\n 'div',\n { className: 'c_dropdown--overview__input-placeholder' },\n React.createElement('i', { className: 'icon icon--tag' }),\n React.createElement(\n 'div',\n { className: 'c_dropdown--overview__input-placeholder--desktop' },\n Dictionary.getValue('clickToEnterPrice', 'Click to enter a price')\n ),\n React.createElement(\n 'div',\n { className: 'c_dropdown--overview__input-placeholder--mobile' },\n Dictionary.getValue('price', 'Price')\n )\n )\n ),\n doesDiscountExist && React.createElement(\n 'span',\n { className: 'pull-right c_text--large c_dropdown--overview__options__price c_dropdown--distributor__price c_dropdown--distributor__price--options c_text--gray c_text--normal c_text--strikethrough' },\n Helpers.formatMoneyLocalized(currentPrice, true)\n )\n )\n )\n ),\n React.createElement(PackItemDiscount, {\n isActive: typeof props.ui.overview.viewPackItemDiscount.find(function (item) {\n return item == props.index;\n }) !== 'undefined',\n doesPriceExist: doesPriceExist,\n onDiscountChange: props.onPackItemDiscountChange,\n id: pack.id,\n discount: discount.discount,\n percentage: discount.percentage\n })\n )\n );\n};\n\nmodule.exports = Pack;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/CalculatorPacksDropdown/Pack/Pack.jsx\n// module id = 751\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/CalculatorPacksDropdown/Pack/Pack.jsx?"); /***/ }), /* 752 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n/**\r\n * Renders the discount section for pack line items in the calculator overview step.\r\n * @param {JSON} props \r\n * @returns {JSX.Element}\r\n */\nvar PackItemDiscount = function PackItemDiscount(props) {\n\n var className = 'c_dropdown--overview__options--2 c_dropdown--overview__options__details__container' + (props.isActive ? '' : ' toggle-inactive');\n\n return React.createElement(\n 'div',\n { className: className },\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__details__discount' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'span',\n { className: 'c_text--red-2 c_text--italic pull-right' },\n props.discount > 0 ? React.createElement(\n 'span',\n null,\n '- ',\n Helpers.formatMoneyLocalized(props.discount, true)\n ) : React.createElement(\n 'span',\n null,\n '\\xA0'\n )\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__details__discount__labels' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'span',\n { className: 'c_text--gray c_dropdown--overview__options__details__discount__title' },\n Dictionary.getValue('discount', 'Discount')\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement('input', {\n className: 'c_text--gray c_dropdown--overview__options__details__discount__label c_dropdown--overview__options__details__discount__label--small',\n value: props.percentage ? props.percentage : \"\",\n type: 'text',\n 'data-type': 'percentage',\n 'data-id': props.id,\n onChange: function onChange(e) {\n if (props.doesPriceExist) {\n props.onDiscountChange(e);\n } else {\n e.preventDefault();\n }\n },\n placeholder: '%'\n }),\n React.createElement('input', {\n className: 'c_text--gray c_dropdown--overview__options__details__discount__label',\n value: props.discount ? props.discount : \"\",\n type: 'text',\n 'data-type': 'amount',\n 'data-id': props.id,\n onChange: function onChange(e) {\n if (props.doesPriceExist) {\n props.onDiscountChange(e);\n } else {\n e.preventDefault();\n }\n },\n placeholder: Dictionary.getPriceSetting().currency\n })\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__details__discount__actions c_dropdown__actions' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'a',\n {\n href: '#',\n className: 'c_dropdown__actions--delete',\n onClick: function onClick(e) {\n e.preventDefault();\n props.onDiscountChange({\n preventDefault: function preventDefault() {},\n target: {\n 'value': '0',\n getAttribute: function getAttribute(key) {\n if (key == 'data-type') {\n return 'percentage';\n }\n return props.id;\n }\n }\n });\n }\n },\n React.createElement(\n 'span',\n { className: 'c_dropdown__actions--delete_icon' },\n React.createElement('i', { className: 'icon icon--cross' })\n ),\n React.createElement(\n 'span',\n { className: 'c_dropdown__actions--delete_text c_link--alt' },\n ' ',\n Dictionary.getValue('deleteDiscount', 'Delete discount')\n )\n )\n )\n )\n );\n};\n\nmodule.exports = PackItemDiscount;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/CalculatorPacksDropdown/Pack/components/PackItemDiscount/PackItemDiscount.jsx\n// module id = 752\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/CalculatorPacksDropdown/Pack/components/PackItemDiscount/PackItemDiscount.jsx?"); /***/ }), /* 753 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n// views\nvar DealerItem = __webpack_require__(754);\nvar DropdownHeader = __webpack_require__(271);\nvar NewItemForm = __webpack_require__(755);\n\n/**\r\n * @const DealerItems\r\n * @param {JSON} props \r\n * @returns {JSX.Element}\r\n */\nvar DealerItems = function DealerItems(props) {\n var isActive = props.ui.overview.viewDealerItems;\n var wrapperClass = 'c_dropdown--alt c_dropdown--overview c_dropdown--bs' + (isActive ? ' c_dropdown--open' : '');\n var total = props.submission.dealerItems.reduce(function (price, item) {\n return price += item.price;\n }, 0);\n var newItem = props.dealerItemToEditIndex > -1 ? props.submission.dealerItems[props.dealerItemToEditIndex] : undefined;\n if (typeof newItem !== 'undefined') {\n newItem.index = props.dealerItemToEditIndex;\n }\n\n return React.createElement(\n 'div',\n { className: wrapperClass },\n React.createElement(DropdownHeader, {\n titleKey: 'dealerItems',\n titleDefault: 'Dealer Items',\n panelKey: 'viewDealerItems',\n price: total,\n events: props.events,\n itemCount: props.submission.dealerItems.length\n }),\n React.createElement(\n 'div',\n { className: 'c_dropdown__content c_dropdown__content--alt c_dropdown__content--padded' },\n React.createElement(NewItemForm, {\n item: newItem,\n events: props.events,\n ui: props.ui\n }),\n props.submission.dealerItems.map(function (item, index) {\n return props.dealerItemToEditIndex == index ? null : React.createElement(DealerItem, {\n key: \"dealer-item-\" + index,\n events: props.events,\n item: item,\n index: index\n });\n }),\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__add-items__container' },\n props.dealerItems && props.dealerItems.length > 0 && React.createElement(\n 'div',\n { className: 'grid--v-large__col--6' },\n React.createElement(\n 'a',\n {\n href: '#',\n onClick: function onClick(e) {\n e.preventDefault();\n props.events.onToggleShowAddDealerItems();\n } },\n React.createElement(\n 'div',\n { className: 'c_dropdown--overview__add-item' },\n React.createElement(\n 'span',\n { className: 'c_dropdown--overview__add-item__icon' },\n React.createElement('i', { className: 'icon icon--plus' })\n ),\n React.createElement(\n 'span',\n { className: 'c_dropdown--overview__add-item__text' },\n Dictionary.getValue('addExistingDealerItem', 'Add existing dealer item')\n )\n )\n )\n ),\n React.createElement(\n 'div',\n { className: \"grid--v-large__col--6 \" + (props.dealerItems && props.dealerItems.length > 0 ? \"grid--v-large__col--omega\" : \"\") },\n React.createElement(\n 'a',\n {\n href: '#',\n onClick: function onClick(e) {\n e.preventDefault();\n props.events.onToggleViewDropdownPanel('viewNewDealerItemForm');\n }\n },\n React.createElement(\n 'div',\n { className: 'c_dropdown--overview__add-item' },\n React.createElement(\n 'span',\n { className: 'c_dropdown--overview__add-item__icon' },\n React.createElement('i', { className: 'icon icon--plus' })\n ),\n React.createElement(\n 'span',\n { className: 'c_dropdown--overview__add-item__text' },\n Dictionary.getValue('addNewDealerItem', 'Add new dealer item')\n )\n )\n )\n ),\n (!props.dealerItems || props.dealerItems.length < 1) && React.createElement('div', { className: 'grid--v-large__col--6 grid--v-large__col--omega' })\n ),\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__container c_dropdown--overview__subtotal__container c_dropdown--overview__subtotal__container--no-content' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'div',\n { className: 'grid__row' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--6 c_dropdown--overview_subtotal__title__container' },\n React.createElement(\n 'span',\n { className: 'c_text--large' },\n Dictionary.getValue('totalDealerItems', 'Total dealer items')\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--6 grid--v-large__col--omega c_dropdown--overview__subtotal__price__container' },\n React.createElement(\n 'span',\n { className: 'c_text--large' },\n Helpers.formatMoneyLocalized(total, true)\n )\n )\n )\n )\n )\n )\n );\n};\n\nmodule.exports = DealerItems;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/DealerItems/DealerItems.jsx\n// module id = 753\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/DealerItems/DealerItems.jsx?"); /***/ }), /* 754 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n/**\r\n * @method DealerItem - Renders a single dealer item in the dealers item list.\r\n * @param {JSON} props\r\n * @returns {JSX.Element} \r\n */\nvar DealerItem = function DealerItem(props) {\n var item = props.item;\n\n return React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__container c_dropdown--overview__options__container--no-content' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__title' },\n React.createElement(\n 'div',\n {\n className: 'grid--v-large__col--12 grid--v-large__col--omega c_dropdown--overview__options__title__container',\n onDoubleClick: function onDoubleClick(e) {\n props.events.onEditDealerItemClick(props.index);\n }\n },\n React.createElement(\n 'div',\n null,\n React.createElement('img', { src: '/assets/configurator/shared/images/icon_check.svg', className: 'icon' }),\n React.createElement(\n 'span',\n { className: 'c_text--gray c_text--large' },\n item.name\n )\n ),\n React.createElement(\n 'span',\n { className: 'pull-right c_text--gray c_text--large c_dropdown--overview__options__price' },\n Helpers.formatMoneyLocalized(item.price, true)\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__details' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--10 c_dropdown--overview__options__details__text' },\n item.description\n ),\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--2 grid--v-large__col--omega c_dropdown__actions' },\n React.createElement(\n 'a',\n {\n href: '#',\n className: 'c_dropdown__actions--delete',\n onClick: function onClick(e) {\n e.preventDefault();\n props.events.onDeleteDealerItem(props.index);\n }\n },\n React.createElement(\n 'span',\n { className: 'c_dropdown__actions--delete_icon' },\n React.createElement('i', { className: 'icon icon--cross' })\n ),\n React.createElement(\n 'span',\n { className: 'c_dropdown__actions--delete_text c_link--alt' },\n ' ',\n Dictionary.getValue('deleteItem', 'Delete item')\n )\n )\n )\n )\n )\n );\n};\n\nmodule.exports = DealerItem;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/DealerItems/components/DealerItem/DealerItem.jsx\n// module id = 754\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/DealerItems/components/DealerItem/DealerItem.jsx?"); /***/ }), /* 755 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\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 React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n/**\r\n * @const NewItemForm\r\n * @param {JSON} props \r\n */\n\nvar NewItemForm = function (_React$Component) {\n _inherits(NewItemForm, _React$Component);\n\n function NewItemForm(props) {\n _classCallCheck(this, NewItemForm);\n\n var _this = _possibleConstructorReturn(this, (NewItemForm.__proto__ || Object.getPrototypeOf(NewItemForm)).call(this, props));\n\n _this.getCharactersLeft = function () {\n return _this.descriptionMaxLength - _this.state.description.length;\n };\n\n _this.isReadyToSubmit = function () {\n return _this.state.name !== '' && _this.state.price !== '';\n };\n\n _this.onChangeDescription = function (e) {\n var value = e.target.value;\n if (value.length <= _this.descriptionMaxLength) {\n _this.setState({ description: value });\n }\n };\n\n _this.onChangeName = function (e) {\n var value = e.target.value;\n _this.setState({ name: value });\n };\n\n _this.onChangePrice = function (e) {\n var value = e.target.value;\n if (value !== '' && isNaN(value)) {\n e.preventDefault();\n } else {\n _this.setState({ price: value === '' ? '' : Number(value) });\n }\n };\n\n _this.onClickDelete = function (e) {\n e.preventDefault();\n _this.setState({ name: '', description: '', price: '' });\n _this.props.events.onToggleViewDropdownPanel('viewNewDealerItemForm');\n };\n\n _this.onClickSubmit = function (e) {\n e.preventDefault();\n if (_this.state.index == -1) {\n _this.props.events.onAddDealerItem(_this.state.name, _this.state.description, _this.state.price);\n } else {\n _this.props.events.onUpdateDealerItem(_this.state.index, _this.state.name, _this.state.description, _this.state.price);\n }\n _this.setState({ index: -1, name: '', description: '', price: '' });\n _this.props.events.onToggleViewDropdownPanel('viewNewDealerItemForm');\n };\n\n var newItem = {\n index: -1,\n name: '',\n description: '',\n price: ''\n };\n\n if (typeof props.item !== 'undefined') {\n newItem = {\n name: props.item.name,\n description: props.item.description,\n price: props.item.price\n };\n }\n\n _this.state = newItem;\n\n _this.descriptionMaxLength = 256;\n\n return _this;\n }\n\n // React Lifecycle Methods /////////////////////////////////////////////////\n\n _createClass(NewItemForm, [{\n key: 'componentDidUpdate',\n value: function componentDidUpdate(oldProps, oldState) {\n if (JSON.stringify(oldProps.item) !== JSON.stringify(this.props.item)) {\n if (typeof this.props.item == 'undefined') {\n this.setState({\n index: -1,\n name: '',\n description: '',\n price: ''\n });\n } else {\n this.setState({\n index: this.props.item.index,\n name: this.props.item.name,\n description: this.props.item.description,\n price: this.props.item.price\n });\n }\n }\n }\n\n // Helper Functions ////////////////////////////////////////////////////////\n\n /**\r\n * @method getCharactersLeft - Returns the amount of characters left for the\r\n * description field.\r\n * @returns {number}\r\n */\n\n\n /**\r\n * @method isReadyToSubmit - Returns `true` if the name and price exist.\r\n * @returns {boolean}\r\n */\n\n\n // Event Handlers //////////////////////////////////////////////////////////\n\n /**\r\n * @method onChangeDescription - Triggered when user updates name field. If \r\n * the new value isn't bigger than the max character count allowed for the \r\n * description, it updates the state to match.\r\n * @param {Event} e\r\n * @returns {void}\r\n */\n\n\n /**\r\n * @method onChangeName - Triggered when user updates name field, updating \r\n * the state to match.\r\n * @param {Event} e\r\n * @returns {void}\r\n */\n\n\n /**\r\n * @method onChangePrice - Triggered when user updates the price field. Only \r\n * allows numbers.\r\n * @param {Event} e\r\n * @returns {void}\r\n */\n\n\n /**\r\n * @method onClickDelete - Triggered by user clicking delete button to empty \r\n * the existing form information and closing the form.\r\n * @param {Event} e\r\n * @returns {void}\r\n */\n\n\n /**\r\n * @method onClickSubmit - Triggered when user clicks the submit button, \r\n * sennding the dealer item information to the data store.\r\n * @param {Event} e\r\n * @returns {void}\r\n */\n\n }, {\n key: 'render',\n\n\n // Render //////////////////////////////////////////////////////////////////\n\n value: function render() {\n\n var isActive = this.props.ui.overview.viewNewDealerItemForm;\n\n if (!isActive) {\n return null;\n }\n\n var submitButtonText = this.state.index == -1 ? Dictionary.getValue('addItemToList', 'Add item to list') : Dictionary.getValue('editItem', 'Edit item');\n\n return React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__container' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__title' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega c_dropdown--overview__options__title__container' },\n React.createElement(\n 'div',\n null,\n React.createElement('img', { src: '/assets/configurator/shared/images/icon_check.svg', className: 'icon' }),\n React.createElement(\n 'span',\n { className: 'c_text--gray c_text--large' },\n Dictionary.getValue('dealerItem', 'Dealer item')\n )\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'c_dropdown--overview__options__add h--medium-margin-top' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--6' },\n React.createElement(\n 'div',\n { className: 'grid__row h--medium-margin-bottom' },\n React.createElement(\n 'fieldset',\n { className: 'c_form__fieldset c_form__entry' },\n React.createElement(\n 'label',\n { htmlFor: 'frm_name', className: 'c_form__label' },\n Dictionary.getValue('name', 'Name'),\n React.createElement(\n 'span',\n { className: 'c_text--blue' },\n '*'\n )\n ),\n React.createElement('input', {\n id: 'frm_name',\n name: 'name',\n className: 'c_form__field c_form__field--text c_form__field--alt',\n onChange: this.onChangeName,\n value: this.state.name,\n type: 'text'\n })\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid__row h--medium-margin-bottom' },\n React.createElement(\n 'fieldset',\n { className: 'c_form__fieldset c_form__entry' },\n React.createElement(\n 'label',\n { htmlFor: 'frm_name', className: 'c_form__label' },\n Dictionary.getValue('description', 'Description')\n ),\n React.createElement('textarea', {\n id: 'frm_name',\n name: 'name',\n className: 'c_form__field c_form__field--text c_form__field--alt',\n rows: '5',\n onChange: this.onChangeDescription,\n value: this.state.description\n }),\n React.createElement(\n 'small',\n {\n className: 'c_text--italic pull-right'\n },\n Dictionary.getValue('charactersLeft', 'Characters left'),\n ': ',\n React.createElement(\n 'span',\n { className: 'c_text--blue' },\n this.getCharactersLeft()\n )\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid__row h--medium-margin-bottom' },\n React.createElement(\n 'fieldset',\n { className: 'c_form__fieldset c_form__entry' },\n React.createElement(\n 'label',\n { htmlFor: 'frm_name', className: 'c_form__label' },\n Dictionary.getValue('price', 'Price'),\n React.createElement(\n 'span',\n { className: 'c_text--blue' },\n '*'\n )\n ),\n React.createElement(\n 'div',\n { className: 'c_form__field--addon__container' },\n React.createElement('input', {\n id: 'frm_price',\n name: 'price',\n required: '',\n className: 'c_form__field c_form__field--text c_form__field--alt',\n type: 'text',\n onChange: this.onChangePrice,\n value: this.state.price\n }),\n React.createElement(\n 'span',\n { className: 'c_form__field--addon' },\n Dictionary.getPriceSetting().currency\n )\n )\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'div',\n { className: 'grid__row h--medium-margin-top h--small-margin-bottom c_dropdown--overview__options__add__actions-container' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--6 grid--v-medium__col--12' },\n React.createElement('input', {\n className: \"c_button c_button--blue\" + (!this.isReadyToSubmit() ? ' c_button--disabled' : ''),\n value: submitButtonText,\n type: 'submit',\n disabled: !this.isReadyToSubmit(),\n onClick: this.onClickSubmit\n })\n ),\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--6 grid--v-medium__col--12 grid--v-large__col--omega c_dropdown__actions h--flex' },\n this.state.index == -1 && React.createElement(\n 'a',\n {\n href: '#',\n className: 'c_dropdown__actions--delete',\n onClick: this.onClickDelete\n },\n React.createElement(\n 'span',\n { className: 'c_dropdown__actions--delete_icon' },\n React.createElement('i', { className: 'icon icon--cross' })\n ),\n React.createElement(\n 'span',\n { className: 'c_dropdown__actions--delete_text c_link--alt' },\n ' ',\n Dictionary.getValue('deleteItem', 'Delete item')\n )\n )\n )\n )\n )\n )\n )\n );\n }\n }]);\n\n return NewItemForm;\n}(React.Component);\n\n;\n\nmodule.exports = NewItemForm;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/DealerItems/components/NewItemForm/NewItemForm.jsx\n// module id = 755\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/DealerItems/components/NewItemForm/NewItemForm.jsx?"); /***/ }), /* 756 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n// views\nvar Detail = __webpack_require__(757);\n\n/**\r\n * @const DetailsDropdown - One of the collapsable detail panels in the overview\r\n * step's details section.\r\n * @param {JSON} props \r\n * @returns {JSX.Element}\r\n */\nvar DetailsDropdown = function DetailsDropdown(props) {\n\n var dropdownClass = 'c_dropdown--alt c_dropdown--overview c_dropdown--bs' + (props.isActive ? ' c_dropdown--open' : '');\n var quantity = props.quantity !== '' ? '(' + props.quantity + ')' : '';\n var styleAsLink = { cursor: 'pointer' };\n\n return React.createElement(\n 'div',\n { className: dropdownClass },\n React.createElement(\n 'header',\n { className: 'c_dropdown__header--alt h--flexbox' },\n React.createElement(\n 'span',\n { className: 'c_dropdown__title c_text--blue', onClick: props.onClickToggle, style: styleAsLink },\n props.title,\n ' ',\n React.createElement(\n 'span',\n { className: 'c_text--dark-gray' },\n quantity\n )\n ),\n React.createElement(\n 'a',\n {\n href: '#',\n className: 'c_dropdown__trigger c_dropdown__trigger--blue c_dropdown__trigger--normal',\n onClick: props.onClickToggle\n },\n React.createElement(\n 'span',\n { className: 'c_text--blue ws-no-wrap' },\n Helpers.formatMoneyLocalized(props.price)\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'c_dropdown__content c_dropdown__content--alt c_dropdown__content--padded' },\n props.details.map(function (detail, index) {\n return React.createElement(Detail, {\n events: props.events,\n isCalcultor: props.isCalculator,\n key: 'detail-' + index,\n format: props.format,\n price: detail.price,\n subdetails: detail.subdetails,\n title: detail.title,\n available: detail.available,\n noPriceL10n: detail.noPriceL10n\n });\n }),\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__option__edit' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'a',\n {\n href: '#',\n className: 'c_dropdown--overview__option__edit__link',\n onClick: function onClick(e) {\n e.preventDefault();props.events.onChangeStep(props.editLinkStep);\n }\n },\n React.createElement('img', { src: '/assets/configurator/shared/images/edit--blue.svg', className: 'c_dropdown--overview__option__edit__icon' }),\n React.createElement(\n 'span',\n { className: 'c_dropdown--overview__option__edit__text' },\n props.editLinkText\n )\n )\n )\n )\n )\n );\n};\n\nmodule.exports = DetailsDropdown;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/DetailsDropdown/DetailsDropdown.jsx\n// module id = 756\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/DetailsDropdown/DetailsDropdown.jsx?"); /***/ }), /* 757 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// views\nvar Subdetail = __webpack_require__(758);\n\n// utils\nvar Helpers = __webpack_require__(21);\n\n/**\r\n * @method Detail\r\n * @param {JSON} props\r\n * @returns {JSX.Element}\r\n */\nvar Detail = function Detail(props) {\n\n var itemCount = props.subdetails.reduce(function (accumulator, subdetail) {\n return accumulator + subdetail.items.reduce(function (subAccumulator, item) {\n return item !== '' ? subAccumulator + 1 : subAccumulator;\n }, 0);\n }, 0);\n\n return React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__container' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__title c_dropdown--overview__options__title--default' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega c_dropdown--overview__options__title__container' },\n React.createElement(\n 'div',\n null,\n React.createElement('img', { src: '/assets/configurator/shared/images/icon_check.svg', className: 'icon' }),\n React.createElement(\n 'span',\n { className: 'c_text--gray c_text--large' },\n props.title\n )\n ),\n typeof props.price !== 'undefined' && React.createElement(\n 'span',\n { className: 'pull-right c_text--gray c_text--large c_dropdown--overview__options__price' },\n Helpers.formatMoneyLocalized(props.price)\n ),\n props.format.showPrices && typeof props.available !== 'undefined' && !props.available && props.noPriceL10n !== '' && React.createElement(\n 'span',\n { className: 'pull-right c_text--gray c_text--italic c_dropdown--overview__options__price' },\n props.noPriceL10n\n )\n )\n ),\n itemCount > 0 && React.createElement(\n 'div',\n { className: 'c_dropdown--overview__options__container__items' },\n props.subdetails.map(function (subdetail, index) {\n return React.createElement(Subdetail, {\n key: 'subdetail-' + index,\n title: subdetail.title,\n items: subdetail.items\n });\n })\n )\n )\n );\n};\n\nmodule.exports = Detail;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/DetailsDropdown/components/Detail/Detail.jsx\n// module id = 757\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/DetailsDropdown/components/Detail/Detail.jsx?"); /***/ }), /* 758 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\nvar Subdetail = function Subdetail(props) {\n\n var items = props.items.join(', ');\n\n return React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__option' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--11 grid--v-large__col--omega' },\n React.createElement(\n 'div',\n { className: 'c_dropdown--overview__option__text-container' },\n props.title !== '' && React.createElement(\n 'span',\n { className: 'c_text--gray c_dropdown--overview__option__title' },\n props.title\n ),\n items !== '' && React.createElement(\n 'span',\n { className: 'c_text--gray c_dropdown--overview__option__description' },\n items\n )\n )\n )\n );\n};\n\nmodule.exports = Subdetail;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/DetailsDropdown/components/Detail/components/Subdetail/Subdetail.jsx\n// module id = 758\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/DetailsDropdown/components/Detail/components/Subdetail/Subdetail.jsx?"); /***/ }), /* 759 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\nvar DiscountSection = function DiscountSection(props) {\n\n var className = 'c_dropdown--overview__options__details__container' + (props.isActive ? '' : ' toggle-inactive');\n\n return React.createElement(\n 'div',\n { className: className },\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__details__discount' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'span',\n { className: 'c_text--red-2 c_text--italic pull-right' },\n props.discount > 0 ? React.createElement(\n 'span',\n null,\n '- ',\n Helpers.formatMoneyLocalized(props.discount, true)\n ) : React.createElement(\n 'span',\n null,\n '\\xA0'\n )\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__details__discount__labels' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'span',\n { className: 'c_text--gray c_dropdown--overview__options__details__discount__title' },\n Dictionary.getValue('discount', 'Discount')\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement('input', {\n className: 'c_text--gray c_dropdown--overview__options__details__discount__label c_dropdown--overview__options__details__discount__label--small',\n value: props.percentage != 0 ? props.percentage : '',\n type: 'text',\n 'data-type': 'percentage',\n onChange: function onChange(e) {\n if (props.hasPrice) {\n props.onDiscountChange(e);\n } else {\n e.preventDefault();\n }\n },\n placeholder: '%'\n }),\n React.createElement('input', {\n className: 'c_text--gray c_dropdown--overview__options__details__discount__label',\n value: props.discount ? props.discount : '',\n type: 'text',\n 'data-type': 'amount',\n onChange: function onChange(e) {\n if (props.hasPrice) {\n props.onDiscountChange(e);\n } else {\n e.preventDefault();\n }\n },\n placeholder: Dictionary.getPriceSetting().currency\n })\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__details__discount__actions c_dropdown__actions' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'a',\n {\n href: '#',\n className: 'c_dropdown__actions--delete',\n onClick: function onClick(e) {\n e.preventDefault();\n props.onDiscountChange({\n preventDefault: function preventDefault() {},\n target: {\n 'value': '0%',\n getAttribute: function getAttribute() {\n return 'percentage';\n }\n }\n });\n }\n },\n React.createElement(\n 'span',\n { className: 'c_dropdown__actions--delete_icon' },\n React.createElement('i', { className: 'icon icon--cross' })\n ),\n React.createElement(\n 'span',\n { className: 'c_dropdown__actions--delete_text c_link--alt' },\n ' ',\n Dictionary.getValue('deleteDiscount', 'Delete discount')\n )\n )\n )\n )\n );\n};\n\nmodule.exports = DiscountSection;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/DiscountSection/DiscountSection.jsx\n// module id = 759\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/DiscountSection/DiscountSection.jsx?"); /***/ }), /* 760 */ /***/ (function(module, exports, __webpack_require__) { eval("\"use strict\";\n\nvar React = __webpack_require__(1);\n\n/**\r\n * @const PopupSlideshow - Renders the popup that displays a slideshow for a \r\n * category of details on the Overview step.\r\n * @param {JSON} props \r\n * @returns {JSX.Element}\r\n */\nvar PopupSlideshow = function PopupSlideshow(props) {\n return React.createElement(\n \"div\",\n { className: \"c_popup c_popup--slideshow\", id: \"popup-1-1\" },\n React.createElement(\n \"div\",\n { className: \"c_popup__header c_popup__header--half\" },\n React.createElement(\n \"a\",\n { href: \"#\", className: \"c_button c_popup__close\" },\n React.createElement(\"i\", { className: \"icon icon--cross\" }),\n \"Close\"\n ),\n React.createElement(\n \"div\",\n { className: \"c_popup__title c_text--left\" },\n \"Smart edition Co-pilot seat\"\n ),\n React.createElement(\n \"div\",\n { className: \"c_popup__slides__container owl-carousel owl-loaded owl-drag\", id: \"owl-carousel-1-1\" },\n React.createElement(\n \"div\",\n { className: \"owl-stage-outer\" },\n React.createElement(\n \"div\",\n { className: \"owl-stage\", style: { \"transform\": \"translate3d(0px, 0px, 0px)\", \"transition\": \"all 0s ease 0s\" } },\n React.createElement(\n \"div\",\n { className: \"owl-item\" },\n React.createElement(\"div\", { className: \"c_popup__slide\", style: { backgroundImage: \"url('https://placehold.it/1500x2000/&text=Slide 1-1-1')\" } })\n ),\n React.createElement(\n \"div\",\n { className: \"owl-item\" },\n React.createElement(\"div\", { className: \"c_popup__slide\", style: { backgroundImage: \"url('https://placehold.it/1600x4000/&text=Slide 1-1-2')\" } })\n ),\n React.createElement(\n \"div\",\n { className: \"owl-item\" },\n React.createElement(\"div\", { className: \"c_popup__slide\", style: { backgroundImage: \"url('https://placehold.it/1700x5000/&text=Slide 1-1-3')\" } })\n ),\n React.createElement(\n \"div\",\n { className: \"owl-item\" },\n React.createElement(\"div\", { className: \"c_popup__slide\", style: { backgroundImage: \"url('https://placehold.it/1800x3000/&text=Slide 1-1-4')\" } })\n ),\n React.createElement(\n \"div\",\n { className: \"owl-item\" },\n React.createElement(\"div\", { className: \"c_popup__slide\", style: { backgroundImage: \"url('https://placehold.it/1900x1000/&text=Slide 1-1-5')\" } })\n )\n )\n ),\n React.createElement(\n \"div\",\n { className: \"owl-dots\" },\n React.createElement(\n \"div\",\n { className: \"owl-dot active\" },\n React.createElement(\"span\", null)\n ),\n React.createElement(\n \"div\",\n { className: \"owl-dot\" },\n React.createElement(\"span\", null)\n ),\n React.createElement(\n \"div\",\n { className: \"owl-dot\" },\n React.createElement(\"span\", null)\n ),\n React.createElement(\n \"div\",\n { className: \"owl-dot\" },\n React.createElement(\"span\", null)\n ),\n React.createElement(\n \"div\",\n { className: \"owl-dot\" },\n React.createElement(\"span\", null)\n )\n )\n ),\n React.createElement(\n \"div\",\n { className: \"c_popup--slideshow__nav__container\" },\n React.createElement(\n \"div\",\n { className: \"c_popup--slideshow__nav c_popup--slideshow__nav--left\", id: \"nav-owl-carousel-1-1\" },\n React.createElement(\n \"div\",\n { className: \"owl-prev\" },\n React.createElement(\"img\", { className: \"c_popup--slideshow__nav__arrow c_popup--slideshow__nav__arrow--left\", src: \"/assets/configurator/shared/images/icon_arrow--left.svg\" })\n ),\n React.createElement(\n \"div\",\n { className: \"owl-next\" },\n React.createElement(\"img\", { className: \"c_popup--slideshow__nav__arrow c_popup--slideshow__nav__arrow--right\", src: \"/assets/configurator/shared/images/icon_arrow--right.svg\" })\n )\n ),\n React.createElement(\n \"div\",\n { className: \"c_popup--slideshow__nav c_popup--slideshow__nav--right\", id: \"nav-owl-carousel-1-1\" },\n React.createElement(\n \"div\",\n { className: \"owl-prev\" },\n React.createElement(\"img\", { className: \"c_popup--slideshow__nav__arrow c_popup--slideshow__nav__arrow--left\", src: \"/assets/configurator/shared/images/icon_arrow--left.svg\" })\n ),\n React.createElement(\n \"div\",\n { className: \"owl-next\" },\n React.createElement(\"img\", { className: \"c_popup--slideshow__nav__arrow c_popup--slideshow__nav__arrow--right\", src: \"/assets/configurator/shared/images/icon_arrow--right.svg\" })\n )\n )\n )\n ),\n React.createElement(\"div\", { className: \"c_popup__bg\" })\n );\n};\n\nmodule.exports = PopupSlideshow;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/PopupSlideshow/PopupSlideshow.jsx\n// module id = 760\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/PopupSlideshow/PopupSlideshow.jsx?"); /***/ }), /* 761 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n// views\nvar DropdownHeader = __webpack_require__(271);\nvar NewTradeInForm = __webpack_require__(762);\nvar TradeIn = __webpack_require__(763);\n\n/**\r\n * @const TradeIns - Renders the trade-ins dropdown for the calculator overview \r\n * step's details section.\r\n * @param {JSON} props \r\n * @returns {JSX.Element}\r\n */\nvar TradeIns = function TradeIns(props) {\n var isActive = props.ui.overview.viewTradeIns;\n var wrapperClass = 'c_dropdown--alt c_dropdown--overview c_dropdown--bs' + (isActive ? ' c_dropdown--open' : '');\n var total = props.submission.tradeIns.reduce(function (price, item) {\n return price += item.price;\n }, 0);\n var newTradeIn = props.tradeInToEditIndex > -1 ? props.submission.tradeIns[props.tradeInToEditIndex] : undefined;\n if (typeof newTradeIn !== 'undefined') {\n newTradeIn.index = props.tradeInToEditIndex;\n }\n\n return React.createElement(\n 'div',\n { className: wrapperClass },\n React.createElement(DropdownHeader, {\n titleKey: 'tradeIn',\n titleDefault: 'Trade-in',\n panelKey: 'viewTradeIns',\n price: total,\n events: props.events,\n itemCount: props.submission.tradeIns.length\n }),\n React.createElement(\n 'div',\n { className: 'c_dropdown__content c_dropdown__content--alt c_dropdown__content--padded' },\n React.createElement(NewTradeInForm, {\n events: props.events,\n tradeIn: newTradeIn,\n ui: props.ui\n }),\n props.submission.tradeIns.map(function (item, index) {\n return props.tradeInToEditIndex == index ? null : React.createElement(TradeIn, {\n key: \"trade-in-\" + index,\n events: props.events,\n item: item,\n index: index\n });\n }),\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__add-items__container' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12' },\n React.createElement(\n 'a',\n {\n href: '#',\n onClick: function onClick(e) {\n e.preventDefault();\n props.events.onToggleViewDropdownPanel('viewNewTradeInForm');\n }\n },\n React.createElement(\n 'div',\n { className: 'c_dropdown--overview__add-item' },\n React.createElement(\n 'span',\n { className: 'c_dropdown--overview__add-item__icon' },\n React.createElement('i', { className: 'icon icon--plus' })\n ),\n React.createElement(\n 'span',\n { className: 'c_dropdown--overview__add-item__text' },\n Dictionary.getValue('addItem', 'Add item')\n )\n )\n )\n )\n )\n )\n );\n};\n\nmodule.exports = TradeIns;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/TradeIns/TradeIns.jsx\n// module id = 761\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/TradeIns/TradeIns.jsx?"); /***/ }), /* 762 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\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 React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n/**\r\n * @const NewTradeInForm\r\n * @param {JSON} props \r\n */\n\nvar NewTradeInForm = function (_React$Component) {\n _inherits(NewTradeInForm, _React$Component);\n\n function NewTradeInForm(props) {\n _classCallCheck(this, NewTradeInForm);\n\n var _this = _possibleConstructorReturn(this, (NewTradeInForm.__proto__ || Object.getPrototypeOf(NewTradeInForm)).call(this, props));\n\n _this.getCharactersLeft = function () {\n return _this.descriptionMaxLength - _this.state.description.length;\n };\n\n _this.isReadyToSubmit = function () {\n return _this.state.name !== '' && _this.state.price !== '';\n };\n\n _this.onChangeDescription = function (e) {\n var value = e.target.value;\n if (value.length <= _this.descriptionMaxLength) {\n _this.setState({ description: value });\n }\n };\n\n _this.onChangeName = function (e) {\n var value = e.target.value;\n _this.setState({ name: value });\n };\n\n _this.onChangePrice = function (e) {\n var value = e.target.value;\n if (value !== '' && isNaN(value)) {\n e.preventDefault();\n } else {\n _this.setState({ price: value === '' ? '' : Number(value) });\n }\n };\n\n _this.onClickDelete = function (e) {\n e.preventDefault();\n _this.setState({ name: '', description: '', price: '' });\n _this.props.events.onToggleViewDropdownPanel('viewNewTradeInForm');\n };\n\n _this.onClickSubmit = function (e) {\n e.preventDefault();\n if (_this.state.index == -1) {\n _this.props.events.onAddTradeIn(_this.state.name, _this.state.description, _this.state.price);\n } else {\n _this.props.events.onUpdateTradeIn(_this.state.index, _this.state.name, _this.state.description, _this.state.price);\n }\n _this.setState({ index: -1, name: '', description: '', price: '' });\n _this.props.events.onToggleViewDropdownPanel('viewNewTradeInForm');\n };\n\n var newTradeIn = {\n index: -1,\n name: '',\n description: '',\n price: ''\n };\n\n if (typeof props.tradeIn !== 'undefined') {\n newTradeIn = {\n index: props.tradeIn.index,\n name: props.tradeIn.name,\n description: props.tradeIn.description,\n price: props.tradeIn.price\n };\n }\n\n _this.state = newTradeIn;\n\n _this.descriptionMaxLength = 256;\n\n return _this;\n }\n\n // React Lifecycle Methods /////////////////////////////////////////////////\n\n _createClass(NewTradeInForm, [{\n key: 'componentDidUpdate',\n value: function componentDidUpdate(oldProps, oldState) {\n if (JSON.stringify(oldProps.tradeIn) !== JSON.stringify(this.props.tradeIn)) {\n if (typeof this.props.tradeIn == 'undefined') {\n this.setState({\n index: -1,\n name: '',\n description: '',\n price: ''\n });\n } else {\n this.setState({\n index: this.props.tradeIn.index,\n name: this.props.tradeIn.name,\n description: this.props.tradeIn.description,\n price: this.props.tradeIn.price\n });\n }\n }\n }\n\n // Helper Functions ////////////////////////////////////////////////////////\n\n /**\r\n * @method getCharactersLeft - Returns the amount of characters left for the\r\n * description field.\r\n * @returns {number}\r\n */\n\n\n /**\r\n * @method isReadyToSubmit - Returns `true` if the name and price exist.\r\n * @returns {boolean}\r\n */\n\n\n // Event Handlers //////////////////////////////////////////////////////////\n\n /**\r\n * @method onChangeDescription - Triggered when user updates name field. If \r\n * the new value isn't bigger than the max character count allowed for the \r\n * description, it updates the state to match.\r\n * @param {Event} e\r\n * @returns {void}\r\n */\n\n\n /**\r\n * @method onChangeName - Triggered when user updates name field, updating \r\n * the state to match.\r\n * @param {Event} e\r\n * @returns {void}\r\n */\n\n\n /**\r\n * @method onChangePrice - Triggered when user updates the price field. Only \r\n * allows numbers.\r\n * @param {Event} e\r\n * @returns {void}\r\n */\n\n\n /**\r\n * @method onClickDelete - Triggered by user clicking delete button to empty \r\n * the existing form information and closing the form.\r\n * @param {Event} e\r\n * @returns {void}\r\n */\n\n\n /**\r\n * @method onClickSubmit - Triggered when user clicks the submit button, \r\n * sennding the dealer item information to the data store.\r\n * @param {Event} e\r\n * @returns {void}\r\n */\n\n }, {\n key: 'render',\n\n\n // Render //////////////////////////////////////////////////////////////////\n\n value: function render() {\n\n var isActive = this.props.ui.overview.viewNewTradeInForm;\n\n if (!isActive) {\n return null;\n }\n\n var submitButtonText = this.state.index == -1 ? Dictionary.getValue('addItemToList', 'Add item to list') : Dictionary.getValue('editItem', 'Edit item');\n\n return React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__container' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__title' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega c_dropdown--overview__options__title__container' },\n React.createElement(\n 'div',\n null,\n React.createElement('img', { src: '/assets/configurator/shared/images/icon_check.svg', className: 'icon' }),\n React.createElement(\n 'span',\n { className: 'c_text--gray c_text--large' },\n Dictionary.getValue('tradeIn', 'Trade-in')\n )\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'c_dropdown--overview__options__add h--medium-margin-top' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--6' },\n React.createElement(\n 'div',\n { className: 'grid__row h--medium-margin-bottom' },\n React.createElement(\n 'fieldset',\n { className: 'c_form__fieldset c_form__entry' },\n React.createElement(\n 'label',\n { htmlFor: 'frm_name', className: 'c_form__label' },\n Dictionary.getValue('name', 'Name'),\n React.createElement(\n 'span',\n { className: 'c_text--blue' },\n '*'\n )\n ),\n React.createElement('input', {\n id: 'frm_name',\n name: 'name',\n className: 'c_form__field c_form__field--text c_form__field--alt',\n onChange: this.onChangeName,\n value: this.state.name,\n type: 'text'\n })\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid__row h--medium-margin-bottom' },\n React.createElement(\n 'fieldset',\n { className: 'c_form__fieldset c_form__entry' },\n React.createElement(\n 'label',\n { htmlFor: 'frm_name', className: 'c_form__label' },\n Dictionary.getValue('description', 'Description')\n ),\n React.createElement('textarea', {\n id: 'frm_name',\n name: 'name',\n className: 'c_form__field c_form__field--text c_form__field--alt',\n rows: '5',\n onChange: this.onChangeDescription,\n value: this.state.description\n }),\n React.createElement(\n 'small',\n {\n className: 'c_text--italic pull-right'\n },\n Dictionary.getValue('charactersLeft', 'Characters left'),\n ': ',\n React.createElement(\n 'span',\n { className: 'c_text--blue' },\n this.getCharactersLeft()\n )\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid__row h--medium-margin-bottom' },\n React.createElement(\n 'fieldset',\n { className: 'c_form__fieldset c_form__entry' },\n React.createElement(\n 'label',\n { htmlFor: 'frm_name', className: 'c_form__label' },\n Dictionary.getValue('price', 'Price'),\n React.createElement(\n 'span',\n { className: 'c_text--blue' },\n '*'\n )\n ),\n React.createElement(\n 'div',\n { className: 'c_form__field--addon__container' },\n React.createElement('input', {\n id: 'frm_price',\n name: 'price',\n required: '',\n className: 'c_form__field c_form__field--text c_form__field--alt',\n type: 'text',\n onChange: this.onChangePrice,\n value: this.state.price\n }),\n React.createElement(\n 'span',\n { className: 'c_form__field--addon' },\n Dictionary.getPriceSetting().currency\n )\n )\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'div',\n { className: 'grid__row h--medium-margin-top h--small-margin-bottom c_dropdown--overview__options__add__actions-container' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--6 grid--v-medium__col--12' },\n React.createElement('input', {\n className: \"c_button c_button--blue\" + (!this.isReadyToSubmit() ? ' c_button--disabled' : ''),\n value: submitButtonText,\n type: 'submit',\n disabled: !this.isReadyToSubmit(),\n onClick: this.onClickSubmit\n })\n ),\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--6 grid--v-medium__col--12 grid--v-large__col--omega c_dropdown__actions h--flex' },\n this.state.index == -1 && React.createElement(\n 'a',\n {\n href: '#',\n className: 'c_dropdown__actions--delete',\n onClick: this.onClickDelete\n },\n React.createElement(\n 'span',\n { className: 'c_dropdown__actions--delete_icon' },\n React.createElement('i', { className: 'icon icon--cross' })\n ),\n React.createElement(\n 'span',\n { className: 'c_dropdown__actions--delete_text c_link--alt' },\n ' ',\n Dictionary.getValue('deleteItem', 'Delete item')\n )\n )\n )\n )\n )\n )\n )\n );\n }\n }]);\n\n return NewTradeInForm;\n}(React.Component);\n\n;\n\nmodule.exports = NewTradeInForm;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/TradeIns/components/NewTradeInForm/NewTradeInForm.jsx\n// module id = 762\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/TradeIns/components/NewTradeInForm/NewTradeInForm.jsx?"); /***/ }), /* 763 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n/**\r\n * @const TradeIn - Renders a single trade-in line item in the calculator \r\n * overview's trade-ins section.\r\n * @param {JSON} props \r\n * @returns {JSX.Element}\r\n */\nvar TradeIn = function TradeIn(props) {\n var item = props.item;\n\n return React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__container c_dropdown--overview__options__container--gray c_dropdown--overview__options__container--no-content' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega' },\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__title' },\n React.createElement(\n 'div',\n {\n className: 'grid--v-large__col--12 grid--v-large__col--omega c_dropdown--overview__options__title__container',\n onDoubleClick: function onDoubleClick(e) {\n props.events.onEditTradeInClick(props.index);\n }\n },\n React.createElement(\n 'div',\n null,\n React.createElement('img', { src: '/assets/configurator/shared/images/icon_check.svg', className: 'icon' }),\n React.createElement(\n 'span',\n { className: 'c_text--gray c_text--large' },\n item.name\n )\n ),\n React.createElement(\n 'span',\n { className: 'pull-right c_text--gray c_text--large c_dropdown--overview__options__price' },\n Helpers.formatMoneyLocalized(item.price, true)\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid__row c_dropdown--overview__options__details' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--10 c_dropdown--overview__options__details__text' },\n item.description\n ),\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--2 grid--v-large__col--omega c_dropdown__actions' },\n React.createElement(\n 'a',\n {\n href: '#',\n className: 'c_dropdown__actions--delete',\n onClick: function onClick(e) {\n e.preventDefault();\n props.events.onDeleteTradeIn(props.index);\n }\n },\n React.createElement(\n 'span',\n { className: 'c_dropdown__actions--delete_icon' },\n React.createElement('i', { className: 'icon icon--cross' })\n ),\n React.createElement(\n 'span',\n { className: 'c_dropdown__actions--delete_text c_link--alt' },\n ' ',\n Dictionary.getValue('deleteItem', 'Delete item')\n )\n )\n )\n )\n )\n );\n};\n\nmodule.exports = TradeIn;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/TradeIns/components/TradeIn/TradeIn.jsx\n// module id = 763\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/ClientForm/components/OverviewDetails/components/TradeIns/components/TradeIn/TradeIn.jsx?"); /***/ }), /* 764 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n// views\nvar SelectedItems = __webpack_require__(765);\nvar SummaryDivider = __webpack_require__(766);\nvar SummaryRow = __webpack_require__(369);\n\n/**\r\n * @const Summary - The summary section that appears at the top of the Overview \r\n * step.\r\n * @param {JSON} props \r\n * @returns {JSX.Element}\r\n */\nvar Summary = function Summary(props) {\n\n var step = props.step;\n var boat = props.boat;\n var format = props.format;\n var submission = props.submission;\n var viewDetailsButtonClass = props.ui.overview.viewAllDetails ? 'toggle-active' : 'toggle-inactive';\n var overrides = props.submission.priceOverride;\n var prices = Helpers.getPricesAfterOverrides(submission, overrides);\n var discount = Helpers.getDiscountTotals(submission);\n var totals = Helpers.calculateSummaryTotals(submission, overrides);\n\n var calculator = !props.ui.configurator;\n\n var onClickViewAllDetails = function onClickViewAllDetails(e) {\n e.preventDefault();\n props.events.onToggleViewAllDetails();\n };\n\n return React.createElement(\n 'div',\n { className: 'grid__container box--summary' },\n React.createElement(\n 'div',\n { className: 'h--flexbox hidden-xs hidden-sm' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12 grid--v-large__col--omega h--large-padding-top' },\n React.createElement(\n 'div',\n { className: 'c_title-medium c_text--uppercase h--medium-margin-bottom' },\n Dictionary.getValue('overviewTitle', 'Overview')\n ),\n React.createElement('p', { className: 'c_text--gray c_overview__page-description', dangerouslySetInnerHTML: { __html: step.text } })\n )\n ),\n React.createElement(\n 'div',\n { className: 'h--flexbox c_overview' },\n React.createElement('div', { className: 'grid--v-large__col--6 grid--v-medium__col--12 c_overview__product-image grid--v-large__col--omega grid--v-medium__col--omega', style: { backgroundImage: \"url('\" + boat.image + \"')\" } }),\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--6 grid--v-medium__col--12 c_overview__pricing grid--v-large__col--omega grid--v-medium__col--omega' },\n React.createElement(\n 'span',\n { className: 'c_text--blue c_title-2 c_overview__pricing__title' },\n boat.name\n ),\n React.createElement(SummaryRow, {\n entry: submission.engine.name,\n price: prices.engine,\n format: format,\n ui: props.ui\n }),\n React.createElement(SelectedItems, {\n title: Dictionary.getValue('selectedPacks', 'selected packs'),\n items: prices.packs.map(function (pack) {\n return { price: pack };\n }),\n format: format,\n ui: props.ui\n }),\n React.createElement(SelectedItems, {\n title: Dictionary.getValue('selectedOptions', 'selected options'),\n items: prices.options.map(function (option) {\n return { price: option };\n }),\n format: format,\n ui: props.ui\n }),\n submission.dealerItems.length > 0 && React.createElement(SelectedItems, {\n title: Dictionary.getValue('dealerItems', 'Dealer items'),\n items: submission.dealerItems,\n format: format,\n ui: props.ui\n }),\n React.createElement(SummaryDivider, null),\n (submission.tradeIns.length > 0 || discount > 0) && React.createElement(\n 'div',\n null,\n submission.tradeIns.length > 0 && React.createElement(SummaryRow, {\n entry: Dictionary.getValue('tradeIn', 'trade-in'),\n format: format,\n price: submission.tradeIns.reduce(function (total, tradeIn) {\n return total + tradeIn.price;\n }, 0),\n useGreenCheck: true,\n ui: props.ui\n }),\n discount > 0 && React.createElement(SummaryRow, {\n entry: Dictionary.getValue('discount', 'Discount'),\n format: format,\n price: discount,\n useGreenCheck: true,\n ui: props.ui\n }),\n React.createElement(SummaryDivider, null)\n ),\n React.createElement(\n 'div',\n null,\n submission.freight.price > 0 && React.createElement(\n 'div',\n null,\n React.createElement(SummaryRow, {\n entry: Dictionary.getValue('freight', 'Freight'),\n price: submission.freight.price,\n format: format,\n ui: props.ui\n }),\n React.createElement(SummaryDivider, null)\n ),\n (calculator || props.format.showPrices) && React.createElement(SummaryRow, {\n entry: Dictionary.getValue('priceExVat', 'Price without VAT'),\n price: totals.priceWithoutVat,\n format: format,\n ui: props.ui\n }),\n (calculator || props.format.showPrices) && React.createElement(SummaryRow, {\n entry: Dictionary.getValue('vatInfo', 'VAT'),\n price: totals.vat,\n format: format,\n ui: props.ui\n }),\n (calculator || props.format.showPrices) && React.createElement(SummaryDivider, null),\n (calculator || props.format.showPrices) && React.createElement(SummaryRow, {\n entry: Dictionary.getValue('priceIncVatInfo', 'Price including VAT'),\n price: totals.priceIncludingVat,\n format: format,\n ui: props.ui\n })\n ),\n React.createElement(\n 'a',\n {\n href: '#',\n className: viewDetailsButtonClass + \" c_button c_button--red c_button--red--icon c_overview__pricing__button toggleDetailsVisibility\",\n onClick: onClickViewAllDetails\n },\n React.createElement(\n 'span',\n { className: 'c_overview__pricing__button__hide' },\n Dictionary.getValue('hideDetails', 'Hide all details')\n ),\n React.createElement(\n 'span',\n { className: 'c_overview__pricing__button__show' },\n Dictionary.getValue('showDetails', 'Show all details')\n ),\n React.createElement('i', { className: 'icon icon--arrow-up c_overview__pricing__button__hide' }),\n React.createElement('i', { className: 'icon icon--arrow-down c_overview__pricing__button__show' })\n )\n )\n )\n );\n};\n\nmodule.exports = Summary;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/Summary/Summary.jsx\n// module id = 764\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/Summary/Summary.jsx?"); /***/ }), /* 765 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// views\nvar SummaryRow = __webpack_require__(369);\n\n/**\r\n * @method SelectedItems - A row in the Summary table for showing the totals for \r\n * a given type of selected items (such as packs or options)\r\n * @param {JSON} props \r\n * @returns {JSX.Element}\r\n */\nvar SelectedItems = function SelectedItems(props) {\n var items = props.items;\n\n if (items.length < 1) {\n return null;\n }\n\n var getTotal = function getTotal() {\n var total = 0;\n items.forEach(function (item) {\n total += Number(item.price);\n });\n return total;\n };\n\n return React.createElement(SummaryRow, {\n entry: '+ ' + props.title + ' (' + items.length + ')',\n price: getTotal(),\n format: props.format,\n ui: props.ui\n });\n};\n\nmodule.exports = SelectedItems;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/Summary/components/SelectedItems/SelectedItems.jsx\n// module id = 765\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/Summary/components/SelectedItems/SelectedItems.jsx?"); /***/ }), /* 766 */ /***/ (function(module, exports, __webpack_require__) { eval("\"use strict\";\n\nvar React = __webpack_require__(1);\n\nvar SummaryDivider = function SummaryDivider(props) {\n return React.createElement(\n \"div\",\n { className: \"h--flexbox c_overview__pricing__record\" },\n React.createElement(\n \"div\",\n { className: \"grid--v-large__col--12\" },\n React.createElement(\"hr\", { className: \"c_overview__pricing__divider\" })\n )\n );\n};\n\nmodule.exports = SummaryDivider;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Overview/components/Summary/components/SummaryDivider/SummaryDivider.jsx\n// module id = 766\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Overview/components/Summary/components/SummaryDivider/SummaryDivider.jsx?"); /***/ }), /* 767 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\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 React = __webpack_require__(1);\nvar OwlCarousel = __webpack_require__(131);\nvar Store = __webpack_require__(73);\n\n// utils\nvar Dictionary = __webpack_require__(12);\n\n// views\nvar NavButton = __webpack_require__(768);\n\n/**\r\n * @const PopupGallery\r\n * @param {JSON} props \r\n * @returns {JSX.Element}\r\n */\n\nvar PopupGallery = function (_React$Component) {\n _inherits(PopupGallery, _React$Component);\n\n function PopupGallery(props) {\n _classCallCheck(this, PopupGallery);\n\n var _this = _possibleConstructorReturn(this, (PopupGallery.__proto__ || Object.getPrototypeOf(PopupGallery)).call(this, props));\n\n _this.getCurrentItemName = function () {\n var items = _this.props.popup.items;\n\n if (_this.galleryRef) {\n if (_this.galleryRef.currentPosition) {\n if (items && items[_this.galleryRef.currentPosition]) {\n return items[_this.galleryRef.currentPosition].name ? items[_this.galleryRef.currentPosition].name : '';\n }\n }\n }\n return items.length > 0 ? items[0].name : '';\n };\n\n _this.onCloseClick = function (e) {\n if (_this.props.onCloseClick) {\n _this.props.onCloseClick();\n }\n };\n\n _this.onFooterClick = function (index) {\n _this.galleryRef.goTo(index);\n _this.footerRef.goTo(index);\n _this.setState({ currentSlide: index + 1 });\n };\n\n _this.onNextClick = function (e) {\n _this.galleryRef.next();\n _this.footerRef.next();\n _this.setState({ currentSlide: _this.galleryRef.currentPosition + 1 });\n };\n\n _this.onPrevClick = function (e) {\n _this.galleryRef.prev();\n _this.footerRef.prev();\n _this.setState({ currentSlide: _this.galleryRef.currentPosition + 1 });\n };\n\n _this.galleryOptions = {\n items: 1,\n slideBy: 1,\n loop: false,\n dots: false,\n nav: false,\n lazyLoad: false\n };\n\n _this.footerOptions = {\n autoWidth: true,\n slideBy: 1,\n items: 20,\n loop: false,\n dots: false,\n nav: false,\n margin: 20,\n lazyLoad: false\n };\n\n _this.state = {\n currentSlide: 1\n };\n\n return _this;\n }\n\n // React Lifecycle Methods /////////////////////////////////////////////////\n\n _createClass(PopupGallery, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n if (this.galleryRef) {\n this.galleryRef.goTo(this.props.popup.startingIndex);\n }\n if (this.footerRef) {\n this.footerRef.goTo(this.props.popup.startingIndex);\n }\n this.setState({ currentSlide: this.props.popup.startingIndex + 1 });\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate(oldProps, oldState) {\n if (!oldProps.popup.isActive && this.props.popup.isActive) {\n if (this.galleryRef) {\n this.galleryRef.goTo(this.props.popup.startingIndex);\n }\n if (this.footerRef) {\n this.footerRef.goTo(this.props.popup.startingIndex);\n }\n this.setState({ currentSlide: this.props.popup.startingIndex + 1 });\n }\n }\n\n // Helper Functions ////////////////////////////////////////////////////////\n\n /**\r\n * @method getCurrentItemName Returns the currently selected gallery item's \r\n * name, if it exists, otherwise returns an empty string.\r\n * @returns {string}\r\n */\n\n\n // Event Handlers //////////////////////////////////////////////////////////\n\n /**\r\n * @method onCloseClick Triggers props.onCloseClick if it exists.\r\n * @param {Event} e\r\n * @returns {void}\r\n */\n\n\n /**\r\n * @method onFooterClick Triggered when footer slide clicked and rotates \r\n * slides to that slide.\r\n * @param {number} index\r\n * @returns {void}\r\n */\n\n\n /**\r\n * @method onNextClick Slides the gallery to the next (on the right) slide in the \r\n * gallery.\r\n * @param {Event} e\r\n * @returns {false}\r\n */\n\n\n /**\r\n * @method onPrevClick Slides the gallery to the previous (on the left) slide in \r\n * the gallery.\r\n * @param {Event} e\r\n * @returns {false}\r\n */\n\n }, {\n key: 'render',\n\n\n // Render //////////////////////////////////////////////////////////////////\n\n value: function render() {\n var _this2 = this;\n\n var items = this.props.popup.items;\n\n if (!items || items.length < 1) {\n return null;\n }\n var activeClass = this.props.popup.isActive ? 'toggle-active' : 'toggle-inactive';\n var currentItemName = this.getCurrentItemName();\n //const style = this.props.step === 1 ? {height: '14vh'} : this.props.step === 4 ? {height: '15vh'} : {height: '12vh'};\n\n return React.createElement(\n 'div',\n { className: \"c_img-slider \" + activeClass },\n React.createElement('div', { className: \"c_img-slider__bg \" + activeClass + \" slider--background-screen\" }),\n React.createElement(\n 'div',\n { className: 'c_img-slider__header' },\n React.createElement(\n 'span',\n { className: 'c_img-slider__header__title' },\n currentItemName\n ),\n React.createElement(\n 'div',\n {\n className: 'c_img-slider__header__close toggle-inactive',\n onClick: this.onCloseClick\n },\n React.createElement('i', { className: 'icon icon--cross' }),\n React.createElement(\n 'span',\n null,\n Dictionary.getValue('close', 'Close')\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'c_img-slider__body' },\n React.createElement(NavButton, { brand: this.props.brand, direction: 'left', onClick: this.onPrevClick }),\n React.createElement(\n OwlCarousel,\n {\n options: this.galleryOptions,\n className: 'c_img-slider__body__carousel owl-carousel',\n ref: function ref(elem) {\n return _this2.galleryRef = elem;\n }\n },\n items.map(function (item, index) {\n return React.createElement(\n 'div',\n {\n className: 'c_img-slider__body__carousel__slide',\n key: 'carousel-slide-' + index\n },\n React.createElement('img', { src: item.image.imageUrl, alt: item.imageDescription })\n );\n })\n ),\n React.createElement(NavButton, { brand: this.props.brand, direction: 'right', onClick: this.onNextClick })\n ),\n React.createElement(\n 'div',\n { className: 'c_img-slider__footer' },\n React.createElement(\n 'div',\n { className: 'c_img-slider__footer__top-bar' },\n React.createElement(\n 'div',\n { className: 'c_img-slider__footer__slide-counter' },\n React.createElement(\n 'span',\n { className: 'c_img-slider__footer__slide-counter__current-slide' },\n this.state.currentSlide\n ),\n React.createElement(\n 'span',\n { className: 'c_img-slider__footer__slide-counter__seperator' },\n '/'\n ),\n React.createElement(\n 'span',\n { className: 'c_img-slider__footer__slide-counter__total-slides' },\n items.length\n )\n )\n ),\n React.createElement(\n 'style',\n null,\n '\\n .c_img-slider__footer__images .owl-stage-outer .owl-stage {\\n width: 100100px !important;\\n }\\n '\n ),\n React.createElement(\n OwlCarousel,\n {\n options: this.footerOptions,\n className: 'c_img-slider__footer__images owl-carousel',\n ref: function ref(elem) {\n return _this2.footerRef = elem;\n }\n },\n items.map(function (item, index) {\n var isCurrentSlide = index == _this2.state.currentSlide - 1;\n return React.createElement('img', {\n alt: item.imageDescription,\n className: \"c_img-slider__footer__images__image\" + (isCurrentSlide ? \" active\" : \"\"),\n key: 'carousel-footer-slide-' + index,\n onClick: function onClick(e) {\n _this2.onFooterClick(index);\n },\n src: item.image.imageUrl\n //style={style} \n });\n })\n )\n )\n );\n }\n }]);\n\n return PopupGallery;\n}(React.Component);\n\n;\n\nmodule.exports = PopupGallery;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/PopupGallery/PopupGallery.jsx\n// module id = 767\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/PopupGallery/PopupGallery.jsx?"); /***/ }), /* 768 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n/**\r\n * @const NavButton\r\n * @param {JSON} props \r\n */\nvar NavButton = function NavButton(props) {\n\n var shapeClass = props.direction == 'left' ? 'owl-prev' : 'owl-next';\n if (props.isDisabled) {\n shapeClass += ' disabled';\n }\n\n return React.createElement(\n 'div',\n {\n className: \"c_img-slider__body__arrow-container c_img-slider__body__arrow-container--\" + props.direction,\n onClick: props.onClick\n },\n React.createElement(\n 'div',\n { className: shapeClass },\n React.createElement('img', { className: 'c_img-slider__body__arrow', src: '/assets/' + props.brand + '/default/images/icon_arrow--' + props.direction + '.svg' })\n )\n );\n};\n\nmodule.exports = NavButton;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/PopupGallery/components/NavButton/NavButton.jsx\n// module id = 768\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/PopupGallery/components/NavButton/NavButton.jsx?"); /***/ }), /* 769 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\nvar Helpers = __webpack_require__(21);\n\nvar PriceTable = __webpack_require__(770);\n\n/**\r\n * @function Sidebar\r\n * @returns {JSX.Element}\r\n */\nvar Sidebar = function Sidebar(props) {\n\n\tvar isBoat = typeof props.boat !== 'undefined';\n\tvar configurationSelected = props.selectedConfig !== 0;\n\n\tvar isInternational = props.ui.international; // window.location.pathname.indexOf('/int/') > -1;\n\tvar hidePrice = isInternational || (typeof props.hidePrice !== 'undefined' ? props.hidePrice : false);\n\n\treturn React.createElement(\n\t\t'div',\n\t\t{ className: 'grid--v-large__col--4 grid--v-large__col--omega' },\n\t\tReact.createElement(\n\t\t\t'aside',\n\t\t\t{ className: 'c_aside c_aside--preset' },\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'container-fluid' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'row c_overview' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'col-lg-12 col-md-12 col-sm-5 col-xs-12 visible-xs h--medium-padding-top h--medium-padding-left' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'strong',\n\t\t\t\t\t\t\t{ className: 'c_title-2 c_text--blue' },\n\t\t\t\t\t\t\tisBoat ? props.boat.name : ''\n\t\t\t\t\t\t)\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\tisBoat && React.createElement('img', {\n\t\t\t\t\t\t\tclassName: 'c_aside__preview--preset',\n\t\t\t\t\t\t\tsrc: props.boat.image,\n\t\t\t\t\t\t\talt: props.boat.name,\n\t\t\t\t\t\t\ttitle: props.boat.name\n\t\t\t\t\t\t})\n\t\t\t\t\t),\n\t\t\t\t\tisBoat && React.createElement(PriceTable, {\n\t\t\t\t\t\tboat: props.boat,\n\t\t\t\t\t\tconfigurationSelected: configurationSelected,\n\t\t\t\t\t\tdictionary: props.dictionary,\n\t\t\t\t\t\tformat: props.format,\n\t\t\t\t\t\thidePrice: hidePrice,\n\t\t\t\t\t\tstep: props.step,\n\t\t\t\t\t\tsubmission: props.submission,\n\t\t\t\t\t\ttotals: props.totals\n\t\t\t\t\t})\n\t\t\t\t)\n\t\t\t)\n\t\t)\n\t);\n};\n\nSidebar.getDefaultProps = {\n\tboat: {\n\t\timage: '',\n\t\tname: ''\n\t},\n\tdictionary: []\n};\n\nmodule.exports = Sidebar;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Sidebar/Sidebar.jsx\n// module id = 769\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Sidebar/Sidebar.jsx?"); /***/ }), /* 770 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Helpers = __webpack_require__(21);\n\n// view\nvar Divider = __webpack_require__(771);\nvar PriceRow = __webpack_require__(772);\n\n/**\r\n * @function PriceTable\r\n */\nvar PriceTable = function PriceTable(props) {\n var boat = props.boat;\n var dictionary = props.dictionary;\n var engine = props.submission.engine;\n var format = props.format;\n var freight = props.submission.freight;\n var submission = props.submission;\n\n var engineChoosen = submission.engine && submission.engine !== '-1' && submission.engine !== '';\n\n var renderCombinedDiscount = function renderCombinedDiscount(items, format) {\n var total = 0;\n if (items && items.length > 0) {\n items.forEach(function (item) {\n if (item.discount) {\n total += item.discount.amount == '' ? 0 : parseFloat(item.amount);\n }\n });\n if (total > 0) {\n return React.createElement(PriceRow, { text: '', price: -total, format: format, hidePrice: props.hidePrice });\n }\n }\n return null;\n };\n\n var renderCombinedPrice = function renderCombinedPrice(prefix, text, items, format) {\n var total = 0;\n if (items && items.length > 0) {\n items.forEach(function (item) {\n total += item.price;\n });\n } else {\n return null;\n }\n return React.createElement(PriceRow, { text: prefix + text + ' (' + items.length + ')', price: total, format: format, hidePrice: props.hidePrice });\n };\n\n return React.createElement(\n 'div',\n { className: 'col-lg-12 col-md-12 col-sm-5 col-xs-12 hidden-xs h--medium-padding-top h--medium-padding-left c_overview__pricing' },\n React.createElement(\n 'strong',\n { className: 'c_title-2 c_text--blue' },\n props.boat.name\n ),\n props.step.stepNumber > 1 && props.configurationSelected && engineChoosen && React.createElement(\n 'div',\n null,\n React.createElement(PriceRow, { text: engine.name, price: engine.price, format: format, hidePrice: props.hidePrice }),\n engine.discount && engine.discount.amount > 0 && React.createElement(PriceRow, {\n text: '-' + engine.discount.percent + '%',\n price: engine.discount.amount,\n format: format,\n hidePrice: props.hidePrice\n }),\n renderCombinedPrice('+ ', dictionary.selectedPacks, submission.packs, format),\n renderCombinedDiscount(submission.packs, format),\n renderCombinedPrice('+ ', dictionary.selectedOptions, submission.options, format),\n renderCombinedDiscount(submission.options, format),\n React.createElement(Divider, null),\n renderCombinedPrice('', dictionary.extras, submission.extras, format),\n renderCombinedDiscount(submission.extras, format),\n Helpers.shouldShowPrice() && freight && freight.price > 0 && React.createElement(PriceRow, { text: dictionary.freight, price: freight.price, format: format, hidePrice: props.hidePrice }),\n Helpers.shouldShowPrice() && freight.discount && freight.discount.amount > 0 && React.createElement(Price, {\n text: '-' + freight.discount.percent + '%',\n price: freight.discount.amount,\n format: format,\n hidePrice: props.hidePrice\n }),\n Helpers.shouldShowPrice() && freight && freight.price > 0 && React.createElement(Divider, null),\n Helpers.shouldShowPrice() && submission.total > 0 && React.createElement(\n 'div',\n null,\n React.createElement(PriceRow, {\n text: dictionary.priceExVat,\n price: submission.subtotal,\n format: format,\n hidePrice: props.hidePrice\n }),\n submission.discountVat > 0 && React.createElement(PriceRow, { text: '', price: -submission.discountVat, format: format, hidePrice: props.hidePrice }),\n React.createElement(PriceRow, { text: dictionary.vatInfo, price: submission.vat, format: format, hidePrice: props.hidePrice }),\n React.createElement(Divider, null)\n ),\n Helpers.shouldShowPrice() && submission.totalRedeems && submission.totalRedeems > 0 && React.createElement(\n 'div',\n null,\n React.createElement(PriceRow, {\n text: dictionary.subtotal,\n price: submission.total,\n format: format,\n hidePrice: props.hidePrice\n }),\n React.createElement(PriceRow, {\n text: dictionary.redeems,\n price: -submission.totalRedeems,\n format: format,\n hidePrice: props.hidePrice\n })\n ),\n Helpers.shouldShowPrice() && submission.total > 0 && React.createElement(PriceRow, {\n text: dictionary.priceIncVatInfo,\n price: submission.total - submission.totalRedeems,\n format: format,\n bold: true,\n hidePrice: props.hidePrice\n })\n )\n );\n};\n\nmodule.exports = PriceTable;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Sidebar/components/PriceTable/PriceTable.jsx\n// module id = 770\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Sidebar/components/PriceTable/PriceTable.jsx?"); /***/ }), /* 771 */ /***/ (function(module, exports, __webpack_require__) { eval("\"use strict\";\n\nvar React = __webpack_require__(1);\n\n/**\r\n * @function Divider\r\n * @param {JSON} props\r\n * @returns {JSX.Element}\r\n */\nvar Divider = function Divider(props) {\n\treturn React.createElement(\n\t\t\"div\",\n\t\t{ className: \"h--flexbox c_overview__pricing__record\" },\n\t\tReact.createElement(\n\t\t\t\"div\",\n\t\t\t{ className: \"grid--v-large__col--12\" },\n\t\t\tReact.createElement(\"hr\", { className: \"c_overview__pricing__divider\" })\n\t\t)\n\t);\n};\n\nmodule.exports = Divider;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Sidebar/components/PriceTable/components/Divider/Divider.jsx\n// module id = 771\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Sidebar/components/PriceTable/components/Divider/Divider.jsx?"); /***/ }), /* 772 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Helpers = __webpack_require__(21);\n\n/**\r\n * @method PriceRow\r\n * @param {JSON} props\r\n * @returns {JSX.Element}\r\n */\nvar PriceRow = function PriceRow(props) {\n\tvar format = props.format;\n\tif (typeof format == 'undefined') {\n\t\treturn null;\n\t}\n\tvar bold = props.bold;\n\tif (bold === 'undefined') {\n\t\tbold = false;\n\t}\n\n\treturn React.createElement(\n\t\t'div',\n\t\t{ className: 'row c_overview__pricing__record' },\n\t\tReact.createElement(\n\t\t\t'div',\n\t\t\t{ className: 'col-xs-8' },\n\t\t\tbold ? React.createElement(\n\t\t\t\t'strong',\n\t\t\t\t{ className: 'c_text--medium' },\n\t\t\t\tprops.text\n\t\t\t) : React.createElement(\n\t\t\t\t'span',\n\t\t\t\t{ className: 'c_text--medium' },\n\t\t\t\tprops.text\n\t\t\t)\n\t\t),\n\t\tReact.createElement(\n\t\t\t'div',\n\t\t\t{ className: 'col-xs-4 c_text--right' },\n\t\t\t!props.hidePrice && (bold ? React.createElement(\n\t\t\t\t'strong',\n\t\t\t\t{ className: 'c_text--medium ws-no-wrap' },\n\t\t\t\tHelpers.formatMoneyLocalized(props.price)\n\t\t\t) : React.createElement(\n\t\t\t\t'span',\n\t\t\t\t{ className: 'c_text--medium ws-no-wrap' },\n\t\t\t\tHelpers.formatMoneyLocalized(props.price)\n\t\t\t))\n\t\t)\n\t);\n};\n\nmodule.exports = PriceRow;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/Sidebar/components/PriceTable/components/PriceRow/PriceRow.jsx\n// module id = 772\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/Sidebar/components/PriceTable/components/PriceRow/PriceRow.jsx?"); /***/ }), /* 773 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\n\n/**\r\n * @const StepsFooter\r\n * @param {JSON} props\r\n * @returns {JSX.Element}\r\n */\nvar StepsFooter = function StepsFooter(props) {\n if (typeof props.steps == 'undefined' || props.steps.length == 0) {\n return null;\n }\n\n var activeStep = props.steps.find(function (item) {\n return item.stepNumber == props.currentStep;\n });\n var referrer = document.referrer !== '' ? document.referrer : props.modelUrl;\n\n if (!activeStep) {\n return null;\n }\n\n return React.createElement(\n 'div',\n { className: 'grid__container grid__container--no-max h--no-padding' },\n React.createElement(\n 'div',\n { className: 'grid__row' },\n React.createElement(\n 'div',\n { className: 'c_steps__footer' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--6 c_steps__footer__cancel--container' },\n React.createElement(\n 'a',\n { href: referrer, id: 'ClearForm', className: 'c_steps__footer__cancel' },\n Dictionary.getValue('headerReturn2Overview', 'Return to model overview')\n )\n ),\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--6 grid--v-large__col--omega c_steps__footer__submit--container' },\n React.createElement(\n 'button',\n {\n type: 'button',\n className: 'c_button c_button--green c_steps__footer__submit',\n onClick: props.onSubmit\n },\n props.currentStep < props.steps.length && React.createElement(\n 'span',\n null,\n Dictionary.getValue('gotoNextStep', 'Go to next step: ') + activeStep.button\n )\n )\n )\n )\n )\n );\n};\n\nmodule.exports = StepsFooter;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/StepsFooter/StepsFooter.jsx\n// module id = 773\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/StepsFooter/StepsFooter.jsx?"); /***/ }), /* 774 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// Views\nvar Step = __webpack_require__(779);\n\n/**\r\n * @function StepsMenu - Renders the menu of steps in the header of the app.\r\n * @returns {JSX.Element}\r\n */\nvar StepsMenu = function StepsMenu(props) {\n\n var activeStep = -1;\n var activeIndex = -1;\n props.steps.forEach(function (item) {\n if (!item.skipStep) {\n activeIndex++;\n }\n if (item.stepNumber == props.currentStep) {\n activeStep = activeIndex;\n }\n });\n\n var currentStep = props.steps.find(function (step) {\n return step.stepNumber == props.currentStep;\n });\n var lastStep = props.steps.find(function (step) {\n return step.stepNumber == props.steps.length - 1;\n });\n var isLastStep = !currentStep || !lastStep || currentStep.stepNumber === lastStep.stepNumber;\n var wrapperClass = \"c_tabs-menu hidden-xs hidden-sm hidden-md c_tabs-menu--\" + activeStep;\n\n return React.createElement(\n 'div',\n { className: wrapperClass },\n React.createElement(\n 'div',\n { className: 'grid__row' },\n props.steps.map(function (step, index) {\n if (step.skipStep) {\n return null;\n }\n return React.createElement(Step, {\n brand: props.brand,\n color: props.color,\n extraClasses: index == props.steps.length - 1 ? 'grid--v-large__col--omega grid--v-medium__col--omega' : '',\n inlineStyle: props.maxStep >= step.stepNumber ? { 'pointerEvents': 'auto', 'cursor': 'default' } : {},\n isCurrent: step.stepNumber == activeStep,\n isLastStep: isLastStep,\n key: 'step-' + step.stepNumber,\n maxStep: props.maxStep,\n step: step.stepNumber,\n text: step.mastheadTitle,\n onClick: props.maxStep >= step.stepNumber ? props.events.onChangeStep : false\n });\n })\n )\n );\n};\n\nStepsMenu.defaultProps = {\n currentStep: 0,\n dictionary: {},\n steps: []\n};\n\nmodule.exports = StepsMenu;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/StepsMenu/StepsMenu.jsx\n// module id = 774\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/StepsMenu/StepsMenu.jsx?"); /***/ }), /* 775 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// views\nvar MobileMenuTabs = __webpack_require__(776);\nvar MobileStepMenu = __webpack_require__(777);\nvar MobileSummary = __webpack_require__(778);\n\n/**\r\n * @method StepsMobileMenu\r\n * @param {JSON} props\r\n * @returns {JSX.Element}\r\n */\nvar StepsMobileMenu = function StepsMobileMenu(props) {\n\n if (!props.ui || !props.ui.mobile || !props.boat) {\n return null;\n }\n\n var activeStep = props.steps.reduce(function (activeCount, step) {\n return !step.skipStep && step.stepNumber < props.currentStep ? activeCount + 1 : activeCount;\n }, 0);\n var checkmark = {\n image: \"/assets/configurator/\" + props.brand + \"/default/images/icon_check--\" + props.color + \".svg\",\n css: \"c_tabs-menu__icon c_tabs-menu__icon--\" + props.color\n };\n var currentStep = props.steps.find(function (step) {\n return step.stepNumber == props.currentStep;\n });\n var isInternational = window.location.pathname.indexOf('/int/') > -1;\n var hidePrice = isInternational || (typeof props.hidePrice !== 'undefined' ? props.hidePrice : false);\n\n return React.createElement(\n 'div',\n { className: \"jsbox--steps-mobile-menu container-fluid h--no-padding c_overview c_overview--mobile c_tabs-menu c_tabs-menu--mobile hidden-lg c_tabs-menu--\" + activeStep },\n React.createElement(MobileMenuTabs, {\n configurationSelected: props.selectedConfig !== 0,\n events: props.events,\n mobileUi: props.ui.mobile,\n currentStep: currentStep ? currentStep : false,\n hidePrice: hidePrice,\n boatDetails: {\n name: props.boat.name,\n price: props.submission.total\n },\n submission: props.submission\n }),\n props.ui.mobile.activeTab === 'steps' && React.createElement(MobileStepMenu, {\n checkmark: checkmark,\n currentStep: currentStep,\n events: props.events,\n maxStep: props.maxStep,\n steps: props.steps\n }),\n props.ui.mobile.activeTab === 'summary' && React.createElement(MobileSummary, {\n boat: props.boat,\n configurationSelected: props.selectedConfig !== 0,\n currentStep: currentStep,\n events: props.events,\n steps: props.steps,\n submission: props.submission,\n ui: props.ui\n })\n );\n};\n\nStepsMobileMenu.defaultProps = {\n currentStep: 0,\n dictionary: {},\n steps: []\n};\n\nmodule.exports = StepsMobileMenu;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/StepsMenu/StepsMobileMenu.jsx\n// module id = 775\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/StepsMenu/StepsMobileMenu.jsx?"); /***/ }), /* 776 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n/**\r\n * @const MobileMenuTabs - The tabs section of the mobile menu\r\n * @param {JSON} props \r\n * @returns {JSX.Element}\r\n */\nvar MobileMenuTabs = function MobileMenuTabs(props) {\n\n var events = props.events;\n var mobileUi = props.mobileUi;\n var step = props.currentStep;\n var submission = props.submission;\n var title = step ? step.mastheadTitle : Dictionary.getValue('stepConfirmation', 'Confirmation');\n var configurationSelected = props.configurationSelected;\n var engineChoosen = submission.engine && submission.engine !== '-1' && submission.engine !== '';\n\n return React.createElement(\n 'div',\n { className: 'grid__row h--flex' },\n React.createElement(\n 'div',\n {\n className: \"grid--v-medium__col--6 grid--v-medium__col--omega grid--v-small__col--6 grid--v-small__col--omega grid--v-mini__col--6 grid--v-mini__col--omega c_tabs-menu--mobile__container toggle-mobile-tabs c_tabs-menu__tab--step\" + (mobileUi.activeTab === 'steps' ? \" toggle-active\" : \" toggle-inactive\"),\n onClick: function onClick(e) {\n e.preventDefault();\n var tab = mobileUi.activeTab === 'steps' ? '' : 'steps';\n events.onChangeActiveMobileTab(tab);\n }\n },\n React.createElement(\n 'div',\n null,\n React.createElement('img', { src: '/assets/configurator/shared/images/cogs.svg', className: 'c_overview--mobile__steps__icon' }),\n React.createElement(\n 'span',\n { className: 'c_overview--mobile__step-num' },\n step && step.stepNumber !== 0 ? Dictionary.getValue('step', 'Step') + ' ' + step.stepNumber + ':' : ''\n )\n ),\n React.createElement(\n 'div',\n { className: 'text-xs-center' },\n React.createElement(\n 'span',\n { className: 'c_overview--mobile__step-name' },\n title\n )\n )\n ),\n React.createElement(\n 'div',\n {\n className: \"grid--v-medium__col--6 grid--v-medium__col--omega grid--v-small__col--6 grid--v-small__col--omega grid--v-mini__col--6 grid--v-mini__col--omega c_overview--mobile__container toggle-mobile-overview c_overview--mobile__container__red-dot\" + (mobileUi.activeTab === \"summary\" ? \" toggle-active\" : \" toggle-inactive\"),\n onClick: function onClick(e) {\n e.preventDefault();\n var tab = mobileUi.activeTab === 'summary' ? '' : 'summary';\n events.onChangeActiveMobileTab(tab);\n }\n },\n React.createElement(\n 'span',\n { className: 'c_overview--mobile__name' },\n props.boatDetails.name\n ),\n !props.hidePrice && configurationSelected && engineChoosen && React.createElement(\n 'span',\n { className: 'c_overview--mobile__price' },\n Helpers.formatMoneyLocalized(props.boatDetails.price)\n )\n )\n );\n};\n\nmodule.exports = MobileMenuTabs;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/StepsMenu/components/MobileMenuTabs/MobileMenuTabs.jsx\n// module id = 776\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/StepsMenu/components/MobileMenuTabs/MobileMenuTabs.jsx?"); /***/ }), /* 777 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\n\n/**\r\n * @const MobileStepsMenu - The steps menu section of the mobile menu.\r\n * @param {JSON} props \r\n * @returns {JSX.Element}\r\n */\nvar MobileStepsMenu = function MobileStepsMenu(props) {\n\n var checkmark = props.checkmark;\n //const currentStep = props.currentStep;\n //const inlineOverrideStyle = ;\n\n return React.createElement(\n 'div',\n {\n className: 'grid__container grid__container--no-max h--no-padding c_tabs-menu--mobile__tabs toggle-mobile-tabs background--white toggle-active'\n },\n props.steps.map(function (step, index) {\n return step.skipStep ? null : React.createElement(\n 'div',\n { className: 'grid__row', key: 'mobile-step' + step.stepNumber },\n React.createElement(\n 'a',\n {\n href: \"#\" + step.slug,\n className: 'c_tabs-menu--mobile__tab',\n style: props.maxStep >= step.stepNumber ? { 'pointerEvents': 'auto', 'cursor': 'default' } : {},\n onClick: function onClick(e) {\n e.preventDefault();\n if (props.maxStep >= step.stepNumber) {\n props.events.onChangeStep(step.stepNumber);\n }\n }\n },\n React.createElement('img', { src: checkmark.image, className: checkmark.css }),\n step.stepNumber > 0 ? Dictionary.getValue('step', 'Step') + ' ' + index + ': ' : '',\n step.mastheadTitle\n )\n );\n })\n );\n};\n\nmodule.exports = MobileStepsMenu;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/StepsMenu/components/MobileStepMenu/MobileStepMenu.jsx\n// module id = 777\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/StepsMenu/components/MobileStepMenu/MobileStepMenu.jsx?"); /***/ }), /* 778 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\nvar Helpers = __webpack_require__(21);\n\n/**\r\n * @method MobileSummary\r\n * @param {JSON} props \r\n * @returns {JSX.Element}\r\n */\nvar MobileSummary = function MobileSummary(props) {\n var boat = props.boat;\n var submission = props.submission;\n var engine = submission.engine;\n var freight = submission.freight;\n var viewDetailsButtonClass = props.ui.overview.viewAllDetails ? 'toggle-active' : 'toggle-inactive';\n var currentStep = props.currentStep;\n var lastStep = props.steps.find(function (step) {\n return step.stepNumber == props.steps.length - 1;\n });\n var isLastStep = currentStep && lastStep && currentStep.stepNumber === lastStep.stepNumber;\n\n var configurationSelected = props.configurationSelected;\n var engineChoosen = submission.engine && submission.engine !== '-1' && submission.engine !== '';\n\n var onClickViewAllDetails = function onClickViewAllDetails(e) {\n e.preventDefault();\n props.events.onToggleViewAllDetails();\n };\n return React.createElement(\n 'div',\n { className: 'grid__container c_overview--mobile toggle-mobile-overview background--purple toggle-active' },\n React.createElement(\n 'div',\n { className: 'grid__row' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--6 grid--v-medium__col--12 c_overview__pricing grid--v-large__col--omega grid--v-medium__col--omega' },\n React.createElement(\n 'span',\n { className: 'c_text--blue c_title-2 c_overview__pricing__title toggle-mobile-overview' },\n boat.name\n ),\n React.createElement(\n 'div',\n { className: 'row c_overview__pricing__record' },\n React.createElement(\n 'div',\n { className: 'col-xs-8' },\n configurationSelected && React.createElement(\n 'span',\n { className: 'c_text--medium' },\n engine.name\n )\n ),\n React.createElement(\n 'div',\n { className: 'col-xs-4 c_text--right' },\n Helpers.shouldShowPrice() && configurationSelected && engineChoosen && React.createElement(\n 'span',\n { className: 'c_text--medium' },\n Helpers.formatMoneyLocalized(engine.price)\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'row c_overview__pricing__record' },\n React.createElement(\n 'div',\n { className: 'col-xs-8' },\n configurationSelected && engineChoosen && React.createElement(\n 'span',\n { className: 'c_text--medium' },\n '+ ',\n Dictionary.getValue('selectedPacks', 'selected packs'),\n ' (',\n submission.packs.length,\n ')'\n )\n ),\n React.createElement(\n 'div',\n { className: 'col-xs-4 c_text--right' },\n Helpers.shouldShowPrice() && configurationSelected && engineChoosen && React.createElement(\n 'span',\n { className: 'c_text--medium' },\n Helpers.formatMoneyLocalized(submission.packs.reduce(function (total, pack) {\n return total + pack.price;\n }, 0))\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'row c_overview__pricing__record' },\n React.createElement(\n 'div',\n { className: 'col-xs-8' },\n configurationSelected && engineChoosen && React.createElement(\n 'span',\n { className: 'c_text--medium' },\n '+ ',\n Dictionary.getValue('selectedOptions', 'selected options'),\n ' (',\n submission.options.length,\n ')'\n )\n ),\n React.createElement(\n 'div',\n { className: 'col-xs-4 c_text--right' },\n Helpers.shouldShowPrice() && configurationSelected && engineChoosen && React.createElement(\n 'span',\n { className: 'c_text--medium' },\n Helpers.formatMoneyLocalized(submission.options.reduce(function (total, option) {\n return total + option.price;\n }, 0))\n )\n )\n ),\n Helpers.shouldShowPrice() && configurationSelected && engineChoosen && React.createElement(\n 'div',\n null,\n freight && freight.price > 0 && React.createElement(\n 'div',\n null,\n React.createElement(\n 'div',\n { className: 'h--flexbox c_overview__pricing__record' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12' },\n React.createElement('hr', { className: 'c_overview__pricing__divider' })\n )\n ),\n React.createElement(\n 'div',\n { className: 'row c_overview__pricing__record' },\n React.createElement(\n 'div',\n { className: 'col-xs-8' },\n React.createElement(\n 'span',\n { className: 'c_text--medium' },\n Dictionary.getValue('freight', 'Freight')\n )\n ),\n React.createElement(\n 'div',\n { className: 'col-xs-4 c_text--right' },\n React.createElement(\n 'span',\n { className: 'c_text--medium' },\n Helpers.formatMoneyLocalized(freight.price)\n )\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'h--flexbox c_overview__pricing__record' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12' },\n React.createElement('hr', { className: 'c_overview__pricing__divider' })\n )\n ),\n React.createElement(\n 'div',\n { className: 'row c_overview__pricing__record' },\n React.createElement(\n 'div',\n { className: 'col-xs-8' },\n Helpers.shouldShowPrice() && configurationSelected && engineChoosen && React.createElement(\n 'span',\n { className: 'c_text--medium' },\n Dictionary.getValue('priceWithoutVat', 'Price without VAT')\n )\n ),\n React.createElement(\n 'div',\n { className: 'col-xs-4 c_text--right' },\n React.createElement(\n 'span',\n { className: 'c_text--medium' },\n Helpers.formatMoneyLocalized(submission.subtotal)\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'row c_overview__pricing__record' },\n React.createElement(\n 'div',\n { className: 'col-xs-8' },\n Helpers.shouldShowPrice() && configurationSelected && engineChoosen && React.createElement(\n 'span',\n { className: 'c_text--medium' },\n Dictionary.getValue('vatInfo', 'VAT (' + submission.vatPercentage + '%)')\n )\n ),\n React.createElement(\n 'div',\n { className: 'col-xs-4 c_text--right' },\n React.createElement(\n 'span',\n { className: 'c_text--medium' },\n Helpers.formatMoneyLocalized(submission.vat)\n )\n )\n ),\n React.createElement(\n 'div',\n { className: 'h--flexbox c_overview__pricing__record' },\n React.createElement(\n 'div',\n { className: 'grid--v-large__col--12' },\n React.createElement('hr', { className: 'c_overview__pricing__divider' })\n )\n ),\n React.createElement(\n 'div',\n { className: 'row c_overview__pricing__record' },\n React.createElement(\n 'div',\n { className: 'col-xs-7' },\n Helpers.shouldShowPrice() && configurationSelected && engineChoosen && React.createElement(\n 'strong',\n { className: 'c_text--large' },\n Dictionary.getValue('priceIncVatInfo', 'Price including VAT')\n )\n ),\n React.createElement(\n 'div',\n { className: 'col-xs-5 c_text--right' },\n React.createElement(\n 'strong',\n { className: 'c_text--large' },\n Helpers.formatMoneyLocalized(submission.total)\n )\n )\n )\n ),\n isLastStep && React.createElement(\n 'a',\n {\n href: '#',\n className: viewDetailsButtonClass + \" c_button c_button--red c_button--red--icon c_overview__pricing__button toggleDetailsVisibility\",\n onClick: onClickViewAllDetails\n },\n React.createElement(\n 'span',\n { className: 'c_overview__pricing__button__hide' },\n Dictionary.getValue('hideDetails', 'Hide all details')\n ),\n React.createElement(\n 'span',\n { className: 'c_overview__pricing__button__show' },\n Dictionary.getValue('showDetails', 'Show all details')\n ),\n React.createElement('i', { className: 'icon icon--arrow-up c_overview__pricing__button__hide' }),\n React.createElement('i', { className: 'icon icon--arrow-down c_overview__pricing__button__show' })\n )\n )\n )\n );\n};\n\nmodule.exports = MobileSummary;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/StepsMenu/components/MobileSummary/MobileSummary.jsx\n// module id = 778\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/StepsMenu/components/MobileSummary/MobileSummary.jsx?"); /***/ }), /* 779 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n// utils\nvar Dictionary = __webpack_require__(12);\n\n/**\r\n * @function Step\r\n * @param {JSON} props\r\n * @returns {JSX.Element}\r\n */\nvar Step = function Step(props) {\n\n\tvar wrapperClass = 'grid--v-large__col--2 grid--v-medium__col--2 c_tabs-menu__tab c_tabs-menu__tab--step ' + (props.extraClasses && props.extraClasses !== '' ? ' ' + props.extraClasses : '') + (props.maxStep >= props.step ? ' c_tabs-menu--4' : ' c_tabs-menu--3');\n\t//(props.isCurrent ? ' c_tabs-menu--4' : ' c_tabs-menu--3');\n\tvar stepNumber = props.step === 0 ? props.text : Dictionary.getValue('step', 'Step') + ' ' + props.step;\n\tvar title = props.step === 0 ? '' : props.text;\n\n\treturn React.createElement(\n\t\t'div',\n\t\t{ className: wrapperClass, style: props.inlineStyle },\n\t\tReact.createElement(\n\t\t\t'a',\n\t\t\t{ href: '#', onClick: function onClick(e) {\n\t\t\t\t\te.preventDefault();if (props.onClick) {\n\t\t\t\t\t\tprops.onClick(props.step);\n\t\t\t\t\t}\n\t\t\t\t} },\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'grid__row' },\n\t\t\t\tReact.createElement('img', {\n\t\t\t\t\tsrc: '/assets/configurator/' + props.brand + '/default/images/icon_check--' + props.color + '.svg',\n\t\t\t\t\tclassName: \"c_tabs-menu__icon c_tabs-menu__icon--\" + props.color\n\t\t\t\t}),\n\t\t\t\tReact.createElement('img', {\n\t\t\t\t\tsrc: '/assets/configurator/' + props.brand + '/default/images/icon_check--gray.svg',\n\t\t\t\t\tclassName: 'c_tabs-menu__icon c_tabs-menu__icon--gray'\n\t\t\t\t}),\n\t\t\t\tReact.createElement('img', {\n\t\t\t\t\tsrc: '/assets/configurator/' + props.brand + '/default/images/icon_check--blue.svg',\n\t\t\t\t\tclassName: 'c_tabs-menu__icon c_tabs-menu__icon--blue'\n\t\t\t\t}),\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'span',\n\t\t\t\t\t{ className: 'c_text--uppercase' },\n\t\t\t\t\tstepNumber,\n\t\t\t\t\t' '\n\t\t\t\t)\n\t\t\t),\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'grid__row' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'span',\n\t\t\t\t\t{ className: 'c_text--uppercase' },\n\t\t\t\t\ttitle\n\t\t\t\t)\n\t\t\t)\n\t\t)\n\t);\n};\n\nmodule.exports = Step;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Configurator/components/StepsMenu/components/Step/Step.jsx\n// module id = 779\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Configurator/components/StepsMenu/components/Step/Step.jsx?"); /***/ }), /* 780 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\nvar ReactDOM = __webpack_require__(34);\n// store and actions\nvar Store = __webpack_require__(73);\nvar ViewActions = __webpack_require__(82);\n// models\nvar EmailMessage = __webpack_require__(365);\n// Components\nvar QuoteList = __webpack_require__(785);\nvar Pagination = __webpack_require__(782);\nvar Filter = __webpack_require__(781);\n\nvar DealerQuotes = React.createClass({\n\tdisplayName: 'DealerQuotes',\n\n\tgetInitialState: function getInitialState() {\n\t\treturn {\n\t\t\tmodel: {\n\t\t\t\tdictionary: {},\n\t\t\t\tquotes: [],\n\t\t\t\tsalesPersons: [],\n\t\t\t\tbaseEditUrl: ''\n\t\t\t},\n\t\t\tpage: 1,\n\t\t\tpageSize: 100,\n\t\t\tsearchTerm: '',\n\t\t\tsalesPersonFilter: '',\n\t\t\ttotalPages: 1\n\t\t};\n\t},\n\tcomponentDidMount: function componentDidMount() {\n\t\t// Set up a listener for the store\n\t\tStore.addChangeListener(this.onStoreChange);\n\t\t// Attempt to load the model and submission to set the state.\n\t\tvar model = Store.getQuotesModel();\n\t\t// If unable to acquire the model, request the model via API via ViewActions.\n\t\tif (!model) {\n\t\t\tViewActions.getQuotesModel(this.props.nodeId, this.props.language, this.props.dealerId);\n\t\t} else {\n\t\t\tthis.setState({ model: model });\n\t\t}\n\t},\n\tcomponentDidUpdate: function componentDidUpdate(prevProps, prevState) {\n\t\tvar quotes = this.getFilteredQuotes(this.state.model.dictionary, this.state.searchTerm, this.state.salesPersonFilter);\n\t\tvar totalPages = Math.ceil(quotes.length / this.state.pageSize);\n\t\tif (totalPages != prevState.totalPages) {\n\t\t\tvar page = this.state.page;\n\t\t\tif (page > totalPages) {\n\t\t\t\tpage = totalPages;\n\t\t\t}\n\t\t\tif (page < 1) {\n\t\t\t\tpage = 1;\n\t\t\t}\n\t\t\tthis.setState({ page: page, totalPages: totalPages });\n\t\t}\n\t},\n\tcomponentWillUnmount: function componentWillUnmount() {\n\t\tStore.removeChangeListener(this.onStoreChange);\n\t},\n\tgetFilteredQuotes: function getFilteredQuotes(dictionary, searchTerm, salesPerson) {\n\t\tif (searchTerm == '' && salesPerson == '') {\n\t\t\treturn this.state.model.quotes;\n\t\t}\n\t\tvar filteredBySearchQuotes = [];\n\t\tif (searchTerm == '') {\n\t\t\tthis.state.model.quotes.forEach(function (quote) {\n\t\t\t\tfilteredBySearchQuotes.push(quote);\n\t\t\t});\n\t\t} else {\n\t\t\tthis.state.model.quotes.forEach(function (quote) {\n\t\t\t\tvar quoteDataMatch = false;\n\t\t\t\tvar salesPersonMatch = false;\n\t\t\t\tvar term = searchTerm.toUpperCase();\n\t\t\t\tvar submission = quote.submission;\n\t\t\t\tvar person = quote.submission.personalInfo;\n\t\t\t\tvar phone = person.telephoneCountry + person.telephone;\n\t\t\t\tvar street = person.street + ' ' + person.streetNumber;\n\t\t\t\tvar sex = person.title = 'F' ? dictionary.female : dictionary.male;\n\t\t\t\tif (quote.boatName.toUpperCase().indexOf(term) > -1) {\n\t\t\t\t\tquoteDataMatch = true;\n\t\t\t\t}\n\t\t\t\tif (quote.submissionDate.toUpperCase().indexOf(term) > -1) {\n\t\t\t\t\tquoteDataMatch = true;\n\t\t\t\t}\n\t\t\t\tif (person.firstName.toUpperCase().indexOf(term) > -1) {\n\t\t\t\t\tquoteDataMatch = true;\n\t\t\t\t}\n\t\t\t\tif (person.lastName.toUpperCase().indexOf(term) > -1) {\n\t\t\t\t\tquoteDataMatch = true;\n\t\t\t\t}\n\t\t\t\tif (phone.toUpperCase().indexOf(term) > -1) {\n\t\t\t\t\tquoteDataMatch = true;\n\t\t\t\t}\n\t\t\t\tif (person.email.toUpperCase().indexOf(term) > -1) {\n\t\t\t\t\tquoteDataMatch = true;\n\t\t\t\t}\n\t\t\t\tif (person.country.toUpperCase().indexOf(term) > -1) {\n\t\t\t\t\tquoteDataMatch = true;\n\t\t\t\t}\n\t\t\t\tif (street.toUpperCase().indexOf(term) > -1) {\n\t\t\t\t\tquoteDataMatch = true;\n\t\t\t\t}\n\t\t\t\tif (person.zipCode.toUpperCase().indexOf(term) > -1) {\n\t\t\t\t\tquoteDataMatch = true;\n\t\t\t\t}\n\t\t\t\tif (person.city.toUpperCase().indexOf(term) > -1) {\n\t\t\t\t\tquoteDataMatch = true;\n\t\t\t\t}\n\t\t\t\tif (sex.toUpperCase().indexOf(term) > -1) {\n\t\t\t\t\tquoteDataMatch = true;\n\t\t\t\t}\n\t\t\t\tif (submission.reference.toUpperCase().indexOf(term) > -1) {\n\t\t\t\t\tquoteDataMatch = true;\n\t\t\t\t}\n\t\t\t\tif (quoteDataMatch) {\n\t\t\t\t\tfilteredBySearchQuotes.push(quote);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\tvar filteredBySearchAndSalesPerson = [];\n\t\tif (salesPerson == '') {\n\t\t\treturn filteredBySearchQuotes;\n\t\t} else {\n\t\t\tfilteredBySearchQuotes.forEach(function (quote) {\n\t\t\t\tvar salesPersonMatch = false;\n\t\t\t\tquote.versions.forEach(function (version) {\n\t\t\t\t\tif (version.salesPerson.login === salesPerson) {\n\t\t\t\t\t\tsalesPersonMatch = true;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tif (salesPersonMatch) {\n\t\t\t\t\tfilteredBySearchAndSalesPerson.push(quote);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn filteredBySearchAndSalesPerson;\n\t},\n\t/**\r\n * @method onEmailMessageChange\r\n * @return {void}\r\n * @param {string} parameter - the name of the email message item to update\r\n * @param {string} value - the value of the parameter to set\r\n * @description Updates the email message with the parameter and value\r\n */\n\tonEmailMessageChange: function onEmailMessageChange(index, parameter, value) {\n\t\tvar quotes = this.state.model.quotes.map(function (quote) {\n\t\t\treturn quote;\n\t\t});\n\t\tquotes[index].emailMessage[parameter] = value;\n\t\tViewActions.updateEmailMessage(quotes[index].emailMessage);\n\t},\n\tonPaginationClick: function onPaginationClick(e) {\n\t\tvar pageNum = parseInt(e.target.value, 10);\n\t\tthis.setState({ page: pageNum });\n\t},\n\tonResetClick: function onResetClick(e) {\n\t\te.preventDefault();\n\t\tthis.setState({ searchTerm: '', salesPersonFilter: '' });\n\t},\n\tonSearchTermChange: function onSearchTermChange(e) {\n\t\tvar value = e.target.value;\n\t\tthis.setState({ searchTerm: value });\n\t},\n\tonSalesPersonFilterChange: function onSalesPersonFilterChange(e) {\n\t\tvar value = e.target.value;\n\t\tthis.setState({ salesPersonFilter: value });\n\t},\n\tgetSalesPersons: function getSalesPersons() {\n\t\tvar options = [];\n\t\toptions.push({ value: '', text: this.state.model.dictionary.salesPersonFilterAll });\n\t\tthis.state.model.salesPersons.forEach(function (salesPerson) {\n\t\t\toptions.push({\n\t\t\t\tvalue: salesPerson.login,\n\t\t\t\ttext: salesPerson.firstName + ' ' + salesPerson.lastName\n\t\t\t});\n\t\t});\n\t\treturn options;\n\t},\n\t/**\r\n * @method onStoreChange\r\n * @returns {void}\r\n * @description Triggered when the store's state changes, and updates the component's state as needed to match.\r\n */\n\tonStoreChange: function onStoreChange() {\n\t\tvar model = Store.getQuotesModel();\n\t\tthis.setState({ model: model });\n\t},\n\trender: function render() {\n\t\tvar dictionary = this.state.model.dictionary;\n\t\treturn React.createElement(\n\t\t\t'div',\n\t\t\t{ className: 'grid__container grid__container--full-width h--large-padding-top' },\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'wrapper--fixed-width' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'c_title-medium c_text--uppercase h--flex' },\n\t\t\t\t\tdictionary.quotes\n\t\t\t\t),\n\t\t\t\tReact.createElement('br', null),\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'form',\n\t\t\t\t\t{ action: '', className: 'c_form c_form--search c_form--search--full' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'row' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'hidden-md hidden-sm col-xs-2 visible-xs h--small-margin-top' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t{ className: 'c_form__label--select' },\n\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t\t{ className: 'c_form__label--alt' },\n\t\t\t\t\t\t\t\t\tdictionary.salesPersonFilterShow\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'col-md-3 col-sm-5 col-xs-10 h--flexbox h--small-margin-top' },\n\t\t\t\t\t\t\tthis.state.model.salesPersons.length > 1 && React.createElement(\n\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t{ className: 'c_form__label--select hidden-xs' },\n\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t\t{ className: 'c_form__label--alt' },\n\t\t\t\t\t\t\t\t\tdictionary.salesPersonFilterShow\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tthis.state.model.salesPersons.length > 1 && React.createElement(Filter, {\n\t\t\t\t\t\t\t\tid: 'salesPerson',\n\t\t\t\t\t\t\t\toptions: this.getSalesPersons(),\n\t\t\t\t\t\t\t\tvalue: this.state.salesPersonFilter,\n\t\t\t\t\t\t\t\tonChange: this.onSalesPersonFilterChange\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'hidden-md hidden-sm col-xs-2 visible-xs h--small-margin-top' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t{ className: 'c_form--search__reset c_form--search__reset--xs' },\n\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\t\t\t\t\tonClick: this.onResetClick,\n\t\t\t\t\t\t\t\t\t\tclassName: 'c_link--special'\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tdictionary.reset\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'col-md-offset-5 col-md-4 col-sm-offset-2 col-sm-5 col-xs-10 h--flexbox h--small-margin-top' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t{ className: 'c_form--search__reset hidden-xs' },\n\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\t\t\t\t\tonClick: this.onResetClick,\n\t\t\t\t\t\t\t\t\t\tclassName: 'c_link--special'\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tdictionary.reset\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t{ className: 'c_form__entry h--flex' },\n\t\t\t\t\t\t\t\tReact.createElement('input', {\n\t\t\t\t\t\t\t\t\tvalue: this.state.searchTerm,\n\t\t\t\t\t\t\t\t\tonChange: this.onSearchTermChange,\n\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\tname: dictionary.search,\n\t\t\t\t\t\t\t\t\tid: 'frm_search',\n\t\t\t\t\t\t\t\t\tplaceholder: dictionary.search,\n\t\t\t\t\t\t\t\t\trequired: true,\n\t\t\t\t\t\t\t\t\tclassName: 'c_form__field c_form__field--text c_form__field--text--quotation__search'\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\tReact.createElement(Pagination, {\n\t\t\t\t\tcurrentPage: this.state.page,\n\t\t\t\t\ttotalPages: this.state.totalPages,\n\t\t\t\t\tonPaginationClick: this.onPaginationClick\n\t\t\t\t}),\n\t\t\t\tReact.createElement(QuoteList, {\n\t\t\t\t\tbrand: this.props.brand,\n\t\t\t\t\tcurrentPage: this.state.page,\n\t\t\t\t\tdictionary: dictionary,\n\t\t\t\t\tonEmailMessageChange: this.onEmailMessageChange,\n\t\t\t\t\tpageSize: this.state.pageSize,\n\t\t\t\t\tquotes: this.getFilteredQuotes(this.state.model.dictionary, this.state.searchTerm, this.state.salesPersonFilter),\n\t\t\t\t\tbaseEditUrl: this.state.model.baseEditUrl\n\t\t\t\t}),\n\t\t\t\tReact.createElement(Pagination, {\n\t\t\t\t\tcurrentPage: this.state.page,\n\t\t\t\t\ttotalPages: this.state.totalPages,\n\t\t\t\t\tonPaginationClick: this.onPaginationClick\n\t\t\t\t})\n\t\t\t)\n\t\t);\n\t}\n});\n\nmodule.exports = DealerQuotes;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/DealerQuotes/DealerQuotes.jsx\n// module id = 780\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/DealerQuotes/DealerQuotes.jsx?"); /***/ }), /* 781 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\n\n/**\r\n * @class Filter\r\n * @property {string} id - id prop for the select element\r\n * @property {Array} options - An array of {value: string, text: string} for the options\r\n * @property {string} value - The current value of the select element\r\n * @property {string} default - A default value if none is assigned.\r\n * @property {function} onChange - Event handling function bound to the onchange event of the select element.\r\n * @property {bool} hasError\r\n * @description Renders a fancy select element.\r\n */\nvar Filter = React.createClass({\n\tdisplayName: 'Filter',\n\n\trenderFilterOptions: function renderFilterOptions() {\n\t\tvar options = [];\n\t\tif (this.props.options && this.props.options.length > 0) {\n\t\t\toptions = this.props.options.map(function (option, index) {\n\t\t\t\treturn React.createElement(\n\t\t\t\t\t'option',\n\t\t\t\t\t{ value: option.value, key: 'filter-' + this.props.id + '-' + index },\n\t\t\t\t\toption.text\n\t\t\t\t);\n\t\t\t}.bind(this));\n\t\t}\n\t\treturn options;\n\t},\n\trenderValue: function renderValue() {\n\t\tvar value = this.props.default ? this.props.default : '';\n\t\tthis.props.options.forEach(function (option) {\n\t\t\tif (option.value == this.props.value) {\n\t\t\t\tvalue = option.text;\n\t\t\t}\n\t\t}.bind(this));\n\t\treturn value;\n\t},\n\trender: function render() {\n\t\treturn React.createElement(\n\t\t\t'div',\n\t\t\t{ className: 'c_select h--flex' },\n\t\t\tReact.createElement(\n\t\t\t\t'select',\n\t\t\t\t{\n\t\t\t\t\tid: this.props.id,\n\t\t\t\t\tclassName: 'c_select__input',\n\t\t\t\t\tvalue: this.props.value,\n\t\t\t\t\tonChange: this.props.onChange\n\t\t\t\t},\n\t\t\t\tthis.renderFilterOptions()\n\t\t\t),\n\t\t\tReact.createElement(\n\t\t\t\t'span',\n\t\t\t\t{ className: 'c_select__label' },\n\t\t\t\tthis.renderValue()\n\t\t\t)\n\t\t);\n\t}\n});\n\nmodule.exports = Filter;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/DealerQuotes/components/Filter.jsx\n// module id = 781\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/DealerQuotes/components/Filter.jsx?"); /***/ }), /* 782 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\nvar ReactDOM = __webpack_require__(34);\n\nvar Pagination = React.createClass({\n\tdisplayName: 'Pagination',\n\n\trenderPages: function renderPages() {\n\t\tvar pages = [];\n\t\tfor (var i = 1; i < this.props.totalPages + 1; i++) {\n\t\t\t//if (i == this.props.currentPage) {\n\t\t\tpages.push(React.createElement(\n\t\t\t\t'button',\n\t\t\t\t{ key: 'page' + i, className: 'c_button', type: 'button', value: i, onClick: this.props.onPaginationClick },\n\t\t\t\ti\n\t\t\t)\n\t\t\t// <li className=\"page-item\" key={'page-' + i}>\n\t\t\t// \t\t\t<a className=\"c_button page-link\" value={i} onClick={this.props.onPaginationClick}>{i}</a>\n\t\t\t// \t\t</li>\n\t\t\t);\n\t\t\t// } else {\n\t\t\t// \tpages.push(\n\t\t\t// \t\t<li key={'page-' + i}>\n\t\t\t// \t\t\t<button className=\"page-item\" type=\"button\" value={i} onClick={this.props.onPaginationClick}>\n\t\t\t// \t\t\t\t{i}\n\t\t\t// \t\t\t</button>\n\t\t\t// \t\t</li>\n\t\t\t// \t);\n\t\t\t// }\n\t\t}\n\t\treturn pages;\n\t},\n\trenderPreviousLink: function renderPreviousLink() {\n\t\tif (this.props.currentPage > 1) {\n\t\t\treturn React.createElement(\n\t\t\t\t'li',\n\t\t\t\tnull,\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'button',\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: 'button',\n\t\t\t\t\t\tvalue: this.props.currentPage - 1,\n\t\t\t\t\t\tonClick: this.props.onPaginationClick\n\t\t\t\t\t},\n\t\t\t\t\t'Previous'\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\t},\n\trenderNextLink: function renderNextLink() {\n\t\tif (this.props.currentPage < this.props.totalPages) {\n\t\t\treturn React.createElement(\n\t\t\t\t'li',\n\t\t\t\tnull,\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'button',\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: 'button',\n\t\t\t\t\t\tvalue: this.props.currentPage + 1,\n\t\t\t\t\t\tonClick: this.props.onPaginationClick\n\t\t\t\t\t},\n\t\t\t\t\t'Next'\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\t},\n\trender: function render() {\n\t\treturn this.props.totalPages > 1 ? React.createElement(\n\t\t\t'ul',\n\t\t\t{ className: 'pagination pagination-lg' },\n\t\t\tthis.renderPages()\n\t\t) : null;\n\t}\n});\n\nmodule.exports = Pagination;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/DealerQuotes/components/Pagination.jsx\n// module id = 782\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/DealerQuotes/components/Pagination.jsx?"); /***/ }), /* 783 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\nvar ReactDOM = __webpack_require__(34);\n\nvar ViewActions = __webpack_require__(82);\nvar Store = __webpack_require__(73);\n\nvar EmailForm = __webpack_require__(689);\nvar QuoteItemVersionList = __webpack_require__(784);\n\nvar DeleteQuoteVersionPopup = React.createClass({\n\tdisplayName: 'DeleteQuoteVersionPopup',\n\n\tgetInitialState: function getInitialState() {\n\t\treturn {};\n\t},\n\trenderPopupClass: function renderPopupClass() {\n\t\tvar className = 'c_popup';\n\t\tif (this.props.isActive) {\n\t\t\tclassName += ' c_popup--active';\n\t\t}\n\t\treturn className;\n\t},\n\tdeleteQuote: function deleteQuote(e) {\n\t\te.preventDefault();\n\t\tViewActions.deleteQuoteVersion(this.props.version);\n\t\tthis.props.onDeleted(this.props.version.id);\n\t},\n\trender: function render() {\n\t\treturn React.createElement(\n\t\t\t'div',\n\t\t\t{\n\t\t\t\tclassName: this.renderPopupClass(),\n\t\t\t\tid: 'delete-quote-version-popup-' + this.props.version.id\n\t\t\t},\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'c_popup__header c_popup__header--half' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'a',\n\t\t\t\t\t{\n\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\tclassName: 'c_button c_popup__close',\n\t\t\t\t\t\tonClick: this.props.onClosePopup\n\t\t\t\t\t},\n\t\t\t\t\tReact.createElement('i', { className: 'icon icon--cross' }),\n\t\t\t\t\tthis.props.dictionary.closePopup\n\t\t\t\t),\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'c_popup__title' },\n\t\t\t\t\tthis.props.dictionary.deleteQuoteQuestion\n\t\t\t\t),\n\t\t\t\tReact.createElement('br', null),\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'row' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'col-md-12' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t{ className: 'c_text--gray' },\n\t\t\t\t\t\t\t'V',\n\t\t\t\t\t\t\tthis.props.index,\n\t\t\t\t\t\t\t' - ',\n\t\t\t\t\t\t\tthis.props.version.submissionDate,\n\t\t\t\t\t\t\t' -',\n\t\t\t\t\t\t\t' ',\n\t\t\t\t\t\t\tthis.props.version.salesPerson.firstName,\n\t\t\t\t\t\t\t' ',\n\t\t\t\t\t\t\tthis.props.version.salesPerson.lastName,\n\t\t\t\t\t\t\t' -',\n\t\t\t\t\t\t\t' ',\n\t\t\t\t\t\t\tthis.props.quote.boatName\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\tReact.createElement('br', null),\n\t\t\t\tReact.createElement('br', null),\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'row' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'col-md-12 c_popup__buttons hidden-xs' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t{ href: '#', className: 'c_button center', onClick: this.deleteQuote },\n\t\t\t\t\t\t\tthis.props.dictionary.deleteQuote\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\t\t\tclassName: 'c_link--alt center h--large-margin-left',\n\t\t\t\t\t\t\t\tonClick: this.props.onClosePopup\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t{ 'data-component-config': true },\n\t\t\t\t\t\t\t\t'[POPUP]'\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tthis.props.dictionary.cancelDeleteQuote\n\t\t\t\t\t\t)\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'col-md-12 c_popup__buttons visible-xs' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\t\t\tclassName: 'c_button c_button--small center',\n\t\t\t\t\t\t\t\tonClick: this.deleteQuote\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tthis.props.dictionary.deleteQuote\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\t\t\tclassName: 'c_link--alt center h--large-margin-left',\n\t\t\t\t\t\t\t\tonClick: this.props.onClosePopup\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t{ 'data-component-config': true },\n\t\t\t\t\t\t\t\t'[POPUP]'\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tthis.props.dictionary.cancelDeleteQuote\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t),\n\t\t\tReact.createElement('div', { className: 'c_popup__bg' })\n\t\t);\n\t}\n});\n\nvar QuoteItem = React.createClass({\n\tdisplayName: 'QuoteItem',\n\n\tgetInitialState: function getInitialState() {\n\t\treturn {\n\t\t\tisEmailOpen: false,\n\t\t\tisOpen: false,\n\t\t\tactivePopup: -1,\n\t\t\tdeletedVersions: []\n\t\t};\n\t},\n\tonDropdownArrowClick: function onDropdownArrowClick(e) {\n\t\te.preventDefault();\n\t\tthis.setState({ isOpen: !this.state.isOpen });\n\t},\n\tonEmailMessageChange: function onEmailMessageChange(parameter, value) {\n\t\tthis.props.onEmailMessageChange(this.props.quote.id, parameter, value);\n\t},\n\tonSendEmailClick: function onSendEmailClick(e) {\n\t\te.preventDefault();\n\t\tthis.setState({ isEmailOpen: !this.state.isEmailOpen });\n\t},\n\trenderDaysLeft: function renderDaysLeft() {\n\t\tvar dictionary = this.props.dictionary;\n\t\tvar quote = this.props.quote;\n\t\tif (quote.expirationDays == -1) {\n\t\t\treturn React.createElement(\n\t\t\t\t'span',\n\t\t\t\t{ className: 'c_tag c_expired c_text--uppercase' },\n\t\t\t\tdictionary.expired\n\t\t\t);\n\t\t}\n\t\treturn React.createElement(\n\t\t\t'span',\n\t\t\t{ className: 'c_tag c_text--uppercase' },\n\t\t\tdictionary.daysLeft.replace('{0}', quote.expirationDays)\n\t\t);\n\t},\n\trenderDropdownWrapperClass: function renderDropdownWrapperClass() {\n\t\tvar className = 'c_dropdown--alt';\n\t\tif (this.state.isOpen) {\n\t\t\tclassName += ' c_dropdown--open';\n\t\t}\n\t\treturn className;\n\t},\n\trenderDeleteQuoteVersionPopups: function renderDeleteQuoteVersionPopups() {\n\t\tvar versions = [];\n\t\tvar index = 0;\n\t\tthis.props.quote.versions.forEach(function (version) {\n\t\t\tvar isActive = false;\n\t\t\tif (version.id == this.state.activePopup) {\n\t\t\t\tisActive = true;\n\t\t\t}\n\t\t\tversions.push(React.createElement(DeleteQuoteVersionPopup, {\n\t\t\t\tisActive: isActive,\n\t\t\t\tquote: this.props.quote,\n\t\t\t\tversion: version,\n\t\t\t\tdictionary: this.props.dictionary,\n\t\t\t\tkey: 'delete-quote-version-popup-' + index,\n\t\t\t\tindex: index + 1,\n\t\t\t\tonClosePopup: this.onClosePopup,\n\t\t\t\tonDeleted: this.onDeleted\n\t\t\t}));\n\t\t\tindex = index + 1;\n\t\t}.bind(this));\n\t\treturn versions;\n\t},\n\tonDeleteClick: function onDeleteClick(id) {\n\t\tthis.setState({ activePopup: id });\n\t},\n\tonClosePopup: function onClosePopup(e) {\n\t\te.preventDefault();\n\t\tthis.setState({ activePopup: -1 });\n\t},\n\tonDeleted: function onDeleted(id) {\n\t\tvar deleted = this.state.deletedVersions;\n\t\tdeleted.push(id);\n\t\tthis.setState({ activePopup: -1 });\n\t\tthis.setState({ deletedVersions: deleted });\n\t},\n\trender: function render() {\n\t\tvar dictionary = this.props.dictionary;\n\t\tvar quote = this.props.quote;\n\t\tvar submission = quote !== undefined ? quote.submission : null;\n\t\tvar person = submission !== null ? submission.personalInfo : null;\n\t\treturn quote !== undefined && this.state.deletedVersions.length < quote.versions.length ? React.createElement(\n\t\t\t'div',\n\t\t\t{ className: this.renderDropdownWrapperClass() },\n\t\t\tthis.renderDeleteQuoteVersionPopups(),\n\t\t\tReact.createElement(\n\t\t\t\t'header',\n\t\t\t\t{ className: 'c_dropdown__header--alt c_dropdown__header--alt--quotation' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'c_text--gray c_text--normal c_dropdown__part--small' },\n\t\t\t\t\tquote.submissionDate,\n\t\t\t\t\tthis.renderDaysLeft()\n\t\t\t\t),\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'c_text--gray c_text--normal c_dropdown__part--large' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'span',\n\t\t\t\t\t\t{ className: 'c_dropdown__sepline' },\n\t\t\t\t\t\t'|'\n\t\t\t\t\t),\n\t\t\t\t\t' ',\n\t\t\t\t\tperson.firstName,\n\t\t\t\t\t' ',\n\t\t\t\t\tperson.lastName\n\t\t\t\t),\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'c_text--gray c_text--normal c_dropdown__part--large' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'span',\n\t\t\t\t\t\t{ className: 'c_dropdown__sepline' },\n\t\t\t\t\t\t'|'\n\t\t\t\t\t),\n\t\t\t\t\t' ',\n\t\t\t\t\tquote.boatName\n\t\t\t\t),\n\t\t\t\tReact.createElement('a', {\n\t\t\t\t\thref: '#',\n\t\t\t\t\tonClick: this.onDropdownArrowClick,\n\t\t\t\t\tclassName: 'c_dropdown__trigger'\n\t\t\t\t})\n\t\t\t),\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'c_dropdown__content c_dropdown__content--alt c_dropdown__content--padded' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'grid--v-large__col--9 h--small-margin-bottom' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'grid--v-large__cols--4 grid--v-medium__cols--6' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'b',\n\t\t\t\t\t\t\t\t{ className: 'c_text--black' },\n\t\t\t\t\t\t\t\tdictionary.phone,\n\t\t\t\t\t\t\t\t':'\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t{ className: 'c_text--gray' },\n\t\t\t\t\t\t\t\tperson.telephoneCountry != null && person.telephoneCountry === '--' ? '' : person.telephoneCountry + ' ' + person.telephone\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\t\t\tReact.createElement('br', null)\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'grid--v-large__cols--4 grid--v-medium__cols--6' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'b',\n\t\t\t\t\t\t\t\t{ className: 'c_text--black' },\n\t\t\t\t\t\t\t\tdictionary.email,\n\t\t\t\t\t\t\t\t':'\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t{ className: 'c_text--gray' },\n\t\t\t\t\t\t\t\tperson.email\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\t\t\tReact.createElement('br', null)\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'grid--v-large__cols--4 grid--v-medium__cols--6 hidden-xs' },\n\t\t\t\t\t\t\t'\\xA0'\n\t\t\t\t\t\t)\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'grid--v-large__cols--4 grid--v-medium__cols--6' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'b',\n\t\t\t\t\t\t\t\t{ className: 'c_text--black' },\n\t\t\t\t\t\t\t\tdictionary.sex,\n\t\t\t\t\t\t\t\t':'\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t{ className: 'c_text--gray' },\n\t\t\t\t\t\t\t\tperson.title === 'F' ? dictionary.female : dictionary.male\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\t\t\tReact.createElement('br', null)\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'grid--v-large__cols--4 grid--v-medium__cols--6' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'b',\n\t\t\t\t\t\t\t\t{ className: 'c_text--black' },\n\t\t\t\t\t\t\t\tdictionary.reference,\n\t\t\t\t\t\t\t\t':'\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t{ className: 'c_text--gray' },\n\t\t\t\t\t\t\t\tsubmission.reference\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\t\t\tReact.createElement('br', null)\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'grid--v-large__cols--4 grid--v-medium__cols--6' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'b',\n\t\t\t\t\t\t\t\t{ className: 'c_text--black' },\n\t\t\t\t\t\t\t\tdictionary.country,\n\t\t\t\t\t\t\t\t':'\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t{ className: 'c_text--gray' },\n\t\t\t\t\t\t\t\tperson.country\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\t\t\tReact.createElement('br', null)\n\t\t\t\t\t\t)\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'grid--v-large__cols--4 grid--v-medium__cols--6' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'b',\n\t\t\t\t\t\t\t\t{ className: 'c_text--black' },\n\t\t\t\t\t\t\t\tdictionary.street,\n\t\t\t\t\t\t\t\t':'\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t{ className: 'c_text--gray' },\n\t\t\t\t\t\t\t\tperson.street + ' ' + person.streetNumber\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\t\t\tReact.createElement('br', null)\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'grid--v-large__cols--4 grid--v-medium__cols--6' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'b',\n\t\t\t\t\t\t\t\t{ className: 'c_text--black' },\n\t\t\t\t\t\t\t\tdictionary.zipCode,\n\t\t\t\t\t\t\t\t':'\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t{ className: 'c_text--gray' },\n\t\t\t\t\t\t\t\tperson.zipCode\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\t\t\tReact.createElement('br', null)\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'grid--v-large__cols--4 grid--v-medium__cols--6' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'b',\n\t\t\t\t\t\t\t\t{ className: 'c_text--black' },\n\t\t\t\t\t\t\t\tdictionary.city,\n\t\t\t\t\t\t\t\t':'\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t{ className: 'c_text--gray' },\n\t\t\t\t\t\t\t\tperson.city\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\t\t\tReact.createElement('br', null)\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\tReact.createElement(QuoteItemVersionList, {\n\t\t\t\t\tbrand: this.props.brand,\n\t\t\t\t\tdictionary: this.props.dictionary,\n\t\t\t\t\tquote: this.props.quote,\n\t\t\t\t\tdeletedVersions: this.state.deletedVersions,\n\t\t\t\t\tbaseEditUrl: this.props.baseEditUrl,\n\t\t\t\t\tonSendEmailClick: this.onSendEmailClick,\n\t\t\t\t\tonDeleteClick: this.onDeleteClick\n\t\t\t\t})\n\t\t\t),\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'c_dropdown__content c_dropdown__content--alt' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'grid--v-large__col--12' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\t\tthis.state.isEmailOpen && React.createElement(EmailForm, {\n\t\t\t\t\t\t\temailMessage: quote.emailMessage,\n\t\t\t\t\t\t\tdictionary: this.props.dictionary,\n\t\t\t\t\t\t\tid: quote.quoteId,\n\t\t\t\t\t\t\tisOpen: this.state.isEmailOpen,\n\t\t\t\t\t\t\tisSubmitting: this.props.isSubmitting,\n\t\t\t\t\t\t\tonEmailMessageChange: this.onEmailMessageChange\n\t\t\t\t\t\t})\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t) : null;\n\t}\n});\n\nmodule.exports = QuoteItem;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/DealerQuotes/components/QuoteItem.jsx\n// module id = 783\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/DealerQuotes/components/QuoteItem.jsx?"); /***/ }), /* 784 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\nvar ReactDOM = __webpack_require__(34);\n\nvar MobileQuoteItemVersion = React.createClass({\n\tdisplayName: 'MobileQuoteItemVersion',\n\n\tgetInitialState: function getInitialState() {\n\t\treturn {};\n\t},\n\tonDeleteClick: function onDeleteClick(e) {\n\t\te.preventDefault();\n\t\tthis.props.onDeleteClick(this.props.version.id);\n\t},\n\trenderOuterDivClassName: function renderOuterDivClassName() {\n\t\tif (this.props.version.mostRecent) {\n\t\t\treturn 'c_dropdown__content__quote__version row';\n\t\t} else {\n\t\t\treturn 'row c_dropdown__actions--pdf';\n\t\t}\n\t},\n\trenderInnerClassDivName: function renderInnerClassDivName() {\n\t\tif (this.props.version.mostRecent) {\n\t\t\treturn 'col-md-12 col-lg-12 col-sm-12 col-xs-12 c_dropdown__actions';\n\t\t} else {\n\t\t\treturn 'col-sm-12';\n\t\t}\n\t},\n\trender: function render() {\n\t\treturn React.createElement(\n\t\t\t'div',\n\t\t\t{ className: '' },\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'grid__row' },\n\t\t\t\tReact.createElement('hr', { className: 'c_dropdown__content__divider' })\n\t\t\t),\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'c_dropdown__content__quote__version row' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'col-sm-2 col-xs-2' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'span',\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'strong',\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t'V',\n\t\t\t\t\t\t\tthis.props.index\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'col-sm-6 col-xs-6' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'span',\n\t\t\t\t\t\t{ className: 'c_dropdown__content__quotation__date' },\n\t\t\t\t\t\tthis.props.version.submissionDate\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'span',\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\tthis.props.version.salesPerson.firstName,\n\t\t\t\t\t\t' ',\n\t\t\t\t\t\tthis.props.version.salesPerson.lastName\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'span',\n\t\t\t\t\t\t{ className: 'hidden' },\n\t\t\t\t\t\tthis.props.version.salesPerson.login\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'span',\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\tthis.props.quote.boatName\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement('br', null)\n\t\t\t\t),\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{\n\t\t\t\t\t\tclassName: 'col-sm-4 col-xs-4 c_dropdown__actions c_dropdown__actions--delete',\n\t\t\t\t\t\tonClick: this.onDeleteClick\n\t\t\t\t\t},\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'a',\n\t\t\t\t\t\t{ href: '#', className: 'c_dropdown__actions--delete' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t{ 'data-component-config': true },\n\t\t\t\t\t\t\t'[POPUP]'\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t{ className: 'c_dropdown__actions--delete_icon' },\n\t\t\t\t\t\t\tReact.createElement('i', { className: 'icon icon--cross' })\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t{ className: 'c_dropdown__actions--delete_text c_link--alt' },\n\t\t\t\t\t\t\t' ',\n\t\t\t\t\t\t\tthis.props.dictionary.deleteQuote\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t),\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: this.renderOuterDivClassName() },\n\t\t\t\tthis.props.mostRecent || this.props.lastInList ? React.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: this.renderInnerClassDivName() },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'a',\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\thref: this.props.baseEditUrl + '?m=' + this.props.quote.boatName + '"eId=' + this.props.quote.quoteId\n\t\t\t\t\t\t},\n\t\t\t\t\t\tReact.createElement('img', {\n\t\t\t\t\t\t\tclassName: 'c_dropdown__img',\n\t\t\t\t\t\t\tsrc: '/assets/configurator/' + this.props.brand + '/default/images/edit.svg',\n\t\t\t\t\t\t\talt: this.props.dictionary.editQuote\n\t\t\t\t\t\t})\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'a',\n\t\t\t\t\t\t{ href: '#' },\n\t\t\t\t\t\tReact.createElement('img', {\n\t\t\t\t\t\t\tonClick: this.props.onSendEmailClick,\n\t\t\t\t\t\t\tclassName: 'c_dropdown__img',\n\t\t\t\t\t\t\tsrc: '/assets/configurator/' + this.props.brand + '/default/images/mail.svg',\n\t\t\t\t\t\t\talt: this.props.dictionary.mailQuote\n\t\t\t\t\t\t})\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'a',\n\t\t\t\t\t\t{ href: this.props.version.pdfUrl, target: '_blank' },\n\t\t\t\t\t\tReact.createElement('img', {\n\t\t\t\t\t\t\tclassName: 'c_dropdown__img',\n\t\t\t\t\t\t\tsrc: '/assets/configurator/' + this.props.brand + '/default/images/printer.svg',\n\t\t\t\t\t\t\talt: this.props.dictionary.printQuote\n\t\t\t\t\t\t})\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'a',\n\t\t\t\t\t\t{ href: this.props.version.pdfUrl, target: '_blank' },\n\t\t\t\t\t\tReact.createElement('img', {\n\t\t\t\t\t\t\tclassName: 'c_dropdown__img',\n\t\t\t\t\t\t\tsrc: '/assets/configurator/' + this.props.brand + '/default/images/pdf.svg',\n\t\t\t\t\t\t\talt: this.props.dictionary.pdfQuote\n\t\t\t\t\t\t})\n\t\t\t\t\t)\n\t\t\t\t) : React.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: this.renderInnerClassDivName() },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'a',\n\t\t\t\t\t\t{ href: this.props.version.pdfUrl, target: '_blank' },\n\t\t\t\t\t\tReact.createElement('img', {\n\t\t\t\t\t\t\tclassName: 'c_dropdown__img',\n\t\t\t\t\t\t\tsrc: '/assets/configurator/' + this.props.brand + '/default/images/pdf.svg',\n\t\t\t\t\t\t\talt: this.props.dictionary.pdfQuote\n\t\t\t\t\t\t})\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t}\n});\n\nvar DesktopQuoteItemVersion = React.createClass({\n\tdisplayName: 'DesktopQuoteItemVersion',\n\n\tgetInitialState: function getInitialState() {\n\t\treturn {};\n\t},\n\tonDeleteClick: function onDeleteClick(e) {\n\t\te.preventDefault();\n\t\tthis.props.onDeleteClick(this.props.version.id);\n\t},\n\trender: function render() {\n\t\treturn React.createElement(\n\t\t\t'div',\n\t\t\t{ className: '' },\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'grid__row' },\n\t\t\t\tReact.createElement('hr', { className: 'c_dropdown__content__divider' })\n\t\t\t),\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'c_dropdown__content__quote__version row' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'col-md-5 col-lg-5 col-sm-5' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'span',\n\t\t\t\t\t\t{ className: 'c_dropdown__content__quotation__version' },\n\t\t\t\t\t\t'V',\n\t\t\t\t\t\tthis.props.index\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'span',\n\t\t\t\t\t\t{ className: 'c_dropdown__content__quotation__date' },\n\t\t\t\t\t\tthis.props.version.submissionDate\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'span',\n\t\t\t\t\t\t{ className: 'c_dropdown__content__quotation__name' },\n\t\t\t\t\t\tthis.props.version.salesPerson.firstName,\n\t\t\t\t\t\t' ',\n\t\t\t\t\t\tthis.props.version.salesPerson.lastName\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'span',\n\t\t\t\t\t\t{ className: 'hidden' },\n\t\t\t\t\t\tthis.props.version.salesPerson.login\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'col-md-7 col-lg-7 col-sm-7 c_dropdown__actions' },\n\t\t\t\t\tthis.props.version.mostRecent || this.props.lastInList ? React.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: '' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\thref: this.props.baseEditUrl + '?m=' + this.props.quote.boatName + '"eId=' + this.props.quote.quoteId\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tReact.createElement('img', {\n\t\t\t\t\t\t\t\tclassName: 'c_dropdown__img',\n\t\t\t\t\t\t\t\tsrc: '/assets/configurator/' + this.props.brand + '/default/images/edit.svg',\n\t\t\t\t\t\t\t\talt: this.props.dictionary.editQuote\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t{ href: '#' },\n\t\t\t\t\t\t\tReact.createElement('img', {\n\t\t\t\t\t\t\t\tonClick: this.props.onSendEmailClick,\n\t\t\t\t\t\t\t\tclassName: 'c_dropdown__img',\n\t\t\t\t\t\t\t\tsrc: '/assets/configurator/' + this.props.brand + '/default/images/mail.svg',\n\t\t\t\t\t\t\t\talt: this.props.dictionary.mailQuote\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t{ href: this.props.version.pdfUrl, target: '_blank' },\n\t\t\t\t\t\t\tReact.createElement('img', {\n\t\t\t\t\t\t\t\tclassName: 'c_dropdown__img',\n\t\t\t\t\t\t\t\tsrc: '/assets/configurator/' + this.props.brand + '/default/images/printer.svg',\n\t\t\t\t\t\t\t\talt: this.props.dictionary.printQuote\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t{ href: this.props.version.pdfUrl, target: '_blank' },\n\t\t\t\t\t\t\tReact.createElement('img', {\n\t\t\t\t\t\t\t\tclassName: 'c_dropdown__img',\n\t\t\t\t\t\t\t\tsrc: '/assets/configurator/' + this.props.brand + '/default/images/pdf.svg',\n\t\t\t\t\t\t\t\talt: this.props.dictionary.pdfQuote\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\t\t\tclassName: 'c_dropdown__actions--delete',\n\t\t\t\t\t\t\t\tonClick: this.onDeleteClick\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t{ 'data-component-config': true },\n\t\t\t\t\t\t\t\t'[POPUP]'\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t{ className: 'c_dropdown__actions--delete_icon' },\n\t\t\t\t\t\t\t\tReact.createElement('i', { className: 'icon icon--cross' })\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t{ className: 'c_dropdown__actions--delete_text c_link--alt' },\n\t\t\t\t\t\t\t\t' ',\n\t\t\t\t\t\t\t\tthis.props.dictionary.deleteQuote\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t) : React.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: '' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t{ href: this.props.version.pdfUrl, target: '_blank' },\n\t\t\t\t\t\t\tReact.createElement('img', {\n\t\t\t\t\t\t\t\tclassName: 'c_dropdown__img',\n\t\t\t\t\t\t\t\tsrc: '/assets/configurator/' + this.props.brand + '/default/images/pdf.svg',\n\t\t\t\t\t\t\t\talt: this.props.dictionary.pdfQuote\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\t\t\tclassName: 'c_dropdown__actions--delete',\n\t\t\t\t\t\t\t\tonClick: this.onDeleteClick\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t{ 'data-component-config': true },\n\t\t\t\t\t\t\t\t'[POPUP]'\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t{ className: 'c_dropdown__actions--delete_icon' },\n\t\t\t\t\t\t\t\tReact.createElement('i', { className: 'icon icon--cross' })\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t{ className: 'c_dropdown__actions--delete_text c_link--alt' },\n\t\t\t\t\t\t\t\t' ',\n\t\t\t\t\t\t\t\tthis.props.dictionary.deleteQuote\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t}\n});\n\nvar QuoteItemVersionList = React.createClass({\n\tdisplayName: 'QuoteItemVersionList',\n\n\tgetInitialState: function getInitialState() {\n\t\treturn {};\n\t},\n\trenderDesktopQuoteVersionList: function renderDesktopQuoteVersionList(quote) {\n\t\tvar quoteVersionList = [];\n\t\tvar remainingVersions = quote.versions.length - this.props.deletedVersions.length;\n\t\tvar versionsIncluded = 0;\n\t\tfor (var i = 0; i < quote.versions.length; i++) {\n\t\t\tif (!(this.props.deletedVersions.indexOf(quote.versions[i].id) > -1)) {\n\t\t\t\tversionsIncluded = versionsIncluded + 1;\n\t\t\t\tquoteVersionList.push(React.createElement(DesktopQuoteItemVersion, {\n\t\t\t\t\tindex: i + 1,\n\t\t\t\t\tquote: quote,\n\t\t\t\t\tversion: quote.versions[i],\n\t\t\t\t\tmostRecent: remainingVersions,\n\t\t\t\t\tlastInList: versionsIncluded == remainingVersions,\n\t\t\t\t\tonSendEmailClick: this.props.onSendEmailClick,\n\t\t\t\t\tdictionary: this.props.dictionary,\n\t\t\t\t\tbrand: this.props.brand,\n\t\t\t\t\tbaseEditUrl: this.props.baseEditUrl,\n\t\t\t\t\tkey: 'quote-desktop-version-' + (i + 1),\n\t\t\t\t\tonDeleteClick: this.props.onDeleteClick\n\t\t\t\t}));\n\t\t\t}\n\t\t}\n\t\treturn quoteVersionList;\n\t},\n\trenderMobileQuoteVersionList: function renderMobileQuoteVersionList(quote) {\n\t\tvar quoteVersionList = [];\n\t\tvar remainingVersions = quote.versions.length - this.props.deletedVersions.length;\n\t\tvar versionsIncluded = 0;\n\t\tfor (var i = 0; i < quote.versions.length; i++) {\n\t\t\tif (!(this.props.deletedVersions.indexOf(quote.versions[i].id) > -1)) {\n\t\t\t\tversionsIncluded = versionsIncluded + 1;\n\t\t\t\tquoteVersionList.push(React.createElement(MobileQuoteItemVersion, {\n\t\t\t\t\tindex: i + 1,\n\t\t\t\t\tquote: quote,\n\t\t\t\t\tversion: quote.versions[i],\n\t\t\t\t\tremainingVersions: remainingVersions,\n\t\t\t\t\tlastInList: versionsIncluded == remainingVersions,\n\t\t\t\t\tonSendEmailClick: this.props.onSendEmailClick,\n\t\t\t\t\tdictionary: this.props.dictionary,\n\t\t\t\t\tbrand: this.props.brand,\n\t\t\t\t\tbaseEditUrl: this.props.baseEditUrl,\n\t\t\t\t\tkey: 'quote-mobile-version-' + (i + 1),\n\t\t\t\t\tonDeleteClick: this.props.onDeleteClick\n\t\t\t\t}));\n\t\t\t}\n\t\t}\n\t\treturn quoteVersionList;\n\t},\n\trender: function render() {\n\t\treturn React.createElement(\n\t\t\t'div',\n\t\t\t{ className: 'grid--v-large__col--12' },\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'c_dropdown__content__quote__versions c_dropdown__content__quote__versions--desktop' },\n\t\t\t\tthis.renderDesktopQuoteVersionList(this.props.quote)\n\t\t\t),\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'c_dropdown__content__quote__versions c_dropdown__content__quote__versions--mobile' },\n\t\t\t\tthis.renderMobileQuoteVersionList(this.props.quote)\n\t\t\t)\n\t\t);\n\t}\n});\n\nmodule.exports = QuoteItemVersionList;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/DealerQuotes/components/QuoteItemVersionList.jsx\n// module id = 784\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/DealerQuotes/components/QuoteItemVersionList.jsx?"); /***/ }), /* 785 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\nvar React = __webpack_require__(1);\nvar ReactDOM = __webpack_require__(34);\n// Components\nvar QuoteItem = __webpack_require__(783);\n\nvar QuotesList = React.createClass({\n\tdisplayName: 'QuotesList',\n\n\trenderQuoteList: function renderQuoteList(currentPage, pageSize, quotes) {\n\t\tvar quoteList = [];\n\t\tfor (var i = (currentPage - 1) * pageSize; i < (currentPage - 1) * pageSize + pageSize; i++) {\n\t\t\tif (quotes[i]) {\n\t\t\t\tquoteList.push(React.createElement(QuoteItem, {\n\t\t\t\t\tonEmailMessageChange: this.props.onEmailMessageChange,\n\t\t\t\t\tquote: quotes[i],\n\t\t\t\t\tdictionary: this.props.dictionary,\n\t\t\t\t\tbrand: this.props.brand,\n\t\t\t\t\tbaseEditUrl: this.props.baseEditUrl,\n\t\t\t\t\tkey: 'quote-' + i\n\t\t\t\t}));\n\t\t\t}\n\t\t}\n\t\treturn quoteList;\n\t},\n\trender: function render() {\n\t\treturn React.createElement(\n\t\t\t'div',\n\t\t\t{ className: 'grid__row' },\n\t\t\tthis.renderQuoteList(this.props.currentPage, this.props.pageSize, this.props.quotes)\n\t\t);\n\t}\n});\n\nmodule.exports = QuotesList;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/DealerQuotes/components/QuoteList.jsx\n// module id = 785\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/DealerQuotes/components/QuoteList.jsx?"); /***/ }), /* 786 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\n// React\nvar React = __webpack_require__(1);\nvar ReactDOM = __webpack_require__(34);\n// Store and actions\nvar Store = __webpack_require__(73);\nvar ViewActions = __webpack_require__(82);\n// Models\nvar BusinessSettingsSubmission = __webpack_require__(133);\nvar BusinessSettingsSubmissionResult = __webpack_require__(134);\nvar BusinessSettingsValidation = __webpack_require__(135);\nvar CustomDealerItem = __webpack_require__(257);\nvar Member = __webpack_require__(258);\n// Components\nvar TextBox = __webpack_require__(137);\nvar TextArea = __webpack_require__(136);\nvar CompanyAddressInfo = __webpack_require__(787);\nvar CompanyContactInfo = __webpack_require__(788);\nvar CompanyFinancialInfo = __webpack_require__(789);\nvar CompanyName = __webpack_require__(790);\nvar CustomDealerItem = __webpack_require__(791);\nvar Member = __webpack_require__(792);\n\nvar BusinessSettings = React.createClass({\n\tdisplayName: 'BusinessSettings',\n\n\tgetInitialState: function getInitialState() {\n\t\treturn {\n\t\t\tmodel: {\n\t\t\t\tcompanyName: '',\n\t\t\t\tdictionary: {},\n\t\t\t\taddressInfo: {},\n\t\t\t\tcontactInfo: {},\n\t\t\t\tfinancialInfo: {},\n\t\t\t\tcustomDealerItems: [],\n\t\t\t\tmembers: [],\n\t\t\t\tavatars: [],\n\t\t\t\tcountries: [],\n\t\t\t\tcountryPhonePrefixes: []\n\t\t\t},\n\t\t\tisSubmitting: false,\n\t\t\tsubmission: new BusinessSettingsSubmission(),\n\t\t\tsubmissionResult: new BusinessSettingsSubmissionResult(),\n\t\t\tvalidation: new BusinessSettingsValidation(),\n\t\t\tdataSubmitted: false,\n\t\t\tshowFeedbackPopup: false,\n\t\t\tshowValidationErrorPopup: false\n\t\t};\n\t},\n\tcomponentDidMount: function componentDidMount() {\n\t\t// Set up a listener for the store\n\t\tStore.addChangeListener(this.onStoreChange);\n\t\t// Attempt to load the model and submission to set the state.\n\t\tvar model = Store.getBusinessSettingsModel();\n\t\tvar isSubmitting = Store.getIsSubmitting();\n\t\tvar submission = new BusinessSettingsSubmission(Store.getBusinessSettingsSubmission());\n\t\tvar submissionResult = new BusinessSettingsSubmissionResult(Store.getBusinessSettingsSubmissionResult());\n\t\tvar validation = new BusinessSettingsValidation(Store.getBusinessSettingsValidation());\n\n\t\tif (!model) {\n\t\t\tViewActions.getBusinessSettingsModel(this.props.nodeId, this.props.language, this.props.dealerId);\n\t\t} else {\n\t\t\tthis.setState({\n\t\t\t\tisSubmitting: isSubmitting,\n\t\t\t\tmodel: model,\n\t\t\t\tsubmission: submission,\n\t\t\t\tsubmissionResult: submissionResult,\n\t\t\t\tvalidation: validation\n\t\t\t});\n\t\t}\n\t},\n\tcomponentWillUnmount: function componentWillUnmount() {\n\t\tStore.removeChangeListener(this.onStoreChange);\n\t},\n\tonStoreChange: function onStoreChange() {\n\t\tvar model = Store.getBusinessSettingsModel();\n\t\tvar submission = Store.getBusinessSettingsSubmission();\n\t\tvar submissionResult = Store.getBusinessSettingsSubmissionResult();\n\t\tvar validation = Store.getBusinessSettingsValidation();\n\t\tvar isSubmitting = Store.getIsSubmitting();\n\t\tvar showFeedbackPopup = Store.getShowFeedbackPopup();\n\t\tvar showValidationErrorPopup = Store.getValidationErrorPopup();\n\n\t\tthis.setState({\n\t\t\tisSubmitting: isSubmitting,\n\t\t\tmodel: model,\n\t\t\tsubmission: submission,\n\t\t\tsubmissionResult: submissionResult,\n\t\t\tvalidation: validation,\n\t\t\tshowFeedbackPopup: showFeedbackPopup,\n\t\t\tshowValidationErrorPopup: showValidationErrorPopup\n\t\t});\n\t},\n\tonFinancialInfoChange: function onFinancialInfoChange(parameter, value) {\n\t\tvar submission = new BusinessSettingsSubmission(this.state.submission);\n\n\t\tsubmission.financialInfo[parameter] = value;\n\t\tViewActions.updateBusinessSettingsSubmission(submission);\n\t},\n\tonAddressInfoChange: function onAddressInfoChange(parameter, value) {\n\t\tvar submission = new BusinessSettingsSubmission(this.state.submission);\n\n\t\tsubmission.addressInfo[parameter] = value;\n\t\tViewActions.updateBusinessSettingsSubmission(submission);\n\t},\n\tonContactInfoChange: function onContactInfoChange(parameter, value) {\n\t\tvar submission = new BusinessSettingsSubmission(this.state.submission);\n\n\t\tsubmission.contactInfo[parameter] = value;\n\t\tViewActions.updateBusinessSettingsSubmission(submission);\n\t},\n\tonCustomDealerItemChange: function onCustomDealerItemChange(id, parameter, value) {\n\t\tvar submission = new BusinessSettingsSubmission(this.state.submission);\n\n\t\tif (submission.customDealerItems.length) {\n\t\t\tsubmission.customDealerItems.forEach(function (customDealerItem) {\n\t\t\t\tif (customDealerItem.id == id) {\n\t\t\t\t\tif (parameter == 'name') {\n\t\t\t\t\t\tcustomDealerItem.name = value;\n\t\t\t\t\t} else if (parameter == 'description') {\n\t\t\t\t\t\tcustomDealerItem.description = value;\n\t\t\t\t\t} else if (parameter == 'price') {\n\t\t\t\t\t\tcustomDealerItem.price = value; // Math.abs(parseFloat(value));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\tViewActions.updateBusinessSettingsSubmission(submission);\n\t},\n\tonMemberItemChange: function onMemberItemChange(id, parameter, value) {\n\t\tvar submission = new BusinessSettingsSubmission(this.state.submission);\n\n\t\tif (submission.members.length) {\n\t\t\tsubmission.members.forEach(function (member) {\n\t\t\t\tif (member.id == id) {\n\t\t\t\t\tif (parameter == 'firstName') {\n\t\t\t\t\t\tmember.firstName = value;\n\t\t\t\t\t} else if (parameter == 'lastName') {\n\t\t\t\t\t\tmember.lastName = value;\n\t\t\t\t\t} else if (parameter == 'email') {\n\t\t\t\t\t\tmember.email = value;\n\t\t\t\t\t} else if (parameter == 'phoneCountryPrefix') {\n\t\t\t\t\t\tmember.phoneCountryPrefix = value;\n\t\t\t\t\t} else if (parameter == 'phoneNumber') {\n\t\t\t\t\t\tmember.phoneNumber = value;\n\t\t\t\t\t} else if (parameter == 'mobileCountryPrefix') {\n\t\t\t\t\t\tmember.mobileCountryPrefix = value;\n\t\t\t\t\t} else if (parameter == 'mobileNumber') {\n\t\t\t\t\t\tmember.mobileNumber = value;\n\t\t\t\t\t} else if (parameter == 'login') {\n\t\t\t\t\t\tmember.login = value;\n\t\t\t\t\t} else if (parameter == 'password') {\n\t\t\t\t\t\tmember.password = value;\n\t\t\t\t\t} else if (parameter == 'confirmPassword') {\n\t\t\t\t\t\tmember.confirmPassword = value;\n\t\t\t\t\t} else if (parameter == 'avatar') {\n\t\t\t\t\t\tmember.avatar.imagePath = value;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\tViewActions.updateBusinessSettingsSubmission(submission);\n\t},\n\tonSubmit: function onSubmit(e) {\n\t\tif (this.state.validation.allBusinessRulesFulfilled()) {\n\t\t\tvar submission = new BusinessSettingsSubmission(this.state.submission);\n\n\t\t\tViewActions.submitBusinessSettings(submission);\n\t\t} else {\n\t\t\tvar submission = new BusinessSettingsSubmission(this.state.submission);\n\n\t\t\tsubmission.members.forEach(function (member) {\n\t\t\t\tmember.submit = true;\n\t\t\t});\n\t\t\tsubmission.customDealerItems.forEach(function (customDealerItem) {\n\t\t\t\tcustomDealerItem.submit = true;\n\t\t\t});\n\n\t\t\tViewActions.updateBusinessSettingsSubmission(submission, true);\n\t\t}\n\n\t\tthis.setState({ dataSubmitted: true });\n\t},\n\trenderCustomDealerItems: function renderCustomDealerItems() {\n\t\tvar existingItems = this.state.submission.customDealerItems;\n\t\tvar customDealerItems = [];\n\t\tvar index = 1;\n\t\tvar validation = null;\n\n\t\texistingItems.forEach(function (existingItem) {\n\t\t\tthis.state.validation.customItemValidation.forEach(function (customItemValidation) {\n\t\t\t\tif (customItemValidation.id === existingItem.id) {\n\t\t\t\t\tvalidation = customItemValidation;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tcustomDealerItems.push(React.createElement(CustomDealerItem, {\n\t\t\t\tkey: 'customDealerItem-' + existingItem.id,\n\t\t\t\titem: existingItem,\n\t\t\t\tvalidation: validation,\n\t\t\t\tsubmitted: this.state.dataSubmitted,\n\t\t\t\tdictionary: this.state.model.dictionary,\n\t\t\t\tonCustomDealerItemChange: this.onCustomDealerItemChange,\n\t\t\t\tonDeleteCustomDealerItemConfirmed: this.onDeleteCustomDealerItemConfirmed,\n\t\t\t\tcurrencySymbol: this.state.model.currencySymbol\n\t\t\t}));\n\t\t\tindex = index + 1;\n\t\t}.bind(this));\n\n\t\treturn customDealerItems;\n\t},\n\trenderMembers: function renderMembers() {\n\t\tvar existingMembers = this.state.submission.members;\n\t\tvar members = [];\n\t\tvar index = 1;\n\t\tvar validation = null;\n\n\t\texistingMembers.forEach(function (existingMember) {\n\t\t\tthis.state.validation.memberValidation.forEach(function (memberValidation) {\n\t\t\t\tif (memberValidation.id === existingMember.id) {\n\t\t\t\t\tvalidation = memberValidation;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tmembers.push(React.createElement(Member, {\n\t\t\t\tkey: 'member-' + existingMember.id,\n\t\t\t\tmember: existingMember,\n\t\t\t\tvalidation: validation,\n\t\t\t\tsubmitted: this.state.dataSubmitted,\n\t\t\t\tbrand: this.props.brand,\n\t\t\t\tavatars: this.state.model.avatars,\n\t\t\t\tdictionary: this.state.model.dictionary,\n\t\t\t\tcountryPhonePrefixes: this.state.model.countryPhonePrefixes,\n\t\t\t\tonMemberItemChange: this.onMemberItemChange,\n\t\t\t\tonDeleteMemberConfirmed: this.onDeleteMemberConfirmed\n\t\t\t}));\n\t\t\tindex = index + 1;\n\t\t}.bind(this));\n\n\t\treturn members;\n\t},\n\tonAddCustomDealerItem: function onAddCustomDealerItem(e) {\n\t\te.preventDefault();\n\n\t\tvar submission = new BusinessSettingsSubmission(this.state.submission);\n\t\tvar customItem = new CustomDealerItem();\n\n\t\tvar newId = Store.getLastAddedItemId() + 1;\n\t\t//Adding an id < 0 will make it easier to identify new custom dealer items\n\t\tcustomItem.id = newId * -1;\n\t\tcustomItem.submit = false;\n\n\t\tsubmission.customDealerItems.push(customItem);\n\n\t\tStore.setLastAddedItemId(newId);\n\t\tViewActions.updateBusinessSettingsSubmission(submission);\n\t},\n\tonAddMember: function onAddMember(e) {\n\t\te.preventDefault();\n\n\t\tvar submission = new BusinessSettingsSubmission(this.state.submission);\n\t\tvar member = new Member();\n\n\t\tvar newId = Store.getLastAddedMemberId() + 1;\n\t\t//Adding an id < 0 will make it easier to identify new member\n\t\tmember.id = newId * -1;\n\t\t//Setting default avatar, so we don't need to validate this\n\t\tmember.avatar = this.state.model.avatars[0];\n\t\t//Setting default prefixes that don't have a value and will trigger validation issue on submit\n\t\tmember.phoneCountryPrefix = '';\n\t\tmember.mobileCountryPrefix = '';\n\n\t\tsubmission.members.push(member);\n\n\t\tStore.setLastAddedMemberId(newId);\n\t\tViewActions.updateBusinessSettingsSubmission(submission);\n\t},\n\tonDeleteMemberConfirmed: function onDeleteMemberConfirmed(id) {\n\t\tvar submission = new BusinessSettingsSubmission(this.state.submission);\n\t\tvar indexForDelete = -1;\n\t\tvar index = 0;\n\n\t\tif (submission.members.length) {\n\t\t\tsubmission.members.forEach(function (member, index) {\n\t\t\t\tif (member.id === id) {\n\t\t\t\t\tindexForDelete = index;\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\tif (indexForDelete > -1) {\n\t\t\tsubmission.members.splice(indexForDelete, 1);\n\t\t}\n\t\tViewActions.updateBusinessSettingsSubmission(submission);\n\t},\n\tonDeleteCustomDealerItemConfirmed: function onDeleteCustomDealerItemConfirmed(id) {\n\t\tvar submission = new BusinessSettingsSubmission(this.state.submission);\n\t\tvar indexForDelete = -1;\n\t\tvar index = 0;\n\n\t\tif (submission.customDealerItems.length) {\n\t\t\tsubmission.customDealerItems.forEach(function (customDealerItem, index) {\n\t\t\t\tif (customDealerItem.id === id) {\n\t\t\t\t\tindexForDelete = index;\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\tif (indexForDelete > -1) {\n\t\t\tsubmission.customDealerItems.splice(indexForDelete, 1);\n\t\t}\n\t\tViewActions.updateBusinessSettingsSubmission(submission);\n\t},\n\tgetFeedbackPopupState: function getFeedbackPopupState() {\n\t\tvar className = 'c_popup';\n\n\t\tif (this.state.showFeedbackPopup || this.state.showValidationErrorPopup) {\n\t\t\tclassName += ' c_popup--active';\n\t\t}\n\n\t\treturn className;\n\t},\n\tcloseFeedbackPopup: function closeFeedbackPopup() {\n\t\tthis.setState({ showFeedbackPopup: false, showValidationErrorPopup: false });\n\t},\n\trender: function render() {\n\t\treturn React.createElement(\n\t\t\t'div',\n\t\t\tnull,\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'grid__container' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'h1',\n\t\t\t\t\t\t{ className: 'c_dropdown--bs__heading c_title-medium c_text--uppercase' },\n\t\t\t\t\t\tthis.state.model.dictionary.businessInfoTitle\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(CompanyName, {\n\t\t\t\t\t\tdictionary: this.state.model.dictionary,\n\t\t\t\t\t\tcompanyName: this.state.model.companyName\n\t\t\t\t\t}),\n\t\t\t\t\tReact.createElement(CompanyAddressInfo, {\n\t\t\t\t\t\tdictionary: this.state.model.dictionary,\n\t\t\t\t\t\taddressInfo: this.state.submission.addressInfo,\n\t\t\t\t\t\tcountries: this.state.model.countries,\n\t\t\t\t\t\tvalidation: this.state.validation,\n\t\t\t\t\t\tonAddressInfoChange: this.onAddressInfoChange\n\t\t\t\t\t}),\n\t\t\t\t\tReact.createElement(CompanyContactInfo, {\n\t\t\t\t\t\tdictionary: this.state.model.dictionary,\n\t\t\t\t\t\tcontactInfo: this.state.submission.contactInfo,\n\t\t\t\t\t\tcountryPhonePrefixes: this.state.model.countryPhonePrefixes,\n\t\t\t\t\t\tvalidation: this.state.validation,\n\t\t\t\t\t\tonContactInfoChange: this.onContactInfoChange\n\t\t\t\t\t}),\n\t\t\t\t\tReact.createElement(CompanyFinancialInfo, {\n\t\t\t\t\t\tdictionary: this.state.model.dictionary,\n\t\t\t\t\t\tfinancialInfo: this.state.submission.financialInfo,\n\t\t\t\t\t\tvalidation: this.state.validation,\n\t\t\t\t\t\tonFinancialInfoChange: this.onFinancialInfoChange\n\t\t\t\t\t}),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'h1',\n\t\t\t\t\t\t{ className: 'c_dropdown--bs__heading c_title-medium c_text--uppercase' },\n\t\t\t\t\t\tthis.state.model.dictionary.teamMembersTitle\n\t\t\t\t\t),\n\t\t\t\t\tthis.renderMembers(),\n\t\t\t\t\tthis.state.submission.members.length < 5 && React.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'c_dropdown--bs__footer' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t{ href: '#', onClick: this.onAddMember },\n\t\t\t\t\t\t\tReact.createElement('i', { className: 'icon icon--plus' }),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t{ className: 'c_title-2' },\n\t\t\t\t\t\t\t\tthis.state.model.dictionary.addMember\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'h1',\n\t\t\t\t\t\t{ className: 'c_dropdown--bs__heading c_title-medium c_text--uppercase' },\n\t\t\t\t\t\tthis.state.model.dictionary.dealerItemsTitle\n\t\t\t\t\t),\n\t\t\t\t\tthis.renderCustomDealerItems(),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'c_dropdown--bs__footer h--extra-huge-margin-bottom' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t{ href: '#', onClick: this.onAddCustomDealerItem },\n\t\t\t\t\t\t\tReact.createElement('i', { className: 'icon icon--plus' }),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t{ className: 'c_title-2' },\n\t\t\t\t\t\t\t\tthis.state.model.dictionary.addCustomDealerItem\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t),\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'grid__row' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'c_steps__footer' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid--v-large__col--6 c_steps__footer__cancel--container' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t{ href: '#', id: 'ClearForm', className: 'c_steps__footer__cancel' },\n\t\t\t\t\t\t\tReact.createElement('span', null),\n\t\t\t\t\t\t\t'\\xA0'\n\t\t\t\t\t\t)\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid--v-large__col--6 grid--v-large__col--omega c_steps__footer__submit--container' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'button',\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\ttype: 'submit',\n\t\t\t\t\t\t\t\tvalue: this.state.model.dictionary.saveChanges,\n\t\t\t\t\t\t\t\tclassName: 'c_aside__button c_button c_steps__footer__submit' + (this.state.isSubmitting ? ' c_button--loading' : ''),\n\t\t\t\t\t\t\t\tdisabled: this.state.isSubmitting,\n\t\t\t\t\t\t\t\tonClick: this.onSubmit\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tthis.state.model.dictionary.saveChanges\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t),\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: this.getFeedbackPopupState() },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'c_popup__header c_popup__header--half' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'a',\n\t\t\t\t\t\t{ href: '#', className: 'c_button c_popup__close', onClick: this.closeFeedbackPopup },\n\t\t\t\t\t\tReact.createElement('i', { className: 'icon icon--cross' }),\n\t\t\t\t\t\tthis.state.model.dictionary.closePopup\n\t\t\t\t\t),\n\t\t\t\t\tthis.state.showValidationErrorPopup && React.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'c_popup__title' },\n\t\t\t\t\t\tthis.state.model.dictionary.validationErrors,\n\t\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\t\tReact.createElement('br', null)\n\t\t\t\t\t),\n\t\t\t\t\tthis.state.showFeedbackPopup > 0 && React.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'c_popup__title' },\n\t\t\t\t\t\tthis.state.submissionResult.isSuccess ? this.state.model.dictionary.submitSuccess : this.state.model.dictionary.submitError,\n\t\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\t\tReact.createElement('br', null)\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\tReact.createElement('div', { className: 'c_popup__bg' })\n\t\t\t)\n\t\t);\n\t}\n});\n\nmodule.exports = BusinessSettings;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Settings/BusinessSettings.jsx\n// module id = 786\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Settings/BusinessSettings.jsx?"); /***/ }), /* 787 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\n// React\nvar React = __webpack_require__(1);\nvar ReactDOM = __webpack_require__(34);\n// Store and actions\nvar Store = __webpack_require__(73);\nvar ViewActions = __webpack_require__(82);\n// Models\nvar BusinessSettingsSubmission = __webpack_require__(133);\nvar BusinessSettingsSubmissionResult = __webpack_require__(134);\nvar BusinessSettingsValidation = __webpack_require__(135);\nvar CustomDealerItem = __webpack_require__(257);\nvar Member = __webpack_require__(258);\n// Components\nvar TextBox = __webpack_require__(137);\nvar TextArea = __webpack_require__(136);\n\nvar CompanyAddressInfo = React.createClass({\n\tdisplayName: 'CompanyAddressInfo',\n\n\tgetInitialState: function getInitialState() {\n\t\treturn {\n\t\t\tisOpen: false\n\t\t};\n\t},\n\trenderHtml: function renderHtml(text) {\n\t\treturn {\n\t\t\t__html: text\n\t\t};\n\t},\n\tcomponentDidUpdate: function componentDidUpdate(prevProps, prevState) {\n\t\tif (prevProps.validation.addressInfoOk() !== this.props.validation.addressInfoOk() && !this.state.isOpen) {\n\t\t\tthis.setState({ isOpen: !this.props.validation.addressInfoOk() });\n\t\t}\n\t},\n\ttoggleDropdown: function toggleDropdown(e) {\n\t\te.preventDefault();\n\n\t\tthis.setState({ isOpen: !this.state.isOpen });\n\t},\n\tgetDropdownState: function getDropdownState() {\n\t\tvar className = 'c_dropdown--alt c_dropdown--bs';\n\n\t\tif (this.state.isOpen) {\n\t\t\tclassName += ' c_dropdown--open';\n\t\t}\n\n\t\treturn className;\n\t},\n\trenderCountries: function renderCountries() {\n\t\tvar options = [];\n\n\t\tthis.props.countries.forEach(function (country) {\n\t\t\toptions.push(React.createElement(\n\t\t\t\t'option',\n\t\t\t\t{ key: 'country-' + country.code, value: country.code },\n\t\t\t\tcountry.name\n\t\t\t));\n\t\t}.bind(this));\n\n\t\treturn options;\n\t},\n\trenderAddressInfo: function renderAddressInfo() {\n\t\tvar address = this.props.addressInfo.address1;\n\n\t\taddress += (address !== '' ? '<br />' : '') + this.props.addressInfo.address2;\n\t\taddress += (address !== '' ? '<br />' : '') + this.props.addressInfo.zipCode + ' ' + this.props.addressInfo.location;\n\t\t//address += ((address !== '' ? '<br />' : '') + this.props.addressInfo.country);\n\n\t\treturn this.renderHtml(address);\n\t},\n\tonAddressInfoChange: function onAddressInfoChange(parameter, e) {\n\t\tthis.props.onAddressInfoChange(parameter, e.target.value);\n\t},\n\tonCountryChange: function onCountryChange(e) {\n\t\tthis.props.onAddressInfoChange('country', e.target.value);\n\t},\n\thasError: function hasError(key) {\n\t\tvar valid = true;\n\n\t\tif (this.props.validation[key] !== undefined) {\n\t\t\tvalid = this.props.validation[key];\n\t\t}\n\n\t\tvar error = !valid;\n\n\t\treturn error;\n\t},\n\trender: function render() {\n\t\treturn React.createElement(\n\t\t\t'div',\n\t\t\t{ className: this.getDropdownState() },\n\t\t\tReact.createElement(\n\t\t\t\t'header',\n\t\t\t\t{ className: 'c_dropdown__header--alt h--flexbox' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'span',\n\t\t\t\t\t{ className: 'c_dropdown__title c_text--blue' },\n\t\t\t\t\tthis.props.dictionary.addressInfoTitle\n\t\t\t\t),\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'a',\n\t\t\t\t\t{\n\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\tclassName: 'c_dropdown__trigger c_dropdown__trigger--blue',\n\t\t\t\t\t\tonClick: this.toggleDropdown\n\t\t\t\t\t},\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'span',\n\t\t\t\t\t\t{ className: 'c_text--blue c_text--uppercase' },\n\t\t\t\t\t\tthis.props.dictionary.editBtn\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t),\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'c_dropdown__content c_dropdown__content--alt c_dropdown__content--padded' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid--v-large__col--12 h--small-margin-bottom' },\n\t\t\t\t\t\tReact.createElement('span', {\n\t\t\t\t\t\t\tclassName: 'c_text--gray c_text--large c_text--italic',\n\t\t\t\t\t\t\tdangerouslySetInnerHTML: this.renderAddressInfo()\n\t\t\t\t\t\t}),\n\t\t\t\t\t\tReact.createElement('p', {\n\t\t\t\t\t\t\tclassName: 'c_text--gray c_text--italic',\n\t\t\t\t\t\t\tdangerouslySetInnerHTML: this.renderHtml(this.props.dictionary.changeAddressInfoDescription)\n\t\t\t\t\t\t})\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t}\n});\n\nmodule.exports = CompanyAddressInfo;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Settings/components/CompanyAddressInfo.jsx\n// module id = 787\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Settings/components/CompanyAddressInfo.jsx?"); /***/ }), /* 788 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\n// React\nvar React = __webpack_require__(1);\nvar ReactDOM = __webpack_require__(34);\n// Store and actions\nvar Store = __webpack_require__(73);\nvar ViewActions = __webpack_require__(82);\n// Models\nvar BusinessSettingsSubmission = __webpack_require__(133);\nvar BusinessSettingsSubmissionResult = __webpack_require__(134);\nvar BusinessSettingsValidation = __webpack_require__(135);\nvar CustomDealerItem = __webpack_require__(257);\nvar Member = __webpack_require__(258);\n// Components\nvar TextBox = __webpack_require__(137);\nvar TextArea = __webpack_require__(136);\n\nvar CompanyContactInfo = React.createClass({\n\tdisplayName: 'CompanyContactInfo',\n\n\tgetInitialState: function getInitialState() {\n\t\treturn {\n\t\t\tisOpen: false\n\t\t};\n\t},\n\tcomponentDidUpdate: function componentDidUpdate(prevProps, prevState) {\n\t\tif (prevProps.validation.contactInfoOk() !== this.props.validation.contactInfoOk() && !this.state.isOpen) {\n\t\t\tthis.setState({ isOpen: !this.props.validation.contactInfoOk() });\n\t\t}\n\t},\n\ttoggleDropdown: function toggleDropdown(e) {\n\t\te.preventDefault();\n\n\t\tthis.setState({ isOpen: !this.state.isOpen });\n\t},\n\tgetDropdownState: function getDropdownState() {\n\t\tvar className = 'c_dropdown--alt c_dropdown--bs';\n\n\t\tif (this.state.isOpen) {\n\t\t\tclassName += ' c_dropdown--open';\n\t\t}\n\n\t\treturn className;\n\t},\n\tonContactInfoChange: function onContactInfoChange(parameter, e) {\n\t\tthis.props.onContactInfoChange(parameter, e.target.value);\n\t},\n\tonPhonePrefixChange: function onPhonePrefixChange(e) {\n\t\tthis.props.onContactInfoChange('phoneCountryPrefix', e.target.value);\n\t},\n\tonMobilePrefixChange: function onMobilePrefixChange(e) {\n\t\tthis.props.onContactInfoChange('mobileCountryPrefix', e.target.value);\n\t},\n\tonFaxPrefixChange: function onFaxPrefixChange(e) {\n\t\tthis.props.onContactInfoChange('faxCountryPrefix', e.target.value);\n\t},\n\trenderCountryPhonePrefixes: function renderCountryPhonePrefixes(field) {\n\t\tvar options = [];\n\n\t\tthis.props.countryPhonePrefixes.forEach(function (item) {\n\t\t\tif (item.prefix === '') {\n\t\t\t\toptions.push(React.createElement(\n\t\t\t\t\t'option',\n\t\t\t\t\t{ key: field + '-N/A', value: '' },\n\t\t\t\t\t'--'\n\t\t\t\t));\n\t\t\t} else {\n\t\t\t\toptions.push(React.createElement(\n\t\t\t\t\t'option',\n\t\t\t\t\t{ key: field + '-' + item.prefix, value: item.prefix },\n\t\t\t\t\t'+' + item.prefix\n\t\t\t\t));\n\t\t\t}\n\t\t}.bind(this));\n\n\t\treturn options;\n\t},\n\trenderDropdownClassname: function renderDropdownClassname(error) {\n\t\tvar className = 'c_form__field c_form__field--text c_form__field--alt';\n\t\tif (error) {\n\t\t\tclassName += ' input-validation-error';\n\t\t}\n\t\treturn className;\n\t},\n\thasError: function hasError(key) {\n\t\tvar valid = true;\n\n\t\tif (this.props.validation[key] !== undefined) {\n\t\t\tvalid = this.props.validation[key];\n\t\t}\n\n\t\tvar error = !valid;\n\n\t\treturn error;\n\t},\n\trender: function render() {\n\t\treturn React.createElement(\n\t\t\t'div',\n\t\t\t{ className: this.getDropdownState() },\n\t\t\tReact.createElement(\n\t\t\t\t'header',\n\t\t\t\t{ className: 'c_dropdown__header--alt h--flexbox' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'span',\n\t\t\t\t\t{ className: 'c_dropdown__title c_text--blue' },\n\t\t\t\t\tthis.props.dictionary.contactInfoTitle\n\t\t\t\t),\n\t\t\t\tthis.props.validation.contactInfoOk() && React.createElement(\n\t\t\t\t\t'a',\n\t\t\t\t\t{\n\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\tclassName: 'c_dropdown__trigger c_dropdown__trigger--blue',\n\t\t\t\t\t\tonClick: this.toggleDropdown\n\t\t\t\t\t},\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'span',\n\t\t\t\t\t\t{ className: 'c_text--blue c_text--uppercase' },\n\t\t\t\t\t\tthis.props.dictionary.editBtn\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t),\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'c_dropdown__content c_dropdown__content--alt c_dropdown__content--padded' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'col-lg-2 col-md-2 col-sm-4 col-xs-4 h--no-padding h--medium-margin-bottom' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'fieldset',\n\t\t\t\t\t\t\t\t{ className: 'c_form__fieldset c_form__entry' },\n\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t'label',\n\t\t\t\t\t\t\t\t\t{ htmlFor: 'frm_phone_prefix', className: 'c_form__label' },\n\t\t\t\t\t\t\t\t\tthis.props.dictionary.countryPhonePrefix\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t\t{ className: 'c_form__select--alt__container' },\n\t\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t\t'select',\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\t\tid: 'frm_phone_prefix',\n\t\t\t\t\t\t\t\t\t\t\tname: 'phoneCountryPrefix',\n\t\t\t\t\t\t\t\t\t\t\tclassName: this.renderDropdownClassname(this.hasError('phoneCountryPrefix')),\n\t\t\t\t\t\t\t\t\t\t\t'aria-required': true,\n\t\t\t\t\t\t\t\t\t\t\t'aria-invalid': this.hasError('phoneCountryPrefix'),\n\t\t\t\t\t\t\t\t\t\t\tvalue: this.props.contactInfo.phoneCountryPrefix,\n\t\t\t\t\t\t\t\t\t\t\tonChange: this.onPhonePrefixChange\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\tthis.renderCountryPhonePrefixes('phone')\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\tReact.createElement('span', { className: 'c_form__select--arrow-down icon icon--arrow-down' })\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(TextBox, {\n\t\t\t\t\t\t\tname: 'phoneNumber',\n\t\t\t\t\t\t\ttitle: this.props.dictionary.phone,\n\t\t\t\t\t\t\tvalue: this.props.contactInfo.phoneNumber,\n\t\t\t\t\t\t\tplaceholder: this.props.dictionary.phonePlaceholder,\n\t\t\t\t\t\t\twrapperClass: 'col-lg-4 col-md-4 col-sm-8 col-xs-8 h--no-padding h--normal-padding-left h--medium-margin-bottom',\n\t\t\t\t\t\t\tonInput: this.onContactInfoChange.bind(this, 'phoneNumber'),\n\t\t\t\t\t\t\thasError: this.hasError('phoneNumber'),\n\t\t\t\t\t\t\textraInputClassName: 'c_form__field--alt',\n\t\t\t\t\t\t\tisRequired: true\n\t\t\t\t\t\t})\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'col-lg-2 col-md-2 col-sm-4 col-xs-4 h--no-padding h--medium-margin-bottom' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'fieldset',\n\t\t\t\t\t\t\t\t{ className: 'c_form__fieldset c_form__entry' },\n\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t'label',\n\t\t\t\t\t\t\t\t\t{ htmlFor: 'frm_mobile_prefix', className: 'c_form__label' },\n\t\t\t\t\t\t\t\t\tthis.props.dictionary.countryPhonePrefix\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t\t{ className: 'c_form__select--alt__container' },\n\t\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t\t'select',\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\t\tid: 'frm_mobile_prefix',\n\t\t\t\t\t\t\t\t\t\t\tname: 'mobile_prefix',\n\t\t\t\t\t\t\t\t\t\t\tclassName: 'c_form__field c_form__field--text c_form__field--alt',\n\t\t\t\t\t\t\t\t\t\t\tvalue: this.props.contactInfo.mobileCountryPrefix,\n\t\t\t\t\t\t\t\t\t\t\tonChange: this.onMobilePrefixChange\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\tthis.renderCountryPhonePrefixes('mobile')\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\tReact.createElement('span', { className: 'c_form__select--arrow-down icon icon--arrow-down' })\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(TextBox, {\n\t\t\t\t\t\t\tname: 'mobileNumber',\n\t\t\t\t\t\t\ttitle: this.props.dictionary.mobile,\n\t\t\t\t\t\t\tvalue: this.props.contactInfo.mobileNumber,\n\t\t\t\t\t\t\tplaceholder: this.props.dictionary.mobilePlaceholder,\n\t\t\t\t\t\t\twrapperClass: 'col-lg-4 col-md-4 col-sm-8 col-xs-8 h--no-padding h--normal-padding-left h--medium-margin-bottom',\n\t\t\t\t\t\t\tonInput: this.onContactInfoChange.bind(this, 'mobileNumber'),\n\t\t\t\t\t\t\thasError: false,\n\t\t\t\t\t\t\textraInputClassName: 'c_form__field--alt',\n\t\t\t\t\t\t\tisRequired: false\n\t\t\t\t\t\t})\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'col-lg-2 col-md-2 col-sm-4 col-xs-4 h--no-padding h--medium-margin-bottom' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'fieldset',\n\t\t\t\t\t\t\t\t{ className: 'c_form__fieldset c_form__entry' },\n\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t'label',\n\t\t\t\t\t\t\t\t\t{ htmlFor: 'frm_fax_prefix', className: 'c_form__label' },\n\t\t\t\t\t\t\t\t\tthis.props.dictionary.countryPhonePrefix\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t\t{ className: 'c_form__select--alt__container' },\n\t\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t\t'select',\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\t\tid: 'frm_fax_prefix',\n\t\t\t\t\t\t\t\t\t\t\tname: 'fax_prefix',\n\t\t\t\t\t\t\t\t\t\t\tclassName: 'c_form__field c_form__field--text c_form__field--alt',\n\t\t\t\t\t\t\t\t\t\t\tvalue: this.props.contactInfo.faxCountryPrefix,\n\t\t\t\t\t\t\t\t\t\t\tonChange: this.onFaxPrefixChange\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\tthis.renderCountryPhonePrefixes('fax')\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\tReact.createElement('span', { className: 'c_form__select--arrow-down icon icon--arrow-down' })\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(TextBox, {\n\t\t\t\t\t\t\tname: 'faxNumber',\n\t\t\t\t\t\t\ttitle: this.props.dictionary.fax,\n\t\t\t\t\t\t\tvalue: this.props.contactInfo.faxNumber,\n\t\t\t\t\t\t\tplaceholder: this.props.dictionary.faxPlaceholder,\n\t\t\t\t\t\t\twrapperClass: 'col-lg-4 col-md-4 col-sm-8 col-xs-8 h--no-padding h--normal-padding-left h--medium-margin-bottom',\n\t\t\t\t\t\t\tonInput: this.onContactInfoChange.bind(this, 'faxNumber'),\n\t\t\t\t\t\t\thasError: false,\n\t\t\t\t\t\t\textraInputClassName: 'c_form__field--alt',\n\t\t\t\t\t\t\tisRequired: false\n\t\t\t\t\t\t})\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\t\tReact.createElement(TextBox, {\n\t\t\t\t\t\t\tname: 'email',\n\t\t\t\t\t\t\ttitle: this.props.dictionary.email,\n\t\t\t\t\t\t\tvalue: this.props.contactInfo.email,\n\t\t\t\t\t\t\tplaceholder: this.props.dictionary.emailPlaceholder,\n\t\t\t\t\t\t\twrapperClass: 'col-lg-6 col-md-6 col-sm-12 col-xs-12 h--no-padding h--medium-margin-bottom',\n\t\t\t\t\t\t\tonInput: this.onContactInfoChange.bind(this, 'email'),\n\t\t\t\t\t\t\thasError: this.hasError('email'),\n\t\t\t\t\t\t\textraInputClassName: 'c_form__field--alt',\n\t\t\t\t\t\t\tisRequired: true\n\t\t\t\t\t\t})\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t}\n});\n\nmodule.exports = CompanyContactInfo;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Settings/components/CompanyContactInfo.jsx\n// module id = 788\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Settings/components/CompanyContactInfo.jsx?"); /***/ }), /* 789 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\n// React\nvar React = __webpack_require__(1);\nvar ReactDOM = __webpack_require__(34);\n// Store and actions\nvar Store = __webpack_require__(73);\nvar ViewActions = __webpack_require__(82);\n// Models\nvar BusinessSettingsSubmission = __webpack_require__(133);\nvar BusinessSettingsSubmissionResult = __webpack_require__(134);\nvar BusinessSettingsValidation = __webpack_require__(135);\nvar CustomDealerItem = __webpack_require__(257);\nvar Member = __webpack_require__(258);\n// Components\nvar TextBox = __webpack_require__(137);\nvar TextArea = __webpack_require__(136);\n\nvar CompanyFinancialInfo = React.createClass({\n\tdisplayName: 'CompanyFinancialInfo',\n\n\tgetInitialState: function getInitialState() {\n\t\treturn {\n\t\t\tisOpen: false\n\t\t};\n\t},\n\tcomponentDidUpdate: function componentDidUpdate(prevProps, prevState) {\n\t\tif (prevProps.validation.financialInfoOk() !== this.props.validation.financialInfoOk() && !this.state.isOpen) {\n\t\t\tthis.setState({ isOpen: !this.props.validation.financialInfoOk() });\n\t\t}\n\t},\n\ttoggleDropdown: function toggleDropdown(e) {\n\t\te.preventDefault();\n\n\t\tthis.setState({ isOpen: !this.state.isOpen });\n\t},\n\tgetDropdownState: function getDropdownState() {\n\t\tvar className = 'c_dropdown--alt c_dropdown--bs';\n\n\t\tif (this.state.isOpen) {\n\t\t\tclassName += ' c_dropdown--open';\n\t\t}\n\n\t\treturn className;\n\t},\n\t// Placeholder function to hide elements not ready for release yet, but without loss of html in case it can get implemented\n\tisAvailable: function isAvailable() {\n\t\treturn false;\n\t},\n\tonFinancialInfoChange: function onFinancialInfoChange(parameter, e) {\n\t\tthis.props.onFinancialInfoChange(parameter, e.target.value);\n\t},\n\thasError: function hasError(key) {\n\t\tvar valid = true;\n\n\t\tif (this.props.validation[key] !== undefined) {\n\t\t\tvalid = this.props.validation[key];\n\t\t}\n\n\t\tvar error = !valid;\n\n\t\treturn error;\n\t},\n\trender: function render() {\n\t\treturn React.createElement(\n\t\t\t'div',\n\t\t\t{ className: this.getDropdownState() },\n\t\t\tReact.createElement(\n\t\t\t\t'header',\n\t\t\t\t{ className: 'c_dropdown__header--alt h--flexbox' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'span',\n\t\t\t\t\t{ className: 'c_dropdown__title c_text--blue' },\n\t\t\t\t\tthis.props.dictionary.financialInfoTitle\n\t\t\t\t),\n\t\t\t\tthis.props.validation.financialInfoOk() && React.createElement(\n\t\t\t\t\t'a',\n\t\t\t\t\t{\n\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\tclassName: 'c_dropdown__trigger c_dropdown__trigger--blue',\n\t\t\t\t\t\tonClick: this.toggleDropdown\n\t\t\t\t\t},\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'span',\n\t\t\t\t\t\t{ className: 'c_text--blue c_text--uppercase' },\n\t\t\t\t\t\tthis.props.dictionary.editBtn\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t),\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'c_dropdown__content c_dropdown__content--alt c_dropdown__content--padded' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\t\tReact.createElement(TextBox, {\n\t\t\t\t\t\t\tname: 'vat',\n\t\t\t\t\t\t\ttitle: this.props.dictionary.vat,\n\t\t\t\t\t\t\tvalue: this.props.financialInfo.vat,\n\t\t\t\t\t\t\tplaceholder: this.props.dictionary.vatPlaceholder,\n\t\t\t\t\t\t\twrapperClass: 'grid--v-large__col--6 h--medium-margin-bottom',\n\t\t\t\t\t\t\tonInput: this.onFinancialInfoChange.bind(this, 'vat'),\n\t\t\t\t\t\t\thasError: this.hasError('vat'),\n\t\t\t\t\t\t\textraInputClassName: 'c_form__field--alt',\n\t\t\t\t\t\t\tisRequired: true\n\t\t\t\t\t\t})\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\t\tReact.createElement(TextBox, {\n\t\t\t\t\t\t\tname: 'iban',\n\t\t\t\t\t\t\ttitle: this.props.dictionary.iban,\n\t\t\t\t\t\t\tvalue: this.props.financialInfo.iban,\n\t\t\t\t\t\t\tplaceholder: this.props.dictionary.ibanPlaceholder,\n\t\t\t\t\t\t\twrapperClass: 'grid--v-large__col--6 h--medium-margin-bottom',\n\t\t\t\t\t\t\tonInput: this.onFinancialInfoChange.bind(this, 'iban'),\n\t\t\t\t\t\t\thasError: false,\n\t\t\t\t\t\t\textraInputClassName: 'c_form__field--alt',\n\t\t\t\t\t\t\tisRequired: false\n\t\t\t\t\t\t})\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\t\tReact.createElement(TextBox, {\n\t\t\t\t\t\t\tname: 'bic',\n\t\t\t\t\t\t\ttitle: this.props.dictionary.bic,\n\t\t\t\t\t\t\tvalue: this.props.financialInfo.bic,\n\t\t\t\t\t\t\tplaceholder: this.props.dictionary.bicPlaceholder,\n\t\t\t\t\t\t\twrapperClass: 'grid--v-large__col--6 h--medium-margin-bottom',\n\t\t\t\t\t\t\tonInput: this.onFinancialInfoChange.bind(this, 'bic'),\n\t\t\t\t\t\t\thasError: false,\n\t\t\t\t\t\t\textraInputClassName: 'c_form__field--alt',\n\t\t\t\t\t\t\tisRequired: false\n\t\t\t\t\t\t})\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t}\n});\n\nmodule.exports = CompanyFinancialInfo;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Settings/components/CompanyFinancialInfo.jsx\n// module id = 789\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Settings/components/CompanyFinancialInfo.jsx?"); /***/ }), /* 790 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\n// React\nvar React = __webpack_require__(1);\nvar ReactDOM = __webpack_require__(34);\n\nvar CompanyName = React.createClass({\n\tdisplayName: 'CompanyName',\n\n\tgetInitialState: function getInitialState() {\n\t\treturn {\n\t\t\tisOpen: false\n\t\t};\n\t},\n\trenderHtml: function renderHtml(text) {\n\t\treturn {\n\t\t\t__html: text\n\t\t};\n\t},\n\ttoggleDropdown: function toggleDropdown(e) {\n\t\te.preventDefault();\n\n\t\tthis.setState({ isOpen: !this.state.isOpen });\n\t},\n\tgetDropdownState: function getDropdownState() {\n\t\tvar className = 'c_dropdown--alt c_dropdown--bs';\n\n\t\tif (this.state.isOpen) {\n\t\t\tclassName += ' c_dropdown--open';\n\t\t}\n\n\t\treturn className;\n\t},\n\trender: function render() {\n\t\treturn React.createElement(\n\t\t\t'div',\n\t\t\t{ className: this.getDropdownState() },\n\t\t\tReact.createElement(\n\t\t\t\t'header',\n\t\t\t\t{ className: 'c_dropdown__header--alt h--flexbox' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'span',\n\t\t\t\t\t{ className: 'c_dropdown__title c_text--blue' },\n\t\t\t\t\tthis.props.dictionary.companyNameTitle\n\t\t\t\t),\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'a',\n\t\t\t\t\t{\n\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\tclassName: 'c_dropdown__trigger c_dropdown__trigger--blue',\n\t\t\t\t\t\tonClick: this.toggleDropdown\n\t\t\t\t\t},\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'span',\n\t\t\t\t\t\t{ className: 'c_text--blue c_text--uppercase' },\n\t\t\t\t\t\tthis.props.dictionary.editBtn\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t),\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'c_dropdown__content c_dropdown__content--alt c_dropdown__content--padded' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid--v-large__col--12 h--small-margin-bottom' },\n\t\t\t\t\t\tReact.createElement('span', {\n\t\t\t\t\t\t\tclassName: 'c_text--gray c_text--large c_text--italic',\n\t\t\t\t\t\t\tdangerouslySetInnerHTML: this.renderHtml(this.props.companyName)\n\t\t\t\t\t\t}),\n\t\t\t\t\t\tReact.createElement('p', {\n\t\t\t\t\t\t\tclassName: 'c_text--gray c_text--italic',\n\t\t\t\t\t\t\tdangerouslySetInnerHTML: this.renderHtml(this.props.dictionary.changeCompanyNameIntro)\n\t\t\t\t\t\t})\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t}\n});\n\nmodule.exports = CompanyName;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Settings/components/CompanyName.jsx\n// module id = 790\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Settings/components/CompanyName.jsx?"); /***/ }), /* 791 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\n// React\nvar React = __webpack_require__(1);\nvar ReactDOM = __webpack_require__(34);\n// Store and actions\nvar Store = __webpack_require__(73);\nvar ViewActions = __webpack_require__(82);\n// Models\nvar BusinessSettingsSubmission = __webpack_require__(133);\nvar BusinessSettingsSubmissionResult = __webpack_require__(134);\nvar BusinessSettingsValidation = __webpack_require__(135);\nvar CustomDealerItem = __webpack_require__(257);\nvar Member = __webpack_require__(258);\n// Components\nvar TextBox = __webpack_require__(137);\nvar TextArea = __webpack_require__(136);\n\nvar CustomDealerItem = React.createClass({\n\tdisplayName: 'CustomDealerItem',\n\n\tgetInitialState: function getInitialState() {\n\t\treturn {\n\t\t\tisOpen: false,\n\t\t\tdeletePopupActive: false\n\t\t};\n\t},\n\tcomponentDidMount: function componentDidMount() {\n\t\tthis.setState({ isOpen: !this.props.validation.customItemDataOk() });\n\t},\n\tcomponentDidUpdate: function componentDidUpdate(prevProps, prevState) {\n\t\tif (prevProps.validation.customItemDataOk() !== this.props.validation.customItemDataOk() && !this.state.isOpen) {\n\t\t\tthis.setState({ isOpen: !this.props.validation.customItemDataOk() });\n\t\t}\n\t\tif (this.props.item.submit && !this.props.validation.customItemDataOk() && !this.state.isOpen) {\n\t\t\tthis.setState({ isOpen: !this.props.validation.customItemDataOk() });\n\t\t}\n\t},\n\ttoggleDropdown: function toggleDropdown(e) {\n\t\te.preventDefault();\n\n\t\tthis.setState({ isOpen: !this.state.isOpen });\n\t},\n\tgetDropdownState: function getDropdownState() {\n\t\tvar className = 'c_dropdown--alt c_dropdown--bs';\n\n\t\tif (this.state.isOpen) {\n\t\t\tclassName += ' c_dropdown--open';\n\t\t}\n\n\t\treturn className;\n\t},\n\tonCustomDealerItemChange: function onCustomDealerItemChange(id, parameter, e) {\n\t\tthis.props.onCustomDealerItemChange(id, parameter, e.target.value);\n\t},\n\tonDeleteCustomDealerItem: function onDeleteCustomDealerItem(e) {\n\t\te.preventDefault();\n\n\t\tthis.setState({ deletePopupActive: true });\n\t},\n\tonDeleteCustomDealerItemConfirmed: function onDeleteCustomDealerItemConfirmed(e) {\n\t\te.preventDefault();\n\n\t\tthis.setState({ deletePopupActive: false });\n\t\tthis.props.onDeleteCustomDealerItemConfirmed(this.props.item.id);\n\t},\n\tclosePopup: function closePopup(e) {\n\t\te.preventDefault();\n\n\t\tthis.setState({ deletePopupActive: false });\n\t},\n\tgetPopupState: function getPopupState() {\n\t\tvar className = 'c_popup';\n\n\t\tif (this.state.deletePopupActive) {\n\t\t\tclassName += ' c_popup--active';\n\t\t}\n\n\t\treturn className;\n\t},\n\thasError: function hasError(key) {\n\t\tvar valid = true;\n\n\t\tif (this.props.item.id > 0) {\n\t\t\tif (this.props.validation[key] !== undefined) {\n\t\t\t\tvalid = this.props.validation[key];\n\t\t\t}\n\t\t} else {\n\t\t\tif (!this.props.submitted || !this.props.item.submit) {\n\t\t\t\tvalid = true;\n\t\t\t} else {\n\t\t\t\tif (this.props.validation[key] !== undefined) {\n\t\t\t\t\tvalid = this.props.validation[key];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tvar error = !valid;\n\n\t\treturn error;\n\t},\n\trender: function render() {\n\t\treturn React.createElement(\n\t\t\t'div',\n\t\t\t{ className: this.getDropdownState() },\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: this.getPopupState() },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'c_popup__header c_popup__header--half' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'a',\n\t\t\t\t\t\t{ href: '#', className: 'c_button c_popup__close', onClick: this.closePopup },\n\t\t\t\t\t\tReact.createElement('i', { className: 'icon icon--cross' }),\n\t\t\t\t\t\tthis.props.dictionary.closePopup\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'c_popup__title' },\n\t\t\t\t\t\tthis.props.dictionary.deleteCustomDealerItemQuestion\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'row' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'col-md-12' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t{ className: 'c_text--gray' },\n\t\t\t\t\t\t\t\tthis.props.item.name\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'row' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'col-md-12 c_popup__buttons hidden-xs' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\t\t\t\tclassName: 'center c_link--cancel',\n\t\t\t\t\t\t\t\t\tonClick: this.closePopup\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tReact.createElement('span', null),\n\t\t\t\t\t\t\t\tthis.props.dictionary.cancel\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\t\t\t\tclassName: 'c_button c_button--red center h--large-margin-left',\n\t\t\t\t\t\t\t\t\tonClick: this.onDeleteCustomDealerItemConfirmed\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tthis.props.dictionary.deleteCustomItem\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'col-md-12 c_popup__buttons visible-xs c_popup__buttons--sides' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\t\t\t\tclassName: 'center h--large-margin-left c_link--cancel',\n\t\t\t\t\t\t\t\t\tonClick: this.closePopup\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tReact.createElement('span', null),\n\t\t\t\t\t\t\t\tthis.props.dictionary.cancel\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\t\t\t\tclassName: 'c_button c_button--red c_button--small center'\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tthis.props.dictionary.deleteCustomItem\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\tReact.createElement('div', { className: 'c_popup__bg' })\n\t\t\t),\n\t\t\tReact.createElement(\n\t\t\t\t'header',\n\t\t\t\t{ className: 'c_dropdown__header--alt h--flexbox' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'span',\n\t\t\t\t\t{ className: 'c_dropdown__title c_text--blue c_dropdown__title--list-item' },\n\t\t\t\t\tthis.props.item.name\n\t\t\t\t),\n\t\t\t\t(!this.props.item.submit || this.props.item.submit && this.props.validation.customItemDataOk()) && React.createElement(\n\t\t\t\t\t'a',\n\t\t\t\t\t{\n\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\tclassName: 'c_dropdown__trigger c_dropdown__trigger--blue',\n\t\t\t\t\t\tonClick: this.toggleDropdown\n\t\t\t\t\t},\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'span',\n\t\t\t\t\t\t{ className: 'c_text--blue c_text--uppercase' },\n\t\t\t\t\t\tthis.props.dictionary.editBtn\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t),\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'c_dropdown__content c_dropdown__content--alt c_dropdown__content--padded' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'grid--v-large__col--12' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\t\tReact.createElement(TextBox, {\n\t\t\t\t\t\t\tname: 'name-' + this.props.item.id,\n\t\t\t\t\t\t\ttitle: this.props.dictionary.customItemName,\n\t\t\t\t\t\t\tvalue: this.props.item.name,\n\t\t\t\t\t\t\tplaceholder: this.props.dictionary.customItemNamePlaceholder,\n\t\t\t\t\t\t\twrapperClass: 'grid--v-large__col--6 h--medium-margin-bottom',\n\t\t\t\t\t\t\tonInput: this.onCustomDealerItemChange.bind(this, this.props.item.id, 'name'),\n\t\t\t\t\t\t\thasError: this.hasError('name'),\n\t\t\t\t\t\t\textraInputClassName: 'c_form__field--alt',\n\t\t\t\t\t\t\tisRequired: true\n\t\t\t\t\t\t})\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\t\tReact.createElement(TextArea, {\n\t\t\t\t\t\t\tname: 'description-' + this.props.item.id,\n\t\t\t\t\t\t\ttitle: this.props.dictionary.customItemDescription,\n\t\t\t\t\t\t\tvalue: this.props.item.description,\n\t\t\t\t\t\t\tplaceholder: this.props.dictionary.customItemDescriptionPlaceholder,\n\t\t\t\t\t\t\twrapperClass: 'grid--v-large__col--6 h--medium-margin-bottom',\n\t\t\t\t\t\t\tonInput: this.onCustomDealerItemChange.bind(this, this.props.item.id, 'description')\n\t\t\t\t\t\t\t/*hasError={this.hasError(\"description\")}*/\n\t\t\t\t\t\t\t, extraInputClassName: 'c_form__field--alt',\n\t\t\t\t\t\t\tisRequired: false\n\t\t\t\t\t\t})\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\t\tReact.createElement(TextBox, {\n\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\tname: 'price-' + this.props.item.id,\n\t\t\t\t\t\t\ttitle: this.props.dictionary.customItemPrice,\n\t\t\t\t\t\t\tvalue: this.props.item.price,\n\t\t\t\t\t\t\tplaceholder: this.props.dictionary.customItemPricePlaceholder,\n\t\t\t\t\t\t\twrapperClass: 'grid--v-large__col--6 h--medium-margin-bottom',\n\t\t\t\t\t\t\tonInput: this.onCustomDealerItemChange.bind(this, this.props.item.id, 'price'),\n\t\t\t\t\t\t\thasError: this.hasError('price'),\n\t\t\t\t\t\t\textraInputClassName: 'c_form__field--alt c_no-spinners c_number-formatting',\n\t\t\t\t\t\t\taddon: this.props.currencySymbol,\n\t\t\t\t\t\t\tisRequired: true\n\t\t\t\t\t\t}),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'grid--v-large__col--6 grid--v-large__col--omega' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t{ className: 'grid__row c_dropdown__actions' },\n\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\t\t\t\t\tclassName: 'c_dropdown__actions--delete',\n\t\t\t\t\t\t\t\t\t\tonClick: this.onDeleteCustomDealerItem\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t\t\t{ className: 'c_dropdown__actions--delete_icon' },\n\t\t\t\t\t\t\t\t\t\tReact.createElement('i', { className: 'icon icon--cross' })\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t\t\t{ className: 'c_dropdown__actions--delete_text c_link--alt' },\n\t\t\t\t\t\t\t\t\t\t' ',\n\t\t\t\t\t\t\t\t\t\tthis.props.dictionary.deleteCustomItem\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t}\n});\n\nmodule.exports = CustomDealerItem;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Settings/components/CustomDealerItem.jsx\n// module id = 791\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Settings/components/CustomDealerItem.jsx?"); /***/ }), /* 792 */ /***/ (function(module, exports, __webpack_require__) { eval("'use strict';\n\n// React\nvar React = __webpack_require__(1);\nvar ReactDOM = __webpack_require__(34);\n// Store and actions\nvar Store = __webpack_require__(73);\nvar ViewActions = __webpack_require__(82);\n// Models\nvar BusinessSettingsSubmission = __webpack_require__(133);\nvar BusinessSettingsSubmissionResult = __webpack_require__(134);\nvar BusinessSettingsValidation = __webpack_require__(135);\nvar CustomDealerItem = __webpack_require__(257);\nvar Member = __webpack_require__(258);\n// Components\nvar TextBox = __webpack_require__(137);\nvar TextArea = __webpack_require__(136);\n\nvar Member = React.createClass({\n\tdisplayName: 'Member',\n\n\tgetInitialState: function getInitialState() {\n\t\treturn {\n\t\t\tisOpen: false,\n\t\t\tdeletePopupActive: false,\n\t\t\tchangeProfilePicPopupActive: false,\n\t\t\tdefaultAvatarImagePath: '',\n\t\t\tsubmittingProfilePicture: false\n\t\t};\n\t},\n\tcomponentDidMount: function componentDidMount() {\n\t\tthis.setState({ isOpen: !this.props.validation.memberDataOk() });\n\t},\n\tcomponentDidUpdate: function componentDidUpdate(prevProps, prevState) {\n\t\tif (prevProps.validation.memberDataOk() !== this.props.validation.memberDataOk() && !this.state.isOpen) {\n\t\t\tthis.setState({ isOpen: !this.props.validation.memberDataOk() });\n\t\t}\n\t\tif (this.props.member.submit && !this.props.validation.memberDataOk() && !this.state.isOpen) {\n\t\t\tthis.setState({ isOpen: !this.props.validation.memberDataOk() });\n\t\t}\n\t},\n\ttoggleDropdown: function toggleDropdown(e) {\n\t\te.preventDefault();\n\n\t\tthis.setState({ isOpen: !this.state.isOpen });\n\t},\n\tgetDropdownState: function getDropdownState() {\n\t\tvar className = 'c_dropdown--alt c_dropdown--bs';\n\n\t\tif (this.state.isOpen) {\n\t\t\tclassName += ' c_dropdown--open';\n\t\t}\n\n\t\treturn className;\n\t},\n\tonDeleteMember: function onDeleteMember(e) {\n\t\te.preventDefault();\n\n\t\tthis.setState({ deletePopupActive: true });\n\t},\n\tonDeleteMemberConfirmed: function onDeleteMemberConfirmed(e) {\n\t\te.preventDefault();\n\n\t\tthis.setState({ deletePopupActive: false });\n\t\tthis.props.onDeleteMemberConfirmed(this.props.member.id);\n\t},\n\tgetDeleteMemberPopupState: function getDeleteMemberPopupState() {\n\t\tvar className = 'c_popup';\n\n\t\tif (this.state.deletePopupActive) {\n\t\t\tclassName += ' c_popup--active';\n\t\t}\n\n\t\treturn className;\n\t},\n\tcloseDeleteMemberPopup: function closeDeleteMemberPopup(e) {\n\t\te.preventDefault();\n\n\t\tthis.setState({ deletePopupActive: false });\n\t},\n\tonMemberItemChange: function onMemberItemChange(id, parameter, e) {\n\t\tthis.props.onMemberItemChange(id, parameter, e.target.value);\n\t},\n\tonPhonePrefixChange: function onPhonePrefixChange(e) {\n\t\tthis.props.onMemberItemChange(this.props.member.id, 'phoneCountryPrefix', e.target.value);\n\t},\n\tonMobilePrefixChange: function onMobilePrefixChange(e) {\n\t\tthis.props.onMemberItemChange(this.props.member.id, 'mobileCountryPrefix', e.target.value);\n\t},\n\tonChooseProfilePic: function onChooseProfilePic(e) {\n\t\te.preventDefault();\n\n\t\tthis.setState({ changeProfilePicPopupActive: true });\n\t},\n\tgetChangeProfilePicPopupState: function getChangeProfilePicPopupState() {\n\t\tvar className = 'c_popup c_popup--no-flex';\n\n\t\tif (this.state.changeProfilePicPopupActive) {\n\t\t\tclassName += ' c_popup--active';\n\t\t}\n\n\t\treturn className;\n\t},\n\tcloseChangeProfilePicPopup: function closeChangeProfilePicPopup(e) {\n\t\te.preventDefault();\n\n\t\tthis.setState({ changeProfilePicPopupActive: false });\n\t},\n\tonProfilePicChoosen: function onProfilePicChoosen(e) {\n\t\te.preventDefault();\n\n\t\tthis.setState({ changeProfilePicPopupActive: false });\n\t},\n\tonProfilePicSelected: function onProfilePicSelected(e) {\n\t\tViewActions.submitProfilePicture(e.target.files[0], this.props.member.id);\n\t},\n\tonDefaultAvatarChoosen: function onDefaultAvatarChoosen(e) {\n\t\tthis.props.onMemberItemChange(this.props.member.id, 'avatar', e.target.value);\n\t},\n\tgetAvatarId: function getAvatarId(memberId, index) {\n\t\treturn memberId + '-' + index;\n\t},\n\tgetDefaultAvatar: function getDefaultAvatar(avatar, memberId, index) {\n\t\treturn React.createElement(\n\t\t\t'label',\n\t\t\t{\n\t\t\t\thtmlFor: 'profile-avatar-' + this.getAvatarId(memberId, index),\n\t\t\t\tclassName: 'c_masthead__user--radio-label'\n\t\t\t},\n\t\t\tReact.createElement(\n\t\t\t\t'form',\n\t\t\t\t{\n\t\t\t\t\tmethod: 'post',\n\t\t\t\t\tid: 'profile-avatar-form-' + this.getAvatarId(memberId, index),\n\t\t\t\t\tname: 'profile-avatar-form-' + this.getAvatarId(memberId, index),\n\t\t\t\t\tencType: 'multipart/form-data',\n\t\t\t\t\tnoValidate: 'novalidate'\n\t\t\t\t},\n\t\t\t\tReact.createElement('input', {\n\t\t\t\t\tid: 'profile-avatar-' + this.getAvatarId(memberId, index),\n\t\t\t\t\tname: 'profile-avatar-' + this.getAvatarId(memberId, index),\n\t\t\t\t\tvalue: avatar.imagePath,\n\t\t\t\t\ttype: 'radio',\n\t\t\t\t\tonClick: this.onDefaultAvatarChoosen\n\t\t\t\t})\n\t\t\t),\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'c_masthead__user c_masthead__user--preview' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'c_masthead__user__image__container c_masthead__user__image__container--radio c_masthead__user__image__container--qs' },\n\t\t\t\t\tReact.createElement('div', { className: 'c_masthead__user__image c_masthead__user__image', style: this.renderAvatarStyle(avatar.imagePath) })\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t},\n\trenderCountryPhonePrefixes: function renderCountryPhonePrefixes(field) {\n\t\tvar options = [];\n\n\t\tthis.props.countryPhonePrefixes.forEach(function (item) {\n\t\t\tif (item.prefix === '') {\n\t\t\t\toptions.push(React.createElement(\n\t\t\t\t\t'option',\n\t\t\t\t\t{ key: field + '-N/A', value: '' },\n\t\t\t\t\t'--'\n\t\t\t\t));\n\t\t\t} else {\n\t\t\t\toptions.push(React.createElement(\n\t\t\t\t\t'option',\n\t\t\t\t\t{ key: field + '-' + item.prefix, value: item.prefix },\n\t\t\t\t\t'+' + item.prefix\n\t\t\t\t));\n\t\t\t}\n\t\t}.bind(this));\n\n\t\treturn options;\n\t},\n\trenderDropdownClassname: function renderDropdownClassname(error) {\n\t\tvar className = 'c_form__field c_form__field--text c_form__field--alt';\n\n\t\tif (error) {\n\t\t\tclassName += ' input-validation-error';\n\t\t}\n\n\t\treturn className;\n\t},\n\thasError: function hasError(key) {\n\t\tvar valid = true;\n\n\t\tif (this.props.member.id > 0) {\n\t\t\tif (this.props.validation[key] !== undefined) {\n\t\t\t\tvalid = this.props.validation[key];\n\t\t\t}\n\t\t} else {\n\t\t\tif (!this.props.submitted || !this.props.member.submit) {\n\t\t\t\tvalid = true;\n\t\t\t} else {\n\t\t\t\tif (this.props.validation[key] !== undefined) {\n\t\t\t\t\tvalid = this.props.validation[key];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tvar error = !valid;\n\n\t\treturn error;\n\t},\n\trenderHtml: function renderHtml(text) {\n\t\treturn {\n\t\t\t__html: text\n\t\t};\n\t},\n\trenderDeleteButton: function renderDeleteButton() {\n\t\treturn React.createElement(\n\t\t\t'div',\n\t\t\t{ className: 'grid--v-large__col--6 grid--v-large__col--omega' },\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'grid__row c_dropdown__actions' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'grid--v-large__col--12 h--medium-margin-bottom' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'a',\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\t\tclassName: 'c_dropdown__actions--delete',\n\t\t\t\t\t\t\tonClick: this.onDeleteMember\n\t\t\t\t\t\t},\n\t\t\t\t\t\tReact.createElement('span', null),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t{ className: 'c_dropdown__actions--delete_icon' },\n\t\t\t\t\t\t\tReact.createElement('i', { className: 'icon icon--cross' })\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t{ className: 'c_dropdown__actions--delete_text c_link--alt' },\n\t\t\t\t\t\t\t' ',\n\t\t\t\t\t\t\tthis.props.dictionary.deleteMember\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t},\n\trenderAvatarStyle: function renderAvatarStyle(imagePath) {\n\t\treturn {\n\t\t\tbackground: 'url(' + imagePath + ')'\n\t\t};\n\t},\n\trender: function render() {\n\t\treturn React.createElement(\n\t\t\t'div',\n\t\t\t{ className: this.getDropdownState() },\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: this.getDeleteMemberPopupState() },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'c_popup__header c_popup__header--half' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'a',\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\t\tclassName: 'c_button c_popup__close',\n\t\t\t\t\t\t\tonClick: this.closeDeleteMemberPopup\n\t\t\t\t\t\t},\n\t\t\t\t\t\tReact.createElement('i', { className: 'icon icon--cross' }),\n\t\t\t\t\t\tthis.props.dictionary.closePopup\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'c_popup__title' },\n\t\t\t\t\t\tthis.props.dictionary.deleteMemberQuestion\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'row' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'col-md-12' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t{ className: 'c_text--gray' },\n\t\t\t\t\t\t\t\tthis.props.member.firstName,\n\t\t\t\t\t\t\t\t' ',\n\t\t\t\t\t\t\t\tthis.props.member.lastName\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'row' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'col-md-12 c_popup__buttons hidden-xs' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\t\t\t\tclassName: 'center c_link--cancel',\n\t\t\t\t\t\t\t\t\tonClick: this.closeDeleteMemberPopup\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tReact.createElement('span', null),\n\t\t\t\t\t\t\t\tthis.props.dictionary.cancel\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\t\t\t\tclassName: 'c_button c_button--red center h--large-margin-left',\n\t\t\t\t\t\t\t\t\tonClick: this.onDeleteMemberConfirmed\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tthis.props.dictionary.deleteMember\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'col-md-12 c_popup__buttons visible-xs c_popup__buttons--sides' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\t\t\t\tclassName: 'center h--large-margin-left c_link--cancel',\n\t\t\t\t\t\t\t\t\tonClick: this.closeDeleteMemberPopup\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tReact.createElement('span', null),\n\t\t\t\t\t\t\t\tthis.props.dictionary.cancel\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\t\t\t\tclassName: 'c_button c_button--red c_button--small center',\n\t\t\t\t\t\t\t\t\tonClick: this.onDeleteMemberConfirmed\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tthis.props.dictionary.deleteMember\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\tReact.createElement('div', { className: 'c_popup__bg' })\n\t\t\t),\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: this.getChangeProfilePicPopupState() },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'c_popup__header c_popup__header' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'a',\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\t\tclassName: 'c_button c_popup__close',\n\t\t\t\t\t\t\tonClick: this.closeChangeProfilePicPopup\n\t\t\t\t\t\t},\n\t\t\t\t\t\tReact.createElement('i', { className: 'icon icon--cross' }),\n\t\t\t\t\t\tthis.props.dictionary.closePopup\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'c_popup__title c_text--centered' },\n\t\t\t\t\t\tthis.props.dictionary.changeProfilePicTitle\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'grid--v-large__col--5' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t{ className: 'c_masthead__user c_masthead__user--huge c_masthead__user--huge__preview' },\n\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t\t{ className: 'c_masthead__user__image__container c_masthead__user__image__container--qs' },\n\t\t\t\t\t\t\t\t\tReact.createElement('div', { className: 'c_masthead__user__image c_masthead__user__image', style: this.renderAvatarStyle(this.props.member.avatar.imagePath) })\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'grid--v-large__col--7 grid--v-large__col--omega' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'p',\n\t\t\t\t\t\t\t\t{ className: 'h--mini-margin-bottom c_text--gray' },\n\t\t\t\t\t\t\t\tthis.props.dictionary.uploadImageTitle\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'label',\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\thtmlFor: 'profile-' + this.getAvatarId(this.props.member.id, 0),\n\t\t\t\t\t\t\t\t\tclassName: 'c_button c_button--blue center c_button--img-icon--right h--small-margin-bottom'\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tthis.props.dictionary.chooseFile,\n\t\t\t\t\t\t\t\t'\\xA0',\n\t\t\t\t\t\t\t\tReact.createElement('img', {\n\t\t\t\t\t\t\t\t\tsrc: '/assets/configurator/' + this.props.brand + '/default/images/upload.svg'\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'form',\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tmethod: 'post',\n\t\t\t\t\t\t\t\t\tid: 'profile-form-' + this.getAvatarId(this.props.member.id, 0),\n\t\t\t\t\t\t\t\t\tname: 'profile-form-' + this.getAvatarId(this.props.member.id, 0),\n\t\t\t\t\t\t\t\t\tencType: 'multipart/form-data',\n\t\t\t\t\t\t\t\t\tnoValidate: 'novalidate'\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tReact.createElement('input', {\n\t\t\t\t\t\t\t\t\tid: 'profile-' + this.getAvatarId(this.props.member.id, 0),\n\t\t\t\t\t\t\t\t\tname: 'profile-' + this.getAvatarId(this.props.member.id, 0),\n\t\t\t\t\t\t\t\t\tclassName: 'hidden',\n\t\t\t\t\t\t\t\t\ttype: 'file',\n\t\t\t\t\t\t\t\t\tonChange: this.onProfilePicSelected\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\t\t\tReact.createElement('small', {\n\t\t\t\t\t\t\t\tclassName: 'c_text--gray',\n\t\t\t\t\t\t\t\tdangerouslySetInnerHTML: this.renderHtml(this.props.dictionary.allowedTypes)\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\tReact.createElement('hr', { className: 'h--medium-margin-bottom h--medium-margin-top' }),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t{ className: 'c_text--gray' },\n\t\t\t\t\t\t\t\tthis.props.dictionary.chooseAvatar\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t{ className: 'c_masthead__user--radio-label__container' },\n\t\t\t\t\t\t\t\tthis.getDefaultAvatar(this.props.avatars[0], this.props.member.id, 1),\n\t\t\t\t\t\t\t\tthis.getDefaultAvatar(this.props.avatars[1], this.props.member.id, 2),\n\t\t\t\t\t\t\t\tthis.getDefaultAvatar(this.props.avatars[2], this.props.member.id, 3),\n\t\t\t\t\t\t\t\tthis.getDefaultAvatar(this.props.avatars[3], this.props.member.id, 4)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement('br', { className: 'hidden-xs' }),\n\t\t\t\t\tReact.createElement('br', null),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'row' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'col-md-12 c_popup__buttons c_popup__buttons--right' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\t\t\t\tclassName: 'center c_link--cancel',\n\t\t\t\t\t\t\t\t\tonClick: this.closeChangeProfilePicPopup\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tReact.createElement('span', null),\n\t\t\t\t\t\t\t\tthis.props.dictionary.cancel\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\t\t\t\tclassName: 'c_button center h--large-margin-left',\n\t\t\t\t\t\t\t\t\tonClick: this.onProfilePicChoosen\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tthis.props.dictionary.saveChanges\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'col-md-12 c_popup__buttons c_popup__buttons--sides' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\t\t\t\tclassName: 'c_link--cancel center',\n\t\t\t\t\t\t\t\t\tonClick: this.closeChangeProfilePicPopup\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tReact.createElement('span', null),\n\t\t\t\t\t\t\t\tthis.props.dictionary.cancel\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\t\t\t\tclassName: 'c_button c_button--small center h--large-margin-left',\n\t\t\t\t\t\t\t\t\tonClick: this.onProfilePicChoosen\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tthis.props.dictionary.saveChanges\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\tReact.createElement('div', { className: 'c_popup__bg' })\n\t\t\t),\n\t\t\tReact.createElement(\n\t\t\t\t'header',\n\t\t\t\t{ className: 'c_dropdown__header--alt h--flexbox' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'c_masthead__user' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'c_masthead__user__image__container c_masthead__user__image__container--qs' },\n\t\t\t\t\t\tReact.createElement('div', { className: 'c_masthead__user__image c_masthead__user__image', style: this.renderAvatarStyle(this.props.member.avatar.imagePath) })\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'span',\n\t\t\t\t\t{ className: 'c_dropdown__title c_text--blue' },\n\t\t\t\t\tthis.props.member.firstName,\n\t\t\t\t\t' ',\n\t\t\t\t\tthis.props.member.lastName\n\t\t\t\t),\n\t\t\t\t(!this.props.member.submit || this.props.member.submit && this.props.validation.memberDataOk()) && React.createElement(\n\t\t\t\t\t'a',\n\t\t\t\t\t{\n\t\t\t\t\t\thref: '#',\n\t\t\t\t\t\tclassName: 'c_dropdown__trigger c_dropdown__trigger--blue',\n\t\t\t\t\t\tonClick: this.toggleDropdown\n\t\t\t\t\t},\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'span',\n\t\t\t\t\t\t{ className: 'c_text--blue c_text--uppercase' },\n\t\t\t\t\t\tthis.props.dictionary.editBtn\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t),\n\t\t\tReact.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'c_dropdown__content c_dropdown__content--alt c_dropdown__content--padded' },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'grid--v-large__col--6' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\t\tReact.createElement(TextBox, {\n\t\t\t\t\t\t\tname: 'firstName',\n\t\t\t\t\t\t\ttitle: this.props.dictionary.firstName,\n\t\t\t\t\t\t\tvalue: this.props.member.firstName,\n\t\t\t\t\t\t\tplaceholder: this.props.dictionary.firstNamePlaceholder,\n\t\t\t\t\t\t\twrapperClass: 'grid--v-large__col--12 h--medium-margin-bottom',\n\t\t\t\t\t\t\tonInput: this.onMemberItemChange.bind(this, this.props.member.id, 'firstName'),\n\t\t\t\t\t\t\thasError: this.hasError('firstName'),\n\t\t\t\t\t\t\textraInputClassName: 'c_form__field--alt',\n\t\t\t\t\t\t\tisRequired: true\n\t\t\t\t\t\t})\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\t\tReact.createElement(TextBox, {\n\t\t\t\t\t\t\tname: 'lastName',\n\t\t\t\t\t\t\ttitle: this.props.dictionary.lastName,\n\t\t\t\t\t\t\tvalue: this.props.member.lastName,\n\t\t\t\t\t\t\tplaceholder: this.props.dictionary.lastNamePlaceholder,\n\t\t\t\t\t\t\twrapperClass: 'grid--v-large__col--12 h--medium-margin-bottom',\n\t\t\t\t\t\t\tonInput: this.onMemberItemChange.bind(this, this.props.member.id, 'lastName'),\n\t\t\t\t\t\t\thasError: this.hasError('lastName'),\n\t\t\t\t\t\t\textraInputClassName: 'c_form__field--alt',\n\t\t\t\t\t\t\tisRequired: true\n\t\t\t\t\t\t})\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'col-xs-4 h--no-padding h--medium-margin-bottom' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'fieldset',\n\t\t\t\t\t\t\t\t{ className: 'c_form__fieldset c_form__entry' },\n\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t'label',\n\t\t\t\t\t\t\t\t\t{ htmlFor: 'frm_phone_prefix', className: 'c_form__label' },\n\t\t\t\t\t\t\t\t\tthis.props.dictionary.countryPhonePrefix\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t\t{ className: 'c_form__select--alt__container' },\n\t\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t\t'select',\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\t\tid: 'frm_phone_prefix',\n\t\t\t\t\t\t\t\t\t\t\tname: 'phoneCountryPrefix',\n\t\t\t\t\t\t\t\t\t\t\tclassName: this.renderDropdownClassname(this.hasError('phoneCountryPrefix')),\n\t\t\t\t\t\t\t\t\t\t\t'aria-required': true,\n\t\t\t\t\t\t\t\t\t\t\t'aria-invalid': this.hasError('phoneCountryPrefix'),\n\t\t\t\t\t\t\t\t\t\t\tvalue: this.props.member.phoneCountryPrefix,\n\t\t\t\t\t\t\t\t\t\t\tonChange: this.onPhonePrefixChange\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\tthis.renderCountryPhonePrefixes('phone')\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\tReact.createElement('span', { className: 'c_form__select--arrow-down icon icon--arrow-down' })\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(TextBox, {\n\t\t\t\t\t\t\tname: 'phoneNumber',\n\t\t\t\t\t\t\ttitle: this.props.dictionary.phone,\n\t\t\t\t\t\t\tvalue: this.props.member.phoneNumber,\n\t\t\t\t\t\t\tplaceholder: this.props.dictionary.phonePlaceholder,\n\t\t\t\t\t\t\twrapperClass: 'col-xs-8 h--no-padding h--normal-padding-left h--medium-margin-bottom',\n\t\t\t\t\t\t\tonInput: this.onMemberItemChange.bind(this, this.props.member.id, 'phoneNumber'),\n\t\t\t\t\t\t\thasError: this.hasError('phoneNumber'),\n\t\t\t\t\t\t\textraInputClassName: 'c_form__field--alt',\n\t\t\t\t\t\t\tisRequired: false\n\t\t\t\t\t\t})\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'col-xs-4 h--no-padding h--medium-margin-bottom' },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'fieldset',\n\t\t\t\t\t\t\t\t{ className: 'c_form__fieldset c_form__entry' },\n\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t'label',\n\t\t\t\t\t\t\t\t\t{ htmlFor: 'frm_mobile_prefix', className: 'c_form__label' },\n\t\t\t\t\t\t\t\t\tthis.props.dictionary.countryPhonePrefix\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t\t{ className: 'c_form__select--alt__container' },\n\t\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t\t'select',\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\t\t\t\tid: 'frm_phone_prefix',\n\t\t\t\t\t\t\t\t\t\t\tname: 'mobileCountryPrefix',\n\t\t\t\t\t\t\t\t\t\t\tclassName: this.renderDropdownClassname(this.hasError('mobileCountryPrefix')),\n\t\t\t\t\t\t\t\t\t\t\t'aria-required': true,\n\t\t\t\t\t\t\t\t\t\t\t'aria-invalid': this.hasError('mobileCountryPrefix'),\n\t\t\t\t\t\t\t\t\t\t\tvalue: this.props.member.mobileCountryPrefix,\n\t\t\t\t\t\t\t\t\t\t\tonChange: this.onMobilePrefixChange\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\tthis.renderCountryPhonePrefixes('mobile')\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\tReact.createElement('span', { className: 'c_form__select--arrow-down icon icon--arrow-down' })\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\tReact.createElement(TextBox, {\n\t\t\t\t\t\t\tname: 'mobileNumber',\n\t\t\t\t\t\t\ttitle: this.props.dictionary.mobile,\n\t\t\t\t\t\t\tvalue: this.props.member.mobileNumber,\n\t\t\t\t\t\t\tplaceholder: this.props.dictionary.mobilePlaceholder,\n\t\t\t\t\t\t\twrapperClass: 'col-xs-8 h--no-padding h--normal-padding-left h--medium-margin-bottom',\n\t\t\t\t\t\t\tonInput: this.onMemberItemChange.bind(this, this.props.member.id, 'mobileNumber'),\n\t\t\t\t\t\t\thasError: this.hasError('mobileNumber'),\n\t\t\t\t\t\t\textraInputClassName: 'c_form__field--alt',\n\t\t\t\t\t\t\tisRequired: true\n\t\t\t\t\t\t})\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'grid--v-large__col--6 grid--v-large__col--omega' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t{ href: '#', className: 'w-100 d-flex', onClick: this.onChooseProfilePic },\n\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t{ className: 'c_masthead__user c_masthead__user--huge' },\n\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t\t{ className: 'c_masthead__user__image__container c_masthead__user__image__container--qs' },\n\t\t\t\t\t\t\t\t\tReact.createElement('div', { className: 'c_masthead__user__image c_masthead__user__image', style: this.renderAvatarStyle(this.props.member.avatar.imagePath) }),\n\t\t\t\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t\t\t{ className: 'c_masthead__user__image__container--qs__overlay' },\n\t\t\t\t\t\t\t\t\t\tReact.createElement('img', { src: '/assets/configurator/' + this.props.brand + '/default/images/edit.svg' })\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\tReact.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'grid--v-large__col--12' },\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\t\tReact.createElement(TextBox, {\n\t\t\t\t\t\t\tname: 'email',\n\t\t\t\t\t\t\ttitle: this.props.dictionary.email,\n\t\t\t\t\t\t\tvalue: this.props.member.email,\n\t\t\t\t\t\t\tplaceholder: this.props.dictionary.emailPlaceholder,\n\t\t\t\t\t\t\twrapperClass: 'grid--v-large__col--6 h--medium-margin-bottom',\n\t\t\t\t\t\t\tonInput: this.onMemberItemChange.bind(this, this.props.member.id, 'email'),\n\t\t\t\t\t\t\thasError: this.hasError('email'),\n\t\t\t\t\t\t\textraInputClassName: 'c_form__field--alt',\n\t\t\t\t\t\t\tisRequired: true\n\t\t\t\t\t\t})\n\t\t\t\t\t),\n\t\t\t\t\tthis.props.member.id < 0 && React.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\t\tReact.createElement(TextBox, {\n\t\t\t\t\t\t\tname: 'login',\n\t\t\t\t\t\t\ttitle: this.props.dictionary.login,\n\t\t\t\t\t\t\tvalue: this.props.member.login,\n\t\t\t\t\t\t\tplaceholder: this.props.dictionary.loginPlaceholder,\n\t\t\t\t\t\t\twrapperClass: 'grid--v-large__col--6 h--medium-margin-bottom',\n\t\t\t\t\t\t\tonInput: this.onMemberItemChange.bind(this, this.props.member.id, 'login'),\n\t\t\t\t\t\t\thasError: this.hasError('login'),\n\t\t\t\t\t\t\textraInputClassName: 'c_form__field--alt',\n\t\t\t\t\t\t\tisRequired: true\n\t\t\t\t\t\t})\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\t\tReact.createElement(TextBox, {\n\t\t\t\t\t\t\ttype: 'password',\n\t\t\t\t\t\t\tname: 'password',\n\t\t\t\t\t\t\ttitle: this.props.dictionary.password,\n\t\t\t\t\t\t\tvalue: this.props.member.password,\n\t\t\t\t\t\t\tplaceholder: this.props.dictionary.passwordPlaceholder,\n\t\t\t\t\t\t\twrapperClass: 'grid--v-large__col--6 h--medium-margin-bottom',\n\t\t\t\t\t\t\tonInput: this.onMemberItemChange.bind(this, this.props.member.id, 'password'),\n\t\t\t\t\t\t\thasError: this.hasError('password'),\n\t\t\t\t\t\t\textraInputClassName: 'c_form__field--alt',\n\t\t\t\t\t\t\tisRequired: this.props.member.id < 0\n\t\t\t\t\t\t}),\n\t\t\t\t\t\tthis.props.member.id > 0 ? this.renderDeleteButton() : null\n\t\t\t\t\t),\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'grid__row' },\n\t\t\t\t\t\tthis.props.member.id < 0 && React.createElement(TextBox, {\n\t\t\t\t\t\t\ttype: 'password',\n\t\t\t\t\t\t\tname: 'confirmPassword',\n\t\t\t\t\t\t\ttitle: this.props.dictionary.confirmPassword,\n\t\t\t\t\t\t\tvalue: this.props.member.confirmPassword,\n\t\t\t\t\t\t\tplaceholder: this.props.dictionary.confirmPasswordPlaceholder,\n\t\t\t\t\t\t\twrapperClass: 'grid--v-large__col--6 h--medium-margin-bottom',\n\t\t\t\t\t\t\tonInput: this.onMemberItemChange.bind(this, this.props.member.id, 'confirmPassword'),\n\t\t\t\t\t\t\thasError: this.hasError('confirmPassword'),\n\t\t\t\t\t\t\textraInputClassName: 'c_form__field--alt',\n\t\t\t\t\t\t\tisRequired: this.props.member.id < 0\n\t\t\t\t\t\t}),\n\t\t\t\t\t\tthis.props.member.id < 0 ? this.renderDeleteButton() : null\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t}\n});\n\nmodule.exports = Member;\n\n//////////////////\n// WEBPACK FOOTER\n// ./assets/react/views/Settings/components/Member.jsx\n// module id = 792\n// module chunks = 2\n//# sourceURL=webpack:///./assets/react/views/Settings/components/Member.jsx?"); /***/ }) /******/ ]);