diff --git a/README.md b/README.md index fd9b16f0..ce86ca2b 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.2 --save +npm install ngx-editor@1.0.0-beta.3 --save # or -yarn add ngx-editor@1.0.0-beta.2 +yarn add ngx-editor@1.0.0-beta.3 ``` ### Usage diff --git a/docs/3rdpartylicenses.txt b/docs/3rdpartylicenses.txt index 6e8015bc..1e1cf7e5 100644 --- a/docs/3rdpartylicenses.txt +++ b/docs/3rdpartylicenses.txt @@ -67,14 +67,14 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -@angular/core@4.4.3 +@angular/core@4.4.4 MIT MIT -@angular/platform-browser@4.4.3 +@angular/platform-browser@4.4.4 MIT MIT -@angular/common@4.4.3 +@angular/common@4.4.4 MIT MIT \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index d7e15562..9551fa2d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1 +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 +webpackJsonp([1],{0:function(l,n,t){l.exports=t("cDNt")},cDNt:function(l,n,t){"use strict";function u(l){return c._17(0,[(l()(),c._4(0,null,null,90,"div",[["class","ngx-editor"],["id","ngxEditor"]],null,null,null,null,null)),(l()(),c._16(null,["\n "])),(l()(),c._4(0,null,null,85,"div",[["class","toolbar responsive"]],null,null,null,null,null)),(l()(),c._16(null,["\n "])),(l()(),c._4(0,null,null,19,"div",[["class","set"]],null,null,null,null,null)),(l()(),c._16(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._16(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._16(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._16(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._16(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._16(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._16(null,["\n "])),(l()(),c._16(null,["\n "])),(l()(),c._4(0,null,null,19,"div",[["class","set no-sm-device"]],null,null,null,null,null)),(l()(),c._16(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._16(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._16(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._16(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._16(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._16(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._16(null,["\n "])),(l()(),c._16(null,["\n "])),(l()(),c._4(0,null,null,19,"div",[["class","set no-md-device"]],null,null,null,null,null)),(l()(),c._16(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._16(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._16(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._16(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._16(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._16(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._16(null,["\n "])),(l()(),c._16(null,["\n "])),(l()(),c._4(0,null,null,19,"div",[["class","set no-md-device"]],null,null,null,null,null)),(l()(),c._16(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._16(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._16(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._16(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._16(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._16(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._16(null,["\n "])),(l()(),c._16(null,["\n "])),(l()(),c._16(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._16(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._17(0,[(l()(),c._4(0,null,null,1,"app-ngx-editor",[],null,null,null,u,b)),c._2(114688,null,0,m,[c.k],null,null)],function(l,n){l(n,1,0)},null)}function o(l){return c._17(0,[(l()(),c._4(0,null,null,7,"div",[],null,null,null,null,null)),(l()(),c._16(null,["\n "])),(l()(),c._4(0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),c._16(null,["HTML Output"])),(l()(),c._16(null,["\n "])),(l()(),c._4(0,null,null,1,"div",[["class","html"]],null,null,null,null,null)),(l()(),c._16(null,["\n ","\n "])),(l()(),c._16(null,["\n "]))],null,function(l,n){l(n,6,0,n.component.htmlContent)})}function i(l){return c._17(0,[(l()(),c._4(0,null,null,36,"div",[["class","container"]],null,null,null,null,null)),(l()(),c._16(null,["\n "])),(l()(),c._4(0,null,null,24,"div",[["class","logo"]],null,null,null,null,null)),(l()(),c._16(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._16(null,["\n "])),(l()(),c._4(0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),c._16(null,["WYSIWYG Editor for Angular Applications."])),(l()(),c._16(null,["\n "])),(l()(),c._4(0,null,null,1,"p",[],null,null,null,null,null)),(l()(),c._16(null,["(v1.0.0-beta.3)"])),(l()(),c._16(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._16(null,["Follow @Sibiraj-S"])),(l()(),c._16(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._16(null,["Fork"])),(l()(),c._16(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._16(null,["Star"])),(l()(),c._16(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._16(null,["Issue"])),(l()(),c._16(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._16(null,["Download"])),(l()(),c._16(null,["\n "])),(l()(),c._16(null,["\n\n "])),(l()(),c._4(0,null,null,4,"div",[["class","editor"]],null,null,null,null,null)),(l()(),c._16(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,b)),c._2(114688,null,0,m,[c.k],{config:[0,"config"],html:[1,"html"],spellcheck:[2,"spellcheck"],placeholder:[3,"placeholder"]},{htmlChange:"htmlChange"}),(l()(),c._16(null,["\n "])),(l()(),c._16(null,["\n\n "])),(l()(),c.Y(16777216,null,null,1,null,o)),c._2(16384,null,0,h.c,[c.N,c.K],{ngIf:[0,"ngIf"]},null),(l()(),c._16(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)},null)}function r(l){return c._17(0,[(l()(),c._4(0,null,null,1,"app-root",[],null,null,null,i,k)),c._2(49152,null,0,s,[],null,null)],null,null)}Object.defineProperty(n,"__esModule",{value:!0});var c=t("/oeL"),a={production:!0},d=function(){function l(){}return l}(),s=function(){function l(){this.title="ngx-editor",this.editorConfig={editable:!0,spellcheck:!1,placeholder:"Enter text here...",translate:"no"},this.htmlContent="WYSIWYG Editor for Angular Applications."}return l}(),_=[".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}"],f=['.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}'],g={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"]}},m=function(){function l(l){this.element=l,this.htmlChange=new c.m}return Object.defineProperty(l.prototype,"config",{get:function(){return this._config||g},set:function(l){for(var n in g)l.hasOwnProperty(n)||(l[n]=g[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}(),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/vendor.1888c7c68d355a7353fd.bundle.js b/docs/vendor.dd8fdb61ced359145657.bundle.js similarity index 83% rename from docs/vendor.1888c7c68d355a7353fd.bundle.js rename to docs/vendor.dd8fdb61ced359145657.bundle.js index 679e2dc0..32b92c6a 100644 --- a/docs/vendor.1888c7c68d355a7353fd.bundle.js +++ b/docs/vendor.dd8fdb61ced359145657.bundle.js @@ -1 +1 @@ -webpackJsonp([3],{"/oeL":function(t,e,n){"use strict";(function(t){function r(){if(!Gr){var t=qr.Symbol;if(t&&t.iterator)Gr=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[_o]=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 Hi&&(e(t)&&n.push(t),yt(t,e,n))})}function vt(t,e,n){t instanceof Hi&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof Hi&&vt(t,e,n)})}function gt(t){return Li.get(t)||null}function mt(t){Li.set(t.nativeNode,t)}function bt(t){Li.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;n 0&&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;o 0?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),ls.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)),ls.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),ls.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 Es(t,e,n,r,o,i)}function qe(t,e,n){return new Os(t,e,n)}function Ge(t){return new ks(t)}function We(t,e){return new Ss(t,e)}function $e(t,e){return new Ts(t,e)}function Ye(t){return new Ps(t.renderer)}function Xe(t,e,n,r){return new As(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?Fs: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;o 0&&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;a 0,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;u 0&&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;i c.index+c.childCount;){var h=c.parent;h&&(h.childFlags|=c.childFlags,h.childMatchedQueries|=c.childMatchedQueries),c=h}var y=e[d];y.index=d,y.parent=c,y.bindingIndex=o,y.outputIndex=i;var v=void 0;if(v=c&&1&c.flags&&!c.element.name?c.renderParent:c,y.renderParent=v,y.element){var g=y.element;g.publicProviders=c?c.element.publicProviders:Object.create(null),g.allProviders=g.publicProviders,p=!1,l=!1}if(Nn(c,y,e.length),s|=y.flags,u|=y.matchedQueryIds,y.element&&y.element.template&&(u|=y.element.template.nodeMatchedQueries),c?(c.childFlags|=y.flags,c.directChildFlags|=y.flags,c.childMatchedQueries|=y.matchedQueryIds,y.element&&y.element.template&&(c.childMatchedQueries|=y.element.template.nodeMatchedQueries)):a|=y.flags,o+=y.bindings.length,i+=y.outputs.length,!v&&3&y.flags&&(f=y),20224&y.flags){p||(p=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);var m=0!=(8192&y.flags),b=0!=(32768&y.flags);!m||b?c.element.publicProviders[Bt(y.provider.token)]=y:(l||(l=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[Bt(y.provider.token)]=y),b&&(c.element.componentProvider=y)}y.childCount&&(c=y)}for(;c;){var h=c.parent;h&&(h.childFlags|=c.childFlags,h.childMatchedQueries|=c.childMatchedQueries),c=h}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||fs,updateRenderer:r||fs,handleEvent:_||fs,bindingCount:o,outputCount:i,lastRenderRootNode:f}}function Nn(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 Mn(t,e,n,r){var o=Vn(t.root,t.renderer,t,e,n);return Dn(o,t.component,r),Fn(o),o}function Rn(t,e,n){var r=Vn(t,t.renderer,null,null,e);return Dn(r,n,n),Fn(r),r}function In(t,e,n,r){var o,i=e.element.componentRendererType;return o=i?t.root.rendererFactory.createRenderer(r,i):t.root.renderer,Vn(t.root,o,t,e.element.componentProvider,n)}function Vn(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 Dn(t,e,n){t.component=e,t.context=n}function Fn(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;i 0&&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 qn(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;n 0)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}(_i);wi.decorators=[{type:po}],wi.ctorParameters=function(){return[{type:mo}]};var Ci=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}(),Ei=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 Fr.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 Fr.Observable(function(t){var e;u._zone.runOutsideAngular(function(){e=u._zone.onStable.subscribe(function(){pi.assertNotInAngularZone(),o(function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,t.next(!0))})})});var n=u._zone.onUnstable.subscribe(function(){pi.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});return u._isStable=Object(Hr.merge)(c,Lr.share.call(p)),u}return Dr.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 $o?t:this._componentFactoryResolver.resolveComponentFactory(t),this._rootComponentTypes.push(r.componentType);var o=r instanceof ri?null:this._injector.get(oi),i=e||r.selector,s=r.create(mo.NULL,[],i,o);s.onDestroy(function(){n._unloadComponent(s)});var a=s.injector.get(li,null);return a&&s.injector.get(fi).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(Zo,[]).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,ui(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}(Ci);Ei._tickScope=ai("ApplicationRef#tick()"),Ei.decorators=[{type:po}],Ei.ctorParameters=function(){return[{type:pi},{type:Qo},{type:mo},{type:Co},{type:Jo},{type:Lo}]};var xi=(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}()),Oi=(new zr("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}()),ki={};ki.Important=1,ki.DashCase=2,ki[ki.Important]="Important",ki[ki.DashCase]="DashCase";var Si=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}(),Ti=function(){function t(t){this.nativeElement=t}return t}(),Pi=(function(){function t(){}t.prototype.load=function(t){}}(),new Map,function(){function t(){this._dirty=!0,this._results=[],this._emitter=new ci}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}()),Ai=function(){function t(){}return t}(),ji={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Ni=function(){function t(t,e){this._compiler=t,this._config=e||ji}return t.prototype.load=function(t){return this._compiler instanceof qo?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}();Ni.decorators=[{type:po}],Ni.ctorParameters=function(){return[{type:qo},{type:Ai,decorators:[{type:co}]}]};var Mi=function(){function t(){}return t.prototype.elementRef=function(){},t.prototype.createEmbeddedView=function(t){},t}(),Ri=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}(),Ii=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}(),Vi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Dr.a(e,t),e.prototype.destroy=function(){},e.prototype.destroyed=function(){},e.prototype.onDestroy=function(t){},e}(Ii),Di=(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Dr.a(e,t),e.prototype.context=function(){},e.prototype.rootNodes=function(){}}(Vi),function(){function t(t,e){this.name=t,this.callback=e}return t}()),Fi=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof Hi?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}(),Hi=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 Dr.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}(Fi),Li=new Map,Ui=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t}(),Bi=(function(){function t(){this.hasWrappedValue=!1}t.prototype.unwrap=function(t){return t instanceof Ui?(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}()),zi=function(){function t(){}return t.prototype.supports=function(t){return wt(t)},t.prototype.create=function(t,e){return new Zi(e||t)},t}(),Ki=function(t,e){return e},Zi=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||Ki}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}(),qi=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}(),Gi=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 qi,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}(),Wi=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||xt(t)},t.prototype.create=function(t){return new $i},t}(),$i=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}(),Xi=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 fo,new co]]}},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}(),Ji=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 fo,new co]]}},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}(),ts=[new Wi],es=[new zi],ns=new Xi(es),rs=new Ji(ts),os=[{provide:Ko,useValue:"unknown"},wi,{provide:_i,useExisting:wi},{provide:Po,useFactory:St,deps:[]},fi,Qo],is=ut(null,"core",os),ss=new zr("LocaleId"),as=(new zr("Translations"),new zr("TranslationsFormat"),{});as.Error=0,as.Warning=1,as.Ignore=2,as[as.Error]="Error",as[as.Warning]="Warning",as[as.Ignore]="Ignore";var us=function(){function t(t){}return t}();us.decorators=[{type:oo,args:[{providers:[Ei,{provide:Ci,useExisting:Ei},Lo,qo,Bo,{provide:Xi,useFactory:Tt},{provide:Ji,useFactory:Pt},{provide:ss,useFactory:At,deps:[[new uo(ss),new co,new fo]]}]}]}],us.ctorParameters=function(){return[{type:Ci}]};var cs={};cs.NONE=0,cs.HTML=1,cs.STYLE=2,cs.SCRIPT=3,cs.URL=4,cs.RESOURCE_URL=5,cs[cs.NONE]="NONE",cs[cs.HTML]="HTML",cs[cs.STYLE]="STYLE",cs[cs.SCRIPT]="SCRIPT",cs[cs.URL]="URL",cs[cs.RESOURCE_URL]="RESOURCE_URL";var ps=function(){function t(){}return t.prototype.sanitize=function(t,e){},t}(),ls=(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);ls.destroyView(n)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new ks(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 ri||(o=i.get(oi));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&&ls.destroyView(e)},t.prototype.detach=function(t){var e=He(this._data,t);return e?new ks(e):null},t}(),ks=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(),ls.checkAndUpdateView(this._view),t.end&&t.end()},t.prototype.checkNoChanges=function(){ls.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)),ls.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,ze(this._view),ls.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}(),Ss=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return Dr.a(e,t),e.prototype.createEmbeddedView=function(t){return new ks(ls.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new Ti(Nt(this._parentView,this._def.index).renderElement)},enumerable:!0,configurable:!0}),e}(Mi),Ts=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){void 0===e&&(e=mo.THROW_IF_NOT_FOUND);var n=!!this.elDef&&0!=(33554432&this.elDef.flags);return ls.resolveDep(this.view,this.elDef,n,{flags:0,token:t,tokenKey:Bt(t)},e)},t}(),Ps=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;n 0?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;e 1&&"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);e 0},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(""),this.buf.push(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.3")},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(";");n 1?"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;r 1?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;i 1)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 +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;n 0&&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;o 0?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;o 0&&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;a 0,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;u 0&&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;i 0)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;i 0&&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;n 0)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;n 0?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;e 1&&"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);e 0},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(""),this.buf.push(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(";");n 1?"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;r 1?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;i 1)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/package.json b/package.json index 72ed36ea..3541c126 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ngx-editor", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "description": "WYSIWYG Editor for Angular Applications", "license": "MIT", "scripts": { diff --git a/src/app/app.component.html b/src/app/app.component.html index a071c840..296f3421 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -2,7 +2,7 @@ WYSIWYG Editor for Angular Applications.
-(v1.0.0-beta.2)
+(v1.0.0-beta.3)
Follow @Sibiraj-S Fork Star diff --git a/src/app/ngx-editor/ngx-editor.component.ts b/src/app/ngx-editor/ngx-editor.component.ts index ef4f3ef8..9dd52d0c 100644 --- a/src/app/ngx-editor/ngx-editor.component.ts +++ b/src/app/ngx-editor/ngx-editor.component.ts @@ -90,7 +90,7 @@ export class NgxEditorComponent implements OnInit { this.config['editable'] = false; } - this.element.nativeElement.getElementsByClassName('textarea')[0].innerHTML = this.html; + this.element.nativeElement.getElementsByClassName('textarea')[0].innerHTML = this.html || ''; } }