(window.webpackJsonp=window.webpackJsonp||[]).push([["vendors~Chat~Client~Gifts~Poll~Reddit~RedesignChat"],{"./node_modules/react-router-dom/es/index.js":function(e,t,o){"use strict";var n=o("./node_modules/warning/browser.js"),r=o.n(n),a=o("./node_modules/react/index.js"),i=o.n(a),s=o("./node_modules/react-router-dom/node_modules/prop-types/index.js"),u=o.n(s),c=o("./node_modules/react-router-dom/node_modules/history/createBrowserHistory.js"),d=o.n(c),l=o("./node_modules/react-router/es/Router.js").a;function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var h=function(e){function t(){var o,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,a=Array(r),i=0;i ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return i.a.createElement(l,{history:this.history,children:this.props.children})},t}(i.a.Component);h.propTypes={basename:u.a.string,forceRefresh:u.a.bool,getUserConfirmation:u.a.func,keyLength:u.a.number,children:u.a.node};var p=o("./node_modules/react-router-dom/node_modules/history/createHashHistory.js"),m=o.n(p);function y(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var v=function(e){function t(){var o,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,a=Array(r),i=0;i ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return i.a.createElement(l,{history:this.history,children:this.props.children})},t}(i.a.Component);v.propTypes={basename:u.a.string,getUserConfirmation:u.a.func,hashType:u.a.oneOf(["hashbang","noslash","slash"]),children:u.a.node};var g=o("./node_modules/invariant/browser.js"),b=o.n(g),w=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}(e,["replace","to","innerRef"]);b()(this.context.router,"You should not use outside a ");var r=this.context.router.history.createHref("string"==typeof t?{pathname:t}:t);return i.a.createElement("a",w({},n,{onClick:this.handleClick,href:r,ref:o}))},t}(i.a.Component);j.propTypes={onClick:u.a.func,target:u.a.string,replace:u.a.bool,to:u.a.oneOfType([u.a.string,u.a.object]).isRequired,innerRef:u.a.oneOfType([u.a.string,u.a.func])},j.defaultProps={replace:!1},j.contextTypes={router:u.a.shape({history:u.a.shape({push:u.a.func.isRequired,replace:u.a.func.isRequired,createHref:u.a.func.isRequired}).isRequired}).isRequired};var P=j,S=o("./node_modules/react-router/es/MemoryRouter.js").a,E=o("./node_modules/react-router/es/Route.js").a,T=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}(e,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","ariaCurrent"]);return i.a.createElement(E,{path:"object"===(void 0===t?"undefined":L(t))?t.pathname:t,exact:o,strict:n,location:r,children:function(e){var o=e.location,n=e.match,r=!!(d?d(n,o):n);return i.a.createElement(P,T({to:t,className:r?[s,a].filter(function(e){return e}).join(" "):s,style:r?T({},c,u):c,"aria-current":r&&l},f))}})};x.propTypes={to:P.propTypes.to,exact:u.a.bool,strict:u.a.bool,location:u.a.object,activeClassName:u.a.string,className:u.a.string,activeStyle:u.a.object,style:u.a.object,isActive:u.a.func,ariaCurrent:u.a.oneOf(["page","step","location","true"])},x.defaultProps={activeClassName:"active",ariaCurrent:"true"};var R=x,C=o("./node_modules/react-router/es/Prompt.js").a,k=(o("./node_modules/react-router/es/Redirect.js").a,o("./node_modules/react-router/es/StaticRouter.js").a,o("./node_modules/react-router/es/Switch.js").a,o("./node_modules/react-router/es/matchPath.js").a,o("./node_modules/react-router/es/withRouter.js").a);o.d(t,"a",function(){return P}),o.d(t,"b",function(){return S}),o.d(t,"c",function(){return R}),o.d(t,"d",function(){return C}),o.d(t,"e",function(){return E}),o.d(t,"f",function(){return k})},"./node_modules/react-router-dom/node_modules/history/DOMUtils.js":function(e,t,o){"use strict";t.__esModule=!0;t.canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement),t.addEventListener=function(e,t,o){return e.addEventListener?e.addEventListener(t,o,!1):e.attachEvent("on"+t,o)},t.removeEventListener=function(e,t,o){return e.removeEventListener?e.removeEventListener(t,o,!1):e.detachEvent("on"+t,o)},t.getConfirmation=function(e,t){return t(window.confirm(e))},t.supportsHistory=function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)},t.supportsPopStateOnHashChange=function(){return-1===window.navigator.userAgent.indexOf("Trident")},t.supportsGoWithoutReloadUsingHash=function(){return-1===window.navigator.userAgent.indexOf("Firefox")},t.isExtraneousPopstateEvent=function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")}},"./node_modules/react-router-dom/node_modules/history/LocationUtils.js":function(e,t,o){"use strict";t.__esModule=!0,t.locationsAreEqual=t.createLocation=void 0;var n=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};(0,i.default)(d.canUseDOM,"Browser history needs a DOM");var t=window.history,o=(0,d.supportsHistory)(),l=!(0,d.supportsPopStateOnHashChange)(),h=e.forceRefresh,p=void 0!==h&&h,m=e.getUserConfirmation,y=void 0===m?d.getConfirmation:m,v=e.keyLength,g=void 0===v?6:v,b=e.basename?(0,u.stripTrailingSlash)((0,u.addLeadingSlash)(e.basename)):"",w=function(e){var t=e||{},o=t.key,n=t.state,r=window.location,i=r.pathname+r.search+r.hash;return(0,a.default)(!b||(0,u.hasBasename)(i,b),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+i+'" to begin with "'+b+'".'),b&&(i=(0,u.stripBasename)(i,b)),(0,s.createLocation)(i,n,o)},_=function(){return Math.random().toString(36).substr(2,g)},O=(0,c.default)(),j=function(e){r(M,e),M.length=t.length,O.notifyListeners(M.location,M.action)},P=function(e){(0,d.isExtraneousPopstateEvent)(e)||T(w(e.state))},S=function(){T(w(f()))},E=!1,T=function(e){E?(E=!1,j()):O.confirmTransitionTo(e,"POP",y,function(t){t?j({action:"POP",location:e}):L(e)})},L=function(e){var t=M.location,o=R.indexOf(t.key);-1===o&&(o=0);var n=R.indexOf(e.key);-1===n&&(n=0);var r=o-n;r&&(E=!0,k(r))},x=w(f()),R=[x.key],C=function(e){return b+(0,u.createPath)(e)},k=function(e){t.go(e)},A=0,U=function(e){1===(A+=e)?((0,d.addEventListener)(window,"popstate",P),l&&(0,d.addEventListener)(window,"hashchange",S)):0===A&&((0,d.removeEventListener)(window,"popstate",P),l&&(0,d.removeEventListener)(window,"hashchange",S))},H=!1,M={length:t.length,action:"POP",location:x,createHref:C,push:function(e,r){(0,a.default)(!("object"===(void 0===e?"undefined":n(e))&&void 0!==e.state&&void 0!==r),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=(0,s.createLocation)(e,r,_(),M.location);O.confirmTransitionTo(i,"PUSH",y,function(e){if(e){var n=C(i),r=i.key,s=i.state;if(o)if(t.pushState({key:r,state:s},null,n),p)window.location.href=n;else{var u=R.indexOf(M.location.key),c=R.slice(0,-1===u?0:u+1);c.push(i.key),R=c,j({action:"PUSH",location:i})}else(0,a.default)(void 0===s,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=n}})},replace:function(e,r){(0,a.default)(!("object"===(void 0===e?"undefined":n(e))&&void 0!==e.state&&void 0!==r),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=(0,s.createLocation)(e,r,_(),M.location);O.confirmTransitionTo(i,"REPLACE",y,function(e){if(e){var n=C(i),r=i.key,s=i.state;if(o)if(t.replaceState({key:r,state:s},null,n),p)window.location.replace(n);else{var u=R.indexOf(M.location.key);-1!==u&&(R[u]=i.key),j({action:"REPLACE",location:i})}else(0,a.default)(void 0===s,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(n)}})},go:k,goBack:function(){return k(-1)},goForward:function(){return k(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=O.setPrompt(e);return H||(U(1),H=!0),function(){return H&&(H=!1,U(-1)),t()}},listen:function(e){var t=O.appendListener(e);return U(1),function(){U(-1),t()}}};return M}},"./node_modules/react-router-dom/node_modules/history/createHashHistory.js":function(e,t,o){"use strict";t.__esModule=!0;var n=Object.assign||function(e){for(var t=1;t=0?t:0)+"#"+e)};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,a.default)(c.canUseDOM,"Hash history needs a DOM");var t=window.history,o=(0,c.supportsGoWithoutReloadUsingHash)(),d=e.getUserConfirmation,p=void 0===d?c.getConfirmation:d,m=e.hashType,y=void 0===m?"slash":m,v=e.basename?(0,s.stripTrailingSlash)((0,s.addLeadingSlash)(e.basename)):"",g=l[y],b=g.encodePath,w=g.decodePath,_=function(){var e=w(f());return(0,r.default)(!v||(0,s.hasBasename)(e,v),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+v+'".'),v&&(e=(0,s.stripBasename)(e,v)),(0,i.createLocation)(e)},O=(0,u.default)(),j=function(e){n(B,e),B.length=t.length,O.notifyListeners(B.location,B.action)},P=!1,S=null,E=function(){var e=f(),t=b(e);if(e!==t)h(t);else{var o=_(),n=B.location;if(!P&&(0,i.locationsAreEqual)(n,o))return;if(S===(0,s.createPath)(o))return;S=null,T(o)}},T=function(e){P?(P=!1,j()):O.confirmTransitionTo(e,"POP",p,function(t){t?j({action:"POP",location:e}):L(e)})},L=function(e){var t=B.location,o=k.lastIndexOf((0,s.createPath)(t));-1===o&&(o=0);var n=k.lastIndexOf((0,s.createPath)(e));-1===n&&(n=0);var r=o-n;r&&(P=!0,A(r))},x=f(),R=b(x);x!==R&&h(R);var C=_(),k=[(0,s.createPath)(C)],A=function(e){(0,r.default)(o,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},U=0,H=function(e){1===(U+=e)?(0,c.addEventListener)(window,"hashchange",E):0===U&&(0,c.removeEventListener)(window,"hashchange",E)},M=!1,B={length:t.length,action:"POP",location:C,createHref:function(e){return"#"+b(v+(0,s.createPath)(e))},push:function(e,t){(0,r.default)(void 0===t,"Hash history cannot push state; it is ignored");var o=(0,i.createLocation)(e,void 0,void 0,B.location);O.confirmTransitionTo(o,"PUSH",p,function(e){if(e){var t=(0,s.createPath)(o),n=b(v+t);if(f()!==n){S=t,function(e){window.location.hash=e}(n);var a=k.lastIndexOf((0,s.createPath)(B.location)),i=k.slice(0,-1===a?0:a+1);i.push(t),k=i,j({action:"PUSH",location:o})}else(0,r.default)(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),j()}})},replace:function(e,t){(0,r.default)(void 0===t,"Hash history cannot replace state; it is ignored");var o=(0,i.createLocation)(e,void 0,void 0,B.location);O.confirmTransitionTo(o,"REPLACE",p,function(e){if(e){var t=(0,s.createPath)(o),n=b(v+t);f()!==n&&(S=t,h(n));var r=k.indexOf((0,s.createPath)(B.location));-1!==r&&(k[r]=t),j({action:"REPLACE",location:o})}})},go:A,goBack:function(){return A(-1)},goForward:function(){return A(1)},block:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=O.setPrompt(e);return M||(H(1),M=!0),function(){return M&&(M=!1,H(-1)),t()}},listen:function(e){var t=O.appendListener(e);return H(1),function(){H(-1),t()}}};return B}},"./node_modules/react-router-dom/node_modules/history/createTransitionManager.js":function(e,t,o){"use strict";t.__esModule=!0;var n,r=o("./node_modules/warning/browser.js"),a=(n=r)&&n.__esModule?n:{default:n};t.default=function(){var e=null,t=[];return{setPrompt:function(t){return(0,a.default)(null==e,"A history supports only one prompt at a time"),e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,o,n,r){if(null!=e){var i="function"==typeof e?e(t,o):e;"string"==typeof i?"function"==typeof n?n(i,r):((0,a.default)(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),r(!0)):r(!1!==i)}else r(!0)},appendListener:function(e){var o=!0,n=function(){o&&e.apply(void 0,arguments)};return t.push(n),function(){o=!1,t=t.filter(function(e){return e!==n})}},notifyListeners:function(){for(var e=arguments.length,o=Array(e),n=0;n