(self.webpackChunkngx_admin=self.webpackChunkngx_admin||[]).push([[179],{98255:function(e){function t(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}t.keys=function(){return[]},t.resolve=t,t.id=98255,e.exports=t},50948:function(e,t,n){var a={"./backend-integration.md":81424,"./concept-theme-system.md":21118,"./index.md":15419,"./install-starter-kit.md":95390,"./server-deployment.md":29827,"./start.md":77024,"./theme-change.md":95911};function i(e){var t=r(e);return n(t)}function r(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}i.keys=function(){return Object.keys(a)},i.resolve=r,e.exports=i,i.id=50948},66845:function(e){"use strict";e.exports={}},48878:function(e,t,n){"use strict";n.d(t,{GH:function(){return o},gb:function(){return l},SU:function(){return c}});var a=n(25917),i=n(88002),r=n(37716),s=n(91841);const o={personal:"personal",developer:"developer"},l={base:"https://store.akveo.com/collections/collection-for-ngx-admin-landing/products.json",material:"https://store.akveo.com/collections/collection-for-ngx-admin-landing/products.json"};let c=(()=>{class e{constructor(e){this.http=e,this.STORE_COLLECTION="https://store.akveo.com/collections",this.features=[{text:"ngx-admin template with 100+ UI components integrated with Backend Services",availableInPersonalLicence:!0,availableInCommercialLicence:!0},{text:"Backend Services and Repository layers with data access",availableInPersonalLicence:!0,availableInCommercialLicence:!0},{text:"JWT Authentication setup for UI and Backend",availableInPersonalLicence:!0,availableInCommercialLicence:!0},{text:"Running instructions and code documentation",availableInPersonalLicence:!0,availableInCommercialLicence:!0},{text:"Commercial Usage",availableInPersonalLicence:!0,availableInCommercialLicence:!0},{text:"Create multiple end products using bundle",availableInPersonalLicence:!1,availableInCommercialLicence:!0},{text:"Bug fixes and questions according to license terms",availableInPersonalLicence:!1,availableInCommercialLicence:!0}]}getFeatures(){return(0,a.of)(this.features)}getProducts(e){return this.http.get(e).pipe((0,i.U)(e=>e.products.map(e=>({id:e.id,imageUrl:this.getDefaultImage(e.images),storeUrl:`${this.STORE_COLLECTION}/${e.handle}`,tags:e.tags,title:e.title,description:e.body_html.trim().replace(/<(?:.|\n)*?>/gm," ").replace(/ +/gm," "),variants:e.variants.map(e=>({available:e.available,compare_at_price:e.compare_at_price,price:e.price,title:e.title}))}))))}getDefaultImage(e){const t=e.reduce((e,t)=>(e||(e=t),e));return t?this.trimImageUrl(t.src):void 0}trimImageUrl(e){return e.substring(0,e.indexOf("?"))}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(s.eN))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})()},66126:function(e,t,n){"use strict";n.d(t,{C:function(){return r}});var a=n(25917),i=n(37716);let r=(()=>{class e{constructor(){this.descriptions=[{icon:"layout-outline",title:"Efficient",description:"Packed with a huge number of handcrafted UI components, charts, maps, editors, tables, and much more, so that developers can focus on business needs"},{icon:"smartphone-outline",title:"Mobile first",description:"Looks stunning on every screen size and is optimized to bring the large-screen experience from desktop to mobile"},{icon:"color-palette-outline",title:"\u0421ustomizable",description:"With 4 themes, 2 dashboards, and outstanding UI architecture, it\u2019s easy to change the themes and find the right fit for your company"},{icon:"heart-outline",title:"Updated and supported",description:"Continuous updates and fixes from the development team to keep your tech up to date. The friendly and active community support team are ready to guide you through your challenges"}],this.bundleDescriptions=[{icon:"umbrella-outline",title:"Convenient",description:"Complete pack of well known Angular based ngx-admin template, integrated with Backend Solution of your choice. Finally, you can get fully integrated solution out of the box."},{icon:"settings-2-outline",title:"Functional",description:"Deploy it as ready to use solution for a particular case, or give it to your development team to incrementally add functionality. It provides a significant boost and solid development structure."},{icon:"clock-outline",title:"Efficient",description:"Save more than $21,000 using Backend Bundle. According to our research ready Backend Bundle optimizes around 300 hours of development time."},{icon:"checkmark-circle-2-outline",title:"Ready to use",description:"We prepared this Backend pack as development basement which lets your team concentrate on business logic and data models."}]}getDescriptions(){return(0,a.of)(this.descriptions)}getBundleDescriptions(){return(0,a.of)(this.bundleDescriptions)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})()},27183:function(e,t,n){"use strict";n.d(t,{l:function(){return r}});var a=n(25917),i=n(37716);let r=(()=>{class e{constructor(){this.headerMenu=[{title:"Home",link:"/"},{title:"Docs",link:"/docs"},{title:"Demo",url:"https://www.akveo.com/ngx-admin?utm_campaign=ngx_admin%20-%20demo%20-%20ngx_admin%20docs&utm_source=ngx_admin&utm_medium=referral&utm_content=landing_main_section"}]}getHeaderMenu(){return(0,a.of)(this.headerMenu)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})()},38775:function(e,t,n){"use strict";n.d(t,{Y:function(){return r}});var a=n(25917),i=n(37716);let r=(()=>{class e{constructor(){this.reviews=[{avatar:"assets/img/avatars/1.png",firstName:"Marcin",lastName:"Masiorski",socialIcon:"facebook",review:"Awesome template! You are doing great job! Regards.",link:"https://www.facebook.com/pg/akveo/reviews/?ref=page_internal"},{avatar:"assets/img/avatars/2.png",firstName:"Rashid",lastName:"Thompson",socialIcon:"facebook",review:"I just want to say you have the best admin template I have seen so far as a new developer (Trust me I have searched).",link:"https://www.facebook.com/pg/akveo/reviews/?ref=page_internal"},{avatar:"assets/img/avatars/3.png",firstName:"Yuriy",lastName:"Marshall",socialIcon:"facebook",review:"Thanks for free angular theme! Design and file/system structure is on high level! Love you, Akveo!)",link:"https://www.facebook.com/pg/akveo/reviews/?ref=page_internal"},{avatar:"assets/img/avatars/4.png",firstName:"Kenneth",lastName:"Reis",socialIcon:"facebook",review:"Nice people working hard for high quality projects. Love you guys!",link:"https://www.facebook.com/pg/akveo/reviews/?ref=page_internal"},{avatar:"assets/img/avatars/5.png",firstName:"Renato",lastName:"Oliveira Silva",socialIcon:"facebook",review:"Great company and great projects",link:"https://www.facebook.com/pg/akveo/reviews/?ref=page_internal"},{avatar:"assets/img/avatars/6.png",firstName:"Mohammed",lastName:"Benyakoub",socialIcon:"facebook",review:"That one of the best open source software - Product I have ever seen",link:"https://www.facebook.com/pg/akveo/reviews/?ref=page_internal"}]}getReviews(){return(0,a.of)(this.reviews)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})()},6349:function(e,t,n){"use strict";n.d(t,{W:function(){return o}});var a=n(37716),i=n(97116);const r=function(){return{width:30,height:30,fill:"#f7f8fa"}},s=function(){return{width:35,height:35,fill:"#f7f8fa"}};let o=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["ngx-docs-footer"]],decls:49,vars:15,consts:[[1,"logo"],["href","https://www.akveo.com?utm_campaign=services%20-%20homepage%20-%20ngx_admin%20docs&utm_source=ngx_admin&utm_medium=referral&utm_content=ngx_admin_docs_footer_link_logo","target","_blank"],["src","assets/img/akveo-logo.png","alt","Akveo logo"],[1,"title"],["href","https://www.akveo.com?utm_campaign=services%20-%20homepage%20-%20ngx_admin%20docs&utm_source=ngx_admin&utm_medium=referral&utm_content=ngx_admin_docs_footer_link_homepage","target","_blank"],["href","https://akveo.github.io/eva-icons?utm_campaign=eva_icons%20-%20home%20-%20ngx_admin%20docs&utm_source=ngx_admin&utm_medium=referral&utm_content=docs_footer"],["href","https://akveo.github.io/react-native-ui-kitten?utm_campaign=ui_kitten%20-%20home%20-%20ngx_admin%20docs&utm_source=ngx_admin&utm_medium=referral&utm_content=docs_footer"],["href","https://www.akveo.com/ngx-admin?utm_campaign=ngx_admin%20-%20demo%20-%20ngx_admin%20docs&utm_source=ngx_admin&utm_medium=referral&utm_content=docs_footer_link","target","_blank"],[1,"social"],["href","https://github.com/akveo/ngx-admin","aria-label","github","target","_blank"],[3,"innerHTML"],["href","https://twitter.com/akveo_inc","aria-label","twitter","target","_blank"],["href","https://www.facebook.com/akveo","aria-label","facebook","target","_blank"],[1,"copy"],["href","https://www.akveo.com?utm_campaign=services%20-%20homepage%20-%20ngx_admin%20docs&utm_source=ngx_admin&utm_medium=referral&utm_content=ngx_admin_docs_footer_link_akveo_llc","target","_blank"],[1,"contact"],["href","mailto:contact@akveo.com"]],template:function(e,t){1&e&&(a.TgZ(0,"div",0),a.TgZ(1,"a",1),a._UZ(2,"img",2),a.qZA(),a.qZA(),a.TgZ(3,"div"),a.TgZ(4,"ul"),a.TgZ(5,"li"),a.TgZ(6,"strong",3),a._uU(7,"More from Akveo"),a.qZA(),a.qZA(),a.TgZ(8,"li"),a.TgZ(9,"a",4),a._uU(10,"Homepage"),a.qZA(),a.qZA(),a.TgZ(11,"li"),a.TgZ(12,"a",5),a._uU(13,"Eva Icons"),a.qZA(),a.qZA(),a.TgZ(14,"li"),a.TgZ(15,"a",6),a._uU(16,"React Native UI Kitten"),a.qZA(),a.qZA(),a.TgZ(17,"li"),a.TgZ(18,"a",7),a._uU(19,"ngx-admin"),a.qZA(),a.qZA(),a.qZA(),a.qZA(),a.TgZ(20,"div"),a.TgZ(21,"ul"),a.TgZ(22,"li"),a.TgZ(23,"strong",3),a._uU(24,"Follow Us"),a.qZA(),a.qZA(),a.TgZ(25,"li",8),a.TgZ(26,"a",9),a._UZ(27,"i",10),a.ALo(28,"eva"),a.qZA(),a.TgZ(29,"a",11),a._UZ(30,"i",10),a.ALo(31,"eva"),a.qZA(),a.TgZ(32,"a",12),a._UZ(33,"i",10),a.ALo(34,"eva"),a.qZA(),a.qZA(),a.TgZ(35,"li",13),a._uU(36," \xa9 2015-2019 "),a.TgZ(37,"a",14),a._uU(38,"Akveo LLC"),a.qZA(),a._UZ(39,"br"),a._uU(40," Documentation licensed under CC BY 4.0. "),a.qZA(),a.qZA(),a.qZA(),a.TgZ(41,"div",15),a.TgZ(42,"ul"),a.TgZ(43,"li"),a.TgZ(44,"strong",3),a._uU(45,"Contact Us"),a.qZA(),a.qZA(),a.TgZ(46,"li"),a.TgZ(47,"a",16),a._uU(48,"contact@akveo.com"),a.qZA(),a.qZA(),a.qZA(),a.qZA()),2&e&&(a.xp6(27),a.Q6J("innerHTML",a.xi3(28,3,"github-outline",a.DdM(12,r)),a.oJD),a.xp6(3),a.Q6J("innerHTML",a.xi3(31,6,"twitter",a.DdM(13,r)),a.oJD),a.xp6(3),a.Q6J("innerHTML",a.xi3(34,9,"facebook",a.DdM(14,s)),a.oJD))},pipes:[i.R],styles:[".nb-theme-ngx-landing [_nghost-%COMP%]{display:flex;flex:1;flex-wrap:wrap;padding-top:1.25rem;justify-content:space-around}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%]{display:flex;margin-right:0;justify-content:center;width:100%}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%]:last-child{margin-right:0}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#222b45}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding-left:0}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;margin-bottom:1rem;justify-content:center;align-items:center;text-align:center}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{color:#222b45;font-size:1.125rem;font-weight:700;line-height:1.375rem}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%] .copy[_ngcontent-%COMP%]{color:#222b45;display:list-item;font-size:.75rem}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%] .social[_ngcontent-%COMP%]{display:flex;flex-direction:row}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%] .social[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;background-color:#8f9bb3;border-radius:.375rem;text-decoration:none;margin-right:1.5rem;line-height:.5}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%] .social[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:last-child{margin-right:0}.nb-theme-ngx-landing [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%]{display:none}@media (min-width:768px){.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%]{justify-content:flex-start;margin-right:2rem;width:auto}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{justify-content:flex-start;align-items:flex-start;text-align:left}}@media (min-width:992px){.nb-theme-ngx-landing [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:-2.5rem;text-align:center;justify-content:center}.nb-theme-ngx-landing [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:9rem}}.nb-theme-ngx-landing-material [_nghost-%COMP%]{display:flex;flex:1;flex-wrap:wrap;padding-top:1.25rem;justify-content:space-around}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%]{display:flex;margin-right:0;justify-content:center;width:100%}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%]:last-child{margin-right:0}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff!important}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding-left:0}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;margin-bottom:1rem;justify-content:center;align-items:center;text-align:center}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{color:#222b45;font-size:1.125rem;font-weight:700;line-height:1.375rem}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%] .copy[_ngcontent-%COMP%]{color:#fff!important;display:list-item;font-size:.75rem}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%] .social[_ngcontent-%COMP%]{display:flex;flex-direction:row}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%] .social[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;background-color:#8f9bb3;border-radius:.375rem;text-decoration:none;margin-right:1.5rem;line-height:.5}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%] .social[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:last-child{margin-right:0}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%]{display:none}@media (min-width:768px){.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%]{justify-content:flex-start;margin-right:2rem;width:auto}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{justify-content:flex-start;align-items:flex-start;text-align:left}}@media (min-width:992px){.nb-theme-ngx-landing-material [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:-2.5rem;text-align:center;justify-content:center}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:9rem}}.nb-theme-docs-page [_nghost-%COMP%]{display:flex;flex:1;flex-wrap:wrap;padding-top:1.25rem;justify-content:space-around}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%]{display:flex;margin-right:0;justify-content:center;width:100%}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%]:last-child{margin-right:0}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#222b45}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding-left:0}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;margin-bottom:1rem;justify-content:center;align-items:center;text-align:center}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{color:#222b45;font-size:1.125rem;font-weight:700;line-height:1.375rem}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%] .copy[_ngcontent-%COMP%]{color:#222b45;display:list-item;font-size:.75rem}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%] .social[_ngcontent-%COMP%]{display:flex;flex-direction:row}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%] .social[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;background-color:#8f9bb3;border-radius:.375rem;text-decoration:none;margin-right:1.5rem;line-height:.5}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%] .social[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:last-child{margin-right:0}.nb-theme-docs-page [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%]{display:none}@media (min-width:768px){.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%]{justify-content:flex-start;margin-right:2rem;width:auto}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{justify-content:flex-start;align-items:flex-start;text-align:left}}@media (min-width:992px){.nb-theme-docs-page [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:-2.5rem;text-align:center;justify-content:center}.nb-theme-docs-page [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:9rem}}"],changeDetection:0}),e})()},76329:function(e,t,n){"use strict";n.d(t,{I:function(){return o}});var a=n(37716),i=n(97116);const r=function(){return{width:30,height:30,fill:"#f7f8fa"}},s=function(){return{width:35,height:35,fill:"#f7f8fa"}};let o=(()=>{class e{get currentYear(){return(new Date).getFullYear()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["ngx-landing-footer"]],decls:52,vars:21,consts:[[1,"logo"],["href","https://www.akveo.com?utm_campaign=services%20-%20homepage%20-%20ngx_admin%20docs&utm_source=ngx_admin&utm_medium=referral&utm_content=ngx_admin_landing_footer_link_logo","target","_blank"],["src","assets/img/akveo-logo.png","alt","Akveo logo"],[1,"h6"],["href","https://www.akveo.com?utm_campaign=services%20-%20homepage%20-%20ngx_admin%20docs&utm_source=ngx_admin&utm_medium=referral&utm_content=ngx_admin_landing_footer_link_homepage","target","_blank"],["href","https://akveo.github.io/nebular?utm_campaign=nebular%20-%20home%20-%20ngx_admin%20docs&utm_source=ngx_admin&utm_medium=referral&utm_content=landing_footer_link"],["href","https://akveo.github.io/eva-icons?utm_campaign=eva_icons%20-%20home%20-%20ngx_admin%20docs&utm_source=ngx_admin&utm_medium=referral&utm_content=landing_footer"],["href","https://akveo.github.io/react-native-ui-kitten?utm_campaign=ui_kitten%20-%20home%20-%20ngx_admin%20docs&utm_source=ngx_admin&utm_medium=referral&utm_content=landing_footer"],[1,"social-container"],[1,"social"],["href","https://github.com/akveo/ngx-admin","aria-label","github","target","_blank"],[3,"innerHTML"],["href","https://twitter.com/akveo_inc","aria-label","twitter","target","_blank"],["href","https://www.facebook.com/akveo","aria-label","facebook","target","_blank"],["href","https://www.linkedin.com/company/akveo","aria-label","linkedIn","target","_blank"],[1,"copy"],["href","https://www.akveo.com?utm_campaign=services%20-%20homepage%20-%20ngx_admin%20docs&utm_source=ngx_admin&utm_medium=referral&utm_content=ngx_admin_landing_footer_link_akveo_llc","target","_blank"],[1,"contact"],["href","mailto:contact@akveo.com"]],template:function(e,t){1&e&&(a.TgZ(0,"div",0),a.TgZ(1,"a",1),a._UZ(2,"img",2),a.qZA(),a.qZA(),a.TgZ(3,"div"),a.TgZ(4,"ul"),a.TgZ(5,"li"),a.TgZ(6,"span",3),a._uU(7,"More from Akveo"),a.qZA(),a.qZA(),a.TgZ(8,"li"),a.TgZ(9,"a",4),a._uU(10,"Homepage"),a.qZA(),a.qZA(),a.TgZ(11,"li"),a.TgZ(12,"a",5),a._uU(13,"Nebular"),a.qZA(),a.qZA(),a.TgZ(14,"li"),a.TgZ(15,"a",6),a._uU(16,"Eva Icons"),a.qZA(),a.qZA(),a.TgZ(17,"li"),a.TgZ(18,"a",7),a._uU(19,"React Native UI Kitten"),a.qZA(),a.qZA(),a.qZA(),a.qZA(),a.TgZ(20,"div",8),a.TgZ(21,"ul"),a.TgZ(22,"li"),a.TgZ(23,"span",3),a._uU(24,"Follow Us"),a.qZA(),a.qZA(),a.TgZ(25,"li",9),a.TgZ(26,"a",10),a._UZ(27,"i",11),a.ALo(28,"eva"),a.qZA(),a.TgZ(29,"a",12),a._UZ(30,"i",11),a.ALo(31,"eva"),a.qZA(),a.TgZ(32,"a",13),a._UZ(33,"i",11),a.ALo(34,"eva"),a.qZA(),a.TgZ(35,"a",14),a._UZ(36,"i",11),a.ALo(37,"eva"),a.qZA(),a.qZA(),a.TgZ(38,"li",15),a._uU(39),a.TgZ(40,"a",16),a._uU(41,"Akveo LLC"),a.qZA(),a._UZ(42,"br"),a._uU(43," Documentation licensed under CC BY 4.0. "),a.qZA(),a.qZA(),a.qZA(),a.TgZ(44,"div",17),a.TgZ(45,"ul"),a.TgZ(46,"li"),a.TgZ(47,"span",3),a._uU(48,"Contact Us"),a.qZA(),a.qZA(),a.TgZ(49,"li"),a.TgZ(50,"a",18),a._uU(51,"contact@akveo.com"),a.qZA(),a.qZA(),a.qZA(),a.qZA()),2&e&&(a.xp6(27),a.Q6J("innerHTML",a.xi3(28,5,"github-outline",a.DdM(17,r)),a.oJD),a.xp6(3),a.Q6J("innerHTML",a.xi3(31,8,"twitter",a.DdM(18,r)),a.oJD),a.xp6(3),a.Q6J("innerHTML",a.xi3(34,11,"facebook",a.DdM(19,s)),a.oJD),a.xp6(3),a.Q6J("innerHTML",a.xi3(37,14,"linkedin",a.DdM(20,s)),a.oJD),a.xp6(3),a.hij(" \xa9 2015-",t.currentYear," "))},pipes:[i.R],styles:[".nb-theme-ngx-landing [_nghost-%COMP%]{display:flex;flex:1;flex-wrap:wrap;padding-top:2.75rem;justify-content:flex-start;margin:.375rem 10.25rem 0}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%]{display:flex;margin-right:0;margin-bottom:2rem;margin-top:.375rem;justify-content:center;width:100%}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%]:last-child{margin-right:0;margin-bottom:0}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#222b45}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding-left:0}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-weight:400;display:flex;margin-bottom:1.5rem;justify-content:center;align-items:center;text-align:center}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{margin-bottom:1.75rem}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%] .copy[_ngcontent-%COMP%]{color:#535b6c;display:list-item;font-size:.66rem;line-height:1.75}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%] .copy[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:.65rem;color:#535b6c}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%] .social[_ngcontent-%COMP%]{display:flex;flex-direction:row}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%] .social[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;background-color:#8f9bb3;border-radius:.375rem;text-decoration:none;margin-right:1.5rem;line-height:.5}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%] .social[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:last-child{margin-right:0}.nb-theme-ngx-landing [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%]{margin-bottom:3.125rem}.nb-theme-ngx-landing [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:10rem;height:10rem}.nb-theme-ngx-landing [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%}@media (min-width:768px){.nb-theme-ngx-landing [_nghost-%COMP%]{justify-content:space-around;margin-right:0;margin-left:0}.nb-theme-ngx-landing [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%]{display:none}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%]{justify-content:flex-start;margin-right:0;margin-bottom:0;width:auto}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{justify-content:flex-start;align-items:flex-start;text-align:left}}@media (min-width:992px){.nb-theme-ngx-landing [_nghost-%COMP%]{margin-right:2rem;margin-left:2rem}.nb-theme-ngx-landing [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:0;margin-bottom:0;text-align:center}}@media (min-width:1400px){.nb-theme-ngx-landing [_nghost-%COMP%]{justify-content:flex-start;margin:.375rem 10.25rem 0}.nb-theme-ngx-landing [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%]{margin-right:7.875rem}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%]{margin-right:8.375rem}.nb-theme-ngx-landing [_nghost-%COMP%] .company-info[_ngcontent-%COMP%]{margin-right:12.25rem}.nb-theme-ngx-landing [_nghost-%COMP%] .social-container[_ngcontent-%COMP%]{margin-right:6.75rem}}@media (max-width:991.98px){.nb-theme-ngx-landing [_nghost-%COMP%]{padding-left:1rem;padding-right:1rem}.nb-theme-ngx-landing [_nghost-%COMP%] > div[_ngcontent-%COMP%]{margin-right:0}.nb-theme-ngx-landing [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%]{margin-right:0}.nb-theme-ngx-landing [_nghost-%COMP%] .social-container[_ngcontent-%COMP%]{margin-right:0}}.nb-theme-ngx-landing-material [_nghost-%COMP%]{display:flex;flex:1;flex-wrap:wrap;padding-top:2.75rem;justify-content:flex-start;margin:.375rem 10.25rem 0}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%]{display:flex;margin-right:0;margin-bottom:2rem;margin-top:.375rem;justify-content:center;width:100%}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%]:last-child{margin-right:0;margin-bottom:0}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff!important}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding-left:0}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-weight:400;display:flex;margin-bottom:1.5rem;justify-content:center;align-items:center;text-align:center}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{margin-bottom:1.75rem}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%] .copy[_ngcontent-%COMP%]{color:#535b6c;display:list-item;font-size:.66rem;line-height:1.75}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%] .copy[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:.65rem;color:#535b6c}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%] .social[_ngcontent-%COMP%]{display:flex;flex-direction:row}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%] .social[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;background-color:#8f9bb3;border-radius:.375rem;text-decoration:none;margin-right:1.5rem;line-height:.5}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%] .social[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:last-child{margin-right:0}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%]{margin-bottom:3.125rem}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:10rem;height:10rem}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%}@media (min-width:768px){.nb-theme-ngx-landing-material [_nghost-%COMP%]{justify-content:space-around;margin-right:0;margin-left:0}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%]{display:none}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%]{justify-content:flex-start;margin-right:0;margin-bottom:0;width:auto}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{justify-content:flex-start;align-items:flex-start;text-align:left}}@media (min-width:992px){.nb-theme-ngx-landing-material [_nghost-%COMP%]{margin-right:2rem;margin-left:2rem}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:0;margin-bottom:0;text-align:center}}@media (min-width:1400px){.nb-theme-ngx-landing-material [_nghost-%COMP%]{justify-content:flex-start;margin:.375rem 10.25rem 0}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%]{margin-right:7.875rem}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%]{margin-right:8.375rem}.nb-theme-ngx-landing-material [_nghost-%COMP%] .company-info[_ngcontent-%COMP%]{margin-right:12.25rem}.nb-theme-ngx-landing-material [_nghost-%COMP%] .social-container[_ngcontent-%COMP%]{margin-right:6.75rem}}@media (max-width:991.98px){.nb-theme-ngx-landing-material [_nghost-%COMP%]{padding-left:1rem;padding-right:1rem}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div[_ngcontent-%COMP%]{margin-right:0}.nb-theme-ngx-landing-material [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%]{margin-right:0}.nb-theme-ngx-landing-material [_nghost-%COMP%] .social-container[_ngcontent-%COMP%]{margin-right:0}}.nb-theme-docs-page [_nghost-%COMP%]{display:flex;flex:1;flex-wrap:wrap;padding-top:2.75rem;justify-content:flex-start;margin:.375rem 10.25rem 0}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%]{display:flex;margin-right:0;margin-bottom:2rem;margin-top:.375rem;justify-content:center;width:100%}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%]:last-child{margin-right:0;margin-bottom:0}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#222b45}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding-left:0}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-weight:400;display:flex;margin-bottom:1.5rem;justify-content:center;align-items:center;text-align:center}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{margin-bottom:1.75rem}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%] .copy[_ngcontent-%COMP%]{color:#535b6c;display:list-item;font-size:.66rem;line-height:1.75}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%] .copy[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:.65rem;color:#535b6c}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%] .social[_ngcontent-%COMP%]{display:flex;flex-direction:row}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%] .social[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;background-color:#8f9bb3;border-radius:.375rem;text-decoration:none;margin-right:1.5rem;line-height:.5}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%] .social[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:last-child{margin-right:0}.nb-theme-docs-page [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%]{margin-bottom:3.125rem}.nb-theme-docs-page [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:10rem;height:10rem}.nb-theme-docs-page [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%}@media (min-width:768px){.nb-theme-docs-page [_nghost-%COMP%]{justify-content:space-around;margin-right:0;margin-left:0}.nb-theme-docs-page [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%]{display:none}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%]{justify-content:flex-start;margin-right:0;margin-bottom:0;width:auto}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{justify-content:flex-start;align-items:flex-start;text-align:left}}@media (min-width:992px){.nb-theme-docs-page [_nghost-%COMP%]{margin-right:2rem;margin-left:2rem}.nb-theme-docs-page [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:0;margin-bottom:0;text-align:center}}@media (min-width:1400px){.nb-theme-docs-page [_nghost-%COMP%]{justify-content:flex-start;margin:.375rem 10.25rem 0}.nb-theme-docs-page [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%]{margin-right:7.875rem}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%]{margin-right:8.375rem}.nb-theme-docs-page [_nghost-%COMP%] .company-info[_ngcontent-%COMP%]{margin-right:12.25rem}.nb-theme-docs-page [_nghost-%COMP%] .social-container[_ngcontent-%COMP%]{margin-right:6.75rem}}@media (max-width:991.98px){.nb-theme-docs-page [_nghost-%COMP%]{padding-left:1rem;padding-right:1rem}.nb-theme-docs-page [_nghost-%COMP%] > div[_ngcontent-%COMP%]{margin-right:0}.nb-theme-docs-page [_nghost-%COMP%] > div.logo[_ngcontent-%COMP%]{margin-right:0}.nb-theme-docs-page [_nghost-%COMP%] .social-container[_ngcontent-%COMP%]{margin-right:0}}"]}),e})()},63429:function(e,t,n){"use strict";n.d(t,{E:function(){return u}});var a=n(78942),i=n(62790),r=n(51307),s=n(70409),o=n(71289),l=n(37716),c=n(99763),d=n(10511);let u=(()=>{class e{constructor(e,t,n,a,i){this.activatedRoute=e,this.window=t,this.tocState=n,this.el=a,this.renderer=i,this.ngxFragmentSync=!0,this.inView=!1,this.alive=!0,this.marginFromTop=120}get fragment(){return this.ngxFragment}get element(){return this.el.nativeElement}get y(){return this.element.getBoundingClientRect().y}ngOnInit(){this.ngxFragmentSync&&this.tocState.add(this),this.activatedRoute.fragment.pipe((0,i.n)(null),(0,r.x)(),(0,s.o)(()=>this.alive),(0,o.g)(10)).subscribe(e=>{e&&this.fragment===e&&!this.inView?this.selectFragment():this.deselectFragment()})}selectFragment(){this.ngxFragmentClass&&this.renderer.addClass(this.el.nativeElement,this.ngxFragmentClass),this.setInView(!0),this.window.scrollTo(0,this.el.nativeElement.offsetTop-this.marginFromTop)}deselectFragment(){this.renderer.removeClass(this.el.nativeElement,this.ngxFragmentClass)}setInView(e){this.inView=e}ngOnDestroy(){this.alive=!1,this.ngxFragmentSync&&this.tocState.remove(this)}}return e.\u0275fac=function(t){return new(t||e)(l.Y36(c.gz),l.Y36(a.Q3p),l.Y36(d.M),l.Y36(l.SBq),l.Y36(l.Qsj))},e.\u0275dir=l.lG2({type:e,selectors:[["","ngxFragment",""]],inputs:{ngxFragment:"ngxFragment",ngxFragmentClass:"ngxFragmentClass",ngxFragmentSync:"ngxFragmentSync"}}),e})()},98933:function(e,t,n){"use strict";n.d(t,{O:function(){return p}});var a=n(79765),i=n(46782),r=n(37716),s=n(78942),o=n(57947),l=n(27183),c=n(38583),d=n(99763);function u(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"button",10),r.NdJ("click",function(){return r.CHM(e),r.oxw().toggleSidebar()}),r._UZ(1,"i",11),r.qZA()}}function _(e,t){1&e&&r._UZ(0,"iframe",12)}const h=["*"];let p=(()=>{class e{constructor(e,t,n){this.sidebarService=e,this.versionService=t,this.headerMenuService=n,this.destroy$=new a.xQ,this.isDocs=!1,this.sidebarTag="",this.headerMenu=[]}ngOnInit(){this.currentVersion=this.versionService.getNgxVersion(),this.headerMenuService.getHeaderMenu().pipe((0,i.R)(this.destroy$)).subscribe(e=>this.headerMenu=e)}toggleSidebar(){this.sidebarService.toggle(!1,this.sidebarTag)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(s.lzT),r.Y36(o.J),r.Y36(l.l))},e.\u0275cmp=r.Xpm({type:e,selectors:[["ngx-landing-header"]],hostVars:2,hostBindings:function(e,t){2&e&&r.ekj("docs-page",t.isDocs)},inputs:{isDocs:"isDocs",sidebarTag:"sidebarTag"},ngContentSelectors:h,decls:13,vars:4,consts:[[1,"section","left"],["class","sidebar-toggle",3,"click",4,"ngIf"],[1,"logo"],["routerLink","/"],[1,"version"],[1,"section","middle"],[1,"first-section"],[3,"items"],[1,"section","right"],["class","stars","src","https://ghbtns.com/github-btn.html?user=akveo&repo=ngx-admin&type=star&count=true","frameborder","0","scrolling","0",4,"ngIf"],[1,"sidebar-toggle",3,"click"],[1,"nb-menu"],["src","https://ghbtns.com/github-btn.html?user=akveo&repo=ngx-admin&type=star&count=true","frameborder","0","scrolling","0",1,"stars"]],template:function(e,t){1&e&&(r.F$t(),r.TgZ(0,"div",0),r.YNc(1,u,2,0,"button",1),r.TgZ(2,"div",2),r.TgZ(3,"a",3),r._uU(4,"ngx-admin"),r.qZA(),r.TgZ(5,"span",4),r._uU(6),r.qZA(),r.qZA(),r.qZA(),r.TgZ(7,"div",5),r.TgZ(8,"div",6),r._UZ(9,"nb-menu",7),r.Hsn(10),r.qZA(),r.qZA(),r.TgZ(11,"div",8),r.YNc(12,_,1,0,"iframe",9),r.qZA()),2&e&&(r.xp6(1),r.Q6J("ngIf",t.sidebarTag),r.xp6(5),r.hij("v",t.currentVersion,""),r.xp6(3),r.Q6J("items",t.headerMenu),r.xp6(3),r.Q6J("ngIf",t.isDocs))},directives:[c.O5,d.yS,s.mBz],styles:[".nb-theme-ngx-landing [_nghost-%COMP%]{display:flex;flex:1 0 auto;flex-direction:row;align-items:center}.nb-theme-ngx-landing [_nghost-%COMP%] .section[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:.875rem .5rem}.nb-theme-ngx-landing [_nghost-%COMP%] .section[_ngcontent-%COMP%] .first-section[_ngcontent-%COMP%]{display:flex;flex-direction:row}.nb-theme-ngx-landing [_nghost-%COMP%] .section.left[_ngcontent-%COMP%]{width:11.25rem}.nb-theme-ngx-landing [_nghost-%COMP%] .section.middle[_ngcontent-%COMP%]{flex:1;justify-content:flex-end}.nb-theme-ngx-landing [_nghost-%COMP%] .logo[_ngcontent-%COMP%]{display:flex;flex:1 0 auto;flex-direction:row}.nb-theme-ngx-landing [_nghost-%COMP%] .logo[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:1.275rem;color:#222b45;text-decoration:none!important;font-weight:700}.nb-theme-ngx-landing [_nghost-%COMP%] .logo[_ngcontent-%COMP%] .version[_ngcontent-%COMP%]{font-size:.75rem;font-weight:700;color:#8f9bb3}.nb-theme-ngx-landing [_nghost-%COMP%] .backend-bundles[_ngcontent-%COMP%]{display:none;align-items:center;padding-right:2rem;margin-left:auto}.nb-theme-ngx-landing [_nghost-%COMP%] .backend-bundles[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-right:.5rem}.nb-theme-ngx-landing [_nghost-%COMP%] nb-menu .menu-items{display:flex}.nb-theme-ngx-landing [_nghost-%COMP%] nb-menu .menu-items .menu-item{border:none}.nb-theme-ngx-landing [_nghost-%COMP%] nb-menu .menu-items .menu-item a{padding:.675rem .375rem;color:#405571;display:block}.nb-theme-ngx-landing [_nghost-%COMP%] nb-menu .menu-items .menu-item a.active, .nb-theme-ngx-landing [_nghost-%COMP%] nb-menu .menu-items .menu-item a:focus, .nb-theme-ngx-landing [_nghost-%COMP%] nb-menu .menu-items .menu-item a:hover{color:#18cb90;outline:none!important}.nb-theme-ngx-landing [_nghost-%COMP%] nb-menu .menu-items li:first-child{display:none}.nb-theme-ngx-landing [_nghost-%COMP%] .section.right[_ngcontent-%COMP%]{color:#405571;display:none}.nb-theme-ngx-landing [_nghost-%COMP%] .section.right[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-family:sans-serif;color:#18cb90;margin-left:.375rem}.nb-theme-ngx-landing [_nghost-%COMP%] ngx-material-theme-link a.material-theme-link{padding:.675rem .375rem}@media (min-width:400px){.nb-theme-ngx-landing [_nghost-%COMP%] .section.left[_ngcontent-%COMP%], .nb-theme-ngx-landing [_nghost-%COMP%] .section.right[_ngcontent-%COMP%]{padding:.875rem 0}.nb-theme-ngx-landing [_nghost-%COMP%] .section.middle[_ngcontent-%COMP%]{justify-content:flex-start}}@media (min-width:576px){.nb-theme-ngx-landing [_nghost-%COMP%] .logo[_ngcontent-%COMP%]{align-items:baseline;flex:1 0 auto}.nb-theme-ngx-landing [_nghost-%COMP%] .logo[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000;margin-right:.5rem}.nb-theme-ngx-landing [_nghost-%COMP%] .logo[_ngcontent-%COMP%] .version[_ngcontent-%COMP%]{display:inline}.nb-theme-ngx-landing [_nghost-%COMP%] nb-menu .menu-items .menu-item a, .nb-theme-ngx-landing [_nghost-%COMP%] ngx-material-theme-link a.material-theme-link{padding:.675rem 1.375rem}}@media (min-width:768px){.nb-theme-ngx-landing [_nghost-%COMP%] .logo[_ngcontent-%COMP%]{flex:1 0 auto;flex-direction:column;align-items:flex-start}.nb-theme-ngx-landing [_nghost-%COMP%] .logo[_ngcontent-%COMP%] .version[_ngcontent-%COMP%]{margin-left:0}.nb-theme-ngx-landing [_nghost-%COMP%] nb-menu .menu-items li:nth-child(2){display:list-item}.nb-theme-ngx-landing [_nghost-%COMP%] .backend-bundles[_ngcontent-%COMP%]{display:flex}}@media (min-width:992px){.nb-theme-ngx-landing [_nghost-%COMP%] nb-menu .menu-items{justify-content:flex-start}.nb-theme-ngx-landing [_nghost-%COMP%] nb-menu .menu-items li:not(:first-child){display:list-item}.nb-theme-ngx-landing [_nghost-%COMP%] .section.right[_ngcontent-%COMP%]{display:block}}@media (min-width:1200px){.nb-theme-ngx-landing [_nghost-%COMP%]{margin-left:6%!important}.nb-theme-ngx-landing [_nghost-%COMP%] .sidebar-toggle[_ngcontent-%COMP%]{display:none}}@media (max-width:767.98px){.nb-theme-ngx-landing [_nghost-%COMP%] nb-menu .menu-items{justify-content:flex-end}}@media (max-width:575.98px){.nb-theme-ngx-landing [_nghost-%COMP%]{padding:0 0 0 1rem}.nb-theme-ngx-landing [_nghost-%COMP%] .section.left[_ngcontent-%COMP%]{width:auto}.nb-theme-ngx-landing [_nghost-%COMP%] .logo[_ngcontent-%COMP%]{flex:1 0 auto;flex-direction:column;align-items:flex-start}.nb-theme-ngx-landing [_nghost-%COMP%] .logo[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000}.nb-theme-ngx-landing [_nghost-%COMP%] .logo[_ngcontent-%COMP%] .version[_ngcontent-%COMP%]{margin-left:0}}.nb-theme-ngx-landing .docs-page[_nghost-%COMP%] .section[_ngcontent-%COMP%] .first-section[_ngcontent-%COMP%]{display:flex;flex-direction:row}.nb-theme-ngx-landing .docs-page[_nghost-%COMP%] .section.left[_ngcontent-%COMP%]{align-items:center;padding-left:0;width:auto}.nb-theme-ngx-landing .docs-page[_nghost-%COMP%] .section.middle[_ngcontent-%COMP%]{justify-content:flex-end}.nb-theme-ngx-landing .docs-page[_nghost-%COMP%] .section.right[_ngcontent-%COMP%]{display:none;margin-left:0;width:auto}.nb-theme-ngx-landing .docs-page[_nghost-%COMP%] .sidebar-toggle[_ngcontent-%COMP%]{border:none;background-color:transparent;font-size:2.5rem;line-height:1rem;flex:1 0 auto;padding:0 .5rem}.nb-theme-ngx-landing .docs-page[_nghost-%COMP%] .sidebar-toggle[_ngcontent-%COMP%] .nb-menu[_ngcontent-%COMP%]{vertical-align:middle}.nb-theme-ngx-landing .docs-page[_nghost-%COMP%] nb-menu{flex-grow:0;flex-shrink:1;flex-basis:auto}.nb-theme-ngx-landing .docs-page[_nghost-%COMP%] ngx-material-theme-link{display:none}@media (min-width:400px){.nb-theme-ngx-landing .docs-page[_nghost-%COMP%] ngx-material-theme-link{display:flex}}@media (min-width:576px){.nb-theme-ngx-landing .docs-page[_nghost-%COMP%] nb-menu .menu-items li:first-child{display:list-item}.nb-theme-ngx-landing .docs-page[_nghost-%COMP%] .section.middle[_ngcontent-%COMP%]{justify-content:space-between}.nb-theme-ngx-landing .docs-page[_nghost-%COMP%] .stars[_ngcontent-%COMP%]{width:7.5rem;height:1.25rem;margin-left:auto}}@media (min-width:992px){.nb-theme-ngx-landing .docs-page[_nghost-%COMP%] .section.middle[_ngcontent-%COMP%]{justify-content:space-between}.nb-theme-ngx-landing .docs-page[_nghost-%COMP%] nb-menu .menu-items li{display:list-item}.nb-theme-ngx-landing .docs-page[_nghost-%COMP%] .section.right[_ngcontent-%COMP%]{display:block}}@media (min-width:1200px){.nb-theme-ngx-landing .docs-page[_nghost-%COMP%] .section.left[_ngcontent-%COMP%]{padding-left:1.125rem;width:11.25rem}.nb-theme-ngx-landing .docs-page[_nghost-%COMP%] .sidebar-toggle[_ngcontent-%COMP%]{display:none}.nb-theme-ngx-landing .docs-page[_nghost-%COMP%] nb-menu{flex:1}}.nb-theme-ngx-landing .docs-page[_nghost-%COMP%] .section.right[_ngcontent-%COMP%]{margin-left:1.875rem;width:16rem}.nb-theme-ngx-landing-material [_nghost-%COMP%]{display:flex;flex:1 0 auto;flex-direction:row;align-items:center}.nb-theme-ngx-landing-material [_nghost-%COMP%] .section[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:.875rem .5rem}.nb-theme-ngx-landing-material [_nghost-%COMP%] .section[_ngcontent-%COMP%] .first-section[_ngcontent-%COMP%]{display:flex;flex-direction:row}.nb-theme-ngx-landing-material [_nghost-%COMP%] .section.left[_ngcontent-%COMP%]{width:11.25rem}.nb-theme-ngx-landing-material [_nghost-%COMP%] .section.middle[_ngcontent-%COMP%]{flex:1;justify-content:flex-end}.nb-theme-ngx-landing-material [_nghost-%COMP%] .logo[_ngcontent-%COMP%]{display:flex;flex:1 0 auto;flex-direction:row}.nb-theme-ngx-landing-material [_nghost-%COMP%] .logo[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:1.275rem;color:#fff!important;text-decoration:none!important;font-weight:700}.nb-theme-ngx-landing-material [_nghost-%COMP%] .logo[_ngcontent-%COMP%] .version[_ngcontent-%COMP%]{font-size:.75rem;font-weight:700;color:#8f9bb3}.nb-theme-ngx-landing-material [_nghost-%COMP%] .backend-bundles[_ngcontent-%COMP%]{display:none;align-items:center;padding-right:2rem;margin-left:auto}.nb-theme-ngx-landing-material [_nghost-%COMP%] .backend-bundles[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-right:.5rem}.nb-theme-ngx-landing-material [_nghost-%COMP%] nb-menu .menu-items{display:flex}.nb-theme-ngx-landing-material [_nghost-%COMP%] nb-menu .menu-items .menu-item{border:none}.nb-theme-ngx-landing-material [_nghost-%COMP%] nb-menu .menu-items .menu-item a{padding:.675rem .375rem;color:#405571;display:block}.nb-theme-ngx-landing-material [_nghost-%COMP%] nb-menu .menu-items .menu-item a.active, .nb-theme-ngx-landing-material [_nghost-%COMP%] nb-menu .menu-items .menu-item a:focus, .nb-theme-ngx-landing-material [_nghost-%COMP%] nb-menu .menu-items .menu-item a:hover{color:#6200ee;outline:none!important}.nb-theme-ngx-landing-material [_nghost-%COMP%] nb-menu .menu-items li:first-child{display:none}.nb-theme-ngx-landing-material [_nghost-%COMP%] .section.right[_ngcontent-%COMP%]{color:#405571;display:none}.nb-theme-ngx-landing-material [_nghost-%COMP%] .section.right[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-family:sans-serif;color:#6200ee;margin-left:.375rem}.nb-theme-ngx-landing-material [_nghost-%COMP%] ngx-material-theme-link a.material-theme-link{padding:.675rem .375rem}@media (min-width:400px){.nb-theme-ngx-landing-material [_nghost-%COMP%] .section.left[_ngcontent-%COMP%], .nb-theme-ngx-landing-material [_nghost-%COMP%] .section.right[_ngcontent-%COMP%]{padding:.875rem 0}.nb-theme-ngx-landing-material [_nghost-%COMP%] .section.middle[_ngcontent-%COMP%]{justify-content:flex-start}}@media (min-width:576px){.nb-theme-ngx-landing-material [_nghost-%COMP%] .logo[_ngcontent-%COMP%]{align-items:baseline;flex:1 0 auto}.nb-theme-ngx-landing-material [_nghost-%COMP%] .logo[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000;margin-right:.5rem}.nb-theme-ngx-landing-material [_nghost-%COMP%] .logo[_ngcontent-%COMP%] .version[_ngcontent-%COMP%]{display:inline}.nb-theme-ngx-landing-material [_nghost-%COMP%] nb-menu .menu-items .menu-item a, .nb-theme-ngx-landing-material [_nghost-%COMP%] ngx-material-theme-link a.material-theme-link{padding:.675rem 1.375rem}}@media (min-width:768px){.nb-theme-ngx-landing-material [_nghost-%COMP%] .logo[_ngcontent-%COMP%]{flex:1 0 auto;flex-direction:column;align-items:flex-start}.nb-theme-ngx-landing-material [_nghost-%COMP%] .logo[_ngcontent-%COMP%] .version[_ngcontent-%COMP%]{margin-left:0}.nb-theme-ngx-landing-material [_nghost-%COMP%] nb-menu .menu-items li:nth-child(2){display:list-item}.nb-theme-ngx-landing-material [_nghost-%COMP%] .backend-bundles[_ngcontent-%COMP%]{display:flex}}@media (min-width:992px){.nb-theme-ngx-landing-material [_nghost-%COMP%] nb-menu .menu-items{justify-content:flex-start}.nb-theme-ngx-landing-material [_nghost-%COMP%] nb-menu .menu-items li:not(:first-child){display:list-item}.nb-theme-ngx-landing-material [_nghost-%COMP%] .section.right[_ngcontent-%COMP%]{display:block}}@media (min-width:1200px){.nb-theme-ngx-landing-material [_nghost-%COMP%]{margin-left:6%!important}.nb-theme-ngx-landing-material [_nghost-%COMP%] .sidebar-toggle[_ngcontent-%COMP%]{display:none}}@media (max-width:767.98px){.nb-theme-ngx-landing-material [_nghost-%COMP%] nb-menu .menu-items{justify-content:flex-end}}@media (max-width:575.98px){.nb-theme-ngx-landing-material [_nghost-%COMP%]{padding:0 0 0 1rem}.nb-theme-ngx-landing-material [_nghost-%COMP%] .section.left[_ngcontent-%COMP%]{width:auto}.nb-theme-ngx-landing-material [_nghost-%COMP%] .logo[_ngcontent-%COMP%]{flex:1 0 auto;flex-direction:column;align-items:flex-start}.nb-theme-ngx-landing-material [_nghost-%COMP%] .logo[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000}.nb-theme-ngx-landing-material [_nghost-%COMP%] .logo[_ngcontent-%COMP%] .version[_ngcontent-%COMP%]{margin-left:0}}.nb-theme-ngx-landing-material .docs-page[_nghost-%COMP%] .section[_ngcontent-%COMP%] .first-section[_ngcontent-%COMP%]{display:flex;flex-direction:row}.nb-theme-ngx-landing-material .docs-page[_nghost-%COMP%] .section.left[_ngcontent-%COMP%]{align-items:center;padding-left:0;width:auto}.nb-theme-ngx-landing-material .docs-page[_nghost-%COMP%] .section.middle[_ngcontent-%COMP%]{justify-content:flex-end}.nb-theme-ngx-landing-material .docs-page[_nghost-%COMP%] .section.right[_ngcontent-%COMP%]{display:none;margin-left:0;width:auto}.nb-theme-ngx-landing-material .docs-page[_nghost-%COMP%] .sidebar-toggle[_ngcontent-%COMP%]{border:none;background-color:transparent;font-size:2.5rem;line-height:1rem;flex:1 0 auto;padding:0 .5rem}.nb-theme-ngx-landing-material .docs-page[_nghost-%COMP%] .sidebar-toggle[_ngcontent-%COMP%] .nb-menu[_ngcontent-%COMP%]{vertical-align:middle}.nb-theme-ngx-landing-material .docs-page[_nghost-%COMP%] nb-menu{flex-grow:0;flex-shrink:1;flex-basis:auto}.nb-theme-ngx-landing-material .docs-page[_nghost-%COMP%] ngx-material-theme-link{display:none}@media (min-width:400px){.nb-theme-ngx-landing-material .docs-page[_nghost-%COMP%] ngx-material-theme-link{display:flex}}@media (min-width:576px){.nb-theme-ngx-landing-material .docs-page[_nghost-%COMP%] nb-menu .menu-items li:first-child{display:list-item}.nb-theme-ngx-landing-material .docs-page[_nghost-%COMP%] .section.middle[_ngcontent-%COMP%]{justify-content:space-between}.nb-theme-ngx-landing-material .docs-page[_nghost-%COMP%] .stars[_ngcontent-%COMP%]{width:7.5rem;height:1.25rem;margin-left:auto}}@media (min-width:992px){.nb-theme-ngx-landing-material .docs-page[_nghost-%COMP%] .section.middle[_ngcontent-%COMP%]{justify-content:space-between}.nb-theme-ngx-landing-material .docs-page[_nghost-%COMP%] nb-menu .menu-items li{display:list-item}.nb-theme-ngx-landing-material .docs-page[_nghost-%COMP%] .section.right[_ngcontent-%COMP%]{display:block}}@media (min-width:1200px){.nb-theme-ngx-landing-material .docs-page[_nghost-%COMP%] .section.left[_ngcontent-%COMP%]{padding-left:1.125rem;width:11.25rem}.nb-theme-ngx-landing-material .docs-page[_nghost-%COMP%] .sidebar-toggle[_ngcontent-%COMP%]{display:none}.nb-theme-ngx-landing-material .docs-page[_nghost-%COMP%] nb-menu{flex:1}}.nb-theme-ngx-landing-material .docs-page[_nghost-%COMP%] .section.right[_ngcontent-%COMP%]{margin-left:1.875rem;width:16rem}.nb-theme-docs-page [_nghost-%COMP%]{display:flex;flex:1 0 auto;flex-direction:row;align-items:center}.nb-theme-docs-page [_nghost-%COMP%] .section[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:.875rem .5rem}.nb-theme-docs-page [_nghost-%COMP%] .section[_ngcontent-%COMP%] .first-section[_ngcontent-%COMP%]{display:flex;flex-direction:row}.nb-theme-docs-page [_nghost-%COMP%] .section.left[_ngcontent-%COMP%]{width:16rem}.nb-theme-docs-page [_nghost-%COMP%] .section.middle[_ngcontent-%COMP%]{flex:1;justify-content:flex-end}.nb-theme-docs-page [_nghost-%COMP%] .logo[_ngcontent-%COMP%]{display:flex;flex:1 0 auto;flex-direction:row}.nb-theme-docs-page [_nghost-%COMP%] .logo[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:1.275rem;color:#222b45;text-decoration:none!important;font-weight:700}.nb-theme-docs-page [_nghost-%COMP%] .logo[_ngcontent-%COMP%] .version[_ngcontent-%COMP%]{font-size:.75rem;font-weight:700;color:#8f9bb3}.nb-theme-docs-page [_nghost-%COMP%] .backend-bundles[_ngcontent-%COMP%]{display:none;align-items:center;padding-right:2rem;margin-left:auto}.nb-theme-docs-page [_nghost-%COMP%] .backend-bundles[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-right:.5rem}.nb-theme-docs-page [_nghost-%COMP%] nb-menu .menu-items{display:flex}.nb-theme-docs-page [_nghost-%COMP%] nb-menu .menu-items .menu-item{border:none}.nb-theme-docs-page [_nghost-%COMP%] nb-menu .menu-items .menu-item a{padding:.675rem .375rem;color:#405571;display:block}.nb-theme-docs-page [_nghost-%COMP%] nb-menu .menu-items .menu-item a.active, .nb-theme-docs-page [_nghost-%COMP%] nb-menu .menu-items .menu-item a:focus, .nb-theme-docs-page [_nghost-%COMP%] nb-menu .menu-items .menu-item a:hover{color:#00db92;outline:none!important}.nb-theme-docs-page [_nghost-%COMP%] nb-menu .menu-items li:first-child{display:none}.nb-theme-docs-page [_nghost-%COMP%] .section.right[_ngcontent-%COMP%]{color:#405571;display:none}.nb-theme-docs-page [_nghost-%COMP%] .section.right[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-family:sans-serif;color:#00db92;margin-left:.375rem}.nb-theme-docs-page [_nghost-%COMP%] ngx-material-theme-link a.material-theme-link{padding:.675rem .375rem}@media (min-width:400px){.nb-theme-docs-page [_nghost-%COMP%] .section.left[_ngcontent-%COMP%], .nb-theme-docs-page [_nghost-%COMP%] .section.right[_ngcontent-%COMP%]{padding:.875rem 0}.nb-theme-docs-page [_nghost-%COMP%] .section.middle[_ngcontent-%COMP%]{justify-content:flex-start}}@media (min-width:576px){.nb-theme-docs-page [_nghost-%COMP%] .logo[_ngcontent-%COMP%]{align-items:baseline;flex:1 0 auto}.nb-theme-docs-page [_nghost-%COMP%] .logo[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000;margin-right:.5rem}.nb-theme-docs-page [_nghost-%COMP%] .logo[_ngcontent-%COMP%] .version[_ngcontent-%COMP%]{display:inline}.nb-theme-docs-page [_nghost-%COMP%] nb-menu .menu-items .menu-item a, .nb-theme-docs-page [_nghost-%COMP%] ngx-material-theme-link a.material-theme-link{padding:.675rem 1.375rem}}@media (min-width:768px){.nb-theme-docs-page [_nghost-%COMP%] .logo[_ngcontent-%COMP%]{flex:1 0 auto;flex-direction:column;align-items:flex-start}.nb-theme-docs-page [_nghost-%COMP%] .logo[_ngcontent-%COMP%] .version[_ngcontent-%COMP%]{margin-left:0}.nb-theme-docs-page [_nghost-%COMP%] nb-menu .menu-items li:nth-child(2){display:list-item}.nb-theme-docs-page [_nghost-%COMP%] .backend-bundles[_ngcontent-%COMP%]{display:flex}}@media (min-width:992px){.nb-theme-docs-page [_nghost-%COMP%] nb-menu .menu-items{justify-content:flex-start}.nb-theme-docs-page [_nghost-%COMP%] nb-menu .menu-items li:not(:first-child){display:list-item}.nb-theme-docs-page [_nghost-%COMP%] .section.right[_ngcontent-%COMP%]{display:block}}@media (min-width:1200px){.nb-theme-docs-page [_nghost-%COMP%]{margin-left:6%!important}.nb-theme-docs-page [_nghost-%COMP%] .sidebar-toggle[_ngcontent-%COMP%]{display:none}}@media (max-width:767.98px){.nb-theme-docs-page [_nghost-%COMP%] nb-menu .menu-items{justify-content:flex-end}}@media (max-width:575.98px){.nb-theme-docs-page [_nghost-%COMP%]{padding:0 0 0 1rem}.nb-theme-docs-page [_nghost-%COMP%] .section.left[_ngcontent-%COMP%]{width:auto}.nb-theme-docs-page [_nghost-%COMP%] .logo[_ngcontent-%COMP%]{flex:1 0 auto;flex-direction:column;align-items:flex-start}.nb-theme-docs-page [_nghost-%COMP%] .logo[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000}.nb-theme-docs-page [_nghost-%COMP%] .logo[_ngcontent-%COMP%] .version[_ngcontent-%COMP%]{margin-left:0}}.nb-theme-docs-page .docs-page[_nghost-%COMP%] .section[_ngcontent-%COMP%] .first-section[_ngcontent-%COMP%]{display:flex;flex-direction:row}.nb-theme-docs-page .docs-page[_nghost-%COMP%] .section.left[_ngcontent-%COMP%]{align-items:center;padding-left:0;width:auto}.nb-theme-docs-page .docs-page[_nghost-%COMP%] .section.middle[_ngcontent-%COMP%]{justify-content:flex-end}.nb-theme-docs-page .docs-page[_nghost-%COMP%] .section.right[_ngcontent-%COMP%]{display:none;margin-left:0;width:auto}.nb-theme-docs-page .docs-page[_nghost-%COMP%] .sidebar-toggle[_ngcontent-%COMP%]{border:none;background-color:transparent;font-size:2.5rem;line-height:1rem;flex:1 0 auto;padding:0 .5rem}.nb-theme-docs-page .docs-page[_nghost-%COMP%] .sidebar-toggle[_ngcontent-%COMP%] .nb-menu[_ngcontent-%COMP%]{vertical-align:middle}.nb-theme-docs-page .docs-page[_nghost-%COMP%] nb-menu{flex-grow:0;flex-shrink:1;flex-basis:auto}.nb-theme-docs-page .docs-page[_nghost-%COMP%] ngx-material-theme-link{display:none}@media (min-width:400px){.nb-theme-docs-page .docs-page[_nghost-%COMP%] ngx-material-theme-link{display:flex}}@media (min-width:576px){.nb-theme-docs-page .docs-page[_nghost-%COMP%] nb-menu .menu-items li:first-child{display:list-item}.nb-theme-docs-page .docs-page[_nghost-%COMP%] .section.middle[_ngcontent-%COMP%]{justify-content:space-between}.nb-theme-docs-page .docs-page[_nghost-%COMP%] .stars[_ngcontent-%COMP%]{width:7.5rem;height:1.25rem;margin-left:auto}}@media (min-width:992px){.nb-theme-docs-page .docs-page[_nghost-%COMP%] .section.middle[_ngcontent-%COMP%]{justify-content:space-between}.nb-theme-docs-page .docs-page[_nghost-%COMP%] nb-menu .menu-items li{display:list-item}.nb-theme-docs-page .docs-page[_nghost-%COMP%] .section.right[_ngcontent-%COMP%]{display:block}}@media (min-width:1200px){.nb-theme-docs-page .docs-page[_nghost-%COMP%] .section.left[_ngcontent-%COMP%]{padding-left:1.125rem;width:16rem}.nb-theme-docs-page .docs-page[_nghost-%COMP%] .sidebar-toggle[_ngcontent-%COMP%]{display:none}.nb-theme-docs-page .docs-page[_nghost-%COMP%] nb-menu{flex:1}}.nb-theme-docs-page .docs-page[_nghost-%COMP%] .section.right[_ngcontent-%COMP%]{margin-left:1.875rem;width:16rem}"]}),e})()},44095:function(e,t,n){"use strict";n.d(t,{j:function(){return p}});var a=n(88002),i=n(35226),r=n(51307),s=n(70409),o=n(25917),l=n(9112),c=n(37716),d=n(99763),u=n(38583);const _=function(e){return["../",e]};function h(e,t){if(1&e&&(c.TgZ(0,"a",1),c.TgZ(1,"div",2),c._UZ(2,"i"),c.TgZ(3,"span",3),c._uU(4),c.qZA(),c.qZA(),c._UZ(5,"i",4),c.qZA()),2&e){const e=t.$implicit;c.ekj("selected",e.selected),c.Q6J("routerLink",c.VKq(7,_,e.tab)),c.xp6(2),c.Gre("icon ",e.icon,""),c.xp6(2),c.Oqu(e.title)}}let p=(()=>{class e{constructor(e){this.activatedRoute=e,this.items$=(0,o.of)([]),this.isHorizontal=!1,this.availableTabs=[{tab:"overview",title:"Overview",icon:"feather-eye",selected:!0},{tab:"api",title:"API",icon:"feather-settings"},{tab:"theme",title:"Theme",icon:"feather-droplet"},{tab:"examples",title:"Examples",icon:"feather-image"}],this.alive=!0}set tabs(e){this.items$=(0,l.aj)((0,o.of)(e||[]).pipe((0,a.U)(e=>this.availableTabs.filter(t=>e[t.tab]))),this.activatedRoute.params.pipe((0,i._)(),(0,r.x)())).pipe((0,s.o)(()=>this.alive),(0,a.U)(([e,t])=>e.map(e=>Object.assign(Object.assign({},e),{selected:e.tab===t.tab}))))}set horizontal(e){this.isHorizontal="false"!==e&&!1!==e}ngOnDestroy(){this.alive=!1}}return e.\u0275fac=function(t){return new(t||e)(c.Y36(d.gz))},e.\u0275cmp=c.Xpm({type:e,selectors:[["ngx-page-tabs"]],hostVars:2,hostBindings:function(e,t){2&e&&c.ekj("horizontal",t.isHorizontal)},inputs:{tabs:"tabs",horizontal:"horizontal"},decls:2,vars:3,consts:[[3,"selected","routerLink",4,"ngFor","ngForOf"],[3,"routerLink"],[1,"text-container"],[1,"title"],[1,"line"]],template:function(e,t){1&e&&(c.YNc(0,h,6,9,"a",0),c.ALo(1,"async")),2&e&&c.Q6J("ngForOf",c.lcZ(1,1,t.items$))},directives:[u.sg,d.yS],pipes:[u.Ov],styles:['.nb-theme-ngx-landing [_nghost-%COMP%]{display:flex;flex-wrap:wrap}.nb-theme-ngx-landing [_nghost-%COMP%] a[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;padding:1rem;width:50%;height:7.5rem;font-size:.875rem;text-decoration:none;color:#405571;margin-bottom:1rem}.nb-theme-ngx-landing [_nghost-%COMP%] a[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{padding-bottom:.75rem;font-weight:500}.nb-theme-ngx-landing [_nghost-%COMP%] a[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:1.5rem;padding-bottom:1rem}.nb-theme-ngx-landing [_nghost-%COMP%] a.selected[_ngcontent-%COMP%]{background:#fff;color:#546d8d;box-shadow:0 8px 20px 0 rgba(218,224,235,.6)}.nb-theme-ngx-landing [_nghost-%COMP%] a.selected[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{height:.1875rem;width:60%;border-radius:1.5px}.nb-theme-ngx-landing [_nghost-%COMP%] .icon[_ngcontent-%COMP%], .nb-theme-ngx-landing [_nghost-%COMP%] .title[_ngcontent-%COMP%]{display:block;text-align:center}.nb-theme-ngx-landing-material [_nghost-%COMP%]{display:flex;flex-wrap:wrap}.nb-theme-ngx-landing-material [_nghost-%COMP%] a[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;padding:1rem;width:50%;height:7.5rem;font-size:.875rem;text-decoration:none;color:#405571;margin-bottom:1rem}.nb-theme-ngx-landing-material [_nghost-%COMP%] a[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{padding-bottom:.75rem;font-weight:500}.nb-theme-ngx-landing-material [_nghost-%COMP%] a[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:1.5rem;padding-bottom:1rem}.nb-theme-ngx-landing-material [_nghost-%COMP%] a.selected[_ngcontent-%COMP%]{background:#fff;color:#546d8d;box-shadow:0 8px 20px 0 rgba(218,224,235,.6)}.nb-theme-ngx-landing-material [_nghost-%COMP%] a.selected[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{height:.1875rem;width:60%;border-radius:1.5px}.nb-theme-ngx-landing-material [_nghost-%COMP%] .icon[_ngcontent-%COMP%], .nb-theme-ngx-landing-material [_nghost-%COMP%] .title[_ngcontent-%COMP%]{display:block;text-align:center}.nb-theme-docs-page [_nghost-%COMP%]{display:flex;flex-wrap:wrap}.nb-theme-docs-page [_nghost-%COMP%] a[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;padding:1rem;width:50%;height:7.5rem;font-size:.875rem;text-decoration:none;color:#405571;margin-bottom:1rem}.nb-theme-docs-page [_nghost-%COMP%] a[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{padding-bottom:.75rem;font-weight:500}.nb-theme-docs-page [_nghost-%COMP%] a[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:1.5rem;padding-bottom:1rem}.nb-theme-docs-page [_nghost-%COMP%] a.selected[_ngcontent-%COMP%]{background:#fff;color:rgba(0,0,0,.88);box-shadow:0 8px 20px 0 rgba(218,224,235,.6)}.nb-theme-docs-page [_nghost-%COMP%] a.selected[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{height:.1875rem;width:60%;background:#00db92;border-radius:1.5px}.nb-theme-docs-page [_nghost-%COMP%] .icon[_ngcontent-%COMP%], .nb-theme-docs-page [_nghost-%COMP%] .title[_ngcontent-%COMP%]{display:block;text-align:center}.horizontal[_nghost-%COMP%] a[_ngcontent-%COMP%]{flex:0 0 50%;height:auto;margin-bottom:0;padding:0 1rem}.horizontal[_nghost-%COMP%] a[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%], .horizontal[_nghost-%COMP%] a[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:inline;padding-bottom:0;vertical-align:middle}.horizontal[_nghost-%COMP%] a[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{margin-right:.5rem}.horizontal[_nghost-%COMP%] .text-container[_ngcontent-%COMP%]{padding-bottom:1.3rem}.horizontal[_nghost-%COMP%] .line[_ngcontent-%COMP%]{order:-1;margin-bottom:1.3rem}@media screen and (min-width:40em){.horizontal[_nghost-%COMP%]{flex:1 1 0}.horizontal[_nghost-%COMP%] a[_ngcontent-%COMP%]{flex:1 1 0}.horizontal[_nghost-%COMP%] a.selected[_ngcontent-%COMP%]:after{content:"";position:absolute;top:100%;border-left:1rem solid transparent;border-right:1rem solid transparent;border-top:1rem solid #fff}}'],changeDetection:0}),e})()},37:function(e,t,n){"use strict";n.d(t,{K:function(){return _}});var a=n(70409),i=n(88002),r=n(9112),s=n(25917),o=n(37716),l=n(99763),c=n(38583);function d(e,t){if(1&e&&(o.TgZ(0,"li"),o.TgZ(1,"a",2),o._uU(2),o.qZA(),o.qZA()),2&e){const e=t.$implicit;o.ekj("selected",e.selected),o.xp6(1),o.Q6J("routerLink",e.link)("fragment",e.fragment),o.xp6(1),o.Oqu(e.title)}}function u(e,t){if(1&e&&(o.ynx(0),o.TgZ(1,"h4"),o._uU(2,"Overview"),o.qZA(),o.TgZ(3,"ul"),o.YNc(4,d,3,5,"li",1),o.qZA(),o.BQk()),2&e){const e=o.oxw();o.xp6(4),o.Q6J("ngForOf",e.items)}}let _=(()=>{class e{constructor(e,t){this.activatedRoute=e,this.cd=t,this.alive=!0}set toc(e){(0,r.aj)((0,s.of)(e||[]),this.activatedRoute.fragment).pipe((0,a.o)(()=>this.alive),(0,i.U)(([e,t])=>((e=e.map(e=>Object.assign(Object.assign({},e),{selected:t===e.fragment}))).length&&!e.find(e=>e.selected)&&(e[0].selected=!0),e))).subscribe(e=>{this.items=e,this.cd.detectChanges()})}ngOnDestroy(){this.alive=!1}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(l.gz),o.Y36(o.sBO))},e.\u0275cmp=o.Xpm({type:e,selectors:[["ngx-page-toc"]],inputs:{toc:"toc"},decls:1,vars:1,consts:[[4,"ngIf"],[3,"selected",4,"ngFor","ngForOf"],[3,"routerLink","fragment"]],template:function(e,t){1&e&&o.YNc(0,u,5,1,"ng-container",0),2&e&&o.Q6J("ngIf",(null==t.items?null:t.items.length)>0)},directives:[c.O5,c.sg,l.yS],styles:['.nb-theme-ngx-landing [_nghost-%COMP%]{padding-left:1rem;display:block}.nb-theme-ngx-landing [_nghost-%COMP%] h4[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:400;margin-bottom:2.5rem;color:#405571}.nb-theme-ngx-landing [_nghost-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding-left:3.25rem;font-size:.9375rem}.nb-theme-ngx-landing [_nghost-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:.9375rem}.nb-theme-ngx-landing [_nghost-%COMP%] ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:rgba(102,110,128,.87)}.nb-theme-ngx-landing [_nghost-%COMP%] ul[_ngcontent-%COMP%] li.selected[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-weight:500;color:#202020;position:relative}.nb-theme-ngx-landing [_nghost-%COMP%] ul[_ngcontent-%COMP%] li.selected[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after{content:"";position:absolute;left:-3.25rem;top:50%;transform:translateY(-50%);height:.1875rem;width:2rem;border-radius:1.5px}.nb-theme-ngx-landing-material [_nghost-%COMP%]{padding-left:1rem;display:block}.nb-theme-ngx-landing-material [_nghost-%COMP%] h4[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:400;margin-bottom:2.5rem;color:#405571}.nb-theme-ngx-landing-material [_nghost-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding-left:3.25rem;font-size:.9375rem}.nb-theme-ngx-landing-material [_nghost-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:.9375rem}.nb-theme-ngx-landing-material [_nghost-%COMP%] ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:rgba(102,110,128,.87)}.nb-theme-ngx-landing-material [_nghost-%COMP%] ul[_ngcontent-%COMP%] li.selected[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-weight:500;color:#202020;position:relative}.nb-theme-ngx-landing-material [_nghost-%COMP%] ul[_ngcontent-%COMP%] li.selected[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after{content:"";position:absolute;left:-3.25rem;top:50%;transform:translateY(-50%);height:.1875rem;width:2rem;border-radius:1.5px}.nb-theme-docs-page [_nghost-%COMP%]{padding-left:1rem;display:block}.nb-theme-docs-page [_nghost-%COMP%] h4[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:400;margin-bottom:2.5rem;color:#405571}.nb-theme-docs-page [_nghost-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding-left:3.25rem;font-size:.9375rem}.nb-theme-docs-page [_nghost-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:.9375rem}.nb-theme-docs-page [_nghost-%COMP%] ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:rgba(102,110,128,.87)}.nb-theme-docs-page [_nghost-%COMP%] ul[_ngcontent-%COMP%] li.selected[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-weight:500;color:#202020;position:relative}.nb-theme-docs-page [_nghost-%COMP%] ul[_ngcontent-%COMP%] li.selected[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after{content:"";position:absolute;left:-3.25rem;top:50%;transform:translateY(-50%);height:.1875rem;width:2rem;background:#00db92;border-radius:1.5px}'],changeDetection:0}),e})()},16246:function(e,t,n){"use strict";n.d(t,{p:function(){return r}});var a=n(37716);const i=["*"];let r=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["ngx-landing-section-title"]],ngContentSelectors:i,decls:2,vars:0,template:function(e,t){1&e&&(a.F$t(),a.TgZ(0,"h2"),a.Hsn(1),a.qZA())},styles:[".nb-theme-ngx-landing [_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-family:Helvetica Neue Bold,sans-serif;font-size:2rem;color:#000;text-align:center}@media (max-width:575.98px){.nb-theme-ngx-landing [_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.5rem}}.nb-theme-ngx-landing-material [_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-family:Helvetica Neue Bold,sans-serif;font-size:2rem;color:#000;text-align:center}@media (max-width:575.98px){.nb-theme-ngx-landing-material [_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.5rem}}.nb-theme-docs-page [_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-family:Helvetica Neue Bold,sans-serif;font-size:2rem;color:#000;text-align:center}@media (max-width:575.98px){.nb-theme-docs-page [_nghost-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.5rem}}"]}),e})()},1972:function(e,t,n){"use strict";n.d(t,{x:function(){return o}});var a=n(35226),i=n(51307),r=n(37716),s=n(91841);let o=(()=>{class e{constructor(e){this.http=e,this.cache=new Map}load(e){const t=this.buildFilePath(e);return this.cache.get(t)||this.buildRequest(t)}buildFilePath(e){return`assets/examples/${e}`}buildRequest(e){const t=this.http.get(e,{responseType:"text"}).pipe((0,a._)(1),(0,i.x)());return this.cache.set(e,t),t}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(s.eN))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})()},38191:function(e,t,n){"use strict";n.d(t,{G:function(){return r}});var a=n(96786),i=n(37716);let r=(()=>{class e{highlight(e){return a.highlightAuto(e,["ts","html","scss","nginx"]).value}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})()},64489:function(e,t,n){"use strict";n.d(t,{O:function(){return l}});var a=n(22759),i=n(45435),r=n(88002),s=n(78942),o=n(37716);let l=(()=>{class e{constructor(e){this.window=e}send(e,t=this.window.parent){t!==this.window&&t.postMessage(e,"*")}receive(e){return(0,a.R)(this.window,"message").pipe((0,i.h)(t=>t.data&&t.data.id===e),(0,r.U)(e=>e.data))}}return e.\u0275fac=function(t){return new(t||e)(o.LFG(s.Q3p))},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac}),e})()},99941:function(e,t,n){"use strict";n.d(t,{Q:function(){return s}});var a=n(37716),i=n(91137),r=n(67690);let s=(()=>{class e{constructor(e,t){this.structureService=e,this.textService=t}getPreparedMenu(e){return this.prepareMenu(this.structureService.getPreparedStructure(),{link:e})}prepareMenu(e,t=null){return e.filter(e=>e.name&&"block"!==e.type).map(e=>{const n={title:e.name,pathMatch:"prefix",parent:t,data:e,group:"group"===e.type};return n.link=this.createItemLink(n),e.children&&e.children.some(e=>"page"===e.type||"tabs"===e.type)&&(n.expanded=!0,n.children=this.prepareMenu(e.children,n)),n})}prepareToc(e){return e.children.reduce((e,t)=>"markdown"===t.block?e.concat(this.getTocForMd(t)):"tabbed"===t.block?e.concat(this.getTocForTabbed(t)):(e.push(t.source.name),e),[])}getTocForMd(e){return e.children.map(e=>({title:e.title,fragment:e.fragment}))}getTocForTabbed(e){return e.children.map(e=>({title:e.name,fragment:this.textService.createSlag(e.name)}))}createItemLink(e){const t=this.textService.createSlag(e.title);return e.parent?`${e.parent.link}/${t}`:t}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(i.M),a.LFG(r.j))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})()},74491:function(e,t,n){"use strict";n.d(t,{I:function(){return s}});var a=n(37716),i=n(91137),r=n(99941);let s=(()=>{class e{constructor(e,t){this.structureService=e,this.menuService=t}setPaginationItems(e){this.paginationItems=this.addPrevNextPointers(this.prepareItems(this.structureService.getPreparedStructure(),{link:e}))}prepareItems(e,t=null){return e.filter(e=>e.name).reduce((e,n)=>{const a={title:n.name,parent:t,slag:n.slag};return a.link=this.menuService.createItemLink(a),(n.name&&"page"===n.type||"tabs"===n.type)&&e.push(a),n.children?e.concat(this.prepareItems(n.children,a)):e},[])}addPrevNextPointers(e){return e.map((e,t,n)=>{const a=n[t-1],i=n[t+1];return a&&(e.prev={link:a.link,title:a.title}),i&&(e.next={link:i.link,title:i.title}),e})}getPaginationItem(e){return this.paginationItems.find(t=>t.slag===e)}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(i.M),a.LFG(r.Q))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})()},91137:function(e,t,n){"use strict";n.d(t,{M:function(){return o}});var a=n(42276),i=n(37716),r=n(67690),s=n(99314);let o=(()=>{class e{constructor(e,t,n,a){this.textService=e,this.tabbedService=t,this.prepared=this.prepareStructure(n,a)}getPreparedStructure(){return this.prepared}findPageBySlag(e,t){for(const n of e){if(n.slag===t)return n;if("section"===n.type&&n.children){const e=this.findPageBySlag(n.children,t);if(e)return e}}}prepareStructure(e,t,a){return e.map(e=>{const i=e.name?this.textService.createSlag(e.name):null;return"block"===e.type&&"string"==typeof e.source&&("theme"===e.block&&(e.source=t.themes[e.source]),"component"===e.block&&(e.source=this.prepareComponent(t.classes.find(t=>t.name===e.source)))),"markdown"===e.block&&(e.children=this.textService.mdToSectionsHTML(n(50948)(`./${e.source}`).default)),e.children&&(e.children=this.prepareStructure(e.children,t,i)),"tabs"===e.type&&(e.source=this.getComponents(e,t),e.tabs=this.tabbedService.determineTabs(e),e.children=[{type:"block",block:"tabbed",children:e.source}]),"page"!==e.type&&"tabs"!==e.type||(e.toc=this.prepareToc(e),e.slag=a?`${a}_${i}`:i),e})}getComponents(e,t){return e.source.map(e=>t.classes.find(t=>t.name===e)).map(e=>this.prepareComponent(e))}prepareComponent(e){const t=e.overview.filter(e=>"text"===e.type);return t&&t.length&&(t[0].content=`## ${e.name}\n\n${t[0].content}`),Object.assign(Object.assign({},e),{slag:this.textService.createSlag(e.name),overview:e.overview.map(e=>"text"===e.type?{type:e.type,content:this.textService.mdToSectionsHTML(e.content)}:e)})}prepareToc(e){return e.children.reduce((e,t)=>"markdown"===t.block?e.concat(this.getTocForMd(t)):"tabbed"===t.block?e.concat(this.getTocForTabbed(t)):("component"===t.block&&e.push(this.getTocForComponent(t)),e),[])}getTocForMd(e){return e.children.map(e=>({title:e.title,fragment:e.fragment}))}getTocForComponent(e){return{title:e.source.name,fragment:e.source.slag}}getTocForTabbed(e){return e.children.map(e=>({title:e.name,fragment:this.textService.createSlag(e.name)}))}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(r.j),i.LFG(s.V),i.LFG(a.p),i.LFG(a.f))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})()},96032:function(e,t,n){"use strict";n.d(t,{Q:function(){return r}});var a=n(42276),i=n(37716);let r=(()=>{class e{constructor(e){this.docs=e}mapThemedValues(e){return e.map(e=>(e.styles.map(e=>{e.themedValues=[];for(const t in this.docs.themes)this.docs.themes.hasOwnProperty(t)&&e.themedValues.push({theme:this.docs.themes[t].name,value:this.docs.themes[t].data[e.name].value});return e}),e))}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(a.f))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})()},99314:function(e,t,n){"use strict";n.d(t,{V:function(){return i}});var a=n(37716);let i=(()=>{class e{determineTabs(e){return{overview:this.hasOverview(e),api:this.hasAPI(e),theme:this.hasTheme(e),examples:this.hasExample(e)}}hasOverview(e){return e.source.some(e=>this.componentHasOverview(e))}hasExample(e){return e.source.some(e=>this.componentHasExamples(e))}hasTheme(e){return e.source.some(e=>this.componentHasTheme(e))}hasAPI(e){return e.source.some(e=>this.componentHasMethods(e)||this.componentHasProps(e))}componentHasTheme(e){return e.styles&&e.styles.length>0}componentHasProps(e){return e&&e.props&&e.props.length>0}componentHasMethods(e){return e&&e.methods&&e.methods.length>0&&e.methods.some(e=>e.shortDescription||e.description)}componentHasOverview(e){return e&&e.overview&&e.overview.length>0}componentHasExamples(e){return e.liveExamples&&e.liveExamples.length>0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})()},67690:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});var a=n(5478),i=n(37716),r=n(38191),s=n(38583);let o=(()=>{class e{constructor(e,t){this.highlight=e,this.location=t,this.SECTION_SPLIT="
",this.TITLE_MASK="^#{1,6}[^#]?(.+)\n",this.STRIP_HTML="<\\/?[^>]+(>|$)"}mdToSectionsHTML(e){return this.splitIntoSections(e).map(e=>{const t=this.mdToHTML(e),n=this.extractTitle(e)||this.extractFirstTwoWords(t);return{source:e,title:n,fragment:this.createSlag(n),html:t}})}mdToHTML(e){return a.setOptions({baseUrl:this.location.prepareExternalUrl(""),langPrefix:"hljs ",highlight:e=>this.highlight.highlight(e)}).parse(e.trim())}splitIntoSections(e){return e.split(new RegExp(this.SECTION_SPLIT,"g")).filter(e=>e.trim())}extractTitle(e){const t=e.trim().match(new RegExp(this.TITLE_MASK,"i"));return t?t[1]:""}extractFirstTwoWords(e){return e.replace(new RegExp(this.STRIP_HTML,"g"),"").trim().split(/\s+/g).slice(0,2).join(" ")}createSlag(e){return e.replace(/[^a-zA-Z0-9\s]+/g,"").replace(/\s/g,"-").toLowerCase()}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(r.G),i.LFG(s.Ye))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})()},10511:function(e,t,n){"use strict";n.d(t,{M:function(){return i}});var a=n(37716);let i=(()=>{class e{constructor(){this.state=[]}add(e){this.state.push(e)}remove(e){this.state=this.state.filter(t=>t!==e)}list(){return this.state}clear(){this.state=[]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})()},57947:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var a=n(37716);let i=(()=>{class e{getNgxVersion(){return n(60306).i8}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})()},77523:function(e,t,n){"use strict";n.d(t,{v:function(){return N}});var a=n(99763),i=n(38583),r=n(3679),s=n(30916),o=n(78942),l=n(13585),c=(n(76329),n(98933),n(16246),n(44095),n(37),n(63429),n(6349),n(57947)),d=n(82298),u=n(78345),_=n(37716);let h=(()=>{class e{constructor(){this.dialogState$=new d.t}changeDialogState(e){this.dialogState$.next({state:e})}onChangeDialogState(){return this.dialogState$.pipe((0,u.B)())}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=_.Yz7({token:e,factory:e.\u0275fac}),e})(),p=(()=>{class e{constructor(e){this.window=e,this.enabled=this.window.location.href.indexOf("akveo.github.io")>=0}trackEvent(e,t=""){this.enabled&&this.gtmPushToDataLayer({event:e,eventValue:t})}gtmPushToDataLayer(e){this.window.dataLayer.push(e)}}return e.\u0275fac=function(t){return new(t||e)(_.LFG(o.Q3p))},e.\u0275prov=_.Yz7({token:e,factory:e.\u0275fac}),e})();var g=n(38191),m=n(99941),f=n(74491),E=n(91137),S=n(99314),b=n(67690),y=n(10511),v=n(1972),T=n(96032),C=n(64489);const O=[c.J,h,p,g.G,m.Q,f.I,E.M,S.V,b.j,y.M,v.x,T.Q,C.O],R=[i.ez,r.u5,r.UX,s.mZ],A=[o.BW0,o.MfT,o.j5J,o.zyh,o.P1,o.EoG];let N=(()=>{class e{static forRoot(){return{ngModule:e,providers:[...o.SDF.forRoot({name:"ngx-landing"}).providers,...o.j5J.forRoot().providers,...o.P1.forRoot().providers,...o.j7H.forRoot().providers,...O]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=_.oAB({type:e}),e.\u0275inj=_.cJS({imports:[[a.Bz,l.Z,...R,...A],a.Bz,i.ez,r.u5,r.UX,s.mZ,o.BW0,o.MfT,o.j5J,o.zyh,o.P1,o.EoG]}),e})()},42276:function(e,t,n){"use strict";n.d(t,{p:function(){return i},f:function(){return r}});var a=n(37716);const i=new a.OlP("Docs Structure"),r=new a.OlP("Docs Structure")},49235:function(e,t,n){"use strict";n.d(t,{v:function(){return o}});var a=n(37716),i=n(78942),r=n(97116);const s=function(){return{width:26,height:26,fill:"#222b45"}};let o=(()=>{class e{constructor(e){this.ref=e}ngAfterViewInit(){hbspt.forms.create({portalId:"2452262",formId:"93007d7b-5f11-4dd8-bcfd-f8b99d31f31e",target:"#hubspotForm",submitButtonClass:"hs-submit-btn btn",css:"",cssClass:"hs-custom-form",redirectUrl:"https://github.com/akveo/ngx-admin"})}closeDialog(){this.ref.close()}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(i.X4l))},e.\u0275cmp=a.Xpm({type:e,selectors:[["ngx-download-form"]],decls:9,vars:5,consts:[["nbButton","","status","basic","appearance","ghost",1,"close-icon",3,"click"],[3,"innerHTML"],["id","hubspotForm"]],template:function(e,t){1&e&&(a.TgZ(0,"nb-card"),a.TgZ(1,"nb-card-header"),a.TgZ(2,"span"),a._uU(3,"Download"),a.qZA(),a.TgZ(4,"button",0),a.NdJ("click",function(){return t.closeDialog()}),a._UZ(5,"i",1),a.ALo(6,"eva"),a.qZA(),a.qZA(),a.TgZ(7,"nb-card-body"),a._UZ(8,"div",2),a.qZA(),a.qZA()),2&e&&(a.xp6(5),a.Q6J("innerHTML",a.xi3(6,1,"close",a.DdM(4,s)),a.oJD))},directives:[i.Asz,i.ndF,i.DPz,i.yKW],pipes:[r.R],styles:[".nb-theme-ngx-landing [_nghost-%COMP%] nb-card[_ngcontent-%COMP%]{width:30rem}.nb-theme-ngx-landing [_nghost-%COMP%] nb-card-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.nb-theme-ngx-landing [_nghost-%COMP%] .close-icon[_ngcontent-%COMP%]{margin-left:auto;padding:0}.nb-theme-ngx-landing [_nghost-%COMP%] .hs-custom-form .hs-submit-btn{margin-top:2rem}.nb-theme-ngx-landing-material [_nghost-%COMP%] nb-card[_ngcontent-%COMP%]{width:30rem}.nb-theme-ngx-landing-material [_nghost-%COMP%] nb-card-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.nb-theme-ngx-landing-material [_nghost-%COMP%] .close-icon[_ngcontent-%COMP%]{margin-left:auto;padding:0}.nb-theme-ngx-landing-material [_nghost-%COMP%] .hs-custom-form .hs-submit-btn{margin-top:2rem}.nb-theme-docs-page [_nghost-%COMP%] nb-card[_ngcontent-%COMP%]{width:30rem}.nb-theme-docs-page [_nghost-%COMP%] nb-card-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.nb-theme-docs-page [_nghost-%COMP%] .close-icon[_ngcontent-%COMP%]{margin-left:auto;padding:0}.nb-theme-docs-page [_nghost-%COMP%] .hs-custom-form .hs-submit-btn{margin-top:2rem}"]}),e})()},27239:function(e,t,n){"use strict";n.d(t,{M:function(){return h}});var a=n(39490),i=n(79765),r=n(66682),s=n(88002),o=n(46782),l=n(15257),c=n(78942),d=n(37716),u=n(99763);function _(e,t){if(1&e){const e=d.EpF();d.TgZ(0,"p",4),d.NdJ("mouseover",function(){return d.CHM(e),d.oxw().hidePopover()}),d._uU(1,"New theme is available!"),d.qZA()}}let h=(()=>{class e{constructor(e,t){this.breakpointService=e,this.themeService=t,this.destroy$=new i.xQ,this.hidePopover$=new i.xQ,this.showPopover=!1}set withPopover(e){this.showPopover=(0,a.Ig)(e)}ngAfterViewInit(){this.showPopover&&(this.themeService.onMediaQueryChange().pipe((0,s.U)(([,e])=>this.shouldShowPopover(e)),(0,o.R)((0,r.T)(this.destroy$,this.hidePopover$))).subscribe(e=>{e?this.popover.show():this.popover.hide()}),this.hidePopover$.pipe((0,l.q)(1),(0,o.R)(this.destroy$)).subscribe(()=>this.popover.hide()))}ngOnDestroy(){this.destroy$.next()}hidePopover(){this.hidePopover$.next()}shouldShowPopover(e){return e.width>=this.breakpointService.getByName("is").width}}return e.\u0275fac=function(t){return new(t||e)(d.Y36(c._4W),d.Y36(c.WMF))},e.\u0275cmp=d.Xpm({type:e,selectors:[["ngx-material-theme-link"]],viewQuery:function(e,t){if(1&e&&d.Gf(c.ydg,5),2&e){let e;d.iGM(e=d.CRH())&&(t.popover=e.first)}},inputs:{withPopover:"withPopover"},decls:6,vars:1,consts:[[2,"position","relative"],["text","New!","status","danger","position","top right"],["routerLink","/material","nbPopoverPlacement","bottom","nbPopoverAdjustment","noop","nbPopoverTrigger","noop","nbPopoverOffset","0",1,"material-theme-link","eva-parent-hover",3,"nbPopover"],["popoverContent",""],[1,"material-theme-popover",3,"mouseover"]],template:function(e,t){if(1&e&&(d.TgZ(0,"div",0),d._UZ(1,"nb-badge",1),d.TgZ(2,"a",2),d._uU(3," Material Theme "),d.qZA(),d.qZA(),d.YNc(4,_,2,0,"ng-template",null,3,d.W1O)),2&e){const e=d.MAs(5);d.xp6(2),d.Q6J("nbPopover",e)}},directives:[c.nhe,u.yS,c.ydg],styles:[".nb-theme-ngx-landing [_nghost-%COMP%] -shadowcsshost{display:flex;align-items:center;padding-right:32px}.nb-theme-ngx-landing [_nghost-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;font-weight:600;font-size:13px;line-height:1.5rem;padding:.675rem 1.375rem;color:#405571;display:block}.nb-theme-ngx-landing [_nghost-%COMP%] a.active[_ngcontent-%COMP%], .nb-theme-ngx-landing [_nghost-%COMP%] a[_ngcontent-%COMP%]:focus, .nb-theme-ngx-landing [_nghost-%COMP%] a[_ngcontent-%COMP%]:hover{color:#18cb90;outline:none!important}.nb-theme-ngx-landing-material [_nghost-%COMP%] -shadowcsshost{display:flex;align-items:center;padding-right:32px}.nb-theme-ngx-landing-material [_nghost-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;font-weight:600;font-size:13px;line-height:1.5rem;padding:.675rem 1.375rem;color:#405571;display:block}.nb-theme-ngx-landing-material [_nghost-%COMP%] a.active[_ngcontent-%COMP%], .nb-theme-ngx-landing-material [_nghost-%COMP%] a[_ngcontent-%COMP%]:focus, .nb-theme-ngx-landing-material [_nghost-%COMP%] a[_ngcontent-%COMP%]:hover{color:#6200ee;outline:none!important}.nb-theme-docs-page [_nghost-%COMP%] -shadowcsshost{display:flex;align-items:center;padding-right:32px}.nb-theme-docs-page [_nghost-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;font-weight:600;font-size:13px;line-height:1.5rem;padding:.675rem 1.375rem;color:#405571;display:block}.nb-theme-docs-page [_nghost-%COMP%] a.active[_ngcontent-%COMP%], .nb-theme-docs-page [_nghost-%COMP%] a[_ngcontent-%COMP%]:focus, .nb-theme-docs-page [_nghost-%COMP%] a[_ngcontent-%COMP%]:hover{color:#00db92;outline:none!important}.material-theme-popover[_ngcontent-%COMP%]{margin:0;padding:1rem 2rem;color:#ff4d6b;font-weight:600;font-size:1.1rem}"]}),e})()},37951:function(e,t,n){"use strict";n.d(t,{F:function(){return o}});var a=n(37716),i=n(78942),r=n(97116);const s=function(){return{width:26,height:26,fill:"#222b45"}};let o=(()=>{class e{constructor(e){this.ref=e}ngAfterViewInit(){hbspt.forms.create({portalId:"2452262",formId:"b066428e-c41a-4dce-bbc2-5690cf084a8f",target:"#hubspotForm",submitButtonClass:"hs-submit-btn btn",css:"",cssClass:"hs-custom-form"})}closeDialog(){this.ref.close()}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(i.X4l))},e.\u0275cmp=a.Xpm({type:e,selectors:[["ngx-premium-form"]],decls:9,vars:5,consts:[["nbButton","","status","basic","appearance","ghost",1,"close-icon",3,"click"],[3,"innerHTML"],["id","hubspotForm"]],template:function(e,t){1&e&&(a.TgZ(0,"nb-card"),a.TgZ(1,"nb-card-header"),a.TgZ(2,"span"),a._uU(3,"Premium"),a.qZA(),a.TgZ(4,"button",0),a.NdJ("click",function(){return t.closeDialog()}),a._UZ(5,"i",1),a.ALo(6,"eva"),a.qZA(),a.qZA(),a.TgZ(7,"nb-card-body"),a._UZ(8,"div",2),a.qZA(),a.qZA()),2&e&&(a.xp6(5),a.Q6J("innerHTML",a.xi3(6,1,"close",a.DdM(4,s)),a.oJD))},directives:[i.Asz,i.ndF,i.DPz,i.yKW],pipes:[r.R],styles:[".nb-theme-ngx-landing [_nghost-%COMP%] nb-card[_ngcontent-%COMP%]{width:30rem}.nb-theme-ngx-landing [_nghost-%COMP%] nb-card-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.nb-theme-ngx-landing [_nghost-%COMP%] .close-icon[_ngcontent-%COMP%]{margin-left:auto;padding:0}.nb-theme-ngx-landing [_nghost-%COMP%] .hs-custom-form .hs-submit-btn{margin-top:1rem}.nb-theme-ngx-landing-material [_nghost-%COMP%] nb-card[_ngcontent-%COMP%]{width:30rem}.nb-theme-ngx-landing-material [_nghost-%COMP%] nb-card-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.nb-theme-ngx-landing-material [_nghost-%COMP%] .close-icon[_ngcontent-%COMP%]{margin-left:auto;padding:0}.nb-theme-ngx-landing-material [_nghost-%COMP%] .hs-custom-form .hs-submit-btn{margin-top:1rem}.nb-theme-docs-page [_nghost-%COMP%] nb-card[_ngcontent-%COMP%]{width:30rem}.nb-theme-docs-page [_nghost-%COMP%] nb-card-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.nb-theme-docs-page [_nghost-%COMP%] .close-icon[_ngcontent-%COMP%]{margin-left:auto;padding:0}.nb-theme-docs-page [_nghost-%COMP%] .hs-custom-form .hs-submit-btn{margin-top:1rem}"]}),e})()},13585:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(78942),i=(n(27239),n(33495),n(97116),n(99763)),r=(n(49235),n(37951),n(37716));let s=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({imports:[[i.Bz,a.spT,a.jSo,a.zyh,a.j7H.forChild(),a.T2N],a.spT]}),e})()},33495:function(e,t,n){"use strict";n.d(t,{e:function(){return i}});var a=n(37716);let i=(()=>{class e{transform(e){return e&&e.length?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=a.Yjl({name:"ngxCapitalize",type:e,pure:!0}),e})()},97116:function(e,t,n){"use strict";n.d(t,{R:function(){return s}});var a=n(16960),i=n(37716),r=n(39075);let s=(()=>{class e{constructor(e){this.sanitizer=e,this.defaultOptions={height:24,width:24,fill:"inherit",animationHover:!0,animationInfinity:!1}}transform(e,t){const n=Object.assign(Object.assign({},this.defaultOptions),t),{width:i,height:r,fill:s,animationType:o,animationHover:l,animationInfinity:c}=n;return this.sanitizer.bypassSecurityTrustHtml(a.icons[e].toSvg({width:i,height:r,fill:s,animation:o?{type:o,hover:l,infinite:c}:null}))}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(r.H7,16))},e.\u0275pipe=i.Yjl({name:"eva",type:e,pure:!0}),e})()},67973:function(e,t,n){"use strict";var a=n(39075),i=n(37716),r=n(17238);function s(){return"undefined"!=typeof window&&void 0!==window.document}function o(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function l(e){switch(e.length){case 0:return new r.ZN;case 1:return e[0];default:return new r.ZE(e)}}function c(e,t,n,a,i={},s={}){const o=[],l=[];let c=-1,d=null;if(a.forEach(e=>{const n=e.offset,a=n==c,u=a&&d||{};Object.keys(e).forEach(n=>{let a=n,l=e[n];if("offset"!==n)switch(a=t.normalizePropertyName(a,o),l){case r.k1:l=i[n];break;case r.l3:l=s[n];break;default:l=t.normalizeStyleValue(n,a,l,o)}u[a]=l}),a||l.push(u),d=u,c=n}),o.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${o.join(e)}`)}return l}function d(e,t,n,a){switch(t){case"start":e.onStart(()=>a(n&&u(n,"start",e)));break;case"done":e.onDone(()=>a(n&&u(n,"done",e)));break;case"destroy":e.onDestroy(()=>a(n&&u(n,"destroy",e)))}}function u(e,t,n){const a=n.totalTime,i=_(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==a?e.totalTime:a,!!n.disabled),r=e._data;return null!=r&&(i._data=r),i}function _(e,t,n,a,i="",r=0,s){return{element:e,triggerName:t,fromState:n,toState:a,phaseName:i,totalTime:r,disabled:!!s}}function h(e,t,n){let a;return e instanceof Map?(a=e.get(t),a||e.set(t,a=n)):(a=e[t],a||(a=e[t]=n)),a}function p(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let g=(e,t)=>!1,m=(e,t)=>!1,f=(e,t,n)=>[];const E=o();(E||"undefined"!=typeof Element)&&(g=s()?(e,t)=>{for(;t&&t!==document.documentElement;){if(t===e)return!0;t=t.parentNode||t.host}return!1}:(e,t)=>e.contains(t),m=(()=>{if(E||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,n)=>t.apply(e,[n]):m}})(),f=(e,t,n)=>{let a=[];if(n){const n=e.querySelectorAll(t);for(let e=0;e{const a=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[a]=e[n]}),t}let R=(()=>{class e{validateStyleProperty(e){return y(e)}matchesElement(e,t){return v(e,t)}containsElement(e,t){return T(e,t)}query(e,t,n){return C(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,a,i,s=[],o){return new r.ZN(n,a)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();class A{}function N(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:w(parseFloat(t[1]),t[2])}function w(e,t){switch(t){case"s":return 1e3*e;default:return e}}function I(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){let a,i=0,r="";if("string"==typeof e){const n=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};a=w(parseFloat(n[1]),n[2]);const s=n[3];null!=s&&(i=w(parseFloat(s),n[4]));const o=n[5];o&&(r=o)}else a=e;if(!n){let n=!1,r=t.length;a<0&&(t.push("Duration values below 0 are not allowed for this animation step."),n=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&t.splice(r,0,`The provided timing value "${e}" is invalid.`)}return{duration:a,delay:i,easing:r}}(e,t,n)}function M(e,t={}){return Object.keys(e).forEach(n=>{t[n]=e[n]}),t}function x(e,t,n={}){if(t)for(let a in e)n[a]=e[a];else M(e,n);return n}function D(e,t,n){return n?t+":"+n+";":""}function L(e){let t="";for(let n=0;n{const i=H(a);n&&!n.hasOwnProperty(a)&&(n[a]=e.style[i]),e.style[i]=t[a]}),o()&&L(e))}function k(e,t){e.style&&(Object.keys(t).forEach(t=>{const n=H(t);e.style[n]=""}),o()&&L(e))}function F(e){return Array.isArray(e)?1==e.length?e[0]:(0,r.vP)(e):e}A.NOOP=new R;const U=new RegExp("{{\\s*(.+?)\\s*}}","g");function B(e){let t=[];if("string"==typeof e){let n;for(;n=U.exec(e);)t.push(n[1]);U.lastIndex=0}return t}function z(e,t,n){const a=e.toString(),i=a.replace(U,(e,a)=>{let i=t[a];return t.hasOwnProperty(a)||(n.push(`Please provide a value for the animation param ${a}`),i=""),i.toString()});return i==a?e:i}function G(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const V=/-+([a-z0-9])/g;function H(e){return e.replace(V,(...e)=>e[1].toUpperCase())}function Y(e,t){return 0===e||0===t}function q(e,t,n){const a=Object.keys(n);if(a.length&&t.length){let r=t[0],s=[];if(a.forEach(e=>{r.hasOwnProperty(e)||s.push(e),r[e]=n[e]}),s.length)for(var i=1;ifunction(e,t,n){if(":"==e[0]){const a=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(e,n);if("function"==typeof a)return void t.push(a);e=a}const a=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==a||a.length<4)return n.push(`The provided transition expression "${e}" is not supported`),t;const i=a[1],r=a[2],s=a[3];t.push(Z(i,s)),"<"!=r[0]||"*"==i&&"*"==s||t.push(Z(s,i))}(e,n,t)):n.push(e),n}const Q=new Set(["true","1"]),K=new Set(["false","0"]);function Z(e,t){const n=Q.has(e)||K.has(e),a=Q.has(t)||K.has(t);return(i,r)=>{let s="*"==e||e==i,o="*"==t||t==r;return!s&&n&&"boolean"==typeof i&&(s=i?Q.has(e):K.has(e)),!o&&a&&"boolean"==typeof r&&(o=r?Q.has(t):K.has(t)),s&&o}}const X=new RegExp("s*:selfs*,?","g");function J(e,t,n){return new ee(e).build(t,n)}class ee{constructor(e){this._driver=e}build(e,t){const n=new te(t);return this._resetContextStyleTimingState(n),j(this,F(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,a=t.depCount=0;const i=[],r=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),0==e.type){const n=e,a=n.name;a.toString().split(/\s*,\s*/).forEach(e=>{n.name=e,i.push(this.visitState(n,t))}),n.name=a}else if(1==e.type){const i=this.visitTransition(e,t);n+=i.queryCount,a+=i.depCount,r.push(i)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:i,transitions:r,queryCount:n,depCount:a,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),a=e.options&&e.options.params||null;if(n.containsDynamicStyles){const i=new Set,r=a||{};if(n.styles.forEach(e=>{if(ne(e)){const t=e;Object.keys(t).forEach(e=>{B(t[e]).forEach(e=>{r.hasOwnProperty(e)||i.add(e)})})}}),i.size){const n=G(i.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:e.name,style:n,options:a?{params:a}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=j(this,F(e.animation),t);return{type:1,matchers:W(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:ae(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>j(this,e,t)),options:ae(e.options)}}visitGroup(e,t){const n=t.currentTime;let a=0;const i=e.steps.map(e=>{t.currentTime=n;const i=j(this,e,t);return a=Math.max(a,t.currentTime),i});return t.currentTime=a,{type:3,steps:i,options:ae(e.options)}}visitAnimate(e,t){const n=function(e,t){let n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return ie(I(e,t).duration,0,"");const a=e;if(a.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=ie(0,0,"");return e.dynamic=!0,e.strValue=a,e}return n=n||I(a,t),ie(n.duration,n.delay,n.easing)}(e.timings,t.errors);let a;t.currentAnimateTimings=n;let i=e.styles?e.styles:(0,r.oB)({});if(5==i.type)a=this.visitKeyframes(i,t);else{let i=e.styles,s=!1;if(!i){s=!0;const e={};n.easing&&(e.easing=n.easing),i=(0,r.oB)(e)}t.currentTime+=n.duration+n.delay;const o=this.visitStyle(i,t);o.isEmptyStep=s,a=o}return t.currentAnimateTimings=null,{type:4,timings:n,style:a,options:null}}visitStyle(e,t){const n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){const n=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?e==r.l3?n.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):n.push(e)}):n.push(e.styles);let a=!1,i=null;return n.forEach(e=>{if(ne(e)){const t=e,n=t.easing;if(n&&(i=n,delete t.easing),!a)for(let e in t)if(t[e].toString().indexOf("{{")>=0){a=!0;break}}}),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(e,t){const n=t.currentAnimateTimings;let a=t.currentTime,i=t.currentTime;n&&i>0&&(i-=n.duration+n.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void t.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const r=t.collectedStyles[t.currentQuerySelector],s=r[n];let o=!0;s&&(i!=a&&i>=s.startTime&&a<=s.endTime&&(t.errors.push(`The CSS property "${n}" that exists between the times of "${s.startTime}ms" and "${s.endTime}ms" is also being animated in a parallel animation between the times of "${i}ms" and "${a}ms"`),o=!1),i=s.startTime),o&&(r[n]={startTime:i,endTime:a}),t.options&&function(e,t,n){const a=t.params||{},i=B(e);i.length&&i.forEach(e=>{a.hasOwnProperty(e)||n.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[n],t.options,t.errors)})})}visitKeyframes(e,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),n;let a=0;const i=[];let r=!1,s=!1,o=0;const l=e.steps.map(e=>{const n=this._makeStyleAst(e,t);let l=null!=n.offset?n.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(ne(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}});else if(ne(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}return t}(n.styles),c=0;return null!=l&&(a++,c=n.offset=l),s=s||c<0||c>1,r=r||c0&&a{const r=d>0?a==u?1:d*a:i[a],s=r*p;t.currentTime=_+h.delay+s,h.duration=s,this._validateStyleAst(e,t),e.offset=r,n.styles.push(e)}),n}visitReference(e,t){return{type:8,animation:j(this,F(e.animation),t),options:ae(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:ae(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ae(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,a=e.options||{};t.queryCount++,t.currentQuery=e;const[i,r]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(X,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,".ng-animating"),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+i:i,h(t.collectedStyles,t.currentQuerySelector,{});const s=j(this,F(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:i,limit:a.limit||0,optional:!!a.optional,includeSelf:r,animation:s,originalSelector:e.selector,options:ae(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:I(e.timings,t.errors,!0);return{type:12,animation:j(this,F(e.animation),t),timings:n,options:null}}}class te{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function ne(e){return!Array.isArray(e)&&"object"==typeof e}function ae(e){var t;return e?(e=M(e)).params&&(e.params=(t=e.params)?M(t):null):e={},e}function ie(e,t,n){return{duration:e,delay:t,easing:n}}function re(e,t,n,a,i,r,s=null,o=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:a,duration:i,delay:r,totalTime:i+r,easing:s,subTimeline:o}}class se{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const oe=new RegExp(":enter","g"),le=new RegExp(":leave","g");function ce(e,t,n,a,i,r={},s={},o,l,c=[]){return(new de).buildKeyframes(e,t,n,a,i,r,s,o,l,c)}class de{buildKeyframes(e,t,n,a,i,r,s,o,l,c=[]){l=l||new se;const d=new _e(e,t,l,a,i,c,[]);d.options=o,d.currentTimeline.setStyles([r],null,d.errors,o),j(this,n,d);const u=d.timelines.filter(e=>e.containsAnimation());if(u.length&&Object.keys(s).length){const e=u[u.length-1];e.allowOnlyTimelineStyles()||e.setStyles([s],null,d.errors,o)}return u.length?u.map(e=>e.buildKeyframes()):[re(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const n=t.subInstructions.consume(t.element);if(n){const a=t.createSubContext(e.options),i=t.currentTimeline.currentTime,r=this._visitSubInstructions(n,a,a.options);i!=r&&t.transformIntoNewTimeline(r)}t.previousNode=e}visitAnimateRef(e,t){const n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,n){let a=t.currentTimeline.currentTime;const i=null!=n.duration?N(n.duration):null,r=null!=n.delay?N(n.delay):null;return 0!==i&&e.forEach(e=>{const n=t.appendInstructionToTimeline(e,i,r);a=Math.max(a,n.duration+n.delay)}),a}visitReference(e,t){t.updateOptions(e.options,!0),j(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let a=t;const i=e.options;if(i&&(i.params||i.delay)&&(a=t.createSubContext(i),a.transformIntoNewTimeline(),null!=i.delay)){6==a.previousNode.type&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=ue);const e=N(i.delay);a.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>j(this,e,a)),a.currentTimeline.applyStylesToKeyframe(),a.subContextCount>n&&a.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const n=[];let a=t.currentTimeline.currentTime;const i=e.options&&e.options.delay?N(e.options.delay):0;e.steps.forEach(r=>{const s=t.createSubContext(e.options);i&&s.delayNextStep(i),j(this,r,s),a=Math.max(a,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(a),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const n=e.strValue;return I(t.params?z(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const n=t.currentAnimateTimings=this._visitTiming(e.timings,t),a=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),a.snapshotCurrentStyles());const i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),a.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const n=t.currentTimeline,a=t.currentAnimateTimings;!a&&n.getCurrentStyleProperties().length&&n.forwardFrame();const i=a&&a.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const n=t.currentAnimateTimings,a=t.currentTimeline.duration,i=n.duration,r=t.createSubContext().currentTimeline;r.easing=n.easing,e.styles.forEach(e=>{r.forwardTime((e.offset||0)*i),r.setStyles(e.styles,e.easing,t.errors,t.options),r.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(r),t.transformIntoNewTimeline(a+i),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,a=e.options||{},i=a.delay?N(a.delay):0;i&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ue);let r=n;const s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!a.optional,t.errors);t.currentQueryTotal=s.length;let o=null;s.forEach((n,a)=>{t.currentQueryIndex=a;const s=t.createSubContext(e.options,n);i&&s.delayNextStep(i),n===t.element&&(o=s.currentTimeline),j(this,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(r),o&&(t.currentTimeline.mergeTimelineCollectedStyles(o),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,a=t.currentTimeline,i=e.timings,r=Math.abs(i.duration),s=r*(t.currentQueryTotal-1);let o=r*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":o=s-o;break;case"full":o=n.currentStaggerTime}const l=t.currentTimeline;o&&l.delayNextStep(o);const c=l.currentTime;j(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=a.currentTime-c+(a.startTime-n.currentTimeline.startTime)}}const ue={};class _e{constructor(e,t,n,a,i,r,s,o){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=a,this._leaveClassName=i,this.errors=r,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ue,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=o||new he(this._driver,t,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const n=e;let a=this.options;null!=n.duration&&(a.duration=N(n.duration)),null!=n.delay&&(a.delay=N(n.delay));const i=n.params;if(i){let e=a.params;e||(e=this.options.params={}),Object.keys(i).forEach(n=>{t&&e.hasOwnProperty(n)||(e[n]=z(i[n],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const n=e.params={};Object.keys(t).forEach(e=>{n[e]=t[e]})}}return e}createSubContext(e=null,t,n){const a=t||this.element,i=new _e(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(e){return this.previousNode=ue,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){const a={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new pe(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,a,e.stretchStartingKeyframe);return this.timelines.push(i),a}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,a,i,r){let s=[];if(a&&s.push(this.element),e.length>0){e=(e=e.replace(oe,"."+this._enterClassName)).replace(le,"."+this._leaveClassName);let t=this._driver.query(this.element,e,1!=n);0!==n&&(t=n<0?t.slice(t.length+n,t.length):t.slice(0,n)),s.push(...t)}return i||0!=s.length||r.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),s}}class he{constructor(e,t,n,a){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=a,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new he(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||r.l3,this._currentKeyframe[e]=r.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,a){t&&(this._previousKeyframe.easing=t);const i=a&&a.params||{},s=function(e,t){const n={};let a;return e.forEach(e=>{"*"===e?(a=a||Object.keys(t),a.forEach(e=>{n[e]=r.l3})):x(e,!1,n)}),n}(e,this._globalTimelineStyles);Object.keys(s).forEach(e=>{const t=z(s[e],i,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:r.l3),this._updateStyle(e,t)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{this._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const n=this._styleSummary[t],a=e._styleSummary[t];(!n||a.time>n.time)&&this._updateStyle(t,a.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let a=[];this._keyframes.forEach((i,s)=>{const o=x(i,!0);Object.keys(o).forEach(n=>{const a=o[n];a==r.k1?e.add(n):a==r.l3&&t.add(n)}),n||(o.offset=s/this.duration),a.push(o)});const i=e.size?G(e.values()):[],s=t.size?G(t.values()):[];if(n){const e=a[0],t=M(e);e.offset=0,t.offset=1,a=[e,t]}return re(this.element,a,i,s,this.duration,this.startTime,this.easing,!1)}}class pe extends he{constructor(e,t,n,a,i,r,s=!1){super(e,t,r.delay),this.element=t,this.keyframes=n,this.preStyleProps=a,this.postStyleProps=i,this._stretchStartingKeyframe=s,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:a}=this.timings;if(this._stretchStartingKeyframe&&t){const i=[],r=n+t,s=t/r,o=x(e[0],!1);o.offset=0,i.push(o);const l=x(e[0],!1);l.offset=ge(s),i.push(l);const c=e.length-1;for(let a=1;a<=c;a++){let s=x(e[a],!1);s.offset=ge((t+s.offset*n)/r),i.push(s)}n=r,t=0,a="",e=i}return re(this.element,e,this.preStyleProps,this.postStyleProps,n,t,a,!0)}}function ge(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class me{}class fe extends me{normalizePropertyName(e,t){return H(e)}normalizeStyleValue(e,t,n,a){let i="";const r=n.toString().trim();if(Ee[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&a.push(`Please provide a CSS unit value for ${e}:${n}`)}return r+i}}const Ee=(()=>function(e){const t={};return e.forEach(e=>t[e]=!0),t}("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".split(",")))();function Se(e,t,n,a,i,r,s,o,l,c,d,u,_){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:r,toState:a,toStyles:s,timelines:o,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:_}}const be={};class ye{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,a){return function(e,t,n,a,i){return e.some(e=>e(t,n,a,i))}(this.ast.matchers,e,t,n,a)}buildStyles(e,t,n){const a=this._stateStyles["*"],i=this._stateStyles[e],r=a?a.buildStyles(t,n):{};return i?i.buildStyles(t,n):r}build(e,t,n,a,i,r,s,o,l,c){const d=[],u=this.ast.options&&this.ast.options.params||be,_=this.buildStyles(n,s&&s.params||be,d),p=o&&o.params||be,g=this.buildStyles(a,p,d),m=new Set,f=new Map,E=new Map,S="void"===a,b={params:Object.assign(Object.assign({},u),p)},y=c?[]:ce(e,t,this.ast.animation,i,r,_,g,b,l,d);let v=0;if(y.forEach(e=>{v=Math.max(e.duration+e.delay,v)}),d.length)return Se(t,this._triggerName,n,a,S,_,g,[],[],f,E,v,d);y.forEach(e=>{const n=e.element,a=h(f,n,{});e.preStyleProps.forEach(e=>a[e]=!0);const i=h(E,n,{});e.postStyleProps.forEach(e=>i[e]=!0),n!==t&&m.add(n)});const T=G(m.values());return Se(t,this._triggerName,n,a,S,_,g,y,T,f,E,v)}}class ve{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const n={},a=M(this.defaultParams);return Object.keys(e).forEach(t=>{const n=e[t];null!=n&&(a[t]=n)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const i=e;Object.keys(i).forEach(e=>{let r=i[e];r.length>1&&(r=z(r,a,t)),n[e]=r})}}),n}}class Te{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new ve(e.style,e.options&&e.options.params||{})}),Ce(this.states,"true","1"),Ce(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new ye(e,t,this.states))}),this.fallbackTransition=new ye(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,a){return this.transitionFactories.find(i=>i.match(e,t,n,a))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}function Ce(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}const Oe=new se;class Re{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(e,t){const n=[],a=J(this._driver,t,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[e]=a}_buildPlayer(e,t,n){const a=e.element,i=c(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(a,i,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){const a=[],i=this._animations[e];let s;const o=new Map;if(i?(s=ce(this._driver,t,i,"ng-enter","ng-leave",{},{},n,Oe,a),s.forEach(e=>{const t=h(o,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(a.push("The requested animation doesn't exist or has already been destroyed"),s=[]),a.length)throw new Error(`Unable to create the animation due to the following errors: ${a.join("\n")}`);o.forEach((e,t)=>{Object.keys(e).forEach(n=>{e[n]=this._driver.computeStyle(t,n,r.l3)})});const c=l(s.map(e=>{const t=o.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=c,c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error(`Unable to find the timeline player referenced by ${e}`);return t}listen(e,t,n,a){const i=_(t,"","","");return d(this._getPlayer(e),n,i,a),()=>{}}command(e,t,n,a){if("register"==n)return void this.register(e,a[0]);if("create"==n)return void this.create(e,t,a[0]||{});const i=this._getPlayer(e);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(a[0]));break;case"destroy":this.destroy(e)}}}const Ae=[],Ne={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},we={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Ie{constructor(e,t=""){this.namespaceId=t;const n=e&&e.hasOwnProperty("value");if(this.value=null!=(a=n?e.value:e)?a:null,n){const t=M(e);delete t.value,this.options=t}else this.options={};var a;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(n=>{null==e[n]&&(e[n]=t[n])})}}}const Me=new Ie("void");class xe{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Be(t,this._hostClassName)}listen(e,t,n,a){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${t}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(i=n)&&"done"!=i)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${t}" is not supported!`);var i;const r=h(this._elementListeners,e,[]),s={name:t,phase:n,callback:a};r.push(s);const o=h(this._engine.statesByElement,e,{});return o.hasOwnProperty(t)||(Be(e,"ng-trigger"),Be(e,"ng-trigger-"+t),o[t]=Me),()=>{this._engine.afterFlush(()=>{const e=r.indexOf(s);e>=0&&r.splice(e,1),this._triggers[t]||delete o[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,n,a=!0){const i=this._getTrigger(t),r=new Le(this.id,t,e);let s=this._engine.statesByElement.get(e);s||(Be(e,"ng-trigger"),Be(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));let o=s[t];const l=new Ie(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&o&&l.absorbOptions(o.options),s[t]=l,o||(o=Me),"void"!==l.value&&o.value===l.value){if(!function(e,t){const n=Object.keys(e),a=Object.keys(t);if(n.length!=a.length)return!1;for(let i=0;i{k(e,n),P(e,a)})}return}const c=h(this._engine.playersByElement,e,[]);c.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let d=i.matchTransition(o.value,l.value,e,l.params),u=!1;if(!d){if(!a)return;d=i.fallbackTransition,u=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:o,toState:l,player:r,isFallbackTransition:u}),u||(Be(e,"ng-animate-queued"),r.onStart(()=>{ze(e,"ng-animate-queued")})),r.onDone(()=>{let t=this.players.indexOf(r);t>=0&&this.players.splice(t,1);const n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(r);e>=0&&n.splice(e,1)}}),this.players.push(r),c.push(r),r}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,n)=>{delete t[e]}),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const n=this._engine.driver.query(e,".ng-trigger",!0);n.forEach(e=>{if(e.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(e);n.size?n.forEach(n=>n.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,n,a){const i=this._engine.statesByElement.get(e);if(i){const r=[];if(Object.keys(i).forEach(t=>{if(this._triggers[t]){const n=this.trigger(e,t,"void",a);n&&r.push(n)}}),r.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&l(r).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(t&&n){const a=new Set;t.forEach(t=>{const i=t.name;if(a.has(i))return;a.add(i);const r=this._triggers[i].fallbackTransition,s=n[i]||Me,o=new Ie("void"),l=new Le(this.id,i,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:r,fromState:s,toState:o,player:l,isFallbackTransition:!0})})}}removeNode(e,t){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let a=!1;if(n.totalAnimations){const t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)a=!0;else{let t=e;for(;t=t.parentNode;)if(n.statesByElement.get(t)){a=!0;break}}}if(this.prepareLeaveAnimationListeners(e),a)n.markElementAsRemoved(this.id,e,!1,t);else{const a=e.__ng_removed;a&&a!==Ne||(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){Be(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(n=>{const a=n.player;if(a.destroyed)return;const i=n.element,r=this._elementListeners.get(i);r&&r.forEach(t=>{if(t.name==n.triggerName){const a=_(i,n.triggerName,n.fromState.value,n.toState.value);a._data=e,d(n.player,t.phase,a,t.callback)}}),a.markedForDestroy?this._engine.afterFlush(()=>{a.destroy()}):t.push(n)}),this._queue=[],t.sort((e,t)=>{const n=e.transition.ast.depCount,a=t.transition.ast.depCount;return 0==n||0==a?n-a:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class De{constructor(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n,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=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const n=new xe(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){const n=this._namespaceList.length-1;if(n>=0){let a=!1;for(let i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,t)){this._namespaceList.splice(i+1,0,e),a=!0;break}a||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let a=this._namespaceLookup[e];a&&a.register(t,n)&&this.totalAnimations++}destroy(e,t){if(!e)return;const n=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(n);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>n.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,n=this.statesByElement.get(e);if(n){const e=Object.keys(n);for(let a=0;a=0&&this.collectedLeaveElements.splice(e,1)}if(e){const a=this._fetchNamespace(e);a&&a.insertNode(t,n)}a&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Be(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ze(e,"ng-animate-disabled"))}removeNode(e,t,n,a){if(Pe(t)){const i=e?this._fetchNamespace(e):null;if(i?i.removeNode(t,a):this.markElementAsRemoved(e,t,!1,a),n){const n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,a)}}else this._onRemovalComplete(t,a)}markElementAsRemoved(e,t,n,a){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:a,hasAnimation:n,removedBeforeQueried:!1}}listen(e,t,n,a,i){return Pe(t)?this._fetchNamespace(e).listen(t,n,a,i):()=>{}}_buildInstruction(e,t,n,a,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,a,e.fromState.options,e.toState.options,t,i)}destroyInnerAnimations(e){let t=this.driver.query(e,".ng-trigger",!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,".ng-animating",!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return l(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=Ne,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;ne()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?l(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${e.join("\n")}`)}_flushAnimations(e,t){const n=new se,a=[],i=new Map,s=[],o=new Map,c=new Map,d=new Map,u=new Set;this.disabledNodes.forEach(e=>{u.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let n=0;n{const n="ng-enter"+f++;m.set(t,n),e.forEach(e=>Be(e,n))});const E=[],S=new Set,b=new Set;for(let r=0;rS.add(e)):b.add(e))}const y=new Map,v=Ue(p,Array.from(S));v.forEach((e,t)=>{const n="ng-leave"+f++;y.set(t,n),e.forEach(e=>Be(e,n))}),e.push(()=>{g.forEach((e,t)=>{const n=m.get(t);e.forEach(e=>ze(e,n))}),v.forEach((e,t)=>{const n=y.get(t);e.forEach(e=>ze(e,n))}),E.forEach(e=>{this.processLeaveNode(e)})});const T=[],C=[];for(let r=this._namespaceList.length-1;r>=0;r--)this._namespaceList[r].drainQueuedTransitions(t).forEach(e=>{const t=e.player,i=e.element;if(T.push(t),this.collectedEnterElements.length){const e=i.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const r=!_||!this.driver.containsElement(_,i),l=y.get(i),u=m.get(i),p=this._buildInstruction(e,n,u,l,r);if(p.errors&&p.errors.length)C.push(p);else{if(r)return t.onStart(()=>k(i,p.fromStyles)),t.onDestroy(()=>P(i,p.toStyles)),void a.push(t);if(e.isFallbackTransition)return t.onStart(()=>k(i,p.fromStyles)),t.onDestroy(()=>P(i,p.toStyles)),void a.push(t);p.timelines.forEach(e=>e.stretchStartingKeyframe=!0),n.append(i,p.timelines),s.push({instruction:p,player:t,element:i}),p.queriedElements.forEach(e=>h(o,e,[]).push(t)),p.preStyleProps.forEach((e,t)=>{const n=Object.keys(e);if(n.length){let e=c.get(t);e||c.set(t,e=new Set),n.forEach(t=>e.add(t))}}),p.postStyleProps.forEach((e,t)=>{const n=Object.keys(e);let a=d.get(t);a||d.set(t,a=new Set),n.forEach(e=>a.add(e))})}});if(C.length){const e=[];C.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),T.forEach(e=>e.destroy()),this.reportError(e)}const O=new Map,R=new Map;s.forEach(e=>{const t=e.element;n.has(t)&&(R.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,O))}),a.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{h(O,t,[]).push(e),e.destroy()})});const A=E.filter(e=>He(e,c,d)),N=new Map;Fe(N,this.driver,b,d,r.l3).forEach(e=>{He(e,c,d)&&A.push(e)});const w=new Map;g.forEach((e,t)=>{Fe(w,this.driver,new Set(e),c,r.k1)}),A.forEach(e=>{const t=N.get(e),n=w.get(e);N.set(e,Object.assign(Object.assign({},t),n))});const I=[],M=[],x={};s.forEach(e=>{const{element:t,player:r,instruction:s}=e;if(n.has(t)){if(u.has(t))return r.onDestroy(()=>P(t,s.toStyles)),r.disabled=!0,r.overrideTotalTime(s.totalTime),void a.push(r);let e=x;if(R.size>1){let n=t;const a=[];for(;n=n.parentNode;){const t=R.get(n);if(t){e=t;break}a.push(n)}a.forEach(t=>R.set(t,e))}const n=this._buildAnimation(r.namespaceId,s,O,i,w,N);if(r.setRealPlayer(n),e===x)I.push(r);else{const t=this.playersByElement.get(e);t&&t.length&&(r.parentPlayer=l(t)),a.push(r)}}else k(t,s.fromStyles),r.onDestroy(()=>P(t,s.toStyles)),M.push(r),u.has(t)&&a.push(r)}),M.forEach(e=>{const t=i.get(e.element);if(t&&t.length){const n=l(t);e.setRealPlayer(n)}}),a.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let r=0;r!e.destroyed);a.length?Ge(this,e,a):this.processLeaveNode(e)}return E.length=0,I.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),I}elementContainsData(e,t){let n=!1;const a=t.__ng_removed;return a&&a.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,a,i){let r=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(r=t)}else{const t=this.playersByElement.get(e);if(t){const e=!i||"void"==i;t.forEach(t=>{t.queued||(e||t.triggerName==a)&&r.push(t)})}}return(n||a)&&(r=r.filter(e=>!(n&&n!=e.namespaceId||a&&a!=e.triggerName))),r}_beforeAnimationBuild(e,t,n){const a=t.element,i=t.isRemovalTransition?void 0:e,r=t.isRemovalTransition?void 0:t.triggerName;for(const s of t.timelines){const e=s.element,o=e!==a,l=h(n,e,[]);this._getPreviousPlayers(e,o,i,r,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})}k(a,t.fromStyles)}_buildAnimation(e,t,n,a,i,s){const o=t.triggerName,d=t.element,u=[],_=new Set,p=new Set,g=t.timelines.map(t=>{const l=t.element;_.add(l);const h=l.__ng_removed;if(h&&h.removedBeforeQueried)return new r.ZN(t.duration,t.delay);const g=l!==d,m=function(e){const t=[];return Ve(e,t),t}((n.get(l)||Ae).map(e=>e.getRealPlayer())).filter(e=>!!e.element&&e.element===l),f=i.get(l),E=s.get(l),S=c(0,this._normalizer,0,t.keyframes,f,E),b=this._buildPlayer(t,S,m);if(t.subTimeline&&a&&p.add(l),g){const t=new Le(e,o,l);t.setRealPlayer(b),u.push(t)}return b});u.forEach(e=>{h(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,n){let a;if(e instanceof Map){if(a=e.get(t),a){if(a.length){const e=a.indexOf(n);a.splice(e,1)}0==a.length&&e.delete(t)}}else if(a=e[t],a){if(a.length){const e=a.indexOf(n);a.splice(e,1)}0==a.length&&delete e[t]}return a}(this.playersByQueriedElement,e.element,e))}),_.forEach(e=>Be(e,"ng-animating"));const m=l(g);return m.onDestroy(()=>{_.forEach(e=>ze(e,"ng-animating")),P(d,t.toStyles)}),p.forEach(e=>{h(a,e,[]).push(m)}),m}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new r.ZN(e.duration,e.delay)}}class Le{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new r.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(t=>{this._queuedCallbacks[t].forEach(n=>d(e,t,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){h(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function Pe(e){return e&&1===e.nodeType}function ke(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function Fe(e,t,n,a,i){const r=[];n.forEach(e=>r.push(ke(e)));const s=[];a.forEach((n,a)=>{const r={};n.forEach(e=>{const n=r[e]=t.computeStyle(a,e,i);n&&0!=n.length||(a.__ng_removed=we,s.push(a))}),e.set(a,r)});let o=0;return n.forEach(e=>ke(e,r[o++])),s}function Ue(e,t){const n=new Map;if(e.forEach(e=>n.set(e,[])),0==t.length)return n;const a=new Set(t),i=new Map;function r(e){if(!e)return 1;let t=i.get(e);if(t)return t;const s=e.parentNode;return t=n.has(s)?s:a.has(s)?1:r(s),i.set(e,t),t}return t.forEach(e=>{const t=r(e);1!==t&&n.get(t).push(e)}),n}function Be(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function ze(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function Ge(e,t,n){l(n).onDone(()=>e.processLeaveNode(t))}function Ve(e,t){for(let n=0;ni.add(e)):t.set(e,a),n.delete(e),!0}class Ye{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new De(e,t,n),this._timelineEngine=new Re(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,a,i){const r=e+"-"+a;let s=this._triggerCache[r];if(!s){const e=[],t=J(this._driver,i,e);if(e.length)throw new Error(`The animation trigger "${a}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);s=function(e,t){return new Te(e,t)}(a,t),this._triggerCache[r]=s}this._transitionEngine.registerTrigger(t,a,s)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,a){this._transitionEngine.insertNode(e,t,n,a)}onRemove(e,t,n,a){this._transitionEngine.removeNode(e,t,a||!1,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,a){if("@"==n.charAt(0)){const[e,i]=p(n);this._timelineEngine.command(e,t,i,a)}else this._transitionEngine.trigger(e,t,n,a)}listen(e,t,n,a,i){if("@"==n.charAt(0)){const[e,a]=p(n);return this._timelineEngine.listen(e,t,a,i)}return this._transitionEngine.listen(e,t,n,a,i)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function qe(e,t){let n=null,a=null;return Array.isArray(t)&&t.length?(n=$e(t[0]),t.length>1&&(a=$e(t[t.length-1]))):t&&(n=$e(t)),n||a?new je(e,n,a):null}class je{constructor(e,t,n){this._element=e,this._startStyles=t,this._endStyles=n,this._state=0;let a=je.initialStylesByElement.get(e);a||je.initialStylesByElement.set(e,a={}),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&P(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(P(this._element,this._initialStyles),this._endStyles&&(P(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(je.initialStylesByElement.delete(this._element),this._startStyles&&(k(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(k(this._element,this._endStyles),this._endStyles=null),P(this._element,this._initialStyles),this._state=3)}}function $e(e){let t=null;const n=Object.keys(e);for(let a=0;athis._handleCallback(e)}apply(){!function(e,t){const n=tt(e,"").trim();n.length&&(function(e,t){let n=0;for(let a=0;a=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Je(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const n=tt(e,"").split(","),a=Xe(n,t);a>=0&&(n.splice(a,1),et(e,"",n.join(",")))}(this._element,this._name))}}function Ke(e,t,n){et(e,"PlayState",n,Ze(e,t))}function Ze(e,t){const n=tt(e,"");return n.indexOf(",")>0?Xe(n.split(","),t):Xe([n],t)}function Xe(e,t){for(let n=0;n=0)return n;return-1}function Je(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function et(e,t,n,a){const i="animation"+t;if(null!=a){const t=e.style[i];if(t.length){const e=t.split(",");e[a]=n,n=e.join(",")}}e.style[i]=n}function tt(e,t){return e.style["animation"+t]||""}class nt{constructor(e,t,n,a,i,r,s,o){this.element=e,this.keyframes=t,this.animationName=n,this._duration=a,this._delay=i,this._finalStyles=s,this._specialStyles=o,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=r||"linear",this.totalTime=a+i,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Qe(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(e[n]=t?this._finalStyles[n]:$(this.element,n))})}this.currentSnapshot=e}}class at extends r.ZN{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=O(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class it{constructor(){this._count=0}validateStyleProperty(e){return y(e)}matchesElement(e,t){return v(e,t)}containsElement(e,t){return T(e,t)}query(e,t,n){return C(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,n){n=n.map(e=>O(e));let a=`@keyframes ${t} {\n`,i="";n.forEach(e=>{i=" ";const t=parseFloat(e.offset);a+=`${i}${100*t}% {\n`,i+=" ",Object.keys(e).forEach(t=>{const n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(a+=`${i}animation-timing-function: ${n};\n`));default:return void(a+=`${i}${t}: ${n};\n`)}}),a+=`${i}}\n`}),a+="}\n";const r=document.createElement("style");return r.textContent=a,r}animate(e,t,n,a,i,r=[],s){const o=r.filter(e=>e instanceof nt),l={};Y(n,a)&&o.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const c=function(e){let t={};return e&&(Array.isArray(e)?e:[e]).forEach(e=>{Object.keys(e).forEach(n=>{"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=q(e,t,l));if(0==n)return new at(e,c);const d="gen_css_kf_"+this._count++,u=this.buildKeyframeElement(e,d,t);(function(e){var t;const n=null===(t=e.getRootNode)||void 0===t?void 0:t.call(e);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(e).appendChild(u);const _=qe(e,t),h=new nt(e,t,d,n,a,i,c,_);return h.onDestroy(()=>{var e;(e=u).parentNode.removeChild(e)}),h}}class rt{constructor(e,t,n,a){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,n){return e.animate(t,n)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),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}_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(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:$(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class st{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ot().toString()),this._cssKeyframesDriver=new it}validateStyleProperty(e){return y(e)}matchesElement(e,t){return v(e,t)}containsElement(e,t){return T(e,t)}query(e,t,n){return C(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,n,a,i,r=[],s){if(!s&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,a,i,r);const o={duration:n,delay:a,fill:0==a?"both":"forwards"};i&&(o.easing=i);const l={},c=r.filter(e=>e instanceof rt);Y(n,a)&&c.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const d=qe(e,t=q(e,t=t.map(e=>x(e,!1)),l));return new rt(e,t,o,d)}}function ot(){return s()&&Element.prototype.animate||{}}var lt=n(38583);let ct=(()=>{class e extends r._j{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(e)?(0,r.vP)(e):e;return _t(this._renderer,null,t,"register",[n]),new dt(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(i.FYo),i.LFG(lt.K0))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();class dt extends r.LC{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new ut(this._id,e,t||{},this._renderer)}}class ut{constructor(e,t,n,a){this.id=e,this.element=t,this._renderer=a,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return _t(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}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(e){this._command("setPosition",e)}getPosition(){var e,t;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}function _t(e,t,n,a,i){return e.setProperty(t,`@@${n}:${a}`,i)}let ht=(()=>{class e{constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const n=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(n);return e||(e=new pt("",n,this.engine),this._rendererCache.set(n,e)),e}const a=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);const r=t=>{Array.isArray(t)?t.forEach(r):this.engine.registerTrigger(a,i,e,t.name,t)};return t.data.animation.forEach(r),new gt(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){e>=0&&et(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,n]=e;t(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}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 e.\u0275fac=function(t){return new(t||e)(i.LFG(i.FYo),i.LFG(Ye),i.LFG(i.R0b))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();class pt{constructor(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n,a=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,a)}removeChild(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,a){this.delegate.setAttribute(e,t,n,a)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,a){this.delegate.setStyle(e,t,n,a)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class gt extends pt{constructor(e,t,n,a){super(t,n,a),this.factory=e,this.namespaceId=t}setProperty(e,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n){if("@"==t.charAt(0)){const a=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let i=t.substr(1),r="";return"@"!=i.charAt(0)&&([i,r]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(i)),this.engine.listen(this.namespaceId,a,i,r,e=>{this.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}let mt=(()=>{class e extends Ye{constructor(e,t,n){super(e.body,t,n)}ngOnDestroy(){this.flush()}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(lt.K0),i.LFG(A),i.LFG(me))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();const ft=new i.OlP("AnimationModuleType"),Et=[{provide:r._j,useClass:ct},{provide:me,useFactory:function(){return new fe}},{provide:Ye,useClass:mt},{provide:i.FYo,useFactory:function(e,t,n){return new ht(e,t,n)},deps:[a.se,Ye,i.R0b]}],St=[{provide:A,useFactory:function(){return"function"==typeof ot()?new st:new it}},{provide:ft,useValue:"BrowserAnimations"},...Et],bt=[{provide:A,useClass:R},{provide:ft,useValue:"NoopAnimations"},...Et];let yt=(()=>{class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?bt:St}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({providers:St,imports:[a.b2]}),e})();var vt=n(91841),Tt=n(77523),Ct=n(27183),Ot=n(38775),Rt=n(66126),At=n(48878);const Nt=[Ct.l,Ot.Y,Rt.C,At.SU],wt=[...(()=>{class e{static forRoot(){return{ngModule:e,providers:[...Nt]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({providers:[...Nt],imports:[[lt.ez]]}),e})().forRoot().providers];let It=(()=>{class e{constructor(e){!function(e,t){if(e)throw new Error("CoreModule has already been loaded. Import Core modules in the AppModule only.")}(e)}static forRoot(){return{ngModule:e,providers:[...wt]}}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(e,12))},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[[lt.ez]]}),e})();var Mt=n(99763);let xt=(()=>{class e{constructor(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["ngx-landing-app"]],decls:1,vars:0,template:function(e,t){1&e&&i._UZ(0,"router-outlet")},directives:[Mt.lC],encapsulation:2}),e})();const Dt=[{path:"",loadChildren:()=>n.e(407).then(n.bind(n,32407)).then(e=>e.PagesModule)},{path:"**",redirectTo:""}],Lt={useHash:!1,anchorScrolling:"enabled",onSameUrlNavigation:"reload",scrollPositionRestoration:"enabled"};let Pt=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({imports:[[Mt.Bz.forRoot(Dt,Lt)],Mt.Bz]}),e})();var kt=n(13585),Ft=n(42276);const Ut=[{type:"section",name:"Getting Started",children:[{type:"page",name:"What is ngx-admin?",title:"Ngx-admin - documentation",description:"ngx-admin is a front-end admin dashboard template based on Angular 9+, Bootstrap 4+ and Nebular",keywords:"Ngx-admin features, Angular 9+ typescript, Bootstrap 4+ & SCSS, ngx-admin documentation",children:[{type:"block",block:"markdown",source:"index.md"}]},{type:"page",name:"Installation Guidelines",title:"Ngx-admin - Guideline to install.",description:"A guideline to install ngx-admin on your machine: backend integration, tools you need to be installed.",keywords:"Ngx-admin install tools, ngx-admin versions, ngx-admin install.",children:[{type:"block",block:"markdown",source:"install-starter-kit.md"}]},{type:"page",name:"Server deployment",title:"Ngx-admin - Server deployment",description:"How to set up your web-server to better serve the application on Angular.",keywords:"Ngx-admin server, ngx-admin server deployment",children:[{type:"block",block:"markdown",source:"server-deployment.md"}]}]},{type:"section",name:"Guides",children:[{type:"page",name:"Theme System",title:"Ngx-admin - Theme System",description:"Theme System in is a set of rules we put into how SCSS files and variables are organized. Theme Map | Component Variables | Built-in-Themes",keywords:"Nebular theme system, nebular components, nebular theme map, ngx-admin built-in-themes",children:[{type:"block",block:"markdown",source:"concept-theme-system.md"}]},{type:"page",name:"Change Theme",title:"Ngx-admin - Change theme",description:"How to change the current theme in ngx-admin. Switch from Cosmic to Default. Runtime Theme Switch.",keywords:"ngx-admin runtime theme switch, ngx-admin theme change",children:[{type:"block",block:"markdown",source:"theme-change.md"}]},{type:"page",name:"Backend integration",title:"Ngx-admin - Backend integration",description:"Approaches of integration of ngx-admin application with backend API. Integration with JSON REST server, angular-cli/webpack-dev-server setup.",keywords:"Ngx-admin backend integration, JSON REST server integration, angular-cli/webpack-dev-server setup, ngx-admin production setup",children:[{type:"block",block:"markdown",source:"backend-integration.md"}]}]}];var Bt=n(83592);const zt=n(66845);let Gt=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e,bootstrap:[xt]}),e.\u0275inj=i.cJS({providers:[a.Dx,Bt.D,{provide:Ft.p,useValue:Ut},{provide:Ft.f,useValue:zt}],imports:[[a.b2,yt,vt.JF,Pt,kt.Z,Tt.v.forRoot(),It.forRoot()]]}),e})();(0,i.G48)(),a.q6().bootstrapModule(Gt)},17238:function(e,t,n){"use strict";n.d(t,{l3:function(){return r},_j:function(){return a},LC:function(){return i},ZN:function(){return m},jt:function(){return o},oQ:function(){return h},F4:function(){return u},vP:function(){return l},SB:function(){return d},oB:function(){return c},eR:function(){return _},X$:function(){return s},_7:function(){return p},ZE:function(){return f},k1:function(){return E}});class a{}class i{}const r="*";function s(e,t){return{type:7,name:e,definitions:t,options:{}}}function o(e,t=null){return{type:4,styles:t,timings:e}}function l(e,t=null){return{type:2,steps:e,options:t}}function c(e){return{type:6,styles:e,offset:null}}function d(e,t,n){return{type:0,name:e,styles:t,options:n}}function u(e){return{type:5,steps:e}}function _(e,t,n=null){return{type:1,expr:e,animation:t,options:n}}function h(e,t=null){return{type:8,animation:e,options:t}}function p(e,t=null){return{type:10,animation:e,options:t}}function g(e){Promise.resolve(null).then(e)}class m{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){g(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class f{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,n=0,a=0;const i=this.players.length;0==i?g(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==i&&this._onFinish()}),e.onDestroy(()=>{++n==i&&this._onDestroy()}),e.onStart(()=>{++a==i&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}getPosition(){const e=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}const E="!"},39490:function(e,t,n){"use strict";n.d(t,{Eq:function(){return s},Ig:function(){return i},HM:function(){return o},fI:function(){return l},su:function(){return r}});var a=n(37716);function i(e){return null!=e&&"false"!=`${e}`}function r(e,t=0){return function(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):t}function s(e){return Array.isArray(e)?e:[e]}function o(e){return null==e?"":"string"==typeof e?e:`${e}px`}function l(e){return e instanceof a.SBq?e.nativeElement:e}},38583:function(e,t,n){"use strict";n.d(t,{mr:function(){return b},Ov:function(){return we},ez:function(){return xe},K0:function(){return l},uU:function(){return Ie},x:function(){return A},tM:function(){return w},Do:function(){return v},V_:function(){return u},Ye:function(){return T},S$:function(){return E},mk:function(){return ue},sg:function(){return he},O5:function(){return ge},PC:function(){return ve},RF:function(){return Se},n9:function(){return be},ED:function(){return ye},tP:function(){return Te},b0:function(){return y},lw:function(){return c},OU:function(){return Me},Tn:function(){return N},EM:function(){return ke},JF:function(){return Be},Mn:function(){return M},fb:function(){return D},UT:function(){return x},Sw:function(){return P},NF:function(){return Le},PM:function(){return Pe},w_:function(){return o},bD:function(){return De},q:function(){return r},Mx:function(){return de},HT:function(){return s}});var a=n(37716);let i=null;function r(){return i}function s(e){i||(i=e)}class o{}const l=new a.OlP("DocumentToken");let c=(()=>{class e{historyGo(e){throw new Error("Not implemented")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,a.Yz7)({factory:d,token:e,providedIn:"platform"}),e})();function d(){return(0,a.LFG)(_)}const u=new a.OlP("Location Initialized");let _=(()=>{class e extends c{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return r().getBaseHref(this._doc)}onPopState(e){const t=r().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){const t=r().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.removeEventListener("hashchange",e)}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(e){this.location.pathname=e}pushState(e,t,n){h()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){h()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(l))},e.\u0275prov=(0,a.Yz7)({factory:p,token:e,providedIn:"platform"}),e})();function h(){return!!window.history.pushState}function p(){return new _((0,a.LFG)(l))}function g(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function m(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function f(e){return e&&"?"!==e[0]?"?"+e:e}let E=(()=>{class e{historyGo(e){throw new Error("Not implemented")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,a.Yz7)({factory:S,token:e,providedIn:"root"}),e})();function S(e){const t=(0,a.LFG)(l).location;return new y((0,a.LFG)(c),t&&t.origin||"")}const b=new a.OlP("appBaseHref");let y=(()=>{class e extends E{constructor(e,t){if(super(),this._platformLocation=e,this._removeListenerFns=[],null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)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=t}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return g(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+f(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,a){const i=this.prepareExternalUrl(n+f(a));this._platformLocation.pushState(e,t,i)}replaceState(e,t,n,a){const i=this.prepareExternalUrl(n+f(a));this._platformLocation.replaceState(e,t,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(e=0){var t,n;null===(n=(t=this._platformLocation).historyGo)||void 0===n||n.call(t,e)}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(c),a.LFG(b,8))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})(),v=(()=>{class e extends E{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=t&&(this._baseHref=t)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=g(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,a){let i=this.prepareExternalUrl(n+f(a));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)}replaceState(e,t,n,a){let i=this.prepareExternalUrl(n+f(a));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(e=0){var t,n;null===(n=(t=this._platformLocation).historyGo)||void 0===n||n.call(t,e)}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(c),a.LFG(b,8))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})(),T=(()=>{class e{constructor(e,t){this._subject=new a.vpe,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=m(O(n)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+f(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,O(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+f(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+f(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(e=0){var t,n;null===(n=(t=this._platformStrategy).historyGo)||void 0===n||n.call(t,e)}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)}))}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(E),a.LFG(c))},e.normalizeQueryParams=f,e.joinWithSlash=g,e.stripTrailingSlash=m,e.\u0275prov=(0,a.Yz7)({factory:C,token:e,providedIn:"root"}),e})();function C(){return new T((0,a.LFG)(E),(0,a.LFG)(c))}function O(e){return e.replace(/\/index.html$/,"")}var R=(()=>((R=R||{})[R.Zero=0]="Zero",R[R.One=1]="One",R[R.Two=2]="Two",R[R.Few=3]="Few",R[R.Many=4]="Many",R[R.Other=5]="Other",R))(),A=(()=>((A=A||{})[A.Format=0]="Format",A[A.Standalone=1]="Standalone",A))(),N=(()=>((N=N||{})[N.Narrow=0]="Narrow",N[N.Abbreviated=1]="Abbreviated",N[N.Wide=2]="Wide",N[N.Short=3]="Short",N))(),w=(()=>((w=w||{})[w.Short=0]="Short",w[w.Medium=1]="Medium",w[w.Long=2]="Long",w[w.Full=3]="Full",w))(),I=(()=>((I=I||{})[I.Decimal=0]="Decimal",I[I.Group=1]="Group",I[I.List=2]="List",I[I.PercentSign=3]="PercentSign",I[I.PlusSign=4]="PlusSign",I[I.MinusSign=5]="MinusSign",I[I.Exponential=6]="Exponential",I[I.SuperscriptingExponent=7]="SuperscriptingExponent",I[I.PerMille=8]="PerMille",I[I[1/0]=9]="Infinity",I[I.NaN=10]="NaN",I[I.TimeSeparator=11]="TimeSeparator",I[I.CurrencyDecimal=12]="CurrencyDecimal",I[I.CurrencyGroup=13]="CurrencyGroup",I))();function M(e,t,n){const i=(0,a.cg1)(e),r=z([i[a.wAp.DaysFormat],i[a.wAp.DaysStandalone]],t);return z(r,n)}function x(e,t,n){const i=(0,a.cg1)(e),r=z([i[a.wAp.MonthsFormat],i[a.wAp.MonthsStandalone]],t);return z(r,n)}function D(e){return(0,a.cg1)(e)[a.wAp.FirstDayOfWeek]}function L(e,t){return z((0,a.cg1)(e)[a.wAp.DateFormat],t)}function P(e,t){return z((0,a.cg1)(e)[a.wAp.TimeFormat],t)}function k(e,t){return z((0,a.cg1)(e)[a.wAp.DateTimeFormat],t)}function F(e,t){const n=(0,a.cg1)(e),i=n[a.wAp.NumberSymbols][t];if(void 0===i){if(t===I.CurrencyDecimal)return n[a.wAp.NumberSymbols][I.Decimal];if(t===I.CurrencyGroup)return n[a.wAp.NumberSymbols][I.Group]}return i}const U=a.kL8;function B(e){if(!e[a.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[a.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function z(e,t){for(let n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function G(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}const V=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,H={},Y=/((?:[^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 q=(()=>((q=q||{})[q.Short=0]="Short",q[q.ShortGMT=1]="ShortGMT",q[q.Long=2]="Long",q[q.Extended=3]="Extended",q))(),j=(()=>((j=j||{})[j.FullYear=0]="FullYear",j[j.Month=1]="Month",j[j.Date=2]="Date",j[j.Hours=3]="Hours",j[j.Minutes=4]="Minutes",j[j.Seconds=5]="Seconds",j[j.FractionalSeconds=6]="FractionalSeconds",j[j.Day=7]="Day",j))(),$=(()=>(($=$||{})[$.DayPeriods=0]="DayPeriods",$[$.Days=1]="Days",$[$.Months=2]="Months",$[$.Eras=3]="Eras",$))();function W(e,t,n,a){let i=function(e){if(oe(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[t,n=1,a=1]=e.split("-").map(e=>+e);return Q(t,n-1,a)}const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(V))return function(e){const t=new Date(0);let n=0,a=0;const i=e[8]?t.setUTCFullYear:t.setFullYear,r=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),a=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const s=Number(e[4]||0)-n,o=Number(e[5]||0)-a,l=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return r.call(t,s,o,l,c),t}(n)}const t=new Date(e);if(!oe(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=K(n,t)||t;let r,s=[];for(;t;){if(r=Y.exec(t),!r){s.push(t);break}{s=s.concat(r.slice(1));const e=s.pop();if(!e)break;t=e}}let o=i.getTimezoneOffset();a&&(o=se(a,o),i=function(e,t,n){const a=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(se(t,a)-a))}(i,a));let l="";return s.forEach(e=>{const t=function(e){if(re[e])return re[e];let t;switch(e){case"G":case"GG":case"GGG":t=ee($.Eras,N.Abbreviated);break;case"GGGG":t=ee($.Eras,N.Wide);break;case"GGGGG":t=ee($.Eras,N.Narrow);break;case"y":t=J(j.FullYear,1,0,!1,!0);break;case"yy":t=J(j.FullYear,2,0,!0,!0);break;case"yyy":t=J(j.FullYear,3,0,!1,!0);break;case"yyyy":t=J(j.FullYear,4,0,!1,!0);break;case"Y":t=ie(1);break;case"YY":t=ie(2,!0);break;case"YYY":t=ie(3);break;case"YYYY":t=ie(4);break;case"M":case"L":t=J(j.Month,1,1);break;case"MM":case"LL":t=J(j.Month,2,1);break;case"MMM":t=ee($.Months,N.Abbreviated);break;case"MMMM":t=ee($.Months,N.Wide);break;case"MMMMM":t=ee($.Months,N.Narrow);break;case"LLL":t=ee($.Months,N.Abbreviated,A.Standalone);break;case"LLLL":t=ee($.Months,N.Wide,A.Standalone);break;case"LLLLL":t=ee($.Months,N.Narrow,A.Standalone);break;case"w":t=ae(1);break;case"ww":t=ae(2);break;case"W":t=ae(1,!0);break;case"d":t=J(j.Date,1);break;case"dd":t=J(j.Date,2);break;case"c":case"cc":t=J(j.Day,1);break;case"ccc":t=ee($.Days,N.Abbreviated,A.Standalone);break;case"cccc":t=ee($.Days,N.Wide,A.Standalone);break;case"ccccc":t=ee($.Days,N.Narrow,A.Standalone);break;case"cccccc":t=ee($.Days,N.Short,A.Standalone);break;case"E":case"EE":case"EEE":t=ee($.Days,N.Abbreviated);break;case"EEEE":t=ee($.Days,N.Wide);break;case"EEEEE":t=ee($.Days,N.Narrow);break;case"EEEEEE":t=ee($.Days,N.Short);break;case"a":case"aa":case"aaa":t=ee($.DayPeriods,N.Abbreviated);break;case"aaaa":t=ee($.DayPeriods,N.Wide);break;case"aaaaa":t=ee($.DayPeriods,N.Narrow);break;case"b":case"bb":case"bbb":t=ee($.DayPeriods,N.Abbreviated,A.Standalone,!0);break;case"bbbb":t=ee($.DayPeriods,N.Wide,A.Standalone,!0);break;case"bbbbb":t=ee($.DayPeriods,N.Narrow,A.Standalone,!0);break;case"B":case"BB":case"BBB":t=ee($.DayPeriods,N.Abbreviated,A.Format,!0);break;case"BBBB":t=ee($.DayPeriods,N.Wide,A.Format,!0);break;case"BBBBB":t=ee($.DayPeriods,N.Narrow,A.Format,!0);break;case"h":t=J(j.Hours,1,-12);break;case"hh":t=J(j.Hours,2,-12);break;case"H":t=J(j.Hours,1);break;case"HH":t=J(j.Hours,2);break;case"m":t=J(j.Minutes,1);break;case"mm":t=J(j.Minutes,2);break;case"s":t=J(j.Seconds,1);break;case"ss":t=J(j.Seconds,2);break;case"S":t=J(j.FractionalSeconds,1);break;case"SS":t=J(j.FractionalSeconds,2);break;case"SSS":t=J(j.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=te(q.Short);break;case"ZZZZZ":t=te(q.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=te(q.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=te(q.Long);break;default:return null}return re[e]=t,t}(e);l+=t?t(i,n,o):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function Q(e,t,n){const a=new Date(0);return a.setFullYear(e,t,n),a.setHours(0,0,0),a}function K(e,t){const n=function(e){return(0,a.cg1)(e)[a.wAp.LocaleId]}(e);if(H[n]=H[n]||{},H[n][t])return H[n][t];let i="";switch(t){case"shortDate":i=L(e,w.Short);break;case"mediumDate":i=L(e,w.Medium);break;case"longDate":i=L(e,w.Long);break;case"fullDate":i=L(e,w.Full);break;case"shortTime":i=P(e,w.Short);break;case"mediumTime":i=P(e,w.Medium);break;case"longTime":i=P(e,w.Long);break;case"fullTime":i=P(e,w.Full);break;case"short":const t=K(e,"shortTime"),n=K(e,"shortDate");i=Z(k(e,w.Short),[t,n]);break;case"medium":const a=K(e,"mediumTime"),r=K(e,"mediumDate");i=Z(k(e,w.Medium),[a,r]);break;case"long":const s=K(e,"longTime"),o=K(e,"longDate");i=Z(k(e,w.Long),[s,o]);break;case"full":const l=K(e,"fullTime"),c=K(e,"fullDate");i=Z(k(e,w.Full),[l,c])}return i&&(H[n][t]=i),i}function Z(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function X(e,t,n="-",a,i){let r="";(e<0||i&&e<=0)&&(i?e=1-e:(e=-e,r=n));let s=String(e);for(;s.length0||o>-n)&&(o+=n),e===j.Hours)0===o&&-12===n&&(o=12);else if(e===j.FractionalSeconds)return l=t,X(o,3).substr(0,l);var l;const c=F(s,I.MinusSign);return X(o,t,c,a,i)}}function ee(e,t,n=A.Format,i=!1){return function(r,s){return function(e,t,n,i,r,s){switch(n){case $.Months:return x(t,r,i)[e.getMonth()];case $.Days:return M(t,r,i)[e.getDay()];case $.DayPeriods:const o=e.getHours(),l=e.getMinutes();if(s){const e=function(e){const t=(0,a.cg1)(e);return B(t),(t[a.wAp.ExtraData][2]||[]).map(e=>"string"==typeof e?G(e):[G(e[0]),G(e[1])])}(t),n=function(e,t,n){const i=(0,a.cg1)(e);B(i);const r=z([i[a.wAp.ExtraData][0],i[a.wAp.ExtraData][1]],t)||[];return z(r,n)||[]}(t,r,i),s=e.findIndex(e=>{if(Array.isArray(e)){const[t,n]=e,a=o>=t.hours&&l>=t.minutes,i=o0?Math.floor(i/60):Math.ceil(i/60);switch(e){case q.Short:return(i>=0?"+":"")+X(s,2,r)+X(Math.abs(i%60),2,r);case q.ShortGMT:return"GMT"+(i>=0?"+":"")+X(s,1,r);case q.Long:return"GMT"+(i>=0?"+":"")+X(s,2,r)+":"+X(Math.abs(i%60),2,r);case q.Extended:return 0===a?"Z":(i>=0?"+":"")+X(s,2,r)+":"+X(Math.abs(i%60),2,r);default:throw new Error(`Unknown zone width "${e}"`)}}}function ne(e){return Q(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function ae(e,t=!1){return function(n,a){let i;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();i=1+Math.floor((t+e)/7)}else{const e=ne(n),t=function(e){const t=Q(e,0,1).getDay();return Q(e,0,1+(t<=4?4:11)-t)}(e.getFullYear()),a=e.getTime()-t.getTime();i=1+Math.round(a/6048e5)}return X(i,e,F(a,I.MinusSign))}}function ie(e,t=!1){return function(n,a){return X(ne(n).getFullYear(),e,F(a,I.MinusSign),t)}}const re={};function se(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function oe(e){return e instanceof Date&&!isNaN(e.valueOf())}class le{}let ce=(()=>{class e extends le{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(U(t||this.locale)(e)){case R.Zero:return"zero";case R.One:return"one";case R.Two:return"two";case R.Few:return"few";case R.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(a.soG))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})();function de(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[a,i]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(a.trim()===t)return decodeURIComponent(i)}return null}let ue=(()=>{class e{constructor(e,t,n,a){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=a,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&((0,a.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,a.AaK)(e.item)}`);this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.ZZ4),a.Y36(a.aQg),a.Y36(a.SBq),a.Y36(a.Qsj))},e.\u0275dir=a.lG2({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();class _e{constructor(e,t,n,a){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=a}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 he=(()=>{class e{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,a)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new _e(null,this._ngForOf,-1,-1),null===a?void 0:a),i=new pe(e,n);t.push(i)}else if(null==a)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const i=this._viewContainer.get(n);this._viewContainer.move(i,a);const r=new pe(e,i);t.push(r)}});for(let n=0;n{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.s_b),a.Y36(a.Rgc),a.Y36(a.ZZ4))},e.\u0275dir=a.lG2({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class pe{constructor(e,t){this.record=e,this.view=t}}let ge=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new me,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){fe("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){fe("ngIfElse",e),this._elseTemplateRef=e,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(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.s_b),a.Y36(a.Rgc))},e.\u0275dir=a.lG2({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class me{constructor(){this.$implicit=null,this.ngIf=null}}function fe(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${(0,a.AaK)(t)}'.`)}class Ee{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}let Se=(()=>{class e{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let t=0;t{class e{constructor(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new Ee(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.s_b),a.Y36(a.Rgc),a.Y36(Se,9))},e.\u0275dir=a.lG2({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e})(),ye=(()=>{class e{constructor(e,t,n){n._addDefault(new Ee(e,t))}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.s_b),a.Y36(a.Rgc),a.Y36(Se,9))},e.\u0275dir=a.lG2({type:e,selectors:[["","ngSwitchDefault",""]]}),e})(),ve=(()=>{class e{constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[n,a]=e.split(".");null!=(t=null!=t&&a?`${t}${a}`:t)?this._renderer.setStyle(this._ngEl.nativeElement,n,t):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(e){e.forEachRemovedItem(e=>this._setStyle(e.key,null)),e.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),e.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.aQg),a.Y36(a.Qsj))},e.\u0275dir=a.lG2({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),e})(),Te=(()=>{class e{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){if(e.ngTemplateOutlet){const e=this._viewContainerRef;this._viewRef&&e.remove(e.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?e.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.s_b))},e.\u0275dir=a.lG2({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[a.TTD]}),e})();function Ce(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${(0,a.AaK)(e)}'`)}class Oe{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class Re{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const Ae=new Re,Ne=new Oe;let we=(()=>{class e{constructor(e){this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(t){if((0,a.QGY)(t))return Ae;if((0,a.F4k)(t))return Ne;throw Ce(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.sBO,16))},e.\u0275pipe=a.Yjl({name:"async",type:e,pure:!1}),e})(),Ie=(()=>{class e{constructor(e){this.locale=e}transform(t,n="mediumDate",a,i){if(null==t||""===t||t!=t)return null;try{return W(t,n,i||this.locale,a)}catch(r){throw Ce(e,r.message)}}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.soG,16))},e.\u0275pipe=a.Yjl({name:"date",type:e,pure:!0}),e})(),Me=(()=>{class e{transform(t,n,a){if(null==t)return null;if(!this.supports(t))throw Ce(e,t);return t.slice(n,a)}supports(e){return"string"==typeof e||Array.isArray(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=a.Yjl({name:"slice",type:e,pure:!1}),e})(),xe=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[{provide:le,useClass:ce}]}),e})();const De="browser";function Le(e){return e===De}function Pe(e){return"server"===e}let ke=(()=>{class e{}return e.\u0275prov=(0,a.Yz7)({token:e,providedIn:"root",factory:()=>new Fe((0,a.LFG)(l),window)}),e})();class Fe{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;const t=function(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow)){const n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let a=n.currentNode;for(;a;){const e=a.shadowRoot;if(e){const n=e.getElementById(t)||e.querySelector(`[name="${t}"]`);if(n)return n}a=n.nextNode()}}return null}(this.document,e);t&&(this.scrollToElement(t),this.attemptFocus(t))}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,a=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],a-i[1])}attemptFocus(e){return e.focus(),this.document.activeElement===e}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=Ue(this.window.history)||Ue(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(e){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}function Ue(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class Be{}},91841:function(e,t,n){"use strict";n.d(t,{eN:function(){return N},JF:function(){return G}});var a=n(38583),i=n(37716),r=n(25917),s=n(67574),o=n(94612),l=n(45435),c=n(88002);class d{}class u{}class _{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),a=n.toLowerCase(),i=e.slice(t+1).trim();this.maybeSetNormalizedName(n,a),this.headers.has(a)?this.headers.get(a).push(i):this.headers.set(a,[i])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let n=e[t];const a=t.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(a,n),this.maybeSetNormalizedName(t,a))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof _?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new _;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof _?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const a=("a"===e.op?this.headers.get(t):void 0)||[];a.push(...n),this.headers.set(t,a);break;case"d":const i=e.value;if(i){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===i.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class h{encodeKey(e){return p(e)}encodeValue(e){return p(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function p(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function g(e){return`${e}`}class m{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new h,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(e=>{const a=e.indexOf("="),[i,r]=-1==a?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,a)),t.decodeValue(e.slice(a+1))],s=n.get(i)||[];s.push(r),n.set(i,s)}),n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const n=e.fromObject[t];this.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach(n=>{const a=e[n];Array.isArray(a)?a.forEach(e=>{t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:a,op:"a"})}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new m({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(g(e.value)),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const n=t.indexOf(g(e.value));-1!==n&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}class f{constructor(){this.map=new Map}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}keys(){return this.map.keys()}}function E(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function S(e){return"undefined"!=typeof Blob&&e instanceof Blob}function b(e){return"undefined"!=typeof FormData&&e instanceof FormData}class y{constructor(e,t,n,a){let i;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||a?(this.body=void 0!==n?n:null,i=a):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new _),this.context||(this.context=new f),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?");this.urlWithParams=t+(-1===n?"?":nt.set(n,e.setHeaders[n]),l)),e.setParams&&(c=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),c)),new y(n,a,r,{params:c,headers:l,context:d,reportProgress:o,responseType:i,withCredentials:s})}}var v=(()=>((v=v||{})[v.Sent=0]="Sent",v[v.UploadProgress=1]="UploadProgress",v[v.ResponseHeader=2]="ResponseHeader",v[v.DownloadProgress=3]="DownloadProgress",v[v.Response=4]="Response",v[v.User=5]="User",v))();class T{constructor(e,t=200,n="OK"){this.headers=e.headers||new _,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class C extends T{constructor(e={}){super(e),this.type=v.ResponseHeader}clone(e={}){return new C({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class O extends T{constructor(e={}){super(e),this.type=v.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new O({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class R extends T{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${e.url||"(unknown url)"}`:`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function A(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let N=(()=>{class e{constructor(e){this.handler=e}request(e,t,n={}){let a;if(e instanceof y)a=e;else{let i,r;i=n.headers instanceof _?n.headers:new _(n.headers),n.params&&(r=n.params instanceof m?n.params:new m({fromObject:n.params})),a=new y(e,t,void 0!==n.body?n.body:null,{headers:i,context:n.context,params:r,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const i=(0,r.of)(a).pipe((0,o.b)(e=>this.handler.handle(e)));if(e instanceof y||"events"===n.observe)return i;const s=i.pipe((0,l.h)(e=>e instanceof O));switch(n.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return s.pipe((0,c.U)(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return s.pipe((0,c.U)(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return s.pipe((0,c.U)(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return s.pipe((0,c.U)(e=>e.body))}case"response":return s;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new m).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,A(n,t))}post(e,t,n={}){return this.request("POST",e,A(n,t))}put(e,t,n={}){return this.request("PUT",e,A(n,t))}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(d))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();class w{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const I=new i.OlP("HTTP_INTERCEPTORS");let M=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();const x=/^\)\]\}',?\n/;let D=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new s.y(t=>{const n=this.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEach((e,t)=>n.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&n.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();n.responseType="json"!==t?t:"text"}const a=e.serializeBody();let i=null;const r=()=>{if(null!==i)return i;const t=1223===n.status?204:n.status,a=n.statusText||"OK",r=new _(n.getAllResponseHeaders()),s=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(n)||e.url;return i=new C({headers:r,status:t,statusText:a,url:s}),i},s=()=>{let{headers:a,status:i,statusText:s,url:o}=r(),l=null;204!==i&&(l=void 0===n.response?n.responseText:n.response),0===i&&(i=l?200:0);let c=i>=200&&i<300;if("json"===e.responseType&&"string"==typeof l){const e=l;l=l.replace(x,"");try{l=""!==l?JSON.parse(l):null}catch(d){l=e,c&&(c=!1,l={error:d,text:l})}}c?(t.next(new O({body:l,headers:a,status:i,statusText:s,url:o||void 0})),t.complete()):t.error(new R({error:l,headers:a,status:i,statusText:s,url:o||void 0}))},o=e=>{const{url:a}=r(),i=new R({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:a||void 0});t.error(i)};let l=!1;const c=a=>{l||(t.next(r()),l=!0);let i={type:v.DownloadProgress,loaded:a.loaded};a.lengthComputable&&(i.total=a.total),"text"===e.responseType&&n.responseText&&(i.partialText=n.responseText),t.next(i)},d=e=>{let n={type:v.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",s),n.addEventListener("error",o),n.addEventListener("timeout",o),n.addEventListener("abort",o),e.reportProgress&&(n.addEventListener("progress",c),null!==a&&n.upload&&n.upload.addEventListener("progress",d)),n.send(a),t.next({type:v.Sent}),()=>{n.removeEventListener("error",o),n.removeEventListener("abort",o),n.removeEventListener("load",s),n.removeEventListener("timeout",o),e.reportProgress&&(n.removeEventListener("progress",c),null!==a&&n.upload&&n.upload.removeEventListener("progress",d)),n.readyState!==n.DONE&&n.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(a.JF))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();const L=new i.OlP("XSRF_COOKIE_NAME"),P=new i.OlP("XSRF_HEADER_NAME");class k{}let F=(()=>{class e{constructor(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,a.Mx)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(a.K0),i.LFG(i.Lbi),i.LFG(L))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})(),U=(()=>{class e{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);const a=this.tokenService.getToken();return null===a||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,a)})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(k),i.LFG(P))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})(),B=(()=>{class e{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(I,[]);this.chain=e.reduceRight((e,t)=>new w(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(u),i.LFG(i.zs3))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})(),z=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:U,useClass:M}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:L,useValue:t.cookieName}:[],t.headerName?{provide:P,useValue:t.headerName}:[]]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({providers:[U,{provide:I,useExisting:U,multi:!0},{provide:k,useClass:F},{provide:L,useValue:"XSRF-TOKEN"},{provide:P,useValue:"X-XSRF-TOKEN"}]}),e})(),G=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({providers:[N,{provide:d,useClass:B},D,{provide:u,useExisting:D}],imports:[[z.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})()},37716:function(e,t,n){"use strict";n.d(t,{deG:function(){return nn},tb:function(){return $l},AFp:function(){return Vl},ip1:function(){return zl},CZH:function(){return Gl},hGG:function(){return zc},z2F:function(){return Ic},sBO:function(){return Lo},Sil:function(){return ic},_Vd:function(){return ao},EJc:function(){return Kl},SBq:function(){return oo},qLn:function(){return Ca},vpe:function(){return El},gxx:function(){return cr},tBr:function(){return On},XFs:function(){return w},OlP:function(){return tn},zs3:function(){return Cr},IIB:function(){return Ul},ZZ4:function(){return Ao},aQg:function(){return wo},soG:function(){return Ql},YKP:function(){return Yo},v3s:function(){return xc},h0i:function(){return Ho},PXZ:function(){return Oc},R0b:function(){return oc},FiY:function(){return Rn},r_U:function(){return Bl},Lbi:function(){return jl},g9A:function(){return ql},n_E:function(){return bl},Qsj:function(){return uo},FYo:function(){return co},JOm:function(){return Na},Tiy:function(){return ho},q3G:function(){return ga},WD2:function(){return ge},tp0:function(){return An},EAV:function(){return Pc},Rgc:function(){return Bo},dDg:function(){return pc},DyG:function(){return sn},GfV:function(){return po},i9L:function(){return rn},s_b:function(){return jo},ifc:function(){return P},eFA:function(){return Rc},G48:function(){return Tc},Gpc:function(){return h},f3M:function(){return vn},X6Q:function(){return vc},_c5:function(){return Uc},VLi:function(){return fc},c2e:function(){return Wl},zSh:function(){return ur},wAp:function(){return Ys},vHH:function(){return m},EiD:function(){return ha},mCW:function(){return Kn},qzn:function(){return Bn},JVY:function(){return Gn},pB0:function(){return qn},eBb:function(){return Hn},L6k:function(){return Vn},LAX:function(){return Yn},cg1:function(){return Gs},Tjo:function(){return Fc},kL8:function(){return Vs},yhl:function(){return zn},dqk:function(){return z},sIi:function(){return Lr},CqO:function(){return ts},QGY:function(){return Jr},F4k:function(){return es},RDi:function(){return ve},AaK:function(){return d},z3N:function(){return Un},qOj:function(){return Rr},TTD:function(){return me},_Bn:function(){return eo},xp6:function(){return pi},uIk:function(){return Br},Tol:function(){return bs},Gre:function(){return Ps},ekj:function(){return Ss},Suo:function(){return xl},Xpm:function(){return Z},lG2:function(){return ie},Yz7:function(){return b},cJS:function(){return y},oAB:function(){return te},Yjl:function(){return re},Y36:function(){return Hr},_UZ:function(){return Wr},GkF:function(){return Zr},BQk:function(){return Kr},ynx:function(){return Qr},qZA:function(){return $r},TgZ:function(){return jr},EpF:function(){return Xr},n5z:function(){return Qt},Ikx:function(){return ks},LFG:function(){return yn},$8M:function(){return Zt},NdJ:function(){return ns},CRH:function(){return Dl},oxw:function(){return rs},ALo:function(){return ul},lcZ:function(){return _l},xi3:function(){return hl},Dn7:function(){return pl},Hsn:function(){return ls},F$t:function(){return os},Q6J:function(){return Yr},s9C:function(){return cs},MGl:function(){return ds},hYB:function(){return us},DdM:function(){return ol},VKq:function(){return ll},iGM:function(){return Il},MAs:function(){return Vr},Jf7:function(){return Ra},CHM:function(){return Ge},oJD:function(){return ma},LSH:function(){return fa},kYT:function(){return ne},Udp:function(){return Es},d8E:function(){return Fs},YNc:function(){return Gr},W1O:function(){return Fl},_uU:function(){return xs},Oqu:function(){return Ds},hij:function(){return Ls},Gf:function(){return Ml}});var a=n(79765),i=n(75319),r=n(67574),s=n(66682),o=n(78345);function l(e){for(let t in e)if(e[t]===l)return t;throw Error("Could not find renamed property on target object.")}function c(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function d(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(d).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 u(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const _=l({__forward_ref__:l});function h(e){return e.__forward_ref__=h,e.toString=function(){return d(this())},e}function p(e){return g(e)?e():e}function g(e){return"function"==typeof e&&e.hasOwnProperty(_)&&e.__forward_ref__===h}class m extends Error{constructor(e,t){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(e,t)),this.code=e}}function f(e){return"string"==typeof e?e:null==e?"":String(e)}function E(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():f(e)}function S(e,t){const n=t?` in ${t}`:"";throw new m("201",`No provider for ${E(e)} found${n}`)}function b(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function y(e){return{providers:e.providers||[],imports:e.imports||[]}}function v(e){return T(e,O)||T(e,A)}function T(e,t){return e.hasOwnProperty(t)?e[t]:null}function C(e){return e&&(e.hasOwnProperty(R)||e.hasOwnProperty(N))?e[R]:null}const O=l({"\u0275prov":l}),R=l({"\u0275inj":l}),A=l({ngInjectableDef:l}),N=l({ngInjectorDef:l});var w=(()=>((w=w||{})[w.Default=0]="Default",w[w.Host=1]="Host",w[w.Self=2]="Self",w[w.SkipSelf=4]="SkipSelf",w[w.Optional=8]="Optional",w))();let I;function M(e){const t=I;return I=e,t}function x(e,t,n){const a=v(e);return a&&"root"==a.providedIn?void 0===a.value?a.value=a.factory():a.value:n&w.Optional?null:void 0!==t?t:void S(d(e),"Injector")}function D(e){return{toString:e}.toString()}var L=(()=>((L=L||{})[L.OnPush=0]="OnPush",L[L.Default=1]="Default",L))(),P=(()=>((P=P||{})[P.Emulated=0]="Emulated",P[P.None=2]="None",P[P.ShadowDom=3]="ShadowDom",P))();const k="undefined"!=typeof globalThis&&globalThis,F="undefined"!=typeof window&&window,U="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,B="undefined"!=typeof global&&global,z=k||B||F||U,G={},V=[],H=l({"\u0275cmp":l}),Y=l({"\u0275dir":l}),q=l({"\u0275pipe":l}),j=l({"\u0275mod":l}),$=l({"\u0275loc":l}),W=l({"\u0275fac":l}),Q=l({__NG_ELEMENT_ID__:l});let K=0;function Z(e){return D(()=>{const t={},n={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:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===L.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||V,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||P.Emulated,id:"c",styles:e.styles||V,_:null,setInput:null,schemas:e.schemas||null,tView:null},a=e.directives,i=e.features,r=e.pipes;return n.id+=K++,n.inputs=ae(e.inputs,t),n.outputs=ae(e.outputs),i&&i.forEach(e=>e(n)),n.directiveDefs=a?()=>("function"==typeof a?a():a).map(X):null,n.pipeDefs=r?()=>("function"==typeof r?r():r).map(J):null,n})}function X(e){return se(e)||function(e){return e[Y]||null}(e)}function J(e){return function(e){return e[q]||null}(e)}const ee={};function te(e){return D(()=>{const t={type:e.type,bootstrap:e.bootstrap||V,declarations:e.declarations||V,imports:e.imports||V,exports:e.exports||V,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(ee[e.id]=e.type),t})}function ne(e,t){return D(()=>{const n=oe(e,!0);n.declarations=t.declarations||V,n.imports=t.imports||V,n.exports=t.exports||V})}function ae(e,t){if(null==e)return G;const n={};for(const a in e)if(e.hasOwnProperty(a)){let i=e[a],r=i;Array.isArray(i)&&(r=i[1],i=i[0]),n[i]=a,t&&(t[i]=r)}return n}const ie=Z;function re(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function se(e){return e[H]||null}function oe(e,t){const n=e[j]||null;if(!n&&!0===t)throw new Error(`Type ${d(e)} does not have '\u0275mod' property.`);return n}function le(e){return Array.isArray(e)&&"object"==typeof e[1]}function ce(e){return Array.isArray(e)&&!0===e[1]}function de(e){return 0!=(8&e.flags)}function ue(e){return 2==(2&e.flags)}function _e(e){return 1==(1&e.flags)}function he(e){return null!==e.template}function pe(e,t){return e.hasOwnProperty(W)?e[W]:null}class ge{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function me(){return fe}function fe(e){return e.type.prototype.ngOnChanges&&(e.setInput=Se),Ee}function Ee(){const e=be(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===G)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function Se(e,t,n,a){const i=be(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:G,current:null}),r=i.current||(i.current={}),s=i.previous,o=this.declaredInputs[n],l=s[o];r[o]=new ge(l&&l.currentValue,t,s===G),e[a]=t}function be(e){return e.__ngSimpleChanges__||null}let ye;function ve(e){ye=e}function Te(){return void 0!==ye?ye:"undefined"!=typeof document?document:void 0}function Ce(e){return!!e.listen}me.ngInherit=!0;const Oe={createRenderer:(e,t)=>Te()};function Re(e){for(;Array.isArray(e);)e=e[0];return e}function Ae(e,t){return Re(t[e])}function Ne(e,t){return Re(t[e.index])}function we(e,t){return e.data[t]}function Ie(e,t){return e[t]}function Me(e,t){const n=t[e];return le(n)?n:n[0]}function xe(e){return 4==(4&e[2])}function De(e){return 128==(128&e[2])}function Le(e,t){return null==t?null:e[t]}function Pe(e){e[18]=0}function ke(e,t){e[5]+=t;let n=e,a=e[3];for(;null!==a&&(1===t&&1===n[5]||-1===t&&0===n[5]);)a[5]+=t,n=a,a=a[3]}const Fe={lFrame:lt(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Ue(){return Fe.bindingsEnabled}function Be(){return Fe.lFrame.lView}function ze(){return Fe.lFrame.tView}function Ge(e){return Fe.lFrame.contextLView=e,e[8]}function Ve(){let e=He();for(;null!==e&&64===e.type;)e=e.parent;return e}function He(){return Fe.lFrame.currentTNode}function Ye(e,t){const n=Fe.lFrame;n.currentTNode=e,n.isParent=t}function qe(){return Fe.lFrame.isParent}function je(){Fe.lFrame.isParent=!1}function $e(){return Fe.isInCheckNoChangesMode}function We(e){Fe.isInCheckNoChangesMode=e}function Qe(){const e=Fe.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ke(){return Fe.lFrame.bindingIndex}function Ze(){return Fe.lFrame.bindingIndex++}function Xe(e){const t=Fe.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Je(e,t){const n=Fe.lFrame;n.bindingIndex=n.bindingRootIndex=e,et(t)}function et(e){Fe.lFrame.currentDirectiveIndex=e}function tt(e){const t=Fe.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function nt(){return Fe.lFrame.currentQueryIndex}function at(e){Fe.lFrame.currentQueryIndex=e}function it(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function rt(e,t,n){if(n&w.SkipSelf){let a=t,i=e;for(;a=a.parent,!(null!==a||n&w.Host||(a=it(i),null===a)||(i=i[15],10&a.type)););if(null===a)return!1;t=a,e=i}const a=Fe.lFrame=ot();return a.currentTNode=t,a.lView=e,!0}function st(e){const t=ot(),n=e[1];Fe.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ot(){const e=Fe.lFrame,t=null===e?null:e.child;return null===t?lt(e):t}function lt(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 ct(){const e=Fe.lFrame;return Fe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const dt=ct;function ut(){const e=ct();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 _t(){return Fe.lFrame.selectedIndex}function ht(e){Fe.lFrame.selectedIndex=e}function pt(){const e=Fe.lFrame;return we(e.tView,e.selectedIndex)}function gt(e,t){for(let n=t.directiveStart,a=t.directiveEnd;n=a)break}else t[o]<0&&(e[18]+=65536),(s>11>16&&(3&e[2])===t){e[2]+=2048;try{r.call(s)}finally{}}}else try{r.call(s)}finally{}}class yt{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function vt(e,t,n){const a=Ce(e);let i=0;for(;it){s=r-1;break}}}for(;r>16,a=t;for(;n>0;)a=a[15],n--;return a}let It=!0;function Mt(e){const t=It;return It=e,t}let xt=0;function Dt(e,t){const n=Pt(e,t);if(-1!==n)return n;const a=t[1];a.firstCreatePass&&(e.injectorIndex=t.length,Lt(a.data,e),Lt(t,null),Lt(a.blueprint,null));const i=kt(e,t),r=e.injectorIndex;if(At(i)){const e=Nt(i),n=wt(i,t),a=n[1].data;for(let i=0;i<8;i++)t[r+i]=n[e+i]|a[e+i]}return t[r+8]=i,r}function Lt(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Pt(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function kt(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,a=null,i=t;for(;null!==i;){const e=i[1],t=e.type;if(a=2===t?e.declTNode:1===t?i[6]:null,null===a)return-1;if(n++,i=i[15],-1!==a.injectorIndex)return a.injectorIndex|n<<16}return-1}function Ft(e,t,n){!function(e,t,n){let a;"string"==typeof n?a=n.charCodeAt(0)||0:n.hasOwnProperty(Q)&&(a=n[Q]),null==a&&(a=n[Q]=xt++);const i=255&a;t.data[e+(i>>5)]|=1<=0?255&t:Vt:t}(n);if("function"==typeof r){if(!rt(t,e,a))return a&w.Host?Ut(i,n,a):Bt(t,n,a,i);try{const e=r(a);if(null!=e||a&w.Optional)return e;S(n)}finally{dt()}}else if("number"==typeof r){let i=null,s=Pt(e,t),o=-1,l=a&w.Host?t[16][6]:null;for((-1===s||a&w.SkipSelf)&&(o=-1===s?kt(e,t):t[s+8],-1!==o&&$t(a,!1)?(i=t[1],s=Nt(o),t=wt(o,t)):s=-1);-1!==s;){const e=t[1];if(jt(r,s,e.data)){const e=Ht(s,t,n,i,a,l);if(e!==Gt)return e}o=t[s+8],-1!==o&&$t(a,t[1].data[s+8]===l)&&jt(r,s,t)?(i=e,s=Nt(o),t=wt(o,t)):s=-1}}}return Bt(t,n,a,i)}const Gt={};function Vt(){return new Wt(Ve(),Be())}function Ht(e,t,n,a,i,r){const s=t[1],o=s.data[e+8],l=Yt(o,s,n,null==a?ue(o)&&It:a!=s&&0!=(3&o.type),i&w.Host&&r===o);return null!==l?qt(t,s,l,o):Gt}function Yt(e,t,n,a,i){const r=e.providerIndexes,s=t.data,o=1048575&r,l=e.directiveStart,c=r>>20,d=i?o+c:e.directiveEnd;for(let u=a?o:o+c;u=l&&e.type===n)return u}if(i){const e=s[l];if(e&&he(e)&&e.type===n)return l}return null}function qt(e,t,n,a){let i=e[n];const r=t.data;if(i instanceof yt){const s=i;s.resolving&&function(e,t){throw new m("200",`Circular dependency in DI detected for ${e}`)}(E(r[n]));const o=Mt(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?M(s.injectImpl):null;rt(e,a,w.Default);try{i=e[n]=s.factory(void 0,r,e,a),t.firstCreatePass&&n>=a.directiveStart&&function(e,t,n){const{ngOnChanges:a,ngOnInit:i,ngDoCheck:r}=t.type.prototype;if(a){const a=fe(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r))}(n,r[n],t)}finally{null!==l&&M(l),Mt(o),s.resolving=!1,dt()}}return i}function jt(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[W]||Kt(t),a=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==a;){const e=i[W]||Kt(i);if(e&&e!==n)return e;i=Object.getPrototypeOf(i)}return e=>new e})}function Kt(e){return g(e)?()=>{const t=Kt(p(e));return t&&t()}:pe(e)}function Zt(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const e=n.length;let a=0;for(;a{const a=Xt(t);function i(...e){if(this instanceof i)return a.apply(this,e),this;const t=new i(...e);return n.annotation=t,n;function n(e,n,a){const i=e.hasOwnProperty("__parameters__")?e.__parameters__:Object.defineProperty(e,"__parameters__",{value:[]}).__parameters__;for(;i.length<=a;)i.push(null);return(i[a]=i[a]||[]).push(t),e}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function en(e,t,n,a){return D(()=>{const i=Xt(t);function r(...e){if(this instanceof r)return i.apply(this,e),this;const t=new r(...e);return function(n,i){const r=n.constructor,s=r.hasOwnProperty("__prop__metadata__")?r.__prop__metadata__:Object.defineProperty(r,"__prop__metadata__",{value:{}}).__prop__metadata__;s[i]=s.hasOwnProperty(i)&&s[i]||[],s[i].unshift(t),a&&a(n,i,...e)}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}class tn{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=b({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const nn=new tn("AnalyzeForEntryComponents");class an{}const rn=en("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),an),sn=Function;function on(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(e)?ln(e,t):t(e))}function cn(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function dn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function un(e,t){const n=[];for(let a=0;a=0?e[1|a]=n:(a=~a,function(e,t,n,a){let i=e.length;if(i==t)e.push(n,a);else if(1===i)e.push(a,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=a}}(e,a,t,n)),a}function hn(e,t){const n=pn(e,t);if(n>=0)return e[1|n]}function pn(e,t){return function(e,t,n){let a=0,i=e.length>>1;for(;i!==a;){const n=a+(i-a>>1),r=e[n<<1];if(t===r)return n<<1;r>t?i=n:a=n+1}return~(i<<1)}(e,t)}const gn={},mn=/\n/gm,fn=l({provide:String,useValue:l});let En;function Sn(e){const t=En;return En=e,t}function bn(e,t=w.Default){if(void 0===En)throw new Error("inject() must be called from an injection context");return null===En?x(e,void 0,t):En.get(e,t&w.Optional?null:void 0,t)}function yn(e,t=w.Default){return(I||bn)(p(e),t)}const vn=yn;function Tn(e){const t=[];for(let n=0;n({token:e})),-1),Rn=Cn(Jt("Optional"),8),An=Cn(Jt("SkipSelf"),4);let Nn,wn;function In(e){var t;return(null===(t=function(){if(void 0===Nn&&(Nn=null,z.trustedTypes))try{Nn=z.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(t){}return Nn}())||void 0===t?void 0:t.createHTML(e))||e}function Mn(e){var t;return(null===(t=function(){if(void 0===wn&&(wn=null,z.trustedTypes))try{wn=z.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(t){}return wn}())||void 0===t?void 0:t.createHTML(e))||e}class xn{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Dn extends xn{getTypeName(){return"HTML"}}class Ln extends xn{getTypeName(){return"Style"}}class Pn extends xn{getTypeName(){return"Script"}}class kn extends xn{getTypeName(){return"URL"}}class Fn extends xn{getTypeName(){return"ResourceURL"}}function Un(e){return e instanceof xn?e.changingThisBreaksApplicationSecurity:e}function Bn(e,t){const n=zn(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 zn(e){return e instanceof xn&&e.getTypeName()||null}function Gn(e){return new Dn(e)}function Vn(e){return new Ln(e)}function Hn(e){return new Pn(e)}function Yn(e){return new kn(e)}function qn(e){return new Fn(e)}class jn{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const t=(new window.DOMParser).parseFromString(In(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(t){return null}}}class $n{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const t=this.inertDocument.createElement("body");e.appendChild(t)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=In(e),t;const n=this.inertDocument.createElement("body");return n.innerHTML=In(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let a=t.length-1;0Kn(e.trim())).join(", ")),this.buf.push(" ",t,'="',ua(s),'"')}var a;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();aa.hasOwnProperty(t)&&!Jn.hasOwnProperty(t)&&(this.buf.push(""))}chars(e){this.buf.push(ua(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const ca=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,da=/([^\#-~ |!])/g;function ua(e){return e.replace(/&/g,"&").replace(ca,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(da,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let _a;function ha(e,t){let n=null;try{_a=_a||function(e){const t=new $n(e);return function(){try{return!!(new window.DOMParser).parseFromString(In(""),"text/html")}catch(e){return!1}}()?new jn(t):t}(e);let a=t?String(t):"";n=_a.getInertBodyElement(a);let i=5,r=a;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,a=r,r=n.innerHTML,n=_a.getInertBodyElement(a)}while(a!==r);return In((new la).sanitizeChildren(pa(n)||n))}finally{if(n){const e=pa(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function pa(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ga=(()=>((ga=ga||{})[ga.NONE=0]="NONE",ga[ga.HTML=1]="HTML",ga[ga.STYLE=2]="STYLE",ga[ga.SCRIPT=3]="SCRIPT",ga[ga.URL=4]="URL",ga[ga.RESOURCE_URL=5]="RESOURCE_URL",ga))();function ma(e){const t=Ea();return t?Mn(t.sanitize(ga.HTML,e)||""):Bn(e,"HTML")?Mn(Un(e)):ha(Te(),f(e))}function fa(e){const t=Ea();return t?t.sanitize(ga.URL,e)||"":Bn(e,"URL")?Un(e):Kn(f(e))}function Ea(){const e=Be();return e&&e[12]}function Sa(e,t){e.__ngContext__=t}function ba(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function ya(e){return e.ngDebugContext}function va(e){return e.ngOriginalError}function Ta(e,...t){e.error(...t)}class Ca{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),a=function(e){return e.ngErrorLogger||Ta}(e);a(this._console,"ERROR",e),t&&a(this._console,"ORIGINAL ERROR",t),n&&a(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?ya(e)?ya(e):this._findContext(va(e)):null}_findOriginalError(e){let t=va(e);for(;t&&va(t);)t=va(t);return t}}const Oa=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(z))();function Ra(e){return e.ownerDocument.defaultView}function Aa(e){return e instanceof Function?e():e}var Na=(()=>((Na=Na||{})[Na.Important=1]="Important",Na[Na.DashCase=2]="DashCase",Na))();function wa(e,t){return(void 0)(e,t)}function Ia(e){const t=e[3];return ce(t)?t[3]:t}function Ma(e){return Da(e[13])}function xa(e){return Da(e[4])}function Da(e){for(;null!==e&&!ce(e);)e=e[4];return e}function La(e,t,n,a,i){if(null!=a){let r,s=!1;ce(a)?r=a:le(a)&&(s=!0,a=a[0]);const o=Re(a);0===e&&null!==n?null==i?Va(t,n,o):Ga(t,n,o,i||null,!0):1===e&&null!==n?Ga(t,n,o,i||null,!0):2===e?function(e,t,n){const a=Ya(e,t);a&&function(e,t,n,a){Ce(e)?e.removeChild(t,n,a):t.removeChild(n)}(e,a,t,n)}(t,o,s):3===e&&t.destroyNode(o),null!=r&&function(e,t,n,a,i){const r=n[7];r!==Re(n)&&La(t,e,a,r,i);for(let s=10;s0&&(e[n-1][4]=a[4]);const s=dn(e,10+t);Xa(a[1],i=a,i[11],2,null,null),i[0]=null,i[6]=null;const o=s[19];null!==o&&o.detachView(s[1]),a[3]=null,a[4]=null,a[2]&=-129}var i;return a}function Ua(e,t){if(!(256&t[2])){const n=t[11];Ce(n)&&n.destroyNode&&Xa(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Ba(e[1],e);for(;t;){let n=null;if(le(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)le(t)&&Ba(t[1],t),t=t[3];null===t&&(t=e),le(t)&&Ba(t[1],t),n=t&&t[4]}t=n}}(t)}}function Ba(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let a=0;a=0?a[i=l]():a[i=-l].unsubscribe(),r+=2}else{const e=a[i=n[r+1]];n[r].call(e)}if(null!==a){for(let e=i+1;er?"":i[d+1].toLowerCase();const t=8&a?e:null;if(t&&-1!==ni(t,c,0)||2&a&&c!==e){if(oi(a))return!1;s=!0}}}}else{if(!s&&!oi(a)&&!oi(l))return!1;if(s&&oi(l))continue;s=!1,a=l|1&a}}return oi(a)||s}function oi(e){return 0==(1&e)}function li(e,t,n,a){if(null===t)return-1;let i=0;if(a||!n){let n=!1;for(;i-1)for(n++;n0?'="'+t+'"':"")+"]"}else 8&a?i+="."+s:4&a&&(i+=" "+s);else""===i||oi(s)||(t+=ui(r,i),i=""),a=s,r=r||!oi(a);n++}return""!==i&&(t+=ui(r,i)),t}const hi={};function pi(e){gi(ze(),Be(),_t()+e,$e())}function gi(e,t,n,a){if(!a)if(3==(3&t[2])){const a=e.preOrderCheckHooks;null!==a&&mt(t,a,n)}else{const a=e.preOrderHooks;null!==a&&ft(t,a,0,n)}ht(n)}function mi(e,t){return e<<17|t<<2}function fi(e){return e>>17&32767}function Ei(e){return 2|e}function Si(e){return(131068&e)>>2}function bi(e,t){return-131069&e|t<<2}function yi(e){return 1|e}function vi(e,t){const n=e.contentQueries;if(null!==n)for(let a=0;a20&&gi(e,t,20,$e()),n(a,i)}finally{ht(r)}}function Ii(e,t,n){if(de(t)){const a=t.directiveEnd;for(let i=t.directiveStart;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(n)!=r&&n.push(r),n.push(a,i,s)}}function zi(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Gi(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Vi(e,t,n){if(n){if(t.exportAs)for(let a=0;a0&&Ki(n)}}function Ki(e){for(let n=Ma(e);null!==n;n=xa(n))for(let e=10;e0&&Ki(t)}const t=e[1].components;if(null!==t)for(let n=0;n0&&Ki(a)}}function Zi(e,t){const n=Me(t,e),a=n[1];!function(e,t){for(let n=t.length;nPromise.resolve(null))();function ir(e){return e[7]||(e[7]=[])}function rr(e){return e.cleanup||(e.cleanup=[])}function sr(e,t){const n=e[9],a=n?n.get(Ca,null):null;a&&a.handleError(t)}function or(e,t,n,a,i){for(let r=0;rthis.processProvider(n,e,t)),ln([e],e=>this.processInjectorType(e,[],i)),this.records.set(cr,br(void 0,this));const r=this.records.get(ur);this.scope=null!=r?r.value:null,this.source=a||("object"==typeof e?null:d(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=gn,n=w.Default){this.assertNotDestroyed();const a=Sn(this);try{if(!(n&w.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(i=e)||"object"==typeof i&&i instanceof tn)&&v(e);t=n&&this.injectableDefInScope(n)?br(Er(e),_r):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&w.Self?gr():this.parent).get(e,t=n&w.Optional&&t===gn?null:t)}catch(r){if("NullInjectorError"===r.name){if((r.ngTempTokenPath=r.ngTempTokenPath||[]).unshift(d(e)),a)throw r;return function(e,t,n,a){const i=e.ngTempTokenPath;throw t.__source&&i.unshift(t.__source),e.message=function(e,t,n,a=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=d(t);if(Array.isArray(t))i=t.map(d).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let a=t[n];e.push(n+":"+("string"==typeof a?JSON.stringify(a):d(a)))}i=`{${e.join(", ")}}`}return`${n}${a?"("+a+")":""}[${i}]: ${e.replace(mn,"\n ")}`}("\n"+e.message,i,n,a),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(r,e,"R3InjectorError",this.source)}throw r}finally{Sn(a)}var i}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(d(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=p(e)))return!1;let a=C(e);const i=null==a&&e.ngModule||void 0,r=void 0===i?e:i,s=-1!==n.indexOf(r);if(void 0!==i&&(a=C(i)),null==a)return!1;if(null!=a.imports&&!s){let e;n.push(r);try{ln(a.imports,a=>{this.processInjectorType(a,t,n)&&(void 0===e&&(e=[]),e.push(a))})}finally{}if(void 0!==e)for(let t=0;tthis.processProvider(e,n,a||V))}}this.injectorDefTypes.add(r);const o=pe(r)||(()=>new r);this.records.set(r,br(o,_r));const l=a.providers;if(null!=l&&!s){const t=e;ln(l,e=>this.processProvider(e,t,l))}return void 0!==i&&void 0!==e.providers}processProvider(e,t,n){let a=vr(e=p(e))?e:p(e&&e.provide);const i=function(e,t,n){return yr(e)?br(void 0,e.useValue):br(Sr(e),_r)}(e);if(vr(e)||!0!==e.multi)this.records.get(a);else{let t=this.records.get(a);t||(t=br(void 0,_r,!0),t.factory=()=>Tn(t.multi),this.records.set(a,t)),a=e,t.multi.push(e)}this.records.set(a,i)}hydrate(e,t){var n;return t.value===_r&&(t.value=hr,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){if(!e.providedIn)return!1;const t=p(e.providedIn);return"string"==typeof t?"any"===t||t===this.scope:this.injectorDefTypes.has(t)}}function Er(e){const t=v(e),n=null!==t?t.factory:pe(e);if(null!==n)return n;if(e instanceof tn)throw new Error(`Token ${d(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=un(t,"?");throw new Error(`Can't resolve all parameters for ${d(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[O]||e[A]);if(t){const n=function(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 Error("unreachable")}function Sr(e,t,n){let a;if(vr(e)){const t=p(e);return pe(t)||Er(t)}if(yr(e))a=()=>p(e.useValue);else if((i=e)&&i.useFactory)a=()=>e.useFactory(...Tn(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))a=()=>yn(p(e.useExisting));else{const t=p(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return pe(t)||Er(t);a=()=>new t(...Tn(e.deps))}var i;return a}function br(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function yr(e){return null!==e&&"object"==typeof e&&fn in e}function vr(e){return"function"==typeof e}const Tr=function(e,t,n){return function(e,t=null,n=null,a){const i=mr(e,t,n,a);return i._resolveInjectorDefTypes(),i}({name:n},t,e,n)};class Cr{static create(e,t){return Array.isArray(e)?Tr(e,t,""):Tr(e.providers,e.parent,e.name||"")}}function Or(e,t){gt(ba(e)[1],Ve())}function Rr(e){let t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0;const a=[e];for(;t;){let i;if(he(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");i=t.\u0275dir}if(i){if(n){a.push(i);const t=e;t.inputs=Ar(e.inputs),t.declaredInputs=Ar(e.declaredInputs),t.outputs=Ar(e.outputs);const n=i.hostBindings;n&&Ir(e,n);const r=i.viewQuery,s=i.contentQueries;if(r&&Nr(e,r),s&&wr(e,s),c(e.inputs,i.inputs),c(e.declaredInputs,i.declaredInputs),c(e.outputs,i.outputs),he(i)&&i.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(i.data.animation)}}const t=i.features;if(t)for(let a=0;a=0;a--){const i=e[a];i.hostVars=t+=i.hostVars,i.hostAttrs=Ot(i.hostAttrs,n=Ot(n,i.hostAttrs))}}(a)}function Ar(e){return e===G?{}:e===V?[]:e}function Nr(e,t){const n=e.viewQuery;e.viewQuery=n?(e,a)=>{t(e,a),n(e,a)}:t}function wr(e,t){const n=e.contentQueries;e.contentQueries=n?(e,a,i)=>{t(e,a,i),n(e,a,i)}:t}function Ir(e,t){const n=e.hostBindings;e.hostBindings=n?(e,a)=>{t(e,a),n(e,a)}:t}Cr.THROW_IF_NOT_FOUND=gn,Cr.NULL=new dr,Cr.\u0275prov=b({token:Cr,providedIn:"any",factory:()=>yn(cr)}),Cr.__NG_ELEMENT_ID__=-1;let Mr=null;function xr(){if(!Mr){const e=z.Symbol;if(e&&e.iterator)Mr=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;to(Re(e[a.index])):a.index;if(Ce(n)){let s=null;if(!o&&l&&(s=function(e,t,n,a){const i=e.cleanup;if(null!=i)for(let r=0;rn?e[n]:null}"string"==typeof e&&(r+=2)}return null}(e,t,i,a.index)),null!==s)(s.__ngLastListenerFn__||s).__ngNextListenerFn__=r,s.__ngLastListenerFn__=r,u=!1;else{r=is(a,t,0,r,!1);const e=n.listen(h,i,r);d.push(r,e),c&&c.push(i,g,p,p+1)}}else r=is(a,t,0,r,!0),h.addEventListener(i,r,s),d.push(r),c&&c.push(i,g,p,s)}else r=is(a,t,0,r,!1);const _=a.outputs;let h;if(u&&null!==_&&(h=_[i])){const e=h.length;if(e)for(let n=0;n0;)t=t[15],e--;return t}(e,Fe.lFrame.contextLView))[8]}(e)}function ss(e,t){let n=null;const a=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let i=0;i=0}const ps={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function gs(e){return e.substring(ps.key,ps.keyEnd)}function ms(e,t){const n=ps.textEnd;return n===t?-1:(t=ps.keyEnd=function(e,t,n){for(;t32;)t++;return t}(e,ps.key=t,n),fs(e,t,n))}function fs(e,t,n){for(;t=0;n=ms(t,n))_n(e,gs(t),!0)}function vs(e,t,n,a){const i=Be(),r=ze(),s=Xe(2);r.firstUpdatePass&&Os(r,e,s,a),t!==hi&&Fr(i,s,t)&&Ns(r,r.data[_t()],i,i[11],e,i[s+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=d(Un(e)))),e}(t,n),a,s)}function Ts(e,t,n,a){const i=ze(),r=Xe(2);i.firstUpdatePass&&Os(i,null,r,a);const s=Be();if(n!==hi&&Fr(s,r,n)){const o=i.data[_t()];if(Ms(o,a)&&!Cs(i,r)){let e=a?o.classesWithoutHost:o.stylesWithoutHost;null!==e&&(n=u(e,n||"")),qr(i,o,s,n,a)}else!function(e,t,n,a,i,r,s,o){i===hi&&(i=V);let l=0,c=0,d=0=e.expandoStartIndex}function Os(e,t,n,a){const i=e.data;if(null===i[n+1]){const r=i[_t()],s=Cs(e,n);Ms(r,a)&&null===t&&!s&&(t=!1),t=function(e,t,n,a){const i=tt(e);let r=a?t.residualClasses:t.residualStyles;if(null===i)0===(a?t.classBindings:t.styleBindings)&&(n=As(n=Rs(null,e,t,n,a),t.attrs,a),r=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==i)if(n=Rs(i,e,t,n,a),null===r){let n=function(e,t,n){const a=n?t.classBindings:t.styleBindings;if(0!==Si(a))return e[fi(a)]}(e,t,a);void 0!==n&&Array.isArray(n)&&(n=Rs(null,e,t,n[1],a),n=As(n,t.attrs,a),function(e,t,n,a){e[fi(n?t.classBindings:t.styleBindings)]=a}(e,t,a,n))}else r=function(e,t,n){let a;const i=t.directiveEnd;for(let r=1+t.directiveStylingLast;r0)&&(d=!0)}else c=n;if(i)if(0!==l){const t=fi(e[o+1]);e[a+1]=mi(t,o),0!==t&&(e[t+1]=bi(e[t+1],a)),e[o+1]=131071&e[o+1]|a<<17}else e[a+1]=mi(o,0),0!==o&&(e[o+1]=bi(e[o+1],a)),o=a;else e[a+1]=mi(l,0),0===o?o=a:e[l+1]=bi(e[l+1],a),l=a;d&&(e[a+1]=Ei(e[a+1])),_s(e,c,a,!0),_s(e,c,a,!1),function(e,t,n,a,i){const r=i?e.residualClasses:e.residualStyles;null!=r&&"string"==typeof t&&pn(r,t)>=0&&(n[a+1]=yi(n[a+1]))}(t,c,e,a,r),s=mi(o,l),r?t.classBindings=s:t.styleBindings=s}(i,r,t,n,s,a)}}function Rs(e,t,n,a,i){let r=null;const s=n.directiveEnd;let o=n.directiveStylingLast;for(-1===o?o=n.directiveStart:o++;o0;){const t=e[i],r=Array.isArray(t),l=r?t[1]:t,c=null===l;let d=n[i+1];d===hi&&(d=c?V:void 0);let u=c?hn(d,a):l===a?d:void 0;if(r&&!Is(u)&&(u=hn(t,a)),Is(u)&&(o=u,s))return o;const _=e[i+1];i=s?fi(_):Si(_)}if(null!==t){let e=r?t.residualClasses:t.residualStyles;null!=e&&(o=hn(e,a))}return o}function Is(e){return void 0!==e}function Ms(e,t){return 0!=(e.flags&(t?16:32))}function xs(e,t=""){const n=Be(),a=ze(),i=e+20,r=a.firstCreatePass?Ci(a,i,1,t,null):a.data[i],s=n[i]=function(e,t){return Ce(e)?e.createText(t):e.createTextNode(t)}(n[11],t);$a(a,n,s,r),Ye(r,!1)}function Ds(e){return Ls("",e,""),Ds}function Ls(e,t,n){const a=Be(),i=zr(a,e,t,n);return i!==hi&&function(e,t,n){const a=Ae(t,e);!function(e,t,n){Ce(e)?e.setValue(t,n):t.textContent=n}(e[11],a,n)}(a,_t(),i),Ls}function Ps(e,t,n){Ts(_n,ys,zr(Be(),e,t,n),!0)}function ks(e,t,n){const a=Be();return Fr(a,Ze(),t)&&Fi(ze(),pt(),a,e,t,a[11],n,!0),ks}function Fs(e,t,n){const a=Be();if(Fr(a,Ze(),t)){const i=ze(),r=pt();Fi(i,r,a,e,t,function(e,t,n){return(null===e||he(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}(tt(i.data),r,a),n,!0)}return Fs}const Us=void 0;var Bs=["en",[["a","p"],["AM","PM"],Us],[["AM","PM"],Us,Us],[["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"]],Us,[["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"]],Us,[["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}",Us,"{1} 'at' {0}",Us],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let zs={};function Gs(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Hs(t);if(n)return n;const a=t.split("-")[0];if(n=Hs(a),n)return n;if("en"===a)return Bs;throw new Error(`Missing locale data for the locale "${e}".`)}function Vs(e){return Gs(e)[Ys.PluralCase]}function Hs(e){return e in zs||(zs[e]=z.ng&&z.ng.common&&z.ng.common.locales&&z.ng.common.locales[e]),zs[e]}var Ys=(()=>((Ys=Ys||{})[Ys.LocaleId=0]="LocaleId",Ys[Ys.DayPeriodsFormat=1]="DayPeriodsFormat",Ys[Ys.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ys[Ys.DaysFormat=3]="DaysFormat",Ys[Ys.DaysStandalone=4]="DaysStandalone",Ys[Ys.MonthsFormat=5]="MonthsFormat",Ys[Ys.MonthsStandalone=6]="MonthsStandalone",Ys[Ys.Eras=7]="Eras",Ys[Ys.FirstDayOfWeek=8]="FirstDayOfWeek",Ys[Ys.WeekendRange=9]="WeekendRange",Ys[Ys.DateFormat=10]="DateFormat",Ys[Ys.TimeFormat=11]="TimeFormat",Ys[Ys.DateTimeFormat=12]="DateTimeFormat",Ys[Ys.NumberSymbols=13]="NumberSymbols",Ys[Ys.NumberFormats=14]="NumberFormats",Ys[Ys.CurrencyCode=15]="CurrencyCode",Ys[Ys.CurrencySymbol=16]="CurrencySymbol",Ys[Ys.CurrencyName=17]="CurrencyName",Ys[Ys.Currencies=18]="Currencies",Ys[Ys.Directionality=19]="Directionality",Ys[Ys.PluralCase=20]="PluralCase",Ys[Ys.ExtraData=21]="ExtraData",Ys))();let qs="en-US";function js(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,a){throw new Error(`ASSERTION ERROR: ${e} [Expected=> null != ${t} <=Actual]`)}(n,t),"string"==typeof e&&(qs=e.toLowerCase().replace(/_/g,"-"))}function $s(e,t,n,a,i){if(e=p(e),Array.isArray(e))for(let r=0;r>20;if(vr(e)||!e.multi){const a=new yt(l,i,Hr),h=Ks(o,t,i?d:d+_,u);-1===h?(Ft(Dt(c,s),r,o),Ws(r,e,t.length),t.push(o),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(a),s.push(a)):(n[h]=a,s[h]=a)}else{const h=Ks(o,t,d+_,u),p=Ks(o,t,d,d+_),g=h>=0&&n[h],m=p>=0&&n[p];if(i&&!m||!i&&!g){Ft(Dt(c,s),r,o);const d=function(e,t,n,a,i){const r=new yt(e,n,Hr);return r.multi=[],r.index=t,r.componentProviders=0,Qs(r,i,a&&!n),r}(i?Xs:Zs,n.length,i,a,l);!i&&m&&(n[p].providerFactory=d),Ws(r,e,t.length,0),t.push(o),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(d),s.push(d)}else Ws(r,e,h>-1?h:p,Qs(n[i?p:h],l,!i&&a));!i&&a&&m&&n[p].componentProviders++}}}function Ws(e,t,n,a){const i=vr(t);if(i||t.useClass){const r=(t.useClass||t).prototype.ngOnDestroy;if(r){const s=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const e=s.indexOf(n);-1===e?s.push(n,[a,r]):s[e+1].push(a,r)}else s.push(n,r)}}}function Qs(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ks(e,t,n,a){for(let i=n;i{n.providersResolver=(n,a)=>function(e,t,n){const a=ze();if(a.firstCreatePass){const i=he(e);$s(n,a.data,a.blueprint,i,!0),$s(t,a.data,a.blueprint,i,!1)}}(n,a?a(e):e,t)}}class to{}class no{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${d(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}class ao{}function io(...e){}function ro(e,t){return new oo(Ne(e,t))}ao.NULL=new no;const so=function(){return ro(Ve(),Be())};let oo=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=so,e})();function lo(e){return e instanceof oo?e.nativeElement:e}class co{}let uo=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>_o(),e})();const _o=function(){const e=Be(),t=Me(Ve().index,e);return function(e){return e[11]}(le(t)?t:e)};let ho=(()=>{class e{}return e.\u0275prov=b({token:e,providedIn:"root",factory:()=>null}),e})();class po{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const go=new po("12.1.0");class mo{constructor(){}supports(e){return Lr(e)}create(e){return new Eo(e)}}const fo=(e,t)=>t;class Eo{constructor(e){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=e||fo}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,a=0,i=null;for(;t||n;){const r=!n||t&&t.currentIndex{a=this._trackByFn(t,e),null!==i&&Object.is(i.trackById,a)?(r&&(i=this._verifyReinsertion(i,e,a,t)),Object.is(i.item,e)||this._addIdentityChange(i,e)):(i=this._mismatch(i,e,a,t),r=!0),i=i._next,t++}),this.length=t;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,a){let i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,a)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,a))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,a)):e=this._addAfter(new So(t,n),i,a),e}_verifyReinsertion(e,t,n,a){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?e=this._reinsertAfter(i,e._prev,a):e.currentIndex!=a&&(e.currentIndex=a,this._addToMoves(e,a)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}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(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const a=e._prevRemoved,i=e._nextRemoved;return null===a?this._removalsHead=i:a._nextRemoved=i,null===i?this._removalsTail=a:i._prevRemoved=a,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const a=null===t?this._itHead:t._next;return e._next=a,e._prev=t,null===a?this._itTail=e:a._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new yo),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new yo),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class So{constructor(e,t){this.item=e,this.trackById=t,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 bo{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class yo{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new bo,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function vo(e,t,n){const a=e.previousIndex;if(null===a)return a;let i=0;return n&&a{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const a=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,a)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const a=n._prev,i=n._next;return a&&(a._next=i),i&&(i._prev=a),n._next=null,n._prev=null,n}const n=new Oo(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class Oo{constructor(e){this.key=e,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 Ro(){return new Ao([new mo])}let Ao=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||Ro()),deps:[[e,new An,new Rn]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.\u0275prov=b({token:e,providedIn:"root",factory:Ro}),e})();function No(){return new wo([new To])}let wo=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||No()),deps:[[e,new An,new Rn]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=b({token:e,providedIn:"root",factory:No}),e})();function Io(e,t,n,a,i=!1){for(;null!==n;){const r=t[n.index];if(null!==r&&a.push(Re(r)),ce(r))for(let e=10;e-1&&(Fa(e,n),dn(t,n))}this._attachedToViewContainer=!1}Ua(this._lView[1],this._lView)}onDestroy(e){Pi(this._lView[1],this._lView,null,e)}markForCheck(){Ji(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){er(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){We(!0);try{er(e,t,n)}finally{We(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var e;this._appRef=null,Xa(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class xo extends Mo{constructor(e){super(e),this._view=e}detectChanges(){tr(this._view)}checkNoChanges(){!function(e){We(!0);try{tr(e)}finally{We(!1)}}(this._view)}get context(){return null}}const Do=function(e){return function(e,t,n){if(ue(e)&&!n){const n=Me(e.index,t);return new Mo(n,n)}return 47&e.type?new Mo(t[16],t):null}(Ve(),Be(),16==(16&e))};let Lo=(()=>{class e{}return e.__NG_ELEMENT_ID__=Do,e})();const Po=[new To],ko=new Ao([new mo]),Fo=new wo(Po),Uo=function(){return Vo(Ve(),Be())};let Bo=(()=>{class e{}return e.__NG_ELEMENT_ID__=Uo,e})();const zo=Bo,Go=class extends zo{constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=Ti(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[19];return null!==a&&(n[19]=a.createEmbeddedView(t)),Ri(t,n,e),new Mo(n)}};function Vo(e,t){return 4&e.type?new Go(t,e,ro(e,t)):null}class Ho{}class Yo{}const qo=function(){return Zo(Ve(),Be())};let jo=(()=>{class e{}return e.__NG_ELEMENT_ID__=qo,e})();const $o=jo,Wo=class extends $o{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return ro(this._hostTNode,this._hostLView)}get injector(){return new Wt(this._hostTNode,this._hostLView)}get parentInjector(){const e=kt(this._hostTNode,this._hostLView);if(At(e)){const t=wt(e,this._hostLView),n=Nt(e);return new Wt(t[1].data[n+8],t)}return new Wt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=Qo(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,n){const a=e.createEmbeddedView(t||{});return this.insert(a,n),a}createComponent(e,t,n,a,i){const r=n||this.parentInjector;if(!i&&null==e.ngModule&&r){const e=r.get(Ho,null);e&&(i=e)}const s=e.create(r,a,void 0,i);return this.insert(s.hostView,t),s}insert(e,t){const n=e._lView,a=n[1];if(ce(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],a=new Wo(t,t[6],t[3]);a.detach(a.indexOf(e))}}const i=this._adjustIndex(t),r=this._lContainer;!function(e,t,n,a){const i=10+a,r=n.length;a>0&&(n[i-1][4]=t),aOa});class nl extends to{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(_i).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return el(this.componentDef.inputs)}get outputs(){return el(this.componentDef.outputs)}create(e,t,n,a){const i=(a=a||this.ngModule)?function(e,t){return{get:(n,a,i)=>{const r=e.get(n,Xo,i);return r!==Xo||a===Xo?r:t.get(n,a,i)}}}(e,a.injector):e,r=i.get(co,Oe),s=i.get(ho,null),o=r.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(e,t,n){if(Ce(e))return e.selectRootElement(t,n===P.ShadowDom);let a="string"==typeof t?e.querySelector(t):t;return a.textContent="",a}(o,n,this.componentDef.encapsulation):Pa(r.createRenderer(null,this.componentDef),l,function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),d=this.componentDef.onPush?576:528,u={components:[],scheduler:Oa,clean:ar,playerHandler:null,flags:0},_=Li(0,null,null,1,0,null,null,null,null,null),h=Ti(null,_,u,d,null,null,r,o,s,i);let p,g;st(h);try{const e=function(e,t,n,a,i,r){const s=n[1];n[20]=e;const o=Ci(s,20,2,"#host",null),l=o.mergedAttrs=t.hostAttrs;null!==l&&(lr(o,l,!0),null!==e&&(vt(i,e,l),null!==o.classes&&ti(i,e,o.classes),null!==o.styles&&ei(i,e,o.styles)));const c=a.createRenderer(e,t),d=Ti(n,Di(t),null,t.onPush?64:16,n[20],o,a,c,null,null);return s.firstCreatePass&&(Ft(Dt(o,n),s,t.type),Gi(s,o),Hi(o,n.length,1)),Xi(n,d),n[20]=d}(c,this.componentDef,h,r,o);if(c)if(n)vt(o,c,["ng-version",go.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let a=1,i=2;for(;a0&&ti(o,c,t.join(" "))}if(g=we(_,20),void 0!==t){const e=g.projection=[];for(let n=0;ne(s,t)),t.contentQueries){const e=Ve();t.contentQueries(1,s,e.directiveStart)}const o=Ve();return!r.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(ht(o.index),Bi(n[1],o,0,o.directiveStart,o.directiveEnd,t),zi(t,s)),s}(e,this.componentDef,h,u,[Or]),Ri(_,h,null)}finally{ut()}return new al(this.componentType,p,ro(g,h),h,g)}}class al extends class{}{constructor(e,t,n,a,i){super(),this.location=n,this._rootLView=a,this._tNode=i,this.instance=t,this.hostView=this.changeDetectorRef=new xo(a),this.componentType=e}get injector(){return new Wt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}const il=new Map;class rl extends Ho{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Jo(this);const n=oe(e),a=e[$]||null;a&&js(a),this._bootstrapComponents=Aa(n.bootstrap),this._r3Injector=mr(e,t,[{provide:Ho,useValue:this},{provide:ao,useValue:this.componentFactoryResolver}],d(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=Cr.THROW_IF_NOT_FOUND,n=w.Default){return e===Cr||e===Ho||e===cr?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class sl extends Yo{constructor(e){super(),this.moduleType=e,null!==oe(e)&&function(e){const t=new Set;!function e(n){const a=oe(n,!0),i=a.id;null!==i&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${d(t)} vs ${d(t.name)}`)}(i,il.get(i),n),il.set(i,n));const r=Aa(a.imports);for(const s of r)t.has(s)||(t.add(s),e(s))}(e)}(e)}create(e){return new rl(this.moduleType,e)}}function ol(e,t,n){const a=Qe()+e,i=Be();return i[a]===hi?kr(i,a,n?t.call(n):t()):function(e,t){return e[t]}(i,a)}function ll(e,t,n,a){return dl(Be(),Qe(),e,t,n,a)}function cl(e,t){const n=e[t];return n===hi?void 0:n}function dl(e,t,n,a,i,r){const s=t+n;return Fr(e,s,i)?kr(e,s+1,r?a.call(r,i):a(i)):cl(e,s+1)}function ul(e,t){const n=ze();let a;const i=e+20;n.firstCreatePass?(a=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const a=t[n];if(e===a.name)return a}throw new m("302",`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[i]=a,a.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,a.onDestroy)):a=n.data[i];const r=a.factory||(a.factory=pe(a.type)),s=M(Hr);try{const e=Mt(!1),t=r();return Mt(e),function(e,t,n,a){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=a}(n,Be(),i,t),t}finally{M(s)}}function _l(e,t,n){const a=e+20,i=Be(),r=Ie(i,a);return ml(i,gl(i,a)?dl(i,Qe(),t,r.transform,n,r):r.transform(n))}function hl(e,t,n,a){const i=e+20,r=Be(),s=Ie(r,i);return ml(r,gl(r,i)?function(e,t,n,a,i,r,s){const o=t+n;return Ur(e,o,i,r)?kr(e,o+2,s?a.call(s,i,r):a(i,r)):cl(e,o+2)}(r,Qe(),t,s.transform,n,a,s):s.transform(n,a))}function pl(e,t,n,a,i){const r=e+20,s=Be(),o=Ie(s,r);return ml(s,gl(s,r)?function(e,t,n,a,i,r,s,o){const l=t+n;return function(e,t,n,a,i){const r=Ur(e,t,n,a);return Fr(e,t+2,i)||r}(e,l,i,r,s)?kr(e,l+3,o?a.call(o,i,r,s):a(i,r,s)):cl(e,l+3)}(s,Qe(),t,o.transform,n,a,i,o):o.transform(n,a,i))}function gl(e,t){return e[1].data[t].pure}function ml(e,t){return Dr.isWrapped(t)&&(t=Dr.unwrap(t),e[Ke()]=hi),t}function fl(e){return t=>{setTimeout(e,void 0,t)}}const El=class extends a.xQ{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){var a,r,s;let o=e,l=t||(()=>null),c=n;if(e&&"object"==typeof e){const t=e;o=null===(a=t.next)||void 0===a?void 0:a.bind(t),l=null===(r=t.error)||void 0===r?void 0:r.bind(t),c=null===(s=t.complete)||void 0===s?void 0:s.bind(t)}this.__isAsync&&(l=fl(l),o&&(o=fl(o)),c&&(c=fl(c)));const d=super.subscribe({next:o,error:l,complete:c});return e instanceof i.w&&e.add(d),d}};function Sl(){return this._results[xr()]()}class bl{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=xr(),n=bl.prototype;n[t]||(n[t]=Sl)}get changes(){return this._changes||(this._changes=new El)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;const n=on(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let a=0;a0)a.push(s[e/2]);else{const i=r[e+1],s=t[-n];for(let e=10;e({bindingPropertyName:e})),Bl=en("Output",e=>({bindingPropertyName:e})),zl=new tn("Application Initializer");let Gl=(()=>{class e{constructor(e){this.appInits=e,this.resolve=io,this.reject=io,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{t.subscribe({complete:e,error:n})});e.push(n)}}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(yn(zl,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e})();const Vl=new tn("AppId"),Hl={provide:Vl,useFactory:function(){return`${Yl()}${Yl()}${Yl()}`},deps:[]};function Yl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ql=new tn("Platform Initializer"),jl=new tn("Platform ID"),$l=new tn("appBootstrapListener");let Wl=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e})();const Ql=new tn("LocaleId"),Kl=new tn("DefaultCurrencyCode");class Zl{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const Xl=function(e){return new sl(e)},Jl=Xl,ec=function(e){return Promise.resolve(Xl(e))},tc=function(e){const t=Xl(e),n=Aa(oe(e).declarations).reduce((e,t)=>{const n=se(t);return n&&e.push(new nl(n)),e},[]);return new Zl(t,n)},nc=tc,ac=function(e){return Promise.resolve(tc(e))};let ic=(()=>{class e{constructor(){this.compileModuleSync=Jl,this.compileModuleAsync=ec,this.compileModuleAndAllComponentsSync=nc,this.compileModuleAndAllComponentsAsync=ac}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e})();const rc=(()=>Promise.resolve(0))();function sc(e){"undefined"==typeof Zone?rc.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class oc{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new El(!1),this.onMicrotaskEmpty=new El(!1),this.onStable=new El(!1),this.onError=new El(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=!n&&t,this.shouldCoalesceRunChangeDetection=n,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let e=z.requestAnimationFrame,t=z.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const a=t[Zone.__symbol__("OriginalDelegate")];a&&(t=a)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(z,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,dc(e),e.isCheckStableRunning=!0,cc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),dc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,a,i,r,s,o)=>{try{return uc(e),n.invokeTask(i,r,s,o)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||e.shouldCoalesceRunChangeDetection)&&t(),_c(e)}},onInvoke:(n,a,i,r,s,o,l)=>{try{return uc(e),n.invoke(i,r,s,o,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),_c(e)}},onHasTask:(t,n,a,i)=>{t.hasTask(a,i),n===a&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,dc(e),cc(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,n,a,i)=>(t.handleError(a,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!oc.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(oc.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,a){const i=this._inner,r=i.scheduleEventTask("NgZoneEvent: "+a,e,lc,io,io);try{return i.runTask(r,t,n)}finally{i.cancelTask(r)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}const lc={};function cc(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 dc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function uc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function _c(e){e._nesting--,cc(e)}class hc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new El,this.onMicrotaskEmpty=new El,this.onStable=new El,this.onError=new El}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,a){return e.apply(t,n)}}let pc=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?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:()=>{oc.assertNotInAngularZone(),sc(()=>{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())sc(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let a=-1;t&&t>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==a),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:a,updateCb:n})}whenStable(e,t,n){if(n&&!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(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.\u0275fac=function(t){return new(t||e)(yn(oc))},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e})(),gc=(()=>{class e{constructor(){this._applications=new Map,Sc.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Sc.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e})();class mc{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}function fc(e){Sc=e}let Ec,Sc=new mc,bc=!0,yc=!1;function vc(){return yc=!0,bc}function Tc(){if(yc)throw new Error("Cannot enable prod mode after platform setup.");bc=!1}const Cc=new tn("AllowMultipleToken");class Oc{constructor(e,t){this.name=e,this.token=t}}function Rc(e,t,n=[]){const a=`Platform: ${t}`,i=new tn(a);return(t=[])=>{let r=Ac();if(!r||r.injector.get(Cc,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{const e=n.concat(t).concat({provide:i,useValue:!0},{provide:ur,useValue:"platform"});!function(e){if(Ec&&!Ec.destroyed&&!Ec.injector.get(Cc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ec=e.get(Nc);const t=e.get(ql,null);t&&t.forEach(e=>e())}(Cr.create({providers:e,name:a}))}return function(e){const t=Ac();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(i)}}function Ac(){return Ec&&!Ec.destroyed?Ec:null}let Nc=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new hc:("zone.js"===e?void 0:e)||new oc({enableLongStackTrace:vc(),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(t?t.ngZone:void 0,{ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1}),a=[{provide:oc,useValue:n}];return n.run(()=>{const t=Cr.create({providers:a,parent:this.injector,name:e.moduleType.name}),i=e.create(t),r=i.injector.get(Ca,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const e=n.onError.subscribe({next:e=>{r.handleError(e)}});i.onDestroy(()=>{Mc(this._modules,i),e.unsubscribe()})}),function(e,t,n){try{const a=n();return Jr(a)?a.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):a}catch(a){throw t.runOutsideAngular(()=>e.handleError(a)),a}}(r,n,()=>{const e=i.injector.get(Gl);return e.runInitializers(),e.donePromise.then(()=>(js(i.injector.get(Ql,"en-US")||"en-US"),this._moduleDoBootstrap(i),i))})})}bootstrapModule(e,t=[]){const n=wc({},t);return function(e,t,n){const a=new sl(n);return Promise.resolve(a)}(0,0,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(Ic);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${d(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(yn(Cr))},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e})();function wc(e,t){return Array.isArray(t)?t.reduce(wc,e):Object.assign(Object.assign({},e),t)}let Ic=(()=>{class e{constructor(e,t,n,a,i){this._zone=e,this._injector=t,this._exceptionHandler=n,this._componentFactoryResolver=a,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new r.y(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),c=new r.y(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{oc.assertNotInAngularZone(),sc(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{oc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=(0,s.T)(l,c.pipe((0,o.B)()))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof to?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const a=n.isBoundToModule?void 0:this._injector.get(Ho),i=n.create(Cr.NULL,[],t||n.selector,a),r=i.location.nativeElement,s=i.injector.get(pc,null),o=s&&i.injector.get(gc);return s&&o&&o.registerApplication(r,s),i.onDestroy(()=>{this.detachView(i.hostView),Mc(this.components,i),o&&o.unregisterApplication(r)}),this._loadComponent(i),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;Mc(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get($l,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(yn(oc),yn(Cr),yn(Ca),yn(ao),yn(Gl))},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e})();function Mc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class xc{}class Dc{}const Lc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Pc=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||Lc}load(e){return this.loadAndCompile(e)}loadAndCompile(e){let[t,a]=e.split("#");return void 0===a&&(a="default"),n(98255)(t).then(e=>e[a]).then(e=>kc(e,t,a)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,a]=e.split("#"),i="NgFactory";return void 0===a&&(a="default",i=""),n(98255)(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[a+i]).then(e=>kc(e,t,a))}}return e.\u0275fac=function(t){return new(t||e)(yn(ic),yn(Dc,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac}),e})();function kc(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}const Fc=function(e){return null},Uc=Rc(null,"core",[{provide:jl,useValue:"unknown"},{provide:Nc,deps:[Cr]},{provide:gc,deps:[]},{provide:Wl,deps:[]}]),Bc=[{provide:Ic,useClass:Ic,deps:[oc,Cr,Ca,ao,Gl]},{provide:tl,deps:[oc],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Gl,useClass:Gl,deps:[[new Rn,zl]]},{provide:ic,useClass:ic,deps:[]},Hl,{provide:Ao,useFactory:function(){return ko},deps:[]},{provide:wo,useFactory:function(){return Fo},deps:[]},{provide:Ql,useFactory:function(e){return js(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new On(Ql),new Rn,new An]]},{provide:Kl,useValue:"USD"}];let zc=(()=>{class e{constructor(e){}}return e.\u0275fac=function(t){return new(t||e)(yn(Ic))},e.\u0275mod=te({type:e}),e.\u0275inj=y({providers:Bc}),e})()},3679:function(e,t,n){"use strict";n.d(t,{Fj:function(){return h},NI:function(){return J},oH:function(){return ge},u5:function(){return Oe},Cf:function(){return m},JU:function(){return d},JJ:function(){return F},JL:function(){return U},F:function(){return ie},On:function(){return oe},YN:function(){return Se},_:function(){return _e},UX:function(){return Re},EJ:function(){return Ee},kI:function(){return S},_Y:function(){return le},Kr:function(){return Te}});var a=n(37716),i=n(38583),r=n(94402),s=n(35758),o=n(88002);let l=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.Qsj),a.Y36(a.SBq))},e.\u0275dir=a.lG2({type:e}),e})(),c=(()=>{class e extends l{}return e.\u0275fac=function(){let t;return function(n){return(t||(t=a.n5z(e)))(n||e)}}(),e.\u0275dir=a.lG2({type:e,features:[a.qOj]}),e})();const d=new a.OlP("NgValueAccessor"),u={provide:d,useExisting:(0,a.Gpc)(()=>h),multi:!0},_=new a.OlP("CompositionEventMode");let h=(()=>{class e extends l{constructor(e,t,n){super(e,t),this._compositionMode=n,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=(0,i.q)()?(0,i.q)().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.Qsj),a.Y36(a.SBq),a.Y36(_,8))},e.\u0275dir=a.lG2({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&a.NdJ("input",function(e){return t._handleInput(e.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(e){return t._compositionEnd(e.target.value)})},features:[a._Bn([u]),a.qOj]}),e})();function p(e){return null==e||0===e.length}function g(e){return null!=e&&"number"==typeof e.length}const m=new a.OlP("NgValidators"),f=new a.OlP("NgAsyncValidators"),E=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class S{static min(e){return function(e){return t=>{if(p(t.value)||p(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n{if(p(t.value)||p(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}(e)}static required(e){return function(e){return p(e.value)?{required:!0}:null}(e)}static requiredTrue(e){return function(e){return!0===e.value?null:{required:!0}}(e)}static email(e){return function(e){return p(e.value)||E.test(e.value)?null:{email:!0}}(e)}static minLength(e){return function(e){return t=>p(t.value)||!g(t.value)?null:t.value.lengthg(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}(e)}static pattern(e){return function(e){if(!e)return b;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),e=>{if(p(e.value))return null;const a=e.value;return t.test(a)?null:{pattern:{requiredPattern:n,actualValue:a}}}}(e)}static nullValidator(e){return null}static compose(e){return R(e)}static composeAsync(e){return N(e)}}function b(e){return null}function y(e){return null!=e}function v(e){const t=(0,a.QGY)(e)?(0,r.D)(e):e;return(0,a.CqO)(t),t}function T(e){let t={};return e.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function C(e,t){return t.map(t=>t(e))}function O(e){return e.map(e=>function(e){return!e.validate}(e)?e:t=>e.validate(t))}function R(e){if(!e)return null;const t=e.filter(y);return 0==t.length?null:function(e){return T(C(e,t))}}function A(e){return null!=e?R(O(e)):null}function N(e){if(!e)return null;const t=e.filter(y);return 0==t.length?null:function(e){const n=C(e,t).map(v);return(0,s.D)(n).pipe((0,o.U)(T))}}function w(e){return null!=e?N(O(e)):null}function I(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function M(e){return e._rawValidators}function x(e){return e._rawAsyncValidators}let D=(()=>{class e{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=A(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=w(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e}),e})(),L=(()=>{class e extends D{get formDirective(){return null}get path(){return null}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=a.n5z(e)))(n||e)}}(),e.\u0275dir=a.lG2({type:e,features:[a.qOj]}),e})();class P extends D{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class k{constructor(e){this._cd=e}is(e){var t,n,a;return"submitted"===e?!!(null===(t=this._cd)||void 0===t?void 0:t.submitted):!!(null===(a=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===a?void 0:a[e])}}let F=(()=>{class e extends k{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(P,2))},e.\u0275dir=a.lG2({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&a.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[a.qOj]}),e})(),U=(()=>{class e extends k{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(L,10))},e.\u0275dir=a.lG2({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,t){2&e&&a.ekj("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))("ng-submitted",t.is("submitted"))},features:[a.qOj]}),e})();function B(e,t){V(e,t),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&H(e,t)})}(e,t),function(e,t){const n=(e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&H(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){const n=e=>{t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function z(e,t,n=!0){const a=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(a),t.valueAccessor.registerOnTouched(a)),function(e,t){let n=!1;if(null!==e){if(null!==t.validator){const a=M(e);if(Array.isArray(a)&&a.length>0){const i=a.filter(e=>e!==t.validator);i.length!==a.length&&(n=!0,e.setValidators(i))}}if(null!==t.asyncValidator){const a=x(e);if(Array.isArray(a)&&a.length>0){const i=a.filter(e=>e!==t.asyncValidator);i.length!==a.length&&(n=!0,e.setAsyncValidators(i))}}}const a=()=>{};G(t._rawValidators,a),G(t._rawAsyncValidators,a)}(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function G(e,t){e.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function V(e,t){const n=M(e);null!==t.validator?e.setValidators(I(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const a=x(e);null!==t.asyncValidator?e.setAsyncValidators(I(a,t.asyncValidator)):"function"==typeof a&&e.setAsyncValidators([a]);const i=()=>e.updateValueAndValidity();G(t._rawValidators,i),G(t._rawAsyncValidators,i)}function H(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Y(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}function q(e,t){if(!t)return null;let n,a,i;return Array.isArray(t),t.forEach(e=>{e.constructor===h?n=e:Object.getPrototypeOf(e.constructor)===c?a=e:i=e}),i||a||n||null}function j(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function $(e){return(Z(e)?e.validators:e)||null}function W(e){return Array.isArray(e)?A(e):e||null}function Q(e,t){return(Z(t)?t.asyncValidators:e)||null}function K(e){return Array.isArray(e)?w(e):e||null}function Z(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class X{constructor(e,t){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=t,this._composedValidatorFn=W(this._rawValidators),this._composedAsyncValidatorFn=K(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=W(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=K(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;const t=v(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;let a=e;return t.forEach(e=>{a=a instanceof ee?a.controls.hasOwnProperty(e)?a.controls[e]:null:a instanceof te&&a.at(e)||null}),a}(this,e)}getError(e,t){const n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new a.vpe,this.statusChanges=new a.vpe}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Z(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class J extends X{constructor(e=null,t,n){super($(t),Q(n,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){j(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){j(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class ee extends X{constructor(e,t,n){super($(t),Q(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t,n={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(Object.keys(e).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((n,a)=>{n.reset(e[a],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t instanceof J?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>{const n=this.controls[t];n&&e(n,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const t of Object.keys(this.controls)){const n=this.controls[t];if(this.contains(t)&&e(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e))}_reduceChildren(e,t){let n=e;return this._forEachChild((e,a)=>{n=t(n,e,a)}),n}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class te extends X{constructor(e,t,n){super($(t),Q(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[e]}push(e,t={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(e,t,n={}){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(e,t,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(e.forEach((e,n)=>{this.at(n)&&this.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild((n,a)=>{n.reset(e[a],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof J?e.value:e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error(`Cannot find form control at index ${e}`)}_forEachChild(e){this.controls.forEach((t,n)=>{e(t,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}const ne={provide:L,useExisting:(0,a.Gpc)(()=>ie)},ae=(()=>Promise.resolve(null))();let ie=(()=>{class e extends L{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new a.vpe,this.form=new ee({},A(e),w(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){ae.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),B(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){ae.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),j(this._directives,e)})}addFormGroup(e){ae.then(()=>{const t=this._findContainer(e.path),n=new ee({});(function(e,t){V(e,t)})(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){ae.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){ae.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,t=this._directives,this.form._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)}),this.ngSubmit.emit(e),!1;var t}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(m,10),a.Y36(f,10))},e.\u0275dir=a.lG2({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&a.NdJ("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[a._Bn([ne]),a.qOj]}),e})();const re={provide:P,useExisting:(0,a.Gpc)(()=>oe)},se=(()=>Promise.resolve(null))();let oe=(()=>{class e extends P{constructor(e,t,n,i){super(),this.control=new J,this._registered=!1,this.update=new a.vpe,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=q(0,i)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),Y(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?[...this._parent.path,this.name]:[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){B(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){se.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,n=""===t||t&&"false"!==t;se.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(L,9),a.Y36(m,10),a.Y36(f,10),a.Y36(d,10))},e.\u0275dir=a.lG2({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[a._Bn([re]),a.qOj,a.TTD]}),e})(),le=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const ce={provide:d,useExisting:(0,a.Gpc)(()=>_e),multi:!0};let de=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({}),e})(),ue=(()=>{class e{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,a.Yz7)({factory:function(){return new e},token:e,providedIn:de}),e})(),_e=(()=>{class e extends c{constructor(e,t,n,a){super(e,t),this._registry=n,this._injector=a,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(P),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this.setProperty("checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}fireUncheck(e){this.writeValue(e)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.Qsj),a.Y36(a.SBq),a.Y36(ue),a.Y36(a.zs3))},e.\u0275dir=a.lG2({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&a.NdJ("change",function(){return t.onChange()})("blur",function(){return t.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[a._Bn([ce]),a.qOj]}),e})();const he=new a.OlP("NgModelWithFormControlWarning"),pe={provide:P,useExisting:(0,a.Gpc)(()=>ge)};let ge=(()=>{class e extends P{constructor(e,t,n,i){super(),this._ngModelWarningConfig=i,this.update=new a.vpe,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=q(0,n)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&z(t,this,!1),B(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Y(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&z(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(m,10),a.Y36(f,10),a.Y36(d,10),a.Y36(he,8))},e.\u0275dir=a.lG2({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[a._Bn([pe]),a.qOj,a.TTD]}),e._ngModelWarningSentOnce=!1,e})();const me={provide:d,useExisting:(0,a.Gpc)(()=>Ee),multi:!0};function fe(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let Ee=(()=>{class e extends c{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this.setProperty("selectedIndex",-1);const n=fe(t,e);this.setProperty("value",n)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=a.n5z(e)))(n||e)}}(),e.\u0275dir=a.lG2({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&a.NdJ("change",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[a._Bn([me]),a.qOj]}),e})(),Se=(()=>{class e{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(fe(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.Qsj),a.Y36(Ee,9))},e.\u0275dir=a.lG2({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const be={provide:d,useExisting:(0,a.Gpc)(()=>ve),multi:!0};function ye(e,t){return null==e?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}let ve=(()=>{class e extends c{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const n=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(n.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const n=[];if(void 0!==t.selectedOptions){const e=t.selectedOptions;for(let t=0;t{class e{constructor(e,t,n){this._element=e,this._renderer=t,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(ye(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(ye(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.Qsj),a.Y36(ve,9))},e.\u0275dir=a.lG2({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})(),Ce=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[de]]}),e})(),Oe=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[Ce]}),e})(),Re=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:he,useValue:t.warnOnNgModelWithFormControl}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[Ce]}),e})()},39075:function(e,t,n){"use strict";n.d(t,{b2:function(){return U},H7:function(){return D},h_:function(){return z},Dx:function(){return H},q6:function(){return k},se:function(){return T}});var a=n(38583),i=n(37716);class r extends a.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class s extends r{static makeCurrent(){(0,a.HT)(new s)}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=(l=l||document.querySelector("base"),l?l.getAttribute("href"):null);return null==t?null:function(e){o=o||document.createElement("a"),o.setAttribute("href",e);const t=o.pathname;return"/"===t.charAt(0)?t:`/${t}`}(t)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return(0,a.Mx)(document.cookie,e)}}let o,l=null;const c=new i.OlP("TRANSITION_ID"),d=[{provide:i.ip1,useFactory:function(e,t,n){return()=>{n.get(i.CZH).donePromise.then(()=>{const n=(0,a.q)();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[c,a.K0,i.zs3],multi:!0}];class u{static init(){(0,i.VLi)(new u)}addToWindow(e){i.dqk.getAngularTestability=(t,n=!0)=>{const a=e.findTestabilityInTree(t,n);if(null==a)throw new Error("Could not find testability for element.");return a},i.dqk.getAllAngularTestabilities=()=>e.getAllTestabilities(),i.dqk.getAllAngularRootElements=()=>e.getAllRootElements(),i.dqk.frameworkStabilizers||(i.dqk.frameworkStabilizers=[]),i.dqk.frameworkStabilizers.push(e=>{const t=i.dqk.getAllAngularTestabilities();let n=t.length,a=!1;const r=function(t){a=a||t,n--,0==n&&e(a)};t.forEach(function(e){e.whenStable(r)})})}findTestabilityInTree(e,t,n){if(null==t)return null;const i=e.getTestability(t);return null!=i?i:n?(0,a.q)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}let _=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();const h=new i.OlP("EventManagerPlugins");let p=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let a=0;a{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})(),f=(()=>{class e extends m{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,t,n){e.forEach(e=>{const a=this._doc.createElement("style");a.textContent=e,n.push(t.appendChild(a))})}addHost(e){const t=[];this._addStylesToHost(this._stylesSet,e,t),this._hostNodes.set(e,t)}removeHost(e){const t=this._hostNodes.get(e);t&&t.forEach(E),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((t,n)=>{this._addStylesToHost(e,n,t)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(E))}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(a.K0))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();function E(e){(0,a.q)().remove(e)}const S={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/"},b=/%COMP%/g;function y(e,t,n){for(let a=0;a{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let T=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new C(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case i.ifc.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new O(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case 1:case i.ifc.ShadowDom:return new R(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=y(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(p),i.LFG(f),i.LFG(i.AFp))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();class C{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(S[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,a){if(a){t=a+":"+t;const i=S[a];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const a=S[n];a?e.removeAttributeNS(a,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,a){a&(i.JOm.DashCase|i.JOm.Important)?e.style.setProperty(t,n,a&i.JOm.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&i.JOm.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,v(n)):this.eventManager.addEventListener(e,t,v(n))}}class O extends C{constructor(e,t,n,a){super(e),this.component=n;const i=y(a+"-"+n.id,n.styles,[]);t.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(b,a+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(b,a+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class R extends C{constructor(e,t,n,a){super(e),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=y(a.id,a.styles,[]);for(let r=0;r{class e extends g{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(a.K0))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();const N=["alt","control","meta","shift"],w={"\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"},I={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"},M={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let x=(()=>{class e extends g{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,i){const r=e.parseEventName(n),s=e.eventCallback(r.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,a.q)().onAndCancel(t,r.domEventName,s))}static parseEventName(t){const n=t.toLowerCase().split("."),a=n.shift();if(0===n.length||"keydown"!==a&&"keyup"!==a)return null;const i=e._normalizeKey(n.pop());let r="";if(N.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),r+=e+".")}),r+=i,0!=n.length||0===i.length)return null;const s={};return s.domEventName=a,s.fullKey=r,s}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&I.hasOwnProperty(t)&&(t=I[t]))}return w[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),N.forEach(a=>{a!=n&&(0,M[a])(e)&&(t+=a+".")}),t+=n,t}static eventCallback(t,n,a){return i=>{e.getEventFullKey(i)===t&&a.runGuarded(()=>n(i))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(a.K0))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})(),D=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,i.Yz7)({factory:function(){return(0,i.LFG)(P)},token:e,providedIn:"root"}),e})();function L(e){return new P(e.get(a.K0))}let P=(()=>{class e extends D{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case i.q3G.NONE:return t;case i.q3G.HTML:return(0,i.qzn)(t,"HTML")?(0,i.z3N)(t):(0,i.EiD)(this._doc,String(t)).toString();case i.q3G.STYLE:return(0,i.qzn)(t,"Style")?(0,i.z3N)(t):t;case i.q3G.SCRIPT:if((0,i.qzn)(t,"Script"))return(0,i.z3N)(t);throw new Error("unsafe value used in a script context");case i.q3G.URL:return(0,i.yhl)(t),(0,i.qzn)(t,"URL")?(0,i.z3N)(t):(0,i.mCW)(String(t));case i.q3G.RESOURCE_URL:if((0,i.qzn)(t,"ResourceURL"))return(0,i.z3N)(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return(0,i.JVY)(e)}bypassSecurityTrustStyle(e){return(0,i.L6k)(e)}bypassSecurityTrustScript(e){return(0,i.eBb)(e)}bypassSecurityTrustUrl(e){return(0,i.LAX)(e)}bypassSecurityTrustResourceUrl(e){return(0,i.pB0)(e)}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(a.K0))},e.\u0275prov=(0,i.Yz7)({factory:function(){return L((0,i.LFG)(i.gxx))},token:e,providedIn:"root"}),e})();const k=(0,i.eFA)(i._c5,"browser",[{provide:i.Lbi,useValue:a.bD},{provide:i.g9A,useValue:function(){s.makeCurrent(),u.init()},multi:!0},{provide:a.K0,useFactory:function(){return(0,i.RDi)(document),document},deps:[]}]),F=[[],{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function(){return new i.qLn},deps:[]},{provide:h,useClass:A,multi:!0,deps:[a.K0,i.R0b,i.Lbi]},{provide:h,useClass:x,multi:!0,deps:[a.K0]},[],{provide:T,useClass:T,deps:[p,f,i.AFp]},{provide:i.FYo,useExisting:T},{provide:m,useExisting:f},{provide:f,useClass:f,deps:[a.K0]},{provide:i.dDg,useClass:i.dDg,deps:[i.R0b]},{provide:p,useClass:p,deps:[h,i.R0b]},{provide:a.JF,useClass:_,deps:[]},[]];let U=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:i.AFp,useValue:t.appId},{provide:c,useExisting:i.AFp},d]}}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(e,12))},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({providers:F,imports:[a.ez,i.hGG]}),e})();function B(){return new z((0,i.LFG)(a.K0))}let z=(()=>{class e{constructor(e){this._doc=e,this._dom=(0,a.q)()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce((e,n)=>(n&&e.push(this._getOrCreateElement(n,t)),e),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._doc.querySelectorAll(`meta[${e}]`);return t?[].slice.call(t):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const t=this._parseSelector(e),n=this.getTag(t);if(n&&this._containsAttributes(e,n))return n}const n=this._dom.createElement("meta");return this._setMetaElementAttributes(e,n),this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(e,t){return Object.keys(e).forEach(n=>t.setAttribute(this._getMetaKeyMap(n),e[n])),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every(n=>t.getAttribute(this._getMetaKeyMap(n))===e[n])}_getMetaKeyMap(e){return G[e]||e}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(a.K0))},e.\u0275prov=(0,i.Yz7)({factory:B,token:e,providedIn:"root"}),e})();const G={httpEquiv:"http-equiv"};function V(){return new H((0,i.LFG)(a.K0))}let H=(()=>{class e{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(a.K0))},e.\u0275prov=(0,i.Yz7)({factory:V,token:e,providedIn:"root"}),e})();"undefined"!=typeof window&&window},99763:function(e,t,n){"use strict";n.d(t,{gz:function(){return Ze},m2:function(){return $},F0:function(){return bn},rH:function(){return yn},Od:function(){return Cn},yS:function(){return vn},Bz:function(){return Pn},lC:function(){return On}});var a=n(38583),i=n(37716);const r=(()=>{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})();var s=n(67574),o=n(94402),l=n(59193);function c(e){return new s.y(t=>{let n;try{n=e()}catch(a){return void t.error(a)}return(n?(0,o.D)(n):(0,l.c)()).subscribe(t)})}var d=n(25917),u=n(26215),_=n(9112),h=n(58071),p=n(52441),g=n(79765),m=n(77393);function f(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(a){return a.lift(new E(e,t,n))}}class E{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new S(e,this.accumulator,this.seed,this.hasSeed))}}class S extends m.L{constructor(e,t,n,a){super(e),this.accumulator=t,this._seed=n,this.hasSeed=a,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(a){this.destination.error(a)}this.seed=n,this.destination.next(n)}}var b=n(45435),y=n(7108);function v(e){return function(t){return 0===e?(0,l.c)():t.lift(new T(e))}}class T{constructor(e){if(this.total=e,this.total<0)throw new y.W}call(e,t){return t.subscribe(new C(e,this.total))}}class C extends m.L{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,n=this.total,a=this.count++;t.length0){const n=this.count>=this.total?this.total:this.count,a=this.ring;for(let i=0;it.lift(new R(e))}class R{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new A(e,this.errorFactory))}}class A extends m.L{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function N(){return new r}function w(e=null){return t=>t.lift(new I(e))}class I{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new M(e,this.defaultValue))}}class M extends m.L{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var x=n(54487),D=n(15257);function L(e,t){const n=arguments.length>=2;return a=>a.pipe(e?(0,b.h)((t,n)=>e(t,n,a)):x.y,(0,D.q)(1),n?w(t):O(()=>new r))}var P=n(88002),k=n(43190),F=n(39761),U=n(5304),B=n(94612),z=n(19773),G=n(68307),V=n(51307),H=n(68939),Y=n(63282);class q{constructor(e,t){this.id=e,this.url=t}}class j extends q{constructor(e,t,n="imperative",a=null){super(e,t),this.navigationTrigger=n,this.restoredState=a}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class $ extends q{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class W extends q{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Q extends q{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class K extends q{constructor(e,t,n,a){super(e,t),this.urlAfterRedirects=n,this.state=a}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Z extends q{constructor(e,t,n,a){super(e,t),this.urlAfterRedirects=n,this.state=a}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class X extends q{constructor(e,t,n,a,i){super(e,t),this.urlAfterRedirects=n,this.state=a,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class J extends q{constructor(e,t,n,a){super(e,t),this.urlAfterRedirects=n,this.state=a}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ee extends q{constructor(e,t,n,a){super(e,t),this.urlAfterRedirects=n,this.state=a}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class te{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ne{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ae{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ie{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class re{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class se{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oe{constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class le{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function ce(e){return new le(e)}function de(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function ue(e,t,n){const a=n.path.split("/");if(a.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||a.lengtha[t]===e)}return e===t}function pe(e){return Array.prototype.concat.apply([],e)}function ge(e){return e.length>0?e[e.length-1]:null}function me(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function fe(e){return(0,i.CqO)(e)?e:(0,i.QGY)(e)?(0,o.D)(Promise.resolve(e)):(0,d.of)(e)}const Ee={exact:function e(t,n,a){if(!Ae(t.segments,n.segments))return!1;if(!Te(t.segments,n.segments,a))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children){if(!t.children[i])return!1;if(!e(t.children[i],n.children[i],a))return!1}return!0},subset:ye},Se={exact:function(e,t){return _e(e,t)},subset:function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>he(e[n],t[n]))},ignored:()=>!0};function be(e,t,n){return Ee[n.paths](e.root,t.root,n.matrixParams)&&Se[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function ye(e,t,n){return ve(e,t,t.segments,n)}function ve(e,t,n,a){if(e.segments.length>n.length){const i=e.segments.slice(0,n.length);return!!Ae(i,n)&&!t.hasChildren()&&!!Te(i,n,a)}if(e.segments.length===n.length){if(!Ae(e.segments,n))return!1;if(!Te(e.segments,n,a))return!1;for(const n in t.children){if(!e.children[n])return!1;if(!ye(e.children[n],t.children[n],a))return!1}return!0}{const i=n.slice(0,e.segments.length),r=n.slice(e.segments.length);return!!Ae(e.segments,i)&&!!Te(e.segments,i,a)&&!!e.children.primary&&ve(e.children.primary,t,r,a)}}function Te(e,t,n){return t.every((t,a)=>Se[n](e[a].parameters,t.parameters))}class Ce{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ce(this.queryParams)),this._queryParamMap}toString(){return Ie.serialize(this)}}class Oe{constructor(e,t){this.segments=e,this.children=t,this.parent=null,me(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Me(this)}}class Re{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=ce(this.parameters)),this._parameterMap}toString(){return Ue(this)}}function Ae(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}class Ne{}class we{parse(e){const t=new He(e);return new Ce(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){var t;return`/${xe(e.root,!0)}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${Le(t)}=${Le(e)}`).join("&"):`${Le(t)}=${Le(n)}`}).filter(e=>!!e);return t.length?`?${t.join("&")}`:""}(e.queryParams)}${"string"==typeof e.fragment?`#${t=e.fragment,encodeURI(t)}`:""}`}}const Ie=new we;function Me(e){return e.segments.map(e=>Ue(e)).join("/")}function xe(e,t){if(!e.hasChildren())return Me(e);if(t){const t=e.children.primary?xe(e.children.primary,!1):"",n=[];return me(e.children,(e,t)=>{"primary"!==t&&n.push(`${t}:${xe(e,!1)}`)}),n.length>0?`${t}(${n.join("//")})`:t}{const t=function(e,t){let n=[];return me(e.children,(e,a)=>{"primary"===a&&(n=n.concat(t(e,a)))}),me(e.children,(e,a)=>{"primary"!==a&&(n=n.concat(t(e,a)))}),n}(e,(t,n)=>"primary"===n?[xe(e.children.primary,!1)]:[`${n}:${xe(t,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children.primary?`${Me(e)}/${t[0]}`:`${Me(e)}/(${t.join("//")})`}}function De(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Le(e){return De(e).replace(/%3B/gi,";")}function Pe(e){return De(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ke(e){return decodeURIComponent(e)}function Fe(e){return ke(e.replace(/\+/g,"%20"))}function Ue(e){return`${Pe(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${Pe(e)}=${Pe(t[e])}`).join("")}`;var t}const Be=/^[^\/()?;=#]+/;function ze(e){const t=e.match(Be);return t?t[0]:""}const Ge=/^[^=?&#]+/,Ve=/^[^?&#]+/;class He{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Oe([],{}):new Oe([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new Oe(e,t)),n}parseSegment(){const e=ze(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new Re(ke(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=ze(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=ze(this.remaining);e&&(n=e,this.capture(n))}e[ke(t)]=ke(n)}parseQueryParam(e){const t=function(e){const t=e.match(Ge);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(Ve);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const a=Fe(t),i=Fe(n);if(e.hasOwnProperty(a)){let t=e[a];Array.isArray(t)||(t=[t],e[a]=t),t.push(i)}else e[a]=i}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=ze(this.remaining),a=this.remaining[n.length];if("/"!==a&&")"!==a&&";"!==a)throw new Error(`Cannot parse url '${this.url}'`);let i;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i="primary");const r=this.parseChildren();t[i]=1===Object.keys(r).length?r.primary:new Oe([],r),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class Ye{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=qe(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=qe(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=je(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return je(e,this._root).map(e=>e.value)}}function qe(e,t){if(e===t.value)return t;for(const n of t.children){const t=qe(e,n);if(t)return t}return null}function je(e,t){if(e===t.value)return[t];for(const n of t.children){const a=je(e,n);if(a.length)return a.unshift(t),a}return[]}class $e{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function We(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class Qe extends Ye{constructor(e,t){super(e),this.snapshot=t,tt(this,e)}toString(){return this.snapshot.toString()}}function Ke(e,t){const n=function(e,t){const n=new Je([],{},{},"",{},"primary",t,null,e.root,-1,{});return new et("",new $e(n,[]))}(e,t),a=new u.X([new Re("",{})]),i=new u.X({}),r=new u.X({}),s=new u.X({}),o=new u.X(""),l=new Ze(a,i,s,o,r,"primary",t,n.root);return l.snapshot=n.root,new Qe(new $e(l,[]),n)}class Ze{constructor(e,t,n,a,i,r,s,o){this.url=e,this.params=t,this.queryParams=n,this.fragment=a,this.data=i,this.outlet=r,this.component=s,this._futureSnapshot=o}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,P.U)(e=>ce(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,P.U)(e=>ce(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Xe(e,t="emptyOnly"){const n=e.pathFromRoot;let a=0;if("always"!==t)for(a=n.length-1;a>=1;){const e=n[a],t=n[a-1];if(e.routeConfig&&""===e.routeConfig.path)a--;else{if(t.component)break;a--}}return function(e){return e.reduce((e,t)=>({params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(a))}class Je{constructor(e,t,n,a,i,r,s,o,l,c,d){this.url=e,this.params=t,this.queryParams=n,this.fragment=a,this.data=i,this.outlet=r,this.component=s,this.routeConfig=o,this._urlSegment=l,this._lastPathIndex=c,this._resolve=d}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=ce(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ce(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class et extends Ye{constructor(e,t){super(t),this.url=e,tt(this,t)}toString(){return nt(this._root)}}function tt(e,t){t.value._routerState=e,t.children.forEach(t=>tt(e,t))}function nt(e){const t=e.children.length>0?` { ${e.children.map(nt).join(", ")} } `:"";return`${e.value}${t}`}function at(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,_e(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),_e(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;n_e(e.parameters,a[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||it(e.parent,t.parent))}function rt(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const a=n.value;a._futureSnapshot=t.value;const i=function(e,t,n){return t.children.map(t=>{for(const a of n.children)if(e.shouldReuseRoute(t.value,a.value.snapshot))return rt(e,t,a);return rt(e,t)})}(e,t,n);return new $e(a,i)}{if(e.shouldAttach(t.value)){const n=e.retrieve(t.value);if(null!==n){const e=n.route;return st(t,e),e}}const n=new Ze(new u.X((a=t.value).url),new u.X(a.params),new u.X(a.queryParams),new u.X(a.fragment),new u.X(a.data),a.outlet,a.component,a),i=t.children.map(t=>rt(e,t));return new $e(n,i)}var a}function st(e,t){if(e.value.routeConfig!==t.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==t.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");t.value._futureSnapshot=e.value;for(let n=0;n{r[t]=Array.isArray(e)?e.map(e=>`${e}`):`${e}`}),new Ce(n.root===e?t:dt(n.root,e,t),r,i)}function dt(e,t,n){const a={};return me(e.children,(e,i)=>{a[i]=e===t?n:dt(e,t,n)}),new Oe(e.segments,a)}class ut{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&ot(n[0]))throw new Error("Root segment cannot have matrix parameters");const a=n.find(lt);if(a&&a!==ge(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class _t{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function ht(e,t,n){if(e||(e=new Oe([],{})),0===e.segments.length&&e.hasChildren())return pt(e,t,n);const a=function(e,t,n){let a=0,i=t;const r={match:!1,pathIndex:0,commandIndex:0};for(;i=n.length)return r;const t=e.segments[i],s=n[a];if(lt(s))break;const o=`${s}`,l=a0&&void 0===o)break;if(o&&l&&"object"==typeof l&&void 0===l.outlets){if(!Et(o,l,t))return r;a+=2}else{if(!Et(o,{},t))return r;a++}i++}return{match:!0,pathIndex:i,commandIndex:a}}(e,t,n),i=n.slice(a.commandIndex);if(a.match&&a.pathIndex{"string"==typeof n&&(n=[n]),null!==n&&(i[a]=ht(e.children[a],t,n))}),me(e.children,(e,t)=>{void 0===a[t]&&(i[t]=e)}),new Oe(e.segments,i)}}function gt(e,t,n){const a=e.segments.slice(0,t);let i=0;for(;i{"string"==typeof e&&(e=[e]),null!==e&&(t[n]=gt(new Oe([],{}),0,e))}),t}function ft(e){const t={};return me(e,(e,n)=>t[n]=`${e}`),t}function Et(e,t,n){return e==n.path&&_e(t,n.parameters)}class St{constructor(e,t,n,a){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=a}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),at(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const a=We(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,a[t],n),delete a[t]}),me(a,(e,t)=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const a=e.value,i=t?t.value:null;if(a===i)if(a.component){const i=n.getContext(a.outlet);i&&this.deactivateChildRoutes(e,t,i.children)}else this.deactivateChildRoutes(e,t,n);else i&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:a})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet),a=n&&e.value.component?n.children:t,i=We(e);for(const r of Object.keys(i))this.deactivateRouteAndItsChildren(i[r],a);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(e,t,n){const a=We(t);e.children.forEach(e=>{this.activateRoutes(e,a[e.value.outlet],n),this.forwardEvent(new se(e.value.snapshot))}),e.children.length&&this.forwardEvent(new ie(e.value.snapshot))}activateRoutes(e,t,n){const a=e.value,i=t?t.value:null;if(at(a),a===i)if(a.component){const i=n.getOrCreateContext(a.outlet);this.activateChildRoutes(e,t,i.children)}else this.activateChildRoutes(e,t,n);else if(a.component){const t=n.getOrCreateContext(a.outlet);if(this.routeReuseStrategy.shouldAttach(a.snapshot)){const e=this.routeReuseStrategy.retrieve(a.snapshot);this.routeReuseStrategy.store(a.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),bt(e.route)}else{const n=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(a.snapshot),i=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=a,t.resolver=i,t.outlet&&t.outlet.activateWith(a,i),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function bt(e){at(e.value),e.children.forEach(bt)}class yt{constructor(e,t){this.routes=e,this.module=t}}function vt(e){return"function"==typeof e}function Tt(e){return e instanceof Ce}const Ct=Symbol("INITIAL_VALUE");function Ot(){return(0,k.w)(e=>(0,_.aj)(e.map(e=>e.pipe((0,D.q)(1),(0,F.O)(Ct)))).pipe(f((e,t)=>{let n=!1;return t.reduce((e,a,i)=>{if(e!==Ct)return e;if(a===Ct&&(n=!0),!n){if(!1===a)return a;if(i===t.length-1||Tt(a))return a}return e},e)},Ct),(0,b.h)(e=>e!==Ct),(0,P.U)(e=>Tt(e)?e:!0===e),(0,D.q)(1)))}let Rt=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&i._UZ(0,"router-outlet")},directives:function(){return[On]},encapsulation:2}),e})();function At(e,t=""){for(let n=0;nMt(e)===t);return n.push(...e.filter(e=>Mt(e)!==t)),n}const Dt={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function Lt(e,t,n){var a;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},Dt):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const i=(t.matcher||ue)(n,e,t);if(!i)return Object.assign({},Dt);const r={};me(i.posParams,(e,t)=>{r[t]=e.path});const s=i.consumed.length>0?Object.assign(Object.assign({},r),i.consumed[i.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:s,positionalParamSegments:null!==(a=i.posParams)&&void 0!==a?a:{}}}function Pt(e,t,n,a,i="corrected"){if(n.length>0&&function(e,t,n){return n.some(n=>kt(e,t,n)&&"primary"!==Mt(n))}(e,n,a)){const i=new Oe(t,function(e,t,n,a){const i={};i.primary=a,a._sourceSegment=e,a._segmentIndexShift=t.length;for(const r of n)if(""===r.path&&"primary"!==Mt(r)){const n=new Oe([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,i[Mt(r)]=n}return i}(e,t,a,new Oe(n,e.children)));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(n=>kt(e,t,n))}(e,n,a)){const r=new Oe(e.segments,function(e,t,n,a,i,r){const s={};for(const o of a)if(kt(e,n,o)&&!i[Mt(o)]){const n=new Oe([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===r?e.segments.length:t.length,s[Mt(o)]=n}return Object.assign(Object.assign({},i),s)}(e,t,n,a,e.children,i));return r._sourceSegment=e,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:n}}const r=new Oe(e.segments,e.children);return r._sourceSegment=e,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:n}}function kt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function Ft(e,t,n,a){return!!(Mt(e)===a||"primary"!==a&&kt(t,n,e))&&("**"===e.path||Lt(t,e,n).matched)}function Ut(e,t,n){return 0===t.length&&!e.children[n]}class Bt{constructor(e){this.segmentGroup=e||null}}class zt{constructor(e){this.urlTree=e}}function Gt(e){return new s.y(t=>t.error(new Bt(e)))}function Vt(e){return new s.y(t=>t.error(new zt(e)))}function Ht(e){return new s.y(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class Yt{constructor(e,t,n,a,r){this.configLoader=t,this.urlSerializer=n,this.urlTree=a,this.config=r,this.allowRedirects=!0,this.ngModule=e.get(i.h0i)}apply(){const e=Pt(this.urlTree.root,[],[],this.config).segmentGroup,t=new Oe(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,t,"primary").pipe((0,P.U)(e=>this.createUrlTree(qt(e),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,U.K)(e=>{if(e instanceof zt)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof Bt)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe((0,P.U)(t=>this.createUrlTree(qt(t),e.queryParams,e.fragment))).pipe((0,U.K)(e=>{if(e instanceof Bt)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const a=e.segments.length>0?new Oe([],{primary:e}):e;return new Ce(a,t,n)}expandSegmentGroup(e,t,n,a){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe((0,P.U)(e=>new Oe([],e))):this.expandSegment(e,n,t,n.segments,a,!0)}expandChildren(e,t,n){const a=[];for(const i of Object.keys(n.children))"primary"===i?a.unshift(i):a.push(i);return(0,o.D)(a).pipe((0,B.b)(a=>{const i=n.children[a],r=xt(t,a);return this.expandSegmentGroup(e,r,i,a).pipe((0,P.U)(e=>({segment:e,outlet:a})))}),f((e,t)=>(e[t.outlet]=t.segment,e),{}),function(e,t){const n=arguments.length>=2;return a=>a.pipe(e?(0,b.h)((t,n)=>e(t,n,a)):x.y,v(1),n?w(t):O(()=>new r))}())}expandSegment(e,t,n,a,i,s){return(0,o.D)(n).pipe((0,B.b)(r=>this.expandSegmentAgainstRoute(e,t,n,r,a,i,s).pipe((0,U.K)(e=>{if(e instanceof Bt)return(0,d.of)(null);throw e}))),L(e=>!!e),(0,U.K)((e,n)=>{if(e instanceof r||"EmptyError"===e.name){if(Ut(t,a,i))return(0,d.of)(new Oe([],{}));throw new Bt(t)}throw e}))}expandSegmentAgainstRoute(e,t,n,a,i,r,s){return Ft(a,t,i,r)?void 0===a.redirectTo?this.matchSegmentAgainstRoute(e,t,a,i,r):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,a,i,r):Gt(t):Gt(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,a,i,r){return"**"===a.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,a,r):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,a,i,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,a){const i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Vt(i):this.lineralizeSegments(n,i).pipe((0,z.zg)(n=>{const i=new Oe(n,{});return this.expandSegment(e,i,t,n,a,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,a,i,r){const{matched:s,consumedSegments:o,lastChild:l,positionalParamSegments:c}=Lt(t,a,i);if(!s)return Gt(t);const d=this.applyRedirectCommands(o,a.redirectTo,c);return a.redirectTo.startsWith("/")?Vt(d):this.lineralizeSegments(a,d).pipe((0,z.zg)(a=>this.expandSegment(e,t,n,a.concat(i.slice(l)),r,!1)))}matchSegmentAgainstRoute(e,t,n,a,i){if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,d.of)(n._loadedConfig):this.configLoader.load(e.injector,n)).pipe((0,P.U)(e=>(n._loadedConfig=e,new Oe(a,{})))):(0,d.of)(new Oe(a,{}));const{matched:r,consumedSegments:s,lastChild:o}=Lt(t,n,a);if(!r)return Gt(t);const l=a.slice(o);return this.getChildConfig(e,n,a).pipe((0,z.zg)(e=>{const a=e.module,r=e.routes,{segmentGroup:o,slicedSegments:c}=Pt(t,s,l,r),u=new Oe(o.segments,o.children);if(0===c.length&&u.hasChildren())return this.expandChildren(a,r,u).pipe((0,P.U)(e=>new Oe(s,e)));if(0===r.length&&0===c.length)return(0,d.of)(new Oe(s,{}));const _=Mt(n)===i;return this.expandSegment(a,u,r,c,_?"primary":i,!0).pipe((0,P.U)(e=>new Oe(s.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?(0,d.of)(new yt(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?(0,d.of)(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe((0,z.zg)(n=>n?this.configLoader.load(e.injector,t).pipe((0,P.U)(e=>(t._loadedConfig=e,e))):function(e){return new s.y(t=>t.error(de(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):(0,d.of)(new yt([],e))}runCanLoadGuards(e,t,n){const a=t.canLoad;if(!a||0===a.length)return(0,d.of)(!0);const i=a.map(a=>{const i=e.get(a);let r;if(function(e){return e&&vt(e.canLoad)}(i))r=i.canLoad(t,n);else{if(!vt(i))throw new Error("Invalid CanLoad guard");r=i(t,n)}return fe(r)});return(0,d.of)(i).pipe(Ot(),(0,G.b)(e=>{if(!Tt(e))return;const t=de(`Redirecting to "${this.urlSerializer.serialize(e)}"`);throw t.url=e,t}),(0,P.U)(e=>!0===e))}lineralizeSegments(e,t){let n=[],a=t.root;for(;;){if(n=n.concat(a.segments),0===a.numberOfChildren)return(0,d.of)(n);if(a.numberOfChildren>1||!a.children.primary)return Ht(e.redirectTo);a=a.children.primary}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,a){const i=this.createSegmentGroup(e,t.root,n,a);return new Ce(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return me(e,(e,a)=>{if("string"==typeof e&&e.startsWith(":")){const i=e.substring(1);n[a]=t[i]}else n[a]=e}),n}createSegmentGroup(e,t,n,a){const i=this.createSegments(e,t.segments,n,a);let r={};return me(t.children,(t,i)=>{r[i]=this.createSegmentGroup(e,t,n,a)}),new Oe(i,r)}createSegments(e,t,n,a){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,a):this.findOrReturn(t,n))}findPosParam(e,t,n){const a=n[t.path.substring(1)];if(!a)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return a}findOrReturn(e,t){let n=0;for(const a of t){if(a.path===e.path)return t.splice(n),a;n++}return e}}function qt(e){const t={};for(const n of Object.keys(e.children)){const a=qt(e.children[n]);(a.segments.length>0||a.hasChildren())&&(t[n]=a)}return function(e){if(1===e.numberOfChildren&&e.children.primary){const t=e.children.primary;return new Oe(e.segments.concat(t.segments),t.children)}return e}(new Oe(e.segments,t))}class jt{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class $t{constructor(e,t){this.component=e,this.route=t}}function Wt(e,t,n){const a=e._root;return Kt(a,t?t._root:null,n,[a.value])}function Qt(e,t,n){const a=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(a?a.module.injector:n).get(e)}function Kt(e,t,n,a,i={canDeactivateChecks:[],canActivateChecks:[]}){const r=We(t);return e.children.forEach(e=>{!function(e,t,n,a,i={canDeactivateChecks:[],canActivateChecks:[]}){const r=e.value,s=t?t.value:null,o=n?n.getContext(e.value.outlet):null;if(s&&r.routeConfig===s.routeConfig){const l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Ae(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Ae(e.url,t.url)||!_e(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!it(e,t)||!_e(e.queryParams,t.queryParams);case"paramsChange":default:return!it(e,t)}}(s,r,r.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new jt(a)):(r.data=s.data,r._resolvedData=s._resolvedData),Kt(e,t,r.component?o?o.children:null:n,a,i),l&&o&&o.outlet&&o.outlet.isActivated&&i.canDeactivateChecks.push(new $t(o.outlet.component,s))}else s&&Zt(t,o,i),i.canActivateChecks.push(new jt(a)),Kt(e,null,r.component?o?o.children:null:n,a,i)}(e,r[e.value.outlet],n,a.concat([e.value]),i),delete r[e.value.outlet]}),me(r,(e,t)=>Zt(e,n.getContext(t),i)),i}function Zt(e,t,n){const a=We(e),i=e.value;me(a,(e,a)=>{Zt(e,i.component?t?t.children.getContext(a):null:t,n)}),n.canDeactivateChecks.push(new $t(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}class Xt{}function Jt(e){return new s.y(t=>t.error(e))}class en{constructor(e,t,n,a,i,r){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=a,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=r}recognize(){const e=Pt(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary");if(null===t)return null;const n=new Je([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),a=new $e(n,t),i=new et(this.url,a);return this.inheritParamsAndData(i._root),i}inheritParamsAndData(e){const t=e.value,n=Xe(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=[];for(const i of Object.keys(t.children)){const a=t.children[i],r=xt(e,i),s=this.processSegmentGroup(r,a,i);if(null===s)return null;n.push(...s)}const a=nn(n);return a.sort((e,t)=>"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)),a}processSegment(e,t,n,a){for(const i of e){const e=this.processSegmentAgainstRoute(i,t,n,a);if(null!==e)return e}return Ut(t,n,a)?[]:null}processSegmentAgainstRoute(e,t,n,a){if(e.redirectTo||!Ft(e,t,n,a))return null;let i,r=[],s=[];if("**"===e.path){const a=n.length>0?ge(n).parameters:{};i=new Je(n,a,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,sn(e),Mt(e),e.component,e,an(t),rn(t)+n.length,on(e))}else{const a=Lt(t,e,n);if(!a.matched)return null;r=a.consumedSegments,s=n.slice(a.lastChild),i=new Je(r,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,sn(e),Mt(e),e.component,e,an(t),rn(t)+r.length,on(e))}const o=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:l,slicedSegments:c}=Pt(t,r,s,o.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const e=this.processChildren(o,l);return null===e?null:[new $e(i,e)]}if(0===o.length&&0===c.length)return[new $e(i,[])];const d=Mt(e)===a,u=this.processSegment(o,l,c,d?"primary":a);return null===u?null:[new $e(i,u)]}}function tn(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function nn(e){const t=[],n=new Set;for(const a of e){if(!tn(a)){t.push(a);continue}const e=t.find(e=>a.value.routeConfig===e.value.routeConfig);void 0!==e?(e.children.push(...a.children),n.add(e)):t.push(a)}for(const a of n){const e=nn(a.children);t.push(new $e(a.value,e))}return t.filter(e=>!n.has(e))}function an(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function rn(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function sn(e){return e.data||{}}function on(e){return e.resolve||{}}function ln(e){return(0,k.w)(t=>{const n=e(t);return n?(0,o.D)(n).pipe((0,P.U)(()=>t)):(0,d.of)(t)})}class cn extends class{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}{}const dn=new i.OlP("ROUTES");class un{constructor(e,t,n,a){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=a}load(e,t){if(t._loader$)return t._loader$;this.onLoadStartListener&&this.onLoadStartListener(t);const n=this.loadModuleFactory(t.loadChildren).pipe((0,P.U)(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const a=n.create(e);return new yt(pe(a.injector.get(dn,void 0,i.XFs.Self|i.XFs.Optional)).map(It),a)}),(0,U.K)(e=>{throw t._loader$=void 0,e}));return t._loader$=new p.c(n,()=>new g.xQ).pipe((0,V.x)()),t._loader$}loadModuleFactory(e){return"string"==typeof e?(0,o.D)(this.loader.load(e)):fe(e()).pipe((0,z.zg)(e=>e instanceof i.YKP?(0,d.of)(e):(0,o.D)(this.compiler.compileModuleAsync(e))))}}class _n{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new hn,this.attachRef=null}}class hn{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new _n,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}class pn{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function gn(e){throw e}function mn(e,t,n){return t.parse("/")}function fn(e,t){return(0,d.of)(null)}const En={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Sn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let bn=(()=>{class e{constructor(e,t,n,a,r,s,o,l){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=a,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new g.xQ,this.errorHandler=gn,this.malformedUriErrorHandler=mn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:fn,afterPreactivation:fn},this.urlHandlingStrategy=new pn,this.routeReuseStrategy=new cn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=r.get(i.h0i),this.console=r.get(i.c2e);const c=r.get(i.R0b);this.isNgZoneEnabled=c instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=new Ce(new Oe([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new un(s,o,e=>this.triggerEvent(new te(e)),e=>this.triggerEvent(new ne(e))),this.routerState=Ke(this.currentUrlTree,this.rootComponentType),this.transitions=new u.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()}setupNavigations(e){const t=this.events;return e.pipe((0,b.h)(e=>0!==e.id),(0,P.U)(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),(0,k.w)(e=>{let n=!1,a=!1;return(0,d.of)(e).pipe((0,G.b)(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,k.w)(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return(0,d.of)(e).pipe((0,k.w)(e=>{const n=this.transitions.getValue();return t.next(new j(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?l.E:Promise.resolve(e)}),(a=this.ngModule.injector,i=this.configLoader,r=this.urlSerializer,s=this.config,(0,k.w)(e=>function(e,t,n,a,i){return new Yt(e,t,n,a,i).apply()}(a,i,r,e.extractedUrl,s).pipe((0,P.U)(t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t}))))),(0,G.b)(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,t,n,a,i){return(0,z.zg)(r=>function(e,t,n,a,i="emptyOnly",r="legacy"){try{const s=new en(e,t,n,a,i,r).recognize();return null===s?Jt(new Xt):(0,d.of)(s)}catch(s){return Jt(s)}}(e,t,r.urlAfterRedirects,n(r.urlAfterRedirects),a,i).pipe((0,P.U)(e=>Object.assign(Object.assign({},r),{targetSnapshot:e}))))}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,G.b)(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,e),this.browserUrlTree=e.urlAfterRedirects);const n=new K(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));var a,i,r,s;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:a,source:i,restoredState:r,extras:s}=e,o=new j(n,this.serializeUrl(a),i,r);t.next(o);const l=Ke(a,this.rootComponentType).snapshot;return(0,d.of)(Object.assign(Object.assign({},e),{targetSnapshot:l,urlAfterRedirects:a,extras:Object.assign(Object.assign({},s),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),l.E}),ln(e=>{const{targetSnapshot:t,id:n,extractedUrl:a,rawUrl:i,extras:{skipLocationChange:r,replaceUrl:s}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:a,rawUrlTree:i,skipLocationChange:!!r,replaceUrl:!!s})}),(0,G.b)(e=>{const t=new Z(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),(0,P.U)(e=>Object.assign(Object.assign({},e),{guards:Wt(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return(0,z.zg)(n=>{const{targetSnapshot:a,currentSnapshot:i,guards:{canActivateChecks:r,canDeactivateChecks:s}}=n;return 0===s.length&&0===r.length?(0,d.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,a){return(0,o.D)(e).pipe((0,z.zg)(e=>function(e,t,n,a,i){const r=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!r||0===r.length)return(0,d.of)(!0);const s=r.map(r=>{const s=Qt(r,t,i);let o;if(function(e){return e&&vt(e.canDeactivate)}(s))o=fe(s.canDeactivate(e,t,n,a));else{if(!vt(s))throw new Error("Invalid CanDeactivate guard");o=fe(s(e,t,n,a))}return o.pipe(L())});return(0,d.of)(s).pipe(Ot())}(e.component,e.route,n,t,a)),L(e=>!0!==e,!0))}(s,a,i,e).pipe((0,z.zg)(n=>n&&"boolean"==typeof n?function(e,t,n,a){return(0,o.D)(t).pipe((0,B.b)(t=>(0,h.z)(function(e,t){return null!==e&&t&&t(new ae(e)),(0,d.of)(!0)}(t.route.parent,a),function(e,t){return null!==e&&t&&t(new re(e)),(0,d.of)(!0)}(t.route,a),function(e,t,n){const a=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)).filter(e=>null!==e).map(t=>c(()=>{const i=t.guards.map(i=>{const r=Qt(i,t.node,n);let s;if(function(e){return e&&vt(e.canActivateChild)}(r))s=fe(r.canActivateChild(a,e));else{if(!vt(r))throw new Error("Invalid CanActivateChild guard");s=fe(r(a,e))}return s.pipe(L())});return(0,d.of)(i).pipe(Ot())}));return(0,d.of)(i).pipe(Ot())}(e,t.path,n),function(e,t,n){const a=t.routeConfig?t.routeConfig.canActivate:null;if(!a||0===a.length)return(0,d.of)(!0);const i=a.map(a=>c(()=>{const i=Qt(a,t,n);let r;if(function(e){return e&&vt(e.canActivate)}(i))r=fe(i.canActivate(t,e));else{if(!vt(i))throw new Error("Invalid CanActivate guard");r=fe(i(t,e))}return r.pipe(L())}));return(0,d.of)(i).pipe(Ot())}(e,t.route,n))),L(e=>!0!==e,!0))}(a,r,e,t):(0,d.of)(n)),(0,P.U)(e=>Object.assign(Object.assign({},n),{guardsResult:e})))})}(this.ngModule.injector,e=>this.triggerEvent(e)),(0,G.b)(e=>{if(Tt(e.guardsResult)){const t=de(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}const t=new X(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),(0,b.h)(e=>!!e.guardsResult||(this.cancelNavigationTransition(e,""),!1)),ln(e=>{if(e.guards.canActivateChecks.length)return(0,d.of)(e).pipe((0,G.b)(e=>{const t=new J(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),(0,k.w)(e=>{let t=!1;return(0,d.of)(e).pipe((n=this.paramsInheritanceStrategy,a=this.ngModule.injector,(0,z.zg)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:i}}=e;if(!i.length)return(0,d.of)(e);let r=0;return(0,o.D)(i).pipe((0,B.b)(e=>function(e,t,n,a){return function(e,t,n,a){const i=Object.keys(e);if(0===i.length)return(0,d.of)({});const r={};return(0,o.D)(i).pipe((0,z.zg)(i=>function(e,t,n,a){const i=Qt(e,t,a);return fe(i.resolve?i.resolve(t,n):i(t,n))}(e[i],t,n,a).pipe((0,G.b)(e=>{r[i]=e}))),v(1),(0,z.zg)(()=>Object.keys(r).length===i.length?(0,d.of)(r):l.E))}(e._resolve,e,t,a).pipe((0,P.U)(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),Xe(e,n).resolve),null)))}(e.route,t,n,a)),(0,G.b)(()=>r++),v(1),(0,z.zg)(t=>r===i.length?(0,d.of)(e):l.E))})),(0,G.b)({next:()=>t=!0,complete:()=>{t||this.cancelNavigationTransition(e,"At least one route resolver didn't emit any value.")}}));var n,a}),(0,G.b)(e=>{const t=new ee(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}))}),ln(e=>{const{targetSnapshot:t,id:n,extractedUrl:a,rawUrl:i,extras:{skipLocationChange:r,replaceUrl:s}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:a,rawUrlTree:i,skipLocationChange:!!r,replaceUrl:!!s})}),(0,P.U)(e=>{const t=function(e,t,n){const a=rt(e,t._root,n?n._root:void 0);return new Qe(a,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),(0,G.b)(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,e),this.browserUrlTree=e.urlAfterRedirects)}),(i=this.rootContexts,r=this.routeReuseStrategy,s=e=>this.triggerEvent(e),(0,P.U)(e=>(new St(r,e.targetRouterState,e.currentRouterState,s).activate(i),e))),(0,G.b)({next(){n=!0},complete(){n=!0}}),(0,H.x)(()=>{n||a||this.cancelNavigationTransition(e,`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`),this.currentNavigation=null}),(0,U.K)(n=>{if(a=!0,(i=n)&&i.ngNavigationCancelingError){const a=Tt(n.url);a||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const i=new W(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(i),a?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);this.scheduleNavigation(t,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const a=new Q(e.id,this.serializeUrl(e.extractedUrl),n);t.next(a);try{e.resolve(this.errorHandler(n))}catch(r){e.reject(r)}}var i;return l.E}));var i,r,s}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t=this.extractLocationChangeInfoFromEvent(e);this.shouldScheduleNavigation(this.lastLocationChangeInfo,t)&&setTimeout(()=>{const{source:e,state:n,urlTree:a}=t,i={replaceUrl:!0};if(n){const e=Object.assign({},n);delete e.navigationId,delete e.\u0275routerPageId,0!==Object.keys(e).length&&(i.state=e)}this.scheduleNavigation(a,e,n,i)},0),this.lastLocationChangeInfo=t}))}extractLocationChangeInfoFromEvent(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(e,t){if(!e)return!0;const n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&n&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){At(e),this.config=e.map(It),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(e,t={}){const{relativeTo:n,queryParams:a,fragment:i,queryParamsHandling:r,preserveFragment:s}=t,o=n||this.routerState.root,l=s?this.currentUrlTree.fragment:i;let c=null;switch(r){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),a);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=a||null}return null!==c&&(c=this.removeEmptyProps(c)),function(e,t,n,a,i){if(0===n.length)return ct(t.root,t.root,t,a,i);const r=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new ut(!0,0,e);let t=0,n=!1;const a=e.reduce((e,a,i)=>{if("object"==typeof a&&null!=a){if(a.outlets){const t={};return me(a.outlets,(e,n)=>{t[n]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(a.segmentPath)return[...e,a.segmentPath]}return"string"!=typeof a?[...e,a]:0===i?(a.split("/").forEach((a,i)=>{0==i&&"."===a||(0==i&&""===a?n=!0:".."===a?t++:""!=a&&e.push(a))}),e):[...e,a]},[]);return new ut(n,t,a)}(n);if(r.toRoot())return ct(t.root,new Oe([],{}),t,a,i);const s=function(e,t,n){if(e.isAbsolute)return new _t(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const e=n.snapshot._urlSegment;return new _t(e,e===t.root,0)}const a=ot(e.commands[0])?0:1;return function(e,t,n){let a=e,i=t,r=n;for(;r>i;){if(r-=i,a=a.parent,!a)throw new Error("Invalid number of '../'");i=a.segments.length}return new _t(a,!1,i-r)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+a,e.numberOfDoubleDots)}(r,t,e),o=s.processChildren?pt(s.segmentGroup,s.index,r.commands):ht(s.segmentGroup,s.index,r.commands);return ct(s.segmentGroup,o,t,a,i)}(o,this.currentUrlTree,e,c,null!=l?l:null)}navigateByUrl(e,t={skipLocationChange:!1}){const n=Tt(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(n,this.rawUrlTree);let i=null;return"computed"===this.canceledNavigationResolution&&(0===this.currentPageId||t.skipLocationChange||t.replaceUrl)&&(i=this.location.getState()),this.scheduleNavigation(a,"imperative",i,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t{const a=e[n];return null!=a&&(t[n]=a),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new $(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,n,a,i){if(this.disposed)return Promise.resolve(!1);const r=this.getTransition(),s="imperative"!==t&&"imperative"===(null==r?void 0:r.source),o=(this.lastSuccessfulId===r.id||this.currentNavigation?r.rawUrl:r.urlAfterRedirects).toString()===e.toString();if(s&&o)return Promise.resolve(!0);let l,c,d;i?(l=i.resolve,c=i.reject,d=i.promise):d=new Promise((e,t)=>{l=e,c=t});const u=++this.navigationId;let _;return _="computed"===this.canceledNavigationResolution?n&&n.\u0275routerPageId?n.\u0275routerPageId:this.currentPageId+1:0,this.setTransition({id:u,targetPageId:_,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:a,resolve:l,reject:c,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(e=>Promise.reject(e))}setBrowserUrl(e,t){const n=this.urlSerializer.serialize(e),a=Object.assign(Object.assign({},t.extras.state),this.generateNgRouterState(t.id,t.targetPageId));this.location.isCurrentPathEqualTo(n)||t.extras.replaceUrl?this.location.replaceState(n,"",a):this.location.go(n,"",a)}resetStateAndUrl(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,t){"computed"===this.canceledNavigationResolution?"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy||this.location.historyGo(this.currentPageId-e.targetPageId):this.resetUrlToCurrentUrlTree();const n=new W(e.id,this.serializeUrl(e.extractedUrl),t);this.triggerEvent(n),e.resolve(!1)}generateNgRouterState(e,t){return"computed"===this.canceledNavigationResolution?{navigationId:e,"\u0275routerPageId":t}:{navigationId:e}}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(i.DyG),i.LFG(Ne),i.LFG(hn),i.LFG(a.Ye),i.LFG(i.zs3),i.LFG(i.v3s),i.LFG(i.Sil),i.LFG(void 0))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})(),yn=(()=>{class e{constructor(e,t,n,a,i){this.router=e,this.route=t,this.commands=[],this.onChanges=new g.xQ,null==n&&a.setAttribute(i.nativeElement,"tabindex","0")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}onClick(){const e={skipLocationChange:Tn(this.skipLocationChange),replaceUrl:Tn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Tn(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(bn),i.Y36(Ze),i.$8M("tabindex"),i.Y36(i.Qsj),i.Y36(i.SBq))},e.\u0275dir=i.lG2({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&i.NdJ("click",function(){return t.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[i.TTD]}),e})(),vn=(()=>{class e{constructor(e,t,n){this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.onChanges=new g.xQ,this.subscription=e.events.subscribe(e=>{e instanceof $&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,n,a,i){if(0!==e||t||n||a||i)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const r={skipLocationChange:Tn(this.skipLocationChange),replaceUrl:Tn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Tn(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(bn),i.Y36(Ze),i.Y36(a.S$))},e.\u0275dir=i.lG2({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("click",function(e){return t.onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)}),2&e&&(i.Ikx("href",t.href,i.LSH),i.uIk("target",t.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[i.TTD]}),e})();function Tn(e){return""===e||!!e}let Cn=(()=>{class e{constructor(e,t,n,a,i,r){this.router=e,this.element=t,this.renderer=n,this.cdr=a,this.link=i,this.linkWithHref=r,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=e.events.subscribe(e=>{e instanceof $&&this.update()})}ngAfterContentInit(){(0,d.of)(this.links.changes,this.linksWithHrefs.changes,(0,d.of)(null)).pipe((0,Y.J)()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var e;null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe();const t=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(e=>!!e).map(e=>e.onChanges);this.linkInputChangesSubscription=(0,o.D)(t).pipe((0,Y.J)()).subscribe(e=>{this.isActive!==this.isLinkActive(this.router)(e)&&this.update()})}set routerLinkActive(e){const t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(e=>!!e)}ngOnChanges(e){this.update()}ngOnDestroy(){var e;this.routerEventsSubscription.unsubscribe(),null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.isActive!==e&&(this.isActive=e,this.cdr.markForCheck(),this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}))})}isLinkActive(e){const t="paths"in this.routerLinkActiveOptions?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return n=>e.isActive(n.urlTree,t)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(bn),i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(i.sBO),i.Y36(yn,8),i.Y36(vn,8))},e.\u0275dir=i.lG2({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(e,t,n){if(1&e&&(i.Suo(n,yn,5),i.Suo(n,vn,5)),2&e){let e;i.iGM(e=i.CRH())&&(t.links=e),i.iGM(e=i.CRH())&&(t.linksWithHrefs=e)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[i.TTD]}),e})(),On=(()=>{class e{constructor(e,t,n,a,r){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.vpe,this.deactivateEvents=new i.vpe,this.name=a||"primary",e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,i=new Rn(e,a,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(hn),i.Y36(i.s_b),i.Y36(i._Vd),i.$8M("name"),i.Y36(i.sBO))},e.\u0275dir=i.lG2({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class Rn{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===Ze?this.route:e===hn?this.childContexts:this.parent.get(e,t)}}class An{}class Nn{preload(e,t){return(0,d.of)(null)}}let wn=(()=>{class e{constructor(e,t,n,a,i){this.router=e,this.injector=a,this.preloadingStrategy=i,this.loader=new un(t,n,t=>e.triggerEvent(new te(t)),t=>e.triggerEvent(new ne(t)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,b.h)(e=>e instanceof $),(0,B.b)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(i.h0i);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const a of t)if(a.loadChildren&&!a.canLoad&&a._loadedConfig){const e=a._loadedConfig;n.push(this.processRoutes(e.module,e.routes))}else a.loadChildren&&!a.canLoad?n.push(this.preloadConfig(e,a)):a.children&&n.push(this.processRoutes(e,a.children));return(0,o.D)(n).pipe((0,Y.J)(),(0,P.U)(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>(t._loadedConfig?(0,d.of)(t._loadedConfig):this.loader.load(e.injector,t)).pipe((0,z.zg)(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(bn),i.LFG(i.v3s),i.LFG(i.Sil),i.LFG(i.zs3),i.LFG(An))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})(),In=(()=>{class e{constructor(e,t,n={}){this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.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(e=>{e instanceof j?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof $&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof oe&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new oe(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(bn),i.LFG(a.EM),i.LFG(void 0))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();const Mn=new i.OlP("ROUTER_CONFIGURATION"),xn=new i.OlP("ROUTER_FORROOT_GUARD"),Dn=[a.Ye,{provide:Ne,useClass:we},{provide:bn,useFactory:function(e,t,n,a,i,r,s,o={},l,c){const d=new bn(null,e,t,n,a,i,r,pe(s));return l&&(d.urlHandlingStrategy=l),c&&(d.routeReuseStrategy=c),function(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy)}(o,d),o.enableTracing&&d.events.subscribe(e=>{var t,n;null===(t=console.group)||void 0===t||t.call(console,`Router Event: ${e.constructor.name}`),console.log(e.toString()),console.log(e),null===(n=console.groupEnd)||void 0===n||n.call(console)}),d},deps:[Ne,hn,a.Ye,i.zs3,i.v3s,i.Sil,dn,Mn,[class{},new i.FiY],[class{},new i.FiY]]},hn,{provide:Ze,useFactory:function(e){return e.routerState.root},deps:[bn]},{provide:i.v3s,useClass:i.EAV},wn,Nn,class{preload(e,t){return t().pipe((0,U.K)(()=>(0,d.of)(null)))}},{provide:Mn,useValue:{enableTracing:!1}}];function Ln(){return new i.PXZ("Router",bn)}let Pn=(()=>{class e{constructor(e,t){}static forRoot(t,n){return{ngModule:e,providers:[Dn,Bn(t),{provide:xn,useFactory:Un,deps:[[bn,new i.FiY,new i.tp0]]},{provide:Mn,useValue:n||{}},{provide:a.S$,useFactory:Fn,deps:[a.lw,[new i.tBr(a.mr),new i.FiY],Mn]},{provide:In,useFactory:kn,deps:[bn,a.EM,Mn]},{provide:An,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Nn},{provide:i.PXZ,multi:!0,useFactory:Ln},[zn,{provide:i.ip1,multi:!0,useFactory:Gn,deps:[zn]},{provide:Hn,useFactory:Vn,deps:[zn]},{provide:i.tb,multi:!0,useExisting:Hn}]]}}static forChild(t){return{ngModule:e,providers:[Bn(t)]}}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(xn,8),i.LFG(bn,8))},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({}),e})();function kn(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new In(e,t,n)}function Fn(e,t,n={}){return n.useHash?new a.Do(e,t):new a.b0(e,t)}function Un(e){return"guarded"}function Bn(e){return[{provide:i.deG,multi:!0,useValue:e},{provide:dn,multi:!0,useValue:e}]}let zn=(()=>{class e{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new g.xQ}appInitializer(){return this.injector.get(a.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let e=null;const t=new Promise(t=>e=t),n=this.injector.get(bn),a=this.injector.get(Mn);return"disabled"===a.initialNavigation?(n.setUpLocationChangeListener(),e(!0)):"enabled"===a.initialNavigation||"enabledBlocking"===a.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?(0,d.of)(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),n.initialNavigation()):e(!0),t})}bootstrapListener(e){const t=this.injector.get(Mn),n=this.injector.get(wn),a=this.injector.get(In),r=this.injector.get(bn),s=this.injector.get(i.z2F);e===s.components[0]&&("enabledNonBlocking"!==t.initialNavigation&&void 0!==t.initialNavigation||r.initialNavigation(),n.setUpPreloading(),a.init(),r.resetRootComponentType(s.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(i.zs3))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();function Gn(e){return e.appInitializer.bind(e)}function Vn(e){return e.bootstrapListener.bind(e)}const Hn=new i.OlP("Router Initializer")},78942:function(e,t,n){"use strict";n.d(t,{Q3p:function(){return hn},nhe:function(){return ui},jSo:function(){return _i},DPz:function(){return Ga},T2N:function(){return Va},yKW:function(){return ka},Asz:function(){return Fa},ndF:function(){return Pa},zyh:function(){return Ua},NTf:function(){return Ci},MfT:function(){return Oi},j7H:function(){return Fi},X4l:function(){return Li},Gln:function(){return ki},dP_:function(){return $a},Aqw:function(){return ja},l88:function(){return Qa},dmS:function(){return Wa},BW0:function(){return Ka},_4W:function(){return En},mBz:function(){return di},j5J:function(){return pi},ydg:function(){return Ii},spT:function(){return Mi},nZR:function(){return Ei},P1:function(){return bi},lzT:function(){return fi},TR4:function(){return yi},kyn:function(){return vi},EoG:function(){return Ti},SDF:function(){return Ra},WMF:function(){return Sn}});var a=n(37716),i=n(38583),r=n(67574),s=n(33637),o=n(59796);function l(e){return!(0,o.k)(e)&&e-parseFloat(e)+1>=0}var c=n(54869);function d(e){const{index:t,period:n,subscriber:a}=e;if(a.next(t),!a.closed){if(-1===n)return a.complete();e.index=t+1,this.schedule(e,n)}}var u=n(82298),_=n(79765),h=n(66682),p=n(22759),g=n(59193),m=n(26215),f=n(9112),E=n(25917),S=(n(94402),n(35758),n(77393));function b(){return e=>e.lift(new y)}class y{call(e,t){return t.subscribe(new v(e))}}class v extends S.L{constructor(e){super(e),this.hasPrev=!1}_next(e){let t;this.hasPrev?t=[this.prev,e]:this.hasPrev=!0,this.prev=e,t&&this.destination.next(t)}}function T(e=-1){return t=>0===e?(0,g.c)():t.lift(new C(e<0?-1:e-1,t))}class C{constructor(e,t){this.count=e,this.source=t}call(e,t){return t.subscribe(new O(e,this.count,this.source))}}class O extends S.L{constructor(e,t,n){super(e),this.count=t,this.source=n}complete(){if(!this.isStopped){const{source:e,count:t}=this;if(0===t)return super.complete();t>-1&&(this.count=t-1),e.subscribe(this._unsubscribeAndRecycle())}}}var R=n(88002),A=n(39761),N=n(45435),w=n(87519),I=n(78345),M=n(46782),x=n(71289),D=n(43190),L=n(54395),P=n(70409),k=n(15257),F=n(68307),U=n(62790),B=n(51307),z=n(13653),G=(n(68939),n(3679)),V=n(99763),H=n(75319),Y=n(39490);let q;try{q="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(Ui){q=!1}let j,$,W,Q=(()=>{class e{constructor(e){this._platformId=e,this.isBrowser=this._platformId?(0,i.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!q)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(a.Lbi))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(a.Lbi))},token:e,providedIn:"root"}),e})(),K=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({}),e})();function Z(e){return function(){if(null==j&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>j=!0}))}finally{j=j||!1}return j}()?e:!!e.capture}function X(){if(null==$){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return $=!1,$;if("scrollBehavior"in document.documentElement.style)$=!0;else{const e=Element.prototype.scrollTo;$=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return $}class J{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new _.xQ,this._typeaheadSubscription=H.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new _.xQ,this.change=new _.xQ,e instanceof a.n_E&&e.changes.subscribe(e=>{if(this._activeItem){const t=e.toArray().indexOf(this._activeItem);t>-1&&t!==this._activeItemIndex&&(this._activeItemIndex=t)}})}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,F.b)(e=>this._pressedLetters.push(e)),(0,L.b)(e),(0,N.h)(()=>this._pressedLetters.length>0),(0,R.U)(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let n=1;n!e[t]||this._allowedModifierKeys.indexOf(t)>-1);switch(t){case 9:return void this.tabOut.next();case 40:if(this._vertical&&n){this.setNextItemActive();break}return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||function(e,...t){return t.length?t.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){const t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),a=t[n];this._activeItem=null==a?null:a,this._activeItemIndex=n}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){const t=this._getItemsArray();for(let n=1;n<=t.length;n++){const a=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[a]))return void this.setActiveItem(a)}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){const n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof a.n_E?this._items.toArray():this._items}}class ee extends J{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}}class te extends J{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}}let ne=(()=>{class e{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function(e){try{return e.frameElement}catch(Ui){return null}}((n=e).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(t){if(-1===ie(t))return!1;if(!this.isVisible(t))return!1}let a=e.nodeName.toLowerCase(),i=ie(e);return e.hasAttribute("contenteditable")?-1!==i:"iframe"!==a&&"object"!==a&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){let t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&("audio"===a?!!e.hasAttribute("controls")&&-1!==i:"video"===a?-1!==i&&(null!==i||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){let t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||ae(e))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(Q))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(Q))},token:e,providedIn:"root"}),e})();function ae(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;let t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function ie(e){if(!ae(e))return null;const t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class re{constructor(e,t,n,a,i=!1){this._element=e,this._checker=t,this._ngZone=n,this._document=a,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,i||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){const e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);for(let n=0;n=0;n--){let e=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(e)return e}return null}_createAnchor(){const e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe((0,k.q)(1)).subscribe(e)}}let se=(()=>{class e{constructor(e,t,n){this._checker=e,this._ngZone=t,this._document=n}create(e,t=!1){return new re(e,this._checker,this._ngZone,this._document,t)}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(ne),a.LFG(a.R0b),a.LFG(i.K0))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(ne),a.LFG(a.R0b),a.LFG(i.K0))},token:e,providedIn:"root"}),e})();"undefined"!=typeof Element&∈const oe=new a.OlP("cdk-input-modality-detector-options"),le={ignoreKeys:[18,17,224,91,16]},ce=Z({passive:!0,capture:!0});let de=(()=>{class e{constructor(e,t,n,a){this._platform=e,this._mostRecentTarget=null,this._modality=new m.X(null),this._lastTouchMs=0,this._onKeydown=e=>{var t,n;(null===(n=null===(t=this._options)||void 0===t?void 0:t.ignoreKeys)||void 0===n?void 0:n.some(t=>t===e.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=ue(e))},this._onMousedown=e=>{Date.now()-this._lastTouchMs<650||(this._modality.next(function(e){return 0===e.buttons}(e)?"keyboard":"mouse"),this._mostRecentTarget=ue(e))},this._onTouchstart=e=>{!function(e){const t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}(e)?(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=ue(e)):this._modality.next("keyboard")},this._options=Object.assign(Object.assign({},le),a),this.modalityDetected=this._modality.pipe((0,z.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,w.x)()),e.isBrowser&&t.runOutsideAngular(()=>{n.addEventListener("keydown",this._onKeydown,ce),n.addEventListener("mousedown",this._onMousedown,ce),n.addEventListener("touchstart",this._onTouchstart,ce)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ce),document.removeEventListener("mousedown",this._onMousedown,ce),document.removeEventListener("touchstart",this._onTouchstart,ce))}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(Q),a.LFG(a.R0b),a.LFG(i.K0),a.LFG(oe,8))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(Q),a.LFG(a.R0b),a.LFG(i.K0),a.LFG(oe,8))},token:e,providedIn:"root"}),e})();function ue(e){return e.composedPath?e.composedPath()[0]:e.target}const _e=new a.OlP("cdk-focus-monitor-default-options"),he=Z({passive:!0,capture:!0});let pe=(()=>{class e{constructor(e,t,n,a,i){this._ngZone=e,this._platform=t,this._inputModalityDetector=n,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new _.xQ,this._rootNodeFocusAndBlurListener=e=>{const t=ue(e),n="focus"===e.type?this._onFocus:this._onBlur;for(let a=t;a;a=a.parentElement)n.call(this,e,a)},this._document=a,this._detectionMode=(null==i?void 0:i.detectionMode)||0}monitor(e,t=!1){const n=(0,Y.fI)(e);if(!this._platform.isBrowser||1!==n.nodeType)return(0,E.of)(null);const a=function(e){if(function(){if(null==W){const e="undefined"!=typeof document?document.head:null;W=!(!e||!e.createShadowRoot&&!e.attachShadow)}return W}()){const t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}(n)||this._getDocument(),i=this._elementInfo.get(n);if(i)return t&&(i.checkChildren=!0),i.subject;const r={checkChildren:t,subject:new _.xQ,rootNode:a};return this._elementInfo.set(n,r),this._registerGlobalListeners(r),r.subject}stopMonitoring(e){const t=(0,Y.fI)(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}focusVia(e,t,n){const a=(0,Y.fI)(e);a===this._getDocument().activeElement?this._getClosestElementsInfo(a).forEach(([e,n])=>this._originChanged(e,t,n)):(this._setOrigin(t),"function"==typeof a.focus&&a.focus(n))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(e,t,n){n?e.classList.add(t):e.classList.remove(t)}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!(null==e?void 0:e.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&t,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,t){const n=this._elementInfo.get(t),a=ue(e);n&&(n.checkChildren||t===a)&&this._originChanged(t,this._getFocusOrigin(a),n)}_onBlur(e,t){const n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,n=this._rootNodeFocusListenerCount.get(t)||0;n||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,he),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,he)}),this._rootNodeFocusListenerCount.set(t,n+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,M.R)(this._stopInputModalityDetector)).subscribe(e=>{this._setOrigin(e,!0)}))}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const e=this._rootNodeFocusListenerCount.get(t);e>1?this._rootNodeFocusListenerCount.set(t,e-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,he),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,he),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,n){this._setClasses(e,t),this._emitOrigin(n.subject,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach((n,a)=>{(a===e||n.checkChildren&&a.contains(e))&&t.push([a,n])}),t}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(a.R0b),a.LFG(Q),a.LFG(de),a.LFG(i.K0,8),a.LFG(_e,8))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(a.R0b),a.LFG(Q),a.LFG(de),a.LFG(i.K0,8),a.LFG(_e,8))},token:e,providedIn:"root"}),e})();class ge{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class me extends ge{constructor(e,t,n,a){super(),this.component=e,this.viewContainerRef=t,this.injector=n,this.componentFactoryResolver=a}}class fe extends ge{constructor(e,t,n){super(),this.templateRef=e,this.viewContainerRef=t,this.context=n}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}}class Ee extends ge{constructor(e){super(),this.element=e instanceof a.SBq?e.nativeElement:e}}class Se{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e instanceof me?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof fe?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof Ee?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class be extends Se{constructor(e,t,n,a,i){super(),this.outletElement=e,this._componentFactoryResolver=t,this._appRef=n,this._defaultInjector=a,this.attachDomPortal=e=>{const t=e.element,n=this._document.createComment("dom-portal");t.parentNode.insertBefore(n,t),this.outletElement.appendChild(t),this._attachedPortal=e,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(t,n)})},this._document=i}attachComponentPortal(e){const t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);let n;return e.viewContainerRef?(n=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=t.create(e.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=e,n}attachTemplatePortal(e){let t=e.viewContainerRef,n=t.createEmbeddedView(e.templateRef,e.context);return n.rootNodes.forEach(e=>this.outletElement.appendChild(e)),n.detectChanges(),this.setDisposeFn(()=>{let e=t.indexOf(n);-1!==e&&t.remove(e)}),this._attachedPortal=e,n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let ye=(()=>{class e extends Se{constructor(e,t,n){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new a.vpe,this.attachDomPortal=e=>{const t=e.element,n=this._document.createComment("dom-portal");e.setAttachedHost(this),t.parentNode.insertBefore(n,t),this._getRootNode().appendChild(t),this._attachedPortal=e,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(t,n)})},this._document=n}get portal(){return this._attachedPortal}set portal(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,n=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=t.createComponent(n,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a._Vd),a.Y36(a.s_b),a.Y36(i.K0))},e.\u0275dir=a.lG2({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[a.qOj]}),e})(),ve=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({}),e})();var Te=n(36465),Ce=n(16102);new class extends Ce.v{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,a=-1,i=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++a0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(()=>e.flush(null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}});let Oe=1;const Re=Promise.resolve(),Ae={};function Ne(e){return e in Ae&&(delete Ae[e],!0)}const we={setImmediate(e){const t=Oe++;return Ae[t]=!0,Re.then(()=>Ne(t)&&e()),t},clearImmediate(e){Ne(e)}};new class extends Ce.v{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,a=-1,i=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++a0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=we.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(we.clearImmediate(t),e.scheduled=void 0)}});var Ie=n(85345);class Me{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new xe(e,this.durationSelector))}}class xe extends Ie.Ds{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){if(this.value=e,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:t}=this;n=t(e)}catch(t){return this.destination.error(t)}const a=(0,Ie.ft)(n,new Ie.IY(this));!a||a.closed?this.clearThrottle():this.add(this.throttled=a)}}clearThrottle(){const{value:e,hasValue:t,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function De(e,t=s.P){return n=()=>function(e=0,t,n){let a=-1;return l(t)?a=Number(t)<1?1:Number(t):(0,c.K)(t)&&(n=t),(0,c.K)(n)||(n=s.P),new r.y(t=>{const i=l(e)?e:+e-n.now();return n.schedule(d,i,{index:0,period:a,subscriber:t})})}(e,t),function(e){return e.lift(new Me(n))};var n}const Le=new a.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,a.f3M)(i.K0)}});let Pe=(()=>{class e{constructor(e){if(this.value="ltr",this.change=new a.vpe,e){const t=e.documentElement?e.documentElement.dir:null,n=(e.body?e.body.dir:null)||t;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(Le,8))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(Le,8))},token:e,providedIn:"root"}),e})(),ke=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({}),e})(),Fe=(()=>{class e{constructor(e,t,n){this._ngZone=e,this._platform=t,this._scrolled=new _.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new r.y(t=>{this._globalSubscription||this._addGlobalListener();const n=e>0?this._scrolled.pipe(De(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,E.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((0,N.h)(e=>!e||n.indexOf(e)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((n,a)=>{this._scrollableContainsElement(a,e)&&t.push(a)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let n=(0,Y.fI)(t),a=e.getElementRef().nativeElement;do{if(n==a)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const e=this._getWindow();return(0,p.R)(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(a.R0b),a.LFG(Q),a.LFG(i.K0,8))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(a.R0b),a.LFG(Q),a.LFG(i.K0,8))},token:e,providedIn:"root"}),e})(),Ue=(()=>{class e{constructor(e,t,n){this._platform=e,this._change=new _.xQ,this._changeListener=e=>{this._change.next(e)},this._document=n,t.runOutsideAngular(()=>{if(e.isBrowser){const e=this._getWindow();e.addEventListener("resize",this._changeListener),e.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:n}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+n,right:e.left+t,height:n,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),n=e.documentElement,a=n.getBoundingClientRect();return{top:-a.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-a.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(De(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(Q),a.LFG(a.R0b),a.LFG(i.K0,8))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(Q),a.LFG(a.R0b),a.LFG(i.K0,8))},token:e,providedIn:"root"}),e})(),Be=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({}),e})(),ze=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[ke,K,Be],ke,Be]}),e})();const Ge=X();class Ve{constructor(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=(0,Y.HM)(-this._previousScrollPosition.left),e.style.top=(0,Y.HM)(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const e=this._document.documentElement,t=e.style,n=this._document.body.style,a=t.scrollBehavior||"",i=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),Ge&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Ge&&(t.scrollBehavior=a,n.scrollBehavior=i)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}class He{constructor(e,t,n,a){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=n,this._config=a,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef=e}enable(){if(this._scrollSubscription)return;const e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Ye{enable(){}disable(){}attach(){}}function qe(e,t){return t.some(t=>e.bottomt.bottom||e.rightt.right)}function je(e,t){return t.some(t=>e.topt.bottom||e.leftt.right)}class $e{constructor(e,t,n,a){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=a,this._scrollSubscription=null}attach(e){this._overlayRef=e}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:n}=this._viewportRuler.getViewportSize();qe(e,[{width:t,height:n,bottom:n,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let We=(()=>{class e{constructor(e,t,n,a){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this.noop=()=>new Ye,this.close=e=>new He(this._scrollDispatcher,this._ngZone,this._viewportRuler,e),this.block=()=>new Ve(this._viewportRuler,this._document),this.reposition=e=>new $e(this._scrollDispatcher,this._viewportRuler,this._ngZone,e),this._document=a}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(Fe),a.LFG(Ue),a.LFG(a.R0b),a.LFG(i.K0))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(Fe),a.LFG(Ue),a.LFG(a.R0b),a.LFG(i.K0))},token:e,providedIn:"root"}),e})();class Qe{constructor(e){if(this.scrollStrategy=new Ye,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){const t=Object.keys(e);for(const n of t)void 0!==e[n]&&(this[n]=e[n])}}}class Ke{constructor(e,t,n,a,i){this.offsetX=n,this.offsetY=a,this.panelClass=i,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}class Ze{constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}let Xe=(()=>{class e{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(i.K0))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(i.K0))},token:e,providedIn:"root"}),e})(),Je=(()=>{class e extends Xe{constructor(e){super(e),this._keydownListener=e=>{const t=this._attachedOverlays;for(let n=t.length-1;n>-1;n--)if(t[n]._keydownEvents.observers.length>0){t[n]._keydownEvents.next(e);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(i.K0))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(i.K0))},token:e,providedIn:"root"}),e})(),et=(()=>{class e extends Xe{constructor(e,t){super(e),this._platform=t,this._cursorStyleIsSet=!1,this._clickListener=e=>{const t=e.composedPath?e.composedPath()[0]:e.target,n=this._attachedOverlays.slice();for(let a=n.length-1;a>-1;a--){const i=n[a];if(!(i._outsidePointerEvents.observers.length<1)&&i.hasAttached()){if(i.overlayElement.contains(t))break;i._outsidePointerEvents.next(e)}}}}add(e){if(super.add(e),!this._isAttached){const e=this._document.body;e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=e.style.cursor,e.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(i.K0),a.LFG(Q))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(i.K0),a.LFG(Q))},token:e,providedIn:"root"}),e})();const tt="undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha;let nt=(()=>{class e{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){const e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){if(this._platform.isBrowser||tt){const e=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]');for(let t=0;tthis._backdropClick.next(e),this._keydownEvents=new _.xQ,this._outsidePointerEvents=new _.xQ,a.scrollStrategy&&(this._scrollStrategy=a.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=a.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){let t=this._portalOutlet.attach(e);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,k.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=Object.assign(Object.assign({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Object.assign(Object.assign({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){const e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const e=this._pane.style;e.width=(0,Y.HM)(this._config.width),e.height=(0,Y.HM)(this._config.height),e.minWidth=(0,Y.HM)(this._config.minWidth),e.minHeight=(0,Y.HM)(this._config.minHeight),e.maxWidth=(0,Y.HM)(this._config.maxWidth),e.maxHeight=(0,Y.HM)(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e,t=this._backdropElement;if(!t)return;let n=()=>{t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",n),t.parentNode&&t.parentNode.removeChild(t)),this._backdropElement==t&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(t,this._config.backdropClass,!1),clearTimeout(e)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",n)}),t.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(e,t,n){const a=e.classList;(0,Y.Eq)(t).forEach(e=>{e&&(n?a.add(e):a.remove(e))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.pipe((0,M.R)((0,h.T)(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),e.unsubscribe())})})}_disposeScrollStrategy(){const e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}}const it=/([A-Za-z%]+)$/;class rt{constructor(e,t,n,a,i){this._viewportRuler=t,this._document=n,this._platform=a,this._overlayContainer=i,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new _.xQ,this._resizeSubscription=H.w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._validatePositions(),e.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const e=this._originRect,t=this._overlayRect,n=this._viewportRect,a=[];let i;for(let r of this._preferredPositions){let s=this._getOriginPoint(e,r),o=this._getOverlayPoint(s,t,r),l=this._getOverlayFit(o,t,n,r);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(r,s);this._canFitWithFlexibleDimensions(l,o,n)?a.push({position:r,origin:s,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(s,r)}):(!i||i.overlayFit.visibleAreat&&(t=a,e=n)}return this._isPushed=!1,void this._applyPosition(e.position,e.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(i.position,i.originPoint);this._applyPosition(i.position,i.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&st(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t){let n,a;if("center"==t.originX)n=e.left+e.width/2;else{const a=this._isRtl()?e.right:e.left,i=this._isRtl()?e.left:e.right;n="start"==t.originX?a:i}return a="center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom,{x:n,y:a}}_getOverlayPoint(e,t,n){let a,i;return a="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,i="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+a,y:e.y+i}}_getOverlayFit(e,t,n,a){const i=lt(t);let{x:r,y:s}=e,o=this._getOffset(a,"x"),l=this._getOffset(a,"y");o&&(r+=o),l&&(s+=l);let c=0-s,d=s+i.height-n.height,u=this._subtractOverflows(i.width,0-r,r+i.width-n.width),_=this._subtractOverflows(i.height,c,d),h=u*_;return{visibleArea:h,isCompletelyWithinViewport:i.width*i.height===h,fitsInViewportVertically:_===i.height,fitsInViewportHorizontally:u==i.width}}_canFitWithFlexibleDimensions(e,t,n){if(this._hasFlexibleDimensions){const a=n.bottom-t.y,i=n.right-t.x,r=ot(this._overlayRef.getConfig().minHeight),s=ot(this._overlayRef.getConfig().minWidth),o=e.fitsInViewportHorizontally||null!=s&&s<=i;return(e.fitsInViewportVertically||null!=r&&r<=a)&&o}return!1}_pushOverlayOnScreen(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};const a=lt(t),i=this._viewportRect,r=Math.max(e.x+a.width-i.width,0),s=Math.max(e.y+a.height-i.height,0),o=Math.max(i.top-n.top-e.y,0),l=Math.max(i.left-n.left-e.x,0);let c=0,d=0;return c=a.width<=i.width?l||-r:e.xa&&!this._isInitialRender&&!this._growAfterOpen&&(r=e.y-a/2)}if("end"===t.overlayX&&!a||"start"===t.overlayX&&a)c=n.width-e.x+this._viewportMargin,o=e.x-this._viewportMargin;else if("start"===t.overlayX&&!a||"end"===t.overlayX&&a)l=e.x,o=n.right-e.x;else{const t=Math.min(n.right-e.x+n.left,e.x),a=this._lastBoundingBoxSize.width;o=2*t,l=e.x-t,o>a&&!this._isInitialRender&&!this._growAfterOpen&&(l=e.x-a/2)}return{top:r,left:l,bottom:s,right:c,width:o,height:i}}_setBoundingBoxStyles(e,t){const n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const a={};if(this._hasExactPosition())a.top=a.left="0",a.bottom=a.right=a.maxHeight=a.maxWidth="",a.width=a.height="100%";else{const e=this._overlayRef.getConfig().maxHeight,i=this._overlayRef.getConfig().maxWidth;a.height=(0,Y.HM)(n.height),a.top=(0,Y.HM)(n.top),a.bottom=(0,Y.HM)(n.bottom),a.width=(0,Y.HM)(n.width),a.left=(0,Y.HM)(n.left),a.right=(0,Y.HM)(n.right),a.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",a.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",e&&(a.maxHeight=(0,Y.HM)(e)),i&&(a.maxWidth=(0,Y.HM)(i))}this._lastBoundingBoxSize=n,st(this._boundingBox.style,a)}_resetBoundingBoxStyles(){st(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){st(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){const n={},a=this._hasExactPosition(),i=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(a){const a=this._viewportRuler.getViewportScrollPosition();st(n,this._getExactOverlayY(t,e,a)),st(n,this._getExactOverlayX(t,e,a))}else n.position="static";let s="",o=this._getOffset(t,"x"),l=this._getOffset(t,"y");o&&(s+=`translateX(${o}px) `),l&&(s+=`translateY(${l}px)`),n.transform=s.trim(),r.maxHeight&&(a?n.maxHeight=(0,Y.HM)(r.maxHeight):i&&(n.maxHeight="")),r.maxWidth&&(a?n.maxWidth=(0,Y.HM)(r.maxWidth):i&&(n.maxWidth="")),st(this._pane.style,n)}_getExactOverlayY(e,t,n){let a={top:"",bottom:""},i=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n));let r=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return i.y-=r,"bottom"===e.overlayY?a.bottom=this._document.documentElement.clientHeight-(i.y+this._overlayRect.height)+"px":a.top=(0,Y.HM)(i.y),a}_getExactOverlayX(e,t,n){let a,i={left:"",right:""},r=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),a=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===a?i.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":i.left=(0,Y.HM)(r.x),i}_getScrollVisibility(){const e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(e=>e.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:je(e,n),isOriginOutsideView:qe(e,n),isOverlayClipped:je(t,n),isOverlayOutsideView:qe(t,n)}}_subtractOverflows(e,...t){return t.reduce((e,t)=>e-Math.max(t,0),e)}_getNarrowedViewportRect(){const e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&(0,Y.Eq)(e).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){const e=this._origin;if(e instanceof a.SBq)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const t=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+t,height:n,width:t}}}function st(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function ot(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(it);return n&&"px"!==n?null:parseFloat(t)}return e||null}function lt(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}class ct{constructor(e,t,n,a,i,r,s){this._preferredPositions=[],this._positionStrategy=new rt(n,a,i,r,s).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,t),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(e){this._positionStrategy.withScrollableContainers(e)}withFallbackPosition(e,t,n,a){const i=new Ke(e,t,n,a);return this._preferredPositions.push(i),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this}withOffsetX(e){return this._positionStrategy.withDefaultOffsetX(e),this}withOffsetY(e){return this._positionStrategy.withDefaultOffsetY(e),this}withLockedPosition(e){return this._positionStrategy.withLockedPosition(e),this}withPositions(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(e){return this._positionStrategy.setOrigin(e),this}}class dt{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(e){const t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._justifyContent="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:a,height:i,maxWidth:r,maxHeight:s}=n,o=!("100%"!==a&&"100vw"!==a||r&&"100%"!==r&&"100vw"!==r),l=!("100%"!==i&&"100vh"!==i||s&&"100%"!==s&&"100vh"!==s);e.position=this._cssPosition,e.marginLeft=o?"0":this._leftOffset,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,o?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}let ut=(()=>{class e{constructor(e,t,n,a){this._viewportRuler=e,this._document=t,this._platform=n,this._overlayContainer=a}global(){return new dt}connectedTo(e,t,n){return new ct(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(e){return new rt(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(Ue),a.LFG(i.K0),a.LFG(Q),a.LFG(nt))},e.\u0275prov=a.Yz7({factory:function(){return new e(a.LFG(Ue),a.LFG(i.K0),a.LFG(Q),a.LFG(nt))},token:e,providedIn:"root"}),e})(),_t=0,ht=(()=>{class e{constructor(e,t,n,a,i,r,s,o,l,c,d){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=n,this._positionBuilder=a,this._keyboardDispatcher=i,this._injector=r,this._ngZone=s,this._document=o,this._directionality=l,this._location=c,this._outsideClickDispatcher=d}create(e){const t=this._createHostElement(),n=this._createPaneElement(t),a=this._createPortalOutlet(n),i=new Qe(e);return i.direction=i.direction||this._directionality.value,new at(a,t,n,i,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+_t++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(a.z2F)),new be(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(We),a.LFG(nt),a.LFG(a._Vd),a.LFG(ut),a.LFG(Je),a.LFG(a.zs3),a.LFG(a.R0b),a.LFG(i.K0),a.LFG(Pe),a.LFG(i.Ye),a.LFG(et))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})();const pt={provide:new a.OlP("cdk-connected-overlay-scroll-strategy"),deps:[ht],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let gt=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[ht,pt],imports:[[ke,ve,ze],ze]}),e})();var mt=n(17238);n(63906);var ft=n(39075);function Et(e,t){if(1&e&&(a.TgZ(0,"div",2),a._uU(1),a.qZA()),2&e){const e=a.oxw();a.xp6(1),a.Oqu(e.content)}}function St(e,t){}const bt=["*"],yt=[[["nb-card-header"]],[["nb-card-body"]],"*",[["nb-card-footer"]]],vt=["nb-card-header","nb-card-body","*","nb-card-footer"],Tt=["nbButton",""],Ct=["layoutTopDynamicArea"],Ot=["scrollableContainer"],Rt=["layoutContainer"],At=[[["nb-layout-header",3,"subheader",""]],[["nb-sidebar"]],[["nb-layout-header","subheader",""]],[["nb-layout-column"]],[["nb-layout-footer"]]],Nt=["nb-layout-header:not([subheader])","nb-sidebar","nb-layout-header[subheader]","nb-layout-column","nb-layout-footer"],wt=["nbMenuItem",""];function It(e,t){if(1&e&&a._UZ(0,"nb-icon",7),2&e){const e=a.oxw(2);a.Q6J("config",e.menuItem.icon)}}function Mt(e,t){if(1&e&&(a.TgZ(0,"span"),a.YNc(1,It,1,1,"nb-icon",6),a._uU(2),a.qZA()),2&e){const e=a.oxw();a.xp6(1),a.Q6J("ngIf",e.menuItem.icon),a.xp6(1),a.hij(" ",e.menuItem.title,"\n")}}function xt(e,t){if(1&e&&a._UZ(0,"nb-icon",7),2&e){const e=a.oxw(2);a.Q6J("config",e.menuItem.icon)}}function Dt(e,t){if(1&e&&a.GkF(0,11),2&e){a.oxw(2);const e=a.MAs(7);a.Q6J("ngTemplateOutlet",e)}}function Lt(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"a",8),a.NdJ("mouseenter",function(){a.CHM(e);const t=a.oxw();return t.onHoverItem(t.menuItem)})("click",function(){a.CHM(e);const t=a.oxw();return t.onItemClick(t.menuItem)}),a.YNc(1,xt,1,1,"nb-icon",6),a.TgZ(2,"span",9),a._uU(3),a.qZA(),a.YNc(4,Dt,1,1,"ng-container",10),a.qZA()}if(2&e){const e=a.oxw();a.ekj("active",e.menuItem.selected),a.Q6J("routerLink",e.menuItem.link)("queryParams",e.menuItem.queryParams)("fragment",e.menuItem.fragment)("queryParamsHandling",e.menuItem.queryParamsHandling)("preserveFragment",e.menuItem.preserveFragment)("skipLocationChange",e.menuItem.skipLocationChange),a.uIk("target",e.menuItem.target)("title",e.menuItem.title),a.xp6(1),a.Q6J("ngIf",e.menuItem.icon),a.xp6(2),a.Oqu(e.menuItem.title),a.xp6(1),a.Q6J("ngIf",e.badge)}}function Pt(e,t){if(1&e&&a._UZ(0,"nb-icon",7),2&e){const e=a.oxw(2);a.Q6J("config",e.menuItem.icon)}}function kt(e,t){if(1&e&&a.GkF(0,11),2&e){a.oxw(2);const e=a.MAs(7);a.Q6J("ngTemplateOutlet",e)}}function Ft(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"a",12),a.NdJ("mouseenter",function(){a.CHM(e);const t=a.oxw();return t.onHoverItem(t.menuItem)})("click",function(){a.CHM(e);const t=a.oxw();return t.onSelectItem(t.menuItem)}),a.YNc(1,Pt,1,1,"nb-icon",6),a.TgZ(2,"span",9),a._uU(3),a.qZA(),a.YNc(4,kt,1,1,"ng-container",10),a.qZA()}if(2&e){const e=a.oxw();a.ekj("active",e.menuItem.selected),a.uIk("href",e.menuItem.url,a.LSH)("target",e.menuItem.target)("title",e.menuItem.title),a.xp6(1),a.Q6J("ngIf",e.menuItem.icon),a.xp6(2),a.Oqu(e.menuItem.title),a.xp6(1),a.Q6J("ngIf",e.badge)}}function Ut(e,t){if(1&e&&a._UZ(0,"nb-icon",7),2&e){const e=a.oxw(2);a.Q6J("config",e.menuItem.icon)}}function Bt(e,t){if(1&e&&a.GkF(0,11),2&e){a.oxw(2);const e=a.MAs(7);a.Q6J("ngTemplateOutlet",e)}}function zt(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"a",12),a.NdJ("mouseenter",function(){a.CHM(e);const t=a.oxw();return t.onHoverItem(t.menuItem)})("click",function(t){a.CHM(e);const n=a.oxw();return t.preventDefault(),n.onItemClick(n.menuItem)}),a.YNc(1,Ut,1,1,"nb-icon",6),a.TgZ(2,"span",9),a._uU(3),a.qZA(),a.YNc(4,Bt,1,1,"ng-container",10),a.qZA()}if(2&e){const e=a.oxw();a.ekj("active",e.menuItem.selected),a.uIk("target",e.menuItem.target)("title",e.menuItem.title),a.xp6(1),a.Q6J("ngIf",e.menuItem.icon),a.xp6(2),a.Oqu(e.menuItem.title),a.xp6(1),a.Q6J("ngIf",e.badge)}}function Gt(e,t){if(1&e&&a._UZ(0,"nb-icon",7),2&e){const e=a.oxw(2);a.Q6J("config",e.menuItem.icon)}}function Vt(e,t){if(1&e&&a.GkF(0,11),2&e){a.oxw(2);const e=a.MAs(7);a.Q6J("ngTemplateOutlet",e)}}function Ht(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"a",13),a.NdJ("click",function(t){a.CHM(e);const n=a.oxw();return t.preventDefault(),n.onToggleSubMenu(n.menuItem)})("mouseenter",function(){a.CHM(e);const t=a.oxw();return t.onHoverItem(t.menuItem)}),a.YNc(1,Gt,1,1,"nb-icon",6),a.TgZ(2,"span",9),a._uU(3),a.qZA(),a.YNc(4,Vt,1,1,"ng-container",10),a._UZ(5,"nb-icon",14),a.qZA()}if(2&e){const e=a.oxw();a.ekj("active",e.menuItem.selected),a.uIk("target",e.menuItem.target)("title",e.menuItem.title),a.xp6(1),a.Q6J("ngIf",e.menuItem.icon),a.xp6(2),a.Oqu(e.menuItem.title),a.xp6(1),a.Q6J("ngIf",e.badge),a.xp6(1),a.Q6J("icon",e.getExpandStateIcon())}}function Yt(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"li",18),a.NdJ("hoverItem",function(t){return a.CHM(e),a.oxw(3).onHoverItem(t)})("toggleSubMenu",function(t){return a.CHM(e),a.oxw(3).onToggleSubMenu(t)})("selectItem",function(t){return a.CHM(e),a.oxw(3).onSelectItem(t)})("itemClick",function(t){return a.CHM(e),a.oxw(3).onItemClick(t)}),a.qZA()}if(2&e){const e=a.oxw().$implicit;a.ekj("menu-group",e.group),a.Q6J("menuItem",e)("badge",e.badge)}}function qt(e,t){if(1&e&&(a.ynx(0),a.YNc(1,Yt,1,4,"li",17),a.BQk()),2&e){const e=t.$implicit;a.xp6(1),a.Q6J("ngIf",!e.hidden)}}function jt(e,t){if(1&e&&(a.TgZ(0,"ul",15),a.YNc(1,qt,2,1,"ng-container",16),a.qZA()),2&e){const e=a.oxw();a.ekj("collapsed",!(e.menuItem.children&&e.menuItem.expanded))("expanded",e.menuItem.expanded),a.Q6J("@toggle",e.toggleState),a.xp6(1),a.Q6J("ngForOf",e.menuItem.children)}}function $t(e,t){if(1&e&&a._UZ(0,"nb-badge",19),2&e){const e=a.oxw();a.Q6J("text",e.badge.text)("dotMode",e.badge.dotMode)("status",e.badge.status)}}function Wt(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"li",3),a.NdJ("hoverItem",function(t){return a.CHM(e),a.oxw(2).onHoverItem(t)})("toggleSubMenu",function(t){return a.CHM(e),a.oxw(2).onToggleSubMenu(t)})("selectItem",function(t){return a.CHM(e),a.oxw(2).onSelectItem(t)})("itemClick",function(t){return a.CHM(e),a.oxw(2).onItemClick(t)}),a.qZA()}if(2&e){const e=a.oxw().$implicit;a.ekj("menu-group",e.group),a.Q6J("menuItem",e)("badge",e.badge)}}function Qt(e,t){if(1&e&&(a.ynx(0),a.YNc(1,Wt,1,4,"li",2),a.BQk()),2&e){const e=t.$implicit;a.xp6(1),a.Q6J("ngIf",!e.hidden)}}const Kt=[[["nb-sidebar-header"]],"*",[["nb-sidebar-footer"]]],Zt=["nb-sidebar-header","*","nb-sidebar-footer"];function Xt(e,t){1&e&&(a.ynx(0),a.Hsn(1),a.BQk())}function Jt(e,t){if(1&e&&a._UZ(0,"nb-icon",7),2&e){const e=a.oxw().$implicit;a.Q6J("config",e.tabIcon)}}function en(e,t){if(1&e&&(a.TgZ(0,"span",8),a._uU(1),a.qZA()),2&e){const e=a.oxw().$implicit;a.xp6(1),a.Oqu(e.tabTitle)}}function tn(e,t){if(1&e&&a._UZ(0,"nb-badge",9),2&e){const e=a.oxw().$implicit;a.Q6J("text",e.badgeText)("dotMode",e.badgeDot)("status",e.badgeStatus)("position",e.badgePosition)}}function nn(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"li",2),a.NdJ("click",function(){const t=a.CHM(e).$implicit;return a.oxw().selectTab(t)})("keyup.space",function(){const t=a.CHM(e).$implicit;return a.oxw().selectTab(t)})("keyup.enter",function(){const t=a.CHM(e).$implicit;return a.oxw().selectTab(t)}),a.TgZ(1,"a",3),a.NdJ("click",function(e){return e.preventDefault()}),a.YNc(2,Jt,1,1,"nb-icon",4),a.YNc(3,en,2,1,"span",5),a.qZA(),a.YNc(4,tn,1,4,"nb-badge",6),a.qZA()}if(2&e){const e=t.$implicit;a.ekj("responsive",e.responsive)("active",e.active)("disabled",e.disabled),a.uIk("tabindex",e.disabled?-1:0)("data-tab-id",e.tabId),a.xp6(2),a.Q6J("ngIf",e.tabIcon),a.xp6(1),a.Q6J("ngIf",e.tabTitle),a.xp6(1),a.Q6J("ngIf",e.badgeText||e.badgeDot)}}const an=[[["nb-tab"]]],rn=["nb-tab"];function sn(e,t){1&e&&a._UZ(0,"nb-icon",6)}function on(e,t){1&e&&a._UZ(0,"nb-icon",7)}function ln(e,t){}const cn=new a.OlP("Nebular Theme Options"),dn=new a.OlP("Nebular Media Breakpoints"),un=new a.OlP("Nebular Built-in JS Themes"),_n=new a.OlP("Nebular JS Themes"),hn=new a.OlP("Window"),pn=new a.OlP("Document"),gn=[{name:"default",variables:{fontMain:"Open Sans, sans-serif",fontSecondary:"Raleway, sans-serif",bg:"#ffffff",bg2:"#f7f9fc",bg3:"#edf1f7",bg4:"#e4e9f2",border:"#ffffff",border2:"#f7f9fc",border3:"#edf1f7",border4:"#e4e9f2",border5:"#c5cee0",fg:"#8f9bb3",fgHeading:"#1a2138",fgText:"#1a2138",fgHighlight:"#3366ff",layoutBg:"#f7f9fc",separator:"#edf1f7",primary:"#3366ff",success:"#00d68f",info:"#0095ff",warning:"#ffaa00",danger:"#ff3d71",primaryLight:"#598bff",successLight:"#2ce69b",infoLight:"#42aaff",warningLight:"#ffc94d",dangerLight:"#ff708d"}},{name:"cosmic",variables:{fontMain:"Open Sans, sans-serif",fontSecondary:"Raleway, sans-serif",bg:"#323259",bg2:"#252547",bg3:"#1b1b38",bg4:"#13132b",border:"#323259",border2:"#252547",border3:"#1b1b38",border4:"#13132b",border5:"#13132b",fg:"#b4b4db",fgHeading:"#ffffff",fgText:"#ffffff",fgHighlight:"#a16eff",layoutBg:"#151a30",separator:"#151a30",primary:"#a16eff",success:"#00d68f",info:"#0095ff",warning:"#ffaa00",danger:"#ff3d71",primaryLight:"#b18aff",successLight:"#2ce69b",infoLight:"#42aaff",warningLight:"#ffc94d",dangerLight:"#ff708d"}},{name:"corporate",base:"default",variables:{fontMain:"Open Sans, sans-serif",fontSecondary:"Raleway, sans-serif",bg:"#ffffff",bg2:"#f7f9fc",bg3:"#edf1f7",bg4:"#e4e9f2",border:"#ffffff",border2:"#f7f9fc",border3:"#edf1f7",border4:"#e4e9f2",border5:"#c5cee0",fg:"#8f9bb3",fgHeading:"#1a2138",fgText:"#1a2138",fgHighlight:"#73a1ff",layoutBg:"#f7f9fc",separator:"#edf1f7",primary:"#73a1ff",success:"#5dcfe3",info:"#ba7fec",warning:"#ffa36b",danger:"#ff6b83",primaryLight:"#598bff",successLight:"#2ce69b",infoLight:"#42aaff",warningLight:"#ffc94d",dangerLight:"#ff708d"}},{name:"dark",variables:{fontMain:"Open Sans, sans-serif",fontSecondary:"Raleway, sans-serif",bg:"#222b45",bg2:"#1a2138",bg3:"#151a30",bg4:"#101426",border:"#222b45",border2:"#1a2138",border3:"#151a30",border4:"#101426",border5:"#101426",fg:"#8f9bb3",fgHeading:"#ffffff",fgText:"#ffffff",fgHighlight:"#3366ff",layoutBg:"#1b1b38",separator:"#1b1b38",primary:"#3366ff",success:"#00d68f",info:"#0095ff",warning:"#ffaa00",danger:"#ff3d71",primaryLight:"#598bff",successLight:"#2ce69b",infoLight:"#42aaff",warningLight:"#ffc94d",dangerLight:"#ff708d"}}];let mn=(()=>{class e{constructor(e,t=[]){this.themes={},this.combineByNames(t,e).forEach(e=>{this.register(e,e.name,e.base)})}register(e,t,n){const a=this.has(n)?this.get(n):{};this.themes[t]=this.mergeDeep({},a,e)}has(e){return!!this.themes[e]}get(e){if(!this.themes[e])throw Error(`NbThemeConfig: no theme '${e}' found registered.`);return JSON.parse(JSON.stringify(this.themes[e]))}combineByNames(e,t){if(e){const n=[];return e.forEach(e=>{const a=t.find(t=>t.name===e.name)||{},i=this.mergeDeep({},a,e);n.push(i)}),t.forEach(e=>{n.find(t=>t.name===e.name)||n.push(e)}),n}return t}isObject(e){return e&&"object"==typeof e&&!Array.isArray(e)}mergeDeep(e,...t){if(!t.length)return e;const n=t.shift();if(this.isObject(e)&&this.isObject(n))for(const a in n)this.isObject(n[a])?(e[a]||Object.assign(e,{[a]:{}}),this.mergeDeep(e[a],n[a])):Object.assign(e,{[a]:n[a]});return this.mergeDeep(e,...t)}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(un),a.LFG(_n))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})();const fn=[{name:"xs",width:0},{name:"is",width:400},{name:"sm",width:576},{name:"md",width:768},{name:"lg",width:992},{name:"xl",width:1200},{name:"xxl",width:1400},{name:"xxxl",width:1600}];let En=(()=>{class e{constructor(e){this.breakpoints=e,this.breakpointsMap=this.breakpoints.reduce((e,t)=>(e[t.name]=t.width,e),{})}getByWidth(e){const t={name:"unknown",width:e},n=this.getBreakpoints();return n.find((t,a)=>{const i=n[a+1];return e>=t.width&&(!i||ee===t.name)||{name:"unknown",width:NaN}}getBreakpoints(){return this.breakpoints}getBreakpointsMap(){return this.breakpointsMap}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(dn))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})(),Sn=(()=>{class e{constructor(e,t,n){this.options=e,this.breakpointService=t,this.jsThemesRegistry=n,this.themeChanges$=new u.t(1),this.appendLayoutClass$=new _.xQ,this.removeLayoutClass$=new _.xQ,this.changeWindowWidth$=new u.t(2),e&&e.name&&this.changeTheme(e.name)}changeTheme(e){this.themeChanges$.next({name:e,previous:this.currentTheme}),this.currentTheme=e}changeWindowWidth(e){this.changeWindowWidth$.next(e)}getJsTheme(){return this.onThemeChange().pipe((0,R.U)(e=>this.jsThemesRegistry.get(e.name)))}onMediaQueryChange(){return this.changeWindowWidth$.pipe((0,A.O)(void 0),b(),(0,R.U)(([e,t])=>[this.breakpointService.getByWidth(e),this.breakpointService.getByWidth(t)]),(0,N.h)(([e,t])=>e.name!==t.name),(0,w.x)(null,e=>e[0].name+e[1].name),(0,I.B)())}onThemeChange(){return this.themeChanges$.pipe((0,I.B)())}appendLayoutClass(e){this.appendLayoutClass$.next(e)}onAppendLayoutClass(){return this.appendLayoutClass$.pipe((0,I.B)())}removeLayoutClass(e){this.removeLayoutClass$.next(e)}onRemoveLayoutClass(){return this.removeLayoutClass$.pipe((0,I.B)())}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(cn),a.LFG(En),a.LFG(mn))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})(),bn=(()=>{class e{constructor(e){this.document=e,this.loaders=[],this.selector="nb-global-spinner"}registerLoader(e){this.loaders.push(e)}clear(){this.loaders=[]}load(){this.showSpinner(),this.executeAll()}executeAll(e=(()=>{})){Promise.all(this.loaders).then(t=>{this.hideSpinner(),e.call(null,t)}).catch(e=>{console.error(e)})}showSpinner(){const e=this.getSpinnerElement();e&&(e.style.display="block")}hideSpinner(){const e=this.getSpinnerElement();e&&(e.style.display="none")}getSpinnerElement(){return this.document.getElementById(this.selector)}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(pn))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})();var yn=(()=>(function(e){e.LTR="ltr",e.RTL="rtl"}(yn||(yn={})),yn))();const vn=new a.OlP("Layout direction");let Tn=(()=>{class e{constructor(e=yn.LTR){this.direction=e,this.$directionChange=new u.t(1),this.setDirection(e)}isLtr(){return this.direction===yn.LTR}isRtl(){return this.direction===yn.RTL}getDirection(){return this.direction}setDirection(e){this.direction=e,this.$directionChange.next(e)}onDirectionChange(){return this.$directionChange.pipe((0,I.B)())}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(vn,8))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})(),Cn=(()=>{class e{constructor(){this.scrollPositionReq$=new _.xQ,this.manualScroll$=new _.xQ,this.scroll$=new _.xQ,this.scrollable$=new _.xQ}getPosition(){return new r.y(e=>{const t=new _.xQ;return t.subscribe(e),this.scrollPositionReq$.next({listener:t}),()=>t.complete()})}scrollTo(e=null,t=null){this.manualScroll$.next({x:e,y:t})}onScroll(){return this.scroll$.pipe((0,I.B)())}onManualScroll(){return this.manualScroll$.pipe((0,I.B)())}onGetPosition(){return this.scrollPositionReq$}onScrollableChange(){return this.scrollable$.pipe((0,I.B)())}fireScrollChange(e){this.scroll$.next(e)}scrollable(e){this.scrollable$.next(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})(),On=(()=>{class e{constructor(){this.contentDimensionsReq$=new _.xQ}getDimensions(){return new r.y(e=>{const t=new _.xQ;return t.subscribe(e),this.contentDimensionsReq$.next({listener:t}),()=>t.complete()})}onGetDimensions(){return this.contentDimensionsReq$}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})(),Rn=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[i.ez,G.u5,V.Bz]}),e})();class An extends re{constructor(e,t,n,a,i){super(e,t,n,a,i),this.element=e,this.checker=t,this.ngZone=n,this.document=a,this.savePreviouslyFocusedElement()}restoreFocus(){this.previouslyFocusedElement.focus(),this.destroy()}blurPreviouslyFocusedElement(){this.previouslyFocusedElement.blur()}savePreviouslyFocusedElement(){this.previouslyFocusedElement=this.document.activeElement}}let Nn=(()=>{class e extends se{constructor(e,t,n){super(e,t,n),this.checker=e,this.ngZone=t,this.document=n}create(e,t){return new An(e,this.checker,this.ngZone,this.document,t)}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(ne),a.LFG(a.R0b),a.LFG(pn))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})();class wn extends te{}class In{create(e){return new wn(e)}}class Mn extends ee{}class xn{create(e){return new Mn(e)}}let Dn=(()=>{class e extends pe{}return e.\u0275fac=function(){let t;return function(n){return(t||(t=a.n5z(e)))(n||e)}}(),e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})(),Ln=(()=>{class e{static forRoot(){return{ngModule:e,providers:[Nn,In,xn,{provide:Dn,useClass:pe}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({}),e})(),Pn=(()=>{class e extends ye{}return e.\u0275fac=function(){let t;return function(n){return(t||(t=a.n5z(e)))(n||e)}}(),e.\u0275dir=a.lG2({type:e,selectors:[["","nbPortalOutlet",""]],features:[a.qOj]}),e})();class kn extends me{}let Fn=(()=>{class e extends ht{}return e.\u0275fac=function(){let t;return function(n){return(t||(t=a.n5z(e)))(n||e)}}(),e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})(),Un=(()=>{class e extends ut{}return e.\u0275fac=function(){let t;return function(n){return(t||(t=a.n5z(e)))(n||e)}}(),e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})();class Bn extends fe{constructor(e,t,n){super(e,t,n)}}let zn=(()=>{class e extends nt{}return e.\u0275fac=function(){let t;return function(n){return(t||(t=a.n5z(e)))(n||e)}}(),e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})();class Gn extends rt{}class Vn extends class{constructor(e,t){this._parentInjector=e,this._customTokens=t}get(e,t){const n=this._customTokens.get(e);return void 0!==n?n:this._parentInjector.get(e,t)}}{}const Hn=[gt,ve];let Yn=(()=>{class e{static forRoot(){return{ngModule:e,providers:[Fn,Un]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[...Hn],gt,ve]}),e})(),qn=(()=>{class e extends Q{}return e.\u0275fac=function(){let t;return function(n){return(t||(t=a.n5z(e)))(n||e)}}(),e.\u0275prov=(0,a.Yz7)({factory:function(){return new Q((0,a.LFG)(a.Lbi))},token:e,providedIn:"root"}),e})(),jn=(()=>{class e extends zn{setContainer(e){this.container=e}clearContainer(){this.container=null,this._containerElement=null}_createContainer(){const e=this._document.createElement("div");e.classList.add("cdk-overlay-container"),this.container.appendChild(e),this._containerElement=e}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=a.n5z(e)))(n||e)}}(),e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})(),$n=(()=>{class e extends Ue{constructor(e,t,n,a,i){super(e,t,i),this.ruler=n,this.scroll=a}getViewportSize(){let e;return this.ruler.getDimensions().pipe((0,R.U)(e=>({width:e.clientWidth,height:e.clientHeight}))).subscribe(t=>e=t),e}getViewportScrollPosition(){let e;return this.scroll.getPosition().pipe((0,R.U)(e=>({top:e.y,left:e.x}))).subscribe(t=>e=t),e}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(qn),a.LFG(a.R0b),a.LFG(On),a.LFG(Cn),a.LFG(pn))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})();var Wn=(()=>(function(e){e.TOP_START="top-start",e.TOP_END="top-end",e.BOTTOM_START="bottom-start",e.BOTTOM_END="bottom-end"}(Wn||(Wn={})),Wn))(),Qn=(()=>(function(e){e.TOP_RIGHT="top-right",e.TOP_LEFT="top-left",e.BOTTOM_RIGHT="bottom-right",e.BOTTOM_LEFT="bottom-left"}(Qn||(Qn={})),Qn))();let Kn=(()=>{class e{constructor(e){this.layoutDirection=e}toLogicalPosition(e){return Object.values(Wn).includes(e)?e:this.layoutDirection.isLtr()?this.toLogicalPositionWhenLtr(e):this.toLogicalPositionWhenRtl(e)}toPhysicalPosition(e){return Object.values(Qn).includes(e)?e:this.layoutDirection.isLtr()?this.toPhysicalPositionWhenLtr(e):this.toPhysicalPositionWhenRtl(e)}isTopPosition(e){const t=this.toLogicalPosition(e);return t===Wn.TOP_END||t===Wn.TOP_START}isRightPosition(e){const t=this.toPhysicalPosition(e);return t===Qn.TOP_RIGHT||t===Qn.BOTTOM_RIGHT}toLogicalPositionWhenLtr(e){switch(e){case Qn.TOP_RIGHT:return Wn.TOP_END;case Qn.TOP_LEFT:return Wn.TOP_START;case Qn.BOTTOM_RIGHT:return Wn.BOTTOM_END;case Qn.BOTTOM_LEFT:return Wn.BOTTOM_START}}toLogicalPositionWhenRtl(e){switch(e){case Qn.TOP_RIGHT:return Wn.TOP_START;case Qn.TOP_LEFT:return Wn.TOP_END;case Qn.BOTTOM_RIGHT:return Wn.BOTTOM_START;case Qn.BOTTOM_LEFT:return Wn.BOTTOM_END}}toPhysicalPositionWhenLtr(e){switch(e){case Wn.TOP_START:return Qn.TOP_LEFT;case Wn.TOP_END:return Qn.TOP_RIGHT;case Wn.BOTTOM_START:return Qn.BOTTOM_LEFT;case Wn.BOTTOM_END:return Qn.BOTTOM_RIGHT}}toPhysicalPositionWhenRtl(e){switch(e){case Wn.TOP_START:return Qn.TOP_RIGHT;case Wn.TOP_END:return Qn.TOP_LEFT;case Wn.BOTTOM_START:return Qn.BOTTOM_RIGHT;case Wn.BOTTOM_END:return Qn.BOTTOM_LEFT}}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(Tn))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})();var Zn=(()=>(function(e){e.NOOP="noop",e.CLOCKWISE="clockwise",e.COUNTERCLOCKWISE="counterclockwise",e.VERTICAL="vertical",e.HORIZONTAL="horizontal"}(Zn||(Zn={})),Zn))(),Xn=(()=>(function(e){e.TOP="top",e.BOTTOM="bottom",e.LEFT="left",e.RIGHT="right",e.START="start",e.END="end",e.TOP_END="top-end",e.TOP_START="top-start",e.BOTTOM_END="bottom-end",e.BOTTOM_START="bottom-start",e.END_TOP="end-top",e.END_BOTTOM="end-bottom",e.START_TOP="start-top",e.START_BOTTOM="start-bottom"}(Xn||(Xn={})),Xn))();const Jn={[Xn.RIGHT]:e=>({originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:e}),[Xn.BOTTOM]:e=>({originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:e}),[Xn.LEFT]:e=>({originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-e}),[Xn.TOP]:e=>({originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-e}),[Xn.START](e){return this[Xn.LEFT](e)},[Xn.END](e){return this[Xn.RIGHT](e)},[Xn.END_TOP]:e=>({originX:"end",originY:"bottom",overlayX:"start",overlayY:"bottom",offsetX:e}),[Xn.END_BOTTOM]:e=>({originX:"end",originY:"top",overlayX:"start",overlayY:"top",offsetX:e}),[Xn.BOTTOM_START]:e=>({originX:"end",originY:"bottom",overlayX:"end",overlayY:"top",offsetY:e}),[Xn.BOTTOM_END]:e=>({originX:"start",originY:"bottom",overlayX:"start",overlayY:"top",offsetY:e}),[Xn.START_TOP]:e=>({originX:"start",originY:"bottom",overlayX:"end",overlayY:"bottom",offsetX:-e}),[Xn.START_BOTTOM]:e=>({originX:"start",originY:"top",overlayX:"end",overlayY:"top",offsetX:-e}),[Xn.TOP_START]:e=>({originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",offsetY:-e}),[Xn.TOP_END]:e=>({originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",offsetY:-e})},ea=[Xn.TOP,Xn.TOP_END,Xn.TOP_START,Xn.START,Xn.START_TOP,Xn.START_BOTTOM,Xn.BOTTOM,Xn.BOTTOM_START,Xn.BOTTOM_END,Xn.END,Xn.END_BOTTOM,Xn.END_TOP],ta=[Xn.TOP,Xn.TOP_START,Xn.TOP_END,Xn.END,Xn.END_TOP,Xn.END_BOTTOM,Xn.BOTTOM,Xn.BOTTOM_END,Xn.BOTTOM_START,Xn.START,Xn.START_BOTTOM,Xn.START_TOP],na=[Xn.BOTTOM,Xn.TOP],aa=[Xn.START,Xn.END];class ia extends Gn{constructor(){super(...arguments),this._offset=15,this.positionChange=this.positionChanges.pipe((0,R.U)(e=>e.connectionPair),(0,R.U)(e=>this.appliedPositions.find(({connectedPosition:t})=>{return(n=t).originX===(a=e).originX&&n.originY===a.originY&&n.overlayX===a.overlayX&&n.overlayY===a.overlayY;var n,a}).key))}attach(e){this.applyPositions(),super.attach(e)}apply(){this.applyPositions(),super.apply()}position(e){return this._position=e,this}adjustment(e){return this._adjustment=e,this}offset(e){return this._offset=e,this}applyPositions(){const e=this.createPositions();this.persistChosenPositions(e),this.withPositions(this.appliedPositions.map(({connectedPosition:e})=>e))}createPositions(){switch(this._adjustment){case Zn.NOOP:return[this._position];case Zn.CLOCKWISE:return this.reorderPreferredPositions(ta);case Zn.COUNTERCLOCKWISE:return this.reorderPreferredPositions(ea);case Zn.HORIZONTAL:return this.reorderPreferredPositions(aa);case Zn.VERTICAL:return this.reorderPreferredPositions(na)}}persistChosenPositions(e){this.appliedPositions=e.map(e=>({key:e,connectedPosition:Jn[e](this._offset)}))}reorderPreferredPositions(e){const t=e.indexOf(this.mapToLogicalPosition(this._position)),n=e.slice(t),a=e.slice(0,t);return n.concat(a)}mapToLogicalPosition(e){return e===Xn.LEFT?Xn.START:e===Xn.RIGHT?Xn.END:e}}class ra extends dt{position(e){switch(e){case Wn.TOP_START:return this.top().left();case Wn.TOP_END:return this.top().right();case Wn.BOTTOM_START:return this.bottom().left();case Wn.BOTTOM_END:return this.bottom().right()}}}let sa=(()=>{class e{constructor(e,t,n,a,i){this.document=e,this.viewportRuler=t,this.platform=n,this.positionBuilder=a,this.overlayContainer=i}global(){return new ra}connectedTo(e){return new ia(e,this.viewportRuler,this.document,this.platform,this.overlayContainer).withFlexibleDimensions(!1).withPush(!1)}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(pn),a.LFG($n),a.LFG(qn),a.LFG(Un),a.LFG(jn))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})(),oa=(()=>{class e{get top(){return this.position===Xn.TOP}get topStart(){return this.position===Xn.TOP_START}get topEnd(){return this.position===Xn.TOP_END}get right(){return this.position===Xn.RIGHT||this.position===Xn.END}get endTop(){return this.position===Xn.END_TOP}get endBottom(){return this.position===Xn.END_BOTTOM}get bottom(){return this.position===Xn.BOTTOM}get bottomStart(){return this.position===Xn.BOTTOM_START}get bottomEnd(){return this.position===Xn.BOTTOM_END}get left(){return this.position===Xn.LEFT||this.position===Xn.START}get startTop(){return this.position===Xn.START_TOP}get startBottom(){return this.position===Xn.START_BOTTOM}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["ng-component"]],hostVars:24,hostBindings:function(e,t){2&e&&a.ekj("nb-overlay-top",t.top)("nb-overlay-top-start",t.topStart)("nb-overlay-top-end",t.topEnd)("nb-overlay-right",t.right)("nb-overlay-end-top",t.endTop)("nb-overlay-end-bottom",t.endBottom)("nb-overlay-bottom",t.bottom)("nb-overlay-bottom-start",t.bottomStart)("nb-overlay-bottom-end",t.bottomEnd)("nb-overlay-left",t.left)("nb-overlay-start-top",t.startTop)("nb-overlay-start-bottom",t.startBottom)},inputs:{position:"position"},decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})(),la=(()=>{class e{constructor(e,t,n){this.vcr=e,this.injector=t,this.changeDetectorRef=n,this.isAttached=!1}get isStringContent(){return!!this.content}attachComponentPortal(e,t){e.injector=this.createChildInjector(e.componentFactoryResolver);const n=this.portalOutlet.attachComponentPortal(e);return t&&Object.assign(n.instance,t),n.changeDetectorRef.markForCheck(),n.changeDetectorRef.detectChanges(),this.isAttached=!0,n}attachTemplatePortal(e){const t=this.portalOutlet.attachTemplatePortal(e);return t.detectChanges(),this.isAttached=!0,t}attachStringContent(e){this.content=e,this.changeDetectorRef.markForCheck(),this.changeDetectorRef.detectChanges(),this.isAttached=!0}detach(){this.portalOutlet.hasAttached()&&this.portalOutlet.detach(),this.attachStringContent(null),this.isAttached=!1}createChildInjector(e){return new Vn(this.injector,new WeakMap([[a._Vd,e]]))}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.s_b),a.Y36(a.zs3),a.Y36(a.sBO))},e.\u0275cmp=a.Xpm({type:e,selectors:[["nb-overlay-container"]],viewQuery:function(e,t){if(1&e&&a.Gf(Pn,7),2&e){let e;a.iGM(e=a.CRH())&&(t.portalOutlet=e.first)}},decls:2,vars:1,consts:[["class","primitive-overlay",4,"ngIf"],["nbPortalOutlet",""],[1,"primitive-overlay"]],template:function(e,t){1&e&&(a.YNc(0,Et,2,1,"div",0),a.YNc(1,St,0,0,"ng-template",1)),2&e&&a.Q6J("ngIf",t.isStringContent)},directives:[i.O5,Pn],encapsulation:2}),e})();function ca(e,t){return Object.assign(e.instance,t),e.changeDetectorRef.detectChanges(),e}let da=(()=>{class e{constructor(e,t){this.overlay=e,this.layoutDirection=t}get scrollStrategies(){return this.overlay.scrollStrategies}create(e){const t=this.overlay.create(e);return this.layoutDirection.onDirectionChange().subscribe(e=>t.setDirection(e)),t}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(Fn),a.LFG(Tn))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})(),ua=(()=>{class e extends Fe{constructor(e,t,n,a){super(e,t,a),this.scrollService=n}scrolled(e){return(0,h.T)(super.scrolled(e),this.scrollService.onScroll())}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(a.R0b),a.LFG(qn),a.LFG(Cn),a.LFG(pn))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})(),_a=(()=>{class e extends Ve{constructor(e,t,n){super(t,e),this.scrollService=n}enable(){super.enable(),this.scrollService.scrollable(!1)}disable(){super.disable(),this.scrollService.scrollable(!0)}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(pn),a.LFG($n),a.LFG(Cn))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})(),ha=(()=>{class e extends We{constructor(e,t,n,a,i){super(t,n,a,i),this.scrollService=e,this.scrollDispatcher=t,this.viewportRuler=n,this.ngZone=a,this.document=i,this.block=()=>new _a(this.document,this.viewportRuler,this.scrollService)}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(Cn),a.LFG(Fe),a.LFG($n),a.LFG(a.R0b),a.LFG(pn))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})(),pa=(()=>{class e{static forRoot(){return{ngModule:e,providers:[$n,jn,_a,ua,ha,{provide:nt,useExisting:jn},{provide:zn,useExisting:jn},{provide:Fe,useExisting:ua},{provide:We,useExisting:ha}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({}),e})();var ga=(()=>(function(e){e.NOOP="noop",e.CLICK="click",e.HOVER="hover",e.HINT="hint",e.FOCUS="focus"}(ga||(ga={})),ga))();class ma{constructor(e,t,n){this.document=e,this.host=t,this.container=n,this.destroyed$=new _.xQ}destroy(){this.destroyed$.next()}isNotOnHostOrContainer(e){return!this.isOnHost(e)&&!this.isOnContainer(e)}isOnHostOrContainer(e){return this.isOnHost(e)||this.isOnContainer(e)}isOnHost({target:e}){return this.host.contains(e)}isOnContainer({target:e}){return this.container()&&this.container().location.nativeElement.contains(e)}}class fa extends ma{constructor(){super(...arguments),this.click$=(0,p.R)(this.document,"click").pipe((0,R.U)(e=>[!this.container()&&this.isOnHost(e),e]),(0,I.B)(),(0,M.R)(this.destroyed$)),this.show$=this.click$.pipe((0,N.h)(([e])=>e),(0,R.U)(([,e])=>e),(0,M.R)(this.destroyed$)),this.hide$=this.click$.pipe((0,N.h)(([e,t])=>!e&&!this.isOnContainer(t)),(0,R.U)(([,e])=>e),(0,M.R)(this.destroyed$))}}class Ea extends ma{constructor(){super(...arguments),this.show$=(0,p.R)(this.host,"mouseenter").pipe((0,N.h)(()=>!this.container()),(0,x.g)(100),(0,M.R)((0,p.R)(this.host,"mouseleave")),T(),(0,M.R)(this.destroyed$)),this.hide$=(0,p.R)(this.host,"mouseleave").pipe((0,D.w)(()=>(0,p.R)(this.document,"mousemove").pipe((0,L.b)(100),(0,P.o)(()=>!!this.container()),(0,N.h)(e=>this.isNotOnHostOrContainer(e)))),(0,M.R)(this.destroyed$))}}class Sa extends ma{constructor(){super(...arguments),this.show$=(0,p.R)(this.host,"mouseenter").pipe((0,x.g)(100),(0,M.R)((0,p.R)(this.host,"mouseleave")),T(),(0,M.R)(this.destroyed$)),this.hide$=(0,p.R)(this.host,"mouseleave").pipe((0,M.R)(this.destroyed$))}}class ba extends ma{constructor(){super(...arguments),this.focusOut$=(0,p.R)(this.host,"focusout").pipe((0,D.w)(()=>(0,p.R)(this.document,"focusin").pipe((0,P.o)(()=>!!this.container()),(0,N.h)(e=>this.isNotOnHostOrContainer(e)))),(0,M.R)(this.destroyed$)),this.clickIn$=(0,p.R)(this.host,"click").pipe((0,N.h)(()=>!this.container()),(0,M.R)(this.destroyed$)),this.clickOut$=(0,p.R)(this.document,"click").pipe((0,N.h)(()=>!!this.container()),(0,N.h)(e=>this.isNotOnHostOrContainer(e)),(0,M.R)(this.destroyed$)),this.tabKeyPress$=(0,p.R)(this.document,"keydown").pipe((0,N.h)(e=>9===e.keyCode),(0,N.h)(()=>!!this.container()),(0,M.R)(this.destroyed$)),this.show$=(0,h.T)((0,p.R)(this.host,"focusin"),this.clickIn$).pipe((0,N.h)(()=>!this.container()),(0,L.b)(100),(0,M.R)((0,p.R)(this.host,"focusout")),T(),(0,M.R)(this.destroyed$)),this.hide$=(0,h.T)(this.focusOut$,this.tabKeyPress$,this.clickOut$).pipe((0,M.R)(this.destroyed$))}}class ya extends ma{constructor(){super(...arguments),this.show$=g.E,this.hide$=g.E}}let va=(()=>{class e{constructor(e){this._document=e}trigger(e){return this._trigger=e,this}host(e){return this._host=e,this}container(e){return this._container=e,this}build(){switch(this._trigger){case ga.CLICK:return new fa(this._document,this._host,this._container);case ga.HINT:return new Sa(this._document,this._host,this._container);case ga.HOVER:return new Ea(this._document,this._host,this._container);case ga.FOCUS:return new ba(this._document,this._host,this._container);case ga.NOOP:return new ya(this._document,this._host,this._container);default:throw new Error("Trigger have to be provided")}}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(pn))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})(),Ta=(()=>{class e{static forRoot(){return{ngModule:e,providers:[sa,va,da,Kn,...Yn.forRoot().providers,...pa.forRoot().providers,...Ln.forRoot().providers]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[Yn,Rn],Yn,pa]}),e})(),Ca=(()=>{class e{constructor(){this.coreStatuses=["basic","primary","info","warning","danger","control"]}isCoreStatus(e){return this.coreStatuses.includes(e)}isCustomStatus(e){return!!this.isValidStatusString(e)&&!this.isCoreStatus(e)}getStatusClass(e){if(this.isValidStatusString(e))return`status-${e}`}isValidStatusString(e){return"string"==typeof e&&e.length>0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})();function Oa(e){if((0,i.NF)(e))return window}let Ra=(()=>{class e{static forRoot(t={name:"default"},n,r,s){return{ngModule:e,providers:[{provide:cn,useValue:t||{}},{provide:un,useValue:gn},{provide:_n,useValue:n||[]},{provide:dn,useValue:r||fn},{provide:pn,useExisting:i.K0},{provide:hn,useFactory:Oa,deps:[a.Lbi]},mn,Sn,En,bn,{provide:vn,useValue:s||yn.LTR},Tn,Cn,On,...Ta.forRoot().providers,Ca]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[i.ez]]}),e})();var Aa=(()=>(function(e){e.SVG="svg",e.FONT="font"}(Aa||(Aa={})),Aa))();class Na{constructor(e,t,n={}){this.name=e,this.content=t,this.params=n}getClasses(e){const t=[];return this.params.packClass&&t.push(this.params.packClass),t.push(this.params.iconClassPrefix?`${this.params.iconClassPrefix}-${this.name}`:this.name),t}getContent(e){return this.content}}class wa{constructor(e,t,n={}){this.name=e,this.content=t,this.params=n}getClasses(e){const t=[];return this.params.packClass&&t.push(this.params.packClass),t}getContent(e){return this.content}}function Ia(e){throw Error(`Icon Pack '${e}' is not registered`)}function Ma(e,t,n){throw Error(`Pack '${e}' is not an '${n}' Pack and its type is '${t}'`)}let xa=(()=>{class e{constructor(){this.packs=new Map}registerSvgPack(e,t,n={}){this.packs.set(e,{name:e,icons:new Map(Object.entries(t)),params:n,type:Aa.SVG})}registerFontPack(e,t={}){this.packs.set(e,{name:e,params:t,icons:new Map,type:Aa.FONT})}getPack(e){return this.packs.get(e)}setDefaultPack(e){this.packs.has(e)||Ia(e),this.defaultPack=this.packs.get(e)}getSvgIcon(e,t){const n=t?this.getPackOrThrow(t):this.getDefaultPackOrThrow();n.type!==Aa.SVG&&Ma(n.name,n.type,"SVG");const a=this.getIconFromPack(e,n);return a?{name:e,pack:n.name,type:Aa.SVG,icon:this.createSvgIcon(e,a,n.params)}:null}getFontIcon(e,t){const n=t?this.getPackOrThrow(t):this.getDefaultPackOrThrow();n.type!==Aa.FONT&&Ma(n.name,n.type,"Font");const a=this.getIconFromPack(e,n);return{name:e,pack:n.name,type:Aa.FONT,icon:this.createFontIcon(e,a||"",n.params)}}getIcon(e,t){return(t?this.getPackOrThrow(t):this.getDefaultPackOrThrow()).type===Aa.SVG?this.getSvgIcon(e,t):this.getFontIcon(e,t)}createSvgIcon(e,t,n){return t instanceof wa?t:new wa(e,t,n)}createFontIcon(e,t,n){return t instanceof Na?t:new Na(e,t,n)}getPackOrThrow(e){const t=this.packs.get(e);return t||Ia(e),t}getDefaultPackOrThrow(){return this.defaultPack||function(){throw Error("Default pack is not registered.")}(),this.defaultPack}getIconFromPack(e,t){return t.icons.has(e)?t.icons.get(e):null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,a.Yz7)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),Da=(()=>{class e{constructor(e,t,n,a,i){this.sanitizer=e,this.iconLibrary=t,this.el=n,this.renderer=a,this.statusService=i,this.prevClasses=[],this.html=""}get primary(){return"primary"===this.status}get info(){return"info"===this.status}get success(){return"success"===this.status}get warning(){return"warning"===this.status}get danger(){return"danger"===this.status}get basic(){return"basic"===this.status}get control(){return"control"===this.status}get additionalClasses(){return this.statusService.isCustomStatus(this.status)?[this.statusService.getStatusClass(this.status)]:[]}get config(){return this._config}set config(e){e&&(this._config=e,"string"==typeof e?this.icon=e:(this.icon=e.icon,this.pack=e.pack,this.status=e.status,this.options=e.options))}ngOnInit(){this.iconDef=this.renderIcon(this.icon,this.pack,this.options)}ngOnChanges(){this.iconLibrary.getIcon(this.icon,this.pack)?this.renderIcon(this.icon,this.pack,this.options):this.clearIcon()}renderIcon(e,t,n){const a=this.iconLibrary.getIcon(e,t);if(!a)return;const i=a.icon.getContent(n);return i&&(this.html=this.sanitizer.bypassSecurityTrustHtml(i)),this.assignClasses(a.icon.getClasses(n)),a}clearIcon(){this.html="",this.assignClasses([])}assignClasses(e){this.prevClasses.forEach(e=>{this.renderer.removeClass(this.el.nativeElement,e)}),e.forEach(e=>{this.renderer.addClass(this.el.nativeElement,e)}),this.prevClasses=e}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(ft.H7),a.Y36(xa),a.Y36(a.SBq),a.Y36(a.Qsj),a.Y36(Ca))},e.\u0275cmp=a.Xpm({type:e,selectors:[["nb-icon"]],hostVars:17,hostBindings:function(e,t){2&e&&(a.Ikx("innerHtml",t.html,a.oJD),a.Tol(t.additionalClasses),a.ekj("status-primary",t.primary)("status-info",t.info)("status-success",t.success)("status-warning",t.warning)("status-danger",t.danger)("status-basic",t.basic)("status-control",t.control))},inputs:{config:"config",icon:"icon",pack:"pack",status:"status",options:"options"},features:[a.TTD],decls:0,vars:0,template:function(e,t){},styles:["[_nghost-%COMP%]{display:inline-block}"],changeDetection:0}),e})(),La=(()=>{class e{constructor(e){this.iconsLibrary=e,this.essentialsPackName="nebular-essentials",this.iconsLibrary.getPack(this.essentialsPackName)||this.iconsLibrary.registerSvgPack(this.essentialsPackName,{"chevron-down-outline":'',"chevron-up-outline":'',"chevron-left-outline":'',"chevron-right-outline":'',"checkmark-outline":'',"paper-plane-outline":'',"file-text-outline":'',"alert-triangle-outline":'',"question-mark-outline":'',"email-outline":'',"flash-outline":'',"search-outline":'',"close-outline":'',"collapse-outline":'',"expand-outline":'',"minus-outline":'',"minus-bold-outline":'',"checkmark-bold-outline":'',"arrow-back":''})}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(xa))},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[i.ez]]}),e})(),Pa=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["nb-card-header"]],ngContentSelectors:bt,decls:1,vars:0,template:function(e,t){1&e&&(a.F$t(),a.Hsn(0))},encapsulation:2}),e})(),ka=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["nb-card-body"]],ngContentSelectors:bt,decls:1,vars:0,template:function(e,t){1&e&&(a.F$t(),a.Hsn(0))},encapsulation:2}),e})(),Fa=(()=>{class e{constructor(e){this.statusService=e,this._size="",this.status="",this.accent=""}get size(){return this._size}set size(e){this._size=e}get tiny(){return"tiny"===this.size}get small(){return"small"===this.size}get medium(){return"medium"===this.size}get large(){return"large"===this.size}get giant(){return"giant"===this.size}get primary(){return"primary"===this.status}get info(){return"info"===this.status}get success(){return"success"===this.status}get warning(){return"warning"===this.status}get danger(){return"danger"===this.status}get basic(){return"basic"===this.status}get control(){return"control"===this.status}get hasAccent(){return this.accent}get primaryAccent(){return"primary"===this.accent}get infoAccent(){return"info"===this.accent}get successAccent(){return"success"===this.accent}get warningAccent(){return"warning"===this.accent}get dangerAccent(){return"danger"===this.accent}get basicAccent(){return"basic"===this.accent}get controlAccent(){return"control"===this.accent}get additionalClasses(){return this.statusService.isCustomStatus(this.status)?[this.statusService.getStatusClass(this.status)]:[]}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(Ca))},e.\u0275cmp=a.Xpm({type:e,selectors:[["nb-card"]],hostVars:42,hostBindings:function(e,t){2&e&&(a.Tol(t.additionalClasses),a.ekj("size-tiny",t.tiny)("size-small",t.small)("size-medium",t.medium)("size-large",t.large)("size-giant",t.giant)("status-primary",t.primary)("status-info",t.info)("status-success",t.success)("status-warning",t.warning)("status-danger",t.danger)("status-basic",t.basic)("status-control",t.control)("accent",t.hasAccent)("accent-primary",t.primaryAccent)("accent-info",t.infoAccent)("accent-success",t.successAccent)("accent-warning",t.warningAccent)("accent-danger",t.dangerAccent)("accent-basic",t.basicAccent)("accent-control",t.controlAccent))},inputs:{status:"status",accent:"accent",size:"size"},ngContentSelectors:vt,decls:4,vars:0,template:function(e,t){1&e&&(a.F$t(yt),a.Hsn(0),a.Hsn(1,1),a.Hsn(2,2),a.Hsn(3,3))},styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}"]}),e})(),Ua=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[Rn,La]]}),e})();function Ba(e){return"string"==typeof e?"true"===(e=e.toLowerCase().trim())||""===e:!!e}let za=(()=>{class e{constructor(e,t,n,a,i){this.renderer=e,this.hostElement=t,this.cd=n,this.zone=a,this.statusService=i,this.size="medium",this.status="basic",this.shape="rectangle",this.appearance="filled",this._fullWidth=!1,this._disabled=!1}get filled(){return"filled"===this.appearance}set filled(e){Ba(e)&&(this.appearance="filled")}get outline(){return"outline"===this.appearance}set outline(e){Ba(e)&&(this.appearance="outline")}get ghost(){return"ghost"===this.appearance}set ghost(e){Ba(e)&&(this.appearance="ghost")}get fullWidth(){return this._fullWidth}set fullWidth(e){this._fullWidth=Ba(e)}get disabled(){return this._disabled}set disabled(e){this.disabled!==Ba(e)&&(this._disabled=!this.disabled,this.renderer.setProperty(this.hostElement.nativeElement,"disabled",this.disabled))}get tabbable(){return this.disabled?"-1":null==this.tabIndex?"0":this.tabIndex.toString()}get tiny(){return"tiny"===this.size}get small(){return"small"===this.size}get medium(){return"medium"===this.size}get large(){return"large"===this.size}get giant(){return"giant"===this.size}get rectangle(){return"rectangle"===this.shape}get round(){return"round"===this.shape}get semiRound(){return"semi-round"===this.shape}get iconLeft(){const e=this.iconElement;return!(!e||(t=this.hostElement.nativeElement,Array.from(t.childNodes).filter(e=>e.nodeType!==Node.COMMENT_NODE)[0]!==e));var t}get iconRight(){const e=this.iconElement;return!(!e||function(e){const t=Array.from(e.childNodes).filter(e=>e.nodeType!==Node.COMMENT_NODE);return t[t.length-1]}(this.hostElement.nativeElement)!==e)}get additionalClasses(){return this.statusService.isCustomStatus(this.status)?[this.statusService.getStatusClass(this.status)]:[]}ngAfterViewInit(){this.zone.runOutsideAngular(()=>setTimeout(()=>{this.renderer.addClass(this.hostElement.nativeElement,"nb-transition")}))}updateProperties(e){let t=!1;for(const n in e)e.hasOwnProperty(n)&&this[n]!==e[n]&&(this[n]=e[n],t=!0);t&&this.cd.markForCheck()}get iconElement(){return this.hostElement.nativeElement.querySelector("nb-icon")}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.Qsj),a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(a.R0b),a.Y36(Ca))},e.\u0275dir=a.lG2({type:e,hostVars:34,hostBindings:function(e,t){2&e&&(a.uIk("aria-disabled",t.disabled)("tabindex",t.tabbable),a.Tol(t.additionalClasses),a.ekj("appearance-filled",t.filled)("appearance-outline",t.outline)("appearance-ghost",t.ghost)("full-width",t.fullWidth)("btn-disabled",t.disabled)("size-tiny",t.tiny)("size-small",t.small)("size-medium",t.medium)("size-large",t.large)("size-giant",t.giant)("shape-rectangle",t.rectangle)("shape-round",t.round)("shape-semi-round",t.semiRound)("icon-start",t.iconLeft)("icon-end",t.iconRight))},inputs:{size:"size",status:"status",shape:"shape",appearance:"appearance",filled:"filled",outline:"outline",ghost:"ghost",fullWidth:"fullWidth",disabled:"disabled",tabIndex:"tabIndex"}}),e})(),Ga=(()=>{class e extends za{constructor(e,t,n,a,i){super(e,t,n,a,i),this.renderer=e,this.hostElement=t,this.cd=n,this.zone=a,this.statusService=i}get hero(){return"hero"===this.appearance}set hero(e){Ba(e)&&(this.appearance="hero")}get primary(){return"primary"===this.status}get info(){return"info"===this.status}get success(){return"success"===this.status}get warning(){return"warning"===this.status}get danger(){return"danger"===this.status}get basic(){return"basic"===this.status}get control(){return"control"===this.status}onClick(e){this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.Qsj),a.Y36(a.SBq),a.Y36(a.sBO),a.Y36(a.R0b),a.Y36(Ca))},e.\u0275cmp=a.Xpm({type:e,selectors:[["button","nbButton",""],["a","nbButton",""],["input","type","button","nbButton",""],["input","type","submit","nbButton",""]],hostVars:16,hostBindings:function(e,t){1&e&&a.NdJ("click",function(e){return t.onClick(e)}),2&e&&a.ekj("appearance-hero",t.hero)("status-primary",t.primary)("status-info",t.info)("status-success",t.success)("status-warning",t.warning)("status-danger",t.danger)("status-basic",t.basic)("status-control",t.control)},inputs:{hero:"hero"},features:[a._Bn([{provide:za,useExisting:e}]),a.qOj],attrs:Tt,ngContentSelectors:bt,decls:1,vars:0,template:function(e,t){1&e&&(a.F$t(),a.Hsn(0))},encapsulation:2,changeDetection:0}),e})(),Va=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[Rn]]}),e})();function Ha(e){return e.match(/.*?(?=[?;#]|$)/)[0]}function Ya(e){const t=e.match(/#(.+)/);return t?t[1]:""}new a.OlP("NB_TIME_PICKER_CONFIG"),new a.OlP("Datepicker Adapter"),new a.OlP("Date service options");let qa=(()=>{class e{constructor(e){this.router=e}shouldRestore(){return this.router.events.pipe((0,A.O)(null),(0,N.h)(e=>null===e||e instanceof V.m2),b(),(0,R.U)(([e,t])=>this.pageChanged(e,t)),(0,N.h)(e=>!!e))}pageChanged(e,t){return!e||Ha(e.url)!==Ha(t.url)}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(V.F0))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})(),ja=(()=>{class e{constructor(e,t,n,a,r,s,o,l,c,d,u,h){this.themeService=e,this.spinnerService=t,this.elementRef=n,this.renderer=a,this.window=r,this.document=s,this.platformId=o,this.layoutDirectionService=l,this.scrollService=c,this.rulerService=d,this.scrollTop=u,this.overlayContainer=h,this.scrollBlockClass="nb-global-scrollblock",this.isScrollBlocked=!1,this.centerValue=!1,this.restoreScrollTopValue=!0,this.windowModeValue=!1,this.withScrollValue=!1,this.withSubheader=!1,this.afterViewInit$=new m.X(null),this.destroy$=new _.xQ,this.registerAsOverlayContainer(),this.themeService.onThemeChange().pipe((0,M.R)(this.destroy$)).subscribe(e=>{const t=this.document.getElementsByTagName("body")[0];e.previous&&this.renderer.removeClass(t,`nb-theme-${e.previous}`),this.renderer.addClass(t,`nb-theme-${e.name}`)}),this.themeService.onAppendLayoutClass().pipe((0,M.R)(this.destroy$)).subscribe(e=>{this.renderer.addClass(this.elementRef.nativeElement,e)}),this.themeService.onRemoveLayoutClass().pipe((0,M.R)(this.destroy$)).subscribe(e=>{this.renderer.removeClass(this.elementRef.nativeElement,e)}),this.spinnerService.registerLoader(new Promise(e=>{this.afterViewInit$.pipe((0,M.R)(this.destroy$)).subscribe(t=>e())})),this.spinnerService.load(),this.rulerService.onGetDimensions().pipe((0,M.R)(this.destroy$)).subscribe(({listener:e})=>{e.next(this.getDimensions()),e.complete()}),this.scrollService.onScrollableChange().pipe((0,N.h)(()=>this.withScrollValue)).subscribe(e=>{e?this.enableScroll():this.blockScroll()}),(0,i.NF)(this.platformId)&&this.themeService.changeWindowWidth(this.window.innerWidth)}set center(e){this.centerValue=Ba(e)}set windowMode(e){this.windowModeValue=Ba(e),this.withScroll=this.windowModeValue}set withScroll(e){this.withScrollValue=Ba(e);const t=this.document.getElementsByTagName("body")[0];this.renderer.setStyle(t,"overflow",this.withScrollValue?"hidden":"initial")}set restoreScrollTop(e){this.restoreScrollTopValue=Ba(e)}ngAfterViewInit(){this.scrollService.onGetPosition().pipe((0,M.R)(this.destroy$)).subscribe(({listener:e})=>{e.next(this.getScrollPosition()),e.complete()}),this.scrollTop.shouldRestore().pipe((0,N.h)(()=>this.restoreScrollTopValue),(0,M.R)(this.destroy$)).subscribe(()=>this.scroll(0,0)),this.layoutDirectionService.onDirectionChange().pipe((0,M.R)(this.destroy$)).subscribe(e=>this.document.dir=e),this.scrollService.onManualScroll().pipe((0,M.R)(this.destroy$)).subscribe(({x:e,y:t})=>this.scroll(e,t)),this.afterViewInit$.next(!0)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.unregisterAsOverlayContainer()}onScroll(e){this.scrollService.fireScrollChange(e)}onResize(e){this.themeService.changeWindowWidth(e.target.innerWidth)}getDimensions(){let e,t,n,a=0;if(this.withScrollValue){const i=this.scrollableContainerRef.nativeElement;e=i.clientWidth,t=i.clientHeight,n=i.scrollWidth,a=i.scrollHeight}else{const{documentElement:i,body:r}=this.document;e=i.clientWidth||r.clientWidth,t=i.clientHeight||r.clientHeight,n=i.scrollWidth||r.scrollWidth,a=i.scrollHeight||r.scrollHeight}return{clientWidth:e,clientHeight:t,scrollWidth:n,scrollHeight:a}}getScrollPosition(){if(!(0,i.NF)(this.platformId))return{x:0,y:0};if(this.withScrollValue){const e=this.scrollableContainerRef.nativeElement;return{x:e.scrollLeft,y:e.scrollTop}}const e=this.document.documentElement.getBoundingClientRect();return{x:-e.left||this.document.body.scrollLeft||this.window.scrollX||this.document.documentElement.scrollLeft||0,y:-e.top||this.document.body.scrollTop||this.window.scrollY||this.document.documentElement.scrollTop||0}}registerAsOverlayContainer(){this.overlayContainer.setContainer&&this.overlayContainer.setContainer(this.elementRef.nativeElement)}unregisterAsOverlayContainer(){this.overlayContainer.clearContainer&&this.overlayContainer.clearContainer()}scroll(e=null,t=null){const{x:n,y:a}=this.getScrollPosition();if(e=null==e?n:e,t=null==t?a:t,(0,i.NF)(this.platformId))if(this.withScrollValue){const n=this.scrollableContainerRef.nativeElement;n.scrollTo?n.scrollTo(e,t):(n.scrollLeft=e,n.scrollTop=t)}else this.window.scrollTo(e,t)}blockScroll(){if(this.isScrollBlocked)return;this.isScrollBlocked=!0,this.renderer.addClass(this.document.documentElement,this.scrollBlockClass);const e=this.scrollableContainerRef.nativeElement,t=this.layoutContainerRef.nativeElement,n=t.clientWidth;this.scrollableContainerOverflowOldValue=e.style.overflow,e.style.overflow="hidden";const a=t.clientWidth-n;a&&(this.layoutPaddingOldValue={left:t.style.paddingLeft,right:t.style.paddingRight},this.layoutDirectionService.isLtr()?t.style.paddingRight=`${a}px`:t.style.paddingLeft=`${a}px`)}enableScroll(){if(this.isScrollBlocked&&(this.isScrollBlocked=!1,this.renderer.removeClass(this.document.documentElement,this.scrollBlockClass),this.scrollableContainerRef.nativeElement.style.overflow=this.scrollableContainerOverflowOldValue,this.layoutPaddingOldValue)){const e=this.layoutContainerRef.nativeElement;e.style.paddingLeft=this.layoutPaddingOldValue.left,e.style.paddingRight=this.layoutPaddingOldValue.right,this.layoutPaddingOldValue=null}}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(Sn),a.Y36(bn),a.Y36(a.SBq),a.Y36(a.Qsj),a.Y36(hn),a.Y36(pn),a.Y36(a.Lbi),a.Y36(Tn),a.Y36(Cn),a.Y36(On),a.Y36(qa),a.Y36(jn))},e.\u0275cmp=a.Xpm({type:e,selectors:[["nb-layout"]],viewQuery:function(e,t){if(1&e&&(a.Gf(Ct,5,a.s_b),a.Gf(Ot,5,a.SBq),a.Gf(Rt,5,a.SBq)),2&e){let e;a.iGM(e=a.CRH())&&(t.veryTopRef=e.first),a.iGM(e=a.CRH())&&(t.scrollableContainerRef=e.first),a.iGM(e=a.CRH())&&(t.layoutContainerRef=e.first)}},hostVars:6,hostBindings:function(e,t){1&e&&a.NdJ("scroll",function(e){return t.onScroll(e)},!1,a.Jf7)("resize",function(e){return t.onResize(e)},!1,a.Jf7),2&e&&a.ekj("window-mode",t.windowModeValue)("with-scroll",t.withScrollValue)("with-subheader",t.withSubheader)},inputs:{center:"center",windowMode:"windowMode",withScroll:"withScroll",restoreScrollTop:"restoreScrollTop"},ngContentSelectors:Nt,decls:12,vars:2,consts:[[1,"scrollable-container",3,"scroll"],["scrollableContainer",""],[1,"layout"],["layoutContainer",""],[1,"layout-container"],[1,"content"],[1,"columns"]],template:function(e,t){1&e&&(a.F$t(At),a.TgZ(0,"div",0,1),a.NdJ("scroll",function(e){return t.onScroll(e)}),a.TgZ(2,"div",2,3),a.Hsn(4),a.TgZ(5,"div",4),a.Hsn(6,1),a.TgZ(7,"div",5),a.Hsn(8,2),a.TgZ(9,"div",6),a.Hsn(10,3),a.qZA(),a.Hsn(11,4),a.qZA(),a.qZA(),a.qZA(),a.qZA()),2&e&&(a.xp6(7),a.ekj("center",t.centerValue))},styles:["[_nghost-%COMP%]{-webkit-font-smoothing:antialiased}[dir=ltr] [_nghost-%COMP%]{text-align:left}[dir=rtl] [_nghost-%COMP%]{text-align:right}[_nghost-%COMP%] .layout[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] nb-layout-header{display:block}[_nghost-%COMP%] nb-layout-header nav{align-items:center;justify-content:flex-start;display:flex}[_nghost-%COMP%] nb-layout-header.fixed{position:fixed;top:0;left:0;right:0;z-index:1040}[_nghost-%COMP%] .layout-container[_ngcontent-%COMP%]{display:flex;flex:1;-ms-flex:1 1 auto;flex-direction:row}[dir=ltr] [_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] nb-sidebar.left{order:0}[dir=rtl] [_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] nb-sidebar.left{order:2}[dir=ltr] [_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] nb-sidebar.right{order:2}[dir=rtl] [_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] nb-sidebar.right{order:0}[_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] nb-sidebar.end{order:2}[_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] nb-sidebar .fixed{position:fixed;width:100%;overflow-y:auto;height:100%}[_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:flex;flex:1;-ms-flex:1 1 auto;flex-direction:column;min-width:0}[_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] .content.center[_ngcontent-%COMP%]{max-width:100%;position:relative;margin-left:auto;margin-right:auto}[_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%]{display:flex;flex:1;-ms-flex:1 1 auto;flex-direction:row;width:100%}[_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] nb-layout-column{order:1;flex:1 0;min-width:0}[dir=ltr] [_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] nb-layout-column.left{order:0}[dir=rtl] [_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] nb-layout-column.left{order:2}[_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%] nb-layout-column.start{order:0}[_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] nb-layout-footer{display:block;margin-top:auto}[_nghost-%COMP%] .layout-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] nb-layout-footer nav{justify-content:center;display:flex}"]}),e})(),$a=(()=>{class e{set left(e){this.leftValue=Ba(e),this.startValue=!1}set start(e){this.startValue=Ba(e),this.leftValue=!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["nb-layout-column"]],hostVars:4,hostBindings:function(e,t){2&e&&a.ekj("left",t.leftValue)("start",t.startValue)},inputs:{left:"left",start:"start"},ngContentSelectors:bt,decls:1,vars:0,template:function(e,t){1&e&&(a.F$t(),a.Hsn(0))},encapsulation:2}),e})(),Wa=(()=>{class e{constructor(e){this.layout=e}set fixed(e){this.fixedValue=Ba(e)}set subheader(e){this.subheaderValue=Ba(e),this.fixedValue=!1,this.layout.withSubheader=this.subheaderValue}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(ja))},e.\u0275cmp=a.Xpm({type:e,selectors:[["nb-layout-header"]],hostVars:4,hostBindings:function(e,t){2&e&&a.ekj("fixed",t.fixedValue)("subheader",t.subheaderValue)},inputs:{fixed:"fixed",subheader:"subheader"},ngContentSelectors:bt,decls:2,vars:2,template:function(e,t){1&e&&(a.F$t(),a.TgZ(0,"nav"),a.Hsn(1),a.qZA()),2&e&&a.ekj("fixed",t.fixedValue)},encapsulation:2}),e})(),Qa=(()=>{class e{set fixed(e){this.fixedValue=Ba(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["nb-layout-footer"]],hostVars:2,hostBindings:function(e,t){2&e&&a.ekj("fixed",t.fixedValue)},inputs:{fixed:"fixed"},ngContentSelectors:bt,decls:2,vars:2,template:function(e,t){1&e&&(a.F$t(),a.TgZ(0,"nav"),a.Hsn(1),a.qZA()),2&e&&a.ekj("fixed",t.fixedValue)},encapsulation:2}),e})(),Ka=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[qa],imports:[[Rn]]}),e})();const Za=new _.xQ,Xa=new u.t(1),Ja=new u.t(1),ei=new u.t(1),ti=new u.t(1),ni=new u.t(1),ai=new u.t(1),ii=new u.t(1);class ri{constructor(){this.pathMatch="full"}static getParents(e){const t=[];let n=e.parent;for(;n;)t.unshift(n),n=n.parent;return t}static isParent(e,t){return!!t.parent&&(t.parent===e||this.isParent(e,t.parent))}}let si=(()=>{class e{addItems(e,t){Xa.next({tag:t,items:e})}collapseAll(e){ii.next({tag:e})}navigateHome(e){Ja.next({tag:e})}getSelectedItem(e){const t=new m.X(null);return ei.next({tag:e,listener:t}),t.asObservable()}onItemClick(){return Za.pipe((0,I.B)())}onItemSelect(){return ti.pipe((0,I.B)())}onItemHover(){return ni.pipe((0,I.B)())}onSubmenuToggle(){return ai.pipe((0,I.B)())}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})(),oi=(()=>{class e{constructor(e){this.location=e}prepareItems(e){const t=new ri;e.forEach(e=>{this.applyDefaults(e,t),this.setParent(e)})}selectFromUrl(e,t,n=!1){const a=this.findItemByUrl(e);a&&this.selectItem(a,e,n,t)}selectItem(e,t,n=!1,a){const i=this.resetSelection(t),r=n?this.collapseItems(t):[];for(const s of ri.getParents(e)){s.selected=!0,i.includes(s)||this.itemSelect(s,a);const e=!s.expanded;s.expanded=!0;const t=r.indexOf(s);-1===t&&e?this.submenuToggle(s,a):r.splice(t,1)}e.selected=!0,i.includes(e)||this.itemSelect(e,a);for(const s of r)this.submenuToggle(s,a)}collapseAll(e,t,n){const a=this.collapseItems(e,n);for(const i of a)this.submenuToggle(i,t)}onAddItem(){return Xa.pipe((0,I.B)())}onNavigateHome(){return Ja.pipe((0,I.B)())}onCollapseAll(){return ii.pipe((0,I.B)())}onGetSelectedItem(){return ei.pipe((0,I.B)())}itemHover(e,t){ni.next({tag:t,item:e})}submenuToggle(e,t){ai.next({tag:t,item:e})}itemSelect(e,t){ti.next({tag:t,item:e})}itemClick(e,t){Za.next({tag:t,item:e})}resetSelection(e){const t=[];for(const n of e)n.selected&&t.push(n),n.selected=!1,n.children&&t.push(...this.resetSelection(n.children));return t}collapseItems(e,t){const n=[];for(const a of e)t&&(a===t||ri.isParent(a,t))||(a.expanded&&n.push(a),a.expanded=!1,a.children&&n.push(...this.collapseItems(a.children)));return n}applyDefaults(e,t){const n=Object.assign({},e);Object.assign(e,t,n),e.children&&e.children.forEach(e=>{this.applyDefaults(e,t)})}setParent(e){e.children&&e.children.forEach(t=>{t.parent=e,this.setParent(t)})}findItemByUrl(e){let t;return e.some(e=>(e.children&&(t=this.findItemByUrl(e.children)),!t&&this.isSelectedInUrl(e)&&(t=e),t)),t}isSelectedInUrl(e){const t="full"===e.pathMatch,n=e.link,a=t?function(e,t){return t===Ha(e)}(this.location.path(),n):function(e,t){const n=Ha(e);return n.startsWith(t)&&-1!==n.slice(t.length).charAt(0).search(/\/|^$/)}(this.location.path(),n);return a&&null!=e.fragment?t?(i=this.location.path(!0),r=e.fragment,Ya(i)===r):function(e,t){return Ya(e).includes(t)}(this.location.path(!0),e.fragment):a;var i,r}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(i.Ye))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})();var li=(()=>(function(e){e.Expanded="expanded",e.Collapsed="collapsed"}(li||(li={})),li))();let ci=(()=>{class e{constructor(e,t){this.menuService=e,this.directionService=t,this.menuItem=null,this.hoverItem=new a.vpe,this.toggleSubMenu=new a.vpe,this.selectItem=new a.vpe,this.itemClick=new a.vpe,this.destroy$=new _.xQ}ngDoCheck(){this.toggleState=this.menuItem.expanded?li.Expanded:li.Collapsed}ngAfterViewInit(){this.menuService.onSubmenuToggle().pipe((0,N.h)(({item:e})=>e===this.menuItem),(0,R.U)(({item:e})=>e.expanded),(0,M.R)(this.destroy$)).subscribe(e=>this.toggleState=e?li.Expanded:li.Collapsed)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onToggleSubMenu(e){this.toggleSubMenu.emit(e)}onHoverItem(e){this.hoverItem.emit(e)}onSelectItem(e){this.selectItem.emit(e)}onItemClick(e){this.itemClick.emit(e)}getExpandStateIcon(){return this.menuItem.expanded?"chevron-down-outline":this.directionService.isLtr()?"chevron-left-outline":"chevron-right-outline"}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(si),a.Y36(Tn))},e.\u0275cmp=a.Xpm({type:e,selectors:[["","nbMenuItem",""]],inputs:{menuItem:"menuItem",badge:"badge"},outputs:{hoverItem:"hoverItem",toggleSubMenu:"toggleSubMenu",selectItem:"selectItem",itemClick:"itemClick"},attrs:wt,decls:8,vars:6,consts:[[4,"ngIf"],[3,"routerLink","queryParams","fragment","queryParamsHandling","preserveFragment","skipLocationChange","active","mouseenter","click",4,"ngIf"],[3,"active","mouseenter","click",4,"ngIf"],["href","#",3,"active","click","mouseenter",4,"ngIf"],["class","menu-items",3,"collapsed","expanded",4,"ngIf"],["badgeTemplate",""],["class","menu-icon",3,"config",4,"ngIf"],[1,"menu-icon",3,"config"],[3,"routerLink","queryParams","fragment","queryParamsHandling","preserveFragment","skipLocationChange","mouseenter","click"],[1,"menu-title"],[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"],[3,"mouseenter","click"],["href","#",3,"click","mouseenter"],["pack","nebular-essentials",1,"expand-state",3,"icon"],[1,"menu-items"],[4,"ngFor","ngForOf"],["nbMenuItem","","class","menu-item",3,"menuItem","badge","menu-group","hoverItem","toggleSubMenu","selectItem","itemClick",4,"ngIf"],["nbMenuItem","",1,"menu-item",3,"menuItem","badge","hoverItem","toggleSubMenu","selectItem","itemClick"],[3,"text","dotMode","status"]],template:function(e,t){1&e&&(a.YNc(0,Mt,3,2,"span",0),a.YNc(1,Lt,5,13,"a",1),a.YNc(2,Ft,5,8,"a",2),a.YNc(3,zt,5,7,"a",2),a.YNc(4,Ht,6,8,"a",3),a.YNc(5,jt,2,6,"ul",4),a.YNc(6,$t,1,3,"ng-template",null,5,a.W1O)),2&e&&(a.Q6J("ngIf",t.menuItem.group),a.xp6(1),a.Q6J("ngIf",t.menuItem.link&&!t.menuItem.url&&!t.menuItem.children&&!t.menuItem.group),a.xp6(1),a.Q6J("ngIf",t.menuItem.url&&!t.menuItem.children&&!t.menuItem.link&&!t.menuItem.group),a.xp6(1),a.Q6J("ngIf",!(t.menuItem.children||t.menuItem.link||t.menuItem.url||t.menuItem.group)),a.xp6(1),a.Q6J("ngIf",t.menuItem.children),a.xp6(1),a.Q6J("ngIf",t.menuItem.children))},directives:function(){return[i.O5,Da,V.yS,i.tP,i.sg,e,ui]},encapsulation:2,data:{animation:[(0,mt.X$)("toggle",[(0,mt.SB)(li.Collapsed,(0,mt.oB)({height:"0",margin:"0"})),(0,mt.SB)(li.Expanded,(0,mt.oB)({height:"*"})),(0,mt.eR)(`${li.Collapsed} <=> ${li.Expanded}`,(0,mt.jt)(300))])]}}),e})(),di=(()=>{class e{constructor(e,t,n,a){this.window=e,this.platformId=t,this.menuInternalService=n,this.router=a,this._autoCollapse=!1,this.destroy$=new _.xQ}get autoCollapse(){return this._autoCollapse}set autoCollapse(e){this._autoCollapse=Ba(e)}ngOnInit(){this.menuInternalService.prepareItems(this.items),this.menuInternalService.onAddItem().pipe((0,N.h)(e=>this.compareTag(e.tag)),(0,M.R)(this.destroy$)).subscribe(e=>this.onAddItem(e)),this.menuInternalService.onNavigateHome().pipe((0,N.h)(e=>this.compareTag(e.tag)),(0,M.R)(this.destroy$)).subscribe(()=>this.navigateHome()),this.menuInternalService.onGetSelectedItem().pipe((0,N.h)(e=>this.compareTag(e.tag)),(0,M.R)(this.destroy$)).subscribe(e=>{e.listener.next({tag:this.tag,item:this.getSelectedItem(this.items)})}),this.menuInternalService.onCollapseAll().pipe((0,N.h)(e=>this.compareTag(e.tag)),(0,M.R)(this.destroy$)).subscribe(()=>this.collapseAll()),this.router.events.pipe((0,N.h)(e=>e instanceof V.m2),(0,M.R)(this.destroy$)).subscribe(()=>{this.menuInternalService.selectFromUrl(this.items,this.tag,this.autoCollapse)})}ngAfterViewInit(){setTimeout(()=>this.menuInternalService.selectFromUrl(this.items,this.tag,this.autoCollapse))}onAddItem(e){this.items.push(...e.items),this.menuInternalService.prepareItems(this.items),this.menuInternalService.selectFromUrl(this.items,this.tag,this.autoCollapse)}onHoverItem(e){this.menuInternalService.itemHover(e,this.tag)}onToggleSubMenu(e){this.autoCollapse&&this.menuInternalService.collapseAll(this.items,this.tag,e),e.expanded=!e.expanded,this.menuInternalService.submenuToggle(e,this.tag)}onSelectItem(e){this.menuInternalService.selectItem(e,this.items,this.autoCollapse,this.tag)}onItemClick(e){this.menuInternalService.itemClick(e,this.tag)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}navigateHome(){const e=this.getHomeItem(this.items);e&&(e.link&&this.router.navigate([e.link],{queryParams:e.queryParams,queryParamsHandling:e.queryParamsHandling,fragment:e.fragment,preserveFragment:e.preserveFragment}),e.url&&(0,i.NF)(this.platformId)&&(this.window.location.href=e.url))}collapseAll(){this.menuInternalService.collapseAll(this.items,this.tag)}getHomeItem(e){for(const t of e){if(t.home)return t;const e=t.children&&this.getHomeItem(t.children);if(e)return e}}compareTag(e){return!e||e===this.tag}getSelectedItem(e){let t=null;return e.forEach(e=>{e.selected&&(t=e),e.selected&&e.children&&e.children.length>0&&(t=this.getSelectedItem(e.children))}),t}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(hn),a.Y36(a.Lbi),a.Y36(oi),a.Y36(V.F0))},e.\u0275cmp=a.Xpm({type:e,selectors:[["nb-menu"]],inputs:{autoCollapse:"autoCollapse",tag:"tag",items:"items"},decls:2,vars:1,consts:[[1,"menu-items"],[4,"ngFor","ngForOf"],["nbMenuItem","","class","menu-item",3,"menuItem","badge","menu-group","hoverItem","toggleSubMenu","selectItem","itemClick",4,"ngIf"],["nbMenuItem","",1,"menu-item",3,"menuItem","badge","hoverItem","toggleSubMenu","selectItem","itemClick"]],template:function(e,t){1&e&&(a.TgZ(0,"ul",0),a.YNc(1,Qt,2,1,"ng-container",1),a.qZA()),2&e&&(a.xp6(1),a.Q6J("ngForOf",t.items))},directives:[i.sg,i.O5,ci],styles:["[_nghost-%COMP%] {display:block}[_nghost-%COMP%] .menu-items, [_nghost-%COMP%] .menu-item>.menu-items{list-style-type:none;overflow:hidden}[_nghost-%COMP%] .menu-item a{display:flex;text-decoration:none;align-items:center}[_nghost-%COMP%] .menu-item a .menu-title{flex:1 0 auto}[dir=rtl] [_nghost-%COMP%] .menu-item a .menu-title{text-align:right}[_nghost-%COMP%] .menu-item nb-badge{position:static}[_nghost-%COMP%] .menu-group span{display:flex}"]}),e})(),ui=(()=>{class e{constructor(e){this.statusService=e,this.text="",this._defaultPosition="top right",this._position=this._defaultPosition,this.status="basic"}get position(){return this._position}set position(e){this._position=e||this._defaultPosition}get dotMode(){return this._dotMode}set dotMode(e){this._dotMode=Ba(e)}get additionalClasses(){return this.statusService.isCustomStatus(this.status)?[this.statusService.getStatusClass(this.status)]:[]}get primary(){return"primary"===this.status}get success(){return"success"===this.status}get info(){return"info"===this.status}get warning(){return"warning"===this.status}get danger(){return"danger"===this.status}get basic(){return"basic"===this.status}get control(){return"control"===this.status}get top(){return this.position.includes("top")}get right(){return this.position.includes("right")}get bottom(){return this.position.includes("bottom")}get left(){return this.position.includes("left")}get start(){return this.position.includes("start")}get end(){return this.position.includes("end")}get center(){return this.position.includes("center")}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(Ca))},e.\u0275cmp=a.Xpm({type:e,selectors:[["nb-badge"]],hostVars:32,hostBindings:function(e,t){2&e&&(a.Tol(t.additionalClasses),a.ekj("dot-mode",t.dotMode)("status-primary",t.primary)("status-success",t.success)("status-info",t.info)("status-warning",t.warning)("status-danger",t.danger)("status-basic",t.basic)("status-control",t.control)("position-top",t.top)("position-right",t.right)("position-bottom",t.bottom)("position-left",t.left)("position-start",t.start)("position-end",t.end)("position-center",t.center))},inputs:{text:"text",status:"status",position:"position",dotMode:"dotMode"},decls:1,vars:1,template:function(e,t){1&e&&a._uU(0),2&e&&a.Oqu(t.dotMode?"":t.text)},styles:["[_nghost-%COMP%]{position:absolute;text-align:center;white-space:nowrap;vertical-align:baseline}.position-top[_nghost-%COMP%]{top:0}.position-right[_nghost-%COMP%]{right:0}.position-bottom[_nghost-%COMP%]{bottom:0}.position-left[_nghost-%COMP%]{left:0}.position-center[_nghost-%COMP%]{top:50%;transform:translateY(-50%)}[dir=ltr] .position-start[_nghost-%COMP%]{left:0}[dir=rtl] .position-start[_nghost-%COMP%]{right:0}[dir=ltr] .position-end[_nghost-%COMP%]{right:0}[dir=rtl] .position-end[_nghost-%COMP%]{left:0}"]}),e})(),_i=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({}),e})();const hi=[si,oi];let pi=(()=>{class e{static forRoot(){return{ngModule:e,providers:[...hi]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[Rn,La,_i]]}),e})();const gi=new _.xQ,mi=new _.xQ;let fi=(()=>{class e{constructor(){this.toggle$=new _.xQ,this.expand$=new _.xQ,this.collapse$=new _.xQ,this.compact$=new _.xQ}onToggle(){return this.toggle$.pipe((0,I.B)())}onExpand(){return this.expand$.pipe((0,I.B)())}onCollapse(){return this.collapse$.pipe((0,I.B)())}onCompact(){return this.compact$.pipe((0,I.B)())}toggle(e=!1,t){this.toggle$.next({compact:e,tag:t})}expand(e){this.expand$.next({tag:e})}collapse(e){this.collapse$.next({tag:e})}compact(e){this.compact$.next({tag:e})}getSidebarState(e){const t=new u.t(1);return gi.next({observer:t,tag:e}),t.pipe((0,U.n)(),(0,B.x)())}getSidebarResponsiveState(e){const t=new u.t;return mi.next({observer:t,tag:e}),t.pipe((0,U.n)(),(0,B.x)())}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})(),Ei=(()=>{class e{constructor(e,t,n,i){this.sidebarService=e,this.themeService=t,this.element=n,this.cd=i,this.responsiveValueChange$=new _.xQ,this.responsiveState="pc",this.destroy$=new _.xQ,this.containerFixedValue=!0,this.fixedValue=!1,this.rightValue=!1,this.leftValue=!0,this.startValue=!1,this.endValue=!1,this._state="expanded",this._responsive=!1,this.compactedBreakpoints=["xs","is","sm","md","lg"],this.collapsedBreakpoints=["xs","is"],this.stateChange=new a.vpe,this.responsiveStateChange=new a.vpe}get expanded(){return"expanded"===this.state}get collapsed(){return"collapsed"===this.state}get compacted(){return"compacted"===this.state}set right(e){this.rightValue=Ba(e),this.leftValue=!this.rightValue,this.startValue=!1,this.endValue=!1}set left(e){this.leftValue=Ba(e),this.rightValue=!this.leftValue,this.startValue=!1,this.endValue=!1}set start(e){this.startValue=Ba(e),this.endValue=!this.startValue,this.leftValue=!1,this.rightValue=!1}set end(e){this.endValue=Ba(e),this.startValue=!this.endValue,this.leftValue=!1,this.rightValue=!1}set fixed(e){this.fixedValue=Ba(e)}set containerFixed(e){this.containerFixedValue=Ba(e)}get state(){return this._state}set state(e){this._state=e}get responsive(){return this._responsive}set responsive(e){this.responsive!==Ba(e)&&(this._responsive=!this.responsive,this.responsiveValueChange$.next(this.responsive))}ngOnInit(){this.sidebarService.onToggle().pipe((0,N.h)(({tag:e})=>!this.tag||this.tag===e),(0,M.R)(this.destroy$)).subscribe(({compact:e})=>this.toggle(e)),this.sidebarService.onExpand().pipe((0,N.h)(({tag:e})=>!this.tag||this.tag===e),(0,M.R)(this.destroy$)).subscribe(()=>this.expand()),this.sidebarService.onCollapse().pipe((0,N.h)(({tag:e})=>!this.tag||this.tag===e),(0,M.R)(this.destroy$)).subscribe(()=>this.collapse()),this.sidebarService.onCompact().pipe((0,N.h)(({tag:e})=>!this.tag||this.tag===e),(0,M.R)(this.destroy$)).subscribe(()=>this.compact()),gi.pipe((0,N.h)(({tag:e})=>!this.tag||this.tag===e),(0,M.R)(this.destroy$)).subscribe(({observer:e})=>e.next(this.state)),mi.pipe((0,N.h)(({tag:e})=>!this.tag||this.tag===e),(0,M.R)(this.destroy$)).subscribe(({observer:e})=>e.next(this.responsiveState)),this.responsiveValueChange$.pipe((0,N.h)(e=>!e),(0,M.R)(this.destroy$)).subscribe(()=>this.expand()),this.subscribeToMediaQueryChange()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onClick(e){const t=this.element.nativeElement.querySelector("nb-menu");if(t&&t.contains(e.target)){const t=this.getMenuLink(e.target);t&&t.nextElementSibling&&t.nextElementSibling.classList.contains("menu-items")&&this.sidebarService.expand(this.tag)}}collapse(){this.updateState("collapsed")}expand(){this.updateState("expanded")}compact(){this.updateState("compacted")}toggle(e=!1){this.responsive&&"mobile"===this.responsiveState&&(e=!1),this.updateState("compacted"===this.state||"collapsed"===this.state?"expanded":e?"compacted":"collapsed")}subscribeToMediaQueryChange(){(0,f.aj)([this.responsiveValueChange$.pipe((0,A.O)(this.responsive)),this.themeService.onMediaQueryChange()]).pipe((0,N.h)(([e])=>e),(0,R.U)(([,e])=>e),(0,M.R)(this.destroy$)).subscribe(([e,t])=>{const n=this.collapsedBreakpoints.includes(t.name),a=this.compactedBreakpoints.includes(t.name);let i;a&&(this.fixed=this.containerFixedValue,this.compact(),i="tablet"),n&&(this.fixed=!0,this.collapse(),i="mobile"),n||a||e.width&&!(e.width{class e{static forRoot(){return{ngModule:e,providers:[...Si]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[Rn]]}),e})(),yi=(()=>{class e{constructor(){this.activeValue=!1,this.responsiveValue=!1,this.disabledValue=!1,this.badgeStatus="basic",this.init=!1}get badgeDot(){return this._badgeDot}set badgeDot(e){this._badgeDot=Ba(e)}get disabled(){return this.disabledValue}set disabled(e){this.disabledValue=Ba(e)}set responsive(e){this.responsiveValue=Ba(e)}get responsive(){return this.responsiveValue}get active(){return this.activeValue}set active(e){this.activeValue=Ba(e),this.activeValue&&(this.init=!0)}set lazyLoad(e){this.init=Ba(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["nb-tab"]],hostVars:4,hostBindings:function(e,t){2&e&&a.ekj("content-active",t.activeValue)("disabled",t.disabled)},inputs:{badgeStatus:"badgeStatus",badgeDot:"badgeDot",disabled:"disabled",responsive:"responsive",active:"active",lazyLoad:"lazyLoad",tabTitle:"tabTitle",tabId:"tabId",tabIcon:"tabIcon",route:"route",badgeText:"badgeText",badgePosition:"badgePosition"},ngContentSelectors:bt,decls:1,vars:1,consts:[[4,"ngIf"]],template:function(e,t){1&e&&(a.F$t(),a.YNc(0,Xt,2,0,"ng-container",0)),2&e&&a.Q6J("ngIf",t.init)},directives:[i.O5],encapsulation:2}),e})(),vi=(()=>{class e{constructor(e,t){this.route=e,this.changeDetectorRef=t,this.fullWidthValue=!1,this.changeTab=new a.vpe}set fullWidth(e){this.fullWidthValue=Ba(e)}ngAfterContentInit(){this.route.params.pipe((0,R.U)(e=>this.tabs.find(t=>this.routeParam?t.route===e[this.routeParam]:t.active)),(0,x.g)(0),(0,R.U)(e=>e||this.tabs.first),(0,N.h)(e=>!!e)).subscribe(e=>{this.selectTab(e),this.changeDetectorRef.markForCheck()})}selectTab(e){e.disabled||(this.tabs.forEach(t=>t.active=t===e),this.changeTab.emit(e))}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(V.gz),a.Y36(a.sBO))},e.\u0275cmp=a.Xpm({type:e,selectors:[["nb-tabset"]],contentQueries:function(e,t,n){if(1&e&&a.Suo(n,yi,4),2&e){let e;a.iGM(e=a.CRH())&&(t.tabs=e)}},hostVars:2,hostBindings:function(e,t){2&e&&a.ekj("full-width",t.fullWidthValue)},inputs:{fullWidth:"fullWidth",routeParam:"routeParam"},outputs:{changeTab:"changeTab"},ngContentSelectors:rn,decls:3,vars:1,consts:[[1,"tabset"],["class","tab",3,"responsive","active","disabled","click","keyup.space","keyup.enter",4,"ngFor","ngForOf"],[1,"tab",3,"click","keyup.space","keyup.enter"],["href","","tabindex","-1",1,"tab-link",3,"click"],[3,"config",4,"ngIf"],["class","tab-text",4,"ngIf"],[3,"text","dotMode","status","position",4,"ngIf"],[3,"config"],[1,"tab-text"],[3,"text","dotMode","status","position"]],template:function(e,t){1&e&&(a.F$t(an),a.TgZ(0,"ul",0),a.YNc(1,nn,5,11,"li",1),a.qZA(),a.Hsn(2)),2&e&&(a.xp6(1),a.Q6J("ngForOf",t.tabs))},directives:[i.sg,i.O5,Da,ui],styles:["[_nghost-%COMP%]{display:block}.full-width[_nghost-%COMP%] .tabset[_ngcontent-%COMP%]{justify-content:space-around}[_nghost-%COMP%] nb-tab{flex:1;-ms-flex:1 1 auto;overflow:auto;display:none}[_nghost-%COMP%] nb-tab.content-active{display:block}[_nghost-%COMP%] .tabset[_ngcontent-%COMP%]{display:flex;flex-direction:row;list-style-type:none;margin:0;padding:0}[_nghost-%COMP%] .tabset[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%]{margin-bottom:-1px;text-align:center;position:relative}[_nghost-%COMP%] .tabset[_ngcontent-%COMP%] .tab.active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]::before{display:block}[_nghost-%COMP%] .tabset[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;position:relative;text-decoration:none}[_nghost-%COMP%] .tabset[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%] a[_ngcontent-%COMP%]::before{position:absolute;content:'';width:100%;border-radius:3px;bottom:-2px;left:0}[_nghost-%COMP%] .tabset[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%] a[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{vertical-align:middle}[dir=ltr] [_nghost-%COMP%] .tabset[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%] a[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{margin-left:.5rem}[dir=rtl] [_nghost-%COMP%] .tabset[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%] a[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{margin-right:.5rem}"]}),e})(),Ti=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[Rn,_i,La]]}),e})(),Ci=(()=>{class e{constructor(e,t,n,i,r){this.changeDetector=e,this.renderer=t,this.hostElement=n,this.zone=i,this.statusService=r,this.onChange=()=>{},this.onTouched=()=>{},this._checked=!1,this._disabled=!1,this.status="basic",this._indeterminate=!1,this.checkedChange=new a.vpe}get checked(){return this._checked}set checked(e){this._checked=Ba(e)}get disabled(){return this._disabled}set disabled(e){this._disabled=Ba(e)}get indeterminate(){return this._indeterminate}set indeterminate(e){this._indeterminate=Ba(e)}get primary(){return"primary"===this.status}get success(){return"success"===this.status}get warning(){return"warning"===this.status}get danger(){return"danger"===this.status}get info(){return"info"===this.status}get basic(){return"basic"===this.status}get control(){return"control"===this.status}get additionalClasses(){return this.statusService.isCustomStatus(this.status)?[this.statusService.getStatusClass(this.status)]:[]}ngAfterViewInit(){this.zone.runOutsideAngular(()=>setTimeout(()=>{this.renderer.addClass(this.hostElement.nativeElement,"nb-transition")}))}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}writeValue(e){this._checked=e,this.changeDetector.markForCheck()}setDisabledState(e){this.disabled=Ba(e),this.changeDetector.markForCheck()}setTouched(){this.onTouched()}updateValueAndIndeterminate(e){const t=e.target;this.checked=t.checked,this.checkedChange.emit(this.checked),this.onChange(this.checked),this.indeterminate=t.indeterminate}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.sBO),a.Y36(a.Qsj),a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(Ca))},e.\u0275cmp=a.Xpm({type:e,selectors:[["nb-checkbox"]],hostVars:16,hostBindings:function(e,t){2&e&&(a.Tol(t.additionalClasses),a.ekj("status-primary",t.primary)("status-success",t.success)("status-warning",t.warning)("status-danger",t.danger)("status-info",t.info)("status-basic",t.basic)("status-control",t.control))},inputs:{status:"status",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{checkedChange:"checkedChange"},features:[a._Bn([{provide:G.JU,useExisting:(0,a.Gpc)(()=>e),multi:!0}])],ngContentSelectors:bt,decls:7,vars:9,consts:[[1,"label"],["type","checkbox",1,"native-input","visually-hidden",3,"disabled","checked","indeterminate","change","blur","click"],[1,"custom-checkbox"],["icon","minus-bold-outline","pack","nebular-essentials",4,"ngIf"],["icon","checkmark-bold-outline","pack","nebular-essentials",4,"ngIf"],[1,"text"],["icon","minus-bold-outline","pack","nebular-essentials"],["icon","checkmark-bold-outline","pack","nebular-essentials"]],template:function(e,t){1&e&&(a.F$t(),a.TgZ(0,"label",0),a.TgZ(1,"input",1),a.NdJ("change",function(e){return t.updateValueAndIndeterminate(e)})("blur",function(){return t.setTouched()})("click",function(e){return e.stopPropagation()}),a.qZA(),a.TgZ(2,"span",2),a.YNc(3,sn,1,0,"nb-icon",3),a.YNc(4,on,1,0,"nb-icon",4),a.qZA(),a.TgZ(5,"span",5),a.Hsn(6),a.qZA(),a.qZA()),2&e&&(a.xp6(1),a.Q6J("disabled",t.disabled)("checked",t.checked)("indeterminate",t.indeterminate),a.xp6(1),a.ekj("indeterminate",t.indeterminate)("checked",t.checked),a.xp6(1),a.Q6J("ngIf",t.indeterminate),a.xp6(1),a.Q6J("ngIf",t.checked&&!t.indeterminate))},directives:[i.O5,Da],styles:["[_nghost-%COMP%] .label[_ngcontent-%COMP%]{position:relative;display:inline-flex;align-items:center;margin:0;min-height:inherit}[_nghost-%COMP%] .custom-checkbox[_ngcontent-%COMP%]{flex-shrink:0}.nb-transition[_nghost-%COMP%] .custom-checkbox[_ngcontent-%COMP%]{transition-duration:0.15s;transition-property:background-color,border,box-shadow;transition-timing-function:ease-in}.nb-transition[_nghost-%COMP%] .text[_ngcontent-%COMP%]{transition-duration:0.15s;transition-property:color;transition-timing-function:ease-in}"],changeDetection:0}),e})(),Oi=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[Rn,La]]}),e})(),Ri=(()=>{class e{constructor(e,t,n,a){this.overlay=e,this.componentFactoryResolver=t,this.zone=n,this.overlayContainer=a,this.context={},this.overlayConfig={},this.positionStrategyChange$=new _.xQ,this.isShown$=new m.X(!1),this.destroy$=new _.xQ,this.overlayDestroy$=new _.xQ}get isAttached(){return this.ref&&this.ref.hasAttached()}get isShown(){return this.isShown$.pipe((0,w.x)())}create(e,t,n,a,i={}){return this.setContentAndContext(t,n),this.setComponent(e),this.setPositionStrategy(a),this.setOverlayConfig(i),this}setContent(e){this.content=e,this.container&&this.updateContext(),this.updatePosition()}setContext(e){this.context=e,this.container&&this.updateContext(),this.updatePosition()}setContentAndContext(e,t){this.content=e,this.context=t,this.container&&this.updateContext(),this.updatePosition()}setComponent(e){this.componentType=e;const t=this.isAttached;this.disposeOverlayRef(),t&&this.show()}setPositionStrategy(e){this.positionStrategyChange$.next(),this.positionStrategy=e,this.positionStrategy.positionChange.pipe((0,N.h)(()=>!!this.container),(0,M.R)((0,h.T)(this.positionStrategyChange$,this.destroy$))).subscribe(e=>{this.lastAppliedPosition=e,ca(this.container,{position:e})}),this.ref&&this.ref.updatePositionStrategy(this.positionStrategy)}setOverlayConfig(e){this.overlayConfig=e;const t=this.isAttached;this.disposeOverlayRef(),t&&this.show()}show(){if(this.ref||this.createOverlay(),this.renderContainer(),!this.hasOverlayInContainer())return this.disposeOverlayRef(),this.show();this.isShown$.next(!0)}hide(){this.ref&&(this.ref.detach(),this.container=null,this.isShown$.next(!1))}toggle(){this.isAttached?this.hide():this.show()}dispose(){this.destroy$.next(),this.destroy$.complete(),this.hide(),this.disposeOverlayRef(),this.isShown$.complete(),this.positionStrategyChange$.complete(),this.overlayDestroy$.complete()}getContainer(){return this.container}createOverlay(){this.ref=this.overlay.create(Object.assign({positionStrategy:this.positionStrategy,scrollStrategy:this.overlay.scrollStrategies.reposition()},this.overlayConfig)),this.updatePositionWhenStable(this.ref)}renderContainer(){const e=this.createContainerContext();this.container||(this.container=function(e,t,n,a){const i=e.attach(new kn(t,null,null,a));return ca(i,n),i}(this.ref,this.componentType,e,this.componentFactoryResolver)),this.container.instance.renderContent()}updateContext(){const e=this.createContainerContext();Object.assign(this.container.instance,e),this.container.instance.renderContent(),this.container.changeDetectorRef.detectChanges()}createContainerContext(){return{content:this.content,context:this.context,cfr:this.componentFactoryResolver,position:this.lastAppliedPosition}}updatePositionWhenStable(e){const t=this.overlayDestroy$.pipe((0,N.h)(t=>t===e));this.zone.onStable.pipe((0,M.R)((0,h.T)(this.destroy$,t))).subscribe(()=>this.updatePosition())}updatePosition(){this.ref&&this.ref.updatePosition()}hasOverlayInContainer(){return this.overlayContainer.getContainerElement().contains(this.ref.hostElement)}disposeOverlayRef(){this.ref&&(this.ref.dispose(),this.overlayDestroy$.next(this.ref),this.ref=null,this.container=null)}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(da),a.LFG(a._Vd),a.LFG(a.R0b),a.LFG(zn))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})();class Ai extends a.WD2{constructor(e,t,n=!1){super(e,t,n)}isChanged(){return this.currentValue!==this.previousValue}}let Ni=(()=>{class e{constructor(e,t,n){this.positionBuilder=e,this.triggerStrategyBuilder=t,this.dynamicOverlayService=n,this._context={},this._trigger=ga.NOOP,this._position=Xn.TOP,this._adjustment=Zn.NOOP,this._offset=15,this._overlayConfig={},this.changes={}}host(e){return this.changes.host=new Ai(this._host,e),this._host=e,this}trigger(e){return this.changes.trigger=new Ai(this._trigger,e),this._trigger=e,this}position(e){return this.changes.position=new Ai(this._position,e),this._position=e,this}adjustment(e){return this.changes.adjustment=new Ai(this._adjustment,e),this._adjustment=e,this}componentType(e){return this.changes.componentType=new Ai(this._componentType,e),this._componentType=e,this}content(e){return this.changes.content=new Ai(this._content,e),this._content=e,this}context(e){return this.changes.context=new Ai(this._context,e),this._context=e,this}offset(e){return this.changes.offset=new Ai(this._offset,e),this._offset=e,this}overlayConfig(e){return this.changes.overlayConfig=new Ai(this._overlayConfig,e),this._overlayConfig=e,this}build(){if(!this._componentType||!this._host)throw Error("NbDynamicOverlayHandler: at least 'componentType' and 'host' should be\n passed before building a dynamic overlay.");return this.dynamicOverlay=this.dynamicOverlayService.create(this._componentType,this._content,this._context,this.createPositionStrategy(),this._overlayConfig),this.connect(),this.clearChanges(),this.dynamicOverlay}rebuild(){if(this.dynamicOverlay)return this.isPositionStrategyUpdateRequired()&&this.dynamicOverlay.setPositionStrategy(this.createPositionStrategy()),this.isTriggerStrategyUpdateRequired()&&this.connect(),this.isContainerRerenderRequired()&&this.dynamicOverlay.setContentAndContext(this._content,this._context),this.isComponentTypeUpdateRequired()&&this.dynamicOverlay.setComponent(this._componentType),this.isOverlayConfigUpdateRequired()&&this.dynamicOverlay.setOverlayConfig(this._overlayConfig),this.clearChanges(),this.dynamicOverlay}connect(){if(!this.dynamicOverlay)throw new Error("NbDynamicOverlayHandler: cannot connect to DynamicOverlay\n as it is not created yet. Call build() first");this.disconnect(),this.subscribeOnTriggers(this.dynamicOverlay)}disconnect(){this.triggerStrategy&&this.triggerStrategy.destroy()}destroy(){this.disconnect(),this.clearChanges(),this.dynamicOverlay&&this.dynamicOverlay.dispose()}createPositionStrategy(){return this.positionBuilder.connectedTo(this._host).position(this._position).adjustment(this._adjustment).offset(this._offset)}subscribeOnTriggers(e){this.triggerStrategy=this.triggerStrategyBuilder.trigger(this._trigger).host(this._host.nativeElement).container(()=>e.getContainer()).build(),this.triggerStrategy.show$.subscribe(()=>e.show()),this.triggerStrategy.hide$.subscribe(()=>e.hide())}isContainerRerenderRequired(){return this.isContentUpdated()||this.isContextUpdated()||this.isPositionStrategyUpdateRequired()}isPositionStrategyUpdateRequired(){return this.isAdjustmentUpdated()||this.isPositionUpdated()||this.isOffsetUpdated()||this.isHostUpdated()}isTriggerStrategyUpdateRequired(){return this.isTriggerUpdated()||this.isHostUpdated()}isComponentTypeUpdateRequired(){return this.isComponentTypeUpdated()}isOverlayConfigUpdateRequired(){return this.isOverlayConfigUpdated()}isComponentTypeUpdated(){return this.changes.componentType&&this.changes.componentType.isChanged()}isContentUpdated(){return this.changes.content&&this.changes.content.isChanged()}isContextUpdated(){return this.changes.context&&this.changes.context.isChanged()}isAdjustmentUpdated(){return this.changes.adjustment&&this.changes.adjustment.isChanged()}isPositionUpdated(){return this.changes.position&&this.changes.position.isChanged()}isHostUpdated(){return this.changes.host&&this.changes.host.isChanged()}isTriggerUpdated(){return this.changes.trigger&&this.changes.trigger.isChanged()}isOffsetUpdated(){return this.changes.offset&&this.changes.offset.isChanged()}isOverlayConfigUpdated(){return this.changes.overlayConfig&&this.changes.overlayConfig.isChanged()}clearChanges(){this.changes={}}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(sa),a.LFG(va),a.LFG(Ri))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})(),wi=(()=>{class e extends oa{renderContent(){this.detachContent(),this.attachContent()}detachContent(){this.overlayContainer.detach()}attachContent(){this.content instanceof a.Rgc?this.attachTemplate():this.content instanceof a.DyG?this.attachComponent():this.attachString()}attachTemplate(){this.overlayContainer.attachTemplatePortal(new Bn(this.content,null,{$implicit:this.context}))}attachComponent(){const e=new kn(this.content,null,null,this.cfr);this.overlayContainer.attachComponentPortal(e,this.context).changeDetectorRef.detectChanges()}attachString(){this.overlayContainer.attachStringContent(this.content)}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=a.n5z(e)))(n||e)}}(),e.\u0275cmp=a.Xpm({type:e,selectors:[["nb-popover"]],viewQuery:function(e,t){if(1&e&&a.Gf(la,5),2&e){let e;a.iGM(e=a.CRH())&&(t.overlayContainer=e.first)}},inputs:{content:"content",context:"context",cfr:"cfr"},features:[a.qOj],decls:2,vars:0,consts:[[1,"arrow"]],template:function(e,t){1&e&&(a._UZ(0,"span",0),a._UZ(1,"nb-overlay-container"))},directives:[la],styles:["[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{position:absolute;width:0;height:0}"]}),e})(),Ii=(()=>{class e{constructor(e,t){this.hostRef=e,this.dynamicOverlayHandler=t,this.popoverComponent=wi,this.destroy$=new _.xQ,this.context={},this.position=Xn.TOP,this._adjustment=Zn.CLOCKWISE,this.trigger=ga.CLICK,this.offset=15,this._popoverClass="",this.nbPopoverShowStateChange=new a.vpe,this.overlayConfig={panelClass:this.popoverClass}}get adjustment(){return this._adjustment}set adjustment(e){this._adjustment=e}get popoverClass(){return this._popoverClass}set popoverClass(e){e!==this.popoverClass&&(this._popoverClass=e,this.overlayConfig={panelClass:this.popoverClass})}get isShown(){return!(!this.dynamicOverlay||!this.dynamicOverlay.isAttached)}ngOnInit(){this.dynamicOverlayHandler.host(this.hostRef).componentType(this.popoverComponent)}ngOnChanges(){this.rebuild()}ngAfterViewInit(){this.dynamicOverlay=this.configureDynamicOverlay().build(),this.dynamicOverlay.isShown.pipe((0,z.T)(1),(0,M.R)(this.destroy$)).subscribe(e=>this.nbPopoverShowStateChange.emit({isShown:e}))}rebuild(){this.dynamicOverlay=this.configureDynamicOverlay().rebuild()}show(){this.dynamicOverlay.show()}hide(){this.dynamicOverlay.hide()}toggle(){this.dynamicOverlay.toggle()}ngOnDestroy(){this.dynamicOverlayHandler.destroy(),this.destroy$.next(),this.destroy$.complete()}configureDynamicOverlay(){return this.dynamicOverlayHandler.position(this.position).trigger(this.trigger).offset(this.offset).adjustment(this.adjustment).content(this.content).context(this.context).overlayConfig(this.overlayConfig)}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(Ni))},e.\u0275dir=a.lG2({type:e,selectors:[["","nbPopover",""]],inputs:{context:["nbPopoverContext","context"],position:["nbPopoverPlacement","position"],trigger:["nbPopoverTrigger","trigger"],offset:["nbPopoverOffset","offset"],adjustment:["nbPopoverAdjustment","adjustment"],popoverClass:["nbPopoverClass","popoverClass"],content:["nbPopover","content"]},outputs:{nbPopoverShowStateChange:"nbPopoverShowStateChange"},exportAs:["nbPopover"],features:[a._Bn([Ni,Ri]),a.TTD]}),e})(),Mi=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[Ta]]}),e})();new a.OlP("Nebular Stepper Component"),(0,mt.X$)("accordionItemBody",[(0,mt.SB)("collapsed",(0,mt.oB)({overflow:"hidden",visibility:"hidden",height:0})),(0,mt.SB)("expanded",(0,mt.oB)({overflow:"hidden",visibility:"visible"})),(0,mt.eR)("collapsed => expanded",(0,mt.jt)("100ms ease-in")),(0,mt.eR)("expanded => collapsed",(0,mt.jt)("100ms ease-out"))]),new a.OlP("NB_SORT_HEADER_COLUMN_DEF");const xi=new a.OlP("Default dialog options");class Di{constructor(e){this.hasBackdrop=!0,this.backdropClass="overlay-backdrop",this.dialogClass="",this.closeOnBackdropClick=!0,this.closeOnEsc=!0,this.hasScroll=!1,this.autoFocus=!0,Object.assign(this,e)}}class Li{constructor(e){this.overlayRef=e,this.onClose$=new _.xQ,this.onClose=this.onClose$.asObservable(),this.onBackdropClick=this.overlayRef.backdropClick()}close(e){this.overlayRef.detach(),this.overlayRef.dispose(),this.onClose$.next(e),this.onClose$.complete()}}let Pi=(()=>{class e{constructor(e,t,n){this.config=e,this.elementRef=t,this.focusTrapFactory=n}ngOnInit(){this.config.autoFocus&&(this.focusTrap=this.focusTrapFactory.create(this.elementRef.nativeElement),this.focusTrap.blurPreviouslyFocusedElement(),this.focusTrap.focusInitialElement())}ngOnDestroy(){this.config.autoFocus&&this.focusTrap&&this.focusTrap.restoreFocus()}attachComponentPortal(e){return this.portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this.portalOutlet.attachTemplatePortal(e)}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(Di),a.Y36(a.SBq),a.Y36(Nn))},e.\u0275cmp=a.Xpm({type:e,selectors:[["nb-dialog-container"]],viewQuery:function(e,t){if(1&e&&a.Gf(Pn,7),2&e){let e;a.iGM(e=a.CRH())&&(t.portalOutlet=e.first)}},decls:1,vars:0,consts:[["nbPortalOutlet",""]],template:function(e,t){1&e&&a.YNc(0,ln,0,0,"ng-template",0)},directives:[Pn],encapsulation:2}),e})(),ki=(()=>{class e{constructor(e,t,n,a,i,r){this.document=e,this.globalConfig=t,this.positionBuilder=n,this.overlay=a,this.injector=i,this.cfr=r}open(e,t={}){const n=new Di(Object.assign(Object.assign({},this.globalConfig),t)),a=this.createOverlay(n),i=new Li(a),r=this.createContainer(n,a);return this.createContent(n,e,r,i),this.registerCloseListeners(n,a,i),i}createOverlay(e){const t=this.createPositionStrategy(),n=this.createScrollStrategy(e.hasScroll);return this.overlay.create({positionStrategy:t,scrollStrategy:n,hasBackdrop:e.hasBackdrop,backdropClass:e.backdropClass,panelClass:e.dialogClass})}createPositionStrategy(){return this.positionBuilder.global().centerVertically().centerHorizontally()}createScrollStrategy(e){return e?this.overlay.scrollStrategies.noop():this.overlay.scrollStrategies.block()}createContainer(e,t){const n=new Vn(this.createInjector(e),new WeakMap([[Di,e]])),a=new kn(Pi,null,n,this.cfr);return t.attach(a).instance}createContent(e,t,n,i){if(t instanceof a.Rgc){const a=this.createTemplatePortal(e,t,i);n.attachTemplatePortal(a)}else{const a=this.createComponentPortal(e,t,i);i.componentRef=n.attachComponentPortal(a),e.context&&Object.assign(i.componentRef.instance,Object.assign({},e.context))}}createTemplatePortal(e,t,n){return new Bn(t,null,{$implicit:e.context,dialogRef:n})}createComponentPortal(e,t,n){const a=this.createInjector(e),i=new Vn(a,new WeakMap([[Li,n]]));return new kn(t,e.viewContainerRef,i)}createInjector(e){return e.viewContainerRef&&e.viewContainerRef.injector||this.injector}registerCloseListeners(e,t,n){e.closeOnBackdropClick&&t.backdropClick().subscribe(()=>n.close()),e.closeOnEsc&&(0,p.R)(this.document,"keyup").pipe((0,N.h)(e=>27===e.keyCode),(0,M.R)(n.onClose)).subscribe(()=>n.close())}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(pn),a.LFG(xi),a.LFG(sa),a.LFG(da),a.LFG(a.zs3),a.LFG(a._Vd))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})(),Fi=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[ki,{provide:xi,useValue:t}]}}static forChild(t={}){return{ngModule:e,providers:[ki,{provide:xi,useValue:t}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[Rn,Ta]]}),e})();(0,mt.oB)({transform:"translateX({{ direction }}110%)",height:0,marginLeft:"0",marginRight:"0",marginTop:"0",marginBottom:"0"}),new a.OlP("Default toastr options"),new a.OlP("NB_SELECT_INJECTION_TOKEN"),new a.OlP("Nebular Window Content"),new a.OlP("Nebular Window Config"),new a.OlP("Nebular Window Context"),new a.OlP("NB_TREE_GRID")},16960:function(e){var t;"undefined"!=typeof self&&self,t=function(){return function(e){var t={};function n(a){if(t[a])return t[a].exports;var i=t[a]={i:a,l:!1,exports:{}};return e[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(a,i,(function(t){return e[t]}).bind(null,i));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./package/src/index.js")}({"./node_modules/classnames/dedupe.js":function(e,t,n){var a;!function(){"use strict";var n=function(){function e(){}function t(e,t){for(var n=t.length,a=0;a',"alert-circle":'',"alert-triangle":'',archive:'',"arrow-back":'',"arrow-circle-down":'',"arrow-circle-left":'',"arrow-circle-right":'',"arrow-circle-up":'',"arrow-down":'',"arrow-downward":'',"arrow-forward":'',"arrow-ios-back":'',"arrow-ios-downward":'',"arrow-ios-forward":'',"arrow-ios-upward":'',"arrow-left":'',"arrow-right":'',"arrow-up":'',"arrow-upward":'',"arrowhead-down":'',"arrowhead-left":'',"arrowhead-right":'',"arrowhead-up":'',at:'',"attach-2":'',attach:'',award:'',backspace:'',"bar-chart-2":'',"bar-chart":'',battery:'',behance:'',"bell-off":'',bell:'',bluetooth:'',"book-open":'',book:'',bookmark:'',briefcase:'',browser:'',brush:'',bulb:'',calendar:'',camera:'',car:'',cast:'',charging:'',"checkmark-circle-2":'',"checkmark-circle":'',"checkmark-square-2":'',"checkmark-square":'',checkmark:'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',clipboard:'',clock:'',"close-circle":'',"close-square":'',close:'',"cloud-download":'',"cloud-upload":'',"code-download":'',code:'',collapse:'',"color-palette":'',"color-picker":'',compass:'',copy:'',"corner-down-left":'',"corner-down-right":'',"corner-left-down":'',"corner-left-up":'',"corner-right-down":'',"corner-right-up":'',"corner-up-left":'',"corner-up-right":'',"credit-card":'',crop:'',cube:'',"diagonal-arrow-left-down":'',"diagonal-arrow-left-up":'',"diagonal-arrow-right-down":'',"diagonal-arrow-right-up":'',"done-all":'',download:'',"droplet-off":'',droplet:'',"edit-2":'',edit:'',email:'',expand:'',"external-link":'',"eye-off-2":'',"eye-off":'',eye:'',facebook:'',"file-add":'',"file-remove":'',"file-text":'',file:'',film:'',flag:'',"flash-off":'',flash:'',"flip-2":'',flip:'',"folder-add":'',"folder-remove":'',folder:'',funnel:'',gift:'',github:'',"globe-2":'',"globe-3":'',globe:'',google:'',grid:'',"hard-drive":'',hash:'',headphones:'',heart:'',home:'',"image-2":'',image:'',inbox:'',info:'',keypad:'',layers:'',layout:'',"link-2":'',link:'',linkedin:'',list:'',lock:'',"log-in":'',"log-out":'',map:'',maximize:'',"menu-2":'',"menu-arrow":'',menu:'',"message-circle":'',"message-square":'',"mic-off":'',mic:'',minimize:'',"minus-circle":'',"minus-square":'',minus:'',monitor:'',moon:'',"more-horizontal":'',"more-vertical":'',move:'',music:'',"navigation-2":'',navigation:'',npm:'',"options-2":'',options:'',pantone:'',"paper-plane":'',"pause-circle":'',people:'',percent:'',"person-add":'',"person-delete":'',"person-done":'',"person-remove":'',person:'',"phone-call":'',"phone-missed":'',"phone-off":'',phone:'',"pie-chart-2":'',"pie-chart":'',pin:'',"play-circle":'',"plus-circle":'',"plus-square":'',plus:'',power:'',pricetags:'',printer:'',"question-mark-circle":'',"question-mark":'',"radio-button-off":'',"radio-button-on":'',radio:'',recording:'',refresh:'',repeat:'',"rewind-left":'',"rewind-right":'',save:'',scissors:'',search:'',"settings-2":'',settings:'',shake:'',share:'',"shield-off":'',shield:'',"shopping-bag":'',"shopping-cart":'',"shuffle-2":'',shuffle:'',"skip-back":'',"skip-forward":'',slash:'',smartphone:'',"smiling-face":'",returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:")",end:">",keywords:{name:"script"},contains:[s],starts:{end:"<\/script>",returnEnd:!0,subLanguage:["actionscript","javascript","handlebars","xml"]}},{className:"tag",begin:"",contains:[{className:"name",begin:/[^\/><\s]+/,relevance:0},s]}]}}},69984:function(e){e.exports=function(e){return{aliases:["xpath","xq"],case_insensitive:!1,lexemes:/[a-zA-Z\$][a-zA-Z0-9_:\-]*/,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{keyword:"module schema namespace boundary-space preserve no-preserve strip default collation base-uri ordering context decimal-format decimal-separator copy-namespaces empty-sequence except exponent-separator external grouping-separator inherit no-inherit lax minus-sign per-mille percent schema-attribute schema-element strict unordered zero-digit declare import option function validate variable for at in let where order group by return if then else tumbling sliding window start when only end previous next stable ascending descending allowing empty greatest least some every satisfies switch case typeswitch try catch and or to union intersect instance of treat as castable cast map array delete insert into replace value rename copy modify update",type:"item document-node node attribute document element comment namespace namespace-node processing-instruction text construction xs:anyAtomicType xs:untypedAtomic xs:duration xs:time xs:decimal xs:float xs:double xs:gYearMonth xs:gYear xs:gMonthDay xs:gMonth xs:gDay xs:boolean xs:base64Binary xs:hexBinary xs:anyURI xs:QName xs:NOTATION xs:dateTime xs:dateTimeStamp xs:date xs:string xs:normalizedString xs:token xs:language xs:NMTOKEN xs:Name xs:NCName xs:ID xs:IDREF xs:ENTITY xs:integer xs:nonPositiveInteger xs:negativeInteger xs:long xs:int xs:short xs:byte xs:nonNegativeInteger xs:unisignedLong xs:unsignedInt xs:unsignedShort xs:unsignedByte xs:positiveInteger xs:yearMonthDuration xs:dayTimeDuration",literal:"eq ne lt le gt ge is self:: child:: descendant:: descendant-or-self:: attribute:: following:: following-sibling:: parent:: ancestor:: ancestor-or-self:: preceding:: preceding-sibling:: NaN"},contains:[{className:"variable",begin:/[\$][\w-:]+/},{className:"built_in",variants:[{begin:/\barray\:/,end:/(?:append|filter|flatten|fold\-(?:left|right)|for-each(?:\-pair)?|get|head|insert\-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap\:/,end:/(?:contains|entry|find|for\-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath\:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop\:/,end:/\(/,excludeEnd:!0},{begin:/\bfn\:/,end:/\(/,excludeEnd:!0},{begin:/[^<\/\$\:'"-]\b(?:abs|accumulator\-(?:after|before)|adjust\-(?:date(?:Time)?|time)\-to\-timezone|analyze\-string|apply|available\-(?:environment\-variables|system\-properties)|avg|base\-uri|boolean|ceiling|codepoints?\-(?:equal|to\-string)|collation\-key|collection|compare|concat|contains(?:\-token)?|copy\-of|count|current(?:\-)?(?:date(?:Time)?|time|group(?:ing\-key)?|output\-uri|merge\-(?:group|key))?data|dateTime|days?\-from\-(?:date(?:Time)?|duration)|deep\-equal|default\-(?:collation|language)|distinct\-values|document(?:\-uri)?|doc(?:\-available)?|element\-(?:available|with\-id)|empty|encode\-for\-uri|ends\-with|environment\-variable|error|escape\-html\-uri|exactly\-one|exists|false|filter|floor|fold\-(?:left|right)|for\-each(?:\-pair)?|format\-(?:date(?:Time)?|time|integer|number)|function\-(?:arity|available|lookup|name)|generate\-id|has\-children|head|hours\-from\-(?:dateTime|duration|time)|id(?:ref)?|implicit\-timezone|in\-scope\-prefixes|index\-of|innermost|insert\-before|iri\-to\-uri|json\-(?:doc|to\-xml)|key|lang|last|load\-xquery\-module|local\-name(?:\-from\-QName)?|(?:lower|upper)\-case|matches|max|minutes\-from\-(?:dateTime|duration|time)|min|months?\-from\-(?:date(?:Time)?|duration)|name(?:space\-uri\-?(?:for\-prefix|from\-QName)?)?|nilled|node\-name|normalize\-(?:space|unicode)|not|number|one\-or\-more|outermost|parse\-(?:ietf\-date|json)|path|position|(?:prefix\-from\-)?QName|random\-number\-generator|regex\-group|remove|replace|resolve\-(?:QName|uri)|reverse|root|round(?:\-half\-to\-even)?|seconds\-from\-(?:dateTime|duration|time)|snapshot|sort|starts\-with|static\-base\-uri|stream\-available|string\-?(?:join|length|to\-codepoints)?|subsequence|substring\-?(?:after|before)?|sum|system\-property|tail|timezone\-from\-(?:date(?:Time)?|time)|tokenize|trace|trans(?:form|late)|true|type\-available|unordered|unparsed\-(?:entity|text)?\-?(?:public\-id|uri|available|lines)?|uri\-collection|xml\-to\-json|years?\-from\-(?:date(?:Time)?|duration)|zero\-or\-one)\b/},{begin:/\blocal\:/,end:/\(/,excludeEnd:!0},{begin:/\bzip\:/,end:/(?:zip\-file|(?:xml|html|text|binary)\-entry| (?:update\-)?entries)\b/},{begin:/\b(?:util|db|functx|app|xdmp|xmldb)\:/,end:/\(/,excludeEnd:!0}]},{className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{className:"comment",begin:"\\(:",end:":\\)",relevance:10,contains:[{className:"doctag",begin:"@\\w+"}]},{className:"meta",begin:/%[\w-:]+/},{className:"title",begin:/\bxquery version "[13]\.[01]"\s?(?:encoding ".+")?/,end:/;/},{beginKeywords:"element attribute comment document processing-instruction",end:"{",excludeEnd:!0},{begin:/<([\w\._:\-]+)((\s*.*)=('|").*('|"))?>/,end:/(\/[\w\._:\-]+>)/,subLanguage:"xml",contains:[{begin:"{",end:"}",subLanguage:"xquery"},"self"]}]}}},44776:function(e){e.exports=function(e){return{case_insensitive:!0,aliases:["yml","YAML","yaml"],contains:[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---s*$",relevance:10},{className:"string",begin:"[\\|>]([0-9]?[+-])?[ ]*\\n( *)[\\S ]+\\n(\\2[\\S ]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!"+e.UNDERSCORE_IDENT_RE},{className:"type",begin:"!!"+e.UNDERSCORE_IDENT_RE},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"\\-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:"true false yes no null",keywords:{literal:"true false yes no null"}},{className:"number",begin:e.C_NUMBER_RE+"\\b"},{className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:"{{",end:"}}"},{begin:"%{",end:"}"}]}]}]}}},8375:function(e){e.exports=function(e){var t={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:'b"',end:'"'},{begin:"b'",end:"'"},e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},n={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{aliases:["zep"],case_insensitive:!0,keywords:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var let while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally int uint long ulong char uchar double float bool boolean stringlikely unlikely",contains:[e.C_LINE_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler",lexemes:e.UNDERSCORE_IDENT_RE}),{className:"string",begin:"<<<['\"]?\\w+['\"]?$",end:"^\\w+;",contains:[e.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function",end:/[;{]/,excludeEnd:!0,illegal:"\\$|\\[|%",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:["self",e.C_BLOCK_COMMENT_MODE,t,n]}]},{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:!0,illegal:/[:\(\$"]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",end:";",illegal:/[\.']/,contains:[e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",end:";",contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"=>"},t,n]}}},63906:function(){!function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=window.document,t=[];a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]})},a.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},a.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(i(window,"resize",this._checkForIntersections,!0),i(e,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},a.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,r(window,"resize",this._checkForIntersections,!0),r(e,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},a.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),t=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(a){var i=a.element,r=s(i),o=this._rootContainsTarget(i),l=a.entry,c=e&&o&&this._computeTargetAndRootIntersection(i,t),d=a.entry=new n({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:r,rootBounds:t,intersectionRect:c});l?e&&o?this._hasCrossedThreshold(l,d)&&this._queuedEntries.push(d):l&&l.isIntersecting&&this._queuedEntries.push(d):this._queuedEntries.push(d)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},a.prototype._computeTargetAndRootIntersection=function(t,n){if("none"!=window.getComputedStyle(t).display){for(var a,i,r,o,c,d,u,_,h=s(t),p=l(t),g=!1;!g;){var m=null,f=1==p.nodeType?window.getComputedStyle(p):{};if("none"==f.display)return;if(p==this.root||p==e?(g=!0,m=n):p!=e.body&&p!=e.documentElement&&"visible"!=f.overflow&&(m=s(p)),m&&(a=m,i=h,r=Math.max(a.top,i.top),o=Math.min(a.bottom,i.bottom),c=Math.max(a.left,i.left),_=o-r,!(h=(u=(d=Math.min(a.right,i.right))-c)>=0&&_>=0&&{top:r,bottom:o,left:c,right:d,width:u,height:_})))break;p=l(p)}return h}},a.prototype._getRootRect=function(){var t;if(this.root)t=s(this.root);else{var n=e.documentElement,a=e.body;t={top:0,left:0,right:n.clientWidth||a.clientWidth,width:n.clientWidth||a.clientWidth,bottom:n.clientHeight||a.clientHeight,height:n.clientHeight||a.clientHeight}}return this._expandRectByRootMargin(t)},a.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map(function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100}),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},a.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,a=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==a)for(var i=0;i ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$)|(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:g,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,text:/^[^\n]+/};function a(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||S.defaults,this.rules=n.normal,this.options.pedantic?this.rules=n.pedantic:this.options.gfm&&(this.rules=this.options.tables?n.tables:n.gfm)}n._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,n._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,n.def=u(n.def).replace("label",n._label).replace("title",n._title).getRegex(),n.bullet=/(?:[*+-]|\d+\.)/,n.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,n.item=u(n.item,"gm").replace(/bull/g,n.bullet).getRegex(),n.list=u(n.list).replace(/bull/g,n.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+n.def.source+")").getRegex(),n._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",n._comment=//,n.html=u(n.html,"i").replace("comment",n._comment).replace("tag",n._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),n.paragraph=u(n.paragraph).replace("hr",n.hr).replace("heading",n.heading).replace("lheading",n.lheading).replace("tag",n._tag).getRegex(),n.blockquote=u(n.blockquote).replace("paragraph",n.paragraph).getRegex(),n.normal=m({},n),n.gfm=m({},n.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\n? *\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),n.gfm.paragraph=u(n.paragraph).replace("(?!","(?!"+n.gfm.fences.source.replace("\\1","\\2")+"|"+n.list.source.replace("\\1","\\3")+"|").getRegex(),n.tables=m({},n.gfm,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),n.pedantic=m({},n.normal,{html:u("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",n._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/}),a.rules=n,a.lex=function(e,t){return new a(t).lex(e)},a.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},a.prototype.token=function(e,t){var a,i,r,s,o,l,c,d,u,_,h,p,g,m,S,b;for(e=e.replace(/^ +$/gm,"");e;)if((r=this.rules.newline.exec(e))&&(e=e.substring(r[0].length),r[0].length>1&&this.tokens.push({type:"space"})),r=this.rules.code.exec(e))e=e.substring(r[0].length),r=r[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?r:E(r,"\n")});else if(r=this.rules.fences.exec(e))e=e.substring(r[0].length),this.tokens.push({type:"code",lang:r[2],text:r[3]||""});else if(r=this.rules.heading.exec(e))e=e.substring(r[0].length),this.tokens.push({type:"heading",depth:r[1].length,text:r[2]});else if(t&&(r=this.rules.nptable.exec(e))&&(l={type:"table",header:f(r[1].replace(/^ *| *\| *$/g,"")),align:r[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:r[3]?r[3].replace(/\n$/,"").split("\n"):[]}).header.length===l.align.length){for(e=e.substring(r[0].length),h=0;h ?/gm,""),this.token(r,t),this.tokens.push({type:"blockquote_end"});else if(r=this.rules.list.exec(e)){for(e=e.substring(r[0].length),this.tokens.push(c={type:"list_start",ordered:m=(s=r[2]).length>1,start:m?+s:"",loose:!1}),d=[],a=!1,g=(r=r[0].match(this.rules.item)).length,h=0;h1&&o.length>1||(e=r.slice(h+1).join("\n")+e,h=g-1)),i=a||/\n\n(?!\s*$)/.test(l),h!==g-1&&(a="\n"===l.charAt(l.length-1),i||(i=a)),i&&(c.loose=!0),b=void 0,(S=/^\[[ xX]\] /.test(l))&&(b=" "!==l[1],l=l.replace(/^\[[ xX]\] +/,"")),d.push(u={type:"list_item_start",task:S,checked:b,loose:i}),this.tokens.push(u),this.token(l,!1),this.tokens.push({type:"list_item_end"});if(c.loose)for(g=d.length,h=0;h?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:g,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(href(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s])__(?!_)|^\*\*([^\s])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*"<\[])\*(?!\*)|^_([^\s][\s\S]*?[^\s_])_(?!_|[^\s.])|^_([^\s_][\s\S]*?[^\s])_(?!_|[^\s.])|^\*([^\s"<\[][\s\S]*?[^\s*])\*(?!\*)|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:g,text:/^(`+|[^`])[\s\S]*?(?=[\\?@\[\]\\^_`{|}~])/g,i._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,i._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,i.autolink=u(i.autolink).replace("scheme",i._scheme).replace("email",i._email).getRegex(),i._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,i.tag=u(i.tag).replace("comment",n._comment).replace("attribute",i._attribute).getRegex(),i._label=/(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|[^\[\]\\])*?/,i._href=/\s*(<(?:\\[<>]?|[^\s<>\\])*>|(?:\\[()]?|\([^\s\x00-\x1f\\]*\)|[^\s\x00-\x1f()\\])*?)/,i._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,i.link=u(i.link).replace("label",i._label).replace("href",i._href).replace("title",i._title).getRegex(),i.reflink=u(i.reflink).replace("label",i._label).getRegex(),i.normal=m({},i),i.pedantic=m({},i.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:u(/^!?\[(label)\]\((.*?)\)/).replace("label",i._label).getRegex(),reflink:u(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",i._label).getRegex()}),i.gfm=m({},i.normal,{escape:u(i.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:u(i.text).replace("]|","~]|").replace("|$","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|$").getRegex()}),i.gfm.url=u(i.gfm.url).replace("email",i.gfm._extended_email).getRegex(),i.breaks=m({},i.gfm,{br:u(i.br).replace("{2,}","*").getRegex(),text:u(i.gfm.text).replace("{2,}","*").getRegex()}),r.rules=i,r.output=function(e,t,n){return new r(t,n).output(e)},r.prototype.output=function(e){for(var t,n,a,i,s,o,l="";e;)if(s=this.rules.escape.exec(e))e=e.substring(s[0].length),l+=s[1];else if(s=this.rules.autolink.exec(e))e=e.substring(s[0].length),a="@"===s[2]?"mailto:"+(n=c(this.mangle(s[1]))):n=c(s[1]),l+=this.renderer.link(a,null,n);else if(this.inLink||!(s=this.rules.url.exec(e))){if(s=this.rules.tag.exec(e))!this.inLink&&/^/i.test(s[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(s[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(s[0])&&(this.inRawBlock=!1),e=e.substring(s[0].length),l+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(s[0]):c(s[0]):s[0];else if(s=this.rules.link.exec(e))e=e.substring(s[0].length),this.inLink=!0,a=s[2],this.options.pedantic?(t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a))?(a=t[1],i=t[3]):i="":i=s[3]?s[3].slice(1,-1):"",a=a.trim().replace(/^<([\s\S]*)>$/,"$1"),l+=this.outputLink(s,{href:r.escapes(a),title:r.escapes(i)}),this.inLink=!1;else if((s=this.rules.reflink.exec(e))||(s=this.rules.nolink.exec(e))){if(e=e.substring(s[0].length),t=(s[2]||s[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){l+=s[0].charAt(0),e=s[0].substring(1)+e;continue}this.inLink=!0,l+=this.outputLink(s,t),this.inLink=!1}else if(s=this.rules.strong.exec(e))e=e.substring(s[0].length),l+=this.renderer.strong(this.output(s[4]||s[3]||s[2]||s[1]));else if(s=this.rules.em.exec(e))e=e.substring(s[0].length),l+=this.renderer.em(this.output(s[6]||s[5]||s[4]||s[3]||s[2]||s[1]));else if(s=this.rules.code.exec(e))e=e.substring(s[0].length),l+=this.renderer.codespan(c(s[2].trim(),!0));else if(s=this.rules.br.exec(e))e=e.substring(s[0].length),l+=this.renderer.br();else if(s=this.rules.del.exec(e))e=e.substring(s[0].length),l+=this.renderer.del(this.output(s[1]));else if(s=this.rules.text.exec(e))e=e.substring(s[0].length),l+=this.renderer.text(this.inRawBlock?s[0]:c(this.smartypants(s[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===s[2])a="mailto:"+(n=c(s[0]));else{do{o=s[0],s[0]=this.rules._backpedal.exec(s[0])[0]}while(o!==s[0]);n=c(s[0]),a="www."===s[1]?"http://"+n:n}e=e.substring(s[0].length),l+=this.renderer.link(a,null,n)}return l},r.escapes=function(e){return e?e.replace(r.rules._escapes,"$1"):e},r.prototype.outputLink=function(e,t){var n=t.href,a=t.title?c(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,a,this.output(e[1])):this.renderer.image(n,a,c(e[1]))},r.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201c").replace(/"/g,"\u201d").replace(/\.{3}/g,"\u2026"):e},r.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",a=e.length,i=0;i.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},s.prototype.code=function(e,t,n){if(this.options.highlight){var a=this.options.highlight(e,t);null!=a&&a!==e&&(n=!0,e=a)}return t?'
'+(n?e:c(e,!0))+"
\n":"
"+(n?e:c(e,!0))+"
"},s.prototype.blockquote=function(e){return"
\n"+e+"
\n"},s.prototype.html=function(e){return e},s.prototype.heading=function(e,t,n){return this.options.headerIds?"'+e+"\n":""+e+"\n"},s.prototype.hr=function(){return this.options.xhtml?"
\n":"
\n"},s.prototype.list=function(e,t,n){var a=t?"ol":"ul";return"<"+a+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},s.prototype.listitem=function(e){return"
  • "+e+"
  • \n"},s.prototype.checkbox=function(e){return" "},s.prototype.paragraph=function(e){return"

    "+e+"

    \n"},s.prototype.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},s.prototype.tablerow=function(e){return"\n"+e+"\n"},s.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"\n"},s.prototype.strong=function(e){return""+e+""},s.prototype.em=function(e){return""+e+""},s.prototype.codespan=function(e){return""+e+""},s.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},s.prototype.del=function(e){return""+e+""},s.prototype.link=function(e,t,n){if(null===(e=_(this.options.sanitize,this.options.baseUrl,e)))return n;var a='
    "+n+""},s.prototype.image=function(e,t,n){if(null===(e=_(this.options.sanitize,this.options.baseUrl,e)))return n;var a=''+n+'":">")},s.prototype.text=function(e){return e},o.prototype.strong=o.prototype.em=o.prototype.codespan=o.prototype.del=o.prototype.text=function(e){return e},o.prototype.link=o.prototype.image=function(e,t,n){return""+n},o.prototype.br=function(){return""},l.parse=function(e,t){return new l(t).parse(e)},l.prototype.parse=function(e){this.inline=new r(e.links,this.options),this.inlineText=new r(e.links,m({},this.options,{renderer:new o})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},l.prototype.next=function(){return this.token=this.tokens.pop()},l.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},l.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},l.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,d(this.inlineText.output(this.token.text)));case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,a,i="",r="";for(n="",e=0;e"']/,c.escapeReplace=/[&<>"']/g,c.replacements={"&":"&","<":"<",">":">",'"':""","'":"'"},c.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,c.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var h={},p=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function g(){}function m(e){for(var t,n,a=1;a=0&&"\\"===n[i];)a=!a;return a?"|":" |"}).split(/ \|/),a=0;if(n.length>t)n.splice(t);else for(;n.lengthAn error occurred:

    "+c(u.message+"",!0)+"
    ";throw u}}g.exec=g,S.options=S.setOptions=function(e){return m(S.defaults,e),S},S.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new s,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tables:!0,xhtml:!1}},S.defaults=S.getDefaults(),S.Parser=l,S.parser=l.parse,S.Renderer=s,S.TextRenderer=o,S.Lexer=a,S.lexer=a.lex,S.InlineLexer=r,S.inlineLexer=r.output,S.parse=S,e.exports=S}(this||("undefined"!=typeof window?window:global))},30916:function(e,t,n){"use strict";n.d(t,{z1:function(){return Q},mZ:function(){return Z}});var a=n(64762),i=n(38583),r=n(37716),s=n(67574),o=n(98640);const l=new s.y(o.Z);var c=n(79765),d=n(25917),u=n(82298),_=n(59193),h=n(77393),p=n(33637);class g{constructor(e,t){this.period=e,this.scheduler=t}call(e,t){return t.subscribe(new m(e,this.period,this.scheduler))}}class m extends h.L{constructor(e,t,n){super(e),this.period=t,this.scheduler=n,this.hasValue=!1,this.add(n.schedule(f,t,{subscriber:this,period:t}))}_next(e){this.lastValue=e,this.hasValue=!0}notifyNext(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))}}function f(e){let{subscriber:t,period:n}=e;t.notifyNext(),this.schedule(e,n)}var E=n(45435),S=n(68307),b=n(15257),y=n(19773),v=n(88002),T=n(5304),C=n(43190),O=n(78345),R=n(39761);function A(e,t){e.className=e.className.replace(t,"")}function N(e,t){e.className.includes(t)||(e.className+=` ${t}`)}function w(){return"undefined"!=typeof window?window.navigator:void 0}function I(e){return Boolean(e.parentElement&&"picture"===e.parentElement.nodeName.toLowerCase())}function M(e){return"img"===e.nodeName.toLowerCase()}function x(e,t,n){return M(e)?n&&"srcset"in e?e.srcset=t:e.src=t:e.style.backgroundImage=`url('${t}')`,e}function D(e){return t=>{const n=t.parentElement.getElementsByTagName("source");for(let a=0;a{M(t)&&I(t)&&e(t),n&&x(t,n,a)}}const U=F(L),B=F(P),z=F(k),G={finally:({element:e})=>{N(e,"ng-lazyloaded"),A(e,"ng-lazyloading")},loadImage:({element:e,useSrcset:t,imagePath:n,decode:a})=>{let i;if(M(e)&&I(e)){const a=e.parentNode.cloneNode(!0);i=a.getElementsByTagName("img")[0],P(i),x(i,n,t)}else i=new Image,M(e)&&e.sizes&&(i.sizes=e.sizes),t&&"srcset"in i?i.srcset=n:i.src=n;return a&&i.decode?i.decode().then(()=>n):new Promise((e,t)=>{i.onload=()=>e(n),i.onerror=()=>t(null)})},setErrorImage:({element:e,errorImagePath:t,useSrcset:n})=>{z(e,t,n),N(e,"ng-failed-lazyloaded")},setLoadedImage:({element:e,imagePath:t,useSrcset:n})=>{B(e,t,n)},setup:({element:e,defaultImagePath:t,useSrcset:n})=>{U(e,t,n),N(e,"ng-lazyloading"),function(e,t){return e.className&&e.className.includes("ng-lazyloaded")}(e)&&A(e,"ng-lazyloaded")},isBot:e=>!(!e||!e.userAgent)&&/googlebot|bingbot|yandex|baiduspider|facebookexternalhit|twitterbot|rogerbot|linkedinbot|embedly|quora\ link\ preview|showyoubot|outbrain|pinterest\/0\.|pinterestbot|slackbot|vkShare|W3C_Validator|whatsapp|duckduckbot/i.test(e.userAgent)},V=new WeakMap,H=new c.xQ;function Y(e){e.forEach(e=>H.next(e))}const q={},j=e=>{const t=e.scrollContainer||q,n={root:e.scrollContainer||null};e.offset&&(n.rootMargin=`${e.offset}px`);let a=V.get(t);return a||(a=new IntersectionObserver(Y,n),V.set(t,a)),a.observe(e.element),s.y.create(t=>{const n=H.pipe((0,E.h)(t=>t.target===e.element)).subscribe(t);return()=>{n.unsubscribe(),a.unobserve(e.element)}})},$=Object.assign({},G,{isVisible:({event:e})=>e.isIntersecting,getObservable:(e,t=j)=>e.customObservable?e.customObservable:t(e)}),W=Object.assign({},G,{isVisible:()=>!0,getObservable:()=>(0,d.of)("load"),loadImage:({imagePath:e})=>[e]});let Q=(()=>{let e=class{constructor(e,t,n,a){this.onStateChange=new r.vpe,this.onLoad=new r.vpe,this.elementRef=e,this.ngZone=t,this.propertyChanges$=new u.t,this.platformId=n,this.hooks=function(e,t){const n=$,a=t&&t.isBot?t.isBot:n.isBot;if(a(w(),e))return Object.assign(W,{isBot:a});if(!t)return n;const i={};return Object.assign(i,t.preset?t.preset:n),Object.keys(t).filter(e=>"preset"!==e).forEach(e=>{i[e]=t[e]}),i}(n,a)}ngOnChanges(){!0!==this.debug||this.debugSubscription||(this.debugSubscription=this.onStateChange.subscribe(e=>console.log(e))),this.propertyChanges$.next({element:this.elementRef.nativeElement,imagePath:this.lazyImage,defaultImagePath:this.defaultImage,errorImagePath:this.errorImage,useSrcset:this.useSrcset,offset:this.offset?0|this.offset:0,scrollContainer:this.scrollTarget,customObservable:this.customObservable,decode:this.decode,onStateChange:this.onStateChange})}ngAfterContentInit(){if((0,i.PM)(this.platformId)&&!this.hooks.isBot(w(),this.platformId))return null;this.ngZone.runOutsideAngular(()=>{this.loadSubscription=this.propertyChanges$.pipe((0,S.b)(e=>e.onStateChange.emit({reason:"setup"})),(0,S.b)(e=>this.hooks.setup(e)),(0,C.w)(e=>e.imagePath?this.hooks.getObservable(e).pipe(function(e,t){return n=>n.pipe((0,S.b)(e=>t.onStateChange.emit({reason:"observer-emit",data:e})),(0,E.h)(n=>e.isVisible({element:t.element,event:n,offset:t.offset,scrollContainer:t.scrollContainer})),(0,b.q)(1),(0,S.b)(()=>t.onStateChange.emit({reason:"start-loading"})),(0,y.zg)(()=>e.loadImage(t)),(0,S.b)(()=>t.onStateChange.emit({reason:"mount-image"})),(0,S.b)(n=>e.setLoadedImage({element:t.element,imagePath:n,useSrcset:t.useSrcset})),(0,S.b)(()=>t.onStateChange.emit({reason:"loading-succeeded"})),(0,v.U)(()=>!0),(0,T.K)(n=>(t.onStateChange.emit({reason:"loading-failed",data:n}),e.setErrorImage(t),(0,d.of)(!1))),(0,S.b)(()=>{t.onStateChange.emit({reason:"finally"}),e.finally(t)}))}(this.hooks,e)):l)).subscribe(e=>this.onLoad.emit(e))})}ngOnDestroy(){var e,t;null===(e=this.loadSubscription)||void 0===e||e.unsubscribe(),null===(t=this.debugSubscription)||void 0===t||t.unsubscribe()}};return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(r.Lbi),r.Y36("options",8))},e.\u0275dir=r.lG2({type:e,selectors:[["","lazyLoad",""]],inputs:{lazyImage:["lazyLoad","lazyImage"],defaultImage:"defaultImage",errorImage:"errorImage",scrollTarget:"scrollTarget",customObservable:"customObservable",offset:"offset",useSrcset:"useSrcset",decode:"decode",debug:"debug"},outputs:{onStateChange:"onStateChange",onLoad:"onLoad"},features:[r.TTD]}),(0,a.gn)([(0,r.IIB)("lazyLoad")],e.prototype,"lazyImage",void 0),(0,a.gn)([(0,r.IIB)()],e.prototype,"defaultImage",void 0),(0,a.gn)([(0,r.IIB)()],e.prototype,"errorImage",void 0),(0,a.gn)([(0,r.IIB)()],e.prototype,"scrollTarget",void 0),(0,a.gn)([(0,r.IIB)()],e.prototype,"customObservable",void 0),(0,a.gn)([(0,r.IIB)()],e.prototype,"offset",void 0),(0,a.gn)([(0,r.IIB)()],e.prototype,"useSrcset",void 0),(0,a.gn)([(0,r.IIB)()],e.prototype,"decode",void 0),(0,a.gn)([(0,r.IIB)()],e.prototype,"debug",void 0),(0,a.gn)([(0,r.r_U)()],e.prototype,"onStateChange",void 0),(0,a.gn)([(0,r.r_U)()],e.prototype,"onLoad",void 0),e=(0,a.gn)([(0,a.fM)(2,(0,r.tBr)(r.Lbi)),(0,a.fM)(3,(0,r.FiY)()),(0,a.fM)(3,(0,r.tBr)("options"))],e),e})();var K;let Z=K=class{static forRoot(e){return{ngModule:K,providers:[{provide:"options",useValue:e}]}}};Z.\u0275fac=function(e){return new(e||Z)},Z.\u0275mod=r.oAB({type:Z}),Z.\u0275inj=r.cJS({});class X{constructor(e,t,n,a){this.left=e,this.top=t,this.right=n,this.bottom=a}static fromElement(e){const{left:t,top:n,right:a,bottom:i}=e.getBoundingClientRect();return 0===t&&0===n&&0===a&&0===i?X.empty:new X(t,n,a,i)}static fromWindow(e){return new X(0,0,e.innerWidth,e.innerHeight)}inflate(e){this.left-=e,this.top-=e,this.right+=e,this.bottom+=e}intersectsWith(e){return e.left=t&&i>=n?new X(t,n,a,i):X.empty}}X.empty=new X(0,0,0,0);const J=new WeakMap;Object.assign({},G,{isVisible:({element:e,offset:t,scrollContainer:n},a=(()=>window))=>{const i=X.fromElement(e);if(i===X.empty)return!1;const r=X.fromWindow(a());if(i.inflate(t),n){const e=X.fromElement(n).getIntersectionWith(r);return i.intersectsWith(e)}return i.intersectsWith(r)},getObservable:e=>e.customObservable?e.customObservable.pipe((0,R.O)("")):(e=>{if(!e||"function"!=typeof e.addEventListener)return console.warn("`addEventListener` on "+e+" (scrollTarget) is not a function. Skipping this target"),(0,_.c)();const t=J.get(e);if(t)return t;const n=s.y.create(t=>{const n=e=>t.next(e),a={passive:!0,capture:!1};return e.addEventListener("scroll",n,a),()=>e.removeEventListener("scroll",n,a)}).pipe(function(e,t=p.P){return n=>n.lift(new g(e,t))}(100,void 0),(0,O.B)(),(0,R.O)(""));return J.set(e,n),n})(e.scrollContainer?e.scrollContainer:window)})},26215:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});var a=n(79765),i=n(77971);class r extends a.xQ{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.N;return this._value}next(e){super.next(this._value=e)}}},41593:function(e,t,n){"use strict";n.d(t,{P:function(){return s}});var a=n(59193),i=n(25917),r=n(67574);class s{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return(0,i.of)(this.value);case"E":return e=this.error,new r.y(t=>t.error(e));case"C":return(0,a.c)()}var e;throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new s("N",e):s.undefinedValueNotification}static createError(e){return new s("E",void 0,e)}static createComplete(){return s.completeNotification}}s.completeNotification=new s("C"),s.undefinedValueNotification=new s("N",void 0)},67574:function(e,t,n){"use strict";n.d(t,{y:function(){return c}});var a=n(77393),i=n(29181),r=n(46490),s=n(16554),o=n(54487),l=n(82494);let c=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:s}=this,o=function(e,t,n){if(e){if(e instanceof a.L)return e;if(e[i.b])return e[i.b]()}return e||t||n?new a.L(e,t,n):new a.L(r.c)}(e,t,n);if(o.add(s?s.call(o,this.source):this.source||l.v.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),l.v.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(e){try{return this._subscribe(e)}catch(t){l.v.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:i}=e;if(t||i)return!1;e=n&&n instanceof a.L?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=d(t))((t,n)=>{let a;a=this.subscribe(t=>{try{e(t)}catch(i){n(i),a&&a.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[s.L](){return this}pipe(...e){return 0===e.length?this:(0===(t=e).length?o.y:1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)})(this);var t}toPromise(e){return new(e=d(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function d(e){if(e||(e=l.v.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},46490:function(e,t,n){"use strict";n.d(t,{c:function(){return r}});var a=n(82494),i=n(54449);const r={closed:!0,next(e){},error(e){if(a.v.useDeprecatedSynchronousErrorHandling)throw e;(0,i.z)(e)},complete(){}}},55197:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var a=n(77393);class i extends a.L{notifyNext(e,t,n,a,i){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}},82298:function(e,t,n){"use strict";n.d(t,{t:function(){return p}});var a=n(79765),i=n(36465),r=n(16102);const s=new class extends r.v{}(class extends i.o{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}});var o=n(75319),l=n(77393),c=n(41593);class d extends l.L{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(d.dispatch,this.delay,new u(e,this.destination)))}_next(e){this.scheduleMessage(c.P.createNext(e))}_error(e){this.scheduleMessage(c.P.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(c.P.createComplete()),this.unsubscribe()}}class u{constructor(e,t){this.notification=e,this.destination=t}}var _=n(77971),h=n(78858);class p extends a.xQ{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),super.next(e)}nextTimeWindow(e){this._events.push(new g(this._getNow(),e)),this._trimBufferThenGetEvents(),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),a=this.scheduler,i=n.length;let r;if(this.closed)throw new _.N;if(this.isStopped||this.hasError?r=o.w.EMPTY:(this.observers.push(e),r=new h.W(this,e)),a&&e.add(e=new d(e,a)),t)for(let s=0;st&&(r=Math.max(r,i-t)),r>0&&a.splice(0,r),a}}class g{constructor(e,t){this.time=e,this.value=t}}},79765:function(e,t,n){"use strict";n.d(t,{Yc:function(){return c},xQ:function(){return d}});var a=n(67574),i=n(77393),r=n(75319),s=n(77971),o=n(78858),l=n(29181);class c extends i.L{constructor(e){super(e),this.destination=e}}let d=(()=>{class e extends a.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.b](){return new c(this)}lift(e){const t=new u(this,this);return t.operator=e,t}next(e){if(this.closed)throw new s.N;if(!this.isStopped){const{observers:t}=this,n=t.length,a=t.slice();for(let i=0;inew u(e,t),e})();class u extends d{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):r.w.EMPTY}}},78858:function(e,t,n){"use strict";n.d(t,{W:function(){return i}});var a=n(75319);class i extends a.w{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},77393:function(e,t,n){"use strict";n.d(t,{L:function(){return c}});var a=n(69105),i=n(46490),r=n(75319),s=n(29181),o=n(82494),l=n(54449);class c extends r.w{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=i.c;break;case 1:if(!e){this.destination=i.c;break}if("object"==typeof e){e instanceof c?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new d(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new d(this,e,t,n)}}[s.b](){return this}static create(e,t,n){const a=new c(e,t,n);return a.syncErrorThrowable=!1,a}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class d extends c{constructor(e,t,n,r){let s;super(),this._parentSubscriber=e;let o=this;(0,a.m)(t)?s=t:t&&(s=t.next,n=t.error,r=t.complete,t!==i.c&&(o=Object.create(t),(0,a.m)(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=s,this._error=n,this._complete=r}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;o.v.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=o.v;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):(0,l.z)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;(0,l.z)(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);o.v.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),o.v.useDeprecatedSynchronousErrorHandling)throw n;(0,l.z)(n)}}__tryOrSetError(e,t,n){if(!o.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(a){return o.v.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=a,e.syncErrorThrown=!0,!0):((0,l.z)(a),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}},75319:function(e,t,n){"use strict";n.d(t,{w:function(){return o}});var a=n(59796),i=n(81555),r=n(69105);const s=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();class o{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:t,_ctorUnsubscribe:n,_unsubscribe:l,_subscriptions:d}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof o)t.remove(this);else if(null!==t)for(let a=0;ae.concat(t instanceof s?t.errors:t),[])}o.EMPTY=((l=new o).closed=!0,l)},82494:function(e,t,n){"use strict";n.d(t,{v:function(){return i}});let a=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else a&&console.log("RxJS: Back to a better error behavior. Thank you. <3");a=e},get useDeprecatedSynchronousErrorHandling(){return a}}},85345:function(e,t,n){"use strict";n.d(t,{IY:function(){return s},Ds:function(){return o},ft:function(){return l}});var a=n(77393),i=n(67574),r=n(87444);class s extends a.L{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class o extends a.L{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function l(e,t){if(!t.closed)return e instanceof i.y?e.subscribe(t):(0,r.s)(e)(t)}},52441:function(e,t,n){"use strict";n.d(t,{c:function(){return o},N:function(){return l}});var a=n(79765),i=n(67574),r=n(75319),s=n(51307);class o extends i.y{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new r.w,e.add(this.source.subscribe(new c(this.getSubject(),this))),e.closed&&(this._connection=null,e=r.w.EMPTY)),e}refCount(){return(0,s.x)()(this)}}const l=(()=>{const e=o.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class c extends a.Yc{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}},9112:function(e,t,n){"use strict";n.d(t,{aj:function(){return c}});var a=n(54869),i=n(59796),r=n(55197),s=n(20509),o=n(56693);const l={};function c(...e){let t,n;return(0,a.K)(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&(0,i.k)(e[0])&&(e=e[0]),(0,o.n)(e,n).lift(new d(t))}class d{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new u(e,this.resultSelector))}}class u extends r.L{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(l),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;ne.complete());function r(e){return e?function(e){return new a.y(t=>e.schedule(()=>t.complete()))}(e):i}},35758:function(e,t,n){"use strict";n.d(t,{D:function(){return l}});var a=n(67574),i=n(59796),r=n(88002),s=n(81555),o=n(94402);function l(...e){if(1===e.length){const t=e[0];if((0,i.k)(t))return c(t,null);if((0,s.K)(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return c(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return c(e=1===e.length&&(0,i.k)(e[0])?e[0]:e,null).pipe((0,r.U)(e=>t(...e)))}return c(e,null)}function c(e,t){return new a.y(n=>{const a=e.length;if(0===a)return void n.complete();const i=new Array(a);let r=0,s=0;for(let l=0;l{d||(d=!0,s++),i[l]=e},error:e=>n.error(e),complete:()=>{r++,r!==a&&d||(s===a&&n.next(t?t.reduce((e,t,n)=>(e[t]=i[n],e),{}):i),n.complete())}}))}})}},94402:function(e,t,n){"use strict";n.d(t,{D:function(){return u}});var a=n(67574),i=n(87444),r=n(75319),s=n(16554),o=n(94087),l=n(20377),c=n(44072),d=n(69489);function u(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[s.L]}(e))return function(e,t){return new a.y(n=>{const a=new r.w;return a.add(t.schedule(()=>{const i=e[s.L]();a.add(i.subscribe({next(e){a.add(t.schedule(()=>n.next(e)))},error(e){a.add(t.schedule(()=>n.error(e)))},complete(){a.add(t.schedule(()=>n.complete()))}}))})),a})}(e,t);if((0,c.t)(e))return function(e,t){return new a.y(n=>{const a=new r.w;return a.add(t.schedule(()=>e.then(e=>{a.add(t.schedule(()=>{n.next(e),a.add(t.schedule(()=>n.complete()))}))},e=>{a.add(t.schedule(()=>n.error(e)))}))),a})}(e,t);if((0,d.z)(e))return(0,o.r)(e,t);if(function(e){return e&&"function"==typeof e[l.hZ]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new a.y(n=>{const a=new r.w;let i;return a.add(()=>{i&&"function"==typeof i.return&&i.return()}),a.add(t.schedule(()=>{i=e[l.hZ](),a.add(t.schedule(function(){if(n.closed)return;let e,t;try{const n=i.next();e=n.value,t=n.done}catch(a){return void n.error(a)}t?n.complete():(n.next(e),this.schedule())}))})),a})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof a.y?e:new a.y((0,i.s)(e))}},56693:function(e,t,n){"use strict";n.d(t,{n:function(){return s}});var a=n(67574),i=n(55015),r=n(94087);function s(e,t){return t?(0,r.r)(e,t):new a.y((0,i.V)(e))}},22759:function(e,t,n){"use strict";n.d(t,{R:function(){return o}});var a=n(67574),i=n(59796),r=n(69105),s=n(88002);function o(e,t,n,c){return(0,r.m)(n)&&(c=n,n=void 0),c?o(e,t,n).pipe((0,s.U)(e=>(0,i.k)(e)?c(...e):c(e))):new a.y(a=>{l(e,t,function(e){a.next(arguments.length>1?Array.prototype.slice.call(arguments):e)},a,n)})}function l(e,t,n,a,i){let r;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){const a=e;e.addEventListener(t,n,i),r=()=>a.removeEventListener(t,n,i)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){const a=e;e.on(t,n),r=()=>a.off(t,n)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){const a=e;e.addListener(t,n),r=()=>a.removeListener(t,n)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let r=0,s=e.length;r1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof o&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof a.y?e[0]:(0,r.J)(t)((0,s.n)(e,n))}},25917:function(e,t,n){"use strict";n.d(t,{of:function(){return s}});var a=n(54869),i=n(56693),r=n(94087);function s(...e){let t=e[e.length-1];return(0,a.K)(t)?(e.pop(),(0,r.r)(e,t)):(0,i.n)(e)}},5304:function(e,t,n){"use strict";n.d(t,{K:function(){return i}});var a=n(85345);function i(e){return function(t){const n=new r(e),a=t.lift(n);return n.caught=a}}class r{constructor(e){this.selector=e}call(e,t){return t.subscribe(new s(e,this.selector,this.caught))}}class s extends a.Ds{constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const i=new a.IY(this);this.add(i);const r=(0,a.ft)(n,i);r!==i&&this.add(r)}}}},94612:function(e,t,n){"use strict";n.d(t,{b:function(){return i}});var a=n(19773);function i(e,t){return(0,a.zg)(e,t,1)}},54395:function(e,t,n){"use strict";n.d(t,{b:function(){return r}});var a=n(77393),i=n(33637);function r(e,t=i.P){return n=>n.lift(new s(e,t))}class s{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new o(e,this.dueTime,this.scheduler))}}class o extends a.L{constructor(e,t,n){super(e),this.dueTime=t,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function l(e){e.debouncedNext()}},71289:function(e,t,n){"use strict";n.d(t,{g:function(){return s}});var a=n(33637),i=n(77393),r=n(41593);function s(e,t=a.P){var n;const i=(n=e)instanceof Date&&!isNaN(+n)?+e-t.now():Math.abs(e);return e=>e.lift(new o(i,t))}class o{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new l(e,this.delay,this.scheduler))}}class l extends i.L{constructor(e,t,n){super(e),this.delay=t,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const t=e.source,n=t.queue,a=e.scheduler,i=e.destination;for(;n.length>0&&n[0].time-a.now()<=0;)n.shift().notification.observe(i);if(n.length>0){const t=Math.max(0,n[0].time-a.now());this.schedule(e,t)}else this.unsubscribe(),t.active=!1}_schedule(e){this.active=!0,this.destination.add(e.schedule(l.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,n=new c(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(r.P.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(r.P.createComplete()),this.unsubscribe()}}class c{constructor(e,t){this.time=e,this.notification=t}}},87519:function(e,t,n){"use strict";n.d(t,{x:function(){return i}});var a=n(77393);function i(e,t){return n=>n.lift(new r(e,t))}class r{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new s(e,this.compare,this.keySelector))}}class s extends a.L{constructor(e,t,n){super(e),this.keySelector=n,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:n}=this;t=n?n(e):e}catch(a){return this.destination.error(a)}let n=!1;if(this.hasKey)try{const{compare:e}=this;n=e(this.key,t)}catch(a){return this.destination.error(a)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))}}},45435:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var a=n(77393);function i(e,t){return function(n){return n.lift(new r(e,t))}}class r{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new s(e,this.predicate,this.thisArg))}}class s extends a.L{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}},68939:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});var a=n(77393),i=n(75319);function r(e){return t=>t.lift(new s(e))}class s{constructor(e){this.callback=e}call(e,t){return t.subscribe(new o(e,this.callback))}}class o extends a.L{constructor(e,t){super(e),this.add(new i.w(t))}}},88002:function(e,t,n){"use strict";n.d(t,{U:function(){return i}});var a=n(77393);function i(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new r(e,t))}}class r{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new s(e,this.project,this.thisArg))}}class s extends a.L{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},63282:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});var a=n(19773),i=n(54487);function r(e=Number.POSITIVE_INFINITY){return(0,a.zg)(i.y,e)}},19773:function(e,t,n){"use strict";n.d(t,{zg:function(){return s}});var a=n(88002),i=n(94402),r=n(85345);function s(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?r=>r.pipe(s((n,r)=>(0,i.D)(e(n,r)).pipe((0,a.U)((e,a)=>t(n,e,r,a))),n)):("number"==typeof t&&(n=t),t=>t.lift(new o(e,n)))}class o{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new l(e,this.project,this.concurrent))}}class l extends r.Ds{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},94458:function(e,t,n){"use strict";n.d(t,{O:function(){return i}});var a=n(52441);function i(e,t){return function(n){let i;if(i="function"==typeof e?e:function(){return e},"function"==typeof t)return n.lift(new r(i,t));const s=Object.create(n,a.N);return s.source=n,s.subjectFactory=i,s}}class r{constructor(e,t){this.subjectFactory=e,this.selector=t}call(e,t){const{selector:n}=this,a=this.subjectFactory(),i=n(a).subscribe(e);return i.add(t.subscribe(a)),i}}},62790:function(e,t,n){"use strict";n.d(t,{n:function(){return r}});var a=n(79765),i=n(94458);function r(e){return e?(0,i.O)(()=>new a.xQ,e):(0,i.O)(new a.xQ)}},35226:function(e,t,n){"use strict";n.d(t,{_:function(){return r}});var a=n(82298),i=n(94458);function r(e,t,n,r){n&&"function"!=typeof n&&(r=n);const s="function"==typeof n?n:void 0,o=new a.t(e,t,r);return e=>(0,i.O)(()=>o,s)(e)}},51307:function(e,t,n){"use strict";n.d(t,{x:function(){return i}});var a=n(77393);function i(){return function(e){return e.lift(new r(e))}}class r{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const a=new s(e,n),i=t.subscribe(a);return a.closed||(a.connection=n.connect()),i}}class s extends a.L{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,a=e._connection;this.connection=null,!a||n&&a!==n||a.unsubscribe()}}},78345:function(e,t,n){"use strict";n.d(t,{B:function(){return o}});var a=n(94458),i=n(51307),r=n(79765);function s(){return new r.xQ}function o(){return e=>(0,i.x)()((0,a.O)(s)(e))}},13653:function(e,t,n){"use strict";n.d(t,{T:function(){return i}});var a=n(77393);function i(e){return t=>t.lift(new r(e))}class r{constructor(e){this.total=e}call(e,t){return t.subscribe(new s(e,this.total))}}class s extends a.L{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}},39761:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});var a=n(58071),i=n(54869);function r(...e){const t=e[e.length-1];return(0,i.K)(t)?(e.pop(),n=>(0,a.z)(e,n,t)):t=>(0,a.z)(e,t)}},43190:function(e,t,n){"use strict";n.d(t,{w:function(){return s}});var a=n(88002),i=n(94402),r=n(85345);function s(e,t){return"function"==typeof t?n=>n.pipe(s((n,r)=>(0,i.D)(e(n,r)).pipe((0,a.U)((e,a)=>t(n,e,r,a))))):t=>t.lift(new o(e))}class o{constructor(e){this.project=e}call(e,t){return t.subscribe(new l(e,this.project))}}class l extends r.Ds{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(a){return void this.destination.error(a)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const n=new r.IY(this),a=this.destination;a.add(n),this.innerSubscription=(0,r.ft)(e,n),this.innerSubscription!==n&&a.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}},15257:function(e,t,n){"use strict";n.d(t,{q:function(){return s}});var a=n(77393),i=n(7108),r=n(59193);function s(e){return t=>0===e?(0,r.c)():t.lift(new o(e))}class o{constructor(e){if(this.total=e,this.total<0)throw new i.W}call(e,t){return t.subscribe(new l(e,this.total))}}class l extends a.L{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}},46782:function(e,t,n){"use strict";n.d(t,{R:function(){return i}});var a=n(85345);function i(e){return t=>t.lift(new r(e))}class r{constructor(e){this.notifier=e}call(e,t){const n=new s(e),i=(0,a.ft)(this.notifier,new a.IY(n));return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}class s extends a.Ds{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},70409:function(e,t,n){"use strict";n.d(t,{o:function(){return i}});var a=n(77393);function i(e,t=!1){return n=>n.lift(new r(e,t))}class r{constructor(e,t){this.predicate=e,this.inclusive=t}call(e,t){return t.subscribe(new s(e,this.predicate,this.inclusive))}}class s extends a.L{constructor(e,t,n){super(e),this.predicate=t,this.inclusive=n,this.index=0}_next(e){const t=this.destination;let n;try{n=this.predicate(e,this.index++)}catch(a){return void t.error(a)}this.nextOrComplete(e,n)}nextOrComplete(e,t){const n=this.destination;Boolean(t)?n.next(e):(this.inclusive&&n.next(e),n.complete())}}},68307:function(e,t,n){"use strict";n.d(t,{b:function(){return s}});var a=n(77393),i=n(98640),r=n(69105);function s(e,t,n){return function(a){return a.lift(new o(e,t,n))}}class o{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new l(e,this.nextOrObserver,this.error,this.complete))}}class l extends a.L{constructor(e,t,n,a){super(e),this._tapNext=i.Z,this._tapError=i.Z,this._tapComplete=i.Z,this._tapError=n||i.Z,this._tapComplete=a||i.Z,(0,r.m)(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||i.Z,this._tapError=t.error||i.Z,this._tapComplete=t.complete||i.Z)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}},94087:function(e,t,n){"use strict";n.d(t,{r:function(){return r}});var a=n(67574),i=n(75319);function r(e,t){return new a.y(n=>{const a=new i.w;let r=0;return a.add(t.schedule(function(){r!==e.length?(n.next(e[r++]),n.closed||a.add(this.schedule())):n.complete()})),a})}},36465:function(e,t,n){"use strict";n.d(t,{o:function(){return r}});var a=n(75319);class i extends a.w{constructor(e,t){super()}schedule(e,t=0){return this}}class r extends i{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,a=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(a,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(a,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n,a=!1;try{this.work(e)}catch(i){a=!0,n=!!i&&i||new Error(i)}if(a)return this.unsubscribe(),n}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,a=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==a&&n.splice(a,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}},16102:function(e,t,n){"use strict";n.d(t,{v:function(){return i}});let a=(()=>{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=()=>Date.now(),e})();class i extends a{constructor(e,t=a.now){super(e,()=>i.delegate&&i.delegate!==this?i.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return i.delegate&&i.delegate!==this?i.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}},33637:function(e,t,n){"use strict";n.d(t,{P:function(){return i}});var a=n(36465);const i=new(n(16102).v)(a.o)},20377:function(e,t,n){"use strict";n.d(t,{hZ:function(){return a}});const a="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},16554:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});const a="function"==typeof Symbol&&Symbol.observable||"@@observable"},29181:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});const a="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:function(e,t,n){"use strict";n.d(t,{W:function(){return a}});const a=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})()},77971:function(e,t,n){"use strict";n.d(t,{N:function(){return a}});const a=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})()},54449:function(e,t,n){"use strict";function a(e){setTimeout(()=>{throw e},0)}n.d(t,{z:function(){return a}})},54487:function(e,t,n){"use strict";function a(e){return e}n.d(t,{y:function(){return a}})},59796:function(e,t,n){"use strict";n.d(t,{k:function(){return a}});const a=Array.isArray||(e=>e&&"number"==typeof e.length)},69489:function(e,t,n){"use strict";n.d(t,{z:function(){return a}});const a=e=>e&&"number"==typeof e.length&&"function"!=typeof e},69105:function(e,t,n){"use strict";function a(e){return"function"==typeof e}n.d(t,{m:function(){return a}})},81555:function(e,t,n){"use strict";function a(e){return null!==e&&"object"==typeof e}n.d(t,{K:function(){return a}})},44072:function(e,t,n){"use strict";function a(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,{t:function(){return a}})},54869:function(e,t,n){"use strict";function a(e){return e&&"function"==typeof e.schedule}n.d(t,{K:function(){return a}})},98640:function(e,t,n){"use strict";function a(){}n.d(t,{Z:function(){return a}})},87444:function(e,t,n){"use strict";n.d(t,{s:function(){return d}});var a=n(55015),i=n(54449),r=n(20377),s=n(16554),o=n(69489),l=n(44072),c=n(81555);const d=e=>{if(e&&"function"==typeof e[s.L])return d=e,e=>{const t=d[s.L]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if((0,o.z)(e))return(0,a.V)(e);if((0,l.t)(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,i.z),e);if(e&&"function"==typeof e[r.hZ])return t=e,e=>{const n=t[r.hZ]();for(;;){let t;try{t=n.next()}catch(a){return e.error(a),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};{const t=(0,c.K)(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,d}},55015:function(e,t,n){"use strict";n.d(t,{V:function(){return a}});const a=e=>t=>{for(let n=0,a=e.length;n{class e{constructor(e,t){this.title=e,this.meta=t}updateTitle(e){this.title.setTitle(e),this.meta.updateTag({property:"og:title",content:e})}updateDescription(e){this.meta.updateTag({name:"description",content:e}),this.meta.updateTag({property:"og:description",content:e})}updateKeywords(e){this.meta.updateTag({name:"keywords",content:e})}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(i.Dx),a.LFG(i.h_))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})()},64762:function(e,t,n){"use strict";function a(e,t,n,a){var i,r=arguments.length,s=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,a);else for(var o=e.length-1;o>=0;o--)(i=e[o])&&(s=(r<3?i(s):r>3?i(t,n,s):i(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}function i(e,t){return function(n,a){t(n,a,e)}}n.d(t,{gn:function(){return a},fM:function(){return i}})},81424:function(e,t,n){"use strict";n.r(t),t.default='# Backend Integration\n\nThis section describes approaches of integration of ngx-admin application with backend API. Despite we understand that every backend is really different, we think that we can cover several most commonly used ways.\n
    \n\n## Integration with JSON REST server\n\nDespite there\'s an option to do CORS requests to API server directly, we don\'t advise to do so. This way has disadvantages in terms of security and performance. In terms of security when you do CORS request you basically expose your API server URL to everybody. Your API server should take additional measures to make sure some URLs are not accessible, because it is exposed to the web. As for performance, CORS requests require to send preflight OPTIONS request before each HTTP request. This adds additional HTTP overhead.\n\nThe solution we suggest is to use proxy for your API server. In this case you can make your app accessible through some sub-url. For example, if your application\'s hosted under url `website.com` and your index file is located at `website.com/index.html`, you can make your API root accessible on `website.com/api`. This is well supported by angular-cli/webpack-dev-server for development setup and by web servers for production setup. Let\'s review these setups:\n
    \n\n## angular-cli/webpack-dev-server setup\n\nThere\'s not so much needs to be done to proxy your api using angular-cli. You can read detailed documentation in their docs.\nBut the most important topics are:\n\nYou should create `proxy.conf.json` file in your application root. The file should contain something like below:\n```json\n{\n "/api": {\n "target": "http://localhost:3000",\n "secure": false\n }\n}\n```\n\nIn this case you should put URL of your API server instead of `http://localhost:3000`.\n\nAfter that you need to run your angular-cli application using following command \n```bash\nng serve --proxy-config proxy.conf.json\n```\nThat\'s it. Now you can access `/api` URL from your ngx-admin application and your requests will be forwarded to your API server.\n
    \n\n## Production setup\n\nProduction setup is not much different from development setup. The only difference is that usually you don\'t use there angular-cli or webpack-dev-server to host your HTML/CSS/JS. Usually we all use some web server for that. At Akveo we mostly use [nginx](https://nginx.org/en/) for this use case. Below there is a sample configuration for this particular web server. For others it is not that much different.\n\nUsually you create new virtual host with some similar configuration:\n\n```nginx\nserver {\n listen 80;\n server_name website.com;\n\n root /yourAngularAppDistPath;\n index index.html index.htm;\n etag on;\n\n location / {\n index index.html;\n try_files $uri /index.html;\n }\n}\n```\n\nThe only thing you need to add is proxy-pass to `/api` URL like below:\n\n```nginx\nserver {\n listen 80;\n server_name website.com;\n\n root /yourAngularAppDistPath;\n index index.html index.htm;\n etag on;\n\n location / {\n index index.html;\n try_files $uri /index.html;\n }\n\n location /api {\n proxy_pass http://localhost:3000/;\n proxy_set_header Host $host;\n }\n}\n```\n\nThat\'s it. Now your API server works on production as well.\n'},21118:function(e,t,n){"use strict";n.r(t),t.default='# Theme System\n\nNebular Theme System is a set of rules we put into how SCSS files and variables are organized to achieve the following goals:\n\n- ability to flexibly change looks & feel of the application by managing variables, without changing SCSS itself;\n- ability to switch between visual themes in a runtime without reloading the page;\n- support of CSS-variables (implemented partially).\n
    \n\n## Theme Map\n\nEach theme is represented as an SCSS map with a list of key-value pairs:\n\n```scss\n$theme: (\n font-main: unquote(\'"Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif\'),\n font-secondary: font-main,\n\n font-weight-thin: 200,\n font-weight-light: 300,\n font-weight-normal: 400,\n font-weight-bolder: 500,\n font-weight-bold: 600,\n font-weight-ultra-bold: 800,\n\n base-font-size: 16px,\n\n font-size-xlg: 1.25rem,\n font-size-lg: 1.125rem,\n font-size: 1rem,\n font-size-sm: 0.875rem,\n font-size-xs: 0.75rem,\n\n radius: 0.375rem,\n padding: 1.25rem,\n margin: 1.5rem,\n line-height: 1.25,\n \n ...\n```\nWhere _key_ - is a variable name, and _value_ - is a raw SCSS value (color, string, etc) or **parent variable name**, so that you can inherit values from different variables:\n\n```scss\n$theme: (\n font-main: unquote(\'"Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif\'),\n font-secondary: font-main,\n```\nHere `font-secondary` inherits its value from `font-main`.\n
    \n\n## Component Variables\n\nThen, for each component of the Nebular Components, there is a list of variables you can change.\nFor example - header component variables:\n\n```scss\n ...\n \n header-font-family: font-secondary,\n header-font-size: font-size,\n header-line-height: line-height,\n header-fg: color-fg-heading,\n header-bg: color-bg,\n header-height: 4.75rem,\n header-padding: 1.25rem,\n header-shadow: shadow,\n \n ...\n```\nAs you can see, you have 8 variables for a pretty simple component and from the other side, 6 of them are inherited from the default values.\nIt means that if you want to create a new theme with a united look & feel of the components - in most cases you would need to change around 10 generic variables, such as `color-bg`, `shadow`, etc. \nto change the UI completely.\n\nList of component style variables is specified in the component documentation, for example [styles for header component](docs/components/layout/theme#nblayoutheadercomponent).\n
    \n\n## Variables Usage\n\nNow, if you want to use the variables in your custom style files, all you need to do (of course, after the [successful setup of the Theme System](docs/guides/enable-theme-system) is to call `nb-theme(var-name)` function:\n\n```scss\n@import \'../../../@theme/styles/themes\';\n\n:host {\n\n background: nb-theme(card-bg); // and use it\n}\n```\nDepending on the currently enabled theme and the way `card-bg` inherited in your theme, you will get the right color.\n
    \n\n## Built-in themes\n\nCurrently, there are 3 built-in themes: \n- `default` - clean white theme\n- `cosmic` - dark theme\n- `corporate` - firm business theme\n\nThemes can also be inherited from each other, `cosmic`, for instance, is inherited from the `default` theme.\n
    \n\n## Magic of multiple themes with hot-reload\n\nAs you can see from the [ngx-admin demo](https://www.akveo.com/ngx-admin?utm_campaign=ngx_admin%20-%20demo%20-%20ngx_admin%20docs&utm_source=ngx_admin&utm_medium=referral&utm_content=docs_theme_system_concept), you can switch themes in the runtime without reloading the page.\nIt is useful when you have multiple visual themes per user role or want to provide your user with such a configuration so that he can decide which theme works best for him.\nThe only requirement for the feature to work is to wrap all of your component styles into special mixin `nb-install-component` and use `nb-theme` to get the right value:\n\n```scss\n@import \'../../../@theme/styles/themes\';\n\n@include nb-install-component() {\n background: nb-theme(card-bg); // now, for each theme registered the corresponding value will be inserted\n \n .container {\n background: nb-theme(color-bg);\n font-weight: nb-theme(font-weight-bold);\n }\n}\n```\n
    \n\n## Related Articles\n\n- [Change Theme](docs/guides/change-theme)\n'},15419:function(e,t,n){"use strict";n.r(t),t.default='# What is ngx-admin?\n\nngx-admin is a front-end admin dashboard template based on Angular 9+, Bootstrap 4+ and Nebular. That means all the data you can see on graphs, charts and tables is mocked in Javascript so you can use the backend of your choice with no limitations.\n
    \n\n## How can it help me?\n\nWe believe that at the moment a lot of business applications have administration/management interfaces inside of them. Sometimes it\u2019s not that obvious, but a lot of web applications have dashboards with panels, charts analytics, etc.\n\n\nngx-admin aims to bootstrap the development of your product and provide an ecosystem for building production-ready application or prototypes.\n\nFrameworks like Bootstrap provide a number of components, but usually it\u2019s not enough to build a real-world app. This template comes with lots of popular UI components with a unified color scheme, plus it is based on a modern Angular framework and has a flexible component based structure.\n\nYou can also use ngx-admin for the purpose of learning Angular.\n
    \n\n## List of features\n\n- Angular 9+ & Typescript\n- Bootstrap 4+ & SCSS\n- Responsive layout\n- RTL support\n- High resolution\n- Flexibly configurable themes with **hot-reload** (3 themes included)\n- Authentication module with multiple providers\n- Lots of awesome features:\n - Buttons\n - Modals\n - Popovers\n - Icons\n - Typography\n - Animated searches\n - Forms\n - Tabs\n - Notifications\n - Tables\n - Maps\n - Charts\n - Editors\n \nAnd many more!\n
    \n\n## Assumptions\n\nThis documentation assumes that you are already familiar with JavaScript/TypeScript, Angular, CSS and Bootstrap.\n\n## Have questions?\nDidn\'t find something here? Look through the issues or ask on Stack Overflow.\n'},95390:function(e,t,n){"use strict";n.r(t),t.default='# Install ngx-admin\n\nPlease note, that **ngx-admin** is just a frontend application. Backend integration can be done relatively simple, but you should be aware that all the data is mocked using JavaScript objects. \nIf you want the data to be dynamic, you should consider developing a backend integration by your own. \nThe Nebular team doesn\'t consider providing generic integration layer as a part of this project because every backend API has a different structure in terms of data format and URLs.\n
    \n\n## Install tools\n\nTo install ngx-admin on your machine you need to have the following tools installed:\n- Git - https://git-scm.com\n- Node.js - https://nodejs.org. Please note the **version** should be **>=8**\n- Npm - Node.js package manager, comes with Node.js. Please make sure npm **version** is **>=5**\n- You might also need some specific native packages depending on your operating system like `build-essential` on Ubuntu\n\n
    \n
    Warning!
    \n
    \n Please note that **it is not possible** to build ngx-admin **without these tools** and it will not be possible because of the way how Angular is built.\n
    \n
    \n
    \n\n## Download the code\n\nWhen you completed tools setup, you need to download the code of ngx-admin application. The easiest way to do that is to clone GitHub repository:\n```bash\ngit clone https://github.com/akveo/ngx-admin.git\n```\n\nAfter clone is completed, you need to install npm modules:\n```bash\ncd ngx-admin && npm i\n```\n
    \n
    Warning!
    \n
    \n Please make sure that installation process successfully completed without errors.\n
    \n
    \n
    \n\n## Run local copy\n\nTo run a local copy in development mode, execute:\n\n```bash\nnpm start\n```\n\nGo to http://0.0.0.0:4200 or http://localhost:4200 in your browser.\n
    \n\n## Production bundle\n\nTo create a bundle in production mode, execute:\n\n```bash\nnpm run build:prod\n```\n\nThis will clear up your `dist` folder (where release files are located) and generate a release build.\nNow you can copy the sources from the `dist` folder and use it with any backend framework or simply [put it under a web server](docs/getting-started/server-deployment).\n'},29827:function(e,t,n){"use strict";n.r(t),t.default='# Server Deployment\n\nThough in the development Nebular app consists of a number of TypeScript, SASS, etc files, the built package is just a bunch HTML/JavaScript/CSS files.\nNo other processing is needed to get them running in a browser.\nSo to deploy the app you basically need two simple steps:\n\n- Build your app with `npm run build:prod`\n- Copy the output from the `dist` folder under a web-server of your choice.\n\nMore details on how to setup your web-server to better serve the application can be found on Angular Documentation website, under Server Configuration section.\n
    \n'},77024:function(e,t,n){"use strict";n.r(t),t.default="# Where to start?\n\nNebular is a set of modules for Angular. Despite it is not required to know Angular framework to set up your first Nebular project, it is highly recommended to go through the Angular tutorial beforehand and be familiar with basic Angular concepts.\n
    \n\n## Quickstart tutorials\n\nBased on a current setup of your project and your goals, there are two starting points:\n\n- **[Starting based on our Nebular Admin starter kit](docs/guides/install-based-on-starter-kit)** Consider this tutorial if you are building admin or any other back-office application and you need a template as a good starting kit.\n- **[Adding into existing Angular Project](docs/guides/add-into-existing-project)** This tutorial explains how to use Nebular if you already have some Angular code as starting app from scratch.\n\nPlease consider creating an issue on GitHub if your use case is not described above. But we kindly ask to always look through the documentation and the list of existing issues first.\n \n## I'm new to Angular or web development in general\n\nQuite often we receive emails and messages from people who ask us for the advice we can give them if they are completely new to software engineering and/or Angular in particular. Well, we can't say that there's some general way, unfortunately. Each advice should be aimed at a particular person, his current skills set and goals. That's why we believe that each person knows better for himself. But in any case, there are multiple resources like https://www.coursera.org/ or https://egghead.io/ which focus on providing online education. \n"},95911:function(e,t,n){"use strict";n.r(t),t.default="# Change Current Theme\n\nNebular Theme System provides 3 color schemes out of the box - `default`, `corporate` and `cosmic`. It is both possible to change the theme statically and dynamically during the runtime.\n\n\n## Switch from Cosmic to Default\nIt is extremely simple to replace a theme from one to another.\nAll you need to do is to find your `NbThemeModule.forRoot` declaration and change a value of the `name` setting:\n\n```ts\n @NgModule({\n imports: [\n // ...\n NbThemeModule.forRoot({ name: 'default' }),\n ],\n }\n```\n
    \n\n## Runtime Theme Switch\nIn case you want to have a better control when a theme is changed, or for instance need to change it based on a user role,\nit is possible to dynamically tell Nebular which theme should be enabled. \n`NbThemeService` is our friend in this case and particularly the `changeTheme` method:\n\n```ts\n\n // ...\n constructor(private themeService: NbThemeService) {\n this.themeService.changeTheme('corporate');\n }\n\n```\n
    \n\n## Listen to Theme Change\nAnd of course it is possible to subscribe to an event when the current theme gets changed so that you can adjust something in your code accordingly:\n\n```ts\n\n // ...\n constructor(private themeService: NbThemeService) {\n \n this.themeService.onThemeChange()\n .subscribe((theme: any) => {\n console.log(`Theme changed to ${theme.name}`);\n });\n }\n\n```\n
    \n\n## Related Articles\n\n- [Theme System](docs/guides/theme-system)\n"},60306:function(e){"use strict";e.exports={i8:"8.0.0"}}},function(e){"use strict";e(e.s=67973)}]);