import{c as r}from"./chunk-RISKGE32.js";import{g as e,n as s}from"./chunk-CLPINNGF.js";s();e();var t=r("shortcutPrompt",{getInitialState:async()=>({enabled:!1,shortcutUsedTimestamp:Date.now(),displayStrategy:"auto"})}),o=async()=>{switch((await t.getAll()).displayStrategy){case"auto":await t.set("displayStrategy","short");break;case"short":await t.set("displayStrategy","long");break;case"long":await t.set("displayStrategy","never");break}},l=async()=>{await t.set("enabled",!1),await t.set("shortcutUsedTimestamp",Date.now()),await o()},y=async()=>{let a=await t.get("displayStrategy");await t.set("shortcutUsedTimestamp",Date.now()),a==="auto"&&await o()};export{t as a,l as b,y as c};
//# sourceMappingURL=chunk-BTWOJWRN.js.map
