<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">import{d as r}from"./pinia-5c146a7e.js";import{a as n}from"./api-cfc15c82.js";const i=r("app",{state:()=&gt;({theme:{breadcrumb:[]},account:{shop_id:"",shop_name:"",expired_at:0,version_spec_name:"",shops:[]}}),getters:{shopId:s=&gt;s.account.shop_id,isGuest:s=&gt;s.account.shop_id===0,isUser:s=&gt;!s.isGuest,allShops:s=&gt;s.account.shops,shopName(s){return t=&gt;{const o=s.allShops.find(e=&gt;e.shop_id==t);return o?o.shop_name:t}},shopIds(){return this.account.shops.map(s=&gt;s.shop_id+"")}},actions:{async init(){const{data:s}=await n.get("account/info");this.account={...this.account,...s}},ensureShopIds(s){return s.filter(t=&gt;this.shopIds.includes(t+""))}}});export{i as u};
</pre></body></html>