/*! For license information please see dll.Generator.js.LICENSE.txt */
(window.webpackJsonp_name_dll=window.webpackJsonp_name_dll||[]).push([[43],{1063:function(t,e,n){"use strict";n.r(e);var r=n(13),a=n.n(r),u=n(12),c=n.n(u),o=n(6),l=n.n(o),i=n(14),s=n.n(i),f=n(15),p=n.n(f),d=n(8),h=n.n(d),b=n(5),m=n.n(b),v=n(0),y=n.n(v),k=n(1),w=n.n(k),R=n(24),C=n(105);function _(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=h()(t);if(e){var a=h()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return p()(this,n)}}var G=function(t){s()(n,t);var e=_(n);function n(t){var r;return a()(this,n),r=e.call(this,t),m()(l()(r),"handleClick",(function(){var t=r.props.onGenerate();r.setState({element:t})})),r.state={element:null},r}return c()(n,[{key:"render",value:function(){return y.a.createElement(C.default,null,this.state.element,y.a.createElement(R.default,{block:!0,onClick:this.handleClick},this.props.buttonLabel))}}]),n}(v.Component);G.propTypes={buttonLabel:w.a.string,onGenerate:w.a.func.isRequired},G.defaultProps={buttonLabel:"Generate"},e.default=G}}]);