/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","../../../../chunks/_rollupPluginBabelHelpers","../../../../chunks/tslib.es6","../../../../core/quantityFormatUtils","../../../../core/Logger","../../../../core/accessorSupport/ensureType","../../../../core/arrayUtils","../../../../core/has","../../../../core/accessorSupport/set","../../../../core/accessorSupport/decorators/subclass","../css","./TooltipContent","../support/TooltipField","../../../../widgets/support/widgetUtils","../../../../widgets/support/jsxFactory"],(function(t,o,e,r,s,i,n,a,l,c,p,u,T,d,f){"use strict";const v=`${p.CONTENT}--transform-rotate`,g={base:`${p.CONTENT} ${v}`};t.TooltipContentTransformRotate=function(t){function e(){return t.apply(this,arguments)||this}return o._inheritsLoose(e,t),e.prototype.render=function(){var t;const{rotation:o,rotationPrecision:e,orientation:s,orientationPrecision:i,rotationType:n}=this.info,a=null==(t=this._messagesTooltip)?void 0:t.sketch;return f.tsx("div",{class:g.base},f.tsx(T.TooltipField,{title:null==a?void 0:a.rotation,value:r.formatRelativeAngle(o,n,e)}),f.tsx(T.TooltipField,{title:null==a?void 0:a.orientation,value:r.formatAngle(s,n,i)}))},e}(u.TooltipContent),t.TooltipContentTransformRotate=e.__decorate([c.subclass("esri.views.interactive.tooltip.content.TooltipContentTransformRotate")],t.TooltipContentTransformRotate),Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
