import{n as s,t as r}from"./chunk-B7bLvSFs.js";import{$ as Ld,Cr as lf,Gn as ci,Gr as re$1,I as He$1,Jt as Ut$1,Ln as be,Mt as S,Nr as ot$1,Pt as Se,Qn as en,Qr as tS,S as Ee,Tn as _e,Un as ca,Vr as qe$1,Vt as Td,Xn as dr,Yr as su,Yt as Uy,ai as uE,an as Wv,at as Me,ei as te$1,ht as Nn$1,kr as na,lr as ho,m as Ce$1,mi as ve,r as $t$1,tt as M,ui as v,vr as kd,y as Dd,yt as Ov,zn as bi}from"./chunk-DR8zdE1B.js";import{n as T$1,r as U$1,t as F$1}from"./chunk-CQpS8iiQ.js";var y=`NGXS_META`;var ne=`NGXS_OPTIONS_META`;var J=`NGXS_SELECTOR_META`;var F=(e,r)=>Object.hasOwn(e,r);var je=Object.defineProperty;function re(e){if(!F(e,y)){let r={name:null,actions:Object.create(null),defaults:{},path:null,makeRootSelector(t){return t.getStateGetter(r.name)},children:[]};je(e,y,{value:r})}return T(e)}function T(e){return e[y]}function oe(e){return F(e,J)||je(e,J,{value:{makeRootSelector:null,originalFn:null,containerClass:null,selectorName:null,getSelectorOptions:()=>({})}}),se(e)}function se(e){return e[J]}function ot(e,r){if(e===null||r===null||e.length!==r.length)return!1;let t=e.length;for(let n=0;n<t;n++)if(!Object.is(e[n],r[n]))return!1;return!0}function k(e,r){let t=null,n=null;function o(){return ot(t,arguments)||(n=e.apply(null,arguments)),t=arguments,n}return o}var ee=class{_name;constructor(r){this._name=r;let t=oe(this);t.makeRootSelector=n=>n.getStateGetter(this._name)}getName(){return this._name}toString(){return`StateToken[${this._name}]`}};var st=(()=>{class e{static _value={};static set(t){this._value=t}static pop(){let t=this._value;return this._value={},t}}return e})();var ie=new S(``,{providedIn:`root`,factory:()=>st.pop()});var ae=new S(``,{factory:()=>bi(!1)});function xe(e){let r=[],t=!1;return function(...o){if(t){r.unshift(o);return}for(t=!0,e(...o);r.length>0;){let s=r.pop();s&&e(...s)}t=!1}}var C=class extends te$1{_orderedNext=xe(r=>super.next(r));next(r){this._orderedNext(r)}};var te=class extends dr{_orderedNext=xe(r=>super.next(r));_currentValue;constructor(r){super(r),this._currentValue=r}getValue(){return this._currentValue}next(r){this._currentValue=r,this._orderedNext(r)}};function ce(e){return r=>new M(t=>r.subscribe({next(n){e(()=>t.next(n))},error(n){e(()=>t.error(n))},complete(){e(()=>t.complete())}}))}var G=(()=>{class e extends te{state=F$1(this.pipe(ce(Uy)),{manualCleanup:!0,requireSync:!0});constructor(){super({}),v(Se).onDestroy(()=>{this.complete(),this.unsubscribe()})}static ɵfac=function(n){return new(n||e)};static ɵprov=re$1({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var Ce=(()=>{class e{_actionTypeToHandlersMap=new Map;constructor(){v(Se).onDestroy(()=>this._actionTypeToHandlersMap.clear())}get(t){return this._actionTypeToHandlersMap.get(t)}register(t,n){let o=this._actionTypeToHandlersMap.get(t)??new Set;return o.add(n),this._actionTypeToHandlersMap.set(t,o),()=>{this._actionTypeToHandlersMap.get(t).delete(n)}}static ɵfac=function(n){return new(n||e)};static ɵprov=re$1({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var Fe=(()=>{class e{static type=`@@INIT`}return e})();var ke=(()=>{class e{addedStates;static type=`@@UPDATE_STATE`;constructor(t){this.addedStates=t}}return e})();var H=new S(``);function Ge(e){return!!e.prototype.handle}function V(e){return e.constructor?.type||e.type}var ue=(e,r$1,t)=>{e=r({},e);let n=r$1.split(`.`),o=n.length-1;return n.reduce((s,i,c)=>(c===o?s[i]=t:s[i]=Array.isArray(s[i])?s[i].slice():r({},s[i]),s?.[i]),e),e};var U=(e,r)=>r.split(`.`).reduce((t,n)=>t?.[n],e);var it=e=>typeof e==`function`;var He=it;var Ye=(()=>{class e{plugins=[];_parentManager=v(e,{optional:!0,skipSelf:!0});_pluginHandlers=v(H,{optional:!0});constructor(){this.registerHandlers()}get _rootPlugins(){return this._parentManager?.plugins||this.plugins}registerHandlers(){let t=this.getPluginHandlers();this._rootPlugins.push(...t)}getPluginHandlers(){return(this._pluginHandlers||[]).map(n=>n.handle?n.handle.bind(n):n)}static ɵfac=function(n){return new(n||e)};static ɵprov=re$1({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();function b(e){return ce(r=>e.leave(r))}var de=new WeakMap;var Ve=!1;function at(){if(Ve)return;let e=Ce$1.onUnhandledError;Ce$1.onUnhandledError=function(r){let t=de.get(r);if(t)t();else if(e)e.call(this,r);else throw r},Ve=!0}function ct(e){let r=de.get(e);return r?(r(),!0):!1}function ut(e,r){if(e&&typeof e==`object`){let t=!1;de.set(e,()=>{t||(t=!0,r())})}return e}function lt(e){return r=>{let t=r.subscribe({error:n=>{e.runOutsideAngular(()=>{queueMicrotask(()=>{t&&ct(n)})})}});return new M(n=>(t?.unsubscribe(),t=null,r.subscribe(n)))}}var Ke=(()=>{class e extends te$1{constructor(){super(),v(Se).onDestroy(()=>{this.complete(),this.unsubscribe()})}static ɵfac=function(n){return new(n||e)};static ɵprov=re$1({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var B=(()=>{class e{_ngZone=v(Me);enter(t){return this._runOutsideAngular(t)}leave(t){return this._runInsideAngular(t)}_runInsideAngular(t){return Me.isInAngularZone()?t():this._ngZone.run(t)}_runOutsideAngular(t){return Me.isInAngularZone()?this._ngZone.runOutsideAngular(t):t()}static ɵfac=function(n){return new(n||e)};static ɵprov=re$1({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var g=(function(e){return e.Dispatched=`DISPATCHED`,e.Successful=`SUCCESSFUL`,e.Canceled=`CANCELED`,e.Errored=`ERRORED`,e})(g||{});var $=(()=>{class e extends C{dispatched$=new te$1;constructor(){super(),this.subscribe(n=>{n.status===g.Dispatched&&this.dispatched$.next(n)}),v(Se).onDestroy(()=>{this.complete(),this.unsubscribe(),this.dispatched$.complete(),this.dispatched$.unsubscribe()})}static ɵfac=function(n){return new(n||e)};static ɵprov=re$1({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var On=(()=>{class e extends M{constructor(){let t=v($),n=v(B),o=new te$1;t.pipe(b(n)).subscribe(o),super(s=>{let i=o.subscribe({next:c=>s.next(c),error:c=>s.error(c),complete:()=>s.complete()});s.add(i)})}static ɵfac=function(n){return new(n||e)};static ɵprov=re$1({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var dt=(()=>{class e{_ngZone=v(Me);_actions=v($);_actionResults=v(Ke);_pluginManager=v(Ye);_stateStream=v(G);_ngxsExecutionStrategy=v(B);_injector=v(Ee);_destroyRef=v(Se);dispatch(t){return this._ngxsExecutionStrategy.enter(()=>this.dispatchByEvents(t)).pipe(lt(this._ngZone),b(this._ngxsExecutionStrategy))}dispatchByEvents(t){return Array.isArray(t)?t.length===0?Ov(void 0):Wv(t.map(n=>this.dispatchSingle(n))).pipe(be(()=>{})):this.dispatchSingle(t)}dispatchSingle(t){let n=this._stateStream.getValue(),o=this._pluginManager.plugins;return Ze(this._injector,this._destroyRef,[...o,(s,i)=>{s!==n&&this._stateStream.next(s);let c=this.getActionResultStream(i);return c.subscribe(u=>this._actions.next(u)),this._actions.next({action:i,status:g.Dispatched}),this.createDispatchObservable(c)}])(n,t).pipe(Td())}getActionResultStream(t){return new M(n=>this._actionResults.subscribe({next:o=>{o.action===t&&o.status!==g.Dispatched&&(n.next(o),n.complete())},complete:()=>!n.closed&&n.complete()})).pipe(Td())}createDispatchObservable(t){return t.pipe(_e(n=>{switch(n.status){case g.Successful:return Ov(this._stateStream.getValue());case g.Errored:throw n.error;default:return Ut$1}}),Td())}static ɵfac=function(n){return new(n||e)};static ɵprov=re$1({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var Ze=(e,r,t)=>(...n)=>{let o=t.shift();return r.destroyed||!o?Ut$1:ci(e,()=>o(...n,(...s)=>Ze(e,r,t)(...s)))};var We=new S(``);new S(``);var qe=new S(``);var w=(()=>{class e{developmentMode;compatibility={strictContentSecurityPolicy:!1};selectorOptions={injectContainerState:!1,suppressErrors:!1};static ɵfac=function(n){return new(n||e)};static ɵprov=re$1({token:e,factory:()=>(()=>{let t=new e,n=v(qe);return s(r(r({},t),n),{selectorOptions:r(r({},t.selectorOptions),n.selectorOptions)})})(),providedIn:`root`})}return e})();var le=class{previousValue;currentValue;firstChange;constructor(r,t,n){this.previousValue=r,this.currentValue=t,this.firstChange=n}};var A=(()=>{class e{_stateStream=v(G);_dispatcher=v(dt);_config=v(w);getRootStateOperations(){return{getState:()=>this._stateStream.getValue(),setState:n=>this._stateStream.next(n),dispatch:n=>this._dispatcher.dispatch(n)}}setStateToTheCurrentWithNew(t){let n=this.getRootStateOperations(),o=n.getState();n.setState(r(r({},o),t.defaults))}static ɵfac=function(n){return new(n||e)};static ɵprov=re$1({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();function pt(e,r,t){return n=>{let{argumentSelectorFunctions:o,selectorOptions:s}=ht(n,e,r),{suppressErrors:i}=s;return function(u){let l=o.map(p=>p(u));try{return t(...l)}catch(p){if(i&&p instanceof TypeError)return;throw p}}}}function gt(e,r){let t=r?.containerClass,o=k(function(){let i=e.apply(t,arguments);return typeof i==`function`?k.apply(null,[i]):i},e);return Object.setPrototypeOf(o,e),o}function ht(e,r,t=[]){let n=r.getSelectorOptions(),o=e.getSelectorOptions(n);return{selectorOptions:o,argumentSelectorFunctions:St(t,o,r.containerClass).map(c=>Qe(c)(e))}}function St(e=[],r,t){let n=[],o=r.injectContainerState||e.length===0;return t&&o&&T(t)&&n.push(t),n.push(...e),n}function Qe(e){return(se(e)||T(e))?.makeRootSelector||(()=>e)}function yt(e){return r=>{for(let t=0;t<e.length;t++){if(!r)return;r=r[e[t]]}return r}}function vt(e){let r=e,t=`store.`+r[0],n=0,o=r.length,s=t;for(;++n<o;)s=s+` && `+(t=t+`.`+r[n]);return new Function(`store`,`return `+s+`;`)}var mt=new S(``,{providedIn:`root`,factory:()=>v(w).compatibility?.strictContentSecurityPolicy?yt:vt});function _t(e){let r=t=>e.find(o=>o===t)[y].name;return e.reduce((t,n)=>{let o=n[y];return t[o.name]=(o.children||[]).map(r),t},Object.create(null))}function Ot(e){return e.reduce((r,t)=>{let n=t[y];return r[n.name]=t,r},Object.create(null))}function Mt(e,r=Object.create(null)){let t=(n,o)=>{for(let s in n)if(n[s]?.includes(o)){let i=t(n,s);return i?`${i}.${s}`:s}return null};for(let n in e){let o=t(e,n);r[n]=o?`${o}.${n}`:n}return r}function Et(e){let r=[],t=Object.create(null),n=(o,s=[])=>{t[o]=!0,s.push(o);for(let i of e[o])t[i]||n(i,s.slice());r.includes(o)||r.push(o)};for(let o in e)n(o);return r.reverse()}var It=(()=>{class e{_ngZone=v(Me);_errorHandler=v(ot$1);handleError(t,n){this._ngZone.runOutsideAngular(()=>this._errorHandler.handleError(t))}static ɵfac=function(n){return new(n||e)};static ɵprov=re$1({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();function Tt(...e){return fe(e,[g.Dispatched])}function Mn(...e){return fe(e,[g.Successful])}function En(...e){return fe(e,[g.Errored],Dt)}function fe(e,r,t=wt){let n=At(e),o=r&&Nt(r);return function(s){return s.pipe(bt(n,o),t())}}function bt(e,r){return Nn$1(t=>{let o=e[V(t.action)],s=r?r[t.status]:!0;return o&&s})}function Dt(){return be(({action:e,status:r,error:t})=>({action:e,result:{successful:g.Successful===r,canceled:g.Canceled===r,error:t}}))}function wt(){return be(e=>e.action)}function At(e){return e.reduce((r,t)=>(r[V(t)]=!0,r),Object.create(null))}function Nt(e){return e.reduce((r,t)=>(r[t]=!0,r),Object.create(null))}function Rt(e){return r$2=>{let t=r({},r$2);for(let n in e)t[n]=e[n];return t}}var D=class e extends Error{path;name=`StateContextDestroyedError`;constructor(r){super(r),this.path=r,Object.setPrototypeOf(this,e.prototype)}};var Je=(()=>{class e{_injector=v(ve);_internalStateOperations=v(A);_errorHandler=null;createStateContext(t,n){let o=this._injector,s=this._errorHandler,i=this._internalStateOperations.getRootStateOperations();return{abortSignal:n,getState(){o.destroyed&&s?.handleError(new D(t));return tt(i.getState(),t)},patchState(c){if(o.destroyed){s?.handleError(new D(t));return}let u=i.getState(),l=Rt(c);Ue(i,u,l,t)},setState(c){if(o.destroyed){s?.handleError(new D(t));return}let u=i.getState();He(c)?Ue(i,u,c,t):et(i,u,c,t)},dispatch(c){return i.dispatch(c)}}}setErrorHandler(){this._errorHandler??=this._injector.get(ot$1)}static ɵfac=function(n){return new(n||e)};static ɵprov=re$1({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();function et(e,r,t,n){let o=ue(r,n,t);return e.setState(o),o}function Ue(e,r,t,n){return et(e,r,t(tt(r,n)),n)}function tt(e,r){return U(e,r)}var Pt=(()=>{class e{_actions=v($);_stateContextFactory=v(Je);createActionHandler(t,n,o){let{dispatched$:s}=this._actions;return i=>{let c=new AbortController,u=this._stateContextFactory.createStateContext(t,c.signal),l=n(u,i);if(su(l)&&(l=He$1(l)),uE(l)){if(l=l.pipe(_e(p=>su(p)||uE(p)?p:Ov(p)),ca(void 0)),o.cancelUncompleted){let p=s.pipe(Tt(i));l=l.pipe(Ld(new M(m=>p.subscribe(()=>{c.abort(),m.next()}))))}l=l.pipe(kd(()=>{u.setState=Be,u.patchState=Be}))}else l=Ov(void 0);return l}}static ɵfac=function(n){return new(n||e)};static ɵprov=re$1({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();function Be(){}function jt(e){let r$3=e===void 0?{}:e;return e&&(Array.isArray(e)?r$3=e.slice():typeof e==`object`&&(r$3=r({},e))),r$3}var pe=(()=>{class e{_injector=v(Ee);_config=v(w);_actionHandlerFactory=v(Pt);_actions=v($);_actionResults=v(Ke);_initialState=v(ie,{optional:!0});_actionRegistry=v(Ce);_propGetter=v(mt);_actionsSubscription=null;_ngxsUnhandledErrorHandler=null;_states=[];_statesByName=Object.create(null);_statePaths=Object.create(null);getRuntimeSelectorContext=k(()=>{let t=this,n=t._propGetter;function o(i){let c=t._statePaths[i];return c?n(c.split(`.`)):null}return{getStateGetter(i){let c=o(i);return c||((...u)=>(c||(c=o(i)),c?c(...u):void 0))},getSelectorOptions(i){let c=t._config.selectorOptions;return r(r({},c),i||{})}}});constructor(){v(Se).onDestroy(()=>{this._states=[],this._actionsSubscription?.unsubscribe()})}add(t){let{newStates:n}=this.addToStatesMap(t);if(!n.length)return[];let o=_t(n),s=Et(o),i=Mt(o),c=Ot(n),u=[];for(let l of s){let p=c[l],m=i[l],z=p[y];this.addRuntimeInfoToMeta(z,m);let L={name:l,path:m,isInitialised:!1,actions:z.actions,instance:v(p),defaults:jt(z.defaults)};this.hasBeenMountedAndBootstrapped(l,m)||u.push(L),this._states.push(L),this.hydrateActionMetasMap(L)}return u}addAndReturnDefaults(t){let n=t||[],o=this.add(n);return{defaults:o.reduce((i,c)=>ue(i,c.path,c.defaults),{}),states:o}}connectActionHandlers(){this._actionsSubscription=this._actions.pipe(_e(t=>{if(t.status!==g.Dispatched)return Ut$1;let n=t.action;return new M(o=>this.invokeActions(n).subscribe({next:()=>{o.next({action:n,status:g.Successful}),o.complete()},error:s=>{let i=this._ngxsUnhandledErrorHandler||=this._injector.get(It);function c(){i.handleError(s,{action:n})}let u=ut(s,c.bind(null));o.next({action:n,status:g.Errored,error:u}),o.complete()},complete:()=>{o.closed||(o.next({action:n,status:g.Canceled}),o.complete())}}))})).subscribe(t=>{this._actionResults.next(t)})}invokeActions(t){let n=V(t),o=[],i=this._actionRegistry.get(n);if(i)for(let c of i){let u;try{u=c(t)}catch(l){u=new M(p=>p.error(l))}o.push(u)}return o.length>0?Wv(o):Ov(void 0)}addToStatesMap(t){let n=[],o=this._statesByName;for(let s of t){let i=T(s).name;!o[i]&&(n.push(s),o[i]=s)}return{newStates:n}}addRuntimeInfoToMeta(t,n){this._statePaths[t.name]=n,t.path=n}hasBeenMountedAndBootstrapped(t,n){let o=U(this._initialState,n)!==void 0;return this._statesByName[t]&&o}hydrateActionMetasMap({path:t,actions:n,instance:o}){for(let s of Object.keys(n)){let i=n[s].map(c=>{let u=(l,p)=>o[c.fn](l,p);return this._actionHandlerFactory.createActionHandler(t,u,c.options)});for(let c of i)this._actionRegistry.register(s,c)}}static ɵfac=function(n){return new(n||e)};static ɵprov=re$1({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var X=(()=>{class e{_injector;_stateStream=v(G);_internalStateOperations=v(A);_config=v(w);_internalExecutionStrategy=v(B);_stateFactory=v(pe);_selectableStateStream=this._stateStream.pipe(b(this._internalExecutionStrategy),Td({bufferSize:1,refCount:!0}));constructor(){this.initStateStream()}dispatch(t){return this._internalStateOperations.getRootStateOperations().dispatch(t)}select(t){let n=this.getStoreBoundSelectorFn(t);return this._selectableStateStream.pipe(be(n),na(o=>{if(this._config.selectorOptions.suppressErrors&&o instanceof TypeError)return Ov(void 0);throw o}),Dd(),b(this._internalExecutionStrategy))}selectOnce(t){return this.select(t).pipe($t$1(1))}selectSnapshot(t){return this.getStoreBoundSelectorFn(t)(this._stateStream.getValue())}selectSignal(t){let n=this.getStoreBoundSelectorFn(t);return tS(()=>n(this._stateStream.state()))}subscribe(t){return this._selectableStateStream.pipe(b(this._internalExecutionStrategy)).subscribe(t)}snapshot(){return this._internalStateOperations.getRootStateOperations().getState()}reset(t){this._internalStateOperations.getRootStateOperations().setState(t)}getStoreBoundSelectorFn(t){return Qe(t)(this._stateFactory.getRuntimeSelectorContext())}initStateStream(){let t=v(ie),n=this._stateStream.value;(!n||Object.keys(n).length===0)&&this._stateStream.next(t)}static ɵfac=function(n){return new(n||e)};static ɵprov=re$1({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var xt=new S(``);function In(e){return en([Ge(e)?{provide:H,useClass:e,multi:!0}:{provide:H,useValue:e,multi:!0},lf(()=>v(Ye))])}var Ct=(()=>{class e{static store=null;static config=null;constructor(t,n){e.store=t,e.config=n,v(Se).onDestroy(()=>{e.store=null,e.config=null})}static ɵfac=function(n){return new(n||e)(qe$1(X),qe$1(w))};static ɵprov=re$1({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var nt=(()=>{class e{_destroyRef=v(Se);_injector=v(Ee);_store=v(X);_internalStateOperations=v(A);_stateContextFactory=v(Je);_appBootstrapState=v(ae);_abortController=new AbortController;_initStateHasBeenDispatched;constructor(){v(Se).onDestroy(()=>this._abortController.abort())}ngxsBootstrap(t,n){this._stateContextFactory.setErrorHandler(),this._internalStateOperations.getRootStateOperations().dispatch(t).subscribe(()=>{if(!n)return;this._invokeInitOnStates(n.states);let s={injector:this._injector};T$1(this._appBootstrapState,s).pipe(U$1(this._destroyRef)).subscribe(i=>{i&&this._invokeBootstrapOnStates(n.states)})})}_invokeInitOnStates(t){for(let n of t){let o=n.instance;if(o.ngxsOnChanges){let s;this._store.select(i=>U(i,n.path)).subscribe(i=>{let c=new le(s,i,!n.isInitialised);s=i,o.ngxsOnChanges(c)})}o.ngxsOnInit?.(this._getStateContext(n)),n.isInitialised=!0}}_invokeBootstrapOnStates(t){for(let n of t)n.instance.ngxsAfterBootstrap?.(this._getStateContext(n))}_getStateContext(t){return this._stateContextFactory.createStateContext(t.path,this._abortController.signal)}static ɵfac=function(n){return new(n||e)};static ɵprov=re$1({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();function Ft(){at(),(v(xt,{optional:!0})||[]).forEach(i=>i());let r=v(pe),t=v(A);v(X),v(Ct);let n=v(We,{optional:!0})||[],o=v(nt),s=r.addAndReturnDefaults(n);t.setStateToTheCurrentWithNew(s),r.connectActionHandlers(),o.ngxsBootstrap(new Fe,s)}var $e=new S(``);var Xe=new S(``);var Gt=[{provide:$e,useFactory:Ft},lf(()=>v($e))];lf(()=>v(Xe));function Ht(e,r){return[...e,{provide:We,useValue:e},{provide:ho,useFactory:()=>{let t=v(ae);return()=>t.set(!0)},multi:!0},{provide:qe,useValue:r}]}function bn(e,r){return(t,n,o)=>{let s=re(t.constructor),i=Array.isArray(e)?e:[e];for(let c of i){let u=c.type;s.actions[u]||(s.actions[u]=[]),s.actions[u].push({fn:n,options:r||{},type:u})}}}function Dn(e){return r$4=>{let t=r$4,n=Object.getPrototypeOf(t),o=re(t),s=r(r({},n[`NGXS_OPTIONS_META`]||{}),e);Vt(o,n,s),t[ne]=s}}function Vt(e,r$5,t){let{name:n,defaults:o,children:s}=t,i=typeof n==`string`?n:n?.getName?.()||null;if(F(r$5,y)){let c=r$5[y]||{};e.actions=r(r({},e.actions),c.actions)}e.name=i,e.defaults=o,e.children=s}var ze=`NGXS_SELECTOR_OPTIONS_META`;var Le={getOptions:e=>e?.[ze]||{},defineOptions:(e,r)=>{e&&(e[ze]=r)}};function Ut(e,r$6){let t=oe(e);t.originalFn=e;let n=()=>({});r$6&&(t.containerClass=r$6.containerClass,t.selectorName=r$6.selectorName||null,n=r$6.getSelectorOptions||n);let o=r({},t);return t.getSelectorOptions=()=>Bt(o,n()),t}function Bt(e,r$7){return r(r(r(r({},Le.getOptions(e.containerClass)||{}),Le.getOptions(e.originalFn)||{}),e.getSelectorOptions()||{}),r$7)}function $t(e,r,t){let n=gt(r,t),o=Ut(r,t);return o.makeRootSelector=pt(o,e,n),n}function wn(e){return(r,t,n)=>{n||=Object.getOwnPropertyDescriptor(r,t);let o=n?.value,s=$t(e||[],o,{containerClass:r,selectorName:t.toString(),getSelectorOptions(){return{}}});return{configurable:!0,get(){return s},originalFn:o}}}var Xt=(()=>{class e{enter(t){return t()}leave(t){return t()}static ɵfac=function(n){return new(n||e)};static ɵprov=re$1({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();function An(){return en([{provide:B,useExisting:Xt}])}function Nn(e=[],...r){let t=[],n={};return r.length>0&&(zt(r[0])?t.push(...r):(n=r[0],t.push(...r.slice(1)))),en([...Ht(e,n),Gt,t])}function zt(e){return!!e.ɵproviders}export{ne as _,F as a,Mn as c,U as d,V as f,ke as g,ee as h,En as i,Nn as l,bn as m,An as n,Fe as o,X as p,Dn as r,In as s,$t as t,On as u,ue as v,wn as y};
//# debugId=401cf9bc-0c8b-506c-823b-8f8b69745a27
//# sourceMappingURL=chunk-CxvfcYSs.js.map