"use strict";var e=require("prop-types"),t=require("@material-ui/core"),i=require("@material-ui/icons"),n=require("../../../../componentsV2/Switch/Switch.js"),r=require("react/jsx-runtime");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=l(e);function o(e){var l=e.value,a=e.onChange,o=e.classes,s=e["data-testid"];return r.jsxs("div",{className:o.nonEngineeredWrapper,children:[r.jsx(n.Switch,{testId:s,onLabel:"Include Non-Verified Reference Wells",checked:l,onChange:function(e){a(e)},size:"small",className:o.formControl}),r.jsx(t.Tooltip,{title:r.jsxs("div",{className:o.tooltipContent,children:[r.jsx("span",{children:"Non-Verified Reference Wells have minimal data and are used for displaying drilling parameters only."}),r.jsx("span",{children:"Metrics & models from these wells can be inaccurate."})]}),placement:"bottom-start",classes:{tooltip:o.infoTooltip},children:r.jsx(i.InfoOutlined,{fontSize:"small",className:o.infoIcon})})]})}o.propTypes={value:a.default.bool.isRequired,onChange:a.default.func.isRequired,classes:a.default.shape({}).isRequired,"data-testid":a.default.string},o.defaultProps={"data-testid":"NonEngineeredWellsSwitch"};var s=t.withStyles((function(e){return{formControl:{display:"flex",alignItems:"flex-end",height:"100%"},nonEngineeredWrapper:{display:"flex",height:"56px",alignItems:"flex-end",marginLeft:"8px"},infoIcon:{marginLeft:"8px",marginBottom:"12px",fontSize:"13px",color:e.palette.primary.text6,"&:hover":{color:e.palette.primary.text1}},infoTooltip:{fontSize:"12px",lineHeight:"16px",letterSpacing:"0.4px",color:e.palette.primary.text1,minWidth:"314px"},tooltipContent:{display:"flex",flexDirection:"column"}}}))(o);module.exports=s;
//# sourceMappingURL=NonEngineeredWellsSwitch.js.map
