import{n as i,o as l,p as C}from"./chunk-SOETE4NY.js";import{ea as g}from"./chunk-LEOKSAW2.js";import{d as r,n as y}from"./chunk-HE7HQ6LI.js";import{a as c}from"./chunk-K4ALXBGI.js";var n=(()=>{class s{static{this.type="[Category] Set Categories"}constructor(e){this.category=e}}return s})(),p=(()=>{class s{static{this.type="[Category] Clear Categories"}}return s})();y();var a=class o{static categories(t){return t.categories}setCategories(t,e){t.setState(c({},e.category))}clearCategories(t){t.setState({categories:[]})}static{this.\u0275fac=function(e){return new(e||o)}}static{this.\u0275prov=g({token:o,factory:o.\u0275fac})}};r([i(n)],a.prototype,"setCategories",null);r([i(p)],a.prototype,"clearCategories",null);r([C()],a,"categories",null);a=r([l({name:"category",defaults:{categories:[]}})],a);export{n as a,a as b};
