\n\t\t\t\t\t\t\t{ loadingIndicator }\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t>\n\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\n\t\treturn (\n\t\t\t\n\t\t\t\t{ loadingIndicator }\n\t\t\t\n\t\t);\n\t};\n\n\treturn LazyUnveil;\n};\n\nexport default withLazyUnveil;\n","module.exports = window[\"React\"];","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\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 * Copyright 2016-present, Deloitte Digital.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar _Logger = require('./Logger');\n\nvar _Logger2 = _interopRequireDefault(_Logger);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n/**\n * Registration\n */\nvar Registration = function () {\n\tfunction Registration(operator) {\n\t\t_classCallCheck(this, Registration);\n\n\t\t/**\n * Operator reference\n * @type {function}\n * @private\n */\n\t\tthis._operator = operator;\n\n\t\t/**\n * The registration key\n * @type {string}\n * @private\n */\n\t\tthis._key = null;\n\n\t\t/**\n * Registration meta data\n * @type {object}\n * @private\n */\n\t\tthis._meta = {};\n\t}\n\n\t/**\n * The registration operator\n * @returns {Function}\n */\n\n\n\t_createClass(Registration, [{\n\t\tkey: 'as',\n\n\n\t\t/**\n * Set the registration key, must be unique\n * @param {string} key - The key\n * @returns {Registration}\n */\n\t\tvalue: function as(key) {\n\t\t\tif (typeof key !== 'string') {\n\t\t\t\t_Logger2.default.error('RHE13', 'Unexpected key type. Expected a string.', key);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tthis._key = key;\n\n\t\t\treturn this;\n\t\t}\n\n\t\t/**\n * Set the registration default props\n * @param {object} props - The default props\n * @returns {Registration}\n */\n\n\t}, {\n\t\tkey: 'withDefaultProps',\n\t\tvalue: function withDefaultProps(props) {\n\t\t\tthis._meta.defaultProps = props;\n\t\t\treturn this;\n\t\t}\n\n\t\t/**\n * Set the habitat options\n * @param {object} options - The habitat options\n * @param {string} [options.tag] - The tag to use eg 'span'\n * @param {string} [options.className] - The habitats class name\n * @param {boolean} [options.replaceDisabled] - If true, the original node will be left in the dom\n * @returns {Registration}\n */\n\n\t}, {\n\t\tkey: 'withOptions',\n\t\tvalue: function withOptions(options) {\n\t\t\tthis._meta.options = options;\n\t\t\treturn this;\n\t\t}\n\t}, {\n\t\tkey: 'operator',\n\t\tget: function get() {\n\t\t\treturn this._operator;\n\t\t}\n\n\t\t/**\n * The registration key\n * @returns {string|*}\n */\n\n\t}, {\n\t\tkey: 'key',\n\t\tget: function get() {\n\t\t\treturn this._key;\n\t\t}\n\n\t\t/**\n * The registration meta data\n * @returns {Object}\n */\n\n\t}, {\n\t\tkey: 'meta',\n\t\tget: function get() {\n\t\t\treturn this._meta;\n\t\t}\n\t}]);\n\n\treturn Registration;\n}();\n\nexports.default = Registration;\nmodule.exports = exports['default'];","function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = () => ([]);\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = 3120;\nmodule.exports = webpackEmptyContext;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports._Mixin = undefined;\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\nexports.createBootstrapper = createBootstrapper;\n\nvar _Bootstrapper2 = require('../Bootstrapper');\n\nvar _Bootstrapper3 = _interopRequireDefault(_Bootstrapper2);\n\nvar _ContainerBuilder = require('../builder/ContainerBuilder');\n\nvar _ContainerBuilder2 = _interopRequireDefault(_ContainerBuilder);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } /**\n * Copyright 2016-present, Deloitte Digital.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/*\n* Mixin class used for extending the classic spec\n* @private\n*/\nvar _Mixin = exports._Mixin = function (_Bootstrapper) {\n\t_inherits(_Mixin, _Bootstrapper);\n\n\t/*\n * A Constructor that takes a spec\n */\n\tfunction _Mixin(spec, callback) {\n\t\t_classCallCheck(this, _Mixin);\n\n\t\t// Check if a container spec was supplied\n\t\tvar _this = _possibleConstructorReturn(this, (_Mixin.__proto__ || Object.getPrototypeOf(_Mixin)).call(this));\n\n\t\tif (!spec.container) {\n\t\t\tconsole.warn('\"Container\" property was not supplied');\n\t\t\treturn _possibleConstructorReturn(_this);\n\t\t}\n\n\t\t// Set the component selector if defined\n\t\tif (spec.componentSelector) {\n\t\t\t_this.componentSelector = spec.componentSelector;\n\t\t}\n\n\t\t// Set the watcher value if defined\n\t\tif (typeof spec.enableWatcher === 'boolean') {\n\t\t\t_this.enableWatcher = spec.enableWatcher;\n\t\t}\n\n\t\t// Create a new container\n\t\tvar containerBuilder = new _ContainerBuilder2.default(spec.defaultOptions || null);\n\n\t\t// Map the components\n\t\tfor (var i = 0; i < spec.container.length; i++) {\n\t\t\tvar registration = void 0;\n\t\t\tif (spec.container[i].forAsync) {\n\t\t\t\tregistration = containerBuilder.registerAsync(spec.container[i].forAsync).as(spec.container[i].register);\n\t\t\t} else {\n\t\t\t\tregistration = containerBuilder.register(spec.container[i].for).as(spec.container[i].register);\n\t\t\t}\n\n\t\t\tif (spec.container[i].withDefaultProps) {\n\t\t\t\tregistration.withDefaultProps(spec.container[i].withDefaultProps);\n\t\t\t}\n\n\t\t\tif (spec.container[i].withOptions) {\n\t\t\t\tregistration.withOptions(spec.container[i].withOptions);\n\t\t\t}\n\t\t}\n\n\t\t_this._shouldUpdateProxy = spec.shouldUpdate || null;\n\t\t_this._willUpdateProxy = spec.willUpdate || null;\n\t\t_this._didUpdateProxy = spec.didUpdate || null;\n\t\t_this._willUnmountProxy = spec.willUnmountHabitats || null;\n\t\t_this._didUnmountProxy = spec.didUnmountHabitats || null;\n\t\t_this._didDisposeProxy = spec.didDispose || null;\n\n\t\t// Finally, set the container\n\t\t_this.setContainer(containerBuilder.build(), function () {\n\t\t\tif (typeof callback === 'function') {\n\t\t\t\tcallback();\n\t\t\t}\n\t\t});\n\t\treturn _this;\n\t}\n\n\t_createClass(_Mixin, [{\n\t\tkey: 'shouldUpdate',\n\t\tvalue: function shouldUpdate(node) {\n\t\t\tif (this._shouldUpdateProxy) {\n\t\t\t\tthis._shouldUpdateProxy(node);\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'willUpdate',\n\t\tvalue: function willUpdate() {\n\t\t\tif (this._willUpdateProxy) {\n\t\t\t\tthis._willUpdateProxy();\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'didUpdate',\n\t\tvalue: function didUpdate() {\n\t\t\tif (this._didUpdateProxy) {\n\t\t\t\tthis._didUpdateProxy();\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'willUnmountHabitats',\n\t\tvalue: function willUnmountHabitats() {\n\t\t\tif (this._willUnmountProxy) {\n\t\t\t\tthis._willUnmountProxy();\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'didUnmountHabitats',\n\t\tvalue: function didUnmountHabitats() {\n\t\t\tif (this._didUnmountProxy) {\n\t\t\t\tthis._didUnmountProxy();\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'didDispose',\n\t\tvalue: function didDispose() {\n\t\t\tif (this._didDisposeProxy) {\n\t\t\t\tthis._didDisposeProxy();\n\t\t\t}\n\t\t}\n\t}]);\n\n\treturn _Mixin;\n}(_Bootstrapper3.default);\n\n/*\n* The classic bootstrapper\n*/\n\n\nfunction createBootstrapper(spec) {\n\tvar cb = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n\treturn new _Mixin(spec, cb);\n}","// register component(s) with react habitat\nimport withLazyUnveil from '@src/scripts/hoc/withLazyUnveil';\n\nexport default {\n\tDeStipendiumForm: withLazyUnveil( {\n\t\tloadComponent: () =>\n\t\t\timport(\n\t\t\t\t/* webpackChunkName: \"DeStipendiumForm\" */\n\t\t\t\t'./index'\n\t\t\t),\n\t\theight: 1277,\n\t\tmobileHeight: 2858,\n\t} ),\n};\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\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 * Copyright 2016-present, Deloitte Digital.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactDom = require('react-dom');\n\nvar _reactDom2 = _interopRequireDefault(_reactDom);\n\nvar _Logger = require('../Logger');\n\nvar _Logger2 = _interopRequireDefault(_Logger);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar ReactDomFactory = function () {\n\tfunction ReactDomFactory() {\n\t\t_classCallCheck(this, ReactDomFactory);\n\t}\n\n\t_createClass(ReactDomFactory, null, [{\n\t\tkey: 'inject',\n\n\n\t\t/**\n * Injects a react component\n * @param {object}\t\t\tmodule\t\t- The react component\n * @param {object}\t\t\tprops\t\t- Props to initiate component with\n * @param {HTMLElement}\t\ttarget\t\t- The target element to inject to\n */\n\t\tvalue: function inject(module) {\n\t\t\tvar props = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\t\t\tvar target = arguments[2];\n\n\t\t\tif (target) {\n\t\t\t\t_reactDom2.default.render(_react2.default.createElement(module, props || {}), target);\n\t\t\t} else {\n\t\t\t\t_Logger2.default.warn('RHW07', 'Target element is null or undefined.');\n\t\t\t}\n\t\t}\n\n\t\t/**\n * Disposes a react component\n * @param {HTMLElement}\t\ttarget\t\t- The target element to dispose\n */\n\n\t}, {\n\t\tkey: 'dispose',\n\t\tvalue: function dispose(target) {\n\t\t\tif (target) {\n\t\t\t\t_reactDom2.default.unmountComponentAtNode(target);\n\t\t\t}\n\t\t}\n\t}]);\n\n\treturn ReactDomFactory;\n}();\n\nexports.default = ReactDomFactory;\nmodule.exports = exports['default'];","// register component(s) with react habitat\nimport withLazyUnveil from '@src/scripts/hoc/withLazyUnveil';\n\nexport default {\n\t彩神ix官网Form: withLazyUnveil( {\n\t\tloadComponent: () =>\n\t\t\timport(\n\t\t\t\t/* webpackChunkName: \"彩神ix官网Form\" */\n\t\t\t\t'./index'\n\t\t\t),\n\t\theight: 845,\n\t\tmobileHeight: 863,\n\t} ),\n};\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.HABITAT_PROP_REF = exports.HABITAT_PROP_NUMBER = exports.HABITAT_PROP_JSON = exports.HABITAT_PROP = exports.ACTIVE_HABITAT_FLAG = exports.HABITAT_NAMESPACE = exports.HABITAT_HOST_KEY = undefined;\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 * Copyright 2016-present, Deloitte Digital.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\nvar _Logger = require('./Logger');\n\nvar _Logger2 = _interopRequireDefault(_Logger);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar HABITAT_HOST_KEY = exports.HABITAT_HOST_KEY = 'habitatHostElement';\nvar HABITAT_NAMESPACE = exports.HABITAT_NAMESPACE = 'data-habitat';\nvar ACTIVE_HABITAT_FLAG = exports.ACTIVE_HABITAT_FLAG = 'data-has-habitat';\nvar HABITAT_PROP = exports.HABITAT_PROP = 'data-prop-';\nvar HABITAT_PROP_JSON = exports.HABITAT_PROP_JSON = 'data-props';\nvar HABITAT_PROP_NUMBER = exports.HABITAT_PROP_NUMBER = 'data-n-prop-';\nvar HABITAT_PROP_REF = exports.HABITAT_PROP_REF = 'data-r-prop-';\n\nvar hasExpandoWarning = false;\n\n/**\n * Determine an elements computed display style\n * @private\n * @param {HTMLElement}\t\tele\t\t- The element to test\n * @returns {string}\t\t\t\t- Returns 'block' or 'inline'\n */\nfunction getDisplayType(ele) {\n\tvar cStyle = ele.currentStyle || window.getComputedStyle(ele, '');\n\treturn cStyle.display;\n}\n\n/**\n * Converts the first letter of a string to uppercase\n * @private\n * @param {string}\t\tinput\t\t- The string to parse\n * @returns {string}\t\t\t\t- Returns the parsed string\n */\nfunction firstLetterToUpper(input) {\n\treturn input[1].toUpperCase();\n}\n\n/**\n * Converts a habitat hyphenated attribute name into camelCase\n * @param {string}\t\tkey\t\t\t- The habitat pre attr\n * @param {string}\t\tname\t\t- The attribute name\n * @returns {string}\t\t\t\t- The camel case value\n */\nfunction getNameFor(key, name) {\n\treturn name.replace(key, '').replace(/-([a-z])/g, firstLetterToUpper);\n}\n\n/**\n * The Habitat provider class\n */\n\nvar Habitat = function () {\n\tfunction Habitat() {\n\t\t_classCallCheck(this, Habitat);\n\t}\n\n\t_createClass(Habitat, null, [{\n\t\tkey: 'parseProps',\n\n\n\t\t/**\n * Returns a dictionary of properties and values defined on an element\n */\n\t\tvalue: function parseProps(ele) {\n\t\t\t// Default props with reference to the initiating node\n\t\t\tvar props = {\n\t\t\t\tproxy: ele // Pass in a reference to the original node\n\t\t\t};\n\n\t\t\t// Populate custom props from reading any ele attributes that start with 'data-prop-'\n\t\t\tfor (var i = 0; i < ele.attributes.length; i++) {\n\t\t\t\tvar a = ele.attributes[i];\n\n\t\t\t\tif (a.name.indexOf(HABITAT_PROP) === 0) {\n\t\t\t\t\t// Convert prop name from hyphens to camel case\n\t\t\t\t\tvar name = getNameFor(HABITAT_PROP, a.name);\n\n\t\t\t\t\tvar value = a.value || '';\n\n\t\t\t\t\t// Parse booleans\n\t\t\t\t\tif (typeof value === 'string' && value.toLowerCase() === 'false') {\n\t\t\t\t\t\tvalue = false;\n\t\t\t\t\t}\n\t\t\t\t\tif (typeof value === 'string' && value.toLowerCase() === 'true') {\n\t\t\t\t\t\tvalue = true;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Parse json strings\n\t\t\t\t\tif (typeof value === 'string' && value.length >= 2 && (value[0] === '{' && value[value.length - 1] === '}' || value[0] === '[' && value[value.length - 1] === ']')) {\n\t\t\t\t\t\tvalue = JSON.parse(value);\n\t\t\t\t\t}\n\n\t\t\t\t\t// Parse nulls\n\t\t\t\t\tif (typeof value === 'string' && value.toLowerCase() === 'null') {\n\t\t\t\t\t\tvalue = null;\n\t\t\t\t\t}\n\n\t\t\t\t\tprops[name] = value;\n\t\t\t\t} else\n\n\t\t\t\t\t// JSON type props\n\t\t\t\t\tif (a.name === HABITAT_PROP_JSON) {\n\t\t\t\t\t\t// Parse all of the props as json\n\t\t\t\t\t\tObject.assign(props, JSON.parse(a.value));\n\t\t\t\t\t} else\n\n\t\t\t\t\t\t// Number type props\n\t\t\t\t\t\tif (a.name.indexOf('data-n-prop-') === 0) {\n\n\t\t\t\t\t\t\t// Convert prop name from hyphens to camel case\n\t\t\t\t\t\t\tvar _name = getNameFor(HABITAT_PROP_NUMBER, a.name);\n\n\t\t\t\t\t\t\t// Parse the value as a float as it handles both floats and whole int's\n\t\t\t\t\t\t\t// Might want to look at configuring the radix somehow in the future\n\t\t\t\t\t\t\tprops[_name] = parseFloat(a.value);\n\t\t\t\t\t\t} else\n\n\t\t\t\t\t\t\t// Reference type props\n\t\t\t\t\t\t\tif (window && a.name.indexOf(HABITAT_PROP_REF) === 0) {\n\n\t\t\t\t\t\t\t\t// Convert prop name from hyphens to camel case\n\t\t\t\t\t\t\t\tvar _name2 = getNameFor(HABITAT_PROP_REF, a.name);\n\n\t\t\t\t\t\t\t\t// Set the reference to the global object\n\t\t\t\t\t\t\t\tprops[_name2] = window[a.value];\n\t\t\t\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn props;\n\t\t}\n\n\t\t/**\n * Creates a new habitat in the dom\n * @param {HTMLElement} ele - The element\n * @param {string} id - The container id\n * @param {object} options - The habitat default options\n * @param {string} [options.tag] - The tag to use eg 'span'\n * @param {string} [options.className] - The habitats class name\n * @param {boolean} [options.replaceDisabled] - If true, the original node will be left in the dom\n * @returns {Element}\n */\n\n\t}, {\n\t\tkey: 'create',\n\t\tvalue: function create(ele, id) {\n\t\t\tvar options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n\n\t\t\tif (window.document.body === ele || ele === null || ele === undefined) {\n\t\t\t\t_Logger2.default.warn('RHW04', 'Cannot open a habitat for element.', ele);\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\tvar tag = ele.getAttribute('data-habitat-tag') || options.tag || null;\n\n\t\t\tif (!tag) {\n\t\t\t\ttag = 'span';\n\t\t\t\t// If tag is a block level element, then replicate it with the portal\n\t\t\t\tif (getDisplayType(ele) === 'block') {\n\t\t\t\t\ttag = 'div';\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tvar habitat = window.document.createElement(tag);\n\t\t\tvar className = ele.getAttribute('data-habitat-class') || options.className || null;\n\n\t\t\tvar replaceDisabled = typeof options.replaceDisabled === 'boolean' ? options.replaceDisabled : false;\n\t\t\tif (ele.getAttribute('data-habitat-no-replace') !== null) {\n\t\t\t\treplaceDisabled = ele.getAttribute('data-habitat-no-replace').toLocaleLowerCase() === 'true';\n\t\t\t}\n\n\t\t\t// Keep references to habitats container id's\n\t\t\thabitat.setAttribute(HABITAT_NAMESPACE, id);\n\n\t\t\t// Set habitat class name if any\n\t\t\tif (className) {\n\t\t\t\thabitat.className = '' + className;\n\t\t\t}\n\n\t\t\t// inject habitat\n\t\t\tele.parentNode.insertBefore(habitat, ele.nextSibling);\n\n\t\t\t// Determine if we should keep host element in the dom\n\t\t\tif (ele.tagName !== 'INPUT') {\n\n\t\t\t\t// Not an input so assumed we don't need to keep the target\n\t\t\t\t// element around\n\n\t\t\t\tif (!replaceDisabled) {\n\t\t\t\t\t// Detach it\n\t\t\t\t\tvar host = ele.parentNode.removeChild(ele);\n\n\t\t\t\t\t// But try to keep a reference to the host in-case destroy is ever called\n\t\t\t\t\t// and we need to reinstate it back to how we found it\n\n\t\t\t\t\ttry {\n\t\t\t\t\t\t// It might be better if we keep references in a weak map, need to look\n\t\t\t\t\t\t// at this in the future\n\t\t\t\t\t\thabitat[HABITAT_HOST_KEY] = host;\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\tif (hasExpandoWarning) {\n\t\t\t\t\t\t\t// Expando is off\n\t\t\t\t\t\t\t_Logger2.default.warn('RHW06', 'Arbitrary properties are disabled.' + ' The container may not dispose correctly.', e);\n\t\t\t\t\t\t\thasExpandoWarning = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// The element is an input, leave it in the\n\t\t\t\t// dom to allow passing data back to the backend again\n\t\t\t\t// Set a flag so we know its been proccessed\n\t\t\t\tele.setAttribute(ACTIVE_HABITAT_FLAG, 'true');\n\n\t\t\t\t// Set display none however if the input is not a hidden input\n\t\t\t\t// TODO: Investigate what this does to accessibility\n\t\t\t\tif (ele.getAttribute('type') !== 'hidden') {\n\t\t\t\t\tele.setAttribute('style', 'display: none;');\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn habitat;\n\t\t}\n\n\t\t/**\n * Checks if an element has a habitat\n */\n\n\t}, {\n\t\tkey: 'hasHabitat',\n\t\tvalue: function hasHabitat(ele) {\n\t\t\treturn ele.getAttribute(ACTIVE_HABITAT_FLAG) !== null;\n\t\t}\n\n\t\t/**\n * Destroys a habitat\n * @param ele\n */\n\n\t}, {\n\t\tkey: 'destroy',\n\t\tvalue: function destroy(ele) {\n\n\t\t\t// Attempt to reinstate any host objects\n\t\t\ttry {\n\t\t\t\tif (typeof ele[HABITAT_HOST_KEY] !== 'undefined') {\n\t\t\t\t\t// Put back any hosts that where removed\n\t\t\t\t\tele.parentNode.insertBefore(ele[HABITAT_HOST_KEY], ele);\n\t\t\t\t}\n\t\t\t} finally {\n\t\t\t\t// Remove the habitat element\n\t\t\t\tele.parentNode.removeChild(ele);\n\t\t\t}\n\t\t}\n\n\t\t/**\n * Lists habitats for id\n * @param {string} id - The id\n * @returns {NodeList}\n */\n\n\t}, {\n\t\tkey: 'listHabitats',\n\t\tvalue: function listHabitats(id) {\n\t\t\treturn window.document.body.querySelectorAll('[' + HABITAT_NAMESPACE + '=\"' + id + '\"]');\n\t\t}\n\t}]);\n\n\treturn Habitat;\n}();\n\nexports.default = Habitat;","module.exports = window[\"ReactDOM\"];","// register component(s) with react habitat\nimport withLazyUnveil from '@src/scripts/hoc/withLazyUnveil';\n\nexport default {\n\tInfomaterialForm: withLazyUnveil( {\n\t\tloadComponent: () =>\n\t\t\timport(\n\t\t\t\t/* webpackChunkName: \"InfomaterialForm\" */\n\t\t\t\t'./index'\n\t\t\t),\n\t\theight: 1277,\n\t\tmobileHeight: 1440,\n\t} ),\n};\n","import globals from '../shared/globals';\nimport { ebene2Regex, ebene3Regex } from './businessLogic';\n\n/**\n * Takes an ebene 2 or ebene 3 product code and returns a function that\n * tests an ebene 3 product code for a match\n * If ebene 1 code was provided - returns a function that tests the beginning of the string to match\n *\n * @param {string} code\n * @return {Function} Function that takes a string paraneter and tests it agains predefined\n * regex based on the code passed\n */\nexport const makeCodeTest = ( code ) => {\n\tif ( ! code ) {\n\t\treturn () => false;\n\t}\n\n\tlet regex = `^${ code }`;\n\tconst matches = code.match( ebene2Regex );\n\tif ( matches ) {\n\t\tregex = `^${ matches[ 1 ] }_${ matches[ 2 ] }_[^_]+_${ matches[ 3 ] }$`;\n\t} else if ( ebene3Regex.test( code ) ) {\n\t\tregex = `^${ code }$`;\n\t}\n\treturn ( str ) => new RegExp( regex, 'i' ).test( str );\n};\n\nexport const isEbene2Code = ( code ) => ebene2Regex.test( code );\n\nexport const isEbene3Code = ( code ) => ebene3Regex.test( code );\n\nconst sessionStorage = window.sessionStorage;\n\nexport const getProductCode = () => {\n\treturn sessionStorage.getItem( 'prefill_product_code' ) || '';\n};\n\nexport const updateProductCode = () => {\n\tconst { prefillProductcode, isPageContainsForm, isTesting } = globals;\n\n\tif ( prefillProductcode ) {\n\t\tsessionStorage.setItem( 'prefill_product_code', prefillProductcode );\n\t} else if ( ! isPageContainsForm && ! isTesting ) {\n\t\tclearProductCode();\n\t}\n};\n\nexport const clearProductCode = () => {\n\tsessionStorage.removeItem( 'prefill_product_code' );\n};\n\nexport const getPrefillForm = () => {\n\treturn sessionStorage.getItem( 'prefill_form' ) || '';\n};\n\nexport const updatePrefillForm = () => {\n\tconst { prefillForm, isPageContainsForm, isTesting } = globals;\n\n\tif ( prefillForm ) {\n\t\tsessionStorage.setItem( 'prefill_form', prefillForm );\n\t} else if ( ! isPageContainsForm && ! isTesting ) {\n\t\tclearPrefillForm();\n\t}\n};\n\nexport const clearPrefillForm = () => {\n\tsessionStorage.removeItem( 'prefill_form' );\n};\n\nexport const getWebsiteCode = () => {\n\treturn sessionStorage.getItem( 'prefill_website_code' ) || '';\n};\n\nexport const updateWebsiteCode = () => {\n\tconst { currentWebsitecode, isPageContainsForm, isTesting } = globals;\n\n\tif ( currentWebsitecode ) {\n\t\tsessionStorage.setItem( 'prefill_website_code', currentWebsitecode );\n\t} else if ( ! isPageContainsForm && ! isTesting ) {\n\t\tclearWebsiteCode();\n\t}\n};\n\nexport const clearWebsiteCode = () => {\n\tsessionStorage.removeItem( 'prefill_website_code' );\n};\n\nexport const clearAllPrefill = () => {\n\tclearPrefillForm();\n\tclearWebsiteCode();\n\tclearProductCode();\n};\n","// register component(s) with react habitat\nimport withLazyUnveil from '@src/scripts/hoc/withLazyUnveil';\n\nexport default {\n\tSknrwContactForm: withLazyUnveil( {\n\t\tloadComponent: () =>\n\t\t\timport(\n\t\t\t\t/* webpackChunkName: \"SknrwContactForm\" */\n\t\t\t\t'./index'\n\t\t\t),\n\t\t// height: 1277,\n\t\t// mobileHeight: 1440,\n\t} ),\n};\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\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 * Copyright 2016-present, Deloitte Digital.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar _Habitat = require('./Habitat');\n\nvar _Habitat2 = _interopRequireDefault(_Habitat);\n\nvar _Logger = require('./Logger');\n\nvar _Logger2 = _interopRequireDefault(_Logger);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar DEFAULT_HABITAT_SELECTOR = 'data-component';\n\n/**\n * Safe callback wrapper\n * @param {null|function}\t\tcb\t\t\t- The callback\n * @param {object}\t\t\t\tcontext\t\t- The context of the callback\n * @param {...object}\t\t\targs\t\t- Arguments to apply\n * @private\n */\nfunction _callback(cb, context) {\n\tif (typeof cb === 'function') {\n\t\tfor (var _len = arguments.length, args = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n\t\t\targs[_key - 2] = arguments[_key];\n\t\t}\n\n\t\tcb.call.apply(cb, [context].concat(args));\n\t}\n}\n\n/**\n * Bootstrapper class\n */\n\nvar Bootstrapper = function () {\n\n\t/**\n * Constructor\n */\n\tfunction Bootstrapper() {\n\t\t_classCallCheck(this, Bootstrapper);\n\n\t\t// Sanity check\n\t\tif (!window || !window && !window.document) {\n\t\t\tthrow new Error('React Habitat requires a window but cannot see one :(');\n\t\t}\n\n\t\t/**\n * The DOM component selector\n * @type {string}\n */\n\t\tthis.componentSelector = DEFAULT_HABITAT_SELECTOR;\n\n\t\t/**\n * The container\n * Slashes to avoid super collisions\n * @type {Container|null}\n * @private\n */\n\t\tthis.__container__ = null;\n\t}\n\n\t/**\n * Apply the container to nodes\n * @param {array}\t\tnodes\t\t\t\t- The elements to parse\n * @param {function}\t[cb=null]\t\t\t- Optional callback\n * @private\n */\n\n\n\t_createClass(Bootstrapper, [{\n\t\tkey: '_apply',\n\t\tvalue: function _apply(nodes) {\n\t\t\tvar _this = this;\n\n\t\t\tvar cb = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n\t\t\t// const factory = container.domFactory();\n\t\t\t// const id = container.id();\n\t\t\tvar resolveQueue = [];\n\n\t\t\t// Iterate over component elements in the dom\n\n\t\t\tvar _loop = function _loop(i) {\n\t\t\t\tvar ele = nodes[i];\n\n\t\t\t\t// Ignore elements that have already been connected\n\t\t\t\tif (_Habitat2.default.hasHabitat(ele)) {\n\t\t\t\t\treturn 'continue';\n\t\t\t\t}\n\n\t\t\t\t// Resolve components using promises\n\t\t\t\tvar componentName = ele.getAttribute(_this.componentSelector);\n\t\t\t\tresolveQueue.push(_this.__container__.resolve(componentName, _this).then(function (registration) {\n\t\t\t\t\t// This is an expensive operation so only do on non prod builds\n\t\t\t\t\tif (process.env.NODE_ENV !== 'production') {\n\t\t\t\t\t\tif (ele.querySelector('[' + _this.componentSelector + ']')) {\n\t\t\t\t\t\t\t_Logger2.default.warn('RHW08', 'Component should not contain any nested components.', ele);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Generate props\n\t\t\t\t\tvar props = _Habitat2.default.parseProps(ele);\n\t\t\t\t\tif (registration.meta.defaultProps) {\n\t\t\t\t\t\tprops = Object.assign({}, registration.meta.defaultProps, props);\n\t\t\t\t\t}\n\n\t\t\t\t\t// Options\n\t\t\t\t\tvar options = registration.meta.options || {};\n\n\t\t\t\t\t// Inject the component\n\t\t\t\t\t_this.__container__.factory.inject(registration.component, props, _Habitat2.default.create(ele, _this.__container__.id, options));\n\t\t\t\t}).catch(function (err) {\n\t\t\t\t\t_Logger2.default.error('RHW01', 'Cannot resolve component \"' + componentName + '\" for element.', err, ele);\n\t\t\t\t}));\n\t\t\t};\n\n\t\t\tfor (var i = 0; i < nodes.length; ++i) {\n\t\t\t\tvar _ret = _loop(i);\n\n\t\t\t\tif (_ret === 'continue') continue;\n\t\t\t}\n\n\t\t\t// Trigger callback when all promises are finished\n\t\t\t// regardless if some fail\n\t\t\tPromise.all(resolveQueue.map(function (p) {\n\t\t\t\treturn p.catch(function (e) {\n\t\t\t\t\treturn e;\n\t\t\t\t});\n\t\t\t})).then(function () {\n\t\t\t\t_callback(cb);\n\t\t\t}).catch(function (err) {\n\t\t\t\t// We should never get here.. if we do this is a bug\n\t\t\t\tthrow err;\n\t\t\t});\n\t\t}\n\n\t\t/**\n * Set the container\n * @param {object} container - The container\n * @param {function} [cb=null] - Optional callback\n */\n\n\t}, {\n\t\tkey: 'setContainer',\n\t\tvalue: function setContainer(container) {\n\t\t\tvar _this2 = this;\n\n\t\t\tvar cb = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n\t\t\tif (this.__container__ !== null) {\n\t\t\t\t_Logger2.default.error('RHW02', 'A container is already set. ' + 'Please call dispose() before assigning a new one.');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (!container.factory || typeof container.factory.inject !== 'function' || typeof container.factory.dispose !== 'function') {\n\t\t\t\t_Logger2.default.error('RHE10', 'Incompatible factory');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Set the container\n\t\t\tthis.__container__ = container;\n\n\t\t\t// Wire up the components from the container\n\t\t\tthis.update(null, function () {\n\t\t\t\t_callback(cb, _this2);\n\t\t\t});\n\t\t}\n\n\t\t/**\n * The container\n * @returns {Container}\n */\n\n\t}, {\n\t\tkey: 'update',\n\n\n\t\t/**\n * Apply the container to an updated dom structure\n * @param {node}\t\tnode\t\t- Target node to parse or null for entire document body\n * @param {function}\t\t[cb=null]\t- Optional callback\n */\n\t\tvalue: function update(node) {\n\t\t\tvar _this3 = this;\n\n\t\t\tvar cb = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n\t\t\t// Check if we have a container before attempting an update\n\t\t\tif (!this.__container__) {\n\t\t\t\t_callback(cb);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar target = node || window.document.body;\n\t\t\tvar query = target.querySelectorAll('[' + this.componentSelector + ']');\n\n\t\t\tif (!query.length) {\n\t\t\t\t// Nothing to update\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Lifecycle event\n\t\t\t// Hook to allow developers to cancel operation\n\t\t\tif (typeof this.shouldUpdate === 'function') {\n\t\t\t\tif (this.shouldUpdate(target, query) === false) {\n\t\t\t\t\t_callback(cb, this);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Lifecycle event\n\t\t\tif (typeof this.willUpdate === 'function') {\n\t\t\t\tthis.willUpdate(target, query);\n\t\t\t}\n\n\t\t\tthis._apply(query, function () {\n\t\t\t\t// Lifecycle event\n\t\t\t\tif (typeof _this3.didUpdate === 'function') {\n\t\t\t\t\t_this3.didUpdate(target);\n\t\t\t\t}\n\n\t\t\t\t_callback(cb, _this3);\n\t\t\t});\n\t\t}\n\n\t\t/**\n * Unmount all habitat instances for the container\n * @param {function}\t[cb=null]\t- Optional callback\n */\n\n\t}, {\n\t\tkey: 'unmountHabitats',\n\t\tvalue: function unmountHabitats() {\n\t\t\tvar cb = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n\n\n\t\t\t// Lifecycle event\n\t\t\tif (typeof this.willUnmountHabitats === 'function') {\n\t\t\t\tthis.willUnmountHabitats();\n\t\t\t}\n\n\t\t\t// Get open habitats for this container\n\t\t\tvar habitats = _Habitat2.default.listHabitats(this.__container__.id);\n\n\t\t\t// Clean up\n\t\t\tfor (var i = 0; i < habitats.length; ++i) {\n\t\t\t\tthis.__container__.factory.dispose(habitats[i]);\n\t\t\t\t_Habitat2.default.destroy(habitats[i]);\n\t\t\t}\n\n\t\t\t// Lifecycle event\n\t\t\tif (typeof this.didUnmountHabitats === 'function') {\n\t\t\t\tthis.didUnmountHabitats();\n\t\t\t}\n\n\t\t\t// Handle callback\n\t\t\t_callback(cb, this);\n\t\t}\n\n\t\t/**\n * Dispose the container and destroy habitat instances\n * @param {function}\t[cb=null]\t- Optional callback\n */\n\n\t}, {\n\t\tkey: 'dispose',\n\t\tvalue: function dispose() {\n\t\t\tvar _this4 = this;\n\n\t\t\tvar cb = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n\n\t\t\tthis.unmountHabitats(function () {\n\t\t\t\t// Reset and release\n\t\t\t\t_this4.__container__ = null;\n\n\t\t\t\t// Lifecycle event\n\t\t\t\tif (typeof _this4.didDispose === 'function') {\n\t\t\t\t\t_this4.didDispose();\n\t\t\t\t}\n\n\t\t\t\t// Handle callback\n\t\t\t\t_callback(cb, _this4);\n\t\t\t});\n\t\t}\n\t}, {\n\t\tkey: 'container',\n\t\tget: function get() {\n\t\t\treturn this.__container__;\n\t\t}\n\t}]);\n\n\treturn Bootstrapper;\n}();\n\nexports.default = Bootstrapper;\nmodule.exports = exports['default'];","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\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 * Copyright 2016-present, Deloitte Digital.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar _Logger = require('../Logger');\n\nvar _Logger2 = _interopRequireDefault(_Logger);\n\nvar _Registration = require('../Registration');\n\nvar _Registration2 = _interopRequireDefault(_Registration);\n\nvar _Container = require('../Container');\n\nvar _Container2 = _interopRequireDefault(_Container);\n\nvar _ReactDomFactory = require('../factories/ReactDomFactory');\n\nvar _ReactDomFactory2 = _interopRequireDefault(_ReactDomFactory);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar ContainerBuilder = function () {\n\tfunction ContainerBuilder() {\n\t\tvar options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n\n\t\t_classCallCheck(this, ContainerBuilder);\n\n\t\tthis._registrations = [];\n\t\tthis._defaultOptions = options;\n\t\tthis._factory = _ReactDomFactory2.default;\n\t}\n\n\t/**\n * Register new component asynchronously\n * @param {Function} operator - function that returns a promise that resolves a React Component\n * @returns {Registration}\n */\n\n\n\t_createClass(ContainerBuilder, [{\n\t\tkey: 'registerAsync',\n\t\tvalue: function registerAsync(operator) {\n\t\t\tvar registration = new _Registration2.default(operator);\n\t\t\tif (this._defaultOptions) {\n\t\t\t\tregistration.withOptions(this._defaultOptions);\n\t\t\t}\n\t\t\tthis._registrations.push(registration);\n\t\t\treturn registration;\n\t\t}\n\n\t\t/**\n * Register new component\n * @param {object} component - a React Component to register\n * @returns {Registration}\n */\n\n\t}, {\n\t\tkey: 'register',\n\t\tvalue: function register(component) {\n\t\t\treturn this.registerAsync(function () {\n\t\t\t\treturn Promise.resolve(component);\n\t\t\t});\n\t\t}\n\n\t\t/**\n * Set the container factory\n * @param {Object} factory - The factory\n */\n\n\t}, {\n\t\tkey: 'build',\n\n\n\t\t/**\n * Build the container\n * @returns {Container}\n */\n\t\tvalue: function build() {\n\t\t\treturn new _Container2.default(this._factory, this._registrations.reduce(function (acc, registration) {\n\t\t\t\tif (!registration.key) {\n\t\t\t\t\t_Logger2.default.error('RHE11', 'Missing key for registration.');\n\t\t\t\t\treturn acc;\n\t\t\t\t}\n\n\t\t\t\tif (acc[registration.key]) {\n\t\t\t\t\t_Logger2.default.warn('RHW12', 'Duplicate key', registration.key);\n\t\t\t\t}\n\n\t\t\t\tacc[registration.key] = registration;\n\t\t\t\treturn acc;\n\t\t\t}, {}));\n\t\t}\n\t}, {\n\t\tkey: 'factory',\n\t\tset: function set(factory) {\n\t\t\tthis._factory = factory;\n\t\t}\n\t}]);\n\n\treturn ContainerBuilder;\n}();\n\nexports.default = ContainerBuilder;\nmodule.exports = exports['default'];","module.exports = window[\"wp\"][\"i18n\"];","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\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\n/**\n * Copyright 2016-present, Deloitte Digital.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar empty = function empty() {};\nvar log = empty;\nvar concatArgs = empty;\nvar WARN_DEFINITIONS_URL = 'http://tinyurl.com/jxryd3s';\n\n// If not production update the stubs\nif (process.env.NODE_ENV !== 'production') {\n\n\t/**\n * Safely log to the console\n */\n\tlog = function log(type, args) {\n\t\tif (typeof console !== 'undefined' && console[type]) {\n\t\t\tif (console[type].apply) {\n\t\t\t\tconsole[type].apply(undefined, args);\n\t\t\t} else {\n\t\t\t\t// IE9 Fallback\n\t\t\t\tconsole[type](args);\n\t\t\t}\n\t\t}\n\t};\n\n\t/**\n * Concats the message and arguments into a single array\n */\n\tconcatArgs = function concatArgs(msg, args) {\n\t\tvar throwArgs = [msg];\n\n\t\tif (args && args.length) {\n\t\t\tfor (var i = 0; i < args.length; i++) {\n\t\t\t\tthrowArgs.push(args[i]);\n\t\t\t}\n\t\t}\n\n\t\treturn throwArgs;\n\t};\n}\n\n/**\n * Logger class for debugging React Habitat\n */\n\nvar Logger = function () {\n\tfunction Logger() {\n\t\t_classCallCheck(this, Logger);\n\t}\n\n\t_createClass(Logger, null, [{\n\t\tkey: 'warn',\n\n\n\t\t/**\n * Log a warning\n * @param {string} code - The warning code\n * @param {string} msg - The warning message\n * @param {Array}\tdebugs\t- Any debugging arguments\n */\n\t\tvalue: function warn(code, msg) {\n\t\t\tfor (var _len = arguments.length, debugs = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n\t\t\t\tdebugs[_key - 2] = arguments[_key];\n\t\t\t}\n\n\t\t\tvar args = concatArgs('WARNING: ' + code + ' ' + msg + ' ' + WARN_DEFINITIONS_URL + '#' + code.toLowerCase(), debugs);\n\t\t\tlog('warn', args);\n\t\t}\n\n\t\t/**\n * Log an error\n * @param {string} code - The warning code\n * @param {string} msg - The error message\n * @param {Array}\tdebugs\t- Any debugging arguments\n */\n\n\t}, {\n\t\tkey: 'error',\n\t\tvalue: function error(code, msg) {\n\t\t\tfor (var _len2 = arguments.length, debugs = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n\t\t\t\tdebugs[_key2 - 2] = arguments[_key2];\n\t\t\t}\n\n\t\t\tvar args = concatArgs('ERROR: ' + code + ' ' + msg + ' ' + WARN_DEFINITIONS_URL + '#' + code.toLowerCase(), debugs);\n\t\t\tlog('error', args);\n\t\t}\n\t}]);\n\n\treturn Logger;\n}();\n\nexports.default = Logger;\nmodule.exports = exports['default'];","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\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 * Copyright 2016-present, Deloitte Digital.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar _ReactDomFactory = require('./factories/ReactDomFactory');\n\nvar _ReactDomFactory2 = _interopRequireDefault(_ReactDomFactory);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n/**\n * Creates a unique id\n * Example 'C22'\n * @returns {string}\n */\nvar _assignId = function idFactory() {\n\tvar nextId = 0;\n\treturn function _assignId() {\n\t\tnextId = nextId + 1;\n\t\treturn 'C' + nextId;\n\t};\n}();\n\n/**\n * The Container class\n */\n\nvar Container = function () {\n\n\t/**\n * Constructor\n */\n\tfunction Container() {\n\t\tvar factory = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _ReactDomFactory2.default;\n\t\tvar registrations = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n\t\t_classCallCheck(this, Container);\n\n\t\t/**\n * The container id\n * @type {string}\n * @private\n */\n\t\tthis._id = _assignId();\n\n\t\t/**\n * The containers registrations\n * @type {Object}\n * @private\n */\n\t\tthis._registrations = registrations || {};\n\n\t\t/**\n * The containers dom factory\n * @type {ReactDomFactory}\n * @private\n */\n\t\tthis._factory = factory;\n\t}\n\n\t/**\n * The unique id for this container\n * @returns {*}\n */\n\n\n\t_createClass(Container, [{\n\t\tkey: 'resolve',\n\n\n\t\t/**\n * Resolve a component from the container\n * @param {string} key - The unique component key\n * @returns {object} - Component with meta\n */\n\t\tvalue: function resolve(key) {\n\t\t\tvar _this = this;\n\n\t\t\treturn new Promise(function (resolve, reject) {\n\t\t\t\tvar registration = _this._registrations[key];\n\n\t\t\t\tif (!registration || !registration.operator) {\n\t\t\t\t\treject(new Error('Cannot resolve registration.'));\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\n\t\t\t\tregistration.operator().then(function (o) {\n\t\t\t\t\t// Handle any esModule's with default exports\n\t\t\t\t\t// This helps developers write cleaner container code otherwise\n\t\t\t\t\t// they will need to wrap `import()`'s in Promises that return the default..\n\t\t\t\t\t// https://github.com/webpack/webpack.js.org/pull/213\n\t\t\t\t\tvar component = o;\n\t\t\t\t\tif (o.__esModule && o.default) {\n\t\t\t\t\t\tcomponent = o.default;\n\t\t\t\t\t}\n\n\t\t\t\t\tresolve({\n\t\t\t\t\t\tcomponent: component,\n\t\t\t\t\t\tmeta: registration.meta\n\t\t\t\t\t});\n\t\t\t\t\treturn component;\n\t\t\t\t}).catch(reject);\n\t\t\t});\n\t\t}\n\n\t\t/**\n * The containers factory\n * @returns {ReactDomFactory}\n */\n\n\t}, {\n\t\tkey: 'id',\n\t\tget: function get() {\n\t\t\treturn this._id;\n\t\t}\n\t}, {\n\t\tkey: 'factory',\n\t\tget: function get() {\n\t\t\treturn this._factory;\n\t\t}\n\n\t\t/**\n * Returns the number of registrations in the container\n */\n\n\t}, {\n\t\tkey: 'length',\n\t\tget: function get() {\n\t\t\treturn Object.keys(this._registrations).length;\n\t\t}\n\t}]);\n\n\treturn Container;\n}();\n\nexports.default = Container;\nmodule.exports = exports['default'];","import { IHsf012Globals } from './typings';\n\ndeclare global {\n\tinterface Window {\n\t\t___hsf012_forms_globals: IHsf012Globals;\n\t}\n}\n\nexport default window.___hsf012_forms_globals;\n","// register component(s) with react habitat\nimport withLazyUnveil from '@src/scripts/hoc/withLazyUnveil';\n\nexport default {\n\tSknrw彩神ix官网Form: withLazyUnveil( {\n\t\tloadComponent: () =>\n\t\t\timport(\n\t\t\t\t/* webpackChunkName: \"Sknrw彩神ix官网Form\" */\n\t\t\t\t'./index'\n\t\t\t),\n\t\theight: 845,\n\t\tmobileHeight: 863,\n\t} ),\n};\n","var map = {\n\t\"./彩神ix官网Form/habitat.js\": 3993,\n\t\"./DeStipendiumForm/habitat.js\": 3616,\n\t\"./InfomaterialForm/habitat.js\": 6338,\n\t\"./KampagneForm/habitat.js\": 9439,\n\t\"./Sknrw彩神ix官网Form/habitat.js\": 8640,\n\t\"./SknrwContactForm/habitat.js\": 6694\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 8751;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _Bootstrapper = require('./Bootstrapper');\n\nvar _Bootstrapper2 = _interopRequireDefault(_Bootstrapper);\n\nvar _Container = require('./Container');\n\nvar _Container2 = _interopRequireDefault(_Container);\n\nvar _ContainerBuilder = require('./builder/ContainerBuilder');\n\nvar _ContainerBuilder2 = _interopRequireDefault(_ContainerBuilder);\n\nvar _createBootstrapper = require('./classic/createBootstrapper');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = {\n\tBootstrapper: _Bootstrapper2.default,\n\tContainer: _Container2.default,\n\tContainerBuilder: _ContainerBuilder2.default,\n\tcreateBootstrapper: _createBootstrapper.createBootstrapper\n};\nmodule.exports = exports['default'];","export const ebene3Regex = /^([^_]+)_([^_]+)_([^_]+)_([^_]+)$/i;\nexport const ebene2Regex = /^([^_]+)_([^_]+)_([^_]+)$/i;\n\nexport const level2CodeFromLevel3Code = ( level3Code ) => {\n\tif ( ! level3Code ) {\n\t\treturn '';\n\t}\n\n\tconst matches = level3Code.match( ebene3Regex );\n\n\treturn `${ matches[ 1 ] }_${ matches[ 2 ] }_${ matches[ 4 ] }`;\n};\n\nconst parsePrice = ( priceString ) => {\n\t// first isolate the price: \"ab 215,00 鈧琝" => \"215,00\"\n\tconst priceMatches = priceString ? priceString.match( /\\d*,\\d{2}/ ) : null;\n\tconst priceIsolated = priceMatches ? priceMatches[ 0 ] : null;\n\treturn priceIsolated\n\t\t? // then do the actual parsing\n\t\t parseFloat( priceIsolated.replace( ',', '.' ) )\n\t\t: null;\n};\n\nexport const determineTotalPrice = ( products ) => {\n\tconst productsByPrice = products\n\t\t.map( ( { preis, regelstudienzeit } ) => ( {\n\t\t\tpreis: parsePrice( preis ),\n\t\t\tregelstudienzeit: parseInt( regelstudienzeit ),\n\t\t} ) )\n\t\t.filter(\n\t\t\t( { preis, regelstudienzeit } ) => !! preis && !! regelstudienzeit\n\t\t)\n\t\t.sort( ( a, b ) => b.preis - a.preis );\n\n\tif ( ! productsByPrice.length ) {\n\t\treturn null;\n\t}\n\n\tconst { preis, regelstudienzeit } = productsByPrice[ 0 ];\n\n\treturn regelstudienzeit * preis * 12;\n};\n","// register component(s) with react habitat\nimport withLazyUnveil from '@src/scripts/hoc/withLazyUnveil';\n\nexport default {\n\tKampagneForm: withLazyUnveil( {\n\t\tloadComponent: () =>\n\t\t\timport(\n\t\t\t\t/* webpackChunkName: \"KampagneForm\" */\n\t\t\t\t'./index'\n\t\t\t),\n\t\theight: 891,\n\t\tmobileHeight: 1064,\n\t} ),\n};\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"build/\" + ({\"6\":\"SknrwContactForm\",\"637\":\"彩神ix官网Form\",\"648\":\"DeStipendiumForm\",\"754\":\"InfomaterialForm\",\"976\":\"Sknrw彩神ix官网Form\",\"989\":\"KampagneForm\"}[chunkId] || chunkId) + \"_\" + {\"6\":\"5e5a96ca49a325f2af57\",\"138\":\"56b88033738127dfb570\",\"497\":\"dc7b8e6338c9b2084863\",\"604\":\"2f6c15c2568e9a9278ac\",\"614\":\"0bb0a7a5aea796211435\",\"637\":\"11c98dc985cc1fa03c1f\",\"648\":\"101d5253684e4e4c3af3\",\"754\":\"971844d4f17e1552260c\",\"976\":\"9356f8560829d8a6d29a\",\"989\":\"2701758bb24870831093\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + ({\"6\":\"SknrwContactForm\",\"637\":\"彩神ix官网Form\",\"648\":\"DeStipendiumForm\",\"754\":\"InfomaterialForm\",\"976\":\"Sknrw彩神ix官网Form\",\"989\":\"KampagneForm\"}[chunkId] || chunkId) + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.hmd = (module) => {\n\tmodule = Object.create(module);\n\tif (!module.children) module.children = [];\n\tObject.defineProperty(module, 'exports', {\n\t\tenumerable: true,\n\t\tset: () => {\n\t\t\tthrow new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);\n\t\t}\n\t});\n\treturn module;\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/wp-content/plugins/hsf012_forms/\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = (chunkId, fullhref, oldTag, resolve, reject) => {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tif (__webpack_require__.nc) {\n\t\tlinkTag.nonce = __webpack_require__.nc;\n\t}\n\tvar onLinkComplete = (event) => {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && event.type;\n\t\t\tvar realhref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + errorType + \": \" + realhref + \")\");\n\t\t\terr.name = \"ChunkLoadError\";\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realhref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = (href, fullhref) => {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar datahref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (datahref === href || datahref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar datahref = tag.getAttribute(\"data-href\");\n\t\tif(datahref === href || datahref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = (chunkId) => {\n\treturn new Promise((resolve, reject) => {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t57: 0\n};\n\n__webpack_require__.f.miniCss = (chunkId, promises) => {\n\tvar cssChunks = {\"6\":1,\"614\":1,\"637\":1,\"648\":1,\"754\":1,\"976\":1,\"989\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(() => {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, (e) => {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr\n\n// no prefetching\n\n// no preloaded","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t57: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\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\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = globalThis[\"webpackChunkhsf012_forms_plugin\"] = globalThis[\"webpackChunkhsf012_forms_plugin\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","/*\n * this factory adds react-hot-loader with redbox-react\n * and the react-redux provider\n * */\nimport React from 'react';\n// eslint-disable-next-line import/no-unresolved\nimport ReactDOM from 'react-dom';\nexport default class DomFactory {\n\t/**\n\t * Injects a react component\n\t *\n\t * @param {Object} module - The react component\n\t * @param {Object} props - Props to initiate component with\n\t * @param {HTMLElement} target - The target element to inject to\n\t */\n\tinject( module, props = {}, target ) {\n\t\tif ( target ) {\n\t\t\tReactDOM.render(\n\t\t\t\tReact.createElement( module, props || {} ),\n\t\t\t\ttarget\n\t\t\t);\n\t\t} else {\n\t\t\t// eslint-disable-next-line\n\t\t\tconsole.warn( 'RHW07', 'Target element is null or undefined.' );\n\t\t}\n\t}\n\n\t/**\n\t * Disposes a react component\n\t *\n\t * @param {HTMLElement} target - The target element to dispose\n\t */\n\tdispose( target ) {\n\t\tif ( target ) {\n\t\t\tReactDOM.unmountComponentAtNode( target );\n\t\t}\n\t}\n}\n","// logs its argument and a given tag\nexport const log = ( tag ) => ( x ) => {\n\tconsole.log( tag, x ); // eslint-disable-line\n\treturn x;\n};\n\nexport const keys = ( o ) => Object.keys( o );\n\nexport const toPairs = ( o ) => Object.entries( o );\n","/* eslint-disable no-shadow */\nimport ReactHabitat from 'react-habitat';\nimport DomFactory from './DomFactory';\nimport {\n\tgetDuplicateKeysString,\n\tobjectsShareKey,\n} from '@src/scripts/util/state';\nimport { toPairs } from '@src/scripts/util/functional';\n\nconst contexts = [\n\trequire.context( '@src/scripts/components/', true, /habitat\\.js$/ ),\n];\n\nconst asyncContexts = [\n\trequire.context( '@src/scripts/components/', true, /habitat-async\\.js$/ ),\n];\n\nconst getRegisteredComponents = ( contexts ) =>\n\tcontexts.flatMap( ( context ) =>\n\t\tcontext.keys().map( ( key ) => context( key ).default )\n\t);\n\nclass ReactApp extends ReactHabitat.Bootstrapper {\n\tconstructor() {\n\t\tsuper();\n\n\t\tthis.componentSelector = 'data-hsf012-forms-component';\n\n\t\tthis.updateComponents( contexts, asyncContexts );\n\n\t\tif ( module.hot ) {\n\t\t\tconst dependencies = [ ...contexts, ...asyncContexts ].map(\n\t\t\t\t( c ) => c.id\n\t\t\t);\n\n\t\t\tmodule.hot.accept( dependencies, () => {\n\t\t\t\tconst contexts = [\n\t\t\t\t\trequire.context(\n\t\t\t\t\t\t'@src/scripts/components/',\n\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t/habitat\\.js$/\n\t\t\t\t\t),\n\t\t\t\t];\n\n\t\t\t\tconst asyncContexts = [\n\t\t\t\t\trequire.context(\n\t\t\t\t\t\t'@src/scripts/components/',\n\t\t\t\t\t\ttrue,\n\t\t\t\t\t\t/habitat-async\\.js$/\n\t\t\t\t\t),\n\t\t\t\t];\n\n\t\t\t\tthis.dispose();\n\t\t\t\tthis.updateComponents( contexts, asyncContexts );\n\t\t\t} );\n\t\t}\n\t}\n\n\tupdateComponents( contexts, asyncContexts ) {\n\t\t// Create a new container builder\n\t\tconst builder = new ReactHabitat.ContainerBuilder();\n\n\t\tbuilder.factory = new DomFactory();\n\n\t\tconst components = getRegisteredComponents( contexts );\n\t\tconst asyncComponents = getRegisteredComponents( asyncContexts );\n\n\t\tconst allComponents = [ ...components, ...asyncComponents ];\n\n\t\tconst componentPairs = components.flatMap( toPairs );\n\t\tconst asyncComponentPairs = asyncComponents.flatMap( toPairs );\n\n\t\tif (\n\t\t\tprocess.env.NODE_ENV !== 'production' &&\n\t\t\tobjectsShareKey( allComponents )\n\t\t) {\n\t\t\tconst duplicateKeys = getDuplicateKeysString( allComponents );\n\t\t\t// eslint-disable-next-line\n\t\t\tconsole.error(\n\t\t\t\t`react-habitat: there are duplicate components registered under the following names: ${ duplicateKeys }`,\n\t\t\t\t'\\nplease check your habitat.js and habitat-async.js files!'\n\t\t\t);\n\t\t}\n\n\t\t// Register components with react habitat\n\t\tcomponentPairs.forEach( ( [ name, component ] ) =>\n\t\t\tbuilder.register( component ).as( name )\n\t\t);\n\t\tasyncComponentPairs.forEach( ( [ name, component ] ) =>\n\t\t\tbuilder.registerAsync( component ).as( name )\n\t\t);\n\n\t\t// Finally, set the container\n\t\tthis.setContainer( builder.build() );\n\t}\n}\n\n// Always export a 'new' instance so it immediately evokes\nexport default new ReactApp();\n","import globals from '@shared/globals';\n\nexport const redirectThankYouPage = () => {\n\tconst ITYP_NAME = 'dhsv_ityp';\n\n\tconst pageUrl = new URL( window.location.href );\n\tconst queryParams = pageUrl.search;\n\tconst currentUrl = pageUrl.origin + pageUrl.pathname;\n\n\tif (\n\t\tcurrentUrl === globals.formRedirect.default ||\n\t\tcurrentUrl === globals.formRedirect.gfDefault\n\t) {\n\t\t// Check if current page is loaded for the first time\n\t\tif ( ! window.sessionStorage.hasOwnProperty( ITYP_NAME ) ) {\n\t\t\twindow.sessionStorage.setItem( ITYP_NAME, 'crm-redirect-auto' );\n\t\t}\n\n\t\tconst ITYP_VALUE = window.sessionStorage.getItem( ITYP_NAME );\n\n\t\tif ( ITYP_VALUE ) {\n\t\t\tconst crmUrl = globals.formRedirect.gfDefault\n\t\t\t\t? globals.formRedirect.gfCrm\n\t\t\t\t: globals.formRedirect.crm;\n\t\t\tconst redirectURL = crmUrl ? crmUrl + queryParams : '';\n\n\t\t\tconst handleRedirect = () => {\n\t\t\t\tif ( redirectURL ) {\n\t\t\t\t\twindow.location.replace( redirectURL );\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tif ( ITYP_VALUE === 'crm-redirect-auto' ) {\n\t\t\t\twindow.sessionStorage.setItem( ITYP_NAME, 'crm-redirect' );\n\t\t\t\tsetTimeout( handleRedirect, 3600000 ); // 1 hour in milliseconds\n\t\t\t} else if ( ITYP_VALUE === 'crm-redirect' ) {\n\t\t\t\thandleRedirect();\n\t\t\t}\n\t\t}\n\t} else {\n\t\twindow.sessionStorage.removeItem( ITYP_NAME );\n\t}\n};\n","import '@src/styles/frontend.scss';\nimport '@src/scripts/init/react-habitat';\nimport { redirectThankYouPage } from '@util/redirects';\nimport {\n\tupdateProductCode,\n\tupdateWebsiteCode,\n\tupdatePrefillForm,\n} from '@src/scripts/util/prefillForms';\n\nredirectThankYouPage();\nupdateProductCode();\nupdateWebsiteCode();\nupdatePrefillForm();\n"],"names":["inProgress","dataWebpackPrefix","withLazyUnveil","loadComponent","l10n","height","mobileHeight","showMobile","showDesktop","loadingIndicator","props","ref","useRef","startedLoading","updateLoading","useState","listenerAttached","updateListenerAttached","isMobile","window","innerWidth","useEffect","handleUnveil","target","current","document","addEventListener","removeEventListener","finalHeight","units","String","match","wrapperStyle","parseInt","paddingTop","toFixed","preload","test","navigator","userAgent","LazyComponent","lazy","createElement","Suspense","fallback","className","style","module","exports","Object","defineProperty","value","obj","_createClass","defineProperties","i","length","descriptor","enumerable","configurable","writable","key","Constructor","protoProps","staticProps","prototype","_Logger2","__esModule","default","Registration","operator","instance","TypeError","_classCallCheck","this","_operator","_key","_meta","error","defaultProps","options","get","webpackEmptyContext","req","e","Error","code","keys","resolve","id","_Mixin","undefined","createBootstrapper","spec","arguments","_Bootstrapper3","_interopRequireDefault","_ContainerBuilder2","_possibleConstructorReturn","self","call","ReferenceError","_Bootstrapper","callback","_this","__proto__","getPrototypeOf","container","console","warn","componentSelector","enableWatcher","containerBuilder","defaultOptions","registration","forAsync","registerAsync","as","register","for","withDefaultProps","withOptions","_shouldUpdateProxy","shouldUpdate","_willUpdateProxy","willUpdate","_didUpdateProxy","didUpdate","_willUnmountProxy","willUnmountHabitats","_didUnmountProxy","didUnmountHabitats","_didDisposeProxy","didDispose","setContainer","build","subClass","superClass","create","constructor","setPrototypeOf","_inherits","node","DeStipendiumForm","_react2","_reactDom2","ReactDomFactory","render","unmountComponentAtNode","彩神ix官网Form","HABITAT_PROP_REF","HABITAT_PROP_NUMBER","HABITAT_PROP_JSON","HABITAT_PROP","ACTIVE_HABITAT_FLAG","HABITAT_NAMESPACE","HABITAT_HOST_KEY","hasExpandoWarning","firstLetterToUpper","input","toUpperCase","getNameFor","name","replace","Habitat","ele","proxy","attributes","a","indexOf","toLowerCase","JSON","parse","assign","parseFloat","body","tag","getAttribute","currentStyle","getComputedStyle","display","getDisplayType","habitat","replaceDisabled","toLocaleLowerCase","setAttribute","parentNode","insertBefore","nextSibling","tagName","host","removeChild","querySelectorAll","InfomaterialForm","makeCodeTest","regex","matches","ebene2Regex","ebene3Regex","str","RegExp","isEbene3Code","sessionStorage","getProductCode","getItem","updateProductCode","prefillProductcode","isPageContainsForm","isTesting","globals","setItem","clearProductCode","removeItem","getPrefillForm","updatePrefillForm","prefillForm","clearPrefillForm","getWebsiteCode","updateWebsiteCode","currentWebsitecode","clearWebsiteCode","clearAllPrefill","SknrwContactForm","_Habitat2","_callback","cb","context","_len","args","Array","apply","concat","Bootstrapper","__container__","nodes","resolveQueue","_loop","hasHabitat","componentName","push","then","parseProps","meta","factory","inject","component","catch","err","Promise","all","map","p","_this2","dispose","update","_this3","query","_apply","habitats","listHabitats","destroy","_this4","unmountHabitats","_Registration2","_Container2","_ReactDomFactory2","ContainerBuilder","_registrations","_defaultOptions","_factory","reduce","acc","set","empty","log","concatArgs","WARN_DEFINITIONS_URL","Logger","msg","debugs","_len2","_key2","nextId","_assignId","Container","registrations","_id","reject","o","Sknrw彩神ix官网Form","webpackContext","webpackContextResolve","__webpack_require__","_Bootstrapper2","_createBootstrapper","level2CodeFromLevel3Code","level3Code","parsePrice","priceString","priceMatches","priceIsolated","determineTotalPrice","products","productsByPrice","preis","regelstudienzeit","filter","sort","b","KampagneForm","__webpack_module_cache__","moduleId","cachedModule","loaded","__webpack_modules__","m","n","getter","d","definition","f","chunkId","promises","u","miniCssF","g","globalThis","Function","hmd","children","prop","hasOwnProperty","l","url","done","script","needAttach","scripts","getElementsByTagName","s","charset","timeout","nc","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","forEach","fn","setTimeout","bind","type","head","appendChild","r","Symbol","toStringTag","nmd","paths","installedCssChunks","miniCss","href","fullhref","existingLinkTags","datahref","rel","existingStyleTags","findStylesheet","oldTag","linkTag","nonce","errorType","realhref","request","createStylesheet","loadStylesheet","installedChunks","j","installedChunkData","promise","realSrc","message","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","some","chunkLoadingGlobal","DomFactory","ReactDOM","React","toPairs","entries","contexts","require","asyncContexts","getRegisteredComponents","flatMap","ReactApp","ReactHabitat","super","updateComponents","builder","components","asyncComponents","componentPairs","asyncComponentPairs","redirectThankYouPage","ITYP_NAME","pageUrl","URL","location","queryParams","search","currentUrl","origin","pathname","formRedirect","gfDefault","ITYP_VALUE","crmUrl","gfCrm","crm","redirectURL","handleRedirect"],"sourceRoot":""}