import{p as S,q as i,r as a}from"./chunk-M6NTKB7A.js";import{ga as d}from"./chunk-I3FGJX2C.js";import{d as o,n as u}from"./chunk-INB5GR2I.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-IXRBBB6V.js.map
