/*! For license information please see dll.222.js.LICENSE.txt */
(window.webpackJsonp_name_dll=window.webpackJsonp_name_dll||[]).push([[222],{1014:function(e,t,a){"use strict";a.r(t);var n=a(1076),l=a.n(n),o=a(1023),r=a.n(o),u=[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=r()(u,{size:e});return l.a.apply(null,t)}},3400:function(e,t,a){"use strict";a.r(t);var n=a(202),l=a.n(n),o=a(0),r=a.n(o),u=a(1),i=a.n(u),s=a(77),c=a(88),d=a(968),f=a(69),m=a(203),p=a.n(m),E=a(39),g=a.n(E),v=a(209),h=a(1557),b=a(204),C=a(213),y=a(1014),O=a(200),R=a(966),S=function(e){var t=Object(o.useState)(e.variables[0]),a=l()(t,2),n=a[0],u=a[1],i=Object(o.useState)(e.variables[1]),m=l()(i,2),E=m[0],S=m[1],T=Object(o.useState)(!1),_=l()(T,2),j=_[0],q=_[1],A=Object(o.useState)([]),P=l()(A,2),w=P[0],x=P[1],N=Object(o.useState)(.66),k=l()(N,2),L=k[0],V=k[1],z=e.variables,D=e.t;return r.a.createElement(c.default,null,r.a.createElement(c.default.Header,{as:"h4"},D("Contour Chart"),r.a.createElement(R.default,{title:D("Contour Chart"),content:D("Contour Chart-description")})),r.a.createElement(c.default.Body,null,r.a.createElement(d.default,null,r.a.createElement(f.default,null,r.a.createElement(b.default,{legend:D("x-axis-variable"),defaultValue:n,options:z,onChange:u})),r.a.createElement(f.default,null,r.a.createElement(b.default,{legend:D("y-axis-variable"),defaultValue:E,options:z,menuPlacement:"top",onChange:S}))),r.a.createElement(d.default,null,r.a.createElement(f.default,null,r.a.createElement(v.default,{legend:D("overlay-observations"),defaultValue:j,onChange:function(){q(!j)}}))),r.a.createElement(d.default,null,r.a.createElement(f.default,null,r.a.createElement(b.default,{legend:D("overlay-regression-line"),multi:!0,options:["linear","smooth"],onChange:function(e){g()(e)||(e=[e]),x(e)}}))),r.a.createElement(d.default,null,r.a.createElement(f.default,null,r.a.createElement(C.default,{legend:D("smoothing-parameter"),min:.01,max:1,step:.01,defaultValue:L,disabled:!p()(w,"smooth"),onChange:V}))),r.a.createElement(s.default,{variant:"primary",block:!0,onClick:function(){var t=e.data,a=e.onCreated,l=e.onSelected,o=e.logAction,u=e.session,i=e.t,s=Object(y.default)(6),c={x:n,y:E,overlayPoints:j,regressionMethod:w,smoothSpan:L,plotId:s},d=r.a.createElement(h.default,{id:s,action:c,data:t,onShare:function(){u.addNotification({title:i("plot-shared"),message:i("plot-shared-message"),level:"success",position:"tr"}),o(O.DATA_EXPLORER_SHARE_CONTOURPLOT,c)},x:n,y:E,overlayPoints:j,regressionMethod:w,smoothSpan:L,onSelected:l});o(O.DATA_EXPLORER_CONTOURPLOT,c),a(d)}},D("generate"))))};S.defaultProps={logAction:function(){},onSelected:function(){}},S.propTypes={data:i.a.object.isRequired,logAction:i.a.func,session:i.a.object.isRequired,variables:i.a.array.isRequired,onCreated:i.a.func.isRequired,onSelected:i.a.func},t.default=S},966:function(e,t,a){"use strict";a.r(t);var n=a(0),l=a.n(n),o=a(1),r=a.n(o),u=a(77),i=a(974),s=a(971),c=a(970),d=a(998),f=function(e){var t=l.a.createElement(i.default,{id:"popover-positioned-right"},l.a.createElement(s.default,null,e.title),l.a.createElement(c.default,null,e.content));return l.a.createElement(d.default,{trigger:["hover","focus"],placement:"left",rootClose:!0,overlay:t},l.a.createElement(u.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},t.default=f}}]);