marketplacepos 2.4.8 → 2.4.9
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/Marketplace/162.380fb02c77fa6ec0.js +1 -0
- package/Marketplace/174.d9e54ac6a8d68fed.js +1 -0
- package/Marketplace/180.bfed0f08b5cdbbde.js +1 -0
- package/Marketplace/25.5e00713dbd080b64.js +1 -0
- package/Marketplace/32.9c83cc1dfc19e37d.js +1 -0
- package/Marketplace/360.4fa1f449dc516500.js +1 -0
- package/Marketplace/369.16ffb7833f5f392e.js +1 -0
- package/Marketplace/397.5bc29c874039d3c8.js +1 -0
- package/Marketplace/3rdpartylicenses.txt +568 -0
- package/Marketplace/455.fc7663306b753727.js +1 -0
- package/Marketplace/463.7140b32660c473a4.js +1 -0
- package/Marketplace/512.96a1a3c8c51a8727.js +1 -0
- package/Marketplace/516.f335756d88de781a.js +1 -0
- package/Marketplace/585.9e916b668a91cc94.js +1 -0
- package/Marketplace/6.fc79ecc0c0a33462.js +1 -0
- package/Marketplace/616.fb179a9605c3e98c.js +1 -0
- package/Marketplace/716.65e3e9a36c3e8be6.js +1 -0
- package/Marketplace/717.c3d108362a36e597.js +1 -0
- package/Marketplace/739.82b92600f9519019.js +1 -0
- package/Marketplace/785.e0040d021febffb1.js +1 -0
- package/Marketplace/796.d34bd45b5a924fca.js +1 -0
- package/Marketplace/832.6082371d3ebb95a0.js +1 -0
- package/Marketplace/874.472e0cd7c75127ca.js +1 -0
- package/Marketplace/common.3f5874655db24424.js +1 -0
- package/Marketplace/index.html +22 -23
- package/Marketplace/main.195197d9958646d1.js +1 -0
- package/Marketplace/polyfills.8d85b0533e3f867a.js +1 -0
- package/Marketplace/runtime.a82898ac8aec5312.js +1 -0
- package/Marketplace/scripts.09af772bfa77d50d.js +1 -0
- package/Marketplace/styles.dff58ae3c0783953.css +20 -0
- package/package.json +1 -1
- package/Marketplace/common.js +0 -238
- package/Marketplace/common.js.map +0 -1
- package/Marketplace/default-node_modules_angular_forms_fesm2020_forms_mjs.js +0 -9551
- package/Marketplace/default-node_modules_angular_forms_fesm2020_forms_mjs.js.map +0 -1
- package/Marketplace/default-node_modules_angular_material_fesm2020_paginator_mjs.js +0 -797
- package/Marketplace/default-node_modules_angular_material_fesm2020_paginator_mjs.js.map +0 -1
- package/Marketplace/default-node_modules_angular_material_fesm2020_slide-toggle_mjs.js +0 -669
- package/Marketplace/default-node_modules_angular_material_fesm2020_slide-toggle_mjs.js.map +0 -1
- package/Marketplace/default-node_modules_ng-select_ng-select_fesm2020_ng-select-ng-select_mjs.js +0 -4632
- package/Marketplace/default-node_modules_ng-select_ng-select_fesm2020_ng-select-ng-select_mjs.js.map +0 -1
- package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_date-e7a231.js +0 -6841
- package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_date-e7a231.js.map +0 -1
- package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-src_app_services_biggerPicture_service_ts-s-b16afe.js +0 -3316
- package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-src_app_services_biggerPicture_service_ts-s-b16afe.js.map +0 -1
- package/Marketplace/default-src_app_model_enums_FilterType_enum_ts-src_app_sharing-module_table_table_component_ts.js +0 -6219
- package/Marketplace/default-src_app_model_enums_FilterType_enum_ts-src_app_sharing-module_table_table_component_ts.js.map +0 -1
- package/Marketplace/default-src_app_sharing-module_datepicker_datepicker_component_ts.js +0 -19965
- package/Marketplace/default-src_app_sharing-module_datepicker_datepicker_component_ts.js.map +0 -1
- package/Marketplace/main.js +0 -622
- package/Marketplace/main.js.map +0 -1
- package/Marketplace/polyfills.js +0 -3398
- package/Marketplace/polyfills.js.map +0 -1
- package/Marketplace/runtime.js +0 -346
- package/Marketplace/runtime.js.map +0 -1
- package/Marketplace/scripts.js +0 -9
- package/Marketplace/scripts.js.map +0 -1
- package/Marketplace/src_app_login_login_module_ts.js +0 -651
- package/Marketplace/src_app_login_login_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_ReportOrder_order_order_module_ts.js +0 -872
- package/Marketplace/src_app_menu_ReportOrder_order_order_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_ReportOrder_product-statistic_product-statistic_module_ts.js +0 -422
- package/Marketplace/src_app_menu_ReportOrder_product-statistic_product-statistic_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_ReportOrder_report_module_ts.js +0 -283
- package/Marketplace/src_app_menu_ReportOrder_report_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_channels_channels_module_ts.js +0 -9605
- package/Marketplace/src_app_menu_channels_channels_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_inventory_inventory_module_ts.js +0 -1547
- package/Marketplace/src_app_menu_inventory_inventory_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_logistic_logistic_module_ts.js +0 -245
- package/Marketplace/src_app_menu_logistic_logistic_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_menu_module_ts.js +0 -40326
- package/Marketplace/src_app_menu_menu_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_notification_notification_module_ts.js +0 -285
- package/Marketplace/src_app_menu_notification_notification_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_object-log_logs_module_ts.js +0 -1817
- package/Marketplace/src_app_menu_object-log_logs_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_orders_orders_module_ts.js +0 -4867
- package/Marketplace/src_app_menu_orders_orders_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_price_price_module_ts.js +0 -1885
- package/Marketplace/src_app_menu_price_price_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_products_product_module_ts.js +0 -2692
- package/Marketplace/src_app_menu_products_product_module_ts.js.map +0 -1
- package/Marketplace/styles.css +0 -16565
- package/Marketplace/styles.css.map +0 -1
- package/Marketplace/vendor.js +0 -71624
- package/Marketplace/vendor.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[179],{1318:(Ye,me,b)=>{b.d(me,{O:()=>Ee});var D=b(515),f=b(8306),se=b(4986),J=b(1165),$=b(4482),Q=b(8421),Y=b(3888),re=b(5403),te=b(9672);const de=(0,Y.d)(Ne=>function(Ae=null){Ne(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=Ae});function K(Ne){throw new de(Ne)}var ke=b(262),De=b(4650),ye=b(529),Re=b(7185);let Ee=(()=>{class Ne{constructor(Ae,he){this.http=Ae,this.toastr=he}get(Ae){return this.http.get(Ae).pipe((0,ke.K)(he=>{let P=this.errorMessageHandling(he);return this.toastr.error(""!=P.message?P.message:"An unknown error has occured!",P.header),D.E}))}post(Ae,he,P=1e5){return new f.y(q=>{this.http.post(Ae,he).pipe(function X(Ne,Je){const{first:Ae,each:he,with:P=K,scheduler:q=Je??se.z,meta:ue=null}=(0,J.q)(Ne)?{first:Ne}:"number"==typeof Ne?{each:Ne}:Ne;if(null==Ae&&null==he)throw new TypeError("No timeout provided.");return(0,$.e)((ie,oe)=>{let Ce,N,B=null,ee=0;const le=fe=>{N=(0,te.f)(oe,q,()=>{try{Ce.unsubscribe(),(0,Q.Xf)(P({meta:ue,lastValue:B,seen:ee})).subscribe(oe)}catch(Oe){oe.error(Oe)}},fe)};Ce=ie.subscribe((0,re.x)(oe,fe=>{N?.unsubscribe(),ee++,oe.next(B=fe),he>0&&le(he)},void 0,void 0,()=>{N?.closed||N?.unsubscribe(),B=null})),!ee&&le(null!=Ae?"number"==typeof Ae?Ae:+Ae-q.now():he)})}(P)).subscribe({next:ue=>{q.next(ue),q.complete()},error:ue=>{if(200==ue.status)q.next(ue.error.text),q.complete();else{if(!this.unauthorizedErrorHandling(ue)&&!Array.isArray(ue?.error?.Message)){let oe=this.errorMessageHandling(ue);this.toastr.error(""!=oe.message?oe.message:"An unknown error has occured!",oe.header,{enableHtml:!0})}q.error(ue)}}})})}unauthorizedErrorHandling(Ae){let he=!1;return 401==Ae.status&&(localStorage.getItem("Token")?window.location.href="/A/Unauthorized/Main/Unauthorized":window.location.href="/",he=!0),he}errorMessageHandling(Ae){let he="API Error",P="Exception Message";return Ae.error?(he="API Error - "+Ae.status,Ae.error.Message&&(P=-1!=Ae.error.Message.indexOf("Message")?JSON.parse(Ae.error.Message).Message:Ae.error.Message)):Ae.message&&(he="API Error - "+Ae.name,P=Ae.message),{header:he,message:P}}}return Ne.\u0275fac=function(Ae){return new(Ae||Ne)(De.LFG(ye.eN),De.LFG(Re._W))},Ne.\u0275prov=De.Yz7({token:Ne,factory:Ne.\u0275fac,providedIn:"root"}),Ne})()},8002:(Ye,me,b)=>{b.d(me,{e:()=>f});var D=b(4650);let f=(()=>{class se{constructor(){}getParseToken(){let $=JSON.parse(window.localStorage.getItem("user"));return this.ParseToken($.Token.access_token)}GetRoles(){return this.getParseToken().Role}ParseToken($){try{const Y=$.split(".")[0].replace("-","+").replace("_","/"),re=JSON.parse(window.atob(Y)),de=$.split(".")[1].replace("-","+").replace("_","/"),X=JSON.parse(window.atob(de));return X.header=re,X}catch{return!1}}}return se.\u0275fac=function($){return new($||se)},se.\u0275prov=D.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})()},5310:(Ye,me,b)=>{var D=b(1481),f=b(4650),se=b(529),J=b(4707);function $(y,a){return(o,p)=>!y.call(a,o,p)}var Q=b(9300),Y=b(8421),te=b(6451),de=b(2805),X=b(8746),K=b(3900),ke=b(4482),De=b(5032),ye=b(5403);function Re(y){return(0,ke.e)((a,o)=>{let p=!1,w=null,A=null;const F=()=>{if(A?.unsubscribe(),A=null,p){p=!1;const k=w;w=null,o.next(k)}};a.subscribe((0,ye.x)(o,k=>{A?.unsubscribe(),p=!0,w=k,A=(0,ye.x)(o,F,De.Z),(0,Y.Xf)(y(k)).subscribe(A)},()=>{F(),o.complete()},void 0,()=>{w=A=null}))})}var Ee=b(1884),Ne=b(8505),Je=b(6895);function Ae(y,a){1&y&&f.GkF(0)}function he(y,a){if(1&y&&f._UZ(0,"sk-cube-grid",4),2&y){const o=f.oxw(2);f.Q6J("backgroundColor",o.backgroundColor)}}function P(y,a){if(1&y&&f._UZ(0,"sk-chasing-dots",4),2&y){const o=f.oxw(2);f.Q6J("backgroundColor",o.backgroundColor)}}function q(y,a){if(1&y&&f._UZ(0,"sk-double-bounce",4),2&y){const o=f.oxw(2);f.Q6J("backgroundColor",o.backgroundColor)}}function ue(y,a){if(1&y&&f._UZ(0,"sk-rotating-plane",4),2&y){const o=f.oxw(2);f.Q6J("backgroundColor",o.backgroundColor)}}function ie(y,a){if(1&y&&f._UZ(0,"sk-spinner-pulse",4),2&y){const o=f.oxw(2);f.Q6J("backgroundColor",o.backgroundColor)}}function oe(y,a){if(1&y&&f._UZ(0,"sk-three-bounce",4),2&y){const o=f.oxw(2);f.Q6J("backgroundColor",o.backgroundColor)}}function Ce(y,a){if(1&y&&f._UZ(0,"sk-wandering-cubes",4),2&y){const o=f.oxw(2);f.Q6J("backgroundColor",o.backgroundColor)}}function N(y,a){if(1&y&&f._UZ(0,"sk-wave",4),2&y){const o=f.oxw(2);f.Q6J("backgroundColor",o.backgroundColor)}}const B=function(y){return{"background-color":y}};function ee(y,a){if(1&y&&(f.TgZ(0,"div",1),f.YNc(1,Ae,1,0,"ng-container",2),f.YNc(2,he,1,1,"sk-cube-grid",3),f.YNc(3,P,1,1,"sk-chasing-dots",3),f.YNc(4,q,1,1,"sk-double-bounce",3),f.YNc(5,ue,1,1,"sk-rotating-plane",3),f.YNc(6,ie,1,1,"sk-spinner-pulse",3),f.YNc(7,oe,1,1,"sk-three-bounce",3),f.YNc(8,Ce,1,1,"sk-wandering-cubes",3),f.YNc(9,N,1,1,"sk-wave",3),f.qZA()),2&y){const o=f.oxw();f.Udp("opacity",o.opacity),f.ekj("backdrop",o.backdrop),f.Q6J("ngStyle",f.VKq(14,B,o.backdrop?o.backdropBackgroundColor:"transparent")),f.xp6(1),f.Q6J("ngComponentOutlet",o.entryComponent),f.xp6(1),f.Q6J("ngIf",o.spinner===o.spinkit.skCubeGrid),f.xp6(1),f.Q6J("ngIf",o.spinner===o.spinkit.skChasingDots),f.xp6(1),f.Q6J("ngIf",o.spinner===o.spinkit.skDoubleBounce),f.xp6(1),f.Q6J("ngIf",o.spinner===o.spinkit.skRotatingPlane),f.xp6(1),f.Q6J("ngIf",o.spinner===o.spinkit.skSpinnerPulse),f.xp6(1),f.Q6J("ngIf",o.spinner===o.spinkit.skThreeBounce),f.xp6(1),f.Q6J("ngIf",o.spinner===o.spinkit.skWanderingCubes),f.xp6(1),f.Q6J("ngIf",o.spinner===o.spinkit.skWave)}}let le=(()=>{class y{}return y.\u0275fac=function(o){return new(o||y)},y.\u0275dir=f.lG2({type:y,inputs:{backgroundColor:"backgroundColor"}}),y})(),fe=(()=>{class y extends le{}return y.\u0275fac=function(){let a;return function(p){return(a||(a=f.n5z(y)))(p||y)}}(),y.\u0275cmp=f.Xpm({type:y,selectors:[["sk-chasing-dots"]],features:[f.qOj],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(o,p){1&o&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2),f.qZA()),2&o&&(f.ekj("colored",!p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:sk-chasingDotsRotate 2s infinite linear}.sk-chasing-dots[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:sk-chasingDotsBounce 2s infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),y})(),Oe=(()=>{class y extends le{}return y.\u0275fac=function(){let a;return function(p){return(a||(a=f.n5z(y)))(p||y)}}(),y.\u0275cmp=f.Xpm({type:y,selectors:[["sk-cube-grid"]],features:[f.qOj],decls:10,vars:20,consts:[[1,"sk-cube-grid"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"],[1,"sk-cube","sk-cube3"],[1,"sk-cube","sk-cube4"],[1,"sk-cube","sk-cube5"],[1,"sk-cube","sk-cube6"],[1,"sk-cube","sk-cube7"],[1,"sk-cube","sk-cube8"],[1,"sk-cube","sk-cube9"]],template:function(o,p){1&o&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),f.qZA()),2&o&&(f.ekj("colored",!p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor))},styles:[".sk-cube-grid[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:33.33%;height:33.33%;float:left;animation:sk-cubeGridScaleDelay 1.3s infinite ease-in-out}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube1[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube3[_ngcontent-%COMP%]{animation-delay:.4s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube4[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube5[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube6[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube7[_ngcontent-%COMP%]{animation-delay:0s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube8[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube9[_ngcontent-%COMP%]{animation-delay:.2s}@keyframes sk-cubeGridScaleDelay{0%,70%,to{transform:scaleZ(1)}35%{transform:scale3D(0,0,1)}}"]}),y})(),st=(()=>{class y extends le{}return y.\u0275fac=function(){let a;return function(p){return(a||(a=f.n5z(y)))(p||y)}}(),y.\u0275cmp=f.Xpm({type:y,selectors:[["sk-double-bounce"]],features:[f.qOj],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(o,p){1&o&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2),f.qZA()),2&o&&(f.ekj("colored",!p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor))},styles:[".sk-double-bounce[_ngcontent-%COMP%]{top:50%;width:40px;height:40px;position:relative;margin:auto}.sk-double-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;animation:sk-doubleBounce 2s infinite ease-in-out}.sk-double-bounce[_ngcontent-%COMP%] .sk-double-bounce2[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]}),y})(),pt=(()=>{class y extends le{}return y.\u0275fac=function(){let a;return function(p){return(a||(a=f.n5z(y)))(p||y)}}(),y.\u0275cmp=f.Xpm({type:y,selectors:[["sk-rotating-plane"]],features:[f.qOj],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(o,p){1&o&&f._UZ(0,"div",0),2&o&&f.Udp("background-color",p.backgroundColor)},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:sk-rotatePlane 1.2s infinite ease-in-out}@keyframes sk-rotatePlane{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}"]}),y})(),gt=(()=>{class y extends le{}return y.\u0275fac=function(){let a;return function(p){return(a||(a=f.n5z(y)))(p||y)}}(),y.\u0275cmp=f.Xpm({type:y,selectors:[["sk-spinner-pulse"]],features:[f.qOj],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(o,p){1&o&&f._UZ(0,"div",0),2&o&&f.Udp("background-color",p.backgroundColor)},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:sk-pulseScaleOut 1s infinite ease-in-out}@keyframes sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]}),y})(),ze=(()=>{class y extends le{}return y.\u0275fac=function(){let a;return function(p){return(a||(a=f.n5z(y)))(p||y)}}(),y.\u0275cmp=f.Xpm({type:y,selectors:[["sk-three-bounce"]],features:[f.qOj],decls:4,vars:8,consts:[[1,"sk-three-bounce"],[1,"sk-child","sk-bounce1"],[1,"sk-child","sk-bounce2"],[1,"sk-child","sk-bounce3"]],template:function(o,p){1&o&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2)(3,"div",3),f.qZA()),2&o&&(f.ekj("colored",!p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor))},styles:[".sk-three-bounce[_ngcontent-%COMP%]{top:50%;position:relative;margin:auto;width:80px;text-align:center}.sk-three-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:100%;display:inline-block;animation:sk-three-bounce 1.4s ease-in-out 0s infinite both}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce1[_ngcontent-%COMP%]{animation-delay:-.32s}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce2[_ngcontent-%COMP%]{animation-delay:-.16s}@keyframes sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}"]}),y})(),Gt=(()=>{class y extends le{}return y.\u0275fac=function(){let a;return function(p){return(a||(a=f.n5z(y)))(p||y)}}(),y.\u0275cmp=f.Xpm({type:y,selectors:[["sk-wandering-cubes"]],features:[f.qOj],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(o,p){1&o&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2),f.qZA()),2&o&&(f.ekj("colored",!p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor))},styles:[".sk-wandering-cubes[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:10px;height:10px;position:absolute;top:0;left:0;animation:sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:-.9s}@keyframes sk-wanderingCube{0%{transform:rotate(0)}25%{transform:translate(30px) rotate(-90deg) scale(.5)}50%{transform:translate(30px) translateY(30px) rotate(-179deg)}50.1%{transform:translate(30px) translateY(30px) rotate(-180deg)}75%{transform:translate(0) translateY(30px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}"]}),y})(),gn=(()=>{class y extends le{}return y.\u0275fac=function(){let a;return function(p){return(a||(a=f.n5z(y)))(p||y)}}(),y.\u0275cmp=f.Xpm({type:y,selectors:[["sk-wave"]],features:[f.qOj],decls:6,vars:12,consts:[[1,"sk-wave"],[1,"sk-rect","sk-rect1"],[1,"sk-rect","sk-rect2"],[1,"sk-rect","sk-rect3"],[1,"sk-rect","sk-rect4"],[1,"sk-rect","sk-rect5"]],template:function(o,p){1&o&&(f.TgZ(0,"div",0),f._UZ(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),f.qZA()),2&o&&(f.ekj("colored",!p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor),f.xp6(1),f.Udp("background-color",p.backgroundColor))},styles:[".sk-wave[_ngcontent-%COMP%]{position:relative;top:50%;margin:auto;width:50px;height:40px;text-align:center;font-size:10px}.sk-wave[_ngcontent-%COMP%] .sk-rect[_ngcontent-%COMP%]{float:left;margin-right:1px;height:100%;width:6px;display:inline-block;animation:sk-waveStretchDelay 1.2s infinite ease-in-out}.sk-wave[_ngcontent-%COMP%] .sk-rect1[_ngcontent-%COMP%]{animation-delay:-1.2s}.sk-wave[_ngcontent-%COMP%] .sk-rect2[_ngcontent-%COMP%]{animation-delay:-1.1s}.sk-wave[_ngcontent-%COMP%] .sk-rect3[_ngcontent-%COMP%]{animation-delay:-1s}.sk-wave[_ngcontent-%COMP%] .sk-rect4[_ngcontent-%COMP%]{animation-delay:-.9s}.sk-wave[_ngcontent-%COMP%] .sk-rect5[_ngcontent-%COMP%]{animation-delay:-.8s}@keyframes sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}"]}),y})();const xe={skChasingDots:"sk-chasing-dots",skCubeGrid:"sk-cube-grid",skDoubleBounce:"sk-double-bounce",skRotatingPlane:"sk-rotationg-plane",skSpinnerPulse:"sk-spinner-pulse",skThreeBounce:"sk-three-bounce",skWanderingCubes:"sk-wandering-cubes",skWave:"sk-wave"};let Z=(()=>{class y{constructor(){this._pendingRequests=0,this._pendingRequestsStatus$=new J.t(1),this._filteredUrlPatterns=[],this._filteredMethods=[],this._filteredHeaders=[],this._forceByPass=!1}get pendingRequestsStatus$(){return this._pendingRequestsStatus$.asObservable()}get pendingRequests(){return this._pendingRequests}get filteredUrlPatterns(){return this._filteredUrlPatterns}set filteredMethods(o){this._filteredMethods=o}set filteredHeaders(o){this._filteredHeaders=o}set forceByPass(o){this._forceByPass=o}shouldBypassUrl(o){return this._filteredUrlPatterns.some(p=>p.test(o))}shouldBypassMethod(o){return this._filteredMethods.some(p=>p.toUpperCase()===o.method.toUpperCase())}shouldBypassHeader(o){return this._filteredHeaders.some(p=>o.headers.has(p))}shouldBypass(o){return this._forceByPass||this.shouldBypassUrl(o.urlWithParams)||this.shouldBypassMethod(o)||this.shouldBypassHeader(o)}intercept(o,p){const w=this.shouldBypass(o);return w||(this._pendingRequests++,1===this._pendingRequests&&this._pendingRequestsStatus$.next(!0)),p.handle(o).pipe((0,X.x)(()=>{w||(this._pendingRequests--,0===this._pendingRequests&&this._pendingRequestsStatus$.next(!1))}))}}return y.\u0275fac=function(o){return new(o||y)},y.\u0275prov=f.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"}),y})();const ge=[{provide:se.TP,useExisting:Z,multi:!0}];let Ue=(()=>{class y{constructor(o){this.pendingRequestsInterceptor=o,this._visibility$=new J.t(1)}get visibility$(){return this._visibility$.asObservable()}show(){this.pendingRequestsInterceptor.forceByPass=!0,this._visibility$.next(!0)}hide(){this._visibility$.next(!1),this.pendingRequestsInterceptor.forceByPass=!1}}return y.\u0275fac=function(o){return new(o||y)(f.LFG(Z))},y.\u0275prov=f.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"}),y})(),vt=(()=>{class y{constructor(o,p){this.pendingRequestsInterceptor=o,this.spinnerVisibility=p,this.spinkit=xe,this.visibleUntil=Date.now(),this.backdrop=!0,this.debounceDelay=0,this.entryComponent=null,this.extraDuration=0,this.filteredHeaders=[],this.filteredMethods=[],this.filteredUrlPatterns=[],this.minDuration=0,this.opacity=".7",this.backdropBackgroundColor="#f1f1f1",this.spinner=xe.skWave}ngOnInit(){this.initIsvisibleObservable(),this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}initIsvisibleObservable(){const[o,p]=function re(y,a,o){return[(0,Q.h)(a,o)((0,Y.Xf)(y)),(0,Q.h)($(a,o))((0,Y.Xf)(y))]}(this.pendingRequestsInterceptor.pendingRequestsStatus$,w=>w);this.isVisible$=(0,te.T)(this.pendingRequestsInterceptor.pendingRequestsStatus$.pipe((0,K.w)(()=>o.pipe(Re(()=>(0,de.H)(this.debounceDelay))))),o.pipe((0,K.w)(()=>p.pipe(Re(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe((0,Ee.x)(),(0,Ne.b)(w=>this.updateExpirationDelay(w)))}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent&&(this.spinner=null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns.length&&this.filteredUrlPatterns.forEach(o=>this.pendingRequestsInterceptor.filteredUrlPatterns.push(new RegExp(o)))}initFilteredMethods(){this.pendingRequestsInterceptor.filteredMethods=this.filteredMethods}initFilteredHeaders(){this.pendingRequestsInterceptor.filteredHeaders=this.filteredHeaders}updateExpirationDelay(o){o&&(this.visibleUntil=Date.now()+this.minDuration)}getVisibilityTimer$(){return(0,de.H)(Math.max(this.extraDuration,this.visibleUntil-Date.now()))}}return y.\u0275fac=function(o){return new(o||y)(f.Y36(Z),f.Y36(Ue))},y.\u0275cmp=f.Xpm({type:y,selectors:[["ng-http-loader"]],inputs:{backdrop:"backdrop",backgroundColor:"backgroundColor",debounceDelay:"debounceDelay",entryComponent:"entryComponent",extraDuration:"extraDuration",filteredHeaders:"filteredHeaders",filteredMethods:"filteredMethods",filteredUrlPatterns:"filteredUrlPatterns",minDuration:"minDuration",opacity:"opacity",backdropBackgroundColor:"backdropBackgroundColor",spinner:"spinner"},decls:2,vars:3,consts:[["id","spinner",3,"backdrop","opacity","ngStyle",4,"ngIf"],["id","spinner",3,"ngStyle"],[4,"ngComponentOutlet"],[3,"backgroundColor",4,"ngIf"],[3,"backgroundColor"]],template:function(o,p){1&o&&(f.YNc(0,ee,10,16,"div",0),f.ALo(1,"async")),2&o&&f.Q6J("ngIf",f.lcZ(1,1,p.isVisible$))},dependencies:[Je.$G,Je.O5,Je.PC,Oe,fe,st,pt,gt,ze,Gt,gn,Je.Ov],styles:["#spinner[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%);position:fixed;z-index:9999}#spinner.backdrop[_ngcontent-%COMP%]{top:0;left:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center;transform:none} .colored-parent, .colored>div{background-color:#333}"]}),y})(),cn=(()=>{class y{static forRoot(){return{ngModule:y,providers:[ge]}}}return y.\u0275fac=function(o){return new(o||y)},y.\u0275mod=f.oAB({type:y}),y.\u0275inj=f.cJS({imports:[Je.ez]}),y})();var An=b(1318),xn=b(8002),en=b(8252);const _n=[{path:"",loadChildren:()=>Promise.all([b.e(6),b.e(369)]).then(b.bind(b,9369)).then(y=>y.LoginModule)},{path:"menu",loadChildren:()=>Promise.all([b.e(6),b.e(397)]).then(b.bind(b,2397)).then(y=>y.MenuModule)},{path:"**",redirectTo:"",pathMatch:"full"}];let Rn=(()=>{class y{}return y.\u0275fac=function(o){return new(o||y)},y.\u0275mod=f.oAB({type:y}),y.\u0275inj=f.cJS({imports:[en.Bz.forRoot(_n,{relativeLinkResolution:"legacy"}),en.Bz]}),y})();var Nn=b(4004),ot=b(5577);let sr=(()=>{class y{constructor(o,p,w){this._router=o,this.titleService=p,this.activatedRoute=w}ngOnInit(){this.overrideDateToJsonFunction(),this._router.events.pipe((0,Q.h)(o=>o instanceof en.m2)).pipe((0,Nn.U)(()=>this.activatedRoute),(0,Nn.U)(o=>{for(;o.firstChild;)o=o.firstChild;return o}),(0,Q.h)(o=>"primary"===o.outlet),(0,ot.z)(o=>o.data)).subscribe(o=>{let p=" | Marketplace";"Dealpos x Marketplace"==o.title&&(p=""),this.titleService.setTitle(o.title+p)})}overrideDateToJsonFunction(){function o(p){return p<10?"0"+p:p}Date.prototype.toJSON=function(){return this.getFullYear()+"-"+o(this.getMonth()+1)+"-"+o(this.getDate())+"T"+o(this.getHours())+":"+o(this.getMinutes())+":"+o(this.getSeconds())+".000"}}}return y.\u0275fac=function(o){return new(o||y)(f.Y36(en.F0),f.Y36(D.Dx),f.Y36(en.gz))},y.\u0275cmp=f.Xpm({type:y,selectors:[["app-root"]],decls:2,vars:0,template:function(o,p){1&o&&f._UZ(0,"router-outlet")(1,"ng-http-loader")},dependencies:[en.lC,vt]}),y})();var tt=b(7340);function fr(y){return new f.vHH(3e3,!1)}function L(){return typeof window<"u"&&typeof window.document<"u"}function x(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function z(y){switch(y.length){case 0:return new tt.ZN;case 1:return y[0];default:return new tt.ZE(y)}}function Ie(y,a,o,p,w=new Map,A=new Map){const F=[],k=[];let ce=-1,be=null;if(p.forEach($e=>{const Qe=$e.get("offset"),Ct=Qe==ce,Dt=Ct&&be||new Map;$e.forEach((lt,ft)=>{let Bt=ft,$t=lt;if("offset"!==ft)switch(Bt=a.normalizePropertyName(Bt,F),$t){case tt.k1:$t=w.get(ft);break;case tt.l3:$t=A.get(ft);break;default:$t=a.normalizeStyleValue(ft,Bt,$t,F)}Dt.set(Bt,$t)}),Ct||k.push(Dt),be=Dt,ce=Qe}),F.length)throw function Cr(y){return new f.vHH(3502,!1)}();return k}function Ve(y,a,o,p){switch(a){case"start":y.onStart(()=>p(o&&wt(o,"start",y)));break;case"done":y.onDone(()=>p(o&&wt(o,"done",y)));break;case"destroy":y.onDestroy(()=>p(o&&wt(o,"destroy",y)))}}function wt(y,a,o){const A=Ft(y.element,y.triggerName,y.fromState,y.toState,a||y.phaseName,o.totalTime??y.totalTime,!!o.disabled),F=y._data;return null!=F&&(A._data=F),A}function Ft(y,a,o,p,w="",A=0,F){return{element:y,triggerName:a,fromState:o,toState:p,phaseName:w,totalTime:A,disabled:!!F}}function Ze(y,a,o){let p=y.get(a);return p||y.set(a,p=o),p}function ir(y){const a=y.indexOf(":");return[y.substring(1,a),y.slice(a+1)]}let or=(y,a)=>!1,Nr=(y,a,o)=>[],hr=null;function sn(y){const a=y.parentNode||y.host;return a===hr?null:a}(x()||typeof Element<"u")&&(L()?(hr=(()=>document.documentElement)(),or=(y,a)=>{for(;a;){if(a===y)return!0;a=sn(a)}return!1}):or=(y,a)=>y.contains(a),Nr=(y,a,o)=>{if(o)return Array.from(y.querySelectorAll(a));const p=y.querySelector(a);return p?[p]:[]});let tn=null,gr=!1;const Vr=or,mr=Nr;let On=(()=>{class y{validateStyleProperty(o){return function Ws(y){tn||(tn=function Ks(){return typeof document<"u"?document.body:null}()||{},gr=!!tn.style&&"WebkitAppearance"in tn.style);let a=!0;return tn.style&&!function pr(y){return"ebkit"==y.substring(1,6)}(y)&&(a=y in tn.style,!a&&gr&&(a="Webkit"+y.charAt(0).toUpperCase()+y.slice(1)in tn.style)),a}(o)}matchesElement(o,p){return!1}containsElement(o,p){return Vr(o,p)}getParentElement(o){return sn(o)}query(o,p,w){return mr(o,p,w)}computeStyle(o,p,w){return w||""}animate(o,p,w,A,F,k=[],ce){return new tt.ZN(w,A)}}return y.\u0275fac=function(o){return new(o||y)},y.\u0275prov=f.Yz7({token:y,factory:y.\u0275fac}),y})(),br=(()=>{class y{}return y.NOOP=new On,y})();const an="ng-enter",Dn="ng-leave",Wn="ng-trigger",Bn=".ng-trigger",Kn="ng-animating",mn=".ng-animating";function jn(y){if("number"==typeof y)return y;const a=y.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:Ts(parseFloat(a[1]),a[2])}function Ts(y,a){return"s"===a?1e3*y:y}function $r(y,a,o){return y.hasOwnProperty("duration")?y:function zr(y,a,o){let w,A=0,F="";if("string"==typeof y){const k=y.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===k)return a.push(fr()),{duration:0,delay:0,easing:""};w=Ts(parseFloat(k[1]),k[2]);const ce=k[3];null!=ce&&(A=Ts(parseFloat(ce),k[4]));const be=k[5];be&&(F=be)}else w=y;if(!o){let k=!1,ce=a.length;w<0&&(a.push(function Gs(){return new f.vHH(3100,!1)}()),k=!0),A<0&&(a.push(function ut(){return new f.vHH(3101,!1)}()),k=!0),k&&a.splice(ce,0,fr())}return{duration:w,delay:A,easing:F}}(y,a,o)}function Gr(y,a={}){return Object.keys(y).forEach(o=>{a[o]=y[o]}),a}function Ys(y){const a=new Map;return Object.keys(y).forEach(o=>{a.set(o,y[o])}),a}function Yn(y,a=new Map,o){if(o)for(let[p,w]of o)a.set(p,w);for(let[p,w]of y)a.set(p,w);return a}function Wr(y,a,o){return o?a+":"+o+";":""}function Ms(y){let a="";for(let o=0;o<y.style.length;o++){const p=y.style.item(o);a+=Wr(0,p,y.style.getPropertyValue(p))}for(const o in y.style)y.style.hasOwnProperty(o)&&!o.startsWith("_")&&(a+=Wr(0,Js(o),y.style[o]));y.setAttribute("style",a)}function Qn(y,a,o){y.style&&(a.forEach((p,w)=>{const A=Zs(w);o&&!o.has(w)&&o.set(w,y.style[A]),y.style[A]=p}),x()&&Ms(y))}function yr(y,a){y.style&&(a.forEach((o,p)=>{const w=Zs(p);y.style[w]=""}),x()&&Ms(y))}function is(y){return Array.isArray(y)?1==y.length?y[0]:(0,tt.vP)(y):y}const qs=new RegExp("{{\\s*(.+?)\\s*}}","g");function Di(y){let a=[];if("string"==typeof y){let o;for(;o=qs.exec(y);)a.push(o[1]);qs.lastIndex=0}return a}function Ss(y,a,o){const p=y.toString(),w=p.replace(qs,(A,F)=>{let k=a[F];return null==k&&(o.push(function V(y){return new f.vHH(3003,!1)}()),k=""),k.toString()});return w==p?y:w}function Mr(y){const a=[];let o=y.next();for(;!o.done;)a.push(o.value),o=y.next();return a}const Fr=/-+([a-z0-9])/g;function Zs(y){return y.replace(Fr,(...a)=>a[1].toUpperCase())}function Js(y){return y.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Cn(y,a,o){switch(a.type){case 7:return y.visitTrigger(a,o);case 0:return y.visitState(a,o);case 1:return y.visitTransition(a,o);case 2:return y.visitSequence(a,o);case 3:return y.visitGroup(a,o);case 4:return y.visitAnimate(a,o);case 5:return y.visitKeyframes(a,o);case 6:return y.visitStyle(a,o);case 8:return y.visitReference(a,o);case 9:return y.visitAnimateChild(a,o);case 10:return y.visitAnimateRef(a,o);case 11:return y.visitQuery(a,o);case 12:return y.visitStagger(a,o);default:throw function G(y){return new f.vHH(3004,!1)}()}}function Kr(y,a){return window.getComputedStyle(y)[a]}function ei(y,a){const o=[];return"string"==typeof y?y.split(/\s*,\s*/).forEach(p=>function Qi(y,a,o){if(":"==y[0]){const ce=function Yr(y,a){switch(y){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(o,p)=>parseFloat(p)>parseFloat(o);case":decrement":return(o,p)=>parseFloat(p)<parseFloat(o);default:return a.push(function ln(y){return new f.vHH(3016,!1)}()),"* => *"}}(y,o);if("function"==typeof ce)return void a.push(ce);y=ce}const p=y.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==p||p.length<4)return o.push(function kn(y){return new f.vHH(3015,!1)}()),a;const w=p[1],A=p[2],F=p[3];a.push(Qt(w,F));"<"==A[0]&&!("*"==w&&"*"==F)&&a.push(Qt(F,w))}(p,o,a)):o.push(y),o}const ls=new Set(["true","1"]),ti=new Set(["false","0"]);function Qt(y,a){const o=ls.has(y)||ti.has(y),p=ls.has(a)||ti.has(a);return(w,A)=>{let F="*"==y||y==w,k="*"==a||a==A;return!F&&o&&"boolean"==typeof w&&(F=w?ls.has(y):ti.has(y)),!k&&p&&"boolean"==typeof A&&(k=A?ls.has(a):ti.has(a)),F&&k}}const Zn=new RegExp("s*:selfs*,?","g");function Ir(y,a,o,p){return new ni(y).build(a,o,p)}class ni{constructor(a){this._driver=a}build(a,o,p){const w=new Tn(o);return this._resetContextStyleTimingState(w),Cn(this,is(a),w)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles=new Map,a.collectedStyles.set("",new Map),a.currentTime=0}visitTrigger(a,o){let p=o.queryCount=0,w=o.depCount=0;const A=[],F=[];return"@"==a.name.charAt(0)&&o.errors.push(function ne(){return new f.vHH(3006,!1)}()),a.definitions.forEach(k=>{if(this._resetContextStyleTimingState(o),0==k.type){const ce=k,be=ce.name;be.toString().split(/\s*,\s*/).forEach($e=>{ce.name=$e,A.push(this.visitState(ce,o))}),ce.name=be}else if(1==k.type){const ce=this.visitTransition(k,o);p+=ce.queryCount,w+=ce.depCount,F.push(ce)}else o.errors.push(function je(){return new f.vHH(3007,!1)}())}),{type:7,name:a.name,states:A,transitions:F,queryCount:p,depCount:w,options:null}}visitState(a,o){const p=this.visitStyle(a.styles,o),w=a.options&&a.options.params||null;if(p.containsDynamicStyles){const A=new Set,F=w||{};p.styles.forEach(k=>{k instanceof Map&&k.forEach(ce=>{Di(ce).forEach(be=>{F.hasOwnProperty(be)||A.add(be)})})}),A.size&&(Mr(A.values()),o.errors.push(function Ot(y,a){return new f.vHH(3008,!1)}()))}return{type:0,name:a.name,style:p,options:w?{params:w}:null}}visitTransition(a,o){o.queryCount=0,o.depCount=0;const p=Cn(this,is(a.animation),o);return{type:1,matchers:ei(a.expr,o.errors),animation:p,queryCount:o.queryCount,depCount:o.depCount,options:_(a.options)}}visitSequence(a,o){return{type:2,steps:a.steps.map(p=>Cn(this,p,o)),options:_(a.options)}}visitGroup(a,o){const p=o.currentTime;let w=0;const A=a.steps.map(F=>{o.currentTime=p;const k=Cn(this,F,o);return w=Math.max(w,o.currentTime),k});return o.currentTime=w,{type:3,steps:A,options:_(a.options)}}visitAnimate(a,o){const p=function S(y,a){if(y.hasOwnProperty("duration"))return y;if("number"==typeof y)return I($r(y,a).duration,0,"");const o=y;if(o.split(/\s+/).some(A=>"{"==A.charAt(0)&&"{"==A.charAt(1))){const A=I(0,0,"");return A.dynamic=!0,A.strValue=o,A}const w=$r(o,a);return I(w.duration,w.delay,w.easing)}(a.timings,o.errors);o.currentAnimateTimings=p;let w,A=a.styles?a.styles:(0,tt.oB)({});if(5==A.type)w=this.visitKeyframes(A,o);else{let F=a.styles,k=!1;if(!F){k=!0;const be={};p.easing&&(be.easing=p.easing),F=(0,tt.oB)(be)}o.currentTime+=p.duration+p.delay;const ce=this.visitStyle(F,o);ce.isEmptyStep=k,w=ce}return o.currentAnimateTimings=null,{type:4,timings:p,style:w,options:null}}visitStyle(a,o){const p=this._makeStyleAst(a,o);return this._validateStyleAst(p,o),p}_makeStyleAst(a,o){const p=[],w=Array.isArray(a.styles)?a.styles:[a.styles];for(let k of w)"string"==typeof k?k===tt.l3?p.push(k):o.errors.push(new f.vHH(3002,!1)):p.push(Ys(k));let A=!1,F=null;return p.forEach(k=>{if(k instanceof Map&&(k.has("easing")&&(F=k.get("easing"),k.delete("easing")),!A))for(let ce of k.values())if(ce.toString().indexOf("{{")>=0){A=!0;break}}),{type:6,styles:p,easing:F,offset:a.offset,containsDynamicStyles:A,options:null}}_validateStyleAst(a,o){const p=o.currentAnimateTimings;let w=o.currentTime,A=o.currentTime;p&&A>0&&(A-=p.duration+p.delay),a.styles.forEach(F=>{"string"!=typeof F&&F.forEach((k,ce)=>{const be=o.collectedStyles.get(o.currentQuerySelector),$e=be.get(ce);let Qe=!0;$e&&(A!=w&&A>=$e.startTime&&w<=$e.endTime&&(o.errors.push(function Nt(y,a,o,p,w){return new f.vHH(3010,!1)}()),Qe=!1),A=$e.startTime),Qe&&be.set(ce,{startTime:A,endTime:w}),o.options&&function Qs(y,a,o){const p=a.params||{},w=Di(y);w.length&&w.forEach(A=>{p.hasOwnProperty(A)||o.push(function we(y){return new f.vHH(3001,!1)}())})}(k,o.options,o.errors)})})}visitKeyframes(a,o){const p={type:5,styles:[],options:null};if(!o.currentAnimateTimings)return o.errors.push(function zt(){return new f.vHH(3011,!1)}()),p;let A=0;const F=[];let k=!1,ce=!1,be=0;const $e=a.steps.map($t=>{const d=this._makeStyleAst($t,o);let c=null!=d.offset?d.offset:function v(y){if("string"==typeof y)return null;let a=null;if(Array.isArray(y))y.forEach(o=>{if(o instanceof Map&&o.has("offset")){const p=o;a=parseFloat(p.get("offset")),p.delete("offset")}});else if(y instanceof Map&&y.has("offset")){const o=y;a=parseFloat(o.get("offset")),o.delete("offset")}return a}(d.styles),u=0;return null!=c&&(A++,u=d.offset=c),ce=ce||u<0||u>1,k=k||u<be,be=u,F.push(u),d});ce&&o.errors.push(function fn(){return new f.vHH(3012,!1)}()),k&&o.errors.push(function Mt(){return new f.vHH(3200,!1)}());const Qe=a.steps.length;let Ct=0;A>0&&A<Qe?o.errors.push(function ct(){return new f.vHH(3202,!1)}()):0==A&&(Ct=1/(Qe-1));const Dt=Qe-1,lt=o.currentTime,ft=o.currentAnimateTimings,Bt=ft.duration;return $e.forEach(($t,d)=>{const c=Ct>0?d==Dt?1:Ct*d:F[d],u=c*Bt;o.currentTime=lt+ft.delay+u,ft.duration=u,this._validateStyleAst($t,o),$t.offset=c,p.styles.push($t)}),p}visitReference(a,o){return{type:8,animation:Cn(this,is(a.animation),o),options:_(a.options)}}visitAnimateChild(a,o){return o.depCount++,{type:9,options:_(a.options)}}visitAnimateRef(a,o){return{type:10,animation:this.visitReference(a.animation,o),options:_(a.options)}}visitQuery(a,o){const p=o.currentQuerySelector,w=a.options||{};o.queryCount++,o.currentQuery=a;const[A,F]=function Ps(y){const a=!!y.split(/\s*,\s*/).find(o=>":self"==o);return a&&(y=y.replace(Zn,"")),y=y.replace(/@\*/g,Bn).replace(/@\w+/g,o=>Bn+"-"+o.slice(1)).replace(/:animating/g,mn),[y,a]}(a.selector);o.currentQuerySelector=p.length?p+" "+A:A,Ze(o.collectedStyles,o.currentQuerySelector,new Map);const k=Cn(this,is(a.animation),o);return o.currentQuery=null,o.currentQuerySelector=p,{type:11,selector:A,limit:w.limit||0,optional:!!w.optional,includeSelf:F,animation:k,originalSelector:a.selector,options:_(a.options)}}visitStagger(a,o){o.currentQuery||o.errors.push(function nt(){return new f.vHH(3013,!1)}());const p="full"===a.timings?{duration:0,delay:0,easing:"full"}:$r(a.timings,o.errors,!0);return{type:12,animation:Cn(this,is(a.animation),o),timings:p,options:null}}}class Tn{constructor(a){this.errors=a,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set,this.nonAnimatableCSSPropertiesFound=new Set}}function _(y){return y?(y=Gr(y)).params&&(y.params=function _r(y){return y?Gr(y):null}(y.params)):y={},y}function I(y,a,o){return{duration:y,delay:a,easing:o}}function U(y,a,o,p,w,A,F=null,k=!1){return{type:1,element:y,keyframes:a,preStyleProps:o,postStyleProps:p,duration:w,delay:A,totalTime:w+A,easing:F,subTimeline:k}}class ve{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,o){let p=this._map.get(a);p||this._map.set(a,p=[]),p.push(...o)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const kt=new RegExp(":enter","g"),Ut=new RegExp(":leave","g");function St(y,a,o,p,w,A=new Map,F=new Map,k,ce,be=[]){return(new un).buildKeyframes(y,a,o,p,w,A,F,k,ce,be)}class un{buildKeyframes(a,o,p,w,A,F,k,ce,be,$e=[]){be=be||new ve;const Qe=new qt(a,o,be,w,A,$e,[]);Qe.options=ce;const Ct=ce.delay?jn(ce.delay):0;Qe.currentTimeline.delayNextStep(Ct),Qe.currentTimeline.setStyles([F],null,Qe.errors,ce),Cn(this,p,Qe);const Dt=Qe.timelines.filter(lt=>lt.containsAnimation());if(Dt.length&&k.size){let lt;for(let ft=Dt.length-1;ft>=0;ft--){const Bt=Dt[ft];if(Bt.element===o){lt=Bt;break}}lt&&!lt.allowOnlyTimelineStyles()&<.setStyles([k],null,Qe.errors,ce)}return Dt.length?Dt.map(lt=>lt.buildKeyframes()):[U(o,[],[],[],0,Ct,"",!1)]}visitTrigger(a,o){}visitState(a,o){}visitTransition(a,o){}visitAnimateChild(a,o){const p=o.subInstructions.get(o.element);if(p){const w=o.createSubContext(a.options),A=o.currentTimeline.currentTime,F=this._visitSubInstructions(p,w,w.options);A!=F&&o.transformIntoNewTimeline(F)}o.previousNode=a}visitAnimateRef(a,o){const p=o.createSubContext(a.options);p.transformIntoNewTimeline(),this.visitReference(a.animation,p),o.transformIntoNewTimeline(p.currentTimeline.currentTime),o.previousNode=a}_visitSubInstructions(a,o,p){let A=o.currentTimeline.currentTime;const F=null!=p.duration?jn(p.duration):null,k=null!=p.delay?jn(p.delay):null;return 0!==F&&a.forEach(ce=>{const be=o.appendInstructionToTimeline(ce,F,k);A=Math.max(A,be.duration+be.delay)}),A}visitReference(a,o){o.updateOptions(a.options,!0),Cn(this,a.animation,o),o.previousNode=a}visitSequence(a,o){const p=o.subContextCount;let w=o;const A=a.options;if(A&&(A.params||A.delay)&&(w=o.createSubContext(A),w.transformIntoNewTimeline(),null!=A.delay)){6==w.previousNode.type&&(w.currentTimeline.snapshotCurrentStyles(),w.previousNode=Lt);const F=jn(A.delay);w.delayNextStep(F)}a.steps.length&&(a.steps.forEach(F=>Cn(this,F,w)),w.currentTimeline.applyStylesToKeyframe(),w.subContextCount>p&&w.transformIntoNewTimeline()),o.previousNode=a}visitGroup(a,o){const p=[];let w=o.currentTimeline.currentTime;const A=a.options&&a.options.delay?jn(a.options.delay):0;a.steps.forEach(F=>{const k=o.createSubContext(a.options);A&&k.delayNextStep(A),Cn(this,F,k),w=Math.max(w,k.currentTimeline.currentTime),p.push(k.currentTimeline)}),p.forEach(F=>o.currentTimeline.mergeTimelineCollectedStyles(F)),o.transformIntoNewTimeline(w),o.previousNode=a}_visitTiming(a,o){if(a.dynamic){const p=a.strValue;return $r(o.params?Ss(p,o.params,o.errors):p,o.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,o){const p=o.currentAnimateTimings=this._visitTiming(a.timings,o),w=o.currentTimeline;p.delay&&(o.incrementTime(p.delay),w.snapshotCurrentStyles());const A=a.style;5==A.type?this.visitKeyframes(A,o):(o.incrementTime(p.duration),this.visitStyle(A,o),w.applyStylesToKeyframe()),o.currentAnimateTimings=null,o.previousNode=a}visitStyle(a,o){const p=o.currentTimeline,w=o.currentAnimateTimings;!w&&p.hasCurrentStyleProperties()&&p.forwardFrame();const A=w&&w.easing||a.easing;a.isEmptyStep?p.applyEmptyStep(A):p.setStyles(a.styles,A,o.errors,o.options),o.previousNode=a}visitKeyframes(a,o){const p=o.currentAnimateTimings,w=o.currentTimeline.duration,A=p.duration,k=o.createSubContext().currentTimeline;k.easing=p.easing,a.styles.forEach(ce=>{k.forwardTime((ce.offset||0)*A),k.setStyles(ce.styles,ce.easing,o.errors,o.options),k.applyStylesToKeyframe()}),o.currentTimeline.mergeTimelineCollectedStyles(k),o.transformIntoNewTimeline(w+A),o.previousNode=a}visitQuery(a,o){const p=o.currentTimeline.currentTime,w=a.options||{},A=w.delay?jn(w.delay):0;A&&(6===o.previousNode.type||0==p&&o.currentTimeline.hasCurrentStyleProperties())&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Lt);let F=p;const k=o.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!w.optional,o.errors);o.currentQueryTotal=k.length;let ce=null;k.forEach((be,$e)=>{o.currentQueryIndex=$e;const Qe=o.createSubContext(a.options,be);A&&Qe.delayNextStep(A),be===o.element&&(ce=Qe.currentTimeline),Cn(this,a.animation,Qe),Qe.currentTimeline.applyStylesToKeyframe(),F=Math.max(F,Qe.currentTimeline.currentTime)}),o.currentQueryIndex=0,o.currentQueryTotal=0,o.transformIntoNewTimeline(F),ce&&(o.currentTimeline.mergeTimelineCollectedStyles(ce),o.currentTimeline.snapshotCurrentStyles()),o.previousNode=a}visitStagger(a,o){const p=o.parentContext,w=o.currentTimeline,A=a.timings,F=Math.abs(A.duration),k=F*(o.currentQueryTotal-1);let ce=F*o.currentQueryIndex;switch(A.duration<0?"reverse":A.easing){case"reverse":ce=k-ce;break;case"full":ce=p.currentStaggerTime}const $e=o.currentTimeline;ce&&$e.delayNextStep(ce);const Qe=$e.currentTime;Cn(this,a.animation,o),o.previousNode=a,p.currentStaggerTime=w.currentTime-Qe+(w.startTime-p.currentTimeline.startTime)}}const Lt={};class qt{constructor(a,o,p,w,A,F,k,ce){this._driver=a,this.element=o,this.subInstructions=p,this._enterClassName=w,this._leaveClassName=A,this.errors=F,this.timelines=k,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Lt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ce||new Se(this._driver,o,0),k.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,o){if(!a)return;const p=a;let w=this.options;null!=p.duration&&(w.duration=jn(p.duration)),null!=p.delay&&(w.delay=jn(p.delay));const A=p.params;if(A){let F=w.params;F||(F=this.options.params={}),Object.keys(A).forEach(k=>{(!o||!F.hasOwnProperty(k))&&(F[k]=Ss(A[k],F,this.errors))})}}_copyOptions(){const a={};if(this.options){const o=this.options.params;if(o){const p=a.params={};Object.keys(o).forEach(w=>{p[w]=o[w]})}}return a}createSubContext(a=null,o,p){const w=o||this.element,A=new qt(this._driver,w,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(w,p||0));return A.previousNode=this.previousNode,A.currentAnimateTimings=this.currentAnimateTimings,A.options=this._copyOptions(),A.updateOptions(a),A.currentQueryIndex=this.currentQueryIndex,A.currentQueryTotal=this.currentQueryTotal,A.parentContext=this,this.subContextCount++,A}transformIntoNewTimeline(a){return this.previousNode=Lt,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,o,p){const w={duration:o??a.duration,delay:this.currentTimeline.currentTime+(p??0)+a.delay,easing:""},A=new _t(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,w,a.stretchStartingKeyframe);return this.timelines.push(A),w}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,o,p,w,A,F){let k=[];if(w&&k.push(this.element),a.length>0){a=(a=a.replace(kt,"."+this._enterClassName)).replace(Ut,"."+this._leaveClassName);let be=this._driver.query(this.element,a,1!=p);0!==p&&(be=p<0?be.slice(be.length+p,be.length):be.slice(0,p)),k.push(...be)}return!A&&0==k.length&&F.push(function Fn(y){return new f.vHH(3014,!1)}()),k}}class Se{constructor(a,o,p,w){this._driver=a,this.element=o,this.startTime=p,this._elementTimelineStylesLookup=w,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(o),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(o,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(a){const o=1===this._keyframes.size&&this._pendingStyles.size;this.duration||o?(this.forwardTime(this.currentTime+a),o&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,o){return this.applyStylesToKeyframe(),new Se(this._driver,a,o||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,o){this._localTimelineStyles.set(a,o),this._globalTimelineStyles.set(a,o),this._styleSummary.set(a,{time:this.currentTime,value:o})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&this._previousKeyframe.set("easing",a);for(let[o,p]of this._globalTimelineStyles)this._backFill.set(o,p||tt.l3),this._currentKeyframe.set(o,tt.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,o,p,w){o&&this._previousKeyframe.set("easing",o);const A=w&&w.params||{},F=function Jn(y,a){const o=new Map;let p;return y.forEach(w=>{if("*"===w){p=p||a.keys();for(let A of p)o.set(A,tt.l3)}else Yn(w,o)}),o}(a,this._globalTimelineStyles);for(let[k,ce]of F){const be=Ss(ce,A,p);this._pendingStyles.set(k,be),this._localTimelineStyles.has(k)||this._backFill.set(k,this._globalTimelineStyles.get(k)||tt.l3),this._updateStyle(k,be)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((a,o)=>{this._currentKeyframe.set(o,a)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((a,o)=>{this._currentKeyframe.has(o)||this._currentKeyframe.set(o,a)}))}snapshotCurrentStyles(){for(let[a,o]of this._localTimelineStyles)this._pendingStyles.set(a,o),this._updateStyle(a,o)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let o in this._currentKeyframe)a.push(o);return a}mergeTimelineCollectedStyles(a){a._styleSummary.forEach((o,p)=>{const w=this._styleSummary.get(p);(!w||o.time>w.time)&&this._updateStyle(p,o.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,o=new Set,p=1===this._keyframes.size&&0===this.duration;let w=[];this._keyframes.forEach((k,ce)=>{const be=Yn(k,new Map,this._backFill);be.forEach(($e,Qe)=>{$e===tt.k1?a.add(Qe):$e===tt.l3&&o.add(Qe)}),p||be.set("offset",ce/this.duration),w.push(be)});const A=a.size?Mr(a.values()):[],F=o.size?Mr(o.values()):[];if(p){const k=w[0],ce=new Map(k);k.set("offset",0),ce.set("offset",1),w=[k,ce]}return U(this.element,w,A,F,this.duration,this.startTime,this.easing,!1)}}class _t extends Se{constructor(a,o,p,w,A,F,k=!1){super(a,o,F.delay),this.keyframes=p,this.preStyleProps=w,this.postStyleProps=A,this._stretchStartingKeyframe=k,this.timings={duration:F.duration,delay:F.delay,easing:F.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:o,duration:p,easing:w}=this.timings;if(this._stretchStartingKeyframe&&o){const A=[],F=p+o,k=o/F,ce=Yn(a[0]);ce.set("offset",0),A.push(ce);const be=Yn(a[0]);be.set("offset",lr(k)),A.push(be);const $e=a.length-1;for(let Qe=1;Qe<=$e;Qe++){let Ct=Yn(a[Qe]);const Dt=Ct.get("offset");Ct.set("offset",lr((o+Dt*p)/F)),A.push(Ct)}p=F,o=0,w="",a=A}return U(this.element,a,this.preStyleProps,this.postStyleProps,p,o,w,!0)}}function lr(y,a=3){const o=Math.pow(10,a-1);return Math.round(y*o)/o}class Xn{}const Dr=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class wi extends Xn{normalizePropertyName(a,o){return Zs(a)}normalizeStyleValue(a,o,p,w){let A="";const F=p.toString().trim();if(Dr.has(o)&&0!==p&&"0"!==p)if("number"==typeof p)A="px";else{const k=p.match(/^[+-]?[\d\.]+([a-z]*)$/);k&&0==k[1].length&&w.push(function Te(y,a){return new f.vHH(3005,!1)}())}return F+A}}function ri(y,a,o,p,w,A,F,k,ce,be,$e,Qe,Ct){return{type:0,element:y,triggerName:a,isRemovalTransition:w,fromState:o,fromStyles:A,toState:p,toStyles:F,timelines:k,queriedElements:ce,preStyleProps:be,postStyleProps:$e,totalTime:Qe,errors:Ct}}const qi={};class Zi{constructor(a,o,p){this._triggerName=a,this.ast=o,this._stateStyles=p}match(a,o,p,w){return function Ji(y,a,o,p,w){return y.some(A=>A(a,o,p,w))}(this.ast.matchers,a,o,p,w)}buildStyles(a,o,p){let w=this._stateStyles.get("*");return void 0!==a&&(w=this._stateStyles.get(a?.toString())||w),w?w.buildStyles(o,p):new Map}build(a,o,p,w,A,F,k,ce,be,$e){const Qe=[],Ct=this.ast.options&&this.ast.options.params||qi,lt=this.buildStyles(p,k&&k.params||qi,Qe),ft=ce&&ce.params||qi,Bt=this.buildStyles(w,ft,Qe),$t=new Set,d=new Map,c=new Map,u="void"===w,m={params:si(ft,Ct),delay:this.ast.options?.delay},C=$e?[]:St(a,o,this.ast.animation,A,F,lt,Bt,m,be,Qe);let M=0;if(C.forEach(j=>{M=Math.max(j.duration+j.delay,M)}),Qe.length)return ri(o,this._triggerName,p,w,u,lt,Bt,[],[],d,c,M,Qe);C.forEach(j=>{const _e=j.element,We=Ze(d,_e,new Set);j.preStyleProps.forEach(He=>We.add(He));const Tt=Ze(c,_e,new Set);j.postStyleProps.forEach(He=>Tt.add(He)),_e!==o&&$t.add(_e)});const R=Mr($t.values());return ri(o,this._triggerName,p,w,u,lt,Bt,C,R,d,c,M)}}function si(y,a){const o=Gr(a);for(const p in y)y.hasOwnProperty(p)&&null!=y[p]&&(o[p]=y[p]);return o}class wn{constructor(a,o,p){this.styles=a,this.defaultParams=o,this.normalizer=p}buildStyles(a,o){const p=new Map,w=Gr(this.defaultParams);return Object.keys(a).forEach(A=>{const F=a[A];null!==F&&(w[A]=F)}),this.styles.styles.forEach(A=>{"string"!=typeof A&&A.forEach((F,k)=>{F&&(F=Ss(F,w,o));const ce=this.normalizer.normalizePropertyName(k,o);F=this.normalizer.normalizeStyleValue(k,ce,F,o),p.set(ce,F)})}),p}}class Xi{constructor(a,o,p){this.name=a,this.ast=o,this._normalizer=p,this.transitionFactories=[],this.states=new Map,o.states.forEach(w=>{this.states.set(w.name,new wn(w.style,w.options&&w.options.params||{},p))}),Un(this.states,"true","1"),Un(this.states,"false","0"),o.transitions.forEach(w=>{this.transitionFactories.push(new Zi(a,w,this.states))}),this.fallbackTransition=function us(y,a,o){return new Zi(y,{type:1,animation:{type:2,steps:[],options:null},matchers:[(F,k)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,o,p,w){return this.transitionFactories.find(F=>F.match(a,o,p,w))||null}matchStyles(a,o,p){return this.fallbackTransition.buildStyles(a,o,p)}}function Un(y,a,o){y.has(a)?y.has(o)||y.set(o,y.get(a)):y.has(o)&&y.set(a,y.get(o))}const Os=new ve;class eo{constructor(a,o,p){this.bodyNode=a,this._driver=o,this._normalizer=p,this._animations=new Map,this._playersById=new Map,this.players=[]}register(a,o){const p=[],A=Ir(this._driver,o,p,[]);if(p.length)throw function xr(y){return new f.vHH(3503,!1)}();this._animations.set(a,A)}_buildPlayer(a,o,p){const w=a.element,A=Ie(0,this._normalizer,0,a.keyframes,o,p);return this._driver.animate(w,A,a.duration,a.delay,a.easing,[],!0)}create(a,o,p={}){const w=[],A=this._animations.get(a);let F;const k=new Map;if(A?(F=St(this._driver,o,A,an,Dn,new Map,new Map,p,Os,w),F.forEach($e=>{const Qe=Ze(k,$e.element,new Map);$e.postStyleProps.forEach(Ct=>Qe.set(Ct,null))})):(w.push(function Rr(){return new f.vHH(3300,!1)}()),F=[]),w.length)throw function ss(y){return new f.vHH(3504,!1)}();k.forEach(($e,Qe)=>{$e.forEach((Ct,Dt)=>{$e.set(Dt,this._driver.computeStyle(Qe,Dt,tt.l3))})});const be=z(F.map($e=>{const Qe=k.get($e.element);return this._buildPlayer($e,new Map,Qe)}));return this._playersById.set(a,be),be.onDestroy(()=>this.destroy(a)),this.players.push(be),be}destroy(a){const o=this._getPlayer(a);o.destroy(),this._playersById.delete(a);const p=this.players.indexOf(o);p>=0&&this.players.splice(p,1)}_getPlayer(a){const o=this._playersById.get(a);if(!o)throw function Er(y){return new f.vHH(3301,!1)}();return o}listen(a,o,p,w){const A=Ft(o,"","","");return Ve(this._getPlayer(a),p,A,w),()=>{}}command(a,o,p,w){if("register"==p)return void this.register(a,w[0]);if("create"==p)return void this.create(a,o,w[0]||{});const A=this._getPlayer(a);switch(p){case"play":A.play();break;case"pause":A.pause();break;case"reset":A.reset();break;case"restart":A.restart();break;case"finish":A.finish();break;case"init":A.init();break;case"setPosition":A.setPosition(parseFloat(w[0]));break;case"destroy":this.destroy(a)}}}const to="ng-animate-queued",Rs="ng-animate-disabled",Uo=[],Mi={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Si={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Vn="__ng_removed";class cs{constructor(a,o=""){this.namespaceId=o;const p=a&&a.hasOwnProperty("value");if(this.value=function Lr(y){return y??null}(p?a.value:a),p){const A=Gr(a);delete A.value,this.options=A}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(a){const o=a.params;if(o){const p=this.options.params;Object.keys(o).forEach(w=>{null==p[w]&&(p[w]=o[w])})}}}const ds="void",Ns=new cs(ds);class Ii{constructor(a,o,p){this.id=a,this.hostElement=o,this._engine=p,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,$n(o,this._hostClassName)}listen(a,o,p,w){if(!this._triggers.has(o))throw function It(y,a){return new f.vHH(3302,!1)}();if(null==p||0==p.length)throw function at(y){return new f.vHH(3303,!1)}();if(!function $o(y){return"start"==y||"done"==y}(p))throw function Yt(y,a){return new f.vHH(3400,!1)}();const A=Ze(this._elementListeners,a,[]),F={name:o,phase:p,callback:w};A.push(F);const k=Ze(this._engine.statesByElement,a,new Map);return k.has(o)||($n(a,Wn),$n(a,Wn+"-"+o),k.set(o,Ns)),()=>{this._engine.afterFlush(()=>{const ce=A.indexOf(F);ce>=0&&A.splice(ce,1),this._triggers.has(o)||k.delete(o)})}}register(a,o){return!this._triggers.has(a)&&(this._triggers.set(a,o),!0)}_getTrigger(a){const o=this._triggers.get(a);if(!o)throw function hn(y){return new f.vHH(3401,!1)}();return o}trigger(a,o,p,w=!0){const A=this._getTrigger(o),F=new Ai(this.id,o,a);let k=this._engine.statesByElement.get(a);k||($n(a,Wn),$n(a,Wn+"-"+o),this._engine.statesByElement.set(a,k=new Map));let ce=k.get(o);const be=new cs(p,this.id);if(!(p&&p.hasOwnProperty("value"))&&ce&&be.absorbOptions(ce.options),k.set(o,be),ce||(ce=Ns),be.value!==ds&&ce.value===be.value){if(!function xi(y,a){const o=Object.keys(y),p=Object.keys(a);if(o.length!=p.length)return!1;for(let w=0;w<o.length;w++){const A=o[w];if(!a.hasOwnProperty(A)||y[A]!==a[A])return!1}return!0}(ce.params,be.params)){const ft=[],Bt=A.matchStyles(ce.value,ce.params,ft),$t=A.matchStyles(be.value,be.params,ft);ft.length?this._engine.reportError(ft):this._engine.afterFlush(()=>{yr(a,Bt),Qn(a,$t)})}return}const Ct=Ze(this._engine.playersByElement,a,[]);Ct.forEach(ft=>{ft.namespaceId==this.id&&ft.triggerName==o&&ft.queued&&ft.destroy()});let Dt=A.matchTransition(ce.value,be.value,a,be.params),lt=!1;if(!Dt){if(!w)return;Dt=A.fallbackTransition,lt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:o,transition:Dt,fromState:ce,toState:be,player:F,isFallbackTransition:lt}),lt||($n(a,to),F.onStart(()=>{Qr(a,to)})),F.onDone(()=>{let ft=this.players.indexOf(F);ft>=0&&this.players.splice(ft,1);const Bt=this._engine.playersByElement.get(a);if(Bt){let $t=Bt.indexOf(F);$t>=0&&Bt.splice($t,1)}}),this.players.push(F),Ct.push(F),F}deregister(a){this._triggers.delete(a),this._engine.statesByElement.forEach(o=>o.delete(a)),this._elementListeners.forEach((o,p)=>{this._elementListeners.set(p,o.filter(w=>w.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const o=this._engine.playersByElement.get(a);o&&(o.forEach(p=>p.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,o){const p=this._engine.driver.query(a,Bn,!0),w=a.shadowRoot?this._engine.driver.query(a.shadowRoot,Bn,!0):[];[...p,...w].forEach(A=>{if(A[Vn])return;const F=this._engine.fetchNamespacesByElement(A);F.size?F.forEach(k=>k.triggerLeaveAnimation(A,o,!1,!0)):this.clearElementCache(A)}),this._engine.afterFlushAnimationsDone(()=>p.forEach(A=>this.clearElementCache(A)))}triggerLeaveAnimation(a,o,p,w){const A=this._engine.statesByElement.get(a),F=new Map;if(A){const k=[];if(A.forEach((ce,be)=>{if(F.set(be,ce.value),this._triggers.has(be)){const $e=this.trigger(a,be,ds,w);$e&&k.push($e)}}),k.length)return this._engine.markElementAsRemoved(this.id,a,!0,o,F),p&&z(k).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const o=this._elementListeners.get(a),p=this._engine.statesByElement.get(a);if(o&&p){const w=new Set;o.forEach(A=>{const F=A.name;if(w.has(F))return;w.add(F);const ce=this._triggers.get(F).fallbackTransition,be=p.get(F)||Ns,$e=new cs(ds),Qe=new Ai(this.id,F,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:F,transition:ce,fromState:be,toState:$e,player:Qe,isFallbackTransition:!0})})}}removeNode(a,o){const p=this._engine;if((!!a.childElementCount||!(!a.shadowRoot||!a.shadowRoot.childElementCount))&&this._signalRemovalForInnerTriggers(a,o),this.triggerLeaveAnimation(a,o,!0))return;let F=!1;if(p.totalAnimations){const k=p.players.length?p.playersByQueriedElement.get(a):[];if(k&&k.length)F=!0;else{let ce=a;for(;ce=ce.parentNode;)if(p.statesByElement.get(ce)){F=!0;break}}}if(this.prepareLeaveAnimationListeners(a),F)p.markElementAsRemoved(this.id,a,!1,o);else{const k=a[Vn];(!k||k===Mi)&&(p.afterFlush(()=>this.clearElementCache(a)),p.destroyInnerAnimations(a),p._onRemovalComplete(a,o))}}insertNode(a,o){$n(a,this._hostClassName)}drainQueuedTransitions(a){const o=[];return this._queue.forEach(p=>{const w=p.player;if(w.destroyed)return;const A=p.element,F=this._elementListeners.get(A);F&&F.forEach(k=>{if(k.name==p.triggerName){const ce=Ft(A,p.triggerName,p.fromState.value,p.toState.value);ce._data=a,Ve(p.player,k.phase,ce,k.callback)}}),w.markedForDestroy?this._engine.afterFlush(()=>{w.destroy()}):o.push(p)}),this._queue=[],o.sort((p,w)=>{const A=p.transition.ast.depCount,F=w.transition.ast.depCount;return 0==A||0==F?A-F:this._engine.driver.containsElement(p.element,w.element)?1:-1})}destroy(a){this.players.forEach(o=>o.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}elementContainsData(a){let o=!1;return this._elementListeners.has(a)&&(o=!0),o=!!this._queue.find(p=>p.element===a)||o,o}}class Vo{constructor(a,o,p){this.bodyNode=a,this.driver=o,this._normalizer=p,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(w,A)=>{}}_onRemovalComplete(a,o){this.onRemovalComplete(a,o)}get queuedPlayers(){const a=[];return this._namespaceList.forEach(o=>{o.players.forEach(p=>{p.queued&&a.push(p)})}),a}createNamespace(a,o){const p=new Ii(a,o,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,o)?this._balanceNamespaceList(p,o):(this.newHostElements.set(o,p),this.collectEnterElement(o)),this._namespaceLookup[a]=p}_balanceNamespaceList(a,o){const p=this._namespaceList,w=this.namespacesByHostElement;if(p.length-1>=0){let F=!1,k=this.driver.getParentElement(o);for(;k;){const ce=w.get(k);if(ce){const be=p.indexOf(ce);p.splice(be+1,0,a),F=!0;break}k=this.driver.getParentElement(k)}F||p.unshift(a)}else p.push(a);return w.set(o,a),a}register(a,o){let p=this._namespaceLookup[a];return p||(p=this.createNamespace(a,o)),p}registerTrigger(a,o,p){let w=this._namespaceLookup[a];w&&w.register(o,p)&&this.totalAnimations++}destroy(a,o){if(!a)return;const p=this._fetchNamespace(a);this.afterFlush(()=>{this.namespacesByHostElement.delete(p.hostElement),delete this._namespaceLookup[a];const w=this._namespaceList.indexOf(p);w>=0&&this._namespaceList.splice(w,1)}),this.afterFlushAnimationsDone(()=>p.destroy(o))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const o=new Set,p=this.statesByElement.get(a);if(p)for(let w of p.values())if(w.namespaceId){const A=this._fetchNamespace(w.namespaceId);A&&o.add(A)}return o}trigger(a,o,p,w){if(Vt(o)){const A=this._fetchNamespace(a);if(A)return A.trigger(o,p,w),!0}return!1}insertNode(a,o,p,w){if(!Vt(o))return;const A=o[Vn];if(A&&A.setForRemoval){A.setForRemoval=!1,A.setForMove=!0;const F=this.collectedLeaveElements.indexOf(o);F>=0&&this.collectedLeaveElements.splice(F,1)}if(a){const F=this._fetchNamespace(a);F&&F.insertNode(o,p)}w&&this.collectEnterElement(o)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,o){o?this.disabledNodes.has(a)||(this.disabledNodes.add(a),$n(a,Rs)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),Qr(a,Rs))}removeNode(a,o,p,w){if(Vt(o)){const A=a?this._fetchNamespace(a):null;if(A?A.removeNode(o,w):this.markElementAsRemoved(a,o,!1,w),p){const F=this.namespacesByHostElement.get(o);F&&F.id!==a&&F.removeNode(o,w)}}else this._onRemovalComplete(o,w)}markElementAsRemoved(a,o,p,w,A){this.collectedLeaveElements.push(o),o[Vn]={namespaceId:a,setForRemoval:w,hasAnimation:p,removedBeforeQueried:!1,previousTriggersValues:A}}listen(a,o,p,w,A){return Vt(o)?this._fetchNamespace(a).listen(o,p,w,A):()=>{}}_buildInstruction(a,o,p,w,A){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,p,w,a.fromState.options,a.toState.options,o,A)}destroyInnerAnimations(a){let o=this.driver.query(a,Bn,!0);o.forEach(p=>this.destroyActiveAnimationsForElement(p)),0!=this.playersByQueriedElement.size&&(o=this.driver.query(a,mn,!0),o.forEach(p=>this.finishActiveQueriedAnimationOnElement(p)))}destroyActiveAnimationsForElement(a){const o=this.playersByElement.get(a);o&&o.forEach(p=>{p.queued?p.markedForDestroy=!0:p.destroy()})}finishActiveQueriedAnimationOnElement(a){const o=this.playersByQueriedElement.get(a);o&&o.forEach(p=>p.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return z(this.players).onDone(()=>a());a()})}processLeaveNode(a){const o=a[Vn];if(o&&o.setForRemoval){if(a[Vn]=Mi,o.namespaceId){this.destroyInnerAnimations(a);const p=this._fetchNamespace(o.namespaceId);p&&p.clearElementCache(a)}this._onRemovalComplete(a,o.setForRemoval)}a.classList?.contains(Rs)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(p=>{this.markElementAsDisabled(p,!1)})}flush(a=-1){let o=[];if(this.newHostElements.size&&(this.newHostElements.forEach((p,w)=>this._balanceNamespaceList(p,w)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let p=0;p<this.collectedEnterElements.length;p++)$n(this.collectedEnterElements[p],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const p=[];try{o=this._flushAnimations(p,a)}finally{for(let w=0;w<p.length;w++)p[w]()}}else for(let p=0;p<this.collectedLeaveElements.length;p++)this.processLeaveNode(this.collectedLeaveElements[p]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(p=>p()),this._flushFns=[],this._whenQuietFns.length){const p=this._whenQuietFns;this._whenQuietFns=[],o.length?z(o).onDone(()=>{p.forEach(w=>w())}):p.forEach(w=>w())}}reportError(a){throw function Wt(y){return new f.vHH(3402,!1)}()}_flushAnimations(a,o){const p=new ve,w=[],A=new Map,F=[],k=new Map,ce=new Map,be=new Map,$e=new Set;this.disabledNodes.forEach(qe=>{$e.add(qe);const it=this.driver.query(qe,".ng-animate-queued",!0);for(let Xe=0;Xe<it.length;Xe++)$e.add(it[Xe])});const Qe=this.bodyNode,Ct=Array.from(this.statesByElement.keys()),Dt=Oi(Ct,this.collectedEnterElements),lt=new Map;let ft=0;Dt.forEach((qe,it)=>{const Xe=an+ft++;lt.set(it,Xe),qe.forEach(Et=>$n(Et,Xe))});const Bt=[],$t=new Set,d=new Set;for(let qe=0;qe<this.collectedLeaveElements.length;qe++){const it=this.collectedLeaveElements[qe],Xe=it[Vn];Xe&&Xe.setForRemoval&&(Bt.push(it),$t.add(it),Xe.hasAnimation?this.driver.query(it,".ng-star-inserted",!0).forEach(Et=>$t.add(Et)):d.add(it))}const c=new Map,u=Oi(Ct,Array.from($t));u.forEach((qe,it)=>{const Xe=Dn+ft++;c.set(it,Xe),qe.forEach(Et=>$n(Et,Xe))}),a.push(()=>{Dt.forEach((qe,it)=>{const Xe=lt.get(it);qe.forEach(Et=>Qr(Et,Xe))}),u.forEach((qe,it)=>{const Xe=c.get(it);qe.forEach(Et=>Qr(Et,Xe))}),Bt.forEach(qe=>{this.processLeaveNode(qe)})});const m=[],C=[];for(let qe=this._namespaceList.length-1;qe>=0;qe--)this._namespaceList[qe].drainQueuedTransitions(o).forEach(Xe=>{const Et=Xe.player,Kt=Xe.element;if(m.push(Et),this.collectedEnterElements.length){const Gn=Kt[Vn];if(Gn&&Gn.setForMove){if(Gn.previousTriggersValues&&Gn.previousTriggersValues.has(Xe.triggerName)){const gs=Gn.previousTriggersValues.get(Xe.triggerName),Xt=this.statesByElement.get(Xe.element);if(Xt&&Xt.has(Xe.triggerName)){const gi=Xt.get(Xe.triggerName);gi.value=gs,Xt.set(Xe.triggerName,gi)}}return void Et.destroy()}}const zn=!Qe||!this.driver.containsElement(Qe,Kt),Sn=c.get(Kt),Jr=lt.get(Kt),nn=this._buildInstruction(Xe,p,Jr,Sn,zn);if(nn.errors&&nn.errors.length)return void C.push(nn);if(zn)return Et.onStart(()=>yr(Kt,nn.fromStyles)),Et.onDestroy(()=>Qn(Kt,nn.toStyles)),void w.push(Et);if(Xe.isFallbackTransition)return Et.onStart(()=>yr(Kt,nn.fromStyles)),Et.onDestroy(()=>Qn(Kt,nn.toStyles)),void w.push(Et);const Ta=[];nn.timelines.forEach(Gn=>{Gn.stretchStartingKeyframe=!0,this.disabledNodes.has(Gn.element)||Ta.push(Gn)}),nn.timelines=Ta,p.append(Kt,nn.timelines),F.push({instruction:nn,player:Et,element:Kt}),nn.queriedElements.forEach(Gn=>Ze(k,Gn,[]).push(Et)),nn.preStyleProps.forEach((Gn,gs)=>{if(Gn.size){let Xt=ce.get(gs);Xt||ce.set(gs,Xt=new Set),Gn.forEach((gi,ms)=>Xt.add(ms))}}),nn.postStyleProps.forEach((Gn,gs)=>{let Xt=be.get(gs);Xt||be.set(gs,Xt=new Set),Gn.forEach((gi,ms)=>Xt.add(ms))})});if(C.length){const qe=[];C.forEach(it=>{qe.push(function mt(y,a){return new f.vHH(3505,!1)}())}),m.forEach(it=>it.destroy()),this.reportError(qe)}const M=new Map,R=new Map;F.forEach(qe=>{const it=qe.element;p.has(it)&&(R.set(it,it),this._beforeAnimationBuild(qe.player.namespaceId,qe.instruction,M))}),w.forEach(qe=>{const it=qe.element;this._getPreviousPlayers(it,!1,qe.namespaceId,qe.triggerName,null).forEach(Et=>{Ze(M,it,[]).push(Et),Et.destroy()})});const j=Bt.filter(qe=>Ri(qe,ce,be)),_e=new Map;ii(_e,this.driver,d,be,tt.l3).forEach(qe=>{Ri(qe,ce,be)&&j.push(qe)});const Tt=new Map;Dt.forEach((qe,it)=>{ii(Tt,this.driver,new Set(qe),ce,tt.k1)}),j.forEach(qe=>{const it=_e.get(qe),Xe=Tt.get(qe);_e.set(qe,new Map([...Array.from(it?.entries()??[]),...Array.from(Xe?.entries()??[])]))});const He=[],Rt=[],jt={};F.forEach(qe=>{const{element:it,player:Xe,instruction:Et}=qe;if(p.has(it)){if($e.has(it))return Xe.onDestroy(()=>Qn(it,Et.toStyles)),Xe.disabled=!0,Xe.overrideTotalTime(Et.totalTime),void w.push(Xe);let Kt=jt;if(R.size>1){let Sn=it;const Jr=[];for(;Sn=Sn.parentNode;){const nn=R.get(Sn);if(nn){Kt=nn;break}Jr.push(Sn)}Jr.forEach(nn=>R.set(nn,Kt))}const zn=this._buildAnimation(Xe.namespaceId,Et,M,A,Tt,_e);if(Xe.setRealPlayer(zn),Kt===jt)He.push(Xe);else{const Sn=this.playersByElement.get(Kt);Sn&&Sn.length&&(Xe.parentPlayer=z(Sn)),w.push(Xe)}}else yr(it,Et.fromStyles),Xe.onDestroy(()=>Qn(it,Et.toStyles)),Rt.push(Xe),$e.has(it)&&w.push(Xe)}),Rt.forEach(qe=>{const it=A.get(qe.element);if(it&&it.length){const Xe=z(it);qe.setRealPlayer(Xe)}}),w.forEach(qe=>{qe.parentPlayer?qe.syncPlayerEvents(qe.parentPlayer):qe.destroy()});for(let qe=0;qe<Bt.length;qe++){const it=Bt[qe],Xe=it[Vn];if(Qr(it,Dn),Xe&&Xe.hasAnimation)continue;let Et=[];if(k.size){let zn=k.get(it);zn&&zn.length&&Et.push(...zn);let Sn=this.driver.query(it,mn,!0);for(let Jr=0;Jr<Sn.length;Jr++){let nn=k.get(Sn[Jr]);nn&&nn.length&&Et.push(...nn)}}const Kt=Et.filter(zn=>!zn.destroyed);Kt.length?oi(this,it,Kt):this.processLeaveNode(it)}return Bt.length=0,He.forEach(qe=>{this.players.push(qe),qe.onDone(()=>{qe.destroy();const it=this.players.indexOf(qe);this.players.splice(it,1)}),qe.play()}),He}elementContainsData(a,o){let p=!1;const w=o[Vn];return w&&w.setForRemoval&&(p=!0),this.playersByElement.has(o)&&(p=!0),this.playersByQueriedElement.has(o)&&(p=!0),this.statesByElement.has(o)&&(p=!0),this._fetchNamespace(a).elementContainsData(o)||p}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,o,p,w,A){let F=[];if(o){const k=this.playersByQueriedElement.get(a);k&&(F=k)}else{const k=this.playersByElement.get(a);if(k){const ce=!A||A==ds;k.forEach(be=>{be.queued||!ce&&be.triggerName!=w||F.push(be)})}}return(p||w)&&(F=F.filter(k=>!(p&&p!=k.namespaceId||w&&w!=k.triggerName))),F}_beforeAnimationBuild(a,o,p){const A=o.element,F=o.isRemovalTransition?void 0:a,k=o.isRemovalTransition?void 0:o.triggerName;for(const ce of o.timelines){const be=ce.element,$e=be!==A,Qe=Ze(p,be,[]);this._getPreviousPlayers(be,$e,F,k,o.toState).forEach(Dt=>{const lt=Dt.getRealPlayer();lt.beforeDestroy&<.beforeDestroy(),Dt.destroy(),Qe.push(Dt)})}yr(A,o.fromStyles)}_buildAnimation(a,o,p,w,A,F){const k=o.triggerName,ce=o.element,be=[],$e=new Set,Qe=new Set,Ct=o.timelines.map(lt=>{const ft=lt.element;$e.add(ft);const Bt=ft[Vn];if(Bt&&Bt.removedBeforeQueried)return new tt.ZN(lt.duration,lt.delay);const $t=ft!==ce,d=function fs(y){const a=[];return Fs(y,a),a}((p.get(ft)||Uo).map(M=>M.getRealPlayer())).filter(M=>!!M.element&&M.element===ft),c=A.get(ft),u=F.get(ft),m=Ie(0,this._normalizer,0,lt.keyframes,c,u),C=this._buildPlayer(lt,m,d);if(lt.subTimeline&&w&&Qe.add(ft),$t){const M=new Ai(a,k,ft);M.setRealPlayer(C),be.push(M)}return C});be.forEach(lt=>{Ze(this.playersByQueriedElement,lt.element,[]).push(lt),lt.onDone(()=>function Mn(y,a,o){let p=y.get(a);if(p){if(p.length){const w=p.indexOf(o);p.splice(w,1)}0==p.length&&y.delete(a)}return p}(this.playersByQueriedElement,lt.element,lt))}),$e.forEach(lt=>$n(lt,Kn));const Dt=z(Ct);return Dt.onDestroy(()=>{$e.forEach(lt=>Qr(lt,Kn)),Qn(ce,o.toStyles)}),Qe.forEach(lt=>{Ze(w,lt,[]).push(Dt)}),Dt}_buildPlayer(a,o,p){return o.length>0?this.driver.animate(a.element,o,a.duration,a.delay,a.easing,p):new tt.ZN(a.duration,a.delay)}}class Ai{constructor(a,o,p){this.namespaceId=a,this.triggerName=o,this.element=p,this._player=new tt.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,this._queuedCallbacks.forEach((o,p)=>{o.forEach(w=>Ve(a,p,void 0,w))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const o=this._player;o.triggerCallback&&a.onStart(()=>o.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,o){Ze(this._queuedCallbacks,a,[]).push(o)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const o=this._player;o.triggerCallback&&o.triggerCallback(a)}}function Vt(y){return y&&1===y.nodeType}function Pi(y,a){const o=y.style.display;return y.style.display=a??"none",o}function ii(y,a,o,p,w){const A=[];o.forEach(ce=>A.push(Pi(ce)));const F=[];p.forEach((ce,be)=>{const $e=new Map;ce.forEach(Qe=>{const Ct=a.computeStyle(be,Qe,w);$e.set(Qe,Ct),(!Ct||0==Ct.length)&&(be[Vn]=Si,F.push(be))}),y.set(be,$e)});let k=0;return o.forEach(ce=>Pi(ce,A[k++])),F}function Oi(y,a){const o=new Map;if(y.forEach(k=>o.set(k,[])),0==a.length)return o;const w=new Set(a),A=new Map;function F(k){if(!k)return 1;let ce=A.get(k);if(ce)return ce;const be=k.parentNode;return ce=o.has(be)?be:w.has(be)?1:F(be),A.set(k,ce),ce}return a.forEach(k=>{const ce=F(k);1!==ce&&o.get(ce).push(k)}),o}function $n(y,a){y.classList?.add(a)}function Qr(y,a){y.classList?.remove(a)}function oi(y,a,o){z(o).onDone(()=>y.processLeaveNode(a))}function Fs(y,a){for(let o=0;o<y.length;o++){const p=y[o];p instanceof tt.ZE?Fs(p.players,a):a.push(p)}}function Ri(y,a,o){const p=o.get(y);if(!p)return!1;let w=a.get(y);return w?p.forEach(A=>w.add(A)):a.set(y,p),o.delete(y),!0}class ai{constructor(a,o,p){this.bodyNode=a,this._driver=o,this._normalizer=p,this._triggerCache={},this.onRemovalComplete=(w,A)=>{},this._transitionEngine=new Vo(a,o,p),this._timelineEngine=new eo(a,o,p),this._transitionEngine.onRemovalComplete=(w,A)=>this.onRemovalComplete(w,A)}registerTrigger(a,o,p,w,A){const F=a+"-"+w;let k=this._triggerCache[F];if(!k){const ce=[],$e=Ir(this._driver,A,ce,[]);if(ce.length)throw function Ur(y,a){return new f.vHH(3404,!1)}();k=function er(y,a,o){return new Xi(y,a,o)}(w,$e,this._normalizer),this._triggerCache[F]=k}this._transitionEngine.registerTrigger(o,w,k)}register(a,o){this._transitionEngine.register(a,o)}destroy(a,o){this._transitionEngine.destroy(a,o)}onInsert(a,o,p,w){this._transitionEngine.insertNode(a,o,p,w)}onRemove(a,o,p,w){this._transitionEngine.removeNode(a,o,w||!1,p)}disableAnimations(a,o){this._transitionEngine.markElementAsDisabled(a,o)}process(a,o,p,w){if("@"==p.charAt(0)){const[A,F]=ir(p);this._timelineEngine.command(A,o,F,w)}else this._transitionEngine.trigger(a,o,p,w)}listen(a,o,p,w,A){if("@"==p.charAt(0)){const[F,k]=ir(p);return this._timelineEngine.listen(F,o,k,A)}return this._transitionEngine.listen(a,o,p,w,A)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let hs=(()=>{class y{constructor(o,p,w){this._element=o,this._startStyles=p,this._endStyles=w,this._state=0;let A=y.initialStylesByElement.get(o);A||y.initialStylesByElement.set(o,A=new Map),this._initialStyles=A}start(){this._state<1&&(this._startStyles&&Qn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Qn(this._element,this._initialStyles),this._endStyles&&(Qn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(y.initialStylesByElement.delete(this._element),this._startStyles&&(yr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(yr(this._element,this._endStyles),this._endStyles=null),Qn(this._element,this._initialStyles),this._state=3)}}return y.initialStylesByElement=new WeakMap,y})();function ks(y){let a=null;return y.forEach((o,p)=>{(function zo(y){return"display"===y||"position"===y})(p)&&(a=a||new Map,a.set(p,o))}),a}class ps{constructor(a,o,p,w){this.element=a,this.keyframes=o,this.options=p,this._specialStyles=w,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=p.duration,this._delay=p.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(a){const o=[];return a.forEach(p=>{o.push(Object.fromEntries(p))}),o}_triggerWebAnimation(a,o,p){return a.animate(this._convertKeyframesToObject(o),p)}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a=new Map;this.hasStarted()&&this._finalKeyframe.forEach((p,w)=>{"offset"!==w&&a.set(w,this._finished?p:Kr(this.element,w))}),this.currentSnapshot=a}triggerCallback(a){const o="start"===a?this._onStartFns:this._onDoneFns;o.forEach(p=>p()),o.length=0}}class Ni{validateStyleProperty(a){return!0}validateAnimatableStyleProperty(a){return!0}matchesElement(a,o){return!1}containsElement(a,o){return Vr(a,o)}getParentElement(a){return sn(a)}query(a,o,p){return mr(a,o,p)}computeStyle(a,o,p){return window.getComputedStyle(a)[o]}animate(a,o,p,w,A,F=[]){const ce={duration:p,delay:w,fill:0==w?"both":"forwards"};A&&(ce.easing=A);const be=new Map,$e=F.filter(Dt=>Dt instanceof ps);(function Ci(y,a){return 0===y||0===a})(p,w)&&$e.forEach(Dt=>{Dt.currentSnapshot.forEach((lt,ft)=>be.set(ft,lt))});let Qe=function _i(y){return y.length?y[0]instanceof Map?y:y.map(a=>Ys(a)):[]}(o).map(Dt=>Yn(Dt));Qe=function vr(y,a,o){if(o.size&&a.length){let p=a[0],w=[];if(o.forEach((A,F)=>{p.has(F)||w.push(F),p.set(F,A)}),w.length)for(let A=1;A<a.length;A++){let F=a[A];w.forEach(k=>F.set(k,Kr(y,k)))}}return a}(a,Qe,be);const Ct=function Br(y,a){let o=null,p=null;return Array.isArray(a)&&a.length?(o=ks(a[0]),a.length>1&&(p=ks(a[a.length-1]))):a instanceof Map&&(o=ks(a)),o||p?new hs(y,o,p):null}(a,Qe);return new ps(a,Qe,ce,Ct)}}let ro=(()=>{class y extends tt._j{constructor(o,p){super(),this._nextAnimationId=0,this._renderer=o.createRenderer(p.body,{id:"0",encapsulation:f.ifc.None,styles:[],data:{animation:[]}})}build(o){const p=this._nextAnimationId.toString();this._nextAnimationId++;const w=Array.isArray(o)?(0,tt.vP)(o):o;return Go(this._renderer,null,p,"register",[w]),new Fi(p,this._renderer)}}return y.\u0275fac=function(o){return new(o||y)(f.LFG(f.FYo),f.LFG(Je.K0))},y.\u0275prov=f.Yz7({token:y,factory:y.\u0275fac}),y})();class Fi extends tt.LC{constructor(a,o){super(),this._id=a,this._renderer=o}create(a,o){return new so(this._id,a,o||{},this._renderer)}}class so{constructor(a,o,p,w){this.id=a,this.element=o,this._renderer=w,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",p)}_listen(a,o){return this._renderer.listen(this.element,`@@${this.id}:${a}`,o)}_command(a,...o){return Go(this._renderer,this.element,this.id,a,o)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(a){this._command("setPosition",a)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Go(y,a,o,p,w){return y.setProperty(a,`@@${o}:${p}`,w)}const li="@.disabled";let io=(()=>{class y{constructor(o,p,w){this.delegate=o,this.engine=p,this._zone=w,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),p.onRemovalComplete=(A,F)=>{const k=F?.parentNode(A);k&&F.removeChild(k,A)}}createRenderer(o,p){const A=this.delegate.createRenderer(o,p);if(!(o&&p&&p.data&&p.data.animation)){let $e=this._rendererCache.get(A);return $e||($e=new Ls("",A,this.engine),this._rendererCache.set(A,$e)),$e}const F=p.id,k=p.id+"-"+this._currentId;this._currentId++,this.engine.register(k,o);const ce=$e=>{Array.isArray($e)?$e.forEach(ce):this.engine.registerTrigger(F,k,o,$e.name,$e)};return p.data.animation.forEach(ce),new oo(this,k,A,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(o,p,w){o>=0&&o<this._microtaskId?this._zone.run(()=>p(w)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(A=>{const[F,k]=A;F(k)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([p,w]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return y.\u0275fac=function(o){return new(o||y)(f.LFG(f.FYo),f.LFG(ai),f.LFG(f.R0b))},y.\u0275prov=f.Yz7({token:y,factory:y.\u0275fac}),y})();class Ls{constructor(a,o,p){this.namespaceId=a,this.delegate=o,this.engine=p,this.destroyNode=this.delegate.destroyNode?w=>o.destroyNode(w):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(a,o){return this.delegate.createElement(a,o)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,o){this.delegate.appendChild(a,o),this.engine.onInsert(this.namespaceId,o,a,!1)}insertBefore(a,o,p,w=!0){this.delegate.insertBefore(a,o,p),this.engine.onInsert(this.namespaceId,o,a,w)}removeChild(a,o,p){this.engine.onRemove(this.namespaceId,o,this.delegate,p)}selectRootElement(a,o){return this.delegate.selectRootElement(a,o)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,o,p,w){this.delegate.setAttribute(a,o,p,w)}removeAttribute(a,o,p){this.delegate.removeAttribute(a,o,p)}addClass(a,o){this.delegate.addClass(a,o)}removeClass(a,o){this.delegate.removeClass(a,o)}setStyle(a,o,p,w){this.delegate.setStyle(a,o,p,w)}removeStyle(a,o,p){this.delegate.removeStyle(a,o,p)}setProperty(a,o,p){"@"==o.charAt(0)&&o==li?this.disableAnimations(a,!!p):this.delegate.setProperty(a,o,p)}setValue(a,o){this.delegate.setValue(a,o)}listen(a,o,p){return this.delegate.listen(a,o,p)}disableAnimations(a,o){this.engine.disableAnimations(a,o)}}class oo extends Ls{constructor(a,o,p,w){super(o,p,w),this.factory=a,this.namespaceId=o}setProperty(a,o,p){"@"==o.charAt(0)?"."==o.charAt(1)&&o==li?this.disableAnimations(a,p=void 0===p||!!p):this.engine.process(this.namespaceId,a,o.slice(1),p):this.delegate.setProperty(a,o,p)}listen(a,o,p){if("@"==o.charAt(0)){const w=function ao(y){switch(y){case"body":return document.body;case"document":return document;case"window":return window;default:return y}}(a);let A=o.slice(1),F="";return"@"!=A.charAt(0)&&([A,F]=function Jt(y){const a=y.indexOf(".");return[y.substring(0,a),y.slice(a+1)]}(A)),this.engine.listen(this.namespaceId,w,A,F,k=>{this.factory.scheduleListenerCallback(k._data||-1,p,k)})}return this.delegate.listen(a,o,p)}}const jr=[{provide:tt._j,useClass:ro},{provide:Xn,useFactory:function Zr(){return new wi}},{provide:ai,useClass:(()=>{class y extends ai{constructor(o,p,w,A){super(o.body,p,w)}ngOnDestroy(){this.flush()}}return y.\u0275fac=function(o){return new(o||y)(f.LFG(Je.K0),f.LFG(br),f.LFG(Xn),f.LFG(f.z2F))},y.\u0275prov=f.Yz7({token:y,factory:y.\u0275fac}),y})()},{provide:f.FYo,useFactory:function Bs(y,a,o){return new io(y,a,o)},deps:[D.se,ai,f.R0b]}],lo=[{provide:br,useFactory:()=>new Ni},{provide:f.QbO,useValue:"BrowserAnimations"},...jr],uo=[{provide:br,useClass:On},{provide:f.QbO,useValue:"NoopAnimations"},...jr];let ki=(()=>{class y{static withConfig(o){return{ngModule:y,providers:o.disableAnimations?uo:lo}}}return y.\u0275fac=function(o){return new(o||y)},y.\u0275mod=f.oAB({type:y}),y.\u0275inj=f.cJS({providers:lo,imports:[D.b2]}),y})(),ur=(()=>{class y{constructor(o){this._router=o}intercept(o,p){let w=JSON.parse(window.localStorage.getItem("user")),A=new Date;if(null!=w){let F=new Date(w.Token.expiredAt);o=o.clone(A<F?{setHeaders:{"Content-Type":"application/json",Authorization:`Bearer ${w.Token.access_token}`}}:{setHeaders:{"Content-Type":"application/json"}})}else o=o.clone({setHeaders:{"Content-Type":"application/json"}});return p.handle(o)}}return y.\u0275fac=function(o){return new(o||y)(f.LFG(en.F0))},y.\u0275prov=f.Yz7({token:y,factory:y.\u0275fac}),y})();var Li=b(7185);const ui=["custom-toast-component",""];function ci(y,a){if(1&y){const o=f.EpF();f.TgZ(0,"a",10),f.NdJ("click",function(){f.CHM(o);const w=f.oxw(2);return f.KtG(w.remove())}),f._uU(1," x "),f.qZA()}}function di(y,a){if(1&y&&(f.TgZ(0,"div",6)(1,"div",7)(2,"div")(3,"h4"),f._uU(4),f.qZA()()(),f.TgZ(5,"div",8),f.YNc(6,ci,2,0,"a",9),f.qZA()()),2&y){const o=f.oxw();f.Udp("display","inactive"===o.state.value?"none":""),f.xp6(2),f.Tol(o.options.titleClass),f.uIk("aria-label",o.title),f.xp6(2),f.Oqu(o.title),f.xp6(2),f.Q6J("ngIf",o.options.closeButton)}}const js=function(y){return{notitle:y}};function tr(y,a){if(1&y&&f._UZ(0,"div",11),2&y){const o=f.oxw();f.Tol(o.options.messageClass),f.Q6J("ngClass",f.VKq(4,js,null==o.title))("innerHTML",o.message,f.oJD)}}function ba(y,a){if(1&y&&(f.TgZ(0,"div",12),f._uU(1),f.qZA()),2&y){const o=f.oxw();f.Tol(o.options.messageClass),f.Q6J("ngClass",f.VKq(5,js,null==o.title)),f.uIk("aria-label",o.message),f.xp6(1),f.hij(" ",o.message," ")}}function fi(y,a){if(1&y){const o=f.EpF();f.TgZ(0,"a",10),f.NdJ("click",function(){f.CHM(o);const w=f.oxw();return f.KtG(w.remove())}),f._uU(1," x "),f.qZA()}}function Bi(y,a){if(1&y&&(f.TgZ(0,"div"),f._UZ(1,"div",13),f.qZA()),2&y){const o=f.oxw();f.xp6(1),f.Udp("width",o.width+"%")}}let ji=(()=>{class y extends Li.FN{constructor(o,p){super(o,p),this.toastrService=o,this.toastPackage=p}ngOnInit(){}action(o){return o.stopPropagation(),this.toastPackage.triggerAction(),!1}}return y.\u0275fac=function(o){return new(o||y)(f.Y36(Li._W),f.Y36(Li.PR))},y.\u0275cmp=f.Xpm({type:y,selectors:[["","custom-toast-component",""]],features:[f.qOj],attrs:ui,decls:6,vars:5,consts:[[1,"toast-case"],["class","row toast-header",3,"display",4,"ngIf"],["class","row toast-body ps-3","role","alert","aria-live","polite",3,"ngClass","class","innerHTML",4,"ngIf"],["class","row toast-body ps-3","role","alert","aria-live","polite",3,"ngClass","class",4,"ngIf"],["class","btn toast-close-button btn-sm ",3,"click",4,"ngIf"],[4,"ngIf"],[1,"row","toast-header"],[1,"col-9","pe-0","ps-2"],[1,"col-auto","mt-5","pe-0"],["class","btn toast-close-button btn-sm",3,"click",4,"ngIf"],[1,"btn","toast-close-button","btn-sm",3,"click"],["role","alert","aria-live","polite",1,"row","toast-body","ps-3",3,"ngClass","innerHTML"],["role","alert","aria-live","polite",1,"row","toast-body","ps-3",3,"ngClass"],[1,"toast-progress"]],template:function(o,p){1&o&&(f.TgZ(0,"div",0),f.YNc(1,di,7,7,"div",1),f.YNc(2,tr,1,6,"div",2),f.YNc(3,ba,2,7,"div",3),f.YNc(4,fi,2,0,"a",4),f.YNc(5,Bi,2,2,"div",5),f.qZA()),2&o&&(f.xp6(1),f.Q6J("ngIf",p.title),f.xp6(1),f.Q6J("ngIf",p.message&&p.options.enableHtml),f.xp6(1),f.Q6J("ngIf",p.message&&!p.options.enableHtml),f.xp6(1),f.Q6J("ngIf",p.options.closeButton&&null==p.title),f.xp6(1),f.Q6J("ngIf",p.options.progressBar))},dependencies:[Je.mk,Je.O5],styles:["[_nghost-%COMP%]{background-color:#fff;position:relative;overflow:hidden;margin:0 0 6px;width:300px;border-radius:3px;color:#141414;pointer-events:all;cursor:pointer}.toast-success[_nghost-%COMP%]{border:1.8px solid rgb(81,163,81)}.toast-info[_nghost-%COMP%]{border:1.8px solid rgb(47,150,180)}.toast-error[_nghost-%COMP%]{border:1.8px solid rgb(189,54,47)}.toast-warning[_nghost-%COMP%]{border:1.8px solid rgb(248,148,6)}.toast-case[_ngcontent-%COMP%]{margin-left:10px}.toast-header[_ngcontent-%COMP%]{background-clip:padding-box;border-bottom:solid;border-width:1px;padding-bottom:0rem;padding-top:0rem;padding-right:0}.toast-title[_ngcontent-%COMP%]{color:#000}.toast-body[_ngcontent-%COMP%]{padding-top:.6rem}.notitle[_ngcontent-%COMP%]{margin-bottom:-1rem}.toast-close-button-custom[_ngcontent-%COMP%]{right:.2em!important;top:-1.3em!important}.toast-close-button-notitle[_ngcontent-%COMP%]{right:.1em!important;top:-1.3em!important}"],data:{animation:[(0,tt.X$)("flyInOut",[(0,tt.SB)("inactive",(0,tt.oB)({opacity:0})),(0,tt.eR)("inactive => active",(0,tt.jt)("400ms ease-out",(0,tt.F4)([(0,tt.oB)({transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:0}),(0,tt.oB)({transform:"skewX(20deg)",opacity:1}),(0,tt.oB)({transform:"skewX(-5deg)",opacity:1}),(0,tt.oB)({transform:"none",opacity:1})]))),(0,tt.eR)("active => removed",(0,tt.jt)("400ms ease-out",(0,tt.F4)([(0,tt.oB)({opacity:1}),(0,tt.oB)({transform:"translate3d(100%, 0, 0) skewX(30deg)",opacity:0})])))])]}}),y})();var co=b(5421);const Ko={name:"MarketplaceDB",version:1,objectStoresMeta:[{store:"Categories",storeConfig:{keyPath:null,autoIncrement:!1},storeSchema:[]}]};let hi=(()=>{class y{}return y.\u0275fac=function(o){return new(o||y)},y.\u0275mod=f.oAB({type:y,bootstrap:[sr]}),y.\u0275inj=f.cJS({providers:[{provide:se.TP,useClass:ur,multi:!0},An.O,xn.e],imports:[D.b2,Rn,ki,Li.Rh.forRoot({toastComponent:ji,positionClass:"toast-bottom-right",closeButton:!0}),se.JF,co.Cz.forRoot(Ko),cn.forRoot()]}),y})();(0,f.G48)(),D.q6().bootstrapModule(hi).catch(y=>console.error(y))},1135:(Ye,me,b)=>{b.d(me,{X:()=>f});var D=b(7579);class f extends D.x{constructor(J){super(),this._value=J}get value(){return this.getValue()}_subscribe(J){const $=super._subscribe(J);return!$.closed&&J.next(this._value),$}getValue(){const{hasError:J,thrownError:$,_value:Q}=this;if(J)throw $;return this._throwIfClosed(),Q}next(J){super.next(this._value=J)}}},8306:(Ye,me,b)=>{b.d(me,{y:()=>de});var D=b(930),f=b(727),se=b(8822),J=b(4671);var Y=b(2416),re=b(576),te=b(2806);let de=(()=>{class De{constructor(Re){Re&&(this._subscribe=Re)}lift(Re){const Ee=new De;return Ee.source=this,Ee.operator=Re,Ee}subscribe(Re,Ee,Ne){const Je=function ke(De){return De&&De instanceof D.Lv||function K(De){return De&&(0,re.m)(De.next)&&(0,re.m)(De.error)&&(0,re.m)(De.complete)}(De)&&(0,f.Nn)(De)}(Re)?Re:new D.Hp(Re,Ee,Ne);return(0,te.x)(()=>{const{operator:Ae,source:he}=this;Je.add(Ae?Ae.call(Je,he):he?this._subscribe(Je):this._trySubscribe(Je))}),Je}_trySubscribe(Re){try{return this._subscribe(Re)}catch(Ee){Re.error(Ee)}}forEach(Re,Ee){return new(Ee=X(Ee))((Ne,Je)=>{const Ae=new D.Hp({next:he=>{try{Re(he)}catch(P){Je(P),Ae.unsubscribe()}},error:Je,complete:Ne});this.subscribe(Ae)})}_subscribe(Re){var Ee;return null===(Ee=this.source)||void 0===Ee?void 0:Ee.subscribe(Re)}[se.L](){return this}pipe(...Re){return function Q(De){return 0===De.length?J.y:1===De.length?De[0]:function(Re){return De.reduce((Ee,Ne)=>Ne(Ee),Re)}}(Re)(this)}toPromise(Re){return new(Re=X(Re))((Ee,Ne)=>{let Je;this.subscribe(Ae=>Je=Ae,Ae=>Ne(Ae),()=>Ee(Je))})}}return De.create=ye=>new De(ye),De})();function X(De){var ye;return null!==(ye=De??Y.v.Promise)&&void 0!==ye?ye:Promise}},4707:(Ye,me,b)=>{b.d(me,{t:()=>se});var D=b(7579),f=b(6063);class se extends D.x{constructor($=1/0,Q=1/0,Y=f.l){super(),this._bufferSize=$,this._windowTime=Q,this._timestampProvider=Y,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=Q===1/0,this._bufferSize=Math.max(1,$),this._windowTime=Math.max(1,Q)}next($){const{isStopped:Q,_buffer:Y,_infiniteTimeWindow:re,_timestampProvider:te,_windowTime:de}=this;Q||(Y.push($),!re&&Y.push(te.now()+de)),this._trimBuffer(),super.next($)}_subscribe($){this._throwIfClosed(),this._trimBuffer();const Q=this._innerSubscribe($),{_infiniteTimeWindow:Y,_buffer:re}=this,te=re.slice();for(let de=0;de<te.length&&!$.closed;de+=Y?1:2)$.next(te[de]);return this._checkFinalizedStatuses($),Q}_trimBuffer(){const{_bufferSize:$,_timestampProvider:Q,_buffer:Y,_infiniteTimeWindow:re}=this,te=(re?1:2)*$;if($<1/0&&te<Y.length&&Y.splice(0,Y.length-te),!re){const de=Q.now();let X=0;for(let K=1;K<Y.length&&Y[K]<=de;K+=2)X=K;X&&Y.splice(0,X+1)}}}},7579:(Ye,me,b)=>{b.d(me,{x:()=>Y});var D=b(8306),f=b(727);const J=(0,b(3888).d)(te=>function(){te(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var $=b(8737),Q=b(2806);let Y=(()=>{class te extends D.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(X){const K=new re(this,this);return K.operator=X,K}_throwIfClosed(){if(this.closed)throw new J}next(X){(0,Q.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const K of this.currentObservers)K.next(X)}})}error(X){(0,Q.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=X;const{observers:K}=this;for(;K.length;)K.shift().error(X)}})}complete(){(0,Q.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:X}=this;for(;X.length;)X.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var X;return(null===(X=this.observers)||void 0===X?void 0:X.length)>0}_trySubscribe(X){return this._throwIfClosed(),super._trySubscribe(X)}_subscribe(X){return this._throwIfClosed(),this._checkFinalizedStatuses(X),this._innerSubscribe(X)}_innerSubscribe(X){const{hasError:K,isStopped:ke,observers:De}=this;return K||ke?f.Lc:(this.currentObservers=null,De.push(X),new f.w0(()=>{this.currentObservers=null,(0,$.P)(De,X)}))}_checkFinalizedStatuses(X){const{hasError:K,thrownError:ke,isStopped:De}=this;K?X.error(ke):De&&X.complete()}asObservable(){const X=new D.y;return X.source=this,X}}return te.create=(de,X)=>new re(de,X),te})();class re extends Y{constructor(de,X){super(),this.destination=de,this.source=X}next(de){var X,K;null===(K=null===(X=this.destination)||void 0===X?void 0:X.next)||void 0===K||K.call(X,de)}error(de){var X,K;null===(K=null===(X=this.destination)||void 0===X?void 0:X.error)||void 0===K||K.call(X,de)}complete(){var de,X;null===(X=null===(de=this.destination)||void 0===de?void 0:de.complete)||void 0===X||X.call(de)}_subscribe(de){var X,K;return null!==(K=null===(X=this.source)||void 0===X?void 0:X.subscribe(de))&&void 0!==K?K:f.Lc}}},930:(Ye,me,b)=>{b.d(me,{Hp:()=>Re,Lv:()=>K});var D=b(576),f=b(727),se=b(2416),J=b(7849),$=b(5032);const Q=te("C",void 0,void 0);function te(he,P,q){return{kind:he,value:P,error:q}}var de=b(3410),X=b(2806);class K extends f.w0{constructor(P){super(),this.isStopped=!1,P?(this.destination=P,(0,f.Nn)(P)&&P.add(this)):this.destination=Ae}static create(P,q,ue){return new Re(P,q,ue)}next(P){this.isStopped?Je(function re(he){return te("N",he,void 0)}(P),this):this._next(P)}error(P){this.isStopped?Je(function Y(he){return te("E",void 0,he)}(P),this):(this.isStopped=!0,this._error(P))}complete(){this.isStopped?Je(Q,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(P){this.destination.next(P)}_error(P){try{this.destination.error(P)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ke=Function.prototype.bind;function De(he,P){return ke.call(he,P)}class ye{constructor(P){this.partialObserver=P}next(P){const{partialObserver:q}=this;if(q.next)try{q.next(P)}catch(ue){Ee(ue)}}error(P){const{partialObserver:q}=this;if(q.error)try{q.error(P)}catch(ue){Ee(ue)}else Ee(P)}complete(){const{partialObserver:P}=this;if(P.complete)try{P.complete()}catch(q){Ee(q)}}}class Re extends K{constructor(P,q,ue){let ie;if(super(),(0,D.m)(P)||!P)ie={next:P??void 0,error:q??void 0,complete:ue??void 0};else{let oe;this&&se.v.useDeprecatedNextContext?(oe=Object.create(P),oe.unsubscribe=()=>this.unsubscribe(),ie={next:P.next&&De(P.next,oe),error:P.error&&De(P.error,oe),complete:P.complete&&De(P.complete,oe)}):ie=P}this.destination=new ye(ie)}}function Ee(he){se.v.useDeprecatedSynchronousErrorHandling?(0,X.O)(he):(0,J.h)(he)}function Je(he,P){const{onStoppedNotification:q}=se.v;q&&de.z.setTimeout(()=>q(he,P))}const Ae={closed:!0,next:$.Z,error:function Ne(he){throw he},complete:$.Z}},727:(Ye,me,b)=>{b.d(me,{Lc:()=>Q,w0:()=>$,Nn:()=>Y});var D=b(576);const se=(0,b(3888).d)(te=>function(X){te(this),this.message=X?`${X.length} errors occurred during unsubscription:\n${X.map((K,ke)=>`${ke+1}) ${K.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=X});var J=b(8737);class ${constructor(de){this.initialTeardown=de,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let de;if(!this.closed){this.closed=!0;const{_parentage:X}=this;if(X)if(this._parentage=null,Array.isArray(X))for(const De of X)De.remove(this);else X.remove(this);const{initialTeardown:K}=this;if((0,D.m)(K))try{K()}catch(De){de=De instanceof se?De.errors:[De]}const{_finalizers:ke}=this;if(ke){this._finalizers=null;for(const De of ke)try{re(De)}catch(ye){de=de??[],ye instanceof se?de=[...de,...ye.errors]:de.push(ye)}}if(de)throw new se(de)}}add(de){var X;if(de&&de!==this)if(this.closed)re(de);else{if(de instanceof $){if(de.closed||de._hasParent(this))return;de._addParent(this)}(this._finalizers=null!==(X=this._finalizers)&&void 0!==X?X:[]).push(de)}}_hasParent(de){const{_parentage:X}=this;return X===de||Array.isArray(X)&&X.includes(de)}_addParent(de){const{_parentage:X}=this;this._parentage=Array.isArray(X)?(X.push(de),X):X?[X,de]:de}_removeParent(de){const{_parentage:X}=this;X===de?this._parentage=null:Array.isArray(X)&&(0,J.P)(X,de)}remove(de){const{_finalizers:X}=this;X&&(0,J.P)(X,de),de instanceof $&&de._removeParent(this)}}$.EMPTY=(()=>{const te=new $;return te.closed=!0,te})();const Q=$.EMPTY;function Y(te){return te instanceof $||te&&"closed"in te&&(0,D.m)(te.remove)&&(0,D.m)(te.add)&&(0,D.m)(te.unsubscribe)}function re(te){(0,D.m)(te)?te():te.unsubscribe()}},2416:(Ye,me,b)=>{b.d(me,{v:()=>D});const D={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(Ye,me,b)=>{b.d(me,{a:()=>de});var D=b(8306),f=b(4742),se=b(2076),J=b(4671),$=b(3268),Q=b(3269),Y=b(1810),re=b(5403),te=b(9672);function de(...ke){const De=(0,Q.yG)(ke),ye=(0,Q.jO)(ke),{args:Re,keys:Ee}=(0,f.D)(ke);if(0===Re.length)return(0,se.D)([],De);const Ne=new D.y(function X(ke,De,ye=J.y){return Re=>{K(De,()=>{const{length:Ee}=ke,Ne=new Array(Ee);let Je=Ee,Ae=Ee;for(let he=0;he<Ee;he++)K(De,()=>{const P=(0,se.D)(ke[he],De);let q=!1;P.subscribe((0,re.x)(Re,ue=>{Ne[he]=ue,q||(q=!0,Ae--),Ae||Re.next(ye(Ne.slice()))},()=>{--Je||Re.complete()}))},Re)},Re)}}(Re,De,Ee?Je=>(0,Y.n)(Ee,Je):J.y));return ye?Ne.pipe((0,$.Z)(ye)):Ne}function K(ke,De,ye){ke?(0,te.f)(ye,ke,De):De()}},7272:(Ye,me,b)=>{b.d(me,{z:()=>$});var D=b(8189),se=b(3269),J=b(2076);function $(...Q){return function f(){return(0,D.J)(1)}()((0,J.D)(Q,(0,se.yG)(Q)))}},9770:(Ye,me,b)=>{b.d(me,{P:()=>se});var D=b(8306),f=b(8421);function se(J){return new D.y($=>{(0,f.Xf)(J()).subscribe($)})}},515:(Ye,me,b)=>{b.d(me,{E:()=>f});const f=new(b(8306).y)($=>$.complete())},2076:(Ye,me,b)=>{b.d(me,{D:()=>ue});var D=b(8421),f=b(9672),se=b(4482),J=b(5403);function $(ie,oe=0){return(0,se.e)((Ce,N)=>{Ce.subscribe((0,J.x)(N,B=>(0,f.f)(N,ie,()=>N.next(B),oe),()=>(0,f.f)(N,ie,()=>N.complete(),oe),B=>(0,f.f)(N,ie,()=>N.error(B),oe)))})}function Q(ie,oe=0){return(0,se.e)((Ce,N)=>{N.add(ie.schedule(()=>Ce.subscribe(N),oe))})}var te=b(8306),X=b(2202),K=b(576);function De(ie,oe){if(!ie)throw new Error("Iterable cannot be null");return new te.y(Ce=>{(0,f.f)(Ce,oe,()=>{const N=ie[Symbol.asyncIterator]();(0,f.f)(Ce,oe,()=>{N.next().then(B=>{B.done?Ce.complete():Ce.next(B.value)})},0,!0)})})}var ye=b(3670),Re=b(8239),Ee=b(1144),Ne=b(6495),Je=b(2206),Ae=b(4532),he=b(3260);function ue(ie,oe){return oe?function q(ie,oe){if(null!=ie){if((0,ye.c)(ie))return function Y(ie,oe){return(0,D.Xf)(ie).pipe(Q(oe),$(oe))}(ie,oe);if((0,Ee.z)(ie))return function de(ie,oe){return new te.y(Ce=>{let N=0;return oe.schedule(function(){N===ie.length?Ce.complete():(Ce.next(ie[N++]),Ce.closed||this.schedule())})})}(ie,oe);if((0,Re.t)(ie))return function re(ie,oe){return(0,D.Xf)(ie).pipe(Q(oe),$(oe))}(ie,oe);if((0,Je.D)(ie))return De(ie,oe);if((0,Ne.T)(ie))return function ke(ie,oe){return new te.y(Ce=>{let N;return(0,f.f)(Ce,oe,()=>{N=ie[X.h](),(0,f.f)(Ce,oe,()=>{let B,ee;try{({value:B,done:ee}=N.next())}catch(le){return void Ce.error(le)}ee?Ce.complete():Ce.next(B)},0,!0)}),()=>(0,K.m)(N?.return)&&N.return()})}(ie,oe);if((0,he.L)(ie))return function P(ie,oe){return De((0,he.Q)(ie),oe)}(ie,oe)}throw(0,Ae.z)(ie)}(ie,oe):(0,D.Xf)(ie)}},8421:(Ye,me,b)=>{b.d(me,{Xf:()=>ke});var D=b(655),f=b(1144),se=b(8239),J=b(8306),$=b(3670),Q=b(2206),Y=b(4532),re=b(6495),te=b(3260),de=b(576),X=b(7849),K=b(8822);function ke(he){if(he instanceof J.y)return he;if(null!=he){if((0,$.c)(he))return function De(he){return new J.y(P=>{const q=he[K.L]();if((0,de.m)(q.subscribe))return q.subscribe(P);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(he);if((0,f.z)(he))return function ye(he){return new J.y(P=>{for(let q=0;q<he.length&&!P.closed;q++)P.next(he[q]);P.complete()})}(he);if((0,se.t)(he))return function Re(he){return new J.y(P=>{he.then(q=>{P.closed||(P.next(q),P.complete())},q=>P.error(q)).then(null,X.h)})}(he);if((0,Q.D)(he))return Ne(he);if((0,re.T)(he))return function Ee(he){return new J.y(P=>{for(const q of he)if(P.next(q),P.closed)return;P.complete()})}(he);if((0,te.L)(he))return function Je(he){return Ne((0,te.Q)(he))}(he)}throw(0,Y.z)(he)}function Ne(he){return new J.y(P=>{(function Ae(he,P){var q,ue,ie,oe;return(0,D.mG)(this,void 0,void 0,function*(){try{for(q=(0,D.KL)(he);!(ue=yield q.next()).done;)if(P.next(ue.value),P.closed)return}catch(Ce){ie={error:Ce}}finally{try{ue&&!ue.done&&(oe=q.return)&&(yield oe.call(q))}finally{if(ie)throw ie.error}}P.complete()})})(he,P).catch(q=>P.error(q))})}},6451:(Ye,me,b)=>{b.d(me,{T:()=>Q});var D=b(8189),f=b(8421),se=b(515),J=b(3269),$=b(2076);function Q(...Y){const re=(0,J.yG)(Y),te=(0,J._6)(Y,1/0),de=Y;return de.length?1===de.length?(0,f.Xf)(de[0]):(0,D.J)(te)((0,$.D)(de,re)):se.E}},9646:(Ye,me,b)=>{b.d(me,{of:()=>se});var D=b(3269),f=b(2076);function se(...J){const $=(0,D.yG)(J);return(0,f.D)(J,$)}},2843:(Ye,me,b)=>{b.d(me,{_:()=>se});var D=b(8306),f=b(576);function se(J,$){const Q=(0,f.m)(J)?J:()=>J,Y=re=>re.error(Q());return new D.y($?re=>$.schedule(Y,0,re):Y)}},2805:(Ye,me,b)=>{b.d(me,{H:()=>$});var D=b(8306),f=b(4986),se=b(3532),J=b(1165);function $(Q=0,Y,re=f.P){let te=-1;return null!=Y&&((0,se.K)(Y)?re=Y:te=Y),new D.y(de=>{let X=(0,J.q)(Q)?+Q-re.now():Q;X<0&&(X=0);let K=0;return re.schedule(function(){de.closed||(de.next(K++),0<=te?this.schedule(void 0,te):de.complete())},X)})}},5403:(Ye,me,b)=>{b.d(me,{x:()=>f});var D=b(930);function f(J,$,Q,Y,re){return new se(J,$,Q,Y,re)}class se extends D.Lv{constructor($,Q,Y,re,te,de){super($),this.onFinalize=te,this.shouldUnsubscribe=de,this._next=Q?function(X){try{Q(X)}catch(K){$.error(K)}}:super._next,this._error=re?function(X){try{re(X)}catch(K){$.error(K)}finally{this.unsubscribe()}}:super._error,this._complete=Y?function(){try{Y()}catch(X){$.error(X)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var $;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:Q}=this;super.unsubscribe(),!Q&&(null===($=this.onFinalize)||void 0===$||$.call(this))}}}},262:(Ye,me,b)=>{b.d(me,{K:()=>J});var D=b(8421),f=b(5403),se=b(4482);function J($){return(0,se.e)((Q,Y)=>{let de,re=null,te=!1;re=Q.subscribe((0,f.x)(Y,void 0,void 0,X=>{de=(0,D.Xf)($(X,J($)(Q))),re?(re.unsubscribe(),re=null,de.subscribe(Y)):te=!0})),te&&(re.unsubscribe(),re=null,de.subscribe(Y))})}},4351:(Ye,me,b)=>{b.d(me,{b:()=>se});var D=b(5577),f=b(576);function se(J,$){return(0,f.m)($)?(0,D.z)(J,$,1):(0,D.z)(J,1)}},1884:(Ye,me,b)=>{b.d(me,{x:()=>J});var D=b(4671),f=b(4482),se=b(5403);function J(Q,Y=D.y){return Q=Q??$,(0,f.e)((re,te)=>{let de,X=!0;re.subscribe((0,se.x)(te,K=>{const ke=Y(K);(X||!Q(de,ke))&&(X=!1,de=ke,te.next(K))}))})}function $(Q,Y){return Q===Y}},9300:(Ye,me,b)=>{b.d(me,{h:()=>se});var D=b(4482),f=b(5403);function se(J,$){return(0,D.e)((Q,Y)=>{let re=0;Q.subscribe((0,f.x)(Y,te=>J.call($,te,re++)&&Y.next(te)))})}},8746:(Ye,me,b)=>{b.d(me,{x:()=>f});var D=b(4482);function f(se){return(0,D.e)((J,$)=>{try{J.subscribe($)}finally{$.add(se)}})}},4004:(Ye,me,b)=>{b.d(me,{U:()=>se});var D=b(4482),f=b(5403);function se(J,$){return(0,D.e)((Q,Y)=>{let re=0;Q.subscribe((0,f.x)(Y,te=>{Y.next(J.call($,te,re++))}))})}},9718:(Ye,me,b)=>{b.d(me,{h:()=>f});var D=b(4004);function f(se){return(0,D.U)(()=>se)}},8189:(Ye,me,b)=>{b.d(me,{J:()=>se});var D=b(5577),f=b(4671);function se(J=1/0){return(0,D.z)(f.y,J)}},5577:(Ye,me,b)=>{b.d(me,{z:()=>re});var D=b(4004),f=b(8421),se=b(4482),J=b(9672),$=b(5403),Y=b(576);function re(te,de,X=1/0){return(0,Y.m)(de)?re((K,ke)=>(0,D.U)((De,ye)=>de(K,De,ke,ye))((0,f.Xf)(te(K,ke))),X):("number"==typeof de&&(X=de),(0,se.e)((K,ke)=>function Q(te,de,X,K,ke,De,ye,Re){const Ee=[];let Ne=0,Je=0,Ae=!1;const he=()=>{Ae&&!Ee.length&&!Ne&&de.complete()},P=ue=>Ne<K?q(ue):Ee.push(ue),q=ue=>{De&&de.next(ue),Ne++;let ie=!1;(0,f.Xf)(X(ue,Je++)).subscribe((0,$.x)(de,oe=>{ke?.(oe),De?P(oe):de.next(oe)},()=>{ie=!0},void 0,()=>{if(ie)try{for(Ne--;Ee.length&&Ne<K;){const oe=Ee.shift();ye?(0,J.f)(de,ye,()=>q(oe)):q(oe)}he()}catch(oe){de.error(oe)}}))};return te.subscribe((0,$.x)(de,P,()=>{Ae=!0,he()})),()=>{Re?.()}}(K,ke,te,X)))}},5026:(Ye,me,b)=>{b.d(me,{R:()=>J});var D=b(4482),f=b(5403);function se($,Q,Y,re,te){return(de,X)=>{let K=Y,ke=Q,De=0;de.subscribe((0,f.x)(X,ye=>{const Re=De++;ke=K?$(ke,ye,Re):(K=!0,ye),re&&X.next(ke)},te&&(()=>{K&&X.next(ke),X.complete()})))}}function J($,Q){return(0,D.e)(se($,Q,arguments.length>=2,!0))}},3099:(Ye,me,b)=>{b.d(me,{B:()=>$});var D=b(8421),f=b(7579),se=b(930),J=b(4482);function $(Y={}){const{connector:re=(()=>new f.x),resetOnError:te=!0,resetOnComplete:de=!0,resetOnRefCountZero:X=!0}=Y;return K=>{let ke,De,ye,Re=0,Ee=!1,Ne=!1;const Je=()=>{De?.unsubscribe(),De=void 0},Ae=()=>{Je(),ke=ye=void 0,Ee=Ne=!1},he=()=>{const P=ke;Ae(),P?.unsubscribe()};return(0,J.e)((P,q)=>{Re++,!Ne&&!Ee&&Je();const ue=ye=ye??re();q.add(()=>{Re--,0===Re&&!Ne&&!Ee&&(De=Q(he,X))}),ue.subscribe(q),!ke&&Re>0&&(ke=new se.Hp({next:ie=>ue.next(ie),error:ie=>{Ne=!0,Je(),De=Q(Ae,te,ie),ue.error(ie)},complete:()=>{Ee=!0,Je(),De=Q(Ae,de),ue.complete()}}),(0,D.Xf)(P).subscribe(ke))})(K)}}function Q(Y,re,...te){if(!0===re)return void Y();if(!1===re)return;const de=new se.Hp({next:()=>{de.unsubscribe(),Y()}});return re(...te).subscribe(de)}},8675:(Ye,me,b)=>{b.d(me,{O:()=>J});var D=b(7272),f=b(3269),se=b(4482);function J(...$){const Q=(0,f.yG)($);return(0,se.e)((Y,re)=>{(Q?(0,D.z)($,Y,Q):(0,D.z)($,Y)).subscribe(re)})}},3900:(Ye,me,b)=>{b.d(me,{w:()=>J});var D=b(8421),f=b(4482),se=b(5403);function J($,Q){return(0,f.e)((Y,re)=>{let te=null,de=0,X=!1;const K=()=>X&&!te&&re.complete();Y.subscribe((0,se.x)(re,ke=>{te?.unsubscribe();let De=0;const ye=de++;(0,D.Xf)($(ke,ye)).subscribe(te=(0,se.x)(re,Re=>re.next(Q?Q(ke,Re,ye,De++):Re),()=>{te=null,K()}))},()=>{X=!0,K()}))})}},5698:(Ye,me,b)=>{b.d(me,{q:()=>J});var D=b(515),f=b(4482),se=b(5403);function J($){return $<=0?()=>D.E:(0,f.e)((Q,Y)=>{let re=0;Q.subscribe((0,se.x)(Y,te=>{++re<=$&&(Y.next(te),$<=re&&Y.complete())}))})}},8505:(Ye,me,b)=>{b.d(me,{b:()=>$});var D=b(576),f=b(4482),se=b(5403),J=b(4671);function $(Q,Y,re){const te=(0,D.m)(Q)||Y||re?{next:Q,error:Y,complete:re}:Q;return te?(0,f.e)((de,X)=>{var K;null===(K=te.subscribe)||void 0===K||K.call(te);let ke=!0;de.subscribe((0,se.x)(X,De=>{var ye;null===(ye=te.next)||void 0===ye||ye.call(te,De),X.next(De)},()=>{var De;ke=!1,null===(De=te.complete)||void 0===De||De.call(te),X.complete()},De=>{var ye;ke=!1,null===(ye=te.error)||void 0===ye||ye.call(te,De),X.error(De)},()=>{var De,ye;ke&&(null===(De=te.unsubscribe)||void 0===De||De.call(te)),null===(ye=te.finalize)||void 0===ye||ye.call(te)}))}):J.y}},4408:(Ye,me,b)=>{b.d(me,{o:()=>$});var D=b(727);class f extends D.w0{constructor(Y,re){super()}schedule(Y,re=0){return this}}const se={setInterval(Q,Y,...re){const{delegate:te}=se;return te?.setInterval?te.setInterval(Q,Y,...re):setInterval(Q,Y,...re)},clearInterval(Q){const{delegate:Y}=se;return(Y?.clearInterval||clearInterval)(Q)},delegate:void 0};var J=b(8737);class $ extends f{constructor(Y,re){super(Y,re),this.scheduler=Y,this.work=re,this.pending=!1}schedule(Y,re=0){if(this.closed)return this;this.state=Y;const te=this.id,de=this.scheduler;return null!=te&&(this.id=this.recycleAsyncId(de,te,re)),this.pending=!0,this.delay=re,this.id=this.id||this.requestAsyncId(de,this.id,re),this}requestAsyncId(Y,re,te=0){return se.setInterval(Y.flush.bind(Y,this),te)}recycleAsyncId(Y,re,te=0){if(null!=te&&this.delay===te&&!1===this.pending)return re;se.clearInterval(re)}execute(Y,re){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const te=this._execute(Y,re);if(te)return te;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(Y,re){let de,te=!1;try{this.work(Y)}catch(X){te=!0,de=X||new Error("Scheduled action threw falsy error")}if(te)return this.unsubscribe(),de}unsubscribe(){if(!this.closed){const{id:Y,scheduler:re}=this,{actions:te}=re;this.work=this.state=this.scheduler=null,this.pending=!1,(0,J.P)(te,this),null!=Y&&(this.id=this.recycleAsyncId(re,Y,null)),this.delay=null,super.unsubscribe()}}}},7565:(Ye,me,b)=>{b.d(me,{v:()=>se});var D=b(6063);class f{constructor($,Q=f.now){this.schedulerActionCtor=$,this.now=Q}schedule($,Q=0,Y){return new this.schedulerActionCtor(this,$).schedule(Y,Q)}}f.now=D.l.now;class se extends f{constructor($,Q=f.now){super($,Q),this.actions=[],this._active=!1,this._scheduled=void 0}flush($){const{actions:Q}=this;if(this._active)return void Q.push($);let Y;this._active=!0;do{if(Y=$.execute($.state,$.delay))break}while($=Q.shift());if(this._active=!1,Y){for(;$=Q.shift();)$.unsubscribe();throw Y}}}},4986:(Ye,me,b)=>{b.d(me,{P:()=>J,z:()=>se});var D=b(4408);const se=new(b(7565).v)(D.o),J=se},6063:(Ye,me,b)=>{b.d(me,{l:()=>D});const D={now:()=>(D.delegate||Date).now(),delegate:void 0}},3410:(Ye,me,b)=>{b.d(me,{z:()=>D});const D={setTimeout(f,se,...J){const{delegate:$}=D;return $?.setTimeout?$.setTimeout(f,se,...J):setTimeout(f,se,...J)},clearTimeout(f){const{delegate:se}=D;return(se?.clearTimeout||clearTimeout)(f)},delegate:void 0}},2202:(Ye,me,b)=>{b.d(me,{h:()=>f});const f=function D(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(Ye,me,b)=>{b.d(me,{L:()=>D});const D="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(Ye,me,b)=>{b.d(me,{_6:()=>Q,jO:()=>J,yG:()=>$});var D=b(576),f=b(3532);function se(Y){return Y[Y.length-1]}function J(Y){return(0,D.m)(se(Y))?Y.pop():void 0}function $(Y){return(0,f.K)(se(Y))?Y.pop():void 0}function Q(Y,re){return"number"==typeof se(Y)?Y.pop():re}},4742:(Ye,me,b)=>{b.d(me,{D:()=>$});const{isArray:D}=Array,{getPrototypeOf:f,prototype:se,keys:J}=Object;function $(Y){if(1===Y.length){const re=Y[0];if(D(re))return{args:re,keys:null};if(function Q(Y){return Y&&"object"==typeof Y&&f(Y)===se}(re)){const te=J(re);return{args:te.map(de=>re[de]),keys:te}}}return{args:Y,keys:null}}},8737:(Ye,me,b)=>{function D(f,se){if(f){const J=f.indexOf(se);0<=J&&f.splice(J,1)}}b.d(me,{P:()=>D})},3888:(Ye,me,b)=>{function D(f){const J=f($=>{Error.call($),$.stack=(new Error).stack});return J.prototype=Object.create(Error.prototype),J.prototype.constructor=J,J}b.d(me,{d:()=>D})},1810:(Ye,me,b)=>{function D(f,se){return f.reduce((J,$,Q)=>(J[$]=se[Q],J),{})}b.d(me,{n:()=>D})},2806:(Ye,me,b)=>{b.d(me,{O:()=>J,x:()=>se});var D=b(2416);let f=null;function se($){if(D.v.useDeprecatedSynchronousErrorHandling){const Q=!f;if(Q&&(f={errorThrown:!1,error:null}),$(),Q){const{errorThrown:Y,error:re}=f;if(f=null,Y)throw re}}else $()}function J($){D.v.useDeprecatedSynchronousErrorHandling&&f&&(f.errorThrown=!0,f.error=$)}},9672:(Ye,me,b)=>{function D(f,se,J,$=0,Q=!1){const Y=se.schedule(function(){J(),Q?f.add(this.schedule(null,$)):this.unsubscribe()},$);if(f.add(Y),!Q)return Y}b.d(me,{f:()=>D})},4671:(Ye,me,b)=>{function D(f){return f}b.d(me,{y:()=>D})},1144:(Ye,me,b)=>{b.d(me,{z:()=>D});const D=f=>f&&"number"==typeof f.length&&"function"!=typeof f},2206:(Ye,me,b)=>{b.d(me,{D:()=>f});var D=b(576);function f(se){return Symbol.asyncIterator&&(0,D.m)(se?.[Symbol.asyncIterator])}},1165:(Ye,me,b)=>{function D(f){return f instanceof Date&&!isNaN(f)}b.d(me,{q:()=>D})},576:(Ye,me,b)=>{function D(f){return"function"==typeof f}b.d(me,{m:()=>D})},3670:(Ye,me,b)=>{b.d(me,{c:()=>se});var D=b(8822),f=b(576);function se(J){return(0,f.m)(J[D.L])}},6495:(Ye,me,b)=>{b.d(me,{T:()=>se});var D=b(2202),f=b(576);function se(J){return(0,f.m)(J?.[D.h])}},8239:(Ye,me,b)=>{b.d(me,{t:()=>f});var D=b(576);function f(se){return(0,D.m)(se?.then)}},3260:(Ye,me,b)=>{b.d(me,{L:()=>J,Q:()=>se});var D=b(655),f=b(576);function se($){return(0,D.FC)(this,arguments,function*(){const Y=$.getReader();try{for(;;){const{value:re,done:te}=yield(0,D.qq)(Y.read());if(te)return yield(0,D.qq)(void 0);yield yield(0,D.qq)(re)}}finally{Y.releaseLock()}})}function J($){return(0,f.m)($?.getReader)}},3532:(Ye,me,b)=>{b.d(me,{K:()=>f});var D=b(576);function f(se){return se&&(0,D.m)(se.schedule)}},4482:(Ye,me,b)=>{b.d(me,{A:()=>f,e:()=>se});var D=b(576);function f(J){return(0,D.m)(J?.lift)}function se(J){return $=>{if(f($))return $.lift(function(Q){try{return J(Q,this)}catch(Y){this.error(Y)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(Ye,me,b)=>{b.d(me,{Z:()=>J});var D=b(4004);const{isArray:f}=Array;function J($){return(0,D.U)(Q=>function se($,Q){return f(Q)?$(...Q):$(Q)}($,Q))}},5032:(Ye,me,b)=>{function D(){}b.d(me,{Z:()=>D})},7849:(Ye,me,b)=>{b.d(me,{h:()=>se});var D=b(2416),f=b(3410);function se(J){f.z.setTimeout(()=>{const{onUnhandledError:$}=D.v;if(!$)throw J;$(J)})}},4532:(Ye,me,b)=>{function D(f){return new TypeError(`You provided ${null!==f&&"object"==typeof f?"an invalid object":`'${f}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}b.d(me,{z:()=>D})},655:(Ye,me,b)=>{function re(N,B,ee,le){return new(ee||(ee=Promise))(function(Oe,st){function pt(Gt){try{ze(le.next(Gt))}catch(gn){st(gn)}}function gt(Gt){try{ze(le.throw(Gt))}catch(gn){st(gn)}}function ze(Gt){Gt.done?Oe(Gt.value):function fe(Oe){return Oe instanceof ee?Oe:new ee(function(st){st(Oe)})}(Gt.value).then(pt,gt)}ze((le=le.apply(N,B||[])).next())})}function Ee(N){return this instanceof Ee?(this.v=N,this):new Ee(N)}function Ne(N,B,ee){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var fe,le=ee.apply(N,B||[]),Oe=[];return fe={},st("next"),st("throw"),st("return"),fe[Symbol.asyncIterator]=function(){return this},fe;function st(xe){le[xe]&&(fe[xe]=function(Pe){return new Promise(function(Z,ge){Oe.push([xe,Pe,Z,ge])>1||pt(xe,Pe)})})}function pt(xe,Pe){try{!function gt(xe){xe.value instanceof Ee?Promise.resolve(xe.value.v).then(ze,Gt):gn(Oe[0][2],xe)}(le[xe](Pe))}catch(Z){gn(Oe[0][3],Z)}}function ze(xe){pt("next",xe)}function Gt(xe){pt("throw",xe)}function gn(xe,Pe){xe(Pe),Oe.shift(),Oe.length&&pt(Oe[0][0],Oe[0][1])}}function Ae(N){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ee,B=N[Symbol.asyncIterator];return B?B.call(N):(N=function K(N){var B="function"==typeof Symbol&&Symbol.iterator,ee=B&&N[B],le=0;if(ee)return ee.call(N);if(N&&"number"==typeof N.length)return{next:function(){return N&&le>=N.length&&(N=void 0),{value:N&&N[le++],done:!N}}};throw new TypeError(B?"Object is not iterable.":"Symbol.iterator is not defined.")}(N),ee={},le("next"),le("throw"),le("return"),ee[Symbol.asyncIterator]=function(){return this},ee);function le(Oe){ee[Oe]=N[Oe]&&function(st){return new Promise(function(pt,gt){!function fe(Oe,st,pt,gt){Promise.resolve(gt).then(function(ze){Oe({value:ze,done:pt})},st)}(pt,gt,(st=N[Oe](st)).done,st.value)})}}}b.d(me,{FC:()=>Ne,KL:()=>Ae,mG:()=>re,qq:()=>Ee})},7340:(Ye,me,b)=>{b.d(me,{F4:()=>de,IO:()=>ye,LC:()=>f,SB:()=>te,X$:()=>J,ZE:()=>Je,ZN:()=>Ne,_j:()=>D,eR:()=>X,jt:()=>$,k1:()=>Ae,l3:()=>se,oB:()=>re,pV:()=>ke,ru:()=>Q,vP:()=>Y});class D{}class f{}const se="*";function J(he,P){return{type:7,name:he,definitions:P,options:{}}}function $(he,P=null){return{type:4,styles:P,timings:he}}function Q(he,P=null){return{type:3,steps:he,options:P}}function Y(he,P=null){return{type:2,steps:he,options:P}}function re(he){return{type:6,styles:he,offset:null}}function te(he,P,q){return{type:0,name:he,styles:P,options:q}}function de(he){return{type:5,steps:he}}function X(he,P,q=null){return{type:1,expr:he,animation:P,options:q}}function ke(he=null){return{type:9,options:he}}function ye(he,P,q=null){return{type:11,selector:he,animation:P,options:q}}function Ee(he){Promise.resolve(null).then(he)}class Ne{constructor(P=0,q=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=P+q}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(P=>P()),this._onDoneFns=[])}onStart(P){this._originalOnStartFns.push(P),this._onStartFns.push(P)}onDone(P){this._originalOnDoneFns.push(P),this._onDoneFns.push(P)}onDestroy(P){this._onDestroyFns.push(P)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Ee(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(P=>P()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(P=>P()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(P){this._position=this.totalTime?P*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(P){const q="start"==P?this._onStartFns:this._onDoneFns;q.forEach(ue=>ue()),q.length=0}}class Je{constructor(P){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=P;let q=0,ue=0,ie=0;const oe=this.players.length;0==oe?Ee(()=>this._onFinish()):this.players.forEach(Ce=>{Ce.onDone(()=>{++q==oe&&this._onFinish()}),Ce.onDestroy(()=>{++ue==oe&&this._onDestroy()}),Ce.onStart(()=>{++ie==oe&&this._onStart()})}),this.totalTime=this.players.reduce((Ce,N)=>Math.max(Ce,N.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(P=>P()),this._onDoneFns=[])}init(){this.players.forEach(P=>P.init())}onStart(P){this._onStartFns.push(P)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(P=>P()),this._onStartFns=[])}onDone(P){this._onDoneFns.push(P)}onDestroy(P){this._onDestroyFns.push(P)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(P=>P.play())}pause(){this.players.forEach(P=>P.pause())}restart(){this.players.forEach(P=>P.restart())}finish(){this._onFinish(),this.players.forEach(P=>P.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(P=>P.destroy()),this._onDestroyFns.forEach(P=>P()),this._onDestroyFns=[])}reset(){this.players.forEach(P=>P.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(P){const q=P*this.totalTime;this.players.forEach(ue=>{const ie=ue.totalTime?Math.min(1,q/ue.totalTime):1;ue.setPosition(ie)})}getPosition(){const P=this.players.reduce((q,ue)=>null===q||ue.totalTime>q.totalTime?ue:q,null);return null!=P?P.getPosition():0}beforeDestroy(){this.players.forEach(P=>{P.beforeDestroy&&P.beforeDestroy()})}triggerCallback(P){const q="start"==P?this._onStartFns:this._onDoneFns;q.forEach(ue=>ue()),q.length=0}}const Ae="!"},6895:(Ye,me,b)=>{b.d(me,{$G:()=>mr,Do:()=>he,ED:()=>jn,EM:()=>Ir,HT:()=>$,JF:()=>Tn,JJ:()=>qn,K0:()=>Y,Mx:()=>Ks,NF:()=>ls,O5:()=>an,Ov:()=>yr,PC:()=>Gr,RF:()=>Kn,S$:()=>Ee,Ts:()=>Ci,V_:()=>de,Ye:()=>P,b0:()=>Ae,bD:()=>yn,ez:()=>Ho,mk:()=>Vr,n9:()=>mn,q:()=>se,sg:()=>ar,tP:()=>Ys,uU:()=>Mr,w_:()=>Q});var D=b(4650);let f=null;function se(){return f}function $(v){f||(f=v)}class Q{}const Y=new D.OlP("DocumentToken");let re=(()=>{class v{historyGo(_){throw new Error("Not implemented")}}return v.\u0275fac=function(_){return new(_||v)},v.\u0275prov=D.Yz7({token:v,factory:function(){return function te(){return(0,D.LFG)(X)}()},providedIn:"platform"}),v})();const de=new D.OlP("Location Initialized");let X=(()=>{class v extends re{constructor(_){super(),this._doc=_,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return se().getBaseHref(this._doc)}onPopState(_){const I=se().getGlobalEventTarget(this._doc,"window");return I.addEventListener("popstate",_,!1),()=>I.removeEventListener("popstate",_)}onHashChange(_){const I=se().getGlobalEventTarget(this._doc,"window");return I.addEventListener("hashchange",_,!1),()=>I.removeEventListener("hashchange",_)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(_){this.location.pathname=_}pushState(_,I,U){K()?this._history.pushState(_,I,U):this.location.hash=U}replaceState(_,I,U){K()?this._history.replaceState(_,I,U):this.location.hash=U}forward(){this._history.forward()}back(){this._history.back()}historyGo(_=0){this._history.go(_)}getState(){return this._history.state}}return v.\u0275fac=function(_){return new(_||v)(D.LFG(Y))},v.\u0275prov=D.Yz7({token:v,factory:function(){return function ke(){return new X((0,D.LFG)(Y))}()},providedIn:"platform"}),v})();function K(){return!!window.history.pushState}function De(v,S){if(0==v.length)return S;if(0==S.length)return v;let _=0;return v.endsWith("/")&&_++,S.startsWith("/")&&_++,2==_?v+S.substring(1):1==_?v+S:v+"/"+S}function ye(v){const S=v.match(/#|\?|$/),_=S&&S.index||v.length;return v.slice(0,_-("/"===v[_-1]?1:0))+v.slice(_)}function Re(v){return v&&"?"!==v[0]?"?"+v:v}let Ee=(()=>{class v{historyGo(_){throw new Error("Not implemented")}}return v.\u0275fac=function(_){return new(_||v)},v.\u0275prov=D.Yz7({token:v,factory:function(){return function Ne(){const v=(0,D.LFG)(Y).location;return new Ae((0,D.LFG)(re),v&&v.origin||"")}()},providedIn:"root"}),v})();const Je=new D.OlP("appBaseHref");let Ae=(()=>{class v extends Ee{constructor(_,I){if(super(),this._platformLocation=_,this._removeListenerFns=[],null==I&&(I=this._platformLocation.getBaseHrefFromDOM()),null==I)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=I}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}prepareExternalUrl(_){return De(this._baseHref,_)}path(_=!1){const I=this._platformLocation.pathname+Re(this._platformLocation.search),U=this._platformLocation.hash;return U&&_?`${I}${U}`:I}pushState(_,I,U,ve){const pe=this.prepareExternalUrl(U+Re(ve));this._platformLocation.pushState(_,I,pe)}replaceState(_,I,U,ve){const pe=this.prepareExternalUrl(U+Re(ve));this._platformLocation.replaceState(_,I,pe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}}return v.\u0275fac=function(_){return new(_||v)(D.LFG(re),D.LFG(Je,8))},v.\u0275prov=D.Yz7({token:v,factory:v.\u0275fac}),v})(),he=(()=>{class v extends Ee{constructor(_,I){super(),this._platformLocation=_,this._baseHref="",this._removeListenerFns=[],null!=I&&(this._baseHref=I)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}path(_=!1){let I=this._platformLocation.hash;return null==I&&(I="#"),I.length>0?I.substring(1):I}prepareExternalUrl(_){const I=De(this._baseHref,_);return I.length>0?"#"+I:I}pushState(_,I,U,ve){let pe=this.prepareExternalUrl(U+Re(ve));0==pe.length&&(pe=this._platformLocation.pathname),this._platformLocation.pushState(_,I,pe)}replaceState(_,I,U,ve){let pe=this.prepareExternalUrl(U+Re(ve));0==pe.length&&(pe=this._platformLocation.pathname),this._platformLocation.replaceState(_,I,pe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(_=0){this._platformLocation.historyGo?.(_)}}return v.\u0275fac=function(_){return new(_||v)(D.LFG(re),D.LFG(Je,8))},v.\u0275prov=D.Yz7({token:v,factory:v.\u0275fac}),v})(),P=(()=>{class v{constructor(_){this._subject=new D.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=_;const I=this._locationStrategy.getBaseHref();this._baseHref=ye(ie(I)),this._locationStrategy.onPopState(U=>{this._subject.emit({url:this.path(!0),pop:!0,state:U.state,type:U.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(_=!1){return this.normalize(this._locationStrategy.path(_))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(_,I=""){return this.path()==this.normalize(_+Re(I))}normalize(_){return v.stripTrailingSlash(function ue(v,S){return v&&S.startsWith(v)?S.substring(v.length):S}(this._baseHref,ie(_)))}prepareExternalUrl(_){return _&&"/"!==_[0]&&(_="/"+_),this._locationStrategy.prepareExternalUrl(_)}go(_,I="",U=null){this._locationStrategy.pushState(U,"",_,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+Re(I)),U)}replaceState(_,I="",U=null){this._locationStrategy.replaceState(U,"",_,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+Re(I)),U)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(_=0){this._locationStrategy.historyGo?.(_)}onUrlChange(_){return this._urlChangeListeners.push(_),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(I=>{this._notifyUrlChangeListeners(I.url,I.state)})),()=>{const I=this._urlChangeListeners.indexOf(_);this._urlChangeListeners.splice(I,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(_="",I){this._urlChangeListeners.forEach(U=>U(_,I))}subscribe(_,I,U){return this._subject.subscribe({next:_,error:I,complete:U})}}return v.normalizeQueryParams=Re,v.joinWithSlash=De,v.stripTrailingSlash=ye,v.\u0275fac=function(_){return new(_||v)(D.LFG(Ee))},v.\u0275prov=D.Yz7({token:v,factory:function(){return function q(){return new P((0,D.LFG)(Ee))}()},providedIn:"root"}),v})();function ie(v){return v.replace(/\/index.html$/,"")}var Ce=(()=>((Ce=Ce||{})[Ce.Decimal=0]="Decimal",Ce[Ce.Percent=1]="Percent",Ce[Ce.Currency=2]="Currency",Ce[Ce.Scientific=3]="Scientific",Ce))(),B=(()=>((B=B||{})[B.Format=0]="Format",B[B.Standalone=1]="Standalone",B))(),ee=(()=>((ee=ee||{})[ee.Narrow=0]="Narrow",ee[ee.Abbreviated=1]="Abbreviated",ee[ee.Wide=2]="Wide",ee[ee.Short=3]="Short",ee))(),le=(()=>((le=le||{})[le.Short=0]="Short",le[le.Medium=1]="Medium",le[le.Long=2]="Long",le[le.Full=3]="Full",le))(),fe=(()=>((fe=fe||{})[fe.Decimal=0]="Decimal",fe[fe.Group=1]="Group",fe[fe.List=2]="List",fe[fe.PercentSign=3]="PercentSign",fe[fe.PlusSign=4]="PlusSign",fe[fe.MinusSign=5]="MinusSign",fe[fe.Exponential=6]="Exponential",fe[fe.SuperscriptingExponent=7]="SuperscriptingExponent",fe[fe.PerMille=8]="PerMille",fe[fe.Infinity=9]="Infinity",fe[fe.NaN=10]="NaN",fe[fe.TimeSeparator=11]="TimeSeparator",fe[fe.CurrencyDecimal=12]="CurrencyDecimal",fe[fe.CurrencyGroup=13]="CurrencyGroup",fe))();function Pe(v,S){return tt((0,D.cg1)(v)[D.wAp.DateFormat],S)}function Z(v,S){return tt((0,D.cg1)(v)[D.wAp.TimeFormat],S)}function ge(v,S){return tt((0,D.cg1)(v)[D.wAp.DateTimeFormat],S)}function Ue(v,S){const _=(0,D.cg1)(v),I=_[D.wAp.NumberSymbols][S];if(typeof I>"u"){if(S===fe.CurrencyDecimal)return _[D.wAp.NumberSymbols][fe.Decimal];if(S===fe.CurrencyGroup)return _[D.wAp.NumberSymbols][fe.Group]}return I}function Rn(v){if(!v[D.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${v[D.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function tt(v,S){for(let _=S;_>-1;_--)if(typeof v[_]<"u")return v[_];throw new Error("Locale data API: locale data undefined")}function dn(v){const[S,_]=v.split(":");return{hours:+S,minutes:+_}}const we=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,V={},G=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Te=(()=>((Te=Te||{})[Te.Short=0]="Short",Te[Te.ShortGMT=1]="ShortGMT",Te[Te.Long=2]="Long",Te[Te.Extended=3]="Extended",Te))(),ne=(()=>((ne=ne||{})[ne.FullYear=0]="FullYear",ne[ne.Month=1]="Month",ne[ne.Date=2]="Date",ne[ne.Hours=3]="Hours",ne[ne.Minutes=4]="Minutes",ne[ne.Seconds=5]="Seconds",ne[ne.FractionalSeconds=6]="FractionalSeconds",ne[ne.Day=7]="Day",ne))(),je=(()=>((je=je||{})[je.DayPeriods=0]="DayPeriods",je[je.Days=1]="Days",je[je.Months=2]="Months",je[je.Eras=3]="Eras",je))();function Ot(v,S,_,I){let U=function Yt(v){if(Wt(v))return v;if("number"==typeof v&&!isNaN(v))return new Date(v);if("string"==typeof v){if(v=v.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(v)){const[U,ve=1,pe=1]=v.split("-").map(rt=>+rt);return At(U,ve-1,pe)}const _=parseFloat(v);if(!isNaN(v-_))return new Date(_);let I;if(I=v.match(we))return function hn(v){const S=new Date(0);let _=0,I=0;const U=v[8]?S.setUTCFullYear:S.setFullYear,ve=v[8]?S.setUTCHours:S.setHours;v[9]&&(_=Number(v[9]+v[10]),I=Number(v[9]+v[11])),U.call(S,Number(v[1]),Number(v[2])-1,Number(v[3]));const pe=Number(v[4]||0)-_,rt=Number(v[5]||0)-I,kt=Number(v[6]||0),xt=Math.floor(1e3*parseFloat("0."+(v[7]||0)));return ve.call(S,pe,rt,kt,xt),S}(I)}const S=new Date(v);if(!Wt(S))throw new Error(`Unable to convert "${v}" into a date`);return S}(v);S=Le(_,S)||S;let rt,pe=[];for(;S;){if(rt=G.exec(S),!rt){pe.push(S);break}{pe=pe.concat(rt.slice(1));const Ut=pe.pop();if(!Ut)break;S=Ut}}let kt=U.getTimezoneOffset();I&&(kt=Er(I,kt),U=function at(v,S,_){const I=_?-1:1,U=v.getTimezoneOffset();return function It(v,S){return(v=new Date(v.getTime())).setMinutes(v.getMinutes()+S),v}(v,I*(Er(S,U)-U))}(U,I,!0));let xt="";return pe.forEach(Ut=>{const St=function ss(v){if(Rr[v])return Rr[v];let S;switch(v){case"G":case"GG":case"GGG":S=nt(je.Eras,ee.Abbreviated);break;case"GGGG":S=nt(je.Eras,ee.Wide);break;case"GGGGG":S=nt(je.Eras,ee.Narrow);break;case"y":S=Mt(ne.FullYear,1,0,!1,!0);break;case"yy":S=Mt(ne.FullYear,2,0,!0,!0);break;case"yyy":S=Mt(ne.FullYear,3,0,!1,!0);break;case"yyyy":S=Mt(ne.FullYear,4,0,!1,!0);break;case"Y":S=xr(1);break;case"YY":S=xr(2,!0);break;case"YYY":S=xr(3);break;case"YYYY":S=xr(4);break;case"M":case"L":S=Mt(ne.Month,1,1);break;case"MM":case"LL":S=Mt(ne.Month,2,1);break;case"MMM":S=nt(je.Months,ee.Abbreviated);break;case"MMMM":S=nt(je.Months,ee.Wide);break;case"MMMMM":S=nt(je.Months,ee.Narrow);break;case"LLL":S=nt(je.Months,ee.Abbreviated,B.Standalone);break;case"LLLL":S=nt(je.Months,ee.Wide,B.Standalone);break;case"LLLLL":S=nt(je.Months,ee.Narrow,B.Standalone);break;case"w":S=Cr(1);break;case"ww":S=Cr(2);break;case"W":S=Cr(1,!0);break;case"d":S=Mt(ne.Date,1);break;case"dd":S=Mt(ne.Date,2);break;case"c":case"cc":S=Mt(ne.Day,1);break;case"ccc":S=nt(je.Days,ee.Abbreviated,B.Standalone);break;case"cccc":S=nt(je.Days,ee.Wide,B.Standalone);break;case"ccccc":S=nt(je.Days,ee.Narrow,B.Standalone);break;case"cccccc":S=nt(je.Days,ee.Short,B.Standalone);break;case"E":case"EE":case"EEE":S=nt(je.Days,ee.Abbreviated);break;case"EEEE":S=nt(je.Days,ee.Wide);break;case"EEEEE":S=nt(je.Days,ee.Narrow);break;case"EEEEEE":S=nt(je.Days,ee.Short);break;case"a":case"aa":case"aaa":S=nt(je.DayPeriods,ee.Abbreviated);break;case"aaaa":S=nt(je.DayPeriods,ee.Wide);break;case"aaaaa":S=nt(je.DayPeriods,ee.Narrow);break;case"b":case"bb":case"bbb":S=nt(je.DayPeriods,ee.Abbreviated,B.Standalone,!0);break;case"bbbb":S=nt(je.DayPeriods,ee.Wide,B.Standalone,!0);break;case"bbbbb":S=nt(je.DayPeriods,ee.Narrow,B.Standalone,!0);break;case"B":case"BB":case"BBB":S=nt(je.DayPeriods,ee.Abbreviated,B.Format,!0);break;case"BBBB":S=nt(je.DayPeriods,ee.Wide,B.Format,!0);break;case"BBBBB":S=nt(je.DayPeriods,ee.Narrow,B.Format,!0);break;case"h":S=Mt(ne.Hours,1,-12);break;case"hh":S=Mt(ne.Hours,2,-12);break;case"H":S=Mt(ne.Hours,1);break;case"HH":S=Mt(ne.Hours,2);break;case"m":S=Mt(ne.Minutes,1);break;case"mm":S=Mt(ne.Minutes,2);break;case"s":S=Mt(ne.Seconds,1);break;case"ss":S=Mt(ne.Seconds,2);break;case"S":S=Mt(ne.FractionalSeconds,1);break;case"SS":S=Mt(ne.FractionalSeconds,2);break;case"SSS":S=Mt(ne.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":S=kn(Te.Short);break;case"ZZZZZ":S=kn(Te.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":S=kn(Te.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":S=kn(Te.Long);break;default:return null}return Rr[v]=S,S}(Ut);xt+=St?St(U,_,kt):"''"===Ut?"'":Ut.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),xt}function At(v,S,_){const I=new Date(0);return I.setFullYear(v,S,_),I.setHours(0,0,0),I}function Le(v,S){const _=function st(v){return(0,D.cg1)(v)[D.wAp.LocaleId]}(v);if(V[_]=V[_]||{},V[_][S])return V[_][S];let I="";switch(S){case"shortDate":I=Pe(v,le.Short);break;case"mediumDate":I=Pe(v,le.Medium);break;case"longDate":I=Pe(v,le.Long);break;case"fullDate":I=Pe(v,le.Full);break;case"shortTime":I=Z(v,le.Short);break;case"mediumTime":I=Z(v,le.Medium);break;case"longTime":I=Z(v,le.Long);break;case"fullTime":I=Z(v,le.Full);break;case"short":const U=Le(v,"shortTime"),ve=Le(v,"shortDate");I=Nt(ge(v,le.Short),[U,ve]);break;case"medium":const pe=Le(v,"mediumTime"),rt=Le(v,"mediumDate");I=Nt(ge(v,le.Medium),[pe,rt]);break;case"long":const kt=Le(v,"longTime"),xt=Le(v,"longDate");I=Nt(ge(v,le.Long),[kt,xt]);break;case"full":const Ut=Le(v,"fullTime"),St=Le(v,"fullDate");I=Nt(ge(v,le.Full),[Ut,St])}return I&&(V[_][S]=I),I}function Nt(v,S){return S&&(v=v.replace(/\{([^}]+)}/g,function(_,I){return null!=S&&I in S?S[I]:_})),v}function zt(v,S,_="-",I,U){let ve="";(v<0||U&&v<=0)&&(U?v=1-v:(v=-v,ve=_));let pe=String(v);for(;pe.length<S;)pe="0"+pe;return I&&(pe=pe.slice(pe.length-S)),ve+pe}function Mt(v,S,_=0,I=!1,U=!1){return function(ve,pe){let rt=function ct(v,S){switch(v){case ne.FullYear:return S.getFullYear();case ne.Month:return S.getMonth();case ne.Date:return S.getDate();case ne.Hours:return S.getHours();case ne.Minutes:return S.getMinutes();case ne.Seconds:return S.getSeconds();case ne.FractionalSeconds:return S.getMilliseconds();case ne.Day:return S.getDay();default:throw new Error(`Unknown DateType value "${v}".`)}}(v,ve);if((_>0||rt>-_)&&(rt+=_),v===ne.Hours)0===rt&&-12===_&&(rt=12);else if(v===ne.FractionalSeconds)return function fn(v,S){return zt(v,3).substring(0,S)}(rt,S);const kt=Ue(pe,fe.MinusSign);return zt(rt,S,kt,I,U)}}function nt(v,S,_=B.Format,I=!1){return function(U,ve){return function Fn(v,S,_,I,U,ve){switch(_){case je.Months:return function ze(v,S,_){const I=(0,D.cg1)(v),ve=tt([I[D.wAp.MonthsFormat],I[D.wAp.MonthsStandalone]],S);return tt(ve,_)}(S,U,I)[v.getMonth()];case je.Days:return function gt(v,S,_){const I=(0,D.cg1)(v),ve=tt([I[D.wAp.DaysFormat],I[D.wAp.DaysStandalone]],S);return tt(ve,_)}(S,U,I)[v.getDay()];case je.DayPeriods:const pe=v.getHours(),rt=v.getMinutes();if(ve){const xt=function Nn(v){const S=(0,D.cg1)(v);return Rn(S),(S[D.wAp.ExtraData][2]||[]).map(I=>"string"==typeof I?dn(I):[dn(I[0]),dn(I[1])])}(S),Ut=function ot(v,S,_){const I=(0,D.cg1)(v);Rn(I);const ve=tt([I[D.wAp.ExtraData][0],I[D.wAp.ExtraData][1]],S)||[];return tt(ve,_)||[]}(S,U,I),St=xt.findIndex(un=>{if(Array.isArray(un)){const[Lt,qt]=un,Se=pe>=Lt.hours&&rt>=Lt.minutes,_t=pe<qt.hours||pe===qt.hours&&rt<qt.minutes;if(Lt.hours<qt.hours){if(Se&&_t)return!0}else if(Se||_t)return!0}else if(un.hours===pe&&un.minutes===rt)return!0;return!1});if(-1!==St)return Ut[St]}return function pt(v,S,_){const I=(0,D.cg1)(v),ve=tt([I[D.wAp.DayPeriodsFormat],I[D.wAp.DayPeriodsStandalone]],S);return tt(ve,_)}(S,U,I)[pe<12?0:1];case je.Eras:return function Gt(v,S){return tt((0,D.cg1)(v)[D.wAp.Eras],S)}(S,I)[v.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${_}`)}}(U,ve,v,S,_,I)}}function kn(v){return function(S,_,I){const U=-1*I,ve=Ue(_,fe.MinusSign),pe=U>0?Math.floor(U/60):Math.ceil(U/60);switch(v){case Te.Short:return(U>=0?"+":"")+zt(pe,2,ve)+zt(Math.abs(U%60),2,ve);case Te.ShortGMT:return"GMT"+(U>=0?"+":"")+zt(pe,1,ve);case Te.Long:return"GMT"+(U>=0?"+":"")+zt(pe,2,ve)+":"+zt(Math.abs(U%60),2,ve);case Te.Extended:return 0===I?"Z":(U>=0?"+":"")+zt(pe,2,ve)+":"+zt(Math.abs(U%60),2,ve);default:throw new Error(`Unknown zone width "${v}"`)}}}function Ur(v){return At(v.getFullYear(),v.getMonth(),v.getDate()+(4-v.getDay()))}function Cr(v,S=!1){return function(_,I){let U;if(S){const ve=new Date(_.getFullYear(),_.getMonth(),1).getDay()-1,pe=_.getDate();U=1+Math.floor((pe+ve)/7)}else{const ve=Ur(_),pe=function Or(v){const S=At(v,0,1).getDay();return At(v,0,1+(S<=4?4:11)-S)}(ve.getFullYear()),rt=ve.getTime()-pe.getTime();U=1+Math.round(rt/6048e5)}return zt(U,v,Ue(I,fe.MinusSign))}}function xr(v,S=!1){return function(_,I){return zt(Ur(_).getFullYear(),v,Ue(I,fe.MinusSign),S)}}const Rr={};function Er(v,S){v=v.replace(/:/g,"");const _=Date.parse("Jan 01, 1970 00:00:00 "+v)/6e4;return isNaN(_)?S:_}function Wt(v){return v instanceof Date&&!isNaN(v.valueOf())}const Ge=/^(\d+)?\.((\d+)(-(\d+))?)?$/,W=".",L="0";function pr(v){const S=parseInt(v);if(isNaN(S))throw new Error("Invalid integer literal when parsing "+v);return S}function Ks(v,S){S=encodeURIComponent(S);for(const _ of v.split(";")){const I=_.indexOf("="),[U,ve]=-1==I?[_,""]:[_.slice(0,I),_.slice(I+1)];if(U.trim()===S)return decodeURIComponent(ve)}return null}let Vr=(()=>{class v{constructor(_,I,U,ve){this._iterableDiffers=_,this._keyValueDiffers=I,this._ngEl=U,this._renderer=ve,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(_){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof _?_.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(_){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof _?_.split(/\s+/):_,this._rawClass&&((0,D.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const _=this._iterableDiffer.diff(this._rawClass);_&&this._applyIterableChanges(_)}else if(this._keyValueDiffer){const _=this._keyValueDiffer.diff(this._rawClass);_&&this._applyKeyValueChanges(_)}}_applyKeyValueChanges(_){_.forEachAddedItem(I=>this._toggleClass(I.key,I.currentValue)),_.forEachChangedItem(I=>this._toggleClass(I.key,I.currentValue)),_.forEachRemovedItem(I=>{I.previousValue&&this._toggleClass(I.key,!1)})}_applyIterableChanges(_){_.forEachAddedItem(I=>{if("string"!=typeof I.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,D.AaK)(I.item)}`);this._toggleClass(I.item,!0)}),_.forEachRemovedItem(I=>this._toggleClass(I.item,!1))}_applyClasses(_){_&&(Array.isArray(_)||_ instanceof Set?_.forEach(I=>this._toggleClass(I,!0)):Object.keys(_).forEach(I=>this._toggleClass(I,!!_[I])))}_removeClasses(_){_&&(Array.isArray(_)||_ instanceof Set?_.forEach(I=>this._toggleClass(I,!1)):Object.keys(_).forEach(I=>this._toggleClass(I,!1)))}_toggleClass(_,I){(_=_.trim())&&_.split(/\s+/g).forEach(U=>{I?this._renderer.addClass(this._ngEl.nativeElement,U):this._renderer.removeClass(this._ngEl.nativeElement,U)})}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.ZZ4),D.Y36(D.aQg),D.Y36(D.SBq),D.Y36(D.Qsj))},v.\u0275dir=D.lG2({type:v,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),v})(),mr=(()=>{class v{constructor(_){this._viewContainerRef=_,this.ngComponentOutlet=null}ngOnChanges(_){const{_viewContainerRef:I,ngComponentOutletNgModule:U,ngComponentOutletNgModuleFactory:ve}=this;if(I.clear(),this._componentRef=void 0,this.ngComponentOutlet){const pe=this.ngComponentOutletInjector||I.parentInjector;(_.ngComponentOutletNgModule||_.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=U?(0,D.hM9)(U,Ln(pe)):ve?ve.create(Ln(pe)):void 0),this._componentRef=I.createComponent(this.ngComponentOutlet,{index:I.length,injector:pe,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.s_b))},v.\u0275dir=D.lG2({type:v,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[D.TTD]}),v})();function Ln(v){return v.get(D.h0i).injector}class br{constructor(S,_,I,U){this.$implicit=S,this.ngForOf=_,this.index=I,this.count=U}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ar=(()=>{class v{constructor(_,I,U){this._viewContainer=_,this._template=I,this._differs=U,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(_){this._ngForOf=_,this._ngForOfDirty=!0}set ngForTrackBy(_){this._trackByFn=_}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(_){_&&(this._template=_)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const _=this._ngForOf;!this._differ&&_&&(this._differ=this._differs.find(_).create(this.ngForTrackBy))}if(this._differ){const _=this._differ.diff(this._ngForOf);_&&this._applyChanges(_)}}_applyChanges(_){const I=this._viewContainer;_.forEachOperation((U,ve,pe)=>{if(null==U.previousIndex)I.createEmbeddedView(this._template,new br(U.item,this._ngForOf,-1,-1),null===pe?void 0:pe);else if(null==pe)I.remove(null===ve?void 0:ve);else if(null!==ve){const rt=I.get(ve);I.move(rt,pe),on(rt,U)}});for(let U=0,ve=I.length;U<ve;U++){const rt=I.get(U).context;rt.index=U,rt.count=ve,rt.ngForOf=this._ngForOf}_.forEachIdentityChange(U=>{on(I.get(U.currentIndex),U)})}static ngTemplateContextGuard(_,I){return!0}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.s_b),D.Y36(D.Rgc),D.Y36(D.ZZ4))},v.\u0275dir=D.lG2({type:v,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),v})();function on(v,S){v.context.$implicit=S.item}let an=(()=>{class v{constructor(_,I){this._viewContainer=_,this._context=new Dn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=I}set ngIf(_){this._context.$implicit=this._context.ngIf=_,this._updateView()}set ngIfThen(_){Wn("ngIfThen",_),this._thenTemplateRef=_,this._thenViewRef=null,this._updateView()}set ngIfElse(_){Wn("ngIfElse",_),this._elseTemplateRef=_,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(_,I){return!0}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.s_b),D.Y36(D.Rgc))},v.\u0275dir=D.lG2({type:v,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),v})();class Dn{constructor(){this.$implicit=null,this.ngIf=null}}function Wn(v,S){if(S&&!S.createEmbeddedView)throw new Error(`${v} must be a TemplateRef, but received '${(0,D.AaK)(S)}'.`)}class Bn{constructor(S,_){this._viewContainerRef=S,this._templateRef=_,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(S){S&&!this._created?this.create():!S&&this._created&&this.destroy()}}let Kn=(()=>{class v{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(_){this._ngSwitch=_,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(_){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(_)}_matchCase(_){const I=_==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||I,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),I}_updateDefaultCases(_){if(this._defaultViews&&_!==this._defaultUsed){this._defaultUsed=_;for(let I=0;I<this._defaultViews.length;I++)this._defaultViews[I].enforceState(_)}}}return v.\u0275fac=function(_){return new(_||v)},v.\u0275dir=D.lG2({type:v,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),v})(),mn=(()=>{class v{constructor(_,I,U){this.ngSwitch=U,U._addCase(),this._view=new Bn(_,I)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.s_b),D.Y36(D.Rgc),D.Y36(Kn,9))},v.\u0275dir=D.lG2({type:v,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),v})(),jn=(()=>{class v{constructor(_,I,U){U._addDefault(new Bn(_,I))}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.s_b),D.Y36(D.Rgc),D.Y36(Kn,9))},v.\u0275dir=D.lG2({type:v,selectors:[["","ngSwitchDefault",""]]}),v})(),Gr=(()=>{class v{constructor(_,I,U){this._ngEl=_,this._differs=I,this._renderer=U,this._ngStyle=null,this._differ=null}set ngStyle(_){this._ngStyle=_,!this._differ&&_&&(this._differ=this._differs.find(_).create())}ngDoCheck(){if(this._differ){const _=this._differ.diff(this._ngStyle);_&&this._applyChanges(_)}}_setStyle(_,I){const[U,ve]=_.split("."),pe=-1===U.indexOf("-")?void 0:D.JOm.DashCase;null!=I?this._renderer.setStyle(this._ngEl.nativeElement,U,ve?`${I}${ve}`:I,pe):this._renderer.removeStyle(this._ngEl.nativeElement,U,pe)}_applyChanges(_){_.forEachRemovedItem(I=>this._setStyle(I.key,null)),_.forEachAddedItem(I=>this._setStyle(I.key,I.currentValue)),_.forEachChangedItem(I=>this._setStyle(I.key,I.currentValue))}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.SBq),D.Y36(D.aQg),D.Y36(D.Qsj))},v.\u0275dir=D.lG2({type:v,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),v})(),Ys=(()=>{class v{constructor(_){this._viewContainerRef=_,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(_){if(_.ngTemplateOutlet||_.ngTemplateOutletInjector){const I=this._viewContainerRef;if(this._viewRef&&I.remove(I.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:U,ngTemplateOutletContext:ve,ngTemplateOutletInjector:pe}=this;this._viewRef=I.createEmbeddedView(U,ve,pe?{injector:pe}:void 0)}else this._viewRef=null}else this._viewRef&&_.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.s_b))},v.\u0275dir=D.lG2({type:v,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[D.TTD]}),v})();function Hn(v,S){return new D.vHH(2100,!1)}class Yn{createSubscription(S,_){return S.subscribe({next:_,error:I=>{throw I}})}dispose(S){S.unsubscribe()}}class Wr{createSubscription(S,_){return S.then(_,I=>{throw I})}dispose(S){}}const Ms=new Wr,Qn=new Yn;let yr=(()=>{class v{constructor(_){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=_}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(_){return this._obj?_!==this._obj?(this._dispose(),this.transform(_)):this._latestValue:(_&&this._subscribe(_),this._latestValue)}_subscribe(_){this._obj=_,this._strategy=this._selectStrategy(_),this._subscription=this._strategy.createSubscription(_,I=>this._updateLatestValue(_,I))}_selectStrategy(_){if((0,D.QGY)(_))return Ms;if((0,D.F4k)(_))return Qn;throw Hn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(_,I){_===this._obj&&(this._latestValue=I,this._ref.markForCheck())}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.sBO,16))},v.\u0275pipe=D.Yjl({name:"async",type:v,pure:!1}),v})();const Ss=new D.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Mr=(()=>{class v{constructor(_,I){this.locale=_,this.defaultTimezone=I}transform(_,I="mediumDate",U,ve){if(null==_||""===_||_!=_)return null;try{return Ot(_,I,ve||this.locale,U??this.defaultTimezone??void 0)}catch(pe){throw Hn()}}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.soG,16),D.Y36(Ss,24))},v.\u0275pipe=D.Yjl({name:"date",type:v,pure:!0}),v})(),Ci=(()=>{class v{transform(_){return JSON.stringify(_,null,2)}}return v.\u0275fac=function(_){return new(_||v)},v.\u0275pipe=D.Yjl({name:"json",type:v,pure:!1}),v})(),qn=(()=>{class v{constructor(_){this._locale=_}transform(_,I,U){if(!function os(v){return!(null==v||""===v||v!=v)}(_))return null;U=U||this._locale;try{return function or(v,S,_){return function Ft(v,S,_,I,U,ve,pe=!1){let rt="",kt=!1;if(isFinite(v)){let xt=function sn(v){let I,U,ve,pe,rt,S=Math.abs(v)+"",_=0;for((U=S.indexOf(W))>-1&&(S=S.replace(W,"")),(ve=S.search(/e/i))>0?(U<0&&(U=ve),U+=+S.slice(ve+1),S=S.substring(0,ve)):U<0&&(U=S.length),ve=0;S.charAt(ve)===L;ve++);if(ve===(rt=S.length))I=[0],U=1;else{for(rt--;S.charAt(rt)===L;)rt--;for(U-=ve,I=[],pe=0;ve<=rt;ve++,pe++)I[pe]=Number(S.charAt(ve))}return U>22&&(I=I.splice(0,21),_=U-1,U=1),{digits:I,exponent:_,integerLen:U}}(v);pe&&(xt=function hr(v){if(0===v.digits[0])return v;const S=v.digits.length-v.integerLen;return v.exponent?v.exponent+=2:(0===S?v.digits.push(0,0):1===S&&v.digits.push(0),v.integerLen+=2),v}(xt));let Ut=S.minInt,St=S.minFrac,un=S.maxFrac;if(ve){const Jn=ve.match(Ge);if(null===Jn)throw new Error(`${ve} is not a valid digit info`);const Zt=Jn[1],Xn=Jn[3],kr=Jn[5];null!=Zt&&(Ut=pr(Zt)),null!=Xn&&(St=pr(Xn)),null!=kr?un=pr(kr):null!=Xn&&St>un&&(un=St)}!function wr(v,S,_){if(S>_)throw new Error(`The minimum number of digits after fraction (${S}) is higher than the maximum (${_}).`);let I=v.digits,U=I.length-v.integerLen;const ve=Math.min(Math.max(S,U),_);let pe=ve+v.integerLen,rt=I[pe];if(pe>0){I.splice(Math.max(v.integerLen,pe));for(let St=pe;St<I.length;St++)I[St]=0}else{U=Math.max(0,U),v.integerLen=1,I.length=Math.max(1,pe=ve+1),I[0]=0;for(let St=1;St<pe;St++)I[St]=0}if(rt>=5)if(pe-1<0){for(let St=0;St>pe;St--)I.unshift(0),v.integerLen++;I.unshift(1),v.integerLen++}else I[pe-1]++;for(;U<Math.max(0,ve);U++)I.push(0);let kt=0!==ve;const xt=S+v.integerLen,Ut=I.reduceRight(function(St,un,Lt,qt){return qt[Lt]=(un+=St)<10?un:un-10,kt&&(0===qt[Lt]&&Lt>=xt?qt.pop():kt=!1),un>=10?1:0},0);Ut&&(I.unshift(Ut),v.integerLen++)}(xt,St,un);let Lt=xt.digits,qt=xt.integerLen;const Se=xt.exponent;let _t=[];for(kt=Lt.every(Jn=>!Jn);qt<Ut;qt++)Lt.unshift(0);for(;qt<0;qt++)Lt.unshift(0);qt>0?_t=Lt.splice(qt,Lt.length):(_t=Lt,Lt=[0]);const lr=[];for(Lt.length>=S.lgSize&&lr.unshift(Lt.splice(-S.lgSize,Lt.length).join(""));Lt.length>S.gSize;)lr.unshift(Lt.splice(-S.gSize,Lt.length).join(""));Lt.length&&lr.unshift(Lt.join("")),rt=lr.join(Ue(_,I)),_t.length&&(rt+=Ue(_,U)+_t.join("")),Se&&(rt+=Ue(_,fe.Exponential)+"+"+Se)}else rt=Ue(_,fe.Infinity);return rt=v<0&&!kt?S.negPre+rt+S.negSuf:S.posPre+rt+S.posSuf,rt}(v,function Nr(v,S="-"){const _={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},I=v.split(";"),U=I[0],ve=I[1],pe=-1!==U.indexOf(W)?U.split(W):[U.substring(0,U.lastIndexOf(L)+1),U.substring(U.lastIndexOf(L)+1)],rt=pe[0],kt=pe[1]||"";_.posPre=rt.substring(0,rt.indexOf("#"));for(let Ut=0;Ut<kt.length;Ut++){const St=kt.charAt(Ut);St===L?_.minFrac=_.maxFrac=Ut+1:"#"===St?_.maxFrac=Ut+1:_.posSuf+=St}const xt=rt.split(",");if(_.gSize=xt[1]?xt[1].length:0,_.lgSize=xt[2]||xt[1]?(xt[2]||xt[1]).length:0,ve){const Ut=U.length-_.posPre.length-_.posSuf.length,St=ve.indexOf("#");_.negPre=ve.substring(0,St).replace(/'/g,""),_.negSuf=ve.slice(St+Ut).replace(/'/g,"")}else _.negPre=S+_.posPre,_.negSuf=_.posSuf;return _}(function vt(v,S){return(0,D.cg1)(v)[D.wAp.NumberFormats][S]}(S,Ce.Decimal),Ue(S,fe.MinusSign)),S,fe.Group,fe.Decimal,_)}(function as(v){if("string"==typeof v&&!isNaN(Number(v)-parseFloat(v)))return Number(v);if("number"!=typeof v)throw new Error(`${v} is not a number`);return v}(_),U,I)}catch(ve){throw Hn()}}}return v.\u0275fac=function(_){return new(_||v)(D.Y36(D.soG,16))},v.\u0275pipe=D.Yjl({name:"number",type:v,pure:!0}),v})();let Ho=(()=>{class v{}return v.\u0275fac=function(_){return new(_||v)},v.\u0275mod=D.oAB({type:v}),v.\u0275inj=D.cJS({}),v})();const yn="browser";function ls(v){return v===yn}let Ir=(()=>{class v{}return v.\u0275prov=(0,D.Yz7)({token:v,providedIn:"root",factory:()=>new En((0,D.LFG)(Y),window)}),v})();class En{constructor(S,_){this.document=S,this.window=_,this.offset=()=>[0,0]}setOffset(S){this.offset=Array.isArray(S)?()=>S:S}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(S){this.supportsScrolling()&&this.window.scrollTo(S[0],S[1])}scrollToAnchor(S){if(!this.supportsScrolling())return;const _=function Ps(v,S){const _=v.getElementById(S)||v.getElementsByName(S)[0];if(_)return _;if("function"==typeof v.createTreeWalker&&v.body&&(v.body.createShadowRoot||v.body.attachShadow)){const I=v.createTreeWalker(v.body,NodeFilter.SHOW_ELEMENT);let U=I.currentNode;for(;U;){const ve=U.shadowRoot;if(ve){const pe=ve.getElementById(S)||ve.querySelector(`[name="${S}"]`);if(pe)return pe}U=I.nextNode()}}return null}(this.document,S);_&&(this.scrollToElement(_),_.focus())}setHistoryScrollRestoration(S){if(this.supportScrollRestoration()){const _=this.window.history;_&&_.scrollRestoration&&(_.scrollRestoration=S)}}scrollToElement(S){const _=S.getBoundingClientRect(),I=_.left+this.window.pageXOffset,U=_.top+this.window.pageYOffset,ve=this.offset();this.window.scrollTo(I-ve[0],U-ve[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const S=ni(this.window.history)||ni(Object.getPrototypeOf(this.window.history));return!(!S||!S.writable&&!S.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function ni(v){return Object.getOwnPropertyDescriptor(v,"scrollRestoration")}class Tn{}},529:(Ye,me,b)=>{b.d(me,{JF:()=>fr,TP:()=>st,eN:()=>fe});var D=b(6895),f=b(4650),se=b(9646),J=b(8306),$=b(4351),Q=b(9300),Y=b(4004);class re{}class te{}class de{constructor(V){this.normalizedNames=new Map,this.lazyUpdate=null,V?this.lazyInit="string"==typeof V?()=>{this.headers=new Map,V.split("\n").forEach(G=>{const Te=G.indexOf(":");if(Te>0){const ne=G.slice(0,Te),je=ne.toLowerCase(),Ot=G.slice(Te+1).trim();this.maybeSetNormalizedName(ne,je),this.headers.has(je)?this.headers.get(je).push(Ot):this.headers.set(je,[Ot])}})}:()=>{this.headers=new Map,Object.keys(V).forEach(G=>{let Te=V[G];const ne=G.toLowerCase();"string"==typeof Te&&(Te=[Te]),Te.length>0&&(this.headers.set(ne,Te),this.maybeSetNormalizedName(G,ne))})}:this.headers=new Map}has(V){return this.init(),this.headers.has(V.toLowerCase())}get(V){this.init();const G=this.headers.get(V.toLowerCase());return G&&G.length>0?G[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(V){return this.init(),this.headers.get(V.toLowerCase())||null}append(V,G){return this.clone({name:V,value:G,op:"a"})}set(V,G){return this.clone({name:V,value:G,op:"s"})}delete(V,G){return this.clone({name:V,value:G,op:"d"})}maybeSetNormalizedName(V,G){this.normalizedNames.has(G)||this.normalizedNames.set(G,V)}init(){this.lazyInit&&(this.lazyInit instanceof de?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(V=>this.applyUpdate(V)),this.lazyUpdate=null))}copyFrom(V){V.init(),Array.from(V.headers.keys()).forEach(G=>{this.headers.set(G,V.headers.get(G)),this.normalizedNames.set(G,V.normalizedNames.get(G))})}clone(V){const G=new de;return G.lazyInit=this.lazyInit&&this.lazyInit instanceof de?this.lazyInit:this,G.lazyUpdate=(this.lazyUpdate||[]).concat([V]),G}applyUpdate(V){const G=V.name.toLowerCase();switch(V.op){case"a":case"s":let Te=V.value;if("string"==typeof Te&&(Te=[Te]),0===Te.length)return;this.maybeSetNormalizedName(V.name,G);const ne=("a"===V.op?this.headers.get(G):void 0)||[];ne.push(...Te),this.headers.set(G,ne);break;case"d":const je=V.value;if(je){let Ot=this.headers.get(G);if(!Ot)return;Ot=Ot.filter(At=>-1===je.indexOf(At)),0===Ot.length?(this.headers.delete(G),this.normalizedNames.delete(G)):this.headers.set(G,Ot)}else this.headers.delete(G),this.normalizedNames.delete(G)}}forEach(V){this.init(),Array.from(this.normalizedNames.keys()).forEach(G=>V(this.normalizedNames.get(G),this.headers.get(G)))}}class X{encodeKey(V){return ye(V)}encodeValue(V){return ye(V)}decodeKey(V){return decodeURIComponent(V)}decodeValue(V){return decodeURIComponent(V)}}const ke=/%(\d[a-f0-9])/gi,De={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ye(we){return encodeURIComponent(we).replace(ke,(V,G)=>De[G]??V)}function Re(we){return`${we}`}class Ee{constructor(V={}){if(this.updates=null,this.cloneFrom=null,this.encoder=V.encoder||new X,V.fromString){if(V.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function K(we,V){const G=new Map;return we.length>0&&we.replace(/^\?/,"").split("&").forEach(ne=>{const je=ne.indexOf("="),[Ot,At]=-1==je?[V.decodeKey(ne),""]:[V.decodeKey(ne.slice(0,je)),V.decodeValue(ne.slice(je+1))],Le=G.get(Ot)||[];Le.push(At),G.set(Ot,Le)}),G}(V.fromString,this.encoder)}else V.fromObject?(this.map=new Map,Object.keys(V.fromObject).forEach(G=>{const Te=V.fromObject[G],ne=Array.isArray(Te)?Te.map(Re):[Re(Te)];this.map.set(G,ne)})):this.map=null}has(V){return this.init(),this.map.has(V)}get(V){this.init();const G=this.map.get(V);return G?G[0]:null}getAll(V){return this.init(),this.map.get(V)||null}keys(){return this.init(),Array.from(this.map.keys())}append(V,G){return this.clone({param:V,value:G,op:"a"})}appendAll(V){const G=[];return Object.keys(V).forEach(Te=>{const ne=V[Te];Array.isArray(ne)?ne.forEach(je=>{G.push({param:Te,value:je,op:"a"})}):G.push({param:Te,value:ne,op:"a"})}),this.clone(G)}set(V,G){return this.clone({param:V,value:G,op:"s"})}delete(V,G){return this.clone({param:V,value:G,op:"d"})}toString(){return this.init(),this.keys().map(V=>{const G=this.encoder.encodeKey(V);return this.map.get(V).map(Te=>G+"="+this.encoder.encodeValue(Te)).join("&")}).filter(V=>""!==V).join("&")}clone(V){const G=new Ee({encoder:this.encoder});return G.cloneFrom=this.cloneFrom||this,G.updates=(this.updates||[]).concat(V),G}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(V=>this.map.set(V,this.cloneFrom.map.get(V))),this.updates.forEach(V=>{switch(V.op){case"a":case"s":const G=("a"===V.op?this.map.get(V.param):void 0)||[];G.push(Re(V.value)),this.map.set(V.param,G);break;case"d":if(void 0===V.value){this.map.delete(V.param);break}{let Te=this.map.get(V.param)||[];const ne=Te.indexOf(Re(V.value));-1!==ne&&Te.splice(ne,1),Te.length>0?this.map.set(V.param,Te):this.map.delete(V.param)}}}),this.cloneFrom=this.updates=null)}}class Je{constructor(){this.map=new Map}set(V,G){return this.map.set(V,G),this}get(V){return this.map.has(V)||this.map.set(V,V.defaultValue()),this.map.get(V)}delete(V){return this.map.delete(V),this}has(V){return this.map.has(V)}keys(){return this.map.keys()}}function he(we){return typeof ArrayBuffer<"u"&&we instanceof ArrayBuffer}function P(we){return typeof Blob<"u"&&we instanceof Blob}function q(we){return typeof FormData<"u"&&we instanceof FormData}class ie{constructor(V,G,Te,ne){let je;if(this.url=G,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=V.toUpperCase(),function Ae(we){switch(we){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ne?(this.body=void 0!==Te?Te:null,je=ne):je=Te,je&&(this.reportProgress=!!je.reportProgress,this.withCredentials=!!je.withCredentials,je.responseType&&(this.responseType=je.responseType),je.headers&&(this.headers=je.headers),je.context&&(this.context=je.context),je.params&&(this.params=je.params)),this.headers||(this.headers=new de),this.context||(this.context=new Je),this.params){const Ot=this.params.toString();if(0===Ot.length)this.urlWithParams=G;else{const At=G.indexOf("?");this.urlWithParams=G+(-1===At?"?":At<G.length-1?"&":"")+Ot}}else this.params=new Ee,this.urlWithParams=G}serializeBody(){return null===this.body?null:he(this.body)||P(this.body)||q(this.body)||function ue(we){return typeof URLSearchParams<"u"&&we instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ee?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||q(this.body)?null:P(this.body)?this.body.type||null:he(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ee?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(V={}){const G=V.method||this.method,Te=V.url||this.url,ne=V.responseType||this.responseType,je=void 0!==V.body?V.body:this.body,Ot=void 0!==V.withCredentials?V.withCredentials:this.withCredentials,At=void 0!==V.reportProgress?V.reportProgress:this.reportProgress;let Le=V.headers||this.headers,Nt=V.params||this.params;const zt=V.context??this.context;return void 0!==V.setHeaders&&(Le=Object.keys(V.setHeaders).reduce((fn,Mt)=>fn.set(Mt,V.setHeaders[Mt]),Le)),V.setParams&&(Nt=Object.keys(V.setParams).reduce((fn,Mt)=>fn.set(Mt,V.setParams[Mt]),Nt)),new ie(G,Te,je,{params:Nt,headers:Le,context:zt,reportProgress:At,responseType:ne,withCredentials:Ot})}}var oe=(()=>((oe=oe||{})[oe.Sent=0]="Sent",oe[oe.UploadProgress=1]="UploadProgress",oe[oe.ResponseHeader=2]="ResponseHeader",oe[oe.DownloadProgress=3]="DownloadProgress",oe[oe.Response=4]="Response",oe[oe.User=5]="User",oe))();class Ce{constructor(V,G=200,Te="OK"){this.headers=V.headers||new de,this.status=void 0!==V.status?V.status:G,this.statusText=V.statusText||Te,this.url=V.url||null,this.ok=this.status>=200&&this.status<300}}class N extends Ce{constructor(V={}){super(V),this.type=oe.ResponseHeader}clone(V={}){return new N({headers:V.headers||this.headers,status:void 0!==V.status?V.status:this.status,statusText:V.statusText||this.statusText,url:V.url||this.url||void 0})}}class B extends Ce{constructor(V={}){super(V),this.type=oe.Response,this.body=void 0!==V.body?V.body:null}clone(V={}){return new B({body:void 0!==V.body?V.body:this.body,headers:V.headers||this.headers,status:void 0!==V.status?V.status:this.status,statusText:V.statusText||this.statusText,url:V.url||this.url||void 0})}}class ee extends Ce{constructor(V){super(V,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${V.url||"(unknown url)"}`:`Http failure response for ${V.url||"(unknown url)"}: ${V.status} ${V.statusText}`,this.error=V.error||null}}function le(we,V){return{body:V,headers:we.headers,context:we.context,observe:we.observe,params:we.params,reportProgress:we.reportProgress,responseType:we.responseType,withCredentials:we.withCredentials}}let fe=(()=>{class we{constructor(G){this.handler=G}request(G,Te,ne={}){let je;if(G instanceof ie)je=G;else{let Le,Nt;Le=ne.headers instanceof de?ne.headers:new de(ne.headers),ne.params&&(Nt=ne.params instanceof Ee?ne.params:new Ee({fromObject:ne.params})),je=new ie(G,Te,void 0!==ne.body?ne.body:null,{headers:Le,context:ne.context,params:Nt,reportProgress:ne.reportProgress,responseType:ne.responseType||"json",withCredentials:ne.withCredentials})}const Ot=(0,se.of)(je).pipe((0,$.b)(Le=>this.handler.handle(Le)));if(G instanceof ie||"events"===ne.observe)return Ot;const At=Ot.pipe((0,Q.h)(Le=>Le instanceof B));switch(ne.observe||"body"){case"body":switch(je.responseType){case"arraybuffer":return At.pipe((0,Y.U)(Le=>{if(null!==Le.body&&!(Le.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Le.body}));case"blob":return At.pipe((0,Y.U)(Le=>{if(null!==Le.body&&!(Le.body instanceof Blob))throw new Error("Response is not a Blob.");return Le.body}));case"text":return At.pipe((0,Y.U)(Le=>{if(null!==Le.body&&"string"!=typeof Le.body)throw new Error("Response is not a string.");return Le.body}));default:return At.pipe((0,Y.U)(Le=>Le.body))}case"response":return At;default:throw new Error(`Unreachable: unhandled observe type ${ne.observe}}`)}}delete(G,Te={}){return this.request("DELETE",G,Te)}get(G,Te={}){return this.request("GET",G,Te)}head(G,Te={}){return this.request("HEAD",G,Te)}jsonp(G,Te){return this.request("JSONP",G,{params:(new Ee).append(Te,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(G,Te={}){return this.request("OPTIONS",G,Te)}patch(G,Te,ne={}){return this.request("PATCH",G,le(ne,Te))}post(G,Te,ne={}){return this.request("POST",G,le(ne,Te))}put(G,Te,ne={}){return this.request("PUT",G,le(ne,Te))}}return we.\u0275fac=function(G){return new(G||we)(f.LFG(re))},we.\u0275prov=f.Yz7({token:we,factory:we.\u0275fac}),we})();class Oe{constructor(V,G){this.next=V,this.interceptor=G}handle(V){return this.interceptor.intercept(V,this.next)}}const st=new f.OlP("HTTP_INTERCEPTORS");let pt=(()=>{class we{intercept(G,Te){return Te.handle(G)}}return we.\u0275fac=function(G){return new(G||we)},we.\u0275prov=f.Yz7({token:we,factory:we.\u0275fac}),we})();const vt=/^\)\]\}',?\n/;let An=(()=>{class we{constructor(G){this.xhrFactory=G}handle(G){if("JSONP"===G.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new J.y(Te=>{const ne=this.xhrFactory.build();if(ne.open(G.method,G.urlWithParams),G.withCredentials&&(ne.withCredentials=!0),G.headers.forEach((ct,nt)=>ne.setRequestHeader(ct,nt.join(","))),G.headers.has("Accept")||ne.setRequestHeader("Accept","application/json, text/plain, */*"),!G.headers.has("Content-Type")){const ct=G.detectContentTypeHeader();null!==ct&&ne.setRequestHeader("Content-Type",ct)}if(G.responseType){const ct=G.responseType.toLowerCase();ne.responseType="json"!==ct?ct:"text"}const je=G.serializeBody();let Ot=null;const At=()=>{if(null!==Ot)return Ot;const ct=ne.statusText||"OK",nt=new de(ne.getAllResponseHeaders()),Fn=function cn(we){return"responseURL"in we&&we.responseURL?we.responseURL:/^X-Request-URL:/m.test(we.getAllResponseHeaders())?we.getResponseHeader("X-Request-URL"):null}(ne)||G.url;return Ot=new N({headers:nt,status:ne.status,statusText:ct,url:Fn}),Ot},Le=()=>{let{headers:ct,status:nt,statusText:Fn,url:kn}=At(),ln=null;204!==nt&&(ln=typeof ne.response>"u"?ne.responseText:ne.response),0===nt&&(nt=ln?200:0);let Pn=nt>=200&&nt<300;if("json"===G.responseType&&"string"==typeof ln){const Or=ln;ln=ln.replace(vt,"");try{ln=""!==ln?JSON.parse(ln):null}catch(Ur){ln=Or,Pn&&(Pn=!1,ln={error:Ur,text:ln})}}Pn?(Te.next(new B({body:ln,headers:ct,status:nt,statusText:Fn,url:kn||void 0})),Te.complete()):Te.error(new ee({error:ln,headers:ct,status:nt,statusText:Fn,url:kn||void 0}))},Nt=ct=>{const{url:nt}=At(),Fn=new ee({error:ct,status:ne.status||0,statusText:ne.statusText||"Unknown Error",url:nt||void 0});Te.error(Fn)};let zt=!1;const fn=ct=>{zt||(Te.next(At()),zt=!0);let nt={type:oe.DownloadProgress,loaded:ct.loaded};ct.lengthComputable&&(nt.total=ct.total),"text"===G.responseType&&!!ne.responseText&&(nt.partialText=ne.responseText),Te.next(nt)},Mt=ct=>{let nt={type:oe.UploadProgress,loaded:ct.loaded};ct.lengthComputable&&(nt.total=ct.total),Te.next(nt)};return ne.addEventListener("load",Le),ne.addEventListener("error",Nt),ne.addEventListener("timeout",Nt),ne.addEventListener("abort",Nt),G.reportProgress&&(ne.addEventListener("progress",fn),null!==je&&ne.upload&&ne.upload.addEventListener("progress",Mt)),ne.send(je),Te.next({type:oe.Sent}),()=>{ne.removeEventListener("error",Nt),ne.removeEventListener("abort",Nt),ne.removeEventListener("load",Le),ne.removeEventListener("timeout",Nt),G.reportProgress&&(ne.removeEventListener("progress",fn),null!==je&&ne.upload&&ne.upload.removeEventListener("progress",Mt)),ne.readyState!==ne.DONE&&ne.abort()}})}}return we.\u0275fac=function(G){return new(G||we)(f.LFG(D.JF))},we.\u0275prov=f.Yz7({token:we,factory:we.\u0275fac}),we})();const xn=new f.OlP("XSRF_COOKIE_NAME"),en=new f.OlP("XSRF_HEADER_NAME");class _n{}let Rn=(()=>{class we{constructor(G,Te,ne){this.doc=G,this.platform=Te,this.cookieName=ne,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const G=this.doc.cookie||"";return G!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,D.Mx)(G,this.cookieName),this.lastCookieString=G),this.lastToken}}return we.\u0275fac=function(G){return new(G||we)(f.LFG(D.K0),f.LFG(f.Lbi),f.LFG(xn))},we.\u0275prov=f.Yz7({token:we,factory:we.\u0275fac}),we})(),Nn=(()=>{class we{constructor(G,Te){this.tokenService=G,this.headerName=Te}intercept(G,Te){const ne=G.url.toLowerCase();if("GET"===G.method||"HEAD"===G.method||ne.startsWith("http://")||ne.startsWith("https://"))return Te.handle(G);const je=this.tokenService.getToken();return null!==je&&!G.headers.has(this.headerName)&&(G=G.clone({headers:G.headers.set(this.headerName,je)})),Te.handle(G)}}return we.\u0275fac=function(G){return new(G||we)(f.LFG(_n),f.LFG(en))},we.\u0275prov=f.Yz7({token:we,factory:we.\u0275fac}),we})(),ot=(()=>{class we{constructor(G,Te){this.backend=G,this.injector=Te,this.chain=null}handle(G){if(null===this.chain){const Te=this.injector.get(st,[]);this.chain=Te.reduceRight((ne,je)=>new Oe(ne,je),this.backend)}return this.chain.handle(G)}}return we.\u0275fac=function(G){return new(G||we)(f.LFG(te),f.LFG(f.zs3))},we.\u0275prov=f.Yz7({token:we,factory:we.\u0275fac}),we})(),dn=(()=>{class we{static disable(){return{ngModule:we,providers:[{provide:Nn,useClass:pt}]}}static withOptions(G={}){return{ngModule:we,providers:[G.cookieName?{provide:xn,useValue:G.cookieName}:[],G.headerName?{provide:en,useValue:G.headerName}:[]]}}}return we.\u0275fac=function(G){return new(G||we)},we.\u0275mod=f.oAB({type:we}),we.\u0275inj=f.cJS({providers:[Nn,{provide:st,useExisting:Nn,multi:!0},{provide:_n,useClass:Rn},{provide:xn,useValue:"XSRF-TOKEN"},{provide:en,useValue:"X-XSRF-TOKEN"}]}),we})(),fr=(()=>{class we{}return we.\u0275fac=function(G){return new(G||we)},we.\u0275mod=f.oAB({type:we}),we.\u0275inj=f.cJS({providers:[fe,{provide:re,useClass:ot},An,{provide:te,useExisting:An}],imports:[dn.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),we})()},4650:(Ye,me,b)=>{b.d(me,{$8M:()=>be,$Z:()=>gf,AFp:()=>Rg,ALo:()=>Jp,AaK:()=>re,AsE:()=>Yu,BQk:()=>Za,CHM:()=>lr,CRH:()=>ug,CZH:()=>cl,CqO:()=>ah,D6c:()=>ME,DdM:()=>Up,EJc:()=>UC,EiD:()=>fd,EpF:()=>ih,F$t:()=>fh,F4k:()=>oh,FYo:()=>Op,FiY:()=>Zo,G48:()=>lE,Gf:()=>ag,GfV:()=>xp,GkF:()=>Lu,Gpc:()=>X,Gre:()=>$h,Hsn:()=>hh,Ikx:()=>Qu,JOm:()=>vs,JVY:()=>Um,KtG:()=>Jn,L6k:()=>Vm,LAX:()=>zm,LFG:()=>bn,LSH:()=>Sl,Lbi:()=>LC,MAs:()=>sh,MMx:()=>lc,NdJ:()=>ju,O4$:()=>$o,OlP:()=>d,Oqu:()=>Ku,PXZ:()=>nE,Q6J:()=>Nu,QGY:()=>Bu,QP$:()=>Bo,QbO:()=>BC,Qsj:()=>I0,R0b:()=>Pr,RDi:()=>xm,Rgc:()=>Ca,SBq:()=>ya,Sil:()=>$C,Suo:()=>lg,TTD:()=>Kr,TgZ:()=>Ya,Tol:()=>Ih,Udp:()=>zu,VKq:()=>Vp,W1O:()=>hg,WFA:()=>Hu,WLB:()=>$p,XFs:()=>ot,Xpm:()=>kn,Xts:()=>Wl,Y36:()=>Do,YKP:()=>Ap,YNc:()=>rh,Yjl:()=>Er,Yz7:()=>Pe,ZZ4:()=>xc,_Bn:()=>Sp,_UZ:()=>ku,_Vd:()=>ma,_c5:()=>bE,_uU:()=>Fh,aQg:()=>Rc,c2e:()=>jC,cJS:()=>ge,cg1:()=>Zu,d8E:()=>qu,dDg:()=>JC,deG:()=>c,dqk:()=>ne,eBb:()=>$m,eFA:()=>Wg,ekj:()=>Gu,eoX:()=>$g,f3M:()=>Kc,g9A:()=>Fg,h0i:()=>Wi,hGG:()=>TE,hM9:()=>L0,hYB:()=>$u,hij:()=>Xa,iGM:()=>og,ifc:()=>Te,ip1:()=>xg,kEZ:()=>zp,kL8:()=>Xh,kcU:()=>ii,l5B:()=>Gp,lG2:()=>ss,lcZ:()=>Xp,lqb:()=>yo,lri:()=>Ug,mCW:()=>ta,n5z:()=>A,n_E:()=>il,oAB:()=>Cr,oJD:()=>hd,oxw:()=>dh,pB0:()=>Gm,q3G:()=>vn,qLn:()=>sa,qOj:()=>Pu,qZA:()=>Qa,qbA:()=>Wp,qzn:()=>po,rWj:()=>Vg,s9C:()=>Uu,sBO:()=>uE,sIi:()=>ua,s_b:()=>al,soG:()=>dl,tb:()=>kg,tp0:()=>Jo,uIk:()=>Ru,vHH:()=>ye,vpe:()=>bs,wAp:()=>ht,xi3:()=>eg,xp6:()=>Wd,ynx:()=>qa,z2F:()=>fl,z3N:()=>Hs,zSh:()=>ql,zs3:()=>_s});var D=b(7579),f=b(727),se=b(8306),J=b(6451),$=b(3099);function Q(e){for(let t in e)if(e[t]===Q)return t;throw Error("Could not find renamed property on target object.")}function Y(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function re(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(re).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function te(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const de=Q({__forward_ref__:Q});function X(e){return e.__forward_ref__=X,e.toString=function(){return re(this())},e}function K(e){return ke(e)?e():e}function ke(e){return"function"==typeof e&&e.hasOwnProperty(de)&&e.__forward_ref__===X}class ye extends Error{constructor(t,n){super(function Re(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function Ee(e){return"string"==typeof e?e:null==e?"":String(e)}function P(e,t){throw new ye(-201,!1)}function gt(e,t){null==e&&function ze(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Pe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ge(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ue(e){return vt(e,en)||vt(e,Rn)}function vt(e,t){return e.hasOwnProperty(t)?e[t]:null}function xn(e){return e&&(e.hasOwnProperty(_n)||e.hasOwnProperty(Nn))?e[_n]:null}const en=Q({\u0275prov:Q}),_n=Q({\u0275inj:Q}),Rn=Q({ngInjectableDef:Q}),Nn=Q({ngInjectorDef:Q});var ot=(()=>((ot=ot||{})[ot.Default=0]="Default",ot[ot.Host=1]="Host",ot[ot.Self=2]="Self",ot[ot.SkipSelf=4]="SkipSelf",ot[ot.Optional=8]="Optional",ot))();let sr;function dn(e){const t=sr;return sr=e,t}function fr(e,t,n){const r=Ue(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&ot.Optional?null:void 0!==t?t:void P(re(e))}function ut(e){return{toString:e}.toString()}var we=(()=>((we=we||{})[we.OnPush=0]="OnPush",we[we.Default=1]="Default",we))(),Te=(()=>{return(e=Te||(Te={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Te;var e})();const ne=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),At={},Le=[],Nt=Q({\u0275cmp:Q}),zt=Q({\u0275dir:Q}),fn=Q({\u0275pipe:Q}),Mt=Q({\u0275mod:Q}),ct=Q({\u0275fac:Q}),nt=Q({__NG_ELEMENT_ID__:Q});let Fn=0;function kn(e){return ut(()=>{const n=!0===e.standalone,r={},s={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===we.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Le,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Te.Emulated,id:"c"+Fn++,styles:e.styles||Le,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.dependencies,l=e.features;return s.inputs=Rr(e.inputs,r),s.outputs=Rr(e.outputs),l&&l.forEach(h=>h(s)),s.directiveDefs=i?()=>("function"==typeof i?i():i).map(Pn).filter(Or):null,s.pipeDefs=i?()=>("function"==typeof i?i():i).map(Yt).filter(Or):null,s})}function Pn(e){return It(e)||at(e)}function Or(e){return null!==e}const Ur={};function Cr(e){return ut(()=>{const t={type:e.type,bootstrap:e.bootstrap||Le,declarations:e.declarations||Le,imports:e.imports||Le,exports:e.exports||Le,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Ur[e.id]=e.type),t})}function Rr(e,t){if(null==e)return At;const n={};for(const r in e)if(e.hasOwnProperty(r)){let s=e[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,t&&(t[s]=i)}return n}const ss=kn;function Er(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function It(e){return e[Nt]||null}function at(e){return e[zt]||null}function Yt(e){return e[fn]||null}function hn(e,t){const n=e[Mt]||null;if(!n&&!0===t)throw new Error(`Type ${re(e)} does not have '\u0275mod' property.`);return n}function an(e){return Array.isArray(e)&&"object"==typeof e[1]}function Dn(e){return Array.isArray(e)&&!0===e[1]}function Wn(e){return 0!=(8&e.flags)}function Bn(e){return 2==(2&e.flags)}function Kn(e){return 1==(1&e.flags)}function mn(e){return null!==e.template}function jn(e){return 0!=(256&e[2])}function vr(e,t){return e.hasOwnProperty(ct)?e[ct]:null}class Cn{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Kr(){return qn}function qn(e){return e.type.prototype.ngOnChanges&&(e.setInput=Is),Sr}function Sr(){const e=as(this),t=e?.current;if(t){const n=e.previous;if(n===At)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Is(e,t,n,r){const s=as(e)||function Ei(e,t){return e[os]=t}(e,{previous:At,current:null}),i=s.current||(s.current={}),l=s.previous,h=this.declaredInputs[n],g=l[h];i[h]=new Cn(g&&g.currentValue,t,l===At),e[r]=t}Kr.ngInherit=!0;const os="__ngSimpleChanges__";function as(e){return e[os]||null}function Qt(e){for(;Array.isArray(e);)e=e[0];return e}function Ir(e,t){return Qt(t[e])}function En(e,t){return Qt(t[e.index])}function Ps(e,t){return e.data[t]}function _r(e,t){return e[t]}function Tn(e,t){const n=t[e];return an(n)?n:n[0]}function v(e){return 4==(4&e[2])}function S(e){return 64==(64&e[2])}function I(e,t){return null==t?null:e[t]}function U(e){e[18]=0}function ve(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const pe={lFrame:cs(null),bindingsEnabled:!0};function un(){return pe.bindingsEnabled}function Se(){return pe.lFrame.lView}function _t(){return pe.lFrame.tView}function lr(e){return pe.lFrame.contextLView=e,e[8]}function Jn(e){return pe.lFrame.contextLView=null,e}function Zt(){let e=Xn();for(;null!==e&&64===e.type;)e=e.parent;return e}function Xn(){return pe.lFrame.currentTNode}function Dr(e,t){const n=pe.lFrame;n.currentTNode=e,n.isParent=t}function wi(){return pe.lFrame.isParent}function ri(){pe.lFrame.isParent=!1}function wn(){const e=pe.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function us(){return pe.lFrame.bindingIndex++}function Un(e){const t=pe.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function to(e,t){const n=pe.lFrame;n.bindingIndex=n.bindingRootIndex=e,Rs(t)}function Rs(e){pe.lFrame.currentDirectiveIndex=e}function bi(e){const t=pe.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function no(){return pe.lFrame.currentQueryIndex}function Ti(e){pe.lFrame.currentQueryIndex=e}function Uo(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Mi(e,t,n){if(n&ot.SkipSelf){let s=t,i=e;for(;!(s=s.parent,null!==s||n&ot.Host||(s=Uo(i),null===s||(i=i[15],10&s.type))););if(null===s)return!1;t=s,e=i}const r=pe.lFrame=Vn();return r.currentTNode=t,r.lView=e,!0}function Si(e){const t=Vn(),n=e[1];pe.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Vn(){const e=pe.lFrame,t=null===e?null:e.child;return null===t?cs(e):t}function cs(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function ds(){const e=pe.lFrame;return pe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ns=ds;function Ii(){const e=ds();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Mn(){return pe.lFrame.selectedIndex}function Lr(e){pe.lFrame.selectedIndex=e}function Vt(){const e=pe.lFrame;return Ps(e.tView,e.selectedIndex)}function $o(){pe.lFrame.currentNamespace="svg"}function ii(){!function Oi(){pe.lFrame.currentNamespace=null}()}function oi(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:l,ngAfterContentChecked:h,ngAfterViewInit:g,ngAfterViewChecked:E,ngOnDestroy:T}=i;l&&(e.contentHooks||(e.contentHooks=[])).push(-n,l),h&&((e.contentHooks||(e.contentHooks=[])).push(n,h),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,h)),g&&(e.viewHooks||(e.viewHooks=[])).push(-n,g),E&&((e.viewHooks||(e.viewHooks=[])).push(n,E),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,E)),null!=T&&(e.destroyHooks||(e.destroyHooks=[])).push(n,T)}}function fs(e,t,n){Ri(e,t,3,n)}function Fs(e,t,n,r){(3&e[2])===n&&Ri(e,t,n,r)}function xi(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Ri(e,t,n,r){const i=r??-1,l=t.length-1;let h=0;for(let g=void 0!==r?65535&e[18]:0;g<l;g++)if("number"==typeof t[g+1]){if(h=t[g],null!=r&&h>=r)break}else t[g]<0&&(e[18]+=65536),(h<i||-1==i)&&(ai(e,n,t,g),e[18]=(4294901760&e[18])+g+2),g++}function ai(e,t,n,r){const s=n[r]<0,i=n[r+1],h=e[s?-n[r]:n[r]];if(s){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{i.call(h)}finally{}}}else try{i.call(h)}finally{}}class hs{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function qr(e,t,n){let r=0;for(;r<n.length;){const s=n[r];if("number"==typeof s){if(0!==s)break;r++;const i=n[r++],l=n[r++],h=n[r++];e.setAttribute(t,l,h,i)}else{const i=s,l=n[++r];io(i)?e.setProperty(t,i,l):e.setAttribute(t,i,l),r++}}return r}function li(e){return 3===e||4===e||6===e}function io(e){return 64===e.charCodeAt(0)}function Ls(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const s=t[r];"number"==typeof s?n=s:0===n||oo(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function oo(e,t,n,r,s){let i=0,l=e.length;if(-1===t)l=-1;else for(;i<e.length;){const h=e[i++];if("number"==typeof h){if(h===t){l=-1;break}if(h>t){l=i-1;break}}}for(;i<e.length;){const h=e[i];if("number"==typeof h)break;if(h===n){if(null===r)return void(null!==s&&(e[i+1]=s));if(r===e[i+1])return void(e[i+2]=s)}i++,null!==r&&i++,null!==s&&i++}-1!==l&&(e.splice(l,0,t),i=l+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==s&&e.splice(i++,0,s)}function ao(e){return-1!==e}function Jt(e){return 32767&e}function Zr(e,t){let n=function Wo(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Bs=!0;function jr(e){const t=Bs;return Bs=e,t}let wa=0;const ur={};function ui(e,t){const n=di(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,ci(r.data,e),ci(t,null),ci(r.blueprint,null));const s=js(e,t),i=e.injectorIndex;if(ao(s)){const l=Jt(s),h=Zr(s,t),g=h[1].data;for(let E=0;E<8;E++)t[i+E]=h[l+E]|g[l+E]}return t[i+8]=s,i}function ci(e,t){e.push(0,0,0,0,0,0,0,0,t)}function di(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function js(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,s=t;for(;null!==s;){if(r=ce(s),null===r)return-1;if(n++,s=s[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function tr(e,t,n){!function Li(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(nt)&&(r=n[nt]),null==r&&(r=n[nt]=wa++);const s=255&r;t.data[e+(s>>5)]|=1<<s}(e,t,n)}function fi(e,t,n){if(n&ot.Optional)return e;P()}function Bi(e,t,n,r){if(n&ot.Optional&&void 0===r&&(r=null),0==(n&(ot.Self|ot.Host))){const s=e[9],i=dn(void 0);try{return s?s.get(t,r,n&ot.Optional):fr(t,r,n&ot.Optional)}finally{dn(i)}}return fi(r,0,n)}function ji(e,t,n,r=ot.Default,s){if(null!==e){if(1024&t[2]){const l=function k(e,t,n,r,s){let i=e,l=t;for(;null!==i&&null!==l&&1024&l[2]&&!(256&l[2]);){const h=co(i,l,n,r|ot.Self,ur);if(h!==ur)return h;let g=i.parent;if(!g){const E=l[21];if(E){const T=E.get(n,ur,r);if(T!==ur)return T}g=ce(l),l=l[15]}i=g}return s}(e,t,n,r,ur);if(l!==ur)return l}const i=co(e,t,n,r,ur);if(i!==ur)return i}return Bi(t,n,r,s)}function co(e,t,n,r,s){const i=function y(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(nt)?e[nt]:void 0;return"number"==typeof t?t>=0?255&t:w:t}(n);if("function"==typeof i){if(!Mi(t,e,r))return r&ot.Host?fi(s,0,r):Bi(t,n,r,s);try{const l=i(r);if(null!=l||r&ot.Optional)return l;P()}finally{Ns()}}else if("number"==typeof i){let l=null,h=di(e,t),g=-1,E=r&ot.Host?t[16][6]:null;for((-1===h||r&ot.SkipSelf)&&(g=-1===h?js(e,t):t[h+8],-1!==g&&o(r,!1)?(l=t[1],h=Jt(g),t=Zr(g,t)):h=-1);-1!==h;){const T=t[1];if(a(i,h,T.data)){const O=Ko(h,t,n,l,r,E);if(O!==ur)return O}g=t[h+8],-1!==g&&o(r,t[1].data[h+8]===E)&&a(i,h,t)?(l=T,h=Jt(g),t=Zr(g,t)):h=-1}}return s}function Ko(e,t,n,r,s,i){const l=t[1],h=l.data[e+8],T=hi(h,l,n,null==r?Bn(h)&&Bs:r!=l&&0!=(3&h.type),s&ot.Host&&i===h);return null!==T?pi(t,l,T,h):ur}function hi(e,t,n,r,s){const i=e.providerIndexes,l=t.data,h=1048575&i,g=e.directiveStart,T=i>>20,H=s?h+T:e.directiveEnd;for(let ae=r?h:h+T;ae<H;ae++){const Me=l[ae];if(ae<g&&n===Me||ae>=g&&Me.type===n)return ae}if(s){const ae=l[g];if(ae&&mn(ae)&&ae.type===n)return g}return null}function pi(e,t,n,r){let s=e[n];const i=t.data;if(function ks(e){return e instanceof hs}(s)){const l=s;l.resolving&&function Je(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new ye(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Ne(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ee(e)}(i[n]));const h=jr(l.canSeeViewProviders);l.resolving=!0;const g=l.injectImpl?dn(l.injectImpl):null;Mi(e,r,ot.Default);try{s=e[n]=l.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Qr(e,t,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=t.type.prototype;if(r){const l=qn(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,l),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,l)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,s),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==g&&dn(g),jr(h),l.resolving=!1,Ns()}}return s}function a(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function o(e,t){return!(e&ot.Self||e&ot.Host&&t)}class p{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ji(this._tNode,this._lView,t,r,n)}}function w(){return new p(Zt(),Se())}function A(e){return ut(()=>{const t=e.prototype.constructor,n=t[ct]||F(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const i=s[ct]||F(s);if(i&&i!==n)return i;s=Object.getPrototypeOf(s)}return i=>new i})}function F(e){return ke(e)?()=>{const t=F(K(e));return t&&t()}:vr(e)}function ce(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function be(e){return function ba(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let s=0;for(;s<r;){const i=n[s];if(li(i))break;if(0===i)s+=2;else if("number"==typeof i)for(s++;s<r&&"string"==typeof n[s];)s++;else{if(i===t)return n[s+1];s+=2}}}return null}(Zt(),e)}const Qe="__parameters__";function ft(e,t,n){return ut(()=>{const r=function lt(e){return function(...n){if(e){const r=e(...n);for(const s in r)this[s]=r[s]}}}(t);function s(...i){if(this instanceof s)return r.apply(this,i),this;const l=new s(...i);return h.annotation=l,h;function h(g,E,T){const O=g.hasOwnProperty(Qe)?g[Qe]:Object.defineProperty(g,Qe,{value:[]})[Qe];for(;O.length<=T;)O.push(null);return(O[T]=O[T]||[]).push(l),g}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}class d{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Pe({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const c=new d("AnalyzeForEntryComponents");function Xe(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),Xe(r,t)):t!==e&&t.push(r)}return t}function Et(e,t){e.forEach(n=>Array.isArray(n)?Et(n,t):t(n))}function Kt(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function zn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Sn(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Xt(e,t,n){let r=ms(e,t);return r>=0?e[1|r]=n:(r=~r,function Ta(e,t,n,r){let s=e.length;if(s==t)e.push(n,r);else if(1===s)e.push(r,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function gi(e,t){const n=ms(e,t);if(n>=0)return e[1|n]}function ms(e,t){return function zc(e,t,n){let r=0,s=e.length>>n;for(;s!==r;){const i=r+(s-r>>1),l=e[i<<n];if(t===l)return i<<n;l>t?s=i:r=i+1}return~(s<<n)}(e,t,1)}const Yo={},yl="__NG_DI_FLAG__",Sa="ngTempTokenPath",ym=/\n/gm,Gc="__source";let Qo;function Ia(e){const t=Qo;return Qo=e,t}function _m(e,t=ot.Default){if(void 0===Qo)throw new ye(-203,!1);return null===Qo?fr(e,void 0,t):Qo.get(e,t&ot.Optional?null:void 0,t)}function bn(e,t=ot.Default){return(function tt(){return sr}()||_m)(K(e),t)}function Kc(e,t=ot.Default){return bn(e,t)}function vl(e){const t=[];for(let n=0;n<e.length;n++){const r=K(e[n]);if(Array.isArray(r)){if(0===r.length)throw new ye(900,!1);let s,i=ot.Default;for(let l=0;l<r.length;l++){const h=r[l],g=Dm(h);"number"==typeof g?-1===g?s=h.token:i|=g:s=h}t.push(bn(s,i))}else t.push(bn(r))}return t}function qo(e,t){return e[yl]=t,e.prototype[yl]=t,e}function Dm(e){return e[yl]}const Zo=qo(ft("Optional"),8),Jo=qo(ft("SkipSelf"),4);let Dl,Oa,xa;function xm(e){Dl=e}function ho(e){return function Cl(){if(void 0===Oa&&(Oa=null,ne.trustedTypes))try{Oa=ne.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Oa}()?.createHTML(e)||e}function nd(e){return function El(){if(void 0===xa&&(xa=null,ne.trustedTypes))try{xa=ne.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return xa}()?.createHTML(e)||e}class Hi{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Fm extends Hi{getTypeName(){return"HTML"}}class km extends Hi{getTypeName(){return"Style"}}class Lm extends Hi{getTypeName(){return"Script"}}class Bm extends Hi{getTypeName(){return"URL"}}class jm extends Hi{getTypeName(){return"ResourceURL"}}function Hs(e){return e instanceof Hi?e.changingThisBreaksApplicationSecurity:e}function po(e,t){const n=function Hm(e){return e instanceof Hi&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function Um(e){return new Fm(e)}function Vm(e){return new km(e)}function $m(e){return new Lm(e)}function zm(e){return new Bm(e)}function Gm(e){return new jm(e)}class Wm{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(ho(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class Km{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=ho(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=ho(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let s=n.length-1;0<s;s--){const l=n.item(s).name;("xmlns:ns1"===l||0===l.indexOf("ns1:"))&&t.removeAttribute(l)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const Qm=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,qm=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function ta(e){return(e=String(e)).match(Qm)||e.match(qm)?e:"unsafe:"+e}function ys(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function na(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const ad=ys("area,br,col,hr,img,wbr"),ld=ys("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ud=ys("rp,rt"),wl=na(ad,na(ld,ys("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),na(ud,ys("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),na(ud,ld)),bl=ys("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Tl=ys("srcset"),cd=na(bl,Tl,ys("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ys("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Zm=ys("script,style,template");class Jm{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=this.checkClobberedElement(n,n.nextSibling);if(s){n=s;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!wl.hasOwnProperty(n))return this.sanitizedSomething=!0,!Zm.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let s=0;s<r.length;s++){const i=r.item(s),l=i.name,h=l.toLowerCase();if(!cd.hasOwnProperty(h)){this.sanitizedSomething=!0;continue}let g=i.value;bl[h]&&(g=ta(g)),Tl[h]&&(e=g,g=(e=String(e)).split(",").map(t=>ta(t.trim())).join(", ")),this.buf.push(" ",l,'="',dd(g),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();wl.hasOwnProperty(n)&&!ad.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(dd(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const Xm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ey=/([^\#-~ |!])/g;function dd(e){return e.replace(/&/g,"&").replace(Xm,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(ey,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Ra;function fd(e,t){let n=null;try{Ra=Ra||function id(e){const t=new Km(e);return function Ym(){try{return!!(new window.DOMParser).parseFromString(ho(""),"text/html")}catch{return!1}}()?new Wm(t):t}(e);let r=t?String(t):"";n=Ra.getInertBodyElement(r);let s=5,i=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=i,i=n.innerHTML,n=Ra.getInertBodyElement(r)}while(r!==i);return ho((new Jm).sanitizeChildren(Ml(n)||n))}finally{if(n){const r=Ml(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Ml(e){return"content"in e&&function ty(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var vn=(()=>((vn=vn||{})[vn.NONE=0]="NONE",vn[vn.HTML=1]="HTML",vn[vn.STYLE=2]="STYLE",vn[vn.SCRIPT=3]="SCRIPT",vn[vn.URL=4]="URL",vn[vn.RESOURCE_URL=5]="RESOURCE_URL",vn))();function hd(e){const t=ra();return t?nd(t.sanitize(vn.HTML,e)||""):po(e,"HTML")?nd(Hs(e)):fd(function td(){return void 0!==Dl?Dl:typeof document<"u"?document:void 0}(),Ee(e))}function Sl(e){const t=ra();return t?t.sanitize(vn.URL,e)||"":po(e,"URL")?Hs(e):ta(Ee(e))}function ra(){const e=Se();return e&&e[12]}function Al(e){return e.ngOriginalError}class sa{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Al(t);for(;n&&Al(n);)n=Al(n);return n||null}}const Pl=new Map;let my=0;const xl="__ngContext__";function nr(e,t){an(t)?(e[xl]=t[20],function vy(e){Pl.set(e[20],e)}(t)):e[xl]=t}function ia(e){const t=e[xl];return"number"==typeof t?function md(e){return Pl.get(e)||null}(t):t||null}function Rl(e){const t=ia(e);return t?an(t)?t:t.lView:null}const Sy=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(ne))();function Us(e){return e instanceof Function?e():e}var vs=(()=>((vs=vs||{})[vs.Important=1]="Important",vs[vs.DashCase=2]="DashCase",vs))();function Fl(e,t){return undefined(e,t)}function oa(e){const t=e[3];return Dn(t)?t[3]:t}function kl(e){return Td(e[13])}function Ll(e){return Td(e[4])}function Td(e){for(;null!==e&&!Dn(e);)e=e[4];return e}function mo(e,t,n,r,s){if(null!=r){let i,l=!1;Dn(r)?i=r:an(r)&&(l=!0,r=r[0]);const h=Qt(r);0===e&&null!==n?null==s?Od(t,n,h):Ui(t,n,h,s||null,!0):1===e&&null!==n?Ui(t,n,h,s||null,!0):2===e?function Bd(e,t,n){const r=Na(e,t);r&&function $y(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,h,l):3===e&&t.destroyNode(h),null!=i&&function Wy(e,t,n,r,s){const i=n[7];i!==Qt(n)&&mo(t,e,r,i,s);for(let h=10;h<n.length;h++){const g=n[h];aa(g[1],g,e,t,r,i)}}(t,e,i,n,s)}}function jl(e,t,n){return e.createElement(t,n)}function Sd(e,t){const n=e[9],r=n.indexOf(t),s=t[3];512&t[2]&&(t[2]&=-513,ve(s,-1)),n.splice(r,1)}function Hl(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const s=r[17];null!==s&&s!==e&&Sd(s,r),t>0&&(e[n-1][4]=r[4]);const i=zn(e,10+t);!function Fy(e,t){aa(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const l=i[19];null!==l&&l.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Id(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&aa(e,t,n,3,null,null),function By(e){let t=e[13];if(!t)return Ul(e[1],e);for(;t;){let n=null;if(an(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)an(t)&&Ul(t[1],t),t=t[3];null===t&&(t=e),an(t)&&Ul(t[1],t),n=t&&t[4]}t=n}}(t)}}function Ul(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function Vy(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const s=t[n[r]];if(!(s instanceof hs)){const i=n[r+1];if(Array.isArray(i))for(let l=0;l<i.length;l+=2){const h=s[i[l]],g=i[l+1];try{g.call(h)}finally{}}else try{i.call(s)}finally{}}}}(e,t),function Uy(e,t){const n=e.cleanup,r=t[7];let s=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const l=n[i+1],h="function"==typeof l?l(t):Qt(t[l]),g=r[s=n[i+2]],E=n[i+3];"boolean"==typeof E?h.removeEventListener(n[i],g,E):E>=0?r[s=E]():r[s=-E].unsubscribe(),i+=2}else{const l=r[s=n[i+1]];n[i].call(l)}if(null!==r){for(let i=s+1;i<r.length;i++)r[i]();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&Dn(t[3])){n!==t[3]&&Sd(n,t);const r=t[19];null!==r&&r.detachView(e)}!function _y(e){Pl.delete(e[20])}(t)}}function Ad(e,t,n){return function Pd(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const s=e.data[r.directiveStart].encapsulation;if(s===Te.None||s===Te.Emulated)return null}return En(r,n)}(e,t.parent,n)}function Ui(e,t,n,r,s){e.insertBefore(t,n,r,s)}function Od(e,t,n){e.appendChild(t,n)}function xd(e,t,n,r,s){null!==r?Ui(e,t,n,r,s):Od(e,t,n)}function Na(e,t){return e.parentNode(t)}function Rd(e,t,n){return Fd(e,t,n)}let Fd=function Nd(e,t,n){return 40&e.type?En(e,n):null};function Fa(e,t,n,r){const s=Ad(e,r,t),i=t[11],h=Rd(r.parent||t[6],r,t);if(null!=s)if(Array.isArray(n))for(let g=0;g<n.length;g++)xd(i,s,n[g],h,!1);else xd(i,s,n,h,!1)}function ka(e,t){if(null!==t){const n=t.type;if(3&n)return En(t,e);if(4&n)return $l(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return ka(e,r);{const s=e[t.index];return Dn(s)?$l(-1,s):Qt(s)}}if(32&n)return Fl(t,e)()||Qt(e[t.index]);{const r=Ld(e,t);return null!==r?Array.isArray(r)?r[0]:ka(oa(e[16]),r):ka(e,t.next)}}return null}function Ld(e,t){return null!==t?e[16][6].projection[t.projection]:null}function $l(e,t){const n=10+e+1;if(n<t.length){const r=t[n],s=r[1].firstChild;if(null!==s)return ka(r,s)}return t[7]}function zl(e,t,n,r,s,i,l){for(;null!=n;){const h=r[n.index],g=n.type;if(l&&0===t&&(h&&nr(Qt(h),r),n.flags|=4),64!=(64&n.flags))if(8&g)zl(e,t,n.child,r,s,i,!1),mo(t,e,s,h,i);else if(32&g){const E=Fl(n,r);let T;for(;T=E();)mo(t,e,s,T,i);mo(t,e,s,h,i)}else 16&g?jd(e,t,r,n,s,i):mo(t,e,s,h,i);n=l?n.projectionNext:n.next}}function aa(e,t,n,r,s,i){zl(n,r,e.firstChild,t,s,i,!1)}function jd(e,t,n,r,s,i){const l=n[16],g=l[6].projection[r.projection];if(Array.isArray(g))for(let E=0;E<g.length;E++)mo(t,e,s,g[E],i);else zl(e,t,g,l[3],s,i,!0)}function Hd(e,t,n){e.setAttribute(t,"style",n)}function Gl(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Ud(e,t,n){let r=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const i=t.length;if(s+i===r||e.charCodeAt(s+i)<=32)return s}n=s+1}}const Vd="ng-template";function Yy(e,t,n){let r=0;for(;r<e.length;){let s=e[r++];if(n&&"class"===s){if(s=e[r],-1!==Ud(s.toLowerCase(),t,0))return!0}else if(1===s){for(;r<e.length&&"string"==typeof(s=e[r++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function $d(e){return 4===e.type&&e.value!==Vd}function Qy(e,t,n){return t===(4!==e.type||n?e.value:Vd)}function qy(e,t,n){let r=4;const s=e.attrs||[],i=function Xy(e){for(let t=0;t<e.length;t++)if(li(e[t]))return t;return e.length}(s);let l=!1;for(let h=0;h<t.length;h++){const g=t[h];if("number"!=typeof g){if(!l)if(4&r){if(r=2|1&r,""!==g&&!Qy(e,g,n)||""===g&&1===t.length){if(Xr(r))return!1;l=!0}}else{const E=8&r?g:t[++h];if(8&r&&null!==e.attrs){if(!Yy(e.attrs,E,n)){if(Xr(r))return!1;l=!0}continue}const O=Zy(8&r?"class":g,s,$d(e),n);if(-1===O){if(Xr(r))return!1;l=!0;continue}if(""!==E){let H;H=O>i?"":s[O+1].toLowerCase();const ae=8&r?H:null;if(ae&&-1!==Ud(ae,E,0)||2&r&&E!==H){if(Xr(r))return!1;l=!0}}}}else{if(!l&&!Xr(r)&&!Xr(g))return!1;if(l&&Xr(g))continue;l=!1,r=g|1&r}}return Xr(r)||l}function Xr(e){return 0==(1&e)}function Zy(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let i=!1;for(;s<t.length;){const l=t[s];if(l===e)return s;if(3===l||6===l)i=!0;else{if(1===l||2===l){let h=t[++s];for(;"string"==typeof h;)h=t[++s];continue}if(4===l)break;if(0===l){s+=4;continue}}s+=i?1:2}return-1}return function ev(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function zd(e,t,n=!1){for(let r=0;r<t.length;r++)if(qy(e,t[r],n))return!0;return!1}function tv(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let s=0;s<e.length;s++)if(e[s]!==r[s])continue e;return!0}}return!1}function Gd(e,t){return e?":not("+t.trim()+")":t}function nv(e){let t=e[0],n=1,r=2,s="",i=!1;for(;n<e.length;){let l=e[n];if("string"==typeof l)if(2&r){const h=e[++n];s+="["+l+(h.length>0?'="'+h+'"':"")+"]"}else 8&r?s+="."+l:4&r&&(s+=" "+l);else""!==s&&!Xr(l)&&(t+=Gd(i,s),s=""),r=l,i=i||!Xr(r);n++}return""!==s&&(t+=Gd(i,s)),t}const bt={};function Wd(e){Kd(_t(),Se(),Mn()+e,!1)}function Kd(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&fs(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Fs(t,i,0,n)}Lr(n)}const Wl=new d("ENVIRONMENT_INITIALIZER"),Zd=new d("INJECTOR_DEF_TYPES");function cv(...e){return{\u0275providers:Jd(0,e)}}function Jd(e,...t){const n=[],r=new Set;let s;return Et(t,i=>{const l=i;Kl(l,n,[],r)&&(s||(s=[]),s.push(l))}),void 0!==s&&Xd(s,n),n}function Xd(e,t){for(let n=0;n<e.length;n++){const{providers:s}=e[n];Et(s,i=>{t.push(i)})}}function Kl(e,t,n,r){if(!(e=K(e)))return!1;let s=null,i=xn(e);const l=!i&&It(e);if(i||l){if(l&&!l.standalone)return!1;s=e}else{const g=e.ngModule;if(i=xn(g),!i)return!1;s=g}const h=r.has(s);if(l){if(h)return!1;if(r.add(s),l.dependencies){const g="function"==typeof l.dependencies?l.dependencies():l.dependencies;for(const E of g)Kl(E,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!h){let E;r.add(s);try{Et(i.imports,T=>{Kl(T,t,n,r)&&(E||(E=[]),E.push(T))})}finally{}void 0!==E&&Xd(E,t)}if(!h){const E=vr(s)||(()=>new s);t.push({provide:s,useFactory:E,deps:Le},{provide:Zd,useValue:s,multi:!0},{provide:Wl,useValue:()=>bn(s),multi:!0})}const g=i.providers;null==g||h||Et(g,T=>{t.push(T)})}}return s!==e&&void 0!==e.providers}const dv=Q({provide:String,useValue:Q});function Yl(e){return null!==e&&"object"==typeof e&&dv in e}function Vi(e){return"function"==typeof e}const Ql=new d("INJECTOR",-1);class nf{get(t,n=Yo){if(n===Yo){const r=new Error(`NullInjectorError: No provider for ${re(t)}!`);throw r.name="NullInjectorError",r}return n}}const ql=new d("Set Injector scope."),La={},hv={};let Zl;function Jl(){return void 0===Zl&&(Zl=new nf),Zl}class yo{}class rf extends yo{constructor(t,n,r,s){super(),this.parent=n,this.source=r,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,eu(t,l=>this.processProvider(l)),this.records.set(Ql,vo(void 0,this)),s.has("environment")&&this.records.set(yo,vo(void 0,this));const i=this.records.get(ql);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Zd.multi,Le,ot.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}get(t,n=Yo,r=ot.Default){this.assertNotDestroyed();const s=Ia(this),i=dn(void 0);try{if(!(r&ot.SkipSelf)){let h=this.records.get(t);if(void 0===h){const g=function vv(e){return"function"==typeof e||"object"==typeof e&&e instanceof d}(t)&&Ue(t);h=g&&this.injectableDefInScope(g)?vo(Xl(t),La):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(r&ot.Self?Jl():this.parent).get(t,n=r&ot.Optional&&n===Yo?null:n)}catch(l){if("NullInjectorError"===l.name){if((l[Sa]=l[Sa]||[]).unshift(re(t)),s)throw l;return function Cm(e,t,n,r){const s=e[Sa];throw t[Gc]&&s.unshift(t[Gc]),e.message=function Em(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let s=re(t);if(Array.isArray(t))s=t.map(re).join(" -> ");else if("object"==typeof t){let i=[];for(let l in t)if(t.hasOwnProperty(l)){let h=t[l];i.push(l+":"+("string"==typeof h?JSON.stringify(h):re(h)))}s=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(ym,"\n ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e[Sa]=null,e}(l,t,"R3InjectorError",this.source)}throw l}finally{dn(i),Ia(s)}}resolveInjectorInitializers(){const t=Ia(this),n=dn(void 0);try{const r=this.get(Wl.multi,Le,ot.Self);for(const s of r)s()}finally{Ia(t),dn(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(re(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ye(205,!1)}processProvider(t){let n=Vi(t=K(t))?t:K(t&&t.provide);const r=function gv(e){return Yl(e)?vo(void 0,e.useValue):vo(sf(e),La)}(t);if(Vi(t)||!0!==t.multi)this.records.get(n);else{let s=this.records.get(n);s||(s=vo(void 0,La,!0),s.factory=()=>vl(s.multi),this.records.set(n,s)),n=t,s.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===La&&(n.value=hv,n.value=n.factory()),"object"==typeof n.value&&n.value&&function yv(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=K(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Xl(e){const t=Ue(e),n=null!==t?t.factory:vr(e);if(null!==n)return n;if(e instanceof d)throw new ye(204,!1);if(e instanceof Function)return function pv(e){const t=e.length;if(t>0)throw Sn(t,"?"),new ye(204,!1);const n=function cn(e){const t=e&&(e[en]||e[Rn]);if(t){const n=function An(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new ye(204,!1)}function sf(e,t,n){let r;if(Vi(e)){const s=K(e);return vr(s)||Xl(s)}if(Yl(e))r=()=>K(e.useValue);else if(function tf(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...vl(e.deps||[]));else if(function ef(e){return!(!e||!e.useExisting)}(e))r=()=>bn(K(e.useExisting));else{const s=K(e&&(e.useClass||e.provide));if(!function mv(e){return!!e.deps}(e))return vr(s)||Xl(s);r=()=>new s(...vl(e.deps))}return r}function vo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function _v(e){return!!e.\u0275providers}function eu(e,t){for(const n of e)Array.isArray(n)?eu(n,t):_v(n)?eu(n.\u0275providers,t):t(n)}function af(e,t=null,n=null,r){const s=lf(e,t,n,r);return s.resolveInjectorInitializers(),s}function lf(e,t=null,n=null,r,s=new Set){const i=[n||Le,cv(e)];return r=r||("object"==typeof e?void 0:re(e)),new rf(i,t||Jl(),r||null,s)}let _s=(()=>{class e{static create(n,r){if(Array.isArray(n))return af({name:""},r,n,"");{const s=n.name??"";return af({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=Yo,e.NULL=new nf,e.\u0275prov=Pe({token:e,providedIn:"any",factory:()=>bn(Ql)}),e.__NG_ELEMENT_ID__=-1,e})();function Do(e,t=ot.Default){const n=Se();return null===n?bn(e,t):ji(Zt(),n,K(e),t)}function gf(){throw new Error("invalid")}function ja(e,t){return e<<17|t<<2}function es(e){return e>>17&32767}function lu(e){return 2|e}function Vs(e){return(131068&e)>>2}function uu(e,t){return-131069&e|t<<2}function cu(e){return 1|e}function Af(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r],i=n[r+1];if(-1!==i){const l=e.data[i];Ti(s),l.contentQueries(2,t[i],i)}}}function Va(e,t,n,r,s,i,l,h,g,E,T){const O=t.blueprint.slice();return O[0]=s,O[2]=76|r,(null!==T||e&&1024&e[2])&&(O[2]|=1024),U(O),O[3]=O[15]=e,O[8]=n,O[10]=l||e&&e[10],O[11]=h||e&&e[11],O[12]=g||e&&e[12]||null,O[9]=E||e&&e[9]||null,O[6]=i,O[20]=function yy(){return my++}(),O[21]=T,O[16]=2==t.type?e[16]:O,O}function Co(e,t,n,r,s){let i=e.data[t];if(null===i)i=function _u(e,t,n,r,s){const i=Xn(),l=wi(),g=e.data[t]=function Jv(e,t,n,r,s,i){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:s,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,l?i:i&&i.parent,n,t,r,s);return null===e.firstChild&&(e.firstChild=g),null!==i&&(l?null==i.child&&null!==g.parent&&(i.child=g):null===i.next&&(i.next=g)),g}(e,t,n,r,s),function Os(){return pe.lFrame.inI18n}()&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=s;const l=function kr(){const e=pe.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===l?-1:l.injectorIndex}return Dr(i,!0),i}function Eo(e,t,n,r){if(0===n)return-1;const s=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return s}function $a(e,t,n){Si(t);try{const r=e.viewQuery;null!==r&&Au(1,r,n);const s=e.template;null!==s&&Pf(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Af(e,t),e.staticViewQueries&&Au(2,e.viewQuery,n);const i=e.components;null!==i&&function Yv(e,t){for(let n=0;n<t.length;n++)m_(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Ii()}}function la(e,t,n,r){const s=t[2];if(128!=(128&s)){Si(t);try{U(t),function Xi(e){return pe.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Pf(e,t,n,2,r);const l=3==(3&s);if(l){const E=e.preOrderCheckHooks;null!==E&&fs(t,E,null)}else{const E=e.preOrderHooks;null!==E&&Fs(t,E,0,null),xi(t,0)}if(function p_(e){for(let t=kl(e);null!==t;t=Ll(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const s=n[r],i=s[3];0==(512&s[2])&&ve(i,1),s[2]|=512}}}(t),function h_(e){for(let t=kl(e);null!==t;t=Ll(t))for(let n=10;n<t.length;n++){const r=t[n],s=r[1];S(r)&&la(s,r,s.template,r[8])}}(t),null!==e.contentQueries&&Af(e,t),l){const E=e.contentCheckHooks;null!==E&&fs(t,E)}else{const E=e.contentHooks;null!==E&&Fs(t,E,1),xi(t,1)}!function Wv(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const s=n[r];if(s<0)Lr(~s);else{const i=s,l=n[++r],h=n[++r];to(l,i),h(2,t[i])}}}finally{Lr(-1)}}(e,t);const h=e.components;null!==h&&function Kv(e,t){for(let n=0;n<t.length;n++)g_(e,t[n])}(t,h);const g=e.viewQuery;if(null!==g&&Au(2,g,r),l){const E=e.viewCheckHooks;null!==E&&fs(t,E)}else{const E=e.viewHooks;null!==E&&Fs(t,E,2),xi(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,ve(t[3],-1))}finally{Ii()}}}function Qv(e,t,n,r){const s=t[10],l=v(t);try{!l&&s.begin&&s.begin(),l&&$a(e,t,r),la(e,t,n,r)}finally{!l&&s.end&&s.end()}}function Pf(e,t,n,r,s){const i=Mn(),l=2&r;try{Lr(-1),l&&t.length>22&&Kd(e,t,22,!1),n(r,s)}finally{Lr(i)}}function Of(e,t,n){if(Wn(t)){const s=t.directiveEnd;for(let i=t.directiveStart;i<s;i++){const l=e.data[i];l.contentQueries&&l.contentQueries(1,n[i],i)}}}function Du(e,t,n){!un()||(function i_(e,t,n,r){const s=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||ui(n,t),nr(r,t);const l=n.initialInputs;for(let h=s;h<i;h++){const g=e.data[h],E=mn(g);E&&c_(t,n,g);const T=pi(t,e,h,n);nr(T,t),null!==l&&d_(0,h-s,T,g,0,l),E&&(Tn(n.index,t)[8]=T)}}(e,t,n,En(n,t)),128==(128&n.flags)&&function o_(e,t,n){const r=n.directiveStart,s=n.directiveEnd,i=n.index,l=function xs(){return pe.lFrame.currentDirectiveIndex}();try{Lr(i);for(let h=r;h<s;h++){const g=e.data[h],E=t[h];Rs(h),(null!==g.hostBindings||0!==g.hostVars||null!==g.hostAttrs)&&kf(g,E)}}finally{Lr(-1),Rs(l)}}(e,t,n))}function Cu(e,t,n=En){const r=t.localNames;if(null!==r){let s=t.index+1;for(let i=0;i<r.length;i+=2){const l=r[i+1],h=-1===l?n(t,e):e[l];e[s++]=h}}}function xf(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Eu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Eu(e,t,n,r,s,i,l,h,g,E){const T=22+r,O=T+s,H=function qv(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:bt);return n}(T,O),ae="function"==typeof E?E():E;return H[1]={type:e,blueprint:H,template:n,queries:null,viewQuery:h,declTNode:t,data:H.slice().fill(null,T),bindingStartIndex:T,expandoStartIndex:O,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof l?l():l,firstChild:null,schemas:g,consts:ae,incompleteFirstPass:!1}}function Rf(e,t,n,r){const s=Vf(t);null===n?s.push(r):(s.push(n),e.firstCreatePass&&$f(e).push(r,s.length-1))}function Nf(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const s=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,s):n[r]=[t,s]}return n}function Ar(e,t,n,r,s,i,l,h){const g=En(t,n);let T,E=t.inputs;!h&&null!=E&&(T=E[r])?(Wf(e,n,T,r,s),Bn(t)&&function t_(e,t){const n=Tn(t,e);16&n[2]||(n[2]|=32)}(n,t.index)):3&t.type&&(r=function e_(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),s=null!=l?l(s,t.value||"",r):s,i.setProperty(g,r,s))}function wu(e,t,n,r){let s=!1;if(un()){const i=function a_(e,t,n){const r=e.directiveRegistry;let s=null;if(r)for(let i=0;i<r.length;i++){const l=r[i];zd(n,l.selectors,!1)&&(s||(s=[]),tr(ui(n,t),e,l.type),mn(l)?(Lf(e,n),s.unshift(l)):s.push(l))}return s}(e,t,n),l=null===r?null:{"":-1};if(null!==i){s=!0,Bf(n,e.data.length,i.length);for(let T=0;T<i.length;T++){const O=i[T];O.providersResolver&&O.providersResolver(O)}let h=!1,g=!1,E=Eo(e,t,i.length,null);for(let T=0;T<i.length;T++){const O=i[T];n.mergedAttrs=Ls(n.mergedAttrs,O.hostAttrs),jf(e,n,t,E,O),u_(E,O,l),null!==O.contentQueries&&(n.flags|=8),(null!==O.hostBindings||null!==O.hostAttrs||0!==O.hostVars)&&(n.flags|=128);const H=O.type.prototype;!h&&(H.ngOnChanges||H.ngOnInit||H.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),h=!0),!g&&(H.ngOnChanges||H.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),g=!0),E++}!function Xv(e,t){const r=t.directiveEnd,s=e.data,i=t.attrs,l=[];let h=null,g=null;for(let E=t.directiveStart;E<r;E++){const T=s[E],O=T.inputs,H=null===i||$d(t)?null:f_(O,i);l.push(H),h=Nf(O,E,h),g=Nf(T.outputs,E,g)}null!==h&&(h.hasOwnProperty("class")&&(t.flags|=16),h.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=l,t.inputs=h,t.outputs=g}(e,n)}l&&function l_(e,t,n){if(t){const r=e.localNames=[];for(let s=0;s<t.length;s+=2){const i=n[t[s+1]];if(null==i)throw new ye(-301,!1);r.push(t[s],i)}}}(n,r,l)}return n.mergedAttrs=Ls(n.mergedAttrs,n.attrs),s}function Ff(e,t,n,r,s,i){const l=i.hostBindings;if(l){let h=e.hostBindingOpCodes;null===h&&(h=e.hostBindingOpCodes=[]);const g=~t.index;(function s_(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(h)!=g&&h.push(g),h.push(r,s,l)}}function kf(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Lf(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function u_(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;mn(t)&&(n[""]=e)}}function Bf(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function jf(e,t,n,r,s){e.data[r]=s;const i=s.factory||(s.factory=vr(s.type)),l=new hs(i,mn(s),Do);e.blueprint[r]=l,n[r]=l,Ff(e,t,0,r,Eo(e,n,s.hostVars,bt),s)}function c_(e,t,n){const r=En(t,e),s=xf(n),i=e[10],l=za(e,Va(e,s,null,n.onPush?32:16,r,t,i,i.createRenderer(r,n),null,null,null));e[t.index]=l}function Ds(e,t,n,r,s,i){const l=En(e,t);!function bu(e,t,n,r,s,i,l){if(null==i)e.removeAttribute(t,s,n);else{const h=null==l?Ee(i):l(i,r||"",s);e.setAttribute(t,s,h,n)}}(t[11],l,i,e.value,n,r,s)}function d_(e,t,n,r,s,i){const l=i[t];if(null!==l){const h=r.setInput;for(let g=0;g<l.length;){const E=l[g++],T=l[g++],O=l[g++];null!==h?r.setInput(n,O,E,T):n[T]=O}}}function f_(e,t){let n=null,r=0;for(;r<t.length;){const s=t[r];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,e[s],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Hf(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function g_(e,t){const n=Tn(t,e);if(S(n)){const r=n[1];48&n[2]?la(r,n,r.template,n[8]):n[5]>0&&Tu(n)}}function Tu(e){for(let r=kl(e);null!==r;r=Ll(r))for(let s=10;s<r.length;s++){const i=r[s];if(512&i[2]){const l=i[1];la(l,i,l.template,i[8])}else i[5]>0&&Tu(i)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const s=Tn(n[r],e);S(s)&&s[5]>0&&Tu(s)}}function m_(e,t){const n=Tn(t,e),r=n[1];(function y_(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),$a(r,n,n[8])}function za(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Mu(e){for(;e;){e[2]|=32;const t=oa(e);if(jn(e)&&!t)return e;e=t}return null}function Uf(e){!function Su(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Rl(n);if(null!==r){const s=r[1];Qv(s,r,s.template,n)}}}(e[8])}function Au(e,t,n){Ti(0),t(e,n)}const __=(()=>Promise.resolve(null))();function Vf(e){return e[7]||(e[7]=[])}function $f(e){return e.cleanup||(e.cleanup=[])}function zf(e,t,n){return(null===e||mn(e))&&(n=function As(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Gf(e,t){const n=e[9],r=n?n.get(sa,null):null;r&&r.handleError(t)}function Wf(e,t,n,r,s){for(let i=0;i<n.length;){const l=n[i++],h=n[i++],g=t[l],E=e.data[l];null!==E.setInput?E.setInput(g,s,r,h):g[h]=s}}function $s(e,t,n){const r=Ir(t,e);!function Md(e,t,n){e.setValue(t,n)}(e[11],r,n)}function Ga(e,t,n){let r=n?e.styles:null,s=n?e.classes:null,i=0;if(null!==t)for(let l=0;l<t.length;l++){const h=t[l];"number"==typeof h?i=h:1==i?s=te(s,h):2==i&&(r=te(r,h+": "+t[++l]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}function w_(){const e=Zt();oi(Se()[1],e)}function Pu(e){let t=function Kf(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let s;if(mn(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new ye(903,!1);s=t.\u0275dir}if(s){if(n){r.push(s);const l=e;l.inputs=Ou(e.inputs),l.declaredInputs=Ou(e.declaredInputs),l.outputs=Ou(e.outputs);const h=s.hostBindings;h&&S_(e,h);const g=s.viewQuery,E=s.contentQueries;if(g&&T_(e,g),E&&M_(e,E),Y(e.inputs,s.inputs),Y(e.declaredInputs,s.declaredInputs),Y(e.outputs,s.outputs),mn(s)&&s.data.animation){const T=e.data;T.animation=(T.animation||[]).concat(s.data.animation)}}const i=s.features;if(i)for(let l=0;l<i.length;l++){const h=i[l];h&&h.ngInherit&&h(e),h===Pu&&(n=!1)}}t=Object.getPrototypeOf(t)}!function b_(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const s=e[r];s.hostVars=t+=s.hostVars,s.hostAttrs=Ls(s.hostAttrs,n=Ls(n,s.hostAttrs))}}(r)}function Ou(e){return e===At?{}:e===Le?[]:e}function T_(e,t){const n=e.viewQuery;e.viewQuery=n?(r,s)=>{t(r,s),n(r,s)}:t}function M_(e,t){const n=e.contentQueries;e.contentQueries=n?(r,s,i)=>{t(r,s,i),n(r,s,i)}:t}function S_(e,t){const n=e.hostBindings;e.hostBindings=n?(r,s)=>{t(r,s),n(r,s)}:t}let Wa=null;function $i(){if(!Wa){const e=ne.Symbol;if(e&&e.iterator)Wa=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Wa=r)}}}return Wa}function ua(e){return!!xu(e)&&(Array.isArray(e)||!(e instanceof Map)&&$i()in e)}function xu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Cs(e,t,n){return e[t]=n}function ca(e,t){return e[t]}function rr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function zi(e,t,n,r){const s=rr(e,t,n);return rr(e,t+1,r)||s}function Hr(e,t,n,r,s,i){const l=zi(e,t,n,r);return zi(e,t+2,s,i)||l}function Ru(e,t,n,r){const s=Se();return rr(s,us(),t)&&(_t(),Ds(Vt(),s,e,t,n,r)),Ru}function bo(e,t,n,r){return rr(e,us(),n)?t+Ee(n)+r:bt}function To(e,t,n,r,s,i){const h=zi(e,function er(){return pe.lFrame.bindingIndex}(),n,s);return Un(2),h?t+Ee(n)+r+Ee(s)+i:bt}function rh(e,t,n,r,s,i,l,h){const g=Se(),E=_t(),T=e+22,O=E.firstCreatePass?function k_(e,t,n,r,s,i,l,h,g){const E=t.consts,T=Co(t,e,4,l||null,I(E,h));wu(t,n,T,I(E,g)),oi(t,T);const O=T.tViews=Eu(2,T,r,s,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,E);return null!==t.queries&&(t.queries.template(t,T),O.queries=t.queries.embeddedTView(T)),T}(T,E,g,t,n,r,s,i,l):E.data[T];Dr(O,!1);const H=g[11].createComment("");Fa(E,g,H,O),nr(H,g),za(g,g[T]=Hf(H,g,H,O)),Kn(O)&&Du(E,g,O),null!=l&&Cu(g,O,h)}function sh(e){return _r(function Zi(){return pe.lFrame.contextLView}(),22+e)}function Nu(e,t,n){const r=Se();return rr(r,us(),t)&&Ar(_t(),Vt(),r,e,t,r[11],n,!1),Nu}function Fu(e,t,n,r,s){const l=s?"class":"style";Wf(e,n,t.inputs[l],l,r)}function Ya(e,t,n,r){const s=Se(),i=_t(),l=22+e,h=s[11],g=s[l]=jl(h,t,function $n(){return pe.lFrame.currentNamespace}()),E=i.firstCreatePass?function B_(e,t,n,r,s,i,l){const h=t.consts,E=Co(t,e,2,s,I(h,i));return wu(t,n,E,I(h,l)),null!==E.attrs&&Ga(E,E.attrs,!1),null!==E.mergedAttrs&&Ga(E,E.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,E),E}(l,i,s,0,t,n,r):i.data[l];Dr(E,!0);const T=E.mergedAttrs;null!==T&&qr(h,g,T);const O=E.classes;null!==O&&Gl(h,g,O);const H=E.styles;return null!==H&&Hd(h,g,H),64!=(64&E.flags)&&Fa(i,s,g,E),0===function xt(){return pe.lFrame.elementDepthCount}()&&nr(g,s),function Ut(){pe.lFrame.elementDepthCount++}(),Kn(E)&&(Du(i,s,E),Of(i,E,s)),null!==r&&Cu(s,E),Ya}function Qa(){let e=Zt();wi()?ri():(e=e.parent,Dr(e,!1));const t=e;!function St(){pe.lFrame.elementDepthCount--}();const n=_t();return n.firstCreatePass&&(oi(n,e),Wn(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function ro(e){return 0!=(16&e.flags)}(t)&&Fu(n,t,Se(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Fi(e){return 0!=(32&e.flags)}(t)&&Fu(n,t,Se(),t.stylesWithoutHost,!1),Qa}function ku(e,t,n,r){return Ya(e,t,n,r),Qa(),ku}function qa(e,t,n){const r=Se(),s=_t(),i=e+22,l=s.firstCreatePass?function j_(e,t,n,r,s){const i=t.consts,l=I(i,r),h=Co(t,e,8,"ng-container",l);return null!==l&&Ga(h,l,!0),wu(t,n,h,I(i,s)),null!==t.queries&&t.queries.elementStart(t,h),h}(i,s,r,t,n):s.data[i];Dr(l,!0);const h=r[i]=r[11].createComment("");return Fa(s,r,h,l),nr(h,r),Kn(l)&&(Du(s,r,l),Of(s,l,r)),null!=n&&Cu(r,l),qa}function Za(){let e=Zt();const t=_t();return wi()?ri():(e=e.parent,Dr(e,!1)),t.firstCreatePass&&(oi(t,e),Wn(e)&&t.queries.elementEnd(e)),Za}function Lu(e,t,n){return qa(e,t,n),Za(),Lu}function ih(){return Se()}function Bu(e){return!!e&&"function"==typeof e.then}function oh(e){return!!e&&"function"==typeof e.subscribe}const ah=oh;function ju(e,t,n,r){const s=Se(),i=_t(),l=Zt();return lh(i,s,s[11],l,e,t,0,r),ju}function Hu(e,t){const n=Zt(),r=Se(),s=_t();return lh(s,r,zf(bi(s.data),n,r),n,e,t),Hu}function lh(e,t,n,r,s,i,l,h){const g=Kn(r),T=e.firstCreatePass&&$f(e),O=t[8],H=Vf(t);let ae=!0;if(3&r.type||h){const Ke=En(r,t),et=h?h(Ke):Ke,yt=H.length,Fe=h?Pt=>h(Qt(Pt[r.index])):r.index;let dt=null;if(!h&&g&&(dt=function H_(e,t,n,r){const s=e.cleanup;if(null!=s)for(let i=0;i<s.length-1;i+=2){const l=s[i];if(l===n&&s[i+1]===r){const h=t[7],g=s[i+2];return h.length>g?h[g]:null}"string"==typeof l&&(i+=2)}return null}(e,t,s,r.index)),null!==dt)(dt.__ngLastListenerFn__||dt).__ngNextListenerFn__=i,dt.__ngLastListenerFn__=i,ae=!1;else{i=ch(r,t,O,i,!1);const Pt=n.listen(et,s,i);H.push(i,Pt),T&&T.push(s,Fe,yt,yt+1)}}else i=ch(r,t,O,i,!1);const Me=r.outputs;let Be;if(ae&&null!==Me&&(Be=Me[s])){const Ke=Be.length;if(Ke)for(let et=0;et<Ke;et+=2){const rn=t[Be[et]][Be[et+1]].subscribe(i),Yi=H.length;H.push(i,rn),T&&T.push(s,r.index,Yi,-(Yi+1))}}}function uh(e,t,n,r){try{return!1!==n(r)}catch(s){return Gf(e,s),!1}}function ch(e,t,n,r,s){return function i(l){if(l===Function)return r;Mu(2&e.flags?Tn(e.index,t):t);let g=uh(t,0,r,l),E=i.__ngNextListenerFn__;for(;E;)g=uh(t,0,E,l)&&g,E=E.__ngNextListenerFn__;return s&&!1===g&&(l.preventDefault(),l.returnValue=!1),g}}function dh(e=1){return function Vo(e){return(pe.lFrame.contextLView=function Ai(e,t){for(;e>0;)t=t[15],e--;return t}(e,pe.lFrame.contextLView))[8]}(e)}function U_(e,t){let n=null;const r=function Jy(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let s=0;s<t.length;s++){const i=t[s];if("*"!==i){if(null===r?zd(e,i,!0):tv(r,i))return s}else n=s}return n}function fh(e){const t=Se()[16][6];if(!t.projection){const r=t.projection=Sn(e?e.length:1,null),s=r.slice();let i=t.child;for(;null!==i;){const l=e?U_(i,e):0;null!==l&&(s[l]?s[l].projectionNext=i:r[l]=i,s[l]=i),i=i.next}}}function hh(e,t=0,n){const r=Se(),s=_t(),i=Co(s,22+e,16,null,n||null);null===i.projection&&(i.projection=t),ri(),64!=(64&i.flags)&&function Gy(e,t,n){jd(t[11],0,t,n,Ad(e,n,t),Rd(n.parent||t[6],n,t))}(s,r,i)}function Uu(e,t,n){return Vu(e,"",t,"",n),Uu}function Vu(e,t,n,r,s){const i=Se(),l=bo(i,t,n,r);return l!==bt&&Ar(_t(),Vt(),i,e,l,i[11],s,!1),Vu}function $u(e,t,n,r,s,i,l){const h=Se(),g=To(h,t,n,r,s,i);return g!==bt&&Ar(_t(),Vt(),h,e,g,h[11],l,!1),$u}function Ch(e,t,n,r,s){const i=e[n+1],l=null===t;let h=r?es(i):Vs(i),g=!1;for(;0!==h&&(!1===g||l);){const T=e[h+1];z_(e[h],t)&&(g=!0,e[h+1]=r?cu(T):lu(T)),h=r?es(T):Vs(T)}g&&(e[n+1]=r?lu(i):cu(i))}function z_(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ms(e,t)>=0}const In={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Eh(e){return e.substring(In.key,In.keyEnd)}function wh(e,t){const n=In.textEnd;return n===t?-1:(t=In.keyEnd=function Y_(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,In.key=t,n),xo(e,t,n))}function xo(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function zu(e,t,n){return ts(e,t,n,!1),zu}function Gu(e,t){return ts(e,t,null,!0),Gu}function Ih(e){ns(Xt,ws,e,!0)}function ws(e,t){for(let n=function W_(e){return function Th(e){In.key=0,In.keyEnd=0,In.value=0,In.valueEnd=0,In.textEnd=e.length}(e),wh(e,xo(e,0,In.textEnd))}(t);n>=0;n=wh(t,n))Xt(e,Eh(t),!0)}function ts(e,t,n,r){const s=Se(),i=_t(),l=Un(2);i.firstUpdatePass&&Ph(i,e,l,r),t!==bt&&rr(s,l,t)&&xh(i,i.data[Mn()],s,s[11],e,s[l+1]=function sD(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=re(Hs(e)))),e}(t,n),r,l)}function ns(e,t,n,r){const s=_t(),i=Un(2);s.firstUpdatePass&&Ph(s,null,i,r);const l=Se();if(n!==bt&&rr(l,i,n)){const h=s.data[Mn()];if(Nh(h,r)&&!Ah(s,i)){let g=r?h.classesWithoutHost:h.stylesWithoutHost;null!==g&&(n=te(g,n||"")),Fu(s,h,l,n,r)}else!function rD(e,t,n,r,s,i,l,h){s===bt&&(s=Le);let g=0,E=0,T=0<s.length?s[0]:null,O=0<i.length?i[0]:null;for(;null!==T||null!==O;){const H=g<s.length?s[g+1]:void 0,ae=E<i.length?i[E+1]:void 0;let Be,Me=null;T===O?(g+=2,E+=2,H!==ae&&(Me=O,Be=ae)):null===O||null!==T&&T<O?(g+=2,Me=T):(E+=2,Me=O,Be=ae),null!==Me&&xh(e,t,n,r,Me,Be,l,h),T=g<s.length?s[g]:null,O=E<i.length?i[E]:null}}(s,h,l,l[11],l[i+1],l[i+1]=function nD(e,t,n){if(null==n||""===n)return Le;const r=[],s=Hs(n);if(Array.isArray(s))for(let i=0;i<s.length;i++)e(r,s[i],!0);else if("object"==typeof s)for(const i in s)s.hasOwnProperty(i)&&e(r,i,s[i]);else"string"==typeof s&&t(r,s);return r}(e,t,n),r,i)}}function Ah(e,t){return t>=e.expandoStartIndex}function Ph(e,t,n,r){const s=e.data;if(null===s[n+1]){const i=s[Mn()],l=Ah(e,n);Nh(i,r)&&null===t&&!l&&(t=!1),t=function J_(e,t,n,r){const s=bi(e);let i=r?t.residualClasses:t.residualStyles;if(null===s)0===(r?t.classBindings:t.styleBindings)&&(n=da(n=Wu(null,e,t,n,r),t.attrs,r),i=null);else{const l=t.directiveStylingLast;if(-1===l||e[l]!==s)if(n=Wu(s,e,t,n,r),null===i){let g=function X_(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Vs(r))return e[es(r)]}(e,t,r);void 0!==g&&Array.isArray(g)&&(g=Wu(null,e,t,g[1],r),g=da(g,t.attrs,r),function eD(e,t,n,r){e[es(n?t.classBindings:t.styleBindings)]=r}(e,t,r,g))}else i=function tD(e,t,n){let r;const s=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<s;i++)r=da(r,e[i].hostAttrs,n);return da(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(s,i,t,r),function V_(e,t,n,r,s,i){let l=i?t.classBindings:t.styleBindings,h=es(l),g=Vs(l);e[r]=n;let T,E=!1;if(Array.isArray(n)){const O=n;T=O[1],(null===T||ms(O,T)>0)&&(E=!0)}else T=n;if(s)if(0!==g){const H=es(e[h+1]);e[r+1]=ja(H,h),0!==H&&(e[H+1]=uu(e[H+1],r)),e[h+1]=function kv(e,t){return 131071&e|t<<17}(e[h+1],r)}else e[r+1]=ja(h,0),0!==h&&(e[h+1]=uu(e[h+1],r)),h=r;else e[r+1]=ja(g,0),0===h?h=r:e[g+1]=uu(e[g+1],r),g=r;E&&(e[r+1]=lu(e[r+1])),Ch(e,T,r,!0),Ch(e,T,r,!1),function $_(e,t,n,r,s){const i=s?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&ms(i,t)>=0&&(n[r+1]=cu(n[r+1]))}(t,T,e,r,i),l=ja(h,g),i?t.classBindings=l:t.styleBindings=l}(s,i,t,n,l,r)}}function Wu(e,t,n,r,s){let i=null;const l=n.directiveEnd;let h=n.directiveStylingLast;for(-1===h?h=n.directiveStart:h++;h<l&&(i=t[h],r=da(r,i.hostAttrs,s),i!==e);)h++;return null!==e&&(n.directiveStylingLast=h),r}function da(e,t,n){const r=n?1:2;let s=-1;if(null!==t)for(let i=0;i<t.length;i++){const l=t[i];"number"==typeof l?s=l:s===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Xt(e,l,!!n||t[++i]))}return void 0===e?null:e}function xh(e,t,n,r,s,i,l,h){if(!(3&t.type))return;const g=e.data,E=g[h+1];Ja(function Cf(e){return 1==(1&e)}(E)?Rh(g,t,n,s,Vs(E),l):void 0)||(Ja(i)||function Df(e){return 2==(2&e)}(E)&&(i=Rh(g,null,n,s,h,l)),function Ky(e,t,n,r,s){if(t)s?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:vs.DashCase;null==s?e.removeStyle(n,r,i):("string"==typeof s&&s.endsWith("!important")&&(s=s.slice(0,-10),i|=vs.Important),e.setStyle(n,r,s,i))}}(r,l,Ir(Mn(),n),s,i))}function Rh(e,t,n,r,s,i){const l=null===t;let h;for(;s>0;){const g=e[s],E=Array.isArray(g),T=E?g[1]:g,O=null===T;let H=n[s+1];H===bt&&(H=O?Le:void 0);let ae=O?gi(H,r):T===r?H:void 0;if(E&&!Ja(ae)&&(ae=gi(g,r)),Ja(ae)&&(h=ae,l))return h;const Me=e[s+1];s=l?es(Me):Vs(Me)}if(null!==t){let g=i?t.residualClasses:t.residualStyles;null!=g&&(h=gi(g,r))}return h}function Ja(e){return void 0!==e}function Nh(e,t){return 0!=(e.flags&(t?16:32))}function Fh(e,t=""){const n=Se(),r=_t(),s=e+22,i=r.firstCreatePass?Co(r,s,1,t,null):r.data[s],l=n[s]=function Bl(e,t){return e.createText(t)}(n[11],t);Fa(r,n,l,i),Dr(i,!1)}function Ku(e){return Xa("",e,""),Ku}function Xa(e,t,n){const r=Se(),s=bo(r,e,t,n);return s!==bt&&$s(r,Mn(),s),Xa}function Yu(e,t,n,r,s){const i=Se(),l=To(i,e,t,n,r,s);return l!==bt&&$s(i,Mn(),l),Yu}function $h(e,t,n){ns(Xt,ws,bo(Se(),e,t,n),!0)}function Qu(e,t,n){const r=Se();return rr(r,us(),t)&&Ar(_t(),Vt(),r,e,t,r[11],n,!0),Qu}function qu(e,t,n){const r=Se();if(rr(r,us(),t)){const i=_t(),l=Vt();Ar(i,l,r,e,t,zf(bi(i.data),l,r),n,!0)}return qu}const Gi=void 0;var wD=["en",[["a","p"],["AM","PM"],Gi],[["AM","PM"],Gi,Gi],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Gi,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Gi,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Gi,"{1} 'at' {0}",Gi],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function ED(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Ro={};function Zu(e){const t=function bD(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=ep(t);if(n)return n;const r=t.split("-")[0];if(n=ep(r),n)return n;if("en"===r)return wD;throw new ye(701,!1)}function Xh(e){return Zu(e)[ht.PluralCase]}function ep(e){return e in Ro||(Ro[e]=ne.ng&&ne.ng.common&&ne.ng.common.locales&&ne.ng.common.locales[e]),Ro[e]}var ht=(()=>((ht=ht||{})[ht.LocaleId=0]="LocaleId",ht[ht.DayPeriodsFormat=1]="DayPeriodsFormat",ht[ht.DayPeriodsStandalone=2]="DayPeriodsStandalone",ht[ht.DaysFormat=3]="DaysFormat",ht[ht.DaysStandalone=4]="DaysStandalone",ht[ht.MonthsFormat=5]="MonthsFormat",ht[ht.MonthsStandalone=6]="MonthsStandalone",ht[ht.Eras=7]="Eras",ht[ht.FirstDayOfWeek=8]="FirstDayOfWeek",ht[ht.WeekendRange=9]="WeekendRange",ht[ht.DateFormat=10]="DateFormat",ht[ht.TimeFormat=11]="TimeFormat",ht[ht.DateTimeFormat=12]="DateTimeFormat",ht[ht.NumberSymbols=13]="NumberSymbols",ht[ht.NumberFormats=14]="NumberFormats",ht[ht.CurrencyCode=15]="CurrencyCode",ht[ht.CurrencySymbol=16]="CurrencySymbol",ht[ht.CurrencyName=17]="CurrencyName",ht[ht.Currencies=18]="Currencies",ht[ht.Directionality=19]="Directionality",ht[ht.PluralCase=20]="PluralCase",ht[ht.ExtraData=21]="ExtraData",ht))();const No="en-US";let tp=No;function ec(e,t,n,r,s){if(e=K(e),Array.isArray(e))for(let i=0;i<e.length;i++)ec(e[i],t,n,r,s);else{const i=_t(),l=Se();let h=Vi(e)?e:K(e.provide),g=sf(e);const E=Zt(),T=1048575&E.providerIndexes,O=E.directiveStart,H=E.providerIndexes>>20;if(Vi(e)||!e.multi){const ae=new hs(g,s,Do),Me=nc(h,t,s?T:T+H,O);-1===Me?(tr(ui(E,l),i,h),tc(i,e,t.length),t.push(h),E.directiveStart++,E.directiveEnd++,s&&(E.providerIndexes+=1048576),n.push(ae),l.push(ae)):(n[Me]=ae,l[Me]=ae)}else{const ae=nc(h,t,T+H,O),Me=nc(h,t,T,T+H),Be=ae>=0&&n[ae],Ke=Me>=0&&n[Me];if(s&&!Ke||!s&&!Be){tr(ui(E,l),i,h);const et=function E0(e,t,n,r,s){const i=new hs(e,n,Do);return i.multi=[],i.index=t,i.componentProviders=0,Mp(i,s,r&&!n),i}(s?C0:D0,n.length,s,r,g);!s&&Ke&&(n[Me].providerFactory=et),tc(i,e,t.length,0),t.push(h),E.directiveStart++,E.directiveEnd++,s&&(E.providerIndexes+=1048576),n.push(et),l.push(et)}else tc(i,e,ae>-1?ae:Me,Mp(n[s?Me:ae],g,!s&&r));!s&&r&&Ke&&n[Me].componentProviders++}}}function tc(e,t,n,r){const s=Vi(t),i=function fv(e){return!!e.useClass}(t);if(s||i){const g=(i?K(t.useClass):t).prototype.ngOnDestroy;if(g){const E=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const T=E.indexOf(n);-1===T?E.push(n,[r,g]):E[T+1].push(r,g)}else E.push(n,g)}}}function Mp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function nc(e,t,n,r){for(let s=n;s<r;s++)if(t[s]===e)return s;return-1}function D0(e,t,n,r){return rc(this.multi,[])}function C0(e,t,n,r){const s=this.multi;let i;if(this.providerFactory){const l=this.providerFactory.componentProviders,h=pi(n,n[1],this.providerFactory.index,r);i=h.slice(0,l),rc(s,i);for(let g=l;g<h.length;g++)i.push(h[g])}else i=[],rc(s,i);return i}function rc(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Sp(e,t=[]){return n=>{n.providersResolver=(r,s)=>function _0(e,t,n){const r=_t();if(r.firstCreatePass){const s=mn(e);ec(n,r.data,r.blueprint,s,!0),ec(t,r.data,r.blueprint,s,!1)}}(r,s?s(e):e,t)}}class b0{resolveComponentFactory(t){throw function w0(e){const t=Error(`No component factory found for ${re(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let ma=(()=>{class e{}return e.NULL=new b0,e})();class Wi{}class Ap{}class Pp{}function M0(){return ko(Zt(),Se())}function ko(e,t){return new ya(En(e,t))}let ya=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=M0,e})();function S0(e){return e instanceof ya?e.nativeElement:e}class Op{}let I0=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function A0(){const e=Se(),n=Tn(Zt().index,e);return(an(n)?n:e)[11]}(),e})(),P0=(()=>{class e{}return e.\u0275prov=Pe({token:e,providedIn:"root",factory:()=>null}),e})();class xp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const O0=new xp("14.0.5"),sc={};function sl(e,t,n,r,s=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(Qt(i)),Dn(i))for(let h=10;h<i.length;h++){const g=i[h],E=g[1].firstChild;null!==E&&sl(g[1],g,E,r)}const l=n.type;if(8&l)sl(e,t,n.child,r);else if(32&l){const h=Fl(n,t);let g;for(;g=h();)r.push(g)}else if(16&l){const h=Ld(t,n);if(Array.isArray(h))r.push(...h);else{const g=oa(t[16]);sl(g[1],g,h,r,!0)}}n=s?n.projectionNext:n.next}return r}class va{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return sl(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Dn(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Hl(t,r),zn(n,r))}this._attachedToViewContainer=!1}Id(this._lView[1],this._lView)}onDestroy(t){Rf(this._lView[1],this._lView,null,t)}markForCheck(){Mu(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){!function Iu(e,t,n){const r=t[10];r.begin&&r.begin();try{la(e,t,e.template,n)}catch(s){throw Gf(t,s),s}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ye(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Ly(e,t){aa(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new ye(902,!1);this._appRef=t}}class x0 extends va{constructor(t){super(t),this._view=t}detectChanges(){Uf(this._view)}checkNoChanges(){}get context(){return null}}class ic extends ma{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=It(t);return new oc(n,this.ngModule)}}function Rp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class N0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const s=this.injector.get(t,sc,r);return s!==sc||n===sc?s:this.parentInjector.get(t,n,r)}}class oc extends Pp{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function rv(e){return e.map(nv).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Rp(this.componentDef.inputs)}get outputs(){return Rp(this.componentDef.outputs)}create(t,n,r,s){let i=(s=s||this.ngModule)instanceof yo?s:s?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const l=i?new N0(t,i):t,h=l.get(Op,null);if(null===h)throw new ye(407,!1);const g=l.get(P0,null),E=h.createRenderer(null,this.componentDef),T=this.componentDef.selectors[0][0]||"div",O=r?function Zv(e,t,n){return e.selectRootElement(t,n===Te.ShadowDom)}(E,r,this.componentDef.encapsulation):jl(h.createRenderer(null,this.componentDef),T,function R0(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(T)),H=this.componentDef.onPush?288:272,ae=function E_(e,t){return{components:[],scheduler:e||Sy,clean:__,playerHandler:t||null,flags:0}}(),Me=Eu(0,null,null,1,0,null,null,null,null,null),Be=Va(null,Me,ae,H,null,null,h,E,g,l,null);let Ke,et;Si(Be);try{const yt=function D_(e,t,n,r,s,i){const l=n[1];n[22]=e;const g=Co(l,22,2,"#host",null),E=g.mergedAttrs=t.hostAttrs;null!==E&&(Ga(g,E,!0),null!==e&&(qr(s,e,E),null!==g.classes&&Gl(s,e,g.classes),null!==g.styles&&Hd(s,e,g.styles)));const T=r.createRenderer(e,t),O=Va(n,xf(t),null,t.onPush?32:16,n[22],g,r,T,i||null,null,null);return l.firstCreatePass&&(tr(ui(g,n),l,t.type),Lf(l,g),Bf(g,n.length,1)),za(n,O),n[22]=O}(O,this.componentDef,Be,h,E);if(O)if(r)qr(E,O,["ng-version",O0.full]);else{const{attrs:Fe,classes:dt}=function sv(e){const t=[],n=[];let r=1,s=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===s?""!==i&&t.push(i,e[++r]):8===s&&n.push(i);else{if(!Xr(s))break;s=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);Fe&&qr(E,O,Fe),dt&&dt.length>0&&Gl(E,O,dt.join(" "))}if(et=Ps(Me,22),void 0!==n){const Fe=et.projection=[];for(let dt=0;dt<this.ngContentSelectors.length;dt++){const Pt=n[dt];Fe.push(null!=Pt?Array.from(Pt):null)}}Ke=function C_(e,t,n,r,s){const i=n[1],l=function r_(e,t,n){const r=Zt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),jf(e,r,t,Eo(e,t,1,null),n));const s=pi(t,e,r.directiveStart,r);nr(s,t);const i=En(r,t);return i&&nr(i,t),s}(i,n,t);if(r.components.push(l),e[8]=l,null!==s)for(const g of s)g(l,t);if(t.contentQueries){const g=Zt();t.contentQueries(1,l,g.directiveStart)}const h=Zt();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Lr(h.index),Ff(n[1],h,0,h.directiveStart,h.directiveEnd,t),kf(t,l)),l}(yt,this.componentDef,Be,ae,[w_]),$a(Me,Be,null)}finally{Ii()}return new k0(this.componentType,Ke,ko(et,Be),Be,et)}}class k0 extends class T0{}{constructor(t,n,r,s,i){super(),this.location=r,this._rootLView=s,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new x0(s),this.componentType=t}get injector(){return new p(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function L0(e,t){return new Np(e,t??null)}class Np extends Wi{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ic(this);const r=hn(t);this._bootstrapComponents=Us(r.bootstrap),this._r3Injector=lf(t,n,[{provide:Wi,useValue:this},{provide:ma,useValue:this.componentFactoryResolver}],re(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this.get(t)}get(t,n=_s.THROW_IF_NOT_FOUND,r=ot.Default){return t===_s||t===Wi||t===Ql?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class ac extends Ap{constructor(t){super(),this.moduleType=t}create(t){return new Np(this.moduleType,t)}}class B0 extends Wi{constructor(t,n,r){super(),this.componentFactoryResolver=new ic(this),this.instance=null;const s=new rf([...t,{provide:Wi,useValue:this},{provide:ma,useValue:this.componentFactoryResolver}],n||Jl(),r,new Set(["environment"]));this.injector=s,s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function lc(e,t=null,n=null){return new B0(e,t,n).injector}function Up(e,t,n){const r=wn()+e,s=Se();return s[r]===bt?Cs(s,r,n?t.call(n):t()):ca(s,r)}function Vp(e,t,n,r){return Kp(Se(),wn(),e,t,n,r)}function $p(e,t,n,r,s){return Yp(Se(),wn(),e,t,n,r,s)}function zp(e,t,n,r,s,i){return function Qp(e,t,n,r,s,i,l,h){const g=t+n;return function Ka(e,t,n,r,s){const i=zi(e,t,n,r);return rr(e,t+2,s)||i}(e,g,s,i,l)?Cs(e,g+3,h?r.call(h,s,i,l):r(s,i,l)):_a(e,g+3)}(Se(),wn(),e,t,n,r,s,i)}function Gp(e,t,n,r,s,i,l){return function qp(e,t,n,r,s,i,l,h,g){const E=t+n;return Hr(e,E,s,i,l,h)?Cs(e,E+4,g?r.call(g,s,i,l,h):r(s,i,l,h)):_a(e,E+4)}(Se(),wn(),e,t,n,r,s,i,l)}function Wp(e,t,n,r,s,i,l,h){const g=wn()+e,E=Se(),T=Hr(E,g,n,r,s,i);return rr(E,g+4,l)||T?Cs(E,g+5,h?t.call(h,n,r,s,i,l):t(n,r,s,i,l)):ca(E,g+5)}function _a(e,t){const n=e[t];return n===bt?void 0:n}function Kp(e,t,n,r,s,i){const l=t+n;return rr(e,l,s)?Cs(e,l+1,i?r.call(i,s):r(s)):_a(e,l+1)}function Yp(e,t,n,r,s,i,l){const h=t+n;return zi(e,h,s,i)?Cs(e,h+2,l?r.call(l,s,i):r(s,i)):_a(e,h+2)}function Jp(e,t){const n=_t();let r;const s=e+22;n.firstCreatePass?(r=function X0(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[s]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,r.onDestroy)):r=n.data[s];const i=r.factory||(r.factory=vr(r.type)),l=dn(Do);try{const h=jr(!1),g=i();return jr(h),function L_(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Se(),s,g),g}finally{dn(l)}}function Xp(e,t,n){const r=e+22,s=Se(),i=_r(s,r);return Da(s,r)?Kp(s,wn(),t,i.transform,n,i):i.transform(n)}function eg(e,t,n,r){const s=e+22,i=Se(),l=_r(i,s);return Da(i,s)?Yp(i,wn(),t,l.transform,n,r,l):l.transform(n,r)}function Da(e,t){return e[1].data[t].pure}function cc(e){return t=>{setTimeout(e,void 0,t)}}const bs=class rC extends D.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let s=t,i=n||(()=>null),l=r;if(t&&"object"==typeof t){const g=t;s=g.next?.bind(g),i=g.error?.bind(g),l=g.complete?.bind(g)}this.__isAsync&&(i=cc(i),s&&(s=cc(s)),l&&(l=cc(l)));const h=super.subscribe({next:s,error:i,complete:l});return t instanceof f.w0&&t.add(h),h}};function sC(){return this._results[$i()]()}class il{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=$i(),r=il.prototype;r[n]||(r[n]=sC)}get changes(){return this._changes||(this._changes=new bs)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const s=Xe(t);(this._changesDetected=!function it(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let s=e[r],i=t[r];if(n&&(s=n(s),i=n(i)),i!==s)return!1}return!0}(r._results,s,n))&&(r._results=s,r.length=s.length,r.last=s[this.length-1],r.first=s[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Ca=(()=>{class e{}return e.__NG_ELEMENT_ID__=aC,e})();const iC=Ca,oC=class extends iC{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,s=Va(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);s[17]=this._declarationLView[this._declarationTContainer.index];const l=this._declarationLView[19];return null!==l&&(s[19]=l.createEmbeddedView(r)),$a(r,s,t),new va(s)}};function aC(){return ol(Zt(),Se())}function ol(e,t){return 4&e.type?new oC(t,e,ko(e,t)):null}let al=(()=>{class e{}return e.__NG_ELEMENT_ID__=lC,e})();function lC(){return rg(Zt(),Se())}const uC=al,tg=class extends uC{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return ko(this._hostTNode,this._hostLView)}get injector(){return new p(this._hostTNode,this._hostLView)}get parentInjector(){const t=js(this._hostTNode,this._hostLView);if(ao(t)){const n=Zr(t,this._hostLView),r=Jt(t);return new p(n[1].data[r+8],n)}return new p(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=ng(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let s,i;"number"==typeof r?s=r:null!=r&&(s=r.index,i=r.injector);const l=t.createEmbeddedView(n||{},i);return this.insert(l,s),l}createComponent(t,n,r,s,i){const l=t&&!function jt(e){return"function"==typeof e}(t);let h;if(l)h=n;else{const O=n||{};h=O.index,r=O.injector,s=O.projectableNodes,i=O.environmentInjector||O.ngModuleRef}const g=l?t:new oc(It(t)),E=r||this.parentInjector;if(!i&&null==g.ngModule){const H=(l?E:this.parentInjector).get(yo,null);H&&(i=H)}const T=g.create(E,s,void 0,i);return this.insert(T.hostView,h),T}insert(t,n){const r=t._lView,s=r[1];if(function _(e){return Dn(e[3])}(r)){const T=this.indexOf(t);if(-1!==T)this.detach(T);else{const O=r[3],H=new tg(O,O[6],O[3]);H.detach(H.indexOf(t))}}const i=this._adjustIndex(n),l=this._lContainer;!function jy(e,t,n,r){const s=10+r,i=n.length;r>0&&(n[s-1][4]=t),r<i-10?(t[4]=n[s],Kt(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const l=t[17];null!==l&&n!==l&&function Hy(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(l,t);const h=t[19];null!==h&&h.insertView(e),t[2]|=64}(s,r,l,i);const h=$l(i,l),g=r[11],E=Na(g,l[7]);return null!==E&&function ky(e,t,n,r,s,i){r[0]=s,r[6]=t,aa(e,r,n,1,s,i)}(s,l[6],g,r,E,h),t.attachToViewContainerRef(),Kt(dc(l),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=ng(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Hl(this._lContainer,n);r&&(zn(dc(this._lContainer),n),Id(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Hl(this._lContainer,n);return r&&null!=zn(dc(this._lContainer),n)?new va(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function ng(e){return e[8]}function dc(e){return e[8]||(e[8]=[])}function rg(e,t){let n;const r=t[e.index];if(Dn(r))n=r;else{let s;if(8&e.type)s=Qt(r);else{const i=t[11];s=i.createComment("");const l=En(e,t);Ui(i,Na(i,l),s,function zy(e,t){return e.nextSibling(t)}(i,l),!1)}t[e.index]=n=Hf(r,t,s,e),za(t,n)}return new tg(n,e,t)}class fc{constructor(t){this.queryList=t,this.matches=null}clone(){return new fc(this.queryList)}setDirty(){this.queryList.setDirty()}}class hc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,s=[];for(let i=0;i<r;i++){const l=n.getByIndex(i);s.push(this.queries[l.indexInDeclarationView].clone())}return new hc(s)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==fg(t,n).matches&&this.queries[n].setDirty()}}class sg{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class pc{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const s=null!==n?n.length:0,i=this.getByIndex(r).embeddedTView(t,s);i&&(i.indexInDeclarationView=r,null!==n?n.push(i):n=[i])}return null!==n?new pc(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class gc{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new gc(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let s=0;s<r.length;s++){const i=r[s];this.matchTNodeWithReadOption(t,n,fC(n,i)),this.matchTNodeWithReadOption(t,n,hi(n,t,i,!1,!1))}else r===Ca?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,hi(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const s=this.metadata.read;if(null!==s)if(s===ya||s===al||s===Ca&&4&n.type)this.addMatch(n.index,-2);else{const i=hi(n,t,s,!1,!1);null!==i&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function fC(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function pC(e,t,n,r){return-1===n?function hC(e,t){return 11&e.type?ko(e,t):4&e.type?ol(e,t):null}(t,e):-2===n?function gC(e,t,n){return n===ya?ko(t,e):n===Ca?ol(t,e):n===al?rg(t,e):void 0}(e,t,r):pi(e,e[1],n,t)}function ig(e,t,n,r){const s=t[19].queries[r];if(null===s.matches){const i=e.data,l=n.matches,h=[];for(let g=0;g<l.length;g+=2){const E=l[g];h.push(E<0?null:pC(t,i[E],l[g+1],n.metadata.read))}s.matches=h}return s.matches}function mc(e,t,n,r){const s=e.queries.getByIndex(n),i=s.matches;if(null!==i){const l=ig(e,t,s,n);for(let h=0;h<i.length;h+=2){const g=i[h];if(g>0)r.push(l[h/2]);else{const E=i[h+1],T=t[-g];for(let O=10;O<T.length;O++){const H=T[O];H[17]===H[3]&&mc(H[1],H,E,r)}if(null!==T[9]){const O=T[9];for(let H=0;H<O.length;H++){const ae=O[H];mc(ae[1],ae,E,r)}}}}}return r}function og(e){const t=Se(),n=_t(),r=no();Ti(r+1);const s=fg(n,r);if(e.dirty&&v(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const i=s.crossesNgTemplate?mc(n,t,r,[]):ig(n,t,s,r);e.reset(i,S0),e.notifyOnChanges()}return!0}return!1}function ag(e,t,n){const r=_t();r.firstCreatePass&&(dg(r,new sg(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),cg(r,Se(),t)}function lg(e,t,n,r){const s=_t();if(s.firstCreatePass){const i=Zt();dg(s,new sg(t,n,r),i.index),function yC(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(s,e),2==(2&n)&&(s.staticContentQueries=!0)}cg(s,Se(),n)}function ug(){return function mC(e,t){return e[19].queries[t].queryList}(Se(),no())}function cg(e,t,n){const r=new il(4==(4&n));Rf(e,t,r,r.destroy),null===t[19]&&(t[19]=new hc),t[19].queries.push(new fc(r))}function dg(e,t,n){null===e.queries&&(e.queries=new pc),e.queries.track(new gc(t,n))}function fg(e,t){return e.queries.getByIndex(t)}function hg(e,t){return ol(e,t)}function Bo(e){const t=It(e)||at(e)||Yt(e);return null!==t&&t.standalone}function ul(...e){}const xg=new d("Application Initializer");let cl=(()=>{class e{constructor(n){this.appInits=n,this.resolve=ul,this.reject=ul,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,s)=>{this.resolve=r,this.reject=s})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s<this.appInits.length;s++){const i=this.appInits[s]();if(Bu(i))n.push(i);else if(ah(i)){const l=new Promise((h,g)=>{i.subscribe({complete:h,error:g})});n.push(l)}}Promise.all(n).then(()=>{r()}).catch(s=>{this.reject(s)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(bn(xg,8))},e.\u0275prov=Pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Rg=new d("AppId",{providedIn:"root",factory:function Ng(){return`${Cc()}${Cc()}${Cc()}`}});function Cc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Fg=new d("Platform Initializer"),LC=new d("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),kg=new d("appBootstrapListener"),BC=new d("AnimationModuleType");let jC=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Pe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const dl=new d("LocaleId",{providedIn:"root",factory:()=>Kc(dl,ot.Optional|ot.SkipSelf)||function HC(){return typeof $localize<"u"&&$localize.locale||No}()}),UC=new d("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class VC{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let $C=(()=>{class e{compileModuleSync(n){return new ac(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Us(hn(n).declarations).reduce((l,h)=>{const g=It(h);return g&&l.push(new oc(g)),l},[]);return new VC(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const WC=(()=>Promise.resolve(0))();function Ec(e){typeof Zone>"u"?WC.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Pr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new bs(!1),this.onMicrotaskEmpty=new bs(!1),this.onStable=new bs(!1),this.onError=new bs(!1),typeof Zone>"u")throw new ye(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&n,s.shouldCoalesceRunChangeDetection=r,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function KC(){let e=ne.requestAnimationFrame,t=ne.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function qC(e){const t=()=>{!function QC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ne,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,bc(e),e.isCheckStableRunning=!0,wc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),bc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,l,h)=>{try{return jg(e),n.invokeTask(s,i,l,h)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Hg(e)}},onInvoke:(n,r,s,i,l,h,g)=>{try{return jg(e),n.invoke(s,i,l,h,g)}finally{e.shouldCoalesceRunChangeDetection&&t(),Hg(e)}},onHasTask:(n,r,s,i)=>{n.hasTask(s,i),r===s&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,bc(e),wc(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,s,i)=>(n.handleError(s,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Pr.isInAngularZone())throw new ye(909,!1)}static assertNotInAngularZone(){if(Pr.isInAngularZone())throw new ye(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,s){const i=this._inner,l=i.scheduleEventTask("NgZoneEvent: "+s,t,YC,ul,ul);try{return i.runTask(l,n,r)}finally{i.cancelTask(l)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const YC={};function wc(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function bc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function jg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Hg(e){e._nesting--,wc(e)}class ZC{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new bs,this.onMicrotaskEmpty=new bs,this.onStable=new bs,this.onError=new bs}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,s){return t.apply(n,r)}}const Ug=new d(""),Vg=new d("");let Tc,JC=(()=>{class e{constructor(n,r,s){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Tc||(function XC(e){Tc=e}(s),s.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Pr.assertNotInAngularZone(),Ec(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Ec(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,s){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(l=>l.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:s})}whenStable(n,r,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,s){return[]}}return e.\u0275fac=function(n){return new(n||e)(bn(Pr),bn($g),bn(Vg))},e.\u0275prov=Pe({token:e,factory:e.\u0275fac}),e})(),$g=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Tc?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Pe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),vi=null;const zg=new d("AllowMultipleToken"),Mc=new d("PlatformDestroyListeners");class nE{constructor(t,n){this.name=t,this.token=n}}function Wg(e,t,n=[]){const r=`Platform: ${t}`,s=new d(r);return(i=[])=>{let l=Sc();if(!l||l.injector.get(zg,!1)){const h=[...n,...i,{provide:s,useValue:!0}];e?e(h):function rE(e){if(vi&&!vi.get(zg,!1))throw new ye(400,!1);vi=e;const t=e.get(Yg);(function Gg(e){const t=e.get(Fg,null);t&&t.forEach(n=>n())})(e)}(function Kg(e=[],t){return _s.create({name:t,providers:[{provide:ql,useValue:"platform"},{provide:Mc,useValue:new Set([()=>vi=null])},...e]})}(h,r))}return function iE(e){const t=Sc();if(!t)throw new ye(401,!1);return t}()}}function Sc(){return vi?.get(Yg)??null}let Yg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const s=function oE(e,t){let n;return n="noop"===e?new ZC:("zone.js"===e?void 0:e)||new Pr(t),n}(r?.ngZone,function Qg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:Pr,useValue:s}];return s.run(()=>{const l=_s.create({providers:i,parent:this.injector,name:n.moduleType.name}),h=n.create(l),g=h.injector.get(sa,null);if(!g)throw new ye(402,!1);return s.runOutsideAngular(()=>{const E=s.onError.subscribe({next:T=>{g.handleError(T)}});h.onDestroy(()=>{hl(this._modules,h),E.unsubscribe()})}),function qg(e,t,n){try{const r=n();return Bu(r)?r.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(g,s,()=>{const E=h.injector.get(cl);return E.runInitializers(),E.donePromise.then(()=>(function np(e){gt(e,"Expected localeId to be defined"),"string"==typeof e&&(tp=e.toLowerCase().replace(/_/g,"-"))}(h.injector.get(dl,No)||No),this._moduleDoBootstrap(h),h))})})}bootstrapModule(n,r=[]){const s=Zg({},r);return function eE(e,t,n){const r=new ac(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,s))}_moduleDoBootstrap(n){const r=n.injector.get(fl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(s=>r.bootstrap(s));else{if(!n.instance.ngDoBootstrap)throw new ye(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ye(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Mc,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(bn(_s))},e.\u0275prov=Pe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Zg(e,t){return Array.isArray(t)?t.reduce(Zg,e):{...e,...t}}let fl=(()=>{class e{constructor(n,r,s){this._zone=n,this._injector=r,this._exceptionHandler=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new se.y(h=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{h.next(this._stable),h.complete()})}),l=new se.y(h=>{let g;this._zone.runOutsideAngular(()=>{g=this._zone.onStable.subscribe(()=>{Pr.assertNotInAngularZone(),Ec(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,h.next(!0))})})});const E=this._zone.onUnstable.subscribe(()=>{Pr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{h.next(!1)}))});return()=>{g.unsubscribe(),E.unsubscribe()}});this.isStable=(0,J.T)(i,l.pipe((0,$.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const s=n instanceof Pp;if(!this._injector.get(cl).done)throw!s&&Bo(n),new ye(405,false);let l;l=s?n:this._injector.get(ma).resolveComponentFactory(n),this.componentTypes.push(l.componentType);const h=function tE(e){return e.isBoundToModule}(l)?void 0:this._injector.get(Wi),E=l.create(_s.NULL,[],r||l.selector,h),T=E.location.nativeElement,O=E.injector.get(Ug,null);return O?.registerApplication(T),E.onDestroy(()=>{this.detachView(E.hostView),hl(this.components,E),O?.unregisterApplication(T)}),this._loadComponent(E),E}tick(){if(this._runningTick)throw new ye(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;hl(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(kg,[]).concat(this._bootstrapListeners).forEach(s=>s(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>hl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new ye(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(bn(Pr),bn(_s),bn(sa))},e.\u0275prov=Pe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function hl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Xg=!0;function lE(){Xg=!1}let uE=(()=>{class e{}return e.__NG_ELEMENT_ID__=cE,e})();function cE(e){return function dE(e,t,n){if(Bn(e)&&!n){const r=Tn(e.index,t);return new va(r,r)}return 47&e.type?new va(t[16],t):null}(Zt(),Se(),16==(16&e))}class sm{constructor(){}supports(t){return ua(t)}create(t){return new yE(t)}}const mE=(e,t)=>t;class yE{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||mE}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,s=0,i=null;for(;n||r;){const l=!r||n&&n.currentIndex<om(r,s,i)?n:r,h=om(l,s,i),g=l.currentIndex;if(l===r)s--,r=r._nextRemoved;else if(n=n._next,null==l.previousIndex)s++;else{i||(i=[]);const E=h-s,T=g-s;if(E!=T){for(let H=0;H<E;H++){const ae=H<i.length?i[H]:i[H]=0,Me=ae+H;T<=Me&&Me<E&&(i[H]=ae+1)}i[l.previousIndex]=T-E}}h!==g&&t(l,h,g)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!ua(t))throw new ye(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let s,i,l,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let h=0;h<this.length;h++)i=t[h],l=this._trackByFn(h,i),null!==n&&Object.is(n.trackById,l)?(r&&(n=this._verifyReinsertion(n,i,l,h)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,l,h),r=!0),n=n._next}else s=0,function x_(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[$i()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,h=>{l=this._trackByFn(s,h),null!==n&&Object.is(n.trackById,l)?(r&&(n=this._verifyReinsertion(n,h,l,s)),Object.is(n.item,h)||this._addIdentityChange(n,h)):(n=this._mismatch(n,h,l,s),r=!0),n=n._next,s++}),this.length=s;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,s){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,s)):t=this._addAfter(new vE(n,r),i,s),t}_verifyReinsertion(t,n,r,s){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const s=t._prevRemoved,i=t._nextRemoved;return null===s?this._removalsHead=i:s._nextRemoved=i,null===i?this._removalsTail=s:i._prevRemoved=s,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const s=null===n?this._itHead:n._next;return t._next=s,t._prev=n,null===s?this._itTail=t:s._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new im),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new im),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class vE{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class _E{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class im{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new _E,this.map.set(n,r)),r.add(t)}get(t,n){const s=this.map.get(t);return s?s.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function om(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class am{constructor(){}supports(t){return t instanceof Map||xu(t)}create(){return new DE}}class DE{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||xu(t)))throw new ye(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,s)=>{if(n&&n.key===s)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(s,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const s=this._records.get(t);this._maybeAddToChanges(s,n);const i=s._prev,l=s._next;return i&&(i._next=l),l&&(l._prev=i),s._next=null,s._prev=null,s}const r=new CE(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class CE{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function lm(){return new xc([new sm])}let xc=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const s=r.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||lm()),deps:[[e,new Jo,new Zo]]}}find(n){const r=this.factories.find(s=>s.supports(n));if(null!=r)return r;throw new ye(901,!1)}}return e.\u0275prov=Pe({token:e,providedIn:"root",factory:lm}),e})();function um(){return new Rc([new am])}let Rc=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const s=r.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||um()),deps:[[e,new Jo,new Zo]]}}find(n){const r=this.factories.find(s=>s.supports(n));if(r)return r;throw new ye(901,!1)}}return e.\u0275prov=Pe({token:e,providedIn:"root",factory:um}),e})();const bE=Wg(null,"core",[]);let TE=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(bn(fl))},e.\u0275mod=Cr({type:e}),e.\u0275inj=ge({}),e})();function ME(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},1481:(Ye,me,b)=>{b.d(me,{Dx:()=>G,H7:()=>hn,b2:()=>fr,q6:()=>ot,se:()=>le});var D=b(6895),f=b(4650);class se extends D.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class J extends se{static makeCurrent(){(0,D.HT)(new J)}onAndCancel(L,x,z){return L.addEventListener(x,z,!1),()=>{L.removeEventListener(x,z,!1)}}dispatchEvent(L,x){L.dispatchEvent(x)}remove(L){L.parentNode&&L.parentNode.removeChild(L)}createElement(L,x){return(x=x||this.getDefaultDocument()).createElement(L)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(L){return L.nodeType===Node.ELEMENT_NODE}isShadowRoot(L){return L instanceof DocumentFragment}getGlobalEventTarget(L,x){return"window"===x?window:"document"===x?L:"body"===x?L.body:null}getBaseHref(L){const x=function Q(){return $=$||document.querySelector("base"),$?$.getAttribute("href"):null}();return null==x?null:function re(W){Y=Y||document.createElement("a"),Y.setAttribute("href",W);const L=Y.pathname;return"/"===L.charAt(0)?L:`/${L}`}(x)}resetBaseElement(){$=null}getUserAgent(){return window.navigator.userAgent}getCookie(L){return(0,D.Mx)(document.cookie,L)}}let Y,$=null;const te=new f.OlP("TRANSITION_ID"),X=[{provide:f.ip1,useFactory:function de(W,L,x){return()=>{x.get(f.CZH).donePromise.then(()=>{const z=(0,D.q)(),Ie=L.querySelectorAll(`style[ng-transition="${W}"]`);for(let Ve=0;Ve<Ie.length;Ve++)z.remove(Ie[Ve])})}},deps:[te,D.K0,f.zs3],multi:!0}];let ke=(()=>{class W{build(){return new XMLHttpRequest}}return W.\u0275fac=function(x){return new(x||W)},W.\u0275prov=f.Yz7({token:W,factory:W.\u0275fac}),W})();const De=new f.OlP("EventManagerPlugins");let ye=(()=>{class W{constructor(x,z){this._zone=z,this._eventNameToPlugin=new Map,x.forEach(Ie=>Ie.manager=this),this._plugins=x.slice().reverse()}addEventListener(x,z,Ie){return this._findPluginFor(z).addEventListener(x,z,Ie)}addGlobalEventListener(x,z,Ie){return this._findPluginFor(z).addGlobalEventListener(x,z,Ie)}getZone(){return this._zone}_findPluginFor(x){const z=this._eventNameToPlugin.get(x);if(z)return z;const Ie=this._plugins;for(let Ve=0;Ve<Ie.length;Ve++){const wt=Ie[Ve];if(wt.supports(x))return this._eventNameToPlugin.set(x,wt),wt}throw new Error(`No event manager plugin found for event ${x}`)}}return W.\u0275fac=function(x){return new(x||W)(f.LFG(De),f.LFG(f.R0b))},W.\u0275prov=f.Yz7({token:W,factory:W.\u0275fac}),W})();class Re{constructor(L){this._doc=L}addGlobalEventListener(L,x,z){const Ie=(0,D.q)().getGlobalEventTarget(this._doc,L);if(!Ie)throw new Error(`Unsupported event target ${Ie} for event ${x}`);return this.addEventListener(Ie,x,z)}}let Ee=(()=>{class W{constructor(){this._stylesSet=new Set}addStyles(x){const z=new Set;x.forEach(Ie=>{this._stylesSet.has(Ie)||(this._stylesSet.add(Ie),z.add(Ie))}),this.onStylesAdded(z)}onStylesAdded(x){}getAllStyles(){return Array.from(this._stylesSet)}}return W.\u0275fac=function(x){return new(x||W)},W.\u0275prov=f.Yz7({token:W,factory:W.\u0275fac}),W})(),Ne=(()=>{class W extends Ee{constructor(x){super(),this._doc=x,this._hostNodes=new Map,this._hostNodes.set(x.head,[])}_addStylesToHost(x,z,Ie){x.forEach(Ve=>{const wt=this._doc.createElement("style");wt.textContent=Ve,Ie.push(z.appendChild(wt))})}addHost(x){const z=[];this._addStylesToHost(this._stylesSet,x,z),this._hostNodes.set(x,z)}removeHost(x){const z=this._hostNodes.get(x);z&&z.forEach(Je),this._hostNodes.delete(x)}onStylesAdded(x){this._hostNodes.forEach((z,Ie)=>{this._addStylesToHost(x,Ie,z)})}ngOnDestroy(){this._hostNodes.forEach(x=>x.forEach(Je))}}return W.\u0275fac=function(x){return new(x||W)(f.LFG(D.K0))},W.\u0275prov=f.Yz7({token:W,factory:W.\u0275fac}),W})();function Je(W){(0,D.q)().remove(W)}const Ae={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},he=/%COMP%/g,q="%COMP%",ue=`_nghost-${q}`,ie=`_ngcontent-${q}`;function N(W,L,x){for(let z=0;z<L.length;z++){let Ie=L[z];Array.isArray(Ie)?N(W,Ie,x):(Ie=Ie.replace(he,W),x.push(Ie))}return x}function B(W){return L=>{if("__ngUnwrap__"===L)return W;!1===W(L)&&(L.preventDefault(),L.returnValue=!1)}}let le=(()=>{class W{constructor(x,z,Ie){this.eventManager=x,this.sharedStylesHost=z,this.appId=Ie,this.rendererByCompId=new Map,this.defaultRenderer=new fe(x)}createRenderer(x,z){if(!x||!z)return this.defaultRenderer;switch(z.encapsulation){case f.ifc.Emulated:{let Ie=this.rendererByCompId.get(z.id);return Ie||(Ie=new gt(this.eventManager,this.sharedStylesHost,z,this.appId),this.rendererByCompId.set(z.id,Ie)),Ie.applyToHost(x),Ie}case 1:case f.ifc.ShadowDom:return new ze(this.eventManager,this.sharedStylesHost,x,z);default:if(!this.rendererByCompId.has(z.id)){const Ie=N(z.id,z.styles,[]);this.sharedStylesHost.addStyles(Ie),this.rendererByCompId.set(z.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return W.\u0275fac=function(x){return new(x||W)(f.LFG(ye),f.LFG(Ne),f.LFG(f.AFp))},W.\u0275prov=f.Yz7({token:W,factory:W.\u0275fac}),W})();class fe{constructor(L){this.eventManager=L,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(L,x){return x?document.createElementNS(Ae[x]||x,L):document.createElement(L)}createComment(L){return document.createComment(L)}createText(L){return document.createTextNode(L)}appendChild(L,x){(pt(L)?L.content:L).appendChild(x)}insertBefore(L,x,z){L&&(pt(L)?L.content:L).insertBefore(x,z)}removeChild(L,x){L&&L.removeChild(x)}selectRootElement(L,x){let z="string"==typeof L?document.querySelector(L):L;if(!z)throw new Error(`The selector "${L}" did not match any elements`);return x||(z.textContent=""),z}parentNode(L){return L.parentNode}nextSibling(L){return L.nextSibling}setAttribute(L,x,z,Ie){if(Ie){x=Ie+":"+x;const Ve=Ae[Ie];Ve?L.setAttributeNS(Ve,x,z):L.setAttribute(x,z)}else L.setAttribute(x,z)}removeAttribute(L,x,z){if(z){const Ie=Ae[z];Ie?L.removeAttributeNS(Ie,x):L.removeAttribute(`${z}:${x}`)}else L.removeAttribute(x)}addClass(L,x){L.classList.add(x)}removeClass(L,x){L.classList.remove(x)}setStyle(L,x,z,Ie){Ie&(f.JOm.DashCase|f.JOm.Important)?L.style.setProperty(x,z,Ie&f.JOm.Important?"important":""):L.style[x]=z}removeStyle(L,x,z){z&f.JOm.DashCase?L.style.removeProperty(x):L.style[x]=""}setProperty(L,x,z){L[x]=z}setValue(L,x){L.nodeValue=x}listen(L,x,z){return"string"==typeof L?this.eventManager.addGlobalEventListener(L,x,B(z)):this.eventManager.addEventListener(L,x,B(z))}}function pt(W){return"TEMPLATE"===W.tagName&&void 0!==W.content}class gt extends fe{constructor(L,x,z,Ie){super(L),this.component=z;const Ve=N(Ie+"-"+z.id,z.styles,[]);x.addStyles(Ve),this.contentAttr=function oe(W){return ie.replace(he,W)}(Ie+"-"+z.id),this.hostAttr=function Ce(W){return ue.replace(he,W)}(Ie+"-"+z.id)}applyToHost(L){super.setAttribute(L,this.hostAttr,"")}createElement(L,x){const z=super.createElement(L,x);return super.setAttribute(z,this.contentAttr,""),z}}class ze extends fe{constructor(L,x,z,Ie){super(L),this.sharedStylesHost=x,this.hostEl=z,this.shadowRoot=z.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ve=N(Ie.id,Ie.styles,[]);for(let wt=0;wt<Ve.length;wt++){const Ft=document.createElement("style");Ft.textContent=Ve[wt],this.shadowRoot.appendChild(Ft)}}nodeOrShadowRoot(L){return L===this.hostEl?this.shadowRoot:L}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(L,x){return super.appendChild(this.nodeOrShadowRoot(L),x)}insertBefore(L,x,z){return super.insertBefore(this.nodeOrShadowRoot(L),x,z)}removeChild(L,x){return super.removeChild(this.nodeOrShadowRoot(L),x)}parentNode(L){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(L)))}}let Gt=(()=>{class W extends Re{constructor(x){super(x)}supports(x){return!0}addEventListener(x,z,Ie){return x.addEventListener(z,Ie,!1),()=>this.removeEventListener(x,z,Ie)}removeEventListener(x,z,Ie){return x.removeEventListener(z,Ie)}}return W.\u0275fac=function(x){return new(x||W)(f.LFG(D.K0))},W.\u0275prov=f.Yz7({token:W,factory:W.\u0275fac}),W})();const gn=["alt","control","meta","shift"],Pe={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Z={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},ge={alt:W=>W.altKey,control:W=>W.ctrlKey,meta:W=>W.metaKey,shift:W=>W.shiftKey};let Ue=(()=>{class W extends Re{constructor(x){super(x)}supports(x){return null!=W.parseEventName(x)}addEventListener(x,z,Ie){const Ve=W.parseEventName(z),wt=W.eventCallback(Ve.fullKey,Ie,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,D.q)().onAndCancel(x,Ve.domEventName,wt))}static parseEventName(x){const z=x.toLowerCase().split("."),Ie=z.shift();if(0===z.length||"keydown"!==Ie&&"keyup"!==Ie)return null;const Ve=W._normalizeKey(z.pop());let wt="";if(gn.forEach(Ze=>{const ir=z.indexOf(Ze);ir>-1&&(z.splice(ir,1),wt+=Ze+".")}),wt+=Ve,0!=z.length||0===Ve.length)return null;const Ft={};return Ft.domEventName=Ie,Ft.fullKey=wt,Ft}static getEventFullKey(x){let z="",Ie=function vt(W){let L=W.key;if(null==L){if(L=W.keyIdentifier,null==L)return"Unidentified";L.startsWith("U+")&&(L=String.fromCharCode(parseInt(L.substring(2),16)),3===W.location&&Z.hasOwnProperty(L)&&(L=Z[L]))}return Pe[L]||L}(x);return Ie=Ie.toLowerCase()," "===Ie?Ie="space":"."===Ie&&(Ie="dot"),gn.forEach(Ve=>{Ve!=Ie&&ge[Ve](x)&&(z+=Ve+".")}),z+=Ie,z}static eventCallback(x,z,Ie){return Ve=>{W.getEventFullKey(Ve)===x&&Ie.runGuarded(()=>z(Ve))}}static _normalizeKey(x){return"esc"===x?"escape":x}}return W.\u0275fac=function(x){return new(x||W)(f.LFG(D.K0))},W.\u0275prov=f.Yz7({token:W,factory:W.\u0275fac}),W})();const ot=(0,f.eFA)(f._c5,"browser",[{provide:f.Lbi,useValue:D.bD},{provide:f.g9A,useValue:function en(){J.makeCurrent()},multi:!0},{provide:D.K0,useFactory:function Rn(){return(0,f.RDi)(document),document},deps:[]}]),sr=new f.OlP(""),tt=[{provide:f.rWj,useClass:class K{addToWindow(L){f.dqk.getAngularTestability=(z,Ie=!0)=>{const Ve=L.findTestabilityInTree(z,Ie);if(null==Ve)throw new Error("Could not find testability for element.");return Ve},f.dqk.getAllAngularTestabilities=()=>L.getAllTestabilities(),f.dqk.getAllAngularRootElements=()=>L.getAllRootElements(),f.dqk.frameworkStabilizers||(f.dqk.frameworkStabilizers=[]),f.dqk.frameworkStabilizers.push(z=>{const Ie=f.dqk.getAllAngularTestabilities();let Ve=Ie.length,wt=!1;const Ft=function(Ze){wt=wt||Ze,Ve--,0==Ve&&z(wt)};Ie.forEach(function(Ze){Ze.whenStable(Ft)})})}findTestabilityInTree(L,x,z){return null==x?null:L.getTestability(x)??(z?(0,D.q)().isShadowRoot(x)?this.findTestabilityInTree(L,x.host,!0):this.findTestabilityInTree(L,x.parentElement,!0):null)}},deps:[]},{provide:f.lri,useClass:f.dDg,deps:[f.R0b,f.eoX,f.rWj]},{provide:f.dDg,useClass:f.dDg,deps:[f.R0b,f.eoX,f.rWj]}],dn=[{provide:f.zSh,useValue:"root"},{provide:f.qLn,useFactory:function _n(){return new f.qLn},deps:[]},{provide:De,useClass:Gt,multi:!0,deps:[D.K0,f.R0b,f.Lbi]},{provide:De,useClass:Ue,multi:!0,deps:[D.K0]},{provide:le,useClass:le,deps:[ye,Ne,f.AFp]},{provide:f.FYo,useExisting:le},{provide:Ee,useExisting:Ne},{provide:Ne,useClass:Ne,deps:[D.K0]},{provide:ye,useClass:ye,deps:[De,f.R0b]},{provide:D.JF,useClass:ke,deps:[]},[]];let fr=(()=>{class W{constructor(x){}static withServerTransition(x){return{ngModule:W,providers:[{provide:f.AFp,useValue:x.appId},{provide:te,useExisting:f.AFp},X]}}}return W.\u0275fac=function(x){return new(x||W)(f.LFG(sr,12))},W.\u0275mod=f.oAB({type:W}),W.\u0275inj=f.cJS({providers:[...dn,...tt],imports:[D.ez,f.hGG]}),W})(),G=(()=>{class W{constructor(x){this._doc=x}getTitle(){return this._doc.title}setTitle(x){this._doc.title=x||""}}return W.\u0275fac=function(x){return new(x||W)(f.LFG(D.K0))},W.\u0275prov=f.Yz7({token:W,factory:function(x){let z=null;return z=x?new x:function V(){return new G((0,f.LFG)(D.K0))}(),z},providedIn:"root"}),W})();typeof window<"u"&&window;let hn=(()=>{class W{}return W.\u0275fac=function(x){return new(x||W)},W.\u0275prov=f.Yz7({token:W,factory:function(x){let z=null;return z=x?new(x||W):f.LFG(Ge),z},providedIn:"root"}),W})(),Ge=(()=>{class W extends hn{constructor(x){super(),this._doc=x}sanitize(x,z){if(null==z)return null;switch(x){case f.q3G.NONE:return z;case f.q3G.HTML:return(0,f.qzn)(z,"HTML")?(0,f.z3N)(z):(0,f.EiD)(this._doc,String(z)).toString();case f.q3G.STYLE:return(0,f.qzn)(z,"Style")?(0,f.z3N)(z):z;case f.q3G.SCRIPT:if((0,f.qzn)(z,"Script"))return(0,f.z3N)(z);throw new Error("unsafe value used in a script context");case f.q3G.URL:return(0,f.qzn)(z,"URL")?(0,f.z3N)(z):(0,f.mCW)(String(z));case f.q3G.RESOURCE_URL:if((0,f.qzn)(z,"ResourceURL"))return(0,f.z3N)(z);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${x} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(x){return(0,f.JVY)(x)}bypassSecurityTrustStyle(x){return(0,f.L6k)(x)}bypassSecurityTrustScript(x){return(0,f.eBb)(x)}bypassSecurityTrustUrl(x){return(0,f.LAX)(x)}bypassSecurityTrustResourceUrl(x){return(0,f.pB0)(x)}}return W.\u0275fac=function(x){return new(x||W)(f.LFG(D.K0))},W.\u0275prov=f.Yz7({token:W,factory:function(x){let z=null;return z=x?new x:function Wt(W){return new Ge(W.get(D.K0))}(f.LFG(f.zs3)),z},providedIn:"root"}),W})()},8252:(Ye,me,b)=>{b.d(me,{gz:()=>Tr,m2:()=>ge,F0:()=>Jt,Od:()=>lo,yS:()=>jr,Bz:()=>hi,lC:()=>Is});var D=b(6895),f=b(4650);const J=(0,b(3888).d)(d=>function(){d(this),this.name="EmptyError",this.message="no elements in sequence"});var $=b(8306),Q=b(727),Y=b(4482),re=b(5403);function te(){return(0,Y.e)((d,c)=>{let u=null;d._refCount++;const m=(0,re.x)(c,void 0,void 0,void 0,()=>{if(!d||d._refCount<=0||0<--d._refCount)return void(u=null);const C=d._connection,M=u;u=null,C&&(!M||C===M)&&C.unsubscribe(),c.unsubscribe()});d.subscribe(m),m.closed||(u=d.connect())})}class de extends $.y{constructor(c,u){super(),this.source=c,this.subjectFactory=u,this._subject=null,this._refCount=0,this._connection=null,(0,Y.A)(c)&&(this.lift=c.lift)}_subscribe(c){return this.getSubject().subscribe(c)}getSubject(){const c=this._subject;return(!c||c.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:c}=this;this._subject=this._connection=null,c?.unsubscribe()}connect(){let c=this._connection;if(!c){c=this._connection=new Q.w0;const u=this.getSubject();c.add(this.source.subscribe((0,re.x)(u,void 0,()=>{this._teardown(),u.complete()},m=>{this._teardown(),u.error(m)},()=>this._teardown()))),c.closed&&(this._connection=null,c=Q.w0.EMPTY)}return c}refCount(){return te()(this)}}var X=b(2076),K=b(9646),ke=b(1135),De=b(9841),ye=b(2843),Re=b(7272),Ee=b(9770),Ne=b(515),Je=b(7579),Ae=b(9300);function he(d){return d<=0?()=>Ne.E:(0,Y.e)((c,u)=>{let m=[];c.subscribe((0,re.x)(u,C=>{m.push(C),d<m.length&&m.shift()},()=>{for(const C of m)u.next(C);u.complete()},void 0,()=>{m=null}))})}function P(d=q){return(0,Y.e)((c,u)=>{let m=!1;c.subscribe((0,re.x)(u,C=>{m=!0,u.next(C)},()=>m?u.complete():u.error(d())))})}function q(){return new J}function ue(d){return(0,Y.e)((c,u)=>{let m=!1;c.subscribe((0,re.x)(u,C=>{m=!0,u.next(C)},()=>{m||u.next(d),u.complete()}))})}var ie=b(4671),Ce=b(5698);function N(d,c){const u=arguments.length>=2;return m=>m.pipe(d?(0,Ae.h)((C,M)=>d(C,M,m)):ie.y,(0,Ce.q)(1),u?ue(c):P(()=>new J))}var B=b(4004),ee=b(3900),le=b(8675),fe=b(5026),Oe=b(262),st=b(4351),pt=b(5577),gt=b(8505),ze=b(9718),Gt=b(8746),gn=b(8189),xe=b(1481);class Pe{constructor(c,u){this.id=c,this.url=u}}class Z extends Pe{constructor(c,u,m="imperative",C=null){super(c,u),this.type=0,this.navigationTrigger=m,this.restoredState=C}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ge extends Pe{constructor(c,u,m){super(c,u),this.urlAfterRedirects=m,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ue extends Pe{constructor(c,u,m){super(c,u),this.reason=m,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class vt extends Pe{constructor(c,u,m){super(c,u),this.error=m,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class cn extends Pe{constructor(c,u,m,C){super(c,u),this.urlAfterRedirects=m,this.state=C,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class An extends Pe{constructor(c,u,m,C){super(c,u),this.urlAfterRedirects=m,this.state=C,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xn extends Pe{constructor(c,u,m,C,M){super(c,u),this.urlAfterRedirects=m,this.state=C,this.shouldActivate=M,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class en extends Pe{constructor(c,u,m,C){super(c,u),this.urlAfterRedirects=m,this.state=C,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _n extends Pe{constructor(c,u,m,C){super(c,u),this.urlAfterRedirects=m,this.state=C,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Rn{constructor(c){this.route=c,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Nn{constructor(c){this.route=c,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ot{constructor(c){this.snapshot=c,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class sr{constructor(c){this.snapshot=c,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tt{constructor(c){this.snapshot=c,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dn{constructor(c){this.snapshot=c,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fr{constructor(c,u,m){this.routerEvent=c,this.position=u,this.anchor=m,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const ut="primary";class we{constructor(c){this.params=c||{}}has(c){return Object.prototype.hasOwnProperty.call(this.params,c)}get(c){if(this.has(c)){const u=this.params[c];return Array.isArray(u)?u[0]:u}return null}getAll(c){if(this.has(c)){const u=this.params[c];return Array.isArray(u)?u:[u]}return[]}get keys(){return Object.keys(this.params)}}function V(d){return new we(d)}const G="Redirecting to ",Te="ngNavigationCancelingError";function ne(d){const c=Error("NavigationCancelingError: "+(d||""));return c[Te]=!0,c}function Ot(d,c,u){const m=u.path.split("/");if(m.length>d.length||"full"===u.pathMatch&&(c.hasChildren()||m.length<d.length))return null;const C={};for(let M=0;M<m.length;M++){const R=m[M],j=d[M];if(R.startsWith(":"))C[R.substring(1)]=j;else if(R!==j.path)return null}return{consumed:d.slice(0,m.length),posParams:C}}function Le(d,c){const u=d?Object.keys(d):void 0,m=c?Object.keys(c):void 0;if(!u||!m||u.length!=m.length)return!1;let C;for(let M=0;M<u.length;M++)if(C=u[M],!Nt(d[C],c[C]))return!1;return!0}function Nt(d,c){if(Array.isArray(d)&&Array.isArray(c)){if(d.length!==c.length)return!1;const u=[...d].sort(),m=[...c].sort();return u.every((C,M)=>m[M]===C)}return d===c}function zt(d){return Array.prototype.concat.apply([],d)}function fn(d){return d.length>0?d[d.length-1]:null}function ct(d,c){for(const u in d)d.hasOwnProperty(u)&&c(d[u],u)}function nt(d){return(0,f.CqO)(d)?d:(0,f.QGY)(d)?(0,X.D)(Promise.resolve(d)):(0,K.of)(d)}const ln={exact:function Cr(d,c,u){if(!Wt(d.segments,c.segments)||!Er(d.segments,c.segments,u)||d.numberOfChildren!==c.numberOfChildren)return!1;for(const m in c.children)if(!d.children[m]||!Cr(d.children[m],c.children[m],u))return!1;return!0},subset:Rr},Pn={exact:function Ur(d,c){return Le(d,c)},subset:function xr(d,c){return Object.keys(c).length<=Object.keys(d).length&&Object.keys(c).every(u=>Nt(d[u],c[u]))},ignored:()=>!0};function Or(d,c,u){return ln[u.paths](d.root,c.root,u.matrixParams)&&Pn[u.queryParams](d.queryParams,c.queryParams)&&!("exact"===u.fragment&&d.fragment!==c.fragment)}function Rr(d,c,u){return ss(d,c,c.segments,u)}function ss(d,c,u,m){if(d.segments.length>u.length){const C=d.segments.slice(0,u.length);return!(!Wt(C,u)||c.hasChildren()||!Er(C,u,m))}if(d.segments.length===u.length){if(!Wt(d.segments,u)||!Er(d.segments,u,m))return!1;for(const C in c.children)if(!d.children[C]||!Rr(d.children[C],c.children[C],m))return!1;return!0}{const C=u.slice(0,d.segments.length),M=u.slice(d.segments.length);return!!(Wt(d.segments,C)&&Er(d.segments,C,m)&&d.children[ut])&&ss(d.children[ut],c,M,m)}}function Er(d,c,u){return c.every((m,C)=>Pn[u](d[C].parameters,m.parameters))}class It{constructor(c,u,m){this.root=c,this.queryParams=u,this.fragment=m}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=V(this.queryParams)),this._queryParamMap}toString(){return L.serialize(this)}}class at{constructor(c,u){this.segments=c,this.children=u,this.parent=null,ct(u,(m,C)=>m.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return x(this)}}class Yt{constructor(c,u){this.path=c,this.parameters=u}get parameterMap(){return this._parameterMap||(this._parameterMap=V(this.parameters)),this._parameterMap}toString(){return or(this)}}function Wt(d,c){return d.length===c.length&&d.every((u,m)=>u.path===c[m].path)}class mt{}class W{parse(c){const u=new Ht(c);return new It(u.parseRootSegment(),u.parseQueryParams(),u.parseFragment())}serialize(c){const u=`/${z(c.root,!0)}`,m=function hr(d){const c=Object.keys(d).map(u=>{const m=d[u];return Array.isArray(m)?m.map(C=>`${Ve(u)}=${Ve(C)}`).join("&"):`${Ve(u)}=${Ve(m)}`}).filter(u=>!!u);return c.length?`?${c.join("&")}`:""}(c.queryParams);return`${u}${m}${"string"==typeof c.fragment?`#${function wt(d){return encodeURI(d)}(c.fragment)}`:""}`}}const L=new W;function x(d){return d.segments.map(c=>or(c)).join("/")}function z(d,c){if(!d.hasChildren())return x(d);if(c){const u=d.children[ut]?z(d.children[ut],!1):"",m=[];return ct(d.children,(C,M)=>{M!==ut&&m.push(`${M}:${z(C,!1)}`)}),m.length>0?`${u}(${m.join("//")})`:u}{const u=function Ge(d,c){let u=[];return ct(d.children,(m,C)=>{C===ut&&(u=u.concat(c(m,C)))}),ct(d.children,(m,C)=>{C!==ut&&(u=u.concat(c(m,C)))}),u}(d,(m,C)=>C===ut?[z(d.children[ut],!1)]:[`${C}:${z(m,!1)}`]);return 1===Object.keys(d.children).length&&null!=d.children[ut]?`${x(d)}/${u[0]}`:`${x(d)}/(${u.join("//")})`}}function Ie(d){return encodeURIComponent(d).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ve(d){return Ie(d).replace(/%3B/gi,";")}function Ft(d){return Ie(d).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ze(d){return decodeURIComponent(d)}function ir(d){return Ze(d.replace(/\+/g,"%20"))}function or(d){return`${Ft(d.path)}${function Nr(d){return Object.keys(d).map(c=>`;${Ft(c)}=${Ft(d[c])}`).join("")}(d.parameters)}`}const sn=/^[^\/()?;=#]+/;function wr(d){const c=d.match(sn);return c?c[0]:""}const pr=/^[^=?&#]+/,gr=/^[^&#]+/;class Ht{constructor(c){this.url=c,this.remaining=c}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new at([],{}):new at([],this.parseChildren())}parseQueryParams(){const c={};if(this.consumeOptional("?"))do{this.parseQueryParam(c)}while(this.consumeOptional("&"));return c}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const c=[];for(this.peekStartsWith("(")||c.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),c.push(this.parseSegment());let u={};this.peekStartsWith("/(")&&(this.capture("/"),u=this.parseParens(!0));let m={};return this.peekStartsWith("(")&&(m=this.parseParens(!1)),(c.length>0||Object.keys(u).length>0)&&(m[ut]=new at(c,u)),m}parseSegment(){const c=wr(this.remaining);if(""===c&&this.peekStartsWith(";"))throw new f.vHH(4009,!1);return this.capture(c),new Yt(Ze(c),this.parseMatrixParams())}parseMatrixParams(){const c={};for(;this.consumeOptional(";");)this.parseParam(c);return c}parseParam(c){const u=wr(this.remaining);if(!u)return;this.capture(u);let m="";if(this.consumeOptional("=")){const C=wr(this.remaining);C&&(m=C,this.capture(m))}c[Ze(u)]=Ze(m)}parseQueryParam(c){const u=function tn(d){const c=d.match(pr);return c?c[0]:""}(this.remaining);if(!u)return;this.capture(u);let m="";if(this.consumeOptional("=")){const R=function Ws(d){const c=d.match(gr);return c?c[0]:""}(this.remaining);R&&(m=R,this.capture(m))}const C=ir(u),M=ir(m);if(c.hasOwnProperty(C)){let R=c[C];Array.isArray(R)||(R=[R],c[C]=R),R.push(M)}else c[C]=M}parseParens(c){const u={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const m=wr(this.remaining),C=this.remaining[m.length];if("/"!==C&&")"!==C&&";"!==C)throw new f.vHH(4010,!1);let M;m.indexOf(":")>-1?(M=m.slice(0,m.indexOf(":")),this.capture(M),this.capture(":")):c&&(M=ut);const R=this.parseChildren();u[M]=1===Object.keys(R).length?R[ut]:new at([],R),this.consumeOptional("//")}return u}peekStartsWith(c){return this.remaining.startsWith(c)}consumeOptional(c){return!!this.peekStartsWith(c)&&(this.remaining=this.remaining.substring(c.length),!0)}capture(c){if(!this.consumeOptional(c))throw new f.vHH(4011,!1)}}class Ks{constructor(c){this._root=c}get root(){return this._root.value}parent(c){const u=this.pathFromRoot(c);return u.length>1?u[u.length-2]:null}children(c){const u=Vr(c,this._root);return u?u.children.map(m=>m.value):[]}firstChild(c){const u=Vr(c,this._root);return u&&u.children.length>0?u.children[0].value:null}siblings(c){const u=mr(c,this._root);return u.length<2?[]:u[u.length-2].children.map(C=>C.value).filter(C=>C!==c)}pathFromRoot(c){return mr(c,this._root).map(u=>u.value)}}function Vr(d,c){if(d===c.value)return c;for(const u of c.children){const m=Vr(d,u);if(m)return m}return null}function mr(d,c){if(d===c.value)return[c];for(const u of c.children){const m=mr(d,u);if(m.length)return m.unshift(c),m}return[]}class Ln{constructor(c,u){this.value=c,this.children=u}toString(){return`TreeNode(${this.value})`}}function On(d){const c={};return d&&d.children.forEach(u=>c[u.value.outlet]=u),c}class br extends Ks{constructor(c,u){super(c),this.snapshot=u,Kn(this,c)}toString(){return this.snapshot.toString()}}function ar(d,c){const u=function on(d,c){const R=new Wn([],{},{},"",{},ut,c,null,d.root,-1,{});return new Bn("",new Ln(R,[]))}(d,c),m=new ke.X([new Yt("",{})]),C=new ke.X({}),M=new ke.X({}),R=new ke.X({}),j=new ke.X(""),_e=new Tr(m,C,R,j,M,ut,c,u.root);return _e.snapshot=u.root,new br(new Ln(_e,[]),u)}class Tr{constructor(c,u,m,C,M,R,j,_e){this.url=c,this.params=u,this.queryParams=m,this.fragment=C,this.data=M,this.outlet=R,this.component=j,this._futureSnapshot=_e}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._paramMap=this.params.pipe((0,B.U)(c=>V(c)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,B.U)(c=>V(c)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function an(d,c="emptyOnly"){const u=d.pathFromRoot;let m=0;if("always"!==c)for(m=u.length-1;m>=1;){const C=u[m],M=u[m-1];if(C.routeConfig&&""===C.routeConfig.path)m--;else{if(M.component)break;m--}}return function Dn(d){return d.reduce((c,u)=>({params:{...c.params,...u.params},data:{...c.data,...u.data},resolve:{...u.data,...c.resolve,...u.routeConfig?.data,...u._resolvedData}}),{params:{},data:{},resolve:{}})}(u.slice(m))}class Wn{constructor(c,u,m,C,M,R,j,_e,We,Tt,He,Rt){this.url=c,this.params=u,this.queryParams=m,this.fragment=C,this.data=M,this.outlet=R,this.component=j,this.routeConfig=_e,this._urlSegment=We,this._lastPathIndex=Tt,this._correctedLastPathIndex=Rt??Tt,this._resolve=He}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._paramMap=V(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=V(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(m=>m.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Bn extends Ks{constructor(c,u){super(u),this.url=c,Kn(this,u)}toString(){return mn(this._root)}}function Kn(d,c){c.value._routerState=d,c.children.forEach(u=>Kn(d,u))}function mn(d){const c=d.children.length>0?` { ${d.children.map(mn).join(", ")} } `:"";return`${d.value}${c}`}function jn(d){if(d.snapshot){const c=d.snapshot,u=d._futureSnapshot;d.snapshot=u,Le(c.queryParams,u.queryParams)||d.queryParams.next(u.queryParams),c.fragment!==u.fragment&&d.fragment.next(u.fragment),Le(c.params,u.params)||d.params.next(u.params),function At(d,c){if(d.length!==c.length)return!1;for(let u=0;u<d.length;++u)if(!Le(d[u],c[u]))return!1;return!0}(c.url,u.url)||d.url.next(u.url),Le(c.data,u.data)||d.data.next(u.data)}else d.snapshot=d._futureSnapshot,d.data.next(d._futureSnapshot.data)}function Ts(d,c){const u=Le(d.params,c.params)&&function hn(d,c){return Wt(d,c)&&d.every((u,m)=>Le(u.parameters,c[m].parameters))}(d.url,c.url);return u&&!(!d.parent!=!c.parent)&&(!d.parent||Ts(d.parent,c.parent))}function zr(d,c,u){if(u&&d.shouldReuseRoute(c.value,u.value.snapshot)){const m=u.value;m._futureSnapshot=c.value;const C=function Gr(d,c,u){return c.children.map(m=>{for(const C of u.children)if(d.shouldReuseRoute(m.value,C.value.snapshot))return zr(d,m,C);return zr(d,m)})}(d,c,u);return new Ln(m,C)}{if(d.shouldAttach(c.value)){const M=d.retrieve(c.value);if(null!==M){const R=M.route;return R.value._futureSnapshot=c.value,R.children=c.children.map(j=>zr(d,j)),R}}const m=function Ys(d){return new Tr(new ke.X(d.url),new ke.X(d.params),new ke.X(d.queryParams),new ke.X(d.fragment),new ke.X(d.data),d.outlet,d.component,d)}(c.value),C=c.children.map(M=>zr(d,M));return new Ln(m,C)}}function Yn(d){return"object"==typeof d&&null!=d&&!d.outlets&&!d.segmentPath}function Wr(d){return"object"==typeof d&&null!=d&&d.outlets}function Ms(d,c,u,m,C){let M={};if(m&&ct(m,(j,_e)=>{M[_e]=Array.isArray(j)?j.map(We=>`${We}`):`${j}`}),d===c)return new It(u,M,C);const R=Qn(d,c,u);return new It(R,M,C)}function Qn(d,c,u){const m={};return ct(d.children,(C,M)=>{m[M]=C===c?u:Qn(C,c,u)}),new at(d.segments,m)}class yr{constructor(c,u,m){if(this.isAbsolute=c,this.numberOfDoubleDots=u,this.commands=m,c&&m.length>0&&Yn(m[0]))throw new f.vHH(4003,false);const C=m.find(Wr);if(C&&C!==fn(m))throw new f.vHH(4004,false)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Qs{constructor(c,u,m){this.segmentGroup=c,this.processChildren=u,this.index=m}}function Mr(d,c,u){if(d||(d=new at([],{})),0===d.segments.length&&d.hasChildren())return Fr(d,c,u);const m=function Zs(d,c,u){let m=0,C=c;const M={match:!1,pathIndex:0,commandIndex:0};for(;C<d.segments.length;){if(m>=u.length)return M;const R=d.segments[C],j=u[m];if(Wr(j))break;const _e=`${j}`,We=m<u.length-1?u[m+1]:null;if(C>0&&void 0===_e)break;if(_e&&We&&"object"==typeof We&&void 0===We.outlets){if(!Cn(_e,We,R))return M;m+=2}else{if(!Cn(_e,{},R))return M;m++}C++}return{match:!0,pathIndex:C,commandIndex:m}}(d,c,u),C=u.slice(m.commandIndex);if(m.match&&m.pathIndex<d.segments.length){const M=new at(d.segments.slice(0,m.pathIndex),{});return M.children[ut]=new at(d.segments.slice(m.pathIndex),d.children),Fr(M,0,C)}return m.match&&0===C.length?new at(d.segments,{}):m.match&&!d.hasChildren()?Js(d,c,u):m.match?Fr(d,0,C):Js(d,c,u)}function Fr(d,c,u){if(0===u.length)return new at(d.segments,{});{const m=function Ss(d){return Wr(d[0])?d[0].outlets:{[ut]:d}}(u),C={};return ct(m,(M,R)=>{"string"==typeof M&&(M=[M]),null!==M&&(C[R]=Mr(d.children[R],c,M))}),ct(d.children,(M,R)=>{void 0===m[R]&&(C[R]=M)}),new at(d.segments,C)}}function Js(d,c,u){const m=d.segments.slice(0,c);let C=0;for(;C<u.length;){const M=u[C];if(Wr(M)){const _e=Ci(M.outlets);return new at(m,_e)}if(0===C&&Yn(u[0])){m.push(new Yt(d.segments[c].path,vr(u[0]))),C++;continue}const R=Wr(M)?M.outlets[ut]:`${M}`,j=C<u.length-1?u[C+1]:null;R&&j&&Yn(j)?(m.push(new Yt(R,vr(j))),C+=2):(m.push(new Yt(R,{})),C++)}return new at(m,{})}function Ci(d){const c={};return ct(d,(u,m)=>{"string"==typeof u&&(u=[u]),null!==u&&(c[m]=Js(new at([],{}),0,u))}),c}function vr(d){const c={};return ct(d,(u,m)=>c[m]=`${u}`),c}function Cn(d,c,u){return d==u.path&&Le(c,u.parameters)}class Kr{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new qn,this.attachRef=null}}class qn{constructor(){this.contexts=new Map}onChildOutletCreated(c,u){const m=this.getOrCreateContext(c);m.outlet=u,this.contexts.set(c,m)}onChildOutletDestroyed(c){const u=this.getContext(c);u&&(u.outlet=null,u.attachRef=null)}onOutletDeactivated(){const c=this.contexts;return this.contexts=new Map,c}onOutletReAttached(c){this.contexts=c}getOrCreateContext(c){let u=this.getContext(c);return u||(u=new Kr,this.contexts.set(c,u)),u}getContext(c){return this.contexts.get(c)||null}}const Sr=!1;let Is=(()=>{class d{constructor(u,m,C,M,R){this.parentContexts=u,this.location=m,this.changeDetector=M,this.environmentInjector=R,this.activated=null,this._activatedRoute=null,this.activateEvents=new f.vpe,this.deactivateEvents=new f.vpe,this.attachEvents=new f.vpe,this.detachEvents=new f.vpe,this.name=C||ut,u.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const u=this.parentContexts.getContext(this.name);u&&u.route&&(u.attachRef?this.attach(u.attachRef,u.route):this.activateWith(u.route,u.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new f.vHH(4012,Sr);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new f.vHH(4012,Sr);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new f.vHH(4012,Sr);this.location.detach();const u=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(u.instance),u}attach(u,m){this.activated=u,this._activatedRoute=m,this.location.insert(u.hostView),this.attachEvents.emit(u.instance)}deactivate(){if(this.activated){const u=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(u)}}activateWith(u,m){if(this.isActivated)throw new f.vHH(4013,Sr);this._activatedRoute=u;const C=this.location,R=u._futureSnapshot.component,j=this.parentContexts.getOrCreateContext(this.name).children,_e=new os(u,j,C.injector);if(m&&function as(d){return!!d.resolveComponentFactory}(m)){const We=m.resolveComponentFactory(R);this.activated=C.createComponent(We,C.length,_e)}else this.activated=C.createComponent(R,{index:C.length,injector:_e,environmentInjector:m??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return d.\u0275fac=function(u){return new(u||d)(f.Y36(qn),f.Y36(f.s_b),f.$8M("name"),f.Y36(f.sBO),f.Y36(f.lqb))},d.\u0275dir=f.lG2({type:d,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),d})();class os{constructor(c,u,m){this.route=c,this.childContexts=u,this.parent=m}get(c,u){return c===Tr?this.route:c===qn?this.childContexts:this.parent.get(c,u)}}let Ei=(()=>{class d{}return d.\u0275fac=function(u){return new(u||d)},d.\u0275cmp=f.Xpm({type:d,selectors:[["ng-component"]],decls:1,vars:0,template:function(u,m){1&u&&f._UZ(0,"router-outlet")},dependencies:[Is],encapsulation:2}),d})();function Xs(d,c){return d.providers&&!d._injector&&(d._injector=(0,f.MMx)(d.providers,c,`Route: ${d.path}`)),d._injector??c}function As(d){const c=d.children&&d.children.map(As),u=c?{...d,children:c}:{...d};return!u.component&&!u.loadComponent&&(c||u.loadChildren)&&u.outlet&&u.outlet!==ut&&(u.component=Ei),u}function Zn(d){return d.outlet||ut}function Ir(d,c){const u=d.filter(m=>Zn(m)===c);return u.push(...d.filter(m=>Zn(m)!==c)),u}function En(d){if(!d)return null;if(d.routeConfig?._injector)return d.routeConfig._injector;for(let c=d.parent;c;c=c.parent){const u=c.routeConfig;if(u?._loadedInjector)return u._loadedInjector;if(u?._injector)return u._injector}return null}class Ps{constructor(c,u,m,C){this.routeReuseStrategy=c,this.futureState=u,this.currState=m,this.forwardEvent=C}activate(c){const u=this.futureState._root,m=this.currState?this.currState._root:null;this.deactivateChildRoutes(u,m,c),jn(this.futureState.root),this.activateChildRoutes(u,m,c)}deactivateChildRoutes(c,u,m){const C=On(u);c.children.forEach(M=>{const R=M.value.outlet;this.deactivateRoutes(M,C[R],m),delete C[R]}),ct(C,(M,R)=>{this.deactivateRouteAndItsChildren(M,m)})}deactivateRoutes(c,u,m){const C=c.value,M=u?u.value:null;if(C===M)if(C.component){const R=m.getContext(C.outlet);R&&this.deactivateChildRoutes(c,u,R.children)}else this.deactivateChildRoutes(c,u,m);else M&&this.deactivateRouteAndItsChildren(u,m)}deactivateRouteAndItsChildren(c,u){c.value.component&&this.routeReuseStrategy.shouldDetach(c.value.snapshot)?this.detachAndStoreRouteSubtree(c,u):this.deactivateRouteAndOutlet(c,u)}detachAndStoreRouteSubtree(c,u){const m=u.getContext(c.value.outlet),C=m&&c.value.component?m.children:u,M=On(c);for(const R of Object.keys(M))this.deactivateRouteAndItsChildren(M[R],C);if(m&&m.outlet){const R=m.outlet.detach(),j=m.children.onOutletDeactivated();this.routeReuseStrategy.store(c.value.snapshot,{componentRef:R,route:c,contexts:j})}}deactivateRouteAndOutlet(c,u){const m=u.getContext(c.value.outlet),C=m&&c.value.component?m.children:u,M=On(c);for(const R of Object.keys(M))this.deactivateRouteAndItsChildren(M[R],C);m&&m.outlet&&(m.outlet.deactivate(),m.children.onOutletDeactivated(),m.attachRef=null,m.resolver=null,m.route=null)}activateChildRoutes(c,u,m){const C=On(u);c.children.forEach(M=>{this.activateRoutes(M,C[M.value.outlet],m),this.forwardEvent(new dn(M.value.snapshot))}),c.children.length&&this.forwardEvent(new sr(c.value.snapshot))}activateRoutes(c,u,m){const C=c.value,M=u?u.value:null;if(jn(C),C===M)if(C.component){const R=m.getOrCreateContext(C.outlet);this.activateChildRoutes(c,u,R.children)}else this.activateChildRoutes(c,u,m);else if(C.component){const R=m.getOrCreateContext(C.outlet);if(this.routeReuseStrategy.shouldAttach(C.snapshot)){const j=this.routeReuseStrategy.retrieve(C.snapshot);this.routeReuseStrategy.store(C.snapshot,null),R.children.onOutletReAttached(j.contexts),R.attachRef=j.componentRef,R.route=j.route.value,R.outlet&&R.outlet.attach(j.componentRef,j.route.value),jn(j.route.value),this.activateChildRoutes(c,null,R.children)}else{const j=En(C.snapshot),_e=j?.get(f._Vd)??null;R.attachRef=null,R.route=C,R.resolver=_e,R.injector=j,R.outlet&&R.outlet.activateWith(C,R.injector),this.activateChildRoutes(c,null,R.children)}}else this.activateChildRoutes(c,null,m)}}function _r(d){return"function"==typeof d}function v(d){return d instanceof It}const ve=Symbol("INITIAL_VALUE");function pe(){return(0,ee.w)(d=>(0,De.a)(d.map(c=>c.pipe((0,Ce.q)(1),(0,le.O)(ve)))).pipe((0,fe.R)((c,u)=>{let m=!1;return u.reduce((C,M,R)=>C!==ve?C:(M===ve&&(m=!0),m||!1!==M&&R!==u.length-1&&!v(M)?C:M),c)},ve),(0,Ae.h)(c=>c!==ve),(0,B.U)(c=>v(c)?c:!0===c),(0,Ce.q)(1)))}const rt={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function kt(d,c,u){if(""===c.path)return"full"===c.pathMatch&&(d.hasChildren()||u.length>0)?{...rt}:{matched:!0,consumedSegments:[],remainingSegments:u,parameters:{},positionalParamSegments:{}};const C=(c.matcher||Ot)(u,d,c);if(!C)return{...rt};const M={};ct(C.posParams,(j,_e)=>{M[_e]=j.path});const R=C.consumed.length>0?{...M,...C.consumed[C.consumed.length-1].parameters}:M;return{matched:!0,consumedSegments:C.consumed,remainingSegments:u.slice(C.consumed.length),parameters:R,positionalParamSegments:C.posParams??{}}}function xt(d,c,u,m,C="corrected"){if(u.length>0&&function un(d,c,u){return u.some(m=>qt(d,c,m)&&Zn(m)!==ut)}(d,u,m)){const R=new at(c,function St(d,c,u,m){const C={};C[ut]=m,m._sourceSegment=d,m._segmentIndexShift=c.length;for(const M of u)if(""===M.path&&Zn(M)!==ut){const R=new at([],{});R._sourceSegment=d,R._segmentIndexShift=c.length,C[Zn(M)]=R}return C}(d,c,m,new at(u,d.children)));return R._sourceSegment=d,R._segmentIndexShift=c.length,{segmentGroup:R,slicedSegments:[]}}if(0===u.length&&function Lt(d,c,u){return u.some(m=>qt(d,c,m))}(d,u,m)){const R=new at(d.segments,function Ut(d,c,u,m,C,M){const R={};for(const j of m)if(qt(d,u,j)&&!C[Zn(j)]){const _e=new at([],{});_e._sourceSegment=d,_e._segmentIndexShift="legacy"===M?d.segments.length:c.length,R[Zn(j)]=_e}return{...C,...R}}(d,c,u,m,d.children,C));return R._sourceSegment=d,R._segmentIndexShift=c.length,{segmentGroup:R,slicedSegments:u}}const M=new at(d.segments,d.children);return M._sourceSegment=d,M._segmentIndexShift=c.length,{segmentGroup:M,slicedSegments:u}}function qt(d,c,u){return(!(d.hasChildren()||c.length>0)||"full"!==u.pathMatch)&&""===u.path}function Se(d,c,u,m){return!!(Zn(d)===m||m!==ut&&qt(c,u,d))&&("**"===d.path||kt(c,d,u).matched)}function _t(d,c,u){return 0===c.length&&!d.children[u]}const lr=!1;class Jn{constructor(c){this.segmentGroup=c||null}}class Zt{constructor(c){this.urlTree=c}}function Xn(d){return(0,ye._)(new Jn(d))}function kr(d){return(0,ye._)(new Zt(d))}class qi{constructor(c,u,m,C,M){this.injector=c,this.configLoader=u,this.urlSerializer=m,this.urlTree=C,this.config=M,this.allowRedirects=!0}apply(){const c=xt(this.urlTree.root,[],[],this.config).segmentGroup,u=new at(c.segments,c.children);return this.expandSegmentGroup(this.injector,this.config,u,ut).pipe((0,B.U)(M=>this.createUrlTree(Ji(M),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Oe.K)(M=>{if(M instanceof Zt)return this.allowRedirects=!1,this.match(M.urlTree);throw M instanceof Jn?this.noMatchError(M):M}))}match(c){return this.expandSegmentGroup(this.injector,this.config,c.root,ut).pipe((0,B.U)(C=>this.createUrlTree(Ji(C),c.queryParams,c.fragment))).pipe((0,Oe.K)(C=>{throw C instanceof Jn?this.noMatchError(C):C}))}noMatchError(c){return new f.vHH(4002,lr)}createUrlTree(c,u,m){const C=c.segments.length>0?new at([],{[ut]:c}):c;return new It(C,u,m)}expandSegmentGroup(c,u,m,C){return 0===m.segments.length&&m.hasChildren()?this.expandChildren(c,u,m).pipe((0,B.U)(M=>new at([],M))):this.expandSegment(c,m,u,m.segments,C,!0)}expandChildren(c,u,m){const C=[];for(const M of Object.keys(m.children))"primary"===M?C.unshift(M):C.push(M);return(0,X.D)(C).pipe((0,st.b)(M=>{const R=m.children[M],j=Ir(u,M);return this.expandSegmentGroup(c,j,R,M).pipe((0,B.U)(_e=>({segment:_e,outlet:M})))}),(0,fe.R)((M,R)=>(M[R.outlet]=R.segment,M),{}),function oe(d,c){const u=arguments.length>=2;return m=>m.pipe(d?(0,Ae.h)((C,M)=>d(C,M,m)):ie.y,he(1),u?ue(c):P(()=>new J))}())}expandSegment(c,u,m,C,M,R){return(0,X.D)(m).pipe((0,st.b)(j=>this.expandSegmentAgainstRoute(c,u,m,j,C,M,R).pipe((0,Oe.K)(We=>{if(We instanceof Jn)return(0,K.of)(null);throw We}))),N(j=>!!j),(0,Oe.K)((j,_e)=>{if(j instanceof J||"EmptyError"===j.name)return _t(u,C,M)?(0,K.of)(new at([],{})):Xn(u);throw j}))}expandSegmentAgainstRoute(c,u,m,C,M,R,j){return Se(C,u,M,R)?void 0===C.redirectTo?this.matchSegmentAgainstRoute(c,u,C,M,R):j&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(c,u,m,C,M,R):Xn(u):Xn(u)}expandSegmentAgainstRouteUsingRedirect(c,u,m,C,M,R){return"**"===C.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(c,m,C,R):this.expandRegularSegmentAgainstRouteUsingRedirect(c,u,m,C,M,R)}expandWildCardWithParamsAgainstRouteUsingRedirect(c,u,m,C){const M=this.applyRedirectCommands([],m.redirectTo,{});return m.redirectTo.startsWith("/")?kr(M):this.lineralizeSegments(m,M).pipe((0,pt.z)(R=>{const j=new at(R,{});return this.expandSegment(c,j,u,R,C,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(c,u,m,C,M,R){const{matched:j,consumedSegments:_e,remainingSegments:We,positionalParamSegments:Tt}=kt(u,C,M);if(!j)return Xn(u);const He=this.applyRedirectCommands(_e,C.redirectTo,Tt);return C.redirectTo.startsWith("/")?kr(He):this.lineralizeSegments(C,He).pipe((0,pt.z)(Rt=>this.expandSegment(c,u,m,Rt.concat(We),R,!1)))}matchSegmentAgainstRoute(c,u,m,C,M){if("**"===m.path)return c=Xs(m,c),m.loadChildren?(m._loadedRoutes?(0,K.of)({routes:m._loadedRoutes,injector:m._loadedInjector}):this.configLoader.loadChildren(c,m)).pipe((0,B.U)(He=>(m._loadedRoutes=He.routes,m._loadedInjector=He.injector,new at(C,{})))):(0,K.of)(new at(C,{}));const{matched:R,consumedSegments:j,remainingSegments:_e}=kt(u,m,C);return R?(c=Xs(m,c),this.getChildConfig(c,m,C).pipe((0,pt.z)(Tt=>{const He=Tt.injector??c,Rt=Tt.routes,{segmentGroup:jt,slicedSegments:qe}=xt(u,j,_e,Rt),it=new at(jt.segments,jt.children);if(0===qe.length&&it.hasChildren())return this.expandChildren(He,Rt,it).pipe((0,B.U)(zn=>new at(j,zn)));if(0===Rt.length&&0===qe.length)return(0,K.of)(new at(j,{}));const Xe=Zn(m)===M;return this.expandSegment(He,it,Rt,qe,Xe?ut:M,!0).pipe((0,B.U)(Kt=>new at(j.concat(Kt.segments),Kt.children)))}))):Xn(u)}getChildConfig(c,u,m){return u.children?(0,K.of)({routes:u.children,injector:c}):u.loadChildren?void 0!==u._loadedRoutes?(0,K.of)({routes:u._loadedRoutes,injector:u._loadedInjector}):this.runCanLoadGuards(c,u,m).pipe((0,pt.z)(C=>C?this.configLoader.loadChildren(c,u).pipe((0,gt.b)(M=>{u._loadedRoutes=M.routes,u._loadedInjector=M.injector})):function wi(d){return(0,ye._)(ne(lr))}())):(0,K.of)({routes:[],injector:c})}runCanLoadGuards(c,u,m){const C=u.canLoad;if(!C||0===C.length)return(0,K.of)(!0);const M=C.map(R=>{const j=c.get(R);return nt(function S(d){return d&&_r(d.canLoad)}(j)?j.canLoad(u,m):j(u,m))});return(0,K.of)(M).pipe(pe(),(0,gt.b)(R=>{if(!v(R))return;const j=ne(G+this.urlSerializer.serialize(R));throw j.url=R,j}),(0,B.U)(R=>!0===R))}lineralizeSegments(c,u){let m=[],C=u.root;for(;;){if(m=m.concat(C.segments),0===C.numberOfChildren)return(0,K.of)(m);if(C.numberOfChildren>1||!C.children[ut])return(0,ye._)(new f.vHH(4e3,lr));C=C.children[ut]}}applyRedirectCommands(c,u,m){return this.applyRedirectCreatreUrlTree(u,this.urlSerializer.parse(u),c,m)}applyRedirectCreatreUrlTree(c,u,m,C){const M=this.createSegmentGroup(c,u.root,m,C);return new It(M,this.createQueryParams(u.queryParams,this.urlTree.queryParams),u.fragment)}createQueryParams(c,u){const m={};return ct(c,(C,M)=>{if("string"==typeof C&&C.startsWith(":")){const j=C.substring(1);m[M]=u[j]}else m[M]=C}),m}createSegmentGroup(c,u,m,C){const M=this.createSegments(c,u.segments,m,C);let R={};return ct(u.children,(j,_e)=>{R[_e]=this.createSegmentGroup(c,j,m,C)}),new at(M,R)}createSegments(c,u,m,C){return u.map(M=>M.path.startsWith(":")?this.findPosParam(c,M,C):this.findOrReturn(M,m))}findPosParam(c,u,m){const C=m[u.path.substring(1)];if(!C)throw new f.vHH(4001,lr);return C}findOrReturn(c,u){let m=0;for(const C of u){if(C.path===c.path)return u.splice(m),C;m++}return c}}function Ji(d){const c={};for(const m of Object.keys(d.children)){const M=Ji(d.children[m]);(M.segments.length>0||M.hasChildren())&&(c[m]=M)}return function Zi(d){if(1===d.numberOfChildren&&d.children[ut]){const c=d.children[ut];return new at(d.segments.concat(c.segments),c.children)}return d}(new at(d.segments,c))}class wn{constructor(c){this.path=c,this.route=this.path[this.path.length-1]}}class er{constructor(c,u){this.component=c,this.route=u}}function Xi(d,c,u){const m=d._root;return Os(m,c?c._root:null,u,[m.value])}function Un(d,c,u){return(En(c)??u).get(d)}function Os(d,c,u,m,C={canDeactivateChecks:[],canActivateChecks:[]}){const M=On(c);return d.children.forEach(R=>{(function eo(d,c,u,m,C={canDeactivateChecks:[],canActivateChecks:[]}){const M=d.value,R=c?c.value:null,j=u?u.getContext(d.value.outlet):null;if(R&&M.routeConfig===R.routeConfig){const _e=function to(d,c,u){if("function"==typeof u)return u(d,c);switch(u){case"pathParamsChange":return!Wt(d.url,c.url);case"pathParamsOrQueryParamsChange":return!Wt(d.url,c.url)||!Le(d.queryParams,c.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ts(d,c)||!Le(d.queryParams,c.queryParams);default:return!Ts(d,c)}}(R,M,M.routeConfig.runGuardsAndResolvers);_e?C.canActivateChecks.push(new wn(m)):(M.data=R.data,M._resolvedData=R._resolvedData),Os(d,c,M.component?j?j.children:null:u,m,C),_e&&j&&j.outlet&&j.outlet.isActivated&&C.canDeactivateChecks.push(new er(j.outlet.component,R))}else R&&xs(c,j,C),C.canActivateChecks.push(new wn(m)),Os(d,null,M.component?j?j.children:null:u,m,C)})(R,M[R.value.outlet],u,m.concat([R.value]),C),delete M[R.value.outlet]}),ct(M,(R,j)=>xs(R,u.getContext(j),C)),C}function xs(d,c,u){const m=On(d),C=d.value;ct(m,(M,R)=>{xs(M,C.component?c?c.children.getContext(R):null:c,u)}),u.canDeactivateChecks.push(new er(C.component&&c&&c.outlet&&c.outlet.isActivated?c.outlet.component:null,C))}class ds{}function Ns(d){return new $.y(c=>c.error(d))}class Vo{constructor(c,u,m,C,M,R){this.rootComponentType=c,this.config=u,this.urlTree=m,this.url=C,this.paramsInheritanceStrategy=M,this.relativeLinkResolution=R}recognize(){const c=xt(this.urlTree.root,[],[],this.config.filter(R=>void 0===R.redirectTo),this.relativeLinkResolution).segmentGroup,u=this.processSegmentGroup(this.config,c,ut);if(null===u)return null;const m=new Wn([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ut,this.rootComponentType,null,this.urlTree.root,-1,{}),C=new Ln(m,u),M=new Bn(this.url,C);return this.inheritParamsAndData(M._root),M}inheritParamsAndData(c){const u=c.value,m=an(u,this.paramsInheritanceStrategy);u.params=Object.freeze(m.params),u.data=Object.freeze(m.data),c.children.forEach(C=>this.inheritParamsAndData(C))}processSegmentGroup(c,u,m){return 0===u.segments.length&&u.hasChildren()?this.processChildren(c,u):this.processSegment(c,u,u.segments,m)}processChildren(c,u){const m=[];for(const M of Object.keys(u.children)){const R=u.children[M],j=Ir(c,M),_e=this.processSegmentGroup(j,R,M);if(null===_e)return null;m.push(..._e)}const C=Vt(m);return function Ai(d){d.sort((c,u)=>c.value.outlet===ut?-1:u.value.outlet===ut?1:c.value.outlet.localeCompare(u.value.outlet))}(C),C}processSegment(c,u,m,C){for(const M of c){const R=this.processSegmentAgainstRoute(M,u,m,C);if(null!==R)return R}return _t(u,m,C)?[]:null}processSegmentAgainstRoute(c,u,m,C){if(c.redirectTo||!Se(c,u,m,C))return null;let M,R=[],j=[];if("**"===c.path){const jt=m.length>0?fn(m).parameters:{},qe=ii(u)+m.length;M=new Wn(m,jt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,$n(c),Zn(c),c.component??c._loadedComponent??null,c,Pi(u),qe,Qr(c),qe)}else{const jt=kt(u,c,m);if(!jt.matched)return null;R=jt.consumedSegments,j=jt.remainingSegments;const qe=ii(u)+R.length;M=new Wn(R,jt.parameters,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,$n(c),Zn(c),c.component??c._loadedComponent??null,c,Pi(u),qe,Qr(c),qe)}const _e=function Mn(d){return d.children?d.children:d.loadChildren?d._loadedRoutes:[]}(c),{segmentGroup:We,slicedSegments:Tt}=xt(u,R,j,_e.filter(jt=>void 0===jt.redirectTo),this.relativeLinkResolution);if(0===Tt.length&&We.hasChildren()){const jt=this.processChildren(_e,We);return null===jt?null:[new Ln(M,jt)]}if(0===_e.length&&0===Tt.length)return[new Ln(M,[])];const He=Zn(c)===C,Rt=this.processSegment(_e,We,Tt,He?ut:C);return null===Rt?null:[new Ln(M,Rt)]}}function Lr(d){const c=d.value.routeConfig;return c&&""===c.path&&void 0===c.redirectTo}function Vt(d){const c=[],u=new Set;for(const m of d){if(!Lr(m)){c.push(m);continue}const C=c.find(M=>m.value.routeConfig===M.value.routeConfig);void 0!==C?(C.children.push(...m.children),u.add(C)):c.push(m)}for(const m of u){const C=Vt(m.children);c.push(new Ln(m.value,C))}return c.filter(m=>!u.has(m))}function Pi(d){let c=d;for(;c._sourceSegment;)c=c._sourceSegment;return c}function ii(d){let c=d,u=c._segmentIndexShift??0;for(;c._sourceSegment;)c=c._sourceSegment,u+=c._segmentIndexShift??0;return u-1}function $n(d){return d.data||{}}function Qr(d){return d.resolve||{}}const fs=Symbol("RouteTitle");function hs(d){return"string"==typeof d.title||null===d.title}function ks(d){return(0,ee.w)(c=>{const u=d(c);return u?(0,X.D)(u).pipe((0,B.U)(()=>c)):(0,K.of)(c)})}class Ni extends class ps{shouldDetach(c){return!1}store(c,u){}shouldAttach(c){return!1}retrieve(c){return null}shouldReuseRoute(c,u){return c.routeConfig===u.routeConfig}}{}const Fi=new f.OlP("ROUTES");let so=(()=>{class d{constructor(u,m){this.injector=u,this.compiler=m,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(u){if(this.componentLoaders.get(u))return this.componentLoaders.get(u);if(u._loadedComponent)return(0,K.of)(u._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(u);const m=nt(u.loadComponent()).pipe((0,gt.b)(M=>{this.onLoadEndListener&&this.onLoadEndListener(u),u._loadedComponent=M}),(0,Gt.x)(()=>{this.componentLoaders.delete(u)})),C=new de(m,()=>new Je.x).pipe(te());return this.componentLoaders.set(u,C),C}loadChildren(u,m){if(this.childrenLoaders.get(m))return this.childrenLoaders.get(m);if(m._loadedRoutes)return(0,K.of)({routes:m._loadedRoutes,injector:m._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(m);const M=this.loadModuleFactoryOrRoutes(m.loadChildren).pipe((0,B.U)(j=>{this.onLoadEndListener&&this.onLoadEndListener(m);let _e,We,Tt=!1;Array.isArray(j)?We=j:(_e=j.create(u).injector,We=zt(_e.get(Fi,[],f.XFs.Self|f.XFs.Optional)));return{routes:We.map(As),injector:_e}}),(0,Gt.x)(()=>{this.childrenLoaders.delete(m)})),R=new de(M,()=>new Je.x).pipe(te());return this.childrenLoaders.set(m,R),R}loadModuleFactoryOrRoutes(u){return nt(u()).pipe((0,pt.z)(m=>m instanceof f.YKP||Array.isArray(m)?(0,K.of)(m):(0,X.D)(this.compiler.compileModuleAsync(m))))}}return d.\u0275fac=function(u){return new(u||d)(f.LFG(f.zs3),f.LFG(f.Sil))},d.\u0275prov=f.Yz7({token:d,factory:d.\u0275fac}),d})();class qr{shouldProcessUrl(c){return!0}extract(c){return c}merge(c,u){return c}}function io(d){throw d}function Ls(d,c,u){return c.parse("/")}const oo={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ao={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Jt=(()=>{class d{constructor(u,m,C,M,R,j,_e){this.rootComponentType=u,this.urlSerializer=m,this.rootContexts=C,this.location=M,this.config=_e,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Je.x,this.errorHandler=io,this.malformedUriErrorHandler=Ls,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,K.of)(void 0),this.urlHandlingStrategy=new qr,this.routeReuseStrategy=new Ni,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=R.get(so),this.configLoader.onLoadEndListener=Rt=>this.triggerEvent(new Nn(Rt)),this.configLoader.onLoadStartListener=Rt=>this.triggerEvent(new Rn(Rt)),this.ngModule=R.get(f.h0i),this.console=R.get(f.c2e);const He=R.get(f.R0b);this.isNgZoneEnabled=He instanceof f.R0b&&f.R0b.isInAngularZone(),this.resetConfig(_e),this.currentUrlTree=function kn(){return new It(new at([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=ar(this.currentUrlTree,this.rootComponentType),this.transitions=new ke.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(u){const m=this.events;return u.pipe((0,Ae.h)(C=>0!==C.id),(0,B.U)(C=>({...C,extractedUrl:this.urlHandlingStrategy.extract(C.rawUrl)})),(0,ee.w)(C=>{let M=!1,R=!1;return(0,K.of)(C).pipe((0,gt.b)(j=>{this.currentNavigation={id:j.id,initialUrl:j.rawUrl,extractedUrl:j.extractedUrl,trigger:j.source,extras:j.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,ee.w)(j=>{const _e=this.browserUrlTree.toString(),We=!this.navigated||j.extractedUrl.toString()!==_e||_e!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||We)&&this.urlHandlingStrategy.shouldProcessUrl(j.rawUrl))return Zr(j.source)&&(this.browserUrlTree=j.extractedUrl),(0,K.of)(j).pipe((0,ee.w)(He=>{const Rt=this.transitions.getValue();return m.next(new Z(He.id,this.serializeUrl(He.extractedUrl),He.source,He.restoredState)),Rt!==this.transitions.getValue()?Ne.E:Promise.resolve(He)}),function si(d,c,u,m){return(0,ee.w)(C=>function ri(d,c,u,m,C){return new qi(d,c,u,m,C).apply()}(d,c,u,C.extractedUrl,m).pipe((0,B.U)(M=>({...C,urlAfterRedirects:M}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,gt.b)(He=>{this.currentNavigation={...this.currentNavigation,finalUrl:He.urlAfterRedirects}}),function oi(d,c,u,m,C){return(0,pt.z)(M=>function Ii(d,c,u,m,C="emptyOnly",M="legacy"){try{const R=new Vo(d,c,u,m,C,M).recognize();return null===R?Ns(new ds):(0,K.of)(R)}catch(R){return Ns(R)}}(d,c,M.urlAfterRedirects,u(M.urlAfterRedirects),m,C).pipe((0,B.U)(R=>({...M,targetSnapshot:R}))))}(this.rootComponentType,this.config,He=>this.serializeUrl(He),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,gt.b)(He=>{if("eager"===this.urlUpdateStrategy){if(!He.extras.skipLocationChange){const jt=this.urlHandlingStrategy.merge(He.urlAfterRedirects,He.rawUrl);this.setBrowserUrl(jt,He)}this.browserUrlTree=He.urlAfterRedirects}const Rt=new cn(He.id,this.serializeUrl(He.extractedUrl),this.serializeUrl(He.urlAfterRedirects),He.targetSnapshot);m.next(Rt)}));if(We&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Rt,extractedUrl:jt,source:qe,restoredState:it,extras:Xe}=j,Et=new Z(Rt,this.serializeUrl(jt),qe,it);m.next(Et);const Kt=ar(jt,this.rootComponentType).snapshot;return(0,K.of)({...j,targetSnapshot:Kt,urlAfterRedirects:jt,extras:{...Xe,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=j.rawUrl,j.resolve(null),Ne.E}),(0,gt.b)(j=>{const _e=new An(j.id,this.serializeUrl(j.extractedUrl),this.serializeUrl(j.urlAfterRedirects),j.targetSnapshot);this.triggerEvent(_e)}),(0,B.U)(j=>({...j,guards:Xi(j.targetSnapshot,j.currentSnapshot,this.rootContexts)})),function Rs(d,c){return(0,pt.z)(u=>{const{targetSnapshot:m,currentSnapshot:C,guards:{canActivateChecks:M,canDeactivateChecks:R}}=u;return 0===R.length&&0===M.length?(0,K.of)({...u,guardsResult:!0}):function bi(d,c,u,m){return(0,X.D)(d).pipe((0,pt.z)(C=>function Vn(d,c,u,m,C){const M=c&&c.routeConfig?c.routeConfig.canDeactivate:null;if(!M||0===M.length)return(0,K.of)(!0);const R=M.map(j=>{const _e=Un(j,c,C);return nt(function U(d){return d&&_r(d.canDeactivate)}(_e)?_e.canDeactivate(d,c,u,m):_e(d,c,u,m)).pipe(N())});return(0,K.of)(R).pipe(pe())}(C.component,C.route,u,c,m)),N(C=>!0!==C,!0))}(R,m,C,d).pipe((0,pt.z)(j=>j&&function Tn(d){return"boolean"==typeof d}(j)?function no(d,c,u,m){return(0,X.D)(c).pipe((0,st.b)(C=>(0,Re.z)(function Uo(d,c){return null!==d&&c&&c(new ot(d)),(0,K.of)(!0)}(C.route.parent,m),function Ti(d,c){return null!==d&&c&&c(new tt(d)),(0,K.of)(!0)}(C.route,m),function Si(d,c,u){const m=c[c.length-1],M=c.slice(0,c.length-1).reverse().map(R=>function us(d){const c=d.routeConfig?d.routeConfig.canActivateChild:null;return c&&0!==c.length?{node:d,guards:c}:null}(R)).filter(R=>null!==R).map(R=>(0,Ee.P)(()=>{const j=R.guards.map(_e=>{const We=Un(_e,R.node,u);return nt(function I(d){return d&&_r(d.canActivateChild)}(We)?We.canActivateChild(m,d):We(m,d)).pipe(N())});return(0,K.of)(j).pipe(pe())}));return(0,K.of)(M).pipe(pe())}(d,C.path,u),function Mi(d,c,u){const m=c.routeConfig?c.routeConfig.canActivate:null;if(!m||0===m.length)return(0,K.of)(!0);const C=m.map(M=>(0,Ee.P)(()=>{const R=Un(M,c,u);return nt(function _(d){return d&&_r(d.canActivate)}(R)?R.canActivate(c,d):R(c,d)).pipe(N())}));return(0,K.of)(C).pipe(pe())}(d,C.route,u))),N(C=>!0!==C,!0))}(m,M,d,c):(0,K.of)(j)),(0,B.U)(j=>({...u,guardsResult:j})))})}(this.ngModule.injector,j=>this.triggerEvent(j)),(0,gt.b)(j=>{if(v(j.guardsResult)){const We=ne(`Redirecting to "${this.serializeUrl(j.guardsResult)}"`);throw We.url=j.guardsResult,We}const _e=new xn(j.id,this.serializeUrl(j.extractedUrl),this.serializeUrl(j.urlAfterRedirects),j.targetSnapshot,!!j.guardsResult);this.triggerEvent(_e)}),(0,Ae.h)(j=>!!j.guardsResult||(this.restoreHistory(j),this.cancelNavigationTransition(j,""),!1)),ks(j=>{if(j.guards.canActivateChecks.length)return(0,K.of)(j).pipe((0,gt.b)(_e=>{const We=new en(_e.id,this.serializeUrl(_e.extractedUrl),this.serializeUrl(_e.urlAfterRedirects),_e.targetSnapshot);this.triggerEvent(We)}),(0,ee.w)(_e=>{let We=!1;return(0,K.of)(_e).pipe(function Fs(d,c){return(0,pt.z)(u=>{const{targetSnapshot:m,guards:{canActivateChecks:C}}=u;if(!C.length)return(0,K.of)(u);let M=0;return(0,X.D)(C).pipe((0,st.b)(R=>function xi(d,c,u,m){const C=d.routeConfig,M=d._resolve;return void 0!==C?.title&&!hs(C)&&(M[fs]=C.title),function Ri(d,c,u,m){const C=function ai(d){return[...Object.keys(d),...Object.getOwnPropertySymbols(d)]}(d);if(0===C.length)return(0,K.of)({});const M={};return(0,X.D)(C).pipe((0,pt.z)(R=>function Br(d,c,u,m){const C=Un(d,c,m);return nt(C.resolve?C.resolve(c,u):C(c,u))}(d[R],c,u,m).pipe(N(),(0,gt.b)(j=>{M[R]=j}))),he(1),(0,ze.h)(M),(0,Oe.K)(R=>R instanceof J?Ne.E:(0,ye._)(R)))}(M,d,c,m).pipe((0,B.U)(R=>(d._resolvedData=R,d.data=an(d,u).resolve,C&&hs(C)&&(d.data[fs]=C.title),null)))}(R.route,m,d,c)),(0,gt.b)(()=>M++),he(1),(0,pt.z)(R=>M===C.length?(0,K.of)(u):Ne.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,gt.b)({next:()=>We=!0,complete:()=>{We||(this.restoreHistory(_e),this.cancelNavigationTransition(_e,"At least one route resolver didn't emit any value."))}}))}),(0,gt.b)(_e=>{const We=new _n(_e.id,this.serializeUrl(_e.extractedUrl),this.serializeUrl(_e.urlAfterRedirects),_e.targetSnapshot);this.triggerEvent(We)}))}),ks(j=>{const _e=We=>{const Tt=[];We.routeConfig?.loadComponent&&!We.routeConfig._loadedComponent&&Tt.push(this.configLoader.loadComponent(We.routeConfig).pipe((0,gt.b)(He=>{We.component=He}),(0,B.U)(()=>{})));for(const He of We.children)Tt.push(..._e(He));return Tt};return(0,De.a)(_e(j.targetSnapshot.root)).pipe(ue(),(0,Ce.q)(1))}),ks(()=>this.afterPreactivation()),(0,B.U)(j=>{const _e=function $r(d,c,u){const m=zr(d,c._root,u?u._root:void 0);return new br(m,c)}(this.routeReuseStrategy,j.targetSnapshot,j.currentRouterState);return{...j,targetRouterState:_e}}),(0,gt.b)(j=>{this.currentUrlTree=j.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(j.urlAfterRedirects,j.rawUrl),this.routerState=j.targetRouterState,"deferred"===this.urlUpdateStrategy&&(j.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,j),this.browserUrlTree=j.urlAfterRedirects)}),((d,c,u)=>(0,B.U)(m=>(new Ps(c,m.targetRouterState,m.currentRouterState,u).activate(d),m)))(this.rootContexts,this.routeReuseStrategy,j=>this.triggerEvent(j)),(0,gt.b)({next(){M=!0},complete(){M=!0}}),(0,Gt.x)(()=>{M||R||this.cancelNavigationTransition(C,`Navigation ID ${C.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation?.id===C.id&&(this.currentNavigation=null)}),(0,Oe.K)(j=>{if(R=!0,function je(d){return d&&d[Te]}(j)){const _e=v(j.url);_e||(this.navigated=!0,this.restoreHistory(C,!0));const We=new Ue(C.id,this.serializeUrl(C.extractedUrl),j.message);if(m.next(We),_e){const Tt=this.urlHandlingStrategy.merge(j.url,this.rawUrlTree),He={skipLocationChange:C.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Zr(C.source)};this.scheduleNavigation(Tt,"imperative",null,He,{resolve:C.resolve,reject:C.reject,promise:C.promise})}else C.resolve(!1)}else{this.restoreHistory(C,!0);const _e=new vt(C.id,this.serializeUrl(C.extractedUrl),j);m.next(_e);try{C.resolve(this.errorHandler(j))}catch(We){C.reject(We)}}return Ne.E}))}))}resetRootComponentType(u){this.rootComponentType=u,this.routerState.root.component=this.rootComponentType}setTransition(u){this.transitions.next({...this.transitions.value,...u})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(u=>{const m="popstate"===u.type?"popstate":"hashchange";"popstate"===m&&setTimeout(()=>{const C={replaceUrl:!0},M=u.state?.navigationId?u.state:null;if(M){const j={...M};delete j.navigationId,delete j.\u0275routerPageId,0!==Object.keys(j).length&&(C.state=j)}const R=this.parseUrl(u.url);this.scheduleNavigation(R,m,M,C)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(u){this.events.next(u)}resetConfig(u){this.config=u.map(As),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(u,m={}){const{relativeTo:C,queryParams:M,fragment:R,queryParamsHandling:j,preserveFragment:_e}=m,We=C||this.routerState.root,Tt=_e?this.currentUrlTree.fragment:R;let He=null;switch(j){case"merge":He={...this.currentUrlTree.queryParams,...M};break;case"preserve":He=this.currentUrlTree.queryParams;break;default:He=M||null}return null!==He&&(He=this.removeEmptyProps(He)),function Hn(d,c,u,m,C){if(0===u.length)return Ms(c.root,c.root,c.root,m,C);const M=function is(d){if("string"==typeof d[0]&&1===d.length&&"/"===d[0])return new yr(!0,0,d);let c=0,u=!1;const m=d.reduce((C,M,R)=>{if("object"==typeof M&&null!=M){if(M.outlets){const j={};return ct(M.outlets,(_e,We)=>{j[We]="string"==typeof _e?_e.split("/"):_e}),[...C,{outlets:j}]}if(M.segmentPath)return[...C,M.segmentPath]}return"string"!=typeof M?[...C,M]:0===R?(M.split("/").forEach((j,_e)=>{0==_e&&"."===j||(0==_e&&""===j?u=!0:".."===j?c++:""!=j&&C.push(j))}),C):[...C,M]},[]);return new yr(u,c,m)}(u);return M.toRoot()?Ms(c.root,c.root,new at([],{}),m,C):function R(_e){const We=function qs(d,c,u,m){return d.isAbsolute?new Qs(c.root,!0,0):-1===m?new Qs(u,u===c.root,0):function Di(d,c,u){let m=d,C=c,M=u;for(;M>C;){if(M-=C,m=m.parent,!m)throw new f.vHH(4005,!1);C=m.segments.length}return new Qs(m,!1,C-M)}(u,m+(Yn(d.commands[0])?0:1),d.numberOfDoubleDots)}(M,c,d.snapshot?._urlSegment,_e),Tt=We.processChildren?Fr(We.segmentGroup,We.index,M.commands):Mr(We.segmentGroup,We.index,M.commands);return Ms(c.root,We.segmentGroup,Tt,m,C)}(d.snapshot?._lastPathIndex)}(We,this.currentUrlTree,u,He,Tt??null)}navigateByUrl(u,m={skipLocationChange:!1}){const C=v(u)?u:this.parseUrl(u),M=this.urlHandlingStrategy.merge(C,this.rawUrlTree);return this.scheduleNavigation(M,"imperative",null,m)}navigate(u,m={skipLocationChange:!1}){return function Wo(d){for(let c=0;c<d.length;c++){if(null==d[c])throw new f.vHH(4008,!1)}}(u),this.navigateByUrl(this.createUrlTree(u,m),m)}serializeUrl(u){return this.urlSerializer.serialize(u)}parseUrl(u){let m;try{m=this.urlSerializer.parse(u)}catch(C){m=this.malformedUriErrorHandler(C,this.urlSerializer,u)}return m}isActive(u,m){let C;if(C=!0===m?{...oo}:!1===m?{...ao}:m,v(u))return Or(this.currentUrlTree,u,C);const M=this.parseUrl(u);return Or(this.currentUrlTree,M,C)}removeEmptyProps(u){return Object.keys(u).reduce((m,C)=>{const M=u[C];return null!=M&&(m[C]=M),m},{})}processNavigations(){this.navigations.subscribe(u=>{this.navigated=!0,this.lastSuccessfulId=u.id,this.currentPageId=u.targetPageId,this.events.next(new ge(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),u.resolve(!0)},u=>{this.console.warn(`Unhandled Navigation Error: ${u}`)})}scheduleNavigation(u,m,C,M,R){if(this.disposed)return Promise.resolve(!1);let j,_e,We;R?(j=R.resolve,_e=R.reject,We=R.promise):We=new Promise((Rt,jt)=>{j=Rt,_e=jt});const Tt=++this.navigationId;let He;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(C=this.location.getState()),He=C&&C.\u0275routerPageId?C.\u0275routerPageId:M.replaceUrl||M.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):He=0,this.setTransition({id:Tt,targetPageId:He,source:m,restoredState:C,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:u,extras:M,resolve:j,reject:_e,promise:We,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),We.catch(Rt=>Promise.reject(Rt))}setBrowserUrl(u,m){const C=this.urlSerializer.serialize(u),M={...m.extras.state,...this.generateNgRouterState(m.id,m.targetPageId)};this.location.isCurrentPathEqualTo(C)||m.extras.replaceUrl?this.location.replaceState(C,"",M):this.location.go(C,"",M)}restoreHistory(u,m=!1){if("computed"===this.canceledNavigationResolution){const C=this.currentPageId-u.targetPageId;"popstate"!==u.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===C?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===C&&(this.resetState(u),this.browserUrlTree=u.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(C)}else"replace"===this.canceledNavigationResolution&&(m&&this.resetState(u),this.resetUrlToCurrentUrlTree())}resetState(u){this.routerState=u.currentRouterState,this.currentUrlTree=u.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,u.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(u,m){const C=new Ue(u.id,this.serializeUrl(u.extractedUrl),m);this.triggerEvent(C),u.resolve(!1)}generateNgRouterState(u,m){return"computed"===this.canceledNavigationResolution?{navigationId:u,\u0275routerPageId:m}:{navigationId:u}}}return d.\u0275fac=function(u){f.$Z()},d.\u0275prov=f.Yz7({token:d,factory:d.\u0275fac}),d})();function Zr(d){return"imperative"!==d}let Bs=(()=>{class d{constructor(u,m,C,M,R){this.router=u,this.route=m,this.tabIndexAttribute=C,this.renderer=M,this.el=R,this.commands=null,this.onChanges=new Je.x,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(u){if(null!=this.tabIndexAttribute)return;const m=this.renderer,C=this.el.nativeElement;null!==u?m.setAttribute(C,"tabindex",u):m.removeAttribute(C,"tabindex")}ngOnChanges(u){this.onChanges.next(this)}set routerLink(u){null!=u?(this.commands=Array.isArray(u)?u:[u],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const u={skipLocationChange:(0,f.D6c)(this.skipLocationChange),replaceUrl:(0,f.D6c)(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,u),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:(0,f.D6c)(this.preserveFragment)})}}return d.\u0275fac=function(u){return new(u||d)(f.Y36(Jt),f.Y36(Tr),f.$8M("tabindex"),f.Y36(f.Qsj),f.Y36(f.SBq))},d.\u0275dir=f.lG2({type:d,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(u,m){1&u&&f.NdJ("click",function(){return m.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[f.TTD]}),d})(),jr=(()=>{class d{constructor(u,m,C){this.router=u,this.route=m,this.locationStrategy=C,this.commands=null,this.href=null,this.onChanges=new Je.x,this.subscription=u.events.subscribe(M=>{M instanceof ge&&this.updateTargetUrlAndHref()})}set routerLink(u){this.commands=null!=u?Array.isArray(u)?u:[u]:null}ngOnChanges(u){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(u,m,C,M,R){if(0!==u||m||C||M||R||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const j={skipLocationChange:(0,f.D6c)(this.skipLocationChange),replaceUrl:(0,f.D6c)(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,j),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:(0,f.D6c)(this.preserveFragment)})}}return d.\u0275fac=function(u){return new(u||d)(f.Y36(Jt),f.Y36(Tr),f.Y36(D.S$))},d.\u0275dir=f.lG2({type:d,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(u,m){1&u&&f.NdJ("click",function(M){return m.onClick(M.button,M.ctrlKey,M.shiftKey,M.altKey,M.metaKey)}),2&u&&f.uIk("target",m.target)("href",m.href,f.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[f.TTD]}),d})(),lo=(()=>{class d{constructor(u,m,C,M,R,j){this.router=u,this.element=m,this.renderer=C,this.cdr=M,this.link=R,this.linkWithHref=j,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new f.vpe,this.routerEventsSubscription=u.events.subscribe(_e=>{_e instanceof ge&&this.update()})}ngAfterContentInit(){(0,K.of)(this.links.changes,this.linksWithHrefs.changes,(0,K.of)(null)).pipe((0,gn.J)()).subscribe(u=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const u=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(m=>!!m).map(m=>m.onChanges);this.linkInputChangesSubscription=(0,X.D)(u).pipe((0,gn.J)()).subscribe(m=>{this.isActive!==this.isLinkActive(this.router)(m)&&this.update()})}set routerLinkActive(u){const m=Array.isArray(u)?u:u.split(" ");this.classes=m.filter(C=>!!C)}ngOnChanges(u){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const u=this.hasActiveLinks();this.isActive!==u&&(this.isActive=u,this.cdr.markForCheck(),this.classes.forEach(m=>{u?this.renderer.addClass(this.element.nativeElement,m):this.renderer.removeClass(this.element.nativeElement,m)}),u&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(u))})}isLinkActive(u){const m=function uo(d){return!!d.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return C=>!!C.urlTree&&u.isActive(C.urlTree,m)}hasActiveLinks(){const u=this.isLinkActive(this.router);return this.link&&u(this.link)||this.linkWithHref&&u(this.linkWithHref)||this.links.some(u)||this.linksWithHrefs.some(u)}}return d.\u0275fac=function(u){return new(u||d)(f.Y36(Jt),f.Y36(f.SBq),f.Y36(f.Qsj),f.Y36(f.sBO),f.Y36(Bs,8),f.Y36(jr,8))},d.\u0275dir=f.lG2({type:d,selectors:[["","routerLinkActive",""]],contentQueries:function(u,m,C){if(1&u&&(f.Suo(C,Bs,5),f.Suo(C,jr,5)),2&u){let M;f.iGM(M=f.CRH())&&(m.links=M),f.iGM(M=f.CRH())&&(m.linksWithHrefs=M)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[f.TTD]}),d})();class ki{buildTitle(c){let u,m=c.root;for(;void 0!==m;)u=this.getResolvedTitleForRoute(m)??u,m=m.children.find(C=>C.outlet===ut);return u}getResolvedTitleForRoute(c){return c.data[fs]}}let wa=(()=>{class d extends ki{constructor(u){super(),this.title=u}updateTitle(u){const m=this.buildTitle(u);void 0!==m&&this.title.setTitle(m)}}return d.\u0275fac=function(u){return new(u||d)(f.LFG(xe.Dx))},d.\u0275prov=f.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();class ur{}let ci=(()=>{class d{constructor(u,m,C,M,R){this.router=u,this.injector=C,this.preloadingStrategy=M,this.loader=R}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ae.h)(u=>u instanceof ge),(0,st.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(u,m){const C=[];for(const M of m){M.providers&&!M._injector&&(M._injector=(0,f.MMx)(M.providers,u,`Route: ${M.path}`));const R=M._injector??u,j=M._loadedInjector??R;M.loadChildren&&!M._loadedRoutes||M.loadComponent&&!M._loadedComponent?C.push(this.preloadConfig(R,M)):(M.children||M._loadedRoutes)&&C.push(this.processRoutes(j,M.children??M._loadedRoutes))}return(0,X.D)(C).pipe((0,gn.J)())}preloadConfig(u,m){return this.preloadingStrategy.preload(m,()=>{let C;C=m.loadChildren&&void 0===m.canLoad?this.loader.loadChildren(u,m):(0,K.of)(null);const M=C.pipe((0,pt.z)(R=>null===R?(0,K.of)(void 0):(m._loadedRoutes=R.routes,m._loadedInjector=R.injector,this.processRoutes(R.injector??u,R.routes))));if(m.loadComponent&&!m._loadedComponent){const R=this.loader.loadComponent(m);return(0,X.D)([M,R]).pipe((0,gn.J)())}return M})}}return d.\u0275fac=function(u){return new(u||d)(f.LFG(Jt),f.LFG(f.Sil),f.LFG(f.lqb),f.LFG(ur),f.LFG(so))},d.\u0275prov=f.Yz7({token:d,factory:d.\u0275fac}),d})();const di=new f.OlP("");let js=(()=>{class d{constructor(u,m,C={}){this.router=u,this.viewportScroller=m,this.options=C,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},C.scrollPositionRestoration=C.scrollPositionRestoration||"disabled",C.anchorScrolling=C.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(u=>{u instanceof Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=u.navigationTrigger,this.restoredId=u.restoredState?u.restoredState.navigationId:0):u instanceof ge&&(this.lastId=u.id,this.scheduleScrollEvent(u,this.router.parseUrl(u.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(u=>{u instanceof fr&&(u.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(u.position):u.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(u.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(u,m){this.router.triggerEvent(new fr(u,"popstate"===this.lastSource?this.store[this.restoredId]:null,m))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return d.\u0275fac=function(u){f.$Z()},d.\u0275prov=f.Yz7({token:d,factory:d.\u0275fac}),d})();const fi=new f.OlP("ROUTER_CONFIGURATION",{providedIn:"root",factory:()=>({})}),Bi=new f.OlP("ROUTER_FORROOT_GUARD"),ji=new f.OlP(""),co=[D.Ye,{provide:mt,useClass:W},{provide:Jt,useFactory:function w(d,c,u,m,C,M,R={},j,_e,We,Tt){const He=new Jt(null,d,c,u,m,C,zt(M));return We&&(He.urlHandlingStrategy=We),Tt&&(He.routeReuseStrategy=Tt),He.titleStrategy=_e??j,function A(d,c){d.errorHandler&&(c.errorHandler=d.errorHandler),d.malformedUriErrorHandler&&(c.malformedUriErrorHandler=d.malformedUriErrorHandler),d.onSameUrlNavigation&&(c.onSameUrlNavigation=d.onSameUrlNavigation),d.paramsInheritanceStrategy&&(c.paramsInheritanceStrategy=d.paramsInheritanceStrategy),d.relativeLinkResolution&&(c.relativeLinkResolution=d.relativeLinkResolution),d.urlUpdateStrategy&&(c.urlUpdateStrategy=d.urlUpdateStrategy),d.canceledNavigationResolution&&(c.canceledNavigationResolution=d.canceledNavigationResolution)}(R,He),He},deps:[mt,qn,D.Ye,f.zs3,f.Sil,Fi,fi,wa,[ki,new f.FiY],[class Go{},new f.FiY],[class zo{},new f.FiY]]},qn,{provide:Tr,useFactory:function F(d){return d.routerState.root},deps:[Jt]},so];function Ko(){return new f.PXZ("Router",Jt)}let hi=(()=>{class d{constructor(u,m){}static forRoot(u,m){return{ngModule:d,providers:[co,[],p(u),{provide:Bi,useFactory:o,deps:[[Jt,new f.FiY,new f.tp0]]},{provide:fi,useValue:m||{}},m?.useHash?{provide:D.S$,useClass:D.Do}:{provide:D.S$,useClass:D.b0},{provide:di,useFactory:()=>{const d=(0,f.f3M)(Jt),c=(0,f.f3M)(D.EM),u=(0,f.f3M)(fi);return u.scrollOffset&&c.setOffset(u.scrollOffset),new js(d,c,u)}},m?.preloadingStrategy?Bt(m.preloadingStrategy):[],{provide:f.PXZ,multi:!0,useFactory:Ko},m?.initialNavigation?be(m):[],[{provide:ce,useFactory:k},{provide:f.tb,multi:!0,useExisting:ce}]]}}static forChild(u){return{ngModule:d,providers:[p(u)]}}}return d.\u0275fac=function(u){return new(u||d)(f.LFG(Bi,8),f.LFG(Jt,8))},d.\u0275mod=f.oAB({type:d}),d.\u0275inj=f.cJS({}),d})();function o(d){return"guarded"}function p(d){return[{provide:f.deG,multi:!0,useValue:d},{provide:Fi,multi:!0,useValue:d}]}function k(){const d=(0,f.f3M)(f.zs3);return c=>{const u=d.get(f.z2F);if(c!==u.components[0])return;const m=d.get(Jt),C=d.get(Qe);null===d.get(Dt,null,f.XFs.Optional)&&m.initialNavigation(),d.get(ji,null,f.XFs.Optional)?.setUpPreloading(),d.get(di,null,f.XFs.Optional)?.init(),m.resetRootComponentType(u.componentTypes[0]),C.next(),C.complete()}}const ce=new f.OlP("");function be(d){return["disabled"===d.initialNavigation?[{provide:f.ip1,multi:!0,useFactory:()=>{const d=(0,f.f3M)(Jt);return()=>{d.setUpLocationChangeListener()}}},{provide:Dt,useValue:"disabled"}]:[],"enabledBlocking"===d.initialNavigation?[{provide:Dt,useValue:"enabledBlocking"},{provide:f.ip1,multi:!0,deps:[f.zs3],useFactory:d=>{const c=d.get(D.V_,Promise.resolve(null));let u=!1;return()=>c.then(()=>new Promise(C=>{const M=d.get(Jt),R=d.get(Qe);(function m(C){const M=d.get(Jt);M.events.pipe((0,Ae.h)(R=>R instanceof ge||R instanceof Ue||R instanceof vt),(0,B.U)(R=>{if(R instanceof ge)return!0;const j=M.navigationId!==R.id,_e=R instanceof Ue&&-1!==R.reason.indexOf(G);return!(!j&&!_e)&&null}),(0,Ae.h)(R=>null!==R),(0,Ce.q)(1)).subscribe(()=>{C()})})(()=>{C(!0),u=!0}),M.afterPreactivation=()=>(C(!0),u||R.closed?(0,K.of)(void 0):R),M.initialNavigation()}))}}]:[]]}const Qe=new f.OlP("",{factory:()=>new Je.x}),Dt=new f.OlP("");function Bt(d){return[ci,{provide:ji,useExisting:ci},{provide:ur,useExisting:d}]}},5421:(Ye,me,b)=>{b.d(me,{Cz:()=>Je,ys:()=>Ne});var D=b(5861),f=b(4650),se=b(6895),J=b(8306),$=b(2076),Q=b(9841),Y=b(7579),re=b(5698);function te(Ae,he,P,q){return new Promise((ue,ie)=>{Ae||ie("IndexedDB not available");const oe=Ae.open(he,P);let Ce;oe.onsuccess=N=>{Ce=oe.result,ue(Ce)},oe.onerror=N=>{ie(`IndexedDB error: ${oe.error}`)},"function"==typeof q&&(oe.onupgradeneeded=N=>{q(N,Ce)})})}function de(Ae,he,P,q,ue){if(!Ae)return;const ie=Ae.open(he,P);ie.onupgradeneeded=oe=>{const Ce=oe.target.result;q.forEach(B=>{if(!Ce.objectStoreNames.contains(B.store)){const ee=Ce.createObjectStore(B.store,B.storeConfig);B.storeSchema.forEach(le=>{ee.createIndex(le.name,le.keypath,le.options)})}});const N=ue&&ue();N&&Object.keys(N).map(B=>parseInt(B,10)).filter(B=>B>oe.oldVersion).sort((B,ee)=>B-ee).forEach(B=>{N[B](Ce,ie.transaction)}),Ce.close()},ie.onsuccess=oe=>{oe.target.result.close()}}function ke(Ae,he,P){Ae||P("You need to use the openDatabase function to create a database before you query it!"),function K(Ae,he){return Ae.objectStoreNames.contains(he)}(Ae,he)||P(`objectStore does not exists: ${he}`)}function De(Ae,he){const P=Ae.transaction(he.storeName,he.dbMode);return P.onerror=he.error,P.onabort=he.abort,P}function ye(Ae,he,P,q){return{storeName:he,dbMode:Ae,error:ue=>{P(ue)},abort:ue=>{P(ue)}}}var Re=(()=>{return(Ae=Re||(Re={})).readonly="readonly",Ae.readwrite="readwrite",Re;var Ae})();const Ee=new f.OlP(null);let Ne=(()=>{class Ae{constructor(P,q){if(this.dbConfig=P,this.platformId=q,!P.name)throw new Error("NgxIndexedDB: Please, provide the dbName in the configuration");if(!P.version)throw new Error("NgxIndexedDB: Please, provide the db version in the configuration");this.isBrowser=(0,se.NF)(this.platformId),this.isBrowser&&(this.indexedDB=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB,de(this.indexedDB,P.name,P.version,P.objectStoresMeta,P.migrationFactory),te(this.indexedDB,P.name).then(ue=>{ue.version!==P.version&&(this.dbConfig.version=ue.version)}))}createObjectStore(P,q){const ue=[P];de(this.indexedDB,this.dbConfig.name,++this.dbConfig.version,ue,q)}add(P,q,ue){return new J.y(ie=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(oe=>{const N=De(oe,ye(Re.readwrite,P,ee=>ie.error(ee))).objectStore(P);(Boolean(ue)?N.add(q,ue):N.add(q)).onsuccess=function(){var ee=(0,D.Z)(function*(le){N.get(le.target.result).onsuccess=st=>{ie.next(st.target.result),ie.complete()}});return function(le){return ee.apply(this,arguments)}}()}).catch(oe=>ie.error(oe))})}bulkAdd(P,q){const ue=new Promise((ie,oe)=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Ce=>{const B=De(Ce,ye(Re.readwrite,P,ie)).objectStore(P),ee=q.map(le=>new Promise((fe,Oe)=>{const st=le.key;delete le.key,(Boolean(st)?B.add(le,st):B.add(le)).onsuccess=gt=>{fe(gt.target.result)}}));ie(Promise.all(ee))}).catch(Ce=>oe(Ce))});return(0,$.D)(ue)}bulkDelete(P,q){const ue=q.map(ie=>new Promise((oe,Ce)=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(N=>{const B=De(N,ye(Re.readwrite,P,Ce));B.objectStore(P).delete(ie),B.oncomplete=()=>{this.getAll(P).pipe((0,re.q)(1)).subscribe(le=>{oe(le)})}}).catch(N=>Ce(N))}));return(0,$.D)(Promise.all(ue))}getByKey(P,q){return new J.y(ue=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ie=>{const N=De(ie,ye(Re.readonly,P,ue.error)).objectStore(P).get(q);N.onsuccess=B=>{ue.next(B.target.result),ue.complete()},N.onerror=B=>{ue.error(B)}}).catch(ie=>ue.error(ie))})}bulkGet(P,q){const ue=q.map(ie=>this.getByKey(P,ie));return new J.y(ie=>{(0,Q.a)(ue).subscribe(oe=>{ie.next(oe),ie.complete()})})}getByID(P,q){return new J.y(ue=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ie=>{ke(ie,P,B=>ue.error(B)),De(ie,ye(Re.readonly,P,ue.error)).objectStore(P).get(q).onsuccess=B=>{ue.next(B.target.result)}}).catch(ie=>ue.error(ie))})}getByIndex(P,q,ue){return new J.y(ie=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(oe=>{ke(oe,P,le=>ie.error(le)),De(oe,ye(Re.readonly,P,ie.error)).objectStore(P).index(q).get(ue).onsuccess=le=>{ie.next(le.target.result),ie.complete()}}).catch(oe=>ie.error(oe))})}getAll(P){return new J.y(q=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ue=>{ke(ue,P,N=>q.error(N));const Ce=De(ue,ye(Re.readonly,P,q.error)).objectStore(P).getAll();Ce.onerror=N=>{q.error(N)},Ce.onsuccess=({target:{result:N}})=>{q.next(N),q.complete()}}).catch(ue=>q.error(ue))})}update(P,q){return new J.y(ue=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ie=>{ke(ie,P,B=>ue.error(B));const Ce=De(ie,ye(Re.readwrite,P,B=>ue.error(B))).objectStore(P);Ce.put(q).onsuccess=function(){var B=(0,D.Z)(function*(ee){Ce.get(ee.target.result).onsuccess=Oe=>{ue.next(Oe.target.result),ue.complete()}});return function(ee){return B.apply(this,arguments)}}()}).catch(ie=>ue.error(ie))})}delete(P,q){return new J.y(ue=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ie=>{ke(ie,P,N=>ue.error(N));const oe=De(ie,ye(Re.readwrite,P,N=>ue.error(N)));oe.objectStore(P).delete(q),oe.oncomplete=()=>{this.getAll(P).pipe((0,re.q)(1)).subscribe(N=>{ue.next(N),ue.complete()})}}).catch(ie=>ue.error(ie))})}deleteByKey(P,q){return new J.y(ue=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ie=>{ke(ie,P,N=>ue.error(N));const oe=De(ie,ye(Re.readwrite,P,N=>ue.error(N))),Ce=oe.objectStore(P);oe.oncomplete=()=>{ue.next(!0),ue.complete()},Ce.delete(q)}).catch(ie=>ue.error(ie))})}clear(P){return new J.y(q=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ue=>{ke(ue,P,Ce=>q.error(Ce));const ie=De(ue,ye(Re.readwrite,P,Ce=>q.error(Ce)));ie.objectStore(P).clear(),ie.oncomplete=()=>{q.next(!0),q.complete()}}).catch(ue=>q.error(ue))})}deleteDatabase(){var P=this;return new J.y(q=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(function(){var ue=(0,D.Z)(function*(ie){yield ie.close();const oe=P.indexedDB.deleteDatabase(P.dbConfig.name);oe.onsuccess=()=>{q.next(!0),q.complete()},oe.onerror=Ce=>q.error(Ce),oe.onblocked=()=>{throw new Error("Unable to delete database because it's blocked")}});return function(ie){return ue.apply(this,arguments)}}()).catch(ue=>q.error(ue))})}openCursor(P,q){return new J.y(ue=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ie=>{ke(ie,P,B=>ue.error(B));const Ce=De(ie,ye(Re.readonly,P,ue.error)).objectStore(P);(void 0===q?Ce.openCursor():Ce.openCursor(q)).onsuccess=B=>{ue.next(B),ue.complete()}}).catch(ie=>ue.error(ie))})}openCursorByIndex(P,q,ue,ie=Re.readonly){const oe=new Y.x;return te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Ce=>{ke(Ce,P,fe=>{oe.error(fe)}),De(Ce,ye(ie,P,fe=>{oe.error(fe)})).objectStore(P).index(q).openCursor(ue).onsuccess=fe=>{oe.next(fe)}}).catch(Ce=>oe.error(Ce)),oe}getAllByIndex(P,q,ue){const ie=[];return new J.y(oe=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Ce=>{ke(Ce,P,fe=>oe.error(fe)),De(Ce,ye(Re.readonly,P,oe.error)).objectStore(P).index(q).openCursor(ue).onsuccess=fe=>{const Oe=fe.target.result;Oe?(ie.push(Oe.value),Oe.continue()):(oe.next(ie),oe.complete())}}).catch(Ce=>oe.error(Ce))})}getAllKeysByIndex(P,q,ue){const ie=[];return new J.y(oe=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(Ce=>{ke(Ce,P,fe=>oe.error(fe)),De(Ce,ye(Re.readonly,P,oe.error)).objectStore(P).index(q).openKeyCursor(ue).onsuccess=fe=>{const Oe=fe.target.result;Oe?(ie.push({primaryKey:Oe.primaryKey,key:Oe.key}),Oe.continue()):(oe.next(ie),oe.complete())}}).catch(Ce=>oe.error(Ce))})}count(P,q){return new J.y(ue=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(ie=>{ke(ie,P,B=>ue.error(B));const N=De(ie,ye(Re.readonly,P,ue.error)).objectStore(P).count(q);N.onerror=B=>ue.error(B),N.onsuccess=B=>{ue.next(B.target.result),ue.complete()}}).catch(ie=>ue.error(ie))})}countByIndex(P,q,ue){return new J.y(ie=>{te(this.indexedDB,this.dbConfig.name,this.dbConfig.version).then(oe=>{ke(oe,P,le=>ie.error(le));const ee=De(oe,ye(Re.readonly,P,ie.error)).objectStore(P).index(q).count(ue);ee.onerror=le=>ie.error(le),ee.onsuccess=le=>{ie.next(le.target.result),ie.complete()}}).catch(oe=>ie.error(oe))})}deleteObjectStore(P){return function X(Ae,he,P){if(!Ae||!he||!P)throw Error('Params: "dbName", "version", "storeName" are mandatory.');return new J.y(q=>{try{const ie=indexedDB.open(Ae,he+1);ie.onupgradeneeded=oe=>{const Ce=oe.target.result;Ce.deleteObjectStore(P),Ce.close(),console.log("onupgradeneeded"),q.next(!0),q.complete()},ie.onerror=oe=>q.error(oe)}catch(ue){q.error(ue)}})}(this.dbConfig.name,++this.dbConfig.version,P)}}return Ae.\u0275fac=function(P){return new(P||Ae)(f.LFG(Ee),f.LFG(f.Lbi))},Ae.\u0275prov=f.Yz7({token:Ae,factory:Ae.\u0275fac}),Ae})(),Je=(()=>{class Ae{static forRoot(P){return{ngModule:Ae,providers:[Ne,{provide:Ee,useValue:P}]}}}return Ae.\u0275fac=function(P){return new(P||Ae)},Ae.\u0275mod=f.oAB({type:Ae}),Ae.\u0275inj=f.cJS({imports:[[se.ez]]}),Ae})()},7185:(Ye,me,b)=>{b.d(me,{FN:()=>Oe,PR:()=>q,Rh:()=>pt,_W:()=>fe});var D=b(4650),f=b(7340),se=b(7579),J=b(6895),$=b(1481);const Q=["toast-component",""];function Y(xe,Pe){if(1&xe){const Z=D.EpF();D.TgZ(0,"button",5),D.NdJ("click",function(){D.CHM(Z);const Ue=D.oxw();return D.KtG(Ue.remove())}),D.TgZ(1,"span",6),D._uU(2,"\xd7"),D.qZA()()}}function re(xe,Pe){if(1&xe&&(D.ynx(0),D._uU(1),D.BQk()),2&xe){const Z=D.oxw(2);D.xp6(1),D.hij("[",Z.duplicatesCount+1,"]")}}function te(xe,Pe){if(1&xe&&(D.TgZ(0,"div"),D._uU(1),D.YNc(2,re,2,1,"ng-container",4),D.qZA()),2&xe){const Z=D.oxw();D.Tol(Z.options.titleClass),D.uIk("aria-label",Z.title),D.xp6(1),D.hij(" ",Z.title," "),D.xp6(1),D.Q6J("ngIf",Z.duplicatesCount)}}function de(xe,Pe){if(1&xe&&D._UZ(0,"div",7),2&xe){const Z=D.oxw();D.Tol(Z.options.messageClass),D.Q6J("innerHTML",Z.message,D.oJD)}}function X(xe,Pe){if(1&xe&&(D.TgZ(0,"div",8),D._uU(1),D.qZA()),2&xe){const Z=D.oxw();D.Tol(Z.options.messageClass),D.uIk("aria-label",Z.message),D.xp6(1),D.hij(" ",Z.message," ")}}function K(xe,Pe){if(1&xe&&(D.TgZ(0,"div"),D._UZ(1,"div",9),D.qZA()),2&xe){const Z=D.oxw();D.xp6(1),D.Udp("width",Z.width+"%")}}class he{constructor(Pe,Z){this.component=Pe,this.injector=Z}attach(Pe,Z){return this._attachedHost=Pe,Pe.attach(this,Z)}detach(){const Pe=this._attachedHost;if(Pe)return this._attachedHost=void 0,Pe.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(Pe){this._attachedHost=Pe}}class q{constructor(Pe,Z,ge,Ue,vt,cn){this.toastId=Pe,this.config=Z,this.message=ge,this.title=Ue,this.toastType=vt,this.toastRef=cn,this._onTap=new se.x,this._onAction=new se.x,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(Pe){this._onAction.next(Pe)}onAction(){return this._onAction.asObservable()}}const ie=new D.OlP("ToastConfig");class oe{constructor(Pe){this._overlayRef=Pe,this.duplicatesCount=0,this._afterClosed=new se.x,this._activate=new se.x,this._manualClose=new se.x,this._resetTimeout=new se.x,this._countDuplicate=new se.x}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(Pe,Z){Pe&&this._resetTimeout.next(),Z&&this._countDuplicate.next(++this.duplicatesCount)}}class Ce{constructor(Pe,Z){this._toastPackage=Pe,this._parentInjector=Z}get(Pe,Z,ge){return Pe===q?this._toastPackage:this._parentInjector.get(Pe,Z,ge)}}class N extends class P{attach(Pe,Z){return this._attachedPortal=Pe,this.attachComponentPortal(Pe,Z)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(Pe){this._disposeFn=Pe}}{constructor(Pe,Z,ge){super(),this._hostDomElement=Pe,this._componentFactoryResolver=Z,this._appRef=ge}attachComponentPortal(Pe,Z){const ge=this._componentFactoryResolver.resolveComponentFactory(Pe.component);let Ue;return Ue=ge.create(Pe.injector),this._appRef.attachView(Ue.hostView),this.setDisposeFn(()=>{this._appRef.detachView(Ue.hostView),Ue.destroy()}),Z?this._hostDomElement.insertBefore(this._getComponentRootNode(Ue),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(Ue)),Ue}_getComponentRootNode(Pe){return Pe.hostView.rootNodes[0]}}class B{constructor(Pe){this._portalHost=Pe}attach(Pe,Z=!0){return this._portalHost.attach(Pe,Z)}detach(){return this._portalHost.detach()}}let ee=(()=>{class xe{constructor(Z){this._document=Z}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Z=this._document.createElement("div");Z.classList.add("overlay-container"),Z.setAttribute("aria-live","polite"),this._document.body.appendChild(Z),this._containerElement=Z}}return xe.\u0275fac=function(Z){return new(Z||xe)(D.LFG(J.K0))},xe.\u0275prov=D.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})(),le=(()=>{class xe{constructor(Z,ge,Ue,vt){this._overlayContainer=Z,this._componentFactoryResolver=ge,this._appRef=Ue,this._document=vt,this._paneElements=new Map}create(Z,ge){return this._createOverlayRef(this.getPaneElement(Z,ge))}getPaneElement(Z="",ge){return this._paneElements.get(ge)||this._paneElements.set(ge,{}),this._paneElements.get(ge)[Z]||(this._paneElements.get(ge)[Z]=this._createPaneElement(Z,ge)),this._paneElements.get(ge)[Z]}_createPaneElement(Z,ge){const Ue=this._document.createElement("div");return Ue.id="toast-container",Ue.classList.add(Z),Ue.classList.add("toast-container"),ge?ge.getContainerElement().appendChild(Ue):this._overlayContainer.getContainerElement().appendChild(Ue),Ue}_createPortalHost(Z){return new N(Z,this._componentFactoryResolver,this._appRef)}_createOverlayRef(Z){return new B(this._createPortalHost(Z))}}return xe.\u0275fac=function(Z){return new(Z||xe)(D.LFG(ee),D.LFG(D._Vd),D.LFG(D.z2F),D.LFG(J.K0))},xe.\u0275prov=D.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})(),fe=(()=>{class xe{constructor(Z,ge,Ue,vt,cn){this.overlay=ge,this._injector=Ue,this.sanitizer=vt,this.ngZone=cn,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig={...Z.default,...Z.config},Z.config.iconClasses&&(this.toastrConfig.iconClasses={...Z.default.iconClasses,...Z.config.iconClasses})}show(Z,ge,Ue={},vt=""){return this._preBuildNotification(vt,Z,ge,this.applyConfig(Ue))}success(Z,ge,Ue={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",Z,ge,this.applyConfig(Ue))}error(Z,ge,Ue={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",Z,ge,this.applyConfig(Ue))}info(Z,ge,Ue={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",Z,ge,this.applyConfig(Ue))}warning(Z,ge,Ue={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",Z,ge,this.applyConfig(Ue))}clear(Z){for(const ge of this.toasts)if(void 0!==Z){if(ge.toastId===Z)return void ge.toastRef.manualClose()}else ge.toastRef.manualClose()}remove(Z){const ge=this._findToast(Z);if(!ge||(ge.activeToast.toastRef.close(),this.toasts.splice(ge.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const Ue=this.toasts[this.currentlyActive].toastRef;Ue.isInactive()||(this.currentlyActive=this.currentlyActive+1,Ue.activate())}return!0}findDuplicate(Z="",ge="",Ue,vt){const{includeTitleDuplicates:cn}=this.toastrConfig;for(const An of this.toasts){const xn=cn&&An.title===Z;if((!cn||xn)&&An.message===ge)return An.toastRef.onDuplicate(Ue,vt),An}return null}applyConfig(Z={}){return{...this.toastrConfig,...Z}}_findToast(Z){for(let ge=0;ge<this.toasts.length;ge++)if(this.toasts[ge].toastId===Z)return{index:ge,activeToast:this.toasts[ge]};return null}_preBuildNotification(Z,ge,Ue,vt){return vt.onActivateTick?this.ngZone.run(()=>this._buildNotification(Z,ge,Ue,vt)):this._buildNotification(Z,ge,Ue,vt)}_buildNotification(Z,ge,Ue,vt){if(!vt.toastComponent)throw new Error("toastComponent required");const cn=this.findDuplicate(Ue,ge,this.toastrConfig.resetTimeoutOnDuplicate&&vt.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&Ue||ge)&&this.toastrConfig.preventDuplicates&&null!==cn)return cn;this.previousToastMessage=ge;let An=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(An=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const xn=this.overlay.create(vt.positionClass,this.overlayContainer);this.index=this.index+1;let en=ge;ge&&vt.enableHtml&&(en=this.sanitizer.sanitize(D.q3G.HTML,ge));const _n=new oe(xn),Rn=new q(this.index,vt,en,Ue,Z,_n),Nn=new Ce(Rn,this._injector),ot=new he(vt.toastComponent,Nn),sr=xn.attach(ot,this.toastrConfig.newestOnTop);_n.componentInstance=sr.instance;const tt={toastId:this.index,title:Ue||"",message:ge||"",toastRef:_n,onShown:_n.afterActivate(),onHidden:_n.afterClosed(),onTap:Rn.onTap(),onAction:Rn.onAction(),portal:sr};return An||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{tt.toastRef.activate()})),this.toasts.push(tt),tt}}return xe.\u0275fac=function(Z){return new(Z||xe)(D.LFG(ie),D.LFG(le),D.LFG(D.zs3),D.LFG($.H7),D.LFG(D.R0b))},xe.\u0275prov=D.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})(),Oe=(()=>{class xe{constructor(Z,ge,Ue){this.toastrService=Z,this.toastPackage=ge,this.ngZone=Ue,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=ge.message,this.title=ge.title,this.options=ge.config,this.originalTimeout=ge.config.timeOut,this.toastClasses=`${ge.toastType} ${ge.config.toastClass}`,this.sub=ge.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=ge.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=ge.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=ge.toastRef.countDuplicate().subscribe(vt=>{this.duplicatesCount=vt})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const Z=(new Date).getTime();this.width=(this.hideTime-Z)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state={...this.state,value:"active"},this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state={...this.state,value:"removed"},this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(Z,ge){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(Z),ge)):this.timeout=setTimeout(()=>Z(),ge)}outsideInterval(Z,ge){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(Z),ge)):this.intervalId=setInterval(()=>Z(),ge)}runInsideAngular(Z){this.ngZone?this.ngZone.run(()=>Z()):Z()}}return xe.\u0275fac=function(Z){return new(Z||xe)(D.Y36(fe),D.Y36(q),D.Y36(D.R0b))},xe.\u0275cmp=D.Xpm({type:xe,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(Z,ge){1&Z&&D.NdJ("click",function(){return ge.tapToast()})("mouseenter",function(){return ge.stickAround()})("mouseleave",function(){return ge.delayedHideToast()}),2&Z&&(D.d8E("@flyInOut",ge.state),D.Tol(ge.toastClasses),D.Udp("display",ge.displayStyle))},attrs:Q,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(Z,ge){1&Z&&(D.YNc(0,Y,3,0,"button",0),D.YNc(1,te,3,5,"div",1),D.YNc(2,de,1,3,"div",2),D.YNc(3,X,2,4,"div",3),D.YNc(4,K,2,2,"div",4)),2&Z&&(D.Q6J("ngIf",ge.options.closeButton),D.xp6(1),D.Q6J("ngIf",ge.title),D.xp6(1),D.Q6J("ngIf",ge.message&&ge.options.enableHtml),D.xp6(1),D.Q6J("ngIf",ge.message&&!ge.options.enableHtml),D.xp6(1),D.Q6J("ngIf",ge.options.progressBar))},dependencies:[J.O5],encapsulation:2,data:{animation:[(0,f.X$)("flyInOut",[(0,f.SB)("inactive",(0,f.oB)({opacity:0})),(0,f.SB)("active",(0,f.oB)({opacity:1})),(0,f.SB)("removed",(0,f.oB)({opacity:0})),(0,f.eR)("inactive => active",(0,f.jt)("{{ easeTime }}ms {{ easing }}")),(0,f.eR)("active => removed",(0,f.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),xe})();const st={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",payload:null,toastComponent:Oe};let pt=(()=>{class xe{static forRoot(Z={}){return{ngModule:xe,providers:[{provide:ie,useValue:{default:st,config:Z}}]}}}return xe.\u0275fac=function(Z){return new(Z||xe)},xe.\u0275mod=D.oAB({type:xe}),xe.\u0275inj=D.cJS({imports:[J.ez]}),xe})()},5861:(Ye,me,b)=>{function D(se,J,$,Q,Y,re,te){try{var de=se[re](te),X=de.value}catch(K){return void $(K)}de.done?J(X):Promise.resolve(X).then(Q,Y)}function f(se){return function(){var J=this,$=arguments;return new Promise(function(Q,Y){var re=se.apply(J,$);function te(X){D(re,Q,Y,te,de,"next",X)}function de(X){D(re,Q,Y,te,de,"throw",X)}te(void 0)})}}b.d(me,{Z:()=>f})}},Ye=>{Ye(Ye.s=5310)}]);
|