(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[7],{"c/CC":function(t,e,n){"use strict";var a=n("g09b");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(n("MhPg")),u=a(n("l4Ni")),o=a(n("ujKo")),l=a(n("vZ4D")),i=a(n("2Taf")),f=a(n("q1tI")),c=a(n("JvZ7"));function s(t){var e=d();return function(){var n,a=(0,o.default)(t);if(e){var r=(0,o.default)(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return(0,u.default)(this,n)}}function d(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}var h=(0,l.default)(function t(){(0,i.default)(this,t)}),v=function(t){(0,r.default)(n,t);var e=s(n);function n(t){var a;(0,i.default)(this,n),a=e.call(this,t),a.handleDomainChange=function(t){var e=t.target.value;a.setState({domain:e}),a.triggerChange({domain:e})},a.handlePortChange=function(t){var e=t.target.value;isNaN(e)||(a.setState({port:e}),a.triggerChange({port:e}))},a.triggerChange=function(t){var e=a.props.onChange;e&&e(Object.assign({},a.state,t))};var r=t.value||new h;return a.state={domain:r.domain,port:r.port},a}return(0,l.default)(n,[{key:"render",value:function(){var t=this.state;return f.default.createElement("span",null,f.default.createElement(c.default,{type:"text",value:t.domain,onChange:this.handleDomainChange,style:{width:"65%",marginRight:"3%"}}),f.default.createElement(c.default,{type:"text",value:t.port,onChange:this.handlePortChange,style:{width:"32%"}}))}}],[{key:"getDerivedStateFromProps",value:function(t){return"value"in t?Object.assign({},t.value||{}):null}}]),n}(f.default.PureComponent),g=v;e.default=g}}]);