1(self.webpackChunkAngular=self.webpackChunkAngular||[]).push([[2581,4962],{4962:(dt,y,d)=>{d.r(y),d.d(y,{Actions:()=>W,EFFECTS_ERROR_HANDLER:()=>b,EffectSources:()=>g,EffectsFeatureModule:()=>w,EffectsModule:()=>ct,EffectsRootModule:()=>S,EffectsRunner:()=>h,ROOT_EFFECTS_INIT:()=>I,USER_PROVIDED_EFFECTS:()=>E,createEffect:()=>N,defaultEffectsErrorHandler:()=>M,getEffectsMetadata:()=>V,mergeEffects:()=>C,ofType:()=>Y,provideEffects:()=>ut,rootEffectsInit:()=>x});var l=d(309),c=d(6109),r=d(6510),i=d(8168);const H={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},p="__@ngrx/effects_create__";function N(t,o={}){const e=o.functional?t:t(),n={...H,...o};return Object.defineProperty(e,p,{value:n}),e}function V(t){return O(t).reduce((o,{propertyName:e,dispatch:n,useEffectsErrorHandler:s})=>(o[e]={dispatch:n,useEffectsErrorHandler:s},o),{})}function O(t){return function G(t){return Object.getOwnPropertyNames(t).filter(n=>!(!t[n]||!t[n].hasOwnProperty(p))&&t[n][p].hasOwnProperty("dispatch")).map(n=>({propertyName:n,...t[n][p]}))}(t)}function _(t){return Object.getPrototypeOf(t)}function v(t){return"function"==typeof t}function F(t){return t.filter(v)}function C(t,o,e){const n=_(t),f=n&&"Object"!==n.constructor.name?n.constructor.name:null,a=O(t).map(({propertyName:u,dispatch:U,useEffectsErrorHandler:j})=>{const B="function"==typeof t[u]?t[u]():t[u],$=j?e(B,o):B;return!1===U?$.pipe((0,c.ignoreElements)()):$.pipe((0,c.materialize)()).pipe((0,c.map)(at=>({effect:t[u],notification:at,propertyName:u,sourceName:f,sourceInstance:t})))});return(0,l.merge)(...a)}const z=10;function M(t,o,e=z){return t.pipe((0,c.catchError)(n=>(o&&o.handleError(n),e<=1?t:M(t,o,e-1))))}let W=(()=>{class t extends l.Observable{constructor(e){super(),e&&(this.source=e)}lift(e){const n=new t;return n.source=this,n.operator=e,n}static{this.\u0275fac=function(n){return new(n||t)(r.\u0275\u0275inject(i.ScannedActionsSubject))}}static{this.\u0275prov=r.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Y(...t){return(0,c.filter)(o=>t.some(e=>"string"==typeof e?e===o.type:e.type===o.type))}const D=new r.InjectionToken("@ngrx/effects Internal Root Guard"),E=new r.InjectionToken("@ngrx/effects User Provided Effects"),R=new r.InjectionToken("@ngrx/effects Internal Root Effects"),m=new r.InjectionToken("@ngrx/effects Internal Root Effects Instances"),A=new r.InjectionToken("@ngrx/effects Internal Feature Effects"),P=new r.InjectionToken("@ngrx/effects Internal Feature Effects Instance Groups"),b=new r.InjectionToken("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>M}),I="@ngrx/effects/init",x=(0,i.createAction)(I);function ot(t){return T(t,"ngrxOnInitEffects")}function T(t,o){return t&&o in t&&"function"==typeof t[o]}let g=(()=>{class t extends l.Subject{constructor(e,n){super(),this.errorHandler=e,this.effectsErrorHandler=n}addEffects(e){this.next(e)}toActions(){return this.pipe((0,c.groupBy)(e=>function K(t){return!!t.constructor&&"Object"!==t.constructor.name&&"Function"!==t.constructor.name}(e)?_(e):e),(0,c.mergeMap)(e=>e.pipe((0,c.groupBy)(st))),(0,c.mergeMap)(e=>{const n=e.pipe((0,c.exhaustMap)(f=>function ft(t,o){return e=>{const n=C(e,t,o);return function nt(t){return T(t,"ngrxOnRunEffects")}(e)?e.ngrxOnRunEffects(n):n}}(this.errorHandler,this.effectsErrorHandler)(f)),(0,c.map)(f=>(function J(t,o){if("N"===t.notification.kind){const e=t.notification.value;!function X(t){return"function"!=typeof t&&t&&t.type&&"string"==typeof t.type}(e)&&o.handleError(new Error(`Effect ${function Q({propertyName:t,sourceInstance:o,sourceName:e}){const n="function"==typeof o[t];return e?`"${e}.${String(t)}${n?"()":""}"`:`"${String(t)}()"`}(t)} dispatched an invalid action: ${function Z(t){try{return JSON.stringify(t)}catch{return t}}(e)}`))}}(f,this.errorHandler),f.notification)),(0,c.filter)(f=>"N"===f.kind&&null!=f.value),(0,c.dematerialize)()),s=e.pipe((0,c.take)(1),(0,c.filter)(ot),(0,c.map)(f=>f.ngrxOnInitEffects()));return(0,l.merge)(n,s)}))}static{this.\u0275fac=function(n){return new(n||t)(r.\u0275\u0275inject(r.ErrorHandler),r.\u0275\u0275inject(b))}}static{this.\u0275prov=r.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function st(t){return function tt(t){return T(t,"ngrxOnIdentifyEffects")}(t)?t.ngrxOnIdentifyEffects():""}let h=(()=>{class t{get isStarted(){return!!this.effectsSubscription}constructor(e,n){this.effectSources=e,this.store=n,this.effectsSubscription=null}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}static{this.\u0275fac=function(n){return new(n||t)(r.\u0275\u0275inject(g),r.\u0275\u0275inject(i.Store))}}static{this.\u0275prov=r.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),S=(()=>{class t{constructor(e,n,s,f,a,u,U){this.sources=e,n.start();for(const j of f)e.addEffects(j);s.dispatch({type:I})}addEffects(e){this.sources.addEffects(e)}static{this.\u0275fac=function(n){return new(n||t)(r.\u0275\u0275inject(g),r.\u0275\u0275inject(h),r.\u0275\u0275inject(i.Store),r.\u0275\u0275inject(m),r.\u0275\u0275inject(i.StoreRootModule,8),r.\u0275\u0275inject(i.StoreFeatureModule,8),r.\u0275\u0275inject(D,8))}}static{this.\u0275mod=r.\u0275\u0275defineNgModule({type:t})}static{this.\u0275inj=r.\u0275\u0275defineInjector({})}}return t})(),w=(()=>{class t{constructor(e,n,s,f){const a=n.flat();for(const u of a)e.addEffects(u)}static{this.\u0275fac=function(n){return new(n||t)(r.\u0275\u0275inject(S),r.\u0275\u0275inject(P),r.\u0275\u0275inject(i.StoreRootModule,8),r.\u0275\u0275inject(i.StoreFeatureModule,8))}}static{this.\u0275mod=r.\u0275\u0275defineNgModule({type:t})}static{this.\u0275inj=r.\u0275\u0275defineInjector({})}}return t})(),ct=(()=>
1{class t{static forFeature(...e){const n=e.flat(),s=F(n);return{ngModule:w,providers:[s,{provide:A,multi:!0,useValue:n},{provide:E,multi:!0,useValue:[]},{provide:P,multi:!0,useFactory:k,deps:[A,E]}]}}static forRoot(...e){const n=e.flat(),s=F(n);return{ngModule:S,providers:[s,{provide:R,useValue:[n]},{provide:D,useFactory:it},{provide:E,multi:!0,useValue:[]},{provide:m,useFactory:k,deps:[R,E]}]}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=r.\u0275\u0275defineNgModule({type:t})}static{this.\u0275inj=r.\u0275\u0275defineInjector({})}}return t})();function k(t,o){const e=[];for(const n of t)e.push(...n);for(const n of o)e.push(...n);return e.map(n=>function L(t){return t instanceof r.InjectionToken||v(t)}(n)?(0,r.inject)(n):n)}function it(){const t=(0,r.inject)(h,{optional:!0,skipSelf:!0}),o=(0,r.inject)(R,{self:!0});if((1!==o.length||0!==o[0].length)&&t)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}function ut(...t){const o=t.flat(),e=F(o);return(0,r.makeEnvironmentProviders)([e,(0,r.provideEnvironmentInitializer)(()=>{(0,r.inject)(i.ROOT_STORE_PROVIDER),(0,r.inject)(i.FEATURE_STATE_PROVIDER,{optional:!0});const n=(0,r.inject)(h),s=(0,r.inject)(g),f=!n.isStarted;f&&n.start();for(const a of o){const u=v(a)?(0,r.inject)(a):a;s.addEffects(u)}f&&(0,r.inject)(i.Store).dispatch(x())})])}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.