"use strict";var e=require("react/jsx-runtime"),o=require("@material-ui/core");require("../../icons/WithCustomSize.js"),require("../../icons/IconParkProvider.js"),require("../../icons/customIcons/icons/AddMessage.js"),require("../../icons/customIcons/icons/Attention.js"),require("../../icons/customIcons/icons/Collapse.js"),require("../../icons/customIcons/icons/Dashboard.js"),require("../../icons/customIcons/icons/Expand.js"),require("../../icons/customIcons/icons/FolderClosed.js"),require("../../icons/customIcons/icons/FolderClosedFilled.js"),require("../../icons/customIcons/icons/FolderOpened.js"),require("../../icons/customIcons/icons/GreaterOrEqual.js"),require("../../icons/customIcons/icons/LessOrEqual.js"),require("../../icons/customIcons/icons/Search.js"),require("../../icons/customIcons/icons/Wellhub.js"),require("../../icons/customIcons/icons/MultiRuler.js"),require("../../icons/customIcons/icons/Checkbox.js"),require("../../icons/customIcons/icons/CheckboxChecked.js"),require("../../icons/customIcons/icons/CheckboxIndeterminate.js"),require("../../icons/customIcons/icons/Radio.js"),require("../../icons/customIcons/icons/RadioChecked.js");var s=require("../../icons/customIcons/icons/SimulFrac.js"),i=require("../../icons/customIcons/icons/ZipperFrac.js");require("../../icons/customIcons/icons/CautionFilled.js"),require("../../icons/customIcons/icons/MoreApp.js");var c=o.makeStyles((function(e){return{tooltipContent:{width:230,padding:4,fontSize:"12px",color:e.palette.primary.text6},tooltipTitle:{marginBottom:8,color:e.palette.primary.text1},labelContainer:{position:"absolute",top:0,left:0,height:14,padding:"1px 16px 0",color:e.palette.background.b2,fontSize:"12px",fontWeight:500,letterSpacing:.5,lineHeight:1,cursor:"default","&:before":{content:'""',position:"absolute",top:0,left:"-1%",width:"100%",height:"100%",transform:"skew(-40deg)",borderBottomRightRadius:2,backgroundColor:e.palette.primary.main}},labelContent:{position:"relative",display:"flex",alignItems:"center",gap:4}}})),n={simul:"SimulFrac",zipper:"ZipperFrac"},r={simul:"Fracturing multiple wells on a pad simultaneously",zipper:"Fracturing one well on a pad at a time"};module.exports=function(t){t.enableSimulFracInPadSelect;var l=t.fracFleetLines,a=c(),u=o.useTheme(),m=l.length?"simul":"zipper";return e.jsx(o.Tooltip,{title:e.jsxs("div",{className:a.tooltipContent,children:[e.jsx("div",{className:a.tooltipTitle,children:n[m]}),e.jsx("div",{children:r[m]})]}),placement:"bottom",children:e.jsx("div",{"data-testid":"FracModeLabel",className:a.labelContainer,children:e.jsxs("div",{className:a.labelContent,children:["simul"===m?e.jsx(s.SimulFracCustomIcon,{size:12,fill:u.palette.background.b2}):e.jsx(i.ZipperFracCustomIcon,{size:12,fill:u.palette.background.b2}),e.jsx("span",{children:n[m]})]})})})};
