{"version":3,"sources":["webpack:///component---src-pages-connect-index-js-d17a44d03a00f3df20e1.js","webpack:///./~/lodash.throttle/index.js?e1ce","webpack:///./~/react-animate-on-scroll/dist/scrollAnimation.min.js?def8","webpack:///./~/reaptcha/dist/index.js","webpack:///./src/js/regex.jsx?ad9b","webpack:///./src/pages/connect/index.js"],"names":["webpackJsonp","140","module","exports","global","debounce","func","wait","options","invokeFunc","time","args","lastArgs","thisArg","lastThis","undefined","lastInvokeTime","result","apply","leadingEdge","timerId","setTimeout","timerExpired","leading","remainingWait","timeSinceLastCall","lastCallTime","timeSinceLastInvoke","maxing","nativeMin","maxWait","shouldInvoke","now","trailingEdge","trailing","cancel","clearTimeout","flush","debounced","isInvoking","arguments","this","TypeError","FUNC_ERROR_TEXT","toNumber","isObject","nativeMax","throttle","value","type","isObjectLike","isSymbol","objectToString","call","symbolTag","NAN","other","valueOf","replace","reTrim","isBinary","reIsBinary","test","reIsOctal","freeParseInt","slice","reIsBadHex","parseInt","freeGlobal","Object","freeSelf","self","root","Function","objectProto","prototype","toString","Math","max","min","Date","141","__webpack_require__","_interopRequireDefault","obj","__esModule","default","_classCallCheck","instance","Constructor","_inherits","subClass","superClass","create","constructor","enumerable","writable","configurable","setPrototypeOf","__proto__","defineProperty","_createClass","defineProperties","target","props","i","length","descriptor","key","protoProps","staticProps","_get","_x","_x2","_x3","_again","object","property","receiver","desc","getOwnPropertyDescriptor","getter","get","parent","getPrototypeOf","_react","_react2","_lodashThrottle","_lodashThrottle2","_propTypes","_propTypes2","ScrollAnimation","_Component","serverSide","window","listener","handleScroll","bind","visibility","onScreen","inViewport","state","classes","style","animationDuration","duration","opacity","initiallyVisible","elm","yPos","offsetTop","clientTop","offsetParent","scrollableParent","pageYOffset","scrollTop","innerHeight","clientHeight","getScrollPos","offset","getScrollableParentHeight","y","getViewportTop","getViewportBottom","elementTop","elementBottom","isInViewport","isAboveViewport","isBelowViewport","isAboveScreen","isBelowScreen","getElementTop","node","parentSelector","scrollableParentSelector","document","querySelector","addEventListener","console","warn","animatePreScroll","delayedAnimationTimeout","callbackTimeout","removeEventListener","previousVis","currentVis","animation","callback","_this","animating","setState","delay","_this2","animate","animateIn","animateOnce","vis","getVisibility","_this3","animateOut","afterAnimatedIn","visibilityHasChanged","afterAnimatedOut","_this4","className","createElement","ref","assign","children","Component","defaultProps","propTypes","string","number","bool","1023","t","e","n","r","async","defer","src","head","appendChild","o","Array","from","scripts","reduce","a","c","s","p","concat","container","timer","instanceKey","ready","rendered","invisible","size","_isAvailable","Boolean","grecaptcha","_inject","inject","hl","_prepare","explicit","onLoad","renderExplicitly","_renderRecaptcha","render","_resetRecaptcha","reset","instanceId","_executeRecaptcha","execute","_getResponseRecaptcha","getResponse","_onVerify","onVerify","_onExpire","onExpire","_onError","onError","_stopTimer","clearInterval","componentDidMount","setInterval","componentWillUnmount","Promise","Error","sitekey","theme","badge","tabindex","expired-callback","error-callback","isolated","onRender","id","recaptchaComponent","getDerivedStateFromProps","componentDidUpdate","618","68","validationForEmail","email","emailRegex","451","_possibleConstructorReturn","ReferenceError","ConnectView","_extends","source","hasOwnProperty","_Heading","_Heading2","_Button","_Button2","_axios","_axios2","_sweetalert","_sweetalert2","_regex","_contentPage","_contentPage2","_reactBootstrap","_meta","_meta2","_reactFacebookPixel","_reactFacebookPixel2","_reactAnimateOnScroll","_reactAnimateOnScroll2","_reaptcha","_reaptcha2","GoogleDummy","subjectItems","_React$Component","handleSubject","subject","selectedSubject","handleChangeAndValidation","_extends2","values","trim","verifyCallback","isVerify","handleSubmit","_this$state","isFlag","error","inputs","map","item","data","params","Name","Email","Message","Phn","name","message","phone","title","onOpen","swal","showLoading","ReactPixel","track","axios","post","then","response","close","html","catch","isLoading","defaultStyle","transition","init","location","showTrans","_state","description","background","onChange","DropdownButton","bsStyle","MenuItem","onClick","eventKey","Subject","margin","rows","color","backgroundSize","width","backgroundRepeat","height","border","allowfullscreen","loading","href","React"],"mappings":"AAAAA,cAAc,iBAERC,IACA,SAAUC,EAAQ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uH,cAAA,OACED,UAAU,YACV7D,OAAS0O,MAAO,YAEf,IAJH,wCAOE,MAEN3P,EAAAxC,QAAAuH,cAAA,OAAKD,UAAU,yBACb9E,EAAAxC,QAAAuH,cAACgG,EAAAvN,SAAO8R,QAAS3U,KAAKiS,cAAtB,eAMV5M,EAAAxC,QAAAuH,cAAA,OAAKD,UAAU,YACb9E,EAAAxC,QAAAuH,cAAC8G,EAAArO,SACCyG,MAAO,EACP9C,SAAU,EACViD,UAAU,eACVnC,OAAQ,GAERjC,EAAAxC,QAAAuH,cAAA,OACED,UAAU,eACV7D,OACEgO,kBAAmBjD,EAAnB,IACA4D,eAAgB,QAChBC,MAAO,OACPC,iBAAkB,cAGpB9P,EAAAxC,QAAAuH,cAAA,UACEuK,QAAStB,UAAWC,MAAM,mBAC1BjI,IAAI,yOACJ6J,MAAM,MACNE,OAAO,MACP9O,OAAS+O,OAAQ,GACjBC,gBAAgB,GAChBC,QAAQ,aAMlBlQ,EAAAxC,QAAAuH,cAAA,OAAKD,UAAU,iBAAf,4BAC4B,IAC1B9E,EAAAxC,QAAAuH,cAAA,KAAGoL,KAAK,6BAA6BrL,UAAU,IAA/C,4BLi7BN0F,GK7uCuB4F,UAAMjL,ULgvCtC9M,GAAQmF,QKx6BMgN","file":"component---src-pages-connect-index-js-d17a44d03a00f3df20e1.js","sourcesContent":["webpackJsonp([100692885119331],{\n\n/***/ 140:\n/***/ (function(module, exports) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {/**\n\t * lodash (Custom Build) \n\t * Build: `lodash modularize exports=\"npm\" -o ./`\n\t * Copyright jQuery Foundation and other contributors \n\t * Released under MIT license \n\t * Based on Underscore.js 1.8.3 \n\t * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\t */\n\t\n\t/** Used as the `TypeError` message for \"Functions\" methods. */\n\tvar FUNC_ERROR_TEXT = 'Expected a function';\n\t\n\t/** Used as references for various `Number` constants. */\n\tvar NAN = 0 / 0;\n\t\n\t/** `Object#toString` result references. */\n\tvar symbolTag = '[object Symbol]';\n\t\n\t/** Used to match leading and trailing whitespace. */\n\tvar reTrim = /^\\s+|\\s+$/g;\n\t\n\t/** Used to detect bad signed hexadecimal string values. */\n\tvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\t\n\t/** Used to detect binary string values. */\n\tvar reIsBinary = /^0b[01]+$/i;\n\t\n\t/** Used to detect octal string values. */\n\tvar reIsOctal = /^0o[0-7]+$/i;\n\t\n\t/** Built-in method references without a dependency on `root`. */\n\tvar freeParseInt = parseInt;\n\t\n\t/** Detect free variable `global` from Node.js. */\n\tvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\t\n\t/** Detect free variable `self`. */\n\tvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\t\n\t/** Used as a reference to the global object. */\n\tvar root = freeGlobal || freeSelf || Function('return this')();\n\t\n\t/** Used for built-in method references. */\n\tvar objectProto = Object.prototype;\n\t\n\t/**\n\t * Used to resolve the\n\t * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n\t * of values.\n\t */\n\tvar objectToString = objectProto.toString;\n\t\n\t/* Built-in method references for those with the same name as other `lodash` methods. */\n\tvar nativeMax = Math.max,\n\t nativeMin = Math.min;\n\t\n\t/**\n\t * Gets the timestamp of the number of milliseconds that have elapsed since\n\t * the Unix epoch (1 January 1970 00:00:00 UTC).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 2.4.0\n\t * @category Date\n\t * @returns {number} Returns the timestamp.\n\t * @example\n\t *\n\t * _.defer(function(stamp) {\n\t * console.log(_.now() - stamp);\n\t * }, _.now());\n\t * // => Logs the number of milliseconds it took for the deferred invocation.\n\t */\n\tvar now = function() {\n\t return root.Date.now();\n\t};\n\t\n\t/**\n\t * Creates a debounced function that delays invoking `func` until after `wait`\n\t * milliseconds have elapsed since the last time the debounced function was\n\t * invoked. The debounced function comes with a `cancel` method to cancel\n\t * delayed `func` invocations and a `flush` method to immediately invoke them.\n\t * Provide `options` to indicate whether `func` should be invoked on the\n\t * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n\t * with the last arguments provided to the debounced function. Subsequent\n\t * calls to the debounced function return the result of the last `func`\n\t * invocation.\n\t *\n\t * **Note:** If `leading` and `trailing` options are `true`, `func` is\n\t * invoked on the trailing edge of the timeout only if the debounced function\n\t * is invoked more than once during the `wait` timeout.\n\t *\n\t * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n\t * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n\t *\n\t * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n\t * for details over the differences between `_.debounce` and `_.throttle`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 0.1.0\n\t * @category Function\n\t * @param {Function} func The function to debounce.\n\t * @param {number} [wait=0] The number of milliseconds to delay.\n\t * @param {Object} [options={}] The options object.\n\t * @param {boolean} [options.leading=false]\n\t * Specify invoking on the leading edge of the timeout.\n\t * @param {number} [options.maxWait]\n\t * The maximum time `func` is allowed to be delayed before it's invoked.\n\t * @param {boolean} [options.trailing=true]\n\t * Specify invoking on the trailing edge of the timeout.\n\t * @returns {Function} Returns the new debounced function.\n\t * @example\n\t *\n\t * // Avoid costly calculations while the window size is in flux.\n\t * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n\t *\n\t * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n\t * jQuery(element).on('click', _.debounce(sendMail, 300, {\n\t * 'leading': true,\n\t * 'trailing': false\n\t * }));\n\t *\n\t * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n\t * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n\t * var source = new EventSource('/stream');\n\t * jQuery(source).on('message', debounced);\n\t *\n\t * // Cancel the trailing debounced invocation.\n\t * jQuery(window).on('popstate', debounced.cancel);\n\t */\n\tfunction debounce(func, wait, options) {\n\t var lastArgs,\n\t lastThis,\n\t maxWait,\n\t result,\n\t timerId,\n\t lastCallTime,\n\t lastInvokeTime = 0,\n\t leading = false,\n\t maxing = false,\n\t trailing = true;\n\t\n\t if (typeof func != 'function') {\n\t throw new TypeError(FUNC_ERROR_TEXT);\n\t }\n\t wait = toNumber(wait) || 0;\n\t if (isObject(options)) {\n\t leading = !!options.leading;\n\t maxing = 'maxWait' in options;\n\t maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n\t trailing = 'trailing' in options ? !!options.trailing : trailing;\n\t }\n\t\n\t function invokeFunc(time) {\n\t var args = lastArgs,\n\t thisArg = lastThis;\n\t\n\t lastArgs = lastThis = undefined;\n\t lastInvokeTime = time;\n\t result = func.apply(thisArg, args);\n\t return result;\n\t }\n\t\n\t function leadingEdge(time) {\n\t // Reset any `maxWait` timer.\n\t lastInvokeTime = time;\n\t // Start the timer for the trailing edge.\n\t timerId = setTimeout(timerExpired, wait);\n\t // Invoke the leading edge.\n\t return leading ? invokeFunc(time) : result;\n\t }\n\t\n\t function remainingWait(time) {\n\t var timeSinceLastCall = time - lastCallTime,\n\t timeSinceLastInvoke = time - lastInvokeTime,\n\t result = wait - timeSinceLastCall;\n\t\n\t return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n\t }\n\t\n\t function shouldInvoke(time) {\n\t var timeSinceLastCall = time - lastCallTime,\n\t timeSinceLastInvoke = time - lastInvokeTime;\n\t\n\t // Either this is the first call, activity has stopped and we're at the\n\t // trailing edge, the system time has gone backwards and we're treating\n\t // it as the trailing edge, or we've hit the `maxWait` limit.\n\t return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n\t (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n\t }\n\t\n\t function timerExpired() {\n\t var time = now();\n\t if (shouldInvoke(time)) {\n\t return trailingEdge(time);\n\t }\n\t // Restart the timer.\n\t timerId = setTimeout(timerExpired, remainingWait(time));\n\t }\n\t\n\t function trailingEdge(time) {\n\t timerId = undefined;\n\t\n\t // Only invoke if we have `lastArgs` which means `func` has been\n\t // debounced at least once.\n\t if (trailing && lastArgs) {\n\t return invokeFunc(time);\n\t }\n\t lastArgs = lastThis = undefined;\n\t return result;\n\t }\n\t\n\t function cancel() {\n\t if (timerId !== undefined) {\n\t clearTimeout(timerId);\n\t }\n\t lastInvokeTime = 0;\n\t lastArgs = lastCallTime = lastThis = timerId = undefined;\n\t }\n\t\n\t function flush() {\n\t return timerId === undefined ? result : trailingEdge(now());\n\t }\n\t\n\t function debounced() {\n\t var time = now(),\n\t isInvoking = shouldInvoke(time);\n\t\n\t lastArgs = arguments;\n\t lastThis = this;\n\t lastCallTime = time;\n\t\n\t if (isInvoking) {\n\t if (timerId === undefined) {\n\t return leadingEdge(lastCallTime);\n\t }\n\t if (maxing) {\n\t // Handle invocations in a tight loop.\n\t timerId = setTimeout(timerExpired, wait);\n\t return invokeFunc(lastCallTime);\n\t }\n\t }\n\t if (timerId === undefined) {\n\t timerId = setTimeout(timerExpired, wait);\n\t }\n\t return result;\n\t }\n\t debounced.cancel = cancel;\n\t debounced.flush = flush;\n\t return debounced;\n\t}\n\t\n\t/**\n\t * Creates a throttled function that only invokes `func` at most once per\n\t * every `wait` milliseconds. The throttled function comes with a `cancel`\n\t * method to cancel delayed `func` invocations and a `flush` method to\n\t * immediately invoke them. Provide `options` to indicate whether `func`\n\t * should be invoked on the leading and/or trailing edge of the `wait`\n\t * timeout. The `func` is invoked with the last arguments provided to the\n\t * throttled function. Subsequent calls to the throttled function return the\n\t * result of the last `func` invocation.\n\t *\n\t * **Note:** If `leading` and `trailing` options are `true`, `func` is\n\t * invoked on the trailing edge of the timeout only if the throttled function\n\t * is invoked more than once during the `wait` timeout.\n\t *\n\t * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n\t * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n\t *\n\t * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n\t * for details over the differences between `_.throttle` and `_.debounce`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 0.1.0\n\t * @category Function\n\t * @param {Function} func The function to throttle.\n\t * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n\t * @param {Object} [options={}] The options object.\n\t * @param {boolean} [options.leading=true]\n\t * Specify invoking on the leading edge of the timeout.\n\t * @param {boolean} [options.trailing=true]\n\t * Specify invoking on the trailing edge of the timeout.\n\t * @returns {Function} Returns the new throttled function.\n\t * @example\n\t *\n\t * // Avoid excessively updating the position while scrolling.\n\t * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n\t *\n\t * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n\t * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n\t * jQuery(element).on('click', throttled);\n\t *\n\t * // Cancel the trailing throttled invocation.\n\t * jQuery(window).on('popstate', throttled.cancel);\n\t */\n\tfunction throttle(func, wait, options) {\n\t var leading = true,\n\t trailing = true;\n\t\n\t if (typeof func != 'function') {\n\t throw new TypeError(FUNC_ERROR_TEXT);\n\t }\n\t if (isObject(options)) {\n\t leading = 'leading' in options ? !!options.leading : leading;\n\t trailing = 'trailing' in options ? !!options.trailing : trailing;\n\t }\n\t return debounce(func, wait, {\n\t 'leading': leading,\n\t 'maxWait': wait,\n\t 'trailing': trailing\n\t });\n\t}\n\t\n\t/**\n\t * Checks if `value` is the\n\t * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n\t * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 0.1.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n\t * @example\n\t *\n\t * _.isObject({});\n\t * // => true\n\t *\n\t * _.isObject([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isObject(_.noop);\n\t * // => true\n\t *\n\t * _.isObject(null);\n\t * // => false\n\t */\n\tfunction isObject(value) {\n\t var type = typeof value;\n\t return !!value && (type == 'object' || type == 'function');\n\t}\n\t\n\t/**\n\t * Checks if `value` is object-like. A value is object-like if it's not `null`\n\t * and has a `typeof` result of \"object\".\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n\t * @example\n\t *\n\t * _.isObjectLike({});\n\t * // => true\n\t *\n\t * _.isObjectLike([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isObjectLike(_.noop);\n\t * // => false\n\t *\n\t * _.isObjectLike(null);\n\t * // => false\n\t */\n\tfunction isObjectLike(value) {\n\t return !!value && typeof value == 'object';\n\t}\n\t\n\t/**\n\t * Checks if `value` is classified as a `Symbol` primitive or object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n\t * @example\n\t *\n\t * _.isSymbol(Symbol.iterator);\n\t * // => true\n\t *\n\t * _.isSymbol('abc');\n\t * // => false\n\t */\n\tfunction isSymbol(value) {\n\t return typeof value == 'symbol' ||\n\t (isObjectLike(value) && objectToString.call(value) == symbolTag);\n\t}\n\t\n\t/**\n\t * Converts `value` to a number.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to process.\n\t * @returns {number} Returns the number.\n\t * @example\n\t *\n\t * _.toNumber(3.2);\n\t * // => 3.2\n\t *\n\t * _.toNumber(Number.MIN_VALUE);\n\t * // => 5e-324\n\t *\n\t * _.toNumber(Infinity);\n\t * // => Infinity\n\t *\n\t * _.toNumber('3.2');\n\t * // => 3.2\n\t */\n\tfunction toNumber(value) {\n\t if (typeof value == 'number') {\n\t return value;\n\t }\n\t if (isSymbol(value)) {\n\t return NAN;\n\t }\n\t if (isObject(value)) {\n\t var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n\t value = isObject(other) ? (other + '') : other;\n\t }\n\t if (typeof value != 'string') {\n\t return value === 0 ? value : +value;\n\t }\n\t value = value.replace(reTrim, '');\n\t var isBinary = reIsBinary.test(value);\n\t return (isBinary || reIsOctal.test(value))\n\t ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n\t : (reIsBadHex.test(value) ? NAN : +value);\n\t}\n\t\n\tmodule.exports = throttle;\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ }),\n\n/***/ 141:\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();\n\t\n\tvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; desc = parent = undefined; continue _function; } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _lodashThrottle = __webpack_require__(140);\n\t\n\tvar _lodashThrottle2 = _interopRequireDefault(_lodashThrottle);\n\t\n\tvar _propTypes = __webpack_require__(2);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tvar ScrollAnimation = (function (_Component) {\n\t _inherits(ScrollAnimation, _Component);\n\t\n\t function ScrollAnimation(props) {\n\t _classCallCheck(this, ScrollAnimation);\n\t\n\t _get(Object.getPrototypeOf(ScrollAnimation.prototype), \"constructor\", this).call(this, props);\n\t this.serverSide = typeof window === \"undefined\";\n\t this.listener = (0, _lodashThrottle2[\"default\"])(this.handleScroll.bind(this), 50);\n\t this.visibility = {\n\t onScreen: false,\n\t inViewport: false\n\t };\n\t\n\t this.state = {\n\t classes: \"animated\",\n\t style: {\n\t animationDuration: this.props.duration + \"s\",\n\t opacity: this.props.initiallyVisible ? 1 : 0\n\t }\n\t };\n\t }\n\t\n\t _createClass(ScrollAnimation, [{\n\t key: \"getElementTop\",\n\t value: function getElementTop(elm) {\n\t var yPos = 0;\n\t while (elm && elm.offsetTop !== undefined && elm.clientTop !== undefined) {\n\t yPos += elm.offsetTop + elm.clientTop;\n\t elm = elm.offsetParent;\n\t }\n\t return yPos;\n\t }\n\t }, {\n\t key: \"getScrollPos\",\n\t value: function getScrollPos() {\n\t if (this.scrollableParent.pageYOffset !== undefined) {\n\t return this.scrollableParent.pageYOffset;\n\t }\n\t return this.scrollableParent.scrollTop;\n\t }\n\t }, {\n\t key: \"getScrollableParentHeight\",\n\t value: function getScrollableParentHeight() {\n\t if (this.scrollableParent.innerHeight !== undefined) {\n\t return this.scrollableParent.innerHeight;\n\t }\n\t return this.scrollableParent.clientHeight;\n\t }\n\t }, {\n\t key: \"getViewportTop\",\n\t value: function getViewportTop() {\n\t return this.getScrollPos() + this.props.offset;\n\t }\n\t }, {\n\t key: \"getViewportBottom\",\n\t value: function getViewportBottom() {\n\t return this.getScrollPos() + this.getScrollableParentHeight() - this.props.offset;\n\t }\n\t }, {\n\t key: \"isInViewport\",\n\t value: function isInViewport(y) {\n\t return y >= this.getViewportTop() && y <= this.getViewportBottom();\n\t }\n\t }, {\n\t key: \"isAboveViewport\",\n\t value: function isAboveViewport(y) {\n\t return y < this.getViewportTop();\n\t }\n\t }, {\n\t key: \"isBelowViewport\",\n\t value: function isBelowViewport(y) {\n\t return y > this.getViewportBottom();\n\t }\n\t }, {\n\t key: \"inViewport\",\n\t value: function inViewport(elementTop, elementBottom) {\n\t return this.isInViewport(elementTop) || this.isInViewport(elementBottom) || this.isAboveViewport(elementTop) && this.isBelowViewport(elementBottom);\n\t }\n\t }, {\n\t key: \"onScreen\",\n\t value: function onScreen(elementTop, elementBottom) {\n\t return !this.isAboveScreen(elementBottom) && !this.isBelowScreen(elementTop);\n\t }\n\t }, {\n\t key: \"isAboveScreen\",\n\t value: function isAboveScreen(y) {\n\t return y < this.getScrollPos();\n\t }\n\t }, {\n\t key: \"isBelowScreen\",\n\t value: function isBelowScreen(y) {\n\t return y > this.getScrollPos() + this.getScrollableParentHeight();\n\t }\n\t }, {\n\t key: \"getVisibility\",\n\t value: function getVisibility() {\n\t var elementTop = this.getElementTop(this.node) - this.getElementTop(this.scrollableParent);\n\t var elementBottom = elementTop + this.node.clientHeight;\n\t return {\n\t inViewport: this.inViewport(elementTop, elementBottom),\n\t onScreen: this.onScreen(elementTop, elementBottom)\n\t };\n\t }\n\t }, {\n\t key: \"componentDidMount\",\n\t value: function componentDidMount() {\n\t if (!this.serverSide) {\n\t var parentSelector = this.props.scrollableParentSelector;\n\t this.scrollableParent = parentSelector ? document.querySelector(parentSelector) : window;\n\t if (this.scrollableParent && this.scrollableParent.addEventListener) {\n\t this.scrollableParent.addEventListener(\"scroll\", this.listener);\n\t } else {\n\t console.warn(\"Cannot find element by locator: \" + this.props.scrollableParentSelector);\n\t }\n\t if (this.props.animatePreScroll) {\n\t this.handleScroll();\n\t }\n\t }\n\t }\n\t }, {\n\t key: \"componentWillUnmount\",\n\t value: function componentWillUnmount() {\n\t clearTimeout(this.delayedAnimationTimeout);\n\t clearTimeout(this.callbackTimeout);\n\t this.listener.cancel();\n\t if (window && window.removeEventListener) {\n\t window.removeEventListener(\"scroll\", this.listener);\n\t }\n\t }\n\t }, {\n\t key: \"visibilityHasChanged\",\n\t value: function visibilityHasChanged(previousVis, currentVis) {\n\t return previousVis.inViewport !== currentVis.inViewport || previousVis.onScreen !== currentVis.onScreen;\n\t }\n\t }, {\n\t key: \"animate\",\n\t value: function animate(animation, callback) {\n\t var _this = this;\n\t\n\t this.delayedAnimationTimeout = setTimeout(function () {\n\t _this.animating = true;\n\t _this.setState({\n\t classes: \"animated \" + animation,\n\t style: {\n\t animationDuration: _this.props.duration + \"s\"\n\t }\n\t });\n\t _this.callbackTimeout = setTimeout(callback, _this.props.duration * 1000);\n\t }, this.props.delay);\n\t }\n\t }, {\n\t key: \"animateIn\",\n\t value: function animateIn(callback) {\n\t var _this2 = this;\n\t\n\t this.animate(this.props.animateIn, function () {\n\t if (!_this2.props.animateOnce) {\n\t _this2.setState({\n\t style: {\n\t animationDuration: _this2.props.duration + \"s\",\n\t opacity: 1\n\t }\n\t });\n\t _this2.animating = false;\n\t }\n\t var vis = _this2.getVisibility();\n\t if (callback) {\n\t callback(vis);\n\t }\n\t });\n\t }\n\t }, {\n\t key: \"animateOut\",\n\t value: function animateOut(callback) {\n\t var _this3 = this;\n\t\n\t this.animate(this.props.animateOut, function () {\n\t _this3.setState({\n\t classes: \"animated\",\n\t style: {\n\t animationDuration: _this3.props.duration + \"s\",\n\t opacity: 0\n\t }\n\t });\n\t var vis = _this3.getVisibility();\n\t if (vis.inViewport && _this3.props.animateIn) {\n\t _this3.animateIn(_this3.props.afterAnimatedIn);\n\t } else {\n\t _this3.animating = false;\n\t }\n\t\n\t if (callback) {\n\t callback(vis);\n\t }\n\t });\n\t }\n\t }, {\n\t key: \"handleScroll\",\n\t value: function handleScroll() {\n\t if (!this.animating) {\n\t var currentVis = this.getVisibility();\n\t if (this.visibilityHasChanged(this.visibility, currentVis)) {\n\t clearTimeout(this.delayedAnimationTimeout);\n\t if (!currentVis.onScreen) {\n\t this.setState({\n\t classes: \"animated\",\n\t style: {\n\t animationDuration: this.props.duration + \"s\",\n\t opacity: this.props.initiallyVisible ? 1 : 0\n\t }\n\t });\n\t } else if (currentVis.inViewport && this.props.animateIn) {\n\t this.animateIn(this.props.afterAnimatedIn);\n\t } else if (currentVis.onScreen && this.visibility.inViewport && this.props.animateOut && this.state.style.opacity === 1) {\n\t this.animateOut(this.props.afterAnimatedOut);\n\t }\n\t this.visibility = currentVis;\n\t }\n\t }\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t var _this4 = this;\n\t\n\t var classes = this.props.className ? this.props.className + \" \" + this.state.classes : this.state.classes;\n\t return _react2[\"default\"].createElement(\n\t \"div\",\n\t { ref: function (node) {\n\t _this4.node = node;\n\t }, className: classes, style: Object.assign({}, this.state.style, this.props.style) },\n\t this.props.children\n\t );\n\t }\n\t }]);\n\t\n\t return ScrollAnimation;\n\t})(_react.Component);\n\t\n\texports[\"default\"] = ScrollAnimation;\n\t\n\tScrollAnimation.defaultProps = {\n\t offset: 150,\n\t duration: 1,\n\t initiallyVisible: false,\n\t delay: 0,\n\t animateOnce: false,\n\t animatePreScroll: true\n\t};\n\t\n\tScrollAnimation.propTypes = {\n\t animateIn: _propTypes2[\"default\"].string,\n\t animateOut: _propTypes2[\"default\"].string,\n\t offset: _propTypes2[\"default\"].number,\n\t duration: _propTypes2[\"default\"].number,\n\t delay: _propTypes2[\"default\"].number,\n\t initiallyVisible: _propTypes2[\"default\"].bool,\n\t animateOnce: _propTypes2[\"default\"].bool,\n\t style: _propTypes2[\"default\"].object,\n\t scrollableParentSelector: _propTypes2[\"default\"].string,\n\t className: _propTypes2[\"default\"].string,\n\t animatePreScroll: _propTypes2[\"default\"].bool\n\t};\n\tmodule.exports = exports[\"default\"];\n\n/***/ }),\n\n/***/ 1023:\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar e=__webpack_require__(1);function t(e){return e&&\"object\"==typeof e&&\"default\"in e?e:{default:e}}var r=/*#__PURE__*/t(e);function n(e,t){return n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(e,t)}var i=function(e){var t=document.createElement(\"script\");t.async=!0,t.defer=!0,t.src=e,document.head&&document.head.appendChild(t)},o=function(e){return Array.from(document.scripts).reduce(function(t,r){return t||e.test(r.src)},!1)},a=/(http|https):\\/\\/(www)?.+\\/recaptcha/,c=[\"sitekey\",\"theme\",\"size\",\"badge\",\"tabindex\",\"hl\",\"isolated\"],s=/*#__PURE__*/function(e){var t,s;function p(){for(var t,n=arguments.length,c=new Array(n),s=0;s0&&this.setState({instanceKey:Date.now(),rendered:!1},function(){t.props.explicit||t.renderExplicitly()})},p}(e.Component);s.defaultProps={id:\"\",className:\"g-recaptcha\",theme:\"light\",size:\"normal\",badge:\"bottomright\",tabindex:0,explicit:!1,inject:!0,isolated:!1,hl:\"\"},module.exports=s;\n\t//# sourceMappingURL=index.js.map\n\n\n/***/ }),\n\n/***/ 618:\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n\n/***/ 68:\n/***/ (function(module, exports) {\n\n\t\"use strict\";\n\t\n\texports.__esModule = true;\n\tvar validationForEmail = function validationForEmail(email) {\n\t\t// eslint-disable-next-line\n\t\tvar emailRegex = /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n\t\treturn emailRegex.test(email);\n\t};\n\t\n\texports.validationForEmail = validationForEmail;\n\n/***/ }),\n\n/***/ 451:\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\texports.__esModule = true;\n\texports.ConnectView = undefined;\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _Heading = __webpack_require__(67);\n\t\n\tvar _Heading2 = _interopRequireDefault(_Heading);\n\t\n\t__webpack_require__(618);\n\t\n\tvar _Button = __webpack_require__(45);\n\t\n\tvar _Button2 = _interopRequireDefault(_Button);\n\t\n\tvar _axios = __webpack_require__(62);\n\t\n\tvar _axios2 = _interopRequireDefault(_axios);\n\t\n\tvar _sweetalert = __webpack_require__(115);\n\t\n\tvar _sweetalert2 = _interopRequireDefault(_sweetalert);\n\t\n\tvar _regex = __webpack_require__(68);\n\t\n\tvar _contentPage = __webpack_require__(20);\n\t\n\tvar _contentPage2 = _interopRequireDefault(_contentPage);\n\t\n\tvar _reactBootstrap = __webpack_require__(46);\n\t\n\tvar _meta = __webpack_require__(21);\n\t\n\tvar _meta2 = _interopRequireDefault(_meta);\n\t\n\tvar _reactFacebookPixel = __webpack_require__(34);\n\t\n\tvar _reactFacebookPixel2 = _interopRequireDefault(_reactFacebookPixel);\n\t\n\tvar _reactAnimateOnScroll = __webpack_require__(141);\n\t\n\tvar _reactAnimateOnScroll2 = _interopRequireDefault(_reactAnimateOnScroll);\n\t\n\tvar _reaptcha = __webpack_require__(1023);\n\t\n\tvar _reaptcha2 = _interopRequireDefault(_reaptcha);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar GoogleDummy = \"https://bawamasalacompany.com/assets/images/googledummy.jpg\";\n\tvar subjectItems = [\"Customer Service Request\", \"Feedback\", \"General Enquiries\", \"Sponsorship Request\"];\n\t\n\tvar duration = 400;\n\t// let ReactPixel = {}\n\t\n\tvar ConnectView = exports.ConnectView = function (_React$Component) {\n\t _inherits(ConnectView, _React$Component);\n\t\n\t function ConnectView(args) {\n\t _classCallCheck(this, ConnectView);\n\t\n\t var _this = _possibleConstructorReturn(this, _React$Component.call(this, args));\n\t\n\t _this.handleSubject = function (subject) {\n\t var Error = _this.state.Error;\n\t\n\t _this.setState({\n\t selectedSubject: subject\n\t });\n\t delete Error[\"Subject\"];\n\t };\n\t\n\t _this.handleChangeAndValidation = function (key, e) {\n\t var _extends2;\n\t\n\t var Error = _this.state.Error;\n\t\n\t _this.setState({\n\t values: _extends({}, _this.state.values, (_extends2 = {}, _extends2[key] = e.target.value.trim(), _extends2))\n\t });\n\t delete Error[key];\n\t };\n\t\n\t _this.verifyCallback = function () {\n\t var Error = _this.state.Error;\n\t\n\t Error[\"isVerify\"] = false;\n\t _this.setState({\n\t isVerify: true,\n\t Error: Error\n\t });\n\t };\n\t\n\t _this.handleSubmit = function () {\n\t var _this$state = _this.state,\n\t values = _this$state.values,\n\t isVerify = _this$state.isVerify;\n\t\n\t var isFlag = false;\n\t var error = {};\n\t // eslint-disable-next-line\n\t _this.inputs.map(function (item) {\n\t if (item === \"Subject\") {\n\t if (_this.state.selectedSubject === \"Select\") {\n\t isFlag = true;\n\t error[item] = true;\n\t }\n\t } else if (!values[item] && item !== \"Message\") {\n\t isFlag = true;\n\t error[item] = true;\n\t } else if (item === \"Email\") {\n\t error[item] = !(0, _regex.validationForEmail)(values[item]);\n\t isFlag = isFlag === true ? true : error[item];\n\t }\n\t });\n\t isFlag = isFlag ? true : !isVerify;\n\t error[\"isVerify\"] = !isVerify;\n\t\n\t // isFlag = false;\n\t\n\t if (isFlag) {\n\t _this.setState({\n\t Error: error\n\t });\n\t } else {\n\t var params = \"username=\" + values.Name + \"&\\n\\t\\t\\t\\t\\temail=\" + values.Email + \"&\\n\\t\\t\\t\\t\\tmsg=\" + (values.Message || \"\") + \"&\\n\\t\\t\\t\\t\\tsubject=\" + _this.state.selectedSubject + \"&\\n\\t\\t\\t\\t\\tphone=\" + values.Phn;\n\t\n\t var data = {\n\t name: values.Name,\n\t email: values.Email,\n\t message: values.Message || \"\",\n\t subject: _this.state.selectedSubject,\n\t phone: values.Phn\n\t };\n\t\n\t (0, _sweetalert2.default)({\n\t title: \"Submitting Request...\",\n\t onOpen: function onOpen() {\n\t _sweetalert2.default.showLoading();\n\t }\n\t });\n\t\n\t // https://blackelephantdigital.in/blackele/sunny/api/bmc-api/public/connect?${params}\n\t\n\t _reactFacebookPixel2.default.track(\"Contact\");\n\t _axios2.default.post(\"https://bawamasalacompany.com/api/public/index.php/connect\", data).then(function (response) {\n\t _sweetalert2.default.close();\n\t (0, _sweetalert2.default)({\n\t title: \"Successfully Submitted\",\n\t html: \"
Thank you for getting in touch!
\",\n\t type: \"success\"\n\t });\n\t return response;\n\t }).catch(function (e) {\n\t (0, _sweetalert2.default)({\n\t title: \"Warning\",\n\t html: \"
Internal Server error
\",\n\t type: \"error\"\n\t });\n\t });\n\t }\n\t };\n\t\n\t _this.inputs = [\"Name\", \"Email\", \"Message\", \"Phn\", \"Subject\"];\n\t _this.state = {\n\t isLoading: true,\n\t isVerify: false,\n\t Error: {},\n\t values: {},\n\t defaultStyle: {\n\t transition: \"opacity \" + duration + \"ms ease-in-out\",\n\t opacity: 0\n\t },\n\t selectedSubject: \"Select\"\n\t };\n\t return _this;\n\t }\n\t\n\t ConnectView.prototype.componentDidMount = function componentDidMount() {\n\t var _this2 = this;\n\t\n\t // const ReactPixel = require(\"react-facebook-pixel\")\n\t _reactFacebookPixel2.default.init(\"145006083100066\");\n\t _reactFacebookPixel2.default.track(\"ViewContent\", location);\n\t // ReactPixel.track(\"Contact\", {})\n\t // ReactPixel.track(\"AddToCart\", {})\n\t setTimeout(function () {\n\t _this2.setState({\n\t defaultStyle: {\n\t transition: \"opacity \" + duration + \"ms ease-in-out\",\n\t opacity: 1\n\t }\n\t });\n\t }, 500);\n\t };\n\t\n\t ConnectView.prototype.componentWillUnmount = function componentWillUnmount() {\n\t this.setState({\n\t showTrans: true,\n\t defaultStyle: {\n\t transition: \"opacity \" + duration + \"ms ease-in-out\",\n\t opacity: 0.1\n\t }\n\t });\n\t };\n\t\n\t ConnectView.prototype.render = function render() {\n\t var _this3 = this;\n\t\n\t var _state = this.state,\n\t defaultStyle = _state.defaultStyle,\n\t Error = _state.Error,\n\t selectedSubject = _state.selectedSubject,\n\t isVerify = _state.isVerify;\n\t var location = this.props.location;\n\t\n\t return _react2.default.createElement(\n\t _contentPage2.default,\n\t null,\n\t _react2.default.createElement(_meta2.default, {\n\t title: \"Bawa Masala Company | Connect\",\n\t description: \"Get in touch with the response team at Bawa Masala Company. Fill in the form for feedback, reviews, praise, complaints and enquiries. Quick response via email and phone.\",\n\t location: location\n\t }),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"global__wrapper\", style: { background: \"#FFF8E8\" } },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"connect__wrapper\", style: defaultStyle },\n\t _react2.default.createElement(_Heading2.default, { title: \"Connect\" }),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"connect__content\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-md-6\" },\n\t _react2.default.createElement(\n\t _reactAnimateOnScroll2.default,\n\t {\n\t delay: 0,\n\t duration: 2,\n\t animateIn: \"slideInLeft\",\n\t offset: 0\n\t },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"connect__form\" },\n\t _react2.default.createElement(\n\t \"form\",\n\t null,\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-md-6\" },\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"title\" },\n\t \"Name \",\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"amp\" },\n\t \"*\"\n\t )\n\t ),\n\t _react2.default.createElement(\"input\", {\n\t type: \"text\",\n\t onChange: function onChange(e) {\n\t return _this3.handleChangeAndValidation(\"Name\", e);\n\t },\n\t className: \"form-control\",\n\t name: \"name\"\n\t }),\n\t Error.Name ? _react2.default.createElement(\n\t \"div\",\n\t { className: \"error-msg\" },\n\t \"Name is mandatory\"\n\t ) : null\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-md-6\" },\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"title\" },\n\t \"Phone \",\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"amp\" },\n\t \"*\"\n\t )\n\t ),\n\t _react2.default.createElement(\"input\", {\n\t type: \"text\",\n\t onChange: function onChange(e) {\n\t return _this3.handleChangeAndValidation(\"Phn\", e);\n\t },\n\t className: \"form-control\",\n\t name: \"Contact\"\n\t }),\n\t Error.Phn ? _react2.default.createElement(\n\t \"div\",\n\t { className: \"error-msg\" },\n\t \"Contact Number is mandatory\"\n\t ) : null\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-md-6\" },\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"title\" },\n\t \"Subject \",\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"amp\" },\n\t \"*\"\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t null,\n\t _react2.default.createElement(\n\t _reactBootstrap.DropdownButton,\n\t {\n\t id: \"default\",\n\t bsStyle: \"default\",\n\t title: selectedSubject\n\t },\n\t subjectItems.map(function (item, i) {\n\t return _react2.default.createElement(\n\t _reactBootstrap.MenuItem,\n\t {\n\t onClick: function onClick() {\n\t return _this3.handleSubject(item);\n\t },\n\t key: i,\n\t eventKey: i\n\t },\n\t item\n\t );\n\t })\n\t )\n\t ),\n\t Error.Subject ? _react2.default.createElement(\n\t \"div\",\n\t { className: \"error-msg\" },\n\t \"Subject is mandatory\"\n\t ) : null\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-md-6\" },\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"title\" },\n\t \"Email \",\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"amp\" },\n\t \"*\"\n\t )\n\t ),\n\t _react2.default.createElement(\"input\", {\n\t type: \"text\",\n\t onChange: function onChange(e) {\n\t return _this3.handleChangeAndValidation(\"Email\", e);\n\t },\n\t className: \"form-control\",\n\t name: \"Email\"\n\t }),\n\t Error.Email ? _react2.default.createElement(\n\t \"div\",\n\t { className: \"error-msg\" },\n\t \"Email is mandatory and should be validated\"\n\t ) : null\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-md-12\" },\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"title\" },\n\t \"Message\"\n\t ),\n\t _react2.default.createElement(\"textarea\", {\n\t onChange: function onChange(e) {\n\t return _this3.handleChangeAndValidation(\"Message\", e);\n\t },\n\t style: { margin: \"0 auto\" },\n\t className: \"form-control\",\n\t rows: \"2\"\n\t })\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"recap\" },\n\t _react2.default.createElement(_reaptcha2.default, {\n\t sitekey: \"6LfTHgcaAAAAAOiZMAR7LK7F5aXpCK9AU8YAX3h4\",\n\t onVerify: this.verifyCallback\n\t }),\n\t Error.isVerify ? _react2.default.createElement(\n\t \"div\",\n\t {\n\t className: \"error-msg\",\n\t style: { color: \"#a94442\" }\n\t },\n\t \" \",\n\t \"Please Verify that you are not robot\"\n\t ) : null\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"pull-right submit-btn\" },\n\t _react2.default.createElement(\n\t _Button2.default,\n\t { onClick: this.handleSubmit },\n\t \"Submit\"\n\t )\n\t )\n\t )\n\t )\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-md-6\" },\n\t _react2.default.createElement(\n\t _reactAnimateOnScroll2.default,\n\t {\n\t delay: 0,\n\t duration: 2,\n\t animateIn: \"slideInRight\",\n\t offset: 0\n\t },\n\t _react2.default.createElement(\n\t \"div\",\n\t {\n\t className: \"connect__map\",\n\t style: {\n\t background: \"url(\" + GoogleDummy + \")\",\n\t backgroundSize: \"cover\",\n\t width: \"100%\",\n\t backgroundRepeat: \"no-repeat\"\n\t }\n\t },\n\t _react2.default.createElement(\"iframe\", {\n\t onClick: _reactFacebookPixel2.default.track(\"FindLocation\", {}),\n\t src: \"https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d13999.599856776429!2d77.1581722!3d28.6926389!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0x5bd07b38ccb76ca8!2sBawa%20Masala%20Company!5e0!3m2!1sen!2sin!4v1616066634846!5m2!1sen!2sin\",\n\t width: \"600\",\n\t height: \"450\",\n\t style: { border: 0 },\n\t allowfullscreen: \"\",\n\t loading: \"lazy\"\n\t })\n\t )\n\t )\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"connect__mail\" },\n\t \"You can also email us at:\",\n\t \" \",\n\t _react2.default.createElement(\n\t \"a\",\n\t { href: \"mailto:info@bawamasala.com\", className: \"\" },\n\t \"ips@bawamasala.com\"\n\t )\n\t )\n\t )\n\t )\n\t )\n\t );\n\t };\n\t\n\t return ConnectView;\n\t}(_react2.default.Component);\n\t\n\texports.default = ConnectView;\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// component---src-pages-connect-index-js-d17a44d03a00f3df20e1.js","/**\n * lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = throttle;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash.throttle/index.js\n// module id = 140\n// module chunks = 19643344707044 100692885119331 117385845657587","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: 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\nvar _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; desc = parent = undefined; continue _function; } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\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 _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 = require(\"react\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _lodashThrottle = require(\"lodash.throttle\");\n\nvar _lodashThrottle2 = _interopRequireDefault(_lodashThrottle);\n\nvar _propTypes = require(\"prop-types\");\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar ScrollAnimation = (function (_Component) {\n _inherits(ScrollAnimation, _Component);\n\n function ScrollAnimation(props) {\n _classCallCheck(this, ScrollAnimation);\n\n _get(Object.getPrototypeOf(ScrollAnimation.prototype), \"constructor\", this).call(this, props);\n this.serverSide = typeof window === \"undefined\";\n this.listener = (0, _lodashThrottle2[\"default\"])(this.handleScroll.bind(this), 50);\n this.visibility = {\n onScreen: false,\n inViewport: false\n };\n\n this.state = {\n classes: \"animated\",\n style: {\n animationDuration: this.props.duration + \"s\",\n opacity: this.props.initiallyVisible ? 1 : 0\n }\n };\n }\n\n _createClass(ScrollAnimation, [{\n key: \"getElementTop\",\n value: function getElementTop(elm) {\n var yPos = 0;\n while (elm && elm.offsetTop !== undefined && elm.clientTop !== undefined) {\n yPos += elm.offsetTop + elm.clientTop;\n elm = elm.offsetParent;\n }\n return yPos;\n }\n }, {\n key: \"getScrollPos\",\n value: function getScrollPos() {\n if (this.scrollableParent.pageYOffset !== undefined) {\n return this.scrollableParent.pageYOffset;\n }\n return this.scrollableParent.scrollTop;\n }\n }, {\n key: \"getScrollableParentHeight\",\n value: function getScrollableParentHeight() {\n if (this.scrollableParent.innerHeight !== undefined) {\n return this.scrollableParent.innerHeight;\n }\n return this.scrollableParent.clientHeight;\n }\n }, {\n key: \"getViewportTop\",\n value: function getViewportTop() {\n return this.getScrollPos() + this.props.offset;\n }\n }, {\n key: \"getViewportBottom\",\n value: function getViewportBottom() {\n return this.getScrollPos() + this.getScrollableParentHeight() - this.props.offset;\n }\n }, {\n key: \"isInViewport\",\n value: function isInViewport(y) {\n return y >= this.getViewportTop() && y <= this.getViewportBottom();\n }\n }, {\n key: \"isAboveViewport\",\n value: function isAboveViewport(y) {\n return y < this.getViewportTop();\n }\n }, {\n key: \"isBelowViewport\",\n value: function isBelowViewport(y) {\n return y > this.getViewportBottom();\n }\n }, {\n key: \"inViewport\",\n value: function inViewport(elementTop, elementBottom) {\n return this.isInViewport(elementTop) || this.isInViewport(elementBottom) || this.isAboveViewport(elementTop) && this.isBelowViewport(elementBottom);\n }\n }, {\n key: \"onScreen\",\n value: function onScreen(elementTop, elementBottom) {\n return !this.isAboveScreen(elementBottom) && !this.isBelowScreen(elementTop);\n }\n }, {\n key: \"isAboveScreen\",\n value: function isAboveScreen(y) {\n return y < this.getScrollPos();\n }\n }, {\n key: \"isBelowScreen\",\n value: function isBelowScreen(y) {\n return y > this.getScrollPos() + this.getScrollableParentHeight();\n }\n }, {\n key: \"getVisibility\",\n value: function getVisibility() {\n var elementTop = this.getElementTop(this.node) - this.getElementTop(this.scrollableParent);\n var elementBottom = elementTop + this.node.clientHeight;\n return {\n inViewport: this.inViewport(elementTop, elementBottom),\n onScreen: this.onScreen(elementTop, elementBottom)\n };\n }\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n if (!this.serverSide) {\n var parentSelector = this.props.scrollableParentSelector;\n this.scrollableParent = parentSelector ? document.querySelector(parentSelector) : window;\n if (this.scrollableParent && this.scrollableParent.addEventListener) {\n this.scrollableParent.addEventListener(\"scroll\", this.listener);\n } else {\n console.warn(\"Cannot find element by locator: \" + this.props.scrollableParentSelector);\n }\n if (this.props.animatePreScroll) {\n this.handleScroll();\n }\n }\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n clearTimeout(this.delayedAnimationTimeout);\n clearTimeout(this.callbackTimeout);\n this.listener.cancel();\n if (window && window.removeEventListener) {\n window.removeEventListener(\"scroll\", this.listener);\n }\n }\n }, {\n key: \"visibilityHasChanged\",\n value: function visibilityHasChanged(previousVis, currentVis) {\n return previousVis.inViewport !== currentVis.inViewport || previousVis.onScreen !== currentVis.onScreen;\n }\n }, {\n key: \"animate\",\n value: function animate(animation, callback) {\n var _this = this;\n\n this.delayedAnimationTimeout = setTimeout(function () {\n _this.animating = true;\n _this.setState({\n classes: \"animated \" + animation,\n style: {\n animationDuration: _this.props.duration + \"s\"\n }\n });\n _this.callbackTimeout = setTimeout(callback, _this.props.duration * 1000);\n }, this.props.delay);\n }\n }, {\n key: \"animateIn\",\n value: function animateIn(callback) {\n var _this2 = this;\n\n this.animate(this.props.animateIn, function () {\n if (!_this2.props.animateOnce) {\n _this2.setState({\n style: {\n animationDuration: _this2.props.duration + \"s\",\n opacity: 1\n }\n });\n _this2.animating = false;\n }\n var vis = _this2.getVisibility();\n if (callback) {\n callback(vis);\n }\n });\n }\n }, {\n key: \"animateOut\",\n value: function animateOut(callback) {\n var _this3 = this;\n\n this.animate(this.props.animateOut, function () {\n _this3.setState({\n classes: \"animated\",\n style: {\n animationDuration: _this3.props.duration + \"s\",\n opacity: 0\n }\n });\n var vis = _this3.getVisibility();\n if (vis.inViewport && _this3.props.animateIn) {\n _this3.animateIn(_this3.props.afterAnimatedIn);\n } else {\n _this3.animating = false;\n }\n\n if (callback) {\n callback(vis);\n }\n });\n }\n }, {\n key: \"handleScroll\",\n value: function handleScroll() {\n if (!this.animating) {\n var currentVis = this.getVisibility();\n if (this.visibilityHasChanged(this.visibility, currentVis)) {\n clearTimeout(this.delayedAnimationTimeout);\n if (!currentVis.onScreen) {\n this.setState({\n classes: \"animated\",\n style: {\n animationDuration: this.props.duration + \"s\",\n opacity: this.props.initiallyVisible ? 1 : 0\n }\n });\n } else if (currentVis.inViewport && this.props.animateIn) {\n this.animateIn(this.props.afterAnimatedIn);\n } else if (currentVis.onScreen && this.visibility.inViewport && this.props.animateOut && this.state.style.opacity === 1) {\n this.animateOut(this.props.afterAnimatedOut);\n }\n this.visibility = currentVis;\n }\n }\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this4 = this;\n\n var classes = this.props.className ? this.props.className + \" \" + this.state.classes : this.state.classes;\n return _react2[\"default\"].createElement(\n \"div\",\n { ref: function (node) {\n _this4.node = node;\n }, className: classes, style: Object.assign({}, this.state.style, this.props.style) },\n this.props.children\n );\n }\n }]);\n\n return ScrollAnimation;\n})(_react.Component);\n\nexports[\"default\"] = ScrollAnimation;\n\nScrollAnimation.defaultProps = {\n offset: 150,\n duration: 1,\n initiallyVisible: false,\n delay: 0,\n animateOnce: false,\n animatePreScroll: true\n};\n\nScrollAnimation.propTypes = {\n animateIn: _propTypes2[\"default\"].string,\n animateOut: _propTypes2[\"default\"].string,\n offset: _propTypes2[\"default\"].number,\n duration: _propTypes2[\"default\"].number,\n delay: _propTypes2[\"default\"].number,\n initiallyVisible: _propTypes2[\"default\"].bool,\n animateOnce: _propTypes2[\"default\"].bool,\n style: _propTypes2[\"default\"].object,\n scrollableParentSelector: _propTypes2[\"default\"].string,\n className: _propTypes2[\"default\"].string,\n animatePreScroll: _propTypes2[\"default\"].bool\n};\nmodule.exports = exports[\"default\"];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-animate-on-scroll/dist/scrollAnimation.min.js\n// module id = 141\n// module chunks = 19643344707044 100692885119331 117385845657587","var e=require(\"react\");function t(e){return e&&\"object\"==typeof e&&\"default\"in e?e:{default:e}}var r=/*#__PURE__*/t(e);function n(e,t){return n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(e,t)}var i=function(e){var t=document.createElement(\"script\");t.async=!0,t.defer=!0,t.src=e,document.head&&document.head.appendChild(t)},o=function(e){return Array.from(document.scripts).reduce(function(t,r){return t||e.test(r.src)},!1)},a=/(http|https):\\/\\/(www)?.+\\/recaptcha/,c=[\"sitekey\",\"theme\",\"size\",\"badge\",\"tabindex\",\"hl\",\"isolated\"],s=/*#__PURE__*/function(e){var t,s;function p(){for(var t,n=arguments.length,c=new Array(n),s=0;s0&&this.setState({instanceKey:Date.now(),rendered:!1},function(){t.props.explicit||t.renderExplicitly()})},p}(e.Component);s.defaultProps={id:\"\",className:\"g-recaptcha\",theme:\"light\",size:\"normal\",badge:\"bottomright\",tabindex:0,explicit:!1,inject:!0,isolated:!1,hl:\"\"},module.exports=s;\n//# sourceMappingURL=index.js.map\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/reaptcha/dist/index.js\n// module id = 1023\n// module chunks = 100692885119331","const validationForEmail = (email) => {\r\n\t// eslint-disable-next-line\r\n\tvar emailRegex = /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/\r\n\treturn emailRegex.test(email)\r\n}\r\n\r\nexport { validationForEmail }\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/js/regex.jsx","import React from \"react\";\r\nimport Heading from \"../../components/Heading\";\r\nimport \"../../css/connect.css\";\r\nimport Button from \"react-bootstrap/lib/Button\";\r\nimport axios from \"axios\";\r\nimport swal from \"sweetalert2\";\r\nimport { validationForEmail } from \"../../js/regex\";\r\nimport ContentPage from \"../../components/content-page\";\r\nimport { DropdownButton, MenuItem } from \"react-bootstrap\";\r\nimport Meta from \"../../components/meta\";\r\nimport ReactPixel from \"react-facebook-pixel\";\r\nimport ScrollAnimation from \"react-animate-on-scroll\";\r\nimport ReCAPTCHA from \"reaptcha\";\r\nconst GoogleDummy =\r\n \"https://bawamasalacompany.com/assets/images/googledummy.jpg\";\r\nlet subjectItems = [\r\n \"Customer Service Request\",\r\n \"Feedback\",\r\n \"General Enquiries\",\r\n \"Sponsorship Request\",\r\n];\r\n\r\nlet duration = 400;\r\n// let ReactPixel = {}\r\nexport class ConnectView extends React.Component {\r\n constructor(args) {\r\n super(args);\r\n this.inputs = [\"Name\", \"Email\", \"Message\", \"Phn\", \"Subject\"];\r\n this.state = {\r\n isLoading: true,\r\n isVerify: false,\r\n Error: {},\r\n values: {},\r\n defaultStyle: {\r\n transition: `opacity ${duration}ms ease-in-out`,\r\n opacity: 0,\r\n },\r\n selectedSubject: \"Select\",\r\n };\r\n }\r\n componentDidMount() {\r\n // const ReactPixel = require(\"react-facebook-pixel\")\r\n ReactPixel.init(\"145006083100066\");\r\n ReactPixel.track(\"ViewContent\", location);\r\n // ReactPixel.track(\"Contact\", {})\r\n // ReactPixel.track(\"AddToCart\", {})\r\n setTimeout(() => {\r\n this.setState({\r\n defaultStyle: {\r\n transition: `opacity ${duration}ms ease-in-out`,\r\n opacity: 1,\r\n },\r\n });\r\n }, 500);\r\n }\r\n componentWillUnmount() {\r\n this.setState({\r\n showTrans: true,\r\n defaultStyle: {\r\n transition: `opacity ${duration}ms ease-in-out`,\r\n opacity: 0.1,\r\n },\r\n });\r\n }\r\n handleSubject = (subject) => {\r\n let { Error } = this.state;\r\n this.setState({\r\n selectedSubject: subject,\r\n });\r\n delete Error[\"Subject\"];\r\n };\r\n handleChangeAndValidation = (key, e) => {\r\n let { Error } = this.state;\r\n this.setState({\r\n values: {\r\n ...this.state.values,\r\n [key]: e.target.value.trim(),\r\n },\r\n });\r\n delete Error[key];\r\n };\r\n verifyCallback = () => {\r\n const { Error } = this.state;\r\n Error[\"isVerify\"] = false;\r\n this.setState({\r\n isVerify: true,\r\n Error,\r\n });\r\n };\r\n handleSubmit = () => {\r\n const { values, isVerify } = this.state;\r\n let isFlag = false;\r\n let error = {};\r\n // eslint-disable-next-line\r\n this.inputs.map((item) => {\r\n if (item === \"Subject\") {\r\n if (this.state.selectedSubject === \"Select\") {\r\n isFlag = true;\r\n error[item] = true;\r\n }\r\n } else if (!values[item] && item !== \"Message\") {\r\n isFlag = true;\r\n error[item] = true;\r\n } else if (item === \"Email\") {\r\n error[item] = !validationForEmail(values[item]);\r\n isFlag = isFlag === true ? true : error[item];\r\n }\r\n });\r\n isFlag = isFlag ? true : !isVerify;\r\n error[\"isVerify\"] = !isVerify;\r\n\r\n // isFlag = false;\r\n\r\n if (isFlag) {\r\n this.setState({\r\n Error: error,\r\n });\r\n } else {\r\n let params = `username=${values.Name}&\r\n\t\t\t\t\temail=${values.Email}&\r\n\t\t\t\t\tmsg=${values.Message || \"\"}&\r\n\t\t\t\t\tsubject=${this.state.selectedSubject}&\r\n\t\t\t\t\tphone=${values.Phn}`;\r\n\r\n const data = {\r\n name: values.Name,\r\n email: values.Email,\r\n message: values.Message || \"\",\r\n subject: this.state.selectedSubject,\r\n phone: values.Phn,\r\n };\r\n\r\n swal({\r\n title: \"Submitting Request...\",\r\n onOpen: () => {\r\n swal.showLoading();\r\n },\r\n });\r\n\r\n // https://blackelephantdigital.in/blackele/sunny/api/bmc-api/public/connect?${params}\r\n\r\n ReactPixel.track(\"Contact\");\r\n axios\r\n .post(\r\n `https://bawamasalacompany.com/api/public/index.php/connect`,\r\n data\r\n )\r\n .then((response) => {\r\n swal.close();\r\n swal({\r\n title: \"Successfully Submitted\",\r\n html: `
Thank you for getting in touch!
`,\r\n type: \"success\",\r\n });\r\n return response;\r\n })\r\n .catch((e) => {\r\n swal({\r\n title: \"Warning\",\r\n html: `
Internal Server error
`,\r\n type: \"error\",\r\n });\r\n });\r\n }\r\n };\r\n render() {\r\n const { defaultStyle, Error, selectedSubject, isVerify } = this.state;\r\n const { location } = this.props;\r\n return (\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n Name *\r\n \r\n \r\n this.handleChangeAndValidation(\"Name\", e)\r\n }\r\n className=\"form-control\"\r\n name=\"name\"\r\n />\r\n {Error.Name ? (\r\n
Name is mandatory
\r\n ) : null}\r\n
\r\n
\r\n \r\n Phone *\r\n \r\n \r\n this.handleChangeAndValidation(\"Phn\", e)\r\n }\r\n className=\"form-control\"\r\n name=\"Contact\"\r\n />\r\n {Error.Phn ? (\r\n
\r\n Contact Number is mandatory\r\n
\r\n ) : null}\r\n
\r\n
\r\n
\r\n
\r\n \r\n Subject *\r\n \r\n
\r\n \r\n {subjectItems.map((item, i) => {\r\n return (\r\n this.handleSubject(item)}\r\n key={i}\r\n eventKey={i}\r\n >\r\n {item}\r\n \r\n );\r\n })}\r\n \r\n
\r\n {Error.Subject ? (\r\n
\r\n Subject is mandatory\r\n
\r\n ) : null}\r\n
\r\n
\r\n \r\n Email *\r\n \r\n \r\n this.handleChangeAndValidation(\"Email\", e)\r\n }\r\n className=\"form-control\"\r\n name=\"Email\"\r\n />\r\n {Error.Email ? (\r\n
\r\n Email is mandatory and should be validated\r\n
\r\n ) : null}\r\n
\r\n
\r\n
\r\n
\r\n Message\r\n \r\n this.handleChangeAndValidation(\"Message\", e)\r\n }\r\n style={{ margin: \"0 auto\" }}\r\n className=\"form-control\"\r\n rows=\"2\"\r\n />\r\n
\r\n
\r\n
\r\n \r\n {Error.isVerify ? (\r\n \r\n {\" \"}\r\n Please Verify that you are not robot\r\n
\r\n ) : null}\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n You can also email us at:{\" \"}\r\n \r\n ips@bawamasala.com\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default ConnectView;\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/connect/index.js"],"sourceRoot":""}