/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports"],(function(n){"use strict";var e,a;function i(n){return n&&"esri.renderers.visualVariables.SizeVariable"===n.declaredClass}function o(n){return null!=n&&!isNaN(n)&&isFinite(n)}function t(e){return e.valueExpression?n.InputValueType.Expression:e.field&&"string"==typeof e.field?n.InputValueType.Field:n.InputValueType.Unknown}function r(e,a){const i=a||t(e),o=e.valueUnit||"unknown";return i===n.InputValueType.Unknown?n.TransformationType.Constant:e.stops?n.TransformationType.Stops:null!=e.minSize&&null!=e.maxSize&&null!=e.minDataValue&&null!=e.maxDataValue?n.TransformationType.ClampedLinear:"unknown"===o?null!=e.minSize&&null!=e.minDataValue?e.minSize&&e.minDataValue?n.TransformationType.Proportional:n.TransformationType.Additive:n.TransformationType.Identity:n.TransformationType.RealWorldSize}n.InputValueType=void 0,(e=n.InputValueType||(n.InputValueType={})).Unknown="unknown",e.Expression="expression",e.Field="field",n.TransformationType=void 0,(a=n.TransformationType||(n.TransformationType={})).Unknown="unknown",a.Stops="stops",a.ClampedLinear="clamped-linear",a.Proportional="proportional",a.Additive="additive",a.Constant="constant",a.Identity="identity",a.RealWorldSize="real-world-size",n.getInputValueType=t,n.getTransformationType=r,n.isSizeVariable=i,n.isValidNumber=o,Object.defineProperties(n,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
