/*
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","../InputHandler"],(function(e,t,n){"use strict";let i=function(e){function n(t){var n;return(n=e.call(this,!0)||this)._onChange=t,n._value="mouse",n._x=null,n._y=null,n.registerIncoming("pointer-move",(e=>{const t="touch"===e.data.native.pointerType;n._setValue(t?"touch":"mouse",e.data.x,e.data.y)})),n}return t._inheritsLoose(n,e),n.prototype._setValue=function(e,t,n){e===this._value&&this._x===t&&this._y===n||(this._value=e,this._x=t,this._y=n,this._onChange(e,t,n))},n}(n.InputHandler);e.LatestPointer=i,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
