@mojawork/ui-docs 2.8.1 → 2.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/catalog/atoms/typewriter.md +4 -3
- package/catalog/guide.json +6 -6
- package/catalog/layout/spinner.md +11 -2
- package/catalog/manifest.json +4 -4
- package/catalog/version.json +2 -2
- package/package.json +1 -1
- package/storybook/1183.fafda52d.iframe.bundle.js +1 -0
- package/storybook/2033.986e1406.iframe.bundle.js +1 -0
- package/storybook/2089.d5a3e21e.iframe.bundle.js +1 -0
- package/storybook/2127.d7de271b.iframe.bundle.js +2 -0
- package/storybook/2228.7013a637.iframe.bundle.js +2 -0
- package/storybook/2639.7f497882.iframe.bundle.js +1 -0
- package/storybook/2971.036e7a14.iframe.bundle.js +1 -0
- package/storybook/3968.3c931220.iframe.bundle.js +1 -0
- package/storybook/{4425.368129b3.iframe.bundle.js → 4425.7f753a38.iframe.bundle.js} +2 -2
- package/storybook/4476.1b913b82.iframe.bundle.js +1 -0
- package/storybook/{4555.e26d162c.iframe.bundle.js → 4555.574c843f.iframe.bundle.js} +1 -1
- package/storybook/4755.0561bac5.iframe.bundle.js +23 -0
- package/storybook/{4755.e4656207.iframe.bundle.js.map → 4755.0561bac5.iframe.bundle.js.map} +1 -1
- package/storybook/4935.f88465d9.iframe.bundle.js +1 -0
- package/storybook/5568.be85a9aa.iframe.bundle.js +1 -0
- package/storybook/6824.4b8f7b0a.iframe.bundle.js +1 -0
- package/storybook/8051.dbaf9937.iframe.bundle.js +1 -0
- package/storybook/871.5a781df6.iframe.bundle.js +1 -0
- package/storybook/8819.8e56201f.iframe.bundle.js +1 -0
- package/storybook/9850.5a17be74.iframe.bundle.js +1 -0
- package/storybook/9946.6fea16dc.iframe.bundle.js +1 -0
- package/storybook/_external-mwork-banner-docs-mdx.f33bbf56.iframe.bundle.js +1 -0
- package/storybook/_external-mwork-basic-interpreter-docs-mdx.81168b4c.iframe.bundle.js +1 -0
- package/storybook/_external-mwork-music-player-docs-mdx.46f4887e.iframe.bundle.js +1 -0
- package/storybook/assets/ui/sounds/type.mp3 +0 -0
- package/storybook/atoms-_electrons-form-error-message-docs-mdx.9382b0cb.iframe.bundle.js +1 -0
- package/storybook/atoms-_electrons-loader-docs-mdx.e8bb9642.iframe.bundle.js +1 -0
- package/storybook/atoms-background-docs-mdx.0e861f2c.iframe.bundle.js +1 -0
- package/storybook/atoms-barcode-docs-mdx.78b610dc.iframe.bundle.js +1 -0
- package/storybook/atoms-buzzer-docs-mdx.f9daf952.iframe.bundle.js +1 -0
- package/storybook/atoms-card-docs-mdx.f8b63920.iframe.bundle.js +1 -0
- package/storybook/atoms-chart-docs-mdx.29f10b89.iframe.bundle.js +1 -0
- package/storybook/atoms-clock-docs-mdx.6864626c.iframe.bundle.js +1 -0
- package/storybook/atoms-copy-value-docs-mdx.fbe168e2.iframe.bundle.js +1 -0
- package/storybook/atoms-image-grid-docs-mdx.9df158a9.iframe.bundle.js +1 -0
- package/storybook/atoms-image-slider-docs-mdx.4ae341f5.iframe.bundle.js +1 -0
- package/storybook/atoms-inline-spinner-docs-mdx.8b942147.iframe.bundle.js +1 -0
- package/storybook/atoms-lang-selector-docs-mdx.0487b819.iframe.bundle.js +2 -0
- package/storybook/atoms-mosaic-docs-mdx.738f012c.iframe.bundle.js +1 -0
- package/storybook/atoms-placeholder-docs-mdx.7d376291.iframe.bundle.js +1 -0
- package/storybook/atoms-qr-code-docs-mdx.c47f67c9.iframe.bundle.js +1 -0
- package/storybook/atoms-rating-docs-mdx.d7df9a29.iframe.bundle.js +1 -0
- package/storybook/atoms-reader-doc-docs-mdx.f5375a37.iframe.bundle.js +1 -0
- package/storybook/atoms-text-animate-docs-mdx.152fc1bd.iframe.bundle.js +1 -0
- package/storybook/atoms-thumb-docs-mdx.525fc046.iframe.bundle.js +1 -0
- package/storybook/atoms-timer-docs-mdx.686f0392.iframe.bundle.js +1 -0
- package/storybook/atoms-typewriter-docs-mdx.a6c3f6b0.iframe.bundle.js +1 -0
- package/storybook/atoms-typewriter-typewriter-component-stories.3a4f5356.iframe.bundle.js +1 -0
- package/storybook/cdk-components-drag-and-drop-splitter-docs-mdx.0aa5b787.iframe.bundle.js +1 -0
- package/storybook/cdk-components-table-docs-mdx.74bd247c.iframe.bundle.js +1 -0
- package/storybook/examples-docs-mdx.1a9d8db0.iframe.bundle.js +1 -0
- package/storybook/examples-image-grid-slider-docs-mdx.e56160ef.iframe.bundle.js +1 -0
- package/storybook/examples-layout-docs-mdx.d7d6f90b.iframe.bundle.js +1 -0
- package/storybook/examples-table-edit-focus-docs-mdx.55960e55.iframe.bundle.js +1 -0
- package/storybook/examples-transloco-docs-mdx.46447d84.iframe.bundle.js +2 -0
- package/storybook/forms-autocomplete-docs-mdx.698eef62.iframe.bundle.js +2 -0
- package/storybook/forms-autofocus-docs-mdx.ce239261.iframe.bundle.js +1 -0
- package/storybook/forms-checkbox-checkbox-component-stories.df3196e5.iframe.bundle.js +1 -0
- package/storybook/forms-checkbox-docs-mdx.890972f3.iframe.bundle.js +1 -0
- package/storybook/forms-chip-docs-mdx.89a48075.iframe.bundle.js +1 -0
- package/storybook/forms-input-docs-mdx.56627297.iframe.bundle.js +1 -0
- package/storybook/forms-input-input-component-stories.b68ea104.iframe.bundle.js +1 -0
- package/storybook/forms-slider-docs-mdx.68b9e21c.iframe.bundle.js +1 -0
- package/storybook/forms-switch-docs-mdx.832228cb.iframe.bundle.js +1 -0
- package/storybook/forms-validators-docs-mdx.e11fe615.iframe.bundle.js +1 -0
- package/storybook/home-guide-mdx.2f32ffc1.iframe.bundle.js +1 -0
- package/storybook/{home-overview-mdx.0e32f57f.iframe.bundle.js → home-overview-mdx.9b160561.iframe.bundle.js} +1 -1
- package/storybook/home-tips-mdx.24dc3e35.iframe.bundle.js +1 -0
- package/storybook/iframe.html +2 -2
- package/storybook/layout-main-docs-mdx.445bce2a.iframe.bundle.js +1 -0
- package/storybook/layout-media-screen-docs-mdx.c382b73b.iframe.bundle.js +2 -0
- package/storybook/layout-nav-docs-mdx.92eac076.iframe.bundle.js +1 -0
- package/storybook/layout-overlay-docs-mdx.a680859b.iframe.bundle.js +1 -0
- package/storybook/layout-overlay-header-docs-mdx.6eb6e326.iframe.bundle.js +1 -0
- package/storybook/layout-spinner-docs-mdx.d4e5afec.iframe.bundle.js +1 -0
- package/storybook/layout-spinner-spinner-component-stories.6b27a0bf.iframe.bundle.js +1 -0
- package/storybook/layout-splitter-docs-mdx.6b0e4fd2.iframe.bundle.js +1 -0
- package/storybook/layout-tabs-docs-mdx.aad59db3.iframe.bundle.js +1 -0
- package/storybook/layout-top-scroll-bottom-docs-mdx.42c18a0d.iframe.bundle.js +1 -0
- package/storybook/molecules-image-editor-docs-mdx.dba18ee6.iframe.bundle.js +1 -0
- package/storybook/project.json +1 -1
- package/storybook/{runtime~main.786a8152.iframe.bundle.js → runtime~main.805054f3.iframe.bundle.js} +1 -1
- package/storybook/styling-colors-docs-mdx.3f513a8d.iframe.bundle.js +1 -0
- package/storybook/styling-css-variables-docs-mdx.5a090407.iframe.bundle.js +1 -0
- package/storybook/styling-forms-docs-mdx.649ae948.iframe.bundle.js +1 -0
- package/storybook/styling-icons-docs-mdx.e3ed5ebd.iframe.bundle.js +1 -0
- package/storybook/styling-layers-docs-mdx.d810a2c8.iframe.bundle.js +1 -0
- package/storybook/styling-tags-docs-mdx.ce4814c9.iframe.bundle.js +1 -0
- package/storybook/styling-ui-tags-docs-mdx.d94258ab.iframe.bundle.js +1 -0
- package/storybook/version.json +2 -2
- package/version.json +2 -2
- package/storybook/1183.da25800b.iframe.bundle.js +0 -1
- package/storybook/2033.c705a7ce.iframe.bundle.js +0 -1
- package/storybook/2089.32694489.iframe.bundle.js +0 -1
- package/storybook/2127.29f153d2.iframe.bundle.js +0 -2
- package/storybook/2228.77650ef1.iframe.bundle.js +0 -2
- package/storybook/2639.29baa8af.iframe.bundle.js +0 -1
- package/storybook/2971.edb202b4.iframe.bundle.js +0 -1
- package/storybook/3968.69b812e4.iframe.bundle.js +0 -1
- package/storybook/4476.f8e4115f.iframe.bundle.js +0 -1
- package/storybook/4755.e4656207.iframe.bundle.js +0 -23
- package/storybook/4935.8959522b.iframe.bundle.js +0 -1
- package/storybook/5568.c6172f92.iframe.bundle.js +0 -1
- package/storybook/6824.f5eb8bb7.iframe.bundle.js +0 -1
- package/storybook/8051.719eb790.iframe.bundle.js +0 -1
- package/storybook/871.428deceb.iframe.bundle.js +0 -1
- package/storybook/8819.220ca21d.iframe.bundle.js +0 -1
- package/storybook/9850.28367747.iframe.bundle.js +0 -1
- package/storybook/9946.36014b4e.iframe.bundle.js +0 -1
- package/storybook/_external-mwork-banner-docs-mdx.0d5549a0.iframe.bundle.js +0 -1
- package/storybook/_external-mwork-basic-interpreter-docs-mdx.03c6205c.iframe.bundle.js +0 -1
- package/storybook/_external-mwork-music-player-docs-mdx.3d0f7156.iframe.bundle.js +0 -1
- package/storybook/atoms-_electrons-form-error-message-docs-mdx.5b9e78fe.iframe.bundle.js +0 -1
- package/storybook/atoms-_electrons-loader-docs-mdx.1176957f.iframe.bundle.js +0 -1
- package/storybook/atoms-background-docs-mdx.4f102c17.iframe.bundle.js +0 -1
- package/storybook/atoms-barcode-docs-mdx.b74c501b.iframe.bundle.js +0 -1
- package/storybook/atoms-buzzer-docs-mdx.23eb1913.iframe.bundle.js +0 -1
- package/storybook/atoms-card-docs-mdx.7d276114.iframe.bundle.js +0 -1
- package/storybook/atoms-chart-docs-mdx.204609d4.iframe.bundle.js +0 -1
- package/storybook/atoms-clock-docs-mdx.501e6780.iframe.bundle.js +0 -1
- package/storybook/atoms-copy-value-docs-mdx.f404dcd2.iframe.bundle.js +0 -1
- package/storybook/atoms-image-grid-docs-mdx.8161de39.iframe.bundle.js +0 -1
- package/storybook/atoms-image-slider-docs-mdx.c616bb37.iframe.bundle.js +0 -1
- package/storybook/atoms-inline-spinner-docs-mdx.a98163b8.iframe.bundle.js +0 -1
- package/storybook/atoms-lang-selector-docs-mdx.a327a27f.iframe.bundle.js +0 -2
- package/storybook/atoms-mosaic-docs-mdx.1aebfbdf.iframe.bundle.js +0 -1
- package/storybook/atoms-placeholder-docs-mdx.cd2f3976.iframe.bundle.js +0 -1
- package/storybook/atoms-qr-code-docs-mdx.4202568d.iframe.bundle.js +0 -1
- package/storybook/atoms-rating-docs-mdx.32fa4104.iframe.bundle.js +0 -1
- package/storybook/atoms-reader-doc-docs-mdx.1860338f.iframe.bundle.js +0 -1
- package/storybook/atoms-text-animate-docs-mdx.05e1baf4.iframe.bundle.js +0 -1
- package/storybook/atoms-thumb-docs-mdx.7286b617.iframe.bundle.js +0 -1
- package/storybook/atoms-timer-docs-mdx.6f724cc8.iframe.bundle.js +0 -1
- package/storybook/atoms-typewriter-docs-mdx.993bc264.iframe.bundle.js +0 -1
- package/storybook/atoms-typewriter-typewriter-component-stories.80f07c89.iframe.bundle.js +0 -1
- package/storybook/cdk-components-drag-and-drop-splitter-docs-mdx.f12088fd.iframe.bundle.js +0 -1
- package/storybook/cdk-components-table-docs-mdx.cc2c11e7.iframe.bundle.js +0 -1
- package/storybook/examples-docs-mdx.3111f2c6.iframe.bundle.js +0 -1
- package/storybook/examples-image-grid-slider-docs-mdx.d3578699.iframe.bundle.js +0 -1
- package/storybook/examples-layout-docs-mdx.bbacdfd2.iframe.bundle.js +0 -1
- package/storybook/examples-table-edit-focus-docs-mdx.3c0d1611.iframe.bundle.js +0 -1
- package/storybook/examples-transloco-docs-mdx.97df7022.iframe.bundle.js +0 -2
- package/storybook/forms-autocomplete-docs-mdx.09beba1b.iframe.bundle.js +0 -2
- package/storybook/forms-autofocus-docs-mdx.39611362.iframe.bundle.js +0 -1
- package/storybook/forms-checkbox-checkbox-component-stories.d45b4f0d.iframe.bundle.js +0 -1
- package/storybook/forms-checkbox-docs-mdx.74036eb7.iframe.bundle.js +0 -1
- package/storybook/forms-chip-docs-mdx.01e1b518.iframe.bundle.js +0 -1
- package/storybook/forms-input-docs-mdx.72d0e99a.iframe.bundle.js +0 -1
- package/storybook/forms-input-input-component-stories.609db3f0.iframe.bundle.js +0 -1
- package/storybook/forms-slider-docs-mdx.120cefc6.iframe.bundle.js +0 -1
- package/storybook/forms-switch-docs-mdx.9d58a341.iframe.bundle.js +0 -1
- package/storybook/forms-validators-docs-mdx.ebb47a43.iframe.bundle.js +0 -1
- package/storybook/home-guide-mdx.1a176b15.iframe.bundle.js +0 -1
- package/storybook/home-tips-mdx.26df81d8.iframe.bundle.js +0 -1
- package/storybook/layout-main-docs-mdx.4c9208c5.iframe.bundle.js +0 -1
- package/storybook/layout-media-screen-docs-mdx.b0ca9a06.iframe.bundle.js +0 -2
- package/storybook/layout-nav-docs-mdx.cc919f94.iframe.bundle.js +0 -1
- package/storybook/layout-overlay-docs-mdx.823351e0.iframe.bundle.js +0 -1
- package/storybook/layout-overlay-header-docs-mdx.394033ca.iframe.bundle.js +0 -1
- package/storybook/layout-spinner-docs-mdx.03741741.iframe.bundle.js +0 -1
- package/storybook/layout-spinner-spinner-component-stories.69ae1389.iframe.bundle.js +0 -1
- package/storybook/layout-splitter-docs-mdx.bf161b39.iframe.bundle.js +0 -1
- package/storybook/layout-tabs-docs-mdx.89d83606.iframe.bundle.js +0 -1
- package/storybook/layout-top-scroll-bottom-docs-mdx.ddc061f8.iframe.bundle.js +0 -1
- package/storybook/molecules-image-editor-docs-mdx.805dcd5a.iframe.bundle.js +0 -1
- package/storybook/styling-colors-docs-mdx.95c504e4.iframe.bundle.js +0 -1
- package/storybook/styling-css-variables-docs-mdx.48afb4f3.iframe.bundle.js +0 -1
- package/storybook/styling-forms-docs-mdx.943e72f2.iframe.bundle.js +0 -1
- package/storybook/styling-icons-docs-mdx.e1001dfd.iframe.bundle.js +0 -1
- package/storybook/styling-layers-docs-mdx.a563260e.iframe.bundle.js +0 -1
- package/storybook/styling-tags-docs-mdx.23ab2316.iframe.bundle.js +0 -1
- package/storybook/styling-ui-tags-docs-mdx.8f75631d.iframe.bundle.js +0 -1
- /package/storybook/{2127.29f153d2.iframe.bundle.js.LICENSE.txt → 2127.d7de271b.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook/{2228.77650ef1.iframe.bundle.js.LICENSE.txt → 2228.7013a637.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook/{4425.368129b3.iframe.bundle.js.LICENSE.txt → 4425.7f753a38.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook/{4755.e4656207.iframe.bundle.js.LICENSE.txt → 4755.0561bac5.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook/{atoms-lang-selector-docs-mdx.a327a27f.iframe.bundle.js.LICENSE.txt → atoms-lang-selector-docs-mdx.0487b819.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook/{examples-transloco-docs-mdx.97df7022.iframe.bundle.js.LICENSE.txt → examples-transloco-docs-mdx.46447d84.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook/{forms-autocomplete-docs-mdx.09beba1b.iframe.bundle.js.LICENSE.txt → forms-autocomplete-docs-mdx.698eef62.iframe.bundle.js.LICENSE.txt} +0 -0
- /package/storybook/{layout-media-screen-docs-mdx.b0ca9a06.iframe.bundle.js.LICENSE.txt → layout-media-screen-docs-mdx.c382b73b.iframe.bundle.js.LICENSE.txt} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! For license information please see 4425.
|
|
2
|
-
"use strict";(self.webpackChunkmoja_work=self.webpackChunkmoja_work||[]).push([[4425],{"./node_modules/@angular/router/fesm2022/_router-chunk.mjs"(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{nX:()=>ActivatedRoute,j5:()=>BeforeActivateRoutes,kv:()=>BeforeRoutesRecognized,Pu:()=>CREATE_VIEW_TRANSITION,Zp:()=>ChildrenOutletContexts,nU:()=>DefaultUrlSerializer,wU:()=>IMPERATIVE_NAVIGATION,c1:()=>INPUT_BINDER,XR:()=>NAVIGATION_ERROR_HANDLER,Cq:()=>NavigationCancel,X1:()=>NavigationCancellationCode,wF:()=>NavigationEnd,L6:()=>NavigationError,lW:()=>NavigationSkipped,mo:()=>NavigationSkippedCode,Z:()=>NavigationStart,J2:()=>NavigationTransitions,J_:()=>ROUTER_CONFIGURATION,bw:()=>ROUTES,tD:()=>RoutedComponentInputBinder,Ix:()=>Router,D$:()=>RouterConfigLoader,n3:()=>RouterOutlet,OY:()=>Scroll,fN:()=>StateManager,Sd:()=>UrlSerializer,el:()=>UrlTree,bK:()=>VIEW_TRANSITION_OPTIONS,gk:()=>afterNextNavigation,Lg:()=>createViewTransition,tE:()=>exactMatchOptions,$m:()=>isActive,bX:()=>isRedirectingEvent,wO:()=>isUrlTree,Us:()=>stringifyEvent,E:()=>subsetMatchOptions,we:()=>ɵEmptyOutletComponent});var asyncToGenerator=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js"),_effect_chunk2=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),_location_chunk=__webpack_require__("./node_modules/@angular/common/fesm2022/_location-chunk.mjs"),_debug_node_chunk=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),_resource_chunk=__webpack_require__("./node_modules/@angular/core/fesm2022/_resource-chunk.mjs"),core=__webpack_require__("./node_modules/@angular/core/fesm2022/core.mjs"),isObservable=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/util/isObservable.js"),from=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/observable/from.js"),of=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/observable/of.js"),BehaviorSubject=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/BehaviorSubject.js"),combineLatest=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/observable/combineLatest.js"),EmptyError=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/util/EmptyError.js"),Observable=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/Observable.js"),concat=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/observable/concat.js"),innerFrom=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/observable/innerFrom.js");function defer(observableFactory){return new Observable.c(function(subscriber){(0,innerFrom.Tg)(observableFactory()).subscribe(subscriber)})}var pipe=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/util/pipe.js"),empty=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/observable/empty.js"),throwError=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/observable/throwError.js"),Subject=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/Subject.js"),Subscription=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/Subscription.js"),first=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/first.js"),map=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/map.js"),switchMap=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/switchMap.js"),take=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/take.js"),startWith=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/startWith.js"),filter=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/filter.js"),takeUntil=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/takeUntil.js"),mergeMap=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/mergeMap.js"),concatMap=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/concatMap.js"),tap=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/tap.js"),tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.mjs"),lift=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/util/lift.js"),OperatorSubscriber=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js");function takeLast(count){return count<=0?function(){return empty.w}:(0,lift.N)(function(source,subscriber){var buffer=[];source.subscribe((0,OperatorSubscriber._)(subscriber,function(value){buffer.push(value),count<buffer.length&&buffer.shift()},function(){var e_1,_a;try{for(var buffer_1=(0,tslib_es6.Ju)(buffer),buffer_1_1=buffer_1.next();!buffer_1_1.done;buffer_1_1=buffer_1.next()){var value=buffer_1_1.value;subscriber.next(value)}}catch(e_1_1){e_1={error:e_1_1}}finally{try{buffer_1_1&&!buffer_1_1.done&&(_a=buffer_1.return)&&_a.call(buffer_1)}finally{if(e_1)throw e_1.error}}subscriber.complete()},void 0,function(){buffer=null}))})}var catchError=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/catchError.js"),finalize=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/finalize.js"),_platform_location_chunk=__webpack_require__("./node_modules/@angular/common/fesm2022/_platform_location-chunk.mjs"),_dom_renderer_chunk=__webpack_require__("./node_modules/@angular/platform-browser/fesm2022/_dom_renderer-chunk.mjs");class Meta{_doc;_dom;constructor(_doc){this._doc=_doc,this._dom=(0,_platform_location_chunk.rb)()}addTag(tag,forceCreation=!1){return tag?this._getOrCreateElement(tag,forceCreation):null}addTags(tags,forceCreation=!1){return tags?tags.reduce((result,tag)=>(tag&&result.push(this._getOrCreateElement(tag,forceCreation)),result),[]):[]}getTag(attrSelector){if(!attrSelector)return null;const meta=this._doc.querySelector(`meta[${attrSelector}]`);return"meta"===meta?.nodeName.toLowerCase()?meta:null}getTags(attrSelector){if(!attrSelector)return[];const list=this._doc.querySelectorAll(`meta[${attrSelector}]`);return list?[].slice.call(list).filter(elem=>"meta"===elem.nodeName.toLowerCase()):[]}updateTag(tag,selector){if(!tag)return null;selector=selector||this._parseSelector(tag);const meta=this.getTag(selector);return meta?this._setMetaElementAttributes(tag,meta):this._getOrCreateElement(tag,!0)}removeTag(attrSelector){this.removeTagElement(this.getTag(attrSelector))}removeTagElement(meta){meta&&this._dom.remove(meta)}_getOrCreateElement(meta,forceCreation=!1){if(!forceCreation){const selector=this._parseSelector(meta),elem=this.getTags(selector).filter(elem=>this._containsAttributes(meta,elem))[0];if(void 0!==elem)return elem}const element=this._dom.createElement("meta");this._setMetaElementAttributes(meta,element);return this._doc.getElementsByTagName("head")[0].appendChild(element),element}_setMetaElementAttributes(tag,el){return Object.keys(tag).forEach(prop=>el.setAttribute(this._getMetaKeyMap(prop),tag[prop])),el}_parseSelector(tag){const attr=tag.name?"name":"property";return`${attr}=${this._escapeSelectorValue(String(tag[attr]))}`}_escapeSelectorValue(value){return`"${value.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}_containsAttributes(tag,elem){return Object.keys(tag).every(key=>elem.getAttribute(this._getMetaKeyMap(key))===tag[key])}_getMetaKeyMap(prop){return META_KEYS_MAP[prop]||prop}static ɵfac=function Meta_Factory(__ngFactoryType__){return new(__ngFactoryType__||Meta)(_effect_chunk2.KVO(_effect_chunk2.qQL))};static ɵprov=_effect_chunk2.jDH({token:Meta,factory:Meta.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(Meta,[{type:_debug_node_chunk._qm,args:[{providedIn:"root"}]}],()=>[{type:void 0,decorators:[{type:_debug_node_chunk.y_5,args:[_effect_chunk2.qQL]}]}],null);const META_KEYS_MAP={httpEquiv:"http-equiv"};class Title{_doc;constructor(_doc){this._doc=_doc}getTitle(){return this._doc.title}setTitle(newTitle){this._doc.title=newTitle||""}static ɵfac=function Title_Factory(__ngFactoryType__){return new(__ngFactoryType__||Title)(_effect_chunk2.KVO(_effect_chunk2.qQL))};static ɵprov=_effect_chunk2.jDH({token:Title,factory:Title.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(Title,[{type:_debug_node_chunk._qm,args:[{providedIn:"root"}]}],()=>[{type:void 0,decorators:[{type:_debug_node_chunk.y_5,args:[_effect_chunk2.qQL]}]}],null);const EVENT_NAMES={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},HAMMER_GESTURE_CONFIG=new _effect_chunk2.nKC("undefined"==typeof ngDevMode||ngDevMode?"HammerGestureConfig":""),HAMMER_LOADER=new _effect_chunk2.nKC("undefined"==typeof ngDevMode||ngDevMode?"HammerLoader":"");class HammerGestureConfig{events=[];overrides={};options;buildHammer(element){const mc=new Hammer(element,this.options);mc.get("pinch").set({enable:!0}),mc.get("rotate").set({enable:!0});for(const eventName in this.overrides)mc.get(eventName).set(this.overrides[eventName]);return mc}static ɵfac=function HammerGestureConfig_Factory(__ngFactoryType__){return new(__ngFactoryType__||HammerGestureConfig)};static ɵprov=_effect_chunk2.jDH({token:HammerGestureConfig,factory:HammerGestureConfig.ɵfac})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(HammerGestureConfig,[{type:_debug_node_chunk._qm}],null,null);class HammerGesturesPlugin extends _dom_renderer_chunk.Hl{_config;_injector;loader;_loaderPromise=null;constructor(doc,_config,_injector,loader){super(doc),this._config=_config,this._injector=_injector,this.loader=loader}supports(eventName){if(!EVENT_NAMES.hasOwnProperty(eventName.toLowerCase())&&!this.isCustomEvent(eventName))return!1;if(!window.Hammer&&!this.loader){if("undefined"==typeof ngDevMode||ngDevMode){this._injector.get(_debug_node_chunk.C7A).warn(`The "${eventName}" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.`)}return!1}return!0}addEventListener(element,eventName,handler){const zone=this.manager.getZone();if(eventName=eventName.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||zone.runOutsideAngular(()=>this.loader());let cancelRegistration=!1,deregister=()=>{cancelRegistration=!0};return zone.runOutsideAngular(()=>this._loaderPromise.then(()=>{if(window.Hammer)cancelRegistration||(deregister=this.addEventListener(element,eventName,handler));else{if("undefined"==typeof ngDevMode||ngDevMode){this._injector.get(_debug_node_chunk.C7A).warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present.")}deregister=()=>{}}}).catch(()=>{if("undefined"==typeof ngDevMode||ngDevMode){this._injector.get(_debug_node_chunk.C7A).warn(`The "${eventName}" event cannot be bound because the custom Hammer.JS loader failed.`)}deregister=()=>{}})),()=>{deregister()}}return zone.runOutsideAngular(()=>{const mc=this._config.buildHammer(element),callback=function(eventObj){zone.runGuarded(function(){handler(eventObj)})};return mc.on(eventName,callback),()=>{mc.off(eventName,callback),"function"==typeof mc.destroy&&mc.destroy()}})}isCustomEvent(eventName){return this._config.events.indexOf(eventName)>-1}static ɵfac=function HammerGesturesPlugin_Factory(__ngFactoryType__){return new(__ngFactoryType__||HammerGesturesPlugin)(_effect_chunk2.KVO(_effect_chunk2.qQL),_effect_chunk2.KVO(HAMMER_GESTURE_CONFIG),_effect_chunk2.KVO(_effect_chunk2.zZn),_effect_chunk2.KVO(HAMMER_LOADER,8))};static ɵprov=_effect_chunk2.jDH({token:HammerGesturesPlugin,factory:HammerGesturesPlugin.ɵfac})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(HammerGesturesPlugin,[{type:_debug_node_chunk._qm}],()=>[{type:void 0,decorators:[{type:_debug_node_chunk.y_5,args:[_effect_chunk2.qQL]}]},{type:HammerGestureConfig,decorators:[{type:_debug_node_chunk.y_5,args:[HAMMER_GESTURE_CONFIG]}]},{type:_effect_chunk2.zZn},{type:void 0,decorators:[{type:_debug_node_chunk.Xx1},{type:_debug_node_chunk.y_5,args:[HAMMER_LOADER]}]}],null);class HammerModule{static ɵfac=function HammerModule_Factory(__ngFactoryType__){return new(__ngFactoryType__||HammerModule)};static ɵmod=_debug_node_chunk.$C({type:HammerModule});static ɵinj=_effect_chunk2.G2t({providers:[{provide:_dom_renderer_chunk.Q5,useClass:HammerGesturesPlugin,multi:!0,deps:[_effect_chunk2.qQL,HAMMER_GESTURE_CONFIG,_effect_chunk2.zZn,[new _debug_node_chunk.Xx1,HAMMER_LOADER]]},{provide:HAMMER_GESTURE_CONFIG,useClass:HammerGestureConfig}]})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(HammerModule,[{type:_debug_node_chunk.UQu,args:[{providers:[{provide:_dom_renderer_chunk.Q5,useClass:HammerGesturesPlugin,multi:!0,deps:[_effect_chunk2.qQL,HAMMER_GESTURE_CONFIG,_effect_chunk2.zZn,[new _debug_node_chunk.Xx1,HAMMER_LOADER]]},{provide:HAMMER_GESTURE_CONFIG,useClass:HammerGestureConfig}]}]}],null,null);class DomSanitizer{static ɵfac=function DomSanitizer_Factory(__ngFactoryType__){return new(__ngFactoryType__||DomSanitizer)};static ɵprov=_effect_chunk2.jDH({token:DomSanitizer,factory:function DomSanitizer_Factory(__ngFactoryType__){let __ngConditionalFactory__=null;return __ngConditionalFactory__=__ngFactoryType__?new(__ngFactoryType__||DomSanitizer):_effect_chunk2.KVO(DomSanitizerImpl),__ngConditionalFactory__},providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(DomSanitizer,[{type:_debug_node_chunk._qm,args:[{providedIn:"root",useExisting:(0,_effect_chunk2.Rfq)(()=>DomSanitizerImpl)}]}],null,null);class DomSanitizerImpl extends DomSanitizer{_doc;constructor(_doc){super(),this._doc=_doc}sanitize(ctx,value){if(null==value)return null;switch(ctx){case _debug_node_chunk.WPN.NONE:return value;case _debug_node_chunk.WPN.HTML:return(0,_debug_node_chunk.iWE)(value,"HTML")?(0,_debug_node_chunk.aCM)(value):(0,_debug_node_chunk.wr$)(this._doc,String(value)).toString();case _debug_node_chunk.WPN.STYLE:return(0,_debug_node_chunk.iWE)(value,"Style")?(0,_debug_node_chunk.aCM)(value):value;case _debug_node_chunk.WPN.SCRIPT:if((0,_debug_node_chunk.iWE)(value,"Script"))return(0,_debug_node_chunk.aCM)(value);throw new _effect_chunk2.buA(5200,("undefined"==typeof ngDevMode||ngDevMode)&&"unsafe value used in a script context");case _debug_node_chunk.WPN.URL:return(0,_debug_node_chunk.iWE)(value,"URL")?(0,_debug_node_chunk.aCM)(value):(0,_debug_node_chunk.gil)(String(value));case _debug_node_chunk.WPN.RESOURCE_URL:if((0,_debug_node_chunk.iWE)(value,"ResourceURL"))return(0,_debug_node_chunk.aCM)(value);throw new _effect_chunk2.buA(5201,("undefined"==typeof ngDevMode||ngDevMode)&&`unsafe value used in a resource URL context (see ${_effect_chunk2.ok8})`);default:throw new _effect_chunk2.buA(5202,("undefined"==typeof ngDevMode||ngDevMode)&&`Unexpected SecurityContext ${ctx} (see ${_effect_chunk2.ok8})`)}}bypassSecurityTrustHtml(value){return(0,_debug_node_chunk.PYC)(value)}bypassSecurityTrustStyle(value){return(0,_debug_node_chunk.rAh)(value)}bypassSecurityTrustScript(value){return(0,_debug_node_chunk.p2i)(value)}bypassSecurityTrustUrl(value){return(0,_debug_node_chunk.B1s)(value)}bypassSecurityTrustResourceUrl(value){return(0,_debug_node_chunk.RPW)(value)}static ɵfac=function DomSanitizerImpl_Factory(__ngFactoryType__){return new(__ngFactoryType__||DomSanitizerImpl)(_effect_chunk2.KVO(_effect_chunk2.qQL))};static ɵprov=_effect_chunk2.jDH({token:DomSanitizerImpl,factory:DomSanitizerImpl.ɵfac,providedIn:"root"})}var HydrationFeatureKind;("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(DomSanitizerImpl,[{type:_debug_node_chunk._qm,args:[{providedIn:"root"}]}],()=>[{type:void 0,decorators:[{type:_debug_node_chunk.y_5,args:[_effect_chunk2.qQL]}]}],null),function(HydrationFeatureKind){HydrationFeatureKind[HydrationFeatureKind.NoHttpTransferCache=0]="NoHttpTransferCache",HydrationFeatureKind[HydrationFeatureKind.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",HydrationFeatureKind[HydrationFeatureKind.I18nSupport=2]="I18nSupport",HydrationFeatureKind[HydrationFeatureKind.EventReplay=3]="EventReplay",HydrationFeatureKind[HydrationFeatureKind.IncrementalHydration=4]="IncrementalHydration"}(HydrationFeatureKind||(HydrationFeatureKind={}));const PRIMARY_OUTLET="primary",RouteTitleKey=Symbol("RouteTitle");class ParamsAsMap{params;constructor(params){this.params=params||{}}has(name){return Object.prototype.hasOwnProperty.call(this.params,name)}get(name){if(this.has(name)){const v=this.params[name];return Array.isArray(v)?v[0]:v}return null}getAll(name){if(this.has(name)){const v=this.params[name];return Array.isArray(v)?v:[v]}return[]}get keys(){return Object.keys(this.params)}}function convertToParamMap(params){return new ParamsAsMap(params)}function matchParts(routeParts,urlSegments,posParams){for(let i=0;i<routeParts.length;i++){const part=routeParts[i],segment=urlSegments[i];if(":"===part[0])posParams[part.substring(1)]=segment;else if(part!==segment.path)return!1}return!0}function defaultUrlMatcher(segments,segmentGroup,route){const parts=route.path.split("/"),wildcardIndex=parts.indexOf("**");if(-1===wildcardIndex){if(parts.length>segments.length)return null;if("full"===route.pathMatch&&(segmentGroup.hasChildren()||parts.length<segments.length))return null;const posParams={},consumed=segments.slice(0,parts.length);return matchParts(parts,consumed,posParams)?{consumed,posParams}:null}if(wildcardIndex!==parts.lastIndexOf("**"))return null;const pre=parts.slice(0,wildcardIndex),post=parts.slice(wildcardIndex+1);if(pre.length+post.length>segments.length)return null;if("full"===route.pathMatch&&segmentGroup.hasChildren()&&"**"!==route.path)return null;const posParams={};return matchParts(pre,segments.slice(0,pre.length),posParams)&&matchParts(post,segments.slice(segments.length-post.length),posParams)?{consumed:segments,posParams}:null}function firstValueFrom(source){return new Promise((resolve,reject)=>{source.pipe((0,first.$)()).subscribe({next:value=>resolve(value),error:err=>reject(err)})})}function shallowEqual(a,b){const k1=a?getDataKeys(a):void 0,k2=b?getDataKeys(b):void 0;if(!k1||!k2||k1.length!=k2.length)return!1;let key;for(let i=0;i<k1.length;i++)if(key=k1[i],!equalArraysOrString(a[key],b[key]))return!1;return!0}function getDataKeys(obj){return[...Object.keys(obj),...Object.getOwnPropertySymbols(obj)]}function equalArraysOrString(a,b){if(Array.isArray(a)&&Array.isArray(b)){if(a.length!==b.length)return!1;const aSorted=[...a].sort(),bSorted=[...b].sort();return aSorted.every((val,index)=>bSorted[index]===val)}return a===b}function wrapIntoObservable(value){return(0,isObservable.A)(value)?value:(0,_debug_node_chunk.yLl)(value)?(0,from.H)(Promise.resolve(value)):(0,of.of)(value)}function wrapIntoPromise(value){return(0,isObservable.A)(value)?firstValueFrom(value):Promise.resolve(value)}const pathCompareMap={exact:function equalSegmentGroups(container,containee,matrixParams){if(!equalPath(container.segments,containee.segments))return!1;if(!matrixParamsMatch(container.segments,containee.segments,matrixParams))return!1;if(container.numberOfChildren!==containee.numberOfChildren)return!1;for(const c in containee.children){if(!container.children[c])return!1;if(!equalSegmentGroups(container.children[c],containee.children[c],matrixParams))return!1}return!0},subset:containsSegmentGroup},paramCompareMap={exact:function equalParams(container,containee){return shallowEqual(container,containee)},subset:function containsParams(container,containee){return Object.keys(containee).length<=Object.keys(container).length&&Object.keys(containee).every(key=>equalArraysOrString(container[key],containee[key]))},ignored:()=>!0},exactMatchOptions={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},subsetMatchOptions={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function isActive(url,router,matchOptions){const urlTree=url instanceof UrlTree?url:router.parseUrl(url);return(0,_resource_chunk.EW)(()=>containsTree(router.lastSuccessfulNavigation()?.finalUrl??new UrlTree,urlTree,{...subsetMatchOptions,...matchOptions}))}function containsTree(container,containee,options){return pathCompareMap[options.paths](container.root,containee.root,options.matrixParams)&¶mCompareMap[options.queryParams](container.queryParams,containee.queryParams)&&!("exact"===options.fragment&&container.fragment!==containee.fragment)}function containsSegmentGroup(container,containee,matrixParams){return containsSegmentGroupHelper(container,containee,containee.segments,matrixParams)}function containsSegmentGroupHelper(container,containee,containeePaths,matrixParams){if(container.segments.length>containeePaths.length){const current=container.segments.slice(0,containeePaths.length);return!!equalPath(current,containeePaths)&&(!containee.hasChildren()&&!!matrixParamsMatch(current,containeePaths,matrixParams))}if(container.segments.length===containeePaths.length){if(!equalPath(container.segments,containeePaths))return!1;if(!matrixParamsMatch(container.segments,containeePaths,matrixParams))return!1;for(const c in containee.children){if(!container.children[c])return!1;if(!containsSegmentGroup(container.children[c],containee.children[c],matrixParams))return!1}return!0}{const current=containeePaths.slice(0,container.segments.length),next=containeePaths.slice(container.segments.length);return!!equalPath(container.segments,current)&&(!!matrixParamsMatch(container.segments,current,matrixParams)&&(!!container.children.primary&&containsSegmentGroupHelper(container.children.primary,containee,next,matrixParams)))}}function matrixParamsMatch(containerPaths,containeePaths,options){return containeePaths.every((containeeSegment,i)=>paramCompareMap[options](containerPaths[i].parameters,containeeSegment.parameters))}class UrlTree{root;queryParams;fragment;_queryParamMap;constructor(root=new UrlSegmentGroup([],{}),queryParams={},fragment=null){if(this.root=root,this.queryParams=queryParams,this.fragment=fragment,("undefined"==typeof ngDevMode||ngDevMode)&&root.segments.length>0)throw new _effect_chunk2.buA(4015,"The root `UrlSegmentGroup` should not contain `segments`. Instead, these segments belong in the `children` so they can be associated with a named outlet.")}get queryParamMap(){return this._queryParamMap??=convertToParamMap(this.queryParams),this._queryParamMap}toString(){return DEFAULT_SERIALIZER.serialize(this)}}class UrlSegmentGroup{segments;children;parent=null;constructor(segments,children){this.segments=segments,this.children=children,Object.values(children).forEach(v=>v.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return serializePaths(this)}}class UrlSegment{path;parameters;_parameterMap;constructor(path,parameters){this.path=path,this.parameters=parameters}get parameterMap(){return this._parameterMap??=convertToParamMap(this.parameters),this._parameterMap}toString(){return serializePath(this)}}function equalPath(as,bs){return as.length===bs.length&&as.every((a,i)=>a.path===bs[i].path)}class UrlSerializer{static ɵfac=function UrlSerializer_Factory(__ngFactoryType__){return new(__ngFactoryType__||UrlSerializer)};static ɵprov=_effect_chunk2.jDH({token:UrlSerializer,factory:()=>new DefaultUrlSerializer,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(UrlSerializer,[{type:_debug_node_chunk._qm,args:[{providedIn:"root",useFactory:()=>new DefaultUrlSerializer}]}],null,null);class DefaultUrlSerializer{parse(url){const p=new UrlParser(url);return new UrlTree(p.parseRootSegment(),p.parseQueryParams(),p.parseFragment())}serialize(tree){return`${`/${serializeSegment(tree.root,!0)}`}${function serializeQueryParams(params){const strParams=Object.entries(params).map(([name,value])=>Array.isArray(value)?value.map(v=>`${encodeUriQuery(name)}=${encodeUriQuery(v)}`).join("&"):`${encodeUriQuery(name)}=${encodeUriQuery(value)}`).filter(s=>s);return strParams.length?`?${strParams.join("&")}`:""}(tree.queryParams)}${"string"==typeof tree.fragment?`#${function encodeUriFragment(s){return encodeURI(s)}(tree.fragment)}`:""}`}}const DEFAULT_SERIALIZER=new DefaultUrlSerializer;function serializePaths(segment){return segment.segments.map(p=>serializePath(p)).join("/")}function serializeSegment(segment,root){if(!segment.hasChildren())return serializePaths(segment);if(root){const primary=segment.children.primary?serializeSegment(segment.children.primary,!1):"",children=[];return Object.entries(segment.children).forEach(([k,v])=>{"primary"!==k&&children.push(`${k}:${serializeSegment(v,!1)}`)}),children.length>0?`${primary}(${children.join("//")})`:primary}{const children=function mapChildrenIntoArray(segment,fn){let res=[];return Object.entries(segment.children).forEach(([childOutlet,child])=>{"primary"===childOutlet&&(res=res.concat(fn(child,childOutlet)))}),Object.entries(segment.children).forEach(([childOutlet,child])=>{"primary"!==childOutlet&&(res=res.concat(fn(child,childOutlet)))}),res}(segment,(v,k)=>"primary"===k?[serializeSegment(segment.children.primary,!1)]:[`${k}:${serializeSegment(v,!1)}`]);return 1===Object.keys(segment.children).length&&null!=segment.children.primary?`${serializePaths(segment)}/${children[0]}`:`${serializePaths(segment)}/(${children.join("//")})`}}function encodeUriString(s){return encodeURIComponent(s).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function encodeUriQuery(s){return encodeUriString(s).replace(/%3B/gi,";")}function encodeUriSegment(s){return encodeUriString(s).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function decode(s){return decodeURIComponent(s)}function decodeQuery(s){return decode(s.replace(/\+/g,"%20"))}function serializePath(path){return`${encodeUriSegment(path.path)}${function serializeMatrixParams(params){return Object.entries(params).map(([key,value])=>`;${encodeUriSegment(key)}=${encodeUriSegment(value)}`).join("")}(path.parameters)}`}const SEGMENT_RE=/^[^\/()?;#]+/;function matchSegments(str){const match=str.match(SEGMENT_RE);return match?match[0]:""}const MATRIX_PARAM_SEGMENT_RE=/^[^\/()?;=#]+/;const QUERY_PARAM_RE=/^[^=?&#]+/;const QUERY_PARAM_VALUE_RE=/^[^&#]+/;class UrlParser{url;remaining;constructor(url){this.url=url,this.remaining=url}parseRootSegment(){for(;this.consumeOptional("/"););return""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new UrlSegmentGroup([],{}):new UrlSegmentGroup([],this.parseChildren())}parseQueryParams(){const params={};if(this.consumeOptional("?"))do{this.parseQueryParam(params)}while(this.consumeOptional("&"));return params}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(depth=0){if(depth>50)throw new _effect_chunk2.buA(4010,("undefined"==typeof ngDevMode||ngDevMode)&&"URL is too deep");if(""===this.remaining)return{};this.consumeOptional("/");const segments=[];for(this.peekStartsWith("(")||segments.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),segments.push(this.parseSegment());let children={};this.peekStartsWith("/(")&&(this.capture("/"),children=this.parseParens(!0,depth));let res={};return this.peekStartsWith("(")&&(res=this.parseParens(!1,depth)),(segments.length>0||Object.keys(children).length>0)&&(res.primary=new UrlSegmentGroup(segments,children)),res}parseSegment(){const path=matchSegments(this.remaining);if(""===path&&this.peekStartsWith(";"))throw new _effect_chunk2.buA(4009,("undefined"==typeof ngDevMode||ngDevMode)&&`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(path),new UrlSegment(decode(path),this.parseMatrixParams())}parseMatrixParams(){const params={};for(;this.consumeOptional(";");)this.parseParam(params);return params}parseParam(params){const key=function matchMatrixKeySegments(str){const match=str.match(MATRIX_PARAM_SEGMENT_RE);return match?match[0]:""}(this.remaining);if(!key)return;this.capture(key);let value="";if(this.consumeOptional("=")){const valueMatch=matchSegments(this.remaining);valueMatch&&(value=valueMatch,this.capture(value))}params[decode(key)]=decode(value)}parseQueryParam(params){const key=function matchQueryParams(str){const match=str.match(QUERY_PARAM_RE);return match?match[0]:""}(this.remaining);if(!key)return;this.capture(key);let value="";if(this.consumeOptional("=")){const valueMatch=function matchUrlQueryParamValue(str){const match=str.match(QUERY_PARAM_VALUE_RE);return match?match[0]:""}(this.remaining);valueMatch&&(value=valueMatch,this.capture(value))}const decodedKey=decodeQuery(key),decodedVal=decodeQuery(value);if(params.hasOwnProperty(decodedKey)){let currentVal=params[decodedKey];Array.isArray(currentVal)||(currentVal=[currentVal],params[decodedKey]=currentVal),currentVal.push(decodedVal)}else params[decodedKey]=decodedVal}parseParens(allowPrimary,depth){const segments={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const path=matchSegments(this.remaining),next=this.remaining[path.length];if("/"!==next&&")"!==next&&";"!==next)throw new _effect_chunk2.buA(4010,("undefined"==typeof ngDevMode||ngDevMode)&&`Cannot parse url '${this.url}'`);let outletName;path.indexOf(":")>-1?(outletName=path.slice(0,path.indexOf(":")),this.capture(outletName),this.capture(":")):allowPrimary&&(outletName="primary");const children=this.parseChildren(depth+1);segments[outletName??"primary"]=1===Object.keys(children).length&&children.primary?children.primary:new UrlSegmentGroup([],children),this.consumeOptional("//")}return segments}peekStartsWith(str){return this.remaining.startsWith(str)}consumeOptional(str){return!!this.peekStartsWith(str)&&(this.remaining=this.remaining.substring(str.length),!0)}capture(str){if(!this.consumeOptional(str))throw new _effect_chunk2.buA(4011,("undefined"==typeof ngDevMode||ngDevMode)&&`Expected "${str}".`)}}function createRoot(rootCandidate){return rootCandidate.segments.length>0?new UrlSegmentGroup([],{[PRIMARY_OUTLET]:rootCandidate}):rootCandidate}function squashSegmentGroup(segmentGroup){const newChildren={};for(const[childOutlet,child]of Object.entries(segmentGroup.children)){const childCandidate=squashSegmentGroup(child);if("primary"===childOutlet&&0===childCandidate.segments.length&&childCandidate.hasChildren())for(const[grandChildOutlet,grandChild]of Object.entries(childCandidate.children))newChildren[grandChildOutlet]=grandChild;else(childCandidate.segments.length>0||childCandidate.hasChildren())&&(newChildren[childOutlet]=childCandidate)}return function mergeTrivialChildren(s){if(1===s.numberOfChildren&&s.children.primary){const c=s.children.primary;return new UrlSegmentGroup(s.segments.concat(c.segments),c.children)}return s}(new UrlSegmentGroup(segmentGroup.segments,newChildren))}function isUrlTree(v){return v instanceof UrlTree}function createSegmentGroupFromRoute(route){let targetGroup;const rootCandidate=function createSegmentGroupFromRouteRecursive(currentRoute){const childOutlets={};for(const childSnapshot of currentRoute.children){const root=createSegmentGroupFromRouteRecursive(childSnapshot);childOutlets[childSnapshot.outlet]=root}const segmentGroup=new UrlSegmentGroup(currentRoute.url,childOutlets);return currentRoute===route&&(targetGroup=segmentGroup),segmentGroup}(route.root),rootSegmentGroup=createRoot(rootCandidate);return targetGroup??rootSegmentGroup}function createUrlTreeFromSegmentGroup(relativeTo,commands,queryParams,fragment,urlSerializer){let root=relativeTo;for(;root.parent;)root=root.parent;if(0===commands.length)return tree(root,root,root,queryParams,fragment,urlSerializer);const nav=function computeNavigation(commands){if("string"==typeof commands[0]&&1===commands.length&&"/"===commands[0])return new Navigation(!0,0,commands);let numberOfDoubleDots=0,isAbsolute=!1;const res=commands.reduce((res,cmd,cmdIdx)=>{if("object"==typeof cmd&&null!=cmd){if(cmd.outlets){const outlets={};return Object.entries(cmd.outlets).forEach(([name,commands])=>{outlets[name]="string"==typeof commands?commands.split("/"):commands}),[...res,{outlets}]}if(cmd.segmentPath)return[...res,cmd.segmentPath]}return"string"!=typeof cmd?[...res,cmd]:0===cmdIdx?(cmd.split("/").forEach((urlPart,partIndex)=>{0==partIndex&&"."===urlPart||(0==partIndex&&""===urlPart?isAbsolute=!0:".."===urlPart?numberOfDoubleDots++:""!=urlPart&&res.push(urlPart))}),res):[...res,cmd]},[]);return new Navigation(isAbsolute,numberOfDoubleDots,res)}(commands);if(nav.toRoot())return tree(root,root,new UrlSegmentGroup([],{}),queryParams,fragment,urlSerializer);const position=function findStartingPositionForTargetGroup(nav,root,target){if(nav.isAbsolute)return new Position(root,!0,0);if(!target)return new Position(root,!1,NaN);if(null===target.parent)return new Position(target,!0,0);const modifier=isMatrixParams(nav.commands[0])?0:1,index=target.segments.length-1+modifier;return function createPositionApplyingDoubleDots(group,index,numberOfDoubleDots){let g=group,ci=index,dd=numberOfDoubleDots;for(;dd>ci;){if(dd-=ci,g=g.parent,!g)throw new _effect_chunk2.buA(4005,("undefined"==typeof ngDevMode||ngDevMode)&&"Invalid number of '../'");ci=g.segments.length}return new Position(g,!1,ci-dd)}(target,index,nav.numberOfDoubleDots)}(nav,root,relativeTo),newSegmentGroup=position.processChildren?updateSegmentGroupChildren(position.segmentGroup,position.index,nav.commands):updateSegmentGroup(position.segmentGroup,position.index,nav.commands);return tree(root,position.segmentGroup,newSegmentGroup,queryParams,fragment,urlSerializer)}function isMatrixParams(command){return"object"==typeof command&&null!=command&&!command.outlets&&!command.segmentPath}function isCommandWithOutlets(command){return"object"==typeof command&&null!=command&&command.outlets}function normalizeQueryParams(k,v,urlSerializer){k||="ɵ";const tree=new UrlTree;return tree.queryParams={[k]:v},urlSerializer.parse(urlSerializer.serialize(tree)).queryParams[k]}function tree(oldRoot,oldSegmentGroup,newSegmentGroup,queryParams,fragment,urlSerializer){const qp={};for(const[key,value]of Object.entries(queryParams??{}))qp[key]=Array.isArray(value)?value.map(v=>normalizeQueryParams(key,v,urlSerializer)):normalizeQueryParams(key,value,urlSerializer);let rootCandidate;rootCandidate=oldRoot===oldSegmentGroup?newSegmentGroup:replaceSegment(oldRoot,oldSegmentGroup,newSegmentGroup);const newRoot=createRoot(squashSegmentGroup(rootCandidate));return new UrlTree(newRoot,qp,fragment)}function replaceSegment(current,oldSegment,newSegment){const children={};return Object.entries(current.children).forEach(([outletName,c])=>{children[outletName]=c===oldSegment?newSegment:replaceSegment(c,oldSegment,newSegment)}),new UrlSegmentGroup(current.segments,children)}class Navigation{isAbsolute;numberOfDoubleDots;commands;constructor(isAbsolute,numberOfDoubleDots,commands){if(this.isAbsolute=isAbsolute,this.numberOfDoubleDots=numberOfDoubleDots,this.commands=commands,isAbsolute&&commands.length>0&&isMatrixParams(commands[0]))throw new _effect_chunk2.buA(4003,("undefined"==typeof ngDevMode||ngDevMode)&&"Root segment cannot have matrix parameters");const cmdWithOutlet=commands.find(isCommandWithOutlets);if(cmdWithOutlet&&cmdWithOutlet!==function last(a){return a.length>0?a[a.length-1]:null}(commands))throw new _effect_chunk2.buA(4004,("undefined"==typeof ngDevMode||ngDevMode)&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Position{segmentGroup;processChildren;index;constructor(segmentGroup,processChildren,index){this.segmentGroup=segmentGroup,this.processChildren=processChildren,this.index=index}}function updateSegmentGroup(segmentGroup,startIndex,commands){if(segmentGroup??=new UrlSegmentGroup([],{}),0===segmentGroup.segments.length&&segmentGroup.hasChildren())return updateSegmentGroupChildren(segmentGroup,startIndex,commands);const m=function prefixedWith(segmentGroup,startIndex,commands){let currentCommandIndex=0,currentPathIndex=startIndex;const noMatch={match:!1,pathIndex:0,commandIndex:0};for(;currentPathIndex<segmentGroup.segments.length;){if(currentCommandIndex>=commands.length)return noMatch;const path=segmentGroup.segments[currentPathIndex],command=commands[currentCommandIndex];if(isCommandWithOutlets(command))break;const curr=`${command}`,next=currentCommandIndex<commands.length-1?commands[currentCommandIndex+1]:null;if(currentPathIndex>0&&void 0===curr)break;if(curr&&next&&"object"==typeof next&&void 0===next.outlets){if(!compare(curr,next,path))return noMatch;currentCommandIndex+=2}else{if(!compare(curr,{},path))return noMatch;currentCommandIndex++}currentPathIndex++}return{match:!0,pathIndex:currentPathIndex,commandIndex:currentCommandIndex}}(segmentGroup,startIndex,commands),slicedCommands=commands.slice(m.commandIndex);if(m.match&&m.pathIndex<segmentGroup.segments.length){const g=new UrlSegmentGroup(segmentGroup.segments.slice(0,m.pathIndex),{});return g.children.primary=new UrlSegmentGroup(segmentGroup.segments.slice(m.pathIndex),segmentGroup.children),updateSegmentGroupChildren(g,0,slicedCommands)}return m.match&&0===slicedCommands.length?new UrlSegmentGroup(segmentGroup.segments,{}):m.match&&!segmentGroup.hasChildren()?createNewSegmentGroup(segmentGroup,startIndex,commands):m.match?updateSegmentGroupChildren(segmentGroup,0,slicedCommands):createNewSegmentGroup(segmentGroup,startIndex,commands)}function updateSegmentGroupChildren(segmentGroup,startIndex,commands){if(0===commands.length)return new UrlSegmentGroup(segmentGroup.segments,{});{const outlets=function getOutlets(commands){return isCommandWithOutlets(commands[0])?commands[0].outlets:{[PRIMARY_OUTLET]:commands}}(commands),children={};if(Object.keys(outlets).some(o=>"primary"!==o)&&segmentGroup.children.primary&&1===segmentGroup.numberOfChildren&&0===segmentGroup.children.primary.segments.length){const childrenOfEmptyChild=updateSegmentGroupChildren(segmentGroup.children.primary,startIndex,commands);return new UrlSegmentGroup(segmentGroup.segments,childrenOfEmptyChild.children)}return Object.entries(outlets).forEach(([outlet,commands])=>{"string"==typeof commands&&(commands=[commands]),null!==commands&&(children[outlet]=updateSegmentGroup(segmentGroup.children[outlet],startIndex,commands))}),Object.entries(segmentGroup.children).forEach(([childOutlet,child])=>{void 0===outlets[childOutlet]&&(children[childOutlet]=child)}),new UrlSegmentGroup(segmentGroup.segments,children)}}function createNewSegmentGroup(segmentGroup,startIndex,commands){const paths=segmentGroup.segments.slice(0,startIndex);let i=0;for(;i<commands.length;){const command=commands[i];if(isCommandWithOutlets(command)){const children=createNewSegmentChildren(command.outlets);return new UrlSegmentGroup(paths,children)}if(0===i&&isMatrixParams(commands[0])){const p=segmentGroup.segments[startIndex];paths.push(new UrlSegment(p.path,stringify(commands[0]))),i++;continue}const curr=isCommandWithOutlets(command)?command.outlets.primary:`${command}`,next=i<commands.length-1?commands[i+1]:null;curr&&next&&isMatrixParams(next)?(paths.push(new UrlSegment(curr,stringify(next))),i+=2):(paths.push(new UrlSegment(curr,{})),i++)}return new UrlSegmentGroup(paths,{})}function createNewSegmentChildren(outlets){const children={};return Object.entries(outlets).forEach(([outlet,commands])=>{"string"==typeof commands&&(commands=[commands]),null!==commands&&(children[outlet]=createNewSegmentGroup(new UrlSegmentGroup([],{}),0,commands))}),children}function stringify(params){const res={};return Object.entries(params).forEach(([k,v])=>res[k]=`${v}`),res}function compare(path,params,segment){return path==segment.path&&shallowEqual(params,segment.parameters)}const IMPERATIVE_NAVIGATION="imperative";var EventType,NavigationCancellationCode,NavigationSkippedCode;!function(EventType){EventType[EventType.NavigationStart=0]="NavigationStart",EventType[EventType.NavigationEnd=1]="NavigationEnd",EventType[EventType.NavigationCancel=2]="NavigationCancel",EventType[EventType.NavigationError=3]="NavigationError",EventType[EventType.RoutesRecognized=4]="RoutesRecognized",EventType[EventType.ResolveStart=5]="ResolveStart",EventType[EventType.ResolveEnd=6]="ResolveEnd",EventType[EventType.GuardsCheckStart=7]="GuardsCheckStart",EventType[EventType.GuardsCheckEnd=8]="GuardsCheckEnd",EventType[EventType.RouteConfigLoadStart=9]="RouteConfigLoadStart",EventType[EventType.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",EventType[EventType.ChildActivationStart=11]="ChildActivationStart",EventType[EventType.ChildActivationEnd=12]="ChildActivationEnd",EventType[EventType.ActivationStart=13]="ActivationStart",EventType[EventType.ActivationEnd=14]="ActivationEnd",EventType[EventType.Scroll=15]="Scroll",EventType[EventType.NavigationSkipped=16]="NavigationSkipped"}(EventType||(EventType={}));class RouterEvent{id;url;constructor(id,url){this.id=id,this.url=url}}class NavigationStart extends RouterEvent{type=EventType.NavigationStart;navigationTrigger;restoredState;constructor(id,url,navigationTrigger="imperative",restoredState=null){super(id,url),this.navigationTrigger=navigationTrigger,this.restoredState=restoredState}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class NavigationEnd extends RouterEvent{urlAfterRedirects;type=EventType.NavigationEnd;constructor(id,url,urlAfterRedirects){super(id,url),this.urlAfterRedirects=urlAfterRedirects}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}!function(NavigationCancellationCode){NavigationCancellationCode[NavigationCancellationCode.Redirect=0]="Redirect",NavigationCancellationCode[NavigationCancellationCode.SupersededByNewNavigation=1]="SupersededByNewNavigation",NavigationCancellationCode[NavigationCancellationCode.NoDataFromResolver=2]="NoDataFromResolver",NavigationCancellationCode[NavigationCancellationCode.GuardRejected=3]="GuardRejected",NavigationCancellationCode[NavigationCancellationCode.Aborted=4]="Aborted"}(NavigationCancellationCode||(NavigationCancellationCode={})),function(NavigationSkippedCode){NavigationSkippedCode[NavigationSkippedCode.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",NavigationSkippedCode[NavigationSkippedCode.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy"}(NavigationSkippedCode||(NavigationSkippedCode={}));class NavigationCancel extends RouterEvent{reason;code;type=EventType.NavigationCancel;constructor(id,url,reason,code){super(id,url),this.reason=reason,this.code=code}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}function isRedirectingEvent(event){return event instanceof NavigationCancel&&(event.code===NavigationCancellationCode.Redirect||event.code===NavigationCancellationCode.SupersededByNewNavigation)}class NavigationSkipped extends RouterEvent{reason;code;type=EventType.NavigationSkipped;constructor(id,url,reason,code){super(id,url),this.reason=reason,this.code=code}}class NavigationError extends RouterEvent{error;target;type=EventType.NavigationError;constructor(id,url,error,target){super(id,url),this.error=error,this.target=target}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class RoutesRecognized extends RouterEvent{urlAfterRedirects;state;type=EventType.RoutesRecognized;constructor(id,url,urlAfterRedirects,state){super(id,url),this.urlAfterRedirects=urlAfterRedirects,this.state=state}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class GuardsCheckStart extends RouterEvent{urlAfterRedirects;state;type=EventType.GuardsCheckStart;constructor(id,url,urlAfterRedirects,state){super(id,url),this.urlAfterRedirects=urlAfterRedirects,this.state=state}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class GuardsCheckEnd extends RouterEvent{urlAfterRedirects;state;shouldActivate;type=EventType.GuardsCheckEnd;constructor(id,url,urlAfterRedirects,state,shouldActivate){super(id,url),this.urlAfterRedirects=urlAfterRedirects,this.state=state,this.shouldActivate=shouldActivate}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ResolveStart extends RouterEvent{urlAfterRedirects;state;type=EventType.ResolveStart;constructor(id,url,urlAfterRedirects,state){super(id,url),this.urlAfterRedirects=urlAfterRedirects,this.state=state}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ResolveEnd extends RouterEvent{urlAfterRedirects;state;type=EventType.ResolveEnd;constructor(id,url,urlAfterRedirects,state){super(id,url),this.urlAfterRedirects=urlAfterRedirects,this.state=state}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class RouteConfigLoadStart{route;type=EventType.RouteConfigLoadStart;constructor(route){this.route=route}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class RouteConfigLoadEnd{route;type=EventType.RouteConfigLoadEnd;constructor(route){this.route=route}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ChildActivationStart{snapshot;type=EventType.ChildActivationStart;constructor(snapshot){this.snapshot=snapshot}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ChildActivationEnd{snapshot;type=EventType.ChildActivationEnd;constructor(snapshot){this.snapshot=snapshot}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ActivationStart{snapshot;type=EventType.ActivationStart;constructor(snapshot){this.snapshot=snapshot}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ActivationEnd{snapshot;type=EventType.ActivationEnd;constructor(snapshot){this.snapshot=snapshot}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Scroll{routerEvent;position;anchor;scrollBehavior;type=EventType.Scroll;constructor(routerEvent,position,anchor,scrollBehavior){this.routerEvent=routerEvent,this.position=position,this.anchor=anchor,this.scrollBehavior=scrollBehavior}toString(){const pos=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${pos}')`}}class BeforeActivateRoutes{}class BeforeRoutesRecognized{}class RedirectRequest{url;navigationBehaviorOptions;constructor(url,navigationBehaviorOptions){this.url=url,this.navigationBehaviorOptions=navigationBehaviorOptions}}function stringifyEvent(routerEvent){switch(routerEvent.type){case EventType.ActivationEnd:return`ActivationEnd(path: '${routerEvent.snapshot.routeConfig?.path||""}')`;case EventType.ActivationStart:return`ActivationStart(path: '${routerEvent.snapshot.routeConfig?.path||""}')`;case EventType.ChildActivationEnd:return`ChildActivationEnd(path: '${routerEvent.snapshot.routeConfig?.path||""}')`;case EventType.ChildActivationStart:return`ChildActivationStart(path: '${routerEvent.snapshot.routeConfig?.path||""}')`;case EventType.GuardsCheckEnd:return`GuardsCheckEnd(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state}, shouldActivate: ${routerEvent.shouldActivate})`;case EventType.GuardsCheckStart:return`GuardsCheckStart(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;case EventType.NavigationCancel:return`NavigationCancel(id: ${routerEvent.id}, url: '${routerEvent.url}')`;case EventType.NavigationSkipped:return`NavigationSkipped(id: ${routerEvent.id}, url: '${routerEvent.url}')`;case EventType.NavigationEnd:return`NavigationEnd(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}')`;case EventType.NavigationError:return`NavigationError(id: ${routerEvent.id}, url: '${routerEvent.url}', error: ${routerEvent.error})`;case EventType.NavigationStart:return`NavigationStart(id: ${routerEvent.id}, url: '${routerEvent.url}')`;case EventType.ResolveEnd:return`ResolveEnd(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;case EventType.ResolveStart:return`ResolveStart(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;case EventType.RouteConfigLoadEnd:return`RouteConfigLoadEnd(path: ${routerEvent.route.path})`;case EventType.RouteConfigLoadStart:return`RouteConfigLoadStart(path: ${routerEvent.route.path})`;case EventType.RoutesRecognized:return`RoutesRecognized(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;case EventType.Scroll:const pos=routerEvent.position?`${routerEvent.position[0]}, ${routerEvent.position[1]}`:null;return`Scroll(anchor: '${routerEvent.anchor}', position: '${pos}')`}}class OutletContext{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(rootInjector){this.rootInjector=rootInjector,this.children=new ChildrenOutletContexts(this.rootInjector)}}class ChildrenOutletContexts{rootInjector;contexts=new Map;constructor(rootInjector){this.rootInjector=rootInjector}onChildOutletCreated(childName,outlet){const context=this.getOrCreateContext(childName);context.outlet=outlet,this.contexts.set(childName,context)}onChildOutletDestroyed(childName){const context=this.getContext(childName);context&&(context.outlet=null,context.attachRef=null)}onOutletDeactivated(){const contexts=this.contexts;return this.contexts=new Map,contexts}onOutletReAttached(contexts){this.contexts=contexts}getOrCreateContext(childName){let context=this.getContext(childName);return context||(context=new OutletContext(this.rootInjector),this.contexts.set(childName,context)),context}getContext(childName){return this.contexts.get(childName)||null}static ɵfac=function ChildrenOutletContexts_Factory(__ngFactoryType__){return new(__ngFactoryType__||ChildrenOutletContexts)(_effect_chunk2.KVO(_effect_chunk2.uvJ))};static ɵprov=_effect_chunk2.jDH({token:ChildrenOutletContexts,factory:ChildrenOutletContexts.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(ChildrenOutletContexts,[{type:_debug_node_chunk._qm,args:[{providedIn:"root"}]}],()=>[{type:_effect_chunk2.uvJ}],null);class Tree{_root;constructor(root){this._root=root}get root(){return this._root.value}parent(t){const p=this.pathFromRoot(t);return p.length>1?p[p.length-2]:null}children(t){const n=findNode(t,this._root);return n?n.children.map(t=>t.value):[]}firstChild(t){const n=findNode(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const p=findPath(t,this._root);if(p.length<2)return[];return p[p.length-2].children.map(c=>c.value).filter(cc=>cc!==t)}pathFromRoot(t){return findPath(t,this._root).map(s=>s.value)}}function findNode(value,node){if(value===node.value)return node;for(const child of node.children){const node=findNode(value,child);if(node)return node}return null}function findPath(value,node){if(value===node.value)return[node];for(const child of node.children){const path=findPath(value,child);if(path.length)return path.unshift(node),path}return[]}class TreeNode{value;children;constructor(value,children){this.value=value,this.children=children}toString(){return`TreeNode(${this.value})`}}function nodeChildrenAsMap(node){const map={};return node&&node.children.forEach(child=>map[child.value.outlet]=child),map}class RouterState extends Tree{snapshot;constructor(root,snapshot){super(root),this.snapshot=snapshot,setRouterState(this,root)}toString(){return this.snapshot.toString()}}function createEmptyState(rootComponent,injector){const snapshot=function createEmptyStateSnapshot(rootComponent,injector){const emptyParams={},emptyData={},emptyQueryParams={},fragment="",activated=new ActivatedRouteSnapshot([],emptyParams,emptyQueryParams,fragment,emptyData,"primary",rootComponent,null,{},injector);return new RouterStateSnapshot("",new TreeNode(activated,[]))}(rootComponent,injector),emptyUrl=new BehaviorSubject.t([new UrlSegment("",{})]),emptyParams=new BehaviorSubject.t({}),emptyData=new BehaviorSubject.t({}),emptyQueryParams=new BehaviorSubject.t({}),fragment=new BehaviorSubject.t(""),activated=new ActivatedRoute(emptyUrl,emptyParams,emptyQueryParams,fragment,emptyData,"primary",rootComponent,snapshot.root);return activated.snapshot=snapshot.root,new RouterState(new TreeNode(activated,[]),snapshot)}class ActivatedRoute{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(urlSubject,paramsSubject,queryParamsSubject,fragmentSubject,dataSubject,outlet,component,futureSnapshot){this.urlSubject=urlSubject,this.paramsSubject=paramsSubject,this.queryParamsSubject=queryParamsSubject,this.fragmentSubject=fragmentSubject,this.dataSubject=dataSubject,this.outlet=outlet,this.component=component,this._futureSnapshot=futureSnapshot,this.title=this.dataSubject?.pipe((0,map.T)(d=>d[RouteTitleKey]))??(0,of.of)(void 0),this.url=urlSubject,this.params=paramsSubject,this.queryParams=queryParamsSubject,this.fragment=fragmentSubject,this.data=dataSubject}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,map.T)(p=>convertToParamMap(p))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,map.T)(p=>convertToParamMap(p))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function getInherited(route,parent,paramsInheritanceStrategy="emptyOnly"){let inherited;const{routeConfig}=route;return inherited=null===parent||"always"!==paramsInheritanceStrategy&&""!==routeConfig?.path&&(parent.component||parent.routeConfig?.loadComponent)?{params:{...route.params},data:{...route.data},resolve:{...route.data,...route._resolvedData??{}}}:{params:{...parent.params,...route.params},data:{...parent.data,...route.data},resolve:{...route.data,...parent.data,...routeConfig?.data,...route._resolvedData}},routeConfig&&hasStaticTitle(routeConfig)&&(inherited.resolve[RouteTitleKey]=routeConfig.title),inherited}class ActivatedRouteSnapshot{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[RouteTitleKey]}constructor(url,params,queryParams,fragment,data,outlet,component,routeConfig,resolve,environmentInjector){this.url=url,this.params=params,this.queryParams=queryParams,this.fragment=fragment,this.data=data,this.outlet=outlet,this.component=component,this.routeConfig=routeConfig,this._resolve=resolve,this._environmentInjector=environmentInjector}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=convertToParamMap(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=convertToParamMap(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(segment=>segment.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class RouterStateSnapshot extends Tree{url;constructor(url,root){super(root),this.url=url,setRouterState(this,root)}toString(){return serializeNode(this._root)}}function setRouterState(state,node){node.value._routerState=state,node.children.forEach(c=>setRouterState(state,c))}function serializeNode(node){const c=node.children.length>0?` { ${node.children.map(serializeNode).join(", ")} } `:"";return`${node.value}${c}`}function advanceActivatedRoute(route){if(route.snapshot){const currentSnapshot=route.snapshot,nextSnapshot=route._futureSnapshot;route.snapshot=nextSnapshot,shallowEqual(currentSnapshot.queryParams,nextSnapshot.queryParams)||route.queryParamsSubject.next(nextSnapshot.queryParams),currentSnapshot.fragment!==nextSnapshot.fragment&&route.fragmentSubject.next(nextSnapshot.fragment),shallowEqual(currentSnapshot.params,nextSnapshot.params)||route.paramsSubject.next(nextSnapshot.params),function shallowEqualArrays(a,b){if(a.length!==b.length)return!1;for(let i=0;i<a.length;++i)if(!shallowEqual(a[i],b[i]))return!1;return!0}(currentSnapshot.url,nextSnapshot.url)||route.urlSubject.next(nextSnapshot.url),shallowEqual(currentSnapshot.data,nextSnapshot.data)||route.dataSubject.next(nextSnapshot.data)}else route.snapshot=route._futureSnapshot,route.dataSubject.next(route._futureSnapshot.data)}function equalParamsAndUrlSegments(a,b){const equalUrlParams=shallowEqual(a.params,b.params)&&function equalSegments(as,bs){return equalPath(as,bs)&&as.every((a,i)=>shallowEqual(a.parameters,bs[i].parameters))}(a.url,b.url),parentsMismatch=!a.parent!=!b.parent;return equalUrlParams&&!parentsMismatch&&(!a.parent||equalParamsAndUrlSegments(a.parent,b.parent))}function hasStaticTitle(config){return"string"==typeof config.title||null===config.title}const ROUTER_OUTLET_DATA=new _effect_chunk2.nKC("undefined"!=typeof ngDevMode&&ngDevMode?"RouterOutlet data":"");class RouterOutlet{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name="primary";activateEvents=new _effect_chunk2.bkB;deactivateEvents=new _effect_chunk2.bkB;attachEvents=new _effect_chunk2.bkB;detachEvents=new _effect_chunk2.bkB;routerOutletData=(0,core.input)(...ngDevMode?[void 0,{debugName:"routerOutletData"}]:[]);parentContexts=(0,_effect_chunk2.WQX)(ChildrenOutletContexts);location=(0,_effect_chunk2.WQX)(_debug_node_chunk.c1b);changeDetector=(0,_effect_chunk2.WQX)(core.ChangeDetectorRef);inputBinder=(0,_effect_chunk2.WQX)(INPUT_BINDER,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(changes){if(changes.name){const{firstChange,previousValue}=changes.name;if(firstChange)return;this.isTrackedInParentContexts(previousValue)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(previousValue)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(outletName){return this.parentContexts.getContext(outletName)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const context=this.parentContexts.getContext(this.name);context?.route&&(context.attachRef?this.attach(context.attachRef,context.route):this.activateWith(context.route,context.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new _effect_chunk2.buA(4012,("undefined"==typeof ngDevMode||ngDevMode)&&"Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new _effect_chunk2.buA(4012,("undefined"==typeof ngDevMode||ngDevMode)&&"Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new _effect_chunk2.buA(4012,("undefined"==typeof ngDevMode||ngDevMode)&&"Outlet is not activated");this.location.detach();const cmp=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(cmp.instance),cmp}attach(ref,activatedRoute){this.activated=ref,this._activatedRoute=activatedRoute,this.location.insert(ref.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(ref.instance)}deactivate(){if(this.activated){const c=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(c)}}activateWith(activatedRoute,environmentInjector){if(this.isActivated)throw new _effect_chunk2.buA(4013,("undefined"==typeof ngDevMode||ngDevMode)&&"Cannot activate an already activated outlet");this._activatedRoute=activatedRoute;const location=this.location,component=activatedRoute.snapshot.component,childContexts=this.parentContexts.getOrCreateContext(this.name).children,injector=new OutletInjector(activatedRoute,childContexts,location.injector,this.routerOutletData);this.activated=location.createComponent(component,{index:location.length,injector,environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static ɵfac=function RouterOutlet_Factory(__ngFactoryType__){return new(__ngFactoryType__||RouterOutlet)};static ɵdir=_debug_node_chunk.FsC({type:RouterOutlet,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[_debug_node_chunk.OA$]})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(RouterOutlet,[{type:_debug_node_chunk.WLR,args:[{selector:"router-outlet",exportAs:"outlet"}]}],null,{name:[{type:_debug_node_chunk.pde}],activateEvents:[{type:_debug_node_chunk.k7i,args:["activate"]}],deactivateEvents:[{type:_debug_node_chunk.k7i,args:["deactivate"]}],attachEvents:[{type:_debug_node_chunk.k7i,args:["attach"]}],detachEvents:[{type:_debug_node_chunk.k7i,args:["detach"]}],routerOutletData:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"routerOutletData",required:!1}]}]});class OutletInjector{route;childContexts;parent;outletData;constructor(route,childContexts,parent,outletData){this.route=route,this.childContexts=childContexts,this.parent=parent,this.outletData=outletData}get(token,notFoundValue){return token===ActivatedRoute?this.route:token===ChildrenOutletContexts?this.childContexts:token===ROUTER_OUTLET_DATA?this.outletData:this.parent.get(token,notFoundValue)}}const INPUT_BINDER=new _effect_chunk2.nKC("undefined"!=typeof ngDevMode&&ngDevMode?"Router Input Binder":"");class RoutedComponentInputBinder{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(outlet){this.unsubscribeFromRouteData(outlet),this.subscribeToRouteData(outlet)}unsubscribeFromRouteData(outlet){this.outletDataSubscriptions.get(outlet)?.unsubscribe(),this.outletDataSubscriptions.delete(outlet)}subscribeToRouteData(outlet){const{activatedRoute}=outlet,dataSubscription=(0,combineLatest.z)([activatedRoute.queryParams,activatedRoute.params,activatedRoute.data]).pipe((0,switchMap.n)(([queryParams,params,data],index)=>(data={...queryParams,...params,...data},0===index?(0,of.of)(data):Promise.resolve(data)))).subscribe(data=>{if(!outlet.isActivated||!outlet.activatedComponentRef||outlet.activatedRoute!==activatedRoute||null===activatedRoute.component)return void this.unsubscribeFromRouteData(outlet);const mirror=(0,core.reflectComponentType)(activatedRoute.component);if(mirror)for(const{templateName}of mirror.inputs)outlet.activatedComponentRef.setInput(templateName,data[templateName]);else this.unsubscribeFromRouteData(outlet)});this.outletDataSubscriptions.set(outlet,dataSubscription)}static ɵfac=function RoutedComponentInputBinder_Factory(__ngFactoryType__){return new(__ngFactoryType__||RoutedComponentInputBinder)};static ɵprov=_effect_chunk2.jDH({token:RoutedComponentInputBinder,factory:RoutedComponentInputBinder.ɵfac})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(RoutedComponentInputBinder,[{type:_debug_node_chunk._qm}],null,null);class ɵEmptyOutletComponent{static ɵfac=function ɵEmptyOutletComponent_Factory(__ngFactoryType__){return new(__ngFactoryType__||ɵEmptyOutletComponent)};static ɵcmp=_debug_node_chunk.VBU({type:ɵEmptyOutletComponent,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function _EmptyOutletComponent_Template(rf,ctx){1&rf&&_debug_node_chunk.nrm(0,"router-outlet")},dependencies:[RouterOutlet],encapsulation:2})}function standardizeConfig(r){const children=r.children&&r.children.map(standardizeConfig),c=children?{...r,children}:{...r};return c.component||c.loadComponent||!children&&!c.loadChildren||!c.outlet||"primary"===c.outlet||(c.component=ɵEmptyOutletComponent),c}function createNode(routeReuseStrategy,curr,prevState){if(prevState&&routeReuseStrategy.shouldReuseRoute(curr.value,prevState.value.snapshot)){const value=prevState.value;value._futureSnapshot=curr.value;const children=function createOrReuseChildren(routeReuseStrategy,curr,prevState){return curr.children.map(child=>{for(const p of prevState.children)if(routeReuseStrategy.shouldReuseRoute(child.value,p.value.snapshot))return createNode(routeReuseStrategy,child,p);return createNode(routeReuseStrategy,child)})}(routeReuseStrategy,curr,prevState);return new TreeNode(value,children)}{if(routeReuseStrategy.shouldAttach(curr.value)){const detachedRouteHandle=routeReuseStrategy.retrieve(curr.value);if(null!==detachedRouteHandle){const tree=detachedRouteHandle.route;return tree.value._futureSnapshot=curr.value,tree.children=curr.children.map(c=>createNode(routeReuseStrategy,c)),tree}}const value=function createActivatedRoute(c){return new ActivatedRoute(new BehaviorSubject.t(c.url),new BehaviorSubject.t(c.params),new BehaviorSubject.t(c.queryParams),new BehaviorSubject.t(c.fragment),new BehaviorSubject.t(c.data),c.outlet,c.component,c)}(curr.value),children=curr.children.map(c=>createNode(routeReuseStrategy,c));return new TreeNode(value,children)}}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(ɵEmptyOutletComponent,[{type:_debug_node_chunk.uAl,args:[{template:"<router-outlet />",imports:[RouterOutlet],exportAs:"emptyRouterOutlet",changeDetection:_debug_node_chunk.Ngq.Eager}]}],null,null);class RedirectCommand{redirectTo;navigationBehaviorOptions;constructor(redirectTo,navigationBehaviorOptions){this.redirectTo=redirectTo,this.navigationBehaviorOptions=navigationBehaviorOptions}}function redirectingNavigationError(urlSerializer,redirect){const{redirectTo,navigationBehaviorOptions}=isUrlTree(redirect)?{redirectTo:redirect,navigationBehaviorOptions:void 0}:redirect,error=navigationCancelingError(ngDevMode&&`Redirecting to "${urlSerializer.serialize(redirectTo)}"`,NavigationCancellationCode.Redirect);return error.url=redirectTo,error.navigationBehaviorOptions=navigationBehaviorOptions,error}function navigationCancelingError(message,code){const error=new Error(`NavigationCancelingError: ${message||""}`);return error.ngNavigationCancelingError=!0,error.cancellationCode=code,error}function isNavigationCancelingError(error){return!!error&&error.ngNavigationCancelingError}let warnedAboutUnsupportedInputBinding=!1;class ActivateRoutes{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(routeReuseStrategy,futureState,currState,forwardEvent,inputBindingEnabled){this.routeReuseStrategy=routeReuseStrategy,this.futureState=futureState,this.currState=currState,this.forwardEvent=forwardEvent,this.inputBindingEnabled=inputBindingEnabled}activate(parentContexts){const futureRoot=this.futureState._root,currRoot=this.currState?this.currState._root:null;this.deactivateChildRoutes(futureRoot,currRoot,parentContexts),advanceActivatedRoute(this.futureState.root),this.activateChildRoutes(futureRoot,currRoot,parentContexts)}deactivateChildRoutes(futureNode,currNode,contexts){const children=nodeChildrenAsMap(currNode);futureNode.children.forEach(futureChild=>{const childOutletName=futureChild.value.outlet;this.deactivateRoutes(futureChild,children[childOutletName],contexts),delete children[childOutletName]}),Object.values(children).forEach(v=>{this.deactivateRouteAndItsChildren(v,contexts)})}deactivateRoutes(futureNode,currNode,parentContext){const future=futureNode.value,curr=currNode?currNode.value:null;if(future===curr)if(future.component){const context=parentContext.getContext(future.outlet);context&&this.deactivateChildRoutes(futureNode,currNode,context.children)}else this.deactivateChildRoutes(futureNode,currNode,parentContext);else curr&&this.deactivateRouteAndItsChildren(currNode,parentContext)}deactivateRouteAndItsChildren(route,parentContexts){route.value.component&&this.routeReuseStrategy.shouldDetach(route.value.snapshot)?this.detachAndStoreRouteSubtree(route,parentContexts):this.deactivateRouteAndOutlet(route,parentContexts)}detachAndStoreRouteSubtree(route,parentContexts){const context=parentContexts.getContext(route.value.outlet),contexts=context&&route.value.component?context.children:parentContexts,children=nodeChildrenAsMap(route);for(const treeNode of Object.values(children))this.deactivateRouteAndItsChildren(treeNode,contexts);if(context&&context.outlet){const componentRef=context.outlet.detach(),contexts=context.children.onOutletDeactivated();this.routeReuseStrategy.store(route.value.snapshot,{componentRef,route,contexts})}}deactivateRouteAndOutlet(route,parentContexts){const context=parentContexts.getContext(route.value.outlet),contexts=context&&route.value.component?context.children:parentContexts,children=nodeChildrenAsMap(route);for(const treeNode of Object.values(children))this.deactivateRouteAndItsChildren(treeNode,contexts);context&&(context.outlet&&(context.outlet.deactivate(),context.children.onOutletDeactivated()),context.attachRef=null,context.route=null)}activateChildRoutes(futureNode,currNode,contexts){const children=nodeChildrenAsMap(currNode);futureNode.children.forEach(c=>{this.activateRoutes(c,children[c.value.outlet],contexts),this.forwardEvent(new ActivationEnd(c.value.snapshot))}),futureNode.children.length&&this.forwardEvent(new ChildActivationEnd(futureNode.value.snapshot))}activateRoutes(futureNode,currNode,parentContexts){const future=futureNode.value,curr=currNode?currNode.value:null;if(advanceActivatedRoute(future),future===curr)if(future.component){const context=parentContexts.getOrCreateContext(future.outlet);this.activateChildRoutes(futureNode,currNode,context.children)}else this.activateChildRoutes(futureNode,currNode,parentContexts);else if(future.component){const context=parentContexts.getOrCreateContext(future.outlet);if(this.routeReuseStrategy.shouldAttach(future.snapshot)){const stored=this.routeReuseStrategy.retrieve(future.snapshot);this.routeReuseStrategy.store(future.snapshot,null),context.children.onOutletReAttached(stored.contexts),context.attachRef=stored.componentRef,context.route=stored.route.value,context.outlet&&context.outlet.attach(stored.componentRef,stored.route.value),advanceActivatedRoute(stored.route.value),this.activateChildRoutes(futureNode,null,context.children)}else context.attachRef=null,context.route=future,context.outlet&&context.outlet.activateWith(future,context.injector),this.activateChildRoutes(futureNode,null,context.children)}else this.activateChildRoutes(futureNode,null,parentContexts);if("undefined"==typeof ngDevMode||ngDevMode){const outlet=parentContexts.getOrCreateContext(future.outlet).outlet;outlet&&this.inputBindingEnabled&&!outlet.supportsBindingToComponentInputs&&!warnedAboutUnsupportedInputBinding&&(console.warn("'withComponentInputBinding' feature is enabled but this application is using an outlet that may not support binding to component inputs."),warnedAboutUnsupportedInputBinding=!0)}}}class CanActivate{path;route;constructor(path){this.path=path,this.route=this.path[this.path.length-1]}}class CanDeactivate{component;route;constructor(component,route){this.component=component,this.route=route}}function getAllRouteGuards(future,curr,parentContexts){const futureRoot=future._root;return getChildRouteGuards(futureRoot,curr?curr._root:null,parentContexts,[futureRoot.value])}function getTokenOrFunctionIdentity(tokenOrFunction,injector){const NOT_FOUND=Symbol(),result=injector.get(tokenOrFunction,NOT_FOUND);return result===NOT_FOUND?"function"!=typeof tokenOrFunction||(0,_effect_chunk2.muV)(tokenOrFunction)?injector.get(tokenOrFunction):tokenOrFunction:result}function getChildRouteGuards(futureNode,currNode,contexts,futurePath,checks={canDeactivateChecks:[],canActivateChecks:[]}){const prevChildren=nodeChildrenAsMap(currNode);return futureNode.children.forEach(c=>{!function getRouteGuards(futureNode,currNode,parentContexts,futurePath,checks={canDeactivateChecks:[],canActivateChecks:[]}){const future=futureNode.value,curr=currNode?currNode.value:null,context=parentContexts?parentContexts.getContext(futureNode.value.outlet):null;if(curr&&future.routeConfig===curr.routeConfig){const shouldRun=function shouldRunGuardsAndResolvers(curr,future,mode){if("function"==typeof mode)return(0,_effect_chunk2.N4e)(future._environmentInjector,()=>mode(curr,future));switch(mode){case"pathParamsChange":return!equalPath(curr.url,future.url);case"pathParamsOrQueryParamsChange":return!equalPath(curr.url,future.url)||!shallowEqual(curr.queryParams,future.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!equalParamsAndUrlSegments(curr,future)||!shallowEqual(curr.queryParams,future.queryParams);default:return!equalParamsAndUrlSegments(curr,future)}}(curr,future,future.routeConfig.runGuardsAndResolvers);shouldRun?checks.canActivateChecks.push(new CanActivate(futurePath)):(future.data=curr.data,future._resolvedData=curr._resolvedData),future.component?getChildRouteGuards(futureNode,currNode,context?context.children:null,futurePath,checks):getChildRouteGuards(futureNode,currNode,parentContexts,futurePath,checks),shouldRun&&context&&context.outlet&&context.outlet.isActivated&&checks.canDeactivateChecks.push(new CanDeactivate(context.outlet.component,curr))}else curr&&deactivateRouteAndItsChildren(currNode,context,checks),checks.canActivateChecks.push(new CanActivate(futurePath)),future.component?getChildRouteGuards(futureNode,null,context?context.children:null,futurePath,checks):getChildRouteGuards(futureNode,null,parentContexts,futurePath,checks);return checks}(c,prevChildren[c.value.outlet],contexts,futurePath.concat([c.value]),checks),delete prevChildren[c.value.outlet]}),Object.entries(prevChildren).forEach(([k,v])=>deactivateRouteAndItsChildren(v,contexts.getContext(k),checks)),checks}function deactivateRouteAndItsChildren(route,context,checks){const children=nodeChildrenAsMap(route),r=route.value;Object.entries(children).forEach(([childName,node])=>{r.component?deactivateRouteAndItsChildren(node,context?context.children.getContext(childName):null,checks):deactivateRouteAndItsChildren(node,context,checks)}),r.component&&context&&context.outlet&&context.outlet.isActivated?checks.canDeactivateChecks.push(new CanDeactivate(context.outlet.component,r)):checks.canDeactivateChecks.push(new CanDeactivate(null,r))}function isFunction(v){return"function"==typeof v}function isEmptyError(e){return e instanceof EmptyError.G||"EmptyError"===e?.name}const INITIAL_VALUE=Symbol("INITIAL_VALUE");function prioritizedGuardValue(){return(0,switchMap.n)(obs=>(0,combineLatest.z)(obs.map(o=>o.pipe((0,take.s)(1),(0,startWith.Z)(INITIAL_VALUE)))).pipe((0,map.T)(results=>{for(const result of results)if(!0!==result){if(result===INITIAL_VALUE)return INITIAL_VALUE;if(!1===result||isRedirect(result))return result}return!0}),(0,filter.p)(item=>item!==INITIAL_VALUE),(0,take.s)(1)))}function isRedirect(val){return isUrlTree(val)||val instanceof RedirectCommand}function abortSignalToObservable(signal){return signal.aborted?(0,of.of)(void 0).pipe((0,take.s)(1)):new Observable.c(subscriber=>{const handler=()=>{subscriber.next(),subscriber.complete()};return signal.addEventListener("abort",handler),()=>signal.removeEventListener("abort",handler)})}function takeUntilAbort(signal){return(0,takeUntil.Q)(abortSignalToObservable(signal))}function checkGuards(forwardEvent){return(0,mergeMap.Z)(t=>{const{targetSnapshot,currentSnapshot,guards:{canActivateChecks,canDeactivateChecks}}=t;return 0===canDeactivateChecks.length&&0===canActivateChecks.length?(0,of.of)({...t,guardsResult:!0}):function runCanDeactivateChecks(checks,futureRSS,currRSS){return(0,from.H)(checks).pipe((0,mergeMap.Z)(check=>function runCanDeactivate(component,currARS,currRSS,futureRSS){const canDeactivate=currARS&&currARS.routeConfig?currARS.routeConfig.canDeactivate:null;if(!canDeactivate||0===canDeactivate.length)return(0,of.of)(!0);const canDeactivateObservables=canDeactivate.map(c=>{const closestInjector=currARS._environmentInjector,guard=getTokenOrFunctionIdentity(c,closestInjector);return wrapIntoObservable(function isCanDeactivate(guard){return guard&&isFunction(guard.canDeactivate)}(guard)?guard.canDeactivate(component,currARS,currRSS,futureRSS):(0,_effect_chunk2.N4e)(closestInjector,()=>guard(component,currARS,currRSS,futureRSS))).pipe((0,first.$)())});return(0,of.of)(canDeactivateObservables).pipe(prioritizedGuardValue())}(check.component,check.route,currRSS,futureRSS)),(0,first.$)(result=>!0!==result,!0))}(canDeactivateChecks,targetSnapshot,currentSnapshot).pipe((0,mergeMap.Z)(canDeactivate=>canDeactivate&&function isBoolean(v){return"boolean"==typeof v}(canDeactivate)?function runCanActivateChecks(futureSnapshot,checks,forwardEvent){return(0,from.H)(checks).pipe((0,concatMap.H)(check=>(0,concat.x)(function fireChildActivationStart(snapshot,forwardEvent){null!==snapshot&&forwardEvent&&forwardEvent(new ChildActivationStart(snapshot));return(0,of.of)(!0)}(check.route.parent,forwardEvent),function fireActivationStart(snapshot,forwardEvent){null!==snapshot&&forwardEvent&&forwardEvent(new ActivationStart(snapshot));return(0,of.of)(!0)}(check.route,forwardEvent),function runCanActivateChild(futureRSS,path){const futureARS=path[path.length-1],canActivateChildGuardsMapped=path.slice(0,path.length-1).reverse().map(p=>function getCanActivateChild(p){const canActivateChild=p.routeConfig?p.routeConfig.canActivateChild:null;return canActivateChild&&0!==canActivateChild.length?{node:p,guards:canActivateChild}:null}(p)).filter(_=>null!==_).map(d=>defer(()=>{const guardsMapped=d.guards.map(canActivateChild=>{const closestInjector=d.node._environmentInjector,guard=getTokenOrFunctionIdentity(canActivateChild,closestInjector);return wrapIntoObservable(function isCanActivateChild(guard){return guard&&isFunction(guard.canActivateChild)}(guard)?guard.canActivateChild(futureARS,futureRSS):(0,_effect_chunk2.N4e)(closestInjector,()=>guard(futureARS,futureRSS))).pipe((0,first.$)())});return(0,of.of)(guardsMapped).pipe(prioritizedGuardValue())}));return(0,of.of)(canActivateChildGuardsMapped).pipe(prioritizedGuardValue())}(futureSnapshot,check.path),function runCanActivate(futureRSS,futureARS){const canActivate=futureARS.routeConfig?futureARS.routeConfig.canActivate:null;if(!canActivate||0===canActivate.length)return(0,of.of)(!0);const canActivateObservables=canActivate.map(canActivate=>defer(()=>{const closestInjector=futureARS._environmentInjector,guard=getTokenOrFunctionIdentity(canActivate,closestInjector);return wrapIntoObservable(function isCanActivate(guard){return guard&&isFunction(guard.canActivate)}(guard)?guard.canActivate(futureARS,futureRSS):(0,_effect_chunk2.N4e)(closestInjector,()=>guard(futureARS,futureRSS))).pipe((0,first.$)())}));return(0,of.of)(canActivateObservables).pipe(prioritizedGuardValue())}(futureSnapshot,check.route))),(0,first.$)(result=>!0!==result,!0))}(targetSnapshot,canActivateChecks,forwardEvent):(0,of.of)(canDeactivate)),(0,map.T)(guardsResult=>({...t,guardsResult})))})}function runCanLoadGuards(injector,route,segments,urlSerializer,abortSignal){const canLoad=route.canLoad;if(void 0===canLoad||0===canLoad.length)return(0,of.of)(!0);const canLoadObservables=canLoad.map(injectionToken=>{const guard=getTokenOrFunctionIdentity(injectionToken,injector),obs$=wrapIntoObservable(function isCanLoad(guard){return guard&&isFunction(guard.canLoad)}(guard)?guard.canLoad(route,segments):(0,_effect_chunk2.N4e)(injector,()=>guard(route,segments)));return abortSignal?obs$.pipe(takeUntilAbort(abortSignal)):obs$});return(0,of.of)(canLoadObservables).pipe(prioritizedGuardValue(),redirectIfUrlTree(urlSerializer))}function redirectIfUrlTree(urlSerializer){return(0,pipe.F)((0,tap.M)(result=>{if("boolean"!=typeof result)throw redirectingNavigationError(urlSerializer,result)}),(0,map.T)(result=>!0===result))}function runCanMatchGuards(injector,route,segments,urlSerializer,currentSnapshot,abortSignal){const canMatch=route.canMatch;if(!canMatch||0===canMatch.length)return(0,of.of)(!0);const canMatchObservables=canMatch.map(injectionToken=>{const guard=getTokenOrFunctionIdentity(injectionToken,injector);return wrapIntoObservable(function isCanMatch(guard){return guard&&isFunction(guard.canMatch)}(guard)?guard.canMatch(route,segments,currentSnapshot):(0,_effect_chunk2.N4e)(injector,()=>guard(route,segments,currentSnapshot))).pipe(takeUntilAbort(abortSignal))});return(0,of.of)(canMatchObservables).pipe(prioritizedGuardValue(),redirectIfUrlTree(urlSerializer))}class NoMatch extends Error{segmentGroup;constructor(segmentGroup){super(),this.segmentGroup=segmentGroup||null,Object.setPrototypeOf(this,NoMatch.prototype)}}class AbsoluteRedirect extends Error{urlTree;constructor(urlTree){super(),this.urlTree=urlTree,Object.setPrototypeOf(this,AbsoluteRedirect.prototype)}}function namedOutletsRedirect(redirectTo){throw new _effect_chunk2.buA(4e3,("undefined"==typeof ngDevMode||ngDevMode)&&`Only absolute redirects can have named outlets. redirectTo: '${redirectTo}'`)}class ApplyRedirects{urlSerializer;urlTree;constructor(urlSerializer,urlTree){this.urlSerializer=urlSerializer,this.urlTree=urlTree}lineralizeSegments(route,urlTree){return(0,asyncToGenerator.A)(function*(){let res=[],c=urlTree.root;for(;;){if(res=res.concat(c.segments),0===c.numberOfChildren)return res;if(c.numberOfChildren>1||!c.children.primary)throw namedOutletsRedirect(`${route.redirectTo}`);c=c.children.primary}})()}applyRedirectCommands(segments,redirectTo,posParams,currentSnapshot,injector){var _this=this;return(0,asyncToGenerator.A)(function*(){const redirect=yield function getRedirectResult(redirectTo,currentSnapshot,injector){if("string"==typeof redirectTo)return Promise.resolve(redirectTo);const redirectToFn=redirectTo;return firstValueFrom(wrapIntoObservable((0,_effect_chunk2.N4e)(injector,()=>redirectToFn(currentSnapshot))))}(redirectTo,currentSnapshot,injector);if(redirect instanceof UrlTree)throw new AbsoluteRedirect(redirect);const newTree=_this.applyRedirectCreateUrlTree(redirect,_this.urlSerializer.parse(redirect),segments,posParams);if("/"===redirect[0])throw new AbsoluteRedirect(newTree);return newTree})()}applyRedirectCreateUrlTree(redirectTo,urlTree,segments,posParams){const newRoot=this.createSegmentGroup(redirectTo,urlTree.root,segments,posParams);return new UrlTree(newRoot,this.createQueryParams(urlTree.queryParams,this.urlTree.queryParams),urlTree.fragment)}createQueryParams(redirectToParams,actualParams){const res={};return Object.entries(redirectToParams).forEach(([k,v])=>{if("string"==typeof v&&":"===v[0]){const sourceName=v.substring(1);res[k]=actualParams[sourceName]}else res[k]=v}),res}createSegmentGroup(redirectTo,group,segments,posParams){const updatedSegments=this.createSegments(redirectTo,group.segments,segments,posParams);let children={};return Object.entries(group.children).forEach(([name,child])=>{children[name]=this.createSegmentGroup(redirectTo,child,segments,posParams)}),new UrlSegmentGroup(updatedSegments,children)}createSegments(redirectTo,redirectToSegments,actualSegments,posParams){return redirectToSegments.map(s=>":"===s.path[0]?this.findPosParam(redirectTo,s,posParams):this.findOrReturn(s,actualSegments))}findPosParam(redirectTo,redirectToUrlSegment,posParams){const pos=posParams[redirectToUrlSegment.path.substring(1)];if(!pos)throw new _effect_chunk2.buA(4001,("undefined"==typeof ngDevMode||ngDevMode)&&`Cannot redirect to '${redirectTo}'. Cannot find '${redirectToUrlSegment.path}'.`);return pos}findOrReturn(redirectToUrlSegment,actualSegments){let idx=0;for(const s of actualSegments){if(s.path===redirectToUrlSegment.path)return actualSegments.splice(idx),s;idx++}return redirectToUrlSegment}}function validateConfig(config,parentPath="",requireStandaloneComponents=!1){for(let i=0;i<config.length;i++){const route=config[i];validateNode(route,getFullPath(parentPath,route),requireStandaloneComponents)}}function assertStandalone(fullPath,component){if(component&&(0,_debug_node_chunk.OR8)(component))throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}'. You are using 'loadComponent' with a module, but it must be used with standalone components. Use 'loadChildren' instead.`);if(component&&!(0,_effect_chunk2.QuC)(component))throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}'. The component must be standalone.`)}function validateNode(route,fullPath,requireStandaloneComponents){if("undefined"==typeof ngDevMode||ngDevMode){if(!route)throw new _effect_chunk2.buA(4014,`\n Invalid configuration of route '${fullPath}': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n `);if(Array.isArray(route))throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}': Array cannot be specified`);if(!route.redirectTo&&!route.component&&!route.loadComponent&&!route.children&&!route.loadChildren&&route.outlet&&"primary"!==route.outlet)throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}': a componentless route without children or loadChildren cannot have a named outlet set`);if(route.redirectTo&&route.children)throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}': redirectTo and children cannot be used together`);if(route.redirectTo&&route.loadChildren)throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}': redirectTo and loadChildren cannot be used together`);if(route.children&&route.loadChildren)throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}': children and loadChildren cannot be used together`);if(route.component&&route.loadComponent)throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}': component and loadComponent cannot be used together`);if(route.redirectTo){if(route.component||route.loadComponent)throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}': redirectTo and component/loadComponent cannot be used together`);if(route.canMatch||route.canActivate)throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}': redirectTo and ${route.canMatch?"canMatch":"canActivate"} cannot be used together.Redirects happen before guards are executed.`)}if(route.path&&route.matcher)throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}': path and matcher cannot be used together`);if(!(void 0!==route.redirectTo||route.component||route.loadComponent||route.children||route.loadChildren))throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}'. One of the following must be provided: component, loadComponent, redirectTo, children or loadChildren`);if(void 0===route.path&&void 0===route.matcher)throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}': routes must have either a path or a matcher specified`);if("string"==typeof route.path&&"/"===route.path.charAt(0))throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}': path cannot start with a slash`);if(""===route.path&&void 0!==route.redirectTo&&void 0===route.pathMatch){const exp="The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.";throw new _effect_chunk2.buA(4014,`Invalid configuration of route '{path: "${fullPath}", redirectTo: "${route.redirectTo}"}': please provide 'pathMatch'. ${exp}`)}requireStandaloneComponents&&assertStandalone(fullPath,route.component)}route.children&&validateConfig(route.children,fullPath,requireStandaloneComponents)}function getFullPath(parentPath,currentRoute){return currentRoute?parentPath||currentRoute.path?parentPath&&!currentRoute.path?`${parentPath}/`:!parentPath&¤tRoute.path?currentRoute.path:`${parentPath}/${currentRoute.path}`:"":parentPath}function getOutlet(route){return route.outlet||"primary"}function sortByMatchingOutlets(routes,outletName){const sortedConfig=routes.filter(r=>getOutlet(r)===outletName);return sortedConfig.push(...routes.filter(r=>getOutlet(r)!==outletName)),sortedConfig}const noMatch={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function createPreMatchRouteSnapshot(snapshot){return{routeConfig:snapshot.routeConfig,url:snapshot.url,params:snapshot.params,queryParams:snapshot.queryParams,fragment:snapshot.fragment,data:snapshot.data,outlet:snapshot.outlet,title:snapshot.title,paramMap:snapshot.paramMap,queryParamMap:snapshot.queryParamMap}}function matchWithChecks(segmentGroup,route,segments,injector,urlSerializer,createSnapshot,abortSignal){const result=match(segmentGroup,route,segments);if(!result.matched)return(0,of.of)(result);const currentSnapshot=createPreMatchRouteSnapshot(createSnapshot(result));return injector=function getOrCreateRouteInjectorIfNeeded(route,currentInjector){return route.providers&&!route._injector&&(route._injector=(0,_debug_node_chunk.Ol2)(route.providers,currentInjector,`Route: ${route.path}`)),route._injector??currentInjector}(route,injector),runCanMatchGuards(injector,route,segments,urlSerializer,currentSnapshot,abortSignal).pipe((0,map.T)(v=>!0===v?result:{...noMatch}))}function match(segmentGroup,route,segments){if(""===route.path)return"full"===route.pathMatch&&(segmentGroup.hasChildren()||segments.length>0)?{...noMatch}:{matched:!0,consumedSegments:[],remainingSegments:segments,parameters:{},positionalParamSegments:{}};const res=(route.matcher||defaultUrlMatcher)(segments,segmentGroup,route);if(!res)return{...noMatch};const posParams={};Object.entries(res.posParams??{}).forEach(([k,v])=>{posParams[k]=v.path});const parameters=res.consumed.length>0?{...posParams,...res.consumed[res.consumed.length-1].parameters}:posParams;return{matched:!0,consumedSegments:res.consumed,remainingSegments:segments.slice(res.consumed.length),parameters,positionalParamSegments:res.posParams??{}}}function split(segmentGroup,consumedSegments,slicedSegments,config,outlet){if(slicedSegments.length>0&&function containsEmptyPathMatchesWithNamedOutlets(segmentGroup,slicedSegments,routes,outlet){return routes.some(r=>{if(!emptyPathMatch(segmentGroup,slicedSegments,r))return!1;if(!("primary"!==getOutlet(r)))return!1;return!(void 0!==outlet&&getOutlet(r)===outlet)})}(segmentGroup,slicedSegments,config,outlet)){return{segmentGroup:new UrlSegmentGroup(consumedSegments,function createChildrenForEmptyPaths(routes,primarySegment){const res={};res.primary=primarySegment;for(const r of routes)if(""===r.path&&"primary"!==getOutlet(r)){const s=new UrlSegmentGroup([],{});res[getOutlet(r)]=s}return res}(config,new UrlSegmentGroup(slicedSegments,segmentGroup.children))),slicedSegments:[]}}if(0===slicedSegments.length&&function containsEmptyPathMatches(segmentGroup,slicedSegments,routes){return routes.some(r=>emptyPathMatch(segmentGroup,slicedSegments,r))}(segmentGroup,slicedSegments,config)){const s=new UrlSegmentGroup(segmentGroup.segments,function addEmptyPathsToChildrenIfNeeded(segmentGroup,slicedSegments,routes,children){const res={};for(const r of routes)if(emptyPathMatch(segmentGroup,slicedSegments,r)&&!children[getOutlet(r)]){const s=new UrlSegmentGroup([],{});res[getOutlet(r)]=s}return{...children,...res}}(segmentGroup,slicedSegments,config,segmentGroup.children));return{segmentGroup:s,slicedSegments}}return{segmentGroup:new UrlSegmentGroup(segmentGroup.segments,segmentGroup.children),slicedSegments}}function emptyPathMatch(segmentGroup,slicedSegments,r){return(!(segmentGroup.hasChildren()||slicedSegments.length>0)||"full"!==r.pathMatch)&&""===r.path}class NoLeftoversInUrl{}function _recognize$(){return(_recognize$=(0,asyncToGenerator.A)(function*(injector,configLoader,rootComponentType,config,urlTree,urlSerializer,paramsInheritanceStrategy="emptyOnly",abortSignal){return new Recognizer(injector,configLoader,rootComponentType,config,urlTree,paramsInheritanceStrategy,urlSerializer,abortSignal).recognize()})).apply(this,arguments)}class Recognizer{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(injector,configLoader,rootComponentType,config,urlTree,paramsInheritanceStrategy,urlSerializer,abortSignal){this.injector=injector,this.configLoader=configLoader,this.rootComponentType=rootComponentType,this.config=config,this.urlTree=urlTree,this.paramsInheritanceStrategy=paramsInheritanceStrategy,this.urlSerializer=urlSerializer,this.abortSignal=abortSignal,this.applyRedirects=new ApplyRedirects(this.urlSerializer,this.urlTree)}noMatchError(e){return new _effect_chunk2.buA(4002,"undefined"==typeof ngDevMode||ngDevMode?`Cannot match any routes. URL Segment: '${e.segmentGroup}'`:`'${e.segmentGroup}'`)}recognize(){var _this2=this;return(0,asyncToGenerator.A)(function*(){const rootSegmentGroup=split(_this2.urlTree.root,[],[],_this2.config).segmentGroup,{children,rootSnapshot}=yield _this2.match(rootSegmentGroup),rootNode=new TreeNode(rootSnapshot,children),routeState=new RouterStateSnapshot("",rootNode),tree=function createUrlTreeFromSnapshot(relativeTo,commands,queryParams=null,fragment=null,urlSerializer=new DefaultUrlSerializer){return createUrlTreeFromSegmentGroup(createSegmentGroupFromRoute(relativeTo),commands,queryParams,fragment,urlSerializer)}(rootSnapshot,[],_this2.urlTree.queryParams,_this2.urlTree.fragment);return tree.queryParams=_this2.urlTree.queryParams,routeState.url=_this2.urlSerializer.serialize(tree),{state:routeState,tree}})()}match(rootSegmentGroup){var _this3=this;return(0,asyncToGenerator.A)(function*(){const rootSnapshot=new ActivatedRouteSnapshot([],Object.freeze({}),Object.freeze({..._this3.urlTree.queryParams}),_this3.urlTree.fragment,Object.freeze({}),"primary",_this3.rootComponentType,null,{},_this3.injector);try{return{children:yield _this3.processSegmentGroup(_this3.injector,_this3.config,rootSegmentGroup,"primary",rootSnapshot),rootSnapshot}}catch(e){if(e instanceof AbsoluteRedirect)return _this3.urlTree=e.urlTree,_this3.match(e.urlTree.root);if(e instanceof NoMatch)throw _this3.noMatchError(e);throw e}})()}processSegmentGroup(injector,config,segmentGroup,outlet,parentRoute){var _this4=this;return(0,asyncToGenerator.A)(function*(){if(0===segmentGroup.segments.length&&segmentGroup.hasChildren())return _this4.processChildren(injector,config,segmentGroup,parentRoute);const child=yield _this4.processSegment(injector,config,segmentGroup,segmentGroup.segments,outlet,!0,parentRoute);return child instanceof TreeNode?[child]:[]})()}processChildren(injector,config,segmentGroup,parentRoute){var _this5=this;return(0,asyncToGenerator.A)(function*(){const childOutlets=[];for(const child of Object.keys(segmentGroup.children))"primary"===child?childOutlets.unshift(child):childOutlets.push(child);let children=[];for(const childOutlet of childOutlets){const child=segmentGroup.children[childOutlet],sortedConfig=sortByMatchingOutlets(config,childOutlet),outletChildren=yield _this5.processSegmentGroup(injector,sortedConfig,child,childOutlet,parentRoute);children.push(...outletChildren)}const mergedChildren=mergeEmptyPathMatches(children);return("undefined"==typeof ngDevMode||ngDevMode)&&function checkOutletNameUniqueness(nodes){const names={};nodes.forEach(n=>{const routeWithSameOutletName=names[n.value.outlet];if(routeWithSameOutletName){const p=routeWithSameOutletName.url.map(s=>s.toString()).join("/"),c=n.value.url.map(s=>s.toString()).join("/");throw new _effect_chunk2.buA(4006,("undefined"==typeof ngDevMode||ngDevMode)&&`Two segments cannot have the same outlet name: '${p}' and '${c}'.`)}names[n.value.outlet]=n.value})}(mergedChildren),function sortActivatedRouteSnapshots(nodes){nodes.sort((a,b)=>"primary"===a.value.outlet?-1:"primary"===b.value.outlet?1:a.value.outlet.localeCompare(b.value.outlet))}(mergedChildren),mergedChildren})()}processSegment(injector,routes,segmentGroup,segments,outlet,allowRedirects,parentRoute){var _this6=this;return(0,asyncToGenerator.A)(function*(){for(const r of routes)try{return yield _this6.processSegmentAgainstRoute(r._injector??injector,routes,r,segmentGroup,segments,outlet,allowRedirects,parentRoute)}catch(e){if(e instanceof NoMatch||isEmptyError(e))continue;throw e}if(function noLeftoversInUrl(segmentGroup,segments,outlet){return 0===segments.length&&!segmentGroup.children[outlet]}(segmentGroup,segments,outlet))return new NoLeftoversInUrl;throw new NoMatch(segmentGroup)})()}processSegmentAgainstRoute(injector,routes,route,rawSegment,segments,outlet,allowRedirects,parentRoute){var _this7=this;return(0,asyncToGenerator.A)(function*(){if(getOutlet(route)!==outlet&&("primary"===outlet||!emptyPathMatch(rawSegment,segments,route)))throw new NoMatch(rawSegment);if(void 0===route.redirectTo)return _this7.matchSegmentAgainstRoute(injector,rawSegment,route,segments,outlet,parentRoute);if(_this7.allowRedirects&&allowRedirects)return _this7.expandSegmentAgainstRouteUsingRedirect(injector,rawSegment,routes,route,segments,outlet,parentRoute);throw new NoMatch(rawSegment)})()}expandSegmentAgainstRouteUsingRedirect(injector,segmentGroup,routes,route,segments,outlet,parentRoute){var _this8=this;return(0,asyncToGenerator.A)(function*(){const{matched,parameters,consumedSegments,positionalParamSegments,remainingSegments}=match(segmentGroup,route,segments);if(!matched)throw new NoMatch(segmentGroup);if("string"==typeof route.redirectTo&&"/"===route.redirectTo[0]&&(_this8.absoluteRedirectCount++,_this8.absoluteRedirectCount>31)){if(ngDevMode)throw new _effect_chunk2.buA(4016,`Detected possible infinite redirect when redirecting from '${_this8.urlTree}' to '${route.redirectTo}'.\nThis is currently a dev mode only error but will become a call stack size exceeded error in production in a future major version.`);_this8.allowRedirects=!1}const currentSnapshot=_this8.createSnapshot(injector,route,segments,parameters,parentRoute);if(_this8.abortSignal.aborted)throw new Error(_this8.abortSignal.reason);const newTree=yield _this8.applyRedirects.applyRedirectCommands(consumedSegments,route.redirectTo,positionalParamSegments,createPreMatchRouteSnapshot(currentSnapshot),injector),newSegments=yield _this8.applyRedirects.lineralizeSegments(route,newTree);return _this8.processSegment(injector,routes,segmentGroup,newSegments.concat(remainingSegments),outlet,!1,parentRoute)})()}createSnapshot(injector,route,segments,parameters,parentRoute){const snapshot=new ActivatedRouteSnapshot(segments,parameters,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function getData(route){return route.data||{}}(route),getOutlet(route),route.component??route._loadedComponent??null,route,function getResolve(route){return route.resolve||{}}(route),injector),inherited=getInherited(snapshot,parentRoute,this.paramsInheritanceStrategy);return snapshot.params=Object.freeze(inherited.params),snapshot.data=Object.freeze(inherited.data),snapshot}matchSegmentAgainstRoute(injector,rawSegment,route,segments,outlet,parentRoute){var _this9=this;return(0,asyncToGenerator.A)(function*(){if(_this9.abortSignal.aborted)throw new Error(_this9.abortSignal.reason);const result=yield firstValueFrom(matchWithChecks(rawSegment,route,segments,injector,_this9.urlSerializer,result=>_this9.createSnapshot(injector,route,result.consumedSegments,result.parameters,parentRoute),_this9.abortSignal));if("**"===route.path&&(rawSegment.children={}),!result?.matched)throw new NoMatch(rawSegment);injector=route._injector??injector;const{routes:childConfig}=yield _this9.getChildConfig(injector,route,segments),childInjector=route._loadedInjector??injector,{parameters,consumedSegments,remainingSegments}=result,snapshot=_this9.createSnapshot(injector,route,consumedSegments,parameters,parentRoute),{segmentGroup,slicedSegments}=split(rawSegment,consumedSegments,remainingSegments,childConfig,outlet);if(0===slicedSegments.length&&segmentGroup.hasChildren()){const children=yield _this9.processChildren(childInjector,childConfig,segmentGroup,snapshot);return new TreeNode(snapshot,children)}if(0===childConfig.length&&0===slicedSegments.length)return new TreeNode(snapshot,[]);const matchedOnOutlet=getOutlet(route)===outlet,child=yield _this9.processSegment(childInjector,childConfig,segmentGroup,slicedSegments,matchedOnOutlet?"primary":outlet,!0,snapshot);return new TreeNode(snapshot,child instanceof TreeNode?[child]:[])})()}getChildConfig(injector,route,segments){var _this0=this;return(0,asyncToGenerator.A)(function*(){if(route.children)return{routes:route.children,injector};if(route.loadChildren){if(void 0!==route._loadedRoutes){const ngModuleFactory=route._loadedNgModuleFactory;return ngModuleFactory&&!route._loadedInjector&&(route._loadedInjector=ngModuleFactory.create(injector).injector),{routes:route._loadedRoutes,injector:route._loadedInjector}}if(_this0.abortSignal.aborted)throw new Error(_this0.abortSignal.reason);if(yield firstValueFrom(runCanLoadGuards(injector,route,segments,_this0.urlSerializer,_this0.abortSignal))){const cfg=yield _this0.configLoader.loadChildren(injector,route);return route._loadedRoutes=cfg.routes,route._loadedInjector=cfg.injector,route._loadedNgModuleFactory=cfg.factory,cfg}throw function canLoadFails(route){throw navigationCancelingError(("undefined"==typeof ngDevMode||ngDevMode)&&`Cannot load children because the guard of the route "path: '${route.path}'" returned false`,NavigationCancellationCode.GuardRejected)}(route)}return{routes:[],injector}})()}}function hasEmptyPathConfig(node){const config=node.value.routeConfig;return config&&""===config.path}function mergeEmptyPathMatches(nodes){const result=[],mergedNodes=new Set;for(const node of nodes){if(!hasEmptyPathConfig(node)){result.push(node);continue}const duplicateEmptyPathNode=result.find(resultNode=>node.value.routeConfig===resultNode.value.routeConfig);void 0!==duplicateEmptyPathNode?(duplicateEmptyPathNode.children.push(...node.children),mergedNodes.add(duplicateEmptyPathNode)):result.push(node)}for(const mergedNode of mergedNodes){const mergedChildren=mergeEmptyPathMatches(mergedNode.children);result.push(new TreeNode(mergedNode.value,mergedChildren))}return result.filter(n=>!mergedNodes.has(n))}function recognize(injector,configLoader,rootComponentType,config,serializer,paramsInheritanceStrategy,abortSignal){return(0,mergeMap.Z)(function(){var _ref=(0,asyncToGenerator.A)(function*(t){const{state:targetSnapshot,tree:urlAfterRedirects}=yield function recognize$1(_x,_x2,_x3,_x4,_x5,_x6){return _recognize$.apply(this,arguments)}(injector,configLoader,rootComponentType,config,t.extractedUrl,serializer,paramsInheritanceStrategy,abortSignal);return{...t,targetSnapshot,urlAfterRedirects}});return function(_x7){return _ref.apply(this,arguments)}}())}function resolveData(paramsInheritanceStrategy){return(0,mergeMap.Z)(t=>{const{targetSnapshot,guards:{canActivateChecks}}=t;if(!canActivateChecks.length)return(0,of.of)(t);const routesWithResolversToRun=new Set(canActivateChecks.map(check=>check.route)),routesNeedingDataUpdates=new Set;for(const route of routesWithResolversToRun)if(!routesNeedingDataUpdates.has(route))for(const newRoute of flattenRouteTree(route))routesNeedingDataUpdates.add(newRoute);let routesProcessed=0;return(0,from.H)(routesNeedingDataUpdates).pipe((0,concatMap.H)(route=>routesWithResolversToRun.has(route)?function runResolve(futureARS,futureRSS,paramsInheritanceStrategy){const config=futureARS.routeConfig,resolve=futureARS._resolve;void 0===config?.title||hasStaticTitle(config)||(resolve[RouteTitleKey]=config.title);return defer(()=>(futureARS.data=getInherited(futureARS,futureARS.parent,paramsInheritanceStrategy).resolve,function resolveNode(resolve,futureARS,futureRSS){const keys=getDataKeys(resolve);if(0===keys.length)return(0,of.of)({});const data={};return(0,from.H)(keys).pipe((0,mergeMap.Z)(key=>function getResolver(injectionToken,futureARS,futureRSS){const closestInjector=futureARS._environmentInjector,resolver=getTokenOrFunctionIdentity(injectionToken,closestInjector),resolverValue=resolver.resolve?resolver.resolve(futureARS,futureRSS):(0,_effect_chunk2.N4e)(closestInjector,()=>resolver(futureARS,futureRSS));return wrapIntoObservable(resolverValue)}(resolve[key],futureARS,futureRSS).pipe((0,first.$)(),(0,tap.M)(value=>{if(value instanceof RedirectCommand)throw redirectingNavigationError(new DefaultUrlSerializer,value);data[key]=value}))),takeLast(1),(0,map.T)(()=>data),(0,catchError.W)(e=>isEmptyError(e)?empty.w:(0,throwError.$)(e)))}(resolve,futureARS,futureRSS).pipe((0,map.T)(resolvedData=>(futureARS._resolvedData=resolvedData,futureARS.data={...futureARS.data,...resolvedData},null)))))}(route,targetSnapshot,paramsInheritanceStrategy):(route.data=getInherited(route,route.parent,paramsInheritanceStrategy).resolve,(0,of.of)(void 0))),(0,tap.M)(()=>routesProcessed++),takeLast(1),(0,mergeMap.Z)(_=>routesProcessed===routesNeedingDataUpdates.size?(0,of.of)(t):empty.w))})}function flattenRouteTree(route){const descendants=route.children.map(child=>flattenRouteTree(child)).flat();return[route,...descendants]}function switchTap(next){return(0,switchMap.n)(v=>{const nextResult=next(v);return nextResult?(0,from.H)(nextResult).pipe((0,map.T)(()=>v)):(0,of.of)(v)})}class TitleStrategy{buildTitle(snapshot){let pageTitle,route=snapshot.root;for(;void 0!==route;)pageTitle=this.getResolvedTitleForRoute(route)??pageTitle,route=route.children.find(child=>"primary"===child.outlet);return pageTitle}getResolvedTitleForRoute(snapshot){return snapshot.data[RouteTitleKey]}static ɵfac=function TitleStrategy_Factory(__ngFactoryType__){return new(__ngFactoryType__||TitleStrategy)};static ɵprov=_effect_chunk2.jDH({token:TitleStrategy,factory:()=>(0,_effect_chunk2.WQX)(DefaultTitleStrategy),providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(TitleStrategy,[{type:_debug_node_chunk._qm,args:[{providedIn:"root",useFactory:()=>(0,_effect_chunk2.WQX)(DefaultTitleStrategy)}]}],null,null);class DefaultTitleStrategy extends TitleStrategy{title;constructor(title){super(),this.title=title}updateTitle(snapshot){const title=this.buildTitle(snapshot);void 0!==title&&this.title.setTitle(title)}static ɵfac=function DefaultTitleStrategy_Factory(__ngFactoryType__){return new(__ngFactoryType__||DefaultTitleStrategy)(_effect_chunk2.KVO(Title))};static ɵprov=_effect_chunk2.jDH({token:DefaultTitleStrategy,factory:DefaultTitleStrategy.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(DefaultTitleStrategy,[{type:_debug_node_chunk._qm,args:[{providedIn:"root"}]}],()=>[{type:Title}],null);const ROUTER_CONFIGURATION=new _effect_chunk2.nKC("undefined"==typeof ngDevMode||ngDevMode?"router config":"",{factory:()=>({})}),ROUTES=new _effect_chunk2.nKC("undefined"!=typeof ngDevMode&&ngDevMode?"ROUTES":"");class RouterConfigLoader{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,_effect_chunk2.WQX)(_debug_node_chunk.Ql9);loadComponent(injector,route){var _this1=this;return(0,asyncToGenerator.A)(function*(){if(_this1.componentLoaders.get(route))return _this1.componentLoaders.get(route);if(route._loadedComponent)return Promise.resolve(route._loadedComponent);_this1.onLoadStartListener&&_this1.onLoadStartListener(route);const loader=(0,asyncToGenerator.A)(function*(){try{const loaded=yield wrapIntoPromise((0,_effect_chunk2.N4e)(injector,()=>route.loadComponent())),component=yield maybeResolveResources(maybeUnwrapDefaultExport(loaded));return _this1.onLoadEndListener&&_this1.onLoadEndListener(route),("undefined"==typeof ngDevMode||ngDevMode)&&assertStandalone(route.path??"",component),route._loadedComponent=component,component}finally{_this1.componentLoaders.delete(route)}})();return _this1.componentLoaders.set(route,loader),loader})()}loadChildren(parentInjector,route){var _this10=this;if(this.childrenLoaders.get(route))return this.childrenLoaders.get(route);if(route._loadedRoutes)return Promise.resolve({routes:route._loadedRoutes,injector:route._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(route);const loader=(0,asyncToGenerator.A)(function*(){try{const result=yield function loadChildren(_x8,_x9,_x0,_x1){return _loadChildren.apply(this,arguments)}(route,_this10.compiler,parentInjector,_this10.onLoadEndListener);return route._loadedRoutes=result.routes,route._loadedInjector=result.injector,route._loadedNgModuleFactory=result.factory,result}finally{_this10.childrenLoaders.delete(route)}})();return this.childrenLoaders.set(route,loader),loader}static ɵfac=function RouterConfigLoader_Factory(__ngFactoryType__){return new(__ngFactoryType__||RouterConfigLoader)};static ɵprov=_effect_chunk2.jDH({token:RouterConfigLoader,factory:RouterConfigLoader.ɵfac,providedIn:"root"})}function _loadChildren(){return(_loadChildren=(0,asyncToGenerator.A)(function*(route,compiler,parentInjector,onLoadEndListener){const loaded=yield wrapIntoPromise((0,_effect_chunk2.N4e)(parentInjector,()=>route.loadChildren())),t=yield maybeResolveResources(maybeUnwrapDefaultExport(loaded));let factoryOrRoutes,injector,rawRoutes;factoryOrRoutes=t instanceof _debug_node_chunk.PYt||Array.isArray(t)?t:yield compiler.compileModuleAsync(t),onLoadEndListener&&onLoadEndListener(route);let factory,requireStandaloneComponents=!1;Array.isArray(factoryOrRoutes)?(rawRoutes=factoryOrRoutes,requireStandaloneComponents=!0):(injector=factoryOrRoutes.create(parentInjector).injector,factory=factoryOrRoutes,rawRoutes=injector.get(ROUTES,[],{optional:!0,self:!0}).flat());const routes=rawRoutes.map(standardizeConfig);return("undefined"==typeof ngDevMode||ngDevMode)&&validateConfig(routes,route.path,requireStandaloneComponents),{routes,injector,factory}})).apply(this,arguments)}function maybeUnwrapDefaultExport(input){return function isWrappedDefaultExport(value){return value&&"object"==typeof value&&"default"in value}(input)?input.default:input}function maybeResolveResources(_x10){return _maybeResolveResources.apply(this,arguments)}function _maybeResolveResources(){return(_maybeResolveResources=(0,asyncToGenerator.A)(function*(value){if(("undefined"==typeof ngJitMode||ngJitMode)&&"function"==typeof fetch)try{yield(0,_debug_node_chunk.Zhj)(fetch)}catch(error){console.error(error)}return value})).apply(this,arguments)}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(RouterConfigLoader,[{type:_debug_node_chunk._qm,args:[{providedIn:"root"}]}],null,null);class UrlHandlingStrategy{static ɵfac=function UrlHandlingStrategy_Factory(__ngFactoryType__){return new(__ngFactoryType__||UrlHandlingStrategy)};static ɵprov=_effect_chunk2.jDH({token:UrlHandlingStrategy,factory:()=>(0,_effect_chunk2.WQX)(DefaultUrlHandlingStrategy),providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(UrlHandlingStrategy,[{type:_debug_node_chunk._qm,args:[{providedIn:"root",useFactory:()=>(0,_effect_chunk2.WQX)(DefaultUrlHandlingStrategy)}]}],null,null);class DefaultUrlHandlingStrategy{shouldProcessUrl(url){return!0}extract(url){return url}merge(newUrlPart,wholeUrl){return newUrlPart}static ɵfac=function DefaultUrlHandlingStrategy_Factory(__ngFactoryType__){return new(__ngFactoryType__||DefaultUrlHandlingStrategy)};static ɵprov=_effect_chunk2.jDH({token:DefaultUrlHandlingStrategy,factory:DefaultUrlHandlingStrategy.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(DefaultUrlHandlingStrategy,[{type:_debug_node_chunk._qm,args:[{providedIn:"root"}]}],null,null);const CREATE_VIEW_TRANSITION=new _effect_chunk2.nKC("undefined"!=typeof ngDevMode&&ngDevMode?"view transition helper":""),VIEW_TRANSITION_OPTIONS=new _effect_chunk2.nKC("undefined"!=typeof ngDevMode&&ngDevMode?"view transition options":"");function createViewTransition(injector,from,to){const transitionOptions=injector.get(VIEW_TRANSITION_OPTIONS),document=injector.get(_effect_chunk2.qQL);if(!document.startViewTransition||transitionOptions.skipNextTransition)return transitionOptions.skipNextTransition=!1,new Promise(resolve=>setTimeout(resolve));let resolveViewTransitionStarted;const viewTransitionStarted=new Promise(resolve=>{resolveViewTransitionStarted=resolve}),transition=document.startViewTransition(()=>(resolveViewTransitionStarted(),function createRenderPromise(injector){return new Promise(resolve=>{(0,_debug_node_chunk.mal)({read:()=>setTimeout(resolve)},{injector})})}(injector)));transition.updateCallbackDone.catch(error=>{("undefined"==typeof ngDevMode||ngDevMode)&&console.error(error)}),transition.ready.catch(error=>{("undefined"==typeof ngDevMode||ngDevMode)&&console.error(error)}),transition.finished.catch(error=>{("undefined"==typeof ngDevMode||ngDevMode)&&console.error(error)});const{onViewTransitionCreated}=transitionOptions;return onViewTransitionCreated&&(0,_effect_chunk2.N4e)(injector,()=>onViewTransitionCreated({transition,from,to})),viewTransitionStarted}const noop=()=>{},NAVIGATION_ERROR_HANDLER=new _effect_chunk2.nKC("undefined"==typeof ngDevMode||ngDevMode?"navigation error handler":"");class NavigationTransitions{currentNavigation=(0,_effect_chunk2.vPA)(null,{...ngDevMode?{debugName:"currentNavigation"}:{},equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=(0,_effect_chunk2.vPA)(null,...ngDevMode?[{debugName:"lastSuccessfulNavigation"}]:[]);events=new Subject.B;transitionAbortWithErrorSubject=new Subject.B;configLoader=(0,_effect_chunk2.WQX)(RouterConfigLoader);environmentInjector=(0,_effect_chunk2.WQX)(_effect_chunk2.uvJ);destroyRef=(0,_effect_chunk2.WQX)(_effect_chunk2.abz);urlSerializer=(0,_effect_chunk2.WQX)(UrlSerializer);rootContexts=(0,_effect_chunk2.WQX)(ChildrenOutletContexts);location=(0,_effect_chunk2.WQX)(_location_chunk.aZ);inputBindingEnabled=null!==(0,_effect_chunk2.WQX)(INPUT_BINDER,{optional:!0});titleStrategy=(0,_effect_chunk2.WQX)(TitleStrategy);options=(0,_effect_chunk2.WQX)(ROUTER_CONFIGURATION,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,_effect_chunk2.WQX)(UrlHandlingStrategy);createViewTransition=(0,_effect_chunk2.WQX)(CREATE_VIEW_TRANSITION,{optional:!0});navigationErrorHandler=(0,_effect_chunk2.WQX)(NAVIGATION_ERROR_HANDLER,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,of.of)(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=r=>this.events.next(new RouteConfigLoadEnd(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new RouteConfigLoadStart(r)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(request){const id=++this.navigationId;(0,_resource_chunk.O8)(()=>{this.transitions?.next({...request,extractedUrl:this.urlHandlingStrategy.extract(request.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id,routesRecognizeHandler:{},beforeActivateHandler:{}})})}setupNavigations(router){return this.transitions=new BehaviorSubject.t(null),this.transitions.pipe((0,filter.p)(t=>null!==t),(0,switchMap.n)(overallTransitionState=>{let completedOrAborted=!1;const abortController=new AbortController,shouldContinueNavigation=()=>!completedOrAborted&&this.currentTransition?.id===overallTransitionState.id;return(0,of.of)(overallTransitionState).pipe((0,switchMap.n)(t=>{if(this.navigationId>overallTransitionState.id){const cancellationReason="undefined"==typeof ngDevMode||ngDevMode?`Navigation ID ${overallTransitionState.id} is not equal to the current navigation id ${this.navigationId}`:"";return this.cancelNavigationTransition(overallTransitionState,cancellationReason,NavigationCancellationCode.SupersededByNewNavigation),empty.w}this.currentTransition=overallTransitionState;const lastSuccessfulNavigation=this.lastSuccessfulNavigation();this.currentNavigation.set({id:t.id,initialUrl:t.rawUrl,extractedUrl:t.extractedUrl,targetBrowserUrl:"string"==typeof t.extras.browserUrl?this.urlSerializer.parse(t.extras.browserUrl):t.extras.browserUrl,trigger:t.source,extras:t.extras,previousNavigation:lastSuccessfulNavigation?{...lastSuccessfulNavigation,previousNavigation:null}:null,abort:()=>abortController.abort(),routesRecognizeHandler:t.routesRecognizeHandler,beforeActivateHandler:t.beforeActivateHandler});const urlTransition=!router.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),onSameUrlNavigation=t.extras.onSameUrlNavigation??router.onSameUrlNavigation;if(!urlTransition&&"reload"!==onSameUrlNavigation){const reason="undefined"==typeof ngDevMode||ngDevMode?`Navigation to ${t.rawUrl} was ignored because it is the same as the current Router URL.`:"";return this.events.next(new NavigationSkipped(t.id,this.urlSerializer.serialize(t.rawUrl),reason,NavigationSkippedCode.IgnoredSameUrlNavigation)),t.resolve(!1),empty.w}if(this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return(0,of.of)(t).pipe((0,switchMap.n)(t=>(this.events.next(new NavigationStart(t.id,this.urlSerializer.serialize(t.extractedUrl),t.source,t.restoredState)),t.id!==this.navigationId?empty.w:Promise.resolve(t))),recognize(this.environmentInjector,this.configLoader,this.rootComponentType,router.config,this.urlSerializer,this.paramsInheritanceStrategy,abortController.signal),(0,tap.M)(t=>{overallTransitionState.targetSnapshot=t.targetSnapshot,overallTransitionState.urlAfterRedirects=t.urlAfterRedirects,this.currentNavigation.update(nav=>(nav.finalUrl=t.urlAfterRedirects,nav)),this.events.next(new BeforeRoutesRecognized)}),(0,switchMap.n)(value=>(0,from.H)(overallTransitionState.routesRecognizeHandler.deferredHandle??(0,of.of)(void 0)).pipe((0,map.T)(()=>value))),(0,tap.M)(()=>{const routesRecognized=new RoutesRecognized(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(routesRecognized)}));if(urlTransition&&this.urlHandlingStrategy.shouldProcessUrl(t.currentRawUrl)){const{id,extractedUrl,source,restoredState,extras}=t,navStart=new NavigationStart(id,this.urlSerializer.serialize(extractedUrl),source,restoredState);this.events.next(navStart);const targetSnapshot=createEmptyState(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=overallTransitionState={...t,targetSnapshot,urlAfterRedirects:extractedUrl,extras:{...extras,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.update(nav=>(nav.finalUrl=extractedUrl,nav)),(0,of.of)(overallTransitionState)}{const reason="undefined"==typeof ngDevMode||ngDevMode?`Navigation was ignored because the UrlHandlingStrategy indicated neither the current URL ${t.currentRawUrl} nor target URL ${t.rawUrl} should be processed.`:"";return this.events.next(new NavigationSkipped(t.id,this.urlSerializer.serialize(t.extractedUrl),reason,NavigationSkippedCode.IgnoredByUrlHandlingStrategy)),t.resolve(!1),empty.w}}),(0,map.T)(t=>{const guardsStart=new GuardsCheckStart(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);return this.events.next(guardsStart),this.currentTransition=overallTransitionState={...t,guards:getAllRouteGuards(t.targetSnapshot,t.currentSnapshot,this.rootContexts)},overallTransitionState}),checkGuards(evt=>this.events.next(evt)),(0,switchMap.n)(t=>{if(overallTransitionState.guardsResult=t.guardsResult,t.guardsResult&&"boolean"!=typeof t.guardsResult)throw redirectingNavigationError(this.urlSerializer,t.guardsResult);const guardsEnd=new GuardsCheckEnd(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);if(this.events.next(guardsEnd),!shouldContinueNavigation())return empty.w;if(!t.guardsResult)return this.cancelNavigationTransition(t,"",NavigationCancellationCode.GuardRejected),empty.w;if(0===t.guards.canActivateChecks.length)return(0,of.of)(t);const resolveStart=new ResolveStart(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);if(this.events.next(resolveStart),!shouldContinueNavigation())return empty.w;let dataResolved=!1;return(0,of.of)(t).pipe(resolveData(this.paramsInheritanceStrategy),(0,tap.M)({next:()=>{dataResolved=!0;const resolveEnd=new ResolveEnd(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(resolveEnd)},complete:()=>{dataResolved||this.cancelNavigationTransition(t,"undefined"==typeof ngDevMode||ngDevMode?"At least one route resolver didn't emit any value.":"",NavigationCancellationCode.NoDataFromResolver)}}))}),switchTap(t=>{const loadComponents=route=>{const loaders=[];if(route.routeConfig?._loadedComponent)route.component=route.routeConfig?._loadedComponent;else if(route.routeConfig?.loadComponent){const injector=route._environmentInjector;loaders.push(this.configLoader.loadComponent(injector,route.routeConfig).then(loadedComponent=>{route.component=loadedComponent}))}for(const child of route.children)loaders.push(...loadComponents(child));return loaders},loaders=loadComponents(t.targetSnapshot.root);return 0===loaders.length?(0,of.of)(t):(0,from.H)(Promise.all(loaders).then(()=>t))}),switchTap(()=>this.afterPreactivation()),(0,switchMap.n)(()=>{const{currentSnapshot,targetSnapshot}=overallTransitionState,viewTransitionStarted=this.createViewTransition?.(this.environmentInjector,currentSnapshot.root,targetSnapshot.root);return viewTransitionStarted?(0,from.H)(viewTransitionStarted).pipe((0,map.T)(()=>overallTransitionState)):(0,of.of)(overallTransitionState)}),(0,take.s)(1),(0,switchMap.n)(t=>{const targetRouterState=function createRouterState(routeReuseStrategy,curr,prevState){const root=createNode(routeReuseStrategy,curr._root,prevState?prevState._root:void 0);return new RouterState(root,curr)}(router.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);this.currentTransition=overallTransitionState=t={...t,targetRouterState},this.currentNavigation.update(nav=>(nav.targetRouterState=targetRouterState,nav)),this.events.next(new BeforeActivateRoutes);const deferred=overallTransitionState.beforeActivateHandler.deferredHandle;return deferred?(0,from.H)(deferred.then(()=>t)):(0,of.of)(t)}),(0,tap.M)(t=>{new ActivateRoutes(router.routeReuseStrategy,overallTransitionState.targetRouterState,overallTransitionState.currentRouterState,evt=>this.events.next(evt),this.inputBindingEnabled).activate(this.rootContexts),shouldContinueNavigation()&&(completedOrAborted=!0,this.currentNavigation.update(nav=>(nav.abort=noop,nav)),this.lastSuccessfulNavigation.set((0,_resource_chunk.O8)(this.currentNavigation)),this.events.next(new NavigationEnd(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects))),this.titleStrategy?.updateTitle(t.targetRouterState.snapshot),t.resolve(!0))}),(0,takeUntil.Q)(abortSignalToObservable(abortController.signal).pipe((0,filter.p)(()=>!completedOrAborted&&!overallTransitionState.targetRouterState),(0,tap.M)(()=>{this.cancelNavigationTransition(overallTransitionState,abortController.signal.reason+"",NavigationCancellationCode.Aborted)}))),(0,tap.M)({complete:()=>{completedOrAborted=!0}}),(0,takeUntil.Q)(this.transitionAbortWithErrorSubject.pipe((0,tap.M)(err=>{throw err}))),(0,finalize.j)(()=>{if(abortController.abort(),!completedOrAborted){const cancelationReason="undefined"==typeof ngDevMode||ngDevMode?`Navigation ID ${overallTransitionState.id} is not equal to the current navigation id ${this.navigationId}`:"";this.cancelNavigationTransition(overallTransitionState,cancelationReason,NavigationCancellationCode.SupersededByNewNavigation)}this.currentTransition?.id===overallTransitionState.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),(0,catchError.W)(e=>{if(completedOrAborted=!0,this.destroyed)return overallTransitionState.resolve(!1),empty.w;if(isNavigationCancelingError(e))this.events.next(new NavigationCancel(overallTransitionState.id,this.urlSerializer.serialize(overallTransitionState.extractedUrl),e.message,e.cancellationCode)),!function isRedirectingNavigationCancelingError(error){return isNavigationCancelingError(error)&&isUrlTree(error.url)}(e)?overallTransitionState.resolve(!1):this.events.next(new RedirectRequest(e.url,e.navigationBehaviorOptions));else{const navigationError=new NavigationError(overallTransitionState.id,this.urlSerializer.serialize(overallTransitionState.extractedUrl),e,overallTransitionState.targetSnapshot??void 0);try{const navigationErrorHandlerResult=(0,_effect_chunk2.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(navigationError));if(!(navigationErrorHandlerResult instanceof RedirectCommand))throw this.events.next(navigationError),e;{const{message,cancellationCode}=redirectingNavigationError(this.urlSerializer,navigationErrorHandlerResult);this.events.next(new NavigationCancel(overallTransitionState.id,this.urlSerializer.serialize(overallTransitionState.extractedUrl),message,cancellationCode)),this.events.next(new RedirectRequest(navigationErrorHandlerResult.redirectTo,navigationErrorHandlerResult.navigationBehaviorOptions))}}catch(ee){this.options.resolveNavigationPromiseOnError?overallTransitionState.resolve(!1):overallTransitionState.reject(ee)}}return empty.w}))}))}cancelNavigationTransition(t,reason,code){const navCancel=new NavigationCancel(t.id,this.urlSerializer.serialize(t.extractedUrl),reason,code);this.events.next(navCancel),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const currentBrowserUrl=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),currentNavigation=(0,_resource_chunk.O8)(this.currentNavigation),targetBrowserUrl=currentNavigation?.targetBrowserUrl??currentNavigation?.extractedUrl;return currentBrowserUrl.toString()!==targetBrowserUrl?.toString()&&!currentNavigation?.extras.skipLocationChange}static ɵfac=function NavigationTransitions_Factory(__ngFactoryType__){return new(__ngFactoryType__||NavigationTransitions)};static ɵprov=_effect_chunk2.jDH({token:NavigationTransitions,factory:NavigationTransitions.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(NavigationTransitions,[{type:_debug_node_chunk._qm,args:[{providedIn:"root"}]}],()=>[],null);const ROUTE_INJECTOR_CLEANUP=new _effect_chunk2.nKC("undefined"==typeof ngDevMode||ngDevMode?"RouteInjectorCleanup":"");class RouteReuseStrategy{static ɵfac=function RouteReuseStrategy_Factory(__ngFactoryType__){return new(__ngFactoryType__||RouteReuseStrategy)};static ɵprov=_effect_chunk2.jDH({token:RouteReuseStrategy,factory:()=>(0,_effect_chunk2.WQX)(DefaultRouteReuseStrategy),providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(RouteReuseStrategy,[{type:_debug_node_chunk._qm,args:[{providedIn:"root",useFactory:()=>(0,_effect_chunk2.WQX)(DefaultRouteReuseStrategy)}]}],null,null);class BaseRouteReuseStrategy{shouldDetach(route){return!1}store(route,detachedTree){}shouldAttach(route){return!1}retrieve(route){return null}shouldReuseRoute(future,curr){return future.routeConfig===curr.routeConfig}shouldDestroyInjector(route){return!0}}class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy{static ɵfac=(()=>{let ɵDefaultRouteReuseStrategy_BaseFactory;return function DefaultRouteReuseStrategy_Factory(__ngFactoryType__){return(ɵDefaultRouteReuseStrategy_BaseFactory||(ɵDefaultRouteReuseStrategy_BaseFactory=_debug_node_chunk.xGo(DefaultRouteReuseStrategy)))(__ngFactoryType__||DefaultRouteReuseStrategy)}})();static ɵprov=_effect_chunk2.jDH({token:DefaultRouteReuseStrategy,factory:DefaultRouteReuseStrategy.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(DefaultRouteReuseStrategy,[{type:_debug_node_chunk._qm,args:[{providedIn:"root"}]}],null,null);class StateManager{urlSerializer=(0,_effect_chunk2.WQX)(UrlSerializer);options=(0,_effect_chunk2.WQX)(ROUTER_CONFIGURATION,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=(0,_effect_chunk2.WQX)(_location_chunk.aZ);urlHandlingStrategy=(0,_effect_chunk2.WQX)(UrlHandlingStrategy);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new UrlTree;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl,initialUrl,targetBrowserUrl}){const rawUrl=void 0!==finalUrl?this.urlHandlingStrategy.merge(finalUrl,initialUrl):initialUrl,url=targetBrowserUrl??rawUrl;return url instanceof UrlTree?this.urlSerializer.serialize(url):url}routerUrlState(navigation){return void 0===navigation?.targetBrowserUrl||void 0===navigation?.finalUrl?{}:{ɵrouterUrl:this.urlSerializer.serialize(navigation.finalUrl)}}commitTransition({targetRouterState,finalUrl,initialUrl}){finalUrl&&targetRouterState?(this.currentUrlTree=finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(finalUrl,initialUrl),this.routerState=targetRouterState):this.rawUrlTree=initialUrl}routerState=createEmptyState(null,(0,_effect_chunk2.WQX)(_effect_chunk2.uvJ));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static ɵfac=function StateManager_Factory(__ngFactoryType__){return new(__ngFactoryType__||StateManager)};static ɵprov=_effect_chunk2.jDH({token:StateManager,factory:()=>(0,_effect_chunk2.WQX)(HistoryStateManager),providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(StateManager,[{type:_debug_node_chunk._qm,args:[{providedIn:"root",useFactory:()=>(0,_effect_chunk2.WQX)(HistoryStateManager)}]}],null,null);class HistoryStateManager extends StateManager{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.ɵrouterPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(listener){return this.location.subscribe(event=>{"popstate"===event.type&&setTimeout(()=>{listener(event.url,event.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(e,currentTransition){e instanceof NavigationStart?this.updateStateMemento():e instanceof NavigationSkipped?this.commitTransition(currentTransition):e instanceof RoutesRecognized?"eager"===this.urlUpdateStrategy&&(currentTransition.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(currentTransition),currentTransition)):e instanceof BeforeActivateRoutes?(this.commitTransition(currentTransition),"deferred"!==this.urlUpdateStrategy||currentTransition.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(currentTransition),currentTransition)):e instanceof NavigationCancel&&!isRedirectingEvent(e)?this.restoreHistory(currentTransition):e instanceof NavigationError?this.restoreHistory(currentTransition,!0):e instanceof NavigationEnd&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(path,navigation){const{extras,id}=navigation,{replaceUrl,state}=extras;if(this.location.isCurrentPathEqualTo(path)||replaceUrl){const currentBrowserPageId=this.browserPageId,newState={...state,...this.generateNgRouterState(id,currentBrowserPageId,navigation)};this.location.replaceState(path,"",newState)}else{const newState={...state,...this.generateNgRouterState(id,this.browserPageId+1,navigation)};this.location.go(path,"",newState)}}restoreHistory(navigation,restoringFromCaughtError=!1){if("computed"===this.canceledNavigationResolution){const currentBrowserPageId=this.browserPageId,targetPagePosition=this.currentPageId-currentBrowserPageId;0!==targetPagePosition?this.location.historyGo(targetPagePosition):this.getCurrentUrlTree()===navigation.finalUrl&&0===targetPagePosition&&(this.resetInternalState(navigation),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(restoringFromCaughtError&&this.resetInternalState(navigation),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(navigationId,routerPageId,navigation){return"computed"===this.canceledNavigationResolution?{navigationId,ɵrouterPageId:routerPageId,...this.routerUrlState(navigation)}:{navigationId,...this.routerUrlState(navigation)}}static ɵfac=(()=>{let ɵHistoryStateManager_BaseFactory;return function HistoryStateManager_Factory(__ngFactoryType__){return(ɵHistoryStateManager_BaseFactory||(ɵHistoryStateManager_BaseFactory=_debug_node_chunk.xGo(HistoryStateManager)))(__ngFactoryType__||HistoryStateManager)}})();static ɵprov=_effect_chunk2.jDH({token:HistoryStateManager,factory:HistoryStateManager.ɵfac,providedIn:"root"})}function afterNextNavigation(router,action){router.events.pipe((0,filter.p)(e=>e instanceof NavigationEnd||e instanceof NavigationCancel||e instanceof NavigationError||e instanceof NavigationSkipped),(0,map.T)(e=>{if(e instanceof NavigationEnd||e instanceof NavigationSkipped)return 0;return e instanceof NavigationCancel&&(e.code===NavigationCancellationCode.Redirect||e.code===NavigationCancellationCode.SupersededByNewNavigation)?2:1}),(0,filter.p)(result=>2!==result),(0,take.s)(1)).subscribe(()=>{action()})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(HistoryStateManager,[{type:_debug_node_chunk._qm,args:[{providedIn:"root"}]}],null,null);class Router{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,_effect_chunk2.WQX)(_debug_node_chunk.C7A);stateManager=(0,_effect_chunk2.WQX)(StateManager);options=(0,_effect_chunk2.WQX)(ROUTER_CONFIGURATION,{optional:!0})||{};pendingTasks=(0,_effect_chunk2.WQX)(_effect_chunk2.rev);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,_effect_chunk2.WQX)(NavigationTransitions);urlSerializer=(0,_effect_chunk2.WQX)(UrlSerializer);location=(0,_effect_chunk2.WQX)(_location_chunk.aZ);urlHandlingStrategy=(0,_effect_chunk2.WQX)(UrlHandlingStrategy);injector=(0,_effect_chunk2.WQX)(_effect_chunk2.uvJ);_events=new Subject.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,_effect_chunk2.WQX)(RouteReuseStrategy);injectorCleanup=(0,_effect_chunk2.WQX)(ROUTE_INJECTOR_CLEANUP,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,_effect_chunk2.WQX)(ROUTES,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,_effect_chunk2.WQX)(INPUT_BINDER,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new Subscription.yU;subscribeToNavigationEvents(){const subscription=this.navigationTransitions.events.subscribe(e=>{try{const currentTransition=this.navigationTransitions.currentTransition,currentNavigation=(0,_resource_chunk.O8)(this.navigationTransitions.currentNavigation);if(null!==currentTransition&&null!==currentNavigation)if(this.stateManager.handleRouterEvent(e,currentNavigation),e instanceof NavigationCancel&&e.code!==NavigationCancellationCode.Redirect&&e.code!==NavigationCancellationCode.SupersededByNewNavigation)this.navigated=!0;else if(e instanceof NavigationEnd)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(e instanceof RedirectRequest){const opts=e.navigationBehaviorOptions,mergedTree=this.urlHandlingStrategy.merge(e.url,currentTransition.currentRawUrl),extras={scroll:currentTransition.extras.scroll,browserUrl:currentTransition.extras.browserUrl,info:currentTransition.extras.info,skipLocationChange:currentTransition.extras.skipLocationChange,replaceUrl:currentTransition.extras.replaceUrl||"eager"===this.urlUpdateStrategy||(source=currentTransition.source,source!==IMPERATIVE_NAVIGATION),...opts};this.scheduleNavigation(mergedTree,IMPERATIVE_NAVIGATION,null,extras,{resolve:currentTransition.resolve,reject:currentTransition.reject,promise:currentTransition.promise})}(function isPublicRouterEvent(e){return!(e instanceof BeforeActivateRoutes||e instanceof RedirectRequest||e instanceof BeforeRoutesRecognized)})(e)&&this._events.next(e)}catch(e){this.navigationTransitions.transitionAbortWithErrorSubject.next(e)}var source});this.eventsSubscription.add(subscription)}resetRootComponentType(rootComponentType){this.routerState.root.component=rootComponentType,this.navigationTransitions.rootComponentType=rootComponentType}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),IMPERATIVE_NAVIGATION,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((url,state,source,extras)=>{this.navigateToSyncWithBrowser(url,source,state,extras)})}navigateToSyncWithBrowser(url,source,state,extras){const restoredState=state?.navigationId?state:null,routerUrl=state?.ɵrouterUrl??url;if(state?.ɵrouterUrl&&(extras={...extras,browserUrl:url}),state){const stateCopy={...state};delete stateCopy.navigationId,delete stateCopy.ɵrouterPageId,delete stateCopy.ɵrouterUrl,0!==Object.keys(stateCopy).length&&(extras.state=stateCopy)}const urlTree=this.parseUrl(routerUrl);this.scheduleNavigation(urlTree,source,restoredState,extras).catch(e=>{this.disposed||this.injector.get(_effect_chunk2.ZTf)(e)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return(0,_resource_chunk.O8)(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(config){("undefined"==typeof ngDevMode||ngDevMode)&&validateConfig(config),this.config=config.map(standardizeConfig),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(commands,navigationExtras={}){const{relativeTo,queryParams,fragment,queryParamsHandling,preserveFragment}=navigationExtras,f=preserveFragment?this.currentUrlTree.fragment:fragment;let relativeToUrlSegmentGroup,q=null;switch(queryParamsHandling??this.options.defaultQueryParamsHandling){case"merge":q={...this.currentUrlTree.queryParams,...queryParams};break;case"preserve":q=this.currentUrlTree.queryParams;break;default:q=queryParams||null}null!==q&&(q=this.removeEmptyProps(q));try{relativeToUrlSegmentGroup=createSegmentGroupFromRoute(relativeTo?relativeTo.snapshot:this.routerState.snapshot.root)}catch(e){"string"==typeof commands[0]&&"/"===commands[0][0]||(commands=[]),relativeToUrlSegmentGroup=this.currentUrlTree.root}return createUrlTreeFromSegmentGroup(relativeToUrlSegmentGroup,commands,q,f??null,this.urlSerializer)}navigateByUrl(url,extras={skipLocationChange:!1}){const urlTree=isUrlTree(url)?url:this.parseUrl(url),mergedTree=this.urlHandlingStrategy.merge(urlTree,this.rawUrlTree);return this.scheduleNavigation(mergedTree,IMPERATIVE_NAVIGATION,null,extras)}navigate(commands,extras={skipLocationChange:!1}){return function validateCommands(commands){for(let i=0;i<commands.length;i++){const cmd=commands[i];if(null==cmd)throw new _effect_chunk2.buA(4008,("undefined"==typeof ngDevMode||ngDevMode)&&`The requested path contains ${cmd} segment at index ${i}`)}}(commands),this.navigateByUrl(this.createUrlTree(commands,extras),extras)}serializeUrl(url){return this.urlSerializer.serialize(url)}parseUrl(url){try{return this.urlSerializer.parse(url)}catch(e){return this.console.warn((0,_effect_chunk2.OsK)(4018,ngDevMode&&`Error parsing URL ${url}. Falling back to '/' instead. \n`+e)),this.urlSerializer.parse("/")}}isActive(url,matchOptions){let options;if(options=!0===matchOptions?{...exactMatchOptions}:!1===matchOptions?{...subsetMatchOptions}:{...subsetMatchOptions,...matchOptions},isUrlTree(url))return containsTree(this.currentUrlTree,url,options);const urlTree=this.parseUrl(url);return containsTree(this.currentUrlTree,urlTree,options)}removeEmptyProps(params){return Object.entries(params).reduce((result,[key,value])=>(null!=value&&(result[key]=value),result),{})}scheduleNavigation(rawUrl,source,restoredState,extras,priorPromise){if(this.disposed)return Promise.resolve(!1);let resolve,reject,promise;priorPromise?(resolve=priorPromise.resolve,reject=priorPromise.reject,promise=priorPromise.promise):promise=new Promise((res,rej)=>{resolve=res,reject=rej});const taskId=this.pendingTasks.add();return afterNextNavigation(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(taskId))}),this.navigationTransitions.handleNavigationRequest({source,restoredState,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl,extras,resolve,reject,promise,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),promise.catch(Promise.reject.bind(Promise))}static ɵfac=function Router_Factory(__ngFactoryType__){return new(__ngFactoryType__||Router)};static ɵprov=_effect_chunk2.jDH({token:Router,factory:Router.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(Router,[{type:_debug_node_chunk._qm,args:[{providedIn:"root"}]}],()=>[],null)},"./node_modules/@angular/router/fesm2022/_router_module-chunk.mjs"(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Wk:()=>RouterLink,lh:()=>provideRouter});var _Users_moja_projects_mojawork_mono_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js"),_angular_common__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@angular/common/fesm2022/_location-chunk.mjs"),_angular_common__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@angular/common/fesm2022/common.mjs"),_angular_common__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@angular/common/fesm2022/_common_module-chunk.mjs"),_angular_common__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@angular/common/fesm2022/_platform_location-chunk.mjs"),_angular_common__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@angular/common/fesm2022/_platform_navigation-chunk.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@angular/core/fesm2022/core.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./node_modules/@angular/core/fesm2022/_resource-chunk.mjs"),_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("./node_modules/@angular/router/fesm2022/_router-chunk.mjs"),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/Subject.js"),rxjs__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/observable/from.js"),rxjs__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/observable/of.js"),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/catchError.js"),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/concatMap.js"),rxjs_operators__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/filter.js"),rxjs_operators__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/mergeAll.js"),rxjs_operators__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/mergeMap.js");class ReactiveRouterState{router=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix);stateManager=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.fN);fragment=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)("",...ngDevMode?[{debugName:"fragment"}]:[]);queryParams=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)({},...ngDevMode?[{debugName:"queryParams"}]:[]);path=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)("",...ngDevMode?[{debugName:"path"}]:[]);serializer=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Sd);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.wF&&this.updateState()})}updateState(){const{fragment,root,queryParams}=this.stateManager.getCurrentUrlTree();this.fragment.set(fragment),this.queryParams.set(queryParams),this.path.set(this.serializer.serialize(new _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.el(root)))}static ɵfac=function ReactiveRouterState_Factory(__ngFactoryType__){return new(__ngFactoryType__||ReactiveRouterState)};static ɵprov=_angular_core__WEBPACK_IMPORTED_MODULE_8__.jDH({token:ReactiveRouterState,factory:ReactiveRouterState.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.cDI(ReactiveRouterState,[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__._qm,args:[{providedIn:"root"}]}],()=>[],null);class RouterLink{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(new _angular_core__WEBPACK_IMPORTED_MODULE_6__.HostAttributeToken("href"),{optional:!0});reactiveHref=(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.uu)(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue,...ngDevMode?[{debugName:"reactiveHref"}]:[]);get href(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this.reactiveHref)}set href(value){this.reactiveHref.set(value)}set target(value){this._target.set(value)}get target(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this._target)}_target=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)(void 0,...ngDevMode?[{debugName:"_target"}]:[]);set queryParams(value){this._queryParams.set(value)}get queryParams(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this._queryParams)}_queryParams=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)(void 0,{...ngDevMode?{debugName:"_queryParams"}:{},equal:()=>!1});set fragment(value){this._fragment.set(value)}get fragment(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this._fragment)}_fragment=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)(void 0,...ngDevMode?[{debugName:"_fragment"}]:[]);set queryParamsHandling(value){this._queryParamsHandling.set(value)}get queryParamsHandling(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this._queryParamsHandling)}_queryParamsHandling=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)(void 0,...ngDevMode?[{debugName:"_queryParamsHandling"}]:[]);set state(value){this._state.set(value)}get state(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this._state)}_state=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)(void 0,{...ngDevMode?{debugName:"_state"}:{},equal:()=>!1});set info(value){this._info.set(value)}get info(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this._info)}_info=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)(void 0,{...ngDevMode?{debugName:"_info"}:{},equal:()=>!1});set relativeTo(value){this._relativeTo.set(value)}get relativeTo(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this._relativeTo)}_relativeTo=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)(void 0,...ngDevMode?[{debugName:"_relativeTo"}]:[]);set preserveFragment(value){this._preserveFragment.set(value)}get preserveFragment(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this._preserveFragment)}_preserveFragment=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)(!1,...ngDevMode?[{debugName:"_preserveFragment"}]:[]);set skipLocationChange(value){this._skipLocationChange.set(value)}get skipLocationChange(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this._skipLocationChange)}_skipLocationChange=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)(!1,...ngDevMode?[{debugName:"_skipLocationChange"}]:[]);set replaceUrl(value){this._replaceUrl.set(value)}get replaceUrl(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this._replaceUrl)}_replaceUrl=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)(!1,...ngDevMode?[{debugName:"_replaceUrl"}]:[]);isAnchorElement;onChanges=new rxjs__WEBPACK_IMPORTED_MODULE_11__.B;applicationErrorHandler=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_core__WEBPACK_IMPORTED_MODULE_8__.ZTf);options=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.J_,{optional:!0});reactiveRouterState=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(ReactiveRouterState);constructor(router,route,tabIndexAttribute,renderer,el,locationStrategy){this.router=router,this.route=route,this.tabIndexAttribute=tabIndexAttribute,this.renderer=renderer,this.el=el,this.locationStrategy=locationStrategy;const tagName=el.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===tagName||"area"===tagName||!("object"!=typeof customElements||!customElements.get(tagName)?.observedAttributes?.includes?.("href")),"undefined"!=typeof ngDevMode&&ngDevMode&&(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.QZP)(()=>{if((0,_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.wO)(this.routerLinkInput())&&(void 0!==this._fragment()||this._queryParams()||this._queryParamsHandling()||this._preserveFragment()||this._relativeTo()))throw new _angular_core__WEBPACK_IMPORTED_MODULE_8__.buA(4017,"Cannot configure queryParams or fragment when using a UrlTree as the routerLink input value.")})}setTabIndexIfNotOnNativeEl(newTabIndex){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",newTabIndex)}ngOnChanges(changes){this.onChanges.next(this)}routerLinkInput=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)(null,...ngDevMode?[{debugName:"routerLinkInput"}]:[]);set routerLink(commandsOrUrlTree){null==commandsOrUrlTree?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):((0,_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.wO)(commandsOrUrlTree)?this.routerLinkInput.set(commandsOrUrlTree):this.routerLinkInput.set(Array.isArray(commandsOrUrlTree)?commandsOrUrlTree:[commandsOrUrlTree]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(button,ctrlKey,shiftKey,altKey,metaKey){const urlTree=this._urlTree();if(null===urlTree)return!0;if(this.isAnchorElement){if(0!==button||ctrlKey||shiftKey||altKey||metaKey)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0}const extras={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(urlTree,extras)?.catch(e=>{this.applicationErrorHandler(e)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(attrName,attrValue){const renderer=this.renderer,nativeElement=this.el.nativeElement;null!==attrValue?renderer.setAttribute(nativeElement,attrName,attrValue):renderer.removeAttribute(nativeElement,attrName)}_urlTree=(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.EW)(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();const shouldTrackParams=handling=>"preserve"===handling||"merge"===handling;(shouldTrackParams(this._queryParamsHandling())||shouldTrackParams(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();const routerLinkInput=this.routerLinkInput();return null!==routerLinkInput&&this.router.createUrlTree?(0,_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.wO)(routerLinkInput)?routerLinkInput:this.router.createUrlTree(routerLinkInput,{relativeTo:void 0!==this._relativeTo()?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()}):null},{...ngDevMode?{debugName:"_urlTree"}:{},equal:(a,b)=>this.computeHref(a)===this.computeHref(b)});get urlTree(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this._urlTree)}computeHref(urlTree){return null!==urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(urlTree))??"":null}static ɵfac=function RouterLink_Factory(__ngFactoryType__){return new(__ngFactoryType__||RouterLink)(_angular_core__WEBPACK_IMPORTED_MODULE_7__.rXU(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix),_angular_core__WEBPACK_IMPORTED_MODULE_7__.rXU(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.nX),_angular_core__WEBPACK_IMPORTED_MODULE_7__.kS0("tabindex"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.rXU(_angular_core__WEBPACK_IMPORTED_MODULE_7__.sFG),_angular_core__WEBPACK_IMPORTED_MODULE_7__.rXU(_angular_core__WEBPACK_IMPORTED_MODULE_7__.aKT),_angular_core__WEBPACK_IMPORTED_MODULE_7__.rXU(_angular_common__WEBPACK_IMPORTED_MODULE_1__.hb))};static ɵdir=_angular_core__WEBPACK_IMPORTED_MODULE_7__.FsC({type:RouterLink,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function RouterLink_HostBindings(rf,ctx){1&rf&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.bIt("click",function RouterLink_click_HostBindingHandler($event){return ctx.onClick($event.button,$event.ctrlKey,$event.shiftKey,$event.altKey,$event.metaKey)}),2&rf&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.BMQ("href",ctx.reactiveHref(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.n$t)("target",ctx._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",_angular_core__WEBPACK_IMPORTED_MODULE_6__.booleanAttribute],skipLocationChange:[2,"skipLocationChange","skipLocationChange",_angular_core__WEBPACK_IMPORTED_MODULE_6__.booleanAttribute],replaceUrl:[2,"replaceUrl","replaceUrl",_angular_core__WEBPACK_IMPORTED_MODULE_6__.booleanAttribute],routerLink:"routerLink"},features:[_angular_core__WEBPACK_IMPORTED_MODULE_7__.OA$]})}("undefined"==typeof ngDevMode||ngDevMode)&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.cDI(RouterLink,[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.WLR,args:[{selector:"[routerLink]",host:{"[attr.href]":"reactiveHref()","[attr.target]":"_target()"}}]}],()=>[{type:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix},{type:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.nX},{type:void 0,decorators:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.nWp,args:["tabindex"]}]},{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.sFG},{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.aKT},{type:_angular_common__WEBPACK_IMPORTED_MODULE_1__.hb}],{target:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde}],queryParams:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde}],fragment:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde}],queryParamsHandling:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde}],state:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde}],info:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde}],relativeTo:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde}],preserveFragment:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde,args:[{transform:_angular_core__WEBPACK_IMPORTED_MODULE_6__.booleanAttribute}]}],skipLocationChange:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde,args:[{transform:_angular_core__WEBPACK_IMPORTED_MODULE_6__.booleanAttribute}]}],replaceUrl:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde,args:[{transform:_angular_core__WEBPACK_IMPORTED_MODULE_6__.booleanAttribute}]}],routerLink:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde}],onClick:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.Z$l,args:["click",["$event.button","$event.ctrlKey","$event.shiftKey","$event.altKey","$event.metaKey"]]}]});class RouterLinkActive{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new _angular_core__WEBPACK_IMPORTED_MODULE_8__.bkB;link=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(RouterLink,{optional:!0});constructor(router,element,renderer,cdr){this.router=router,this.element=element,this.renderer=renderer,this.cdr=cdr,this.routerEventsSubscription=router.events.subscribe(s=>{s instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.wF&&this.update()})}ngAfterContentInit(){(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(this.links.changes,(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.U)()).subscribe(_=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const allLinkChanges=[...this.links.toArray(),this.link].filter(link=>!!link).map(link=>link.onChanges);this.linkInputChangesSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_12__.H)(allLinkChanges).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.U)()).subscribe(link=>{this._isActive!==this.isLinkActive(this.router)(link)&&this.update()})}set routerLinkActive(data){const classes=Array.isArray(data)?data:data.split(" ");this.classes=classes.filter(c=>!!c)}ngOnChanges(changes){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){this.links&&this.router.navigated&&queueMicrotask(()=>{const hasActiveLinks=this.hasActiveLinks();this.classes.forEach(c=>{hasActiveLinks?this.renderer.addClass(this.element.nativeElement,c):this.renderer.removeClass(this.element.nativeElement,c)}),hasActiveLinks&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==hasActiveLinks&&(this._isActive=hasActiveLinks,this.cdr.markForCheck(),this.isActiveChange.emit(hasActiveLinks))})}isLinkActive(router){const options=function isActiveMatchOptions(options){const o=options;return!!(o.paths||o.matrixParams||o.queryParams||o.fragment)}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact?{..._router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.tE}:{..._router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.E};return link=>{const urlTree=link.urlTree;return!!urlTree&&(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)((0,_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.$m)(urlTree,router,options))}}hasActiveLinks(){const isActiveCheckFn=this.isLinkActive(this.router);return this.link&&isActiveCheckFn(this.link)||this.links.some(isActiveCheckFn)}static ɵfac=function RouterLinkActive_Factory(__ngFactoryType__){return new(__ngFactoryType__||RouterLinkActive)(_angular_core__WEBPACK_IMPORTED_MODULE_7__.rXU(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix),_angular_core__WEBPACK_IMPORTED_MODULE_7__.rXU(_angular_core__WEBPACK_IMPORTED_MODULE_7__.aKT),_angular_core__WEBPACK_IMPORTED_MODULE_7__.rXU(_angular_core__WEBPACK_IMPORTED_MODULE_7__.sFG),_angular_core__WEBPACK_IMPORTED_MODULE_7__.rXU(_angular_core__WEBPACK_IMPORTED_MODULE_6__.ChangeDetectorRef))};static ɵdir=_angular_core__WEBPACK_IMPORTED_MODULE_7__.FsC({type:RouterLinkActive,selectors:[["","routerLinkActive",""]],contentQueries:function RouterLinkActive_ContentQueries(rf,ctx,dirIndex){if(1&rf&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.wni(dirIndex,RouterLink,5),2&rf){let _t;_angular_core__WEBPACK_IMPORTED_MODULE_7__.mGM(_t=_angular_core__WEBPACK_IMPORTED_MODULE_7__.lsd())&&(ctx.links=_t)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[_angular_core__WEBPACK_IMPORTED_MODULE_7__.OA$]})}("undefined"==typeof ngDevMode||ngDevMode)&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.cDI(RouterLinkActive,[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.WLR,args:[{selector:"[routerLinkActive]",exportAs:"routerLinkActive"}]}],()=>[{type:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix},{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.aKT},{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.sFG},{type:_angular_core__WEBPACK_IMPORTED_MODULE_6__.ChangeDetectorRef}],{links:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_6__.ContentChildren,args:[RouterLink,{descendants:!0}]}],routerLinkActiveOptions:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde}],ariaCurrentWhenActive:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde}],isActiveChange:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.k7i}],routerLinkActive:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde}]});class PreloadingStrategy{}class PreloadAllModules{preload(route,fn){return fn().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.W)(()=>(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(null)))}static ɵfac=function PreloadAllModules_Factory(__ngFactoryType__){return new(__ngFactoryType__||PreloadAllModules)};static ɵprov=_angular_core__WEBPACK_IMPORTED_MODULE_8__.jDH({token:PreloadAllModules,factory:PreloadAllModules.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.cDI(PreloadAllModules,[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__._qm,args:[{providedIn:"root"}]}],null,null);class NoPreloading{preload(route,fn){return(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(null)}static ɵfac=function NoPreloading_Factory(__ngFactoryType__){return new(__ngFactoryType__||NoPreloading)};static ɵprov=_angular_core__WEBPACK_IMPORTED_MODULE_8__.jDH({token:NoPreloading,factory:NoPreloading.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.cDI(NoPreloading,[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__._qm,args:[{providedIn:"root"}]}],null,null);class RouterPreloader{router;injector;preloadingStrategy;loader;subscription;constructor(router,injector,preloadingStrategy,loader){this.router=router,this.injector=injector,this.preloadingStrategy=preloadingStrategy,this.loader=loader}setUpPreloading(){this.subscription=this.router.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.p)(e=>e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.wF),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(injector,routes){const res=[];for(const route of routes){route.providers&&!route._injector&&(route._injector=(0,_angular_core__WEBPACK_IMPORTED_MODULE_7__.Ol2)(route.providers,injector,"undefined"==typeof ngDevMode||ngDevMode?`Route: ${route.path}`:""));const injectorForCurrentRoute=route._injector??injector;route._loadedNgModuleFactory&&!route._loadedInjector&&(route._loadedInjector=route._loadedNgModuleFactory.create(injectorForCurrentRoute).injector);const injectorForChildren=route._loadedInjector??injectorForCurrentRoute;(route.loadChildren&&!route._loadedRoutes&&void 0===route.canLoad||route.loadComponent&&!route._loadedComponent)&&res.push(this.preloadConfig(injectorForCurrentRoute,route)),(route.children||route._loadedRoutes)&&res.push(this.processRoutes(injectorForChildren,route.children??route._loadedRoutes))}return(0,rxjs__WEBPACK_IMPORTED_MODULE_12__.H)(res).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.U)())}preloadConfig(injector,route){return this.preloadingStrategy.preload(route,()=>{if(injector.destroyed)return(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(null);let loadedChildren$;loadedChildren$=route.loadChildren&&void 0===route.canLoad?(0,rxjs__WEBPACK_IMPORTED_MODULE_12__.H)(this.loader.loadChildren(injector,route)):(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(null);const recursiveLoadChildren$=loadedChildren$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_18__.Z)(config=>null===config?(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(void 0):(route._loadedRoutes=config.routes,route._loadedInjector=config.injector,route._loadedNgModuleFactory=config.factory,this.processRoutes(config.injector??injector,config.routes))));if(route.loadComponent&&!route._loadedComponent){const loadComponent$=this.loader.loadComponent(injector,route);return(0,rxjs__WEBPACK_IMPORTED_MODULE_12__.H)([recursiveLoadChildren$,loadComponent$]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.U)())}return recursiveLoadChildren$})}static ɵfac=function RouterPreloader_Factory(__ngFactoryType__){return new(__ngFactoryType__||RouterPreloader)(_angular_core__WEBPACK_IMPORTED_MODULE_8__.KVO(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix),_angular_core__WEBPACK_IMPORTED_MODULE_8__.KVO(_angular_core__WEBPACK_IMPORTED_MODULE_8__.uvJ),_angular_core__WEBPACK_IMPORTED_MODULE_8__.KVO(PreloadingStrategy),_angular_core__WEBPACK_IMPORTED_MODULE_8__.KVO(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.D$))};static ɵprov=_angular_core__WEBPACK_IMPORTED_MODULE_8__.jDH({token:RouterPreloader,factory:RouterPreloader.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.cDI(RouterPreloader,[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__._qm,args:[{providedIn:"root"}]}],()=>[{type:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix},{type:_angular_core__WEBPACK_IMPORTED_MODULE_8__.uvJ},{type:PreloadingStrategy},{type:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.D$}],null);const ROUTER_SCROLLER=new _angular_core__WEBPACK_IMPORTED_MODULE_8__.nKC("undefined"!=typeof ngDevMode&&ngDevMode?"Router Scroller":"");class RouterScroller{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.wU;restoredId=0;store={};isHydrating=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_core__WEBPACK_IMPORTED_MODULE_7__.qBF,{optional:!0})??!1;urlSerializer=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Sd);zone=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_core__WEBPACK_IMPORTED_MODULE_8__.SKi);viewportScroller=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_common__WEBPACK_IMPORTED_MODULE_2__.Xr);transitions=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.J2);constructor(options){this.options=options,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_core__WEBPACK_IMPORTED_MODULE_7__.o8S).whenStable().then(()=>{this.isHydrating=!1})}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.wF?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.lW&&e.code===_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.mo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.OY)||"manual"===e.scrollBehavior)return;const instantScroll={behavior:"instant"};e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0],instantScroll):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position,instantScroll):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(routerEvent,anchor){var _this=this;if(this.isHydrating)return;const scroll=(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular((0,_Users_moja_projects_mojawork_mono_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__.A)(function*(){yield new Promise(resolve=>{setTimeout(resolve),"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(resolve)}),_this.zone.run(()=>{_this.transitions.events.next(new _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.OY(routerEvent,"popstate"===_this.lastSource?_this.store[_this.restoredId]:null,anchor,scroll))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static ɵfac=function RouterScroller_Factory(__ngFactoryType__){_angular_core__WEBPACK_IMPORTED_MODULE_7__.QTQ()};static ɵprov=_angular_core__WEBPACK_IMPORTED_MODULE_8__.jDH({token:RouterScroller,factory:RouterScroller.ɵfac})}function getLoadedRoutes(route){return route._loadedRoutes}function getRouterInstance(injector){return injector.get(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix,null,{optional:!0})}function navigateByUrl(router,url){if(!(router instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix))throw new Error("The provided router is not an Angular Router.");return router.navigateByUrl(url)}("undefined"==typeof ngDevMode||ngDevMode)&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.cDI(RouterScroller,[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__._qm}],()=>[{type:void 0}],null);class NavigationStateManager extends _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.fN{injector=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_core__WEBPACK_IMPORTED_MODULE_8__.uvJ);navigation=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_common__WEBPACK_IMPORTED_MODULE_5__.U);inMemoryScrollingEnabled=null!==(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(ROUTER_SCROLLER,{optional:!0});base=new URL((0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_common__WEBPACK_IMPORTED_MODULE_4__.Vw).href).origin;appRootURL=new URL(this.location.prepareExternalUrl?.("/")??"/",this.base).href;precommitHandlerSupported=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_common__WEBPACK_IMPORTED_MODULE_5__.f);activeHistoryEntry=this.navigation.currentEntry;currentNavigation={};nonRouterCurrentEntryChangeSubject=new rxjs__WEBPACK_IMPORTED_MODULE_11__.B;nonRouterEntryChangeListener;get registered(){return void 0!==this.nonRouterEntryChangeListener&&!this.nonRouterEntryChangeListener.closed}constructor(){super();const navigateListener=event=>{this.handleNavigate(event)};this.navigation.addEventListener("navigate",navigateListener),(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_core__WEBPACK_IMPORTED_MODULE_8__.abz).onDestroy(()=>this.navigation.removeEventListener("navigate",navigateListener))}registerNonRouterCurrentEntryChangeListener(listener){return this.activeHistoryEntry=this.navigation.currentEntry,this.nonRouterEntryChangeListener=this.nonRouterCurrentEntryChangeSubject.subscribe(({path,state})=>{listener(path,state,"popstate",this.precommitHandlerSupported?{}:{replaceUrl:!0})}),this.nonRouterEntryChangeListener}handleRouterEvent(e,transition){var _this2=this;return(0,_Users_moja_projects_mojawork_mono_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__.A)(function*(){if(_this2.currentNavigation={..._this2.currentNavigation,routerTransition:transition},e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Z)_this2.updateStateMemento(),_this2.precommitHandlerSupported&&_this2.maybeCreateNavigationForTransition(transition);else if(e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.lW)_this2.finishNavigation(),_this2.commitTransition(transition);else if(e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.kv)transition.routesRecognizeHandler.deferredHandle=new Promise(function(){var _ref2=(0,_Users_moja_projects_mojawork_mono_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__.A)(function*(resolve){if("eager"===_this2.urlUpdateStrategy)try{_this2.maybeCreateNavigationForTransition(transition),yield _this2.currentNavigation.commitUrl?.()}catch{return}resolve()});return function(_x){return _ref2.apply(this,arguments)}}());else if(e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.j5)transition.beforeActivateHandler.deferredHandle=new Promise(function(){var _ref3=(0,_Users_moja_projects_mojawork_mono_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__.A)(function*(resolve){if("deferred"===_this2.urlUpdateStrategy)try{_this2.maybeCreateNavigationForTransition(transition),yield _this2.currentNavigation.commitUrl?.()}catch{return}_this2.commitTransition(transition),resolve()});return function(_x2){return _ref3.apply(this,arguments)}}());else if(e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Cq||e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.L6){if(e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Cq&&e.code===_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.X1.Redirect&&!!_this2.currentNavigation.commitUrl)return;_this2.cancel(transition,e)}else if(e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.wF){const{resolveHandler,removeAbortListener}=_this2.currentNavigation;_this2.currentNavigation={},removeAbortListener?.(),_this2.activeHistoryEntry=_this2.navigation.currentEntry,(0,_angular_core__WEBPACK_IMPORTED_MODULE_7__.mal)({read:()=>resolveHandler?.()},{injector:_this2.injector})}})()}maybeCreateNavigationForTransition(transition){const{navigationEvent,commitUrl}=this.currentNavigation;if(commitUrl||navigationEvent&&"traverse"===navigationEvent.navigationType&&this.eventAndRouterDestinationsMatch(navigationEvent,transition))return;this.currentNavigation.removeAbortListener?.();const path=this.createBrowserPath(transition);this.navigate(path,transition)}navigate(internalPath,transition){const path=transition.extras.skipLocationChange?this.navigation.currentEntry.url:this.location.prepareExternalUrl(internalPath),state={...transition.extras.state,...this.generateNgRouterState(transition)};!this.navigation.transition&&this.currentNavigation.navigationEvent&&(transition.extras.replaceUrl=!1);const history=this.location.isCurrentPathEqualTo(path)||transition.extras.replaceUrl||transition.extras.skipLocationChange?"replace":"push";handleResultRejections(this.navigation.navigate(path,{state,history,info:{ɵrouterInfo:{intercept:!0}}}))}finishNavigation(){this.currentNavigation.commitUrl?.(),this.currentNavigation?.resolveHandler?.(),this.currentNavigation={}}cancel(transition,cause){var _this3=this;return(0,_Users_moja_projects_mojawork_mono_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__.A)(function*(){_this3.currentNavigation.rejectNavigateEvent?.();const clearedState={};if(_this3.currentNavigation=clearedState,(0,_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.bX)(cause))return;const isTraversalReset="computed"===_this3.canceledNavigationResolution&&_this3.navigation.currentEntry.key!==_this3.activeHistoryEntry.key;if(_this3.resetInternalState(transition.finalUrl,isTraversalReset),_this3.navigation.currentEntry.id!==_this3.activeHistoryEntry.id&&!(cause instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Cq&&cause.code===_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.X1.Aborted&&(yield Promise.resolve(),_this3.currentNavigation!==clearedState)))if(isTraversalReset)handleResultRejections(_this3.navigation.traverseTo(_this3.activeHistoryEntry.key,{info:{ɵrouterInfo:{intercept:!1}}}));else{const internalPath=_this3.urlSerializer.serialize(_this3.getCurrentUrlTree()),pathOrUrl=_this3.location.prepareExternalUrl(internalPath);handleResultRejections(_this3.navigation.navigate(pathOrUrl,{state:_this3.activeHistoryEntry.getState(),history:"replace",info:{ɵrouterInfo:{intercept:!1}}}))}})()}resetInternalState(finalUrl,traversalReset){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=traversalReset?this.stateMemento.rawUrlTree:this.urlHandlingStrategy.merge(this.currentUrlTree,finalUrl??this.rawUrlTree)}handleNavigate(event){var _this4=this;if(!event.canIntercept||"reload"===event.navigationType)return;const routerInfo=event?.info?.ɵrouterInfo;if(routerInfo&&!routerInfo.intercept)return;const isTriggeredByRouterTransition=!!routerInfo;if(!isTriggeredByRouterTransition&&(this.currentNavigation.routerTransition?.abort(),!this.registered))return void this.finishNavigation();this.currentNavigation={...this.currentNavigation},this.currentNavigation.navigationEvent=event;const abortHandler=()=>{this.currentNavigation.routerTransition?.abort()};event.signal.addEventListener("abort",abortHandler),this.currentNavigation.removeAbortListener=()=>event.signal.removeEventListener("abort",abortHandler);const interceptOptions={scroll:this.inMemoryScrollingEnabled?"manual":this.currentNavigation.routerTransition?.extras.scroll??"after-transition"},{promise:handlerPromise,resolve:resolveHandler,reject:rejectHandler}=(0,_angular_core__WEBPACK_IMPORTED_MODULE_7__.nJn)(),{promise:precommitHandlerPromise,resolve:resolvePrecommitHandler,reject:rejectPrecommitHandler}=(0,_angular_core__WEBPACK_IMPORTED_MODULE_7__.nJn)();if(this.currentNavigation.rejectNavigateEvent=()=>{event.signal.removeEventListener("abort",abortHandler),rejectPrecommitHandler(),rejectHandler()},this.currentNavigation.resolveHandler=()=>{this.currentNavigation.removeAbortListener?.(),resolveHandler()},handlerPromise.catch(()=>{}),precommitHandlerPromise.catch(()=>{}),interceptOptions.handler=()=>handlerPromise,this.deferredCommitSupported(event)){const redirect=new Promise(resolve=>{interceptOptions.precommitHandler=controller=>("traverse"===this.navigation.transition?.navigationType?resolve(()=>{}):resolve(controller.redirect.bind(controller)),precommitHandlerPromise)});this.currentNavigation.commitUrl=(0,_Users_moja_projects_mojawork_mono_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__.A)(function*(){_this4.currentNavigation.commitUrl=void 0;const transition=_this4.currentNavigation.routerTransition;if(transition&&!transition.extras.skipLocationChange){const internalPath=_this4.createBrowserPath(transition),history=_this4.location.isCurrentPathEqualTo(internalPath)||transition.extras.replaceUrl?"replace":"push",state={...transition.extras.state,..._this4.generateNgRouterState(transition)},pathOrUrl=_this4.location.prepareExternalUrl(internalPath);(yield redirect)(pathOrUrl,{state,history})}return resolvePrecommitHandler(),yield _this4.navigation.transition?.committed})}event.intercept(interceptOptions),isTriggeredByRouterTransition||this.handleNavigateEventTriggeredOutsideRouterAPIs(event)}handleNavigateEventTriggeredOutsideRouterAPIs(event){const path=event.destination.url.substring(this.appRootURL.length-1),state=event.destination.getState();this.nonRouterCurrentEntryChangeSubject.next({path,state})}eventAndRouterDestinationsMatch(navigateEvent,transition){const internalPath=this.createBrowserPath(transition),eventDestination=new URL(navigateEvent.destination.url),routerDestination=this.location.prepareExternalUrl(internalPath);return new URL(routerDestination,eventDestination.origin).href===eventDestination.href}generateNgRouterState(transition){return{...this.routerUrlState(transition),navigationId:transition.id}}deferredCommitSupported(event){return this.precommitHandlerSupported&&event.cancelable}static ɵfac=function NavigationStateManager_Factory(__ngFactoryType__){return new(__ngFactoryType__||NavigationStateManager)};static ɵprov=_angular_core__WEBPACK_IMPORTED_MODULE_8__.jDH({token:NavigationStateManager,factory:NavigationStateManager.ɵfac,providedIn:"root"})}function handleResultRejections(result){return result.finished?.catch(()=>{}),result.committed?.catch(()=>{}),result}function provideRouter(routes,...features){return("undefined"==typeof ngDevMode||ngDevMode)&&((0,_angular_core__WEBPACK_IMPORTED_MODULE_7__.CsU)("ɵgetLoadedRoutes",getLoadedRoutes),(0,_angular_core__WEBPACK_IMPORTED_MODULE_7__.CsU)("ɵgetRouterInstance",getRouterInstance),(0,_angular_core__WEBPACK_IMPORTED_MODULE_7__.CsU)("ɵnavigateByUrl",navigateByUrl)),(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.EmA)([{provide:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.bw,multi:!0,useValue:routes},"undefined"==typeof ngDevMode||ngDevMode?{provide:ROUTER_IS_PROVIDED,useValue:!0}:[],{provide:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.nX,useFactory:rootRoute},{provide:_angular_core__WEBPACK_IMPORTED_MODULE_7__.iLQ,multi:!0,useFactory:getBootstrapListener},features.map(feature=>feature.ɵproviders)])}function rootRoute(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix).routerState.root}function routerFeature(kind,providers){return{ɵkind:kind,ɵproviders:providers}}("undefined"==typeof ngDevMode||ngDevMode)&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.cDI(NavigationStateManager,[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__._qm,args:[{providedIn:"root"}]}],()=>[],null);const ROUTER_IS_PROVIDED=new _angular_core__WEBPACK_IMPORTED_MODULE_8__.nKC("undefined"!=typeof ngDevMode&&ngDevMode?"Router is provided":"",{factory:()=>!1});_angular_core__WEBPACK_IMPORTED_MODULE_8__.Z63;function getBootstrapListener(){const injector=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_core__WEBPACK_IMPORTED_MODULE_8__.zZn);return bootstrappedComponentRef=>{const ref=injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_7__.o8S);if(bootstrappedComponentRef!==ref.components[0])return;const router=injector.get(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix),bootstrapDone=injector.get(BOOTSTRAP_DONE);1===injector.get(INITIAL_NAVIGATION)&&router.initialNavigation(),injector.get(ROUTER_PRELOADER,null,{optional:!0})?.setUpPreloading(),injector.get(ROUTER_SCROLLER,null,{optional:!0})?.init(),router.resetRootComponentType(ref.componentTypes[0]),bootstrapDone.closed||(bootstrapDone.next(),bootstrapDone.complete(),bootstrapDone.unsubscribe())}}const BOOTSTRAP_DONE=new _angular_core__WEBPACK_IMPORTED_MODULE_8__.nKC("undefined"==typeof ngDevMode||ngDevMode?"bootstrap done indicator":"",{factory:()=>new rxjs__WEBPACK_IMPORTED_MODULE_11__.B}),INITIAL_NAVIGATION=new _angular_core__WEBPACK_IMPORTED_MODULE_8__.nKC("undefined"==typeof ngDevMode||ngDevMode?"initial navigation":"",{factory:()=>1});function withDebugTracing(){let providers=[];return providers="undefined"==typeof ngDevMode||ngDevMode?[{provide:_angular_core__WEBPACK_IMPORTED_MODULE_8__.Z63,multi:!0,useFactory:()=>{const router=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix);return()=>router.events.subscribe(e=>{console.group?.(`Router Event: ${e.constructor.name}`),console.log((0,_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Us)(e)),console.log(e),console.groupEnd?.()})}}]:[],routerFeature(1,providers)}const ROUTER_PRELOADER=new _angular_core__WEBPACK_IMPORTED_MODULE_8__.nKC("undefined"==typeof ngDevMode||ngDevMode?"router preloader":"");function withViewTransitions(options){(0,_angular_core__WEBPACK_IMPORTED_MODULE_7__._jY)("NgRouterViewTransitions");return routerFeature(9,[{provide:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Pu,useValue:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Lg},{provide:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.bK,useValue:{skipNextTransition:!!options?.skipInitialTransition,...options}}])}const ROUTER_DIRECTIVES=[_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.n3,RouterLink,RouterLinkActive,_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.we],ROUTER_FORROOT_GUARD=new _angular_core__WEBPACK_IMPORTED_MODULE_8__.nKC("undefined"==typeof ngDevMode||ngDevMode?"router duplicate forRoot guard":""),ROUTER_PROVIDERS=[_angular_common__WEBPACK_IMPORTED_MODULE_1__.aZ,{provide:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Sd,useClass:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.nU},_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix,_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Zp,{provide:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.nX,useFactory:rootRoute},_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.D$,"undefined"==typeof ngDevMode||ngDevMode?{provide:ROUTER_IS_PROVIDED,useValue:!0}:[]];class RouterModule{constructor(){("undefined"==typeof ngDevMode||ngDevMode)&&(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(ROUTER_FORROOT_GUARD,{optional:!0})}static forRoot(routes,config){return{ngModule:RouterModule,providers:[ROUTER_PROVIDERS,("undefined"==typeof ngDevMode||ngDevMode)&&config?.enableTracing?withDebugTracing().ɵproviders:[],{provide:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.bw,multi:!0,useValue:routes},"undefined"==typeof ngDevMode||ngDevMode?{provide:ROUTER_FORROOT_GUARD,useFactory:provideForRootGuard}:[],config?.errorHandler?{provide:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.XR,useValue:config.errorHandler}:[],{provide:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.J_,useValue:config||{}},config?.useHash?{provide:_angular_common__WEBPACK_IMPORTED_MODULE_1__.hb,useClass:_angular_common__WEBPACK_IMPORTED_MODULE_3__.fw}:{provide:_angular_common__WEBPACK_IMPORTED_MODULE_1__.hb,useClass:_angular_common__WEBPACK_IMPORTED_MODULE_1__.Sm},{provide:ROUTER_SCROLLER,useFactory:()=>{const viewportScroller=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_common__WEBPACK_IMPORTED_MODULE_2__.Xr),config=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.J_);return config.scrollOffset&&viewportScroller.setOffset(config.scrollOffset),new RouterScroller(config)}},config?.preloadingStrategy?(preloadingStrategy=config.preloadingStrategy,routerFeature(0,[{provide:ROUTER_PRELOADER,useExisting:RouterPreloader},{provide:PreloadingStrategy,useExisting:preloadingStrategy}])).ɵproviders:[],config?.initialNavigation?provideInitialNavigation(config):[],config?.bindToComponentInputs?routerFeature(8,[_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.tD,{provide:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.c1,useExisting:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.tD}]).ɵproviders:[],config?.enableViewTransitions?withViewTransitions().ɵproviders:[],[{provide:ROUTER_INITIALIZER,useFactory:getBootstrapListener},{provide:_angular_core__WEBPACK_IMPORTED_MODULE_7__.iLQ,multi:!0,useExisting:ROUTER_INITIALIZER}]]};var preloadingStrategy}static forChild(routes){return{ngModule:RouterModule,providers:[{provide:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.bw,multi:!0,useValue:routes}]}}static ɵfac=function RouterModule_Factory(__ngFactoryType__){return new(__ngFactoryType__||RouterModule)};static ɵmod=_angular_core__WEBPACK_IMPORTED_MODULE_7__.$C({type:RouterModule,imports:[_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.n3,RouterLink,RouterLinkActive,_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.we],exports:[_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.n3,RouterLink,RouterLinkActive,_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.we]});static ɵinj=_angular_core__WEBPACK_IMPORTED_MODULE_8__.G2t({})}function provideForRootGuard(){if((0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix,{optional:!0,skipSelf:!0}))throw new _angular_core__WEBPACK_IMPORTED_MODULE_8__.buA(4007,"The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function provideInitialNavigation(config){return["disabled"===config.initialNavigation?routerFeature(3,[(0,_angular_core__WEBPACK_IMPORTED_MODULE_7__.phd)(()=>{(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix).setUpLocationChangeListener()}),{provide:INITIAL_NAVIGATION,useValue:2}]).ɵproviders:[],"enabledBlocking"===config.initialNavigation?routerFeature(2,[{provide:_angular_core__WEBPACK_IMPORTED_MODULE_7__.tvf,useValue:!0},{provide:INITIAL_NAVIGATION,useValue:0},(0,_angular_core__WEBPACK_IMPORTED_MODULE_7__.phd)(()=>{const injector=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_core__WEBPACK_IMPORTED_MODULE_8__.zZn);return injector.get(_angular_common__WEBPACK_IMPORTED_MODULE_4__.hj,Promise.resolve()).then(()=>new Promise(resolve=>{const router=injector.get(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix),bootstrapDone=injector.get(BOOTSTRAP_DONE);(0,_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.gk)(router,()=>{resolve(!0)}),injector.get(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.J2).afterPreactivation=()=>(resolve(!0),bootstrapDone.closed?(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(void 0):bootstrapDone),router.initialNavigation()}))})]).ɵproviders:[]]}("undefined"==typeof ngDevMode||ngDevMode)&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.cDI(RouterModule,[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.UQu,args:[{imports:ROUTER_DIRECTIVES,exports:ROUTER_DIRECTIVES}]}],()=>[],null);const ROUTER_INITIALIZER=new _angular_core__WEBPACK_IMPORTED_MODULE_8__.nKC("undefined"==typeof ngDevMode||ngDevMode?"Router Initializer":"")},"./node_modules/rxjs/dist/esm5/internal/observable/concat.js"(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{x:()=>concat});var mergeAll=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/mergeAll.js");var util_args=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/util/args.js"),from=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/observable/from.js");function concat(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];return function concatAll(){return(0,mergeAll.U)(1)}()((0,from.H)(args,(0,util_args.lI)(args)))}},"./node_modules/rxjs/dist/esm5/internal/operators/mergeAll.js"(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{U:()=>mergeAll});var _mergeMap__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/mergeMap.js"),_util_identity__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/util/identity.js");function mergeAll(concurrent){return void 0===concurrent&&(concurrent=1/0),(0,_mergeMap__WEBPACK_IMPORTED_MODULE_0__.Z)(_util_identity__WEBPACK_IMPORTED_MODULE_1__.D,concurrent)}},"./node_modules/rxjs/dist/esm5/internal/operators/startWith.js"(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Z:()=>startWith});var _observable_concat__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/observable/concat.js"),_util_args__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/util/args.js"),_util_lift__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/util/lift.js");function startWith(){for(var values=[],_i=0;_i<arguments.length;_i++)values[_i]=arguments[_i];var scheduler=(0,_util_args__WEBPACK_IMPORTED_MODULE_1__.lI)(values);return(0,_util_lift__WEBPACK_IMPORTED_MODULE_2__.N)(function(source,subscriber){(scheduler?(0,_observable_concat__WEBPACK_IMPORTED_MODULE_0__.x)(values,source,scheduler):(0,_observable_concat__WEBPACK_IMPORTED_MODULE_0__.x)(values,source)).subscribe(subscriber)})}},"./node_modules/rxjs/dist/esm5/internal/operators/takeUntil.js"(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Q:()=>takeUntil});var _util_lift__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/util/lift.js"),_OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js"),_observable_innerFrom__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/observable/innerFrom.js"),_util_noop__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/util/noop.js");function takeUntil(notifier){return(0,_util_lift__WEBPACK_IMPORTED_MODULE_0__.N)(function(source,subscriber){(0,_observable_innerFrom__WEBPACK_IMPORTED_MODULE_2__.Tg)(notifier).subscribe((0,_OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__._)(subscriber,function(){return subscriber.complete()},_util_noop__WEBPACK_IMPORTED_MODULE_3__.l)),!subscriber.closed&&source.subscribe(subscriber)})}},"./node_modules/rxjs/dist/esm5/internal/util/isObservable.js"(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{A:()=>isObservable});var _Observable__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/Observable.js"),_isFunction__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/util/isFunction.js");function isObservable(obj){return!!obj&&(obj instanceof _Observable__WEBPACK_IMPORTED_MODULE_0__.c||(0,_isFunction__WEBPACK_IMPORTED_MODULE_1__.T)(obj.lift)&&(0,_isFunction__WEBPACK_IMPORTED_MODULE_1__.T)(obj.subscribe))}}}]);
|
|
1
|
+
/*! For license information please see 4425.7f753a38.iframe.bundle.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunkmoja_work=self.webpackChunkmoja_work||[]).push([[4425],{"./node_modules/@angular/router/fesm2022/_router-chunk.mjs"(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{nX:()=>ActivatedRoute,j5:()=>BeforeActivateRoutes,kv:()=>BeforeRoutesRecognized,Pu:()=>CREATE_VIEW_TRANSITION,Zp:()=>ChildrenOutletContexts,nU:()=>DefaultUrlSerializer,wU:()=>IMPERATIVE_NAVIGATION,c1:()=>INPUT_BINDER,XR:()=>NAVIGATION_ERROR_HANDLER,Cq:()=>NavigationCancel,X1:()=>NavigationCancellationCode,wF:()=>NavigationEnd,L6:()=>NavigationError,lW:()=>NavigationSkipped,mo:()=>NavigationSkippedCode,Z:()=>NavigationStart,J2:()=>NavigationTransitions,J_:()=>ROUTER_CONFIGURATION,bw:()=>ROUTES,tD:()=>RoutedComponentInputBinder,Ix:()=>Router,D$:()=>RouterConfigLoader,n3:()=>RouterOutlet,OY:()=>Scroll,fN:()=>StateManager,Sd:()=>UrlSerializer,el:()=>UrlTree,bK:()=>VIEW_TRANSITION_OPTIONS,gk:()=>afterNextNavigation,Lg:()=>createViewTransition,tE:()=>exactMatchOptions,$m:()=>isActive,bX:()=>isRedirectingEvent,wO:()=>isUrlTree,Us:()=>stringifyEvent,E:()=>subsetMatchOptions,we:()=>ɵEmptyOutletComponent});var asyncToGenerator=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js"),_effect_chunk2=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),_location_chunk=__webpack_require__("./node_modules/@angular/common/fesm2022/_location-chunk.mjs"),_debug_node_chunk=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),_resource_chunk=__webpack_require__("./node_modules/@angular/core/fesm2022/_resource-chunk.mjs"),core=__webpack_require__("./node_modules/@angular/core/fesm2022/core.mjs"),isObservable=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/util/isObservable.js"),from=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/observable/from.js"),of=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/observable/of.js"),BehaviorSubject=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/BehaviorSubject.js"),combineLatest=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/observable/combineLatest.js"),EmptyError=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/util/EmptyError.js"),Observable=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/Observable.js"),concat=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/observable/concat.js"),innerFrom=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/observable/innerFrom.js");function defer(observableFactory){return new Observable.c(function(subscriber){(0,innerFrom.Tg)(observableFactory()).subscribe(subscriber)})}var pipe=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/util/pipe.js"),empty=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/observable/empty.js"),throwError=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/observable/throwError.js"),Subject=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/Subject.js"),Subscription=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/Subscription.js"),first=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/first.js"),map=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/map.js"),switchMap=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/switchMap.js"),take=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/take.js"),startWith=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/startWith.js"),filter=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/filter.js"),takeUntil=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/takeUntil.js"),mergeMap=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/mergeMap.js"),concatMap=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/concatMap.js"),tap=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/tap.js"),tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.mjs"),lift=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/util/lift.js"),OperatorSubscriber=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js");function takeLast(count){return count<=0?function(){return empty.w}:(0,lift.N)(function(source,subscriber){var buffer=[];source.subscribe((0,OperatorSubscriber._)(subscriber,function(value){buffer.push(value),count<buffer.length&&buffer.shift()},function(){var e_1,_a;try{for(var buffer_1=(0,tslib_es6.Ju)(buffer),buffer_1_1=buffer_1.next();!buffer_1_1.done;buffer_1_1=buffer_1.next()){var value=buffer_1_1.value;subscriber.next(value)}}catch(e_1_1){e_1={error:e_1_1}}finally{try{buffer_1_1&&!buffer_1_1.done&&(_a=buffer_1.return)&&_a.call(buffer_1)}finally{if(e_1)throw e_1.error}}subscriber.complete()},void 0,function(){buffer=null}))})}var catchError=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/catchError.js"),finalize=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/finalize.js"),_platform_location_chunk=__webpack_require__("./node_modules/@angular/common/fesm2022/_platform_location-chunk.mjs"),_dom_renderer_chunk=__webpack_require__("./node_modules/@angular/platform-browser/fesm2022/_dom_renderer-chunk.mjs");class Meta{_doc;_dom;constructor(_doc){this._doc=_doc,this._dom=(0,_platform_location_chunk.rb)()}addTag(tag,forceCreation=!1){return tag?this._getOrCreateElement(tag,forceCreation):null}addTags(tags,forceCreation=!1){return tags?tags.reduce((result,tag)=>(tag&&result.push(this._getOrCreateElement(tag,forceCreation)),result),[]):[]}getTag(attrSelector){if(!attrSelector)return null;const meta=this._doc.querySelector(`meta[${attrSelector}]`);return"meta"===meta?.nodeName.toLowerCase()?meta:null}getTags(attrSelector){if(!attrSelector)return[];const list=this._doc.querySelectorAll(`meta[${attrSelector}]`);return list?[].slice.call(list).filter(elem=>"meta"===elem.nodeName.toLowerCase()):[]}updateTag(tag,selector){if(!tag)return null;selector=selector||this._parseSelector(tag);const meta=this.getTag(selector);return meta?this._setMetaElementAttributes(tag,meta):this._getOrCreateElement(tag,!0)}removeTag(attrSelector){this.removeTagElement(this.getTag(attrSelector))}removeTagElement(meta){meta&&this._dom.remove(meta)}_getOrCreateElement(meta,forceCreation=!1){if(!forceCreation){const selector=this._parseSelector(meta),elem=this.getTags(selector).filter(elem=>this._containsAttributes(meta,elem))[0];if(void 0!==elem)return elem}const element=this._dom.createElement("meta");this._setMetaElementAttributes(meta,element);return this._doc.getElementsByTagName("head")[0].appendChild(element),element}_setMetaElementAttributes(tag,el){return Object.keys(tag).forEach(prop=>el.setAttribute(this._getMetaKeyMap(prop),tag[prop])),el}_parseSelector(tag){const attr=tag.name?"name":"property";return`${attr}=${this._escapeSelectorValue(String(tag[attr]))}`}_escapeSelectorValue(value){return`"${value.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}_containsAttributes(tag,elem){return Object.keys(tag).every(key=>elem.getAttribute(this._getMetaKeyMap(key))===tag[key])}_getMetaKeyMap(prop){return META_KEYS_MAP[prop]||prop}static ɵfac=function Meta_Factory(__ngFactoryType__){return new(__ngFactoryType__||Meta)(_effect_chunk2.KVO(_effect_chunk2.qQL))};static ɵprov=_effect_chunk2.jDH({token:Meta,factory:Meta.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(Meta,[{type:_debug_node_chunk._qm,args:[{providedIn:"root"}]}],()=>[{type:void 0,decorators:[{type:_debug_node_chunk.y_5,args:[_effect_chunk2.qQL]}]}],null);const META_KEYS_MAP={httpEquiv:"http-equiv"};class Title{_doc;constructor(_doc){this._doc=_doc}getTitle(){return this._doc.title}setTitle(newTitle){this._doc.title=newTitle||""}static ɵfac=function Title_Factory(__ngFactoryType__){return new(__ngFactoryType__||Title)(_effect_chunk2.KVO(_effect_chunk2.qQL))};static ɵprov=_effect_chunk2.jDH({token:Title,factory:Title.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(Title,[{type:_debug_node_chunk._qm,args:[{providedIn:"root"}]}],()=>[{type:void 0,decorators:[{type:_debug_node_chunk.y_5,args:[_effect_chunk2.qQL]}]}],null);const EVENT_NAMES={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},HAMMER_GESTURE_CONFIG=new _effect_chunk2.nKC("undefined"==typeof ngDevMode||ngDevMode?"HammerGestureConfig":""),HAMMER_LOADER=new _effect_chunk2.nKC("undefined"==typeof ngDevMode||ngDevMode?"HammerLoader":"");class HammerGestureConfig{events=[];overrides={};options;buildHammer(element){const mc=new Hammer(element,this.options);mc.get("pinch").set({enable:!0}),mc.get("rotate").set({enable:!0});for(const eventName in this.overrides)mc.get(eventName).set(this.overrides[eventName]);return mc}static ɵfac=function HammerGestureConfig_Factory(__ngFactoryType__){return new(__ngFactoryType__||HammerGestureConfig)};static ɵprov=_effect_chunk2.jDH({token:HammerGestureConfig,factory:HammerGestureConfig.ɵfac})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(HammerGestureConfig,[{type:_debug_node_chunk._qm}],null,null);class HammerGesturesPlugin extends _dom_renderer_chunk.Hl{_config;_injector;loader;_loaderPromise=null;constructor(doc,_config,_injector,loader){super(doc),this._config=_config,this._injector=_injector,this.loader=loader}supports(eventName){if(!EVENT_NAMES.hasOwnProperty(eventName.toLowerCase())&&!this.isCustomEvent(eventName))return!1;if(!window.Hammer&&!this.loader){if("undefined"==typeof ngDevMode||ngDevMode){this._injector.get(_debug_node_chunk.C7A).warn(`The "${eventName}" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.`)}return!1}return!0}addEventListener(element,eventName,handler){const zone=this.manager.getZone();if(eventName=eventName.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||zone.runOutsideAngular(()=>this.loader());let cancelRegistration=!1,deregister=()=>{cancelRegistration=!0};return zone.runOutsideAngular(()=>this._loaderPromise.then(()=>{if(window.Hammer)cancelRegistration||(deregister=this.addEventListener(element,eventName,handler));else{if("undefined"==typeof ngDevMode||ngDevMode){this._injector.get(_debug_node_chunk.C7A).warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present.")}deregister=()=>{}}}).catch(()=>{if("undefined"==typeof ngDevMode||ngDevMode){this._injector.get(_debug_node_chunk.C7A).warn(`The "${eventName}" event cannot be bound because the custom Hammer.JS loader failed.`)}deregister=()=>{}})),()=>{deregister()}}return zone.runOutsideAngular(()=>{const mc=this._config.buildHammer(element),callback=function(eventObj){zone.runGuarded(function(){handler(eventObj)})};return mc.on(eventName,callback),()=>{mc.off(eventName,callback),"function"==typeof mc.destroy&&mc.destroy()}})}isCustomEvent(eventName){return this._config.events.indexOf(eventName)>-1}static ɵfac=function HammerGesturesPlugin_Factory(__ngFactoryType__){return new(__ngFactoryType__||HammerGesturesPlugin)(_effect_chunk2.KVO(_effect_chunk2.qQL),_effect_chunk2.KVO(HAMMER_GESTURE_CONFIG),_effect_chunk2.KVO(_effect_chunk2.zZn),_effect_chunk2.KVO(HAMMER_LOADER,8))};static ɵprov=_effect_chunk2.jDH({token:HammerGesturesPlugin,factory:HammerGesturesPlugin.ɵfac})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(HammerGesturesPlugin,[{type:_debug_node_chunk._qm}],()=>[{type:void 0,decorators:[{type:_debug_node_chunk.y_5,args:[_effect_chunk2.qQL]}]},{type:HammerGestureConfig,decorators:[{type:_debug_node_chunk.y_5,args:[HAMMER_GESTURE_CONFIG]}]},{type:_effect_chunk2.zZn},{type:void 0,decorators:[{type:_debug_node_chunk.Xx1},{type:_debug_node_chunk.y_5,args:[HAMMER_LOADER]}]}],null);class HammerModule{static ɵfac=function HammerModule_Factory(__ngFactoryType__){return new(__ngFactoryType__||HammerModule)};static ɵmod=_debug_node_chunk.$C({type:HammerModule});static ɵinj=_effect_chunk2.G2t({providers:[{provide:_dom_renderer_chunk.Q5,useClass:HammerGesturesPlugin,multi:!0,deps:[_effect_chunk2.qQL,HAMMER_GESTURE_CONFIG,_effect_chunk2.zZn,[new _debug_node_chunk.Xx1,HAMMER_LOADER]]},{provide:HAMMER_GESTURE_CONFIG,useClass:HammerGestureConfig}]})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(HammerModule,[{type:_debug_node_chunk.UQu,args:[{providers:[{provide:_dom_renderer_chunk.Q5,useClass:HammerGesturesPlugin,multi:!0,deps:[_effect_chunk2.qQL,HAMMER_GESTURE_CONFIG,_effect_chunk2.zZn,[new _debug_node_chunk.Xx1,HAMMER_LOADER]]},{provide:HAMMER_GESTURE_CONFIG,useClass:HammerGestureConfig}]}]}],null,null);class DomSanitizer{static ɵfac=function DomSanitizer_Factory(__ngFactoryType__){return new(__ngFactoryType__||DomSanitizer)};static ɵprov=_effect_chunk2.jDH({token:DomSanitizer,factory:function DomSanitizer_Factory(__ngFactoryType__){let __ngConditionalFactory__=null;return __ngConditionalFactory__=__ngFactoryType__?new(__ngFactoryType__||DomSanitizer):_effect_chunk2.KVO(DomSanitizerImpl),__ngConditionalFactory__},providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(DomSanitizer,[{type:_debug_node_chunk._qm,args:[{providedIn:"root",useExisting:(0,_effect_chunk2.Rfq)(()=>DomSanitizerImpl)}]}],null,null);class DomSanitizerImpl extends DomSanitizer{_doc;constructor(_doc){super(),this._doc=_doc}sanitize(ctx,value){if(null==value)return null;switch(ctx){case _debug_node_chunk.WPN.NONE:return value;case _debug_node_chunk.WPN.HTML:return(0,_debug_node_chunk.iWE)(value,"HTML")?(0,_debug_node_chunk.aCM)(value):(0,_debug_node_chunk.wr$)(this._doc,String(value)).toString();case _debug_node_chunk.WPN.STYLE:return(0,_debug_node_chunk.iWE)(value,"Style")?(0,_debug_node_chunk.aCM)(value):value;case _debug_node_chunk.WPN.SCRIPT:if((0,_debug_node_chunk.iWE)(value,"Script"))return(0,_debug_node_chunk.aCM)(value);throw new _effect_chunk2.buA(5200,("undefined"==typeof ngDevMode||ngDevMode)&&"unsafe value used in a script context");case _debug_node_chunk.WPN.URL:return(0,_debug_node_chunk.iWE)(value,"URL")?(0,_debug_node_chunk.aCM)(value):(0,_debug_node_chunk.gil)(String(value));case _debug_node_chunk.WPN.RESOURCE_URL:if((0,_debug_node_chunk.iWE)(value,"ResourceURL"))return(0,_debug_node_chunk.aCM)(value);throw new _effect_chunk2.buA(5201,("undefined"==typeof ngDevMode||ngDevMode)&&`unsafe value used in a resource URL context (see ${_effect_chunk2.ok8})`);default:throw new _effect_chunk2.buA(5202,("undefined"==typeof ngDevMode||ngDevMode)&&`Unexpected SecurityContext ${ctx} (see ${_effect_chunk2.ok8})`)}}bypassSecurityTrustHtml(value){return(0,_debug_node_chunk.PYC)(value)}bypassSecurityTrustStyle(value){return(0,_debug_node_chunk.rAh)(value)}bypassSecurityTrustScript(value){return(0,_debug_node_chunk.p2i)(value)}bypassSecurityTrustUrl(value){return(0,_debug_node_chunk.B1s)(value)}bypassSecurityTrustResourceUrl(value){return(0,_debug_node_chunk.RPW)(value)}static ɵfac=function DomSanitizerImpl_Factory(__ngFactoryType__){return new(__ngFactoryType__||DomSanitizerImpl)(_effect_chunk2.KVO(_effect_chunk2.qQL))};static ɵprov=_effect_chunk2.jDH({token:DomSanitizerImpl,factory:DomSanitizerImpl.ɵfac,providedIn:"root"})}var HydrationFeatureKind;("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(DomSanitizerImpl,[{type:_debug_node_chunk._qm,args:[{providedIn:"root"}]}],()=>[{type:void 0,decorators:[{type:_debug_node_chunk.y_5,args:[_effect_chunk2.qQL]}]}],null),function(HydrationFeatureKind){HydrationFeatureKind[HydrationFeatureKind.NoHttpTransferCache=0]="NoHttpTransferCache",HydrationFeatureKind[HydrationFeatureKind.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",HydrationFeatureKind[HydrationFeatureKind.I18nSupport=2]="I18nSupport",HydrationFeatureKind[HydrationFeatureKind.EventReplay=3]="EventReplay",HydrationFeatureKind[HydrationFeatureKind.IncrementalHydration=4]="IncrementalHydration"}(HydrationFeatureKind||(HydrationFeatureKind={}));const PRIMARY_OUTLET="primary",RouteTitleKey=Symbol("RouteTitle");class ParamsAsMap{params;constructor(params){this.params=params||{}}has(name){return Object.prototype.hasOwnProperty.call(this.params,name)}get(name){if(this.has(name)){const v=this.params[name];return Array.isArray(v)?v[0]:v}return null}getAll(name){if(this.has(name)){const v=this.params[name];return Array.isArray(v)?v:[v]}return[]}get keys(){return Object.keys(this.params)}}function convertToParamMap(params){return new ParamsAsMap(params)}function matchParts(routeParts,urlSegments,posParams){for(let i=0;i<routeParts.length;i++){const part=routeParts[i],segment=urlSegments[i];if(":"===part[0])posParams[part.substring(1)]=segment;else if(part!==segment.path)return!1}return!0}function defaultUrlMatcher(segments,segmentGroup,route){const parts=route.path.split("/"),wildcardIndex=parts.indexOf("**");if(-1===wildcardIndex){if(parts.length>segments.length)return null;if("full"===route.pathMatch&&(segmentGroup.hasChildren()||parts.length<segments.length))return null;const posParams={},consumed=segments.slice(0,parts.length);return matchParts(parts,consumed,posParams)?{consumed,posParams}:null}if(wildcardIndex!==parts.lastIndexOf("**"))return null;const pre=parts.slice(0,wildcardIndex),post=parts.slice(wildcardIndex+1);if(pre.length+post.length>segments.length)return null;if("full"===route.pathMatch&&segmentGroup.hasChildren()&&"**"!==route.path)return null;const posParams={};return matchParts(pre,segments.slice(0,pre.length),posParams)&&matchParts(post,segments.slice(segments.length-post.length),posParams)?{consumed:segments,posParams}:null}function firstValueFrom(source){return new Promise((resolve,reject)=>{source.pipe((0,first.$)()).subscribe({next:value=>resolve(value),error:err=>reject(err)})})}function shallowEqual(a,b){const k1=a?getDataKeys(a):void 0,k2=b?getDataKeys(b):void 0;if(!k1||!k2||k1.length!=k2.length)return!1;let key;for(let i=0;i<k1.length;i++)if(key=k1[i],!equalArraysOrString(a[key],b[key]))return!1;return!0}function getDataKeys(obj){return[...Object.keys(obj),...Object.getOwnPropertySymbols(obj)]}function equalArraysOrString(a,b){if(Array.isArray(a)&&Array.isArray(b)){if(a.length!==b.length)return!1;const aSorted=[...a].sort(),bSorted=[...b].sort();return aSorted.every((val,index)=>bSorted[index]===val)}return a===b}function wrapIntoObservable(value){return(0,isObservable.A)(value)?value:(0,_debug_node_chunk.yLl)(value)?(0,from.H)(Promise.resolve(value)):(0,of.of)(value)}function wrapIntoPromise(value){return(0,isObservable.A)(value)?firstValueFrom(value):Promise.resolve(value)}const pathCompareMap={exact:function equalSegmentGroups(container,containee,matrixParams){if(!equalPath(container.segments,containee.segments))return!1;if(!matrixParamsMatch(container.segments,containee.segments,matrixParams))return!1;if(container.numberOfChildren!==containee.numberOfChildren)return!1;for(const c in containee.children){if(!container.children[c])return!1;if(!equalSegmentGroups(container.children[c],containee.children[c],matrixParams))return!1}return!0},subset:containsSegmentGroup},paramCompareMap={exact:function equalParams(container,containee){return shallowEqual(container,containee)},subset:function containsParams(container,containee){return Object.keys(containee).length<=Object.keys(container).length&&Object.keys(containee).every(key=>equalArraysOrString(container[key],containee[key]))},ignored:()=>!0},exactMatchOptions={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},subsetMatchOptions={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function isActive(url,router,matchOptions){const urlTree=url instanceof UrlTree?url:router.parseUrl(url);return(0,_resource_chunk.EW)(()=>containsTree(router.lastSuccessfulNavigation()?.finalUrl??new UrlTree,urlTree,{...subsetMatchOptions,...matchOptions}))}function containsTree(container,containee,options){return pathCompareMap[options.paths](container.root,containee.root,options.matrixParams)&¶mCompareMap[options.queryParams](container.queryParams,containee.queryParams)&&!("exact"===options.fragment&&container.fragment!==containee.fragment)}function containsSegmentGroup(container,containee,matrixParams){return containsSegmentGroupHelper(container,containee,containee.segments,matrixParams)}function containsSegmentGroupHelper(container,containee,containeePaths,matrixParams){if(container.segments.length>containeePaths.length){const current=container.segments.slice(0,containeePaths.length);return!!equalPath(current,containeePaths)&&(!containee.hasChildren()&&!!matrixParamsMatch(current,containeePaths,matrixParams))}if(container.segments.length===containeePaths.length){if(!equalPath(container.segments,containeePaths))return!1;if(!matrixParamsMatch(container.segments,containeePaths,matrixParams))return!1;for(const c in containee.children){if(!container.children[c])return!1;if(!containsSegmentGroup(container.children[c],containee.children[c],matrixParams))return!1}return!0}{const current=containeePaths.slice(0,container.segments.length),next=containeePaths.slice(container.segments.length);return!!equalPath(container.segments,current)&&(!!matrixParamsMatch(container.segments,current,matrixParams)&&(!!container.children.primary&&containsSegmentGroupHelper(container.children.primary,containee,next,matrixParams)))}}function matrixParamsMatch(containerPaths,containeePaths,options){return containeePaths.every((containeeSegment,i)=>paramCompareMap[options](containerPaths[i].parameters,containeeSegment.parameters))}class UrlTree{root;queryParams;fragment;_queryParamMap;constructor(root=new UrlSegmentGroup([],{}),queryParams={},fragment=null){if(this.root=root,this.queryParams=queryParams,this.fragment=fragment,("undefined"==typeof ngDevMode||ngDevMode)&&root.segments.length>0)throw new _effect_chunk2.buA(4015,"The root `UrlSegmentGroup` should not contain `segments`. Instead, these segments belong in the `children` so they can be associated with a named outlet.")}get queryParamMap(){return this._queryParamMap??=convertToParamMap(this.queryParams),this._queryParamMap}toString(){return DEFAULT_SERIALIZER.serialize(this)}}class UrlSegmentGroup{segments;children;parent=null;constructor(segments,children){this.segments=segments,this.children=children,Object.values(children).forEach(v=>v.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return serializePaths(this)}}class UrlSegment{path;parameters;_parameterMap;constructor(path,parameters){this.path=path,this.parameters=parameters}get parameterMap(){return this._parameterMap??=convertToParamMap(this.parameters),this._parameterMap}toString(){return serializePath(this)}}function equalPath(as,bs){return as.length===bs.length&&as.every((a,i)=>a.path===bs[i].path)}class UrlSerializer{static ɵfac=function UrlSerializer_Factory(__ngFactoryType__){return new(__ngFactoryType__||UrlSerializer)};static ɵprov=_effect_chunk2.jDH({token:UrlSerializer,factory:()=>new DefaultUrlSerializer,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(UrlSerializer,[{type:_debug_node_chunk._qm,args:[{providedIn:"root",useFactory:()=>new DefaultUrlSerializer}]}],null,null);class DefaultUrlSerializer{parse(url){const p=new UrlParser(url);return new UrlTree(p.parseRootSegment(),p.parseQueryParams(),p.parseFragment())}serialize(tree){return`${`/${serializeSegment(tree.root,!0)}`}${function serializeQueryParams(params){const strParams=Object.entries(params).map(([name,value])=>Array.isArray(value)?value.map(v=>`${encodeUriQuery(name)}=${encodeUriQuery(v)}`).join("&"):`${encodeUriQuery(name)}=${encodeUriQuery(value)}`).filter(s=>s);return strParams.length?`?${strParams.join("&")}`:""}(tree.queryParams)}${"string"==typeof tree.fragment?`#${function encodeUriFragment(s){return encodeURI(s)}(tree.fragment)}`:""}`}}const DEFAULT_SERIALIZER=new DefaultUrlSerializer;function serializePaths(segment){return segment.segments.map(p=>serializePath(p)).join("/")}function serializeSegment(segment,root){if(!segment.hasChildren())return serializePaths(segment);if(root){const primary=segment.children.primary?serializeSegment(segment.children.primary,!1):"",children=[];return Object.entries(segment.children).forEach(([k,v])=>{"primary"!==k&&children.push(`${k}:${serializeSegment(v,!1)}`)}),children.length>0?`${primary}(${children.join("//")})`:primary}{const children=function mapChildrenIntoArray(segment,fn){let res=[];return Object.entries(segment.children).forEach(([childOutlet,child])=>{"primary"===childOutlet&&(res=res.concat(fn(child,childOutlet)))}),Object.entries(segment.children).forEach(([childOutlet,child])=>{"primary"!==childOutlet&&(res=res.concat(fn(child,childOutlet)))}),res}(segment,(v,k)=>"primary"===k?[serializeSegment(segment.children.primary,!1)]:[`${k}:${serializeSegment(v,!1)}`]);return 1===Object.keys(segment.children).length&&null!=segment.children.primary?`${serializePaths(segment)}/${children[0]}`:`${serializePaths(segment)}/(${children.join("//")})`}}function encodeUriString(s){return encodeURIComponent(s).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function encodeUriQuery(s){return encodeUriString(s).replace(/%3B/gi,";")}function encodeUriSegment(s){return encodeUriString(s).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function decode(s){return decodeURIComponent(s)}function decodeQuery(s){return decode(s.replace(/\+/g,"%20"))}function serializePath(path){return`${encodeUriSegment(path.path)}${function serializeMatrixParams(params){return Object.entries(params).map(([key,value])=>`;${encodeUriSegment(key)}=${encodeUriSegment(value)}`).join("")}(path.parameters)}`}const SEGMENT_RE=/^[^\/()?;#]+/;function matchSegments(str){const match=str.match(SEGMENT_RE);return match?match[0]:""}const MATRIX_PARAM_SEGMENT_RE=/^[^\/()?;=#]+/;const QUERY_PARAM_RE=/^[^=?&#]+/;const QUERY_PARAM_VALUE_RE=/^[^&#]+/;class UrlParser{url;remaining;constructor(url){this.url=url,this.remaining=url}parseRootSegment(){for(;this.consumeOptional("/"););return""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new UrlSegmentGroup([],{}):new UrlSegmentGroup([],this.parseChildren())}parseQueryParams(){const params={};if(this.consumeOptional("?"))do{this.parseQueryParam(params)}while(this.consumeOptional("&"));return params}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(depth=0){if(depth>50)throw new _effect_chunk2.buA(4010,("undefined"==typeof ngDevMode||ngDevMode)&&"URL is too deep");if(""===this.remaining)return{};this.consumeOptional("/");const segments=[];for(this.peekStartsWith("(")||segments.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),segments.push(this.parseSegment());let children={};this.peekStartsWith("/(")&&(this.capture("/"),children=this.parseParens(!0,depth));let res={};return this.peekStartsWith("(")&&(res=this.parseParens(!1,depth)),(segments.length>0||Object.keys(children).length>0)&&(res.primary=new UrlSegmentGroup(segments,children)),res}parseSegment(){const path=matchSegments(this.remaining);if(""===path&&this.peekStartsWith(";"))throw new _effect_chunk2.buA(4009,("undefined"==typeof ngDevMode||ngDevMode)&&`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(path),new UrlSegment(decode(path),this.parseMatrixParams())}parseMatrixParams(){const params={};for(;this.consumeOptional(";");)this.parseParam(params);return params}parseParam(params){const key=function matchMatrixKeySegments(str){const match=str.match(MATRIX_PARAM_SEGMENT_RE);return match?match[0]:""}(this.remaining);if(!key)return;this.capture(key);let value="";if(this.consumeOptional("=")){const valueMatch=matchSegments(this.remaining);valueMatch&&(value=valueMatch,this.capture(value))}params[decode(key)]=decode(value)}parseQueryParam(params){const key=function matchQueryParams(str){const match=str.match(QUERY_PARAM_RE);return match?match[0]:""}(this.remaining);if(!key)return;this.capture(key);let value="";if(this.consumeOptional("=")){const valueMatch=function matchUrlQueryParamValue(str){const match=str.match(QUERY_PARAM_VALUE_RE);return match?match[0]:""}(this.remaining);valueMatch&&(value=valueMatch,this.capture(value))}const decodedKey=decodeQuery(key),decodedVal=decodeQuery(value);if(params.hasOwnProperty(decodedKey)){let currentVal=params[decodedKey];Array.isArray(currentVal)||(currentVal=[currentVal],params[decodedKey]=currentVal),currentVal.push(decodedVal)}else params[decodedKey]=decodedVal}parseParens(allowPrimary,depth){const segments={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const path=matchSegments(this.remaining),next=this.remaining[path.length];if("/"!==next&&")"!==next&&";"!==next)throw new _effect_chunk2.buA(4010,("undefined"==typeof ngDevMode||ngDevMode)&&`Cannot parse url '${this.url}'`);let outletName;path.indexOf(":")>-1?(outletName=path.slice(0,path.indexOf(":")),this.capture(outletName),this.capture(":")):allowPrimary&&(outletName="primary");const children=this.parseChildren(depth+1);segments[outletName??"primary"]=1===Object.keys(children).length&&children.primary?children.primary:new UrlSegmentGroup([],children),this.consumeOptional("//")}return segments}peekStartsWith(str){return this.remaining.startsWith(str)}consumeOptional(str){return!!this.peekStartsWith(str)&&(this.remaining=this.remaining.substring(str.length),!0)}capture(str){if(!this.consumeOptional(str))throw new _effect_chunk2.buA(4011,("undefined"==typeof ngDevMode||ngDevMode)&&`Expected "${str}".`)}}function createRoot(rootCandidate){return rootCandidate.segments.length>0?new UrlSegmentGroup([],{[PRIMARY_OUTLET]:rootCandidate}):rootCandidate}function squashSegmentGroup(segmentGroup){const newChildren={};for(const[childOutlet,child]of Object.entries(segmentGroup.children)){const childCandidate=squashSegmentGroup(child);if("primary"===childOutlet&&0===childCandidate.segments.length&&childCandidate.hasChildren())for(const[grandChildOutlet,grandChild]of Object.entries(childCandidate.children))newChildren[grandChildOutlet]=grandChild;else(childCandidate.segments.length>0||childCandidate.hasChildren())&&(newChildren[childOutlet]=childCandidate)}return function mergeTrivialChildren(s){if(1===s.numberOfChildren&&s.children.primary){const c=s.children.primary;return new UrlSegmentGroup(s.segments.concat(c.segments),c.children)}return s}(new UrlSegmentGroup(segmentGroup.segments,newChildren))}function isUrlTree(v){return v instanceof UrlTree}function createSegmentGroupFromRoute(route){let targetGroup;const rootCandidate=function createSegmentGroupFromRouteRecursive(currentRoute){const childOutlets={};for(const childSnapshot of currentRoute.children){const root=createSegmentGroupFromRouteRecursive(childSnapshot);childOutlets[childSnapshot.outlet]=root}const segmentGroup=new UrlSegmentGroup(currentRoute.url,childOutlets);return currentRoute===route&&(targetGroup=segmentGroup),segmentGroup}(route.root),rootSegmentGroup=createRoot(rootCandidate);return targetGroup??rootSegmentGroup}function createUrlTreeFromSegmentGroup(relativeTo,commands,queryParams,fragment,urlSerializer){let root=relativeTo;for(;root.parent;)root=root.parent;if(0===commands.length)return tree(root,root,root,queryParams,fragment,urlSerializer);const nav=function computeNavigation(commands){if("string"==typeof commands[0]&&1===commands.length&&"/"===commands[0])return new Navigation(!0,0,commands);let numberOfDoubleDots=0,isAbsolute=!1;const res=commands.reduce((res,cmd,cmdIdx)=>{if("object"==typeof cmd&&null!=cmd){if(cmd.outlets){const outlets={};return Object.entries(cmd.outlets).forEach(([name,commands])=>{outlets[name]="string"==typeof commands?commands.split("/"):commands}),[...res,{outlets}]}if(cmd.segmentPath)return[...res,cmd.segmentPath]}return"string"!=typeof cmd?[...res,cmd]:0===cmdIdx?(cmd.split("/").forEach((urlPart,partIndex)=>{0==partIndex&&"."===urlPart||(0==partIndex&&""===urlPart?isAbsolute=!0:".."===urlPart?numberOfDoubleDots++:""!=urlPart&&res.push(urlPart))}),res):[...res,cmd]},[]);return new Navigation(isAbsolute,numberOfDoubleDots,res)}(commands);if(nav.toRoot())return tree(root,root,new UrlSegmentGroup([],{}),queryParams,fragment,urlSerializer);const position=function findStartingPositionForTargetGroup(nav,root,target){if(nav.isAbsolute)return new Position(root,!0,0);if(!target)return new Position(root,!1,NaN);if(null===target.parent)return new Position(target,!0,0);const modifier=isMatrixParams(nav.commands[0])?0:1,index=target.segments.length-1+modifier;return function createPositionApplyingDoubleDots(group,index,numberOfDoubleDots){let g=group,ci=index,dd=numberOfDoubleDots;for(;dd>ci;){if(dd-=ci,g=g.parent,!g)throw new _effect_chunk2.buA(4005,("undefined"==typeof ngDevMode||ngDevMode)&&"Invalid number of '../'");ci=g.segments.length}return new Position(g,!1,ci-dd)}(target,index,nav.numberOfDoubleDots)}(nav,root,relativeTo),newSegmentGroup=position.processChildren?updateSegmentGroupChildren(position.segmentGroup,position.index,nav.commands):updateSegmentGroup(position.segmentGroup,position.index,nav.commands);return tree(root,position.segmentGroup,newSegmentGroup,queryParams,fragment,urlSerializer)}function isMatrixParams(command){return"object"==typeof command&&null!=command&&!command.outlets&&!command.segmentPath}function isCommandWithOutlets(command){return"object"==typeof command&&null!=command&&command.outlets}function normalizeQueryParams(k,v,urlSerializer){k||="ɵ";const tree=new UrlTree;return tree.queryParams={[k]:v},urlSerializer.parse(urlSerializer.serialize(tree)).queryParams[k]}function tree(oldRoot,oldSegmentGroup,newSegmentGroup,queryParams,fragment,urlSerializer){const qp={};for(const[key,value]of Object.entries(queryParams??{}))qp[key]=Array.isArray(value)?value.map(v=>normalizeQueryParams(key,v,urlSerializer)):normalizeQueryParams(key,value,urlSerializer);let rootCandidate;rootCandidate=oldRoot===oldSegmentGroup?newSegmentGroup:replaceSegment(oldRoot,oldSegmentGroup,newSegmentGroup);const newRoot=createRoot(squashSegmentGroup(rootCandidate));return new UrlTree(newRoot,qp,fragment)}function replaceSegment(current,oldSegment,newSegment){const children={};return Object.entries(current.children).forEach(([outletName,c])=>{children[outletName]=c===oldSegment?newSegment:replaceSegment(c,oldSegment,newSegment)}),new UrlSegmentGroup(current.segments,children)}class Navigation{isAbsolute;numberOfDoubleDots;commands;constructor(isAbsolute,numberOfDoubleDots,commands){if(this.isAbsolute=isAbsolute,this.numberOfDoubleDots=numberOfDoubleDots,this.commands=commands,isAbsolute&&commands.length>0&&isMatrixParams(commands[0]))throw new _effect_chunk2.buA(4003,("undefined"==typeof ngDevMode||ngDevMode)&&"Root segment cannot have matrix parameters");const cmdWithOutlet=commands.find(isCommandWithOutlets);if(cmdWithOutlet&&cmdWithOutlet!==function last(a){return a.length>0?a[a.length-1]:null}(commands))throw new _effect_chunk2.buA(4004,("undefined"==typeof ngDevMode||ngDevMode)&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Position{segmentGroup;processChildren;index;constructor(segmentGroup,processChildren,index){this.segmentGroup=segmentGroup,this.processChildren=processChildren,this.index=index}}function updateSegmentGroup(segmentGroup,startIndex,commands){if(segmentGroup??=new UrlSegmentGroup([],{}),0===segmentGroup.segments.length&&segmentGroup.hasChildren())return updateSegmentGroupChildren(segmentGroup,startIndex,commands);const m=function prefixedWith(segmentGroup,startIndex,commands){let currentCommandIndex=0,currentPathIndex=startIndex;const noMatch={match:!1,pathIndex:0,commandIndex:0};for(;currentPathIndex<segmentGroup.segments.length;){if(currentCommandIndex>=commands.length)return noMatch;const path=segmentGroup.segments[currentPathIndex],command=commands[currentCommandIndex];if(isCommandWithOutlets(command))break;const curr=`${command}`,next=currentCommandIndex<commands.length-1?commands[currentCommandIndex+1]:null;if(currentPathIndex>0&&void 0===curr)break;if(curr&&next&&"object"==typeof next&&void 0===next.outlets){if(!compare(curr,next,path))return noMatch;currentCommandIndex+=2}else{if(!compare(curr,{},path))return noMatch;currentCommandIndex++}currentPathIndex++}return{match:!0,pathIndex:currentPathIndex,commandIndex:currentCommandIndex}}(segmentGroup,startIndex,commands),slicedCommands=commands.slice(m.commandIndex);if(m.match&&m.pathIndex<segmentGroup.segments.length){const g=new UrlSegmentGroup(segmentGroup.segments.slice(0,m.pathIndex),{});return g.children.primary=new UrlSegmentGroup(segmentGroup.segments.slice(m.pathIndex),segmentGroup.children),updateSegmentGroupChildren(g,0,slicedCommands)}return m.match&&0===slicedCommands.length?new UrlSegmentGroup(segmentGroup.segments,{}):m.match&&!segmentGroup.hasChildren()?createNewSegmentGroup(segmentGroup,startIndex,commands):m.match?updateSegmentGroupChildren(segmentGroup,0,slicedCommands):createNewSegmentGroup(segmentGroup,startIndex,commands)}function updateSegmentGroupChildren(segmentGroup,startIndex,commands){if(0===commands.length)return new UrlSegmentGroup(segmentGroup.segments,{});{const outlets=function getOutlets(commands){return isCommandWithOutlets(commands[0])?commands[0].outlets:{[PRIMARY_OUTLET]:commands}}(commands),children={};if(Object.keys(outlets).some(o=>"primary"!==o)&&segmentGroup.children.primary&&1===segmentGroup.numberOfChildren&&0===segmentGroup.children.primary.segments.length){const childrenOfEmptyChild=updateSegmentGroupChildren(segmentGroup.children.primary,startIndex,commands);return new UrlSegmentGroup(segmentGroup.segments,childrenOfEmptyChild.children)}return Object.entries(outlets).forEach(([outlet,commands])=>{"string"==typeof commands&&(commands=[commands]),null!==commands&&(children[outlet]=updateSegmentGroup(segmentGroup.children[outlet],startIndex,commands))}),Object.entries(segmentGroup.children).forEach(([childOutlet,child])=>{void 0===outlets[childOutlet]&&(children[childOutlet]=child)}),new UrlSegmentGroup(segmentGroup.segments,children)}}function createNewSegmentGroup(segmentGroup,startIndex,commands){const paths=segmentGroup.segments.slice(0,startIndex);let i=0;for(;i<commands.length;){const command=commands[i];if(isCommandWithOutlets(command)){const children=createNewSegmentChildren(command.outlets);return new UrlSegmentGroup(paths,children)}if(0===i&&isMatrixParams(commands[0])){const p=segmentGroup.segments[startIndex];paths.push(new UrlSegment(p.path,stringify(commands[0]))),i++;continue}const curr=isCommandWithOutlets(command)?command.outlets.primary:`${command}`,next=i<commands.length-1?commands[i+1]:null;curr&&next&&isMatrixParams(next)?(paths.push(new UrlSegment(curr,stringify(next))),i+=2):(paths.push(new UrlSegment(curr,{})),i++)}return new UrlSegmentGroup(paths,{})}function createNewSegmentChildren(outlets){const children={};return Object.entries(outlets).forEach(([outlet,commands])=>{"string"==typeof commands&&(commands=[commands]),null!==commands&&(children[outlet]=createNewSegmentGroup(new UrlSegmentGroup([],{}),0,commands))}),children}function stringify(params){const res={};return Object.entries(params).forEach(([k,v])=>res[k]=`${v}`),res}function compare(path,params,segment){return path==segment.path&&shallowEqual(params,segment.parameters)}const IMPERATIVE_NAVIGATION="imperative";var EventType,NavigationCancellationCode,NavigationSkippedCode;!function(EventType){EventType[EventType.NavigationStart=0]="NavigationStart",EventType[EventType.NavigationEnd=1]="NavigationEnd",EventType[EventType.NavigationCancel=2]="NavigationCancel",EventType[EventType.NavigationError=3]="NavigationError",EventType[EventType.RoutesRecognized=4]="RoutesRecognized",EventType[EventType.ResolveStart=5]="ResolveStart",EventType[EventType.ResolveEnd=6]="ResolveEnd",EventType[EventType.GuardsCheckStart=7]="GuardsCheckStart",EventType[EventType.GuardsCheckEnd=8]="GuardsCheckEnd",EventType[EventType.RouteConfigLoadStart=9]="RouteConfigLoadStart",EventType[EventType.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",EventType[EventType.ChildActivationStart=11]="ChildActivationStart",EventType[EventType.ChildActivationEnd=12]="ChildActivationEnd",EventType[EventType.ActivationStart=13]="ActivationStart",EventType[EventType.ActivationEnd=14]="ActivationEnd",EventType[EventType.Scroll=15]="Scroll",EventType[EventType.NavigationSkipped=16]="NavigationSkipped"}(EventType||(EventType={}));class RouterEvent{id;url;constructor(id,url){this.id=id,this.url=url}}class NavigationStart extends RouterEvent{type=EventType.NavigationStart;navigationTrigger;restoredState;constructor(id,url,navigationTrigger="imperative",restoredState=null){super(id,url),this.navigationTrigger=navigationTrigger,this.restoredState=restoredState}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class NavigationEnd extends RouterEvent{urlAfterRedirects;type=EventType.NavigationEnd;constructor(id,url,urlAfterRedirects){super(id,url),this.urlAfterRedirects=urlAfterRedirects}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}!function(NavigationCancellationCode){NavigationCancellationCode[NavigationCancellationCode.Redirect=0]="Redirect",NavigationCancellationCode[NavigationCancellationCode.SupersededByNewNavigation=1]="SupersededByNewNavigation",NavigationCancellationCode[NavigationCancellationCode.NoDataFromResolver=2]="NoDataFromResolver",NavigationCancellationCode[NavigationCancellationCode.GuardRejected=3]="GuardRejected",NavigationCancellationCode[NavigationCancellationCode.Aborted=4]="Aborted"}(NavigationCancellationCode||(NavigationCancellationCode={})),function(NavigationSkippedCode){NavigationSkippedCode[NavigationSkippedCode.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",NavigationSkippedCode[NavigationSkippedCode.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy"}(NavigationSkippedCode||(NavigationSkippedCode={}));class NavigationCancel extends RouterEvent{reason;code;type=EventType.NavigationCancel;constructor(id,url,reason,code){super(id,url),this.reason=reason,this.code=code}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}function isRedirectingEvent(event){return event instanceof NavigationCancel&&(event.code===NavigationCancellationCode.Redirect||event.code===NavigationCancellationCode.SupersededByNewNavigation)}class NavigationSkipped extends RouterEvent{reason;code;type=EventType.NavigationSkipped;constructor(id,url,reason,code){super(id,url),this.reason=reason,this.code=code}}class NavigationError extends RouterEvent{error;target;type=EventType.NavigationError;constructor(id,url,error,target){super(id,url),this.error=error,this.target=target}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class RoutesRecognized extends RouterEvent{urlAfterRedirects;state;type=EventType.RoutesRecognized;constructor(id,url,urlAfterRedirects,state){super(id,url),this.urlAfterRedirects=urlAfterRedirects,this.state=state}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class GuardsCheckStart extends RouterEvent{urlAfterRedirects;state;type=EventType.GuardsCheckStart;constructor(id,url,urlAfterRedirects,state){super(id,url),this.urlAfterRedirects=urlAfterRedirects,this.state=state}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class GuardsCheckEnd extends RouterEvent{urlAfterRedirects;state;shouldActivate;type=EventType.GuardsCheckEnd;constructor(id,url,urlAfterRedirects,state,shouldActivate){super(id,url),this.urlAfterRedirects=urlAfterRedirects,this.state=state,this.shouldActivate=shouldActivate}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ResolveStart extends RouterEvent{urlAfterRedirects;state;type=EventType.ResolveStart;constructor(id,url,urlAfterRedirects,state){super(id,url),this.urlAfterRedirects=urlAfterRedirects,this.state=state}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ResolveEnd extends RouterEvent{urlAfterRedirects;state;type=EventType.ResolveEnd;constructor(id,url,urlAfterRedirects,state){super(id,url),this.urlAfterRedirects=urlAfterRedirects,this.state=state}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class RouteConfigLoadStart{route;type=EventType.RouteConfigLoadStart;constructor(route){this.route=route}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class RouteConfigLoadEnd{route;type=EventType.RouteConfigLoadEnd;constructor(route){this.route=route}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ChildActivationStart{snapshot;type=EventType.ChildActivationStart;constructor(snapshot){this.snapshot=snapshot}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ChildActivationEnd{snapshot;type=EventType.ChildActivationEnd;constructor(snapshot){this.snapshot=snapshot}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ActivationStart{snapshot;type=EventType.ActivationStart;constructor(snapshot){this.snapshot=snapshot}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ActivationEnd{snapshot;type=EventType.ActivationEnd;constructor(snapshot){this.snapshot=snapshot}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Scroll{routerEvent;position;anchor;scrollBehavior;type=EventType.Scroll;constructor(routerEvent,position,anchor,scrollBehavior){this.routerEvent=routerEvent,this.position=position,this.anchor=anchor,this.scrollBehavior=scrollBehavior}toString(){const pos=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${pos}')`}}class BeforeActivateRoutes{}class BeforeRoutesRecognized{}class RedirectRequest{url;navigationBehaviorOptions;constructor(url,navigationBehaviorOptions){this.url=url,this.navigationBehaviorOptions=navigationBehaviorOptions}}function stringifyEvent(routerEvent){switch(routerEvent.type){case EventType.ActivationEnd:return`ActivationEnd(path: '${routerEvent.snapshot.routeConfig?.path||""}')`;case EventType.ActivationStart:return`ActivationStart(path: '${routerEvent.snapshot.routeConfig?.path||""}')`;case EventType.ChildActivationEnd:return`ChildActivationEnd(path: '${routerEvent.snapshot.routeConfig?.path||""}')`;case EventType.ChildActivationStart:return`ChildActivationStart(path: '${routerEvent.snapshot.routeConfig?.path||""}')`;case EventType.GuardsCheckEnd:return`GuardsCheckEnd(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state}, shouldActivate: ${routerEvent.shouldActivate})`;case EventType.GuardsCheckStart:return`GuardsCheckStart(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;case EventType.NavigationCancel:return`NavigationCancel(id: ${routerEvent.id}, url: '${routerEvent.url}')`;case EventType.NavigationSkipped:return`NavigationSkipped(id: ${routerEvent.id}, url: '${routerEvent.url}')`;case EventType.NavigationEnd:return`NavigationEnd(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}')`;case EventType.NavigationError:return`NavigationError(id: ${routerEvent.id}, url: '${routerEvent.url}', error: ${routerEvent.error})`;case EventType.NavigationStart:return`NavigationStart(id: ${routerEvent.id}, url: '${routerEvent.url}')`;case EventType.ResolveEnd:return`ResolveEnd(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;case EventType.ResolveStart:return`ResolveStart(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;case EventType.RouteConfigLoadEnd:return`RouteConfigLoadEnd(path: ${routerEvent.route.path})`;case EventType.RouteConfigLoadStart:return`RouteConfigLoadStart(path: ${routerEvent.route.path})`;case EventType.RoutesRecognized:return`RoutesRecognized(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;case EventType.Scroll:const pos=routerEvent.position?`${routerEvent.position[0]}, ${routerEvent.position[1]}`:null;return`Scroll(anchor: '${routerEvent.anchor}', position: '${pos}')`}}class OutletContext{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(rootInjector){this.rootInjector=rootInjector,this.children=new ChildrenOutletContexts(this.rootInjector)}}class ChildrenOutletContexts{rootInjector;contexts=new Map;constructor(rootInjector){this.rootInjector=rootInjector}onChildOutletCreated(childName,outlet){const context=this.getOrCreateContext(childName);context.outlet=outlet,this.contexts.set(childName,context)}onChildOutletDestroyed(childName){const context=this.getContext(childName);context&&(context.outlet=null,context.attachRef=null)}onOutletDeactivated(){const contexts=this.contexts;return this.contexts=new Map,contexts}onOutletReAttached(contexts){this.contexts=contexts}getOrCreateContext(childName){let context=this.getContext(childName);return context||(context=new OutletContext(this.rootInjector),this.contexts.set(childName,context)),context}getContext(childName){return this.contexts.get(childName)||null}static ɵfac=function ChildrenOutletContexts_Factory(__ngFactoryType__){return new(__ngFactoryType__||ChildrenOutletContexts)(_effect_chunk2.KVO(_effect_chunk2.uvJ))};static ɵprov=_effect_chunk2.jDH({token:ChildrenOutletContexts,factory:ChildrenOutletContexts.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(ChildrenOutletContexts,[{type:_debug_node_chunk._qm,args:[{providedIn:"root"}]}],()=>[{type:_effect_chunk2.uvJ}],null);class Tree{_root;constructor(root){this._root=root}get root(){return this._root.value}parent(t){const p=this.pathFromRoot(t);return p.length>1?p[p.length-2]:null}children(t){const n=findNode(t,this._root);return n?n.children.map(t=>t.value):[]}firstChild(t){const n=findNode(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const p=findPath(t,this._root);if(p.length<2)return[];return p[p.length-2].children.map(c=>c.value).filter(cc=>cc!==t)}pathFromRoot(t){return findPath(t,this._root).map(s=>s.value)}}function findNode(value,node){if(value===node.value)return node;for(const child of node.children){const node=findNode(value,child);if(node)return node}return null}function findPath(value,node){if(value===node.value)return[node];for(const child of node.children){const path=findPath(value,child);if(path.length)return path.unshift(node),path}return[]}class TreeNode{value;children;constructor(value,children){this.value=value,this.children=children}toString(){return`TreeNode(${this.value})`}}function nodeChildrenAsMap(node){const map={};return node&&node.children.forEach(child=>map[child.value.outlet]=child),map}class RouterState extends Tree{snapshot;constructor(root,snapshot){super(root),this.snapshot=snapshot,setRouterState(this,root)}toString(){return this.snapshot.toString()}}function createEmptyState(rootComponent,injector){const snapshot=function createEmptyStateSnapshot(rootComponent,injector){const emptyParams={},emptyData={},emptyQueryParams={},fragment="",activated=new ActivatedRouteSnapshot([],emptyParams,emptyQueryParams,fragment,emptyData,"primary",rootComponent,null,{},injector);return new RouterStateSnapshot("",new TreeNode(activated,[]))}(rootComponent,injector),emptyUrl=new BehaviorSubject.t([new UrlSegment("",{})]),emptyParams=new BehaviorSubject.t({}),emptyData=new BehaviorSubject.t({}),emptyQueryParams=new BehaviorSubject.t({}),fragment=new BehaviorSubject.t(""),activated=new ActivatedRoute(emptyUrl,emptyParams,emptyQueryParams,fragment,emptyData,"primary",rootComponent,snapshot.root);return activated.snapshot=snapshot.root,new RouterState(new TreeNode(activated,[]),snapshot)}class ActivatedRoute{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(urlSubject,paramsSubject,queryParamsSubject,fragmentSubject,dataSubject,outlet,component,futureSnapshot){this.urlSubject=urlSubject,this.paramsSubject=paramsSubject,this.queryParamsSubject=queryParamsSubject,this.fragmentSubject=fragmentSubject,this.dataSubject=dataSubject,this.outlet=outlet,this.component=component,this._futureSnapshot=futureSnapshot,this.title=this.dataSubject?.pipe((0,map.T)(d=>d[RouteTitleKey]))??(0,of.of)(void 0),this.url=urlSubject,this.params=paramsSubject,this.queryParams=queryParamsSubject,this.fragment=fragmentSubject,this.data=dataSubject}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,map.T)(p=>convertToParamMap(p))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,map.T)(p=>convertToParamMap(p))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function getInherited(route,parent,paramsInheritanceStrategy="emptyOnly"){let inherited;const{routeConfig}=route;return inherited=null===parent||"always"!==paramsInheritanceStrategy&&""!==routeConfig?.path&&(parent.component||parent.routeConfig?.loadComponent)?{params:{...route.params},data:{...route.data},resolve:{...route.data,...route._resolvedData??{}}}:{params:{...parent.params,...route.params},data:{...parent.data,...route.data},resolve:{...route.data,...parent.data,...routeConfig?.data,...route._resolvedData}},routeConfig&&hasStaticTitle(routeConfig)&&(inherited.resolve[RouteTitleKey]=routeConfig.title),inherited}class ActivatedRouteSnapshot{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[RouteTitleKey]}constructor(url,params,queryParams,fragment,data,outlet,component,routeConfig,resolve,environmentInjector){this.url=url,this.params=params,this.queryParams=queryParams,this.fragment=fragment,this.data=data,this.outlet=outlet,this.component=component,this.routeConfig=routeConfig,this._resolve=resolve,this._environmentInjector=environmentInjector}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=convertToParamMap(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=convertToParamMap(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(segment=>segment.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class RouterStateSnapshot extends Tree{url;constructor(url,root){super(root),this.url=url,setRouterState(this,root)}toString(){return serializeNode(this._root)}}function setRouterState(state,node){node.value._routerState=state,node.children.forEach(c=>setRouterState(state,c))}function serializeNode(node){const c=node.children.length>0?` { ${node.children.map(serializeNode).join(", ")} } `:"";return`${node.value}${c}`}function advanceActivatedRoute(route){if(route.snapshot){const currentSnapshot=route.snapshot,nextSnapshot=route._futureSnapshot;route.snapshot=nextSnapshot,shallowEqual(currentSnapshot.queryParams,nextSnapshot.queryParams)||route.queryParamsSubject.next(nextSnapshot.queryParams),currentSnapshot.fragment!==nextSnapshot.fragment&&route.fragmentSubject.next(nextSnapshot.fragment),shallowEqual(currentSnapshot.params,nextSnapshot.params)||route.paramsSubject.next(nextSnapshot.params),function shallowEqualArrays(a,b){if(a.length!==b.length)return!1;for(let i=0;i<a.length;++i)if(!shallowEqual(a[i],b[i]))return!1;return!0}(currentSnapshot.url,nextSnapshot.url)||route.urlSubject.next(nextSnapshot.url),shallowEqual(currentSnapshot.data,nextSnapshot.data)||route.dataSubject.next(nextSnapshot.data)}else route.snapshot=route._futureSnapshot,route.dataSubject.next(route._futureSnapshot.data)}function equalParamsAndUrlSegments(a,b){const equalUrlParams=shallowEqual(a.params,b.params)&&function equalSegments(as,bs){return equalPath(as,bs)&&as.every((a,i)=>shallowEqual(a.parameters,bs[i].parameters))}(a.url,b.url),parentsMismatch=!a.parent!=!b.parent;return equalUrlParams&&!parentsMismatch&&(!a.parent||equalParamsAndUrlSegments(a.parent,b.parent))}function hasStaticTitle(config){return"string"==typeof config.title||null===config.title}const ROUTER_OUTLET_DATA=new _effect_chunk2.nKC("undefined"!=typeof ngDevMode&&ngDevMode?"RouterOutlet data":"");class RouterOutlet{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name="primary";activateEvents=new _effect_chunk2.bkB;deactivateEvents=new _effect_chunk2.bkB;attachEvents=new _effect_chunk2.bkB;detachEvents=new _effect_chunk2.bkB;routerOutletData=(0,core.input)(...ngDevMode?[void 0,{debugName:"routerOutletData"}]:[]);parentContexts=(0,_effect_chunk2.WQX)(ChildrenOutletContexts);location=(0,_effect_chunk2.WQX)(_debug_node_chunk.c1b);changeDetector=(0,_effect_chunk2.WQX)(core.ChangeDetectorRef);inputBinder=(0,_effect_chunk2.WQX)(INPUT_BINDER,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(changes){if(changes.name){const{firstChange,previousValue}=changes.name;if(firstChange)return;this.isTrackedInParentContexts(previousValue)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(previousValue)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(outletName){return this.parentContexts.getContext(outletName)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const context=this.parentContexts.getContext(this.name);context?.route&&(context.attachRef?this.attach(context.attachRef,context.route):this.activateWith(context.route,context.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new _effect_chunk2.buA(4012,("undefined"==typeof ngDevMode||ngDevMode)&&"Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new _effect_chunk2.buA(4012,("undefined"==typeof ngDevMode||ngDevMode)&&"Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new _effect_chunk2.buA(4012,("undefined"==typeof ngDevMode||ngDevMode)&&"Outlet is not activated");this.location.detach();const cmp=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(cmp.instance),cmp}attach(ref,activatedRoute){this.activated=ref,this._activatedRoute=activatedRoute,this.location.insert(ref.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(ref.instance)}deactivate(){if(this.activated){const c=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(c)}}activateWith(activatedRoute,environmentInjector){if(this.isActivated)throw new _effect_chunk2.buA(4013,("undefined"==typeof ngDevMode||ngDevMode)&&"Cannot activate an already activated outlet");this._activatedRoute=activatedRoute;const location=this.location,component=activatedRoute.snapshot.component,childContexts=this.parentContexts.getOrCreateContext(this.name).children,injector=new OutletInjector(activatedRoute,childContexts,location.injector,this.routerOutletData);this.activated=location.createComponent(component,{index:location.length,injector,environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static ɵfac=function RouterOutlet_Factory(__ngFactoryType__){return new(__ngFactoryType__||RouterOutlet)};static ɵdir=_debug_node_chunk.FsC({type:RouterOutlet,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[_debug_node_chunk.OA$]})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(RouterOutlet,[{type:_debug_node_chunk.WLR,args:[{selector:"router-outlet",exportAs:"outlet"}]}],null,{name:[{type:_debug_node_chunk.pde}],activateEvents:[{type:_debug_node_chunk.k7i,args:["activate"]}],deactivateEvents:[{type:_debug_node_chunk.k7i,args:["deactivate"]}],attachEvents:[{type:_debug_node_chunk.k7i,args:["attach"]}],detachEvents:[{type:_debug_node_chunk.k7i,args:["detach"]}],routerOutletData:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"routerOutletData",required:!1}]}]});class OutletInjector{route;childContexts;parent;outletData;constructor(route,childContexts,parent,outletData){this.route=route,this.childContexts=childContexts,this.parent=parent,this.outletData=outletData}get(token,notFoundValue){return token===ActivatedRoute?this.route:token===ChildrenOutletContexts?this.childContexts:token===ROUTER_OUTLET_DATA?this.outletData:this.parent.get(token,notFoundValue)}}const INPUT_BINDER=new _effect_chunk2.nKC("undefined"!=typeof ngDevMode&&ngDevMode?"Router Input Binder":"");class RoutedComponentInputBinder{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(outlet){this.unsubscribeFromRouteData(outlet),this.subscribeToRouteData(outlet)}unsubscribeFromRouteData(outlet){this.outletDataSubscriptions.get(outlet)?.unsubscribe(),this.outletDataSubscriptions.delete(outlet)}subscribeToRouteData(outlet){const{activatedRoute}=outlet,dataSubscription=(0,combineLatest.z)([activatedRoute.queryParams,activatedRoute.params,activatedRoute.data]).pipe((0,switchMap.n)(([queryParams,params,data],index)=>(data={...queryParams,...params,...data},0===index?(0,of.of)(data):Promise.resolve(data)))).subscribe(data=>{if(!outlet.isActivated||!outlet.activatedComponentRef||outlet.activatedRoute!==activatedRoute||null===activatedRoute.component)return void this.unsubscribeFromRouteData(outlet);const mirror=(0,core.reflectComponentType)(activatedRoute.component);if(mirror)for(const{templateName}of mirror.inputs)outlet.activatedComponentRef.setInput(templateName,data[templateName]);else this.unsubscribeFromRouteData(outlet)});this.outletDataSubscriptions.set(outlet,dataSubscription)}static ɵfac=function RoutedComponentInputBinder_Factory(__ngFactoryType__){return new(__ngFactoryType__||RoutedComponentInputBinder)};static ɵprov=_effect_chunk2.jDH({token:RoutedComponentInputBinder,factory:RoutedComponentInputBinder.ɵfac})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(RoutedComponentInputBinder,[{type:_debug_node_chunk._qm}],null,null);class ɵEmptyOutletComponent{static ɵfac=function ɵEmptyOutletComponent_Factory(__ngFactoryType__){return new(__ngFactoryType__||ɵEmptyOutletComponent)};static ɵcmp=_debug_node_chunk.VBU({type:ɵEmptyOutletComponent,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function _EmptyOutletComponent_Template(rf,ctx){1&rf&&_debug_node_chunk.nrm(0,"router-outlet")},dependencies:[RouterOutlet],encapsulation:2})}function standardizeConfig(r){const children=r.children&&r.children.map(standardizeConfig),c=children?{...r,children}:{...r};return c.component||c.loadComponent||!children&&!c.loadChildren||!c.outlet||"primary"===c.outlet||(c.component=ɵEmptyOutletComponent),c}function createNode(routeReuseStrategy,curr,prevState){if(prevState&&routeReuseStrategy.shouldReuseRoute(curr.value,prevState.value.snapshot)){const value=prevState.value;value._futureSnapshot=curr.value;const children=function createOrReuseChildren(routeReuseStrategy,curr,prevState){return curr.children.map(child=>{for(const p of prevState.children)if(routeReuseStrategy.shouldReuseRoute(child.value,p.value.snapshot))return createNode(routeReuseStrategy,child,p);return createNode(routeReuseStrategy,child)})}(routeReuseStrategy,curr,prevState);return new TreeNode(value,children)}{if(routeReuseStrategy.shouldAttach(curr.value)){const detachedRouteHandle=routeReuseStrategy.retrieve(curr.value);if(null!==detachedRouteHandle){const tree=detachedRouteHandle.route;return tree.value._futureSnapshot=curr.value,tree.children=curr.children.map(c=>createNode(routeReuseStrategy,c)),tree}}const value=function createActivatedRoute(c){return new ActivatedRoute(new BehaviorSubject.t(c.url),new BehaviorSubject.t(c.params),new BehaviorSubject.t(c.queryParams),new BehaviorSubject.t(c.fragment),new BehaviorSubject.t(c.data),c.outlet,c.component,c)}(curr.value),children=curr.children.map(c=>createNode(routeReuseStrategy,c));return new TreeNode(value,children)}}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(ɵEmptyOutletComponent,[{type:_debug_node_chunk.uAl,args:[{template:"<router-outlet />",imports:[RouterOutlet],exportAs:"emptyRouterOutlet",changeDetection:_debug_node_chunk.Ngq.Eager}]}],null,null);class RedirectCommand{redirectTo;navigationBehaviorOptions;constructor(redirectTo,navigationBehaviorOptions){this.redirectTo=redirectTo,this.navigationBehaviorOptions=navigationBehaviorOptions}}function redirectingNavigationError(urlSerializer,redirect){const{redirectTo,navigationBehaviorOptions}=isUrlTree(redirect)?{redirectTo:redirect,navigationBehaviorOptions:void 0}:redirect,error=navigationCancelingError(ngDevMode&&`Redirecting to "${urlSerializer.serialize(redirectTo)}"`,NavigationCancellationCode.Redirect);return error.url=redirectTo,error.navigationBehaviorOptions=navigationBehaviorOptions,error}function navigationCancelingError(message,code){const error=new Error(`NavigationCancelingError: ${message||""}`);return error.ngNavigationCancelingError=!0,error.cancellationCode=code,error}function isNavigationCancelingError(error){return!!error&&error.ngNavigationCancelingError}let warnedAboutUnsupportedInputBinding=!1;class ActivateRoutes{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(routeReuseStrategy,futureState,currState,forwardEvent,inputBindingEnabled){this.routeReuseStrategy=routeReuseStrategy,this.futureState=futureState,this.currState=currState,this.forwardEvent=forwardEvent,this.inputBindingEnabled=inputBindingEnabled}activate(parentContexts){const futureRoot=this.futureState._root,currRoot=this.currState?this.currState._root:null;this.deactivateChildRoutes(futureRoot,currRoot,parentContexts),advanceActivatedRoute(this.futureState.root),this.activateChildRoutes(futureRoot,currRoot,parentContexts)}deactivateChildRoutes(futureNode,currNode,contexts){const children=nodeChildrenAsMap(currNode);futureNode.children.forEach(futureChild=>{const childOutletName=futureChild.value.outlet;this.deactivateRoutes(futureChild,children[childOutletName],contexts),delete children[childOutletName]}),Object.values(children).forEach(v=>{this.deactivateRouteAndItsChildren(v,contexts)})}deactivateRoutes(futureNode,currNode,parentContext){const future=futureNode.value,curr=currNode?currNode.value:null;if(future===curr)if(future.component){const context=parentContext.getContext(future.outlet);context&&this.deactivateChildRoutes(futureNode,currNode,context.children)}else this.deactivateChildRoutes(futureNode,currNode,parentContext);else curr&&this.deactivateRouteAndItsChildren(currNode,parentContext)}deactivateRouteAndItsChildren(route,parentContexts){route.value.component&&this.routeReuseStrategy.shouldDetach(route.value.snapshot)?this.detachAndStoreRouteSubtree(route,parentContexts):this.deactivateRouteAndOutlet(route,parentContexts)}detachAndStoreRouteSubtree(route,parentContexts){const context=parentContexts.getContext(route.value.outlet),contexts=context&&route.value.component?context.children:parentContexts,children=nodeChildrenAsMap(route);for(const treeNode of Object.values(children))this.deactivateRouteAndItsChildren(treeNode,contexts);if(context&&context.outlet){const componentRef=context.outlet.detach(),contexts=context.children.onOutletDeactivated();this.routeReuseStrategy.store(route.value.snapshot,{componentRef,route,contexts})}}deactivateRouteAndOutlet(route,parentContexts){const context=parentContexts.getContext(route.value.outlet),contexts=context&&route.value.component?context.children:parentContexts,children=nodeChildrenAsMap(route);for(const treeNode of Object.values(children))this.deactivateRouteAndItsChildren(treeNode,contexts);context&&(context.outlet&&(context.outlet.deactivate(),context.children.onOutletDeactivated()),context.attachRef=null,context.route=null)}activateChildRoutes(futureNode,currNode,contexts){const children=nodeChildrenAsMap(currNode);futureNode.children.forEach(c=>{this.activateRoutes(c,children[c.value.outlet],contexts),this.forwardEvent(new ActivationEnd(c.value.snapshot))}),futureNode.children.length&&this.forwardEvent(new ChildActivationEnd(futureNode.value.snapshot))}activateRoutes(futureNode,currNode,parentContexts){const future=futureNode.value,curr=currNode?currNode.value:null;if(advanceActivatedRoute(future),future===curr)if(future.component){const context=parentContexts.getOrCreateContext(future.outlet);this.activateChildRoutes(futureNode,currNode,context.children)}else this.activateChildRoutes(futureNode,currNode,parentContexts);else if(future.component){const context=parentContexts.getOrCreateContext(future.outlet);if(this.routeReuseStrategy.shouldAttach(future.snapshot)){const stored=this.routeReuseStrategy.retrieve(future.snapshot);this.routeReuseStrategy.store(future.snapshot,null),context.children.onOutletReAttached(stored.contexts),context.attachRef=stored.componentRef,context.route=stored.route.value,context.outlet&&context.outlet.attach(stored.componentRef,stored.route.value),advanceActivatedRoute(stored.route.value),this.activateChildRoutes(futureNode,null,context.children)}else context.attachRef=null,context.route=future,context.outlet&&context.outlet.activateWith(future,context.injector),this.activateChildRoutes(futureNode,null,context.children)}else this.activateChildRoutes(futureNode,null,parentContexts);if("undefined"==typeof ngDevMode||ngDevMode){const outlet=parentContexts.getOrCreateContext(future.outlet).outlet;outlet&&this.inputBindingEnabled&&!outlet.supportsBindingToComponentInputs&&!warnedAboutUnsupportedInputBinding&&(console.warn("'withComponentInputBinding' feature is enabled but this application is using an outlet that may not support binding to component inputs."),warnedAboutUnsupportedInputBinding=!0)}}}class CanActivate{path;route;constructor(path){this.path=path,this.route=this.path[this.path.length-1]}}class CanDeactivate{component;route;constructor(component,route){this.component=component,this.route=route}}function getAllRouteGuards(future,curr,parentContexts){const futureRoot=future._root;return getChildRouteGuards(futureRoot,curr?curr._root:null,parentContexts,[futureRoot.value])}function getTokenOrFunctionIdentity(tokenOrFunction,injector){const NOT_FOUND=Symbol(),result=injector.get(tokenOrFunction,NOT_FOUND);return result===NOT_FOUND?"function"!=typeof tokenOrFunction||(0,_effect_chunk2.muV)(tokenOrFunction)?injector.get(tokenOrFunction):tokenOrFunction:result}function getChildRouteGuards(futureNode,currNode,contexts,futurePath,checks={canDeactivateChecks:[],canActivateChecks:[]}){const prevChildren=nodeChildrenAsMap(currNode);return futureNode.children.forEach(c=>{!function getRouteGuards(futureNode,currNode,parentContexts,futurePath,checks={canDeactivateChecks:[],canActivateChecks:[]}){const future=futureNode.value,curr=currNode?currNode.value:null,context=parentContexts?parentContexts.getContext(futureNode.value.outlet):null;if(curr&&future.routeConfig===curr.routeConfig){const shouldRun=function shouldRunGuardsAndResolvers(curr,future,mode){if("function"==typeof mode)return(0,_effect_chunk2.N4e)(future._environmentInjector,()=>mode(curr,future));switch(mode){case"pathParamsChange":return!equalPath(curr.url,future.url);case"pathParamsOrQueryParamsChange":return!equalPath(curr.url,future.url)||!shallowEqual(curr.queryParams,future.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!equalParamsAndUrlSegments(curr,future)||!shallowEqual(curr.queryParams,future.queryParams);default:return!equalParamsAndUrlSegments(curr,future)}}(curr,future,future.routeConfig.runGuardsAndResolvers);shouldRun?checks.canActivateChecks.push(new CanActivate(futurePath)):(future.data=curr.data,future._resolvedData=curr._resolvedData),future.component?getChildRouteGuards(futureNode,currNode,context?context.children:null,futurePath,checks):getChildRouteGuards(futureNode,currNode,parentContexts,futurePath,checks),shouldRun&&context&&context.outlet&&context.outlet.isActivated&&checks.canDeactivateChecks.push(new CanDeactivate(context.outlet.component,curr))}else curr&&deactivateRouteAndItsChildren(currNode,context,checks),checks.canActivateChecks.push(new CanActivate(futurePath)),future.component?getChildRouteGuards(futureNode,null,context?context.children:null,futurePath,checks):getChildRouteGuards(futureNode,null,parentContexts,futurePath,checks);return checks}(c,prevChildren[c.value.outlet],contexts,futurePath.concat([c.value]),checks),delete prevChildren[c.value.outlet]}),Object.entries(prevChildren).forEach(([k,v])=>deactivateRouteAndItsChildren(v,contexts.getContext(k),checks)),checks}function deactivateRouteAndItsChildren(route,context,checks){const children=nodeChildrenAsMap(route),r=route.value;Object.entries(children).forEach(([childName,node])=>{r.component?deactivateRouteAndItsChildren(node,context?context.children.getContext(childName):null,checks):deactivateRouteAndItsChildren(node,context,checks)}),r.component&&context&&context.outlet&&context.outlet.isActivated?checks.canDeactivateChecks.push(new CanDeactivate(context.outlet.component,r)):checks.canDeactivateChecks.push(new CanDeactivate(null,r))}function isFunction(v){return"function"==typeof v}function isEmptyError(e){return e instanceof EmptyError.G||"EmptyError"===e?.name}const INITIAL_VALUE=Symbol("INITIAL_VALUE");function prioritizedGuardValue(){return(0,switchMap.n)(obs=>(0,combineLatest.z)(obs.map(o=>o.pipe((0,take.s)(1),(0,startWith.Z)(INITIAL_VALUE)))).pipe((0,map.T)(results=>{for(const result of results)if(!0!==result){if(result===INITIAL_VALUE)return INITIAL_VALUE;if(!1===result||isRedirect(result))return result}return!0}),(0,filter.p)(item=>item!==INITIAL_VALUE),(0,take.s)(1)))}function isRedirect(val){return isUrlTree(val)||val instanceof RedirectCommand}function abortSignalToObservable(signal){return signal.aborted?(0,of.of)(void 0).pipe((0,take.s)(1)):new Observable.c(subscriber=>{const handler=()=>{subscriber.next(),subscriber.complete()};return signal.addEventListener("abort",handler),()=>signal.removeEventListener("abort",handler)})}function takeUntilAbort(signal){return(0,takeUntil.Q)(abortSignalToObservable(signal))}function checkGuards(forwardEvent){return(0,mergeMap.Z)(t=>{const{targetSnapshot,currentSnapshot,guards:{canActivateChecks,canDeactivateChecks}}=t;return 0===canDeactivateChecks.length&&0===canActivateChecks.length?(0,of.of)({...t,guardsResult:!0}):function runCanDeactivateChecks(checks,futureRSS,currRSS){return(0,from.H)(checks).pipe((0,mergeMap.Z)(check=>function runCanDeactivate(component,currARS,currRSS,futureRSS){const canDeactivate=currARS&&currARS.routeConfig?currARS.routeConfig.canDeactivate:null;if(!canDeactivate||0===canDeactivate.length)return(0,of.of)(!0);const canDeactivateObservables=canDeactivate.map(c=>{const closestInjector=currARS._environmentInjector,guard=getTokenOrFunctionIdentity(c,closestInjector);return wrapIntoObservable(function isCanDeactivate(guard){return guard&&isFunction(guard.canDeactivate)}(guard)?guard.canDeactivate(component,currARS,currRSS,futureRSS):(0,_effect_chunk2.N4e)(closestInjector,()=>guard(component,currARS,currRSS,futureRSS))).pipe((0,first.$)())});return(0,of.of)(canDeactivateObservables).pipe(prioritizedGuardValue())}(check.component,check.route,currRSS,futureRSS)),(0,first.$)(result=>!0!==result,!0))}(canDeactivateChecks,targetSnapshot,currentSnapshot).pipe((0,mergeMap.Z)(canDeactivate=>canDeactivate&&function isBoolean(v){return"boolean"==typeof v}(canDeactivate)?function runCanActivateChecks(futureSnapshot,checks,forwardEvent){return(0,from.H)(checks).pipe((0,concatMap.H)(check=>(0,concat.x)(function fireChildActivationStart(snapshot,forwardEvent){null!==snapshot&&forwardEvent&&forwardEvent(new ChildActivationStart(snapshot));return(0,of.of)(!0)}(check.route.parent,forwardEvent),function fireActivationStart(snapshot,forwardEvent){null!==snapshot&&forwardEvent&&forwardEvent(new ActivationStart(snapshot));return(0,of.of)(!0)}(check.route,forwardEvent),function runCanActivateChild(futureRSS,path){const futureARS=path[path.length-1],canActivateChildGuardsMapped=path.slice(0,path.length-1).reverse().map(p=>function getCanActivateChild(p){const canActivateChild=p.routeConfig?p.routeConfig.canActivateChild:null;return canActivateChild&&0!==canActivateChild.length?{node:p,guards:canActivateChild}:null}(p)).filter(_=>null!==_).map(d=>defer(()=>{const guardsMapped=d.guards.map(canActivateChild=>{const closestInjector=d.node._environmentInjector,guard=getTokenOrFunctionIdentity(canActivateChild,closestInjector);return wrapIntoObservable(function isCanActivateChild(guard){return guard&&isFunction(guard.canActivateChild)}(guard)?guard.canActivateChild(futureARS,futureRSS):(0,_effect_chunk2.N4e)(closestInjector,()=>guard(futureARS,futureRSS))).pipe((0,first.$)())});return(0,of.of)(guardsMapped).pipe(prioritizedGuardValue())}));return(0,of.of)(canActivateChildGuardsMapped).pipe(prioritizedGuardValue())}(futureSnapshot,check.path),function runCanActivate(futureRSS,futureARS){const canActivate=futureARS.routeConfig?futureARS.routeConfig.canActivate:null;if(!canActivate||0===canActivate.length)return(0,of.of)(!0);const canActivateObservables=canActivate.map(canActivate=>defer(()=>{const closestInjector=futureARS._environmentInjector,guard=getTokenOrFunctionIdentity(canActivate,closestInjector);return wrapIntoObservable(function isCanActivate(guard){return guard&&isFunction(guard.canActivate)}(guard)?guard.canActivate(futureARS,futureRSS):(0,_effect_chunk2.N4e)(closestInjector,()=>guard(futureARS,futureRSS))).pipe((0,first.$)())}));return(0,of.of)(canActivateObservables).pipe(prioritizedGuardValue())}(futureSnapshot,check.route))),(0,first.$)(result=>!0!==result,!0))}(targetSnapshot,canActivateChecks,forwardEvent):(0,of.of)(canDeactivate)),(0,map.T)(guardsResult=>({...t,guardsResult})))})}function runCanLoadGuards(injector,route,segments,urlSerializer,abortSignal){const canLoad=route.canLoad;if(void 0===canLoad||0===canLoad.length)return(0,of.of)(!0);const canLoadObservables=canLoad.map(injectionToken=>{const guard=getTokenOrFunctionIdentity(injectionToken,injector),obs$=wrapIntoObservable(function isCanLoad(guard){return guard&&isFunction(guard.canLoad)}(guard)?guard.canLoad(route,segments):(0,_effect_chunk2.N4e)(injector,()=>guard(route,segments)));return abortSignal?obs$.pipe(takeUntilAbort(abortSignal)):obs$});return(0,of.of)(canLoadObservables).pipe(prioritizedGuardValue(),redirectIfUrlTree(urlSerializer))}function redirectIfUrlTree(urlSerializer){return(0,pipe.F)((0,tap.M)(result=>{if("boolean"!=typeof result)throw redirectingNavigationError(urlSerializer,result)}),(0,map.T)(result=>!0===result))}function runCanMatchGuards(injector,route,segments,urlSerializer,currentSnapshot,abortSignal){const canMatch=route.canMatch;if(!canMatch||0===canMatch.length)return(0,of.of)(!0);const canMatchObservables=canMatch.map(injectionToken=>{const guard=getTokenOrFunctionIdentity(injectionToken,injector);return wrapIntoObservable(function isCanMatch(guard){return guard&&isFunction(guard.canMatch)}(guard)?guard.canMatch(route,segments,currentSnapshot):(0,_effect_chunk2.N4e)(injector,()=>guard(route,segments,currentSnapshot))).pipe(takeUntilAbort(abortSignal))});return(0,of.of)(canMatchObservables).pipe(prioritizedGuardValue(),redirectIfUrlTree(urlSerializer))}class NoMatch extends Error{segmentGroup;constructor(segmentGroup){super(),this.segmentGroup=segmentGroup||null,Object.setPrototypeOf(this,NoMatch.prototype)}}class AbsoluteRedirect extends Error{urlTree;constructor(urlTree){super(),this.urlTree=urlTree,Object.setPrototypeOf(this,AbsoluteRedirect.prototype)}}function namedOutletsRedirect(redirectTo){throw new _effect_chunk2.buA(4e3,("undefined"==typeof ngDevMode||ngDevMode)&&`Only absolute redirects can have named outlets. redirectTo: '${redirectTo}'`)}class ApplyRedirects{urlSerializer;urlTree;constructor(urlSerializer,urlTree){this.urlSerializer=urlSerializer,this.urlTree=urlTree}lineralizeSegments(route,urlTree){return(0,asyncToGenerator.A)(function*(){let res=[],c=urlTree.root;for(;;){if(res=res.concat(c.segments),0===c.numberOfChildren)return res;if(c.numberOfChildren>1||!c.children.primary)throw namedOutletsRedirect(`${route.redirectTo}`);c=c.children.primary}})()}applyRedirectCommands(segments,redirectTo,posParams,currentSnapshot,injector){var _this=this;return(0,asyncToGenerator.A)(function*(){const redirect=yield function getRedirectResult(redirectTo,currentSnapshot,injector){if("string"==typeof redirectTo)return Promise.resolve(redirectTo);const redirectToFn=redirectTo;return firstValueFrom(wrapIntoObservable((0,_effect_chunk2.N4e)(injector,()=>redirectToFn(currentSnapshot))))}(redirectTo,currentSnapshot,injector);if(redirect instanceof UrlTree)throw new AbsoluteRedirect(redirect);const newTree=_this.applyRedirectCreateUrlTree(redirect,_this.urlSerializer.parse(redirect),segments,posParams);if("/"===redirect[0])throw new AbsoluteRedirect(newTree);return newTree})()}applyRedirectCreateUrlTree(redirectTo,urlTree,segments,posParams){const newRoot=this.createSegmentGroup(redirectTo,urlTree.root,segments,posParams);return new UrlTree(newRoot,this.createQueryParams(urlTree.queryParams,this.urlTree.queryParams),urlTree.fragment)}createQueryParams(redirectToParams,actualParams){const res={};return Object.entries(redirectToParams).forEach(([k,v])=>{if("string"==typeof v&&":"===v[0]){const sourceName=v.substring(1);res[k]=actualParams[sourceName]}else res[k]=v}),res}createSegmentGroup(redirectTo,group,segments,posParams){const updatedSegments=this.createSegments(redirectTo,group.segments,segments,posParams);let children={};return Object.entries(group.children).forEach(([name,child])=>{children[name]=this.createSegmentGroup(redirectTo,child,segments,posParams)}),new UrlSegmentGroup(updatedSegments,children)}createSegments(redirectTo,redirectToSegments,actualSegments,posParams){return redirectToSegments.map(s=>":"===s.path[0]?this.findPosParam(redirectTo,s,posParams):this.findOrReturn(s,actualSegments))}findPosParam(redirectTo,redirectToUrlSegment,posParams){const pos=posParams[redirectToUrlSegment.path.substring(1)];if(!pos)throw new _effect_chunk2.buA(4001,("undefined"==typeof ngDevMode||ngDevMode)&&`Cannot redirect to '${redirectTo}'. Cannot find '${redirectToUrlSegment.path}'.`);return pos}findOrReturn(redirectToUrlSegment,actualSegments){let idx=0;for(const s of actualSegments){if(s.path===redirectToUrlSegment.path)return actualSegments.splice(idx),s;idx++}return redirectToUrlSegment}}function validateConfig(config,parentPath="",requireStandaloneComponents=!1){for(let i=0;i<config.length;i++){const route=config[i];validateNode(route,getFullPath(parentPath,route),requireStandaloneComponents)}}function assertStandalone(fullPath,component){if(component&&(0,_debug_node_chunk.OR8)(component))throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}'. You are using 'loadComponent' with a module, but it must be used with standalone components. Use 'loadChildren' instead.`);if(component&&!(0,_effect_chunk2.QuC)(component))throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}'. The component must be standalone.`)}function validateNode(route,fullPath,requireStandaloneComponents){if("undefined"==typeof ngDevMode||ngDevMode){if(!route)throw new _effect_chunk2.buA(4014,`\n Invalid configuration of route '${fullPath}': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n `);if(Array.isArray(route))throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}': Array cannot be specified`);if(!route.redirectTo&&!route.component&&!route.loadComponent&&!route.children&&!route.loadChildren&&route.outlet&&"primary"!==route.outlet)throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}': a componentless route without children or loadChildren cannot have a named outlet set`);if(route.redirectTo&&route.children)throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}': redirectTo and children cannot be used together`);if(route.redirectTo&&route.loadChildren)throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}': redirectTo and loadChildren cannot be used together`);if(route.children&&route.loadChildren)throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}': children and loadChildren cannot be used together`);if(route.component&&route.loadComponent)throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}': component and loadComponent cannot be used together`);if(route.redirectTo){if(route.component||route.loadComponent)throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}': redirectTo and component/loadComponent cannot be used together`);if(route.canMatch||route.canActivate)throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}': redirectTo and ${route.canMatch?"canMatch":"canActivate"} cannot be used together.Redirects happen before guards are executed.`)}if(route.path&&route.matcher)throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}': path and matcher cannot be used together`);if(!(void 0!==route.redirectTo||route.component||route.loadComponent||route.children||route.loadChildren))throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}'. One of the following must be provided: component, loadComponent, redirectTo, children or loadChildren`);if(void 0===route.path&&void 0===route.matcher)throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}': routes must have either a path or a matcher specified`);if("string"==typeof route.path&&"/"===route.path.charAt(0))throw new _effect_chunk2.buA(4014,`Invalid configuration of route '${fullPath}': path cannot start with a slash`);if(""===route.path&&void 0!==route.redirectTo&&void 0===route.pathMatch){const exp="The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.";throw new _effect_chunk2.buA(4014,`Invalid configuration of route '{path: "${fullPath}", redirectTo: "${route.redirectTo}"}': please provide 'pathMatch'. ${exp}`)}requireStandaloneComponents&&assertStandalone(fullPath,route.component)}route.children&&validateConfig(route.children,fullPath,requireStandaloneComponents)}function getFullPath(parentPath,currentRoute){return currentRoute?parentPath||currentRoute.path?parentPath&&!currentRoute.path?`${parentPath}/`:!parentPath&¤tRoute.path?currentRoute.path:`${parentPath}/${currentRoute.path}`:"":parentPath}function getOutlet(route){return route.outlet||"primary"}function sortByMatchingOutlets(routes,outletName){const sortedConfig=routes.filter(r=>getOutlet(r)===outletName);return sortedConfig.push(...routes.filter(r=>getOutlet(r)!==outletName)),sortedConfig}const noMatch={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function createPreMatchRouteSnapshot(snapshot){return{routeConfig:snapshot.routeConfig,url:snapshot.url,params:snapshot.params,queryParams:snapshot.queryParams,fragment:snapshot.fragment,data:snapshot.data,outlet:snapshot.outlet,title:snapshot.title,paramMap:snapshot.paramMap,queryParamMap:snapshot.queryParamMap}}function matchWithChecks(segmentGroup,route,segments,injector,urlSerializer,createSnapshot,abortSignal){const result=match(segmentGroup,route,segments);if(!result.matched)return(0,of.of)(result);const currentSnapshot=createPreMatchRouteSnapshot(createSnapshot(result));return injector=function getOrCreateRouteInjectorIfNeeded(route,currentInjector){return route.providers&&!route._injector&&(route._injector=(0,_debug_node_chunk.Ol2)(route.providers,currentInjector,`Route: ${route.path}`)),route._injector??currentInjector}(route,injector),runCanMatchGuards(injector,route,segments,urlSerializer,currentSnapshot,abortSignal).pipe((0,map.T)(v=>!0===v?result:{...noMatch}))}function match(segmentGroup,route,segments){if(""===route.path)return"full"===route.pathMatch&&(segmentGroup.hasChildren()||segments.length>0)?{...noMatch}:{matched:!0,consumedSegments:[],remainingSegments:segments,parameters:{},positionalParamSegments:{}};const res=(route.matcher||defaultUrlMatcher)(segments,segmentGroup,route);if(!res)return{...noMatch};const posParams={};Object.entries(res.posParams??{}).forEach(([k,v])=>{posParams[k]=v.path});const parameters=res.consumed.length>0?{...posParams,...res.consumed[res.consumed.length-1].parameters}:posParams;return{matched:!0,consumedSegments:res.consumed,remainingSegments:segments.slice(res.consumed.length),parameters,positionalParamSegments:res.posParams??{}}}function split(segmentGroup,consumedSegments,slicedSegments,config,outlet){if(slicedSegments.length>0&&function containsEmptyPathMatchesWithNamedOutlets(segmentGroup,slicedSegments,routes,outlet){return routes.some(r=>{if(!emptyPathMatch(segmentGroup,slicedSegments,r))return!1;if(!("primary"!==getOutlet(r)))return!1;return!(void 0!==outlet&&getOutlet(r)===outlet)})}(segmentGroup,slicedSegments,config,outlet)){return{segmentGroup:new UrlSegmentGroup(consumedSegments,function createChildrenForEmptyPaths(routes,primarySegment){const res={};res.primary=primarySegment;for(const r of routes)if(""===r.path&&"primary"!==getOutlet(r)){const s=new UrlSegmentGroup([],{});res[getOutlet(r)]=s}return res}(config,new UrlSegmentGroup(slicedSegments,segmentGroup.children))),slicedSegments:[]}}if(0===slicedSegments.length&&function containsEmptyPathMatches(segmentGroup,slicedSegments,routes){return routes.some(r=>emptyPathMatch(segmentGroup,slicedSegments,r))}(segmentGroup,slicedSegments,config)){const s=new UrlSegmentGroup(segmentGroup.segments,function addEmptyPathsToChildrenIfNeeded(segmentGroup,slicedSegments,routes,children){const res={};for(const r of routes)if(emptyPathMatch(segmentGroup,slicedSegments,r)&&!children[getOutlet(r)]){const s=new UrlSegmentGroup([],{});res[getOutlet(r)]=s}return{...children,...res}}(segmentGroup,slicedSegments,config,segmentGroup.children));return{segmentGroup:s,slicedSegments}}return{segmentGroup:new UrlSegmentGroup(segmentGroup.segments,segmentGroup.children),slicedSegments}}function emptyPathMatch(segmentGroup,slicedSegments,r){return(!(segmentGroup.hasChildren()||slicedSegments.length>0)||"full"!==r.pathMatch)&&""===r.path}class NoLeftoversInUrl{}function _recognize$(){return(_recognize$=(0,asyncToGenerator.A)(function*(injector,configLoader,rootComponentType,config,urlTree,urlSerializer,paramsInheritanceStrategy="emptyOnly",abortSignal){return new Recognizer(injector,configLoader,rootComponentType,config,urlTree,paramsInheritanceStrategy,urlSerializer,abortSignal).recognize()})).apply(this,arguments)}class Recognizer{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(injector,configLoader,rootComponentType,config,urlTree,paramsInheritanceStrategy,urlSerializer,abortSignal){this.injector=injector,this.configLoader=configLoader,this.rootComponentType=rootComponentType,this.config=config,this.urlTree=urlTree,this.paramsInheritanceStrategy=paramsInheritanceStrategy,this.urlSerializer=urlSerializer,this.abortSignal=abortSignal,this.applyRedirects=new ApplyRedirects(this.urlSerializer,this.urlTree)}noMatchError(e){return new _effect_chunk2.buA(4002,"undefined"==typeof ngDevMode||ngDevMode?`Cannot match any routes. URL Segment: '${e.segmentGroup}'`:`'${e.segmentGroup}'`)}recognize(){var _this2=this;return(0,asyncToGenerator.A)(function*(){const rootSegmentGroup=split(_this2.urlTree.root,[],[],_this2.config).segmentGroup,{children,rootSnapshot}=yield _this2.match(rootSegmentGroup),rootNode=new TreeNode(rootSnapshot,children),routeState=new RouterStateSnapshot("",rootNode),tree=function createUrlTreeFromSnapshot(relativeTo,commands,queryParams=null,fragment=null,urlSerializer=new DefaultUrlSerializer){return createUrlTreeFromSegmentGroup(createSegmentGroupFromRoute(relativeTo),commands,queryParams,fragment,urlSerializer)}(rootSnapshot,[],_this2.urlTree.queryParams,_this2.urlTree.fragment);return tree.queryParams=_this2.urlTree.queryParams,routeState.url=_this2.urlSerializer.serialize(tree),{state:routeState,tree}})()}match(rootSegmentGroup){var _this3=this;return(0,asyncToGenerator.A)(function*(){const rootSnapshot=new ActivatedRouteSnapshot([],Object.freeze({}),Object.freeze({..._this3.urlTree.queryParams}),_this3.urlTree.fragment,Object.freeze({}),"primary",_this3.rootComponentType,null,{},_this3.injector);try{return{children:yield _this3.processSegmentGroup(_this3.injector,_this3.config,rootSegmentGroup,"primary",rootSnapshot),rootSnapshot}}catch(e){if(e instanceof AbsoluteRedirect)return _this3.urlTree=e.urlTree,_this3.match(e.urlTree.root);if(e instanceof NoMatch)throw _this3.noMatchError(e);throw e}})()}processSegmentGroup(injector,config,segmentGroup,outlet,parentRoute){var _this4=this;return(0,asyncToGenerator.A)(function*(){if(0===segmentGroup.segments.length&&segmentGroup.hasChildren())return _this4.processChildren(injector,config,segmentGroup,parentRoute);const child=yield _this4.processSegment(injector,config,segmentGroup,segmentGroup.segments,outlet,!0,parentRoute);return child instanceof TreeNode?[child]:[]})()}processChildren(injector,config,segmentGroup,parentRoute){var _this5=this;return(0,asyncToGenerator.A)(function*(){const childOutlets=[];for(const child of Object.keys(segmentGroup.children))"primary"===child?childOutlets.unshift(child):childOutlets.push(child);let children=[];for(const childOutlet of childOutlets){const child=segmentGroup.children[childOutlet],sortedConfig=sortByMatchingOutlets(config,childOutlet),outletChildren=yield _this5.processSegmentGroup(injector,sortedConfig,child,childOutlet,parentRoute);children.push(...outletChildren)}const mergedChildren=mergeEmptyPathMatches(children);return("undefined"==typeof ngDevMode||ngDevMode)&&function checkOutletNameUniqueness(nodes){const names={};nodes.forEach(n=>{const routeWithSameOutletName=names[n.value.outlet];if(routeWithSameOutletName){const p=routeWithSameOutletName.url.map(s=>s.toString()).join("/"),c=n.value.url.map(s=>s.toString()).join("/");throw new _effect_chunk2.buA(4006,("undefined"==typeof ngDevMode||ngDevMode)&&`Two segments cannot have the same outlet name: '${p}' and '${c}'.`)}names[n.value.outlet]=n.value})}(mergedChildren),function sortActivatedRouteSnapshots(nodes){nodes.sort((a,b)=>"primary"===a.value.outlet?-1:"primary"===b.value.outlet?1:a.value.outlet.localeCompare(b.value.outlet))}(mergedChildren),mergedChildren})()}processSegment(injector,routes,segmentGroup,segments,outlet,allowRedirects,parentRoute){var _this6=this;return(0,asyncToGenerator.A)(function*(){for(const r of routes)try{return yield _this6.processSegmentAgainstRoute(r._injector??injector,routes,r,segmentGroup,segments,outlet,allowRedirects,parentRoute)}catch(e){if(e instanceof NoMatch||isEmptyError(e))continue;throw e}if(function noLeftoversInUrl(segmentGroup,segments,outlet){return 0===segments.length&&!segmentGroup.children[outlet]}(segmentGroup,segments,outlet))return new NoLeftoversInUrl;throw new NoMatch(segmentGroup)})()}processSegmentAgainstRoute(injector,routes,route,rawSegment,segments,outlet,allowRedirects,parentRoute){var _this7=this;return(0,asyncToGenerator.A)(function*(){if(getOutlet(route)!==outlet&&("primary"===outlet||!emptyPathMatch(rawSegment,segments,route)))throw new NoMatch(rawSegment);if(void 0===route.redirectTo)return _this7.matchSegmentAgainstRoute(injector,rawSegment,route,segments,outlet,parentRoute);if(_this7.allowRedirects&&allowRedirects)return _this7.expandSegmentAgainstRouteUsingRedirect(injector,rawSegment,routes,route,segments,outlet,parentRoute);throw new NoMatch(rawSegment)})()}expandSegmentAgainstRouteUsingRedirect(injector,segmentGroup,routes,route,segments,outlet,parentRoute){var _this8=this;return(0,asyncToGenerator.A)(function*(){const{matched,parameters,consumedSegments,positionalParamSegments,remainingSegments}=match(segmentGroup,route,segments);if(!matched)throw new NoMatch(segmentGroup);if("string"==typeof route.redirectTo&&"/"===route.redirectTo[0]&&(_this8.absoluteRedirectCount++,_this8.absoluteRedirectCount>31)){if(ngDevMode)throw new _effect_chunk2.buA(4016,`Detected possible infinite redirect when redirecting from '${_this8.urlTree}' to '${route.redirectTo}'.\nThis is currently a dev mode only error but will become a call stack size exceeded error in production in a future major version.`);_this8.allowRedirects=!1}const currentSnapshot=_this8.createSnapshot(injector,route,segments,parameters,parentRoute);if(_this8.abortSignal.aborted)throw new Error(_this8.abortSignal.reason);const newTree=yield _this8.applyRedirects.applyRedirectCommands(consumedSegments,route.redirectTo,positionalParamSegments,createPreMatchRouteSnapshot(currentSnapshot),injector),newSegments=yield _this8.applyRedirects.lineralizeSegments(route,newTree);return _this8.processSegment(injector,routes,segmentGroup,newSegments.concat(remainingSegments),outlet,!1,parentRoute)})()}createSnapshot(injector,route,segments,parameters,parentRoute){const snapshot=new ActivatedRouteSnapshot(segments,parameters,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function getData(route){return route.data||{}}(route),getOutlet(route),route.component??route._loadedComponent??null,route,function getResolve(route){return route.resolve||{}}(route),injector),inherited=getInherited(snapshot,parentRoute,this.paramsInheritanceStrategy);return snapshot.params=Object.freeze(inherited.params),snapshot.data=Object.freeze(inherited.data),snapshot}matchSegmentAgainstRoute(injector,rawSegment,route,segments,outlet,parentRoute){var _this9=this;return(0,asyncToGenerator.A)(function*(){if(_this9.abortSignal.aborted)throw new Error(_this9.abortSignal.reason);const result=yield firstValueFrom(matchWithChecks(rawSegment,route,segments,injector,_this9.urlSerializer,result=>_this9.createSnapshot(injector,route,result.consumedSegments,result.parameters,parentRoute),_this9.abortSignal));if("**"===route.path&&(rawSegment.children={}),!result?.matched)throw new NoMatch(rawSegment);injector=route._injector??injector;const{routes:childConfig}=yield _this9.getChildConfig(injector,route,segments),childInjector=route._loadedInjector??injector,{parameters,consumedSegments,remainingSegments}=result,snapshot=_this9.createSnapshot(injector,route,consumedSegments,parameters,parentRoute),{segmentGroup,slicedSegments}=split(rawSegment,consumedSegments,remainingSegments,childConfig,outlet);if(0===slicedSegments.length&&segmentGroup.hasChildren()){const children=yield _this9.processChildren(childInjector,childConfig,segmentGroup,snapshot);return new TreeNode(snapshot,children)}if(0===childConfig.length&&0===slicedSegments.length)return new TreeNode(snapshot,[]);const matchedOnOutlet=getOutlet(route)===outlet,child=yield _this9.processSegment(childInjector,childConfig,segmentGroup,slicedSegments,matchedOnOutlet?"primary":outlet,!0,snapshot);return new TreeNode(snapshot,child instanceof TreeNode?[child]:[])})()}getChildConfig(injector,route,segments){var _this0=this;return(0,asyncToGenerator.A)(function*(){if(route.children)return{routes:route.children,injector};if(route.loadChildren){if(void 0!==route._loadedRoutes){const ngModuleFactory=route._loadedNgModuleFactory;return ngModuleFactory&&!route._loadedInjector&&(route._loadedInjector=ngModuleFactory.create(injector).injector),{routes:route._loadedRoutes,injector:route._loadedInjector}}if(_this0.abortSignal.aborted)throw new Error(_this0.abortSignal.reason);if(yield firstValueFrom(runCanLoadGuards(injector,route,segments,_this0.urlSerializer,_this0.abortSignal))){const cfg=yield _this0.configLoader.loadChildren(injector,route);return route._loadedRoutes=cfg.routes,route._loadedInjector=cfg.injector,route._loadedNgModuleFactory=cfg.factory,cfg}throw function canLoadFails(route){throw navigationCancelingError(("undefined"==typeof ngDevMode||ngDevMode)&&`Cannot load children because the guard of the route "path: '${route.path}'" returned false`,NavigationCancellationCode.GuardRejected)}(route)}return{routes:[],injector}})()}}function hasEmptyPathConfig(node){const config=node.value.routeConfig;return config&&""===config.path}function mergeEmptyPathMatches(nodes){const result=[],mergedNodes=new Set;for(const node of nodes){if(!hasEmptyPathConfig(node)){result.push(node);continue}const duplicateEmptyPathNode=result.find(resultNode=>node.value.routeConfig===resultNode.value.routeConfig);void 0!==duplicateEmptyPathNode?(duplicateEmptyPathNode.children.push(...node.children),mergedNodes.add(duplicateEmptyPathNode)):result.push(node)}for(const mergedNode of mergedNodes){const mergedChildren=mergeEmptyPathMatches(mergedNode.children);result.push(new TreeNode(mergedNode.value,mergedChildren))}return result.filter(n=>!mergedNodes.has(n))}function recognize(injector,configLoader,rootComponentType,config,serializer,paramsInheritanceStrategy,abortSignal){return(0,mergeMap.Z)(function(){var _ref=(0,asyncToGenerator.A)(function*(t){const{state:targetSnapshot,tree:urlAfterRedirects}=yield function recognize$1(_x,_x2,_x3,_x4,_x5,_x6){return _recognize$.apply(this,arguments)}(injector,configLoader,rootComponentType,config,t.extractedUrl,serializer,paramsInheritanceStrategy,abortSignal);return{...t,targetSnapshot,urlAfterRedirects}});return function(_x7){return _ref.apply(this,arguments)}}())}function resolveData(paramsInheritanceStrategy){return(0,mergeMap.Z)(t=>{const{targetSnapshot,guards:{canActivateChecks}}=t;if(!canActivateChecks.length)return(0,of.of)(t);const routesWithResolversToRun=new Set(canActivateChecks.map(check=>check.route)),routesNeedingDataUpdates=new Set;for(const route of routesWithResolversToRun)if(!routesNeedingDataUpdates.has(route))for(const newRoute of flattenRouteTree(route))routesNeedingDataUpdates.add(newRoute);let routesProcessed=0;return(0,from.H)(routesNeedingDataUpdates).pipe((0,concatMap.H)(route=>routesWithResolversToRun.has(route)?function runResolve(futureARS,futureRSS,paramsInheritanceStrategy){const config=futureARS.routeConfig,resolve=futureARS._resolve;void 0===config?.title||hasStaticTitle(config)||(resolve[RouteTitleKey]=config.title);return defer(()=>(futureARS.data=getInherited(futureARS,futureARS.parent,paramsInheritanceStrategy).resolve,function resolveNode(resolve,futureARS,futureRSS){const keys=getDataKeys(resolve);if(0===keys.length)return(0,of.of)({});const data={};return(0,from.H)(keys).pipe((0,mergeMap.Z)(key=>function getResolver(injectionToken,futureARS,futureRSS){const closestInjector=futureARS._environmentInjector,resolver=getTokenOrFunctionIdentity(injectionToken,closestInjector),resolverValue=resolver.resolve?resolver.resolve(futureARS,futureRSS):(0,_effect_chunk2.N4e)(closestInjector,()=>resolver(futureARS,futureRSS));return wrapIntoObservable(resolverValue)}(resolve[key],futureARS,futureRSS).pipe((0,first.$)(),(0,tap.M)(value=>{if(value instanceof RedirectCommand)throw redirectingNavigationError(new DefaultUrlSerializer,value);data[key]=value}))),takeLast(1),(0,map.T)(()=>data),(0,catchError.W)(e=>isEmptyError(e)?empty.w:(0,throwError.$)(e)))}(resolve,futureARS,futureRSS).pipe((0,map.T)(resolvedData=>(futureARS._resolvedData=resolvedData,futureARS.data={...futureARS.data,...resolvedData},null)))))}(route,targetSnapshot,paramsInheritanceStrategy):(route.data=getInherited(route,route.parent,paramsInheritanceStrategy).resolve,(0,of.of)(void 0))),(0,tap.M)(()=>routesProcessed++),takeLast(1),(0,mergeMap.Z)(_=>routesProcessed===routesNeedingDataUpdates.size?(0,of.of)(t):empty.w))})}function flattenRouteTree(route){const descendants=route.children.map(child=>flattenRouteTree(child)).flat();return[route,...descendants]}function switchTap(next){return(0,switchMap.n)(v=>{const nextResult=next(v);return nextResult?(0,from.H)(nextResult).pipe((0,map.T)(()=>v)):(0,of.of)(v)})}class TitleStrategy{buildTitle(snapshot){let pageTitle,route=snapshot.root;for(;void 0!==route;)pageTitle=this.getResolvedTitleForRoute(route)??pageTitle,route=route.children.find(child=>"primary"===child.outlet);return pageTitle}getResolvedTitleForRoute(snapshot){return snapshot.data[RouteTitleKey]}static ɵfac=function TitleStrategy_Factory(__ngFactoryType__){return new(__ngFactoryType__||TitleStrategy)};static ɵprov=_effect_chunk2.jDH({token:TitleStrategy,factory:()=>(0,_effect_chunk2.WQX)(DefaultTitleStrategy),providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(TitleStrategy,[{type:_debug_node_chunk._qm,args:[{providedIn:"root",useFactory:()=>(0,_effect_chunk2.WQX)(DefaultTitleStrategy)}]}],null,null);class DefaultTitleStrategy extends TitleStrategy{title;constructor(title){super(),this.title=title}updateTitle(snapshot){const title=this.buildTitle(snapshot);void 0!==title&&this.title.setTitle(title)}static ɵfac=function DefaultTitleStrategy_Factory(__ngFactoryType__){return new(__ngFactoryType__||DefaultTitleStrategy)(_effect_chunk2.KVO(Title))};static ɵprov=_effect_chunk2.jDH({token:DefaultTitleStrategy,factory:DefaultTitleStrategy.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(DefaultTitleStrategy,[{type:_debug_node_chunk._qm,args:[{providedIn:"root"}]}],()=>[{type:Title}],null);const ROUTER_CONFIGURATION=new _effect_chunk2.nKC("undefined"==typeof ngDevMode||ngDevMode?"router config":"",{factory:()=>({})}),ROUTES=new _effect_chunk2.nKC("undefined"!=typeof ngDevMode&&ngDevMode?"ROUTES":"");class RouterConfigLoader{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,_effect_chunk2.WQX)(_debug_node_chunk.Ql9);loadComponent(injector,route){var _this1=this;return(0,asyncToGenerator.A)(function*(){if(_this1.componentLoaders.get(route))return _this1.componentLoaders.get(route);if(route._loadedComponent)return Promise.resolve(route._loadedComponent);_this1.onLoadStartListener&&_this1.onLoadStartListener(route);const loader=(0,asyncToGenerator.A)(function*(){try{const loaded=yield wrapIntoPromise((0,_effect_chunk2.N4e)(injector,()=>route.loadComponent())),component=yield maybeResolveResources(maybeUnwrapDefaultExport(loaded));return _this1.onLoadEndListener&&_this1.onLoadEndListener(route),("undefined"==typeof ngDevMode||ngDevMode)&&assertStandalone(route.path??"",component),route._loadedComponent=component,component}finally{_this1.componentLoaders.delete(route)}})();return _this1.componentLoaders.set(route,loader),loader})()}loadChildren(parentInjector,route){var _this10=this;if(this.childrenLoaders.get(route))return this.childrenLoaders.get(route);if(route._loadedRoutes)return Promise.resolve({routes:route._loadedRoutes,injector:route._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(route);const loader=(0,asyncToGenerator.A)(function*(){try{const result=yield function loadChildren(_x8,_x9,_x0,_x1){return _loadChildren.apply(this,arguments)}(route,_this10.compiler,parentInjector,_this10.onLoadEndListener);return route._loadedRoutes=result.routes,route._loadedInjector=result.injector,route._loadedNgModuleFactory=result.factory,result}finally{_this10.childrenLoaders.delete(route)}})();return this.childrenLoaders.set(route,loader),loader}static ɵfac=function RouterConfigLoader_Factory(__ngFactoryType__){return new(__ngFactoryType__||RouterConfigLoader)};static ɵprov=_effect_chunk2.jDH({token:RouterConfigLoader,factory:RouterConfigLoader.ɵfac,providedIn:"root"})}function _loadChildren(){return(_loadChildren=(0,asyncToGenerator.A)(function*(route,compiler,parentInjector,onLoadEndListener){const loaded=yield wrapIntoPromise((0,_effect_chunk2.N4e)(parentInjector,()=>route.loadChildren())),t=yield maybeResolveResources(maybeUnwrapDefaultExport(loaded));let factoryOrRoutes,injector,rawRoutes;factoryOrRoutes=t instanceof _debug_node_chunk.PYt||Array.isArray(t)?t:yield compiler.compileModuleAsync(t),onLoadEndListener&&onLoadEndListener(route);let factory,requireStandaloneComponents=!1;Array.isArray(factoryOrRoutes)?(rawRoutes=factoryOrRoutes,requireStandaloneComponents=!0):(injector=factoryOrRoutes.create(parentInjector).injector,factory=factoryOrRoutes,rawRoutes=injector.get(ROUTES,[],{optional:!0,self:!0}).flat());const routes=rawRoutes.map(standardizeConfig);return("undefined"==typeof ngDevMode||ngDevMode)&&validateConfig(routes,route.path,requireStandaloneComponents),{routes,injector,factory}})).apply(this,arguments)}function maybeUnwrapDefaultExport(input){return function isWrappedDefaultExport(value){return value&&"object"==typeof value&&"default"in value}(input)?input.default:input}function maybeResolveResources(_x10){return _maybeResolveResources.apply(this,arguments)}function _maybeResolveResources(){return(_maybeResolveResources=(0,asyncToGenerator.A)(function*(value){if(("undefined"==typeof ngJitMode||ngJitMode)&&"function"==typeof fetch)try{yield(0,_debug_node_chunk.Zhj)(fetch)}catch(error){console.error(error)}return value})).apply(this,arguments)}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(RouterConfigLoader,[{type:_debug_node_chunk._qm,args:[{providedIn:"root"}]}],null,null);class UrlHandlingStrategy{static ɵfac=function UrlHandlingStrategy_Factory(__ngFactoryType__){return new(__ngFactoryType__||UrlHandlingStrategy)};static ɵprov=_effect_chunk2.jDH({token:UrlHandlingStrategy,factory:()=>(0,_effect_chunk2.WQX)(DefaultUrlHandlingStrategy),providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(UrlHandlingStrategy,[{type:_debug_node_chunk._qm,args:[{providedIn:"root",useFactory:()=>(0,_effect_chunk2.WQX)(DefaultUrlHandlingStrategy)}]}],null,null);class DefaultUrlHandlingStrategy{shouldProcessUrl(url){return!0}extract(url){return url}merge(newUrlPart,wholeUrl){return newUrlPart}static ɵfac=function DefaultUrlHandlingStrategy_Factory(__ngFactoryType__){return new(__ngFactoryType__||DefaultUrlHandlingStrategy)};static ɵprov=_effect_chunk2.jDH({token:DefaultUrlHandlingStrategy,factory:DefaultUrlHandlingStrategy.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(DefaultUrlHandlingStrategy,[{type:_debug_node_chunk._qm,args:[{providedIn:"root"}]}],null,null);const CREATE_VIEW_TRANSITION=new _effect_chunk2.nKC("undefined"!=typeof ngDevMode&&ngDevMode?"view transition helper":""),VIEW_TRANSITION_OPTIONS=new _effect_chunk2.nKC("undefined"!=typeof ngDevMode&&ngDevMode?"view transition options":"");function createViewTransition(injector,from,to){const transitionOptions=injector.get(VIEW_TRANSITION_OPTIONS),document=injector.get(_effect_chunk2.qQL);if(!document.startViewTransition||transitionOptions.skipNextTransition)return transitionOptions.skipNextTransition=!1,new Promise(resolve=>setTimeout(resolve));let resolveViewTransitionStarted;const viewTransitionStarted=new Promise(resolve=>{resolveViewTransitionStarted=resolve}),transition=document.startViewTransition(()=>(resolveViewTransitionStarted(),function createRenderPromise(injector){return new Promise(resolve=>{(0,_debug_node_chunk.mal)({read:()=>setTimeout(resolve)},{injector})})}(injector)));transition.updateCallbackDone.catch(error=>{("undefined"==typeof ngDevMode||ngDevMode)&&console.error(error)}),transition.ready.catch(error=>{("undefined"==typeof ngDevMode||ngDevMode)&&console.error(error)}),transition.finished.catch(error=>{("undefined"==typeof ngDevMode||ngDevMode)&&console.error(error)});const{onViewTransitionCreated}=transitionOptions;return onViewTransitionCreated&&(0,_effect_chunk2.N4e)(injector,()=>onViewTransitionCreated({transition,from,to})),viewTransitionStarted}const noop=()=>{},NAVIGATION_ERROR_HANDLER=new _effect_chunk2.nKC("undefined"==typeof ngDevMode||ngDevMode?"navigation error handler":"");class NavigationTransitions{currentNavigation=(0,_effect_chunk2.vPA)(null,{...ngDevMode?{debugName:"currentNavigation"}:{},equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=(0,_effect_chunk2.vPA)(null,...ngDevMode?[{debugName:"lastSuccessfulNavigation"}]:[]);events=new Subject.B;transitionAbortWithErrorSubject=new Subject.B;configLoader=(0,_effect_chunk2.WQX)(RouterConfigLoader);environmentInjector=(0,_effect_chunk2.WQX)(_effect_chunk2.uvJ);destroyRef=(0,_effect_chunk2.WQX)(_effect_chunk2.abz);urlSerializer=(0,_effect_chunk2.WQX)(UrlSerializer);rootContexts=(0,_effect_chunk2.WQX)(ChildrenOutletContexts);location=(0,_effect_chunk2.WQX)(_location_chunk.aZ);inputBindingEnabled=null!==(0,_effect_chunk2.WQX)(INPUT_BINDER,{optional:!0});titleStrategy=(0,_effect_chunk2.WQX)(TitleStrategy);options=(0,_effect_chunk2.WQX)(ROUTER_CONFIGURATION,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,_effect_chunk2.WQX)(UrlHandlingStrategy);createViewTransition=(0,_effect_chunk2.WQX)(CREATE_VIEW_TRANSITION,{optional:!0});navigationErrorHandler=(0,_effect_chunk2.WQX)(NAVIGATION_ERROR_HANDLER,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,of.of)(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=r=>this.events.next(new RouteConfigLoadEnd(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new RouteConfigLoadStart(r)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(request){const id=++this.navigationId;(0,_resource_chunk.O8)(()=>{this.transitions?.next({...request,extractedUrl:this.urlHandlingStrategy.extract(request.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id,routesRecognizeHandler:{},beforeActivateHandler:{}})})}setupNavigations(router){return this.transitions=new BehaviorSubject.t(null),this.transitions.pipe((0,filter.p)(t=>null!==t),(0,switchMap.n)(overallTransitionState=>{let completedOrAborted=!1;const abortController=new AbortController,shouldContinueNavigation=()=>!completedOrAborted&&this.currentTransition?.id===overallTransitionState.id;return(0,of.of)(overallTransitionState).pipe((0,switchMap.n)(t=>{if(this.navigationId>overallTransitionState.id){const cancellationReason="undefined"==typeof ngDevMode||ngDevMode?`Navigation ID ${overallTransitionState.id} is not equal to the current navigation id ${this.navigationId}`:"";return this.cancelNavigationTransition(overallTransitionState,cancellationReason,NavigationCancellationCode.SupersededByNewNavigation),empty.w}this.currentTransition=overallTransitionState;const lastSuccessfulNavigation=this.lastSuccessfulNavigation();this.currentNavigation.set({id:t.id,initialUrl:t.rawUrl,extractedUrl:t.extractedUrl,targetBrowserUrl:"string"==typeof t.extras.browserUrl?this.urlSerializer.parse(t.extras.browserUrl):t.extras.browserUrl,trigger:t.source,extras:t.extras,previousNavigation:lastSuccessfulNavigation?{...lastSuccessfulNavigation,previousNavigation:null}:null,abort:()=>abortController.abort(),routesRecognizeHandler:t.routesRecognizeHandler,beforeActivateHandler:t.beforeActivateHandler});const urlTransition=!router.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),onSameUrlNavigation=t.extras.onSameUrlNavigation??router.onSameUrlNavigation;if(!urlTransition&&"reload"!==onSameUrlNavigation){const reason="undefined"==typeof ngDevMode||ngDevMode?`Navigation to ${t.rawUrl} was ignored because it is the same as the current Router URL.`:"";return this.events.next(new NavigationSkipped(t.id,this.urlSerializer.serialize(t.rawUrl),reason,NavigationSkippedCode.IgnoredSameUrlNavigation)),t.resolve(!1),empty.w}if(this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return(0,of.of)(t).pipe((0,switchMap.n)(t=>(this.events.next(new NavigationStart(t.id,this.urlSerializer.serialize(t.extractedUrl),t.source,t.restoredState)),t.id!==this.navigationId?empty.w:Promise.resolve(t))),recognize(this.environmentInjector,this.configLoader,this.rootComponentType,router.config,this.urlSerializer,this.paramsInheritanceStrategy,abortController.signal),(0,tap.M)(t=>{overallTransitionState.targetSnapshot=t.targetSnapshot,overallTransitionState.urlAfterRedirects=t.urlAfterRedirects,this.currentNavigation.update(nav=>(nav.finalUrl=t.urlAfterRedirects,nav)),this.events.next(new BeforeRoutesRecognized)}),(0,switchMap.n)(value=>(0,from.H)(overallTransitionState.routesRecognizeHandler.deferredHandle??(0,of.of)(void 0)).pipe((0,map.T)(()=>value))),(0,tap.M)(()=>{const routesRecognized=new RoutesRecognized(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(routesRecognized)}));if(urlTransition&&this.urlHandlingStrategy.shouldProcessUrl(t.currentRawUrl)){const{id,extractedUrl,source,restoredState,extras}=t,navStart=new NavigationStart(id,this.urlSerializer.serialize(extractedUrl),source,restoredState);this.events.next(navStart);const targetSnapshot=createEmptyState(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=overallTransitionState={...t,targetSnapshot,urlAfterRedirects:extractedUrl,extras:{...extras,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.update(nav=>(nav.finalUrl=extractedUrl,nav)),(0,of.of)(overallTransitionState)}{const reason="undefined"==typeof ngDevMode||ngDevMode?`Navigation was ignored because the UrlHandlingStrategy indicated neither the current URL ${t.currentRawUrl} nor target URL ${t.rawUrl} should be processed.`:"";return this.events.next(new NavigationSkipped(t.id,this.urlSerializer.serialize(t.extractedUrl),reason,NavigationSkippedCode.IgnoredByUrlHandlingStrategy)),t.resolve(!1),empty.w}}),(0,map.T)(t=>{const guardsStart=new GuardsCheckStart(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);return this.events.next(guardsStart),this.currentTransition=overallTransitionState={...t,guards:getAllRouteGuards(t.targetSnapshot,t.currentSnapshot,this.rootContexts)},overallTransitionState}),checkGuards(evt=>this.events.next(evt)),(0,switchMap.n)(t=>{if(overallTransitionState.guardsResult=t.guardsResult,t.guardsResult&&"boolean"!=typeof t.guardsResult)throw redirectingNavigationError(this.urlSerializer,t.guardsResult);const guardsEnd=new GuardsCheckEnd(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);if(this.events.next(guardsEnd),!shouldContinueNavigation())return empty.w;if(!t.guardsResult)return this.cancelNavigationTransition(t,"",NavigationCancellationCode.GuardRejected),empty.w;if(0===t.guards.canActivateChecks.length)return(0,of.of)(t);const resolveStart=new ResolveStart(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);if(this.events.next(resolveStart),!shouldContinueNavigation())return empty.w;let dataResolved=!1;return(0,of.of)(t).pipe(resolveData(this.paramsInheritanceStrategy),(0,tap.M)({next:()=>{dataResolved=!0;const resolveEnd=new ResolveEnd(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(resolveEnd)},complete:()=>{dataResolved||this.cancelNavigationTransition(t,"undefined"==typeof ngDevMode||ngDevMode?"At least one route resolver didn't emit any value.":"",NavigationCancellationCode.NoDataFromResolver)}}))}),switchTap(t=>{const loadComponents=route=>{const loaders=[];if(route.routeConfig?._loadedComponent)route.component=route.routeConfig?._loadedComponent;else if(route.routeConfig?.loadComponent){const injector=route._environmentInjector;loaders.push(this.configLoader.loadComponent(injector,route.routeConfig).then(loadedComponent=>{route.component=loadedComponent}))}for(const child of route.children)loaders.push(...loadComponents(child));return loaders},loaders=loadComponents(t.targetSnapshot.root);return 0===loaders.length?(0,of.of)(t):(0,from.H)(Promise.all(loaders).then(()=>t))}),switchTap(()=>this.afterPreactivation()),(0,switchMap.n)(()=>{const{currentSnapshot,targetSnapshot}=overallTransitionState,viewTransitionStarted=this.createViewTransition?.(this.environmentInjector,currentSnapshot.root,targetSnapshot.root);return viewTransitionStarted?(0,from.H)(viewTransitionStarted).pipe((0,map.T)(()=>overallTransitionState)):(0,of.of)(overallTransitionState)}),(0,take.s)(1),(0,switchMap.n)(t=>{const targetRouterState=function createRouterState(routeReuseStrategy,curr,prevState){const root=createNode(routeReuseStrategy,curr._root,prevState?prevState._root:void 0);return new RouterState(root,curr)}(router.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);this.currentTransition=overallTransitionState=t={...t,targetRouterState},this.currentNavigation.update(nav=>(nav.targetRouterState=targetRouterState,nav)),this.events.next(new BeforeActivateRoutes);const deferred=overallTransitionState.beforeActivateHandler.deferredHandle;return deferred?(0,from.H)(deferred.then(()=>t)):(0,of.of)(t)}),(0,tap.M)(t=>{new ActivateRoutes(router.routeReuseStrategy,overallTransitionState.targetRouterState,overallTransitionState.currentRouterState,evt=>this.events.next(evt),this.inputBindingEnabled).activate(this.rootContexts),shouldContinueNavigation()&&(completedOrAborted=!0,this.currentNavigation.update(nav=>(nav.abort=noop,nav)),this.lastSuccessfulNavigation.set((0,_resource_chunk.O8)(this.currentNavigation)),this.events.next(new NavigationEnd(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects))),this.titleStrategy?.updateTitle(t.targetRouterState.snapshot),t.resolve(!0))}),(0,takeUntil.Q)(abortSignalToObservable(abortController.signal).pipe((0,filter.p)(()=>!completedOrAborted&&!overallTransitionState.targetRouterState),(0,tap.M)(()=>{this.cancelNavigationTransition(overallTransitionState,abortController.signal.reason+"",NavigationCancellationCode.Aborted)}))),(0,tap.M)({complete:()=>{completedOrAborted=!0}}),(0,takeUntil.Q)(this.transitionAbortWithErrorSubject.pipe((0,tap.M)(err=>{throw err}))),(0,finalize.j)(()=>{if(abortController.abort(),!completedOrAborted){const cancelationReason="undefined"==typeof ngDevMode||ngDevMode?`Navigation ID ${overallTransitionState.id} is not equal to the current navigation id ${this.navigationId}`:"";this.cancelNavigationTransition(overallTransitionState,cancelationReason,NavigationCancellationCode.SupersededByNewNavigation)}this.currentTransition?.id===overallTransitionState.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),(0,catchError.W)(e=>{if(completedOrAborted=!0,this.destroyed)return overallTransitionState.resolve(!1),empty.w;if(isNavigationCancelingError(e))this.events.next(new NavigationCancel(overallTransitionState.id,this.urlSerializer.serialize(overallTransitionState.extractedUrl),e.message,e.cancellationCode)),!function isRedirectingNavigationCancelingError(error){return isNavigationCancelingError(error)&&isUrlTree(error.url)}(e)?overallTransitionState.resolve(!1):this.events.next(new RedirectRequest(e.url,e.navigationBehaviorOptions));else{const navigationError=new NavigationError(overallTransitionState.id,this.urlSerializer.serialize(overallTransitionState.extractedUrl),e,overallTransitionState.targetSnapshot??void 0);try{const navigationErrorHandlerResult=(0,_effect_chunk2.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(navigationError));if(!(navigationErrorHandlerResult instanceof RedirectCommand))throw this.events.next(navigationError),e;{const{message,cancellationCode}=redirectingNavigationError(this.urlSerializer,navigationErrorHandlerResult);this.events.next(new NavigationCancel(overallTransitionState.id,this.urlSerializer.serialize(overallTransitionState.extractedUrl),message,cancellationCode)),this.events.next(new RedirectRequest(navigationErrorHandlerResult.redirectTo,navigationErrorHandlerResult.navigationBehaviorOptions))}}catch(ee){this.options.resolveNavigationPromiseOnError?overallTransitionState.resolve(!1):overallTransitionState.reject(ee)}}return empty.w}))}))}cancelNavigationTransition(t,reason,code){const navCancel=new NavigationCancel(t.id,this.urlSerializer.serialize(t.extractedUrl),reason,code);this.events.next(navCancel),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const currentBrowserUrl=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),currentNavigation=(0,_resource_chunk.O8)(this.currentNavigation),targetBrowserUrl=currentNavigation?.targetBrowserUrl??currentNavigation?.extractedUrl;return currentBrowserUrl.toString()!==targetBrowserUrl?.toString()&&!currentNavigation?.extras.skipLocationChange}static ɵfac=function NavigationTransitions_Factory(__ngFactoryType__){return new(__ngFactoryType__||NavigationTransitions)};static ɵprov=_effect_chunk2.jDH({token:NavigationTransitions,factory:NavigationTransitions.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(NavigationTransitions,[{type:_debug_node_chunk._qm,args:[{providedIn:"root"}]}],()=>[],null);const ROUTE_INJECTOR_CLEANUP=new _effect_chunk2.nKC("undefined"==typeof ngDevMode||ngDevMode?"RouteInjectorCleanup":"");class RouteReuseStrategy{static ɵfac=function RouteReuseStrategy_Factory(__ngFactoryType__){return new(__ngFactoryType__||RouteReuseStrategy)};static ɵprov=_effect_chunk2.jDH({token:RouteReuseStrategy,factory:()=>(0,_effect_chunk2.WQX)(DefaultRouteReuseStrategy),providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(RouteReuseStrategy,[{type:_debug_node_chunk._qm,args:[{providedIn:"root",useFactory:()=>(0,_effect_chunk2.WQX)(DefaultRouteReuseStrategy)}]}],null,null);class BaseRouteReuseStrategy{shouldDetach(route){return!1}store(route,detachedTree){}shouldAttach(route){return!1}retrieve(route){return null}shouldReuseRoute(future,curr){return future.routeConfig===curr.routeConfig}shouldDestroyInjector(route){return!0}}class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy{static ɵfac=(()=>{let ɵDefaultRouteReuseStrategy_BaseFactory;return function DefaultRouteReuseStrategy_Factory(__ngFactoryType__){return(ɵDefaultRouteReuseStrategy_BaseFactory||(ɵDefaultRouteReuseStrategy_BaseFactory=_debug_node_chunk.xGo(DefaultRouteReuseStrategy)))(__ngFactoryType__||DefaultRouteReuseStrategy)}})();static ɵprov=_effect_chunk2.jDH({token:DefaultRouteReuseStrategy,factory:DefaultRouteReuseStrategy.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(DefaultRouteReuseStrategy,[{type:_debug_node_chunk._qm,args:[{providedIn:"root"}]}],null,null);class StateManager{urlSerializer=(0,_effect_chunk2.WQX)(UrlSerializer);options=(0,_effect_chunk2.WQX)(ROUTER_CONFIGURATION,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=(0,_effect_chunk2.WQX)(_location_chunk.aZ);urlHandlingStrategy=(0,_effect_chunk2.WQX)(UrlHandlingStrategy);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new UrlTree;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl,initialUrl,targetBrowserUrl}){const rawUrl=void 0!==finalUrl?this.urlHandlingStrategy.merge(finalUrl,initialUrl):initialUrl,url=targetBrowserUrl??rawUrl;return url instanceof UrlTree?this.urlSerializer.serialize(url):url}routerUrlState(navigation){return void 0===navigation?.targetBrowserUrl||void 0===navigation?.finalUrl?{}:{ɵrouterUrl:this.urlSerializer.serialize(navigation.finalUrl)}}commitTransition({targetRouterState,finalUrl,initialUrl}){finalUrl&&targetRouterState?(this.currentUrlTree=finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(finalUrl,initialUrl),this.routerState=targetRouterState):this.rawUrlTree=initialUrl}routerState=createEmptyState(null,(0,_effect_chunk2.WQX)(_effect_chunk2.uvJ));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static ɵfac=function StateManager_Factory(__ngFactoryType__){return new(__ngFactoryType__||StateManager)};static ɵprov=_effect_chunk2.jDH({token:StateManager,factory:()=>(0,_effect_chunk2.WQX)(HistoryStateManager),providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(StateManager,[{type:_debug_node_chunk._qm,args:[{providedIn:"root",useFactory:()=>(0,_effect_chunk2.WQX)(HistoryStateManager)}]}],null,null);class HistoryStateManager extends StateManager{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.ɵrouterPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(listener){return this.location.subscribe(event=>{"popstate"===event.type&&setTimeout(()=>{listener(event.url,event.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(e,currentTransition){e instanceof NavigationStart?this.updateStateMemento():e instanceof NavigationSkipped?this.commitTransition(currentTransition):e instanceof RoutesRecognized?"eager"===this.urlUpdateStrategy&&(currentTransition.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(currentTransition),currentTransition)):e instanceof BeforeActivateRoutes?(this.commitTransition(currentTransition),"deferred"!==this.urlUpdateStrategy||currentTransition.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(currentTransition),currentTransition)):e instanceof NavigationCancel&&!isRedirectingEvent(e)?this.restoreHistory(currentTransition):e instanceof NavigationError?this.restoreHistory(currentTransition,!0):e instanceof NavigationEnd&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(path,navigation){const{extras,id}=navigation,{replaceUrl,state}=extras;if(this.location.isCurrentPathEqualTo(path)||replaceUrl){const currentBrowserPageId=this.browserPageId,newState={...state,...this.generateNgRouterState(id,currentBrowserPageId,navigation)};this.location.replaceState(path,"",newState)}else{const newState={...state,...this.generateNgRouterState(id,this.browserPageId+1,navigation)};this.location.go(path,"",newState)}}restoreHistory(navigation,restoringFromCaughtError=!1){if("computed"===this.canceledNavigationResolution){const currentBrowserPageId=this.browserPageId,targetPagePosition=this.currentPageId-currentBrowserPageId;0!==targetPagePosition?this.location.historyGo(targetPagePosition):this.getCurrentUrlTree()===navigation.finalUrl&&0===targetPagePosition&&(this.resetInternalState(navigation),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(restoringFromCaughtError&&this.resetInternalState(navigation),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(navigationId,routerPageId,navigation){return"computed"===this.canceledNavigationResolution?{navigationId,ɵrouterPageId:routerPageId,...this.routerUrlState(navigation)}:{navigationId,...this.routerUrlState(navigation)}}static ɵfac=(()=>{let ɵHistoryStateManager_BaseFactory;return function HistoryStateManager_Factory(__ngFactoryType__){return(ɵHistoryStateManager_BaseFactory||(ɵHistoryStateManager_BaseFactory=_debug_node_chunk.xGo(HistoryStateManager)))(__ngFactoryType__||HistoryStateManager)}})();static ɵprov=_effect_chunk2.jDH({token:HistoryStateManager,factory:HistoryStateManager.ɵfac,providedIn:"root"})}function afterNextNavigation(router,action){router.events.pipe((0,filter.p)(e=>e instanceof NavigationEnd||e instanceof NavigationCancel||e instanceof NavigationError||e instanceof NavigationSkipped),(0,map.T)(e=>{if(e instanceof NavigationEnd||e instanceof NavigationSkipped)return 0;return e instanceof NavigationCancel&&(e.code===NavigationCancellationCode.Redirect||e.code===NavigationCancellationCode.SupersededByNewNavigation)?2:1}),(0,filter.p)(result=>2!==result),(0,take.s)(1)).subscribe(()=>{action()})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(HistoryStateManager,[{type:_debug_node_chunk._qm,args:[{providedIn:"root"}]}],null,null);class Router{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,_effect_chunk2.WQX)(_debug_node_chunk.C7A);stateManager=(0,_effect_chunk2.WQX)(StateManager);options=(0,_effect_chunk2.WQX)(ROUTER_CONFIGURATION,{optional:!0})||{};pendingTasks=(0,_effect_chunk2.WQX)(_effect_chunk2.rev);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,_effect_chunk2.WQX)(NavigationTransitions);urlSerializer=(0,_effect_chunk2.WQX)(UrlSerializer);location=(0,_effect_chunk2.WQX)(_location_chunk.aZ);urlHandlingStrategy=(0,_effect_chunk2.WQX)(UrlHandlingStrategy);injector=(0,_effect_chunk2.WQX)(_effect_chunk2.uvJ);_events=new Subject.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,_effect_chunk2.WQX)(RouteReuseStrategy);injectorCleanup=(0,_effect_chunk2.WQX)(ROUTE_INJECTOR_CLEANUP,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,_effect_chunk2.WQX)(ROUTES,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,_effect_chunk2.WQX)(INPUT_BINDER,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new Subscription.yU;subscribeToNavigationEvents(){const subscription=this.navigationTransitions.events.subscribe(e=>{try{const currentTransition=this.navigationTransitions.currentTransition,currentNavigation=(0,_resource_chunk.O8)(this.navigationTransitions.currentNavigation);if(null!==currentTransition&&null!==currentNavigation)if(this.stateManager.handleRouterEvent(e,currentNavigation),e instanceof NavigationCancel&&e.code!==NavigationCancellationCode.Redirect&&e.code!==NavigationCancellationCode.SupersededByNewNavigation)this.navigated=!0;else if(e instanceof NavigationEnd)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(e instanceof RedirectRequest){const opts=e.navigationBehaviorOptions,mergedTree=this.urlHandlingStrategy.merge(e.url,currentTransition.currentRawUrl),extras={scroll:currentTransition.extras.scroll,browserUrl:currentTransition.extras.browserUrl,info:currentTransition.extras.info,skipLocationChange:currentTransition.extras.skipLocationChange,replaceUrl:currentTransition.extras.replaceUrl||"eager"===this.urlUpdateStrategy||(source=currentTransition.source,source!==IMPERATIVE_NAVIGATION),...opts};this.scheduleNavigation(mergedTree,IMPERATIVE_NAVIGATION,null,extras,{resolve:currentTransition.resolve,reject:currentTransition.reject,promise:currentTransition.promise})}(function isPublicRouterEvent(e){return!(e instanceof BeforeActivateRoutes||e instanceof RedirectRequest||e instanceof BeforeRoutesRecognized)})(e)&&this._events.next(e)}catch(e){this.navigationTransitions.transitionAbortWithErrorSubject.next(e)}var source});this.eventsSubscription.add(subscription)}resetRootComponentType(rootComponentType){this.routerState.root.component=rootComponentType,this.navigationTransitions.rootComponentType=rootComponentType}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),IMPERATIVE_NAVIGATION,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((url,state,source,extras)=>{this.navigateToSyncWithBrowser(url,source,state,extras)})}navigateToSyncWithBrowser(url,source,state,extras){const restoredState=state?.navigationId?state:null,routerUrl=state?.ɵrouterUrl??url;if(state?.ɵrouterUrl&&(extras={...extras,browserUrl:url}),state){const stateCopy={...state};delete stateCopy.navigationId,delete stateCopy.ɵrouterPageId,delete stateCopy.ɵrouterUrl,0!==Object.keys(stateCopy).length&&(extras.state=stateCopy)}const urlTree=this.parseUrl(routerUrl);this.scheduleNavigation(urlTree,source,restoredState,extras).catch(e=>{this.disposed||this.injector.get(_effect_chunk2.ZTf)(e)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return(0,_resource_chunk.O8)(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(config){("undefined"==typeof ngDevMode||ngDevMode)&&validateConfig(config),this.config=config.map(standardizeConfig),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(commands,navigationExtras={}){const{relativeTo,queryParams,fragment,queryParamsHandling,preserveFragment}=navigationExtras,f=preserveFragment?this.currentUrlTree.fragment:fragment;let relativeToUrlSegmentGroup,q=null;switch(queryParamsHandling??this.options.defaultQueryParamsHandling){case"merge":q={...this.currentUrlTree.queryParams,...queryParams};break;case"preserve":q=this.currentUrlTree.queryParams;break;default:q=queryParams||null}null!==q&&(q=this.removeEmptyProps(q));try{relativeToUrlSegmentGroup=createSegmentGroupFromRoute(relativeTo?relativeTo.snapshot:this.routerState.snapshot.root)}catch(e){"string"==typeof commands[0]&&"/"===commands[0][0]||(commands=[]),relativeToUrlSegmentGroup=this.currentUrlTree.root}return createUrlTreeFromSegmentGroup(relativeToUrlSegmentGroup,commands,q,f??null,this.urlSerializer)}navigateByUrl(url,extras={skipLocationChange:!1}){const urlTree=isUrlTree(url)?url:this.parseUrl(url),mergedTree=this.urlHandlingStrategy.merge(urlTree,this.rawUrlTree);return this.scheduleNavigation(mergedTree,IMPERATIVE_NAVIGATION,null,extras)}navigate(commands,extras={skipLocationChange:!1}){return function validateCommands(commands){for(let i=0;i<commands.length;i++){const cmd=commands[i];if(null==cmd)throw new _effect_chunk2.buA(4008,("undefined"==typeof ngDevMode||ngDevMode)&&`The requested path contains ${cmd} segment at index ${i}`)}}(commands),this.navigateByUrl(this.createUrlTree(commands,extras),extras)}serializeUrl(url){return this.urlSerializer.serialize(url)}parseUrl(url){try{return this.urlSerializer.parse(url)}catch(e){return this.console.warn((0,_effect_chunk2.OsK)(4018,ngDevMode&&`Error parsing URL ${url}. Falling back to '/' instead. \n`+e)),this.urlSerializer.parse("/")}}isActive(url,matchOptions){let options;if(options=!0===matchOptions?{...exactMatchOptions}:!1===matchOptions?{...subsetMatchOptions}:{...subsetMatchOptions,...matchOptions},isUrlTree(url))return containsTree(this.currentUrlTree,url,options);const urlTree=this.parseUrl(url);return containsTree(this.currentUrlTree,urlTree,options)}removeEmptyProps(params){return Object.entries(params).reduce((result,[key,value])=>(null!=value&&(result[key]=value),result),{})}scheduleNavigation(rawUrl,source,restoredState,extras,priorPromise){if(this.disposed)return Promise.resolve(!1);let resolve,reject,promise;priorPromise?(resolve=priorPromise.resolve,reject=priorPromise.reject,promise=priorPromise.promise):promise=new Promise((res,rej)=>{resolve=res,reject=rej});const taskId=this.pendingTasks.add();return afterNextNavigation(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(taskId))}),this.navigationTransitions.handleNavigationRequest({source,restoredState,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl,extras,resolve,reject,promise,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),promise.catch(Promise.reject.bind(Promise))}static ɵfac=function Router_Factory(__ngFactoryType__){return new(__ngFactoryType__||Router)};static ɵprov=_effect_chunk2.jDH({token:Router,factory:Router.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_debug_node_chunk.cDI(Router,[{type:_debug_node_chunk._qm,args:[{providedIn:"root"}]}],()=>[],null)},"./node_modules/@angular/router/fesm2022/_router_module-chunk.mjs"(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Wk:()=>RouterLink,lh:()=>provideRouter});var _Users_moja_projects_moja_code_mojawork_mono_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js"),_angular_common__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@angular/common/fesm2022/_location-chunk.mjs"),_angular_common__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@angular/common/fesm2022/common.mjs"),_angular_common__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@angular/common/fesm2022/_common_module-chunk.mjs"),_angular_common__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@angular/common/fesm2022/_platform_location-chunk.mjs"),_angular_common__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@angular/common/fesm2022/_platform_navigation-chunk.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@angular/core/fesm2022/core.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("./node_modules/@angular/core/fesm2022/_resource-chunk.mjs"),_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("./node_modules/@angular/router/fesm2022/_router-chunk.mjs"),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/Subject.js"),rxjs__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/observable/from.js"),rxjs__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/observable/of.js"),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/catchError.js"),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/concatMap.js"),rxjs_operators__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/filter.js"),rxjs_operators__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/mergeAll.js"),rxjs_operators__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/mergeMap.js");class ReactiveRouterState{router=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix);stateManager=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.fN);fragment=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)("",...ngDevMode?[{debugName:"fragment"}]:[]);queryParams=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)({},...ngDevMode?[{debugName:"queryParams"}]:[]);path=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)("",...ngDevMode?[{debugName:"path"}]:[]);serializer=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Sd);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.wF&&this.updateState()})}updateState(){const{fragment,root,queryParams}=this.stateManager.getCurrentUrlTree();this.fragment.set(fragment),this.queryParams.set(queryParams),this.path.set(this.serializer.serialize(new _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.el(root)))}static ɵfac=function ReactiveRouterState_Factory(__ngFactoryType__){return new(__ngFactoryType__||ReactiveRouterState)};static ɵprov=_angular_core__WEBPACK_IMPORTED_MODULE_8__.jDH({token:ReactiveRouterState,factory:ReactiveRouterState.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.cDI(ReactiveRouterState,[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__._qm,args:[{providedIn:"root"}]}],()=>[],null);class RouterLink{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(new _angular_core__WEBPACK_IMPORTED_MODULE_6__.HostAttributeToken("href"),{optional:!0});reactiveHref=(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.uu)(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue,...ngDevMode?[{debugName:"reactiveHref"}]:[]);get href(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this.reactiveHref)}set href(value){this.reactiveHref.set(value)}set target(value){this._target.set(value)}get target(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this._target)}_target=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)(void 0,...ngDevMode?[{debugName:"_target"}]:[]);set queryParams(value){this._queryParams.set(value)}get queryParams(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this._queryParams)}_queryParams=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)(void 0,{...ngDevMode?{debugName:"_queryParams"}:{},equal:()=>!1});set fragment(value){this._fragment.set(value)}get fragment(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this._fragment)}_fragment=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)(void 0,...ngDevMode?[{debugName:"_fragment"}]:[]);set queryParamsHandling(value){this._queryParamsHandling.set(value)}get queryParamsHandling(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this._queryParamsHandling)}_queryParamsHandling=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)(void 0,...ngDevMode?[{debugName:"_queryParamsHandling"}]:[]);set state(value){this._state.set(value)}get state(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this._state)}_state=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)(void 0,{...ngDevMode?{debugName:"_state"}:{},equal:()=>!1});set info(value){this._info.set(value)}get info(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this._info)}_info=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)(void 0,{...ngDevMode?{debugName:"_info"}:{},equal:()=>!1});set relativeTo(value){this._relativeTo.set(value)}get relativeTo(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this._relativeTo)}_relativeTo=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)(void 0,...ngDevMode?[{debugName:"_relativeTo"}]:[]);set preserveFragment(value){this._preserveFragment.set(value)}get preserveFragment(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this._preserveFragment)}_preserveFragment=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)(!1,...ngDevMode?[{debugName:"_preserveFragment"}]:[]);set skipLocationChange(value){this._skipLocationChange.set(value)}get skipLocationChange(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this._skipLocationChange)}_skipLocationChange=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)(!1,...ngDevMode?[{debugName:"_skipLocationChange"}]:[]);set replaceUrl(value){this._replaceUrl.set(value)}get replaceUrl(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this._replaceUrl)}_replaceUrl=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)(!1,...ngDevMode?[{debugName:"_replaceUrl"}]:[]);isAnchorElement;onChanges=new rxjs__WEBPACK_IMPORTED_MODULE_11__.B;applicationErrorHandler=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_core__WEBPACK_IMPORTED_MODULE_8__.ZTf);options=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.J_,{optional:!0});reactiveRouterState=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(ReactiveRouterState);constructor(router,route,tabIndexAttribute,renderer,el,locationStrategy){this.router=router,this.route=route,this.tabIndexAttribute=tabIndexAttribute,this.renderer=renderer,this.el=el,this.locationStrategy=locationStrategy;const tagName=el.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===tagName||"area"===tagName||!("object"!=typeof customElements||!customElements.get(tagName)?.observedAttributes?.includes?.("href")),"undefined"!=typeof ngDevMode&&ngDevMode&&(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.QZP)(()=>{if((0,_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.wO)(this.routerLinkInput())&&(void 0!==this._fragment()||this._queryParams()||this._queryParamsHandling()||this._preserveFragment()||this._relativeTo()))throw new _angular_core__WEBPACK_IMPORTED_MODULE_8__.buA(4017,"Cannot configure queryParams or fragment when using a UrlTree as the routerLink input value.")})}setTabIndexIfNotOnNativeEl(newTabIndex){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",newTabIndex)}ngOnChanges(changes){this.onChanges.next(this)}routerLinkInput=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.vPA)(null,...ngDevMode?[{debugName:"routerLinkInput"}]:[]);set routerLink(commandsOrUrlTree){null==commandsOrUrlTree?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):((0,_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.wO)(commandsOrUrlTree)?this.routerLinkInput.set(commandsOrUrlTree):this.routerLinkInput.set(Array.isArray(commandsOrUrlTree)?commandsOrUrlTree:[commandsOrUrlTree]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(button,ctrlKey,shiftKey,altKey,metaKey){const urlTree=this._urlTree();if(null===urlTree)return!0;if(this.isAnchorElement){if(0!==button||ctrlKey||shiftKey||altKey||metaKey)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0}const extras={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(urlTree,extras)?.catch(e=>{this.applicationErrorHandler(e)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(attrName,attrValue){const renderer=this.renderer,nativeElement=this.el.nativeElement;null!==attrValue?renderer.setAttribute(nativeElement,attrName,attrValue):renderer.removeAttribute(nativeElement,attrName)}_urlTree=(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.EW)(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();const shouldTrackParams=handling=>"preserve"===handling||"merge"===handling;(shouldTrackParams(this._queryParamsHandling())||shouldTrackParams(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();const routerLinkInput=this.routerLinkInput();return null!==routerLinkInput&&this.router.createUrlTree?(0,_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.wO)(routerLinkInput)?routerLinkInput:this.router.createUrlTree(routerLinkInput,{relativeTo:void 0!==this._relativeTo()?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()}):null},{...ngDevMode?{debugName:"_urlTree"}:{},equal:(a,b)=>this.computeHref(a)===this.computeHref(b)});get urlTree(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this._urlTree)}computeHref(urlTree){return null!==urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(urlTree))??"":null}static ɵfac=function RouterLink_Factory(__ngFactoryType__){return new(__ngFactoryType__||RouterLink)(_angular_core__WEBPACK_IMPORTED_MODULE_7__.rXU(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix),_angular_core__WEBPACK_IMPORTED_MODULE_7__.rXU(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.nX),_angular_core__WEBPACK_IMPORTED_MODULE_7__.kS0("tabindex"),_angular_core__WEBPACK_IMPORTED_MODULE_7__.rXU(_angular_core__WEBPACK_IMPORTED_MODULE_7__.sFG),_angular_core__WEBPACK_IMPORTED_MODULE_7__.rXU(_angular_core__WEBPACK_IMPORTED_MODULE_7__.aKT),_angular_core__WEBPACK_IMPORTED_MODULE_7__.rXU(_angular_common__WEBPACK_IMPORTED_MODULE_1__.hb))};static ɵdir=_angular_core__WEBPACK_IMPORTED_MODULE_7__.FsC({type:RouterLink,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function RouterLink_HostBindings(rf,ctx){1&rf&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.bIt("click",function RouterLink_click_HostBindingHandler($event){return ctx.onClick($event.button,$event.ctrlKey,$event.shiftKey,$event.altKey,$event.metaKey)}),2&rf&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.BMQ("href",ctx.reactiveHref(),_angular_core__WEBPACK_IMPORTED_MODULE_7__.n$t)("target",ctx._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",_angular_core__WEBPACK_IMPORTED_MODULE_6__.booleanAttribute],skipLocationChange:[2,"skipLocationChange","skipLocationChange",_angular_core__WEBPACK_IMPORTED_MODULE_6__.booleanAttribute],replaceUrl:[2,"replaceUrl","replaceUrl",_angular_core__WEBPACK_IMPORTED_MODULE_6__.booleanAttribute],routerLink:"routerLink"},features:[_angular_core__WEBPACK_IMPORTED_MODULE_7__.OA$]})}("undefined"==typeof ngDevMode||ngDevMode)&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.cDI(RouterLink,[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.WLR,args:[{selector:"[routerLink]",host:{"[attr.href]":"reactiveHref()","[attr.target]":"_target()"}}]}],()=>[{type:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix},{type:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.nX},{type:void 0,decorators:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.nWp,args:["tabindex"]}]},{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.sFG},{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.aKT},{type:_angular_common__WEBPACK_IMPORTED_MODULE_1__.hb}],{target:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde}],queryParams:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde}],fragment:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde}],queryParamsHandling:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde}],state:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde}],info:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde}],relativeTo:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde}],preserveFragment:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde,args:[{transform:_angular_core__WEBPACK_IMPORTED_MODULE_6__.booleanAttribute}]}],skipLocationChange:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde,args:[{transform:_angular_core__WEBPACK_IMPORTED_MODULE_6__.booleanAttribute}]}],replaceUrl:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde,args:[{transform:_angular_core__WEBPACK_IMPORTED_MODULE_6__.booleanAttribute}]}],routerLink:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde}],onClick:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.Z$l,args:["click",["$event.button","$event.ctrlKey","$event.shiftKey","$event.altKey","$event.metaKey"]]}]});class RouterLinkActive{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new _angular_core__WEBPACK_IMPORTED_MODULE_8__.bkB;link=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(RouterLink,{optional:!0});constructor(router,element,renderer,cdr){this.router=router,this.element=element,this.renderer=renderer,this.cdr=cdr,this.routerEventsSubscription=router.events.subscribe(s=>{s instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.wF&&this.update()})}ngAfterContentInit(){(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(this.links.changes,(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.U)()).subscribe(_=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const allLinkChanges=[...this.links.toArray(),this.link].filter(link=>!!link).map(link=>link.onChanges);this.linkInputChangesSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_12__.H)(allLinkChanges).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.U)()).subscribe(link=>{this._isActive!==this.isLinkActive(this.router)(link)&&this.update()})}set routerLinkActive(data){const classes=Array.isArray(data)?data:data.split(" ");this.classes=classes.filter(c=>!!c)}ngOnChanges(changes){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){this.links&&this.router.navigated&&queueMicrotask(()=>{const hasActiveLinks=this.hasActiveLinks();this.classes.forEach(c=>{hasActiveLinks?this.renderer.addClass(this.element.nativeElement,c):this.renderer.removeClass(this.element.nativeElement,c)}),hasActiveLinks&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==hasActiveLinks&&(this._isActive=hasActiveLinks,this.cdr.markForCheck(),this.isActiveChange.emit(hasActiveLinks))})}isLinkActive(router){const options=function isActiveMatchOptions(options){const o=options;return!!(o.paths||o.matrixParams||o.queryParams||o.fragment)}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact?{..._router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.tE}:{..._router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.E};return link=>{const urlTree=link.urlTree;return!!urlTree&&(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)((0,_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.$m)(urlTree,router,options))}}hasActiveLinks(){const isActiveCheckFn=this.isLinkActive(this.router);return this.link&&isActiveCheckFn(this.link)||this.links.some(isActiveCheckFn)}static ɵfac=function RouterLinkActive_Factory(__ngFactoryType__){return new(__ngFactoryType__||RouterLinkActive)(_angular_core__WEBPACK_IMPORTED_MODULE_7__.rXU(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix),_angular_core__WEBPACK_IMPORTED_MODULE_7__.rXU(_angular_core__WEBPACK_IMPORTED_MODULE_7__.aKT),_angular_core__WEBPACK_IMPORTED_MODULE_7__.rXU(_angular_core__WEBPACK_IMPORTED_MODULE_7__.sFG),_angular_core__WEBPACK_IMPORTED_MODULE_7__.rXU(_angular_core__WEBPACK_IMPORTED_MODULE_6__.ChangeDetectorRef))};static ɵdir=_angular_core__WEBPACK_IMPORTED_MODULE_7__.FsC({type:RouterLinkActive,selectors:[["","routerLinkActive",""]],contentQueries:function RouterLinkActive_ContentQueries(rf,ctx,dirIndex){if(1&rf&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.wni(dirIndex,RouterLink,5),2&rf){let _t;_angular_core__WEBPACK_IMPORTED_MODULE_7__.mGM(_t=_angular_core__WEBPACK_IMPORTED_MODULE_7__.lsd())&&(ctx.links=_t)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[_angular_core__WEBPACK_IMPORTED_MODULE_7__.OA$]})}("undefined"==typeof ngDevMode||ngDevMode)&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.cDI(RouterLinkActive,[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.WLR,args:[{selector:"[routerLinkActive]",exportAs:"routerLinkActive"}]}],()=>[{type:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix},{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.aKT},{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.sFG},{type:_angular_core__WEBPACK_IMPORTED_MODULE_6__.ChangeDetectorRef}],{links:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_6__.ContentChildren,args:[RouterLink,{descendants:!0}]}],routerLinkActiveOptions:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde}],ariaCurrentWhenActive:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde}],isActiveChange:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.k7i}],routerLinkActive:[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.pde}]});class PreloadingStrategy{}class PreloadAllModules{preload(route,fn){return fn().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.W)(()=>(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(null)))}static ɵfac=function PreloadAllModules_Factory(__ngFactoryType__){return new(__ngFactoryType__||PreloadAllModules)};static ɵprov=_angular_core__WEBPACK_IMPORTED_MODULE_8__.jDH({token:PreloadAllModules,factory:PreloadAllModules.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.cDI(PreloadAllModules,[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__._qm,args:[{providedIn:"root"}]}],null,null);class NoPreloading{preload(route,fn){return(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(null)}static ɵfac=function NoPreloading_Factory(__ngFactoryType__){return new(__ngFactoryType__||NoPreloading)};static ɵprov=_angular_core__WEBPACK_IMPORTED_MODULE_8__.jDH({token:NoPreloading,factory:NoPreloading.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.cDI(NoPreloading,[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__._qm,args:[{providedIn:"root"}]}],null,null);class RouterPreloader{router;injector;preloadingStrategy;loader;subscription;constructor(router,injector,preloadingStrategy,loader){this.router=router,this.injector=injector,this.preloadingStrategy=preloadingStrategy,this.loader=loader}setUpPreloading(){this.subscription=this.router.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.p)(e=>e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.wF),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(injector,routes){const res=[];for(const route of routes){route.providers&&!route._injector&&(route._injector=(0,_angular_core__WEBPACK_IMPORTED_MODULE_7__.Ol2)(route.providers,injector,"undefined"==typeof ngDevMode||ngDevMode?`Route: ${route.path}`:""));const injectorForCurrentRoute=route._injector??injector;route._loadedNgModuleFactory&&!route._loadedInjector&&(route._loadedInjector=route._loadedNgModuleFactory.create(injectorForCurrentRoute).injector);const injectorForChildren=route._loadedInjector??injectorForCurrentRoute;(route.loadChildren&&!route._loadedRoutes&&void 0===route.canLoad||route.loadComponent&&!route._loadedComponent)&&res.push(this.preloadConfig(injectorForCurrentRoute,route)),(route.children||route._loadedRoutes)&&res.push(this.processRoutes(injectorForChildren,route.children??route._loadedRoutes))}return(0,rxjs__WEBPACK_IMPORTED_MODULE_12__.H)(res).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.U)())}preloadConfig(injector,route){return this.preloadingStrategy.preload(route,()=>{if(injector.destroyed)return(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(null);let loadedChildren$;loadedChildren$=route.loadChildren&&void 0===route.canLoad?(0,rxjs__WEBPACK_IMPORTED_MODULE_12__.H)(this.loader.loadChildren(injector,route)):(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(null);const recursiveLoadChildren$=loadedChildren$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_18__.Z)(config=>null===config?(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(void 0):(route._loadedRoutes=config.routes,route._loadedInjector=config.injector,route._loadedNgModuleFactory=config.factory,this.processRoutes(config.injector??injector,config.routes))));if(route.loadComponent&&!route._loadedComponent){const loadComponent$=this.loader.loadComponent(injector,route);return(0,rxjs__WEBPACK_IMPORTED_MODULE_12__.H)([recursiveLoadChildren$,loadComponent$]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.U)())}return recursiveLoadChildren$})}static ɵfac=function RouterPreloader_Factory(__ngFactoryType__){return new(__ngFactoryType__||RouterPreloader)(_angular_core__WEBPACK_IMPORTED_MODULE_8__.KVO(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix),_angular_core__WEBPACK_IMPORTED_MODULE_8__.KVO(_angular_core__WEBPACK_IMPORTED_MODULE_8__.uvJ),_angular_core__WEBPACK_IMPORTED_MODULE_8__.KVO(PreloadingStrategy),_angular_core__WEBPACK_IMPORTED_MODULE_8__.KVO(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.D$))};static ɵprov=_angular_core__WEBPACK_IMPORTED_MODULE_8__.jDH({token:RouterPreloader,factory:RouterPreloader.ɵfac,providedIn:"root"})}("undefined"==typeof ngDevMode||ngDevMode)&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.cDI(RouterPreloader,[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__._qm,args:[{providedIn:"root"}]}],()=>[{type:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix},{type:_angular_core__WEBPACK_IMPORTED_MODULE_8__.uvJ},{type:PreloadingStrategy},{type:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.D$}],null);const ROUTER_SCROLLER=new _angular_core__WEBPACK_IMPORTED_MODULE_8__.nKC("undefined"!=typeof ngDevMode&&ngDevMode?"Router Scroller":"");class RouterScroller{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.wU;restoredId=0;store={};isHydrating=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_core__WEBPACK_IMPORTED_MODULE_7__.qBF,{optional:!0})??!1;urlSerializer=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Sd);zone=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_core__WEBPACK_IMPORTED_MODULE_8__.SKi);viewportScroller=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_common__WEBPACK_IMPORTED_MODULE_2__.Xr);transitions=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.J2);constructor(options){this.options=options,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_core__WEBPACK_IMPORTED_MODULE_7__.o8S).whenStable().then(()=>{this.isHydrating=!1})}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.wF?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.lW&&e.code===_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.mo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.OY)||"manual"===e.scrollBehavior)return;const instantScroll={behavior:"instant"};e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0],instantScroll):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position,instantScroll):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(routerEvent,anchor){var _this=this;if(this.isHydrating)return;const scroll=(0,_angular_core__WEBPACK_IMPORTED_MODULE_9__.O8)(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular((0,_Users_moja_projects_moja_code_mojawork_mono_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__.A)(function*(){yield new Promise(resolve=>{setTimeout(resolve),"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(resolve)}),_this.zone.run(()=>{_this.transitions.events.next(new _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.OY(routerEvent,"popstate"===_this.lastSource?_this.store[_this.restoredId]:null,anchor,scroll))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static ɵfac=function RouterScroller_Factory(__ngFactoryType__){_angular_core__WEBPACK_IMPORTED_MODULE_7__.QTQ()};static ɵprov=_angular_core__WEBPACK_IMPORTED_MODULE_8__.jDH({token:RouterScroller,factory:RouterScroller.ɵfac})}function getLoadedRoutes(route){return route._loadedRoutes}function getRouterInstance(injector){return injector.get(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix,null,{optional:!0})}function navigateByUrl(router,url){if(!(router instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix))throw new Error("The provided router is not an Angular Router.");return router.navigateByUrl(url)}("undefined"==typeof ngDevMode||ngDevMode)&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.cDI(RouterScroller,[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__._qm}],()=>[{type:void 0}],null);class NavigationStateManager extends _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.fN{injector=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_core__WEBPACK_IMPORTED_MODULE_8__.uvJ);navigation=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_common__WEBPACK_IMPORTED_MODULE_5__.U);inMemoryScrollingEnabled=null!==(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(ROUTER_SCROLLER,{optional:!0});base=new URL((0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_common__WEBPACK_IMPORTED_MODULE_4__.Vw).href).origin;appRootURL=new URL(this.location.prepareExternalUrl?.("/")??"/",this.base).href;precommitHandlerSupported=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_common__WEBPACK_IMPORTED_MODULE_5__.f);activeHistoryEntry=this.navigation.currentEntry;currentNavigation={};nonRouterCurrentEntryChangeSubject=new rxjs__WEBPACK_IMPORTED_MODULE_11__.B;nonRouterEntryChangeListener;get registered(){return void 0!==this.nonRouterEntryChangeListener&&!this.nonRouterEntryChangeListener.closed}constructor(){super();const navigateListener=event=>{this.handleNavigate(event)};this.navigation.addEventListener("navigate",navigateListener),(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_core__WEBPACK_IMPORTED_MODULE_8__.abz).onDestroy(()=>this.navigation.removeEventListener("navigate",navigateListener))}registerNonRouterCurrentEntryChangeListener(listener){return this.activeHistoryEntry=this.navigation.currentEntry,this.nonRouterEntryChangeListener=this.nonRouterCurrentEntryChangeSubject.subscribe(({path,state})=>{listener(path,state,"popstate",this.precommitHandlerSupported?{}:{replaceUrl:!0})}),this.nonRouterEntryChangeListener}handleRouterEvent(e,transition){var _this2=this;return(0,_Users_moja_projects_moja_code_mojawork_mono_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__.A)(function*(){if(_this2.currentNavigation={..._this2.currentNavigation,routerTransition:transition},e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Z)_this2.updateStateMemento(),_this2.precommitHandlerSupported&&_this2.maybeCreateNavigationForTransition(transition);else if(e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.lW)_this2.finishNavigation(),_this2.commitTransition(transition);else if(e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.kv)transition.routesRecognizeHandler.deferredHandle=new Promise(function(){var _ref2=(0,_Users_moja_projects_moja_code_mojawork_mono_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__.A)(function*(resolve){if("eager"===_this2.urlUpdateStrategy)try{_this2.maybeCreateNavigationForTransition(transition),yield _this2.currentNavigation.commitUrl?.()}catch{return}resolve()});return function(_x){return _ref2.apply(this,arguments)}}());else if(e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.j5)transition.beforeActivateHandler.deferredHandle=new Promise(function(){var _ref3=(0,_Users_moja_projects_moja_code_mojawork_mono_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__.A)(function*(resolve){if("deferred"===_this2.urlUpdateStrategy)try{_this2.maybeCreateNavigationForTransition(transition),yield _this2.currentNavigation.commitUrl?.()}catch{return}_this2.commitTransition(transition),resolve()});return function(_x2){return _ref3.apply(this,arguments)}}());else if(e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Cq||e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.L6){if(e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Cq&&e.code===_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.X1.Redirect&&!!_this2.currentNavigation.commitUrl)return;_this2.cancel(transition,e)}else if(e instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.wF){const{resolveHandler,removeAbortListener}=_this2.currentNavigation;_this2.currentNavigation={},removeAbortListener?.(),_this2.activeHistoryEntry=_this2.navigation.currentEntry,(0,_angular_core__WEBPACK_IMPORTED_MODULE_7__.mal)({read:()=>resolveHandler?.()},{injector:_this2.injector})}})()}maybeCreateNavigationForTransition(transition){const{navigationEvent,commitUrl}=this.currentNavigation;if(commitUrl||navigationEvent&&"traverse"===navigationEvent.navigationType&&this.eventAndRouterDestinationsMatch(navigationEvent,transition))return;this.currentNavigation.removeAbortListener?.();const path=this.createBrowserPath(transition);this.navigate(path,transition)}navigate(internalPath,transition){const path=transition.extras.skipLocationChange?this.navigation.currentEntry.url:this.location.prepareExternalUrl(internalPath),state={...transition.extras.state,...this.generateNgRouterState(transition)};!this.navigation.transition&&this.currentNavigation.navigationEvent&&(transition.extras.replaceUrl=!1);const history=this.location.isCurrentPathEqualTo(path)||transition.extras.replaceUrl||transition.extras.skipLocationChange?"replace":"push";handleResultRejections(this.navigation.navigate(path,{state,history,info:{ɵrouterInfo:{intercept:!0}}}))}finishNavigation(){this.currentNavigation.commitUrl?.(),this.currentNavigation?.resolveHandler?.(),this.currentNavigation={}}cancel(transition,cause){var _this3=this;return(0,_Users_moja_projects_moja_code_mojawork_mono_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__.A)(function*(){_this3.currentNavigation.rejectNavigateEvent?.();const clearedState={};if(_this3.currentNavigation=clearedState,(0,_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.bX)(cause))return;const isTraversalReset="computed"===_this3.canceledNavigationResolution&&_this3.navigation.currentEntry.key!==_this3.activeHistoryEntry.key;if(_this3.resetInternalState(transition.finalUrl,isTraversalReset),_this3.navigation.currentEntry.id!==_this3.activeHistoryEntry.id&&!(cause instanceof _router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Cq&&cause.code===_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.X1.Aborted&&(yield Promise.resolve(),_this3.currentNavigation!==clearedState)))if(isTraversalReset)handleResultRejections(_this3.navigation.traverseTo(_this3.activeHistoryEntry.key,{info:{ɵrouterInfo:{intercept:!1}}}));else{const internalPath=_this3.urlSerializer.serialize(_this3.getCurrentUrlTree()),pathOrUrl=_this3.location.prepareExternalUrl(internalPath);handleResultRejections(_this3.navigation.navigate(pathOrUrl,{state:_this3.activeHistoryEntry.getState(),history:"replace",info:{ɵrouterInfo:{intercept:!1}}}))}})()}resetInternalState(finalUrl,traversalReset){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=traversalReset?this.stateMemento.rawUrlTree:this.urlHandlingStrategy.merge(this.currentUrlTree,finalUrl??this.rawUrlTree)}handleNavigate(event){var _this4=this;if(!event.canIntercept||"reload"===event.navigationType)return;const routerInfo=event?.info?.ɵrouterInfo;if(routerInfo&&!routerInfo.intercept)return;const isTriggeredByRouterTransition=!!routerInfo;if(!isTriggeredByRouterTransition&&(this.currentNavigation.routerTransition?.abort(),!this.registered))return void this.finishNavigation();this.currentNavigation={...this.currentNavigation},this.currentNavigation.navigationEvent=event;const abortHandler=()=>{this.currentNavigation.routerTransition?.abort()};event.signal.addEventListener("abort",abortHandler),this.currentNavigation.removeAbortListener=()=>event.signal.removeEventListener("abort",abortHandler);const interceptOptions={scroll:this.inMemoryScrollingEnabled?"manual":this.currentNavigation.routerTransition?.extras.scroll??"after-transition"},{promise:handlerPromise,resolve:resolveHandler,reject:rejectHandler}=(0,_angular_core__WEBPACK_IMPORTED_MODULE_7__.nJn)(),{promise:precommitHandlerPromise,resolve:resolvePrecommitHandler,reject:rejectPrecommitHandler}=(0,_angular_core__WEBPACK_IMPORTED_MODULE_7__.nJn)();if(this.currentNavigation.rejectNavigateEvent=()=>{event.signal.removeEventListener("abort",abortHandler),rejectPrecommitHandler(),rejectHandler()},this.currentNavigation.resolveHandler=()=>{this.currentNavigation.removeAbortListener?.(),resolveHandler()},handlerPromise.catch(()=>{}),precommitHandlerPromise.catch(()=>{}),interceptOptions.handler=()=>handlerPromise,this.deferredCommitSupported(event)){const redirect=new Promise(resolve=>{interceptOptions.precommitHandler=controller=>("traverse"===this.navigation.transition?.navigationType?resolve(()=>{}):resolve(controller.redirect.bind(controller)),precommitHandlerPromise)});this.currentNavigation.commitUrl=(0,_Users_moja_projects_moja_code_mojawork_mono_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__.A)(function*(){_this4.currentNavigation.commitUrl=void 0;const transition=_this4.currentNavigation.routerTransition;if(transition&&!transition.extras.skipLocationChange){const internalPath=_this4.createBrowserPath(transition),history=_this4.location.isCurrentPathEqualTo(internalPath)||transition.extras.replaceUrl?"replace":"push",state={...transition.extras.state,..._this4.generateNgRouterState(transition)},pathOrUrl=_this4.location.prepareExternalUrl(internalPath);(yield redirect)(pathOrUrl,{state,history})}return resolvePrecommitHandler(),yield _this4.navigation.transition?.committed})}event.intercept(interceptOptions),isTriggeredByRouterTransition||this.handleNavigateEventTriggeredOutsideRouterAPIs(event)}handleNavigateEventTriggeredOutsideRouterAPIs(event){const path=event.destination.url.substring(this.appRootURL.length-1),state=event.destination.getState();this.nonRouterCurrentEntryChangeSubject.next({path,state})}eventAndRouterDestinationsMatch(navigateEvent,transition){const internalPath=this.createBrowserPath(transition),eventDestination=new URL(navigateEvent.destination.url),routerDestination=this.location.prepareExternalUrl(internalPath);return new URL(routerDestination,eventDestination.origin).href===eventDestination.href}generateNgRouterState(transition){return{...this.routerUrlState(transition),navigationId:transition.id}}deferredCommitSupported(event){return this.precommitHandlerSupported&&event.cancelable}static ɵfac=function NavigationStateManager_Factory(__ngFactoryType__){return new(__ngFactoryType__||NavigationStateManager)};static ɵprov=_angular_core__WEBPACK_IMPORTED_MODULE_8__.jDH({token:NavigationStateManager,factory:NavigationStateManager.ɵfac,providedIn:"root"})}function handleResultRejections(result){return result.finished?.catch(()=>{}),result.committed?.catch(()=>{}),result}function provideRouter(routes,...features){return("undefined"==typeof ngDevMode||ngDevMode)&&((0,_angular_core__WEBPACK_IMPORTED_MODULE_7__.CsU)("ɵgetLoadedRoutes",getLoadedRoutes),(0,_angular_core__WEBPACK_IMPORTED_MODULE_7__.CsU)("ɵgetRouterInstance",getRouterInstance),(0,_angular_core__WEBPACK_IMPORTED_MODULE_7__.CsU)("ɵnavigateByUrl",navigateByUrl)),(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.EmA)([{provide:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.bw,multi:!0,useValue:routes},"undefined"==typeof ngDevMode||ngDevMode?{provide:ROUTER_IS_PROVIDED,useValue:!0}:[],{provide:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.nX,useFactory:rootRoute},{provide:_angular_core__WEBPACK_IMPORTED_MODULE_7__.iLQ,multi:!0,useFactory:getBootstrapListener},features.map(feature=>feature.ɵproviders)])}function rootRoute(){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix).routerState.root}function routerFeature(kind,providers){return{ɵkind:kind,ɵproviders:providers}}("undefined"==typeof ngDevMode||ngDevMode)&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.cDI(NavigationStateManager,[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__._qm,args:[{providedIn:"root"}]}],()=>[],null);const ROUTER_IS_PROVIDED=new _angular_core__WEBPACK_IMPORTED_MODULE_8__.nKC("undefined"!=typeof ngDevMode&&ngDevMode?"Router is provided":"",{factory:()=>!1});_angular_core__WEBPACK_IMPORTED_MODULE_8__.Z63;function getBootstrapListener(){const injector=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_core__WEBPACK_IMPORTED_MODULE_8__.zZn);return bootstrappedComponentRef=>{const ref=injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_7__.o8S);if(bootstrappedComponentRef!==ref.components[0])return;const router=injector.get(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix),bootstrapDone=injector.get(BOOTSTRAP_DONE);1===injector.get(INITIAL_NAVIGATION)&&router.initialNavigation(),injector.get(ROUTER_PRELOADER,null,{optional:!0})?.setUpPreloading(),injector.get(ROUTER_SCROLLER,null,{optional:!0})?.init(),router.resetRootComponentType(ref.componentTypes[0]),bootstrapDone.closed||(bootstrapDone.next(),bootstrapDone.complete(),bootstrapDone.unsubscribe())}}const BOOTSTRAP_DONE=new _angular_core__WEBPACK_IMPORTED_MODULE_8__.nKC("undefined"==typeof ngDevMode||ngDevMode?"bootstrap done indicator":"",{factory:()=>new rxjs__WEBPACK_IMPORTED_MODULE_11__.B}),INITIAL_NAVIGATION=new _angular_core__WEBPACK_IMPORTED_MODULE_8__.nKC("undefined"==typeof ngDevMode||ngDevMode?"initial navigation":"",{factory:()=>1});function withDebugTracing(){let providers=[];return providers="undefined"==typeof ngDevMode||ngDevMode?[{provide:_angular_core__WEBPACK_IMPORTED_MODULE_8__.Z63,multi:!0,useFactory:()=>{const router=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix);return()=>router.events.subscribe(e=>{console.group?.(`Router Event: ${e.constructor.name}`),console.log((0,_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Us)(e)),console.log(e),console.groupEnd?.()})}}]:[],routerFeature(1,providers)}const ROUTER_PRELOADER=new _angular_core__WEBPACK_IMPORTED_MODULE_8__.nKC("undefined"==typeof ngDevMode||ngDevMode?"router preloader":"");function withViewTransitions(options){(0,_angular_core__WEBPACK_IMPORTED_MODULE_7__._jY)("NgRouterViewTransitions");return routerFeature(9,[{provide:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Pu,useValue:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Lg},{provide:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.bK,useValue:{skipNextTransition:!!options?.skipInitialTransition,...options}}])}const ROUTER_DIRECTIVES=[_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.n3,RouterLink,RouterLinkActive,_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.we],ROUTER_FORROOT_GUARD=new _angular_core__WEBPACK_IMPORTED_MODULE_8__.nKC("undefined"==typeof ngDevMode||ngDevMode?"router duplicate forRoot guard":""),ROUTER_PROVIDERS=[_angular_common__WEBPACK_IMPORTED_MODULE_1__.aZ,{provide:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Sd,useClass:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.nU},_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix,_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Zp,{provide:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.nX,useFactory:rootRoute},_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.D$,"undefined"==typeof ngDevMode||ngDevMode?{provide:ROUTER_IS_PROVIDED,useValue:!0}:[]];class RouterModule{constructor(){("undefined"==typeof ngDevMode||ngDevMode)&&(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(ROUTER_FORROOT_GUARD,{optional:!0})}static forRoot(routes,config){return{ngModule:RouterModule,providers:[ROUTER_PROVIDERS,("undefined"==typeof ngDevMode||ngDevMode)&&config?.enableTracing?withDebugTracing().ɵproviders:[],{provide:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.bw,multi:!0,useValue:routes},"undefined"==typeof ngDevMode||ngDevMode?{provide:ROUTER_FORROOT_GUARD,useFactory:provideForRootGuard}:[],config?.errorHandler?{provide:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.XR,useValue:config.errorHandler}:[],{provide:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.J_,useValue:config||{}},config?.useHash?{provide:_angular_common__WEBPACK_IMPORTED_MODULE_1__.hb,useClass:_angular_common__WEBPACK_IMPORTED_MODULE_3__.fw}:{provide:_angular_common__WEBPACK_IMPORTED_MODULE_1__.hb,useClass:_angular_common__WEBPACK_IMPORTED_MODULE_1__.Sm},{provide:ROUTER_SCROLLER,useFactory:()=>{const viewportScroller=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_common__WEBPACK_IMPORTED_MODULE_2__.Xr),config=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.J_);return config.scrollOffset&&viewportScroller.setOffset(config.scrollOffset),new RouterScroller(config)}},config?.preloadingStrategy?(preloadingStrategy=config.preloadingStrategy,routerFeature(0,[{provide:ROUTER_PRELOADER,useExisting:RouterPreloader},{provide:PreloadingStrategy,useExisting:preloadingStrategy}])).ɵproviders:[],config?.initialNavigation?provideInitialNavigation(config):[],config?.bindToComponentInputs?routerFeature(8,[_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.tD,{provide:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.c1,useExisting:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.tD}]).ɵproviders:[],config?.enableViewTransitions?withViewTransitions().ɵproviders:[],[{provide:ROUTER_INITIALIZER,useFactory:getBootstrapListener},{provide:_angular_core__WEBPACK_IMPORTED_MODULE_7__.iLQ,multi:!0,useExisting:ROUTER_INITIALIZER}]]};var preloadingStrategy}static forChild(routes){return{ngModule:RouterModule,providers:[{provide:_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.bw,multi:!0,useValue:routes}]}}static ɵfac=function RouterModule_Factory(__ngFactoryType__){return new(__ngFactoryType__||RouterModule)};static ɵmod=_angular_core__WEBPACK_IMPORTED_MODULE_7__.$C({type:RouterModule,imports:[_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.n3,RouterLink,RouterLinkActive,_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.we],exports:[_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.n3,RouterLink,RouterLinkActive,_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.we]});static ɵinj=_angular_core__WEBPACK_IMPORTED_MODULE_8__.G2t({})}function provideForRootGuard(){if((0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix,{optional:!0,skipSelf:!0}))throw new _angular_core__WEBPACK_IMPORTED_MODULE_8__.buA(4007,"The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function provideInitialNavigation(config){return["disabled"===config.initialNavigation?routerFeature(3,[(0,_angular_core__WEBPACK_IMPORTED_MODULE_7__.phd)(()=>{(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix).setUpLocationChangeListener()}),{provide:INITIAL_NAVIGATION,useValue:2}]).ɵproviders:[],"enabledBlocking"===config.initialNavigation?routerFeature(2,[{provide:_angular_core__WEBPACK_IMPORTED_MODULE_7__.tvf,useValue:!0},{provide:INITIAL_NAVIGATION,useValue:0},(0,_angular_core__WEBPACK_IMPORTED_MODULE_7__.phd)(()=>{const injector=(0,_angular_core__WEBPACK_IMPORTED_MODULE_8__.WQX)(_angular_core__WEBPACK_IMPORTED_MODULE_8__.zZn);return injector.get(_angular_common__WEBPACK_IMPORTED_MODULE_4__.hj,Promise.resolve()).then(()=>new Promise(resolve=>{const router=injector.get(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.Ix),bootstrapDone=injector.get(BOOTSTRAP_DONE);(0,_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.gk)(router,()=>{resolve(!0)}),injector.get(_router_chunk_mjs__WEBPACK_IMPORTED_MODULE_10__.J2).afterPreactivation=()=>(resolve(!0),bootstrapDone.closed?(0,rxjs__WEBPACK_IMPORTED_MODULE_13__.of)(void 0):bootstrapDone),router.initialNavigation()}))})]).ɵproviders:[]]}("undefined"==typeof ngDevMode||ngDevMode)&&_angular_core__WEBPACK_IMPORTED_MODULE_7__.cDI(RouterModule,[{type:_angular_core__WEBPACK_IMPORTED_MODULE_7__.UQu,args:[{imports:ROUTER_DIRECTIVES,exports:ROUTER_DIRECTIVES}]}],()=>[],null);const ROUTER_INITIALIZER=new _angular_core__WEBPACK_IMPORTED_MODULE_8__.nKC("undefined"==typeof ngDevMode||ngDevMode?"Router Initializer":"")},"./node_modules/rxjs/dist/esm5/internal/observable/concat.js"(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{x:()=>concat});var mergeAll=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/mergeAll.js");var util_args=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/util/args.js"),from=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/observable/from.js");function concat(){for(var args=[],_i=0;_i<arguments.length;_i++)args[_i]=arguments[_i];return function concatAll(){return(0,mergeAll.U)(1)}()((0,from.H)(args,(0,util_args.lI)(args)))}},"./node_modules/rxjs/dist/esm5/internal/operators/mergeAll.js"(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{U:()=>mergeAll});var _mergeMap__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/mergeMap.js"),_util_identity__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/util/identity.js");function mergeAll(concurrent){return void 0===concurrent&&(concurrent=1/0),(0,_mergeMap__WEBPACK_IMPORTED_MODULE_0__.Z)(_util_identity__WEBPACK_IMPORTED_MODULE_1__.D,concurrent)}},"./node_modules/rxjs/dist/esm5/internal/operators/startWith.js"(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Z:()=>startWith});var _observable_concat__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/observable/concat.js"),_util_args__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/util/args.js"),_util_lift__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/util/lift.js");function startWith(){for(var values=[],_i=0;_i<arguments.length;_i++)values[_i]=arguments[_i];var scheduler=(0,_util_args__WEBPACK_IMPORTED_MODULE_1__.lI)(values);return(0,_util_lift__WEBPACK_IMPORTED_MODULE_2__.N)(function(source,subscriber){(scheduler?(0,_observable_concat__WEBPACK_IMPORTED_MODULE_0__.x)(values,source,scheduler):(0,_observable_concat__WEBPACK_IMPORTED_MODULE_0__.x)(values,source)).subscribe(subscriber)})}},"./node_modules/rxjs/dist/esm5/internal/operators/takeUntil.js"(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Q:()=>takeUntil});var _util_lift__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/util/lift.js"),_OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js"),_observable_innerFrom__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/observable/innerFrom.js"),_util_noop__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/util/noop.js");function takeUntil(notifier){return(0,_util_lift__WEBPACK_IMPORTED_MODULE_0__.N)(function(source,subscriber){(0,_observable_innerFrom__WEBPACK_IMPORTED_MODULE_2__.Tg)(notifier).subscribe((0,_OperatorSubscriber__WEBPACK_IMPORTED_MODULE_1__._)(subscriber,function(){return subscriber.complete()},_util_noop__WEBPACK_IMPORTED_MODULE_3__.l)),!subscriber.closed&&source.subscribe(subscriber)})}},"./node_modules/rxjs/dist/esm5/internal/util/isObservable.js"(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{A:()=>isObservable});var _Observable__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/Observable.js"),_isFunction__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/util/isFunction.js");function isObservable(obj){return!!obj&&(obj instanceof _Observable__WEBPACK_IMPORTED_MODULE_0__.c||(0,_isFunction__WEBPACK_IMPORTED_MODULE_1__.T)(obj.lift)&&(0,_isFunction__WEBPACK_IMPORTED_MODULE_1__.T)(obj.subscribe))}}}]);
|