/*! For license information please see dll.218.js.LICENSE.txt */
(window.webpackJsonp_name_dll=window.webpackJsonp_name_dll||[]).push([[218],{3436:function(e,t,a){"use strict";a.r(t);var n=a(14),r=a.n(n),o=a(12),i=a.n(o),c=a(10),l=a.n(c),u=a(15),s=a.n(u),f=a(16),p=a.n(f),d=a(8),v=a.n(d),A=a(7),h=a.n(A),y=a(0),w=a.n(y),g=a(1),m=a.n(g),R=a(203),b=a(368),E=a(1736),V=a(200),D=a(991);function O(e){var t=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(e){return!1}}();return function(){var a,n=v()(e);if(t){var r=v()(this).constructor;a=Reflect.construct(n,arguments,r)}else a=n.apply(this,arguments);return p()(this,a)}}var q=function(e){s()(a,e);var t=O(a);function a(e){var n;return r()(this,a),n=t.call(this,e),h()(l()(n),"calculateANOVA",(function(e,t){var a=n.props,r=a.data,o=a.showDecision;n.props.logAction(V.DATA_EXPLORER_TESTS_ANOVA,{variable:e,group:t,showDecision:o});var i=w.a.createElement(E.default,{data:r,variable:e,group:t,showDecision:o});n.props.onCreated(i)})),n}return i()(a,[{key:"render",value:function(){var e=this.props,t=e.quantitative,a=e.categorical;return w.a.createElement(b.default,{autoStart:!1,title:w.a.createElement("span",null,"One-way ANOVA",w.a.createElement(D.default,{title:"One-way ANOVA",content:"A one-way analysis of variance tests for equality of means across several groups."})),label:"Calculate",onGenerate:this.calculateANOVA},w.a.createElement(R.default,{legend:"Variable:",defaultValue:t[0],options:t}),w.a.createElement(R.default,{legend:"Grouping Variable:",defaultValue:a[0],options:a}))}}]),a}(y.Component);q.propTypes={categorical:m.a.array.isRequired,quantitative:m.a.array.isRequired,data:m.a.object.isRequired,logAction:m.a.func,onCreated:m.a.func.isRequired,showDecision:m.a.bool},q.defaultProps={logAction:function(){},showDecision:!0},t.default=q}}]);