import{q as S,r as i,s as a}from"./chunk-JBWPPKX4.js";import{fa as d}from"./chunk-PVUKHE45.js";import{d as o,n as u}from"./chunk-VD6R3735.js";u();var n=(()=>{let t=class t{constructor(l){this.stores=l}};t.type="[Store] Set Stores";let r=t;return r})(),p=(()=>{let t=class t{constructor(l){this.selectedStoreId=l}};t.type="[Store] Set Selected Store";let r=t;return r})();var e,s=(e=class{static selectedStoreId(t){return t.selectedStoreId}static stores(t){return t.stores}setStores(t,c){t.setState({stores:c.stores,selectedStoreId:t.getState().selectedStoreId})}saveSelectedStore(t,c){t.setState({stores:t.getState().stores,selectedStoreId:c.selectedStoreId})}},e.\u0275fac=function(c){return new(c||e)},e.\u0275prov=d({token:e,factory:e.\u0275fac}),e);o([S(n)],s.prototype,"setStores",null);o([S(p)],s.prototype,"saveSelectedStore",null);o([a()],s,"selectedStoreId",null);o([a()],s,"stores",null);s=o([i({name:"store",defaults:{selectedStoreId:null,stores:[]}})],s);export{n as a,p as b,s as c};
//# sourceMappingURL=chunk-UU4K5RCK.js.map
