"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("prop-types"),i=require("@material-ui/core"),r=require("@material-ui/icons/Info"),o=require("../../constants.js"),t=require("./CustomInfoIcon.module.css.js"),s=require("react/jsx-runtime");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=l(e),u=l(r);function a(e){var r=e.viewType,l=e.isWDUser;return s.jsx(i.Tooltip,{title:"View only mode. To edit offsets, use ".concat(l?"Offset Well Selection app.":"Wellhub."),enterTouchDelay:r===o.ViewType.mobile&&0,leaveTouchDelay:r===o.ViewType.mobile&&o.LEAVE_TOUCH_DELAY,placement:r===o.ViewType.mobile?"":"right",children:s.jsx("div",{className:t.infoWrapper,children:s.jsx(u.default,{className:t.infoIcon})})})}a.propTypes={viewType:n.default.string.isRequired},exports.CustomInfoIcon=a;
