!function(){function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(e){var a="function"==typeof Map?new Map:void 0;return(t=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==a){if(a.has(e))return a.get(e);a.set(e,i)}function i(){return n(e,arguments,u(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),r(i,e)})(e)}function n(e,t,a){return(n=c()?Reflect.construct:function(e,t,n){var a=[null];a.push.apply(a,t);var i=new(Function.bind.apply(e,a));return n&&r(i,n.prototype),i}).apply(null,arguments)}function a(e,t,n){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var a=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=u(e)););return e}(e,t);if(a){var i=Object.getOwnPropertyDescriptor(a,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=c();return function(){var n,a=u(e);if(t){var i=u(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return s(this,n)}}function s(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?l(e):t}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||p(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=p(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,i=function(){};return{s:i,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,r=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw r}}}}function _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var a,i,r=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(r.push(a.value),!t||r.length!==t);o=!0);}catch(l){s=!0,i=l}finally{try{o||null==n.return||n.return()}finally{if(s)throw i}}return r}(e,t)||p(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n/gm," ").replace(/ +/gm," "),variants:e.variants.map(function(e){return{available:e.available,compare_at_price:e.compare_at_price,price:e.price,title:e.title}})}})}))}},{key:"getDefaultImage",value:function(e){var t=e.reduce(function(e,t){return e||(e=t),e});return t?this.trimImageUrl(t.src):void 0}},{key:"trimImageUrl",value:function(e){return e.substring(0,e.indexOf("?"))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(o.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),r=function(){var e=function(){function e(){m(this,e),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."}]}return v(e,[{key:"getDescriptions",value:function(){return(0,a.of)(this.descriptions)}},{key:"getBundleDescriptions",value:function(){return(0,a.of)(this.bundleDescriptions)}}]),e}();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),r=function(){var e=function(){function e(){m(this,e),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"}]}return v(e,[{key:"getHeaderMenu",value:function(){return(0,a.of)(this.headerMenu)}}]),e}();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),r=function(){var e=function(){function e(){m(this,e),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"}]}return v(e,[{key:"getReviews",value:function(){return(0,a.of)(this.reviews)}}]),e}();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 s}});var a=n(37716),i=n(97116),r=function(){return{width:30,height:30,fill:"#f7f8fa"}},o=function(){return{width:35,height:35,fill:"#f7f8fa"}},s=function(){var e=function e(){m(this,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,o)),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 s}});var a=n(37716),i=n(97116),r=function(){return{width:30,height:30,fill:"#f7f8fa"}},o=function(){return{width:35,height:35,fill:"#f7f8fa"}},s=function(){var e=function(){function e(){m(this,e)}return v(e,[{key:"currentYear",get:function(){return(new Date).getFullYear()}}]),e}();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,o)),a.oJD),a.xp6(3),a.Q6J("innerHTML",a.xi3(37,14,"linkedin",a.DdM(20,o)),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 d}});var a=n(78942),i=n(62790),r=n(51307),o=n(70409),s=n(71289),l=n(37716),c=n(99763),u=n(10511),d=function(){var e=function(){function e(t,n,a,i,r){m(this,e),this.activatedRoute=t,this.window=n,this.tocState=a,this.el=i,this.renderer=r,this.ngxFragmentSync=!0,this.inView=!1,this.alive=!0,this.marginFromTop=120}return v(e,[{key:"fragment",get:function(){return this.ngxFragment}},{key:"element",get:function(){return this.el.nativeElement}},{key:"y",get:function(){return this.element.getBoundingClientRect().y}},{key:"ngOnInit",value:function(){var e=this;this.ngxFragmentSync&&this.tocState.add(this),this.activatedRoute.fragment.pipe((0,i.n)(null),(0,r.x)(),(0,o.o)(function(){return e.alive}),(0,s.g)(10)).subscribe(function(t){t&&e.fragment===t&&!e.inView?e.selectFragment():e.deselectFragment()})}},{key:"selectFragment",value:function(){this.ngxFragmentClass&&this.renderer.addClass(this.el.nativeElement,this.ngxFragmentClass),this.setInView(!0),this.window.scrollTo(0,this.el.nativeElement.offsetTop-this.marginFromTop)}},{key:"deselectFragment",value:function(){this.renderer.removeClass(this.el.nativeElement,this.ngxFragmentClass)}},{key:"setInView",value:function(e){this.inView=e}},{key:"ngOnDestroy",value:function(){this.alive=!1,this.ngxFragmentSync&&this.tocState.remove(this)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Y36(c.gz),l.Y36(a.Q3p),l.Y36(u.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),o=n(78942),s=n(57947),l=n(27183),c=n(38583),u=n(99763);function d(e,t){if(1&e){var n=r.EpF();r.TgZ(0,"button",10),r.NdJ("click",function(){return r.CHM(n),r.oxw().toggleSidebar()}),r._UZ(1,"i",11),r.qZA()}}function h(e,t){1&e&&r._UZ(0,"iframe",12)}var _=["*"],p=function(){var e=function(){function e(t,n,i){m(this,e),this.sidebarService=t,this.versionService=n,this.headerMenuService=i,this.destroy$=new a.xQ,this.isDocs=!1,this.sidebarTag="",this.headerMenu=[]}return v(e,[{key:"ngOnInit",value:function(){var e=this;this.currentVersion=this.versionService.getNgxVersion(),this.headerMenuService.getHeaderMenu().pipe((0,i.R)(this.destroy$)).subscribe(function(t){return e.headerMenu=t})}},{key:"toggleSidebar",value:function(){this.sidebarService.toggle(!1,this.sidebarTag)}},{key:"ngOnDestroy",value:function(){this.destroy$.next(),this.destroy$.complete()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Y36(o.lzT),r.Y36(s.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:_,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,d,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,h,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,u.yS,o.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 g}});var a=n(88002),i=n(35226),r=n(51307),o=n(70409),s=n(25917),l=n(9112),c=n(37716),u=n(99763),d=n(38583),h=function(e){return["../",e]};function p(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){var n=t.$implicit;c.ekj("selected",n.selected),c.Q6J("routerLink",c.VKq(7,h,n.tab)),c.xp6(2),c.Gre("icon ",n.icon,""),c.xp6(2),c.Oqu(n.title)}}var g=function(){var e=function(){function e(t){m(this,e),this.activatedRoute=t,this.items$=(0,s.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}return v(e,[{key:"tabs",set:function(e){var t=this;this.items$=(0,l.aj)((0,s.of)(e||[]).pipe((0,a.U)(function(e){return t.availableTabs.filter(function(t){return e[t.tab]})})),this.activatedRoute.params.pipe((0,i._)(),(0,r.x)())).pipe((0,o.o)(function(){return t.alive}),(0,a.U)(function(e){var t=_(e,2),n=t[0],a=t[1];return n.map(function(e){return Object.assign(Object.assign({},e),{selected:e.tab===a.tab})})}))}},{key:"horizontal",set:function(e){this.isHorizontal="false"!==e&&!1!==e}},{key:"ngOnDestroy",value:function(){this.alive=!1}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Y36(u.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,p,6,9,"a",0),c.ALo(1,"async")),2&e&&c.Q6J("ngForOf",c.lcZ(1,1,t.items$))},directives:[d.sg,u.yS],pipes:[d.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 h}});var a=n(70409),i=n(88002),r=n(9112),o=n(25917),s=n(37716),l=n(99763),c=n(38583);function u(e,t){if(1&e&&(s.TgZ(0,"li"),s.TgZ(1,"a",2),s._uU(2),s.qZA(),s.qZA()),2&e){var n=t.$implicit;s.ekj("selected",n.selected),s.xp6(1),s.Q6J("routerLink",n.link)("fragment",n.fragment),s.xp6(1),s.Oqu(n.title)}}function d(e,t){if(1&e&&(s.ynx(0),s.TgZ(1,"h4"),s._uU(2,"Overview"),s.qZA(),s.TgZ(3,"ul"),s.YNc(4,u,3,5,"li",1),s.qZA(),s.BQk()),2&e){var n=s.oxw();s.xp6(4),s.Q6J("ngForOf",n.items)}}var h=function(){var e=function(){function e(t,n){m(this,e),this.activatedRoute=t,this.cd=n,this.alive=!0}return v(e,[{key:"toc",set:function(e){var t=this;(0,r.aj)((0,o.of)(e||[]),this.activatedRoute.fragment).pipe((0,a.o)(function(){return t.alive}),(0,i.U)(function(e){var t=_(e,2),n=t[0],a=t[1];return(n=n.map(function(e){return Object.assign(Object.assign({},e),{selected:a===e.fragment})})).length&&!n.find(function(e){return e.selected})&&(n[0].selected=!0),n})).subscribe(function(e){t.items=e,t.cd.detectChanges()})}},{key:"ngOnDestroy",value:function(){this.alive=!1}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Y36(l.gz),s.Y36(s.sBO))},e.\u0275cmp=s.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&&s.YNc(0,d,5,1,"ng-container",0),2&e&&s.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),i=["*"],r=function(){var e=function e(){m(this,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 s}});var a=n(35226),i=n(51307),r=n(37716),o=n(91841),s=function(){var e=function(){function e(t){m(this,e),this.http=t,this.cache=new Map}return v(e,[{key:"load",value:function(e){var t=this.buildFilePath(e);return this.cache.get(t)||this.buildRequest(t)}},{key:"buildFilePath",value:function(e){return"assets/examples/".concat(e)}},{key:"buildRequest",value:function(e){var t=this.http.get(e,{responseType:"text"}).pipe((0,a._)(1),(0,i.x)());return this.cache.set(e,t),t}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(o.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),r=function(){var e=function(){function e(){m(this,e)}return v(e,[{key:"highlight",value:function(e){return a.highlightAuto(e,["ts","html","scss","nginx"]).value}}]),e}();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),o=n(78942),s=n(37716),l=function(){var e=function(){function e(t){m(this,e),this.window=t}return v(e,[{key:"send",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.window.parent;t!==this.window&&t.postMessage(e,"*")}},{key:"receive",value:function(e){return(0,a.R)(this.window,"message").pipe((0,i.h)(function(t){return t.data&&t.data.id===e}),(0,r.U)(function(e){return e.data}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.LFG(o.Q3p))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e}()},99941:function(e,t,n){"use strict";n.d(t,{Q:function(){return o}});var a=n(37716),i=n(91137),r=n(67690),o=function(){var e=function(){function e(t,n){m(this,e),this.structureService=t,this.textService=n}return v(e,[{key:"getPreparedMenu",value:function(e){return this.prepareMenu(this.structureService.getPreparedStructure(),{link:e})}},{key:"prepareMenu",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.filter(function(e){return e.name&&"block"!==e.type}).map(function(e){var a={title:e.name,pathMatch:"prefix",parent:n,data:e,group:"group"===e.type};return a.link=t.createItemLink(a),e.children&&e.children.some(function(e){return"page"===e.type||"tabs"===e.type})&&(a.expanded=!0,a.children=t.prepareMenu(e.children,a)),a})}},{key:"prepareToc",value:function(e){var t=this;return e.children.reduce(function(e,n){return"markdown"===n.block?e.concat(t.getTocForMd(n)):"tabbed"===n.block?e.concat(t.getTocForTabbed(n)):(e.push(n.source.name),e)},[])}},{key:"getTocForMd",value:function(e){return e.children.map(function(e){return{title:e.title,fragment:e.fragment}})}},{key:"getTocForTabbed",value:function(e){var t=this;return e.children.map(function(e){return{title:e.name,fragment:t.textService.createSlag(e.name)}})}},{key:"createItemLink",value:function(e){var t=this.textService.createSlag(e.title);return e.parent?"".concat(e.parent.link,"/").concat(t):t}}]),e}();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 o}});var a=n(37716),i=n(91137),r=n(99941),o=function(){var e=function(){function e(t,n){m(this,e),this.structureService=t,this.menuService=n}return v(e,[{key:"setPaginationItems",value:function(e){this.paginationItems=this.addPrevNextPointers(this.prepareItems(this.structureService.getPreparedStructure(),{link:e}))}},{key:"prepareItems",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.filter(function(e){return e.name}).reduce(function(e,a){var i={title:a.name,parent:n,slag:a.slag};return i.link=t.menuService.createItemLink(i),(a.name&&"page"===a.type||"tabs"===a.type)&&e.push(i),a.children?e.concat(t.prepareItems(a.children,i)):e},[])}},{key:"addPrevNextPointers",value:function(e){return e.map(function(e,t,n){var 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})}},{key:"getPaginationItem",value:function(e){return this.paginationItems.find(function(t){return t.slag===e})}}]),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 s}});var a=n(42276),i=n(37716),r=n(67690),o=n(99314),s=function(){var e=function(){function e(t,n,a,i){m(this,e),this.textService=t,this.tabbedService=n,this.prepared=this.prepareStructure(a,i)}return v(e,[{key:"getPreparedStructure",value:function(){return this.prepared}},{key:"findPageBySlag",value:function(e,t){var n,a=h(e);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i.slag===t)return i;if("section"===i.type&&i.children){var r=this.findPageBySlag(i.children,t);if(r)return r}}}catch(o){a.e(o)}finally{a.f()}}},{key:"prepareStructure",value:function(e,t,a){var i=this;return e.map(function(e){var r=e.name?i.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=i.prepareComponent(t.classes.find(function(t){return t.name===e.source})))),"markdown"===e.block&&(e.children=i.textService.mdToSectionsHTML(n(50948)("./".concat(e.source)).default)),e.children&&(e.children=i.prepareStructure(e.children,t,r)),"tabs"===e.type&&(e.source=i.getComponents(e,t),e.tabs=i.tabbedService.determineTabs(e),e.children=[{type:"block",block:"tabbed",children:e.source}]),"page"!==e.type&&"tabs"!==e.type||(e.toc=i.prepareToc(e),e.slag=a?"".concat(a,"_").concat(r):r),e})}},{key:"getComponents",value:function(e,t){var n=this;return e.source.map(function(e){return t.classes.find(function(t){return t.name===e})}).map(function(e){return n.prepareComponent(e)})}},{key:"prepareComponent",value:function(e){var t=this,n=e.overview.filter(function(e){return"text"===e.type});return n&&n.length&&(n[0].content="## ".concat(e.name,"\n\n").concat(n[0].content)),Object.assign(Object.assign({},e),{slag:this.textService.createSlag(e.name),overview:e.overview.map(function(e){return"text"===e.type?{type:e.type,content:t.textService.mdToSectionsHTML(e.content)}:e})})}},{key:"prepareToc",value:function(e){var t=this;return e.children.reduce(function(e,n){return"markdown"===n.block?e.concat(t.getTocForMd(n)):"tabbed"===n.block?e.concat(t.getTocForTabbed(n)):("component"===n.block&&e.push(t.getTocForComponent(n)),e)},[])}},{key:"getTocForMd",value:function(e){return e.children.map(function(e){return{title:e.title,fragment:e.fragment}})}},{key:"getTocForComponent",value:function(e){return{title:e.source.name,fragment:e.source.slag}}},{key:"getTocForTabbed",value:function(e){var t=this;return e.children.map(function(e){return{title:e.name,fragment:t.textService.createSlag(e.name)}})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.LFG(r.j),i.LFG(o.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),r=function(){var e=function(){function e(t){m(this,e),this.docs=t}return v(e,[{key:"mapThemedValues",value:function(e){var t=this;return e.map(function(e){return e.styles.map(function(e){for(var n in e.themedValues=[],t.docs.themes)t.docs.themes.hasOwnProperty(n)&&e.themedValues.push({theme:t.docs.themes[n].name,value:t.docs.themes[n].data[e.name].value});return e}),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),i=function(){var e=function(){function e(){m(this,e)}return v(e,[{key:"determineTabs",value:function(e){return{overview:this.hasOverview(e),api:this.hasAPI(e),theme:this.hasTheme(e),examples:this.hasExample(e)}}},{key:"hasOverview",value:function(e){var t=this;return e.source.some(function(e){return t.componentHasOverview(e)})}},{key:"hasExample",value:function(e){var t=this;return e.source.some(function(e){return t.componentHasExamples(e)})}},{key:"hasTheme",value:function(e){var t=this;return e.source.some(function(e){return t.componentHasTheme(e)})}},{key:"hasAPI",value:function(e){var t=this;return e.source.some(function(e){return t.componentHasMethods(e)||t.componentHasProps(e)})}},{key:"componentHasTheme",value:function(e){return e.styles&&e.styles.length>0}},{key:"componentHasProps",value:function(e){return e&&e.props&&e.props.length>0}},{key:"componentHasMethods",value:function(e){return e&&e.methods&&e.methods.length>0&&e.methods.some(function(e){return e.shortDescription||e.description})}},{key:"componentHasOverview",value:function(e){return e&&e.overview&&e.overview.length>0}},{key:"componentHasExamples",value:function(e){return e.liveExamples&&e.liveExamples.length>0}}]),e}();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 s}});var a=n(5478),i=n(37716),r=n(38191),o=n(38583),s=function(){var e=function(){function e(t,n){m(this,e),this.highlight=t,this.location=n,this.SECTION_SPLIT="
",this.TITLE_MASK="^#{1,6}[^#]?(.+)\n",this.STRIP_HTML="<\\/?[^>]+(>|$)"}return v(e,[{key:"mdToSectionsHTML",value:function(e){var t=this;return this.splitIntoSections(e).map(function(e){var n=t.mdToHTML(e),a=t.extractTitle(e)||t.extractFirstTwoWords(n);return{source:e,title:a,fragment:t.createSlag(a),html:n}})}},{key:"mdToHTML",value:function(e){var t=this;return a.setOptions({baseUrl:this.location.prepareExternalUrl(""),langPrefix:"hljs ",highlight:function(e){return t.highlight.highlight(e)}}).parse(e.trim())}},{key:"splitIntoSections",value:function(e){return e.split(new RegExp(this.SECTION_SPLIT,"g")).filter(function(e){return e.trim()})}},{key:"extractTitle",value:function(e){var t=e.trim().match(new RegExp(this.TITLE_MASK,"i"));return t?t[1]:""}},{key:"extractFirstTwoWords",value:function(e){return e.replace(new RegExp(this.STRIP_HTML,"g"),"").trim().split(/\s+/g).slice(0,2).join(" ")}},{key:"createSlag",value:function(e){return e.replace(/[^a-zA-Z0-9\s]+/g,"").replace(/\s/g,"-").toLowerCase()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.LFG(r.G),i.LFG(o.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),i=function(){var e=function(){function e(){m(this,e),this.state=[]}return v(e,[{key:"add",value:function(e){this.state.push(e)}},{key:"remove",value:function(e){this.state=this.state.filter(function(t){return t!==e})}},{key:"list",value:function(){return this.state}},{key:"clear",value:function(){this.state=[]}}]),e}();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),i=function(){var e=function(){function e(){m(this,e)}return v(e,[{key:"getNgxVersion",value:function(){return n(60306).i8}}]),e}();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 M}});var a=n(99763),i=n(38583),r=n(3679),o=n(30916),s=n(78942),l=n(13585),c=(n(76329),n(98933),n(16246),n(44095),n(37),n(63429),n(6349),n(57947)),u=n(82298),h=n(78345),_=n(37716),p=function(){var e=function(){function e(){m(this,e),this.dialogState$=new u.t}return v(e,[{key:"changeDialogState",value:function(e){this.dialogState$.next({state:e})}},{key:"onChangeDialogState",value:function(){return this.dialogState$.pipe((0,h.B)())}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=_.Yz7({token:e,factory:e.\u0275fac}),e}(),g=function(){var e=function(){function e(t){m(this,e),this.window=t,this.enabled=this.window.location.href.indexOf("akveo.github.io")>=0}return v(e,[{key:"trackEvent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";this.enabled&&this.gtmPushToDataLayer({event:e,eventValue:t})}},{key:"gtmPushToDataLayer",value:function(e){this.window.dataLayer.push(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(_.LFG(s.Q3p))},e.\u0275prov=_.Yz7({token:e,factory:e.\u0275fac}),e}(),f=n(38191),y=n(99941),E=n(74491),S=n(91137),b=n(99314),T=n(67690),C=n(10511),O=n(1972),R=n(96032),A=n(64489),N=[c.J,p,g,f.G,y.Q,E.I,S.M,b.V,T.j,C.M,O.x,R.Q,A.O],w=[i.ez,r.u5,r.UX,o.mZ],I=[s.BW0,s.MfT,s.j5J,s.zyh,s.P1,s.EoG],M=function(){var e=function(){function e(){m(this,e)}return v(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[].concat(d(s.SDF.forRoot({name:"ngx-landing"}).providers),d(s.j5J.forRoot().providers),d(s.P1.forRoot().providers),d(s.j7H.forRoot().providers),N)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=_.oAB({type:e}),e.\u0275inj=_.cJS({imports:[[a.Bz,l.Z].concat(w,I),a.Bz,i.ez,r.u5,r.UX,o.mZ,s.BW0,s.MfT,s.j5J,s.zyh,s.P1,s.EoG]}),e}()},42276:function(e,t,n){"use strict";n.d(t,{p:function(){return i},f:function(){return r}});var a=n(37716),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 s}});var a=n(37716),i=n(78942),r=n(97116),o=function(){return{width:26,height:26,fill:"#222b45"}},s=function(){var e=function(){function e(t){m(this,e),this.ref=t}return v(e,[{key:"ngAfterViewInit",value:function(){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"})}},{key:"closeDialog",value:function(){this.ref.close()}}]),e}();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,o)),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 p}});var a=n(39490),i=n(79765),r=n(66682),o=n(88002),s=n(46782),l=n(15257),c=n(78942),u=n(37716),d=n(99763);function h(e,t){if(1&e){var n=u.EpF();u.TgZ(0,"p",4),u.NdJ("mouseover",function(){return u.CHM(n),u.oxw().hidePopover()}),u._uU(1,"New theme is available!"),u.qZA()}}var p=function(){var e=function(){function e(t,n){m(this,e),this.breakpointService=t,this.themeService=n,this.destroy$=new i.xQ,this.hidePopover$=new i.xQ,this.showPopover=!1}return v(e,[{key:"withPopover",set:function(e){this.showPopover=(0,a.Ig)(e)}},{key:"ngAfterViewInit",value:function(){var e=this;this.showPopover&&(this.themeService.onMediaQueryChange().pipe((0,o.U)(function(t){var n=_(t,2)[1];return e.shouldShowPopover(n)}),(0,s.R)((0,r.T)(this.destroy$,this.hidePopover$))).subscribe(function(t){t?e.popover.show():e.popover.hide()}),this.hidePopover$.pipe((0,l.q)(1),(0,s.R)(this.destroy$)).subscribe(function(){return e.popover.hide()}))}},{key:"ngOnDestroy",value:function(){this.destroy$.next()}},{key:"hidePopover",value:function(){this.hidePopover$.next()}},{key:"shouldShowPopover",value:function(e){return e.width>=this.breakpointService.getByName("is").width}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.Y36(c._4W),u.Y36(c.WMF))},e.\u0275cmp=u.Xpm({type:e,selectors:[["ngx-material-theme-link"]],viewQuery:function(e,t){var n;(1&e&&u.Gf(c.ydg,5),2&e)&&(u.iGM(n=u.CRH())&&(t.popover=n.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&&(u.TgZ(0,"div",0),u._UZ(1,"nb-badge",1),u.TgZ(2,"a",2),u._uU(3," Material Theme "),u.qZA(),u.qZA(),u.YNc(4,h,2,0,"ng-template",null,3,u.W1O)),2&e){var n=u.MAs(5);u.xp6(2),u.Q6J("nbPopover",n)}},directives:[c.nhe,d.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 s}});var a=n(37716),i=n(78942),r=n(97116),o=function(){return{width:26,height:26,fill:"#222b45"}},s=function(){var e=function(){function e(t){m(this,e),this.ref=t}return v(e,[{key:"ngAfterViewInit",value:function(){hbspt.forms.create({portalId:"2452262",formId:"b066428e-c41a-4dce-bbc2-5690cf084a8f",target:"#hubspotForm",submitButtonClass:"hs-submit-btn btn",css:"",cssClass:"hs-custom-form"})}},{key:"closeDialog",value:function(){this.ref.close()}}]),e}();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,o)),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 o}});var a=n(78942),i=(n(27239),n(33495),n(97116),n(99763)),r=(n(49235),n(37951),n(37716)),o=function(){var e=function e(){m(this,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),i=function(){var e=function(){function e(){m(this,e)}return v(e,[{key:"transform",value:function(e){return e&&e.length?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():e}}]),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 o}});var a=n(16960),i=n(37716),r=n(39075),o=function(){var e=function(){function e(t){m(this,e),this.sanitizer=t,this.defaultOptions={height:24,width:24,fill:"inherit",animationHover:!0,animationInfinity:!1}}return v(e,[{key:"transform",value:function(e,t){var n=Object.assign(Object.assign({},this.defaultOptions),t),i=n.width,r=n.height,o=n.fill,s=n.animationType,l=n.animationHover,c=n.animationInfinity;return this.sanitizer.bypassSecurityTrustHtml(a.icons[e].toSvg({width:i,height:r,fill:o,animation:s?{type:s,hover:l,infinite:c}:null}))}}]),e}();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 r=n(39075),s=n(37716),l=n(17238);function c(){return"undefined"!=typeof window&&void 0!==window.document}function p(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function g(e){switch(e.length){case 0:return new l.ZN;case 1:return e[0];default:return new l.ZE(e)}}function f(e,t,n,a){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=[],s=[],c=-1,u=null;if(a.forEach(function(e){var n=e.offset,a=n==c,d=a&&u||{};Object.keys(e).forEach(function(n){var a=n,s=e[n];if("offset"!==n)switch(a=t.normalizePropertyName(a,o),s){case l.k1:s=i[n];break;case l.l3:s=r[n];break;default:s=t.normalizeStyleValue(n,a,s,o)}d[a]=s}),a||s.push(d),u=d,c=n}),o.length){var d="\n - ";throw new Error("Unable to animate due to the following errors:".concat(d).concat(o.join(d)))}return s}function y(e,t,n,a){switch(t){case"start":e.onStart(function(){return a(n&&E(n,"start",e))});break;case"done":e.onDone(function(){return a(n&&E(n,"done",e))});break;case"destroy":e.onDestroy(function(){return a(n&&E(n,"destroy",e))})}}function E(e,t,n){var a=n.totalTime,i=S(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 S(e,t,n,a){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,o=arguments.length>6?arguments[6]:void 0;return{element:e,triggerName:t,fromState:n,toState:a,phaseName:i,totalTime:r,disabled:!!o}}function b(e,t,n){var a;return e instanceof Map?(a=e.get(t))||e.set(t,a=n):(a=e[t])||(a=e[t]=n),a}function T(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var C=function(e,t){return!1},O=function(e,t){return!1},R=function(e,t,n){return[]},A=p();(A||"undefined"!=typeof Element)&&(C=c()?function(e,t){for(;t&&t!==document.documentElement;){if(t===e)return!0;t=t.parentNode||t.host}return!1}:function(e,t){return e.contains(t)},O=function(){if(A||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,n){return t.apply(e,[n])}:O}(),R=function(e,t,n){var a=[];if(n)for(var i=e.querySelectorAll(t),r=0;r1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach(function(n){t[n]=e[n]}),t}function G(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t)for(var a in e)n[a]=e[a];else z(e,n);return n}function V(e,t,n){return n?t+":"+n+";":""}function H(e){for(var t="",n=0;n *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t) *"}}(e,n);if("function"==typeof a)return void t.push(a);e=a}var i=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'.concat(e,'" is not supported')),t;var r=i[1],o=i[2],s=i[3];t.push(re(r,s)),"<"!=o[0]||"*"==r&&"*"==s||t.push(re(s,r))}(e,i,a)}):i.push(n),i),animation:r,queryCount:t.queryCount,depCount:t.depCount,options:de(e.options)}}},{key:"visitSequence",value:function(e,t){var n=this;return{type:2,steps:e.steps.map(function(e){return te(n,e,t)}),options:de(e.options)}}},{key:"visitGroup",value:function(e,t){var n=this,a=t.currentTime,i=0,r=e.steps.map(function(e){t.currentTime=a;var r=te(n,e,t);return i=Math.max(i,t.currentTime),r});return t.currentTime=i,{type:3,steps:r,options:de(e.options)}}},{key:"visitAnimate",value:function(e,t){var n,a=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return he(B(e,t).duration,0,"");var a=e;if(a.split(/\s+/).some(function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)})){var i=he(0,0,"");return i.dynamic=!0,i.strValue=a,i}return he((n=n||B(a,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=a;var i=e.styles?e.styles:(0,l.oB)({});if(5==i.type)n=this.visitKeyframes(i,t);else{var r=e.styles,o=!1;if(!r){o=!0;var s={};a.easing&&(s.easing=a.easing),r=(0,l.oB)(s)}t.currentTime+=a.duration+a.delay;var c=this.visitStyle(r,t);c.isEmptyStep=o,n=c}return t.currentAnimateTimings=null,{type:4,timings:a,style:n,options:null}}},{key:"visitStyle",value:function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}},{key:"_makeStyleAst",value:function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach(function(e){"string"==typeof e?e==l.l3?n.push(e):t.errors.push("The provided style string value ".concat(e," is not allowed.")):n.push(e)}):n.push(e.styles);var a=!1,i=null;return n.forEach(function(e){if(ue(e)){var t=e,n=t.easing;if(n&&(i=n,delete t.easing),!a)for(var r in t)if(t[r].toString().indexOf("{{")>=0){a=!0;break}}}),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:a,options:null}}},{key:"_validateStyleAst",value:function(e,t){var n=this,a=t.currentAnimateTimings,i=t.currentTime,r=t.currentTime;a&&r>0&&(r-=a.duration+a.delay),e.styles.forEach(function(e){"string"!=typeof e&&Object.keys(e).forEach(function(a){if(n._driver.validateStyleProperty(a)){var o,s,l,c,u,d=t.collectedStyles[t.currentQuerySelector],h=d[a],_=!0;h&&(r!=i&&r>=h.startTime&&i<=h.endTime&&(t.errors.push('The CSS property "'.concat(a,'" that exists between the times of "').concat(h.startTime,'ms" and "').concat(h.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(r,'ms" and "').concat(i,'ms"')),_=!1),r=h.startTime),_&&(d[a]={startTime:r,endTime:i}),t.options&&(o=e[a],s=t.options,l=t.errors,c=s.params||{},(u=Q(o)).length&&u.forEach(function(e){c.hasOwnProperty(e)||l.push("Unable to resolve the local animation param ".concat(e," in the given list of values"))}))}else t.errors.push('The provided animation property "'.concat(a,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(e,t){var n=this,a={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),a;var i=0,r=[],o=!1,s=!1,l=0,c=e.steps.map(function(e){var a=n._makeStyleAst(e,t),c=null!=a.offset?a.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach(function(e){if(ue(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}});else if(ue(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(a.styles),u=0;return null!=c&&(i++,u=a.offset=c),s=s||u<0||u>1,o=o||u0&&i0?i==h?1:d*i:r[i],s=o*g;t.currentTime=_+p.delay+s,p.duration=s,n._validateStyleAst(e,t),e.offset=o,a.styles.push(e)}),a}},{key:"visitReference",value:function(e,t){return{type:8,animation:te(this,j(e.animation),t),options:de(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:de(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:de(e.options)}}},{key:"visitQuery",value:function(e,t){var n=t.currentQuerySelector,a=e.options||{};t.queryCount++,t.currentQuery=e;var i=_(function(e){var t=!!e.split(/\s*,\s*/).find(function(e){return":self"==e});return t&&(e=e.replace(oe,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(e){return".ng-trigger-"+e.substr(1)}).replace(/:animating/g,".ng-animating"),t]}(e.selector),2),r=i[0],o=i[1];t.currentQuerySelector=n.length?n+" "+r:r,b(t.collectedStyles,t.currentQuerySelector,{});var s=te(this,j(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:r,limit:a.limit||0,optional:!!a.optional,includeSelf:o,animation:s,originalSelector:e.selector,options:de(e.options)}}},{key:"visitStagger",value:function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:B(e.timings,t.errors,!0);return{type:12,animation:te(this,j(e.animation),t),timings:n,options:null}}}]),e}(),ce=function e(t){m(this,e),this.errors=t,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 ue(e){return!Array.isArray(e)&&"object"==typeof e}function de(e){var t;return e?(e=z(e)).params&&(e.params=(t=e.params)?z(t):null):e={},e}function he(e,t,n){return{duration:e,delay:t,easing:n}}function _e(e,t,n,a,i,r){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:a,duration:i,delay:r,totalTime:i+r,easing:o,subTimeline:s}}var pe=function(){function e(){m(this,e),this._map=new Map}return v(e,[{key:"consume",value:function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t}},{key:"append",value:function(e,t){var n,a=this._map.get(e);a||this._map.set(e,a=[]),(n=a).push.apply(n,d(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),ge=new RegExp(":enter","g"),me=new RegExp(":leave","g");function fe(e,t,n,a,i){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0,c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new ve).buildKeyframes(e,t,n,a,i,r,o,s,l,c)}var ve=function(){function e(){m(this,e)}return v(e,[{key:"buildKeyframes",value:function(e,t,n,a,i,r,o,s,l){var c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];l=l||new pe;var u=new Ee(e,t,l,a,i,c,[]);u.options=s,u.currentTimeline.setStyles([r],null,u.errors,s),te(this,n,u);var d=u.timelines.filter(function(e){return e.containsAnimation()});if(d.length&&Object.keys(o).length){var h=d[d.length-1];h.allowOnlyTimelineStyles()||h.setStyles([o],null,u.errors,s)}return d.length?d.map(function(e){return e.buildKeyframes()}):[_e(t,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(e,t){}},{key:"visitState",value:function(e,t){}},{key:"visitTransition",value:function(e,t){}},{key:"visitAnimateChild",value:function(e,t){var n=t.subInstructions.consume(t.element);if(n){var a=t.createSubContext(e.options),i=t.currentTimeline.currentTime,r=this._visitSubInstructions(n,a,a.options);i!=r&&t.transformIntoNewTimeline(r)}t.previousNode=e}},{key:"visitAnimateRef",value:function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}},{key:"_visitSubInstructions",value:function(e,t,n){var a=t.currentTimeline.currentTime,i=null!=n.duration?F(n.duration):null,r=null!=n.delay?F(n.delay):null;return 0!==i&&e.forEach(function(e){var n=t.appendInstructionToTimeline(e,i,r);a=Math.max(a,n.duration+n.delay)}),a}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),te(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var n=this,a=t.subContextCount,i=t,r=e.options;if(r&&(r.params||r.delay)&&((i=t.createSubContext(r)).transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ye);var o=F(r.delay);i.delayNextStep(o)}e.steps.length&&(e.steps.forEach(function(e){return te(n,e,i)}),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>a&&i.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var n=this,a=[],i=t.currentTimeline.currentTime,r=e.options&&e.options.delay?F(e.options.delay):0;e.steps.forEach(function(o){var s=t.createSubContext(e.options);r&&s.delayNextStep(r),te(n,o,s),i=Math.max(i,s.currentTimeline.currentTime),a.push(s.currentTimeline)}),a.forEach(function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)}),t.transformIntoNewTimeline(i),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var n=e.strValue;return B(t.params?$(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),a=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),a.snapshotCurrentStyles());var 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}},{key:"visitStyle",value:function(e,t){var n=t.currentTimeline,a=t.currentAnimateTimings;!a&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=a&&a.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var n=t.currentAnimateTimings,a=t.currentTimeline.duration,i=n.duration,r=t.createSubContext().currentTimeline;r.easing=n.easing,e.styles.forEach(function(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}},{key:"visitQuery",value:function(e,t){var n=this,a=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?F(i.delay):0;r&&(6===t.previousNode.type||0==a&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ye);var o=a,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=s.length;var l=null;s.forEach(function(a,i){t.currentQueryIndex=i;var s=t.createSubContext(e.options,a);r&&s.delayNextStep(r),a===t.element&&(l=s.currentTimeline),te(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}},{key:"visitStagger",value:function(e,t){var n=t.parentContext,a=t.currentTimeline,i=e.timings,r=Math.abs(i.duration),o=r*(t.currentQueryTotal-1),s=r*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":s=o-s;break;case"full":s=n.currentStaggerTime}var l=t.currentTimeline;s&&l.delayNextStep(s);var c=l.currentTime;te(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=a.currentTime-c+(a.startTime-n.currentTimeline.startTime)}}]),e}(),ye={},Ee=function(){function e(t,n,a,i,r,o,s,l){m(this,e),this._driver=t,this.element=n,this.subInstructions=a,this._enterClassName=i,this._leaveClassName=r,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ye,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Se(this._driver,n,0),s.push(this.currentTimeline)}return v(e,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(e,t){var n=this;if(e){var a=e,i=this.options;null!=a.duration&&(i.duration=F(a.duration)),null!=a.delay&&(i.delay=F(a.delay));var r=a.params;if(r){var o=i.params;o||(o=this.options.params={}),Object.keys(r).forEach(function(e){t&&o.hasOwnProperty(e)||(o[e]=$(r[e],o,n.errors))})}}}},{key:"_copyOptions",value:function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach(function(e){n[e]=t[e]})}}return e}},{key:"createSubContext",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0,i=n||this.element,r=new e(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,a||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=ye,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,n){var a={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new be(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,a,e.stretchStartingKeyframe);return this.timelines.push(i),a}},{key:"incrementTime",value:function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}},{key:"delayNextStep",value:function(e){e>0&&this.currentTimeline.delayNextStep(e)}},{key:"invokeQuery",value:function(e,t,n,a,i,r){var o=[];if(a&&o.push(this.element),e.length>0){e=(e=e.replace(ge,"."+this._enterClassName)).replace(me,"."+this._leaveClassName);var s=this._driver.query(this.element,e,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),o.push.apply(o,d(s))}return i||0!=o.length||r.push('`query("'.concat(t,'")` returned zero elements. (Use `query("').concat(t,'", { optional: true })` if you wish to allow this.)')),o}}]),e}(),Se=function(){function e(t,n,a,i){m(this,e),this._driver=t,this.element=n,this.startTime=a,this._elementTimelineStylesLookup=i,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(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return v(e,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}},{key:"fork",value:function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){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))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}},{key:"_updateStyle",value:function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(function(e){t._backFill[e]=t._globalTimelineStyles[e]||l.l3,t._currentKeyframe[e]=l.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,n,a){var i=this;t&&(this._previousKeyframe.easing=t);var r=a&&a.params||{},o=function(e,t){var n,a={};return e.forEach(function(e){"*"===e?(n=n||Object.keys(t)).forEach(function(e){a[e]=l.l3}):G(e,!1,a)}),a}(e,this._globalTimelineStyles);Object.keys(o).forEach(function(e){var t=$(o[e],r,n);i._pendingStyles[e]=t,i._localTimelineStyles.hasOwnProperty(e)||(i._backFill[e]=i._globalTimelineStyles.hasOwnProperty(e)?i._globalTimelineStyles[e]:l.l3),i._updateStyle(e,t)})}},{key:"applyStylesToKeyframe",value:function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){e._currentKeyframe[n]=t[n]}),Object.keys(this._localTimelineStyles).forEach(function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])}))}},{key:"snapshotCurrentStyles",value:function(){var e=this;Object.keys(this._localTimelineStyles).forEach(function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}},{key:"mergeTimelineCollectedStyles",value:function(e){var t=this;Object.keys(e._styleSummary).forEach(function(n){var a=t._styleSummary[n],i=e._styleSummary[n];(!a||i.time>a.time)&&t._updateStyle(n,i.value)})}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,a=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach(function(r,o){var s=G(r,!0);Object.keys(s).forEach(function(e){var a=s[e];a==l.k1?t.add(e):a==l.l3&&n.add(e)}),a||(s.offset=o/e.duration),i.push(s)});var r=t.size?K(t.values()):[],o=n.size?K(n.values()):[];if(a){var s=i[0],c=z(s);s.offset=0,c.offset=1,i=[s,c]}return _e(this.element,i,r,o,this.duration,this.startTime,this.easing,!1)}}]),e}(),be=function(e){i(n,e);var t=o(n);function n(e,a,i,r,o,s){var l,c=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return m(this,n),(l=t.call(this,e,a,s.delay)).element=a,l.keyframes=i,l.preStyleProps=r,l.postStyleProps=o,l._stretchStartingKeyframe=c,l.timings={duration:s.duration,delay:s.delay,easing:s.easing},l}return v(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var e=this.keyframes,t=this.timings,n=t.delay,a=t.duration,i=t.easing;if(this._stretchStartingKeyframe&&n){var r=[],o=a+n,s=n/o,l=G(e[0],!1);l.offset=0,r.push(l);var c=G(e[0],!1);c.offset=Te(s),r.push(c);for(var u=e.length-1,d=1;d<=u;d++){var h=G(e[d],!1);h.offset=Te((n+h.offset*a)/o),r.push(h)}a=o,n=0,i="",e=r}return _e(this.element,e,this.preStyleProps,this.postStyleProps,a,n,i,!0)}}]),n}(Se);function Te(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,t-1);return Math.round(e*n)/n}var Ce,Oe,Re=function e(){m(this,e)},Ae=function(e){i(n,e);var t=o(n);function n(){return m(this,n),t.apply(this,arguments)}return v(n,[{key:"normalizePropertyName",value:function(e,t){return X(e)}},{key:"normalizeStyleValue",value:function(e,t,n,a){var i="",r=n.toString().trim();if(Ne[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var o=n.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&0==o[1].length&&a.push("Please provide a CSS unit value for ".concat(e,":").concat(n))}return r+i}}]),n}(Re),Ne=(Ce="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(","),Oe={},Ce.forEach(function(e){return Oe[e]=!0}),Oe);function we(e,t,n,a,i,r,o,s,l,c,u,d,h){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:r,toState:a,toStyles:o,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}var Ie={},Me=function(){function e(t,n,a){m(this,e),this._triggerName=t,this.ast=n,this._stateStyles=a}return v(e,[{key:"match",value:function(e,t,n,a){return function(e,t,n,a,i){return e.some(function(e){return e(t,n,a,i)})}(this.ast.matchers,e,t,n,a)}},{key:"buildStyles",value:function(e,t,n){var a=this._stateStyles["*"],i=this._stateStyles[e],r=a?a.buildStyles(t,n):{};return i?i.buildStyles(t,n):r}},{key:"build",value:function(e,t,n,a,i,r,o,s,l,c){var u=[],d=this.ast.options&&this.ast.options.params||Ie,h=this.buildStyles(n,o&&o.params||Ie,u),_=s&&s.params||Ie,p=this.buildStyles(a,_,u),g=new Set,m=new Map,f=new Map,v="void"===a,y={params:Object.assign(Object.assign({},d),_)},E=c?[]:fe(e,t,this.ast.animation,i,r,h,p,y,l,u),S=0;if(E.forEach(function(e){S=Math.max(e.duration+e.delay,S)}),u.length)return we(t,this._triggerName,n,a,v,h,p,[],[],m,f,S,u);E.forEach(function(e){var n=e.element,a=b(m,n,{});e.preStyleProps.forEach(function(e){return a[e]=!0});var i=b(f,n,{});e.postStyleProps.forEach(function(e){return i[e]=!0}),n!==t&&g.add(n)});var T=K(g.values());return we(t,this._triggerName,n,a,v,h,p,E,T,m,f,S)}}]),e}(),ke=function(){function e(t,n){m(this,e),this.styles=t,this.defaultParams=n}return v(e,[{key:"buildStyles",value:function(e,t){var n={},a=z(this.defaultParams);return Object.keys(e).forEach(function(t){var n=e[t];null!=n&&(a[t]=n)}),this.styles.styles.forEach(function(e){if("string"!=typeof e){var i=e;Object.keys(i).forEach(function(e){var r=i[e];r.length>1&&(r=$(r,a,t)),n[e]=r})}}),n}}]),e}(),xe=function(){function e(t,n){var a=this;m(this,e),this.name=t,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach(function(e){a.states[e.name]=new ke(e.style,e.options&&e.options.params||{})}),De(this.states,"true","1"),De(this.states,"false","0"),n.transitions.forEach(function(e){a.transitionFactories.push(new Me(t,e,a.states))}),this.fallbackTransition=new Me(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return v(e,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(e,t,n,a){return this.transitionFactories.find(function(i){return i.match(e,t,n,a)})||null}},{key:"matchStyles",value:function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}]),e}();function De(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var Le=new pe,Pe=function(){function e(t,n,a){m(this,e),this.bodyNode=t,this._driver=n,this._normalizer=a,this._animations={},this._playersById={},this.players=[]}return v(e,[{key:"register",value:function(e,t){var n=[],a=se(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: ".concat(n.join("\n")));this._animations[e]=a}},{key:"_buildPlayer",value:function(e,t,n){var a=e.element,i=f(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(a,i,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var n,a=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=[],o=this._animations[e],s=new Map;if(o?(n=fe(this._driver,t,o,"ng-enter","ng-leave",{},{},i,Le,r)).forEach(function(e){var t=b(s,e.element,{});e.postStyleProps.forEach(function(e){return t[e]=null})}):(r.push("The requested animation doesn't exist or has already been destroyed"),n=[]),r.length)throw new Error("Unable to create the animation due to the following errors: ".concat(r.join("\n")));s.forEach(function(e,t){Object.keys(e).forEach(function(n){e[n]=a._driver.computeStyle(t,n,l.l3)})});var c=g(n.map(function(e){var t=s.get(e.element);return a._buildPlayer(e,{},t)}));return this._playersById[e]=c,c.onDestroy(function(){return a.destroy(e)}),this.players.push(c),c}},{key:"destroy",value:function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by ".concat(e));return t}},{key:"listen",value:function(e,t,n,a){var i=S(t,"","","");return y(this._getPlayer(e),n,i,a),function(){}}},{key:"command",value:function(e,t,n,a){if("register"!=n)if("create"!=n){var 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)}}else this.create(e,t,a[0]||{});else this.register(e,a[0])}}]),e}(),Fe=[],Ue={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Be={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ze=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";m(this,e),this.namespaceId=n;var a,i=t&&t.hasOwnProperty("value");if(this.value=null!=(a=i?t.value:t)?a:null,i){var r=z(t);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return v(e,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach(function(e){null==n[e]&&(n[e]=t[e])})}}}]),e}(),Ge=new ze("void"),Ve=function(){function e(t,n,a){m(this,e),this.id=t,this.hostElement=n,this._engine=a,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,$e(n,this._hostClassName)}return v(e,[{key:"listen",value:function(e,t,n,a){var i,r=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(t,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(t,'" because the provided event is undefined!'));if("start"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(t,'" is not supported!'));var o=b(this._elementListeners,e,[]),s={name:t,phase:n,callback:a};o.push(s);var l=b(this._engine.statesByElement,e,{});return l.hasOwnProperty(t)||($e(e,"ng-trigger"),$e(e,"ng-trigger-"+t),l[t]=Ge),function(){r._engine.afterFlush(function(){var e=o.indexOf(s);e>=0&&o.splice(e,1),r._triggers[t]||delete l[t]})}}},{key:"register",value:function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}},{key:"_getTrigger",value:function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'.concat(e,'" has not been registered!'));return t}},{key:"trigger",value:function(e,t,n){var a=this,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=this._getTrigger(t),o=new Ye(this.id,t,e),s=this._engine.statesByElement.get(e);s||($e(e,"ng-trigger"),$e(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var l=s[t],c=new ze(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s[t]=c,l||(l=Ge),"void"===c.value||l.value!==c.value){var u=b(this._engine.playersByElement,e,[]);u.forEach(function(e){e.namespaceId==a.id&&e.triggerName==t&&e.queued&&e.destroy()});var d=r.matchTransition(l.value,c.value,e,c.params),h=!1;if(!d){if(!i)return;d=r.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:l,toState:c,player:o,isFallbackTransition:h}),h||($e(e,"ng-animate-queued"),o.onStart(function(){Ke(e,"ng-animate-queued")})),o.onDone(function(){var t=a.players.indexOf(o);t>=0&&a.players.splice(t,1);var n=a._engine.playersByElement.get(e);if(n){var i=n.indexOf(o);i>=0&&n.splice(i,1)}}),this.players.push(o),u.push(o),o}if(!function(e,t){var n=Object.keys(e),a=Object.keys(t);if(n.length!=a.length)return!1;for(var i=0;i=0){for(var a=!1,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}},{key:"register",value:function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}},{key:"registerTrigger",value:function(e,t,n){var a=this._namespaceLookup[e];a&&a.register(t,n)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var n=this;if(e){var a=this._fetchNamespace(e);this.afterFlush(function(){n.namespacesByHostElement.delete(a.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(a);t>=0&&n._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(function(){return a.destroy(t)})}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var a=Object.keys(n),i=0;i=0&&this.collectedLeaveElements.splice(r,1)}if(e){var o=this._fetchNamespace(e);o&&o.insertNode(t,n)}a&&this.collectEnterElement(t)}}},{key:"collectEnterElement",value:function(e){this.collectedEnterElements.push(e)}},{key:"markElementAsDisabled",value:function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),$e(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ke(e,"ng-animate-disabled"))}},{key:"removeNode",value:function(e,t,n,a){if(qe(t)){var i=e?this._fetchNamespace(e):null;if(i?i.removeNode(t,a):this.markElementAsRemoved(e,t,!1,a),n){var r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,a)}}else this._onRemovalComplete(t,a)}},{key:"markElementAsRemoved",value:function(e,t,n,a){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:a,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(e,t,n,a,i){return qe(t)?this._fetchNamespace(e).listen(t,n,a,i):function(){}}},{key:"_buildInstruction",value:function(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)}},{key:"destroyInnerAnimations",value:function(e){var t=this,n=this.driver.query(e,".ng-trigger",!0);n.forEach(function(e){return t.destroyActiveAnimationsForElement(e)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,".ng-animating",!0)).forEach(function(e){return t.finishActiveQueriedAnimationOnElement(e)})}},{key:"destroyActiveAnimationsForElement",value:function(e){var t=this.playersByElement.get(e);t&&t.forEach(function(e){e.queued?e.markedForDestroy=!0:e.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach(function(e){return e.finish()})}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise(function(t){if(e.players.length)return g(e.players).onDone(function(){return t()});t()})}},{key:"processLeaveNode",value:function(e){var t=this,n=e.__ng_removed;if(n&&n.setForRemoval){if(e.__ng_removed=Ue,n.namespaceId){this.destroyInnerAnimations(e);var a=this._fetchNamespace(n.namespaceId);a&&a.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(function(e){t.markElementAsDisabled(e,!1)})}},{key:"flush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,n){return e._balanceNamespaceList(t,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var a=0;a=0;I--)this._namespaceList[I].drainQueuedTransitions(t).forEach(function(e){var t=e.player,r=e.element;if(N.push(t),n.collectedEnterElements.length){var l=r.__ng_removed;if(l&&l.setForMove)return void t.destroy()}var d=!_||!n.driver.containsElement(_,r),h=R.get(r),p=f.get(r),g=n._buildInstruction(e,a,p,h,d);if(g.errors&&g.errors.length)w.push(g);else{if(d)return t.onStart(function(){return q(r,g.fromStyles)}),t.onDestroy(function(){return Y(r,g.toStyles)}),void i.push(t);if(e.isFallbackTransition)return t.onStart(function(){return q(r,g.fromStyles)}),t.onDestroy(function(){return Y(r,g.toStyles)}),void i.push(t);g.timelines.forEach(function(e){return e.stretchStartingKeyframe=!0}),a.append(r,g.timelines),o.push({instruction:g,player:t,element:r}),g.queriedElements.forEach(function(e){return b(s,e,[]).push(t)}),g.preStyleProps.forEach(function(e,t){var n=Object.keys(e);if(n.length){var a=c.get(t);a||c.set(t,a=new Set),n.forEach(function(e){return a.add(e)})}}),g.postStyleProps.forEach(function(e,t){var n=Object.keys(e),a=u.get(t);a||u.set(t,a=new Set),n.forEach(function(e){return a.add(e)})})}});if(w.length){var M=[];w.forEach(function(e){M.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach(function(e){return M.push("- ".concat(e,"\n"))})}),N.forEach(function(e){return e.destroy()}),this.reportError(M)}var k=new Map,x=new Map;o.forEach(function(e){var t=e.element;a.has(t)&&(x.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,k))}),i.forEach(function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(function(e){b(k,t,[]).push(e),e.destroy()})});var D=y.filter(function(e){return Je(e,c,u)}),L=new Map;We(L,this.driver,S,u,l.l3).forEach(function(e){Je(e,c,u)&&D.push(e)});var P=new Map;m.forEach(function(e,t){We(P,n.driver,new Set(e),c,l.k1)}),D.forEach(function(e){var t=L.get(e),n=P.get(e);L.set(e,Object.assign(Object.assign({},t),n))});var F=[],U=[],B={};o.forEach(function(e){var t=e.element,o=e.player,s=e.instruction;if(a.has(t)){if(h.has(t))return o.onDestroy(function(){return Y(t,s.toStyles)}),o.disabled=!0,o.overrideTotalTime(s.totalTime),void i.push(o);var l=B;if(x.size>1){for(var c=t,u=[];c=c.parentNode;){var d=x.get(c);if(d){l=d;break}u.push(c)}u.forEach(function(e){return x.set(e,l)})}var _=n._buildAnimation(o.namespaceId,s,k,r,P,L);if(o.setRealPlayer(_),l===B)F.push(o);else{var p=n.playersByElement.get(l);p&&p.length&&(o.parentPlayer=g(p)),i.push(o)}}else q(t,s.fromStyles),o.onDestroy(function(){return Y(t,s.toStyles)}),U.push(o),h.has(t)&&i.push(o)}),U.forEach(function(e){var t=r.get(e.element);if(t&&t.length){var n=g(t);e.setRealPlayer(n)}}),i.forEach(function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(var z=0;z0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new l.ZN(e.duration,e.delay)}}]),e}(),Ye=function(){function e(t,n,a){m(this,e),this.namespaceId=t,this.triggerName=n,this.element=a,this._player=new l.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return v(e,[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(n){t._queuedCallbacks[n].forEach(function(t){return y(e,n,void 0,t)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(e){this.totalTime=e}},{key:"syncPlayerEvents",value:function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart(function(){return n.triggerCallback("start")}),e.onDone(function(){return t.finish()}),e.onDestroy(function(){return t.destroy()})}},{key:"_queueEvent",value:function(e,t){b(this._queuedCallbacks,e,[]).push(t)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)}}]),e}();function qe(e){return e&&1===e.nodeType}function je(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function We(e,t,n,a,i){var r=[];n.forEach(function(e){return r.push(je(e))});var o=[];a.forEach(function(n,a){var r={};n.forEach(function(e){var n=r[e]=t.computeStyle(a,e,i);n&&0!=n.length||(a.__ng_removed=Be,o.push(a))}),e.set(a,r)});var s=0;return n.forEach(function(e){return je(e,r[s++])}),o}function Qe(e,t){var n=new Map;if(e.forEach(function(e){return n.set(e,[])}),0==t.length)return n;var a=new Set(t),i=new Map;function r(e){if(!e)return 1;var t=i.get(e);if(t)return t;var o=e.parentNode;return t=n.has(o)?o:a.has(o)?1:r(o),i.set(e,t),t}return t.forEach(function(e){var t=r(e);1!==t&&n.get(t).push(e)}),n}function $e(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Ke(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function Ze(e,t,n){g(n).onDone(function(){return e.processLeaveNode(t)})}function Xe(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),e}();function tt(e,t){var n=null,a=null;return Array.isArray(t)&&t.length?(n=at(t[0]),t.length>1&&(a=at(t[t.length-1]))):t&&(n=at(t)),n||a?new nt(e,n,a):null}var nt=function(){function e(t,n,a){m(this,e),this._element=t,this._startStyles=n,this._endStyles=a,this._state=0;var i=e.initialStylesByElement.get(t);i||e.initialStylesByElement.set(t,i={}),this._initialStyles=i}return v(e,[{key:"start",value:function(){this._state<1&&(this._startStyles&&Y(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(Y(this._element,this._initialStyles),this._endStyles&&(Y(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(q(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(q(this._element,this._endStyles),this._endStyles=null),Y(this._element,this._initialStyles),this._state=3)}}]),e}();function at(e){for(var t=null,n=Object.keys(e),a=0;a=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),ct(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var e,t,n,a;this._destroyed||(this._destroyed=!0,this.finish(),e=this._element,t=this._name,n=dt(e,"").split(","),(a=lt(n,t))>=0&&(n.splice(a,1),ut(e,"",n.join(","))))}}]),e}();function ot(e,t,n){ut(e,"PlayState",n,st(e,t))}function st(e,t){var n=dt(e,"");return n.indexOf(",")>0?lt(n.split(","),t):lt([n],t)}function lt(e,t){for(var n=0;n=0)return n;return-1}function ct(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function ut(e,t,n,a){var i="animation"+t;if(null!=a){var r=e.style[i];if(r.length){var o=r.split(",");o[a]=n,n=o.join(",")}}e.style[i]=n}function dt(e,t){return e.style["animation"+t]||""}var ht=function(){function e(t,n,a,i,r,o,s,l){m(this,e),this.element=t,this.keyframes=n,this.animationName=a,this._duration=i,this._delay=r,this._finalStyles=s,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=i+r,this._buildStyler()}return v(e,[{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"destroy",value:function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(e){this._styler.setPosition(e)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var e=this;this._styler=new rt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return e.finish()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}},{key:"beforeDestroy",value:function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(a){"offset"!=a&&(t[a]=n?e._finalStyles[a]:ne(e.element,a))})}this.currentSnapshot=t}}]),e}(),_t=function(e){i(n,e);var t=o(n);function n(e,a){var i;return m(this,n),(i=t.call(this)).element=e,i._startingStyles={},i.__initialized=!1,i._styles=D(a),i}return v(n,[{key:"init",value:function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(t){e._startingStyles[t]=e.element.style[t]}),a(u(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(t){return e.element.style.setProperty(t,e._styles[t])}),a(u(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)}),this._startingStyles=null,a(u(n.prototype),"destroy",this).call(this))}}]),n}(l.ZN),pt=function(){function e(){m(this,e),this._count=0}return v(e,[{key:"validateStyleProperty",value:function(e){return I(e)}},{key:"matchesElement",value:function(e,t){return M(e,t)}},{key:"containsElement",value:function(e,t){return k(e,t)}},{key:"query",value:function(e,t,n){return x(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"buildKeyframeElement",value:function(e,t,n){n=n.map(function(e){return D(e)});var a="@keyframes ".concat(t," {\n"),i="";n.forEach(function(e){i=" ";var t=parseFloat(e.offset);a+="".concat(i).concat(100*t,"% {\n"),i+=" ",Object.keys(e).forEach(function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(a+="".concat(i,"animation-timing-function: ").concat(n,";\n")));default:return void(a+="".concat(i).concat(t,": ").concat(n,";\n"))}}),a+="".concat(i,"}\n")}),a+="}\n";var r=document.createElement("style");return r.textContent=a,r}},{key:"animate",value:function(e,t,n,a,i){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],o=r.filter(function(e){return e instanceof ht}),s={};J(n,a)&&o.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return s[e]=t[e]})});var l=function(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach(function(e){Object.keys(e).forEach(function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=ee(e,t,s));if(0==n)return new _t(e,l);var c="gen_css_kf_"+this._count++,u=this.buildKeyframeElement(e,c,t);(function(e){var t,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);var d=tt(e,t),h=new ht(e,t,c,n,a,i,l,d);return h.onDestroy(function(){var e;(e=u).parentNode.removeChild(e)}),h}}]),e}(),gt=function(){function e(t,n,a,i){m(this,e),this.element=t,this.keyframes=n,this.options=a,this._specialStyles=i,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=a.duration,this._delay=a.delay||0,this.time=this._duration+this._delay}return v(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",function(){return e._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(e,t,n){return e.animate(t,n)}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:ne(e.element,n))}),this.currentSnapshot=t}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),mt=function(){function e(){m(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ft().toString()),this._cssKeyframesDriver=new pt}return v(e,[{key:"validateStyleProperty",value:function(e){return I(e)}},{key:"matchesElement",value:function(e,t){return M(e,t)}},{key:"containsElement",value:function(e,t){return k(e,t)}},{key:"query",value:function(e,t,n){return x(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"overrideWebAnimationsSupport",value:function(e){this._isNativeImpl=e}},{key:"animate",value:function(e,t,n,a,i){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],o=arguments.length>6?arguments[6]:void 0;if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,a,i,r);var s={duration:n,delay:a,fill:0==a?"both":"forwards"};i&&(s.easing=i);var l={},c=r.filter(function(e){return e instanceof gt});J(n,a)&&c.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return l[e]=t[e]})});var u=tt(e,t=ee(e,t=t.map(function(e){return G(e,!1)}),l));return new gt(e,t,s,u)}}]),e}();function ft(){return c()&&Element.prototype.animate||{}}var vt=n(38583),yt=function(){var e=function(e){i(n,e);var t=o(n);function n(e,a){var i;return m(this,n),(i=t.call(this))._nextAnimationId=0,i._renderer=e.createRenderer(a.body,{id:"0",encapsulation:s.ifc.None,styles:[],data:{animation:[]}}),i}return v(n,[{key:"build",value:function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?(0,l.vP)(e):e;return bt(this._renderer,null,t,"register",[n]),new Et(t,this._renderer)}}]),n}(l._j);return e.\u0275fac=function(t){return new(t||e)(s.LFG(s.FYo),s.LFG(vt.K0))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e}(),Et=function(e){i(n,e);var t=o(n);function n(e,a){var i;return m(this,n),(i=t.call(this))._id=e,i._renderer=a,i}return v(n,[{key:"create",value:function(e,t){return new St(this._id,e,t||{},this._renderer)}}]),n}(l.LC),St=function(){function e(t,n,a,i){m(this,e),this.id=t,this.element=n,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",a)}return v(e,[{key:"_listen",value:function(e,t){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),t)}},{key:"_command",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a=0&&e3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,a)}},{key:"removeChild",value:function(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}},{key:"selectRootElement",value:function(e,t){return this.delegate.selectRootElement(e,t)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setAttribute",value:function(e,t,n,a){this.delegate.setAttribute(e,t,n,a)}},{key:"removeAttribute",value:function(e,t,n){this.delegate.removeAttribute(e,t,n)}},{key:"addClass",value:function(e,t){this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,n,a){this.delegate.setStyle(e,t,n,a)}},{key:"removeStyle",value:function(e,t,n){this.delegate.removeStyle(e,t,n)}},{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}},{key:"setValue",value:function(e,t){this.delegate.setValue(e,t)}},{key:"listen",value:function(e,t,n){return this.delegate.listen(e,t,n)}},{key:"disableAnimations",value:function(e,t){this.engine.disableAnimations(e,t)}}]),e}(),Rt=function(e){i(n,e);var t=o(n);function n(e,a,i,r){var o;return m(this,n),(o=t.call(this,a,i,r)).factory=e,o.namespaceId=a,o}return v(n,[{key:"setProperty",value:function(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)}},{key:"listen",value:function(e,t,n){var a,i,r=this;if("@"==t.charAt(0)){var o,s=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e),l=t.substr(1),c="";return"@"!=l.charAt(0)&&(i=(a=l).indexOf("."),l=(o=_([a.substring(0,i),a.substr(i+1)],2))[0],c=o[1]),this.engine.listen(this.namespaceId,s,l,c,function(e){r.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}]),n}(Ot),At=function(){var e=function(e){i(n,e);var t=o(n);function n(e,a,i){return m(this,n),t.call(this,e.body,a,i)}return v(n,[{key:"ngOnDestroy",value:function(){this.flush()}}]),n}(et);return e.\u0275fac=function(t){return new(t||e)(s.LFG(vt.K0),s.LFG(P),s.LFG(Re))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e}(),Nt=new s.OlP("AnimationModuleType"),wt=[{provide:l._j,useClass:yt},{provide:Re,useFactory:function(){return new Ae}},{provide:et,useClass:At},{provide:s.FYo,useFactory:function(e,t,n){return new Ct(e,t,n)},deps:[r.se,et,s.R0b]}],It=[{provide:P,useFactory:function(){return"function"==typeof ft()?new mt:new pt}},{provide:Nt,useValue:"BrowserAnimations"}].concat(wt),Mt=[{provide:P,useClass:L},{provide:Nt,useValue:"NoopAnimations"}].concat(wt),kt=function(){var e=function(){function e(){m(this,e)}return v(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:t.disableAnimations?Mt:It}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({providers:It,imports:[r.b2]}),e}(),xt=n(91841),Dt=n(77523),Lt=n(27183),Pt=n(38775),Ft=n(66126),Ut=n(48878),Bt=[Lt.l,Pt.Y,Ft.C,Ut.SU],zt=d((Tt=function(){function e(){m(this,e)}return v(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[].concat(Bt)}}}]),e}(),Tt.\u0275fac=function(e){return new(e||Tt)},Tt.\u0275mod=s.oAB({type:Tt}),Tt.\u0275inj=s.cJS({providers:[].concat(Bt),imports:[[vt.ez]]}),Tt).forRoot().providers),Gt=function(){var e=function(){function e(t){m(this,e),function(e,t){if(e)throw new Error("CoreModule has already been loaded. Import Core modules in the AppModule only.")}(t)}return v(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:d(zt)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.LFG(e,12))},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({imports:[[vt.ez]]}),e}(),Vt=n(99763),Ht=function(){var e=function e(){m(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=s.Xpm({type:e,selectors:[["ngx-landing-app"]],decls:1,vars:0,template:function(e,t){1&e&&s._UZ(0,"router-outlet")},directives:[Vt.lC],encapsulation:2}),e}(),Yt=[{path:"",loadChildren:function(){return n.e(407).then(n.bind(n,32407)).then(function(e){return e.PagesModule})}},{path:"**",redirectTo:""}],qt={useHash:!1,anchorScrolling:"enabled",onSameUrlNavigation:"reload",scrollPositionRestoration:"enabled"},jt=function(){var e=function e(){m(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({imports:[[Vt.Bz.forRoot(Yt,qt)],Vt.Bz]}),e}(),Wt=n(13585),Qt=n(42276),$t=[{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"}]}]}],Kt=n(83592),Zt=n(66845),Xt=function(){var e=function e(){m(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e,bootstrap:[Ht]}),e.\u0275inj=s.cJS({providers:[r.Dx,Kt.D,{provide:Qt.p,useValue:$t},{provide:Qt.f,useValue:Zt}],imports:[[r.b2,kt,xt.JF,jt,Wt.Z,Dt.v.forRoot(),Gt.forRoot()]]}),e}();(0,s.G48)(),r.q6().bootstrapModule(Xt)},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 f},jt:function(){return s},oQ:function(){return _},F4:function(){return d},vP:function(){return l},SB:function(){return u},oB:function(){return c},eR:function(){return h},X$:function(){return o},_7:function(){return p},ZE:function(){return y},k1:function(){return E}});var a=function e(){m(this,e)},i=function e(){m(this,e)},r="*";function o(e,t){return{type:7,name:e,definitions:t,options:{}}}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function c(e){return{type:6,styles:e,offset:null}}function u(e,t,n){return{type:0,name:e,styles:t,options:n}}function d(e){return{type:5,steps:e}}function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:n}}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:8,animation:e,options:t}}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:10,animation:e,options:t}}function g(e){Promise.resolve(null).then(e)}var f=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;m(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}return v(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var e=this;g(function(){return e._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1}},{key:"setPosition",value:function(e){this._position=this.totalTime?e*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),y=function(){function e(t){var n=this;m(this,e),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var a=0,i=0,r=0,o=this.players.length;0==o?g(function(){return n._onFinish()}):this.players.forEach(function(e){e.onDone(function(){++a==o&&n._onFinish()}),e.onDestroy(function(){++i==o&&n._onDestroy()}),e.onStart(function(){++r==o&&n._onStart()})}),this.totalTime=this.players.reduce(function(e,t){return Math.max(e,t.totalTime)},0)}return v(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(e){return e.init()})}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[])}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(e){return e.play()})}},{key:"pause",value:function(){this.players.forEach(function(e){return e.pause()})}},{key:"restart",value:function(){this.players.forEach(function(e){return e.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(e){return e.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(e){return e.destroy()}),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(e){return e.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(e){var t=e*this.totalTime;this.players.forEach(function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}},{key:"getPosition",value:function(){var e=this.players.reduce(function(e,t){return null===e||t.totalTime>e.totalTime?t:e},null);return null!=e?e.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(e){e.beforeDestroy&&e.beforeDestroy()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),E="!"},39490:function(e,t,n){"use strict";n.d(t,{Eq:function(){return o},Ig:function(){return i},HM:function(){return s},fI:function(){return l},su:function(){return r}});var a=n(37716);function i(e){return null!=e&&"false"!="".concat(e)}function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):t}function o(e){return Array.isArray(e)?e:[e]}function s(e){return null==e?"":"string"==typeof e?e:"".concat(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 A},Ov:function(){return Le},ez:function(){return Ue},K0:function(){return d},uU:function(){return Pe},x:function(){return D},tM:function(){return P},Do:function(){return w},V_:function(){return f},Ye:function(){return I},S$:function(){return O},mk:function(){return ve},sg:function(){return Ee},O5:function(){return be},PC:function(){return we},RF:function(){return Re},n9:function(){return Ae},ED:function(){return Ne},tP:function(){return Ie},b0:function(){return N},lw:function(){return p},OU:function(){return Fe},Tn:function(){return L},EM:function(){return Ve},JF:function(){return qe},Mn:function(){return U},fb:function(){return z},UT:function(){return B},Sw:function(){return V},NF:function(){return ze},PM:function(){return Ge},w_:function(){return u},bD:function(){return Be},q:function(){return l},Mx:function(){return fe},HT:function(){return c}});var a=n(37716),r=null;function l(){return r}function c(e){r||(r=e)}var u=function e(){m(this,e)},d=new a.OlP("DocumentToken"),p=function(){var e=function(){function e(){m(this,e)}return v(e,[{key:"historyGo",value:function(e){throw new Error("Not implemented")}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,a.Yz7)({factory:g,token:e,providedIn:"platform"}),e}();function g(){return(0,a.LFG)(y)}var f=new a.OlP("Location Initialized"),y=function(){var e=function(e){i(n,e);var t=o(n);function n(e){var a;return m(this,n),(a=t.call(this))._doc=e,a._init(),a}return v(n,[{key:"_init",value:function(){this.location=window.location,this._history=window.history}},{key:"getBaseHrefFromDOM",value:function(){return l().getBaseHref(this._doc)}},{key:"onPopState",value:function(e){var t=l().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),function(){return t.removeEventListener("popstate",e)}}},{key:"onHashChange",value:function(e){var t=l().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),function(){return t.removeEventListener("hashchange",e)}}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(e){this.location.pathname=e}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}},{key:"pushState",value:function(e,t,n){E()?this._history.pushState(e,t,n):this.location.hash=n}},{key:"replaceState",value:function(e,t,n){E()?this._history.replaceState(e,t,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"historyGo",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._history.go(e)}},{key:"getState",value:function(){return this._history.state}}]),n}(p);return e.\u0275fac=function(t){return new(t||e)(a.LFG(d))},e.\u0275prov=(0,a.Yz7)({factory:S,token:e,providedIn:"platform"}),e}();function E(){return!!window.history.pushState}function S(){return new y((0,a.LFG)(d))}function b(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function T(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function C(e){return e&&"?"!==e[0]?"?"+e:e}var O=function(){var e=function(){function e(){m(this,e)}return v(e,[{key:"historyGo",value:function(e){throw new Error("Not implemented")}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,a.Yz7)({factory:R,token:e,providedIn:"root"}),e}();function R(e){var t=(0,a.LFG)(d).location;return new N((0,a.LFG)(p),t&&t.origin||"")}var A=new a.OlP("appBaseHref"),N=function(){var e=function(e){i(n,e);var t=o(n);function n(e,a){var i;if(m(this,n),(i=t.call(this))._platformLocation=e,i._removeListenerFns=[],null==a&&(a=i._platformLocation.getBaseHrefFromDOM()),null==a)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.");return i._baseHref=a,s(i)}return v(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(e){return b(this._baseHref,e)}},{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+C(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?"".concat(t).concat(n):t}},{key:"pushState",value:function(e,t,n,a){var i=this.prepareExternalUrl(n+C(a));this._platformLocation.pushState(e,t,i)}},{key:"replaceState",value:function(e,t,n,a){var i=this.prepareExternalUrl(n+C(a));this._platformLocation.replaceState(e,t,i)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(t=(e=this._platformLocation).historyGo)||void 0===t||t.call(e,n)}}]),n}(O);return e.\u0275fac=function(t){return new(t||e)(a.LFG(p),a.LFG(A,8))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e}(),w=function(){var e=function(e){i(n,e);var t=o(n);function n(e,a){var i;return m(this,n),(i=t.call(this))._platformLocation=e,i._baseHref="",i._removeListenerFns=[],null!=a&&(i._baseHref=a),i}return v(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}},{key:"prepareExternalUrl",value:function(e){var t=b(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,n,a){var i=this.prepareExternalUrl(n+C(a));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)}},{key:"replaceState",value:function(e,t,n,a){var i=this.prepareExternalUrl(n+C(a));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(t=(e=this._platformLocation).historyGo)||void 0===t||t.call(e,n)}}]),n}(O);return e.\u0275fac=function(t){return new(t||e)(a.LFG(p),a.LFG(A,8))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e}(),I=function(){var e=function(){function e(t,n){var i=this;m(this,e),this._subject=new a.vpe,this._urlChangeListeners=[],this._platformStrategy=t;var r=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=T(k(r)),this._platformStrategy.onPopState(function(e){i._subject.emit({url:i.path(!0),pop:!0,state:e.state,type:e.type})})}return v(e,[{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(e))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(e+C(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,k(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+C(t)),n)}},{key:"replaceState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+C(t)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"historyGo",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(t=(e=this._platformStrategy).historyGo)||void 0===t||t.call(e,n)}},{key:"onUrlChange",value:function(e){var t=this;this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(e){t._notifyUrlChangeListeners(e.url,e.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(n){return n(e,t)})}},{key:"subscribe",value:function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.LFG(O),a.LFG(p))},e.normalizeQueryParams=C,e.joinWithSlash=b,e.stripTrailingSlash=T,e.\u0275prov=(0,a.Yz7)({factory:M,token:e,providedIn:"root"}),e}();function M(){return new I((0,a.LFG)(O),(0,a.LFG)(p))}function k(e){return e.replace(/\/index.html$/,"")}var x=((x=x||{})[x.Zero=0]="Zero",x[x.One=1]="One",x[x.Two=2]="Two",x[x.Few=3]="Few",x[x.Many=4]="Many",x[x.Other=5]="Other",x),D=((D=D||{})[D.Format=0]="Format",D[D.Standalone=1]="Standalone",D),L=((L=L||{})[L.Narrow=0]="Narrow",L[L.Abbreviated=1]="Abbreviated",L[L.Wide=2]="Wide",L[L.Short=3]="Short",L),P=((P=P||{})[P.Short=0]="Short",P[P.Medium=1]="Medium",P[P.Long=2]="Long",P[P.Full=3]="Full",P),F=((F=F||{})[F.Decimal=0]="Decimal",F[F.Group=1]="Group",F[F.List=2]="List",F[F.PercentSign=3]="PercentSign",F[F.PlusSign=4]="PlusSign",F[F.MinusSign=5]="MinusSign",F[F.Exponential=6]="Exponential",F[F.SuperscriptingExponent=7]="SuperscriptingExponent",F[F.PerMille=8]="PerMille",F[F[1/0]=9]="Infinity",F[F.NaN=10]="NaN",F[F.TimeSeparator=11]="TimeSeparator",F[F.CurrencyDecimal=12]="CurrencyDecimal",F[F.CurrencyGroup=13]="CurrencyGroup",F);function U(e,t,n){var i=(0,a.cg1)(e),r=W([i[a.wAp.DaysFormat],i[a.wAp.DaysStandalone]],t);return W(r,n)}function B(e,t,n){var i=(0,a.cg1)(e),r=W([i[a.wAp.MonthsFormat],i[a.wAp.MonthsStandalone]],t);return W(r,n)}function z(e){return(0,a.cg1)(e)[a.wAp.FirstDayOfWeek]}function G(e,t){return W((0,a.cg1)(e)[a.wAp.DateFormat],t)}function V(e,t){return W((0,a.cg1)(e)[a.wAp.TimeFormat],t)}function H(e,t){return W((0,a.cg1)(e)[a.wAp.DateTimeFormat],t)}function Y(e,t){var n=(0,a.cg1)(e),i=n[a.wAp.NumberSymbols][t];if(void 0===i){if(t===F.CurrencyDecimal)return n[a.wAp.NumberSymbols][F.Decimal];if(t===F.CurrencyGroup)return n[a.wAp.NumberSymbols][F.Group]}return i}var q=a.kL8;function j(e){if(!e[a.wAp.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(e[a.wAp.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function W(e,t){for(var n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function Q(e){var t=_(e.split(":"),2);return{hours:+t[0],minutes:+t[1]}}var $=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,K={},Z=/((?:[^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]*)/,X=((X=X||{})[X.Short=0]="Short",X[X.ShortGMT=1]="ShortGMT",X[X.Long=2]="Long",X[X.Extended=3]="Extended",X),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),ee=((ee=ee||{})[ee.DayPeriods=0]="DayPeriods",ee[ee.Days=1]="Days",ee[ee.Months=2]="Months",ee[ee.Eras=3]="Eras",ee);function te(e,t,n,a){var i=function(e){if(pe(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)){var t=_(e.split("-").map(function(e){return+e}),3),n=t[0],a=t[1],i=void 0===a?1:a,r=t[2];return ne(n,i-1,void 0===r?1:r)}var o,s=parseFloat(e);if(!isNaN(e-s))return new Date(s);if(o=e.match($))return function(e){var t=new Date(0),n=0,a=0,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]));var o=Number(e[4]||0)-n,s=Number(e[5]||0)-a,l=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return r.call(t,o,s,l,c),t}(o)}var l=new Date(e);if(!pe(l))throw new Error('Unable to convert "'.concat(e,'" into a date'));return l}(e);t=ae(n,t)||t;for(var r,o=[];t;){if(!(r=Z.exec(t))){o.push(t);break}var s=(o=o.concat(r.slice(1))).pop();if(!s)break;t=s}var l=i.getTimezoneOffset();a&&(l=_e(a,l),i=function(e,t,n){var a=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(_e(t,a)-a))}(i,a));var c="";return o.forEach(function(e){var t=function(e){if(he[e])return he[e];var t;switch(e){case"G":case"GG":case"GGG":t=se(ee.Eras,L.Abbreviated);break;case"GGGG":t=se(ee.Eras,L.Wide);break;case"GGGGG":t=se(ee.Eras,L.Narrow);break;case"y":t=oe(J.FullYear,1,0,!1,!0);break;case"yy":t=oe(J.FullYear,2,0,!0,!0);break;case"yyy":t=oe(J.FullYear,3,0,!1,!0);break;case"yyyy":t=oe(J.FullYear,4,0,!1,!0);break;case"Y":t=de(1);break;case"YY":t=de(2,!0);break;case"YYY":t=de(3);break;case"YYYY":t=de(4);break;case"M":case"L":t=oe(J.Month,1,1);break;case"MM":case"LL":t=oe(J.Month,2,1);break;case"MMM":t=se(ee.Months,L.Abbreviated);break;case"MMMM":t=se(ee.Months,L.Wide);break;case"MMMMM":t=se(ee.Months,L.Narrow);break;case"LLL":t=se(ee.Months,L.Abbreviated,D.Standalone);break;case"LLLL":t=se(ee.Months,L.Wide,D.Standalone);break;case"LLLLL":t=se(ee.Months,L.Narrow,D.Standalone);break;case"w":t=ue(1);break;case"ww":t=ue(2);break;case"W":t=ue(1,!0);break;case"d":t=oe(J.Date,1);break;case"dd":t=oe(J.Date,2);break;case"c":case"cc":t=oe(J.Day,1);break;case"ccc":t=se(ee.Days,L.Abbreviated,D.Standalone);break;case"cccc":t=se(ee.Days,L.Wide,D.Standalone);break;case"ccccc":t=se(ee.Days,L.Narrow,D.Standalone);break;case"cccccc":t=se(ee.Days,L.Short,D.Standalone);break;case"E":case"EE":case"EEE":t=se(ee.Days,L.Abbreviated);break;case"EEEE":t=se(ee.Days,L.Wide);break;case"EEEEE":t=se(ee.Days,L.Narrow);break;case"EEEEEE":t=se(ee.Days,L.Short);break;case"a":case"aa":case"aaa":t=se(ee.DayPeriods,L.Abbreviated);break;case"aaaa":t=se(ee.DayPeriods,L.Wide);break;case"aaaaa":t=se(ee.DayPeriods,L.Narrow);break;case"b":case"bb":case"bbb":t=se(ee.DayPeriods,L.Abbreviated,D.Standalone,!0);break;case"bbbb":t=se(ee.DayPeriods,L.Wide,D.Standalone,!0);break;case"bbbbb":t=se(ee.DayPeriods,L.Narrow,D.Standalone,!0);break;case"B":case"BB":case"BBB":t=se(ee.DayPeriods,L.Abbreviated,D.Format,!0);break;case"BBBB":t=se(ee.DayPeriods,L.Wide,D.Format,!0);break;case"BBBBB":t=se(ee.DayPeriods,L.Narrow,D.Format,!0);break;case"h":t=oe(J.Hours,1,-12);break;case"hh":t=oe(J.Hours,2,-12);break;case"H":t=oe(J.Hours,1);break;case"HH":t=oe(J.Hours,2);break;case"m":t=oe(J.Minutes,1);break;case"mm":t=oe(J.Minutes,2);break;case"s":t=oe(J.Seconds,1);break;case"ss":t=oe(J.Seconds,2);break;case"S":t=oe(J.FractionalSeconds,1);break;case"SS":t=oe(J.FractionalSeconds,2);break;case"SSS":t=oe(J.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=le(X.Short);break;case"ZZZZZ":t=le(X.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=le(X.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=le(X.Long);break;default:return null}return he[e]=t,t}(e);c+=t?t(i,n,l):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function ne(e,t,n){var a=new Date(0);return a.setFullYear(e,t,n),a.setHours(0,0,0),a}function ae(e,t){var n=function(e){return(0,a.cg1)(e)[a.wAp.LocaleId]}(e);if(K[n]=K[n]||{},K[n][t])return K[n][t];var i="";switch(t){case"shortDate":i=G(e,P.Short);break;case"mediumDate":i=G(e,P.Medium);break;case"longDate":i=G(e,P.Long);break;case"fullDate":i=G(e,P.Full);break;case"shortTime":i=V(e,P.Short);break;case"mediumTime":i=V(e,P.Medium);break;case"longTime":i=V(e,P.Long);break;case"fullTime":i=V(e,P.Full);break;case"short":var r=ae(e,"shortTime"),o=ae(e,"shortDate");i=ie(H(e,P.Short),[r,o]);break;case"medium":var s=ae(e,"mediumTime"),l=ae(e,"mediumDate");i=ie(H(e,P.Medium),[s,l]);break;case"long":var c=ae(e,"longTime"),u=ae(e,"longDate");i=ie(H(e,P.Long),[c,u]);break;case"full":var d=ae(e,"fullTime"),h=ae(e,"fullDate");i=ie(H(e,P.Full),[d,h])}return i&&(K[n][t]=i),i}function ie(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",a=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,r="";(e<0||i&&e<=0)&&(i?e=1-e:(e=-e,r=n));for(var o=String(e);o.length2&&void 0!==arguments[2]?arguments[2]:0,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(r,o){var s,l=function(e,t){switch(e){case J.FullYear:return t.getFullYear();case J.Month:return t.getMonth();case J.Date:return t.getDate();case J.Hours:return t.getHours();case J.Minutes:return t.getMinutes();case J.Seconds:return t.getSeconds();case J.FractionalSeconds:return t.getMilliseconds();case J.Day:return t.getDay();default:throw new Error('Unknown DateType value "'.concat(e,'".'))}}(e,r);if((n>0||l>-n)&&(l+=n),e===J.Hours)0===l&&-12===n&&(l=12);else if(e===J.FractionalSeconds)return s=t,re(l,3).substr(0,s);var c=Y(o,F.MinusSign);return re(l,t,c,a,i)}}function se(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:D.Format,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(r,o){return function(e,t,n,i,r,o){switch(n){case ee.Months:return B(t,r,i)[e.getMonth()];case ee.Days:return U(t,r,i)[e.getDay()];case ee.DayPeriods:var s=e.getHours(),l=e.getMinutes();if(o){var c=function(e){var t=(0,a.cg1)(e);return j(t),(t[a.wAp.ExtraData][2]||[]).map(function(e){return"string"==typeof e?Q(e):[Q(e[0]),Q(e[1])]})}(t),u=function(e,t,n){var i=(0,a.cg1)(e);j(i);var r=W([i[a.wAp.ExtraData][0],i[a.wAp.ExtraData][1]],t)||[];return W(r,n)||[]}(t,r,i),d=c.findIndex(function(e){if(Array.isArray(e)){var t=_(e,2),n=t[0],a=t[1],i=s>=n.hours&&l>=n.minutes,r=s0?Math.floor(i/60):Math.ceil(i/60);switch(e){case X.Short:return(i>=0?"+":"")+re(o,2,r)+re(Math.abs(i%60),2,r);case X.ShortGMT:return"GMT"+(i>=0?"+":"")+re(o,1,r);case X.Long:return"GMT"+(i>=0?"+":"")+re(o,2,r)+":"+re(Math.abs(i%60),2,r);case X.Extended:return 0===a?"Z":(i>=0?"+":"")+re(o,2,r)+":"+re(Math.abs(i%60),2,r);default:throw new Error('Unknown zone width "'.concat(e,'"'))}}}function ce(e){return ne(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function ue(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,a){var i,r,o;if(t){var s=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,l=n.getDate();i=1+Math.floor((l+s)/7)}else{var c=ce(n),u=(r=c.getFullYear(),o=ne(r,0,1).getDay(),ne(r,0,1+(o<=4?4:11)-o)),d=c.getTime()-u.getTime();i=1+Math.round(d/6048e5)}return re(i,e,Y(a,F.MinusSign))}}function de(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,a){return re(ce(n).getFullYear(),e,Y(a,F.MinusSign),t)}}var he={};function _e(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function pe(e){return e instanceof Date&&!isNaN(e.valueOf())}var ge=function e(){m(this,e)},me=function(){var e=function(e){i(n,e);var t=o(n);function n(e){var a;return m(this,n),(a=t.call(this)).locale=e,a}return v(n,[{key:"getPluralCategory",value:function(e,t){switch(q(t||this.locale)(e)){case x.Zero:return"zero";case x.One:return"one";case x.Two:return"two";case x.Few:return"few";case x.Many:return"many";default:return"other"}}}]),n}(ge);return e.\u0275fac=function(t){return new(t||e)(a.LFG(a.soG))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e}();function fe(e,t){t=encodeURIComponent(t);var n,a=h(e.split(";"));try{for(a.s();!(n=a.n()).done;){var i=n.value,r=i.indexOf("="),o=_(-1==r?[i,""]:[i.slice(0,r),i.slice(r+1)],2),s=o[0],l=o[1];if(s.trim()===t)return decodeURIComponent(l)}}catch(c){a.e(c)}finally{a.f()}return null}var ve=function(){var e=function(){function e(t,n,a,i){m(this,e),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=a,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return v(e,[{key:"klass",set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(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())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}},{key:"_applyKeyValueChanges",value:function(e){var t=this;e.forEachAddedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachRemovedItem(function(e){e.previousValue&&t._toggleClass(e.key,!1)})}},{key:"_applyIterableChanges",value:function(e){var t=this;e.forEachAddedItem(function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat((0,a.AaK)(e.item)));t._toggleClass(e.item,!0)}),e.forEachRemovedItem(function(e){return t._toggleClass(e.item,!1)})}},{key:"_applyClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!0)}):Object.keys(e).forEach(function(n){return t._toggleClass(n,!!e[n])}))}},{key:"_removeClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!1)}):Object.keys(e).forEach(function(e){return t._toggleClass(e,!1)}))}},{key:"_toggleClass",value:function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach(function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)})}}]),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}(),ye=function(){function e(t,n,a,i){m(this,e),this.$implicit=t,this.ngForOf=n,this.index=a,this.count=i}return v(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),Ee=function(){var e=function(){function e(t,n,a){m(this,e),this._viewContainer=t,this._template=n,this._differs=a,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return v(e,[{key:"ngForOf",set:function(e){this._ngForOf=e,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(e){this._trackByFn=e}},{key:"ngForTemplate",set:function(e){e&&(this._template=e)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(a){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(e){var t=this,n=[];e.forEachOperation(function(e,a,i){if(null==e.previousIndex){var r=t._viewContainer.createEmbeddedView(t._template,new ye(null,t._ngForOf,-1,-1),null===i?void 0:i),o=new Se(e,r);n.push(o)}else if(null==i)t._viewContainer.remove(null===a?void 0:a);else if(null!==a){var s=t._viewContainer.get(a);t._viewContainer.move(s,i);var l=new Se(e,s);n.push(l)}});for(var a=0;a1&&void 0!==arguments[1]?arguments[1]:"mediumDate",a=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;if(null==t||""===t||t!=t)return null;try{return te(t,n,i||this.locale,a)}catch(r){throw Me(e,r.message)}}}]),e}();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}(),Fe=function(){var e=function(){function e(){m(this,e)}return v(e,[{key:"transform",value:function(t,n,a){if(null==t)return null;if(!this.supports(t))throw Me(e,t);return t.slice(n,a)}},{key:"supports",value:function(e){return"string"==typeof e||Array.isArray(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=a.Yjl({name:"slice",type:e,pure:!1}),e}(),Ue=function(){var e=function e(){m(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[{provide:ge,useClass:me}]}),e}(),Be="browser";function ze(e){return e===Be}function Ge(e){return"server"===e}var Ve=function(){var e=function e(){m(this,e)};return e.\u0275prov=(0,a.Yz7)({token:e,providedIn:"root",factory:function(){return new He((0,a.LFG)(d),window)}}),e}(),He=function(){function e(t,n){m(this,e),this.document=t,this.window=n,this.offset=function(){return[0,0]}}return v(e,[{key:"setOffset",value:function(e){this.offset=Array.isArray(e)?function(){return e}:e}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}},{key:"scrollToAnchor",value:function(e){if(this.supportsScrolling()){var t=function(e,t){var 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))for(var a=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),i=a.currentNode;i;){var r=i.shadowRoot;if(r){var o=r.getElementById(t)||r.querySelector('[name="'.concat(t,'"]'));if(o)return o}i=a.nextNode()}return null}(this.document,e);t&&(this.scrollToElement(t),this.attemptFocus(t))}}},{key:"setHistoryScrollRestoration",value:function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}},{key:"scrollToElement",value:function(e){var 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])}},{key:"attemptFocus",value:function(e){return e.focus(),this.document.activeElement===e}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())return!1;var e=Ye(this.window.history)||Ye(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(t){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}]),e}();function Ye(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}var qe=function e(){m(this,e)}},91841:function(e,t,n){"use strict";n.d(t,{eN:function(){return D},JF:function(){return W}});var a=n(38583),r=n(37716),s=n(25917),l=n(67574),c=n(94612),u=n(45435),h=n(88002),p=function e(){m(this,e)},g=function e(){m(this,e)},f=function(){function e(t){var n=this;m(this,e),this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){n.headers=new Map,t.split("\n").forEach(function(e){var t=e.indexOf(":");if(t>0){var a=e.slice(0,t),i=a.toLowerCase(),r=e.slice(t+1).trim();n.maybeSetNormalizedName(a,i),n.headers.has(i)?n.headers.get(i).push(r):n.headers.set(i,[r])}})}:function(){n.headers=new Map,Object.keys(t).forEach(function(e){var a=t[e],i=e.toLowerCase();"string"==typeof a&&(a=[a]),a.length>0&&(n.headers.set(i,a),n.maybeSetNormalizedName(e,i))})}:this.headers=new Map}return v(e,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,t){return this.clone({name:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({name:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({name:e,value:t,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))})}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var a=("a"===e.op?this.headers.get(t):void 0)||[];a.push.apply(a,d(n)),this.headers.set(t,a);break;case"d":var i=e.value;if(i){var r=this.headers.get(t);if(!r)return;0===(r=r.filter(function(e){return-1===i.indexOf(e)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,r)}else this.headers.delete(t),this.normalizedNames.delete(t)}}},{key:"forEach",value:function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return e(t.normalizedNames.get(n),t.headers.get(n))})}}]),e}(),y=function(){function e(){m(this,e)}return v(e,[{key:"encodeKey",value:function(e){return E(e)}},{key:"encodeValue",value:function(e){return E(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}();function E(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 S(e){return"".concat(e)}var b=function(){function e(){var t,n,a,i=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(m(this,e),this.updates=null,this.cloneFrom=null,this.encoder=r.encoder||new y,r.fromString){if(r.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(t=r.fromString,n=this.encoder,a=new Map,t.length>0&&t.replace(/^\?/,"").split("&").forEach(function(e){var t=e.indexOf("="),i=_(-1==t?[n.decodeKey(e),""]:[n.decodeKey(e.slice(0,t)),n.decodeValue(e.slice(t+1))],2),r=i[0],o=i[1],s=a.get(r)||[];s.push(o),a.set(r,s)}),a)}else r.fromObject?(this.map=new Map,Object.keys(r.fromObject).forEach(function(e){var t=r.fromObject[e];i.map.set(e,Array.isArray(t)?t:[t])})):this.map=null}return v(e,[{key:"has",value:function(e){return this.init(),this.map.has(e)}},{key:"get",value:function(e){this.init();var t=this.map.get(e);return t?t[0]:null}},{key:"getAll",value:function(e){return this.init(),this.map.get(e)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(e,t){return this.clone({param:e,value:t,op:"a"})}},{key:"appendAll",value:function(e){var t=[];return Object.keys(e).forEach(function(n){var a=e[n];Array.isArray(a)?a.forEach(function(e){t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:a,op:"a"})}),this.clone(t)}},{key:"set",value:function(e,t){return this.clone({param:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({param:e,value:t,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map(function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map(function(t){return n+"="+e.encoder.encodeValue(t)}).join("&")}).filter(function(e){return""!==e}).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(S(t.value)),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var a=e.map.get(t.param)||[],i=a.indexOf(S(t.value));-1!==i&&a.splice(i,1),a.length>0?e.map.set(t.param,a):e.map.delete(t.param)}}),this.cloneFrom=this.updates=null)}}]),e}(),T=function(){function e(){m(this,e),this.map=new Map}return v(e,[{key:"set",value:function(e,t){return this.map.set(e,t),this}},{key:"get",value:function(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}},{key:"delete",value:function(e){return this.map.delete(e),this}},{key:"keys",value:function(){return this.map.keys()}}]),e}();function C(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function O(e){return"undefined"!=typeof Blob&&e instanceof Blob}function R(e){return"undefined"!=typeof FormData&&e instanceof FormData}var A=function(){function e(t,n,a,i){var r;if(m(this,e),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==a?a:null,r=i):r=a,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params)),this.headers||(this.headers=new f),this.context||(this.context=new T),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s0&&void 0!==arguments[0]?arguments[0]:{},a=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=void 0!==n.body?n.body:this.body,s=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,l=void 0!==n.reportProgress?n.reportProgress:this.reportProgress,c=n.headers||this.headers,u=n.params||this.params,d=null!==(t=n.context)&&void 0!==t?t:this.context;return void 0!==n.setHeaders&&(c=Object.keys(n.setHeaders).reduce(function(e,t){return e.set(t,n.setHeaders[t])},c)),n.setParams&&(u=Object.keys(n.setParams).reduce(function(e,t){return e.set(t,n.setParams[t])},u)),new e(a,i,o,{params:u,headers:c,context:d,reportProgress:l,responseType:r,withCredentials:s})}}]),e}(),N=((N=N||{})[N.Sent=0]="Sent",N[N.UploadProgress=1]="UploadProgress",N[N.ResponseHeader=2]="ResponseHeader",N[N.DownloadProgress=3]="DownloadProgress",N[N.Response=4]="Response",N[N.User=5]="User",N),w=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";m(this,e),this.headers=t.headers||new f,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||a,this.url=t.url||null,this.ok=this.status>=200&&this.status<300},I=function(e){i(n,e);var t=o(n);function n(){var e,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return m(this,n),(e=t.call(this,a)).type=N.ResponseHeader,e}return v(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({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})}}]),n}(w),M=function(e){i(n,e);var t=o(n);function n(){var e,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return m(this,n),(e=t.call(this,a)).type=N.Response,e.body=void 0!==a.body?a.body:null,e}return v(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({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})}}]),n}(w),k=function(e){i(n,e);var t=o(n);function n(e){var a;return m(this,n),(a=t.call(this,e,0,"Unknown Error")).name="HttpErrorResponse",a.ok=!1,a.message=a.status>=200&&a.status<300?"Http failure during parsing for ".concat(e.url||"(unknown url)"):"Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),a.error=e.error||null,a}return n}(w);function x(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}}var D=function(){var e=function(){function e(t){m(this,e),this.handler=t}return v(e,[{key:"request",value:function(e,t){var n,a,i,r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e instanceof A?n=e:(a=o.headers instanceof f?o.headers:new f(o.headers),o.params&&(i=o.params instanceof b?o.params:new b({fromObject:o.params})),n=new A(e,t,void 0!==o.body?o.body:null,{headers:a,context:o.context,params:i,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials}));var l=(0,s.of)(n).pipe((0,c.b)(function(e){return r.handler.handle(e)}));if(e instanceof A||"events"===o.observe)return l;var d=l.pipe((0,u.h)(function(e){return e instanceof M}));switch(o.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return d.pipe((0,h.U)(function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return d.pipe((0,h.U)(function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return d.pipe((0,h.U)(function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return d.pipe((0,h.U)(function(e){return e.body}))}case"response":return d;default:throw new Error("Unreachable: unhandled observe type ".concat(o.observe,"}"))}}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",e,t)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",e,t)}},{key:"head",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",e,t)}},{key:"jsonp",value:function(e,t){return this.request("JSONP",e,{params:(new b).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",e,t)}},{key:"patch",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",e,x(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,x(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,x(n,t))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(p))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),L=function(){function e(t,n){m(this,e),this.next=t,this.interceptor=n}return v(e,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),e}(),P=new r.OlP("HTTP_INTERCEPTORS"),F=function(){var e=function(){function e(){m(this,e)}return v(e,[{key:"intercept",value:function(e,t){return t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),U=/^\)\]\}',?\n/,B=function(){var e=function(){function e(t){m(this,e),this.xhrFactory=t}return v(e,[{key:"handle",value:function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new l.y(function(n){var a=t.xhrFactory.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEach(function(e,t){return a.setRequestHeader(e,t.join(","))}),e.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var i=e.detectContentTypeHeader();null!==i&&a.setRequestHeader("Content-Type",i)}if(e.responseType){var r=e.responseType.toLowerCase();a.responseType="json"!==r?r:"text"}var o=e.serializeBody(),s=null,l=function(){if(null!==s)return s;var t=1223===a.status?204:a.status,n=a.statusText||"OK",i=new f(a.getAllResponseHeaders()),r=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(a)||e.url;return s=new I({headers:i,status:t,statusText:n,url:r})},c=function(){var t=l(),i=t.headers,r=t.status,o=t.statusText,s=t.url,c=null;204!==r&&(c=void 0===a.response?a.responseText:a.response),0===r&&(r=c?200:0);var u=r>=200&&r<300;if("json"===e.responseType&&"string"==typeof c){var d=c;c=c.replace(U,"");try{c=""!==c?JSON.parse(c):null}catch(h){c=d,u&&(u=!1,c={error:h,text:c})}}u?(n.next(new M({body:c,headers:i,status:r,statusText:o,url:s||void 0})),n.complete()):n.error(new k({error:c,headers:i,status:r,statusText:o,url:s||void 0}))},u=function(e){var t=l().url,i=new k({error:e,status:a.status||0,statusText:a.statusText||"Unknown Error",url:t||void 0});n.error(i)},d=!1,h=function(t){d||(n.next(l()),d=!0);var i={type:N.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(i.total=t.total),"text"===e.responseType&&a.responseText&&(i.partialText=a.responseText),n.next(i)},_=function(e){var t={type:N.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return a.addEventListener("load",c),a.addEventListener("error",u),a.addEventListener("timeout",u),a.addEventListener("abort",u),e.reportProgress&&(a.addEventListener("progress",h),null!==o&&a.upload&&a.upload.addEventListener("progress",_)),a.send(o),n.next({type:N.Sent}),function(){a.removeEventListener("error",u),a.removeEventListener("abort",u),a.removeEventListener("load",c),a.removeEventListener("timeout",u),e.reportProgress&&(a.removeEventListener("progress",h),null!==o&&a.upload&&a.upload.removeEventListener("progress",_)),a.readyState!==a.DONE&&a.abort()}})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(a.JF))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),z=new r.OlP("XSRF_COOKIE_NAME"),G=new r.OlP("XSRF_HEADER_NAME"),V=function e(){m(this,e)},H=function(){var e=function(){function e(t,n,a){m(this,e),this.doc=t,this.platform=n,this.cookieName=a,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return v(e,[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,a.Mx)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(a.K0),r.LFG(r.Lbi),r.LFG(z))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),Y=function(){var e=function(){function e(t,n){m(this,e),this.tokenService=t,this.headerName=n}return v(e,[{key:"intercept",value:function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var 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)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(V),r.LFG(G))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),q=function(){var e=function(){function e(t,n){m(this,e),this.backend=t,this.injector=n,this.chain=null}return v(e,[{key:"handle",value:function(e){if(null===this.chain){var t=this.injector.get(P,[]);this.chain=t.reduceRight(function(e,t){return new L(e,t)},this.backend)}return this.chain.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(g),r.LFG(r.zs3))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),j=function(){var e=function(){function e(){m(this,e)}return v(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:Y,useClass:F}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:z,useValue:t.cookieName}:[],t.headerName?{provide:G,useValue:t.headerName}:[]]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[Y,{provide:P,useExisting:Y,multi:!0},{provide:V,useClass:H},{provide:z,useValue:"XSRF-TOKEN"},{provide:G,useValue:"X-XSRF-TOKEN"}]}),e}(),W=function(){var e=function e(){m(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[D,{provide:p,useClass:q},B,{provide:g,useExisting:B}],imports:[[j.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e}()},37716:function(e,r,s){"use strict";s.d(r,{deG:function(){return pn},tb:function(){return ec},AFp:function(){return $l},ip1:function(){return Wl},CZH:function(){return Ql},hGG:function(){return jc},z2F:function(){return Pc},sBO:function(){return Hs},Sil:function(){return dc},_Vd:function(){return _s},EJc:function(){return ac},SBq:function(){return fs},qLn:function(){return Da},vpe:function(){return Ol},gxx:function(){return Er},tBr:function(){return Fn},XFs:function(){return V},OlP:function(){return _n},zs3:function(){return Dr},IIB:function(){return ql},ZZ4:function(){return Ps},aQg:function(){return Us},soG:function(){return nc},YKP:function(){return Xs},v3s:function(){return Uc},h0i:function(){return Zs},PXZ:function(){return Mc},R0b:function(){return pc},FiY:function(){return Un},r_U:function(){return jl},Lbi:function(){return Jl},g9A:function(){return Xl},n_E:function(){return Al},Qsj:function(){return Es},FYo:function(){return ys},JOm:function(){return Ua},Tiy:function(){return bs},q3G:function(){return Oa},WD2:function(){return Ne},tp0:function(){return Bn},EAV:function(){return Gc},Rgc:function(){return Qs},dDg:function(){return Sc},DyG:function(){return mn},GfV:function(){return Ts},i9L:function(){return gn},s_b:function(){return el},ifc:function(){return W},eFA:function(){return kc},G48:function(){return wc},Gpc:function(){return O},f3M:function(){return kn},X6Q:function(){return Nc},_c5:function(){return Yc},VLi:function(){return Tc},c2e:function(){return tc},zSh:function(){return br},wAp:function(){return ts},vHH:function(){return N},EiD:function(){return Ta},mCW:function(){return oa},qzn:function(){return $n},JVY:function(){return Zn},pB0:function(){return ta},eBb:function(){return Jn},L6k:function(){return Xn},LAX:function(){return ea},cg1:function(){return Xo},Tjo:function(){return Hc},kL8:function(){return Jo},yhl:function(){return Kn},dqk:function(){return X},sIi:function(){return Yr},CqO:function(){return ho},QGY:function(){return co},F4k:function(){return uo},RDi:function(){return De},AaK:function(){return b},z3N:function(){return Qn},qOj:function(){return Pr},TTD:function(){return we},_Bn:function(){return us},xp6:function(){return Ci},uIk:function(){return $r},Tol:function(){return Mo},Gre:function(){return jo},ekj:function(){return Io},Suo:function(){return Bl},Xpm:function(){return ce},lG2:function(){return me},Yz7:function(){return k},cJS:function(){return x},oAB:function(){return _e},Yjl:function(){return fe},Y36:function(){return Jr},_UZ:function(){return io},GkF:function(){return so},BQk:function(){return oo},ynx:function(){return ro},qZA:function(){return ao},TgZ:function(){return no},EpF:function(){return lo},n5z:function(){return sn},Ikx:function(){return Wo},LFG:function(){return Mn},$8M:function(){return cn},NdJ:function(){return _o},CRH:function(){return zl},oxw:function(){return mo},ALo:function(){return vl},lcZ:function(){return yl},xi3:function(){return El},Dn7:function(){return Sl},Hsn:function(){return yo},F$t:function(){return vo},Q6J:function(){return eo},s9C:function(){return Eo},MGl:function(){return So},hYB:function(){return bo},DdM:function(){return pl},VKq:function(){return gl},iGM:function(){return Fl},MAs:function(){return Xr},Jf7:function(){return Pa},CHM:function(){return Je},oJD:function(){return Ra},LSH:function(){return Aa},kYT:function(){return pe},Udp:function(){return wo},d8E:function(){return Qo},YNc:function(){return Zr},W1O:function(){return Yl},_uU:function(){return Ho},Oqu:function(){return Yo},hij:function(){return qo},Gf:function(){return Ul}});var c=s(79765),p=s(75319),g=s(67574),f=s(66682),y=s(78345);function E(e){for(var t in e)if(e[t]===E)return t;throw Error("Could not find renamed property on target object.")}function S(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function b(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(b).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function T(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var C=E({__forward_ref__:E});function O(e){return e.__forward_ref__=O,e.toString=function(){return b(this())},e}function R(e){return A(e)?e():e}function A(e){return"function"==typeof e&&e.hasOwnProperty(C)&&e.__forward_ref__===O}var N=function(e){i(n,e);var t=o(n);function n(e,a){var i;return m(this,n),(i=t.call(this,function(e,t){return"".concat(e?"NG0".concat(e,": "):"").concat(t)}(e,a))).code=e,i}return n}(t(Error));function w(e){return"string"==typeof e?e:null==e?"":String(e)}function I(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():w(e)}function M(e,t){var n=t?" in ".concat(t):"";throw new N("201","No provider for ".concat(I(e)," found").concat(n))}function k(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function x(e){return{providers:e.providers||[],imports:e.imports||[]}}function D(e){return L(e,U)||L(e,z)}function L(e,t){return e.hasOwnProperty(t)?e[t]:null}function P(e){return e&&(e.hasOwnProperty(B)||e.hasOwnProperty(G))?e[B]:null}var F,U=E({"\u0275prov":E}),B=E({"\u0275inj":E}),z=E({ngInjectableDef:E}),G=E({ngInjectorDef:E}),V=((V=V||{})[V.Default=0]="Default",V[V.Host=1]="Host",V[V.Self=2]="Self",V[V.SkipSelf=4]="SkipSelf",V[V.Optional=8]="Optional",V);function H(e){var t=F;return F=e,t}function Y(e,t,n){var a=D(e);return a&&"root"==a.providedIn?void 0===a.value?a.value=a.factory():a.value:n&V.Optional?null:void 0!==t?t:void M(b(e),"Injector")}function q(e){return{toString:e}.toString()}var j=((j=j||{})[j.OnPush=0]="OnPush",j[j.Default=1]="Default",j),W=((W=W||{})[W.Emulated=0]="Emulated",W[W.None=2]="None",W[W.ShadowDom=3]="ShadowDom",W),Q="undefined"!=typeof globalThis&&globalThis,$="undefined"!=typeof window&&window,K="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Z="undefined"!=typeof global&&global,X=Q||Z||$||K,J={},ee=[],te=E({"\u0275cmp":E}),ne=E({"\u0275dir":E}),ae=E({"\u0275pipe":E}),ie=E({"\u0275mod":E}),re=E({"\u0275loc":E}),oe=E({"\u0275fac":E}),se=E({__NG_ELEMENT_ID__:E}),le=0;function ce(e){return q(function(){var 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===j.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||ee,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||W.Emulated,id:"c",styles:e.styles||ee,_:null,setInput:null,schemas:e.schemas||null,tView:null},a=e.directives,i=e.features,r=e.pipes;return n.id+=le++,n.inputs=ge(e.inputs,t),n.outputs=ge(e.outputs),i&&i.forEach(function(e){return e(n)}),n.directiveDefs=a?function(){return("function"==typeof a?a():a).map(ue)}:null,n.pipeDefs=r?function(){return("function"==typeof r?r():r).map(de)}:null,n})}function ue(e){return ve(e)||function(e){return e[ne]||null}(e)}function de(e){return function(e){return e[ae]||null}(e)}var he={};function _e(e){return q(function(){var t={type:e.type,bootstrap:e.bootstrap||ee,declarations:e.declarations||ee,imports:e.imports||ee,exports:e.exports||ee,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(he[e.id]=e.type),t})}function pe(e,t){return q(function(){var n=ye(e,!0);n.declarations=t.declarations||ee,n.imports=t.imports||ee,n.exports=t.exports||ee})}function ge(e,t){if(null==e)return J;var n={};for(var a in e)if(e.hasOwnProperty(a)){var i=e[a],r=i;Array.isArray(i)&&(r=i[1],i=i[0]),n[i]=a,t&&(t[i]=r)}return n}var me=ce;function fe(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function ve(e){return e[te]||null}function ye(e,t){var n=e[ie]||null;if(!n&&!0===t)throw new Error("Type ".concat(b(e)," does not have '\u0275mod' property."));return n}function Ee(e){return Array.isArray(e)&&"object"==typeof e[1]}function Se(e){return Array.isArray(e)&&!0===e[1]}function be(e){return 0!=(8&e.flags)}function Te(e){return 2==(2&e.flags)}function Ce(e){return 1==(1&e.flags)}function Oe(e){return null!==e.template}function Re(e,t){return e.hasOwnProperty(oe)?e[oe]:null}var Ae,Ne=function(){function e(t,n,a){m(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=a}return v(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function we(){return Ie}function Ie(e){return e.type.prototype.ngOnChanges&&(e.setInput=ke),Me}function Me(){var e=xe(this),t=null==e?void 0:e.current;if(t){var n=e.previous;if(n===J)e.previous=t;else for(var a in t)n[a]=t[a];e.current=null,this.ngOnChanges(t)}}function ke(e,t,n,a){var i=xe(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:J,current:null}),r=i.current||(i.current={}),o=i.previous,s=this.declaredInputs[n],l=o[s];r[s]=new Ne(l&&l.currentValue,t,o===J),e[a]=t}function xe(e){return e.__ngSimpleChanges__||null}function De(e){Ae=e}function Le(){return void 0!==Ae?Ae:"undefined"!=typeof document?document:void 0}function Pe(e){return!!e.listen}we.ngInherit=!0;var Fe={createRenderer:function(e,t){return Le()}};function Ue(e){for(;Array.isArray(e);)e=e[0];return e}function Be(e,t){return Ue(t[e])}function ze(e,t){return Ue(t[e.index])}function Ge(e,t){return e.data[t]}function Ve(e,t){return e[t]}function He(e,t){var n=t[e];return Ee(n)?n:n[0]}function Ye(e){return 4==(4&e[2])}function qe(e){return 128==(128&e[2])}function je(e,t){return null==t?null:e[t]}function We(e){e[18]=0}function Qe(e,t){e[5]+=t;for(var n=e,a=e[3];null!==a&&(1===t&&1===n[5]||-1===t&&0===n[5]);)a[5]+=t,n=a,a=a[3]}var $e={lFrame:yt(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Ke(){return $e.bindingsEnabled}function Ze(){return $e.lFrame.lView}function Xe(){return $e.lFrame.tView}function Je(e){return $e.lFrame.contextLView=e,e[8]}function et(){for(var e=tt();null!==e&&64===e.type;)e=e.parent;return e}function tt(){return $e.lFrame.currentTNode}function nt(e,t){var n=$e.lFrame;n.currentTNode=e,n.isParent=t}function at(){return $e.lFrame.isParent}function it(){$e.lFrame.isParent=!1}function rt(){return $e.isInCheckNoChangesMode}function ot(e){$e.isInCheckNoChangesMode=e}function st(){var e=$e.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function lt(){return $e.lFrame.bindingIndex}function ct(){return $e.lFrame.bindingIndex++}function ut(e){var t=$e.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function dt(e){$e.lFrame.currentDirectiveIndex=e}function ht(e){var t=$e.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function _t(){return $e.lFrame.currentQueryIndex}function pt(e){$e.lFrame.currentQueryIndex=e}function gt(e){var t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function mt(e,t,n){if(n&V.SkipSelf){for(var a=t,i=e;!(null!==(a=a.parent)||n&V.Host||(a=gt(i),null===a)||(i=i[15],10&a.type)););if(null===a)return!1;t=a,e=i}var r=$e.lFrame=vt();return r.currentTNode=t,r.lView=e,!0}function ft(e){var t=vt(),n=e[1];$e.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function vt(){var e=$e.lFrame,t=null===e?null:e.child;return null===t?yt(e):t}function yt(e){var 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 Et(){var e=$e.lFrame;return $e.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var St=Et;function bt(){var e=Et();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 Tt(){return $e.lFrame.selectedIndex}function Ct(e){$e.lFrame.selectedIndex=e}function Ot(){var e=$e.lFrame;return Ge(e.tView,e.selectedIndex)}function Rt(e,t){for(var n=t.directiveStart,a=t.directiveEnd;n=a)break}else t[s]<0&&(e[18]+=65536),(o>11>16&&(3&e[2])===t){e[2]+=2048;try{r.call(o)}finally{}}}else try{r.call(o)}finally{}}var kt=function e(t,n,a){m(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=a};function xt(e,t,n){for(var a=Pe(e),i=0;it){o=r-1;break}}}for(;r>16,a=t;n>0;)a=a[15],n--;return a}var Gt=!0;function Vt(e){var t=Gt;return Gt=e,t}var Ht=0;function Yt(e,t){var n=jt(e,t);if(-1!==n)return n;var a=t[1];a.firstCreatePass&&(e.injectorIndex=t.length,qt(a.data,e),qt(t,null),qt(a.blueprint,null));var i=Wt(e,t),r=e.injectorIndex;if(Ut(i))for(var o=Bt(i),s=zt(i,t),l=s[1].data,c=0;c<8;c++)t[r+c]=s[o+c]|l[o+c];return t[r+8]=i,r}function qt(e,t){e.push(0,0,0,0,0,0,0,0,t)}function jt(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Wt(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=0,a=null,i=t;null!==i;){var r=i[1],o=r.type;if(null===(a=2===o?r.declTNode:1===o?i[6]:null))return-1;if(n++,i=i[15],-1!==a.injectorIndex)return a.injectorIndex|n<<16}return-1}function Qt(e,t,n){!function(e,t,n){var a;"string"==typeof n?a=n.charCodeAt(0)||0:n.hasOwnProperty(se)&&(a=n[se]),null==a&&(a=n[se]=Ht++);var i=255&a;t.data[e+(i>>5)]|=1<3&&void 0!==arguments[3]?arguments[3]:V.Default,i=arguments.length>4?arguments[4]:void 0;if(null!==e){var r=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e.hasOwnProperty(se)?e[se]:void 0;return"number"==typeof t?t>=0?255&t:Jt:t}(n);if("function"==typeof r){if(!mt(t,e,a))return a&V.Host?$t(i,n,a):Kt(t,n,a,i);try{var o=r(a);if(null!=o||a&V.Optional)return o;M(n)}finally{St()}}else if("number"==typeof r){var s=null,l=jt(e,t),c=-1,u=a&V.Host?t[16][6]:null;for((-1===l||a&V.SkipSelf)&&(-1!==(c=-1===l?Wt(e,t):t[l+8])&&rn(a,!1)?(s=t[1],l=Bt(c),t=zt(c,t)):l=-1);-1!==l;){var d=t[1];if(an(r,l,d.data)){var h=en(l,t,n,s,a,u);if(h!==Xt)return h}-1!==(c=t[l+8])&&rn(a,t[1].data[l+8]===u)&&an(r,l,t)?(s=d,l=Bt(c),t=zt(c,t)):l=-1}}}return Kt(t,n,a,i)}var Xt={};function Jt(){return new on(et(),Ze())}function en(e,t,n,a,i,r){var o=t[1],s=o.data[e+8],l=tn(s,o,n,null==a?Te(s)&&Gt:a!=o&&0!=(3&s.type),i&V.Host&&r===s);return null!==l?nn(t,o,l,s):Xt}function tn(e,t,n,a,i){for(var r=e.providerIndexes,o=t.data,s=1048575&r,l=e.directiveStart,c=r>>20,u=i?s+c:e.directiveEnd,d=a?s:s+c;d=l&&h.type===n)return d}if(i){var _=o[l];if(_&&Oe(_)&&_.type===n)return l}return null}function nn(e,t,n,a){var i=e[n],r=t.data;if(i instanceof kt){var o=i;o.resolving&&function(e,t){throw new N("200","Circular dependency in DI detected for ".concat(e))}(I(r[n]));var s=Vt(o.canSeeViewProviders);o.resolving=!0;var l=o.injectImpl?H(o.injectImpl):null;mt(e,a,V.Default);try{i=e[n]=o.factory(void 0,r,e,a),t.firstCreatePass&&n>=a.directiveStart&&function(e,t,n){var a=t.type.prototype,i=a.ngOnChanges,r=a.ngOnInit,o=a.ngDoCheck;if(i){var s=Ie(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,r),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,r[n],t)}finally{null!==l&&H(l),Vt(s),o.resolving=!1,St()}}return i}function an(e,t,n){return!!(n[t+(e>>5)]&1<=e.length?e.push(n):e.splice(t,0,n)}function En(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Sn(e,t){for(var n=[],a=0;a=0?e[1|a]=n:function(e,t,n,a){var 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=~a,t,n),a}function Tn(e,t){var n=Cn(e,t);if(n>=0)return e[1|n]}function Cn(e,t){return function(e,t,n){for(var a=0,i=e.length>>1;i!==a;){var r=a+(i-a>>1),o=e[r<<1];if(t===o)return r<<1;o>t?i=r:a=r+1}return~(i<<1)}(e,t)}var On,Rn={},An=/\n/gm,Nn=E({provide:String,useValue:E});function wn(e){var t=On;return On=e,t}function In(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:V.Default;if(void 0===On)throw new Error("inject() must be called from an injection context");return null===On?Y(e,void 0,t):On.get(e,t&V.Optional?null:void 0,t)}function Mn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:V.Default;return(F||In)(R(e),t)}var kn=Mn;function xn(e){for(var t=[],n=0;n"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();pa.hasOwnProperty(t)&&!ua.hasOwnProperty(t)&&(this.buf.push(""))}},{key:"chars",value:function(e){this.buf.push(ba(e))}},{key:"checkClobberedElement",value:function(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: ".concat(e.outerHTML));return t}}]),e}(),Ea=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Sa=/([^\#-~ |!])/g;function ba(e){return e.replace(/&/g,"&").replace(Ea,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(Sa,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function Ta(e,t){var n=null;try{ca=ca||function(e){var t=new aa(e);return function(){try{return!!(new window.DOMParser).parseFromString(zn(""),"text/html")}catch(e){return!1}}()?new na(t):t}(e);var a=t?String(t):"";n=ca.getInertBodyElement(a);var 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=ca.getInertBodyElement(a)}while(a!==r);return zn((new ya).sanitizeChildren(Ca(n)||n))}finally{if(n)for(var o=Ca(n)||n;o.firstChild;)o.removeChild(o.firstChild)}}function Ca(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Oa=((Oa=Oa||{})[Oa.NONE=0]="NONE",Oa[Oa.HTML=1]="HTML",Oa[Oa.STYLE=2]="STYLE",Oa[Oa.SCRIPT=3]="SCRIPT",Oa[Oa.URL=4]="URL",Oa[Oa.RESOURCE_URL=5]="RESOURCE_URL",Oa);function Ra(e){var t=Na();return t?Gn(t.sanitize(Oa.HTML,e)||""):$n(e,"HTML")?Gn(Qn(e)):Ta(Le(),w(e))}function Aa(e){var t=Na();return t?t.sanitize(Oa.URL,e)||"":$n(e,"URL")?Qn(e):oa(w(e))}function Na(){var e=Ze();return e&&e[12]}function wa(e,t){e.__ngContext__=t}function Ia(e){var t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Ma(e){return e.ngDebugContext}function ka(e){return e.ngOriginalError}function xa(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a0&&(e[a-1][4]=i[4]);var o=En(e,10+t);li(i[1],n=i,n[11],2,null,null),n[0]=null,n[6]=null;var s=o[19];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}}function Qa(e,t){if(!(256&t[2])){var n=t[11];Pe(n)&&n.destroyNode&&li(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return $a(e[1],e);for(;t;){var n=null;if(Ee(t))n=t[13];else{var a=t[10];a&&(n=a)}if(!n){for(;t&&!t[4]&&t!==e;)Ee(t)&&$a(t[1],t),t=t[3];null===t&&(t=e),Ee(t)&&$a(t[1],t),n=t&&t[4]}t=n}}(t)}}function $a(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var a=0;a=0?a[i=c]():a[i=-c].unsubscribe(),r+=2}else{var u=a[i=n[r+1]];n[r].call(u)}if(null!==a){for(var d=i+1;dr?"":i[u+1].toLowerCase();var h=8&a?d:null;if(h&&-1!==hi(h,c,0)||2&a&&c!==d){if(fi(a))return!1;o=!0}}}}else{if(!o&&!fi(a)&&!fi(l))return!1;if(o&&fi(l))continue;o=!1,a=l|1&a}}return fi(a)||o}function fi(e){return 0==(1&e)}function vi(e,t,n,a){if(null===t)return-1;var i=0;if(a||!n){for(var r=!1;i-1)for(n++;n2&&void 0!==arguments[2]&&arguments[2],a=0;a0?'="'+s+'"':"")+"]"}else 8&a?i+="."+o:4&a&&(i+=" "+o);else""===i||fi(o)||(t+=Si(r,i),i=""),a=o,r=r||!fi(a);n++}return""!==i&&(t+=Si(r,i)),t}var Ti={};function Ci(e){Oi(Xe(),Ze(),Tt()+e,rt())}function Oi(e,t,n,a){if(!a)if(3==(3&t[2])){var i=e.preOrderCheckHooks;null!==i&&At(t,i,n)}else{var r=e.preOrderHooks;null!==r&&Nt(t,r,0,n)}Ct(n)}function Ri(e,t){return e<<17|t<<2}function Ai(e){return e>>17&32767}function Ni(e){return 2|e}function wi(e){return(131068&e)>>2}function Ii(e,t){return-131069&e|t<<2}function Mi(e){return 1|e}function ki(e,t){var n=e.contentQueries;if(null!==n)for(var a=0;a20&&Oi(e,t,20,rt()),n(a,i)}finally{Ct(r)}}function zi(e,t,n){if(be(t))for(var a=t.directiveEnd,i=t.directiveStart;i2&&void 0!==arguments[2]?arguments[2]:ze,a=t.localNames;if(null!==a)for(var i=t.index+1,r=0;r0;){var n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=l&&s.push(l),s.push(a,i,o)}}function Ki(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Zi(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Xi(e,t,n){if(n){if(t.exportAs)for(var a=0;a0&&or(n)}}function or(e){for(var t=Ga(e);null!==t;t=Va(t))for(var n=10;n0&&or(a)}var r=e[1].components;if(null!==r)for(var o=0;o0&&or(s)}}function sr(e,t){var n=He(t,e),a=n[1];!function(e,t){for(var n=t.length;n1&&void 0!==arguments[1]?arguments[1]:Rn;if(t===Rn){var n=new Error("NullInjectorError: No provider for ".concat(b(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),br=new _n("Set Injector scope."),Tr={},Cr={};function Or(){return void 0===yr&&(yr=new Sr),yr}function Rr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3?arguments[3]:void 0;return new Ar(e,n,t||Or(),a)}var Ar=function(){function e(t,n,a){var i=this,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;m(this,e),this.parent=a,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var o=[];n&&vn(n,function(e){return i.processProvider(e,t,n)}),vn([t],function(e){return i.processInjectorType(e,[],o)}),this.records.set(Er,Ir(void 0,this));var s=this.records.get(br);this.scope=null!=s?s.value:null,this.source=r||("object"==typeof t?null:b(t))}return v(e,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rn,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:V.Default;this.assertNotDestroyed();var a,i=wn(this);try{if(!(n&V.SkipSelf)){var r=this.records.get(e);if(void 0===r){var o=("function"==typeof(a=e)||"object"==typeof a&&a instanceof _n)&&D(e);r=o&&this.injectableDefInScope(o)?Ir(Nr(e),Tr):null,this.records.set(e,r)}if(null!=r)return this.hydrate(e,r)}return(n&V.Self?Or():this.parent).get(e,t=n&V.Optional&&t===Rn?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(b(e)),i)throw s;return function(e,t,n,a){var i=e.ngTempTokenPath;throw t.__source&&i.unshift(t.__source),e.message=function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var i=b(t);if(Array.isArray(t))i=t.map(b).join(" -> ");else if("object"==typeof t){var r=[];for(var o in t)if(t.hasOwnProperty(o)){var s=t[o];r.push(o+":"+("string"==typeof s?JSON.stringify(s):b(s)))}i="{".concat(r.join(", "),"}")}return"".concat(n).concat(a?"("+a+")":"","[").concat(i,"]: ").concat(e.replace(An,"\n "))}("\n"+e.message,i,"R3InjectorError",a),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(s,e,0,this.source)}throw s}finally{wn(i)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach(function(t){return e.get(t)})}},{key:"toString",value:function(){var e=[];return this.records.forEach(function(t,n){return e.push(b(n))}),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,t,n){var a=this;if(!(e=R(e)))return!1;var i=P(e),r=null==i&&e.ngModule||void 0,o=void 0===r?e:r,s=-1!==n.indexOf(o);if(void 0!==r&&(i=P(r)),null==i)return!1;if(null!=i.imports&&!s){var l;n.push(o);try{vn(i.imports,function(e){a.processInjectorType(e,t,n)&&(void 0===l&&(l=[]),l.push(e))})}finally{}if(void 0!==l)for(var c=function(e){var t=l[e],n=t.ngModule,i=t.providers;vn(i,function(e){return a.processProvider(e,n,i||ee)})},u=0;u0){var n=Sn(t,"?");throw new Error("Can't resolve all parameters for ".concat(b(e),": (").concat(n.join(", "),")."))}var a=function(e){var t=e&&(e[U]||e[z]);if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(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 "').concat(n,'" class.')),t}return null}(e);return null!==a?function(){return a.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function wr(e,t,a){var i,r;if(kr(e)){var o=R(e);return Re(o)||Nr(o)}if(Mr(e))i=function(){return R(e.useValue)};else if((r=e)&&r.useFactory)i=function(){return e.useFactory.apply(e,d(xn(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))i=function(){return Mn(R(e.useExisting))};else{var s=R(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return Re(s)||Nr(s);i=function(){return n(s,d(xn(e.deps)))}}return i}function Ir(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function Mr(e){return null!==e&&"object"==typeof e&&Nn in e}function kr(e){return"function"==typeof e}var xr=function(e,t,n){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3?arguments[3]:void 0,i=Rr(e,t,n,a);return i._resolveInjectorDefTypes(),i}({name:n},t,e,n)},Dr=function(){function e(){m(this,e)}return v(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?xr(e,t,""):xr(e.providers,e.parent,e.name||"")}}]),e}();function Lr(e,t){Rt(Ia(e)[1],et())}function Pr(e){for(var t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0,a=[e];t;){var i=void 0;if(Oe(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);var r=e;r.inputs=Fr(e.inputs),r.declaredInputs=Fr(e.declaredInputs),r.outputs=Fr(e.outputs);var o=i.hostBindings;o&&zr(e,o);var s=i.viewQuery,l=i.contentQueries;if(s&&Ur(e,s),l&&Br(e,l),S(e.inputs,i.inputs),S(e.declaredInputs,i.declaredInputs),S(e.outputs,i.outputs),Oe(i)&&i.data.animation){var c=e.data;c.animation=(c.animation||[]).concat(i.data.animation)}}var u=i.features;if(u)for(var d=0;d=0;a--){var i=e[a];i.hostVars=t+=i.hostVars,i.hostAttrs=Pt(i.hostAttrs,n=Pt(n,i.hostAttrs))}}(a)}function Fr(e){return e===J?{}:e===ee?[]:e}function Ur(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,a){t(e,a),n(e,a)}:t}function Br(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,a,i){t(e,a,i),n(e,a,i)}:t}function zr(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,a){t(e,a),n(e,a)}:t}Dr.THROW_IF_NOT_FOUND=Rn,Dr.NULL=new Sr,Dr.\u0275prov=k({token:Dr,providedIn:"any",factory:function(){return Mn(Er)}}),Dr.__NG_ELEMENT_ID__=-1;var Gr=null;function Vr(){if(!Gr){var e=X.Symbol;if(e&&e.iterator)Gr=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n1&&void 0!==arguments[1]?arguments[1]:V.Default,n=Ze();return null===n?Mn(e,t):Zt(et(),n,R(e),t)}function eo(e,t,n){var a=Ze();return Wr(a,ct(),t)&&Wi(Xe(),Ot(),a,e,t,a[11],n,!1),eo}function to(e,t,n,a,i){var r=i?"class":"style";fr(e,n,t.inputs[r],r,a)}function no(e,t,n,a){var i=Ze(),r=Xe(),o=20+e,s=i[11],l=i[o]=qa(s,t,$e.lFrame.currentNamespace),c=r.firstCreatePass?function(e,t,n,a,i,r,o){var s=t.consts,l=Di(t,e,2,i,je(s,r));return Qi(t,n,l,je(s,o)),null!==l.attrs&&vr(l,l.attrs,!1),null!==l.mergedAttrs&&vr(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(o,r,i,0,t,n,a):r.data[o];nt(c,!0);var u=c.mergedAttrs;null!==u&&xt(s,l,u);var d=c.classes;null!==d&&di(s,l,d);var h=c.styles;null!==h&&ui(s,l,h),64!=(64&c.flags)&&ai(r,i,l,c),0===$e.lFrame.elementDepthCount&&wa(l,i),$e.lFrame.elementDepthCount++,Ce(c)&&(Gi(r,i,c),zi(r,c,i)),null!==a&&Vi(i,c)}function ao(){var e=et();at()?it():nt(e=e.parent,!1);var t=e;$e.lFrame.elementDepthCount--;var n=Xe();n.firstCreatePass&&(Rt(n,e),be(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&to(n,t,Ze(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&to(n,t,Ze(),t.stylesWithoutHost,!1)}function io(e,t,n,a){no(e,t,n,a),ao()}function ro(e,t,n){var a=Ze(),i=Xe(),r=e+20,o=i.firstCreatePass?function(e,t,n,a,i){var r=t.consts,o=je(r,a),s=Di(t,e,8,"ng-container",o);return null!==o&&vr(s,o,!0),Qi(t,n,s,je(r,i)),null!==t.queries&&t.queries.elementStart(t,s),s}(r,i,a,t,n):i.data[r];nt(o,!0);var s=a[r]=a[11].createComment("");ai(i,a,s,o),wa(s,a),Ce(o)&&(Gi(i,a,o),zi(i,o,a)),null!=n&&Vi(a,o)}function oo(){var e=et(),t=Xe();at()?it():nt(e=e.parent,!1),t.firstCreatePass&&(Rt(t,e),be(e)&&t.queries.elementEnd(e))}function so(e,t,n){ro(e,t,n),oo()}function lo(){return Ze()}function co(e){return!!e&&"function"==typeof e.then}function uo(e){return!!e&&"function"==typeof e.subscribe}var ho=uo;function _o(e,t,n,a){var i=Ze(),r=Xe(),o=et();return function(e,t,n,a,i,r,o,s){var l=Ce(a),c=e.firstCreatePass&&gr(e),u=pr(t),d=!0;if(3&a.type||s){var h=ze(a,t),_=s?s(h):h,p=u.length,g=s?function(e){return s(Ue(e[a.index]))}:a.index;if(Pe(n)){var m=null;if(!s&&l&&(m=function(e,t,n,a){var i=e.cleanup;if(null!=i)for(var r=0;rl?s[l]:null}"string"==typeof o&&(r+=2)}return null}(e,t,i,a.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=r,m.__ngLastListenerFn__=r,d=!1;else{r=go(a,t,0,r,!1);var f=n.listen(_,i,r);u.push(r,f),c&&c.push(i,g,p,p+1)}}else r=go(a,t,0,r,!0),_.addEventListener(i,r,o),u.push(r),c&&c.push(i,g,p,o)}else r=go(a,t,0,r,!1);var v,y=a.outputs;if(d&&null!==y&&(v=y[i])){var E=v.length;if(E)for(var S=0;S0&&void 0!==arguments[0]?arguments[0]:1;return function(e){return($e.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,$e.lFrame.contextLView))[8]}(e)}function fo(e,t){for(var n=null,a=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e),i=0;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,a=Ze(),i=Xe(),r=Di(i,20+e,16,null,n||null);null===r.projection&&(r.projection=t),it(),64!=(64&r.flags)&&function(e,t,n){ci(t[11],0,t,n,Ka(e,n,t),ti(n.parent||t[6],n,t))}(i,a,r)}function Eo(e,t,n){return So(e,"",t,"",n),Eo}function So(e,t,n,a,i){var r=Ze(),o=Kr(r,t,n,a);return o!==Ti&&Wi(Xe(),Ot(),r,e,o,r[11],i,!1),So}function bo(e,t,n,a,i,r,o){var s=Ze(),l=function(e,t,n,a,i,r){var o=Qr(e,lt(),n,i);return ut(2),o?t+w(n)+a+w(i)+r:Ti}(s,t,n,a,i,r);return l!==Ti&&Wi(Xe(),Ot(),s,e,l,s[11],o,!1),bo}function To(e,t,n,a,i){for(var r=e[n+1],o=null===t,s=a?Ai(r):wi(r),l=!1;0!==s&&(!1===l||o);){var c=e[s+1];Co(e[s],t)&&(l=!0,e[s+1]=a?Mi(c):Ni(c)),s=a?Ai(c):wi(c)}l&&(e[n+1]=a?Ni(r):Mi(r))}function Co(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Cn(e,t)>=0}var Oo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ro(e){return e.substring(Oo.key,Oo.keyEnd)}function Ao(e,t){var n=Oo.textEnd;return n===t?-1:(t=Oo.keyEnd=function(e,t,n){for(;t32;)t++;return t}(e,Oo.key=t,n),No(e,t,n))}function No(e,t,n){for(;t=0;n=Ao(t,n))bn(e,Ro(t),!0)}function xo(e,t,n,a){var i=Ze(),r=Xe(),o=ut(2);r.firstUpdatePass&&Po(r,e,o,a),t!==Ti&&Wr(i,o,t)&&Bo(r,r.data[Tt()],i,i[11],e,i[o+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=b(Qn(e)))),e}(t,n),a,o)}function Do(e,t,n,a){var i=Xe(),r=ut(2);i.firstUpdatePass&&Po(i,null,r,a);var o=Ze();if(n!==Ti&&Wr(o,r,n)){var s=i.data[Tt()];if(Vo(s,a)&&!Lo(i,r)){var l=a?s.classesWithoutHost:s.stylesWithoutHost;null!==l&&(n=T(l,n||"")),to(i,s,o,n,a)}else!function(e,t,n,a,i,r,o,s){i===Ti&&(i=ee);for(var l=0,c=0,u=0=e.expandoStartIndex}function Po(e,t,n,a){var i=e.data;if(null===i[n+1]){var r=i[Tt()],o=Lo(e,n);Vo(r,a)&&null===t&&!o&&(t=!1),t=function(e,t,n,a){var i=ht(e),r=a?t.residualClasses:t.residualStyles;if(null===i)0===(a?t.classBindings:t.styleBindings)&&(n=Uo(n=Fo(null,e,t,n,a),t.attrs,a),r=null);else{var o=t.directiveStylingLast;if(-1===o||e[o]!==i)if(n=Fo(i,e,t,n,a),null===r){var s=function(e,t,n){var a=n?t.classBindings:t.styleBindings;if(0!==wi(a))return e[Ai(a)]}(e,t,a);void 0!==s&&Array.isArray(s)&&function(e,t,n,a){e[Ai(n?t.classBindings:t.styleBindings)]=a}(e,t,a,s=Uo(s=Fo(null,e,t,s[1],a),t.attrs,a))}else r=function(e,t,n){for(var a,i=t.directiveEnd,r=1+t.directiveStylingLast;r0)&&(u=!0)}else c=n;if(i)if(0!==l){var h=Ai(e[s+1]);e[a+1]=Ri(h,s),0!==h&&(e[h+1]=Ii(e[h+1],a)),e[s+1]=131071&e[s+1]|a<<17}else e[a+1]=Ri(s,0),0!==s&&(e[s+1]=Ii(e[s+1],a)),s=a;else e[a+1]=Ri(l,0),0===s?s=a:e[l+1]=Ii(e[l+1],a),l=a;u&&(e[a+1]=Ni(e[a+1])),To(e,c,a,!0),To(e,c,a,!1),function(e,t,n,a,i){var r=i?e.residualClasses:e.residualStyles;null!=r&&"string"==typeof t&&Cn(r,t)>=0&&(n[a+1]=Mi(n[a+1]))}(t,c,e,a,r),o=Ri(s,l),r?t.classBindings=o:t.styleBindings=o}(i,r,t,n,o,a)}}function Fo(e,t,n,a,i){var r=null,o=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s0;){var l=e[i],c=Array.isArray(l),u=c?l[1]:l,d=null===u,h=n[i+1];h===Ti&&(h=d?ee:void 0);var _=d?Tn(h,a):u===a?h:void 0;if(c&&!Go(_)&&(_=Tn(l,a)),Go(_)&&(o=_,s))return o;var p=e[i+1];i=s?Ai(p):wi(p)}if(null!==t){var g=r?t.residualClasses:t.residualStyles;null!=g&&(o=Tn(g,a))}return o}function Go(e){return void 0!==e}function Vo(e,t){return 0!=(e.flags&(t?16:32))}function Ho(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Ze(),a=Xe(),i=e+20,r=a.firstCreatePass?Di(a,i,1,t,null):a.data[i],o=n[i]=function(e,t){return Pe(e)?e.createText(t):e.createTextNode(t)}(n[11],t);ai(a,n,o,r),nt(r,!1)}function Yo(e){return qo("",e,""),Yo}function qo(e,t,n){var a=Ze(),i=Kr(a,e,t,n);return i!==Ti&&function(e,t,n){var a=Be(t,e);!function(e,t,n){Pe(e)?e.setValue(t,n):t.textContent=n}(e[11],a,n)}(a,Tt(),i),qo}function jo(e,t,n){Do(bn,ko,Kr(Ze(),e,t,n),!0)}function Wo(e,t,n){var a=Ze();return Wr(a,ct(),t)&&Wi(Xe(),Ot(),a,e,t,a[11],n,!0),Wo}function Qo(e,t,n){var a=Ze();if(Wr(a,ct(),t)){var i=Xe(),r=Ot();Wi(i,r,a,e,t,function(e,t,n){return(null===e||Oe(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]}(ht(i.data),r,a),n,!0)}return Qo}var $o=void 0,Ko=["en",[["a","p"],["AM","PM"],$o],[["AM","PM"],$o,$o],[["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"]],$o,[["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"]],$o,[["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}",$o,"{1} 'at' {0}",$o],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],Zo={};function Xo(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=es(t);if(n)return n;var a=t.split("-")[0];if(n=es(a))return n;if("en"===a)return Ko;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}function Jo(e){return Xo(e)[ts.PluralCase]}function es(e){return e in Zo||(Zo[e]=X.ng&&X.ng.common&&X.ng.common.locales&&X.ng.common.locales[e]),Zo[e]}var ts=((ts=ts||{})[ts.LocaleId=0]="LocaleId",ts[ts.DayPeriodsFormat=1]="DayPeriodsFormat",ts[ts.DayPeriodsStandalone=2]="DayPeriodsStandalone",ts[ts.DaysFormat=3]="DaysFormat",ts[ts.DaysStandalone=4]="DaysStandalone",ts[ts.MonthsFormat=5]="MonthsFormat",ts[ts.MonthsStandalone=6]="MonthsStandalone",ts[ts.Eras=7]="Eras",ts[ts.FirstDayOfWeek=8]="FirstDayOfWeek",ts[ts.WeekendRange=9]="WeekendRange",ts[ts.DateFormat=10]="DateFormat",ts[ts.TimeFormat=11]="TimeFormat",ts[ts.DateTimeFormat=12]="DateTimeFormat",ts[ts.NumberSymbols=13]="NumberSymbols",ts[ts.NumberFormats=14]="NumberFormats",ts[ts.CurrencyCode=15]="CurrencyCode",ts[ts.CurrencySymbol=16]="CurrencySymbol",ts[ts.CurrencyName=17]="CurrencyName",ts[ts.Currencies=18]="Currencies",ts[ts.Directionality=19]="Directionality",ts[ts.PluralCase=20]="PluralCase",ts[ts.ExtraData=21]="ExtraData",ts);function ns(e){var t;null==(t=e)&&function(e,t,n,a){throw new Error("ASSERTION ERROR: ".concat("Expected localeId to be defined"," [Expected=> null != ").concat(t," <=Actual]"))}(0,t),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}function as(e,t,n,a,i){if(e=R(e),Array.isArray(e))for(var r=0;r>20;if(kr(e)||!e.multi){var p=new kt(c,i,Jr),g=os(l,t,i?d:d+_,h);-1===g?(Qt(Yt(u,s),o,l),is(o,e,t.length),t.push(l),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(p),s.push(p)):(n[g]=p,s[g]=p)}else{var m=os(l,t,d+_,h),f=os(l,t,d,d+_),v=m>=0&&n[m],y=f>=0&&n[f];if(i&&!y||!i&&!v){Qt(Yt(u,s),o,l);var E=function(e,t,n,a,i){var r=new kt(e,n,Jr);return r.multi=[],r.index=t,r.componentProviders=0,rs(r,i,a&&!n),r}(i?ls:ss,n.length,i,a,c);!i&&y&&(n[f].providerFactory=E),is(o,e,t.length,0),t.push(l),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(E),s.push(E)}else is(o,e,m>-1?m:f,rs(n[i?f:m],c,!i&&a));!i&&a&&y&&n[f].componentProviders++}}}function is(e,t,n,a){var i=kr(t);if(i||t.useClass){var r=(t.useClass||t).prototype.ngOnDestroy;if(r){var o=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){var s=o.indexOf(n);-1===s?o.push(n,[a,r]):o[s+1].push(a,r)}else o.push(n,r)}}}function rs(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function os(e,t,n,a){for(var i=n;i1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,a){return function(e,t,n){var a=Xe();if(a.firstCreatePass){var i=Oe(e);as(n,a.data,a.blueprint,i,!0),as(t,a.data,a.blueprint,i,!1)}}(n,a?a(e):e,t)}}}var ds=function e(){m(this,e)},hs=function(){function e(){m(this,e)}return v(e,[{key:"resolveComponentFactory",value:function(e){throw function(e){var t=Error("No component factory found for ".concat(b(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),_s=function e(){m(this,e)};function ps(){}function gs(e,t){return new fs(ze(e,t))}_s.NULL=new hs;var ms=function(){return gs(et(),Ze())},fs=function(){var e=function e(t){m(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=ms,e}();function vs(e){return e instanceof fs?e.nativeElement:e}var ys=function e(){m(this,e)},Es=function(){var e=function e(){m(this,e)};return e.__NG_ELEMENT_ID__=function(){return Ss()},e}(),Ss=function(){var e=Ze(),t=He(et().index,e);return function(e){return e[11]}(Ee(t)?t:e)},bs=function(){var e=function e(){m(this,e)};return e.\u0275prov=k({token:e,providedIn:"root",factory:function(){return null}}),e}(),Ts=function e(t){m(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},Cs=new Ts("12.1.0"),Os=function(){function e(){m(this,e)}return v(e,[{key:"supports",value:function(e){return Yr(e)}},{key:"create",value:function(e){return new As(e)}}]),e}(),Rs=function(e,t){return t},As=function(){function e(t){m(this,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=t||Rs}return v(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,a=0,i=null;t||n;){var r=!n||t&&t.currentIndex4&&void 0!==arguments[4]&&arguments[4];null!==n;){var r=t[n.index];if(null!==r&&a.push(Ue(r)),Se(r))for(var o=10;o-1&&(Wa(e,n),En(t,n))}this._attachedToViewContainer=!1}Qa(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){qi(this._lView[1],this._lView,null,e)}},{key:"markForCheck",value:function(){cr(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){ur(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){ot(!0);try{ur(e,t,n)}finally{ot(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,li(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}]),e}(),Gs=function(e){i(n,e);var t=o(n);function n(e){var a;return m(this,n),(a=t.call(this,e))._view=e,a}return v(n,[{key:"detectChanges",value:function(){dr(this._view)}},{key:"checkNoChanges",value:function(){!function(e){ot(!0);try{dr(e)}finally{ot(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(zs),Vs=function(e){return function(e,t,n){if(Te(e)&&!n){var a=He(e.index,t);return new zs(a,a)}return 47&e.type?new zs(t[16],t):null}(et(),Ze(),16==(16&e))},Hs=function(){var e=function e(){m(this,e)};return e.__NG_ELEMENT_ID__=Vs,e}(),Ys=[new ks],qs=new Ps([new Os]),js=new Us(Ys),Ws=function(){return Ks(et(),Ze())},Qs=function(){var e=function e(){m(this,e)};return e.__NG_ELEMENT_ID__=Ws,e}(),$s=function(e){i(n,e);var t=o(n);function n(e,a,i){var r;return m(this,n),(r=t.call(this))._declarationLView=e,r._declarationTContainer=a,r.elementRef=i,r}return v(n,[{key:"createEmbeddedView",value:function(e){var t=this._declarationTContainer.tViews,n=xi(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];var a=this._declarationLView[19];return null!==a&&(n[19]=a.createEmbeddedView(t)),Pi(t,n,e),new zs(n)}}]),n}(Qs);function Ks(e,t){return 4&e.type?new $s(t,e,gs(e,t)):null}var Zs=function e(){m(this,e)},Xs=function e(){m(this,e)},Js=function(){return il(et(),Ze())},el=function(){var e=function e(){m(this,e)};return e.__NG_ELEMENT_ID__=Js,e}(),tl=function(e){i(n,e);var t=o(n);function n(e,a,i){var r;return m(this,n),(r=t.call(this))._lContainer=e,r._hostTNode=a,r._hostLView=i,r}return v(n,[{key:"element",get:function(){return gs(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new on(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var e=Wt(this._hostTNode,this._hostLView);if(Ut(e)){var t=zt(e,this._hostLView),n=Bt(e);return new on(t[1].data[n+8],t)}return new on(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(e){var t=nl(this._lContainer);return null!==t&&t[e]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(e,t,n){var a=e.createEmbeddedView(t||{});return this.insert(a,n),a}},{key:"createComponent",value:function(e,t,n,a,i){var r=n||this.parentInjector;if(!i&&null==e.ngModule&&r){var o=r.get(Zs,null);o&&(i=o)}var s=e.create(r,a,void 0,i);return this.insert(s.hostView,t),s}},{key:"insert",value:function(e,t){var a=e._lView,i=a[1];if(Se(a[3])){var r=this.indexOf(e);if(-1!==r)this.detach(r);else{var o=a[3],s=new n(o,o[6],o[3]);s.detach(s.indexOf(e))}}var l=this._adjustIndex(t),c=this._lContainer;!function(e,t,n,a){var i=10+a,r=n.length;a>0&&(n[i-1][4]=t),a1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}}]),n}(el);function nl(e){return e[8]}function al(e){return e[8]||(e[8]=[])}function il(e,t){var n,a=t[e.index];if(Se(a))n=a;else{var i;if(8&e.type)i=Ue(a);else{var r=t[11];i=r.createComment("");var o=ze(e,t);Za(r,ei(r,o),i,function(e,t){return Pe(e)?e.nextSibling(t):t.nextSibling}(r,o),!1)}t[e.index]=n=ir(a,t,i,e),lr(t,n)}return new tl(n,e,t)}var rl={},ol=function(e){i(n,e);var t=o(n);function n(e){var a;return m(this,n),(a=t.call(this)).ngModule=e,a}return v(n,[{key:"resolveComponentFactory",value:function(e){var t=ve(e);return new cl(t,this.ngModule)}}]),n}(_s);function sl(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var ll=new _n("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return La}}),cl=function(e){i(n,e);var t=o(n);function n(e,a){var i;return m(this,n),(i=t.call(this)).componentDef=e,i.ngModule=a,i.componentType=e.type,i.selector=e.selectors.map(bi).join(","),i.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],i.isBoundToModule=!!a,i}return v(n,[{key:"inputs",get:function(){return sl(this.componentDef.inputs)}},{key:"outputs",get:function(){return sl(this.componentDef.outputs)}},{key:"create",value:function(e,t,n,a){var i,r,o=(a=a||this.ngModule)?function(e,t){return{get:function(n,a,i){var r=e.get(n,rl,i);return r!==rl||a===rl?r:t.get(n,a,i)}}}(e,a.injector):e,s=o.get(ys,Fe),l=o.get(bs,null),c=s.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=n?function(e,t,n){if(Pe(e))return e.selectRootElement(t,n===W.ShadowDom);var a="string"==typeof t?e.querySelector(t):t;return a.textContent="",a}(c,n,this.componentDef.encapsulation):qa(s.createRenderer(null,this.componentDef),u,function(e){var t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(u)),h=this.componentDef.onPush?576:528,_={components:[],scheduler:La,clean:_r,playerHandler:null,flags:0},p=Yi(0,null,null,1,0,null,null,null,null,null),g=xi(null,p,_,h,null,null,s,c,l,o);ft(g);try{var m=function(e,t,n,a,i,r){var o=n[1];n[20]=e;var s=Di(o,20,2,"#host",null),l=s.mergedAttrs=t.hostAttrs;null!==l&&(vr(s,l,!0),null!==e&&(xt(i,e,l),null!==s.classes&&di(i,e,s.classes),null!==s.styles&&ui(i,e,s.styles)));var c=a.createRenderer(e,t),u=xi(n,Hi(t),null,t.onPush?64:16,n[20],s,a,c,null,null);return o.firstCreatePass&&(Qt(Yt(s,n),o,t.type),Zi(o,s),Ji(s,n.length,1)),lr(n,u),n[20]=u}(d,this.componentDef,g,s,c);if(d)if(n)xt(c,d,["ng-version",Cs.full]);else{var f=function(e){for(var t=[],n=[],a=1,i=2;a0&&di(c,d,y.join(" "))}if(r=Ge(p,20),void 0!==t)for(var E=r.projection=[],S=0;S1&&void 0!==arguments[1]?arguments[1]:Dr.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:V.Default;return e===Dr||e===Zs||e===Er?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),n}(Zs),_l=function(e){i(n,e);var t=o(n);function n(e){var a,i,r;return m(this,n),(a=t.call(this)).moduleType=e,null!==ye(e)&&(i=e,r=new Set,function e(t){var n=ye(t,!0),a=n.id;null!==a&&(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(b(t)," vs ").concat(b(t.name)))}(a,dl.get(a),t),dl.set(a,t));var i,o=h(Fa(n.imports));try{for(o.s();!(i=o.n()).done;){var s=i.value;r.has(s)||(r.add(s),e(s))}}catch(l){o.e(l)}finally{o.f()}}(i)),a}return v(n,[{key:"create",value:function(e){return new hl(this.moduleType,e)}}]),n}(Xs);function pl(e,t,n){var a=st()+e,i=Ze();return i[a]===Ti?jr(i,a,n?t.call(n):t()):function(e,t){return e[t]}(i,a)}function gl(e,t,n,a){return fl(Ze(),st(),e,t,n,a)}function ml(e,t){var n=e[t];return n===Ti?void 0:n}function fl(e,t,n,a,i,r){var o=t+n;return Wr(e,o,i)?jr(e,o+1,r?a.call(r,i):a(i)):ml(e,o+1)}function vl(e,t){var n,a=Xe(),i=e+20;a.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var a=t[n];if(e===a.name)return a}throw new N("302","The pipe '".concat(e,"' could not be found!"))}(t,a.pipeRegistry),a.data[i]=n,n.onDestroy&&(a.destroyHooks||(a.destroyHooks=[])).push(i,n.onDestroy)):n=a.data[i];var r=n.factory||(n.factory=Re(n.type)),o=H(Jr);try{var s=Vt(!1),l=r();return Vt(s),function(e,t,n,a){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=a}(a,Ze(),i,l),l}finally{H(o)}}function yl(e,t,n){var a=e+20,i=Ze(),r=Ve(i,a);return Tl(i,bl(i,a)?fl(i,st(),t,r.transform,n,r):r.transform(n))}function El(e,t,n,a){var i=e+20,r=Ze(),o=Ve(r,i);return Tl(r,bl(r,i)?function(e,t,n,a,i,r,o){var s=t+n;return Qr(e,s,i,r)?jr(e,s+2,o?a.call(o,i,r):a(i,r)):ml(e,s+2)}(r,st(),t,o.transform,n,a,o):o.transform(n,a))}function Sl(e,t,n,a,i){var r=e+20,o=Ze(),s=Ve(o,r);return Tl(o,bl(o,r)?function(e,t,n,a,i,r,o,s){var l=t+n;return function(e,t,n,a,i){var r=Qr(e,t,n,a);return Wr(e,t+2,i)||r}(e,l,i,r,o)?jr(e,l+3,s?a.call(s,i,r,o):a(i,r,o)):ml(e,l+3)}(o,st(),t,s.transform,n,a,i,s):s.transform(n,a,i))}function bl(e,t){return e[1].data[t].pure}function Tl(e,t){return Hr.isWrapped(t)&&(t=Hr.unwrap(t),e[lt()]=Ti),t}function Cl(e){return function(t){setTimeout(e,void 0,t)}}var Ol=function(e){i(n,e);var t=o(n);function n(){var e,a=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return m(this,n),(e=t.call(this)).__isAsync=a,e}return v(n,[{key:"emit",value:function(e){a(u(n.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,i){var r,o,s,l=e,c=t||function(){return null},d=i;if(e&&"object"==typeof e){var h=e;l=null===(r=h.next)||void 0===r?void 0:r.bind(h),c=null===(o=h.error)||void 0===o?void 0:o.bind(h),d=null===(s=h.complete)||void 0===s?void 0:s.bind(h)}this.__isAsync&&(c=Cl(c),l&&(l=Cl(l)),d&&(d=Cl(d)));var _=a(u(n.prototype),"subscribe",this).call(this,{next:l,error:c,complete:d});return e instanceof p.w&&e.add(_),_}}]),n}(c.xQ);function Rl(){return this._results[Vr()]()}var Al=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];m(this,e),this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var n=Vr(),a=e.prototype;a[n]||(a[n]=Rl)}return v(e,[{key:"changes",get:function(){return this._changes||(this._changes=new Ol)}},{key:"get",value:function(e){return this._results[e]}},{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e,t){this.dirty=!1;var n=fn(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(var a=0;a0&&void 0!==arguments[0]?arguments[0]:[];m(this,e),this.queries=t}return v(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var a=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[],r=0;r2&&void 0!==arguments[2]?arguments[2]:null;m(this,e),this.predicate=t,this.flags=n,this.read=a},Ml=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];m(this,e),this.queries=t}return v(e,[{key:"elementStart",value:function(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:-1;m(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return v(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){var n=this.metadata.predicate;if(Array.isArray(n))for(var a=0;a0)a.push(o[s/2]);else{for(var c=r[s+1],u=t[-l],d=10;d0&&(i=setTimeout(function(){a._callbacks=a._callbacks.filter(function(e){return e.timeoutId!==i}),e(a._didWork,a.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}},{key:"whenStable",value:function(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()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Mn(pc))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e}(),bc=function(){var e=function(){function e(){m(this,e),this._applications=new Map,Oc.addToWindow(this)}return v(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Oc.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e}();function Tc(e){Oc=e}var Cc,Oc=new(function(){function e(){m(this,e)}return v(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),Rc=!0,Ac=!1;function Nc(){return Ac=!0,Rc}function wc(){if(Ac)throw new Error("Cannot enable prod mode after platform setup.");Rc=!1}var Ic=new _n("AllowMultipleToken"),Mc=function e(t,n){m(this,e),this.name=t,this.token=n};function kc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a="Platform: ".concat(t),i=new _n(a);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=xc();if(!r||r.injector.get(Ic,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{var o=n.concat(t).concat({provide:i,useValue:!0},{provide:br,useValue:"platform"});!function(e){if(Cc&&!Cc.destroyed&&!Cc.injector.get(Ic,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Cc=e.get(Dc);var t=e.get(Xl,null);t&&t.forEach(function(e){return e()})}(Dr.create({providers:o,name:a}))}return function(e){var t=xc();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 xc(){return Cc&&!Cc.destroyed?Cc:null}var Dc=function(){var e=function(){function e(t){m(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return v(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,a,i=this,r=(n=t?t.ngZone:void 0,a={ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1},"noop"===n?new Ec:("zone.js"===n?void 0:n)||new pc({enableLongStackTrace:Nc(),shouldCoalesceEventChangeDetection:!!(null==a?void 0:a.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==a?void 0:a.ngZoneRunCoalescing)})),o=[{provide:pc,useValue:r}];return r.run(function(){var t=Dr.create({providers:o,parent:i.injector,name:e.moduleType.name}),n=e.create(t),a=n.injector.get(Da,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return r.runOutsideAngular(function(){var e=r.onError.subscribe({next:function(e){a.handleError(e)}});n.onDestroy(function(){Fc(i._modules,n),e.unsubscribe()})}),function(e,t,a){try{var r=((o=n.injector.get(Ql)).runInitializers(),o.donePromise.then(function(){return ns(n.injector.get(nc,"en-US")||"en-US"),i._moduleDoBootstrap(n),n}));return co(r)?r.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):r}catch(s){throw t.runOutsideAngular(function(){return e.handleError(s)}),s}var o}(a,r)})}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=Lc({},n);return function(e,t,n){var a=new _l(n);return Promise.resolve(a)}(0,0,e).then(function(e){return t.bootstrapModuleFactory(e,a)})}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(Pc);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(b(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)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Mn(Dr))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e}();function Lc(e,t){return Array.isArray(t)?t.reduce(Lc,e):Object.assign(Object.assign({},e),t)}var Pc=function(){var e=function(){function e(t,n,a,i,r){var o=this;m(this,e),this._zone=t,this._injector=n,this._exceptionHandler=a,this._componentFactoryResolver=i,this._initStatus=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){o._zone.run(function(){o.tick()})}});var s=new g.y(function(e){o._stable=o._zone.isStable&&!o._zone.hasPendingMacrotasks&&!o._zone.hasPendingMicrotasks,o._zone.runOutsideAngular(function(){e.next(o._stable),e.complete()})}),l=new g.y(function(e){var t;o._zone.runOutsideAngular(function(){t=o._zone.onStable.subscribe(function(){pc.assertNotInAngularZone(),_c(function(){o._stable||o._zone.hasPendingMacrotasks||o._zone.hasPendingMicrotasks||(o._stable=!0,e.next(!0))})})});var n=o._zone.onUnstable.subscribe(function(){pc.assertInAngularZone(),o._stable&&(o._stable=!1,o._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=(0,f.T)(s,l.pipe((0,y.B)()))}return v(e,[{key:"bootstrap",value:function(e,t){var n,a=this;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.");n=e instanceof ds?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=n.isBoundToModule?void 0:this._injector.get(Zs),r=n.create(Dr.NULL,[],t||n.selector,i),o=r.location.nativeElement,s=r.injector.get(Sc,null),l=s&&r.injector.get(bc);return s&&l&&l.registerApplication(o,s),r.onDestroy(function(){a.detachView(r.hostView),Fc(a.components,r),l&&l.unregisterApplication(o)}),this._loadComponent(r),r}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t,n=h(this._views);try{for(n.s();!(t=n.n()).done;){t.value.detectChanges()}}catch(a){n.e(a)}finally{n.f()}}catch(i){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(i)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;Fc(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(ec,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(e){return e.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Mn(pc),Mn(Dr),Mn(Da),Mn(_s),Mn(Ql))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e}();function Fc(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Uc=function e(){m(this,e)},Bc=function e(){m(this,e)},zc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Gc=function(){var e=function(){function e(t,n){m(this,e),this._compiler=t,this._config=n||zc}return v(e,[{key:"load",value:function(e){return this.loadAndCompile(e)}},{key:"loadAndCompile",value:function(e){var t=this,n=_(e.split("#"),2),a=n[0],i=n[1];return void 0===i&&(i="default"),s(98255)(a).then(function(e){return e[i]}).then(function(e){return Vc(e,a,i)}).then(function(e){return t._compiler.compileModuleAsync(e)})}},{key:"loadFactory",value:function(e){var t=_(e.split("#"),2),n=t[0],a=t[1],i="NgFactory";return void 0===a&&(a="default",i=""),s(98255)(this._config.factoryPathPrefix+n+this._config.factoryPathSuffix).then(function(e){return e[a+i]}).then(function(e){return Vc(e,n,a)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Mn(dc),Mn(Bc,8))},e.\u0275prov=k({token:e,factory:e.\u0275fac}),e}();function Vc(e,t,n){if(!e)throw new Error("Cannot find '".concat(n,"' in '").concat(t,"'"));return e}var Hc=function(e){return null},Yc=kc(null,"core",[{provide:Jl,useValue:"unknown"},{provide:Dc,deps:[Dr]},{provide:bc,deps:[]},{provide:tc,deps:[]}]),qc=[{provide:Pc,useClass:Pc,deps:[pc,Dr,Da,_s,Ql]},{provide:ll,deps:[pc],useFactory:function(e){var t=[];return e.onStable.subscribe(function(){for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Ql,useClass:Ql,deps:[[new Un,Wl]]},{provide:dc,useClass:dc,deps:[]},Kl,{provide:Ps,useFactory:function(){return qs},deps:[]},{provide:Us,useFactory:function(){return js},deps:[]},{provide:nc,useFactory:function(e){return ns(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new Fn(nc),new Un,new Bn]]},{provide:ac,useValue:"USD"}],jc=function(){var e=function e(t){m(this,e)};return e.\u0275fac=function(t){return new(t||e)(Mn(Pc))},e.\u0275mod=_e({type:e}),e.\u0275inj=x({providers:qc}),e}()},3679:function(e,t,n){"use strict";n.d(t,{Fj:function(){return y},NI:function(){return re},oH:function(){return Se},u5:function(){return Me},Cf:function(){return b},JU:function(){return p},JJ:function(){return H},JL:function(){return Y},F:function(){return ue},On:function(){return _e},YN:function(){return Oe},_:function(){return ve},UX:function(){return ke},EJ:function(){return Ce},kI:function(){return O},_Y:function(){return pe},Kr:function(){return we}});var a=n(37716),r=n(38583),s=n(94402),l=n(35758),c=n(88002),u=function(){var e=function(){function e(t,n){m(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return v(e,[{key:"setProperty",value:function(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"setDisabledState",value:function(e){this.setProperty("disabled",e)}}]),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}(),_=function(){var e,t=function(e){i(n,e);var t=o(n);function n(){return m(this,n),t.apply(this,arguments)}return n}(u);return t.\u0275fac=function(n){return(e||(e=a.n5z(t)))(n||t)},t.\u0275dir=a.lG2({type:t,features:[a.qOj]}),t}(),p=new a.OlP("NgValueAccessor"),g={provide:p,useExisting:(0,a.Gpc)(function(){return y}),multi:!0},f=new a.OlP("CompositionEventMode"),y=function(){var e=function(e){i(n,e);var t=o(n);function n(e,a,i){var o,s;return m(this,n),(o=t.call(this,e,a))._compositionMode=i,o._composing=!1,null==o._compositionMode&&(o._compositionMode=(s=(0,r.q)()?(0,r.q)().getUserAgent():"",!/android (\d+)/.test(s.toLowerCase()))),o}return v(n,[{key:"writeValue",value:function(e){this.setProperty("value",null==e?"":e)}},{key:"_handleInput",value:function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}]),n}(u);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.Qsj),a.Y36(a.SBq),a.Y36(f,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([g]),a.qOj]}),e}();function E(e){return null==e||0===e.length}function S(e){return null!=e&&"number"==typeof e.length}var b=new a.OlP("NgValidators"),T=new a.OlP("NgAsyncValidators"),C=/^(?=.{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])?)*$/,O=function(){function e(){m(this,e)}return v(e,null,[{key:"min",value:function(e){return function(e){return function(t){if(E(t.value)||E(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&ne?{max:{max:e,actual:t.value}}:null}}(e)}},{key:"required",value:function(e){return function(e){return E(e.value)?{required:!0}:null}(e)}},{key:"requiredTrue",value:function(e){return function(e){return!0===e.value?null:{required:!0}}(e)}},{key:"email",value:function(e){return function(e){return E(e.value)||C.test(e.value)?null:{email:!0}}(e)}},{key:"minLength",value:function(e){return function(e){return function(t){return E(t.value)||!S(t.value)?null:t.value.lengthe?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}}(e)}},{key:"pattern",value:function(e){return function(e){return e?("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),function(e){if(E(e.value))return null;var a=e.value;return t.test(a)?null:{pattern:{requiredPattern:n,actualValue:a}}}):R;var t,n}(e)}},{key:"nullValidator",value:function(e){return null}},{key:"compose",value:function(e){return k(e)}},{key:"composeAsync",value:function(e){return D(e)}}]),e}();function R(e){return null}function A(e){return null!=e}function N(e){var t=(0,a.QGY)(e)?(0,s.D)(e):e;return(0,a.CqO)(t),t}function w(e){var t={};return e.forEach(function(e){t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function I(e,t){return t.map(function(t){return t(e)})}function M(e){return e.map(function(e){return function(e){return!e.validate}(e)?e:function(t){return e.validate(t)}})}function k(e){if(!e)return null;var t=e.filter(A);return 0==t.length?null:function(e){return w(I(e,t))}}function x(e){return null!=e?k(M(e)):null}function D(e){if(!e)return null;var t=e.filter(A);return 0==t.length?null:function(e){var n=I(e,t).map(N);return(0,l.D)(n).pipe((0,c.U)(w))}}function L(e){return null!=e?D(M(e)):null}function P(e,t){return null===e?[t]:Array.isArray(e)?[].concat(d(e),[t]):[e,t]}function F(e){return e._rawValidators}function U(e){return e._rawAsyncValidators}var B=function(){var e=function(){function e(){m(this,e),this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}return v(e,[{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}},{key:"_setValidators",value:function(e){this._rawValidators=e||[],this._composedValidatorFn=x(this._rawValidators)}},{key:"_setAsyncValidators",value:function(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=L(this._rawAsyncValidators)}},{key:"validator",get:function(){return this._composedValidatorFn||null}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn||null}},{key:"_registerOnDestroy",value:function(e){this._onDestroyCallbacks.push(e)}},{key:"_invokeOnDestroyCallbacks",value:function(){this._onDestroyCallbacks.forEach(function(e){return e()}),this._onDestroyCallbacks=[]}},{key:"reset",value:function(e){this.control&&this.control.reset(e)}},{key:"hasError",value:function(e,t){return!!this.control&&this.control.hasError(e,t)}},{key:"getError",value:function(e,t){return this.control?this.control.getError(e,t):null}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e}),e}(),z=function(){var e,t=function(e){i(n,e);var t=o(n);function n(){return m(this,n),t.apply(this,arguments)}return v(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(B);return t.\u0275fac=function(n){return(e||(e=a.n5z(t)))(n||t)},t.\u0275dir=a.lG2({type:t,features:[a.qOj]}),t}(),G=function(e){i(n,e);var t=o(n);function n(){var e;return m(this,n),(e=t.apply(this,arguments))._parent=null,e.name=null,e.valueAccessor=null,e}return n}(B),V=function(){function e(t){m(this,e),this._cd=t}return v(e,[{key:"is",value:function(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])}}]),e}(),H=function(){var e=function(e){i(n,e);var t=o(n);function n(e){return m(this,n),t.call(this,e)}return n}(V);return e.\u0275fac=function(t){return new(t||e)(a.Y36(G,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}(),Y=function(){var e=function(e){i(n,e);var t=o(n);function n(e){return m(this,n),t.call(this,e)}return n}(V);return e.\u0275fac=function(t){return new(t||e)(a.Y36(z,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 q(e,t){Q(e,t),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(function(n){e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&$(e,t)})}(e,t),function(e,t){var n=function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy(function(){e._unregisterOnChange(n)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&$(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){var n=function(e){t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy(function(){e._unregisterOnDisabledChange(n)})}}(e,t)}function j(e,t){var n=function(){};t.valueAccessor&&(t.valueAccessor.registerOnChange(n),t.valueAccessor.registerOnTouched(n)),function(e,t){if(null!==e){if(null!==t.validator){var n=F(e);if(Array.isArray(n)&&n.length>0){var a=n.filter(function(e){return e!==t.validator});a.length!==n.length&&(!0,e.setValidators(a))}}if(null!==t.asyncValidator){var i=U(e);if(Array.isArray(i)&&i.length>0){var r=i.filter(function(e){return e!==t.asyncValidator});r.length!==i.length&&(!0,e.setAsyncValidators(r))}}}var o=function(){};W(t._rawValidators,o),W(t._rawAsyncValidators,o)}(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(function(){}))}function W(e,t){e.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function Q(e,t){var n=F(e);null!==t.validator?e.setValidators(P(n,t.validator)):"function"==typeof n&&e.setValidators([n]);var a=U(e);null!==t.asyncValidator?e.setAsyncValidators(P(a,t.asyncValidator)):"function"==typeof a&&e.setAsyncValidators([a]);var i=function(){return e.updateValueAndValidity()};W(t._rawValidators,i),W(t._rawAsyncValidators,i)}function $(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function K(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}function Z(e,t){return t?(Array.isArray(t),t.forEach(function(e){e.constructor===y?n=e:Object.getPrototypeOf(e.constructor)===_?a=e:i=e}),i||a||n||null):null;var n,a,i}function X(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}function J(e){return(ae(e)?e.validators:e)||null}function ee(e){return Array.isArray(e)?x(e):e||null}function te(e,t){return(ae(t)?t.asyncValidators:e)||null}function ne(e){return Array.isArray(e)?L(e):e||null}function ae(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var ie=function(){function e(t,n){m(this,e),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=ee(this._rawValidators),this._composedAsyncValidatorFn=ne(this._rawAsyncValidators)}return v(e,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(e){this._rawValidators=this._composedValidatorFn=e}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return"VALID"===this.status}},{key:"invalid",get:function(){return"INVALID"===this.status}},{key:"pending",get:function(){return"PENDING"==this.status}},{key:"disabled",get:function(){return"DISABLED"===this.status}},{key:"enabled",get:function(){return"DISABLED"!==this.status}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"setValidators",value:function(e){this._rawValidators=e,this._composedValidatorFn=ee(e)}},{key:"setAsyncValidators",value:function(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=ne(e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(e){return e.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(e){e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"markAsDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}},{key:"markAsPristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(e){e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"markAsPending",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(function(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(function(e){return e(!0)})}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(function(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(function(e){return e(!1)})}},{key:"_updateAncestors",value:function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(e){this._parent=e}},{key:"updateValueAndValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};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)}},{key:"_updateTreeValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(t){return t._updateTreeValidity(e)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;var n=N(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){t._hasOwnPendingAsyncValidator=!1,t.setErrors(n,{emitEvent:e})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}},{key:"get",value:function(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;var a=e;return t.forEach(function(e){a=a instanceof oe?a.controls.hasOwnProperty(e)?a.controls[e]:null:a instanceof se&&a.at(e)||null}),a}(this,e)}},{key:"getError",value:function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}},{key:"hasError",value:function(e,t){return!!this.getError(e,t)}},{key:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}},{key:"_updateControlsErrors",value:function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}},{key:"_initObservables",value:function(){this.valueChanges=new a.vpe,this.statusChanges=new a.vpe}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(e){return this._anyControls(function(t){return t.status===e})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(e){return e.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(e){return e.touched})}},{key:"_updatePristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"_updateTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"_isBoxedValue",value:function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}},{key:"_registerOnCollectionChange",value:function(e){this._onCollectionChange=e}},{key:"_setUpdateStrategy",value:function(e){ae(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),e}(),re=function(e){i(n,e);var t=o(n);function n(){var e,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;return m(this,n),(e=t.call(this,J(i),te(r,i)))._onChange=[],e._applyFormState(a),e._setUpdateStrategy(i),e._initObservables(),e.updateValueAndValidity({onlySelf:!0,emitEvent:!!e.asyncValidator}),e}return v(n,[{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(function(e){return e(t.value,!1!==n.emitViewToModelChange)}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(e,t)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(e){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(e){this._onChange.push(e)}},{key:"_unregisterOnChange",value:function(e){X(this._onChange,e)}},{key:"registerOnDisabledChange",value:function(e){this._onDisabledChange.push(e)}},{key:"_unregisterOnDisabledChange",value:function(e){X(this._onDisabledChange,e)}},{key:"_forEachChild",value:function(e){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(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}}]),n}(ie),oe=function(e){i(n,e);var t=o(n);function n(e,a,i){var r;return m(this,n),(r=t.call(this,J(a),te(i,a))).controls=e,r._initObservables(),r._setUpdateStrategy(a),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!!r.asyncValidator}),r}return v(n,[{key:"registerControl",value:function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}},{key:"addControl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),Object.keys(e).forEach(function(a){t._throwIfControlMissing(a),t.controls[a].setValue(e[a],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=e&&(Object.keys(e).forEach(function(a){t.controls[a]&&t.controls[a].patchValue(e[a],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,a){n.reset(e[a],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(e,t,n){return e[n]=t instanceof re?t.value:t.getRawValue(),e})}},{key:"_syncPendingControls",value:function(){var e=this._reduceChildren(!1,function(e,t){return!!t._syncPendingControls()||e});return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(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: ".concat(e,"."))}},{key:"_forEachChild",value:function(e){var t=this;Object.keys(this.controls).forEach(function(n){var a=t.controls[n];a&&e(a,n)})}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild(function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(e){for(var t=0,n=Object.keys(this.controls);t0||this.disabled}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))})}}]),n}(ie),se=function(e){i(n,e);var t=o(n);function n(e,a,i){var r;return m(this,n),(r=t.call(this,J(a),te(i,a))).controls=e,r._initObservables(),r._setUpdateStrategy(a),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!!r.asyncValidator}),r}return v(n,[{key:"at",value:function(e){return this.controls[e]}},{key:"push",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent})}},{key:"removeAt",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}},{key:"setControl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),e.forEach(function(e,a){t._throwIfControlMissing(a),t.at(a).setValue(e,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=e&&(e.forEach(function(e,a){t.at(a)&&t.at(a).patchValue(e,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,a){n.reset(e[a],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this.controls.map(function(e){return e instanceof re?e.value:e.getRawValue()})}},{key:"clear",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(e){return e._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}},{key:"_syncPendingControls",value:function(){var e=this.controls.reduce(function(e,t){return!!t._syncPendingControls()||e},!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(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 ".concat(e))}},{key:"_forEachChild",value:function(e){this.controls.forEach(function(t,n){e(t,n)})}},{key:"_updateValue",value:function(){var e=this;this.value=this.controls.filter(function(t){return t.enabled||e.disabled}).map(function(e){return e.value})}},{key:"_anyControls",value:function(e){return this.controls.some(function(t){return t.enabled&&e(t)})}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild(function(t){return e._registerControl(t)})}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))})}},{key:"_allControlsDisabled",value:function(){var e,t=h(this.controls);try{for(t.s();!(e=t.n()).done;){if(e.value.enabled)return!1}}catch(n){t.e(n)}finally{t.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}]),n}(ie),le={provide:z,useExisting:(0,a.Gpc)(function(){return ue})},ce=Promise.resolve(null),ue=function(){var e=function(e){i(n,e);var t=o(n);function n(e,i){var r;return m(this,n),(r=t.call(this)).submitted=!1,r._directives=[],r.ngSubmit=new a.vpe,r.form=new oe({},x(e),L(i)),r}return v(n,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}},{key:"addControl",value:function(e){var t=this;ce.then(function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),q(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)})}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){var t=this;ce.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),X(t._directives,e)})}},{key:"addFormGroup",value:function(e){var t=this;ce.then(function(){var n=t._findContainer(e.path),a=new oe({});(function(e,t){Q(e,t)})(a,e),n.registerControl(e.name,a),a.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(e){var t=this;ce.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)})}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){var n=this;ce.then(function(){n.form.get(e.path).setValue(t)})}},{key:"setValue",value:function(e){this.control.setValue(e)}},{key:"onSubmit",value:function(e){return this.submitted=!0,t=this._directives,this.form._syncPendingControls(),t.forEach(function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)}),this.ngSubmit.emit(e),!1;var t}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(e){return e.pop(),e.length?this.form.get(e):this.form}}]),n}(z);return e.\u0275fac=function(t){return new(t||e)(a.Y36(b,10),a.Y36(T,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([le]),a.qOj]}),e}(),de={provide:G,useExisting:(0,a.Gpc)(function(){return _e})},he=Promise.resolve(null),_e=function(){var e=function(e){i(n,e);var t=o(n);function n(e,i,r,o){var s;return m(this,n),(s=t.call(this)).control=new re,s._registered=!1,s.update=new a.vpe,s._parent=e,s._setValidators(i),s._setAsyncValidators(r),s.valueAccessor=Z(0,o),s}return v(n,[{key:"ngOnChanges",value:function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),K(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"path",get:function(){return this._parent?[].concat(d(this._parent.path),[this.name]):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){q(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}},{key:"_updateValue",value:function(e){var t=this;he.then(function(){t.control.setValue(e,{emitViewToModelChange:!1})})}},{key:"_updateDisabled",value:function(e){var t=this,n=e.isDisabled.currentValue,a=""===n||n&&"false"!==n;he.then(function(){a&&!t.control.disabled?t.control.disable():!a&&t.control.disabled&&t.control.enable()})}}]),n}(G);return e.\u0275fac=function(t){return new(t||e)(a.Y36(z,9),a.Y36(b,10),a.Y36(T,10),a.Y36(p,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([de]),a.qOj,a.TTD]}),e}(),pe=function(){var e=function e(){m(this,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}(),ge={provide:p,useExisting:(0,a.Gpc)(function(){return ve}),multi:!0},me=function(){var e=function e(){m(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({}),e}(),fe=function(){var e=function(){function e(){m(this,e),this._accessors=[]}return v(e,[{key:"add",value:function(e,t){this._accessors.push([e,t])}},{key:"remove",value:function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}},{key:"select",value:function(e){var t=this;this._accessors.forEach(function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)})}},{key:"_isSameGroup",value:function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,a.Yz7)({factory:function(){return new e},token:e,providedIn:me}),e}(),ve=function(){var e=function(e){i(n,e);var t=o(n);function n(e,a,i,r){var o;return m(this,n),(o=t.call(this,e,a))._registry=i,o._injector=r,o.onChange=function(){},o}return v(n,[{key:"ngOnInit",value:function(){this._control=this._injector.get(G),this._checkName(),this._registry.add(this._control,this)}},{key:"ngOnDestroy",value:function(){this._registry.remove(this)}},{key:"writeValue",value:function(e){this._state=e===this.value,this.setProperty("checked",this._state)}},{key:"registerOnChange",value:function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}}},{key:"fireUncheck",value:function(e){this.writeValue(e)}},{key:"_checkName",value:function(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}]),n}(_);return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.Qsj),a.Y36(a.SBq),a.Y36(fe),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([ge]),a.qOj]}),e}(),ye=new a.OlP("NgModelWithFormControlWarning"),Ee={provide:G,useExisting:(0,a.Gpc)(function(){return Se})},Se=function(){var e=function(e){i(n,e);var t=o(n);function n(e,i,r,o){var s;return m(this,n),(s=t.call(this))._ngModelWarningConfig=o,s.update=new a.vpe,s._ngModelWarningSent=!1,s._setValidators(e),s._setAsyncValidators(i),s.valueAccessor=Z(0,r),s}return v(n,[{key:"isDisabled",set:function(e){}},{key:"ngOnChanges",value:function(e){if(this._isControlChanged(e)){var t=e.form.previousValue;t&&j(t,this,!1),q(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}K(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.form&&j(this.form,this,!1)}},{key:"path",get:function(){return[]}},{key:"control",get:function(){return this.form}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_isControlChanged",value:function(e){return e.hasOwnProperty("form")}}]),n}(G);return e.\u0275fac=function(t){return new(t||e)(a.Y36(b,10),a.Y36(T,10),a.Y36(p,10),a.Y36(ye,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([Ee]),a.qOj,a.TTD]}),e._ngModelWarningSentOnce=!1,e}(),be={provide:p,useExisting:(0,a.Gpc)(function(){return Ce}),multi:!0};function Te(e,t){return null==e?"".concat(t):(t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}var Ce=function(){var e,t=function(e){i(n,e);var t=o(n);function n(){var e;return m(this,n),(e=t.apply(this,arguments))._optionMap=new Map,e._idCounter=0,e._compareWith=Object.is,e}return v(n,[{key:"compareWith",set:function(e){this._compareWith=e}},{key:"writeValue",value:function(e){this.value=e;var t=this._getOptionId(e);null==t&&this.setProperty("selectedIndex",-1);var n=Te(t,e);this.setProperty("value",n)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}}},{key:"_registerOption",value:function(){return(this._idCounter++).toString()}},{key:"_getOptionId",value:function(e){for(var t=0,n=Array.from(this._optionMap.keys());t-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){var a=[];if(void 0!==n.selectedOptions)for(var i=n.selectedOptions,r=0;r1&&void 0!==arguments[1])||arguments[1],a=e.findTestabilityInTree(t,n);if(null==a)throw new Error("Could not find testability for element.");return a},l.dqk.getAllAngularTestabilities=function(){return e.getAllTestabilities()},l.dqk.getAllAngularRootElements=function(){return e.getAllRootElements()},l.dqk.frameworkStabilizers||(l.dqk.frameworkStabilizers=[]),l.dqk.frameworkStabilizers.push(function(e){var t=l.dqk.getAllAngularTestabilities(),n=t.length,a=!1,i=function(t){a=a||t,0==--n&&e(a)};t.forEach(function(e){e.whenStable(i)})})}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var a=e.getTestability(t);return null!=a?a:n?(0,s.q)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){(0,l.VLi)(new e)}}]),e}(),g=function(){var e=function(){function e(){m(this,e)}return v(e,[{key:"build",value:function(){return new XMLHttpRequest}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=l.Yz7({token:e,factory:e.\u0275fac}),e}(),f=new l.OlP("EventManagerPlugins"),y=function(){var e=function(){function e(t,n){var a=this;m(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach(function(e){return e.manager=a}),this._plugins=t.slice().reverse()}return v(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,a=0;a-1&&(t.splice(n,1),r+=e+".")}),r+=i,0!=t.length||0===i.length)return null;var o={};return o.domEventName=a,o.fullKey=r,o}},{key:"getEventFullKey",value:function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&L.hasOwnProperty(t)&&(t=L[t]))}return D[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),x.forEach(function(a){a!=n&&(0,P[a])(e)&&(t+=a+".")}),t+=n}},{key:"eventCallback",value:function(e,t,a){return function(i){n.getEventFullKey(i)===e&&a.runGuarded(function(){return t(i)})}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),n}(E);return e.\u0275fac=function(t){return new(t||e)(l.LFG(s.K0))},e.\u0275prov=l.Yz7({token:e,factory:e.\u0275fac}),e}(),U=function(){var e=function e(){m(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,l.Yz7)({factory:function(){return(0,l.LFG)(z)},token:e,providedIn:"root"}),e}();function B(e){return new z(e.get(s.K0))}var z=function(){var e=function(e){i(n,e);var t=o(n);function n(e){var a;return m(this,n),(a=t.call(this))._doc=e,a}return v(n,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case l.q3G.NONE:return t;case l.q3G.HTML:return(0,l.qzn)(t,"HTML")?(0,l.z3N)(t):(0,l.EiD)(this._doc,String(t)).toString();case l.q3G.STYLE:return(0,l.qzn)(t,"Style")?(0,l.z3N)(t):t;case l.q3G.SCRIPT:if((0,l.qzn)(t,"Script"))return(0,l.z3N)(t);throw new Error("unsafe value used in a script context");case l.q3G.URL:return(0,l.yhl)(t),(0,l.qzn)(t,"URL")?(0,l.z3N)(t):(0,l.mCW)(String(t));case l.q3G.RESOURCE_URL:if((0,l.qzn)(t,"ResourceURL"))return(0,l.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 ".concat(e," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(e){return(0,l.JVY)(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return(0,l.L6k)(e)}},{key:"bypassSecurityTrustScript",value:function(e){return(0,l.eBb)(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return(0,l.LAX)(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return(0,l.pB0)(e)}}]),n}(U);return e.\u0275fac=function(t){return new(t||e)(l.LFG(s.K0))},e.\u0275prov=(0,l.Yz7)({factory:function(){return B((0,l.LFG)(l.gxx))},token:e,providedIn:"root"}),e}(),G=(0,l.eFA)(l._c5,"browser",[{provide:l.Lbi,useValue:s.bD},{provide:l.g9A,useValue:function(){c.makeCurrent(),p.init()},multi:!0},{provide:s.K0,useFactory:function(){return(0,l.RDi)(document),document},deps:[]}]),V=[[],{provide:l.zSh,useValue:"root"},{provide:l.qLn,useFactory:function(){return new l.qLn},deps:[]},{provide:f,useClass:k,multi:!0,deps:[s.K0,l.R0b,l.Lbi]},{provide:f,useClass:F,multi:!0,deps:[s.K0]},[],{provide:N,useClass:N,deps:[y,b,l.AFp]},{provide:l.FYo,useExisting:N},{provide:S,useExisting:b},{provide:b,useClass:b,deps:[s.K0]},{provide:l.dDg,useClass:l.dDg,deps:[l.R0b]},{provide:y,useClass:y,deps:[f,l.R0b]},{provide:s.JF,useClass:g,deps:[]},[]],H=function(){var e=function(){function e(t){if(m(this,e),t)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.")}return v(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:l.AFp,useValue:t.appId},{provide:h,useExisting:l.AFp},_]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.LFG(e,12))},e.\u0275mod=l.oAB({type:e}),e.\u0275inj=l.cJS({providers:V,imports:[s.ez,l.hGG]}),e}();function Y(){return new q((0,l.LFG)(s.K0))}var q=function(){var e=function(){function e(t){m(this,e),this._doc=t,this._dom=(0,s.q)()}return v(e,[{key:"addTag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?this._getOrCreateElement(e,t):null}},{key:"addTags",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?e.reduce(function(e,a){return a&&e.push(t._getOrCreateElement(a,n)),e},[]):[]}},{key:"getTag",value:function(e){return e&&this._doc.querySelector("meta[".concat(e,"]"))||null}},{key:"getTags",value:function(e){if(!e)return[];var t=this._doc.querySelectorAll("meta[".concat(e,"]"));return t?[].slice.call(t):[]}},{key:"updateTag",value:function(e,t){if(!e)return null;t=t||this._parseSelector(e);var n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}},{key:"removeTag",value:function(e){this.removeTagElement(this.getTag(e))}},{key:"removeTagElement",value:function(e){e&&this._dom.remove(e)}},{key:"_getOrCreateElement",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t){var n=this._parseSelector(e),a=this.getTag(n);if(a&&this._containsAttributes(e,a))return a}var i=this._dom.createElement("meta");return this._setMetaElementAttributes(e,i),this._doc.getElementsByTagName("head")[0].appendChild(i),i}},{key:"_setMetaElementAttributes",value:function(e,t){var n=this;return Object.keys(e).forEach(function(a){return t.setAttribute(n._getMetaKeyMap(a),e[a])}),t}},{key:"_parseSelector",value:function(e){var t=e.name?"name":"property";return"".concat(t,'="').concat(e[t],'"')}},{key:"_containsAttributes",value:function(e,t){var n=this;return Object.keys(e).every(function(a){return t.getAttribute(n._getMetaKeyMap(a))===e[a]})}},{key:"_getMetaKeyMap",value:function(e){return j[e]||e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.LFG(s.K0))},e.\u0275prov=(0,l.Yz7)({factory:Y,token:e,providedIn:"root"}),e}(),j={httpEquiv:"http-equiv"};function W(){return new Q((0,l.LFG)(s.K0))}var Q=function(){var e=function(){function e(t){m(this,e),this._doc=t}return v(e,[{key:"getTitle",value:function(){return this._doc.title}},{key:"setTitle",value:function(e){this._doc.title=e||""}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.LFG(s.K0))},e.\u0275prov=(0,l.Yz7)({factory:W,token:e,providedIn:"root"}),e}();"undefined"!=typeof window&&window},99763:function(e,t,n){"use strict";n.d(t,{gz:function(){return it},m2:function(){return ee},F0:function(){return Rn},rH:function(){return An},Od:function(){return In},yS:function(){return Nn},Bz:function(){return Gn},lC:function(){return Mn}});var a=n(38583),r=n(37716),s=function(){function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e}(),c=n(67574),u=n(94402),_=n(59193);function p(e){return new c.y(function(t){var n;try{n=e()}catch(a){return void t.error(a)}return(n?(0,u.D)(n):(0,_.c)()).subscribe(t)})}var g=n(25917),f=n(26215),y=n(9112),E=n(58071),S=n(52441),b=n(79765),T=n(77393);function C(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(a){return a.lift(new O(e,t,n))}}var O=function(){function e(t,n){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];m(this,e),this.accumulator=t,this.seed=n,this.hasSeed=a}return v(e,[{key:"call",value:function(e,t){return t.subscribe(new R(e,this.accumulator,this.seed,this.hasSeed))}}]),e}(),R=function(e){i(n,e);var t=o(n);function n(e,a,i,r){var o;return m(this,n),(o=t.call(this,e)).accumulator=a,o._seed=i,o.hasSeed=r,o.index=0,o}return v(n,[{key:"seed",get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e}},{key:"_next",value:function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(a){this.destination.error(a)}this.seed=t,this.destination.next(t)}}]),n}(T.L),A=n(45435),N=n(7108);function w(e){return function(t){return 0===e?(0,_.c)():t.lift(new I(e))}}var I=function(){function e(t){if(m(this,e),this.total=t,this.total<0)throw new N.W}return v(e,[{key:"call",value:function(e,t){return t.subscribe(new M(e,this.total))}}]),e}(),M=function(e){i(n,e);var t=o(n);function n(e,a){var i;return m(this,n),(i=t.call(this,e)).total=a,i.ring=new Array,i.count=0,i}return v(n,[{key:"_next",value:function(e){var t=this.ring,n=this.total,a=this.count++;t.length0)for(var n=this.count>=this.total?this.total:this.count,a=this.ring,i=0;i0&&void 0!==arguments[0]?arguments[0]:L;return function(t){return t.lift(new x(e))}}var x=function(){function e(t){m(this,e),this.errorFactory=t}return v(e,[{key:"call",value:function(e,t){return t.subscribe(new D(e,this.errorFactory))}}]),e}(),D=function(e){i(n,e);var t=o(n);function n(e,a){var i;return m(this,n),(i=t.call(this,e)).errorFactory=a,i.hasValue=!1,i}return v(n,[{key:"_next",value:function(e){this.hasValue=!0,this.destination.next(e)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}]),n}(T.L);function L(){return new s}function P(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new F(e))}}var F=function(){function e(t){m(this,e),this.defaultValue=t}return v(e,[{key:"call",value:function(e,t){return t.subscribe(new U(e,this.defaultValue))}}]),e}(),U=function(e){i(n,e);var t=o(n);function n(e,a){var i;return m(this,n),(i=t.call(this,e)).defaultValue=a,i.isEmpty=!0,i}return v(n,[{key:"_next",value:function(e){this.isEmpty=!1,this.destination.next(e)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(T.L),B=n(54487),z=n(15257);function G(e,t){var n=arguments.length>=2;return function(a){return a.pipe(e?(0,A.h)(function(t,n){return e(t,n,a)}):B.y,(0,z.q)(1),n?P(t):k(function(){return new s}))}}var V=n(88002),H=n(43190),Y=n(39761),q=n(5304),j=n(94612),W=n(19773),Q=n(68307),$=n(51307),K=n(68939),Z=n(63282),X=function e(t,n){m(this,e),this.id=t,this.url=n},J=function(e){i(n,e);var t=o(n);function n(e,a){var i,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return m(this,n),(i=t.call(this,e,a)).navigationTrigger=r,i.restoredState=o,i}return v(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(X),ee=function(e){i(n,e);var t=o(n);function n(e,a,i){var r;return m(this,n),(r=t.call(this,e,a)).urlAfterRedirects=i,r}return v(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(X),te=function(e){i(n,e);var t=o(n);function n(e,a,i){var r;return m(this,n),(r=t.call(this,e,a)).reason=i,r}return v(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(X),ne=function(e){i(n,e);var t=o(n);function n(e,a,i){var r;return m(this,n),(r=t.call(this,e,a)).error=i,r}return v(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(X),ae=function(e){i(n,e);var t=o(n);function n(e,a,i,r){var o;return m(this,n),(o=t.call(this,e,a)).urlAfterRedirects=i,o.state=r,o}return v(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(X),ie=function(e){i(n,e);var t=o(n);function n(e,a,i,r){var o;return m(this,n),(o=t.call(this,e,a)).urlAfterRedirects=i,o.state=r,o}return v(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(X),re=function(e){i(n,e);var t=o(n);function n(e,a,i,r,o){var s;return m(this,n),(s=t.call(this,e,a)).urlAfterRedirects=i,s.state=r,s.shouldActivate=o,s}return v(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(X),oe=function(e){i(n,e);var t=o(n);function n(e,a,i,r){var o;return m(this,n),(o=t.call(this,e,a)).urlAfterRedirects=i,o.state=r,o}return v(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(X),se=function(e){i(n,e);var t=o(n);function n(e,a,i,r){var o;return m(this,n),(o=t.call(this,e,a)).urlAfterRedirects=i,o.state=r,o}return v(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(X),le=function(){function e(t){m(this,e),this.route=t}return v(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),ce=function(){function e(t){m(this,e),this.route=t}return v(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),ue=function(){function e(t){m(this,e),this.snapshot=t}return v(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),de=function(){function e(t){m(this,e),this.snapshot=t}return v(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),he=function(){function e(t){m(this,e),this.snapshot=t}return v(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),_e=function(){function e(t){m(this,e),this.snapshot=t}return v(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),pe=function(){function e(t,n,a){m(this,e),this.routerEvent=t,this.position=n,this.anchor=a}return v(e,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),e}(),ge=function(){function e(t){m(this,e),this.params=t||{}}return v(e,[{key:"has",value:function(e){return Object.prototype.hasOwnProperty.call(this.params,e)}},{key:"get",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null}},{key:"getAll",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),e}();function me(e){return new ge(e)}function fe(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function ve(e,t,n){var a=n.path.split("/");if(a.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||a.length0?e[e.length-1]:null}function Te(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Ce(e){return(0,r.CqO)(e)?e:(0,r.QGY)(e)?(0,u.D)(Promise.resolve(e)):(0,g.of)(e)}var Oe={exact:function e(t,n,a){if(!De(t.segments,n.segments))return!1;if(!Ie(t.segments,n.segments,a))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var i in n.children){if(!t.children[i])return!1;if(!e(t.children[i],n.children[i],a))return!1}return!0},subset:Ne},Re={exact:function(e,t){return ye(e,t)},subset:function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(function(n){return Ee(e[n],t[n])})},ignored:function(){return!0}};function Ae(e,t,n){return Oe[n.paths](e.root,t.root,n.matrixParams)&&Re[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function Ne(e,t,n){return we(e,t,t.segments,n)}function we(e,t,n,a){if(e.segments.length>n.length){var i=e.segments.slice(0,n.length);return!!De(i,n)&&!t.hasChildren()&&!!Ie(i,n,a)}if(e.segments.length===n.length){if(!De(e.segments,n))return!1;if(!Ie(e.segments,n,a))return!1;for(var r in t.children){if(!e.children[r])return!1;if(!Ne(e.children[r],t.children[r],a))return!1}return!0}var o=n.slice(0,e.segments.length),s=n.slice(e.segments.length);return!!De(e.segments,o)&&!!Ie(e.segments,o,a)&&!!e.children.primary&&we(e.children.primary,t,s,a)}function Ie(e,t,n){return t.every(function(t,a){return Re[n](e[a].parameters,t.parameters)})}var Me=function(){function e(t,n,a){m(this,e),this.root=t,this.queryParams=n,this.fragment=a}return v(e,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=me(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return Fe.serialize(this)}}]),e}(),ke=function(){function e(t,n){var a=this;m(this,e),this.segments=t,this.children=n,this.parent=null,Te(n,function(e,t){return e.parent=a})}return v(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return Ue(this)}}]),e}(),xe=function(){function e(t,n){m(this,e),this.path=t,this.parameters=n}return v(e,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=me(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return qe(this)}}]),e}();function De(e,t){return e.length===t.length&&e.every(function(e,n){return e.path===t[n].path})}var Le=function e(){m(this,e)},Pe=function(){function e(){m(this,e)}return v(e,[{key:"parse",value:function(e){var t=new Ke(e);return new Me(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){var t,n,a;return"/".concat(Be(e.root,!0)).concat((n=e.queryParams,a=Object.keys(n).map(function(e){var t=n[e];return Array.isArray(t)?t.map(function(t){return"".concat(Ge(e),"=").concat(Ge(t))}).join("&"):"".concat(Ge(e),"=").concat(Ge(t))}).filter(function(e){return!!e}),a.length?"?".concat(a.join("&")):"")).concat("string"==typeof e.fragment?"#".concat((t=e.fragment,encodeURI(t))):"")}}]),e}(),Fe=new Pe;function Ue(e){return e.segments.map(function(e){return qe(e)}).join("/")}function Be(e,t){if(!e.hasChildren())return Ue(e);if(t){var n=e.children.primary?Be(e.children.primary,!1):"",a=[];return Te(e.children,function(e,t){"primary"!==t&&a.push("".concat(t,":").concat(Be(e,!1)))}),a.length>0?"".concat(n,"(").concat(a.join("//"),")"):n}var i=function(e,t){var n=[];return Te(e.children,function(e,a){"primary"===a&&(n=n.concat(t(e,a)))}),Te(e.children,function(e,a){"primary"!==a&&(n=n.concat(t(e,a)))}),n}(e,function(t,n){return"primary"===n?[Be(e.children.primary,!1)]:["".concat(n,":").concat(Be(t,!1))]});return 1===Object.keys(e.children).length&&null!=e.children.primary?"".concat(Ue(e),"/").concat(i[0]):"".concat(Ue(e),"/(").concat(i.join("//"),")")}function ze(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ge(e){return ze(e).replace(/%3B/gi,";")}function Ve(e){return ze(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function He(e){return decodeURIComponent(e)}function Ye(e){return He(e.replace(/\+/g,"%20"))}function qe(e){return"".concat(Ve(e.path)).concat((t=e.parameters,Object.keys(t).map(function(e){return";".concat(Ve(e),"=").concat(Ve(t[e]))}).join("")));var t}var je=/^[^\/()?;=#]+/;function We(e){var t=e.match(je);return t?t[0]:""}var Qe=/^[^=?&#]+/,$e=/^[^?&#]+/,Ke=function(){function e(t){m(this,e),this.url=t,this.remaining=t}return v(e,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ke([],{}):new ke([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new ke(e,t)),n}},{key:"parseSegment",value:function(){var e=We(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new xe(He(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=We(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var a=We(this.remaining);a&&(n=a,this.capture(n))}e[He(t)]=He(n)}}},{key:"parseQueryParam",value:function(e){var t=function(e){var t=e.match(Qe);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var a=function(e){var t=e.match($e);return t?t[0]:""}(this.remaining);a&&(n=a,this.capture(n))}var i=Ye(t),r=Ye(n);if(e.hasOwnProperty(i)){var o=e[i];Array.isArray(o)||(o=[o],e[i]=o),o.push(r)}else e[i]=r}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=We(this.remaining),a=this.remaining[n.length];if("/"!==a&&")"!==a&&";"!==a)throw new Error("Cannot parse url '".concat(this.url,"'"));var i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i="primary");var r=this.parseChildren();t[i]=1===Object.keys(r).length?r.primary:new ke([],r),this.consumeOptional("//")}return t}},{key:"peekStartsWith",value:function(e){return this.remaining.startsWith(e)}},{key:"consumeOptional",value:function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}},{key:"capture",value:function(e){if(!this.consumeOptional(e))throw new Error('Expected "'.concat(e,'".'))}}]),e}(),Ze=function(){function e(t){m(this,e),this._root=t}return v(e,[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}},{key:"children",value:function(e){var t=Xe(e,this._root);return t?t.children.map(function(e){return e.value}):[]}},{key:"firstChild",value:function(e){var t=Xe(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=Je(e,this._root);return t.length<2?[]:t[t.length-2].children.map(function(e){return e.value}).filter(function(t){return t!==e})}},{key:"pathFromRoot",value:function(e){return Je(e,this._root).map(function(e){return e.value})}}]),e}();function Xe(e,t){if(e===t.value)return t;var n,a=h(t.children);try{for(a.s();!(n=a.n()).done;){var i=Xe(e,n.value);if(i)return i}}catch(r){a.e(r)}finally{a.f()}return null}function Je(e,t){if(e===t.value)return[t];var n,a=h(t.children);try{for(a.s();!(n=a.n()).done;){var i=Je(e,n.value);if(i.length)return i.unshift(t),i}}catch(r){a.e(r)}finally{a.f()}return[]}var et=function(){function e(t,n){m(this,e),this.value=t,this.children=n}return v(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function tt(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t}var nt=function(e){i(n,e);var t=o(n);function n(e,a){var i;return m(this,n),(i=t.call(this,e)).snapshot=a,lt(l(i),e),i}return v(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(Ze);function at(e,t){var n=function(e,t){var n=new ot([],{},{},"",{},"primary",t,null,e.root,-1,{});return new st("",new et(n,[]))}(e,t),a=new f.X([new xe("",{})]),i=new f.X({}),r=new f.X({}),o=new f.X({}),s=new f.X(""),l=new it(a,i,o,s,r,"primary",t,n.root);return l.snapshot=n.root,new nt(new et(l,[]),n)}var it=function(){function e(t,n,a,i,r,o,s,l){m(this,e),this.url=t,this.params=n,this.queryParams=a,this.fragment=i,this.data=r,this.outlet=o,this.component=s,this._futureSnapshot=l}return v(e,[{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe((0,V.U)(function(e){return me(e)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,V.U)(function(e){return me(e)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),e}();function rt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=e.pathFromRoot,a=0;if("always"!==t)for(a=n.length-1;a>=1;){var i=n[a],r=n[a-1];if(i.routeConfig&&""===i.routeConfig.path)a--;else{if(r.component)break;a--}}return function(e){return e.reduce(function(e,t){return{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))}var ot=function(){function e(t,n,a,i,r,o,s,l,c,u,d){m(this,e),this.url=t,this.params=n,this.queryParams=a,this.fragment=i,this.data=r,this.outlet=o,this.component=s,this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=u,this._resolve=d}return v(e,[{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=me(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=me(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return"Route(url:'".concat(this.url.map(function(e){return e.toString()}).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}}]),e}(),st=function(e){i(n,e);var t=o(n);function n(e,a){var i;return m(this,n),(i=t.call(this,a)).url=e,lt(l(i),a),i}return v(n,[{key:"toString",value:function(){return ct(this._root)}}]),n}(Ze);function lt(e,t){t.value._routerState=e,t.children.forEach(function(t){return lt(e,t)})}function ct(e){var t=e.children.length>0?" { ".concat(e.children.map(ct).join(", ")," } "):"";return"".concat(e.value).concat(t)}function ut(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,ye(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),ye(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n0&&pt(a[0]))throw new Error("Root segment cannot have matrix parameters");var i=a.find(gt);if(i&&i!==be(a))throw new Error("{outlets:{}} has to be the last command")}return v(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),yt=function e(t,n,a){m(this,e),this.segmentGroup=t,this.processChildren=n,this.index=a};function Et(e,t,n){if(e||(e=new ke([],{})),0===e.segments.length&&e.hasChildren())return St(e,t,n);var a=function(e,t,n){for(var a=0,i=t,r={match:!1,pathIndex:0,commandIndex:0};i=n.length)return r;var o=e.segments[i],s=n[a];if(gt(s))break;var l="".concat(s),c=a0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!Ot(l,c,o))return r;a+=2}else{if(!Ot(l,{},o))return r;a++}i++}return{match:!0,pathIndex:i,commandIndex:a}}(e,t,n),i=n.slice(a.commandIndex);if(a.match&&a.pathIndex1&&void 0!==arguments[1]?arguments[1]:"",n=0;n0)?Object.assign({},zt):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};var i=(t.matcher||ve)(n,e,t);if(!i)return Object.assign({},zt);var r={};Te(i.posParams,function(e,t){r[t]=e.path});var o=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:o,positionalParamSegments:null!==(a=i.posParams)&&void 0!==a?a:{}}}function Vt(e,t,n,a){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(n.length>0&&function(e,t,n){return n.some(function(n){return Ht(e,t,n)&&"primary"!==Ut(n)})}(e,n,a)){var r=new ke(t,function(e,t,n,a){var i={};i.primary=a,a._sourceSegment=e,a._segmentIndexShift=t.length;var r,o=h(n);try{for(o.s();!(r=o.n()).done;){var s=r.value;if(""===s.path&&"primary"!==Ut(s)){var l=new ke([],{});l._sourceSegment=e,l._segmentIndexShift=t.length,i[Ut(s)]=l}}}catch(c){o.e(c)}finally{o.f()}return i}(e,t,a,new ke(n,e.children)));return r._sourceSegment=e,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(function(n){return Ht(e,t,n)})}(e,n,a)){var o=new ke(e.segments,function(e,t,n,a,i,r){var o,s={},l=h(a);try{for(l.s();!(o=l.n()).done;){var c=o.value;if(Ht(e,n,c)&&!i[Ut(c)]){var u=new ke([],{});u._sourceSegment=e,u._segmentIndexShift="legacy"===r?e.segments.length:t.length,s[Ut(c)]=u}}}catch(d){l.e(d)}finally{l.f()}return Object.assign(Object.assign({},i),s)}(e,t,n,a,e.children,i));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}var s=new ke(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function Ht(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function Yt(e,t,n,a){return!!(Ut(e)===a||"primary"!==a&&Ht(t,n,e))&&("**"===e.path||Gt(t,e,n).matched)}function qt(e,t,n){return 0===t.length&&!e.children[n]}var jt=function e(t){m(this,e),this.segmentGroup=t||null},Wt=function e(t){m(this,e),this.urlTree=t};function Qt(e){return new c.y(function(t){return t.error(new jt(e))})}function $t(e){return new c.y(function(t){return t.error(new Wt(e))})}function Kt(e){return new c.y(function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(e,"'")))})}var Zt=function(){function e(t,n,a,i,o){m(this,e),this.configLoader=n,this.urlSerializer=a,this.urlTree=i,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(r.h0i)}return v(e,[{key:"apply",value:function(){var e=this,t=Vt(this.urlTree.root,[],[],this.config).segmentGroup,n=new ke(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,n,"primary").pipe((0,V.U)(function(t){return e.createUrlTree(Xt(t),e.urlTree.queryParams,e.urlTree.fragment)})).pipe((0,q.K)(function(t){if(t instanceof Wt)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof jt)throw e.noMatchError(t);throw t}))}},{key:"match",value:function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe((0,V.U)(function(n){return t.createUrlTree(Xt(n),e.queryParams,e.fragment)})).pipe((0,q.K)(function(e){if(e instanceof jt)throw t.noMatchError(e);throw e}))}},{key:"noMatchError",value:function(e){return new Error("Cannot match any routes. URL Segment: '".concat(e.segmentGroup,"'"))}},{key:"createUrlTree",value:function(e,t,n){var a=e.segments.length>0?new ke([],{primary:e}):e;return new Me(a,t,n)}},{key:"expandSegmentGroup",value:function(e,t,n,a){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe((0,V.U)(function(e){return new ke([],e)})):this.expandSegment(e,n,t,n.segments,a,!0)}},{key:"expandChildren",value:function(e,t,n){for(var a=this,i=[],r=0,o=Object.keys(n.children);r=2;return function(a){return a.pipe(e?(0,A.h)(function(t,n){return e(t,n,a)}):B.y,w(1),n?P(t):k(function(){return new s}))}}())}},{key:"expandSegment",value:function(e,t,n,a,i,r){var o=this;return(0,u.D)(n).pipe((0,j.b)(function(s){return o.expandSegmentAgainstRoute(e,t,n,s,a,i,r).pipe((0,q.K)(function(e){if(e instanceof jt)return(0,g.of)(null);throw e}))}),G(function(e){return!!e}),(0,q.K)(function(e,n){if(e instanceof s||"EmptyError"===e.name){if(qt(t,a,i))return(0,g.of)(new ke([],{}));throw new jt(t)}throw e}))}},{key:"expandSegmentAgainstRoute",value:function(e,t,n,a,i,r,o){return Yt(a,t,i,r)?void 0===a.redirectTo?this.matchSegmentAgainstRoute(e,t,a,i,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,a,i,r):Qt(t):Qt(t)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(e,t,n,a,i,r){return"**"===a.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,a,r):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,a,i,r)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(e,t,n,a){var i=this,r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?$t(r):this.lineralizeSegments(n,r).pipe((0,W.zg)(function(n){var r=new ke(n,{});return i.expandSegment(e,r,t,n,a,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,n,a,i,r){var o=this,s=Gt(t,a,i),l=s.matched,c=s.consumedSegments,u=s.lastChild,d=s.positionalParamSegments;if(!l)return Qt(t);var h=this.applyRedirectCommands(c,a.redirectTo,d);return a.redirectTo.startsWith("/")?$t(h):this.lineralizeSegments(a,h).pipe((0,W.zg)(function(a){return o.expandSegment(e,t,n,a.concat(i.slice(u)),r,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(e,t,n,a,i){var r=this;if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,g.of)(n._loadedConfig):this.configLoader.load(e.injector,n)).pipe((0,V.U)(function(e){return n._loadedConfig=e,new ke(a,{})})):(0,g.of)(new ke(a,{}));var o=Gt(t,n,a),s=o.matched,l=o.consumedSegments,c=o.lastChild;if(!s)return Qt(t);var u=a.slice(c);return this.getChildConfig(e,n,a).pipe((0,W.zg)(function(e){var a=e.module,o=e.routes,s=Vt(t,l,u,o),c=s.segmentGroup,d=s.slicedSegments,h=new ke(c.segments,c.children);if(0===d.length&&h.hasChildren())return r.expandChildren(a,o,h).pipe((0,V.U)(function(e){return new ke(l,e)}));if(0===o.length&&0===d.length)return(0,g.of)(new ke(l,{}));var _=Ut(n)===i;return r.expandSegment(a,h,o,d,_?"primary":i,!0).pipe((0,V.U)(function(e){return new ke(l.concat(e.segments),e.children)}))}))}},{key:"getChildConfig",value:function(e,t,n){var a=this;return t.children?(0,g.of)(new Nt(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?(0,g.of)(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe((0,W.zg)(function(n){return n?a.configLoader.load(e.injector,t).pipe((0,V.U)(function(e){return t._loadedConfig=e,e})):function(e){return new c.y(function(t){return t.error(fe("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))})}(t)})):(0,g.of)(new Nt([],e))}},{key:"runCanLoadGuards",value:function(e,t,n){var a=this,i=t.canLoad;if(!i||0===i.length)return(0,g.of)(!0);var r=i.map(function(a){var i,r=e.get(a);if(function(e){return e&&wt(e.canLoad)}(r))i=r.canLoad(t,n);else{if(!wt(r))throw new Error("Invalid CanLoad guard");i=r(t,n)}return Ce(i)});return(0,g.of)(r).pipe(kt(),(0,Q.b)(function(e){if(It(e)){var t=fe('Redirecting to "'.concat(a.urlSerializer.serialize(e),'"'));throw t.url=e,t}}),(0,V.U)(function(e){return!0===e}))}},{key:"lineralizeSegments",value:function(e,t){for(var n=[],a=t.root;;){if(n=n.concat(a.segments),0===a.numberOfChildren)return(0,g.of)(n);if(a.numberOfChildren>1||!a.children.primary)return Kt(e.redirectTo);a=a.children.primary}}},{key:"applyRedirectCommands",value:function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}},{key:"applyRedirectCreatreUrlTree",value:function(e,t,n,a){var i=this.createSegmentGroup(e,t.root,n,a);return new Me(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var n={};return Te(e,function(e,a){if("string"==typeof e&&e.startsWith(":")){var i=e.substring(1);n[a]=t[i]}else n[a]=e}),n}},{key:"createSegmentGroup",value:function(e,t,n,a){var i=this,r=this.createSegments(e,t.segments,n,a),o={};return Te(t.children,function(t,r){o[r]=i.createSegmentGroup(e,t,n,a)}),new ke(r,o)}},{key:"createSegments",value:function(e,t,n,a){var i=this;return t.map(function(t){return t.path.startsWith(":")?i.findPosParam(e,t,a):i.findOrReturn(t,n)})}},{key:"findPosParam",value:function(e,t,n){var a=n[t.path.substring(1)];if(!a)throw new Error("Cannot redirect to '".concat(e,"'. Cannot find '").concat(t.path,"'."));return a}},{key:"findOrReturn",value:function(e,t){var n,a=0,i=h(t);try{for(i.s();!(n=i.n()).done;){var r=n.value;if(r.path===e.path)return t.splice(a),r;a++}}catch(o){i.e(o)}finally{i.f()}return e}}]),e}();function Xt(e){for(var t={},n=0,a=Object.keys(e.children);n0||r.hasChildren())&&(t[i]=r)}return function(e){if(1===e.numberOfChildren&&e.children.primary){var t=e.children.primary;return new ke(e.segments.concat(t.segments),t.children)}return e}(new ke(e.segments,t))}var Jt=function e(t){m(this,e),this.path=t,this.route=this.path[this.path.length-1]},en=function e(t,n){m(this,e),this.component=t,this.route=n};function tn(e,t,n){var a=e._root;return an(a,t?t._root:null,n,[a.value])}function nn(e,t,n){var a=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(a?a.module.injector:n).get(e)}function an(e,t,n,a){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},r=tt(t);return e.children.forEach(function(e){!function(e,t,n,a){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},r=e.value,o=t?t.value:null,s=n?n.getContext(e.value.outlet):null;if(o&&r.routeConfig===o.routeConfig){var l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!De(e.url,t.url);case"pathParamsOrQueryParamsChange":return!De(e.url,t.url)||!ye(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!dt(e,t)||!ye(e.queryParams,t.queryParams);case"paramsChange":default:return!dt(e,t)}}(o,r,r.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new Jt(a)):(r.data=o.data,r._resolvedData=o._resolvedData),an(e,t,r.component?s?s.children:null:n,a,i),l&&s&&s.outlet&&s.outlet.isActivated&&i.canDeactivateChecks.push(new en(s.outlet.component,o))}else o&&rn(t,s,i),i.canActivateChecks.push(new Jt(a)),an(e,null,r.component?s?s.children:null:n,a,i)}(e,r[e.value.outlet],n,a.concat([e.value]),i),delete r[e.value.outlet]}),Te(r,function(e,t){return rn(e,n.getContext(t),i)}),i}function rn(e,t,n){var a=tt(e),i=e.value;Te(a,function(e,a){rn(e,i.component?t?t.children.getContext(a):null:t,n)}),n.canDeactivateChecks.push(new en(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}var on=function e(){m(this,e)};function sn(e){return new c.y(function(t){return t.error(e)})}var ln=function(){function e(t,n,a,i,r,o){m(this,e),this.rootComponentType=t,this.config=n,this.urlTree=a,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=o}return v(e,[{key:"recognize",value:function(){var e=Vt(this.urlTree.root,[],[],this.config.filter(function(e){return void 0===e.redirectTo}),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary");if(null===t)return null;var n=new ot([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),a=new et(n,t),i=new st(this.url,a);return this.inheritParamsAndData(i._root),i}},{key:"inheritParamsAndData",value:function(e){var t=this,n=e.value,a=rt(n,this.paramsInheritanceStrategy);n.params=Object.freeze(a.params),n.data=Object.freeze(a.data),e.children.forEach(function(e){return t.inheritParamsAndData(e)})}},{key:"processSegmentGroup",value:function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}},{key:"processChildren",value:function(e,t){for(var n=[],a=0,i=Object.keys(t.children);a0?be(n).parameters:{};i=new ot(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hn(e),Ut(e),e.component,e,un(t),dn(t)+n.length,_n(e))}else{var l=Gt(t,e,n);if(!l.matched)return null;r=l.consumedSegments,o=n.slice(l.lastChild),i=new ot(r,l.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hn(e),Ut(e),e.component,e,un(t),dn(t)+r.length,_n(e))}var c=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),u=Vt(t,r,o,c.filter(function(e){return void 0===e.redirectTo}),this.relativeLinkResolution),d=u.segmentGroup,h=u.slicedSegments;if(0===h.length&&d.hasChildren()){var _=this.processChildren(c,d);return null===_?null:[new et(i,_)]}if(0===c.length&&0===h.length)return[new et(i,[])];var p=Ut(e)===a,g=this.processSegment(c,d,h,p?"primary":a);return null===g?null:[new et(i,g)]}}]),e}();function cn(e){var t,n=[],a=new Set,i=h(e);try{var r=function(){var e,i=t.value;if(!function(e){var t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}(i))return n.push(i),"continue";var r=n.find(function(e){return i.value.routeConfig===e.value.routeConfig});void 0!==r?((e=r.children).push.apply(e,d(i.children)),a.add(r)):n.push(i)};for(i.s();!(t=i.n()).done;)r()}catch(u){i.e(u)}finally{i.f()}var o,s=h(a);try{for(s.s();!(o=s.n()).done;){var l=o.value,c=cn(l.children);n.push(new et(l.value,c))}}catch(u){s.e(u)}finally{s.f()}return n.filter(function(e){return!a.has(e)})}function un(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function dn(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function hn(e){return e.data||{}}function _n(e){return e.resolve||{}}function pn(e){return(0,H.w)(function(t){var n=e(t);return n?(0,u.D)(n).pipe((0,V.U)(function(){return t})):(0,g.of)(t)})}var gn=function(e){i(n,e);var t=o(n);function n(){return m(this,n),t.apply(this,arguments)}return n}(function(){function e(){m(this,e)}return v(e,[{key:"shouldDetach",value:function(e){return!1}},{key:"store",value:function(e,t){}},{key:"shouldAttach",value:function(e){return!1}},{key:"retrieve",value:function(e){return null}},{key:"shouldReuseRoute",value:function(e,t){return e.routeConfig===t.routeConfig}}]),e}()),mn=new r.OlP("ROUTES"),fn=function(){function e(t,n,a,i){m(this,e),this.loader=t,this.compiler=n,this.onLoadStartListener=a,this.onLoadEndListener=i}return v(e,[{key:"load",value:function(e,t){var n=this;if(t._loader$)return t._loader$;this.onLoadStartListener&&this.onLoadStartListener(t);var a=this.loadModuleFactory(t.loadChildren).pipe((0,V.U)(function(a){n.onLoadEndListener&&n.onLoadEndListener(t);var i=a.create(e);return new Nt(Se(i.injector.get(mn,void 0,r.XFs.Self|r.XFs.Optional)).map(Ft),i)}),(0,q.K)(function(e){throw t._loader$=void 0,e}));return t._loader$=new S.c(a,function(){return new b.xQ}).pipe((0,$.x)()),t._loader$}},{key:"loadModuleFactory",value:function(e){var t=this;return"string"==typeof e?(0,u.D)(this.loader.load(e)):Ce(e()).pipe((0,W.zg)(function(e){return e instanceof r.YKP?(0,g.of)(e):(0,u.D)(t.compiler.compileModuleAsync(e))}))}}]),e}(),vn=function e(){m(this,e),this.outlet=null,this.route=null,this.resolver=null,this.children=new yn,this.attachRef=null},yn=function(){function e(){m(this,e),this.contexts=new Map}return v(e,[{key:"onChildOutletCreated",value:function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}},{key:"onChildOutletDestroyed",value:function(e){var t=this.getContext(e);t&&(t.outlet=null)}},{key:"onOutletDeactivated",value:function(){var e=this.contexts;return this.contexts=new Map,e}},{key:"onOutletReAttached",value:function(e){this.contexts=e}},{key:"getOrCreateContext",value:function(e){var t=this.getContext(e);return t||(t=new vn,this.contexts.set(e,t)),t}},{key:"getContext",value:function(e){return this.contexts.get(e)||null}}]),e}(),En=function(){function e(){m(this,e)}return v(e,[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}]),e}();function Sn(e){throw e}function bn(e,t,n){return t.parse("/")}function Tn(e,t){return(0,g.of)(null)}var Cn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},On={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Rn=function(){var e=function(){function e(t,n,a,i,o,s,l,c){var u=this;m(this,e),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=a,this.location=i,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new b.xQ,this.errorHandler=Sn,this.malformedUriErrorHandler=bn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Tn,afterPreactivation:Tn},this.urlHandlingStrategy=new En,this.routeReuseStrategy=new gn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=o.get(r.h0i),this.console=o.get(r.c2e);var d=o.get(r.R0b);this.isNgZoneEnabled=d instanceof r.R0b&&r.R0b.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new Me(new ke([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new fn(s,l,function(e){return u.triggerEvent(new le(e))},function(e){return u.triggerEvent(new ce(e))}),this.routerState=at(this.currentUrlTree,this.rootComponentType),this.transitions=new f.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()}return v(e,[{key:"setupNavigations",value:function(e){var t=this,n=this.events;return e.pipe((0,A.h)(function(e){return 0!==e.id}),(0,V.U)(function(e){return Object.assign(Object.assign({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})}),(0,H.w)(function(e){var a,i,r,o=!1,s=!1;return(0,g.of)(e).pipe((0,Q.b)(function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object.assign(Object.assign({},t.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,H.w)(function(e){var a,i,r,o,s=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||s)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return(0,g.of)(e).pipe((0,H.w)(function(e){var a=t.transitions.getValue();return n.next(new J(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),a!==t.transitions.getValue()?_.E:Promise.resolve(e)}),(a=t.ngModule.injector,i=t.configLoader,r=t.urlSerializer,o=t.config,(0,H.w)(function(e){return function(e,t,n,a,i){return new Zt(e,t,n,a,i).apply()}(a,i,r,e.extractedUrl,o).pipe((0,V.U)(function(t){return Object.assign(Object.assign({},e),{urlAfterRedirects:t})}))})),(0,Q.b)(function(e){t.currentNavigation=Object.assign(Object.assign({},t.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,n,a,i,r){return(0,W.zg)(function(a){return function(e,t,n,a){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var o=new ln(e,t,n,a,i,r).recognize();return null===o?sn(new on):(0,g.of)(o)}catch(s){return sn(s)}}(e,n,a.urlAfterRedirects,(o=a.urlAfterRedirects,t.serializeUrl(o)),i,r).pipe((0,V.U)(function(e){return Object.assign(Object.assign({},a),{targetSnapshot:e})}));var o})}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),(0,Q.b)(function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,e),t.browserUrlTree=e.urlAfterRedirects);var a=new ae(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(a)}));if(s&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var l=e.id,c=e.extractedUrl,u=e.source,d=e.restoredState,h=e.extras,p=new J(l,t.serializeUrl(c),u,d);n.next(p);var m=at(c,t.rootComponentType).snapshot;return(0,g.of)(Object.assign(Object.assign({},e),{targetSnapshot:m,urlAfterRedirects:c,extras:Object.assign(Object.assign({},h),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),_.E}),pn(function(e){var n=e.targetSnapshot,a=e.id,i=e.extractedUrl,r=e.rawUrl,o=e.extras,s=o.skipLocationChange,l=o.replaceUrl;return t.hooks.beforePreactivation(n,{navigationId:a,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!l})}),(0,Q.b)(function(e){var n=new ie(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),(0,V.U)(function(e){return Object.assign(Object.assign({},e),{guards:tn(e.targetSnapshot,e.currentSnapshot,t.rootContexts)})}),function(e,t){return(0,W.zg)(function(n){var a=n.targetSnapshot,i=n.currentSnapshot,r=n.guards,o=r.canActivateChecks,s=r.canDeactivateChecks;return 0===s.length&&0===o.length?(0,g.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,a){return(0,u.D)(e).pipe((0,W.zg)(function(e){return function(e,t,n,a,i){var r=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!r||0===r.length)return(0,g.of)(!0);var o=r.map(function(r){var o,s=nn(r,t,i);if(function(e){return e&&wt(e.canDeactivate)}(s))o=Ce(s.canDeactivate(e,t,n,a));else{if(!wt(s))throw new Error("Invalid CanDeactivate guard");o=Ce(s(e,t,n,a))}return o.pipe(G())});return(0,g.of)(o).pipe(kt())}(e.component,e.route,n,t,a)}),G(function(e){return!0!==e},!0))}(s,a,i,e).pipe((0,W.zg)(function(n){return n&&"boolean"==typeof n?function(e,t,n,a){return(0,u.D)(t).pipe((0,j.b)(function(t){return(0,E.z)(function(e,t){return null!==e&&t&&t(new ue(e)),(0,g.of)(!0)}(t.route.parent,a),function(e,t){return null!==e&&t&&t(new he(e)),(0,g.of)(!0)}(t.route,a),function(e,t,n){var a=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)}).filter(function(e){return null!==e}).map(function(t){return p(function(){var i=t.guards.map(function(i){var r,o=nn(i,t.node,n);if(function(e){return e&&wt(e.canActivateChild)}(o))r=Ce(o.canActivateChild(a,e));else{if(!wt(o))throw new Error("Invalid CanActivateChild guard");r=Ce(o(a,e))}return r.pipe(G())});return(0,g.of)(i).pipe(kt())})});return(0,g.of)(i).pipe(kt())}(e,t.path,n),function(e,t,n){var a=t.routeConfig?t.routeConfig.canActivate:null;if(!a||0===a.length)return(0,g.of)(!0);var i=a.map(function(a){return p(function(){var i,r=nn(a,t,n);if(function(e){return e&&wt(e.canActivate)}(r))i=Ce(r.canActivate(t,e));else{if(!wt(r))throw new Error("Invalid CanActivate guard");i=Ce(r(t,e))}return i.pipe(G())})});return(0,g.of)(i).pipe(kt())}(e,t.route,n))}),G(function(e){return!0!==e},!0))}(a,o,e,t):(0,g.of)(n)}),(0,V.U)(function(e){return Object.assign(Object.assign({},n),{guardsResult:e})}))})}(t.ngModule.injector,function(e){return t.triggerEvent(e)}),(0,Q.b)(function(e){if(It(e.guardsResult)){var n=fe('Redirecting to "'.concat(t.serializeUrl(e.guardsResult),'"'));throw n.url=e.guardsResult,n}var a=new re(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(a)}),(0,A.h)(function(e){return!!e.guardsResult||(t.cancelNavigationTransition(e,""),!1)}),pn(function(e){if(e.guards.canActivateChecks.length)return(0,g.of)(e).pipe((0,Q.b)(function(e){var n=new oe(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),(0,H.w)(function(e){var n,a,i=!1;return(0,g.of)(e).pipe((n=t.paramsInheritanceStrategy,a=t.ngModule.injector,(0,W.zg)(function(e){var t=e.targetSnapshot,i=e.guards.canActivateChecks;if(!i.length)return(0,g.of)(e);var r=0;return(0,u.D)(i).pipe((0,j.b)(function(e){return function(e,t,n,a){return function(e,t,n,a){var i=Object.keys(e);if(0===i.length)return(0,g.of)({});var r={};return(0,u.D)(i).pipe((0,W.zg)(function(i){return function(e,t,n,a){var i=nn(e,t,a);return Ce(i.resolve?i.resolve(t,n):i(t,n))}(e[i],t,n,a).pipe((0,Q.b)(function(e){r[i]=e}))}),w(1),(0,W.zg)(function(){return Object.keys(r).length===i.length?(0,g.of)(r):_.E}))}(e._resolve,e,t,a).pipe((0,V.U)(function(t){return e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),rt(e,n).resolve),null}))}(e.route,t,n,a)}),(0,Q.b)(function(){return r++}),w(1),(0,W.zg)(function(t){return r===i.length?(0,g.of)(e):_.E}))})),(0,Q.b)({next:function(){return i=!0},complete:function(){i||t.cancelNavigationTransition(e,"At least one route resolver didn't emit any value.")}}))}),(0,Q.b)(function(e){var n=new se(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}))}),pn(function(e){var n=e.targetSnapshot,a=e.id,i=e.extractedUrl,r=e.rawUrl,o=e.extras,s=o.skipLocationChange,l=o.replaceUrl;return t.hooks.afterPreactivation(n,{navigationId:a,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!l})}),(0,V.U)(function(e){var n=function(e,t,n){var a=ht(e,t._root,n?n._root:void 0);return new nt(a,t)}(t.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:n})}),(0,Q.b)(function(e){t.currentUrlTree=e.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(t.currentUrlTree,e.rawUrl),t.routerState=e.targetRouterState,"deferred"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,e),t.browserUrlTree=e.urlAfterRedirects)}),(a=t.rootContexts,i=t.routeReuseStrategy,r=function(e){return t.triggerEvent(e)},(0,V.U)(function(e){return new Rt(i,e.targetRouterState,e.currentRouterState,r).activate(a),e})),(0,Q.b)({next:function(){o=!0},complete:function(){o=!0}}),(0,K.x)(function(){o||s||t.cancelNavigationTransition(e,"Navigation ID ".concat(e.id," is not equal to the current navigation id ").concat(t.navigationId)),t.currentNavigation=null}),(0,q.K)(function(a){if(s=!0,(l=a)&&l.ngNavigationCancelingError){var i=It(a.url);i||(t.navigated=!0,t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));var r=new te(e.id,t.serializeUrl(e.extractedUrl),a.message);n.next(r),i?setTimeout(function(){var n=t.urlHandlingStrategy.merge(a.url,t.rawUrlTree);t.scheduleNavigation(n,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var o=new ne(e.id,t.serializeUrl(e.extractedUrl),a);n.next(o);try{e.resolve(t.errorHandler(a))}catch(c){e.reject(c)}}var l;return _.E}))}))}},{key:"resetRootComponentType",value:function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}},{key:"setTransition",value:function(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(t){var n=e.extractLocationChangeInfoFromEvent(t);e.shouldScheduleNavigation(e.lastLocationChangeInfo,n)&&setTimeout(function(){var t=n.source,a=n.state,i=n.urlTree,r={replaceUrl:!0};if(a){var o=Object.assign({},a);delete o.navigationId,delete o.\u0275routerPageId,0!==Object.keys(o).length&&(r.state=o)}e.scheduleNavigation(i,t,a,r)},0),e.lastLocationChangeInfo=n}))}},{key:"extractLocationChangeInfoFromEvent",value:function(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}}},{key:"shouldScheduleNavigation",value:function(e,t){if(!e)return!0;var 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))}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(e){this.events.next(e)}},{key:"resetConfig",value:function(e){Dt(e),this.config=e.map(Ft),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.relativeTo,a=t.queryParams,i=t.fragment,r=t.queryParamsHandling,o=t.preserveFragment,s=n||this.routerState.root,l=o?this.currentUrlTree.fragment:i,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 mt(t.root,t.root,t,a,i);var r=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new vt(!0,0,e);var t=0,n=!1,a=e.reduce(function(e,a,i){if("object"==typeof a&&null!=a){if(a.outlets){var r={};return Te(a.outlets,function(e,t){r[t]="string"==typeof e?e.split("/"):e}),[].concat(d(e),[{outlets:r}])}if(a.segmentPath)return[].concat(d(e),[a.segmentPath])}return"string"!=typeof a?[].concat(d(e),[a]):0===i?(a.split("/").forEach(function(a,i){0==i&&"."===a||(0==i&&""===a?n=!0:".."===a?t++:""!=a&&e.push(a))}),e):[].concat(d(e),[a])},[]);return new vt(n,t,a)}(n);if(r.toRoot())return mt(t.root,new ke([],{}),t,a,i);var o=function(e,t,n){if(e.isAbsolute)return new yt(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){var a=n.snapshot._urlSegment;return new yt(a,a===t.root,0)}var i=pt(e.commands[0])?0:1;return function(e,t,n){for(var a=e,i=t,r=n;r>i;){if(r-=i,!(a=a.parent))throw new Error("Invalid number of '../'");i=a.segments.length}return new yt(a,!1,i-r)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,e.numberOfDoubleDots)}(r,t,e),s=o.processChildren?St(o.segmentGroup,o.index,r.commands):Et(o.segmentGroup,o.index,r.commands);return mt(o.segmentGroup,s,t,a,i)}(s,this.currentUrlTree,e,c,null!=l?l:null)}},{key:"navigateByUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},n=It(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(n,this.rawUrlTree),i=null;return"computed"===this.canceledNavigationResolution&&(0===this.currentPageId||t.skipLocationChange||t.replaceUrl)&&(i=this.location.getState()),this.scheduleNavigation(a,"imperative",i,t)}},{key:"navigate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(e){for(var t=0;t2&&void 0!==arguments[2]?arguments[2]:{};m(this,e),this.router=t,this.viewportScroller=n,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.anchorScrolling||"disabled"}return v(e,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var e=this;return this.router.events.subscribe(function(t){t instanceof J?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof ee&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var e=this;return this.router.events.subscribe(function(t){t instanceof pe&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(e,t){this.router.triggerEvent(new pe(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(Rn),r.LFG(a.EM),r.LFG(void 0))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}(),Fn=new r.OlP("ROUTER_CONFIGURATION"),Un=new r.OlP("ROUTER_FORROOT_GUARD"),Bn=[a.Ye,{provide:Le,useClass:Pe},{provide:Rn,useFactory:function(e,t,n,a,i,r,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},l=arguments.length>8?arguments[8]:void 0,c=arguments.length>9?arguments[9]:void 0,u=new Rn(null,e,t,n,a,i,r,Se(o));return l&&(u.urlHandlingStrategy=l),c&&(u.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)}(s,u),s.enableTracing&&u.events.subscribe(function(e){var t,n;null===(t=console.group)||void 0===t||t.call(console,"Router Event: ".concat(e.constructor.name)),console.log(e.toString()),console.log(e),null===(n=console.groupEnd)||void 0===n||n.call(console)}),u},deps:[Le,yn,a.Ye,r.zs3,r.v3s,r.Sil,mn,Fn,[function(){return function e(){m(this,e)}}(),new r.FiY],[function(){return function e(){m(this,e)}}(),new r.FiY]]},yn,{provide:it,useFactory:function(e){return e.routerState.root},deps:[Rn]},{provide:r.v3s,useClass:r.EAV},Ln,Dn,function(){function e(){m(this,e)}return v(e,[{key:"preload",value:function(e,t){return t().pipe((0,q.K)(function(){return(0,g.of)(null)}))}}]),e}(),{provide:Fn,useValue:{enableTracing:!1}}];function zn(){return new r.PXZ("Router",Rn)}var Gn=function(){var e=function(){function e(t,n){m(this,e)}return v(e,null,[{key:"forRoot",value:function(t,n){return{ngModule:e,providers:[Bn,qn(t),{provide:Un,useFactory:Yn,deps:[[Rn,new r.FiY,new r.tp0]]},{provide:Fn,useValue:n||{}},{provide:a.S$,useFactory:Hn,deps:[a.lw,[new r.tBr(a.mr),new r.FiY],Fn]},{provide:Pn,useFactory:Vn,deps:[Rn,a.EM,Fn]},{provide:xn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Dn},{provide:r.PXZ,multi:!0,useFactory:zn},[jn,{provide:r.ip1,multi:!0,useFactory:Wn,deps:[jn]},{provide:$n,useFactory:Qn,deps:[jn]},{provide:r.tb,multi:!0,useExisting:$n}]]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[qn(t)]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(Un,8),r.LFG(Rn,8))},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({}),e}();function Vn(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Pn(e,t,n)}function Hn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new a.Do(e,t):new a.b0(e,t)}function Yn(e){return"guarded"}function qn(e){return[{provide:r.deG,multi:!0,useValue:e},{provide:mn,multi:!0,useValue:e}]}var jn=function(){var e=function(){function e(t){m(this,e),this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new b.xQ}return v(e,[{key:"appInitializer",value:function(){var e=this;return this.injector.get(a.V_,Promise.resolve(null)).then(function(){if(e.destroyed)return Promise.resolve(!0);var t=null,n=new Promise(function(e){return t=e}),a=e.injector.get(Rn),i=e.injector.get(Fn);return"disabled"===i.initialNavigation?(a.setUpLocationChangeListener(),t(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(a.hooks.afterPreactivation=function(){return e.initNavigation?(0,g.of)(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},a.initialNavigation()):t(!0),n})}},{key:"bootstrapListener",value:function(e){var t=this.injector.get(Fn),n=this.injector.get(Ln),a=this.injector.get(Pn),i=this.injector.get(Rn),o=this.injector.get(r.z2F);e===o.components[0]&&("enabledNonBlocking"!==t.initialNavigation&&void 0!==t.initialNavigation||i.initialNavigation(),n.setUpPreloading(),a.init(),i.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"ngOnDestroy",value:function(){this.destroyed=!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.LFG(r.zs3))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e}();function Wn(e){return e.appInitializer.bind(e)}function Qn(e){return e.bootstrapListener.bind(e)}var $n=new r.OlP("Router Initializer")},78942:function(t,n,r){"use strict";var s;r.d(n,{Q3p:function(){return On},nhe:function(){return Ti},jSo:function(){return Ci},DPz:function(){return Ja},T2N:function(){return ei},yKW:function(){return Qa},Asz:function(){return $a},ndF:function(){return Wa},zyh:function(){return Ka},NTf:function(){return Pi},MfT:function(){return Fi},j7H:function(){return $i},X4l:function(){return ji},Gln:function(){return Qi},dP_:function(){return ri},Aqw:function(){return ii},l88:function(){return si},dmS:function(){return oi},BW0:function(){return li},_4W:function(){return In},mBz:function(){return bi},j5J:function(){return Ri},ydg:function(){return Vi},spT:function(){return Hi},nZR:function(){return Ii},P1:function(){return ki},lzT:function(){return wi},TR4:function(){return xi},kyn:function(){return Di},EoG:function(){return Li},SDF:function(){return Ua},WMF:function(){return Mn}});var c=r(37716),p=r(38583),g=r(67574),f=r(33637),y=r(59796);function E(e){return!(0,y.k)(e)&&e-parseFloat(e)+1>=0}var S=r(54869);function b(e){var t=e.index,n=e.period,a=e.subscriber;if(a.next(t),!a.closed){if(-1===n)return a.complete();e.index=t+1,this.schedule(e,n)}}var T=r(82298),C=r(79765),O=r(66682),R=r(22759),A=r(59193),N=r(26215),w=r(9112),I=r(25917),M=(r(94402),r(35758),r(77393));function k(){return function(e){return e.lift(new x)}}var x=function(){function e(){m(this,e)}return v(e,[{key:"call",value:function(e,t){return t.subscribe(new D(e))}}]),e}(),D=function(e){i(n,e);var t=o(n);function n(e){var a;return m(this,n),(a=t.call(this,e)).hasPrev=!1,a}return v(n,[{key:"_next",value:function(e){var t;this.hasPrev?t=[this.prev,e]:this.hasPrev=!0,this.prev=e,t&&this.destination.next(t)}}]),n}(M.L);function L(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;return function(t){return 0===e?(0,A.c)():t.lift(new F(e<0?-1:e-1,t))}}var P,F=function(){function e(t,n){m(this,e),this.count=t,this.source=n}return v(e,[{key:"call",value:function(e,t){return t.subscribe(new U(e,this.count,this.source))}}]),e}(),U=function(e){i(n,e);var t=o(n);function n(e,a,i){var r;return m(this,n),(r=t.call(this,e)).count=a,r.source=i,r}return v(n,[{key:"complete",value:function(){if(!this.isStopped){var e=this.source,t=this.count;if(0===t)return a(u(n.prototype),"complete",this).call(this);t>-1&&(this.count=t-1),e.subscribe(this._unsubscribeAndRecycle())}}}]),n}(M.L),B=r(88002),z=r(39761),G=r(45435),V=r(87519),H=r(78345),Y=r(46782),q=r(71289),j=r(43190),W=r(54395),Q=r(70409),$=r(15257),K=r(68307),Z=r(62790),X=r(51307),J=r(13653),ee=(r(68939),r(3679)),te=r(99763),ne=r(75319),ae=r(39490);try{P="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(Ki){P=!1}var ie,re,oe,se=function(){var e=function e(t){m(this,e),this._platformId=t,this.isBrowser=this._platformId?(0,p.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&&!P)&&"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)(c.LFG(c.Lbi))},e.\u0275prov=c.Yz7({factory:function(){return new e(c.LFG(c.Lbi))},token:e,providedIn:"root"}),e}(),le=function(){var e=function e(){m(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({}),e}();function ce(e){return function(){if(null==ie&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return ie=!0}}))}finally{ie=ie||!1}return ie}()?e:!!e.capture}var ue=function(){function e(t){var n=this;m(this,e),this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new C.xQ,this._typeaheadSubscription=ne.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=function(e){return e.disabled},this._pressedLetters=[],this.tabOut=new C.xQ,this.change=new C.xQ,t instanceof c.n_E&&t.changes.subscribe(function(e){if(n._activeItem){var t=e.toArray().indexOf(n._activeItem);t>-1&&t!==n._activeItemIndex&&(n._activeItemIndex=t)}})}return v(e,[{key:"skipPredicate",value:function(e){return this._skipPredicateFn=e,this}},{key:"withWrap",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=e,this}},{key:"withVerticalOrientation",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=e,this}},{key:"withHorizontalOrientation",value:function(e){return this._horizontal=e,this}},{key:"withAllowedModifierKeys",value:function(e){return this._allowedModifierKeys=e,this}},{key:"withTypeAhead",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,K.b)(function(t){return e._pressedLetters.push(t)}),(0,W.b)(t),(0,G.h)(function(){return e._pressedLetters.length>0}),(0,B.U)(function(){return e._pressedLetters.join("")})).subscribe(function(t){for(var n=e._getItemsArray(),a=1;a0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=e,this}},{key:"setActiveItem",value:function(e){var t=this._activeItem;this.updateActiveItem(e),this._activeItem!==t&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(e){var t=this,n=e.keyCode,a=["altKey","ctrlKey","metaKey","shiftKey"].every(function(n){return!e[n]||t._allowedModifierKeys.indexOf(n)>-1});switch(n){case 9:return void this.tabOut.next();case 40:if(this._vertical&&a){this.setNextItemActive();break}return;case 38:if(this._vertical&&a){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&a){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&a){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&a){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&a){this.setLastItemActive();break}return;default:return void((a||function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],e.preventDefault()}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(e){var t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),a=t[n];this._activeItem=null==a?null:a,this._activeItemIndex=n}},{key:"_setActiveItemByDelta",value:function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}},{key:"_setActiveInWrapMode",value:function(e){for(var t=this._getItemsArray(),n=1;n<=t.length;n++){var a=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[a]))return void this.setActiveItem(a)}}},{key:"_setActiveInDefaultMode",value:function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}},{key:"_setActiveItemByIndex",value:function(e,t){var n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}},{key:"_getItemsArray",value:function(){return this._items instanceof c.n_E?this._items.toArray():this._items}}]),e}(),de=function(e){i(n,e);var t=o(n);function n(){return m(this,n),t.apply(this,arguments)}return v(n,[{key:"setActiveItem",value:function(e){this.activeItem&&this.activeItem.setInactiveStyles(),a(u(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.setActiveStyles()}}]),n}(ue),he=function(e){i(n,e);var t=o(n);function n(){var e;return m(this,n),(e=t.apply(this,arguments))._origin="program",e}return v(n,[{key:"setFocusOrigin",value:function(e){return this._origin=e,this}},{key:"setActiveItem",value:function(e){a(u(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.focus(this._origin)}}]),n}(ue),_e=function(){var e=function(){function e(t){m(this,e),this._platform=t}return v(e,[{key:"isDisabled",value:function(e){return e.hasAttribute("disabled")}},{key:"isVisible",value:function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}},{key:"isTabbable",value:function(e){if(!this._platform.isBrowser)return!1;var t,n=function(e){try{return e.frameElement}catch(Ki){return null}}((t=e).ownerDocument&&t.ownerDocument.defaultView||window);if(n){if(-1===ge(n))return!1;if(!this.isVisible(n))return!1}var a=e.nodeName.toLowerCase(),i=ge(e);return e.hasAttribute("contenteditable")?-1!==i:"iframe"!==a&&"object"!==a&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){var 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)}},{key:"isFocusable",value:function(e,t){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var 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")||pe(e))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(se))},e.\u0275prov=c.Yz7({factory:function(){return new e(c.LFG(se))},token:e,providedIn:"root"}),e}();function pe(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function ge(e){if(!pe(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var me=function(){function e(t,n,a,i){var r=this,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];m(this,e),this._element=t,this._checker=n,this._ngZone=a,this._document=i,this._hasAttached=!1,this.startAnchorListener=function(){return r.focusLastTabbableElement()},this.endAnchorListener=function(){return r.focusFirstTabbableElement()},this._enabled=!0,o||this.attachAnchors()}return v(e,[{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"destroy",value:function(){var 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}},{key:"attachAnchors",value:function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.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)}},{key:"focusInitialElementWhenReady",value:function(e){var t=this;return new Promise(function(n){t._executeOnStable(function(){return n(t.focusInitialElement(e))})})}},{key:"focusFirstTabbableElementWhenReady",value:function(e){var t=this;return new Promise(function(n){t._executeOnStable(function(){return n(t.focusFirstTabbableElement(e))})})}},{key:"focusLastTabbableElementWhenReady",value:function(e){var t=this;return new Promise(function(n){t._executeOnStable(function(){return n(t.focusLastTabbableElement(e))})})}},{key:"_getRegionBoundary",value:function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], [cdkFocusRegion").concat(e,"], [cdk-focus-").concat(e,"]")),n=0;n=0;n--){var a=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(a)return a}return null}},{key:"_createAnchor",value:function(){var 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}},{key:"_toggleAnchorTabIndex",value:function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"_executeOnStable",value:function(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe((0,$.q)(1)).subscribe(e)}}]),e}(),fe=function(){var e=function(){function e(t,n,a){m(this,e),this._checker=t,this._ngZone=n,this._document=a}return v(e,[{key:"create",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new me(e,this._checker,this._ngZone,this._document,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(_e),c.LFG(c.R0b),c.LFG(p.K0))},e.\u0275prov=c.Yz7({factory:function(){return new e(c.LFG(_e),c.LFG(c.R0b),c.LFG(p.K0))},token:e,providedIn:"root"}),e}();"undefined"!=typeof Element&∈var ve=new c.OlP("cdk-input-modality-detector-options"),ye={ignoreKeys:[18,17,224,91,16]},Ee=ce({passive:!0,capture:!0}),Se=function(){var e=function(){function e(t,n,a,i){var r=this;m(this,e),this._platform=t,this._mostRecentTarget=null,this._modality=new N.X(null),this._lastTouchMs=0,this._onKeydown=function(e){var t,n;(null===(n=null===(t=r._options)||void 0===t?void 0:t.ignoreKeys)||void 0===n?void 0:n.some(function(t){return t===e.keyCode}))||(r._modality.next("keyboard"),r._mostRecentTarget=be(e))},this._onMousedown=function(e){Date.now()-r._lastTouchMs<650||(r._modality.next(function(e){return 0===e.buttons}(e)?"keyboard":"mouse"),r._mostRecentTarget=be(e))},this._onTouchstart=function(e){!function(e){var 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)?(r._lastTouchMs=Date.now(),r._modality.next("touch"),r._mostRecentTarget=be(e)):r._modality.next("keyboard")},this._options=Object.assign(Object.assign({},ye),i),this.modalityDetected=this._modality.pipe((0,J.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,V.x)()),t.isBrowser&&n.runOutsideAngular(function(){a.addEventListener("keydown",r._onKeydown,Ee),a.addEventListener("mousedown",r._onMousedown,Ee),a.addEventListener("touchstart",r._onTouchstart,Ee)})}return v(e,[{key:"mostRecentModality",get:function(){return this._modality.value}},{key:"ngOnDestroy",value:function(){this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ee),document.removeEventListener("mousedown",this._onMousedown,Ee),document.removeEventListener("touchstart",this._onTouchstart,Ee))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(se),c.LFG(c.R0b),c.LFG(p.K0),c.LFG(ve,8))},e.\u0275prov=c.Yz7({factory:function(){return new e(c.LFG(se),c.LFG(c.R0b),c.LFG(p.K0),c.LFG(ve,8))},token:e,providedIn:"root"}),e}();function be(e){return e.composedPath?e.composedPath()[0]:e.target}var Te=new c.OlP("cdk-focus-monitor-default-options"),Ce=ce({passive:!0,capture:!0}),Oe=function(){var e=function(){function e(t,n,a,i,r){var o=this;m(this,e),this._ngZone=t,this._platform=n,this._inputModalityDetector=a,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=function(){o._windowFocused=!0,o._windowFocusTimeoutId=setTimeout(function(){return o._windowFocused=!1})},this._stopInputModalityDetector=new C.xQ,this._rootNodeFocusAndBlurListener=function(e){for(var t=be(e),n="focus"===e.type?o._onFocus:o._onBlur,a=t;a;a=a.parentElement)n.call(o,e,a)},this._document=i,this._detectionMode=(null==r?void 0:r.detectionMode)||0}return v(e,[{key:"monitor",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,ae.fI)(e);if(!this._platform.isBrowser||1!==n.nodeType)return(0,I.of)(null);var a=function(e){if(function(){if(null==oe){var e="undefined"!=typeof document?document.head:null;oe=!(!e||!e.createShadowRoot&&!e.attachShadow)}return oe}()){var 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;var r={checkChildren:t,subject:new C.xQ,rootNode:a};return this._elementInfo.set(n,r),this._registerGlobalListeners(r),r.subject}},{key:"stopMonitoring",value:function(e){var t=(0,ae.fI)(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(e,t,n){var a=this,i=(0,ae.fI)(e);i===this._getDocument().activeElement?this._getClosestElementsInfo(i).forEach(function(e){var n=_(e,2),i=n[0],r=n[1];return a._originChanged(i,t,r)}):(this._setOrigin(t),"function"==typeof i.focus&&i.focus(n))}},{key:"ngOnDestroy",value:function(){var e=this;this._elementInfo.forEach(function(t,n){return e.stopMonitoring(n)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(e,t,n){n?e.classList.add(t):e.classList.remove(t)}},{key:"_getFocusOrigin",value:function(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}},{key:"_shouldBeAttributedToTouch",value:function(e){return 1===this._detectionMode||!!(null==e?void 0:e.contains(this._inputModalityDetector._mostRecentTarget))}},{key:"_setClasses",value:function(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)}},{key:"_setOrigin",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._ngZone.runOutsideAngular(function(){t._origin=e,t._originFromTouchInteraction="touch"===e&&n,0===t._detectionMode&&(clearTimeout(t._originTimeoutId),t._originTimeoutId=setTimeout(function(){return t._origin=null},t._originFromTouchInteraction?650:1))})}},{key:"_onFocus",value:function(e,t){var n=this._elementInfo.get(t),a=be(e);n&&(n.checkChildren||t===a)&&this._originChanged(t,this._getFocusOrigin(a),n)}},{key:"_onBlur",value:function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(e,t){this._ngZone.run(function(){return e.next(t)})}},{key:"_registerGlobalListeners",value:function(e){var t=this;if(this._platform.isBrowser){var n=e.rootNode,a=this._rootNodeFocusListenerCount.get(n)||0;a||this._ngZone.runOutsideAngular(function(){n.addEventListener("focus",t._rootNodeFocusAndBlurListener,Ce),n.addEventListener("blur",t._rootNodeFocusAndBlurListener,Ce)}),this._rootNodeFocusListenerCount.set(n,a+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){t._getWindow().addEventListener("focus",t._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Y.R)(this._stopInputModalityDetector)).subscribe(function(e){t._setOrigin(e,!0)}))}}},{key:"_removeGlobalListeners",value:function(e){var t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){var n=this._rootNodeFocusListenerCount.get(t);n>1?this._rootNodeFocusListenerCount.set(t,n-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ce),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ce),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}},{key:"_originChanged",value:function(e,t,n){this._setClasses(e,t),this._emitOrigin(n.subject,t),this._lastFocusOrigin=t}},{key:"_getClosestElementsInfo",value:function(e){var t=[];return this._elementInfo.forEach(function(n,a){(a===e||n.checkChildren&&a.contains(e))&&t.push([a,n])}),t}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(c.R0b),c.LFG(se),c.LFG(Se),c.LFG(p.K0,8),c.LFG(Te,8))},e.\u0275prov=c.Yz7({factory:function(){return new e(c.LFG(c.R0b),c.LFG(se),c.LFG(Se),c.LFG(p.K0,8),c.LFG(Te,8))},token:e,providedIn:"root"}),e}(),Re=function(){function e(){m(this,e)}return v(e,[{key:"attach",value:function(e){return this._attachedHost=e,e.attach(this)}},{key:"detach",value:function(){var e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(e){this._attachedHost=e}}]),e}(),Ae=function(e){i(n,e);var t=o(n);function n(e,a,i,r){var o;return m(this,n),(o=t.call(this)).component=e,o.viewContainerRef=a,o.injector=i,o.componentFactoryResolver=r,o}return n}(Re),Ne=function(e){i(n,e);var t=o(n);function n(e,a,i){var r;return m(this,n),(r=t.call(this)).templateRef=e,r.viewContainerRef=a,r.context=i,r}return v(n,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=t,a(u(n.prototype),"attach",this).call(this,e)}},{key:"detach",value:function(){return this.context=void 0,a(u(n.prototype),"detach",this).call(this)}}]),n}(Re),we=function(e){i(n,e);var t=o(n);function n(e){var a;return m(this,n),(a=t.call(this)).element=e instanceof c.SBq?e.nativeElement:e,a}return n}(Re),Ie=function(){function e(){m(this,e),this._isDisposed=!1,this.attachDomPortal=null}return v(e,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(e){return e instanceof Ae?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof Ne?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof we?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(e){this._disposeFn=e}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),e}(),Me=function(e){i(n,e);var t=o(n);function n(e,i,r,o,s){var c,d;return m(this,n),(d=t.call(this)).outletElement=e,d._componentFactoryResolver=i,d._appRef=r,d._defaultInjector=o,d.attachDomPortal=function(e){var t=e.element,i=d._document.createComment("dom-portal");t.parentNode.insertBefore(i,t),d.outletElement.appendChild(t),d._attachedPortal=e,a((c=l(d),u(n.prototype)),"setDisposeFn",c).call(c,function(){i.parentNode&&i.parentNode.replaceChild(t,i)})},d._document=s,d}return v(n,[{key:"attachComponentPortal",value:function(e){var t,n=this,a=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(a,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(function(){return t.destroy()})):(t=a.create(e.injector||this._defaultInjector),this._appRef.attachView(t.hostView),this.setDisposeFn(function(){n._appRef.detachView(t.hostView),t.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=e,t}},{key:"attachTemplatePortal",value:function(e){var t=this,n=e.viewContainerRef,a=n.createEmbeddedView(e.templateRef,e.context);return a.rootNodes.forEach(function(e){return t.outletElement.appendChild(e)}),a.detectChanges(),this.setDisposeFn(function(){var e=n.indexOf(a);-1!==e&&n.remove(e)}),this._attachedPortal=e,a}},{key:"dispose",value:function(){a(u(n.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(e){return e.hostView.rootNodes[0]}}]),n}(Ie),ke=function(){var e=function(e){i(n,e);var t=o(n);function n(e,i,r){var o,s;return m(this,n),(s=t.call(this))._componentFactoryResolver=e,s._viewContainerRef=i,s._isInitialized=!1,s.attached=new c.vpe,s.attachDomPortal=function(e){var t=e.element,i=s._document.createComment("dom-portal");e.setAttachedHost(l(s)),t.parentNode.insertBefore(i,t),s._getRootNode().appendChild(t),s._attachedPortal=e,a((o=l(s),u(n.prototype)),"setDisposeFn",o).call(o,function(){i.parentNode&&i.parentNode.replaceChild(t,i)})},s._document=r,s}return v(n,[{key:"portal",get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&a(u(n.prototype),"detach",this).call(this),e&&a(u(n.prototype),"attach",this).call(this,e),this._attachedPortal=e)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){a(u(n.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(e){e.setAttachedHost(this);var t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r=t.createComponent(i,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),a(u(n.prototype),"setDisposeFn",this).call(this,function(){return r.destroy()}),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}},{key:"attachTemplatePortal",value:function(e){var t=this;e.setAttachedHost(this);var i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return a(u(n.prototype),"setDisposeFn",this).call(this,function(){return t._viewContainerRef.clear()}),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}},{key:"_getRootNode",value:function(){var e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}]),n}(Ie);return e.\u0275fac=function(t){return new(t||e)(c.Y36(c._Vd),c.Y36(c.s_b),c.Y36(p.K0))},e.\u0275dir=c.lG2({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[c.qOj]}),e}(),xe=function(){var e=function e(){m(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({}),e}(),De=r(36465),Le=r(16102);new(function(e){i(n,e);var t=o(n);function n(){return m(this,n),t.apply(this,arguments)}return v(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,a=-1,i=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++a2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?a(u(n.prototype),"requestAsyncId",this).call(this,e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(function(){return e.flush(null)})))}},{key:"recycleAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return a(u(n.prototype),"recycleAsyncId",this).call(this,e,t,i);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}]),n}(De.o));var Pe=1,Fe=Promise.resolve(),Ue={};function Be(e){return e in Ue&&(delete Ue[e],!0)}var ze=function(e){var t=Pe++;return Ue[t]=!0,Fe.then(function(){return Be(t)&&e()}),t},Ge=function(e){Be(e)};new(function(e){i(n,e);var t=o(n);function n(){return m(this,n),t.apply(this,arguments)}return v(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,a=-1,i=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++a2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?a(u(n.prototype),"requestAsyncId",this).call(this,e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=ze(e.flush.bind(e,null))))}},{key:"recycleAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return a(u(n.prototype),"recycleAsyncId",this).call(this,e,t,i);0===e.actions.length&&(Ge(t),e.scheduled=void 0)}}]),n}(De.o));var Ve=r(85345),He=function(){function e(t){m(this,e),this.durationSelector=t}return v(e,[{key:"call",value:function(e,t){return t.subscribe(new Ye(e,this.durationSelector))}}]),e}(),Ye=function(e){i(n,e);var t=o(n);function n(e,a){var i;return m(this,n),(i=t.call(this,e)).durationSelector=a,i.hasValue=!1,i}return v(n,[{key:"_next",value:function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t;try{t=(0,this.durationSelector)(e)}catch(a){return this.destination.error(a)}var n=(0,Ve.ft)(t,new Ve.IY(this));!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}},{key:"clearThrottle",value:function(){var e=this.value,t=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))}},{key:"notifyNext",value:function(){this.clearThrottle()}},{key:"notifyComplete",value:function(){this.clearThrottle()}}]),n}(Ve.Ds);function qe(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.P;return t=function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,a=-1;return E(t)?a=Number(t)<1?1:Number(t):(0,S.K)(t)&&(n=t),(0,S.K)(n)||(n=f.P),new g.y(function(t){var i=E(e)?e:+e-n.now();return n.schedule(b,i,{index:0,period:a,subscriber:t})})}(e,n)},function(e){return e.lift(new He(t))}}var je=new c.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,c.f3M)(p.K0)}}),We=function(){var e=function(){function e(t){if(m(this,e),this.value="ltr",this.change=new c.vpe,t){var n=t.documentElement?t.documentElement.dir:null,a=(t.body?t.body.dir:null)||n;this.value="ltr"===a||"rtl"===a?a:"ltr"}}return v(e,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(je,8))},e.\u0275prov=c.Yz7({factory:function(){return new e(c.LFG(je,8))},token:e,providedIn:"root"}),e}(),Qe=function(){var e=function e(){m(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({}),e}(),$e=function(){var e=function(){function e(t,n,a){m(this,e),this._ngZone=t,this._platform=n,this._scrolled=new C.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=a}return v(e,[{key:"register",value:function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(function(){return t._scrolled.next(e)}))}},{key:"deregister",value:function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}},{key:"scrolled",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new g.y(function(n){e._globalSubscription||e._addGlobalListener();var a=t>0?e._scrolled.pipe(qe(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){a.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):(0,I.of)()}},{key:"ngOnDestroy",value:function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(t,n){return e.deregister(n)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe((0,G.h)(function(e){return!e||n.indexOf(e)>-1}))}},{key:"getAncestorScrollContainers",value:function(e){var t=this,n=[];return this.scrollContainers.forEach(function(a,i){t._scrollableContainsElement(i,e)&&n.push(i)}),n}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(e,t){var n=(0,ae.fI)(t),a=e.getElementRef().nativeElement;do{if(n==a)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){var t=e._getWindow();return(0,R.R)(t.document,"scroll").subscribe(function(){return e._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(c.R0b),c.LFG(se),c.LFG(p.K0,8))},e.\u0275prov=c.Yz7({factory:function(){return new e(c.LFG(c.R0b),c.LFG(se),c.LFG(p.K0,8))},token:e,providedIn:"root"}),e}(),Ke=function(){var e=function(){function e(t,n,a){var i=this;m(this,e),this._platform=t,this._change=new C.xQ,this._changeListener=function(e){i._change.next(e)},this._document=a,n.runOutsideAngular(function(){if(t.isBrowser){var e=i._getWindow();e.addEventListener("resize",i._changeListener),e.addEventListener("orientationchange",i._changeListener)}i.change().subscribe(function(){return i._updateViewportSize()})})}return v(e,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}},{key:"getViewportRect",value:function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,a=t.height;return{top:e.top,left:e.left,bottom:e.top+a,right:e.left+n,height:a,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var 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}}},{key:"change",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return e>0?this._change.pipe(qe(e)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(se),c.LFG(c.R0b),c.LFG(p.K0,8))},e.\u0275prov=c.Yz7({factory:function(){return new e(c.LFG(se),c.LFG(c.R0b),c.LFG(p.K0,8))},token:e,providedIn:"root"}),e}(),Ze=function(){var e=function e(){m(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({}),e}(),Xe=function(){var e=function e(){m(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({imports:[[Qe,le,Ze],Qe,Ze]}),e}(),Je=function(){if(null==re){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return re=!1;if("scrollBehavior"in document.documentElement.style)re=!0;else{var e=Element.prototype.scrollTo;re=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return re}(),et=function(){function e(t,n){m(this,e),this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}return v(e,[{key:"attach",value:function(){}},{key:"enable",value:function(){if(this._canBeEnabled()){var 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,ae.HM)(-this._previousScrollPosition.left),e.style.top=(0,ae.HM)(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}},{key:"disable",value:function(){if(this._isEnabled){var 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"),Je&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Je&&(t.scrollBehavior=a,n.scrollBehavior=i)}}},{key:"_canBeEnabled",value:function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}]),e}(),tt=function(){function e(t,n,a,i){var r=this;m(this,e),this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=a,this._config=i,this._scrollSubscription=null,this._detach=function(){r.disable(),r._overlayRef.hasAttached()&&r._ngZone.run(function(){return r._overlayRef.detach()})}}return v(e,[{key:"attach",value:function(e){this._overlayRef=e}},{key:"enable",value:function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(function(){var t=e._viewportRuler.getViewportScrollPosition().top;Math.abs(t-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),nt=function(){function e(){m(this,e)}return v(e,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),e}();function at(e,t){return t.some(function(t){return e.bottomt.bottom||e.rightt.right})}function it(e,t){return t.some(function(t){return e.topt.bottom||e.leftt.right})}var rt=function(){function e(t,n,a,i){m(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=a,this._config=i,this._scrollSubscription=null}return v(e,[{key:"attach",value:function(e){this._overlayRef=e}},{key:"enable",value:function(){var e=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var t=e._overlayRef.overlayElement.getBoundingClientRect(),n=e._viewportRuler.getViewportSize(),a=n.width,i=n.height;at(t,[{width:a,height:i,bottom:i,right:a,top:0,left:0}])&&(e.disable(),e._ngZone.run(function(){return e._overlayRef.detach()}))}}))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),ot=function(){var e=function e(t,n,a,i){var r=this;m(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=a,this.noop=function(){return new nt},this.close=function(e){return new tt(r._scrollDispatcher,r._ngZone,r._viewportRuler,e)},this.block=function(){return new et(r._viewportRuler,r._document)},this.reposition=function(e){return new rt(r._scrollDispatcher,r._viewportRuler,r._ngZone,e)},this._document=i};return e.\u0275fac=function(t){return new(t||e)(c.LFG($e),c.LFG(Ke),c.LFG(c.R0b),c.LFG(p.K0))},e.\u0275prov=c.Yz7({factory:function(){return new e(c.LFG($e),c.LFG(Ke),c.LFG(c.R0b),c.LFG(p.K0))},token:e,providedIn:"root"}),e}(),st=function e(t){if(m(this,e),this.scrollStrategy=new nt,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t)for(var n=0,a=Object.keys(t);n-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(p.K0))},e.\u0275prov=c.Yz7({factory:function(){return new e(c.LFG(p.K0))},token:e,providedIn:"root"}),e}(),dt=function(){var e=function(e){i(n,e);var t=o(n);function n(e){var a;return m(this,n),(a=t.call(this,e))._keydownListener=function(e){for(var t=a._attachedOverlays,n=t.length-1;n>-1;n--)if(t[n]._keydownEvents.observers.length>0){t[n]._keydownEvents.next(e);break}},a}return v(n,[{key:"add",value:function(e){a(u(n.prototype),"add",this).call(this,e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),n}(ut);return e.\u0275fac=function(t){return new(t||e)(c.LFG(p.K0))},e.\u0275prov=c.Yz7({factory:function(){return new e(c.LFG(p.K0))},token:e,providedIn:"root"}),e}(),ht=function(){var e=function(e){i(n,e);var t=o(n);function n(e,a){var i;return m(this,n),(i=t.call(this,e))._platform=a,i._cursorStyleIsSet=!1,i._clickListener=function(e){for(var t=e.composedPath?e.composedPath()[0]:e.target,n=i._attachedOverlays.slice(),a=n.length-1;a>-1;a--){var r=n[a];if(!(r._outsidePointerEvents.observers.length<1)&&r.hasAttached()){if(r.overlayElement.contains(t))break;r._outsidePointerEvents.next(e)}}},i}return v(n,[{key:"add",value:function(e){if(a(u(n.prototype),"add",this).call(this,e),!this._isAttached){var t=this._document.body;t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}},{key:"detach",value:function(){if(this._isAttached){var 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}}}]),n}(ut);return e.\u0275fac=function(t){return new(t||e)(c.LFG(p.K0),c.LFG(se))},e.\u0275prov=c.Yz7({factory:function(){return new e(c.LFG(p.K0),c.LFG(se))},token:e,providedIn:"root"}),e}(),_t="undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha,pt=function(){var e=function(){function e(t,n){m(this,e),this._platform=n,this._document=t}return v(e,[{key:"ngOnDestroy",value:function(){var e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){if(this._platform.isBrowser||_t)for(var e=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]'),t=0;tp&&(p=f,_=m)}}catch(v){g.e(v)}finally{g.f()}return this._isPushed=!1,void this._applyPosition(_.position,_.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(e.position,e.originPoint);this._applyPosition(e.position,e.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&vt(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)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}},{key:"withScrollableContainers",value:function(e){return this._scrollables=e,this}},{key:"withPositions",value:function(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(e){return this._viewportMargin=e,this}},{key:"withFlexibleDimensions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=e,this}},{key:"withGrowAfterOpen",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=e,this}},{key:"withPush",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=e,this}},{key:"withLockedPosition",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=e,this}},{key:"setOrigin",value:function(e){return this._origin=e,this}},{key:"withDefaultOffsetX",value:function(e){return this._offsetX=e,this}},{key:"withDefaultOffsetY",value:function(e){return this._offsetY=e,this}},{key:"withTransformOriginOn",value:function(e){return this._transformOriginSelector=e,this}},{key:"_getOriginPoint",value:function(e,t){var n;if("center"==t.originX)n=e.left+e.width/2;else{var a=this._isRtl()?e.right:e.left,i=this._isRtl()?e.left:e.right;n="start"==t.originX?a:i}return{x:n,y:"center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom}}},{key:"_getOverlayPoint",value:function(e,t,n){var 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}}},{key:"_getOverlayFit",value:function(e,t,n,a){var i=Et(t),r=e.x,o=e.y,s=this._getOffset(a,"x"),l=this._getOffset(a,"y");s&&(r+=s),l&&(o+=l);var c=0-o,u=o+i.height-n.height,d=this._subtractOverflows(i.width,0-r,r+i.width-n.width),h=this._subtractOverflows(i.height,c,u),_=d*h;return{visibleArea:_,isCompletelyWithinViewport:i.width*i.height===_,fitsInViewportVertically:h===i.height,fitsInViewportHorizontally:d==i.width}}},{key:"_canFitWithFlexibleDimensions",value:function(e,t,n){if(this._hasFlexibleDimensions){var a=n.bottom-t.y,i=n.right-t.x,r=yt(this._overlayRef.getConfig().minHeight),o=yt(this._overlayRef.getConfig().minWidth),s=e.fitsInViewportHorizontally||null!=o&&o<=i;return(e.fitsInViewportVertically||null!=r&&r<=a)&&s}return!1}},{key:"_pushOverlayOnScreen",value:function(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var a,i,r=Et(t),o=this._viewportRect,s=Math.max(e.x+r.width-o.width,0),l=Math.max(e.y+r.height-o.height,0),c=Math.max(o.top-n.top-e.y,0),u=Math.max(o.left-n.left-e.x,0);return a=r.width<=o.width?u||-s:e.xd&&!this._isInitialRender&&!this._growAfterOpen&&(a=e.y-d/2)}if("end"===t.overlayX&&!c||"start"===t.overlayX&&c)s=l.width-e.x+this._viewportMargin,r=e.x-this._viewportMargin;else if("start"===t.overlayX&&!c||"end"===t.overlayX&&c)o=e.x,r=l.right-e.x;else{var h=Math.min(l.right-e.x+l.left,e.x),_=this._lastBoundingBoxSize.width;r=2*h,o=e.x-h,r>_&&!this._isInitialRender&&!this._growAfterOpen&&(o=e.x-_/2)}return{top:a,left:o,bottom:i,right:s,width:r,height:n}}},{key:"_setBoundingBoxStyles",value:function(e,t){var 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));var a={};if(this._hasExactPosition())a.top=a.left="0",a.bottom=a.right=a.maxHeight=a.maxWidth="",a.width=a.height="100%";else{var i=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;a.height=(0,ae.HM)(n.height),a.top=(0,ae.HM)(n.top),a.bottom=(0,ae.HM)(n.bottom),a.width=(0,ae.HM)(n.width),a.left=(0,ae.HM)(n.left),a.right=(0,ae.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",i&&(a.maxHeight=(0,ae.HM)(i)),r&&(a.maxWidth=(0,ae.HM)(r))}this._lastBoundingBoxSize=n,vt(this._boundingBox.style,a)}},{key:"_resetBoundingBoxStyles",value:function(){vt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){vt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(e,t){var n={},a=this._hasExactPosition(),i=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(a){var o=this._viewportRuler.getViewportScrollPosition();vt(n,this._getExactOverlayY(t,e,o)),vt(n,this._getExactOverlayX(t,e,o))}else n.position="static";var s="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(s+="translateX(".concat(l,"px) ")),c&&(s+="translateY(".concat(c,"px)")),n.transform=s.trim(),r.maxHeight&&(a?n.maxHeight=(0,ae.HM)(r.maxHeight):i&&(n.maxHeight="")),r.maxWidth&&(a?n.maxWidth=(0,ae.HM)(r.maxWidth):i&&(n.maxWidth="")),vt(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(e,t,n){var a={top:"",bottom:""},i=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n));var 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,ae.HM)(i.y),a}},{key:"_getExactOverlayX",value:function(e,t,n){var a={left:"",right:""},i=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n)),"right"===(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?a.right=this._document.documentElement.clientWidth-(i.x+this._overlayRect.width)+"px":a.left=(0,ae.HM)(i.x),a}},{key:"_getScrollVisibility",value:function(){var e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(function(e){return e.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:it(e,n),isOriginOutsideView:at(e,n),isOverlayClipped:it(t,n),isOverlayOutsideView:at(t,n)}}},{key:"_subtractOverflows",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}},{key:"left",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}},{key:"right",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}},{key:"width",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}},{key:"height",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}},{key:"centerHorizontally",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(e),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(e),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),a=n.width,i=n.height,r=n.maxWidth,o=n.maxHeight,s=!("100%"!==a&&"100vw"!==a||r&&"100%"!==r&&"100vw"!==r),l=!("100%"!==i&&"100vh"!==i||o&&"100%"!==o&&"100vh"!==o);e.position=this._cssPosition,e.marginLeft=s?"0":this._leftOffset,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,s?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}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var 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}}}]),e}(),Tt=function(){var e=function(){function e(t,n,a,i){m(this,e),this._viewportRuler=t,this._document=n,this._platform=a,this._overlayContainer=i}return v(e,[{key:"global",value:function(){return new bt}},{key:"connectedTo",value:function(e,t,n){return new St(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(e){return new ft(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(Ke),c.LFG(p.K0),c.LFG(se),c.LFG(pt))},e.\u0275prov=c.Yz7({factory:function(){return new e(c.LFG(Ke),c.LFG(p.K0),c.LFG(se),c.LFG(pt))},token:e,providedIn:"root"}),e}(),Ct=0,Ot=function(){var e=function(){function e(t,n,a,i,r,o,s,l,c,u,d){m(this,e),this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=a,this._positionBuilder=i,this._keyboardDispatcher=r,this._injector=o,this._ngZone=s,this._document=l,this._directionality=c,this._location=u,this._outsideClickDispatcher=d}return v(e,[{key:"create",value:function(e){var t=this._createHostElement(),n=this._createPaneElement(t),a=this._createPortalOutlet(n),i=new st(e);return i.direction=i.direction||this._directionality.value,new gt(a,t,n,i,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(e){var t=this._document.createElement("div");return t.id="cdk-overlay-"+Ct++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}},{key:"_createHostElement",value:function(){var e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}},{key:"_createPortalOutlet",value:function(e){return this._appRef||(this._appRef=this._injector.get(c.z2F)),new Me(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(ot),c.LFG(pt),c.LFG(c._Vd),c.LFG(Tt),c.LFG(dt),c.LFG(c.zs3),c.LFG(c.R0b),c.LFG(p.K0),c.LFG(We),c.LFG(p.Ye),c.LFG(ht))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),Rt={provide:new c.OlP("cdk-connected-overlay-scroll-strategy"),deps:[Ot],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},At=function(){var e=function e(){m(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({providers:[Ot,Rt],imports:[[Qe,xe,Xe],Xe]}),e}(),Nt=r(17238);r(63906);var wt=r(39075);function It(e,t){if(1&e&&(c.TgZ(0,"div",2),c._uU(1),c.qZA()),2&e){var n=c.oxw();c.xp6(1),c.Oqu(n.content)}}function Mt(e,t){}var kt=["*"],xt=[[["nb-card-header"]],[["nb-card-body"]],"*",[["nb-card-footer"]]],Dt=["nb-card-header","nb-card-body","*","nb-card-footer"],Lt=["nbButton",""],Pt=["layoutTopDynamicArea"],Ft=["scrollableContainer"],Ut=["layoutContainer"],Bt=[[["nb-layout-header",3,"subheader",""]],[["nb-sidebar"]],[["nb-layout-header","subheader",""]],[["nb-layout-column"]],[["nb-layout-footer"]]],zt=["nb-layout-header:not([subheader])","nb-sidebar","nb-layout-header[subheader]","nb-layout-column","nb-layout-footer"],Gt=["nbMenuItem",""];function Vt(e,t){if(1&e&&c._UZ(0,"nb-icon",7),2&e){var n=c.oxw(2);c.Q6J("config",n.menuItem.icon)}}function Ht(e,t){if(1&e&&(c.TgZ(0,"span"),c.YNc(1,Vt,1,1,"nb-icon",6),c._uU(2),c.qZA()),2&e){var n=c.oxw();c.xp6(1),c.Q6J("ngIf",n.menuItem.icon),c.xp6(1),c.hij(" ",n.menuItem.title,"\n")}}function Yt(e,t){if(1&e&&c._UZ(0,"nb-icon",7),2&e){var n=c.oxw(2);c.Q6J("config",n.menuItem.icon)}}function qt(e,t){if(1&e&&c.GkF(0,11),2&e){c.oxw(2);var n=c.MAs(7);c.Q6J("ngTemplateOutlet",n)}}function jt(e,t){if(1&e){var n=c.EpF();c.TgZ(0,"a",8),c.NdJ("mouseenter",function(){c.CHM(n);var e=c.oxw();return e.onHoverItem(e.menuItem)})("click",function(){c.CHM(n);var e=c.oxw();return e.onItemClick(e.menuItem)}),c.YNc(1,Yt,1,1,"nb-icon",6),c.TgZ(2,"span",9),c._uU(3),c.qZA(),c.YNc(4,qt,1,1,"ng-container",10),c.qZA()}if(2&e){var a=c.oxw();c.ekj("active",a.menuItem.selected),c.Q6J("routerLink",a.menuItem.link)("queryParams",a.menuItem.queryParams)("fragment",a.menuItem.fragment)("queryParamsHandling",a.menuItem.queryParamsHandling)("preserveFragment",a.menuItem.preserveFragment)("skipLocationChange",a.menuItem.skipLocationChange),c.uIk("target",a.menuItem.target)("title",a.menuItem.title),c.xp6(1),c.Q6J("ngIf",a.menuItem.icon),c.xp6(2),c.Oqu(a.menuItem.title),c.xp6(1),c.Q6J("ngIf",a.badge)}}function Wt(e,t){if(1&e&&c._UZ(0,"nb-icon",7),2&e){var n=c.oxw(2);c.Q6J("config",n.menuItem.icon)}}function Qt(e,t){if(1&e&&c.GkF(0,11),2&e){c.oxw(2);var n=c.MAs(7);c.Q6J("ngTemplateOutlet",n)}}function $t(e,t){if(1&e){var n=c.EpF();c.TgZ(0,"a",12),c.NdJ("mouseenter",function(){c.CHM(n);var e=c.oxw();return e.onHoverItem(e.menuItem)})("click",function(){c.CHM(n);var e=c.oxw();return e.onSelectItem(e.menuItem)}),c.YNc(1,Wt,1,1,"nb-icon",6),c.TgZ(2,"span",9),c._uU(3),c.qZA(),c.YNc(4,Qt,1,1,"ng-container",10),c.qZA()}if(2&e){var a=c.oxw();c.ekj("active",a.menuItem.selected),c.uIk("href",a.menuItem.url,c.LSH)("target",a.menuItem.target)("title",a.menuItem.title),c.xp6(1),c.Q6J("ngIf",a.menuItem.icon),c.xp6(2),c.Oqu(a.menuItem.title),c.xp6(1),c.Q6J("ngIf",a.badge)}}function Kt(e,t){if(1&e&&c._UZ(0,"nb-icon",7),2&e){var n=c.oxw(2);c.Q6J("config",n.menuItem.icon)}}function Zt(e,t){if(1&e&&c.GkF(0,11),2&e){c.oxw(2);var n=c.MAs(7);c.Q6J("ngTemplateOutlet",n)}}function Xt(e,t){if(1&e){var n=c.EpF();c.TgZ(0,"a",12),c.NdJ("mouseenter",function(){c.CHM(n);var e=c.oxw();return e.onHoverItem(e.menuItem)})("click",function(e){c.CHM(n);var t=c.oxw();return e.preventDefault(),t.onItemClick(t.menuItem)}),c.YNc(1,Kt,1,1,"nb-icon",6),c.TgZ(2,"span",9),c._uU(3),c.qZA(),c.YNc(4,Zt,1,1,"ng-container",10),c.qZA()}if(2&e){var a=c.oxw();c.ekj("active",a.menuItem.selected),c.uIk("target",a.menuItem.target)("title",a.menuItem.title),c.xp6(1),c.Q6J("ngIf",a.menuItem.icon),c.xp6(2),c.Oqu(a.menuItem.title),c.xp6(1),c.Q6J("ngIf",a.badge)}}function Jt(e,t){if(1&e&&c._UZ(0,"nb-icon",7),2&e){var n=c.oxw(2);c.Q6J("config",n.menuItem.icon)}}function en(e,t){if(1&e&&c.GkF(0,11),2&e){c.oxw(2);var n=c.MAs(7);c.Q6J("ngTemplateOutlet",n)}}function tn(e,t){if(1&e){var n=c.EpF();c.TgZ(0,"a",13),c.NdJ("click",function(e){c.CHM(n);var t=c.oxw();return e.preventDefault(),t.onToggleSubMenu(t.menuItem)})("mouseenter",function(){c.CHM(n);var e=c.oxw();return e.onHoverItem(e.menuItem)}),c.YNc(1,Jt,1,1,"nb-icon",6),c.TgZ(2,"span",9),c._uU(3),c.qZA(),c.YNc(4,en,1,1,"ng-container",10),c._UZ(5,"nb-icon",14),c.qZA()}if(2&e){var a=c.oxw();c.ekj("active",a.menuItem.selected),c.uIk("target",a.menuItem.target)("title",a.menuItem.title),c.xp6(1),c.Q6J("ngIf",a.menuItem.icon),c.xp6(2),c.Oqu(a.menuItem.title),c.xp6(1),c.Q6J("ngIf",a.badge),c.xp6(1),c.Q6J("icon",a.getExpandStateIcon())}}function nn(e,t){if(1&e){var n=c.EpF();c.TgZ(0,"li",18),c.NdJ("hoverItem",function(e){return c.CHM(n),c.oxw(3).onHoverItem(e)})("toggleSubMenu",function(e){return c.CHM(n),c.oxw(3).onToggleSubMenu(e)})("selectItem",function(e){return c.CHM(n),c.oxw(3).onSelectItem(e)})("itemClick",function(e){return c.CHM(n),c.oxw(3).onItemClick(e)}),c.qZA()}if(2&e){var a=c.oxw().$implicit;c.ekj("menu-group",a.group),c.Q6J("menuItem",a)("badge",a.badge)}}function an(e,t){if(1&e&&(c.ynx(0),c.YNc(1,nn,1,4,"li",17),c.BQk()),2&e){var n=t.$implicit;c.xp6(1),c.Q6J("ngIf",!n.hidden)}}function rn(e,t){if(1&e&&(c.TgZ(0,"ul",15),c.YNc(1,an,2,1,"ng-container",16),c.qZA()),2&e){var n=c.oxw();c.ekj("collapsed",!(n.menuItem.children&&n.menuItem.expanded))("expanded",n.menuItem.expanded),c.Q6J("@toggle",n.toggleState),c.xp6(1),c.Q6J("ngForOf",n.menuItem.children)}}function on(e,t){if(1&e&&c._UZ(0,"nb-badge",19),2&e){var n=c.oxw();c.Q6J("text",n.badge.text)("dotMode",n.badge.dotMode)("status",n.badge.status)}}function sn(e,t){if(1&e){var n=c.EpF();c.TgZ(0,"li",3),c.NdJ("hoverItem",function(e){return c.CHM(n),c.oxw(2).onHoverItem(e)})("toggleSubMenu",function(e){return c.CHM(n),c.oxw(2).onToggleSubMenu(e)})("selectItem",function(e){return c.CHM(n),c.oxw(2).onSelectItem(e)})("itemClick",function(e){return c.CHM(n),c.oxw(2).onItemClick(e)}),c.qZA()}if(2&e){var a=c.oxw().$implicit;c.ekj("menu-group",a.group),c.Q6J("menuItem",a)("badge",a.badge)}}function ln(e,t){if(1&e&&(c.ynx(0),c.YNc(1,sn,1,4,"li",2),c.BQk()),2&e){var n=t.$implicit;c.xp6(1),c.Q6J("ngIf",!n.hidden)}}var cn=[[["nb-sidebar-header"]],"*",[["nb-sidebar-footer"]]],un=["nb-sidebar-header","*","nb-sidebar-footer"];function dn(e,t){1&e&&(c.ynx(0),c.Hsn(1),c.BQk())}function hn(e,t){if(1&e&&c._UZ(0,"nb-icon",7),2&e){var n=c.oxw().$implicit;c.Q6J("config",n.tabIcon)}}function _n(e,t){if(1&e&&(c.TgZ(0,"span",8),c._uU(1),c.qZA()),2&e){var n=c.oxw().$implicit;c.xp6(1),c.Oqu(n.tabTitle)}}function pn(e,t){if(1&e&&c._UZ(0,"nb-badge",9),2&e){var n=c.oxw().$implicit;c.Q6J("text",n.badgeText)("dotMode",n.badgeDot)("status",n.badgeStatus)("position",n.badgePosition)}}function gn(e,t){if(1&e){var n=c.EpF();c.TgZ(0,"li",2),c.NdJ("click",function(){var e=c.CHM(n).$implicit;return c.oxw().selectTab(e)})("keyup.space",function(){var e=c.CHM(n).$implicit;return c.oxw().selectTab(e)})("keyup.enter",function(){var e=c.CHM(n).$implicit;return c.oxw().selectTab(e)}),c.TgZ(1,"a",3),c.NdJ("click",function(e){return e.preventDefault()}),c.YNc(2,hn,1,1,"nb-icon",4),c.YNc(3,_n,2,1,"span",5),c.qZA(),c.YNc(4,pn,1,4,"nb-badge",6),c.qZA()}if(2&e){var a=t.$implicit;c.ekj("responsive",a.responsive)("active",a.active)("disabled",a.disabled),c.uIk("tabindex",a.disabled?-1:0)("data-tab-id",a.tabId),c.xp6(2),c.Q6J("ngIf",a.tabIcon),c.xp6(1),c.Q6J("ngIf",a.tabTitle),c.xp6(1),c.Q6J("ngIf",a.badgeText||a.badgeDot)}}var mn=[[["nb-tab"]]],fn=["nb-tab"];function vn(e,t){1&e&&c._UZ(0,"nb-icon",6)}function yn(e,t){1&e&&c._UZ(0,"nb-icon",7)}function En(e,t){}var Sn=new c.OlP("Nebular Theme Options"),bn=new c.OlP("Nebular Media Breakpoints"),Tn=new c.OlP("Nebular Built-in JS Themes"),Cn=new c.OlP("Nebular JS Themes"),On=new c.OlP("Window"),Rn=new c.OlP("Document"),An=[{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"}}],Nn=function(){var t=function(){function t(e){var n=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];m(this,t),this.themes={},this.combineByNames(a,e).forEach(function(e){n.register(e,e.name,e.base)})}return v(t,[{key:"register",value:function(e,t,n){var a=this.has(n)?this.get(n):{};this.themes[t]=this.mergeDeep({},a,e)}},{key:"has",value:function(e){return!!this.themes[e]}},{key:"get",value:function(e){if(!this.themes[e])throw Error("NbThemeConfig: no theme '".concat(e,"' found registered."));return JSON.parse(JSON.stringify(this.themes[e]))}},{key:"combineByNames",value:function(e,t){var n=this;if(e){var a=[];return e.forEach(function(e){var i=t.find(function(t){return t.name===e.name})||{},r=n.mergeDeep({},i,e);a.push(r)}),t.forEach(function(e){a.find(function(t){return t.name===e.name})||a.push(e)}),a}return t}},{key:"isObject",value:function(e){return e&&"object"==typeof e&&!Array.isArray(e)}},{key:"mergeDeep",value:function(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i=t.width&&(!i||e0&&void 0!==arguments[0]?arguments[0]:function(){};Promise.all(this.loaders).then(function(n){e.hideSpinner(),t.call(null,n)}).catch(function(e){console.error(e)})}},{key:"showSpinner",value:function(){var e=this.getSpinnerElement();e&&(e.style.display="block")}},{key:"hideSpinner",value:function(){var e=this.getSpinnerElement();e&&(e.style.display="none")}},{key:"getSpinnerElement",value:function(){return this.document.getElementById(this.selector)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(Rn))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),xn=(function(e){e.LTR="ltr",e.RTL="rtl"}(xn||(xn={})),xn),Dn=new c.OlP("Layout direction"),Ln=function(){var e=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:xn.LTR;m(this,e),this.direction=t,this.$directionChange=new T.t(1),this.setDirection(t)}return v(e,[{key:"isLtr",value:function(){return this.direction===xn.LTR}},{key:"isRtl",value:function(){return this.direction===xn.RTL}},{key:"getDirection",value:function(){return this.direction}},{key:"setDirection",value:function(e){this.direction=e,this.$directionChange.next(e)}},{key:"onDirectionChange",value:function(){return this.$directionChange.pipe((0,H.B)())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(Dn,8))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),Pn=function(){var e=function(){function e(){m(this,e),this.scrollPositionReq$=new C.xQ,this.manualScroll$=new C.xQ,this.scroll$=new C.xQ,this.scrollable$=new C.xQ}return v(e,[{key:"getPosition",value:function(){var e=this;return new g.y(function(t){var n=new C.xQ;return n.subscribe(t),e.scrollPositionReq$.next({listener:n}),function(){return n.complete()}})}},{key:"scrollTo",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.manualScroll$.next({x:e,y:t})}},{key:"onScroll",value:function(){return this.scroll$.pipe((0,H.B)())}},{key:"onManualScroll",value:function(){return this.manualScroll$.pipe((0,H.B)())}},{key:"onGetPosition",value:function(){return this.scrollPositionReq$}},{key:"onScrollableChange",value:function(){return this.scrollable$.pipe((0,H.B)())}},{key:"fireScrollChange",value:function(e){this.scroll$.next(e)}},{key:"scrollable",value:function(e){this.scrollable$.next(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),Fn=function(){var e=function(){function e(){m(this,e),this.contentDimensionsReq$=new C.xQ}return v(e,[{key:"getDimensions",value:function(){var e=this;return new g.y(function(t){var n=new C.xQ;return n.subscribe(t),e.contentDimensionsReq$.next({listener:n}),function(){return n.complete()}})}},{key:"onGetDimensions",value:function(){return this.contentDimensionsReq$}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),Un=function(){var e=function e(){m(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({imports:[p.ez,ee.u5,te.Bz]}),e}(),Bn=function(e){i(n,e);var t=o(n);function n(e,a,i,r,o){var s;return m(this,n),(s=t.call(this,e,a,i,r,o)).element=e,s.checker=a,s.ngZone=i,s.document=r,s.savePreviouslyFocusedElement(),s}return v(n,[{key:"restoreFocus",value:function(){this.previouslyFocusedElement.focus(),this.destroy()}},{key:"blurPreviouslyFocusedElement",value:function(){this.previouslyFocusedElement.blur()}},{key:"savePreviouslyFocusedElement",value:function(){this.previouslyFocusedElement=this.document.activeElement}}]),n}(me),zn=function(){var e=function(e){i(n,e);var t=o(n);function n(e,a,i){var r;return m(this,n),(r=t.call(this,e,a,i)).checker=e,r.ngZone=a,r.document=i,r}return v(n,[{key:"create",value:function(e,t){return new Bn(e,this.checker,this.ngZone,this.document,t)}}]),n}(fe);return e.\u0275fac=function(t){return new(t||e)(c.LFG(_e),c.LFG(c.R0b),c.LFG(Rn))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),Gn=function(e){i(n,e);var t=o(n);function n(){return m(this,n),t.apply(this,arguments)}return n}(he),Vn=function(){function e(){m(this,e)}return v(e,[{key:"create",value:function(e){return new Gn(e)}}]),e}(),Hn=function(e){i(n,e);var t=o(n);function n(){return m(this,n),t.apply(this,arguments)}return n}(de),Yn=function(){function e(){m(this,e)}return v(e,[{key:"create",value:function(e){return new Hn(e)}}]),e}(),qn=function(){var e,t=function(e){i(n,e);var t=o(n);function n(){return m(this,n),t.apply(this,arguments)}return n}(Oe);return t.\u0275fac=function(n){return(e||(e=c.n5z(t)))(n||t)},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac}),t}(),jn=function(){var e=function(){function e(){m(this,e)}return v(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[zn,Vn,Yn,{provide:qn,useClass:Oe}]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({}),e}(),Wn=function(){var e,t=function(e){i(n,e);var t=o(n);function n(){return m(this,n),t.apply(this,arguments)}return n}(ke);return t.\u0275fac=function(n){return(e||(e=c.n5z(t)))(n||t)},t.\u0275dir=c.lG2({type:t,selectors:[["","nbPortalOutlet",""]],features:[c.qOj]}),t}(),Qn=function(e){i(n,e);var t=o(n);function n(){return m(this,n),t.apply(this,arguments)}return n}(Ae),$n=function(){var e,t=function(e){i(n,e);var t=o(n);function n(){return m(this,n),t.apply(this,arguments)}return n}(Ot);return t.\u0275fac=function(n){return(e||(e=c.n5z(t)))(n||t)},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac}),t}(),Kn=function(){var e,t=function(e){i(n,e);var t=o(n);function n(){return m(this,n),t.apply(this,arguments)}return n}(Tt);return t.\u0275fac=function(n){return(e||(e=c.n5z(t)))(n||t)},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac}),t}(),Zn=function(e){i(n,e);var t=o(n);function n(e,a,i){return m(this,n),t.call(this,e,a,i)}return n}(Ne),Xn=function(){var e,t=function(e){i(n,e);var t=o(n);function n(){return m(this,n),t.apply(this,arguments)}return n}(pt);return t.\u0275fac=function(n){return(e||(e=c.n5z(t)))(n||t)},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac}),t}(),Jn=function(e){i(n,e);var t=o(n);function n(){return m(this,n),t.apply(this,arguments)}return n}(ft),ea=function(e){i(n,e);var t=o(n);function n(){return m(this,n),t.apply(this,arguments)}return n}(function(){function e(t,n){m(this,e),this._parentInjector=t,this._customTokens=n}return v(e,[{key:"get",value:function(e,t){var n=this._customTokens.get(e);return void 0!==n?n:this._parentInjector.get(e,t)}}]),e}()),ta=[At,xe],na=function(){var e=function(){function e(){m(this,e)}return v(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[$n,Kn]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({imports:[[].concat(ta),At,xe]}),e}(),aa=function(){var e,t=function(e){i(n,e);var t=o(n);function n(){return m(this,n),t.apply(this,arguments)}return n}(se);return t.\u0275fac=function(n){return(e||(e=c.n5z(t)))(n||t)},t.\u0275prov=(0,c.Yz7)({factory:function(){return new se((0,c.LFG)(c.Lbi))},token:t,providedIn:"root"}),t}(),ia=function(){var e,t=function(e){i(n,e);var t=o(n);function n(){return m(this,n),t.apply(this,arguments)}return v(n,[{key:"setContainer",value:function(e){this.container=e}},{key:"clearContainer",value:function(){this.container=null,this._containerElement=null}},{key:"_createContainer",value:function(){var e=this._document.createElement("div");e.classList.add("cdk-overlay-container"),this.container.appendChild(e),this._containerElement=e}}]),n}(Xn);return t.\u0275fac=function(n){return(e||(e=c.n5z(t)))(n||t)},t.\u0275prov=c.Yz7({token:t,factory:t.\u0275fac}),t}(),ra=function(){var e=function(e){i(n,e);var t=o(n);function n(e,a,i,r,o){var s;return m(this,n),(s=t.call(this,e,a,o)).ruler=i,s.scroll=r,s}return v(n,[{key:"getViewportSize",value:function(){var e;return this.ruler.getDimensions().pipe((0,B.U)(function(e){return{width:e.clientWidth,height:e.clientHeight}})).subscribe(function(t){return e=t}),e}},{key:"getViewportScrollPosition",value:function(){var e;return this.scroll.getPosition().pipe((0,B.U)(function(e){return{top:e.y,left:e.x}})).subscribe(function(t){return e=t}),e}}]),n}(Ke);return e.\u0275fac=function(t){return new(t||e)(c.LFG(aa),c.LFG(c.R0b),c.LFG(Fn),c.LFG(Pn),c.LFG(Rn))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),oa=(function(e){e.TOP_START="top-start",e.TOP_END="top-end",e.BOTTOM_START="bottom-start",e.BOTTOM_END="bottom-end"}(oa||(oa={})),oa),sa=(function(e){e.TOP_RIGHT="top-right",e.TOP_LEFT="top-left",e.BOTTOM_RIGHT="bottom-right",e.BOTTOM_LEFT="bottom-left"}(sa||(sa={})),sa),la=function(){var e=function(){function e(t){m(this,e),this.layoutDirection=t}return v(e,[{key:"toLogicalPosition",value:function(e){return Object.values(oa).includes(e)?e:this.layoutDirection.isLtr()?this.toLogicalPositionWhenLtr(e):this.toLogicalPositionWhenRtl(e)}},{key:"toPhysicalPosition",value:function(e){return Object.values(sa).includes(e)?e:this.layoutDirection.isLtr()?this.toPhysicalPositionWhenLtr(e):this.toPhysicalPositionWhenRtl(e)}},{key:"isTopPosition",value:function(e){var t=this.toLogicalPosition(e);return t===oa.TOP_END||t===oa.TOP_START}},{key:"isRightPosition",value:function(e){var t=this.toPhysicalPosition(e);return t===sa.TOP_RIGHT||t===sa.BOTTOM_RIGHT}},{key:"toLogicalPositionWhenLtr",value:function(e){switch(e){case sa.TOP_RIGHT:return oa.TOP_END;case sa.TOP_LEFT:return oa.TOP_START;case sa.BOTTOM_RIGHT:return oa.BOTTOM_END;case sa.BOTTOM_LEFT:return oa.BOTTOM_START}}},{key:"toLogicalPositionWhenRtl",value:function(e){switch(e){case sa.TOP_RIGHT:return oa.TOP_START;case sa.TOP_LEFT:return oa.TOP_END;case sa.BOTTOM_RIGHT:return oa.BOTTOM_START;case sa.BOTTOM_LEFT:return oa.BOTTOM_END}}},{key:"toPhysicalPositionWhenLtr",value:function(e){switch(e){case oa.TOP_START:return sa.TOP_LEFT;case oa.TOP_END:return sa.TOP_RIGHT;case oa.BOTTOM_START:return sa.BOTTOM_LEFT;case oa.BOTTOM_END:return sa.BOTTOM_RIGHT}}},{key:"toPhysicalPositionWhenRtl",value:function(e){switch(e){case oa.TOP_START:return sa.TOP_RIGHT;case oa.TOP_END:return sa.TOP_LEFT;case oa.BOTTOM_START:return sa.BOTTOM_RIGHT;case oa.BOTTOM_END:return sa.BOTTOM_LEFT}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(Ln))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),ca=(function(e){e.NOOP="noop",e.CLOCKWISE="clockwise",e.COUNTERCLOCKWISE="counterclockwise",e.VERTICAL="vertical",e.HORIZONTAL="horizontal"}(ca||(ca={})),ca),ua=(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"}(ua||(ua={})),ua),da=(e(s={},ua.RIGHT,function(e){return{originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:e}}),e(s,ua.BOTTOM,function(e){return{originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:e}}),e(s,ua.LEFT,function(e){return{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-e}}),e(s,ua.TOP,function(e){return{originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-e}}),e(s,ua.START,function(e){return this[ua.LEFT](e)}),e(s,ua.END,function(e){return this[ua.RIGHT](e)}),e(s,ua.END_TOP,function(e){return{originX:"end",originY:"bottom",overlayX:"start",overlayY:"bottom",offsetX:e}}),e(s,ua.END_BOTTOM,function(e){return{originX:"end",originY:"top",overlayX:"start",overlayY:"top",offsetX:e}}),e(s,ua.BOTTOM_START,function(e){return{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top",offsetY:e}}),e(s,ua.BOTTOM_END,function(e){return{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top",offsetY:e}}),e(s,ua.START_TOP,function(e){return{originX:"start",originY:"bottom",overlayX:"end",overlayY:"bottom",offsetX:-e}}),e(s,ua.START_BOTTOM,function(e){return{originX:"start",originY:"top",overlayX:"end",overlayY:"top",offsetX:-e}}),e(s,ua.TOP_START,function(e){return{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",offsetY:-e}}),e(s,ua.TOP_END,function(e){return{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",offsetY:-e}}),s),ha=[ua.TOP,ua.TOP_END,ua.TOP_START,ua.START,ua.START_TOP,ua.START_BOTTOM,ua.BOTTOM,ua.BOTTOM_START,ua.BOTTOM_END,ua.END,ua.END_BOTTOM,ua.END_TOP],_a=[ua.TOP,ua.TOP_START,ua.TOP_END,ua.END,ua.END_TOP,ua.END_BOTTOM,ua.BOTTOM,ua.BOTTOM_END,ua.BOTTOM_START,ua.START,ua.START_BOTTOM,ua.START_TOP],pa=[ua.BOTTOM,ua.TOP],ga=[ua.START,ua.END],ma=function(e){i(n,e);var t=o(n);function n(){var e;return m(this,n),(e=t.apply(this,arguments))._offset=15,e.positionChange=e.positionChanges.pipe((0,B.U)(function(e){return e.connectionPair}),(0,B.U)(function(t){return e.appliedPositions.find(function(e){var n,a;return(n=e.connectedPosition).originX===(a=t).originX&&n.originY===a.originY&&n.overlayX===a.overlayX&&n.overlayY===a.overlayY}).key})),e}return v(n,[{key:"attach",value:function(e){this.applyPositions(),a(u(n.prototype),"attach",this).call(this,e)}},{key:"apply",value:function(){this.applyPositions(),a(u(n.prototype),"apply",this).call(this)}},{key:"position",value:function(e){return this._position=e,this}},{key:"adjustment",value:function(e){return this._adjustment=e,this}},{key:"offset",value:function(e){return this._offset=e,this}},{key:"applyPositions",value:function(){var e=this.createPositions();this.persistChosenPositions(e),this.withPositions(this.appliedPositions.map(function(e){return e.connectedPosition}))}},{key:"createPositions",value:function(){switch(this._adjustment){case ca.NOOP:return[this._position];case ca.CLOCKWISE:return this.reorderPreferredPositions(_a);case ca.COUNTERCLOCKWISE:return this.reorderPreferredPositions(ha);case ca.HORIZONTAL:return this.reorderPreferredPositions(ga);case ca.VERTICAL:return this.reorderPreferredPositions(pa)}}},{key:"persistChosenPositions",value:function(e){var t=this;this.appliedPositions=e.map(function(e){return{key:e,connectedPosition:da[e](t._offset)}})}},{key:"reorderPreferredPositions",value:function(e){var t=e.indexOf(this.mapToLogicalPosition(this._position)),n=e.slice(t),a=e.slice(0,t);return n.concat(a)}},{key:"mapToLogicalPosition",value:function(e){return e===ua.LEFT?ua.START:e===ua.RIGHT?ua.END:e}}]),n}(Jn),fa=function(e){i(n,e);var t=o(n);function n(){return m(this,n),t.apply(this,arguments)}return v(n,[{key:"position",value:function(e){switch(e){case oa.TOP_START:return this.top().left();case oa.TOP_END:return this.top().right();case oa.BOTTOM_START:return this.bottom().left();case oa.BOTTOM_END:return this.bottom().right()}}}]),n}(bt),va=function(){var e=function(){function e(t,n,a,i,r){m(this,e),this.document=t,this.viewportRuler=n,this.platform=a,this.positionBuilder=i,this.overlayContainer=r}return v(e,[{key:"global",value:function(){return new fa}},{key:"connectedTo",value:function(e){return new ma(e,this.viewportRuler,this.document,this.platform,this.overlayContainer).withFlexibleDimensions(!1).withPush(!1)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(Rn),c.LFG(ra),c.LFG(aa),c.LFG(Kn),c.LFG(ia))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),ya=function(){var e=function(){function e(){m(this,e)}return v(e,[{key:"top",get:function(){return this.position===ua.TOP}},{key:"topStart",get:function(){return this.position===ua.TOP_START}},{key:"topEnd",get:function(){return this.position===ua.TOP_END}},{key:"right",get:function(){return this.position===ua.RIGHT||this.position===ua.END}},{key:"endTop",get:function(){return this.position===ua.END_TOP}},{key:"endBottom",get:function(){return this.position===ua.END_BOTTOM}},{key:"bottom",get:function(){return this.position===ua.BOTTOM}},{key:"bottomStart",get:function(){return this.position===ua.BOTTOM_START}},{key:"bottomEnd",get:function(){return this.position===ua.BOTTOM_END}},{key:"left",get:function(){return this.position===ua.LEFT||this.position===ua.START}},{key:"startTop",get:function(){return this.position===ua.START_TOP}},{key:"startBottom",get:function(){return this.position===ua.START_BOTTOM}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=c.Xpm({type:e,selectors:[["ng-component"]],hostVars:24,hostBindings:function(e,t){2&e&&c.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}(),Ea=function(){var e=function(){function e(t,n,a){m(this,e),this.vcr=t,this.injector=n,this.changeDetectorRef=a,this.isAttached=!1}return v(e,[{key:"isStringContent",get:function(){return!!this.content}},{key:"attachComponentPortal",value:function(e,t){e.injector=this.createChildInjector(e.componentFactoryResolver);var n=this.portalOutlet.attachComponentPortal(e);return t&&Object.assign(n.instance,t),n.changeDetectorRef.markForCheck(),n.changeDetectorRef.detectChanges(),this.isAttached=!0,n}},{key:"attachTemplatePortal",value:function(e){var t=this.portalOutlet.attachTemplatePortal(e);return t.detectChanges(),this.isAttached=!0,t}},{key:"attachStringContent",value:function(e){this.content=e,this.changeDetectorRef.markForCheck(),this.changeDetectorRef.detectChanges(),this.isAttached=!0}},{key:"detach",value:function(){this.portalOutlet.hasAttached()&&this.portalOutlet.detach(),this.attachStringContent(null),this.isAttached=!1}},{key:"createChildInjector",value:function(e){return new ea(this.injector,new WeakMap([[c._Vd,e]]))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Y36(c.s_b),c.Y36(c.zs3),c.Y36(c.sBO))},e.\u0275cmp=c.Xpm({type:e,selectors:[["nb-overlay-container"]],viewQuery:function(e,t){var n;(1&e&&c.Gf(Wn,7),2&e)&&(c.iGM(n=c.CRH())&&(t.portalOutlet=n.first))},decls:2,vars:1,consts:[["class","primitive-overlay",4,"ngIf"],["nbPortalOutlet",""],[1,"primitive-overlay"]],template:function(e,t){1&e&&(c.YNc(0,It,2,1,"div",0),c.YNc(1,Mt,0,0,"ng-template",1)),2&e&&c.Q6J("ngIf",t.isStringContent)},directives:[p.O5,Wn],encapsulation:2}),e}();function Sa(e,t){return Object.assign(e.instance,t),e.changeDetectorRef.detectChanges(),e}var ba=function(){var e=function(){function e(t,n){m(this,e),this.overlay=t,this.layoutDirection=n}return v(e,[{key:"scrollStrategies",get:function(){return this.overlay.scrollStrategies}},{key:"create",value:function(e){var t=this.overlay.create(e);return this.layoutDirection.onDirectionChange().subscribe(function(e){return t.setDirection(e)}),t}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG($n),c.LFG(Ln))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),Ta=function(){var e=function(e){i(n,e);var t=o(n);function n(e,a,i,r){var o;return m(this,n),(o=t.call(this,e,a,r)).scrollService=i,o}return v(n,[{key:"scrolled",value:function(e){return(0,O.T)(a(u(n.prototype),"scrolled",this).call(this,e),this.scrollService.onScroll())}}]),n}($e);return e.\u0275fac=function(t){return new(t||e)(c.LFG(c.R0b),c.LFG(aa),c.LFG(Pn),c.LFG(Rn))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),Ca=function(){var e=function(e){i(n,e);var t=o(n);function n(e,a,i){var r;return m(this,n),(r=t.call(this,a,e)).scrollService=i,r}return v(n,[{key:"enable",value:function(){a(u(n.prototype),"enable",this).call(this),this.scrollService.scrollable(!1)}},{key:"disable",value:function(){a(u(n.prototype),"disable",this).call(this),this.scrollService.scrollable(!0)}}]),n}(et);return e.\u0275fac=function(t){return new(t||e)(c.LFG(Rn),c.LFG(ra),c.LFG(Pn))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),Oa=function(){var e=function(e){i(n,e);var t=o(n);function n(e,a,i,r,o){var s;return m(this,n),(s=t.call(this,a,i,r,o)).scrollService=e,s.scrollDispatcher=a,s.viewportRuler=i,s.ngZone=r,s.document=o,s.block=function(){return new Ca(s.document,s.viewportRuler,s.scrollService)},s}return n}(ot);return e.\u0275fac=function(t){return new(t||e)(c.LFG(Pn),c.LFG($e),c.LFG(ra),c.LFG(c.R0b),c.LFG(Rn))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),Ra=function(){var e=function(){function e(){m(this,e)}return v(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[ra,ia,Ca,Ta,Oa,{provide:pt,useExisting:ia},{provide:Xn,useExisting:ia},{provide:$e,useExisting:Ta},{provide:ot,useExisting:Oa}]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({}),e}(),Aa=(function(e){e.NOOP="noop",e.CLICK="click",e.HOVER="hover",e.HINT="hint",e.FOCUS="focus"}(Aa||(Aa={})),Aa),Na=function(){function e(t,n,a){m(this,e),this.document=t,this.host=n,this.container=a,this.destroyed$=new C.xQ}return v(e,[{key:"destroy",value:function(){this.destroyed$.next()}},{key:"isNotOnHostOrContainer",value:function(e){return!this.isOnHost(e)&&!this.isOnContainer(e)}},{key:"isOnHostOrContainer",value:function(e){return this.isOnHost(e)||this.isOnContainer(e)}},{key:"isOnHost",value:function(e){var t=e.target;return this.host.contains(t)}},{key:"isOnContainer",value:function(e){var t=e.target;return this.container()&&this.container().location.nativeElement.contains(t)}}]),e}(),wa=function(e){i(n,e);var t=o(n);function n(){var e;return m(this,n),(e=t.apply(this,arguments)).click$=(0,R.R)(e.document,"click").pipe((0,B.U)(function(t){return[!e.container()&&e.isOnHost(t),t]}),(0,H.B)(),(0,Y.R)(e.destroyed$)),e.show$=e.click$.pipe((0,G.h)(function(e){return _(e,1)[0]}),(0,B.U)(function(e){return _(e,2)[1]}),(0,Y.R)(e.destroyed$)),e.hide$=e.click$.pipe((0,G.h)(function(t){var n=_(t,2),a=n[0],i=n[1];return!a&&!e.isOnContainer(i)}),(0,B.U)(function(e){return _(e,2)[1]}),(0,Y.R)(e.destroyed$)),e}return n}(Na),Ia=function(e){i(n,e);var t=o(n);function n(){var e;return m(this,n),(e=t.apply(this,arguments)).show$=(0,R.R)(e.host,"mouseenter").pipe((0,G.h)(function(){return!e.container()}),(0,q.g)(100),(0,Y.R)((0,R.R)(e.host,"mouseleave")),L(),(0,Y.R)(e.destroyed$)),e.hide$=(0,R.R)(e.host,"mouseleave").pipe((0,j.w)(function(){return(0,R.R)(e.document,"mousemove").pipe((0,W.b)(100),(0,Q.o)(function(){return!!e.container()}),(0,G.h)(function(t){return e.isNotOnHostOrContainer(t)}))}),(0,Y.R)(e.destroyed$)),e}return n}(Na),Ma=function(e){i(n,e);var t=o(n);function n(){var e;return m(this,n),(e=t.apply(this,arguments)).show$=(0,R.R)(e.host,"mouseenter").pipe((0,q.g)(100),(0,Y.R)((0,R.R)(e.host,"mouseleave")),L(),(0,Y.R)(e.destroyed$)),e.hide$=(0,R.R)(e.host,"mouseleave").pipe((0,Y.R)(e.destroyed$)),e}return n}(Na),ka=function(e){i(n,e);var t=o(n);function n(){var e;return m(this,n),(e=t.apply(this,arguments)).focusOut$=(0,R.R)(e.host,"focusout").pipe((0,j.w)(function(){return(0,R.R)(e.document,"focusin").pipe((0,Q.o)(function(){return!!e.container()}),(0,G.h)(function(t){return e.isNotOnHostOrContainer(t)}))}),(0,Y.R)(e.destroyed$)),e.clickIn$=(0,R.R)(e.host,"click").pipe((0,G.h)(function(){return!e.container()}),(0,Y.R)(e.destroyed$)),e.clickOut$=(0,R.R)(e.document,"click").pipe((0,G.h)(function(){return!!e.container()}),(0,G.h)(function(t){return e.isNotOnHostOrContainer(t)}),(0,Y.R)(e.destroyed$)),e.tabKeyPress$=(0,R.R)(e.document,"keydown").pipe((0,G.h)(function(e){return 9===e.keyCode}),(0,G.h)(function(){return!!e.container()}),(0,Y.R)(e.destroyed$)),e.show$=(0,O.T)((0,R.R)(e.host,"focusin"),e.clickIn$).pipe((0,G.h)(function(){return!e.container()}),(0,W.b)(100),(0,Y.R)((0,R.R)(e.host,"focusout")),L(),(0,Y.R)(e.destroyed$)),e.hide$=(0,O.T)(e.focusOut$,e.tabKeyPress$,e.clickOut$).pipe((0,Y.R)(e.destroyed$)),e}return n}(Na),xa=function(e){i(n,e);var t=o(n);function n(){var e;return m(this,n),(e=t.apply(this,arguments)).show$=A.E,e.hide$=A.E,e}return n}(Na),Da=function(){var e=function(){function e(t){m(this,e),this._document=t}return v(e,[{key:"trigger",value:function(e){return this._trigger=e,this}},{key:"host",value:function(e){return this._host=e,this}},{key:"container",value:function(e){return this._container=e,this}},{key:"build",value:function(){switch(this._trigger){case Aa.CLICK:return new wa(this._document,this._host,this._container);case Aa.HINT:return new Ma(this._document,this._host,this._container);case Aa.HOVER:return new Ia(this._document,this._host,this._container);case Aa.FOCUS:return new ka(this._document,this._host,this._container);case Aa.NOOP:return new xa(this._document,this._host,this._container);default:throw new Error("Trigger have to be provided")}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(Rn))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),La=function(){var e=function(){function e(){m(this,e)}return v(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[va,Da,ba,la].concat(d(na.forRoot().providers),d(Ra.forRoot().providers),d(jn.forRoot().providers))}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({imports:[[na,Un],na,Ra]}),e}(),Pa=function(){var e=function(){function e(){m(this,e),this.coreStatuses=["basic","primary","info","warning","danger","control"]}return v(e,[{key:"isCoreStatus",value:function(e){return this.coreStatuses.includes(e)}},{key:"isCustomStatus",value:function(e){return!!this.isValidStatusString(e)&&!this.isCoreStatus(e)}},{key:"getStatusClass",value:function(e){if(this.isValidStatusString(e))return"status-".concat(e)}},{key:"isValidStatusString",value:function(e){return"string"==typeof e&&e.length>0}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}();function Fa(e){if((0,p.NF)(e))return window}var Ua=function(){var e=function(){function e(){m(this,e)}return v(e,null,[{key:"forRoot",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{name:"default"},n=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;return{ngModule:e,providers:[{provide:Sn,useValue:t||{}},{provide:Tn,useValue:An},{provide:Cn,useValue:n||[]},{provide:bn,useValue:a||wn},{provide:Rn,useExisting:p.K0},{provide:On,useFactory:Fa,deps:[c.Lbi]},Nn,Mn,In,kn,{provide:Dn,useValue:i||xn.LTR},Ln,Pn,Fn].concat(d(La.forRoot().providers),[Pa])}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({imports:[[p.ez]]}),e}(),Ba=(function(e){e.SVG="svg",e.FONT="font"}(Ba||(Ba={})),Ba),za=function(){function e(t,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};m(this,e),this.name=t,this.content=n,this.params=a}return v(e,[{key:"getClasses",value:function(e){var t=[];return this.params.packClass&&t.push(this.params.packClass),t.push(this.params.iconClassPrefix?"".concat(this.params.iconClassPrefix,"-").concat(this.name):this.name),t}},{key:"getContent",value:function(e){return this.content}}]),e}(),Ga=function(){function e(t,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};m(this,e),this.name=t,this.content=n,this.params=a}return v(e,[{key:"getClasses",value:function(e){var t=[];return this.params.packClass&&t.push(this.params.packClass),t}},{key:"getContent",value:function(e){return this.content}}]),e}();function Va(e){throw Error("Icon Pack '".concat(e,"' is not registered"))}function Ha(e,t,n){throw Error("Pack '".concat(e,"' is not an '").concat(n,"' Pack and its type is '").concat(t,"'"))}var Ya=function(){var e=function(){function e(){m(this,e),this.packs=new Map}return v(e,[{key:"registerSvgPack",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.packs.set(e,{name:e,icons:new Map(Object.entries(t)),params:n,type:Ba.SVG})}},{key:"registerFontPack",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.packs.set(e,{name:e,params:t,icons:new Map,type:Ba.FONT})}},{key:"getPack",value:function(e){return this.packs.get(e)}},{key:"setDefaultPack",value:function(e){this.packs.has(e)||Va(e),this.defaultPack=this.packs.get(e)}},{key:"getSvgIcon",value:function(e,t){var n=t?this.getPackOrThrow(t):this.getDefaultPackOrThrow();n.type!==Ba.SVG&&Ha(n.name,n.type,"SVG");var a=this.getIconFromPack(e,n);return a?{name:e,pack:n.name,type:Ba.SVG,icon:this.createSvgIcon(e,a,n.params)}:null}},{key:"getFontIcon",value:function(e,t){var n=t?this.getPackOrThrow(t):this.getDefaultPackOrThrow();n.type!==Ba.FONT&&Ha(n.name,n.type,"Font");var a=this.getIconFromPack(e,n);return{name:e,pack:n.name,type:Ba.FONT,icon:this.createFontIcon(e,a||"",n.params)}}},{key:"getIcon",value:function(e,t){return(t?this.getPackOrThrow(t):this.getDefaultPackOrThrow()).type===Ba.SVG?this.getSvgIcon(e,t):this.getFontIcon(e,t)}},{key:"createSvgIcon",value:function(e,t,n){return t instanceof Ga?t:new Ga(e,t,n)}},{key:"createFontIcon",value:function(e,t,n){return t instanceof za?t:new za(e,t,n)}},{key:"getPackOrThrow",value:function(e){var t=this.packs.get(e);return t||Va(e),t}},{key:"getDefaultPackOrThrow",value:function(){return this.defaultPack||function(){throw Error("Default pack is not registered.")}(),this.defaultPack}},{key:"getIconFromPack",value:function(e,t){return t.icons.has(e)?t.icons.get(e):null}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=(0,c.Yz7)({factory:function(){return new e},token:e,providedIn:"root"}),e}(),qa=function(){var e=function(){function e(t,n,a,i,r){m(this,e),this.sanitizer=t,this.iconLibrary=n,this.el=a,this.renderer=i,this.statusService=r,this.prevClasses=[],this.html=""}return v(e,[{key:"primary",get:function(){return"primary"===this.status}},{key:"info",get:function(){return"info"===this.status}},{key:"success",get:function(){return"success"===this.status}},{key:"warning",get:function(){return"warning"===this.status}},{key:"danger",get:function(){return"danger"===this.status}},{key:"basic",get:function(){return"basic"===this.status}},{key:"control",get:function(){return"control"===this.status}},{key:"additionalClasses",get:function(){return this.statusService.isCustomStatus(this.status)?[this.statusService.getStatusClass(this.status)]:[]}},{key:"config",get:function(){return this._config},set:function(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))}},{key:"ngOnInit",value:function(){this.iconDef=this.renderIcon(this.icon,this.pack,this.options)}},{key:"ngOnChanges",value:function(){this.iconLibrary.getIcon(this.icon,this.pack)?this.renderIcon(this.icon,this.pack,this.options):this.clearIcon()}},{key:"renderIcon",value:function(e,t,n){var a=this.iconLibrary.getIcon(e,t);if(a){var i=a.icon.getContent(n);return i&&(this.html=this.sanitizer.bypassSecurityTrustHtml(i)),this.assignClasses(a.icon.getClasses(n)),a}}},{key:"clearIcon",value:function(){this.html="",this.assignClasses([])}},{key:"assignClasses",value:function(e){var t=this;this.prevClasses.forEach(function(e){t.renderer.removeClass(t.el.nativeElement,e)}),e.forEach(function(e){t.renderer.addClass(t.el.nativeElement,e)}),this.prevClasses=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Y36(wt.H7),c.Y36(Ya),c.Y36(c.SBq),c.Y36(c.Qsj),c.Y36(Pa))},e.\u0275cmp=c.Xpm({type:e,selectors:[["nb-icon"]],hostVars:17,hostBindings:function(e,t){2&e&&(c.Ikx("innerHtml",t.html,c.oJD),c.Tol(t.additionalClasses),c.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:[c.TTD],decls:0,vars:0,template:function(e,t){},styles:["[_nghost-%COMP%]{display:inline-block}"],changeDetection:0}),e}(),ja=function(){var e=function e(t){m(this,e),this.iconsLibrary=t,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)(c.LFG(Ya))},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({imports:[[p.ez]]}),e}(),Wa=function(){var e=function e(){m(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=c.Xpm({type:e,selectors:[["nb-card-header"]],ngContentSelectors:kt,decls:1,vars:0,template:function(e,t){1&e&&(c.F$t(),c.Hsn(0))},encapsulation:2}),e}(),Qa=function(){var e=function e(){m(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=c.Xpm({type:e,selectors:[["nb-card-body"]],ngContentSelectors:kt,decls:1,vars:0,template:function(e,t){1&e&&(c.F$t(),c.Hsn(0))},encapsulation:2}),e}(),$a=function(){var e=function(){function e(t){m(this,e),this.statusService=t,this._size="",this.status="",this.accent=""}return v(e,[{key:"size",get:function(){return this._size},set:function(e){this._size=e}},{key:"tiny",get:function(){return"tiny"===this.size}},{key:"small",get:function(){return"small"===this.size}},{key:"medium",get:function(){return"medium"===this.size}},{key:"large",get:function(){return"large"===this.size}},{key:"giant",get:function(){return"giant"===this.size}},{key:"primary",get:function(){return"primary"===this.status}},{key:"info",get:function(){return"info"===this.status}},{key:"success",get:function(){return"success"===this.status}},{key:"warning",get:function(){return"warning"===this.status}},{key:"danger",get:function(){return"danger"===this.status}},{key:"basic",get:function(){return"basic"===this.status}},{key:"control",get:function(){return"control"===this.status}},{key:"hasAccent",get:function(){return this.accent}},{key:"primaryAccent",get:function(){return"primary"===this.accent}},{key:"infoAccent",get:function(){return"info"===this.accent}},{key:"successAccent",get:function(){return"success"===this.accent}},{key:"warningAccent",get:function(){return"warning"===this.accent}},{key:"dangerAccent",get:function(){return"danger"===this.accent}},{key:"basicAccent",get:function(){return"basic"===this.accent}},{key:"controlAccent",get:function(){return"control"===this.accent}},{key:"additionalClasses",get:function(){return this.statusService.isCustomStatus(this.status)?[this.statusService.getStatusClass(this.status)]:[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Y36(Pa))},e.\u0275cmp=c.Xpm({type:e,selectors:[["nb-card"]],hostVars:42,hostBindings:function(e,t){2&e&&(c.Tol(t.additionalClasses),c.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:Dt,decls:4,vars:0,template:function(e,t){1&e&&(c.F$t(xt),c.Hsn(0),c.Hsn(1,1),c.Hsn(2,2),c.Hsn(3,3))},styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}"]}),e}(),Ka=function(){var e=function e(){m(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({imports:[[Un,ja]]}),e}();function Za(e){return"string"==typeof e?"true"===(e=e.toLowerCase().trim())||""===e:!!e}var Xa=function(){var e=function(){function e(t,n,a,i,r){m(this,e),this.renderer=t,this.hostElement=n,this.cd=a,this.zone=i,this.statusService=r,this.size="medium",this.status="basic",this.shape="rectangle",this.appearance="filled",this._fullWidth=!1,this._disabled=!1}return v(e,[{key:"filled",get:function(){return"filled"===this.appearance},set:function(e){Za(e)&&(this.appearance="filled")}},{key:"outline",get:function(){return"outline"===this.appearance},set:function(e){Za(e)&&(this.appearance="outline")}},{key:"ghost",get:function(){return"ghost"===this.appearance},set:function(e){Za(e)&&(this.appearance="ghost")}},{key:"fullWidth",get:function(){return this._fullWidth},set:function(e){this._fullWidth=Za(e)}},{key:"disabled",get:function(){return this._disabled},set:function(e){this.disabled!==Za(e)&&(this._disabled=!this.disabled,this.renderer.setProperty(this.hostElement.nativeElement,"disabled",this.disabled))}},{key:"tabbable",get:function(){return this.disabled?"-1":null==this.tabIndex?"0":this.tabIndex.toString()}},{key:"tiny",get:function(){return"tiny"===this.size}},{key:"small",get:function(){return"small"===this.size}},{key:"medium",get:function(){return"medium"===this.size}},{key:"large",get:function(){return"large"===this.size}},{key:"giant",get:function(){return"giant"===this.size}},{key:"rectangle",get:function(){return"rectangle"===this.shape}},{key:"round",get:function(){return"round"===this.shape}},{key:"semiRound",get:function(){return"semi-round"===this.shape}},{key:"iconLeft",get:function(){var e,t=this.iconElement;return!(!t||(e=this.hostElement.nativeElement,Array.from(e.childNodes).filter(function(e){return e.nodeType!==Node.COMMENT_NODE})[0]!==t))}},{key:"iconRight",get:function(){var e,t,n=this.iconElement;return!(!n||(e=this.hostElement.nativeElement,t=Array.from(e.childNodes).filter(function(e){return e.nodeType!==Node.COMMENT_NODE}),t[t.length-1]!==n))}},{key:"additionalClasses",get:function(){return this.statusService.isCustomStatus(this.status)?[this.statusService.getStatusClass(this.status)]:[]}},{key:"ngAfterViewInit",value:function(){var e=this;this.zone.runOutsideAngular(function(){return setTimeout(function(){e.renderer.addClass(e.hostElement.nativeElement,"nb-transition")})})}},{key:"updateProperties",value:function(e){var t=!1;for(var n in e)e.hasOwnProperty(n)&&this[n]!==e[n]&&(this[n]=e[n],t=!0);t&&this.cd.markForCheck()}},{key:"iconElement",get:function(){return this.hostElement.nativeElement.querySelector("nb-icon")}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Y36(c.Qsj),c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(c.R0b),c.Y36(Pa))},e.\u0275dir=c.lG2({type:e,hostVars:34,hostBindings:function(e,t){2&e&&(c.uIk("aria-disabled",t.disabled)("tabindex",t.tabbable),c.Tol(t.additionalClasses),c.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}(),Ja=function(){var e=function(e){i(n,e);var t=o(n);function n(e,a,i,r,o){var s;return m(this,n),(s=t.call(this,e,a,i,r,o)).renderer=e,s.hostElement=a,s.cd=i,s.zone=r,s.statusService=o,s}return v(n,[{key:"hero",get:function(){return"hero"===this.appearance},set:function(e){Za(e)&&(this.appearance="hero")}},{key:"primary",get:function(){return"primary"===this.status}},{key:"info",get:function(){return"info"===this.status}},{key:"success",get:function(){return"success"===this.status}},{key:"warning",get:function(){return"warning"===this.status}},{key:"danger",get:function(){return"danger"===this.status}},{key:"basic",get:function(){return"basic"===this.status}},{key:"control",get:function(){return"control"===this.status}},{key:"onClick",value:function(e){this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}}]),n}(Xa);return e.\u0275fac=function(t){return new(t||e)(c.Y36(c.Qsj),c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(c.R0b),c.Y36(Pa))},e.\u0275cmp=c.Xpm({type:e,selectors:[["button","nbButton",""],["a","nbButton",""],["input","type","button","nbButton",""],["input","type","submit","nbButton",""]],hostVars:16,hostBindings:function(e,t){1&e&&c.NdJ("click",function(e){return t.onClick(e)}),2&e&&c.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:[c._Bn([{provide:Xa,useExisting:e}]),c.qOj],attrs:Lt,ngContentSelectors:kt,decls:1,vars:0,template:function(e,t){1&e&&(c.F$t(),c.Hsn(0))},encapsulation:2,changeDetection:0}),e}(),ei=function(){var e=function e(){m(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({imports:[[Un]]}),e}();function ti(e){return e.match(/.*?(?=[?;#]|$)/)[0]}function ni(e){var t=e.match(/#(.+)/);return t?t[1]:""}new c.OlP("NB_TIME_PICKER_CONFIG"),new c.OlP("Datepicker Adapter"),new c.OlP("Date service options");var ai=function(){var e=function(){function e(t){m(this,e),this.router=t}return v(e,[{key:"shouldRestore",value:function(){var e=this;return this.router.events.pipe((0,z.O)(null),(0,G.h)(function(e){return null===e||e instanceof te.m2}),k(),(0,B.U)(function(t){var n=_(t,2),a=n[0],i=n[1];return e.pageChanged(a,i)}),(0,G.h)(function(e){return!!e}))}},{key:"pageChanged",value:function(e,t){return!e||ti(e.url)!==ti(t.url)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(te.F0))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),ii=function(){var e=function(){function e(t,n,a,i,r,o,s,l,c,u,d,h){var _=this;m(this,e),this.themeService=t,this.spinnerService=n,this.elementRef=a,this.renderer=i,this.window=r,this.document=o,this.platformId=s,this.layoutDirectionService=l,this.scrollService=c,this.rulerService=u,this.scrollTop=d,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 N.X(null),this.destroy$=new C.xQ,this.registerAsOverlayContainer(),this.themeService.onThemeChange().pipe((0,Y.R)(this.destroy$)).subscribe(function(e){var t=_.document.getElementsByTagName("body")[0];e.previous&&_.renderer.removeClass(t,"nb-theme-".concat(e.previous)),_.renderer.addClass(t,"nb-theme-".concat(e.name))}),this.themeService.onAppendLayoutClass().pipe((0,Y.R)(this.destroy$)).subscribe(function(e){_.renderer.addClass(_.elementRef.nativeElement,e)}),this.themeService.onRemoveLayoutClass().pipe((0,Y.R)(this.destroy$)).subscribe(function(e){_.renderer.removeClass(_.elementRef.nativeElement,e)}),this.spinnerService.registerLoader(new Promise(function(e){_.afterViewInit$.pipe((0,Y.R)(_.destroy$)).subscribe(function(t){return e()})})),this.spinnerService.load(),this.rulerService.onGetDimensions().pipe((0,Y.R)(this.destroy$)).subscribe(function(e){var t=e.listener;t.next(_.getDimensions()),t.complete()}),this.scrollService.onScrollableChange().pipe((0,G.h)(function(){return _.withScrollValue})).subscribe(function(e){e?_.enableScroll():_.blockScroll()}),(0,p.NF)(this.platformId)&&this.themeService.changeWindowWidth(this.window.innerWidth)}return v(e,[{key:"center",set:function(e){this.centerValue=Za(e)}},{key:"windowMode",set:function(e){this.windowModeValue=Za(e),this.withScroll=this.windowModeValue}},{key:"withScroll",set:function(e){this.withScrollValue=Za(e);var t=this.document.getElementsByTagName("body")[0];this.renderer.setStyle(t,"overflow",this.withScrollValue?"hidden":"initial")}},{key:"restoreScrollTop",set:function(e){this.restoreScrollTopValue=Za(e)}},{key:"ngAfterViewInit",value:function(){var e=this;this.scrollService.onGetPosition().pipe((0,Y.R)(this.destroy$)).subscribe(function(t){var n=t.listener;n.next(e.getScrollPosition()),n.complete()}),this.scrollTop.shouldRestore().pipe((0,G.h)(function(){return e.restoreScrollTopValue}),(0,Y.R)(this.destroy$)).subscribe(function(){return e.scroll(0,0)}),this.layoutDirectionService.onDirectionChange().pipe((0,Y.R)(this.destroy$)).subscribe(function(t){return e.document.dir=t}),this.scrollService.onManualScroll().pipe((0,Y.R)(this.destroy$)).subscribe(function(t){var n=t.x,a=t.y;return e.scroll(n,a)}),this.afterViewInit$.next(!0)}},{key:"ngOnDestroy",value:function(){this.destroy$.next(),this.destroy$.complete(),this.unregisterAsOverlayContainer()}},{key:"onScroll",value:function(e){this.scrollService.fireScrollChange(e)}},{key:"onResize",value:function(e){this.themeService.changeWindowWidth(e.target.innerWidth)}},{key:"getDimensions",value:function(){var e,t,n,a=0;if(this.withScrollValue){var i=this.scrollableContainerRef.nativeElement;e=i.clientWidth,t=i.clientHeight,n=i.scrollWidth,a=i.scrollHeight}else{var r=this.document,o=r.documentElement,s=r.body;e=o.clientWidth||s.clientWidth,t=o.clientHeight||s.clientHeight,n=o.scrollWidth||s.scrollWidth,a=o.scrollHeight||s.scrollHeight}return{clientWidth:e,clientHeight:t,scrollWidth:n,scrollHeight:a}}},{key:"getScrollPosition",value:function(){if(!(0,p.NF)(this.platformId))return{x:0,y:0};if(this.withScrollValue){var e=this.scrollableContainerRef.nativeElement;return{x:e.scrollLeft,y:e.scrollTop}}var t=this.document.documentElement.getBoundingClientRect();return{x:-t.left||this.document.body.scrollLeft||this.window.scrollX||this.document.documentElement.scrollLeft||0,y:-t.top||this.document.body.scrollTop||this.window.scrollY||this.document.documentElement.scrollTop||0}}},{key:"registerAsOverlayContainer",value:function(){this.overlayContainer.setContainer&&this.overlayContainer.setContainer(this.elementRef.nativeElement)}},{key:"unregisterAsOverlayContainer",value:function(){this.overlayContainer.clearContainer&&this.overlayContainer.clearContainer()}},{key:"scroll",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.getScrollPosition(),a=n.x,i=n.y;if(e=null==e?a:e,t=null==t?i:t,(0,p.NF)(this.platformId))if(this.withScrollValue){var r=this.scrollableContainerRef.nativeElement;r.scrollTo?r.scrollTo(e,t):(r.scrollLeft=e,r.scrollTop=t)}else this.window.scrollTo(e,t)}},{key:"blockScroll",value:function(){if(!this.isScrollBlocked){this.isScrollBlocked=!0,this.renderer.addClass(this.document.documentElement,this.scrollBlockClass);var e=this.scrollableContainerRef.nativeElement,t=this.layoutContainerRef.nativeElement,n=t.clientWidth;this.scrollableContainerOverflowOldValue=e.style.overflow,e.style.overflow="hidden";var a=t.clientWidth-n;a&&(this.layoutPaddingOldValue={left:t.style.paddingLeft,right:t.style.paddingRight},this.layoutDirectionService.isLtr()?t.style.paddingRight="".concat(a,"px"):t.style.paddingLeft="".concat(a,"px"))}}},{key:"enableScroll",value:function(){if(this.isScrollBlocked&&(this.isScrollBlocked=!1,this.renderer.removeClass(this.document.documentElement,this.scrollBlockClass),this.scrollableContainerRef.nativeElement.style.overflow=this.scrollableContainerOverflowOldValue,this.layoutPaddingOldValue)){var e=this.layoutContainerRef.nativeElement;e.style.paddingLeft=this.layoutPaddingOldValue.left,e.style.paddingRight=this.layoutPaddingOldValue.right,this.layoutPaddingOldValue=null}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Y36(Mn),c.Y36(kn),c.Y36(c.SBq),c.Y36(c.Qsj),c.Y36(On),c.Y36(Rn),c.Y36(c.Lbi),c.Y36(Ln),c.Y36(Pn),c.Y36(Fn),c.Y36(ai),c.Y36(ia))},e.\u0275cmp=c.Xpm({type:e,selectors:[["nb-layout"]],viewQuery:function(e,t){var n;(1&e&&(c.Gf(Pt,5,c.s_b),c.Gf(Ft,5,c.SBq),c.Gf(Ut,5,c.SBq)),2&e)&&(c.iGM(n=c.CRH())&&(t.veryTopRef=n.first),c.iGM(n=c.CRH())&&(t.scrollableContainerRef=n.first),c.iGM(n=c.CRH())&&(t.layoutContainerRef=n.first))},hostVars:6,hostBindings:function(e,t){1&e&&c.NdJ("scroll",function(e){return t.onScroll(e)},!1,c.Jf7)("resize",function(e){return t.onResize(e)},!1,c.Jf7),2&e&&c.ekj("window-mode",t.windowModeValue)("with-scroll",t.withScrollValue)("with-subheader",t.withSubheader)},inputs:{center:"center",windowMode:"windowMode",withScroll:"withScroll",restoreScrollTop:"restoreScrollTop"},ngContentSelectors:zt,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&&(c.F$t(Bt),c.TgZ(0,"div",0,1),c.NdJ("scroll",function(e){return t.onScroll(e)}),c.TgZ(2,"div",2,3),c.Hsn(4),c.TgZ(5,"div",4),c.Hsn(6,1),c.TgZ(7,"div",5),c.Hsn(8,2),c.TgZ(9,"div",6),c.Hsn(10,3),c.qZA(),c.Hsn(11,4),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&e&&(c.xp6(7),c.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}(),ri=function(){var e=function(){function e(){m(this,e)}return v(e,[{key:"left",set:function(e){this.leftValue=Za(e),this.startValue=!1}},{key:"start",set:function(e){this.startValue=Za(e),this.leftValue=!1}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=c.Xpm({type:e,selectors:[["nb-layout-column"]],hostVars:4,hostBindings:function(e,t){2&e&&c.ekj("left",t.leftValue)("start",t.startValue)},inputs:{left:"left",start:"start"},ngContentSelectors:kt,decls:1,vars:0,template:function(e,t){1&e&&(c.F$t(),c.Hsn(0))},encapsulation:2}),e}(),oi=function(){var e=function(){function e(t){m(this,e),this.layout=t}return v(e,[{key:"fixed",set:function(e){this.fixedValue=Za(e)}},{key:"subheader",set:function(e){this.subheaderValue=Za(e),this.fixedValue=!1,this.layout.withSubheader=this.subheaderValue}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Y36(ii))},e.\u0275cmp=c.Xpm({type:e,selectors:[["nb-layout-header"]],hostVars:4,hostBindings:function(e,t){2&e&&c.ekj("fixed",t.fixedValue)("subheader",t.subheaderValue)},inputs:{fixed:"fixed",subheader:"subheader"},ngContentSelectors:kt,decls:2,vars:2,template:function(e,t){1&e&&(c.F$t(),c.TgZ(0,"nav"),c.Hsn(1),c.qZA()),2&e&&c.ekj("fixed",t.fixedValue)},encapsulation:2}),e}(),si=function(){var e=function(){function e(){m(this,e)}return v(e,[{key:"fixed",set:function(e){this.fixedValue=Za(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=c.Xpm({type:e,selectors:[["nb-layout-footer"]],hostVars:2,hostBindings:function(e,t){2&e&&c.ekj("fixed",t.fixedValue)},inputs:{fixed:"fixed"},ngContentSelectors:kt,decls:2,vars:2,template:function(e,t){1&e&&(c.F$t(),c.TgZ(0,"nav"),c.Hsn(1),c.qZA()),2&e&&c.ekj("fixed",t.fixedValue)},encapsulation:2}),e}(),li=function(){var e=function e(){m(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({providers:[ai],imports:[[Un]]}),e}(),ci=new C.xQ,ui=new T.t(1),di=new T.t(1),hi=new T.t(1),_i=new T.t(1),pi=new T.t(1),gi=new T.t(1),mi=new T.t(1),fi=function(){function e(){m(this,e),this.pathMatch="full"}return v(e,null,[{key:"getParents",value:function(e){for(var t=[],n=e.parent;n;)t.unshift(n),n=n.parent;return t}},{key:"isParent",value:function(e,t){return!!t.parent&&(t.parent===e||this.isParent(e,t.parent))}}]),e}(),vi=function(){var e=function(){function e(){m(this,e)}return v(e,[{key:"addItems",value:function(e,t){ui.next({tag:t,items:e})}},{key:"collapseAll",value:function(e){mi.next({tag:e})}},{key:"navigateHome",value:function(e){di.next({tag:e})}},{key:"getSelectedItem",value:function(e){var t=new N.X(null);return hi.next({tag:e,listener:t}),t.asObservable()}},{key:"onItemClick",value:function(){return ci.pipe((0,H.B)())}},{key:"onItemSelect",value:function(){return _i.pipe((0,H.B)())}},{key:"onItemHover",value:function(){return pi.pipe((0,H.B)())}},{key:"onSubmenuToggle",value:function(){return gi.pipe((0,H.B)())}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),yi=function(){var e=function(){function e(t){m(this,e),this.location=t}return v(e,[{key:"prepareItems",value:function(e){var t=this,n=new fi;e.forEach(function(e){t.applyDefaults(e,n),t.setParent(e)})}},{key:"selectFromUrl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=this.findItemByUrl(e);a&&this.selectItem(a,e,n,t)}},{key:"selectItem",value:function(e,t){var n,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,r=this.resetSelection(t),o=a?this.collapseItems(t):[],s=h(fi.getParents(e));try{for(s.s();!(n=s.n()).done;){var l=n.value;l.selected=!0,r.includes(l)||this.itemSelect(l,i);var c=!l.expanded;l.expanded=!0;var u=o.indexOf(l);-1===u&&c?this.submenuToggle(l,i):o.splice(u,1)}}catch(g){s.e(g)}finally{s.f()}e.selected=!0,r.includes(e)||this.itemSelect(e,i);var d,_=h(o);try{for(_.s();!(d=_.n()).done;){var p=d.value;this.submenuToggle(p,i)}}catch(g){_.e(g)}finally{_.f()}}},{key:"collapseAll",value:function(e,t,n){var a,i=h(this.collapseItems(e,n));try{for(i.s();!(a=i.n()).done;){var r=a.value;this.submenuToggle(r,t)}}catch(o){i.e(o)}finally{i.f()}}},{key:"onAddItem",value:function(){return ui.pipe((0,H.B)())}},{key:"onNavigateHome",value:function(){return di.pipe((0,H.B)())}},{key:"onCollapseAll",value:function(){return mi.pipe((0,H.B)())}},{key:"onGetSelectedItem",value:function(){return hi.pipe((0,H.B)())}},{key:"itemHover",value:function(e,t){pi.next({tag:t,item:e})}},{key:"submenuToggle",value:function(e,t){gi.next({tag:t,item:e})}},{key:"itemSelect",value:function(e,t){_i.next({tag:t,item:e})}},{key:"itemClick",value:function(e,t){ci.next({tag:t,item:e})}},{key:"resetSelection",value:function(e){var t,n=[],a=h(e);try{for(a.s();!(t=a.n()).done;){var i=t.value;i.selected&&n.push(i),i.selected=!1,i.children&&n.push.apply(n,d(this.resetSelection(i.children)))}}catch(r){a.e(r)}finally{a.f()}return n}},{key:"collapseItems",value:function(e,t){var n,a=[],i=h(e);try{for(i.s();!(n=i.n()).done;){var r=n.value;t&&(r===t||fi.isParent(r,t))||(r.expanded&&a.push(r),r.expanded=!1,r.children&&a.push.apply(a,d(this.collapseItems(r.children))))}}catch(o){i.e(o)}finally{i.f()}return a}},{key:"applyDefaults",value:function(e,t){var n=this,a=Object.assign({},e);Object.assign(e,t,a),e.children&&e.children.forEach(function(e){n.applyDefaults(e,t)})}},{key:"setParent",value:function(e){var t=this;e.children&&e.children.forEach(function(n){n.parent=e,t.setParent(n)})}},{key:"findItemByUrl",value:function(e){var t,n=this;return e.some(function(e){return e.children&&(t=n.findItemByUrl(e.children)),!t&&n.isSelectedInUrl(e)&&(t=e),t}),t}},{key:"isSelectedInUrl",value:function(e){var t,n,a="full"===e.pathMatch,i=e.link,r=a?function(e,t){return t===ti(e)}(this.location.path(),i):function(e,t){var n=ti(e);return n.startsWith(t)&&-1!==n.slice(t.length).charAt(0).search(/\/|^$/)}(this.location.path(),i);return r&&null!=e.fragment?a?(t=this.location.path(!0),n=e.fragment,ni(t)===n):function(e,t){return ni(e).includes(t)}(this.location.path(!0),e.fragment):r}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(p.Ye))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),Ei=(function(e){e.Expanded="expanded",e.Collapsed="collapsed"}(Ei||(Ei={})),Ei),Si=function(){var e=function(){function e(t,n){m(this,e),this.menuService=t,this.directionService=n,this.menuItem=null,this.hoverItem=new c.vpe,this.toggleSubMenu=new c.vpe,this.selectItem=new c.vpe,this.itemClick=new c.vpe,this.destroy$=new C.xQ}return v(e,[{key:"ngDoCheck",value:function(){this.toggleState=this.menuItem.expanded?Ei.Expanded:Ei.Collapsed}},{key:"ngAfterViewInit",value:function(){var e=this;this.menuService.onSubmenuToggle().pipe((0,G.h)(function(t){return t.item===e.menuItem}),(0,B.U)(function(e){return e.item.expanded}),(0,Y.R)(this.destroy$)).subscribe(function(t){return e.toggleState=t?Ei.Expanded:Ei.Collapsed})}},{key:"ngOnDestroy",value:function(){this.destroy$.next(),this.destroy$.complete()}},{key:"onToggleSubMenu",value:function(e){this.toggleSubMenu.emit(e)}},{key:"onHoverItem",value:function(e){this.hoverItem.emit(e)}},{key:"onSelectItem",value:function(e){this.selectItem.emit(e)}},{key:"onItemClick",value:function(e){this.itemClick.emit(e)}},{key:"getExpandStateIcon",value:function(){return this.menuItem.expanded?"chevron-down-outline":this.directionService.isLtr()?"chevron-left-outline":"chevron-right-outline"}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Y36(vi),c.Y36(Ln))},e.\u0275cmp=c.Xpm({type:e,selectors:[["","nbMenuItem",""]],inputs:{menuItem:"menuItem",badge:"badge"},outputs:{hoverItem:"hoverItem",toggleSubMenu:"toggleSubMenu",selectItem:"selectItem",itemClick:"itemClick"},attrs:Gt,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&&(c.YNc(0,Ht,3,2,"span",0),c.YNc(1,jt,5,13,"a",1),c.YNc(2,$t,5,8,"a",2),c.YNc(3,Xt,5,7,"a",2),c.YNc(4,tn,6,8,"a",3),c.YNc(5,rn,2,6,"ul",4),c.YNc(6,on,1,3,"ng-template",null,5,c.W1O)),2&e&&(c.Q6J("ngIf",t.menuItem.group),c.xp6(1),c.Q6J("ngIf",t.menuItem.link&&!t.menuItem.url&&!t.menuItem.children&&!t.menuItem.group),c.xp6(1),c.Q6J("ngIf",t.menuItem.url&&!t.menuItem.children&&!t.menuItem.link&&!t.menuItem.group),c.xp6(1),c.Q6J("ngIf",!(t.menuItem.children||t.menuItem.link||t.menuItem.url||t.menuItem.group)),c.xp6(1),c.Q6J("ngIf",t.menuItem.children),c.xp6(1),c.Q6J("ngIf",t.menuItem.children))},directives:function(){return[p.O5,qa,te.yS,p.tP,p.sg,e,Ti]},encapsulation:2,data:{animation:[(0,Nt.X$)("toggle",[(0,Nt.SB)(Ei.Collapsed,(0,Nt.oB)({height:"0",margin:"0"})),(0,Nt.SB)(Ei.Expanded,(0,Nt.oB)({height:"*"})),(0,Nt.eR)("".concat(Ei.Collapsed," <=> ").concat(Ei.Expanded),(0,Nt.jt)(300))])]}}),e}(),bi=function(){var e=function(){function e(t,n,a,i){m(this,e),this.window=t,this.platformId=n,this.menuInternalService=a,this.router=i,this._autoCollapse=!1,this.destroy$=new C.xQ}return v(e,[{key:"autoCollapse",get:function(){return this._autoCollapse},set:function(e){this._autoCollapse=Za(e)}},{key:"ngOnInit",value:function(){var e=this;this.menuInternalService.prepareItems(this.items),this.menuInternalService.onAddItem().pipe((0,G.h)(function(t){return e.compareTag(t.tag)}),(0,Y.R)(this.destroy$)).subscribe(function(t){return e.onAddItem(t)}),this.menuInternalService.onNavigateHome().pipe((0,G.h)(function(t){return e.compareTag(t.tag)}),(0,Y.R)(this.destroy$)).subscribe(function(){return e.navigateHome()}),this.menuInternalService.onGetSelectedItem().pipe((0,G.h)(function(t){return e.compareTag(t.tag)}),(0,Y.R)(this.destroy$)).subscribe(function(t){t.listener.next({tag:e.tag,item:e.getSelectedItem(e.items)})}),this.menuInternalService.onCollapseAll().pipe((0,G.h)(function(t){return e.compareTag(t.tag)}),(0,Y.R)(this.destroy$)).subscribe(function(){return e.collapseAll()}),this.router.events.pipe((0,G.h)(function(e){return e instanceof te.m2}),(0,Y.R)(this.destroy$)).subscribe(function(){e.menuInternalService.selectFromUrl(e.items,e.tag,e.autoCollapse)})}},{key:"ngAfterViewInit",value:function(){var e=this;setTimeout(function(){return e.menuInternalService.selectFromUrl(e.items,e.tag,e.autoCollapse)})}},{key:"onAddItem",value:function(e){var t;(t=this.items).push.apply(t,d(e.items)),this.menuInternalService.prepareItems(this.items),this.menuInternalService.selectFromUrl(this.items,this.tag,this.autoCollapse)}},{key:"onHoverItem",value:function(e){this.menuInternalService.itemHover(e,this.tag)}},{key:"onToggleSubMenu",value:function(e){this.autoCollapse&&this.menuInternalService.collapseAll(this.items,this.tag,e),e.expanded=!e.expanded,this.menuInternalService.submenuToggle(e,this.tag)}},{key:"onSelectItem",value:function(e){this.menuInternalService.selectItem(e,this.items,this.autoCollapse,this.tag)}},{key:"onItemClick",value:function(e){this.menuInternalService.itemClick(e,this.tag)}},{key:"ngOnDestroy",value:function(){this.destroy$.next(),this.destroy$.complete()}},{key:"navigateHome",value:function(){var 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,p.NF)(this.platformId)&&(this.window.location.href=e.url))}},{key:"collapseAll",value:function(){this.menuInternalService.collapseAll(this.items,this.tag)}},{key:"getHomeItem",value:function(e){var t,n=h(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;if(a.home)return a;var i=a.children&&this.getHomeItem(a.children);if(i)return i}}catch(r){n.e(r)}finally{n.f()}}},{key:"compareTag",value:function(e){return!e||e===this.tag}},{key:"getSelectedItem",value:function(e){var t=this,n=null;return e.forEach(function(e){e.selected&&(n=e),e.selected&&e.children&&e.children.length>0&&(n=t.getSelectedItem(e.children))}),n}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Y36(On),c.Y36(c.Lbi),c.Y36(yi),c.Y36(te.F0))},e.\u0275cmp=c.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&&(c.TgZ(0,"ul",0),c.YNc(1,ln,2,1,"ng-container",1),c.qZA()),2&e&&(c.xp6(1),c.Q6J("ngForOf",t.items))},directives:[p.sg,p.O5,Si],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}(),Ti=function(){var e=function(){function e(t){m(this,e),this.statusService=t,this.text="",this._defaultPosition="top right",this._position=this._defaultPosition,this.status="basic"}return v(e,[{key:"position",get:function(){return this._position},set:function(e){this._position=e||this._defaultPosition}},{key:"dotMode",get:function(){return this._dotMode},set:function(e){this._dotMode=Za(e)}},{key:"additionalClasses",get:function(){return this.statusService.isCustomStatus(this.status)?[this.statusService.getStatusClass(this.status)]:[]}},{key:"primary",get:function(){return"primary"===this.status}},{key:"success",get:function(){return"success"===this.status}},{key:"info",get:function(){return"info"===this.status}},{key:"warning",get:function(){return"warning"===this.status}},{key:"danger",get:function(){return"danger"===this.status}},{key:"basic",get:function(){return"basic"===this.status}},{key:"control",get:function(){return"control"===this.status}},{key:"top",get:function(){return this.position.includes("top")}},{key:"right",get:function(){return this.position.includes("right")}},{key:"bottom",get:function(){return this.position.includes("bottom")}},{key:"left",get:function(){return this.position.includes("left")}},{key:"start",get:function(){return this.position.includes("start")}},{key:"end",get:function(){return this.position.includes("end")}},{key:"center",get:function(){return this.position.includes("center")}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Y36(Pa))},e.\u0275cmp=c.Xpm({type:e,selectors:[["nb-badge"]],hostVars:32,hostBindings:function(e,t){2&e&&(c.Tol(t.additionalClasses),c.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&&c._uU(0),2&e&&c.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}(),Ci=function(){var e=function e(){m(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({}),e}(),Oi=[vi,yi],Ri=function(){var e=function(){function e(){m(this,e)}return v(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[].concat(Oi)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({imports:[[Un,ja,Ci]]}),e}(),Ai=new C.xQ,Ni=new C.xQ,wi=function(){var e=function(){function e(){m(this,e),this.toggle$=new C.xQ,this.expand$=new C.xQ,this.collapse$=new C.xQ,this.compact$=new C.xQ}return v(e,[{key:"onToggle",value:function(){return this.toggle$.pipe((0,H.B)())}},{key:"onExpand",value:function(){return this.expand$.pipe((0,H.B)())}},{key:"onCollapse",value:function(){return this.collapse$.pipe((0,H.B)())}},{key:"onCompact",value:function(){return this.compact$.pipe((0,H.B)())}},{key:"toggle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;this.toggle$.next({compact:e,tag:t})}},{key:"expand",value:function(e){this.expand$.next({tag:e})}},{key:"collapse",value:function(e){this.collapse$.next({tag:e})}},{key:"compact",value:function(e){this.compact$.next({tag:e})}},{key:"getSidebarState",value:function(e){var t=new T.t(1);return Ai.next({observer:t,tag:e}),t.pipe((0,Z.n)(),(0,X.x)())}},{key:"getSidebarResponsiveState",value:function(e){var t=new T.t;return Ni.next({observer:t,tag:e}),t.pipe((0,Z.n)(),(0,X.x)())}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),Ii=function(){var e=function(){function e(t,n,a,i){m(this,e),this.sidebarService=t,this.themeService=n,this.element=a,this.cd=i,this.responsiveValueChange$=new C.xQ,this.responsiveState="pc",this.destroy$=new C.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 c.vpe,this.responsiveStateChange=new c.vpe}return v(e,[{key:"expanded",get:function(){return"expanded"===this.state}},{key:"collapsed",get:function(){return"collapsed"===this.state}},{key:"compacted",get:function(){return"compacted"===this.state}},{key:"right",set:function(e){this.rightValue=Za(e),this.leftValue=!this.rightValue,this.startValue=!1,this.endValue=!1}},{key:"left",set:function(e){this.leftValue=Za(e),this.rightValue=!this.leftValue,this.startValue=!1,this.endValue=!1}},{key:"start",set:function(e){this.startValue=Za(e),this.endValue=!this.startValue,this.leftValue=!1,this.rightValue=!1}},{key:"end",set:function(e){this.endValue=Za(e),this.startValue=!this.endValue,this.leftValue=!1,this.rightValue=!1}},{key:"fixed",set:function(e){this.fixedValue=Za(e)}},{key:"containerFixed",set:function(e){this.containerFixedValue=Za(e)}},{key:"state",get:function(){return this._state},set:function(e){this._state=e}},{key:"responsive",get:function(){return this._responsive},set:function(e){this.responsive!==Za(e)&&(this._responsive=!this.responsive,this.responsiveValueChange$.next(this.responsive))}},{key:"ngOnInit",value:function(){var e=this;this.sidebarService.onToggle().pipe((0,G.h)(function(t){var n=t.tag;return!e.tag||e.tag===n}),(0,Y.R)(this.destroy$)).subscribe(function(t){var n=t.compact;return e.toggle(n)}),this.sidebarService.onExpand().pipe((0,G.h)(function(t){var n=t.tag;return!e.tag||e.tag===n}),(0,Y.R)(this.destroy$)).subscribe(function(){return e.expand()}),this.sidebarService.onCollapse().pipe((0,G.h)(function(t){var n=t.tag;return!e.tag||e.tag===n}),(0,Y.R)(this.destroy$)).subscribe(function(){return e.collapse()}),this.sidebarService.onCompact().pipe((0,G.h)(function(t){var n=t.tag;return!e.tag||e.tag===n}),(0,Y.R)(this.destroy$)).subscribe(function(){return e.compact()}),Ai.pipe((0,G.h)(function(t){var n=t.tag;return!e.tag||e.tag===n}),(0,Y.R)(this.destroy$)).subscribe(function(t){return t.observer.next(e.state)}),Ni.pipe((0,G.h)(function(t){var n=t.tag;return!e.tag||e.tag===n}),(0,Y.R)(this.destroy$)).subscribe(function(t){return t.observer.next(e.responsiveState)}),this.responsiveValueChange$.pipe((0,G.h)(function(e){return!e}),(0,Y.R)(this.destroy$)).subscribe(function(){return e.expand()}),this.subscribeToMediaQueryChange()}},{key:"ngOnDestroy",value:function(){this.destroy$.next(),this.destroy$.complete()}},{key:"onClick",value:function(e){var t=this.element.nativeElement.querySelector("nb-menu");if(t&&t.contains(e.target)){var n=this.getMenuLink(e.target);n&&n.nextElementSibling&&n.nextElementSibling.classList.contains("menu-items")&&this.sidebarService.expand(this.tag)}}},{key:"collapse",value:function(){this.updateState("collapsed")}},{key:"expand",value:function(){this.updateState("expanded")}},{key:"compact",value:function(){this.updateState("compacted")}},{key:"toggle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.responsive&&"mobile"===this.responsiveState&&(e=!1),this.updateState("compacted"===this.state||"collapsed"===this.state?"expanded":e?"compacted":"collapsed")}},{key:"subscribeToMediaQueryChange",value:function(){var e=this;(0,w.aj)([this.responsiveValueChange$.pipe((0,z.O)(this.responsive)),this.themeService.onMediaQueryChange()]).pipe((0,G.h)(function(e){return _(e,1)[0]}),(0,B.U)(function(e){return _(e,2)[1]}),(0,Y.R)(this.destroy$)).subscribe(function(t){var n,a=_(t,2),i=a[0],r=a[1],o=e.collapsedBreakpoints.includes(r.name),s=e.compactedBreakpoints.includes(r.name);s&&(e.fixed=e.containerFixedValue,e.compact(),n="tablet"),o&&(e.fixed=!0,e.collapse(),n="mobile"),o||s||i.width&&!(i.width4&&void 0!==arguments[4]?arguments[4]:{};return this.setContentAndContext(t,n),this.setComponent(e),this.setPositionStrategy(a),this.setOverlayConfig(i),this}},{key:"setContent",value:function(e){this.content=e,this.container&&this.updateContext(),this.updatePosition()}},{key:"setContext",value:function(e){this.context=e,this.container&&this.updateContext(),this.updatePosition()}},{key:"setContentAndContext",value:function(e,t){this.content=e,this.context=t,this.container&&this.updateContext(),this.updatePosition()}},{key:"setComponent",value:function(e){this.componentType=e;var t=this.isAttached;this.disposeOverlayRef(),t&&this.show()}},{key:"setPositionStrategy",value:function(e){var t=this;this.positionStrategyChange$.next(),this.positionStrategy=e,this.positionStrategy.positionChange.pipe((0,G.h)(function(){return!!t.container}),(0,Y.R)((0,O.T)(this.positionStrategyChange$,this.destroy$))).subscribe(function(e){t.lastAppliedPosition=e,Sa(t.container,{position:e})}),this.ref&&this.ref.updatePositionStrategy(this.positionStrategy)}},{key:"setOverlayConfig",value:function(e){this.overlayConfig=e;var t=this.isAttached;this.disposeOverlayRef(),t&&this.show()}},{key:"show",value:function(){if(this.ref||this.createOverlay(),this.renderContainer(),!this.hasOverlayInContainer())return this.disposeOverlayRef(),this.show();this.isShown$.next(!0)}},{key:"hide",value:function(){this.ref&&(this.ref.detach(),this.container=null,this.isShown$.next(!1))}},{key:"toggle",value:function(){this.isAttached?this.hide():this.show()}},{key:"dispose",value:function(){this.destroy$.next(),this.destroy$.complete(),this.hide(),this.disposeOverlayRef(),this.isShown$.complete(),this.positionStrategyChange$.complete(),this.overlayDestroy$.complete()}},{key:"getContainer",value:function(){return this.container}},{key:"createOverlay",value:function(){this.ref=this.overlay.create(Object.assign({positionStrategy:this.positionStrategy,scrollStrategy:this.overlay.scrollStrategies.reposition()},this.overlayConfig)),this.updatePositionWhenStable(this.ref)}},{key:"renderContainer",value:function(){var e,t,n,a,i,r=this.createContainerContext();this.container||(this.container=(e=this.ref,t=this.componentType,n=r,a=this.componentFactoryResolver,Sa(i=e.attach(new Qn(t,null,null,a)),n),i)),this.container.instance.renderContent()}},{key:"updateContext",value:function(){var e=this.createContainerContext();Object.assign(this.container.instance,e),this.container.instance.renderContent(),this.container.changeDetectorRef.detectChanges()}},{key:"createContainerContext",value:function(){return{content:this.content,context:this.context,cfr:this.componentFactoryResolver,position:this.lastAppliedPosition}}},{key:"updatePositionWhenStable",value:function(e){var t=this,n=this.overlayDestroy$.pipe((0,G.h)(function(t){return t===e}));this.zone.onStable.pipe((0,Y.R)((0,O.T)(this.destroy$,n))).subscribe(function(){return t.updatePosition()})}},{key:"updatePosition",value:function(){this.ref&&this.ref.updatePosition()}},{key:"hasOverlayInContainer",value:function(){return this.overlayContainer.getContainerElement().contains(this.ref.hostElement)}},{key:"disposeOverlayRef",value:function(){this.ref&&(this.ref.dispose(),this.overlayDestroy$.next(this.ref),this.ref=null,this.container=null)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(ba),c.LFG(c._Vd),c.LFG(c.R0b),c.LFG(Xn))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),Bi=function(e){i(n,e);var t=o(n);function n(e,a){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return m(this,n),t.call(this,e,a,i)}return v(n,[{key:"isChanged",value:function(){return this.currentValue!==this.previousValue}}]),n}(c.WD2),zi=function(){var e=function(){function e(t,n,a){m(this,e),this.positionBuilder=t,this.triggerStrategyBuilder=n,this.dynamicOverlayService=a,this._context={},this._trigger=Aa.NOOP,this._position=ua.TOP,this._adjustment=ca.NOOP,this._offset=15,this._overlayConfig={},this.changes={}}return v(e,[{key:"host",value:function(e){return this.changes.host=new Bi(this._host,e),this._host=e,this}},{key:"trigger",value:function(e){return this.changes.trigger=new Bi(this._trigger,e),this._trigger=e,this}},{key:"position",value:function(e){return this.changes.position=new Bi(this._position,e),this._position=e,this}},{key:"adjustment",value:function(e){return this.changes.adjustment=new Bi(this._adjustment,e),this._adjustment=e,this}},{key:"componentType",value:function(e){return this.changes.componentType=new Bi(this._componentType,e),this._componentType=e,this}},{key:"content",value:function(e){return this.changes.content=new Bi(this._content,e),this._content=e,this}},{key:"context",value:function(e){return this.changes.context=new Bi(this._context,e),this._context=e,this}},{key:"offset",value:function(e){return this.changes.offset=new Bi(this._offset,e),this._offset=e,this}},{key:"overlayConfig",value:function(e){return this.changes.overlayConfig=new Bi(this._overlayConfig,e),this._overlayConfig=e,this}},{key:"build",value:function(){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}},{key:"rebuild",value:function(){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}},{key:"connect",value:function(){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)}},{key:"disconnect",value:function(){this.triggerStrategy&&this.triggerStrategy.destroy()}},{key:"destroy",value:function(){this.disconnect(),this.clearChanges(),this.dynamicOverlay&&this.dynamicOverlay.dispose()}},{key:"createPositionStrategy",value:function(){return this.positionBuilder.connectedTo(this._host).position(this._position).adjustment(this._adjustment).offset(this._offset)}},{key:"subscribeOnTriggers",value:function(e){this.triggerStrategy=this.triggerStrategyBuilder.trigger(this._trigger).host(this._host.nativeElement).container(function(){return e.getContainer()}).build(),this.triggerStrategy.show$.subscribe(function(){return e.show()}),this.triggerStrategy.hide$.subscribe(function(){return e.hide()})}},{key:"isContainerRerenderRequired",value:function(){return this.isContentUpdated()||this.isContextUpdated()||this.isPositionStrategyUpdateRequired()}},{key:"isPositionStrategyUpdateRequired",value:function(){return this.isAdjustmentUpdated()||this.isPositionUpdated()||this.isOffsetUpdated()||this.isHostUpdated()}},{key:"isTriggerStrategyUpdateRequired",value:function(){return this.isTriggerUpdated()||this.isHostUpdated()}},{key:"isComponentTypeUpdateRequired",value:function(){return this.isComponentTypeUpdated()}},{key:"isOverlayConfigUpdateRequired",value:function(){return this.isOverlayConfigUpdated()}},{key:"isComponentTypeUpdated",value:function(){return this.changes.componentType&&this.changes.componentType.isChanged()}},{key:"isContentUpdated",value:function(){return this.changes.content&&this.changes.content.isChanged()}},{key:"isContextUpdated",value:function(){return this.changes.context&&this.changes.context.isChanged()}},{key:"isAdjustmentUpdated",value:function(){return this.changes.adjustment&&this.changes.adjustment.isChanged()}},{key:"isPositionUpdated",value:function(){return this.changes.position&&this.changes.position.isChanged()}},{key:"isHostUpdated",value:function(){return this.changes.host&&this.changes.host.isChanged()}},{key:"isTriggerUpdated",value:function(){return this.changes.trigger&&this.changes.trigger.isChanged()}},{key:"isOffsetUpdated",value:function(){return this.changes.offset&&this.changes.offset.isChanged()}},{key:"isOverlayConfigUpdated",value:function(){return this.changes.overlayConfig&&this.changes.overlayConfig.isChanged()}},{key:"clearChanges",value:function(){this.changes={}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(va),c.LFG(Da),c.LFG(Ui))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),Gi=function(){var e,t=function(e){i(n,e);var t=o(n);function n(){return m(this,n),t.apply(this,arguments)}return v(n,[{key:"renderContent",value:function(){this.detachContent(),this.attachContent()}},{key:"detachContent",value:function(){this.overlayContainer.detach()}},{key:"attachContent",value:function(){this.content instanceof c.Rgc?this.attachTemplate():this.content instanceof c.DyG?this.attachComponent():this.attachString()}},{key:"attachTemplate",value:function(){this.overlayContainer.attachTemplatePortal(new Zn(this.content,null,{$implicit:this.context}))}},{key:"attachComponent",value:function(){var e=new Qn(this.content,null,null,this.cfr);this.overlayContainer.attachComponentPortal(e,this.context).changeDetectorRef.detectChanges()}},{key:"attachString",value:function(){this.overlayContainer.attachStringContent(this.content)}}]),n}(ya);return t.\u0275fac=function(n){return(e||(e=c.n5z(t)))(n||t)},t.\u0275cmp=c.Xpm({type:t,selectors:[["nb-popover"]],viewQuery:function(e,t){var n;(1&e&&c.Gf(Ea,5),2&e)&&(c.iGM(n=c.CRH())&&(t.overlayContainer=n.first))},inputs:{content:"content",context:"context",cfr:"cfr"},features:[c.qOj],decls:2,vars:0,consts:[[1,"arrow"]],template:function(e,t){1&e&&(c._UZ(0,"span",0),c._UZ(1,"nb-overlay-container"))},directives:[Ea],styles:["[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{position:absolute;width:0;height:0}"]}),t}(),Vi=function(){var e=function(){function e(t,n){m(this,e),this.hostRef=t,this.dynamicOverlayHandler=n,this.popoverComponent=Gi,this.destroy$=new C.xQ,this.context={},this.position=ua.TOP,this._adjustment=ca.CLOCKWISE,this.trigger=Aa.CLICK,this.offset=15,this._popoverClass="",this.nbPopoverShowStateChange=new c.vpe,this.overlayConfig={panelClass:this.popoverClass}}return v(e,[{key:"adjustment",get:function(){return this._adjustment},set:function(e){this._adjustment=e}},{key:"popoverClass",get:function(){return this._popoverClass},set:function(e){e!==this.popoverClass&&(this._popoverClass=e,this.overlayConfig={panelClass:this.popoverClass})}},{key:"isShown",get:function(){return!(!this.dynamicOverlay||!this.dynamicOverlay.isAttached)}},{key:"ngOnInit",value:function(){this.dynamicOverlayHandler.host(this.hostRef).componentType(this.popoverComponent)}},{key:"ngOnChanges",value:function(){this.rebuild()}},{key:"ngAfterViewInit",value:function(){var e=this;this.dynamicOverlay=this.configureDynamicOverlay().build(),this.dynamicOverlay.isShown.pipe((0,J.T)(1),(0,Y.R)(this.destroy$)).subscribe(function(t){return e.nbPopoverShowStateChange.emit({isShown:t})})}},{key:"rebuild",value:function(){this.dynamicOverlay=this.configureDynamicOverlay().rebuild()}},{key:"show",value:function(){this.dynamicOverlay.show()}},{key:"hide",value:function(){this.dynamicOverlay.hide()}},{key:"toggle",value:function(){this.dynamicOverlay.toggle()}},{key:"ngOnDestroy",value:function(){this.dynamicOverlayHandler.destroy(),this.destroy$.next(),this.destroy$.complete()}},{key:"configureDynamicOverlay",value:function(){return this.dynamicOverlayHandler.position(this.position).trigger(this.trigger).offset(this.offset).adjustment(this.adjustment).content(this.content).context(this.context).overlayConfig(this.overlayConfig)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Y36(c.SBq),c.Y36(zi))},e.\u0275dir=c.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:[c._Bn([zi,Ui]),c.TTD]}),e}(),Hi=function(){var e=function e(){m(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({imports:[[La]]}),e}();new c.OlP("Nebular Stepper Component"),(0,Nt.X$)("accordionItemBody",[(0,Nt.SB)("collapsed",(0,Nt.oB)({overflow:"hidden",visibility:"hidden",height:0})),(0,Nt.SB)("expanded",(0,Nt.oB)({overflow:"hidden",visibility:"visible"})),(0,Nt.eR)("collapsed => expanded",(0,Nt.jt)("100ms ease-in")),(0,Nt.eR)("expanded => collapsed",(0,Nt.jt)("100ms ease-out"))]),new c.OlP("NB_SORT_HEADER_COLUMN_DEF");var Yi=new c.OlP("Default dialog options"),qi=function e(t){m(this,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,t)},ji=function(){function e(t){m(this,e),this.overlayRef=t,this.onClose$=new C.xQ,this.onClose=this.onClose$.asObservable(),this.onBackdropClick=this.overlayRef.backdropClick()}return v(e,[{key:"close",value:function(e){this.overlayRef.detach(),this.overlayRef.dispose(),this.onClose$.next(e),this.onClose$.complete()}}]),e}(),Wi=function(){var e=function(){function e(t,n,a){m(this,e),this.config=t,this.elementRef=n,this.focusTrapFactory=a}return v(e,[{key:"ngOnInit",value:function(){this.config.autoFocus&&(this.focusTrap=this.focusTrapFactory.create(this.elementRef.nativeElement),this.focusTrap.blurPreviouslyFocusedElement(),this.focusTrap.focusInitialElement())}},{key:"ngOnDestroy",value:function(){this.config.autoFocus&&this.focusTrap&&this.focusTrap.restoreFocus()}},{key:"attachComponentPortal",value:function(e){return this.portalOutlet.attachComponentPortal(e)}},{key:"attachTemplatePortal",value:function(e){return this.portalOutlet.attachTemplatePortal(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Y36(qi),c.Y36(c.SBq),c.Y36(zn))},e.\u0275cmp=c.Xpm({type:e,selectors:[["nb-dialog-container"]],viewQuery:function(e,t){var n;(1&e&&c.Gf(Wn,7),2&e)&&(c.iGM(n=c.CRH())&&(t.portalOutlet=n.first))},decls:1,vars:0,consts:[["nbPortalOutlet",""]],template:function(e,t){1&e&&c.YNc(0,En,0,0,"ng-template",0)},directives:[Wn],encapsulation:2}),e}(),Qi=function(){var e=function(){function e(t,n,a,i,r,o){m(this,e),this.document=t,this.globalConfig=n,this.positionBuilder=a,this.overlay=i,this.injector=r,this.cfr=o}return v(e,[{key:"open",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new qi(Object.assign(Object.assign({},this.globalConfig),t)),a=this.createOverlay(n),i=new ji(a),r=this.createContainer(n,a);return this.createContent(n,e,r,i),this.registerCloseListeners(n,a,i),i}},{key:"createOverlay",value:function(e){var 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})}},{key:"createPositionStrategy",value:function(){return this.positionBuilder.global().centerVertically().centerHorizontally()}},{key:"createScrollStrategy",value:function(e){return e?this.overlay.scrollStrategies.noop():this.overlay.scrollStrategies.block()}},{key:"createContainer",value:function(e,t){var n=new ea(this.createInjector(e),new WeakMap([[qi,e]])),a=new Qn(Wi,null,n,this.cfr);return t.attach(a).instance}},{key:"createContent",value:function(e,t,n,a){if(t instanceof c.Rgc){var i=this.createTemplatePortal(e,t,a);n.attachTemplatePortal(i)}else{var r=this.createComponentPortal(e,t,a);a.componentRef=n.attachComponentPortal(r),e.context&&Object.assign(a.componentRef.instance,Object.assign({},e.context))}}},{key:"createTemplatePortal",value:function(e,t,n){return new Zn(t,null,{$implicit:e.context,dialogRef:n})}},{key:"createComponentPortal",value:function(e,t,n){var a=this.createInjector(e),i=new ea(a,new WeakMap([[ji,n]]));return new Qn(t,e.viewContainerRef,i)}},{key:"createInjector",value:function(e){return e.viewContainerRef&&e.viewContainerRef.injector||this.injector}},{key:"registerCloseListeners",value:function(e,t,n){e.closeOnBackdropClick&&t.backdropClick().subscribe(function(){return n.close()}),e.closeOnEsc&&(0,R.R)(this.document,"keyup").pipe((0,G.h)(function(e){return 27===e.keyCode}),(0,Y.R)(n.onClose)).subscribe(function(){return n.close()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.LFG(Rn),c.LFG(Yi),c.LFG(va),c.LFG(ba),c.LFG(c.zs3),c.LFG(c._Vd))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e}(),$i=function(){var e=function(){function e(){m(this,e)}return v(e,null,[{key:"forRoot",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[Qi,{provide:Yi,useValue:t}]}}},{key:"forChild",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[Qi,{provide:Yi,useValue:t}]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({imports:[[Un,La]]}),e}();(0,Nt.oB)({transform:"translateX({{ direction }}110%)",height:0,marginLeft:"0",marginRight:"0",marginTop:"0",marginBottom:"0"}),new c.OlP("Default toastr options"),new c.OlP("NB_SELECT_INJECTION_TOKEN"),new c.OlP("Nebular Window Content"),new c.OlP("Nebular Window Config"),new c.OlP("Nebular Window Context"),new c.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:[o],starts:{end:"<\/script>",returnEnd:!0,subLanguage:["actionscript","javascript","handlebars","xml"]}},{className:"tag",begin:"",contains:[{className:"name",begin:/[^\/><\s]+/,relevance:0},o]}]}}},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=o(i),s=this._rootContainsTarget(i),l=a.entry,c=e&&s&&this._computeTargetAndRootIntersection(i,t),u=a.entry=new n({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:r,rootBounds:t,intersectionRect:c});l?e&&s?this._hasCrossedThreshold(l,u)&&this._queuedEntries.push(u):l&&l.isIntersecting&&this._queuedEntries.push(u):this._queuedEntries.push(u)},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,s,c,u,d,h,_=o(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=o(p)),m&&(a=m,i=_,r=Math.max(a.top,i.top),s=Math.min(a.bottom,i.bottom),c=Math.max(a.left,i.left),h=s-r,!(_=(d=(u=Math.min(a.right,i.right))-c)>=0&&h>=0&&{top:r,bottom:s,left:c,right:u,width:d,height:h})))break;p=l(p)}return _}},a.prototype._getRootRect=function(){var t;if(this.root)t=o(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||y.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=d(n.def).replace("label",n._label).replace("title",n._title).getRegex(),n.bullet=/(?:[*+-]|\d+\.)/,n.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,n.item=d(n.item,"gm").replace(/bull/g,n.bullet).getRegex(),n.list=d(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=d(n.html,"i").replace("comment",n._comment).replace("tag",n._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),n.paragraph=d(n.paragraph).replace("hr",n.hr).replace("heading",n.heading).replace("lheading",n.lheading).replace("tag",n._tag).getRegex(),n.blockquote=d(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=d(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:d("^ *(?: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,o,s,l,c,u,d,h,_,p,g,m,y,E;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:v(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),_=0;_ ?/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=(o=r[2]).length>1,start:m?+o:"",loose:!1}),u=[],a=!1,g=(r=r[0].match(this.rules.item)).length,_=0;_1&&s.length>1||(e=r.slice(_+1).join("\n")+e,_=g-1)),i=a||/\n\n(?!\s*$)/.test(l),_!==g-1&&(a="\n"===l.charAt(l.length-1),i||(i=a)),i&&(c.loose=!0),E=void 0,(y=/^\[[ xX]\] /.test(l))&&(E=" "!==l[1],l=l.replace(/^\[[ xX]\] +/,"")),u.push(d={type:"list_item_start",task:y,checked:E,loose:i}),this.tokens.push(d),this.token(l,!1),this.tokens.push({type:"list_item_end"});if(c.loose)for(g=u.length,_=0;_?@\[\]\\^_`{|}~])/,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=d(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=d(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=d(i.link).replace("label",i._label).replace("href",i._href).replace("title",i._title).getRegex(),i.reflink=d(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:d(/^!?\[(label)\]\((.*?)\)/).replace("label",i._label).getRegex(),reflink:d(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",i._label).getRegex()}),i.gfm=m({},i.normal,{escape:d(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:d(i.text).replace("]|","~]|").replace("|$","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|$").getRegex()}),i.gfm.url=d(i.gfm.url).replace("email",i.gfm._extended_email).getRegex(),i.breaks=m({},i.gfm,{br:d(i.br).replace("{2,}","*").getRegex(),text:d(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,o,s,l="";e;)if(o=this.rules.escape.exec(e))e=e.substring(o[0].length),l+=o[1];else if(o=this.rules.autolink.exec(e))e=e.substring(o[0].length),a="@"===o[2]?"mailto:"+(n=c(this.mangle(o[1]))):n=c(o[1]),l+=this.renderer.link(a,null,n);else if(this.inLink||!(o=this.rules.url.exec(e))){if(o=this.rules.tag.exec(e))!this.inLink&&/^/i.test(o[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(o[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(o[0])&&(this.inRawBlock=!1),e=e.substring(o[0].length),l+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):c(o[0]):o[0];else if(o=this.rules.link.exec(e))e=e.substring(o[0].length),this.inLink=!0,a=o[2],this.options.pedantic?(t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a))?(a=t[1],i=t[3]):i="":i=o[3]?o[3].slice(1,-1):"",a=a.trim().replace(/^<([\s\S]*)>$/,"$1"),l+=this.outputLink(o,{href:r.escapes(a),title:r.escapes(i)}),this.inLink=!1;else if((o=this.rules.reflink.exec(e))||(o=this.rules.nolink.exec(e))){if(e=e.substring(o[0].length),t=(o[2]||o[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){l+=o[0].charAt(0),e=o[0].substring(1)+e;continue}this.inLink=!0,l+=this.outputLink(o,t),this.inLink=!1}else if(o=this.rules.strong.exec(e))e=e.substring(o[0].length),l+=this.renderer.strong(this.output(o[4]||o[3]||o[2]||o[1]));else if(o=this.rules.em.exec(e))e=e.substring(o[0].length),l+=this.renderer.em(this.output(o[6]||o[5]||o[4]||o[3]||o[2]||o[1]));else if(o=this.rules.code.exec(e))e=e.substring(o[0].length),l+=this.renderer.codespan(c(o[2].trim(),!0));else if(o=this.rules.br.exec(e))e=e.substring(o[0].length),l+=this.renderer.br();else if(o=this.rules.del.exec(e))e=e.substring(o[0].length),l+=this.renderer.del(this.output(o[1]));else if(o=this.rules.text.exec(e))e=e.substring(o[0].length),l+=this.renderer.text(this.inRawBlock?o[0]:c(this.smartypants(o[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===o[2])a="mailto:"+(n=c(o[0]));else{do{s=o[0],o[0]=this.rules._backpedal.exec(o[0])[0]}while(s!==o[0]);n=c(o[0]),a="www."===o[1]?"http://"+n:n}e=e.substring(o[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},o.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))+"
"},o.prototype.blockquote=function(e){return"
\n"+e+"
\n"},o.prototype.html=function(e){return e},o.prototype.heading=function(e,t,n){return this.options.headerIds?"'+e+"\n":""+e+"\n"},o.prototype.hr=function(){return this.options.xhtml?"
\n":"
\n"},o.prototype.list=function(e,t,n){var a=t?"ol":"ul";return"<"+a+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},o.prototype.listitem=function(e){return"
  • "+e+"
  • \n"},o.prototype.checkbox=function(e){return" "},o.prototype.paragraph=function(e){return"

    "+e+"

    \n"},o.prototype.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},o.prototype.tablerow=function(e){return"\n"+e+"\n"},o.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"\n"},o.prototype.strong=function(e){return""+e+""},o.prototype.em=function(e){return""+e+""},o.prototype.codespan=function(e){return""+e+""},o.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},o.prototype.del=function(e){return""+e+""},o.prototype.link=function(e,t,n){if(null===(e=h(this.options.sanitize,this.options.baseUrl,e)))return n;var a='
    "+n+""},o.prototype.image=function(e,t,n){if(null===(e=h(this.options.sanitize,this.options.baseUrl,e)))return n;var a=''+n+'":">")},o.prototype.text=function(e){return e},s.prototype.strong=s.prototype.em=s.prototype.codespan=s.prototype.del=s.prototype.text=function(e){return e},s.prototype.link=s.prototype.image=function(e,t,n){return""+n},s.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 s})),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,u(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 _={},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(d.message+"",!0)+"
    ";throw d}}g.exec=g,y.options=y.setOptions=function(e){return m(y.defaults,e),y},y.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new o,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tables:!0,xhtml:!1}},y.defaults=y.getDefaults(),y.Parser=l,y.parser=l.parse,y.Renderer=o,y.TextRenderer=s,y.Lexer=a,y.lexer=a.lex,y.InlineLexer=r,y.inlineLexer=r.output,y.parse=y,e.exports=y}(this||("undefined"!=typeof window?window:global))},30916:function(e,t,n){"use strict";n.d(t,{z1:function(){return te},mZ:function(){return ne}});var a=n(64762),r=n(38583),s=n(37716),c=n(67574),u=n(98640),d=new c.y(u.Z),h=n(79765),_=n(25917),p=n(82298),g=n(59193),f=n(77393),y=n(33637),E=function(){function e(t,n){m(this,e),this.period=t,this.scheduler=n}return v(e,[{key:"call",value:function(e,t){return t.subscribe(new S(e,this.period,this.scheduler))}}]),e}(),S=function(e){i(n,e);var t=o(n);function n(e,a,i){var r;return m(this,n),(r=t.call(this,e)).period=a,r.scheduler=i,r.hasValue=!1,r.add(i.schedule(b,a,{subscriber:l(r),period:a})),r}return v(n,[{key:"_next",value:function(e){this.lastValue=e,this.hasValue=!0}},{key:"notifyNext",value:function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))}}]),n}(f.L);function b(e){var t=e.subscriber,n=e.period;t.notifyNext(),this.schedule(e,n)}var T=n(45435),C=n(68307),O=n(15257),R=n(19773),A=n(88002),N=n(5304),w=n(43190),I=n(78345),M=n(39761);function k(e,t){e.className=e.className.replace(t,"")}function x(e,t){e.className.includes(t)||(e.className+=" ".concat(t))}function D(){return"undefined"!=typeof window?window.navigator:void 0}function L(e){return Boolean(e.parentElement&&"picture"===e.parentElement.nodeName.toLowerCase())}function P(e){return"img"===e.nodeName.toLowerCase()}function F(e,t,n){return P(e)?n&&"srcset"in e?e.srcset=t:e.src=t:e.style.backgroundImage="url('".concat(t,"')"),e}function U(e){return function(t){for(var n=t.parentElement.getElementsByTagName("source"),a=0;a1&&void 0!==arguments[1]?arguments[1]:X;return e.customObservable?e.customObservable:t(e)}}),ee=Object.assign({},j,{isVisible:function(){return!0},getObservable:function(){return(0,_.of)("load")},loadImage:function(e){return[e.imagePath]}}),te=function(){var e=function(){function e(t,n,a,i){m(this,e),this.onStateChange=new s.vpe,this.onLoad=new s.vpe,this.elementRef=t,this.ngZone=n,this.propertyChanges$=new p.t,this.platformId=a,this.hooks=function(e,t){var n=J,a=t&&t.isBot?t.isBot:n.isBot;if(a(D(),e))return Object.assign(ee,{isBot:a});if(!t)return n;var i={};return Object.assign(i,t.preset?t.preset:n),Object.keys(t).filter(function(e){return"preset"!==e}).forEach(function(e){i[e]=t[e]}),i}(a,i)}return v(e,[{key:"ngOnChanges",value:function(){!0!==this.debug||this.debugSubscription||(this.debugSubscription=this.onStateChange.subscribe(function(e){return 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})}},{key:"ngAfterContentInit",value:function(){var e=this;if((0,r.PM)(this.platformId)&&!this.hooks.isBot(D(),this.platformId))return null;this.ngZone.runOutsideAngular(function(){e.loadSubscription=e.propertyChanges$.pipe((0,C.b)(function(e){return e.onStateChange.emit({reason:"setup"})}),(0,C.b)(function(t){return e.hooks.setup(t)}),(0,w.w)(function(t){return t.imagePath?e.hooks.getObservable(t).pipe(function(e,t){return function(n){return n.pipe((0,C.b)(function(e){return t.onStateChange.emit({reason:"observer-emit",data:e})}),(0,T.h)(function(n){return e.isVisible({element:t.element,event:n,offset:t.offset,scrollContainer:t.scrollContainer})}),(0,O.q)(1),(0,C.b)(function(){return t.onStateChange.emit({reason:"start-loading"})}),(0,R.zg)(function(){return e.loadImage(t)}),(0,C.b)(function(){return t.onStateChange.emit({reason:"mount-image"})}),(0,C.b)(function(n){return e.setLoadedImage({element:t.element,imagePath:n,useSrcset:t.useSrcset})}),(0,C.b)(function(){return t.onStateChange.emit({reason:"loading-succeeded"})}),(0,A.U)(function(){return!0}),(0,N.K)(function(n){return t.onStateChange.emit({reason:"loading-failed",data:n}),e.setErrorImage(t),(0,_.of)(!1)}),(0,C.b)(function(){t.onStateChange.emit({reason:"finally"}),e.finally(t)}))}}(e.hooks,t)):d})).subscribe(function(t){return e.onLoad.emit(t)})})}},{key:"ngOnDestroy",value:function(){var e,t;null===(e=this.loadSubscription)||void 0===e||e.unsubscribe(),null===(t=this.debugSubscription)||void 0===t||t.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(s.Lbi),s.Y36("options",8))},e.\u0275dir=s.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:[s.TTD]}),(0,a.gn)([(0,s.IIB)("lazyLoad")],e.prototype,"lazyImage",void 0),(0,a.gn)([(0,s.IIB)()],e.prototype,"defaultImage",void 0),(0,a.gn)([(0,s.IIB)()],e.prototype,"errorImage",void 0),(0,a.gn)([(0,s.IIB)()],e.prototype,"scrollTarget",void 0),(0,a.gn)([(0,s.IIB)()],e.prototype,"customObservable",void 0),(0,a.gn)([(0,s.IIB)()],e.prototype,"offset",void 0),(0,a.gn)([(0,s.IIB)()],e.prototype,"useSrcset",void 0),(0,a.gn)([(0,s.IIB)()],e.prototype,"decode",void 0),(0,a.gn)([(0,s.IIB)()],e.prototype,"debug",void 0),(0,a.gn)([(0,s.r_U)()],e.prototype,"onStateChange",void 0),(0,a.gn)([(0,s.r_U)()],e.prototype,"onLoad",void 0),e=(0,a.gn)([(0,a.fM)(2,(0,s.tBr)(s.Lbi)),(0,a.fM)(3,(0,s.FiY)()),(0,a.fM)(3,(0,s.tBr)("options"))],e)}(),ne=K=function(){function e(){m(this,e)}return v(e,null,[{key:"forRoot",value:function(e){return{ngModule:K,providers:[{provide:"options",useValue:e}]}}}]),e}();ne.\u0275fac=function(e){return new(e||ne)},ne.\u0275mod=s.oAB({type:ne}),ne.\u0275inj=s.cJS({});var ae=function(){function e(t,n,a,i){m(this,e),this.left=t,this.top=n,this.right=a,this.bottom=i}return v(e,[{key:"inflate",value:function(e){this.left-=e,this.top-=e,this.right+=e,this.bottom+=e}},{key:"intersectsWith",value:function(e){return e.left=n&&r>=a?new e(n,a,i,r):e.empty}}],[{key:"fromElement",value:function(t){var n=t.getBoundingClientRect(),a=n.left,i=n.top,r=n.right,o=n.bottom;return 0===a&&0===i&&0===r&&0===o?e.empty:new e(a,i,r,o)}},{key:"fromWindow",value:function(t){return new e(0,0,t.innerWidth,t.innerHeight)}}]),e}();ae.empty=new ae(0,0,0,0);var ie=new WeakMap;Object.assign({},j,{isVisible:function(e){var t=e.element,n=e.offset,a=e.scrollContainer,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return window},r=ae.fromElement(t);if(r===ae.empty)return!1;var o=ae.fromWindow(i());if(r.inflate(n),a){var s=ae.fromElement(a).getIntersectionWith(o);return r.intersectsWith(s)}return r.intersectsWith(o)},getObservable:function(e){return e.customObservable?e.customObservable.pipe((0,M.O)("")):function(e){if(!e||"function"!=typeof e.addEventListener)return console.warn("`addEventListener` on "+e+" (scrollTarget) is not a function. Skipping this target"),(0,g.c)();var t=ie.get(e);if(t)return t;var n=c.y.create(function(t){var n=function(e){return t.next(e)},a={passive:!0,capture:!1};return e.addEventListener("scroll",n,a),function(){return e.removeEventListener("scroll",n,a)}}).pipe(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y.P;return function(n){return n.lift(new E(e,t))}}(100,void 0),(0,I.B)(),(0,M.O)(""));return ie.set(e,n),n}(e.scrollContainer?e.scrollContainer:window)}})},26215:function(e,t,n){"use strict";n.d(t,{X:function(){return l}});var r=n(79765),s=n(77971),l=function(e){i(n,e);var t=o(n);function n(e){var a;return m(this,n),(a=t.call(this))._value=e,a}return v(n,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(e){var t=a(u(n.prototype),"_subscribe",this).call(this,e);return t&&!t.closed&&e.next(this._value),t}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new s.N;return this._value}},{key:"next",value:function(e){a(u(n.prototype),"next",this).call(this,this._value=e)}}]),n}(r.xQ)},41593:function(e,t,n){"use strict";n.d(t,{P:function(){return o}});var a=n(59193),i=n(25917),r=n(67574),o=function(){function e(t,n,a){m(this,e),this.kind=t,this.value=n,this.error=a,this.hasValue="N"===t}return v(e,[{key:"observe",value:function(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()}}},{key:"do",value:function(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()}}},{key:"accept",value:function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return(0,i.of)(this.value);case"E":return e=this.error,new r.y(function(t){return t.error(e)});case"C":return(0,a.c)()}var e;throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}},{key:"createError",value:function(t){return new e("E",void 0,t)}},{key:"createComplete",value:function(){return e.completeNotification}}]),e}();o.completeNotification=new o("C"),o.undefinedValueNotification=new o("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),o=n(16554),s=n(54487),l=n(82494),c=function(){var e=function(){function e(t){m(this,e),this._isScalar=!1,t&&(this._subscribe=t)}return v(e,[{key:"lift",value:function(t){var n=new e;return n.source=this,n.operator=t,n}},{key:"subscribe",value:function(e,t,n){var o=this.operator,s=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(s.add(o?o.call(s,this.source):this.source||l.v.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),l.v.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}},{key:"_trySubscribe",value:function(e){try{return this._subscribe(e)}catch(t){l.v.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e,n=t.closed,i=t.destination,r=t.isStopped;if(n||r)return!1;e=i&&i instanceof a.L?i:null}return!0}(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var n=this;return new(t=u(t))(function(t,a){var i;i=n.subscribe(function(t){try{e(t)}catch(n){a(n),i&&i.unsubscribe()}},a,t)})}},{key:"_subscribe",value:function(e){var t=this.source;return t&&t.subscribe(e)}},{key:o.L,value:function(){return this}},{key:"pipe",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:0;return t>0?a(u(n.prototype),"schedule",this).call(this,e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}},{key:"execute",value:function(e,t){return t>0||this.closed?a(u(n.prototype),"execute",this).call(this,e,t):this._execute(e,t)}},{key:"requestAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0||null===i&&this.delay>0?a(u(n.prototype),"requestAsyncId",this).call(this,e,t,i):e.flush(this)}}]),n}(s.o)),c=n(75319),d=n(77393),h=n(41593),_=function(e){i(n,e);var t=o(n);function n(e,a){var i,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return m(this,n),(i=t.call(this,e)).scheduler=a,i.delay=r,i}return v(n,[{key:"scheduleMessage",value:function(e){this.destination.add(this.scheduler.schedule(n.dispatch,this.delay,new p(e,this.destination)))}},{key:"_next",value:function(e){this.scheduleMessage(h.P.createNext(e))}},{key:"_error",value:function(e){this.scheduleMessage(h.P.createError(e)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(h.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){var t=e.notification,n=e.destination;t.observe(n),this.unsubscribe()}}]),n}(d.L),p=function e(t,n){m(this,e),this.notification=t,this.destination=n},g=n(77971),f=n(78858),y=function(e){i(n,e);var t=o(n);function n(){var e,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,r=arguments.length>2?arguments[2]:void 0;return m(this,n),(e=t.call(this)).scheduler=r,e._events=[],e._infiniteTimeWindow=!1,e._bufferSize=a<1?1:a,e._windowTime=i<1?1:i,i===Number.POSITIVE_INFINITY?(e._infiniteTimeWindow=!0,e.next=e.nextInfiniteTimeWindow):e.next=e.nextTimeWindow,e}return v(n,[{key:"nextInfiniteTimeWindow",value:function(e){var t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),a(u(n.prototype),"next",this).call(this,e)}},{key:"nextTimeWindow",value:function(e){this._events.push(new E(this._getNow(),e)),this._trimBufferThenGetEvents(),a(u(n.prototype),"next",this).call(this,e)}},{key:"_subscribe",value:function(e){var t,n=this._infiniteTimeWindow,a=n?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,r=a.length;if(this.closed)throw new g.N;if(this.isStopped||this.hasError?t=c.w.EMPTY:(this.observers.push(e),t=new f.W(this,e)),i&&e.add(e=new _(e,i)),n)for(var o=0;ot&&(r=Math.max(r,i-t)),r>0&&a.splice(0,r),a}}]),n}(r.xQ),E=function e(t,n){m(this,e),this.time=t,this.value=n}},79765:function(e,t,n){"use strict";n.d(t,{Yc:function(){return _},xQ:function(){return p}});var r=n(67574),s=n(77393),l=n(75319),c=n(77971),d=n(78858),h=n(29181),_=function(e){i(n,e);var t=o(n);function n(e){var a;return m(this,n),(a=t.call(this,e)).destination=e,a}return n}(s.L),p=function(){var e=function(e){i(n,e);var t=o(n);function n(){var e;return m(this,n),(e=t.call(this)).observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return v(n,[{key:h.b,value:function(){return new _(this)}},{key:"lift",value:function(e){var t=new g(this,this);return t.operator=e,t}},{key:"next",value:function(e){if(this.closed)throw new c.N;if(!this.isStopped)for(var t=this.observers,n=t.length,a=t.slice(),i=0;i1?Array.prototype.slice.call(arguments):e)},a,n)})}function l(e,t,n,a,i){var r;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var o=e;e.addEventListener(t,n,i),r=function(){return o.removeEventListener(t,n,i)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var s=e;e.on(t,n),r=function(){return s.off(t,n)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){var c=e;e.addListener(t,n),r=function(){return c.removeListener(t,n)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var u=0,d=e.length;u1&&"number"==typeof t[t.length-1]&&(s=t.pop())):"number"==typeof c&&(s=t.pop()),null===l&&1===t.length&&t[0]instanceof a.y?t[0]:(0,r.J)(s)((0,o.n)(t,l))}},25917:function(e,t,n){"use strict";n.d(t,{of:function(){return o}});var a=n(54869),i=n(56693),r=n(94087);function o(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:r.P;return function(n){return n.lift(new l(e,t))}}var l=function(){function e(t,n){m(this,e),this.dueTime=t,this.scheduler=n}return v(e,[{key:"call",value:function(e,t){return t.subscribe(new c(e,this.dueTime,this.scheduler))}}]),e}(),c=function(e){i(n,e);var t=o(n);function n(e,a,i){var r;return m(this,n),(r=t.call(this,e)).dueTime=a,r.scheduler=i,r.debouncedSubscription=null,r.lastValue=null,r.hasValue=!1,r}return v(n,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(u,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}},{key:"clearDebounce",value:function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}]),n}(a.L);function u(e){e.debouncedNext()}},71289:function(e,t,n){"use strict";n.d(t,{g:function(){return l}});var a=n(33637),r=n(77393),s=n(41593);function l(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.P,i=(t=e)instanceof Date&&!isNaN(+t)?+e-n.now():Math.abs(e);return function(e){return e.lift(new c(i,n))}}var c=function(){function e(t,n){m(this,e),this.delay=t,this.scheduler=n}return v(e,[{key:"call",value:function(e,t){return t.subscribe(new u(e,this.delay,this.scheduler))}}]),e}(),u=function(e){i(n,e);var t=o(n);function n(e,a,i){var r;return m(this,n),(r=t.call(this,e)).delay=a,r.scheduler=i,r.queue=[],r.active=!1,r.errored=!1,r}return v(n,[{key:"_schedule",value:function(e){this.active=!0,this.destination.add(e.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}},{key:"scheduleNotification",value:function(e){if(!0!==this.errored){var t=this.scheduler,n=new d(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}}},{key:"_next",value:function(e){this.scheduleNotification(s.P.createNext(e))}},{key:"_error",value:function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(s.P.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){for(var t=e.source,n=t.queue,a=e.scheduler,i=e.destination;n.length>0&&n[0].time-a.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var r=Math.max(0,n[0].time-a.now());this.schedule(e,r)}else this.unsubscribe(),t.active=!1}}]),n}(r.L),d=function e(t,n){m(this,e),this.time=t,this.notification=n}},87519:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});var a=n(77393);function r(e,t){return function(n){return n.lift(new s(e,t))}}var s=function(){function e(t,n){m(this,e),this.compare=t,this.keySelector=n}return v(e,[{key:"call",value:function(e,t){return t.subscribe(new l(e,this.compare,this.keySelector))}}]),e}(),l=function(e){i(n,e);var t=o(n);function n(e,a,i){var r;return m(this,n),(r=t.call(this,e)).keySelector=i,r.hasKey=!1,"function"==typeof a&&(r.compare=a),r}return v(n,[{key:"compare",value:function(e,t){return e===t}},{key:"_next",value:function(e){var t;try{var n=this.keySelector;t=n?n(e):e}catch(i){return this.destination.error(i)}var a=!1;if(this.hasKey)try{a=(0,this.compare)(this.key,t)}catch(i){return this.destination.error(i)}else this.hasKey=!0;a||(this.key=t,this.destination.next(e))}}]),n}(a.L)},45435:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});var a=n(77393);function r(e,t){return function(n){return n.lift(new s(e,t))}}var s=function(){function e(t,n){m(this,e),this.predicate=t,this.thisArg=n}return v(e,[{key:"call",value:function(e,t){return t.subscribe(new l(e,this.predicate,this.thisArg))}}]),e}(),l=function(e){i(n,e);var t=o(n);function n(e,a,i){var r;return m(this,n),(r=t.call(this,e)).predicate=a,r.thisArg=i,r.count=0,r}return v(n,[{key:"_next",value:function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}]),n}(a.L)},68939:function(e,t,n){"use strict";n.d(t,{x:function(){return s}});var a=n(77393),r=n(75319);function s(e){return function(t){return t.lift(new l(e))}}var l=function(){function e(t){m(this,e),this.callback=t}return v(e,[{key:"call",value:function(e,t){return t.subscribe(new c(e,this.callback))}}]),e}(),c=function(e){i(n,e);var t=o(n);function n(e,a){var i;return m(this,n),(i=t.call(this,e)).add(new r.w(a)),i}return n}(a.L)},88002:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});var a=n(77393);function r(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 s(e,t))}}var s=function(){function e(t,n){m(this,e),this.project=t,this.thisArg=n}return v(e,[{key:"call",value:function(e,t){return t.subscribe(new c(e,this.project,this.thisArg))}}]),e}(),c=function(e){i(n,e);var t=o(n);function n(e,a,i){var r;return m(this,n),(r=t.call(this,e)).project=a,r.count=0,r.thisArg=i||l(r),r}return v(n,[{key:"_next",value:function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(a.L)},63282:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});var a=n(19773),i=n(54487);function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return(0,a.zg)(i.y,e)}},19773:function(e,t,n){"use strict";n.d(t,{zg:function(){return l}});var a=n(88002),r=n(94402),s=n(85345);function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(i){return i.pipe(l(function(n,i){return(0,r.D)(e(n,i)).pipe((0,a.U)(function(e,a){return t(n,e,i,a)}))},n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new c(e,n))})}var c=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;m(this,e),this.project=t,this.concurrent=n}return v(e,[{key:"call",value:function(e,t){return t.subscribe(new u(e,this.project,this.concurrent))}}]),e}(),u=function(e){i(n,e);var t=o(n);function n(e,a){var i,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return m(this,n),(i=t.call(this,e)).project=a,i.concurrent=r,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return v(n,[{key:"_next",value:function(e){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(s.Ds)},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){var i;if(i="function"==typeof e?e:function(){return e},"function"==typeof t)return n.lift(new r(i,t));var o=Object.create(n,a.N);return o.source=n,o.subjectFactory=i,o}}var r=function(){function e(t,n){m(this,e),this.subjectFactory=t,this.selector=n}return v(e,[{key:"call",value:function(e,t){var n=this.selector,a=this.subjectFactory(),i=n(a).subscribe(e);return i.add(t.subscribe(a)),i}}]),e}()},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)(function(){return 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);var o="function"==typeof n?n:void 0,s=new a.t(e,t,r);return function(e){return(0,i.O)(function(){return s},o)(e)}}},51307:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});var a=n(77393);function r(){return function(e){return e.lift(new s(e))}}var s=function(){function e(t){m(this,e),this.connectable=t}return v(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var a=new l(e,n),i=t.subscribe(a);return a.closed||(a.connection=n.connect()),i}}]),e}(),l=function(e){i(n,e);var t=o(n);function n(e,a){var i;return m(this,n),(i=t.call(this,e)).connectable=a,i}return v(n,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,a=e._connection;this.connection=null,!a||n&&a!==n||a.unsubscribe()}}else this.connection=null}}]),n}(a.L)},78345:function(e,t,n){"use strict";n.d(t,{B:function(){return s}});var a=n(94458),i=n(51307),r=n(79765);function o(){return new r.xQ}function s(){return function(e){return(0,i.x)()((0,a.O)(o)(e))}}},13653:function(e,t,n){"use strict";n.d(t,{T:function(){return r}});var a=n(77393);function r(e){return function(t){return t.lift(new s(e))}}var s=function(){function e(t){m(this,e),this.total=t}return v(e,[{key:"call",value:function(e,t){return t.subscribe(new l(e,this.total))}}]),e}(),l=function(e){i(n,e);var t=o(n);function n(e,a){var i;return m(this,n),(i=t.call(this,e)).total=a,i.count=0,i}return v(n,[{key:"_next",value:function(e){++this.count>this.total&&this.destination.next(e)}}]),n}(a.L)},39761:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});var a=n(58071),i=n(54869);function r(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]&&arguments[1];return function(n){return n.lift(new s(e,t))}}var s=function(){function e(t,n){m(this,e),this.predicate=t,this.inclusive=n}return v(e,[{key:"call",value:function(e,t){return t.subscribe(new l(e,this.predicate,this.inclusive))}}]),e}(),l=function(e){i(n,e);var t=o(n);function n(e,a,i){var r;return m(this,n),(r=t.call(this,e)).predicate=a,r.inclusive=i,r.index=0,r}return v(n,[{key:"_next",value:function(e){var t,n=this.destination;try{t=this.predicate(e,this.index++)}catch(a){return void n.error(a)}this.nextOrComplete(e,t)}},{key:"nextOrComplete",value:function(e,t){var n=this.destination;Boolean(t)?n.next(e):(this.inclusive&&n.next(e),n.complete())}}]),n}(a.L)},68307:function(e,t,n){"use strict";n.d(t,{b:function(){return c}});var a=n(77393),r=n(98640),s=n(69105);function c(e,t,n){return function(a){return a.lift(new u(e,t,n))}}var u=function(){function e(t,n,a){m(this,e),this.nextOrObserver=t,this.error=n,this.complete=a}return v(e,[{key:"call",value:function(e,t){return t.subscribe(new d(e,this.nextOrObserver,this.error,this.complete))}}]),e}(),d=function(e){i(n,e);var t=o(n);function n(e,a,i,o){var c;return m(this,n),(c=t.call(this,e))._tapNext=r.Z,c._tapError=r.Z,c._tapComplete=r.Z,c._tapError=i||r.Z,c._tapComplete=o||r.Z,(0,s.m)(a)?(c._context=l(c),c._tapNext=a):a&&(c._context=a,c._tapNext=a.next||r.Z,c._tapError=a.error||r.Z,c._tapComplete=a.complete||r.Z),c}return v(n,[{key:"_next",value:function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}},{key:"_error",value:function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}]),n}(a.L)},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(function(n){var a=new i.w,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 a}});var a=function(e){i(n,e);var t=o(n);function n(e,a){var i;return m(this,n),(i=t.call(this,e,a)).scheduler=e,i.work=a,i.pending=!1,i}return v(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var 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}},{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(e.flush.bind(e,this),n)}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}},{key:"execute",value:function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(e,t){var n,a=!1;try{this.work(e)}catch(i){a=!0,n=!!i&&i||new Error(i)}if(a)return this.unsubscribe(),n}},{key:"_unsubscribe",value:function(){var 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}}]),n}(function(e){i(n,e);var t=o(n);function n(e,a){return m(this,n),t.call(this)}return v(n,[{key:"schedule",value:function(e){return this}}]),n}(n(75319).w))},16102:function(e,t,n){"use strict";n.d(t,{v:function(){return s}});var r=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;m(this,e),this.SchedulerAction=t,this.now=n}return v(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}]),e}();return e.now=function(){return Date.now()},e}(),s=function(e){i(n,e);var t=o(n);function n(e){var a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.now;return m(this,n),(a=t.call(this,e,function(){return n.delegate&&n.delegate!==l(a)?n.delegate.now():i()})).actions=[],a.active=!1,a.scheduled=void 0,a}return v(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(e,t,i):a(u(n.prototype),"schedule",this).call(this,e,t,i)}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var 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}}}}]),n}(r)},33637:function(e,t,n){"use strict";n.d(t,{P:function(){return i}});var a=n(36465),i=new(n(16102).v)(a.o)},20377:function(e,t,n){"use strict";n.d(t,{hZ:function(){return a}});var a="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},16554:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});var a="function"==typeof Symbol&&Symbol.observable||"@@observable"},29181:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var a="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:function(e,t,n){"use strict";n.d(t,{W:function(){return a}});var a=function(){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}});var a=function(){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(function(){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}});var a=Array.isArray||function(e){return e&&"number"==typeof e.length}},69489:function(e,t,n){"use strict";n.d(t,{z:function(){return a}});var a=function(e){return 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 u}});var a=n(55015),i=n(54449),r=n(20377),o=n(16554),s=n(69489),l=n(44072),c=n(81555),u=function(e){if(e&&"function"==typeof e[o.L])return u=e,function(e){var t=u[o.L]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if((0,s.z)(e))return(0,a.V)(e);if((0,l.t)(e))return n=e,function(e){return n.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,i.z),e};if(e&&"function"==typeof e[r.hZ])return t=e,function(e){for(var n=t[r.hZ]();;){var a=void 0;try{a=n.next()}catch(i){return e.error(i),e}if(a.done){e.complete();break}if(e.next(a.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e};var t,n,u,d=(0,c.K)(e)?"an invalid object":"'".concat(e,"'");throw new TypeError("You provided ".concat(d," where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))}},55015:function(e,t,n){"use strict";n.d(t,{V:function(){return a}});var a=function(e){return function(t){for(var n=0,a=e.length;n4&&void 0!==arguments[4]?arguments[4]:new a(e,n,i);if(!o.closed)return t instanceof s.y?t.subscribe(o):(0,r.s)(t)(o)}},83592:function(e,t,n){"use strict";n.d(t,{D:function(){return r}});var a=n(37716),i=n(39075),r=function(){var e=function(){function e(t,n){m(this,e),this.title=t,this.meta=n}return v(e,[{key:"updateTitle",value:function(e){this.title.setTitle(e),this.meta.updateTag({property:"og:title",content:e})}},{key:"updateDescription",value:function(e){this.meta.updateTag({name:"description",content:e}),this.meta.updateTag({property:"og:description",content:e})}},{key:"updateKeywords",value:function(e){this.meta.updateTag({name:"keywords",content:e})}}]),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,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,a);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(r<3?i(o):r>3?i(t,n,o):i(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o}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)}])}();