/*
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{property as o,subclass as e}from"../../../../../core/accessorSupport/decorators.js";import{j as r,e as s}from"../../../../../chunks/vec32.js";import{create as m}from"../../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{MomentumController as n}from"./MomentumController.js";let i=class extends n{constructor(t){super(t),this.interactionType=4,this._tmpPan=m()}momentumStep(t,o){const e=this.momentum.value(t);r(this._tmpPan,this.momentum.direction,e),o.eye=s(c,o.eye,this._tmpPan),o.center=s(c,o.center,this._tmpPan),this.constraintOptions.interactionDirection=this._tmpPan}};t([o({constructOnly:!0})],i.prototype,"momentum",void 0),i=t([e("esri.views.3d.state.controllers.momentum.PanPlanarMomentumController")],i);const c=m();export{i as PanPlanarMomentumController};
