import{u}from"./tabsView-BXskTdVh.js";import{f as c,ax as m}from"./index-9PRMimni.js";function f(t,o){const r=u(),e=c().fullPath,n=()=>{const a=r.getSearchParams(e);return a?(o(a),r.delSearchParams(e),a):null},s=()=>{const a=t();r.saveSearchParams(e,a)};return m(()=>{s()}),{restoreSearchParams:n,saveSearchParams:s}}export{f as u};
