"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var i=require("react/jsx-runtime"),e=require("react"),s=require("classnames");require("./components/CursorIcon/CursorIcon.js"),require("./components/KeyboardKey/KeyboardKey.js");var o=require("./components/HintItem/HintItem.js"),t=require("./components/BoxSelectionHints/BoxSelectionHints.js"),n=require("./components/LassoHints/LassoHints.js"),r=require("./components/RadiusHints/RadiusHints.js"),a=require("./MapHints.module.css.js"),l=require("../../../../../../../icons/iconParkIcons.js");function d(i){return i&&"object"==typeof i&&"default"in i?i:{default:i}}var c=d(s),u=e.forwardRef((function(e,s){var d=e.mode,u=e.isBoxActive,v=void 0!==u&&u,m=e.hasCircle,p=void 0!==m&&m,H=e.radiusPhase,j=void 0===H?"idle":H,x=e.lassoPhase,h=void 0===x?"idle":x,q=e.isDrawing,y=void 0!==q&&q,f=e.pointCount,g=void 0===f?0:f,S=e.isEditingPolygon,P=void 0!==S&&S,I=e.isEditingVertices,w=void 0!==I&&I,B=e.hasPolygon,C=void 0!==B&&B,b=e.showBoxSelectionHint,A=void 0!==b&&b,E=e.isTooZoomedOut,K=void 0!==E&&E,L=e.isLoadAllWells,M=void 0!==L&&L,R=e.isSatellite,N=void 0!==R&&R,D=e.className,O="box"===d?i.jsx(t.BoxSelectionHints,{isActive:v,hasCircle:p,isSatellite:N}):"radius"===d?i.jsx(r.RadiusHints,{phase:j,isSatellite:N}):i.jsx(n.LassoHints,{phase:h,isDrawing:y,pointCount:g,isEditingPolygon:P,isEditingVertices:w,hasPolygon:C,showBoxSelectionHint:A,isSatellite:N});return"lasso"!==d&&"radius"!==d||O?i.jsxs("div",{ref:s,className:c.default(a.mapHints,D),children:[K&&!M&&i.jsx(o.HintItem,{icon:i.jsx(l.AttentionIcon,{size:16}),text:"Zoom in to load wells",isSatellite:N}),O]}):null}));u.displayName="MapHints",exports.MapHints=u;
//# sourceMappingURL=MapHints.js.map
