From b2ddf54e2960bafe31bd78d06ee84204d6d996dd Mon Sep 17 00:00:00 2001 From: Sibiraj Date: Tue, 3 Oct 2017 12:53:31 +0530 Subject: [PATCH] docs: get latest release information from github --- README.md | 4 ++-- docs/3rdpartylicenses.txt | 4 ++-- docs/index.html | 2 +- docs/inline.7eef625e0f903a1a7c53.bundle.js | 1 - docs/inline.bb74abda4bb5e241dfea.bundle.js | 1 + docs/main.8baad82eb9253e961f35.bundle.js | 1 - docs/main.8cb86c4fbf8e5523fd7d.bundle.js | 1 + docs/vendor.0aaa6fe23ea3764cdb3e.bundle.js | 1 + docs/vendor.dd8fdb61ced359145657.bundle.js | 1 - src/app/app.component.html | 2 +- src/app/app.component.spec.ts | 3 ++- src/app/app.component.ts | 24 +++++++++++++++++--- src/app/app.module.ts | 4 +++- src/app/app.service.spec.ts | 17 ++++++++++++++ src/app/app.service.ts | 26 ++++++++++++++++++++++ 15 files changed, 78 insertions(+), 14 deletions(-) delete mode 100644 docs/inline.7eef625e0f903a1a7c53.bundle.js create mode 100644 docs/inline.bb74abda4bb5e241dfea.bundle.js delete mode 100644 docs/main.8baad82eb9253e961f35.bundle.js create mode 100644 docs/main.8cb86c4fbf8e5523fd7d.bundle.js create mode 100644 docs/vendor.0aaa6fe23ea3764cdb3e.bundle.js delete mode 100644 docs/vendor.dd8fdb61ced359145657.bundle.js create mode 100644 src/app/app.service.spec.ts create mode 100644 src/app/app.service.ts diff --git a/README.md b/README.md index ce86ca2b..dd0b7d3d 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,9 @@ Install via Package managers such as [npm][npm] or [yarn][yarn] ```bash -npm install ngx-editor@1.0.0-beta.3 --save +npm install ngx-editor --save # or -yarn add ngx-editor@1.0.0-beta.3 +yarn add ngx-editor ``` ### Usage diff --git a/docs/3rdpartylicenses.txt b/docs/3rdpartylicenses.txt index 1e1cf7e5..cb7ba506 100644 --- a/docs/3rdpartylicenses.txt +++ b/docs/3rdpartylicenses.txt @@ -71,10 +71,10 @@ THE SOFTWARE. MIT MIT -@angular/platform-browser@4.4.4 +@angular/common@4.4.4 MIT MIT -@angular/common@4.4.4 +@angular/platform-browser@4.4.4 MIT MIT \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 9551fa2d..4d8245fe 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1 +1 @@ -NgxEditor \ No newline at end of file +NgxEditor \ No newline at end of file diff --git a/docs/inline.7eef625e0f903a1a7c53.bundle.js b/docs/inline.7eef625e0f903a1a7c53.bundle.js deleted file mode 100644 index 7ad89ed9..00000000 --- a/docs/inline.7eef625e0f903a1a7c53.bundle.js +++ /dev/null @@ -1 +0,0 @@ -!function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r=window.webpackJsonp;window.webpackJsonp=function(t,a,c){for(var u,i,f,l=0,s=[];l"===l?this.htmlChange.emit(""):this.htmlChange.emit(l)},l.prototype.executeCommand=function(l){document.execCommand(l,!1,null)},l.prototype.blockQuote=function(){document.execCommand("formatBlock",!1,"
")},l.prototype.removeQuote=function(){document.execCommand("formatBlock",!1,"div")},l.prototype.ngOnInit=function(){!1===this.spellcheck&&(this.config.spellcheck=!1),!1===this.editable&&(this.config.editable=!1),this.element.nativeElement.getElementsByClassName("textarea")[0].innerHTML=this.html||""},l.ctorParameters=function(){return[{type:c.k}]},l}(),p=[f],b=c._1({encapsulation:0,styles:p,data:{}}),h=(c.Z("app-ngx-editor",m,e,{config:"config",html:"html",editable:"editable",spellcheck:"spellcheck",placeholder:"placeholder",translate:"translate"},{htmlChange:"htmlChange"},[]),t("qbdv")),C=[_],k=c._1({encapsulation:0,styles:C,data:{}}),x=c.Z("app-root",s,r,{},{},[]),v=t("fc+i"),O=function(){function l(){}return l}(),P=c._0(d,[s],function(l){return c._13([c._14(512,c.i,c.W,[[8,[x]],[3,c.i],c.x]),c._14(5120,c.v,c._12,[[3,c.v]]),c._14(4608,h.e,h.d,[c.v]),c._14(4608,c.h,c.h,[]),c._14(5120,c.a,c._5,[]),c._14(5120,c.t,c._10,[]),c._14(5120,c.u,c._11,[]),c._14(4608,v.b,v.s,[h.b]),c._14(6144,c.H,null,[v.b]),c._14(4608,v.e,v.f,[]),c._14(5120,v.c,function(l,n,t,u){return[new v.k(l),new v.o(n),new v.n(t,u)]},[h.b,h.b,h.b,v.e]),c._14(4608,v.d,v.d,[v.c,c.z]),c._14(135680,v.m,v.m,[h.b]),c._14(4608,v.l,v.l,[v.d,v.m]),c._14(6144,c.F,null,[v.l]),c._14(6144,v.p,null,[v.m]),c._14(4608,c.L,c.L,[c.z]),c._14(4608,v.g,v.g,[h.b]),c._14(4608,v.i,v.i,[h.b]),c._14(512,h.a,h.a,[]),c._14(1024,c.l,v.q,[]),c._14(1024,c.b,function(l,n){return[v.r(l,n)]},[[2,v.h],[2,c.y]]),c._14(512,c.c,c.c,[[2,c.b]]),c._14(131584,c._3,c._3,[c.z,c.X,c.r,c.l,c.i,c.c]),c._14(2048,c.e,null,[c._3]),c._14(512,c.d,c.d,[c.e]),c._14(512,v.a,v.a,[[3,v.a]]),c._14(512,O,O,[]),c._14(512,d,d,[])])});a.production&&Object(c.R)(),Object(v.j)().bootstrapModuleFactory(P).catch(function(l){return console.log(l)})},gFIY:function(l,n){function t(l){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+l+"'.")})}t.keys=function(){return[]},t.resolve=t,l.exports=t,t.id="gFIY"}},[0]); \ No newline at end of file diff --git a/docs/main.8cb86c4fbf8e5523fd7d.bundle.js b/docs/main.8cb86c4fbf8e5523fd7d.bundle.js new file mode 100644 index 00000000..1df8faf3 --- /dev/null +++ b/docs/main.8cb86c4fbf8e5523fd7d.bundle.js @@ -0,0 +1 @@ +webpackJsonp([1],{0:function(l,n,t){l.exports=t("cDNt")},cDNt:function(l,n,t){"use strict";function u(l){return c._18(0,[(l()(),c._4(0,null,null,90,"div",[["class","ngx-editor"],["id","ngxEditor"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,85,"div",[["class","toolbar responsive"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,19,"div",[["class","set"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"button",[["title","Bold"]],null,[[null,"click"]],function(l,n,t){var u=!0,e=l.component;if("click"===n){u=!1!==e.executeCommand("bold")&&u}return u},null,null)),(l()(),c._4(0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-bold"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"button",[["title","Italic"]],null,[[null,"click"]],function(l,n,t){var u=!0,e=l.component;if("click"===n){u=!1!==e.executeCommand("italic")&&u}return u},null,null)),(l()(),c._4(0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-italic"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"button",[["title","Underline"]],null,[[null,"click"]],function(l,n,t){var u=!0,e=l.component;if("click"===n){u=!1!==e.executeCommand("underline")&&u}return u},null,null)),(l()(),c._4(0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-underline"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"button",[["title","Strikethrough"]],null,[[null,"click"]],function(l,n,t){var u=!0,e=l.component;if("click"===n){u=!1!==e.executeCommand("strikeThrough")&&u}return u},null,null)),(l()(),c._4(0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-strikethrough"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"button",[["title","Superscript"]],null,[[null,"click"]],function(l,n,t){var u=!0,e=l.component;if("click"===n){u=!1!==e.executeCommand("superscript")&&u}return u},null,null)),(l()(),c._4(0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-superscript"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"button",[["title","Subscript"]],null,[[null,"click"]],function(l,n,t){var u=!0,e=l.component;if("click"===n){u=!1!==e.executeCommand("subscript")&&u}return u},null,null)),(l()(),c._4(0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-subscript"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,19,"div",[["class","set no-sm-device"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"button",[["title","Justify Left"]],null,[[null,"click"]],function(l,n,t){var u=!0,e=l.component;if("click"===n){u=!1!==e.executeCommand("justifyLeft")&&u}return u},null,null)),(l()(),c._4(0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-align-left"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"button",[["title","Justify Center"]],null,[[null,"click"]],function(l,n,t){var u=!0,e=l.component;if("click"===n){u=!1!==e.executeCommand("justifyCenter")&&u}return u},null,null)),(l()(),c._4(0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-align-center"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"button",[["title","Justify Right"]],null,[[null,"click"]],function(l,n,t){var u=!0,e=l.component;if("click"===n){u=!1!==e.executeCommand("justifyRight")&&u}return u},null,null)),(l()(),c._4(0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-align-right"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"button",[["title","Justify"]],null,[[null,"click"]],function(l,n,t){var u=!0,e=l.component;if("click"===n){u=!1!==e.executeCommand("justifyFull")&&u}return u},null,null)),(l()(),c._4(0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-align-justify"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"button",[["title","Indent"]],null,[[null,"click"]],function(l,n,t){var u=!0,e=l.component;if("click"===n){u=!1!==e.executeCommand("indent")&&u}return u},null,null)),(l()(),c._4(0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-indent"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"button",[["title","Outdent"]],null,[[null,"click"]],function(l,n,t){var u=!0,e=l.component;if("click"===n){u=!1!==e.executeCommand("outdent")&&u}return u},null,null)),(l()(),c._4(0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-outdent"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,19,"div",[["class","set no-md-device"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"button",[["title","Cut"]],null,[[null,"click"]],function(l,n,t){var u=!0,e=l.component;if("click"===n){u=!1!==e.executeCommand("cut")&&u}return u},null,null)),(l()(),c._4(0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-scissors"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"button",[["title","Copy"]],null,[[null,"click"]],function(l,n,t){var u=!0,e=l.component;if("click"===n){u=!1!==e.executeCommand("copy")&&u}return u},null,null)),(l()(),c._4(0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-files-o"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"button",[["title","Delete"]],null,[[null,"click"]],function(l,n,t){var u=!0,e=l.component;if("click"===n){u=!1!==e.executeCommand("delete")&&u}return u},null,null)),(l()(),c._4(0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-trash"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"button",[["title","Clear Formatting"]],null,[[null,"click"]],function(l,n,t){var u=!0,e=l.component;if("click"===n){u=!1!==e.executeCommand("removeFormat")&&u}return u},null,null)),(l()(),c._4(0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-eraser"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"button",[["title","Undo"]],null,[[null,"click"]],function(l,n,t){var u=!0,e=l.component;if("click"===n){u=!1!==e.executeCommand("undo")&&u}return u},null,null)),(l()(),c._4(0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-undo"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"button",[["title","Redo"]],null,[[null,"click"]],function(l,n,t){var u=!0,e=l.component;if("click"===n){u=!1!==e.executeCommand("redo")&&u}return u},null,null)),(l()(),c._4(0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-repeat"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,19,"div",[["class","set no-md-device"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"button",[["title","Paragraph"]],null,[[null,"click"]],function(l,n,t){var u=!0,e=l.component;if("click"===n){u=!1!==e.executeCommand("insertParagraph")&&u}return u},null,null)),(l()(),c._4(0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-paragraph"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"button",[["title","Blockquote"]],null,[[null,"click"]],function(l,n,t){var u=!0,e=l.component;if("click"===n){u=!1!==e.blockQuote()&&u}return u},null,null)),(l()(),c._4(0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-quote-left"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"button",[["title","Remove Blockquote"]],null,[[null,"click"]],function(l,n,t){var u=!0,e=l.component;if("click"===n){u=!1!==e.removeQuote()&&u}return u},null,null)),(l()(),c._4(0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-quote-right"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"button",[["title","Horizontal Line"]],null,[[null,"click"]],function(l,n,t){var u=!0,e=l.component;if("click"===n){u=!1!==e.executeCommand("insertHorizontalRule")&&u}return u},null,null)),(l()(),c._4(0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-minus"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"button",[["title","Unodered List"]],null,[[null,"click"]],function(l,n,t){var u=!0,e=l.component;if("click"===n){u=!1!==e.executeCommand("insertUnorderedList")&&u}return u},null,null)),(l()(),c._4(0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-list-ul"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"button",[["title","Ordered List"]],null,[[null,"click"]],function(l,n,t){var u=!0,e=l.component;if("click"===n){u=!1!==e.executeCommand("insertOrderedList")&&u}return u},null,null)),(l()(),c._4(0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-list-ol"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._17(null,["\n "])),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,0,"div",[["class","textarea"]],[[1,"contenteditable",0],[1,"placeholder",0],[1,"translate",0],[1,"spellcheck",0]],[[null,"input"]],function(l,n,t){var u=!0,e=l.component;if("input"===n){e.html=t.target.innerHTML;u=!1!==e.htmlContentChange(t.target.innerHTML)&&u}return u},null,null)),(l()(),c._17(null,["\n"]))],null,function(l,n){var t=n.component;l(n,89,0,t.editable||t.config.editable,t.placeholder||t.config.placeholder,t.translate||t.config.translate,t.config.spellcheck)})}function e(l){return c._18(0,[(l()(),c._4(0,null,null,1,"app-ngx-editor",[],null,null,null,u,C)),c._2(114688,null,0,h,[c.k],null,null)],function(l,n){l(n,1,0)},null)}function o(l){return c._18(0,[(l()(),c._4(0,null,null,7,"div",[],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),c._17(null,["HTML Output"])),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"div",[["class","html"]],null,null,null,null,null)),(l()(),c._17(null,["\n ","\n "])),(l()(),c._17(null,["\n "]))],null,function(l,n){l(n,6,0,n.component.htmlContent)})}function i(l){return c._18(0,[(l()(),c._4(0,null,null,36,"div",[["class","container"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,24,"div",[["class","logo"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,0,"img",[["alt","ngx-Editor"],["src","assets/icons/ngx-editor.svg"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),c._17(null,["WYSIWYG Editor for Angular Applications."])),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"p",[],null,null,null,null,null)),(l()(),c._17(null,["(",")"])),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"a",[["aria-label","Follow @Sibiraj-S on GitHub"],["class","github-button"],["href","https://github.com/Sibiraj-S"]],null,null,null,null,null)),(l()(),c._17(null,["Follow @Sibiraj-S"])),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"a",[["aria-label","Fork Sibiraj-S/ngx-editor on GitHub"],["class","github-button"],["href","https://github.com/Sibiraj-S/ngx-editor/fork"]],null,null,null,null,null)),(l()(),c._17(null,["Fork"])),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"a",[["aria-label","Star Sibiraj-S/ngx-editor on GitHub"],["class","github-button"],["href","https://github.com/Sibiraj-S/ngx-editor"]],null,null,null,null,null)),(l()(),c._17(null,["Star"])),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"a",[["aria-label","Issue Sibiraj-S/ngx-editor on GitHub"],["class","github-button"],["data-show-count","true"],["href","https://github.com/Sibiraj-S/ngx-editor/issues"]],null,null,null,null,null)),(l()(),c._17(null,["Issue"])),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"a",[["aria-label","Download Sibiraj-S/ngx-editor on GitHub"],["class","github-button"],["href","https://github.com/Sibiraj-S/ngx-editor/archive/master.zip"]],null,null,null,null,null)),(l()(),c._17(null,["Download"])),(l()(),c._17(null,["\n "])),(l()(),c._17(null,["\n\n "])),(l()(),c._4(0,null,null,4,"div",[["class","editor"]],null,null,null,null,null)),(l()(),c._17(null,["\n "])),(l()(),c._4(0,null,null,1,"app-ngx-editor",[],null,[[null,"htmlChange"]],function(l,n,t){var u=!0,e=l.component;if("htmlChange"===n){u=!1!==(e.htmlContent=t)&&u}return u},u,C)),c._2(114688,null,0,h,[c.k],{config:[0,"config"],html:[1,"html"],spellcheck:[2,"spellcheck"],placeholder:[3,"placeholder"]},{htmlChange:"htmlChange"}),(l()(),c._17(null,["\n "])),(l()(),c._17(null,["\n\n "])),(l()(),c.Y(16777216,null,null,1,null,o)),c._2(16384,null,0,k.c,[c.N,c.K],{ngIf:[0,"ngIf"]},null),(l()(),c._17(null,["\n"]))],function(l,n){var t=n.component;l(n,31,0,t.editorConfig,t.htmlContent,!0,"Enter text here..."),l(n,35,0,t.htmlContent)},function(l,n){l(n,10,0,n.component.latestRelease.name)})}function r(l){return c._18(0,[(l()(),c._4(0,null,null,2,"app-root",[],null,null,null,i,v)),c._15(512,null,_,_,[s.c]),c._2(114688,null,0,f,[_],null,null)],function(l,n){l(n,2,0)},null)}Object.defineProperty(n,"__esModule",{value:!0});var c=t("/oeL"),a={production:!0},d=function(){function l(){}return l}(),s=t("XKz0"),_=(t("5v8a"),function(){function l(l){this._http=l,this.releaseURL="https://api.github.com/repos/Sibiraj-S/ngx-editor/releases"}return l.prototype.getLatestRelease=function(){return this._http.get(this.releaseURL).map(function(l){return l&&0!==l.length?l[0]:[]})},l.ctorParameters=function(){return[{type:s.c}]},l}()),f=function(){function l(l){this._appService=l,this.title="ngx-editor",this.latestRelease={},this.editorConfig={editable:!0,spellcheck:!1,placeholder:"Enter text here...",translate:"no"},this.htmlContent="WYSIWYG Editor for Angular Applications."}return l.prototype.getLatestRelease=function(){var l=this;this._appService.getLatestRelease().subscribe(function(n){return l.latestRelease=n},function(l){console.log(l)},function(){})},l.prototype.ngOnInit=function(){this.getLatestRelease()},l.ctorParameters=function(){return[{type:_}]},l}(),g=[".container[_ngcontent-%COMP%]{padding-top:1rem}.container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{text-align:center;margin-bottom:1rem}.container[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-bottom:.3rem}.container[_ngcontent-%COMP%] .editor[_ngcontent-%COMP%]{margin-bottom:1rem}.container[_ngcontent-%COMP%] .html[_ngcontent-%COMP%]{border:1px solid #ddd;border-radius:4px;padding:.5rem;background-color:#f1f1f1;max-height:10rem;overflow:auto}pre[_ngcontent-%COMP%]{background:#f1f1f1;padding:0 1rem}mark[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{border-radius:3px}mark[_ngcontent-%COMP%]{background-color:#f1f1f1;padding:.1rem .4rem}"],m=['.ngx-editor[_ngcontent-%COMP%]{position:relative}.ngx-editor[_ngcontent-%COMP%] [contenteditable=true]:empty:before{content:attr(placeholder);display:block}.ngx-editor[_ngcontent-%COMP%] .toolbar[_ngcontent-%COMP%]{background-color:#f5f5f5;border-bottom:1px solid #ddd;font-size:.8rem;padding:.2rem;border:1px solid #ddd}.ngx-editor[_ngcontent-%COMP%] .toolbar[_ngcontent-%COMP%] .set[_ngcontent-%COMP%]{display:inline-block;border:1px solid #ddd;border-radius:5px;background-color:#fff}.ngx-editor[_ngcontent-%COMP%] .toolbar[_ngcontent-%COMP%] .set[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#f5f5f5;background-color:transparent;border:0;padding:.4rem;min-width:2.5rem;float:left;border-right:1px solid #ddd}.ngx-editor[_ngcontent-%COMP%] .toolbar[_ngcontent-%COMP%] .set[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{cursor:pointer;background-color:#e3e3e3;transition:.5s ease}.ngx-editor[_ngcontent-%COMP%] .toolbar[_ngcontent-%COMP%] .set[_ngcontent-%COMP%] button.focus[_ngcontent-%COMP%], .ngx-editor[_ngcontent-%COMP%] .toolbar[_ngcontent-%COMP%] .set[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus{outline:0}.ngx-editor[_ngcontent-%COMP%] .toolbar[_ngcontent-%COMP%] .set[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:last-child{border-right:transparent}@media screen and (max-width:992px){.ngx-editor[_ngcontent-%COMP%] .toolbar.responsive[_ngcontent-%COMP%] .no-lg-device[_ngcontent-%COMP%]{display:none}}@media screen and (max-width:768px){.ngx-editor[_ngcontent-%COMP%] .toolbar.responsive[_ngcontent-%COMP%] .no-md-device[_ngcontent-%COMP%]{display:none}}@media screen and (max-width:480px){.ngx-editor[_ngcontent-%COMP%] .toolbar.responsive[_ngcontent-%COMP%] .no-sm-device[_ngcontent-%COMP%]{display:none}}@media screen and (max-width:320px){.ngx-editor[_ngcontent-%COMP%] .toolbar.responsive[_ngcontent-%COMP%] .no-xs-device[_ngcontent-%COMP%]{display:none}}.ngx-editor[_ngcontent-%COMP%] .textarea[_ngcontent-%COMP%]{min-height:5rem;padding:.5rem .8rem 1rem .8rem;border:1px solid #ddd;border-top:transparent;resize:vertical;overflow:auto;background-color:#fff}.ngx-editor[_ngcontent-%COMP%] .textarea.focus[_ngcontent-%COMP%], .ngx-editor[_ngcontent-%COMP%] .textarea[_ngcontent-%COMP%]:focus{outline:0}.ngx-editor[_ngcontent-%COMP%] .textarea[_ngcontent-%COMP%] blockquote{margin-left:1rem;border-left:.2em solid #dfe2e5;padding-left:.5rem}.ngx-editor[_ngcontent-%COMP%] .textarea[_ngcontent-%COMP%] .grabber[_ngcontent-%COMP%]{content:"";position:absolute;bottom:0;margin-left:-.8rem;cursor:s-resize;height:9px;width:100%;border-top:1px solid #f1f1f1;overflow:hidden;background-color:#eff0f1;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAFCAYAAABbyvyAAAAAMElEQVQoU2OcPHP+fwYGBobc9ERGEA0D1BZnpLaBuByM4gtkH1GbTdPgQvYd3SwCADaHRZrVIDeAAAAAAElFTkSuQmCC);background-image:url(grabber.734e8b82afd021356622.svg),none;background-size:initial;background-repeat:no-repeat;background-position:50%}.hide[_ngcontent-%COMP%]{display:none!important}'],p={editable:!0,spellcheck:!0,translate:"yes",placeholder:"Enter text here...",toolbar:{text:["fontFamily","fontSize","bold","italic","underline","strikeThrough","superscript","subscript"],align:["justifyLeft","justifyCenter","justifyRight","justifyFull","indent","outdent"],action:["cut","copy","paste","delete","removeFormat","undo","redo"],insert:["image","paragraph","blockquote","removeBlockquote","html","horizontalLine","orderedList","unorderedList"],extras:["code","fullscreen","print"]}},h=function(){function l(l){this.element=l,this.htmlChange=new c.m}return Object.defineProperty(l.prototype,"config",{get:function(){return this._config||p},set:function(l){for(var n in p)l.hasOwnProperty(n)||(l[n]=p[n]);this._config=l},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"html",{get:function(){return this._html},set:function(l){this._html=l},enumerable:!0,configurable:!0}),l.prototype.htmlContentChange=function(l){"
"===l?this.htmlChange.emit(""):this.htmlChange.emit(l)},l.prototype.executeCommand=function(l){document.execCommand(l,!1,null)},l.prototype.blockQuote=function(){document.execCommand("formatBlock",!1,"
")},l.prototype.removeQuote=function(){document.execCommand("formatBlock",!1,"div")},l.prototype.ngOnInit=function(){!1===this.spellcheck&&(this.config.spellcheck=!1),!1===this.editable&&(this.config.editable=!1),this.element.nativeElement.getElementsByClassName("textarea")[0].innerHTML=this.html||""},l.ctorParameters=function(){return[{type:c.k}]},l}(),b=[m],C=c._1({encapsulation:0,styles:b,data:{}}),k=(c.Z("app-ngx-editor",h,e,{config:"config",html:"html",editable:"editable",spellcheck:"spellcheck",placeholder:"placeholder",translate:"translate"},{htmlChange:"htmlChange"},[]),t("qbdv")),x=[g],v=c._1({encapsulation:0,styles:x,data:{}}),O=c.Z("app-root",f,r,{},{},[]),P=t("fc+i"),M=function(){function l(){}return l}(),y=c._0(d,[f],function(l){return c._13([c._14(512,c.i,c.W,[[8,[O]],[3,c.i],c.x]),c._14(5120,c.v,c._12,[[3,c.v]]),c._14(4608,k.e,k.d,[c.v]),c._14(4608,c.h,c.h,[]),c._14(5120,c.a,c._5,[]),c._14(5120,c.t,c._10,[]),c._14(5120,c.u,c._11,[]),c._14(4608,P.b,P.s,[k.b]),c._14(6144,c.H,null,[P.b]),c._14(4608,P.e,P.f,[]),c._14(5120,P.c,function(l,n,t,u){return[new P.k(l),new P.o(n),new P.n(t,u)]},[k.b,k.b,k.b,P.e]),c._14(4608,P.d,P.d,[P.c,c.z]),c._14(135680,P.m,P.m,[k.b]),c._14(4608,P.l,P.l,[P.d,P.m]),c._14(6144,c.F,null,[P.l]),c._14(6144,P.p,null,[P.m]),c._14(4608,c.L,c.L,[c.z]),c._14(4608,P.g,P.g,[k.b]),c._14(4608,P.i,P.i,[k.b]),c._14(4608,s.h,s.m,[k.b,c.B,s.k]),c._14(4608,s.n,s.n,[s.h,s.l]),c._14(5120,s.a,function(l){return[l]},[s.n]),c._14(4608,s.j,s.j,[]),c._14(6144,s.i,null,[s.j]),c._14(4608,s.g,s.g,[s.i]),c._14(6144,s.b,null,[s.g]),c._14(5120,s.f,s.o,[s.b,[2,s.a]]),c._14(4608,s.c,s.c,[s.f]),c._14(512,k.a,k.a,[]),c._14(1024,c.l,P.q,[]),c._14(1024,c.b,function(l,n){return[P.r(l,n)]},[[2,P.h],[2,c.y]]),c._14(512,c.c,c.c,[[2,c.b]]),c._14(131584,c._3,c._3,[c.z,c.X,c.r,c.l,c.i,c.c]),c._14(2048,c.e,null,[c._3]),c._14(512,c.d,c.d,[c.e]),c._14(512,P.a,P.a,[[3,P.a]]),c._14(512,M,M,[]),c._14(512,s.e,s.e,[]),c._14(512,s.d,s.d,[]),c._14(512,d,d,[]),c._14(256,s.k,"XSRF-TOKEN",[]),c._14(256,s.l,"X-XSRF-TOKEN",[])])});a.production&&Object(c.R)(),Object(P.j)().bootstrapModuleFactory(y).catch(function(l){return console.log(l)})},gFIY:function(l,n){function t(l){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+l+"'.")})}t.keys=function(){return[]},t.resolve=t,l.exports=t,t.id="gFIY"}},[0]); \ No newline at end of file diff --git a/docs/vendor.0aaa6fe23ea3764cdb3e.bundle.js b/docs/vendor.0aaa6fe23ea3764cdb3e.bundle.js new file mode 100644 index 00000000..d4ba7c41 --- /dev/null +++ b/docs/vendor.0aaa6fe23ea3764cdb3e.bundle.js @@ -0,0 +1 @@ +webpackJsonp([3],{"+zVg":function(t,e,n){"use strict";var r=n("wZOE");e.of=r.ArrayObservable.of},"/oeL":function(t,e,n){"use strict";(function(t){function r(){if(!Jr){var t=Gr.Symbol;if(t&&t.iterator)Jr=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n-1)return e.push(t[n]),e;e.push(t[n])}return e}function C(t){if(t.length>1){return" ("+w(t.slice().reverse()).map(function(t){return s(t.token)}).join(" -> ")+")"}return""}function E(t,e,n,r){var o=[e],i=n(o),s=r?_(i,r):Error(i);return s.addKey=x,s.keys=o,s.injectors=[t],s.constructResolvingMessage=n,s[Co]=r,s}function x(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function O(t,e){return E(t,e,function(t){return"No provider for "+s(t[0].token)+"!"+C(t)})}function S(t,e){return E(t,e,function(t){return"Cannot instantiate cyclic dependency!"+C(t)})}function k(t,e,n,r){return E(t,r,function(t){var n=s(t[0].token);return e.message+": Error during instantiation of "+n+"!"+C(t)+"."},e)}function T(t){return Error("Invalid provider - only instances of Provider and Type are allowed, got: "+t)}function P(t,e){for(var n=[],r=0,o=e.length;r-1&&t.splice(n,1)}function dt(t){return t.reduce(function(t,e){var n=Array.isArray(e)?dt(e):e;return t.concat(n)},[])}function ht(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}function yt(t,e,n){t.childNodes.forEach(function(t){t instanceof Ui&&(e(t)&&n.push(t),yt(t,e,n))})}function vt(t,e,n){t instanceof Ui&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof Ui&&vt(t,e,n)})}function gt(t){return zi.get(t)||null}function mt(t){zi.set(t.nativeNode,t)}function bt(t){zi.delete(t.nativeNode)}function _t(t,e){var n=wt(t),r=wt(e);if(n&&r)return Ct(t,e,_t);var o=t&&("object"==typeof t||"function"==typeof t),s=e&&("object"==typeof e||"function"==typeof e);return!(n||!o||r||!s)||i(t,e)}function wt(t){return!!xt(t)&&(Array.isArray(t)||!(t instanceof Map)&&r()in t)}function Ct(t,e,n){for(var o=t[r()](),i=e[r()]();;){var s=o.next(),a=i.next();if(s.done&&a.done)return!0;if(s.done||a.done)return!1;if(!n(s.value,a.value))return!1}}function Et(t,e){if(Array.isArray(t))for(var n=0;n0&&Ee(t,e,0,n)&&(d=!0),f>1&&Ee(t,e,1,r)&&(d=!0),f>2&&Ee(t,e,2,o)&&(d=!0),f>3&&Ee(t,e,3,i)&&(d=!0),f>4&&Ee(t,e,4,s)&&(d=!0),f>5&&Ee(t,e,5,a)&&(d=!0),f>6&&Ee(t,e,6,u)&&(d=!0),f>7&&Ee(t,e,7,c)&&(d=!0),f>8&&Ee(t,e,8,p)&&(d=!0),f>9&&Ee(t,e,9,l)&&(d=!0),d}function Ce(t,e,n){for(var r=!1,o=0;o0?o[n-1]:null,r)}function De(t,e){var n=$t(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),Fe(e.parent.def,e.parentNodeDef)}}function Fe(t,e){if(!(4&e.flags)){t.nodeFlags|=4,e.flags|=4;for(var n=e.parent;n;)n.childFlags|=4,n=n.parent}}function Le(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,qe(n,e),ds.dirtyParentQueries(r),Be(r),r}function He(t){if(16&t.state){var e=$t(t);if(e){var n=e.template._projectedViews;n&&(qe(n,n.indexOf(t)),ds.dirtyParentQueries(t))}}}function Ue(t,e,n){var r=t.viewContainer._embeddedViews,o=r[e];return qe(r,e),null==n&&(n=r.length),Ke(r,n,o),ds.dirtyParentQueries(o),Be(o),ze(t,n>0?r[n-1]:null,o),o}function ze(t,e,n){var r=e?Yt(e,e.def.lastRenderRootNode):t.renderElement;ce(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Be(t){ce(t,3,null,null,void 0)}function Ke(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function qe(t,e){e>=t.length-1?t.pop():t.splice(e,1)}function Ze(t,e,n,r,o,i){return new Os(t,e,n,r,o,i)}function Qe(t,e,n){return new ks(t,e,n)}function We(t){return new Ts(t)}function Ge(t,e){return new Ps(t,e)}function Je(t,e){return new Ns(t,e)}function $e(t){return new As(t.renderer)}function Xe(t,e,n,r){return new js(t,e,n,r)}function Ye(t,e,n,r,o,i,s){var a=[];if(i)for(var u in i){var c=i[u],p=c[0],l=c[1];a[p]={flags:8,name:u,nonMinifiedName:l,ns:null,securityContext:null,suffix:null}}var f=[];if(s)for(var d in s)f.push({type:1,propName:d,target:null,eventName:s[d]});return t|=16384,en(t,e,n,r,r,o,a,f)}function tn(t,e,n,r,o){return en(t,e,0,n,r,o)}function en(t,e,n,r,o,i,s,a){var u=oe(e),c=u.matchedQueries,p=u.references,l=u.matchedQueryIds;a||(a=[]),s||(s=[]);var f=ie(i);return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:l,references:p,ngContentIndex:-1,childCount:n,bindings:s,bindingFlags:ye(s),outputs:a,element:null,provider:{token:r,value:o,deps:f},text:null,query:null,ngContent:null}}function nn(t,e){return 4096&e.flags?Hs:cn(t,e)}function rn(t,e){for(var n=t;n.parent&&!ee(n);)n=n.parent;return pn(n.parent,Xt(n),!0,e.provider.value,e.provider.deps)}function on(t,e){var n=(32768&e.flags)>0,r=pn(t,e.parent,n,e.provider.value,e.provider.deps);if(e.outputs.length)for(var o=0;o0&&qt(t,e,0,n)&&(h=!0,y=hn(t,f,e,0,n,y)),v>1&&qt(t,e,1,r)&&(h=!0,y=hn(t,f,e,1,r,y)),v>2&&qt(t,e,2,o)&&(h=!0,y=hn(t,f,e,2,o,y)),v>3&&qt(t,e,3,i)&&(h=!0,y=hn(t,f,e,3,i,y)),v>4&&qt(t,e,4,s)&&(h=!0,y=hn(t,f,e,4,s,y)),v>5&&qt(t,e,5,a)&&(h=!0,y=hn(t,f,e,5,a,y)),v>6&&qt(t,e,6,u)&&(h=!0,y=hn(t,f,e,6,u,y)),v>7&&qt(t,e,7,c)&&(h=!0,y=hn(t,f,e,7,c,y)),v>8&&qt(t,e,8,p)&&(h=!0,y=hn(t,f,e,8,p,y)),v>9&&qt(t,e,9,l)&&(h=!0,y=hn(t,f,e,9,l,y)),y&&d.ngOnChanges(y),2&t.state&&65536&e.flags&&d.ngOnInit(),262144&e.flags&&d.ngDoCheck(),h}function un(t,e,n){for(var r=Rt(t,e.index),o=r.instance,i=!1,s=void 0,a=0;a0,o=e.provider;switch(201347067&e.flags){case 512:n=pn(t,e.parent,r,o.value,o.deps);break;case 1024:n=ln(t,e.parent,r,o.value,o.deps);break;case 2048:n=fn(t,e.parent,r,o.deps[0]);break;case 256:n=o.value}return n}function pn(t,e,n,r,o){var i,s=o.length;switch(s){case 0:i=new r;break;case 1:i=new r(fn(t,e,n,o[0]));break;case 2:i=new r(fn(t,e,n,o[0]),fn(t,e,n,o[1]));break;case 3:i=new r(fn(t,e,n,o[0]),fn(t,e,n,o[1]),fn(t,e,n,o[2]));break;default:for(var a=new Array(s),u=0;u0&&Zt(t,e,0,n)&&(d=!0),h>1&&Zt(t,e,1,r)&&(d=!0),h>2&&Zt(t,e,2,o)&&(d=!0),h>3&&Zt(t,e,3,i)&&(d=!0),h>4&&Zt(t,e,4,s)&&(d=!0),h>5&&Zt(t,e,5,a)&&(d=!0),h>6&&Zt(t,e,6,u)&&(d=!0),h>7&&Zt(t,e,7,c)&&(d=!0),h>8&&Zt(t,e,8,p)&&(d=!0),h>9&&Zt(t,e,9,l)&&(d=!0),d){var y=Mt(t,e.index),v=void 0;switch(201347067&e.flags){case 32:v=new Array(f.length),h>0&&(v[0]=n),h>1&&(v[1]=r),h>2&&(v[2]=o),h>3&&(v[3]=i),h>4&&(v[4]=s),h>5&&(v[5]=a),h>6&&(v[6]=u),h>7&&(v[7]=c),h>8&&(v[8]=p),h>9&&(v[9]=l);break;case 64:v={},h>0&&(v[f[0].name]=n),h>1&&(v[f[1].name]=r),h>2&&(v[f[2].name]=o),h>3&&(v[f[3].name]=i),h>4&&(v[f[4].name]=s),h>5&&(v[f[5].name]=a),h>6&&(v[f[6].name]=u),h>7&&(v[f[7].name]=c),h>8&&(v[f[8].name]=p),h>9&&(v[f[9].name]=l);break;case 128:var g=n;switch(h){case 1:v=g.transform(n);break;case 2:v=g.transform(r);break;case 3:v=g.transform(r,o);break;case 4:v=g.transform(r,o,i);break;case 5:v=g.transform(r,o,i,s);break;case 6:v=g.transform(r,o,i,s,a);break;case 7:v=g.transform(r,o,i,s,a,u);break;case 8:v=g.transform(r,o,i,s,a,u,c);break;case 9:v=g.transform(r,o,i,s,a,u,c,p);break;case 10:v=g.transform(r,o,i,s,a,u,c,p,l)}}y.value=v}return d}function Sn(t,e,n){for(var r=e.bindings,o=!1,i=0;i0&&Zt(t,e,0,n)&&(f=!0),h>1&&Zt(t,e,1,r)&&(f=!0),h>2&&Zt(t,e,2,o)&&(f=!0),h>3&&Zt(t,e,3,i)&&(f=!0),h>4&&Zt(t,e,4,s)&&(f=!0),h>5&&Zt(t,e,5,a)&&(f=!0),h>6&&Zt(t,e,6,u)&&(f=!0),h>7&&Zt(t,e,7,c)&&(f=!0),h>8&&Zt(t,e,8,p)&&(f=!0),h>9&&Zt(t,e,9,l)&&(f=!0),f){var y=e.text.prefix;h>0&&(y+=An(n,d[0])),h>1&&(y+=An(r,d[1])),h>2&&(y+=An(o,d[2])),h>3&&(y+=An(i,d[3])),h>4&&(y+=An(s,d[4])),h>5&&(y+=An(a,d[5])),h>6&&(y+=An(u,d[6])),h>7&&(y+=An(c,d[7])),h>8&&(y+=An(p,d[8])),h>9&&(y+=An(l,d[9]));var v=At(t,e.index).renderText;t.renderer.setValue(v,y)}return f}function Nn(t,e,n){for(var r=e.bindings,o=!1,i=0;i0)c=y,Rn(y)||(p=y);else for(;c&&h===c.index+c.childCount;){var b=c.parent;b&&(b.childFlags|=c.childFlags,b.childMatchedQueries|=c.childMatchedQueries),c=b,p=c&&Rn(c)?c.renderParent:c}}var _=function(t,n,r,o){return e[n].element.handleEvent(t,r,o)};return{factory:null,nodeFlags:s,rootNodeFlags:a,nodeMatchedQueries:u,flags:t,nodes:e,updateDirectives:n||hs,updateRenderer:r||hs,handleEvent:_,bindingCount:o,outputCount:i,lastRenderRootNode:d}}function Rn(t){return 0!=(1&t.flags)&&null===t.element.name}function Mn(t,e,n){var r=e.element&&e.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+e.index+"!")}if(20224&e.flags){if(0==(1&(t?t.flags:0)))throw new Error("Illegal State: Provider/Directive nodes need to be children of elements or anchors, at index "+e.index+"!")}if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.index+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.index+"!")}if(e.childCount){var o=t?t.index+t.childCount:n-1;if(e.index<=o&&e.index+e.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.index+"!")}}function In(t,e,n,r){var o=Fn(t.root,t.renderer,t,e,n);return Ln(o,t.component,r),Hn(o),o}function Vn(t,e,n){var r=Fn(t,t.renderer,null,null,e);return Ln(r,n,n),Hn(r),r}function Dn(t,e,n,r){var o,i=e.element.componentRendererType;return o=i?t.root.rendererFactory.createRenderer(r,i):t.root.renderer,Fn(t.root,o,t,e.element.componentProvider,n)}function Fn(t,e,n,r,o){var i=new Array(o.nodes.length),s=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:t,renderer:e,oldValues:new Array(o.bindingCount),disposables:s}}function Ln(t,e,n){t.component=e,t.context=n}function Hn(t){var e;if(ee(t)){var n=t.parentNodeDef;e=jt(t.parent,n.parent.index).renderElement}for(var r=t.def,o=t.nodes,i=0;i0&&Qt(t,e,0,n),f>1&&Qt(t,e,1,r),f>2&&Qt(t,e,2,o),f>3&&Qt(t,e,3,i),f>4&&Qt(t,e,4,s),f>5&&Qt(t,e,5,a),f>6&&Qt(t,e,6,u),f>7&&Qt(t,e,7,c),f>8&&Qt(t,e,8,p),f>9&&Qt(t,e,9,l)}function Gn(t,e,n){for(var r=0;r=this._providers.length)throw N(t);return this._providers[t]},t.prototype._new=function(t){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw S(this,t.key);return this._instantiateProvider(t)},t.prototype._getMaxNumberOfObjects=function(){return this.objs.length},t.prototype._instantiateProvider=function(t){if(t.multiProvider){for(var e=new Array(t.resolvedFactories.length),n=0;n0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+s(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},e}(Ci);Ei.decorators=[{type:fo}],Ei.ctorParameters=function(){return[{type:_o}]};var xi=function(){function t(){}return t.prototype.bootstrap=function(t,e){},t.prototype.tick=function(){},t.prototype.componentTypes=function(){},t.prototype.components=function(){},t.prototype.attachView=function(t){},t.prototype.detachView=function(t){},t.prototype.viewCount=function(){},t.prototype.isStable=function(){},t}(),Oi=function(t){function e(e,n,r,i,s,a){var u=t.call(this)||this;u._zone=e,u._console=n,u._injector=r,u._exceptionHandler=i,u._componentFactoryResolver=s,u._initStatus=a,u._bootstrapListeners=[],u._rootComponents=[],u._rootComponentTypes=[],u._views=[],u._runningTick=!1,u._enforceNoNewChanges=!1,u._stable=!0,u._enforceNoNewChanges=st(),u._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run(function(){u.tick()})}});var c=new Hr.Observable(function(t){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular(function(){t.next(u._stable),t.complete()})}),p=new Hr.Observable(function(t){var e;u._zone.runOutsideAngular(function(){e=u._zone.onStable.subscribe(function(){fi.assertNotInAngularZone(),o(function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,t.next(!0))})})});var n=u._zone.onUnstable.subscribe(function(){fi.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});return u._isStable=Object(Ur.merge)(c,zr.share.call(p)),u}return Lr.a(e,t),e.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},e.prototype.detachView=function(t){var e=t;ft(this._views,e),e.detachFromAppRef()},e.prototype.bootstrap=function(t,e){var n=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");var r;r=t instanceof Xo?t:this._componentFactoryResolver.resolveComponentFactory(t),this._rootComponentTypes.push(r.componentType);var o=r instanceof ii?null:this._injector.get(si),i=e||r.selector,s=r.create(_o.NULL,[],i,o);s.onDestroy(function(){n._unloadComponent(s)});var a=s.injector.get(di,null);return a&&s.injector.get(hi).registerApplication(s.location.nativeElement,a),this._loadComponent(s),st()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),s},e.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this._rootComponents.push(t),this._injector.get(Qo,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},e.prototype._unloadComponent=function(t){this.detachView(t.hostView),ft(this._rootComponents,t)},e.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(e){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(e)})}finally{this._runningTick=!1,pi(n)}},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentTypes",{get:function(){return this._rootComponentTypes},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"components",{get:function(){return this._rootComponents},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isStable",{get:function(){return this._isStable},enumerable:!0,configurable:!0}),e}(xi);Oi._tickScope=ci("ApplicationRef#tick()"),Oi.decorators=[{type:fo}],Oi.ctorParameters=function(){return[{type:fi},{type:Wo},{type:_o},{type:xo},{type:ei},{type:zo}]};var Si=(function(){function t(t,e,n,r,o,i){this.id=t,this.templateUrl=e,this.slotCount=n,this.encapsulation=r,this.styles=o,this.animations=i}}(),function(){function t(){}t.prototype.injector=function(){},t.prototype.component=function(){},t.prototype.providerTokens=function(){},t.prototype.references=function(){},t.prototype.context=function(){},t.prototype.source=function(){}}(),function(){function t(){}return t.prototype.selectRootElement=function(t,e){},t.prototype.createElement=function(t,e,n){},t.prototype.createViewRoot=function(t){},t.prototype.createTemplateAnchor=function(t,e){},t.prototype.createText=function(t,e,n){},t.prototype.projectNodes=function(t,e){},t.prototype.attachViewAfter=function(t,e){},t.prototype.detachView=function(t){},t.prototype.destroyView=function(t,e){},t.prototype.listen=function(t,e,n){},t.prototype.listenGlobal=function(t,e,n){},t.prototype.setElementProperty=function(t,e,n){},t.prototype.setElementAttribute=function(t,e,n){},t.prototype.setBindingDebugInfo=function(t,e,n){},t.prototype.setElementClass=function(t,e,n){},t.prototype.setElementStyle=function(t,e,n){},t.prototype.invokeElementMethod=function(t,e,n){},t.prototype.setText=function(t,e){},t.prototype.animate=function(t,e,n,r,o,i,s){},t}()),ki=(new qr("Renderer2Interceptor"),function(){function t(){}t.prototype.renderComponent=function(t){}}(),function(){function t(){}return t.prototype.createRenderer=function(t,e){},t.prototype.begin=function(){},t.prototype.end=function(){},t.prototype.whenRenderingDone=function(){},t}()),Ti={};Ti.Important=1,Ti.DashCase=2,Ti[Ti.Important]="Important",Ti[Ti.DashCase]="DashCase";var Pi=function(){function t(){}return t.prototype.data=function(){},t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){},t.prototype.createComment=function(t){},t.prototype.createText=function(t){},t.prototype.appendChild=function(t,e){},t.prototype.insertBefore=function(t,e,n){},t.prototype.removeChild=function(t,e){},t.prototype.selectRootElement=function(t){},t.prototype.parentNode=function(t){},t.prototype.nextSibling=function(t){},t.prototype.setAttribute=function(t,e,n,r){},t.prototype.removeAttribute=function(t,e,n){},t.prototype.addClass=function(t,e){},t.prototype.removeClass=function(t,e){},t.prototype.setStyle=function(t,e,n,r){},t.prototype.removeStyle=function(t,e,n){},t.prototype.setProperty=function(t,e,n){},t.prototype.setValue=function(t,e){},t.prototype.listen=function(t,e,n){},t}(),Ni=function(){function t(t){this.nativeElement=t}return t}(),Ai=(function(){function t(){}t.prototype.load=function(t){}}(),new Map,function(){function t(){this._dirty=!0,this._results=[],this._emitter=new li}return Object.defineProperty(t.prototype,"changes",{get:function(){return this._emitter},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._results.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"first",{get:function(){return this._results[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this._results[this.length-1]},enumerable:!0,configurable:!0}),t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[r()]=function(){return this._results[r()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=dt(t),this._dirty=!1},t.prototype.notifyOnChanges=function(){this._emitter.emit(this)},t.prototype.setDirty=function(){this._dirty=!0},Object.defineProperty(t.prototype,"dirty",{get:function(){return this._dirty},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._emitter.complete(),this._emitter.unsubscribe()},t}()),ji=function(){function t(){}return t}(),Ri={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Mi=function(){function t(t,e){this._compiler=t,this._config=e||Ri}return t.prototype.load=function(t){return this._compiler instanceof Go?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=t.split("#"),o=r[0],i=r[1];return void 0===i&&(i="default"),n("gFIY")(o).then(function(t){return t[i]}).then(function(t){return ht(t,o,i)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=t.split("#"),r=e[0],o=e[1],i="NgFactory";return void 0===o&&(o="default",i=""),n("gFIY")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[o+i]}).then(function(t){return ht(t,r,o)})},t}();Mi.decorators=[{type:fo}],Mi.ctorParameters=function(){return[{type:Go},{type:ji,decorators:[{type:lo}]}]};var Ii=function(){function t(){}return t.prototype.elementRef=function(){},t.prototype.createEmbeddedView=function(t){},t}(),Vi=function(){function t(){}return t.prototype.element=function(){},t.prototype.injector=function(){},t.prototype.parentInjector=function(){},t.prototype.clear=function(){},t.prototype.get=function(t){},t.prototype.length=function(){},t.prototype.createEmbeddedView=function(t,e,n){},t.prototype.createComponent=function(t,e,n,r,o){},t.prototype.insert=function(t,e){},t.prototype.move=function(t,e){},t.prototype.indexOf=function(t){},t.prototype.remove=function(t){},t.prototype.detach=function(t){},t}(),Di=function(){function t(){}return t.prototype.markForCheck=function(){},t.prototype.detach=function(){},t.prototype.detectChanges=function(){},t.prototype.checkNoChanges=function(){},t.prototype.reattach=function(){},t}(),Fi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Lr.a(e,t),e.prototype.destroy=function(){},e.prototype.destroyed=function(){},e.prototype.onDestroy=function(t){},e}(Di),Li=(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Lr.a(e,t),e.prototype.context=function(){},e.prototype.rootNodes=function(){}}(Fi),function(){function t(t,e){this.name=t,this.callback=e}return t}()),Hi=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof Ui?e.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"source",{get:function(){return"Deprecated since v4"},enumerable:!0,configurable:!0}),t}(),Ui=function(t){function e(e,n,r){var o=t.call(this,e,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=e,o}return Lr.a(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n=this,r=this.childNodes.indexOf(t);-1!==r&&((o=this.childNodes).splice.apply(o,[r+1,0].concat(e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=n}));var o},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return yt(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return vt(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(Hi),zi=new Map,Bi=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t}(),Ki=(function(){function t(){this.hasWrappedValue=!1}t.prototype.unwrap=function(t){return t instanceof Bi?(this.hasWrappedValue=!0,t.wrapped):t},t.prototype.reset=function(){this.hasWrappedValue=!1}}(),function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}()),qi=function(){function t(){}return t.prototype.supports=function(t){return wt(t)},t.prototype.create=function(t,e){return new Qi(e||t)},t}(),Zi=function(t,e){return e},Qi=function(){function t(t){this._length=0,this._collection=null,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Zi}return Object.defineProperty(t.prototype,"collection",{get:function(){return this._collection},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,o=null;e||n;){var i=!n||e&&e.currentIndex"+s(this.currentIndex)+"]"},t}(),Gi=function(){function t(){this._head=null,this._tail=null}return t.prototype.add=function(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)},t.prototype.get=function(t,e){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&i(n.trackById,t))return n;return null},t.prototype.remove=function(t){var e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head},t}(),Ji=function(){function t(){this.map=new Map}return t.prototype.put=function(t){var e=t.trackById,n=this.map.get(e);n||(n=new Gi,this.map.set(e,n)),n.add(t)},t.prototype.get=function(t,e){var n=t,r=this.map.get(n);return r?r.get(t,e):null},t.prototype.remove=function(t){var e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this.map.clear()},t.prototype.toString=function(){return"_DuplicateMap("+s(this.map)+")"},t}(),$i=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||xt(t)},t.prototype.create=function(t){return new Xi},t}(),Xi=function(){function t(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),t.prototype.forEachItem=function(t){var e;for(e=this._mapHead;null!==e;e=e._next)t(e)},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachChangedItem=function(t){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.diff=function(t){if(t){if(!(t instanceof Map||xt(t)))throw new Error("Error trying to diff '"+s(t)+"'. Only maps and objects are allowed")}else t=new Map;return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(t,function(t,r){if(n&&n.key===r)e._maybeAddToChanges(n,t),e._appendAfter=n,n=n._next;else{var o=e._getOrCreateRecordForKey(r,t);n=e._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},t.prototype._insertBeforeOrAppend=function(t,e){if(t){var n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null},t.prototype._getOrCreateRecordForKey=function(t,e){if(this._records.has(t)){var n=this._records.get(t);this._maybeAddToChanges(n,e);var r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}var i=new Yi(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i},t.prototype._reset=function(){if(this.isDirty){var t=void 0;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},t.prototype._maybeAddToChanges=function(t,e){i(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))},t.prototype._addToAdditions=function(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)},t.prototype._addToChanges=function(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)},t.prototype._forEach=function(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(function(n){return e(t[n],n)})},t}(),Yi=function(){function t(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}return t}(),ts=function(){function t(t){this.factories=t}return t.create=function(e,n){if(null!=n){var r=n.factories.slice();return e=e.concat(r),new t(e)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new yo,new lo]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(null!=e)return e;throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+St(t)+"'")},t}(),es=function(){function t(t){this.factories=t}return t.create=function(e,n){if(n){var r=n.factories.slice();e=e.concat(r)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new yo,new lo]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(e)return e;throw new Error("Cannot find a differ supporting object '"+t+"'")},t}(),ns=[new $i],rs=[new qi],os=new ts(rs),is=new es(ns),ss=[{provide:Zo,useValue:"unknown"},Ei,{provide:Ci,useExisting:Ei},{provide:Ao,useFactory:kt,deps:[]},hi,Wo],as=ut(null,"core",ss),us=new qr("LocaleId"),cs=(new qr("Translations"),new qr("TranslationsFormat"),{});cs.Error=0,cs.Warning=1,cs.Ignore=2,cs[cs.Error]="Error",cs[cs.Warning]="Warning",cs[cs.Ignore]="Ignore";var ps=function(){function t(t){}return t}();ps.decorators=[{type:so,args:[{providers:[Oi,{provide:xi,useExisting:Oi},zo,Go,Ko,{provide:ts,useFactory:Tt},{provide:es,useFactory:Pt},{provide:us,useFactory:Nt,deps:[[new po(us),new lo,new yo]]}]}]}],ps.ctorParameters=function(){return[{type:xi}]};var ls={};ls.NONE=0,ls.HTML=1,ls.STYLE=2,ls.SCRIPT=3,ls.URL=4,ls.RESOURCE_URL=5,ls[ls.NONE]="NONE",ls[ls.HTML]="HTML",ls[ls.STYLE]="STYLE",ls[ls.SCRIPT]="SCRIPT",ls[ls.URL]="URL",ls[ls.RESOURCE_URL]="RESOURCE_URL";var fs=function(){function t(){}return t.prototype.sanitize=function(t,e){},t}(),ds=(function(){function t(){}t.prototype.view=function(){},t.prototype.nodeIndex=function(){},t.prototype.injector=function(){},t.prototype.component=function(){},t.prototype.providerTokens=function(){},t.prototype.references=function(){},t.prototype.context=function(){},t.prototype.componentRenderElement=function(){},t.prototype.renderNode=function(){},t.prototype.logError=function(t){for(var e=[],n=1;n=0;e--){var n=Le(this._data,e);ds.destroyView(n)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new Ts(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,o){var i=n||this.parentInjector;o||t instanceof ii||(o=i.get(si));var s=t.create(i,r,void 0,o);return this.insert(s.hostView,e),s},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=t,r=n._view;return Ve(this._view,this._data,e,r),n.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this._embeddedViews.indexOf(t._view);return Ue(this._data,n,e),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Le(this._data,t);e&&ds.destroyView(e)},t.prototype.detach=function(t){var e=Le(this._data,t);return e?new Ts(e):null},t}(),Ts=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return ue(this._view)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){Wt(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin(),ds.checkAndUpdateView(this._view),t.end&&t.end()},t.prototype.checkNoChanges=function(){ds.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),ds.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,Be(this._view),ds.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}(),Ps=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return Lr.a(e,t),e.prototype.createEmbeddedView=function(t){return new Ts(ds.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new Ni(jt(this._parentView,this._def.index).renderElement)},enumerable:!0,configurable:!0}),e}(Ii),Ns=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){void 0===e&&(e=_o.THROW_IF_NOT_FOUND);var n=!!this.elDef&&0!=(33554432&this.elDef.flags);return ds.resolveDep(this.view,this.elDef,n,{flags:0,token:t,tokenKey:zt(t)},e)},t}(),As=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=he(e),r=n[0],o=n[1],i=this.delegate.createElement(o,r);return t&&this.delegate.appendChild(t,i),i},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(i.OuterSubscriber);e.MergeAllSubscriber=u},TQn8:function(t,e,n){"use strict";function r(t,e){return this.lift(new o.MergeMapOperator(t,e,1))}var o=n("cPhF");e.concatMap=r},ViUi:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof o&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof i.Observable?t[0]:new s.ArrayObservable(t,r).lift(new a.MergeAllOperator(n))}var i=n("bKpL"),s=n("wZOE"),a=n("TIdC"),u=n("MicL");e.merge=r,e.mergeStatic=o},XKz0:function(t,e,n){"use strict";function r(t,e){var n=new Map;if(t.length>0){t.split("&").forEach(function(t){var r=t.indexOf("="),o=-1==r?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,r)),e.decodeValue(t.slice(r+1))],i=o[0],s=o[1],a=n.get(i)||[];a.push(s),n.set(i,a)})}return n}function o(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function i(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function s(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function a(t){return"undefined"!=typeof Blob&&t instanceof Blob}function u(t){return"undefined"!=typeof FormData&&t instanceof FormData}function c(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}function p(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}function l(t,e){return void 0===e&&(e=[]),e?e.reduceRight(function(t,e){return new R(t,e)},t):t}function f(){return"object"==typeof window?window:{}}n.d(e,"b",function(){return C}),n.d(e,"f",function(){return w}),n.d(e,"c",function(){return j}),n.d(e,"a",function(){return M}),n.d(e,"d",function(){return J}),n.d(e,"e",function(){return G}),n.d(e,"o",function(){return l}),n.d(e,"g",function(){return B}),n.d(e,"i",function(){return U}),n.d(e,"h",function(){return Z}),n.d(e,"j",function(){return z}),n.d(e,"m",function(){return Q}),n.d(e,"n",function(){return W}),n.d(e,"k",function(){return K}),n.d(e,"l",function(){return q});var d=n("6Xbx"),h=n("/oeL"),y=n("+zVg"),v=(n.n(y),n("TQn8")),g=(n.n(v),n("422b")),m=(n.n(g),n("lx+J")),b=(n.n(m),n("qbdv")),_=n("bKpL"),w=(n.n(_),function(){function t(){}return t.prototype.handle=function(t){},t}()),C=function(){function t(){}return t.prototype.handle=function(t){},t}(),E=function(){function t(){}return t.prototype.encodeKey=function(t){return o(t)},t.prototype.encodeValue=function(t){return o(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}(),x=function(){function t(t){void 0===t&&(t={}),this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new E,this.map=t.fromString?r(t.fromString,this.encoder):null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map(function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map(function(e){return n+"="+t.encoder.encodeValue(e)}).join("&")}).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var r=t.map.get(e.param)||[],o=r.indexOf(e.value);-1!==o&&r.splice(o,1),r.length>0?t.map.set(e.param,r):t.map.delete(e.param)}}),this.cloneFrom=null)},t}(),O=function(){function t(t){var e=this;this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){e.headers=new Map,t.split("\n").forEach(function(t){var n=t.indexOf(":");if(n>0){var r=t.slice(0,n),o=r.toLowerCase(),i=t.slice(n+1).trim();e.maybeSetNormalizedName(r,o),e.headers.has(o)?e.headers.get(o).push(i):e.headers.set(o,[i])}})}:function(){e.headers=new Map,Object.keys(t).forEach(function(n){var r=t[n],o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(e.headers.set(o,r),e.maybeSetNormalizedName(n,o))})}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))})},t.prototype.clone=function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n},t.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var r=("a"===t.op?this.headers.get(e):void 0)||[];r.push.apply(r,n),this.headers.set(e,r);break;case"d":var o=t.value;if(o){var i=this.headers.get(e);if(!i)return;i=i.filter(function(t){return-1===o.indexOf(t)}),0===i.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,i)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return t(e.normalizedNames.get(n),e.headers.get(n))})},t}(),S=function(){function t(t,e,n,r){this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();var o;if(i(this.method)||r?(this.body=n||null,o=r):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new O),this.params){var s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{var a=e.indexOf("?"),u=-1===a?"?":a=200&&this.status<300}return t}(),P=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=k.ResponseHeader,n}return d.a(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(T),N=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=k.Response,n.body=e.body||null,n}return d.a(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(T),A=function(t){function e(e){var n=t.call(this,e,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.status>=200&&n.status<300?n.message="Http failure during parsing for "+(e.url||"(unknown url)"):n.message="Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,n.error=e.error||null,n}return d.a(e,t),e}(T),j=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var r=this;void 0===n&&(n={});var o;o=t instanceof S?t:new S(t,e,n.body||null,{headers:n.headers,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials});var i=v.concatMap.call(Object(y.of)(o),function(t){return r.handler.handle(t)});if(t instanceof S||"events"===n.observe)return i;var s=g.filter.call(i,function(t){return t instanceof N});switch(n.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return m.map.call(s,function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body});case"blob":return m.map.call(s,function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body});case"text":return m.map.call(s,function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body});case"json":default:return m.map.call(s,function(t){return t.body})}case"response":return s;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new x).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,c(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,c(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,c(n,e))},t}();j.decorators=[{type:h.p}],j.ctorParameters=function(){return[{type:w}]};var R=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),M=new h.q("HTTP_INTERCEPTORS"),I=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t}();I.decorators=[{type:h.p}],I.ctorParameters=function(){return[]};var V=0,D=function(){function t(){}return t}(),F=function(){function t(t,e){this.callbackMap=t,this.document=e}return t.prototype.nextCallback=function(){return"ng_jsonp_callback_"+V++},t.prototype.handle=function(t){var e=this;if("JSONP"!==t.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==t.responseType)throw new Error("JSONP requests must use Json response type.");return new _.Observable(function(n){var r=e.nextCallback(),o=t.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,"="+r+"$1"),i=e.document.createElement("script");i.src=o;var s=null,a=!1,u=!1;e.callbackMap[r]=function(t){delete e.callbackMap[r],u||(s=t,a=!0)};var c=function(){i.parentNode&&i.parentNode.removeChild(i),delete e.callbackMap[r]},p=function(t){if(!u){if(c(),!a)return void n.error(new A({url:o,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}));n.next(new N({body:s,status:200,statusText:"OK",url:o})),n.complete()}},l=function(t){u||(c(),n.error(new A({error:t,status:0,statusText:"JSONP Error",url:o})))};return i.addEventListener("load",p),i.addEventListener("error",l),e.document.body.appendChild(i),n.next({type:k.Sent}),function(){u=!0,i.removeEventListener("load",p),i.removeEventListener("error",l),c()}})},t}();F.decorators=[{type:h.p}],F.ctorParameters=function(){return[{type:D},{type:void 0,decorators:[{type:h.o,args:[b.b]}]}]};var L=function(){function t(t){this.jsonp=t}return t.prototype.intercept=function(t,e){return"JSONP"===t.method?this.jsonp.handle(t):e.handle(t)},t}();L.decorators=[{type:h.p}],L.ctorParameters=function(){return[{type:F}]};var H=/^\)\]\}',?\n/,U=function(){function t(){}return t.prototype.build=function(){},t}(),z=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}();z.decorators=[{type:h.p}],z.ctorParameters=function(){return[]};var B=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new _.Observable(function(n){var r=e.xhrFactory.build();if(r.open(t.method,t.urlWithParams),t.withCredentials&&(r.withCredentials=!0),t.headers.forEach(function(t,e){return r.setRequestHeader(t,e.join(","))}),t.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var o=t.detectContentTypeHeader();null!==o&&r.setRequestHeader("Content-Type",o)}if(t.responseType){var i=t.responseType.toLowerCase();r.responseType="json"!==i?i:"text"}var s=t.serializeBody(),a=null,u=function(){if(null!==a)return a;var e=1223===r.status?204:r.status,n=r.statusText||"OK",o=new O(r.getAllResponseHeaders()),i=p(r)||t.url;return a=new P({headers:o,status:e,statusText:n,url:i})},c=function(){var e=u(),o=e.headers,i=e.status,s=e.statusText,a=e.url,c=null;204!==i&&(c=void 0===r.response?r.responseText:r.response),0===i&&(i=c?200:0);var p=i>=200&&i<300;if(p&&"json"===t.responseType&&"string"==typeof c){c=c.replace(H,"");try{c=JSON.parse(c)}catch(t){p=!1,c={error:t,text:c}}}p?(n.next(new N({body:c,headers:o,status:i,statusText:s,url:a||void 0})),n.complete()):n.error(new A({error:c,headers:o,status:i,statusText:s,url:a||void 0}))},l=function(t){var e=new A({error:t,status:r.status||0,statusText:r.statusText||"Unknown Error"});n.error(e)},f=!1,d=function(e){f||(n.next(u()),f=!0);var o={type:k.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(o.total=e.total),"text"===t.responseType&&r.responseText&&(o.partialText=r.responseText),n.next(o)},h=function(t){var e={type:k.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return r.addEventListener("load",c),r.addEventListener("error",l),t.reportProgress&&(r.addEventListener("progress",d),null!==s&&r.upload&&r.upload.addEventListener("progress",h)),r.send(s),n.next({type:k.Sent}),function(){r.removeEventListener("error",l),r.removeEventListener("load",c),t.reportProgress&&(r.removeEventListener("progress",d),null!==s&&r.upload&&r.upload.removeEventListener("progress",h)),r.abort()}})},t}();B.decorators=[{type:h.p}],B.ctorParameters=function(){return[{type:U}]};var K=new h.q("XSRF_COOKIE_NAME"),q=new h.q("XSRF_HEADER_NAME"),Z=function(){function t(){}return t.prototype.getToken=function(){},t}(),Q=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(b.h)(t,this.cookieName),this.lastCookieString=t),this.lastToken},t}();Q.decorators=[{type:h.p}],Q.ctorParameters=function(){return[{type:void 0,decorators:[{type:h.o,args:[b.b]}]},{type:void 0,decorators:[{type:h.o,args:[h.B]}]},{type:void 0,decorators:[{type:h.o,args:[K]}]}]};var W=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)},t}();W.decorators=[{type:h.p}],W.ctorParameters=function(){return[{type:Z},{type:void 0,decorators:[{type:h.o,args:[q]}]}]};var G=function(){function t(){}return t.disable=function(){return{ngModule:t,providers:[{provide:W,useClass:I}]}},t.withOptions=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[e.cookieName?{provide:K,useValue:e.cookieName}:[],e.headerName?{provide:q,useValue:e.headerName}:[]]}},t}();G.decorators=[{type:h.w,args:[{providers:[W,{provide:M,useExisting:W,multi:!0},{provide:Z,useClass:Q},{provide:K,useValue:"XSRF-TOKEN"},{provide:q,useValue:"X-XSRF-TOKEN"}]}]}],G.ctorParameters=function(){return[]};var J=function(){function t(){}return t}();J.decorators=[{type:h.w,args:[{imports:[G.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})],providers:[j,{provide:w,useFactory:l,deps:[C,[new h.A,new h.o(M)]]},B,{provide:C,useExisting:B},z,{provide:U,useExisting:z}]}]}],J.ctorParameters=function(){return[]};var $=function(){function t(){}return t}();$.decorators=[{type:h.w,args:[{providers:[F,{provide:D,useFactory:f},{provide:M,useClass:L,multi:!0}]}]}],$.ctorParameters=function(){return[]}},XRvs:function(t,e,n){"use strict";e.errorObject={e:{}}},aOKN:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("bKpL"),i=function(t){function e(e,n){t.call(this),this.value=e,this.scheduler=n,this._isScalar=!0,n&&(this._isScalar=!1)}return r(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.done,n=t.value,r=t.subscriber;if(e)return void r.complete();r.next(n),r.closed||(t.done=!0,this.schedule(t))},e.prototype._subscribe=function(t){var n=this.value,r=this.scheduler;if(r)return r.schedule(e.dispatch,0,{done:!1,value:n,subscriber:t});t.next(n),t.closed||t.complete()},e}(o.Observable);e.ScalarObservable=i},bKpL:function(t,e,n){"use strict";var r=n("zijX"),o=n("rf3q"),i=n("DP67"),s=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,i=o.toSubscriber(t,e,n);if(r?r.call(i,this.source):i.add(this.source?this._subscribe(i):this._trySubscribe(i)),i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.syncErrorThrown=!0,t.syncErrorValue=e,t.error(e)}},t.prototype.forEach=function(t,e){var n=this;if(e||(r.root.Rx&&r.root.Rx.config&&r.root.Rx.config.Promise?e=r.root.Rx.config.Promise:r.root.Promise&&(e=r.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,r){var o;o=n.subscribe(function(e){if(o)try{t(e)}catch(t){r(t),o.unsubscribe()}else t(e)},r,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[i.observable]=function(){return this},t.create=function(e){return new t(e)},t}();e.Observable=s},cPhF:function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"number"==typeof e&&(n=e,e=null),this.lift(new a(t,e,n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("ktfo"),s=n("yW9Z");e.mergeMap=r;var a=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.project=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.project,this.resultSelector,this.concurrent))},t}();e.MergeMapOperator=a;var u=function(t){function e(e,n,r,o){void 0===o&&(o=Number.POSITIVE_INFINITY),t.call(this,e),this.project=n,this.resultSelector=r,this.concurrent=o,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return o(e,t),e.prototype._next=function(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(s.OuterSubscriber);e.MergeMapSubscriber=u},dkwD:function(t,e,n){"use strict";var r=n("zijX"),o=r.root.Symbol;e.rxSubscriber="function"==typeof o&&"function"==typeof o.for?o.for("rxSubscriber"):"@@rxSubscriber",e.$$rxSubscriber=e.rxSubscriber},fRUx:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},"fc+i":function(t,e,n){"use strict";function r(){return V}function o(t){V||(V=t)}function i(){return K||(K=document.querySelector("base"))?K.getAttribute("href"):null}function s(t){return z||(z=document.createElement("a")),z.setAttribute("href",t),"/"===z.pathname.charAt(0)?z.pathname:"/"+z.pathname}function a(){return!!window.history.pushState}function u(t,e,n){return function(){n.get(I.c).donePromise.then(function(){var n=r();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(function(e){return n.getAttribute(e,"ng-transition")===t}).forEach(function(t){return n.remove(t)})})}}function c(t,e){X||(I._6.ng=X=I._6.ng||{}),X[t]=e}function p(t){return Object(I.S)(t)}function l(t,e){var n=(t||[]).concat(e||[]);return c(tt,p),c(et,Object.assign({},Y,f(n||[]))),function(){return p}}function f(t){return t.reduce(function(t,e){return t[e.name]=e.token,t},{})}function d(t){return ft.replace(pt,t)}function h(t){return lt.replace(pt,t)}function y(t,e,n){for(var r=0;r/g,">")}function O(t){Pt.attributeMap(t).forEach(function(e,n){"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||Pt.removeAttribute(t,n)});for(var e=0,n=Pt.childNodesAsList(t);e0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r-1},e}(st);Ct.decorators=[{type:I.p}],Ct.ctorParameters=function(){return[{type:void 0,decorators:[{type:I.o,args:[q]}]},{type:wt,decorators:[{type:I.o,args:[_t]}]}]};var Et=["alt","control","meta","shift"],xt={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},Ot=function(t){function e(e){return t.call(this,e)||this}return R.a(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,o){var i=e.parseEventName(n),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return r().onAndCancel(t,i.domEventName,s)})},e.parseEventName=function(t){var n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var o=e._normalizeKey(n.pop()),i="";if(Et.forEach(function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=o,0!=n.length||0===o.length)return null;var s={};return s.domEventName=r,s.fullKey=i,s},e.getEventFullKey=function(t){var e="",n=r().getEventKey(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Et.forEach(function(r){if(r!=n){(0,xt[r])(t)&&(e+=r+".")}}),e+=n},e.eventCallback=function(t,n,r){return function(o){e.getEventFullKey(o)===t&&r.runGuarded(function(){return n(o)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(st);Ot.decorators=[{type:I.p}],Ot.ctorParameters=function(){return[{type:void 0,decorators:[{type:I.o,args:[q]}]}]};var St=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,kt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,Tt=null,Pt=null,Nt=w("area,br,col,hr,img,wbr"),At=w("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),jt=w("rp,rt"),Rt=C(jt,At),Mt=C(At,w("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),It=C(jt,w("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Vt=C(Nt,Mt,It,Rt),Dt=w("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ft=w("srcset"),Lt=w("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ht=C(Dt,Ft,Lt),Ut=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild;e;)if(Pt.isElementNode(e)?this.startElement(e):Pt.isTextNode(e)?this.chars(Pt.nodeValue(e)):this.sanitizedSomething=!0,Pt.firstChild(e))e=Pt.firstChild(e);else for(;e;){Pt.isElementNode(e)&&this.endElement(e);var n=E(e,Pt.nextSibling(e));if(n){e=n;break}e=E(e,Pt.parentElement(e))}return this.buf.join("")},t.prototype.startElement=function(t){var e=this,n=Pt.nodeName(t).toLowerCase();if(!Vt.hasOwnProperty(n))return void(this.sanitizedSomething=!0);this.buf.push("<"),this.buf.push(n),Pt.attributeMap(t).forEach(function(t,n){var r=n.toLowerCase();if(!Ht.hasOwnProperty(r))return void(e.sanitizedSomething=!0);Dt[r]&&(t=m(t)),Ft[r]&&(t=b(t)),e.buf.push(" "),e.buf.push(n),e.buf.push('="'),e.buf.push(x(t)),e.buf.push('"')}),this.buf.push(">")},t.prototype.endElement=function(t){var e=Pt.nodeName(t).toLowerCase();Vt.hasOwnProperty(e)&&!Nt.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(x(t))},t}(),zt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Bt=/([^\#-~ |!])/g,Kt=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),qt=/^url\(([^)]+)\)$/,Zt=function(){function t(){}return t.prototype.sanitize=function(t,e){},t.prototype.bypassSecurityTrustHtml=function(t){},t.prototype.bypassSecurityTrustStyle=function(t){},t.prototype.bypassSecurityTrustScript=function(t){},t.prototype.bypassSecurityTrustUrl=function(t){},t.prototype.bypassSecurityTrustResourceUrl=function(t){},t}(),Qt=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return R.a(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case I.I.NONE:return e;case I.I.HTML:return e instanceof Gt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),S(this._doc,String(e)));case I.I.STYLE:return e instanceof Jt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),T(e));case I.I.SCRIPT:if(e instanceof $t)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case I.I.URL:return e instanceof Yt||e instanceof Xt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),m(String(e)));case I.I.RESOURCE_URL:if(e instanceof Yt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof Wt)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new Gt(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new Jt(t)},e.prototype.bypassSecurityTrustScript=function(t){return new $t(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new Xt(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new Yt(t)},e}(Zt);Qt.decorators=[{type:I.p}],Qt.ctorParameters=function(){return[{type:void 0,decorators:[{type:I.o,args:[q]}]}]};var Wt=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.getTypeName=function(){},t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),Gt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return R.a(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(Wt),Jt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return R.a(e,t),e.prototype.getTypeName=function(){return"Style"},e}(Wt),$t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return R.a(e,t),e.prototype.getTypeName=function(){return"Script"},e}(Wt),Xt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return R.a(e,t),e.prototype.getTypeName=function(){return"URL"},e}(Wt),Yt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return R.a(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(Wt),te=[{provide:I.B,useValue:M.g},{provide:I.C,useValue:P,multi:!0},{provide:M.f,useClass:Z},{provide:q,useFactory:A,deps:[]}],ee=[{provide:I.H,useExisting:Zt},{provide:Zt,useClass:Qt}],ne=Object(I.Q)(I.U,"browser",te),re=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return t.withServerTransition=function(e){return{ngModule:t,providers:[{provide:I.a,useValue:e.appId},{provide:W,useExisting:I.a},G]}},t}();re.decorators=[{type:I.w,args:[{providers:[ee,{provide:I.l,useFactory:N,deps:[]},{provide:ot,useClass:mt,multi:!0},{provide:ot,useClass:Ot,multi:!0},{provide:ot,useClass:Ct,multi:!0},{provide:_t,useClass:wt},dt,{provide:I.F,useExisting:dt},{provide:at,useExisting:ut},ut,I.L,it,rt,Q,$],exports:[M.a,I.d]}]}],re.ctorParameters=function(){return[{type:re,decorators:[{type:I.A},{type:I.J}]}]};var oe="undefined"!=typeof window&&window||{},ie=function(){function t(t,e){this.msPerTick=t,this.numTicks=e}return t}();(function(){function t(t){this.appRef=t.injector.get(I.e)}t.prototype.timeChangeDetection=function(t){var e=t&&t.record,n=null!=oe.console.profile;e&&n&&oe.console.profile("Change Detection");for(var o=r().performanceNow(),i=0;i<5||r().performanceNow()-o<500;)this.appRef.tick(),i++;var s=r().performanceNow();e&&n&&oe.console.profileEnd("Change Detection");var a=(s-o)/i;return oe.console.log("ran "+i+" change detection cycles"),oe.console.log(a.toFixed(2)+" ms per check"),new ie(a,i)}})(),function(){function t(){}t.all=function(){return function(t){return!0}},t.css=function(t){return function(e){return null!=e.nativeElement&&r().elementMatches(e.nativeElement,t)}},t.directive=function(t){return function(e){return-1!==e.providerTokens.indexOf(t)}}}(),new I.M("4.4.4")},fclq:function(t,e,n){"use strict";function r(t){return"function"==typeof t}e.isFunction=r},fcnB:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("bKpL"),i=function(t){function e(e){t.call(this),this.scheduler=e}return r(e,t),e.create=function(t){return new e(t)},e.dispatch=function(t){t.subscriber.complete()},e.prototype._subscribe=function(t){var n=this.scheduler;if(n)return n.schedule(e.dispatch,0,{subscriber:t});t.complete()},e}(o.Observable);e.EmptyObservable=i},g0Kb:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("xFbG"),i=function(t){function e(e,n){t.call(this),this.subject=e,this.subscriber=n,this.closed=!1}return r(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(o.Subscription);e.SubjectSubscription=i},gonN:function(t,e,n){"use strict";function r(t,e){var n;if(n="function"==typeof t?t:function(){return t},"function"==typeof e)return this.lift(new i(n,e));var r=Object.create(this,o.connectableObservableDescriptor);return r.source=this,r.subjectFactory=n,r}var o=n("xKl2");e.multicast=r;var i=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),o=n(r).subscribe(t);return o.add(e.subscribe(r)),o},t}();e.MulticastOperator=i},kWk1:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+"),i=function(t){function e(e,n,r){t.call(this),this.parent=e,this.outerValue=n,this.outerIndex=r,this.index=0}return r(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(o.Subscriber);e.InnerSubscriber=i},ktfo:function(t,e,n){"use strict";function r(t,e,n,r){var f=new p.InnerSubscriber(t,n,r);if(f.closed)return null;if(e instanceof u.Observable)return e._isScalar?(f.next(e.value),f.complete(),null):e.subscribe(f);if(i.isArrayLike(e)){for(var d=0,h=e.length;d-1)return r;if(r=n.getPluralCategory(t),e.indexOf(r)>-1)return r;if(e.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+t+'"')}function s(t,e){"string"==typeof e&&(e=parseInt(e,10));var n=e,r=n.toString().replace(/^[^.]*\.?/,""),o=Math.floor(Math.abs(n)),i=r.length,s=parseInt(r,10),a=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(t.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?L.One:L.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?L.One:L.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===o||1===n?L.One:L.Other;case"ar":return 0===n?L.Zero:1===n?L.One:2===n?L.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?L.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?L.Many:L.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===o&&0===i?L.One:L.Other;case"be":return n%10==1&&n%100!=11?L.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?L.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?L.Many:L.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?L.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?L.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?L.Few:0!==n&&n%1e6==0?L.Many:L.Other;case"bs":case"hr":case"sr":return 0===i&&o%10==1&&o%100!=11||s%10==1&&s%100!=11?L.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)||s%10===Math.floor(s%10)&&s%10>=2&&s%10<=4&&!(s%100>=12&&s%100<=14)?L.Few:L.Other;case"cs":case"sk":return 1===o&&0===i?L.One:o===Math.floor(o)&&o>=2&&o<=4&&0===i?L.Few:0!==i?L.Many:L.Other;case"cy":return 0===n?L.Zero:1===n?L.One:2===n?L.Two:3===n?L.Few:6===n?L.Many:L.Other;case"da":return 1===n||0!==a&&(0===o||1===o)?L.One:L.Other;case"dsb":case"hsb":return 0===i&&o%100==1||s%100==1?L.One:0===i&&o%100==2||s%100==2?L.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||s%100===Math.floor(s%100)&&s%100>=3&&s%100<=4?L.Few:L.Other;case"ff":case"fr":case"hy":case"kab":return 0===o||1===o?L.One:L.Other;case"fil":return 0===i&&(1===o||2===o||3===o)||0===i&&o%10!=4&&o%10!=6&&o%10!=9||0!==i&&s%10!=4&&s%10!=6&&s%10!=9?L.One:L.Other;case"ga":return 1===n?L.One:2===n?L.Two:n===Math.floor(n)&&n>=3&&n<=6?L.Few:n===Math.floor(n)&&n>=7&&n<=10?L.Many:L.Other;case"gd":return 1===n||11===n?L.One:2===n||12===n?L.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?L.Few:L.Other;case"gv":return 0===i&&o%10==1?L.One:0===i&&o%10==2?L.Two:0!==i||o%100!=0&&o%100!=20&&o%100!=40&&o%100!=60&&o%100!=80?0!==i?L.Many:L.Other:L.Few;case"he":return 1===o&&0===i?L.One:2===o&&0===i?L.Two:0!==i||n>=0&&n<=10||n%10!=0?L.Other:L.Many;case"is":return 0===a&&o%10==1&&o%100!=11||0!==a?L.One:L.Other;case"ksh":return 0===n?L.Zero:1===n?L.One:L.Other;case"kw":case"naq":case"se":case"smn":return 1===n?L.One:2===n?L.Two:L.Other;case"lag":return 0===n?L.Zero:0!==o&&1!==o||0===n?L.Other:L.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?L.Few:0!==s?L.Many:L.Other:L.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===i&&s%100===Math.floor(s%100)&&s%100>=11&&s%100<=19?L.Zero:n%10==1&&n%100!=11||2===i&&s%10==1&&s%100!=11||2!==i&&s%10==1?L.One:L.Other;case"mk":return 0===i&&o%10==1||s%10==1?L.One:L.Other;case"mt":return 1===n?L.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?L.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?L.Many:L.Other;case"pl":return 1===o&&0===i?L.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?L.Few:0===i&&1!==o&&o%10===Math.floor(o%10)&&o%10>=0&&o%10<=1||0===i&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===i&&o%100===Math.floor(o%100)&&o%100>=12&&o%100<=14?L.Many:L.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?L.One:L.Other;case"ro":return 1===o&&0===i?L.One:0!==i||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?L.Few:L.Other;case"ru":case"uk":return 0===i&&o%10==1&&o%100!=11?L.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?L.Few:0===i&&o%10==0||0===i&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===i&&o%100===Math.floor(o%100)&&o%100>=11&&o%100<=14?L.Many:L.Other;case"shi":return 0===o||1===n?L.One:n===Math.floor(n)&&n>=2&&n<=10?L.Few:L.Other;case"si":return 0===n||1===n||0===o&&1===s?L.One:L.Other;case"sl":return 0===i&&o%100==1?L.One:0===i&&o%100==2?L.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||0!==i?L.Few:L.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?L.One:L.Other;default:return L.Other}}function a(t,e){e=encodeURIComponent(e);for(var n=0,r=t.split(";");n1?"short":"narrow":"long",n}function m(t){return t.reduce(function(t,e){return Object.assign({},t,e)},{})}function b(t){return function(e,n){return d(e,n,t)}}function _(t,e,n){var r=dt[t];if(r)return r(e,n);var o=t,i=yt.get(o);if(!i){i=[];var s=void 0;ft.exec(t);for(var a=t;a;)s=ft.exec(a),s?(i=i.concat(s.slice(1)),a=i.pop()):(i.push(a),a=null);yt.set(o,i)}return i.reduce(function(t,r){var o=ht[r];return t+(o?o(e,n):w(r))},"")}function w(t){return"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}function C(t,e,n,r,o,i,s){if(void 0===i&&(i=null),void 0===s&&(s=!1),null==n)return null;if("number"!=typeof(n="string"==typeof n&&x(n)?+n:n))throw c(t,n);var a=void 0,u=void 0,p=void 0;if(r!==pt.Currency&&(a=1,u=0,p=3),o){var l=o.match(gt);if(null===l)throw new Error(o+" is not a valid digit info for number pipes");null!=l[1]&&(a=E(l[1])),null!=l[3]&&(u=E(l[3])),null!=l[5]&&(p=E(l[5]))}return lt.format(n,e,r,{minimumIntegerDigits:a,minimumFractionDigits:u,maximumFractionDigits:p,currency:i,currencyAsSymbol:s})}function E(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function x(t){return!isNaN(t-parseFloat(t))}function O(t){return null==t||""===t}function S(t){return t instanceof Date&&!isNaN(t.valueOf())}function k(t){var e=new Date(0),n=0,r=0,o=t[8]?e.setUTCFullYear:e.setFullYear,i=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=T(t[9]+t[10]),r=T(t[9]+t[11])),o.call(e,T(t[1]),T(t[2])-1,T(t[3]));var s=T(t[4]||"0")-n,a=T(t[5]||"0")-r,u=T(t[6]||"0"),c=Math.round(1e3*parseFloat("0."+(t[7]||0)));return i.call(e,s,a,u,c),e}function T(t){return parseInt(t,10)}n.d(e,"d",function(){return F}),n.d(e,"e",function(){return D}),n.d(e,"h",function(){return a}),n.d(e,"a",function(){return Pt}),n.d(e,"c",function(){return q}),n.d(e,"b",function(){return At}),n.d(e,"g",function(){return jt}),n.d(e,"f",function(){return A});var P=n("6Xbx"),N=n("/oeL"),A=function(){function t(){}return t.prototype.getBaseHrefFromDOM=function(){},t.prototype.onPopState=function(t){},t.prototype.onHashChange=function(t){},t.prototype.pathname=function(){},t.prototype.search=function(){},t.prototype.hash=function(){},t.prototype.replaceState=function(t,e,n){},t.prototype.pushState=function(t,e,n){},t.prototype.forward=function(){},t.prototype.back=function(){},t}(),j=(new N.q("Location Initialized"),function(){function t(){}return t.prototype.path=function(t){},t.prototype.prepareExternalUrl=function(t){},t.prototype.pushState=function(t,e,n,r){},t.prototype.replaceState=function(t,e,n,r){},t.prototype.forward=function(){},t.prototype.back=function(){},t.prototype.onPopState=function(t){},t.prototype.getBaseHref=function(){},t}()),R=new N.q("appBaseHref"),M=function(){function t(e){var n=this;this._subject=new N.m,this._platformStrategy=e;var r=this._platformStrategy.getBaseHref();this._baseHref=t.stripTrailingSlash(o(r)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,type:t.type})})}return t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(e,n){return void 0===n&&(n=""),this.path()==this.normalize(e+t.normalizeQueryParams(n))},t.prototype.normalize=function(e){return t.stripTrailingSlash(r(this._baseHref,o(e)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e){void 0===e&&(e=""),this._platformStrategy.pushState(null,"",t,e)},t.prototype.replaceState=function(t,e){void 0===e&&(e=""),this._platformStrategy.replaceState(null,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length,r=n-("/"===t[n-1]?1:0);return t.slice(0,r)+t.slice(n)},t}();M.decorators=[{type:N.p}],M.ctorParameters=function(){return[{type:j}]};var I=function(t){function e(e,n){var r=t.call(this)||this;return r._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}return P.a(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=M.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+M.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+M.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(j);I.decorators=[{type:N.p}],I.ctorParameters=function(){return[{type:A},{type:void 0,decorators:[{type:N.A},{type:N.o,args:[R]}]}]};var V=function(t){function e(e,n){var r=t.call(this)||this;if(r._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}return P.a(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return M.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+M.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+M.normalizeQueryParams(r));this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+M.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(j);V.decorators=[{type:N.p}],V.ctorParameters=function(){return[{type:A},{type:void 0,decorators:[{type:N.A},{type:N.o,args:[R]}]}]};var D=function(){function t(){}return t.prototype.getPluralCategory=function(t){},t}(),F=function(t){function e(e){var n=t.call(this)||this;return n.locale=e,n}return P.a(e,t),e.prototype.getPluralCategory=function(t){switch(s(this.locale,t)){case L.Zero:return"zero";case L.One:return"one";case L.Two:return"two";case L.Few:return"few";case L.Many:return"many";default:return"other"}},e}(D);F.decorators=[{type:N.p}],F.ctorParameters=function(){return[{type:void 0,decorators:[{type:N.o,args:[N.v]}]}]};var L={};L.Zero=0,L.One=1,L.Two=2,L.Few=3,L.Many=4,L.Other=5,L[L.Zero]="Zero",L[L.One]="One",L[L.Two]="Two",L[L.Few]="Few",L[L.Many]="Many",L[L.Other]="Other";var H=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._applyInitialClasses(!0),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyInitialClasses(!1),this._applyClasses(this._rawClass,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._cleanupClasses(this._rawClass),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(N._7)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._cleanupClasses=function(t){this._applyClasses(t,!0),this._applyInitialClasses(!1)},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(N._16)(t.item));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})},t.prototype._applyInitialClasses=function(t){var e=this;this._initialClasses.forEach(function(n){return e._toggleClass(n,!t)})},t.prototype._applyClasses=function(t,e){var n=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return n._toggleClass(t,!e)}):Object.keys(t).forEach(function(r){null!=t[r]&&n._toggleClass(r,!e)}))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){n._renderer.setElementClass(n._ngEl.nativeElement,t,!!e)})},t}();H.decorators=[{type:N.j,args:[{selector:"[ngClass]"}]}],H.ctorParameters=function(){return[{type:N.t},{type:N.u},{type:N.k},{type:N.E}]},H.propDecorators={klass:[{type:N.s,args:["class"]}],ngClass:[{type:N.s}]};var U=function(){function t(t){this._viewContainerRef=t,this._componentRef=null,this._moduleRef=null}return t.prototype.ngOnChanges=function(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=e.get(N.x);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var r=this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(N.i),o=r.resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(o,this._viewContainerRef.length,e,this.ngComponentOutletContent)}},t.prototype.ngOnDestroy=function(){this._moduleRef&&this._moduleRef.destroy()},t}();U.decorators=[{type:N.j,args:[{selector:"[ngComponentOutlet]"}]}],U.ctorParameters=function(){return[{type:N.N}]},U.propDecorators={ngComponentOutlet:[{type:N.s}],ngComponentOutletInjector:[{type:N.s}],ngComponentOutletContent:[{type:N.s}],ngComponentOutletNgModuleFactory:[{type:N.s}]};var z=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),B=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._differ=null}return Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Object(N.T)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){if("ngForOf"in t){var e=t.ngForOf.currentValue;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+u(e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}},t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this.ngForOf);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,r,o){if(null==t.previousIndex){var i=e._viewContainer.createEmbeddedView(e._template,new z(null,e.ngForOf,-1,-1),o),s=new K(t,i);n.push(s)}else if(null==o)e._viewContainer.remove(r);else{var i=e._viewContainer.get(r);e._viewContainer.move(i,o);var s=new K(t,i);n.push(s)}});for(var r=0;r1?new e(t,r):1===o?new i.ScalarObservable(t[0],r):new s.EmptyObservable(r)},e.dispatch=function(t){var e=t.array,n=t.index,r=t.count,o=t.subscriber;if(n>=r)return void o.complete();o.next(e[n]),o.closed||(t.index=n+1,this.schedule(t))},e.prototype._subscribe=function(t){var n=this.array,r=n.length,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{array:n,index:0,count:r,subscriber:t});for(var i=0;i1)return void(this.connection=null);var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()},e}(s.Subscriber)},yW9Z:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+"),i=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(o.Subscriber);e.OuterSubscriber=i},zijX:function(t,e,n){"use strict";(function(t){var n="undefined"!=typeof window&&window,r="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,o=void 0!==t&&t,i=n||o||r;e.root=i,function(){if(!i)throw new Error("RxJS could not find any global context (window, self, global)")}()}).call(e,n("fRUx"))}}); \ No newline at end of file diff --git a/docs/vendor.dd8fdb61ced359145657.bundle.js b/docs/vendor.dd8fdb61ced359145657.bundle.js deleted file mode 100644 index 32b92c6a..00000000 --- a/docs/vendor.dd8fdb61ced359145657.bundle.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([3],{"/oeL":function(t,e,n){"use strict";(function(t){function r(){if(!Wr){var t=Gr.Symbol;if(t&&t.iterator)Wr=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n-1)return e.push(t[n]),e;e.push(t[n])}return e}function C(t){if(t.length>1){return" ("+w(t.slice().reverse()).map(function(t){return s(t.token)}).join(" -> ")+")"}return""}function E(t,e,n,r){var o=[e],i=n(o),s=r?_(i,r):Error(i);return s.addKey=x,s.keys=o,s.injectors=[t],s.constructResolvingMessage=n,s[wo]=r,s}function x(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function O(t,e){return E(t,e,function(t){return"No provider for "+s(t[0].token)+"!"+C(t)})}function k(t,e){return E(t,e,function(t){return"Cannot instantiate cyclic dependency!"+C(t)})}function S(t,e,n,r){return E(t,r,function(t){var n=s(t[0].token);return e.message+": Error during instantiation of "+n+"!"+C(t)+"."},e)}function T(t){return Error("Invalid provider - only instances of Provider and Type are allowed, got: "+t)}function P(t,e){for(var n=[],r=0,o=e.length;r-1&&t.splice(n,1)}function dt(t){return t.reduce(function(t,e){var n=Array.isArray(e)?dt(e):e;return t.concat(n)},[])}function ht(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}function yt(t,e,n){t.childNodes.forEach(function(t){t instanceof Li&&(e(t)&&n.push(t),yt(t,e,n))})}function vt(t,e,n){t instanceof Li&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof Li&&vt(t,e,n)})}function gt(t){return Ui.get(t)||null}function mt(t){Ui.set(t.nativeNode,t)}function bt(t){Ui.delete(t.nativeNode)}function _t(t,e){var n=wt(t),r=wt(e);if(n&&r)return Ct(t,e,_t);var o=t&&("object"==typeof t||"function"==typeof t),s=e&&("object"==typeof e||"function"==typeof e);return!(n||!o||r||!s)||i(t,e)}function wt(t){return!!xt(t)&&(Array.isArray(t)||!(t instanceof Map)&&r()in t)}function Ct(t,e,n){for(var o=t[r()](),i=e[r()]();;){var s=o.next(),a=i.next();if(s.done&&a.done)return!0;if(s.done||a.done)return!1;if(!n(s.value,a.value))return!1}}function Et(t,e){if(Array.isArray(t))for(var n=0;n0&&Ee(t,e,0,n)&&(d=!0),f>1&&Ee(t,e,1,r)&&(d=!0),f>2&&Ee(t,e,2,o)&&(d=!0),f>3&&Ee(t,e,3,i)&&(d=!0),f>4&&Ee(t,e,4,s)&&(d=!0),f>5&&Ee(t,e,5,a)&&(d=!0),f>6&&Ee(t,e,6,u)&&(d=!0),f>7&&Ee(t,e,7,c)&&(d=!0),f>8&&Ee(t,e,8,p)&&(d=!0),f>9&&Ee(t,e,9,l)&&(d=!0),d}function Ce(t,e,n){for(var r=!1,o=0;o0?o[n-1]:null,r)}function De(t,e){var n=Yt(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),Fe(e.parent.def,e.parentNodeDef)}}function Fe(t,e){if(!(4&e.flags)){t.nodeFlags|=4,e.flags|=4;for(var n=e.parent;n;)n.childFlags|=4,n=n.parent}}function He(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,Ze(n,e),fs.dirtyParentQueries(r),ze(r),r}function Le(t){if(16&t.state){var e=Yt(t);if(e){var n=e.template._projectedViews;n&&(Ze(n,n.indexOf(t)),fs.dirtyParentQueries(t))}}}function Ue(t,e,n){var r=t.viewContainer._embeddedViews,o=r[e];return Ze(r,e),null==n&&(n=r.length),Ke(r,n,o),fs.dirtyParentQueries(o),ze(o),Be(t,n>0?r[n-1]:null,o),o}function Be(t,e,n){var r=e?Jt(e,e.def.lastRenderRootNode):t.renderElement;ce(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function ze(t){ce(t,3,null,null,void 0)}function Ke(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Ze(t,e){e>=t.length-1?t.pop():t.splice(e,1)}function qe(t,e,n,r,o,i){return new xs(t,e,n,r,o,i)}function Qe(t,e,n){return new ks(t,e,n)}function Ge(t){return new Ss(t)}function We(t,e){return new Ts(t,e)}function $e(t,e){return new Ps(t,e)}function Ye(t){return new As(t.renderer)}function Xe(t,e,n,r){return new js(t,e,n,r)}function Je(t,e,n,r,o,i,s){var a=[];if(i)for(var u in i){var c=i[u],p=c[0],l=c[1];a[p]={flags:8,name:u,nonMinifiedName:l,ns:null,securityContext:null,suffix:null}}var f=[];if(s)for(var d in s)f.push({type:1,propName:d,target:null,eventName:s[d]});return t|=16384,tn(t,e,n,r,r,o,a,f)}function tn(t,e,n,r,o,i,s,a){var u=oe(e),c=u.matchedQueries,p=u.references,l=u.matchedQueryIds;a||(a=[]),s||(s=[]);var f=ie(i);return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:l,references:p,ngContentIndex:-1,childCount:n,bindings:s,bindingFlags:ye(s),outputs:a,element:null,provider:{token:r,value:o,deps:f},text:null,query:null,ngContent:null}}function en(t,e){return 4096&e.flags?Hs:un(t,e)}function nn(t,e){for(var n=t;n.parent&&!ee(n);)n=n.parent;return cn(n.parent,Xt(n),!0,e.provider.value,e.provider.deps)}function rn(t,e){var n=(32768&e.flags)>0,r=cn(t,e.parent,n,e.provider.value,e.provider.deps);if(e.outputs.length)for(var o=0;o0&&Zt(t,e,0,n)&&(h=!0,y=dn(t,f,e,0,n,y)),v>1&&Zt(t,e,1,r)&&(h=!0,y=dn(t,f,e,1,r,y)),v>2&&Zt(t,e,2,o)&&(h=!0,y=dn(t,f,e,2,o,y)),v>3&&Zt(t,e,3,i)&&(h=!0,y=dn(t,f,e,3,i,y)),v>4&&Zt(t,e,4,s)&&(h=!0,y=dn(t,f,e,4,s,y)),v>5&&Zt(t,e,5,a)&&(h=!0,y=dn(t,f,e,5,a,y)),v>6&&Zt(t,e,6,u)&&(h=!0,y=dn(t,f,e,6,u,y)),v>7&&Zt(t,e,7,c)&&(h=!0,y=dn(t,f,e,7,c,y)),v>8&&Zt(t,e,8,p)&&(h=!0,y=dn(t,f,e,8,p,y)),v>9&&Zt(t,e,9,l)&&(h=!0,y=dn(t,f,e,9,l,y)),y&&d.ngOnChanges(y),2&t.state&&65536&e.flags&&d.ngOnInit(),262144&e.flags&&d.ngDoCheck(),h}function an(t,e,n){for(var r=Mt(t,e.index),o=r.instance,i=!1,s=void 0,a=0;a0,o=e.provider;switch(201347067&e.flags){case 512:n=cn(t,e.parent,r,o.value,o.deps);break;case 1024:n=pn(t,e.parent,r,o.value,o.deps);break;case 2048:n=ln(t,e.parent,r,o.deps[0]);break;case 256:n=o.value}return n}function cn(t,e,n,r,o){var i,s=o.length;switch(s){case 0:i=new r;break;case 1:i=new r(ln(t,e,n,o[0]));break;case 2:i=new r(ln(t,e,n,o[0]),ln(t,e,n,o[1]));break;case 3:i=new r(ln(t,e,n,o[0]),ln(t,e,n,o[1]),ln(t,e,n,o[2]));break;default:for(var a=new Array(s),u=0;u0&&qt(t,e,0,n)&&(d=!0),h>1&&qt(t,e,1,r)&&(d=!0),h>2&&qt(t,e,2,o)&&(d=!0),h>3&&qt(t,e,3,i)&&(d=!0),h>4&&qt(t,e,4,s)&&(d=!0),h>5&&qt(t,e,5,a)&&(d=!0),h>6&&qt(t,e,6,u)&&(d=!0),h>7&&qt(t,e,7,c)&&(d=!0),h>8&&qt(t,e,8,p)&&(d=!0),h>9&&qt(t,e,9,l)&&(d=!0),d){var y=Rt(t,e.index),v=void 0;switch(201347067&e.flags){case 32:v=new Array(f.length),h>0&&(v[0]=n),h>1&&(v[1]=r),h>2&&(v[2]=o),h>3&&(v[3]=i),h>4&&(v[4]=s),h>5&&(v[5]=a),h>6&&(v[6]=u),h>7&&(v[7]=c),h>8&&(v[8]=p),h>9&&(v[9]=l);break;case 64:v={},h>0&&(v[f[0].name]=n),h>1&&(v[f[1].name]=r),h>2&&(v[f[2].name]=o),h>3&&(v[f[3].name]=i),h>4&&(v[f[4].name]=s),h>5&&(v[f[5].name]=a),h>6&&(v[f[6].name]=u),h>7&&(v[f[7].name]=c),h>8&&(v[f[8].name]=p),h>9&&(v[f[9].name]=l);break;case 128:var g=n;switch(h){case 1:v=g.transform(n);break;case 2:v=g.transform(r);break;case 3:v=g.transform(r,o);break;case 4:v=g.transform(r,o,i);break;case 5:v=g.transform(r,o,i,s);break;case 6:v=g.transform(r,o,i,s,a);break;case 7:v=g.transform(r,o,i,s,a,u);break;case 8:v=g.transform(r,o,i,s,a,u,c);break;case 9:v=g.transform(r,o,i,s,a,u,c,p);break;case 10:v=g.transform(r,o,i,s,a,u,c,p,l)}}y.value=v}return d}function On(t,e,n){for(var r=e.bindings,o=!1,i=0;i0&&qt(t,e,0,n)&&(f=!0),h>1&&qt(t,e,1,r)&&(f=!0),h>2&&qt(t,e,2,o)&&(f=!0),h>3&&qt(t,e,3,i)&&(f=!0),h>4&&qt(t,e,4,s)&&(f=!0),h>5&&qt(t,e,5,a)&&(f=!0),h>6&&qt(t,e,6,u)&&(f=!0),h>7&&qt(t,e,7,c)&&(f=!0),h>8&&qt(t,e,8,p)&&(f=!0),h>9&&qt(t,e,9,l)&&(f=!0),f){var y=e.text.prefix;h>0&&(y+=An(n,d[0])),h>1&&(y+=An(r,d[1])),h>2&&(y+=An(o,d[2])),h>3&&(y+=An(i,d[3])),h>4&&(y+=An(s,d[4])),h>5&&(y+=An(a,d[5])),h>6&&(y+=An(u,d[6])),h>7&&(y+=An(c,d[7])),h>8&&(y+=An(p,d[8])),h>9&&(y+=An(l,d[9]));var v=jt(t,e.index).renderText;t.renderer.setValue(v,y)}return f}function Pn(t,e,n){for(var r=e.bindings,o=!1,i=0;i0)c=y,Nn(y)||(p=y);else for(;c&&h===c.index+c.childCount;){var b=c.parent;b&&(b.childFlags|=c.childFlags,b.childMatchedQueries|=c.childMatchedQueries),c=b,p=c&&Nn(c)?c.renderParent:c}}var _=function(t,n,r,o){return e[n].element.handleEvent(t,r,o)};return{factory:null,nodeFlags:s,rootNodeFlags:a,nodeMatchedQueries:u,flags:t,nodes:e,updateDirectives:n||ds,updateRenderer:r||ds,handleEvent:_,bindingCount:o,outputCount:i,lastRenderRootNode:d}}function Nn(t){return 0!=(1&t.flags)&&null===t.element.name}function Mn(t,e,n){var r=e.element&&e.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+e.index+"!")}if(20224&e.flags){if(0==(1&(t?t.flags:0)))throw new Error("Illegal State: Provider/Directive nodes need to be children of elements or anchors, at index "+e.index+"!")}if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.index+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.index+"!")}if(e.childCount){var o=t?t.index+t.childCount:n-1;if(e.index<=o&&e.index+e.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.index+"!")}}function Rn(t,e,n,r){var o=Dn(t.root,t.renderer,t,e,n);return Fn(o,t.component,r),Hn(o),o}function In(t,e,n){var r=Dn(t,t.renderer,null,null,e);return Fn(r,n,n),Hn(r),r}function Vn(t,e,n,r){var o,i=e.element.componentRendererType;return o=i?t.root.rendererFactory.createRenderer(r,i):t.root.renderer,Dn(t.root,o,t,e.element.componentProvider,n)}function Dn(t,e,n,r,o){var i=new Array(o.nodes.length),s=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:t,renderer:e,oldValues:new Array(o.bindingCount),disposables:s}}function Fn(t,e,n){t.component=e,t.context=n}function Hn(t){var e;if(ee(t)){var n=t.parentNodeDef;e=Nt(t.parent,n.parent.index).renderElement}for(var r=t.def,o=t.nodes,i=0;i0&&Qt(t,e,0,n),f>1&&Qt(t,e,1,r),f>2&&Qt(t,e,2,o),f>3&&Qt(t,e,3,i),f>4&&Qt(t,e,4,s),f>5&&Qt(t,e,5,a),f>6&&Qt(t,e,6,u),f>7&&Qt(t,e,7,c),f>8&&Qt(t,e,8,p),f>9&&Qt(t,e,9,l)}function Gn(t,e,n){for(var r=0;r=this._providers.length)throw A(t);return this._providers[t]},t.prototype._new=function(t){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw k(this,t.key);return this._instantiateProvider(t)},t.prototype._getMaxNumberOfObjects=function(){return this.objs.length},t.prototype._instantiateProvider=function(t){if(t.multiProvider){for(var e=new Array(t.resolvedFactories.length),n=0;n0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+s(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},e}(wi);Ci.decorators=[{type:lo}],Ci.ctorParameters=function(){return[{type:bo}]};var Ei=function(){function t(){}return t.prototype.bootstrap=function(t,e){},t.prototype.tick=function(){},t.prototype.componentTypes=function(){},t.prototype.components=function(){},t.prototype.attachView=function(t){},t.prototype.detachView=function(t){},t.prototype.viewCount=function(){},t.prototype.isStable=function(){},t}(),xi=function(t){function e(e,n,r,i,s,a){var u=t.call(this)||this;u._zone=e,u._console=n,u._injector=r,u._exceptionHandler=i,u._componentFactoryResolver=s,u._initStatus=a,u._bootstrapListeners=[],u._rootComponents=[],u._rootComponentTypes=[],u._views=[],u._runningTick=!1,u._enforceNoNewChanges=!1,u._stable=!0,u._enforceNoNewChanges=st(),u._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run(function(){u.tick()})}});var c=new Hr.Observable(function(t){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular(function(){t.next(u._stable),t.complete()})}),p=new Hr.Observable(function(t){var e;u._zone.runOutsideAngular(function(){e=u._zone.onStable.subscribe(function(){li.assertNotInAngularZone(),o(function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,t.next(!0))})})});var n=u._zone.onUnstable.subscribe(function(){li.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});return u._isStable=Object(Lr.merge)(c,Ur.share.call(p)),u}return Fr.a(e,t),e.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},e.prototype.detachView=function(t){var e=t;ft(this._views,e),e.detachFromAppRef()},e.prototype.bootstrap=function(t,e){var n=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");var r;r=t instanceof Yo?t:this._componentFactoryResolver.resolveComponentFactory(t),this._rootComponentTypes.push(r.componentType);var o=r instanceof oi?null:this._injector.get(ii),i=e||r.selector,s=r.create(bo.NULL,[],i,o);s.onDestroy(function(){n._unloadComponent(s)});var a=s.injector.get(fi,null);return a&&s.injector.get(di).registerApplication(s.location.nativeElement,a),this._loadComponent(s),st()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),s},e.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this._rootComponents.push(t),this._injector.get(qo,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},e.prototype._unloadComponent=function(t){this.detachView(t.hostView),ft(this._rootComponents,t)},e.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(e){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(e)})}finally{this._runningTick=!1,ci(n)}},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentTypes",{get:function(){return this._rootComponentTypes},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"components",{get:function(){return this._rootComponents},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isStable",{get:function(){return this._isStable},enumerable:!0,configurable:!0}),e}(Ei);xi._tickScope=ui("ApplicationRef#tick()"),xi.decorators=[{type:lo}],xi.ctorParameters=function(){return[{type:li},{type:Qo},{type:bo},{type:Eo},{type:ti},{type:Uo}]};var Oi=(function(){function t(t,e,n,r,o,i){this.id=t,this.templateUrl=e,this.slotCount=n,this.encapsulation=r,this.styles=o,this.animations=i}}(),function(){function t(){}t.prototype.injector=function(){},t.prototype.component=function(){},t.prototype.providerTokens=function(){},t.prototype.references=function(){},t.prototype.context=function(){},t.prototype.source=function(){}}(),function(){function t(){}return t.prototype.selectRootElement=function(t,e){},t.prototype.createElement=function(t,e,n){},t.prototype.createViewRoot=function(t){},t.prototype.createTemplateAnchor=function(t,e){},t.prototype.createText=function(t,e,n){},t.prototype.projectNodes=function(t,e){},t.prototype.attachViewAfter=function(t,e){},t.prototype.detachView=function(t){},t.prototype.destroyView=function(t,e){},t.prototype.listen=function(t,e,n){},t.prototype.listenGlobal=function(t,e,n){},t.prototype.setElementProperty=function(t,e,n){},t.prototype.setElementAttribute=function(t,e,n){},t.prototype.setBindingDebugInfo=function(t,e,n){},t.prototype.setElementClass=function(t,e,n){},t.prototype.setElementStyle=function(t,e,n){},t.prototype.invokeElementMethod=function(t,e,n){},t.prototype.setText=function(t,e){},t.prototype.animate=function(t,e,n,r,o,i,s){},t}()),ki=(new Kr("Renderer2Interceptor"),function(){function t(){}t.prototype.renderComponent=function(t){}}(),function(){function t(){}return t.prototype.createRenderer=function(t,e){},t.prototype.begin=function(){},t.prototype.end=function(){},t.prototype.whenRenderingDone=function(){},t}()),Si={};Si.Important=1,Si.DashCase=2,Si[Si.Important]="Important",Si[Si.DashCase]="DashCase";var Ti=function(){function t(){}return t.prototype.data=function(){},t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){},t.prototype.createComment=function(t){},t.prototype.createText=function(t){},t.prototype.appendChild=function(t,e){},t.prototype.insertBefore=function(t,e,n){},t.prototype.removeChild=function(t,e){},t.prototype.selectRootElement=function(t){},t.prototype.parentNode=function(t){},t.prototype.nextSibling=function(t){},t.prototype.setAttribute=function(t,e,n,r){},t.prototype.removeAttribute=function(t,e,n){},t.prototype.addClass=function(t,e){},t.prototype.removeClass=function(t,e){},t.prototype.setStyle=function(t,e,n,r){},t.prototype.removeStyle=function(t,e,n){},t.prototype.setProperty=function(t,e,n){},t.prototype.setValue=function(t,e){},t.prototype.listen=function(t,e,n){},t}(),Pi=function(){function t(t){this.nativeElement=t}return t}(),Ai=(function(){function t(){}t.prototype.load=function(t){}}(),new Map,function(){function t(){this._dirty=!0,this._results=[],this._emitter=new pi}return Object.defineProperty(t.prototype,"changes",{get:function(){return this._emitter},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._results.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"first",{get:function(){return this._results[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this._results[this.length-1]},enumerable:!0,configurable:!0}),t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[r()]=function(){return this._results[r()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=dt(t),this._dirty=!1},t.prototype.notifyOnChanges=function(){this._emitter.emit(this)},t.prototype.setDirty=function(){this._dirty=!0},Object.defineProperty(t.prototype,"dirty",{get:function(){return this._dirty},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._emitter.complete(),this._emitter.unsubscribe()},t}()),ji=function(){function t(){}return t}(),Ni={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Mi=function(){function t(t,e){this._compiler=t,this._config=e||Ni}return t.prototype.load=function(t){return this._compiler instanceof Go?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=t.split("#"),o=r[0],i=r[1];return void 0===i&&(i="default"),n("gFIY")(o).then(function(t){return t[i]}).then(function(t){return ht(t,o,i)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=t.split("#"),r=e[0],o=e[1],i="NgFactory";return void 0===o&&(o="default",i=""),n("gFIY")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[o+i]}).then(function(t){return ht(t,r,o)})},t}();Mi.decorators=[{type:lo}],Mi.ctorParameters=function(){return[{type:Go},{type:ji,decorators:[{type:po}]}]};var Ri=function(){function t(){}return t.prototype.elementRef=function(){},t.prototype.createEmbeddedView=function(t){},t}(),Ii=function(){function t(){}return t.prototype.element=function(){},t.prototype.injector=function(){},t.prototype.parentInjector=function(){},t.prototype.clear=function(){},t.prototype.get=function(t){},t.prototype.length=function(){},t.prototype.createEmbeddedView=function(t,e,n){},t.prototype.createComponent=function(t,e,n,r,o){},t.prototype.insert=function(t,e){},t.prototype.move=function(t,e){},t.prototype.indexOf=function(t){},t.prototype.remove=function(t){},t.prototype.detach=function(t){},t}(),Vi=function(){function t(){}return t.prototype.markForCheck=function(){},t.prototype.detach=function(){},t.prototype.detectChanges=function(){},t.prototype.checkNoChanges=function(){},t.prototype.reattach=function(){},t}(),Di=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Fr.a(e,t),e.prototype.destroy=function(){},e.prototype.destroyed=function(){},e.prototype.onDestroy=function(t){},e}(Vi),Fi=(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Fr.a(e,t),e.prototype.context=function(){},e.prototype.rootNodes=function(){}}(Di),function(){function t(t,e){this.name=t,this.callback=e}return t}()),Hi=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof Li?e.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"source",{get:function(){return"Deprecated since v4"},enumerable:!0,configurable:!0}),t}(),Li=function(t){function e(e,n,r){var o=t.call(this,e,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=e,o}return Fr.a(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n=this,r=this.childNodes.indexOf(t);-1!==r&&((o=this.childNodes).splice.apply(o,[r+1,0].concat(e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=n}));var o},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return yt(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return vt(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(Hi),Ui=new Map,Bi=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t}(),zi=(function(){function t(){this.hasWrappedValue=!1}t.prototype.unwrap=function(t){return t instanceof Bi?(this.hasWrappedValue=!0,t.wrapped):t},t.prototype.reset=function(){this.hasWrappedValue=!1}}(),function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}()),Ki=function(){function t(){}return t.prototype.supports=function(t){return wt(t)},t.prototype.create=function(t,e){return new qi(e||t)},t}(),Zi=function(t,e){return e},qi=function(){function t(t){this._length=0,this._collection=null,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Zi}return Object.defineProperty(t.prototype,"collection",{get:function(){return this._collection},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,o=null;e||n;){var i=!n||e&&e.currentIndex"+s(this.currentIndex)+"]"},t}(),Gi=function(){function t(){this._head=null,this._tail=null}return t.prototype.add=function(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)},t.prototype.get=function(t,e){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&i(n.trackById,t))return n;return null},t.prototype.remove=function(t){var e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head},t}(),Wi=function(){function t(){this.map=new Map}return t.prototype.put=function(t){var e=t.trackById,n=this.map.get(e);n||(n=new Gi,this.map.set(e,n)),n.add(t)},t.prototype.get=function(t,e){var n=t,r=this.map.get(n);return r?r.get(t,e):null},t.prototype.remove=function(t){var e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this.map.clear()},t.prototype.toString=function(){return"_DuplicateMap("+s(this.map)+")"},t}(),$i=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||xt(t)},t.prototype.create=function(t){return new Yi},t}(),Yi=function(){function t(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),t.prototype.forEachItem=function(t){var e;for(e=this._mapHead;null!==e;e=e._next)t(e)},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachChangedItem=function(t){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.diff=function(t){if(t){if(!(t instanceof Map||xt(t)))throw new Error("Error trying to diff '"+s(t)+"'. Only maps and objects are allowed")}else t=new Map;return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(t,function(t,r){if(n&&n.key===r)e._maybeAddToChanges(n,t),e._appendAfter=n,n=n._next;else{var o=e._getOrCreateRecordForKey(r,t);n=e._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},t.prototype._insertBeforeOrAppend=function(t,e){if(t){var n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null},t.prototype._getOrCreateRecordForKey=function(t,e){if(this._records.has(t)){var n=this._records.get(t);this._maybeAddToChanges(n,e);var r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}var i=new Xi(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i},t.prototype._reset=function(){if(this.isDirty){var t=void 0;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},t.prototype._maybeAddToChanges=function(t,e){i(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))},t.prototype._addToAdditions=function(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)},t.prototype._addToChanges=function(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)},t.prototype._forEach=function(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(function(n){return e(t[n],n)})},t}(),Xi=function(){function t(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}return t}(),Ji=function(){function t(t){this.factories=t}return t.create=function(e,n){if(null!=n){var r=n.factories.slice();return e=e.concat(r),new t(e)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new ho,new po]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(null!=e)return e;throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+kt(t)+"'")},t}(),ts=function(){function t(t){this.factories=t}return t.create=function(e,n){if(n){var r=n.factories.slice();e=e.concat(r)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new ho,new po]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(e)return e;throw new Error("Cannot find a differ supporting object '"+t+"'")},t}(),es=[new $i],ns=[new Ki],rs=new Ji(ns),os=new ts(es),is=[{provide:Zo,useValue:"unknown"},Ci,{provide:wi,useExisting:Ci},{provide:Ao,useFactory:St,deps:[]},di,Qo],ss=ut(null,"core",is),as=new Kr("LocaleId"),us=(new Kr("Translations"),new Kr("TranslationsFormat"),{});us.Error=0,us.Warning=1,us.Ignore=2,us[us.Error]="Error",us[us.Warning]="Warning",us[us.Ignore]="Ignore";var cs=function(){function t(t){}return t}();cs.decorators=[{type:io,args:[{providers:[xi,{provide:Ei,useExisting:xi},Uo,Go,zo,{provide:Ji,useFactory:Tt},{provide:ts,useFactory:Pt},{provide:as,useFactory:At,deps:[[new co(as),new po,new ho]]}]}]}],cs.ctorParameters=function(){return[{type:Ei}]};var ps={};ps.NONE=0,ps.HTML=1,ps.STYLE=2,ps.SCRIPT=3,ps.URL=4,ps.RESOURCE_URL=5,ps[ps.NONE]="NONE",ps[ps.HTML]="HTML",ps[ps.STYLE]="STYLE",ps[ps.SCRIPT]="SCRIPT",ps[ps.URL]="URL",ps[ps.RESOURCE_URL]="RESOURCE_URL";var ls=function(){function t(){}return t.prototype.sanitize=function(t,e){},t}(),fs=(function(){function t(){}t.prototype.view=function(){},t.prototype.nodeIndex=function(){},t.prototype.injector=function(){},t.prototype.component=function(){},t.prototype.providerTokens=function(){},t.prototype.references=function(){},t.prototype.context=function(){},t.prototype.componentRenderElement=function(){},t.prototype.renderNode=function(){},t.prototype.logError=function(t){for(var e=[],n=1;n=0;e--){var n=He(this._data,e);fs.destroyView(n)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new Ss(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,o){var i=n||this.parentInjector;o||t instanceof oi||(o=i.get(ii));var s=t.create(i,r,void 0,o);return this.insert(s.hostView,e),s},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=t,r=n._view;return Ve(this._view,this._data,e,r),n.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this._embeddedViews.indexOf(t._view);return Ue(this._data,n,e),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=He(this._data,t);e&&fs.destroyView(e)},t.prototype.detach=function(t){var e=He(this._data,t);return e?new Ss(e):null},t}(),Ss=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return ue(this._view)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){Gt(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin(),fs.checkAndUpdateView(this._view),t.end&&t.end()},t.prototype.checkNoChanges=function(){fs.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),fs.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,ze(this._view),fs.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}(),Ts=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return Fr.a(e,t),e.prototype.createEmbeddedView=function(t){return new Ss(fs.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new Pi(Nt(this._parentView,this._def.index).renderElement)},enumerable:!0,configurable:!0}),e}(Ri),Ps=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){void 0===e&&(e=bo.THROW_IF_NOT_FOUND);var n=!!this.elDef&&0!=(33554432&this.elDef.flags);return fs.resolveDep(this.view,this.elDef,n,{flags:0,token:t,tokenKey:Bt(t)},e)},t}(),As=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=he(e),r=n[0],o=n[1],i=this.delegate.createElement(o,r);return t&&this.delegate.appendChild(t,i),i},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(i.OuterSubscriber);e.MergeAllSubscriber=u},ViUi:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof o&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof i.Observable?t[0]:new s.ArrayObservable(t,r).lift(new a.MergeAllOperator(n))}var i=n("bKpL"),s=n("wZOE"),a=n("TIdC"),u=n("MicL");e.merge=r,e.mergeStatic=o},XRvs:function(t,e,n){"use strict";e.errorObject={e:{}}},aOKN:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("bKpL"),i=function(t){function e(e,n){t.call(this),this.value=e,this.scheduler=n,this._isScalar=!0,n&&(this._isScalar=!1)}return r(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.done,n=t.value,r=t.subscriber;if(e)return void r.complete();r.next(n),r.closed||(t.done=!0,this.schedule(t))},e.prototype._subscribe=function(t){var n=this.value,r=this.scheduler;if(r)return r.schedule(e.dispatch,0,{done:!1,value:n,subscriber:t});t.next(n),t.closed||t.complete()},e}(o.Observable);e.ScalarObservable=i},bKpL:function(t,e,n){"use strict";var r=n("zijX"),o=n("rf3q"),i=n("DP67"),s=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,i=o.toSubscriber(t,e,n);if(r?r.call(i,this.source):i.add(this.source?this._subscribe(i):this._trySubscribe(i)),i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.syncErrorThrown=!0,t.syncErrorValue=e,t.error(e)}},t.prototype.forEach=function(t,e){var n=this;if(e||(r.root.Rx&&r.root.Rx.config&&r.root.Rx.config.Promise?e=r.root.Rx.config.Promise:r.root.Promise&&(e=r.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,r){var o;o=n.subscribe(function(e){if(o)try{t(e)}catch(t){r(t),o.unsubscribe()}else t(e)},r,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[i.observable]=function(){return this},t.create=function(e){return new t(e)},t}();e.Observable=s},dkwD:function(t,e,n){"use strict";var r=n("zijX"),o=r.root.Symbol;e.rxSubscriber="function"==typeof o&&"function"==typeof o.for?o.for("rxSubscriber"):"@@rxSubscriber",e.$$rxSubscriber=e.rxSubscriber},fRUx:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},"fc+i":function(t,e,n){"use strict";function r(){return V}function o(t){V||(V=t)}function i(){return K||(K=document.querySelector("base"))?K.getAttribute("href"):null}function s(t){return B||(B=document.createElement("a")),B.setAttribute("href",t),"/"===B.pathname.charAt(0)?B.pathname:"/"+B.pathname}function a(){return!!window.history.pushState}function u(t,e,n){return function(){n.get(I.c).donePromise.then(function(){var n=r();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(function(e){return n.getAttribute(e,"ng-transition")===t}).forEach(function(t){return n.remove(t)})})}}function c(t,e){X||(I._6.ng=X=I._6.ng||{}),X[t]=e}function p(t){return Object(I.S)(t)}function l(t,e){var n=(t||[]).concat(e||[]);return c(tt,p),c(et,Object.assign({},J,f(n||[]))),function(){return p}}function f(t){return t.reduce(function(t,e){return t[e.name]=e.token,t},{})}function d(t){return ft.replace(pt,t)}function h(t){return lt.replace(pt,t)}function y(t,e,n){for(var r=0;r/g,">")}function O(t){Pt.attributeMap(t).forEach(function(e,n){"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||Pt.removeAttribute(t,n)});for(var e=0,n=Pt.childNodesAsList(t);e0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r-1},e}(st);Ct.decorators=[{type:I.p}],Ct.ctorParameters=function(){return[{type:void 0,decorators:[{type:I.o,args:[Z]}]},{type:wt,decorators:[{type:I.o,args:[_t]}]}]};var Et=["alt","control","meta","shift"],xt={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},Ot=function(t){function e(e){return t.call(this,e)||this}return M.a(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,o){var i=e.parseEventName(n),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return r().onAndCancel(t,i.domEventName,s)})},e.parseEventName=function(t){var n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var o=e._normalizeKey(n.pop()),i="";if(Et.forEach(function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=o,0!=n.length||0===o.length)return null;var s={};return s.domEventName=r,s.fullKey=i,s},e.getEventFullKey=function(t){var e="",n=r().getEventKey(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Et.forEach(function(r){if(r!=n){(0,xt[r])(t)&&(e+=r+".")}}),e+=n},e.eventCallback=function(t,n,r){return function(o){e.getEventFullKey(o)===t&&r.runGuarded(function(){return n(o)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(st);Ot.decorators=[{type:I.p}],Ot.ctorParameters=function(){return[{type:void 0,decorators:[{type:I.o,args:[Z]}]}]};var kt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,St=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,Tt=null,Pt=null,At=w("area,br,col,hr,img,wbr"),jt=w("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Nt=w("rp,rt"),Mt=C(Nt,jt),Rt=C(jt,w("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),It=C(Nt,w("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Vt=C(At,Rt,It,Mt),Dt=w("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ft=w("srcset"),Ht=w("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Lt=C(Dt,Ft,Ht),Ut=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild;e;)if(Pt.isElementNode(e)?this.startElement(e):Pt.isTextNode(e)?this.chars(Pt.nodeValue(e)):this.sanitizedSomething=!0,Pt.firstChild(e))e=Pt.firstChild(e);else for(;e;){Pt.isElementNode(e)&&this.endElement(e);var n=E(e,Pt.nextSibling(e));if(n){e=n;break}e=E(e,Pt.parentElement(e))}return this.buf.join("")},t.prototype.startElement=function(t){var e=this,n=Pt.nodeName(t).toLowerCase();if(!Vt.hasOwnProperty(n))return void(this.sanitizedSomething=!0);this.buf.push("<"),this.buf.push(n),Pt.attributeMap(t).forEach(function(t,n){var r=n.toLowerCase();if(!Lt.hasOwnProperty(r))return void(e.sanitizedSomething=!0);Dt[r]&&(t=m(t)),Ft[r]&&(t=b(t)),e.buf.push(" "),e.buf.push(n),e.buf.push('="'),e.buf.push(x(t)),e.buf.push('"')}),this.buf.push(">")},t.prototype.endElement=function(t){var e=Pt.nodeName(t).toLowerCase();Vt.hasOwnProperty(e)&&!At.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(x(t))},t}(),Bt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,zt=/([^\#-~ |!])/g,Kt=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Zt=/^url\(([^)]+)\)$/,qt=function(){function t(){}return t.prototype.sanitize=function(t,e){},t.prototype.bypassSecurityTrustHtml=function(t){},t.prototype.bypassSecurityTrustStyle=function(t){},t.prototype.bypassSecurityTrustScript=function(t){},t.prototype.bypassSecurityTrustUrl=function(t){},t.prototype.bypassSecurityTrustResourceUrl=function(t){},t}(),Qt=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return M.a(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case I.I.NONE:return e;case I.I.HTML:return e instanceof Wt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),k(this._doc,String(e)));case I.I.STYLE:return e instanceof $t?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),T(e));case I.I.SCRIPT:if(e instanceof Yt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case I.I.URL:return e instanceof Jt||e instanceof Xt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),m(String(e)));case I.I.RESOURCE_URL:if(e instanceof Jt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof Gt)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new Wt(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new $t(t)},e.prototype.bypassSecurityTrustScript=function(t){return new Yt(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new Xt(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new Jt(t)},e}(qt);Qt.decorators=[{type:I.p}],Qt.ctorParameters=function(){return[{type:void 0,decorators:[{type:I.o,args:[Z]}]}]};var Gt=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.getTypeName=function(){},t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),Wt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return M.a(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(Gt),$t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return M.a(e,t),e.prototype.getTypeName=function(){return"Style"},e}(Gt),Yt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return M.a(e,t),e.prototype.getTypeName=function(){return"Script"},e}(Gt),Xt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return M.a(e,t),e.prototype.getTypeName=function(){return"URL"},e}(Gt),Jt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return M.a(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(Gt),te=[{provide:I.B,useValue:R.g},{provide:I.C,useValue:P,multi:!0},{provide:R.f,useClass:q},{provide:Z,useFactory:j,deps:[]}],ee=[{provide:I.H,useExisting:qt},{provide:qt,useClass:Qt}],ne=Object(I.Q)(I.U,"browser",te),re=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return t.withServerTransition=function(e){return{ngModule:t,providers:[{provide:I.a,useValue:e.appId},{provide:G,useExisting:I.a},W]}},t}();re.decorators=[{type:I.w,args:[{providers:[ee,{provide:I.l,useFactory:A,deps:[]},{provide:ot,useClass:mt,multi:!0},{provide:ot,useClass:Ot,multi:!0},{provide:ot,useClass:Ct,multi:!0},{provide:_t,useClass:wt},dt,{provide:I.F,useExisting:dt},{provide:at,useExisting:ut},ut,I.L,it,rt,Q,Y],exports:[R.a,I.d]}]}],re.ctorParameters=function(){return[{type:re,decorators:[{type:I.A},{type:I.J}]}]};var oe="undefined"!=typeof window&&window||{},ie=function(){function t(t,e){this.msPerTick=t,this.numTicks=e}return t}();(function(){function t(t){this.appRef=t.injector.get(I.e)}t.prototype.timeChangeDetection=function(t){var e=t&&t.record,n=null!=oe.console.profile;e&&n&&oe.console.profile("Change Detection");for(var o=r().performanceNow(),i=0;i<5||r().performanceNow()-o<500;)this.appRef.tick(),i++;var s=r().performanceNow();e&&n&&oe.console.profileEnd("Change Detection");var a=(s-o)/i;return oe.console.log("ran "+i+" change detection cycles"),oe.console.log(a.toFixed(2)+" ms per check"),new ie(a,i)}})(),function(){function t(){}t.all=function(){return function(t){return!0}},t.css=function(t){return function(e){return null!=e.nativeElement&&r().elementMatches(e.nativeElement,t)}},t.directive=function(t){return function(e){return-1!==e.providerTokens.indexOf(t)}}}(),new I.M("4.4.4")},fclq:function(t,e,n){"use strict";function r(t){return"function"==typeof t}e.isFunction=r},fcnB:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("bKpL"),i=function(t){function e(e){t.call(this),this.scheduler=e}return r(e,t),e.create=function(t){return new e(t)},e.dispatch=function(t){t.subscriber.complete()},e.prototype._subscribe=function(t){var n=this.scheduler;if(n)return n.schedule(e.dispatch,0,{subscriber:t});t.complete()},e}(o.Observable);e.EmptyObservable=i},g0Kb:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("xFbG"),i=function(t){function e(e,n){t.call(this),this.subject=e,this.subscriber=n,this.closed=!1}return r(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(o.Subscription);e.SubjectSubscription=i},gonN:function(t,e,n){"use strict";function r(t,e){var n;if(n="function"==typeof t?t:function(){return t},"function"==typeof e)return this.lift(new i(n,e));var r=Object.create(this,o.connectableObservableDescriptor);return r.source=this,r.subjectFactory=n,r}var o=n("xKl2");e.multicast=r;var i=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),o=n(r).subscribe(t);return o.add(e.subscribe(r)),o},t}();e.MulticastOperator=i},kWk1:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+"),i=function(t){function e(e,n,r){t.call(this),this.parent=e,this.outerValue=n,this.outerIndex=r,this.index=0}return r(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(o.Subscriber);e.InnerSubscriber=i},ktfo:function(t,e,n){"use strict";function r(t,e,n,r){var f=new p.InnerSubscriber(t,n,r);if(f.closed)return null;if(e instanceof u.Observable)return e._isScalar?(f.next(e.value),f.complete(),null):e.subscribe(f);if(i.isArrayLike(e)){for(var d=0,h=e.length;d-1)return r;if(r=n.getPluralCategory(t),e.indexOf(r)>-1)return r;if(e.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+t+'"')}function s(t,e){"string"==typeof e&&(e=parseInt(e,10));var n=e,r=n.toString().replace(/^[^.]*\.?/,""),o=Math.floor(Math.abs(n)),i=r.length,s=parseInt(r,10),a=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(t.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?H.One:H.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?H.One:H.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===o||1===n?H.One:H.Other;case"ar":return 0===n?H.Zero:1===n?H.One:2===n?H.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?H.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?H.Many:H.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===o&&0===i?H.One:H.Other;case"be":return n%10==1&&n%100!=11?H.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?H.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?H.Many:H.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?H.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?H.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?H.Few:0!==n&&n%1e6==0?H.Many:H.Other;case"bs":case"hr":case"sr":return 0===i&&o%10==1&&o%100!=11||s%10==1&&s%100!=11?H.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)||s%10===Math.floor(s%10)&&s%10>=2&&s%10<=4&&!(s%100>=12&&s%100<=14)?H.Few:H.Other;case"cs":case"sk":return 1===o&&0===i?H.One:o===Math.floor(o)&&o>=2&&o<=4&&0===i?H.Few:0!==i?H.Many:H.Other;case"cy":return 0===n?H.Zero:1===n?H.One:2===n?H.Two:3===n?H.Few:6===n?H.Many:H.Other;case"da":return 1===n||0!==a&&(0===o||1===o)?H.One:H.Other;case"dsb":case"hsb":return 0===i&&o%100==1||s%100==1?H.One:0===i&&o%100==2||s%100==2?H.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||s%100===Math.floor(s%100)&&s%100>=3&&s%100<=4?H.Few:H.Other;case"ff":case"fr":case"hy":case"kab":return 0===o||1===o?H.One:H.Other;case"fil":return 0===i&&(1===o||2===o||3===o)||0===i&&o%10!=4&&o%10!=6&&o%10!=9||0!==i&&s%10!=4&&s%10!=6&&s%10!=9?H.One:H.Other;case"ga":return 1===n?H.One:2===n?H.Two:n===Math.floor(n)&&n>=3&&n<=6?H.Few:n===Math.floor(n)&&n>=7&&n<=10?H.Many:H.Other;case"gd":return 1===n||11===n?H.One:2===n||12===n?H.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?H.Few:H.Other;case"gv":return 0===i&&o%10==1?H.One:0===i&&o%10==2?H.Two:0!==i||o%100!=0&&o%100!=20&&o%100!=40&&o%100!=60&&o%100!=80?0!==i?H.Many:H.Other:H.Few;case"he":return 1===o&&0===i?H.One:2===o&&0===i?H.Two:0!==i||n>=0&&n<=10||n%10!=0?H.Other:H.Many;case"is":return 0===a&&o%10==1&&o%100!=11||0!==a?H.One:H.Other;case"ksh":return 0===n?H.Zero:1===n?H.One:H.Other;case"kw":case"naq":case"se":case"smn":return 1===n?H.One:2===n?H.Two:H.Other;case"lag":return 0===n?H.Zero:0!==o&&1!==o||0===n?H.Other:H.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?H.Few:0!==s?H.Many:H.Other:H.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===i&&s%100===Math.floor(s%100)&&s%100>=11&&s%100<=19?H.Zero:n%10==1&&n%100!=11||2===i&&s%10==1&&s%100!=11||2!==i&&s%10==1?H.One:H.Other;case"mk":return 0===i&&o%10==1||s%10==1?H.One:H.Other;case"mt":return 1===n?H.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?H.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?H.Many:H.Other;case"pl":return 1===o&&0===i?H.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?H.Few:0===i&&1!==o&&o%10===Math.floor(o%10)&&o%10>=0&&o%10<=1||0===i&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===i&&o%100===Math.floor(o%100)&&o%100>=12&&o%100<=14?H.Many:H.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?H.One:H.Other;case"ro":return 1===o&&0===i?H.One:0!==i||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?H.Few:H.Other;case"ru":case"uk":return 0===i&&o%10==1&&o%100!=11?H.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?H.Few:0===i&&o%10==0||0===i&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===i&&o%100===Math.floor(o%100)&&o%100>=11&&o%100<=14?H.Many:H.Other;case"shi":return 0===o||1===n?H.One:n===Math.floor(n)&&n>=2&&n<=10?H.Few:H.Other;case"si":return 0===n||1===n||0===o&&1===s?H.One:H.Other;case"sl":return 0===i&&o%100==1?H.One:0===i&&o%100==2?H.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||0!==i?H.Few:H.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?H.One:H.Other;default:return H.Other}}function a(t,e){e=encodeURIComponent(e);for(var n=0,r=t.split(";");n1?"short":"narrow":"long",n}function m(t){return t.reduce(function(t,e){return Object.assign({},t,e)},{})}function b(t){return function(e,n){return d(e,n,t)}}function _(t,e,n){var r=dt[t];if(r)return r(e,n);var o=t,i=yt.get(o);if(!i){i=[];var s=void 0;ft.exec(t);for(var a=t;a;)s=ft.exec(a),s?(i=i.concat(s.slice(1)),a=i.pop()):(i.push(a),a=null);yt.set(o,i)}return i.reduce(function(t,r){var o=ht[r];return t+(o?o(e,n):w(r))},"")}function w(t){return"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}function C(t,e,n,r,o,i,s){if(void 0===i&&(i=null),void 0===s&&(s=!1),null==n)return null;if("number"!=typeof(n="string"==typeof n&&x(n)?+n:n))throw c(t,n);var a=void 0,u=void 0,p=void 0;if(r!==pt.Currency&&(a=1,u=0,p=3),o){var l=o.match(gt);if(null===l)throw new Error(o+" is not a valid digit info for number pipes");null!=l[1]&&(a=E(l[1])),null!=l[3]&&(u=E(l[3])),null!=l[5]&&(p=E(l[5]))}return lt.format(n,e,r,{minimumIntegerDigits:a,minimumFractionDigits:u,maximumFractionDigits:p,currency:i,currencyAsSymbol:s})}function E(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function x(t){return!isNaN(t-parseFloat(t))}function O(t){return null==t||""===t}function k(t){return t instanceof Date&&!isNaN(t.valueOf())}function S(t){var e=new Date(0),n=0,r=0,o=t[8]?e.setUTCFullYear:e.setFullYear,i=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=T(t[9]+t[10]),r=T(t[9]+t[11])),o.call(e,T(t[1]),T(t[2])-1,T(t[3]));var s=T(t[4]||"0")-n,a=T(t[5]||"0")-r,u=T(t[6]||"0"),c=Math.round(1e3*parseFloat("0."+(t[7]||0)));return i.call(e,s,a,u,c),e}function T(t){return parseInt(t,10)}n.d(e,"d",function(){return F}),n.d(e,"e",function(){return D}),n.d(e,"h",function(){return a}),n.d(e,"a",function(){return Pt}),n.d(e,"c",function(){return Z}),n.d(e,"b",function(){return jt}),n.d(e,"g",function(){return Nt}),n.d(e,"f",function(){return j});var P=n("6Xbx"),A=n("/oeL"),j=function(){function t(){}return t.prototype.getBaseHrefFromDOM=function(){},t.prototype.onPopState=function(t){},t.prototype.onHashChange=function(t){},t.prototype.pathname=function(){},t.prototype.search=function(){},t.prototype.hash=function(){},t.prototype.replaceState=function(t,e,n){},t.prototype.pushState=function(t,e,n){},t.prototype.forward=function(){},t.prototype.back=function(){},t}(),N=(new A.q("Location Initialized"),function(){function t(){}return t.prototype.path=function(t){},t.prototype.prepareExternalUrl=function(t){},t.prototype.pushState=function(t,e,n,r){},t.prototype.replaceState=function(t,e,n,r){},t.prototype.forward=function(){},t.prototype.back=function(){},t.prototype.onPopState=function(t){},t.prototype.getBaseHref=function(){},t}()),M=new A.q("appBaseHref"),R=function(){function t(e){var n=this;this._subject=new A.m,this._platformStrategy=e;var r=this._platformStrategy.getBaseHref();this._baseHref=t.stripTrailingSlash(o(r)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,type:t.type})})}return t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(e,n){return void 0===n&&(n=""),this.path()==this.normalize(e+t.normalizeQueryParams(n))},t.prototype.normalize=function(e){return t.stripTrailingSlash(r(this._baseHref,o(e)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e){void 0===e&&(e=""),this._platformStrategy.pushState(null,"",t,e)},t.prototype.replaceState=function(t,e){void 0===e&&(e=""),this._platformStrategy.replaceState(null,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length,r=n-("/"===t[n-1]?1:0);return t.slice(0,r)+t.slice(n)},t}();R.decorators=[{type:A.p}],R.ctorParameters=function(){return[{type:N}]};var I=function(t){function e(e,n){var r=t.call(this)||this;return r._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}return P.a(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=R.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+R.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+R.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(N);I.decorators=[{type:A.p}],I.ctorParameters=function(){return[{type:j},{type:void 0,decorators:[{type:A.A},{type:A.o,args:[M]}]}]};var V=function(t){function e(e,n){var r=t.call(this)||this;if(r._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}return P.a(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return R.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+R.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+R.normalizeQueryParams(r));this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+R.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(N);V.decorators=[{type:A.p}],V.ctorParameters=function(){return[{type:j},{type:void 0,decorators:[{type:A.A},{type:A.o,args:[M]}]}]};var D=function(){function t(){}return t.prototype.getPluralCategory=function(t){},t}(),F=function(t){function e(e){var n=t.call(this)||this;return n.locale=e,n}return P.a(e,t),e.prototype.getPluralCategory=function(t){switch(s(this.locale,t)){case H.Zero:return"zero";case H.One:return"one";case H.Two:return"two";case H.Few:return"few";case H.Many:return"many";default:return"other"}},e}(D);F.decorators=[{type:A.p}],F.ctorParameters=function(){return[{type:void 0,decorators:[{type:A.o,args:[A.v]}]}]};var H={};H.Zero=0,H.One=1,H.Two=2,H.Few=3,H.Many=4,H.Other=5,H[H.Zero]="Zero",H[H.One]="One",H[H.Two]="Two",H[H.Few]="Few",H[H.Many]="Many",H[H.Other]="Other";var L=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._applyInitialClasses(!0),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyInitialClasses(!1),this._applyClasses(this._rawClass,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._cleanupClasses(this._rawClass),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(A._7)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._cleanupClasses=function(t){this._applyClasses(t,!0),this._applyInitialClasses(!1)},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(A._15)(t.item));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})},t.prototype._applyInitialClasses=function(t){var e=this;this._initialClasses.forEach(function(n){return e._toggleClass(n,!t)})},t.prototype._applyClasses=function(t,e){var n=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return n._toggleClass(t,!e)}):Object.keys(t).forEach(function(r){null!=t[r]&&n._toggleClass(r,!e)}))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){n._renderer.setElementClass(n._ngEl.nativeElement,t,!!e)})},t}();L.decorators=[{type:A.j,args:[{selector:"[ngClass]"}]}],L.ctorParameters=function(){return[{type:A.t},{type:A.u},{type:A.k},{type:A.E}]},L.propDecorators={klass:[{type:A.s,args:["class"]}],ngClass:[{type:A.s}]};var U=function(){function t(t){this._viewContainerRef=t,this._componentRef=null,this._moduleRef=null}return t.prototype.ngOnChanges=function(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=e.get(A.x);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var r=this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(A.i),o=r.resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(o,this._viewContainerRef.length,e,this.ngComponentOutletContent)}},t.prototype.ngOnDestroy=function(){this._moduleRef&&this._moduleRef.destroy()},t}();U.decorators=[{type:A.j,args:[{selector:"[ngComponentOutlet]"}]}],U.ctorParameters=function(){return[{type:A.N}]},U.propDecorators={ngComponentOutlet:[{type:A.s}],ngComponentOutletInjector:[{type:A.s}],ngComponentOutletContent:[{type:A.s}],ngComponentOutletNgModuleFactory:[{type:A.s}]};var B=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),z=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._differ=null}return Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Object(A.T)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){if("ngForOf"in t){var e=t.ngForOf.currentValue;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+u(e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}},t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this.ngForOf);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,r,o){if(null==t.previousIndex){var i=e._viewContainer.createEmbeddedView(e._template,new B(null,e.ngForOf,-1,-1),o),s=new K(t,i);n.push(s)}else if(null==o)e._viewContainer.remove(r);else{var i=e._viewContainer.get(r);e._viewContainer.move(i,o);var s=new K(t,i);n.push(s)}});for(var r=0;r1?new e(t,r):1===o?new i.ScalarObservable(t[0],r):new s.EmptyObservable(r)},e.dispatch=function(t){var e=t.array,n=t.index,r=t.count,o=t.subscriber;if(n>=r)return void o.complete();o.next(e[n]),o.closed||(t.index=n+1,this.schedule(t))},e.prototype._subscribe=function(t){var n=this.array,r=n.length,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{array:n,index:0,count:r,subscriber:t});for(var i=0;i1)return void(this.connection=null);var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()},e}(s.Subscriber)},yW9Z:function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n("T14+"),i=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(o.Subscriber);e.OuterSubscriber=i},zijX:function(t,e,n){"use strict";(function(t){var n="undefined"!=typeof window&&window,r="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,o=void 0!==t&&t,i=n||o||r;e.root=i,function(){if(!i)throw new Error("RxJS could not find any global context (window, self, global)")}()}).call(e,n("fRUx"))}}); \ No newline at end of file diff --git a/src/app/app.component.html b/src/app/app.component.html index 296f3421..7ed7594f 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -2,7 +2,7 @@