/*! For license information please see dll.250.js.LICENSE.txt */
(window.webpackJsonp_name_dll=window.webpackJsonp_name_dll||[]).push([[250],{3384:function(e,a,t){"use strict";t.r(a);var n=t(0),l=t.n(n),i=t(1),r=t.n(i),o=t(203),u=t.n(o),c=t(364),d=t.n(c),s=t(204),f=t(209),p=t(206),m=t(373),v=t(1838),E=t(200),g=t(966),q=function(e){var a=e.quantitative,t=e.originalQuantitative,n=e.t;return l.a.createElement(m.default,{title:l.a.createElement("span",null,n("Principal Component Analysis"),l.a.createElement(g.default,{title:n("Principal Component Analysis"),content:n("PCA-description")})),autoStart:!1,onGenerate:function(t,n,i,r){var o=l.a.createElement(v.default,{variables:t,center:n,scale:i,noComponents:r,data:e.data,onResult:function(n,l){if(r>0){for(var i=d()(e.data,1),o=a.slice(),c=t.map((function(e){return e[0]})).join(""),s=0;s<r;s++){for(var f=[],p=0;p<l.data.length;p++)f.push(l.data[p][s]);var m="PC".concat(s+1,"_").concat(c);i[m]=f,u()(o,m)||o.push(m)}e.onGenerate(o,i)}}});e.logAction(E.DATA_EXPLORER_PCA,{variables:t,center:n,scale:i}),e.onCreated(o)}},l.a.createElement(s.default,{legend:n("variables"),multi:!0,defaultValue:t,options:a,closeMenuOnSelect:!1}),l.a.createElement(f.default,{legend:"Center values (= subtract the mean)?",defaultValue:!0}),l.a.createElement(f.default,{legend:"Scale values (= divide by standard deviation)?",defaultValue:!1}),l.a.createElement(p.default,{legend:"# of components to add to data table",min:0,defaultValue:0}))};q.defaultProps={logAction:function(){}},q.propTypes={quantitative:r.a.array.isRequired,originalQuantitative:r.a.array.isRequired,data:r.a.object.isRequired,logAction:r.a.func,onGenerate:r.a.func.isRequired,onCreated:r.a.func.isRequired},a.default=q},966:function(e,a,t){"use strict";t.r(a);var n=t(0),l=t.n(n),i=t(1),r=t.n(i),o=t(77),u=t(974),c=t(971),d=t(970),s=t(998),f=function(e){var a=l.a.createElement(u.default,{id:"popover-positioned-right"},l.a.createElement(c.default,null,e.title),l.a.createElement(d.default,null,e.content));return l.a.createElement(s.default,{trigger:["hover","focus"],placement:"left",rootClose:!0,overlay:a},l.a.createElement(o.default,{size:"sm",variant:"outline-secondary",className:"question-button"},l.a.createElement("div",{className:"fa fa-question"})))};f.propTypes={content:r.a.oneOfType([r.a.string,r.a.node]).isRequired,title:r.a.string.isRequired},a.default=f}}]);