/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{__decorate as t}from"tslib";import{subclass as e}from"../../../../core/accessorSupport/decorators.js";import{TooltipField as o}from"../components/TooltipField.js";import{TooltipContent as s}from"./TooltipContent.js";import{tsx as i,tsxFragment as r}from"../../../../widgets/support/widget.js";let n=class extends s{_renderContent(){const{info:t}=this,{visibleElements:e}=t,s=this._messagesTooltip.sketch,n=this._formatters;return i(r,null,e.distance?i(o,{title:s.distance,value:n.length(t.distance)}):null)}};n=t([e("esri.views.interactive.tooltip.content.TooltipContentTranslateXY")],n);export{n as TooltipContentTranslateXY};
