MARIJuANA
— DIOS — NO — CREA — NADA — EN — VANO —
Linux instance-20230208-1745 6.8.0-1013-oracle #13~22.04.1-Ubuntu SMP Mon Sep 2 13:02:56 UTC 2024 x86_64
  SOFT : Apache/2.4.52 (Ubuntu) PHP : 8.1.2-1ubuntu2.19
/var/www/guajeru/html/painel/
10.0.0.135

 
[ NAME ] [ SIZE ] [ PERM ] [ DATE ] [ ACT ]
+FILE +DIR
assets dir drwxr-xr-x 2023-03-06 15:28 R D
1.62534cafb686d8ddfd72.js 749.671 KB -rw-r--r-- 2023-03-06 15:31 R E G D
1.960a9ce38facf3ebf6d7.js 749.671 KB -rw-rw-r-- 2023-03-06 17:40 R E G D
1.a08e66d1a5603bc34b53.js 750.417 KB -rw-rw-r-- 2024-01-10 12:11 R E G D
1.da415ece6de33d508cd9.js 711.983 KB -rw-r--r-- 2023-03-06 15:31 R E G D
3rdpartylicenses.txt 98.439 KB -rw-r--r-- 2024-01-10 12:11 R E G D
6.155aa9116f18b1baa246.js 1.23 MB -rw-rw-r-- 2023-09-21 11:54 R E G D
6.19d4f0e38116ec2d129e.js 1.22 MB -rw-rw-r-- 2023-08-01 11:37 R E G D
6.1dea7f42521d333d0a25.js 974.732 KB -rw-r--r-- 2023-03-06 15:31 R E G D
6.379ae3d08b879443064c.js 1.23 MB -rw-rw-r-- 2023-08-08 22:03 R E G D
6.3d9aa3c9fc8800e31a5a.js 1.17 MB -rw-rw-r-- 2023-05-05 12:35 R E G D
6.4ecc806ba60b8dd07350.js 974.728 KB -rw-r--r-- 2023-03-06 15:31 R E G D
6.71716e05c604a2549f63.js 1.23 MB -rw-rw-r-- 2023-08-07 17:11 R E G D
6.812cf41ba13997856159.js 1.23 MB -rw-rw-r-- 2023-09-29 09:33 R E G D
6.82a69a93b894b5fde741.js 966.603 KB -rw-r--r-- 2023-03-06 15:31 R E G D
6.8a051bb41714259f2f38.js 1.23 MB -rw-rw-r-- 2023-10-13 09:14 R E G D
6.8c47bec977c1749acd7f.js 1.19 MB -rw-rw-r-- 2023-05-29 16:25 R E G D
6.981fcb158428fe44dc1b.js 1.23 MB -rw-rw-r-- 2024-01-10 12:11 R E G D
6.a05a47894e3fc123a673.js 1.23 MB -rw-rw-r-- 2023-09-22 10:50 R E G D
6.a25684d147475fe6bd51.js 1.17 MB -rw-rw-r-- 2023-04-01 13:06 R E G D
6.b5168e518fbcaa4e6c6c.js 1.2 MB -rw-rw-r-- 2023-06-02 17:13 R E G D
6.d52f4386cc1cb8e8edff.js 976.789 KB -rw-rw-r-- 2023-03-06 17:40 R E G D
6.db4a4ecce23df16a8ab8.js 1.22 MB -rw-rw-r-- 2023-06-30 09:28 R E G D
6.dc2e24e52564ff6e8e17.js 1.23 MB -rw-rw-r-- 2023-08-22 15:19 R E G D
7.26beda7f142c0ff7afb5.js 764.825 KB -rw-rw-r-- 2023-05-30 16:20 R E G D
7.43637b98d52adefcc02d.js 785.189 KB -rw-rw-r-- 2023-07-17 12:13 R E G D
7.8f49b6d2dc17e2646ec2.js 764.825 KB -rw-rw-r-- 2023-05-05 12:35 R E G D
7.93660639dc5aa2bd0615.js 242.002 KB -rw-r--r-- 2023-03-06 15:31 R E G D
7.96cfd267659b2c3603fe.js 786.354 KB -rw-rw-r-- 2023-09-29 09:33 R E G D
7.9cea2a8587531319528b.js 800.521 KB -rw-rw-r-- 2023-10-13 09:14 R E G D
7.a7af2e8037ab94053d91.js 764.855 KB -rw-rw-r-- 2023-06-30 09:28 R E G D
7.bcfd6e0985966b30579c.js 800.521 KB -rw-rw-r-- 2024-01-10 12:11 R E G D
7.c742340df49b2b6bdf6c.js 192.382 KB -rw-r--r-- 2023-03-06 15:31 R E G D
7.ce024134a20ecdad0674.js 192.373 KB -rw-r--r-- 2023-03-06 15:31 R E G D
7.e39860336fdc8fab7e98.js 346.035 KB -rw-rw-r-- 2023-04-01 13:06 R E G D
7.eb1bce936795c0aff076.js 800.521 KB -rw-rw-r-- 2023-10-11 17:19 R E G D
7.ec34f097b5c457c2a39f.js 247.285 KB -rw-rw-r-- 2023-03-06 17:40 R E G D
7.f6aca4e7be3808435d76.js 241.976 KB -rw-r--r-- 2023-03-06 15:31 R E G D
default~layouts-admin-layout-admin-layout-module~transparencia-transparencia-module.js 111.742 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
default~layouts-admin-layout-admin-layout-module~transparencia-transparencia-module.js.map 114.702 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
favicon.ico 5.303 KB -rw-r--r-- 2024-01-10 12:11 R E G D
image.f11dbc75e7a09fc85e41.png 840.703 KB -rw-r--r-- 2024-01-10 12:11 R E G D
image.png 840.703 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
index.html 2.569 KB -rw-r--r-- 2024-01-10 12:11 R E G D
layouts-admin-layout-admin-layout-module.js 878.396 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
layouts-admin-layout-admin-layout-module.js.map 876.072 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
main.07b55195782607387f4c.js 1.39 MB -rw-rw-r-- 2023-06-29 18:26 R E G D
main.18acfcaeb22d55a4c981.js 1.39 MB -rw-rw-r-- 2023-06-30 09:28 R E G D
main.1b71ad0deb07e285d2b0.js 1.38 MB -rw-rw-r-- 2023-04-26 19:19 R E G D
main.20e35dc3e3118ca952ff.js 1.38 MB -rw-rw-r-- 2023-04-01 13:06 R E G D
main.237dba32369a0d71d86d.js 1.12 MB -rw-rw-r-- 2023-03-06 17:40 R E G D
main.4942b2689fb263895f9f.js 1.38 MB -rw-rw-r-- 2023-04-26 19:22 R E G D
main.54cbbdb6803f9d2e3394.js 1.09 MB -rw-r--r-- 2023-03-06 15:31 R E G D
main.5858d96e2ea1de338ff9.js 1.39 MB -rw-rw-r-- 2023-08-01 11:37 R E G D
main.67099eeb8d40adaad454.js 1.55 MB -rw-rw-r-- 2023-10-13 09:14 R E G D
main.6cd5ead1c15cea07104c.js 1.39 MB -rw-rw-r-- 2023-08-22 15:19 R E G D
main.760c28abdec3ac68fe32.js 1.55 MB -rw-rw-r-- 2023-09-28 17:48 R E G D
main.76295aa6d48359d29873.js 1.39 MB -rw-rw-r-- 2023-08-08 11:39 R E G D
main.770c2db25a66c8d0e3c2.js 1.09 MB -rw-r--r-- 2023-03-06 15:31 R E G D
main.78cc47f5dbf63ce06a87.js 1.09 MB -rw-r--r-- 2023-03-06 15:31 R E G D
main.7a2abf4e0084f54fa752.js 1.55 MB -rw-rw-r-- 2023-10-11 19:34 R E G D
main.7e6897ee33b0044becb7.js 1.09 MB -rw-r--r-- 2023-03-06 15:31 R E G D
main.8afe9bc218f1243252b8.js 1.55 MB -rw-rw-r-- 2024-01-10 12:11 R E G D
main.93f3a6e8a49d92fdd60a.js 1.55 MB -rw-rw-r-- 2023-09-29 09:33 R E G D
main.aa8549074e00980a00a5.js 1.39 MB -rw-rw-r-- 2023-05-30 16:20 R E G D
main.b47f8d30a929ec93ccbd.js 1.39 MB -rw-rw-r-- 2023-08-08 22:03 R E G D
main.b9eccda1269072ce96ee.js 1.55 MB -rw-rw-r-- 2023-09-21 11:54 R E G D
main.d9db1193431174a160b2.js 1.39 MB -rw-rw-r-- 2023-08-07 17:11 R E G D
main.ecde60f30fe0b3ec6cd1.js 1.55 MB -rw-rw-r-- 2023-09-22 10:50 R E G D
main.efa1f4392976e158f98a.js 1.39 MB -rw-rw-r-- 2023-06-02 17:13 R E G D
main.f1db7890c01ff8056949.js 1.38 MB -rw-rw-r-- 2023-05-05 12:36 R E G D
main.f442e15663795cc12fd1.js 1.39 MB -rw-rw-r-- 2023-05-29 16:25 R E G D
main.js 834.783 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
main.js.map 836.399 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
polyfills-es5.8b2e24a70255d7d09ae9.js 249.737 KB -rw-rw-r-- 2024-01-10 12:11 R E G D
polyfills-es5.a5ccebd3e224f1a26aa4.js 249.687 KB -rw-r--r-- 2023-03-06 17:40 R E G D
polyfills-es5.js 1.14 MB -rw-rw-r-- 2023-08-07 16:40 R E G D
polyfills-es5.js.map 923.377 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
polyfills.5313c1020e23c54079b9.js 166.701 KB -rw-r--r-- 2023-03-06 17:40 R E G D
polyfills.758faf18f4b2f92959a3.js 166.752 KB -rw-rw-r-- 2024-01-10 12:11 R E G D
polyfills.js 771.544 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
polyfills.js.map 659.782 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
runtime.151a3c4b23b0c096daf1.js 2.285 KB -rw-rw-r-- 2023-08-08 22:03 R E G D
runtime.15e05131a65b255d3df9.js 2.285 KB -rw-rw-r-- 2023-05-05 12:36 R E G D
runtime.178188fe78011ba42f9b.js 2.285 KB -rw-rw-r-- 2023-05-30 16:20 R E G D
runtime.23f05ccd2ce1f082692d.js 2.285 KB -rw-r--r-- 2023-03-06 15:31 R E G D
runtime.3f28dd4d986fb23ece9f.js 2.285 KB -rw-r--r-- 2023-03-06 15:31 R E G D
runtime.4bd5d0e8f4d5f0b2b272.js 2.285 KB -rw-rw-r-- 2023-08-22 15:19 R E G D
runtime.53754ade5d5becf66cf5.js 2.285 KB -rw-rw-r-- 2023-10-13 09:14 R E G D
runtime.57bbe346a9d65e0c2f14.js 2.285 KB -rw-rw-r-- 2023-09-29 09:33 R E G D
runtime.57ef4f080e8e2fda1271.js 2.285 KB -rw-rw-r-- 2023-09-21 11:54 R E G D
runtime.65f6d889b4125d11e195.js 2.285 KB -rw-r--r-- 2023-03-06 15:31 R E G D
runtime.6cb91b461276034e9ea6.js 2.285 KB -rw-rw-r-- 2023-04-01 13:06 R E G D
runtime.70f22bd855c32894a6c6.js 2.285 KB -rw-rw-r-- 2023-08-01 11:37 R E G D
runtime.7132456d1f7c1ea39d77.js 2.285 KB -rw-rw-r-- 2023-09-22 10:50 R E G D
runtime.8ac46e5dc50497425539.js 2.285 KB -rw-rw-r-- 2023-06-30 09:28 R E G D
runtime.8d7c1b24ff1115e9fd0f.js 2.285 KB -rw-rw-r-- 2023-06-02 17:13 R E G D
runtime.a06761ccf6ce754846f3.js 2.285 KB -rw-rw-r-- 2023-10-11 17:19 R E G D
runtime.a9f0b2f2ede4fefd71ef.js 2.285 KB -rw-rw-r-- 2023-08-07 17:11 R E G D
runtime.b3f34b77cba4c7ec3932.js 2.285 KB -rw-rw-r-- 2023-05-29 16:25 R E G D
runtime.ba0fa7b20ebf7b975c55.js 2.285 KB -rw-rw-r-- 2023-03-06 17:40 R E G D
runtime.ce5ac1751e0cfe116066.js 2.285 KB -rw-r--r-- 2023-03-06 15:31 R E G D
runtime.f90750ebfe17fdc0596d.js 2.285 KB -rw-rw-r-- 2023-07-17 12:13 R E G D
runtime.fa85bde788eede5d1a54.js 2.285 KB -rw-rw-r-- 2024-01-10 12:11 R E G D
runtime.js 9.29 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
runtime.js.map 9.423 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
scripts.23c891176a6fdb868027.js 302.444 KB -rw-r--r-- 2024-01-10 12:11 R E G D
scripts.js 805.319 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
scripts.js.map 986.763 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
styles.4093d4faa194d286a583.css 659.542 KB -rw-rw-r-- 2023-10-13 09:14 R E G D
styles.88803303827e21610fd2.css 659.613 KB -rw-rw-r-- 2024-01-10 12:11 R E G D
styles.959b2475488bbcef438b.css 659.451 KB -rw-rw-r-- 2023-09-29 09:33 R E G D
styles.bdcf43b971e8a82cc0ab.css 659.436 KB -rw-rw-r-- 2023-05-05 12:36 R E G D
styles.dec7bcab41b9e90bf0ad.css 659.258 KB -rw-r--r-- 2023-03-06 15:31 R E G D
styles.f32803e083c13c4d76d3.css 659.242 KB -rw-r--r-- 2023-03-06 15:31 R E G D
styles.js 3.77 MB -rw-rw-r-- 2023-08-07 16:40 R E G D
styles.js.map 3.92 MB -rw-rw-r-- 2023-08-07 16:40 R E G D
transparencia-transparencia-module.js 1.43 MB -rw-rw-r-- 2023-08-07 16:40 R E G D
transparencia-transparencia-module.js.map 1.66 MB -rw-rw-r-- 2023-08-07 16:40 R E G D
vendor.js 10.27 MB -rw-rw-r-- 2023-08-07 16:40 R E G D
vendor.js.map 10.04 MB -rw-rw-r-- 2023-08-07 16:40 R E G D
REQUEST EXIT
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"+tJ4":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return function(t){for(var n=0,r=e.length;n=0}},"/IoE":function(e,t,n){"use strict";var r=n("TYT/");n("YKnz"),n("SrD1"),Object.defineProperty(t,"__esModule",{value:!0});var i=n("b5fp"),o=(n("SrD1"),n("VlMW")),a=n("rhsj"),s=(n("YKnz"),n("TYT/"),function(){function e(){}return e.\u0275mod=r.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=r.\u0275\u0275defineInjector({factory:function(t){return new(t||e)},providers:[i.Lightbox,o.LightboxConfig,a.LightboxEvent,a.LightboxWindowRef]}),e}());t.LightboxModule=s},"/WYv":function(e,t,n){"use strict";function r(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",(function(){return r}))},0:function(e,t,n){e.exports=n("zUnb")},"0/uQ":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("6blF"),i=n("Fxb1"),o=n("i4X3");function a(e,t){return t?Object(o.a)(e,t):e instanceof r.a?e:new r.a(Object(i.a)(e))}},"15JJ":function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n("mrSG"),i=n("MGBS"),o=n("rPjj"),a=n("zotm"),s=n("67Y/"),u=n("0/uQ");function c(e,t){return"function"==typeof t?function(n){return n.pipe(c((function(n,r){return Object(u.a)(e(n,r)).pipe(Object(s.a)((function(e,i){return t(n,e,r,i)})))})))}:function(t){return t.lift(new l(e))}}var l=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new f(e,this.project))},e}(),f=function(e){function t(t,n){var r=e.call(this,t)||this;return r.project=n,r.index=0,r}return r.c(t,e),t.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var r=this.innerSubscription;r&&r.unsubscribe();var i=new o.a(this,t,n),s=this.destination;s.add(i),this.innerSubscription=Object(a.a)(this,e,void 0,void 0,i),this.innerSubscription!==i&&s.add(this.innerSubscription)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,n,r,i){this.destination.next(t)},t}(i.a)},"1PnN":function(e,t,n){"use strict";n.r(t),n.d(t,"NgSelectComponent",(function(){return Pe})),n.d(t,"NgSelectConfig",(function(){return De})),n.d(t,"NgSelectModule",(function(){return Me})),n.d(t,"SELECTION_MODEL_FACTORY",(function(){return je})),n.d(t,"\u0275b",(function(){return Ae})),n.d(t,"\u0275c",(function(){return Re})),n.d(t,"\u0275d",(function(){return xe})),n.d(t,"\u0275e",(function(){return ue})),n.d(t,"\u0275f",(function(){return ce})),n.d(t,"\u0275g",(function(){return le})),n.d(t,"\u0275h",(function(){return fe})),n.d(t,"\u0275i",(function(){return pe})),n.d(t,"\u0275j",(function(){return de})),n.d(t,"\u0275k",(function(){return he})),n.d(t,"\u0275l",(function(){return me})),n.d(t,"\u0275m",(function(){return ge})),n.d(t,"\u0275n",(function(){return ve})),n.d(t,"\u0275o",(function(){return ye})),n.d(t,"\u0275p",(function(){return be})),n.d(t,"\u0275q",(function(){return Ie})),n.d(t,"\u0275r",(function(){return Te})),n.d(t,"\u0275s",(function(){return _e}));var r=n("mrSG"),i=n("TYT/"),o=n("QJY3"),a=n("ny24"),s=n("Rney"),u=n("p0Sj"),c=n("xMyE"),l=n("Gi3i"),f=n("VnD/"),p=n("67Y/"),d=n("tHPV"),h=n("KQya"),m=n("K9Ia"),g=n("bne5"),v=n("p0ib"),y=n("Valr"),b=["content"],_=["scroll"],w=["padding"],C=function(e){return{searchTerm:e}};function E(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",6),i["\u0275\u0275elementContainer"](1,7),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngTemplateOutlet",n.headerTemplate)("ngTemplateOutletContext",i["\u0275\u0275pureFunction1"](2,C,n.filterValue))}}function O(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",8),i["\u0275\u0275elementContainer"](1,7),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngTemplateOutlet",n.footerTemplate)("ngTemplateOutletContext",i["\u0275\u0275pureFunction1"](2,C,n.filterValue))}}var S=["*"],x=["searchInput"];function k(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"span",15),i["\u0275\u0275listener"]("click",(function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](2).unselect(e)})),i["\u0275\u0275text"](1,"\xd7"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](2,"span",16)}if(2&e){var r=i["\u0275\u0275nextContext"]().$implicit,o=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngItemLabel",r.label)("escape",o.escapeHTML)}}function I(e,t){}var T=function(e,t,n){return{item:e,clear:t,label:n}};function D(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275template"](1,k,3,2,"ng-template",null,13,i["\u0275\u0275templateRefExtractor"]),i["\u0275\u0275template"](3,I,0,0,"ng-template",14),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275reference"](2),o=i["\u0275\u0275nextContext"](2);i["\u0275\u0275classProp"]("ng-value-disabled",n.disabled),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngTemplateOutlet",o.labelTemplate||r)("ngTemplateOutletContext",i["\u0275\u0275pureFunction3"](4,T,n.value,o.clearItem,n.label))}}function j(e,t){if(1&e&&(i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275template"](1,D,4,8,"div",11),i["\u0275\u0275elementContainerEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.selectedItems)("ngForTrackBy",n.trackByOption)}}function P(e,t){}var A=function(e,t){return{items:e,clear:t}};function R(e,t){if(1&e&&i["\u0275\u0275template"](0,P,0,0,"ng-template",14),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngTemplateOutlet",n.multiLabelTemplate)("ngTemplateOutletContext",i["\u0275\u0275pureFunction2"](2,A,n.selectedValues,n.clearItem))}}function N(e,t){1&e&&i["\u0275\u0275element"](0,"div",19)}function M(e,t){}function F(e,t){if(1&e&&(i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275template"](1,N,1,0,"ng-template",null,17,i["\u0275\u0275templateRefExtractor"]),i["\u0275\u0275template"](3,M,0,0,"ng-template",18),i["\u0275\u0275elementContainerEnd"]()),2&e){var n=i["\u0275\u0275reference"](2),r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngTemplateOutlet",r.loadingSpinnerTemplate||n)}}function L(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",20),i["\u0275\u0275elementStart"](1,"span",21),i["\u0275\u0275text"](2,"\xd7"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275propertyInterpolate"]("title",n.clearAllText)}}function V(e,t){if(1&e&&i["\u0275\u0275element"](0,"span",27),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("ngItemLabel",n.label)("escape",r.escapeHTML)}}function B(e,t){}var H=function(e,t,n,r){return{item:e,item$:t,index:n,searchTerm:r}};function U(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",25),i["\u0275\u0275listener"]("click",(function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"](2).toggleItem(e)}))("mouseover",(function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"](2).onItemHover(e)})),i["\u0275\u0275template"](1,V,1,2,"ng-template",null,26,i["\u0275\u0275templateRefExtractor"]),i["\u0275\u0275template"](3,B,0,0,"ng-template",14),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,o=i["\u0275\u0275reference"](2),a=i["\u0275\u0275nextContext"](2);i["\u0275\u0275classProp"]("ng-option-disabled",r.disabled)("ng-option-selected",r.selected)("ng-optgroup",r.children)("ng-option",!r.children)("ng-option-child",!!r.parent)("ng-option-marked",r===a.itemsList.markedItem),i["\u0275\u0275attribute"]("role",r.children?"group":"option")("aria-selected",r.selected)("id",null==r?null:r.htmlId),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngTemplateOutlet",r.children?a.optgroupTemplate||o:a.optionTemplate||o)("ngTemplateOutletContext",i["\u0275\u0275pureFunction4"](17,H,r.value,r,r.index,a.searchTerm))}}function z(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275elementStart"](1,"span",30),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.addTagText),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]('"',n.searchTerm,'"')}}function W(e,t){}function q(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",28),i["\u0275\u0275listener"]("mouseover",(function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).itemsList.unmarkItem()}))("click",(function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).selectTag()})),i["\u0275\u0275template"](1,z,4,2,"ng-template",null,29,i["\u0275\u0275templateRefExtractor"]),i["\u0275\u0275template"](3,W,0,0,"ng-template",14),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275reference"](2),o=i["\u0275\u0275nextContext"](2);i["\u0275\u0275classProp"]("ng-option-marked",!o.itemsList.markedItem),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngTemplateOutlet",o.tagTemplate||r)("ngTemplateOutletContext",i["\u0275\u0275pureFunction1"](4,C,o.searchTerm))}}function G(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",32),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.notFoundText)}}function Y(e,t){}function Q(e,t){if(1&e&&(i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275template"](1,G,2,1,"ng-template",null,31,i["\u0275\u0275templateRefExtractor"]),i["\u0275\u0275template"](3,Y,0,0,"ng-template",14),i["\u0275\u0275elementContainerEnd"]()),2&e){var n=i["\u0275\u0275reference"](2),r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngTemplateOutlet",r.notFoundTemplate||n)("ngTemplateOutletContext",i["\u0275\u0275pureFunction1"](2,C,r.searchTerm))}}function K(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",32),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.typeToSearchText)}}function $(e,t){}function Z(e,t){if(1&e&&(i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275template"](1,K,2,1,"ng-template",null,33,i["\u0275\u0275templateRefExtractor"]),i["\u0275\u0275template"](3,$,0,0,"ng-template",18),i["\u0275\u0275elementContainerEnd"]()),2&e){var n=i["\u0275\u0275reference"](2),r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngTemplateOutlet",r.typeToSearchTemplate||n)}}function X(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",32),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.loadingText)}}function J(e,t){}function ee(e,t){if(1&e&&(i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275template"](1,X,2,1,"ng-template",null,34,i["\u0275\u0275templateRefExtractor"]),i["\u0275\u0275template"](3,J,0,0,"ng-template",14),i["\u0275\u0275elementContainerEnd"]()),2&e){var n=i["\u0275\u0275reference"](2),r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngTemplateOutlet",r.loadingTextTemplate||n)("ngTemplateOutletContext",i["\u0275\u0275pureFunction1"](2,C,r.searchTerm))}}function te(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"ng-dropdown-panel",22),i["\u0275\u0275listener"]("update",(function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().viewPortItems=e}))("scroll",(function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().scroll.emit(e)}))("scrollToEnd",(function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().scrollToEnd.emit(e)}))("outsideClick",(function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().close()})),i["\u0275\u0275elementContainerStart"](1),i["\u0275\u0275template"](2,U,4,22,"div",23),i["\u0275\u0275template"](3,q,4,6,"div",24),i["\u0275\u0275elementContainerEnd"](),i["\u0275\u0275template"](4,Q,4,4,"ng-container",3),i["\u0275\u0275template"](5,Z,4,1,"ng-container",3),i["\u0275\u0275template"](6,ee,4,4,"ng-container",3),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275classProp"]("ng-select-multiple",r.multiple),i["\u0275\u0275property"]("virtualScroll",r.virtualScroll)("bufferAmount",r.bufferAmount)("appendTo",r.appendTo)("position",r.dropdownPosition)("headerTemplate",r.headerTemplate)("footerTemplate",r.footerTemplate)("filterValue",r.searchTerm)("items",r.itemsList.filteredItems)("markedItem",r.itemsList.markedItem)("ngClass",r.appendTo?r.classes:null)("id",r.dropdownId),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",r.viewPortItems)("ngForTrackBy",r.trackByOption),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.showAddTag),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.showNoItemsFound()),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.showTypeToSearch()),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.loading&&0===r.itemsList.filteredItems.length)}}var ne=/[&<>"']/g,re=RegExp(ne.source),ie={"&":"&","<":"<",">":">",'"':""","'":"'"};function oe(e){return null!=e}function ae(e){return"object"==typeof e&&oe(e)}function se(e){return e instanceof Function}var ue=function(){function e(e){this.element=e,this.escape=!0}return e.prototype.ngOnChanges=function(e){var t;this.element.nativeElement.innerHTML=this.escape?(t=this.ngItemLabel)&&re.test(t)?t.replace(ne,(function(e){return ie[e]})):t:this.ngItemLabel},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ElementRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngItemLabel",""]],inputs:{escape:"escape",ngItemLabel:"ngItemLabel"},features:[i["\u0275\u0275NgOnChangesFeature"]()]}),e}(),ce=function(){function e(e){this.template=e}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.TemplateRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","ng-option-tmp",""]]}),e}(),le=function(){function e(e){this.template=e}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.TemplateRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","ng-optgroup-tmp",""]]}),e}(),fe=function(){function e(e){this.template=e}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.TemplateRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","ng-label-tmp",""]]}),e}(),pe=function(){function e(e){this.template=e}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.TemplateRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","ng-multi-label-tmp",""]]}),e}(),de=function(){function e(e){this.template=e}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.TemplateRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","ng-header-tmp",""]]}),e}(),he=function(){function e(e){this.template=e}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.TemplateRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","ng-footer-tmp",""]]}),e}(),me=function(){function e(e){this.template=e}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.TemplateRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","ng-notfound-tmp",""]]}),e}(),ge=function(){function e(e){this.template=e}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.TemplateRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","ng-typetosearch-tmp",""]]}),e}(),ve=function(){function e(e){this.template=e}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.TemplateRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","ng-loadingtext-tmp",""]]}),e}(),ye=function(){function e(e){this.template=e}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.TemplateRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","ng-tag-tmp",""]]}),e}(),be=function(){function e(e){this.template=e}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.TemplateRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","ng-loadingspinner-tmp",""]]}),e}(),_e=function(){function e(){}return e.prototype.warn=function(e){console.warn(e)},e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)},e}();function we(){return"axxxxxxxxxxx".replace(/[x]/g,(function(e){return(16*Math.random()|0).toString(16)}))}var Ce={"\u24b6":"A","\uff21":"A","\xc0":"A","\xc1":"A","\xc2":"A","\u1ea6":"A","\u1ea4":"A","\u1eaa":"A","\u1ea8":"A","\xc3":"A","\u0100":"A","\u0102":"A","\u1eb0":"A","\u1eae":"A","\u1eb4":"A","\u1eb2":"A","\u0226":"A","\u01e0":"A","\xc4":"A","\u01de":"A","\u1ea2":"A","\xc5":"A","\u01fa":"A","\u01cd":"A","\u0200":"A","\u0202":"A","\u1ea0":"A","\u1eac":"A","\u1eb6":"A","\u1e00":"A","\u0104":"A","\u023a":"A","\u2c6f":"A","\ua732":"AA","\xc6":"AE","\u01fc":"AE","\u01e2":"AE","\ua734":"AO","\ua736":"AU","\ua738":"AV","\ua73a":"AV","\ua73c":"AY","\u24b7":"B","\uff22":"B","\u1e02":"B","\u1e04":"B","\u1e06":"B","\u0243":"B","\u0182":"B","\u0181":"B","\u24b8":"C","\uff23":"C","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\xc7":"C","\u1e08":"C","\u0187":"C","\u023b":"C","\ua73e":"C","\u24b9":"D","\uff24":"D","\u1e0a":"D","\u010e":"D","\u1e0c":"D","\u1e10":"D","\u1e12":"D","\u1e0e":"D","\u0110":"D","\u018b":"D","\u018a":"D","\u0189":"D","\ua779":"D","\u01f1":"DZ","\u01c4":"DZ","\u01f2":"Dz","\u01c5":"Dz","\u24ba":"E","\uff25":"E","\xc8":"E","\xc9":"E","\xca":"E","\u1ec0":"E","\u1ebe":"E","\u1ec4":"E","\u1ec2":"E","\u1ebc":"E","\u0112":"E","\u1e14":"E","\u1e16":"E","\u0114":"E","\u0116":"E","\xcb":"E","\u1eba":"E","\u011a":"E","\u0204":"E","\u0206":"E","\u1eb8":"E","\u1ec6":"E","\u0228":"E","\u1e1c":"E","\u0118":"E","\u1e18":"E","\u1e1a":"E","\u0190":"E","\u018e":"E","\u24bb":"F","\uff26":"F","\u1e1e":"F","\u0191":"F","\ua77b":"F","\u24bc":"G","\uff27":"G","\u01f4":"G","\u011c":"G","\u1e20":"G","\u011e":"G","\u0120":"G","\u01e6":"G","\u0122":"G","\u01e4":"G","\u0193":"G","\ua7a0":"G","\ua77d":"G","\ua77e":"G","\u24bd":"H","\uff28":"H","\u0124":"H","\u1e22":"H","\u1e26":"H","\u021e":"H","\u1e24":"H","\u1e28":"H","\u1e2a":"H","\u0126":"H","\u2c67":"H","\u2c75":"H","\ua78d":"H","\u24be":"I","\uff29":"I","\xcc":"I","\xcd":"I","\xce":"I","\u0128":"I","\u012a":"I","\u012c":"I","\u0130":"I","\xcf":"I","\u1e2e":"I","\u1ec8":"I","\u01cf":"I","\u0208":"I","\u020a":"I","\u1eca":"I","\u012e":"I","\u1e2c":"I","\u0197":"I","\u24bf":"J","\uff2a":"J","\u0134":"J","\u0248":"J","\u24c0":"K","\uff2b":"K","\u1e30":"K","\u01e8":"K","\u1e32":"K","\u0136":"K","\u1e34":"K","\u0198":"K","\u2c69":"K","\ua740":"K","\ua742":"K","\ua744":"K","\ua7a2":"K","\u24c1":"L","\uff2c":"L","\u013f":"L","\u0139":"L","\u013d":"L","\u1e36":"L","\u1e38":"L","\u013b":"L","\u1e3c":"L","\u1e3a":"L","\u0141":"L","\u023d":"L","\u2c62":"L","\u2c60":"L","\ua748":"L","\ua746":"L","\ua780":"L","\u01c7":"LJ","\u01c8":"Lj","\u24c2":"M","\uff2d":"M","\u1e3e":"M","\u1e40":"M","\u1e42":"M","\u2c6e":"M","\u019c":"M","\u24c3":"N","\uff2e":"N","\u01f8":"N","\u0143":"N","\xd1":"N","\u1e44":"N","\u0147":"N","\u1e46":"N","\u0145":"N","\u1e4a":"N","\u1e48":"N","\u0220":"N","\u019d":"N","\ua790":"N","\ua7a4":"N","\u01ca":"NJ","\u01cb":"Nj","\u24c4":"O","\uff2f":"O","\xd2":"O","\xd3":"O","\xd4":"O","\u1ed2":"O","\u1ed0":"O","\u1ed6":"O","\u1ed4":"O","\xd5":"O","\u1e4c":"O","\u022c":"O","\u1e4e":"O","\u014c":"O","\u1e50":"O","\u1e52":"O","\u014e":"O","\u022e":"O","\u0230":"O","\xd6":"O","\u022a":"O","\u1ece":"O","\u0150":"O","\u01d1":"O","\u020c":"O","\u020e":"O","\u01a0":"O","\u1edc":"O","\u1eda":"O","\u1ee0":"O","\u1ede":"O","\u1ee2":"O","\u1ecc":"O","\u1ed8":"O","\u01ea":"O","\u01ec":"O","\xd8":"O","\u01fe":"O","\u0186":"O","\u019f":"O","\ua74a":"O","\ua74c":"O","\u01a2":"OI","\ua74e":"OO","\u0222":"OU","\u24c5":"P","\uff30":"P","\u1e54":"P","\u1e56":"P","\u01a4":"P","\u2c63":"P","\ua750":"P","\ua752":"P","\ua754":"P","\u24c6":"Q","\uff31":"Q","\ua756":"Q","\ua758":"Q","\u024a":"Q","\u24c7":"R","\uff32":"R","\u0154":"R","\u1e58":"R","\u0158":"R","\u0210":"R","\u0212":"R","\u1e5a":"R","\u1e5c":"R","\u0156":"R","\u1e5e":"R","\u024c":"R","\u2c64":"R","\ua75a":"R","\ua7a6":"R","\ua782":"R","\u24c8":"S","\uff33":"S","\u1e9e":"S","\u015a":"S","\u1e64":"S","\u015c":"S","\u1e60":"S","\u0160":"S","\u1e66":"S","\u1e62":"S","\u1e68":"S","\u0218":"S","\u015e":"S","\u2c7e":"S","\ua7a8":"S","\ua784":"S","\u24c9":"T","\uff34":"T","\u1e6a":"T","\u0164":"T","\u1e6c":"T","\u021a":"T","\u0162":"T","\u1e70":"T","\u1e6e":"T","\u0166":"T","\u01ac":"T","\u01ae":"T","\u023e":"T","\ua786":"T","\ua728":"TZ","\u24ca":"U","\uff35":"U","\xd9":"U","\xda":"U","\xdb":"U","\u0168":"U","\u1e78":"U","\u016a":"U","\u1e7a":"U","\u016c":"U","\xdc":"U","\u01db":"U","\u01d7":"U","\u01d5":"U","\u01d9":"U","\u1ee6":"U","\u016e":"U","\u0170":"U","\u01d3":"U","\u0214":"U","\u0216":"U","\u01af":"U","\u1eea":"U","\u1ee8":"U","\u1eee":"U","\u1eec":"U","\u1ef0":"U","\u1ee4":"U","\u1e72":"U","\u0172":"U","\u1e76":"U","\u1e74":"U","\u0244":"U","\u24cb":"V","\uff36":"V","\u1e7c":"V","\u1e7e":"V","\u01b2":"V","\ua75e":"V","\u0245":"V","\ua760":"VY","\u24cc":"W","\uff37":"W","\u1e80":"W","\u1e82":"W","\u0174":"W","\u1e86":"W","\u1e84":"W","\u1e88":"W","\u2c72":"W","\u24cd":"X","\uff38":"X","\u1e8a":"X","\u1e8c":"X","\u24ce":"Y","\uff39":"Y","\u1ef2":"Y","\xdd":"Y","\u0176":"Y","\u1ef8":"Y","\u0232":"Y","\u1e8e":"Y","\u0178":"Y","\u1ef6":"Y","\u1ef4":"Y","\u01b3":"Y","\u024e":"Y","\u1efe":"Y","\u24cf":"Z","\uff3a":"Z","\u0179":"Z","\u1e90":"Z","\u017b":"Z","\u017d":"Z","\u1e92":"Z","\u1e94":"Z","\u01b5":"Z","\u0224":"Z","\u2c7f":"Z","\u2c6b":"Z","\ua762":"Z","\u24d0":"a","\uff41":"a","\u1e9a":"a","\xe0":"a","\xe1":"a","\xe2":"a","\u1ea7":"a","\u1ea5":"a","\u1eab":"a","\u1ea9":"a","\xe3":"a","\u0101":"a","\u0103":"a","\u1eb1":"a","\u1eaf":"a","\u1eb5":"a","\u1eb3":"a","\u0227":"a","\u01e1":"a","\xe4":"a","\u01df":"a","\u1ea3":"a","\xe5":"a","\u01fb":"a","\u01ce":"a","\u0201":"a","\u0203":"a","\u1ea1":"a","\u1ead":"a","\u1eb7":"a","\u1e01":"a","\u0105":"a","\u2c65":"a","\u0250":"a","\ua733":"aa","\xe6":"ae","\u01fd":"ae","\u01e3":"ae","\ua735":"ao","\ua737":"au","\ua739":"av","\ua73b":"av","\ua73d":"ay","\u24d1":"b","\uff42":"b","\u1e03":"b","\u1e05":"b","\u1e07":"b","\u0180":"b","\u0183":"b","\u0253":"b","\u24d2":"c","\uff43":"c","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\xe7":"c","\u1e09":"c","\u0188":"c","\u023c":"c","\ua73f":"c","\u2184":"c","\u24d3":"d","\uff44":"d","\u1e0b":"d","\u010f":"d","\u1e0d":"d","\u1e11":"d","\u1e13":"d","\u1e0f":"d","\u0111":"d","\u018c":"d","\u0256":"d","\u0257":"d","\ua77a":"d","\u01f3":"dz","\u01c6":"dz","\u24d4":"e","\uff45":"e","\xe8":"e","\xe9":"e","\xea":"e","\u1ec1":"e","\u1ebf":"e","\u1ec5":"e","\u1ec3":"e","\u1ebd":"e","\u0113":"e","\u1e15":"e","\u1e17":"e","\u0115":"e","\u0117":"e","\xeb":"e","\u1ebb":"e","\u011b":"e","\u0205":"e","\u0207":"e","\u1eb9":"e","\u1ec7":"e","\u0229":"e","\u1e1d":"e","\u0119":"e","\u1e19":"e","\u1e1b":"e","\u0247":"e","\u025b":"e","\u01dd":"e","\u24d5":"f","\uff46":"f","\u1e1f":"f","\u0192":"f","\ua77c":"f","\u24d6":"g","\uff47":"g","\u01f5":"g","\u011d":"g","\u1e21":"g","\u011f":"g","\u0121":"g","\u01e7":"g","\u0123":"g","\u01e5":"g","\u0260":"g","\ua7a1":"g","\u1d79":"g","\ua77f":"g","\u24d7":"h","\uff48":"h","\u0125":"h","\u1e23":"h","\u1e27":"h","\u021f":"h","\u1e25":"h","\u1e29":"h","\u1e2b":"h","\u1e96":"h","\u0127":"h","\u2c68":"h","\u2c76":"h","\u0265":"h","\u0195":"hv","\u24d8":"i","\uff49":"i","\xec":"i","\xed":"i","\xee":"i","\u0129":"i","\u012b":"i","\u012d":"i","\xef":"i","\u1e2f":"i","\u1ec9":"i","\u01d0":"i","\u0209":"i","\u020b":"i","\u1ecb":"i","\u012f":"i","\u1e2d":"i","\u0268":"i","\u0131":"i","\u24d9":"j","\uff4a":"j","\u0135":"j","\u01f0":"j","\u0249":"j","\u24da":"k","\uff4b":"k","\u1e31":"k","\u01e9":"k","\u1e33":"k","\u0137":"k","\u1e35":"k","\u0199":"k","\u2c6a":"k","\ua741":"k","\ua743":"k","\ua745":"k","\ua7a3":"k","\u24db":"l","\uff4c":"l","\u0140":"l","\u013a":"l","\u013e":"l","\u1e37":"l","\u1e39":"l","\u013c":"l","\u1e3d":"l","\u1e3b":"l","\u017f":"l","\u0142":"l","\u019a":"l","\u026b":"l","\u2c61":"l","\ua749":"l","\ua781":"l","\ua747":"l","\u01c9":"lj","\u24dc":"m","\uff4d":"m","\u1e3f":"m","\u1e41":"m","\u1e43":"m","\u0271":"m","\u026f":"m","\u24dd":"n","\uff4e":"n","\u01f9":"n","\u0144":"n","\xf1":"n","\u1e45":"n","\u0148":"n","\u1e47":"n","\u0146":"n","\u1e4b":"n","\u1e49":"n","\u019e":"n","\u0272":"n","\u0149":"n","\ua791":"n","\ua7a5":"n","\u01cc":"nj","\u24de":"o","\uff4f":"o","\xf2":"o","\xf3":"o","\xf4":"o","\u1ed3":"o","\u1ed1":"o","\u1ed7":"o","\u1ed5":"o","\xf5":"o","\u1e4d":"o","\u022d":"o","\u1e4f":"o","\u014d":"o","\u1e51":"o","\u1e53":"o","\u014f":"o","\u022f":"o","\u0231":"o","\xf6":"o","\u022b":"o","\u1ecf":"o","\u0151":"o","\u01d2":"o","\u020d":"o","\u020f":"o","\u01a1":"o","\u1edd":"o","\u1edb":"o","\u1ee1":"o","\u1edf":"o","\u1ee3":"o","\u1ecd":"o","\u1ed9":"o","\u01eb":"o","\u01ed":"o","\xf8":"o","\u01ff":"o","\u0254":"o","\ua74b":"o","\ua74d":"o","\u0275":"o","\u01a3":"oi","\u0223":"ou","\ua74f":"oo","\u24df":"p","\uff50":"p","\u1e55":"p","\u1e57":"p","\u01a5":"p","\u1d7d":"p","\ua751":"p","\ua753":"p","\ua755":"p","\u24e0":"q","\uff51":"q","\u024b":"q","\ua757":"q","\ua759":"q","\u24e1":"r","\uff52":"r","\u0155":"r","\u1e59":"r","\u0159":"r","\u0211":"r","\u0213":"r","\u1e5b":"r","\u1e5d":"r","\u0157":"r","\u1e5f":"r","\u024d":"r","\u027d":"r","\ua75b":"r","\ua7a7":"r","\ua783":"r","\u24e2":"s","\uff53":"s","\xdf":"s","\u015b":"s","\u1e65":"s","\u015d":"s","\u1e61":"s","\u0161":"s","\u1e67":"s","\u1e63":"s","\u1e69":"s","\u0219":"s","\u015f":"s","\u023f":"s","\ua7a9":"s","\ua785":"s","\u1e9b":"s","\u24e3":"t","\uff54":"t","\u1e6b":"t","\u1e97":"t","\u0165":"t","\u1e6d":"t","\u021b":"t","\u0163":"t","\u1e71":"t","\u1e6f":"t","\u0167":"t","\u01ad":"t","\u0288":"t","\u2c66":"t","\ua787":"t","\ua729":"tz","\u24e4":"u","\uff55":"u","\xf9":"u","\xfa":"u","\xfb":"u","\u0169":"u","\u1e79":"u","\u016b":"u","\u1e7b":"u","\u016d":"u","\xfc":"u","\u01dc":"u","\u01d8":"u","\u01d6":"u","\u01da":"u","\u1ee7":"u","\u016f":"u","\u0171":"u","\u01d4":"u","\u0215":"u","\u0217":"u","\u01b0":"u","\u1eeb":"u","\u1ee9":"u","\u1eef":"u","\u1eed":"u","\u1ef1":"u","\u1ee5":"u","\u1e73":"u","\u0173":"u","\u1e77":"u","\u1e75":"u","\u0289":"u","\u24e5":"v","\uff56":"v","\u1e7d":"v","\u1e7f":"v","\u028b":"v","\ua75f":"v","\u028c":"v","\ua761":"vy","\u24e6":"w","\uff57":"w","\u1e81":"w","\u1e83":"w","\u0175":"w","\u1e87":"w","\u1e85":"w","\u1e98":"w","\u1e89":"w","\u2c73":"w","\u24e7":"x","\uff58":"x","\u1e8b":"x","\u1e8d":"x","\u24e8":"y","\uff59":"y","\u1ef3":"y","\xfd":"y","\u0177":"y","\u1ef9":"y","\u0233":"y","\u1e8f":"y","\xff":"y","\u1ef7":"y","\u1e99":"y","\u1ef5":"y","\u01b4":"y","\u024f":"y","\u1eff":"y","\u24e9":"z","\uff5a":"z","\u017a":"z","\u1e91":"z","\u017c":"z","\u017e":"z","\u1e93":"z","\u1e95":"z","\u01b6":"z","\u0225":"z","\u0240":"z","\u2c6c":"z","\ua763":"z","\u0386":"\u0391","\u0388":"\u0395","\u0389":"\u0397","\u038a":"\u0399","\u03aa":"\u0399","\u038c":"\u039f","\u038e":"\u03a5","\u03ab":"\u03a5","\u038f":"\u03a9","\u03ac":"\u03b1","\u03ad":"\u03b5","\u03ae":"\u03b7","\u03af":"\u03b9","\u03ca":"\u03b9","\u0390":"\u03b9","\u03cc":"\u03bf","\u03cd":"\u03c5","\u03cb":"\u03c5","\u03b0":"\u03c5","\u03c9":"\u03c9","\u03c2":"\u03c3"};function Ee(e){return e.replace(/[^\u0000-\u007E]/g,(function(e){return Ce[e]||e}))}var Oe=function(){function e(e,t){this._ngSelect=e,this._selectionModel=t,this._items=[],this._filteredItems=[],this._markedIndex=-1}return Object.defineProperty(e.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filteredItems",{get:function(){return this._filteredItems},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"markedIndex",{get:function(){return this._markedIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedItems",{get:function(){return this._selectionModel.value},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"markedItem",{get:function(){return this._filteredItems[this._markedIndex]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"noItemsToSelect",{get:function(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maxItemsSelected",{get:function(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lastSelectedItem",{get:function(){for(var e=this.selectedItems.length-1;e>=0;e--){var t=this.selectedItems[e];if(!t.disabled)return t}return null},enumerable:!0,configurable:!0}),e.prototype.setItems=function(e){var t=this;this._items=e.map((function(e,n){return t.mapItem(e,n)})),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=Object(r.g)(this._items)},e.prototype.select=function(e){if(!e.selected&&!this.maxItemsSelected){var t=this._ngSelect.multiple;t||this.clearSelected(),this._selectionModel.select(e,t,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(e)}},e.prototype.unselect=function(e){e.selected&&(this._selectionModel.unselect(e,this._ngSelect.multiple),this._ngSelect.hideSelected&&oe(e.index)&&this._ngSelect.multiple&&this._showSelected(e))},e.prototype.findItem=function(e){var t,n=this;return t=this._ngSelect.compareWith?function(t){return n._ngSelect.compareWith(t.value,e)}:this._ngSelect.bindValue?function(t){return!t.children&&n.resolveNested(t.value,n._ngSelect.bindValue)===e}:function(t){return t.value===e||!t.children&&t.label&&t.label===n.resolveNested(e,n._ngSelect.bindLabel)},this._items.find((function(e){return t(e)}))},e.prototype.addItem=function(e){var t=this.mapItem(e,this._items.length);return this._items.push(t),this._filteredItems.push(t),t},e.prototype.clearSelected=function(e){void 0===e&&(e=!1),this._selectionModel.clear(e),this._items.forEach((function(t){t.selected=e&&t.selected&&t.disabled,t.marked=!1})),this._ngSelect.hideSelected&&this.resetFilteredItems()},e.prototype.findByLabel=function(e){return e=Ee(e).toLocaleLowerCase(),this.filteredItems.find((function(t){return Ee(t.label).toLocaleLowerCase().substr(0,e.length)===e}))},e.prototype.filter=function(e){var t,n;if(e){this._filteredItems=[],e=this._ngSelect.searchFn?e:Ee(e).toLocaleLowerCase();var i=this._ngSelect.searchFn||this._defaultSearchFn,o=this._ngSelect.hideSelected,a=function(t){var n,a,u,c=[];try{for(var l=(n=void 0,Object(r.h)(s._groups.get(t))),f=l.next();!f.done;f=l.next()){var p=f.value;o&&(p.parent&&p.parent.selected||p.selected)||i(e,s._ngSelect.searchFn?p.value:p)&&c.push(p)}}catch(m){n={error:m}}finally{try{f&&!f.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}if(c.length>0){var d=Object(r.f)(c.slice(-1),1)[0];if(d.parent){var h=s._items.find((function(e){return e===d.parent}));s._filteredItems.push(h)}(u=s._filteredItems).push.apply(u,Object(r.g)(c))}},s=this;try{for(var u=Object(r.h)(Array.from(this._groups.keys())),c=u.next();!c.done;c=u.next())a(c.value)}catch(l){t={error:l}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}}else this.resetFilteredItems()},e.prototype.resetFilteredItems=function(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter((function(e){return!e.selected})):this._items)},e.prototype.unmarkItem=function(){this._markedIndex=-1},e.prototype.markNextItem=function(){this._stepToItem(1)},e.prototype.markPreviousItem=function(){this._stepToItem(-1)},e.prototype.markItem=function(e){this._markedIndex=this._filteredItems.indexOf(e)},e.prototype.markSelectedOrDefault=function(e){if(0!==this._filteredItems.length){var t=this._getLastMarkedIndex();this._markedIndex=t>-1?t:e?this.filteredItems.findIndex((function(e){return!e.disabled})):-1}},e.prototype.resolveNested=function(e,t){if(!ae(e))return e;if(-1===t.indexOf("."))return e[t];for(var n=t.split("."),r=e,i=0,o=n.length;i-1},e.prototype._getNextItemIndex=function(e){return e>0?this._markedIndex===this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1},e.prototype._stepToItem=function(e){0===this._filteredItems.length||this._filteredItems.every((function(e){return e.disabled}))||(this._markedIndex=this._getNextItemIndex(e),this.markedItem.disabled&&this._stepToItem(e))},e.prototype._getLastMarkedIndex=function(){if(this._ngSelect.hideSelected)return-1;if(this._markedIndex>-1&&void 0===this.markedItem)return-1;var e=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&e<0?-1:Math.max(this.markedIndex,e)},e.prototype._groupBy=function(e,t){var n,i,o,a,s=this,u=new Map;if(0===e.length)return u;if(Array.isArray(e[0].value[t])){try{for(var c=Object(r.h)(e),l=c.next();!l.done;l=c.next()){var f=((g=l.value).value[t]||[]).map((function(e,t){return s.mapItem(e,t)}));u.set(g,f)}}catch(b){n={error:b}}finally{try{l&&!l.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}return u}var p=se(this._ngSelect.groupBy),d=function(e){var n=p?t(e.value):e.value[t];return oe(n)?n:void 0};try{for(var h=Object(r.h)(e),m=h.next();!m.done;m=h.next()){var g,v=d(g=m.value),y=u.get(v);y?y.push(g):u.set(v,[g])}}catch(_){o={error:_}}finally{try{m&&!m.done&&(a=h.return)&&a.call(h)}finally{if(o)throw o.error}}return u},e.prototype._flatten=function(e){var t,n,i=se(this._ngSelect.groupBy),o=[],a=function(t){var n=o.length;if(void 0===t){var a=e.get(void 0)||[];return o.push.apply(o,Object(r.g)(a.map((function(e){return Object(r.a)(Object(r.a)({},e),{index:n++})})))),"continue"}var u=ae(t),c={label:u?"":String(t),children:void 0,parent:null,index:n++,disabled:!s._ngSelect.selectableGroup,htmlId:we()},l=i?s._ngSelect.bindLabel:s._ngSelect.groupBy,f=s._ngSelect.groupValue||function(){var e;return u?t.value:((e={})[l]=t,e)},p=e.get(t).map((function(e){return e.parent=c,e.children=void 0,e.index=n++,e}));c.children=p,c.value=f(t,p.map((function(e){return e.value}))),o.push(c),o.push.apply(o,Object(r.g)(p))},s=this;try{for(var u=Object(r.h)(Array.from(e.keys())),c=u.next();!c.done;c=u.next())a(c.value)}catch(l){t={error:l}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}return o},e}(),Se=function(){var e={Tab:9,Enter:13,Esc:27,Space:32,ArrowUp:38,ArrowDown:40,Backspace:8};return e[e.Tab]="Tab",e[e.Enter]="Enter",e[e.Esc]="Esc",e[e.Space]="Space",e[e.ArrowUp]="ArrowUp",e[e.ArrowDown]="ArrowDown",e[e.Backspace]="Backspace",e}(),xe=function(){function e(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}return Object.defineProperty(e.prototype,"dimensions",{get:function(){return this._dimensions},enumerable:!0,configurable:!0}),e.prototype.calculateItems=function(e,t,n){var r=this._dimensions,i=r.itemHeight*t,o=Math.max(0,e)/i*t,a=Math.min(t,Math.ceil(o)+(r.itemsPerViewport+1)),s=Math.max(0,a-r.itemsPerViewport),u=Math.min(s,Math.floor(o)),c=r.itemHeight*Math.ceil(u)-r.itemHeight*Math.min(u,n);return c=isNaN(c)?0:c,u=isNaN(u)?-1:u,a=isNaN(a)?-1:a,u-=n,a+=n,{topPadding:c,scrollHeight:i,start:u=Math.max(0,u),end:a=Math.min(t,a)}},e.prototype.setDimensions=function(e,t){var n=Math.max(1,Math.floor(t/e));this._dimensions={itemHeight:e,panelHeight:t,itemsPerViewport:n}},e.prototype.getScrollTo=function(e,t,n){var r=this.dimensions.panelHeight,i=e+t,o=n+r;return r>=i&&n===e?null:i>o?n+i-o:e<=n?e:null},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),ke="undefined"!=typeof requestAnimationFrame?d.a:h.a,Ie=function(){function e(e,t,n,r,o){this._renderer=e,this._zone=t,this._panelService=n,this._document=o,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new i.EventEmitter,this.scroll=new i.EventEmitter,this.scrollToEnd=new i.EventEmitter,this.outsideClick=new i.EventEmitter,this._destroy$=new m.a,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=r.nativeElement}return Object.defineProperty(e.prototype,"currentPosition",{get:function(){return this._currentPosition},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"itemsLength",{get:function(){return this._itemsLength},set:function(e){e!==this._itemsLength&&(this._itemsLength=e,this._onItemsLengthChanged())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_startOffset",{get:function(){if(this.markedItem){var e=this._panelService.dimensions,t=this.markedItem.index*e.itemHeight;return e.panelHeight>t?0:t}return 0},enumerable:!0,configurable:!0}),e.prototype.handleMousedown=function(e){"INPUT"!==e.target.tagName&&e.preventDefault()},e.prototype.ngOnInit=function(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown()},e.prototype.ngOnChanges=function(e){if(e.items){var t=e.items;this._onItemsChange(t.currentValue,t.firstChange)}},e.prototype.ngOnDestroy=function(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)},e.prototype.scrollTo=function(e,t){if(void 0===t&&(t=!1),e){var n=this.items.indexOf(e);if(!(n<0||n>=this.itemsLength)){var r;if(this.virtualScroll){var i=this._panelService.dimensions.itemHeight;r=this._panelService.getScrollTo(n*i,i,this._lastScrollPosition)}else{var o=this._dropdown.querySelector("#"+e.htmlId);r=this._panelService.getScrollTo(o.offsetTop,o.clientHeight,t?o.offsetTop:this._lastScrollPosition)}oe(r)&&(this._scrollablePanel.scrollTop=r)}}},e.prototype.scrollToTag=function(){var e=this._scrollablePanel;e.scrollTop=e.scrollHeight-e.clientHeight},e.prototype.adjustPosition=function(){var e=this._parent.getBoundingClientRect(),t=this._select.getBoundingClientRect();this._setOffset(e,t)},e.prototype._handleDropdownPosition=function(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),"top"===this._currentPosition?(this._renderer.addClass(this._dropdown,"ng-select-top"),this._renderer.removeClass(this._dropdown,"ng-select-bottom"),this._renderer.addClass(this._select,"ng-select-top"),this._renderer.removeClass(this._select,"ng-select-bottom")):(this._renderer.addClass(this._dropdown,"ng-select-bottom"),this._renderer.removeClass(this._dropdown,"ng-select-top"),this._renderer.addClass(this._select,"ng-select-bottom"),this._renderer.removeClass(this._select,"ng-select-top")),this.appendTo&&this._updatePosition(),this._dropdown.style.opacity="1"},e.prototype._handleScroll=function(){var e=this;this._zone.runOutsideAngular((function(){Object(g.a)(e.scrollElementRef.nativeElement,"scroll").pipe(Object(a.a)(e._destroy$),Object(s.a)(0,ke)).subscribe((function(t){return e._onContentScrolled(t.target.scrollTop)}))}))},e.prototype._handleOutsideClick=function(){var e=this;this._document&&this._zone.runOutsideAngular((function(){Object(v.a)(Object(g.a)(e._document,"touchstart",{capture:!0}),Object(g.a)(e._document,"mousedown",{capture:!0})).pipe(Object(a.a)(e._destroy$)).subscribe((function(t){return e._checkToClose(t)}))}))},e.prototype._checkToClose=function(e){var t=this;if(!this._select.contains(e.target)&&!this._dropdown.contains(e.target)){var n=e.path||e.composedPath&&e.composedPath();e.target&&e.target.shadowRoot&&n&&n[0]&&this._select.contains(n[0])||this._zone.run((function(){return t.outsideClick.emit()}))}},e.prototype._onItemsChange=function(e,t){this.items=e||[],this._scrollToEndFired=!1,this.itemsLength=e.length,this.virtualScroll?this._updateItemsRange(t):this._updateItems(t)},e.prototype._updateItems=function(e){var t=this;this.update.emit(this.items),!1!==e&&this._zone.runOutsideAngular((function(){Promise.resolve().then((function(){t._panelService.setDimensions(0,t._scrollablePanel.clientHeight),t._handleDropdownPosition(),t.scrollTo(t.markedItem,e)}))}))},e.prototype._updateItemsRange=function(e){var t=this;this._zone.runOutsideAngular((function(){t._measureDimensions().then((function(){e?(t._renderItemsRange(t._startOffset),t._handleDropdownPosition()):t._renderItemsRange()}))}))},e.prototype._onContentScrolled=function(e){this.virtualScroll&&this._renderItemsRange(e),this._lastScrollPosition=e,this._fireScrollToEnd(e)},e.prototype._updateVirtualHeight=function(e){this._updateScrollHeight&&(this._virtualPadding.style.height=e+"px",this._updateScrollHeight=!1)},e.prototype._onItemsLengthChanged=function(){this._updateScrollHeight=!0},e.prototype._renderItemsRange=function(e){var t=this;if(void 0===e&&(e=null),!e||this._lastScrollPosition!==e){var n=this._panelService.calculateItems(e=e||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(n.scrollHeight),this._contentPanel.style.transform="translateY("+n.topPadding+"px)",this._zone.run((function(){t.update.emit(t.items.slice(n.start,n.end)),t.scroll.emit({start:n.start,end:n.end})})),oe(e)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=e,this._lastScrollPosition=e)}},e.prototype._measureDimensions=function(){var e=this;if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);var t=Object(r.f)(this.items,1)[0];return this.update.emit([t]),Promise.resolve().then((function(){var n=e._dropdown.querySelector("#"+t.htmlId).clientHeight;return e._virtualPadding.style.height=n*e.itemsLength+"px",e._panelService.setDimensions(n,e._scrollablePanel.clientHeight),e._panelService.dimensions}))},e.prototype._fireScrollToEnd=function(e){var t=this;this._scrollToEndFired||0===e||e+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight&&(this._zone.run((function(){return t.scrollToEnd.emit()})),this._scrollToEndFired=!0)},e.prototype._calculateCurrentPosition=function(e){if("auto"!==this.position)return this.position;var t=this._select.getBoundingClientRect(),n=document.documentElement.scrollTop||document.body.scrollTop;return t.top+window.pageYOffset+t.height+e.getBoundingClientRect().height>n+document.documentElement.clientHeight?"top":"bottom"},e.prototype._appendDropdown=function(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error("appendTo selector "+this.appendTo+" did not found any parent element");this._parent.appendChild(this._dropdown)}},e.prototype._updatePosition=function(){var e=this._select.getBoundingClientRect(),t=this._parent.getBoundingClientRect(),n=e.left-t.left;this._setOffset(t,e),this._dropdown.style.left=n+"px",this._dropdown.style.width=e.width+"px",this._dropdown.style.minWidth=e.width+"px"},e.prototype._setOffset=function(e,t){var n=t.height;"top"===this._currentPosition?(this._dropdown.style.bottom=e.bottom-t.bottom+n+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=t.top-e.top+n+"px",this._dropdown.style.bottom="auto")},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.Renderer2),i["\u0275\u0275directiveInject"](i.NgZone),i["\u0275\u0275directiveInject"](xe),i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](y.DOCUMENT,8))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["ng-dropdown-panel"]],viewQuery:function(e,t){var n;1&e&&(i["\u0275\u0275staticViewQuery"](b,!0,i.ElementRef),i["\u0275\u0275staticViewQuery"](_,!0,i.ElementRef),i["\u0275\u0275staticViewQuery"](w,!0,i.ElementRef)),2&e&&(i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(t.contentElementRef=n.first),i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(t.scrollElementRef=n.first),i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(t.paddingElementRef=n.first))},hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("mousedown",(function(e){return t.handleMousedown(e)}))},inputs:{items:"items",position:"position",virtualScroll:"virtualScroll",filterValue:"filterValue",markedItem:"markedItem",appendTo:"appendTo",bufferAmount:"bufferAmount",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[i["\u0275\u0275NgOnChangesFeature"]()],ngContentSelectors:S,decls:9,vars:6,consts:[["class","ng-dropdown-header",4,"ngIf"],[1,"ng-dropdown-panel-items","scroll-host"],["scroll",""],["padding",""],["content",""],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(e,t){1&e&&(i["\u0275\u0275projectionDef"](),i["\u0275\u0275template"](0,E,2,4,"div",0),i["\u0275\u0275elementStart"](1,"div",1,2),i["\u0275\u0275element"](3,"div",null,3),i["\u0275\u0275elementStart"](5,"div",null,4),i["\u0275\u0275projection"](7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](8,O,2,4,"div",5)),2&e&&(i["\u0275\u0275property"]("ngIf",t.headerTemplate),i["\u0275\u0275advance"](3),i["\u0275\u0275classProp"]("total-padding",t.virtualScroll),i["\u0275\u0275advance"](2),i["\u0275\u0275classProp"]("scrollable-content",t.virtualScroll&&t.items.length),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.footerTemplate))},directives:[y.NgIf,y.NgTemplateOutlet],encapsulation:2,changeDetection:0}),e}(),Te=function(){function e(e){this.elementRef=e,this.stateChange$=new m.a,this._disabled=!1}return Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=this._isDisabled(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return(this.elementRef.nativeElement.textContent||"").trim()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){e.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})},e.prototype.ngAfterViewChecked=function(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))},e.prototype.ngOnDestroy=function(){this.stateChange$.complete()},e.prototype._isDisabled=function(e){return null!=e&&""+e!="false"},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ElementRef))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["ng-option"]],inputs:{disabled:"disabled",value:"value"},features:[i["\u0275\u0275NgOnChangesFeature"]()],ngContentSelectors:S,decls:1,vars:0,template:function(e,t){1&e&&(i["\u0275\u0275projectionDef"](),i["\u0275\u0275projection"](0))},encapsulation:2,changeDetection:0}),e}(),De=function(){function e(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}return e.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)},e}(),je=new i.InjectionToken("ng-select-selection-model"),Pe=function(){function e(e,t,n,r,o,a,s){var u=this;this.classes=e,this.autoFocus=t,this._cd=a,this._console=s,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=function(e){return!0},this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new i.EventEmitter,this.focusEvent=new i.EventEmitter,this.changeEvent=new i.EventEmitter,this.openEvent=new i.EventEmitter,this.closeEvent=new i.EventEmitter,this.searchEvent=new i.EventEmitter,this.clearEvent=new i.EventEmitter,this.addEvent=new i.EventEmitter,this.removeEvent=new i.EventEmitter,this.scroll=new i.EventEmitter,this.scrollToEnd=new i.EventEmitter,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=we(),this.escapeHTML=!0,this.useDefaultClass=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new m.a,this._keyPress$=new m.a,this._onChange=function(e){},this._onTouched=function(){},this.clearItem=function(e){var t=u.selectedItems.find((function(t){return t.value===e}));u.unselect(t)},this.trackByOption=function(e,t){return u.trackByFn?u.trackByFn(t.value):t},this._mergeGlobalConfig(n),this.itemsList=new Oe(this,r()),this.element=o.nativeElement}return Object.defineProperty(e.prototype,"items",{get:function(){return this._items},set:function(e){this._itemsAreUsed=!0,this._items=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"compareWith",{get:function(){return this._compareWith},set:function(e){if(!se(e))throw Error("`compareWith` must be a function.");this._compareWith=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"clearSearchOnAdd",{get:function(){return oe(this._clearSearchOnAdd)?this._clearSearchOnAdd:this.closeOnSelect},set:function(e){this._clearSearchOnAdd=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.readonly||this._disabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filtered",{get:function(){return!!this.searchTerm&&this.searchable||this._isComposing},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_editableSearchTerm",{get:function(){return this.editableSearchTerm&&!this.multiple},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedItems",{get:function(){return this.itemsList.selectedItems},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedValues",{get:function(){return this.selectedItems.map((function(e){return e.value}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasValue",{get:function(){return this.selectedItems.length>0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentPanelPosition",{get:function(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._handleKeyPresses(),this._setInputAttributes()},e.prototype.ngOnChanges=function(e){e.multiple&&this.itemsList.clearSelected(),e.items&&this._setItems(e.items.currentValue||[]),e.isOpen&&(this._manualOpen=oe(e.isOpen.currentValue))},e.prototype.ngAfterViewInit=function(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),oe(this.autoFocus)&&this.focus()},e.prototype.ngOnDestroy=function(){this._destroy$.next(),this._destroy$.complete()},e.prototype.handleKeyDown=function(e){if(Se[e.which]){if(!1===this.keyDownFn(e))return;this.handleKeyCode(e)}else e.key&&1===e.key.length&&this._keyPress$.next(e.key.toLocaleLowerCase())},e.prototype.handleKeyCode=function(e){switch(e.which){case Se.ArrowDown:this._handleArrowDown(e);break;case Se.ArrowUp:this._handleArrowUp(e);break;case Se.Space:this._handleSpace(e);break;case Se.Enter:this._handleEnter(e);break;case Se.Tab:this._handleTab(e);break;case Se.Esc:this.close(),e.preventDefault();break;case Se.Backspace:this._handleBackspace()}},e.prototype.handleMousedown=function(e){var t=e.target;"INPUT"!==t.tagName&&e.preventDefault(),t.classList.contains("ng-clear-wrapper")?this.handleClearClick():t.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():t.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())},e.prototype.handleArrowClick=function(){this.isOpen?this.close():this.open()},e.prototype.handleClearClick=function(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()},e.prototype.clearModel=function(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())},e.prototype.writeValue=function(e){this.itemsList.clearSelected(),this._handleWriteValue(e),this._cd.markForCheck()},e.prototype.registerOnChange=function(e){this._onChange=e},e.prototype.registerOnTouched=function(e){this._onTouched=e},e.prototype.setDisabledState=function(e){this._disabled=e,this._cd.markForCheck()},e.prototype.toggle=function(){this.isOpen?this.close():this.open()},e.prototype.open=function(){this.disabled||this.isOpen||this.itemsList.maxItemsSelected||this._manualOpen||(this._isTypeahead||this.addTag||!this.itemsList.noItemsToSelect)&&(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())},e.prototype.close=function(){this.isOpen&&!this._manualOpen&&(this.isOpen=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())},e.prototype.toggleItem=function(e){!e||e.disabled||this.disabled||(this.multiple&&e.selected?this.unselect(e):this.select(e),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())},e.prototype.select=function(e){e.selected||(this.itemsList.select(e),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(e.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()},e.prototype.focus=function(){this.searchInput.nativeElement.focus()},e.prototype.blur=function(){this.searchInput.nativeElement.blur()},e.prototype.unselect=function(e){e&&(this.itemsList.unselect(e),this.focus(),this._updateNgModel(),this.removeEvent.emit(e))},e.prototype.selectTag=function(){var e,t,n=this;t=se(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:((e={})[this.bindLabel]=this.searchTerm,e);var r=function(e){return n._isTypeahead||!n.isOpen?n.itemsList.mapItem(e,null):n.itemsList.addItem(e)};t instanceof Promise?t.then((function(e){return n.select(r(e))})).catch((function(){})):t&&this.select(r(t))},e.prototype.showClear=function(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled},Object.defineProperty(e.prototype,"showAddTag",{get:function(){if(!this._validTerm)return!1;var e=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some((function(t){return t.label.toLowerCase()===e}))&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some((function(t){return t.label.toLowerCase()===e})))&&!this.loading},enumerable:!0,configurable:!0}),e.prototype.showNoItemsFound=function(){var e=0===this.itemsList.filteredItems.length;return(e&&!this._isTypeahead&&!this.loading||e&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag},e.prototype.showTypeToSearch=function(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading},e.prototype.onCompositionStart=function(){this._isComposing=!0},e.prototype.onCompositionEnd=function(e){this._isComposing=!1,this.searchWhileComposing||this.filter(e)},e.prototype.filter=function(e){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=e,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(e),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:e,items:this.itemsList.filteredItems.map((function(e){return e.value}))}),this.open())},e.prototype.onInputFocus=function(e){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(e),this.focused=!0)},e.prototype.onInputBlur=function(e){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(e),this.isOpen||this.disabled||this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1},e.prototype.onItemHover=function(e){e.disabled||this.itemsList.markItem(e)},e.prototype.detectChanges=function(){this._cd.destroyed||this._cd.detectChanges()},e.prototype._setSearchTermFromItems=function(){var e=this.selectedItems&&this.selectedItems[0];this.searchTerm=e&&e.label||null},e.prototype._setItems=function(e){var t=e[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=oe(t)?!ae(t):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(e),e.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&oe(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)},e.prototype._setItemsFromNgOptions=function(){var e=this;this.ngOptions.changes.pipe(Object(u.a)(this.ngOptions),Object(a.a)(this._destroy$)).subscribe((function(t){var n;e.bindLabel=e._defaultLabel,function(t){e.items=t.map((function(e){return{$ngOptionValue:e.value,$ngOptionLabel:e.elementRef.nativeElement.innerHTML,disabled:e.disabled}})),e.itemsList.setItems(e.items),e.hasValue&&e.itemsList.mapSelectedItems(),e.detectChanges()}(t),n=Object(v.a)(e.ngOptions.changes,e._destroy$),v.a.apply(void 0,Object(r.g)(e.ngOptions.map((function(e){return e.stateChange$})))).pipe(Object(a.a)(n)).subscribe((function(t){var n=e.itemsList.findItem(t.value);n.disabled=t.disabled,n.label=t.label||n.label,e._cd.detectChanges()}))}))},e.prototype._isValidWriteValue=function(e){var t=this;if(!oe(e)||this.multiple&&""===e||Array.isArray(e)&&0===e.length)return!1;var n=function(e){return!(!oe(t.compareWith)&&ae(e)&&t.bindValue&&(t._console.warn("Setting object("+JSON.stringify(e)+") as your model with bindValue is not allowed unless [compareWith] is used."),1))};return this.multiple?Array.isArray(e)?e.every((function(e){return n(e)})):(this._console.warn("Multiple select ngModel should be array."),!1):n(e)},e.prototype._handleWriteValue=function(e){var t=this;if(this._isValidWriteValue(e)){var n=function(e){var n,r=t.itemsList.findItem(e);if(r)t.itemsList.select(r);else{var i=ae(e);i||!i&&!t.bindValue?t.itemsList.select(t.itemsList.mapItem(e,null)):t.bindValue&&((n={})[t.bindLabel]=null,n[t.bindValue]=e,t.itemsList.select(t.itemsList.mapItem(r=n,null)))}};this.multiple?e.forEach((function(e){return n(e)})):n(e)}},e.prototype._handleKeyPresses=function(){var e=this;this.searchable||this._keyPress$.pipe(Object(a.a)(this._destroy$),Object(c.a)((function(t){return e._pressedKeys.push(t)})),Object(l.a)(200),Object(f.a)((function(){return e._pressedKeys.length>0})),Object(p.a)((function(){return e._pressedKeys.join("")}))).subscribe((function(t){var n=e.itemsList.findByLabel(t);n&&(e.isOpen?(e.itemsList.markItem(n),e._cd.markForCheck()):e.select(n)),e._pressedKeys=[]}))},e.prototype._setInputAttributes=function(){var e,t,n=this.searchInput.nativeElement,i=Object(r.a)({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId},this.inputAttrs);try{for(var o=Object(r.h)(Object.keys(i)),a=o.next();!a.done;a=o.next()){var s=a.value;n.setAttribute(s,i[s])}}catch(u){e={error:u}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}},e.prototype._updateNgModel=function(){var e,t,n=[];try{for(var i=Object(r.h)(this.selectedItems),o=i.next();!o.done;o=i.next()){var a=o.value;if(this.bindValue){var s;s=a.children?a.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(a.value,this.bindValue),n.push(s)}else n.push(a.value)}}catch(c){e={error:c}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}var u=this.selectedItems.map((function(e){return e.value}));this.multiple?(this._onChange(n),this.changeEvent.emit(u)):(this._onChange(oe(n[0])?n[0]:null),this.changeEvent.emit(u[0])),this._cd.markForCheck()},e.prototype._clearSearch=function(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())},e.prototype._changeSearch=function(e){this.searchTerm=e,this._isTypeahead&&this.typeahead.next(e)},e.prototype._scrollToMarked=function(){this.isOpen&&this.dropdownPanel&&this.dropdownPanel.scrollTo(this.itemsList.markedItem)},e.prototype._scrollToTag=function(){this.isOpen&&this.dropdownPanel&&this.dropdownPanel.scrollToTag()},e.prototype._onSelectionChanged=function(){this.isOpen&&this.multiple&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())},e.prototype._handleTab=function(e){(!1!==this.isOpen||this.addTag)&&(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),e.preventDefault()):this.showAddTag?(this.selectTag(),e.preventDefault()):this.close():this.close())},e.prototype._handleEnter=function(e){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}e.preventDefault()},e.prototype._handleSpace=function(e){this.isOpen||this._manualOpen||(this.open(),e.preventDefault())},e.prototype._handleArrowDown=function(e){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),e.preventDefault()},e.prototype._handleArrowUp=function(e){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),e.preventDefault())},e.prototype._nextItemIsTag=function(e){var t=this.itemsList.markedIndex+e;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(t<0||t===this.itemsList.filteredItems.length)},e.prototype._handleBackspace=function(){!this.searchTerm&&this.clearable&&this.clearOnBackspace&&this.hasValue&&(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())},Object.defineProperty(e.prototype,"_isTypeahead",{get:function(){return this.typeahead&&this.typeahead.observers.length>0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_validTerm",{get:function(){var e=this.searchTerm&&this.searchTerm.trim();return e&&e.length>=this.minTermLength},enumerable:!0,configurable:!0}),e.prototype._mergeGlobalConfig=function(e){this.placeholder=this.placeholder||e.placeholder,this.notFoundText=this.notFoundText||e.notFoundText,this.typeToSearchText=this.typeToSearchText||e.typeToSearchText,this.addTagText=this.addTagText||e.addTagText,this.loadingText=this.loadingText||e.loadingText,this.clearAllText=this.clearAllText||e.clearAllText,this.virtualScroll=oe(this.virtualScroll)?this.virtualScroll:!!oe(e.disableVirtualScroll)&&!e.disableVirtualScroll,this.openOnEnter=oe(this.openOnEnter)?this.openOnEnter:e.openOnEnter,this.appendTo=this.appendTo||e.appendTo,this.bindValue=this.bindValue||e.bindValue,this.appearance=this.appearance||e.appearance},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275injectAttribute"]("class"),i["\u0275\u0275injectAttribute"]("autofocus"),i["\u0275\u0275directiveInject"](De),i["\u0275\u0275directiveInject"](je),i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef),i["\u0275\u0275directiveInject"](_e))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["ng-select"]],contentQueries:function(e,t,n){var r;1&e&&(i["\u0275\u0275contentQuery"](n,ce,!0,i.TemplateRef),i["\u0275\u0275contentQuery"](n,le,!0,i.TemplateRef),i["\u0275\u0275contentQuery"](n,fe,!0,i.TemplateRef),i["\u0275\u0275contentQuery"](n,pe,!0,i.TemplateRef),i["\u0275\u0275contentQuery"](n,de,!0,i.TemplateRef),i["\u0275\u0275contentQuery"](n,he,!0,i.TemplateRef),i["\u0275\u0275contentQuery"](n,me,!0,i.TemplateRef),i["\u0275\u0275contentQuery"](n,ge,!0,i.TemplateRef),i["\u0275\u0275contentQuery"](n,ve,!0,i.TemplateRef),i["\u0275\u0275contentQuery"](n,ye,!0,i.TemplateRef),i["\u0275\u0275contentQuery"](n,be,!0,i.TemplateRef),i["\u0275\u0275contentQuery"](n,Te,!0)),2&e&&(i["\u0275\u0275queryRefresh"](r=i["\u0275\u0275loadQuery"]())&&(t.optionTemplate=r.first),i["\u0275\u0275queryRefresh"](r=i["\u0275\u0275loadQuery"]())&&(t.optgroupTemplate=r.first),i["\u0275\u0275queryRefresh"](r=i["\u0275\u0275loadQuery"]())&&(t.labelTemplate=r.first),i["\u0275\u0275queryRefresh"](r=i["\u0275\u0275loadQuery"]())&&(t.multiLabelTemplate=r.first),i["\u0275\u0275queryRefresh"](r=i["\u0275\u0275loadQuery"]())&&(t.headerTemplate=r.first),i["\u0275\u0275queryRefresh"](r=i["\u0275\u0275loadQuery"]())&&(t.footerTemplate=r.first),i["\u0275\u0275queryRefresh"](r=i["\u0275\u0275loadQuery"]())&&(t.notFoundTemplate=r.first),i["\u0275\u0275queryRefresh"](r=i["\u0275\u0275loadQuery"]())&&(t.typeToSearchTemplate=r.first),i["\u0275\u0275queryRefresh"](r=i["\u0275\u0275loadQuery"]())&&(t.loadingTextTemplate=r.first),i["\u0275\u0275queryRefresh"](r=i["\u0275\u0275loadQuery"]())&&(t.tagTemplate=r.first),i["\u0275\u0275queryRefresh"](r=i["\u0275\u0275loadQuery"]())&&(t.loadingSpinnerTemplate=r.first),i["\u0275\u0275queryRefresh"](r=i["\u0275\u0275loadQuery"]())&&(t.ngOptions=r))},viewQuery:function(e,t){var n;1&e&&(i["\u0275\u0275viewQuery"](Ie,!0),i["\u0275\u0275staticViewQuery"](x,!0)),2&e&&(i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(t.dropdownPanel=n.first),i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(t.searchInput=n.first))},hostAttrs:["role","listbox"],hostVars:20,hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("keydown",(function(e){return t.handleKeyDown(e)})),2&e&&i["\u0275\u0275classProp"]("ng-select",t.useDefaultClass)("ng-select-single",!t.multiple)("ng-select-multiple",t.multiple)("ng-select-taggable",t.addTag)("ng-select-searchable",t.searchable)("ng-select-clearable",t.clearable)("ng-select-opened",t.isOpen)("ng-select-disabled",t.disabled)("ng-select-filtered",t.filtered)("ng-select-typeahead",t.typeahead)},inputs:{markFirst:"markFirst",dropdownPosition:"dropdownPosition",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",bufferAmount:"bufferAmount",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",bindLabel:"bindLabel",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",virtualScroll:"virtualScroll",openOnEnter:"openOnEnter",appendTo:"appendTo",bindValue:"bindValue",appearance:"appearance",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",tabIndex:"tabIndex",typeahead:"typeahead"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[i["\u0275\u0275ProvidersFeature"]([{provide:o.NG_VALUE_ACCESSOR,useExisting:Object(i.forwardRef)((function(){return e})),multi:!0},xe]),i["\u0275\u0275NgOnChangesFeature"]()],decls:14,vars:18,consts:[[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],[1,"ng-input"],["role","combobox",3,"readOnly","disabled","value","input","compositionstart","compositionend","focus","blur","change"],["searchInput",""],["class","ng-clear-wrapper",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],["defaultLabelTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],["defaultLoadingSpinnerTemplate",""],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],[1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],[1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id","update","scroll","scrollToEnd","outsideClick"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],["defaultOptionTemplate",""],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],["defaultTagTemplate",""],[1,"ng-tag-label"],["defaultNotFoundTemplate",""],[1,"ng-option","ng-option-disabled"],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""]],template:function(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275listener"]("mousedown",(function(e){return t.handleMousedown(e)})),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](4,j,2,2,"ng-container",3),i["\u0275\u0275template"](5,R,1,5,void 0,3),i["\u0275\u0275elementStart"](6,"div",4),i["\u0275\u0275elementStart"](7,"input",5,6),i["\u0275\u0275listener"]("input",(function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275reference"](8);return t.filter(e.value)}))("compositionstart",(function(){return t.onCompositionStart()}))("compositionend",(function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275reference"](8);return t.onCompositionEnd(e.value)}))("focus",(function(e){return t.onInputFocus(e)}))("blur",(function(e){return t.onInputBlur(e)}))("change",(function(e){return e.stopPropagation()})),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](9,F,4,1,"ng-container",3),i["\u0275\u0275template"](10,L,3,1,"span",7),i["\u0275\u0275elementStart"](11,"span",8),i["\u0275\u0275element"](12,"span",9),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](13,te,7,19,"ng-dropdown-panel",10)}2&e&&(i["\u0275\u0275classProp"]("ng-appearance-outline","outline"===t.appearance)("ng-has-value",t.hasValue),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](t.placeholder),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.multiLabelTemplate&&t.selectedItems.length>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.multiLabelTemplate&&t.selectedValues.length>0),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("readOnly",!t.searchable||t.itemsList.maxItemsSelected)("disabled",t.disabled)("value",t.searchTerm?t.searchTerm:""),i["\u0275\u0275attribute"]("id",t.labelForId)("tabindex",t.tabIndex)("aria-expanded",t.isOpen)("aria-owns",t.isOpen?t.dropdownId:null)("aria-activedescendant",t.isOpen?null==t.itemsList?null:null==t.itemsList.markedItem?null:t.itemsList.markedItem.htmlId:null),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.loading),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showClear()),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.isOpen))},directives:[y.NgIf,y.NgForOf,y.NgTemplateOutlet,ue,Ie,y.NgClass],styles:[".ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:0;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none;border:0;box-shadow:none;outline:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute;z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);-webkit-animation:.8s linear infinite load8;animation:.8s linear infinite load8}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@-webkit-keyframes load8{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes load8{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}"],encapsulation:2,changeDetection:0}),e}();function Ae(){return new Re}var Re=function(){function e(){this._selected=[]}return Object.defineProperty(e.prototype,"value",{get:function(){return this._selected},enumerable:!0,configurable:!0}),e.prototype.select=function(e,t,n){if(e.selected=!0,(!e.children||!t&&n)&&this._selected.push(e),t)if(e.parent){var i=e.parent.children.length,o=e.parent.children.filter((function(e){return e.selected})).length;e.parent.selected=i===o}else e.children&&(this._setChildrenSelectedState(e.children,!0),this._removeChildren(e),this._selected=n&&this._activeChildren(e)?Object(r.g)(this._selected.filter((function(t){return t.parent!==e})),[e]):Object(r.g)(this._selected,e.children.filter((function(e){return!e.disabled}))))},e.prototype.unselect=function(e,t){var n;if(this._selected=this._selected.filter((function(t){return t!==e})),e.selected=!1,t)if(e.parent&&e.parent.selected){var i=e.parent.children;this._removeParent(e.parent),this._removeChildren(e.parent),(n=this._selected).push.apply(n,Object(r.g)(i.filter((function(t){return t!==e&&!t.disabled})))),e.parent.selected=!1}else e.children&&(this._setChildrenSelectedState(e.children,!1),this._removeChildren(e))},e.prototype.clear=function(e){this._selected=e?this._selected.filter((function(e){return e.disabled})):[]},e.prototype._setChildrenSelectedState=function(e,t){var n,i;try{for(var o=Object(r.h)(e),a=o.next();!a.done;a=o.next()){var s=a.value;s.disabled||(s.selected=t)}}catch(u){n={error:u}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}},e.prototype._removeChildren=function(e){this._selected=Object(r.g)(this._selected.filter((function(t){return t.parent!==e})),e.children.filter((function(t){return t.parent===e&&t.disabled&&t.selected})))},e.prototype._removeParent=function(e){this._selected=this._selected.filter((function(t){return t!==e}))},e.prototype._activeChildren=function(e){return e.children.every((function(e){return!e.disabled||e.selected}))},e}(),Ne=Ae,Me=function(){function e(){}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[{provide:je,useValue:Ne}],imports:[[y.CommonModule]]}),e}()},"1fDf":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("FFOo");function i(e){for(;e;){var t=e.destination;if(e.closed||e.isStopped)return!1;e=t&&t instanceof r.a?t:null}return!0}},"26FU":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("mrSG"),i=n("K9Ia"),o=n("8g8A"),a=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return r.c(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n&&!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new o.a;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(i.a)},"2Bdj":function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,"a",(function(){return r}))},"2WDa":function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return g})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return d})),n.d(t,"g",(function(){return f})),n.d(t,"h",(function(){return h})),n.d(t,"i",(function(){return u})),n.d(t,"j",(function(){return l})),n.d(t,"k",(function(){return c})),n.d(t,"l",(function(){return p})),n.d(t,"m",(function(){return a})),n.d(t,"n",(function(){return v})),n.d(t,"o",(function(){return y}));var r=function(){return function(){}}(),i=function(){return function(){}}(),o="*";function a(e,t){return{type:7,name:e,definitions:t,options:{}}}function s(e,t){return void 0===t&&(t=null),{type:4,styles:t,timings:e}}function u(e,t){return void 0===t&&(t=null),{type:2,steps:e,options:t}}function c(e){return{type:6,styles:e,offset:null}}function l(e,t,n){return{type:0,name:e,styles:t,options:n}}function f(e){return{type:5,steps:e}}function p(e,t,n){return void 0===n&&(n=null),{type:1,expr:e,animation:t,options:n}}function d(e){return void 0===e&&(e=null),{type:9,options:e}}function h(e,t,n){return void 0===n&&(n=null),{type:11,selector:e,animation:t,options:n}}function m(e){Promise.resolve(null).then(e)}var g=function(){function e(e,t){void 0===e&&(e=0),void 0===t&&(t=0),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+t}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.hasStarted=function(){return this._started},e.prototype.init=function(){},e.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},e.prototype.triggerMicrotask=function(){var e=this;m((function(){return e._onFinish()}))},e.prototype._onStart=function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]},e.prototype.pause=function(){},e.prototype.restart=function(){},e.prototype.finish=function(){this._onFinish()},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])},e.prototype.reset=function(){},e.prototype.setPosition=function(e){},e.prototype.getPosition=function(){return 0},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0},e}(),v=function(){function e(e){var t=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;var n=0,r=0,i=0,o=this.players.length;0==o?m((function(){return t._onFinish()})):this.players.forEach((function(e){e.onDone((function(){++n==o&&t._onFinish()})),e.onDestroy((function(){++r==o&&t._onDestroy()})),e.onStart((function(){++i==o&&t._onStart()}))})),this.totalTime=this.players.reduce((function(e,t){return Math.max(e,t.totalTime)}),0)}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])},e.prototype.init=function(){this.players.forEach((function(e){return e.init()}))},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[])},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.hasStarted=function(){return this._started},e.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((function(e){return e.play()}))},e.prototype.pause=function(){this.players.forEach((function(e){return e.pause()}))},e.prototype.restart=function(){this.players.forEach((function(e){return e.restart()}))},e.prototype.finish=function(){this._onFinish(),this.players.forEach((function(e){return e.finish()}))},e.prototype.destroy=function(){this._onDestroy()},e.prototype._onDestroy=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=[])},e.prototype.reset=function(){this.players.forEach((function(e){return e.reset()})),this._destroyed=!1,this._finished=!1,this._started=!1},e.prototype.setPosition=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)}))},e.prototype.getPosition=function(){var e=0;return this.players.forEach((function(t){var n=t.getPosition();e=Math.min(n,e)})),e},e.prototype.beforeDestroy=function(){this.players.forEach((function(e){e.beforeDestroy&&e.beforeDestroy()}))},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0},e}(),y="!"},"2ePl":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},"3/ER":function(e,t,n){"use strict";(function(e){var r=n("Ju5/"),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.a.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.a=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}}).call(this,n("3UD+")(e))},"349r":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"e",(function(){return o}));var r=n("TYT/");function i(e){return null!=e&&""+e!="false"}function o(e,t){return void 0===t&&(t=0),function(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):t}function a(e){return Array.isArray(e)?e:[e]}function s(e){return null==e?"":"string"==typeof e?e:e+"px"}function u(e){return e instanceof r.ElementRef?e.nativeElement:e}},"3UD+":function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},"3fWJ":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=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}()},"42u/":function(e,t,n){"use strict";n.r(t),n.d(t,"OrgChartComponent",(function(){return c})),n.d(t,"OrgChartModule",(function(){return f})),n.d(t,"\u0275a",(function(){return l}));var r=n("Valr"),i=n("TYT/");function o(e,t){if(1&e&&i["\u0275\u0275element"](0,"oc-employee",3),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("employee",n.topEmployee)("hasManager",n.hasManager)}}function a(e,t){if(1&e&&(i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275elementStart"](1,"div",4),i["\u0275\u0275elementStart"](2,"div",5),i["\u0275\u0275element"](3,"div",6),i["\u0275\u0275element"](4,"div",7),i["\u0275\u0275element"](5,"div",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](6,"ng-org-chart",8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementContainerEnd"]()),2&e){var n=t.$implicit,r=t.first,o=t.last;i["\u0275\u0275advance"](3),i["\u0275\u0275styleProp"]("border-color",r?"transparent":""),i["\u0275\u0275advance"](2),i["\u0275\u0275styleProp"]("border-color",o?"transparent":""),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("topEmployee",n)("hasManager",!0)}}function s(e,t){1&e&&i["\u0275\u0275element"](0,"div",4)}function u(e,t){1&e&&i["\u0275\u0275element"](0,"div",4)}var c=function(){function e(){this.hasManager=!1}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["ng-org-chart"]],inputs:{hasManager:"hasManager",topEmployee:"topEmployee"},decls:3,vars:2,consts:[[3,"employee","hasManager",4,"ngIf"],[1,"oc-reports"],[4,"ngFor","ngForOf"],[3,"employee","hasManager"],[1,"oc-org-container"],[1,"oc-h-bar-container"],[1,"oc-h-bar","oc-border"],[1,"oc-border"],[3,"topEmployee","hasManager"]],template:function(e,t){1&e&&(i["\u0275\u0275template"](0,o,1,2,"oc-employee",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275template"](2,a,7,6,"ng-container",2),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngIf",t.topEmployee),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",null==t.topEmployee?null:t.topEmployee.subordinates))},directives:function(){return[r.NgIf,r.NgForOf,l,e]},styles:["[_nghost-%COMP%] { display: flex; flex-direction: column; align-items: center; } .oc-reports[_ngcontent-%COMP%] { display: flex; flex: 1; } .oc-org-container[_ngcontent-%COMP%] { display: flex; flex-direction: column; } .oc-h-bar-container[_ngcontent-%COMP%] { display: flex; } .oc-h-bar[_ngcontent-%COMP%] { flex: 1; }"]}),e}(),l=function(){function e(){this.hasManager=!1}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["oc-employee"]],inputs:{hasManager:"hasManager",employee:"employee"},decls:7,vars:4,consts:[["class","oc-h-bar oc-border",4,"ngIf"],[1,"oc-box","oc-border","oc-background"],[1,"oc-name"],[1,"oc-designation"],[1,"oc-h-bar","oc-border"]],template:function(e,t){1&e&&(i["\u0275\u0275template"](0,s,1,0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",3),i["\u0275\u0275text"](5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](6,u,1,0,"div",0)),2&e&&(i["\u0275\u0275property"]("ngIf",t.hasManager),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](null==t.employee?null:t.employee.name),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](null==t.employee?null:t.employee.designation),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",null==t.employee?null:t.employee.subordinates.length))},directives:[r.NgIf],styles:["[_nghost-%COMP%] { margin: 0 1em; display: flex; flex-direction: column; align-items: center; } .oc-box[_ngcontent-%COMP%] { padding: 0.25em 1em; display: flex; flex-direction: column; align-items: center; } .oc-h-bar[_ngcontent-%COMP%] { height: 0.5em; }"]}),e}(),f=function(){function e(){}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[r.CommonModule]]}),e}()},"60iU":function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s}));var r=n("G5J1"),i=n("F/XL"),o=n("XlPw"),a=function(e){return e.NEXT="N",e.ERROR="E",e.COMPLETE="C",e}({}),s=function(){function e(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}return e.prototype.observe=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()}},e.prototype.do=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()}},e.prototype.accept=function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)},e.prototype.toObservable=function(){switch(this.kind){case"N":return Object(i.a)(this.value);case"E":return Object(o.a)(this.error);case"C":return Object(r.b)()}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}()},"67Y/":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("mrSG"),i=n("FFOo");function o(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 a(e,t))}}var a=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.project,this.thisArg))},e}(),s=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.project=n,i.count=0,i.thisArg=r||i,i}return r.c(t,e),t.prototype._next=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)},t}(i.a)},"6ahw":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("iLxQ"),i=n("DKTb"),o={closed:!0,next:function(e){},error:function(e){if(r.a.useDeprecatedSynchronousErrorHandling)throw e;Object(i.a)(e)},complete:function(){}}},"6blF":function(e,t,n){"use strict";var r=n("1fDf"),i=n("FFOo"),o=n("L/V9"),a=n("6ahw"),s=n("xTla"),u=n("y3By"),c=n("iLxQ");n.d(t,"a",(function(){return l}));var l=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r=this.operator,s=function(e,t,n){if(e){if(e instanceof i.a)return e;if(e[o.a])return e[o.a]()}return e||t||n?new i.a(e,t,n):new i.a(a.a)}(e,t,n);if(s.add(r?r.call(s,this.source):this.source||c.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),c.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){c.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),Object(r.a)(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=f(t))((function(t,r){var i;i=n.subscribe((function(t){try{e(t)}catch(n){r(n),i&&i.unsubscribe()}}),r,t)}))},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[s.a]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t-1&&n!==t._activeItemIndex&&(t._activeItemIndex=n)}}))}return e.prototype.skipPredicate=function(e){return this._skipPredicateFn=e,this},e.prototype.withWrap=function(e){return void 0===e&&(e=!0),this._wrap=e,this},e.prototype.withVerticalOrientation=function(e){return void 0===e&&(e=!0),this._vertical=e,this},e.prototype.withHorizontalOrientation=function(e){return this._horizontal=e,this},e.prototype.withAllowedModifierKeys=function(e){return this._allowedModifierKeys=e,this},e.prototype.withTypeAhead=function(e){var t=this;if(void 0===e&&(e=200),this._items.length&&this._items.some((function(e){return"function"!=typeof e.getLabel})))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(l.a)((function(e){return t._pressedLetters.push(e)})),Object(f.a)(e),Object(p.a)((function(){return t._pressedLetters.length>0})),Object(d.a)((function(){return t._pressedLetters.join("")}))).subscribe((function(e){for(var n=t._getItemsArray(),r=1;r-1}));switch(n){case c.TAB:return void this.tabOut.next();case c.DOWN_ARROW:if(this._vertical&&r){this.setNextItemActive();break}return;case c.UP_ARROW:if(this._vertical&&r){this.setPreviousItemActive();break}return;case c.RIGHT_ARROW:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case c.LEFT_ARROW:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((r||Object(c.hasModifierKey)(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=c.A&&n<=c.Z||n>=c.ZERO&&n<=c.NINE)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],e.preventDefault()},Object.defineProperty(e.prototype,"activeItemIndex",{get:function(){return this._activeItemIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeItem",{get:function(){return this._activeItem},enumerable:!0,configurable:!0}),e.prototype.isTyping=function(){return this._pressedLetters.length>0},e.prototype.setFirstItemActive=function(){this._setActiveItemByIndex(0,1)},e.prototype.setLastItemActive=function(){this._setActiveItemByIndex(this._items.length-1,-1)},e.prototype.setNextItemActive=function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)},e.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)},e.prototype.updateActiveItem=function(e){var t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),r=t[n];this._activeItem=null==r?null:r,this._activeItemIndex=n},e.prototype._setActiveItemByDelta=function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)},e.prototype._setActiveInWrapMode=function(e){for(var t=this._getItemsArray(),n=1;n<=t.length;n++){var r=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[r]))return void this.setActiveItem(r)}},e.prototype._setActiveInDefaultMode=function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)},e.prototype._setActiveItemByIndex=function(e,t){var n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}},e.prototype._getItemsArray=function(){return this._items instanceof i.QueryList?this._items.toArray():this._items},e}(),E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.c)(t,e),t.prototype.setActiveItem=function(t){this.activeItem&&this.activeItem.setInactiveStyles(),e.prototype.setActiveItem.call(this,t),this.activeItem&&this.activeItem.setActiveStyles()},t}(C),O=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._origin="program",t}return Object(o.c)(t,e),t.prototype.setFocusOrigin=function(e){return this._origin=e,this},t.prototype.setActiveItem=function(t){e.prototype.setActiveItem.call(this,t),this.activeItem&&this.activeItem.focus(this._origin)},t}(C);"undefined"!=typeof Element&∈var S=new i.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),x=new i.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),k=function(){function e(e,t,n,r){this._ngZone=t,this._defaultOptions=r,this._document=n,this._liveElement=e||this._createLiveElement()}return e.prototype.announce=function(e){for(var t,n=this,r=[],i=1;i0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i=2;return function(r){return r.pipe(e?Object(v.a)((function(t,n){return e(t,n,r)})):D.a,_(1),n?k(t):E((function(){return new l.a})))}}var P=n("MGBS"),A=n("rPjj"),R=n("zotm");function N(e){return function(t){var n=new M(e),r=t.lift(n);return n.caught=r}}var M=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new F(e,this.selector,this.caught))},e}(),F=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.selector=n,i.caught=r,i}return r.c(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(o){return void e.prototype.error.call(this,o)}this._unsubscribeAndRecycle();var r=new A.a(this,void 0,void 0);this.add(r);var i=Object(R.a)(this,n,void 0,void 0,r);i!==r&&this.add(i)}},t}(P.a),L=n("t9fZ");function V(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?Object(v.a)((function(t,n){return e(t,n,r)})):D.a,Object(L.a)(1),n?k(t):E((function(){return new l.a})))}}var B=n("psW0"),H=function(){function e(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}return e.prototype.call=function(e,t){return t.subscribe(new U(e,this.predicate,this.thisArg,this.source))},e}(),U=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o.predicate=n,o.thisArg=r,o.source=i,o.index=0,o.thisArg=r||o,o}return r.c(t,e),t.prototype.notifyComplete=function(e){this.destination.next(e),this.destination.complete()},t.prototype._next=function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(y.a),z=n("15JJ"),W=n("p0Sj");function q(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new G(e,t,n))}}var G=function(){function e(e,t,n){void 0===n&&(n=!1),this.accumulator=e,this.seed=t,this.hasSeed=n}return e.prototype.call=function(e,t){return t.subscribe(new Y(e,this.accumulator,this.seed,this.hasSeed))},e}(),Y=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o.accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return r.c(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(r){this.destination.error(r)}this.seed=t,this.destination.next(t)},t}(y.a),Q=n("Phjn"),K=n("y3By"),$=n("xMyE"),Z=n("pugT"),X=function(){function e(e){this.callback=e}return e.prototype.call=function(e,t){return t.subscribe(new J(e,this.callback))},e}(),J=function(e){function t(t,n){var r=e.call(this,t)||this;return r.add(new Z.a(n)),r}return r.c(t,e),t}(y.a),ee=n("Zn8D");n.d(t,"ActivatedRoute",(function(){return ct})),n.d(t,"ActivatedRouteSnapshot",(function(){return ft})),n.d(t,"ActivationEnd",(function(){return ge})),n.d(t,"ActivationStart",(function(){return me})),n.d(t,"ChildActivationEnd",(function(){return he})),n.d(t,"ChildActivationStart",(function(){return de})),n.d(t,"ChildrenOutletContexts",(function(){return xn})),n.d(t,"DefaultUrlSerializer",(function(){return Ue})),n.d(t,"GuardsCheckEnd",(function(){return ue})),n.d(t,"GuardsCheckStart",(function(){return se})),n.d(t,"NavigationCancel",(function(){return ie})),n.d(t,"NavigationEnd",(function(){return re})),n.d(t,"NavigationError",(function(){return oe})),n.d(t,"NavigationStart",(function(){return ne})),n.d(t,"NoPreloading",(function(){return jn})),n.d(t,"OutletContext",(function(){return Sn})),n.d(t,"PRIMARY_OUTLET",(function(){return be})),n.d(t,"PreloadAllModules",(function(){return Dn})),n.d(t,"PreloadingStrategy",(function(){return Tn})),n.d(t,"ROUTER_CONFIGURATION",(function(){return Rn})),n.d(t,"ROUTER_INITIALIZER",(function(){return Qn})),n.d(t,"ROUTES",(function(){return dn})),n.d(t,"ResolveEnd",(function(){return le})),n.d(t,"ResolveStart",(function(){return ce})),n.d(t,"RouteConfigLoadEnd",(function(){return pe})),n.d(t,"RouteConfigLoadStart",(function(){return fe})),n.d(t,"RouteReuseStrategy",(function(){return fn})),n.d(t,"Router",(function(){return _n})),n.d(t,"RouterEvent",(function(){return te})),n.d(t,"RouterLink",(function(){return wn})),n.d(t,"RouterLinkActive",(function(){return On})),n.d(t,"RouterLinkWithHref",(function(){return Cn})),n.d(t,"RouterModule",(function(){return Ln})),n.d(t,"RouterOutlet",(function(){return kn})),n.d(t,"RouterPreloader",(function(){return Pn})),n.d(t,"RouterState",(function(){return st})),n.d(t,"RouterStateSnapshot",(function(){return pt})),n.d(t,"RoutesRecognized",(function(){return ae})),n.d(t,"Scroll",(function(){return ve})),n.d(t,"UrlHandlingStrategy",(function(){return mn})),n.d(t,"UrlSegment",(function(){return Le})),n.d(t,"UrlSegmentGroup",(function(){return Fe})),n.d(t,"UrlSerializer",(function(){return He})),n.d(t,"UrlTree",(function(){return Me})),n.d(t,"VERSION",(function(){return $n})),n.d(t,"convertToParamMap",(function(){return we})),n.d(t,"provideRoutes",(function(){return Un})),n.d(t,"\u0275EmptyOutletComponent",(function(){return ye})),n.d(t,"\u0275ROUTER_PROVIDERS",(function(){return Mn})),n.d(t,"\u0275angular_packages_router_router_a",(function(){return Nn})),n.d(t,"\u0275angular_packages_router_router_b",(function(){return Fn})),n.d(t,"\u0275angular_packages_router_router_c",(function(){return Vn})),n.d(t,"\u0275angular_packages_router_router_d",(function(){return Bn})),n.d(t,"\u0275angular_packages_router_router_e",(function(){return Hn})),n.d(t,"\u0275angular_packages_router_router_f",(function(){return zn})),n.d(t,"\u0275angular_packages_router_router_g",(function(){return Wn})),n.d(t,"\u0275angular_packages_router_router_h",(function(){return qn})),n.d(t,"\u0275angular_packages_router_router_i",(function(){return Gn})),n.d(t,"\u0275angular_packages_router_router_j",(function(){return Yn})),n.d(t,"\u0275angular_packages_router_router_k",(function(){return Kn})),n.d(t,"\u0275angular_packages_router_router_l",(function(){return ye})),n.d(t,"\u0275angular_packages_router_router_m",(function(){return nt})),n.d(t,"\u0275angular_packages_router_router_n",(function(){return ot})),n.d(t,"\u0275angular_packages_router_router_o",(function(){return An})),n.d(t,"\u0275flatten",(function(){return je}));var te=function(){return function(e,t){this.id=e,this.url=t}}(),ne=function(e){function t(t,n,r,i){void 0===r&&(r="imperative"),void 0===i&&(i=null);var o=e.call(this,t,n)||this;return o.navigationTrigger=r,o.restoredState=i,o}return Object(r.c)(t,e),t.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},t}(te),re=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i}return Object(r.c)(t,e),t.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},t}(te),ie=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.reason=r,i}return Object(r.c)(t,e),t.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},t}(te),oe=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.error=r,i}return Object(r.c)(t,e),t.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},t}(te),ae=function(e){function t(t,n,r,i){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return Object(r.c)(t,e),t.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(te),se=function(e){function t(t,n,r,i){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return Object(r.c)(t,e),t.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(te),ue=function(e){function t(t,n,r,i,o){var a=e.call(this,t,n)||this;return a.urlAfterRedirects=r,a.state=i,a.shouldActivate=o,a}return Object(r.c)(t,e),t.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},t}(te),ce=function(e){function t(t,n,r,i){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return Object(r.c)(t,e),t.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(te),le=function(e){function t(t,n,r,i){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return Object(r.c)(t,e),t.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(te),fe=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},e}(),pe=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},e}(),de=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),he=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),me=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),ge=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),ve=function(){function e(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}return e.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},e}(),ye=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o["\u0275\u0275defineComponent"]({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&o["\u0275\u0275element"](0,"router-outlet")},directives:function(){return[kn]},encapsulation:2}),e}(),be="primary",_e=function(){function e(e){this.params=e||{}}return e.prototype.has=function(e){return this.params.hasOwnProperty(e)},e.prototype.get=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null},e.prototype.getAll=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]},Object.defineProperty(e.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),e}();function we(e){return new _e(e)}function Ce(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function Ee(e,t,n){var r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length-1})):e===t}function je(e){return Array.prototype.concat.apply([],e)}function Pe(e){return e.length>0?e[e.length-1]:null}function Ae(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Re(e){return Object(o["\u0275isObservable"])(e)?e:Object(o["\u0275isPromise"])(e)?Object(s.a)(Promise.resolve(e)):Object(a.a)(e)}function Ne(e,t,n){return n?function(e,t){return Te(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!Ve(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every((function(n){return De(e[n],t[n])}))}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,i){if(n.segments.length>i.length)return!!Ve(a=n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!Ve(n.segments,i))return!1;for(var o in r.children){if(!n.children[o])return!1;if(!e(n.children[o],r.children[o]))return!1}return!0}var a=i.slice(0,n.segments.length),s=i.slice(n.segments.length);return!!Ve(n.segments,a)&&!!n.children[be]&&t(n.children[be],r,s)}(t,n,n.segments)}(e.root,t.root)}var Me=function(){function e(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}return Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=we(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return ze.serialize(this)},e}(),Fe=function(){function e(e,t){var n=this;this.segments=e,this.children=t,this.parent=null,Ae(t,(function(e,t){return e.parent=n}))}return e.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(e.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return We(this)},e}(),Le=function(){function e(e,t){this.path=e,this.parameters=t}return Object.defineProperty(e.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=we(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return $e(this)},e}();function Ve(e,t){return e.length===t.length&&e.every((function(e,n){return e.path===t[n].path}))}function Be(e,t){var n=[];return Ae(e.children,(function(e,r){r===be&&(n=n.concat(t(e,r)))})),Ae(e.children,(function(e,r){r!==be&&(n=n.concat(t(e,r)))})),n}var He=function(){return function(){}}(),Ue=function(){function e(){}return e.prototype.parse=function(e){var t=new tt(e);return new Me(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())},e.prototype.serialize=function(e){var t,n;return"/"+function e(t,n){if(!t.hasChildren())return We(t);if(n){var r=t.children[be]?e(t.children[be],!1):"",i=[];return Ae(t.children,(function(t,n){n!==be&&i.push(n+":"+e(t,!1))})),i.length>0?r+"("+i.join("//")+")":r}var o=Be(t,(function(n,r){return r===be?[e(t.children[be],!1)]:[r+":"+e(n,!1)]}));return We(t)+"/("+o.join("//")+")"}(e.root,!0)+(t=e.queryParams,(n=Object.keys(t).map((function(e){var n=t[e];return Array.isArray(n)?n.map((function(t){return Ge(e)+"="+Ge(t)})).join("&"):Ge(e)+"="+Ge(n)}))).length?"?"+n.join("&"):"")+("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"")},e}(),ze=new Ue;function We(e){return e.segments.map((function(e){return $e(e)})).join("/")}function qe(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ge(e){return qe(e).replace(/%3B/gi,";")}function Ye(e){return qe(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qe(e){return decodeURIComponent(e)}function Ke(e){return Qe(e.replace(/\+/g,"%20"))}function $e(e){return""+Ye(e.path)+(t=e.parameters,Object.keys(t).map((function(e){return";"+Ye(e)+"="+Ye(t[e])})).join(""));var t}var Ze=/^[^\/()?;=#]+/;function Xe(e){var t=e.match(Ze);return t?t[0]:""}var Je=/^[^=?&#]+/,et=/^[^?&#]+/,tt=function(){function e(e){this.url=e,this.remaining=e}return e.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Fe([],{}):new Fe([],this.parseChildren())},e.prototype.parseQueryParams=function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e},e.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},e.prototype.parseChildren=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[be]=new Fe(e,t)),n},e.prototype.parseSegment=function(){var e=Xe(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(e),new Le(Qe(e),this.parseMatrixParams())},e.prototype.parseMatrixParams=function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e},e.prototype.parseParam=function(e){var t=Xe(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=Xe(this.remaining);r&&this.capture(n=r)}e[Qe(t)]=Qe(n)}},e.prototype.parseQueryParam=function(e){var t=function(e){var t=e.match(Je);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=function(e){var t=e.match(et);return t?t[0]:""}(this.remaining);r&&this.capture(n=r)}var i=Ke(t),o=Ke(n);if(e.hasOwnProperty(i)){var a=e[i];Array.isArray(a)||(e[i]=a=[a]),a.push(o)}else e[i]=o}},e.prototype.parseParens=function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Xe(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=be);var o=this.parseChildren();t[i]=1===Object.keys(o).length?o[be]:new Fe([],o),this.consumeOptional("//")}return t},e.prototype.peekStartsWith=function(e){return this.remaining.startsWith(e)},e.prototype.consumeOptional=function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)},e.prototype.capture=function(e){if(!this.consumeOptional(e))throw new Error('Expected "'+e+'".')},e}(),nt=function(){function e(e){this._root=e}return Object.defineProperty(e.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),e.prototype.parent=function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null},e.prototype.children=function(e){var t=rt(e,this._root);return t?t.children.map((function(e){return e.value})):[]},e.prototype.firstChild=function(e){var t=rt(e,this._root);return t&&t.children.length>0?t.children[0].value:null},e.prototype.siblings=function(e){var t=it(e,this._root);return t.length<2?[]:t[t.length-2].children.map((function(e){return e.value})).filter((function(t){return t!==e}))},e.prototype.pathFromRoot=function(e){return it(e,this._root).map((function(e){return e.value}))},e}();function rt(e,t){var n,i;if(e===t.value)return t;try{for(var o=Object(r.h)(t.children),a=o.next();!a.done;a=o.next()){var s=rt(e,a.value);if(s)return s}}catch(u){n={error:u}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return null}function it(e,t){var n,i;if(e===t.value)return[t];try{for(var o=Object(r.h)(t.children),a=o.next();!a.done;a=o.next()){var s=it(e,a.value);if(s.length)return s.unshift(t),s}}catch(u){n={error:u}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return[]}var ot=function(){function e(e,t){this.value=e,this.children=t}return e.prototype.toString=function(){return"TreeNode("+this.value+")"},e}();function at(e){var t={};return e&&e.children.forEach((function(e){return t[e.value.outlet]=e})),t}var st=function(e){function t(t,n){var r=e.call(this,t)||this;return r.snapshot=n,dt(r,t),r}return Object(r.c)(t,e),t.prototype.toString=function(){return this.snapshot.toString()},t}(nt);function ut(e,t){var n=function(e,t){var n=new ft([],{},{},"",{},be,t,null,e.root,-1,{});return new pt("",new ot(n,[]))}(e,t),r=new u.a([new Le("",{})]),i=new u.a({}),o=new u.a({}),a=new u.a({}),s=new u.a(""),c=new ct(r,i,a,s,o,be,t,n.root);return c.snapshot=n.root,new st(new ot(c,[]),n)}var ct=function(){function e(e,t,n,r,i,o,a,s){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=a,this._futureSnapshot=s}return Object.defineProperty(e.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(m.a)((function(e){return we(e)})))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(m.a)((function(e){return we(e)})))),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},e}();function lt(e,t){void 0===t&&(t="emptyOnly");var n=e.pathFromRoot,i=0;if("always"!==t)for(i=n.length-1;i>=1;){var o=n[i],a=n[i-1];if(o.routeConfig&&""===o.routeConfig.path)i--;else{if(a.component)break;i--}}return function(e){return e.reduce((function(e,t){return{params:Object(r.a)(Object(r.a)({},e.params),t.params),data:Object(r.a)(Object(r.a)({},e.data),t.data),resolve:Object(r.a)(Object(r.a)({},e.resolve),t._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(i))}var ft=function(){function e(e,t,n,r,i,o,a,s,u,c,l){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=a,this.routeConfig=s,this._urlSegment=u,this._lastPathIndex=c,this._resolve=l}return Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=we(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=we(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return"Route(url:'"+this.url.map((function(e){return e.toString()})).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},e}(),pt=function(e){function t(t,n){var r=e.call(this,n)||this;return r.url=t,dt(r,n),r}return Object(r.c)(t,e),t.prototype.toString=function(){return ht(this._root)},t}(nt);function dt(e,t){t.value._routerState=e,t.children.forEach((function(t){return dt(e,t)}))}function ht(e){var t=e.children.length>0?" { "+e.children.map(ht).join(", ")+" } ":"";return""+e.value+t}function mt(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Te(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Te(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n0&&vt(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find((function(e){return"object"==typeof e&&null!=e&&e.outlets}));if(r&&r!==Pe(n))throw new Error("{outlets:{}} has to be the last command")}return e.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},e}(),_t=function(){return function(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}();function wt(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[be]:""+e}function Ct(e,t,n){if(e||(e=new Fe([],{})),0===e.segments.length&&e.hasChildren())return Et(e,t,n);var r=function(e,t,n){for(var r=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};i=n.length)return o;var a=e.segments[i],s=wt(n[r]),u=r0&&void 0===s)break;if(s&&u&&"object"==typeof u&&void 0===u.outlets){if(!kt(s,u,a))return o;r+=2}else{if(!kt(s,{},a))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex0?new Fe([],((r={})[be]=e,r)):e;return new Me(i,t,n)},e.prototype.expandSegmentGroup=function(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(m.a)((function(e){return new Fe([],e)}))):this.expandSegment(e,n,t,n.segments,r,!0)},e.prototype.expandChildren=function(e,t,n){var r=this;return function(n,i){if(0===Object.keys(n).length)return Object(a.a)({});var o=[],s=[],u={};return Ae(n,(function(n,i){var a,c,l=(a=i,c=n,r.expandSegmentGroup(e,t,c,a)).pipe(Object(m.a)((function(e){return u[i]=e})));i===be?o.push(l):s.push(l)})),a.a.apply(null,o.concat(s)).pipe(Object(g.a)(),j(),Object(m.a)((function(){return u})))}(n.children)},e.prototype.expandSegment=function(e,t,n,i,o,s){var u=this;return a.a.apply(void 0,Object(r.g)(n)).pipe(Object(m.a)((function(r){return u.expandSegmentAgainstRoute(e,t,n,r,i,o,s).pipe(N((function(e){if(e instanceof Pt)return Object(a.a)(null);throw e})))})),Object(g.a)(),V((function(e){return!!e})),N((function(e,n){if(e instanceof l.a||"EmptyError"===e.name){if(u.noLeftoversInUrl(t,i,o))return Object(a.a)(new Fe([],{}));throw new Pt(t)}throw e})))},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.expandSegmentAgainstRoute=function(e,t,n,r,i,o,a){return Ht(r)!==o?Rt(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o):Rt(t)},e.prototype.expandSegmentAgainstRouteUsingRedirect=function(e,t,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o)},e.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(e,t,n,r){var i=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Nt(o):this.lineralizeSegments(n,o).pipe(Object(B.a)((function(n){var o=new Fe(n,{});return i.expandSegment(e,o,t,n,r,!1)})))},e.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(e,t,n,r,i,o){var a=this,s=Lt(t,r,i),u=s.consumedSegments,c=s.lastChild,l=s.positionalParamSegments;if(!s.matched)return Rt(t);var f=this.applyRedirectCommands(u,r.redirectTo,l);return r.redirectTo.startsWith("/")?Nt(f):this.lineralizeSegments(r,f).pipe(Object(B.a)((function(r){return a.expandSegment(e,t,n,r.concat(i.slice(c)),o,!1)})))},e.prototype.matchSegmentAgainstRoute=function(e,t,n,i){var o=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(m.a)((function(e){return n._loadedConfig=e,new Fe(i,{})}))):Object(a.a)(new Fe(i,{}));var s=Lt(t,n,i),u=s.consumedSegments,c=s.lastChild;if(!s.matched)return Rt(t);var l=i.slice(c);return this.getChildConfig(e,n,i).pipe(Object(B.a)((function(e){var n=e.module,i=e.routes,s=function(e,t,n,i){return n.length>0&&function(e,t,n){return n.some((function(n){return Bt(e,t,n)&&Ht(n)!==be}))}(e,n,i)?{segmentGroup:Vt(new Fe(t,function(e,t){var n,i,o={};o[be]=t;try{for(var a=Object(r.h)(e),s=a.next();!s.done;s=a.next()){var u=s.value;""===u.path&&Ht(u)!==be&&(o[Ht(u)]=new Fe([],{}))}}catch(c){n={error:c}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return o}(i,new Fe(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some((function(n){return Bt(e,t,n)}))}(e,n,i)?{segmentGroup:Vt(new Fe(e.segments,function(e,t,n,i){var o,a,s={};try{for(var u=Object(r.h)(n),c=u.next();!c.done;c=u.next()){var l=c.value;Bt(e,t,l)&&!i[Ht(l)]&&(s[Ht(l)]=new Fe([],{}))}}catch(f){o={error:f}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}return Object(r.a)(Object(r.a)({},i),s)}(e,n,i,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,u,l,i),c=s.segmentGroup,f=s.slicedSegments;return 0===f.length&&c.hasChildren()?o.expandChildren(n,i,c).pipe(Object(m.a)((function(e){return new Fe(u,e)}))):0===i.length&&0===f.length?Object(a.a)(new Fe(u,{})):o.expandSegment(n,c,i,f,be,!0).pipe(Object(m.a)((function(e){return new Fe(u.concat(e.segments),e.children)})))})))},e.prototype.getChildConfig=function(e,t,n){var r=this;return t.children?Object(a.a)(new Oe(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(a.a)(t._loadedConfig):function(e,t,n){var r,i=t.canLoad;return i&&0!==i.length?Object(s.a)(i).pipe(Object(m.a)((function(r){var i,o=e.get(r);if(function(e){return e&&Dt(e.canLoad)}(o))i=o.canLoad(t,n);else{if(!Dt(o))throw new Error("Invalid CanLoad guard");i=o(t,n)}return Re(i)}))).pipe(Object(g.a)(),(r=function(e){return!0===e},function(e){return e.lift(new H(r,void 0,e))})):Object(a.a)(!0)}(e.injector,t,n).pipe(Object(B.a)((function(n){return n?r.configLoader.load(e.injector,t).pipe(Object(m.a)((function(e){return t._loadedConfig=e,e}))):function(e){return new c.a((function(t){return t.error(Ce("Cannot load children because the guard of the route \"path: '"+e.path+"'\" returned false"))}))}(t)}))):Object(a.a)(new Oe([],e))},e.prototype.lineralizeSegments=function(e,t){for(var n=[],r=t.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(a.a)(n);if(r.numberOfChildren>1||!r.children[be])return Mt(e.redirectTo);r=r.children[be]}},e.prototype.applyRedirectCommands=function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)},e.prototype.applyRedirectCreatreUrlTree=function(e,t,n,r){var i=this.createSegmentGroup(e,t.root,n,r);return new Me(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)},e.prototype.createQueryParams=function(e,t){var n={};return Ae(e,(function(e,r){if("string"==typeof e&&e.startsWith(":")){var i=e.substring(1);n[r]=t[i]}else n[r]=e})),n},e.prototype.createSegmentGroup=function(e,t,n,r){var i=this,o=this.createSegments(e,t.segments,n,r),a={};return Ae(t.children,(function(t,o){a[o]=i.createSegmentGroup(e,t,n,r)})),new Fe(o,a)},e.prototype.createSegments=function(e,t,n,r){var i=this;return t.map((function(t){return t.path.startsWith(":")?i.findPosParam(e,t,r):i.findOrReturn(t,n)}))},e.prototype.findPosParam=function(e,t,n){var r=n[t.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+e+"'. Cannot find '"+t.path+"'.");return r},e.prototype.findOrReturn=function(e,t){var n,i,o=0;try{for(var a=Object(r.h)(t),s=a.next();!s.done;s=a.next()){var u=s.value;if(u.path===e.path)return t.splice(o),u;o++}}catch(c){n={error:c}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return e},e}();function Lt(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(t.matcher||Ee)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Vt(e){if(1===e.numberOfChildren&&e.children[be]){var t=e.children[be];return new Fe(e.segments.concat(t.segments),t.children)}return e}function Bt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Ht(e){return e.outlet||be}var Ut=function(){return function(e){this.path=e,this.route=this.path[this.path.length-1]}}(),zt=function(){return function(e,t){this.component=e,this.route=t}}();function Wt(e,t,n){var r=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(r?r.module.injector:n).get(e)}function qt(e,t,n,r,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var o=at(t);return e.children.forEach((function(e){!function(e,t,n,r,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var o=e.value,a=t?t.value:null,s=n?n.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){var u=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Ve(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Ve(e.url,t.url)||!Te(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!gt(e,t)||!Te(e.queryParams,t.queryParams);case"paramsChange":default:return!gt(e,t)}}(a,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new Ut(r)):(o.data=a.data,o._resolvedData=a._resolvedData),qt(e,t,o.component?s?s.children:null:n,r,i),u&&i.canDeactivateChecks.push(new zt(s&&s.outlet&&s.outlet.component||null,a))}else a&&Gt(t,s,i),i.canActivateChecks.push(new Ut(r)),qt(e,null,o.component?s?s.children:null:n,r,i)}(e,o[e.value.outlet],n,r.concat([e.value]),i),delete o[e.value.outlet]})),Ae(o,(function(e,t){return Gt(e,n.getContext(t),i)})),i}function Gt(e,t,n){var r=at(e),i=e.value;Ae(r,(function(e,r){Gt(e,i.component?t?t.children.getContext(r):null:t,n)})),n.canDeactivateChecks.push(new zt(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}var Yt=Symbol("INITIAL_VALUE");function Qt(){return Object(z.a)((function(e){return f.a.apply(void 0,Object(r.g)(e.map((function(e){return e.pipe(Object(L.a)(1),Object(W.a)(Yt))})))).pipe(q((function(e,t){var n=!1;return t.reduce((function(e,r,i){if(e!==Yt)return e;if(r===Yt&&(n=!0),!n){if(!1===r)return r;if(i===t.length-1||jt(r))return r}return e}),e)}),Yt),Object(v.a)((function(e){return e!==Yt})),Object(m.a)((function(e){return jt(e)?e:!0===e})),Object(L.a)(1))}))}function Kt(e,t){return null!==e&&t&&t(new me(e)),Object(a.a)(!0)}function $t(e,t){return null!==e&&t&&t(new de(e)),Object(a.a)(!0)}function Zt(e,t,n){var r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return Object(a.a)(!0);var i=r.map((function(r){return Object(p.a)((function(){var i,o=Wt(r,t,n);if(function(e){return e&&Dt(e.canActivate)}(o))i=Re(o.canActivate(t,e));else{if(!Dt(o))throw new Error("Invalid CanActivate guard");i=Re(o(t,e))}return i.pipe(V())}))}));return Object(a.a)(i).pipe(Qt())}function Xt(e,t,n){var r=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 Object(p.a)((function(){var i=t.guards.map((function(i){var o,a=Wt(i,t.node,n);if(function(e){return e&&Dt(e.canActivateChild)}(a))o=Re(a.canActivateChild(r,e));else{if(!Dt(a))throw new Error("Invalid CanActivateChild guard");o=Re(a(r,e))}return o.pipe(V())}));return Object(a.a)(i).pipe(Qt())}))}));return Object(a.a)(i).pipe(Qt())}var Jt=function(){return function(){}}(),en=function(){function e(e,t,n,r,i,o){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=o}return e.prototype.recognize=function(){try{var e=rn(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,be),n=new ft([],Object.freeze({}),Object.freeze(Object(r.a)({},this.urlTree.queryParams)),this.urlTree.fragment,{},be,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new ot(n,t),o=new pt(this.url,i);return this.inheritParamsAndData(o._root),Object(a.a)(o)}catch(s){return new c.a((function(e){return e.error(s)}))}},e.prototype.inheritParamsAndData=function(e){var t=this,n=e.value,r=lt(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach((function(e){return t.inheritParamsAndData(e)}))},e.prototype.processSegmentGroup=function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)},e.prototype.processChildren=function(e,t){var n,r=this,i=Be(t,(function(t,n){return r.processSegmentGroup(e,t,n)}));return n={},i.forEach((function(e){var t=n[e.value.outlet];if(t){var r=t.url.map((function(e){return e.toString()})).join("/"),i=e.value.url.map((function(e){return e.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+i+"'.")}n[e.value.outlet]=e.value})),function(e){e.sort((function(e,t){return e.value.outlet===be?-1:t.value.outlet===be?1:e.value.outlet.localeCompare(t.value.outlet)}))}(i),i},e.prototype.processSegment=function(e,t,n,i){var o,a;try{for(var s=Object(r.h)(e),u=s.next();!u.done;u=s.next()){var c=u.value;try{return this.processSegmentAgainstRoute(c,t,n,i)}catch(l){if(!(l instanceof Jt))throw l}}}catch(f){o={error:f}}finally{try{u&&!u.done&&(a=s.return)&&a.call(s)}finally{if(o)throw o.error}}if(this.noLeftoversInUrl(t,n,i))return[];throw new Jt},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.processSegmentAgainstRoute=function(e,t,n,i){if(e.redirectTo)throw new Jt;if((e.outlet||be)!==i)throw new Jt;var o,a=[],s=[];if("**"===e.path){var u=n.length>0?Pe(n).parameters:{};o=new ft(n,u,Object.freeze(Object(r.a)({},this.urlTree.queryParams)),this.urlTree.fragment,sn(e),i,e.component,e,tn(t),nn(t)+n.length,un(e))}else{var c=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new Jt;return{consumedSegments:[],lastChild:0,parameters:{}}}var i=(t.matcher||Ee)(n,e,t);if(!i)throw new Jt;var o={};Ae(i.posParams,(function(e,t){o[t]=e.path}));var a=i.consumed.length>0?Object(r.a)(Object(r.a)({},o),i.consumed[i.consumed.length-1].parameters):o;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:a}}(t,e,n);a=c.consumedSegments,s=n.slice(c.lastChild),o=new ft(a,c.parameters,Object.freeze(Object(r.a)({},this.urlTree.queryParams)),this.urlTree.fragment,sn(e),i,e.component,e,tn(t),nn(t)+a.length,un(e))}var l=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),f=rn(t,a,s,l,this.relativeLinkResolution),p=f.segmentGroup,d=f.slicedSegments;if(0===d.length&&p.hasChildren()){var h=this.processChildren(l,p);return[new ot(o,h)]}if(0===l.length&&0===d.length)return[new ot(o,[])];var m=this.processSegment(l,p,d,be);return[new ot(o,m)]},e}();function tn(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function nn(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 rn(e,t,n,i,o){if(n.length>0&&function(e,t,n){return n.some((function(n){return on(e,t,n)&&an(n)!==be}))}(e,n,i)){var a=new Fe(t,function(e,t,n,i){var o,a,s={};s[be]=i,i._sourceSegment=e,i._segmentIndexShift=t.length;try{for(var u=Object(r.h)(n),c=u.next();!c.done;c=u.next()){var l=c.value;if(""===l.path&&an(l)!==be){var f=new Fe([],{});f._sourceSegment=e,f._segmentIndexShift=t.length,s[an(l)]=f}}}catch(p){o={error:p}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}return s}(e,t,i,new Fe(n,e.children)));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some((function(n){return on(e,t,n)}))}(e,n,i)){var s=new Fe(e.segments,function(e,t,n,i,o,a){var s,u,c={};try{for(var l=Object(r.h)(i),f=l.next();!f.done;f=l.next()){var p=f.value;if(on(e,n,p)&&!o[an(p)]){var d=new Fe([],{});d._sourceSegment=e,d._segmentIndexShift="legacy"===a?e.segments.length:t.length,c[an(p)]=d}}}catch(h){s={error:h}}finally{try{f&&!f.done&&(u=l.return)&&u.call(l)}finally{if(s)throw s.error}}return Object(r.a)(Object(r.a)({},o),c)}(e,t,n,i,e.children,o));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}var u=new Fe(e.segments,e.children);return u._sourceSegment=e,u._segmentIndexShift=t.length,{segmentGroup:u,slicedSegments:n}}function on(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function an(e){return e.outlet||be}function sn(e){return e.data||{}}function un(e){return e.resolve||{}}function cn(e,t,n,r){var i=Wt(e,t,r);return Re(i.resolve?i.resolve(t,n):i(t,n))}function ln(e){return function(t){return t.pipe(Object(z.a)((function(t){var n=e(t);return n?Object(s.a)(n).pipe(Object(m.a)((function(){return t}))):Object(s.a)([t])})))}}var fn=function(){return function(){}}(),pn=function(){function e(){}return e.prototype.shouldDetach=function(e){return!1},e.prototype.store=function(e,t){},e.prototype.shouldAttach=function(e){return!1},e.prototype.retrieve=function(e){return null},e.prototype.shouldReuseRoute=function(e,t){return e.routeConfig===t.routeConfig},e}(),dn=new o.InjectionToken("ROUTES"),hn=function(){function e(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}return e.prototype.load=function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(m.a)((function(r){n.onLoadEndListener&&n.onLoadEndListener(t);var i=r.create(e);return new Oe(je(i.injector.get(dn)).map(Ie),i)})))},e.prototype.loadModuleFactory=function(e){var t=this;return"string"==typeof e?Object(s.a)(this.loader.load(e)):Re(e()).pipe(Object(B.a)((function(e){return e instanceof o.NgModuleFactory?Object(a.a)(e):Object(s.a)(t.compiler.compileModuleAsync(e))})))},e}(),mn=function(){return function(){}}(),gn=function(){function e(){}return e.prototype.shouldProcessUrl=function(e){return!0},e.prototype.extract=function(e){return e},e.prototype.merge=function(e,t){return e},e}();function vn(e){throw e}function yn(e,t,n){return t.parse("/")}function bn(e,t){return Object(a.a)(null)}var _n=function(){function e(e,t,n,r,i,a,s,c){var l=this;this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new d.a,this.errorHandler=vn,this.malformedUriErrorHandler=yn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:bn,afterPreactivation:bn},this.urlHandlingStrategy=new gn,this.routeReuseStrategy=new pn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(o.NgModuleRef),this.console=i.get(o["\u0275Console"]);var f=i.get(o.NgZone);this.isNgZoneEnabled=f instanceof o.NgZone,this.resetConfig(c),this.currentUrlTree=new Me(new Fe([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new hn(a,s,(function(e){return l.triggerEvent(new fe(e))}),(function(e){return l.triggerEvent(new pe(e))})),this.routerState=ut(this.currentUrlTree,this.rootComponentType),this.transitions=new u.a({id: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 e.prototype.setupNavigations=function(e){var t=this,n=this.events;return e.pipe(Object(v.a)((function(e){return 0!==e.id})),Object(m.a)((function(e){return Object(r.a)(Object(r.a)({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})})),Object(z.a)((function(e){var i,o,c,l,f=!1,p=!1;return Object(a.a)(e).pipe(Object($.a)((function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object(r.a)(Object(r.a)({},t.lastSuccessfulNavigation),{previousNavigation:null}):null}})),Object(z.a)((function(e){var i,o,s,u,c=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||c)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Object(a.a)(e).pipe(Object(z.a)((function(e){var r=t.transitions.getValue();return n.next(new ne(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),r!==t.transitions.getValue()?h.a:[e]})),Object(z.a)((function(e){return Promise.resolve(e)})),(i=t.ngModule.injector,o=t.configLoader,s=t.urlSerializer,u=t.config,function(e){return e.pipe(Object(z.a)((function(e){return function(e,t,n,r,i){return new Ft(e,t,n,r,i).apply()}(i,o,s,e.extractedUrl,u).pipe(Object(m.a)((function(t){return Object(r.a)(Object(r.a)({},e),{urlAfterRedirects:t})})))})))}),Object($.a)((function(e){t.currentNavigation=Object(r.a)(Object(r.a)({},t.currentNavigation),{finalUrl:e.urlAfterRedirects})})),function(e,n,i,o,a){return function(i){return i.pipe(Object(B.a)((function(i){return function(e,t,n,r,i,o){return void 0===i&&(i="emptyOnly"),void 0===o&&(o="legacy"),new en(e,t,n,r,i,o).recognize()}(e,n,i.urlAfterRedirects,(s=i.urlAfterRedirects,t.serializeUrl(s)),o,a).pipe(Object(m.a)((function(e){return Object(r.a)(Object(r.a)({},i),{targetSnapshot:e})})));var s})))}}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),Object($.a)((function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),Object($.a)((function(e){var r=new ae(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(r)})));if(c&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var l=e.extractedUrl,f=e.source,p=e.restoredState,d=e.extras,g=new ne(e.id,t.serializeUrl(l),f,p);n.next(g);var v=ut(l,t.rootComponentType).snapshot;return Object(a.a)(Object(r.a)(Object(r.a)({},e),{targetSnapshot:v,urlAfterRedirects:l,extras:Object(r.a)(Object(r.a)({},d),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),h.a})),ln((function(e){var n=e.extras;return t.hooks.beforePreactivation(e.targetSnapshot,{navigationId:e.id,appliedUrlTree:e.extractedUrl,rawUrlTree:e.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})})),Object($.a)((function(e){var n=new se(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),Object(m.a)((function(e){return Object(r.a)(Object(r.a)({},e),{guards:(n=e.targetSnapshot,i=e.currentSnapshot,o=t.rootContexts,a=n._root,qt(a,i?i._root:null,o,[a.value]))});var n,i,o,a})),function(e,t){return function(n){return n.pipe(Object(B.a)((function(n){var i=n.targetSnapshot,o=n.currentSnapshot,u=n.guards,c=u.canActivateChecks,l=u.canDeactivateChecks;return 0===l.length&&0===c.length?Object(a.a)(Object(r.a)(Object(r.a)({},n),{guardsResult:!0})):function(e,t,n,r){return Object(s.a)(e).pipe(Object(B.a)((function(e){return function(e,t,n,r,i){var o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||0===o.length)return Object(a.a)(!0);var s=o.map((function(o){var a,s=Wt(o,t,i);if(function(e){return e&&Dt(e.canDeactivate)}(s))a=Re(s.canDeactivate(e,t,n,r));else{if(!Dt(s))throw new Error("Invalid CanDeactivate guard");a=Re(s(e,t,n,r))}return a.pipe(V())}));return Object(a.a)(s).pipe(Qt())}(e.component,e.route,n,t,r)})),V((function(e){return!0!==e}),!0))}(l,i,o,e).pipe(Object(B.a)((function(n){return n&&"boolean"==typeof n?function(e,t,n,r){return Object(s.a)(t).pipe(Object(Q.a)((function(t){return Object(s.a)([$t(t.route.parent,r),Kt(t.route,r),Xt(e,t.path,n),Zt(e,t.route,n)]).pipe(Object(g.a)(),V((function(e){return!0!==e}),!0))})),V((function(e){return!0!==e}),!0))}(i,c,e,t):Object(a.a)(n)})),Object(m.a)((function(e){return Object(r.a)(Object(r.a)({},n),{guardsResult:e})})))})))}}(t.ngModule.injector,(function(e){return t.triggerEvent(e)})),Object($.a)((function(e){if(jt(e.guardsResult)){var n=Ce('Redirecting to "'+t.serializeUrl(e.guardsResult)+'"');throw n.url=e.guardsResult,n}})),Object($.a)((function(e){var n=new ue(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(n)})),Object(v.a)((function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var r=new ie(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(r),e.resolve(!1),!1}return!0})),ln((function(e){if(e.guards.canActivateChecks.length)return Object(a.a)(e).pipe(Object($.a)((function(e){var n=new ce(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),(n=t.paramsInheritanceStrategy,i=t.ngModule.injector,function(e){return e.pipe(Object(B.a)((function(e){var t=e.targetSnapshot,o=e.guards.canActivateChecks;return o.length?Object(s.a)(o).pipe(Object(Q.a)((function(e){return function(e,t,n,i){return function(e,t,n,r){var i=Object.keys(e);if(0===i.length)return Object(a.a)({});if(1===i.length){var o=i[0];return cn(e[o],t,n,r).pipe(Object(m.a)((function(e){var t;return(t={})[o]=e,t})))}var u={};return Object(s.a)(i).pipe(Object(B.a)((function(i){return cn(e[i],t,n,r).pipe(Object(m.a)((function(e){return u[i]=e,e})))}))).pipe(j(),Object(m.a)((function(){return u})))}(e._resolve,e,t,i).pipe(Object(m.a)((function(t){return e._resolvedData=t,e.data=Object(r.a)(Object(r.a)({},e.data),lt(e,n).resolve),null})))}(e.route,t,n,i)})),function(e,t){return arguments.length>=2?function(n){return Object(K.a)(q(e,t),_(1),k(t))(n)}:function(t){return Object(K.a)(q((function(t,n,r){return e(t,n,r+1)})),_(1))(t)}}((function(e,t){return e})),Object(m.a)((function(t){return e}))):Object(a.a)(e)})))}),Object($.a)((function(e){var n=new le(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})));var n,i})),ln((function(e){var n=e.extras;return t.hooks.afterPreactivation(e.targetSnapshot,{navigationId:e.id,appliedUrlTree:e.extractedUrl,rawUrlTree:e.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})})),Object(m.a)((function(e){var n,i,o,a=(o=function e(t,n,i){if(i&&t.shouldReuseRoute(n.value,i.value.snapshot)){(l=i.value)._futureSnapshot=n.value;var o=function(t,n,i){return n.children.map((function(n){var o,a;try{for(var s=Object(r.h)(i.children),u=s.next();!u.done;u=s.next()){var c=u.value;if(t.shouldReuseRoute(c.value.snapshot,n.value))return e(t,n,c)}}catch(l){o={error:l}}finally{try{u&&!u.done&&(a=s.return)&&a.call(s)}finally{if(o)throw o.error}}return e(t,n)}))}(t,n,i);return new ot(l,o)}var a=t.retrieve(n.value);if(a){var s=a.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(var r=0;ri;){if(o-=i,!(r=r.parent))throw new Error("Invalid number of '../'");i=r.segments.length}return new _t(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(a,t,e),u=s.processChildren?Et(s.segmentGroup,s.index,a.commands):Ct(s.segmentGroup,s.index,a.commands);return yt(s.segmentGroup,u,t,i,o)}(l,this.currentUrlTree,e,p,f)},e.prototype.navigateByUrl=function(e,t){void 0===t&&(t={skipLocationChange:!1}),Object(o.isDevMode)()&&this.isNgZoneEnabled&&!o.NgZone.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=jt(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)},e.prototype.navigate=function(e,t){return void 0===t&&(t={skipLocationChange:!1}),function(e){for(var t=0;tt.index?1:-1:e.delay>t.delay?1:-1},t}(b.a),C=n("siIJ"),E=n("60iU"),O=n("y3By"),S=n("+umK"),x=n("mChF"),k=n("zrt+"),I=n("b7mW"),T=n("3fWJ"),D=n("8g8A"),j=n("awvh"),P=function(){function e(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return e.prototype=Object.create(Error.prototype),e}(),A=n("pbg4"),R=n("67Y/"),N=n("1fDf"),M=n("nkY7"),F=n("isby");function L(e,t,n){if(t){if(!Object(M.a)(t))return function(){for(var r=[],i=0;i=t){r.complete();break}if(r.next(o++),r.closed)break}}))}function he(e){var t=e.start,n=e.index,r=e.subscriber;n>=e.count?r.complete():(r.next(t),r.closed||(e.index=n+1,e.start=t+1,this.schedule(e)))}var me=n("XlPw"),ge=n("gI3B");function ve(e,t){return new r.a((function(n){var r,i;try{r=e()}catch(a){return void n.error(a)}try{i=t(r)}catch(a){return void n.error(a)}var o=(i?Object(Y.a)(i):q.a).subscribe(n);return function(){o.unsubscribe(),r&&r.unsubscribe()}}))}var ye=n("IUTb"),be=n("MGBS"),_e=n("zotm"),we=n("En8+");function Ce(){for(var e=[],t=0;tthis.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),ke=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.parent=n,i.observable=r,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return o.c(t,e),t.prototype[we.a]=function(){return this},t.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},t.prototype.hasValue=function(){return this.buffer.length>0},t.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},t.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},t.prototype.notifyNext=function(e,t,n,r,i){this.buffer.push(t),this.parent.checkIterators()},t.prototype.subscribe=function(e,t){return Object(_e.a)(this,this.observable,this,t)},t}(be.a),Ie=n("i4X3"),Te=n("iLxQ");n.d(t,"Observable",(function(){return r.a})),n.d(t,"ConnectableObservable",(function(){return i.a})),n.d(t,"GroupedObservable",(function(){return c})),n.d(t,"observable",(function(){return f.a})),n.d(t,"Subject",(function(){return u.a})),n.d(t,"BehaviorSubject",(function(){return p.a})),n.d(t,"ReplaySubject",(function(){return d.a})),n.d(t,"AsyncSubject",(function(){return h.a})),n.d(t,"asapScheduler",(function(){return m.a})),n.d(t,"asyncScheduler",(function(){return g.a})),n.d(t,"queueScheduler",(function(){return v.a})),n.d(t,"animationFrameScheduler",(function(){return y.a})),n.d(t,"VirtualTimeScheduler",(function(){return _})),n.d(t,"VirtualAction",(function(){return w})),n.d(t,"Scheduler",(function(){return C.a})),n.d(t,"Subscription",(function(){return s.a})),n.d(t,"Subscriber",(function(){return a.a})),n.d(t,"Notification",(function(){return E.a})),n.d(t,"NotificationKind",(function(){return E.b})),n.d(t,"pipe",(function(){return O.a})),n.d(t,"noop",(function(){return S.a})),n.d(t,"identity",(function(){return x.a})),n.d(t,"isObservable",(function(){return k.a})),n.d(t,"ArgumentOutOfRangeError",(function(){return I.a})),n.d(t,"EmptyError",(function(){return T.a})),n.d(t,"ObjectUnsubscribedError",(function(){return D.a})),n.d(t,"UnsubscriptionError",(function(){return j.a})),n.d(t,"TimeoutError",(function(){return P})),n.d(t,"bindCallback",(function(){return A.a})),n.d(t,"bindNodeCallback",(function(){return L})),n.d(t,"combineLatest",(function(){return U.a})),n.d(t,"concat",(function(){return z.a})),n.d(t,"defer",(function(){return W.a})),n.d(t,"empty",(function(){return q.b})),n.d(t,"forkJoin",(function(){return G.a})),n.d(t,"from",(function(){return Y.a})),n.d(t,"fromEvent",(function(){return Q.a})),n.d(t,"fromEventPattern",(function(){return K.a})),n.d(t,"generate",(function(){return $})),n.d(t,"iif",(function(){return X})),n.d(t,"interval",(function(){return ee})),n.d(t,"merge",(function(){return ne.a})),n.d(t,"never",(function(){return re.b})),n.d(t,"of",(function(){return ie.a})),n.d(t,"onErrorResumeNext",(function(){return oe})),n.d(t,"pairs",(function(){return ae})),n.d(t,"partition",(function(){return fe})),n.d(t,"race",(function(){return pe.a})),n.d(t,"range",(function(){return de})),n.d(t,"throwError",(function(){return me.a})),n.d(t,"timer",(function(){return ge.a})),n.d(t,"using",(function(){return ve})),n.d(t,"zip",(function(){return Ce})),n.d(t,"scheduled",(function(){return Ie.a})),n.d(t,"EMPTY",(function(){return q.a})),n.d(t,"NEVER",(function(){return re.a})),n.d(t,"config",(function(){return Te.a}))},E1rE:function(e,t,n){"use strict";n.r(t),n.d(t,"BrowserModule",(function(){return ue})),n.d(t,"BrowserTransferStateModule",(function(){return Ce})),n.d(t,"By",(function(){return Ee})),n.d(t,"DomSanitizer",(function(){return Z})),n.d(t,"EVENT_MANAGER_PLUGINS",(function(){return w})),n.d(t,"EventManager",(function(){return C})),n.d(t,"HAMMER_GESTURE_CONFIG",(function(){return L})),n.d(t,"HAMMER_LOADER",(function(){return V})),n.d(t,"HammerGestureConfig",(function(){return B})),n.d(t,"HammerModule",(function(){return q})),n.d(t,"Meta",(function(){return le})),n.d(t,"Title",(function(){return pe})),n.d(t,"TransferState",(function(){return _e})),n.d(t,"VERSION",(function(){return Oe})),n.d(t,"disableDebugTools",(function(){return ve})),n.d(t,"enableDebugTools",(function(){return ge})),n.d(t,"makeStateKey",(function(){return be})),n.d(t,"platformBrowser",(function(){return ae})),n.d(t,"\u0275BROWSER_SANITIZATION_PROVIDERS",(function(){return oe})),n.d(t,"\u0275BROWSER_SANITIZATION_PROVIDERS__POST_R3__",(function(){return ie})),n.d(t,"\u0275BrowserDomAdapter",(function(){return u})),n.d(t,"\u0275BrowserGetTestability",(function(){return d})),n.d(t,"\u0275DomEventsPlugin",(function(){return M})),n.d(t,"\u0275DomRendererFactory2",(function(){return P})),n.d(t,"\u0275DomSanitizerImpl",(function(){return J})),n.d(t,"\u0275DomSharedStylesHost",(function(){return S})),n.d(t,"\u0275ELEMENT_PROBE_PROVIDERS",(function(){return _})),n.d(t,"\u0275ELEMENT_PROBE_PROVIDERS__POST_R3__",(function(){return y})),n.d(t,"\u0275HAMMER_PROVIDERS__POST_R3__",(function(){return U})),n.d(t,"\u0275HammerGesturesPlugin",(function(){return H})),n.d(t,"\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS",(function(){return re})),n.d(t,"\u0275KeyEventsPlugin",(function(){return $})),n.d(t,"\u0275NAMESPACE_URIS",(function(){return x})),n.d(t,"\u0275SharedStylesHost",(function(){return O})),n.d(t,"\u0275TRANSITION_ID",(function(){return l})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_a",(function(){return te})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_b",(function(){return ne})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_c",(function(){return se})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_d",(function(){return ce})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_e",(function(){return fe})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_f",(function(){return we})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_g",(function(){return E})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_h",(function(){return z})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_i",(function(){return W})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_j",(function(){return X})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_k",(function(){return f})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_l",(function(){return p})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_m",(function(){return v})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_n",(function(){return b})),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_o",(function(){return s})),n.d(t,"\u0275escapeHtml",(function(){return ye})),n.d(t,"\u0275flattenStyles",(function(){return D})),n.d(t,"\u0275initDomAdapter",(function(){return ee})),n.d(t,"\u0275shimContentAttribute",(function(){return I})),n.d(t,"\u0275shimHostAttribute",(function(){return T}));var r=n("mrSG"),i=n("Valr"),o=n("TYT/");n.d(t,"\u0275getDOM",(function(){return i["\u0275getDOM"]}));var a,s=function(e){function t(){return e.call(this)||this}return Object(r.c)(t,e),t.prototype.supportsDOMEvents=function(){return!0},t}(i["\u0275DomAdapter"]),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.c)(t,e),t.makeCurrent=function(){Object(i["\u0275setRootDomAdapter"])(new t)},t.prototype.getProperty=function(e,t){return e[t]},t.prototype.log=function(e){window.console&&window.console.log&&window.console.log(e)},t.prototype.logGroup=function(e){window.console&&window.console.group&&window.console.group(e)},t.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},t.prototype.onAndCancel=function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}},t.prototype.dispatchEvent=function(e,t){e.dispatchEvent(t)},t.prototype.remove=function(e){return e.parentNode&&e.parentNode.removeChild(e),e},t.prototype.getValue=function(e){return e.value},t.prototype.createElement=function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)},t.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},t.prototype.getDefaultDocument=function(){return document},t.prototype.isElementNode=function(e){return e.nodeType===Node.ELEMENT_NODE},t.prototype.isShadowRoot=function(e){return e instanceof DocumentFragment},t.prototype.getGlobalEventTarget=function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null},t.prototype.getHistory=function(){return window.history},t.prototype.getLocation=function(){return window.location},t.prototype.getBaseHref=function(e){var t,n=c||(c=document.querySelector("base"))?c.getAttribute("href"):null;return null==n?null:(t=n,a||(a=document.createElement("a")),a.setAttribute("href",t),"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname)},t.prototype.resetBaseElement=function(){c=null},t.prototype.getUserAgent=function(){return window.navigator.userAgent},t.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},t.prototype.supportsCookies=function(){return!0},t.prototype.getCookie=function(e){return Object(i["\u0275parseCookieValue"])(document.cookie,e)},t}(s),c=null,l=new o.InjectionToken("TRANSITION_ID");function f(e,t,n){return function(){n.get(o.ApplicationInitStatus).donePromise.then((function(){var n=Object(i["\u0275getDOM"])();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter((function(t){return t.getAttribute("ng-transition")===e})).forEach((function(e){return n.remove(e)}))}))}}var p=[{provide:o.APP_INITIALIZER,useFactory:f,deps:[l,i.DOCUMENT,o.Injector],multi:!0}],d=function(){function e(){}return e.init=function(){Object(o.setTestabilityGetter)(new e)},e.prototype.addToWindow=function(e){o["\u0275global"].getAngularTestability=function(t,n){void 0===n&&(n=!0);var r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},o["\u0275global"].getAllAngularTestabilities=function(){return e.getAllTestabilities()},o["\u0275global"].getAllAngularRootElements=function(){return e.getAllRootElements()},o["\u0275global"].frameworkStabilizers||(o["\u0275global"].frameworkStabilizers=[]),o["\u0275global"].frameworkStabilizers.push((function(e){var t=o["\u0275global"].getAllAngularTestabilities(),n=t.length,r=!1,i=function(t){r=r||t,0==--n&&e(r)};t.forEach((function(e){e.whenStable(i)}))}))},e.prototype.findTestabilityInTree=function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?Object(i["\u0275getDOM"])().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null},e}();function h(e,t){"undefined"!=typeof COMPILED&&COMPILED||((o["\u0275global"].ng=o["\u0275global"].ng||{})[e]=t)}var m=function(){return{ApplicationRef:o.ApplicationRef,NgZone:o.NgZone}}();function g(e){return Object(o["\u0275getDebugNodeR2"])(e)}function v(e){return h("probe",g),h("coreTokens",Object(r.a)(Object(r.a)({},m),(e||[]).reduce((function(e,t){return e[t.name]=t.token,e}),{}))),function(){return g}}var y=[],b=[{provide:o.APP_INITIALIZER,useFactory:v,deps:[[o.NgProbeToken,new o.Optional]],multi:!0}],_=y,w=new o.InjectionToken("EventManagerPlugins"),C=function(){function e(e,t){var n=this;this._zone=t,this._eventNameToPlugin=new Map,e.forEach((function(e){return e.manager=n})),this._plugins=e.slice().reverse()}return e.prototype.addEventListener=function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)},e.prototype.addGlobalEventListener=function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)},e.prototype.getZone=function(){return this._zone},e.prototype._findPluginFor=function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r-1},t.\u0275fac=function(e){return new(e||t)(o["\u0275\u0275inject"](i.DOCUMENT),o["\u0275\u0275inject"](L),o["\u0275\u0275inject"](o["\u0275Console"]),o["\u0275\u0275inject"](V,8))},t.\u0275prov=o["\u0275\u0275defineInjectable"]({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(E),U=[],z=[{provide:w,useClass:H,multi:!0,deps:[i.DOCUMENT,L,o["\u0275Console"],[new o.Optional,V]]},{provide:L,useClass:B,deps:[]}],W=U,q=function(){function e(){}return e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:z}),e}(),G=["alt","control","meta","shift"],Y={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Q={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},K={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},$=function(e){function t(t){return e.call(this,t)||this}var n;return Object(r.c)(t,e),n=t,t.prototype.supports=function(e){return null!=n.parseEventName(e)},t.prototype.addEventListener=function(e,t,r){var o=n.parseEventName(t),a=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return Object(i["\u0275getDOM"])().onAndCancel(e,o.domEventName,a)}))},t.parseEventName=function(e){var t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;var i=n._normalizeKey(t.pop()),o="";if(G.forEach((function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),o+=e+".")})),o+=i,0!=t.length||0===i.length)return null;var a={};return a.domEventName=r,a.fullKey=o,a},t.getEventFullKey=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&&Q.hasOwnProperty(t)&&(t=Q[t]))}return Y[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),G.forEach((function(r){r!=n&&(0,K[r])(e)&&(t+=r+".")})),t+=n},t.eventCallback=function(e,t,r){return function(i){n.getEventFullKey(i)===e&&r.runGuarded((function(){return t(i)}))}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t.\u0275fac=function(e){return new(e||t)(o["\u0275\u0275inject"](i.DOCUMENT))},t.\u0275prov=o["\u0275\u0275defineInjectable"]({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(E),Z=function(){function e(){}return e.\u0275prov=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return Object(o["\u0275\u0275inject"])(J)},token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)},e}();function X(e){return new J(e.get(i.DOCUMENT))}var J=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return Object(r.c)(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case o.SecurityContext.NONE:return t;case o.SecurityContext.HTML:return Object(o["\u0275allowSanitizationBypassAndThrow"])(t,"HTML")?Object(o["\u0275unwrapSafeValue"])(t):Object(o["\u0275_sanitizeHtml"])(this._doc,String(t));case o.SecurityContext.STYLE:return Object(o["\u0275allowSanitizationBypassAndThrow"])(t,"Style")?Object(o["\u0275unwrapSafeValue"])(t):Object(o["\u0275_sanitizeStyle"])(t);case o.SecurityContext.SCRIPT:if(Object(o["\u0275allowSanitizationBypassAndThrow"])(t,"Script"))return Object(o["\u0275unwrapSafeValue"])(t);throw new Error("unsafe value used in a script context");case o.SecurityContext.URL:return Object(o["\u0275getSanitizationBypassType"])(t),Object(o["\u0275allowSanitizationBypassAndThrow"])(t,"URL")?Object(o["\u0275unwrapSafeValue"])(t):Object(o["\u0275_sanitizeUrl"])(String(t));case o.SecurityContext.RESOURCE_URL:if(Object(o["\u0275allowSanitizationBypassAndThrow"])(t,"ResourceURL"))return Object(o["\u0275unwrapSafeValue"])(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},t.prototype.bypassSecurityTrustHtml=function(e){return Object(o["\u0275bypassSanitizationTrustHtml"])(e)},t.prototype.bypassSecurityTrustStyle=function(e){return Object(o["\u0275bypassSanitizationTrustStyle"])(e)},t.prototype.bypassSecurityTrustScript=function(e){return Object(o["\u0275bypassSanitizationTrustScript"])(e)},t.prototype.bypassSecurityTrustUrl=function(e){return Object(o["\u0275bypassSanitizationTrustUrl"])(e)},t.prototype.bypassSecurityTrustResourceUrl=function(e){return Object(o["\u0275bypassSanitizationTrustResourceUrl"])(e)},t.\u0275prov=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return X(Object(o["\u0275\u0275inject"])(o.INJECTOR))},token:t,providedIn:"root"}),t.\u0275fac=function(e){return new(e||t)(o["\u0275\u0275inject"](i.DOCUMENT))},t}(Z);function ee(){u.makeCurrent(),d.init()}function te(){return new o.ErrorHandler}function ne(){return Object(o["\u0275setDocument"])(document),document}var re=[{provide:o.PLATFORM_ID,useValue:i["\u0275PLATFORM_BROWSER_ID"]},{provide:o.PLATFORM_INITIALIZER,useValue:ee,multi:!0},{provide:i.DOCUMENT,useFactory:ne,deps:[]}],ie=[],oe=ie,ae=Object(o.createPlatformFactory)(o.platformCore,"browser",re),se=[oe,{provide:o["\u0275INJECTOR_SCOPE"],useValue:"root"},{provide:o.ErrorHandler,useFactory:te,deps:[]},{provide:w,useClass:M,multi:!0,deps:[i.DOCUMENT,o.NgZone,o.PLATFORM_ID]},{provide:w,useClass:$,multi:!0,deps:[i.DOCUMENT]},W,{provide:P,useClass:P,deps:[C,S,o.APP_ID]},{provide:o.RendererFactory2,useExisting:P},{provide:O,useExisting:S},{provide:S,useClass:S,deps:[i.DOCUMENT]},{provide:o.Testability,useClass:o.Testability,deps:[o.NgZone]},{provide:C,useClass:C,deps:[w,o.NgZone]},_],ue=function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}var t;return t=e,e.withServerTransition=function(e){return{ngModule:t,providers:[{provide:o.APP_ID,useValue:e.appId},{provide:l,useExisting:o.APP_ID},p]}},e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({factory:function(n){return new(n||e)(o["\u0275\u0275inject"](t,12))},providers:se,imports:[i.CommonModule,o.ApplicationModule]}),e}();function ce(){return new le(Object(o["\u0275\u0275inject"])(i.DOCUMENT))}var le=function(){function e(e){this._doc=e,this._dom=Object(i["\u0275getDOM"])()}return e.prototype.addTag=function(e,t){return void 0===t&&(t=!1),e?this._getOrCreateElement(e,t):null},e.prototype.addTags=function(e,t){var n=this;return void 0===t&&(t=!1),e?e.reduce((function(e,r){return r&&e.push(n._getOrCreateElement(r,t)),e}),[]):[]},e.prototype.getTag=function(e){return e&&this._doc.querySelector("meta["+e+"]")||null},e.prototype.getTags=function(e){if(!e)return[];var t=this._doc.querySelectorAll("meta["+e+"]");return t?[].slice.call(t):[]},e.prototype.updateTag=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)},e.prototype.removeTag=function(e){this.removeTagElement(this.getTag(e))},e.prototype.removeTagElement=function(e){e&&this._dom.remove(e)},e.prototype._getOrCreateElement=function(e,t){if(void 0===t&&(t=!1),!t){var n=this._parseSelector(e),r=this.getTag(n);if(r&&this._containsAttributes(e,r))return r}var i=this._dom.createElement("meta");return this._setMetaElementAttributes(e,i),this._doc.getElementsByTagName("head")[0].appendChild(i),i},e.prototype._setMetaElementAttributes=function(e,t){return Object.keys(e).forEach((function(n){return t.setAttribute(n,e[n])})),t},e.prototype._parseSelector=function(e){var t=e.name?"name":"property";return t+'="'+e[t]+'"'},e.prototype._containsAttributes=function(e,t){return Object.keys(e).every((function(n){return t.getAttribute(n)===e[n]}))},e.\u0275prov=Object(o["\u0275\u0275defineInjectable"])({factory:ce,token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](i.DOCUMENT))},e}();function fe(){return new pe(Object(o["\u0275\u0275inject"])(i.DOCUMENT))}var pe=function(){function e(e){this._doc=e}return e.prototype.getTitle=function(){return this._doc.title},e.prototype.setTitle=function(e){this._doc.title=e||""},e.\u0275prov=Object(o["\u0275\u0275defineInjectable"])({factory:fe,token:e,providedIn:"root"}),e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](i.DOCUMENT))},e}(),de="undefined"!=typeof window&&window||{},he=function(){return function(e,t){this.msPerTick=e,this.numTicks=t}}(),me=function(){function e(e){this.appRef=e.injector.get(o.ApplicationRef)}return e.prototype.timeChangeDetection=function(e){var t=e&&e.record,n=null!=de.console.profile;t&&n&&de.console.profile("Change Detection");for(var r=Object(i["\u0275getDOM"])().performanceNow(),o=0;o<5||Object(i["\u0275getDOM"])().performanceNow()-r<500;)this.appRef.tick(),o++;var a=Object(i["\u0275getDOM"])().performanceNow();t&&n&&de.console.profileEnd("Change Detection");var s=(a-r)/o;return de.console.log("ran "+o+" change detection cycles"),de.console.log(s.toFixed(2)+" ms per check"),new he(s,o)},e}();function ge(e){return h("profiler",new me(e)),e}function ve(){h("profiler",null)}function ye(e){var t={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return e.replace(/[&"'<>]/g,(function(e){return t[e]}))}function be(e){return e}var _e=function(){function e(){this.store={},this.onSerializeCallbacks={}}var t;return t=e,e.init=function(e){var n=new t;return n.store=e,n},e.prototype.get=function(e,t){return void 0!==this.store[e]?this.store[e]:t},e.prototype.set=function(e,t){this.store[e]=t},e.prototype.remove=function(e){delete this.store[e]},e.prototype.hasKey=function(e){return this.store.hasOwnProperty(e)},e.prototype.onSerialize=function(e,t){this.onSerializeCallbacks[e]=t},e.prototype.toJson=function(){for(var e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store)},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o["\u0275\u0275defineInjectable"]({token:e,factory:function(t){return e.\u0275fac(t)}}),e}();function we(e,t){var n,r=e.getElementById(t+"-state"),i={};if(r&&r.textContent)try{i=JSON.parse((n={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"},r.textContent.replace(/&[^;]+;/g,(function(e){return n[e]}))))}catch(o){console.warn("Exception while restoring TransferState for app "+t,o)}return _e.init(i)}var Ce=function(){function e(){}return e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},providers:[{provide:_e,useFactory:we,deps:[i.DOCUMENT,o.APP_ID]}]}),e}(),Ee=function(){function e(){}return e.all=function(){return function(){return!0}},e.css=function(e){return function(t){return null!=t.nativeElement&&function(e,t){return!!Object(i["\u0275getDOM"])().isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))}(t.nativeElement,e)}},e.directive=function(e){return function(t){return-1!==t.providerTokens.indexOf(e)}},e}(),Oe=new o.Version("9.0.5")},ED2X:function(e,t,n){"use strict";n.r(t);var r=n("mrSG"),i=n("TYT/"),o=n("E1rE"),a=n("2WDa");function s(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function u(e){switch(e.length){case 0:return new a.d;case 1:return e[0];default:return new a.n(e)}}function c(e,t,n,r,i,o){void 0===i&&(i={}),void 0===o&&(o={});var s=[],u=[],c=-1,l=null;if(r.forEach((function(e){var n=e.offset,r=n==c,f=r&&l||{};Object.keys(e).forEach((function(n){var r=n,u=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,s),u){case a.o:u=i[n];break;case a.a:u=o[n];break;default:u=t.normalizeStyleValue(n,r,u,s)}f[r]=u})),r||u.push(f),l=f,c=n})),s.length)throw new Error("Unable to animate due to the following errors:\n - "+s.join("\n - "));return u}function l(e,t,n,r){switch(t){case"start":e.onStart((function(){return r(n&&f(n,"start",e))}));break;case"done":e.onDone((function(){return r(n&&f(n,"done",e))}));break;case"destroy":e.onDestroy((function(){return r(n&&f(n,"destroy",e))}))}}function f(e,t,n){var r=n.totalTime,i=p(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,!!n.disabled),o=e._data;return null!=o&&(i._data=o),i}function p(e,t,n,r,i,o,a){return void 0===i&&(i=""),void 0===o&&(o=0),{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!a}}function d(e,t,n){var r;return e instanceof Map?(r=e.get(t))||e.set(t,r=n):(r=e[t])||(r=e[t]=n),r}function h(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var m=function(e,t){return!1},g=function(e,t){return!1},v=function(e,t,n){return[]},y=s();(y||"undefined"!=typeof Element)&&(m=function(e,t){return e.contains(t)},g=function(){if(y||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])}:g}(),v=function(e,t,n){var i=[];if(n)i.push.apply(i,Object(r.g)(e.querySelectorAll(t)));else{var o=e.querySelector(t);o&&i.push(o)}return i});var b=null,_=!1;function w(e){b||(b=("undefined"!=typeof document?document.body:null)||{},_=!!b.style&&"WebkitAppearance"in b.style);var t=!0;return b.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&!(t=e in b.style)&&_&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in b.style),t}var C=g,E=m,O=v;function S(e){var t={};return Object.keys(e).forEach((function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]})),t}var x=function(){function e(){}return e.prototype.validateStyleProperty=function(e){return w(e)},e.prototype.matchesElement=function(e,t){return C(e,t)},e.prototype.containsElement=function(e,t){return E(e,t)},e.prototype.query=function(e,t,n){return O(e,t,n)},e.prototype.computeStyle=function(e,t,n){return n||""},e.prototype.animate=function(e,t,n,r,i,o,s){return void 0===o&&(o=[]),new a.d(n,r)},e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:function(t){return e.\u0275fac(t)}}),e}(),k=function(){function e(){}return e.NOOP=new x,e}();function I(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:T(parseFloat(t[1]),t[2])}function T(e,t){switch(t){case"s":return 1e3*e;default:return e}}function D(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var r,i=0,o="";if("string"==typeof e){var a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push('The provided timing value "'+e+'" is invalid.'),{duration:0,delay:0,easing:""};r=T(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(i=T(parseFloat(s),a[4]));var u=a[5];u&&(o=u)}else r=e;if(!n){var c=!1,l=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),c=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),c=!0),c&&t.splice(l,0,'The provided timing value "'+e+'" is invalid.')}return{duration:r,delay:i,easing:o}}(e,t,n)}function j(e,t){return void 0===t&&(t={}),Object.keys(e).forEach((function(n){t[n]=e[n]})),t}function P(e,t,n){if(void 0===n&&(n={}),t)for(var r in e)n[r]=e[r];else j(e,n);return n}function A(e,t,n){return n?t+":"+n+";":""}function R(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 r)return void t.push(r);e=r}var i=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'+e+'" is not supported'),t;var o=i[1],a=i[2],s=i[3];t.push($(o,s)),"<"!=a[0]||"*"==o&&"*"==s||t.push($(s,o))}(e,i,r)})):i.push(n),i),animation:o,queryCount:t.queryCount,depCount:t.depCount,options:ne(e.options)}},e.prototype.visitSequence=function(e,t){var n=this;return{type:2,steps:e.steps.map((function(e){return G(n,e,t)})),options:ne(e.options)}},e.prototype.visitGroup=function(e,t){var n=this,r=t.currentTime,i=0,o=e.steps.map((function(e){t.currentTime=r;var o=G(n,e,t);return i=Math.max(i,t.currentTime),o}));return t.currentTime=i,{type:3,steps:o,options:ne(e.options)}},e.prototype.visitAnimate=function(e,t){var n,r=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return re(D(e,t).duration,0,"");var r=e;if(r.split(/\s+/).some((function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)}))){var i=re(0,0,"");return i.dynamic=!0,i.strValue=r,i}return re((n=n||D(r,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;var i=e.styles?e.styles:Object(a.k)({});if(5==i.type)n=this.visitKeyframes(i,t);else{var o=e.styles,s=!1;if(!o){s=!0;var u={};r.easing&&(u.easing=r.easing),o=Object(a.k)(u)}t.currentTime+=r.duration+r.delay;var c=this.visitStyle(o,t);c.isEmptyStep=s,n=c}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}},e.prototype.visitStyle=function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n},e.prototype._makeStyleAst=function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach((function(e){"string"==typeof e?e==a.a?n.push(e):t.errors.push("The provided style string value "+e+" is not allowed."):n.push(e)})):n.push(e.styles);var r=!1,i=null;return n.forEach((function(e){if(te(e)){var t=e,n=t.easing;if(n&&(i=n,delete t.easing),!r)for(var o in t)if(t[o].toString().indexOf("{{")>=0){r=!0;break}}})),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}},e.prototype._validateStyleAst=function(e,t){var n=this,r=t.currentAnimateTimings,i=t.currentTime,o=t.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach((function(e){"string"!=typeof e&&Object.keys(e).forEach((function(r){if(n._driver.validateStyleProperty(r)){var a,s,u,c=t.collectedStyles[t.currentQuerySelector],l=c[r],f=!0;l&&(o!=i&&o>=l.startTime&&i<=l.endTime&&(t.errors.push('The CSS property "'+r+'" that exists between the times of "'+l.startTime+'ms" and "'+l.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+i+'ms"'),f=!1),o=l.startTime),f&&(c[r]={startTime:o,endTime:i}),t.options&&(a=t.errors,s=t.options.params||{},(u=V(e[r])).length&&u.forEach((function(e){s.hasOwnProperty(e)||a.push("Unable to resolve the local animation param "+e+" in the given list of values")})))}else t.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')}))}))},e.prototype.visitKeyframes=function(e,t){var n=this,r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],a=!1,s=!1,u=0,c=e.steps.map((function(e){var r=n._makeStyleAst(e,t),c=null!=r.offset?r.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach((function(e){if(te(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}}));else if(te(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(r.styles),l=0;return null!=c&&(i++,l=r.offset=c),s=s||l<0||l>1,a=a||l0&&i0?i==p?1:f*i:o[i],s=a*m;t.currentTime=d+h.delay+s,h.duration=s,n._validateStyleAst(e,t),e.offset=a,r.styles.push(e)})),r},e.prototype.visitReference=function(e,t){return{type:8,animation:G(this,F(e.animation),t),options:ne(e.options)}},e.prototype.visitAnimateChild=function(e,t){return t.depCount++,{type:9,options:ne(e.options)}},e.prototype.visitAnimateRef=function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ne(e.options)}},e.prototype.visitQuery=function(e,t){var n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;var o=Object(r.f)(function(e){var t=!!e.split(/\s*,\s*/).find((function(e){return":self"==e}));return t&&(e=e.replace(Z,"")),[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),a=o[0],s=o[1];t.currentQuerySelector=n.length?n+" "+a:a,d(t.collectedStyles,t.currentQuerySelector,{});var u=G(this,F(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:a,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:u,originalSelector:e.selector,options:ne(e.options)}},e.prototype.visitStagger=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"}:D(e.timings,t.errors,!0);return{type:12,animation:G(this,F(e.animation),t),timings:n,options:null}},e}(),ee=function(){return function(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}();function te(e){return!Array.isArray(e)&&"object"==typeof e}function ne(e){var t;return e?(e=j(e)).params&&(e.params=(t=e.params)?j(t):null):e={},e}function re(e,t,n){return{duration:e,delay:t,easing:n}}function ie(e,t,n,r,i,o,a,s){return void 0===a&&(a=null),void 0===s&&(s=!1),{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:a,subTimeline:s}}var oe=function(){function e(){this._map=new Map}return e.prototype.consume=function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t},e.prototype.append=function(e,t){var n=this._map.get(e);n||this._map.set(e,n=[]),n.push.apply(n,Object(r.g)(t))},e.prototype.has=function(e){return this._map.has(e)},e.prototype.clear=function(){this._map.clear()},e}(),ae=new RegExp(":enter","g"),se=new RegExp(":leave","g");function ue(e,t,n,r,i,o,a,s,u,c){return void 0===o&&(o={}),void 0===a&&(a={}),void 0===c&&(c=[]),(new ce).buildKeyframes(e,t,n,r,i,o,a,s,u,c)}var ce=function(){function e(){}return e.prototype.buildKeyframes=function(e,t,n,r,i,o,a,s,u,c){void 0===c&&(c=[]),u=u||new oe;var l=new fe(e,t,u,r,i,c,[]);l.options=s,l.currentTimeline.setStyles([o],null,l.errors,s),G(this,n,l);var f=l.timelines.filter((function(e){return e.containsAnimation()}));if(f.length&&Object.keys(a).length){var p=f[f.length-1];p.allowOnlyTimelineStyles()||p.setStyles([a],null,l.errors,s)}return f.length?f.map((function(e){return e.buildKeyframes()})):[ie(t,[],[],[],0,0,"",!1)]},e.prototype.visitTrigger=function(e,t){},e.prototype.visitState=function(e,t){},e.prototype.visitTransition=function(e,t){},e.prototype.visitAnimateChild=function(e,t){var n=t.subInstructions.consume(t.element);if(n){var r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e},e.prototype.visitAnimateRef=function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e},e.prototype._visitSubInstructions=function(e,t,n){var r=t.currentTimeline.currentTime,i=null!=n.duration?I(n.duration):null,o=null!=n.delay?I(n.delay):null;return 0!==i&&e.forEach((function(e){var n=t.appendInstructionToTimeline(e,i,o);r=Math.max(r,n.duration+n.delay)})),r},e.prototype.visitReference=function(e,t){t.updateOptions(e.options,!0),G(this,e.animation,t),t.previousNode=e},e.prototype.visitSequence=function(e,t){var n=this,r=t.subContextCount,i=t,o=e.options;if(o&&(o.params||o.delay)&&((i=t.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=le);var a=I(o.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach((function(e){return G(n,e,i)})),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),t.previousNode=e},e.prototype.visitGroup=function(e,t){var n=this,r=[],i=t.currentTimeline.currentTime,o=e.options&&e.options.delay?I(e.options.delay):0;e.steps.forEach((function(a){var s=t.createSubContext(e.options);o&&s.delayNextStep(o),G(n,a,s),i=Math.max(i,s.currentTimeline.currentTime),r.push(s.currentTimeline)})),r.forEach((function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)})),t.transformIntoNewTimeline(i),t.previousNode=e},e.prototype._visitTiming=function(e,t){if(e.dynamic){var n=e.strValue;return D(t.params?B(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}},e.prototype.visitAnimate=function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());var i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e},e.prototype.visitStyle=function(e,t){var n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e},e.prototype.visitKeyframes=function(e,t){var n=t.currentAnimateTimings,r=t.currentTimeline.duration,i=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach((function(e){o.forwardTime((e.offset||0)*i),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()})),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(r+i),t.previousNode=e},e.prototype.visitQuery=function(e,t){var n=this,r=t.currentTimeline.currentTime,i=e.options||{},o=i.delay?I(i.delay):0;o&&(6===t.previousNode.type||0==r&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=le);var a=r,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=s.length;var u=null;s.forEach((function(r,i){t.currentQueryIndex=i;var s=t.createSubContext(e.options,r);o&&s.delayNextStep(o),r===t.element&&(u=s.currentTimeline),G(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)})),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),u&&(t.currentTimeline.mergeTimelineCollectedStyles(u),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e},e.prototype.visitStagger=function(e,t){var n=t.parentContext,r=t.currentTimeline,i=e.timings,o=Math.abs(i.duration),a=o*(t.currentQueryTotal-1),s=o*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var u=t.currentTimeline;s&&u.delayNextStep(s);var c=u.currentTime;G(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)},e}(),le={},fe=function(){function e(e,t,n,r,i,o,a,s){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=le,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new pe(this._driver,t,0),a.push(this.currentTimeline)}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e,t){var n=this;if(e){var r=e,i=this.options;null!=r.duration&&(i.duration=I(r.duration)),null!=r.delay&&(i.delay=I(r.delay));var o=r.params;if(o){var a=i.params;a||(a=this.options.params={}),Object.keys(o).forEach((function(e){t&&a.hasOwnProperty(e)||(a[e]=B(o[e],a,n.errors))}))}}},e.prototype._copyOptions=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},e.prototype.createSubContext=function(t,n,r){void 0===t&&(t=null);var i=n||this.element,o=new e(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},e.prototype.transformIntoNewTimeline=function(e){return this.previousNode=le,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline},e.prototype.appendInstructionToTimeline=function(e,t,n){var r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new de(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r},e.prototype.incrementTime=function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)},e.prototype.delayNextStep=function(e){e>0&&this.currentTimeline.delayNextStep(e)},e.prototype.invokeQuery=function(e,t,n,i,o,a){var s=[];if(i&&s.push(this.element),e.length>0){e=(e=e.replace(ae,"."+this._enterClassName)).replace(se,"."+this._leaveClassName);var u=this._driver.query(this.element,e,1!=n);0!==n&&(u=n<0?u.slice(u.length+n,u.length):u.slice(0,n)),s.push.apply(s,Object(r.g)(u))}return o||0!=s.length||a.push('`query("'+t+'")` returned zero elements. (Use `query("'+t+'", { optional: true })` if you wish to allow this.)'),s},e}(),pe=function(){function e(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}return e.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},e.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(e.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),e.prototype.delayNextStep=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},e.prototype.fork=function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)},e.prototype._loadKeyframe=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))},e.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},e.prototype.forwardTime=function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()},e.prototype._updateStyle=function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}},e.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},e.prototype.applyEmptyStep=function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach((function(e){t._backFill[e]=t._globalTimelineStyles[e]||a.a,t._currentKeyframe[e]=a.a})),this._currentEmptyStepKeyframe=this._currentKeyframe},e.prototype.setStyles=function(e,t,n,r){var i=this;t&&(this._previousKeyframe.easing=t);var o=r&&r.params||{},s=function(e,t){var n,r={};return e.forEach((function(e){"*"===e?(n=n||Object.keys(t)).forEach((function(e){r[e]=a.a})):P(e,!1,r)})),r}(e,this._globalTimelineStyles);Object.keys(s).forEach((function(e){var t=B(s[e],o,n);i._pendingStyles[e]=t,i._localTimelineStyles.hasOwnProperty(e)||(i._backFill[e]=i._globalTimelineStyles.hasOwnProperty(e)?i._globalTimelineStyles[e]:a.a),i._updateStyle(e,t)}))},e.prototype.applyStylesToKeyframe=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])})))},e.prototype.snapshotCurrentStyles=function(){var e=this;Object.keys(this._localTimelineStyles).forEach((function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)}))},e.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(e.prototype,"properties",{get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e},enumerable:!0,configurable:!0}),e.prototype.mergeTimelineCollectedStyles=function(e){var t=this;Object.keys(e._styleSummary).forEach((function(n){var r=t._styleSummary[n],i=e._styleSummary[n];(!r||i.time>r.time)&&t._updateStyle(n,i.value)}))},e.prototype.buildKeyframes=function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach((function(o,s){var u=P(o,!0);Object.keys(u).forEach((function(e){var r=u[e];r==a.o?t.add(e):r==a.a&&n.add(e)})),r||(u.offset=s/e.duration),i.push(u)}));var o=t.size?H(t.values()):[],s=n.size?H(n.values()):[];if(r){var u=i[0],c=j(u);u.offset=0,c.offset=1,i=[u,c]}return ie(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)},e}(),de=function(e){function t(t,n,r,i,o,a,s){void 0===s&&(s=!1);var u=e.call(this,t,n,a.delay)||this;return u.element=n,u.keyframes=r,u.preStyleProps=i,u.postStyleProps=o,u._stretchStartingKeyframe=s,u.timings={duration:a.duration,delay:a.delay,easing:a.easing},u}return Object(r.c)(t,e),t.prototype.containsAnimation=function(){return this.keyframes.length>1},t.prototype.buildKeyframes=function(){var e=this.keyframes,t=this.timings,n=t.delay,r=t.duration,i=t.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=r+n,s=n/a,u=P(e[0],!1);u.offset=0,o.push(u);var c=P(e[0],!1);c.offset=he(s),o.push(c);for(var l=e.length-1,f=1;f<=l;f++){var p=P(e[f],!1);p.offset=he((n+p.offset*r)/a),o.push(p)}r=a,n=0,i="",e=o}return ie(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)},t}(pe);function he(e,t){void 0===t&&(t=3);var n=Math.pow(10,t-1);return Math.round(e*n)/n}var me=function(){return function(){}}(),ge=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.c)(t,e),t.prototype.normalizePropertyName=function(e,t){return z(e)},t.prototype.normalizeStyleValue=function(e,t,n,r){var i="",o=n.toString().trim();if(ve[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push("Please provide a CSS unit value for "+e+":"+n)}return o+i},t}(me),ve=function(){return e="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(","),t={},e.forEach((function(e){return t[e]=!0})),t;var e,t}();function ye(e,t,n,r,i,o,a,s,u,c,l,f,p){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:a,timelines:s,queriedElements:u,preStyleProps:c,postStyleProps:l,totalTime:f,errors:p}}var be={},_e=function(){function e(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}return e.prototype.match=function(e,t,n,r){return function(e,t,n,r,i){return e.some((function(e){return e(t,n,r,i)}))}(this.ast.matchers,e,t,n,r)},e.prototype.buildStyles=function(e,t,n){var r=this._stateStyles["*"],i=this._stateStyles[e],o=r?r.buildStyles(t,n):{};return i?i.buildStyles(t,n):o},e.prototype.build=function(e,t,n,i,o,a,s,u,c,l){var f=[],p=this.ast.options&&this.ast.options.params||be,h=this.buildStyles(n,s&&s.params||be,f),m=u&&u.params||be,g=this.buildStyles(i,m,f),v=new Set,y=new Map,b=new Map,_="void"===i,w={params:Object(r.a)(Object(r.a)({},p),m)},C=l?[]:ue(e,t,this.ast.animation,o,a,h,g,w,c,f),E=0;if(C.forEach((function(e){E=Math.max(e.duration+e.delay,E)})),f.length)return ye(t,this._triggerName,n,i,_,h,g,[],[],y,b,E,f);C.forEach((function(e){var n=e.element,r=d(y,n,{});e.preStyleProps.forEach((function(e){return r[e]=!0}));var i=d(b,n,{});e.postStyleProps.forEach((function(e){return i[e]=!0})),n!==t&&v.add(n)}));var O=H(v.values());return ye(t,this._triggerName,n,i,_,h,g,C,O,y,b,E)},e}(),we=function(){function e(e,t){this.styles=e,this.defaultParams=t}return e.prototype.buildStyles=function(e,t){var n={},r=j(this.defaultParams);return Object.keys(e).forEach((function(t){var n=e[t];null!=n&&(r[t]=n)})),this.styles.styles.forEach((function(e){if("string"!=typeof e){var i=e;Object.keys(i).forEach((function(e){var o=i[e];o.length>1&&(o=B(o,r,t)),n[e]=o}))}})),n},e}(),Ce=function(){function e(e,t){var n=this;this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach((function(e){n.states[e.name]=new we(e.style,e.options&&e.options.params||{})})),Ee(this.states,"true","1"),Ee(this.states,"false","0"),t.transitions.forEach((function(t){n.transitionFactories.push(new _e(e,t,n.states))})),this.fallbackTransition=new _e(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(e.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),e.prototype.matchTransition=function(e,t,n,r){return this.transitionFactories.find((function(i){return i.match(e,t,n,r)}))||null},e.prototype.matchStyles=function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)},e}();function Ee(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var Oe=new oe,Se=function(){function e(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return e.prototype.register=function(e,t){var n=[],r=X(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=r},e.prototype._buildPlayer=function(e,t,n){var r=e.element,i=c(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[],!0)},e.prototype.create=function(e,t,n){var r=this;void 0===n&&(n={});var i,o=[],s=this._animations[e],c=new Map;if(s?(i=ue(this._driver,t,s,"ng-enter","ng-leave",{},{},n,Oe,o)).forEach((function(e){var t=d(c,e.element,{});e.postStyleProps.forEach((function(e){return t[e]=null}))})):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));c.forEach((function(e,t){Object.keys(e).forEach((function(n){e[n]=r._driver.computeStyle(t,n,a.a)}))}));var l=u(i.map((function(e){var t=c.get(e.element);return r._buildPlayer(e,{},t)})));return this._playersById[e]=l,l.onDestroy((function(){return r.destroy(e)})),this.players.push(l),l},e.prototype.destroy=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)},e.prototype._getPlayer=function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t},e.prototype.listen=function(e,t,n,r){var i=p(t,"","","");return l(this._getPlayer(e),n,i,r),function(){}},e.prototype.command=function(e,t,n,r){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(r[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,r[0]||{});else this.register(e,r[0])},e}(),xe=[],ke={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ie={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Te=function(){function e(e,t){void 0===t&&(t=""),this.namespaceId=t;var n,r=e&&e.hasOwnProperty("value");if(this.value=null!=(n=r?e.value:e)?n:null,r){var i=j(e);delete i.value,this.options=i}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.absorbOptions=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}(),De=new Te("void"),je=function(){function e(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Le(t,this._hostClassName)}return e.prototype.listen=function(e,t,n,r){var i,o=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+t+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+t+'" because the provided event is undefined!');if("start"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+t+'" is not supported!');var a=d(this._elementListeners,e,[]),s={name:t,phase:n,callback:r};a.push(s);var u=d(this._engine.statesByElement,e,{});return u.hasOwnProperty(t)||(Le(e,"ng-trigger"),Le(e,"ng-trigger-"+t),u[t]=De),function(){o._engine.afterFlush((function(){var e=a.indexOf(s);e>=0&&a.splice(e,1),o._triggers[t]||delete u[t]}))}},e.prototype.register=function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)},e.prototype._getTrigger=function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'+e+'" has not been registered!');return t},e.prototype.trigger=function(e,t,n,r){var i=this;void 0===r&&(r=!0);var o=this._getTrigger(t),a=new Ae(this.id,t,e),s=this._engine.statesByElement.get(e);s||(Le(e,"ng-trigger"),Le(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var u=s[t],c=new Te(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&c.absorbOptions(u.options),s[t]=c,u||(u=De),"void"===c.value||u.value!==c.value){var l=d(this._engine.playersByElement,e,[]);l.forEach((function(e){e.namespaceId==i.id&&e.triggerName==t&&e.queued&&e.destroy()}));var f=o.matchTransition(u.value,c.value,e,c.params),p=!1;if(!f){if(!r)return;f=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:f,fromState:u,toState:c,player:a,isFallbackTransition:p}),p||(Le(e,"ng-animate-queued"),a.onStart((function(){Ve(e,"ng-animate-queued")}))),a.onDone((function(){var t=i.players.indexOf(a);t>=0&&i.players.splice(t,1);var n=i._engine.playersByElement.get(e);if(n){var r=n.indexOf(a);r>=0&&n.splice(r,1)}})),this.players.push(a),l.push(a),a}if(!function(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(var i=0;i=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,t)){this._namespaceList.splice(i+1,0,e),r=!0;break}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e},e.prototype.register=function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n},e.prototype.registerTrigger=function(e,t,n){var r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++},e.prototype.destroy=function(e,t){var n=this;if(e){var r=this._fetchNamespace(e);this.afterFlush((function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(r);t>=0&&n._namespaceList.splice(t,1)})),this.afterFlushAnimationsDone((function(){return r.destroy(t)}))}},e.prototype._fetchNamespace=function(e){return this._namespaceLookup[e]},e.prototype.fetchNamespacesByElement=function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var r=Object.keys(n),i=0;i=0&&this.collectedLeaveElements.splice(o,1)}if(e){var a=this._fetchNamespace(e);a&&a.insertNode(t,n)}r&&this.collectEnterElement(t)}},e.prototype.collectEnterElement=function(e){this.collectedEnterElements.push(e)},e.prototype.markElementAsDisabled=function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Le(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ve(e,"ng-animate-disabled"))},e.prototype.removeNode=function(e,t,n,r){if(Re(t)){var i=e?this._fetchNamespace(e):null;if(i?i.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),n){var o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,r)}}else this._onRemovalComplete(t,r)},e.prototype.markElementAsRemoved=function(e,t,n,r){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},e.prototype.listen=function(e,t,n,r,i){return Re(t)?this._fetchNamespace(e).listen(t,n,r,i):function(){}},e.prototype._buildInstruction=function(e,t,n,r,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,i)},e.prototype.destroyInnerAnimations=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)}))},e.prototype.destroyActiveAnimationsForElement=function(e){var t=this.playersByElement.get(e);t&&t.forEach((function(e){e.queued?e.markedForDestroy=!0:e.destroy()}))},e.prototype.finishActiveQueriedAnimationOnElement=function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach((function(e){return e.finish()}))},e.prototype.whenRenderingDone=function(){var e=this;return new Promise((function(t){if(e.players.length)return u(e.players).onDone((function(){return t()}));t()}))},e.prototype.processLeaveNode=function(e){var t=this,n=e.__ng_removed;if(n&&n.setForRemoval){if(e.__ng_removed=ke,n.namespaceId){this.destroyInnerAnimations(e);var r=this._fetchNamespace(n.namespaceId);r&&r.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)}))},e.prototype.flush=function(e){var t=this;void 0===e&&(e=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(e,n){return t._balanceNamespaceList(e,n)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r=0;I--)this._namespaceList[I].drainQueuedTransitions(t).forEach((function(e){var t=e.player,r=e.element;if(x.push(t),n.collectedEnterElements.length){var a=r.__ng_removed;if(a&&a.setForMove)return void t.destroy()}var s=!m||!n.driver.containsElement(m,r),u=O.get(r),h=y.get(r),g=n._buildInstruction(e,i,h,u,s);if(g.errors&&g.errors.length)k.push(g);else{if(s)return t.onStart((function(){return M(r,g.fromStyles)})),t.onDestroy((function(){return N(r,g.toStyles)})),void o.push(t);if(e.isFallbackTransition)return t.onStart((function(){return M(r,g.fromStyles)})),t.onDestroy((function(){return N(r,g.toStyles)})),void o.push(t);g.timelines.forEach((function(e){return e.stretchStartingKeyframe=!0})),i.append(r,g.timelines),c.push({instruction:g,player:t,element:r}),g.queriedElements.forEach((function(e){return d(l,e,[]).push(t)})),g.preStyleProps.forEach((function(e,t){var n=Object.keys(e);if(n.length){var r=f.get(t);r||f.set(t,r=new Set),n.forEach((function(e){return r.add(e)}))}})),g.postStyleProps.forEach((function(e,t){var n=Object.keys(e),r=p.get(t);r||p.set(t,r=new Set),n.forEach((function(e){return r.add(e)}))}))}}));if(k.length){var T=[];k.forEach((function(e){T.push("@"+e.triggerName+" has failed due to:\n"),e.errors.forEach((function(e){return T.push("- "+e+"\n")}))})),x.forEach((function(e){return e.destroy()})),this.reportError(T)}var D=new Map,j=new Map;c.forEach((function(e){var t=e.element;i.has(t)&&(j.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,D))})),o.forEach((function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach((function(e){d(D,t,[]).push(e),e.destroy()}))}));var P=_.filter((function(e){return He(e,f,p)})),A=new Map;Me(A,this.driver,C,p,a.a).forEach((function(e){He(e,f,p)&&P.push(e)}));var R=new Map;v.forEach((function(e,t){Me(R,n.driver,new Set(e),f,a.o)})),P.forEach((function(e){var t=A.get(e),n=R.get(e);A.set(e,Object(r.a)(Object(r.a)({},t),n))}));var F=[],L=[],V={};c.forEach((function(e){var t=e.element,r=e.player,a=e.instruction;if(i.has(t)){if(h.has(t))return r.onDestroy((function(){return N(t,a.toStyles)})),r.disabled=!0,r.overrideTotalTime(a.totalTime),void o.push(r);var c=V;if(j.size>1){for(var l=t,f=[];l=l.parentNode;){var p=j.get(l);if(p){c=p;break}f.push(l)}f.forEach((function(e){return j.set(e,c)}))}var d=n._buildAnimation(r.namespaceId,a,D,s,R,A);if(r.setRealPlayer(d),c===V)F.push(r);else{var m=n.playersByElement.get(c);m&&m.length&&(r.parentPlayer=u(m)),o.push(r)}}else M(t,a.fromStyles),r.onDestroy((function(){return N(t,a.toStyles)})),L.push(r),h.has(t)&&o.push(r)})),L.forEach((function(e){var t=s.get(e.element);if(t&&t.length){var n=u(t);e.setRealPlayer(n)}})),o.forEach((function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()}));for(var B=0;B<_.length;B++){var H,U=(H=_[B]).__ng_removed;if(Ve(H,"ng-leave"),!U||!U.hasAnimation){var z=[];if(l.size){var W=l.get(H);W&&W.length&&z.push.apply(z,Object(r.g)(W));for(var q=this.driver.query(H,".ng-animating",!0),G=0;G0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new a.d(e.duration,e.delay)},e}(),Ae=function(){function e(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new a.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return e.prototype.setRealPlayer=function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach((function(n){t._queuedCallbacks[n].forEach((function(t){return l(e,n,void 0,t)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)},e.prototype.getRealPlayer=function(){return this._player},e.prototype.overrideTotalTime=function(e){this.totalTime=e},e.prototype.syncPlayerEvents=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()}))},e.prototype._queueEvent=function(e,t){d(this._queuedCallbacks,e,[]).push(t)},e.prototype.onDone=function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)},e.prototype.onStart=function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)},e.prototype.onDestroy=function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)},e.prototype.init=function(){this._player.init()},e.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},e.prototype.play=function(){!this.queued&&this._player.play()},e.prototype.pause=function(){!this.queued&&this._player.pause()},e.prototype.restart=function(){!this.queued&&this._player.restart()},e.prototype.finish=function(){this._player.finish()},e.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},e.prototype.reset=function(){!this.queued&&this._player.reset()},e.prototype.setPosition=function(e){this.queued||this._player.setPosition(e)},e.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},e.prototype.triggerCallback=function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)},e}();function Re(e){return e&&1===e.nodeType}function Ne(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function Me(e,t,n,r,i){var o=[];n.forEach((function(e){return o.push(Ne(e))}));var a=[];r.forEach((function(n,r){var o={};n.forEach((function(e){var n=o[e]=t.computeStyle(r,e,i);n&&0!=n.length||(r.__ng_removed=Ie,a.push(r))})),e.set(r,o)}));var s=0;return n.forEach((function(e){return Ne(e,o[s++])})),a}function Fe(e,t){var n=new Map;if(e.forEach((function(e){return n.set(e,[])})),0==t.length)return n;var r=new Set(t),i=new Map;return t.forEach((function(e){var t=function e(t){if(!t)return 1;var o=i.get(t);if(o)return o;var a=t.parentNode;return o=n.has(a)?a:r.has(a)?1:e(a),i.set(t,o),o}(e);1!==t&&n.get(t).push(e)})),n}function Le(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Ve(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function Be(e,t,n){u(n).onDone((function(){return e.processLeaveNode(t)}))}function He(e,t,n){var r=n.get(e);if(!r)return!1;var i=t.get(e);return i?r.forEach((function(e){return i.add(e)})):t.set(e,r),n.delete(e),!0}var Ue=function(){function e(e,t,n){var r=this;this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new Pe(e,t,n),this._timelineEngine=new Se(e,t,n),this._transitionEngine.onRemovalComplete=function(e,t){return r.onRemovalComplete(e,t)}}return e.prototype.registerTrigger=function(e,t,n,r,i){var o=e+"-"+r,a=this._triggerCache[o];if(!a){var s=[],u=X(this._driver,i,s);if(s.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+s.join("\n - "));a=function(e,t){return new Ce(e,t)}(r,u),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,r,a)},e.prototype.register=function(e,t){this._transitionEngine.register(e,t)},e.prototype.destroy=function(e,t){this._transitionEngine.destroy(e,t)},e.prototype.onInsert=function(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)},e.prototype.onRemove=function(e,t,n,r){this._transitionEngine.removeNode(e,t,r||!1,n)},e.prototype.disableAnimations=function(e,t){this._transitionEngine.markElementAsDisabled(e,t)},e.prototype.process=function(e,t,n,i){if("@"==n.charAt(0)){var o=Object(r.f)(h(n),2);this._timelineEngine.command(o[0],t,o[1],i)}else this._transitionEngine.trigger(e,t,n,i)},e.prototype.listen=function(e,t,n,i,o){if("@"==n.charAt(0)){var a=Object(r.f)(h(n),2);return this._timelineEngine.listen(a[0],t,a[1],o)}return this._transitionEngine.listen(e,t,n,i,o)},e.prototype.flush=function(e){void 0===e&&(e=-1),this._transitionEngine.flush(e)},Object.defineProperty(e.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),e.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},e}();function ze(e,t){var n=null,r=null;return Array.isArray(t)&&t.length?(n=qe(t[0]),t.length>1&&(r=qe(t[t.length-1]))):t&&(n=qe(t)),n||r?new We(e,n,r):null}var We=function(){function e(t,n,r){this._element=t,this._startStyles=n,this._endStyles=r,this._state=0;var i=e.initialStylesByElement.get(t);i||e.initialStylesByElement.set(t,i={}),this._initialStyles=i}return e.prototype.start=function(){this._state<1&&(this._startStyles&&N(this._element,this._startStyles,this._initialStyles),this._state=1)},e.prototype.finish=function(){this.start(),this._state<2&&(N(this._element,this._initialStyles),this._endStyles&&(N(this._element,this._endStyles),this._endStyles=null),this._state=1)},e.prototype.destroy=function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(M(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(M(this._element,this._endStyles),this._endStyles=null),N(this._element,this._initialStyles),this._state=3)},e.initialStylesByElement=new WeakMap,e}();function qe(e){for(var t=null,n=Object.keys(e),r=0;r=this._delay&&n>=this._duration&&this.finish()},e.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),Ze(this._element,this._eventFn,!0))},e.prototype.destroy=function(){var e,t,n,r;this._destroyed||(this._destroyed=!0,this.finish(),t=this._name,(r=$e(n=Je(e=this._element,"").split(","),t))>=0&&(n.splice(r,1),Xe(e,"",n.join(","))))},e}();function Qe(e,t,n){Xe(e,"PlayState",n,Ke(e,t))}function Ke(e,t){var n=Je(e,"");return n.indexOf(",")>0?$e(n.split(","),t):$e([n],t)}function $e(e,t){for(var n=0;n=0)return n;return-1}function Ze(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function Xe(e,t,n,r){var i="animation"+t;if(null!=r){var o=e.style[i];if(o.length){var a=o.split(",");a[r]=n,n=a.join(",")}}e.style[i]=n}function Je(e,t){return e.style["animation"+t]}var et=function(){function e(e,t,n,r,i,o,a,s){this.element=e,this.keyframes=t,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=a,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=r+i,this._buildStyler()}return e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.destroy=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=[])},e.prototype._flushDoneFns=function(){this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[]},e.prototype._flushStartFns=function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]},e.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())},e.prototype.setPosition=function(e){this._styler.setPosition(e)},e.prototype.getPosition=function(){return this._styler.getPosition()},e.prototype.hasStarted=function(){return this._state>=2},e.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},e.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()},e.prototype.pause=function(){this.init(),this._styler.pause()},e.prototype.restart=function(){this.reset(),this.play()},e.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},e.prototype._buildStyler=function(){var e=this;this._styler=new Ye(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return e.finish()}))},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0},e.prototype.beforeDestroy=function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach((function(r){"offset"!=r&&(t[r]=n?e._finalStyles[r]:Y(e.element,r))}))}this.currentSnapshot=t},e}(),tt=function(e){function t(t,n){var r=e.call(this)||this;return r.element=t,r._startingStyles={},r.__initialized=!1,r._styles=S(n),r}return Object(r.c)(t,e),t.prototype.init=function(){var t=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(e){t._startingStyles[e]=t.element.style[e]})),e.prototype.init.call(this))},t.prototype.play=function(){var t=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(e){return t.element.style.setProperty(e,t._styles[e])})),e.prototype.play.call(this))},t.prototype.destroy=function(){var t=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(e){var n=t._startingStyles[e];n?t.element.style.setProperty(e,n):t.element.style.removeProperty(e)})),this._startingStyles=null,e.prototype.destroy.call(this))},t}(a.d),nt=function(){function e(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return e.prototype.validateStyleProperty=function(e){return w(e)},e.prototype.matchesElement=function(e,t){return C(e,t)},e.prototype.containsElement=function(e,t){return E(e,t)},e.prototype.query=function(e,t,n){return O(e,t,n)},e.prototype.computeStyle=function(e,t,n){return window.getComputedStyle(e)[t]},e.prototype.buildKeyframeElement=function(e,t,n){n=n.map((function(e){return S(e)}));var r="@keyframes "+t+" {\n",i="";n.forEach((function(e){i=" ";var t=parseFloat(e.offset);r+=""+i+100*t+"% {\n",i+=" ",Object.keys(e).forEach((function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+=i+"animation-timing-function: "+n+";\n"));default:return void(r+=""+i+t+": "+n+";\n")}})),r+=i+"}\n"})),r+="}\n";var o=document.createElement("style");return o.innerHTML=r,o},e.prototype.animate=function(e,t,n,r,i,o,a){void 0===o&&(o=[]),a&&this._notifyFaultyScrubber();var s=o.filter((function(e){return e instanceof et})),u={};W(n,r)&&s.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return u[e]=t[e]}))}));var c=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=q(e,t,u));if(0==n)return new tt(e,c);var l="gen_css_kf_"+this._count++,f=this.buildKeyframeElement(e,l,t);document.querySelector("head").appendChild(f);var p=ze(e,t),d=new et(e,t,l,n,r,i,c,p);return d.onDestroy((function(){var e;(e=f).parentNode.removeChild(e)})),d},e.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},e}(),rt=function(){function e(e,t,n,r){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])},e.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},e.prototype._buildPlayer=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()}))}},e.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},e.prototype._triggerWebAnimation=function(e,t,n){return e.animate(t,n)},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.play=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()},e.prototype.pause=function(){this.init(),this.domPlayer.pause()},e.prototype.finish=function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()},e.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},e.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},e.prototype.restart=function(){this.reset(),this.play()},e.prototype.hasStarted=function(){return this._started},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])},e.prototype.setPosition=function(e){this.domPlayer.currentTime=e*this.time},e.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(e.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),e.prototype.beforeDestroy=function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:Y(e.element,n))})),this.currentSnapshot=t},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0},e}(),it=function(){function e(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ot().toString()),this._cssKeyframesDriver=new nt}return e.prototype.validateStyleProperty=function(e){return w(e)},e.prototype.matchesElement=function(e,t){return C(e,t)},e.prototype.containsElement=function(e,t){return E(e,t)},e.prototype.query=function(e,t,n){return O(e,t,n)},e.prototype.computeStyle=function(e,t,n){return window.getComputedStyle(e)[t]},e.prototype.overrideWebAnimationsSupport=function(e){this._isNativeImpl=e},e.prototype.animate=function(e,t,n,r,i,o,a){if(void 0===o&&(o=[]),!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,i,o);var s={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(s.easing=i);var u={},c=o.filter((function(e){return e instanceof rt}));W(n,r)&&c.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return u[e]=t[e]}))}));var l=ze(e,t=q(e,t=t.map((function(e){return P(e,!1)})),u));return new rt(e,t,s,l)},e}();function ot(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var at=n("Valr");n.d(t,"ANIMATION_MODULE_TYPE",(function(){return yt})),n.d(t,"BrowserAnimationsModule",(function(){return Ct})),n.d(t,"NoopAnimationsModule",(function(){return Et})),n.d(t,"\u0275AnimationRenderer",(function(){return dt})),n.d(t,"\u0275AnimationRendererFactory",(function(){return ft})),n.d(t,"\u0275BrowserAnimationBuilder",(function(){return st})),n.d(t,"\u0275BrowserAnimationFactory",(function(){return ut})),n.d(t,"\u0275InjectableAnimationEngine",(function(){return ht})),n.d(t,"\u0275angular_packages_platform_browser_animations_animations_a",(function(){return mt})),n.d(t,"\u0275angular_packages_platform_browser_animations_animations_b",(function(){return gt})),n.d(t,"\u0275angular_packages_platform_browser_animations_animations_c",(function(){return vt})),n.d(t,"\u0275angular_packages_platform_browser_animations_animations_d",(function(){return _t})),n.d(t,"\u0275angular_packages_platform_browser_animations_animations_e",(function(){return wt})),n.d(t,"\u0275angular_packages_platform_browser_animations_animations_f",(function(){return pt}));var st=function(e){function t(t,n){var r=e.call(this)||this;return r._nextAnimationId=0,r._renderer=t.createRenderer(n.body,{id:"0",encapsulation:i.ViewEncapsulation.None,styles:[],data:{animation:[]}}),r}return Object(r.c)(t,e),t.prototype.build=function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?Object(a.i)(e):e;return lt(this._renderer,null,t,"register",[n]),new ut(t,this._renderer)},t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](i.RendererFactory2),i["\u0275\u0275inject"](at.DOCUMENT))},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:function(e){return t.\u0275fac(e)}}),t}(a.b),ut=function(e){function t(t,n){var r=e.call(this)||this;return r._id=t,r._renderer=n,r}return Object(r.c)(t,e),t.prototype.create=function(e,t){return new ct(this._id,e,t||{},this._renderer)},t}(a.c),ct=function(){function e(e,t,n,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return e.prototype._listen=function(e,t){return this._renderer.listen(this.element,"@@"+this.id+":"+e,t)},e.prototype._command=function(e){for(var t=[],n=1;n=0&&e0&&t-1 in e)}E.fn=E.prototype={jquery:"3.4.1",constructor:E,length:0,toArray:function(){return u.call(this)},get:function(e){return null==e?u.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=E.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return E.each(this,e)},map:function(e){return this.pushStack(E.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+F+")"+F+"*"),q=new RegExp(F+"|>"),G=new RegExp(B),Y=new RegExp("^"+L+"$"),Q={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+V),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:new RegExp("^(?:"+M+")$","i"),needsContext:new RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,$=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+F+"?|("+F+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){p()},ae=_e((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{A.apply(D=R.call(w.childNodes),w.childNodes)}catch(Se){A={apply:D.length?function(e,t){P.apply(e,R.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,i){var o,s,c,l,f,h,v,y=t&&t.ownerDocument,C=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==C&&9!==C&&11!==C)return r;if(!i&&((t?t.ownerDocument||t:w)!==d&&p(t),t=t||d,m)){if(11!==C&&(f=J.exec(e)))if(o=f[1]){if(9===C){if(!(c=t.getElementById(o)))return r;if(c.id===o)return r.push(c),r}else if(y&&(c=y.getElementById(o))&&b(t,c)&&c.id===o)return r.push(c),r}else{if(f[2])return A.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return A.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!k[e+" "]&&(!g||!g.test(e))&&(1!==C||"object"!==t.nodeName.toLowerCase())){if(v=e,y=t,1===C&&q.test(e)){for((l=t.getAttribute("id"))?l=l.replace(re,ie):t.setAttribute("id",l=_),s=(h=a(e)).length;s--;)h[s]="#"+l+" "+be(h[s]);v=h.join(","),y=ee.test(e)&&ve(t.parentNode)||t}try{return A.apply(r,y.querySelectorAll(v)),r}catch(E){k(e,!0)}finally{l===_&&t.removeAttribute("id")}}}return u(e.replace(U,"$1"),t,r,i)}function ue(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function ce(e){return e[_]=!0,e}function le(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(Se){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function de(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ce((function(t){return t=+t,ce((function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},o=se.isXML=function(e){var t=(e.ownerDocument||e).documentElement;return!K.test(e.namespaceURI||t&&t.nodeName||"HTML")},p=se.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!==d&&9===a.nodeType&&a.documentElement?(h=(d=a).documentElement,m=!o(d),w!==d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),n.attributes=le((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=le((function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=X.test(d.getElementsByClassName),n.getById=le((function(e){return h.appendChild(e).id=_,!d.getElementsByName||!d.getElementsByName(_).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=X.test(d.querySelectorAll))&&(le((function(e){h.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+F+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+F+"*(?:value|"+M+")"),e.querySelectorAll("[id~="+_+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+_+"+*").length||g.push(".#.+[+~]")})),le((function(e){e.innerHTML="";var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+F+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=X.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&le((function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),v.push("!=",B)})),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=X.test(h.compareDocumentPosition),b=t||X.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},I=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===d||e.ownerDocument===w&&b(w,e)?-1:t===d||t.ownerDocument===w&&b(w,t)?1:l?N(l,e)-N(l,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===d?-1:t===d?1:i?-1:o?1:l?N(l,e)-N(l,t):0;if(i===o)return pe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?pe(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},d):d},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==d&&p(e),n.matchesSelector&&m&&!k[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(Se){k(t,!0)}return se(t,d,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!==d&&p(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!==d&&p(e);var i=r.attrHandle[t.toLowerCase()],o=i&&T.call(r.attrHandle,t.toLowerCase())?i(e,t,!m):void 0;return void 0!==o?o:n.attributes||!m?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(I),f){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return l=null,e},i=se.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=se.selectors={cacheLength:50,createPseudo:ce,match:Q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&G.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=O[e+" "];return t||(t=new RegExp("(^|"+F+")"+e+"("+F+"|$)"))&&O(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=se.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(H," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var c,l,f,p,d,h,m=o!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!u&&!s,b=!1;if(g){if(o){for(;m;){for(p=t;p=p[m];)if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&y){for(b=(d=(c=(l=(f=(p=g)[_]||(p[_]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===C&&c[1])&&c[2],p=d&&g.childNodes[d];p=++d&&p&&p[m]||(b=d=0)||h.pop();)if(1===p.nodeType&&++b&&p===t){l[e]=[C,d,b];break}}else if(y&&(b=d=(c=(l=(f=(p=t)[_]||(p[_]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===C&&c[1]),!1===b)for(;(p=++d&&p&&p[m]||(b=d=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++b||(y&&((l=(f=p[_]||(p[_]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]=[C,b]),p!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return i[_]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=N(e,o[a])]=!(n[r]=o[a])})):function(e){return i(e,0,n)}):i}},pseudos:{not:ce((function(e){var t=[],n=[],r=s(e.replace(U,"$1"));return r[_]?ce((function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:ce((function(e){return function(t){return se(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}})),lang:ce((function(e){return Y.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Z.test(e.nodeName)},input:function(e){return $.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge((function(){return[0]})),last:ge((function(e,t){return[t-1]})),eq:ge((function(e,t,n){return[n<0?n+t:n]})),even:ge((function(e,t){for(var n=0;nt?t:n;--r>=0;)e.push(r);return e})),gt:ge((function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function Ce(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,c=null!=t;s-1&&(o[c]=!(a[c]=f))}}else v=Ce(v===a?v.splice(h,v.length):v),i?i(null,a,v,u):A.apply(a,v)}))}function Oe(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,l=_e((function(e){return e===t}),s,!0),f=_e((function(e){return N(t,e)>-1}),s,!0),p=[function(e,n,r){var i=!a&&(r||n!==c)||((t=n).nodeType?l(e,n,r):f(e,n,r));return t=null,i}];u1&&we(p),u>1&&be(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(U,"$1"),n,u0,i=e.length>0,o=function(o,a,s,u,l){var f,h,g,v=0,y="0",b=o&&[],_=[],w=c,E=o||i&&r.find.TAG("*",l),O=C+=null==w?1:Math.random()||.1,S=E.length;for(l&&(c=a===d||a||l);y!==S&&null!=(f=E[y]);y++){if(i&&f){for(h=0,a||f.ownerDocument===d||(p(f),s=!m);g=e[h++];)if(g(f,a||d,s)){u.push(f);break}l&&(C=O)}n&&((f=!g&&f)&&v--,o&&b.push(f))}if(v+=y,n&&y!==v){for(h=0;g=t[h++];)g(b,_,a,s);if(o){if(v>0)for(;y--;)b[y]||_[y]||(_[y]=j.call(u));_=Ce(_)}A.apply(u,_),l&&!o&&_.length>0&&v+t.length>1&&se.uniqueSort(u)}return l&&(C=O,c=w),b};return n?ce(o):o}(o,i))).selector=e}return s},u=se.select=function(e,t,n,i){var o,u,c,l,f,p="function"==typeof e&&e,d=!i&&a(e=p.selector||e);if(n=n||[],1===d.length){if((u=d[0]=d[0].slice(0)).length>2&&"ID"===(c=u[0]).type&&9===t.nodeType&&m&&r.relative[u[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(o=Q.needsContext.test(e)?0:u.length;o--&&!r.relative[l=(c=u[o]).type];)if((f=r.find[l])&&(i=f(c.matches[0].replace(te,ne),ee.test(u[0].type)&&ve(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&be(u)))return A.apply(n,i),n;break}}return(p||s(e,d))(i,t,!m,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=_.split("").sort(I).join("")===_,n.detectDuplicates=!!f,p(),n.sortDetached=le((function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))})),le((function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")}))||fe("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&le((function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||fe("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),le((function(e){return null==e.getAttribute("disabled")}))||fe(M,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(n);E.find=x,E.expr=x.selectors,E.expr[":"]=E.expr.pseudos,E.uniqueSort=E.unique=x.uniqueSort,E.text=x.getText,E.isXMLDoc=x.isXML,E.contains=x.contains,E.escapeSelector=x.escape;var k=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&E(e).is(n))break;r.push(e)}return r},I=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},T=E.expr.match.needsContext;function D(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var j=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function P(e,t,n){return y(t)?E.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?E.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?E.grep(e,(function(e){return f.call(t,e)>-1!==n})):E.filter(t,e,n)}E.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?E.find.matchesSelector(r,e)?[r]:[]:E.find.matches(e,E.grep(t,(function(e){return 1===e.nodeType})))},E.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(E(e).filter((function(){for(t=0;t1?E.uniqueSort(n):n},filter:function(e){return this.pushStack(P(this,e||[],!1))},not:function(e){return this.pushStack(P(this,e||[],!0))},is:function(e){return!!P(this,"string"==typeof e&&T.test(e)?E(e):e||[],!1).length}});var A,R=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(E.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||A,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:R.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(E.merge(this,E.parseHTML(r[1],(t=t instanceof E?t[0]:t)&&t.nodeType?t.ownerDocument||t:a,!0)),j.test(r[1])&&E.isPlainObject(t))for(r in t)y(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=a.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(E):E.makeArray(e,this)}).prototype=E.fn,A=E(a);var N=/^(?:parents|prev(?:Until|All))/,M={children:!0,contents:!0,next:!0,prev:!0};function F(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}E.fn.extend({has:function(e){var t=E(e,this),n=t.length;return this.filter((function(){for(var e=0;e-1:1===n.nodeType&&E.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?E.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?f.call(E(e),this[0]):f.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),E.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return k(e,"parentNode")},parentsUntil:function(e,t,n){return k(e,"parentNode",n)},next:function(e){return F(e,"nextSibling")},prev:function(e){return F(e,"previousSibling")},nextAll:function(e){return k(e,"nextSibling")},prevAll:function(e){return k(e,"previousSibling")},nextUntil:function(e,t,n){return k(e,"nextSibling",n)},prevUntil:function(e,t,n){return k(e,"previousSibling",n)},siblings:function(e){return I((e.parentNode||{}).firstChild,e)},children:function(e){return I(e.firstChild)},contents:function(e){return void 0!==e.contentDocument?e.contentDocument:(D(e,"template")&&(e=e.content||e),E.merge([],e.childNodes))}},(function(e,t){E.fn[e]=function(n,r){var i=E.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=E.filter(r,i)),this.length>1&&(M[e]||E.uniqueSort(i),N.test(e)&&i.reverse()),this.pushStack(i)}}));var L=/[^\x20\t\r\n\f]+/g;function V(e){return e}function B(e){throw e}function H(e,t,n,r){var i;try{e&&y(i=e.promise)?i.call(e).done(t).fail(n):e&&y(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}E.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return E.each(e.match(L)||[],(function(e,n){t[n]=!0})),t}(e):E.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s-1;)o.splice(n,1),n<=s&&s--})),this},has:function(e){return e?E.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},E.extend({Deferred:function(e){var t=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return E.Deferred((function(n){E.each(t,(function(t,r){var i=y(e[r[4]])&&e[r[4]];o[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&y(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,r,i){var o=0;function a(e,t,r,i){return function(){var s=this,u=arguments,c=function(){var n,c;if(!(e=o&&(r!==B&&(s=void 0,u=[n]),t.rejectWith(s,u))}};e?l():(E.Deferred.getStackHook&&(l.stackTrace=E.Deferred.getStackHook()),n.setTimeout(l))}}return E.Deferred((function(n){t[0][3].add(a(0,n,y(i)?i:V,n.notifyWith)),t[1][3].add(a(0,n,y(e)?e:V)),t[2][3].add(a(0,n,y(r)?r:B))})).promise()},promise:function(e){return null!=e?E.extend(e,i):i}},o={};return E.each(t,(function(e,n){var a=n[2],s=n[5];i[n[1]]=a.add,s&&a.add((function(){r=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith})),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=u.call(arguments),o=E.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?u.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(H(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||y(i[n]&&i[n].then)))return o.then();for(;n--;)H(i[n],a(n),o.reject);return o.promise()}});var U=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&U.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},E.readyException=function(e){n.setTimeout((function(){throw e}))};var z=E.Deferred();function W(){a.removeEventListener("DOMContentLoaded",W),n.removeEventListener("load",W),E.ready()}E.fn.ready=function(e){return z.then(e).catch((function(e){E.readyException(e)})),this},E.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--E.readyWait:E.isReady)||(E.isReady=!0,!0!==e&&--E.readyWait>0||z.resolveWith(a,[E]))}}),E.ready.then=z.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?n.setTimeout(E.ready):(a.addEventListener("DOMContentLoaded",W),n.addEventListener("load",W));var q=function(e,t,n,r,i,o,a){var s=0,u=e.length,c=null==n;if("object"===C(n))for(s in i=!0,n)q(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,y(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(E(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each((function(){J.remove(this,e)}))}}),E.extend({queue:function(e,t,n){var r;if(e)return r=X.get(e,t=(t||"fx")+"queue"),n&&(!r||Array.isArray(n)?r=X.access(e,t,E.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){var n=E.queue(e,t=t||"fx"),r=n.length,i=n.shift(),o=E._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){E.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return X.get(e,n)||X.access(e,n,{empty:E.Callbacks("once memory").add((function(){X.remove(e,[t+"queue",n])}))})}}),E.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,ve=/^$|^module$|\/(?:java|ecma)script/i,ye={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function be(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&D(e,t)?E.merge([e],n):n}function _e(e,t){for(var n=0,r=e.length;n-1)i&&i.push(o);else if(c=se(o),a=be(f.appendChild(o),"script"),c&&_e(a),n)for(l=0;o=a[l++];)ve.test(o.type||"")&&n.push(o);return f}we=a.createDocumentFragment().appendChild(a.createElement("div")),(Ce=a.createElement("input")).setAttribute("type","radio"),Ce.setAttribute("checked","checked"),Ce.setAttribute("name","t"),we.appendChild(Ce),v.checkClone=we.cloneNode(!0).cloneNode(!0).lastChild.checked,we.innerHTML="",v.noCloneChecked=!!we.cloneNode(!0).lastChild.defaultValue;var Se=/^key/,xe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ke=/^([^.]*)(?:\.(.+)|)/;function Ie(){return!0}function Te(){return!1}function De(e,t){return e===function(){try{return a.activeElement}catch(e){}}()==("focus"===t)}function je(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)je(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Te;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return E().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=E.guid++)),e.each((function(){E.event.add(this,t,i,r,n)}))}function Pe(e,t,n){n?(X.set(e,t,!1),E.event.add(e,t,{namespace:!1,handler:function(e){var r,i,o=X.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(E.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=u.call(arguments),X.set(this,t,o),r=n(this,t),this[t](),o!==(i=X.get(this,t))||r?X.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i.value}else o.length&&(X.set(this,t,{value:E.event.trigger(E.extend(o[0],E.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===X.get(e,t)&&E.event.add(e,t,Ie)}E.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,c,l,f,p,d,h,m,g=X.get(e);if(g)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&E.find.matchesSelector(ae,i),n.guid||(n.guid=E.guid++),(u=g.events)||(u=g.events={}),(a=g.handle)||(a=g.handle=function(t){return void 0!==E&&E.event.triggered!==t.type?E.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(L)||[""]).length;c--;)d=m=(s=ke.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=E.event.special[d]||{},f=E.event.special[d=(i?f.delegateType:f.bindType)||d]||{},l=E.extend({type:d,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&E.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,l):p.push(l),E.event.global[d]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,c,l,f,p,d,h,m,g=X.hasData(e)&&X.get(e);if(g&&(u=g.events)){for(c=(t=(t||"").match(L)||[""]).length;c--;)if(d=m=(s=ke.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),d){for(f=E.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)l=p[o],!i&&m!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(p.splice(o,1),l.selector&&p.delegateCount--,f.remove&&f.remove.call(e,l));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,g.handle)||E.removeEvent(e,d,g.handle),delete u[d])}else for(d in u)E.event.remove(e,d+t[c],n,r,!0);E.isEmptyObject(u)&&X.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=E.event.fix(e),u=new Array(arguments.length),c=(X.get(this,"events")||{})[s.type]||[],l=E.event.special[s.type]||{};for(u[0]=s,t=1;t=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],a={},n=0;n-1:E.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&s.push({elem:c,handlers:o})}return c=this,u\x20\t\r\n\f]*)[^>]*)\/>/gi,Re=/\s*$/g;function Fe(e,t){return D(e,"table")&&D(11!==t.nodeType?t:t.firstChild,"tr")&&E(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ve(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Be(e,t){var n,r,i,o,a,s,u,c;if(1===t.nodeType){if(X.hasData(e)&&(o=X.access(e),a=X.set(t,o),c=o.events))for(i in delete a.handle,a.events={},c)for(n=0,r=c[i].length;n1&&"string"==typeof h&&!v.checkClone&&Ne.test(h))return e.each((function(i){var o=e.eq(i);m&&(t[0]=h.call(this,i,o.html())),Ue(o,t,n,r)}));if(p&&(o=(i=Oe(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=E.map(be(i,"script"),Le)).length;f")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=se(e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||E.isXMLDoc(e)))for(a=be(s),r=0,i=(o=be(e)).length;r0&&_e(a,!u&&be(e,"script")),s},cleanData:function(e){for(var t,n,r,i=E.event.special,o=0;void 0!==(n=e[o]);o++)if($(n)){if(t=n[X.expando]){if(t.events)for(r in t.events)i[r]?E.event.remove(n,r):E.removeEvent(n,r,t.handle);n[X.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),E.fn.extend({detach:function(e){return ze(this,e,!0)},remove:function(e){return ze(this,e)},text:function(e){return q(this,(function(e){return void 0===e?E.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Ue(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Fe(this,e).appendChild(e)}))},prepend:function(){return Ue(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Fe(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ue(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ue(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(E.cleanData(be(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return E.clone(this,e,t)}))},html:function(e){return q(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Re.test(e)&&!ye[(ge.exec(e)||["",""])[1].toLowerCase()]){e=E.htmlPrefilter(e);try{for(;n=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function ot(e,t,n){var r=qe(e),i=(!v.boxSizingReliable()||n)&&"border-box"===E.css(e,"boxSizing",!1,r),o=i,a=Ye(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(We.test(a)){if(!n)return a;a="auto"}return(!v.boxSizingReliable()&&i||"auto"===a||!parseFloat(a)&&"inline"===E.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===E.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+it(e,t,n||(i?"border":"content"),o,r,a)+"px"}function at(e,t,n,r,i){return new at.prototype.init(e,t,n,r,i)}E.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ye(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=K(t),u=et.test(t),c=e.style;if(u||(t=Xe(s)),a=E.cssHooks[t]||E.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:c[t];"string"==(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=fe(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(E.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,a,s=K(t);return et.test(t)||(t=Xe(s)),(a=E.cssHooks[t]||E.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ye(e,t,r)),"normal"===i&&t in nt&&(i=nt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),E.each(["height","width"],(function(e,t){E.cssHooks[t]={get:function(e,n,r){if(n)return!Je.test(E.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,t,r):le(e,tt,(function(){return ot(e,t,r)}))},set:function(e,n,r){var i,o=qe(e),a=!v.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===E.css(e,"boxSizing",!1,o),u=r?it(e,t,r,s,o):0;return s&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-it(e,t,"border",!1,o)-.5)),u&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=E.css(e,t)),rt(0,n,u)}}})),E.cssHooks.marginLeft=Qe(v.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Ye(e,"marginLeft"))||e.getBoundingClientRect().left-le(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),E.each({margin:"",padding:"",border:"Width"},(function(e,t){E.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+oe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(E.cssHooks[e+t].set=rt)})),E.fn.extend({css:function(e,t){return q(this,(function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=qe(e),i=t.length;a1)}}),E.Tween=at,(at.prototype={constructor:at,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||E.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(E.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.propHooks[this.prop];return this.pos=t=this.options.duration?E.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):at.propHooks._default.set(this),this}}).init.prototype=at.prototype,(at.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=E.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){E.fx.step[e.prop]?E.fx.step[e.prop](e):1!==e.elem.nodeType||!E.cssHooks[e.prop]&&null==e.elem.style[Xe(e.prop)]?e.elem[e.prop]=e.now:E.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},E.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},E.fx=at.prototype.init,E.fx.step={};var st,ut,ct=/^(?:toggle|show|hide)$/,lt=/queueHooks$/;function ft(){ut&&(!1===a.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(ft):n.setTimeout(ft,E.fx.interval),E.fx.tick())}function pt(){return n.setTimeout((function(){st=void 0})),st=Date.now()}function dt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=oe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ht(e,t,n){for(var r,i=(mt.tweeners[t]||[]).concat(mt.tweeners["*"]),o=0,a=i.length;o1)},removeAttr:function(e){return this.each((function(){E.removeAttr(this,e)}))}}),E.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?E.prop(e,t,n):(1===o&&E.isXMLDoc(e)||(i=E.attrHooks[t.toLowerCase()]||(E.expr.match.bool.test(t)?gt:void 0)),void 0!==n?null===n?void E.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=E.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&D(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(L);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),gt={set:function(e,t,n){return!1===t?E.removeAttr(e,n):e.setAttribute(n,n),n}},E.each(E.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=vt[t]||E.find.attr;vt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=vt[a],vt[a]=i,i=null!=n(e,t,r)?a:null,vt[a]=o),i}}));var yt=/^(?:input|select|textarea|button)$/i,bt=/^(?:a|area)$/i;function _t(e){return(e.match(L)||[]).join(" ")}function wt(e){return e.getAttribute&&e.getAttribute("class")||""}function Ct(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(L)||[]}E.fn.extend({prop:function(e,t){return q(this,E.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[E.propFix[e]||e]}))}}),E.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&E.isXMLDoc(e)||(i=E.propHooks[t=E.propFix[t]||t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=E.find.attr(e,"tabindex");return t?parseInt(t,10):yt.test(e.nodeName)||bt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(E.propHooks.selected={get:function(e){return null},set:function(e){}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){E.propFix[this.toLowerCase()]=this})),E.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(y(e))return this.each((function(t){E(this).addClass(e.call(this,t,wt(this)))}));if((t=Ct(e)).length)for(;n=this[u++];)if(i=wt(n),r=1===n.nodeType&&" "+_t(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=_t(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(y(e))return this.each((function(t){E(this).removeClass(e.call(this,t,wt(this)))}));if(!arguments.length)return this.attr("class","");if((t=Ct(e)).length)for(;n=this[u++];)if(i=wt(n),r=1===n.nodeType&&" "+_t(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(s=_t(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):y(e)?this.each((function(n){E(this).toggleClass(e.call(this,n,wt(this),t),t)})):this.each((function(){var t,i,o,a;if(r)for(i=0,o=E(this),a=Ct(e);t=a[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=wt(this))&&X.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":X.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+_t(wt(n))+" ").indexOf(t)>-1)return!0;return!1}});var Et=/\r/g;E.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=y(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,E(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=E.map(i,(function(e){return null==e?"":e+""}))),(t=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=E.valHooks[i.type]||E.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Et,""):null==n?"":n:void 0}}),E.extend({valHooks:{option:{get:function(e){var t=E.find.attr(e,"value");return null!=t?t:_t(E.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),E.each(["radio","checkbox"],(function(){E.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=E.inArray(E(e).val(),t)>-1}},v.checkOn||(E.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),v.focusin="onfocusin"in n;var Ot=/^(?:focusinfocus|focusoutblur)$/,St=function(e){e.stopPropagation()};E.extend(E.event,{trigger:function(e,t,r,i){var o,s,u,c,l,f,p,d,m=[r||a],g=h.call(e,"type")?e.type:e,v=h.call(e,"namespace")?e.namespace.split("."):[];if(s=d=u=r=r||a,3!==r.nodeType&&8!==r.nodeType&&!Ot.test(g+E.event.triggered)&&(g.indexOf(".")>-1&&(v=g.split("."),g=v.shift(),v.sort()),l=g.indexOf(":")<0&&"on"+g,(e=e[E.expando]?e:new E.Event(g,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=v.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:E.makeArray(t,[e]),p=E.event.special[g]||{},i||!p.trigger||!1!==p.trigger.apply(r,t))){if(!i&&!p.noBubble&&!b(r)){for(Ot.test((c=p.delegateType||g)+g)||(s=s.parentNode);s;s=s.parentNode)m.push(s),u=s;u===(r.ownerDocument||a)&&m.push(u.defaultView||u.parentWindow||n)}for(o=0;(s=m[o++])&&!e.isPropagationStopped();)d=s,e.type=o>1?c:p.bindType||g,(f=(X.get(s,"events")||{})[e.type]&&X.get(s,"handle"))&&f.apply(s,t),(f=l&&s[l])&&f.apply&&$(s)&&(e.result=f.apply(s,t),!1===e.result&&e.preventDefault());return e.type=g,i||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(m.pop(),t)||!$(r)||l&&y(r[g])&&!b(r)&&((u=r[l])&&(r[l]=null),E.event.triggered=g,e.isPropagationStopped()&&d.addEventListener(g,St),r[g](),e.isPropagationStopped()&&d.removeEventListener(g,St),E.event.triggered=void 0,u&&(r[l]=u)),e.result}},simulate:function(e,t,n){var r=E.extend(new E.Event,n,{type:e,isSimulated:!0});E.event.trigger(r,null,t)}}),E.fn.extend({trigger:function(e,t){return this.each((function(){E.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return E.event.trigger(e,t,n,!0)}}),v.focusin||E.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){E.event.simulate(t,e.target,E.event.fix(e))};E.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=X.access(r,t);i||r.addEventListener(e,n,!0),X.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=X.access(r,t)-1;i?X.access(r,t,i):(r.removeEventListener(e,n,!0),X.remove(r,t))}}}));var xt=n.location,kt=Date.now(),It=/\?/;E.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(r){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||E.error("Invalid XML: "+e),t};var Tt=/\[\]$/,Dt=/\r?\n/g,jt=/^(?:submit|button|image|reset|file)$/i,Pt=/^(?:input|select|textarea|keygen)/i;function At(e,t,n,r){var i;if(Array.isArray(t))E.each(t,(function(t,i){n||Tt.test(e)?r(e,i):At(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==C(t))r(e,t);else for(i in t)At(e+"["+i+"]",t[i],n,r)}E.param=function(e,t){var n,r=[],i=function(e,t){var n=y(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!E.isPlainObject(e))E.each(e,(function(){i(this.name,this.value)}));else for(n in e)At(n,e[n],t,i);return r.join("&")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=E.prop(this,"elements");return e?E.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!E(this).is(":disabled")&&Pt.test(this.nodeName)&&!jt.test(e)&&(this.checked||!me.test(e))})).map((function(e,t){var n=E(this).val();return null==n?null:Array.isArray(n)?E.map(n,(function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}})):{name:t.name,value:n.replace(Dt,"\r\n")}})).get()}});var Rt=/%20/g,Nt=/#.*$/,Mt=/([?&])_=[^&]*/,Ft=/^(.*?):[ \t]*([^\r\n]*)$/gm,Lt=/^(?:GET|HEAD)$/,Vt=/^\/\//,Bt={},Ht={},Ut="*/".concat("*"),zt=a.createElement("a");function Wt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(L)||[];if(y(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function qt(e,t,n,r){var i={},o=e===Ht;function a(s){var u;return i[s]=!0,E.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||o||i[c]?o?!(u=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Gt(e,t){var n,r,i=E.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&E.extend(!0,e,r),e}zt.href=xt.href,E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(xt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ut,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,E.ajaxSettings),t):Gt(E.ajaxSettings,e)},ajaxPrefilter:Wt(Bt),ajaxTransport:Wt(Ht),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var r,i,o,s,u,c,l,f,p,d,h=E.ajaxSetup({},t=t||{}),m=h.context||h,g=h.context&&(m.nodeType||m.jquery)?E(m):E.event,v=E.Deferred(),y=E.Callbacks("once memory"),b=h.statusCode||{},_={},w={},C="canceled",O={readyState:0,getResponseHeader:function(e){var t;if(l){if(!s)for(s={};t=Ft.exec(o);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(e,t){return null==l&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==l&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)O.always(e[O.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||C;return r&&r.abort(t),S(0,t),this}};if(v.promise(O),h.url=((e||h.url||xt.href)+"").replace(Vt,xt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(L)||[""],null==h.crossDomain){c=a.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=zt.protocol+"//"+zt.host!=c.protocol+"//"+c.host}catch(x){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=E.param(h.data,h.traditional)),qt(Bt,h,t,O),l)return O;for(p in(f=E.event&&h.global)&&0==E.active++&&E.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Lt.test(h.type),i=h.url.replace(Nt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Rt,"+")):(d=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(It.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(Mt,"$1"),d=(It.test(i)?"&":"?")+"_="+kt+++d),h.url=i+d),h.ifModified&&(E.lastModified[i]&&O.setRequestHeader("If-Modified-Since",E.lastModified[i]),E.etag[i]&&O.setRequestHeader("If-None-Match",E.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&O.setRequestHeader("Content-Type",h.contentType),O.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Ut+"; q=0.01":""):h.accepts["*"]),h.headers)O.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(m,O,h)||l))return O.abort();if(C="abort",y.add(h.complete),O.done(h.success),O.fail(h.error),r=qt(Ht,h,t,O)){if(O.readyState=1,f&&g.trigger("ajaxSend",[O,h]),l)return O;h.async&&h.timeout>0&&(u=n.setTimeout((function(){O.abort("timeout")}),h.timeout));try{l=!1,r.send(_,S)}catch(x){if(l)throw x;S(-1,x)}}else S(-1,"No Transport");function S(e,t,a,s){var c,p,d,_,w,C=t;l||(l=!0,u&&n.clearTimeout(u),r=void 0,o=s||"",O.readyState=e>0?4:0,c=e>=200&&e<300||304===e,a&&(_=function(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(h,O,a)),_=function(e,t,n,r){var i,o,a,s,u,c={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=l.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=c[u+" "+o]||c["* "+o]))for(i in c)if((s=i.split(" "))[1]===o&&(a=c[u+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(x){return{state:"parsererror",error:a?x:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(h,_,O,c),c?(h.ifModified&&((w=O.getResponseHeader("Last-Modified"))&&(E.lastModified[i]=w),(w=O.getResponseHeader("etag"))&&(E.etag[i]=w)),204===e||"HEAD"===h.type?C="nocontent":304===e?C="notmodified":(C=_.state,p=_.data,c=!(d=_.error))):(d=C,!e&&C||(C="error",e<0&&(e=0))),O.status=e,O.statusText=(t||C)+"",c?v.resolveWith(m,[p,C,O]):v.rejectWith(m,[O,C,d]),O.statusCode(b),b=void 0,f&&g.trigger(c?"ajaxSuccess":"ajaxError",[O,h,c?p:d]),y.fireWith(m,[O,C]),f&&(g.trigger("ajaxComplete",[O,h]),--E.active||E.event.trigger("ajaxStop")))}return O},getJSON:function(e,t,n){return E.get(e,t,n,"json")},getScript:function(e,t){return E.get(e,void 0,t,"script")}}),E.each(["get","post"],(function(e,t){E[t]=function(e,n,r,i){return y(n)&&(i=i||r,r=n,n=void 0),E.ajax(E.extend({url:e,type:t,dataType:i,data:n,success:r},E.isPlainObject(e)&&e))}})),E._evalUrl=function(e,t){return E.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){E.globalEval(e,t)}})},E.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=E(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return y(e)?this.each((function(t){E(this).wrapInner(e.call(this,t))})):this.each((function(){var t=E(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=y(e);return this.each((function(n){E(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){E(this).replaceWith(this.childNodes)})),this}}),E.expr.pseudos.hidden=function(e){return!E.expr.pseudos.visible(e)},E.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},E.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Qt=E.ajaxSettings.xhr();v.cors=!!Qt&&"withCredentials"in Qt,v.ajax=Qt=!!Qt,E.ajaxTransport((function(e){var t,r;if(v.cors||Qt&&!e.crossDomain)return{send:function(i,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Yt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){t&&r()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(u){if(t)throw u}},abort:function(){t&&t()}}})),E.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),E.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return E.globalEval(e),e}}}),E.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),E.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=E("