import{c as r,d as o,n as u,x as l}from"./index-41a412db.js";import{R as p}from"./rotate-cw-8148c71c.js";import{d as x}from"./debounce-c1ba2006.js";const _="_rotate_1dspl_1",d="_isRotating_1dspl_5",g="_rotating_1dspl_1",c={rotate:_,isRotating:d,rotating:g};function I({isRotating:t}){const e=r(c.rotate,{[c.isRotating]:t});return o("span",{className:e,children:o(p,{width:16})})}const{useCallback:m,useState:R,useMemo:h}=l;function f(t){const[,e]=u(t),[n,i]=R(""),s=h(()=>x(e,300),[e]);return[m(a=>{i(a.target.value),s(a.target.value)},[s]),n]}const T="_input_3wu2k_1",C={input:T};function N(t){const[e,n]=f(t.textAtom);return o("input",{className:C.input,type:"text",value:n,onChange:e,placeholder:t.placeholder})}export{I as R,N as T};
