const t="stockwin_master_",e=a=>localStorage.setItem(t+"pagination",JSON.stringify(a)),r=()=>{try{const a=localStorage.getItem(t+"pagination");return a?JSON.parse(a):{page:0,pageSize:10}}catch{return{page:0,pageSize:10}}},s=a=>localStorage.setItem(t+"search",a),o=()=>localStorage.getItem(t+"search")??"",c=a=>localStorage.setItem(t+"draft",JSON.stringify(a)),n=()=>{try{const a=localStorage.getItem(t+"draft");return a?JSON.parse(a):null}catch{return null}},l=()=>localStorage.removeItem(t+"draft");export{r as a,e as b,n as c,l as d,c as e,o as l,s};
