import{$ as e,a2 as t}from"./index-4ddb689d.js";const a="dealer.setting/data",n=()=>new Promise(((t,n)=>{e.get(a).then((e=>{t(e.data.setting)}))})),s=(e=!1)=>new Promise(((a,s)=>{const i=t.get("Dealer-Setting");e&&i?a(i):n().then((e=>{(e=>{t.set("Dealer-Setting",e,1800)})(e),a(e)}))})),i={data:s,item:(e,t=!1)=>new Promise(((a,n)=>{s(t).then((t=>{a(t[e])}))}))};export{i as S};