/*! For license information please see dll.219.js.LICENSE.txt */
(window.webpackJsonp_name_dll=window.webpackJsonp_name_dll||[]).push([[219],{3437:function(e,t,n){"use strict";n.r(t);var a=n(14),r=n.n(a),c=n(12),i=n.n(c),o=n(10),l=n.n(o),u=n(15),s=n.n(u),f=n(16),d=n.n(f),p=n(8),h=n.n(p),v=n(7),g=n.n(v),m=n(0),R=n.n(m),E=n(1),y=n.n(E),C=n(203),b=n(368),w=n(1820),T=n(200),q=n(991);function A(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 n,a=h()(e);if(t){var r=h()(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return d()(this,n)}}var _=function(e){s()(n,e);var t=A(n);function n(e){var a;return r()(this,n),a=t.call(this,e),g()(l()(a),"calculateChisquareTest",(function(e,t){var n=a.props.data,r=R.a.createElement(w.default,{data:n,var1:e,var2:t});a.props.logAction(T.DATA_EXPLORER_TESTS_CHISQUARE,{var1:e,var2:t}),a.props.onCreated(r)})),a}return i()(n,[{key:"render",value:function(){var e=this.props.categorical;return R.a.createElement(b.default,{title:R.a.createElement("span",null,"Chi-square Independence Test",R.a.createElement(q.default,{title:"Chi-square Independence Test",content:"A test determining if there is a significant association between two categorical variables."})),label:"Calculate",autoStart:!1,onGenerate:this.calculateChisquareTest},R.a.createElement(C.default,{legend:"Variable:",defaultValue:e[0],options:e}),R.a.createElement(C.default,{legend:"Second Variable:",defaultValue:e[1],options:e}))}}]),n}(m.Component);_.propTypes={categorical:y.a.array.isRequired,data:y.a.object.isRequired,logAction:y.a.func,onCreated:y.a.func.isRequired},_.defaultProps={logAction:function(){}},t.default=_}}]);