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