/*! For license information please see dll.224.js.LICENSE.txt */
(window.webpackJsonp_name_dll=window.webpackJsonp_name_dll||[]).push([[224],{1014:function(e,t,a){"use strict";a.r(t);var l=a(1076),n=a.n(l),u=a(1023),o=a.n(u),r=[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122];t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t=o()(r,{size:e});return n.a.apply(null,t)}},3390:function(e,t,a){"use strict";a.r(t);var l=a(202),n=a.n(l),u=a(0),o=a.n(u),r=a(1),d=a.n(r),i=a(87),c=a(77),s=a(968),f=a(69),m=a(209),g=a(204),p=a(213),E=a(1014),b=a(39),h=a.n(b),v=a(203),y=a.n(v),S=a(1558),A=a(200),C=a(966),O=function(e){var t=e.variables,a=e.groupingVariables,l=e.defaultX,r=e.defaultY,d=e.t,b=Object(u.useState)(l||t[0]),v=n()(b,2),O=v[0],j=v[1],x=Object(u.useState)(r||t[1]),R=n()(x,2),V=R[0],_=R[1],q=Object(u.useState)(null),P=n()(q,2),H=P[0],M=P[1],T=Object(u.useState)(!1),w=n()(T,2),X=w[0],k=w[1],Y=Object(u.useState)(!1),N=n()(Y,2),z=N[0],D=N[1],J=Object(u.useState)(!1),L=n()(J,2),B=L[0],I=L[1],F=Object(u.useState)(!1),G=n()(F,2),K=G[0],Q=G[1],U=Object(u.useState)([]),W=n()(U,2),Z=W[0],$=W[1],ee=Object(u.useState)(.66),te=n()(ee,2),ae=te[0],le=te[1];return o.a.createElement(i.default,null,o.a.createElement(i.default.Header,{as:"h4"},d("Heat Map"),o.a.createElement(C.default,{title:d("Heat Map"),content:d("Heat Map-description")})),o.a.createElement(i.default.Body,null,o.a.createElement(s.default,null,o.a.createElement(f.default,null,o.a.createElement(g.default,{legend:d("x-axis-variable"),defaultValue:O,options:t,onChange:j})),o.a.createElement(f.default,null,o.a.createElement(g.default,{legend:d("y-axis-variable"),defaultValue:V,options:t,onChange:_}))),o.a.createElement(s.default,null,o.a.createElement(f.default,null,o.a.createElement(g.default,{legend:d("group-by"),options:a,clearable:!0,onChange:M,menuPlacement:"top"}))),o.a.createElement(s.default,null,o.a.createElement(f.default,null,o.a.createElement(m.default,{legend:d("common-x-axis"),defaultValue:z,onChange:D,disabled:!H,style:{opacity:H?1:0,float:"left"}})),o.a.createElement(f.default,null,o.a.createElement(m.default,{legend:d("common-y-axis"),defaultValue:B,onChange:I,disabled:!H,style:{opacity:H?1:0,float:"left"}}))),o.a.createElement(s.default,null,o.a.createElement(f.default,null,o.a.createElement(m.default,{legend:d("overlay-observations"),defaultValue:X,onChange:k})),o.a.createElement(f.default,null,o.a.createElement(m.default,{legend:d("alternate-color-scheme"),defaultValue:K,onChange:Q}))),o.a.createElement(s.default,null,o.a.createElement(f.default,null,o.a.createElement(g.default,{legend:d("overlay-regression-line"),multi:!0,options:["linear","smooth"],onChange:function(e){h()(e)||(e=[e]),$(e)}}))),o.a.createElement(s.default,null,o.a.createElement(f.default,null,o.a.createElement(p.default,{legend:d("smoothing-parameter"),disabled:!y()(Z,"smooth"),min:.01,max:1,step:.01,defaultValue:ae,onChange:le}))),o.a.createElement(c.default,{variant:"primary",block:!0,onClick:function(){var t=Object(E.default)(6),a={x:O,y:V,overlayPoints:X,regressionMethod:Z,plotId:t},l=o.a.createElement(S.default,{id:t,data:e.data,x:O,y:V,group:H,overlayPoints:X,commonXAxis:z,commonYAxis:B,alternateColor:K,regressionMethod:Z,smoothSpan:ae,action:a,onShare:function(){e.session.addNotification({title:d("plot-shared"),message:d("plot-shared-message"),level:"success",position:"tr"}),e.logAction(A.DATA_EXPLORER_SHARE_HEATMAP,a)},onSelected:e.onSelected});e.logAction(A.DATA_EXPLORER_HEATMAP,a),e.onCreated(l)}},d("generate"))))};O.defaultProps={defaultX:null,defaultY:null,groupingVariables:null,logAction:function(){},onSelected:function(){}},O.propTypes={data:d.a.object.isRequired,defaultX:d.a.string,defaultY:d.a.string,groupingVariables:d.a.array,logAction:d.a.func,onCreated:d.a.func.isRequired,onSelected:d.a.func,session:d.a.object.isRequired,variables:d.a.array.isRequired},t.default=O},966:function(e,t,a){"use strict";a.r(t);var l=a(0),n=a.n(l),u=a(1),o=a.n(u),r=a(77),d=a(974),i=a(971),c=a(970),s=a(998),f=function(e){var t=n.a.createElement(d.default,{id:"popover-positioned-right"},n.a.createElement(i.default,null,e.title),n.a.createElement(c.default,null,e.content));return n.a.createElement(s.default,{trigger:["hover","focus"],placement:"left",rootClose:!0,overlay:t},n.a.createElement(r.default,{size:"sm",variant:"outline-secondary",className:"question-button"},n.a.createElement("div",{className:"fa fa-question"})))};f.propTypes={content:o.a.oneOfType([o.a.string,o.a.node]).isRequired,title:o.a.string.isRequired},t.default=f}}]);