import{createStore as t}from"zustand";var e={phase:"idle"},a={phase:"idle"},s=function(){return t()((function(t,s){return{mode:"none",radiusState:e,lassoState:a,setMode:function(n){s().mode!==n&&t({mode:n,radiusState:"radius"===n?{phase:"placing-center"}:e,lassoState:"lasso"===n?{phase:"drawing",pointCount:0}:a})},setRadiusState:function(e){t({radiusState:e})},setLassoState:function(e){t({lassoState:e})},reset:function(){t({mode:"none",radiusState:e,lassoState:a})}}}))};export{s as createSelectionToolStore};
//# sourceMappingURL=createSelectionToolStore.js.map
