diff --git a/dist/index.html b/dist/index.html index 2d3ea9f70..e789ed935 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1,7 +1,7 @@ - + @@ -73,10 +73,10 @@ - + - - + + \ No newline at end of file diff --git a/dist/inline.158df4d03b806c65095f.bundle.js b/dist/inline.c2546ce5f0b4e1987f3b.bundle.js similarity index 60% rename from dist/inline.158df4d03b806c65095f.bundle.js rename to dist/inline.c2546ce5f0b4e1987f3b.bundle.js index 3505e314d..5e7249be9 100644 --- a/dist/inline.158df4d03b806c65095f.bundle.js +++ b/dist/inline.c2546ce5f0b4e1987f3b.bundle.js @@ -1 +1 @@ -!function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r=window.webpackJsonp;window.webpackJsonp=function(t,a,c){for(var u,i,f,l=0,s=[];l-1?"normal":"none"))},function(e,n){var t=n.component;e(n,14,0,Wt["\u0275unv"](n,14,0,Wt["\u0275nov"](n,15).transform(n.context.index+1,t.shown_segments.length))),e(n,18,0,t.sanitizeHTML(n.context.$implicit.transcription.html))})}function Y(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,21,"table",[["class","table"]],[[8,"hidden",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,14,"thead",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,11,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,0,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](9,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](12,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](13,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](18,0,null,null,3,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275and"](16777216,null,null,1,null,G)),Wt["\u0275did"](20,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){e(n,20,0,n.component.shown_segments)},function(e,n){e(n,0,0,!n.component.show_transcriptiontable),e(n,9,0,Wt["\u0275unv"](n,9,0,Wt["\u0275nov"](n,10).transform("general.segment"))),e(n,13,0,Wt["\u0275unv"](n,13,0,Wt["\u0275nov"](n,14).transform("general.transcription")))})}function J(e){return Wt["\u0275vid"](2,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"h4",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](4,0,null,null,43,"table",[["class","table"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,20,"thead",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,17,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](11,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](14,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](15,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](18,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](19,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](22,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](23,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](28,0,null,null,18,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](30,0,null,null,15,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](32,0,null,null,1,"td",[["class","active"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](33,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](35,0,null,null,1,"td",[["class","success"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](36,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](38,0,null,null,1,"td",[["class","info"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](39,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](41,0,null,null,3,"td",[["class","danger"]],null,null,null,null,null)),(e()(),Wt["\u0275eld"](42,0,null,null,2,"b",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](43,0,null,null,1,"u",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](44,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](49,0,null,null,7,"p",[],[[8,"hidden",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,H)),Wt["\u0275did"](52,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Q)),Wt["\u0275did"](55,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](58,0,null,null,2,"h4",[],[[8,"hidden",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](59,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](62,0,null,null,6,"div",[],[[8,"hidden",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](64,0,null,null,3,"div",[["style","display:block; text-align:center; margin-top:-10px;position:absolute;width:100%;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](66,0,null,null,0,"i",[["class","fa fa-spinner fa-spin"],["style","font-size:32px"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Y)),Wt["\u0275did"](71,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,n){var t=n.component;e(n,52,0,0==t.foundErrors),e(n,55,0,t.foundErrors>0),e(n,71,0,t.shown_segments.length>0)},function(e,n){var t=n.component;e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.statistics"))),e(n,11,0,Wt["\u0275unv"](n,11,0,Wt["\u0275nov"](n,12).transform("segments.total"))),e(n,15,0,Wt["\u0275unv"](n,15,0,Wt["\u0275nov"](n,16).transform("segments.transcribed"))),e(n,19,0,Wt["\u0275unv"](n,19,0,Wt["\u0275nov"](n,20).transform("segments.with breaks"))),e(n,23,0,Wt["\u0275unv"](n,23,0,Wt["\u0275nov"](n,24).transform("segments.not transcribed"))),e(n,33,0,t.numberOfSegments),e(n,36,0,t.transcrSegments),e(n,39,0,t.pauseSegments),e(n,44,0,t.emptySegments),e(n,49,0,0==t.shown_segments.length),e(n,58,0,!t.show_transcriptiontable),e(n,59,0,Wt["\u0275unv"](n,59,0,Wt["\u0275nov"](n,60).transform("general.transcript"))),e(n,62,0,!t.show_loading)})}function Z(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-transcr-overview",[],null,null,null,J,tu)),Wt["\u0275did"](1,4964352,null,0,Pr,[Fi,fi,Kt.c,Wt.ChangeDetectorRef],null,null)],function(e,n){e(n,1,0)},null)}function ee(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"div",[["class","alert alert-dismissible alert-success"]],[[8,"hidden",0],[24,"@fadeToggle",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["\n ","\n"]))],null,function(e,n){var t=n.component;e(n,0,0,!t.show,t.state),e(n,1,0,t.text)})}function ne(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"div",[["class","alert alert-dismissible alert-danger"]],[[8,"hidden",0],[24,"@fadeToggle",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,1,"button",[["class","close"],["data-dismiss","alert"],["type","button"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\xd7"])),(e()(),Wt["\u0275ted"](4,null,["\n ","\n"]))],null,function(e,n){var t=n.component;e(n,0,0,!t.show,t.state),e(n,4,0,t.text)})}function te(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"div",[["class","alert alert-dismissible alert-info"]],[[8,"hidden",0],[24,"@fadeToggle",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,1,"button",[["class","close"],["data-dismiss","alert"],["type","button"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\xd7"])),(e()(),Wt["\u0275ted"](4,null,["\n ","\n"]))],null,function(e,n){var t=n.component;e(n,0,0,!t.show,t.state),e(n,4,0,t.text)})}function le(e){return Wt["\u0275vid"](2,[(e()(),Wt["\u0275and"](16777216,null,null,1,null,ee)),Wt["\u0275did"](1,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ne)),Wt["\u0275did"](4,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,te)),Wt["\u0275did"](7,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,n){var t=n.component;e(n,1,0,"success"==t.type),e(n,4,0,"error"==t.type),e(n,7,0,"info"==t.type)},null)}function ie(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-alert",[],null,null,null,le,uu)),Wt["\u0275did"](1,245760,null,0,sr,[Wt.ChangeDetectorRef,Bi],null,null)],function(e,n){e(n,1,0)},null)}function re(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm ":0}),(e()(),Wt["\u0275ted"](3,null,["",""]))],function(e,n){e(n,1,0,e(n,2,0,n.component.responsive))},function(e,n){e(n,3,0,n.component.button_labels.shortcuts)})}function oe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm hidden-md":0}),(e()(),Wt["\u0275ted"](-1,null,["[ALT +\n 8]"]))],function(e,n){e(n,1,0,e(n,2,0,n.component.responsive))},null)}function ue(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm ":0}),(e()(),Wt["\u0275ted"](3,null,["",""]))],function(e,n){e(n,1,0,e(n,2,0,n.component.responsive))},function(e,n){e(n,3,0,n.component.button_labels.guidelines)})}function ae(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm hidden-md":0}),(e()(),Wt["\u0275ted"](-1,null,["[ALT + 9]"]))],function(e,n){e(n,1,0,e(n,2,0,n.component.responsive))},null)}function se(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm ":0}),(e()(),Wt["\u0275ted"](3,null,["",""]))],function(e,n){e(n,1,0,e(n,2,0,n.component.responsive))},function(e,n){e(n,3,0,n.component.button_labels.overview)})}function ce(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm hidden-md":0}),(e()(),Wt["\u0275ted"](-1,null,["[ALT + 0]"]))],function(e,n){e(n,1,0,e(n,2,0,n.component.responsive))},null)}function de(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm ":0}),(e()(),Wt["\u0275ted"](3,null,["",""]))],function(e,n){e(n,1,0,e(n,2,0,n.component.responsive))},function(e,n){e(n,3,0,n.component.button_labels.help)})}function pe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,46,"div",[["id","fastbar"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,43,"div",[["aria-label","Justified button group"],["class","btn-group btn-group-justified btn-group-sm"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,8,"a",[["class","btn"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.shortcutbtnclicked.emit()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,0,"span",[["class","glyphicon glyphicon-open"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,re)),Wt["\u0275did"](9,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,oe)),Wt["\u0275did"](12,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](14,0,null,null,9,"a",[["class","btn"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.guidelinesbtnclicked.emit()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](16,0,null,null,0,"span",[["class","glyphicon glyphicon-th-list"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ue)),Wt["\u0275did"](19,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ae)),Wt["\u0275did"](22,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](25,0,null,null,9,"a",[["class","btn"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.overviewbtnclicked.emit()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](27,0,null,null,0,"span",[["class","glyphicon glyphicon-eye-open"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,se)),Wt["\u0275did"](30,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ce)),Wt["\u0275did"](33,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](36,0,null,null,8,"a",[["class","btn"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,37).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&l}return l},null,null)),Wt["\u0275did"](37,671744,null,0,hr.m,[hr.k,hr.a,go.LocationStrategy],{routerLink:[0,"routerLink"]},null),Wt["\u0275pad"](38,1),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](40,0,null,null,0,"span",[["class","glyphicon glyphicon-question-sign"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,de)),Wt["\u0275did"](43,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){var t=n.component;e(n,9,0,!t.appStorage.easymode),e(n,12,0,!t.appStorage.easymode),e(n,19,0,!t.appStorage.easymode),e(n,22,0,!t.appStorage.easymode),e(n,30,0,!t.appStorage.easymode),e(n,33,0,!t.appStorage.easymode),e(n,37,0,e(n,38,0,"/user/transcr/help")),e(n,43,0,!t.appStorage.easymode)},function(e,n){e(n,36,0,Wt["\u0275nov"](n,37).target,Wt["\u0275nov"](n,37).href)})}function he(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-fastbar",[],null,null,null,pe,mu)),Wt["\u0275did"](1,114688,null,0,Mr,[Oi],null,null)],function(e,n){e(n,1,0)},null)}function fe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"div",[["class","bg-warning"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.no guidelines found")))})}function ge(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,0,"span",[["class","glyphicon glyphicon glyphicon-chevron-down"]],null,null,null,null,null))],null,null)}function me(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,0,"span",[["class","glyphicon glyphicon glyphicon-chevron-up"]],null,null,null,null,null))],null,null)}function ve(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"div",[["class","media"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,0,"audio",[["controls",""]],[[8,"src",4]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){e(n,2,0,Wt["\u0275inlineInterpolate"](1,"",n.parent.context.$implicit.url,""))})}function be(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,12,"div",[["class","media"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,9,"video",[["class","video-js vjs-default-skin vjs-big-play-centered"],["controls",""],["data-setup","{}"],["preload","auto"]],[[8,"id",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,0,"source",[["type","video/mp4"]],[[8,"src",4]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,4,"p",[["class","vjs-no-js"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n To view this video please enable JavaScript, and consider\n upgrading to a\n web browser that\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,1,"a",[["href","http://videojs.com/html5-video-support/"],["target","_blank"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n supports HTML5 video\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){e(n,2,0,Wt["\u0275inlineInterpolate"](3,"my-player_g",n.parent.parent.parent.parent.parent.context.index,"i",n.parent.parent.parent.context.index,"e",n.parent.context.index,"")),e(n,4,0,Wt["\u0275inlineInterpolate"](1,"",n.parent.context.$implicit.url,""))})}function ye(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,22,"div",[["class","panel panel-primary panel-example"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,5,"div",[["class","panel-heading"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,2,"h3",[["class","panel-title"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](5,null,[""," ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,null,12,"div",[["class","panel-body"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ve)),Wt["\u0275did"](12,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,be)),Wt["\u0275did"](15,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](17,0,null,null,3,"div",[["class","text"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](19,0,null,null,0,"code",[],[[8,"innerHTML",1]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,12,0,n.context.$implicit.url.indexOf(".wav")>-1),e(n,15,0,n.context.$implicit.url.indexOf(".mp4")>-1)},function(e,n){var t=n.component;e(n,5,0,Wt["\u0275unv"](n,5,0,Wt["\u0275nov"](n,6).transform("general.example")),n.context.index+1),e(n,19,0,t.transcrService.rawToHTML(n.context.$implicit.annotation))})}function _e(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"div",[["class","col-md-8"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ye)),Wt["\u0275did"](3,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,3,0,n.parent.context.$implicit.examples)},null)}function we(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,40,"div",[["class","row select-row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,7,"div",[["class","col-xs-1 chevron"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.toggle(e.parent.parent.context.index,e.context.index)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ge)),Wt["\u0275did"](5,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,me)),Wt["\u0275did"](8,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](11,0,null,null,1,"div",[["class","col-xs-1 code"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.toggle(e.parent.parent.context.index,e.context.index)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](12,null,["\n ","\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](14,0,null,null,19,"div",[["class","col-xs-9"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](16,0,null,null,1,"span",[["class","guidelines-title"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.toggle(e.parent.parent.context.index,e.context.index)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](17,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](19,0,null,null,13,"div",[["class","row entry-row"]],[[2,"collapse",null],[4,"display",null],[2,"in",null],[2,"show",null],[1,"aria-expanded",0],[1,"aria-hidden",0],[2,"collapsing",null]],null,null,null,null)),Wt["\u0275did"](20,16384,null,0,bu.a,[Wt.ElementRef,Wt.Renderer],{collapse:[0,"collapse"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](22,0,null,null,6,"div",[],null,null,null,null,null)),Wt["\u0275did"](23,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](24,{"col-md-4":0,"col-md-12":1}),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](26,0,null,null,1,"span",[["class","guidelines-descr"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](27,null,["\n ","\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,_e)),Wt["\u0275did"](31,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](35,0,null,null,4,"div",[["class","col-xs-1 hidden-xs col-priority"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.toggle(e.parent.parent.context.index,e.context.index)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](37,0,null,null,1,"span",[["class","label label-info"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](38,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,5,0,t.collapsed[n.parent.parent.context.index][n.context.index]),e(n,8,0,!t.collapsed[n.parent.parent.context.index][n.context.index]),e(n,20,0,t.collapsed[n.parent.parent.context.index][n.context.index]),e(n,23,0,e(n,24,0,n.context.$implicit.examples.length>0,0==n.context.$implicit.examples.length)),e(n,31,0,n.context.$implicit.examples.length>0)},function(e,n){e(n,12,0,n.context.$implicit.code),e(n,17,0,n.context.$implicit.title),e(n,19,0,Wt["\u0275nov"](n,20).isCollapse,Wt["\u0275nov"](n,20).display,Wt["\u0275nov"](n,20).isExpanded,Wt["\u0275nov"](n,20).isExpanded,Wt["\u0275nov"](n,20).isExpanded,Wt["\u0275nov"](n,20).isCollapsed,Wt["\u0275nov"](n,20).isCollapsing),e(n,27,0,n.context.$implicit.description),e(n,38,0,n.context.$implicit.priority)})}function Se(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"div",[["class","panel-body"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,we)),Wt["\u0275did"](3,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,3,0,n.parent.context.$implicit.entries)},null)}function ke(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,13,"div",[["class","row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,10,"div",[["class","col-xs-12"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,7,"div",[["class","panel panel-default"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,1,"div",[["class","panel-heading"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Se)),Wt["\u0275did"](10,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,10,0,n.component.collapsed.length>0)},function(e,n){e(n,7,0,n.context.$implicit.group)})}function Oe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,63,"modal",[["class","modal"],["id","rules"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,au.b,au.a)),Wt["\u0275did"](1,180224,[[1,4],["modal_guidelines",4]],0,su.ModalComponent,[Wt.ElementRef],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](3,0,null,0,41,"modal-header",[],null,null,null,cu.b,cu.a)),Wt["\u0275did"](4,49152,null,0,du.ModalHeaderComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,0,37,"div",[["class","row hidden-xs hidden-sm"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,19,"div",[["class","col-md-7"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,4,"h3",[["style","display:inline;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](11,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275eld"](13,0,null,null,1,"span",[["class","version"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](14,null,["\n v ","\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](16,0,null,null,2,"button",[["class","btn btn-sm btn-danger"],["style","border:1px solid red;"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.exportPDF()&&l}return l},null,null)),(e()(),Wt["\u0275eld"](17,0,null,null,0,"span",[["class","glyphicon glyphicon-print"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,[" PDF\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](20,0,null,null,2,"span",[["class","project"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](21,null,["\n ",": ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](24,0,null,null,2,"span",[["class","authors"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](25,null,["\n ",": ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](29,0,null,null,13,"div",[["class","col-md-5"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](31,0,null,null,10,"div",[["class","form-group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](33,0,null,null,7,"div",[["class","input-group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](35,0,null,null,1,"span",[["class","input-group-addon"]],null,null,null,null,null)),(e()(),Wt["\u0275eld"](36,0,null,null,0,"span",[["class","glyphicon glyphicon-search"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](38,0,[["input",1]],null,1,"input",[["class","form-control"],["id","addon1"],["type","text"]],[[8,"placeholder",0]],[[null,"keyup"]],function(e,n,t){var l=!0,i=e.component;if("keyup"===n){l=!1!==i.search(Wt["\u0275nov"](e,38).value)&&l}return l},null,null)),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](46,0,null,0,8,"modal-body",[],null,null,null,lu.b,lu.a)),Wt["\u0275did"](47,49152,null,0,iu.ModalBodyComponent,[],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,fe)),Wt["\u0275did"](50,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,ke)),Wt["\u0275did"](53,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](56,0,null,0,6,"modal-footer",[],null,null,null,pu.b,pu.a)),Wt["\u0275did"](57,49152,null,0,hu.ModalFooterComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](59,0,null,0,2,"button",[["class","btn btn-default"],["data-dismiss","modal"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,1).dismiss()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](60,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n"]))],function(e,n){var t=n.component;e(n,50,0,0==t.shown_guidelines.instructions.length),e(n,53,0,t.shown_guidelines.instructions)},function(e,n){var t=n.component;e(n,0,0,Wt["\u0275nov"](n,1).fadeClass,Wt["\u0275nov"](n,1).dataKeyboardAttr,Wt["\u0275nov"](n,1).dataBackdropAttr),e(n,11,0,Wt["\u0275unv"](n,11,0,Wt["\u0275nov"](n,12).transform("general.guidelines"))),e(n,14,0,t.guidelines.meta.version),e(n,21,0,Wt["\u0275unv"](n,21,0,Wt["\u0275nov"](n,22).transform("general.project")),t.guidelines.meta.project),e(n,25,0,Wt["\u0275unv"](n,25,0,Wt["\u0275nov"](n,26).transform("general.authors")),t.guidelines.meta.authors),e(n,38,0,Wt["\u0275inlineInterpolate"](1,"",Wt["\u0275unv"](n,38,0,Wt["\u0275nov"](n,39).transform("general.search")),"")),e(n,60,0,Wt["\u0275unv"](n,60,0,Wt["\u0275nov"](n,61).transform("general.close")))})}function xe(e){return Wt["\u0275vid"](0,[Wt["\u0275qud"](671088640,1,{modal_guidelines:0}),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Oe)),Wt["\u0275did"](2,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,n){e(n,2,0,null!=n.component.guidelines)},null)}function Ce(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-transcr-guidelines",[],null,null,null,xe,_u)),Wt["\u0275did"](1,4833280,null,0,eo,[Fi,Wt.ChangeDetectorRef,fo.a,Ri],null,null)],function(e,n){e(n,1,0)},null)}function Pe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"app-transcr-overview",[],null,[[null,"segmentclicked"]],function(e,n,t){var l=!0,i=e.component;if("segmentclicked"===n){l=!1!==i.onSegmentInOverviewClicked(t)&&l}return l},J,tu)),Wt["\u0275did"](1,4964352,null,0,Pr,[Fi,fi,Kt.c,Wt.ChangeDetectorRef],{segments:[0,"segments"],visible:[1,"visible"]},{segmentclicked:"segmentclicked"}),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,1,0,null!==t.transcrService.annotation&&void 0!==t.transcrService.annotation?t.transcrService.annotation.levels[t.transcrService.selectedlevel].segments.segments:null,Wt["\u0275nov"](n.parent,67).visible)},null)}function je(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"span",[["class","focus-info"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["(",")"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.on focus only")))})}function Re(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,11,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,[""," "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,je)),Wt["\u0275did"](9,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,9,0,n.context.$implicit.value.focusonly)},function(e,n){var t=n.component;e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("modal.shortcuts."+n.context.$implicit.value.title))),e(n,7,0,n.context.$implicit.value.keys[t.platform])})}function Me(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,10,"div",[["class","table-responsive"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,7,"table",[["class","table table-hover"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,4,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Re)),Wt["\u0275did"](7,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,7,0,n.component.keyMap.getEntryList("AP"))},null)}function Te(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,8,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Me)),Wt["\u0275did"](7,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,7,0,null!==n.component.keyMap.getEntryList("AP"))},function(e,n){e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("modal.shortcuts.audioplayer")))})}function Ne(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"span",[["class","focus-info"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["(",")"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.on focus only")))})}function Ie(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,11,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,[""," "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ne)),Wt["\u0275did"](9,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,9,0,null!==n.context.$implicit.value&&n.context.$implicit.value.focusonly)},function(e,n){var t=n.component;e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("modal.shortcuts."+n.context.$implicit.value.title))),e(n,7,0,n.context.$implicit.value.keys[t.platform])})}function Ee(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,10,"div",[["class","table-responsive"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,7,"table",[["class","table table-hover"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,4,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ie)),Wt["\u0275did"](7,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,7,0,n.component.keyMap.getEntryList("AV"))},null)}function Ae(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"span",[["class","focus-info"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["(",")"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.on focus only")))})}function De(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,11,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,[""," "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ae)),Wt["\u0275did"](9,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,9,0,null!==n.context.$implicit.value&&n.context.$implicit.value.focusonly)},function(e,n){var t=n.component;e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("modal.shortcuts."+n.context.$implicit.value.title))),e(n,7,0,n.context.$implicit.value.keys[t.platform])})}function Le(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,10,"div",[["class","table-responsive"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,7,"table",[["class","table table-hover"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,4,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,De)),Wt["\u0275did"](7,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,7,0,n.component.keyMap.getEntryList("Loupe"))},null)}function Ue(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,15,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ee)),Wt["\u0275did"](7,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](10,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Le)),Wt["\u0275did"](14,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,7,0,null!==t.keyMap.getEntryList("AV")),e(n,14,0,null!==t.keyMap.getEntryList("Loupe"))},function(e,n){e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("modal.shortcuts.top signaldisplay"))),e(n,10,0,Wt["\u0275unv"](n,10,0,Wt["\u0275nov"](n,11).transform("modal.shortcuts.down signaldisplay")))})}function ze(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"span",[["class","focus-info"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["(",")"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.on focus only")))})}function Fe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,11,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,[""," "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ze)),Wt["\u0275did"](9,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,9,0,n.context.$implicit.value.focusonly)},function(e,n){var t=n.component;e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("modal.shortcuts."+n.context.$implicit.value.title))),e(n,7,0,n.context.$implicit.value.keys[t.platform])})}function Be(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"span",[["class","focus-info"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["(",")"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.on focus only")))})}function Ve(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,11,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,[""," "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Be)),Wt["\u0275did"](9,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,9,0,n.context.$implicit.value.focusonly)},function(e,n){var t=n.component;e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("modal.shortcuts."+n.context.$implicit.value.title))),e(n,7,0,n.context.$implicit.value.keys[t.platform])})}function We(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,33,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,10,"div",[["class","table-responsive"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,7,"table",[["class","table table-hover"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,4,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Fe)),Wt["\u0275did"](13,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](18,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](19,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](22,0,null,null,10,"div",[["class","table-responsive"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](24,0,null,null,7,"table",[["class","table table-hover"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](26,0,null,null,4,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ve)),Wt["\u0275did"](29,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,13,0,t.keyMap.getEntryList("2D-Editor")),e(n,29,0,t.keyMap.getEntryList("Transcription Window"))},function(e,n){e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("modal.shortcuts.2D-Editor"))),e(n,19,0,Wt["\u0275unv"](n,19,0,Wt["\u0275nov"](n,20).transform("general.transcription window")))})}function qe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,11,"modal-body",[],null,null,null,lu.b,lu.a)),Wt["\u0275did"](1,49152,null,0,iu.ModalBodyComponent,[],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,Te)),Wt["\u0275did"](4,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,Ue)),Wt["\u0275did"](7,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,We)),Wt["\u0275did"](10,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "]))],function(e,n){var t=n.component;e(n,4,0,"Editor without signal display"==t.interface),e(n,7,0,"Linear Editor"==t.interface),e(n,10,0,"2D-Editor"==t.interface)},null)}function Ke(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,0,"span",[["class","glyphicon glyphicon-floppy-disk"],["style","color:#333333"]],null,null,null,null,null))],null,null)}function $e(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,0,"span",[["class","glyphicon glyphicon-floppy-disk"],["style","color:red"]],null,null,null,null,null))],null,null)}function Xe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275and"](0,null,null,0))],null,null)}function He(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"span",[["class","required_marker"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["*"]))],null,null)}function Qe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"span",[["class","glyphicon glyphicon-chevron-up"],["style","color:grey; display: block; padding:0;cursor:pointer;margin-bottom:10px;"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.expandFeedback()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,null)}function Ge(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"span",[["class","glyphicon glyphicon-chevron-down"],["style","color:grey; display: block; padding:0;cursor:pointer;margin-bottom:10px;"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.expandFeedback()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,null)}function Ye(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"span",[["class","required_marker"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["*"]))],null,null)}function Je(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,14,"div",[["class","radio"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,11,"label",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["","\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,8,"input",[["type","radio"]],[[8,"checked",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(e,n,t){var l=!0,i=e.component;if("input"===n){l=!1!==Wt["\u0275nov"](e,5)._handleInput(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,5).onTouched()&&l}if("compositionstart"===n){l=!1!==Wt["\u0275nov"](e,5)._compositionStart()&&l}if("compositionend"===n){l=!1!==Wt["\u0275nov"](e,5)._compositionEnd(t.target.value)&&l}if("change"===n){l=!1!==Wt["\u0275nov"](e,6).onChange()&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,6).onTouched()&&l}if("ngModelChange"===n){l=!1!==(i.feedback_data[e.parent.parent.context.$implicit.name]=t)&&l}return l},null,null)),Wt["\u0275did"](5,16384,null,0,$t.d,[Wt.Renderer2,Wt.ElementRef,[2,$t.a]],null,null),Wt["\u0275did"](6,212992,null,0,$t.r,[Wt.Renderer2,Wt.ElementRef,$t.z,Wt.Injector],{name:[0,"name"],value:[1,"value"]},null),Wt["\u0275did"](7,16384,null,0,$t.t,[],{required:[0,"required"]},null),Wt["\u0275prd"](1024,null,$t.i,function(e){return[e]},[$t.t]),Wt["\u0275prd"](1024,null,$t.j,function(e,n){return[e,n]},[$t.d,$t.r]),Wt["\u0275did"](10,671744,null,0,$t.o,[[2,$t.c],[2,$t.i],[8,null],[2,$t.j]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Wt["\u0275prd"](2048,null,$t.k,null,[$t.o]),Wt["\u0275did"](12,16384,null,0,$t.l,[$t.k],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,6,0,Wt["\u0275inlineInterpolate"](1,"",n.parent.parent.context.$implicit.name,""),Wt["\u0275inlineInterpolate"](1,"",n.parent.context.$implicit.value,"")),e(n,7,0,n.parent.context.$implicit.required),e(n,10,0,Wt["\u0275inlineInterpolate"](1,"",n.parent.parent.context.$implicit.name,""),t.feedback_data[n.parent.parent.context.$implicit.name])},function(e,n){var t=n.component;e(n,3,0,t.translate(n.parent.context.$implicit.label.languages,t.langService.currentLang)),e(n,4,0,n.parent.context.$implicit.custom.checked,Wt["\u0275nov"](n,7).required?"":null,Wt["\u0275nov"](n,12).ngClassUntouched,Wt["\u0275nov"](n,12).ngClassTouched,Wt["\u0275nov"](n,12).ngClassPristine,Wt["\u0275nov"](n,12).ngClassDirty,Wt["\u0275nov"](n,12).ngClassValid,Wt["\u0275nov"](n,12).ngClassInvalid,Wt["\u0275nov"](n,12).ngClassPending)})}function Ze(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"span",[["class","required_marker"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["*"]))],null,null)}function en(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,9,"div",[["class","checkbox"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,6,"label",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,[["checkb",1]],null,0,"input",[["type","checkbox"],["value","true"]],[[8,"name",0],[8,"checked",0],[8,"required",0]],[[null,"change"]],function(e,n,t){var l=!0,i=e.component;if("change"===n){l=!1!==i.checkBoxChanged(e.parent.parent.context.$implicit.name,e.parent.context.$implicit.value)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ze)),Wt["\u0275did"](7,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](8,null,["\n ","\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,7,0,n.parent.context.$implicit.required)},function(e,n){var t=n.component;e(n,4,0,Wt["\u0275inlineInterpolate"](1,"",n.parent.context.$implicit.value,""),n.parent.context.$implicit.custom.checked,n.parent.context.$implicit.required),e(n,8,0,t.translate(n.parent.context.$implicit.label.languages,t.langService.currentLang))})}function nn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,7,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),(e()(),Wt["\u0275eld"](4,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,0,"textarea",[["class","form-control"]],[[8,"name",0],[8,"value",0],[8,"required",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,['\n [(ngModel)]="feedback_data[group.name]"\n ']))],null,function(e,n){var t=n.component;e(n,3,0,t.translate(n.parent.context.$implicit.label.languages,t.langService.currentLang)),e(n,6,0,Wt["\u0275inlineInterpolate"](1,"",n.parent.parent.context.$implicit.name,""),Wt["\u0275inlineInterpolate"](1,"",n.parent.context.$implicit.value,""),n.parent.context.$implicit.required)})}function tn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,10,"div",[["class","ctrl"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Je)),Wt["\u0275did"](3,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,en)),Wt["\u0275did"](6,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,nn)),Wt["\u0275did"](9,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,3,0,"radiobutton"===n.context.$implicit.type.type),e(n,6,0,"checkbox"===n.context.$implicit.type.type),e(n,9,0,"textarea"===n.context.$implicit.type.type)},null)}function ln(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,14,"div",[["class","form-group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,1,"label",[["class","control-label"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ye)),Wt["\u0275did"](6,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,tn)),Wt["\u0275did"](13,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,6,0,n.context.$implicit.controls[0].required),e(n,13,0,n.context.$implicit.controls)},function(e,n){var t=n.component;e(n,3,0,t.translate(n.context.$implicit.title,t.langService.currentLang))})}function rn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,[["feedback",1]],null,60,"div",[["class","panel"],["id","bottom-feedback"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,23,"table",[["style","width:100%;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,20,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,17,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,5,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](9,0,null,null,3,"span",[["class","link"],["style","width:100%;display: block;"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.expandFeedback()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["FEEDBACK "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,He)),Wt["\u0275did"](12,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](15,0,null,null,7,"td",[["style","text-align: right"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Qe)),Wt["\u0275did"](18,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ge)),Wt["\u0275did"](21,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](27,0,null,null,32,"div",[["class","inner"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](29,0,null,null,29,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,n,t){var l=!0;if("submit"===n){l=!1!==Wt["\u0275nov"](e,31).onSubmit(t)&&l}if("reset"===n){l=!1!==Wt["\u0275nov"](e,31).onReset()&&l}return l},null,null)),Wt["\u0275did"](30,16384,null,0,$t.y,[],null,null),Wt["\u0275did"](31,16384,[[7,4],["fo",4]],0,$t.n,[[8,null],[8,null]],null,null),Wt["\u0275prd"](2048,null,$t.c,null,[$t.n]),Wt["\u0275did"](33,16384,null,0,$t.m,[$t.c],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](35,0,null,null,22,"fieldset",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ln)),Wt["\u0275did"](38,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](40,0,null,null,16,"div",[["class","form-group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](42,0,null,null,13,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](44,0,null,null,2,"label",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](45,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275eld"](47,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](49,0,null,null,5,"textarea",[["class","form-control"],["name","comment"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,n,t){var l=!0,i=e.component;if("input"===n){l=!1!==Wt["\u0275nov"](e,50)._handleInput(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,50).onTouched()&&l}if("compositionstart"===n){l=!1!==Wt["\u0275nov"](e,50)._compositionStart()&&l}if("compositionend"===n){l=!1!==Wt["\u0275nov"](e,50)._compositionEnd(t.target.value)&&l}if("ngModelChange"===n){l=!1!==(i.transcrService.feedback.comment=t)&&l}return l},null,null)),Wt["\u0275did"](50,16384,null,0,$t.d,[Wt.Renderer2,Wt.ElementRef,[2,$t.a]],null,null),Wt["\u0275prd"](1024,null,$t.j,function(e){return[e]},[$t.d]),Wt["\u0275did"](52,671744,null,0,$t.o,[[2,$t.c],[8,null],[8,null],[2,$t.j]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Wt["\u0275prd"](2048,null,$t.k,null,[$t.o]),Wt["\u0275did"](54,16384,null,0,$t.l,[$t.k],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,12,0,t.transcrService.feedback.required),e(n,18,0,!t.feedback_expanded),e(n,21,0,t.feedback_expanded),e(n,38,0,t.transcrService.feedback.groups);e(n,52,0,"comment",t.transcrService.feedback.comment)},function(e,n){e(n,29,0,Wt["\u0275nov"](n,33).ngClassUntouched,Wt["\u0275nov"](n,33).ngClassTouched,Wt["\u0275nov"](n,33).ngClassPristine,Wt["\u0275nov"](n,33).ngClassDirty,Wt["\u0275nov"](n,33).ngClassValid,Wt["\u0275nov"](n,33).ngClassInvalid,Wt["\u0275nov"](n,33).ngClassPending),e(n,45,0,Wt["\u0275unv"](n,45,0,Wt["\u0275nov"](n,46).transform("transcription-submit.comment description"))),e(n,49,0,Wt["\u0275nov"](n,54).ngClassUntouched,Wt["\u0275nov"](n,54).ngClassTouched,Wt["\u0275nov"](n,54).ngClassPristine,Wt["\u0275nov"](n,54).ngClassDirty,Wt["\u0275nov"](n,54).ngClassValid,Wt["\u0275nov"](n,54).ngClassInvalid,Wt["\u0275nov"](n,54).ngClassPending)})}function on(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm":0}),(e()(),Wt["\u0275ted"](3,null,[" ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],function(e,n){e(n,1,0,e(n,2,0,n.component.appc.octra.responsive.enabled))},function(e,n){e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("general.quit")))})}function un(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm":0}),(e()(),Wt["\u0275ted"](3,null,[" ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],function(e,n){e(n,1,0,e(n,2,0,n.component.appc.octra.responsive.enabled))},function(e,n){e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("general.export data")))})}function an(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"a",[["class","btn btn-primary btn-raised"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.navbarServ.doclick("export")&&l}return l},null,null)),(e()(),Wt["\u0275and"](16777216,null,null,1,null,un)),Wt["\u0275did"](2,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,0,"span",[["class","glyphicon glyphicon-download"]],null,null,null,null,null))],function(e,n){e(n,2,0,!n.component.appStorage.easymode)},null)}function sn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm":0}),(e()(),Wt["\u0275ted"](3,null,[" ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],function(e,n){e(n,1,0,e(n,2,0,n.component.appc.octra.responsive.enabled))},function(e,n){e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("transcription.send")))})}function cn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"a",[["class","btn btn-primary btn-raised"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.onSendButtonClick()&&l}return l},null,null)),(e()(),Wt["\u0275and"](16777216,null,null,1,null,sn)),Wt["\u0275did"](2,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,0,"span",[["class","glyphicon glyphicon-send"]],null,null,null,null,null))],function(e,n){e(n,2,0,!n.component.appStorage.easymode)},null)}function dn(e){return Wt["\u0275vid"](0,[Wt["\u0275qud"](402653184,1,{modal_shortcuts:0}),Wt["\u0275qud"](402653184,2,{modal_guidelines:0}),Wt["\u0275qud"](402653184,3,{modal_overview:0}),Wt["\u0275qud"](402653184,4,{appLoadeditor:0}),Wt["\u0275qud"](402653184,5,{modal:0}),Wt["\u0275qud"](402653184,6,{modal2:0}),Wt["\u0275qud"](671088640,7,{feedback_form:0}),(e()(),Wt["\u0275eld"](7,0,null,null,1,"app-alert",[],null,null,null,le,uu)),Wt["\u0275did"](8,245760,[["alert",4]],0,sr,[Wt.ChangeDetectorRef,Bi],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](10,0,null,null,27,"modal",[["class","modal"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,au.b,au.a)),Wt["\u0275did"](11,180224,[[5,4],["modal",4]],0,su.ModalComponent,[Wt.ElementRef],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](13,0,null,0,6,"modal-header",[],null,null,null,cu.b,cu.a)),Wt["\u0275did"](14,49152,null,0,du.ModalHeaderComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](16,0,null,0,2,"h4",[["class","modal-title"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](17,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](21,0,null,0,3,"modal-body",[],null,null,null,lu.b,lu.a)),Wt["\u0275did"](22,49152,null,0,iu.ModalBodyComponent,[],null,null),(e()(),Wt["\u0275ted"](23,0,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](26,0,null,0,10,"modal-footer",[],null,null,null,pu.b,pu.a)),Wt["\u0275did"](27,49152,null,0,hu.ModalFooterComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](29,0,null,0,2,"button",[["class","btn btn-primary"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,11).dismiss()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](30,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](33,0,null,0,2,"button",[["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.onSendNowClick()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](34,null,["","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n\n"])),(e()(),Wt["\u0275eld"](39,0,null,null,25,"modal",[["class","modal"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,au.b,au.a)),Wt["\u0275did"](40,180224,[[6,4],["modal2",4]],0,su.ModalComponent,[Wt.ElementRef],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](42,0,null,0,6,"modal-header",[],null,null,null,cu.b,cu.a)),Wt["\u0275did"](43,49152,null,0,du.ModalHeaderComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](45,0,null,0,2,"h4",[["class","modal-title"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](46,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](50,0,null,0,13,"modal-body",[],null,null,null,lu.b,lu.a)),Wt["\u0275did"](51,49152,null,0,iu.ModalBodyComponent,[],null,null),(e()(),Wt["\u0275ted"](52,0,["\n ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275eld"](54,0,null,0,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](55,0,null,0,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](57,0,null,0,1,"div",[["style","color:red"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](58,null,["",""])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](60,0,null,0,2,"div",[["class","text-success"],["style","text-align: center;display:block;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](61,null,["","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](66,0,null,null,17,"modal",[["class","modal"],["id","overview"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,au.b,au.a)),Wt["\u0275did"](67,180224,[[3,4],["modal_overview",4]],0,su.ModalComponent,[Wt.ElementRef],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](69,0,null,0,5,"modal-body",[],null,null,null,lu.b,lu.a)),Wt["\u0275did"](70,49152,null,0,iu.ModalBodyComponent,[],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,Pe)),Wt["\u0275did"](73,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](76,0,null,0,6,"modal-footer",[],null,null,null,pu.b,pu.a)),Wt["\u0275did"](77,49152,null,0,hu.ModalFooterComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](79,0,null,0,2,"button",[["class","btn btn-default"],["data-dismiss","modal"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,67).dismiss()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](80,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n\n"])),(e()(),Wt["\u0275eld"](85,0,null,null,13,"modal",[["class","modal"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,au.b,au.a)),Wt["\u0275did"](86,180224,[[1,4],["modal_shortcuts",4]],0,su.ModalComponent,[Wt.ElementRef],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,qe)),Wt["\u0275did"](89,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](91,0,null,0,6,"modal-footer",[],null,null,null,pu.b,pu.a)),Wt["\u0275did"](92,49152,null,0,hu.ModalFooterComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](94,0,null,0,2,"button",[["class","btn btn-primary"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,86).dismiss()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](95,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n\n"])),(e()(),Wt["\u0275eld"](100,0,null,null,18,"modal",[["class","modal"],["id","transcription_success"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,au.b,au.a)),Wt["\u0275did"](101,180224,[["success",4]],0,su.ModalComponent,[Wt.ElementRef],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](103,0,null,0,6,"modal-body",[],null,null,null,lu.b,lu.a)),Wt["\u0275did"](104,49152,null,0,iu.ModalBodyComponent,[],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](106,0,null,0,2,"p",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](107,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](111,0,null,0,6,"modal-footer",[],null,null,null,pu.b,pu.a)),Wt["\u0275did"](112,49152,null,0,hu.ModalFooterComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](114,0,null,0,2,"button",[["class","btn btn-default"],["data-dismiss","modal"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,101).dismiss()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](115,null,["","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n\n"])),(e()(),Wt["\u0275eld"](120,0,null,null,48,"div",[["class","flex"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](122,0,null,null,7,"span",[["id","saving"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ke)),Wt["\u0275did"](125,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,$e)),Wt["\u0275did"](128,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](131,0,null,null,6,"app-fastbar",[],null,[[null,"shortcutbtnclicked"],[null,"guidelinesbtnclicked"],[null,"overviewbtnclicked"]],function(e,n,t){var l=!0;if("shortcutbtnclicked"===n){l=!1!==Wt["\u0275nov"](e,86).open()&&l}if("guidelinesbtnclicked"===n){l=!1!==Wt["\u0275nov"](e,140).open()&&l}if("overviewbtnclicked"===n){l=!1!==Wt["\u0275nov"](e,67).open()&&l}return l},pe,mu)),Wt["\u0275did"](132,114688,null,0,Mr,[Oi],{responsive:[0,"responsive"],button_labels:[1,"button_labels"]},{shortcutbtnclicked:"shortcutbtnclicked",guidelinesbtnclicked:"guidelinesbtnclicked",overviewbtnclicked:"overviewbtnclicked"}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pod"](137,{shortcuts:0,guidelines:1,overview:2,help:3}),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275eld"](139,0,null,null,2,"app-transcr-guidelines",[],null,null,null,xe,_u)),Wt["\u0275did"](140,4833280,[[2,4],["modal_guidelines",4]],0,eo,[Fi,Wt.ChangeDetectorRef,fo.a,Ri],{guidelines:[0,"guidelines"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275eld"](143,0,null,null,4,"div",[["class","flex"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Xe)),Wt["\u0275did"](146,16384,[[4,4]],0,ro,[Wt.ViewContainerRef],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,rn)),Wt["\u0275did"](150,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](152,0,null,null,15,"div",[["id","bottom-nav"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](154,0,null,null,12,"div",[["aria-label","..."],["class","btn-group btn-group-justified"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](156,0,null,null,3,"a",[["class","btn btn-default btn-raised"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.modService.show("transcription_stop","",{ok:i.abortTranscription})&&l}return l},null,null)),(e()(),Wt["\u0275eld"](157,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-remove-circle"]],null,null,null,null,null)),(e()(),Wt["\u0275and"](16777216,null,null,1,null,on)),Wt["\u0275did"](159,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,an)),Wt["\u0275did"](162,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,cn)),Wt["\u0275did"](165,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){var t=n.component;e(n,8,0),e(n,73,0,null!==t.transcrService.annotation),e(n,89,0,t.editorloaded),e(n,125,0,"saving"===t.saving),e(n,128,0,"error"===t.saving),e(n,132,0,t.responsive,e(n,137,0,Wt["\u0275unv"](n,132,1,Wt["\u0275nov"](n,133).transform("general.shortcuts")),Wt["\u0275unv"](n,132,1,Wt["\u0275nov"](n,134).transform("general.guidelines")),Wt["\u0275unv"](n,132,1,Wt["\u0275nov"](n,135).transform("general.overview")),Wt["\u0275unv"](n,132,1,Wt["\u0275nov"](n,136).transform("general.help")))),e(n,140,0,t.transcrService.guidelines),e(n,150,0,!t.appStorage.uselocalmode&&null!==t.transcrService.feedback&&void 0!==t.transcrService.feedback),e(n,159,0,!t.appStorage.easymode),e(n,162,0,t.appStorage.uselocalmode),e(n,165,0,!t.appStorage.uselocalmode)},function(e,n){var t=n.component;e(n,10,0,Wt["\u0275nov"](n,11).fadeClass,Wt["\u0275nov"](n,11).dataKeyboardAttr,Wt["\u0275nov"](n,11).dataBackdropAttr),e(n,17,0,Wt["\u0275unv"](n,17,0,Wt["\u0275nov"](n,18).transform("modal.transcription.send.header"))),e(n,23,0,Wt["\u0275unv"](n,23,0,Wt["\u0275nov"](n,24).transform("modal.transcription.send.text"))),e(n,30,0,Wt["\u0275unv"](n,30,0,Wt["\u0275nov"](n,31).transform("general.abort"))),e(n,34,0,Wt["\u0275unv"](n,34,0,Wt["\u0275nov"](n,35).transform("general.send now"))),e(n,39,0,Wt["\u0275nov"](n,40).fadeClass,Wt["\u0275nov"](n,40).dataKeyboardAttr,Wt["\u0275nov"](n,40).dataBackdropAttr),e(n,46,0,Wt["\u0275unv"](n,46,0,Wt["\u0275nov"](n,47).transform("modal.transcription.sending.header"))),e(n,52,0,Wt["\u0275unv"](n,52,0,Wt["\u0275nov"](n,53).transform("modal.transcription.sending.text"))),e(n,58,0,t.send_error),e(n,61,0,Wt["\u0275unv"](n,61,0,Wt["\u0275nov"](n,62).transform("general.submission success"))),e(n,66,0,Wt["\u0275nov"](n,67).fadeClass,Wt["\u0275nov"](n,67).dataKeyboardAttr,Wt["\u0275nov"](n,67).dataBackdropAttr),e(n,80,0,Wt["\u0275unv"](n,80,0,Wt["\u0275nov"](n,81).transform("general.close"))),e(n,85,0,Wt["\u0275nov"](n,86).fadeClass,Wt["\u0275nov"](n,86).dataKeyboardAttr,Wt["\u0275nov"](n,86).dataBackdropAttr),e(n,95,0,Wt["\u0275unv"](n,95,0,Wt["\u0275nov"](n,96).transform("general.close"))),e(n,100,0,Wt["\u0275nov"](n,101).fadeClass,Wt["\u0275nov"](n,101).dataKeyboardAttr,Wt["\u0275nov"](n,101).dataBackdropAttr),e(n,107,0,Wt["\u0275unv"](n,107,0,Wt["\u0275nov"](n,108).transform("transcription submitted.no jobs left"))),e(n,115,0,Wt["\u0275unv"](n,115,0,Wt["\u0275nov"](n,116).transform("general.close")))})}function pn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"app-transcription",[],null,[["window","keydown"]],function(e,n,t){var l=!0;if("window:keydown"===n){l=!1!==Wt["\u0275nov"](e,2).onKeyUp(t)&&l}return l},dn,Su)),Wt["\u0275prd"](4608,null,Bi,Bi,[]),Wt["\u0275did"](2,16498688,null,0,xr,[hr.k,Wt.ComponentFactoryResolver,fi,Ci,Fi,Oi,vi,Wt.ChangeDetectorRef,Pi,Ri,mi,fo.a,Fl,dr],null,null)],function(e,n){e(n,2,0)},null)}function hn(e){return Wt["\u0275vid"](2,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"h2",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](4,0,null,null,4,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,5).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&l}return l},null,null)),Wt["\u0275did"](5,671744,null,0,hr.m,[hr.k,hr.a,go.LocationStrategy],{routerLink:[0,"routerLink"]},null),Wt["\u0275pad"](6,1),(e()(),Wt["\u0275ted"](7,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](10,0,null,null,0,"iframe",[],[[8,"src",5]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){e(n,5,0,e(n,6,0,"/user/transcr/"))},function(e,n){var t=n.component;e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.help"))),e(n,4,0,Wt["\u0275nov"](n,5).target,Wt["\u0275nov"](n,5).href),e(n,7,0,Wt["\u0275unv"](n,7,0,Wt["\u0275nov"](n,8).transform("general.back"))),e(n,10,0,t.sanitized_url)})}function fn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-help",[],null,null,null,hn,Cu)),Wt["\u0275did"](1,638976,null,0,Dr,[Kt.c,Wt.ChangeDetectorRef,Ri,Pi],null,null)],function(e,n){e(n,1,0)},null)}function gn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,15,"div",[["id","transcr-end"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,12,"div",[["class","container"],["style","width:900px;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,9,"div",[["class","well well-large"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,2,"p",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,2,"a",[["class","btn btn-raised btn-default"],["style","width:100%;"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.leave()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](11,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],null,function(e,n){e(n,7,0,Wt["\u0275unv"](n,7,0,Wt["\u0275nov"](n,8).transform("transcription submitted.no jobs left"))),e(n,11,0,Wt["\u0275unv"](n,11,0,Wt["\u0275nov"](n,12).transform("transcription submitted.quit")))})}function mn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-transcription-submitted",[],null,null,null,gn,Mu)),Wt["\u0275did"](1,4440064,null,0,Cr,[hr.k,Oi,Fi,Ci,Ri,Pi],null,null)],function(e,n){e(n,1,0)},null)}function vn(e){return Wt["\u0275vid"](0,[Wt["\u0275qud"](402653184,1,{dropzone:0}),(e()(),Wt["\u0275eld"](1,0,null,null,70,"div",[["class","container"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](3,0,null,null,67,"div",[["class","row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](5,0,null,null,0,"div",[["class","col-md-1"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](7,0,null,null,60,"div",[["class","col-md-10 panel"],["style","background-color:white;padding:20px;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](10,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](13,0,null,null,2,"p",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](14,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](17,0,null,null,7,"p",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](19,0,null,null,2,"b",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](20,null,["",": ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275eld"](22,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](23,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](26,0,null,null,1,"app-octra-dropzone",[],null,null,null,p,wo)),Wt["\u0275did"](27,245760,[[1,4],["dropzone",4]],0,io,[mi],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](29,0,null,null,37,"div",[["aria-label","..."],["class","btn-group btn-group-justified"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](31,0,null,null,10,"div",[["class","btn-group"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](33,0,null,null,7,"button",[["class","btn btn-default btn-raised"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.modService.show("transcription_stop","",{ok:i.abortTranscription})&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](35,0,null,null,0,"span",[["class","glyphicon glyphicon glyphicon-log-out"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,[" "])),(e()(),Wt["\u0275eld"](37,0,null,null,2,"span",[["class","hidden-xs hidden-sm hidden-md"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](38,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](43,0,null,null,10,"div",[["class","btn-group"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](45,0,null,null,7,"button",[["class","btn btn-default btn-raised btn-danger"]],[[8,"disabled",0]],[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.modService.show("transcription_delete","",{ok:i.newTranscription})&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](47,0,null,null,0,"span",[["class","glyphicon glyphicon-file"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,[" "])),(e()(),Wt["\u0275eld"](49,0,null,null,2,"span",[["class","hidden-xs hidden-sm hidden-md"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](50,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](55,0,null,null,10,"div",[["class","btn-group"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](57,0,null,null,7,"button",[["class","btn btn-primary btn-raised"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.onOfflineSubmit()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](59,0,null,null,0,"span",[["class","glyphicon glyphicon glyphicon-edit"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,[" "])),(e()(),Wt["\u0275eld"](61,0,null,null,2,"span",[["class","hidden-xs hidden-sm hidden-md"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](62,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](69,0,null,null,0,"div",[["class","col-md-1"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){e(n,27,0)},function(e,n){var t=n.component;e(n,10,0,Wt["\u0275unv"](n,10,0,Wt["\u0275nov"](n,11).transform("reload-file.header"))),e(n,14,0,Wt["\u0275unv"](n,14,0,Wt["\u0275nov"](n,15).transform("reload-file.text"))),e(n,20,0,Wt["\u0275unv"](n,20,0,Wt["\u0275nov"](n,21).transform("general.wanted")),t.getDropzoneFileString(t.sessionfile)),e(n,38,0,Wt["\u0275unv"](n,38,0,Wt["\u0275nov"](n,39).transform("transcription.stop"))),e(n,45,0,!("valid"===Wt["\u0275nov"](n,27).status)),e(n,50,0,Wt["\u0275unv"](n,50,0,Wt["\u0275nov"](n,51).transform("transcription.new"))),e(n,57,0,!(!t.isN(Wt["\u0275nov"](n,27).oaudiofile)&&null!==t.sessionfile&&Wt["\u0275nov"](n,27).oaudiofile.name===t.sessionfile.name&&t.isN(Wt["\u0275nov"](n,27).oannotation))),e(n,62,0,Wt["\u0275unv"](n,62,0,Wt["\u0275nov"](n,63).transform("transcription.start")))})}function bn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-reload-file",[],null,null,null,vn,Eu)),Wt["\u0275did"](1,114688,null,0,Rr,[hr.k,Oi,Fi,mi,fo.a,fi],null,null)],function(e,n){e(n,1,0)},null)}function yn(e){return Wt["\u0275vid"](0,[Wt["\u0275qud"](402653184,1,{canvas:0}),(e()(),Wt["\u0275eld"](1,0,null,null,51,"div",[["class","container"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](3,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["Help tools"])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,45,"div",[["class","row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,21,"div",[["class","col-sm-4 is-table-row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,18,"div",[["class","panel panel-primary"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](12,0,null,null,15,"div",[["class","panel-body"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275eld"](14,0,null,null,4,"h5",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](16,0,null,null,1,"button",[["class","btn btn-primary btn-fab btn-fab-mini"],["type","button"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,[" 1"])),(e()(),Wt["\u0275ted"](-1,null,["\n Refresh App\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](20,0,null,null,3,"p",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n This tool forces the App to reload and refresh the browser cache."])),(e()(),Wt["\u0275eld"](22,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](25,0,null,null,1,"button",[["class","btn btn-raised btn-primary col-xs-12"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.refreshApp()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,[" Refresh App"])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](31,0,null,null,19,"div",[["class","col-sm-4 is-table-row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](33,0,null,null,16,"div",[["class","panel panel-primary"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](35,0,null,null,13,"div",[["class","panel-body"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275eld"](37,0,null,null,4,"h5",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](39,0,null,null,1,"button",[["class","btn btn-primary btn-fab btn-fab-mini"],["type","button"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,[" 2"])),(e()(),Wt["\u0275ted"](-1,null,["\n Clear all Storage Data\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](43,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n This tool removes all local data including (transcript, logs and settings).\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](46,0,null,null,1,"button",[["class","btn btn-raised btn-danger col-xs-12"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.clearAllData()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,[" Clear Data"])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],null,null)}function _n(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-help-tools",[],null,null,null,yn,Uu)),Wt["\u0275did"](1,245760,null,0,Wr,[Oi,Fl],null,null)],function(e,n){e(n,1,0)},null)}function wn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"a",[["class","btn btn-default btn-raised"],["name","play"]],[[8,"title",0]],[[null,"mousedown"]],function(e,n,t){var l=!0,i=e.component;if("mousedown"===n){l=!1!==i.onButtonClick("play")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-play"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){var t=n.component;e(n,0,0,Wt["\u0275inlineInterpolate"](1,"",t.buttons.play.label,""))})}function Sn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"a",[["class","btn btn-default btn-raised"],["name","pause"]],[[8,"title",0]],[[null,"mousedown"]],function(e,n,t){var l=!0,i=e.component;if("mousedown"===n){l=!1!==i.onButtonClick("pause")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-pause"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){var t=n.component;e(n,0,0,Wt["\u0275inlineInterpolate"](1,"",t.buttons.pause.label,""))})}function kn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,118,"div",[["class","audio-nav"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,115,"div",[["class","row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,42,"div",[["class","col-md-7"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,39,"div",[["class","btn-toolbar"],["role","toolbar"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,36,"div",[["aria-label","..."],["class","btn-group btn-group-justified"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,wn)),Wt["\u0275did"](11,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Sn)),Wt["\u0275did"](14,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](16,0,null,null,4,"a",[["class","btn btn-default btn-raised"],["name","stop"]],[[8,"title",0]],[[null,"mousedown"]],function(e,n,t){var l=!0,i=e.component;if("mousedown"===n){l=!1!==i.onButtonClick("stop")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](18,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-stop"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](22,0,null,null,6,"a",[["class","btn btn-default btn-raised"],["name","replay"]],[[8,"title",0]],[[null,"mousedown"]],function(e,n,t){var l=!0,i=e.component;if("mousedown"===n){l=!1!==i.onButtonClick("replay")&&l}return l},null,null)),Wt["\u0275did"](23,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Wt["\u0275pod"](24,{active:0}),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](26,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-repeat"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](30,0,null,null,4,"a",[["class","btn btn-default btn-raised"],["name","step_back"]],[[8,"title",0]],[[null,"mousedown"]],function(e,n,t){var l=!0,i=e.component;if("mousedown"===n){l=!1!==i.onButtonClick("backward")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](32,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-step-backward"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](36,0,null,null,7,"a",[["class","btn btn-default btn-raised"],["name","step_back"]],[[8,"title",0]],[[null,"mousedown"]],function(e,n,t){var l=!0,i=e.component;if("mousedown"===n){l=!1!==i.onButtonClick("backward time")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](38,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-step-backward"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](40,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-time"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](48,0,null,null,68,"div",[["class","col-md-5"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](50,0,null,null,65,"div",[["class","btn-toolbar"],["role","toolbar"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](52,0,null,null,62,"div",[["class","btn-group btn-group-justified"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](54,0,null,null,29,"div",[["class","btn btn-raised"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](56,0,null,null,26,"div",[["class","row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](58,0,null,null,2,"div",[["class","col-xs-1 col-sm-4 col-md-3"]],null,null,null,null,null)),(e()(),Wt["\u0275eld"](59,0,null,null,0,"span",[["class","glyphicon glyphicon-volume-off"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](62,0,null,null,9,"div",[["class","col-xs-10 col-sm-4 col-md-6"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](64,0,null,null,6,"input",[["class","slider"],["id","volume-slider"],["max","3"],["min","0"],["name","volume"],["step","0.2"],["type","range"],["value","1"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,n,t){var l=!0,i=e.component;if("input"===n){l=!1!==Wt["\u0275nov"](e,65)._handleInput(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,65).onTouched()&&l}if("compositionstart"===n){l=!1!==Wt["\u0275nov"](e,65)._compositionStart()&&l}if("compositionend"===n){l=!1!==Wt["\u0275nov"](e,65)._compositionEnd(t.target.value)&&l}if("change"===n){l=!1!==Wt["\u0275nov"](e,66).onChange(t.target.value)&&l}if("input"===n){l=!1!==Wt["\u0275nov"](e,66).onChange(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,66).onTouched()&&l}if("ngModelChange"===n){l=!1!==(i.volume=t)&&l}if("change"===n){l=!1!==i.afterVolumeChange()&&l}return l},null,null)),Wt["\u0275did"](65,16384,null,0,$t.d,[Wt.Renderer2,Wt.ElementRef,[2,$t.a]],null,null),Wt["\u0275did"](66,16384,null,0,$t.x,[Wt.Renderer2,Wt.ElementRef],null,null),Wt["\u0275prd"](1024,null,$t.j,function(e,n){return[e,n]},[$t.d,$t.x]),Wt["\u0275did"](68,671744,null,0,$t.o,[[8,null],[8,null],[8,null],[2,$t.j]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Wt["\u0275prd"](2048,null,$t.k,null,[$t.o]),Wt["\u0275did"](70,16384,null,0,$t.l,[$t.k],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](73,0,null,null,8,"div",[["class","col-xs-1 col-sm-4 col-md-3"]],null,null,null,null,null)),(e()(),Wt["\u0275eld"](74,0,null,null,0,"span",[["class","glyphicon glyphicon-volume-up"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](76,0,null,null,4,"div",[["class","slider-descr"]],null,null,null,null,null)),Wt["\u0275did"](77,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Wt["\u0275pod"](78,{"hidden-xs":0}),(e()(),Wt["\u0275ted"](79,null,["","%\n "])),Wt["\u0275pid"](0,Xr,[]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](85,0,null,null,28,"div",[["class","btn btn-raised"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](87,0,null,null,25,"div",[["class","row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](89,0,null,null,2,"div",[["class","col-xs-1 col-sm-4 col-md-3"]],null,null,null,null,null)),(e()(),Wt["\u0275eld"](90,0,null,null,0,"img",[["alt","fast"],["src","assets/img/components/audio-navigation/slow.png"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](93,0,null,null,9,"div",[["class","col-xs-10 col-sm-4 col-md-6"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](95,0,null,null,6,"input",[["class","slider"],["id","speed-slider"],["max","1.8"],["min","0.2"],["name","speed"],["step","0.2"],["type","range"],["value","1"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,n,t){var l=!0,i=e.component;if("input"===n){l=!1!==Wt["\u0275nov"](e,96)._handleInput(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,96).onTouched()&&l}if("compositionstart"===n){l=!1!==Wt["\u0275nov"](e,96)._compositionStart()&&l}if("compositionend"===n){l=!1!==Wt["\u0275nov"](e,96)._compositionEnd(t.target.value)&&l}if("change"===n){l=!1!==Wt["\u0275nov"](e,97).onChange(t.target.value)&&l}if("input"===n){l=!1!==Wt["\u0275nov"](e,97).onChange(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,97).onTouched()&&l}if("ngModelChange"===n){l=!1!==(i.speed=t)&&l}if("change"===n){l=!1!==i.afterSpeedChange()&&l}return l},null,null)),Wt["\u0275did"](96,16384,null,0,$t.d,[Wt.Renderer2,Wt.ElementRef,[2,$t.a]],null,null),Wt["\u0275did"](97,16384,null,0,$t.x,[Wt.Renderer2,Wt.ElementRef],null,null),Wt["\u0275prd"](1024,null,$t.j,function(e,n){return[e,n]},[$t.d,$t.x]),Wt["\u0275did"](99,671744,null,0,$t.o,[[8,null],[8,null],[8,null],[2,$t.j]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Wt["\u0275prd"](2048,null,$t.k,null,[$t.o]),Wt["\u0275did"](101,16384,null,0,$t.l,[$t.k],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](104,0,null,null,7,"div",[["class","col-xs-1 col-sm-4 col-md-3"]],null,null,null,null,null)),(e()(),Wt["\u0275eld"](105,0,null,null,0,"img",[["alt","fast"],["src","assets/img/components/audio-navigation/fast.png"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](107,0,null,null,3,"div",[["class","slider-descr"]],null,null,null,null,null)),Wt["\u0275did"](108,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Wt["\u0275pod"](109,{"hidden-xs":0}),(e()(),Wt["\u0275ted"](110,null,["","x"])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){var t=n.component;e(n,11,0,!t.audioplaying),e(n,14,0,t.audioplaying);e(n,23,0,"btn btn-default btn-raised",e(n,24,0,t.replay));e(n,68,0,"volume",t.volume);e(n,77,0,"slider-descr",e(n,78,0,t.responsive));e(n,99,0,"speed",t.audioplaying,t.speed);e(n,108,0,"slider-descr",e(n,109,0,t.responsive))},function(e,n){var t=n.component;e(n,16,0,Wt["\u0275inlineInterpolate"](1,"",t.buttons.stop.label,"")),e(n,22,0,Wt["\u0275inlineInterpolate"](1,"",t.buttons.replay.label,"")),e(n,30,0,Wt["\u0275inlineInterpolate"](1,"",t.buttons.backward.label,"")),e(n,36,0,Wt["\u0275inlineInterpolate"](1,"",t.buttons.backwardtime.label,"")),e(n,64,0,Wt["\u0275nov"](n,70).ngClassUntouched,Wt["\u0275nov"](n,70).ngClassTouched,Wt["\u0275nov"](n,70).ngClassPristine,Wt["\u0275nov"](n,70).ngClassDirty,Wt["\u0275nov"](n,70).ngClassValid,Wt["\u0275nov"](n,70).ngClassInvalid,Wt["\u0275nov"](n,70).ngClassPending),e(n,79,0,Wt["\u0275unv"](n,79,0,Wt["\u0275nov"](n,80).transform(t.volume))),e(n,95,0,Wt["\u0275nov"](n,101).ngClassUntouched,Wt["\u0275nov"](n,101).ngClassTouched,Wt["\u0275nov"](n,101).ngClassPristine,Wt["\u0275nov"](n,101).ngClassDirty,Wt["\u0275nov"](n,101).ngClassValid,Wt["\u0275nov"](n,101).ngClassInvalid,Wt["\u0275nov"](n,101).ngClassPending),e(n,110,0,t.speed)})}function On(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-audio-navigation",[],null,null,null,kn,Wu)),Wt["\u0275did"](1,4243456,null,0,Ul,[Wt.ChangeDetectorRef],null,null)],null,null)}function xn(e){return Wt["\u0275vid"](2,[Wt["\u0275qud"](402653184,1,{apview:0}),Wt["\u0275qud"](402653184,2,{graphicscanRef:0}),Wt["\u0275qud"](402653184,3,{overlaynacRef:0}),Wt["\u0275qud"](402653184,4,{playcanRef:0}),(e()(),Wt["\u0275eld"](4,0,null,null,16,"div",[["appAudioPlayer",""],["class","audioplayer"]],null,null,null,null,null)),Wt["\u0275did"](5,16384,[[1,4],["audioplay",4]],0,Hi,[Wt.ElementRef,Wt.Renderer],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](7,0,[[2,0],["ap_graphicscan",1]],null,0,"canvas",[["canvasDir",""],["class","ap-graphicscanvas"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,[[3,0],["ap_overlaycan",1]],null,0,"canvas",[["canvasDir",""],["class","ap-overlaycanvas"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](11,0,[[4,0],["ap_playcan",1]],null,0,"canvas",[["canvasDir",""],["class","ap-playcanvas"]],null,[[null,"mouseleave"],[null,"mouseenter"],[null,"mousedown"],[null,"mouseup"],[null,"click"],[null,"mousemove"]],function(e,n,t){var l=!0,i=e.component;if("mouseleave"===n){i.onMouseMove(t);l=!1!=(i.focused=!1)&&l}if("mouseenter"===n){l=!1!=(i.focused=!0)&&l}if("mousedown"===n){l=!1!==i.onClick(t)&&l}if("mouseup"===n){l=!1!==i.onClick(t)&&l}if("click"===n){l=!1!==i.onClick(t)&&l}if("mousemove"===n){l=!1!==i.onMouseMove(t)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](13,0,null,null,2,"div",[["class","ap-time-start-display"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](14,null,["",""])),Wt["\u0275pid"](0,or,[]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](17,0,null,null,2,"div",[["class","ap-time-end-display"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](18,null,["",""])),Wt["\u0275pid"](0,or,[]),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],null,function(e,n){var t=n.component;e(n,14,0,Wt["\u0275unv"](n,14,0,Wt["\u0275nov"](n,15).transform(t.audiochunk.playposition.unix))),e(n,18,0,Wt["\u0275unv"](n,18,0,Wt["\u0275nov"](n,19).transform(t.audiochunk.time.end.unix-t.audiochunk.playposition.unix)))})}function Cn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"app-audioplayer",[],null,[["window","resize"],["window","beforeunload"]],function(e,n,t){var l=!0;if("window:resize"===n){l=!1!==Wt["\u0275nov"](e,2).onResize(t)&&l}if("window:beforeunload"===n){l=!1!==Wt["\u0275nov"](e,2).onReload(t)&&l}return l},xn,$u)),Wt["\u0275prd"](512,null,$i,$i,[fi]),Wt["\u0275did"](2,4964352,null,0,Xi,[fi,$i,Wt.ChangeDetectorRef,vi],null,null)],function(e,n){e(n,2,0)},null)}function Pn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,6,"div",[["class","transcr-editor"]],null,[[null,"change"]],function(e,n,t){var l=!0,i=e.component;if("change"===n){l=!1!==i.updateTextField()&&l}return l},null,null)),Wt["\u0275did"](1,278528,null,0,go.NgStyle,[Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngStyle:[0,"ngStyle"]},null),Wt["\u0275pod"](2,{display:0}),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,1,"div",[["class","textfield"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){e(n,1,0,e(n,2,0,n.component.visible?"inherit":"none"))},null)}function jn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"app-transcr-editor",[],null,null,null,Pn,Qu)),Wt["\u0275prd"](4608,null,lr,lr,[]),Wt["\u0275did"](2,770048,null,0,ar,[Wt.ChangeDetectorRef,fo.a,Fi],null,null)],function(e,n){e(n,2,0)},null)}function Rn(e){return Wt["\u0275vid"](0,[Wt["\u0275qud"](402653184,1,{nav:0}),Wt["\u0275qud"](402653184,2,{audioplayer:0}),Wt["\u0275qud"](402653184,3,{editor:0}),(e()(),Wt["\u0275eld"](3,0,null,null,14,"app-audio-navigation",[],null,[[null,"volumechange"],[null,"aftervolumechange"],[null,"speedchange"],[null,"afterspeedchange"],[null,"buttonclick"],[null,"responsiveChange"]],function(e,n,t){var l=!0,i=e.component;if("volumechange"===n){l=!1!==i.onVolumeChange(t)&&l}if("aftervolumechange"===n){l=!1!==i.afterVolumeChange(t)&&l}if("speedchange"===n){l=!1!==i.onSpeedChange(t)&&l}if("afterspeedchange"===n){l=!1!==i.afterSpeedChange(t)&&l}if("buttonclick"===n){l=!1!==i.onButtonClick(t)&&l}if("responsiveChange"===n){l=!1!==(i.settingsService.responsive.enabled=t)&&l}return l},kn,Wu)),Wt["\u0275did"](4,4243456,[[1,4],["nav",4]],0,Ul,[Wt.ChangeDetectorRef],{audioplaying:[0,"audioplaying"],responsive:[1,"responsive"],easymode:[2,"easymode"],replay:[3,"replay"],buttons:[4,"buttons"]},{buttonclick:"buttonclick",volumechange:"volumechange",aftervolumechange:"aftervolumechange",speedchange:"speedchange",afterspeedchange:"afterspeedchange"}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pod"](6,{label:0,shortcut:1}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pod"](8,{label:0,shortcut:1}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pod"](10,{label:0,shortcut:1}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pod"](12,{label:0,shortcut:1}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pod"](14,{label:0,shortcut:1}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pod"](16,{label:0,shortcut:1}),Wt["\u0275pod"](17,{play:0,pause:1,stop:2,replay:3,backward:4,backwardtime:5}),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](19,0,null,null,2,"app-audioplayer",[],null,[[null,"shortcuttriggered"],["window","resize"],["window","beforeunload"]],function(e,n,t){var l=!0,i=e.component;if("window:resize"===n){l=!1!==Wt["\u0275nov"](e,21).onResize(t)&&l}if("window:beforeunload"===n){l=!1!==Wt["\u0275nov"](e,21).onReload(t)&&l}if("shortcuttriggered"===n){l=!1!==i.onShortcutTriggered(t)&&l}return l},xn,$u)),Wt["\u0275prd"](512,null,$i,$i,[fi]),Wt["\u0275did"](21,4964352,[[2,4],["audioplayer",4]],0,Xi,[fi,$i,Wt.ChangeDetectorRef,vi],{audiochunk:[0,"audiochunk"]},{shortcuttriggered:"shortcuttriggered"}),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](23,0,null,null,3,"app-transcr-editor",[],null,[[null,"typing"],[null,"marker_insert"],[null,"marker_click"],[null,"boundaryclicked"],[null,"boundaryinserted"],[null,"selectionchanged"]],function(e,n,t){var l=!0,i=e.component;if("typing"===n){l=!1!==i.afterTyping(t)&&l}if("marker_insert"===n){l=!1!==i.onMarkerInsert(t)&&l}if("marker_click"===n){l=!1!==i.onMarkerClick(t)&&l}if("boundaryclicked"===n){l=!1!==i.onBoundaryClicked(t)&&l}if("boundaryinserted"===n){l=!1!==i.onBoundaryInserted()&&l}if("selectionchanged"===n){l=!1!==i.onSelectionChanged(t)&&l}return l},Pn,Qu)),Wt["\u0275prd"](4608,null,lr,lr,[]),Wt["\u0275did"](25,770048,[[3,4],["transcr",4]],0,ar,[Wt.ChangeDetectorRef,fo.a,Fi],{markers:[0,"markers"],easymode:[1,"easymode"],audiochunk:[2,"audiochunk"]},{marker_insert:"marker_insert",marker_click:"marker_click",typing:"typing",boundaryclicked:"boundaryclicked",boundaryinserted:"boundaryinserted",selectionchanged:"selectionchanged"}),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){var t=n.component;e(n,4,0,t.audiomanager.audioplaying,t.settingsService.responsive.enabled,t.appStorage.easymode,t.audiomanager.replay,e(n,17,0,e(n,6,0,Wt["\u0275unv"](n,4,4,Wt["\u0275nov"](n,5).transform("general.play")),t.keyMap.getShortcut("AP","play_pause")),e(n,8,0,Wt["\u0275unv"](n,4,4,Wt["\u0275nov"](n,7).transform("general.pause")),t.keyMap.getShortcut("AP","play_pause")),e(n,10,0,Wt["\u0275unv"](n,4,4,Wt["\u0275nov"](n,9).transform("general.stop")),t.keyMap.getShortcut("AP","stop")),e(n,12,0,Wt["\u0275unv"](n,4,4,Wt["\u0275nov"](n,11).transform("general.replay")),""),e(n,14,0,Wt["\u0275unv"](n,4,4,Wt["\u0275nov"](n,13).transform("general.backward")),t.keyMap.getShortcut("AP","step_backward")),e(n,16,0,Wt["\u0275unv"](n,4,4,Wt["\u0275nov"](n,15).transform("general.backwardtime")),t.keyMap.getShortcut("overlay","step_backward")))),e(n,21,0,t.audiochunk),e(n,25,0,t.transcrService.guidelines.markers,t.appStorage.easymode,t.audiochunk)},null)}function Mn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-audioplayer-gui",[],null,null,null,Rn,Yu)),Wt["\u0275did"](1,4964352,null,0,wr,[fi,vi,Fi,Ci,Ri,Oi],null,null)],function(e,n){e(n,1,0)},null)}function Tn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,6,"div",[["class","placeholder"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,0,"span",[["class","fa fa-spinner fa-spin fa-3x fa-fw"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,1,"span",[["class","sr-only"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["Loading..."])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,null)}function Nn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,[["scrollbar",1]],null,5,"div",[["class","scrollbar"]],null,[[null,"mousemove"],[null,"mouseleave"],[null,"mouseout"],[null,"mouseup"],[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("mousemove"===n){Wt["\u0275nov"](e,0).mouseover=!0,i.scrollbarchange.emit({state:"mousemove"});l=!1!==i.onSliderChanged(t)&&l}if("mouseleave"===n){Wt["\u0275nov"](e,0).mouseover=!1,i.scrollbarchange.emit({state:"mouseleave"});l=!1!==i.onSliderChanged(t)&&l}if("mouseout"===n){l=!1!=(Wt["\u0275nov"](e,0).mouseover=!1)&&l}if("mouseup"===n){i.scrollbarchange.emit({state:"mouseup"});l=!1!==i.onSliderChanged(t)&&l}if("click"===n){l=!1!==i.onSliderChanged(t)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"div",[["class","slider"]],null,[[null,"mousedown"],[null,"mousemove"],[null,"mouseup"]],function(e,n,t){var l=!0,i=e.component;if("mousedown"===n){l=!1!==i.onSliderChanged(t)&&l}if("mousemove"===n){l=!1!==i.onSliderChanged(t)&&l}if("mouseup"===n){l=!1!==i.onSliderChanged(t)&&l}return l},null,null)),Wt["\u0275did"](3,278528,null,0,go.NgStyle,[Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngStyle:[0,"ngStyle"]},null),Wt["\u0275pod"](4,{"margin-top":0,height:1}),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,3,0,e(n,4,0,(t.height30?t.transcrServ.currentlevel.name.substr(0,30)+"...":t.transcrServ.currentlevel.name)})}function Mt(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,12,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](3,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](4,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](7,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](10,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){var t=n.component;e(n,4,0,Wt["\u0275unv"](n,4,0,Wt["\u0275nov"](n,5).transform("general.project"))),e(n,10,0,t.appStorage.user.project)})}function Tt(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,12,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](3,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](4,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](7,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](10,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){var t=n.component;e(n,4,0,Wt["\u0275unv"](n,4,0,Wt["\u0275nov"](n,5).transform("general.id"))),e(n,10,0,t.appStorage.data_id)})}function Nt(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,12,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](3,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](4,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](7,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](10,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){var t=n.component;e(n,4,0,Wt["\u0275unv"](n,4,0,Wt["\u0275nov"](n,5).transform("general.free jobs"))),e(n,10,0,t.appStorage.jobs_left)})}function It(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,93,"li",[["class","dropdown"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,1,"a",[["aria-expanded","false"],["class","dropdown"],["data-toggle","dropdown"],["href","#"],["role","button"]],null,null,null,null,null)),(e()(),Wt["\u0275eld"](3,0,null,null,0,"span",[["class","glyphicon glyphicon-info-sign navbar-icon"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](5,0,null,null,87,"div",[["class","dropdown-menu info-menu"]],null,null,null,null,null)),Wt["\u0275did"](6,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Wt["\u0275pod"](7,{collaps:0}),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,null,82,"table",[["class","table"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](11,0,null,null,80,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Mt)),Wt["\u0275did"](13,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](15,0,null,null,12,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](17,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](18,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](19,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](22,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](24,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](25,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](29,0,null,null,13,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](31,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](32,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](33,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](36,0,null,null,5,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](38,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](39,null,[""," (H:m:s)"])),Wt["\u0275pid"](0,uo,[]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](44,0,null,null,12,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](46,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](47,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](48,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](51,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](53,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](54,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](58,0,null,null,12,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](60,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](61,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](62,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](65,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](67,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](68,null,[""," Bit/s"])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](72,0,null,null,12,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](74,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](75,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](76,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](79,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](81,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](82,null,[""," ",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Tt)),Wt["\u0275did"](87,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Nt)),Wt["\u0275did"](90,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,6,0,"dropdown-menu info-menu",e(n,7,0,t.collapsed)),e(n,13,0,!t.appStorage.uselocalmode),e(n,87,0,!t.appStorage.uselocalmode),e(n,90,0,!t.appStorage.uselocalmode)},function(e,n){var t=n.component;e(n,19,0,Wt["\u0275unv"](n,19,0,Wt["\u0275nov"](n,20).transform("general.name"))),e(n,25,0,t.navbarServ.exportformats.filename),e(n,33,0,Wt["\u0275unv"](n,33,0,Wt["\u0275nov"](n,34).transform("general.duration"))),e(n,39,0,Wt["\u0275unv"](n,39,0,Wt["\u0275nov"](n,40).transform(t.navbarServ.exportformats.duration))),e(n,48,0,Wt["\u0275unv"](n,48,0,Wt["\u0275nov"](n,49).transform("general.samplerate"))),e(n,54,0,t.navbarServ.exportformats.samplerate),e(n,62,0,Wt["\u0275unv"](n,62,0,Wt["\u0275nov"](n,63).transform("general.bitspersecond"))),e(n,68,0,t.navbarServ.exportformats.bitrate),e(n,76,0,Wt["\u0275unv"](n,76,0,Wt["\u0275nov"](n,77).transform("general.filesize"))),e(n,82,0,t.navbarServ.exportformats.filesize.size,t.navbarServ.exportformats.filesize.label)})}function Et(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,10,"li",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,7,"a",[],null,[[null,"mouseup"]],function(e,n,t){var l=!0;if("mouseup"===n){l=!1!==Wt["\u0275nov"](e.parent,4).open()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,0,"span",[["class","glyphicon glyphicon-download navbar-icon"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,2,"span",[["class","hidden-sm hidden-md"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){e(n,7,0,Wt["\u0275unv"](n,7,0,Wt["\u0275nov"](n,8).transform("general.export")))})}function At(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,6,"li",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,3,"a",[],null,[[null,"mouseup"]],function(e,n,t){var l=!0,i=e.component;if("mouseup"===n){l=!1!==i.openBugReport()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,0,"span",[["class","glyphicon glyphicon-exclamation-sign navbar-icon"],["style","color:#fcffba"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,null)}function Dt(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,5,"li",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"a",[],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.changeLanguage(e.context.$implicit)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275ppd"](4,1),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){e(n,3,0,Wt["\u0275unv"](n,3,0,e(n,4,0,Wt["\u0275nov"](n.parent,1),n.context.$implicit)))})}function Lt(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,20,"div",[["class","panel"],["id","subnav"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,17,"div",[["class","row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,0,"div",[["class","col-sm-2"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,2,"div",[["class","col-xs-4 col-sm-3"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,["",": ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,2,"div",[["class","col-xs-4 col-sm-3"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](11,null,["",":\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](14,0,null,null,2,"div",[["class","col-xs-4 col-sm-3"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](15,null,["",":\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](18,0,null,null,0,"div",[["class","col-sm-2"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],null,function(e,n){var t=n.component;e(n,7,0,Wt["\u0275unv"](n,7,0,Wt["\u0275nov"](n,8).transform("general.project")),t.appStorage.user.project),e(n,11,0,Wt["\u0275unv"](n,11,0,Wt["\u0275nov"](n,12).transform("general.name")),t.navbarServ.exportformats.filename),e(n,15,0,Wt["\u0275unv"](n,15,0,Wt["\u0275nov"](n,16).transform("general.free jobs")),t.appStorage.jobs_left)})}function Ut(e){return Wt["\u0275vid"](0,[Wt["\u0275pid"](0,go.DatePipe,[Wt.LOCALE_ID]),Wt["\u0275pid"](0,go.UpperCasePipe,[]),Wt["\u0275qud"](402653184,1,{modalexport:0}),(e()(),Wt["\u0275eld"](3,0,null,null,70,"modal",[["class","modal"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,au.b,au.a)),Wt["\u0275did"](4,180224,[[1,4],["modalexport",4]],0,su.ModalComponent,[Wt.ElementRef],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,0,6,"modal-header",[],null,null,null,cu.b,cu.a)),Wt["\u0275did"](7,49152,null,0,du.ModalHeaderComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,0,2,"h4",[["class","modal-title"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](10,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](14,0,null,0,50,"modal-body",[["id","export-table"]],null,null,null,lu.b,lu.a)),Wt["\u0275did"](15,49152,null,0,iu.ModalBodyComponent,[],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](17,0,null,0,25,"table",[["class","table table-striped table-responsive"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](19,0,null,null,16,"thead",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](21,0,null,null,13,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](23,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](24,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](27,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](28,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](31,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](32,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](37,0,null,null,4,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,mt)),Wt["\u0275did"](40,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,vt)),Wt["\u0275did"](45,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,bt)),Wt["\u0275did"](48,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,yt)),Wt["\u0275did"](51,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275eld"](52,0,null,0,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](54,0,null,0,2,"a",[],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.getProtocol()&&l}return l},null,null)),(e()(),Wt["\u0275eld"](55,0,null,null,0,"span",[["class","glyphicon glyphicon-list"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,[" Protocol"])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,_t)),Wt["\u0275did"](59,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,wt)),Wt["\u0275did"](62,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275eld"](63,0,null,0,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](66,0,null,0,6,"modal-footer",[],null,null,null,pu.b,pu.a)),Wt["\u0275did"](67,49152,null,0,hu.ModalFooterComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](69,0,null,0,2,"button",[["class","btn btn-primary"],["data-dismiss","modal"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,4).dismiss()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](70,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](75,0,null,null,24,"modal",[["class","modal"],["id","modalstatis"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,au.b,au.a)),Wt["\u0275did"](76,180224,[["modalstatistics",4]],0,su.ModalComponent,[Wt.ElementRef],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](78,0,null,0,5,"modal-header",[],null,null,null,cu.b,cu.a)),Wt["\u0275did"](79,49152,null,0,du.ModalHeaderComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](81,0,null,0,1,"h4",[["class","modal-title"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["Statistics"])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](85,0,null,0,5,"modal-body",[],null,null,null,lu.b,lu.a)),Wt["\u0275did"](86,49152,null,0,iu.ModalBodyComponent,[],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,kt)),Wt["\u0275did"](89,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](92,0,null,0,6,"modal-footer",[],null,null,null,pu.b,pu.a)),Wt["\u0275did"](93,49152,null,0,hu.ModalFooterComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](95,0,null,0,2,"button",[["class","btn btn-primary"],["data-dismiss","modal"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,76).dismiss()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](96,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](101,0,null,null,161,"nav",[["class","navbar navbar-inverse"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](103,0,null,null,158,"div",[["class","container"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](105,0,null,null,18,"div",[["class","navbar-header"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](107,0,null,null,10,"button",[["aria-controls","navbar"],["class","navbar-toggle"],["data-target","#navbar"],["data-toggle","collapse"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!=(i.collapsed=!i.collapsed)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](109,0,null,null,1,"span",[["class","sr-only"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["Toggle navigation"])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](112,0,null,null,0,"span",[["class","icon-bar"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](114,0,null,null,0,"span",[["class","icon-bar"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](116,0,null,null,0,"span",[["class","icon-bar"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](119,0,null,null,3,"a",[["class","navbar-brand"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,120).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&l}return l},null,null)),Wt["\u0275did"](120,671744,null,0,hr.m,[hr.k,hr.a,go.LocationStrategy],{routerLink:[0,"routerLink"]},null),Wt["\u0275pad"](121,1),(e()(),Wt["\u0275ted"](122,null,["OCTRA v",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](125,0,null,null,135,"div",[["class","collapse navbar-collapse"],["id","navbar"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ot)),Wt["\u0275did"](128,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275eld"](130,0,null,null,7,"ul",[["class","nav navbar-nav"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ct)),Wt["\u0275did"](133,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Pt)),Wt["\u0275did"](136,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275eld"](139,0,null,null,120,"ul",[["class","nav navbar-nav navbar-right"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Rt)),Wt["\u0275did"](142,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,It)),Wt["\u0275did"](145,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Et)),Wt["\u0275did"](148,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](150,0,null,null,91,"li",[["class","dropdown"]],null,null,null,null,null)),Wt["\u0275did"](151,278528,null,0,go.NgStyle,[Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngStyle:[0,"ngStyle"]},null),Wt["\u0275pod"](152,{display:0}),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](154,0,null,null,1,"a",[["aria-expanded","false"],["class","dropdown"],["data-toggle","dropdown"],["href","#"],["role","button"]],null,null,null,null,null)),(e()(),Wt["\u0275eld"](155,0,null,null,0,"span",[["class","glyphicon glyphicon-cog navbar-icon"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](157,0,null,null,83,"div",[["class","dropdown-menu options-menu"]],null,null,null,null,null)),Wt["\u0275did"](158,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Wt["\u0275pod"](159,{collaps:0}),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](161,0,null,null,78,"table",[["class","table"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](163,0,null,null,76,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](164,0,null,null,17,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](166,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](167,0,null,null,2,"label",[["for","easymode"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](168,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](171,0,null,null,9,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](173,0,null,null,6,"div",[["class","togglebutton"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](175,0,null,null,3,"label",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](177,0,null,null,0,"input",[["id","easymode"],["type","checkbox"]],[[8,"checked",0]],[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.toggleSettings("easymode")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](183,0,null,null,17,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](185,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](186,0,null,null,2,"label",[["for","playonhover"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](187,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](190,0,null,null,9,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](192,0,null,null,6,"div",[["class","togglebutton"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](194,0,null,null,3,"label",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](196,0,null,null,0,"input",[["id","playonhover"],["type","checkbox"]],[[8,"checked",0]],[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.toggleSettings("playonhover")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](202,0,null,null,17,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](204,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](205,0,null,null,2,"label",[["for","playonhover"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](206,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](209,0,null,null,9,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](211,0,null,null,6,"div",[["class","togglebutton"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](213,0,null,null,3,"label",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](215,0,null,null,0,"input",[["id","followplaycursor"],["type","checkbox"]],[[8,"checked",0]],[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.toggleSettings("followplaycursor")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](221,0,null,null,17,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](223,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](224,0,null,null,2,"label",[["for","playonhover"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](225,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](228,0,null,null,9,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](230,0,null,null,6,"div",[["class","togglebutton"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](232,0,null,null,3,"label",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](234,0,null,null,0,"input",[["id","logging"],["type","checkbox"]],[[8,"checked",0],[8,"disabled",0]],[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.toggleSettings("logging")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,At)),Wt["\u0275did"](244,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](246,0,null,null,12,"li",[["class","dropdown"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](248,0,null,null,3,"a",[["aria-expanded","false"],["aria-haspopup","true"],["class","dropdown-toggle"],["data-toggle","dropdown"],["href","#"],["role","button"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](249,null,[""," "])),Wt["\u0275ppd"](250,1),(e()(),Wt["\u0275eld"](251,0,null,null,0,"b",[["class","caret"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](253,0,null,null,4,"ul",[["class","dropdown-menu"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Dt)),Wt["\u0275did"](256,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Lt)),Wt["\u0275did"](265,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,n){var t=n.component;e(n,40,0,t.converters),e(n,45,0,t.arraybufferExists),e(n,48,0,"Audio"===t.preparing.name&&t.preparing.preparing),e(n,51,0,"Audio"===t.preparing.name&&!t.preparing.preparing),e(n,59,0,"Protocol"===t.preparing.name&&t.preparing.preparing),e(n,62,0,"Protocol"===t.preparing.name&&!t.preparing.preparing),e(n,89,0,Wt["\u0275nov"](n,76).visible),e(n,120,0,e(n,121,0,"/")),e(n,128,0,!t.appStorage.LoggedIn),e(n,133,0,t.editors),e(n,136,0,t.appStorage.LoggedIn&&t.navbarServ.show_interfaces&&t.settService.app_settings.octra.showdetails),e(n,142,0,void 0!==t.transcrServ),e(n,145,0,t.appStorage.LoggedIn&&t.navbarServ.dataloaded),e(n,148,0,t.appStorage.LoggedIn&&t.navbarServ.show_export),e(n,151,0,e(n,152,0,t.navbarServ.dataloaded&&t.appStorage.LoggedIn?"inherit":"none"));e(n,158,0,"dropdown-menu options-menu",e(n,159,0,t.collapsed)),e(n,244,0,void 0!==t.settService.app_settings&&void 0!==t.settService.app_settings.octra.bugreport&&t.settService.app_settings.octra.bugreport.enabled),e(n,256,0,t.langService.getLangs()),e(n,265,0,t.appStorage.LoggedIn&&!t.appStorage.uselocalmode&&t.navbarServ.dataloaded)},function(e,n){var t=n.component;e(n,3,0,Wt["\u0275nov"](n,4).fadeClass,Wt["\u0275nov"](n,4).dataKeyboardAttr,Wt["\u0275nov"](n,4).dataBackdropAttr),e(n,10,0,Wt["\u0275unv"](n,10,0,Wt["\u0275nov"](n,11).transform("general.export data"))),e(n,24,0,Wt["\u0275unv"](n,24,0,Wt["\u0275nov"](n,25).transform("general.download"))),e(n,28,0,Wt["\u0275unv"](n,28,0,Wt["\u0275nov"](n,29).transform("general.application"))),e(n,32,0,Wt["\u0275unv"](n,32,0,Wt["\u0275nov"](n,33).transform("general.website"))),e(n,70,0,Wt["\u0275unv"](n,70,0,Wt["\u0275nov"](n,71).transform("general.close"))),e(n,75,0,Wt["\u0275nov"](n,76).fadeClass,Wt["\u0275nov"](n,76).dataKeyboardAttr,Wt["\u0275nov"](n,76).dataBackdropAttr),e(n,96,0,Wt["\u0275unv"](n,96,0,Wt["\u0275nov"](n,97).transform("general.close"))),e(n,119,0,Wt["\u0275nov"](n,120).target,Wt["\u0275nov"](n,120).href),e(n,122,0,t.version),e(n,168,0,Wt["\u0275unv"](n,168,0,Wt["\u0275nov"](n,169).transform("settings.easy mode"))),e(n,177,0,t.appStorage.easymode),e(n,187,0,Wt["\u0275unv"](n,187,0,Wt["\u0275nov"](n,188).transform("settings.play on hover"))),e(n,196,0,t.appStorage.playonhover),e(n,206,0,Wt["\u0275unv"](n,206,0,Wt["\u0275nov"](n,207).transform("settings.follow playcursor"))),e(n,215,0,t.appStorage.followplaycursor),e(n,225,0,Wt["\u0275unv"](n,225,0,Wt["\u0275nov"](n,226).transform("settings.logging"))),e(n,234,0,t.appStorage.logging,!t.appStorage.uselocalmode),e(n,249,0,Wt["\u0275unv"](n,249,0,e(n,250,0,Wt["\u0275nov"](n,1),t.langService.currentLang)))})}function zt(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-navigation",[],null,null,null,Ut,Pa)),Wt["\u0275did"](1,4440064,null,0,Or,[Oi,Pi,Kt.c,fo.a,mi,Ri],null,null)],function(e,n){e(n,1,0)},null)}function Ft(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"div",[["id","beta_mark"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["In Developement"]))],null,null)}function Bt(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-octra-modal",[],null,null,null,st,Oa)),Wt["\u0275did"](1,245760,null,0,pr,[mi,dr,Fl,Oi,Ri],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](3,0,null,null,4,"header",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](5,0,null,null,1,"app-navigation",[],null,null,null,Ut,Pa)),Wt["\u0275did"](6,4440064,null,0,Or,[Oi,Pi,Kt.c,fo.a,mi,Ri],{version:[0,"version"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](9,0,null,null,11,"main",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ft)),Wt["\u0275did"](12,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](15,0,null,null,4,"div",[["class","container flex"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](17,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),Wt["\u0275did"](18,212992,null,0,hr.o,[hr.b,Wt.ViewContainerRef,Wt.ComponentFactoryResolver,[8,null],Wt.ChangeDetectorRef],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){var t=n.component;e(n,1,0),e(n,6,0,t.version),e(n,12,0,t.environment.dev_version),e(n,18,0)},null)}function Vt(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-octra",[],null,null,null,Bt,Ra)),Wt["\u0275did"](1,180224,null,0,Zr,[Fl,fo.a,Oi,Ri,dr],null,null)],null,null)}Object.defineProperty(n,"__esModule",{value:!0});var Wt=t("/oeL"),qt={production:!0,dev_version:!1},Kt=t("fc+i"),$t=t("bm2B"),Xt=t("CPp0"),Ht=t("9Qcf"),Qt=t("GWzR"),Gt=t("thi6"),Yt=(function(){function e(e,n,t,l,i,r,o,u,a,s,c){this._id=e,this._annotator=n,this._annobegin=t,this._annoend=l,this._url=i,this._segmentbegin=r,this._segmentend=o,this._priority=u,this._status=a,this._project=s,this._jobno=c}Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"annotator",{get:function(){return this._annotator},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"annobegin",{get:function(){return this._annobegin},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"annoend",{get:function(){return this._annoend},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._url},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"segmentbegin",{get:function(){return this._segmentbegin},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"segmentend",{get:function(){return this._segmentend},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"priority",{get:function(){return this._priority},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"status",{get:function(){return this._status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"project",{get:function(){return this._project},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"jobno",{get:function(){return this._jobno},enumerable:!0,configurable:!0})}(),function(){function e(e,n,t,l){this.systemstate=e,this.type=n,this.data=t,this.message=l}}(),t("N+n4")),Jt=function(){function e(e,n){if(this._samples=e,this._sample_rate=n,this._sample_rate<=0)throw new Error("sample_rate must be bigger than 0")}return e.fromSeconds=function(n,t){return new e(n*t,t)},e.fromMiliSeconds=function(n,t){return new e(n/1e3*t,t)},e.add=function(n,t){if(n._sample_rate===t._sample_rate)return new e(n.samples+t.samples,n._sample_rate);throw new Error("Two AudioTime Objects of different sample_rates can not be added.")},e.sub=function(n,t){if(n._sample_rate===t._sample_rate)return new e(n.samples-t.samples,n._sample_rate);throw new Error("Two AudioTime Objects of different sample_rates can not be added.")},e.fromSamples=function(n,t){return!Object(Yt.isNullOrUndefined)(n)&&!Object(Yt.isNullOrUndefined)(t)&&Number.isInteger(n)&&n>-1?new e(n,t):null},Object.defineProperty(e.prototype,"sample_rate",{set:function(e){this._sample_rate=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"samples",{get:function(){return this._samples},set:function(e){this._samples=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"unix",{get:function(){return Math.floor(1e3*this.samples/this._sample_rate)},set:function(e){this._samples=Math.round(e/1e3*this._sample_rate)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"seconds",{get:function(){return this.samples/this._sample_rate},set:function(e){this.samples=e*this._sample_rate},enumerable:!0,configurable:!0}),e.prototype.clone=function(){return new e(this.samples,this._sample_rate)},e.prototype.toString=function(){return"Samples: "+this.samples},e.prototype.toAny=function(){return{samples:this._samples,sample_rate:this._sample_rate}},e}(),Zt=function(){function e(e,n,t){this.samplerate=e,this._duration=n,this.audio_px_width=t,(null===this.audio_px_width||this.audio_px_width<1)&&console.error("audio px null")}return e.roundSamples=function(e){return Math.round(e)},Object.defineProperty(e.prototype,"duration",{set:function(e){this._duration=e},enumerable:!0,configurable:!0}),e.prototype.samplestoAbsX=function(e,n){var t=n||this._duration;if(0===t.samples)throw new Error("time duration must have samples greater 0");return e/t.samples*this.audio_px_width},e.prototype.absXChunktoSamples=function(n,t){var l=t.time.start?t.time.start.samples:1,i=t.time.end.samples-l;if(n>=0&&n<=this.audio_px_width){var r=n/this.audio_px_width;return e.roundSamples(i*r+t.time.start.samples)}return-1},e.prototype.absXtoSamples2=function(n,t){var l=t.time.start?t.time.start.samples:1,i=t.time.end.samples-l;if(n>=0&&n<=this.audio_px_width){var r=n/this.audio_px_width;return e.roundSamples(i*r)}return-1},e.prototype.samplesToSeconds=function(e){return this.samplerate>0&&e>-1?e/this.samplerate:0},e.prototype.secondsToSamples=function(n){return this.samplerate>0&&n>-1?e.roundSamples(n*this.samplerate):0},e}(),el=function(){function e(e,n,t,l){this._relPos={x:0,y:0},this._absX=0,this._line=null,l&&(this._timepos=l.clone()),this._relPos.x=e,this._relPos.y=n,this._absX=t}return Object.defineProperty(e.prototype,"timePos",{get:function(){return this._timepos},set:function(e){this._timepos=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relPos",{get:function(){return this._relPos},set:function(e){this._relPos=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"absX",{get:function(){return this._absX},set:function(e){this._absX=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"line",{get:function(){return this._line},set:function(e){this._line=e},enumerable:!0,configurable:!0}),e}(),nl=function(){function e(){}return Object.defineProperty(e,"platform",{get:function(){return platform.os.family&&"OS X"===platform.os.family?"mac":"pc"},enumerable:!0,configurable:!0}),e}();nl.browser=platform.name,nl.version=platform.version,nl.os=platform.os;var tl,ll=function(){function e(e){this.interval=e,this.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(n){window.setTimeout(n,e/60),console.warn("Browser does not support requestAnimation. Drawing set manual to "+e+" per second")}}return e.prototype.requestFrame=function(e){this.requestAnimationFrame(e)},e}(),il=function(){function e(e,n){this.start=e.clone(),this.end=n.clone()}return Object.defineProperty(e.prototype,"start",{get:function(){return this._start},set:function(e){this._start=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._end},set:function(e){this._end=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._start&&this._end&&this._start.samples>this._end.samples?Math.abs(this._start.samples-this._end.samples):Math.abs(this._end.samples-this._start.samples)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"duration",{get:function(){var e=this.start.clone();return e.samples=this.length,e},enumerable:!0,configurable:!0}),e.prototype.clone=function(){return new e(this._start,this._end)},e.prototype.checkSelection=function(){if(this._start&&this._end&&this._start.samples>this._end.samples){var e=this._start.samples;this._start.samples=this._end.samples,this._end.samples=e}},e}();!function(e){e[e.URL=0]="URL",e[e.FILE=1]="FILE",e[e.ArrayBuffer=2]="ArrayBuffer"}(tl||(tl={}));var rl;!function(e){e[e.PREPARE=0]="PREPARE",e[e.INITIALIZED=1]="INITIALIZED",e[e.STARTED=2]="STARTED",e[e.PLAYING=3]="PLAYING",e[e.PAUSED=4]="PAUSED",e[e.STOPPED=5]="STOPPED",e[e.ENDED=6]="ENDED"}(rl||(rl={}));var ol=function(){function e(){this.subscriptions=[],this.counter=0}return e.prototype.add=function(e){return this.subscriptions.push({id:++this.counter,subscription:e}),this.counter},e.prototype.destroy=function(){if(!Object(Yt.isNullOrUndefined)(this.subscriptions)){for(var e=0;e0&&(this._speed=e,this._audiomanger.source.playbackRate.value=e,this._audiomanger.endplaying=this._audiomanger.endplaying*this._speed)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"volume",{get:function(){return this._volume},set:function(e){this._volume=e,this._audiomanger.gainNode.gain.value=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"time",{get:function(){return this._time},set:function(e){this._time=e},enumerable:!0,configurable:!0}),e.prototype.getChannelBuffer=function(e){if(!Object(Yt.isNullOrUndefined)(e)&&(Object(Yt.isNullOrUndefined)(this._channel)||0===this._channel.length)){var n=void 0;return n=Object(Yt.isNullOrUndefined)(this._audiomanger.mainchunk)||0===this._audiomanger.mainchunk.channel.length?new Float32Array(this._audiomanger.ressource.audiobuffer.getChannelData(0)):new Float32Array(this._audiomanger.mainchunk.channel),n=n.subarray(e.start.samples,e.end.samples)}return null},e.prototype.startPlayback=function(e,n){var t=this;if(void 0===n&&(n=!1),Object(Yt.isNullOrUndefined)(this._selection)&&(this.selection=new il(this.time.start.clone(),this.time.end.clone())),this._selection.start.samples===this._selection.end.samples&&(this.startpos=this._selection.start.clone()),!this._audiomanger.audioplaying){this._state=rl.STARTED,this._lastplayedpos=this.playposition.clone(),this.audiomanager.playposition=this._lastplayedpos.samples,this.setState(rl.PLAYING);var l=this.subscrmanager.add(this.audiomanager.statechange.subscribe(function(e){t.checkState(e),t.setState(e),e!==rl.STOPPED&&e!==rl.PAUSED&&e!==rl.ENDED||t.subscrmanager.remove(l)},function(e){console.error(e)}));return this._audiomanger.startPlayback(this.selection.start,this.selection.duration,this._volume,this._speed,e,n)}return!1},e.prototype.stopPlayback=function(){var e=this._audiomanger.stopPlayback();return this.startpos=this.time.start.clone(),e||this.setState(rl.STOPPED),!0},e.prototype.pausePlayback=function(){return this.audiomanager.pausePlayback()},e.prototype.rePlayback=function(){return this._audiomanger.rePlayback()},e.prototype.stepBackward=function(){if(!Object(Yt.isNullOrUndefined)(this.lastplayedpos)){this.startpos=this.lastplayedpos.clone();var e=this.audiomanager.stepBackward();return e||(this.audiomanager.stepbackward=!0,this.setState(rl.STOPPED)),e}return console.error("lastplayedpos is null"),!1},e.prototype.stepBackwardTime=function(e){var n=Math.max(0,this.playposition.samples-Math.round(e*this.audiomanager.ressource.info.samplerate));this.startpos=new Jt(n,this.audiomanager.ressource.info.samplerate);var t=this.audiomanager.stepBackwardTime(n);return t||(this.audiomanager.stepbackward=!0,this.setState(rl.STOPPED)),t},e.prototype.setState=function(e){this._state===e&&e!==rl.STOPPED||(this._state=e,this.statechange.emit(e))},e.prototype.afterPlaybackStopped=function(){this.startpos=this.time.start.clone(),this.audiomanager.replay=!1},e.prototype.afterPlaybackPaused=function(){this.startpos=this.playposition.clone()},e.prototype.afterPlaybackEnded=function(){this.selection.end.samples===this.time.end.samples&&(this.startpos=this.time.start.clone())},e.prototype.checkState=function(e){switch(e){case rl.STOPPED:this.audiomanager.stepbackward||this.afterPlaybackStopped();break;case rl.PAUSED:this.afterPlaybackPaused();break;case rl.ENDED:this.afterPlaybackEnded()}},Object.defineProperty(e.prototype,"isPlaybackEnded",{get:function(){return this._state===rl.ENDED},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isPlaybackStarted",{get:function(){return this._state===rl.STARTED},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isPlaying",{get:function(){return this._state===rl.PLAYING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isPlayBackStopped",{get:function(){return this._state===rl.STOPPED},enumerable:!0,configurable:!0}),e.prototype.clone=function(){return new e(this.time.clone(),this.audiomanager,this.selection)},e.prototype.destroy=function(){this.subscrmanager.destroy()},e}();ul.counter=0;var al=function(){function e(){}return e.scrollTo=function(e,n){setTimeout(function(){Object(Yt.isNullOrUndefined)(n)?jQuery("html, body").scrollTop(e):jQuery(n).scrollTop(e)},200)},e.buildStr=function(e,n){var t=e,l=/({[0-9]+})+/g;if(t.match(l).length!==n.length)throw new Error("buildStr: number of placeholders do not match with array");for(var i=0;i/g,">").replace(/"/g,""").replace(/'/g,"'")},e.unEscapeHtml=function(e){return e.replace("&","&").replace("<","<").replace(">",">").replace(""",'"').replace("'","'")},e.insertString=function(e,n,t){var l=e;if(!(n<=e.length))throw new Error("String cannot be inserted at position "+n);return l=l.substring(0,n)+t+l.substring(n)},e.uniqueHTTPRequest=function(e,n,t,l,i){if(void 0===n&&(n=!1),n)return e.post(l,i,t);var r=new Xt.m,o=Date.now();r.set("v",o.toString());var u=new Xt.j;return u.params=r,e.get(l,u)},e.setCursor=function(e,n){if(!(e="string"==typeof e||e instanceof String?document.getElementById(""+e):e))return!1;if(e.createTextRange){var t=e.createTextRange();return t.collapse(!0),t.moveEnd(n),t.moveStart(n),t.select(),!0}return!!e.setSelectionRange&&(e.setSelectionRange(n,n),!0)},e.base64ToArrayBuffer=function(e){for(var n=window.atob(e),t=n.length,l=new Uint8Array(t),i=0;ithis.pos.x&&ethis.pos.y&&n0?this._absX%this._innerWidth:0},enumerable:!0,configurable:!0}),e.prototype.changeAbsX=function(e,n,t,l){this._absX=Math.max(0,Math.min(e,t)),this._time_pos.samples=n.absXChunktoSamples(e,l)},e.prototype.changeSamples=function(e,n,t){this._time_pos.samples=e;var l=!Object(Yt.isNullOrUndefined)(t)&&t.time.start.samples-1&&(this.name=e.substr(0,e.lastIndexOf("."))),Object(Yt.isNullOrUndefined)(t)||(this.levels=t),Object(Yt.isNullOrUndefined)(l)||(this.links=l)}return e}(),wl=function(){function e(){}return e}(),Sl=function(){function e(e,n,t){this.name="",this.type="",this.name=e,this.type=n,this.items=[],Object(Yt.isNullOrUndefined)(t)||(this.items=t)}return e}(),kl=function(){function e(e,n){this.id=0,this.id=e,this.labels=[],Object(Yt.isNullOrUndefined)(n)||(this.labels=n)}return e}(),Ol=function(e){function n(n,t,l,i){var r=e.call(this,n,i)||this;return r.sampleStart=0,r.sampleDur=0,r.sampleStart=t,r.sampleDur=l,r}return yl(n,e),n}(kl),xl=function(e){function n(n,t,l){var i=e.call(this,n,l)||this;return i.samplePoint=t,i}return yl(n,e),n}(kl),Cl=function(){function e(e,n){this.name="",this.value="",this.name=e,this.value=n}return e}();!function(){function e(e,n){this.fromID=e,this.toID=n}}();!function(e){e[e.ITEM=0]="ITEM",e[e.EVENT=1]="EVENT",e[e.SEGMENT=2]="SEGMENT"}(cl||(cl={}));var Pl=function(){function e(e,n,t){if(this.sample_rate=e,this.onsegmentchange=new Wt.EventEmitter,this._segments=[],null!==n){0===n.length&&this._segments.push(new bl(new Jt(t,e)));for(var l=0;l-1&&e-1&&this._segments[e]){var t={samples:this._segments[e].time.samples,transcript:this._segments[e].transcript};if(this._segments[e].time.samples=n.time.samples,this._segments[e].transcript=n.transcript,t.samples!==n.time.samples||t.transcript!==n.transcript)return this.onsegmentchange.emit(),!0}return!1},e.prototype.sort=function(){this.segments.sort(function(e,n){return e.time.samplesn.time.samples?1:void 0}),this.onsegmentchange.emit()},e.prototype.get=function(e){return e>-1&&e0&&(n=this._segments[t-1].time.samples),e>n&&e<=this._segments[t].time.samples)return t;return-1},e.prototype.getSegmentsOfRange=function(e,n){for(var t=[],l=0,i=0;i=e&&r.time.samples<=n||l>=e&&l<=n||l<=e&&r.time.samples>=n)&&t.push(r),l=r.time.samples}return t},e.prototype.getStartTime=function(e){var n=this.get(e),t=0;if(n)for(var l=0;l0){var t=this.segments[n-1];t.time.samples===this.segments[n].time.samples&&e.push(n)}for(var n=0;n=n&&e<=this.segments[t].time.samples)return this.segments[t];n=this.segments[t].time.samples}return null},e.prototype.clear=function(){this._segments=[]},e.prototype.getObj=function(e){for(var n=[],t=0,l=0;l active",Object(Tl.e)("300ms ease-in")),Object(Tl.i)("active => inactive",Object(Tl.e)("300ms ease-in"))]),function(){function e(){this._conversion={import:!1,export:!1},this._application="",this._name="",this._extension="",this._encoding="",this._website={title:"",url:""},this._showauthors=!1}return Object.defineProperty(e.prototype,"encoding",{get:function(){return this._encoding},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extension",{get:function(){return this._extension},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"website",{get:function(){return this._website},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"conversion",{get:function(){return this._conversion},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showauthors",{get:function(){return this._showauthors},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"application",{get:function(){return this._application},enumerable:!0,configurable:!0}),e}()),Il=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])};return function(n,t){function l(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}}(),El=function(e){function n(){var n=e.call(this)||this;return n._application="Emu-WebApp",n._name="AnnotJSON",n._website.title="Emu-WebApp",n._website.url="http://ips-lmu.github.io/EMU-webApp/",n._extension="_annot.json",n._conversion.export=!0,n._conversion.import=!0,n}return Il(n,e),n.prototype.export=function(e,n){return Object(Yt.isNullOrUndefined)(e)?null:{file:{name:e.name+this._extension,content:JSON.stringify(e,null,2),encoding:"UTF-8",type:"application/json"}}},n.prototype.import=function(e,n){if(null!==n&&void 0!==n){var t=new _l(n.name,n.samplerate),l=e.content;if(""!==l&&(t=JSON.parse(l),t.annotates===n.name))return{annotjson:t,audiofile:null}}return null},n}(Nl),Al=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])};return function(n,t){function l(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}}(),Dl=function(e){function n(){var n=e.call(this)||this;return n._application="Text Editor",n._name="Plain Text",n._extension=".txt",n._website.title="WebMaus",n._website.url="https://clarin.phonetik.uni-muenchen.de/BASWebServices/#/services/WebMAUSBasic",n._conversion.export=!0,n._conversion.import=!0,n._encoding="UTF-8",n}return Al(n,e),n.prototype.export=function(e,n){var t="",l="";if(!Object(Yt.isNullOrUndefined)(e)){for(var i=0;i0&&null!==o){var a={querytype:"continueannotation",transcript:JSON.stringify(e),project:n,annotator:t,comment:r,jobno:l,status:"BUSY",quality:JSON.stringify(o),id:i,log:u};return this.post(a)}throw new Error("saveSession - validation false")},e.prototype.unlockSession=function(e,n){if(""!==e){var t={querytype:"continueannotation",transcript:"",project:e,annotator:"",comment:"",status:"FREE",quality:"",id:n,log:[]};return this.post(t)}throw new Error("unlockSession - validation false")},e.prototype.saveSession=function(e,n,t,l,i,r,o,u,a){if(""!==n&&e.length>0&&null!==u){var s={querytype:"continueannotation",transcript:JSON.stringify(e),project:n,annotator:t,comment:o,jobno:l,status:r,quality:JSON.stringify(u),id:i,log:a};return this.post(s)}throw new Error("saveSession - validation false")},e.prototype.closeSession=function(e,n,t){if(t=t||"",null!==e&&""!==e&&null!==n&&n>-1){var l={querytype:"endannotation",annotator:e,comment:t,id:n};return this.post(l)}throw new Error("closeSession - validation false")},e.prototype.getAudioURL=function(e,n){if(null!==e&&""!==e&&null!==n&&""!==n)return e=this.sanitizer.sanitize(Wt.SecurityContext.URL,e),n=this.sanitizer.sanitize(Wt.SecurityContext.URL,n),this.server_url+"?dir="+e+"&src="+n;throw new Error("getAudioBuffer - validation false")},e.prototype.getProjects=function(){var e={querytype:"listprojects"};return this.post(e)},e.prototype.post=function(e){var n=JSON.stringify(e);return this.http.post(this.server_url,n)},e.prototype.init=function(e){var n=this.sanitizer.sanitize(Wt.SecurityContext.URL,e);this.server_url=n},e.prototype.sendBugReport=function(e,n,t){void 0===e&&(e=""),void 0===n&&(n="");var l=JSON.stringify(t),i={querytype:"reportbug",email:e,buglogtext:l};return this.post(i)},e.ctorParameters=function(){return[{type:Xt.e},{type:Kt.c}]},e}(),Bl=function(){function e(e,n,t,l){if(n!==tl.URL&&Object(Yt.isNullOrUndefined)(t))throw new Error("MediaRessource of type File or ArrayBuffer must have content");if(-1===e.lastIndexOf("."))throw new Error("fullname parameter needs to consist of an file extension");var i=e.lastIndexOf(".");this._name=e.substr(0,i),this._extension=e.substr(i),this._size=l,this.source=n,this._arraybuffer=t}return Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extension",{get:function(){return this._extension},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"arraybuffer",{get:function(){return this._arraybuffer},set:function(e){this._arraybuffer=e},enumerable:!0,configurable:!0}),e}(),Vl=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])};return function(n,t){function l(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}}(),Wl=function(e){function n(n,t,l,i,r,o){var u=e.call(this,n,t,i,o)||this;if(!(!Object(Yt.isNullOrUndefined)(l.duration)&&!Object(Yt.isNullOrUndefined)(l.duration)&&l.duration.samples>0&&l.samplerate>0))throw Error("AudioRessource needs a correct instance of AudioInfo as parameter");return u._info=l,u._audiobuffer=r,u}return Vl(n,e),Object.defineProperty(n.prototype,"audiobuffer",{get:function(){return this._audiobuffer},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"info",{get:function(){return this._info},set:function(e){this._info=e},enumerable:!0,configurable:!0}),n}(Bl),ql=function(){function e(n){var t=this;if(this.afterdecoded=new Wt.EventEmitter,this._audiocontext=null,this._source=null,this._gainNode=null,this._startplaying=0,this._endplaying=0,this._replay=!1,this._paused=!1,this._stepbackward=!1,this._playonhover=!1,this.loaded=!1,this.chunks=[],this._javascriptNode=null,this.afterloaded=new Wt.EventEmitter,this.statechange=new Wt.EventEmitter,this.state=rl.PREPARE,this.afterAudioEnded=function(){t.state===rl.PLAYING&&(t.state=rl.ENDED),t.state!==rl.ENDED&&t.state!==rl.PAUSED&&t.state!==rl.STOPPED||t.javascriptNode.disconnect(),t.statechange.emit(t.state)},this._id=++e.counter,!Object(Yt.isNullOrUndefined)(n)){var l=window.AudioContext||window.webkitAudioContext||window.mozAudioContext||!1;l?(Object(Yt.isNullOrUndefined)(this._audiocontext)?this._audiocontext=new l:console.log("old audiocontext available"),this.state=rl.PREPARE):console.error("AudioContext not supported by this browser")}}return Object.defineProperty(e.prototype,"playonhover",{get:function(){return this._playonhover},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"playposition",{get:function(){return Object(Yt.isNullOrUndefined)(this._playposition)?0:this._playposition.samples},set:function(e){Object(Yt.isNullOrUndefined)(this._playposition)&&(this._playposition=new Jt(0,this.ressource.info.samplerate)),this._playposition.samples=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gainNode",{get:function(){return this._gainNode},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endplaying",{get:function(){return this._endplaying},set:function(e){this._endplaying=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"source",{get:function(){return this._source},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mainchunk",{get:function(){return this._mainchunk},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ressource",{get:function(){return this._ressource},set:function(e){this._ressource=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"replay",{get:function(){return this._replay},set:function(e){this._replay=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paused",{get:function(){return this._paused},set:function(e){this._paused=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stepbackward",{get:function(){return this._stepbackward},set:function(e){this._stepbackward=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"javascriptNode",{get:function(){return this._javascriptNode},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audioplaying",{get:function(){return this.state===rl.PLAYING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),e.getFileFormat=function(e,n){for(var t=0;t0&&!Object(Yt.isNullOrUndefined)(s.items[s.items.length-1])?s.items[s.items.length-1]:null;if(null!==y&&y.sampleStart+y.sampleDur===Math.round(Number(f))&&(c=f),d>0){var _=new Ol(p,Math.round(c*b),Math.round(d*b),[new Cl(g,"")]);c+=d,s.items.push(_),d=0,p++}var w=[];w.push(new Cl(g,m));var S=new Ol(p,Math.round(c*b),Math.round(length*b),w);s.items.push(S),c+=length,p++}else d+=length}t.levels.push(s)}return{annotjson:t,audiofile:null}}console.error("filenames for .Table extension does not match!")}return null},n}(Nl),Xl=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])};return function(n,t){function l(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}}(),Hl=function(e){function n(){var n=e.call(this)||this;return n._application="CTM",n._name="CTM",n._extension=".ctm",n._website.title="",n._website.url="",n._conversion.export=!1,n._conversion.import=!0,n._encoding="UTF-8",n}return Xl(n,e),n.prototype.export=function(e,n){var t="",l="";if(!Object(Yt.isNullOrUndefined)(e)){for(var i=0;i0){var d=new Ol(a+1,0,u*c,[new Cl("Tier_1","")]);o.items.push(d)}var p=[];p.push(new Cl("Tier_1",s[4]));var h=new Ol(a+1,Math.round(u*c),Math.round(length*c),p);if(o.items.push(h),a===i.length-2&&u+length\nsize = "+r+"\n"}(t),t+="item []: \n";for(var o=0;o14&&al.contains(r[0],'File type = "ooTextFile"')&&al.contains(r[1],'Object class = "TextGrid"')){var u=0;if("item []: "===r[7])for(var a=8;a100&&(a=a.substr(0,100)+"...");var s=new Xt.j;s.params=u,s.headers=new Xt.d,s.headers.set("Authorization",i);var c=n,d={project:{id:1},category:"General",summary:a,description:t.description,additional_information:"Email: "+t.email,os:c.system.os.name,os_build:c.system.os.version,platform:c.system.browser,version:c.octra.version};return r&&(d.additional_information+="\n\n"+o),e.post(l,JSON.stringify(d),s)},n.prototype.getTest=function(e,n,t){var l=new Xt.m,i=new Xt.j;l.set("id","10"),i.params=l,i.headers=new Xt.d,i.headers.set("Authorization",t);return e.get(n,i)},n.prototype.getText=function(e){var n="";for(var t in e)if(e.hasOwnProperty(t)){if(Object(Jl.isArray)(e[t])||"object"!=typeof e[t]){if(Object(Jl.isArray)(e[t])){n+=t+"\n",n+="---------\n";for(var l=0;l0?o[1]+"."+o[3]:e,ql.decodeAudio(u,i,hi.audioformats).then(function(e){n.registerAudioManager(e),Rl.log("Audio (Length: "+e.ressource.size+") loaded. Decode now..."),n.afterloaded.emit({status:"success"}),t({})})},function(e){l(e)})}}return Object.defineProperty(e.prototype,"audiomanagers",{get:function(){return this._audiomanagers},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"loaded",{get:function(){return this._loaded},enumerable:!0,configurable:!0}),e.prototype.registerAudioManager=function(e){Object(Yt.isNullOrUndefined)(this._audiomanagers.find(function(n){return n.ressource.name===e.ressource.name}))&&this._audiomanagers.push(e)},e.prototype.extractData=function(e){return e.arrayBuffer()},e.prototype.handleError=function(e){var n=e;return console.error(n),zl.Observable.throw(n)},e.prototype.destroy=function(e){void 0===e&&(e=!0);for(var n=0;n0){var i=[];for(var l in n)if(!Object(Yt.isNullOrUndefined)(n[l])&&n.hasOwnProperty(l)){var r=n[l];i.push(new bi(l,r))}return i}}return[]},e.prototype.cloneShortcuts=function(e){var n={};for(var t in e)e.hasOwnProperty(t)&&(n[""+t]={keys:{mac:e[t].keys.mac,pc:e[t].keys.pc},title:e[t].title,focusonly:e[t].focusonly});return n},e.prototype.register=function(e,n){return this.getShortcuts(e)||this.shortcuts.push({identifier:e,shortcuts:this.cloneShortcuts(n)}),this.getShortcuts(e)},e.prototype.unregister=function(e){if(this.shortcuts.length>0){for(var n=-1,t=0;t0&&this.shortcuts.splice(n,1)}},e.prototype.getShortcuts=function(e){for(var n=0;n=0;u--)(i=e[u])&&(o=(r<3?i(o):r>3?i(n,t,o):i(n,t))||o);return r>3&&o&&Object.defineProperty(n,t,o),o},wi=this&&this.__metadata||function(e,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,n)},Si=function(){function e(e,n,t){this.id=e,this.level=n,this.sortorder=t}return e}(),ki=function(){function e(e,n){this.id=e,this.link=n}return e}(),Oi=function(){function e(e,n){var t=this;this.sessStr=e,this.localStr=n,this._idbloaded=!1,this._loaded=new Wt.EventEmitter,this._submitted=null,this._feedback=null,this._logs=[],this._data_id=null,this._audio_url=null,this._uselocalmode=null,this._sessionfile=null,this._language="en",this._version=null,this._interface=null,this._logging=!1,this._user=null,this._easymode=!1,this._comment="",this._annotation=null,this._annotation_links=null,this.saving=new Wt.EventEmitter,this._levelcounter=0,this.beginLocalSession=function(e,n,l,i){if(!Object(Yt.isNullOrUndefined)(e)){for(var r,o=0;oe){var t=this._annotation[e].id;return this._annotation[e].level=n,this.idb.save("annotation_levels",t,this._annotation[e])}return new Promise(function(e,n){n(new Error("number of level that should be changed is invalid"))})},e.prototype.addAnnotationLevel=function(e){return Object(Yt.isNullOrUndefined)(e)?new Promise(function(e,n){n(new Error("level is undefined or null"))}):(this._annotation.push({id:++this._levelcounter,level:e,sortorder:this._annotation.length}),this.idb.save("annotation_levels",this._levelcounter,{id:this._levelcounter,level:e}))},e.prototype.removeAnnotationLevel=function(e,n){var t=this;return!Object(Yt.isNullOrUndefined)(name)&&e-1&&(t._filename=t._filename.substr(t._filename.indexOf("src=")+4)),e.loadAudio(l,function(){Rl.log("Audio loaded."),t.audioloaded.emit({status:"success"})},function(e){t._log+="Loading audio file failed
"})}},this.triggerSettingsLoaded=function(){t.validated&&(t.loaded=!0,t.test.next(!0))},this.subscrmanager=new ol}return Object.defineProperty(e.prototype,"log",{get:function(){return this._log},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filename",{get:function(){return this._filename},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"guidelines",{get:function(){return this._guidelines},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tidyUpMethod",{get:function(){return this._tidyUpMethod},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validationmethod",{get:function(){return this._validationmethod},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this._projectsettings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"loaded",{get:function(){return this._loaded},set:function(e){this._loaded=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validated",{get:function(){return this.validation.app},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"app_settings",{get:function(){return this._app_settings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"responsive",{get:function(){return Object(Yt.isNullOrUndefined)(this.projectsettings)||Object(Yt.isNullOrUndefined)(this.projectsettings.responsive)?this.app_settings.octra.responsive:this.projectsettings.responsive},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"allloaded",{get:function(){return!Object(Yt.isNullOrUndefined)(this.projectsettings)},enumerable:!0,configurable:!0}),e.prototype.getApplicationSettings=function(){var e=this;this.subscrmanager.add(this.app_settingsloaded.subscribe(this.triggerSettingsLoaded)),this.loadSettings({loading:"Load application settings..."},{json:"./config/appconfig.json",schema:"./schemata/appconfig.schema.json"},{json:"appconfig.json",schema:"appconfig.schema.json"},function(n){e._app_settings=n.json()},function(){Rl.log("AppSettings loaded."),e.validation.app=!0,e.app_settingsloaded.emit(!0)})},e.prototype.validate=function(e,n){for(var t in n)if(n.hasOwnProperty(t)){var l=e.validate(t,n[""+t]);if(!l.success)return console.error(l.error),!1}return!0},e.prototype.destroy=function(){this.subscrmanager.destroy()},e.prototype.clearSettings=function(){this._guidelines=null,this._projectsettings=null,this._validationmethod=null,this._tidyUpMethod=null},e.prototype.validateJSON=function(e,n,t){if(!Object(Yt.isNullOrUndefined)(n)&&!Object(Yt.isNullOrUndefined)(t)){var l=new Ajv,i=l.compile(t);if(i(n))return!0;for(var r in i.errors)if(i.errors.hasOwnProperty(r)){var o=i.errors[""+r];Rl.err("JSON Validation Error ("+e+"): "+o.dataPath+" "+o.message)}}return!1},e.prototype.loadSettings=function(e,n,t,l,i){var r=this;if(!(e.hasOwnProperty("loading")&&n.hasOwnProperty("json")&&n.hasOwnProperty("schema")&&t.hasOwnProperty("json")&&t.hasOwnProperty("schema")))throw new Error("parameters of loadSettings() are not correct.");Rl.log(e.loading),this.subscrmanager.add(al.uniqueHTTPRequest(this.http,!1,null,n.json,null).subscribe(function(e){l(e),r.subscrmanager.add(al.uniqueHTTPRequest(r.http,!1,null,n.schema,null).subscribe(function(n){Rl.log(t.json+" schema file loaded");var l=n.json(),o=e.json();r.validateJSON(t.json,o,l)&&i()},function(){console.error(t.schema+" could not be loaded!")}))},function(e){r._log+="Loading "+t.json+" failed
"}))},e.ctorParameters=function(){return[{type:Xt.e},{type:Oi}]},e}(),Mi=function(){function e(e){this._languages=e}return Object.defineProperty(e.prototype,"languages",{get:function(){return this._languages},enumerable:!0,configurable:!0}),e}(),Ti=function(){function e(e){switch(e){case"radiobutton":this._type="radiobutton";break;case"checkbox":this._type="checkbox";break;case"textarea":this._type="textarea";break;default:console.error("type '${type}' not valid control type for the feedback form")}}return Object.defineProperty(e.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),e}(),Ni=function(){function e(e,n,t,l,i){this._value=e,this._label=n,this._required=t,this._type=l,this._custom=i}return Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this._label},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"custom",{get:function(){return this._custom},set:function(e){this._custom=e},enumerable:!0,configurable:!0}),e.fromAny=function(n){return new e(n.value,new Mi(n.label),n.required,new Ti(n.type),n.custom)},e.prototype.toAny=function(){return{value:this._value,label:this._label,required:this._required,type:this._type.type,custom:this._custom}},e}(),Ii=function(){function e(e,n,t){this._title=e,this._name=n,this._controls=t,this._required=!1;for(var l=0;l0&&""===l.items[i].labels[0].name&&(l.items[i].labels[0].name=l.name);e.levels.push(l)}return e},e}(),Di=function(){function e(e,n,t,l){switch(this._name=n,this._id=e,t){case"EVENT":this.type=cl.EVENT;break;case"ITEM":this.type=cl.ITEM;break;case"SEGMENT":this.type=cl.SEGMENT}Object(Yt.isNullOrUndefined)(l)||(this.segments=l)}return Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(e){this._name=e},enumerable:!0,configurable:!0}),e.fromObj=function(n,t,l){var i=null,r=[],o=[];if("SEGMENT"===n.level.type){var u=n.level.items;i=new Pl(t,u,l)}else"ITEM"===n.level.type?o=n.level.items:"EVENT"===n.level.type&&(r=n.level.items);var a=new e(n.id,n.level.name,n.level.type,i);return a.items=o,a.events=r,a},e.prototype.getObj=function(){var e=null;return this.type===cl.SEGMENT?e=new Sl(this._name,this.getTypeString(),this.segments.getObj(this._name)):this.type===cl.ITEM?e=new Sl(this._name,this.getTypeString(),this.items):this.type===cl.EVENT&&(e=new Sl(this._name,this.getTypeString(),this.events)),this.type.toString(),e},e.prototype.getTypeString=function(){switch(this.type){case cl.EVENT:return"EVENT";case cl.ITEM:return"ITEM";case cl.SEGMENT:return"SEGMENT"}},e.prototype.clone=function(){return new e(++e.counter,this.name+"_2",this.getTypeString(),this.segments.clone())},e}();Di.counter=1;var Li,Ui=function(){function e(e,n,t,l,i,r,o,u){this.version=e,this.encoding=n,this.projectname=t,this.lastupdate=l,this.duration=o,this.samplerate=r,this.audiofile=i,this.logs=u}return e.prototype.getObj=function(){return JSON.parse(JSON.stringify(this.logs))},e}(),zi=function(){function e(e,n,t,l,i,r){this.timestamp=e,this.type=n,this.target=t,this.value=l,this.playerpos=i,this.caretpos=r}return e}(),Fi=function(){function e(e,n,t,l,i){var r=this;this.audio=e,this.appStorage=n,this.uiService=t,this.navbarServ=l,this.settingsService=i,this.dataloaded=new Wt.EventEmitter,this.segmentrequested=new Wt.EventEmitter,this.saving=!1,this.filename="",this._break_marker=null,this.state="ANNOTATED",this._selectedlevel=0,this._statistic={transcribed:0,empty:0,pause:0},this.levelchanged=new Wt.EventEmitter,this.saveSegments=function(){r.saving||(r.saving=!0,setTimeout(function(){r.appStorage.save("annotation",{num:r._selectedlevel,level:r._annotation.levels[r._selectedlevel].getObj()}),r.saving=!1},2e3))},this.endTranscription=function(e){void 0===e&&(e=!0),r.audio.destroy(e),r.destroy()},this.subscrmanager=new ol,this.subscrmanager.add(this.navbarServ.onexportbuttonclick.subscribe(function(e){"text"===e.format?r.navbarServ.exportformats.text=r.getTranscriptString(new Dl):"annotJSON"===e.format&&(r.navbarServ.exportformats.annotJSON=r.getTranscriptString(new El))}))}return Object.defineProperty(e.prototype,"audiomanager",{get:function(){return this._audiomanager},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedlevel",{get:function(){return this._selectedlevel},set:function(e){e>-1&&e0&&(r=this.currentlevel.segments.get(l-1).time.samples);var o={start:r,length:i.time.samples-r,text:i.transcript};t.push(o)}e.transcript=t}return e},e.prototype.destroy=function(){this.subscrmanager.destroy(),this._segments=null,this._last_sample=null,this._guidelines=null,this.saving=!1,this.filename="",this._feedback=null,this._break_marker=null,this.state="ANNOTATED",this._statistic={transcribed:0,empty:0,pause:0},this.uiService.elements=[]},e.prototype.extractUI=function(e){var n=new Date,t=new Ui("1.0","UTF-8",Object(Yt.isNullOrUndefined)(this.appStorage.user.project)||""===this.appStorage.user.project?"local":this.appStorage.user.project,n.toUTCString(),this._annotation.audiofile.name,this._annotation.audiofile.samplerate,this._annotation.audiofile.duration,[]);if(e)for(var l=0;l-1?this._statistic.pause++:this._statistic.transcribed++:this._statistic.empty++}},e.prototype.rawToHTML=function(e){var n=e;return n=this.replaceMarkersWithHTML(n),""!==e&&(n=n.replace(/\s+$/g," "),n=""!==n?""+n:""),n},e.prototype.replaceMarkersWithHTML=function(e){for(var n=e,t=0;t")}return n},e.prototype.underlineTextRed=function(e,n){var t=e,l=[];if(n.length>0){for(var i=0;i"},l.push(t)):t.puffer+="
";var i=l.find(function(t){return t.start===n[e].start+n[e].length});Object(Yt.isNullOrUndefined)(i)?(i={start:t.start+n[e].length,puffer:""},i.puffer="
",l.push(i)):i.puffer=""+i.puffer}(i);l=l.sort(function(e,n){return e.start===n.start?0:e.startn.start?1:void 0});for(var r="",o=0;o"+e+"

";var t=jQuery(e),l=function(e,t){if(null!==jQuery(t).children()&&jQuery(t).children().length>0)jQuery.each(jQuery(t).children(),l);else{var i=jQuery(t).attr("data-marker-code");if("select-one"===t.type){i+="="+jQuery(t).attr("data-value")}if(i)for(var r=0;r0)break;return{success:!1,error:t+"value of key '"+e+"' must be of type number greater 0"};case"margin":if("object"==typeof n&&"number"==typeof n.top&&"number"==typeof n.right&&"number"==typeof n.bottom&&"number"==typeof n.left)break;return{success:!1,error:t+"value of key '"+e+"' must be an object with attributes {top:number,right:number,bottom:number,left:number}"};case"slider":if("object"==typeof n&&"string"==typeof n.color&&"number"==typeof n.height&&n.height>-1)break;return{success:!1,error:t+"value of key '"+e+"' must an object of {color:string, height:number}"};case"cursor":if("object"==typeof n&&"string"==typeof n.color)break;return{success:!1,error:t+"value of key '"+e+"' must an object of {color:string}"};case"playcursor":if("object"==typeof n&&"number"==typeof n.height&&"number"==typeof n.width&&"string"==typeof n.color)break;return{success:!1,error:t+"value of key '"+e+"' must be an object with attributes {height:number,width:number}"};case"colors":if("object"==typeof n&&"string"==typeof n.gridcolor&&"string"==typeof n.datacolor&&"string"==typeof n.selectioncolor&&"string"==typeof n.textcolor&&"string"==typeof n.backgroundcolor&&"string"==typeof n.slidercolor&&"string"==typeof n.cursorcolor&&"string"==typeof n.playcursorcolor)break;return{success:!1,error:t+"value of key '"+e+"' must be an object with attributes { gridcolor:string, datacolor:string, selectioncolor : string, textcolor:string, backgroundcolor: string, slidercolor: string, cursorcolor:string, playcursorcolor: string}"};case"shortcuts":if("object"==typeof n){var l=0;for(var i in n)if(l++,!n[""+i].hasOwnProperty("keys")||!n[""+i].hasOwnProperty("title")||!n[""+i].hasOwnProperty("focusonly"))return{success:!1,error:t+"value of key '"+e+"' must be an object of shortcuts. Compare custom config with sample config"};break}break;case"set_boundaries":if("boolean"!=typeof n)return{success:!1,error:t+"value of key '"+e+"' must be of type boolean"};break;default:return{success:!1,error:t+"key '"+e+"' not found"}}return{success:!0,error:""}},n}(jl),Ki=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])};return function(n,t){function l(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}}(),$i=function(e){function n(n){var t=e.call(this)||this;return t.audio=n,t.drag_playcursor=!1,t._settings=(new Vi).Settings,t.validateConfig(),t}return Ki(n,e),Object.defineProperty(n.prototype,"Settings",{get:function(){return this._settings},set:function(e){this._settings=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"Line",{get:function(){return this.last_line},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"LastLine",{get:function(){return this.last_line},enumerable:!0,configurable:!0}),n.prototype.initialize=function(e){this.audio_px_w=e,this.playcursor=new vl(0,new Jt(0,this.audiomanager.ressource.info.samplerate),e),this.initializeLine(this.audio_px_w,this._settings.height)},n.prototype.setMouseMovePosition=function(n,t,l,i,r){e.prototype.setMouseMovePosition.call(this,n,t,l,i,r),this.mouse_down&&this.drag_playcursor&&(this.PlayCursor.changeAbsX(t-this._settings.margin.left,this.audioTCalculator,this.audio_px_w,this.audiochunk),this.audiochunk.playposition=this.PlayCursor.time_pos.clone()),"mouseleave"===n&&(this.drag_playcursor=!1)},n.prototype.setMouseClickPosition=function(n,t,l,i,r){e.prototype.setMouseClickPosition.call(this,n,t,l,i,r),null===this.last_line||this.last_line===l?"mousedown"===i.type?(null!==this.last_line&&this.last_line.number!==this.last_line.number||(nthis.PlayCursor.absX+5||(this.drag_playcursor=!0),this.mouse_click_pos.line=l,this.mouse_click_pos.absX=this.getAbsXByLine(l,n-l.Pos.x,r),this.audiochunk.playposition.samples=this.mouse_click_pos.timePos.samples),this.mouse_down=!0):"mouseup"===i.type&&(this.mouse_down=!1,this.drag_playcursor=!1,this.PlayCursor.changeAbsX(n-this._settings.margin.left,this.audioTCalculator,this.audio_px_w,this.audiochunk),this.audiochunk.startpos=this.PlayCursor.time_pos.clone()):"mouseup"===i.type&&(this.mouse_down=!1,this.drag_playcursor=!1,this.PlayCursor.changeAbsX(n-this._settings.margin.left,this.audioTCalculator,this.audio_px_w,this.audiochunk),this.audiochunk.startpos.samples=this.audioTCalculator.absXChunktoSamples(this.PlayCursor.absX,this.audiochunk))},n.prototype.updateLines=function(e){this.audio_px_w=e;var n=e,t=this.last_line;t?(t.number=0,t.Size={width:n,height:this._settings.height}):this.initializeLine(n,this._settings.height)},n.prototype.initializeLine=function(e,n){var t={height:n,width:e},l={x:this._settings.margin.left,y:this._settings.margin.top};this.last_line=new fl(0,t,l)},n.prototype.getAbsXByLine=function(e,n,t){return e.number*t+n},n.prototype.init=function(e,n){this.AudioPxWidth=e,this.audiochunk=n,this.initialize(e),this.audioTCalculator=new Zt(this.audiomanager.ressource.info.samplerate,this.audiochunk.time.duration,this.AudioPxWidth),this.Mousecursor=new el(0,0,0,new Jt(0,this.audiomanager.ressource.info.samplerate)),this.MouseClickPos=new el(0,0,0,new Jt(0,this.audiomanager.ressource.info.samplerate))},n.prototype.validateConfig=function(){var e=new qi,n=e.validateObject(this._settings);if(!n.success)throw n.error},n.ctorParameters=function(){return[{type:fi}]},n}(gi),Xi=function(){function e(e,n,t,l){var i=this;this.audio=e,this.ap=n,this.changeDetectorRef=t,this.keyMap=l,this.shortcuttriggered=new Wt.EventEmitter,this.graphicscanvas=null,this.overlaycanvas=null,this.playcanvas=null,this.context=null,this.timer=null,this.width=0,this.height=0,this.innerWidth=0,this.oldInnerWidth=0,this.mouseclick_obj={clicked:!1,x:0,y:0,curr_line:null,event:null},this.focused=!1,this.update=function(){i.updateCanvasSizes(),i.audiochunk.channel&&(i.draw(),i.drawPlayCursor()),i.oldInnerWidth=i.innerWidth},this.draw=function(){var e=this.ap.Line;if(!e)throw new Error("Line Object not found");this.clearDisplay(),this.drawLine(),this.drawPlayCursorOnly(e)},this.onKeyDown=function(e){if(i.settings.shortcuts_enabled){var n=e.comboKey,t=nl.platform;if(i.settings.shortcuts){var l=!1,r=0;for(var o in i.settings.shortcuts)if(r++,i.settings.shortcuts.hasOwnProperty(o)){var u=!1===i.settings.shortcuts[""+o].focusonly||i.settings.shortcuts[""+o].focusonly===i.focused==!0;if(u&&i.settings.shortcuts[""+o].keys[""+t]===n)switch(o){case"play_pause":i.shortcuttriggered.emit({shortcut:n,value:o}),i.audiochunk.isPlaying?i.pausePlayback():i.startPlayback(),l=!0;break;case"stop":i.shortcuttriggered.emit({shortcut:n,value:o}),i.stopPlayback(),l=!0;break;case"step_backward":i.shortcuttriggered.emit({shortcut:n,value:o}),i.stepBackward(),l=!0;break;case"step_backwardtime":i.shortcuttriggered.emit({shortcut:n,value:o}),i.stepBackwardTime(.5),l=!0}if(l)break}l&&e.event.preventDefault()}}},this.onAudioChunkStateChanged=function(){i.audiochunk.isPlaybackEnded&&i.audiomanager.replay&&i.playSelection(),i.audiochunk.isPlayBackStopped&&i.audiomanager.stepbackward&&(i.ap.PlayCursor.changeSamples(i.audiochunk.playposition.samples,i.ap.audioTCalculator,i.audiochunk),i.startPlayback(!0)),i.audiochunk.isPlayBackStopped&&i.mouseclick_obj.clicked&&(i.mouseclick_obj.clicked=!1,i.ap.setMouseClickPosition(i.mouseclick_obj.x,i.mouseclick_obj.y,i.mouseclick_obj.curr_line,i.mouseclick_obj.event,i.innerWidth),setTimeout(function(){i.startPlayback(!1)},200)),i.audiomanager.stepbackward=!1,i.audiomanager.paused=!1,i.drawPlayCursor()},this.drawPlayCursor=function(){var e=i.ap.audioTCalculator.samplestoAbsX(i.audiochunk.playposition.samples);i.changePlayCursorAbsX(e);var n=i.ap.Line;n&&i.drawPlayCursorOnly(n)},this.subscrmanager=new ol,this.subscrmanager.add(this.keyMap.onkeydown.subscribe(this.onKeyDown))}return Object.defineProperty(e.prototype,"settings",{get:function(){return this.ap.Settings},set:function(e){this.ap.Settings=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"current_time",{get:function(){return this.audiochunk.playposition.unix},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audiomanager",{get:function(){return this.audiochunk.audiomanager},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audioressource",{get:function(){return this.audiomanager.ressource},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.anim=new ll(25),this.timer=zl.Observable.timer(0,200),this.subscrmanager.add(this.audiochunk.statechange.subscribe(function(n){e.onAudioChunkStateChanged()}))},e.prototype.ngAfterViewInit=function(){this.graphicscanvas=this.graphicscanRef.nativeElement,this.playcanvas=this.playcanRef.nativeElement,this.overlaycanvas=this.overlaynacRef.nativeElement,this.width=this.apview.elementRef.nativeElement.clientWidth,this.innerWidth=this.width-this.settings.margin.left-this.settings.margin.right,this.oldInnerWidth=this.innerWidth,this.ap.init(this.innerWidth,this.audiochunk),this.update(),this.startTimer()},e.prototype.ngOnChanges=function(e){if(e.hasOwnProperty("audiochunk")){var n=e.audiochunk.previousValue,t=e.audiochunk.currentValue;e.audiochunk.firstChange||(Object(Yt.isNullOrUndefined)(n)&&!Object(Yt.isNullOrUndefined)(t)||t.time.start.samples!==n.time.start.samples&&t.time.end.samples!==n.time.end.samples)&&(this.ap.init(this.innerWidth,this.audiochunk),this.update())}},e.prototype.ngOnDestroy=function(){this.stopPlayback(),this.subscrmanager.destroy()},e.prototype.updateCanvasSizes=function(){this.width=Number(this.apview.elementRef.nativeElement.clientWidth),this.innerWidth=Number(this.width-this.settings.margin.left-this.settings.margin.right),this.height=this.settings.margin.top+this.settings.height+this.settings.margin.bottom,this.graphicscanvas.width=this.width,this.overlaycanvas.width=this.width,this.playcanvas.width=this.width,this.graphicscanvas.height=this.height,this.overlaycanvas.height=this.height,this.playcanvas.height=this.height,this.apview.changeStyle("height",this.height.toString()+"px"),this.ap.updateLines(this.innerWidth)},e.prototype.drawLine=function(){this.context=this.graphicscanvas.getContext("2d"),this.context.globalAlpha=1,this.context.fillStyle=this.settings.slider.color;var e=this.settings.margin.left,n=this.settings.height,t=Math.round(n/2)-this.settings.slider.height/2;this.context.fillRect(e,t,this.innerWidth,this.settings.slider.height),this.context.stroke()},e.prototype.clearDisplay=function(){var e=this.playcanvas,n=this.overlaycanvas,t=this.ap.Line;if(!t)throw new Error("Line Object not found");this.context=this.playcanvas.getContext("2d"),this.context.clearRect(t.Pos.x-1,t.Pos.y-1,this.innerWidth+1,t.Size.height+1),this.context=n.getContext("2d"),this.context.globalAlpha=1,this.context.clearRect(t.Pos.x-1,t.Pos.y-1,this.innerWidth+1,t.Size.height+1),this.context.strokeStyle=this.settings.cursor.color,this.context=e.getContext("2d"),this.context.globalAlpha=1,this.context.clearRect(t.Pos.x-1,t.Pos.y-1,this.innerWidth+1,t.Size.height+1),this.context.strokeStyle=this.settings.playcursor.color,this.context=this.graphicscanvas.getContext("2d"),this.context.globalAlpha=1,this.context.strokeStyle=this.settings.framecolor,this.context.fillStyle=this.settings.backgroundcolor,this.context.fillRect(0,0,this.width,this.height)},e.prototype.onMouseMove=function(e){var n=e.offsetX,t=e.offsetY,l=this.ap.LastLine;l&&(this.ap.setMouseMovePosition(e.type,n,t,l,this.innerWidth),this.drawPlayCursorOnly(l))},e.prototype.onClick=function(e){var n=e.offsetX,t=e.offsetY,l=this.ap.Line;l&&(this.audiochunk.isPlaying?(this.mouseclick_obj.clicked=!0,this.mouseclick_obj.x=n,this.mouseclick_obj.y=t,this.mouseclick_obj.curr_line=l,this.mouseclick_obj.event=e,this.audiochunk.stopPlayback()):this.ap.setMouseClickPosition(n,t,l,e,this.innerWidth),this.drawPlayCursorOnly(l))},e.prototype.playSelection=function(){var e=this,n=function(){e.audiochunk.updatePlayPosition(),e.anim.requestFrame(e.drawPlayCursor)};return this.audiochunk.startPlayback(n)},e.prototype.stopPlayback=function(){this.audiochunk.stopPlayback()},e.prototype.pausePlayback=function(){this.audiochunk.pausePlayback()},e.prototype.startPlayback=function(e){return void 0===e&&(e=!0),!this.audiochunk.isPlaying&&this.playSelection()},e.prototype.startTimer=function(){var e=this;this.subscrmanager.add(this.timer.subscribe(function(){e.audioressource.audiobuffer&&e.ap.PlayCursor&&e.changeDetectorRef.markForCheck()}))},e.prototype.rePlayback=function(){return this.audiochunk.rePlayback()},e.prototype.stepBackward=function(){this.audiochunk.stepBackward()},e.prototype.stepBackwardTime=function(e){this.audiochunk.stepBackwardTime(e)},e.prototype.drawPlayCursorOnly=function(e){var n=this.ap.PlayCursor.absX+this.settings.margin.left,t=Math.round((e.Size.height-this.settings.playcursor.height)/2);n<=e.Size.width+this.settings.margin.left&&(this.context=this.playcanvas.getContext("2d"),this.context.clearRect(0,0,this.width,this.height),this.context.strokeStyle=this.settings.playcursor.color,this.context.beginPath(),this.context.moveTo(n,t+1),this.context.lineTo(n,t+this.settings.playcursor.height),this.context.globalAlpha=1,this.context.lineWidth=this.settings.playcursor.width,this.context.stroke())},e.prototype.changePlayCursorAbsX=function(e){this.ap.PlayCursor.changeAbsX(e,this.ap.audioTCalculator,this.ap.AudioPxWidth,this.audiochunk)},e.prototype.onResize=function(e){this.width=this.apview.elementRef.nativeElement.clientWidth,this.innerWidth=this.width-this.settings.margin.left-this.settings.margin.right;this.innerWidth,this.oldInnerWidth;if(this.ap.PlayCursor){var n=new Zt(this.audioressource.info.samplerate,this.audiochunk.time.duration,this.innerWidth);Rl.log(""+this.audiochunk.playposition.samples),this.ap.audioTCalculator=n,this.ap.PlayCursor.changeSamples(this.audiochunk.playposition.samples,n),this.update()}},e.prototype.onReload=function(e){this.subscrmanager.destroy()},e.ctorParameters=function(){return[{type:fi},{type:$i},{type:Wt.ChangeDetectorRef},{type:vi}]},e}(),Hi=function(){function e(e,n){this.elementRef=e,this.renderer=n}return e.prototype.changeStyle=function(e,n){this.renderer.setElementStyle(this.elementRef.nativeElement,e,n)},e.ctorParameters=function(){return[{type:Wt.ElementRef},{type:Wt.Renderer}]},e}(),Qi=function(){function e(){this.multi_line=!1,this.pixel_per_sec=200,this.justify_signal_height=!0,this.cropping="none",this.lineheight=150,this.backgroundcolor="rgb(255, 248, 248)",this.margin={top:0,right:0,bottom:0,left:0},this.cursor={color:"rgb(255, 0, 0)"},this.playcursor={height:20,width:10,color:"purple"},this.boundaries={enabled:!0,readonly:!1,width:3,color:"rgb(160, 160, 0)"},this.grid={enabled:!0,color:"rgb(224, 224, 224)"},this.data={color:"rgb(0, 127, 0)"},this.selection={enabled:!0,color:"gray"},this.frame={color:"rgb(0, 0, 0)"},this.shortcuts_enabled=!0,this.shortcuts={play_pause:{keys:{mac:"TAB",pc:"TAB"},focusonly:!1,title:"play pause"},stop:{keys:{mac:"ESC",pc:"ESC"},focusonly:!1,title:"stop playback"},set_boundary:{keys:{mac:"S",pc:"S"},focusonly:!0,title:"set segment"},set_break:{keys:{mac:"P",pc:"P"},focusonly:!0,title:"set break"},play_selection:{keys:{mac:"C",pc:"C"},focusonly:!0,title:"play selection"},step_backward:{keys:{mac:"SHIFT + BACKSPACE",pc:"SHIFT + BACKSPACE"},focusonly:!1,title:"step backward"},step_backwardtime:{keys:{mac:"SHIFT + TAB",pc:"SHIFT + TAB"},title:"step backward time",focusonly:!1},segment_enter:{keys:{mac:"ENTER",pc:"ENTER"},focusonly:!0,title:"transcribe segment"},cursor_left:{keys:{mac:"ARROWLEFT",pc:"ARROWLEFT"},focusonly:!0,title:"move cursor left"},cursor_right:{keys:{mac:"ARROWRIGHT",pc:"ARROWRIGHT"},focusonly:!0,title:"move cursor right"},playonhover:{keys:{mac:"H",pc:"H"},focusonly:!0,title:"play audio on hover"}},this.disabled_keys=["SHIFT + SPACE"],this.timeline={enabled:!1,height:15,fontSize:9,fontWeight:"light",font:"Arial",foreColor:"black"},this.step_width_ratio=.0226,this.scrollable=!1,this.round_values=!0}return e}(),Gi=function(){function e(e){this.functions=e;var n=(Date.now(),URL.createObjectURL(new Blob([this.getFunctionsString()],{type:"application/javascript"})));this.worker=new Worker(n);Date.now()}return e.prototype.run=function(e,n){var t=this;Date.now();return new Promise(function(l,i){null!==t.hasFunction(e)?(t.worker.onmessage=function(e){l(e)},t.worker.onerror=function(e){i(e)},t.worker.postMessage({do:e,args:n})):i(new Error("Function does not exist in Taskmanager's list of functions"))})},e.prototype.destroy=function(){URL.revokeObjectURL(this.bloburl)},e.prototype.hasFunction=function(e){for(var n=0;n0?(this.audioTCalculator=new Zt(this.audiomanager.ressource.info.samplerate,this.audiochunk.time.duration,this.AudioPxWidth),this.Mousecursor=new el(0,0,0,new Jt(0,this.audiomanager.ressource.info.samplerate)),this.MouseClickPos=new el(0,0,0,new Jt(0,this.audiomanager.ressource.info.samplerate)),this.PlayCursor=new vl(0,new Jt(0,this.audiomanager.ressource.info.samplerate),n),this.afterChannelInititialized(n)):new Promise(function(e,n){console.error("audio px is 0."),e()})},n.prototype.calculateZoom=function(e,n,t){if(this.Settings.justify_signal_height){for(var l=0,i=0,r=this.Settings.timeline.enabled?this.Settings.timeline.height:0,o=e/2,u=this.AudioPxWidth,a=0;a<=u&&(l=a,!isNaN(t[a]));a++)i=Math.max(i,t[a]),o=Math.min(o,t[a]);var s=e-r-(i+Math.abs(o));s=Math.floor(s-2),s>0&&(this._zoomY=s/(i+Math.abs(o))+1,this._zoomY=Math.floor(10*this._zoomY)/10,this._zoomX=n/l)}else this._zoomY=1},n.prototype.computeDisplayData=function(e,n,t){return this.taskmanager=new Gi([{name:"compute",do:function(e){var n=e[0],t=e[1],l=e[2],i=e[3];n=Math.floor(n);for(var r=[],o=l.length,u=0,a=0,s=0,c=0,d=0,p=o/n,h=t/2,f=0;fo?o:Math.round(c+p);for(var g=c;g-1){var s=this.transcrService.currentlevel.segments.get(this.dragableBoundaryNumber).clone(),c=u/this.audiomanager.ressource.info.samplerate,d=this.dragableBoundaryNumber>0?this.transcrService.currentlevel.segments.get(this.dragableBoundaryNumber-1):null,p=this.dragableBoundaryNumberp.time.seconds-.02&&(u=p.time.samples-Math.round(.02*this.audiomanager.ressource.info.samplerate)),s.time.samples=u,this.transcrService.currentlevel.segments.change(this.dragableBoundaryNumber,s),this.transcrService.currentlevel.segments.sort(),a=this.getBoundaryNumber(o),this.dragableBoundaryNumber=a}else this.mouse_down=!1;this.overboundary=a>-1},n.prototype.setMouseClickPosition=function(n,t,l,i,r,o){var u=this;return new Promise(function(a,s){e.prototype.setMouseClickPosition.call(u,n,t,l,i,r);var c=u.getAbsXByLine(l,n-l.Pos.x,r),d=u.audioTCalculator.absXChunktoSamples(c,u.audiochunk);if(u.audiomanager.audioplaying){if(u.audiochunk.isPlaying&&"mouseup"===i.type){var p=(u.audiochunk.playposition.clone(),u.subscrmanager.add(u.audiochunk.statechange.subscribe(function(e){e===rl.STOPPED&&(u.audiochunk.startpos=new Jt(d,u.audiomanager.ressource.info.samplerate),u.audiochunk.selection.end=u.audiochunk.playposition.clone(),u.drawnselection=null,u.PlayCursor.changeSamples(u.audiochunk.playposition.samples,u.audioTCalculator,u.audiochunk),o.drawSegments(),u.subscrmanager.remove(p))})));u.audiochunk.stopPlayback()}}else if(null===u.last_line||u.last_line===l)if("mousedown"!==i.type||u.shift_pressed){if("mouseup"===i.type){if(u.dragableBoundaryNumber>-1&&u.dragableBoundaryNumber-1&&u.dragableBoundaryNumber0&&!this.audiochunk.isPlaying)for(e=0;e=t-l&&this.transcrService.currentlevel.segments.get(e).time.samples<=t+l&&this.transcrService.currentlevel.segments.get(e).time.samples!==this.audiomanager.ressource.info.duration.samples){var i=this.transcrService.currentlevel.segments.get(e).time.samples;return this.transcrService.currentlevel.segments.removeByIndex(e,this.transcrService.break_marker.code),{type:"remove",seg_samples:i,msg:{type:"success",text:""}}}if((Object(Yt.isNullOrUndefined)(this.drawnselection)?0:this.drawnselection.length)>0&&t>=this.drawnselection.start.samples&&t<=this.drawnselection.end.samples){var r=this.transcrService.currentlevel.segments.BetweenWhichSegment(this.drawnselection.start.samples),o=this.transcrService.currentlevel.segments.BetweenWhichSegment(this.drawnselection.end.samples);return null===r&&null===o||r===o||""===r.transcript&&""===o.transcript?(this.drawnselection.start.samples>0&&this.transcrService.currentlevel.segments.add(this.drawnselection.start.samples),this.transcrService.currentlevel.segments.add(this.drawnselection.end.samples),{type:"add",seg_samples:this.drawnselection.start.samples,msg:{type:"success",text:""}}):{type:"add",seg_samples:this.drawnselection.start.samples,msg:{type:"error",text:this.langService.instant("boundary cannot set")}}}var u=this.transcrService.currentlevel.segments.BetweenWhichSegment(t),a=u.transcript;return u.transcript="",this.transcrService.currentlevel.segments.add(Math.round(t)),u=this.transcrService.currentlevel.segments.BetweenWhichSegment(t),u.transcript=a,{type:"add",seg_samples:-1,msg:{type:"success",text:""}}}return null},n.prototype.getSegmentSelection=function(e){var n=null,t=this.transcrService.currentlevel.segments,l=this.transcrService.currentlevel.segments.length;if(l>0)if(et.get(t.length-1).time.samples){var i=t.get(t.length-1).time.clone();n=new il(i,this.audiomanager.ressource.info.duration)}else for(var r=1;rt.get(r-1).time.samples&&e0)return u>-1&&u>=i?(a.start=o>-1&&o>=i?o-e.number*l:0,o<=r?(u>r?a.end=l:u<=r&&(a.end=u-e.number*l),a):{start:-3,end:-1}):{start:-1*o,end:-1*u}}},n.prototype.updateLines=function(e){if(this.Settings.multi_line){var n=Math.ceil(this.audio_px_w/e),t=Number(this.audio_px_w);if(nthis.Lines.length)for(var l=0;le?e:t,r=this.Lines[l];r?(r.number=l,r.Size={width:Number(i),height:Number(r.Size.height)},r.Pos=l>0?{x:Number(this.Lines[l-1].Pos.x),y:Number(this.Lines[l-1].Pos.y+this.Lines[l-1].Size.height+this.Settings.margin.bottom)}:{x:this.Settings.margin.left,y:this.Settings.margin.top}):this.addLine(l,i,this.Settings.lineheight),t-=e}}else{this.audio_px_w=e;var i=e,r=this.Lines[0];Object(Yt.isNullOrUndefined)(r)?this.addLine(0,i,this.Settings.lineheight):(r.number=0,r.Size={width:i,height:this.Settings.lineheight})}},n.prototype.getLineByAbsX=function(e,n){var t=Math.floor(e/n);return this.Lines[t]?this.Lines[t]:null},n.prototype.addLine=function(e,n,t){var l={height:t,width:n},i={x:this.Settings.margin.left,y:this.Settings.margin.top};i.y+=this.Lines.length>e-1&&!Object(Yt.isNullOrUndefined)(this.Lines[e-1])?this.Lines[e-1].Pos.y:0;var r=new fl(e,l,i);this.Lines.push(r)},n.prototype.getBoundaryNumber=function(e){for(var n=0;n=e-this.Settings.boundaries.width/2&&l<=e+this.Settings.boundaries.width/2)return n}return-1},n.prototype.moveCursor=function(e,n){var t=this.mousecursor.line;if(!(n>0))throw new Error("can not move cursor by given samples. Number of samples less than 0.");if(("left"===e||"right"===e)&&(this.mousecursor.timePos.samples>=this.audiochunk.time.start.samples+n&&"left"===e||this.mousecursor.timePos.samples<=this.audiochunk.time.end.samples-n&&"right"===e))if("left"===e){if(this.mousecursor.timePos.samples>=this.audiochunk.time.start.samples+n){this.mousecursor.timePos.samples-=n;var l=this.mousecursor.timePos.samples-this.audiochunk.time.start.samples,i=this.audioTCalculator.samplestoAbsX(l,this.audiochunk.time.duration);this.mousecursor.relPos.x=i%t.Size.width,this.mousecursor.line=this.getLineByAbsX(i,t.Size.width),this.last_line=this.mousecursor.line}}else if("right"===e&&this.mousecursor.timePos.samples<=this.audiochunk.time.end.samples-n){this.mousecursor.timePos.samples+=n;var l=this.mousecursor.timePos.samples-this.audiochunk.time.start.samples,i=this.audioTCalculator.samplestoAbsX(l,this.audiochunk.time.duration);this.mousecursor.relPos.x=i%t.Size.width,this.mousecursor.line=this.getLineByAbsX(i,t.Size.width),this.last_line=this.mousecursor.line}},n.prototype.destroy=function(){this.subscrmanager.destroy(),this.taskmanager.destroy()},n.prototype.initializeSettings=function(){this._settings=new Qi},n.prototype.refresh=function(){var e=this;return new Promise(function(n,t){e.computeDisplayData(e.AudioPxWidth/2,e.Settings.lineheight,e.channel).then(function(t){e._minmaxarray=t.data,n()}).catch(function(e){t(e)})})},n.ctorParameters=function(){return[{type:fi},{type:Fi},{type:vi},{type:Ht.c}]},n}(gi),Zi=function(){function e(e,n,t,l){var i=this;this.av=e,this.transcr=n,this.keyMap=t,this.langService=l,this.selchange=new Wt.EventEmitter,this.segmententer=new Wt.EventEmitter,this.segmentchange=new Wt.EventEmitter,this.mousecursorchange=new Wt.EventEmitter,this.playcursorchange=new Wt.EventEmitter,this.shortcuttriggered=new Wt.EventEmitter,this.alerttriggered=new Wt.EventEmitter,this.scrolling=new Wt.EventEmitter,this.scrollbarchange=new Wt.EventEmitter,this.margin={top:0,right:0,bottom:0,left:0},this.graphicscanvas=null,this.overlaycanvas=null,this.playcanvas=null,this.mousecanvas=null,this.g_context=null,this.p_context=null,this.o_context=null,this.m_context=null,this.scrollbar={dragging:!1,mouseover:!1},this.resizing=!1,this.updating=!1,this.audioplaying=!1,this.step_backward=!1,this.width=0,this.height=0,this._innerWidth=0,this.oldInnerWidth=0,this._initialized=!1,this._viewRect={x:0,y:0,w:0,h:0,lines:{start:0,end:0}},this._deactivate_shortcuts=!1,this.update=function(e){if(void 0===e&&(e=!1),i.AudioPxWidth>0){if(i.updateVisibleLines(),!i.updating){i.updating=!0;var n=function(){if(i.av.updateLines(i._innerWidth),i.av.LinesArray.length>0){for(var e=i._viewRect.lines.start;e<=i._viewRect.lines.end&&!Object(Yt.isNullOrUndefined)(i.av.LinesArray[e]);e++)i.clearDisplay(e),i.drawGrid(3,3,i.av.LinesArray[e]);i.drawSegments(),"none"!==i.Settings.cropping&&(i.av.Mousecursor.relPos.x=i._innerWidth/2,i.drawCropBorder()),i.Settings.timeline.enabled&&i.drawTimeLine();for(var e=i._viewRect.lines.start;e<=i._viewRect.lines.end&&i.drawSignal(e);e++);"none"!==i.Settings.cropping&&(i.av.Mousecursor.relPos.x=i._innerWidth/2,i.drawCropBorder()),i.Settings.selection.enabled&&(i.drawPlayCursor(),i.drawCursor(i.av.Mousecursor.line)),i._initialized=!0}else console.error("0 lines?")};Object(Yt.isNullOrUndefined)(i.av.channel)?console.error("audio channel is null"):e?i.av.refresh().then(function(){n()}).catch(function(e){console.error(e)}):n(),i.oldInnerWidth=i._innerWidth,i.updating=!1}}else console.error("audiopx 0")},this.drawSignal=function(e){var n=this.av.LinesArray[e],t=this.Settings.timeline.enabled?this.Settings.timeline.height:0;if(!Object(Yt.isNullOrUndefined)(n)){var l=Math.floor((this.Settings.lineheight-t)/2),i=e*this.innerWidth,r=this.av.zoomX,o=this.av.zoomY;if(this.g_context.strokeStyle=this.Settings.data.color,this.g_context.beginPath(),this.g_context.moveTo(n.Pos.x,n.Pos.y+l-this.av.minmaxarray[i]-this._viewRect.y),Object(Yt.isNullOrUndefined)(l)||Object(Yt.isNullOrUndefined)(n.Pos)||Object(Yt.isNullOrUndefined)(this.av.minmaxarray)||Object(Yt.isNullOrUndefined)(o)){if(Object(Yt.isNullOrUndefined)(l))throw Error("midline is null!");if(Object(Yt.isNullOrUndefined)(n.Pos))throw Error("Pos is null!");if(Object(Yt.isNullOrUndefined)(this.av.minmaxarray))throw Error("MinMax Array is null!");if(Object(Yt.isNullOrUndefined)(o))throw Error("ZoomY is null!")}else for(var u=0;u+i-1){var a=i.transcr.currentlevel.segments.getSegmentBySamplePosition(u),s=i.transcr.currentlevel.segments.get(a);a>-1&&(s.transcript!==i.transcr.break_marker.code?(s.transcript=i.transcr.break_marker.code,i.shortcuttriggered.emit({shortcut:n,value:"set_break",type:"segment"})):(s.transcript="",i.shortcuttriggered.emit({shortcut:n,value:"remove_break",type:"segment"})),i.update(!1),i.drawCursor(i.av.Mousecursor.line),i.transcr.currentlevel.segments.onsegmentchange.emit())}l=!0}break;case"play_selection":if(i.av.focused){i.shortcuttriggered.emit({shortcut:n,value:e,type:"audio"});var u=i.av.audioTCalculator.absXChunktoSamples(i.av.Mousecursor.absX,i.audiochunk),c=i.av.getSegmentSelection(i.av.Mousecursor.timePos.samples);if(c){var a=i.transcr.currentlevel.segments.getSegmentBySamplePosition(u);if(a>-1){var s=i.transcr.currentlevel.segments.get(a);if(i.transcr.currentlevel.segments.getStartTime(a).samples>=i.audiochunk.time.start.samples&&s.time.samples<=i.audiochunk.time.end.samples){var d=i.av.audioTCalculator.samplestoAbsX(i.transcr.currentlevel.segments.get(a).time.samples);i.audiochunk.selection=c.clone(),i.av.drawnselection=c.clone(),i.selchange.emit(i.audiochunk.selection),i.drawSegments();var p=new bl(new Jt(0,i.audioressource.info.samplerate));a>0&&(p=i.transcr.currentlevel.segments.get(a-1));var h=i.av.audioTCalculator.samplestoAbsX(p.time.samples),f=i._innerWidth=i.audiochunk.selection.start.samples&&u<=i.audiochunk.selection.end.samples){i.audiochunk.playposition.samples=i.audiochunk.selection.start.samples,i.changePlayCursorSamples(i.audiochunk.selection.start.samples),i.drawPlayCursorOnly(i.av.LastLine);var m=i.subscrmanager.add(i.audiochunk.statechange.subscribe(function(e){e===rl.STOPPED&&(i.audiochunk.selection=c.clone(),i.playSelection(),i.subscrmanager.remove(m))},function(e){console.error(e)}));i.audiochunk.stopPlayback()}i.Settings.multi_line||i.segmententer.emit({index:a,pos:{Y1:f,Y2:g}})}else i.alerttriggered.emit({type:"error",message:i.langService.instant("segment invisible")})}}l=!0}break;case"segment_enter":if(i.Settings.boundaries.enabled&&!i.Settings.boundaries.readonly&&i.focused){i.shortcuttriggered.emit({shortcut:n,value:e,type:"segment"});var v=i.transcr.currentlevel.segments.getSegmentBySamplePosition(i.av.Mousecursor.timePos.samples);i.selectSegment(v,function(e,n){i.focused=!1,i.segmententer.emit({index:v,pos:{Y1:e,Y2:n}})},function(){i.alerttriggered.emit({type:"error",message:i.langService.instant("segment invisible")})}),l=!0}break;case"cursor_left":i.av.focused&&(i.shortcuttriggered.emit({shortcut:n,value:e,type:"mouse"}),i.av.moveCursor("left",i.Settings.step_width_ratio*i.audioressource.info.samplerate),i.drawCursor(i.av.LastLine),i.mousecursorchange.emit(i.av.Mousecursor),l=!0);break;case"cursor_right":i.av.focused&&(i.shortcuttriggered.emit({shortcut:n,value:e,type:"mouse"}),i.av.moveCursor("right",i.Settings.step_width_ratio*i.audioressource.info.samplerate),i.drawCursor(i.av.LastLine),i.mousecursorchange.emit(i.av.Mousecursor),l=!0);break;case"playonhover":i.av.focused&&!i.Settings.boundaries.readonly&&(i.shortcuttriggered.emit({shortcut:n,value:e,type:"option"}),l=!0)}if(l)return"break"}}}(r))break}l&&e.event.preventDefault()}}},this.playSelection=function(){var e=function(){i.audiochunk.updatePlayPosition(),i.anim.requestFrame(i.drawPlayCursor)};return i.audiochunk.startPlayback(e)},this.onAudioChunkStateChange=function(){i.audiomanager.replay&&i.audiochunk.isPlaybackEnded?(i.audiochunk.playposition=i.audiochunk.time.start.clone(),i.playSelection()):i.audiochunk.isPlaybackEnded&&(i.audiomanager.stepbackward?(i.av.PlayCursor.changeSamples(i.audiochunk.lastplayedpos.samples,i.av.audioTCalculator,i.audiochunk),i.startPlayback()):(i.audiochunk.playposition=i.audiochunk.selection.start.clone(),i.av.drawnselection=i.av.drawnselection.clone(),i.drawSegments())),i.audiochunk.isPlayBackStopped&&i.audiomanager.stepbackward&&(i.av.PlayCursor.changeSamples(i.audiochunk.playposition.samples,i.av.audioTCalculator,i.audiochunk),i.startPlayback()),i.drawPlayCursor(),i.audiomanager.stepbackward=!1,i.audiomanager.paused=!1},this.drawPlayCursor=function(){var e=i.av.audioTCalculator.samplestoAbsX(i.audiochunk.playposition.samples-i.audiochunk.time.start.samples),n=i.av.audioTCalculator.samplestoAbsX(i.audiochunk.time.end.samples-i.audiochunk.time.start.samples);e=Math.min(e,n-1),i.changePlayCursorAbsX(e);var t=i.av.getLineByAbsX(i.av.PlayCursor.absX,i._innerWidth);t&&(i.drawPlayCursorOnly(t),i.av.LastLine=t)},this.drawPlayCursorOnly=function(e){if(e){var n=i.Settings.playcursor.width,t=i.av.PlayCursor.absX-e.number*i._innerWidth,l=e.Pos.y-i._viewRect.y;i.p_context.clearRect(0,0,i._viewRect.w,i._viewRect.h),e.number>=i._viewRect.lines.start&&e.number<=i._viewRect.lines.end&&t<=e.Size.width+i.Settings.margin.left&&(i.p_context.strokeStyle=i.Settings.playcursor.color,i.p_context.beginPath(),i.p_context.moveTo(t,l+1),i.p_context.lineTo(t,l+e.Size.height-1),i.p_context.globalAlpha=.3,i.p_context.lineWidth=n,i.p_context.stroke(),i.p_context.strokeStyle="rgb(0,0,0)",i.p_context.globalAlpha=1,i.p_context.beginPath(),i.p_context.moveTo(t,l+1),i.p_context.lineTo(t,l+e.Size.height-1),i.p_context.lineWidth=1,i.p_context.stroke())}},this.changePlayCursorAbsX=function(e){i.av.PlayCursor.changeAbsX(e,i.av.audioTCalculator,i.av.AudioPxWidth,i.audiochunk),i.playcursorchange.emit(i.av.PlayCursor)},this.changePlayCursorSamples=function(e,n){i.av.PlayCursor.changeSamples(e,i.av.audioTCalculator,n),i.playcursorchange.emit(i.av.PlayCursor)},this.drawTimeLine=function(){if(this.Settings.timeline.enabled&&this.av.LinesArray.length>0&&this.audiochunk.time.start.samples>0&&this.av.AudioPxWidth>0){var e=this.g_context.measureText(this.getmaxString(Math.round(100*this.audiochunk.time.duration.seconds)/100,2)).width+12;e/=this.Settings.multi_line?this.Settings.pixel_per_sec:this.av.audioTCalculator.samplestoAbsX(this.av.audioTCalculator.secondsToSamples(1),this.av.DurTime);var n=this.av.audioTCalculator.secondsToSamples(e);e=this.av.audioTCalculator.samplestoAbsX(n,this.audiochunk.time.duration),n=this.av.audioTCalculator.absXChunktoSamples(e,this.audiochunk),n-=this.audiochunk.time.start.samples;var t=this.av.audioTCalculator.samplesToSeconds(n);t=Math.round(100*t)/100,n=this.av.audioTCalculator.secondsToSamples(t),e=this.av.audioTCalculator.samplestoAbsX(n,this.audiochunk.time.duration);var l=this.av.AudioPxWidth/e,i=this.audiochunk.time.start;this.g_context.font=this.Settings.timeline.fontWeight+" "+this.Settings.timeline.fontSize+"px "+this.Settings.timeline.font,this.g_context.fillStyle=this.Settings.timeline.foreColor;var r=0;if(Number.isFinite(l)){this.g_context.strokeStyle="black";for(var o=0;ol?l:t,o=0;t>-1&&l>-1&&(o=Math.abs(l-t)),i.o_context.globalAlpha=.2,(t<1||t>e.Size.width)&&(r=1),l<1&&(o=0),(l<1||l>e.Size.width)&&(o=l),o>0&&(i.o_context.fillStyle=i.Settings.selection.color,i.o_context.fillRect(e.Pos.x+r,e.Pos.y-i._viewRect.y,o,i.Settings.lineheight)),i.o_context.globalAlpha=1}}},this.av.initializeSettings(),this.subscrmanager=new ol,this.subscrmanager.add(this.keyMap.onkeydown.subscribe(this.onKeyDown))}return Object.defineProperty(e.prototype,"initialized",{get:function(){return this._initialized},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"viewRect",{get:function(){return this._viewRect},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerWidth",{get:function(){return this._innerWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pos_time",{get:function(){return this.av.PlayCursor.time_pos.samples},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"round_values",{get:function(){return this.Settings.round_values},set:function(e){this.Settings.round_values=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"Chunk",{get:function(){return this.audiochunk},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"focused",{get:function(){return this.av.focused},set:function(e){this.av.focused=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"MouseCursor",{get:function(){return this.av.Mousecursor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"deactivate_shortcuts",{get:function(){return this._deactivate_shortcuts},set:function(e){this._deactivate_shortcuts=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"Settings",{get:function(){return this.av.Settings},set:function(e){this.av.Settings=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"AudioPxWidth",{get:function(){return this.av.AudioPxWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selection",{get:function(){return this.audiochunk.selection},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"PlayCursor",{get:function(){return this.av.PlayCursor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audiomanager",{get:function(){return this.audiochunk.audiomanager},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audioressource",{get:function(){return this.audiochunk.audiomanager.ressource},enumerable:!0,configurable:!0}),e.prototype.getmaxString=function(e,n){for(var t="",l=e;l>1;l/=10)t+="9";n>0&&(t+=".");for(var l=0;l0&&!Object(Yt.isNullOrUndefined)(n)&&(n.globalAlpha=1,n.save(),n.beginPath(),n.arc(this._innerWidth/2,this.height/2,this._innerWidth/2,0,2*Math.PI,!1),n.closePath(),n.clip(),this.m_context.globalAlpha=1,this.m_context.save(),this.m_context.beginPath(),this.m_context.arc(this._innerWidth/2,this.height/2,this._innerWidth/2,0,2*Math.PI,!1),this.m_context.closePath(),this.m_context.clip())}},e.prototype.updateCanvasSizes=function(){this.width=Number(this.aview.elementRef.nativeElement.clientWidth),this._innerWidth=Number(this.width-this.Settings.margin.left-this.Settings.margin.right);var e=this.aview.elementRef.nativeElement.clientHeight;this.av.updateLines(this._innerWidth),this.graphicscanRef.changeAttr("width",this.width.toString()),this.mousecanRef.changeAttr("width",this.width.toString()),this.overlaynacRef.changeAttr("width",this.width.toString()),this.playcanRef.changeAttr("width",this.width.toString()),this.Settings.multi_line?this.height=this.Settings.margin.top+(this.Settings.lineheight+this.Settings.margin.bottom)*this.av.LinesArray.length:this.height=e,this._viewRect.w=this.width,this._viewRect.h=e,this.playcanRef.changeAttr("height",e.toString()),this.graphicscanRef.changeAttr("height",e.toString()),this.mousecanRef.changeAttr("height",e.toString()),this.overlaynacRef.changeAttr("height",e.toString())},e.prototype.drawGrid=function(e,n,t){var l=this.Settings.timeline.enabled?this.Settings.timeline.height:0,i=Math.round(this._innerWidth/n),r=Math.round((this.Settings.lineheight-l)/e);this.g_context.beginPath(),this.g_context.strokeStyle=this.Settings.grid.color;for(var o=Math.round(i/2);o0&&(this.g_context.moveTo(0,0),this.g_context.beginPath(),this.g_context.arc(e,e,e-2,0,2*Math.PI,!1),this.g_context.strokeStyle="black",this.g_context.lineWidth=3,this.g_context.stroke())},e.prototype.drawCursor=function(e){e&&(this.m_context.clearRect(0,0,this._viewRect.w,this._viewRect.h),this.m_context.globalAlpha=1,this.m_context.strokeStyle=this.Settings.cursor.color,this.m_context.beginPath(),this.m_context.moveTo(this.av.Mousecursor.relPos.x,e.Pos.y-this._viewRect.y),this.m_context.lineTo(this.av.Mousecursor.relPos.x,e.Pos.y-this._viewRect.y+this.Settings.lineheight-1),this.m_context.stroke())},e.prototype.drawSegments=function(e){void 0===e&&(e=null),this.o_context.fillStyle="white",this.o_context.globalAlpha=1;var n=0,t=0,l=0,i=0;if(Object(Yt.isNullOrUndefined)(e)){if(l++,this.o_context.clearRect(0,0,this._viewRect.w,this._viewRect.h),this.Settings.boundaries.enabled&&this.transcr.currentlevel.segments.length>0){var r=this.transcr.currentlevel.segments.getSegmentsOfRange(this.audiochunk.time.start.samples,this.audiochunk.time.end.samples);this.o_context.globalAlpha=1;for(var o=0;o0&&(c=r[o-1]);var d=this.av.audioTCalculator.samplestoAbsX(c.time.samples),p=this._innerWidth=this._viewRect.lines.start&&h<=this._viewRect.lines.end||p>=this._viewRect.lines.start&&h>=this._viewRect.lines.end||p<=this._viewRect.lines.start&&h>=this._viewRect.lines.end)&&(u.time.samples>=this.audiochunk.time.start.samples&&u.time.samples<=this.audiochunk.time.end.samples||c.time.samples>=this.audiochunk.time.start.samples&&c.time.samples<=this.audiochunk.time.end.samples||c.time.samplesthis.audiochunk.time.end.samples))for(var f=Math.max(p,this._viewRect.lines.start);f<=Math.min(h,this._viewRect.lines.end);f++){var g=this.av.LinesArray[f];if(g){var m=g.Size.height,v=0;v=s%this._innerWidth+this.Settings.margin.left;var b=this.av.getRelativeSelectionByLine(g,c.time.samples,r[o].time.samples,this._innerWidth),y=0,_=b.start;b.start>-1&&b.end>-1&&(y=Math.abs(b.end-b.start)),(b.start<1||b.start>g.Size.width)&&(_=1),b.end<1&&(y=0),(b.end<1||b.end>g.Size.width)&&(y=b.end),""===u.transcript?(this.o_context.globalAlpha=.2,this.o_context.fillStyle="red"):u.transcript===this.transcr.break_marker.code?(this.o_context.globalAlpha=.2,this.o_context.fillStyle="blue"):""!==u.transcript&&(this.o_context.globalAlpha=.2,this.o_context.fillStyle="green"),n++,this.o_context.fillRect(_+this.Settings.margin.left-1,g.Pos.y-this._viewRect.y,y,m)}}else if(h>this._viewRect.lines.end+2)break;var w=this.av.LinesArray[h];if(h>=this._viewRect.lines.start&&h<=this._viewRect.lines.end&&!Object(Yt.isNullOrUndefined)(w)&&u.time.samples!==this.audioressource.info.duration.samples){var m=w.Size.height,v=0;v=this.Settings.multi_line?s%this._innerWidth+this.Settings.margin.left:s+this.Settings.margin.left,this.o_context.globalAlpha=.5,this.o_context.beginPath(),this.o_context.strokeStyle=this.Settings.boundaries.color,this.o_context.lineWidth=this.Settings.boundaries.width,this.o_context.moveTo(v,w.Pos.y-this._viewRect.y),this.o_context.lineTo(v,w.Pos.y-this._viewRect.y+m),this.o_context.stroke(),t++}}}if(!Object(Yt.isNullOrUndefined)(this.av.drawnselection))for(var S=this.av.audioTCalculator.samplestoAbsX(this.av.drawnselection.start.samples),k=this.av.audioTCalculator.samplestoAbsX(this.av.drawnselection.end.samples),p=this._innerWidth0?this.av.LinesArray[e.number-1]:e,x=e.number0&&(c=r[o-1]),c.time.samples>=j.samples&&u.time.samples<=T.samples||c.time.samples=j.samples||c.time.samples>=j.samples&&c.time.samples<=T.samples&&u.time.samples>T.samples||c.time.samplesT.samples){for(var I=O.number,E=x.number,f=I;f<=E;f++){var A=this.av.LinesArray[f],m=A.Size.height,v=0;v=s%this._innerWidth+this.Settings.margin.left;var b=this.av.getRelativeSelectionByLine(A,c.time.samples,r[o].time.samples,this._innerWidth),y=0,_=b.start;b.start>-1&&b.end>-1&&(y=Math.abs(b.end-b.start)),(b.start<1||b.start>A.Size.width)&&(_=1),b.end<1&&(y=0),(b.end<1||b.end>A.Size.width)&&(y=b.end),""===u.transcript?(this.o_context.globalAlpha=.2,this.o_context.fillStyle="red"):u.transcript===this.transcr.break_marker.code?(this.o_context.globalAlpha=.2,this.o_context.fillStyle="blue"):""!==u.transcript&&(this.o_context.globalAlpha=.2,this.o_context.fillStyle="green"),n++,this.o_context.fillRect(_+this.Settings.margin.left-1,A.Pos.y-this._viewRect.y,y,m)}var D=this._innerWidth=I&&D<=E){var m=w.Size.height,v=0;v=this.Settings.multi_line?s%this._innerWidth+this.Settings.margin.left:s+this.Settings.margin.left,this.o_context.globalAlpha=.5,this.o_context.beginPath(),this.o_context.strokeStyle=this.Settings.boundaries.color,this.o_context.lineWidth=this.Settings.boundaries.width,this.o_context.moveTo(v,w.Pos.y-this._viewRect.y),this.o_context.lineTo(v,w.Pos.y-this._viewRect.y+m),this.o_context.stroke(),t++}}}for(var p=O.number,h=x.number,f=p;f<=h;f++){var w=this.av.LinesArray[f];this.drawSelection(w),i++}}this.drawTimeLine();var L=new Rl("draw segments");L.addEntry("log","cleared: "+l),L.addEntry("log","drawn_areas: "+n),L.addEntry("log","drawn_boundaries: "+t),L.addEntry("log","drawn_selection: "+i)},e.prototype.onClick=function(e){var n=this,t=e.offsetX||e.pageX-jQuery(e.target).offset().left,l=(e.offsetY||e.pageY-jQuery(e.target).offset().left)+this._viewRect.y,i=this.av.getLineByMousePosition(t,l);i&&this.Settings.selection.enabled&&(this.av.setMouseClickPosition(t,l,i,e,this._innerWidth,this).then(function(e){n.drawPlayCursorOnly(e)}),this.drawCursor(this.av.LastLine),"mousedown"!==e.type&&this.selchange.emit(this.audiochunk.selection))},e.prototype.stopPlayback=function(){return this.audiochunk.stopPlayback()},e.prototype.pausePlayback=function(){this.audiochunk.pausePlayback()},e.prototype.startPlayback=function(){return!this.audiochunk.isPlaying&&this.av.MouseClickPos.absX0){var t=e.av.getLineByAbsX(e.av.PlayCursor.absX,e._innerWidth);t&&e.drawPlayCursorOnly(t)}},100),this.resizing=!1},e.prototype.getLocation=function(){var e=this.aview.elementRef.nativeElement.getBoundingClientRect();return{x:e.left,y:e.top}},e.prototype.selectSegment=function(e,n,t){if(void 0===n&&(n=function(){}),void 0===t&&(t=function(){}),e>-1){var l=this.transcr.currentlevel.segments.get(e);if(this.transcr.currentlevel.segments.getStartTime(e).samples>=this.audiochunk.time.start.samples&&l.time.samples<=this.audiochunk.time.end.samples){var i=this.av.audioTCalculator.samplestoAbsX(this.transcr.currentlevel.segments.get(e).time.samples),r=new bl(new Jt(0,this.audioressource.info.samplerate));e>0&&(r=this.transcr.currentlevel.segments.get(e-1));var o=this.av.audioTCalculator.samplestoAbsX(r.time.samples),u=this._innerWidth=this.viewRect.h&&("mac"===nl.os?this._viewRect.y=Math.max(0,this._viewRect.y-e.deltaY):this._viewRect.y=Math.max(0,this._viewRect.y+e.deltaY),this.scrollTo(this._viewRect.y))},e.prototype.scrollTo=function(e,n){var t=this;void 0===n&&(n=!1),this.height>=this.viewRect.h&&(this.scrolling.emit({state:"scrolling"}),this._viewRect.y=Math.max(0,e),this._viewRect.y=Math.min(this._viewRect.y,this.height-this._viewRect.h),this.updateVisibleLines(),Object(Yt.isNullOrUndefined)(this.wheeling)||window.clearTimeout(this.wheeling),this.wheeling=setTimeout(function(){n||t.scrolling.emit({state:"stopped"}),t.update(!1)},20))},e.prototype.onSliderChanged=function(e){this.height>=this.viewRect.h&&("mousemove"===e.type?this.scrollbar.dragging&&this.scrollTo(e.layerY/this._viewRect.h*this.height,!0):"mousedown"===e.type?this.scrollbar.dragging=!0:"mouseup"===e.type||"mouseleave"===e.type||"mouseout"===e.type?(this.scrolling.emit({state:"stopped"}),this.scrollbar.dragging=!1):"click"===e.type&&(this.scrollbar.dragging||this.scrollTo(e.layerY/this._viewRect.h*this.height,!1),this.scrollbar.dragging=!1))},e.ctorParameters=function(){return[{type:Ji},{type:Fi},{type:vi},{type:Ht.c}]},e}(),er=function(){function e(e,n){this.elementRef=e,this.renderer=n}return e.prototype.changeStyle=function(e,n){this.renderer.setElementStyle(this.elementRef.nativeElement,e,n)},e.prototype.changeAttr=function(e,n){this.renderer.setElementAttribute(this.elementRef.nativeElement,e,n)},e.ctorParameters=function(){return[{type:Wt.ElementRef},{type:Wt.Renderer}]},e}(),nr=function(){function e(){this.pos={x:0,y:0},this.initialized=!1,this.height=80,this.width=80}return Object.defineProperty(e.prototype,"zoomY",{get:function(){return this.loupe.zoomY},set:function(e){this.loupe.zoomY=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"Settings",{get:function(){return this.loupe.Settings},set:function(e){this.loupe.Settings=e},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){e.hasOwnProperty("height")&&(Object(Yt.isNullOrUndefined)(this.loupe)||(this.loupe.Settings.lineheight=e.height.currentValue,(Object(Yt.isNullOrUndefined)(this.loupe.Settings.lineheight)||this.loupe.Settings.lineheight<1)&&(this.loupe.Settings.lineheight=80),this.initialized&&this.loupe.update()))},e.prototype.ngAfterViewInit=function(){this.loupe.Settings.multi_line=!1,this.loupe.Settings.justify_signal_height=!1,this.loupe.Settings.boundaries.enabled=!0,this.loupe.Settings.disabled_keys=[],this.loupe.Settings.type="line",this.loupe.Settings.backgroundcolor="white",this.loupe.Settings.frame.color="transparent",this.loupe.Settings.cropping="circle",this.loupe.Settings.margin.left=0,this.loupe.Settings.margin.top=0,this.loupe.Settings.margin.right=0,this.loupe.Settings.margin.bottom=0,this.loupe.Settings.lineheight=this.height,this.loupe.Settings.selection.enabled=!1,this.loupe.Settings.shortcuts_enabled=!1,this.loupe.Settings.boundaries.enabled=!0,this.loupe.Settings.timeline.enabled=!1,this.loupe.viewer.round_values=!1,this.loupe.name="circleloupe",this.loupe.update(),this.initialized=!0},e.prototype.updateSegments=function(){this.loupe.update()},e.ctorParameters=function(){return[]},e}(),tr=function(){function e(){this.mousecursorchange=new Wt.EventEmitter,this.shortcuttriggered=new Wt.EventEmitter,this.segmententer=new Wt.EventEmitter,this.alerttriggered=new Wt.EventEmitter,this.pos={x:0,y:0},this.subscrmanager=new ol}return Object.defineProperty(e.prototype,"zoomY",{get:function(){return this.viewer.av.zoomY},set:function(e){this.viewer.av.zoomY=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"focused",{get:function(){return this.viewer.focused},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"MouseCursor",{get:function(){return this.viewer.MouseCursor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"margin",{get:function(){return this.viewer.margin},set:function(e){this.viewer.margin=e},enumerable:!0,configurable:!0}),e.prototype.getLocation=function(){var e=this.loupe.nativeElement.getBoundingClientRect();return{x:e.left,y:e.top}},Object.defineProperty(e.prototype,"Settings",{get:function(){return this.viewer.Settings},set:function(e){this.viewer.Settings=e},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){},e.prototype.ngOnInit=function(){if(Object(Yt.isNullOrUndefined)(this.height))throw new Error("you have to set [height] to the loupe component");this.viewer.Settings.multi_line=!1,this.viewer.Settings.lineheight=this.height,this.viewer.Settings.justify_signal_height=!0,this.viewer.Settings.boundaries.enabled=!0,this.viewer.Settings.disabled_keys=[],this.viewer.Settings.type="line"},e.prototype.ngAfterViewInit=function(){var e=this;this.subscrmanager.add(this.viewer.mousecursorchange.subscribe(function(n){e.mousecursorchange.emit(n)})),this.subscrmanager.add(this.viewer.shortcuttriggered.subscribe(function(n){e.shortcuttriggered.emit(n)})),this.subscrmanager.add(this.viewer.segmententer.subscribe(function(n){e.segmententer.emit(n)}))},e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy()},e.prototype.updateSegments=function(){this.viewer.drawSegments()},e.prototype.update=function(){this.viewer.name=this.name,this.viewer.update(!0)},e.prototype.onButtonClick=function(e){switch(e.type){case"play":this.viewer.startPlayback();break;case"pause":this.viewer.pausePlayback();break;case"stop":this.viewer.stopPlayback();break;case"replay":this.viewer.rePlayback();break;case"backward":this.viewer.stepBackward();break;case"backward time":this.viewer.stepBackwardTime(.5)}},e.prototype.selectSegment=function(e){this.viewer.selectSegment(e)},e.ctorParameters=function(){return[]},e}(),lr=function(){function e(){this.Settings={markers:[],disabled_keys:["ENTER","SHIFT + ENTER","TAB"],height:300,responsive:!1,special_markers:{boundary:!1}}}return e}(),ir=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])};return function(n,t){function l(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}}(),rr=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return ir(n,e),n.prototype.validate=function(e,n){var t="TranscrEditorConfig Validation - ";switch(e){case"height":if("number"==typeof n&&n>0)break;return{success:!1,error:t+"value of key '"+e+"' must be of type number greater 0"};case"disabled_keys":var l=!0;if(Object(Yt.isArray)(n)){for(var i=0;i"+e+"

";var n=jQuery(e),t=function(e,n){if(null!==jQuery(n).children()&&jQuery(n).children().length>0)jQuery.each(jQuery(n).children(),t);else{var i=jQuery(n).attr("data-marker-code");if("select-one"===n.type){i+="="+jQuery(n).attr("data-value")}if(i)for(var r=0;r","").replace("

","").replace(new RegExp("\\[\\|","g"),"{").replace(new RegExp("\\|\\]","g"),"}");t=""+l.rawToHTML(t)+"";var i=jQuery(t);Object(Yt.isNullOrUndefined)(l.rawText)||""===l._rawText?l.textfield.summernote("code",t):l.textfield.summernote("editor.insertNode",i[0]),l.updateTextField(),l.initPopover()},onChange:function(){l.init++,1===l.init?l.focus(!0):l.init>1&&l.textfield.summernote("restoreRange")},onBlur:function(){l.focused=!1},onFocus:function(){l.focused=!0},onMouseup:function(){l.selectionchanged.emit(l.caretpos)}}}),l.textfield.summernote("removeModule","statusbar"),l.textfield.summernote("removeModule","handle"),l.textfield.summernote("removeModule","hintPopover"),l.textfield.summernote("removeModule","imageDialog"),l.textfield.summernote("removeModule","airPopover"),l.segpopover=jQuery("
").addClass("panel").addClass("seg-popover").html("00:00:000"),l.segpopover.insertBefore(".note-editing-area"),l.loaded.emit(!0)},this.insertMarker=function(e,n){var t=document.createElement("img");t.setAttribute("src",n),t.setAttribute("class","btn-icon-text"),t.setAttribute("style","height:16px"),t.setAttribute("data-marker-code",e),t.setAttribute("alt",e),this.textfield.summernote("editor.insertNode",t),this.updateTextField()},this.onKeyDownSummernote=function(e){var n=sl.getShortcutCombination(e),t=nl.platform;if(""!==n)if(l.isDisabledKey(n))e.preventDefault();else if("ALT + S"===n&&l.Settings.special_markers.boundary)l.insertBoundary("assets/img/components/transcr-editor/boundary.png"),l.boundaryinserted.emit(l.audiochunk.playposition.samples),e.preventDefault();else for(var i=0;i=700&&(l._is_typing&&l.focused&&l.typing.emit("stopped"),l._is_typing=!1)},700),!l._is_typing&&l.focused&&l.typing.emit("started"),l._is_typing=!0,l.lastkeypress=Date.now()},this.focus=function(e){void 0===e&&(e=!1);var n=function(){try{""!==l.rawText&&"


"!==l.html&&al.placeAtEnd(jQuery(".note-editable.panel-body")[0]),l.textfield.summernote("focus")}catch(e){}};e?setTimeout(function(){n()},300):n()},this._settings=(new lr).Settings,this.subscrmanager=new ol,this.validateConfig()}return Object.defineProperty(e.prototype,"summernote",{get:function(){return this.textfield.summernote},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"caretpos",{get:function(){return this.focused?jQuery(".note-editable.panel-body:eq(0)").caret("pos"):-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rawText",{get:function(){return this.tidyUpRaw(this._rawText)},set:function(e){this._rawText=this.tidyUpRaw(e),this.init=0;var n=this.rawToHTML(this._rawText);this.textfield.summernote("code",n),this.initPopover()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audiomanager",{get:function(){return this.audiochunk.audiomanager},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"segments",{set:function(e){for(var n="",t=0;t":(l=" "+e.button_text+" ["+e.shortcut[t]+"]",n.Settings.responsive&&(l=" "));var i={contents:l,tooltip:e.description,click:function(){n.insertMarker(e.code,e.icon_url),n.marker_click.emit(e.name)}};return jQuery.summernote.ui.button(i).render()}},e.prototype.initPopover=function(){var e=this;jQuery(".btn-icon-text[data-samples]").off("click"),setTimeout(function(){jQuery(".btn-icon-text[data-samples]").on("click",function(n){var t=jQuery(n.target),l=t.attr("data-samples");Object(ur.isNumeric)(l)&&e.boundaryclicked.emit(Number(l))}).on("mouseover",function(n){var t=jQuery(n.target),l=jQuery(".seg-popover"),i=l.width(),r=l.height(),o=jQuery(".note-toolbar.panel-heading").offset(),u=t.attr("data-samples");if(!Object(Yt.isNullOrUndefined)(u)&&al.isNumber(u)){var a=Number(u),s=new Jt(a,e.audiomanager.ressource.info.samplerate);l.css({"margin-left":n.target.offsetLeft-i/2+"px","margin-top":t.offset().top-o.top-r-10+"px",display:"inherit"}),t.css({cursor:"pointer"});var c=new or,d=c.transform(s.unix.toString());l.text(d)}}).on("mouseleave",function(){jQuery(".seg-popover").css({display:"none"})})},200)},e.prototype.createCustomButtonsArray=function(){var e=this,n=[],t=function(){var n=e.langService.instant("special_markers.boundary.insert",{type:""}),t=e.langService.instant("special_markers.boundary.description",{type:""}),l="";e.easymode?l="":(l=" "+n+" [ALT + S]",e.Settings.responsive&&(l=" "));var i={contents:l,tooltip:t,click:function(){e.marker_click.emit("boundary"),e.insertBoundary("assets/img/components/transcr-editor/boundary.png")}};return jQuery.summernote.ui.button(i).render()};return n.push(t),n},e.prototype.insertBoundary=function(e){var n=this,t=document.createElement("img");t.setAttribute("src",e),t.setAttribute("class","btn-icon-text boundary"),t.setAttribute("style","height:16px"),t.setAttribute("data-samples",this.audiochunk.playposition.samples.toString()),t.setAttribute("alt","[|"+this.audiochunk.playposition.samples.toString()+"|]"),this.textfield.summernote("editor.insertText"," "),this.textfield.summernote("editor.insertNode",t),this.textfield.summernote("editor.insertText"," "),setTimeout(function(){jQuery(t).on("click",function(e){var t=jQuery(e.target),l=t.attr("data-samples");Object(ur.isNumeric)(l)&&n.boundaryclicked.emit(Number(l))}).on("mouseover",function(e){var t=jQuery(e.target),l=jQuery(".seg-popover"),i=l.width(),r=l.height(),o=jQuery(".note-toolbar.panel-heading").offset(),u=t.attr("data-samples");if(!Object(Yt.isNullOrUndefined)(u)&&al.isNumber(u)){var a=Number(u),s=new Jt(a,n.audiomanager.ressource.info.samplerate);l.css({"margin-left":e.target.offsetLeft-i/2+"px","margin-top":t.offset().top-o.top-r-10+"px",display:"inherit"}),t.css({cursor:"pointer"});var c=new or,d=c.transform(s.unix.toString());l.text(d)}}).on("mouseleave",function(){jQuery(".seg-popover").css({display:"none"})})},200),this.updateTextField()},e.prototype.updateTextField=function(){this._rawText=this.getRawText()},e.prototype.isDisabledKey=function(e){for(var n=0;n-1},e.prototype.rawToHTML=function(e){var n=e;if(""!==e){n=n.replace(/\r?\n/g," ");for(var t=this,l=0;l"+o},u=function(e,n){return" [|"+n+"|] "};n=n.replace(r,u),n=n.replace(i,o)}(l);n=n.replace(/\s+$/g," ")}return n=""!==n?"

"+n+"

":"


"},e.prototype.tidyUpRaw=function(e){return tidyUpAnnotation(e,this.transcrService.guidelines)},e.prototype.validateConfig=function(){var e=new rr,n=e.validateObject(this._settings);if(!n.success)throw new Error(n.error)},e.prototype.saveRange=function(){this.textfield.summernote("saveRange")},e.prototype.restoreRange=function(){this.textfield.summernote("restoreRange")},e.prototype.getSegmentByCaretPos=function(e){for(var n=this.getRawText(),t=/{([0-9]+)}/g,l=0;l1){if(0===e)return 0;if(e>=n.replace(/\s?{([0-9]+)}\s?/g," ").length)return u.length-1;for(var l=0;l=e)return Math.max(0,l-1);a+=s.length-1}if(a>=e)return u.length-1}return-1},e.ctorParameters=function(){return[{type:Wt.ChangeDetectorRef},{type:Ht.c},{type:Fi}]},e}(),sr=function(){function e(e,n){var t=this;this.cd=e,this.msgService=n,this.state="inactive",this.text="",this.type="error",this.show=!1,this.showMessage=function(e,n){t.show=!0,t.state="active",t.type=e,t.text=n,t.cd.markForCheck(),setTimeout(function(){t.state="inactive",t.cd.markForCheck()},3e3)},this.subscrmanager=new ol}return e.prototype.ngOnInit=function(){var e=this;this.state="inactive",this.show=!1,this.cd.markForCheck(),this.subscrmanager.add(this.msgService.showmessage.subscribe(function(n){e.showMessage(n.type,n.message)}))},e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy()},e.ctorParameters=function(){return[{type:Wt.ChangeDetectorRef},{type:Bi}]},e}(),cr=function(){function e(){this.innerhtml="",this.height="auto",this.clicklocked=!1,this.afterdrop=new Wt.EventEmitter,this.fileAPIsupported=!1,this._files=null,this.old_files=null}return Object.defineProperty(e.prototype,"files",{get:function(){return this._files},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sessionfile",{get:function(){return this._sessionfile},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){window.File&&window.FileReader&&window.FileList&&window.Blob&&(this.fileAPIsupported=!0)},e.prototype.onDragOver=function(e){e.stopPropagation(),e.preventDefault(),e.dataTransfer.dropEffect="copy"},e.prototype.onFileDrop=function(e){if(e.stopPropagation(),e.preventDefault(),this.fileAPIsupported){var n=e.dataTransfer.files;this._files=n,this.afterdrop.emit(this._files)}},e.prototype.onClick=function(e){this.clicklocked||(this.fileinput.nativeElement.click(),e.target.files===this._files&&this.afterdrop.emit(this._files))},e.prototype.onFileChange=function(e){var n=e.target.files;this._files=n,this.afterdrop.emit(this._files)},e.ctorParameters=function(){return[]},e}();!function(e){e[e.LOG=0]="LOG",e[e.INFO=1]="INFO",e[e.WARN=2]="WARN",e[e.ERROR=3]="ERROR"}(Li||(Li={}));var dr=function(){function e(e,n,t,l){this.langService=e,this.appStorage=n,this.settService=t,this.http=l,this._console=[]}return Object.defineProperty(e.prototype,"console",{get:function(){return this._console},enumerable:!0,configurable:!0}),e.prototype.init=function(e){this.transcrService=e},e.prototype.addEntry=function(e,n){var t={type:e,message:n};this._console.push(t)},e.prototype.clear=function(){this._console=[]},e.prototype.getPackage=function(){var e={octra:{version:hi.version,language:this.langService.currentLang,signed_in:this.appStorage.logged_in,dataid:this.appStorage.data_id,localmode:this.appStorage.uselocalmode},system:{os:{name:nl.os.family,version:nl.os.version},browser:nl.browser+" "+nl.version,version:nl.os.version},entries:this._console};if(!Object(Yt.isNullOrUndefined)(this.transcrService)){var n=al.getFileSize(this.transcrService.audiofile.size);e.octra.audiofile_size=n.size+" "+n.label,e.octra.audiofile_duration=this.transcrService.audiomanager.ressource.info.duration.seconds,e.octra.audiofile_samplerate=this.transcrService.audiofile.samplerate,e.octra.audiofile_bitrate=this.transcrService.audiomanager.ressource.info.bitrate,e.octra.audiofile_channels=this.transcrService.audiomanager.ressource.info.channels,e.octra.audiofile_type=this.transcrService.audiomanager.ressource.extension,e.octra.levels=this.transcrService.annotation.levels.length,e.octra.currentlevel=this.transcrService.selectedlevel,e.octra.segments=this.transcrService.currentlevel.segments.length}return e},e.prototype.getText=function(){for(var e=this.settService.app_settings.octra.bugreport,n=0;n0?this.valid_platform=this.browser_check.isValidBrowser(this.apc.octra.allowed_browsers):this.valid_platform=!0,!1===this.settingsService.responsive.enabled?this.valid_size=window.innerWidth>=this.settingsService.responsive.fixedwidth:this.valid_size=!0;var n=function(){Object(Yt.isNullOrUndefined)(e.appStorage.user)||"-1"===e.appStorage.user.id||(e.member.id=e.appStorage.user.id),!Object(Yt.isNullOrUndefined)(e.appStorage.user)&&e.appStorage.user.hasOwnProperty("project")&&(e.member.project=e.appStorage.user.project),!Object(Yt.isNullOrUndefined)(e.appStorage.user)&&e.appStorage.user.hasOwnProperty("jobno")&&null!==e.appStorage.user.jobno&&e.appStorage.user.jobno>-1&&(e.member.jobno=e.appStorage.user.jobno.toString())};this.appStorage.idbloaded?n():this.subscrmanager.add(this.appStorage.loaded.subscribe(function(){},function(){},function(){n()}))},e.prototype.ngAfterViewInit=function(){this.loadPojectsList()},e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy()},e.prototype.onSubmit=function(e){var n=this,t=!1,l=!1,i=!1;(Object(Yt.isNullOrUndefined)(this.member.jobno)||""===this.member.jobno)&&(this.member.jobno="0"),null!==this.appStorage.sessionfile?t=!0:!Object(Yt.isNullOrUndefined)(this.appStorage.data_id)&&Object(Yt.isNumber)(this.appStorage.data_id)?Object(Yt.isNullOrUndefined)(this.appStorage.user.project)||Object(Yt.isNullOrUndefined)(this.appStorage.user.jobno)||Object(Yt.isNullOrUndefined)(this.appStorage.user.id)||(this.appStorage.user.id===this.member.id&&Number(this.appStorage.user.jobno)===Number(this.member.jobno)&&this.appStorage.user.project===this.member.project?i=!0:l=!0):t=!0,l&&this.setOnlineSessionToFree(function(){n.createNewSession(e)}),t?this.createNewSession(e):i&&this.subscrmanager.add(this.api.fetchAnnotation(this.appStorage.data_id).subscribe(function(t){var l=t.json();if(l.hasOwnProperty("message")){var i=""===l.message?"0":l.message;n.appStorage.sessStr.store("jobs_left",Number(i))}if(e.valid&&n.agreement_checked&&"0"!==l.message){null!==n.appStorage.sessionfile&&n.appStorage.clearLocalStorage();var r=n.appStorage.setSessionData(n.member,l.data.id,l.data.url);""===r.error?n.navigate():alert(r.error)}else n.modService.show("login_invalid")},function(e){return n.modService.show("error","Server cannot be requested. Please check if you are online."),zl.Observable.throw(e)}))},e.prototype.canDeactivate=function(){return this.valid},e.prototype.onResize=function(e){!1===this.settingsService.responsive.enabled?this.valid_size=window.innerWidth>=this.settingsService.responsive.fixedwidth:this.valid_size=!0},e.prototype.getDropzoneFileString=function(e){var n=al.getFileSize(e.size);return al.buildStr("{0} ({1} {2})",[e.name,Math.round(100*n.size)/100,n.label])},e.prototype.getFileStatus=function(){return!Object(Yt.isNullOrUndefined)(this.dropzone.files)&&this.dropzone.files.length>0&&!Object(Yt.isNullOrUndefined)(this.dropzone.oaudiofile)?Object(Yt.isNullOrUndefined)(this.appStorage.sessionfile)||this.dropzone.oaudiofile.name===this.appStorage.sessionfile.name&&Object(Yt.isNullOrUndefined)(this.dropzone.oannotation)?"start":"new":"unknown"},e.prototype.getValidBrowsers=function(){for(var e="",n=0;n0&&(n.appStorage.servertranscipt=t)}if(l.hasOwnProperty("message")){var i=""===l.message?"0":l.message;n.appStorage.sessStr.store("jobs_left",Number(i))}""===e.error?n.navigate():n.modService.show("error",e.error)}).catch(function(e){console.error(e)})):n.modService.show("login_invalid")}))},e.prototype.testFile=function(e,n){var t=new FileReader;t.onload=function(e){},t.readAsText(n),t.readAsText(n,"utf-8")},e.ctorParameters=function(){return[{type:hr.k},{type:Oi},{type:Fl},{type:Wt.ChangeDetectorRef},{type:Ri},{type:mi},{type:Ht.c},{type:fi}]},e}(),vr=function(){function e(e,n,t){this.router=e,this.sessionService=n,this.settingsService=t,this.valid=!1,this.member={id:"",pw:""}}return e.prototype.ngOnInit=function(){var e=this;this.settingsService.clearSettings(),this.sessionService.endSession(this.sessionService.uselocalmode,function(){e.router.navigate(["login"])})},e.ctorParameters=function(){return[{type:hr.k},{type:Oi},{type:Ri}]},e}(),br=function(){function e(e,n){this.router=e,this.settService=n,this.subscrmanager=new ol}return e.ctorParameters=function(){return[{type:hr.k},{type:Ri}]},e}(),yr=function(){function e(e,n,t,l,i,r,o,u){this.transcrService=e,this.keyMap=n,this.audio=t,this.uiService=l,this.cd=i,this.msg=r,this.settingsService=o,this.appStorage=u,this.showWindow=!1,this.loupe_hidden=!0,this.mousestate="initiliazied",this.intervalID=null,this.factor=8,this.miniloupe={size:{width:160,height:160},location:{x:0,y:0}},this.scrolltimer=null,this.shortcuts={},this.subscrmanager=new ol}return Object.defineProperty(e.prototype,"editor",{get:function(){return Object(Yt.isNullOrUndefined)(this.window)?null:this.window.editor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"getHeight",{get:function(){return window.innerHeight-350},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"app_settings",{get:function(){return this.settingsService.app_settings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this.settingsService.projectsettings},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var n=this;this.audiomanager=this.audio.audiomanagers[0],this.audiochunk_lines=this.audiomanager.mainchunk.clone(),this.audiochunk_loupe=this.audiomanager.mainchunk.clone(),this.audiochunk_window=this.audiomanager.mainchunk.clone(),this.shortcuts=this.keyMap.register("2D-Editor",this.viewer.Settings.shortcuts);var t={jump_left:{keys:{mac:"ALT + ARROWLEFT",pc:"ALT + ARROWLEFT"},focusonly:!1,title:"jump_last_segment"},jump_right:{keys:{mac:"ALT + ARROWRIGHT",pc:"ALT + ARROWRIGHT"},focusonly:!1,title:"jump_next_segment"},close_save:{keys:{mac:"ALT + ARROWDOWN",pc:"ALT + ARROWDOWN"},focusonly:!1,title:"close_save"}};this.keyMap.register("Transcription Window",t),this.viewer.Settings.multi_line=!0,this.viewer.Settings.lineheight=70,this.viewer.Settings.margin.bottom=5,this.viewer.Settings.margin.right=0,this.viewer.Settings.justify_signal_height=!0,this.viewer.Settings.scrollable=!0,this.viewer.Settings.margin.right=20,this.viewer.Settings.round_values=!1,this.viewer.Settings.step_width_ratio=this.viewer.Settings.pixel_per_sec/this.audiomanager.ressource.info.samplerate,this.viewer.alerttriggered.subscribe(function(e){n.msg.showMessage(e.type,e.message)}),this.subscrmanager.add(this.keyMap.onkeydown.subscribe(function(e){var t=e.event;n.viewer.focused&&("+"===t.key?(n.factor=Math.min(20,n.factor+1),n.changeArea(n.loupe,n.miniloupe,n.factor)):"-"===t.key&&n.factor>3&&(n.factor=Math.max(1,n.factor-1),n.changeArea(n.loupe,n.miniloupe,n.factor)))})),this.subscrmanager.add(this.audiochunk_lines.statechange.subscribe(function(e){e===rl.PLAYING?Object(Yt.isNullOrUndefined)(n.appStorage.followplaycursor)||!0!==n.appStorage.followplaycursor||(n.scrolltimer=xi.Observable.interval(1e3).subscribe(function(){var e=n.viewer.av.audioTCalculator.samplestoAbsX(n.audiochunk_lines.playposition.samples),t=Math.floor(e/n.viewer.innerWidth)*n.viewer.Settings.lineheight;(t+=10+Math.floor(e/n.viewer.innerWidth)*n.viewer.Settings.margin.bottom)>n.viewer.viewRect.h&&n.viewer.scrollTo(t)})):null!==n.scrolltimer&&n.scrolltimer.unsubscribe()})),e.initialized.emit()},e.prototype.ngOnChanges=function(e){},e.prototype.ngOnDestroy=function(){clearInterval(this.intervalID),this.subscrmanager.destroy(),null!==this.scrolltimer&&this.scrolltimer.unsubscribe()},e.prototype.ngAfterViewInit=function(){var e=this;this.audiochunk_lines.channel&&this.viewer.initialize(),this.subscrmanager.add(this.transcrService.segmentrequested.subscribe(function(n){e.openSegment(n)})),this.loupe.zoomY=this.factor,this.viewer.update(!0)},e.prototype.ngAfterContentChecked=function(){},e.prototype.onSegmentEntered=function(e){if(this.transcrService.currentlevel.segments&&e.index>-1&&e.index0?this.transcrService.currentlevel.segments.get(e.index-1).time.clone():new Jt(0,this.audiomanager.ressource.info.samplerate);n&&(this.selected_index=e.index,this.audiochunk_window=new ul(new il(t,n.time.clone()),this.audiomanager),this.viewer.deactivate_shortcuts=!0,this.viewer.focused=!1,this.showWindow=!0)}},e.prototype.onWindowAction=function(e){if("close"===e){this.showWindow=!1,this.viewer.deactivate_shortcuts=!1,this.selected_index=this.window.segment_index,this.viewer.selectSegment(this.selected_index),this.viewer.drawSegments();var n=this.transcrService.currentlevel.segments.get(this.selected_index),t=this.viewer.av.audioTCalculator.samplestoAbsX(n.time.samples),l=(jQuery("#special").height(),Math.floor(t/this.viewer.innerWidth)*this.viewer.Settings.lineheight);l+=10+Math.floor(t/this.viewer.innerWidth)*this.viewer.Settings.margin.bottom,al.scrollTo(l,"#special")}},e.prototype.onSegmentSelected=function(e){},e.prototype.onMouseOver=function(){var e=this;Object(Yt.isNullOrUndefined)(this.mouseTimer)||window.clearTimeout(this.mouseTimer),this.mousestate="moving",!this.audiomanager.audioplaying&&this.appStorage.playonhover&&(this.audiochunk_lines.selection.start.samples=this.viewer.av.Mousecursor.timePos.samples,this.audiochunk_lines.selection.end.samples=this.viewer.av.Mousecursor.timePos.samples+this.audiomanager.ressource.info.samplerate/10,this.audiochunk_lines.startPlayback(function(){},!0)),this.changePosition(this.miniloupe),this.mouseTimer=window.setTimeout(function(){e.changeArea(e.loupe,e.miniloupe,e.factor),e.mousestate="ended"},20)},e.prototype.onSegmentChange=function(e){},e.prototype.changeArea=function(e,n,t){var l=this.viewer.MouseCursor;if(l&&l.timePos&&l.relPos){n.location.x=l.relPos.x?l.relPos.x-n.size.width/2:0,n.location.y=l.line?l.line.number*l.line.Size.height+l.line.number*this.viewer.Settings.margin.bottom:0,n.location.y+=this.viewer.Settings.lineheight-15-this.viewer.viewRect.y;var i=Math.round(this.audiomanager.ressource.info.samplerate/t),r=l.timePos.samples>i?new Jt(l.timePos.samples-i,this.audiomanager.ressource.info.samplerate):new Jt(0,this.audiomanager.ressource.info.samplerate),o=l.timePos.samples-1){var l=this.transcrService.currentlevel.segments.get(this.selected_index);t.start=l.time.samples,t.length=this.selected_index-1){var t=this.transcrService.currentlevel.segments.get(this.selected_index);n.start=t.time.samples,n.length=this.selected_index-1){var t=this.transcrService.currentlevel.segments.get(this.selected_index);n.start=t.time.samples,n.length=this.selected_index-1){var l=this.transcrService.currentlevel.segments.get(this.selected_index);t.start=l.time.samples,t.length=this.selected_index3&&(n.factor=Math.max(1,n.factor-1),n.miniloupe.zoomY=Math.max(4,n.factor),n.viewer.focused?n.changeArea(n.audiochunk_loupe,n.viewer,n.mini_loupecoord,n.viewer.MouseCursor.timePos.samples,n.viewer.MouseCursor.relPos.x,n.factor):!Object(Yt.isNullOrUndefined)(n.loupe)&&n.loupe.focused&&n.changeArea(n.audiochunk_loupe,n.loupe.viewer,n.mini_loupecoord,n.viewer.MouseCursor.timePos.samples,n.loupe.MouseCursor.relPos.x,n.factor)))})),e.initialized.emit()},e.prototype.ngOnChanges=function(e){},e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy(),this.keyMap.unregister("AV"),this.keyMap.unregister("Loupe")},e.prototype.onButtonClick=function(e){var n=this.editor.caretpos;switch(this.uiService.addElementFromEvent("mouseclick",{value:e.type},e.timestamp,this.audiomanager.playposition,n,"audio_buttons"),e.type){case"play":this.viewer.startPlayback();break;case"pause":this.viewer.pausePlayback();break;case"stop":this.viewer.stopPlayback();break;case"replay":this.nav.replay=this.viewer.rePlayback();break;case"backward":this.viewer.stepBackward();break;case"backward time":this.viewer.stepBackwardTime(.5)}},e.prototype.ngAfterViewInit=function(){var e=this;this.cd.detectChanges(),this.miniloupe.zoomY=this.factor,this.subscrmanager.add(this.transcrService.segmentrequested.subscribe(function(n){e.openSegment(n)}))},e.prototype.test=function(e){e&&(e.length>0?(e.checkSelection(),this.segmentselected=!1,this.audiochunk_down.destroy(),this.audiochunk_down=new ul(this.audiochunk_top.selection.clone(),this.audiomanager),this.top_selected=!0):this.top_selected=!1)},e.prototype.onAlertTriggered=function(e){this.msg.showMessage(e.type,e.message)},e.prototype.onSegmentChange=function(){Object(Yt.isNullOrUndefined)(this.loupe)||this.loupe.update(),this.viewer.update(),this.saving=!1},e.prototype.onMouseOver=function(e){var n=this;Object(Yt.isNullOrUndefined)(this.mouseTimer)||window.clearTimeout(this.mouseTimer),this.mini_loupecoord.component=this.viewer,!this.audiomanager.audioplaying&&this.appStorage.playonhover&&(this.audiochunk_top.selection.start=this.viewer.av.Mousecursor.timePos.clone(),this.audiochunk_top.selection.end.samples=this.viewer.av.Mousecursor.timePos.samples+this.audiomanager.ressource.info.samplerate/10,this.audiochunk_top.startPlayback(function(){},!0));this.viewer.getLocation();this.mini_loupecoord.y=this.viewer.Settings.lineheight,this.appStorage.uselocalmode&&(this.mini_loupecoord.y+=24),this.mouseTimer=window.setTimeout(function(){n.changeArea(n.audiochunk_loupe,n.viewer,n.mini_loupecoord,n.viewer.MouseCursor.timePos.samples,n.viewer.MouseCursor.relPos.x,n.factor)},20)},e.prototype.changeArea=function(e,n,t,l,i,r){void 0===r&&(r=4);var o=n.Chunk.time.duration.samples/this.audiomanager.ressource.info.duration.samples*this.audiomanager.ressource.info.samplerate/r;if(l&&i>-1){t.x=i?i-80:0;var u=Math.round(o),a=l>u?new Jt(l-u,this.audiomanager.ressource.info.samplerate):new Jt(0,this.audiomanager.ressource.info.samplerate),s=l0&&(i=n.transcrService.currentlevel.segments.get(e-1).time),t(new il(i,l.time))})},e.prototype.onTranscriptionChanged=function(e){this.save()},e.prototype.save=function(){if(this.segmentselected&&this.selected_index>-1&&this.transcrService.currentlevel.segments&&this.selected_index-1){var i=this.transcrService.currentlevel.segments.get(this.selected_index);l.start=i.time.samples,l.length=this.selected_index-1){var n=this.transcrService.currentlevel.segments.get(this.selected_index).time.samples,t=0;this.selected_index>0&&(t=this.transcrService.currentlevel.segments.get(this.selected_index-1).time.samples),(this.loupe.viewer.MouseCursor.timePos.samplesn)&&(this.segmentselected=!1)}},e.prototype.onMarkerInsert=function(e){if(this.appStorage.logging){var n={start:-1,length:-1,textlength:-1};if(this.segmentselected&&this.selected_index>-1){var t=this.transcrService.currentlevel.segments.get(this.selected_index);n.start=t.time.samples,n.length=this.selected_index-1){var t=this.transcrService.currentlevel.segments.get(this.selected_index);n.start=t.time.samples,n.length=this.selected_index-1){var t=this.transcrService.currentlevel.segments.get(this.selected_index);n.start=t.time.samples,n.length=this.selected_index-1){var t=this.transcrService.currentlevel.segments.get(this.selected_index);n.start=t.time.samples,n.length=this.selected_index0&&(this.editor.segments=this.transcrService.currentlevel.segments),this.editor.Settings.height=100,this.editor.update()},e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy()},e.prototype.ngOnChanges=function(e){},e.prototype.highlightSegment=function(e){jQuery(".note-editable.panel-body textspan").css({"background-color":""}),jQuery(".note-editable.panel-body textspan:eq("+e+")").css({"background-color":"yellow"})},e.prototype.onButtonClick=function(e){switch(this.uiService.addElementFromEvent("mouseclick",{value:e.type},e.timestamp,this.audiomanager.playposition,this.editor.caretpos,"audio_buttons"),e.type){case"play":this.audioplayer.startPlayback();break;case"pause":this.audioplayer.pausePlayback();break;case"stop":this.audioplayer.stopPlayback();break;case"replay":this.audioplayer.rePlayback();break;case"backward":this.audioplayer.stepBackward();break;case"backward time":this.audioplayer.stepBackwardTime(.5)}},e.prototype.onSpeedChange=function(e){this.audiochunk.speed=e.new_value},e.prototype.afterSpeedChange=function(e){this.uiService.addElementFromEvent("slider",e,e.timestamp,this.audiomanager.playposition,this.editor.caretpos,"audio_speed")},e.prototype.onVolumeChange=function(e){this.audiochunk.volume=e.new_value},e.prototype.afterVolumeChange=function(e){this.uiService.addElementFromEvent("slider",e,e.timestamp,this.audiomanager.playposition,this.editor.caretpos,"audio_volume")},e.prototype.afterTyping=function(e){"stopped"===e&&(this.saveTranscript(),this.highlight())},e.prototype.onShortcutTriggered=function(e){e.value="audio:"+e.value,this.uiService.addElementFromEvent("shortcut",e,Date.now(),this.audiomanager.playposition,this.editor.caretpos,"texteditor")},e.prototype.onBoundaryClicked=function(e){var n=this,t=this.transcrService.currentlevel.segments.getSegmentBySamplePosition(e);if(this.boundaryselected=!0,t>-1){var l=t>0?this.transcrService.currentlevel.segments.get(t-1).time.samples:0,i=this.subscrmanager.add(this.audiochunk.statechange.subscribe(function(e){if(e===rl.STOPPED){n.audiochunk.startpos=new Jt(l,n.audiomanager.ressource.info.samplerate),n.audiochunk.selection.end=n.transcrService.currentlevel.segments.get(t).time.clone(),n.audioplayer.update(),n.subscrmanager.remove(i);var r=n.subscrmanager.add(n.audiochunk.statechange.subscribe(function(e){n.boundaryselected=!1,n.audiochunk.isPlaybackEnded&&(n.audiochunk.startpos=n.audiochunk.selection.end.clone(),n.audioplayer.update()),e!==rl.STOPPED&&e!==rl.PAUSED&&e!==rl.ENDED||n.subscrmanager.remove(r)},function(e){console.error(e)}));n.audioplayer.startPlayback(!0)}},function(e){console.error(e)}));this.audiochunk.stopPlayback()}else this.boundaryselected=!1},e.prototype.onBoundaryInserted=function(){this.uiService.addElementFromEvent("segment",{value:"boundaries:add"},Date.now(),this.audiomanager.playposition,this.editor.caretpos,"texteditor")},e.prototype.onMarkerInsert=function(e){this.uiService.addElementFromEvent("shortcut",{value:"markers:"+e},Date.now(),this.audiomanager.playposition,this.editor.caretpos,"texteditor")},e.prototype.onMarkerClick=function(e){this.afterTyping("stopped"),this.uiService.addElementFromEvent("mouseclick",{value:e},Date.now(),this.audiomanager.playposition,this.editor.caretpos,"texteditor_toolbar")},e.prototype.saveTranscript=function(){var e=this.editor.html.replace(/( )+/g," ");e=e.replace(/()|(<\/textspan>)/g,"");var n=e.split(/\s*\[\|[0-9]+\|\]\s*/g),t=[];if(e.replace(/\s*\[\|[0-9]+\|\]\s*/g,function(e,n,l){return t.push(Number(n)),""}),n=n.map(function(e){return e.replace(/()|(<\/span>)|(

)|(<\/p>)/g,"")}),n.length>1)for(var l=0,i=0;il?l=t[i]:(t.splice(i,1),n[i+1]=n[i]+n[i+1],n.splice(i,1),--i);n=n.map(function(e){return e.replace(/(^\s+)|(\s+$)/g,"")});for(var i=0;in.length){this.transcrService.currentlevel.segments.segments.splice(n.length,a-n.length);this.transcrService.currentlevel.segments.get(n.length-1).time.samples=this.audiochunk.time.end.samples}},e.prototype.highlight=function(){var e=this.editor.html.replace(/ /g," "),n=[];e.replace(/\s?\[\|[0-9]+\|\]\s?/g,function(e,t,l){return n.push(Number(t)),""});for(var t=0,l=0;lt?(jQuery(".note-editable.panel-body img[data-samples]:eq("+l+")").css({"background-color":"white"}),t=n[l]):jQuery(".note-editable.panel-body img[data-samples]:eq("+l+")").css({"background-color":"red"})},e.prototype.update=function(){this.audiochunk.startpos=this.audiochunk.time.start,this.audioplayer.update(),this.loadEditor()},e.prototype.onSelectionChanged=function(e){},e.ctorParameters=function(){return[{type:fi},{type:vi},{type:Fi},{type:Ci},{type:Ri},{type:Oi}]},e}();wr.editorname="Editor without signal display",wr.initialized=new Wt.EventEmitter;var Sr,kr=[{name:wr.editorname,editor:wr,translate:"interfaces.simple editor",icon:''},{name:_r.editorname,editor:_r,translate:"interfaces.linear editor",icon:''},{name:yr.editorname,editor:yr,translate:"interfaces.2D editor",icon:''}],Or=function(){function e(e,n,t,l,i,r){this.appStorage=e,this.navbarServ=n,this.sanitizer=t,this.langService=l,this.modService=i,this.settService=r,this.test="ok",this.parentformat={download:"",uri:""},this.collapsed=!0,this.preparing={name:"",preparing:!1},this.subscrmanager=new ol}return Object.defineProperty(e.prototype,"converters",{get:function(){return hi.converters},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"AppInfo",{get:function(){return hi},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"transcrServ",{get:function(){return this.navbarServ.transcrService},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"uiService",{get:function(){return this.navbarServ.uiService},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"editors",{get:function(){return kr},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dat",{get:function(){return JSON.stringify(this.transcrServ.exportDataToJSON(),null,3)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"UIElements",{get:function(){return Object(Yt.isNullOrUndefined)(this.uiService)?null:this.uiService.elements},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy()},e.prototype.ngOnInit=function(){var e=this;this.subscrmanager.add(this.navbarServ.onclick.subscribe(function(n){switch(n){case"export":e.modalexport.open()}}))},e.prototype.ngAfterViewInit=function(){!function(e){e(function(){e(document).on("click",".options-menu",function(e){e.stopPropagation()})})}(jQuery),jQuery(document).on("mouseleave",".navbar-collapse.collapse.in",function(e){jQuery(".navbar-header button").click()}),setTimeout(function(){jQuery.material.init()},200)},e.prototype.setInterface=function(e){this.appStorage.Interface=e,this.navbarServ.interfacechange.emit(e)},e.prototype.onNavBarLeave=function(e){e.target.click()},e.prototype.getTextFile=function(){},e.prototype.sanitize=function(e){return this.sanitizer.bypassSecurityTrustUrl(e)},e.prototype.changeLanguage=function(e){this.langService.use(e),this.appStorage.language=e},e.prototype.interfaceActive=function(e){return!Object(Yt.isNullOrUndefined)(this.navbarServ.interfaces.find(function(n){return e===n}))},e.prototype.toggleSettings=function(e){this.appStorage[e]=!this.appStorage[e],"logging"===e&&(this.uiService.enabled=this.appStorage[e])},e.prototype.onOptionsOpened=function(){this.collapsed=!0},e.prototype.openBugReport=function(){this.modService.show("bugreport")},e.prototype.updateParentFormat=function(e){var n=this;if(!this.preparing.preparing){var t=this.navbarServ.transcrService.annotation.getObj();this.preparing={name:e.name,preparing:!0},setTimeout(function(){"Bundle"===e.name&&(n.navbarServ.transcrService.audiofile.arraybuffer=n.transcrServ.audiomanager.ressource.arraybuffer);var l=e.export(t,n.navbarServ.transcrService.audiofile).file;n.parentformat.download=l.name,window.URL=window.URL||window.webkitURL||!1,null!==n.parentformat.uri&&window.URL.revokeObjectURL(n.parentformat.uri.toString());var i=new File([l.content],l.name),r=window.URL.createObjectURL(i);n.parentformat.uri=n.sanitize(r),n.preparing={name:e.name,preparing:!1}},300)}},e.prototype.getAudioURI=function(){if(Object(Yt.isNullOrUndefined)(this.transcrServ)||Object(Yt.isNullOrUndefined)(this.transcrServ.audiomanager.ressource.arraybuffer))console.error("can't get audio file");else{this.preparing={name:"Audio",preparing:!0},this.parentformat.download=this.transcrServ.audiomanager.ressource.name+this.transcrServ.audiomanager.ressource.extension,window.URL=window.URL||window.webkitURL||!1,null!==this.parentformat.uri&&window.URL.revokeObjectURL(this.parentformat.uri.toString());var e=new File([this.transcrServ.audiomanager.ressource.arraybuffer],this.parentformat.download),n=window.URL.createObjectURL(e);this.parentformat.uri=this.sanitize(n),this.preparing={name:"Audio",preparing:!1}}},e.prototype.getProtocol=function(){if(Object(Yt.isNullOrUndefined)(this.transcrServ))console.error("can't get protocol file");else{this.preparing={name:"Protocol",preparing:!0},this.parentformat.download=this.transcrServ.audiofile.name+".json",window.URL=window.URL||window.webkitURL||!1,null!==this.parentformat.uri&&window.URL.revokeObjectURL(this.parentformat.uri.toString());var e=new File([JSON.stringify(this.transcrServ.extractUI(this.uiService.elements),null,2)],this.parentformat.download),n=window.URL.createObjectURL(e);this.parentformat.uri=this.sanitize(n),this.preparing={name:"Protocol",preparing:!1}}},Object.defineProperty(e.prototype,"arraybufferExists",{get:function(){return!Object(Yt.isNullOrUndefined)(this.transcrServ)&&!Object(Yt.isNullOrUndefined)(this.transcrServ.audiomanager.ressource.arraybuffer)&&this.transcrServ.audiomanager.ressource.arraybuffer.byteLength>0},enumerable:!0,configurable:!0}),e.prototype.getText=function(){return Object(Yt.isNullOrUndefined)(this.transcrServ)?"":this.navbarServ.transcrService.getTranscriptString(new Dl)},e.prototype.clearElements=function(){this.uiService.clear(),this.appStorage.clearLoggingData().catch(function(e){console.error(e)})},e.prototype.onLevelNameClick=function(e){jQuery(e.target).addClass("selected")},e.prototype.onLevelNameLeave=function(e,n){var t=this;if(jQuery(e.target).removeClass("selected"),null!==e.target.value&&""!==e.target.value){var l=this.transcrServ.annotation.levels[n];l.name=e.target.value.replace(" ","_"),this.appStorage.changeAnnotationLevel(n,l.getObj()).catch(function(e){console.error(e)}).then(function(){t.transcrServ.annotation.levels[n].name=e.target.value.replace(" ","_")})}else e.target.value=this.transcrServ.annotation.levels[n].name},e.prototype.onLevelAddClick=function(){for(var e=this,n=this.transcrServ.annotation.levels.length,t="Tier_"+(n+1),l=n;function(n){for(var t=0;t1&&t.appStorage.removeAnnotationLevel(e,n).catch(function(e){console.error(e)}).then(function(){t.transcrServ.annotation.levels.splice(e,1),e<=t.transcrServ.selectedlevel&&(t.transcrServ.selectedlevel=e-1)}),t.collapsed=!1},no:function(){t.collapsed=!1}})},e.prototype.onLevelDuplicateClick=function(e,n){var t=this,l=this.transcrServ.annotation.levels[e].clone();this.appStorage.addAnnotationLevel(l.getObj()).then(function(){t.transcrServ.annotation.levels.push(l)}).catch(function(e){console.error(e)})},e.prototype.selectLevel=function(e){this.transcrServ.selectedlevel=e},e.ctorParameters=function(){return[{type:Oi},{type:Pi},{type:Kt.c},{type:Ht.c},{type:mi},{type:Ri}]},e}(),xr=function(){function e(e,n,t,i,r,o,u,a,s,c,d,p,h,f){var g=this;this.router=e,this._componentFactoryResolver=n,this.audio=t,this.uiService=i,this.transcrService=r,this.appStorage=o,this.keyMap=u,this.changeDetecorRef=a,this.navbarServ=s,this.settingsService=c,this.modService=d,this.langService=p,this.api=h,this.bugService=f,this.send_error="",this.showdetails=!1,this.saving="",this.interface="",this.send_ok=!1,this.shortcutslist=[],this.editorloaded=!1,this.feedback_data={},this.level_subscription_id=0,this.feedback_expanded=!1,this.platform=nl.platform,this.abortTranscription=function(){g.appStorage.uselocalmode||g.saveFeedbackform(),g.transcrService.endTranscription(),g.router.navigate(["/logout"])},this.onSendError=function(e){return g.send_error=e.message,xi.Observable.throw(e)},this.subscrmanager=new ol,this.audiomanager=this.audio.audiomanagers[0],this.navbarServ.transcrService=this.transcrService,this.navbarServ.uiService=this.uiService,this.appStorage.uselocalmode||(this.appStorage.logging=this.settingsService.projectsettings.logging.forced),this.uiService.enabled=this.appStorage.logging,this.subscrmanager.add(this.audiomanager.statechange.subscribe(function(e){if(!g.audiomanager.playonhover){var n=-1;Object(Yt.isNullOrUndefined)(g.currentEditor.instance.editor)||(n=g.currentEditor.instance.editor.caretpos),e!==rl.PLAYING&&e!==rl.INITIALIZED&&e!==rl.PREPARE&&g.uiService.addElementFromEvent("audio",{value:l(e).toLowerCase()},Date.now(),g.audiomanager.playposition,n,g.appStorage.Interface)}})),this.interface=this.appStorage.Interface}return Object.defineProperty(e.prototype,"currentEditor",{get:function(){return this._currentEditor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"loaded",{get:function(){return this.audio.loaded&&!Object(Yt.isNullOrUndefined)(this.transcrService.guidelines)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"appc",{get:function(){return this.settingsService.app_settings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this.settingsService.projectsettings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"responsive",{get:function(){return this.settingsService.responsive.enabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"app_settings",{get:function(){return this.settingsService.app_settings},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){},e.prototype.ngAfterContentChecked=function(){},e.prototype.ngOnInit=function(){var e=this;this.navbarServ.interfaces=this.projectsettings.interfaces,this.loadForm(),this.transcrService.guidelines=this.settingsService.guidelines,this.subscrmanager.add(this.settingsService.guidelinesloaded.subscribe(function(n){e.transcrService.guidelines=n}));for(var n=0;n)|(>)/g,"s")),this.appStorage.comment=this.transcrService.feedback.comment;for(var e in this.feedback_data)this.feedback_data.hasOwnProperty(e)&&this.changeValue(e,this.feedback_data[e]);this.appStorage.save("feedback",this.transcrService.feedback.exportData())},e.prototype.changeValue=function(e,n){var t=this.transcrService.feedback.setValueForControl(e,n.toString());console.warn(t)},e.prototype.translate=function(e,n){if(Object(Yt.isNullOrUndefined)(e[n]))for(var t in e)if(e.hasOwnProperty(t))return e[t];return e[n]},e.prototype.loadForm=function(){var e=this.transcrService.feedback;if(!Object(Yt.isNullOrUndefined)(this.settingsService.projectsettings)&&!Object(Yt.isNullOrUndefined)(e))for(var n in e.groups)if(!Object(Yt.isNullOrUndefined)(n)){var t=e.groups[n];for(var l in t.controls)if(!Object(Yt.isNullOrUndefined)(l)){var i=t.controls[l];"textarea"===i.type.type?this.feedback_data[t.name]=i.value:"checkbox"===i.type.type||Object(Yt.isNullOrUndefined)(i.custom)||Object(Yt.isNullOrUndefined)(i.custom.checked)||!i.custom.checked||(this.feedback_data[t.name]=i.value)}}},e.prototype.onSendNowClick=function(){var e=this;this.modal.dismiss(),this.modal2.open(),this.send_ok=!0;var n=this.transcrService.exportDataToJSON();this.subscrmanager.add(this.api.saveSession(n.transcript,n.project,n.annotator,n.jobno,n.id,n.status,n.comment,n.quality,n.log).catch(this.onSendError).subscribe(function(n){null!==n&&n.hasOwnProperty("statusText")&&"OK"===n.statusText?(e.appStorage.submitted=!0,setTimeout(function(){e.modal2.close(),setTimeout(function(){e.nextTranscription()},1e3)},2e3)):e.send_error=e.langService.instant("send error")}))},e.prototype.onSendButtonClick=function(){this.feedback_form.valid?(this.saveFeedbackform(),this.modal.open()):this.feedback_expanded||this.expandFeedback()},e.prototype.nextTranscription=function(){var e=this;this.transcrService.endTranscription(!1),this.clearData(),this.subscrmanager.add(this.api.beginSession(this.appStorage.user.project,this.appStorage.user.id,Number(this.appStorage.user.jobno),"").subscribe(function(n){if(null!==n){var t=n.json();if(t.data&&t.data.hasOwnProperty("url")&&t.data.hasOwnProperty("id")){if(e.appStorage.audio_url=t.data.url,e.appStorage.data_id=t.data.id,t.data.hasOwnProperty("transcript")){var l=JSON.parse(t.data.transcript);Object(Yt.isArray)(l)&&l.length>0&&(e.appStorage.servertranscipt=l)}t.hasOwnProperty("message")&&Object(Yt.isNumber)(t.message)&&(e.appStorage.jobs_left=Number(t.message)),e.router.navigate(["/user/load"])}else e.appStorage.submitted=!0,e.router.navigate(["/user/transcr/end"])}}))},e.prototype.clearData=function(){this.appStorage.submitted=!1,this.appStorage.clearAnnotationData().catch(function(e){console.error(e)}),this.appStorage.idb.save("options","feedback",{value:null}),this.appStorage.comment="",this.appStorage.clearLoggingData().catch(function(e){console.error(e)}),this.uiService.elements=[],this.settingsService.clearSettings()},e.prototype.checkBoxChanged=function(e,n){for(var t=0;t0){for(var n="",t=0;t"),this.errortooltip.addClass("error-tooltip"),this.errortooltip.append(jQuery("

").addClass("title").text("Title")),this.errortooltip.append(jQuery("
").addClass("description").text("")),this.errortooltip.on("mouseleave",function(){jQuery(this).css("display","none")}),this.errortooltip.on("mouseout",function(){jQuery(this).css("display","none")}),jQuery("body").append(this.errortooltip),this.errortooltip=jQuery(".error-tooltip"),this.visible&&(this.updateSegments(),this.cd.markForCheck(),this.cd.detectChanges())},e.prototype.ngOnChanges=function(e){this.show_loading=!0,Object(Yt.isNullOrUndefined)(e.visible)||!0!==e.visible.currentValue?Object(Yt.isNullOrUndefined)(e.visible)||!1!==e.visible.currentValue||jQuery(".error-tooltip").css("display","none"):(this.updateSegments(),this.transcrService.analyse())},e.prototype.onSegmentClicked=function(e){this.segmentclicked.emit(e)},e.ctorParameters=function(){return[{type:Fi},{type:fi},{type:Kt.c},{type:Wt.ChangeDetectorRef}]},e}(),jr=function(){function e(e,n,t,l,i,r){var o=this;this.keyMap=e,this.transcrService=n,this.audio=t,this.uiService=l,this.settingsService=i,this.appStorage=r,this.act=new Wt.EventEmitter,this.easymode=!1,this.showWindow=!1,this.pos_y=0,this.doit=function(e){o.audiomanager.audioplaying&&o.loupe.viewer.stopPlayback(),o.save(),"down"!==e?(o.goToSegment(e),setTimeout(function(){o.loupe.viewer.startPlayback()},500)):o.close()},this.onKeyDown=function(e){switch(e.comboKey){case"ALT + ARROWRIGHT":e.event.preventDefault(),o.doit("right");break;case"ALT + ARROWLEFT":e.event.preventDefault(),o.doit("left");break;case"ALT + ARROWDOWN":e.event.preventDefault(),o.doit("down");break;case"ESC":o.doit("down")}},this.subscrmanager=new ol}return Object.defineProperty(e.prototype,"shortcuttriggered",{get:function(){return this.loupe.shortcuttriggered},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marker_insert",{get:function(){return this.editor.marker_insert},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marker_click",{get:function(){return this.editor.marker_click},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"app_settings",{get:function(){return this.settingsService.app_settings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this.settingsService.projectsettings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"responsive",{get:function(){return this.settingsService.responsive.enabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audiomanager",{get:function(){return this.audiochunk.audiomanager},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ressource",{get:function(){return this.audiochunk.audiomanager.ressource},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.editor.Settings.markers=this.transcrService.guidelines.markers,this.editor.Settings.responsive=this.settingsService.responsive.enabled,this.editor.Settings.special_markers.boundary=!0,this.loupe.viewer.Settings.justify_signal_height=!0,this.loupe.viewer.round_values=!1;var n=this.transcrService.currentlevel.segments;this.temp_segments=n.clone(),this.subscrmanager.add(this.editor.loaded.subscribe(function(){e.segment_index>-1&&e.transcrService.currentlevel.segments&&e.segment_index-1&&this.transcrService.currentlevel.segments&&this.segment_index-1)this.transcrService.currentlevel.segments.segments=this.temp_segments.segments,this.transcrService.currentlevel.segments.onsegmentchange.emit(null);else{var e=this.transcrService.currentlevel.segments.get(this.segment_index).clone();e.transcript=this.editor.rawText,this.transcrService.currentlevel.segments.change(this.segment_index,e)}},e.prototype.onButtonClick=function(e){if(this.appStorage.logging){var n={start:-1,length:-1,textlength:-1};if(this.segment_index>-1){var t=this.transcrService.currentlevel.segments.get(this.segment_index);n.start=t.time.samples,n.length=this.segment_index-1&&this.transcrService.currentlevel.segments&&this.segment_index0){var l=this.segment_index-1;for(l=this.segment_index-1;l>0;l--)if(this.transcrService.currentlevel.segments.get(l).transcript!==this.transcrService.break_marker.code){t=this.transcrService.currentlevel.segments.get(l),this.segment_index=l;break}this.transcrService.currentlevel.segments.get(l).transcript!==this.transcrService.break_marker.code&&(t=this.transcrService.currentlevel.segments.get(l),this.segment_index=l)}var i=new Jt(0,this.audiomanager.ressource.info.samplerate);this.segment_index>0&&(i=this.transcrService.currentlevel.segments.get(this.segment_index-1).time.clone()),Object(Yt.isNullOrUndefined)(t)?console.error("segment is null"):(this.editor.rawText=this.transcrService.currentlevel.segments.get(this.segment_index).transcript,this.audiochunk=new ul(new il(i,t.time.clone()),this.audiochunk.audiomanager))}},e.prototype.editor_rawText=function(e){this.editor.rawText=e},e.prototype.onShortCutTriggered=function(e,n){var t={start:-1,length:-1,textlength:-1};if(this.segment_index>-1){var l=this.transcrService.currentlevel.segments.get(this.segment_index);t.start=l.time.samples,t.length=this.segment_index-1){var t=this.transcrService.currentlevel.segments.get(this.segment_index);n.start=t.time.samples,n.length=this.segment_index-1){var t=this.transcrService.currentlevel.segments.get(this.segment_index);n.start=t.time.samples,n.length=this.segment_index-1){var t=this.transcrService.currentlevel.segments.get(this.segment_index);n.start=t.time.samples,n.length=this.segment_index-1){var t=this.transcrService.currentlevel.segments.get(this.segment_index);n.start=t.time.samples,n.length=this.segment_index-1){var t=n>0?this.temp_segments.get(n-1).time.samples:0;this.audiochunk.startpos=new Jt(t,this.audiomanager.ressource.info.samplerate),this.audiochunk.selection.end=this.temp_segments.get(n).time.clone(),this.loupe.viewer.av.drawnselection=this.audiochunk.selection,this.loupe.viewer.drawSegments(),this.loupe.viewer.startPlayback()}},e.prototype.afterTyping=function(e){"stopped"===e&&(this.saveTranscript(),this.highlight())},e.prototype.saveTranscript=function(){var e=this.transcrService.currentlevel.segments.getSegmentBySamplePosition(this.audiochunk.time.start.samples+20);this.temp_segments=this.transcrService.currentlevel.segments.clone();var n=this.editor.html.replace(/ /g," "),t=n.split(/\s?\[\|[0-9]+\|\]\s?/g),l=[];if(n.replace(/\s?\[\|[0-9]+\|\]\s?/g,function(e,n,t){return l.push(Number(n)),""}),t=t.map(function(e){return e.replace(/()|(<\/span>)|(

)|(<\/p>)/g,"")}),t.length>1)for(var i=0,r=0;ri?i=l[r]:(l.splice(r,1),t[r+1]=t[r]+t[r+1],t.splice(r,1),--r);for(var r=0;r\s?/g,function(e,t,l){return n.push(Number(t)),""});for(var t=0,l=0;lt?(jQuery(".note-editable.panel-body img[data-samples]:eq("+l+")").css({"background-color":"white"}),t=n[l]):jQuery(".note-editable.panel-body img[data-samples]:eq("+l+")").css({"background-color":"red"})},e.ctorParameters=function(){return[{type:vi},{type:Fi},{type:fi},{type:Ci},{type:Ri},{type:Oi}]},e}(),Rr=function(){function e(e,n,t,l,i,r){var o=this;this.router=e,this.appStorage=n,this.transcrServ=t,this.modService=l,this.langService=i,this.audioService=r,this.error="",this.navigate=function(){o.router.navigate(["/user/load"])},this.abortTranscription=function(){o.transcrServ.endTranscription(),o.router.navigate(["/logout"])},this.newTranscription=function(){var e=!1,n=function(){o.audioService.registerAudioManager(o.dropzone.audiomanager),o.appStorage.beginLocalSession(o.dropzone.files,e,o.navigate,function(e){"file not supported"===e&&o.showErrorMessage(o.langService.instant("reload-file.file not supported",{type:""}))})};if(Object(Yt.isNullOrUndefined)(o.dropzone.oannotation))n();else{for(var t=[],l=0;l");for(var n in e)if(!Object(Yt.isNullOrUndefined)(e[n]))return e[n].replace("\n","
")},e.prototype.logout=function(){this.settService.clearSettings(),this.router.navigate(["/logout"])},e.prototype.accept=function(){Object(Yt.isNullOrUndefined)(this.appStorage.agreement)&&(this.appStorage.agreement={}),this.appStorage.agreement[this.appStorage.user.project]=!0,this.appStorage.sessStr.store("agreement",this.appStorage.agreement),this.router.navigate(["/user/transcr"])},e.ctorParameters=function(){return[{type:Ri},{type:hr.k},{type:Ht.c},{type:Oi}]},e}(),Dr=function(){function e(e,n,t,l){this.sanitizer=e,this.cd=n,this.settService=t,this.navService=l}return Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this.settService.projectsettings},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.navService.show_interfaces=!1,this.navService.show_export=!1},e.prototype.ngOnChanges=function(e){Object(Yt.isNullOrUndefined)(e.url)||(this.cd.markForCheck(),this.cd.checkNoChanges())},Object.defineProperty(e.prototype,"sanitized_url",{get:function(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.projectsettings.navigation.help_url)},enumerable:!0,configurable:!0}),e.ctorParameters=function(){return[{type:Kt.c},{type:Wt.ChangeDetectorRef},{type:Ri},{type:Pi}]},e}(),Lr=[{path:"load",component:fr},{path:"agreement",component:Ar,canActivate:[Tr]},{path:"transcr",component:xr,canActivate:[Er,Tr]},{path:"transcr/help",component:Dr,canActivate:[Er,Tr]},{path:"transcr/end",component:Cr,canActivate:[Nr]},{path:"transcr/reload-file",component:Rr,canActivate:[Ir]},{path:"",redirectTo:"/user/load",pathMatch:"full"}],Ur=function(){function e(e,n){this.appStorage=e,this.router=n}return e.prototype.canActivate=function(e,n){return!0!==this.appStorage.LoggedIn||(this.router.navigate(["/user/transcr"]),!1)},e.ctorParameters=function(){return[{type:Oi},{type:hr.k}]},e}(),zr=function(){function e(e,n){this.appStorage=e,this.router=n}return e.prototype.canActivate=function(e,n){return!!this.appStorage.logged_in||(this.router.navigate(["/user/transcr"]),!1)},e.ctorParameters=function(){return[{type:Oi},{type:hr.k}]},e}(),Fr=function(){function e(e,n,t){this.appStorage=e,this.router=n,this.settingsService=t}return e.prototype.canActivate=function(e,n){return Object(Yt.isNullOrUndefined)(this.settingsService.app_settings)?this.settingsService.settingsloaded.first():this.settingsService.validated},e.ctorParameters=function(){return[{type:Oi},{type:hr.k},{type:Ri}]},e}(),Br=function(){function e(e,n,t,l){this.sanitizer=e,this.cd=n,this.settService=t,this.navService=l}return Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this.settService.projectsettings},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.navService.show_interfaces=!1,this.navService.show_export=!1},e.prototype.ngOnChanges=function(e){Object(Yt.isNullOrUndefined)(e.url)||(this.cd.markForCheck(),this.cd.checkNoChanges())},Object.defineProperty(e.prototype,"sanitized_url",{get:function(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.projectsettings.navigation.help_url)},enumerable:!0,configurable:!0}),e.ctorParameters=function(){return[{type:Kt.c},{type:Wt.ChangeDetectorRef},{type:Ri},{type:Pi}]},e}(),Vr=function(){function e(e,n,t,l){this.sanitizer=e,this.cd=n,this.settService=t,this.navService=l}return Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this.settService.projectsettings},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.navService.show_interfaces=!1,this.navService.show_export=!1},e.prototype.ngOnChanges=function(e){Object(Yt.isNullOrUndefined)(e.url)||(this.cd.markForCheck(),this.cd.checkNoChanges())},Object.defineProperty(e.prototype,"sanitized_url",{get:function(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.projectsettings.navigation.help_url)},enumerable:!0,configurable:!0}),e.ctorParameters=function(){return[{type:Kt.c},{type:Wt.ChangeDetectorRef},{type:Ri},{type:Pi}]},e}(),Wr=function(){function e(e,n){var t=this;this.appStorage=e,this.api=n,this.subscrmanager=new ol,this.setOnlineSessionToFree=function(e){t.subscrmanager.add(t.api.fetchAnnotation(t.appStorage.data_id).subscribe(function(n){var l=n.json();l.data.hasOwnProperty("status")&&"BUSY"===l.data.status?t.subscrmanager.add(t.api.closeSession(t.appStorage.user.id,t.appStorage.data_id,"").subscribe(function(n){e()})):e()},function(){e()}))}}return e.prototype.ngOnInit=function(){},e.prototype.ngOnDestroy=function(){},e.prototype.clearAllData=function(){var e=this;this.appStorage.uselocalmode?this.appStorage.clearAnnotationData().then(function(){e.appStorage.clearLoggingData()}).then(function(){e.appStorage.clearLocalStorage()}).then(function(){alert("All cleared. The app will be reloaded."),document.location.reload(!0)}):this.setOnlineSessionToFree(function(){e.appStorage.clearAnnotationData().then(function(){e.appStorage.clearLoggingData()}).then(function(){e.appStorage.clearLocalStorage()}).then(function(){alert("All cleared. The app will be reloaded."),document.location.reload(!0)})})},e.prototype.refreshApp=function(){document.location.reload(!0)},e.ctorParameters=function(){return[{type:Oi},{type:Fl}]},e}(),qr=function(){function e(){}return e.prototype.ngOnInit=function(){},e.ctorParameters=function(){return[]},e}(),Kr=[{path:"",redirectTo:"/login",pathMatch:"full"},{path:"login",component:mr,canActivate:[Fr,Ur]},{path:"news",component:Br,canActivate:[Fr]},{path:"faq",component:Vr,canActivate:[Fr]},{path:"features",component:qr,canActivate:[Fr]},{path:"logout",component:vr,canActivate:[Fr,zr]},{path:"user",component:br,canActivate:[Fr],children:Lr},{path:"help-tools",component:Wr},{path:"**",redirectTo:"/login",pathMatch:"full"}],$r=hr.n.forRoot(Kr),Xr=function(){function e(){}return e.prototype.transform=function(e,n){return e&&e>-1?Math.round(100*e):0},e}(),Hr=function(){function e(){}return e.prototype.transform=function(e,n){return e&&e>-1?Math.round(100*e)/100:0},e}(),Qr=function(){function e(){}return e.prototype.transform=function(e,n){for(var t=0,l=0,i="",r=1;r0)for(var r=0;r-1);else{var r=videojs(l,{fluid:!0,autoplay:!1,preload:"auto"},function(){});this.video_players.push(r)}}}},e.prototype.open=function(){this.modal_guidelines.open()},e.prototype.close=function(){this.modal_guidelines.dismiss()},e.prototype.unCollapseAll=function(){this.collapsed=[];for(var e=0;e-1)this.shown_guidelines.instructions.push(t);else{var l=JSON.parse(JSON.stringify(t));l.entries=[];for(var i=0;i-1||r.description.indexOf(e)>-1)&&l.entries.push(r)}l.entries.length>0&&this.shown_guidelines.instructions.push(l)}}}else this.shown_guidelines=JSON.parse(JSON.stringify(this.guidelines))},e.prototype.exportPDF=function(){if(!(Object(Yt.isNullOrUndefined)(this.settService.projectsettings)||Object(Yt.isNullOrUndefined)(this.settService.projectsettings.plugins)||Object(Yt.isNullOrUndefined)(this.settService.projectsettings.plugins.pdfexport)||Object(Yt.isNullOrUndefined)(this.settService.projectsettings.plugins.pdfexport.url))){var e=jQuery("

").attr("method","post").attr("target","blank").attr("action",this.settService.projectsettings.plugins.pdfexport.url).appendTo("body"),n={translation:this.lang.instant("general"),guidelines:this.guidelines},t=jQuery("").attr("name","json").attr("type","text").attr("value",JSON.stringify(n));e.append(t),e.submit().remove()}},e.ctorParameters=function(){return[{type:Fi},{type:Wt.ChangeDetectorRef},{type:Ht.c},{type:Ri}]},e}(),no=t("fL27"),to=t("ZBFC"),lo=t("Hm69"),io=function(){function e(e){var n=this;this.modService=e,this._files=[],this.subscrmanager=new ol,this.afterDrop=function(){n._oannotation=null;for(var e=0;e0)for(var e=0;e active",animation:{type:4,styles:null,timings:"300ms ease-in"},options:null},{type:1,expr:"active => inactive",animation:{type:4,styles:null,timings:"300ms ease-in"},options:null}],options:{}}]}}),Oo=Wt["\u0275ccf"]("app-login",mr,j,{},{},[]),xo=["iframe[_ngcontent-%COMP%]{width:100%;height:100%;-ms-flex:auto;flex:auto;border:none}[_nghost-%COMP%], iframe[_ngcontent-%COMP%]{-webkit-box-flex:1}[_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex:auto;flex:auto}"],Co=[xo],Po=Wt["\u0275crt"]({encapsulation:0,styles:Co,data:{}}),jo=Wt["\u0275ccf"]("app-news",Br,M,{url:"url"},{},[]),Ro=["iframe[_ngcontent-%COMP%]{width:100%;height:100%;-ms-flex:auto;flex:auto;border:none}[_nghost-%COMP%], iframe[_ngcontent-%COMP%]{-webkit-box-flex:1}[_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex:auto;flex:auto}"],Mo=[Ro],To=Wt["\u0275crt"]({encapsulation:0,styles:Mo,data:{}}),No=Wt["\u0275ccf"]("app-faq",Vr,N,{url:"url"},{},[]),Io=["iframe[_ngcontent-%COMP%]{width:100%;height:100%;-ms-flex:auto;flex:auto;border:none}[_nghost-%COMP%], iframe[_ngcontent-%COMP%]{-webkit-box-flex:1}[_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex:auto;flex:auto}"],Eo=[Io],Ao=Wt["\u0275crt"]({encapsulation:0,styles:Eo,data:{}}),Do=Wt["\u0275ccf"]("app-features",qr,E,{},{},[]),Lo=["#logout[_ngcontent-%COMP%]{text-align:center}"],Uo=[Lo],zo=Wt["\u0275crt"]({encapsulation:0,styles:Uo,data:{}}),Fo=Wt["\u0275ccf"]("app-login",vr,D,{},{},[]),Bo=["#members-area[_ngcontent-%COMP%]{position:relative}#members-area[_ngcontent-%COMP%], [_nghost-%COMP%]{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}"],Vo=[Bo],Wo=Wt["\u0275crt"]({encapsulation:0,styles:Vo,data:{}}),qo=Wt["\u0275ccf"]("app-members-area",br,U,{},{},[]),Ko=["#loading[_ngcontent-%COMP%]{text-align:center;padding:20px;margin-top:10%}#loading[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{margin-top:20px}.log[_ngcontent-%COMP%]{color:red;line-height:1.5}"],$o=[Ko],Xo=Wt["\u0275crt"]({encapsulation:0,styles:$o,data:{}}),Ho=Wt["\u0275ccf"]("app-loading",fr,K,{},{loaded:"loaded"},[]),Qo=["#agreement[_ngcontent-%COMP%]{max-width:800px;margin:0 auto;padding:20px;margin-top:20px}#agreement[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:.9em}#bottom-nav[_ngcontent-%COMP%]{margin-top:20px}"],Go=[Qo],Yo=Wt["\u0275crt"]({encapsulation:0,styles:Go,data:{}}),Jo=Wt["\u0275ccf"]("app-agreement",Ar,X,{},{},[]),Zo=["[_nghost-%COMP%]{-webkit-box-flex:1;-ms-flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;flex:1 0 auto}#rules[_ngcontent-%COMP%] .modal-content[_ngcontent-%COMP%], #rules[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%]{width:100%}#feedback[_ngcontent-%COMP%] .col-xs-3[_ngcontent-%COMP%]{text-align:center}#feedback[_ngcontent-%COMP%]{padding:10px}#volume-slider[_ngcontent-%COMP%]{width:100%}.slider-descr[_ngcontent-%COMP%]{text-align:center;font-size:.7em}#shortcuts[_ngcontent-%COMP%]{display:none}.shortcut-descr[_ngcontent-%COMP%]{font-size:.6em}#rules[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] .table[_ngcontent-%COMP%]{font-size:.7em}#rules[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{height:25px}#saving[_ngcontent-%COMP%]{position:absolute;right:0;margin-right:5px}#bottom-feedback[_ngcontent-%COMP%]{border:1px solid #3f51b5;background-color:#fff;padding:5px;height:30px;position:absolute;bottom:0;margin-bottom:50px;width:100%;z-index:80;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}#bottom-feedback[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%]{display:none;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.ctrl[_ngcontent-%COMP%]{margin-right:10px}.checkbox[_ngcontent-%COMP%], .ctrl[_ngcontent-%COMP%], .radio[_ngcontent-%COMP%]{display:inline}.form-group[_ngcontent-%COMP%]{margin-top:0}.required_marker[_ngcontent-%COMP%]{color:red}"],eu=[".red[_ngcontent-%COMP%]{background-color:#ff899d}.segment-number[_ngcontent-%COMP%]{padding:3px}.segment-warning[_ngcontent-%COMP%]{color:red}.found-errors[_ngcontent-%COMP%]{padding:5px;display:block;text-align:center}"],nu=[eu],tu=Wt["\u0275crt"]({encapsulation:0,styles:nu,data:{}}),lu=(Wt["\u0275ccf"]("app-transcr-overview",Pr,Z,{segments:"segments",show_transcriptiontable:"show_transcriptiontable",visible:"visible"},{segmentclicked:"segmentclicked"},[]),t("MvXP")),iu=t("oXBO"),ru=[".alert[_ngcontent-%COMP%]{top:0;right:0;position:fixed;margin-top:30px;width:30%;z-index:30}"],ou=[ru],uu=Wt["\u0275crt"]({encapsulation:0,styles:ou,data:{animation:[{type:7,name:"fadeToggle",definitions:[{type:0,name:"inactive",styles:{type:6,styles:{display:"none",opacity:"0.0"},offset:null},options:void 0},{type:0,name:"active",styles:{type:6,styles:{display:"inherit",opacity:"1.0"},offset:null},options:void 0},{type:1,expr:"inactive => active",animation:{type:4,styles:null,timings:"300ms ease-in"},options:null},{type:1,expr:"active => inactive",animation:{type:4,styles:null,timings:"300ms ease-in"},options:null}],options:{}}]}}),au=(Wt["\u0275ccf"]("app-alert",sr,ie,{},{},[]),t("+K1p")),su=t("vCyR"),cu=t("c9Yo"),du=t("8AR9"),pu=t("RoUE"),hu=t("t+dn"),fu=["#fastbar[_ngcontent-%COMP%]{font-size:.8em;text-align:center}#fastbar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#0095dd}#fastbar[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{text-align:center}.btn-group.btn-group-justified.btn-group-sm[_ngcontent-%COMP%]{margin:0}"],gu=[fu],mu=Wt["\u0275crt"]({encapsulation:0,styles:gu,data:{}}),vu=(Wt["\u0275ccf"]("app-fastbar",Mr,he,{responsive:"responsive",button_labels:"button_labels"},{shortcutbtnclicked:"shortcutbtnclicked",guidelinesbtnclicked:"guidelinesbtnclicked",overviewbtnclicked:"overviewbtnclicked"},[]),[".search[_ngcontent-%COMP%]{width:100%}.authors[_ngcontent-%COMP%], .project[_ngcontent-%COMP%]{display:block}.authors[_ngcontent-%COMP%], .project[_ngcontent-%COMP%], .version[_ngcontent-%COMP%]{color:gray;font-size:.8em}.col-priority[_ngcontent-%COMP%]{text-align:right}.guidelines-descr[_ngcontent-%COMP%]{font-size:.9em;padding-left:0}.guidelines-title[_ngcontent-%COMP%]{font-size:1em;font-weight:700;display:block}.panel-example[_ngcontent-%COMP%]{min-width:50%}.panel-title[_ngcontent-%COMP%]{font-size:.9em}.entry-row[_ngcontent-%COMP%]{margin-bottom:20px;padding:5px 0}.select-row[_ngcontent-%COMP%]{cursor:pointer;border-top:1px solid #00008b;border-bottom:1px solid #00008b;padding:5px;margin-bottom:5px}audio[_ngcontent-%COMP%]{width:100%;margin-bottom:5px}.modal-dialog[_ngcontent-%COMP%]{width:90%}.media[_ngcontent-%COMP%]{margin-bottom:10px}"]),bu=t("C2HG"),yu=[vu],_u=Wt["\u0275crt"]({encapsulation:0,styles:yu,data:{}}),wu=(Wt["\u0275ccf"]("app-transcr-guidelines",eo,Ce,{guidelines:"guidelines"},{},[]),[Zo]),Su=Wt["\u0275crt"]({encapsulation:0,styles:wu,data:{}}),ku=Wt["\u0275ccf"]("app-transcription",xr,pn,{},{},[]),Ou=["iframe[_ngcontent-%COMP%]{width:100%;height:100%;-ms-flex:auto;flex:auto;border:none}[_nghost-%COMP%], iframe[_ngcontent-%COMP%]{-webkit-box-flex:1}[_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex:auto;flex:auto}"],xu=[Ou],Cu=Wt["\u0275crt"]({encapsulation:0,styles:xu,data:{}}),Pu=Wt["\u0275ccf"]("app-help",Dr,fn,{url:"url"},{},[]),ju=["#transcr-end[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center}#transcr-end[_ngcontent-%COMP%]{margin-top:10%}"],Ru=[ju],Mu=Wt["\u0275crt"]({encapsulation:0,styles:Ru,data:{}}),Tu=Wt["\u0275ccf"]("app-transcription-submitted",Cr,mn,{},{},[]),Nu=[""],Iu=[Nu],Eu=Wt["\u0275crt"]({encapsulation:0,styles:Iu,data:{}}),Au=Wt["\u0275ccf"]("app-reload-file",Rr,bn,{},{},[]),Du=["@media only screen and (min-width:768px){.is-table-row[_ngcontent-%COMP%]{display:table}.is-table-row[_ngcontent-%COMP%] [class*=col-][_ngcontent-%COMP%]{float:none;display:table-cell;vertical-align:top}}"],Lu=[Du],Uu=Wt["\u0275crt"]({encapsulation:0,styles:Lu,data:{}}),zu=Wt["\u0275ccf"]("app-help-tools",Wr,_n,{},{},[]),Fu=["[_nghost-%COMP%]{-webkit-box-flex:1;-ms-flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;flex:1 0 auto}"],Bu=[".slider[_ngcontent-%COMP%]{padding:0}.slider-descr[_ngcontent-%COMP%]{font-size:.7em;vertical-align:middle;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;margin-bottom:3px}.shortcut-descr[_ngcontent-%COMP%]{font-size:.6em}.audio-nav[_ngcontent-%COMP%]{margin-bottom:3px}.audio-nav[_ngcontent-%COMP%] .btn-toolbar[_ngcontent-%COMP%]{margin-left:0}.audio-nav[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%]{margin:0}.audio-nav[_ngcontent-%COMP%] .col-xs-1[_ngcontent-%COMP%]{padding:0}.btn-description[_ngcontent-%COMP%]{font-size:.9em}"],Vu=[Bu],Wu=Wt["\u0275crt"]({encapsulation:0,styles:Vu,data:{}}),qu=(Wt["\u0275ccf"]("app-audio-navigation",Ul,On,{audioplaying:"audioplaying",responsive:"responsive",easymode:"easymode",replay:"replay",buttons:"buttons"},{buttonclick:"buttonclick",volumechange:"volumechange",aftervolumechange:"aftervolumechange",speedchange:"speedchange",afterspeedchange:"afterspeedchange"},[]),[".audioplayer[_ngcontent-%COMP%]{width:100%;position:relative;resize:vertical;display:block;border:1px solid gray}.ap-graphicscanvas[_ngcontent-%COMP%], .ap-mousecanvas[_ngcontent-%COMP%], .ap-overlaycanvas[_ngcontent-%COMP%], .ap-playcanvas[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;-ms-user-select:none;user-select:none;-webkit-user-select:none;-moz-user-select:none}.ap-graphicscanvas[_ngcontent-%COMP%]{z-index:1}.ap-overlaycanvas[_ngcontent-%COMP%]{z-index:2}.ap-mousecanvas[_ngcontent-%COMP%]{z-index:3}.ap-playcanvas[_ngcontent-%COMP%]{z-index:4;cursor:pointer}#volume-slider[_ngcontent-%COMP%]{width:100%}.slider-descr[_ngcontent-%COMP%]{text-align:center;font-size:.7em}.ap-time-end-display[_ngcontent-%COMP%], .ap-time-start-display[_ngcontent-%COMP%]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:absolute;z-index:10;bottom:0}.ap-time-start-display[_ngcontent-%COMP%]{left:0;margin-left:10px}.ap-time-end-display[_ngcontent-%COMP%]{right:0;margin-right:10px}"]),Ku=[qu],$u=Wt["\u0275crt"]({encapsulation:0,styles:Ku,data:{}}),Xu=(Wt["\u0275ccf"]("app-audioplayer",Xi,Cn,{audiochunk:"audiochunk"},{shortcuttriggered:"shortcuttriggered"},[]),[".transcr-editor[_ngcontent-%COMP%]{width:100%;min-height:100px}.textspan[_ngcontent-%COMP%]{display:inline}.transcr-editor[_ngcontent-%COMP%] .editor-nav[_ngcontent-%COMP%]{width:100%;height:2em}.transcr-editor[_ngcontent-%COMP%] .textfield[_ngcontent-%COMP%]{margin:5px;display:block}.transcr-editor[_ngcontent-%COMP%] .marker-btn[_ngcontent-%COMP%]{height:100%;display:inline-block;padding:3px 5px;margin-right:2px;background-color:#faebcc;vertical-align:middle}.transcr-editor[_ngcontent-%COMP%] .marker-btn[_ngcontent-%COMP%]:hover{background-color:#d6e9c6;cursor:pointer}.transcr-editor[_ngcontent-%COMP%] .marker-icon[_ngcontent-%COMP%]{display:inline;margin-right:3px}.transcr-editor[_ngcontent-%COMP%] .btn-shortcut[_ngcontent-%COMP%]{font-size:.7em;margin:auto 0}.transcr-editor[_ngcontent-%COMP%] .btn-description[_ngcontent-%COMP%]{font-size:.3em}.btn-icon[_ngcontent-%COMP%], .note-editable[_ngcontent-%COMP%] .btn-icon-text[_ngcontent-%COMP%], .note-toolbar[_ngcontent-%COMP%] .btn-icon[_ngcontent-%COMP%]{height:16px}.note-toolbar[_ngcontent-%COMP%] .btn-descr[_ngcontent-%COMP%], .note-toolbar[_ngcontent-%COMP%] .btn-shortcut[_ngcontent-%COMP%]{margin-left:3px}.note-editable[_ngcontent-%COMP%]{border:1px solid red}.transcr-editor[_ngcontent-%COMP%], [_nghost-%COMP%]{-webkit-box-flex:1;-ms-flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;flex:1 0 auto}"]),Hu=[Xu],Qu=Wt["\u0275crt"]({encapsulation:0,styles:Hu,data:{}}),Gu=(Wt["\u0275ccf"]("app-transcr-editor",ar,jn,{visible:"visible",markers:"markers",easymode:"easymode",height:"height",playposition:"playposition",audiochunk:"audiochunk"},{loaded:"loaded",onkeyup:"onkeyup",marker_insert:"marker_insert",marker_click:"marker_click",typing:"typing",boundaryclicked:"boundaryclicked",boundaryinserted:"boundaryinserted",selectionchanged:"selectionchanged"},[]),[Fu]),Yu=Wt["\u0275crt"]({encapsulation:0,styles:Gu,data:{}}),Ju=Wt["\u0275ccf"]("app-audioplayer-gui",wr,Mn,{},{},[]),Zu=["#overlay-transcr[_ngcontent-%COMP%]{position:relative;-webkit-box-flex:1;-ms-flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;flex:1 0 auto}[_ngcontent-%COMP%]::-webkit-scrollbar{-webkit-appearance:none;width:7px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:rgba(0,0,0,.5);-webkit-box-shadow:0 0 1px hsla(0,0%,100%,.5)}#special[_ngcontent-%COMP%]{width:100%;background-color:#fff;padding:0;border:1px solid dimgray}[_nghost-%COMP%]{-webkit-box-flex:1;-ms-flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;flex:1 0 auto}"],ea=["#window[_ngcontent-%COMP%]{width:95%;z-index:100;padding:10px;margin:2.5%;border:1px solid gray;box-shadow:10px 10px 50px grey}#black[_ngcontent-%COMP%], #window[_ngcontent-%COMP%]{position:absolute;background-color:#fff}#black[_ngcontent-%COMP%]{width:100%;display:block;height:100%;z-index:99;opacity:.7}.window-nav-bottom[_ngcontent-%COMP%], .window-nav-top[_ngcontent-%COMP%]{display:block;width:100%;text-align:right}.window-nav-top[_ngcontent-%COMP%]{height:2em}.window-nav-bottom[_ngcontent-%COMP%]{bottom:0}#window[_ngcontent-%COMP%] .audio-nav[_ngcontent-%COMP%]{margin-bottom:-10px}"],na=[".loupe[_ngcontent-%COMP%]{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:auto;flex:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}"],ta=[".audioviewer[_ngcontent-%COMP%]{width:100%;height:100%;resize:vertical;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.audioviewer[_ngcontent-%COMP%], .audioviewer[_ngcontent-%COMP%] .audio-line[_ngcontent-%COMP%]{position:relative}.graphicscanvas[_ngcontent-%COMP%], .mousecanvas[_ngcontent-%COMP%], .overlaycanvas[_ngcontent-%COMP%], .playcanvas[_ngcontent-%COMP%]{position:absolute;-ms-user-select:none;user-select:none;-webkit-user-select:none;-moz-user-select:none}.graphicscanvas[_ngcontent-%COMP%]{z-index:1}.overlaycanvas[_ngcontent-%COMP%]{z-index:2}.mousecanvas[_ngcontent-%COMP%]{z-index:3}.playcanvas[_ngcontent-%COMP%]{z-index:4;cursor:default}.playcanvas.dragable[_ngcontent-%COMP%]{cursor:move}.scrollbar[_ngcontent-%COMP%], [_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:auto;flex:auto;height:100%}.scrollbar[_ngcontent-%COMP%]{position:absolute;background-color:#fff;width:20px;z-index:20;right:0;border:1px solid gray;cursor:pointer}.scrollbar[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]{height:20px;width:100%;background-color:#00aa9a;cursor:pointer}.placeholder[_ngcontent-%COMP%]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:auto;flex:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;vertical-align:middle;text-align:center;background-color:#fff}.placeholder[_ngcontent-%COMP%] .fa-spinner[_ngcontent-%COMP%]{margin:1% auto}"],la=[ta],ia=Wt["\u0275crt"]({encapsulation:0,styles:la,data:{}}),ra=(Wt["\u0275ccf"]("app-audioviewer",Zi,En,{margin:"margin",audiochunk:"audiochunk",name:"name"},{selchange:"selchange",segmententer:"segmententer",segmentchange:"segmentchange",mousecursorchange:"mousecursorchange",playcursorchange:"playcursorchange",shortcuttriggered:"shortcuttriggered",alerttriggered:"alerttriggered",scrolling:"scrolling",scrollbarchange:"scrollbarchange",pos_time:"pos_time"},[]),[na]),oa=Wt["\u0275crt"]({encapsulation:0,styles:ra,data:{}}),ua=(Wt["\u0275ccf"]("app-loupe",tr,Dn,{audiochunk:"audiochunk",height:"height",margin:"margin",Settings:"Settings"},{mousecursorchange:"mousecursorchange",shortcuttriggered:"shortcuttriggered",segmententer:"segmententer",alerttriggered:"alerttriggered"},[]),[ea]),aa=Wt["\u0275crt"]({encapsulation:0,styles:ua,data:{}}),sa=(Wt["\u0275ccf"]("app-transcr-window",jr,qn,{easymode:"easymode",audiochunk:"audiochunk",segment_index:"segment_index"},{act:"act",shortcuttriggered:"shortcuttriggered",marker_insert:"marker_insert",marker_click:"marker_click"},[]),[".circleloupe[_ngcontent-%COMP%], .loupe[_ngcontent-%COMP%], [_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:auto;flex:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}"]),ca=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])};return function(n,t){function l(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}}(),da=function(e){function n(n){var t=e.call(this)||this;return t.audio=n,t}return ca(n,e),n.ctorParameters=function(){return[{type:fi}]},n}(gi),pa=[sa],ha=Wt["\u0275crt"]({encapsulation:0,styles:pa,data:{}}),fa=(Wt["\u0275ccf"]("app-circleloupe",nr,$n,{audiochunk:"audiochunk",height:"height",width:"width"},{},[]),[Zu]),ga=Wt["\u0275crt"]({encapsulation:0,styles:fa,data:{}}),ma=Wt["\u0275ccf"]("app-overlay-gui",yr,Qn,{},{},[]),va=["#viewer[_ngcontent-%COMP%]{max-height:200px}#editor-placeholder[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:auto;flex:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;display:-webkit-box;display:-ms-flexbox;display:flex;background-color:#fff;border:1px dashed gray;padding:10px;width:100%;text-align:center}#editor-placeholder[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%]{margin:auto 0}.loupe[_ngcontent-%COMP%]{margin-top:10px}[_nghost-%COMP%]{-webkit-box-flex:1;-ms-flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;flex:1 0 auto}"],ba=[va],ya=Wt["\u0275crt"]({encapsulation:0,styles:ba,data:{}}),_a=Wt["\u0275ccf"]("app-signal-gui",_r,nt,{},{},[]),wa=[".container.inner[_ngcontent-%COMP%]{padding-bottom:10px;padding-top:10px;box-shadow:0 1px 6px #a0a0a0}#beta_mark[_ngcontent-%COMP%]{color:red;position:absolute;margin-left:20px;z-index:10}[_nghost-%COMP%]{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}"],Sa=["#bgProtocol[_ngcontent-%COMP%]{font-size:12px;height:200px;font-family:Courier New,Arial;border:1px solid #d3d3d3;padding:5px}.bugsent[_ngcontent-%COMP%]{position:absolute;right:0;margin-right:30px;top:0;width:100%;text-align:center}[_ngcontent-%COMP%]::-webkit-scrollbar{-webkit-appearance:none;width:7px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:rgba(0,0,0,.5);-webkit-box-shadow:0 0 1px hsla(0,0%,100%,.5)}"],ka=[Sa],Oa=Wt["\u0275crt"]({encapsulation:0,styles:ka,data:{}}),xa=(Wt["\u0275ccf"]("app-octra-modal",pr,ct,{},{},[]),[".navbar[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{cursor:pointer}.navbar-brand[_ngcontent-%COMP%], .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{padding-top:4px!important;padding-bottom:0!important;vertical-align:middle;line-height:inherit;height:30px}.navbar[_ngcontent-%COMP%]{min-height:30px!important;margin-bottom:0}.navbar[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%]{padding-top:3px!important;vertical-align:middle;font-size:1.3em}.navbar[_ngcontent-%COMP%] .navbar-toggle[_ngcontent-%COMP%]{padding:0}.glyphicon[_ngcontent-%COMP%]{font-size:100%;color:#0b0080}.navbar-icon[_ngcontent-%COMP%]{color:#fff;font-size:100%}.info-menu[_ngcontent-%COMP%], .options-menu[_ngcontent-%COMP%]{padding:20px;font-size:.7em;min-width:300px}.dropdown-menu.info-menu.collaps[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .dropdown-menu.options-menu.collaps[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#000}.dropdown-menu.info-menu[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .dropdown-menu.info-menu[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .dropdown-menu.options-menu[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .dropdown-menu.options-menu[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{color:#fff}.options-menu[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{border:none;font-size:1.1em}.options-menu[_ngcontent-%COMP%] .table[_ngcontent-%COMP%]{margin-bottom:0}.info-menu[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{border:none;font-size:11px}#subnav[_ngcontent-%COMP%], .info-menu[_ngcontent-%COMP%] .table[_ngcontent-%COMP%]{margin-bottom:0}#subnav[_ngcontent-%COMP%]{padding:3px;text-align:center;background-color:#bae6f3}#modalstatis[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%]{width:100%}.row.level-row[_ngcontent-%COMP%]{border:1px solid gray;padding:5px}.row.level-row.selected[_ngcontent-%COMP%], .row.level-row.selected[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{background-color:#a5fabe}.row.level-row.disabled[_ngcontent-%COMP%]{opacity:.3}.row.level-row[_ngcontent-%COMP%] .col-xs-8[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{padding:3px;width:100%}.row.level-row[_ngcontent-%COMP%] .col-xs-8[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{border:1px solid #d3d3d3}.row.level-row[_ngcontent-%COMP%] .col-xs-2[_ngcontent-%COMP%] .glyphicon.glyphicon-trash[_ngcontent-%COMP%]{cursor:pointer}.row.level-add-row[_ngcontent-%COMP%]{margin-top:5px;border:1px dashed gray;text-align:center;padding:5px;cursor:pointer}.row.level-row[_ngcontent-%COMP%] .col-xs-2[_ngcontent-%COMP%]{padding-top:5px;text-align:center;vertical-align:middle;height:100%}.row.level-row[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{color:#000}#export-table[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{cursor:pointer}"]),Ca=[xa],Pa=Wt["\u0275crt"]({encapsulation:0,styles:Ca,data:{}}),ja=(Wt["\u0275ccf"]("app-navigation",Or,zt,{version:"version"},{},[]),[wa]),Ra=Wt["\u0275crt"]({encapsulation:0,styles:ja,data:{}}),Ma=Wt["\u0275ccf"]("app-octra",Zr,Vt,{},{},[]),Ta=t("f9zQ"),Na=t("KIVP"),Ia=t("6A7A"),Ea=t("a3e3"),Aa=t("t0d0"),Da=t("R08E"),La=t("Qg/J"),Ua=t("maBJ"),za=t("BhHz"),Fa=t("poDJ"),Ba=t("4zAq"),Va=t("bIam"),Wa=t("x/Up"),qa=t("pUrG"),Ka=t("pBJ6"),$a=Wt["\u0275cmf"](so,[Zr],function(e){return Wt["\u0275mod"]([Wt["\u0275mpd"](512,Wt.ComponentFactoryResolver,Wt["\u0275CodegenComponentFactoryResolver"],[[8,[co.a,Oo,jo,No,Do,Fo,qo,Ho,Jo,ku,Pu,Tu,Au,zu,Ju,ma,_a,Ma]],[3,Wt.ComponentFactoryResolver],Wt.NgModuleRef]),Wt["\u0275mpd"](5120,Wt.LOCALE_ID,Wt["\u0275m"],[[3,Wt.LOCALE_ID]]),Wt["\u0275mpd"](4608,go.NgLocalization,go.NgLocaleLocalization,[Wt.LOCALE_ID]),Wt["\u0275mpd"](5120,Wt.APP_ID,Wt["\u0275f"],[]),Wt["\u0275mpd"](5120,Wt.IterableDiffers,Wt["\u0275k"],[]),Wt["\u0275mpd"](5120,Wt.KeyValueDiffers,Wt["\u0275l"],[]),Wt["\u0275mpd"](4608,Kt.c,Kt.t,[go.DOCUMENT]),Wt["\u0275mpd"](6144,Wt.Sanitizer,null,[Kt.c]),Wt["\u0275mpd"](4608,Kt.f,Kt.g,[]),Wt["\u0275mpd"](5120,Kt.d,function(e,n,t,l){return[new Kt.l(e),new Kt.p(n),new Kt.o(t,l)]},[go.DOCUMENT,go.DOCUMENT,go.DOCUMENT,Kt.f]),Wt["\u0275mpd"](4608,Kt.e,Kt.e,[Kt.d,Wt.NgZone]),Wt["\u0275mpd"](135680,Kt.n,Kt.n,[go.DOCUMENT]),Wt["\u0275mpd"](4608,Kt.m,Kt.m,[Kt.e,Kt.n]),Wt["\u0275mpd"](5120,Ta.a,no.d,[]),Wt["\u0275mpd"](5120,Ta.c,no.e,[]),Wt["\u0275mpd"](4608,Ta.b,no.c,[Ta.a,Ta.c]),Wt["\u0275mpd"](5120,Wt.RendererFactory2,no.f,[Kt.m,Ta.b,Wt.NgZone]),Wt["\u0275mpd"](6144,Kt.q,null,[Kt.n]),Wt["\u0275mpd"](4608,Wt.Testability,Wt.Testability,[Wt.NgZone]),Wt["\u0275mpd"](4608,Kt.h,Kt.h,[go.DOCUMENT]),Wt["\u0275mpd"](4608,Kt.j,Kt.j,[go.DOCUMENT]),Wt["\u0275mpd"](4608,Tl.b,no.b,[Wt.RendererFactory2,Kt.b]),Wt["\u0275mpd"](4608,$t.z,$t.z,[]),Wt["\u0275mpd"](4608,Xt.c,Xt.c,[]),Wt["\u0275mpd"](4608,Xt.l,Xt.b,[]),Wt["\u0275mpd"](5120,Xt.o,Xt.q,[]),Wt["\u0275mpd"](4608,Xt.n,Xt.n,[Xt.c,Xt.l,Xt.o]),Wt["\u0275mpd"](4608,Xt.j,Xt.a,[]),Wt["\u0275mpd"](5120,Xt.e,Xt.r,[Xt.n,Xt.j]),Wt["\u0275mpd"](4608,Xt.t,Xt.t,[]),Wt["\u0275mpd"](4608,Xt.g,Xt.p,[Xt.t,Xt.l]),Wt["\u0275mpd"](5120,Xt.h,Xt.s,[Xt.g,Xt.j]),Wt["\u0275mpd"](4608,Na.a,Na.a,[]),Wt["\u0275mpd"](4608,Ia.a,Ia.a,[]),Wt["\u0275mpd"](4608,$t.f,$t.f,[]),Wt["\u0275mpd"](5120,Ea.b,i,[Xt.e]),Wt["\u0275mpd"](4608,Aa.a,Aa.b,[]),Wt["\u0275mpd"](4608,Da.b,Da.a,[]),Wt["\u0275mpd"](4608,La.b,La.a,[]),Wt["\u0275mpd"](4608,Ua.a,Ua.a,[]),Wt["\u0275mpd"](4608,fo.a,fo.a,[Ua.a,Ea.b,Aa.a,Da.b,La.b,fo.b,fo.c]),Wt["\u0275mpd"](4608,za.a,za.a,[]),Wt["\u0275mpd"](4608,Fa.a,Fa.a,[Wt.ComponentFactoryResolver,Wt.NgZone,Wt.Injector,za.a,Wt.ApplicationRef]),Wt["\u0275mpd"](4608,Ba.a,Ba.a,[]),Wt["\u0275mpd"](5120,hr.a,hr.x,[hr.k]),Wt["\u0275mpd"](4608,hr.d,hr.d,[]),Wt["\u0275mpd"](6144,hr.f,null,[hr.d]),Wt["\u0275mpd"](135680,hr.p,hr.p,[hr.k,Wt.NgModuleFactoryLoader,Wt.Compiler,Wt.Injector,hr.f]),Wt["\u0275mpd"](4608,hr.e,hr.e,[]),Wt["\u0275mpd"](5120,hr.h,hr.A,[hr.y]),Wt["\u0275mpd"](5120,Wt.APP_BOOTSTRAP_LISTENER,function(e){return[e]},[hr.h]),Wt["\u0275mpd"](4608,Oi,Oi,[Na.a,Ia.a]),Wt["\u0275mpd"](4608,Ur,Ur,[Oi,hr.k]),Wt["\u0275mpd"](4608,Fl,Fl,[Xt.e,Kt.c]),Wt["\u0275mpd"](4608,fi,fi,[Xt.e]),Wt["\u0275mpd"](4608,Qi,Qi,[]),Wt["\u0275mpd"](4608,Gr,Gr,[]),Wt["\u0275mpd"](4608,vi,vi,[]),Wt["\u0275mpd"](4608,zr,zr,[Oi,hr.k]),Wt["\u0275mpd"](4608,Ri,Ri,[Xt.e,Oi]),Wt["\u0275mpd"](4608,Tr,Tr,[Oi,hr.k,Ri]),Wt["\u0275mpd"](4608,mi,mi,[]),Wt["\u0275mpd"](4608,Pi,Pi,[Oi]),Wt["\u0275mpd"](4608,Ir,Ir,[Oi,hr.k,Ri]),Wt["\u0275mpd"](4608,Er,Er,[Oi,hr.k,Ri]),Wt["\u0275mpd"](4608,Fr,Fr,[Oi,hr.k,Ri]),Wt["\u0275mpd"](4608,Nr,Nr,[Oi,hr.k]),Wt["\u0275mpd"](4608,dr,dr,[fo.a,Oi,Ri,Xt.e]),Wt["\u0275mpd"](512,go.CommonModule,go.CommonModule,[]),Wt["\u0275mpd"](1024,Wt.ErrorHandler,Kt.r,[]),Wt["\u0275mpd"](1024,Wt.NgProbeToken,function(){return[hr.t()]},[]),Wt["\u0275mpd"](512,hr.y,hr.y,[Wt.Injector]),Wt["\u0275mpd"](1024,Wt.APP_INITIALIZER,function(e,n,t){return[Kt.s(e,n),hr.z(t)]},[[2,Kt.i],[2,Wt.NgProbeToken],hr.y]),Wt["\u0275mpd"](512,Wt.ApplicationInitStatus,Wt.ApplicationInitStatus,[[2,Wt.APP_INITIALIZER]]),Wt["\u0275mpd"](131584,Wt["\u0275e"],Wt["\u0275e"],[Wt.NgZone,Wt["\u0275Console"],Wt.Injector,Wt.ErrorHandler,Wt.ComponentFactoryResolver,Wt.ApplicationInitStatus]),Wt["\u0275mpd"](2048,Wt.ApplicationRef,null,[Wt["\u0275e"]]),Wt["\u0275mpd"](512,Wt.ApplicationModule,Wt.ApplicationModule,[Wt.ApplicationRef]),Wt["\u0275mpd"](512,Kt.a,Kt.a,[[3,Kt.a]]),Wt["\u0275mpd"](512,no.a,no.a,[]),Wt["\u0275mpd"](512,Ht.b,Ht.b,[]),Wt["\u0275mpd"](512,Va.a,Va.a,[]),Wt["\u0275mpd"](512,Wa.a,Wa.a,[]),Wt["\u0275mpd"](512,$t.v,$t.v,[]),Wt["\u0275mpd"](512,$t.g,$t.g,[]),Wt["\u0275mpd"](512,Xt.f,Xt.f,[]),Wt["\u0275mpd"](512,Xt.i,Xt.i,[]),Wt["\u0275mpd"](256,Gt.e,{separator:".",prefix:"custom"},[]),Wt["\u0275mpd"](1024,qa.a,Gt.f,[Gt.e]),Wt["\u0275mpd"](512,Gt.b,Gt.b,[Wt.NgZone,[2,qa.a]]),Wt["\u0275mpd"](512,Qt.Ng2Bs3ModalModule,Qt.Ng2Bs3ModalModule,[]),Wt["\u0275mpd"](512,$t.s,$t.s,[]),Wt["\u0275mpd"](1024,hr.s,hr.v,[[3,hr.k]]),Wt["\u0275mpd"](512,hr.r,hr.c,[]),Wt["\u0275mpd"](512,hr.b,hr.b,[]),Wt["\u0275mpd"](256,hr.g,{},[]),Wt["\u0275mpd"](1024,go.LocationStrategy,hr.u,[go.PlatformLocation,[2,go.APP_BASE_HREF],hr.g]),Wt["\u0275mpd"](512,go.Location,go.Location,[go.LocationStrategy]),Wt["\u0275mpd"](512,Wt.Compiler,Wt.Compiler,[]),Wt["\u0275mpd"](512,Wt.NgModuleFactoryLoader,Wt.SystemJsNgModuleLoader,[Wt.Compiler,[2,Wt.SystemJsNgModuleLoaderConfig]]),Wt["\u0275mpd"](1024,hr.i,function(){return[[{path:"",redirectTo:"/login",pathMatch:"full"},{path:"login",component:mr,canActivate:[Fr,Ur]},{path:"news",component:Br,canActivate:[Fr]},{path:"faq",component:Vr,canActivate:[Fr]},{path:"features",component:qr,canActivate:[Fr]},{path:"logout",component:vr,canActivate:[Fr,zr]},{path:"user",component:br,canActivate:[Fr],children:[{path:"load",component:fr},{path:"agreement",component:Ar,canActivate:[Tr]},{path:"transcr",component:xr,canActivate:[Er,Tr]},{path:"transcr/help",component:Dr,canActivate:[Er,Tr]},{path:"transcr/end",component:Cr,canActivate:[Nr]},{path:"transcr/reload-file",component:Rr,canActivate:[Ir]},{path:"",redirectTo:"/user/load",pathMatch:"full"}]},{path:"help-tools",component:Wr},{path:"**",redirectTo:"/login",pathMatch:"full"}]]},[]),Wt["\u0275mpd"](1024,hr.k,hr.w,[Wt.ApplicationRef,hr.r,hr.b,go.Location,Wt.Injector,Wt.NgModuleFactoryLoader,Wt.Compiler,hr.i,hr.g,[2,hr.q],[2,hr.j]]),Wt["\u0275mpd"](512,hr.n,hr.n,[[2,hr.s],[2,hr.k]]),Wt["\u0275mpd"](512,so,so,[]),Wt["\u0275mpd"](256,fo.c,void 0,[]),Wt["\u0275mpd"](256,fo.b,void 0,[]),Wt["\u0275mpd"](256,Ka.a,{autoClose:!0},[])])});qt.production&&Object(Wt.enableProdMode)(),Object(Kt.k)().bootstrapModuleFactory($a)},gFIY:function(e,n){function t(e){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+e+"'.")})}t.keys=function(){return[]},t.resolve=t,e.exports=t,t.id="gFIY"}},[0]); \ No newline at end of file +webpackJsonp([2],{0:function(e,n,t){e.exports=t("cDNt")},cDNt:function(e,n,t){"use strict";function l(e){switch(e){case rl.PREPARE:return"PREPARE";case rl.INITIALIZED:return"INITIALIZED";case rl.STARTED:return"STARTED";case rl.PLAYING:return"PLAYING";case rl.PAUSED:return"PAUSED";case rl.STOPPED:return"STOPPED";case rl.ENDED:return"ENDED"}}function i(e){return new Ll(e,"./i18n/octra/octra_",".json")}function r(e){return Wt["\u0275vid"](0,[Wt["\u0275qud"](402653184,1,{fileinput:0}),(e()(),Wt["\u0275eld"](1,0,null,null,17,"div",[["style","position: relative;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](3,0,[["dropzone",1]],null,14,"div",[["class","dropzone"]],null,[[null,"dragover"],[null,"drop"],[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("dragover"===n){l=!1!==i.onDragOver(t)&&l}if("drop"===n){l=!1!==i.onFileDrop(t)&&l}if("click"===n){l=!1!==i.onClick(t)&&l}return l},null,null)),Wt["\u0275did"](4,278528,null,0,go.NgStyle,[Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngStyle:[0,"ngStyle"]},null),Wt["\u0275pod"](5,{height:0}),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](7,0,null,null,9,"div",[["class","inner"],["style","margin: auto 0;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),Wt["\u0275ncd"](null,0),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](11,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](13,0,null,null,0,"span",[["class","glyphicon glyphicon-folder-open dragndrop"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](15,0,[[1,0],["fileinput",1]],null,0,"input",[["class","fileinput"],["multiple",""],["style","display:none;"],["type","file"],["value","Select audio file"]],null,[[null,"change"]],function(e,n,t){var l=!0,i=e.component;if("change"===n){l=!1!==i.onFileChange(t)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){e(n,4,0,e(n,5,0,n.component.height))},null)}function o(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-drop-zone",[],null,null,null,r,yo)),Wt["\u0275did"](1,114688,null,0,cr,[],null,null)],function(e,n){e(n,1,0)},null)}function u(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,0,"span",[["class","glyphicon glyphicon-remove"]],null,null,null,null,null))],null,null)}function a(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,0,"span",[["class","glyphicon glyphicon-ok"]],null,null,null,null,null))],null,null)}function s(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"i",[["class","fa fa-spinner fa-spin"],["style","font-size:16px"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,null)}function c(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,18,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](3,0,null,null,0,"span",[["class","glyphicon glyphicon-remove-circle delete-icon"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.onDeleteEntry(e.context.$implicit.file.name)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](5,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](6,null,["","\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,9,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275and"](16777216,null,null,1,null,u)),Wt["\u0275did"](10,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,a)),Wt["\u0275did"](13,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,s)),Wt["\u0275did"](16,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,10,0,"invalid"===n.context.$implicit.status),e(n,13,0,"valid"===n.context.$implicit.status),e(n,16,0,"progress"===n.context.$implicit.status)},function(e,n){e(n,6,0,n.component.getDropzoneFileString(n.context.$implicit.file))})}function d(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("dropzone.drag&drop here")))})}function p(e){return Wt["\u0275vid"](0,[Wt["\u0275qud"](402653184,1,{dropzone:0}),(e()(),Wt["\u0275eld"](1,0,null,null,13,"app-drop-zone",[],null,[[null,"afterdrop"]],function(e,n,t){var l=!0,i=e.component;if("afterdrop"===n){l=!1!==i.afterDrop()&&l}return l},r,yo)),Wt["\u0275did"](2,114688,[[1,4],["dropzone",4]],0,cr,[],{height:[0,"height"]},{afterdrop:"afterdrop"}),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,0,5,"table",[["class","dropzone-table"]],[[8,"hidden",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,3,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275and"](16777216,null,null,1,null,c)),Wt["\u0275did"](8,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,d)),Wt["\u0275did"](12,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275eld"](13,0,null,0,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,0,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](16,0,null,null,1,"span",[["class","link"],["style","z-index:20;width:100%;text-align:center;display:block;"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.showSupported()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["Supported files"]))],function(e,n){var t=n.component;e(n,2,0,"250px"),e(n,8,0,t.files),e(n,12,0,0===t.files.length)},function(e,n){e(n,4,0,0===n.component.files.length)})}function h(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-octra-dropzone",[],null,null,null,p,wo)),Wt["\u0275did"](1,245760,null,0,io,[mi],null,null)],function(e,n){e(n,1,0)},null)}function f(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"p",[["class","warning"]],[[8,"innerHTML",1]],null,null,null,null)),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){e(n,0,0,Wt["\u0275unv"](n,0,0,Wt["\u0275nov"](n,1).transform("browser.invalid")))})}function g(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"p",[["class","warning"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["\n ","\n "]))],null,function(e,n){e(n,1,0,n.component.getValidBrowsers())})}function m(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,7,"div",[["class","bg-danger"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,f)),Wt["\u0275did"](3,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,g)),Wt["\u0275did"](6,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,3,0,!t.valid_platform),e(n,6,0,!t.valid_platform)},null)}function v(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"p",[["class","warning"]],[[8,"innerHTML",1]],null,null,null,null)),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){e(n,0,0,Wt["\u0275unv"](n,0,0,Wt["\u0275nov"](n,1).transform("browser.small window width")))})}function b(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"div",[["id","login-disabled"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("login.online mode disabled")))})}function y(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"option",[],null,null,null,null,null)),Wt["\u0275did"](1,147456,null,0,$t.p,[Wt.ElementRef,Wt.Renderer2,[2,$t.u]],{value:[0,"value"]},null),Wt["\u0275did"](2,147456,null,0,$t.A,[Wt.ElementRef,Wt.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),Wt["\u0275ted"](3,null,["","\n "]))],function(e,n){e(n,1,0,Wt["\u0275inlineInterpolate"](1,"",n.context.$implicit,"")),e(n,2,0,Wt["\u0275inlineInterpolate"](1,"",n.context.$implicit,""))},function(e,n){e(n,3,0,n.context.$implicit)})}function _(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"input",[["class","btn btn-raised btn-primary"],["id","login-submit"],["name","login-submit"],["type","submit"]],[[8,"disabled",0],[8,"value",0]],null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Wt["\u0275pod"](2,{"btn-danger":0}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],function(e,n){var t=n.component;e(n,1,0,"btn btn-raised btn-primary",e(n,2,0,t.appStorage.uselocalmode&&null!==t.appStorage.sessionfile))},function(e,n){e(n,0,0,!Wt["\u0275nov"](n.parent,4).valid,Wt["\u0275inlineInterpolate"](1,"",Wt["\u0275unv"](n,0,1,Wt["\u0275nov"](n,3).transform("general.login")),""))})}function w(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"input",[["class","btn btn-raised btn-danger"],["id","login-submit"],["name","login-submit"],["type","submit"]],[[8,"disabled",0],[8,"value",0]],null,null,null,null)),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,0,0,!Wt["\u0275nov"](n.parent,4).valid,Wt["\u0275inlineInterpolate"](1,"",Wt["\u0275unv"](n,0,1,Wt["\u0275nov"](n,1).transform("login.login and remove")),""))})}function S(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,85,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,82,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],function(e,n,t){var l=!0,i=e.component;if("submit"===n){l=!1!==Wt["\u0275nov"](e,4).onSubmit(t)&&l}if("reset"===n){l=!1!==Wt["\u0275nov"](e,4).onReset()&&l}if("ngSubmit"===n){l=!1!==i.onSubmit(Wt["\u0275nov"](e,4))&&l}return l},null,null)),Wt["\u0275did"](3,16384,null,0,$t.y,[],null,null),Wt["\u0275did"](4,16384,[[1,4],["f",4]],0,$t.n,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Wt["\u0275prd"](2048,null,$t.c,null,[$t.n]),Wt["\u0275did"](6,16384,null,0,$t.m,[$t.c],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,75,"fieldset",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,72,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](12,0,null,null,16,"div",[["class","form-group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](14,0,null,null,2,"label",[["class","control-label"],["for","login-id"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](15,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](18,0,null,null,9,"input",[["class","form-control"],["id","login-id"],["name","login-id"],["pattern","\\w+"],["required",""]],[[8,"placeholder",0],[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,n,t){var l=!0,i=e.component;if("input"===n){l=!1!==Wt["\u0275nov"](e,19)._handleInput(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,19).onTouched()&&l}if("compositionstart"===n){l=!1!==Wt["\u0275nov"](e,19)._compositionStart()&&l}if("compositionend"===n){l=!1!==Wt["\u0275nov"](e,19)._compositionEnd(t.target.value)&&l}if("ngModelChange"===n){l=!1!==(i.member.id=t)&&l}return l},null,null)),Wt["\u0275did"](19,16384,null,0,$t.d,[Wt.Renderer2,Wt.ElementRef,[2,$t.a]],null,null),Wt["\u0275did"](20,16384,null,0,$t.t,[],{required:[0,"required"]},null),Wt["\u0275did"](21,540672,null,0,$t.q,[],{pattern:[0,"pattern"]},null),Wt["\u0275prd"](1024,null,$t.i,function(e,n){return[e,n]},[$t.t,$t.q]),Wt["\u0275prd"](1024,null,$t.j,function(e){return[e]},[$t.d]),Wt["\u0275did"](24,671744,null,0,$t.o,[[2,$t.c],[2,$t.i],[8,null],[2,$t.j]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Wt["\u0275prd"](2048,null,$t.k,null,[$t.o]),Wt["\u0275did"](26,16384,null,0,$t.l,[$t.k],null,null),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](30,0,null,null,24,"div",[["class","form-group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](32,0,null,null,2,"label",[["class","control-label"],["for","select111"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](33,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](36,0,[["selection",1]],null,17,"select",[["class","form-control"],["id","select111"],["name","project"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"blur"]],function(e,n,t){var l=!0,i=e.component;if("change"===n){l=!1!==Wt["\u0275nov"](e,37).onChange(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,37).onTouched()&&l}if("ngModelChange"===n){l=!1!==(i.member.project=t)&&l}return l},null,null)),Wt["\u0275did"](37,16384,null,0,$t.u,[Wt.Renderer2,Wt.ElementRef],null,null),Wt["\u0275did"](38,16384,null,0,$t.t,[],{required:[0,"required"]},null),Wt["\u0275prd"](1024,null,$t.i,function(e){return[e]},[$t.t]),Wt["\u0275prd"](1024,null,$t.j,function(e){return[e]},[$t.u]),Wt["\u0275did"](41,671744,null,0,$t.o,[[2,$t.c],[2,$t.i],[8,null],[2,$t.j]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Wt["\u0275prd"](2048,null,$t.k,null,[$t.o]),Wt["\u0275did"](43,16384,null,0,$t.l,[$t.k],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](45,0,null,null,4,"option",[["value",""]],null,null,null,null,null)),Wt["\u0275did"](46,147456,null,0,$t.p,[Wt.ElementRef,Wt.Renderer2,[2,$t.u]],{value:[0,"value"]},null),Wt["\u0275did"](47,147456,null,0,$t.A,[Wt.ElementRef,Wt.Renderer2,[8,null]],{value:[0,"value"]},null),(e()(),Wt["\u0275ted"](48,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,y)),Wt["\u0275did"](52,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](56,0,null,null,16,"div",[["class","form-group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275eld"](58,0,null,null,2,"label",[["class","control-label"],["for","jobno"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](59,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](62,0,[["t",1]],null,9,"input",[["class","form-control"],["id","jobno"],["name","jobno"],["pattern","[0-9]+"],["type","number"]],[[8,"placeholder",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(e,n,t){var l=!0,i=e.component;if("input"===n){l=!1!==Wt["\u0275nov"](e,63)._handleInput(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,63).onTouched()&&l}if("compositionstart"===n){l=!1!==Wt["\u0275nov"](e,63)._compositionStart()&&l}if("compositionend"===n){l=!1!==Wt["\u0275nov"](e,63)._compositionEnd(t.target.value)&&l}if("change"===n){l=!1!==Wt["\u0275nov"](e,64).onChange(t.target.value)&&l}if("input"===n){l=!1!==Wt["\u0275nov"](e,64).onChange(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,64).onTouched()&&l}if("ngModelChange"===n){l=!1!==(i.member.jobno=t)&&l}return l},null,null)),Wt["\u0275did"](63,16384,null,0,$t.d,[Wt.Renderer2,Wt.ElementRef,[2,$t.a]],null,null),Wt["\u0275did"](64,16384,null,0,$t.w,[Wt.Renderer2,Wt.ElementRef],null,null),Wt["\u0275did"](65,540672,null,0,$t.q,[],{pattern:[0,"pattern"]},null),Wt["\u0275prd"](1024,null,$t.i,function(e){return[e]},[$t.q]),Wt["\u0275prd"](1024,null,$t.j,function(e,n){return[e,n]},[$t.d,$t.w]),Wt["\u0275did"](68,671744,null,0,$t.o,[[2,$t.c],[2,$t.i],[8,null],[2,$t.j]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Wt["\u0275prd"](2048,null,$t.k,null,[$t.o]),Wt["\u0275did"](70,16384,null,0,$t.l,[$t.k],null,null),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](74,0,null,null,7,"div",[["class","form-group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,_)),Wt["\u0275did"](77,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,w)),Wt["\u0275did"](80,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,20,0,"");e(n,21,0,"\\w+");e(n,24,0,"login-id",t.member.id);e(n,38,0,"");e(n,41,0,"project",t.member.project);e(n,46,0,"");e(n,47,0,""),e(n,52,0,t.projects);e(n,65,0,"[0-9]+");e(n,68,0,"jobno",t.member.jobno),e(n,77,0,!t.appStorage.uselocalmode),e(n,80,0,t.appStorage.uselocalmode&&null!==t.appStorage.sessionfile)},function(e,n){e(n,2,0,Wt["\u0275nov"](n,6).ngClassUntouched,Wt["\u0275nov"](n,6).ngClassTouched,Wt["\u0275nov"](n,6).ngClassPristine,Wt["\u0275nov"](n,6).ngClassDirty,Wt["\u0275nov"](n,6).ngClassValid,Wt["\u0275nov"](n,6).ngClassInvalid,Wt["\u0275nov"](n,6).ngClassPending),e(n,15,0,Wt["\u0275unv"](n,15,0,Wt["\u0275nov"](n,16).transform("general.name"))),e(n,18,0,Wt["\u0275inlineInterpolate"](1,"",Wt["\u0275unv"](n,18,0,Wt["\u0275nov"](n,27).transform("general.name")),""),Wt["\u0275nov"](n,20).required?"":null,Wt["\u0275nov"](n,21).pattern?Wt["\u0275nov"](n,21).pattern:null,Wt["\u0275nov"](n,26).ngClassUntouched,Wt["\u0275nov"](n,26).ngClassTouched,Wt["\u0275nov"](n,26).ngClassPristine,Wt["\u0275nov"](n,26).ngClassDirty,Wt["\u0275nov"](n,26).ngClassValid,Wt["\u0275nov"](n,26).ngClassInvalid,Wt["\u0275nov"](n,26).ngClassPending),e(n,33,0,Wt["\u0275unv"](n,33,0,Wt["\u0275nov"](n,34).transform("general.select database"))),e(n,36,0,Wt["\u0275nov"](n,38).required?"":null,Wt["\u0275nov"](n,43).ngClassUntouched,Wt["\u0275nov"](n,43).ngClassTouched,Wt["\u0275nov"](n,43).ngClassPristine,Wt["\u0275nov"](n,43).ngClassDirty,Wt["\u0275nov"](n,43).ngClassValid,Wt["\u0275nov"](n,43).ngClassInvalid,Wt["\u0275nov"](n,43).ngClassPending),e(n,48,0,Wt["\u0275unv"](n,48,0,Wt["\u0275nov"](n,49).transform("general.select database"))),e(n,59,0,Wt["\u0275unv"](n,59,0,Wt["\u0275nov"](n,60).transform("general.job number"))),e(n,62,0,Wt["\u0275inlineInterpolate"](1,"",Wt["\u0275unv"](n,62,0,Wt["\u0275nov"](n,71).transform("general.job number")),""),Wt["\u0275nov"](n,65).pattern?Wt["\u0275nov"](n,65).pattern:null,Wt["\u0275nov"](n,70).ngClassUntouched,Wt["\u0275nov"](n,70).ngClassTouched,Wt["\u0275nov"](n,70).ngClassPristine,Wt["\u0275nov"](n,70).ngClassDirty,Wt["\u0275nov"](n,70).ngClassValid,Wt["\u0275nov"](n,70).ngClassInvalid,Wt["\u0275nov"](n,70).ngClassPending)})}function k(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"p",[["class","bg-warning"]],[[8,"innerHTML",1]],null,null,null,null)),Wt["\u0275pod"](1,{file_label:0}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){var t=n.component;e(n,0,0,Wt["\u0275unv"](n,0,0,Wt["\u0275nov"](n,2).transform("login.old file found",e(n,1,0,t.getDropzoneFileString(t.sessionfile)))))})}function O(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"input",[["class","btn btn-raised btn-primary"],["id","offline-submit"],["type","submit"]],[[8,"disabled",0],[8,"value",0]],[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.onOfflineSubmit()&&l}return l},null,null)),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,0,0,!("start"==n.component.getFileStatus()),Wt["\u0275inlineInterpolate"](1,"",Wt["\u0275unv"](n,0,1,Wt["\u0275nov"](n,1).transform("transcription.start")),""))})}function x(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"input",[["class","btn btn-raised btn-danger"],["id","offline-delete-btn"]],[[8,"value",0]],[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.modService.show("transcription_delete","",{ok:i.newTranscription})&&l}return l},null,null)),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,0,0,Wt["\u0275inlineInterpolate"](1,"",Wt["\u0275unv"](n,0,0,Wt["\u0275nov"](n,1).transform("transcription.new")),""))})}function C(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"input",[["class","btn btn-raised btn-danger"],["id","offline-delete-btn"]],[[8,"disabled",0],[8,"value",0]],[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.onOfflineSubmit()&&l}return l},null,null)),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){var t=n.component;e(n,0,0,"new"!==t.getFileStatus()&&"start"!==t.getFileStatus(),Wt["\u0275inlineInterpolate"](1,"",Wt["\u0275unv"](n,0,1,Wt["\u0275nov"](n,1).transform("login.local and remove")),""))})}function P(e){return Wt["\u0275vid"](0,[Wt["\u0275qud"](671088640,1,{loginform:0}),Wt["\u0275qud"](402653184,2,{dropzone:0}),Wt["\u0275qud"](402653184,3,{agreement:0}),Wt["\u0275qud"](402653184,4,{localmode:0}),Wt["\u0275qud"](402653184,5,{onlinemode:0}),(e()(),Wt["\u0275eld"](5,0,null,null,60,"div",[["class","section"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,m)),Wt["\u0275did"](8,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,54,"div",[["class","row"],["id","loginrow"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](12,0,[[5,0],["onlinemode",1]],null,21,"div",[["class","col-md-6 panel panel-default"],["id","onlinemode"],["style","padding:40px;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,v)),Wt["\u0275did"](15,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](17,0,null,null,15,"section",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](19,0,null,null,4,"h4",[],null,null,null,null,null)),Wt["\u0275did"](20,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](21,{"bg-success":0}),(e()(),Wt["\u0275ted"](22,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,b)),Wt["\u0275did"](26,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,S)),Wt["\u0275did"](29,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](31,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](35,0,[[4,0],["localmode",1]],null,28,"div",[["class","col-md-6 panel panel-default"],["id","localmode"],["style","padding:40px;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](37,0,null,null,25,"section",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](39,0,null,null,4,"h4",[],null,null,null,null,null)),Wt["\u0275did"](40,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](41,{"bg-success":0}),(e()(),Wt["\u0275ted"](42,null,["","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](45,0,null,null,16,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,k)),Wt["\u0275did"](48,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](50,0,null,null,1,"app-octra-dropzone",[],null,null,null,p,wo)),Wt["\u0275did"](51,245760,[[2,4],["dropzone",4]],0,io,[mi],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,O)),Wt["\u0275did"](54,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,x)),Wt["\u0275did"](57,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,C)),Wt["\u0275did"](60,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){var t=n.component;e(n,8,0,!t.valid_platform),e(n,15,0,!t.apc.octra.responsive.enabled&&!t.valid_size),e(n,20,0,e(n,21,0,0==t.appStorage.uselocalmode)),e(n,26,0,!t.apc.octra.login.enabled),e(n,29,0,t.apc.octra.login.enabled),e(n,40,0,e(n,41,0,t.appStorage.uselocalmode)),e(n,48,0,t.appStorage.uselocalmode&&null!==t.appStorage.sessionfile),e(n,51,0),e(n,54,0,(null===t.appStorage.uselocalmode||t.appStorage.uselocalmode)&&"new"!=t.getFileStatus()),e(n,57,0,t.appStorage.uselocalmode&&"new"==t.getFileStatus()),e(n,60,0,null!==t.appStorage.uselocalmode&&void 0!==t.appStorage.uselocalmode&&!t.appStorage.uselocalmode&&("new"!=t.getFileStatus()||"start"!=t.getFileStatus()))},function(e,n){e(n,22,0,Wt["\u0275unv"](n,22,0,Wt["\u0275nov"](n,23).transform("login.online mode"))),e(n,42,0,Wt["\u0275unv"](n,42,0,Wt["\u0275nov"](n,43).transform("login.local mode")))})}function j(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"app-login",[],null,[["window","resize"]],function(e,n,t){var l=!0;if("window:resize"===n){l=!1!==Wt["\u0275nov"](e,2).onResize(t)&&l}return l},P,ko)),Wt["\u0275prd"](4608,null,yi,yi,[Xt.e]),Wt["\u0275did"](2,4440064,null,0,mr,[hr.k,Oi,Fl,Wt.ChangeDetectorRef,Ri,mi,fo.a,fi],null,null)],function(e,n){e(n,2,0)},null)}function R(e){return Wt["\u0275vid"](2,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"h2",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](4,0,null,null,0,"iframe",[["src","https://www.phonetik.uni-muenchen.de/apps/octra/contents/news.html"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.news")))})}function M(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-news",[],null,null,null,R,Po)),Wt["\u0275did"](1,638976,null,0,Br,[Kt.c,Wt.ChangeDetectorRef,Ri,Pi],null,null)],function(e,n){e(n,1,0)},null)}function T(e){return Wt["\u0275vid"](2,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"h2",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["FAQ"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](3,0,null,null,0,"iframe",[["src","https://www.phonetik.uni-muenchen.de/apps/octra/contents/1.2/faq.html"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],null,null)}function N(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-faq",[],null,null,null,T,To)),Wt["\u0275did"](1,638976,null,0,Vr,[Kt.c,Wt.ChangeDetectorRef,Ri,Pi],null,null)],function(e,n){e(n,1,0)},null)}function I(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,0,"iframe",[["src","https://www.phonetik.uni-muenchen.de/apps/octra/contents/1.2/features.html"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],null,null)}function E(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-features",[],null,null,null,I,Ao)),Wt["\u0275did"](1,114688,null,0,qr,[],null,null)],function(e,n){e(n,1,0)},null)}function A(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,18,"div",[["class","section"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,15,"div",[["id","logout"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](5,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,8,"p",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](9,null,["","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275eld"](11,0,null,null,4,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,12).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&l}return l},null,null)),Wt["\u0275did"](12,671744,null,0,hr.m,[hr.k,hr.a,go.LocationStrategy],{routerLink:[0,"routerLink"]},null),Wt["\u0275pad"](13,1),(e()(),Wt["\u0275ted"](14,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){e(n,12,0,e(n,13,0,"/login"))},function(e,n){e(n,5,0,Wt["\u0275unv"](n,5,0,Wt["\u0275nov"](n,6).transform("general.logout successful"))),e(n,9,0,Wt["\u0275unv"](n,9,0,Wt["\u0275nov"](n,10).transform("logout.successful text"))),e(n,11,0,Wt["\u0275nov"](n,12).target,Wt["\u0275nov"](n,12).href),e(n,14,0,Wt["\u0275unv"](n,14,0,Wt["\u0275nov"](n,15).transform("logout.login again")))})}function D(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-login",[],null,null,null,A,zo)),Wt["\u0275did"](1,114688,null,0,vr,[hr.k,Oi,Ri],null,null)],function(e,n){e(n,1,0)},null)}function L(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"div",[["id","members-area"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),Wt["\u0275did"](3,212992,null,0,hr.o,[hr.b,Wt.ViewContainerRef,Wt.ComponentFactoryResolver,[8,null],Wt.ChangeDetectorRef],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){e(n,3,0)},null)}function U(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"app-members-area",[],null,null,null,L,Wo)),Wt["\u0275prd"](4608,null,Ci,Ci,[]),Wt["\u0275prd"](4608,null,Fi,Fi,[fi,Oi,Ci,Pi,Ri]),Wt["\u0275did"](3,49152,null,0,br,[hr.k,Ri],null,null)],null,null)}function z(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"div",[["class","progress-bar"]],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgStyle,[Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngStyle:[0,"ngStyle"]},null),Wt["\u0275pod"](2,{width:0}),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,1,0,e(n,2,0,n.component.progress+"%"))},null)}function F(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"div",[["class","progress-bar"]],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgStyle,[Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngStyle:[0,"ngStyle"]},null),Wt["\u0275pod"](2,{width:0,"background-color":1}),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,1,0,e(n,2,0,"100%","red"))},null)}function B(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,7,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,1,"span",[["class","link"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.retry()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["Retry"])),(e()(),Wt["\u0275ted"](-1,null,[" or "])),(e()(),Wt["\u0275eld"](5,0,null,null,1,"span",[["class","link"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.goBack()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["Back"])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,null)}function V(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,9,"div",[["c2lass","description"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["\n ","",""])),(e()(),Wt["\u0275eld"](2,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,1,"div",[["class","text-info"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](5,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,B)),Wt["\u0275did"](8,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,8,0,null!==t.warning&&""!==t.warning)},function(e,n){var t=n.component;e(n,1,0,t.text,t.state),e(n,5,0,t.warning)})}function W(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,7,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,1,"span",[["class","link"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.retry()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["Retry"])),(e()(),Wt["\u0275ted"](-1,null,[" or "])),(e()(),Wt["\u0275eld"](5,0,null,null,1,"span",[["class","link"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.goBack()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["Back"])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,null)}function q(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,22,"div",[["id","loading"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,1,"span",[["id","logo"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["OCTRA"])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](5,0,null,null,7,"div",[["class","progress"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,z)),Wt["\u0275did"](8,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,F)),Wt["\u0275did"](11,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,V)),Wt["\u0275did"](15,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](17,0,null,null,1,"div",[["class","log"]],[[8,"innerHTML",1]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,W)),Wt["\u0275did"](21,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){var t=n.component;e(n,8,0,""==t.settService.log),e(n,11,0,""!=t.settService.log),e(n,15,0,""==t.settService.log),e(n,21,0,""!=t.settService.log)},function(e,n){e(n,17,0,n.component.settService.log)})}function K(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-loading",[],null,null,null,q,Xo)),Wt["\u0275did"](1,245760,null,0,fr,[fo.a,Ri,Oi,fi,hr.k,Fi],null,null)],function(e,n){e(n,1,0)},null)}function $(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,29,"div",[["class","panel"],["id","agreement"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"h2",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,1,"p",[],[[8,"innerHTML",1]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,null,19,"div",[["id","bottom-nav"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](11,0,null,null,16,"div",[["aria-label","..."],["class","btn-group btn-group-justified"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](13,0,null,null,5,"a",[["class","btn btn-default btn-raised"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.logout()&&l}return l},null,null)),(e()(),Wt["\u0275eld"](14,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-remove-circle"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](16,0,null,null,2,"span",[["class","hidden-xs hidden-sm"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](17,null,[" ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](20,0,null,null,6,"a",[["class","btn btn-default btn-raised"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.accept()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](22,0,null,null,2,"span",[["class","hidden-xs hidden-sm"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](23,null,[" ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](26,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon glyphicon-menu-right"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],null,function(e,n){var t=n.component;e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("general.agreement"))),e(n,6,0,t.toHTML(t.settService.projectsettings.agreement.text)),e(n,17,0,Wt["\u0275unv"](n,17,0,Wt["\u0275nov"](n,18).transform("general.quit"))),e(n,23,0,Wt["\u0275unv"](n,23,0,Wt["\u0275nov"](n,24).transform("general.continue")))})}function X(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-agreement",[],null,null,null,$,Yo)),Wt["\u0275did"](1,114688,null,0,Ar,[Ri,hr.k,fo.a,Oi],null,null)],function(e,n){e(n,1,0)},null)}function H(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"span",[["class","text-success found-errors"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.no errors found")))})}function Q(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"span",[["class","text-danger found-errors"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["",""])),Wt["\u0275pod"](2,{errors:0}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){var t=n.component;e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,3).transform("general.errors found",e(n,2,0,t.foundErrors))))})}function G(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,19,"tr",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{success:0,info:1,danger:2}),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,6,"td",[["style","width:25px;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,3,"span",[["class","glyphicon glyphicon-warning-sign segment-warning"]],null,null,null,null,null)),Wt["\u0275did"](7,278528,null,0,go.NgStyle,[Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngStyle:[0,"ngStyle"]},null),Wt["\u0275pod"](8,{display:0}),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](12,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](13,0,null,null,2,"span",[["class","link segment-number"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.onSegmentClicked(e.context.index)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](14,null,["# ",""])),Wt["\u0275pid"](0,Qr,[]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](18,0,null,null,0,"td",[],[[8,"innerHTML",1]],[[null,"mousemove"],[null,"mousedown"]],function(e,n,t){var l=!0,i=e.component;if("mousemove"===n){l=!1!==i.onMouseOver(t)&&l}if("mousedown"===n){l=!1!==i.onMouseOver(t)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,1,0,e(n,2,0,""!=n.context.$implicit.transcription.text&&n.context.$implicit.transcription.text!=t.transcrService.break_marker.code,n.context.$implicit.transcription.text==t.transcrService.break_marker.code,""==n.context.$implicit.transcription.text)),e(n,7,0,e(n,8,0,n.context.$implicit.transcription.html.indexOf("
-1?"normal":"none"))},function(e,n){var t=n.component;e(n,14,0,Wt["\u0275unv"](n,14,0,Wt["\u0275nov"](n,15).transform(n.context.index+1,t.shown_segments.length))),e(n,18,0,t.sanitizeHTML(n.context.$implicit.transcription.html))})}function Y(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,21,"table",[["class","table"]],[[8,"hidden",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,14,"thead",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,11,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,0,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](9,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](12,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](13,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](18,0,null,null,3,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275and"](16777216,null,null,1,null,G)),Wt["\u0275did"](20,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){e(n,20,0,n.component.shown_segments)},function(e,n){e(n,0,0,!n.component.show_transcriptiontable),e(n,9,0,Wt["\u0275unv"](n,9,0,Wt["\u0275nov"](n,10).transform("general.segment"))),e(n,13,0,Wt["\u0275unv"](n,13,0,Wt["\u0275nov"](n,14).transform("general.transcription")))})}function J(e){return Wt["\u0275vid"](2,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"h4",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](4,0,null,null,43,"table",[["class","table"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,20,"thead",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,17,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](11,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](14,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](15,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](18,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](19,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](22,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](23,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](28,0,null,null,18,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](30,0,null,null,15,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](32,0,null,null,1,"td",[["class","active"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](33,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](35,0,null,null,1,"td",[["class","success"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](36,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](38,0,null,null,1,"td",[["class","info"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](39,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](41,0,null,null,3,"td",[["class","danger"]],null,null,null,null,null)),(e()(),Wt["\u0275eld"](42,0,null,null,2,"b",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](43,0,null,null,1,"u",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](44,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](49,0,null,null,7,"p",[],[[8,"hidden",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,H)),Wt["\u0275did"](52,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Q)),Wt["\u0275did"](55,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](58,0,null,null,2,"h4",[],[[8,"hidden",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](59,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](62,0,null,null,6,"div",[],[[8,"hidden",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](64,0,null,null,3,"div",[["style","display:block; text-align:center; margin-top:-10px;position:absolute;width:100%;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](66,0,null,null,0,"i",[["class","fa fa-spinner fa-spin"],["style","font-size:32px"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Y)),Wt["\u0275did"](71,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,n){var t=n.component;e(n,52,0,0==t.foundErrors),e(n,55,0,t.foundErrors>0),e(n,71,0,t.shown_segments.length>0)},function(e,n){var t=n.component;e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.statistics"))),e(n,11,0,Wt["\u0275unv"](n,11,0,Wt["\u0275nov"](n,12).transform("segments.total"))),e(n,15,0,Wt["\u0275unv"](n,15,0,Wt["\u0275nov"](n,16).transform("segments.transcribed"))),e(n,19,0,Wt["\u0275unv"](n,19,0,Wt["\u0275nov"](n,20).transform("segments.with breaks"))),e(n,23,0,Wt["\u0275unv"](n,23,0,Wt["\u0275nov"](n,24).transform("segments.not transcribed"))),e(n,33,0,t.numberOfSegments),e(n,36,0,t.transcrSegments),e(n,39,0,t.pauseSegments),e(n,44,0,t.emptySegments),e(n,49,0,0==t.shown_segments.length),e(n,58,0,!t.show_transcriptiontable),e(n,59,0,Wt["\u0275unv"](n,59,0,Wt["\u0275nov"](n,60).transform("general.transcript"))),e(n,62,0,!t.show_loading)})}function Z(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-transcr-overview",[],null,null,null,J,tu)),Wt["\u0275did"](1,4964352,null,0,Pr,[Fi,fi,Kt.c,Wt.ChangeDetectorRef],null,null)],function(e,n){e(n,1,0)},null)}function ee(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"div",[["class","alert alert-dismissible alert-success"]],[[8,"hidden",0],[24,"@fadeToggle",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["\n ","\n"]))],null,function(e,n){var t=n.component;e(n,0,0,!t.show,t.state),e(n,1,0,t.text)})}function ne(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"div",[["class","alert alert-dismissible alert-danger"]],[[8,"hidden",0],[24,"@fadeToggle",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,1,"button",[["class","close"],["data-dismiss","alert"],["type","button"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\xd7"])),(e()(),Wt["\u0275ted"](4,null,["\n ","\n"]))],null,function(e,n){var t=n.component;e(n,0,0,!t.show,t.state),e(n,4,0,t.text)})}function te(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"div",[["class","alert alert-dismissible alert-info"]],[[8,"hidden",0],[24,"@fadeToggle",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,1,"button",[["class","close"],["data-dismiss","alert"],["type","button"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\xd7"])),(e()(),Wt["\u0275ted"](4,null,["\n ","\n"]))],null,function(e,n){var t=n.component;e(n,0,0,!t.show,t.state),e(n,4,0,t.text)})}function le(e){return Wt["\u0275vid"](2,[(e()(),Wt["\u0275and"](16777216,null,null,1,null,ee)),Wt["\u0275did"](1,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ne)),Wt["\u0275did"](4,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,te)),Wt["\u0275did"](7,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,n){var t=n.component;e(n,1,0,"success"==t.type),e(n,4,0,"error"==t.type),e(n,7,0,"info"==t.type)},null)}function ie(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-alert",[],null,null,null,le,uu)),Wt["\u0275did"](1,245760,null,0,sr,[Wt.ChangeDetectorRef,Bi],null,null)],function(e,n){e(n,1,0)},null)}function re(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm ":0}),(e()(),Wt["\u0275ted"](3,null,["",""]))],function(e,n){e(n,1,0,e(n,2,0,n.component.responsive))},function(e,n){e(n,3,0,n.component.button_labels.shortcuts)})}function oe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm hidden-md":0}),(e()(),Wt["\u0275ted"](-1,null,["[ALT +\n 8]"]))],function(e,n){e(n,1,0,e(n,2,0,n.component.responsive))},null)}function ue(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm ":0}),(e()(),Wt["\u0275ted"](3,null,["",""]))],function(e,n){e(n,1,0,e(n,2,0,n.component.responsive))},function(e,n){e(n,3,0,n.component.button_labels.guidelines)})}function ae(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm hidden-md":0}),(e()(),Wt["\u0275ted"](-1,null,["[ALT + 9]"]))],function(e,n){e(n,1,0,e(n,2,0,n.component.responsive))},null)}function se(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm ":0}),(e()(),Wt["\u0275ted"](3,null,["",""]))],function(e,n){e(n,1,0,e(n,2,0,n.component.responsive))},function(e,n){e(n,3,0,n.component.button_labels.overview)})}function ce(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm hidden-md":0}),(e()(),Wt["\u0275ted"](-1,null,["[ALT + 0]"]))],function(e,n){e(n,1,0,e(n,2,0,n.component.responsive))},null)}function de(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm ":0}),(e()(),Wt["\u0275ted"](3,null,["",""]))],function(e,n){e(n,1,0,e(n,2,0,n.component.responsive))},function(e,n){e(n,3,0,n.component.button_labels.help)})}function pe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,46,"div",[["id","fastbar"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,43,"div",[["aria-label","Justified button group"],["class","btn-group btn-group-justified btn-group-sm"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,8,"a",[["class","btn"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.shortcutbtnclicked.emit()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,0,"span",[["class","glyphicon glyphicon-open"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,re)),Wt["\u0275did"](9,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,oe)),Wt["\u0275did"](12,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](14,0,null,null,9,"a",[["class","btn"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.guidelinesbtnclicked.emit()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](16,0,null,null,0,"span",[["class","glyphicon glyphicon-th-list"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ue)),Wt["\u0275did"](19,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ae)),Wt["\u0275did"](22,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](25,0,null,null,9,"a",[["class","btn"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.overviewbtnclicked.emit()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](27,0,null,null,0,"span",[["class","glyphicon glyphicon-eye-open"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,se)),Wt["\u0275did"](30,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ce)),Wt["\u0275did"](33,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](36,0,null,null,8,"a",[["class","btn"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,37).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&l}return l},null,null)),Wt["\u0275did"](37,671744,null,0,hr.m,[hr.k,hr.a,go.LocationStrategy],{routerLink:[0,"routerLink"]},null),Wt["\u0275pad"](38,1),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](40,0,null,null,0,"span",[["class","glyphicon glyphicon-question-sign"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,de)),Wt["\u0275did"](43,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){var t=n.component;e(n,9,0,!t.appStorage.easymode),e(n,12,0,!t.appStorage.easymode),e(n,19,0,!t.appStorage.easymode),e(n,22,0,!t.appStorage.easymode),e(n,30,0,!t.appStorage.easymode),e(n,33,0,!t.appStorage.easymode),e(n,37,0,e(n,38,0,"/user/transcr/help")),e(n,43,0,!t.appStorage.easymode)},function(e,n){e(n,36,0,Wt["\u0275nov"](n,37).target,Wt["\u0275nov"](n,37).href)})}function he(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-fastbar",[],null,null,null,pe,mu)),Wt["\u0275did"](1,114688,null,0,Mr,[Oi],null,null)],function(e,n){e(n,1,0)},null)}function fe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"div",[["class","bg-warning"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.no guidelines found")))})}function ge(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,0,"span",[["class","glyphicon glyphicon glyphicon-chevron-down"]],null,null,null,null,null))],null,null)}function me(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,0,"span",[["class","glyphicon glyphicon glyphicon-chevron-up"]],null,null,null,null,null))],null,null)}function ve(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,3,"div",[["class","media"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,0,"audio",[["controls",""]],[[8,"src",4]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){e(n,2,0,Wt["\u0275inlineInterpolate"](1,"",n.parent.context.$implicit.url,""))})}function be(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,12,"div",[["class","media"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,9,"video",[["class","video-js vjs-default-skin vjs-big-play-centered"],["controls",""],["data-setup","{}"],["preload","auto"]],[[8,"id",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,0,"source",[["type","video/mp4"]],[[8,"src",4]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,4,"p",[["class","vjs-no-js"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n To view this video please enable JavaScript, and consider\n upgrading to a\n web browser that\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,1,"a",[["href","http://videojs.com/html5-video-support/"],["target","_blank"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n supports HTML5 video\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){e(n,2,0,Wt["\u0275inlineInterpolate"](3,"my-player_g",n.parent.parent.parent.parent.parent.context.index,"i",n.parent.parent.parent.context.index,"e",n.parent.context.index,"")),e(n,4,0,Wt["\u0275inlineInterpolate"](1,"",n.parent.context.$implicit.url,""))})}function ye(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,22,"div",[["class","panel panel-primary panel-example"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,5,"div",[["class","panel-heading"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,2,"h3",[["class","panel-title"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](5,null,[""," ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,null,12,"div",[["class","panel-body"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ve)),Wt["\u0275did"](12,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,be)),Wt["\u0275did"](15,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](17,0,null,null,3,"div",[["class","text"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](19,0,null,null,0,"code",[],[[8,"innerHTML",1]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,12,0,n.context.$implicit.url.indexOf(".wav")>-1),e(n,15,0,n.context.$implicit.url.indexOf(".mp4")>-1)},function(e,n){var t=n.component;e(n,5,0,Wt["\u0275unv"](n,5,0,Wt["\u0275nov"](n,6).transform("general.example")),n.context.index+1),e(n,19,0,t.transcrService.rawToHTML(n.context.$implicit.annotation))})}function _e(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"div",[["class","col-md-8"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ye)),Wt["\u0275did"](3,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,3,0,n.parent.context.$implicit.examples)},null)}function we(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,40,"div",[["class","row select-row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,7,"div",[["class","col-xs-1 chevron"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.toggle(e.parent.parent.context.index,e.context.index)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ge)),Wt["\u0275did"](5,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,me)),Wt["\u0275did"](8,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](11,0,null,null,1,"div",[["class","col-xs-1 code"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.toggle(e.parent.parent.context.index,e.context.index)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](12,null,["\n ","\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](14,0,null,null,19,"div",[["class","col-xs-9"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](16,0,null,null,1,"span",[["class","guidelines-title"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.toggle(e.parent.parent.context.index,e.context.index)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](17,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](19,0,null,null,13,"div",[["class","row entry-row"]],[[2,"collapse",null],[4,"display",null],[2,"in",null],[2,"show",null],[1,"aria-expanded",0],[1,"aria-hidden",0],[2,"collapsing",null]],null,null,null,null)),Wt["\u0275did"](20,16384,null,0,bu.a,[Wt.ElementRef,Wt.Renderer],{collapse:[0,"collapse"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](22,0,null,null,6,"div",[],null,null,null,null,null)),Wt["\u0275did"](23,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](24,{"col-md-4":0,"col-md-12":1}),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](26,0,null,null,1,"span",[["class","guidelines-descr"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](27,null,["\n ","\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,_e)),Wt["\u0275did"](31,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](35,0,null,null,4,"div",[["class","col-xs-1 hidden-xs col-priority"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.toggle(e.parent.parent.context.index,e.context.index)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](37,0,null,null,1,"span",[["class","label label-info"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](38,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,5,0,t.collapsed[n.parent.parent.context.index][n.context.index]),e(n,8,0,!t.collapsed[n.parent.parent.context.index][n.context.index]),e(n,20,0,t.collapsed[n.parent.parent.context.index][n.context.index]),e(n,23,0,e(n,24,0,n.context.$implicit.examples.length>0,0==n.context.$implicit.examples.length)),e(n,31,0,n.context.$implicit.examples.length>0)},function(e,n){e(n,12,0,n.context.$implicit.code),e(n,17,0,n.context.$implicit.title),e(n,19,0,Wt["\u0275nov"](n,20).isCollapse,Wt["\u0275nov"](n,20).display,Wt["\u0275nov"](n,20).isExpanded,Wt["\u0275nov"](n,20).isExpanded,Wt["\u0275nov"](n,20).isExpanded,Wt["\u0275nov"](n,20).isCollapsed,Wt["\u0275nov"](n,20).isCollapsing),e(n,27,0,n.context.$implicit.description),e(n,38,0,n.context.$implicit.priority)})}function Se(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"div",[["class","panel-body"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,we)),Wt["\u0275did"](3,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,3,0,n.parent.context.$implicit.entries)},null)}function ke(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,13,"div",[["class","row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,10,"div",[["class","col-xs-12"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,7,"div",[["class","panel panel-default"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,1,"div",[["class","panel-heading"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Se)),Wt["\u0275did"](10,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,10,0,n.component.collapsed.length>0)},function(e,n){e(n,7,0,n.context.$implicit.group)})}function Oe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,63,"modal",[["class","modal"],["id","rules"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,au.b,au.a)),Wt["\u0275did"](1,180224,[[1,4],["modal_guidelines",4]],0,su.ModalComponent,[Wt.ElementRef],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](3,0,null,0,41,"modal-header",[],null,null,null,cu.b,cu.a)),Wt["\u0275did"](4,49152,null,0,du.ModalHeaderComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,0,37,"div",[["class","row hidden-xs hidden-sm"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,19,"div",[["class","col-md-7"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,4,"h3",[["style","display:inline;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](11,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275eld"](13,0,null,null,1,"span",[["class","version"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](14,null,["\n v ","\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](16,0,null,null,2,"button",[["class","btn btn-sm btn-danger"],["style","border:1px solid red;"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.exportPDF()&&l}return l},null,null)),(e()(),Wt["\u0275eld"](17,0,null,null,0,"span",[["class","glyphicon glyphicon-print"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,[" PDF\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](20,0,null,null,2,"span",[["class","project"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](21,null,["\n ",": ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](24,0,null,null,2,"span",[["class","authors"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](25,null,["\n ",": ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](29,0,null,null,13,"div",[["class","col-md-5"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](31,0,null,null,10,"div",[["class","form-group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](33,0,null,null,7,"div",[["class","input-group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](35,0,null,null,1,"span",[["class","input-group-addon"]],null,null,null,null,null)),(e()(),Wt["\u0275eld"](36,0,null,null,0,"span",[["class","glyphicon glyphicon-search"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](38,0,[["input",1]],null,1,"input",[["class","form-control"],["id","addon1"],["type","text"]],[[8,"placeholder",0]],[[null,"keyup"]],function(e,n,t){var l=!0,i=e.component;if("keyup"===n){l=!1!==i.search(Wt["\u0275nov"](e,38).value)&&l}return l},null,null)),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](46,0,null,0,8,"modal-body",[],null,null,null,lu.b,lu.a)),Wt["\u0275did"](47,49152,null,0,iu.ModalBodyComponent,[],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,fe)),Wt["\u0275did"](50,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,ke)),Wt["\u0275did"](53,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](56,0,null,0,6,"modal-footer",[],null,null,null,pu.b,pu.a)),Wt["\u0275did"](57,49152,null,0,hu.ModalFooterComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](59,0,null,0,2,"button",[["class","btn btn-default"],["data-dismiss","modal"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,1).dismiss()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](60,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n"]))],function(e,n){var t=n.component;e(n,50,0,0==t.shown_guidelines.instructions.length),e(n,53,0,t.shown_guidelines.instructions)},function(e,n){var t=n.component;e(n,0,0,Wt["\u0275nov"](n,1).fadeClass,Wt["\u0275nov"](n,1).dataKeyboardAttr,Wt["\u0275nov"](n,1).dataBackdropAttr),e(n,11,0,Wt["\u0275unv"](n,11,0,Wt["\u0275nov"](n,12).transform("general.guidelines"))),e(n,14,0,t.guidelines.meta.version),e(n,21,0,Wt["\u0275unv"](n,21,0,Wt["\u0275nov"](n,22).transform("general.project")),t.guidelines.meta.project),e(n,25,0,Wt["\u0275unv"](n,25,0,Wt["\u0275nov"](n,26).transform("general.authors")),t.guidelines.meta.authors),e(n,38,0,Wt["\u0275inlineInterpolate"](1,"",Wt["\u0275unv"](n,38,0,Wt["\u0275nov"](n,39).transform("general.search")),"")),e(n,60,0,Wt["\u0275unv"](n,60,0,Wt["\u0275nov"](n,61).transform("general.close")))})}function xe(e){return Wt["\u0275vid"](0,[Wt["\u0275qud"](671088640,1,{modal_guidelines:0}),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Oe)),Wt["\u0275did"](2,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,n){e(n,2,0,null!=n.component.guidelines)},null)}function Ce(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-transcr-guidelines",[],null,null,null,xe,_u)),Wt["\u0275did"](1,4833280,null,0,eo,[Fi,Wt.ChangeDetectorRef,fo.a,Ri],null,null)],function(e,n){e(n,1,0)},null)}function Pe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"app-transcr-overview",[],null,[[null,"segmentclicked"]],function(e,n,t){var l=!0,i=e.component;if("segmentclicked"===n){l=!1!==i.onSegmentInOverviewClicked(t)&&l}return l},J,tu)),Wt["\u0275did"](1,4964352,null,0,Pr,[Fi,fi,Kt.c,Wt.ChangeDetectorRef],{segments:[0,"segments"],visible:[1,"visible"]},{segmentclicked:"segmentclicked"}),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,1,0,null!==t.transcrService.annotation&&void 0!==t.transcrService.annotation?t.transcrService.annotation.levels[t.transcrService.selectedlevel].segments.segments:null,Wt["\u0275nov"](n.parent,67).visible)},null)}function je(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"span",[["class","focus-info"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["(",")"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.on focus only")))})}function Re(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,11,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,[""," "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,je)),Wt["\u0275did"](9,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,9,0,n.context.$implicit.value.focusonly)},function(e,n){var t=n.component;e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("modal.shortcuts."+n.context.$implicit.value.title))),e(n,7,0,n.context.$implicit.value.keys[t.platform])})}function Me(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,10,"div",[["class","table-responsive"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,7,"table",[["class","table table-hover"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,4,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Re)),Wt["\u0275did"](7,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,7,0,n.component.keyMap.getEntryList("AP"))},null)}function Te(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,8,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Me)),Wt["\u0275did"](7,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,7,0,null!==n.component.keyMap.getEntryList("AP"))},function(e,n){e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("modal.shortcuts.audioplayer")))})}function Ne(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"span",[["class","focus-info"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["(",")"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.on focus only")))})}function Ie(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,11,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,[""," "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ne)),Wt["\u0275did"](9,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,9,0,null!==n.context.$implicit.value&&n.context.$implicit.value.focusonly)},function(e,n){var t=n.component;e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("modal.shortcuts."+n.context.$implicit.value.title))),e(n,7,0,n.context.$implicit.value.keys[t.platform])})}function Ee(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,10,"div",[["class","table-responsive"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,7,"table",[["class","table table-hover"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,4,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ie)),Wt["\u0275did"](7,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,7,0,n.component.keyMap.getEntryList("AV"))},null)}function Ae(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"span",[["class","focus-info"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["(",")"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.on focus only")))})}function De(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,11,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,[""," "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ae)),Wt["\u0275did"](9,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,9,0,null!==n.context.$implicit.value&&n.context.$implicit.value.focusonly)},function(e,n){var t=n.component;e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("modal.shortcuts."+n.context.$implicit.value.title))),e(n,7,0,n.context.$implicit.value.keys[t.platform])})}function Le(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,10,"div",[["class","table-responsive"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,7,"table",[["class","table table-hover"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,4,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,De)),Wt["\u0275did"](7,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,7,0,n.component.keyMap.getEntryList("Loupe"))},null)}function Ue(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,15,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ee)),Wt["\u0275did"](7,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](10,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Le)),Wt["\u0275did"](14,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,7,0,null!==t.keyMap.getEntryList("AV")),e(n,14,0,null!==t.keyMap.getEntryList("Loupe"))},function(e,n){e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("modal.shortcuts.top signaldisplay"))),e(n,10,0,Wt["\u0275unv"](n,10,0,Wt["\u0275nov"](n,11).transform("modal.shortcuts.down signaldisplay")))})}function ze(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"span",[["class","focus-info"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["(",")"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.on focus only")))})}function Fe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,11,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,[""," "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ze)),Wt["\u0275did"](9,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,9,0,n.context.$implicit.value.focusonly)},function(e,n){var t=n.component;e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("modal.shortcuts."+n.context.$implicit.value.title))),e(n,7,0,n.context.$implicit.value.keys[t.platform])})}function Be(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"span",[["class","focus-info"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["(",")"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],null,function(e,n){e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.on focus only")))})}function Ve(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,11,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,[""," "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Be)),Wt["\u0275did"](9,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,9,0,n.context.$implicit.value.focusonly)},function(e,n){var t=n.component;e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("modal.shortcuts."+n.context.$implicit.value.title))),e(n,7,0,n.context.$implicit.value.keys[t.platform])})}function We(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,33,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,10,"div",[["class","table-responsive"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,7,"table",[["class","table table-hover"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,4,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Fe)),Wt["\u0275did"](13,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](18,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](19,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](22,0,null,null,10,"div",[["class","table-responsive"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](24,0,null,null,7,"table",[["class","table table-hover"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](26,0,null,null,4,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ve)),Wt["\u0275did"](29,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,13,0,t.keyMap.getEntryList("2D-Editor")),e(n,29,0,t.keyMap.getEntryList("Transcription Window"))},function(e,n){e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("modal.shortcuts.2D-Editor"))),e(n,19,0,Wt["\u0275unv"](n,19,0,Wt["\u0275nov"](n,20).transform("general.transcription window")))})}function qe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,11,"modal-body",[],null,null,null,lu.b,lu.a)),Wt["\u0275did"](1,49152,null,0,iu.ModalBodyComponent,[],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,Te)),Wt["\u0275did"](4,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,Ue)),Wt["\u0275did"](7,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,We)),Wt["\u0275did"](10,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "]))],function(e,n){var t=n.component;e(n,4,0,"Editor without signal display"==t.interface),e(n,7,0,"Linear Editor"==t.interface),e(n,10,0,"2D-Editor"==t.interface)},null)}function Ke(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,0,"span",[["class","glyphicon glyphicon-floppy-disk"],["style","color:#333333"]],null,null,null,null,null))],null,null)}function $e(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,0,"span",[["class","glyphicon glyphicon-floppy-disk"],["style","color:red"]],null,null,null,null,null))],null,null)}function Xe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275and"](0,null,null,0))],null,null)}function He(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"span",[["class","required_marker"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["*"]))],null,null)}function Qe(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"span",[["class","glyphicon glyphicon-chevron-up"],["style","color:grey; display: block; padding:0;cursor:pointer;margin-bottom:10px;"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.expandFeedback()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,null)}function Ge(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"span",[["class","glyphicon glyphicon-chevron-down"],["style","color:grey; display: block; padding:0;cursor:pointer;margin-bottom:10px;"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.expandFeedback()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,null)}function Ye(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"span",[["class","required_marker"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["*"]))],null,null)}function Je(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,14,"div",[["class","radio"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,11,"label",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["","\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,8,"input",[["type","radio"]],[[8,"checked",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(e,n,t){var l=!0,i=e.component;if("input"===n){l=!1!==Wt["\u0275nov"](e,5)._handleInput(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,5).onTouched()&&l}if("compositionstart"===n){l=!1!==Wt["\u0275nov"](e,5)._compositionStart()&&l}if("compositionend"===n){l=!1!==Wt["\u0275nov"](e,5)._compositionEnd(t.target.value)&&l}if("change"===n){l=!1!==Wt["\u0275nov"](e,6).onChange()&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,6).onTouched()&&l}if("ngModelChange"===n){l=!1!==(i.feedback_data[e.parent.parent.context.$implicit.name]=t)&&l}return l},null,null)),Wt["\u0275did"](5,16384,null,0,$t.d,[Wt.Renderer2,Wt.ElementRef,[2,$t.a]],null,null),Wt["\u0275did"](6,212992,null,0,$t.r,[Wt.Renderer2,Wt.ElementRef,$t.z,Wt.Injector],{name:[0,"name"],value:[1,"value"]},null),Wt["\u0275did"](7,16384,null,0,$t.t,[],{required:[0,"required"]},null),Wt["\u0275prd"](1024,null,$t.i,function(e){return[e]},[$t.t]),Wt["\u0275prd"](1024,null,$t.j,function(e,n){return[e,n]},[$t.d,$t.r]),Wt["\u0275did"](10,671744,null,0,$t.o,[[2,$t.c],[2,$t.i],[8,null],[2,$t.j]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Wt["\u0275prd"](2048,null,$t.k,null,[$t.o]),Wt["\u0275did"](12,16384,null,0,$t.l,[$t.k],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,6,0,Wt["\u0275inlineInterpolate"](1,"",n.parent.parent.context.$implicit.name,""),Wt["\u0275inlineInterpolate"](1,"",n.parent.context.$implicit.value,"")),e(n,7,0,n.parent.context.$implicit.required),e(n,10,0,Wt["\u0275inlineInterpolate"](1,"",n.parent.parent.context.$implicit.name,""),t.feedback_data[n.parent.parent.context.$implicit.name])},function(e,n){var t=n.component;e(n,3,0,t.translate(n.parent.context.$implicit.label.languages,t.langService.currentLang)),e(n,4,0,n.parent.context.$implicit.custom.checked,Wt["\u0275nov"](n,7).required?"":null,Wt["\u0275nov"](n,12).ngClassUntouched,Wt["\u0275nov"](n,12).ngClassTouched,Wt["\u0275nov"](n,12).ngClassPristine,Wt["\u0275nov"](n,12).ngClassDirty,Wt["\u0275nov"](n,12).ngClassValid,Wt["\u0275nov"](n,12).ngClassInvalid,Wt["\u0275nov"](n,12).ngClassPending)})}function Ze(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"span",[["class","required_marker"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["*"]))],null,null)}function en(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,9,"div",[["class","checkbox"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,6,"label",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,[["checkb",1]],null,0,"input",[["type","checkbox"],["value","true"]],[[8,"name",0],[8,"checked",0],[8,"required",0]],[[null,"change"]],function(e,n,t){var l=!0,i=e.component;if("change"===n){l=!1!==i.checkBoxChanged(e.parent.parent.context.$implicit.name,e.parent.context.$implicit.value)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ze)),Wt["\u0275did"](7,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](8,null,["\n ","\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,7,0,n.parent.context.$implicit.required)},function(e,n){var t=n.component;e(n,4,0,Wt["\u0275inlineInterpolate"](1,"",n.parent.context.$implicit.value,""),n.parent.context.$implicit.custom.checked,n.parent.context.$implicit.required),e(n,8,0,t.translate(n.parent.context.$implicit.label.languages,t.langService.currentLang))})}function nn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,7,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,1,"label",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),(e()(),Wt["\u0275eld"](4,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,0,"textarea",[["class","form-control"]],[[8,"name",0],[8,"value",0],[8,"required",0]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,['\n [(ngModel)]="feedback_data[group.name]"\n ']))],null,function(e,n){var t=n.component;e(n,3,0,t.translate(n.parent.context.$implicit.label.languages,t.langService.currentLang)),e(n,6,0,Wt["\u0275inlineInterpolate"](1,"",n.parent.parent.context.$implicit.name,""),Wt["\u0275inlineInterpolate"](1,"",n.parent.context.$implicit.value,""),n.parent.context.$implicit.required)})}function tn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,10,"div",[["class","ctrl"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Je)),Wt["\u0275did"](3,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,en)),Wt["\u0275did"](6,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,nn)),Wt["\u0275did"](9,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,3,0,"radiobutton"===n.context.$implicit.type.type),e(n,6,0,"checkbox"===n.context.$implicit.type.type),e(n,9,0,"textarea"===n.context.$implicit.type.type)},null)}function ln(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,14,"div",[["class","form-group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,1,"label",[["class","control-label"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ye)),Wt["\u0275did"](6,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,tn)),Wt["\u0275did"](13,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){e(n,6,0,n.context.$implicit.controls[0].required),e(n,13,0,n.context.$implicit.controls)},function(e,n){var t=n.component;e(n,3,0,t.translate(n.context.$implicit.title,t.langService.currentLang))})}function rn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,[["feedback",1]],null,60,"div",[["class","panel"],["id","bottom-feedback"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,23,"table",[["style","width:100%;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,20,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,17,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,5,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](9,0,null,null,3,"span",[["class","link"],["style","width:100%;display: block;"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.expandFeedback()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["FEEDBACK "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,He)),Wt["\u0275did"](12,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](15,0,null,null,7,"td",[["style","text-align: right"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Qe)),Wt["\u0275did"](18,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ge)),Wt["\u0275did"](21,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](27,0,null,null,32,"div",[["class","inner"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](29,0,null,null,29,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(e,n,t){var l=!0;if("submit"===n){l=!1!==Wt["\u0275nov"](e,31).onSubmit(t)&&l}if("reset"===n){l=!1!==Wt["\u0275nov"](e,31).onReset()&&l}return l},null,null)),Wt["\u0275did"](30,16384,null,0,$t.y,[],null,null),Wt["\u0275did"](31,16384,[[7,4],["fo",4]],0,$t.n,[[8,null],[8,null]],null,null),Wt["\u0275prd"](2048,null,$t.c,null,[$t.n]),Wt["\u0275did"](33,16384,null,0,$t.m,[$t.c],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](35,0,null,null,22,"fieldset",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,ln)),Wt["\u0275did"](38,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](40,0,null,null,16,"div",[["class","form-group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](42,0,null,null,13,"div",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](44,0,null,null,2,"label",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](45,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275eld"](47,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](49,0,null,null,5,"textarea",[["class","form-control"],["name","comment"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,n,t){var l=!0,i=e.component;if("input"===n){l=!1!==Wt["\u0275nov"](e,50)._handleInput(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,50).onTouched()&&l}if("compositionstart"===n){l=!1!==Wt["\u0275nov"](e,50)._compositionStart()&&l}if("compositionend"===n){l=!1!==Wt["\u0275nov"](e,50)._compositionEnd(t.target.value)&&l}if("ngModelChange"===n){l=!1!==(i.transcrService.feedback.comment=t)&&l}return l},null,null)),Wt["\u0275did"](50,16384,null,0,$t.d,[Wt.Renderer2,Wt.ElementRef,[2,$t.a]],null,null),Wt["\u0275prd"](1024,null,$t.j,function(e){return[e]},[$t.d]),Wt["\u0275did"](52,671744,null,0,$t.o,[[2,$t.c],[8,null],[8,null],[2,$t.j]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Wt["\u0275prd"](2048,null,$t.k,null,[$t.o]),Wt["\u0275did"](54,16384,null,0,$t.l,[$t.k],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,12,0,t.transcrService.feedback.required),e(n,18,0,!t.feedback_expanded),e(n,21,0,t.feedback_expanded),e(n,38,0,t.transcrService.feedback.groups);e(n,52,0,"comment",t.transcrService.feedback.comment)},function(e,n){e(n,29,0,Wt["\u0275nov"](n,33).ngClassUntouched,Wt["\u0275nov"](n,33).ngClassTouched,Wt["\u0275nov"](n,33).ngClassPristine,Wt["\u0275nov"](n,33).ngClassDirty,Wt["\u0275nov"](n,33).ngClassValid,Wt["\u0275nov"](n,33).ngClassInvalid,Wt["\u0275nov"](n,33).ngClassPending),e(n,45,0,Wt["\u0275unv"](n,45,0,Wt["\u0275nov"](n,46).transform("transcription-submit.comment description"))),e(n,49,0,Wt["\u0275nov"](n,54).ngClassUntouched,Wt["\u0275nov"](n,54).ngClassTouched,Wt["\u0275nov"](n,54).ngClassPristine,Wt["\u0275nov"](n,54).ngClassDirty,Wt["\u0275nov"](n,54).ngClassValid,Wt["\u0275nov"](n,54).ngClassInvalid,Wt["\u0275nov"](n,54).ngClassPending)})}function on(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm":0}),(e()(),Wt["\u0275ted"](3,null,[" ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],function(e,n){e(n,1,0,e(n,2,0,n.component.appc.octra.responsive.enabled))},function(e,n){e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("general.quit")))})}function un(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm":0}),(e()(),Wt["\u0275ted"](3,null,[" ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],function(e,n){e(n,1,0,e(n,2,0,n.component.appc.octra.responsive.enabled))},function(e,n){e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("general.export data")))})}function an(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"a",[["class","btn btn-primary btn-raised"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.navbarServ.doclick("export")&&l}return l},null,null)),(e()(),Wt["\u0275and"](16777216,null,null,1,null,un)),Wt["\u0275did"](2,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,0,"span",[["class","glyphicon glyphicon-download"]],null,null,null,null,null))],function(e,n){e(n,2,0,!n.component.appStorage.easymode)},null)}function sn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"span",[],null,null,null,null,null)),Wt["\u0275did"](1,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngClass:[0,"ngClass"]},null),Wt["\u0275pod"](2,{"hidden-xs hidden-sm":0}),(e()(),Wt["\u0275ted"](3,null,[" ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef])],function(e,n){e(n,1,0,e(n,2,0,n.component.appc.octra.responsive.enabled))},function(e,n){e(n,3,0,Wt["\u0275unv"](n,3,0,Wt["\u0275nov"](n,4).transform("transcription.send")))})}function cn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"a",[["class","btn btn-primary btn-raised"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.onSendButtonClick()&&l}return l},null,null)),(e()(),Wt["\u0275and"](16777216,null,null,1,null,sn)),Wt["\u0275did"](2,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,0,"span",[["class","glyphicon glyphicon-send"]],null,null,null,null,null))],function(e,n){e(n,2,0,!n.component.appStorage.easymode)},null)}function dn(e){return Wt["\u0275vid"](0,[Wt["\u0275qud"](402653184,1,{modal_shortcuts:0}),Wt["\u0275qud"](402653184,2,{modal_guidelines:0}),Wt["\u0275qud"](402653184,3,{modal_overview:0}),Wt["\u0275qud"](402653184,4,{appLoadeditor:0}),Wt["\u0275qud"](402653184,5,{modal:0}),Wt["\u0275qud"](402653184,6,{modal2:0}),Wt["\u0275qud"](671088640,7,{feedback_form:0}),(e()(),Wt["\u0275eld"](7,0,null,null,1,"app-alert",[],null,null,null,le,uu)),Wt["\u0275did"](8,245760,[["alert",4]],0,sr,[Wt.ChangeDetectorRef,Bi],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](10,0,null,null,27,"modal",[["class","modal"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,au.b,au.a)),Wt["\u0275did"](11,180224,[[5,4],["modal",4]],0,su.ModalComponent,[Wt.ElementRef],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](13,0,null,0,6,"modal-header",[],null,null,null,cu.b,cu.a)),Wt["\u0275did"](14,49152,null,0,du.ModalHeaderComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](16,0,null,0,2,"h4",[["class","modal-title"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](17,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](21,0,null,0,3,"modal-body",[],null,null,null,lu.b,lu.a)),Wt["\u0275did"](22,49152,null,0,iu.ModalBodyComponent,[],null,null),(e()(),Wt["\u0275ted"](23,0,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](26,0,null,0,10,"modal-footer",[],null,null,null,pu.b,pu.a)),Wt["\u0275did"](27,49152,null,0,hu.ModalFooterComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](29,0,null,0,2,"button",[["class","btn btn-primary"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,11).dismiss()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](30,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](33,0,null,0,2,"button",[["class","btn btn-default"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.onSendNowClick()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](34,null,["","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n\n"])),(e()(),Wt["\u0275eld"](39,0,null,null,25,"modal",[["class","modal"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,au.b,au.a)),Wt["\u0275did"](40,180224,[[6,4],["modal2",4]],0,su.ModalComponent,[Wt.ElementRef],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](42,0,null,0,6,"modal-header",[],null,null,null,cu.b,cu.a)),Wt["\u0275did"](43,49152,null,0,du.ModalHeaderComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](45,0,null,0,2,"h4",[["class","modal-title"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](46,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](50,0,null,0,13,"modal-body",[],null,null,null,lu.b,lu.a)),Wt["\u0275did"](51,49152,null,0,iu.ModalBodyComponent,[],null,null),(e()(),Wt["\u0275ted"](52,0,["\n ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275eld"](54,0,null,0,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](55,0,null,0,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](57,0,null,0,1,"div",[["style","color:red"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](58,null,["",""])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](60,0,null,0,2,"div",[["class","text-success"],["style","text-align: center;display:block;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](61,null,["","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](66,0,null,null,17,"modal",[["class","modal"],["id","overview"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,au.b,au.a)),Wt["\u0275did"](67,180224,[[3,4],["modal_overview",4]],0,su.ModalComponent,[Wt.ElementRef],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](69,0,null,0,5,"modal-body",[],null,null,null,lu.b,lu.a)),Wt["\u0275did"](70,49152,null,0,iu.ModalBodyComponent,[],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,Pe)),Wt["\u0275did"](73,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](76,0,null,0,6,"modal-footer",[],null,null,null,pu.b,pu.a)),Wt["\u0275did"](77,49152,null,0,hu.ModalFooterComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](79,0,null,0,2,"button",[["class","btn btn-default"],["data-dismiss","modal"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,67).dismiss()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](80,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n\n"])),(e()(),Wt["\u0275eld"](85,0,null,null,13,"modal",[["class","modal"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,au.b,au.a)),Wt["\u0275did"](86,180224,[[1,4],["modal_shortcuts",4]],0,su.ModalComponent,[Wt.ElementRef],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,qe)),Wt["\u0275did"](89,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](91,0,null,0,6,"modal-footer",[],null,null,null,pu.b,pu.a)),Wt["\u0275did"](92,49152,null,0,hu.ModalFooterComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](94,0,null,0,2,"button",[["class","btn btn-primary"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,86).dismiss()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](95,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n\n"])),(e()(),Wt["\u0275eld"](100,0,null,null,18,"modal",[["class","modal"],["id","transcription_success"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,au.b,au.a)),Wt["\u0275did"](101,180224,[["success",4]],0,su.ModalComponent,[Wt.ElementRef],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](103,0,null,0,6,"modal-body",[],null,null,null,lu.b,lu.a)),Wt["\u0275did"](104,49152,null,0,iu.ModalBodyComponent,[],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](106,0,null,0,2,"p",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](107,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](111,0,null,0,6,"modal-footer",[],null,null,null,pu.b,pu.a)),Wt["\u0275did"](112,49152,null,0,hu.ModalFooterComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](114,0,null,0,2,"button",[["class","btn btn-default"],["data-dismiss","modal"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,101).dismiss()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](115,null,["","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n\n"])),(e()(),Wt["\u0275eld"](120,0,null,null,48,"div",[["class","flex"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](122,0,null,null,7,"span",[["id","saving"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ke)),Wt["\u0275did"](125,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,$e)),Wt["\u0275did"](128,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](131,0,null,null,6,"app-fastbar",[],null,[[null,"shortcutbtnclicked"],[null,"guidelinesbtnclicked"],[null,"overviewbtnclicked"]],function(e,n,t){var l=!0;if("shortcutbtnclicked"===n){l=!1!==Wt["\u0275nov"](e,86).open()&&l}if("guidelinesbtnclicked"===n){l=!1!==Wt["\u0275nov"](e,140).open()&&l}if("overviewbtnclicked"===n){l=!1!==Wt["\u0275nov"](e,67).open()&&l}return l},pe,mu)),Wt["\u0275did"](132,114688,null,0,Mr,[Oi],{responsive:[0,"responsive"],button_labels:[1,"button_labels"]},{shortcutbtnclicked:"shortcutbtnclicked",guidelinesbtnclicked:"guidelinesbtnclicked",overviewbtnclicked:"overviewbtnclicked"}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pod"](137,{shortcuts:0,guidelines:1,overview:2,help:3}),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275eld"](139,0,null,null,2,"app-transcr-guidelines",[],null,null,null,xe,_u)),Wt["\u0275did"](140,4833280,[[2,4],["modal_guidelines",4]],0,eo,[Fi,Wt.ChangeDetectorRef,fo.a,Ri],{guidelines:[0,"guidelines"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275eld"](143,0,null,null,4,"div",[["class","flex"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Xe)),Wt["\u0275did"](146,16384,[[4,4]],0,ro,[Wt.ViewContainerRef],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,rn)),Wt["\u0275did"](150,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](152,0,null,null,15,"div",[["id","bottom-nav"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](154,0,null,null,12,"div",[["aria-label","..."],["class","btn-group btn-group-justified"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](156,0,null,null,3,"a",[["class","btn btn-default btn-raised"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.modService.show("transcription_stop","",{ok:i.abortTranscription})&&l}return l},null,null)),(e()(),Wt["\u0275eld"](157,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-remove-circle"]],null,null,null,null,null)),(e()(),Wt["\u0275and"](16777216,null,null,1,null,on)),Wt["\u0275did"](159,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,an)),Wt["\u0275did"](162,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,cn)),Wt["\u0275did"](165,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){var t=n.component;e(n,8,0),e(n,73,0,null!==t.transcrService.annotation),e(n,89,0,t.editorloaded),e(n,125,0,"saving"===t.saving),e(n,128,0,"error"===t.saving),e(n,132,0,t.responsive,e(n,137,0,Wt["\u0275unv"](n,132,1,Wt["\u0275nov"](n,133).transform("general.shortcuts")),Wt["\u0275unv"](n,132,1,Wt["\u0275nov"](n,134).transform("general.guidelines")),Wt["\u0275unv"](n,132,1,Wt["\u0275nov"](n,135).transform("general.overview")),Wt["\u0275unv"](n,132,1,Wt["\u0275nov"](n,136).transform("general.help")))),e(n,140,0,t.transcrService.guidelines),e(n,150,0,!t.appStorage.uselocalmode&&null!==t.transcrService.feedback&&void 0!==t.transcrService.feedback),e(n,159,0,!t.appStorage.easymode),e(n,162,0,t.appStorage.uselocalmode),e(n,165,0,!t.appStorage.uselocalmode)},function(e,n){var t=n.component;e(n,10,0,Wt["\u0275nov"](n,11).fadeClass,Wt["\u0275nov"](n,11).dataKeyboardAttr,Wt["\u0275nov"](n,11).dataBackdropAttr),e(n,17,0,Wt["\u0275unv"](n,17,0,Wt["\u0275nov"](n,18).transform("modal.transcription.send.header"))),e(n,23,0,Wt["\u0275unv"](n,23,0,Wt["\u0275nov"](n,24).transform("modal.transcription.send.text"))),e(n,30,0,Wt["\u0275unv"](n,30,0,Wt["\u0275nov"](n,31).transform("general.abort"))),e(n,34,0,Wt["\u0275unv"](n,34,0,Wt["\u0275nov"](n,35).transform("general.send now"))),e(n,39,0,Wt["\u0275nov"](n,40).fadeClass,Wt["\u0275nov"](n,40).dataKeyboardAttr,Wt["\u0275nov"](n,40).dataBackdropAttr),e(n,46,0,Wt["\u0275unv"](n,46,0,Wt["\u0275nov"](n,47).transform("modal.transcription.sending.header"))),e(n,52,0,Wt["\u0275unv"](n,52,0,Wt["\u0275nov"](n,53).transform("modal.transcription.sending.text"))),e(n,58,0,t.send_error),e(n,61,0,Wt["\u0275unv"](n,61,0,Wt["\u0275nov"](n,62).transform("general.submission success"))),e(n,66,0,Wt["\u0275nov"](n,67).fadeClass,Wt["\u0275nov"](n,67).dataKeyboardAttr,Wt["\u0275nov"](n,67).dataBackdropAttr),e(n,80,0,Wt["\u0275unv"](n,80,0,Wt["\u0275nov"](n,81).transform("general.close"))),e(n,85,0,Wt["\u0275nov"](n,86).fadeClass,Wt["\u0275nov"](n,86).dataKeyboardAttr,Wt["\u0275nov"](n,86).dataBackdropAttr),e(n,95,0,Wt["\u0275unv"](n,95,0,Wt["\u0275nov"](n,96).transform("general.close"))),e(n,100,0,Wt["\u0275nov"](n,101).fadeClass,Wt["\u0275nov"](n,101).dataKeyboardAttr,Wt["\u0275nov"](n,101).dataBackdropAttr),e(n,107,0,Wt["\u0275unv"](n,107,0,Wt["\u0275nov"](n,108).transform("transcription submitted.no jobs left"))),e(n,115,0,Wt["\u0275unv"](n,115,0,Wt["\u0275nov"](n,116).transform("general.close")))})}function pn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"app-transcription",[],null,[["window","keydown"]],function(e,n,t){var l=!0;if("window:keydown"===n){l=!1!==Wt["\u0275nov"](e,2).onKeyUp(t)&&l}return l},dn,Su)),Wt["\u0275prd"](4608,null,Bi,Bi,[]),Wt["\u0275did"](2,16498688,null,0,xr,[hr.k,Wt.ComponentFactoryResolver,fi,Ci,Fi,Oi,vi,Wt.ChangeDetectorRef,Pi,Ri,mi,fo.a,Fl,dr],null,null)],function(e,n){e(n,2,0)},null)}function hn(e){return Wt["\u0275vid"](2,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"h2",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](1,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](4,0,null,null,4,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,5).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&l}return l},null,null)),Wt["\u0275did"](5,671744,null,0,hr.m,[hr.k,hr.a,go.LocationStrategy],{routerLink:[0,"routerLink"]},null),Wt["\u0275pad"](6,1),(e()(),Wt["\u0275ted"](7,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](10,0,null,null,0,"iframe",[],[[8,"src",5]],null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){e(n,5,0,e(n,6,0,"/user/transcr/"))},function(e,n){var t=n.component;e(n,1,0,Wt["\u0275unv"](n,1,0,Wt["\u0275nov"](n,2).transform("general.help"))),e(n,4,0,Wt["\u0275nov"](n,5).target,Wt["\u0275nov"](n,5).href),e(n,7,0,Wt["\u0275unv"](n,7,0,Wt["\u0275nov"](n,8).transform("general.back"))),e(n,10,0,t.sanitized_url)})}function fn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-help",[],null,null,null,hn,Cu)),Wt["\u0275did"](1,638976,null,0,Dr,[Kt.c,Wt.ChangeDetectorRef,Ri,Pi],null,null)],function(e,n){e(n,1,0)},null)}function gn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,15,"div",[["id","transcr-end"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,12,"div",[["class","container"],["style","width:900px;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,9,"div",[["class","well well-large"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,2,"p",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,2,"a",[["class","btn btn-raised btn-default"],["style","width:100%;"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.leave()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](11,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],null,function(e,n){e(n,7,0,Wt["\u0275unv"](n,7,0,Wt["\u0275nov"](n,8).transform("transcription submitted.no jobs left"))),e(n,11,0,Wt["\u0275unv"](n,11,0,Wt["\u0275nov"](n,12).transform("transcription submitted.quit")))})}function mn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-transcription-submitted",[],null,null,null,gn,Mu)),Wt["\u0275did"](1,4440064,null,0,Cr,[hr.k,Oi,Fi,Ci,Ri,Pi],null,null)],function(e,n){e(n,1,0)},null)}function vn(e){return Wt["\u0275vid"](0,[Wt["\u0275qud"](402653184,1,{dropzone:0}),(e()(),Wt["\u0275eld"](1,0,null,null,70,"div",[["class","container"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](3,0,null,null,67,"div",[["class","row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](5,0,null,null,0,"div",[["class","col-md-1"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](7,0,null,null,60,"div",[["class","col-md-10 panel"],["style","background-color:white;padding:20px;"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,null,2,"h3",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](10,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](13,0,null,null,2,"p",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](14,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](17,0,null,null,7,"p",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](19,0,null,null,2,"b",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](20,null,["",": ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275eld"](22,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](23,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](26,0,null,null,1,"app-octra-dropzone",[],null,null,null,p,wo)),Wt["\u0275did"](27,245760,[[1,4],["dropzone",4]],0,io,[mi],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](29,0,null,null,37,"div",[["aria-label","..."],["class","btn-group btn-group-justified"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](31,0,null,null,10,"div",[["class","btn-group"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](33,0,null,null,7,"button",[["class","btn btn-default btn-raised"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.modService.show("transcription_stop","",{ok:i.abortTranscription})&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](35,0,null,null,0,"span",[["class","glyphicon glyphicon glyphicon-log-out"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,[" "])),(e()(),Wt["\u0275eld"](37,0,null,null,2,"span",[["class","hidden-xs hidden-sm hidden-md"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](38,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](43,0,null,null,10,"div",[["class","btn-group"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](45,0,null,null,7,"button",[["class","btn btn-default btn-raised btn-danger"]],[[8,"disabled",0]],[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.modService.show("transcription_delete","",{ok:i.newTranscription})&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](47,0,null,null,0,"span",[["class","glyphicon glyphicon-file"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,[" "])),(e()(),Wt["\u0275eld"](49,0,null,null,2,"span",[["class","hidden-xs hidden-sm hidden-md"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](50,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](55,0,null,null,10,"div",[["class","btn-group"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](57,0,null,null,7,"button",[["class","btn btn-primary btn-raised"],["type","button"]],[[8,"disabled",0]],[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.onOfflineSubmit()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](59,0,null,null,0,"span",[["class","glyphicon glyphicon glyphicon-edit"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,[" "])),(e()(),Wt["\u0275eld"](61,0,null,null,2,"span",[["class","hidden-xs hidden-sm hidden-md"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](62,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](69,0,null,null,0,"div",[["class","col-md-1"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){e(n,27,0)},function(e,n){var t=n.component;e(n,10,0,Wt["\u0275unv"](n,10,0,Wt["\u0275nov"](n,11).transform("reload-file.header"))),e(n,14,0,Wt["\u0275unv"](n,14,0,Wt["\u0275nov"](n,15).transform("reload-file.text"))),e(n,20,0,Wt["\u0275unv"](n,20,0,Wt["\u0275nov"](n,21).transform("general.wanted")),t.getDropzoneFileString(t.sessionfile)),e(n,38,0,Wt["\u0275unv"](n,38,0,Wt["\u0275nov"](n,39).transform("transcription.stop"))),e(n,45,0,!("valid"===Wt["\u0275nov"](n,27).status)),e(n,50,0,Wt["\u0275unv"](n,50,0,Wt["\u0275nov"](n,51).transform("transcription.new"))),e(n,57,0,!(!t.isN(Wt["\u0275nov"](n,27).oaudiofile)&&null!==t.sessionfile&&Wt["\u0275nov"](n,27).oaudiofile.name===t.sessionfile.name&&t.isN(Wt["\u0275nov"](n,27).oannotation))),e(n,62,0,Wt["\u0275unv"](n,62,0,Wt["\u0275nov"](n,63).transform("transcription.start")))})}function bn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-reload-file",[],null,null,null,vn,Eu)),Wt["\u0275did"](1,114688,null,0,Rr,[hr.k,Oi,Fi,mi,fo.a,fi],null,null)],function(e,n){e(n,1,0)},null)}function yn(e){return Wt["\u0275vid"](0,[Wt["\u0275qud"](402653184,1,{canvas:0}),(e()(),Wt["\u0275eld"](1,0,null,null,51,"div",[["class","container"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](3,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["Help tools"])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,45,"div",[["class","row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,21,"div",[["class","col-sm-4 is-table-row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,18,"div",[["class","panel panel-primary"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](12,0,null,null,15,"div",[["class","panel-body"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275eld"](14,0,null,null,4,"h5",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](16,0,null,null,1,"button",[["class","btn btn-primary btn-fab btn-fab-mini"],["type","button"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,[" 1"])),(e()(),Wt["\u0275ted"](-1,null,["\n Refresh App\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](20,0,null,null,3,"p",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n This tool forces the App to reload and refresh the browser cache."])),(e()(),Wt["\u0275eld"](22,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](25,0,null,null,1,"button",[["class","btn btn-raised btn-primary col-xs-12"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.refreshApp()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,[" Refresh App"])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](31,0,null,null,19,"div",[["class","col-sm-4 is-table-row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](33,0,null,null,16,"div",[["class","panel panel-primary"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](35,0,null,null,13,"div",[["class","panel-body"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275eld"](37,0,null,null,4,"h5",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](39,0,null,null,1,"button",[["class","btn btn-primary btn-fab btn-fab-mini"],["type","button"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,[" 2"])),(e()(),Wt["\u0275ted"](-1,null,["\n Clear all Storage Data\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](43,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n This tool removes all local data including (transcript, logs and settings).\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](46,0,null,null,1,"button",[["class","btn btn-raised btn-danger col-xs-12"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.clearAllData()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,[" Clear Data"])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],null,null)}function _n(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-help-tools",[],null,null,null,yn,Uu)),Wt["\u0275did"](1,245760,null,0,Wr,[Oi,Fl],null,null)],function(e,n){e(n,1,0)},null)}function wn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"a",[["class","btn btn-default btn-raised"],["name","play"]],[[8,"title",0]],[[null,"mousedown"]],function(e,n,t){var l=!0,i=e.component;if("mousedown"===n){l=!1!==i.onButtonClick("play")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-play"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){var t=n.component;e(n,0,0,Wt["\u0275inlineInterpolate"](1,"",t.buttons.play.label,""))})}function Sn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,4,"a",[["class","btn btn-default btn-raised"],["name","pause"]],[[8,"title",0]],[[null,"mousedown"]],function(e,n,t){var l=!0,i=e.component;if("mousedown"===n){l=!1!==i.onButtonClick("pause")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-pause"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){var t=n.component;e(n,0,0,Wt["\u0275inlineInterpolate"](1,"",t.buttons.pause.label,""))})}function kn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,118,"div",[["class","audio-nav"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,115,"div",[["class","row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,42,"div",[["class","col-md-7"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,39,"div",[["class","btn-toolbar"],["role","toolbar"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](8,0,null,null,36,"div",[["aria-label","..."],["class","btn-group btn-group-justified"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,wn)),Wt["\u0275did"](11,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Sn)),Wt["\u0275did"](14,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](16,0,null,null,4,"a",[["class","btn btn-default btn-raised"],["name","stop"]],[[8,"title",0]],[[null,"mousedown"]],function(e,n,t){var l=!0,i=e.component;if("mousedown"===n){l=!1!==i.onButtonClick("stop")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](18,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-stop"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](22,0,null,null,6,"a",[["class","btn btn-default btn-raised"],["name","replay"]],[[8,"title",0]],[[null,"mousedown"]],function(e,n,t){var l=!0,i=e.component;if("mousedown"===n){l=!1!==i.onButtonClick("replay")&&l}return l},null,null)),Wt["\u0275did"](23,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Wt["\u0275pod"](24,{active:0}),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](26,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-repeat"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](30,0,null,null,4,"a",[["class","btn btn-default btn-raised"],["name","step_back"]],[[8,"title",0]],[[null,"mousedown"]],function(e,n,t){var l=!0,i=e.component;if("mousedown"===n){l=!1!==i.onButtonClick("backward")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](32,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-step-backward"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](36,0,null,null,7,"a",[["class","btn btn-default btn-raised"],["name","step_back"]],[[8,"title",0]],[[null,"mousedown"]],function(e,n,t){var l=!0,i=e.component;if("mousedown"===n){l=!1!==i.onButtonClick("backward time")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](38,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-step-backward"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](40,0,null,null,0,"span",[["aria-hidden","true"],["class","glyphicon glyphicon-time"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](48,0,null,null,68,"div",[["class","col-md-5"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](50,0,null,null,65,"div",[["class","btn-toolbar"],["role","toolbar"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](52,0,null,null,62,"div",[["class","btn-group btn-group-justified"],["role","group"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](54,0,null,null,29,"div",[["class","btn btn-raised"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](56,0,null,null,26,"div",[["class","row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](58,0,null,null,2,"div",[["class","col-xs-1 col-sm-4 col-md-3"]],null,null,null,null,null)),(e()(),Wt["\u0275eld"](59,0,null,null,0,"span",[["class","glyphicon glyphicon-volume-off"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](62,0,null,null,9,"div",[["class","col-xs-10 col-sm-4 col-md-6"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](64,0,null,null,6,"input",[["class","slider"],["id","volume-slider"],["max","3"],["min","0"],["name","volume"],["step","0.2"],["type","range"],["value","1"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,n,t){var l=!0,i=e.component;if("input"===n){l=!1!==Wt["\u0275nov"](e,65)._handleInput(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,65).onTouched()&&l}if("compositionstart"===n){l=!1!==Wt["\u0275nov"](e,65)._compositionStart()&&l}if("compositionend"===n){l=!1!==Wt["\u0275nov"](e,65)._compositionEnd(t.target.value)&&l}if("change"===n){l=!1!==Wt["\u0275nov"](e,66).onChange(t.target.value)&&l}if("input"===n){l=!1!==Wt["\u0275nov"](e,66).onChange(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,66).onTouched()&&l}if("ngModelChange"===n){l=!1!==(i.volume=t)&&l}if("change"===n){l=!1!==i.afterVolumeChange()&&l}return l},null,null)),Wt["\u0275did"](65,16384,null,0,$t.d,[Wt.Renderer2,Wt.ElementRef,[2,$t.a]],null,null),Wt["\u0275did"](66,16384,null,0,$t.x,[Wt.Renderer2,Wt.ElementRef],null,null),Wt["\u0275prd"](1024,null,$t.j,function(e,n){return[e,n]},[$t.d,$t.x]),Wt["\u0275did"](68,671744,null,0,$t.o,[[8,null],[8,null],[8,null],[2,$t.j]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Wt["\u0275prd"](2048,null,$t.k,null,[$t.o]),Wt["\u0275did"](70,16384,null,0,$t.l,[$t.k],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](73,0,null,null,8,"div",[["class","col-xs-1 col-sm-4 col-md-3"]],null,null,null,null,null)),(e()(),Wt["\u0275eld"](74,0,null,null,0,"span",[["class","glyphicon glyphicon-volume-up"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](76,0,null,null,4,"div",[["class","slider-descr"]],null,null,null,null,null)),Wt["\u0275did"](77,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Wt["\u0275pod"](78,{"hidden-xs":0}),(e()(),Wt["\u0275ted"](79,null,["","%\n "])),Wt["\u0275pid"](0,Xr,[]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](85,0,null,null,28,"div",[["class","btn btn-raised"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](87,0,null,null,25,"div",[["class","row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](89,0,null,null,2,"div",[["class","col-xs-1 col-sm-4 col-md-3"]],null,null,null,null,null)),(e()(),Wt["\u0275eld"](90,0,null,null,0,"img",[["alt","fast"],["src","assets/img/components/audio-navigation/slow.png"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](93,0,null,null,9,"div",[["class","col-xs-10 col-sm-4 col-md-6"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](95,0,null,null,6,"input",[["class","slider"],["id","speed-slider"],["max","1.8"],["min","0.2"],["name","speed"],["step","0.2"],["type","range"],["value","1"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,n,t){var l=!0,i=e.component;if("input"===n){l=!1!==Wt["\u0275nov"](e,96)._handleInput(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,96).onTouched()&&l}if("compositionstart"===n){l=!1!==Wt["\u0275nov"](e,96)._compositionStart()&&l}if("compositionend"===n){l=!1!==Wt["\u0275nov"](e,96)._compositionEnd(t.target.value)&&l}if("change"===n){l=!1!==Wt["\u0275nov"](e,97).onChange(t.target.value)&&l}if("input"===n){l=!1!==Wt["\u0275nov"](e,97).onChange(t.target.value)&&l}if("blur"===n){l=!1!==Wt["\u0275nov"](e,97).onTouched()&&l}if("ngModelChange"===n){l=!1!==(i.speed=t)&&l}if("change"===n){l=!1!==i.afterSpeedChange()&&l}return l},null,null)),Wt["\u0275did"](96,16384,null,0,$t.d,[Wt.Renderer2,Wt.ElementRef,[2,$t.a]],null,null),Wt["\u0275did"](97,16384,null,0,$t.x,[Wt.Renderer2,Wt.ElementRef],null,null),Wt["\u0275prd"](1024,null,$t.j,function(e,n){return[e,n]},[$t.d,$t.x]),Wt["\u0275did"](99,671744,null,0,$t.o,[[8,null],[8,null],[8,null],[2,$t.j]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Wt["\u0275prd"](2048,null,$t.k,null,[$t.o]),Wt["\u0275did"](101,16384,null,0,$t.l,[$t.k],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](104,0,null,null,7,"div",[["class","col-xs-1 col-sm-4 col-md-3"]],null,null,null,null,null)),(e()(),Wt["\u0275eld"](105,0,null,null,0,"img",[["alt","fast"],["src","assets/img/components/audio-navigation/fast.png"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](107,0,null,null,3,"div",[["class","slider-descr"]],null,null,null,null,null)),Wt["\u0275did"](108,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Wt["\u0275pod"](109,{"hidden-xs":0}),(e()(),Wt["\u0275ted"](110,null,["","x"])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){var t=n.component;e(n,11,0,!t.audioplaying),e(n,14,0,t.audioplaying);e(n,23,0,"btn btn-default btn-raised",e(n,24,0,t.replay));e(n,68,0,"volume",t.volume);e(n,77,0,"slider-descr",e(n,78,0,t.responsive));e(n,99,0,"speed",t.audioplaying,t.speed);e(n,108,0,"slider-descr",e(n,109,0,t.responsive))},function(e,n){var t=n.component;e(n,16,0,Wt["\u0275inlineInterpolate"](1,"",t.buttons.stop.label,"")),e(n,22,0,Wt["\u0275inlineInterpolate"](1,"",t.buttons.replay.label,"")),e(n,30,0,Wt["\u0275inlineInterpolate"](1,"",t.buttons.backward.label,"")),e(n,36,0,Wt["\u0275inlineInterpolate"](1,"",t.buttons.backwardtime.label,"")),e(n,64,0,Wt["\u0275nov"](n,70).ngClassUntouched,Wt["\u0275nov"](n,70).ngClassTouched,Wt["\u0275nov"](n,70).ngClassPristine,Wt["\u0275nov"](n,70).ngClassDirty,Wt["\u0275nov"](n,70).ngClassValid,Wt["\u0275nov"](n,70).ngClassInvalid,Wt["\u0275nov"](n,70).ngClassPending),e(n,79,0,Wt["\u0275unv"](n,79,0,Wt["\u0275nov"](n,80).transform(t.volume))),e(n,95,0,Wt["\u0275nov"](n,101).ngClassUntouched,Wt["\u0275nov"](n,101).ngClassTouched,Wt["\u0275nov"](n,101).ngClassPristine,Wt["\u0275nov"](n,101).ngClassDirty,Wt["\u0275nov"](n,101).ngClassValid,Wt["\u0275nov"](n,101).ngClassInvalid,Wt["\u0275nov"](n,101).ngClassPending),e(n,110,0,t.speed)})}function On(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-audio-navigation",[],null,null,null,kn,Wu)),Wt["\u0275did"](1,4243456,null,0,Ul,[Wt.ChangeDetectorRef],null,null)],null,null)}function xn(e){return Wt["\u0275vid"](2,[Wt["\u0275qud"](402653184,1,{apview:0}),Wt["\u0275qud"](402653184,2,{graphicscanRef:0}),Wt["\u0275qud"](402653184,3,{overlaynacRef:0}),Wt["\u0275qud"](402653184,4,{playcanRef:0}),(e()(),Wt["\u0275eld"](4,0,null,null,16,"div",[["appAudioPlayer",""],["class","audioplayer"]],null,null,null,null,null)),Wt["\u0275did"](5,16384,[[1,4],["audioplay",4]],0,Hi,[Wt.ElementRef,Wt.Renderer],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](7,0,[[2,0],["ap_graphicscan",1]],null,0,"canvas",[["canvasDir",""],["class","ap-graphicscanvas"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,[[3,0],["ap_overlaycan",1]],null,0,"canvas",[["canvasDir",""],["class","ap-overlaycanvas"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](11,0,[[4,0],["ap_playcan",1]],null,0,"canvas",[["canvasDir",""],["class","ap-playcanvas"]],null,[[null,"mouseleave"],[null,"mouseenter"],[null,"mousedown"],[null,"mouseup"],[null,"click"],[null,"mousemove"]],function(e,n,t){var l=!0,i=e.component;if("mouseleave"===n){i.onMouseMove(t);l=!1!=(i.focused=!1)&&l}if("mouseenter"===n){l=!1!=(i.focused=!0)&&l}if("mousedown"===n){l=!1!==i.onClick(t)&&l}if("mouseup"===n){l=!1!==i.onClick(t)&&l}if("click"===n){l=!1!==i.onClick(t)&&l}if("mousemove"===n){l=!1!==i.onMouseMove(t)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](13,0,null,null,2,"div",[["class","ap-time-start-display"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](14,null,["",""])),Wt["\u0275pid"](0,or,[]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](17,0,null,null,2,"div",[["class","ap-time-end-display"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](18,null,["",""])),Wt["\u0275pid"](0,or,[]),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],null,function(e,n){var t=n.component;e(n,14,0,Wt["\u0275unv"](n,14,0,Wt["\u0275nov"](n,15).transform(t.audiochunk.playposition.unix))),e(n,18,0,Wt["\u0275unv"](n,18,0,Wt["\u0275nov"](n,19).transform(t.audiochunk.time.end.unix-t.audiochunk.playposition.unix)))})}function Cn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"app-audioplayer",[],null,[["window","resize"],["window","beforeunload"]],function(e,n,t){var l=!0;if("window:resize"===n){l=!1!==Wt["\u0275nov"](e,2).onResize(t)&&l}if("window:beforeunload"===n){l=!1!==Wt["\u0275nov"](e,2).onReload(t)&&l}return l},xn,$u)),Wt["\u0275prd"](512,null,$i,$i,[fi]),Wt["\u0275did"](2,4964352,null,0,Xi,[fi,$i,Wt.ChangeDetectorRef,vi],null,null)],function(e,n){e(n,2,0)},null)}function Pn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,6,"div",[["class","transcr-editor"]],null,[[null,"change"]],function(e,n,t){var l=!0,i=e.component;if("change"===n){l=!1!==i.updateTextField()&&l}return l},null,null)),Wt["\u0275did"](1,278528,null,0,go.NgStyle,[Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngStyle:[0,"ngStyle"]},null),Wt["\u0275pod"](2,{display:0}),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,1,"div",[["class","textfield"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){e(n,1,0,e(n,2,0,n.component.visible?"inherit":"none"))},null)}function jn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,2,"app-transcr-editor",[],null,null,null,Pn,Qu)),Wt["\u0275prd"](4608,null,lr,lr,[]),Wt["\u0275did"](2,770048,null,0,ar,[Wt.ChangeDetectorRef,fo.a,Fi],null,null)],function(e,n){e(n,2,0)},null)}function Rn(e){return Wt["\u0275vid"](0,[Wt["\u0275qud"](402653184,1,{nav:0}),Wt["\u0275qud"](402653184,2,{audioplayer:0}),Wt["\u0275qud"](402653184,3,{editor:0}),(e()(),Wt["\u0275eld"](3,0,null,null,14,"app-audio-navigation",[],null,[[null,"volumechange"],[null,"aftervolumechange"],[null,"speedchange"],[null,"afterspeedchange"],[null,"buttonclick"],[null,"responsiveChange"]],function(e,n,t){var l=!0,i=e.component;if("volumechange"===n){l=!1!==i.onVolumeChange(t)&&l}if("aftervolumechange"===n){l=!1!==i.afterVolumeChange(t)&&l}if("speedchange"===n){l=!1!==i.onSpeedChange(t)&&l}if("afterspeedchange"===n){l=!1!==i.afterSpeedChange(t)&&l}if("buttonclick"===n){l=!1!==i.onButtonClick(t)&&l}if("responsiveChange"===n){l=!1!==(i.settingsService.responsive.enabled=t)&&l}return l},kn,Wu)),Wt["\u0275did"](4,4243456,[[1,4],["nav",4]],0,Ul,[Wt.ChangeDetectorRef],{audioplaying:[0,"audioplaying"],responsive:[1,"responsive"],easymode:[2,"easymode"],replay:[3,"replay"],buttons:[4,"buttons"]},{buttonclick:"buttonclick",volumechange:"volumechange",aftervolumechange:"aftervolumechange",speedchange:"speedchange",afterspeedchange:"afterspeedchange"}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pod"](6,{label:0,shortcut:1}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pod"](8,{label:0,shortcut:1}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pod"](10,{label:0,shortcut:1}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pod"](12,{label:0,shortcut:1}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pod"](14,{label:0,shortcut:1}),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),Wt["\u0275pod"](16,{label:0,shortcut:1}),Wt["\u0275pod"](17,{play:0,pause:1,stop:2,replay:3,backward:4,backwardtime:5}),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](19,0,null,null,2,"app-audioplayer",[],null,[[null,"shortcuttriggered"],["window","resize"],["window","beforeunload"]],function(e,n,t){var l=!0,i=e.component;if("window:resize"===n){l=!1!==Wt["\u0275nov"](e,21).onResize(t)&&l}if("window:beforeunload"===n){l=!1!==Wt["\u0275nov"](e,21).onReload(t)&&l}if("shortcuttriggered"===n){l=!1!==i.onShortcutTriggered(t)&&l}return l},xn,$u)),Wt["\u0275prd"](512,null,$i,$i,[fi]),Wt["\u0275did"](21,4964352,[[2,4],["audioplayer",4]],0,Xi,[fi,$i,Wt.ChangeDetectorRef,vi],{audiochunk:[0,"audiochunk"]},{shortcuttriggered:"shortcuttriggered"}),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](23,0,null,null,3,"app-transcr-editor",[],null,[[null,"typing"],[null,"marker_insert"],[null,"marker_click"],[null,"boundaryclicked"],[null,"boundaryinserted"],[null,"selectionchanged"]],function(e,n,t){var l=!0,i=e.component;if("typing"===n){l=!1!==i.afterTyping(t)&&l}if("marker_insert"===n){l=!1!==i.onMarkerInsert(t)&&l}if("marker_click"===n){l=!1!==i.onMarkerClick(t)&&l}if("boundaryclicked"===n){l=!1!==i.onBoundaryClicked(t)&&l}if("boundaryinserted"===n){l=!1!==i.onBoundaryInserted()&&l}if("selectionchanged"===n){l=!1!==i.onSelectionChanged(t)&&l}return l},Pn,Qu)),Wt["\u0275prd"](4608,null,lr,lr,[]),Wt["\u0275did"](25,770048,[[3,4],["transcr",4]],0,ar,[Wt.ChangeDetectorRef,fo.a,Fi],{markers:[0,"markers"],easymode:[1,"easymode"],audiochunk:[2,"audiochunk"]},{marker_insert:"marker_insert",marker_click:"marker_click",typing:"typing",boundaryclicked:"boundaryclicked",boundaryinserted:"boundaryinserted",selectionchanged:"selectionchanged"}),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){var t=n.component;e(n,4,0,t.audiomanager.audioplaying,t.settingsService.responsive.enabled,t.appStorage.easymode,t.audiomanager.replay,e(n,17,0,e(n,6,0,Wt["\u0275unv"](n,4,4,Wt["\u0275nov"](n,5).transform("general.play")),t.keyMap.getShortcut("AP","play_pause")),e(n,8,0,Wt["\u0275unv"](n,4,4,Wt["\u0275nov"](n,7).transform("general.pause")),t.keyMap.getShortcut("AP","play_pause")),e(n,10,0,Wt["\u0275unv"](n,4,4,Wt["\u0275nov"](n,9).transform("general.stop")),t.keyMap.getShortcut("AP","stop")),e(n,12,0,Wt["\u0275unv"](n,4,4,Wt["\u0275nov"](n,11).transform("general.replay")),""),e(n,14,0,Wt["\u0275unv"](n,4,4,Wt["\u0275nov"](n,13).transform("general.backward")),t.keyMap.getShortcut("AP","step_backward")),e(n,16,0,Wt["\u0275unv"](n,4,4,Wt["\u0275nov"](n,15).transform("general.backwardtime")),t.keyMap.getShortcut("overlay","step_backward")))),e(n,21,0,t.audiochunk),e(n,25,0,t.transcrService.guidelines.markers,t.appStorage.easymode,t.audiochunk)},null)}function Mn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-audioplayer-gui",[],null,null,null,Rn,Yu)),Wt["\u0275did"](1,4964352,null,0,wr,[fi,vi,Fi,Ci,Ri,Oi],null,null)],function(e,n){e(n,1,0)},null)}function Tn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,6,"div",[["class","placeholder"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,0,"span",[["class","fa fa-spinner fa-spin fa-3x fa-fw"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,1,"span",[["class","sr-only"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["Loading..."])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,null)}function Nn(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,[["scrollbar",1]],null,5,"div",[["class","scrollbar"]],null,[[null,"mousemove"],[null,"mouseleave"],[null,"mouseout"],[null,"mouseup"],[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("mousemove"===n){Wt["\u0275nov"](e,0).mouseover=!0,i.scrollbarchange.emit({state:"mousemove"});l=!1!==i.onSliderChanged(t)&&l}if("mouseleave"===n){Wt["\u0275nov"](e,0).mouseover=!1,i.scrollbarchange.emit({state:"mouseleave"});l=!1!==i.onSliderChanged(t)&&l}if("mouseout"===n){l=!1!=(Wt["\u0275nov"](e,0).mouseover=!1)&&l}if("mouseup"===n){i.scrollbarchange.emit({state:"mouseup"});l=!1!==i.onSliderChanged(t)&&l}if("click"===n){l=!1!==i.onSliderChanged(t)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"div",[["class","slider"]],null,[[null,"mousedown"],[null,"mousemove"],[null,"mouseup"]],function(e,n,t){var l=!0,i=e.component;if("mousedown"===n){l=!1!==i.onSliderChanged(t)&&l}if("mousemove"===n){l=!1!==i.onSliderChanged(t)&&l}if("mouseup"===n){l=!1!==i.onSliderChanged(t)&&l}return l},null,null)),Wt["\u0275did"](3,278528,null,0,go.NgStyle,[Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngStyle:[0,"ngStyle"]},null),Wt["\u0275pod"](4,{"margin-top":0,height:1}),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,3,0,e(n,4,0,(t.height30?t.transcrServ.currentlevel.name.substr(0,30)+"...":t.transcrServ.currentlevel.name)})}function Mt(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,12,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](3,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](4,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](7,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](10,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){var t=n.component;e(n,4,0,Wt["\u0275unv"](n,4,0,Wt["\u0275nov"](n,5).transform("general.project"))),e(n,10,0,t.appStorage.user.project)})}function Tt(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,12,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](3,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](4,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](7,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](10,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){var t=n.component;e(n,4,0,Wt["\u0275unv"](n,4,0,Wt["\u0275nov"](n,5).transform("general.id"))),e(n,10,0,t.appStorage.data_id)})}function Nt(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,12,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](3,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](4,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](7,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](10,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){var t=n.component;e(n,4,0,Wt["\u0275unv"](n,4,0,Wt["\u0275nov"](n,5).transform("general.free jobs"))),e(n,10,0,t.appStorage.jobs_left)})}function It(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,93,"li",[["class","dropdown"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,1,"a",[["aria-expanded","false"],["class","dropdown"],["data-toggle","dropdown"],["href","#"],["role","button"]],null,null,null,null,null)),(e()(),Wt["\u0275eld"](3,0,null,null,0,"span",[["class","glyphicon glyphicon-info-sign navbar-icon"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](5,0,null,null,87,"div",[["class","dropdown-menu info-menu"]],null,null,null,null,null)),Wt["\u0275did"](6,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Wt["\u0275pod"](7,{collaps:0}),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,null,82,"table",[["class","table"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](11,0,null,null,80,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Mt)),Wt["\u0275did"](13,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](15,0,null,null,12,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](17,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](18,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](19,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](22,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](24,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](25,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](29,0,null,null,13,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](31,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](32,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](33,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](36,0,null,null,5,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](38,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](39,null,[""," (H:m:s)"])),Wt["\u0275pid"](0,uo,[]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](44,0,null,null,12,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](46,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](47,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](48,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](51,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](53,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](54,null,["",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](58,0,null,null,12,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](60,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](61,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](62,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](65,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](67,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](68,null,[""," Bit/s"])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](72,0,null,null,12,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](74,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](75,0,null,null,2,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](76,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](79,0,null,null,4,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](81,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](82,null,[""," ",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Tt)),Wt["\u0275did"](87,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Nt)),Wt["\u0275did"](90,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],function(e,n){var t=n.component;e(n,6,0,"dropdown-menu info-menu",e(n,7,0,t.collapsed)),e(n,13,0,!t.appStorage.uselocalmode),e(n,87,0,!t.appStorage.uselocalmode),e(n,90,0,!t.appStorage.uselocalmode)},function(e,n){var t=n.component;e(n,19,0,Wt["\u0275unv"](n,19,0,Wt["\u0275nov"](n,20).transform("general.name"))),e(n,25,0,t.navbarServ.exportformats.filename),e(n,33,0,Wt["\u0275unv"](n,33,0,Wt["\u0275nov"](n,34).transform("general.duration"))),e(n,39,0,Wt["\u0275unv"](n,39,0,Wt["\u0275nov"](n,40).transform(t.navbarServ.exportformats.duration))),e(n,48,0,Wt["\u0275unv"](n,48,0,Wt["\u0275nov"](n,49).transform("general.samplerate"))),e(n,54,0,t.navbarServ.exportformats.samplerate),e(n,62,0,Wt["\u0275unv"](n,62,0,Wt["\u0275nov"](n,63).transform("general.bitspersecond"))),e(n,68,0,t.navbarServ.exportformats.bitrate),e(n,76,0,Wt["\u0275unv"](n,76,0,Wt["\u0275nov"](n,77).transform("general.filesize"))),e(n,82,0,t.navbarServ.exportformats.filesize.size,t.navbarServ.exportformats.filesize.label)})}function Et(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,10,"li",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,7,"a",[],null,[[null,"mouseup"]],function(e,n,t){var l=!0;if("mouseup"===n){l=!1!==Wt["\u0275nov"](e.parent,4).open()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,0,"span",[["class","glyphicon glyphicon-download navbar-icon"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,2,"span",[["class","hidden-sm hidden-md"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){e(n,7,0,Wt["\u0275unv"](n,7,0,Wt["\u0275nov"](n,8).transform("general.export")))})}function At(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,6,"li",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,3,"a",[],null,[[null,"mouseup"]],function(e,n,t){var l=!0,i=e.component;if("mouseup"===n){l=!1!==i.openBugReport()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,0,"span",[["class","glyphicon glyphicon-exclamation-sign navbar-icon"],["style","color:#fcffba"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,null)}function Dt(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,5,"li",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,2,"a",[],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.changeLanguage(e.context.$implicit)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](3,null,["",""])),Wt["\u0275ppd"](4,1),(e()(),Wt["\u0275ted"](-1,null,["\n "]))],null,function(e,n){e(n,3,0,Wt["\u0275unv"](n,3,0,e(n,4,0,Wt["\u0275nov"](n.parent,1),n.context.$implicit)))})}function Lt(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,20,"div",[["class","panel"],["id","subnav"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](2,0,null,null,17,"div",[["class","row"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](4,0,null,null,0,"div",[["class","col-sm-2"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,null,2,"div",[["class","col-xs-4 col-sm-3"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](7,null,["",": ",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](10,0,null,null,2,"div",[["class","col-xs-4 col-sm-3"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](11,null,["",":\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](14,0,null,null,2,"div",[["class","col-xs-4 col-sm-3"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](15,null,["",":\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](18,0,null,null,0,"div",[["class","col-sm-2"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],null,function(e,n){var t=n.component;e(n,7,0,Wt["\u0275unv"](n,7,0,Wt["\u0275nov"](n,8).transform("general.project")),t.appStorage.user.project),e(n,11,0,Wt["\u0275unv"](n,11,0,Wt["\u0275nov"](n,12).transform("general.name")),t.navbarServ.exportformats.filename),e(n,15,0,Wt["\u0275unv"](n,15,0,Wt["\u0275nov"](n,16).transform("general.free jobs")),t.appStorage.jobs_left)})}function Ut(e){return Wt["\u0275vid"](0,[Wt["\u0275pid"](0,go.DatePipe,[Wt.LOCALE_ID]),Wt["\u0275pid"](0,go.UpperCasePipe,[]),Wt["\u0275qud"](402653184,1,{modalexport:0}),(e()(),Wt["\u0275eld"](3,0,null,null,70,"modal",[["class","modal"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,au.b,au.a)),Wt["\u0275did"](4,180224,[[1,4],["modalexport",4]],0,su.ModalComponent,[Wt.ElementRef],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](6,0,null,0,6,"modal-header",[],null,null,null,cu.b,cu.a)),Wt["\u0275did"](7,49152,null,0,du.ModalHeaderComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](9,0,null,0,2,"h4",[["class","modal-title"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](10,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](14,0,null,0,50,"modal-body",[["id","export-table"]],null,null,null,lu.b,lu.a)),Wt["\u0275did"](15,49152,null,0,iu.ModalBodyComponent,[],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](17,0,null,0,25,"table",[["class","table table-striped table-responsive"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](19,0,null,null,16,"thead",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](21,0,null,null,13,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](23,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](24,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](27,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](28,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](31,0,null,null,2,"th",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](32,null,["",""])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](37,0,null,null,4,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,mt)),Wt["\u0275did"](40,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,vt)),Wt["\u0275did"](45,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,bt)),Wt["\u0275did"](48,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,yt)),Wt["\u0275did"](51,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275eld"](52,0,null,0,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](54,0,null,0,2,"a",[],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.getProtocol()&&l}return l},null,null)),(e()(),Wt["\u0275eld"](55,0,null,null,0,"span",[["class","glyphicon glyphicon-list"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,[" Protocol"])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,_t)),Wt["\u0275did"](59,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,wt)),Wt["\u0275did"](62,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275eld"](63,0,null,0,0,"br",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](66,0,null,0,6,"modal-footer",[],null,null,null,pu.b,pu.a)),Wt["\u0275did"](67,49152,null,0,hu.ModalFooterComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](69,0,null,0,2,"button",[["class","btn btn-primary"],["data-dismiss","modal"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,4).dismiss()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](70,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](75,0,null,null,24,"modal",[["class","modal"],["id","modalstatis"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,au.b,au.a)),Wt["\u0275did"](76,180224,[["modalstatistics",4]],0,su.ModalComponent,[Wt.ElementRef],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](78,0,null,0,5,"modal-header",[],null,null,null,cu.b,cu.a)),Wt["\u0275did"](79,49152,null,0,du.ModalHeaderComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](81,0,null,0,1,"h4",[["class","modal-title"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["Statistics"])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](85,0,null,0,5,"modal-body",[],null,null,null,lu.b,lu.a)),Wt["\u0275did"](86,49152,null,0,iu.ModalBodyComponent,[],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275and"](16777216,null,0,1,null,kt)),Wt["\u0275did"](89,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](92,0,null,0,6,"modal-footer",[],null,null,null,pu.b,pu.a)),Wt["\u0275did"](93,49152,null,0,hu.ModalFooterComponent,[su.ModalComponent],null,null),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275eld"](95,0,null,0,2,"button",[["class","btn btn-primary"],["data-dismiss","modal"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,76).dismiss()&&l}return l},null,null)),(e()(),Wt["\u0275ted"](96,null,["\n ","\n "])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,0,["\n "])),(e()(),Wt["\u0275ted"](-1,0,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](101,0,null,null,161,"nav",[["class","navbar navbar-inverse"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](103,0,null,null,158,"div",[["class","container"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](105,0,null,null,18,"div",[["class","navbar-header"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](107,0,null,null,10,"button",[["aria-controls","navbar"],["class","navbar-toggle"],["data-target","#navbar"],["data-toggle","collapse"],["type","button"]],null,[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!=(i.collapsed=!i.collapsed)&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](109,0,null,null,1,"span",[["class","sr-only"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["Toggle navigation"])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](112,0,null,null,0,"span",[["class","icon-bar"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](114,0,null,null,0,"span",[["class","icon-bar"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](116,0,null,null,0,"span",[["class","icon-bar"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](119,0,null,null,3,"a",[["class","navbar-brand"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(e,n,t){var l=!0;if("click"===n){l=!1!==Wt["\u0275nov"](e,120).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&l}return l},null,null)),Wt["\u0275did"](120,671744,null,0,hr.m,[hr.k,hr.a,go.LocationStrategy],{routerLink:[0,"routerLink"]},null),Wt["\u0275pad"](121,1),(e()(),Wt["\u0275ted"](122,null,["OCTRA v",""])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](125,0,null,null,135,"div",[["class","collapse navbar-collapse"],["id","navbar"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ot)),Wt["\u0275did"](128,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275eld"](130,0,null,null,7,"ul",[["class","nav navbar-nav"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ct)),Wt["\u0275did"](133,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Pt)),Wt["\u0275did"](136,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275eld"](139,0,null,null,120,"ul",[["class","nav navbar-nav navbar-right"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Rt)),Wt["\u0275did"](142,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,It)),Wt["\u0275did"](145,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Et)),Wt["\u0275did"](148,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](150,0,null,null,91,"li",[["class","dropdown"]],null,null,null,null,null)),Wt["\u0275did"](151,278528,null,0,go.NgStyle,[Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{ngStyle:[0,"ngStyle"]},null),Wt["\u0275pod"](152,{display:0}),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](154,0,null,null,1,"a",[["aria-expanded","false"],["class","dropdown"],["data-toggle","dropdown"],["href","#"],["role","button"]],null,null,null,null,null)),(e()(),Wt["\u0275eld"](155,0,null,null,0,"span",[["class","glyphicon glyphicon-cog navbar-icon"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](157,0,null,null,83,"div",[["class","dropdown-menu options-menu"]],null,null,null,null,null)),Wt["\u0275did"](158,278528,null,0,go.NgClass,[Wt.IterableDiffers,Wt.KeyValueDiffers,Wt.ElementRef,Wt.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Wt["\u0275pod"](159,{collaps:0}),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](161,0,null,null,78,"table",[["class","table"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](163,0,null,null,76,"tbody",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](164,0,null,null,17,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](166,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](167,0,null,null,2,"label",[["for","easymode"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](168,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](171,0,null,null,9,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](173,0,null,null,6,"div",[["class","togglebutton"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](175,0,null,null,3,"label",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](177,0,null,null,0,"input",[["id","easymode"],["type","checkbox"]],[[8,"checked",0]],[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.toggleSettings("easymode")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](183,0,null,null,17,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](185,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](186,0,null,null,2,"label",[["for","playonhover"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](187,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](190,0,null,null,9,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](192,0,null,null,6,"div",[["class","togglebutton"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](194,0,null,null,3,"label",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](196,0,null,null,0,"input",[["id","playonhover"],["type","checkbox"]],[[8,"checked",0]],[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.toggleSettings("playonhover")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](202,0,null,null,17,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](204,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](205,0,null,null,2,"label",[["for","playonhover"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](206,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](209,0,null,null,9,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](211,0,null,null,6,"div",[["class","togglebutton"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](213,0,null,null,3,"label",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](215,0,null,null,0,"input",[["id","followplaycursor"],["type","checkbox"]],[[8,"checked",0]],[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.toggleSettings("followplaycursor")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](221,0,null,null,17,"tr",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](223,0,null,null,3,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275eld"](224,0,null,null,2,"label",[["for","playonhover"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](225,null,["",":"])),Wt["\u0275pid"](131072,ho.a,[fo.a,Wt.ChangeDetectorRef]),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](228,0,null,null,9,"td",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](230,0,null,null,6,"div",[["class","togglebutton"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](232,0,null,null,3,"label",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](234,0,null,null,0,"input",[["id","logging"],["type","checkbox"]],[[8,"checked",0],[8,"disabled",0]],[[null,"click"]],function(e,n,t){var l=!0,i=e.component;if("click"===n){l=!1!==i.toggleSettings("logging")&&l}return l},null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,At)),Wt["\u0275did"](244,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](246,0,null,null,12,"li",[["class","dropdown"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](248,0,null,null,3,"a",[["aria-expanded","false"],["aria-haspopup","true"],["class","dropdown-toggle"],["data-toggle","dropdown"],["href","#"],["role","button"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](249,null,[""," "])),Wt["\u0275ppd"](250,1),(e()(),Wt["\u0275eld"](251,0,null,null,0,"b",[["class","caret"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](253,0,null,null,4,"ul",[["class","dropdown-menu"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Dt)),Wt["\u0275did"](256,802816,null,0,go.NgForOf,[Wt.ViewContainerRef,Wt.TemplateRef,Wt.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Lt)),Wt["\u0275did"](265,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(e,n){var t=n.component;e(n,40,0,t.converters),e(n,45,0,t.arraybufferExists),e(n,48,0,"Audio"===t.preparing.name&&t.preparing.preparing),e(n,51,0,"Audio"===t.preparing.name&&!t.preparing.preparing),e(n,59,0,"Protocol"===t.preparing.name&&t.preparing.preparing),e(n,62,0,"Protocol"===t.preparing.name&&!t.preparing.preparing),e(n,89,0,Wt["\u0275nov"](n,76).visible),e(n,120,0,e(n,121,0,"/")),e(n,128,0,!t.appStorage.LoggedIn),e(n,133,0,t.editors),e(n,136,0,t.appStorage.LoggedIn&&t.navbarServ.show_interfaces&&t.settService.app_settings.octra.showdetails),e(n,142,0,void 0!==t.transcrServ),e(n,145,0,t.appStorage.LoggedIn&&t.navbarServ.dataloaded),e(n,148,0,t.appStorage.LoggedIn&&t.navbarServ.show_export),e(n,151,0,e(n,152,0,t.navbarServ.dataloaded&&t.appStorage.LoggedIn?"inherit":"none"));e(n,158,0,"dropdown-menu options-menu",e(n,159,0,t.collapsed)),e(n,244,0,void 0!==t.settService.app_settings&&void 0!==t.settService.app_settings.octra.bugreport&&t.settService.app_settings.octra.bugreport.enabled),e(n,256,0,t.langService.getLangs()),e(n,265,0,t.appStorage.LoggedIn&&!t.appStorage.uselocalmode&&t.navbarServ.dataloaded)},function(e,n){var t=n.component;e(n,3,0,Wt["\u0275nov"](n,4).fadeClass,Wt["\u0275nov"](n,4).dataKeyboardAttr,Wt["\u0275nov"](n,4).dataBackdropAttr),e(n,10,0,Wt["\u0275unv"](n,10,0,Wt["\u0275nov"](n,11).transform("general.export data"))),e(n,24,0,Wt["\u0275unv"](n,24,0,Wt["\u0275nov"](n,25).transform("general.download"))),e(n,28,0,Wt["\u0275unv"](n,28,0,Wt["\u0275nov"](n,29).transform("general.application"))),e(n,32,0,Wt["\u0275unv"](n,32,0,Wt["\u0275nov"](n,33).transform("general.website"))),e(n,70,0,Wt["\u0275unv"](n,70,0,Wt["\u0275nov"](n,71).transform("general.close"))),e(n,75,0,Wt["\u0275nov"](n,76).fadeClass,Wt["\u0275nov"](n,76).dataKeyboardAttr,Wt["\u0275nov"](n,76).dataBackdropAttr),e(n,96,0,Wt["\u0275unv"](n,96,0,Wt["\u0275nov"](n,97).transform("general.close"))),e(n,119,0,Wt["\u0275nov"](n,120).target,Wt["\u0275nov"](n,120).href),e(n,122,0,t.version),e(n,168,0,Wt["\u0275unv"](n,168,0,Wt["\u0275nov"](n,169).transform("settings.easy mode"))),e(n,177,0,t.appStorage.easymode),e(n,187,0,Wt["\u0275unv"](n,187,0,Wt["\u0275nov"](n,188).transform("settings.play on hover"))),e(n,196,0,t.appStorage.playonhover),e(n,206,0,Wt["\u0275unv"](n,206,0,Wt["\u0275nov"](n,207).transform("settings.follow playcursor"))),e(n,215,0,t.appStorage.followplaycursor),e(n,225,0,Wt["\u0275unv"](n,225,0,Wt["\u0275nov"](n,226).transform("settings.logging"))),e(n,234,0,t.appStorage.logging,!t.appStorage.uselocalmode),e(n,249,0,Wt["\u0275unv"](n,249,0,e(n,250,0,Wt["\u0275nov"](n,1),t.langService.currentLang)))})}function zt(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-navigation",[],null,null,null,Ut,Pa)),Wt["\u0275did"](1,4440064,null,0,Or,[Oi,Pi,Kt.c,fo.a,mi,Ri],null,null)],function(e,n){e(n,1,0)},null)}function Ft(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"div",[["id","beta_mark"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["In Developement"]))],null,null)}function Bt(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-octra-modal",[],null,null,null,st,Oa)),Wt["\u0275did"](1,245760,null,0,pr,[mi,dr,Fl,Oi,Ri],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](3,0,null,null,4,"header",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](5,0,null,null,1,"app-navigation",[],null,null,null,Ut,Pa)),Wt["\u0275did"](6,4440064,null,0,Or,[Oi,Pi,Kt.c,fo.a,mi,Ri],{version:[0,"version"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275eld"](9,0,null,null,11,"main",[],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275and"](16777216,null,null,1,null,Ft)),Wt["\u0275did"](12,16384,null,0,go.NgIf,[Wt.ViewContainerRef,Wt.TemplateRef],{ngIf:[0,"ngIf"]},null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](15,0,null,null,4,"div",[["class","container flex"]],null,null,null,null,null)),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275eld"](17,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),Wt["\u0275did"](18,212992,null,0,hr.o,[hr.b,Wt.ViewContainerRef,Wt.ComponentFactoryResolver,[8,null],Wt.ChangeDetectorRef],null,null),(e()(),Wt["\u0275ted"](-1,null,["\n "])),(e()(),Wt["\u0275ted"](-1,null,["\n"])),(e()(),Wt["\u0275ted"](-1,null,["\n"]))],function(e,n){var t=n.component;e(n,1,0),e(n,6,0,t.version),e(n,12,0,t.environment.dev_version),e(n,18,0)},null)}function Vt(e){return Wt["\u0275vid"](0,[(e()(),Wt["\u0275eld"](0,0,null,null,1,"app-octra",[],null,null,null,Bt,Ra)),Wt["\u0275did"](1,180224,null,0,Zr,[Fl,fo.a,Oi,Ri,dr],null,null)],null,null)}Object.defineProperty(n,"__esModule",{value:!0});var Wt=t("/oeL"),qt={production:!0,dev_version:!1},Kt=t("fc+i"),$t=t("bm2B"),Xt=t("CPp0"),Ht=t("9Qcf"),Qt=t("GWzR"),Gt=t("thi6"),Yt=(function(){function e(e,n,t,l,i,r,o,u,a,s,c){this._id=e,this._annotator=n,this._annobegin=t,this._annoend=l,this._url=i,this._segmentbegin=r,this._segmentend=o,this._priority=u,this._status=a,this._project=s,this._jobno=c}Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"annotator",{get:function(){return this._annotator},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"annobegin",{get:function(){return this._annobegin},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"annoend",{get:function(){return this._annoend},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._url},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"segmentbegin",{get:function(){return this._segmentbegin},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"segmentend",{get:function(){return this._segmentend},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"priority",{get:function(){return this._priority},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"status",{get:function(){return this._status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"project",{get:function(){return this._project},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"jobno",{get:function(){return this._jobno},enumerable:!0,configurable:!0})}(),function(){function e(e,n,t,l){this.systemstate=e,this.type=n,this.data=t,this.message=l}}(),t("N+n4")),Jt=function(){function e(e,n){if(this._samples=e,this._sample_rate=n,this._sample_rate<=0)throw new Error("sample_rate must be bigger than 0")}return e.fromSeconds=function(n,t){return new e(n*t,t)},e.fromMiliSeconds=function(n,t){return new e(n/1e3*t,t)},e.add=function(n,t){if(n._sample_rate===t._sample_rate)return new e(n.samples+t.samples,n._sample_rate);throw new Error("Two AudioTime Objects of different sample_rates can not be added.")},e.sub=function(n,t){if(n._sample_rate===t._sample_rate)return new e(n.samples-t.samples,n._sample_rate);throw new Error("Two AudioTime Objects of different sample_rates can not be added.")},e.fromSamples=function(n,t){return!Object(Yt.isNullOrUndefined)(n)&&!Object(Yt.isNullOrUndefined)(t)&&Number.isInteger(n)&&n>-1?new e(n,t):null},Object.defineProperty(e.prototype,"sample_rate",{set:function(e){this._sample_rate=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"samples",{get:function(){return this._samples},set:function(e){this._samples=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"unix",{get:function(){return Math.floor(1e3*this.samples/this._sample_rate)},set:function(e){this._samples=Math.round(e/1e3*this._sample_rate)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"seconds",{get:function(){return this.samples/this._sample_rate},set:function(e){this.samples=e*this._sample_rate},enumerable:!0,configurable:!0}),e.prototype.clone=function(){return new e(this.samples,this._sample_rate)},e.prototype.toString=function(){return"Samples: "+this.samples},e.prototype.toAny=function(){return{samples:this._samples,sample_rate:this._sample_rate}},e}(),Zt=function(){function e(e,n,t){this.samplerate=e,this._duration=n,this.audio_px_width=t,(null===this.audio_px_width||this.audio_px_width<1)&&console.error("audio px null")}return e.roundSamples=function(e){return Math.round(e)},Object.defineProperty(e.prototype,"duration",{set:function(e){this._duration=e},enumerable:!0,configurable:!0}),e.prototype.samplestoAbsX=function(e,n){var t=n||this._duration;if(0===t.samples)throw new Error("time duration must have samples greater 0");return e/t.samples*this.audio_px_width},e.prototype.absXChunktoSamples=function(n,t){var l=t.time.start?t.time.start.samples:1,i=t.time.end.samples-l;if(n>=0&&n<=this.audio_px_width){var r=n/this.audio_px_width;return e.roundSamples(i*r+t.time.start.samples)}return-1},e.prototype.absXtoSamples2=function(n,t){var l=t.time.start?t.time.start.samples:1,i=t.time.end.samples-l;if(n>=0&&n<=this.audio_px_width){var r=n/this.audio_px_width;return e.roundSamples(i*r)}return-1},e.prototype.samplesToSeconds=function(e){return this.samplerate>0&&e>-1?e/this.samplerate:0},e.prototype.secondsToSamples=function(n){return this.samplerate>0&&n>-1?e.roundSamples(n*this.samplerate):0},e}(),el=function(){function e(e,n,t,l){this._relPos={x:0,y:0},this._absX=0,this._line=null,l&&(this._timepos=l.clone()),this._relPos.x=e,this._relPos.y=n,this._absX=t}return Object.defineProperty(e.prototype,"timePos",{get:function(){return this._timepos},set:function(e){this._timepos=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"relPos",{get:function(){return this._relPos},set:function(e){this._relPos=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"absX",{get:function(){return this._absX},set:function(e){this._absX=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"line",{get:function(){return this._line},set:function(e){this._line=e},enumerable:!0,configurable:!0}),e}(),nl=function(){function e(){}return Object.defineProperty(e,"platform",{get:function(){return platform.os.family&&"OS X"===platform.os.family?"mac":"pc"},enumerable:!0,configurable:!0}),e}();nl.browser=platform.name,nl.version=platform.version,nl.os=platform.os;var tl,ll=function(){function e(e){this.interval=e,this.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(n){window.setTimeout(n,e/60),console.warn("Browser does not support requestAnimation. Drawing set manual to "+e+" per second")}}return e.prototype.requestFrame=function(e){this.requestAnimationFrame(e)},e}(),il=function(){function e(e,n){this.start=e.clone(),this.end=n.clone()}return Object.defineProperty(e.prototype,"start",{get:function(){return this._start},set:function(e){this._start=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._end},set:function(e){this._end=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._start&&this._end&&this._start.samples>this._end.samples?Math.abs(this._start.samples-this._end.samples):Math.abs(this._end.samples-this._start.samples)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"duration",{get:function(){var e=this.start.clone();return e.samples=this.length,e},enumerable:!0,configurable:!0}),e.prototype.clone=function(){return new e(this._start,this._end)},e.prototype.checkSelection=function(){if(this._start&&this._end&&this._start.samples>this._end.samples){var e=this._start.samples;this._start.samples=this._end.samples,this._end.samples=e}},e}();!function(e){e[e.URL=0]="URL",e[e.FILE=1]="FILE",e[e.ArrayBuffer=2]="ArrayBuffer"}(tl||(tl={}));var rl;!function(e){e[e.PREPARE=0]="PREPARE",e[e.INITIALIZED=1]="INITIALIZED",e[e.STARTED=2]="STARTED",e[e.PLAYING=3]="PLAYING",e[e.PAUSED=4]="PAUSED",e[e.STOPPED=5]="STOPPED",e[e.ENDED=6]="ENDED"}(rl||(rl={}));var ol=function(){function e(){this.subscriptions=[],this.counter=0}return e.prototype.add=function(e){return this.subscriptions.push({id:++this.counter,subscription:e}),this.counter},e.prototype.destroy=function(){if(!Object(Yt.isNullOrUndefined)(this.subscriptions)){for(var e=0;e0&&(this._speed=e,this._audiomanger.source.playbackRate.value=e,this._audiomanger.endplaying=this._audiomanger.endplaying*this._speed)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"volume",{get:function(){return this._volume},set:function(e){this._volume=e,this._audiomanger.gainNode.gain.value=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"time",{get:function(){return this._time},set:function(e){this._time=e},enumerable:!0,configurable:!0}),e.prototype.getChannelBuffer=function(e){if(!Object(Yt.isNullOrUndefined)(e)&&(Object(Yt.isNullOrUndefined)(this._channel)||0===this._channel.length)){var n=void 0;return n=Object(Yt.isNullOrUndefined)(this._audiomanger.mainchunk)||0===this._audiomanger.mainchunk.channel.length?new Float32Array(this._audiomanger.ressource.audiobuffer.getChannelData(0)):new Float32Array(this._audiomanger.mainchunk.channel),n=n.subarray(e.start.samples,e.end.samples)}return null},e.prototype.startPlayback=function(e,n){var t=this;if(void 0===n&&(n=!1),Object(Yt.isNullOrUndefined)(this._selection)&&(this.selection=new il(this.time.start.clone(),this.time.end.clone())),this._selection.start.samples===this._selection.end.samples&&(this.startpos=this._selection.start.clone()),!this._audiomanger.audioplaying){this._state=rl.STARTED,this._lastplayedpos=this.playposition.clone(),this.audiomanager.playposition=this._lastplayedpos.samples,this.setState(rl.PLAYING);var l=this.subscrmanager.add(this.audiomanager.statechange.subscribe(function(e){t.checkState(e),t.setState(e),e!==rl.STOPPED&&e!==rl.PAUSED&&e!==rl.ENDED||t.subscrmanager.remove(l)},function(e){console.error(e)}));return this._audiomanger.startPlayback(this.selection.start,this.selection.duration,this._volume,this._speed,e,n)}return!1},e.prototype.stopPlayback=function(){var e=this._audiomanger.stopPlayback();return this.startpos=this.time.start.clone(),e||this.setState(rl.STOPPED),!0},e.prototype.pausePlayback=function(){return this.audiomanager.pausePlayback()},e.prototype.rePlayback=function(){return this._audiomanger.rePlayback()},e.prototype.stepBackward=function(){if(!Object(Yt.isNullOrUndefined)(this.lastplayedpos)){this.startpos=this.lastplayedpos.clone();var e=this.audiomanager.stepBackward();return e||(this.audiomanager.stepbackward=!0,this.setState(rl.STOPPED)),e}return console.error("lastplayedpos is null"),!1},e.prototype.stepBackwardTime=function(e){var n=Math.max(0,this.playposition.samples-Math.round(e*this.audiomanager.ressource.info.samplerate));this.startpos=new Jt(n,this.audiomanager.ressource.info.samplerate);var t=this.audiomanager.stepBackwardTime(n);return t||(this.audiomanager.stepbackward=!0,this.setState(rl.STOPPED)),t},e.prototype.setState=function(e){this._state===e&&e!==rl.STOPPED||(this._state=e,this.statechange.emit(e))},e.prototype.afterPlaybackStopped=function(){this.startpos=this.time.start.clone(),this.audiomanager.replay=!1},e.prototype.afterPlaybackPaused=function(){this.startpos=this.playposition.clone()},e.prototype.afterPlaybackEnded=function(){this.selection.end.samples===this.time.end.samples&&(this.startpos=this.time.start.clone())},e.prototype.checkState=function(e){switch(e){case rl.STOPPED:this.audiomanager.stepbackward||this.afterPlaybackStopped();break;case rl.PAUSED:this.afterPlaybackPaused();break;case rl.ENDED:this.afterPlaybackEnded()}},Object.defineProperty(e.prototype,"isPlaybackEnded",{get:function(){return this._state===rl.ENDED},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isPlaybackStarted",{get:function(){return this._state===rl.STARTED},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isPlaying",{get:function(){return this._state===rl.PLAYING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isPlayBackStopped",{get:function(){return this._state===rl.STOPPED},enumerable:!0,configurable:!0}),e.prototype.clone=function(){return new e(this.time.clone(),this.audiomanager,this.selection)},e.prototype.destroy=function(){this.subscrmanager.destroy()},e}();ul.counter=0;var al=function(){function e(){}return e.scrollTo=function(e,n){setTimeout(function(){Object(Yt.isNullOrUndefined)(n)?jQuery("html, body").scrollTop(e):jQuery(n).scrollTop(e)},200)},e.buildStr=function(e,n){var t=e,l=/({[0-9]+})+/g;if(t.match(l).length!==n.length)throw new Error("buildStr: number of placeholders do not match with array");for(var i=0;i/g,">").replace(/"/g,""").replace(/'/g,"'")},e.unEscapeHtml=function(e){return e.replace("&","&").replace("<","<").replace(">",">").replace(""",'"').replace("'","'")},e.insertString=function(e,n,t){var l=e;if(!(n<=e.length))throw new Error("String cannot be inserted at position "+n);return l=l.substring(0,n)+t+l.substring(n)},e.uniqueHTTPRequest=function(e,n,t,l,i){if(void 0===n&&(n=!1),n)return e.post(l,i,t);var r=new Xt.m,o=Date.now();r.set("v",o.toString());var u=new Xt.j;return u.params=r,e.get(l,u)},e.setCursor=function(e,n){if(!(e="string"==typeof e||e instanceof String?document.getElementById(""+e):e))return!1;if(e.createTextRange){var t=e.createTextRange();return t.collapse(!0),t.moveEnd(n),t.moveStart(n),t.select(),!0}return!!e.setSelectionRange&&(e.setSelectionRange(n,n),!0)},e.base64ToArrayBuffer=function(e){for(var n=window.atob(e),t=n.length,l=new Uint8Array(t),i=0;ithis.pos.x&&ethis.pos.y&&n0?this._absX%this._innerWidth:0},enumerable:!0,configurable:!0}),e.prototype.changeAbsX=function(e,n,t,l){this._absX=Math.max(0,Math.min(e,t)),this._time_pos.samples=n.absXChunktoSamples(e,l)},e.prototype.changeSamples=function(e,n,t){this._time_pos.samples=e;var l=!Object(Yt.isNullOrUndefined)(t)&&t.time.start.samples-1&&(this.name=e.substr(0,e.lastIndexOf("."))),Object(Yt.isNullOrUndefined)(t)||(this.levels=t),Object(Yt.isNullOrUndefined)(l)||(this.links=l)}return e}(),wl=function(){function e(){}return e}(),Sl=function(){function e(e,n,t){this.name="",this.type="",this.name=e,this.type=n,this.items=[],Object(Yt.isNullOrUndefined)(t)||(this.items=t)}return e}(),kl=function(){function e(e,n){this.id=0,this.id=e,this.labels=[],Object(Yt.isNullOrUndefined)(n)||(this.labels=n)}return e}(),Ol=function(e){function n(n,t,l,i){var r=e.call(this,n,i)||this;return r.sampleStart=0,r.sampleDur=0,r.sampleStart=t,r.sampleDur=l,r}return yl(n,e),n}(kl),xl=function(e){function n(n,t,l){var i=e.call(this,n,l)||this;return i.samplePoint=t,i}return yl(n,e),n}(kl),Cl=function(){function e(e,n){this.name="",this.value="",this.name=e,this.value=n}return e}();!function(){function e(e,n){this.fromID=e,this.toID=n}}();!function(e){e[e.ITEM=0]="ITEM",e[e.EVENT=1]="EVENT",e[e.SEGMENT=2]="SEGMENT"}(cl||(cl={}));var Pl=function(){function e(e,n,t){if(this.sample_rate=e,this.onsegmentchange=new Wt.EventEmitter,this._segments=[],null!==n){0===n.length&&this._segments.push(new bl(new Jt(t,e)));for(var l=0;l-1&&e-1&&this._segments[e]){var t={samples:this._segments[e].time.samples,transcript:this._segments[e].transcript};if(this._segments[e].time.samples=n.time.samples,this._segments[e].transcript=n.transcript,t.samples!==n.time.samples||t.transcript!==n.transcript)return this.onsegmentchange.emit(),!0}return!1},e.prototype.sort=function(){this.segments.sort(function(e,n){return e.time.samplesn.time.samples?1:void 0}),this.onsegmentchange.emit()},e.prototype.get=function(e){return e>-1&&e0&&(n=this._segments[t-1].time.samples),e>n&&e<=this._segments[t].time.samples)return t;return-1},e.prototype.getSegmentsOfRange=function(e,n){for(var t=[],l=0,i=0;i=e&&r.time.samples<=n||l>=e&&l<=n||l<=e&&r.time.samples>=n)&&t.push(r),l=r.time.samples}return t},e.prototype.getStartTime=function(e){var n=this.get(e),t=0;if(n)for(var l=0;l0){var t=this.segments[n-1];t.time.samples===this.segments[n].time.samples&&e.push(n)}for(var n=0;n=n&&e<=this.segments[t].time.samples)return this.segments[t];n=this.segments[t].time.samples}return null},e.prototype.clear=function(){this._segments=[]},e.prototype.getObj=function(e){for(var n=[],t=0,l=0;l active",Object(Tl.e)("300ms ease-in")),Object(Tl.i)("active => inactive",Object(Tl.e)("300ms ease-in"))]),function(){function e(){this._conversion={import:!1,export:!1},this._application="",this._name="",this._extension="",this._encoding="",this._website={title:"",url:""},this._showauthors=!1}return Object.defineProperty(e.prototype,"encoding",{get:function(){return this._encoding},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extension",{get:function(){return this._extension},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"website",{get:function(){return this._website},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"conversion",{get:function(){return this._conversion},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"showauthors",{get:function(){return this._showauthors},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"application",{get:function(){return this._application},enumerable:!0,configurable:!0}),e}()),Il=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])};return function(n,t){function l(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}}(),El=function(e){function n(){var n=e.call(this)||this;return n._application="Emu-WebApp",n._name="AnnotJSON",n._website.title="Emu-WebApp",n._website.url="http://ips-lmu.github.io/EMU-webApp/",n._extension="_annot.json",n._conversion.export=!0,n._conversion.import=!0,n}return Il(n,e),n.prototype.export=function(e,n){return Object(Yt.isNullOrUndefined)(e)?null:{file:{name:e.name+this._extension,content:JSON.stringify(e,null,2),encoding:"UTF-8",type:"application/json"}}},n.prototype.import=function(e,n){if(null!==n&&void 0!==n){var t=new _l(n.name,n.samplerate),l=e.content;if(""!==l&&(t=JSON.parse(l),t.annotates===n.name))return{annotjson:t,audiofile:null}}return null},n}(Nl),Al=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])};return function(n,t){function l(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}}(),Dl=function(e){function n(){var n=e.call(this)||this;return n._application="Text Editor",n._name="Plain Text",n._extension=".txt",n._website.title="WebMaus",n._website.url="https://clarin.phonetik.uni-muenchen.de/BASWebServices/#/services/WebMAUSBasic",n._conversion.export=!0,n._conversion.import=!0,n._encoding="UTF-8",n}return Al(n,e),n.prototype.export=function(e,n){var t="",l="";if(!Object(Yt.isNullOrUndefined)(e)){for(var i=0;i0&&null!==o){var a={querytype:"continueannotation",transcript:JSON.stringify(e),project:n,annotator:t,comment:r,jobno:l,status:"BUSY",quality:JSON.stringify(o),id:i,log:u};return this.post(a)}throw new Error("saveSession - validation false")},e.prototype.unlockSession=function(e,n){if(""!==e){var t={querytype:"continueannotation",transcript:"",project:e,annotator:"",comment:"",status:"FREE",quality:"",id:n,log:[]};return this.post(t)}throw new Error("unlockSession - validation false")},e.prototype.saveSession=function(e,n,t,l,i,r,o,u,a){if(""!==n&&e.length>0&&null!==u){var s={querytype:"continueannotation",transcript:JSON.stringify(e),project:n,annotator:t,comment:o,jobno:l,status:r,quality:JSON.stringify(u),id:i,log:a};return this.post(s)}throw new Error("saveSession - validation false")},e.prototype.closeSession=function(e,n,t){if(t=t||"",null!==e&&""!==e&&null!==n&&n>-1){var l={querytype:"endannotation",annotator:e,comment:t,id:n};return this.post(l)}throw new Error("closeSession - validation false")},e.prototype.getAudioURL=function(e,n){if(null!==e&&""!==e&&null!==n&&""!==n)return e=this.sanitizer.sanitize(Wt.SecurityContext.URL,e),n=this.sanitizer.sanitize(Wt.SecurityContext.URL,n),this.server_url+"?dir="+e+"&src="+n;throw new Error("getAudioBuffer - validation false")},e.prototype.getProjects=function(){var e={querytype:"listprojects"};return this.post(e)},e.prototype.post=function(e){var n=JSON.stringify(e);return this.http.post(this.server_url,n)},e.prototype.init=function(e){var n=this.sanitizer.sanitize(Wt.SecurityContext.URL,e);this.server_url=n},e.prototype.sendBugReport=function(e,n,t){void 0===e&&(e=""),void 0===n&&(n="");var l=JSON.stringify(t),i={querytype:"reportbug",email:e,buglogtext:l};return this.post(i)},e.ctorParameters=function(){return[{type:Xt.e},{type:Kt.c}]},e}(),Bl=function(){function e(e,n,t,l){if(n!==tl.URL&&Object(Yt.isNullOrUndefined)(t))throw new Error("MediaRessource of type File or ArrayBuffer must have content");if(-1===e.lastIndexOf("."))throw new Error("fullname parameter needs to consist of an file extension");var i=e.lastIndexOf(".");this._name=e.substr(0,i),this._extension=e.substr(i),this._size=l,this.source=n,this._arraybuffer=t}return Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extension",{get:function(){return this._extension},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"arraybuffer",{get:function(){return this._arraybuffer},set:function(e){this._arraybuffer=e},enumerable:!0,configurable:!0}),e}(),Vl=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])};return function(n,t){function l(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}}(),Wl=function(e){function n(n,t,l,i,r,o){var u=e.call(this,n,t,i,o)||this;if(!(!Object(Yt.isNullOrUndefined)(l.duration)&&!Object(Yt.isNullOrUndefined)(l.duration)&&l.duration.samples>0&&l.samplerate>0))throw Error("AudioRessource needs a correct instance of AudioInfo as parameter");return u._info=l,u._audiobuffer=r,u}return Vl(n,e),Object.defineProperty(n.prototype,"audiobuffer",{get:function(){return this._audiobuffer},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"info",{get:function(){return this._info},set:function(e){this._info=e},enumerable:!0,configurable:!0}),n}(Bl),ql=function(){function e(n){var t=this;if(this.afterdecoded=new Wt.EventEmitter,this._audiocontext=null,this._source=null,this._gainNode=null,this._startplaying=0,this._endplaying=0,this._replay=!1,this._paused=!1,this._stepbackward=!1,this._playonhover=!1,this.loaded=!1,this.chunks=[],this._javascriptNode=null,this.afterloaded=new Wt.EventEmitter,this.statechange=new Wt.EventEmitter,this.state=rl.PREPARE,this.afterAudioEnded=function(){t.state===rl.PLAYING&&(t.state=rl.ENDED),t.state!==rl.ENDED&&t.state!==rl.PAUSED&&t.state!==rl.STOPPED||t.javascriptNode.disconnect(),t.statechange.emit(t.state)},this._id=++e.counter,!Object(Yt.isNullOrUndefined)(n)){var l=window.AudioContext||window.webkitAudioContext||window.mozAudioContext||!1;l?(Object(Yt.isNullOrUndefined)(this._audiocontext)?this._audiocontext=new l:console.log("old audiocontext available"),this.state=rl.PREPARE):console.error("AudioContext not supported by this browser")}}return Object.defineProperty(e.prototype,"playonhover",{get:function(){return this._playonhover},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"playposition",{get:function(){return Object(Yt.isNullOrUndefined)(this._playposition)?0:this._playposition.samples},set:function(e){Object(Yt.isNullOrUndefined)(this._playposition)&&(this._playposition=new Jt(0,this.ressource.info.samplerate)),this._playposition.samples=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gainNode",{get:function(){return this._gainNode},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endplaying",{get:function(){return this._endplaying},set:function(e){this._endplaying=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"source",{get:function(){return this._source},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mainchunk",{get:function(){return this._mainchunk},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ressource",{get:function(){return this._ressource},set:function(e){this._ressource=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"replay",{get:function(){return this._replay},set:function(e){this._replay=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paused",{get:function(){return this._paused},set:function(e){this._paused=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stepbackward",{get:function(){return this._stepbackward},set:function(e){this._stepbackward=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"javascriptNode",{get:function(){return this._javascriptNode},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audioplaying",{get:function(){return this.state===rl.PLAYING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),e.getFileFormat=function(e,n){for(var t=0;t0&&!Object(Yt.isNullOrUndefined)(s.items[s.items.length-1])?s.items[s.items.length-1]:null;if(null!==y&&y.sampleStart+y.sampleDur===Math.round(Number(f))&&(c=f),d>0){var _=new Ol(p,Math.round(c*b),Math.round(d*b),[new Cl(g,"")]);c+=d,s.items.push(_),d=0,p++}var w=[];w.push(new Cl(g,m));var S=new Ol(p,Math.round(c*b),Math.round(length*b),w);s.items.push(S),c+=length,p++}else d+=length}t.levels.push(s)}return{annotjson:t,audiofile:null}}console.error("filenames for .Table extension does not match!")}return null},n}(Nl),Xl=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])};return function(n,t){function l(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}}(),Hl=function(e){function n(){var n=e.call(this)||this;return n._application="CTM",n._name="CTM",n._extension=".ctm",n._website.title="",n._website.url="",n._conversion.export=!1,n._conversion.import=!0,n._encoding="UTF-8",n}return Xl(n,e),n.prototype.export=function(e,n){var t="",l="";if(!Object(Yt.isNullOrUndefined)(e)){for(var i=0;i0){var d=new Ol(a+1,0,u*c,[new Cl("Tier_1","")]);o.items.push(d)}var p=[];p.push(new Cl("Tier_1",s[4]));var h=new Ol(a+1,Math.round(u*c),Math.round(length*c),p);if(o.items.push(h),a===i.length-2&&u+length\nsize = "+r+"\n"}(t),t+="item []: \n";for(var o=0;o14&&al.contains(r[0],'File type = "ooTextFile"')&&al.contains(r[1],'Object class = "TextGrid"')){var u=0;if("item []: "===r[7])for(var a=8;a100&&(a=a.substr(0,100)+"...");var s=new Xt.j;s.params=u,s.headers=new Xt.d,s.headers.set("Authorization",i);var c=n,d={project:{id:1},category:"General",summary:a,description:t.description,additional_information:"Email: "+t.email,os:c.system.os.name,os_build:c.system.os.version,platform:c.system.browser,version:c.octra.version};return r&&(d.additional_information+="\n\n"+o),e.post(l,JSON.stringify(d),s)},n.prototype.getTest=function(e,n,t){var l=new Xt.m,i=new Xt.j;l.set("id","10"),i.params=l,i.headers=new Xt.d,i.headers.set("Authorization",t);return e.get(n,i)},n.prototype.getText=function(e){var n="";for(var t in e)if(e.hasOwnProperty(t)){if(Object(Jl.isArray)(e[t])||"object"!=typeof e[t]){if(Object(Jl.isArray)(e[t])){n+=t+"\n",n+="---------\n";for(var l=0;l0?o[1]+"."+o[3]:e,ql.decodeAudio(u,i,hi.audioformats).then(function(e){n.registerAudioManager(e),Rl.log("Audio (Length: "+e.ressource.size+") loaded. Decode now..."),n.afterloaded.emit({status:"success"}),t({})})},function(e){l(e)})}}return Object.defineProperty(e.prototype,"audiomanagers",{get:function(){return this._audiomanagers},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"loaded",{get:function(){return this._loaded},enumerable:!0,configurable:!0}),e.prototype.registerAudioManager=function(e){Object(Yt.isNullOrUndefined)(this._audiomanagers.find(function(n){return n.ressource.name===e.ressource.name}))&&this._audiomanagers.push(e)},e.prototype.extractData=function(e){return e.arrayBuffer()},e.prototype.handleError=function(e){var n=e;return console.error(n),zl.Observable.throw(n)},e.prototype.destroy=function(e){void 0===e&&(e=!0);for(var n=0;n0){var i=[];for(var l in n)if(!Object(Yt.isNullOrUndefined)(n[l])&&n.hasOwnProperty(l)){var r=n[l];i.push(new bi(l,r))}return i}}return[]},e.prototype.cloneShortcuts=function(e){var n={};for(var t in e)e.hasOwnProperty(t)&&(n[""+t]={keys:{mac:e[t].keys.mac,pc:e[t].keys.pc},title:e[t].title,focusonly:e[t].focusonly});return n},e.prototype.register=function(e,n){return this.getShortcuts(e)||this.shortcuts.push({identifier:e,shortcuts:this.cloneShortcuts(n)}),this.getShortcuts(e)},e.prototype.unregister=function(e){if(this.shortcuts.length>0){for(var n=-1,t=0;t0&&this.shortcuts.splice(n,1)}},e.prototype.getShortcuts=function(e){for(var n=0;n=0;u--)(i=e[u])&&(o=(r<3?i(o):r>3?i(n,t,o):i(n,t))||o);return r>3&&o&&Object.defineProperty(n,t,o),o},wi=this&&this.__metadata||function(e,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,n)},Si=function(){function e(e,n,t){this.id=e,this.level=n,this.sortorder=t}return e}(),ki=function(){function e(e,n){this.id=e,this.link=n}return e}(),Oi=function(){function e(e,n){var t=this;this.sessStr=e,this.localStr=n,this._idbloaded=!1,this._loaded=new Wt.EventEmitter,this._submitted=null,this._feedback=null,this._logs=[],this._data_id=null,this._audio_url=null,this._uselocalmode=null,this._sessionfile=null,this._language="en",this._version=null,this._interface=null,this._logging=!1,this._user=null,this._easymode=!1,this._comment="",this._annotation=null,this._annotation_links=null,this.saving=new Wt.EventEmitter,this._levelcounter=0,this.beginLocalSession=function(e,n,l,i){if(!Object(Yt.isNullOrUndefined)(e)){for(var r,o=0;oe){var t=this._annotation[e].id;return this._annotation[e].level=n,this.idb.save("annotation_levels",t,this._annotation[e])}return new Promise(function(e,n){n(new Error("number of level that should be changed is invalid"))})},e.prototype.addAnnotationLevel=function(e){return Object(Yt.isNullOrUndefined)(e)?new Promise(function(e,n){n(new Error("level is undefined or null"))}):(this._annotation.push({id:++this._levelcounter,level:e,sortorder:this._annotation.length}),this.idb.save("annotation_levels",this._levelcounter,{id:this._levelcounter,level:e}))},e.prototype.removeAnnotationLevel=function(e,n){var t=this;return!Object(Yt.isNullOrUndefined)(name)&&e-1&&(t._filename=t._filename.substr(t._filename.indexOf("src=")+4)),e.loadAudio(l,function(){Rl.log("Audio loaded."),t.audioloaded.emit({status:"success"})},function(e){t._log+="Loading audio file failed
"})}},this.triggerSettingsLoaded=function(){t.validated&&(t.loaded=!0,t.test.next(!0))},this.subscrmanager=new ol}return Object.defineProperty(e.prototype,"log",{get:function(){return this._log},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filename",{get:function(){return this._filename},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"guidelines",{get:function(){return this._guidelines},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tidyUpMethod",{get:function(){return this._tidyUpMethod},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validationmethod",{get:function(){return this._validationmethod},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this._projectsettings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"loaded",{get:function(){return this._loaded},set:function(e){this._loaded=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validated",{get:function(){return this.validation.app},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"app_settings",{get:function(){return this._app_settings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"responsive",{get:function(){return Object(Yt.isNullOrUndefined)(this.projectsettings)||Object(Yt.isNullOrUndefined)(this.projectsettings.responsive)?this.app_settings.octra.responsive:this.projectsettings.responsive},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"allloaded",{get:function(){return!Object(Yt.isNullOrUndefined)(this.projectsettings)},enumerable:!0,configurable:!0}),e.prototype.getApplicationSettings=function(){var e=this;this.subscrmanager.add(this.app_settingsloaded.subscribe(this.triggerSettingsLoaded)),this.loadSettings({loading:"Load application settings..."},{json:"./config/appconfig.json",schema:"./schemata/appconfig.schema.json"},{json:"appconfig.json",schema:"appconfig.schema.json"},function(n){e._app_settings=n.json()},function(){Rl.log("AppSettings loaded."),e.validation.app=!0,e.app_settingsloaded.emit(!0)})},e.prototype.validate=function(e,n){for(var t in n)if(n.hasOwnProperty(t)){var l=e.validate(t,n[""+t]);if(!l.success)return console.error(l.error),!1}return!0},e.prototype.destroy=function(){this.subscrmanager.destroy()},e.prototype.clearSettings=function(){this._guidelines=null,this._projectsettings=null,this._validationmethod=null,this._tidyUpMethod=null},e.prototype.validateJSON=function(e,n,t){if(!Object(Yt.isNullOrUndefined)(n)&&!Object(Yt.isNullOrUndefined)(t)){var l=new Ajv,i=l.compile(t);if(i(n))return!0;for(var r in i.errors)if(i.errors.hasOwnProperty(r)){var o=i.errors[""+r];Rl.err("JSON Validation Error ("+e+"): "+o.dataPath+" "+o.message)}}return!1},e.prototype.loadSettings=function(e,n,t,l,i){var r=this;if(!(e.hasOwnProperty("loading")&&n.hasOwnProperty("json")&&n.hasOwnProperty("schema")&&t.hasOwnProperty("json")&&t.hasOwnProperty("schema")))throw new Error("parameters of loadSettings() are not correct.");Rl.log(e.loading),this.subscrmanager.add(al.uniqueHTTPRequest(this.http,!1,null,n.json,null).subscribe(function(e){l(e),r.subscrmanager.add(al.uniqueHTTPRequest(r.http,!1,null,n.schema,null).subscribe(function(n){Rl.log(t.json+" schema file loaded");var l=n.json(),o=e.json();r.validateJSON(t.json,o,l)&&i()},function(){console.error(t.schema+" could not be loaded!")}))},function(e){r._log+="Loading "+t.json+" failed
"}))},e.ctorParameters=function(){return[{type:Xt.e},{type:Oi}]},e}(),Mi=function(){function e(e){this._languages=e}return Object.defineProperty(e.prototype,"languages",{get:function(){return this._languages},enumerable:!0,configurable:!0}),e}(),Ti=function(){function e(e){switch(e){case"radiobutton":this._type="radiobutton";break;case"checkbox":this._type="checkbox";break;case"textarea":this._type="textarea";break;default:console.error("type '${type}' not valid control type for the feedback form")}}return Object.defineProperty(e.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),e}(),Ni=function(){function e(e,n,t,l,i){this._value=e,this._label=n,this._required=t,this._type=l,this._custom=i}return Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this._label},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"custom",{get:function(){return this._custom},set:function(e){this._custom=e},enumerable:!0,configurable:!0}),e.fromAny=function(n){return new e(n.value,new Mi(n.label),n.required,new Ti(n.type),n.custom)},e.prototype.toAny=function(){return{value:this._value,label:this._label,required:this._required,type:this._type.type,custom:this._custom}},e}(),Ii=function(){function e(e,n,t){this._title=e,this._name=n,this._controls=t,this._required=!1;for(var l=0;l0&&""===l.items[i].labels[0].name&&(l.items[i].labels[0].name=l.name);e.levels.push(l)}return e},e}(),Di=function(){function e(e,n,t,l){switch(this._name=n,this._id=e,t){case"EVENT":this.type=cl.EVENT;break;case"ITEM":this.type=cl.ITEM;break;case"SEGMENT":this.type=cl.SEGMENT}Object(Yt.isNullOrUndefined)(l)||(this.segments=l)}return Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},set:function(e){this._name=e},enumerable:!0,configurable:!0}),e.fromObj=function(n,t,l){var i=null,r=[],o=[];if("SEGMENT"===n.level.type){var u=n.level.items;i=new Pl(t,u,l)}else"ITEM"===n.level.type?o=n.level.items:"EVENT"===n.level.type&&(r=n.level.items);var a=new e(n.id,n.level.name,n.level.type,i);return a.items=o,a.events=r,a},e.prototype.getObj=function(){var e=null;return this.type===cl.SEGMENT?e=new Sl(this._name,this.getTypeString(),this.segments.getObj(this._name)):this.type===cl.ITEM?e=new Sl(this._name,this.getTypeString(),this.items):this.type===cl.EVENT&&(e=new Sl(this._name,this.getTypeString(),this.events)),this.type.toString(),e},e.prototype.getTypeString=function(){switch(this.type){case cl.EVENT:return"EVENT";case cl.ITEM:return"ITEM";case cl.SEGMENT:return"SEGMENT"}},e.prototype.clone=function(){return new e(++e.counter,this.name+"_2",this.getTypeString(),this.segments.clone())},e}();Di.counter=1;var Li,Ui=function(){function e(e,n,t,l,i,r,o,u){this.version=e,this.encoding=n,this.projectname=t,this.lastupdate=l,this.duration=o,this.samplerate=r,this.audiofile=i,this.logs=u}return e.prototype.getObj=function(){return JSON.parse(JSON.stringify(this.logs))},e}(),zi=function(){function e(e,n,t,l,i,r){this.timestamp=e,this.type=n,this.target=t,this.value=l,this.playerpos=i,this.caretpos=r}return e}(),Fi=function(){function e(e,n,t,l,i){var r=this;this.audio=e,this.appStorage=n,this.uiService=t,this.navbarServ=l,this.settingsService=i,this.dataloaded=new Wt.EventEmitter,this.segmentrequested=new Wt.EventEmitter,this.saving=!1,this.filename="",this._break_marker=null,this.state="ANNOTATED",this._selectedlevel=0,this._statistic={transcribed:0,empty:0,pause:0},this.levelchanged=new Wt.EventEmitter,this.saveSegments=function(){r.saving||(r.saving=!0,setTimeout(function(){r.appStorage.save("annotation",{num:r._selectedlevel,level:r._annotation.levels[r._selectedlevel].getObj()}),r.saving=!1},2e3))},this.endTranscription=function(e){void 0===e&&(e=!0),r.audio.destroy(e),r.destroy()},this.subscrmanager=new ol,this.subscrmanager.add(this.navbarServ.onexportbuttonclick.subscribe(function(e){"text"===e.format?r.navbarServ.exportformats.text=r.getTranscriptString(new Dl):"annotJSON"===e.format&&(r.navbarServ.exportformats.annotJSON=r.getTranscriptString(new El))}))}return Object.defineProperty(e.prototype,"audiomanager",{get:function(){return this._audiomanager},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedlevel",{get:function(){return this._selectedlevel},set:function(e){e>-1&&e0&&(r=this.currentlevel.segments.get(l-1).time.samples);var o={start:r,length:i.time.samples-r,text:i.transcript};t.push(o)}e.transcript=t}return e},e.prototype.destroy=function(){this.subscrmanager.destroy(),this._segments=null,this._last_sample=null,this._guidelines=null,this.saving=!1,this.filename="",this._feedback=null,this._break_marker=null,this.state="ANNOTATED",this._statistic={transcribed:0,empty:0,pause:0},this.uiService.elements=[]},e.prototype.extractUI=function(e){var n=new Date,t=new Ui("1.0","UTF-8",Object(Yt.isNullOrUndefined)(this.appStorage.user.project)||""===this.appStorage.user.project?"local":this.appStorage.user.project,n.toUTCString(),this._annotation.audiofile.name,this._annotation.audiofile.samplerate,this._annotation.audiofile.duration,[]);if(e)for(var l=0;l-1?this._statistic.pause++:this._statistic.transcribed++:this._statistic.empty++}},e.prototype.rawToHTML=function(e){var n=e;return n=this.replaceMarkersWithHTML(n),""!==e&&(n=n.replace(/\s+$/g," "),n=""!==n?""+n:""),n},e.prototype.replaceMarkersWithHTML=function(e){for(var n=e,t=0;t")}return n},e.prototype.underlineTextRed=function(e,n){var t=e,l=[];if(n.length>0){for(var i=0;i"},l.push(t)):t.puffer+="
";var i=l.find(function(t){return t.start===n[e].start+n[e].length});Object(Yt.isNullOrUndefined)(i)?(i={start:t.start+n[e].length,puffer:""},i.puffer="
",l.push(i)):i.puffer="
"+i.puffer}(i);l=l.sort(function(e,n){return e.start===n.start?0:e.startn.start?1:void 0});for(var r="",o=0;o"+e+"

";var t=jQuery(e),l=function(e,t){if(null!==jQuery(t).children()&&jQuery(t).children().length>0)jQuery.each(jQuery(t).children(),l);else{var i=jQuery(t).attr("data-marker-code");if("select-one"===t.type){i+="="+jQuery(t).attr("data-value")}if(i)for(var r=0;r0)break;return{success:!1,error:t+"value of key '"+e+"' must be of type number greater 0"};case"margin":if("object"==typeof n&&"number"==typeof n.top&&"number"==typeof n.right&&"number"==typeof n.bottom&&"number"==typeof n.left)break;return{success:!1,error:t+"value of key '"+e+"' must be an object with attributes {top:number,right:number,bottom:number,left:number}"};case"slider":if("object"==typeof n&&"string"==typeof n.color&&"number"==typeof n.height&&n.height>-1)break;return{success:!1,error:t+"value of key '"+e+"' must an object of {color:string, height:number}"};case"cursor":if("object"==typeof n&&"string"==typeof n.color)break;return{success:!1,error:t+"value of key '"+e+"' must an object of {color:string}"};case"playcursor":if("object"==typeof n&&"number"==typeof n.height&&"number"==typeof n.width&&"string"==typeof n.color)break;return{success:!1,error:t+"value of key '"+e+"' must be an object with attributes {height:number,width:number}"};case"colors":if("object"==typeof n&&"string"==typeof n.gridcolor&&"string"==typeof n.datacolor&&"string"==typeof n.selectioncolor&&"string"==typeof n.textcolor&&"string"==typeof n.backgroundcolor&&"string"==typeof n.slidercolor&&"string"==typeof n.cursorcolor&&"string"==typeof n.playcursorcolor)break;return{success:!1,error:t+"value of key '"+e+"' must be an object with attributes { gridcolor:string, datacolor:string, selectioncolor : string, textcolor:string, backgroundcolor: string, slidercolor: string, cursorcolor:string, playcursorcolor: string}"};case"shortcuts":if("object"==typeof n){var l=0;for(var i in n)if(l++,!n[""+i].hasOwnProperty("keys")||!n[""+i].hasOwnProperty("title")||!n[""+i].hasOwnProperty("focusonly"))return{success:!1,error:t+"value of key '"+e+"' must be an object of shortcuts. Compare custom config with sample config"};break}break;case"set_boundaries":if("boolean"!=typeof n)return{success:!1,error:t+"value of key '"+e+"' must be of type boolean"};break;default:return{success:!1,error:t+"key '"+e+"' not found"}}return{success:!0,error:""}},n}(jl),Ki=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])};return function(n,t){function l(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}}(),$i=function(e){function n(n){var t=e.call(this)||this;return t.audio=n,t.drag_playcursor=!1,t._settings=(new Vi).Settings,t.validateConfig(),t}return Ki(n,e),Object.defineProperty(n.prototype,"Settings",{get:function(){return this._settings},set:function(e){this._settings=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"Line",{get:function(){return this.last_line},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"LastLine",{get:function(){return this.last_line},enumerable:!0,configurable:!0}),n.prototype.initialize=function(e){this.audio_px_w=e,this.playcursor=new vl(0,new Jt(0,this.audiomanager.ressource.info.samplerate),e),this.initializeLine(this.audio_px_w,this._settings.height)},n.prototype.setMouseMovePosition=function(n,t,l,i,r){e.prototype.setMouseMovePosition.call(this,n,t,l,i,r),this.mouse_down&&this.drag_playcursor&&(this.PlayCursor.changeAbsX(t-this._settings.margin.left,this.audioTCalculator,this.audio_px_w,this.audiochunk),this.audiochunk.playposition=this.PlayCursor.time_pos.clone()),"mouseleave"===n&&(this.drag_playcursor=!1)},n.prototype.setMouseClickPosition=function(n,t,l,i,r){e.prototype.setMouseClickPosition.call(this,n,t,l,i,r),null===this.last_line||this.last_line===l?"mousedown"===i.type?(null!==this.last_line&&this.last_line.number!==this.last_line.number||(nthis.PlayCursor.absX+5||(this.drag_playcursor=!0),this.mouse_click_pos.line=l,this.mouse_click_pos.absX=this.getAbsXByLine(l,n-l.Pos.x,r),this.audiochunk.playposition.samples=this.mouse_click_pos.timePos.samples),this.mouse_down=!0):"mouseup"===i.type&&(this.mouse_down=!1,this.drag_playcursor=!1,this.PlayCursor.changeAbsX(n-this._settings.margin.left,this.audioTCalculator,this.audio_px_w,this.audiochunk),this.audiochunk.startpos=this.PlayCursor.time_pos.clone()):"mouseup"===i.type&&(this.mouse_down=!1,this.drag_playcursor=!1,this.PlayCursor.changeAbsX(n-this._settings.margin.left,this.audioTCalculator,this.audio_px_w,this.audiochunk),this.audiochunk.startpos.samples=this.audioTCalculator.absXChunktoSamples(this.PlayCursor.absX,this.audiochunk))},n.prototype.updateLines=function(e){this.audio_px_w=e;var n=e,t=this.last_line;t?(t.number=0,t.Size={width:n,height:this._settings.height}):this.initializeLine(n,this._settings.height)},n.prototype.initializeLine=function(e,n){var t={height:n,width:e},l={x:this._settings.margin.left,y:this._settings.margin.top};this.last_line=new fl(0,t,l)},n.prototype.getAbsXByLine=function(e,n,t){return e.number*t+n},n.prototype.init=function(e,n){this.AudioPxWidth=e,this.audiochunk=n,this.initialize(e),this.audioTCalculator=new Zt(this.audiomanager.ressource.info.samplerate,this.audiochunk.time.duration,this.AudioPxWidth),this.Mousecursor=new el(0,0,0,new Jt(0,this.audiomanager.ressource.info.samplerate)),this.MouseClickPos=new el(0,0,0,new Jt(0,this.audiomanager.ressource.info.samplerate))},n.prototype.validateConfig=function(){var e=new qi,n=e.validateObject(this._settings);if(!n.success)throw n.error},n.ctorParameters=function(){return[{type:fi}]},n}(gi),Xi=function(){function e(e,n,t,l){var i=this;this.audio=e,this.ap=n,this.changeDetectorRef=t,this.keyMap=l,this.shortcuttriggered=new Wt.EventEmitter,this.graphicscanvas=null,this.overlaycanvas=null,this.playcanvas=null,this.context=null,this.timer=null,this.width=0,this.height=0,this.innerWidth=0,this.oldInnerWidth=0,this.mouseclick_obj={clicked:!1,x:0,y:0,curr_line:null,event:null},this.focused=!1,this.update=function(){i.updateCanvasSizes(),i.audiochunk.channel&&(i.draw(),i.drawPlayCursor()),i.oldInnerWidth=i.innerWidth},this.draw=function(){var e=this.ap.Line;if(!e)throw new Error("Line Object not found");this.clearDisplay(),this.drawLine(),this.drawPlayCursorOnly(e)},this.onKeyDown=function(e){if(i.settings.shortcuts_enabled){var n=e.comboKey,t=nl.platform;if(i.settings.shortcuts){var l=!1,r=0;for(var o in i.settings.shortcuts)if(r++,i.settings.shortcuts.hasOwnProperty(o)){var u=!1===i.settings.shortcuts[""+o].focusonly||i.settings.shortcuts[""+o].focusonly===i.focused==!0;if(u&&i.settings.shortcuts[""+o].keys[""+t]===n)switch(o){case"play_pause":i.shortcuttriggered.emit({shortcut:n,value:o}),i.audiochunk.isPlaying?i.pausePlayback():i.startPlayback(),l=!0;break;case"stop":i.shortcuttriggered.emit({shortcut:n,value:o}),i.stopPlayback(),l=!0;break;case"step_backward":i.shortcuttriggered.emit({shortcut:n,value:o}),i.stepBackward(),l=!0;break;case"step_backwardtime":i.shortcuttriggered.emit({shortcut:n,value:o}),i.stepBackwardTime(.5),l=!0}if(l)break}l&&e.event.preventDefault()}}},this.onAudioChunkStateChanged=function(){i.audiochunk.isPlaybackEnded&&i.audiomanager.replay&&i.playSelection(),i.audiochunk.isPlayBackStopped&&i.audiomanager.stepbackward&&(i.ap.PlayCursor.changeSamples(i.audiochunk.playposition.samples,i.ap.audioTCalculator,i.audiochunk),i.startPlayback(!0)),i.audiochunk.isPlayBackStopped&&i.mouseclick_obj.clicked&&(i.mouseclick_obj.clicked=!1,i.ap.setMouseClickPosition(i.mouseclick_obj.x,i.mouseclick_obj.y,i.mouseclick_obj.curr_line,i.mouseclick_obj.event,i.innerWidth),setTimeout(function(){i.startPlayback(!1)},200)),i.audiomanager.stepbackward=!1,i.audiomanager.paused=!1,i.drawPlayCursor()},this.drawPlayCursor=function(){var e=i.ap.audioTCalculator.samplestoAbsX(i.audiochunk.playposition.samples);i.changePlayCursorAbsX(e);var n=i.ap.Line;n&&i.drawPlayCursorOnly(n)},this.subscrmanager=new ol,this.subscrmanager.add(this.keyMap.onkeydown.subscribe(this.onKeyDown))}return Object.defineProperty(e.prototype,"settings",{get:function(){return this.ap.Settings},set:function(e){this.ap.Settings=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"current_time",{get:function(){return this.audiochunk.playposition.unix},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audiomanager",{get:function(){return this.audiochunk.audiomanager},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audioressource",{get:function(){return this.audiomanager.ressource},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.anim=new ll(25),this.timer=zl.Observable.timer(0,200),this.subscrmanager.add(this.audiochunk.statechange.subscribe(function(n){e.onAudioChunkStateChanged()}))},e.prototype.ngAfterViewInit=function(){this.graphicscanvas=this.graphicscanRef.nativeElement,this.playcanvas=this.playcanRef.nativeElement,this.overlaycanvas=this.overlaynacRef.nativeElement,this.width=this.apview.elementRef.nativeElement.clientWidth,this.innerWidth=this.width-this.settings.margin.left-this.settings.margin.right,this.oldInnerWidth=this.innerWidth,this.ap.init(this.innerWidth,this.audiochunk),this.update(),this.startTimer()},e.prototype.ngOnChanges=function(e){if(e.hasOwnProperty("audiochunk")){var n=e.audiochunk.previousValue,t=e.audiochunk.currentValue;e.audiochunk.firstChange||(Object(Yt.isNullOrUndefined)(n)&&!Object(Yt.isNullOrUndefined)(t)||t.time.start.samples!==n.time.start.samples&&t.time.end.samples!==n.time.end.samples)&&(this.ap.init(this.innerWidth,this.audiochunk),this.update())}},e.prototype.ngOnDestroy=function(){this.stopPlayback(),this.subscrmanager.destroy()},e.prototype.updateCanvasSizes=function(){this.width=Number(this.apview.elementRef.nativeElement.clientWidth),this.innerWidth=Number(this.width-this.settings.margin.left-this.settings.margin.right),this.height=this.settings.margin.top+this.settings.height+this.settings.margin.bottom,this.graphicscanvas.width=this.width,this.overlaycanvas.width=this.width,this.playcanvas.width=this.width,this.graphicscanvas.height=this.height,this.overlaycanvas.height=this.height,this.playcanvas.height=this.height,this.apview.changeStyle("height",this.height.toString()+"px"),this.ap.updateLines(this.innerWidth)},e.prototype.drawLine=function(){this.context=this.graphicscanvas.getContext("2d"),this.context.globalAlpha=1,this.context.fillStyle=this.settings.slider.color;var e=this.settings.margin.left,n=this.settings.height,t=Math.round(n/2)-this.settings.slider.height/2;this.context.fillRect(e,t,this.innerWidth,this.settings.slider.height),this.context.stroke()},e.prototype.clearDisplay=function(){var e=this.playcanvas,n=this.overlaycanvas,t=this.ap.Line;if(!t)throw new Error("Line Object not found");this.context=this.playcanvas.getContext("2d"),this.context.clearRect(t.Pos.x-1,t.Pos.y-1,this.innerWidth+1,t.Size.height+1),this.context=n.getContext("2d"),this.context.globalAlpha=1,this.context.clearRect(t.Pos.x-1,t.Pos.y-1,this.innerWidth+1,t.Size.height+1),this.context.strokeStyle=this.settings.cursor.color,this.context=e.getContext("2d"),this.context.globalAlpha=1,this.context.clearRect(t.Pos.x-1,t.Pos.y-1,this.innerWidth+1,t.Size.height+1),this.context.strokeStyle=this.settings.playcursor.color,this.context=this.graphicscanvas.getContext("2d"),this.context.globalAlpha=1,this.context.strokeStyle=this.settings.framecolor,this.context.fillStyle=this.settings.backgroundcolor,this.context.fillRect(0,0,this.width,this.height)},e.prototype.onMouseMove=function(e){var n=e.offsetX,t=e.offsetY,l=this.ap.LastLine;l&&(this.ap.setMouseMovePosition(e.type,n,t,l,this.innerWidth),this.drawPlayCursorOnly(l))},e.prototype.onClick=function(e){var n=e.offsetX,t=e.offsetY,l=this.ap.Line;l&&(this.audiochunk.isPlaying?(this.mouseclick_obj.clicked=!0,this.mouseclick_obj.x=n,this.mouseclick_obj.y=t,this.mouseclick_obj.curr_line=l,this.mouseclick_obj.event=e,this.audiochunk.stopPlayback()):this.ap.setMouseClickPosition(n,t,l,e,this.innerWidth),this.drawPlayCursorOnly(l))},e.prototype.playSelection=function(){var e=this,n=function(){e.audiochunk.updatePlayPosition(),e.anim.requestFrame(e.drawPlayCursor)};return this.audiochunk.startPlayback(n)},e.prototype.stopPlayback=function(){this.audiochunk.stopPlayback()},e.prototype.pausePlayback=function(){this.audiochunk.pausePlayback()},e.prototype.startPlayback=function(e){return void 0===e&&(e=!0),!this.audiochunk.isPlaying&&this.playSelection()},e.prototype.startTimer=function(){var e=this;this.subscrmanager.add(this.timer.subscribe(function(){e.audioressource.audiobuffer&&e.ap.PlayCursor&&e.changeDetectorRef.markForCheck()}))},e.prototype.rePlayback=function(){return this.audiochunk.rePlayback()},e.prototype.stepBackward=function(){this.audiochunk.stepBackward()},e.prototype.stepBackwardTime=function(e){this.audiochunk.stepBackwardTime(e)},e.prototype.drawPlayCursorOnly=function(e){var n=this.ap.PlayCursor.absX+this.settings.margin.left,t=Math.round((e.Size.height-this.settings.playcursor.height)/2);n<=e.Size.width+this.settings.margin.left&&(this.context=this.playcanvas.getContext("2d"),this.context.clearRect(0,0,this.width,this.height),this.context.strokeStyle=this.settings.playcursor.color,this.context.beginPath(),this.context.moveTo(n,t+1),this.context.lineTo(n,t+this.settings.playcursor.height),this.context.globalAlpha=1,this.context.lineWidth=this.settings.playcursor.width,this.context.stroke())},e.prototype.changePlayCursorAbsX=function(e){this.ap.PlayCursor.changeAbsX(e,this.ap.audioTCalculator,this.ap.AudioPxWidth,this.audiochunk)},e.prototype.onResize=function(e){this.width=this.apview.elementRef.nativeElement.clientWidth,this.innerWidth=this.width-this.settings.margin.left-this.settings.margin.right;this.innerWidth,this.oldInnerWidth;if(this.ap.PlayCursor){var n=new Zt(this.audioressource.info.samplerate,this.audiochunk.time.duration,this.innerWidth);Rl.log(""+this.audiochunk.playposition.samples),this.ap.audioTCalculator=n,this.ap.PlayCursor.changeSamples(this.audiochunk.playposition.samples,n),this.update()}},e.prototype.onReload=function(e){this.subscrmanager.destroy()},e.ctorParameters=function(){return[{type:fi},{type:$i},{type:Wt.ChangeDetectorRef},{type:vi}]},e}(),Hi=function(){function e(e,n){this.elementRef=e,this.renderer=n}return e.prototype.changeStyle=function(e,n){this.renderer.setElementStyle(this.elementRef.nativeElement,e,n)},e.ctorParameters=function(){return[{type:Wt.ElementRef},{type:Wt.Renderer}]},e}(),Qi=function(){function e(){this.multi_line=!1,this.pixel_per_sec=200,this.justify_signal_height=!0,this.cropping="none",this.lineheight=150,this.backgroundcolor="rgb(255, 248, 248)",this.margin={top:0,right:0,bottom:0,left:0},this.cursor={color:"rgb(255, 0, 0)"},this.playcursor={height:20,width:10,color:"purple"},this.boundaries={enabled:!0,readonly:!1,width:3,color:"rgb(160, 160, 0)"},this.grid={enabled:!0,color:"rgb(224, 224, 224)"},this.data={color:"rgb(0, 127, 0)"},this.selection={enabled:!0,color:"gray"},this.frame={color:"rgb(0, 0, 0)"},this.shortcuts_enabled=!0,this.shortcuts={play_pause:{keys:{mac:"TAB",pc:"TAB"},focusonly:!1,title:"play pause"},stop:{keys:{mac:"ESC",pc:"ESC"},focusonly:!1,title:"stop playback"},set_boundary:{keys:{mac:"S",pc:"S"},focusonly:!0,title:"set segment"},set_break:{keys:{mac:"P",pc:"P"},focusonly:!0,title:"set break"},play_selection:{keys:{mac:"C",pc:"C"},focusonly:!0,title:"play selection"},step_backward:{keys:{mac:"SHIFT + BACKSPACE",pc:"SHIFT + BACKSPACE"},focusonly:!1,title:"step backward"},step_backwardtime:{keys:{mac:"SHIFT + TAB",pc:"SHIFT + TAB"},title:"step backward time",focusonly:!1},segment_enter:{keys:{mac:"ENTER",pc:"ENTER"},focusonly:!0,title:"transcribe segment"},cursor_left:{keys:{mac:"ARROWLEFT",pc:"ARROWLEFT"},focusonly:!0,title:"move cursor left"},cursor_right:{keys:{mac:"ARROWRIGHT",pc:"ARROWRIGHT"},focusonly:!0,title:"move cursor right"},playonhover:{keys:{mac:"H",pc:"H"},focusonly:!0,title:"play audio on hover"}},this.disabled_keys=["SHIFT + SPACE"],this.timeline={enabled:!1,height:15,fontSize:9,fontWeight:"light",font:"Arial",foreColor:"black"},this.step_width_ratio=.0226,this.scrollable=!1,this.round_values=!0}return e}(),Gi=function(){function e(e){this.functions=e;var n=(Date.now(),URL.createObjectURL(new Blob([this.getFunctionsString()],{type:"application/javascript"})));this.worker=new Worker(n);Date.now()}return e.prototype.run=function(e,n){var t=this;Date.now();return new Promise(function(l,i){null!==t.hasFunction(e)?(t.worker.onmessage=function(e){l(e)},t.worker.onerror=function(e){i(e)},t.worker.postMessage({do:e,args:n})):i(new Error("Function does not exist in Taskmanager's list of functions"))})},e.prototype.destroy=function(){URL.revokeObjectURL(this.bloburl)},e.prototype.hasFunction=function(e){for(var n=0;n0?(this.audioTCalculator=new Zt(this.audiomanager.ressource.info.samplerate,this.audiochunk.time.duration,this.AudioPxWidth),this.Mousecursor=new el(0,0,0,new Jt(0,this.audiomanager.ressource.info.samplerate)),this.MouseClickPos=new el(0,0,0,new Jt(0,this.audiomanager.ressource.info.samplerate)),this.PlayCursor=new vl(0,new Jt(0,this.audiomanager.ressource.info.samplerate),n),this.afterChannelInititialized(n)):new Promise(function(e,n){console.error("audio px is 0."),e()})},n.prototype.calculateZoom=function(e,n,t){if(this.Settings.justify_signal_height){for(var l=0,i=0,r=this.Settings.timeline.enabled?this.Settings.timeline.height:0,o=e/2,u=this.AudioPxWidth,a=0;a<=u&&(l=a,!isNaN(t[a]));a++)i=Math.max(i,t[a]),o=Math.min(o,t[a]);var s=e-r-(i+Math.abs(o));s=Math.floor(s-2),s>0&&(this._zoomY=s/(i+Math.abs(o))+1,this._zoomY=Math.floor(10*this._zoomY)/10,this._zoomX=n/l)}else this._zoomY=1},n.prototype.computeDisplayData=function(e,n,t){return this.taskmanager=new Gi([{name:"compute",do:function(e){var n=e[0],t=e[1],l=e[2],i=e[3];n=Math.floor(n);for(var r=[],o=l.length,u=0,a=0,s=0,c=0,d=0,p=o/n,h=t/2,f=0;fo?o:Math.round(c+p);for(var g=c;g-1){var s=this.transcrService.currentlevel.segments.get(this.dragableBoundaryNumber).clone(),c=u/this.audiomanager.ressource.info.samplerate,d=this.dragableBoundaryNumber>0?this.transcrService.currentlevel.segments.get(this.dragableBoundaryNumber-1):null,p=this.dragableBoundaryNumberp.time.seconds-.02&&(u=p.time.samples-Math.round(.02*this.audiomanager.ressource.info.samplerate)),s.time.samples=u,this.transcrService.currentlevel.segments.change(this.dragableBoundaryNumber,s),this.transcrService.currentlevel.segments.sort(),a=this.getBoundaryNumber(o),this.dragableBoundaryNumber=a}else this.mouse_down=!1;this.overboundary=a>-1},n.prototype.setMouseClickPosition=function(n,t,l,i,r,o){var u=this;return new Promise(function(a,s){e.prototype.setMouseClickPosition.call(u,n,t,l,i,r);var c=u.getAbsXByLine(l,n-l.Pos.x,r),d=u.audioTCalculator.absXChunktoSamples(c,u.audiochunk);if(u.audiomanager.audioplaying){if(u.audiochunk.isPlaying&&"mouseup"===i.type){var p=(u.audiochunk.playposition.clone(),u.subscrmanager.add(u.audiochunk.statechange.subscribe(function(e){e===rl.STOPPED&&(u.audiochunk.startpos=new Jt(d,u.audiomanager.ressource.info.samplerate),u.audiochunk.selection.end=u.audiochunk.playposition.clone(),u.drawnselection=null,u.PlayCursor.changeSamples(u.audiochunk.playposition.samples,u.audioTCalculator,u.audiochunk),o.drawSegments(),u.subscrmanager.remove(p))})));u.audiochunk.stopPlayback()}}else if(null===u.last_line||u.last_line===l)if("mousedown"!==i.type||u.shift_pressed){if("mouseup"===i.type){if(u.dragableBoundaryNumber>-1&&u.dragableBoundaryNumber-1&&u.dragableBoundaryNumber0&&!this.audiochunk.isPlaying)for(e=0;e=t-l&&this.transcrService.currentlevel.segments.get(e).time.samples<=t+l&&this.transcrService.currentlevel.segments.get(e).time.samples!==this.audiomanager.ressource.info.duration.samples){var i=this.transcrService.currentlevel.segments.get(e).time.samples;return this.transcrService.currentlevel.segments.removeByIndex(e,this.transcrService.break_marker.code),{type:"remove",seg_samples:i,msg:{type:"success",text:""}}}if((Object(Yt.isNullOrUndefined)(this.drawnselection)?0:this.drawnselection.length)>0&&t>=this.drawnselection.start.samples&&t<=this.drawnselection.end.samples){var r=this.transcrService.currentlevel.segments.BetweenWhichSegment(this.drawnselection.start.samples),o=this.transcrService.currentlevel.segments.BetweenWhichSegment(this.drawnselection.end.samples);return null===r&&null===o||r===o||""===r.transcript&&""===o.transcript?(this.drawnselection.start.samples>0&&this.transcrService.currentlevel.segments.add(this.drawnselection.start.samples),this.transcrService.currentlevel.segments.add(this.drawnselection.end.samples),{type:"add",seg_samples:this.drawnselection.start.samples,msg:{type:"success",text:""}}):{type:"add",seg_samples:this.drawnselection.start.samples,msg:{type:"error",text:this.langService.instant("boundary cannot set")}}}var u=this.transcrService.currentlevel.segments.BetweenWhichSegment(t),a=u.transcript;return u.transcript="",this.transcrService.currentlevel.segments.add(Math.round(t)),u=this.transcrService.currentlevel.segments.BetweenWhichSegment(t),u.transcript=a,{type:"add",seg_samples:-1,msg:{type:"success",text:""}}}return null},n.prototype.getSegmentSelection=function(e){var n=null,t=this.transcrService.currentlevel.segments,l=this.transcrService.currentlevel.segments.length;if(l>0)if(et.get(t.length-1).time.samples){var i=t.get(t.length-1).time.clone();n=new il(i,this.audiomanager.ressource.info.duration)}else for(var r=1;rt.get(r-1).time.samples&&e0)return u>-1&&u>=i?(a.start=o>-1&&o>=i?o-e.number*l:0,o<=r?(u>r?a.end=l:u<=r&&(a.end=u-e.number*l),a):{start:-3,end:-1}):{start:-1*o,end:-1*u}}},n.prototype.updateLines=function(e){if(this.Settings.multi_line){var n=Math.ceil(this.audio_px_w/e),t=Number(this.audio_px_w);if(nthis.Lines.length)for(var l=0;le?e:t,r=this.Lines[l];r?(r.number=l,r.Size={width:Number(i),height:Number(r.Size.height)},r.Pos=l>0?{x:Number(this.Lines[l-1].Pos.x),y:Number(this.Lines[l-1].Pos.y+this.Lines[l-1].Size.height+this.Settings.margin.bottom)}:{x:this.Settings.margin.left,y:this.Settings.margin.top}):this.addLine(l,i,this.Settings.lineheight),t-=e}}else{this.audio_px_w=e;var i=e,r=this.Lines[0];Object(Yt.isNullOrUndefined)(r)?this.addLine(0,i,this.Settings.lineheight):(r.number=0,r.Size={width:i,height:this.Settings.lineheight})}},n.prototype.getLineByAbsX=function(e,n){var t=Math.floor(e/n);return this.Lines[t]?this.Lines[t]:null},n.prototype.addLine=function(e,n,t){var l={height:t,width:n},i={x:this.Settings.margin.left,y:this.Settings.margin.top};i.y+=this.Lines.length>e-1&&!Object(Yt.isNullOrUndefined)(this.Lines[e-1])?this.Lines[e-1].Pos.y:0;var r=new fl(e,l,i);this.Lines.push(r)},n.prototype.getBoundaryNumber=function(e){for(var n=0;n=e-this.Settings.boundaries.width/2&&l<=e+this.Settings.boundaries.width/2)return n}return-1},n.prototype.moveCursor=function(e,n){var t=this.mousecursor.line;if(!(n>0))throw new Error("can not move cursor by given samples. Number of samples less than 0.");if(("left"===e||"right"===e)&&(this.mousecursor.timePos.samples>=this.audiochunk.time.start.samples+n&&"left"===e||this.mousecursor.timePos.samples<=this.audiochunk.time.end.samples-n&&"right"===e))if("left"===e){if(this.mousecursor.timePos.samples>=this.audiochunk.time.start.samples+n){this.mousecursor.timePos.samples-=n;var l=this.mousecursor.timePos.samples-this.audiochunk.time.start.samples,i=this.audioTCalculator.samplestoAbsX(l,this.audiochunk.time.duration);this.mousecursor.relPos.x=i%t.Size.width,this.mousecursor.line=this.getLineByAbsX(i,t.Size.width),this.last_line=this.mousecursor.line}}else if("right"===e&&this.mousecursor.timePos.samples<=this.audiochunk.time.end.samples-n){this.mousecursor.timePos.samples+=n;var l=this.mousecursor.timePos.samples-this.audiochunk.time.start.samples,i=this.audioTCalculator.samplestoAbsX(l,this.audiochunk.time.duration);this.mousecursor.relPos.x=i%t.Size.width,this.mousecursor.line=this.getLineByAbsX(i,t.Size.width),this.last_line=this.mousecursor.line}},n.prototype.destroy=function(){this.subscrmanager.destroy(),this.taskmanager.destroy()},n.prototype.initializeSettings=function(){this._settings=new Qi},n.prototype.refresh=function(){var e=this;return new Promise(function(n,t){e.computeDisplayData(e.AudioPxWidth/2,e.Settings.lineheight,e.channel).then(function(t){e._minmaxarray=t.data,n()}).catch(function(e){t(e)})})},n.ctorParameters=function(){return[{type:fi},{type:Fi},{type:vi},{type:Ht.c}]},n}(gi),Zi=function(){function e(e,n,t,l){var i=this;this.av=e,this.transcr=n,this.keyMap=t,this.langService=l,this.selchange=new Wt.EventEmitter,this.segmententer=new Wt.EventEmitter,this.segmentchange=new Wt.EventEmitter,this.mousecursorchange=new Wt.EventEmitter,this.playcursorchange=new Wt.EventEmitter,this.shortcuttriggered=new Wt.EventEmitter,this.alerttriggered=new Wt.EventEmitter,this.scrolling=new Wt.EventEmitter,this.scrollbarchange=new Wt.EventEmitter,this.margin={top:0,right:0,bottom:0,left:0},this.graphicscanvas=null,this.overlaycanvas=null,this.playcanvas=null,this.mousecanvas=null,this.g_context=null,this.p_context=null,this.o_context=null,this.m_context=null,this.scrollbar={dragging:!1,mouseover:!1},this.resizing=!1,this.updating=!1,this.audioplaying=!1,this.step_backward=!1,this.width=0,this.height=0,this._innerWidth=0,this.oldInnerWidth=0,this._initialized=!1,this._viewRect={x:0,y:0,w:0,h:0,lines:{start:0,end:0}},this._deactivate_shortcuts=!1,this.update=function(e){if(void 0===e&&(e=!1),i.AudioPxWidth>0){if(i.updateVisibleLines(),!i.updating){i.updating=!0;var n=function(){if(i.av.updateLines(i._innerWidth),i.av.LinesArray.length>0){for(var e=i._viewRect.lines.start;e<=i._viewRect.lines.end&&!Object(Yt.isNullOrUndefined)(i.av.LinesArray[e]);e++)i.clearDisplay(e),i.drawGrid(3,3,i.av.LinesArray[e]);i.drawSegments(),"none"!==i.Settings.cropping&&(i.av.Mousecursor.relPos.x=i._innerWidth/2,i.drawCropBorder()),i.Settings.timeline.enabled&&i.drawTimeLine();for(var e=i._viewRect.lines.start;e<=i._viewRect.lines.end&&i.drawSignal(e);e++);"none"!==i.Settings.cropping&&(i.av.Mousecursor.relPos.x=i._innerWidth/2,i.drawCropBorder()),i.Settings.selection.enabled&&(i.drawPlayCursor(),i.drawCursor(i.av.Mousecursor.line)),i._initialized=!0}else console.error("0 lines?")};Object(Yt.isNullOrUndefined)(i.av.channel)?console.error("audio channel is null"):e?i.av.refresh().then(function(){n()}).catch(function(e){console.error(e)}):n(),i.oldInnerWidth=i._innerWidth,i.updating=!1}}else console.error("audiopx 0")},this.drawSignal=function(e){var n=this.av.LinesArray[e],t=this.Settings.timeline.enabled?this.Settings.timeline.height:0;if(!Object(Yt.isNullOrUndefined)(n)){var l=Math.floor((this.Settings.lineheight-t)/2),i=e*this.innerWidth,r=this.av.zoomX,o=this.av.zoomY;if(this.g_context.strokeStyle=this.Settings.data.color,this.g_context.beginPath(),this.g_context.moveTo(n.Pos.x,n.Pos.y+l-this.av.minmaxarray[i]-this._viewRect.y),Object(Yt.isNullOrUndefined)(l)||Object(Yt.isNullOrUndefined)(n.Pos)||Object(Yt.isNullOrUndefined)(this.av.minmaxarray)||Object(Yt.isNullOrUndefined)(o)){if(Object(Yt.isNullOrUndefined)(l))throw Error("midline is null!");if(Object(Yt.isNullOrUndefined)(n.Pos))throw Error("Pos is null!");if(Object(Yt.isNullOrUndefined)(this.av.minmaxarray))throw Error("MinMax Array is null!");if(Object(Yt.isNullOrUndefined)(o))throw Error("ZoomY is null!")}else for(var u=0;u+i-1){var a=i.transcr.currentlevel.segments.getSegmentBySamplePosition(u),s=i.transcr.currentlevel.segments.get(a);a>-1&&(s.transcript!==i.transcr.break_marker.code?(s.transcript=i.transcr.break_marker.code,i.shortcuttriggered.emit({shortcut:n,value:"set_break",type:"segment"})):(s.transcript="",i.shortcuttriggered.emit({shortcut:n,value:"remove_break",type:"segment"})),i.update(!1),i.drawCursor(i.av.Mousecursor.line),i.transcr.currentlevel.segments.onsegmentchange.emit())}l=!0}break;case"play_selection":if(i.av.focused){i.shortcuttriggered.emit({shortcut:n,value:e,type:"audio"});var u=i.av.audioTCalculator.absXChunktoSamples(i.av.Mousecursor.absX,i.audiochunk),c=i.av.getSegmentSelection(i.av.Mousecursor.timePos.samples);if(c){var a=i.transcr.currentlevel.segments.getSegmentBySamplePosition(u);if(a>-1){var s=i.transcr.currentlevel.segments.get(a);if(i.transcr.currentlevel.segments.getStartTime(a).samples>=i.audiochunk.time.start.samples&&s.time.samples<=i.audiochunk.time.end.samples){var d=i.av.audioTCalculator.samplestoAbsX(i.transcr.currentlevel.segments.get(a).time.samples);i.audiochunk.selection=c.clone(),i.av.drawnselection=c.clone(),i.selchange.emit(i.audiochunk.selection),i.drawSegments();var p=new bl(new Jt(0,i.audioressource.info.samplerate));a>0&&(p=i.transcr.currentlevel.segments.get(a-1));var h=i.av.audioTCalculator.samplestoAbsX(p.time.samples),f=i._innerWidth=i.audiochunk.selection.start.samples&&u<=i.audiochunk.selection.end.samples){i.audiochunk.playposition.samples=i.audiochunk.selection.start.samples,i.changePlayCursorSamples(i.audiochunk.selection.start.samples),i.drawPlayCursorOnly(i.av.LastLine);var m=i.subscrmanager.add(i.audiochunk.statechange.subscribe(function(e){e===rl.STOPPED&&(i.audiochunk.selection=c.clone(),i.playSelection(),i.subscrmanager.remove(m))},function(e){console.error(e)}));i.audiochunk.stopPlayback()}i.Settings.multi_line||i.segmententer.emit({index:a,pos:{Y1:f,Y2:g}})}else i.alerttriggered.emit({type:"error",message:i.langService.instant("segment invisible")})}}l=!0}break;case"segment_enter":if(i.Settings.boundaries.enabled&&!i.Settings.boundaries.readonly&&i.focused){i.shortcuttriggered.emit({shortcut:n,value:e,type:"segment"});var v=i.transcr.currentlevel.segments.getSegmentBySamplePosition(i.av.Mousecursor.timePos.samples);i.selectSegment(v,function(e,n){i.focused=!1,i.segmententer.emit({index:v,pos:{Y1:e,Y2:n}})},function(){i.alerttriggered.emit({type:"error",message:i.langService.instant("segment invisible")})}),l=!0}break;case"cursor_left":i.av.focused&&(i.shortcuttriggered.emit({shortcut:n,value:e,type:"mouse"}),i.av.moveCursor("left",i.Settings.step_width_ratio*i.audioressource.info.samplerate),i.drawCursor(i.av.LastLine),i.mousecursorchange.emit(i.av.Mousecursor),l=!0);break;case"cursor_right":i.av.focused&&(i.shortcuttriggered.emit({shortcut:n,value:e,type:"mouse"}),i.av.moveCursor("right",i.Settings.step_width_ratio*i.audioressource.info.samplerate),i.drawCursor(i.av.LastLine),i.mousecursorchange.emit(i.av.Mousecursor),l=!0);break;case"playonhover":i.av.focused&&!i.Settings.boundaries.readonly&&(i.shortcuttriggered.emit({shortcut:n,value:e,type:"option"}),l=!0)}if(l)return"break"}}}(r))break}l&&e.event.preventDefault()}}},this.playSelection=function(){var e=function(){i.audiochunk.updatePlayPosition(),i.anim.requestFrame(i.drawPlayCursor)};return i.audiochunk.startPlayback(e)},this.onAudioChunkStateChange=function(){i.audiomanager.replay&&i.audiochunk.isPlaybackEnded?(i.audiochunk.playposition=i.audiochunk.time.start.clone(),i.playSelection()):i.audiochunk.isPlaybackEnded&&(i.audiomanager.stepbackward?(i.av.PlayCursor.changeSamples(i.audiochunk.lastplayedpos.samples,i.av.audioTCalculator,i.audiochunk),i.startPlayback()):(i.audiochunk.playposition=i.audiochunk.selection.start.clone(),i.av.drawnselection=i.av.drawnselection.clone(),i.drawSegments())),i.audiochunk.isPlayBackStopped&&i.audiomanager.stepbackward&&(i.av.PlayCursor.changeSamples(i.audiochunk.playposition.samples,i.av.audioTCalculator,i.audiochunk),i.startPlayback()),i.drawPlayCursor(),i.audiomanager.stepbackward=!1,i.audiomanager.paused=!1},this.drawPlayCursor=function(){var e=i.av.audioTCalculator.samplestoAbsX(i.audiochunk.playposition.samples-i.audiochunk.time.start.samples),n=i.av.audioTCalculator.samplestoAbsX(i.audiochunk.time.end.samples-i.audiochunk.time.start.samples);e=Math.min(e,n-1),i.changePlayCursorAbsX(e);var t=i.av.getLineByAbsX(i.av.PlayCursor.absX,i._innerWidth);t&&(i.drawPlayCursorOnly(t),i.av.LastLine=t)},this.drawPlayCursorOnly=function(e){if(e){var n=i.Settings.playcursor.width,t=i.av.PlayCursor.absX-e.number*i._innerWidth,l=e.Pos.y-i._viewRect.y;i.p_context.clearRect(0,0,i._viewRect.w,i._viewRect.h),e.number>=i._viewRect.lines.start&&e.number<=i._viewRect.lines.end&&t<=e.Size.width+i.Settings.margin.left&&(i.p_context.strokeStyle=i.Settings.playcursor.color,i.p_context.beginPath(),i.p_context.moveTo(t,l+1),i.p_context.lineTo(t,l+e.Size.height-1),i.p_context.globalAlpha=.3,i.p_context.lineWidth=n,i.p_context.stroke(),i.p_context.strokeStyle="rgb(0,0,0)",i.p_context.globalAlpha=1,i.p_context.beginPath(),i.p_context.moveTo(t,l+1),i.p_context.lineTo(t,l+e.Size.height-1),i.p_context.lineWidth=1,i.p_context.stroke())}},this.changePlayCursorAbsX=function(e){i.av.PlayCursor.changeAbsX(e,i.av.audioTCalculator,i.av.AudioPxWidth,i.audiochunk),i.playcursorchange.emit(i.av.PlayCursor)},this.changePlayCursorSamples=function(e,n){i.av.PlayCursor.changeSamples(e,i.av.audioTCalculator,n),i.playcursorchange.emit(i.av.PlayCursor)},this.drawTimeLine=function(){if(this.Settings.timeline.enabled&&this.av.LinesArray.length>0&&this.audiochunk.time.start.samples>0&&this.av.AudioPxWidth>0){var e=this.g_context.measureText(this.getmaxString(Math.round(100*this.audiochunk.time.duration.seconds)/100,2)).width+12;e/=this.Settings.multi_line?this.Settings.pixel_per_sec:this.av.audioTCalculator.samplestoAbsX(this.av.audioTCalculator.secondsToSamples(1),this.av.DurTime);var n=this.av.audioTCalculator.secondsToSamples(e);e=this.av.audioTCalculator.samplestoAbsX(n,this.audiochunk.time.duration),n=this.av.audioTCalculator.absXChunktoSamples(e,this.audiochunk),n-=this.audiochunk.time.start.samples;var t=this.av.audioTCalculator.samplesToSeconds(n);t=Math.round(100*t)/100,n=this.av.audioTCalculator.secondsToSamples(t),e=this.av.audioTCalculator.samplestoAbsX(n,this.audiochunk.time.duration);var l=this.av.AudioPxWidth/e,i=this.audiochunk.time.start;this.g_context.font=this.Settings.timeline.fontWeight+" "+this.Settings.timeline.fontSize+"px "+this.Settings.timeline.font,this.g_context.fillStyle=this.Settings.timeline.foreColor;var r=0;if(Number.isFinite(l)){this.g_context.strokeStyle="black";for(var o=0;ol?l:t,o=0;t>-1&&l>-1&&(o=Math.abs(l-t)),i.o_context.globalAlpha=.2,(t<1||t>e.Size.width)&&(r=1),l<1&&(o=0),(l<1||l>e.Size.width)&&(o=l),o>0&&(i.o_context.fillStyle=i.Settings.selection.color,i.o_context.fillRect(e.Pos.x+r,e.Pos.y-i._viewRect.y,o,i.Settings.lineheight)),i.o_context.globalAlpha=1}}},this.av.initializeSettings(),this.subscrmanager=new ol,this.subscrmanager.add(this.keyMap.onkeydown.subscribe(this.onKeyDown))}return Object.defineProperty(e.prototype,"initialized",{get:function(){return this._initialized},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"viewRect",{get:function(){return this._viewRect},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"innerWidth",{get:function(){return this._innerWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pos_time",{get:function(){return this.av.PlayCursor.time_pos.samples},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"round_values",{get:function(){return this.Settings.round_values},set:function(e){this.Settings.round_values=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"Chunk",{get:function(){return this.audiochunk},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"focused",{get:function(){return this.av.focused},set:function(e){this.av.focused=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"MouseCursor",{get:function(){return this.av.Mousecursor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"deactivate_shortcuts",{get:function(){return this._deactivate_shortcuts},set:function(e){this._deactivate_shortcuts=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"Settings",{get:function(){return this.av.Settings},set:function(e){this.av.Settings=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"AudioPxWidth",{get:function(){return this.av.AudioPxWidth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selection",{get:function(){return this.audiochunk.selection},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"PlayCursor",{get:function(){return this.av.PlayCursor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audiomanager",{get:function(){return this.audiochunk.audiomanager},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audioressource",{get:function(){return this.audiochunk.audiomanager.ressource},enumerable:!0,configurable:!0}),e.prototype.getmaxString=function(e,n){for(var t="",l=e;l>1;l/=10)t+="9";n>0&&(t+=".");for(var l=0;l0&&!Object(Yt.isNullOrUndefined)(n)&&(n.globalAlpha=1,n.save(),n.beginPath(),n.arc(this._innerWidth/2,this.height/2,this._innerWidth/2,0,2*Math.PI,!1),n.closePath(),n.clip(),this.m_context.globalAlpha=1,this.m_context.save(),this.m_context.beginPath(),this.m_context.arc(this._innerWidth/2,this.height/2,this._innerWidth/2,0,2*Math.PI,!1),this.m_context.closePath(),this.m_context.clip())}},e.prototype.updateCanvasSizes=function(){this.width=Number(this.aview.elementRef.nativeElement.clientWidth),this._innerWidth=Number(this.width-this.Settings.margin.left-this.Settings.margin.right);var e=this.aview.elementRef.nativeElement.clientHeight;this.av.updateLines(this._innerWidth),this.graphicscanRef.changeAttr("width",this.width.toString()),this.mousecanRef.changeAttr("width",this.width.toString()),this.overlaynacRef.changeAttr("width",this.width.toString()),this.playcanRef.changeAttr("width",this.width.toString()),this.Settings.multi_line?this.height=this.Settings.margin.top+(this.Settings.lineheight+this.Settings.margin.bottom)*this.av.LinesArray.length:this.height=e,this._viewRect.w=this.width,this._viewRect.h=e,this.playcanRef.changeAttr("height",e.toString()),this.graphicscanRef.changeAttr("height",e.toString()),this.mousecanRef.changeAttr("height",e.toString()),this.overlaynacRef.changeAttr("height",e.toString())},e.prototype.drawGrid=function(e,n,t){var l=this.Settings.timeline.enabled?this.Settings.timeline.height:0,i=Math.round(this._innerWidth/n),r=Math.round((this.Settings.lineheight-l)/e);this.g_context.beginPath(),this.g_context.strokeStyle=this.Settings.grid.color;for(var o=Math.round(i/2);o0&&(this.g_context.moveTo(0,0),this.g_context.beginPath(),this.g_context.arc(e,e,e-2,0,2*Math.PI,!1),this.g_context.strokeStyle="black",this.g_context.lineWidth=3,this.g_context.stroke())},e.prototype.drawCursor=function(e){e&&(this.m_context.clearRect(0,0,this._viewRect.w,this._viewRect.h),this.m_context.globalAlpha=1,this.m_context.strokeStyle=this.Settings.cursor.color,this.m_context.beginPath(),this.m_context.moveTo(this.av.Mousecursor.relPos.x,e.Pos.y-this._viewRect.y),this.m_context.lineTo(this.av.Mousecursor.relPos.x,e.Pos.y-this._viewRect.y+this.Settings.lineheight-1),this.m_context.stroke())},e.prototype.drawSegments=function(e){void 0===e&&(e=null),this.o_context.fillStyle="white",this.o_context.globalAlpha=1;var n=0,t=0,l=0,i=0;if(Object(Yt.isNullOrUndefined)(e)){if(l++,this.o_context.clearRect(0,0,this._viewRect.w,this._viewRect.h),this.Settings.boundaries.enabled&&this.transcr.currentlevel.segments.length>0){var r=this.transcr.currentlevel.segments.getSegmentsOfRange(this.audiochunk.time.start.samples,this.audiochunk.time.end.samples);this.o_context.globalAlpha=1;for(var o=0;o0&&(c=r[o-1]);var d=this.av.audioTCalculator.samplestoAbsX(c.time.samples),p=this._innerWidth=this._viewRect.lines.start&&h<=this._viewRect.lines.end||p>=this._viewRect.lines.start&&h>=this._viewRect.lines.end||p<=this._viewRect.lines.start&&h>=this._viewRect.lines.end)&&(u.time.samples>=this.audiochunk.time.start.samples&&u.time.samples<=this.audiochunk.time.end.samples||c.time.samples>=this.audiochunk.time.start.samples&&c.time.samples<=this.audiochunk.time.end.samples||c.time.samplesthis.audiochunk.time.end.samples))for(var f=Math.max(p,this._viewRect.lines.start);f<=Math.min(h,this._viewRect.lines.end);f++){var g=this.av.LinesArray[f];if(g){var m=g.Size.height,v=0;v=s%this._innerWidth+this.Settings.margin.left;var b=this.av.getRelativeSelectionByLine(g,c.time.samples,r[o].time.samples,this._innerWidth),y=0,_=b.start;b.start>-1&&b.end>-1&&(y=Math.abs(b.end-b.start)),(b.start<1||b.start>g.Size.width)&&(_=1),b.end<1&&(y=0),(b.end<1||b.end>g.Size.width)&&(y=b.end),""===u.transcript?(this.o_context.globalAlpha=.2,this.o_context.fillStyle="red"):u.transcript===this.transcr.break_marker.code?(this.o_context.globalAlpha=.2,this.o_context.fillStyle="blue"):""!==u.transcript&&(this.o_context.globalAlpha=.2,this.o_context.fillStyle="green"),n++,this.o_context.fillRect(_+this.Settings.margin.left-1,g.Pos.y-this._viewRect.y,y,m)}}else if(h>this._viewRect.lines.end+2)break;var w=this.av.LinesArray[h];if(h>=this._viewRect.lines.start&&h<=this._viewRect.lines.end&&!Object(Yt.isNullOrUndefined)(w)&&u.time.samples!==this.audioressource.info.duration.samples){var m=w.Size.height,v=0;v=this.Settings.multi_line?s%this._innerWidth+this.Settings.margin.left:s+this.Settings.margin.left,this.o_context.globalAlpha=.5,this.o_context.beginPath(),this.o_context.strokeStyle=this.Settings.boundaries.color,this.o_context.lineWidth=this.Settings.boundaries.width,this.o_context.moveTo(v,w.Pos.y-this._viewRect.y),this.o_context.lineTo(v,w.Pos.y-this._viewRect.y+m),this.o_context.stroke(),t++}}}if(!Object(Yt.isNullOrUndefined)(this.av.drawnselection))for(var S=this.av.audioTCalculator.samplestoAbsX(this.av.drawnselection.start.samples),k=this.av.audioTCalculator.samplestoAbsX(this.av.drawnselection.end.samples),p=this._innerWidth0?this.av.LinesArray[e.number-1]:e,x=e.number0&&(c=r[o-1]),c.time.samples>=j.samples&&u.time.samples<=T.samples||c.time.samples=j.samples||c.time.samples>=j.samples&&c.time.samples<=T.samples&&u.time.samples>T.samples||c.time.samplesT.samples){for(var I=O.number,E=x.number,f=I;f<=E;f++){var A=this.av.LinesArray[f],m=A.Size.height,v=0;v=s%this._innerWidth+this.Settings.margin.left;var b=this.av.getRelativeSelectionByLine(A,c.time.samples,r[o].time.samples,this._innerWidth),y=0,_=b.start;b.start>-1&&b.end>-1&&(y=Math.abs(b.end-b.start)),(b.start<1||b.start>A.Size.width)&&(_=1),b.end<1&&(y=0),(b.end<1||b.end>A.Size.width)&&(y=b.end),""===u.transcript?(this.o_context.globalAlpha=.2,this.o_context.fillStyle="red"):u.transcript===this.transcr.break_marker.code?(this.o_context.globalAlpha=.2,this.o_context.fillStyle="blue"):""!==u.transcript&&(this.o_context.globalAlpha=.2,this.o_context.fillStyle="green"),n++,this.o_context.fillRect(_+this.Settings.margin.left-1,A.Pos.y-this._viewRect.y,y,m)}var D=this._innerWidth=I&&D<=E){var m=w.Size.height,v=0;v=this.Settings.multi_line?s%this._innerWidth+this.Settings.margin.left:s+this.Settings.margin.left,this.o_context.globalAlpha=.5,this.o_context.beginPath(),this.o_context.strokeStyle=this.Settings.boundaries.color,this.o_context.lineWidth=this.Settings.boundaries.width,this.o_context.moveTo(v,w.Pos.y-this._viewRect.y),this.o_context.lineTo(v,w.Pos.y-this._viewRect.y+m),this.o_context.stroke(),t++}}}for(var p=O.number,h=x.number,f=p;f<=h;f++){var w=this.av.LinesArray[f];this.drawSelection(w),i++}}this.drawTimeLine();var L=new Rl("draw segments");L.addEntry("log","cleared: "+l),L.addEntry("log","drawn_areas: "+n),L.addEntry("log","drawn_boundaries: "+t),L.addEntry("log","drawn_selection: "+i)},e.prototype.onClick=function(e){var n=this,t=e.offsetX||e.pageX-jQuery(e.target).offset().left,l=(e.offsetY||e.pageY-jQuery(e.target).offset().left)+this._viewRect.y,i=this.av.getLineByMousePosition(t,l);i&&this.Settings.selection.enabled&&(this.av.setMouseClickPosition(t,l,i,e,this._innerWidth,this).then(function(e){n.drawPlayCursorOnly(e)}),this.drawCursor(this.av.LastLine),"mousedown"!==e.type&&this.selchange.emit(this.audiochunk.selection))},e.prototype.stopPlayback=function(){return this.audiochunk.stopPlayback()},e.prototype.pausePlayback=function(){this.audiochunk.pausePlayback()},e.prototype.startPlayback=function(){return!this.audiochunk.isPlaying&&this.av.MouseClickPos.absX0){var t=e.av.getLineByAbsX(e.av.PlayCursor.absX,e._innerWidth);t&&e.drawPlayCursorOnly(t)}},100),this.resizing=!1},e.prototype.getLocation=function(){var e=this.aview.elementRef.nativeElement.getBoundingClientRect();return{x:e.left,y:e.top}},e.prototype.selectSegment=function(e,n,t){if(void 0===n&&(n=function(){}),void 0===t&&(t=function(){}),e>-1){var l=this.transcr.currentlevel.segments.get(e);if(this.transcr.currentlevel.segments.getStartTime(e).samples>=this.audiochunk.time.start.samples&&l.time.samples<=this.audiochunk.time.end.samples){var i=this.av.audioTCalculator.samplestoAbsX(this.transcr.currentlevel.segments.get(e).time.samples),r=new bl(new Jt(0,this.audioressource.info.samplerate));e>0&&(r=this.transcr.currentlevel.segments.get(e-1));var o=this.av.audioTCalculator.samplestoAbsX(r.time.samples),u=this._innerWidth=this.viewRect.h&&("mac"===nl.os?this._viewRect.y=Math.max(0,this._viewRect.y-e.deltaY):this._viewRect.y=Math.max(0,this._viewRect.y+e.deltaY),this.scrollTo(this._viewRect.y))},e.prototype.scrollTo=function(e,n){var t=this;void 0===n&&(n=!1),this.height>=this.viewRect.h&&(this.scrolling.emit({state:"scrolling"}),this._viewRect.y=Math.max(0,e),this._viewRect.y=Math.min(this._viewRect.y,this.height-this._viewRect.h),this.updateVisibleLines(),Object(Yt.isNullOrUndefined)(this.wheeling)||window.clearTimeout(this.wheeling),this.wheeling=setTimeout(function(){n||t.scrolling.emit({state:"stopped"}),t.update(!1)},20))},e.prototype.onSliderChanged=function(e){this.height>=this.viewRect.h&&("mousemove"===e.type?this.scrollbar.dragging&&this.scrollTo(e.layerY/this._viewRect.h*this.height,!0):"mousedown"===e.type?this.scrollbar.dragging=!0:"mouseup"===e.type||"mouseleave"===e.type||"mouseout"===e.type?(this.scrolling.emit({state:"stopped"}),this.scrollbar.dragging=!1):"click"===e.type&&(this.scrollbar.dragging||this.scrollTo(e.layerY/this._viewRect.h*this.height,!1),this.scrollbar.dragging=!1))},e.ctorParameters=function(){return[{type:Ji},{type:Fi},{type:vi},{type:Ht.c}]},e}(),er=function(){function e(e,n){this.elementRef=e,this.renderer=n}return e.prototype.changeStyle=function(e,n){this.renderer.setElementStyle(this.elementRef.nativeElement,e,n)},e.prototype.changeAttr=function(e,n){this.renderer.setElementAttribute(this.elementRef.nativeElement,e,n)},e.ctorParameters=function(){return[{type:Wt.ElementRef},{type:Wt.Renderer}]},e}(),nr=function(){function e(){this.pos={x:0,y:0},this.initialized=!1,this.height=80,this.width=80}return Object.defineProperty(e.prototype,"zoomY",{get:function(){return this.loupe.zoomY},set:function(e){this.loupe.zoomY=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"Settings",{get:function(){return this.loupe.Settings},set:function(e){this.loupe.Settings=e},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){e.hasOwnProperty("height")&&(Object(Yt.isNullOrUndefined)(this.loupe)||(this.loupe.Settings.lineheight=e.height.currentValue,(Object(Yt.isNullOrUndefined)(this.loupe.Settings.lineheight)||this.loupe.Settings.lineheight<1)&&(this.loupe.Settings.lineheight=80),this.initialized&&this.loupe.update()))},e.prototype.ngAfterViewInit=function(){this.loupe.Settings.multi_line=!1,this.loupe.Settings.justify_signal_height=!1,this.loupe.Settings.boundaries.enabled=!0,this.loupe.Settings.disabled_keys=[],this.loupe.Settings.type="line",this.loupe.Settings.backgroundcolor="white",this.loupe.Settings.frame.color="transparent",this.loupe.Settings.cropping="circle",this.loupe.Settings.margin.left=0,this.loupe.Settings.margin.top=0,this.loupe.Settings.margin.right=0,this.loupe.Settings.margin.bottom=0,this.loupe.Settings.lineheight=this.height,this.loupe.Settings.selection.enabled=!1,this.loupe.Settings.shortcuts_enabled=!1,this.loupe.Settings.boundaries.enabled=!0,this.loupe.Settings.timeline.enabled=!1,this.loupe.viewer.round_values=!1,this.loupe.name="circleloupe",this.loupe.update(),this.initialized=!0},e.prototype.updateSegments=function(){this.loupe.update()},e.ctorParameters=function(){return[]},e}(),tr=function(){function e(){this.mousecursorchange=new Wt.EventEmitter,this.shortcuttriggered=new Wt.EventEmitter,this.segmententer=new Wt.EventEmitter,this.alerttriggered=new Wt.EventEmitter,this.pos={x:0,y:0},this.subscrmanager=new ol}return Object.defineProperty(e.prototype,"zoomY",{get:function(){return this.viewer.av.zoomY},set:function(e){this.viewer.av.zoomY=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"focused",{get:function(){return this.viewer.focused},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"MouseCursor",{get:function(){return this.viewer.MouseCursor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"margin",{get:function(){return this.viewer.margin},set:function(e){this.viewer.margin=e},enumerable:!0,configurable:!0}),e.prototype.getLocation=function(){var e=this.loupe.nativeElement.getBoundingClientRect();return{x:e.left,y:e.top}},Object.defineProperty(e.prototype,"Settings",{get:function(){return this.viewer.Settings},set:function(e){this.viewer.Settings=e},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){},e.prototype.ngOnInit=function(){if(Object(Yt.isNullOrUndefined)(this.height))throw new Error("you have to set [height] to the loupe component");this.viewer.Settings.multi_line=!1,this.viewer.Settings.lineheight=this.height,this.viewer.Settings.justify_signal_height=!0,this.viewer.Settings.boundaries.enabled=!0,this.viewer.Settings.disabled_keys=[],this.viewer.Settings.type="line"},e.prototype.ngAfterViewInit=function(){var e=this;this.subscrmanager.add(this.viewer.mousecursorchange.subscribe(function(n){e.mousecursorchange.emit(n)})),this.subscrmanager.add(this.viewer.shortcuttriggered.subscribe(function(n){e.shortcuttriggered.emit(n)})),this.subscrmanager.add(this.viewer.segmententer.subscribe(function(n){e.segmententer.emit(n)}))},e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy()},e.prototype.updateSegments=function(){this.viewer.drawSegments()},e.prototype.update=function(){this.viewer.name=this.name,this.viewer.update(!0)},e.prototype.onButtonClick=function(e){switch(e.type){case"play":this.viewer.startPlayback();break;case"pause":this.viewer.pausePlayback();break;case"stop":this.viewer.stopPlayback();break;case"replay":this.viewer.rePlayback();break;case"backward":this.viewer.stepBackward();break;case"backward time":this.viewer.stepBackwardTime(.5)}},e.prototype.selectSegment=function(e){this.viewer.selectSegment(e)},e.ctorParameters=function(){return[]},e}(),lr=function(){function e(){this.Settings={markers:[],disabled_keys:["ENTER","SHIFT + ENTER","TAB"],height:300,responsive:!1,special_markers:{boundary:!1}}}return e}(),ir=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])};return function(n,t){function l(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}}(),rr=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return ir(n,e),n.prototype.validate=function(e,n){var t="TranscrEditorConfig Validation - ";switch(e){case"height":if("number"==typeof n&&n>0)break;return{success:!1,error:t+"value of key '"+e+"' must be of type number greater 0"};case"disabled_keys":var l=!0;if(Object(Yt.isArray)(n)){for(var i=0;i"+e+"

";var n=jQuery(e),t=function(e,n){if(null!==jQuery(n).children()&&jQuery(n).children().length>0)jQuery.each(jQuery(n).children(),t);else{var i=jQuery(n).attr("data-marker-code");if("select-one"===n.type){i+="="+jQuery(n).attr("data-value")}if(i)for(var r=0;r","").replace("

","").replace(new RegExp("\\[\\|","g"),"{").replace(new RegExp("\\|\\]","g"),"}");t=""+l.rawToHTML(t)+"";var i=jQuery(t);Object(Yt.isNullOrUndefined)(l.rawText)||""===l._rawText?l.textfield.summernote("code",t):l.textfield.summernote("editor.insertNode",i[0]),l.updateTextField(),l.initPopover()},onChange:function(){l.init++,1===l.init?l.focus(!0):l.init>1&&l.textfield.summernote("restoreRange")},onBlur:function(){l.focused=!1},onFocus:function(){l.focused=!0},onMouseup:function(){l.selectionchanged.emit(l.caretpos)}}}),l.textfield.summernote("removeModule","statusbar"),l.textfield.summernote("removeModule","handle"),l.textfield.summernote("removeModule","hintPopover"),l.textfield.summernote("removeModule","imageDialog"),l.textfield.summernote("removeModule","airPopover"),l.segpopover=jQuery("
").addClass("panel").addClass("seg-popover").html("00:00:000"),l.segpopover.insertBefore(".note-editing-area"),l.loaded.emit(!0)},this.insertMarker=function(e,n){var t=document.createElement("img");t.setAttribute("src",n),t.setAttribute("class","btn-icon-text"),t.setAttribute("style","height:16px"),t.setAttribute("data-marker-code",e),t.setAttribute("alt",e),this.textfield.summernote("editor.insertNode",t),this.updateTextField()},this.onKeyDownSummernote=function(e){var n=sl.getShortcutCombination(e),t=nl.platform;if(""!==n)if(l.isDisabledKey(n))e.preventDefault();else if("ALT + S"===n&&l.Settings.special_markers.boundary)l.insertBoundary("assets/img/components/transcr-editor/boundary.png"),l.boundaryinserted.emit(l.audiochunk.playposition.samples),e.preventDefault();else for(var i=0;i=700&&(l._is_typing&&l.focused&&l.typing.emit("stopped"),l._is_typing=!1)},700),!l._is_typing&&l.focused&&l.typing.emit("started"),l._is_typing=!0,l.lastkeypress=Date.now()},this.focus=function(e){void 0===e&&(e=!1);var n=function(){try{""!==l.rawText&&"


"!==l.html&&al.placeAtEnd(jQuery(".note-editable.panel-body")[0]),l.textfield.summernote("focus")}catch(e){}};e?setTimeout(function(){n()},300):n()},this._settings=(new lr).Settings,this.subscrmanager=new ol,this.validateConfig()}return Object.defineProperty(e.prototype,"summernote",{get:function(){return this.textfield.summernote},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"caretpos",{get:function(){return this.focused?jQuery(".note-editable.panel-body:eq(0)").caret("pos"):-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rawText",{get:function(){return this.tidyUpRaw(this._rawText)},set:function(e){this._rawText=this.tidyUpRaw(e),this.init=0;var n=this.rawToHTML(this._rawText);this.textfield.summernote("code",n),this.initPopover()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audiomanager",{get:function(){return this.audiochunk.audiomanager},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"segments",{set:function(e){for(var n="",t=0;t":(l=" "+e.button_text+" ["+e.shortcut[t]+"]",n.Settings.responsive&&(l=" "));var i={contents:l,tooltip:e.description,click:function(){n.insertMarker(e.code,e.icon_url),n.marker_click.emit(e.name)}};return jQuery.summernote.ui.button(i).render()}},e.prototype.initPopover=function(){var e=this;jQuery(".btn-icon-text[data-samples]").off("click"),setTimeout(function(){jQuery(".btn-icon-text[data-samples]").on("click",function(n){var t=jQuery(n.target),l=t.attr("data-samples");Object(ur.isNumeric)(l)&&e.boundaryclicked.emit(Number(l))}).on("mouseover",function(n){var t=jQuery(n.target),l=jQuery(".seg-popover"),i=l.width(),r=l.height(),o=jQuery(".note-toolbar.panel-heading").offset(),u=t.attr("data-samples");if(!Object(Yt.isNullOrUndefined)(u)&&al.isNumber(u)){var a=Number(u),s=new Jt(a,e.audiomanager.ressource.info.samplerate);l.css({"margin-left":n.target.offsetLeft-i/2+"px","margin-top":t.offset().top-o.top-r-10+"px",display:"inherit"}),t.css({cursor:"pointer"});var c=new or,d=c.transform(s.unix.toString());l.text(d)}}).on("mouseleave",function(){jQuery(".seg-popover").css({display:"none"})})},200)},e.prototype.createCustomButtonsArray=function(){var e=this,n=[],t=function(){var n=e.langService.instant("special_markers.boundary.insert",{type:""}),t=e.langService.instant("special_markers.boundary.description",{type:""}),l="";e.easymode?l="":(l=" "+n+" [ALT + S]",e.Settings.responsive&&(l=" "));var i={contents:l,tooltip:t,click:function(){e.marker_click.emit("boundary"),e.insertBoundary("assets/img/components/transcr-editor/boundary.png")}};return jQuery.summernote.ui.button(i).render()};return n.push(t),n},e.prototype.insertBoundary=function(e){var n=this,t=document.createElement("img");t.setAttribute("src",e),t.setAttribute("class","btn-icon-text boundary"),t.setAttribute("style","height:16px"),t.setAttribute("data-samples",this.audiochunk.playposition.samples.toString()),t.setAttribute("alt","[|"+this.audiochunk.playposition.samples.toString()+"|]"),this.textfield.summernote("editor.insertText"," "),this.textfield.summernote("editor.insertNode",t),this.textfield.summernote("editor.insertText"," "),setTimeout(function(){jQuery(t).on("click",function(e){var t=jQuery(e.target),l=t.attr("data-samples");Object(ur.isNumeric)(l)&&n.boundaryclicked.emit(Number(l))}).on("mouseover",function(e){var t=jQuery(e.target),l=jQuery(".seg-popover"),i=l.width(),r=l.height(),o=jQuery(".note-toolbar.panel-heading").offset(),u=t.attr("data-samples");if(!Object(Yt.isNullOrUndefined)(u)&&al.isNumber(u)){var a=Number(u),s=new Jt(a,n.audiomanager.ressource.info.samplerate);l.css({"margin-left":e.target.offsetLeft-i/2+"px","margin-top":t.offset().top-o.top-r-10+"px",display:"inherit"}),t.css({cursor:"pointer"});var c=new or,d=c.transform(s.unix.toString());l.text(d)}}).on("mouseleave",function(){jQuery(".seg-popover").css({display:"none"})})},200),this.updateTextField()},e.prototype.updateTextField=function(){this._rawText=this.getRawText()},e.prototype.isDisabledKey=function(e){for(var n=0;n-1},e.prototype.rawToHTML=function(e){var n=e;if(""!==e){n=n.replace(/\r?\n/g," ");for(var t=this,l=0;l"+o},u=function(e,n){return" [|"+n+"|] "};n=n.replace(r,u),n=n.replace(i,o)}(l);n=n.replace(/\s+$/g," ")}return n=""!==n?"

"+n+"

":"


"},e.prototype.tidyUpRaw=function(e){return tidyUpAnnotation(e,this.transcrService.guidelines)},e.prototype.validateConfig=function(){var e=new rr,n=e.validateObject(this._settings);if(!n.success)throw new Error(n.error)},e.prototype.saveRange=function(){this.textfield.summernote("saveRange")},e.prototype.restoreRange=function(){this.textfield.summernote("restoreRange")},e.prototype.getSegmentByCaretPos=function(e){for(var n=this.getRawText(),t=/{([0-9]+)}/g,l=0;l1){if(0===e)return 0;if(e>=n.replace(/\s?{([0-9]+)}\s?/g," ").length)return u.length-1;for(var l=0;l=e)return Math.max(0,l-1);a+=s.length-1}if(a>=e)return u.length-1}return-1},e.ctorParameters=function(){return[{type:Wt.ChangeDetectorRef},{type:Ht.c},{type:Fi}]},e}(),sr=function(){function e(e,n){var t=this;this.cd=e,this.msgService=n,this.state="inactive",this.text="",this.type="error",this.show=!1,this.showMessage=function(e,n){t.show=!0,t.state="active",t.type=e,t.text=n,t.cd.markForCheck(),setTimeout(function(){t.state="inactive",t.cd.markForCheck()},3e3)},this.subscrmanager=new ol}return e.prototype.ngOnInit=function(){var e=this;this.state="inactive",this.show=!1,this.cd.markForCheck(),this.subscrmanager.add(this.msgService.showmessage.subscribe(function(n){e.showMessage(n.type,n.message)}))},e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy()},e.ctorParameters=function(){return[{type:Wt.ChangeDetectorRef},{type:Bi}]},e}(),cr=function(){function e(){this.innerhtml="",this.height="auto",this.clicklocked=!1,this.afterdrop=new Wt.EventEmitter,this.fileAPIsupported=!1,this._files=null,this.old_files=null}return Object.defineProperty(e.prototype,"files",{get:function(){return this._files},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"sessionfile",{get:function(){return this._sessionfile},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){window.File&&window.FileReader&&window.FileList&&window.Blob&&(this.fileAPIsupported=!0)},e.prototype.onDragOver=function(e){e.stopPropagation(),e.preventDefault(),e.dataTransfer.dropEffect="copy"},e.prototype.onFileDrop=function(e){if(e.stopPropagation(),e.preventDefault(),this.fileAPIsupported){var n=e.dataTransfer.files;this._files=n,this.afterdrop.emit(this._files)}},e.prototype.onClick=function(e){this.clicklocked||(this.fileinput.nativeElement.click(),e.target.files===this._files&&this.afterdrop.emit(this._files))},e.prototype.onFileChange=function(e){var n=e.target.files;this._files=n,this.afterdrop.emit(this._files)},e.ctorParameters=function(){return[]},e}();!function(e){e[e.LOG=0]="LOG",e[e.INFO=1]="INFO",e[e.WARN=2]="WARN",e[e.ERROR=3]="ERROR"}(Li||(Li={}));var dr=function(){function e(e,n,t,l){this.langService=e,this.appStorage=n,this.settService=t,this.http=l,this._console=[]}return Object.defineProperty(e.prototype,"console",{get:function(){return this._console},enumerable:!0,configurable:!0}),e.prototype.init=function(e){this.transcrService=e},e.prototype.addEntry=function(e,n){var t={type:e,message:n};this._console.push(t)},e.prototype.clear=function(){this._console=[]},e.prototype.getPackage=function(){var e={octra:{version:hi.version,language:this.langService.currentLang,signed_in:this.appStorage.logged_in,dataid:this.appStorage.data_id,localmode:this.appStorage.uselocalmode},system:{os:{name:nl.os.family,version:nl.os.version},browser:nl.browser+" "+nl.version,version:nl.os.version},entries:this._console};if(!Object(Yt.isNullOrUndefined)(this.transcrService)){var n=al.getFileSize(this.transcrService.audiofile.size);e.octra.audiofile_size=n.size+" "+n.label,e.octra.audiofile_duration=this.transcrService.audiomanager.ressource.info.duration.seconds,e.octra.audiofile_samplerate=this.transcrService.audiofile.samplerate,e.octra.audiofile_bitrate=this.transcrService.audiomanager.ressource.info.bitrate,e.octra.audiofile_channels=this.transcrService.audiomanager.ressource.info.channels,e.octra.audiofile_type=this.transcrService.audiomanager.ressource.extension,e.octra.levels=this.transcrService.annotation.levels.length,e.octra.currentlevel=this.transcrService.selectedlevel,e.octra.segments=this.transcrService.currentlevel.segments.length}return e},e.prototype.getText=function(){for(var e=this.settService.app_settings.octra.bugreport,n=0;n0?this.valid_platform=this.browser_check.isValidBrowser(this.apc.octra.allowed_browsers):this.valid_platform=!0,!1===this.settingsService.responsive.enabled?this.valid_size=window.innerWidth>=this.settingsService.responsive.fixedwidth:this.valid_size=!0;var n=function(){Object(Yt.isNullOrUndefined)(e.appStorage.user)||"-1"===e.appStorage.user.id||(e.member.id=e.appStorage.user.id),!Object(Yt.isNullOrUndefined)(e.appStorage.user)&&e.appStorage.user.hasOwnProperty("project")&&(e.member.project=e.appStorage.user.project),!Object(Yt.isNullOrUndefined)(e.appStorage.user)&&e.appStorage.user.hasOwnProperty("jobno")&&null!==e.appStorage.user.jobno&&e.appStorage.user.jobno>-1&&(e.member.jobno=e.appStorage.user.jobno.toString())};this.appStorage.idbloaded?n():this.subscrmanager.add(this.appStorage.loaded.subscribe(function(){},function(){},function(){n()}))},e.prototype.ngAfterViewInit=function(){this.loadPojectsList()},e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy()},e.prototype.onSubmit=function(e){var n=this,t=!1,l=!1,i=!1;(Object(Yt.isNullOrUndefined)(this.member.jobno)||""===this.member.jobno)&&(this.member.jobno="0"),null!==this.appStorage.sessionfile?t=!0:!Object(Yt.isNullOrUndefined)(this.appStorage.data_id)&&Object(Yt.isNumber)(this.appStorage.data_id)?Object(Yt.isNullOrUndefined)(this.appStorage.user.project)||Object(Yt.isNullOrUndefined)(this.appStorage.user.jobno)||Object(Yt.isNullOrUndefined)(this.appStorage.user.id)||(this.appStorage.user.id===this.member.id&&Number(this.appStorage.user.jobno)===Number(this.member.jobno)&&this.appStorage.user.project===this.member.project?i=!0:l=!0):t=!0,l&&this.setOnlineSessionToFree(function(){n.createNewSession(e)}),t?this.createNewSession(e):i&&this.subscrmanager.add(this.api.fetchAnnotation(this.appStorage.data_id).subscribe(function(t){var l=t.json();if(l.hasOwnProperty("message")){var i=""===l.message?"0":l.message;n.appStorage.sessStr.store("jobs_left",Number(i))}if(e.valid&&n.agreement_checked&&"0"!==l.message){null!==n.appStorage.sessionfile&&n.appStorage.clearLocalStorage();var r=n.appStorage.setSessionData(n.member,l.data.id,l.data.url);""===r.error?n.navigate():alert(r.error)}else n.modService.show("login_invalid")},function(e){return n.modService.show("error","Server cannot be requested. Please check if you are online."),zl.Observable.throw(e)}))},e.prototype.canDeactivate=function(){return this.valid},e.prototype.onResize=function(e){!1===this.settingsService.responsive.enabled?this.valid_size=window.innerWidth>=this.settingsService.responsive.fixedwidth:this.valid_size=!0},e.prototype.getDropzoneFileString=function(e){var n=al.getFileSize(e.size);return al.buildStr("{0} ({1} {2})",[e.name,Math.round(100*n.size)/100,n.label])},e.prototype.getFileStatus=function(){return!Object(Yt.isNullOrUndefined)(this.dropzone.files)&&this.dropzone.files.length>0&&!Object(Yt.isNullOrUndefined)(this.dropzone.oaudiofile)?Object(Yt.isNullOrUndefined)(this.appStorage.sessionfile)||this.dropzone.oaudiofile.name===this.appStorage.sessionfile.name&&Object(Yt.isNullOrUndefined)(this.dropzone.oannotation)?"start":"new":"unknown"},e.prototype.getValidBrowsers=function(){for(var e="",n=0;n0&&(n.appStorage.servertranscipt=t)}if(l.hasOwnProperty("message")){var i=""===l.message?"0":l.message;n.appStorage.sessStr.store("jobs_left",Number(i))}""===e.error?n.navigate():n.modService.show("error",e.error)}).catch(function(e){console.error(e)})):n.modService.show("login_invalid")}))},e.prototype.testFile=function(e,n){var t=new FileReader;t.onload=function(e){},t.readAsText(n),t.readAsText(n,"utf-8")},e.ctorParameters=function(){return[{type:hr.k},{type:Oi},{type:Fl},{type:Wt.ChangeDetectorRef},{type:Ri},{type:mi},{type:Ht.c},{type:fi}]},e}(),vr=function(){function e(e,n,t){this.router=e,this.sessionService=n,this.settingsService=t,this.valid=!1,this.member={id:"",pw:""}}return e.prototype.ngOnInit=function(){var e=this;this.settingsService.clearSettings(),this.sessionService.endSession(this.sessionService.uselocalmode,function(){e.router.navigate(["login"])})},e.ctorParameters=function(){return[{type:hr.k},{type:Oi},{type:Ri}]},e}(),br=function(){function e(e,n){this.router=e,this.settService=n,this.subscrmanager=new ol}return e.ctorParameters=function(){return[{type:hr.k},{type:Ri}]},e}(),yr=function(){function e(e,n,t,l,i,r,o,u){this.transcrService=e,this.keyMap=n,this.audio=t,this.uiService=l,this.cd=i,this.msg=r,this.settingsService=o,this.appStorage=u,this.showWindow=!1,this.loupe_hidden=!0,this.mousestate="initiliazied",this.intervalID=null,this.factor=8,this.miniloupe={size:{width:160,height:160},location:{x:0,y:0}},this.scrolltimer=null,this.shortcuts={},this.subscrmanager=new ol}return Object.defineProperty(e.prototype,"editor",{get:function(){return Object(Yt.isNullOrUndefined)(this.window)?null:this.window.editor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"getHeight",{get:function(){return window.innerHeight-350},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"app_settings",{get:function(){return this.settingsService.app_settings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this.settingsService.projectsettings},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var n=this;this.audiomanager=this.audio.audiomanagers[0],this.audiochunk_lines=this.audiomanager.mainchunk.clone(),this.audiochunk_loupe=this.audiomanager.mainchunk.clone(),this.audiochunk_window=this.audiomanager.mainchunk.clone(),this.shortcuts=this.keyMap.register("2D-Editor",this.viewer.Settings.shortcuts);var t={jump_left:{keys:{mac:"ALT + ARROWLEFT",pc:"ALT + ARROWLEFT"},focusonly:!1,title:"jump_last_segment"},jump_right:{keys:{mac:"ALT + ARROWRIGHT",pc:"ALT + ARROWRIGHT"},focusonly:!1,title:"jump_next_segment"},close_save:{keys:{mac:"ALT + ARROWDOWN",pc:"ALT + ARROWDOWN"},focusonly:!1,title:"close_save"}};this.keyMap.register("Transcription Window",t),this.viewer.Settings.multi_line=!0,this.viewer.Settings.lineheight=70,this.viewer.Settings.margin.bottom=5,this.viewer.Settings.margin.right=0,this.viewer.Settings.justify_signal_height=!0,this.viewer.Settings.scrollable=!0,this.viewer.Settings.margin.right=20,this.viewer.Settings.round_values=!1,this.viewer.Settings.step_width_ratio=this.viewer.Settings.pixel_per_sec/this.audiomanager.ressource.info.samplerate,this.viewer.alerttriggered.subscribe(function(e){n.msg.showMessage(e.type,e.message)}),this.subscrmanager.add(this.keyMap.onkeydown.subscribe(function(e){var t=e.event;n.viewer.focused&&("+"===t.key?(n.factor=Math.min(20,n.factor+1),n.changeArea(n.loupe,n.miniloupe,n.factor)):"-"===t.key&&n.factor>3&&(n.factor=Math.max(1,n.factor-1),n.changeArea(n.loupe,n.miniloupe,n.factor)))})),this.subscrmanager.add(this.audiochunk_lines.statechange.subscribe(function(e){e===rl.PLAYING?Object(Yt.isNullOrUndefined)(n.appStorage.followplaycursor)||!0!==n.appStorage.followplaycursor||(n.scrolltimer=xi.Observable.interval(1e3).subscribe(function(){var e=n.viewer.av.audioTCalculator.samplestoAbsX(n.audiochunk_lines.playposition.samples),t=Math.floor(e/n.viewer.innerWidth)*n.viewer.Settings.lineheight;(t+=10+Math.floor(e/n.viewer.innerWidth)*n.viewer.Settings.margin.bottom)>n.viewer.viewRect.h&&n.viewer.scrollTo(t)})):null!==n.scrolltimer&&n.scrolltimer.unsubscribe()})),e.initialized.emit()},e.prototype.ngOnChanges=function(e){},e.prototype.ngOnDestroy=function(){clearInterval(this.intervalID),this.subscrmanager.destroy(),null!==this.scrolltimer&&this.scrolltimer.unsubscribe()},e.prototype.ngAfterViewInit=function(){var e=this;this.audiochunk_lines.channel&&this.viewer.initialize(),this.subscrmanager.add(this.transcrService.segmentrequested.subscribe(function(n){e.openSegment(n)})),this.loupe.zoomY=this.factor,this.viewer.update(!0)},e.prototype.ngAfterContentChecked=function(){},e.prototype.onSegmentEntered=function(e){if(this.transcrService.currentlevel.segments&&e.index>-1&&e.index0?this.transcrService.currentlevel.segments.get(e.index-1).time.clone():new Jt(0,this.audiomanager.ressource.info.samplerate);n&&(this.selected_index=e.index,this.audiochunk_window=new ul(new il(t,n.time.clone()),this.audiomanager),this.viewer.deactivate_shortcuts=!0,this.viewer.focused=!1,this.showWindow=!0)}},e.prototype.onWindowAction=function(e){if("close"===e){this.showWindow=!1,this.viewer.deactivate_shortcuts=!1,this.selected_index=this.window.segment_index,this.viewer.selectSegment(this.selected_index),this.viewer.drawSegments();var n=this.transcrService.currentlevel.segments.get(this.selected_index),t=this.viewer.av.audioTCalculator.samplestoAbsX(n.time.samples),l=(jQuery("#special").height(),Math.floor(t/this.viewer.innerWidth)*this.viewer.Settings.lineheight);l+=10+Math.floor(t/this.viewer.innerWidth)*this.viewer.Settings.margin.bottom,al.scrollTo(l,"#special")}},e.prototype.onSegmentSelected=function(e){},e.prototype.onMouseOver=function(){var e=this;Object(Yt.isNullOrUndefined)(this.mouseTimer)||window.clearTimeout(this.mouseTimer),this.mousestate="moving",!this.audiomanager.audioplaying&&this.appStorage.playonhover&&(this.audiochunk_lines.selection.start.samples=this.viewer.av.Mousecursor.timePos.samples,this.audiochunk_lines.selection.end.samples=this.viewer.av.Mousecursor.timePos.samples+this.audiomanager.ressource.info.samplerate/10,this.audiochunk_lines.startPlayback(function(){},!0)),this.changePosition(this.miniloupe),this.mouseTimer=window.setTimeout(function(){e.changeArea(e.loupe,e.miniloupe,e.factor),e.mousestate="ended"},20)},e.prototype.onSegmentChange=function(e){},e.prototype.changeArea=function(e,n,t){var l=this.viewer.MouseCursor;if(l&&l.timePos&&l.relPos){n.location.x=l.relPos.x?l.relPos.x-n.size.width/2:0,n.location.y=l.line?l.line.number*l.line.Size.height+l.line.number*this.viewer.Settings.margin.bottom:0,n.location.y+=this.viewer.Settings.lineheight-15-this.viewer.viewRect.y;var i=Math.round(this.audiomanager.ressource.info.samplerate/t),r=l.timePos.samples>i?new Jt(l.timePos.samples-i,this.audiomanager.ressource.info.samplerate):new Jt(0,this.audiomanager.ressource.info.samplerate),o=l.timePos.samples-1){var l=this.transcrService.currentlevel.segments.get(this.selected_index);t.start=l.time.samples,t.length=this.selected_index-1){var t=this.transcrService.currentlevel.segments.get(this.selected_index);n.start=t.time.samples,n.length=this.selected_index-1){var t=this.transcrService.currentlevel.segments.get(this.selected_index);n.start=t.time.samples,n.length=this.selected_index-1){var l=this.transcrService.currentlevel.segments.get(this.selected_index);t.start=l.time.samples,t.length=this.selected_index3&&(n.factor=Math.max(1,n.factor-1),n.miniloupe.zoomY=Math.max(4,n.factor),n.viewer.focused?n.changeArea(n.audiochunk_loupe,n.viewer,n.mini_loupecoord,n.viewer.MouseCursor.timePos.samples,n.viewer.MouseCursor.relPos.x,n.factor):!Object(Yt.isNullOrUndefined)(n.loupe)&&n.loupe.focused&&n.changeArea(n.audiochunk_loupe,n.loupe.viewer,n.mini_loupecoord,n.viewer.MouseCursor.timePos.samples,n.loupe.MouseCursor.relPos.x,n.factor)))})),e.initialized.emit()},e.prototype.ngOnChanges=function(e){},e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy(),this.keyMap.unregister("AV"),this.keyMap.unregister("Loupe")},e.prototype.onButtonClick=function(e){var n=this.editor.caretpos;switch(this.uiService.addElementFromEvent("mouseclick",{value:e.type},e.timestamp,this.audiomanager.playposition,n,"audio_buttons"),e.type){case"play":this.viewer.startPlayback();break;case"pause":this.viewer.pausePlayback();break;case"stop":this.viewer.stopPlayback();break;case"replay":this.nav.replay=this.viewer.rePlayback();break;case"backward":this.viewer.stepBackward();break;case"backward time":this.viewer.stepBackwardTime(.5)}},e.prototype.ngAfterViewInit=function(){var e=this;this.cd.detectChanges(),this.miniloupe.zoomY=this.factor,this.subscrmanager.add(this.transcrService.segmentrequested.subscribe(function(n){e.openSegment(n)}))},e.prototype.test=function(e){e&&(e.length>0?(e.checkSelection(),this.segmentselected=!1,this.audiochunk_down.destroy(),this.audiochunk_down=new ul(this.audiochunk_top.selection.clone(),this.audiomanager),this.top_selected=!0):this.top_selected=!1)},e.prototype.onAlertTriggered=function(e){this.msg.showMessage(e.type,e.message)},e.prototype.onSegmentChange=function(){Object(Yt.isNullOrUndefined)(this.loupe)||this.loupe.update(),this.viewer.update(),this.saving=!1},e.prototype.onMouseOver=function(e){var n=this;Object(Yt.isNullOrUndefined)(this.mouseTimer)||window.clearTimeout(this.mouseTimer),this.mini_loupecoord.component=this.viewer,!this.audiomanager.audioplaying&&this.appStorage.playonhover&&(this.audiochunk_top.selection.start=this.viewer.av.Mousecursor.timePos.clone(),this.audiochunk_top.selection.end.samples=this.viewer.av.Mousecursor.timePos.samples+this.audiomanager.ressource.info.samplerate/10,this.audiochunk_top.startPlayback(function(){},!0));this.viewer.getLocation();this.mini_loupecoord.y=this.viewer.Settings.lineheight,this.appStorage.uselocalmode&&(this.mini_loupecoord.y+=24),this.mouseTimer=window.setTimeout(function(){n.changeArea(n.audiochunk_loupe,n.viewer,n.mini_loupecoord,n.viewer.MouseCursor.timePos.samples,n.viewer.MouseCursor.relPos.x,n.factor)},20)},e.prototype.changeArea=function(e,n,t,l,i,r){void 0===r&&(r=4);var o=n.Chunk.time.duration.samples/this.audiomanager.ressource.info.duration.samples*this.audiomanager.ressource.info.samplerate/r;if(l&&i>-1){t.x=i?i-80:0;var u=Math.round(o),a=l>u?new Jt(l-u,this.audiomanager.ressource.info.samplerate):new Jt(0,this.audiomanager.ressource.info.samplerate),s=l0&&(i=n.transcrService.currentlevel.segments.get(e-1).time),t(new il(i,l.time))})},e.prototype.onTranscriptionChanged=function(e){this.save()},e.prototype.save=function(){if(this.segmentselected&&this.selected_index>-1&&this.transcrService.currentlevel.segments&&this.selected_index-1){var i=this.transcrService.currentlevel.segments.get(this.selected_index);l.start=i.time.samples,l.length=this.selected_index-1){var n=this.transcrService.currentlevel.segments.get(this.selected_index).time.samples,t=0;this.selected_index>0&&(t=this.transcrService.currentlevel.segments.get(this.selected_index-1).time.samples),(this.loupe.viewer.MouseCursor.timePos.samplesn)&&(this.segmentselected=!1)}},e.prototype.onMarkerInsert=function(e){if(this.appStorage.logging){var n={start:-1,length:-1,textlength:-1};if(this.segmentselected&&this.selected_index>-1){var t=this.transcrService.currentlevel.segments.get(this.selected_index);n.start=t.time.samples,n.length=this.selected_index-1){var t=this.transcrService.currentlevel.segments.get(this.selected_index);n.start=t.time.samples,n.length=this.selected_index-1){var t=this.transcrService.currentlevel.segments.get(this.selected_index);n.start=t.time.samples,n.length=this.selected_index-1){var t=this.transcrService.currentlevel.segments.get(this.selected_index);n.start=t.time.samples,n.length=this.selected_index0&&(this.editor.segments=this.transcrService.currentlevel.segments),this.editor.Settings.height=100,this.editor.update()},e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy()},e.prototype.ngOnChanges=function(e){},e.prototype.highlightSegment=function(e){jQuery(".note-editable.panel-body textspan").css({"background-color":""}),jQuery(".note-editable.panel-body textspan:eq("+e+")").css({"background-color":"yellow"})},e.prototype.onButtonClick=function(e){switch(this.uiService.addElementFromEvent("mouseclick",{value:e.type},e.timestamp,this.audiomanager.playposition,this.editor.caretpos,"audio_buttons"),e.type){case"play":this.audioplayer.startPlayback();break;case"pause":this.audioplayer.pausePlayback();break;case"stop":this.audioplayer.stopPlayback();break;case"replay":this.audioplayer.rePlayback();break;case"backward":this.audioplayer.stepBackward();break;case"backward time":this.audioplayer.stepBackwardTime(.5)}},e.prototype.onSpeedChange=function(e){this.audiochunk.speed=e.new_value},e.prototype.afterSpeedChange=function(e){this.uiService.addElementFromEvent("slider",e,e.timestamp,this.audiomanager.playposition,this.editor.caretpos,"audio_speed")},e.prototype.onVolumeChange=function(e){this.audiochunk.volume=e.new_value},e.prototype.afterVolumeChange=function(e){this.uiService.addElementFromEvent("slider",e,e.timestamp,this.audiomanager.playposition,this.editor.caretpos,"audio_volume")},e.prototype.afterTyping=function(e){"stopped"===e&&(this.saveTranscript(),this.highlight())},e.prototype.onShortcutTriggered=function(e){e.value="audio:"+e.value,this.uiService.addElementFromEvent("shortcut",e,Date.now(),this.audiomanager.playposition,this.editor.caretpos,"texteditor")},e.prototype.onBoundaryClicked=function(e){var n=this,t=this.transcrService.currentlevel.segments.getSegmentBySamplePosition(e);if(this.boundaryselected=!0,t>-1){var l=t>0?this.transcrService.currentlevel.segments.get(t-1).time.samples:0,i=this.subscrmanager.add(this.audiochunk.statechange.subscribe(function(e){if(e===rl.STOPPED){n.audiochunk.startpos=new Jt(l,n.audiomanager.ressource.info.samplerate),n.audiochunk.selection.end=n.transcrService.currentlevel.segments.get(t).time.clone(),n.audioplayer.update(),n.subscrmanager.remove(i);var r=n.subscrmanager.add(n.audiochunk.statechange.subscribe(function(e){n.boundaryselected=!1,n.audiochunk.isPlaybackEnded&&(n.audiochunk.startpos=n.audiochunk.selection.end.clone(),n.audioplayer.update()),e!==rl.STOPPED&&e!==rl.PAUSED&&e!==rl.ENDED||n.subscrmanager.remove(r)},function(e){console.error(e)}));n.audioplayer.startPlayback(!0)}},function(e){console.error(e)}));this.audiochunk.stopPlayback()}else this.boundaryselected=!1},e.prototype.onBoundaryInserted=function(){this.uiService.addElementFromEvent("segment",{value:"boundaries:add"},Date.now(),this.audiomanager.playposition,this.editor.caretpos,"texteditor")},e.prototype.onMarkerInsert=function(e){this.uiService.addElementFromEvent("shortcut",{value:"markers:"+e},Date.now(),this.audiomanager.playposition,this.editor.caretpos,"texteditor")},e.prototype.onMarkerClick=function(e){this.afterTyping("stopped"),this.uiService.addElementFromEvent("mouseclick",{value:e},Date.now(),this.audiomanager.playposition,this.editor.caretpos,"texteditor_toolbar")},e.prototype.saveTranscript=function(){var e=this.editor.html.replace(/( )+/g," ");e=e.replace(/()|(<\/textspan>)/g,"");var n=e.split(/\s*\[\|[0-9]+\|\]\s*/g),t=[];if(e.replace(/\s*\[\|[0-9]+\|\]\s*/g,function(e,n,l){return t.push(Number(n)),""}),n=n.map(function(e){return e.replace(/()|(<\/span>)|(

)|(<\/p>)/g,"")}),n.length>1)for(var l=0,i=0;il?l=t[i]:(t.splice(i,1),n[i+1]=n[i]+n[i+1],n.splice(i,1),--i);n=n.map(function(e){return e.replace(/(^\s+)|(\s+$)/g,"")});for(var i=0;in.length){this.transcrService.currentlevel.segments.segments.splice(n.length,a-n.length);this.transcrService.currentlevel.segments.get(n.length-1).time.samples=this.audiochunk.time.end.samples}},e.prototype.highlight=function(){var e=this.editor.html.replace(/ /g," "),n=[];e.replace(/\s?\[\|[0-9]+\|\]\s?/g,function(e,t,l){return n.push(Number(t)),""});for(var t=0,l=0;lt?(jQuery(".note-editable.panel-body img[data-samples]:eq("+l+")").css({"background-color":"white"}),t=n[l]):jQuery(".note-editable.panel-body img[data-samples]:eq("+l+")").css({"background-color":"red"})},e.prototype.update=function(){this.audiochunk.startpos=this.audiochunk.time.start,this.audioplayer.update(),this.loadEditor()},e.prototype.onSelectionChanged=function(e){},e.ctorParameters=function(){return[{type:fi},{type:vi},{type:Fi},{type:Ci},{type:Ri},{type:Oi}]},e}();wr.editorname="Editor without signal display",wr.initialized=new Wt.EventEmitter;var Sr,kr=[{name:wr.editorname,editor:wr,translate:"interfaces.simple editor",icon:''},{name:_r.editorname,editor:_r,translate:"interfaces.linear editor",icon:''},{name:yr.editorname,editor:yr,translate:"interfaces.2D editor",icon:''}],Or=function(){function e(e,n,t,l,i,r){this.appStorage=e,this.navbarServ=n,this.sanitizer=t,this.langService=l,this.modService=i,this.settService=r,this.test="ok",this.parentformat={download:"",uri:""},this.collapsed=!0,this.preparing={name:"",preparing:!1},this.subscrmanager=new ol}return Object.defineProperty(e.prototype,"converters",{get:function(){return hi.converters},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"AppInfo",{get:function(){return hi},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"transcrServ",{get:function(){return this.navbarServ.transcrService},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"uiService",{get:function(){return this.navbarServ.uiService},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"editors",{get:function(){return kr},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dat",{get:function(){return JSON.stringify(this.transcrServ.exportDataToJSON(),null,3)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"UIElements",{get:function(){return Object(Yt.isNullOrUndefined)(this.uiService)?null:this.uiService.elements},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.subscrmanager.destroy()},e.prototype.ngOnInit=function(){var e=this;this.subscrmanager.add(this.navbarServ.onclick.subscribe(function(n){switch(n){case"export":e.modalexport.open()}}))},e.prototype.ngAfterViewInit=function(){!function(e){e(function(){e(document).on("click",".options-menu",function(e){e.stopPropagation()})})}(jQuery),jQuery(document).on("mouseleave",".navbar-collapse.collapse.in",function(e){jQuery(".navbar-header button").click()}),setTimeout(function(){jQuery.material.init()},200)},e.prototype.setInterface=function(e){this.appStorage.Interface=e,this.navbarServ.interfacechange.emit(e)},e.prototype.onNavBarLeave=function(e){e.target.click()},e.prototype.getTextFile=function(){},e.prototype.sanitize=function(e){return this.sanitizer.bypassSecurityTrustUrl(e)},e.prototype.changeLanguage=function(e){this.langService.use(e),this.appStorage.language=e},e.prototype.interfaceActive=function(e){return!Object(Yt.isNullOrUndefined)(this.navbarServ.interfaces.find(function(n){return e===n}))},e.prototype.toggleSettings=function(e){this.appStorage[e]=!this.appStorage[e],"logging"===e&&(this.uiService.enabled=this.appStorage[e])},e.prototype.onOptionsOpened=function(){this.collapsed=!0},e.prototype.openBugReport=function(){this.modService.show("bugreport")},e.prototype.updateParentFormat=function(e){var n=this;if(!this.preparing.preparing){var t=this.navbarServ.transcrService.annotation.getObj();this.preparing={name:e.name,preparing:!0},setTimeout(function(){"Bundle"===e.name&&(n.navbarServ.transcrService.audiofile.arraybuffer=n.transcrServ.audiomanager.ressource.arraybuffer);var l=e.export(t,n.navbarServ.transcrService.audiofile).file;n.parentformat.download=l.name,window.URL=window.URL||window.webkitURL||!1,null!==n.parentformat.uri&&window.URL.revokeObjectURL(n.parentformat.uri.toString());var i=new File([l.content],l.name),r=window.URL.createObjectURL(i);n.parentformat.uri=n.sanitize(r),n.preparing={name:e.name,preparing:!1}},300)}},e.prototype.getAudioURI=function(){if(Object(Yt.isNullOrUndefined)(this.transcrServ)||Object(Yt.isNullOrUndefined)(this.transcrServ.audiomanager.ressource.arraybuffer))console.error("can't get audio file");else{this.preparing={name:"Audio",preparing:!0},this.parentformat.download=this.transcrServ.audiomanager.ressource.name+this.transcrServ.audiomanager.ressource.extension,window.URL=window.URL||window.webkitURL||!1,null!==this.parentformat.uri&&window.URL.revokeObjectURL(this.parentformat.uri.toString());var e=new File([this.transcrServ.audiomanager.ressource.arraybuffer],this.parentformat.download),n=window.URL.createObjectURL(e);this.parentformat.uri=this.sanitize(n),this.preparing={name:"Audio",preparing:!1}}},e.prototype.getProtocol=function(){if(Object(Yt.isNullOrUndefined)(this.transcrServ))console.error("can't get protocol file");else{this.preparing={name:"Protocol",preparing:!0},this.parentformat.download=this.transcrServ.audiofile.name+".json",window.URL=window.URL||window.webkitURL||!1,null!==this.parentformat.uri&&window.URL.revokeObjectURL(this.parentformat.uri.toString());var e=new File([JSON.stringify(this.transcrServ.extractUI(this.uiService.elements),null,2)],this.parentformat.download),n=window.URL.createObjectURL(e);this.parentformat.uri=this.sanitize(n),this.preparing={name:"Protocol",preparing:!1}}},Object.defineProperty(e.prototype,"arraybufferExists",{get:function(){return!Object(Yt.isNullOrUndefined)(this.transcrServ)&&!Object(Yt.isNullOrUndefined)(this.transcrServ.audiomanager.ressource.arraybuffer)&&this.transcrServ.audiomanager.ressource.arraybuffer.byteLength>0},enumerable:!0,configurable:!0}),e.prototype.getText=function(){return Object(Yt.isNullOrUndefined)(this.transcrServ)?"":this.navbarServ.transcrService.getTranscriptString(new Dl)},e.prototype.clearElements=function(){this.uiService.clear(),this.appStorage.clearLoggingData().catch(function(e){console.error(e)})},e.prototype.onLevelNameClick=function(e){jQuery(e.target).addClass("selected")},e.prototype.onLevelNameLeave=function(e,n){var t=this;if(jQuery(e.target).removeClass("selected"),null!==e.target.value&&""!==e.target.value){var l=this.transcrServ.annotation.levels[n];l.name=e.target.value.replace(" ","_"),this.appStorage.changeAnnotationLevel(n,l.getObj()).catch(function(e){console.error(e)}).then(function(){t.transcrServ.annotation.levels[n].name=e.target.value.replace(" ","_")})}else e.target.value=this.transcrServ.annotation.levels[n].name},e.prototype.onLevelAddClick=function(){for(var e=this,n=this.transcrServ.annotation.levels.length,t="Tier_"+(n+1),l=n;function(n){for(var t=0;t1&&t.appStorage.removeAnnotationLevel(e,n).catch(function(e){console.error(e)}).then(function(){t.transcrServ.annotation.levels.splice(e,1),e<=t.transcrServ.selectedlevel&&(t.transcrServ.selectedlevel=e-1)}),t.collapsed=!1},no:function(){t.collapsed=!1}})},e.prototype.onLevelDuplicateClick=function(e,n){var t=this,l=this.transcrServ.annotation.levels[e].clone();this.appStorage.addAnnotationLevel(l.getObj()).then(function(){t.transcrServ.annotation.levels.push(l)}).catch(function(e){console.error(e)})},e.prototype.selectLevel=function(e){this.transcrServ.selectedlevel=e},e.ctorParameters=function(){return[{type:Oi},{type:Pi},{type:Kt.c},{type:Ht.c},{type:mi},{type:Ri}]},e}(),xr=function(){function e(e,n,t,i,r,o,u,a,s,c,d,p,h,f){var g=this;this.router=e,this._componentFactoryResolver=n,this.audio=t,this.uiService=i,this.transcrService=r,this.appStorage=o,this.keyMap=u,this.changeDetecorRef=a,this.navbarServ=s,this.settingsService=c,this.modService=d,this.langService=p,this.api=h,this.bugService=f,this.send_error="",this.showdetails=!1,this.saving="",this.interface="",this.send_ok=!1,this.shortcutslist=[],this.editorloaded=!1,this.feedback_data={},this.level_subscription_id=0,this.feedback_expanded=!1,this.platform=nl.platform,this.abortTranscription=function(){g.appStorage.uselocalmode||g.saveFeedbackform(),g.transcrService.endTranscription(),g.router.navigate(["/logout"])},this.onSendError=function(e){return g.send_error=e.message,xi.Observable.throw(e)},this.subscrmanager=new ol,this.audiomanager=this.audio.audiomanagers[0],this.navbarServ.transcrService=this.transcrService,this.navbarServ.uiService=this.uiService,this.appStorage.uselocalmode||(this.appStorage.logging=this.settingsService.projectsettings.logging.forced),this.uiService.enabled=this.appStorage.logging,this.subscrmanager.add(this.audiomanager.statechange.subscribe(function(e){if(!g.audiomanager.playonhover){var n=-1;Object(Yt.isNullOrUndefined)(g.currentEditor.instance.editor)||(n=g.currentEditor.instance.editor.caretpos),e!==rl.PLAYING&&e!==rl.INITIALIZED&&e!==rl.PREPARE&&g.uiService.addElementFromEvent("audio",{value:l(e).toLowerCase()},Date.now(),g.audiomanager.playposition,n,g.appStorage.Interface)}})),this.interface=this.appStorage.Interface}return Object.defineProperty(e.prototype,"currentEditor",{get:function(){return this._currentEditor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"loaded",{get:function(){return this.audio.loaded&&!Object(Yt.isNullOrUndefined)(this.transcrService.guidelines)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"appc",{get:function(){return this.settingsService.app_settings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this.settingsService.projectsettings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"responsive",{get:function(){return this.settingsService.responsive.enabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"app_settings",{get:function(){return this.settingsService.app_settings},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){},e.prototype.ngAfterContentChecked=function(){},e.prototype.ngOnInit=function(){var e=this;this.navbarServ.interfaces=this.projectsettings.interfaces,this.loadForm(),this.transcrService.guidelines=this.settingsService.guidelines,this.subscrmanager.add(this.settingsService.guidelinesloaded.subscribe(function(n){e.transcrService.guidelines=n}));for(var n=0;n)|(>)/g,"s")),this.appStorage.comment=this.transcrService.feedback.comment;for(var e in this.feedback_data)this.feedback_data.hasOwnProperty(e)&&this.changeValue(e,this.feedback_data[e]);this.appStorage.save("feedback",this.transcrService.feedback.exportData())},e.prototype.changeValue=function(e,n){var t=this.transcrService.feedback.setValueForControl(e,n.toString());console.warn(t)},e.prototype.translate=function(e,n){if(Object(Yt.isNullOrUndefined)(e[n]))for(var t in e)if(e.hasOwnProperty(t))return e[t];return e[n]},e.prototype.loadForm=function(){var e=this.transcrService.feedback;if(!Object(Yt.isNullOrUndefined)(this.settingsService.projectsettings)&&!Object(Yt.isNullOrUndefined)(e))for(var n in e.groups)if(!Object(Yt.isNullOrUndefined)(n)){var t=e.groups[n];for(var l in t.controls)if(!Object(Yt.isNullOrUndefined)(l)){var i=t.controls[l];"textarea"===i.type.type?this.feedback_data[t.name]=i.value:"checkbox"===i.type.type||Object(Yt.isNullOrUndefined)(i.custom)||Object(Yt.isNullOrUndefined)(i.custom.checked)||!i.custom.checked||(this.feedback_data[t.name]=i.value)}}},e.prototype.onSendNowClick=function(){var e=this;this.modal.dismiss(),this.modal2.open(),this.send_ok=!0;var n=this.transcrService.exportDataToJSON();this.subscrmanager.add(this.api.saveSession(n.transcript,n.project,n.annotator,n.jobno,n.id,n.status,n.comment,n.quality,n.log).catch(this.onSendError).subscribe(function(n){null!==n&&n.hasOwnProperty("statusText")&&"OK"===n.statusText?(e.appStorage.submitted=!0,setTimeout(function(){e.modal2.close(),setTimeout(function(){e.nextTranscription()},1e3)},2e3)):e.send_error=e.langService.instant("send error")}))},e.prototype.onSendButtonClick=function(){this.feedback_form.valid?(this.saveFeedbackform(),this.modal.open()):this.feedback_expanded||this.expandFeedback()},e.prototype.nextTranscription=function(){var e=this;this.transcrService.endTranscription(!1),this.clearData(),this.subscrmanager.add(this.api.beginSession(this.appStorage.user.project,this.appStorage.user.id,Number(this.appStorage.user.jobno),"").subscribe(function(n){if(null!==n){var t=n.json();if(t.data&&t.data.hasOwnProperty("url")&&t.data.hasOwnProperty("id")){if(e.appStorage.audio_url=t.data.url,e.appStorage.data_id=t.data.id,t.data.hasOwnProperty("transcript")){var l=JSON.parse(t.data.transcript);Object(Yt.isArray)(l)&&l.length>0&&(e.appStorage.servertranscipt=l)}t.hasOwnProperty("message")&&Object(Yt.isNumber)(t.message)&&(e.appStorage.jobs_left=Number(t.message)),e.router.navigate(["/user/load"])}else e.appStorage.submitted=!0,e.router.navigate(["/user/transcr/end"])}}))},e.prototype.clearData=function(){this.appStorage.submitted=!1,this.appStorage.clearAnnotationData().catch(function(e){console.error(e)}),this.appStorage.idb.save("options","feedback",{value:null}),this.appStorage.comment="",this.appStorage.clearLoggingData().catch(function(e){console.error(e)}),this.uiService.elements=[],this.settingsService.clearSettings()},e.prototype.checkBoxChanged=function(e,n){for(var t=0;t0){for(var n="",t=0;t"),this.errortooltip.addClass("error-tooltip"),this.errortooltip.append(jQuery("

").addClass("title").text("Title")),this.errortooltip.append(jQuery("
").addClass("description").text("")),this.errortooltip.on("mouseleave",function(){jQuery(this).css("display","none")}),this.errortooltip.on("mouseout",function(){jQuery(this).css("display","none")}),jQuery("body").append(this.errortooltip),this.errortooltip=jQuery(".error-tooltip"),this.visible&&(this.updateSegments(),this.cd.markForCheck(),this.cd.detectChanges())},e.prototype.ngOnChanges=function(e){this.show_loading=!0,Object(Yt.isNullOrUndefined)(e.visible)||!0!==e.visible.currentValue?Object(Yt.isNullOrUndefined)(e.visible)||!1!==e.visible.currentValue||jQuery(".error-tooltip").css("display","none"):(this.updateSegments(),this.transcrService.analyse())},e.prototype.onSegmentClicked=function(e){this.segmentclicked.emit(e)},e.ctorParameters=function(){return[{type:Fi},{type:fi},{type:Kt.c},{type:Wt.ChangeDetectorRef}]},e}(),jr=function(){function e(e,n,t,l,i,r){var o=this;this.keyMap=e,this.transcrService=n,this.audio=t,this.uiService=l,this.settingsService=i,this.appStorage=r,this.act=new Wt.EventEmitter,this.easymode=!1,this.showWindow=!1,this.pos_y=0,this.doit=function(e){o.audiomanager.audioplaying&&o.loupe.viewer.stopPlayback(),o.save(),"down"!==e?(o.goToSegment(e),setTimeout(function(){o.loupe.viewer.startPlayback()},500)):o.close()},this.onKeyDown=function(e){switch(e.comboKey){case"ALT + ARROWRIGHT":e.event.preventDefault(),o.doit("right");break;case"ALT + ARROWLEFT":e.event.preventDefault(),o.doit("left");break;case"ALT + ARROWDOWN":e.event.preventDefault(),o.doit("down");break;case"ESC":o.doit("down")}},this.subscrmanager=new ol}return Object.defineProperty(e.prototype,"shortcuttriggered",{get:function(){return this.loupe.shortcuttriggered},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marker_insert",{get:function(){return this.editor.marker_insert},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"marker_click",{get:function(){return this.editor.marker_click},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"app_settings",{get:function(){return this.settingsService.app_settings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this.settingsService.projectsettings},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"responsive",{get:function(){return this.settingsService.responsive.enabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"audiomanager",{get:function(){return this.audiochunk.audiomanager},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ressource",{get:function(){return this.audiochunk.audiomanager.ressource},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.editor.Settings.markers=this.transcrService.guidelines.markers,this.editor.Settings.responsive=this.settingsService.responsive.enabled,this.editor.Settings.special_markers.boundary=!0,this.loupe.viewer.Settings.justify_signal_height=!0,this.loupe.viewer.round_values=!1;var n=this.transcrService.currentlevel.segments;this.temp_segments=n.clone(),this.subscrmanager.add(this.editor.loaded.subscribe(function(){e.segment_index>-1&&e.transcrService.currentlevel.segments&&e.segment_index-1&&this.transcrService.currentlevel.segments&&this.segment_index-1)this.transcrService.currentlevel.segments.segments=this.temp_segments.segments,this.transcrService.currentlevel.segments.onsegmentchange.emit(null);else{var e=this.transcrService.currentlevel.segments.get(this.segment_index).clone();e.transcript=this.editor.rawText,this.transcrService.currentlevel.segments.change(this.segment_index,e)}},e.prototype.onButtonClick=function(e){if(this.appStorage.logging){var n={start:-1,length:-1,textlength:-1};if(this.segment_index>-1){var t=this.transcrService.currentlevel.segments.get(this.segment_index);n.start=t.time.samples,n.length=this.segment_index-1&&this.transcrService.currentlevel.segments&&this.segment_index0){var l=this.segment_index-1;for(l=this.segment_index-1;l>0;l--)if(this.transcrService.currentlevel.segments.get(l).transcript!==this.transcrService.break_marker.code){t=this.transcrService.currentlevel.segments.get(l),this.segment_index=l;break}this.transcrService.currentlevel.segments.get(l).transcript!==this.transcrService.break_marker.code&&(t=this.transcrService.currentlevel.segments.get(l),this.segment_index=l)}var i=new Jt(0,this.audiomanager.ressource.info.samplerate);this.segment_index>0&&(i=this.transcrService.currentlevel.segments.get(this.segment_index-1).time.clone()),Object(Yt.isNullOrUndefined)(t)?console.error("segment is null"):(this.editor.rawText=this.transcrService.currentlevel.segments.get(this.segment_index).transcript,this.audiochunk=new ul(new il(i,t.time.clone()),this.audiochunk.audiomanager))}},e.prototype.editor_rawText=function(e){this.editor.rawText=e},e.prototype.onShortCutTriggered=function(e,n){var t={start:-1,length:-1,textlength:-1};if(this.segment_index>-1){var l=this.transcrService.currentlevel.segments.get(this.segment_index);t.start=l.time.samples,t.length=this.segment_index-1){var t=this.transcrService.currentlevel.segments.get(this.segment_index);n.start=t.time.samples,n.length=this.segment_index-1){var t=this.transcrService.currentlevel.segments.get(this.segment_index);n.start=t.time.samples,n.length=this.segment_index-1){var t=this.transcrService.currentlevel.segments.get(this.segment_index);n.start=t.time.samples,n.length=this.segment_index-1){var t=this.transcrService.currentlevel.segments.get(this.segment_index);n.start=t.time.samples,n.length=this.segment_index-1){var t=n>0?this.temp_segments.get(n-1).time.samples:0;this.audiochunk.startpos=new Jt(t,this.audiomanager.ressource.info.samplerate),this.audiochunk.selection.end=this.temp_segments.get(n).time.clone(),this.loupe.viewer.av.drawnselection=this.audiochunk.selection,this.loupe.viewer.drawSegments(),this.loupe.viewer.startPlayback()}},e.prototype.afterTyping=function(e){"stopped"===e&&(this.saveTranscript(),this.highlight())},e.prototype.saveTranscript=function(){var e=this.transcrService.currentlevel.segments.getSegmentBySamplePosition(this.audiochunk.time.start.samples+20);this.temp_segments=this.transcrService.currentlevel.segments.clone();var n=this.editor.html.replace(/ /g," "),t=n.split(/\s?\[\|[0-9]+\|\]\s?/g),l=[];if(n.replace(/\s?\[\|[0-9]+\|\]\s?/g,function(e,n,t){return l.push(Number(n)),""}),t=t.map(function(e){return e.replace(/()|(<\/span>)|(

)|(<\/p>)/g,"")}),t.length>1)for(var i=0,r=0;ri?i=l[r]:(l.splice(r,1),t[r+1]=t[r]+t[r+1],t.splice(r,1),--r);for(var r=0;r\s?/g,function(e,t,l){return n.push(Number(t)),""});for(var t=0,l=0;lt?(jQuery(".note-editable.panel-body img[data-samples]:eq("+l+")").css({"background-color":"white"}),t=n[l]):jQuery(".note-editable.panel-body img[data-samples]:eq("+l+")").css({"background-color":"red"})},e.ctorParameters=function(){return[{type:vi},{type:Fi},{type:fi},{type:Ci},{type:Ri},{type:Oi}]},e}(),Rr=function(){function e(e,n,t,l,i,r){var o=this;this.router=e,this.appStorage=n,this.transcrServ=t,this.modService=l,this.langService=i,this.audioService=r,this.error="",this.navigate=function(){o.router.navigate(["/user/load"])},this.abortTranscription=function(){o.transcrServ.endTranscription(),o.router.navigate(["/logout"])},this.newTranscription=function(){var e=!1,n=function(){o.audioService.registerAudioManager(o.dropzone.audiomanager),o.appStorage.beginLocalSession(o.dropzone.files,e,o.navigate,function(e){"file not supported"===e&&o.showErrorMessage(o.langService.instant("reload-file.file not supported",{type:""}))})};if(Object(Yt.isNullOrUndefined)(o.dropzone.oannotation))n();else{for(var t=[],l=0;l");for(var n in e)if(!Object(Yt.isNullOrUndefined)(e[n]))return e[n].replace("\n","
")},e.prototype.logout=function(){this.settService.clearSettings(),this.router.navigate(["/logout"])},e.prototype.accept=function(){Object(Yt.isNullOrUndefined)(this.appStorage.agreement)&&(this.appStorage.agreement={}),this.appStorage.agreement[this.appStorage.user.project]=!0,this.appStorage.sessStr.store("agreement",this.appStorage.agreement),this.router.navigate(["/user/transcr"])},e.ctorParameters=function(){return[{type:Ri},{type:hr.k},{type:Ht.c},{type:Oi}]},e}(),Dr=function(){function e(e,n,t,l){this.sanitizer=e,this.cd=n,this.settService=t,this.navService=l}return Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this.settService.projectsettings},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.navService.show_interfaces=!1,this.navService.show_export=!1},e.prototype.ngOnChanges=function(e){Object(Yt.isNullOrUndefined)(e.url)||(this.cd.markForCheck(),this.cd.checkNoChanges())},Object.defineProperty(e.prototype,"sanitized_url",{get:function(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.projectsettings.navigation.help_url)},enumerable:!0,configurable:!0}),e.ctorParameters=function(){return[{type:Kt.c},{type:Wt.ChangeDetectorRef},{type:Ri},{type:Pi}]},e}(),Lr=[{path:"load",component:fr},{path:"agreement",component:Ar,canActivate:[Tr]},{path:"transcr",component:xr,canActivate:[Er,Tr]},{path:"transcr/help",component:Dr,canActivate:[Er,Tr]},{path:"transcr/end",component:Cr,canActivate:[Nr]},{path:"transcr/reload-file",component:Rr,canActivate:[Ir]},{path:"",redirectTo:"/user/load",pathMatch:"full"}],Ur=function(){function e(e,n){this.appStorage=e,this.router=n}return e.prototype.canActivate=function(e,n){return!0!==this.appStorage.LoggedIn||(this.router.navigate(["/user/transcr"]),!1)},e.ctorParameters=function(){return[{type:Oi},{type:hr.k}]},e}(),zr=function(){function e(e,n){this.appStorage=e,this.router=n}return e.prototype.canActivate=function(e,n){return!!this.appStorage.logged_in||(this.router.navigate(["/user/transcr"]),!1)},e.ctorParameters=function(){return[{type:Oi},{type:hr.k}]},e}(),Fr=function(){function e(e,n,t){this.appStorage=e,this.router=n,this.settingsService=t}return e.prototype.canActivate=function(e,n){return Object(Yt.isNullOrUndefined)(this.settingsService.app_settings)?this.settingsService.settingsloaded.first():this.settingsService.validated},e.ctorParameters=function(){return[{type:Oi},{type:hr.k},{type:Ri}]},e}(),Br=function(){function e(e,n,t,l){this.sanitizer=e,this.cd=n,this.settService=t,this.navService=l}return Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this.settService.projectsettings},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.navService.show_interfaces=!1,this.navService.show_export=!1},e.prototype.ngOnChanges=function(e){Object(Yt.isNullOrUndefined)(e.url)||(this.cd.markForCheck(),this.cd.checkNoChanges())},Object.defineProperty(e.prototype,"sanitized_url",{get:function(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.projectsettings.navigation.help_url)},enumerable:!0,configurable:!0}),e.ctorParameters=function(){return[{type:Kt.c},{type:Wt.ChangeDetectorRef},{type:Ri},{type:Pi}]},e}(),Vr=function(){function e(e,n,t,l){this.sanitizer=e,this.cd=n,this.settService=t,this.navService=l}return Object.defineProperty(e.prototype,"projectsettings",{get:function(){return this.settService.projectsettings},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.navService.show_interfaces=!1,this.navService.show_export=!1},e.prototype.ngOnChanges=function(e){Object(Yt.isNullOrUndefined)(e.url)||(this.cd.markForCheck(),this.cd.checkNoChanges())},Object.defineProperty(e.prototype,"sanitized_url",{get:function(){return this.sanitizer.bypassSecurityTrustResourceUrl(this.projectsettings.navigation.help_url)},enumerable:!0,configurable:!0}),e.ctorParameters=function(){return[{type:Kt.c},{type:Wt.ChangeDetectorRef},{type:Ri},{type:Pi}]},e}(),Wr=function(){function e(e,n){var t=this;this.appStorage=e,this.api=n,this.subscrmanager=new ol,this.setOnlineSessionToFree=function(e){t.subscrmanager.add(t.api.fetchAnnotation(t.appStorage.data_id).subscribe(function(n){var l=n.json();l.data.hasOwnProperty("status")&&"BUSY"===l.data.status?t.subscrmanager.add(t.api.closeSession(t.appStorage.user.id,t.appStorage.data_id,"").subscribe(function(n){e()})):e()},function(){e()}))}}return e.prototype.ngOnInit=function(){},e.prototype.ngOnDestroy=function(){},e.prototype.clearAllData=function(){var e=this;this.appStorage.uselocalmode?this.appStorage.clearAnnotationData().then(function(){e.appStorage.clearOptions()}).then(function(){e.appStorage.clearLoggingData()}).then(function(){alert("All cleared. The app will be reloaded."),document.location.reload(!0)}):this.setOnlineSessionToFree(function(){e.appStorage.clearAnnotationData().then(function(){e.appStorage.clearLoggingData()}).then(function(){e.appStorage.clearOptions()}).then(function(){alert("All cleared. The app will be reloaded."),document.location.reload(!0)})})},e.prototype.refreshApp=function(){document.location.reload(!0)},e.ctorParameters=function(){return[{type:Oi},{type:Fl}]},e}(),qr=function(){function e(){}return e.prototype.ngOnInit=function(){},e.ctorParameters=function(){return[]},e}(),Kr=[{path:"",redirectTo:"/login",pathMatch:"full"},{path:"login",component:mr,canActivate:[Fr,Ur]},{path:"news",component:Br,canActivate:[Fr]},{path:"faq",component:Vr,canActivate:[Fr]},{path:"features",component:qr,canActivate:[Fr]},{path:"logout",component:vr,canActivate:[Fr,zr]},{path:"user",component:br,canActivate:[Fr],children:Lr},{path:"help-tools",component:Wr},{path:"**",redirectTo:"/login",pathMatch:"full"}],$r=hr.n.forRoot(Kr),Xr=function(){function e(){}return e.prototype.transform=function(e,n){return e&&e>-1?Math.round(100*e):0},e}(),Hr=function(){function e(){}return e.prototype.transform=function(e,n){return e&&e>-1?Math.round(100*e)/100:0},e}(),Qr=function(){function e(){}return e.prototype.transform=function(e,n){for(var t=0,l=0,i="",r=1;r0)for(var r=0;r-1);else{var r=videojs(l,{fluid:!0,autoplay:!1,preload:"auto"},function(){});this.video_players.push(r)}}}},e.prototype.open=function(){this.modal_guidelines.open()},e.prototype.close=function(){this.modal_guidelines.dismiss()},e.prototype.unCollapseAll=function(){this.collapsed=[];for(var e=0;e-1)this.shown_guidelines.instructions.push(t);else{var l=JSON.parse(JSON.stringify(t));l.entries=[];for(var i=0;i-1||r.description.indexOf(e)>-1)&&l.entries.push(r)}l.entries.length>0&&this.shown_guidelines.instructions.push(l)}}}else this.shown_guidelines=JSON.parse(JSON.stringify(this.guidelines))},e.prototype.exportPDF=function(){if(!(Object(Yt.isNullOrUndefined)(this.settService.projectsettings)||Object(Yt.isNullOrUndefined)(this.settService.projectsettings.plugins)||Object(Yt.isNullOrUndefined)(this.settService.projectsettings.plugins.pdfexport)||Object(Yt.isNullOrUndefined)(this.settService.projectsettings.plugins.pdfexport.url))){var e=jQuery("

").attr("method","post").attr("target","blank").attr("action",this.settService.projectsettings.plugins.pdfexport.url).appendTo("body"),n={translation:this.lang.instant("general"),guidelines:this.guidelines},t=jQuery("").attr("name","json").attr("type","text").attr("value",JSON.stringify(n));e.append(t),e.submit().remove()}},e.ctorParameters=function(){return[{type:Fi},{type:Wt.ChangeDetectorRef},{type:Ht.c},{type:Ri}]},e}(),no=t("fL27"),to=t("ZBFC"),lo=t("Hm69"),io=function(){function e(e){var n=this;this.modService=e,this._files=[],this.subscrmanager=new ol,this.afterDrop=function(){n._oannotation=null;for(var e=0;e0)for(var e=0;e active",animation:{type:4,styles:null,timings:"300ms ease-in"},options:null},{type:1,expr:"active => inactive",animation:{type:4,styles:null,timings:"300ms ease-in"},options:null}],options:{}}]}}),Oo=Wt["\u0275ccf"]("app-login",mr,j,{},{},[]),xo=["iframe[_ngcontent-%COMP%]{width:100%;height:100%;-ms-flex:auto;flex:auto;border:none}[_nghost-%COMP%], iframe[_ngcontent-%COMP%]{-webkit-box-flex:1}[_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex:auto;flex:auto}"],Co=[xo],Po=Wt["\u0275crt"]({encapsulation:0,styles:Co,data:{}}),jo=Wt["\u0275ccf"]("app-news",Br,M,{url:"url"},{},[]),Ro=["iframe[_ngcontent-%COMP%]{width:100%;height:100%;-ms-flex:auto;flex:auto;border:none}[_nghost-%COMP%], iframe[_ngcontent-%COMP%]{-webkit-box-flex:1}[_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex:auto;flex:auto}"],Mo=[Ro],To=Wt["\u0275crt"]({encapsulation:0,styles:Mo,data:{}}),No=Wt["\u0275ccf"]("app-faq",Vr,N,{url:"url"},{},[]),Io=["iframe[_ngcontent-%COMP%]{width:100%;height:100%;-ms-flex:auto;flex:auto;border:none}[_nghost-%COMP%], iframe[_ngcontent-%COMP%]{-webkit-box-flex:1}[_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex:auto;flex:auto}"],Eo=[Io],Ao=Wt["\u0275crt"]({encapsulation:0,styles:Eo,data:{}}),Do=Wt["\u0275ccf"]("app-features",qr,E,{},{},[]),Lo=["#logout[_ngcontent-%COMP%]{text-align:center}"],Uo=[Lo],zo=Wt["\u0275crt"]({encapsulation:0,styles:Uo,data:{}}),Fo=Wt["\u0275ccf"]("app-login",vr,D,{},{},[]),Bo=["#members-area[_ngcontent-%COMP%]{position:relative}#members-area[_ngcontent-%COMP%], [_nghost-%COMP%]{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}"],Vo=[Bo],Wo=Wt["\u0275crt"]({encapsulation:0,styles:Vo,data:{}}),qo=Wt["\u0275ccf"]("app-members-area",br,U,{},{},[]),Ko=["#loading[_ngcontent-%COMP%]{text-align:center;padding:20px;margin-top:10%}#loading[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{margin-top:20px}.log[_ngcontent-%COMP%]{color:red;line-height:1.5}"],$o=[Ko],Xo=Wt["\u0275crt"]({encapsulation:0,styles:$o,data:{}}),Ho=Wt["\u0275ccf"]("app-loading",fr,K,{},{loaded:"loaded"},[]),Qo=["#agreement[_ngcontent-%COMP%]{max-width:800px;margin:0 auto;padding:20px;margin-top:20px}#agreement[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:.9em}#bottom-nav[_ngcontent-%COMP%]{margin-top:20px}"],Go=[Qo],Yo=Wt["\u0275crt"]({encapsulation:0,styles:Go,data:{}}),Jo=Wt["\u0275ccf"]("app-agreement",Ar,X,{},{},[]),Zo=["[_nghost-%COMP%]{-webkit-box-flex:1;-ms-flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;flex:1 0 auto}#rules[_ngcontent-%COMP%] .modal-content[_ngcontent-%COMP%], #rules[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%]{width:100%}#feedback[_ngcontent-%COMP%] .col-xs-3[_ngcontent-%COMP%]{text-align:center}#feedback[_ngcontent-%COMP%]{padding:10px}#volume-slider[_ngcontent-%COMP%]{width:100%}.slider-descr[_ngcontent-%COMP%]{text-align:center;font-size:.7em}#shortcuts[_ngcontent-%COMP%]{display:none}.shortcut-descr[_ngcontent-%COMP%]{font-size:.6em}#rules[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] .table[_ngcontent-%COMP%]{font-size:.7em}#rules[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{height:25px}#saving[_ngcontent-%COMP%]{position:absolute;right:0;margin-right:5px}#bottom-feedback[_ngcontent-%COMP%]{border:1px solid #3f51b5;background-color:#fff;padding:5px;height:30px;position:absolute;bottom:0;margin-bottom:50px;width:100%;z-index:80;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}#bottom-feedback[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%]{display:none;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.ctrl[_ngcontent-%COMP%]{margin-right:10px}.checkbox[_ngcontent-%COMP%], .ctrl[_ngcontent-%COMP%], .radio[_ngcontent-%COMP%]{display:inline}.form-group[_ngcontent-%COMP%]{margin-top:0}.required_marker[_ngcontent-%COMP%]{color:red}"],eu=[".red[_ngcontent-%COMP%]{background-color:#ff899d}.segment-number[_ngcontent-%COMP%]{padding:3px}.segment-warning[_ngcontent-%COMP%]{color:red}.found-errors[_ngcontent-%COMP%]{padding:5px;display:block;text-align:center}"],nu=[eu],tu=Wt["\u0275crt"]({encapsulation:0,styles:nu,data:{}}),lu=(Wt["\u0275ccf"]("app-transcr-overview",Pr,Z,{segments:"segments",show_transcriptiontable:"show_transcriptiontable",visible:"visible"},{segmentclicked:"segmentclicked"},[]),t("MvXP")),iu=t("oXBO"),ru=[".alert[_ngcontent-%COMP%]{top:0;right:0;position:fixed;margin-top:30px;width:30%;z-index:30}"],ou=[ru],uu=Wt["\u0275crt"]({encapsulation:0,styles:ou,data:{animation:[{type:7,name:"fadeToggle",definitions:[{type:0,name:"inactive",styles:{type:6,styles:{display:"none",opacity:"0.0"},offset:null},options:void 0},{type:0,name:"active",styles:{type:6,styles:{display:"inherit",opacity:"1.0"},offset:null},options:void 0},{type:1,expr:"inactive => active",animation:{type:4,styles:null,timings:"300ms ease-in"},options:null},{type:1,expr:"active => inactive",animation:{type:4,styles:null,timings:"300ms ease-in"},options:null}],options:{}}]}}),au=(Wt["\u0275ccf"]("app-alert",sr,ie,{},{},[]),t("+K1p")),su=t("vCyR"),cu=t("c9Yo"),du=t("8AR9"),pu=t("RoUE"),hu=t("t+dn"),fu=["#fastbar[_ngcontent-%COMP%]{font-size:.8em;text-align:center}#fastbar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#0095dd}#fastbar[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{text-align:center}.btn-group.btn-group-justified.btn-group-sm[_ngcontent-%COMP%]{margin:0}"],gu=[fu],mu=Wt["\u0275crt"]({encapsulation:0,styles:gu,data:{}}),vu=(Wt["\u0275ccf"]("app-fastbar",Mr,he,{responsive:"responsive",button_labels:"button_labels"},{shortcutbtnclicked:"shortcutbtnclicked",guidelinesbtnclicked:"guidelinesbtnclicked",overviewbtnclicked:"overviewbtnclicked"},[]),[".search[_ngcontent-%COMP%]{width:100%}.authors[_ngcontent-%COMP%], .project[_ngcontent-%COMP%]{display:block}.authors[_ngcontent-%COMP%], .project[_ngcontent-%COMP%], .version[_ngcontent-%COMP%]{color:gray;font-size:.8em}.col-priority[_ngcontent-%COMP%]{text-align:right}.guidelines-descr[_ngcontent-%COMP%]{font-size:.9em;padding-left:0}.guidelines-title[_ngcontent-%COMP%]{font-size:1em;font-weight:700;display:block}.panel-example[_ngcontent-%COMP%]{min-width:50%}.panel-title[_ngcontent-%COMP%]{font-size:.9em}.entry-row[_ngcontent-%COMP%]{margin-bottom:20px;padding:5px 0}.select-row[_ngcontent-%COMP%]{cursor:pointer;border-top:1px solid #00008b;border-bottom:1px solid #00008b;padding:5px;margin-bottom:5px}audio[_ngcontent-%COMP%]{width:100%;margin-bottom:5px}.modal-dialog[_ngcontent-%COMP%]{width:90%}.media[_ngcontent-%COMP%]{margin-bottom:10px}"]),bu=t("C2HG"),yu=[vu],_u=Wt["\u0275crt"]({encapsulation:0,styles:yu,data:{}}),wu=(Wt["\u0275ccf"]("app-transcr-guidelines",eo,Ce,{guidelines:"guidelines"},{},[]),[Zo]),Su=Wt["\u0275crt"]({encapsulation:0,styles:wu,data:{}}),ku=Wt["\u0275ccf"]("app-transcription",xr,pn,{},{},[]),Ou=["iframe[_ngcontent-%COMP%]{width:100%;height:100%;-ms-flex:auto;flex:auto;border:none}[_nghost-%COMP%], iframe[_ngcontent-%COMP%]{-webkit-box-flex:1}[_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex:auto;flex:auto}"],xu=[Ou],Cu=Wt["\u0275crt"]({encapsulation:0,styles:xu,data:{}}),Pu=Wt["\u0275ccf"]("app-help",Dr,fn,{url:"url"},{},[]),ju=["#transcr-end[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center}#transcr-end[_ngcontent-%COMP%]{margin-top:10%}"],Ru=[ju],Mu=Wt["\u0275crt"]({encapsulation:0,styles:Ru,data:{}}),Tu=Wt["\u0275ccf"]("app-transcription-submitted",Cr,mn,{},{},[]),Nu=[""],Iu=[Nu],Eu=Wt["\u0275crt"]({encapsulation:0,styles:Iu,data:{}}),Au=Wt["\u0275ccf"]("app-reload-file",Rr,bn,{},{},[]),Du=["@media only screen and (min-width:768px){.is-table-row[_ngcontent-%COMP%]{display:table}.is-table-row[_ngcontent-%COMP%] [class*=col-][_ngcontent-%COMP%]{float:none;display:table-cell;vertical-align:top}}"],Lu=[Du],Uu=Wt["\u0275crt"]({encapsulation:0,styles:Lu,data:{}}),zu=Wt["\u0275ccf"]("app-help-tools",Wr,_n,{},{},[]),Fu=["[_nghost-%COMP%]{-webkit-box-flex:1;-ms-flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;flex:1 0 auto}"],Bu=[".slider[_ngcontent-%COMP%]{padding:0}.slider-descr[_ngcontent-%COMP%]{font-size:.7em;vertical-align:middle;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;margin-bottom:3px}.shortcut-descr[_ngcontent-%COMP%]{font-size:.6em}.audio-nav[_ngcontent-%COMP%]{margin-bottom:3px}.audio-nav[_ngcontent-%COMP%] .btn-toolbar[_ngcontent-%COMP%]{margin-left:0}.audio-nav[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%]{margin:0}.audio-nav[_ngcontent-%COMP%] .col-xs-1[_ngcontent-%COMP%]{padding:0}.btn-description[_ngcontent-%COMP%]{font-size:.9em}"],Vu=[Bu],Wu=Wt["\u0275crt"]({encapsulation:0,styles:Vu,data:{}}),qu=(Wt["\u0275ccf"]("app-audio-navigation",Ul,On,{audioplaying:"audioplaying",responsive:"responsive",easymode:"easymode",replay:"replay",buttons:"buttons"},{buttonclick:"buttonclick",volumechange:"volumechange",aftervolumechange:"aftervolumechange",speedchange:"speedchange",afterspeedchange:"afterspeedchange"},[]),[".audioplayer[_ngcontent-%COMP%]{width:100%;position:relative;resize:vertical;display:block;border:1px solid gray}.ap-graphicscanvas[_ngcontent-%COMP%], .ap-mousecanvas[_ngcontent-%COMP%], .ap-overlaycanvas[_ngcontent-%COMP%], .ap-playcanvas[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;-ms-user-select:none;user-select:none;-webkit-user-select:none;-moz-user-select:none}.ap-graphicscanvas[_ngcontent-%COMP%]{z-index:1}.ap-overlaycanvas[_ngcontent-%COMP%]{z-index:2}.ap-mousecanvas[_ngcontent-%COMP%]{z-index:3}.ap-playcanvas[_ngcontent-%COMP%]{z-index:4;cursor:pointer}#volume-slider[_ngcontent-%COMP%]{width:100%}.slider-descr[_ngcontent-%COMP%]{text-align:center;font-size:.7em}.ap-time-end-display[_ngcontent-%COMP%], .ap-time-start-display[_ngcontent-%COMP%]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:absolute;z-index:10;bottom:0}.ap-time-start-display[_ngcontent-%COMP%]{left:0;margin-left:10px}.ap-time-end-display[_ngcontent-%COMP%]{right:0;margin-right:10px}"]),Ku=[qu],$u=Wt["\u0275crt"]({encapsulation:0,styles:Ku,data:{}}),Xu=(Wt["\u0275ccf"]("app-audioplayer",Xi,Cn,{audiochunk:"audiochunk"},{shortcuttriggered:"shortcuttriggered"},[]),[".transcr-editor[_ngcontent-%COMP%]{width:100%;min-height:100px}.textspan[_ngcontent-%COMP%]{display:inline}.transcr-editor[_ngcontent-%COMP%] .editor-nav[_ngcontent-%COMP%]{width:100%;height:2em}.transcr-editor[_ngcontent-%COMP%] .textfield[_ngcontent-%COMP%]{margin:5px;display:block}.transcr-editor[_ngcontent-%COMP%] .marker-btn[_ngcontent-%COMP%]{height:100%;display:inline-block;padding:3px 5px;margin-right:2px;background-color:#faebcc;vertical-align:middle}.transcr-editor[_ngcontent-%COMP%] .marker-btn[_ngcontent-%COMP%]:hover{background-color:#d6e9c6;cursor:pointer}.transcr-editor[_ngcontent-%COMP%] .marker-icon[_ngcontent-%COMP%]{display:inline;margin-right:3px}.transcr-editor[_ngcontent-%COMP%] .btn-shortcut[_ngcontent-%COMP%]{font-size:.7em;margin:auto 0}.transcr-editor[_ngcontent-%COMP%] .btn-description[_ngcontent-%COMP%]{font-size:.3em}.btn-icon[_ngcontent-%COMP%], .note-editable[_ngcontent-%COMP%] .btn-icon-text[_ngcontent-%COMP%], .note-toolbar[_ngcontent-%COMP%] .btn-icon[_ngcontent-%COMP%]{height:16px}.note-toolbar[_ngcontent-%COMP%] .btn-descr[_ngcontent-%COMP%], .note-toolbar[_ngcontent-%COMP%] .btn-shortcut[_ngcontent-%COMP%]{margin-left:3px}.note-editable[_ngcontent-%COMP%]{border:1px solid red}.transcr-editor[_ngcontent-%COMP%], [_nghost-%COMP%]{-webkit-box-flex:1;-ms-flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;flex:1 0 auto}"]),Hu=[Xu],Qu=Wt["\u0275crt"]({encapsulation:0,styles:Hu,data:{}}),Gu=(Wt["\u0275ccf"]("app-transcr-editor",ar,jn,{visible:"visible",markers:"markers",easymode:"easymode",height:"height",playposition:"playposition",audiochunk:"audiochunk"},{loaded:"loaded",onkeyup:"onkeyup",marker_insert:"marker_insert",marker_click:"marker_click",typing:"typing",boundaryclicked:"boundaryclicked",boundaryinserted:"boundaryinserted",selectionchanged:"selectionchanged"},[]),[Fu]),Yu=Wt["\u0275crt"]({encapsulation:0,styles:Gu,data:{}}),Ju=Wt["\u0275ccf"]("app-audioplayer-gui",wr,Mn,{},{},[]),Zu=["#overlay-transcr[_ngcontent-%COMP%]{position:relative;-webkit-box-flex:1;-ms-flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;flex:1 0 auto}[_ngcontent-%COMP%]::-webkit-scrollbar{-webkit-appearance:none;width:7px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:rgba(0,0,0,.5);-webkit-box-shadow:0 0 1px hsla(0,0%,100%,.5)}#special[_ngcontent-%COMP%]{width:100%;background-color:#fff;padding:0;border:1px solid dimgray}[_nghost-%COMP%]{-webkit-box-flex:1;-ms-flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;flex:1 0 auto}"],ea=["#window[_ngcontent-%COMP%]{width:95%;z-index:100;padding:10px;margin:2.5%;border:1px solid gray;box-shadow:10px 10px 50px grey}#black[_ngcontent-%COMP%], #window[_ngcontent-%COMP%]{position:absolute;background-color:#fff}#black[_ngcontent-%COMP%]{width:100%;display:block;height:100%;z-index:99;opacity:.7}.window-nav-bottom[_ngcontent-%COMP%], .window-nav-top[_ngcontent-%COMP%]{display:block;width:100%;text-align:right}.window-nav-top[_ngcontent-%COMP%]{height:2em}.window-nav-bottom[_ngcontent-%COMP%]{bottom:0}#window[_ngcontent-%COMP%] .audio-nav[_ngcontent-%COMP%]{margin-bottom:-10px}"],na=[".loupe[_ngcontent-%COMP%]{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:auto;flex:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}"],ta=[".audioviewer[_ngcontent-%COMP%]{width:100%;height:100%;resize:vertical;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.audioviewer[_ngcontent-%COMP%], .audioviewer[_ngcontent-%COMP%] .audio-line[_ngcontent-%COMP%]{position:relative}.graphicscanvas[_ngcontent-%COMP%], .mousecanvas[_ngcontent-%COMP%], .overlaycanvas[_ngcontent-%COMP%], .playcanvas[_ngcontent-%COMP%]{position:absolute;-ms-user-select:none;user-select:none;-webkit-user-select:none;-moz-user-select:none}.graphicscanvas[_ngcontent-%COMP%]{z-index:1}.overlaycanvas[_ngcontent-%COMP%]{z-index:2}.mousecanvas[_ngcontent-%COMP%]{z-index:3}.playcanvas[_ngcontent-%COMP%]{z-index:4;cursor:default}.playcanvas.dragable[_ngcontent-%COMP%]{cursor:move}.scrollbar[_ngcontent-%COMP%], [_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:auto;flex:auto;height:100%}.scrollbar[_ngcontent-%COMP%]{position:absolute;background-color:#fff;width:20px;z-index:20;right:0;border:1px solid gray;cursor:pointer}.scrollbar[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]{height:20px;width:100%;background-color:#00aa9a;cursor:pointer}.placeholder[_ngcontent-%COMP%]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:auto;flex:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;vertical-align:middle;text-align:center;background-color:#fff}.placeholder[_ngcontent-%COMP%] .fa-spinner[_ngcontent-%COMP%]{margin:1% auto}"],la=[ta],ia=Wt["\u0275crt"]({encapsulation:0,styles:la,data:{}}),ra=(Wt["\u0275ccf"]("app-audioviewer",Zi,En,{margin:"margin",audiochunk:"audiochunk",name:"name"},{selchange:"selchange",segmententer:"segmententer",segmentchange:"segmentchange",mousecursorchange:"mousecursorchange",playcursorchange:"playcursorchange",shortcuttriggered:"shortcuttriggered",alerttriggered:"alerttriggered",scrolling:"scrolling",scrollbarchange:"scrollbarchange",pos_time:"pos_time"},[]),[na]),oa=Wt["\u0275crt"]({encapsulation:0,styles:ra,data:{}}),ua=(Wt["\u0275ccf"]("app-loupe",tr,Dn,{audiochunk:"audiochunk",height:"height",margin:"margin",Settings:"Settings"},{mousecursorchange:"mousecursorchange",shortcuttriggered:"shortcuttriggered",segmententer:"segmententer",alerttriggered:"alerttriggered"},[]),[ea]),aa=Wt["\u0275crt"]({encapsulation:0,styles:ua,data:{}}),sa=(Wt["\u0275ccf"]("app-transcr-window",jr,qn,{easymode:"easymode",audiochunk:"audiochunk",segment_index:"segment_index"},{act:"act",shortcuttriggered:"shortcuttriggered",marker_insert:"marker_insert",marker_click:"marker_click"},[]),[".circleloupe[_ngcontent-%COMP%], .loupe[_ngcontent-%COMP%], [_nghost-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:auto;flex:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}"]),ca=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])};return function(n,t){function l(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}}(),da=function(e){function n(n){var t=e.call(this)||this;return t.audio=n,t}return ca(n,e),n.ctorParameters=function(){return[{type:fi}]},n}(gi),pa=[sa],ha=Wt["\u0275crt"]({encapsulation:0,styles:pa,data:{}}),fa=(Wt["\u0275ccf"]("app-circleloupe",nr,$n,{audiochunk:"audiochunk",height:"height",width:"width"},{},[]),[Zu]),ga=Wt["\u0275crt"]({encapsulation:0,styles:fa,data:{}}),ma=Wt["\u0275ccf"]("app-overlay-gui",yr,Qn,{},{},[]),va=["#viewer[_ngcontent-%COMP%]{max-height:200px}#editor-placeholder[_ngcontent-%COMP%]{-webkit-box-flex:1;-ms-flex:auto;flex:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;display:-webkit-box;display:-ms-flexbox;display:flex;background-color:#fff;border:1px dashed gray;padding:10px;width:100%;text-align:center}#editor-placeholder[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%]{margin:auto 0}.loupe[_ngcontent-%COMP%]{margin-top:10px}[_nghost-%COMP%]{-webkit-box-flex:1;-ms-flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;flex:1 0 auto}"],ba=[va],ya=Wt["\u0275crt"]({encapsulation:0,styles:ba,data:{}}),_a=Wt["\u0275ccf"]("app-signal-gui",_r,nt,{},{},[]),wa=[".container.inner[_ngcontent-%COMP%]{padding-bottom:10px;padding-top:10px;box-shadow:0 1px 6px #a0a0a0}#beta_mark[_ngcontent-%COMP%]{color:red;position:absolute;margin-left:20px;z-index:10}[_nghost-%COMP%]{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}"],Sa=["#bgProtocol[_ngcontent-%COMP%]{font-size:12px;height:200px;font-family:Courier New,Arial;border:1px solid #d3d3d3;padding:5px}.bugsent[_ngcontent-%COMP%]{position:absolute;right:0;margin-right:30px;top:0;width:100%;text-align:center}[_ngcontent-%COMP%]::-webkit-scrollbar{-webkit-appearance:none;width:7px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:rgba(0,0,0,.5);-webkit-box-shadow:0 0 1px hsla(0,0%,100%,.5)}"],ka=[Sa],Oa=Wt["\u0275crt"]({encapsulation:0,styles:ka,data:{}}),xa=(Wt["\u0275ccf"]("app-octra-modal",pr,ct,{},{},[]),[".navbar[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{cursor:pointer}.navbar-brand[_ngcontent-%COMP%], .navbar-nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{padding-top:4px!important;padding-bottom:0!important;vertical-align:middle;line-height:inherit;height:30px}.navbar[_ngcontent-%COMP%]{min-height:30px!important;margin-bottom:0}.navbar[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%]{padding-top:3px!important;vertical-align:middle;font-size:1.3em}.navbar[_ngcontent-%COMP%] .navbar-toggle[_ngcontent-%COMP%]{padding:0}.glyphicon[_ngcontent-%COMP%]{font-size:100%;color:#0b0080}.navbar-icon[_ngcontent-%COMP%]{color:#fff;font-size:100%}.info-menu[_ngcontent-%COMP%], .options-menu[_ngcontent-%COMP%]{padding:20px;font-size:.7em;min-width:300px}.dropdown-menu.info-menu.collaps[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .dropdown-menu.options-menu.collaps[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#000}.dropdown-menu.info-menu[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .dropdown-menu.info-menu[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .dropdown-menu.options-menu[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .dropdown-menu.options-menu[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{color:#fff}.options-menu[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{border:none;font-size:1.1em}.options-menu[_ngcontent-%COMP%] .table[_ngcontent-%COMP%]{margin-bottom:0}.info-menu[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{border:none;font-size:11px}#subnav[_ngcontent-%COMP%], .info-menu[_ngcontent-%COMP%] .table[_ngcontent-%COMP%]{margin-bottom:0}#subnav[_ngcontent-%COMP%]{padding:3px;text-align:center;background-color:#bae6f3}#modalstatis[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%]{width:100%}.row.level-row[_ngcontent-%COMP%]{border:1px solid gray;padding:5px}.row.level-row.selected[_ngcontent-%COMP%], .row.level-row.selected[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{background-color:#a5fabe}.row.level-row.disabled[_ngcontent-%COMP%]{opacity:.3}.row.level-row[_ngcontent-%COMP%] .col-xs-8[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{padding:3px;width:100%}.row.level-row[_ngcontent-%COMP%] .col-xs-8[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{border:1px solid #d3d3d3}.row.level-row[_ngcontent-%COMP%] .col-xs-2[_ngcontent-%COMP%] .glyphicon.glyphicon-trash[_ngcontent-%COMP%]{cursor:pointer}.row.level-add-row[_ngcontent-%COMP%]{margin-top:5px;border:1px dashed gray;text-align:center;padding:5px;cursor:pointer}.row.level-row[_ngcontent-%COMP%] .col-xs-2[_ngcontent-%COMP%]{padding-top:5px;text-align:center;vertical-align:middle;height:100%}.row.level-row[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{color:#000}#export-table[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{cursor:pointer}"]),Ca=[xa],Pa=Wt["\u0275crt"]({encapsulation:0,styles:Ca,data:{}}),ja=(Wt["\u0275ccf"]("app-navigation",Or,zt,{version:"version"},{},[]),[wa]),Ra=Wt["\u0275crt"]({encapsulation:0,styles:ja,data:{}}),Ma=Wt["\u0275ccf"]("app-octra",Zr,Vt,{},{},[]),Ta=t("f9zQ"),Na=t("KIVP"),Ia=t("6A7A"),Ea=t("a3e3"),Aa=t("t0d0"),Da=t("R08E"),La=t("Qg/J"),Ua=t("maBJ"),za=t("BhHz"),Fa=t("poDJ"),Ba=t("4zAq"),Va=t("bIam"),Wa=t("x/Up"),qa=t("pUrG"),Ka=t("pBJ6"),$a=Wt["\u0275cmf"](so,[Zr],function(e){return Wt["\u0275mod"]([Wt["\u0275mpd"](512,Wt.ComponentFactoryResolver,Wt["\u0275CodegenComponentFactoryResolver"],[[8,[co.a,Oo,jo,No,Do,Fo,qo,Ho,Jo,ku,Pu,Tu,Au,zu,Ju,ma,_a,Ma]],[3,Wt.ComponentFactoryResolver],Wt.NgModuleRef]),Wt["\u0275mpd"](5120,Wt.LOCALE_ID,Wt["\u0275m"],[[3,Wt.LOCALE_ID]]),Wt["\u0275mpd"](4608,go.NgLocalization,go.NgLocaleLocalization,[Wt.LOCALE_ID]),Wt["\u0275mpd"](5120,Wt.APP_ID,Wt["\u0275f"],[]),Wt["\u0275mpd"](5120,Wt.IterableDiffers,Wt["\u0275k"],[]),Wt["\u0275mpd"](5120,Wt.KeyValueDiffers,Wt["\u0275l"],[]),Wt["\u0275mpd"](4608,Kt.c,Kt.t,[go.DOCUMENT]),Wt["\u0275mpd"](6144,Wt.Sanitizer,null,[Kt.c]),Wt["\u0275mpd"](4608,Kt.f,Kt.g,[]),Wt["\u0275mpd"](5120,Kt.d,function(e,n,t,l){return[new Kt.l(e),new Kt.p(n),new Kt.o(t,l)]},[go.DOCUMENT,go.DOCUMENT,go.DOCUMENT,Kt.f]),Wt["\u0275mpd"](4608,Kt.e,Kt.e,[Kt.d,Wt.NgZone]),Wt["\u0275mpd"](135680,Kt.n,Kt.n,[go.DOCUMENT]),Wt["\u0275mpd"](4608,Kt.m,Kt.m,[Kt.e,Kt.n]),Wt["\u0275mpd"](5120,Ta.a,no.d,[]),Wt["\u0275mpd"](5120,Ta.c,no.e,[]),Wt["\u0275mpd"](4608,Ta.b,no.c,[Ta.a,Ta.c]),Wt["\u0275mpd"](5120,Wt.RendererFactory2,no.f,[Kt.m,Ta.b,Wt.NgZone]),Wt["\u0275mpd"](6144,Kt.q,null,[Kt.n]),Wt["\u0275mpd"](4608,Wt.Testability,Wt.Testability,[Wt.NgZone]),Wt["\u0275mpd"](4608,Kt.h,Kt.h,[go.DOCUMENT]),Wt["\u0275mpd"](4608,Kt.j,Kt.j,[go.DOCUMENT]),Wt["\u0275mpd"](4608,Tl.b,no.b,[Wt.RendererFactory2,Kt.b]),Wt["\u0275mpd"](4608,$t.z,$t.z,[]),Wt["\u0275mpd"](4608,Xt.c,Xt.c,[]),Wt["\u0275mpd"](4608,Xt.l,Xt.b,[]),Wt["\u0275mpd"](5120,Xt.o,Xt.q,[]),Wt["\u0275mpd"](4608,Xt.n,Xt.n,[Xt.c,Xt.l,Xt.o]),Wt["\u0275mpd"](4608,Xt.j,Xt.a,[]),Wt["\u0275mpd"](5120,Xt.e,Xt.r,[Xt.n,Xt.j]),Wt["\u0275mpd"](4608,Xt.t,Xt.t,[]),Wt["\u0275mpd"](4608,Xt.g,Xt.p,[Xt.t,Xt.l]),Wt["\u0275mpd"](5120,Xt.h,Xt.s,[Xt.g,Xt.j]),Wt["\u0275mpd"](4608,Na.a,Na.a,[]),Wt["\u0275mpd"](4608,Ia.a,Ia.a,[]),Wt["\u0275mpd"](4608,$t.f,$t.f,[]),Wt["\u0275mpd"](5120,Ea.b,i,[Xt.e]),Wt["\u0275mpd"](4608,Aa.a,Aa.b,[]),Wt["\u0275mpd"](4608,Da.b,Da.a,[]),Wt["\u0275mpd"](4608,La.b,La.a,[]),Wt["\u0275mpd"](4608,Ua.a,Ua.a,[]),Wt["\u0275mpd"](4608,fo.a,fo.a,[Ua.a,Ea.b,Aa.a,Da.b,La.b,fo.b,fo.c]),Wt["\u0275mpd"](4608,za.a,za.a,[]),Wt["\u0275mpd"](4608,Fa.a,Fa.a,[Wt.ComponentFactoryResolver,Wt.NgZone,Wt.Injector,za.a,Wt.ApplicationRef]),Wt["\u0275mpd"](4608,Ba.a,Ba.a,[]),Wt["\u0275mpd"](5120,hr.a,hr.x,[hr.k]),Wt["\u0275mpd"](4608,hr.d,hr.d,[]),Wt["\u0275mpd"](6144,hr.f,null,[hr.d]),Wt["\u0275mpd"](135680,hr.p,hr.p,[hr.k,Wt.NgModuleFactoryLoader,Wt.Compiler,Wt.Injector,hr.f]),Wt["\u0275mpd"](4608,hr.e,hr.e,[]),Wt["\u0275mpd"](5120,hr.h,hr.A,[hr.y]),Wt["\u0275mpd"](5120,Wt.APP_BOOTSTRAP_LISTENER,function(e){return[e]},[hr.h]),Wt["\u0275mpd"](4608,Oi,Oi,[Na.a,Ia.a]),Wt["\u0275mpd"](4608,Ur,Ur,[Oi,hr.k]),Wt["\u0275mpd"](4608,Fl,Fl,[Xt.e,Kt.c]),Wt["\u0275mpd"](4608,fi,fi,[Xt.e]),Wt["\u0275mpd"](4608,Qi,Qi,[]),Wt["\u0275mpd"](4608,Gr,Gr,[]),Wt["\u0275mpd"](4608,vi,vi,[]),Wt["\u0275mpd"](4608,zr,zr,[Oi,hr.k]),Wt["\u0275mpd"](4608,Ri,Ri,[Xt.e,Oi]),Wt["\u0275mpd"](4608,Tr,Tr,[Oi,hr.k,Ri]),Wt["\u0275mpd"](4608,mi,mi,[]),Wt["\u0275mpd"](4608,Pi,Pi,[Oi]),Wt["\u0275mpd"](4608,Ir,Ir,[Oi,hr.k,Ri]),Wt["\u0275mpd"](4608,Er,Er,[Oi,hr.k,Ri]),Wt["\u0275mpd"](4608,Fr,Fr,[Oi,hr.k,Ri]),Wt["\u0275mpd"](4608,Nr,Nr,[Oi,hr.k]),Wt["\u0275mpd"](4608,dr,dr,[fo.a,Oi,Ri,Xt.e]),Wt["\u0275mpd"](512,go.CommonModule,go.CommonModule,[]),Wt["\u0275mpd"](1024,Wt.ErrorHandler,Kt.r,[]),Wt["\u0275mpd"](1024,Wt.NgProbeToken,function(){return[hr.t()]},[]),Wt["\u0275mpd"](512,hr.y,hr.y,[Wt.Injector]),Wt["\u0275mpd"](1024,Wt.APP_INITIALIZER,function(e,n,t){return[Kt.s(e,n),hr.z(t)]},[[2,Kt.i],[2,Wt.NgProbeToken],hr.y]),Wt["\u0275mpd"](512,Wt.ApplicationInitStatus,Wt.ApplicationInitStatus,[[2,Wt.APP_INITIALIZER]]),Wt["\u0275mpd"](131584,Wt["\u0275e"],Wt["\u0275e"],[Wt.NgZone,Wt["\u0275Console"],Wt.Injector,Wt.ErrorHandler,Wt.ComponentFactoryResolver,Wt.ApplicationInitStatus]),Wt["\u0275mpd"](2048,Wt.ApplicationRef,null,[Wt["\u0275e"]]),Wt["\u0275mpd"](512,Wt.ApplicationModule,Wt.ApplicationModule,[Wt.ApplicationRef]),Wt["\u0275mpd"](512,Kt.a,Kt.a,[[3,Kt.a]]),Wt["\u0275mpd"](512,no.a,no.a,[]),Wt["\u0275mpd"](512,Ht.b,Ht.b,[]),Wt["\u0275mpd"](512,Va.a,Va.a,[]),Wt["\u0275mpd"](512,Wa.a,Wa.a,[]),Wt["\u0275mpd"](512,$t.v,$t.v,[]),Wt["\u0275mpd"](512,$t.g,$t.g,[]),Wt["\u0275mpd"](512,Xt.f,Xt.f,[]),Wt["\u0275mpd"](512,Xt.i,Xt.i,[]),Wt["\u0275mpd"](256,Gt.e,{separator:".",prefix:"custom"},[]),Wt["\u0275mpd"](1024,qa.a,Gt.f,[Gt.e]),Wt["\u0275mpd"](512,Gt.b,Gt.b,[Wt.NgZone,[2,qa.a]]),Wt["\u0275mpd"](512,Qt.Ng2Bs3ModalModule,Qt.Ng2Bs3ModalModule,[]),Wt["\u0275mpd"](512,$t.s,$t.s,[]),Wt["\u0275mpd"](1024,hr.s,hr.v,[[3,hr.k]]),Wt["\u0275mpd"](512,hr.r,hr.c,[]),Wt["\u0275mpd"](512,hr.b,hr.b,[]),Wt["\u0275mpd"](256,hr.g,{},[]),Wt["\u0275mpd"](1024,go.LocationStrategy,hr.u,[go.PlatformLocation,[2,go.APP_BASE_HREF],hr.g]),Wt["\u0275mpd"](512,go.Location,go.Location,[go.LocationStrategy]),Wt["\u0275mpd"](512,Wt.Compiler,Wt.Compiler,[]),Wt["\u0275mpd"](512,Wt.NgModuleFactoryLoader,Wt.SystemJsNgModuleLoader,[Wt.Compiler,[2,Wt.SystemJsNgModuleLoaderConfig]]),Wt["\u0275mpd"](1024,hr.i,function(){return[[{path:"",redirectTo:"/login",pathMatch:"full"},{path:"login",component:mr,canActivate:[Fr,Ur]},{path:"news",component:Br,canActivate:[Fr]},{path:"faq",component:Vr,canActivate:[Fr]},{path:"features",component:qr,canActivate:[Fr]},{path:"logout",component:vr,canActivate:[Fr,zr]},{path:"user",component:br,canActivate:[Fr],children:[{path:"load",component:fr},{path:"agreement",component:Ar,canActivate:[Tr]},{path:"transcr",component:xr,canActivate:[Er,Tr]},{path:"transcr/help",component:Dr,canActivate:[Er,Tr]},{path:"transcr/end",component:Cr,canActivate:[Nr]},{path:"transcr/reload-file",component:Rr,canActivate:[Ir]},{path:"",redirectTo:"/user/load",pathMatch:"full"}]},{path:"help-tools",component:Wr},{path:"**",redirectTo:"/login",pathMatch:"full"}]]},[]),Wt["\u0275mpd"](1024,hr.k,hr.w,[Wt.ApplicationRef,hr.r,hr.b,go.Location,Wt.Injector,Wt.NgModuleFactoryLoader,Wt.Compiler,hr.i,hr.g,[2,hr.q],[2,hr.j]]),Wt["\u0275mpd"](512,hr.n,hr.n,[[2,hr.s],[2,hr.k]]),Wt["\u0275mpd"](512,so,so,[]),Wt["\u0275mpd"](256,fo.c,void 0,[]),Wt["\u0275mpd"](256,fo.b,void 0,[]),Wt["\u0275mpd"](256,Ka.a,{autoClose:!0},[])])});qt.production&&Object(Wt.enableProdMode)(),Object(Kt.k)().bootstrapModuleFactory($a)},gFIY:function(e,n){function t(e){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+e+"'.")})}t.keys=function(){return[]},t.resolve=t,e.exports=t,t.id="gFIY"}},[0]); \ No newline at end of file diff --git a/dist/vendor.5a4665221def31d56728.bundle.js b/dist/vendor.f40b52393b48e11556b5.bundle.js similarity index 99% rename from dist/vendor.5a4665221def31d56728.bundle.js rename to dist/vendor.f40b52393b48e11556b5.bundle.js index 29f20c0c2..128cf5012 100644 --- a/dist/vendor.5a4665221def31d56728.bundle.js +++ b/dist/vendor.f40b52393b48e11556b5.bundle.js @@ -1 +1 @@ -webpackJsonp([3],{"+0Ji":function(t,e,n){"use strict";var r=n("bKpL"),o=n("l/Fw");r.Observable.prototype.sample=o.sample},"+K1p":function(t,e,n){"use strict";function r(t){return i["\u0275vid"](0,[(t()(),i["\u0275ted"](-1,null,["\n "])),(t()(),i["\u0275eld"](1,0,null,null,7,"div",[["class","modal-dialog"]],null,null,null,null,null)),i["\u0275did"](2,278528,null,0,s.NgClass,[i.IterableDiffers,i.KeyValueDiffers,i.ElementRef,i.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),i["\u0275ted"](-1,null,["\n "])),(t()(),i["\u0275eld"](4,0,null,null,3,"div",[["class","modal-content"]],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["\n "])),i["\u0275ncd"](null,0),(t()(),i["\u0275ted"](-1,null,["\n "])),(t()(),i["\u0275ted"](-1,null,["\n "])),(t()(),i["\u0275ted"](-1,null,["\n "]))],function(t,e){t(e,2,0,"modal-dialog",e.component.getCssClasses())},null)}function o(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"modal",[["class","modal"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,r,c)),i["\u0275did"](1,180224,null,0,a.ModalComponent,[i.ElementRef],null,null)],null,function(t,e){t(e,0,0,i["\u0275nov"](e,1).fadeClass,i["\u0275nov"](e,1).dataKeyboardAttr,i["\u0275nov"](e,1).dataBackdropAttr)})}n.d(e,"a",function(){return c}),e.b=r;var i=n("/oeL"),s=n("qbdv"),a=n("vCyR"),u=(n.n(a),[]),c=i["\u0275crt"]({encapsulation:2,styles:u,data:{}});i["\u0275ccf"]("modal",a.ModalComponent,o,{animation:"animation",backdrop:"backdrop",keyboard:"keyboard",size:"size",cssClass:"cssClass"},{onClose:"onClose",onDismiss:"onDismiss",onOpen:"onOpen"},["*"])},"+Ve+":function(t,e,n){"use strict";var r=n("bKpL"),o=n("I3ay");r.Observable.prototype.concatAll=o.concatAll},"+c7d":function(t,e,n){"use strict";function r(){for(var t=[],e=0;e-1)return e.push(t[n]),e;e.push(t[n])}return e}function C(t){if(t.length>1){return" ("+O(t.slice().reverse()).map(function(t){return s(t.token)}).join(" -> ")+")"}return""}function S(t,e,n,r){var o=[e],i=n(o),s=r?w(i,r):Error(i);return s.addKey=x,s.keys=o,s.injectors=[t],s.constructResolvingMessage=n,s[_i]=r,s}function x(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function E(t,e){return S(t,e,function(t){return"No provider for "+s(t[0].token)+"!"+C(t)})}function T(t,e){return S(t,e,function(t){return"Cannot instantiate cyclic dependency!"+C(t)})}function P(t,e,n,r){return S(t,r,function(t){var n=s(t[0].token);return e.message+": Error during instantiation of "+n+"!"+C(t)+"."},e)}function j(t){return Error("Invalid provider - only instances of Provider and Type are allowed, got: "+t)}function A(t,e){for(var n=[],r=0,o=e.length;r-1&&t.splice(n,1)}function bt(t,e){var n=Vs.get(t);if(n)throw new Error("Duplicate module registered for "+t+" - "+n.moduleType.name+" vs "+e.moduleType.name);Vs.set(t,e)}function gt(t){var e=Vs.get(t);if(!e)throw new Error("No module with ID "+t+" loaded");return e}function _t(t){return t.reduce(function(t,e){var n=Array.isArray(e)?_t(e):e;return t.concat(n)},[])}function wt(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}function Ot(t){return t.map(function(t){return t.nativeElement})}function Ct(t,e,n){t.childNodes.forEach(function(t){t instanceof Js&&(e(t)&&n.push(t),Ct(t,e,n))})}function St(t,e,n){t instanceof Js&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof Js&&St(t,e,n)})}function xt(t){return Xs.get(t)||null}function Et(t){Xs.set(t.nativeNode,t)}function Tt(t){Xs.delete(t.nativeNode)}function Pt(t,e){var n=jt(t),r=jt(e);if(n&&r)return At(t,e,Pt);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 jt(t){return!!It(t)&&(Array.isArray(t)||!(t instanceof Map)&&r()in t)}function At(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 Rt(t,e){if(Array.isArray(t))for(var n=0;n0&&Me(t,e,0,n)&&(h=!0),f>1&&Me(t,e,1,r)&&(h=!0),f>2&&Me(t,e,2,o)&&(h=!0),f>3&&Me(t,e,3,i)&&(h=!0),f>4&&Me(t,e,4,s)&&(h=!0),f>5&&Me(t,e,5,a)&&(h=!0),f>6&&Me(t,e,6,u)&&(h=!0),f>7&&Me(t,e,7,c)&&(h=!0),f>8&&Me(t,e,8,l)&&(h=!0),f>9&&Me(t,e,9,p)&&(h=!0),h}function Ne(t,e,n){for(var r=!1,o=0;o0?o[n-1]:null,r)}function Ze(t,e){var n=se(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),Je(e.parent.def,e.parentNodeDef)}}function Je(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 Xe(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,rn(n,e),Ea.dirtyParentQueries(r),en(r),r}function Ye(t){if(16&t.state){var e=se(t);if(e){var n=e.template._projectedViews;n&&(rn(n,n.indexOf(t)),Ea.dirtyParentQueries(t))}}}function $e(t,e,n){var r=t.viewContainer._embeddedViews,o=r[e];return rn(r,e),null==n&&(n=r.length),nn(r,n,o),Ea.dirtyParentQueries(o),en(o),tn(t,n>0?r[n-1]:null,o),o}function tn(t,e,n){var r=e?ue(e,e.def.lastRenderRootNode):t.renderElement;be(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function en(t){be(t,3,null,null,void 0)}function nn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function rn(t,e){e>=t.length-1?t.pop():t.splice(e,1)}function on(t,e,n,r,o,i){return new Ba(t,e,n,r,o,i)}function sn(t){return t.viewDefFactory}function an(t,e,n){return new Ua(t,e,n)}function un(t){return new qa(t)}function cn(t,e){return new Ka(t,e)}function ln(t,e){return new za(t,e)}function pn(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=Bt(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Ft(t,n.nodeIndex).renderText;if(20240&n.flags)return Ht(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function fn(t){return new Wa(t.renderer)}function hn(t,e,n,r){return new Ga(t,e,n,r)}function dn(t,e,n,r,o,i,s,a){var u=[];if(s)for(var c in s){var l=s[c],p=l[0],f=l[1];u[p]={flags:8,name:c,nonMinifiedName:f,ns:null,securityContext:null,suffix:null}}var h=[];if(a)for(var d in a)h.push({type:1,propName:d,target:null,eventName:a[d]});return e|=16384,mn(t,e,n,r,o,o,i,u,h)}function yn(t,e,n){return t|=16,mn(-1,t,null,0,e,e,n)}function vn(t,e,n,r,o){return mn(-1,t,e,0,n,r,o)}function mn(t,e,n,r,o,i,s,a,u){var c=he(n),l=c.matchedQueries,p=c.references,f=c.matchedQueryIds;u||(u=[]),a||(a=[]);var h=de(s);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:l,matchedQueryIds:f,references:p,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:Se(a),outputs:u,element:null,provider:{token:o,value:i,deps:h},text:null,query:null,ngContent:null}}function bn(t,e){return Sn(t,e)}function gn(t,e){for(var n=t;n.parent&&!le(n);)n=n.parent;return xn(n.parent,ae(n),!0,e.provider.value,e.provider.deps)}function _n(t,e){var n=(32768&e.flags)>0,r=xn(t,e.parent,n,e.provider.value,e.provider.deps);if(e.outputs.length)for(var o=0;o0&&te(t,e,0,n)&&(d=!0,y=jn(t,f,e,0,n,y)),v>1&&te(t,e,1,r)&&(d=!0,y=jn(t,f,e,1,r,y)),v>2&&te(t,e,2,o)&&(d=!0,y=jn(t,f,e,2,o,y)),v>3&&te(t,e,3,i)&&(d=!0,y=jn(t,f,e,3,i,y)),v>4&&te(t,e,4,s)&&(d=!0,y=jn(t,f,e,4,s,y)),v>5&&te(t,e,5,a)&&(d=!0,y=jn(t,f,e,5,a,y)),v>6&&te(t,e,6,u)&&(d=!0,y=jn(t,f,e,6,u,y)),v>7&&te(t,e,7,c)&&(d=!0,y=jn(t,f,e,7,c,y)),v>8&&te(t,e,8,l)&&(d=!0,y=jn(t,f,e,8,l,y)),v>9&&te(t,e,9,p)&&(d=!0,y=jn(t,f,e,9,p,y)),y&&h.ngOnChanges(y),2&t.state&&65536&e.flags&&h.ngOnInit(),262144&e.flags&&h.ngDoCheck(),d}function Cn(t,e,n){for(var r=Ht(t,e.nodeIndex),o=r.instance,i=!1,s=void 0,a=0;a0,r=e.provider;switch(201347067&e.flags){case 512:return xn(t,e.parent,n,r.value,r.deps);case 1024:return En(t,e.parent,n,r.value,r.deps);case 2048:return Tn(t,e.parent,n,r.deps[0]);case 256:return r.value}}function xn(t,e,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(Tn(t,e,n,o[0]));case 2:return new r(Tn(t,e,n,o[0]),Tn(t,e,n,o[1]));case 3:return new r(Tn(t,e,n,o[0]),Tn(t,e,n,o[1]),Tn(t,e,n,o[2]));default:for(var s=new Array(i),a=0;a0&&ee(t,e,0,n)&&(h=!0),d>1&&ee(t,e,1,r)&&(h=!0),d>2&&ee(t,e,2,o)&&(h=!0),d>3&&ee(t,e,3,i)&&(h=!0),d>4&&ee(t,e,4,s)&&(h=!0),d>5&&ee(t,e,5,a)&&(h=!0),d>6&&ee(t,e,6,u)&&(h=!0),d>7&&ee(t,e,7,c)&&(h=!0),d>8&&ee(t,e,8,l)&&(h=!0),d>9&&ee(t,e,9,p)&&(h=!0),h){var y=Ut(t,e.nodeIndex),v=void 0;switch(201347067&e.flags){case 32:v=new Array(f.length),d>0&&(v[0]=n),d>1&&(v[1]=r),d>2&&(v[2]=o),d>3&&(v[3]=i),d>4&&(v[4]=s),d>5&&(v[5]=a),d>6&&(v[6]=u),d>7&&(v[7]=c),d>8&&(v[8]=l),d>9&&(v[9]=p);break;case 64:v={},d>0&&(v[f[0].name]=n),d>1&&(v[f[1].name]=r),d>2&&(v[f[2].name]=o),d>3&&(v[f[3].name]=i),d>4&&(v[f[4].name]=s),d>5&&(v[f[5].name]=a),d>6&&(v[f[6].name]=u),d>7&&(v[f[7].name]=c),d>8&&(v[f[8].name]=l),d>9&&(v[f[9].name]=p);break;case 128:var m=n;switch(d){case 1:v=m.transform(n);break;case 2:v=m.transform(r);break;case 3:v=m.transform(r,o);break;case 4:v=m.transform(r,o,i);break;case 5:v=m.transform(r,o,i,s);break;case 6:v=m.transform(r,o,i,s,a);break;case 7:v=m.transform(r,o,i,s,a,u);break;case 8:v=m.transform(r,o,i,s,a,u,c);break;case 9:v=m.transform(r,o,i,s,a,u,c,l);break;case 10:v=m.transform(r,o,i,s,a,u,c,l,p)}}y.value=v}return h}function Gn(t,e,n){for(var r=e.bindings,o=!1,i=0;i0&&ee(t,e,0,n)&&(f=!0),d>1&&ee(t,e,1,r)&&(f=!0),d>2&&ee(t,e,2,o)&&(f=!0),d>3&&ee(t,e,3,i)&&(f=!0),d>4&&ee(t,e,4,s)&&(f=!0),d>5&&ee(t,e,5,a)&&(f=!0),d>6&&ee(t,e,6,u)&&(f=!0),d>7&&ee(t,e,7,c)&&(f=!0),d>8&&ee(t,e,8,l)&&(f=!0),d>9&&ee(t,e,9,p)&&(f=!0),f){var y=e.text.prefix;d>0&&(y+=Yn(n,h[0])),d>1&&(y+=Yn(r,h[1])),d>2&&(y+=Yn(o,h[2])),d>3&&(y+=Yn(i,h[3])),d>4&&(y+=Yn(s,h[4])),d>5&&(y+=Yn(a,h[5])),d>6&&(y+=Yn(u,h[6])),d>7&&(y+=Yn(c,h[7])),d>8&&(y+=Yn(l,h[8])),d>9&&(y+=Yn(p,h[9]));var v=Ft(t,e.nodeIndex).renderText;t.renderer.setValue(v,y)}return f}function Xn(t,e,n){for(var r=e.bindings,o=!1,i=0;i0)c=y,tr(y)||(l=y);else for(;c&&d===c.nodeIndex+c.childCount;){var g=c.parent;g&&(g.childFlags|=c.childFlags,g.childMatchedQueries|=c.childMatchedQueries),c=g,l=c&&tr(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||Ta,updateRenderer:r||Ta,handleEvent:_,bindingCount:o,outputCount:i,lastRenderRootNode:h}}function tr(t){return 0!=(1&t.flags)&&null===t.element.name}function er(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.nodeIndex+"!")}if(20224&e.flags){if(0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!")}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.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var o=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=o&&e.nodeIndex+e.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function nr(t,e,n,r){var o=ir(t.root,t.renderer,t,e,n);return sr(o,t.component,r),ar(o),o}function rr(t,e,n){var r=ir(t,t.renderer,null,null,e);return sr(r,n,n),ar(r),r}function or(t,e,n,r){var o,i=e.element.componentRendererType;return o=i?t.root.rendererFactory.createRenderer(r,i):t.root.renderer,ir(t.root,o,t,e.element.componentProvider,n)}function ir(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 sr(t,e,n){t.component=e,t.context=n}function ar(t){var e;if(le(t)){var n=t.parentNodeDef;e=Bt(t.parent,n.parent.nodeIndex).renderElement}for(var r=t.def,o=t.nodes,i=0;i0&&ne(t,e,0,n),f>1&&ne(t,e,1,r),f>2&&ne(t,e,2,o),f>3&&ne(t,e,3,i),f>4&&ne(t,e,4,s),f>5&&ne(t,e,5,a),f>6&&ne(t,e,6,u),f>7&&ne(t,e,7,c),f>8&&ne(t,e,8,l),f>9&&ne(t,e,9,p)}function vr(t,e,n){for(var r=0;r=this._providers.length)throw R(t);return this._providers[t]},t.prototype._new=function(t){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw T(this,t.key);return this._instantiateProvider(t)},t.prototype._getMaxNumberOfObjects=function(){return this.objs.length},t.prototype._instantiateProvider=function(t){if(t.multiProvider){for(var e=new Array(t.resolvedFactories.length),n=0;n0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+s(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},e}(xs);Es.decorators=[{type:li}],Es.ctorParameters=function(){return[{type:mi}]};var Ts=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}(),Ps=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=lt(),u._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run(function(){u.tick()})}});var c=new Eo.Observable(function(t){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular(function(){t.next(u._stable),t.complete()})}),l=new Eo.Observable(function(t){var e;u._zone.runOutsideAngular(function(){e=u._zone.onStable.subscribe(function(){ys.assertNotInAngularZone(),o(function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,t.next(!0))})})});var n=u._zone.onUnstable.subscribe(function(){ys.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});return u._isStable=Object(To.merge)(c,Po.share.call(l)),u}return xo.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;mt(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 $i?t:this._componentFactoryResolver.resolveComponentFactory(t),this._rootComponentTypes.push(r.componentType);var o=r instanceof ss?null:this._injector.get(as),i=e||r.selector,s=r.create(mi.NULL,[],i,o);s.onDestroy(function(){n._unloadComponent(s)});var a=s.injector.get(vs,null);return a&&s.injector.get(ms).registerApplication(s.location.nativeElement,a),this._loadComponent(s),lt()&&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(zi,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},e.prototype._unloadComponent=function(t){this.detachView(t.hostView),mt(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,ps(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}(Ts);Ps._tickScope=ls("ApplicationRef#tick()"),Ps.decorators=[{type:li}],Ps.ctorParameters=function(){return[{type:ys},{type:Gi},{type:mi},{type:Oi},{type:ns},{type:Bi}]};var js=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}return t}(),As=function(){function t(){}return t.prototype.injector=function(){},t.prototype.component=function(){},t.prototype.providerTokens=function(){},t.prototype.references=function(){},t.prototype.context=function(){},t.prototype.source=function(){},t}(),Rs=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}(),Is=(new Ro("Renderer2Interceptor"),function(){function t(){}return t.prototype.renderComponent=function(t){},t}()),ks=function(){function t(){}return t.prototype.createRenderer=function(t,e){},t.prototype.begin=function(){},t.prototype.end=function(){},t.prototype.whenRenderingDone=function(){},t}(),Ns={};Ns.Important=1,Ns.DashCase=2,Ns[Ns.Important]="Important",Ns[Ns.DashCase]="DashCase";var Ms=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}(),Ls=function(){function t(t){this.nativeElement=t}return t}(),Ds=function(){function t(){}return t.prototype.load=function(t){},t}(),Vs=new Map,Fs=function(){function t(){this._dirty=!0,this._results=[],this._emitter=new ds}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=_t(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}(),Bs=function(){function t(){}return t}(),Hs={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Us=function(){function t(t,e){this._compiler=t,this._config=e||Hs}return t.prototype.load=function(t){return this._compiler instanceof Zi?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 wt(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 wt(t,r,o)})},t}();Us.decorators=[{type:li}],Us.ctorParameters=function(){return[{type:Zi},{type:Bs,decorators:[{type:ci}]}]};var qs=function(){function t(){}return t.prototype.elementRef=function(){},t.prototype.createEmbeddedView=function(t){},t}(),Ks=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}(),zs=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}(),Ws=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return xo.a(e,t),e.prototype.destroy=function(){},e.prototype.destroyed=function(){},e.prototype.onDestroy=function(t){},e}(zs),Gs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return xo.a(e,t),e.prototype.context=function(){},e.prototype.rootNodes=function(){},e}(Ws),Qs=function(){function t(t,e){this.name=t,this.callback=e}return t}(),Zs=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof Js?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}(),Js=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 xo.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 Ct(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return St(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}(Zs),Xs=new Map,Ys=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t}(),$s=function(){function t(){this.hasWrappedValue=!1}return t.prototype.unwrap=function(t){return t instanceof Ys?(this.hasWrappedValue=!0,t.wrapped):t},t.prototype.reset=function(){this.hasWrappedValue=!1},t}(),ta=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}(),ea=function(){function t(){}return t.prototype.supports=function(t){return jt(t)},t.prototype.create=function(t,e){return new ra(e||t)},t}(),na=function(t,e){return e},ra=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||na}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}(),ia=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}(),sa=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 ia,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}(),aa=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||It(t)},t.prototype.create=function(t){return new ua},t}(),ua=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||It(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 ca(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}(),ca=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}(),la=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 fi,new ci]]}},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 '"+Nt(t)+"'")},t}(),pa=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 fi,new ci]]}},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}(),fa=[new aa],ha=[new ea],da=new la(ha),ya=new pa(fa),va=[{provide:Ki,useValue:"unknown"},Es,{provide:xs,useExisting:Es},{provide:ji,useFactory:Mt,deps:[]},ms,Gi],ma=ft(null,"core",va),ba=new Ro("LocaleId"),ga=new Ro("Translations"),_a=new Ro("TranslationsFormat"),wa={};wa.Error=0,wa.Warning=1,wa.Ignore=2,wa[wa.Error]="Error",wa[wa.Warning]="Warning",wa[wa.Ignore]="Ignore";var Oa=function(){function t(t){}return t}();Oa.decorators=[{type:ri,args:[{providers:[Ps,{provide:Ts,useExisting:Ps},Bi,Zi,Ui,{provide:la,useFactory:Lt},{provide:pa,useFactory:Dt},{provide:ba,useFactory:Vt,deps:[[new ui(ba),new ci,new fi]]}]}]}],Oa.ctorParameters=function(){return[{type:Ts}]};var Ca={};Ca.NONE=0,Ca.HTML=1,Ca.STYLE=2,Ca.SCRIPT=3,Ca.URL=4,Ca.RESOURCE_URL=5,Ca[Ca.NONE]="NONE",Ca[Ca.HTML]="HTML",Ca[Ca.STYLE]="STYLE",Ca[Ca.SCRIPT]="SCRIPT",Ca[Ca.URL]="URL",Ca[Ca.RESOURCE_URL]="RESOURCE_URL";var Sa=function(){function t(){}return t.prototype.sanitize=function(t,e){},t}(),xa=function(){function t(){}return 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=Xe(this._data,e);Ea.destroyView(n)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new qa(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 ss||(o=i.get(as));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 Qe(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 $e(this._data,n,e),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Xe(this._data,t);e&&Ea.destroyView(e)},t.prototype.detach=function(t){var e=Xe(this._data,t);return e?new qa(e):null},t}(),qa=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return me(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(){re(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin(),Ea.checkAndUpdateView(this._view),t.end&&t.end()},t.prototype.checkNoChanges=function(){Ea.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)),Ea.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,en(this._view),Ea.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}(),Ka=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return xo.a(e,t),e.prototype.createEmbeddedView=function(t){return new qa(Ea.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new Ls(Bt(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(qs),za=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){void 0===e&&(e=mi.THROW_IF_NOT_FOUND);var n=!!this.elDef&&0!=(33554432&this.elDef.flags);return Ea.resolveDep(this.view,this.elDef,n,{flags:0,token:t,tokenKey:Jt(t)},e)},t}(),Wa=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=Ce(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;nthis.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),v=function(t){function e(e,n,r){t.call(this,e),this.parent=n,this.observable=r,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return i(e,t),e.prototype[p.iterator]=function(){return this},e.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,o){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return l.subscribeToResult(this,this.observable,this,e)},e}(c.OuterSubscriber)},"0L2s":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=function(t){function e(){var e=t.call(this,"Timeout has occurred");this.name=e.name="TimeoutError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.TimeoutError=o},"0imh":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("rlar"),i=n("yR50"),s=n("xFbG"),a=n("AHF9"),u=n("Lhvy"),c=n("g0Kb"),l=function(t){function e(e,n,r){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY),t.call(this),this.scheduler=r,this._events=[],this._bufferSize=e<1?1:e,this._windowTime=n<1?1:n}return r(e,t),e.prototype.next=function(e){var n=this._getNow();this._events.push(new p(n,e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._trimBufferThenGetEvents(),r=this.scheduler;if(this.closed)throw new u.ObjectUnsubscribedError;this.hasError?e=s.Subscription.EMPTY:this.isStopped?e=s.Subscription.EMPTY:(this.observers.push(t),e=new c.SubjectSubscription(this,t)),r&&t.add(t=new a.ObserveOnSubscriber(t,r));for(var o=n.length,i=0;ie&&(i=Math.max(i,o-e)),i>0&&r.splice(0,i),r},e}(o.Subject);e.ReplaySubject=l;var p=function(){function t(t,e){this.time=t,this.value=e}return t}()},"0nG5":function(t,e,n){"use strict";function r(t){var e="function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t1)for(var n=1;n1)throw"Triggers parse error: only one manual trigger is allowed";if(1===o.length&&r.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return r}function o(t,e){var n=r(e.triggers),o=e.target;if(1===n.length&&n[0].isManual())return Function.prototype;var i=[],s=[],a=function(){s.forEach(function(t){return i.push(t())}),s.length=0};return n.forEach(function(n){var r=n.open===n.close,u=r?e.toggle:e.show;r||s.push(function(){return t.listen(o,n.close,e.hide)}),i.push(t.listen(o,n.open,function(){return u(a)}))}),function(){i.forEach(function(t){return t()})}}function i(t,e){return e.outsideClick?t.listenGlobal("document","click",function(t){e.target&&e.target.contains(t.target)||e.targets&&e.targets.some(function(e){return e.contains(t.target)})||e.hide()}):Function.prototype}var s=n("/oeL"),a=function(){function t(t,e){this.open=t,this.close=e||t}return t.prototype.isManual=function(){return"manual"===this.open||"manual"===this.close},t}(),u={hover:["mouseover","mouseout"],focus:["focusin","focusout"]},c=n("dTYv");n.d(e,"a",function(){return l});var l=function(){function t(t,e,n,r,o,i,a,u){this._viewContainerRef=t,this._renderer=e,this._elementRef=n,this._injector=r,this._componentFactoryResolver=o,this._ngZone=i,this._applicationRef=a,this._posService=u,this.onBeforeShow=new s.EventEmitter,this.onShown=new s.EventEmitter,this.onBeforeHide=new s.EventEmitter,this.onHidden=new s.EventEmitter,this._providers=[],this._listenOpts={},this._globalListener=Function.prototype}return Object.defineProperty(t.prototype,"isShown",{get:function(){return!!this._componentRef},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(t),this},t.prototype.to=function(t){return this.container=t||this.container,this},t.prototype.position=function(t){return this.attachment=t.attachment||this.attachment,this._elementRef=t.target||this._elementRef,this},t.prototype.provide=function(t){return this._providers.push(t),this},t.prototype.show=function(t){if(void 0===t&&(t={}),this._subscribePositioning(),this._innerComponent=null,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(t.content,t.context);var e=s.ReflectiveInjector.resolveAndCreate(this._providers,this._injector);this._componentRef=this._componentFactory.create(e,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,t),this.container instanceof s.ElementRef&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"body"===this.container&&"undefined"!=typeof document&&document.querySelector(this.container).appendChild(this._componentRef.location.nativeElement),!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef},t.prototype.hide=function(){if(!this._componentRef)return this;this.onBeforeHide.emit(this._componentRef.instance);var t=this._componentRef.location.nativeElement;return t.parentNode.removeChild(t),this._contentRef.componentRef&&this._contentRef.componentRef.destroy(),this._componentRef.destroy(),this._viewContainerRef&&this._contentRef.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef=null,this._componentRef=null,this._removeGlobalListener(),this.onHidden.emit(),this},t.prototype.toggle=function(){if(this.isShown)return void this.hide();this.show()},t.prototype.dispose=function(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()},t.prototype.listen=function(t){var e=this;this.triggers=t.triggers||this.triggers,this._listenOpts.outsideClick=t.outsideClick,t.target=t.target||this._elementRef.nativeElement;var n=this._listenOpts.hide=function(){return t.hide?t.hide():e.hide()},r=this._listenOpts.show=function(n){t.show?t.show(n):e.show(n),n()},i=function(t){e.isShown?n():r(t)};return this._unregisterListenersFn=o(this._renderer,{target:t.target,triggers:t.triggers,show:r,hide:n,toggle:i}),this},t.prototype._removeGlobalListener=function(){this._globalListener&&(this._globalListener(),this._globalListener=null)},t.prototype.attachInline=function(t,e){return this._inlineViewRef=t.createEmbeddedView(e),this},t.prototype._registerOutsideClick=function(){var t=this;if(this._componentRef&&this._componentRef.location&&this._listenOpts.outsideClick){var e=this._componentRef.location.nativeElement;setTimeout(function(){t._globalListener=i(t._renderer,{targets:[e,t._elementRef.nativeElement],outsideClick:t._listenOpts.outsideClick,hide:function(){return t._listenOpts.hide()}})})}},t.prototype.getInnerComponent=function(){return this._innerComponent},t.prototype._subscribePositioning=function(){var t=this;!this._zoneSubscription&&this.attachment&&(this._zoneSubscription=this._ngZone.onStable.subscribe(function(){t._componentRef&&t._posService.position({element:t._componentRef.location,target:t._elementRef,attachment:t.attachment,appendToBody:"body"===t.container})}))},t.prototype._unsubscribePositioning=function(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=null)},t.prototype._getContentRef=function(t,e){if(!t)return new c.a([]);if(t instanceof s.TemplateRef){if(this._viewContainerRef){var n=this._viewContainerRef.createEmbeddedView(t,e);return n.markForCheck(),new c.a([n.rootNodes],n)}var r=t.createEmbeddedView({});return this._applicationRef.attachView(r),new c.a([r.rootNodes],r)}if("function"==typeof t){var o=this._componentFactoryResolver.resolveComponentFactory(t),i=s.ReflectiveInjector.resolveAndCreate(this._providers.concat([t]),this._injector),a=o.create(i);return this._applicationRef.attachView(a.hostView),new c.a([[a.location.nativeElement]],a.hostView,a)}return new c.a([[this._renderer.createText(null,""+t)]])},t}()},"3N4h":function(t,e,n){"use strict";function r(t){return this.lift(new u(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rlar"),s=n("yW9Z"),a=n("ktfo");e.window=r;var u=function(){function t(t){this.windowBoundaries=t}return t.prototype.call=function(t,e){var n=new c(t),r=e.subscribe(n);return r.closed||n.add(a.subscribeToResult(n,this.windowBoundaries)),r},t}(),c=function(t){function e(e){t.call(this,e),this.window=new i.Subject,e.next(this.window)}return o(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.openWindow()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){this._complete()},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t)},e.prototype._complete=function(){this.window.complete(),this.destination.complete()},e.prototype._unsubscribe=function(){this.window=null},e.prototype.openWindow=function(){var t=this.window;t&&t.complete();var e=this.destination,n=this.window=new i.Subject;e.next(n)},e}(s.OuterSubscriber)},"3lml":function(t,e,n){"use strict";function r(t){return 0===t.indexOf(i+s)}n.d(e,"a",function(){return u});var o=n("p3ht"),i=o.a,s=o.c,a=o.b,u=function(){function t(){}return t.isManagedKey=function(t){return 0===t.indexOf(i+s)},t.retrieveKeysFromStorage=function(t){return Object.keys(t).filter(r)},t.genKey=function(t){if("string"!=typeof t)throw Error("attempt to generate a storage key with a non string value");return""+i+s+this.formatKey(t)},t.formatKey=function(t){var e=t.toString();return a?e:e.toLowerCase()},t.setStorageKeyPrefix=function(t){void 0===t&&(t=o.a),i=t},t.setCaseSensitivity=function(t){void 0===t&&(t=o.b),a=t},t.setStorageKeySeparator=function(t){void 0===t&&(t=o.c),s=t},t}()},"3lsR":function(t,e,n){"use strict";var r=n("bKpL"),o=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return r.Observable.of(this.value);case"E":return r.Observable.throw(this.error);case"C":return r.Observable.empty()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}();e.Notification=o},"422b":function(t,e,n){"use strict";function r(t,e){return this.lift(new s(t,e))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.filter=r;var s=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.thisArg))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.predicate=n,this.thisArg=r,this.count=0}return o(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(i.Subscriber)},"4JlW":function(t,e,n){"use strict";var r=n("bKpL"),o=n("QgC4");r.Observable.webSocket=o.webSocket},"4zAq":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("/oeL"),o=function(){function t(){var t=this;this.direction="down",this.isOpenChange=new r.EventEmitter,this.isDisabledChange=new r.EventEmitter,this.toggleClick=new r.EventEmitter,this.dropdownMenu=new Promise(function(e){t.resolveDropdownMenu=e})}return t.decorators=[{type:r.Injectable}],t.ctorParameters=function(){return[]},t}()},"56vs":function(t,e,n){"use strict";function r(t){return this.lift(new s(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.skipWhile=r;var s=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate))},t}(),a=function(t){function e(e,n){t.call(this,e),this.predicate=n,this.skipping=!0,this.index=0}return o(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(i.Subscriber)},"5p6H":function(t,e,n){"use strict";var r=n("bKpL"),o=n("TIdC");r.Observable.prototype.mergeAll=o.mergeAll},"5uCp":function(t,e,n){"use strict";var r=n("bKpL"),o=n("Lqs2");r.Observable.prototype.take=o.take},"5v8a":function(t,e,n){"use strict";var r=n("bKpL"),o=n("lx+J");r.Observable.prototype.map=o.map},"60yU":function(t,e,n){"use strict";function r(t){return this.lift(new l(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rlar"),s=n("RdI5"),a=n("XRvs"),u=n("yW9Z"),c=n("ktfo");e.repeatWhen=r;var l=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.notifier,e))},t}(),p=function(t){function e(e,n,r){t.call(this,e),this.notifier=n,this.source=r,this.sourceIsBeingSubscribedTo=!0}return o(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(e){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries){if(this.retriesSubscription.closed)return t.prototype.complete.call(this)}else this.subscribeToRetries();this._unsubscribeAndRecycle(),this.notifications.next()}},e.prototype._unsubscribe=function(){var t=this,e=t.notifications,n=t.retriesSubscription;e&&(e.unsubscribe(),this.notifications=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype._unsubscribeAndRecycle=function(){var e=this,n=e.notifications,r=e.retries,o=e.retriesSubscription;return this.notifications=null,this.retries=null,this.retriesSubscription=null,t.prototype._unsubscribeAndRecycle.call(this),this.notifications=n,this.retries=r,this.retriesSubscription=o,this},e.prototype.subscribeToRetries=function(){this.notifications=new i.Subject;var e=s.tryCatch(this.notifier)(this.notifications);if(e===a.errorObject)return t.prototype.complete.call(this);this.retries=e,this.retriesSubscription=c.subscribeToResult(this,e)},e}(u.OuterSubscriber)},"67Ck":function(t,e,n){"use strict";var r=n("bKpL"),o=n("56vs");r.Observable.prototype.skipWhile=o.skipWhile},"6A7A":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("/oeL"),o=n("K5tw"),i=n("H01b"),s=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(t){function e(){return t.call(this,o.a.local)||this}return s(e,t),e}(i.a);a.decorators=[{type:r.Injectable}],a.ctorParameters=function(){return[]}},"6DBm":function(t,e,n){"use strict";var r=n("bKpL"),o=n("+c7d");r.Observable.prototype.combineLatest=o.combineLatest},"6JjX":function(t,e,n){"use strict";function r(){return this.lift(new a)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("yW9Z"),s=n("ktfo");e._switch=r;var a=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new u(t))},t}(),u=function(t){function e(e){t.call(this,e),this.active=0,this.hasCompleted=!1}return o(e,t),e.prototype._next=function(t){this.unsubscribeInner(),this.active++,this.add(this.innerSubscription=s.subscribeToResult(this,t))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&this.destination.complete()},e.prototype.unsubscribeInner=function(){this.active=this.active>0?this.active-1:0;var t=this.innerSubscription;t&&(t.unsubscribe(),this.remove(t))},e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.unsubscribeInner(),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(i.OuterSubscriber)},"6NKQ":function(t,e,n){"use strict";var r=n("bKpL"),o=n("kkQ5");r.Observable.prototype.scan=o.scan},"6P86":function(t,e,n){"use strict";function r(){for(var t=[],e=0;e\n \n \n \n '}]}],t.ctorParameters=[{type:o.ModalComponent}],t.propDecorators={showClose:[{type:r.Input,args:["show-close"]}]},t}();e.ModalHeaderComponent=i},"8Ben":function(t,e,n){"use strict";function r(t){return t(this)}e.letProto=r},"8Jh8":function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("yW9Z"),s=n("ktfo");e.takeUntil=r;var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.notifier))},t}(),u=function(t){function e(e,n){t.call(this,e),this.notifier=n,this.add(s.subscribeToResult(this,n))}return o(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.complete()},e.prototype.notifyComplete=function(){},e}(i.OuterSubscriber)},"8efI":function(t,e,n){"use strict";function r(t,e){return this.lift(new u(t,e))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("yW9Z"),s=n("ktfo"),a=n("M11L");e.distinct=r;var u=function(){function t(t,e){this.keySelector=t,this.flushes=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.keySelector,this.flushes))},t}(),c=function(t){function e(e,n,r){t.call(this,e),this.keySelector=n,this.values=new a.Set,r&&this.add(s.subscribeToResult(this,r))}return o(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.values.clear()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype._next=function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)},e.prototype._useKeySelector=function(t){var e,n=this.destination;try{e=this.keySelector(t)}catch(t){return void n.error(t)}this._finalizeNext(e,t)},e.prototype._finalizeNext=function(t,e){var n=this.values;n.has(t)||(n.add(t),this.destination.next(e))},e}(i.OuterSubscriber);e.DistinctSubscriber=c},"8pdA":function(t,e,n){"use strict";function r(t){var e=arguments.length,n=u.async;l.isScheduler(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var r=null;e>=2&&(r=arguments[1]);var o=Number.POSITIVE_INFINITY;return e>=3&&(o=arguments[2]),this.lift(new p(t,r,o,n))}function o(t){var e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function i(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,r=t.subscriber,o=t.scheduler,i=r.openContext(),a=this;r.closed||(r.add(i.closeAction=o.schedule(s,n,{subscriber:r,context:i})),a.schedule(t,e))}function s(t){var e=t.subscriber,n=t.context;e.closeContext(n)}var a=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)},u=n("IhB/"),c=n("T14+"),l=n("MicL");e.bufferTime=r;var p=function(){function t(t,e,n,r){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),f=function(){function t(){this.buffer=[]}return t}(),h=function(t){function e(e,n,r,a,u){t.call(this,e),this.bufferTimeSpan=n,this.bufferCreationInterval=r,this.maxBufferSize=a,this.scheduler=u,this.contexts=[];var c=this.openContext();if(this.timespanOnly=null==r||r<0,this.timespanOnly){var l={subscriber:this,context:c,bufferTimeSpan:n};this.add(c.closeAction=u.schedule(o,n,l))}else{var p={subscriber:this,context:c},f={bufferTimeSpan:n,bufferCreationInterval:r,subscriber:this,scheduler:u};this.add(c.closeAction=u.schedule(s,n,p)),this.add(u.schedule(i,r,f))}}return a(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,r=n.length,o=0;o0;){var o=n.shift();r.next(o.buffer)}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan,r={subscriber:this,context:t,bufferTimeSpan:n};this.add(t.closeAction=this.scheduler.schedule(o,n,r))}},e.prototype.openContext=function(){var t=new f;return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)},e}(c.Subscriber)},"9Qcf":function(t,e,n){"use strict";var r=n("/oeL"),o=n("a3e3"),i=n("WDs4"),s=n("Qg/J"),a=n("R08E"),u=n("t0d0"),c=n("ansA"),l=function(){function t(t,e,n){var r=this;this.translateService=t,this.element=e,this._ref=n,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(function(t){t.lang===r.translateService.currentLang&&r.checkNodes(!0,t.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(function(t){r.checkNodes(!0,t.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(function(t){r.checkNodes(!0)}))}return Object.defineProperty(t.prototype,"translate",{set:function(t){t&&(this.key=t,this.checkNodes())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"translateParams",{set:function(t){Object(c.a)(this.currentParams,t)||(this.currentParams=t,this.checkNodes(!0))},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewChecked=function(){this.checkNodes()},t.prototype.checkNodes=function(t,e){void 0===t&&(t=!1);var n=this.element.nativeElement.childNodes;n.length||(this.setContent(this.element.nativeElement,this.key),n=this.element.nativeElement.childNodes);for(var r=0;rt.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length0?t[t.length-1]:null}function d(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function y(t,e){if(0===Object.keys(t).length)return Object(de.of)({});var n=[],r=[],o={};d(t,function(t,i){var s=ge.map.call(e(i,t),function(t){return o[i]=t});i===He?n.push(s):r.push(s)});var i=Se.concatAll.call(de.of.apply(void 0,n.concat(r))),s=be.last.call(i);return ge.map.call(s,function(){return o})}function v(t){var e=Te.mergeAll.call(t);return ve.every.call(e,function(t){return!0===t})}function m(t){return Object(le["\u0275isObservable"])(t)?t:Object(le["\u0275isPromise"])(t)?Object(Ee.fromPromise)(Promise.resolve(t)):Object(de.of)(t)}function b(){return new ze(new We([],{}),{},null)}function g(t,e,n){return n?_(t.queryParams,e.queryParams)&&w(t.root,e.root):O(t.queryParams,e.queryParams)&&C(t.root,e.root)}function _(t,e){return p(t,e)}function w(t,e){if(!E(t.segments,e.segments))return!1;if(t.numberOfChildren!==e.numberOfChildren)return!1;for(var n in e.children){if(!t.children[n])return!1;if(!w(t.children[n],e.children[n]))return!1}return!0}function O(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return e[n]===t[n]})}function C(t,e){return S(t,e,e.segments)}function S(t,e,n){if(t.segments.length>n.length){var r=t.segments.slice(0,n.length);return!!E(r,n)&&!e.hasChildren()}if(t.segments.length===n.length){if(!E(t.segments,n))return!1;for(var o in e.children){if(!t.children[o])return!1;if(!C(t.children[o],e.children[o]))return!1}return!0}var r=n.slice(0,t.segments.length),i=n.slice(t.segments.length);return!!E(t.segments,r)&&(!!t.children[He]&&S(t.children[He],e,i))}function x(t,e){return E(t,e)&&t.every(function(t,n){return p(t.parameters,e[n].parameters)})}function E(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}function T(t,e){var n=[];return d(t.children,function(t,r){r===He&&(n=n.concat(e(t,r)))}),d(t.children,function(t,r){r!==He&&(n=n.concat(e(t,r)))}),n}function P(t){return t.segments.map(function(t){return I(t)}).join("/")}function j(t,e){if(!t.hasChildren())return P(t);if(e){var n=t.children[He]?j(t.children[He],!1):"",r=[];return d(t.children,function(t,e){e!==He&&r.push(e+":"+j(t,!1))}),r.length>0?n+"("+r.join("//")+")":n}var o=T(t,function(e,n){return n===He?[j(t.children[He],!1)]:[n+":"+j(e,!1)]});return P(t)+"/("+o.join("//")+")"}function A(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";")}function R(t){return decodeURIComponent(t)}function I(t){return""+A(t.path)+k(t.parameters)}function k(t){return Object.keys(t).map(function(e){return";"+A(e)+"="+A(t[e])}).join("")}function N(t){var e=Object.keys(t).map(function(e){var n=t[e];return Array.isArray(n)?n.map(function(t){return A(e)+"="+A(t)}).join("&"):A(e)+"="+A(n)});return e.length?"?"+e.join("&"):""}function M(t){var e=t.match(Xe);return e?e[0]:""}function L(t){var e=t.match(Ye);return e?e[0]:""}function D(t){var e=t.match($e);return e?e[0]:""}function V(t){return new Oe.Observable(function(e){return e.error(new en(t))})}function F(t){return new Oe.Observable(function(e){return e.error(new nn(t))})}function B(t){return new Oe.Observable(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}function H(t){return new Oe.Observable(function(e){return e.error(o("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))})}function U(t,e,n,r,o){return new rn(t,e,n,r,o).apply()}function q(t,e){var n=e.canLoad;return n&&0!==n.length?v(ge.map.call(Object(he.from)(n),function(n){var r=t.get(n);return m(r.canLoad?r.canLoad(e):r(e))})):Object(de.of)(!0)}function K(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=e.matcher||s,o=r(n,t,e);return o?{matched:!0,consumedSegments:o.consumed,lastChild:o.consumed.length,positionalParamSegments:o.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function z(t,e,n,r){if(n.length>0&&Z(t,n,r)){var o=new We(e,Q(r,new We(n,t.children)));return{segmentGroup:W(o),slicedSegments:[]}}if(0===n.length&&J(t,n,r)){var o=new We(t.segments,G(t,n,r,t.children));return{segmentGroup:W(o),slicedSegments:n}}return{segmentGroup:t,slicedSegments:n}}function W(t){if(1===t.numberOfChildren&&t.children[He]){var e=t.children[He];return new We(t.segments.concat(e.segments),e.children)}return t}function G(t,e,n,r){for(var o={},i=0,s=n;i0)||"full"!==n.pathMatch)&&(""===n.path&&void 0!==n.redirectTo)}function Y(t){return t.outlet||He}function $(t,e){if(t===e.value)return e;for(var n=0,r=e.children;n=1;){var r=e[n],o=e[n-1];if(r.routeConfig&&""===r.routeConfig.path)n--;else{if(o.component)break;n--}}return e.slice(n).reduce(function(t,e){return{params:Object.assign({},t.params,e.params),data:Object.assign({},t.data,e.data),resolve:Object.assign({},t.resolve,e._resolvedData)}},{params:{},data:{},resolve:{}})}function ot(t,e){e.value._routerState=t,e.children.forEach(function(e){return ot(t,e)})}function it(t){var e=t.children.length>0?" { "+t.children.map(it).join(", ")+" } ":"";return""+t.value+e}function st(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,p(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),p(e.params,n.params)||t.params.next(n.params),l(e.url,n.url)||t.url.next(n.url),p(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function at(t,e){var n=p(t.params,e.params)&&x(t.url,e.url),r=!t.parent!=!e.parent;return n&&!r&&(!t.parent||at(t.parent,e.parent))}function ut(t,e,n){var r=ct(t,e._root,n?n._root:void 0);return new an(r,e)}function ct(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){var r=n.value;r._futureSnapshot=e.value;var o=pt(t,e,n);return new sn(r,o)}if(t.retrieve(e.value)){var i=t.retrieve(e.value).route;return lt(e,i),i}var r=ft(e.value),o=e.children.map(function(e){return ct(t,e)});return new sn(r,o)}function lt(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(var n=0;no;){if(i-=o,!(r=r.parent))throw new Error("Invalid number of '../'");o=r.segments.length}return new fn(r,!1,o-i)}function _t(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[He]:""+t}function wt(t){return"object"!=typeof t[0]?(e={},e[He]=t,e):void 0===t[0].outlets?(n={},n[He]=t,n):t[0].outlets;var e,n}function Ot(t,e,n){if(t||(t=new We([],{})),0===t.segments.length&&t.hasChildren())return Ct(t,e,n);var r=St(t,e,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex=n.length)return i;var s=t.segments[o],a=_t(n[r]),u=r0&&void 0===a)break;if(a&&u&&"object"==typeof u&&void 0===u.outlets){if(!Pt(a,u,s))return i;r+=2}else{if(!Pt(a,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function xt(t,e,n){for(var r=t.segments.slice(0,e),o=0;o0))throw new hn;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=e.matcher||s,o=r(n,t,e);if(!o)throw new hn;var i={};d(o.posParams,function(t,e){i[e]=t.path});var a=o.consumed.length>0?Object.assign({},i,o.consumed[o.consumed.length-1].parameters):i;return{consumedSegments:o.consumed,lastChild:o.consumed.length,parameters:a}}function kt(t){var e={};t.forEach(function(t){var n=e[t.value.outlet];if(n){var r=n.url.map(function(t){return t.toString()}).join("/"),o=t.value.url.map(function(t){return t.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+o+"'.")}e[t.value.outlet]=t.value})}function Nt(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function Mt(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Lt(t,e,n,r){if(n.length>0&&Ft(t,n,r)){var o=new We(e,Vt(t,e,r,new We(n,t.children)));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&Bt(t,n,r)){var i=new We(t.segments,Dt(t,n,r,t.children));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}var s=new We(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function Dt(t,e,n,r){for(var o={},i=0,s=n;i0)||"full"!==n.pathMatch)&&(""===n.path&&void 0===n.redirectTo)}function Ut(t){return t.outlet||He}function qt(t){return t.data||{}}function Kt(t){return t.resolve||{}}function zt(t){throw t}function Wt(t){return Object(de.of)(null)}function Gt(t){st(t.value),t.children.forEach(Gt)}function Qt(t){for(var e=t.parent;e;e=e.parent){var n=e._routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}function Zt(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e._routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}function Jt(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}function Xt(t){for(var e=0;e0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return P(this)},t}(),Ge=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=r(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return I(this)},t}(),Qe=function(){function t(){}return t.prototype.parse=function(t){},t.prototype.serialize=function(t){},t}(),Ze=function(){function t(){}return t.prototype.parse=function(t){var e=new tn(t);return new ze(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){return"/"+j(t.root,!0)+N(t.queryParams)+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),Je=new Ze,Xe=/^[^\/()?;=&#]+/,Ye=/^[^=?&#]+/,$e=/^[^?&#]+/,tn=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new We([],{}):new We([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURI(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[He]=new We(t,e)),n},t.prototype.parseSegment=function(){var t=M(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new Ge(R(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=M(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=M(this.remaining);r&&(n=r,this.capture(n))}t[R(e)]=R(n)}},t.prototype.parseQueryParam=function(t){var e=L(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=D(this.remaining);r&&(n=r,this.capture(n))}var o=R(e),i=R(n);if(t.hasOwnProperty(o)){var s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=M(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=He);var i=this.parseChildren();e[o]=1===Object.keys(i).length?i[He]:new We([],i),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),en=function(){function t(t){this.segmentGroup=t||null}return t}(),nn=function(){function t(t){this.urlTree=t}return t}(),rn=function(){function t(t,e,n,r,o){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(le.NgModuleRef)}return t.prototype.apply=function(){var t=this,e=this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,He),n=ge.map.call(e,function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)});return Ce._catch.call(n,function(e){if(e instanceof nn)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof en)throw t.noMatchError(e);throw e})},t.prototype.match=function(t){var e=this,n=this.expandSegmentGroup(this.ngModule,this.config,t.root,He),r=ge.map.call(n,function(n){return e.createUrlTree(n,t.queryParams,t.fragment)});return Ce._catch.call(r,function(t){if(t instanceof en)throw e.noMatchError(t);throw t})},t.prototype.noMatchError=function(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")},t.prototype.createUrlTree=function(t,e,n){var r=t.segments.length>0?new We([],(o={},o[He]=t,o)):t;return new ze(r,e,n);var o},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?ge.map.call(this.expandChildren(t,e,n),function(t){return new We([],t)}):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(t,e,n){var r=this;return y(n.children,function(n,o){return r.expandSegmentGroup(t,e,o,n)})},t.prototype.expandSegment=function(t,e,n,r,o,i){var s=this,a=de.of.apply(void 0,n),u=ge.map.call(a,function(a){var u=s.expandSegmentAgainstRoute(t,e,n,a,r,o,i);return Ce._catch.call(u,function(t){if(t instanceof en)return Object(de.of)(null);throw t})}),c=Se.concatAll.call(u),l=me.first.call(c,function(t){return!!t});return Ce._catch.call(l,function(t,n){if(t instanceof xe.EmptyError){if(s.noLeftoversInUrl(e,r,o))return Object(de.of)(new We([],{}));throw new en(e)}throw t})},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,o,i,s){return Y(r)!==i?V(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i):V(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,r){var o=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?F(i):_e.mergeMap.call(this.lineralizeSegments(n,i),function(n){var i=new We(n,{});return o.expandSegment(t,i,e,n,r,!1)})},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){var s=this,a=K(e,r,o),u=a.matched,c=a.consumedSegments,l=a.lastChild,p=a.positionalParamSegments;if(!u)return V(e);var f=this.applyRedirectCommands(c,r.redirectTo,p);return r.redirectTo.startsWith("/")?F(f):_e.mergeMap.call(this.lineralizeSegments(r,f),function(r){return s.expandSegment(t,e,n,r.concat(o.slice(l)),i,!1)})},t.prototype.matchSegmentAgainstRoute=function(t,e,n,r){var o=this;if("**"===n.path)return n.loadChildren?ge.map.call(this.configLoader.load(t.injector,n),function(t){return n._loadedConfig=t,new We(r,{})}):Object(de.of)(new We(r,{}));var i=K(e,n,r),s=i.matched,a=i.consumedSegments,u=i.lastChild;if(!s)return V(e);var c=r.slice(u),l=this.getChildConfig(t,n);return _e.mergeMap.call(l,function(t){var n=t.module,r=t.routes,i=z(e,a,c,r),s=i.segmentGroup,u=i.slicedSegments;if(0===u.length&&s.hasChildren()){var l=o.expandChildren(n,r,s);return ge.map.call(l,function(t){return new We(a,t)})}if(0===r.length&&0===u.length)return Object(de.of)(new We(a,{}));var p=o.expandSegment(n,s,r,u,He,!0);return ge.map.call(p,function(t){return new We(a.concat(t.segments),t.children)})})},t.prototype.getChildConfig=function(t,e){var n=this;return e.children?Object(de.of)(new Ke(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(de.of)(e._loadedConfig):_e.mergeMap.call(q(t.injector,e),function(r){return r?ge.map.call(n.configLoader.load(t.injector,e),function(t){return e._loadedConfig=t,t}):H(e)}):Object(de.of)(new Ke([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(de.of)(n);if(r.numberOfChildren>1||!r.children[He])return B(t.redirectTo);r=r.children[He]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var o=this.createSegmentGroup(t,e.root,n,r);return new ze(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return d(t,function(t,r){if("string"==typeof t&&t.startsWith(":")){var o=t.substring(1);n[r]=e[o]}else n[r]=t}),n},t.prototype.createSegmentGroup=function(t,e,n,r){var o=this,i=this.createSegments(t,e.segments,n,r),s={};return d(e.children,function(e,i){s[i]=o.createSegmentGroup(t,e,n,r)}),new We(i,s)},t.prototype.createSegments=function(t,e,n,r){var o=this;return e.map(function(e){return e.path.startsWith(":")?o.findPosParam(t,e,r):o.findOrReturn(e,n)})},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){for(var n=0,r=0,o=e;r1?e[e.length-2]:null},t.prototype.children=function(t){var e=$(t,this._root);return e?e.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var e=$(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=tt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})},t.prototype.pathFromRoot=function(t){return tt(t,this._root).map(function(t){return t.value})},t}(),sn=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}(),an=function(t){function e(e,n){var r=t.call(this,e)||this;return r.snapshot=n,ot(r,e),r}return ue.a(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(on),un=function(){function t(t,e,n,r,o,i,s,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=s,this._futureSnapshot=a}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=ge.map.call(this.params,function(t){return r(t)})),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=ge.map.call(this.queryParams,function(t){return r(t)})),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}(),cn=function(){function t(t,e,n,r,o,i,s,a,u,c,l){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=s,this._routeConfig=a,this._urlSegment=u,this._lastPathIndex=c,this._resolve=l}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=r(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=r(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map(function(t){return t.toString()}).join("/")+"', path:'"+(this._routeConfig?this._routeConfig.path:"")+"')"},t}(),ln=function(t){function e(e,n){var r=t.call(this,n)||this;return r.url=e,ot(r,n),r}return ue.a(e,t),e.prototype.toString=function(){return it(this._root)},e}(on),pn=function(){function t(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&dt(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(t){return"object"==typeof t&&null!=t&&t.outlets});if(r&&r!==h(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),fn=function(){function t(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}return t}(),hn=function(){function t(){}return t}(),dn=function(){function t(t,e,n,r){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r}return t.prototype.recognize=function(){try{var t=Lt(this.urlTree.root,[],[],this.config).segmentGroup,e=this.processSegmentGroup(this.config,t,He),n=new cn([],Object.freeze({}),Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,{},He,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new sn(n,e),o=new ln(this.url,r);return this.inheritParamsAndData(o._root),Object(de.of)(o)}catch(t){return new Oe.Observable(function(e){return e.error(t)})}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=rt(n);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n=this,r=T(e,function(e,r){return n.processSegmentGroup(t,e,r)});return kt(r),At(r),r},t.prototype.processSegment=function(t,e,n,r){for(var o=0,i=t;o0?h(n).parameters:{},i=new cn(n,o,Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,qt(t),r,t.component,t,Nt(e),Mt(e)+n.length,Kt(t));return[new sn(i,[])]}var s=It(e,t,n),a=s.consumedSegments,u=s.parameters,c=s.lastChild,l=n.slice(c),p=Rt(t),f=Lt(e,a,l,p),d=f.segmentGroup,y=f.slicedSegments,v=new cn(a,u,Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,qt(t),r,t.component,t,Nt(e),Mt(e)+a.length,Kt(t));if(0===y.length&&d.hasChildren()){var m=this.processChildren(p,d);return[new sn(v,m)]}if(0===p.length&&0===y.length)return[new sn(v,[])];var b=this.processSegment(p,d,y,He);return[new sn(v,b)]},t}(),yn=function(){function t(){}return t.prototype.shouldDetach=function(t){},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){},t.prototype.retrieve=function(t){},t.prototype.shouldReuseRoute=function(t,e){},t}(),vn=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),mn=new le.InjectionToken("ROUTES"),bn=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(t,e){var n=this;this.onLoadStartListener&&this.onLoadStartListener(e);var r=this.loadModuleFactory(e.loadChildren);return ge.map.call(r,function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var o=r.create(t);return new Ke(f(o.injector.get(mn)),o)})},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?Object(Ee.fromPromise)(this.loader.load(t)):_e.mergeMap.call(m(t()),function(t){return t instanceof le.NgModuleFactory?Object(de.of)(t):Object(Ee.fromPromise)(e.compiler.compileModuleAsync(t))})},t}(),gn=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){},t.prototype.extract=function(t){},t.prototype.merge=function(t,e){},t}(),_n=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}(),wn=function(){function t(t,e,n,r,o,i,s,a){var u=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=a,this.navigations=new pe.BehaviorSubject(null),this.routerEvents=new fe.Subject,this.navigationId=0,this.errorHandler=zt,this.navigated=!1,this.hooks={beforePreactivation:Wt,afterPreactivation:Wt},this.urlHandlingStrategy=new _n,this.routeReuseStrategy=new vn;var c=function(t){return u.triggerEvent(new Me(t))},l=function(t){return u.triggerEvent(new Le(t))};this.ngModule=o.get(le.NgModuleRef),this.resetConfig(a),this.currentUrlTree=b(),this.rawUrlTree=this.currentUrlTree,this.configLoader=new bn(i,s,c,l),this.currentRouterState=et(this.currentUrlTree,this.rootComponentType),this.processNavigations()}return t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.currentRouterState.root.component=this.rootComponentType},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(Zone.current.wrap(function(e){var n=t.urlSerializer.parse(e.url),r="popstate"===e.type?"popstate":"hashchange";setTimeout(function(){t.scheduleNavigation(n,r,{replaceUrl:!0})},0)})))},Object.defineProperty(t.prototype,"routerState",{get:function(){return this.currentRouterState},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"events",{get:function(){return this.routerEvents},enumerable:!0,configurable:!0}),t.prototype.triggerEvent=function(t){this.routerEvents.next(t)},t.prototype.resetConfig=function(t){a(t),this.config=t,this.navigated=!1},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},t.prototype.createUrlTree=function(t,e){void 0===e&&(e={});var n=e.relativeTo,r=e.queryParams,o=e.fragment,i=e.preserveQueryParams,s=e.queryParamsHandling,a=e.preserveFragment;Object(le.isDevMode)()&&i&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var u=n||this.routerState.root,c=a?this.currentUrlTree.fragment:o,l=null;if(s)switch(s){case"merge":l=Object.assign({},this.currentUrlTree.queryParams,r);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=r||null}else l=i?this.currentUrlTree.queryParams:r||null;return ht(u,this.currentUrlTree,t,l,c)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1});var n=t instanceof ze?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),Xt(t),"object"==typeof e.queryParams&&null!==e.queryParams&&(e.queryParams=this.removeEmptyProps(e.queryParams)),this.navigateByUrl(this.createUrlTree(t,e),e)},t.prototype.serializeUrl=function(t){return this.urlSerializer.serialize(t)},t.prototype.parseUrl=function(t){return this.urlSerializer.parse(t)},t.prototype.isActive=function(t,e){if(t instanceof ze)return g(this.currentUrlTree,t,e);var n=this.urlSerializer.parse(t);return g(this.currentUrlTree,n,e)},t.prototype.removeEmptyProps=function(t){return Object.keys(t).reduce(function(e,n){var r=t[n];return null!==r&&void 0!==r&&(e[n]=r),e},{})},t.prototype.processNavigations=function(){var t=this;ye.concatMap.call(this.navigations,function(e){return e?(t.executeScheduledNavigation(e),e.promise.catch(function(){})):Object(de.of)(null)}).subscribe(function(){})},t.prototype.scheduleNavigation=function(t,e,n){var r=this.navigations.value;if(r&&"imperative"!==e&&"imperative"===r.source&&r.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(r&&"hashchange"==e&&"popstate"===r.source&&r.rawUrl.toString()===t.toString())return Promise.resolve(!0);var o=null,i=null,s=new Promise(function(t,e){o=t,i=e}),a=++this.navigationId;return this.navigations.next({id:a,source:e,rawUrl:t,extras:n,resolve:o,reject:i,promise:s}),s.catch(function(t){return Promise.reject(t)})},t.prototype.executeScheduledNavigation=function(t){var e=this,n=t.id,r=t.rawUrl,o=t.extras,i=t.resolve,s=t.reject,a=this.urlHandlingStrategy.extract(r),u=!this.navigated||a.toString()!==this.currentUrlTree.toString();u&&this.urlHandlingStrategy.shouldProcessUrl(r)?(this.routerEvents.next(new Ae(n,this.serializeUrl(a))),Promise.resolve().then(function(t){return e.runNavigate(a,r,!!o.skipLocationChange,!!o.replaceUrl,n,null)}).then(i,s)):u&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)?(this.routerEvents.next(new Ae(n,this.serializeUrl(a))),Promise.resolve().then(function(t){return e.runNavigate(a,r,!1,!1,n,et(a,e.rootComponentType).snapshot)}).then(i,s)):(this.rawUrlTree=r,i(null))},t.prototype.runNavigate=function(t,e,n,r,o,s){var a=this;return o!==this.navigationId?(this.location.go(this.urlSerializer.serialize(this.currentUrlTree)),this.routerEvents.next(new Ie(o,this.serializeUrl(t),"Navigation ID "+o+" is not equal to the current navigation id "+this.navigationId)),Promise.resolve(!1)):new Promise(function(u,c){var l;if(s)l=Object(de.of)({appliedUrl:t,snapshot:s});else{var p=a.ngModule.injector,f=U(p,a.configLoader,a.urlSerializer,t,a.config);l=_e.mergeMap.call(f,function(e){return ge.map.call(jt(a.rootComponentType,a.config,e,a.serializeUrl(e)),function(n){return a.routerEvents.next(new Ne(o,a.serializeUrl(t),a.serializeUrl(e),n)),{appliedUrl:e,snapshot:n}})})}var h,d,y=_e.mergeMap.call(l,function(t){return ge.map.call(a.hooks.beforePreactivation(t.snapshot),function(){return t})}),v=ge.map.call(y,function(t){var e=t.appliedUrl,n=t.snapshot,r=a.ngModule.injector;return h=new Sn(n,a.currentRouterState.snapshot,r),h.traverse(a.rootContexts),{appliedUrl:e,snapshot:n}}),m=_e.mergeMap.call(v,function(e){var n=e.appliedUrl,r=e.snapshot;return a.navigationId!==o?Object(de.of)(!1):(a.triggerEvent(new De(o,a.serializeUrl(t),n,r)),ge.map.call(h.checkGuards(),function(e){return a.triggerEvent(new Ve(o,a.serializeUrl(t),n,r,e)),{appliedUrl:n,snapshot:r,shouldActivate:e}}))}),b=_e.mergeMap.call(m,function(e){return a.navigationId!==o?Object(de.of)(!1):e.shouldActivate&&h.isActivating()?(a.triggerEvent(new Fe(o,a.serializeUrl(t),e.appliedUrl,e.snapshot)),ge.map.call(h.resolveData(),function(){return a.triggerEvent(new Be(o,a.serializeUrl(t),e.appliedUrl,e.snapshot)),e})):Object(de.of)(e)}),g=_e.mergeMap.call(b,function(t){return ge.map.call(a.hooks.afterPreactivation(t.snapshot),function(){return t})}),_=ge.map.call(g,function(t){var e=t.appliedUrl,n=t.snapshot,r=t.shouldActivate;if(r){return{appliedUrl:e,state:ut(a.routeReuseStrategy,n,a.currentRouterState),shouldActivate:r}}return{appliedUrl:e,state:null,shouldActivate:r}}),w=a.currentRouterState,O=a.currentUrlTree;_.forEach(function(t){var i=t.appliedUrl,s=t.state;if(!t.shouldActivate||o!==a.navigationId)return void(d=!1);if(a.currentUrlTree=i,a.rawUrlTree=a.urlHandlingStrategy.merge(a.currentUrlTree,e),a.currentRouterState=s,!n){var u=a.urlSerializer.serialize(a.rawUrlTree);a.location.isCurrentPathEqualTo(u)||r?a.location.replaceState(u):a.location.go(u)}new xn(a.routeReuseStrategy,s,w).activate(a.rootContexts),d=!0}).then(function(){d?(a.navigated=!0,a.routerEvents.next(new Re(o,a.serializeUrl(t),a.serializeUrl(a.currentUrlTree))),u(!0)):(a.resetUrlToCurrentUrlTree(),a.routerEvents.next(new Ie(o,a.serializeUrl(t),"")),u(!1))},function(n){if(i(n))a.resetUrlToCurrentUrlTree(),a.navigated=!0,a.routerEvents.next(new Ie(o,a.serializeUrl(t),n.message)),u(!1);else{a.routerEvents.next(new ke(o,a.serializeUrl(t),n));try{u(a.errorHandler(n))}catch(t){c(t)}}a.currentRouterState=w,a.currentUrlTree=O,a.rawUrlTree=a.urlHandlingStrategy.merge(a.currentUrlTree,e),a.location.replaceState(a.serializeUrl(a.rawUrlTree))})})},t.prototype.resetUrlToCurrentUrlTree=function(){var t=this.urlSerializer.serialize(this.rawUrlTree);this.location.replaceState(t)},t}(),On=function(){function t(t){this.path=t}return Object.defineProperty(t.prototype,"route",{get:function(){return this.path[this.path.length-1]},enumerable:!0,configurable:!0}),t}(),Cn=function(){function t(t,e){this.component=t,this.route=e}return t}(),Sn=function(){function t(t,e,n){this.future=t,this.curr=e,this.moduleInjector=n,this.canActivateChecks=[],this.canDeactivateChecks=[]}return t.prototype.traverse=function(t){var e=this.future._root,n=this.curr?this.curr._root:null;this.traverseChildRoutes(e,n,t,[e.value])},t.prototype.checkGuards=function(){var t=this;if(!this.isDeactivating()&&!this.isActivating())return Object(de.of)(!0);var e=this.runCanDeactivateChecks();return _e.mergeMap.call(e,function(e){return e?t.runCanActivateChecks():Object(de.of)(!1)})},t.prototype.resolveData=function(){var t=this;if(!this.isActivating())return Object(de.of)(null);var e=Object(he.from)(this.canActivateChecks),n=ye.concatMap.call(e,function(e){return t.runResolve(e.route)});return we.reduce.call(n,function(t,e){return t})},t.prototype.isDeactivating=function(){return 0!==this.canDeactivateChecks.length},t.prototype.isActivating=function(){return 0!==this.canActivateChecks.length},t.prototype.traverseChildRoutes=function(t,e,n,r){var o=this,i=Jt(e);t.children.forEach(function(t){o.traverseRoutes(t,i[t.value.outlet],n,r.concat([t.value])),delete i[t.value.outlet]}),d(i,function(t,e){return o.deactivateRouteAndItsChildren(t,n.getContext(e))})},t.prototype.traverseRoutes=function(t,e,n,r){var o=t.value,i=e?e.value:null,s=n?n.getContext(t.value.outlet):null;if(i&&o._routeConfig===i._routeConfig){var a=this.shouldRunGuardsAndResolvers(i,o,o._routeConfig.runGuardsAndResolvers);if(a?this.canActivateChecks.push(new On(r)):(o.data=i.data,o._resolvedData=i._resolvedData),o.component?this.traverseChildRoutes(t,e,s?s.children:null,r):this.traverseChildRoutes(t,e,n,r),a){var u=s.outlet;this.canDeactivateChecks.push(new Cn(u.component,i))}}else i&&this.deactivateRouteAndItsChildren(e,s),this.canActivateChecks.push(new On(r)),o.component?this.traverseChildRoutes(t,null,s?s.children:null,r):this.traverseChildRoutes(t,null,n,r)},t.prototype.shouldRunGuardsAndResolvers=function(t,e,n){switch(n){case"always":return!0;case"paramsOrQueryParamsChange":return!at(t,e)||!p(t.queryParams,e.queryParams);case"paramsChange":default:return!at(t,e)}},t.prototype.deactivateRouteAndItsChildren=function(t,e){var n=this,r=Jt(t),o=t.value;d(r,function(t,r){o.component?e?n.deactivateRouteAndItsChildren(t,e.children.getContext(r)):n.deactivateRouteAndItsChildren(t,null):n.deactivateRouteAndItsChildren(t,e)}),o.component&&e&&e.outlet&&e.outlet.isActivated?this.canDeactivateChecks.push(new Cn(e.outlet.component,o)):this.canDeactivateChecks.push(new Cn(null,o))},t.prototype.runCanDeactivateChecks=function(){var t=this,e=Object(he.from)(this.canDeactivateChecks),n=_e.mergeMap.call(e,function(e){return t.runCanDeactivate(e.component,e.route)});return ve.every.call(n,function(t){return!0===t})},t.prototype.runCanActivateChecks=function(){var t=this,e=Object(he.from)(this.canActivateChecks),n=ye.concatMap.call(e,function(e){return v(Object(he.from)([t.runCanActivateChild(e.path),t.runCanActivate(e.route)]))});return ve.every.call(n,function(t){return!0===t})},t.prototype.runCanActivate=function(t){var e=this,n=t._routeConfig?t._routeConfig.canActivate:null;return n&&0!==n.length?v(ge.map.call(Object(he.from)(n),function(n){var r,o=e.getToken(n,t);return r=m(o.canActivate?o.canActivate(t,e.future):o(t,e.future)),me.first.call(r)})):Object(de.of)(!0)},t.prototype.runCanActivateChild=function(t){var e=this,n=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(function(t){return e.extractCanActivateChild(t)}).filter(function(t){return null!==t});return v(ge.map.call(Object(he.from)(r),function(t){return v(ge.map.call(Object(he.from)(t.guards),function(r){var o,i=e.getToken(r,t.node);return o=m(i.canActivateChild?i.canActivateChild(n,e.future):i(n,e.future)),me.first.call(o)}))}))},t.prototype.extractCanActivateChild=function(t){var e=t._routeConfig?t._routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null},t.prototype.runCanDeactivate=function(t,e){var n=this,r=e&&e._routeConfig?e._routeConfig.canDeactivate:null;if(!r||0===r.length)return Object(de.of)(!0);var o=_e.mergeMap.call(Object(he.from)(r),function(r){var o,i=n.getToken(r,e);return o=m(i.canDeactivate?i.canDeactivate(t,e,n.curr,n.future):i(t,e,n.curr,n.future)),me.first.call(o)});return ve.every.call(o,function(t){return!0===t})},t.prototype.runResolve=function(t){var e=t._resolve;return ge.map.call(this.resolveNode(e,t),function(e){return t._resolvedData=e,t.data=Object.assign({},t.data,rt(t).resolve),null})},t.prototype.resolveNode=function(t,e){var n=this,r=Object.keys(t);if(0===r.length)return Object(de.of)({});if(1===r.length){var o=r[0];return ge.map.call(this.getResolver(t[o],e),function(t){return e={},e[o]=t,e;var e})}var i={},s=_e.mergeMap.call(Object(he.from)(r),function(r){return ge.map.call(n.getResolver(t[r],e),function(t){return i[r]=t,t})});return ge.map.call(be.last.call(s),function(){return i})},t.prototype.getResolver=function(t,e){var n=this.getToken(t,e);return m(n.resolve?n.resolve(e,this.future):n(e,this.future))},t.prototype.getToken=function(t,e){var n=Zt(e);return(n?n.module.injector:this.moduleInjector).get(t)},t}(),xn=function(){function t(t,e,n){this.routeReuseStrategy=t,this.futureState=e,this.currState=n}return t.prototype.activate=function(t){var e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),st(this.futureState.root),this.activateChildRoutes(e,n,t)},t.prototype.deactivateChildRoutes=function(t,e,n){var r=this,o=Jt(e);t.children.forEach(function(t){var e=t.value.outlet;r.deactivateRoutes(t,o[e],n),delete o[e]}),d(o,function(t,e){r.deactivateRouteAndItsChildren(t,n)})},t.prototype.deactivateRoutes=function(t,e,n){var r=t.value,o=e?e.value:null;if(r===o)if(r.component){var i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)},t.prototype.deactivateRouteAndItsChildren=function(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)},t.prototype.detachAndStoreRouteSubtree=function(t,e){var n=e.getContext(t.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),o=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:r,route:t,contexts:o})}},t.prototype.deactivateRouteAndOutlet=function(t,e){var n=this,r=e.getContext(t.value.outlet);if(r){var o=Jt(t),i=t.value.component?r.children:e;d(o,function(t,e){return n.deactivateRouteAndItsChildren(t,i)}),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}},t.prototype.activateChildRoutes=function(t,e,n){var r=this,o=Jt(e);t.children.forEach(function(t){r.activateRoutes(t,o[t.value.outlet],n)})},t.prototype.activateRoutes=function(t,e,n){var r=t.value,o=e?e.value:null;if(st(r),r===o)if(r.component){var i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,i.children)}else this.activateChildRoutes(t,e,n);else if(r.component){var i=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){var s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),i.children.onOutletReAttached(s.contexts),i.attachRef=s.componentRef,i.route=s.route.value,i.outlet&&i.outlet.attach(s.componentRef,s.route.value),Gt(s.route)}else{var a=Qt(r.snapshot),u=a?a.module.componentFactoryResolver:null;i.route=r,i.resolver=u,i.outlet&&i.outlet.activateWith(r,u),this.activateChildRoutes(t,null,i.children)}}else this.activateChildRoutes(t,null,n)},t}(),En=function(){function t(t,e,n,r,o){this.router=t,this.route=e,this.commands=[],null==n&&r.setAttribute(o.nativeElement,"tabindex","0")}return Object.defineProperty(t.prototype,"routerLink",{set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preserveQueryParams",{set:function(t){Object(le.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t},enumerable:!0,configurable:!0}),t.prototype.onClick=function(){var t={skipLocationChange:Yt(this.skipLocationChange),replaceUrl:Yt(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,t),!0},Object.defineProperty(t.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Yt(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Yt(this.preserveFragment)})},enumerable:!0,configurable:!0}),t}();En.decorators=[{type:le.Directive,args:[{selector:":not(a)[routerLink]"}]}],En.ctorParameters=function(){return[{type:wn},{type:un},{type:void 0,decorators:[{type:le.Attribute,args:["tabindex"]}]},{type:le.Renderer2},{type:le.ElementRef}]},En.propDecorators={queryParams:[{type:le.Input}],fragment:[{type:le.Input}],queryParamsHandling:[{type:le.Input}],preserveFragment:[{type:le.Input}],skipLocationChange:[{type:le.Input}],replaceUrl:[{type:le.Input}],routerLink:[{type:le.Input}],preserveQueryParams:[{type:le.Input}],onClick:[{type:le.HostListener,args:["click"]}]};var Tn=function(){function t(t,e,n){var r=this;this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(function(t){t instanceof Re&&r.updateTargetUrlAndHref()})}return Object.defineProperty(t.prototype,"routerLink",{set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preserveQueryParams",{set:function(t){Object(le.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this.updateTargetUrlAndHref()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.onClick=function(t,e,n,r){if(0!==t||e||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var o={skipLocationChange:Yt(this.skipLocationChange),replaceUrl:Yt(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,o),!1},t.prototype.updateTargetUrlAndHref=function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))},Object.defineProperty(t.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Yt(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Yt(this.preserveFragment)})},enumerable:!0,configurable:!0}),t}();Tn.decorators=[{type:le.Directive,args:[{selector:"a[routerLink]"}]}],Tn.ctorParameters=function(){return[{type:wn},{type:un},{type:ce.LocationStrategy}]},Tn.propDecorators={target:[{type:le.HostBinding,args:["attr.target"]},{type:le.Input}],queryParams:[{type:le.Input}],fragment:[{type:le.Input}],queryParamsHandling:[{type:le.Input}],preserveFragment:[{type:le.Input}],skipLocationChange:[{type:le.Input}],replaceUrl:[{type:le.Input}],href:[{type:le.HostBinding}],routerLink:[{type:le.Input}],preserveQueryParams:[{type:le.Input}],onClick:[{type:le.HostListener,args:["click",["$event.button","$event.ctrlKey","$event.metaKey","$event.shiftKey"]]}]};var Pn=function(){function t(t,e,n,r){var o=this;this.router=t,this.element=e,this.renderer=n,this.cdr=r,this.classes=[],this.active=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=t.events.subscribe(function(t){t instanceof Re&&o.update()})}return Object.defineProperty(t.prototype,"isActive",{get:function(){return this.active},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var t=this;this.links.changes.subscribe(function(e){return t.update()}),this.linksWithHrefs.changes.subscribe(function(e){return t.update()}),this.update()},Object.defineProperty(t.prototype,"routerLinkActive",{set:function(t){var e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(function(t){return!!t})},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this.update()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.update=function(){var t=this;if(this.links&&this.linksWithHrefs&&this.router.navigated){var e=this.hasActiveLinks();this.active!==e&&(this.classes.forEach(function(n){e?t.renderer.addClass(t.element.nativeElement,n):t.renderer.removeClass(t.element.nativeElement,n)}),Promise.resolve(e).then(function(e){return t.active=e}))}},t.prototype.isLinkActive=function(t){var e=this;return function(n){return t.isActive(n.urlTree,e.routerLinkActiveOptions.exact)}},t.prototype.hasActiveLinks=function(){return this.links.some(this.isLinkActive(this.router))||this.linksWithHrefs.some(this.isLinkActive(this.router))},t}();Pn.decorators=[{type:le.Directive,args:[{selector:"[routerLinkActive]",exportAs:"routerLinkActive"}]}],Pn.ctorParameters=function(){return[{type:wn},{type:le.ElementRef},{type:le.Renderer2},{type:le.ChangeDetectorRef}]},Pn.propDecorators={links:[{type:le.ContentChildren,args:[En,{descendants:!0}]}],linksWithHrefs:[{type:le.ContentChildren,args:[Tn,{descendants:!0}]}],routerLinkActiveOptions:[{type:le.Input}],routerLinkActive:[{type:le.Input}]};var jn=function(){function t(){this.outlet=null,this.route=null,this.resolver=null,this.children=new An,this.attachRef=null}return t}(),An=function(){function t(){this.contexts=new Map}return t.prototype.onChildOutletCreated=function(t,e){var n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)},t.prototype.onChildOutletDestroyed=function(t){var e=this.getContext(t);e&&(e.outlet=null)},t.prototype.onOutletDeactivated=function(){var t=this.contexts;return this.contexts=new Map,t},t.prototype.onOutletReAttached=function(t){this.contexts=t},t.prototype.getOrCreateContext=function(t){var e=this.getContext(t);return e||(e=new jn,this.contexts.set(t,e)),e},t.prototype.getContext=function(t){return this.contexts.get(t)||null},t}(),Rn=function(){function t(t,e,n,r,o){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new le.EventEmitter,this.deactivateEvents=new le.EventEmitter,this.name=r||He,t.onChildOutletCreated(this.name,this)}return t.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},t.prototype.ngOnInit=function(){if(!this.activated){var t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}},Object.defineProperty(t.prototype,"locationInjector",{get:function(){return this.location.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"locationFactoryResolver",{get:function(){return this.resolver},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),t.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var t=this.activated;return this.activated=null,this._activatedRoute=null,t},t.prototype.attach=function(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)},t.prototype.deactivate=function(){if(this.activated){var t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}},t.prototype.activateWith=function(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;var n=t._futureSnapshot,r=n._routeConfig.component;e=e||this.resolver;var o=e.resolveComponentFactory(r),i=this.parentContexts.getOrCreateContext(this.name).children,s=new In(t,i,this.location.injector);this.activated=this.location.createComponent(o,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},t}();Rn.decorators=[{type:le.Directive,args:[{selector:"router-outlet",exportAs:"outlet"}]}],Rn.ctorParameters=function(){return[{type:An},{type:le.ViewContainerRef},{type:le.ComponentFactoryResolver},{type:void 0,decorators:[{type:le.Attribute,args:["name"]}]},{type:le.ChangeDetectorRef}]},Rn.propDecorators={activateEvents:[{type:le.Output,args:["activate"]}],deactivateEvents:[{type:le.Output,args:["deactivate"]}]};var In=function(){function t(t,e,n){this.route=t,this.childContexts=e,this.parent=n}return t.prototype.get=function(t,e){return t===un?this.route:t===An?this.childContexts:this.parent.get(t,e)},t}(),kn=function(){function t(){}return t.prototype.preload=function(t,e){},t}(),Nn=function(){function t(){}return t.prototype.preload=function(t,e){return Ce._catch.call(e(),function(){return Object(de.of)(null)})},t}(),Mn=function(){function t(){}return t.prototype.preload=function(t,e){return Object(de.of)(null)},t}(),Ln=function(){function t(t,e,n,r,o){this.router=t,this.injector=r,this.preloadingStrategy=o;var i=function(e){return t.triggerEvent(new Me(e))},s=function(e){return t.triggerEvent(new Le(e))};this.loader=new bn(e,n,i,s)}return t.prototype.setUpPreloading=function(){var t=this,e=je.filter.call(this.router.events,function(t){return t instanceof Re});this.subscription=ye.concatMap.call(e,function(){return t.preload()}).subscribe(function(){})},t.prototype.preload=function(){var t=this.injector.get(le.NgModuleRef);return this.processRoutes(t,this.router.config)},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.processRoutes=function(t,e){for(var n=[],r=0,o=e;r0){t.split("&").forEach(function(t){var n=t.indexOf("="),r=-1==n?[t,""]:[t.slice(0,n),t.slice(n+1)],o=r[0],i=r[1],s=e.get(o)||[];s.push(i),e.set(o,s)})}return e}function a(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function u(){var t="object"==typeof window?window:{};return null===D&&(D=t[L]={}),D}function c(t){var e=new I;return Object.keys(t).forEach(function(n){var r=t[n];r&&Array.isArray(r)?r.forEach(function(t){return e.append(n,t.toString())}):e.append(n,r.toString())}),e}function l(t,e){return t.createConnection(e).response}function p(t,e,n,r){var o=t;return e?o.merge(new Z({method:e.method||n,url:e.url||r,search:e.search,params:e.params,headers:e.headers,body:e.body,withCredentials:e.withCredentials,responseType:e.responseType})):o.merge(new Z({method:n,url:r}))}function f(){return new G}function h(t,e){return new rt(t,e)}function d(t,e){return new ot(t,e)}n.d(e,"c",function(){return g}),n.d(e,"g",function(){return q}),n.d(e,"n",function(){return Q}),n.d(e,"a",function(){return J}),n.d(e,"j",function(){return Z}),n.d(e,"b",function(){return T}),n.d(e,"l",function(){return E}),n.d(e,"k",function(){return S}),n.d(e,"d",function(){return x}),n.d(e,"e",function(){return rt}),n.d(e,"h",function(){return ot}),n.d(e,"f",function(){return it}),n.d(e,"i",function(){return st}),n.d(e,"o",function(){return j}),n.d(e,"m",function(){return I}),n.d(e,"t",function(){return V}),n.d(e,"p",function(){return K}),n.d(e,"q",function(){return f}),n.d(e,"r",function(){return h}),n.d(e,"s",function(){return d});var y=n("6Xbx"),v=n("/oeL"),m=n("bKpL"),b=(n.n(m),n("fc+i")),g=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}();g.decorators=[{type:v.Injectable}],g.ctorParameters=function(){return[]};var _={};_.Get=0,_.Post=1,_.Put=2,_.Delete=3,_.Options=4,_.Head=5,_.Patch=6,_[_.Get]="Get",_[_.Post]="Post",_[_.Put]="Put",_[_.Delete]="Delete",_[_.Options]="Options",_[_.Head]="Head",_[_.Patch]="Patch";var w={};w.Unsent=0,w.Open=1,w.HeadersReceived=2,w.Loading=3,w.Done=4,w.Cancelled=5,w[w.Unsent]="Unsent",w[w.Open]="Open",w[w.HeadersReceived]="HeadersReceived",w[w.Loading]="Loading",w[w.Done]="Done",w[w.Cancelled]="Cancelled";var O={};O.Basic=0,O.Cors=1,O.Default=2,O.Error=3,O.Opaque=4,O[O.Basic]="Basic",O[O.Cors]="Cors",O[O.Default]="Default",O[O.Error]="Error",O[O.Opaque]="Opaque";var C={};C.NONE=0,C.JSON=1,C.FORM=2,C.FORM_DATA=3,C.TEXT=4,C.BLOB=5,C.ARRAY_BUFFER=6,C[C.NONE]="NONE",C[C.JSON]="JSON",C[C.FORM]="FORM",C[C.FORM_DATA]="FORM_DATA",C[C.TEXT]="TEXT",C[C.BLOB]="BLOB",C[C.ARRAY_BUFFER]="ARRAY_BUFFER";var S={};S.Text=0,S.Json=1,S.ArrayBuffer=2,S.Blob=3,S[S.Text]="Text",S[S.Json]="Json",S[S.ArrayBuffer]="ArrayBuffer",S[S.Blob]="Blob";var x=function(){function t(e){var n=this;if(this._headers=new Map,this._normalizedNames=new Map,e)return e instanceof t?void e.forEach(function(t,e){t.forEach(function(t){return n.append(e,t)})}):void Object.keys(e).forEach(function(t){var r=Array.isArray(e[t])?e[t]:[e[t]];n.delete(t),r.forEach(function(e){return n.append(t,e)})})}return t.fromResponseHeaderString=function(e){var n=new t;return e.split("\n").forEach(function(t){var e=t.indexOf(":");if(e>0){var r=t.slice(0,e),o=t.slice(e+1).trim();n.set(r,o)}}),n},t.prototype.append=function(t,e){var n=this.getAll(t);null===n?this.set(t,e):n.push(e)},t.prototype.delete=function(t){var e=t.toLowerCase();this._normalizedNames.delete(e),this._headers.delete(e)},t.prototype.forEach=function(t){var e=this;this._headers.forEach(function(n,r){return t(n,e._normalizedNames.get(r),e._headers)})},t.prototype.get=function(t){var e=this.getAll(t);return null===e?null:e.length>0?e[0]:null},t.prototype.has=function(t){return this._headers.has(t.toLowerCase())},t.prototype.keys=function(){return Array.from(this._normalizedNames.values())},t.prototype.set=function(t,e){Array.isArray(e)?e.length&&this._headers.set(t.toLowerCase(),[e.join(",")]):this._headers.set(t.toLowerCase(),[e]),this.mayBeSetNormalizedName(t)},t.prototype.values=function(){return Array.from(this._headers.values())},t.prototype.toJSON=function(){var t=this,e={};return this._headers.forEach(function(n,r){var o=[];n.forEach(function(t){return o.push.apply(o,t.split(","))}),e[t._normalizedNames.get(r)]=o}),e},t.prototype.getAll=function(t){return this.has(t)?this._headers.get(t.toLowerCase())||null:null},t.prototype.entries=function(){throw new Error('"entries" method is not implemented on Headers class')},t.prototype.mayBeSetNormalizedName=function(t){var e=t.toLowerCase();this._normalizedNames.has(e)||this._normalizedNames.set(e,t)},t}(),E=function(){function t(t){void 0===t&&(t={});var e=t.body,n=t.status,r=t.headers,o=t.statusText,i=t.type,s=t.url;this.body=null!=e?e:null,this.status=null!=n?n:null,this.headers=null!=r?r:null,this.statusText=null!=o?o:null,this.type=null!=i?i:null,this.url=null!=s?s:null}return t.prototype.merge=function(e){return new t({body:e&&null!=e.body?e.body:this.body,status:e&&null!=e.status?e.status:this.status,headers:e&&null!=e.headers?e.headers:this.headers,statusText:e&&null!=e.statusText?e.statusText:this.statusText,type:e&&null!=e.type?e.type:this.type,url:e&&null!=e.url?e.url:this.url})},t}(),T=function(t){function e(){return t.call(this,{status:200,statusText:"Ok",type:O.Default,headers:new x})||this}return y.a(e,t),e}(E);T.decorators=[{type:v.Injectable}],T.ctorParameters=function(){return[]};var P=function(){function t(){}return t.prototype.createConnection=function(t){},t}(),j=(function(){function t(){}}(),function(){function t(){}return t.prototype.configureRequest=function(t){},t}()),A=function(t){return t>=200&&t<300},R=function(){function t(){}return t.prototype.encodeKey=function(t){return a(t)},t.prototype.encodeValue=function(t){return a(t)},t}(),I=function(){function t(t,e){void 0===t&&(t=""),void 0===e&&(e=new R),this.rawParams=t,this.queryEncoder=e,this.paramsMap=s(t)}return t.prototype.clone=function(){var e=new t("",this.queryEncoder);return e.appendAll(this),e},t.prototype.has=function(t){return this.paramsMap.has(t)},t.prototype.get=function(t){var e=this.paramsMap.get(t);return Array.isArray(e)?e[0]:null},t.prototype.getAll=function(t){return this.paramsMap.get(t)||[]},t.prototype.set=function(t,e){if(void 0===e||null===e)return void this.delete(t);var n=this.paramsMap.get(t)||[];n.length=0,n.push(e),this.paramsMap.set(t,n)},t.prototype.setAll=function(t){var e=this;t.paramsMap.forEach(function(t,n){var r=e.paramsMap.get(n)||[];r.length=0,r.push(t[0]),e.paramsMap.set(n,r)})},t.prototype.append=function(t,e){if(void 0!==e&&null!==e){var n=this.paramsMap.get(t)||[];n.push(e),this.paramsMap.set(t,n)}},t.prototype.appendAll=function(t){var e=this;t.paramsMap.forEach(function(t,n){for(var r=e.paramsMap.get(n)||[],o=0;o=200&&n.status<=299,n.statusText=e.statusText,n.headers=e.headers,n.type=e.type,n.url=e.url,n}return y.a(e,t),e.prototype.toString=function(){return"Response with status: "+this.status+" "+this.statusText+" for URL: "+this.url},e}(k),M=0,L="__ng_jsonp__",D=null,V=function(){function t(){}return t.prototype.build=function(t){var e=document.createElement("script");return e.src=t,e},t.prototype.nextRequestID=function(){return"__req"+M++},t.prototype.requestCallback=function(t){return L+"."+t+".finished"},t.prototype.exposeConnection=function(t,e){u()[t]=e},t.prototype.removeConnection=function(t){u()[t]=null},t.prototype.send=function(t){document.body.appendChild(t)},t.prototype.cleanup=function(t){t.parentNode&&t.parentNode.removeChild(t)},t}();V.decorators=[{type:v.Injectable}],V.ctorParameters=function(){return[]};var F="JSONP injected script did not invoke callback.",B="JSONP requests must use GET request method.",H=function(){function t(){}return t.prototype.finished=function(t){},t}(),U=function(t){function e(e,n,r){var o=t.call(this)||this;if(o._dom=n,o.baseResponseOptions=r,o._finished=!1,e.method!==_.Get)throw new TypeError(B);return o.request=e,o.response=new m.Observable(function(t){o.readyState=w.Loading;var i=o._id=n.nextRequestID();n.exposeConnection(i,o);var s=n.requestCallback(o._id),a=e.url;a.indexOf("=JSONP_CALLBACK&")>-1?a=a.replace("=JSONP_CALLBACK&","="+s+"&"):a.lastIndexOf("=JSONP_CALLBACK")===a.length-"=JSONP_CALLBACK".length&&(a=a.substring(0,a.length-"=JSONP_CALLBACK".length)+"="+s);var u=o._script=n.build(a),c=function(e){if(o.readyState!==w.Cancelled){if(o.readyState=w.Done,n.cleanup(u),!o._finished){var i=new E({body:F,type:O.Error,url:a});return r&&(i=r.merge(i)),void t.error(new N(i))}var s=new E({body:o._responseData,url:a});o.baseResponseOptions&&(s=o.baseResponseOptions.merge(s)),t.next(new N(s)),t.complete()}},l=function(e){if(o.readyState!==w.Cancelled){o.readyState=w.Done,n.cleanup(u);var i=new E({body:e.message,type:O.Error});r&&(i=r.merge(i)),t.error(new N(i))}};return u.addEventListener("load",c),u.addEventListener("error",l),n.send(u),function(){o.readyState=w.Cancelled,u.removeEventListener("load",c),u.removeEventListener("error",l),o._dom.cleanup(u)}}),o}return y.a(e,t),e.prototype.finished=function(t){this._finished=!0,this._dom.removeConnection(this._id),this.readyState!==w.Cancelled&&(this._responseData=t)},e}(H),q=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return y.a(e,t),e}(P),K=function(t){function e(e,n){var r=t.call(this)||this;return r._browserJSONP=e,r._baseResponseOptions=n,r}return y.a(e,t),e.prototype.createConnection=function(t){return new U(t,this._browserJSONP,this._baseResponseOptions)},e}(q);K.decorators=[{type:v.Injectable}],K.ctorParameters=function(){return[{type:V},{type:E}]};var z=/^\)\]\}',?\n/,W=function(){function t(t,e,n){var r=this;this.request=t,this.response=new m.Observable(function(i){var s=e.build();s.open(_[t.method].toUpperCase(),t.url),null!=t.withCredentials&&(s.withCredentials=t.withCredentials);var a=function(){var e=1223===s.status?204:s.status,r=null;204!==e&&"string"==typeof(r=void 0===s.response?s.responseText:s.response)&&(r=r.replace(z,"")),0===e&&(e=r?200:0);var a=x.fromResponseHeaderString(s.getAllResponseHeaders()),u=o(s)||t.url,c=s.statusText||"OK",l=new E({body:r,status:e,headers:a,statusText:c,url:u});null!=n&&(l=n.merge(l));var p=new N(l);if(p.ok=A(e),p.ok)return i.next(p),void i.complete();i.error(p)},u=function(t){var e=new E({body:t,type:O.Error,status:s.status,statusText:s.statusText});null!=n&&(e=n.merge(e)),i.error(new N(e))};if(r.setDetectedContentType(t,s),null==t.headers&&(t.headers=new x),t.headers.has("Accept")||t.headers.append("Accept","application/json, text/plain, */*"),t.headers.forEach(function(t,e){return s.setRequestHeader(e,t.join(","))}),null!=t.responseType&&null!=s.responseType)switch(t.responseType){case S.ArrayBuffer:s.responseType="arraybuffer";break;case S.Json:s.responseType="json";break;case S.Text:s.responseType="text";break;case S.Blob:s.responseType="blob";break;default:throw new Error("The selected responseType is not supported")}return s.addEventListener("load",a),s.addEventListener("error",u),s.send(r.request.getBody()),function(){s.removeEventListener("load",a),s.removeEventListener("error",u),s.abort()}})}return t.prototype.setDetectedContentType=function(t,e){if(null==t.headers||null==t.headers.get("Content-Type"))switch(t.contentType){case C.NONE:break;case C.JSON:e.setRequestHeader("content-type","application/json");break;case C.FORM:e.setRequestHeader("content-type","application/x-www-form-urlencoded;charset=UTF-8");break;case C.TEXT:e.setRequestHeader("content-type","text/plain");break;case C.BLOB:var n=t.blob();n.type&&e.setRequestHeader("content-type",n.type)}},t}(),G=function(){function t(t,e){void 0===t&&(t="XSRF-TOKEN"),void 0===e&&(e="X-XSRF-TOKEN"),this._cookieName=t,this._headerName=e}return t.prototype.configureRequest=function(t){var e=Object(b.u)().getCookie(this._cookieName);e&&t.headers.set(this._headerName,e)},t}(),Q=function(){function t(t,e,n){this._browserXHR=t,this._baseResponseOptions=e,this._xsrfStrategy=n}return t.prototype.createConnection=function(t){return this._xsrfStrategy.configureRequest(t),new W(t,this._browserXHR,this._baseResponseOptions)},t}();Q.decorators=[{type:v.Injectable}],Q.ctorParameters=function(){return[{type:g},{type:E},{type:j}]};var Z=function(){function t(t){void 0===t&&(t={});var e=t.method,n=t.headers,o=t.body,i=t.url,s=t.search,a=t.params,u=t.withCredentials,c=t.responseType;this.method=null!=e?r(e):null,this.headers=null!=n?n:null,this.body=null!=o?o:null,this.url=null!=i?i:null,this.params=this._mergeSearchParams(a||s),this.withCredentials=null!=u?u:null,this.responseType=null!=c?c:null}return Object.defineProperty(t.prototype,"search",{get:function(){return this.params},set:function(t){this.params=t},enumerable:!0,configurable:!0}),t.prototype.merge=function(e){return new t({method:e&&null!=e.method?e.method:this.method,headers:e&&null!=e.headers?e.headers:new x(this.headers),body:e&&null!=e.body?e.body:this.body,url:e&&null!=e.url?e.url:this.url,params:e&&this._mergeSearchParams(e.params||e.search),withCredentials:e&&null!=e.withCredentials?e.withCredentials:this.withCredentials,responseType:e&&null!=e.responseType?e.responseType:this.responseType})},t.prototype._mergeSearchParams=function(t){return t?t instanceof I?t.clone():"string"==typeof t?new I(t):this._parseParams(t):this.params},t.prototype._parseParams=function(t){var e=this;void 0===t&&(t={});var n=new I;return Object.keys(t).forEach(function(r){var o=t[r];Array.isArray(o)?o.forEach(function(t){return e._appendParam(r,t,n)}):e._appendParam(r,o,n)}),n},t.prototype._appendParam=function(t,e,n){"string"!=typeof e&&(e=JSON.stringify(e)),n.append(t,e)},t}(),J=function(t){function e(){return t.call(this,{method:_.Get,headers:new x})||this}return y.a(e,t),e}(Z);J.decorators=[{type:v.Injectable}],J.ctorParameters=function(){return[]};var X=function(t){function e(e){var n=t.call(this)||this,o=e.url;n.url=e.url;var i=e.params||e.search;if(i){var s=void 0;if(s="object"!=typeof i||i instanceof I?i.toString():c(i).toString(),s.length>0){var a="?";-1!=n.url.indexOf("?")&&(a="&"==n.url[n.url.length-1]?"":"&"),n.url=o+a+s}}return n._body=e.body,n.method=r(e.method),n.headers=new x(e.headers),n.contentType=n.detectContentType(),n.withCredentials=e.withCredentials,n.responseType=e.responseType,n}return y.a(e,t),e.prototype.detectContentType=function(){switch(this.headers.get("content-type")){case"application/json":return C.JSON;case"application/x-www-form-urlencoded":return C.FORM;case"multipart/form-data":return C.FORM_DATA;case"text/plain":case"text/html":return C.TEXT;case"application/octet-stream":return this._body instanceof nt?C.ARRAY_BUFFER:C.BLOB;default:return this.detectContentTypeFromBody()}},e.prototype.detectContentTypeFromBody=function(){return null==this._body?C.NONE:this._body instanceof I?C.FORM:this._body instanceof tt?C.FORM_DATA:this._body instanceof et?C.BLOB:this._body instanceof nt?C.ARRAY_BUFFER:this._body&&"object"==typeof this._body?C.JSON:C.TEXT},e.prototype.getBody=function(){switch(this.contentType){case C.JSON:case C.FORM:return this.text();case C.FORM_DATA:return this._body;case C.TEXT:return this.text();case C.BLOB:return this.blob();case C.ARRAY_BUFFER:return this.arrayBuffer();default:return null}},e}(k),Y=function(){},$="object"==typeof window?window:Y,tt=$.FormData||Y,et=$.Blob||Y,nt=$.ArrayBuffer||Y,rt=function(){function t(t,e){this._backend=t,this._defaultOptions=e}return t.prototype.request=function(t,e){var n;if("string"==typeof t)n=l(this._backend,new X(p(this._defaultOptions,e,_.Get,t)));else{if(!(t instanceof X))throw new Error("First argument must be a url string or Request instance.");n=l(this._backend,t)}return n},t.prototype.get=function(t,e){return this.request(new X(p(this._defaultOptions,e,_.Get,t)))},t.prototype.post=function(t,e,n){return this.request(new X(p(this._defaultOptions.merge(new Z({body:e})),n,_.Post,t)))},t.prototype.put=function(t,e,n){return this.request(new X(p(this._defaultOptions.merge(new Z({body:e})),n,_.Put,t)))},t.prototype.delete=function(t,e){return this.request(new X(p(this._defaultOptions,e,_.Delete,t)))},t.prototype.patch=function(t,e,n){return this.request(new X(p(this._defaultOptions.merge(new Z({body:e})),n,_.Patch,t)))},t.prototype.head=function(t,e){return this.request(new X(p(this._defaultOptions,e,_.Head,t)))},t.prototype.options=function(t,e){return this.request(new X(p(this._defaultOptions,e,_.Options,t)))},t}();rt.decorators=[{type:v.Injectable}],rt.ctorParameters=function(){return[{type:P},{type:Z}]};var ot=function(t){function e(e,n){return t.call(this,e,n)||this}return y.a(e,t),e.prototype.request=function(t,e){if("string"==typeof t&&(t=new X(p(this._defaultOptions,e,_.Get,t))),!(t instanceof X))throw new Error("First argument must be a url string or Request instance.");if(t.method!==_.Get)throw new Error("JSONP requests must use GET request method.");return l(this._backend,t)},e}(rt);ot.decorators=[{type:v.Injectable}],ot.ctorParameters=function(){return[{type:P},{type:Z}]};var it=function(){function t(){}return t}();it.decorators=[{type:v.NgModule,args:[{providers:[{provide:rt,useFactory:h,deps:[Q,Z]},g,{provide:Z,useClass:J},{provide:E,useClass:T},Q,{provide:j,useFactory:f}]}]}],it.ctorParameters=function(){return[]};var st=function(){function t(){}return t}();st.decorators=[{type:v.NgModule,args:[{providers:[{provide:ot,useFactory:d,deps:[q,Z]},V,{provide:Z,useClass:J},{provide:E,useClass:T},{provide:q,useClass:K}]}]}],st.ctorParameters=function(){return[]};new v.Version("4.4.5")},CQyF: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.error=e,this.scheduler=n}return r(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.error;t.subscriber.error(e)},e.prototype._subscribe=function(t){var n=this.error,r=this.scheduler;if(t.syncErrorThrowable=!0,r)return r.schedule(e.dispatch,0,{error:n,subscriber:t});t.error(n)},e}(o.Observable);e.ErrorObservable=i},CXR1:function(t,e,n){"use strict";var r=n("bKpL"),o=n("tpuU");r.Observable.prototype.zipAll=o.zipAll},Cipy:function(t,e,n){"use strict";function r(t,e,n){var r;return o.multicast.call(this,function(){return this._isComplete?r:r=new i.ReplaySubject(t,e,n)}).refCount()}var o=n("gonN"),i=n("0imh");e.shareReplay=r},D3O6:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("/oeL"),o=n("WDs4"),i=n("ansA"),s=function(){function t(t,e){this.translate=t,this._ref=e,this.value=""}return t.prototype.updateValue=function(t,e,n){var r=this,o=function(e){r.value=void 0!==e?e:t,r.lastKey=t,r._ref.markForCheck()};if(n){var i=this.translate.getParsedResult(n,t,e);"function"==typeof i.subscribe?i.subscribe(o):o(i)}this.translate.get(t,e).subscribe(o)},t.prototype.transform=function(t){for(var e=this,n=[],r=1;r=0}var o=n("NSJx");e.isNumeric=r},EyWH:function(t,e,n){"use strict";function r(t,e){return{type:7,name:t,definitions:e,options:{}}}function o(t,e){return void 0===e&&(e=null),{type:4,styles:e,timings:t}}function i(t,e){return void 0===e&&(e=null),{type:2,steps:t,options:e}}function s(t){return{type:6,styles:t,offset:null}}function a(t,e,n){return{type:0,name:t,styles:e,options:n}}function u(t,e,n){return void 0===n&&(n=null),{type:1,expr:t,animation:e,options:n}}function c(t){Promise.resolve(null).then(t)}n.d(e,"b",function(){return l}),n.d(e,"c",function(){return p}),n.d(e,"a",function(){return f}),n.d(e,"e",function(){return o}),n.d(e,"f",function(){return i}),n.d(e,"g",function(){return a}),n.d(e,"h",function(){return s}),n.d(e,"i",function(){return u}),n.d(e,"j",function(){return r}),n.d(e,"d",function(){return h}),n.d(e,"k",function(){return d}),n.d(e,"l",function(){return y});var l=function(){function t(){}return t.prototype.build=function(t){},t}(),p=function(){function t(){}return t.prototype.create=function(t,e){},t}(),f="*",h=function(){function t(){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=0}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.init=function(){},t.prototype.play=function(){this.hasStarted()||(this.triggerMicrotask(),this._onStart()),this._started=!0},t.prototype.triggerMicrotask=function(){var t=this;c(function(){return t._onFinish()})},t.prototype._onStart=function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]},t.prototype.pause=function(){},t.prototype.restart=function(){},t.prototype.finish=function(){this._onFinish()},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){},t.prototype.setPosition=function(t){},t.prototype.getPosition=function(){return 0},t}(),d=function(){function t(t){var e=this;this._players=t,this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0;var n=0,r=0,o=0,i=this._players.length;0==i?c(function(){return e._onFinish()}):this._players.forEach(function(t){t.parentPlayer=e,t.onDone(function(){++n>=i&&e._onFinish()}),t.onDestroy(function(){++r>=i&&e._onDestroy()}),t.onStart(function(){++o>=i&&e._onStart()})}),this.totalTime=this._players.reduce(function(t,e){return Math.max(t,e.totalTime)},0)}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._players.forEach(function(t){return t.init()})},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype._onStart=function(){this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this._players.forEach(function(t){return t.play()})},t.prototype.pause=function(){this._players.forEach(function(t){return t.pause()})},t.prototype.restart=function(){this._players.forEach(function(t){return t.restart()})},t.prototype.finish=function(){this._onFinish(),this._players.forEach(function(t){return t.finish()})},t.prototype.destroy=function(){this._onDestroy()},t.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this._players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){this._players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype.setPosition=function(t){var e=t*this.totalTime;this._players.forEach(function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})},t.prototype.getPosition=function(){var t=0;return this._players.forEach(function(e){var n=e.getPosition();t=Math.min(n,t)}),t},Object.defineProperty(t.prototype,"players",{get:function(){return this._players},enumerable:!0,configurable:!0}),t.prototype.beforeDestroy=function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})},t}(),y="!"},"F/7+":function(t,e,n){"use strict";var r=n("0I3B");e.zip=r.zipStatic},Fhmd:function(t,e,n){"use strict";var r=n("jUlM");e.forkJoin=r.ForkJoinObservable.create},Fi2k:function(t,e,n){"use strict";function r(t,e){return this.lift(new p(t,e))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rlar"),s=n("xFbG"),a=n("RdI5"),u=n("XRvs"),c=n("yW9Z"),l=n("ktfo");e.windowToggle=r;var p=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new f(t,this.openings,this.closingSelector))},t}(),f=function(t){function e(e,n,r){t.call(this,e),this.openings=n,this.closingSelector=r,this.contexts=[],this.add(this.openSubscription=l.subscribeToResult(this,n,n))}return o(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var n=e.length,r=0;r0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,r):e.flush(this)},e}(o.AsyncAction);e.QueueAction=i},Fq81: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("fclq"),i=n("bKpL"),s=n("xFbG"),a=function(t){function e(e,n,r){t.call(this),this.addHandler=e,this.removeHandler=n,this.selector=r}return r(e,t),e.create=function(t,n,r){return new e(t,n,r)},e.prototype._subscribe=function(t){var e=this,n=this.removeHandler,r=this.selector?function(){for(var n=[],r=0;r0&&n.length>0;){var o=e.shift(),i=n.shift(),u=!1;r?(u=s.tryCatch(r)(o,i))===a.errorObject&&this.destination.error(a.errorObject.e):u=o===i,u||this.emit(!1)}},e.prototype.emit=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},e}(i.Subscriber);e.SequenceEqualSubscriber=c;var l=function(t){function e(e,n){t.call(this,e),this.parent=n}return o(e,t),e.prototype._next=function(t){this.parent.nextB(t)},e.prototype._error=function(t){this.parent.error(t)},e.prototype._complete=function(){this.parent._complete()},e}(i.Subscriber)},GPwi:function(t,e,n){"use strict";var r=n("bKpL"),o=n("Fhmd");r.Observable.forkJoin=o.forkJoin},GWzR:function(t,e,n){"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}var o=n("/oeL"),i=n("qbdv"),s=n("vCyR"),a=n("8AR9"),u=n("oXBO"),c=n("t+dn"),l=n("dy2L");r(n("vCyR")),r(n("8AR9")),r(n("oXBO")),r(n("t+dn")),r(n("ItmA"));var p=function(){function t(){}return t.decorators=[{type:o.NgModule,args:[{imports:[i.CommonModule],declarations:[s.ModalComponent,a.ModalHeaderComponent,u.ModalBodyComponent,c.ModalFooterComponent,l.AutofocusDirective],exports:[s.ModalComponent,a.ModalHeaderComponent,u.ModalBodyComponent,c.ModalFooterComponent,l.AutofocusDirective]}]}],t.ctorParameters=[],t}();e.Ng2Bs3ModalModule=p},GoZW:function(t,e,n){"use strict";function r(){for(var t=[],e=0;ee.index?1:-1:t.delay>e.delay?1:-1},e}(o.AsyncAction);e.VirtualAction=a},IOeT:function(t,e,n){"use strict";function r(t){return this.lift(new o.CombineLatestOperator(t))}var o=n("+c7d");e.combineAll=r},IUpl:function(t,e,n){"use strict";var r=n("bKpL"),o=n("Y+l6");r.Observable.prototype.toArray=o.toArray},"IhB/":function(t,e,n){"use strict";var r=n("Io40"),o=n("I2Y9");e.async=new o.AsyncScheduler(r.AsyncAction)},Io40: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("zijX"),i=n("XNum"),s=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n,this.pending=!1}return r(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t,this.pending=!0;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),o.root.setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){return void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending?e:o.root.clearInterval(e)&&void 0||void 0},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(t){n=!0,r=!!t&&t||new Error(t)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(i.Action);e.AsyncAction=s},IpZT:function(t,e,n){"use strict";var r=n("bKpL"),o=n("ZQVD");r.Observable.prototype.ignoreElements=o.ignoreElements},IqVs:function(t,e,n){"use strict";var r=n("zijX"),o=function(){function t(t){t.requestAnimationFrame?(this.cancelAnimationFrame=t.cancelAnimationFrame.bind(t),this.requestAnimationFrame=t.requestAnimationFrame.bind(t)):t.mozRequestAnimationFrame?(this.cancelAnimationFrame=t.mozCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.mozRequestAnimationFrame.bind(t)):t.webkitRequestAnimationFrame?(this.cancelAnimationFrame=t.webkitCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.webkitRequestAnimationFrame.bind(t)):t.msRequestAnimationFrame?(this.cancelAnimationFrame=t.msCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.msRequestAnimationFrame.bind(t)):t.oRequestAnimationFrame?(this.cancelAnimationFrame=t.oCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.oRequestAnimationFrame.bind(t)):(this.cancelAnimationFrame=t.clearTimeout.bind(t),this.requestAnimationFrame=function(e){return t.setTimeout(e,1e3/60)})}return t}();e.RequestAnimationFrameDefinition=o,e.AnimationFrame=new o(r.root)},ItUe:function(t,e,n){"use strict";var r=n("bKpL"),o=n("0I3B");r.Observable.prototype.zip=o.zipProto},ItmA:function(t,e,n){"use strict";function r(t){return"true"===t||"false"!==t&&t}function o(t){return new Promise(function(e,n){t.subscribe(function(t){e(t)})})}var i=n("bKpL");n("5v8a"),n("Xtvq");var s=function(){function t(t){this.element=t,this.suffix=".ng2-bs3-modal",this.shownEventName="shown.bs.modal"+this.suffix,this.hiddenEventName="hidden.bs.modal"+this.suffix,this.visible=!1,this.init()}return t.prototype.open=function(){return this.show()},t.prototype.close=function(){return this.result=a.Close,this.hide()},t.prototype.dismiss=function(){return this.result=a.Dismiss,this.hide()},t.prototype.destroy=function(){var t=this;return this.hide().then(function(){t.$modal&&(t.$modal.data("bs.modal",null),t.$modal.remove())})},t.prototype.show=function(){var t=o(this.shown);return this.resetData(),this.$modal.modal(),t},t.prototype.hide=function(){if(this.$modal&&this.visible){var t=o(this.hidden);return this.$modal.modal("hide"),t}return Promise.resolve(this.result)},t.prototype.init=function(){var t=this;this.$modal=jQuery(this.element.nativeElement),this.$modal.appendTo("body"),this.shown=i.Observable.fromEvent(this.$modal,this.shownEventName).map(function(){t.visible=!0}),this.hidden=i.Observable.fromEvent(this.$modal,this.hiddenEventName).map(function(){var e=t.result&&t.result!==a.None?t.result:a.Dismiss;return t.result=a.None,t.visible=!1,e})},t.prototype.resetData=function(){this.$modal.removeData(),this.$modal.data("backdrop",r(this.$modal.attr("data-backdrop"))),this.$modal.data("keyboard",r(this.$modal.attr("data-keyboard")))},t}();e.ModalInstance=s,function(t){t[t.None=0]="None",t[t.Close=1]="Close",t[t.Dismiss=2]="Dismiss"}(e.ModalResult||(e.ModalResult={}));var a=e.ModalResult},JCyH: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("qIlB"),i=n("Io40"),s=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return r(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=o.Immediate.setImmediate(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(o.Immediate.clearImmediate(n),e.scheduled=void 0)},e}(i.AsyncAction);e.AsapAction=s},JNTq:function(t,e,n){"use strict";var r=n("bKpL"),o=n("LEug");r.Observable.merge=o.merge},JSgX:function(t,e,n){"use strict";var r=n("bKpL"),o=n("7kbP");r.Observable.concat=o.concat},K5Xx:function(t,e,n){"use strict";function r(t){return t?i.multicast.call(this,function(){return new o.Subject},t):i.multicast.call(this,new o.Subject)}var o=n("rlar"),i=n("gonN");e.publish=r},K5tw:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r;!function(t){t[t.local=0]="local",t[t.session=1]="session"}(r||(r={}))},KIVP:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("/oeL"),o=n("K5tw"),i=n("H01b"),s=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(t){function e(){return t.call(this,o.a.session)||this}return s(e,t),e}(i.a);a.decorators=[{type:r.Injectable}],a.ctorParameters=function(){return[]}},"Kt+M":function(t,e,n){"use strict";function r(){for(var t=[],e=0;ewindow.innerHeight?"top":(!r||"bottom"===r)&&t.top+e.top-n.offsetHeight<0?"bottom":(!r||"left"===r)&&t.right+e.right+n.offsetWidth>window.innerWidth?"left":null},t.prototype.getAllStyles=function(t){return window.getComputedStyle(t)},t.prototype.getStyle=function(t,e){return this.getAllStyles(t)[e]},t.prototype.isStaticPositioned=function(t){return"static"===(this.getStyle(t,"position")||"static")},t.prototype.offsetParent=function(t){for(var e=t.offsetParent||document.documentElement;e&&e!==document.documentElement&&this.isStaticPositioned(e);)e=e.offsetParent;return e||document.documentElement},t}(),i=new o},Lhvy: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=function(t){function e(){var e=t.call(this,"object unsubscribed");this.name=e.name="ObjectUnsubscribedError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.ObjectUnsubscribedError=o},LiYJ:function(t,e,n){"use strict";e.empty={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}}},Lqs2:function(t,e,n){"use strict";function r(t){return 0===t?new a.EmptyObservable:this.lift(new u(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+"),s=n("uT+d"),a=n("fcnB");e.take=r;var u=function(){function t(t){if(this.total=t,this.total<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.total))},t}(),c=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return o(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(i.Subscriber)},Lssd:function(t,e,n){"use strict";var r=n("bKpL"),o=n("WmO6");r.Observable.prototype.partition=o.partition},M11L:function(t,e,n){"use strict";function r(){return function(){function t(){this._values=[]}return t.prototype.add=function(t){this.has(t)||this._values.push(t)},t.prototype.has=function(t){return-1!==this._values.indexOf(t)},Object.defineProperty(t.prototype,"size",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this._values.length=0},t}()}var o=n("zijX");e.minimalSetImpl=r,e.Set=o.root.Set||r()},MBEm:function(t,e,n){"use strict";var r=n("bKpL"),o=n("kGJb");r.Observable.prototype.distinctUntilChanged=o.distinctUntilChanged},MIR9: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=n("3lsR"),s=n("iH09"),a=n("XR5H"),u=n("OXmC"),c=n("I64N"),l=750,p=function(t){function e(e){t.call(this,c.VirtualAction,l),this.assertDeepEqual=e,this.hotObservables=[],this.coldObservables=[],this.flushTests=[]}return r(e,t),e.prototype.createTime=function(t){var n=t.indexOf("|");if(-1===n)throw new Error('marble diagram for time should have a completion marker "|"');return n*e.frameTimeFactor},e.prototype.createColdObservable=function(t,n,r){if(-1!==t.indexOf("^"))throw new Error('cold observable cannot have subscription offset "^"');if(-1!==t.indexOf("!"))throw new Error('cold observable cannot have unsubscription marker "!"');var o=e.parseMarbles(t,n,r),i=new s.ColdObservable(o,this);return this.coldObservables.push(i),i},e.prototype.createHotObservable=function(t,n,r){if(-1!==t.indexOf("!"))throw new Error('hot observable cannot have unsubscription marker "!"');var o=e.parseMarbles(t,n,r),i=new a.HotObservable(o,this);return this.hotObservables.push(i),i},e.prototype.materializeInnerObservable=function(t,e){var n=this,r=[];return t.subscribe(function(t){r.push({frame:n.frame-e,notification:i.Notification.createNext(t)})},function(t){r.push({frame:n.frame-e,notification:i.Notification.createError(t)})},function(){r.push({frame:n.frame-e,notification:i.Notification.createComplete()})}),r},e.prototype.expectObservable=function(t,n){var r=this;void 0===n&&(n=null);var s,a=[],u={actual:a,ready:!1},c=e.parseMarblesAsSubscriptions(n).unsubscribedFrame;return this.schedule(function(){s=t.subscribe(function(t){var e=t;t instanceof o.Observable&&(e=r.materializeInnerObservable(e,r.frame)),a.push({frame:r.frame,notification:i.Notification.createNext(e)})},function(t){a.push({frame:r.frame,notification:i.Notification.createError(t)})},function(){a.push({frame:r.frame,notification:i.Notification.createComplete()})})},0),c!==Number.POSITIVE_INFINITY&&this.schedule(function(){return s.unsubscribe()},c),this.flushTests.push(u),{toBe:function(t,n,r){u.ready=!0,u.expected=e.parseMarbles(t,n,r,!0)}}},e.prototype.expectSubscriptions=function(t){var n={actual:t,ready:!1};return this.flushTests.push(n),{toBe:function(t){var r="string"==typeof t?[t]:t;n.ready=!0,n.expected=r.map(function(t){return e.parseMarblesAsSubscriptions(t)})}}},e.prototype.flush=function(){for(var e=this.hotObservables;e.length>0;)e.shift().setup();t.prototype.flush.call(this);for(var n=this.flushTests.filter(function(t){return t.ready});n.length>0;){var r=n.shift();this.assertDeepEqual(r.actual,r.expected)}},e.parseMarblesAsSubscriptions=function(t){if("string"!=typeof t)return new u.SubscriptionLog(Number.POSITIVE_INFINITY);for(var e=t.length,n=-1,r=Number.POSITIVE_INFINITY,o=Number.POSITIVE_INFINITY,i=0;i-1?n:s;break;case"!":if(o!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");o=n>-1?n:s;break;default:throw new Error("there can only be '^' and '!' markers in a subscription marble diagram. Found instead '"+a+"'.")}}return o<0?new u.SubscriptionLog(r):new u.SubscriptionLog(r,o)},e.parseMarbles=function(t,e,n,r){if(void 0===r&&(r=!1),-1!==t.indexOf("!"))throw new Error('conventional marble diagrams cannot have the unsubscription marker "!"');for(var o=t.length,a=[],u=t.indexOf("^"),c=-1===u?0:u*-this.frameTimeFactor,l="object"!=typeof e?function(t){return t}:function(t){return r&&e[t]instanceof s.ColdObservable?e[t].messages:e[t]},p=-1,f=0;f-1?p:h,notification:d})}return a},e}(c.VirtualTimeScheduler);e.TestScheduler=p},MaQZ:function(t,e,n){"use strict";var r=n("bKpL"),o=n("etEa");r.Observable.prototype.find=o.find},MicL:function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}e.isScheduler=r},MvXP:function(t,e,n){"use strict";function r(t){return i["\u0275vid"](0,[(t()(),i["\u0275ted"](-1,null,["\n "])),(t()(),i["\u0275eld"](1,0,null,null,3,"div",[["class","modal-body"]],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["\n "])),i["\u0275ncd"](null,0),(t()(),i["\u0275ted"](-1,null,["\n "])),(t()(),i["\u0275ted"](-1,null,["\n "]))],null,null)}function o(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"modal-body",[],null,null,null,r,u)),i["\u0275did"](1,49152,null,0,s.ModalBodyComponent,[],null,null)],null,null)}n.d(e,"a",function(){return u}),e.b=r;var i=n("/oeL"),s=n("oXBO"),a=(n.n(s),[]),u=i["\u0275crt"]({encapsulation:2,styles:a,data:{}});i["\u0275ccf"]("modal-body",s.ModalBodyComponent,o,{},{},["*"])},MzWM: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=n("ktfo"),s=n("yW9Z"),a=function(t){function e(e){t.call(this),this.observableFactory=e}return r(e,t),e.create=function(t){return new e(t)},e.prototype._subscribe=function(t){return new u(t,this.observableFactory)},e}(o.Observable);e.DeferObservable=a;var u=function(t){function e(e,n){t.call(this,e),this.factory=n,this.tryDefer()}return r(e,t),e.prototype.tryDefer=function(){try{this._callFactory()}catch(t){this._error(t)}},e.prototype._callFactory=function(){var t=this.factory();t&&this.add(i.subscribeToResult(this,t))},e}(s.OuterSubscriber)},"N+n4":function(t,e,n){(function(t,r){function o(t,n){var r={seen:[],stylize:s};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),y(n)?r.showHidden=n:n&&e._extend(r,n),w(r.showHidden)&&(r.showHidden=!1),w(r.depth)&&(r.depth=2),w(r.colors)&&(r.colors=!1),w(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=i),u(r,t,r.depth)}function i(t,e){var n=o.styles[e];return n?"\x1b["+o.colors[n][0]+"m"+t+"\x1b["+o.colors[n][1]+"m":t}function s(t,e){return t}function a(t){var e={};return t.forEach(function(t,n){e[t]=!0}),e}function u(t,n,r){if(t.customInspect&&n&&E(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var o=n.inspect(r,t);return g(o)||(o=u(t,o,r)),o}var i=c(t,n);if(i)return i;var s=Object.keys(n),y=a(s);if(t.showHidden&&(s=Object.getOwnPropertyNames(n)),x(n)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return l(n);if(0===s.length){if(E(n)){var v=n.name?": "+n.name:"";return t.stylize("[Function"+v+"]","special")}if(O(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(S(n))return t.stylize(Date.prototype.toString.call(n),"date");if(x(n))return l(n)}var m="",b=!1,_=["{","}"];if(d(n)&&(b=!0,_=["[","]"]),E(n)){m=" [Function"+(n.name?": "+n.name:"")+"]"}if(O(n)&&(m=" "+RegExp.prototype.toString.call(n)),S(n)&&(m=" "+Date.prototype.toUTCString.call(n)),x(n)&&(m=" "+l(n)),0===s.length&&(!b||0==n.length))return _[0]+m+_[1];if(r<0)return O(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special");t.seen.push(n);var w;return w=b?p(t,n,r,y,s):s.map(function(e){return f(t,n,r,y,e,b)}),t.seen.pop(),h(w,m,_)}function c(t,e){if(w(e))return t.stylize("undefined","undefined");if(g(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}return b(e)?t.stylize(""+e,"number"):y(e)?t.stylize(""+e,"boolean"):v(e)?t.stylize("null","null"):void 0}function l(t){return"["+Error.prototype.toString.call(t)+"]"}function p(t,e,n,r,o){for(var i=[],s=0,a=e.length;s-1&&(a=i?a.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+a.split("\n").map(function(t){return" "+t}).join("\n"))):a=t.stylize("[Circular]","special")),w(s)){if(i&&o.match(/^\d+$/))return a;s=JSON.stringify(""+o),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=t.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=t.stylize(s,"string"))}return s+": "+a}function h(t,e,n){var r=0;return t.reduce(function(t,e){return r++,e.indexOf("\n")>=0&&r++,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}function d(t){return Array.isArray(t)}function y(t){return"boolean"==typeof t}function v(t){return null===t}function m(t){return null==t}function b(t){return"number"==typeof t}function g(t){return"string"==typeof t}function _(t){return"symbol"==typeof t}function w(t){return void 0===t}function O(t){return C(t)&&"[object RegExp]"===P(t)}function C(t){return"object"==typeof t&&null!==t}function S(t){return C(t)&&"[object Date]"===P(t)}function x(t){return C(t)&&("[object Error]"===P(t)||t instanceof Error)}function E(t){return"function"==typeof t}function T(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t}function P(t){return Object.prototype.toString.call(t)}function j(t){return t<10?"0"+t.toString(10):t.toString(10)}function A(){var t=new Date,e=[j(t.getHours()),j(t.getMinutes()),j(t.getSeconds())].join(":");return[t.getDate(),M[t.getMonth()],e].join(" ")}function R(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var I=/%[sdj%]/g;e.format=function(t){if(!g(t)){for(var e=[],n=0;n=i)return t;switch(t){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return t}}),a=r[n];n0){var s=i.indexOf(n);-1!==s&&i.splice(s,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(i.OuterSubscriber)},OCM8:function(t,e,n){"use strict";function r(){return i.multicast.call(this,new o.AsyncSubject)}var o=n("l6Wf"),i=n("gonN");e.publishLast=r},OGSH:function(t,e,n){"use strict";var r=n("bKpL"),o=n("c2EU");r.Observable.prototype.throttle=o.throttle},OWbQ: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("NSJx"),i=n("lhZu"),s=n("mUVF"),a=n("mihg"),u=n("TA58"),c=n("wZOE"),l=n("wCVK"),p=n("2B7B"),f=n("bKpL"),h=n("AHF9"),d=n("DP67"),y=function(t){function e(e,n){t.call(this,null),this.ish=e,this.scheduler=n}return r(e,t),e.create=function(t,n){if(null!=t){if("function"==typeof t[d.observable])return t instanceof f.Observable&&!n?t:new e(t,n);if(o.isArray(t))return new c.ArrayObservable(t,n);if(s.isPromise(t))return new a.PromiseObservable(t,n);if("function"==typeof t[p.iterator]||"string"==typeof t)return new u.IteratorObservable(t,n);if(i.isArrayLike(t))return new l.ArrayLikeObservable(t,n)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")},e.prototype._subscribe=function(t){var e=this.ish,n=this.scheduler;return null==n?e[d.observable]().subscribe(t):e[d.observable]().subscribe(new h.ObserveOnSubscriber(t,n,0))},e}(f.Observable);e.FromObservable=y},OXmC:function(t,e,n){"use strict";var r=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.subscribedFrame=t,this.unsubscribedFrame=e}return t}();e.SubscriptionLog=r},Obns:function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("yW9Z"),s=n("ktfo");e.debounce=r;var a=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.durationSelector))},t}(),u=function(t){function e(e,n){t.call(this,e),this.durationSelector=n,this.hasValue=!1,this.durationSubscription=null}return o(e,t),e.prototype._next=function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.emitValue(),this.destination.complete()},e.prototype._tryNext=function(t,e){var n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),n=s.subscribeToResult(this,e),n.closed||this.add(this.durationSubscription=n)},e.prototype.notifyNext=function(t,e,n,r,o){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){if(this.hasValue){var e=this.value,n=this.durationSubscription;n&&(this.durationSubscription=null,n.unsubscribe(),this.remove(n)),this.value=null,this.hasValue=!1,t.prototype._next.call(this,e)}},e}(i.OuterSubscriber)},OdUO:function(t,e,n){"use strict";function r(t,e){return this.lift(new a(t,e))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+"),s=n("uT+d");e.elementAt=r;var a=function(){function t(t,e){if(this.index=t,this.defaultValue=e,t<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.index,this.defaultValue))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.index=n,this.defaultValue=r}return o(e,t),e.prototype._next=function(t){0==this.index--&&(this.destination.next(t),this.destination.complete())},e.prototype._complete=function(){var t=this.destination;this.index>=0&&(void 0!==this.defaultValue?t.next(this.defaultValue):t.error(new s.ArgumentOutOfRangeError)),t.complete()},e}(i.Subscriber)},Ohh6:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e1?a.concatStatic(new o.ArrayObservable(t,n),this):a.concatStatic(new s.EmptyObservable(n),this)}var o=n("wZOE"),i=n("aOKN"),s=n("fcnB"),a=n("Kt+M"),u=n("MicL");e.startWith=r},Ozq5:function(t,e,n){"use strict";var r=n("bKpL"),o=n("GoZW");r.Observable.prototype.pluck=o.pluck},"P+lj":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=n("wEhC"),s=n("EsGe"),a=function(t){function e(e,n,r){void 0===n&&(n=0),void 0===r&&(r=i.asap),t.call(this),this.source=e,this.delayTime=n,this.scheduler=r,(!s.isNumeric(n)||n<0)&&(this.delayTime=0),r&&"function"==typeof r.schedule||(this.scheduler=i.asap)}return r(e,t),e.create=function(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=i.asap),new e(t,n,r)},e.dispatch=function(t){var e=t.source,n=t.subscriber;return this.add(e.subscribe(n))},e.prototype._subscribe=function(t){var n=this.delayTime,r=this.source;return this.scheduler.schedule(e.dispatch,n,{source:r,subscriber:t})},e}(o.Observable);e.SubscribeOnObservable=a},"PIb/":function(t,e){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},PT4i:function(t,e,n){"use strict";var r=n("Yvsb");e.never=r.NeverObservable.create},PatI:function(t,e,n){"use strict";var r=n("bKpL"),o=n("gonN");r.Observable.prototype.multicast=o.multicast},Pf4u:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e=0){var l={subscriber:this,window:c,context:null},p={windowTimeSpan:n,windowCreationInterval:r,subscriber:this,scheduler:u};this.add(u.schedule(s,n,l)),this.add(u.schedule(i,r,p))}else{var f={subscriber:this,window:c,windowTimeSpan:n};this.add(u.schedule(o,n,f))}}return a(e,t),e.prototype._next=function(t){for(var e=this.windows,n=e.length,r=0;r=this.maxWindowSize&&this.closeWindow(o))}},e.prototype._error=function(t){for(var e=this.windows;e.length>0;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){for(var t=this.windows;t.length>0;){var e=t.shift();e.closed||e.complete()}this.destination.complete()},e.prototype.openWindow=function(){var t=new d;return this.windows.push(t),this.destination.next(t),t},e.prototype.closeWindow=function(t){t.complete();var e=this.windows;e.splice(e.indexOf(t),1)},e}(l.Subscriber)},R61s:function(t,e,n){"use strict";var r=n("zijX"),o=n("wQte");e.Map=r.root.Map||function(){return o.MapPolyfill}()},RC4L:function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},RNRn:function(t,e,n){"use strict";var r=n("bKpL"),o=n("R3/v");r.Observable.prototype.windowTime=o.windowTime},RdI5:function(t,e,n){"use strict";function r(){try{return i.apply(this,arguments)}catch(t){return s.errorObject.e=t,s.errorObject}}function o(t){return i=t,r}var i,s=n("XRvs");e.tryCatch=o},RoUE:function(t,e,n){"use strict";function r(t){return a["\u0275vid"](0,[(t()(),a["\u0275eld"](0,0,null,null,1,"button",[["class","btn btn-default"],["data-dismiss","modal"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0,o=t.component;if("click"===e){r=!1!==o.modal.dismiss()&&r}return r},null,null)),(t()(),a["\u0275ted"](1,null,["",""]))],null,function(t,e){t(e,1,0,e.component.dismissButtonLabel)})}function o(t){return a["\u0275vid"](0,[(t()(),a["\u0275eld"](0,0,null,null,1,"button",[["class","btn btn-primary"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0,o=t.component;if("click"===e){r=!1!==o.modal.close()&&r}return r},null,null)),(t()(),a["\u0275ted"](1,null,["",""]))],null,function(t,e){t(e,1,0,e.component.closeButtonLabel)})}function i(t){return a["\u0275vid"](0,[(t()(),a["\u0275ted"](-1,null,["\n "])),(t()(),a["\u0275eld"](1,0,null,null,9,"div",[["class","modal-footer"]],null,null,null,null,null)),(t()(),a["\u0275ted"](-1,null,["\n "])),a["\u0275ncd"](null,0),(t()(),a["\u0275ted"](-1,null,["\n "])),(t()(),a["\u0275and"](16777216,null,null,1,null,r)),a["\u0275did"](6,16384,null,0,u.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),a["\u0275ted"](-1,null,["\n "])),(t()(),a["\u0275and"](16777216,null,null,1,null,o)),a["\u0275did"](9,16384,null,0,u.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),a["\u0275ted"](-1,null,["\n "])),(t()(),a["\u0275ted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,6,0,n.showDefaultButtons),t(e,9,0,n.showDefaultButtons)},null)}function s(t){return a["\u0275vid"](0,[(t()(),a["\u0275eld"](0,0,null,null,1,"modal-footer",[],null,null,null,i,f)),a["\u0275did"](1,49152,null,0,c.ModalFooterComponent,[l.ModalComponent],null,null)],null,null)}n.d(e,"a",function(){return f}),e.b=i;var a=n("/oeL"),u=n("qbdv"),c=n("t+dn"),l=(n.n(c),n("vCyR")),p=(n.n(l),[]),f=a["\u0275crt"]({encapsulation:2,styles:p,data:{}});a["\u0275ccf"]("modal-footer",c.ModalFooterComponent,s,{showDefaultButtons:"show-default-buttons",dismissButtonLabel:"dismiss-button-label",closeButtonLabel:"close-button-label"},{},["*"])},RpuY:function(t,e,n){"use strict";var r=n("bKpL"),o=n("cPhF");r.Observable.prototype.mergeMap=o.mergeMap,r.Observable.prototype.flatMap=o.mergeMap},RvTY:function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"number"==typeof e&&(n=e,e=null),this.lift(new a(t,e,n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("yW9Z"),s=n("ktfo");e.mergeMapTo=r;var a=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.ish=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.ish,this.resultSelector,this.concurrent))},t}();e.MergeMapToOperator=a;var u=function(t){function e(e,n,r,o){void 0===o&&(o=Number.POSITIVE_INFINITY),t.call(this,e),this.ish=n,this.resultSelector=r,this.concurrent=o,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return o(e,t),e.prototype._next=function(t){if(this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(i.OuterSubscriber);e.MergeMapToSubscriber=u},S08L: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=n("ktfo"),s=n("yW9Z"),a=function(t){function e(e,n,r){t.call(this),this.condition=e,this.thenSource=n,this.elseSource=r}return r(e,t),e.create=function(t,n,r){return new e(t,n,r)},e.prototype._subscribe=function(t){var e=this,n=e.condition,r=e.thenSource,o=e.elseSource;return new u(t,n,r,o)},e}(o.Observable);e.IfObservable=a;var u=function(t){function e(e,n,r,o){t.call(this,e),this.condition=n,this.thenSource=r,this.elseSource=o,this.tryIf()}return r(e,t),e.prototype.tryIf=function(){var t,e=this,n=e.condition,r=e.thenSource,o=e.elseSource;try{t=n();var s=t?r:o;s?this.add(i.subscribeToResult(this,s)):this._complete()}catch(t){this._error(t)}},e}(s.OuterSubscriber)},S7im:function(t,e,n){"use strict";var r=n("bKpL"),o=n("HTfL");r.Observable.throw=o._throw},SJ56:function(t,e,n){"use strict";function r(){return this.lift(new s)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.dematerialize=r;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e)}return o(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(i.Subscriber)},SKRq:function(t,e,n){"use strict";var r=n("bKpL"),o=n("fdVa");r.Observable.prototype.mergeScan=o.mergeScan},ScG9:function(t,e,n){"use strict";var r=n("bKpL"),o=n("a9bY");r.Observable.prototype.max=o.max},"StS+":function(t,e,n){"use strict";var r=n("bKpL"),o=n("lc3y");r.Observable.prototype.isEmpty=o.isEmpty},"T14+":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("fclq"),i=n("xFbG"),s=n("LiYJ"),a=n("dkwD"),u=function(t){function e(n,r,o){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.empty;break;case 1:if(!n){this.destination=s.empty;break}if("object"==typeof n){n instanceof e?(this.destination=n,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new c(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new c(this,n,r,o)}}return r(e,t),e.prototype[a.rxSubscriber]=function(){return this},e.create=function(t,n,r){var o=new e(t,n,r);return o.syncErrorThrowable=!1,o},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this,e=t._parent,n=t._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=n,this},e}(i.Subscription);e.Subscriber=u;var c=function(t){function e(e,n,r,i){t.call(this),this._parentSubscriber=e;var a,u=this;o.isFunction(n)?a=n:n&&(a=n.next,r=n.error,i=n.complete,n!==s.empty&&(u=Object.create(n),o.isFunction(u.unsubscribe)&&this.add(u.unsubscribe.bind(u)),u.unsubscribe=this.unsubscribe.bind(this))),this._context=u,this._next=a,this._error=r,this._complete=i}return r(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber;if(this._error)e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else{if(!e.syncErrorThrowable)throw this.unsubscribe(),t;e.syncErrorValue=t,e.syncErrorThrown=!0,this.unsubscribe()}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){throw this.unsubscribe(),t}},e.prototype.__tryOrSetError=function(t,e,n){try{e.call(this._context,n)}catch(e){return t.syncErrorValue=e,t.syncErrorThrown=!0,!0}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(u)},T1tZ:function(t,e,n){"use strict";function r(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function o(t){var e=t.err;t.subject.error(e)}var i=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)},s=n("bKpL"),a=n("RdI5"),u=n("XRvs"),c=n("l6Wf"),l=function(t){function e(e,n,r,o,i){t.call(this),this.callbackFunc=e,this.selector=n,this.args=r,this.context=o,this.scheduler=i}return i(e,t),e.create=function(t,n,r){return void 0===n&&(n=void 0),function(){for(var o=[],i=0;id?d:e):e}function i(t){return"number"==typeof t&&u.root.isFinite(t)}function s(t){var e=+t;return 0===e?e:isNaN(e)?e:e<0?-1:1}var a=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)},u=n("zijX"),c=n("bKpL"),l=n("2B7B"),p=function(t){function e(e,n){if(t.call(this),this.scheduler=n,null==e)throw new Error("iterator cannot be null.");this.iterator=r(e)}return a(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.index,n=t.hasError,r=t.iterator,o=t.subscriber;if(n)return void o.error(t.error);var i=r.next();return i.done?void o.complete():(o.next(i.value),t.index=e+1,o.closed?void("function"==typeof r.return&&r.return()):void this.schedule(t))},e.prototype._subscribe=function(t){var n=this,r=n.iterator,o=n.scheduler;if(o)return o.schedule(e.dispatch,0,{index:0,iterator:r,subscriber:t});for(;;){var i=r.next();if(i.done){t.complete();break}if(t.next(i.value),t.closed){"function"==typeof r.return&&r.return();break}}},e}(c.Observable);e.IteratorObservable=p;var f=function(){function t(t,e,n){void 0===e&&(e=0),void 0===n&&(n=t.length),this.str=t,this.idx=e,this.len=n}return t.prototype[l.iterator]=function(){return this},t.prototype.next=function(){return this.idx0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(i.OuterSubscriber);e.MergeAllSubscriber=u},TQn8:function(t,e,n){"use strict";function r(t,e){return this.lift(new o.MergeMapOperator(t,e,1))}var o=n("cPhF");e.concatMap=r},TnjP:function(t,e,n){"use strict";var r=n("bKpL"),o=n("XOyC");r.Observable.prototype.delayWhen=o.delayWhen},TpsG: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=function(t){function e(){var e=t.call(this,"no elements in sequence");this.name=e.name="EmptyError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.EmptyError=o},Tq0x:function(t,e,n){"use strict";function r(t,e){var n=!1;return arguments.length>=2&&(n=!0),this.lift(new s(t,e,n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.reduce=r;var s=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.accumulator,this.seed,this.hasSeed))},t}();e.ReduceOperator=s;var a=function(t){function e(e,n,r,o){t.call(this,e),this.accumulator=n,this.hasSeed=o,this.index=0,this.hasValue=!1,this.acc=r,this.hasSeed||this.index++}return o(e,t),e.prototype._next=function(t){this.hasValue||(this.hasValue=this.hasSeed)?this._tryReduce(t):(this.acc=t,this.hasValue=!0)},e.prototype._tryReduce=function(t){var e;try{e=this.accumulator(this.acc,t,this.index++)}catch(t){return void this.destination.error(t)}this.acc=e},e.prototype._complete=function(){(this.hasValue||this.hasSeed)&&this.destination.next(this.acc),this.destination.complete()},e}(i.Subscriber);e.ReduceSubscriber=a},Txt5:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=s.async),this.lift(new u(t,e))}function o(t){t.clearThrottle()}var i=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)},s=n("IhB/"),a=n("T14+");e.auditTime=r;var u=function(){function t(t,e){this.duration=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.duration,this.scheduler))},t}(),c=function(t){function e(e,n,r){t.call(this,e),this.duration=n,this.scheduler=r,this.hasValue=!1}return i(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0,this.throttled||this.add(this.throttled=this.scheduler.schedule(o,this.duration,this))},e.prototype.clearThrottle=function(){var t=this,e=t.value,n=t.hasValue,r=t.throttled;r&&(this.remove(r),this.throttled=null,r.unsubscribe()),n&&(this.value=null,this.hasValue=!1,this.destination.next(e))},e}(a.Subscriber)},"UD+B":function(t,e,n){"use strict";var r=n("bKpL"),o=n("wDL6");r.Observable.prototype.repeat=o.repeat},UVHa:function(t,e,n){"use strict";var r=n("bKpL"),o=n("f7nC");r.Observable.prototype.bufferWhen=o.bufferWhen},UbPm:function(t,e,n){"use strict";var r=n("bKpL"),o=n("H9QY");r.Observable.prototype.timeInterval=o.timeInterval},Uvlg:function(t,e,n){"use strict";var r=n("bKpL"),o=n("LBqD");r.Observable.prototype.pairwise=o.pairwise},VML3:function(t,e,n){"use strict";var r=n("bKpL"),o=n("K5Xx");r.Observable.prototype.publish=o.publish},VXtB:function(t,e,n){"use strict";var r=n("bKpL"),o=n("ytB7");r.Observable.prototype.sampleTime=o.sampleTime},ViUi:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof o&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof i.Observable?t[0]:new s.ArrayObservable(t,r).lift(new a.MergeAllOperator(n))}var i=n("bKpL"),s=n("wZOE"),a=n("TIdC"),u=n("MicL");e.merge=r,e.mergeStatic=o},VsKd:function(t,e,n){"use strict";var r=n("bKpL"),o=n("23I1");r.Observable.defer=o.defer},W5L8:function(t,e,n){"use strict";var r=n("bKpL"),o=n("7PW3");r.Observable.using=o.using},WAO4:function(t,e,n){"use strict";function r(t,e,n){void 0===n&&(n=i.async);var r=s.isDate(t),o=r?+t-n.now():Math.abs(t);return this.lift(new c(o,r,e,n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("IhB/"),s=n("6jp4"),a=n("yW9Z"),u=n("ktfo");e.timeoutWith=r;var c=function(){function t(t,e,n,r){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},t}(),l=function(t){function e(e,n,r,o,i){t.call(this,e),this.absoluteTimeout=n,this.waitFor=r,this.withObservable=o,this.scheduler=i,this.action=null,this.scheduleTimeout()}return o(e,t),e.dispatchTimeout=function(t){var e=t.withObservable;t._unsubscribeAndRecycle(),t.add(u.subscribeToResult(t,e))},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},e}(a.OuterSubscriber)},WDs4:function(t,e,n){"use strict";n.d(e,"c",function(){return g}),n.d(e,"b",function(){return _}),n.d(e,"a",function(){return w});var r=n("/oeL"),o=n("bKpL"),i=(n.n(o),n("/zHi")),s=(n.n(i),n("R0J0")),a=(n.n(s),n("qm+V")),u=(n.n(a),n("5v8a")),c=(n.n(u),n("ub06")),l=(n.n(c),n("Pic8")),p=(n.n(l),n("IUpl")),f=(n.n(p),n("5uCp")),h=(n.n(f),n("maBJ")),d=n("a3e3"),y=n("t0d0"),v=n("Qg/J"),m=n("R08E"),b=n("ansA"),g=new r.OpaqueToken("USE_STORE"),_=new r.OpaqueToken("USE_DEFAULT_LANG"),w=function(){function t(t,e,n,o,i,s,a){void 0===s&&(s=!0),void 0===a&&(a=!1),this.store=t,this.currentLoader=e,this.compiler=n,this.parser=o,this.missingTranslationHandler=i,this.useDefaultLang=s,this.isolate=a,this.pending=!1,this._onTranslationChange=new r.EventEmitter,this._onLangChange=new r.EventEmitter,this._onDefaultLangChange=new r.EventEmitter,this._langs=[],this._translations={},this._translationRequests={}}return Object.defineProperty(t.prototype,"onTranslationChange",{get:function(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onLangChange",{get:function(){return this.isolate?this._onLangChange:this.store.onLangChange},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onDefaultLangChange",{get:function(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"defaultLang",{get:function(){return this.isolate?this._defaultLang:this.store.defaultLang},set:function(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentLang",{get:function(){return this.isolate?this._currentLang:this.store.currentLang},set:function(t){this.isolate?this._currentLang=t:this.store.currentLang=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"langs",{get:function(){return this.isolate?this._langs:this.store.langs},set:function(t){this.isolate?this._langs=t:this.store.langs=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"translations",{get:function(){return this.isolate?this._translations:this.store.translations},set:function(t){this.isolate?this._currentLang=t:this.store.translations=t},enumerable:!0,configurable:!0}),t.prototype.setDefaultLang=function(t){var e=this;if(t!==this.defaultLang){var n=this.retrieveTranslations(t);void 0!==n?(this.defaultLang||(this.defaultLang=t),n.take(1).subscribe(function(n){e.changeDefaultLang(t)})):this.changeDefaultLang(t)}},t.prototype.getDefaultLang=function(){return this.defaultLang},t.prototype.use=function(t){var e=this;if(t===this.currentLang)return o.Observable.of(this.translations[t]);var n=this.retrieveTranslations(t);return void 0!==n?(this.currentLang||(this.currentLang=t),n.take(1).subscribe(function(n){e.changeLang(t)}),n):(this.changeLang(t),o.Observable.of(this.translations[t]))},t.prototype.retrieveTranslations=function(t){var e;return void 0===this.translations[t]&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),e=this._translationRequests[t]),e},t.prototype.getTranslation=function(t){var e=this;return this.pending=!0,this.loadingTranslations=this.currentLoader.getTranslation(t).share(),this.loadingTranslations.take(1).subscribe(function(n){e.translations[t]=e.compiler.compileTranslations(n,t),e.updateLangs(),e.pending=!1},function(t){e.pending=!1}),this.loadingTranslations},t.prototype.setTranslation=function(t,e,n){void 0===n&&(n=!1),e=this.compiler.compileTranslations(e,t),n&&this.translations[t]?this.translations[t]=Object(b.c)(this.translations[t],e):this.translations[t]=e,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})},t.prototype.getLangs=function(){return this.langs},t.prototype.addLangs=function(t){var e=this;t.forEach(function(t){-1===e.langs.indexOf(t)&&e.langs.push(t)})},t.prototype.updateLangs=function(){this.addLangs(Object.keys(this.translations))},t.prototype.getParsedResult=function(t,e,n){var r;if(e instanceof Array){for(var i={},s=!1,a=0,u=e;a0?this.startWindowEvery:this.windowSize,n=this.destination,r=this.windowSize,o=this.windows,i=o.length,a=0;a=0&&u%e==0&&!this.closed&&o.shift().complete(),++this.count%e==0&&!this.closed){var c=new s.Subject;o.push(c),n.next(c)}},e.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(i.Subscriber)},Xga8:function(t,e,n){"use strict";var r=n("OXmC"),o=function(){function t(){this.subscriptions=[]}return t.prototype.logSubscribedFrame=function(){return this.subscriptions.push(new r.SubscriptionLog(this.scheduler.now())),this.subscriptions.length-1},t.prototype.logUnsubscribedFrame=function(t){var e=this.subscriptions,n=e[t];e[t]=new r.SubscriptionLog(n.subscribedFrame,this.scheduler.now())},t}();e.SubscriptionLoggable=o},Xtvq:function(t,e,n){"use strict";var r=n("bKpL"),o=n("zGUx");r.Observable.fromEvent=o.fromEvent},"Y+l6":function(t,e,n){"use strict";function r(){return this.lift(new s)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.toArray=r;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e),this.array=[]}return o(e,t),e.prototype._next=function(t){this.array.push(t)},e.prototype._complete=function(){this.destination.next(this.array),this.destination.complete()},e}(i.Subscriber)},YFUQ:function(t,e,n){"use strict";var r=n("bKpL"),o=n("BJqU");r.Observable.prototype.throttleTime=o.throttleTime},"Yj/5":function(t,e,n){"use strict";var r=n("Fq81");e.fromEventPattern=r.FromEventPatternObservable.create},YofN:function(t,e,n){"use strict";var r=n("7dLC");e.race=r.raceStatic},Yvsb: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=n("Z5ED"),s=function(t){function e(){t.call(this)}return r(e,t),e.create=function(){return new e},e.prototype._subscribe=function(t){i.noop()},e}(o.Observable);e.NeverObservable=s},Z2Sm:function(t,e,n){"use strict";var r=n("bKpL"),o=n("3N4h");r.Observable.prototype.window=o.window},Z5ED:function(t,e,n){"use strict";function r(){}e.noop=r},ZBFC:function(t,e,n){"use strict";var r=(n("rxZd"),n("iDwB"),n("2VFp"),n("bNH+"),n("4zAq"),n("pBJ6"),n("bIam"));n.d(e,"a",function(){return r.a})},ZQKz:function(t,e,n){"use strict";var r=n("bKpL"),o=n("1eQ7");r.Observable.prototype.first=o.first},ZQVD:function(t,e,n){"use strict";function r(){return this.lift(new a)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+"),s=n("Z5ED");e.ignoreElements=r;var a=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new u(t))},t}(),u=function(t){function e(){t.apply(this,arguments)}return o(e,t),e.prototype._next=function(t){s.noop()},e}(i.Subscriber)},ZXBV:function(t,e,n){"use strict";var r=n("bKpL"),o=n("Yj/5");r.Observable.fromEventPattern=o.fromEventPattern},Zfg9:function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+"),s=n("uT+d");e.skipLast=r;var a=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return 0===this._skipCount?e.subscribe(new i.Subscriber(t)):e.subscribe(new u(t,this._skipCount))},t}(),u=function(t){function e(e,n){t.call(this,e),this._skipCount=n,this._count=0,this._ring=new Array(n)}return o(e,t),e.prototype._next=function(t){var e=this._skipCount,n=this._count++;if(n0?e:n}:function(t,e){return t>e?t:e};return this.lift(new o.ReduceOperator(e))}var o=n("Tq0x");e.max=r},aCMF:function(t,e,n){"use strict";function r(t,e){return this.lift(new a(t,e))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("yW9Z"),s=n("ktfo");e.switchMap=r;var a=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.project,this.resultSelector))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.resultSelector=r,this.index=0}return o(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe(),this.add(this.innerSubscription=s.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,o){this.resultSelector?this._tryNotifyNext(t,e,n,r):this.destination.next(e)},e.prototype._tryNotifyNext=function(t,e,n,r){var o;try{o=this.resultSelector(t,e,n,r)}catch(t){return void this.destination.error(t)}this.destination.next(o)},e}(i.OuterSubscriber)},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},ab8l:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("/oeL"),o=function(){function t(){}return t.observe=function(t,e){var n=this.genObserverKey(t,e);return n in this.observers?this.observers[n]:this.observers[n]=new r.EventEmitter},t.emit=function(t,e,n){var r=this.genObserverKey(t,e);r in this.observers&&this.observers[r].emit(n)},t.genObserverKey=function(t,e){return t+"|"+e},t}();o.observers={}},afTc:function(t,e,n){"use strict";var r=n("bKpL"),o=n("OdUO");r.Observable.prototype.elementAt=o.elementAt},amjc:function(t,e,n){"use strict";var r=n("bKpL"),o=n("yQ6o");r.Observable.bindCallback=o.bindCallback},ansA:function(t,e,n){"use strict";function r(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!==t&&e!==e)return!0;var n,o,i,s=typeof t,a=typeof e;if(s==a&&"object"==s){if(!Array.isArray(t)){if(Array.isArray(e))return!1;i=Object.create(null);for(o in t){if(!r(t[o],e[o]))return!1;i[o]=!0}for(o in e)if(!(o in i)&&void 0!==e[o])return!1;return!0}if(!Array.isArray(e))return!1;if((n=t.length)==e.length){for(o=0;o\n '}]}],t.ctorParameters=function(){return[{type:o.a},{type:r.ChangeDetectorRef},{type:r.Renderer},{type:r.ElementRef}]},t}()},bjDG:function(t,e,n){"use strict";var r=n("NZPJ");e.generate=r.GenerateObservable.create},bm2B:function(t,e,n){"use strict";function r(t){return null==t||0===t.length}function o(t){return null!=t}function i(t){var e=Object(N["\u0275isPromise"])(t)?Object(L.fromPromise)(t):t;if(!Object(N["\u0275isObservable"])(e))throw new Error("Expected validator to return Promise or Observable.");return e}function s(t,e){return e.map(function(e){return e(t)})}function a(t,e){return e.map(function(e){return e(t)})}function u(t){var e=t.reduce(function(t,e){return null!=e?Object.assign({},t,e):t},{});return 0===Object.keys(e).length?null:e}function c(){return/android (\d+)/.test((Object(V.u)()?Object(V.u)().getUserAgent():"").toLowerCase())}function l(t){return t.validate?function(e){return t.validate(e)}:t}function p(t){return t.validate?function(e){return t.validate(e)}:t}function f(){throw new Error("unimplemented")}function h(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}function d(t){return t.split(":")[0]}function y(t,e){return null==t?""+e:("string"==typeof e&&(e="'"+e+"'"),e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}function v(t){return t.split(":")[0]}function m(t,e){return e.path.concat([t])}function b(t,e){t||O(e,"Cannot find control with"),e.valueAccessor||O(e,"No value accessor for form control with"),t.validator=K.compose([t.validator,e.validator]),t.asyncValidator=K.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),e.valueAccessor.registerOnChange(function(n){e.viewToModelUpdate(n),t.markAsDirty(),t.setValue(n,{emitModelToViewChange:!1})}),e.valueAccessor.registerOnTouched(function(){return t.markAsTouched()}),t.registerOnChange(function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)}),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),e._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function g(t,e){e.valueAccessor.registerOnChange(function(){return w(e)}),e.valueAccessor.registerOnTouched(function(){return w(e)}),e._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}function _(t,e){null==t&&O(e,"Cannot find control with"),t.validator=K.compose([t.validator,e.validator]),t.asyncValidator=K.composeAsync([t.asyncValidator,e.asyncValidator])}function w(t){return O(t,"There is no FormControl instance attached to form control element with")}function O(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function C(t){return null!=t?K.compose(t.map(l)):null}function S(t){return null!=t?K.composeAsync(t.map(p)):null}function x(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Object(N["\u0275looseIdentical"])(e,n.currentValue)}function E(t){return pt.some(function(e){return t.constructor===e})}function T(t,e){if(!e)return null;var n=void 0,r=void 0,o=void 0;return e.forEach(function(e){e.constructor===J?n=e:E(e)?(r&&O(t,"More than one built-in value accessor matches form control with"),r=e):(o&&O(t,"More than one custom value accessor matches form control with"),o=e)}),o||(r||(n||(O(t,"No valid value accessor for form control with"),null)))}function P(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(n)),e instanceof Array&&0===e.length?null:e.reduce(function(t,e){return t instanceof gt?t.controls[e]||null:t instanceof _t?t.at(e)||null:null},t))}function j(t){return Array.isArray(t)?C(t):t||null}function A(t){return Array.isArray(t)?S(t):t||null}function R(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function I(t){return!(t instanceof Dt||t instanceof Mt||t instanceof Ft)}n.d(e,"b",function(){return G}),n.d(e,"c",function(){return B}),n.d(e,"j",function(){return z}),n.d(e,"a",function(){return Z}),n.d(e,"d",function(){return J}),n.d(e,"k",function(){return $}),n.d(e,"l",function(){return yt}),n.d(e,"m",function(){return vt}),n.d(e,"n",function(){return Ct}),n.d(e,"o",function(){return At}),n.d(e,"r",function(){return nt}),n.d(e,"p",function(){return at}),n.d(e,"u",function(){return st}),n.d(e,"e",function(){return Gt}),n.d(e,"h",function(){return Xt}),n.d(e,"q",function(){return $t}),n.d(e,"t",function(){return Kt}),n.d(e,"f",function(){return te}),n.d(e,"i",function(){return H}),n.d(e,"g",function(){return se}),n.d(e,"s",function(){return ae}),n.d(e,"v",function(){return ie}),n.d(e,"y",function(){return ee}),n.d(e,"w",function(){return Y}),n.d(e,"z",function(){return et}),n.d(e,"x",function(){return ot}),n.d(e,"A",function(){return lt});var k=n("6Xbx"),N=n("/oeL"),M=n("Fhmd"),L=(n.n(M),n("QU9E")),D=(n.n(L),n("lx+J")),V=(n.n(D),n("fc+i")),F=function(){function t(){}return t.prototype.control=function(){},Object.defineProperty(t.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.reset=function(t){void 0===t&&(t=void 0),this.control&&this.control.reset(t)},t.prototype.hasError=function(t,e){return!!this.control&&this.control.hasError(t,e)},t.prototype.getError=function(t,e){return this.control?this.control.getError(t,e):null},t}(),B=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return k.a(e,t),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(F),H=new N.InjectionToken("NgValidators"),U=new N.InjectionToken("NgAsyncValidators"),q=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,K=function(){function t(){}return t.min=function(t){return function(e){if(r(e.value)||r(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&nt?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return r(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return q.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(r(e.value))return null;var n=e.value?e.value.length:0;return nt?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){if(!e)return t.nullValidator;var n,o;return"string"==typeof e?(o="^"+e+"$",n=new RegExp(o)):(o=e.toString(),n=e),function(t){if(r(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:o,actualValue:e}}}},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(o);return 0==e.length?null:function(t){return u(s(t,e))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(o);return 0==e.length?null:function(t){var n=a(t,e).map(i);return D.map.call(Object(M.forkJoin)(n),u)}},t}(),z=new N.InjectionToken("NgValueAccessor"),W={provide:z,useExisting:Object(N.forwardRef)(function(){return G}),multi:!0},G=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}();G.decorators=[{type:N.Directive,args:[{selector:"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]",host:{"(change)":"onChange($event.target.checked)","(blur)":"onTouched()"},providers:[W]}]}],G.ctorParameters=function(){return[{type:N.Renderer2},{type:N.ElementRef}]};var Q={provide:z,useExisting:Object(N.forwardRef)(function(){return J}),multi:!0},Z=new N.InjectionToken("CompositionEventMode"),J=function(){function t(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!c())}return t.prototype.writeValue=function(t){var e=null==t?"":t;this._renderer.setProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},t}();J.decorators=[{type:N.Directive,args:[{selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]",host:{"(input)":"_handleInput($event.target.value)","(blur)":"onTouched()","(compositionstart)":"_compositionStart()","(compositionend)":"_compositionEnd($event.target.value)"},providers:[Q]}]}],J.ctorParameters=function(){return[{type:N.Renderer2},{type:N.ElementRef},{type:void 0,decorators:[{type:N.Optional},{type:N.Inject,args:[Z]}]}]};var X={provide:z,useExisting:Object(N.forwardRef)(function(){return Y}),multi:!0},Y=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){var e=null==t?"":t;this._renderer.setProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}();Y.decorators=[{type:N.Directive,args:[{selector:"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[X]}]}],Y.ctorParameters=function(){return[{type:N.Renderer2},{type:N.ElementRef}]};var $=function(t){function e(){var e=t.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return k.a(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return f()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return f()},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){},e}(F),tt={provide:z,useExisting:Object(N.forwardRef)(function(){return nt}),multi:!0},et=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&(t[0]._parent===e._control._parent&&t[1].name===e.name)},t}();et.decorators=[{type:N.Injectable}],et.ctorParameters=function(){return[]};var nt=function(){function t(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get($),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')},t}();nt.decorators=[{type:N.Directive,args:[{selector:"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",host:{"(change)":"onChange()","(blur)":"onTouched()"},providers:[tt]}]}],nt.ctorParameters=function(){return[{type:N.Renderer2},{type:N.ElementRef},{type:et},{type:N.Injector}]},nt.propDecorators={name:[{type:N.Input}],formControlName:[{type:N.Input}],value:[{type:N.Input}]};var rt={provide:z,useExisting:Object(N.forwardRef)(function(){return ot}),multi:!0},ot=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}();ot.decorators=[{type:N.Directive,args:[{selector:"input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[rt]}]}],ot.ctorParameters=function(){return[{type:N.Renderer2},{type:N.ElementRef}]};var it={provide:z,useExisting:Object(N.forwardRef)(function(){return st}),multi:!0},st=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=N["\u0275looseIdentical"]}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=h(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){for(var e=0,n=Array.from(this._optionMap.keys());e-1)}}else n=function(t,e){t._setSelected(!1)};this._optionMap.forEach(n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var o=n.selectedOptions,i=0;i0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}(mt),_t=function(t){function e(e,n,r){var o=t.call(this,n||null,r||null)||this;return o.controls=e,o._initObservables(),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return k.a(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach(function(t,r){n._throwIfControlMissing(r),n.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach(function(t,r){n.at(r)&&n.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof bt?t.value:t.getRawValue()})},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this._value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){for(var t=0,e=this.controls;t0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(mt),wt={provide:B,useExisting:Object(N.forwardRef)(function(){return Ct})},Ot=Promise.resolve(null),Ct=function(t){function e(e,n){var r=t.call(this)||this;return r._submitted=!1,r.ngSubmit=new N.EventEmitter,r.form=new gt({},C(e),S(n)),r}return k.a(e,t),Object.defineProperty(e.prototype,"submitted",{get:function(){return this._submitted},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;Ot.then(function(){var n=e._findContainer(t.path);t._control=n.registerControl(t.name,t.control),b(t.control,t),t.control.updateValueAndValidity({emitEvent:!1})})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;Ot.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.addFormGroup=function(t){var e=this;Ot.then(function(){var n=e._findContainer(t.path),r=new gt({});_(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;Ot.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;Ot.then(function(){n.form.get(t.path).setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this._submitted=!0,this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this._submitted=!1},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e}(B);Ct.decorators=[{type:N.Directive,args:[{selector:"form:not([ngNoForm]):not([formGroup]),ngForm,[ngForm]",providers:[wt],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},outputs:["ngSubmit"],exportAs:"ngForm"}]}],Ct.ctorParameters=function(){return[{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[U]}]}]};var St={formControlName:'\n
\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',formGroupName:'\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',formArrayName:'\n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });',ngModelGroup:'\n
\n
\n \n
\n
',ngModelWithFormGroup:'\n
\n \n \n
\n '},xt=function(){function t(){}return t.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '+St.formControlName+"\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n "+St.ngModelWithFormGroup)},t.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+St.formGroupName+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+St.ngModelGroup)},t.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')},t.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+St.formGroupName+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+St.ngModelGroup)},t}(),Et={provide:B,useExisting:Object(N.forwardRef)(function(){return Tt})},Tt=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return k.a(e,t),e.prototype._checkParentType=function(){this._parent instanceof e||this._parent instanceof Ct||xt.modelGroupParentException()},e}(ft);Tt.decorators=[{type:N.Directive,args:[{selector:"[ngModelGroup]",providers:[Et],exportAs:"ngModelGroup"}]}],Tt.ctorParameters=function(){return[{type:B,decorators:[{type:N.Host},{type:N.SkipSelf}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[U]}]}]},Tt.propDecorators={name:[{type:N.Input,args:["ngModelGroup"]}]};var Pt={provide:$,useExisting:Object(N.forwardRef)(function(){return At})},jt=Promise.resolve(null),At=function(t){function e(e,n,r,o){var i=t.call(this)||this;return i._control=new bt,i._registered=!1,i.update=new N.EventEmitter,i._parent=e,i._rawValidators=n||[],i._rawAsyncValidators=r||[],i.valueAccessor=T(i,o),i}return k.a(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),x(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this._control},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?m(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return C(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return S(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){b(this._control,this),this._control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof Tt)&&this._parent instanceof ft?xt.formGroupNameException():this._parent instanceof Tt||this._parent instanceof Ct||xt.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||xt.missingNameException()},e.prototype._updateValue=function(t){var e=this;jt.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;jt.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})},e}($);At.decorators=[{type:N.Directive,args:[{selector:"[ngModel]:not([formControlName]):not([formControl])",providers:[Pt],exportAs:"ngModel"}]}],At.ctorParameters=function(){return[{type:B,decorators:[{type:N.Optional},{type:N.Host}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[U]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[z]}]}]},At.propDecorators={name:[{type:N.Input}],isDisabled:[{type:N.Input,args:["disabled"]}],model:[{type:N.Input,args:["ngModel"]}],options:[{type:N.Input,args:["ngModelOptions"]}],update:[{type:N.Output,args:["ngModelChange"]}]};var Rt=function(){function t(){}return t.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+St.formControlName)},t.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+St.formGroupName+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+St.ngModelGroup)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+St.formControlName)},t.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+St.formGroupName)},t.arrayParentException=function(){throw new Error("formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+St.formArrayName)},t.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},t}(),It={provide:$,useExisting:Object(N.forwardRef)(function(){return kt})},kt=function(t){function e(e,n,r){var o=t.call(this)||this;return o.update=new N.EventEmitter,o._rawValidators=e||[],o._rawAsyncValidators=n||[],o.valueAccessor=T(o,r),o}return k.a(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){Rt.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._isControlChanged(t)&&(b(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),x(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return C(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return S(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._isControlChanged=function(t){return t.hasOwnProperty("form")},e}($);kt.decorators=[{type:N.Directive,args:[{selector:"[formControl]",providers:[It],exportAs:"ngForm"}]}],kt.ctorParameters=function(){return[{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[U]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[z]}]}]},kt.propDecorators={form:[{type:N.Input,args:["formControl"]}],model:[{type:N.Input,args:["ngModel"]}],update:[{type:N.Output,args:["ngModelChange"]}],isDisabled:[{type:N.Input,args:["disabled"]}]};var Nt={provide:B,useExisting:Object(N.forwardRef)(function(){return Mt})},Mt=function(t){function e(e,n){var r=t.call(this)||this;return r._validators=e,r._asyncValidators=n,r._submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new N.EventEmitter,r}return k.a(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"submitted",{get:function(){return this._submitted},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return b(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){R(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);_(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);_(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},e.prototype.onSubmit=function(t){return this._submitted=!0,this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this._submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach(function(e){var n=t.form.get(e.path);e._control!==n&&(g(e._control,e),n&&b(n,e),e._control=n)}),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=C(this._validators);this.form.validator=K.compose([this.form.validator,t]);var e=S(this._asyncValidators);this.form.asyncValidator=K.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||Rt.missingFormException()},e}(B);Mt.decorators=[{type:N.Directive,args:[{selector:"[formGroup]",providers:[Nt],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},exportAs:"ngForm"}]}],Mt.ctorParameters=function(){return[{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[U]}]}]},Mt.propDecorators={form:[{type:N.Input,args:["formGroup"]}],ngSubmit:[{type:N.Output}]};var Lt={provide:B,useExisting:Object(N.forwardRef)(function(){return Dt})},Dt=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return k.a(e,t),e.prototype._checkParentType=function(){I(this._parent)&&Rt.groupParentException()},e}(ft);Dt.decorators=[{type:N.Directive,args:[{selector:"[formGroupName]",providers:[Lt]}]}],Dt.ctorParameters=function(){return[{type:B,decorators:[{type:N.Optional},{type:N.Host},{type:N.SkipSelf}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[U]}]}]},Dt.propDecorators={name:[{type:N.Input,args:["formGroupName"]}]};var Vt={provide:B,useExisting:Object(N.forwardRef)(function(){return Ft})},Ft=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return k.a(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return m(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return C(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return S(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){I(this._parent)&&Rt.arrayParentException()},e}(B);Ft.decorators=[{type:N.Directive,args:[{selector:"[formArrayName]",providers:[Vt]}]}],Ft.ctorParameters=function(){return[{type:B,decorators:[{type:N.Optional},{type:N.Host},{type:N.SkipSelf}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[U]}]}]},Ft.propDecorators={name:[{type:N.Input,args:["formArrayName"]}]};var Bt={provide:$,useExisting:Object(N.forwardRef)(function(){return Ht})},Ht=function(t){function e(e,n,r,o){var i=t.call(this)||this;return i._added=!1,i.update=new N.EventEmitter,i._parent=e,i._rawValidators=n||[],i._rawAsyncValidators=r||[],i.valueAccessor=T(i,o),i}return k.a(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){Rt.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._added||this._setUpControl(),x(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},Object.defineProperty(e.prototype,"path",{get:function(){return m(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return C(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return S(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this._control},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){!(this._parent instanceof Dt)&&this._parent instanceof ft?Rt.ngModelGroupException():this._parent instanceof Dt||this._parent instanceof Mt||this._parent instanceof Ft||Rt.controlParentException()},e.prototype._setUpControl=function(){this._checkParentType(),this._control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},e}($);Ht.decorators=[{type:N.Directive,args:[{selector:"[formControlName]",providers:[Bt]}]}],Ht.ctorParameters=function(){return[{type:B,decorators:[{type:N.Optional},{type:N.Host},{type:N.SkipSelf}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[U]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[z]}]}]},Ht.propDecorators={name:[{type:N.Input,args:["formControlName"]}],model:[{type:N.Input,args:["ngModel"]}],update:[{type:N.Output,args:["ngModelChange"]}],isDisabled:[{type:N.Input,args:["disabled"]}]};var Ut={provide:H,useExisting:Object(N.forwardRef)(function(){return Kt}),multi:!0},qt={provide:H,useExisting:Object(N.forwardRef)(function(){return zt}),multi:!0},Kt=function(){function t(){}return Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this.required?K.required(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t}();Kt.decorators=[{type:N.Directive,args:[{selector:":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",providers:[Ut],host:{"[attr.required]":'required ? "" : null'}}]}],Kt.ctorParameters=function(){return[]},Kt.propDecorators={required:[{type:N.Input}]};var zt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return k.a(e,t),e.prototype.validate=function(t){return this.required?K.requiredTrue(t):null},e}(Kt);zt.decorators=[{type:N.Directive,args:[{selector:"input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]",providers:[qt],host:{"[attr.required]":'required ? "" : null'}}]}],zt.ctorParameters=function(){return[]};var Wt={provide:H,useExisting:Object(N.forwardRef)(function(){return Gt}),multi:!0},Gt=function(){function t(){}return Object.defineProperty(t.prototype,"email",{set:function(t){this._enabled=""===t||!0===t||"true"===t,this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this._enabled?K.email(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t}();Gt.decorators=[{type:N.Directive,args:[{selector:"[email][formControlName],[email][formControl],[email][ngModel]",providers:[Wt]}]}],Gt.ctorParameters=function(){return[]},Gt.propDecorators={email:[{type:N.Input}]};var Qt={provide:H,useExisting:Object(N.forwardRef)(function(){return Zt}),multi:!0},Zt=function(){function t(){}return t.prototype.ngOnChanges=function(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null==this.minlength?null:this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=K.minLength(parseInt(this.minlength,10))},t}();Zt.decorators=[{type:N.Directive,args:[{selector:"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]",providers:[Qt],host:{"[attr.minlength]":"minlength ? minlength : null"}}]}],Zt.ctorParameters=function(){return[]},Zt.propDecorators={minlength:[{type:N.Input}]};var Jt={provide:H,useExisting:Object(N.forwardRef)(function(){return Xt}),multi:!0},Xt=function(){function t(){}return t.prototype.ngOnChanges=function(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null!=this.maxlength?this._validator(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=K.maxLength(parseInt(this.maxlength,10))},t}();Xt.decorators=[{type:N.Directive,args:[{selector:"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",providers:[Jt],host:{"[attr.maxlength]":"maxlength ? maxlength : null"}}]}],Xt.ctorParameters=function(){return[]},Xt.propDecorators={maxlength:[{type:N.Input}]};var Yt={provide:H,useExisting:Object(N.forwardRef)(function(){return $t}),multi:!0},$t=function(){function t(){}return t.prototype.ngOnChanges=function(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=K.pattern(this.pattern)},t}();$t.decorators=[{type:N.Directive,args:[{selector:"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]",providers:[Yt],host:{"[attr.pattern]":"pattern ? pattern : null"}}]}],$t.ctorParameters=function(){return[]},$t.propDecorators={pattern:[{type:N.Input}]};var te=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t),r=null!=e?e.validator:null,o=null!=e?e.asyncValidator:null;return new gt(n,r,o)},t.prototype.control=function(t,e,n){return new bt(t,e,n)},t.prototype.array=function(t,e,n){var r=this,o=t.map(function(t){return r._createControl(t)});return new _t(o,e,n)},t.prototype._reduceControls=function(t){var e=this,n={};return Object.keys(t).forEach(function(r){n[r]=e._createControl(t[r])}),n},t.prototype._createControl=function(t){if(t instanceof bt||t instanceof gt||t instanceof _t)return t;if(Array.isArray(t)){var e=t[0],n=t.length>1?t[1]:null,r=t.length>2?t[2]:null;return this.control(e,n,r)}return this.control(t)},t}();te.decorators=[{type:N.Injectable}],te.ctorParameters=function(){return[]};var ee=(new N.Version("4.4.5"),function(){function t(){}return t}());ee.decorators=[{type:N.Directive,args:[{selector:"form:not([ngNoForm]):not([ngNativeValidate])",host:{novalidate:""}}]}],ee.ctorParameters=function(){return[]};var ne=[ee,at,lt,J,Y,ot,G,st,ct,nt,yt,vt,Kt,Zt,Xt,$t,zt,Gt],re=[At,Tt,Ct],oe=[kt,Mt,Ht,Dt,Ft],ie=function(){function t(){}return t}();ie.decorators=[{type:N.NgModule,args:[{declarations:ne,exports:ne}]}],ie.ctorParameters=function(){return[]};var se=function(){function t(){}return t}();se.decorators=[{type:N.NgModule,args:[{declarations:re,providers:[et],exports:[ie,re]}]}],se.ctorParameters=function(){return[]};var ae=function(){function t(){}return t}();ae.decorators=[{type:N.NgModule,args:[{declarations:[oe],providers:[te,et],exports:[ie,oe]}]}],ae.ctorParameters=function(){return[]}},bprQ:function(t,e,n){"use strict";var r=n("bKpL"),o=n("9mYp");r.Observable.onErrorResumeNext=o.onErrorResumeNext},buGu:function(t,e,n){"use strict";function r(t){return void 0===t&&(t=null),this.lift(new s(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.defaultIfEmpty=r;var s=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.defaultValue))},t}(),a=function(t){function e(e,n){t.call(this,e),this.defaultValue=n,this.isEmpty=!0}return o(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(i.Subscriber)},c2EU:function(t,e,n){"use strict";function r(t,n){return void 0===n&&(n=e.defaultThrottleConfig),this.lift(new a(t,n.leading,n.trailing))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("yW9Z"),s=n("ktfo");e.defaultThrottleConfig={leading:!0,trailing:!1},e.throttle=r;var a=function(){function t(t,e,n){this.durationSelector=t,this.leading=e,this.trailing=n}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.durationSelector,this.leading,this.trailing))},t}(),u=function(t){function e(e,n,r,o){t.call(this,e),this.destination=e,this.durationSelector=n,this._leading=r,this._trailing=o,this._hasTrailingValue=!1}return o(e,t),e.prototype._next=function(t){if(this.throttled)this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=t);else{var e=this.tryDurationSelector(t);e&&this.add(this.throttled=s.subscribeToResult(this,e)),this._leading&&(this.destination.next(t),this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=t))}},e.prototype.tryDurationSelector=function(t){try{return this.durationSelector(t)}catch(t){return this.destination.error(t),null}},e.prototype._unsubscribe=function(){var t=this,e=t.throttled;t._trailingValue,t._hasTrailingValue,t._trailing;this._trailingValue=null,this._hasTrailingValue=!1,e&&(this.remove(e),this.throttled=null,e.unsubscribe())},e.prototype._sendTrailing=function(){var t=this,e=t.destination,n=t.throttled,r=t._trailing,o=t._trailingValue,i=t._hasTrailingValue;n&&r&&i&&(e.next(o),this._trailingValue=null,this._hasTrailingValue=!1)},e.prototype.notifyNext=function(t,e,n,r,o){this._sendTrailing(),this._unsubscribe()},e.prototype.notifyComplete=function(){this._sendTrailing(),this._unsubscribe()},e}(i.OuterSubscriber)},c9Yo:function(t,e,n){"use strict";function r(t){return s["\u0275vid"](0,[(t()(),s["\u0275eld"](0,0,null,null,4,"button",[["aria-label","Close"],["class","close"],["data-dismiss","modal"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0,o=t.component;if("click"===e){r=!1!==o.modal.dismiss()&&r}return r},null,null)),(t()(),s["\u0275ted"](-1,null,["\n "])),(t()(),s["\u0275eld"](2,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(t()(),s["\u0275ted"](-1,null,["\xd7"])),(t()(),s["\u0275ted"](-1,null,["\n "]))],null,null)}function o(t){return s["\u0275vid"](0,[(t()(),s["\u0275ted"](-1,null,["\n "])),(t()(),s["\u0275eld"](1,0,null,null,6,"div",[["class","modal-header"]],null,null,null,null,null)),(t()(),s["\u0275ted"](-1,null,["\n "])),(t()(),s["\u0275and"](16777216,null,null,1,null,r)),s["\u0275did"](4,16384,null,0,a.NgIf,[s.ViewContainerRef,s.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),s["\u0275ted"](-1,null,["\n "])),s["\u0275ncd"](null,0),(t()(),s["\u0275ted"](-1,null,["\n "])),(t()(),s["\u0275ted"](-1,null,["\n "]))],function(t,e){t(e,4,0,e.component.showClose)},null)}function i(t){return s["\u0275vid"](0,[(t()(),s["\u0275eld"](0,0,null,null,1,"modal-header",[],null,null,null,o,p)),s["\u0275did"](1,49152,null,0,u.ModalHeaderComponent,[c.ModalComponent],null,null)],null,null)}n.d(e,"a",function(){return p}),e.b=o;var s=n("/oeL"),a=n("qbdv"),u=n("8AR9"),c=(n.n(u),n("vCyR")),l=(n.n(c),[]),p=s["\u0275crt"]({encapsulation:2,styles:l,data:{}});s["\u0275ccf"]("modal-header",u.ModalHeaderComponent,i,{showClose:"show-close"},{},["*"])},cPhF:function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"number"==typeof e&&(n=e,e=null),this.lift(new a(t,e,n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("ktfo"),s=n("yW9Z");e.mergeMap=r;var a=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.project=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.project,this.resultSelector,this.concurrent))},t}();e.MergeMapOperator=a;var u=function(t){function e(e,n,r,o){void 0===o&&(o=Number.POSITIVE_INFINITY),t.call(this,e),this.project=n,this.resultSelector=r,this.concurrent=o,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return o(e,t),e.prototype._next=function(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(s.OuterSubscriber);e.MergeMapSubscriber=u},"d+d+":function(t,e,n){"use strict";function r(t){return i["\u0275vid"](2,[(t()(),i["\u0275ted"](-1,null,["\n "])),(t()(),i["\u0275eld"](1,0,null,null,1,"div",[],[[2,"dropup",null],[2,"dropdown",null],[2,"show",null],[2,"open",null]],null,null,null,null)),i["\u0275ncd"](null,0),(t()(),i["\u0275ted"](-1,null,["\n "]))],null,function(t,e){var n=e.component;t(e,1,0,"up"===n.direction,"down"===n.direction,n.isOpen,n.isOpen)})}function o(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"bs-dropdown-container",[["style","display:block;position: absolute;"]],null,null,null,r,c)),i["\u0275did"](1,180224,null,0,s.a,[a.a,i.ChangeDetectorRef,i.Renderer,i.ElementRef],null,null)],null,null)}n.d(e,"a",function(){return l});var i=n("/oeL"),s=n("bNH+"),a=n("4zAq"),u=[],c=i["\u0275crt"]({encapsulation:2,styles:u,data:{}}),l=i["\u0275ccf"]("bs-dropdown-container",s.a,o,{},{},["*"])},d3kC:function(t,e,n){"use strict";var r=n("bKpL"),o=n("bjDG");r.Observable.generate=o.generate},dTYv:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){function t(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n}return t}()},dgXD:function(t,e,n){"use strict";var r=n("bKpL"),o=n("7dLC");r.Observable.prototype.race=o.race},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},dxfK:function(t,e,n){"use strict";function r(t,e){return o.distinctUntilChanged.call(this,function(n,r){return e?e(n[t],r[t]):n[t]===r[t]})}var o=n("kGJb");e.distinctUntilKeyChanged=r},dy2L:function(t,e,n){"use strict";var r=n("/oeL"),o=n("vCyR"),i=function(){function t(t,e){var n=this;this.el=t,this.modal=e,e&&this.modal.onOpen.subscribe(function(){n.el.nativeElement.focus()})}return t.decorators=[{type:r.Directive,args:[{selector:"[autofocus]"}]}],t.ctorParameters=[{type:r.ElementRef},{type:o.ModalComponent,decorators:[{type:r.Optional}]}],t}();e.AutofocusDirective=i},dy5W:function(t,e,n){"use strict";var r=n("bKpL"),o=n("WSkQ");r.Observable.prototype.last=o.last},dyFf:function(t,e,n){"use strict";var r=n("bKpL"),o=n("PT4i");r.Observable.never=o.never},e7Zl: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,r){t.call(this),this.start=e,this._count=n,this.scheduler=r}return r(e,t),e.create=function(t,n,r){return void 0===t&&(t=0),void 0===n&&(n=0),new e(t,n,r)},e.dispatch=function(t){var e=t.start,n=t.index,r=t.count,o=t.subscriber;if(n>=r)return void o.complete();o.next(e),o.closed||(t.index=n+1,t.start=e+1,this.schedule(t))},e.prototype._subscribe=function(t){var n=0,r=this.start,o=this._count,i=this.scheduler;if(i)return i.schedule(e.dispatch,0,{index:n,count:o,start:r,subscriber:t});for(;;){if(n++>=o){t.complete();break}if(t.next(r++),t.closed)break}},e}(o.Observable);e.RangeObservable=i},eqpX:function(t,e,n){"use strict";var r=n("bKpL"),o=n("rDIt");r.Observable.prototype.do=o._do,r.Observable.prototype._do=o._do},etEa:function(t,e,n){"use strict";function r(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return this.lift(new s(t,this,!1,e))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.find=r;var s=function(){function t(t,e,n,r){this.predicate=t,this.source=e,this.yieldIndex=n,this.thisArg=r}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}();e.FindValueOperator=s;var a=function(t){function e(e,n,r,o,i){t.call(this,e),this.predicate=n,this.source=r,this.yieldIndex=o,this.thisArg=i,this.index=0}return o(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){var e=this,n=e.predicate,r=e.thisArg,o=this.index++;try{n.call(r||this,t,o,this.source)&&this.notifyComplete(this.yieldIndex?o:t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},e}(i.Subscriber);e.FindValueSubscriber=a},etpI:function(t,e,n){"use strict";var r=function(){function t(){this.values={}}return t.prototype.delete=function(t){return this.values[t]=null,!0},t.prototype.set=function(t,e){return this.values[t]=e,this},t.prototype.get=function(t){return this.values[t]},t.prototype.forEach=function(t,e){var n=this.values;for(var r in n)n.hasOwnProperty(r)&&null!==n[r]&&t.call(e,n[r],r)},t.prototype.clear=function(){this.values={}},t}();e.FastMap=r},eumZ:function(t,e,n){"use strict";var r=n("bKpL"),o=n("Xa8F");r.Observable.prototype.windowCount=o.windowCount},"f7+7":function(t,e,n){"use strict";function r(t){var e=this,n=t.source,r=t.subscriber,s=t.context,a=n,p=a.callbackFunc,f=a.args,h=a.scheduler,d=n.subject;if(!d){d=n.subject=new l.AsyncSubject;var y=function t(){for(var n=[],r=0;r)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;var o=r[1],i=r[2],s=r[3];e.push(A(o,s));var a=o==Gt&&s==Gt;"<"!=i[0]||a||e.push(A(s,o))}function j(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";default:return e.push('The transition alias value "'+t+'" is not supported'),"* => *"}}function A(t,e){return function(n,r){var o=t==Gt||t==n,i=e==Gt||e==r;return o||"boolean"!=typeof n||(o=n?"true"===t:"false"===t),i||"boolean"!=typeof r||(i=r?"true"===e:"false"===e),o&&i}}function R(t,e){return(new Yt).build(t,e)}function I(t){var e=!!t.split(/\s*,\s*/).find(function(t){return t==Qt});return e&&(t=t.replace(Zt,"")),t=t.replace(Xt,St).replace(Jt,xt).replace(/@\*/g,Et).replace(/@\w+/g,function(t){return Et+"-"+t.substr(1)}).replace(/:animating/g,Tt),[t,e]}function k(t){return t?d(t):null}function N(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach(function(t){if(M(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}});else if(M(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}function M(t){return!Array.isArray(t)&&"object"==typeof t}function L(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t){f(t,e).duration;return new zt(t,0,"")}var r=t;return r.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})?new Wt(r):(n=n||f(r,e),new zt(n.duration,n.delay,n.easing))}function D(t){return t?(t=d(t),t.params&&(t.params=k(t.params))):t={},t}function V(t,e,n,r,o,i,s,a){return void 0===s&&(s=null),void 0===a&&(a=!1),{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:o,delay:i,totalTime:o+i,easing:s,subTimeline:a}}function F(t,e,n,r,o,i,s,a){return void 0===r&&(r={}),void 0===o&&(o={}),void 0===a&&(a=[]),(new ee).buildKeyframes(t,e,n,r,o,i,s,a)}function B(t,e){void 0===e&&(e=3);var n=Math.pow(10,e-1);return Math.round(t*n)/n}function H(t,e){var n,r={};return t.forEach(function(t){"*"===t?(n=n||Object.keys(e),n.forEach(function(t){r[t]=ft.a})):v(t,!1,r)}),r}function U(t,e,n,r,o,i,s,a,u,c,l,p){return{type:0,element:t,triggerName:e,isRemovalTransition:o,fromState:n,fromStyles:i,toState:r,toStyles:s,timelines:a,queriedElements:u,preStyleProps:c,postStyleProps:l,errors:p}}function q(t,e,n){return t.some(function(t){return t(e,n)})}function K(t,e){return new fe(t,e)}function z(t,e){var n=[function(t,e){return!0}],r=new Mt([]),o=new Nt(n,r);return new le(t,o,e)}function W(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}function G(t,e,n){var r;if(t instanceof Map){if(r=t.get(e)){if(r.length){var o=r.indexOf(n);r.splice(o,1)}0==r.length&&t.delete(e)}}else if(r=t[e]){if(r.length){var o=r.indexOf(n);r.splice(o,1)}0==r.length&&delete t[e]}return r}function Q(t){switch(typeof t){case"boolean":return t?"1":"0";default:return null!=t?t.toString():null}}function Z(t){return t&&1===t.nodeType}function J(t){return"start"==t||"done"==t}function X(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function Y(t,e,n,r){var o=[];e.forEach(function(t){return o.push(X(t))});var i=new Map,s=[];n.forEach(function(e,n){var o={};e.forEach(function(e){var i=o[e]=t.computeStyle(n,e,r);i&&0!=i.length||(n[be]=me,s.push(n))}),i.set(n,o)});var a=0;return e.forEach(function(t){return X(t,o[a++])}),[i,s]}function $(t){var e,n=new Set(t),r=new Set;return e=function(t){return!t||!n.has(t.parentNode)&&(!!r.has(t.parentNode)||!!e(t.parentNode)&&(r.add(t),!0))}}function tt(t,e){if(t.classList)return t.classList.contains(e);var n=t[xe];return n&&n[e]}function et(t,e){if(t.classList)t.classList.add(e);else{var n=t[xe];n||(n=t[xe]={}),n[e]=!0}}function nt(t,e){if(t.classList)t.classList.remove(e);else{var n=t[xe];n&&delete n[e]}}function rt(){return"undefined"!=typeof document?document.body:null}function ot(t,e,n){r(n).onDone(function(){return t.processLeaveNode(e)})}function it(t){var e=[];return st(t,e),e}function st(t,e){for(var n=0;n=0){r=!0;break}}}});var i=new Vt(n,o,t.offset);return i.containsDynamicStyles=r,i},t.prototype._validateStyleAst=function(t,e){var n=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;n&&o>0&&(o-=n.duration+n.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(n){var i=e.collectedStyles[e.currentQuerySelector],s=i[n],a=!0;s&&(o!=r&&o>=s.startTime&&r<=s.endTime&&(e.errors.push('The CSS property "'+n+'" that exists between the times of "'+s.startTime+'ms" and "'+s.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+r+'ms"'),a=!1),o=s.startTime),a&&(i[n]={startTime:o,endTime:r}),e.options&&_(t[n],e.options,e.errors)})})},t.prototype.visitKeyframes=function(t,e){var n=this;if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),new Ft([]);var r=0,o=[],i=!1,s=!1,a=0,u=t.steps.map(function(t){var u=n._makeStyleAst(t,e),c=null!=u.offset?u.offset:N(u.styles),l=0;return null!=c&&(r++,l=u.offset=c),s=s||l<0||l>1,i=i||l0&&r0?r==p?1:l*r:o[r],s=i*d;e.currentTime=f+h.delay+s,h.duration=s,n._validateStyleAst(t,e),t.offset=i}),new Ft(u)},t.prototype.visitReference=function(t,e){var n=E(this,g(t.animation),e),r=new Bt(n);return r.options=D(t.options),r},t.prototype.visitAnimateChild=function(t,e){e.depCount++;var n=new Ht;return n.options=D(t.options),n},t.prototype.visitAnimateRef=function(t,e){var n=this.visitReference(t.animation,e),r=new Ut(n);return r.options=D(t.options),r},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;var o=I(t.selector),i=o[0],s=o[1];e.currentQuerySelector=n.length?n+" "+i:i,u(e.collectedStyles,e.currentQuerySelector,{});var a=E(this,g(t.animation),e);e.currentQuery=null,e.currentQuerySelector=n;var c=new qt(i,r.limit||0,!!r.optional,s,a);return c.originalSelector=t.selector,c.options=D(t.options),c},t.prototype.visitStagger=function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:f(t.timings,e.errors,!0),r=E(this,g(t.animation),e);return new Kt(n,r)},t}(),$t=function(){function t(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}return t}(),te=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e},t.prototype.append=function(t,e){var n=this._map.get(t);n||this._map.set(t,n=[]),n.push.apply(n,e)},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),ee=function(){function t(){}return t.prototype.buildKeyframes=function(t,e,n,r,o,i,s,a){void 0===a&&(a=[]),s=s||new te;var u=new re(t,e,s,a,[]);u.options=i,u.currentTimeline.setStyles([r],null,u.errors,i),n.visit(this,u);var c=u.timelines.filter(function(t){return t.containsAnimation()});if(c.length&&Object.keys(o).length){var l=c[c.length-1];l.allowOnlyTimelineStyles()||l.setStyles([o],null,u.errors,i)}return c.length?c.map(function(t){return t.buildKeyframes()}):[V(e,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,e){},t.prototype.visitState=function(t,e){},t.prototype.visitTransition=function(t,e){},t.prototype.visitAnimateChild=function(t,e){var n=e.subInstructions.consume(e.element);if(n){var r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,i=this._visitSubInstructions(n,r,r.options);o!=i&&e.transformIntoNewTimeline(i)}e.previousNode=t},t.prototype.visitAnimateRef=function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t},t.prototype._visitSubInstructions=function(t,e,n){var r=e.currentTimeline.currentTime,o=r,i=null!=n.duration?l(n.duration):null,s=null!=n.delay?l(n.delay):null;return 0!==i&&t.forEach(function(t){var n=e.appendInstructionToTimeline(t,i,s);o=Math.max(o,n.duration+n.delay)}),o},t.prototype.visitReference=function(t,e){e.updateOptions(t.options,!0),t.animation.visit(this,e),e.previousNode=t},t.prototype.visitSequence=function(t,e){var n=this,r=e.subContextCount,o=e,i=t.options;if(i&&(i.params||i.delay)&&(o=e.createSubContext(i),o.transformIntoNewTimeline(),null!=i.delay)){o.previousNode instanceof Vt&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=ne);var s=l(i.delay);o.delayNextStep(s)}t.steps.length&&(t.steps.forEach(function(t){return t.visit(n,o)}),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>r&&o.transformIntoNewTimeline()),e.previousNode=t},t.prototype.visitGroup=function(t,e){var n=this,r=[],o=e.currentTimeline.currentTime,i=t.options&&t.options.delay?l(t.options.delay):0;t.steps.forEach(function(s){var a=e.createSubContext(t.options);i&&a.delayNextStep(i),s.visit(n,a),o=Math.max(o,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)}),e.transformIntoNewTimeline(o),e.previousNode=t},t.prototype.visitTiming=function(t,e){if(t instanceof Wt){return f(e.params?O(t.value,e.params,e.errors):t.value.toString(),e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,e){var n=e.currentAnimateTimings=this.visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());var o=t.style;o instanceof Ft?this.visitKeyframes(o,e):(e.incrementTime(n.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t},t.prototype.visitStyle=function(t,e){var n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var o=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(o):n.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t},t.prototype.visitKeyframes=function(t,e){var n=e.currentAnimateTimings,r=e.currentTimeline.duration,o=n.duration,i=e.createSubContext(),s=i.currentTimeline;s.easing=n.easing,t.styles.forEach(function(t){var n=t.offset||0;s.forwardTime(n*o),s.setStyles(t.styles,t.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(r+o),e.previousNode=t},t.prototype.visitQuery=function(t,e){var n=this,r=e.currentTimeline.currentTime,o=t.options||{},i=o.delay?l(o.delay):0;i&&(e.previousNode instanceof Vt||0==r&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ne);var s=r,a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=a.length;var u=null;a.forEach(function(r,o){e.currentQueryIndex=o;var a=e.createSubContext(t.options,r);i&&a.delayNextStep(i),r===e.element&&(u=a.currentTimeline),t.animation.visit(n,a),a.currentTimeline.applyStylesToKeyframe();var c=a.currentTimeline.currentTime;s=Math.max(s,c)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t},t.prototype.visitStagger=function(t,e){var n=e.parentContext,r=e.currentTimeline,o=t.timings,i=Math.abs(o.duration),s=i*(e.currentQueryTotal-1),a=i*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}var u=e.currentTimeline;a&&u.delayNextStep(a);var c=u.currentTime;t.animation.visit(this,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)},t}(),ne={},re=function(){function t(t,e,n,r,o,i){this._driver=t,this.element=e,this.subInstructions=n,this.errors=r,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ne,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=i||new oe(e,0),o.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,e){var n=this;if(t){var r=t,o=this.options;null!=r.duration&&(o.duration=l(r.duration)),null!=r.delay&&(o.delay=l(r.delay));var i=r.params;if(i){var s=o.params;s||(s=this.options.params={}),Object.keys(i).forEach(function(t){e&&s.hasOwnProperty(t)||(s[t]=O(i[t],s,n.errors))})}}},t.prototype._copyOptions=function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(this.options.params).forEach(function(t){n[t]=e[t]})}}return t},t.prototype.createSubContext=function(e,n,r){void 0===e&&(e=null);var o=n||this.element,i=new t(this._driver,o,this.subInstructions,this.errors,this.timelines,this.currentTimeline.fork(o,r||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=ne,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,e,n){var r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},o=new ie(t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,e,n,r,o,i){var s=[];if(r&&s.push(this.element),t.length>0){var a=1!=n,u=this._driver.query(this.element,t,a);0!==n&&(u=u.slice(0,n)),s.push.apply(s,u)}return o||0!=s.length||i.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),s},t}(),oe=function(){function t(t,e,n){this.element=t,this.startTime=e,this._elementTimelineStylesLookup=n,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}return t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t},t.prototype.fork=function(e,n){return this.applyStylesToKeyframe(),new t(e,n||this.currentTime,this._elementTimelineStylesLookup)},t.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){e._backFill[t]=e._globalTimelineStyles[t]||ft.a,e._currentKeyframe[t]=ft.a}),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,e,n,r){var o=this;e&&(this._previousKeyframe.easing=e);var i=r&&r.params||{},s=H(t,this._globalTimelineStyles);Object.keys(s).forEach(function(t){var e=O(s[t],i,n);o._pendingStyles[t]=e,o._localTimelineStyles.hasOwnProperty(t)||(o._backFill[t]=o._globalTimelineStyles.hasOwnProperty(t)?o._globalTimelineStyles[t]:ft.a),o._updateStyle(t,e)})},t.prototype.applyStylesToKeyframe=function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){var r=e[n];t._currentKeyframe[n]=r}),Object.keys(this._localTimelineStyles).forEach(function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])}))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)})},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var e=this;Object.keys(t._styleSummary).forEach(function(n){var r=e._styleSummary[n],o=t._styleSummary[n];(!r||o.time>r.time)&&e._updateStyle(n,o.value)})},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,o=[];this._keyframes.forEach(function(i,s){var a=v(i,!0);Object.keys(a).forEach(function(t){var r=a[t];r==ft.l?e.add(t):r==ft.a&&n.add(t)}),r||(a.offset=s/t.duration),o.push(a)});var i=e.size?C(e.values()):[],s=n.size?C(n.values()):[];if(r){var a=o[0],u=d(a);a.offset=0,u.offset=1,o=[a,u]}return V(this.element,o,i,s,this.duration,this.startTime,this.easing,!1)},t}(),ie=function(t){function e(e,n,r,o,i,s){void 0===s&&(s=!1);var a=t.call(this,e,i.delay)||this;return a.element=e,a.keyframes=n,a.preStyleProps=r,a.postStyleProps=o,a._stretchStartingKeyframe=s,a.timings={duration:i.duration,delay:i.delay,easing:i.easing},a}return pt.a(e,t),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var t=this.keyframes,e=this.timings,n=e.delay,r=e.duration,o=e.easing;if(this._stretchStartingKeyframe&&n){var i=[],s=r+n,a=n/s,u=v(t[0],!1);u.offset=0,i.push(u);var c=v(t[0],!1);c.offset=B(a),i.push(c);for(var l=t.length-1,p=1;p<=l;p++){var f=v(t[p],!1),h=f.offset,d=n+h*r;f.offset=B(d/s),i.push(f)}r=s,n=0,o="",t=i}return V(this.element,t,this.preStyleProps,this.postStyleProps,r,n,o,!0)},e}(oe),se=(function(){function t(t,e){this._driver=t;var n=[],r=R(e,n);if(n.length){var o="animation validation failed:\n"+n.join("\n");throw new Error(o)}this._animationAst=r}t.prototype.buildTimelines=function(t,e,n,r,o){var i=Array.isArray(e)?y(e):e,s=Array.isArray(n)?y(n):n,a=[];o=o||new te;var u=F(this._driver,t,this._animationAst,i,s,r,o,a);if(a.length){var c="animation building failed:\n"+a.join("\n");throw new Error(c)}return u}}(),function(){function t(){}return t}()),ae=(function(){function t(){}t.prototype.normalizePropertyName=function(t,e){return t},t.prototype.normalizeStyleValue=function(t,e,n,r){return n}}(),function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return pt.a(e,t),e.prototype.normalizePropertyName=function(t,e){return S(t)},e.prototype.normalizeStyleValue=function(t,e,n,r){var o="",i=n.toString().trim();if(ue[e]&&0!==n&&"0"!==n)if("number"==typeof n)o="px";else{var s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&r.push("Please provide a CSS unit value for "+t+":"+n)}return i+o},e}(se)),ue=function(t){var e={};return t.forEach(function(t){return e[t]=!0}),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")),ce={},le=function(){function t(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}return t.prototype.match=function(t,e){return q(this.ast.matchers,t,e)},t.prototype.buildStyles=function(t,e,n){var r=this._stateStyles["*"],o=this._stateStyles[t],i=r?r.buildStyles(e,n):{};return o?o.buildStyles(e,n):i},t.prototype.build=function(t,e,n,r,o,i,s){var a=[],c=this.ast.options&&this.ast.options.params||ce,l=o&&o.params||ce,p=this.buildStyles(n,l,a),f=i&&i.params||ce,h=this.buildStyles(r,f,a),d=new Set,y=new Map,v=new Map,m="void"===r,b={params:Object.assign({},c,f)},g=F(t,e,this.ast.animation,p,h,b,s,a);if(a.length)return U(e,this._triggerName,n,r,m,p,h,[],[],y,v,a);g.forEach(function(t){var n=t.element,r=u(y,n,{});t.preStyleProps.forEach(function(t){return r[t]=!0});var o=u(v,n,{});t.postStyleProps.forEach(function(t){return o[t]=!0}),n!==e&&d.add(n)});var _=C(d.values());return U(e,this._triggerName,n,r,m,p,h,g,_,y,v)},t}(),pe=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(t,e){var n={},r=d(this.defaultParams);return Object.keys(t).forEach(function(e){var n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var o=t;Object.keys(o).forEach(function(t){var i=o[t];i.length>1&&(i=O(i,r,e)),n[t]=i})}}),n},t}(),fe=function(){function t(t,e){var n=this;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(function(t){var e=t.options&&t.options.params||{};n.states[t.name]=new pe(t.style,e)}),W(this.states,"true","1"),W(this.states,"false","0"),e.transitions.forEach(function(e){n.transitionFactories.push(new le(t,e,n.states))}),this.fallbackTransition=z(t,this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,e){return this.transitionFactories.find(function(n){return n.match(t,e)})||null},t.prototype.matchStyles=function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)},t}(),he=new te,de=function(){function t(t,e){this._driver=t,this._normalizer=e,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,e){var n=[],r=R(e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=r},t.prototype._buildPlayer=function(t,e,n){var r=t.element,i=o(this._driver,this._normalizer,r,t.keyframes,e,n);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[])},t.prototype.create=function(t,e,n){var o=this;void 0===n&&(n={});var i,s=[],a=this._animations[t],c=new Map;if(a?(i=F(this._driver,e,a,{},{},n,he,s),i.forEach(function(t){var e=u(c,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=null})})):(s.push("The requested animation doesn't exist or has already been destroyed"),i=[]),s.length)throw new Error("Unable to create the animation due to the following errors: "+s.join("\n"));c.forEach(function(t,e){Object.keys(t).forEach(function(n){t[n]=o._driver.computeStyle(e,n,ft.a)})});var l=i.map(function(t){var e=c.get(t.element);return o._buildPlayer(t,{},e)}),p=r(l);return this._playersById[t]=p,p.onDestroy(function(){return o.destroy(t)}),this.players.push(p),p},t.prototype.destroy=function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)},t.prototype._getPlayer=function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e},t.prototype.listen=function(t,e,n,r){var o=a(e,"","","");return i(this._getPlayer(t),n,o,r),function(){}},t.prototype.command=function(t,e,n,r){if("register"==n)return void this.register(t,r[0]);if("create"==n){var o=r[0]||{};return void this.create(t,e,o)}var i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}},t}(),ye=[],ve={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!1},me={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!0},be="__ng_removed",ge=function(){function t(t){var e=t&&t.hasOwnProperty("value"),n=e?t.value:t;if(this.value=Q(n),e){var r=d(t);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach(function(t){null==n[t]&&(n[t]=e[t])})}},t}(),_e=new ge("void"),we=new ge("DELETED"),Oe=function(){function t(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,et(e,this._hostClassName)}return t.prototype.listen=function(t,e,n,r){var o=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+e+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+e+'" because the provided event is undefined!');if(!J(n))throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+e+'" is not supported!');var i=u(this._elementListeners,t,[]),s={name:e,phase:n,callback:r};i.push(s);var a=u(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(et(t,"ng-trigger"),et(t,"ng-trigger-"+e),a[e]=null),function(){o._engine.afterFlush(function(){var t=i.indexOf(s);t>=0&&i.splice(t,1),o._triggers[e]||delete a[e]})}},t.prototype.register=function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)},t.prototype._getTrigger=function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e},t.prototype.trigger=function(t,e,n,r){var o=this;void 0===r&&(r=!0);var i=this._getTrigger(e),s=new Se(this.id,e,t),a=this._engine.statesByElement.get(t);a||(et(t,"ng-trigger"),et(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,a={}));var c=a[e],l=new ge(n);if(!(n&&n.hasOwnProperty("value"))&&c&&l.absorbOptions(c.options),a[e]=l,c){if(c===we)return s}else c=_e;if("void"===l.value||c.value!==l.value){var p=u(this._engine.playersByElement,t,[]);p.forEach(function(t){t.namespaceId==o.id&&t.triggerName==e&&t.queued&&t.destroy()});var f=i.matchTransition(c.value,l.value),h=!1;if(!f){if(!r)return;f=i.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:f,fromState:c,toState:l,player:s,isFallbackTransition:h}),h||(et(t,"ng-animate-queued"),s.onStart(function(){nt(t,"ng-animate-queued")})),s.onDone(function(){var e=o.players.indexOf(s);e>=0&&o.players.splice(e,1);var n=o._engine.playersByElement.get(t);if(n){var r=n.indexOf(s);r>=0&&n.splice(r,1)}}),this.players.push(s),p.push(s),s}if(!at(c.params,l.params)){var d=[],y=i.matchStyles(c.value,c.params,d),v=i.matchStyles(l.value,l.params,d);d.length?this._engine.reportError(d):this._engine.afterFlush(function(){b(t,y),m(t,v)})}},t.prototype.deregister=function(t){var e=this;delete this._triggers[t],this._engine.statesByElement.forEach(function(e,n){delete e[t]}),this._elementListeners.forEach(function(n,r){e._elementListeners.set(r,n.filter(function(e){return e.name!=t}))})},t.prototype.clearElementCache=function(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);var e=this._engine.playersByElement.get(t);e&&(e.forEach(function(t){return t.destroy()}),this._engine.playersByElement.delete(t))},t.prototype._destroyInnerNodes=function(t,e,n){var r=this;void 0===n&&(n=!1),this._engine.driver.query(t,Et,!0).forEach(function(t){if(n&&tt(t,r._hostClassName)){var o=r._engine.namespacesByHostElement.get(t);o&&o.removeNode(t,e,!0),r.removeNode(t,e,!0)}else r.clearElementCache(t)})},t.prototype.removeNode=function(t,e,n){var o=this,i=this._engine;!n&&t.childElementCount&&this._destroyInnerNodes(t,e,!0);var s=i.statesByElement.get(t);if(s){var a=[];if(Object.keys(s).forEach(function(e){if(o._triggers[e]){var n=o.trigger(t,e,"void",!1);n&&a.push(n)}}),a.length)return i.markElementAsRemoved(this.id,t,!0,e),void r(a).onDone(function(){return i.processLeaveNode(t)})}var u=!1;if(i.totalAnimations){var c=i.players.length?i.playersByQueriedElement.get(t):[];if(c&&c.length)u=!0;else for(var l=t;l=l.parentNode;){var p=i.statesByElement.get(l);if(p){u=!0;break}}}var f=this._elementListeners.get(t);if(f){var h=new Set;f.forEach(function(e){var n=e.name;if(!h.has(n)){h.add(n);var r=o._triggers[n],s=r.fallbackTransition,a=i.statesByElement.get(t),u=a[n]||_e,c=new ge("void"),l=new Se(o.id,n,t);o._engine.totalQueuedPlayers++,o._queue.push({element:t,triggerName:n,transition:s,fromState:u,toState:c,player:l,isFallbackTransition:!0})}})}u?i.markElementAsRemoved(this.id,t,!1,e):(i.afterFlush(function(){return o.clearElementCache(t)}),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))},t.prototype.insertNode=function(t,e){et(t,this._hostClassName)},t.prototype.drainQueuedTransitions=function(t){var e=this,n=[];return this._queue.forEach(function(r){var o=r.player;if(!o.destroyed){var s=r.element,u=e._elementListeners.get(s);u&&u.forEach(function(e){if(e.name==r.triggerName){var n=a(s,r.triggerName,r.fromState.value,r.toState.value);n._data=t,i(r.player,e.phase,n,e.callback)}}),o.markedForDestroy?e._engine.afterFlush(function(){o.destroy()}):n.push(r)}}),this._queue=[],n.sort(function(t,n){var r=t.transition.ast.depCount,o=n.transition.ast.depCount;return 0==r||0==o?r-o:e._engine.driver.containsElement(t.element,n.element)?1:-1})},t.prototype.destroy=function(t){this.players.forEach(function(t){return t.destroy()}),this._destroyInnerNodes(this.hostElement,t)},t.prototype.elementContainsData=function(t){var e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(function(e){return e.element===t})||e},t}(),Ce=function(){function t(t,e){this.driver=t,this._normalizer=e,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(t,e){}}return t.prototype._onRemovalComplete=function(t,e){this.onRemovalComplete(t,e)},Object.defineProperty(t.prototype,"queuedPlayers",{get:function(){var t=[];return this._namespaceList.forEach(function(e){e.players.forEach(function(e){e.queued&&t.push(e)})}),t},enumerable:!0,configurable:!0}),t.prototype.createNamespace=function(t,e){var n=new Oe(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n},t.prototype._balanceNamespaceList=function(t,e){var n=this._namespaceList.length-1;if(n>=0){for(var r=!1,o=n;o>=0;o--){var i=this._namespaceList[o];if(this.driver.containsElement(i.hostElement,e)){this._namespaceList.splice(o+1,0,t),r=!0;break}}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t},t.prototype.register=function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n},t.prototype.registerTrigger=function(t,e,n){var r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++},t.prototype.destroy=function(t,e){var n=this;if(t){var r=this._fetchNamespace(t);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(r);e>=0&&n._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(e)})}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.trigger=function(t,e,n,r){return!!Z(e)&&(this._fetchNamespace(t).trigger(e,n,r),!0)},t.prototype.insertNode=function(t,e,n,r){if(Z(e)){var o=e[be];o&&o.setForRemoval&&(o.setForRemoval=!1),t&&this._fetchNamespace(t).insertNode(e,n),r&&this.collectEnterElement(e)}},t.prototype.collectEnterElement=function(t){this.collectedEnterElements.push(t)},t.prototype.markElementAsDisabled=function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),et(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),nt(t,"ng-animate-disabled"))},t.prototype.removeNode=function(t,e,n,r){if(!Z(e))return void this._onRemovalComplete(e,n);var o=t?this._fetchNamespace(t):null;o?o.removeNode(e,n,r):this.markElementAsRemoved(t,e,!1,n)},t.prototype.markElementAsRemoved=function(t,e,n,r){this.collectedLeaveElements.push(e),e[be]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},t.prototype.listen=function(t,e,n,r,o){return Z(e)?this._fetchNamespace(t).listen(e,n,r,o):function(){}},t.prototype._buildInstruction=function(t,e){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,t.fromState.options,t.toState.options,e)},t.prototype.destroyInnerAnimations=function(t){var e=this,n=this.driver.query(t,Et,!0);n.forEach(function(t){var n=e.playersByElement.get(t);n&&n.forEach(function(t){t.queued?t.markedForDestroy=!0:t.destroy()});var r=e.statesByElement.get(t);r&&Object.keys(r).forEach(function(t){return r[t]=we})}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,Tt,!0),n.length&&n.forEach(function(t){var n=e.playersByQueriedElement.get(t);n&&n.forEach(function(t){return t.finish()})}))},t.prototype.whenRenderingDone=function(){var t=this;return new Promise(function(e){if(t.players.length)return r(t.players).onDone(function(){return e()});e()})},t.prototype.processLeaveNode=function(t){var e=this,n=t[be];if(n&&n.setForRemoval){if(t[be]=ve,n.namespaceId){this.destroyInnerAnimations(t);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(function(n){e.markElementAsDisabled(t,!1)})},t.prototype.flush=function(t){var e=this;void 0===t&&(t=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,n){return e._balanceNamespaceList(t,n)}),this.newHostElements.clear()),this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var o=[];try{n=this._flushAnimations(o,t)}finally{for(var i=0;i=0;y--){this._namespaceList[y].drainQueuedTransitions(e).forEach(function(t){var e=t.player;O.push(e);var r=t.element;if(!h||!n.driver.containsElement(h,r))return void e.destroy();var s=n._buildInstruction(t,o);if(s.errors&&s.errors.length)return void C.push(s);if(t.isFallbackTransition)return e.onStart(function(){return b(r,s.fromStyles)}),e.onDestroy(function(){return m(r,s.toStyles)}),void i.push(e);s.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),o.append(r,s.timelines);var f={instruction:s,player:e,element:r};a.push(f),s.queriedElements.forEach(function(t){return u(c,t,[]).push(e)}),s.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var r=l.get(e);r||l.set(e,r=new Set),n.forEach(function(t){return r.add(t)})}}),s.postStyleProps.forEach(function(t,e){var n=Object.keys(t),r=p.get(e);r||p.set(e,r=new Set),n.forEach(function(t){return r.add(t)})})})}if(C.length){var S=[];C.forEach(function(t){S.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach(function(t){return S.push("- "+t+"\n")})}),O.forEach(function(t){return t.destroy()}),this.reportError(S)}for(var x=new Set,y=0;y0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new ft.d},t}(),Se=function(){function t(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new ft.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this._destroyed=!1,this.markedForDestroy=!1}return Object.defineProperty(t.prototype,"queued",{get:function(){return 0==this._containsRealPlayer},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t.prototype.setRealPlayer=function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(n){e._queuedCallbacks[n].forEach(function(e){return i(t,n,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0)},t.prototype.getRealPlayer=function(){return this._player},t.prototype._queueEvent=function(t,e){u(this._queuedCallbacks,t,[]).push(e)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this._destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._player.totalTime},enumerable:!0,configurable:!0}),t}(),xe="$$classes",Ee=function(){function t(t,e){var n=this;this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new Ce(t,e),this._timelineEngine=new de(t,e),this._transitionEngine.onRemovalComplete=function(t,e){return n.onRemovalComplete(t,e)}}return t.prototype.registerTrigger=function(t,e,n,r,o){var i=t+"-"+r,s=this._triggerCache[i];if(!s){var a=[],u=R(o,a);if(a.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+a.join("\n - "));s=K(r,u),this._triggerCache[i]=s}this._transitionEngine.registerTrigger(e,r,s)},t.prototype.register=function(t,e){this._transitionEngine.register(t,e)},t.prototype.destroy=function(t,e){this._transitionEngine.destroy(t,e)},t.prototype.onInsert=function(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)},t.prototype.onRemove=function(t,e,n){this._transitionEngine.removeNode(t,e,n)},t.prototype.disableAnimations=function(t,e){this._transitionEngine.markElementAsDisabled(t,e)},t.prototype.process=function(t,e,n,r){if("@"==n.charAt(0)){var o=c(n),i=o[0],s=o[1],a=r;this._timelineEngine.command(i,e,s,a)}else this._transitionEngine.trigger(t,e,n,r)},t.prototype.listen=function(t,e,n,r,o){if("@"==n.charAt(0)){var i=c(n),s=i[0],a=i[1];return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(t,e,n,r,o)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}(),Te=function(){function t(t,e,n,r){void 0===r&&(r=[]);var o=this;this.element=t,this.keyframes=e,this.options=n,this.previousPlayers=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.previousStyles={},this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay,x(this._duration,this._delay)&&r.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return o.previousStyles[t]=e[t]})})}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes.map(function(t){return v(t,!1)}),n=Object.keys(this.previousStyles);if(n.length){var r=e[0],o=[];if(n.forEach(function(e){r.hasOwnProperty(e)||o.push(e),r[e]=t.previousStyles[e]}),o.length)for(var i=this,s=1;s=0&&t/g,">")}function x(t){jt.attributeMap(t).forEach(function(e,n){"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||jt.removeAttribute(t,n)});for(var e=0,n=jt.childNodesAsList(t);e0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r-1},e}(st);Ot.decorators=[{type:M.Injectable}],Ot.ctorParameters=function(){return[{type:void 0,decorators:[{type:M.Inject,args:[z]}]},{type:wt,decorators:[{type:M.Inject,args:[_t]}]}]};var Ct=["alt","control","meta","shift"],St={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},xt=function(t){function e(e){return t.call(this,e)||this}return k.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(Ct.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"),Ct.forEach(function(r){if(r!=n){(0,St[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);xt.decorators=[{type:M.Injectable}],xt.ctorParameters=function(){return[{type:void 0,decorators:[{type:M.Inject,args:[z]}]}]};var Et=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Tt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,Pt=null,jt=null,At=w("area,br,col,hr,img,wbr"),Rt=w("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),It=w("rp,rt"),kt=O(It,Rt),Nt=O(Rt,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")),Mt=O(It,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")),Lt=O(At,Nt,Mt,kt),Dt=w("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Vt=w("srcset"),Ft=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"),Bt=O(Dt,Vt,Ft),Ht=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild;e;)if(jt.isElementNode(e)?this.startElement(e):jt.isTextNode(e)?this.chars(jt.nodeValue(e)):this.sanitizedSomething=!0,jt.firstChild(e))e=jt.firstChild(e);else for(;e;){jt.isElementNode(e)&&this.endElement(e);var n=C(e,jt.nextSibling(e));if(n){e=n;break}e=C(e,jt.parentElement(e))}return this.buf.join("")},t.prototype.startElement=function(t){var e=this,n=jt.nodeName(t).toLowerCase();if(!Lt.hasOwnProperty(n))return void(this.sanitizedSomething=!0);this.buf.push("<"),this.buf.push(n),jt.attributeMap(t).forEach(function(t,n){var r=n.toLowerCase();if(!Bt.hasOwnProperty(r))return void(e.sanitizedSomething=!0);Dt[r]&&(t=b(t)),Vt[r]&&(t=g(t)),e.buf.push(" "),e.buf.push(n),e.buf.push('="'),e.buf.push(S(t)),e.buf.push('"')}),this.buf.push(">")},t.prototype.endElement=function(t){var e=jt.nodeName(t).toLowerCase();Lt.hasOwnProperty(e)&&!At.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(S(t))},t}(),Ut=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qt=/([^\#-~ |!])/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\(([^)]+)\)$/,Wt=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}(),Gt=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return k.a(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case M.SecurityContext.NONE:return e;case M.SecurityContext.HTML:return e instanceof Zt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),E(this._doc,String(e)));case M.SecurityContext.STYLE:return e instanceof Jt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),P(e));case M.SecurityContext.SCRIPT:if(e instanceof Xt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case M.SecurityContext.URL:return e instanceof $t||e instanceof Yt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),b(String(e)));case M.SecurityContext.RESOURCE_URL:if(e instanceof $t)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 Qt)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 Zt(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new Jt(t)},e.prototype.bypassSecurityTrustScript=function(t){return new Xt(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new Yt(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new $t(t)},e}(Wt);Gt.decorators=[{type:M.Injectable}],Gt.ctorParameters=function(){return[{type:void 0,decorators:[{type:M.Inject,args:[z]}]}]};var Qt=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}(),Zt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return k.a(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(Qt),Jt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return k.a(e,t),e.prototype.getTypeName=function(){return"Style"},e}(Qt),Xt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return k.a(e,t),e.prototype.getTypeName=function(){return"Script"},e}(Qt),Yt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return k.a(e,t),e.prototype.getTypeName=function(){return"URL"},e}(Qt),$t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return k.a(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(Qt),te=[{provide:M.PLATFORM_ID,useValue:N["\u0275PLATFORM_BROWSER_ID"]},{provide:M.PLATFORM_INITIALIZER,useValue:j,multi:!0},{provide:N.PlatformLocation,useClass:W},{provide:z,useFactory:R,deps:[]}],ee=[{provide:M.Sanitizer,useExisting:Wt},{provide:Wt,useClass:Gt}],ne=Object(M.createPlatformFactory)(M.platformCore,"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:M.APP_ID,useValue:e.appId},{provide:Q,useExisting:M.APP_ID},Z]}},t}();re.decorators=[{type:M.NgModule,args:[{providers:[ee,{provide:M.ErrorHandler,useFactory:A,deps:[]},{provide:ot,useClass:bt,multi:!0},{provide:ot,useClass:xt,multi:!0},{provide:ot,useClass:Ot,multi:!0},{provide:_t,useClass:wt},ht,{provide:M.RendererFactory2,useExisting:ht},{provide:at,useExisting:ut},ut,M.Testability,it,rt,G,X],exports:[N.CommonModule,M.ApplicationModule]}]}],re.ctorParameters=function(){return[{type:re,decorators:[{type:M.Optional},{type:M.SkipSelf}]}]};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(M.ApplicationRef)}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 M.Version("4.4.5")},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},fdVa:function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),this.lift(new c(t,e,n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("RdI5"),s=n("XRvs"),a=n("ktfo"),u=n("yW9Z");e.mergeScan=r;var c=function(){function t(t,e,n){this.accumulator=t,this.seed=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.accumulator,this.seed,this.concurrent))},t}();e.MergeScanOperator=c;var l=function(t){function e(e,n,r,o){t.call(this,e),this.accumulator=n,this.acc=r,this.concurrent=o,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return o(e,t),e.prototype._next=function(t){if(this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e}(u.OuterSubscriber);e.MergeScanSubscriber=l},fxBd:function(t,e,n){"use strict";function r(t){return 0===t?new a.EmptyObservable:this.lift(new u(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+"),s=n("uT+d"),a=n("fcnB");e.takeLast=r;var u=function(){function t(t){if(this.total=t,this.total<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.total))},t}(),c=function(t){function e(e,n){t.call(this,e),this.total=n,this.ring=new Array,this.count=0}return o(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;if(e.length0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,o=0;o0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new s.EmptyError)},e}(i.Subscriber)},gbhw:function(t,e,n){"use strict";var r=n("bKpL"),o=n("422b");r.Observable.prototype.filter=o.filter},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},gvep: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("rlar"),i=n("Lhvy"),s=function(t){function e(e){t.call(this),this._value=e}return r(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.ObjectUnsubscribedError;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(o.Subject);e.BehaviorSubject=s},"h+is":function(t,e,n){"use strict";var r=n("bKpL"),o=n("9tb5");r.Observable.prototype.exhaustMap=o.exhaustMap},"hbO+":function(t,e,n){"use strict";var r=n("bKpL"),o=n("slZm");r.Observable.empty=o.empty},i4mq:function(t,e,n){"use strict";var r=n("bKpL"),o=n("zbre");r.Observable.prototype.bufferCount=o.bufferCount},iDKa:function(t,e,n){"use strict";function r(t){return this.lift(new s(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.skip=r;var s=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.total))},t}(),a=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return o(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(i.Subscriber)},iDwB:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("/oeL"),o=n("4zAq"),i=function(){function t(t,e,n){t.resolveDropdownMenu({templateRef:n,viewContainer:e})}return t.decorators=[{type:r.Directive,args:[{selector:"[bsDropdownMenu],[dropdownMenu]",exportAs:"bs-dropdown-menu"}]}],t.ctorParameters=function(){return[{type:o.a},{type:r.ViewContainerRef},{type:r.TemplateRef}]},t}()},iH09: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=n("xFbG"),s=n("Xga8"),a=n("p2y2"),u=function(t){function e(e,n){t.call(this,function(t){var e=this,n=e.logSubscribedFrame();return t.add(new i.Subscription(function(){e.logUnsubscribedFrame(n)})),e.scheduleMessages(t),t}),this.messages=e,this.subscriptions=[],this.scheduler=n}return r(e,t),e.prototype.scheduleMessages=function(t){for(var e=this.messages.length,n=0;n=2&&(n=!0),this.lift(new s(t,e,n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.scan=r;var s=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.accumulator,this.seed,this.hasSeed))},t}(),a=function(t){function e(e,n,r,o){t.call(this,e),this.accumulator=n,this._seed=r,this.hasSeed=o,this.index=0}return o(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(i.Subscriber)},ktfo:function(t,e,n){"use strict";function r(t,e,n,r){var f=new l.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 h=0,d=e.length;h\n \n \n '}]}],t.ctorParameters=[],t}();e.ModalBodyComponent=o},okgN:function(t,e,n){"use strict";var r=n("bKpL"),o=n("pOTC");r.Observable.if=o._if},olOS:function(t,e,n){"use strict";function r(t){return void 0===t&&(t=s.async),this.lift(new u(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+"),s=n("IhB/");e.timestamp=r;var a=function(){function t(t,e){this.value=t,this.timestamp=e}return t}();e.Timestamp=a;var u=function(){function t(t){this.scheduler=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.scheduler))},t}(),c=function(t){function e(e,n){t.call(this,e),this.scheduler=n}return o(e,t),e.prototype._next=function(t){var e=this.scheduler.now();this.destination.next(new a(t,e))},e}(i.Subscriber)},olrH:function(t,e,n){"use strict";function r(t,e){return this.lift(new o.MergeMapToOperator(t,e,1))}var o=n("RvTY");e.concatMapTo=r},p2y2:function(t,e,n){"use strict";function r(t,e){for(var n=0,r=e.length;n-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?K.One:K.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?K.One:K.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===o||1===n?K.One:K.Other;case"ar":return 0===n?K.Zero:1===n?K.One:2===n?K.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?K.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?K.Many:K.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?K.One:K.Other;case"be":return n%10==1&&n%100!=11?K.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?K.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?K.Many:K.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?K.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?K.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)?K.Few:0!==n&&n%1e6==0?K.Many:K.Other;case"bs":case"hr":case"sr":return 0===i&&o%10==1&&o%100!=11||s%10==1&&s%100!=11?K.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)?K.Few:K.Other;case"cs":case"sk":return 1===o&&0===i?K.One:o===Math.floor(o)&&o>=2&&o<=4&&0===i?K.Few:0!==i?K.Many:K.Other;case"cy":return 0===n?K.Zero:1===n?K.One:2===n?K.Two:3===n?K.Few:6===n?K.Many:K.Other;case"da":return 1===n||0!==a&&(0===o||1===o)?K.One:K.Other;case"dsb":case"hsb":return 0===i&&o%100==1||s%100==1?K.One:0===i&&o%100==2||s%100==2?K.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?K.Few:K.Other;case"ff":case"fr":case"hy":case"kab":return 0===o||1===o?K.One:K.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?K.One:K.Other;case"ga":return 1===n?K.One:2===n?K.Two:n===Math.floor(n)&&n>=3&&n<=6?K.Few:n===Math.floor(n)&&n>=7&&n<=10?K.Many:K.Other;case"gd":return 1===n||11===n?K.One:2===n||12===n?K.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?K.Few:K.Other;case"gv":return 0===i&&o%10==1?K.One:0===i&&o%10==2?K.Two:0!==i||o%100!=0&&o%100!=20&&o%100!=40&&o%100!=60&&o%100!=80?0!==i?K.Many:K.Other:K.Few;case"he":return 1===o&&0===i?K.One:2===o&&0===i?K.Two:0!==i||n>=0&&n<=10||n%10!=0?K.Other:K.Many;case"is":return 0===a&&o%10==1&&o%100!=11||0!==a?K.One:K.Other;case"ksh":return 0===n?K.Zero:1===n?K.One:K.Other;case"kw":case"naq":case"se":case"smn":return 1===n?K.One:2===n?K.Two:K.Other;case"lag":return 0===n?K.Zero:0!==o&&1!==o||0===n?K.Other:K.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)?K.Few:0!==s?K.Many:K.Other:K.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?K.Zero:n%10==1&&n%100!=11||2===i&&s%10==1&&s%100!=11||2!==i&&s%10==1?K.One:K.Other;case"mk":return 0===i&&o%10==1||s%10==1?K.One:K.Other;case"mt":return 1===n?K.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?K.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?K.Many:K.Other;case"pl":return 1===o&&0===i?K.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?K.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?K.Many:K.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?K.One:K.Other;case"ro":return 1===o&&0===i?K.One:0!==i||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?K.Few:K.Other;case"ru":case"uk":return 0===i&&o%10==1&&o%100!=11?K.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?K.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?K.Many:K.Other;case"shi":return 0===o||1===n?K.One:n===Math.floor(n)&&n>=2&&n<=10?K.Few:K.Other;case"si":return 0===n||1===n||0===o&&1===s?K.One:K.Other;case"sl":return 0===i&&o%100==1?K.One:0===i&&o%100==2?K.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||0!==i?K.Few:K.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?K.One:K.Other;default:return K.Other}}function a(t,e){e=encodeURIComponent(e);for(var n=0,r=t.split(";");n1?"short":"narrow":"long",n}function b(t){return t.reduce(function(t,e){return Object.assign({},t,e)},{})}function g(t){return function(e,n){return h(e,n,t)}}function _(t,e,n){var r=gt[t];if(r)return r(e,n);var o=t,i=wt.get(o);if(!i){i=[];var s=void 0;bt.exec(t);for(var a=t;a;)s=bt.exec(a),s?(i=i.concat(s.slice(1)),a=i.pop()):(i.push(a),a=null);wt.set(o,i)}return i.reduce(function(t,r){var o=_t[r];return t+(o?o(e,n):w(r))},"")}function w(t){return"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}function O(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&&S(n)?+n:n))throw c(t,n);var a=void 0,u=void 0,l=void 0;if(r!==vt.Currency&&(a=1,u=0,l=3),o){var p=o.match(Ct);if(null===p)throw new Error(o+" is not a valid digit info for number pipes");null!=p[1]&&(a=C(p[1])),null!=p[3]&&(u=C(p[3])),null!=p[5]&&(l=C(p[5]))}return mt.format(n,e,r,{minimumIntegerDigits:a,minimumFractionDigits:u,maximumFractionDigits:l,currency:i,currencyAsSymbol:s})}function C(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function S(t){return!isNaN(t-parseFloat(t))}function x(t){return null==t||""===t}function E(t){return t instanceof Date&&!isNaN(t.valueOf())}function T(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=P(t[9]+t[10]),r=P(t[9]+t[11])),o.call(e,P(t[1]),P(t[2])-1,P(t[3]));var s=P(t[4]||"0")-n,a=P(t[5]||"0")-r,u=P(t[6]||"0"),c=Math.round(1e3*parseFloat("0."+(t[7]||0)));return i.call(e,s,a,u,c),e}function P(t){return parseInt(t,10)}function j(t){return t===Vt}function A(t){return t===Ft}function R(t){return t===Bt}function I(t){return t===Ht}Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"NgLocaleLocalization",function(){return q}),n.d(e,"NgLocalization",function(){return U}),n.d(e,"\u0275parseCookieValue",function(){return a}),n.d(e,"CommonModule",function(){return Mt}),n.d(e,"DeprecatedI18NPipesModule",function(){return Lt}),n.d(e,"NgClass",function(){return z}),n.d(e,"NgFor",function(){return J}),n.d(e,"NgForOf",function(){return Q}),n.d(e,"NgForOfContext",function(){return G}),n.d(e,"NgIf",function(){return X}),n.d(e,"NgIfContext",function(){return Y}),n.d(e,"NgPlural",function(){return rt}),n.d(e,"NgPluralCase",function(){return ot}),n.d(e,"NgStyle",function(){return it}),n.d(e,"NgSwitch",function(){return tt}),n.d(e,"NgSwitchCase",function(){return et}),n.d(e,"NgSwitchDefault",function(){return nt}),n.d(e,"NgTemplateOutlet",function(){return st}),n.d(e,"NgComponentOutlet",function(){return W}),n.d(e,"DOCUMENT",function(){return Dt}),n.d(e,"AsyncPipe",function(){return ft}),n.d(e,"DatePipe",function(){return Pt}),n.d(e,"I18nPluralPipe",function(){return At}),n.d(e,"I18nSelectPipe",function(){return Rt}),n.d(e,"JsonPipe",function(){return It}),n.d(e,"LowerCasePipe",function(){return ht}),n.d(e,"CurrencyPipe",function(){return Et}),n.d(e,"DecimalPipe",function(){return St}),n.d(e,"PercentPipe",function(){return xt}),n.d(e,"SlicePipe",function(){return kt}),n.d(e,"UpperCasePipe",function(){return yt}),n.d(e,"TitleCasePipe",function(){return dt}),n.d(e,"\u0275PLATFORM_BROWSER_ID",function(){return Vt}),n.d(e,"\u0275PLATFORM_SERVER_ID",function(){return Ft}),n.d(e,"\u0275PLATFORM_WORKER_APP_ID",function(){return Bt}),n.d(e,"\u0275PLATFORM_WORKER_UI_ID",function(){return Ht}),n.d(e,"isPlatformBrowser",function(){return j}),n.d(e,"isPlatformServer",function(){return A}),n.d(e,"isPlatformWorkerApp",function(){return R}),n.d(e,"isPlatformWorkerUi",function(){return I}),n.d(e,"VERSION",function(){return Ut}),n.d(e,"PlatformLocation",function(){return M}),n.d(e,"LOCATION_INITIALIZED",function(){return L}),n.d(e,"LocationStrategy",function(){return D}),n.d(e,"APP_BASE_HREF",function(){return V}),n.d(e,"HashLocationStrategy",function(){return B}),n.d(e,"PathLocationStrategy",function(){return H}),n.d(e,"Location",function(){return F}),n.d(e,"\u0275a",function(){return at}),n.d(e,"\u0275b",function(){return Nt});var k=n("6Xbx"),N=n("/oeL"),M=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}(),L=new N.InjectionToken("Location Initialized"),D=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}(),V=new N.InjectionToken("appBaseHref"),F=function(){function t(e){var n=this;this._subject=new N.EventEmitter,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}();F.decorators=[{type:N.Injectable}],F.ctorParameters=function(){return[{type:D}]};var B=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 k.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=F.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+F.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+F.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}(D);B.decorators=[{type:N.Injectable}],B.ctorParameters=function(){return[{type:M},{type:void 0,decorators:[{type:N.Optional},{type:N.Inject,args:[V]}]}]};var H=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 k.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 F.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+F.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+F.normalizeQueryParams(r));this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+F.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(D);H.decorators=[{type:N.Injectable}],H.ctorParameters=function(){return[{type:M},{type:void 0,decorators:[{type:N.Optional},{type:N.Inject,args:[V]}]}]};var U=function(){function t(){}return t.prototype.getPluralCategory=function(t){},t}(),q=function(t){function e(e){var n=t.call(this)||this;return n.locale=e,n}return k.a(e,t),e.prototype.getPluralCategory=function(t){switch(s(this.locale,t)){case K.Zero:return"zero";case K.One:return"one";case K.Two:return"two";case K.Few:return"few";case K.Many:return"many";default:return"other"}},e}(U);q.decorators=[{type:N.Injectable}],q.ctorParameters=function(){return[{type:void 0,decorators:[{type:N.Inject,args:[N.LOCALE_ID]}]}]};var K={};K.Zero=0,K.One=1,K.Two=2,K.Few=3,K.Many=4,K.Other=5,K[K.Zero]="Zero",K[K.One]="One",K[K.Two]="Two",K[K.Few]="Few",K[K.Many]="Many",K[K.Other]="Other";var z=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._applyInitialClasses(!0),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyInitialClasses(!1),this._applyClasses(this._rawClass,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._cleanupClasses(this._rawClass),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(N["\u0275isListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._cleanupClasses=function(t){this._applyClasses(t,!0),this._applyInitialClasses(!1)},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(N["\u0275stringify"])(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}();z.decorators=[{type:N.Directive,args:[{selector:"[ngClass]"}]}],z.ctorParameters=function(){return[{type:N.IterableDiffers},{type:N.KeyValueDiffers},{type:N.ElementRef},{type:N.Renderer}]},z.propDecorators={klass:[{type:N.Input,args:["class"]}],ngClass:[{type:N.Input}]};var W=function(){function t(t){this._viewContainerRef=t,this._componentRef=null,this._moduleRef=null}return t.prototype.ngOnChanges=function(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=e.get(N.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var r=this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(N.ComponentFactoryResolver),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}();W.decorators=[{type:N.Directive,args:[{selector:"[ngComponentOutlet]"}]}],W.ctorParameters=function(){return[{type:N.ViewContainerRef}]},W.propDecorators={ngComponentOutlet:[{type:N.Input}],ngComponentOutletInjector:[{type:N.Input}],ngComponentOutletContent:[{type:N.Input}],ngComponentOutletNgModuleFactory:[{type:N.Input}]};var G=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}(),Q=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._differ=null}return Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Object(N.isDevMode)()&&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 G(null,e.ngForOf,-1,-1),o),s=new Z(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 Z(t,i);n.push(s)}});for(var r=0;r0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=i.AnimationFrame.requestAnimationFrame(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(i.AnimationFrame.cancelAnimationFrame(n),e.scheduled=void 0)},e}(o.AsyncAction);e.AnimationFrameAction=s},rAcl:function(t,e,n){"use strict";var r=n("Qv0T");e.pairs=r.PairsObservable.create},rDIt:function(t,e,n){"use strict";function r(t,e,n){return this.lift(new s(t,e,n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e._do=r;var s=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.nextOrObserver,this.error,this.complete))},t}(),a=function(t){function e(e,n,r,o){t.call(this,e);var s=new i.Subscriber(n,r,o);s.syncErrorThrowable=!0,this.add(s),this.safeSubscriber=s}return o(e,t),e.prototype._next=function(t){var e=this.safeSubscriber;e.next(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.next(t)},e.prototype._error=function(t){var e=this.safeSubscriber;e.error(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.error(t)},e.prototype._complete=function(){var t=this.safeSubscriber;t.complete(),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.complete()},e}(i.Subscriber)},rf3q:function(t,e,n){"use strict";function r(t,e,n){if(t){if(t instanceof o.Subscriber)return t;if(t[i.rxSubscriber])return t[i.rxSubscriber]()}return t||e||n?new o.Subscriber(t,e,n):new o.Subscriber(s.empty)}var o=n("T14+"),i=n("dkwD"),s=n("LiYJ");e.toSubscriber=r},rlar: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=n("T14+"),s=n("xFbG"),a=n("Lhvy"),u=n("g0Kb"),c=n("dkwD"),l=function(t){function e(e){t.call(this,e),this.destination=e}return r(e,t),e}(i.Subscriber);e.SubjectSubscriber=l;var p=function(t){function e(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return r(e,t),e.prototype[c.rxSubscriber]=function(){return new l(this)},e.prototype.lift=function(t){var e=new f(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o\n \n \n \n \n '}]}],t.ctorParameters=[{type:o.ModalComponent}],t.propDecorators={showDefaultButtons:[{type:r.Input,args:["show-default-buttons"]}],dismissButtonLabel:[{type:r.Input,args:["dismiss-button-label"]}],closeButtonLabel:[{type:r.Input,args:["close-button-label"]}]},t}();e.ModalFooterComponent=i},t0d0:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return s});var r=n("/oeL"),o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(){function t(){}return t}(),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.compile=function(t,e){return t},e.prototype.compileTranslations=function(t,e){return t},e}(i);s.decorators=[{type:r.Injectable}],s.ctorParameters=function(){return[]}},t8nJ:function(t,e,n){"use strict";var r=n("bKpL"),o=n("8pdA");r.Observable.prototype.bufferTime=o.bufferTime},tBQh:function(t,e,n){"use strict";function r(t,e){void 0===e&&(e=i.async);var n=s.isDate(t),r=n?+t-e.now():Math.abs(t);return this.lift(new c(r,e))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("IhB/"),s=n("6jp4"),a=n("T14+"),u=n("3lsR");e.delay=r;var c=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.delay,this.scheduler))},t}(),l=function(t){function e(e,n,r){t.call(this,e),this.delay=n,this.scheduler=r,this.queue=[],this.active=!1,this.errored=!1}return o(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,r=t.scheduler,o=t.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(o);if(n.length>0){var i=Math.max(0,n[0].time-r.now());this.schedule(t,i)}else e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new p(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(u.Notification.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t)},e.prototype._complete=function(){this.scheduleNotification(u.Notification.createComplete())},e}(a.Subscriber),p=function(){function t(t,e){this.time=t,this.notification=e}return t}()},tcot:function(t,e,n){"use strict";var r=n("bKpL"),o=n("F/7+");r.Observable.zip=o.zip},thi6:function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=null),function(e,r){o(t,c.a.local,e,r,n)}}function o(t,e,n,r,o){void 0===o&&(o=null);var i=t||r;Object.defineProperty(n,r,{get:function(){var t=v.a.genKey(i);return v.c.retrieve(e,t)},set:function(t){var n=v.a.genKey(i);this[n]=t,v.c.store(e,n,t)}}),null===n[r]&&(n[r]=o)}function i(t,e){return void 0===e&&(e=null),function(n,r){o(t,c.a.local,n,r,e)}}function s(t,e){return void 0===e&&(e=null),function(n,r){o(t,c.a.session,n,r,e)}}function a(t){return new d.a(t)}var u=n("/oeL"),c=(n("p3ht"),n("K5tw")),l=n("H01b"),p=n("6A7A"),f=n("KIVP"),h=n("7YpS"),d=n("pUrG"),y=n("3lml"),v=n("/doR");n.d(e,"e",function(){return m}),n.d(e,"b",function(){return b}),e.f=a,n.d(e,!1,function(){return d.a}),n.d(e,!1,function(){return i}),n.d(e,"c",function(){return s}),n.d(e,!1,function(){return r}),n.d(e,!1,function(){return o}),n.d(e,"a",function(){return p.a}),n.d(e,"d",function(){return f.a}),n.d(e,!1,function(){return l.a});var m=new u.OpaqueToken("WEBSTORAGE_CONFIG"),b=function(){function t(t,e){this.ngZone=t,e&&(y.a.setStorageKeyPrefix(e.prefix),y.a.setStorageKeySeparator(e.separator),y.a.setCaseSensitivity(e.caseSensitive)),this.initStorageListener()}return t.forRoot=function(e){return{ngModule:t,providers:[{provide:m,useValue:e},{provide:d.a,useFactory:a,deps:[m]}]}},t.prototype.initStorageListener=function(){var t=this;"undefined"!=typeof window&&window.addEventListener("storage",function(e){return t.ngZone.run(function(){var t=window.sessionStorage===e.storageArea?c.a.session:c.a.local;h.a.refresh(t,e.key)})})},t}();b.decorators=[{type:u.NgModule,args:[{declarations:[],providers:[f.a,p.a],imports:[]}]}],b.ctorParameters=function(){return[{type:u.NgZone},{type:d.a,decorators:[{type:u.Optional},{type:u.Inject,args:[d.a]}]}]}},tl8U:function(t,e,n){"use strict";function r(t){return this.lift(new l(t,this))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rlar"),s=n("RdI5"),a=n("XRvs"),u=n("yW9Z"),c=n("ktfo");e.retryWhen=r;var l=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.notifier,this.source))},t}(),p=function(t){function e(e,n,r){t.call(this,e),this.notifier=n,this.source=r}return o(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.errors,r=this.retries,o=this.retriesSubscription;if(r)this.errors=null,this.retriesSubscription=null;else{if(n=new i.Subject,(r=s.tryCatch(this.notifier)(n))===a.errorObject)return t.prototype.error.call(this,a.errorObject.e);o=c.subscribeToResult(this,r)}this._unsubscribeAndRecycle(),this.errors=n,this.retries=r,this.retriesSubscription=o,n.next(e)}},e.prototype._unsubscribe=function(){var t=this,e=t.errors,n=t.retriesSubscription;e&&(e.unsubscribe(),this.errors=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(t,e,n,r,o){var i=this,s=i.errors,a=i.retries,u=i.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this._unsubscribeAndRecycle(),this.errors=s,this.retries=a,this.retriesSubscription=u,this.source.subscribe(this)},e}(u.OuterSubscriber)},tpuU:function(t,e,n){"use strict";function r(t){return this.lift(new o.ZipOperator(t))}var o=n("0I3B");e.zipAll=r},tt0A:function(t,e,n){"use strict";var r=(n("2YgE"),n("poDJ"));n.d(e,"a",function(){return r.a});n("dTYv")},uGEk:function(t,e,n){"use strict";var r=n("bKpL"),o=n("2UX5");r.Observable.prototype.timeout=o.timeout},"uT+d":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=function(t){function e(){var e=t.call(this,"argument out of range");this.name=e.name="ArgumentOutOfRangeError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.ArgumentOutOfRangeError=o},uYJe:function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+"),s=n("xFbG");e._finally=r;var a=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.callback))},t}(),u=function(t){function e(e,n){t.call(this,e),this.add(new s.Subscription(n))}return o(e,t),e}(i.Subscriber)},ub06:function(t,e,n){"use strict";var r=n("bKpL"),o=n("ViUi");r.Observable.prototype.merge=o.merge},ueUM:function(t,e,n){"use strict";function r(t){var e=new a(t),n=this.lift(e);return e.caught=n}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("yW9Z"),s=n("ktfo");e._catch=r;var a=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.selector,this.caught))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.selector=n,this.caught=r}return o(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(e){return void t.prototype.error.call(this,e)}this._unsubscribeAndRecycle(),this.add(s.subscribeToResult(this,n))}},e}(i.OuterSubscriber)},v6xs:function(t,e,n){"use strict";var r=n("bKpL"),o=n("zjlw");r.Observable.prototype.retry=o.retry},vCyR:function(t,e,n){"use strict";var r=n("/oeL"),o=n("ItmA"),i=function(){function t(t){var e=this;this.element=t,this.overrideSize=null,this.visible=!1,this.animation=!0,this.backdrop=!0,this.keyboard=!0,this.cssClass="",this.onClose=new r.EventEmitter(!1),this.onDismiss=new r.EventEmitter(!1),this.onOpen=new r.EventEmitter(!1),this.instance=new o.ModalInstance(this.element),this.instance.hidden.subscribe(function(t){e.visible=e.instance.visible,t===o.ModalResult.Dismiss&&e.onDismiss.emit(void 0)}),this.instance.shown.subscribe(function(){e.onOpen.emit(void 0)})}return Object.defineProperty(t.prototype,"fadeClass",{get:function(){return this.animation},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataKeyboardAttr",{get:function(){return this.keyboard},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataBackdropAttr",{get:function(){return this.backdrop},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){return this.instance&&this.instance.destroy()},t.prototype.routerCanDeactivate=function(){return this.ngOnDestroy()},t.prototype.open=function(t){var e=this;return s.validSize(t)&&(this.overrideSize=t),this.instance.open().then(function(){e.visible=e.instance.visible})},t.prototype.close=function(t){var e=this;return this.instance.close().then(function(){e.onClose.emit(t)})},t.prototype.dismiss=function(){return this.instance.dismiss()},t.prototype.getCssClasses=function(){var t=[];return this.isSmall()&&t.push("modal-sm"),this.isLarge()&&t.push("modal-lg"),""!==this.cssClass&&t.push(this.cssClass),t.join(" ")},t.prototype.isSmall=function(){return this.overrideSize!==s.Large&&this.size===s.Small||this.overrideSize===s.Small},t.prototype.isLarge=function(){return this.overrideSize!==s.Small&&this.size===s.Large||this.overrideSize===s.Large},t.decorators=[{type:r.Component,args:[{selector:"modal",host:{class:"modal",role:"dialog",tabindex:"-1"},template:'\n \n '}]}],t.ctorParameters=[{type:r.ElementRef}],t.propDecorators={animation:[{type:r.Input}],backdrop:[{type:r.Input}],keyboard:[{type:r.Input}],size:[{type:r.Input}],cssClass:[{type:r.Input}],onClose:[{type:r.Output}],onDismiss:[{type:r.Output}],onOpen:[{type:r.Output}],fadeClass:[{type:r.HostBinding,args:["class.fade"]}],dataKeyboardAttr:[{type:r.HostBinding,args:["attr.data-keyboard"]}],dataBackdropAttr:[{type:r.HostBinding,args:["attr.data-backdrop"]}]},t}();e.ModalComponent=i;var s=function(){function t(){}return t.validSize=function(e){return e&&(e===t.Small||e===t.Large)},t.Small="sm",t.Large="lg",t}();e.ModalSize=s},vJ3t:function(t,e,n){"use strict";var r=n("bKpL"),o=n("6P86");r.Observable.combineLatest=o.combineLatest},"vKg+":function(t,e,n){"use strict";var r=n("bKpL"),o=n("jKKE");r.Observable.prototype.count=o.count},vNV3:function(t,e,n){"use strict";var r=n("bKpL"),o=n("olOS");r.Observable.prototype.timestamp=o.timestamp},vfw3:function(t,e,n){"use strict";var r=n("bKpL"),o=n("iDKa");r.Observable.prototype.skip=o.skip},vioa:function(t,e,n){"use strict";var r=n("sLwK");e.timer=r.TimerObservable.create},vokw:function(t,e,n){"use strict";function r(t,e,n){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=void 0),e=(e||0)<1?Number.POSITIVE_INFINITY:e,this.lift(new c(t,e,n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("RdI5"),s=n("XRvs"),a=n("yW9Z"),u=n("ktfo");e.expand=r;var c=function(){function t(t,e,n){this.project=t,this.concurrent=e,this.scheduler=n}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.project,this.concurrent,this.scheduler))},t}();e.ExpandOperator=c;var l=function(t){function e(e,n,r,o){t.call(this,e),this.project=n,this.concurrent=r,this.scheduler=o,this.index=0,this.active=0,this.hasCompleted=!1,r0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(a.OuterSubscriber);e.ExpandSubscriber=l},vtHn:function(t,e,n){"use strict";var r=n("bKpL"),o=n("OCM8");r.Observable.prototype.publishLast=o.publishLast},wCVK: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=n("aOKN"),s=n("fcnB"),a=function(t){function e(e,n){t.call(this),this.arrayLike=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return r(e,t),e.create=function(t,n){var r=t.length;return 0===r?new s.EmptyObservable:1===r?new i.ScalarObservable(t[0],n):new e(t,n)},e.dispatch=function(t){var e=t.arrayLike,n=t.index,r=t.length,o=t.subscriber;if(!o.closed){if(n>=r)return void o.complete();o.next(e[n]),t.index=n+1,this.schedule(t)}},e.prototype._subscribe=function(t){var n=this,r=n.arrayLike,o=n.scheduler,i=r.length;if(o)return o.schedule(e.dispatch,0,{arrayLike:r,index:0,length:i,subscriber:t});for(var s=0;s-1&&(this.count=r-1),n.subscribe(this._unsubscribeAndRecycle())}},e}(i.Subscriber)},wEhC:function(t,e,n){"use strict";var r=n("JCyH"),o=n("HyAm");e.asap=new o.AsapScheduler(r.AsapAction)},wQte:function(t,e,n){"use strict";var r=function(){function t(){this.size=0,this._values=[],this._keys=[]}return t.prototype.get=function(t){var e=this._keys.indexOf(t);return-1===e?void 0:this._values[e]},t.prototype.set=function(t,e){var n=this._keys.indexOf(t);return-1===n?(this._keys.push(t),this._values.push(e),this.size++):this._values[n]=e,this},t.prototype.delete=function(t){var e=this._keys.indexOf(t);return-1!==e&&(this._values.splice(e,1),this._keys.splice(e,1),this.size--,!0)},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this.size=0},t.prototype.forEach=function(t,e){for(var n=0;n1?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;i0;){var r=n.shift();r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts;e.length>0;){var n=e.shift();this.destination.next(n.buffer),n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,o){t?this.closeBuffer(t):this.openBuffer(e)},e.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},e.prototype.openBuffer=function(t){try{var e=this.closingSelector,n=e.call(this,t);n&&this.trySubscribe(n)}catch(t){this._error(t)}},e.prototype.closeBuffer=function(t){var e=this.contexts;if(e&&t){var n=t.buffer,r=t.subscription;this.destination.next(n),e.splice(e.indexOf(t),1),this.remove(r),r.unsubscribe()}},e.prototype.trySubscribe=function(t){var e=this.contexts,n=[],r=new i.Subscription,o={buffer:n,subscription:r};e.push(o);var a=s.subscribeToResult(this,t,o);!a||a.closed?this.closeBuffer(o):(a.context=o,this.add(a),r.add(a))},e}(a.OuterSubscriber)},xFbG:function(t,e,n){"use strict";function r(t){return t.reduce(function(t,e){return t.concat(e instanceof c.UnsubscriptionError?e.errors:e)},[])}var o=n("NSJx"),i=n("H6Sg"),s=n("fclq"),a=n("RdI5"),u=n("XRvs"),c=n("Emqh"),l=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this,l=n._parent,p=n._parents,f=n._unsubscribe,h=n._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var d=-1,y=p?p.length:0;l;)l.remove(this),l=++d1)return void(this.connection=null);var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()},e}(s.Subscriber)},xpf9:function(t,e,n){"use strict";var r=n("bKpL"),o=n("ueUM");r.Observable.prototype.catch=o._catch,r.Observable.prototype._catch=o._catch},yIff: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("rlar"),i=n("T14+"),s=n("bKpL"),a=n("xFbG"),u=n("zijX"),c=n("0imh"),l=n("RdI5"),p=n("XRvs"),f=n("fV3I"),h=function(t){function e(e,n){if(e instanceof s.Observable)t.call(this,n,e);else{if(t.call(this),this.WebSocketCtor=u.root.WebSocket,this._output=new o.Subject,"string"==typeof e?this.url=e:f.assign(this,e),!this.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new c.ReplaySubject}}return r(e,t),e.prototype.resultSelector=function(t){return JSON.parse(t.data)},e.create=function(t){return new e(t)},e.prototype.lift=function(t){var n=new e(this,this.destination);return n.operator=t,n},e.prototype._resetState=function(){this.socket=null,this.source||(this.destination=new c.ReplaySubject),this._output=new o.Subject},e.prototype.multiplex=function(t,e,n){var r=this;return new s.Observable(function(o){var i=l.tryCatch(t)();i===p.errorObject?o.error(p.errorObject.e):r.next(i);var s=r.subscribe(function(t){var e=l.tryCatch(n)(t);e===p.errorObject?o.error(p.errorObject.e):e&&o.next(t)},function(t){return o.error(t)},function(){return o.complete()});return function(){var t=l.tryCatch(e)();t===p.errorObject?o.error(p.errorObject.e):r.next(t),s.unsubscribe()}})},e.prototype._connectSocket=function(){var t=this,e=this.WebSocketCtor,n=this._output,r=null;try{r=this.protocol?new e(this.url,this.protocol):new e(this.url),this.socket=r,this.binaryType&&(this.socket.binaryType=this.binaryType)}catch(t){return void n.error(t)}var o=new a.Subscription(function(){t.socket=null,r&&1===r.readyState&&r.close()});r.onopen=function(e){var s=t.openObserver;s&&s.next(e);var a=t.destination;t.destination=i.Subscriber.create(function(t){return 1===r.readyState&&r.send(t)},function(e){var o=t.closingObserver;o&&o.next(void 0),e&&e.code?r.close(e.code,e.reason):n.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),t._resetState()},function(){var e=t.closingObserver;e&&e.next(void 0),r.close(),t._resetState()}),a&&a instanceof c.ReplaySubject&&o.add(a.subscribe(t.destination))},r.onerror=function(e){t._resetState(),n.error(e)},r.onclose=function(e){t._resetState();var r=t.closeObserver;r&&r.next(e),e.wasClean?n.complete():n.error(e)},r.onmessage=function(e){var r=l.tryCatch(t.resultSelector)(e);r===p.errorObject?n.error(p.errorObject.e):n.next(r)}},e.prototype._subscribe=function(t){var e=this,n=this.source;if(n)return n.subscribe(t);this.socket||this._connectSocket();var r=new a.Subscription;return r.add(this._output.subscribe(t)),r.add(function(){var t=e.socket;0===e._output.observers.length&&(t&&1===t.readyState&&t.close(),e._resetState())}),r},e.prototype.unsubscribe=function(){var e=this,n=e.source,r=e.socket;r&&1===r.readyState&&(r.close(),this._resetState()),t.prototype.unsubscribe.call(this),n||(this.destination=new c.ReplaySubject)},e}(o.AnonymousSubject);e.WebSocketSubject=h},yQ6o:function(t,e,n){"use strict";var r=n("T1tZ");e.bindCallback=r.BoundCallbackObservable.create},yR50:function(t,e,n){"use strict";var r=n("Fpv1"),o=n("HHMl");e.queue=new o.QueueScheduler(r.QueueAction)},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},ykQW:function(t,e,n){"use strict";var r=n("bKpL"),o=n("8Ben");r.Observable.prototype.let=o.letProto,r.Observable.prototype.letBind=o.letProto},ytB7:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=a.async),this.lift(new u(t,e))}function o(t){var e=t.subscriber,n=t.period;e.notifyNext(),this.schedule(t,n)}var i=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)},s=n("T14+"),a=n("IhB/");e.sampleTime=r;var u=function(){function t(t,e){this.period=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.period,this.scheduler))},t}(),c=function(t){function e(e,n,r){t.call(this,e),this.period=n,this.scheduler=r,this.hasValue=!1,this.add(r.schedule(o,n,{subscriber:this,period:n}))}return i(e,t),e.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},e}(s.Subscriber)},z69B:function(t,e,n){"use strict";var r=n("bKpL"),o=n("gb+0");r.Observable.prototype.single=o.single},zGUx:function(t,e,n){"use strict";var r=n("wbX9");e.fromEvent=r.FromEventObservable.create},zZnE:function(t,e,n){"use strict";var r=n("bKpL"),o=n("jyAw");r.Observable.prototype.groupBy=o.groupBy},zbre:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=null),this.lift(new s(t,e))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.bufferCount=r;var s=function(){function t(t,e){this.bufferSize=t,this.startBufferEvery=e,this.subscriberClass=e&&t!==e?u:a}return t.prototype.call=function(t,e){return e.subscribe(new this.subscriberClass(t,this.bufferSize,this.startBufferEvery))},t}(),a=function(t){function e(e,n){t.call(this,e),this.bufferSize=n,this.buffer=[]}return o(e,t),e.prototype._next=function(t){var e=this.buffer;e.push(t),e.length==this.bufferSize&&(this.destination.next(e),this.buffer=[])},e.prototype._complete=function(){var e=this.buffer;e.length>0&&this.destination.next(e),t.prototype._complete.call(this)},e}(i.Subscriber),u=function(t){function e(e,n,r){t.call(this,e),this.bufferSize=n,this.startBufferEvery=r,this.buffers=[],this.count=0}return o(e,t),e.prototype._next=function(t){var e=this,n=e.bufferSize,r=e.startBufferEvery,o=e.buffers,i=e.count;this.count++,i%r==0&&o.push([]);for(var s=o.length;s--;){var a=o[s];a.push(t),a.length===n&&(o.splice(s,1),this.destination.next(a))}},e.prototype._complete=function(){for(var e=this,n=e.buffers,r=e.destination;n.length>0;){var o=n.shift();o.length>0&&r.next(o)}t.prototype._complete.call(this)},e}(i.Subscriber)},zc4d:function(t,e,n){"use strict";var r=n("bKpL"),o=n("uYJe");r.Observable.prototype.finally=o._finally,r.Observable.prototype._finally=o._finally},zdWg:function(t,e,n){"use strict";var r=n("bKpL"),o=n("Zfg9");r.Observable.prototype.skipLast=o.skipLast},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"))},ziym:function(t,e,n){"use strict";var r=n("HPkd");e.ajax=r.AjaxObservable.create},zjlw:function(t,e,n){"use strict";function r(t){return void 0===t&&(t=-1),this.lift(new s(t,this))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.retry=r;var s=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.count,this.source))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.count=n,this.source=r}return o(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this,r=n.source,o=n.count;if(0===o)return t.prototype.error.call(this,e);o>-1&&(this.count=o-1),r.subscribe(this._unsubscribeAndRecycle())}},e}(i.Subscriber)}}); \ No newline at end of file +webpackJsonp([3],{"+0Ji":function(t,e,n){"use strict";var r=n("bKpL"),o=n("l/Fw");r.Observable.prototype.sample=o.sample},"+K1p":function(t,e,n){"use strict";function r(t){return i["\u0275vid"](0,[(t()(),i["\u0275ted"](-1,null,["\n "])),(t()(),i["\u0275eld"](1,0,null,null,7,"div",[["class","modal-dialog"]],null,null,null,null,null)),i["\u0275did"](2,278528,null,0,s.NgClass,[i.IterableDiffers,i.KeyValueDiffers,i.ElementRef,i.Renderer],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),i["\u0275ted"](-1,null,["\n "])),(t()(),i["\u0275eld"](4,0,null,null,3,"div",[["class","modal-content"]],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["\n "])),i["\u0275ncd"](null,0),(t()(),i["\u0275ted"](-1,null,["\n "])),(t()(),i["\u0275ted"](-1,null,["\n "])),(t()(),i["\u0275ted"](-1,null,["\n "]))],function(t,e){t(e,2,0,"modal-dialog",e.component.getCssClasses())},null)}function o(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"modal",[["class","modal"],["role","dialog"],["tabindex","-1"]],[[2,"fade",null],[1,"data-keyboard",0],[1,"data-backdrop",0]],null,null,r,c)),i["\u0275did"](1,180224,null,0,a.ModalComponent,[i.ElementRef],null,null)],null,function(t,e){t(e,0,0,i["\u0275nov"](e,1).fadeClass,i["\u0275nov"](e,1).dataKeyboardAttr,i["\u0275nov"](e,1).dataBackdropAttr)})}n.d(e,"a",function(){return c}),e.b=r;var i=n("/oeL"),s=n("qbdv"),a=n("vCyR"),u=(n.n(a),[]),c=i["\u0275crt"]({encapsulation:2,styles:u,data:{}});i["\u0275ccf"]("modal",a.ModalComponent,o,{animation:"animation",backdrop:"backdrop",keyboard:"keyboard",size:"size",cssClass:"cssClass"},{onClose:"onClose",onDismiss:"onDismiss",onOpen:"onOpen"},["*"])},"+Ve+":function(t,e,n){"use strict";var r=n("bKpL"),o=n("I3ay");r.Observable.prototype.concatAll=o.concatAll},"+c7d":function(t,e,n){"use strict";function r(){for(var t=[],e=0;e-1)return e.push(t[n]),e;e.push(t[n])}return e}function C(t){if(t.length>1){return" ("+O(t.slice().reverse()).map(function(t){return s(t.token)}).join(" -> ")+")"}return""}function S(t,e,n,r){var o=[e],i=n(o),s=r?w(i,r):Error(i);return s.addKey=x,s.keys=o,s.injectors=[t],s.constructResolvingMessage=n,s[_i]=r,s}function x(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function E(t,e){return S(t,e,function(t){return"No provider for "+s(t[0].token)+"!"+C(t)})}function T(t,e){return S(t,e,function(t){return"Cannot instantiate cyclic dependency!"+C(t)})}function P(t,e,n,r){return S(t,r,function(t){var n=s(t[0].token);return e.message+": Error during instantiation of "+n+"!"+C(t)+"."},e)}function j(t){return Error("Invalid provider - only instances of Provider and Type are allowed, got: "+t)}function A(t,e){for(var n=[],r=0,o=e.length;r-1&&t.splice(n,1)}function bt(t,e){var n=Vs.get(t);if(n)throw new Error("Duplicate module registered for "+t+" - "+n.moduleType.name+" vs "+e.moduleType.name);Vs.set(t,e)}function gt(t){var e=Vs.get(t);if(!e)throw new Error("No module with ID "+t+" loaded");return e}function _t(t){return t.reduce(function(t,e){var n=Array.isArray(e)?_t(e):e;return t.concat(n)},[])}function wt(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}function Ot(t){return t.map(function(t){return t.nativeElement})}function Ct(t,e,n){t.childNodes.forEach(function(t){t instanceof Js&&(e(t)&&n.push(t),Ct(t,e,n))})}function St(t,e,n){t instanceof Js&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof Js&&St(t,e,n)})}function xt(t){return Xs.get(t)||null}function Et(t){Xs.set(t.nativeNode,t)}function Tt(t){Xs.delete(t.nativeNode)}function Pt(t,e){var n=jt(t),r=jt(e);if(n&&r)return At(t,e,Pt);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 jt(t){return!!It(t)&&(Array.isArray(t)||!(t instanceof Map)&&r()in t)}function At(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 Rt(t,e){if(Array.isArray(t))for(var n=0;n0&&Me(t,e,0,n)&&(h=!0),f>1&&Me(t,e,1,r)&&(h=!0),f>2&&Me(t,e,2,o)&&(h=!0),f>3&&Me(t,e,3,i)&&(h=!0),f>4&&Me(t,e,4,s)&&(h=!0),f>5&&Me(t,e,5,a)&&(h=!0),f>6&&Me(t,e,6,u)&&(h=!0),f>7&&Me(t,e,7,c)&&(h=!0),f>8&&Me(t,e,8,l)&&(h=!0),f>9&&Me(t,e,9,p)&&(h=!0),h}function Ne(t,e,n){for(var r=!1,o=0;o0?o[n-1]:null,r)}function Ze(t,e){var n=se(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),Je(e.parent.def,e.parentNodeDef)}}function Je(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 Xe(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,rn(n,e),Ea.dirtyParentQueries(r),en(r),r}function Ye(t){if(16&t.state){var e=se(t);if(e){var n=e.template._projectedViews;n&&(rn(n,n.indexOf(t)),Ea.dirtyParentQueries(t))}}}function $e(t,e,n){var r=t.viewContainer._embeddedViews,o=r[e];return rn(r,e),null==n&&(n=r.length),nn(r,n,o),Ea.dirtyParentQueries(o),en(o),tn(t,n>0?r[n-1]:null,o),o}function tn(t,e,n){var r=e?ue(e,e.def.lastRenderRootNode):t.renderElement;be(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function en(t){be(t,3,null,null,void 0)}function nn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function rn(t,e){e>=t.length-1?t.pop():t.splice(e,1)}function on(t,e,n,r,o,i){return new Ba(t,e,n,r,o,i)}function sn(t){return t.viewDefFactory}function an(t,e,n){return new Ua(t,e,n)}function un(t){return new qa(t)}function cn(t,e){return new Ka(t,e)}function ln(t,e){return new za(t,e)}function pn(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=Bt(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Ft(t,n.nodeIndex).renderText;if(20240&n.flags)return Ht(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function fn(t){return new Wa(t.renderer)}function hn(t,e,n,r){return new Ga(t,e,n,r)}function dn(t,e,n,r,o,i,s,a){var u=[];if(s)for(var c in s){var l=s[c],p=l[0],f=l[1];u[p]={flags:8,name:c,nonMinifiedName:f,ns:null,securityContext:null,suffix:null}}var h=[];if(a)for(var d in a)h.push({type:1,propName:d,target:null,eventName:a[d]});return e|=16384,mn(t,e,n,r,o,o,i,u,h)}function yn(t,e,n){return t|=16,mn(-1,t,null,0,e,e,n)}function vn(t,e,n,r,o){return mn(-1,t,e,0,n,r,o)}function mn(t,e,n,r,o,i,s,a,u){var c=he(n),l=c.matchedQueries,p=c.references,f=c.matchedQueryIds;u||(u=[]),a||(a=[]);var h=de(s);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:l,matchedQueryIds:f,references:p,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:Se(a),outputs:u,element:null,provider:{token:o,value:i,deps:h},text:null,query:null,ngContent:null}}function bn(t,e){return Sn(t,e)}function gn(t,e){for(var n=t;n.parent&&!le(n);)n=n.parent;return xn(n.parent,ae(n),!0,e.provider.value,e.provider.deps)}function _n(t,e){var n=(32768&e.flags)>0,r=xn(t,e.parent,n,e.provider.value,e.provider.deps);if(e.outputs.length)for(var o=0;o0&&te(t,e,0,n)&&(d=!0,y=jn(t,f,e,0,n,y)),v>1&&te(t,e,1,r)&&(d=!0,y=jn(t,f,e,1,r,y)),v>2&&te(t,e,2,o)&&(d=!0,y=jn(t,f,e,2,o,y)),v>3&&te(t,e,3,i)&&(d=!0,y=jn(t,f,e,3,i,y)),v>4&&te(t,e,4,s)&&(d=!0,y=jn(t,f,e,4,s,y)),v>5&&te(t,e,5,a)&&(d=!0,y=jn(t,f,e,5,a,y)),v>6&&te(t,e,6,u)&&(d=!0,y=jn(t,f,e,6,u,y)),v>7&&te(t,e,7,c)&&(d=!0,y=jn(t,f,e,7,c,y)),v>8&&te(t,e,8,l)&&(d=!0,y=jn(t,f,e,8,l,y)),v>9&&te(t,e,9,p)&&(d=!0,y=jn(t,f,e,9,p,y)),y&&h.ngOnChanges(y),2&t.state&&65536&e.flags&&h.ngOnInit(),262144&e.flags&&h.ngDoCheck(),d}function Cn(t,e,n){for(var r=Ht(t,e.nodeIndex),o=r.instance,i=!1,s=void 0,a=0;a0,r=e.provider;switch(201347067&e.flags){case 512:return xn(t,e.parent,n,r.value,r.deps);case 1024:return En(t,e.parent,n,r.value,r.deps);case 2048:return Tn(t,e.parent,n,r.deps[0]);case 256:return r.value}}function xn(t,e,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(Tn(t,e,n,o[0]));case 2:return new r(Tn(t,e,n,o[0]),Tn(t,e,n,o[1]));case 3:return new r(Tn(t,e,n,o[0]),Tn(t,e,n,o[1]),Tn(t,e,n,o[2]));default:for(var s=new Array(i),a=0;a0&&ee(t,e,0,n)&&(h=!0),d>1&&ee(t,e,1,r)&&(h=!0),d>2&&ee(t,e,2,o)&&(h=!0),d>3&&ee(t,e,3,i)&&(h=!0),d>4&&ee(t,e,4,s)&&(h=!0),d>5&&ee(t,e,5,a)&&(h=!0),d>6&&ee(t,e,6,u)&&(h=!0),d>7&&ee(t,e,7,c)&&(h=!0),d>8&&ee(t,e,8,l)&&(h=!0),d>9&&ee(t,e,9,p)&&(h=!0),h){var y=Ut(t,e.nodeIndex),v=void 0;switch(201347067&e.flags){case 32:v=new Array(f.length),d>0&&(v[0]=n),d>1&&(v[1]=r),d>2&&(v[2]=o),d>3&&(v[3]=i),d>4&&(v[4]=s),d>5&&(v[5]=a),d>6&&(v[6]=u),d>7&&(v[7]=c),d>8&&(v[8]=l),d>9&&(v[9]=p);break;case 64:v={},d>0&&(v[f[0].name]=n),d>1&&(v[f[1].name]=r),d>2&&(v[f[2].name]=o),d>3&&(v[f[3].name]=i),d>4&&(v[f[4].name]=s),d>5&&(v[f[5].name]=a),d>6&&(v[f[6].name]=u),d>7&&(v[f[7].name]=c),d>8&&(v[f[8].name]=l),d>9&&(v[f[9].name]=p);break;case 128:var m=n;switch(d){case 1:v=m.transform(n);break;case 2:v=m.transform(r);break;case 3:v=m.transform(r,o);break;case 4:v=m.transform(r,o,i);break;case 5:v=m.transform(r,o,i,s);break;case 6:v=m.transform(r,o,i,s,a);break;case 7:v=m.transform(r,o,i,s,a,u);break;case 8:v=m.transform(r,o,i,s,a,u,c);break;case 9:v=m.transform(r,o,i,s,a,u,c,l);break;case 10:v=m.transform(r,o,i,s,a,u,c,l,p)}}y.value=v}return h}function Gn(t,e,n){for(var r=e.bindings,o=!1,i=0;i0&&ee(t,e,0,n)&&(f=!0),d>1&&ee(t,e,1,r)&&(f=!0),d>2&&ee(t,e,2,o)&&(f=!0),d>3&&ee(t,e,3,i)&&(f=!0),d>4&&ee(t,e,4,s)&&(f=!0),d>5&&ee(t,e,5,a)&&(f=!0),d>6&&ee(t,e,6,u)&&(f=!0),d>7&&ee(t,e,7,c)&&(f=!0),d>8&&ee(t,e,8,l)&&(f=!0),d>9&&ee(t,e,9,p)&&(f=!0),f){var y=e.text.prefix;d>0&&(y+=Yn(n,h[0])),d>1&&(y+=Yn(r,h[1])),d>2&&(y+=Yn(o,h[2])),d>3&&(y+=Yn(i,h[3])),d>4&&(y+=Yn(s,h[4])),d>5&&(y+=Yn(a,h[5])),d>6&&(y+=Yn(u,h[6])),d>7&&(y+=Yn(c,h[7])),d>8&&(y+=Yn(l,h[8])),d>9&&(y+=Yn(p,h[9]));var v=Ft(t,e.nodeIndex).renderText;t.renderer.setValue(v,y)}return f}function Xn(t,e,n){for(var r=e.bindings,o=!1,i=0;i0)c=y,tr(y)||(l=y);else for(;c&&d===c.nodeIndex+c.childCount;){var g=c.parent;g&&(g.childFlags|=c.childFlags,g.childMatchedQueries|=c.childMatchedQueries),c=g,l=c&&tr(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||Ta,updateRenderer:r||Ta,handleEvent:_,bindingCount:o,outputCount:i,lastRenderRootNode:h}}function tr(t){return 0!=(1&t.flags)&&null===t.element.name}function er(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.nodeIndex+"!")}if(20224&e.flags){if(0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!")}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.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var o=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=o&&e.nodeIndex+e.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function nr(t,e,n,r){var o=ir(t.root,t.renderer,t,e,n);return sr(o,t.component,r),ar(o),o}function rr(t,e,n){var r=ir(t,t.renderer,null,null,e);return sr(r,n,n),ar(r),r}function or(t,e,n,r){var o,i=e.element.componentRendererType;return o=i?t.root.rendererFactory.createRenderer(r,i):t.root.renderer,ir(t.root,o,t,e.element.componentProvider,n)}function ir(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 sr(t,e,n){t.component=e,t.context=n}function ar(t){var e;if(le(t)){var n=t.parentNodeDef;e=Bt(t.parent,n.parent.nodeIndex).renderElement}for(var r=t.def,o=t.nodes,i=0;i0&&ne(t,e,0,n),f>1&&ne(t,e,1,r),f>2&&ne(t,e,2,o),f>3&&ne(t,e,3,i),f>4&&ne(t,e,4,s),f>5&&ne(t,e,5,a),f>6&&ne(t,e,6,u),f>7&&ne(t,e,7,c),f>8&&ne(t,e,8,l),f>9&&ne(t,e,9,p)}function vr(t,e,n){for(var r=0;r=this._providers.length)throw R(t);return this._providers[t]},t.prototype._new=function(t){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw T(this,t.key);return this._instantiateProvider(t)},t.prototype._getMaxNumberOfObjects=function(){return this.objs.length},t.prototype._instantiateProvider=function(t){if(t.multiProvider){for(var e=new Array(t.resolvedFactories.length),n=0;n0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+s(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},e}(xs);Es.decorators=[{type:li}],Es.ctorParameters=function(){return[{type:mi}]};var Ts=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}(),Ps=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=lt(),u._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run(function(){u.tick()})}});var c=new Eo.Observable(function(t){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular(function(){t.next(u._stable),t.complete()})}),l=new Eo.Observable(function(t){var e;u._zone.runOutsideAngular(function(){e=u._zone.onStable.subscribe(function(){ys.assertNotInAngularZone(),o(function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,t.next(!0))})})});var n=u._zone.onUnstable.subscribe(function(){ys.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});return u._isStable=Object(To.merge)(c,Po.share.call(l)),u}return xo.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;mt(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 $i?t:this._componentFactoryResolver.resolveComponentFactory(t),this._rootComponentTypes.push(r.componentType);var o=r instanceof ss?null:this._injector.get(as),i=e||r.selector,s=r.create(mi.NULL,[],i,o);s.onDestroy(function(){n._unloadComponent(s)});var a=s.injector.get(vs,null);return a&&s.injector.get(ms).registerApplication(s.location.nativeElement,a),this._loadComponent(s),lt()&&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(zi,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},e.prototype._unloadComponent=function(t){this.detachView(t.hostView),mt(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,ps(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}(Ts);Ps._tickScope=ls("ApplicationRef#tick()"),Ps.decorators=[{type:li}],Ps.ctorParameters=function(){return[{type:ys},{type:Gi},{type:mi},{type:Oi},{type:ns},{type:Bi}]};var js=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}return t}(),As=function(){function t(){}return t.prototype.injector=function(){},t.prototype.component=function(){},t.prototype.providerTokens=function(){},t.prototype.references=function(){},t.prototype.context=function(){},t.prototype.source=function(){},t}(),Rs=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}(),Is=(new Ro("Renderer2Interceptor"),function(){function t(){}return t.prototype.renderComponent=function(t){},t}()),ks=function(){function t(){}return t.prototype.createRenderer=function(t,e){},t.prototype.begin=function(){},t.prototype.end=function(){},t.prototype.whenRenderingDone=function(){},t}(),Ns={};Ns.Important=1,Ns.DashCase=2,Ns[Ns.Important]="Important",Ns[Ns.DashCase]="DashCase";var Ms=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}(),Ls=function(){function t(t){this.nativeElement=t}return t}(),Ds=function(){function t(){}return t.prototype.load=function(t){},t}(),Vs=new Map,Fs=function(){function t(){this._dirty=!0,this._results=[],this._emitter=new ds}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=_t(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}(),Bs=function(){function t(){}return t}(),Hs={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Us=function(){function t(t,e){this._compiler=t,this._config=e||Hs}return t.prototype.load=function(t){return this._compiler instanceof Zi?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 wt(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 wt(t,r,o)})},t}();Us.decorators=[{type:li}],Us.ctorParameters=function(){return[{type:Zi},{type:Bs,decorators:[{type:ci}]}]};var qs=function(){function t(){}return t.prototype.elementRef=function(){},t.prototype.createEmbeddedView=function(t){},t}(),Ks=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}(),zs=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}(),Ws=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return xo.a(e,t),e.prototype.destroy=function(){},e.prototype.destroyed=function(){},e.prototype.onDestroy=function(t){},e}(zs),Gs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return xo.a(e,t),e.prototype.context=function(){},e.prototype.rootNodes=function(){},e}(Ws),Qs=function(){function t(t,e){this.name=t,this.callback=e}return t}(),Zs=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof Js?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}(),Js=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 xo.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 Ct(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return St(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}(Zs),Xs=new Map,Ys=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t}(),$s=function(){function t(){this.hasWrappedValue=!1}return t.prototype.unwrap=function(t){return t instanceof Ys?(this.hasWrappedValue=!0,t.wrapped):t},t.prototype.reset=function(){this.hasWrappedValue=!1},t}(),ta=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}(),ea=function(){function t(){}return t.prototype.supports=function(t){return jt(t)},t.prototype.create=function(t,e){return new ra(e||t)},t}(),na=function(t,e){return e},ra=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||na}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}(),ia=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}(),sa=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 ia,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}(),aa=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||It(t)},t.prototype.create=function(t){return new ua},t}(),ua=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||It(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 ca(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}(),ca=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}(),la=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 fi,new ci]]}},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 '"+Nt(t)+"'")},t}(),pa=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 fi,new ci]]}},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}(),fa=[new aa],ha=[new ea],da=new la(ha),ya=new pa(fa),va=[{provide:Ki,useValue:"unknown"},Es,{provide:xs,useExisting:Es},{provide:ji,useFactory:Mt,deps:[]},ms,Gi],ma=ft(null,"core",va),ba=new Ro("LocaleId"),ga=new Ro("Translations"),_a=new Ro("TranslationsFormat"),wa={};wa.Error=0,wa.Warning=1,wa.Ignore=2,wa[wa.Error]="Error",wa[wa.Warning]="Warning",wa[wa.Ignore]="Ignore";var Oa=function(){function t(t){}return t}();Oa.decorators=[{type:ri,args:[{providers:[Ps,{provide:Ts,useExisting:Ps},Bi,Zi,Ui,{provide:la,useFactory:Lt},{provide:pa,useFactory:Dt},{provide:ba,useFactory:Vt,deps:[[new ui(ba),new ci,new fi]]}]}]}],Oa.ctorParameters=function(){return[{type:Ts}]};var Ca={};Ca.NONE=0,Ca.HTML=1,Ca.STYLE=2,Ca.SCRIPT=3,Ca.URL=4,Ca.RESOURCE_URL=5,Ca[Ca.NONE]="NONE",Ca[Ca.HTML]="HTML",Ca[Ca.STYLE]="STYLE",Ca[Ca.SCRIPT]="SCRIPT",Ca[Ca.URL]="URL",Ca[Ca.RESOURCE_URL]="RESOURCE_URL";var Sa=function(){function t(){}return t.prototype.sanitize=function(t,e){},t}(),xa=function(){function t(){}return 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=Xe(this._data,e);Ea.destroyView(n)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new qa(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 ss||(o=i.get(as));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 Qe(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 $e(this._data,n,e),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Xe(this._data,t);e&&Ea.destroyView(e)},t.prototype.detach=function(t){var e=Xe(this._data,t);return e?new qa(e):null},t}(),qa=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return me(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(){re(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin(),Ea.checkAndUpdateView(this._view),t.end&&t.end()},t.prototype.checkNoChanges=function(){Ea.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)),Ea.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,en(this._view),Ea.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}(),Ka=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return xo.a(e,t),e.prototype.createEmbeddedView=function(t){return new qa(Ea.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new Ls(Bt(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(qs),za=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){void 0===e&&(e=mi.THROW_IF_NOT_FOUND);var n=!!this.elDef&&0!=(33554432&this.elDef.flags);return Ea.resolveDep(this.view,this.elDef,n,{flags:0,token:t,tokenKey:Jt(t)},e)},t}(),Wa=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=Ce(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;nthis.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),v=function(t){function e(e,n,r){t.call(this,e),this.parent=n,this.observable=r,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return i(e,t),e.prototype[p.iterator]=function(){return this},e.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,o){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return l.subscribeToResult(this,this.observable,this,e)},e}(c.OuterSubscriber)},"0L2s":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=function(t){function e(){var e=t.call(this,"Timeout has occurred");this.name=e.name="TimeoutError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.TimeoutError=o},"0imh":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("rlar"),i=n("yR50"),s=n("xFbG"),a=n("AHF9"),u=n("Lhvy"),c=n("g0Kb"),l=function(t){function e(e,n,r){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY),t.call(this),this.scheduler=r,this._events=[],this._bufferSize=e<1?1:e,this._windowTime=n<1?1:n}return r(e,t),e.prototype.next=function(e){var n=this._getNow();this._events.push(new p(n,e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._trimBufferThenGetEvents(),r=this.scheduler;if(this.closed)throw new u.ObjectUnsubscribedError;this.hasError?e=s.Subscription.EMPTY:this.isStopped?e=s.Subscription.EMPTY:(this.observers.push(t),e=new c.SubjectSubscription(this,t)),r&&t.add(t=new a.ObserveOnSubscriber(t,r));for(var o=n.length,i=0;ie&&(i=Math.max(i,o-e)),i>0&&r.splice(0,i),r},e}(o.Subject);e.ReplaySubject=l;var p=function(){function t(t,e){this.time=t,this.value=e}return t}()},"0nG5":function(t,e,n){"use strict";function r(t){var e="function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t1)for(var n=1;n1)throw"Triggers parse error: only one manual trigger is allowed";if(1===o.length&&r.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return r}function o(t,e){var n=r(e.triggers),o=e.target;if(1===n.length&&n[0].isManual())return Function.prototype;var i=[],s=[],a=function(){s.forEach(function(t){return i.push(t())}),s.length=0};return n.forEach(function(n){var r=n.open===n.close,u=r?e.toggle:e.show;r||s.push(function(){return t.listen(o,n.close,e.hide)}),i.push(t.listen(o,n.open,function(){return u(a)}))}),function(){i.forEach(function(t){return t()})}}function i(t,e){return e.outsideClick?t.listenGlobal("document","click",function(t){e.target&&e.target.contains(t.target)||e.targets&&e.targets.some(function(e){return e.contains(t.target)})||e.hide()}):Function.prototype}var s=n("/oeL"),a=function(){function t(t,e){this.open=t,this.close=e||t}return t.prototype.isManual=function(){return"manual"===this.open||"manual"===this.close},t}(),u={hover:["mouseover","mouseout"],focus:["focusin","focusout"]},c=n("dTYv");n.d(e,"a",function(){return l});var l=function(){function t(t,e,n,r,o,i,a,u){this._viewContainerRef=t,this._renderer=e,this._elementRef=n,this._injector=r,this._componentFactoryResolver=o,this._ngZone=i,this._applicationRef=a,this._posService=u,this.onBeforeShow=new s.EventEmitter,this.onShown=new s.EventEmitter,this.onBeforeHide=new s.EventEmitter,this.onHidden=new s.EventEmitter,this._providers=[],this._listenOpts={},this._globalListener=Function.prototype}return Object.defineProperty(t.prototype,"isShown",{get:function(){return!!this._componentRef},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(t),this},t.prototype.to=function(t){return this.container=t||this.container,this},t.prototype.position=function(t){return this.attachment=t.attachment||this.attachment,this._elementRef=t.target||this._elementRef,this},t.prototype.provide=function(t){return this._providers.push(t),this},t.prototype.show=function(t){if(void 0===t&&(t={}),this._subscribePositioning(),this._innerComponent=null,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(t.content,t.context);var e=s.ReflectiveInjector.resolveAndCreate(this._providers,this._injector);this._componentRef=this._componentFactory.create(e,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,t),this.container instanceof s.ElementRef&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"body"===this.container&&"undefined"!=typeof document&&document.querySelector(this.container).appendChild(this._componentRef.location.nativeElement),!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef},t.prototype.hide=function(){if(!this._componentRef)return this;this.onBeforeHide.emit(this._componentRef.instance);var t=this._componentRef.location.nativeElement;return t.parentNode.removeChild(t),this._contentRef.componentRef&&this._contentRef.componentRef.destroy(),this._componentRef.destroy(),this._viewContainerRef&&this._contentRef.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef=null,this._componentRef=null,this._removeGlobalListener(),this.onHidden.emit(),this},t.prototype.toggle=function(){if(this.isShown)return void this.hide();this.show()},t.prototype.dispose=function(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()},t.prototype.listen=function(t){var e=this;this.triggers=t.triggers||this.triggers,this._listenOpts.outsideClick=t.outsideClick,t.target=t.target||this._elementRef.nativeElement;var n=this._listenOpts.hide=function(){return t.hide?t.hide():e.hide()},r=this._listenOpts.show=function(n){t.show?t.show(n):e.show(n),n()},i=function(t){e.isShown?n():r(t)};return this._unregisterListenersFn=o(this._renderer,{target:t.target,triggers:t.triggers,show:r,hide:n,toggle:i}),this},t.prototype._removeGlobalListener=function(){this._globalListener&&(this._globalListener(),this._globalListener=null)},t.prototype.attachInline=function(t,e){return this._inlineViewRef=t.createEmbeddedView(e),this},t.prototype._registerOutsideClick=function(){var t=this;if(this._componentRef&&this._componentRef.location&&this._listenOpts.outsideClick){var e=this._componentRef.location.nativeElement;setTimeout(function(){t._globalListener=i(t._renderer,{targets:[e,t._elementRef.nativeElement],outsideClick:t._listenOpts.outsideClick,hide:function(){return t._listenOpts.hide()}})})}},t.prototype.getInnerComponent=function(){return this._innerComponent},t.prototype._subscribePositioning=function(){var t=this;!this._zoneSubscription&&this.attachment&&(this._zoneSubscription=this._ngZone.onStable.subscribe(function(){t._componentRef&&t._posService.position({element:t._componentRef.location,target:t._elementRef,attachment:t.attachment,appendToBody:"body"===t.container})}))},t.prototype._unsubscribePositioning=function(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=null)},t.prototype._getContentRef=function(t,e){if(!t)return new c.a([]);if(t instanceof s.TemplateRef){if(this._viewContainerRef){var n=this._viewContainerRef.createEmbeddedView(t,e);return n.markForCheck(),new c.a([n.rootNodes],n)}var r=t.createEmbeddedView({});return this._applicationRef.attachView(r),new c.a([r.rootNodes],r)}if("function"==typeof t){var o=this._componentFactoryResolver.resolveComponentFactory(t),i=s.ReflectiveInjector.resolveAndCreate(this._providers.concat([t]),this._injector),a=o.create(i);return this._applicationRef.attachView(a.hostView),new c.a([[a.location.nativeElement]],a.hostView,a)}return new c.a([[this._renderer.createText(null,""+t)]])},t}()},"3N4h":function(t,e,n){"use strict";function r(t){return this.lift(new u(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rlar"),s=n("yW9Z"),a=n("ktfo");e.window=r;var u=function(){function t(t){this.windowBoundaries=t}return t.prototype.call=function(t,e){var n=new c(t),r=e.subscribe(n);return r.closed||n.add(a.subscribeToResult(n,this.windowBoundaries)),r},t}(),c=function(t){function e(e){t.call(this,e),this.window=new i.Subject,e.next(this.window)}return o(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.openWindow()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){this._complete()},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t)},e.prototype._complete=function(){this.window.complete(),this.destination.complete()},e.prototype._unsubscribe=function(){this.window=null},e.prototype.openWindow=function(){var t=this.window;t&&t.complete();var e=this.destination,n=this.window=new i.Subject;e.next(n)},e}(s.OuterSubscriber)},"3lml":function(t,e,n){"use strict";function r(t){return 0===t.indexOf(i+s)}n.d(e,"a",function(){return u});var o=n("p3ht"),i=o.a,s=o.c,a=o.b,u=function(){function t(){}return t.isManagedKey=function(t){return 0===t.indexOf(i+s)},t.retrieveKeysFromStorage=function(t){return Object.keys(t).filter(r)},t.genKey=function(t){if("string"!=typeof t)throw Error("attempt to generate a storage key with a non string value");return""+i+s+this.formatKey(t)},t.formatKey=function(t){var e=t.toString();return a?e:e.toLowerCase()},t.setStorageKeyPrefix=function(t){void 0===t&&(t=o.a),i=t},t.setCaseSensitivity=function(t){void 0===t&&(t=o.b),a=t},t.setStorageKeySeparator=function(t){void 0===t&&(t=o.c),s=t},t}()},"3lsR":function(t,e,n){"use strict";var r=n("bKpL"),o=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return r.Observable.of(this.value);case"E":return r.Observable.throw(this.error);case"C":return r.Observable.empty()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}();e.Notification=o},"422b":function(t,e,n){"use strict";function r(t,e){return this.lift(new s(t,e))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.filter=r;var s=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.thisArg))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.predicate=n,this.thisArg=r,this.count=0}return o(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(i.Subscriber)},"4JlW":function(t,e,n){"use strict";var r=n("bKpL"),o=n("QgC4");r.Observable.webSocket=o.webSocket},"4zAq":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("/oeL"),o=function(){function t(){var t=this;this.direction="down",this.isOpenChange=new r.EventEmitter,this.isDisabledChange=new r.EventEmitter,this.toggleClick=new r.EventEmitter,this.dropdownMenu=new Promise(function(e){t.resolveDropdownMenu=e})}return t.decorators=[{type:r.Injectable}],t.ctorParameters=function(){return[]},t}()},"56vs":function(t,e,n){"use strict";function r(t){return this.lift(new s(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.skipWhile=r;var s=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate))},t}(),a=function(t){function e(e,n){t.call(this,e),this.predicate=n,this.skipping=!0,this.index=0}return o(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(i.Subscriber)},"5p6H":function(t,e,n){"use strict";var r=n("bKpL"),o=n("TIdC");r.Observable.prototype.mergeAll=o.mergeAll},"5uCp":function(t,e,n){"use strict";var r=n("bKpL"),o=n("Lqs2");r.Observable.prototype.take=o.take},"5v8a":function(t,e,n){"use strict";var r=n("bKpL"),o=n("lx+J");r.Observable.prototype.map=o.map},"60yU":function(t,e,n){"use strict";function r(t){return this.lift(new l(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rlar"),s=n("RdI5"),a=n("XRvs"),u=n("yW9Z"),c=n("ktfo");e.repeatWhen=r;var l=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.notifier,e))},t}(),p=function(t){function e(e,n,r){t.call(this,e),this.notifier=n,this.source=r,this.sourceIsBeingSubscribedTo=!0}return o(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(e){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries){if(this.retriesSubscription.closed)return t.prototype.complete.call(this)}else this.subscribeToRetries();this._unsubscribeAndRecycle(),this.notifications.next()}},e.prototype._unsubscribe=function(){var t=this,e=t.notifications,n=t.retriesSubscription;e&&(e.unsubscribe(),this.notifications=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype._unsubscribeAndRecycle=function(){var e=this,n=e.notifications,r=e.retries,o=e.retriesSubscription;return this.notifications=null,this.retries=null,this.retriesSubscription=null,t.prototype._unsubscribeAndRecycle.call(this),this.notifications=n,this.retries=r,this.retriesSubscription=o,this},e.prototype.subscribeToRetries=function(){this.notifications=new i.Subject;var e=s.tryCatch(this.notifier)(this.notifications);if(e===a.errorObject)return t.prototype.complete.call(this);this.retries=e,this.retriesSubscription=c.subscribeToResult(this,e)},e}(u.OuterSubscriber)},"67Ck":function(t,e,n){"use strict";var r=n("bKpL"),o=n("56vs");r.Observable.prototype.skipWhile=o.skipWhile},"6A7A":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("/oeL"),o=n("K5tw"),i=n("H01b"),s=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(t){function e(){return t.call(this,o.a.local)||this}return s(e,t),e}(i.a);a.decorators=[{type:r.Injectable}],a.ctorParameters=function(){return[]}},"6DBm":function(t,e,n){"use strict";var r=n("bKpL"),o=n("+c7d");r.Observable.prototype.combineLatest=o.combineLatest},"6JjX":function(t,e,n){"use strict";function r(){return this.lift(new a)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("yW9Z"),s=n("ktfo");e._switch=r;var a=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new u(t))},t}(),u=function(t){function e(e){t.call(this,e),this.active=0,this.hasCompleted=!1}return o(e,t),e.prototype._next=function(t){this.unsubscribeInner(),this.active++,this.add(this.innerSubscription=s.subscribeToResult(this,t))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&this.destination.complete()},e.prototype.unsubscribeInner=function(){this.active=this.active>0?this.active-1:0;var t=this.innerSubscription;t&&(t.unsubscribe(),this.remove(t))},e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.unsubscribeInner(),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(i.OuterSubscriber)},"6NKQ":function(t,e,n){"use strict";var r=n("bKpL"),o=n("kkQ5");r.Observable.prototype.scan=o.scan},"6P86":function(t,e,n){"use strict";function r(){for(var t=[],e=0;e\n \n \n \n '}]}],t.ctorParameters=[{type:o.ModalComponent}],t.propDecorators={showClose:[{type:r.Input,args:["show-close"]}]},t}();e.ModalHeaderComponent=i},"8Ben":function(t,e,n){"use strict";function r(t){return t(this)}e.letProto=r},"8Jh8":function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("yW9Z"),s=n("ktfo");e.takeUntil=r;var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.notifier))},t}(),u=function(t){function e(e,n){t.call(this,e),this.notifier=n,this.add(s.subscribeToResult(this,n))}return o(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.complete()},e.prototype.notifyComplete=function(){},e}(i.OuterSubscriber)},"8efI":function(t,e,n){"use strict";function r(t,e){return this.lift(new u(t,e))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("yW9Z"),s=n("ktfo"),a=n("M11L");e.distinct=r;var u=function(){function t(t,e){this.keySelector=t,this.flushes=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.keySelector,this.flushes))},t}(),c=function(t){function e(e,n,r){t.call(this,e),this.keySelector=n,this.values=new a.Set,r&&this.add(s.subscribeToResult(this,r))}return o(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.values.clear()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype._next=function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)},e.prototype._useKeySelector=function(t){var e,n=this.destination;try{e=this.keySelector(t)}catch(t){return void n.error(t)}this._finalizeNext(e,t)},e.prototype._finalizeNext=function(t,e){var n=this.values;n.has(t)||(n.add(t),this.destination.next(e))},e}(i.OuterSubscriber);e.DistinctSubscriber=c},"8pdA":function(t,e,n){"use strict";function r(t){var e=arguments.length,n=u.async;l.isScheduler(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var r=null;e>=2&&(r=arguments[1]);var o=Number.POSITIVE_INFINITY;return e>=3&&(o=arguments[2]),this.lift(new p(t,r,o,n))}function o(t){var e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function i(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,r=t.subscriber,o=t.scheduler,i=r.openContext(),a=this;r.closed||(r.add(i.closeAction=o.schedule(s,n,{subscriber:r,context:i})),a.schedule(t,e))}function s(t){var e=t.subscriber,n=t.context;e.closeContext(n)}var a=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)},u=n("IhB/"),c=n("T14+"),l=n("MicL");e.bufferTime=r;var p=function(){function t(t,e,n,r){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),f=function(){function t(){this.buffer=[]}return t}(),h=function(t){function e(e,n,r,a,u){t.call(this,e),this.bufferTimeSpan=n,this.bufferCreationInterval=r,this.maxBufferSize=a,this.scheduler=u,this.contexts=[];var c=this.openContext();if(this.timespanOnly=null==r||r<0,this.timespanOnly){var l={subscriber:this,context:c,bufferTimeSpan:n};this.add(c.closeAction=u.schedule(o,n,l))}else{var p={subscriber:this,context:c},f={bufferTimeSpan:n,bufferCreationInterval:r,subscriber:this,scheduler:u};this.add(c.closeAction=u.schedule(s,n,p)),this.add(u.schedule(i,r,f))}}return a(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,r=n.length,o=0;o0;){var o=n.shift();r.next(o.buffer)}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan,r={subscriber:this,context:t,bufferTimeSpan:n};this.add(t.closeAction=this.scheduler.schedule(o,n,r))}},e.prototype.openContext=function(){var t=new f;return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)},e}(c.Subscriber)},"9Qcf":function(t,e,n){"use strict";var r=n("/oeL"),o=n("a3e3"),i=n("WDs4"),s=n("Qg/J"),a=n("R08E"),u=n("t0d0"),c=n("ansA"),l=function(){function t(t,e,n){var r=this;this.translateService=t,this.element=e,this._ref=n,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(function(t){t.lang===r.translateService.currentLang&&r.checkNodes(!0,t.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(function(t){r.checkNodes(!0,t.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(function(t){r.checkNodes(!0)}))}return Object.defineProperty(t.prototype,"translate",{set:function(t){t&&(this.key=t,this.checkNodes())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"translateParams",{set:function(t){Object(c.a)(this.currentParams,t)||(this.currentParams=t,this.checkNodes(!0))},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewChecked=function(){this.checkNodes()},t.prototype.checkNodes=function(t,e){void 0===t&&(t=!1);var n=this.element.nativeElement.childNodes;n.length||(this.setContent(this.element.nativeElement,this.key),n=this.element.nativeElement.childNodes);for(var r=0;rt.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length0?t[t.length-1]:null}function d(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function y(t,e){if(0===Object.keys(t).length)return Object(de.of)({});var n=[],r=[],o={};d(t,function(t,i){var s=ge.map.call(e(i,t),function(t){return o[i]=t});i===He?n.push(s):r.push(s)});var i=Se.concatAll.call(de.of.apply(void 0,n.concat(r))),s=be.last.call(i);return ge.map.call(s,function(){return o})}function v(t){var e=Te.mergeAll.call(t);return ve.every.call(e,function(t){return!0===t})}function m(t){return Object(le["\u0275isObservable"])(t)?t:Object(le["\u0275isPromise"])(t)?Object(Ee.fromPromise)(Promise.resolve(t)):Object(de.of)(t)}function b(){return new ze(new We([],{}),{},null)}function g(t,e,n){return n?_(t.queryParams,e.queryParams)&&w(t.root,e.root):O(t.queryParams,e.queryParams)&&C(t.root,e.root)}function _(t,e){return p(t,e)}function w(t,e){if(!E(t.segments,e.segments))return!1;if(t.numberOfChildren!==e.numberOfChildren)return!1;for(var n in e.children){if(!t.children[n])return!1;if(!w(t.children[n],e.children[n]))return!1}return!0}function O(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return e[n]===t[n]})}function C(t,e){return S(t,e,e.segments)}function S(t,e,n){if(t.segments.length>n.length){var r=t.segments.slice(0,n.length);return!!E(r,n)&&!e.hasChildren()}if(t.segments.length===n.length){if(!E(t.segments,n))return!1;for(var o in e.children){if(!t.children[o])return!1;if(!C(t.children[o],e.children[o]))return!1}return!0}var r=n.slice(0,t.segments.length),i=n.slice(t.segments.length);return!!E(t.segments,r)&&(!!t.children[He]&&S(t.children[He],e,i))}function x(t,e){return E(t,e)&&t.every(function(t,n){return p(t.parameters,e[n].parameters)})}function E(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}function T(t,e){var n=[];return d(t.children,function(t,r){r===He&&(n=n.concat(e(t,r)))}),d(t.children,function(t,r){r!==He&&(n=n.concat(e(t,r)))}),n}function P(t){return t.segments.map(function(t){return I(t)}).join("/")}function j(t,e){if(!t.hasChildren())return P(t);if(e){var n=t.children[He]?j(t.children[He],!1):"",r=[];return d(t.children,function(t,e){e!==He&&r.push(e+":"+j(t,!1))}),r.length>0?n+"("+r.join("//")+")":n}var o=T(t,function(e,n){return n===He?[j(t.children[He],!1)]:[n+":"+j(e,!1)]});return P(t)+"/("+o.join("//")+")"}function A(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";")}function R(t){return decodeURIComponent(t)}function I(t){return""+A(t.path)+k(t.parameters)}function k(t){return Object.keys(t).map(function(e){return";"+A(e)+"="+A(t[e])}).join("")}function N(t){var e=Object.keys(t).map(function(e){var n=t[e];return Array.isArray(n)?n.map(function(t){return A(e)+"="+A(t)}).join("&"):A(e)+"="+A(n)});return e.length?"?"+e.join("&"):""}function M(t){var e=t.match(Xe);return e?e[0]:""}function L(t){var e=t.match(Ye);return e?e[0]:""}function D(t){var e=t.match($e);return e?e[0]:""}function V(t){return new Oe.Observable(function(e){return e.error(new en(t))})}function F(t){return new Oe.Observable(function(e){return e.error(new nn(t))})}function B(t){return new Oe.Observable(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}function H(t){return new Oe.Observable(function(e){return e.error(o("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))})}function U(t,e,n,r,o){return new rn(t,e,n,r,o).apply()}function q(t,e){var n=e.canLoad;return n&&0!==n.length?v(ge.map.call(Object(he.from)(n),function(n){var r=t.get(n);return m(r.canLoad?r.canLoad(e):r(e))})):Object(de.of)(!0)}function K(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=e.matcher||s,o=r(n,t,e);return o?{matched:!0,consumedSegments:o.consumed,lastChild:o.consumed.length,positionalParamSegments:o.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function z(t,e,n,r){if(n.length>0&&Z(t,n,r)){var o=new We(e,Q(r,new We(n,t.children)));return{segmentGroup:W(o),slicedSegments:[]}}if(0===n.length&&J(t,n,r)){var o=new We(t.segments,G(t,n,r,t.children));return{segmentGroup:W(o),slicedSegments:n}}return{segmentGroup:t,slicedSegments:n}}function W(t){if(1===t.numberOfChildren&&t.children[He]){var e=t.children[He];return new We(t.segments.concat(e.segments),e.children)}return t}function G(t,e,n,r){for(var o={},i=0,s=n;i0)||"full"!==n.pathMatch)&&(""===n.path&&void 0!==n.redirectTo)}function Y(t){return t.outlet||He}function $(t,e){if(t===e.value)return e;for(var n=0,r=e.children;n=1;){var r=e[n],o=e[n-1];if(r.routeConfig&&""===r.routeConfig.path)n--;else{if(o.component)break;n--}}return e.slice(n).reduce(function(t,e){return{params:Object.assign({},t.params,e.params),data:Object.assign({},t.data,e.data),resolve:Object.assign({},t.resolve,e._resolvedData)}},{params:{},data:{},resolve:{}})}function ot(t,e){e.value._routerState=t,e.children.forEach(function(e){return ot(t,e)})}function it(t){var e=t.children.length>0?" { "+t.children.map(it).join(", ")+" } ":"";return""+t.value+e}function st(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,p(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),p(e.params,n.params)||t.params.next(n.params),l(e.url,n.url)||t.url.next(n.url),p(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function at(t,e){var n=p(t.params,e.params)&&x(t.url,e.url),r=!t.parent!=!e.parent;return n&&!r&&(!t.parent||at(t.parent,e.parent))}function ut(t,e,n){var r=ct(t,e._root,n?n._root:void 0);return new an(r,e)}function ct(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){var r=n.value;r._futureSnapshot=e.value;var o=pt(t,e,n);return new sn(r,o)}if(t.retrieve(e.value)){var i=t.retrieve(e.value).route;return lt(e,i),i}var r=ft(e.value),o=e.children.map(function(e){return ct(t,e)});return new sn(r,o)}function lt(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(var n=0;no;){if(i-=o,!(r=r.parent))throw new Error("Invalid number of '../'");o=r.segments.length}return new fn(r,!1,o-i)}function _t(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[He]:""+t}function wt(t){return"object"!=typeof t[0]?(e={},e[He]=t,e):void 0===t[0].outlets?(n={},n[He]=t,n):t[0].outlets;var e,n}function Ot(t,e,n){if(t||(t=new We([],{})),0===t.segments.length&&t.hasChildren())return Ct(t,e,n);var r=St(t,e,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex=n.length)return i;var s=t.segments[o],a=_t(n[r]),u=r0&&void 0===a)break;if(a&&u&&"object"==typeof u&&void 0===u.outlets){if(!Pt(a,u,s))return i;r+=2}else{if(!Pt(a,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function xt(t,e,n){for(var r=t.segments.slice(0,e),o=0;o0))throw new hn;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=e.matcher||s,o=r(n,t,e);if(!o)throw new hn;var i={};d(o.posParams,function(t,e){i[e]=t.path});var a=o.consumed.length>0?Object.assign({},i,o.consumed[o.consumed.length-1].parameters):i;return{consumedSegments:o.consumed,lastChild:o.consumed.length,parameters:a}}function kt(t){var e={};t.forEach(function(t){var n=e[t.value.outlet];if(n){var r=n.url.map(function(t){return t.toString()}).join("/"),o=t.value.url.map(function(t){return t.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+o+"'.")}e[t.value.outlet]=t.value})}function Nt(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function Mt(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Lt(t,e,n,r){if(n.length>0&&Ft(t,n,r)){var o=new We(e,Vt(t,e,r,new We(n,t.children)));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&Bt(t,n,r)){var i=new We(t.segments,Dt(t,n,r,t.children));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}var s=new We(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function Dt(t,e,n,r){for(var o={},i=0,s=n;i0)||"full"!==n.pathMatch)&&(""===n.path&&void 0===n.redirectTo)}function Ut(t){return t.outlet||He}function qt(t){return t.data||{}}function Kt(t){return t.resolve||{}}function zt(t){throw t}function Wt(t){return Object(de.of)(null)}function Gt(t){st(t.value),t.children.forEach(Gt)}function Qt(t){for(var e=t.parent;e;e=e.parent){var n=e._routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}function Zt(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e._routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}function Jt(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}function Xt(t){for(var e=0;e0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return P(this)},t}(),Ge=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=r(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return I(this)},t}(),Qe=function(){function t(){}return t.prototype.parse=function(t){},t.prototype.serialize=function(t){},t}(),Ze=function(){function t(){}return t.prototype.parse=function(t){var e=new tn(t);return new ze(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){return"/"+j(t.root,!0)+N(t.queryParams)+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),Je=new Ze,Xe=/^[^\/()?;=&#]+/,Ye=/^[^=?&#]+/,$e=/^[^?&#]+/,tn=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new We([],{}):new We([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURI(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[He]=new We(t,e)),n},t.prototype.parseSegment=function(){var t=M(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new Ge(R(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=M(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=M(this.remaining);r&&(n=r,this.capture(n))}t[R(e)]=R(n)}},t.prototype.parseQueryParam=function(t){var e=L(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=D(this.remaining);r&&(n=r,this.capture(n))}var o=R(e),i=R(n);if(t.hasOwnProperty(o)){var s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=M(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=He);var i=this.parseChildren();e[o]=1===Object.keys(i).length?i[He]:new We([],i),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),en=function(){function t(t){this.segmentGroup=t||null}return t}(),nn=function(){function t(t){this.urlTree=t}return t}(),rn=function(){function t(t,e,n,r,o){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(le.NgModuleRef)}return t.prototype.apply=function(){var t=this,e=this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,He),n=ge.map.call(e,function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)});return Ce._catch.call(n,function(e){if(e instanceof nn)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof en)throw t.noMatchError(e);throw e})},t.prototype.match=function(t){var e=this,n=this.expandSegmentGroup(this.ngModule,this.config,t.root,He),r=ge.map.call(n,function(n){return e.createUrlTree(n,t.queryParams,t.fragment)});return Ce._catch.call(r,function(t){if(t instanceof en)throw e.noMatchError(t);throw t})},t.prototype.noMatchError=function(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")},t.prototype.createUrlTree=function(t,e,n){var r=t.segments.length>0?new We([],(o={},o[He]=t,o)):t;return new ze(r,e,n);var o},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?ge.map.call(this.expandChildren(t,e,n),function(t){return new We([],t)}):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(t,e,n){var r=this;return y(n.children,function(n,o){return r.expandSegmentGroup(t,e,o,n)})},t.prototype.expandSegment=function(t,e,n,r,o,i){var s=this,a=de.of.apply(void 0,n),u=ge.map.call(a,function(a){var u=s.expandSegmentAgainstRoute(t,e,n,a,r,o,i);return Ce._catch.call(u,function(t){if(t instanceof en)return Object(de.of)(null);throw t})}),c=Se.concatAll.call(u),l=me.first.call(c,function(t){return!!t});return Ce._catch.call(l,function(t,n){if(t instanceof xe.EmptyError){if(s.noLeftoversInUrl(e,r,o))return Object(de.of)(new We([],{}));throw new en(e)}throw t})},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,o,i,s){return Y(r)!==i?V(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i):V(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,r){var o=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?F(i):_e.mergeMap.call(this.lineralizeSegments(n,i),function(n){var i=new We(n,{});return o.expandSegment(t,i,e,n,r,!1)})},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){var s=this,a=K(e,r,o),u=a.matched,c=a.consumedSegments,l=a.lastChild,p=a.positionalParamSegments;if(!u)return V(e);var f=this.applyRedirectCommands(c,r.redirectTo,p);return r.redirectTo.startsWith("/")?F(f):_e.mergeMap.call(this.lineralizeSegments(r,f),function(r){return s.expandSegment(t,e,n,r.concat(o.slice(l)),i,!1)})},t.prototype.matchSegmentAgainstRoute=function(t,e,n,r){var o=this;if("**"===n.path)return n.loadChildren?ge.map.call(this.configLoader.load(t.injector,n),function(t){return n._loadedConfig=t,new We(r,{})}):Object(de.of)(new We(r,{}));var i=K(e,n,r),s=i.matched,a=i.consumedSegments,u=i.lastChild;if(!s)return V(e);var c=r.slice(u),l=this.getChildConfig(t,n);return _e.mergeMap.call(l,function(t){var n=t.module,r=t.routes,i=z(e,a,c,r),s=i.segmentGroup,u=i.slicedSegments;if(0===u.length&&s.hasChildren()){var l=o.expandChildren(n,r,s);return ge.map.call(l,function(t){return new We(a,t)})}if(0===r.length&&0===u.length)return Object(de.of)(new We(a,{}));var p=o.expandSegment(n,s,r,u,He,!0);return ge.map.call(p,function(t){return new We(a.concat(t.segments),t.children)})})},t.prototype.getChildConfig=function(t,e){var n=this;return e.children?Object(de.of)(new Ke(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(de.of)(e._loadedConfig):_e.mergeMap.call(q(t.injector,e),function(r){return r?ge.map.call(n.configLoader.load(t.injector,e),function(t){return e._loadedConfig=t,t}):H(e)}):Object(de.of)(new Ke([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(de.of)(n);if(r.numberOfChildren>1||!r.children[He])return B(t.redirectTo);r=r.children[He]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var o=this.createSegmentGroup(t,e.root,n,r);return new ze(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return d(t,function(t,r){if("string"==typeof t&&t.startsWith(":")){var o=t.substring(1);n[r]=e[o]}else n[r]=t}),n},t.prototype.createSegmentGroup=function(t,e,n,r){var o=this,i=this.createSegments(t,e.segments,n,r),s={};return d(e.children,function(e,i){s[i]=o.createSegmentGroup(t,e,n,r)}),new We(i,s)},t.prototype.createSegments=function(t,e,n,r){var o=this;return e.map(function(e){return e.path.startsWith(":")?o.findPosParam(t,e,r):o.findOrReturn(e,n)})},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){for(var n=0,r=0,o=e;r1?e[e.length-2]:null},t.prototype.children=function(t){var e=$(t,this._root);return e?e.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var e=$(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=tt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})},t.prototype.pathFromRoot=function(t){return tt(t,this._root).map(function(t){return t.value})},t}(),sn=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}(),an=function(t){function e(e,n){var r=t.call(this,e)||this;return r.snapshot=n,ot(r,e),r}return ue.a(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(on),un=function(){function t(t,e,n,r,o,i,s,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=s,this._futureSnapshot=a}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=ge.map.call(this.params,function(t){return r(t)})),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=ge.map.call(this.queryParams,function(t){return r(t)})),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}(),cn=function(){function t(t,e,n,r,o,i,s,a,u,c,l){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=s,this._routeConfig=a,this._urlSegment=u,this._lastPathIndex=c,this._resolve=l}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=r(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=r(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map(function(t){return t.toString()}).join("/")+"', path:'"+(this._routeConfig?this._routeConfig.path:"")+"')"},t}(),ln=function(t){function e(e,n){var r=t.call(this,n)||this;return r.url=e,ot(r,n),r}return ue.a(e,t),e.prototype.toString=function(){return it(this._root)},e}(on),pn=function(){function t(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&dt(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(t){return"object"==typeof t&&null!=t&&t.outlets});if(r&&r!==h(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),fn=function(){function t(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}return t}(),hn=function(){function t(){}return t}(),dn=function(){function t(t,e,n,r){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r}return t.prototype.recognize=function(){try{var t=Lt(this.urlTree.root,[],[],this.config).segmentGroup,e=this.processSegmentGroup(this.config,t,He),n=new cn([],Object.freeze({}),Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,{},He,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new sn(n,e),o=new ln(this.url,r);return this.inheritParamsAndData(o._root),Object(de.of)(o)}catch(t){return new Oe.Observable(function(e){return e.error(t)})}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=rt(n);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n=this,r=T(e,function(e,r){return n.processSegmentGroup(t,e,r)});return kt(r),At(r),r},t.prototype.processSegment=function(t,e,n,r){for(var o=0,i=t;o0?h(n).parameters:{},i=new cn(n,o,Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,qt(t),r,t.component,t,Nt(e),Mt(e)+n.length,Kt(t));return[new sn(i,[])]}var s=It(e,t,n),a=s.consumedSegments,u=s.parameters,c=s.lastChild,l=n.slice(c),p=Rt(t),f=Lt(e,a,l,p),d=f.segmentGroup,y=f.slicedSegments,v=new cn(a,u,Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,qt(t),r,t.component,t,Nt(e),Mt(e)+a.length,Kt(t));if(0===y.length&&d.hasChildren()){var m=this.processChildren(p,d);return[new sn(v,m)]}if(0===p.length&&0===y.length)return[new sn(v,[])];var b=this.processSegment(p,d,y,He);return[new sn(v,b)]},t}(),yn=function(){function t(){}return t.prototype.shouldDetach=function(t){},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){},t.prototype.retrieve=function(t){},t.prototype.shouldReuseRoute=function(t,e){},t}(),vn=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),mn=new le.InjectionToken("ROUTES"),bn=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(t,e){var n=this;this.onLoadStartListener&&this.onLoadStartListener(e);var r=this.loadModuleFactory(e.loadChildren);return ge.map.call(r,function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var o=r.create(t);return new Ke(f(o.injector.get(mn)),o)})},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?Object(Ee.fromPromise)(this.loader.load(t)):_e.mergeMap.call(m(t()),function(t){return t instanceof le.NgModuleFactory?Object(de.of)(t):Object(Ee.fromPromise)(e.compiler.compileModuleAsync(t))})},t}(),gn=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){},t.prototype.extract=function(t){},t.prototype.merge=function(t,e){},t}(),_n=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}(),wn=function(){function t(t,e,n,r,o,i,s,a){var u=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=a,this.navigations=new pe.BehaviorSubject(null),this.routerEvents=new fe.Subject,this.navigationId=0,this.errorHandler=zt,this.navigated=!1,this.hooks={beforePreactivation:Wt,afterPreactivation:Wt},this.urlHandlingStrategy=new _n,this.routeReuseStrategy=new vn;var c=function(t){return u.triggerEvent(new Me(t))},l=function(t){return u.triggerEvent(new Le(t))};this.ngModule=o.get(le.NgModuleRef),this.resetConfig(a),this.currentUrlTree=b(),this.rawUrlTree=this.currentUrlTree,this.configLoader=new bn(i,s,c,l),this.currentRouterState=et(this.currentUrlTree,this.rootComponentType),this.processNavigations()}return t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.currentRouterState.root.component=this.rootComponentType},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(Zone.current.wrap(function(e){var n=t.urlSerializer.parse(e.url),r="popstate"===e.type?"popstate":"hashchange";setTimeout(function(){t.scheduleNavigation(n,r,{replaceUrl:!0})},0)})))},Object.defineProperty(t.prototype,"routerState",{get:function(){return this.currentRouterState},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"events",{get:function(){return this.routerEvents},enumerable:!0,configurable:!0}),t.prototype.triggerEvent=function(t){this.routerEvents.next(t)},t.prototype.resetConfig=function(t){a(t),this.config=t,this.navigated=!1},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},t.prototype.createUrlTree=function(t,e){void 0===e&&(e={});var n=e.relativeTo,r=e.queryParams,o=e.fragment,i=e.preserveQueryParams,s=e.queryParamsHandling,a=e.preserveFragment;Object(le.isDevMode)()&&i&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var u=n||this.routerState.root,c=a?this.currentUrlTree.fragment:o,l=null;if(s)switch(s){case"merge":l=Object.assign({},this.currentUrlTree.queryParams,r);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=r||null}else l=i?this.currentUrlTree.queryParams:r||null;return ht(u,this.currentUrlTree,t,l,c)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1});var n=t instanceof ze?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),Xt(t),"object"==typeof e.queryParams&&null!==e.queryParams&&(e.queryParams=this.removeEmptyProps(e.queryParams)),this.navigateByUrl(this.createUrlTree(t,e),e)},t.prototype.serializeUrl=function(t){return this.urlSerializer.serialize(t)},t.prototype.parseUrl=function(t){return this.urlSerializer.parse(t)},t.prototype.isActive=function(t,e){if(t instanceof ze)return g(this.currentUrlTree,t,e);var n=this.urlSerializer.parse(t);return g(this.currentUrlTree,n,e)},t.prototype.removeEmptyProps=function(t){return Object.keys(t).reduce(function(e,n){var r=t[n];return null!==r&&void 0!==r&&(e[n]=r),e},{})},t.prototype.processNavigations=function(){var t=this;ye.concatMap.call(this.navigations,function(e){return e?(t.executeScheduledNavigation(e),e.promise.catch(function(){})):Object(de.of)(null)}).subscribe(function(){})},t.prototype.scheduleNavigation=function(t,e,n){var r=this.navigations.value;if(r&&"imperative"!==e&&"imperative"===r.source&&r.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(r&&"hashchange"==e&&"popstate"===r.source&&r.rawUrl.toString()===t.toString())return Promise.resolve(!0);var o=null,i=null,s=new Promise(function(t,e){o=t,i=e}),a=++this.navigationId;return this.navigations.next({id:a,source:e,rawUrl:t,extras:n,resolve:o,reject:i,promise:s}),s.catch(function(t){return Promise.reject(t)})},t.prototype.executeScheduledNavigation=function(t){var e=this,n=t.id,r=t.rawUrl,o=t.extras,i=t.resolve,s=t.reject,a=this.urlHandlingStrategy.extract(r),u=!this.navigated||a.toString()!==this.currentUrlTree.toString();u&&this.urlHandlingStrategy.shouldProcessUrl(r)?(this.routerEvents.next(new Ae(n,this.serializeUrl(a))),Promise.resolve().then(function(t){return e.runNavigate(a,r,!!o.skipLocationChange,!!o.replaceUrl,n,null)}).then(i,s)):u&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)?(this.routerEvents.next(new Ae(n,this.serializeUrl(a))),Promise.resolve().then(function(t){return e.runNavigate(a,r,!1,!1,n,et(a,e.rootComponentType).snapshot)}).then(i,s)):(this.rawUrlTree=r,i(null))},t.prototype.runNavigate=function(t,e,n,r,o,s){var a=this;return o!==this.navigationId?(this.location.go(this.urlSerializer.serialize(this.currentUrlTree)),this.routerEvents.next(new Ie(o,this.serializeUrl(t),"Navigation ID "+o+" is not equal to the current navigation id "+this.navigationId)),Promise.resolve(!1)):new Promise(function(u,c){var l;if(s)l=Object(de.of)({appliedUrl:t,snapshot:s});else{var p=a.ngModule.injector,f=U(p,a.configLoader,a.urlSerializer,t,a.config);l=_e.mergeMap.call(f,function(e){return ge.map.call(jt(a.rootComponentType,a.config,e,a.serializeUrl(e)),function(n){return a.routerEvents.next(new Ne(o,a.serializeUrl(t),a.serializeUrl(e),n)),{appliedUrl:e,snapshot:n}})})}var h,d,y=_e.mergeMap.call(l,function(t){return ge.map.call(a.hooks.beforePreactivation(t.snapshot),function(){return t})}),v=ge.map.call(y,function(t){var e=t.appliedUrl,n=t.snapshot,r=a.ngModule.injector;return h=new Sn(n,a.currentRouterState.snapshot,r),h.traverse(a.rootContexts),{appliedUrl:e,snapshot:n}}),m=_e.mergeMap.call(v,function(e){var n=e.appliedUrl,r=e.snapshot;return a.navigationId!==o?Object(de.of)(!1):(a.triggerEvent(new De(o,a.serializeUrl(t),n,r)),ge.map.call(h.checkGuards(),function(e){return a.triggerEvent(new Ve(o,a.serializeUrl(t),n,r,e)),{appliedUrl:n,snapshot:r,shouldActivate:e}}))}),b=_e.mergeMap.call(m,function(e){return a.navigationId!==o?Object(de.of)(!1):e.shouldActivate&&h.isActivating()?(a.triggerEvent(new Fe(o,a.serializeUrl(t),e.appliedUrl,e.snapshot)),ge.map.call(h.resolveData(),function(){return a.triggerEvent(new Be(o,a.serializeUrl(t),e.appliedUrl,e.snapshot)),e})):Object(de.of)(e)}),g=_e.mergeMap.call(b,function(t){return ge.map.call(a.hooks.afterPreactivation(t.snapshot),function(){return t})}),_=ge.map.call(g,function(t){var e=t.appliedUrl,n=t.snapshot,r=t.shouldActivate;if(r){return{appliedUrl:e,state:ut(a.routeReuseStrategy,n,a.currentRouterState),shouldActivate:r}}return{appliedUrl:e,state:null,shouldActivate:r}}),w=a.currentRouterState,O=a.currentUrlTree;_.forEach(function(t){var i=t.appliedUrl,s=t.state;if(!t.shouldActivate||o!==a.navigationId)return void(d=!1);if(a.currentUrlTree=i,a.rawUrlTree=a.urlHandlingStrategy.merge(a.currentUrlTree,e),a.currentRouterState=s,!n){var u=a.urlSerializer.serialize(a.rawUrlTree);a.location.isCurrentPathEqualTo(u)||r?a.location.replaceState(u):a.location.go(u)}new xn(a.routeReuseStrategy,s,w).activate(a.rootContexts),d=!0}).then(function(){d?(a.navigated=!0,a.routerEvents.next(new Re(o,a.serializeUrl(t),a.serializeUrl(a.currentUrlTree))),u(!0)):(a.resetUrlToCurrentUrlTree(),a.routerEvents.next(new Ie(o,a.serializeUrl(t),"")),u(!1))},function(n){if(i(n))a.resetUrlToCurrentUrlTree(),a.navigated=!0,a.routerEvents.next(new Ie(o,a.serializeUrl(t),n.message)),u(!1);else{a.routerEvents.next(new ke(o,a.serializeUrl(t),n));try{u(a.errorHandler(n))}catch(t){c(t)}}a.currentRouterState=w,a.currentUrlTree=O,a.rawUrlTree=a.urlHandlingStrategy.merge(a.currentUrlTree,e),a.location.replaceState(a.serializeUrl(a.rawUrlTree))})})},t.prototype.resetUrlToCurrentUrlTree=function(){var t=this.urlSerializer.serialize(this.rawUrlTree);this.location.replaceState(t)},t}(),On=function(){function t(t){this.path=t}return Object.defineProperty(t.prototype,"route",{get:function(){return this.path[this.path.length-1]},enumerable:!0,configurable:!0}),t}(),Cn=function(){function t(t,e){this.component=t,this.route=e}return t}(),Sn=function(){function t(t,e,n){this.future=t,this.curr=e,this.moduleInjector=n,this.canActivateChecks=[],this.canDeactivateChecks=[]}return t.prototype.traverse=function(t){var e=this.future._root,n=this.curr?this.curr._root:null;this.traverseChildRoutes(e,n,t,[e.value])},t.prototype.checkGuards=function(){var t=this;if(!this.isDeactivating()&&!this.isActivating())return Object(de.of)(!0);var e=this.runCanDeactivateChecks();return _e.mergeMap.call(e,function(e){return e?t.runCanActivateChecks():Object(de.of)(!1)})},t.prototype.resolveData=function(){var t=this;if(!this.isActivating())return Object(de.of)(null);var e=Object(he.from)(this.canActivateChecks),n=ye.concatMap.call(e,function(e){return t.runResolve(e.route)});return we.reduce.call(n,function(t,e){return t})},t.prototype.isDeactivating=function(){return 0!==this.canDeactivateChecks.length},t.prototype.isActivating=function(){return 0!==this.canActivateChecks.length},t.prototype.traverseChildRoutes=function(t,e,n,r){var o=this,i=Jt(e);t.children.forEach(function(t){o.traverseRoutes(t,i[t.value.outlet],n,r.concat([t.value])),delete i[t.value.outlet]}),d(i,function(t,e){return o.deactivateRouteAndItsChildren(t,n.getContext(e))})},t.prototype.traverseRoutes=function(t,e,n,r){var o=t.value,i=e?e.value:null,s=n?n.getContext(t.value.outlet):null;if(i&&o._routeConfig===i._routeConfig){var a=this.shouldRunGuardsAndResolvers(i,o,o._routeConfig.runGuardsAndResolvers);if(a?this.canActivateChecks.push(new On(r)):(o.data=i.data,o._resolvedData=i._resolvedData),o.component?this.traverseChildRoutes(t,e,s?s.children:null,r):this.traverseChildRoutes(t,e,n,r),a){var u=s.outlet;this.canDeactivateChecks.push(new Cn(u.component,i))}}else i&&this.deactivateRouteAndItsChildren(e,s),this.canActivateChecks.push(new On(r)),o.component?this.traverseChildRoutes(t,null,s?s.children:null,r):this.traverseChildRoutes(t,null,n,r)},t.prototype.shouldRunGuardsAndResolvers=function(t,e,n){switch(n){case"always":return!0;case"paramsOrQueryParamsChange":return!at(t,e)||!p(t.queryParams,e.queryParams);case"paramsChange":default:return!at(t,e)}},t.prototype.deactivateRouteAndItsChildren=function(t,e){var n=this,r=Jt(t),o=t.value;d(r,function(t,r){o.component?e?n.deactivateRouteAndItsChildren(t,e.children.getContext(r)):n.deactivateRouteAndItsChildren(t,null):n.deactivateRouteAndItsChildren(t,e)}),o.component&&e&&e.outlet&&e.outlet.isActivated?this.canDeactivateChecks.push(new Cn(e.outlet.component,o)):this.canDeactivateChecks.push(new Cn(null,o))},t.prototype.runCanDeactivateChecks=function(){var t=this,e=Object(he.from)(this.canDeactivateChecks),n=_e.mergeMap.call(e,function(e){return t.runCanDeactivate(e.component,e.route)});return ve.every.call(n,function(t){return!0===t})},t.prototype.runCanActivateChecks=function(){var t=this,e=Object(he.from)(this.canActivateChecks),n=ye.concatMap.call(e,function(e){return v(Object(he.from)([t.runCanActivateChild(e.path),t.runCanActivate(e.route)]))});return ve.every.call(n,function(t){return!0===t})},t.prototype.runCanActivate=function(t){var e=this,n=t._routeConfig?t._routeConfig.canActivate:null;return n&&0!==n.length?v(ge.map.call(Object(he.from)(n),function(n){var r,o=e.getToken(n,t);return r=m(o.canActivate?o.canActivate(t,e.future):o(t,e.future)),me.first.call(r)})):Object(de.of)(!0)},t.prototype.runCanActivateChild=function(t){var e=this,n=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(function(t){return e.extractCanActivateChild(t)}).filter(function(t){return null!==t});return v(ge.map.call(Object(he.from)(r),function(t){return v(ge.map.call(Object(he.from)(t.guards),function(r){var o,i=e.getToken(r,t.node);return o=m(i.canActivateChild?i.canActivateChild(n,e.future):i(n,e.future)),me.first.call(o)}))}))},t.prototype.extractCanActivateChild=function(t){var e=t._routeConfig?t._routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null},t.prototype.runCanDeactivate=function(t,e){var n=this,r=e&&e._routeConfig?e._routeConfig.canDeactivate:null;if(!r||0===r.length)return Object(de.of)(!0);var o=_e.mergeMap.call(Object(he.from)(r),function(r){var o,i=n.getToken(r,e);return o=m(i.canDeactivate?i.canDeactivate(t,e,n.curr,n.future):i(t,e,n.curr,n.future)),me.first.call(o)});return ve.every.call(o,function(t){return!0===t})},t.prototype.runResolve=function(t){var e=t._resolve;return ge.map.call(this.resolveNode(e,t),function(e){return t._resolvedData=e,t.data=Object.assign({},t.data,rt(t).resolve),null})},t.prototype.resolveNode=function(t,e){var n=this,r=Object.keys(t);if(0===r.length)return Object(de.of)({});if(1===r.length){var o=r[0];return ge.map.call(this.getResolver(t[o],e),function(t){return e={},e[o]=t,e;var e})}var i={},s=_e.mergeMap.call(Object(he.from)(r),function(r){return ge.map.call(n.getResolver(t[r],e),function(t){return i[r]=t,t})});return ge.map.call(be.last.call(s),function(){return i})},t.prototype.getResolver=function(t,e){var n=this.getToken(t,e);return m(n.resolve?n.resolve(e,this.future):n(e,this.future))},t.prototype.getToken=function(t,e){var n=Zt(e);return(n?n.module.injector:this.moduleInjector).get(t)},t}(),xn=function(){function t(t,e,n){this.routeReuseStrategy=t,this.futureState=e,this.currState=n}return t.prototype.activate=function(t){var e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),st(this.futureState.root),this.activateChildRoutes(e,n,t)},t.prototype.deactivateChildRoutes=function(t,e,n){var r=this,o=Jt(e);t.children.forEach(function(t){var e=t.value.outlet;r.deactivateRoutes(t,o[e],n),delete o[e]}),d(o,function(t,e){r.deactivateRouteAndItsChildren(t,n)})},t.prototype.deactivateRoutes=function(t,e,n){var r=t.value,o=e?e.value:null;if(r===o)if(r.component){var i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)},t.prototype.deactivateRouteAndItsChildren=function(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)},t.prototype.detachAndStoreRouteSubtree=function(t,e){var n=e.getContext(t.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),o=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:r,route:t,contexts:o})}},t.prototype.deactivateRouteAndOutlet=function(t,e){var n=this,r=e.getContext(t.value.outlet);if(r){var o=Jt(t),i=t.value.component?r.children:e;d(o,function(t,e){return n.deactivateRouteAndItsChildren(t,i)}),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}},t.prototype.activateChildRoutes=function(t,e,n){var r=this,o=Jt(e);t.children.forEach(function(t){r.activateRoutes(t,o[t.value.outlet],n)})},t.prototype.activateRoutes=function(t,e,n){var r=t.value,o=e?e.value:null;if(st(r),r===o)if(r.component){var i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,i.children)}else this.activateChildRoutes(t,e,n);else if(r.component){var i=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){var s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),i.children.onOutletReAttached(s.contexts),i.attachRef=s.componentRef,i.route=s.route.value,i.outlet&&i.outlet.attach(s.componentRef,s.route.value),Gt(s.route)}else{var a=Qt(r.snapshot),u=a?a.module.componentFactoryResolver:null;i.route=r,i.resolver=u,i.outlet&&i.outlet.activateWith(r,u),this.activateChildRoutes(t,null,i.children)}}else this.activateChildRoutes(t,null,n)},t}(),En=function(){function t(t,e,n,r,o){this.router=t,this.route=e,this.commands=[],null==n&&r.setAttribute(o.nativeElement,"tabindex","0")}return Object.defineProperty(t.prototype,"routerLink",{set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preserveQueryParams",{set:function(t){Object(le.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t},enumerable:!0,configurable:!0}),t.prototype.onClick=function(){var t={skipLocationChange:Yt(this.skipLocationChange),replaceUrl:Yt(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,t),!0},Object.defineProperty(t.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Yt(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Yt(this.preserveFragment)})},enumerable:!0,configurable:!0}),t}();En.decorators=[{type:le.Directive,args:[{selector:":not(a)[routerLink]"}]}],En.ctorParameters=function(){return[{type:wn},{type:un},{type:void 0,decorators:[{type:le.Attribute,args:["tabindex"]}]},{type:le.Renderer2},{type:le.ElementRef}]},En.propDecorators={queryParams:[{type:le.Input}],fragment:[{type:le.Input}],queryParamsHandling:[{type:le.Input}],preserveFragment:[{type:le.Input}],skipLocationChange:[{type:le.Input}],replaceUrl:[{type:le.Input}],routerLink:[{type:le.Input}],preserveQueryParams:[{type:le.Input}],onClick:[{type:le.HostListener,args:["click"]}]};var Tn=function(){function t(t,e,n){var r=this;this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(function(t){t instanceof Re&&r.updateTargetUrlAndHref()})}return Object.defineProperty(t.prototype,"routerLink",{set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preserveQueryParams",{set:function(t){Object(le.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this.updateTargetUrlAndHref()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.onClick=function(t,e,n,r){if(0!==t||e||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var o={skipLocationChange:Yt(this.skipLocationChange),replaceUrl:Yt(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,o),!1},t.prototype.updateTargetUrlAndHref=function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))},Object.defineProperty(t.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Yt(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Yt(this.preserveFragment)})},enumerable:!0,configurable:!0}),t}();Tn.decorators=[{type:le.Directive,args:[{selector:"a[routerLink]"}]}],Tn.ctorParameters=function(){return[{type:wn},{type:un},{type:ce.LocationStrategy}]},Tn.propDecorators={target:[{type:le.HostBinding,args:["attr.target"]},{type:le.Input}],queryParams:[{type:le.Input}],fragment:[{type:le.Input}],queryParamsHandling:[{type:le.Input}],preserveFragment:[{type:le.Input}],skipLocationChange:[{type:le.Input}],replaceUrl:[{type:le.Input}],href:[{type:le.HostBinding}],routerLink:[{type:le.Input}],preserveQueryParams:[{type:le.Input}],onClick:[{type:le.HostListener,args:["click",["$event.button","$event.ctrlKey","$event.metaKey","$event.shiftKey"]]}]};var Pn=function(){function t(t,e,n,r){var o=this;this.router=t,this.element=e,this.renderer=n,this.cdr=r,this.classes=[],this.active=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=t.events.subscribe(function(t){t instanceof Re&&o.update()})}return Object.defineProperty(t.prototype,"isActive",{get:function(){return this.active},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var t=this;this.links.changes.subscribe(function(e){return t.update()}),this.linksWithHrefs.changes.subscribe(function(e){return t.update()}),this.update()},Object.defineProperty(t.prototype,"routerLinkActive",{set:function(t){var e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(function(t){return!!t})},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this.update()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.update=function(){var t=this;if(this.links&&this.linksWithHrefs&&this.router.navigated){var e=this.hasActiveLinks();this.active!==e&&(this.classes.forEach(function(n){e?t.renderer.addClass(t.element.nativeElement,n):t.renderer.removeClass(t.element.nativeElement,n)}),Promise.resolve(e).then(function(e){return t.active=e}))}},t.prototype.isLinkActive=function(t){var e=this;return function(n){return t.isActive(n.urlTree,e.routerLinkActiveOptions.exact)}},t.prototype.hasActiveLinks=function(){return this.links.some(this.isLinkActive(this.router))||this.linksWithHrefs.some(this.isLinkActive(this.router))},t}();Pn.decorators=[{type:le.Directive,args:[{selector:"[routerLinkActive]",exportAs:"routerLinkActive"}]}],Pn.ctorParameters=function(){return[{type:wn},{type:le.ElementRef},{type:le.Renderer2},{type:le.ChangeDetectorRef}]},Pn.propDecorators={links:[{type:le.ContentChildren,args:[En,{descendants:!0}]}],linksWithHrefs:[{type:le.ContentChildren,args:[Tn,{descendants:!0}]}],routerLinkActiveOptions:[{type:le.Input}],routerLinkActive:[{type:le.Input}]};var jn=function(){function t(){this.outlet=null,this.route=null,this.resolver=null,this.children=new An,this.attachRef=null}return t}(),An=function(){function t(){this.contexts=new Map}return t.prototype.onChildOutletCreated=function(t,e){var n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)},t.prototype.onChildOutletDestroyed=function(t){var e=this.getContext(t);e&&(e.outlet=null)},t.prototype.onOutletDeactivated=function(){var t=this.contexts;return this.contexts=new Map,t},t.prototype.onOutletReAttached=function(t){this.contexts=t},t.prototype.getOrCreateContext=function(t){var e=this.getContext(t);return e||(e=new jn,this.contexts.set(t,e)),e},t.prototype.getContext=function(t){return this.contexts.get(t)||null},t}(),Rn=function(){function t(t,e,n,r,o){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new le.EventEmitter,this.deactivateEvents=new le.EventEmitter,this.name=r||He,t.onChildOutletCreated(this.name,this)}return t.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},t.prototype.ngOnInit=function(){if(!this.activated){var t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}},Object.defineProperty(t.prototype,"locationInjector",{get:function(){return this.location.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"locationFactoryResolver",{get:function(){return this.resolver},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),t.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var t=this.activated;return this.activated=null,this._activatedRoute=null,t},t.prototype.attach=function(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)},t.prototype.deactivate=function(){if(this.activated){var t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}},t.prototype.activateWith=function(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;var n=t._futureSnapshot,r=n._routeConfig.component;e=e||this.resolver;var o=e.resolveComponentFactory(r),i=this.parentContexts.getOrCreateContext(this.name).children,s=new In(t,i,this.location.injector);this.activated=this.location.createComponent(o,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},t}();Rn.decorators=[{type:le.Directive,args:[{selector:"router-outlet",exportAs:"outlet"}]}],Rn.ctorParameters=function(){return[{type:An},{type:le.ViewContainerRef},{type:le.ComponentFactoryResolver},{type:void 0,decorators:[{type:le.Attribute,args:["name"]}]},{type:le.ChangeDetectorRef}]},Rn.propDecorators={activateEvents:[{type:le.Output,args:["activate"]}],deactivateEvents:[{type:le.Output,args:["deactivate"]}]};var In=function(){function t(t,e,n){this.route=t,this.childContexts=e,this.parent=n}return t.prototype.get=function(t,e){return t===un?this.route:t===An?this.childContexts:this.parent.get(t,e)},t}(),kn=function(){function t(){}return t.prototype.preload=function(t,e){},t}(),Nn=function(){function t(){}return t.prototype.preload=function(t,e){return Ce._catch.call(e(),function(){return Object(de.of)(null)})},t}(),Mn=function(){function t(){}return t.prototype.preload=function(t,e){return Object(de.of)(null)},t}(),Ln=function(){function t(t,e,n,r,o){this.router=t,this.injector=r,this.preloadingStrategy=o;var i=function(e){return t.triggerEvent(new Me(e))},s=function(e){return t.triggerEvent(new Le(e))};this.loader=new bn(e,n,i,s)}return t.prototype.setUpPreloading=function(){var t=this,e=je.filter.call(this.router.events,function(t){return t instanceof Re});this.subscription=ye.concatMap.call(e,function(){return t.preload()}).subscribe(function(){})},t.prototype.preload=function(){var t=this.injector.get(le.NgModuleRef);return this.processRoutes(t,this.router.config)},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.processRoutes=function(t,e){for(var n=[],r=0,o=e;r0){t.split("&").forEach(function(t){var n=t.indexOf("="),r=-1==n?[t,""]:[t.slice(0,n),t.slice(n+1)],o=r[0],i=r[1],s=e.get(o)||[];s.push(i),e.set(o,s)})}return e}function a(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}function u(){var t="object"==typeof window?window:{};return null===D&&(D=t[L]={}),D}function c(t){var e=new I;return Object.keys(t).forEach(function(n){var r=t[n];r&&Array.isArray(r)?r.forEach(function(t){return e.append(n,t.toString())}):e.append(n,r.toString())}),e}function l(t,e){return t.createConnection(e).response}function p(t,e,n,r){var o=t;return e?o.merge(new Z({method:e.method||n,url:e.url||r,search:e.search,params:e.params,headers:e.headers,body:e.body,withCredentials:e.withCredentials,responseType:e.responseType})):o.merge(new Z({method:n,url:r}))}function f(){return new G}function h(t,e){return new rt(t,e)}function d(t,e){return new ot(t,e)}n.d(e,"c",function(){return g}),n.d(e,"g",function(){return q}),n.d(e,"n",function(){return Q}),n.d(e,"a",function(){return J}),n.d(e,"j",function(){return Z}),n.d(e,"b",function(){return T}),n.d(e,"l",function(){return E}),n.d(e,"k",function(){return S}),n.d(e,"d",function(){return x}),n.d(e,"e",function(){return rt}),n.d(e,"h",function(){return ot}),n.d(e,"f",function(){return it}),n.d(e,"i",function(){return st}),n.d(e,"o",function(){return j}),n.d(e,"m",function(){return I}),n.d(e,"t",function(){return V}),n.d(e,"p",function(){return K}),n.d(e,"q",function(){return f}),n.d(e,"r",function(){return h}),n.d(e,"s",function(){return d});var y=n("6Xbx"),v=n("/oeL"),m=n("bKpL"),b=(n.n(m),n("fc+i")),g=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}();g.decorators=[{type:v.Injectable}],g.ctorParameters=function(){return[]};var _={};_.Get=0,_.Post=1,_.Put=2,_.Delete=3,_.Options=4,_.Head=5,_.Patch=6,_[_.Get]="Get",_[_.Post]="Post",_[_.Put]="Put",_[_.Delete]="Delete",_[_.Options]="Options",_[_.Head]="Head",_[_.Patch]="Patch";var w={};w.Unsent=0,w.Open=1,w.HeadersReceived=2,w.Loading=3,w.Done=4,w.Cancelled=5,w[w.Unsent]="Unsent",w[w.Open]="Open",w[w.HeadersReceived]="HeadersReceived",w[w.Loading]="Loading",w[w.Done]="Done",w[w.Cancelled]="Cancelled";var O={};O.Basic=0,O.Cors=1,O.Default=2,O.Error=3,O.Opaque=4,O[O.Basic]="Basic",O[O.Cors]="Cors",O[O.Default]="Default",O[O.Error]="Error",O[O.Opaque]="Opaque";var C={};C.NONE=0,C.JSON=1,C.FORM=2,C.FORM_DATA=3,C.TEXT=4,C.BLOB=5,C.ARRAY_BUFFER=6,C[C.NONE]="NONE",C[C.JSON]="JSON",C[C.FORM]="FORM",C[C.FORM_DATA]="FORM_DATA",C[C.TEXT]="TEXT",C[C.BLOB]="BLOB",C[C.ARRAY_BUFFER]="ARRAY_BUFFER";var S={};S.Text=0,S.Json=1,S.ArrayBuffer=2,S.Blob=3,S[S.Text]="Text",S[S.Json]="Json",S[S.ArrayBuffer]="ArrayBuffer",S[S.Blob]="Blob";var x=function(){function t(e){var n=this;if(this._headers=new Map,this._normalizedNames=new Map,e)return e instanceof t?void e.forEach(function(t,e){t.forEach(function(t){return n.append(e,t)})}):void Object.keys(e).forEach(function(t){var r=Array.isArray(e[t])?e[t]:[e[t]];n.delete(t),r.forEach(function(e){return n.append(t,e)})})}return t.fromResponseHeaderString=function(e){var n=new t;return e.split("\n").forEach(function(t){var e=t.indexOf(":");if(e>0){var r=t.slice(0,e),o=t.slice(e+1).trim();n.set(r,o)}}),n},t.prototype.append=function(t,e){var n=this.getAll(t);null===n?this.set(t,e):n.push(e)},t.prototype.delete=function(t){var e=t.toLowerCase();this._normalizedNames.delete(e),this._headers.delete(e)},t.prototype.forEach=function(t){var e=this;this._headers.forEach(function(n,r){return t(n,e._normalizedNames.get(r),e._headers)})},t.prototype.get=function(t){var e=this.getAll(t);return null===e?null:e.length>0?e[0]:null},t.prototype.has=function(t){return this._headers.has(t.toLowerCase())},t.prototype.keys=function(){return Array.from(this._normalizedNames.values())},t.prototype.set=function(t,e){Array.isArray(e)?e.length&&this._headers.set(t.toLowerCase(),[e.join(",")]):this._headers.set(t.toLowerCase(),[e]),this.mayBeSetNormalizedName(t)},t.prototype.values=function(){return Array.from(this._headers.values())},t.prototype.toJSON=function(){var t=this,e={};return this._headers.forEach(function(n,r){var o=[];n.forEach(function(t){return o.push.apply(o,t.split(","))}),e[t._normalizedNames.get(r)]=o}),e},t.prototype.getAll=function(t){return this.has(t)?this._headers.get(t.toLowerCase())||null:null},t.prototype.entries=function(){throw new Error('"entries" method is not implemented on Headers class')},t.prototype.mayBeSetNormalizedName=function(t){var e=t.toLowerCase();this._normalizedNames.has(e)||this._normalizedNames.set(e,t)},t}(),E=function(){function t(t){void 0===t&&(t={});var e=t.body,n=t.status,r=t.headers,o=t.statusText,i=t.type,s=t.url;this.body=null!=e?e:null,this.status=null!=n?n:null,this.headers=null!=r?r:null,this.statusText=null!=o?o:null,this.type=null!=i?i:null,this.url=null!=s?s:null}return t.prototype.merge=function(e){return new t({body:e&&null!=e.body?e.body:this.body,status:e&&null!=e.status?e.status:this.status,headers:e&&null!=e.headers?e.headers:this.headers,statusText:e&&null!=e.statusText?e.statusText:this.statusText,type:e&&null!=e.type?e.type:this.type,url:e&&null!=e.url?e.url:this.url})},t}(),T=function(t){function e(){return t.call(this,{status:200,statusText:"Ok",type:O.Default,headers:new x})||this}return y.a(e,t),e}(E);T.decorators=[{type:v.Injectable}],T.ctorParameters=function(){return[]};var P=function(){function t(){}return t.prototype.createConnection=function(t){},t}(),j=(function(){function t(){}}(),function(){function t(){}return t.prototype.configureRequest=function(t){},t}()),A=function(t){return t>=200&&t<300},R=function(){function t(){}return t.prototype.encodeKey=function(t){return a(t)},t.prototype.encodeValue=function(t){return a(t)},t}(),I=function(){function t(t,e){void 0===t&&(t=""),void 0===e&&(e=new R),this.rawParams=t,this.queryEncoder=e,this.paramsMap=s(t)}return t.prototype.clone=function(){var e=new t("",this.queryEncoder);return e.appendAll(this),e},t.prototype.has=function(t){return this.paramsMap.has(t)},t.prototype.get=function(t){var e=this.paramsMap.get(t);return Array.isArray(e)?e[0]:null},t.prototype.getAll=function(t){return this.paramsMap.get(t)||[]},t.prototype.set=function(t,e){if(void 0===e||null===e)return void this.delete(t);var n=this.paramsMap.get(t)||[];n.length=0,n.push(e),this.paramsMap.set(t,n)},t.prototype.setAll=function(t){var e=this;t.paramsMap.forEach(function(t,n){var r=e.paramsMap.get(n)||[];r.length=0,r.push(t[0]),e.paramsMap.set(n,r)})},t.prototype.append=function(t,e){if(void 0!==e&&null!==e){var n=this.paramsMap.get(t)||[];n.push(e),this.paramsMap.set(t,n)}},t.prototype.appendAll=function(t){var e=this;t.paramsMap.forEach(function(t,n){for(var r=e.paramsMap.get(n)||[],o=0;o=200&&n.status<=299,n.statusText=e.statusText,n.headers=e.headers,n.type=e.type,n.url=e.url,n}return y.a(e,t),e.prototype.toString=function(){return"Response with status: "+this.status+" "+this.statusText+" for URL: "+this.url},e}(k),M=0,L="__ng_jsonp__",D=null,V=function(){function t(){}return t.prototype.build=function(t){var e=document.createElement("script");return e.src=t,e},t.prototype.nextRequestID=function(){return"__req"+M++},t.prototype.requestCallback=function(t){return L+"."+t+".finished"},t.prototype.exposeConnection=function(t,e){u()[t]=e},t.prototype.removeConnection=function(t){u()[t]=null},t.prototype.send=function(t){document.body.appendChild(t)},t.prototype.cleanup=function(t){t.parentNode&&t.parentNode.removeChild(t)},t}();V.decorators=[{type:v.Injectable}],V.ctorParameters=function(){return[]};var F="JSONP injected script did not invoke callback.",B="JSONP requests must use GET request method.",H=function(){function t(){}return t.prototype.finished=function(t){},t}(),U=function(t){function e(e,n,r){var o=t.call(this)||this;if(o._dom=n,o.baseResponseOptions=r,o._finished=!1,e.method!==_.Get)throw new TypeError(B);return o.request=e,o.response=new m.Observable(function(t){o.readyState=w.Loading;var i=o._id=n.nextRequestID();n.exposeConnection(i,o);var s=n.requestCallback(o._id),a=e.url;a.indexOf("=JSONP_CALLBACK&")>-1?a=a.replace("=JSONP_CALLBACK&","="+s+"&"):a.lastIndexOf("=JSONP_CALLBACK")===a.length-"=JSONP_CALLBACK".length&&(a=a.substring(0,a.length-"=JSONP_CALLBACK".length)+"="+s);var u=o._script=n.build(a),c=function(e){if(o.readyState!==w.Cancelled){if(o.readyState=w.Done,n.cleanup(u),!o._finished){var i=new E({body:F,type:O.Error,url:a});return r&&(i=r.merge(i)),void t.error(new N(i))}var s=new E({body:o._responseData,url:a});o.baseResponseOptions&&(s=o.baseResponseOptions.merge(s)),t.next(new N(s)),t.complete()}},l=function(e){if(o.readyState!==w.Cancelled){o.readyState=w.Done,n.cleanup(u);var i=new E({body:e.message,type:O.Error});r&&(i=r.merge(i)),t.error(new N(i))}};return u.addEventListener("load",c),u.addEventListener("error",l),n.send(u),function(){o.readyState=w.Cancelled,u.removeEventListener("load",c),u.removeEventListener("error",l),o._dom.cleanup(u)}}),o}return y.a(e,t),e.prototype.finished=function(t){this._finished=!0,this._dom.removeConnection(this._id),this.readyState!==w.Cancelled&&(this._responseData=t)},e}(H),q=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return y.a(e,t),e}(P),K=function(t){function e(e,n){var r=t.call(this)||this;return r._browserJSONP=e,r._baseResponseOptions=n,r}return y.a(e,t),e.prototype.createConnection=function(t){return new U(t,this._browserJSONP,this._baseResponseOptions)},e}(q);K.decorators=[{type:v.Injectable}],K.ctorParameters=function(){return[{type:V},{type:E}]};var z=/^\)\]\}',?\n/,W=function(){function t(t,e,n){var r=this;this.request=t,this.response=new m.Observable(function(i){var s=e.build();s.open(_[t.method].toUpperCase(),t.url),null!=t.withCredentials&&(s.withCredentials=t.withCredentials);var a=function(){var e=1223===s.status?204:s.status,r=null;204!==e&&"string"==typeof(r=void 0===s.response?s.responseText:s.response)&&(r=r.replace(z,"")),0===e&&(e=r?200:0);var a=x.fromResponseHeaderString(s.getAllResponseHeaders()),u=o(s)||t.url,c=s.statusText||"OK",l=new E({body:r,status:e,headers:a,statusText:c,url:u});null!=n&&(l=n.merge(l));var p=new N(l);if(p.ok=A(e),p.ok)return i.next(p),void i.complete();i.error(p)},u=function(t){var e=new E({body:t,type:O.Error,status:s.status,statusText:s.statusText});null!=n&&(e=n.merge(e)),i.error(new N(e))};if(r.setDetectedContentType(t,s),null==t.headers&&(t.headers=new x),t.headers.has("Accept")||t.headers.append("Accept","application/json, text/plain, */*"),t.headers.forEach(function(t,e){return s.setRequestHeader(e,t.join(","))}),null!=t.responseType&&null!=s.responseType)switch(t.responseType){case S.ArrayBuffer:s.responseType="arraybuffer";break;case S.Json:s.responseType="json";break;case S.Text:s.responseType="text";break;case S.Blob:s.responseType="blob";break;default:throw new Error("The selected responseType is not supported")}return s.addEventListener("load",a),s.addEventListener("error",u),s.send(r.request.getBody()),function(){s.removeEventListener("load",a),s.removeEventListener("error",u),s.abort()}})}return t.prototype.setDetectedContentType=function(t,e){if(null==t.headers||null==t.headers.get("Content-Type"))switch(t.contentType){case C.NONE:break;case C.JSON:e.setRequestHeader("content-type","application/json");break;case C.FORM:e.setRequestHeader("content-type","application/x-www-form-urlencoded;charset=UTF-8");break;case C.TEXT:e.setRequestHeader("content-type","text/plain");break;case C.BLOB:var n=t.blob();n.type&&e.setRequestHeader("content-type",n.type)}},t}(),G=function(){function t(t,e){void 0===t&&(t="XSRF-TOKEN"),void 0===e&&(e="X-XSRF-TOKEN"),this._cookieName=t,this._headerName=e}return t.prototype.configureRequest=function(t){var e=Object(b.u)().getCookie(this._cookieName);e&&t.headers.set(this._headerName,e)},t}(),Q=function(){function t(t,e,n){this._browserXHR=t,this._baseResponseOptions=e,this._xsrfStrategy=n}return t.prototype.createConnection=function(t){return this._xsrfStrategy.configureRequest(t),new W(t,this._browserXHR,this._baseResponseOptions)},t}();Q.decorators=[{type:v.Injectable}],Q.ctorParameters=function(){return[{type:g},{type:E},{type:j}]};var Z=function(){function t(t){void 0===t&&(t={});var e=t.method,n=t.headers,o=t.body,i=t.url,s=t.search,a=t.params,u=t.withCredentials,c=t.responseType;this.method=null!=e?r(e):null,this.headers=null!=n?n:null,this.body=null!=o?o:null,this.url=null!=i?i:null,this.params=this._mergeSearchParams(a||s),this.withCredentials=null!=u?u:null,this.responseType=null!=c?c:null}return Object.defineProperty(t.prototype,"search",{get:function(){return this.params},set:function(t){this.params=t},enumerable:!0,configurable:!0}),t.prototype.merge=function(e){return new t({method:e&&null!=e.method?e.method:this.method,headers:e&&null!=e.headers?e.headers:new x(this.headers),body:e&&null!=e.body?e.body:this.body,url:e&&null!=e.url?e.url:this.url,params:e&&this._mergeSearchParams(e.params||e.search),withCredentials:e&&null!=e.withCredentials?e.withCredentials:this.withCredentials,responseType:e&&null!=e.responseType?e.responseType:this.responseType})},t.prototype._mergeSearchParams=function(t){return t?t instanceof I?t.clone():"string"==typeof t?new I(t):this._parseParams(t):this.params},t.prototype._parseParams=function(t){var e=this;void 0===t&&(t={});var n=new I;return Object.keys(t).forEach(function(r){var o=t[r];Array.isArray(o)?o.forEach(function(t){return e._appendParam(r,t,n)}):e._appendParam(r,o,n)}),n},t.prototype._appendParam=function(t,e,n){"string"!=typeof e&&(e=JSON.stringify(e)),n.append(t,e)},t}(),J=function(t){function e(){return t.call(this,{method:_.Get,headers:new x})||this}return y.a(e,t),e}(Z);J.decorators=[{type:v.Injectable}],J.ctorParameters=function(){return[]};var X=function(t){function e(e){var n=t.call(this)||this,o=e.url;n.url=e.url;var i=e.params||e.search;if(i){var s=void 0;if(s="object"!=typeof i||i instanceof I?i.toString():c(i).toString(),s.length>0){var a="?";-1!=n.url.indexOf("?")&&(a="&"==n.url[n.url.length-1]?"":"&"),n.url=o+a+s}}return n._body=e.body,n.method=r(e.method),n.headers=new x(e.headers),n.contentType=n.detectContentType(),n.withCredentials=e.withCredentials,n.responseType=e.responseType,n}return y.a(e,t),e.prototype.detectContentType=function(){switch(this.headers.get("content-type")){case"application/json":return C.JSON;case"application/x-www-form-urlencoded":return C.FORM;case"multipart/form-data":return C.FORM_DATA;case"text/plain":case"text/html":return C.TEXT;case"application/octet-stream":return this._body instanceof nt?C.ARRAY_BUFFER:C.BLOB;default:return this.detectContentTypeFromBody()}},e.prototype.detectContentTypeFromBody=function(){return null==this._body?C.NONE:this._body instanceof I?C.FORM:this._body instanceof tt?C.FORM_DATA:this._body instanceof et?C.BLOB:this._body instanceof nt?C.ARRAY_BUFFER:this._body&&"object"==typeof this._body?C.JSON:C.TEXT},e.prototype.getBody=function(){switch(this.contentType){case C.JSON:case C.FORM:return this.text();case C.FORM_DATA:return this._body;case C.TEXT:return this.text();case C.BLOB:return this.blob();case C.ARRAY_BUFFER:return this.arrayBuffer();default:return null}},e}(k),Y=function(){},$="object"==typeof window?window:Y,tt=$.FormData||Y,et=$.Blob||Y,nt=$.ArrayBuffer||Y,rt=function(){function t(t,e){this._backend=t,this._defaultOptions=e}return t.prototype.request=function(t,e){var n;if("string"==typeof t)n=l(this._backend,new X(p(this._defaultOptions,e,_.Get,t)));else{if(!(t instanceof X))throw new Error("First argument must be a url string or Request instance.");n=l(this._backend,t)}return n},t.prototype.get=function(t,e){return this.request(new X(p(this._defaultOptions,e,_.Get,t)))},t.prototype.post=function(t,e,n){return this.request(new X(p(this._defaultOptions.merge(new Z({body:e})),n,_.Post,t)))},t.prototype.put=function(t,e,n){return this.request(new X(p(this._defaultOptions.merge(new Z({body:e})),n,_.Put,t)))},t.prototype.delete=function(t,e){return this.request(new X(p(this._defaultOptions,e,_.Delete,t)))},t.prototype.patch=function(t,e,n){return this.request(new X(p(this._defaultOptions.merge(new Z({body:e})),n,_.Patch,t)))},t.prototype.head=function(t,e){return this.request(new X(p(this._defaultOptions,e,_.Head,t)))},t.prototype.options=function(t,e){return this.request(new X(p(this._defaultOptions,e,_.Options,t)))},t}();rt.decorators=[{type:v.Injectable}],rt.ctorParameters=function(){return[{type:P},{type:Z}]};var ot=function(t){function e(e,n){return t.call(this,e,n)||this}return y.a(e,t),e.prototype.request=function(t,e){if("string"==typeof t&&(t=new X(p(this._defaultOptions,e,_.Get,t))),!(t instanceof X))throw new Error("First argument must be a url string or Request instance.");if(t.method!==_.Get)throw new Error("JSONP requests must use GET request method.");return l(this._backend,t)},e}(rt);ot.decorators=[{type:v.Injectable}],ot.ctorParameters=function(){return[{type:P},{type:Z}]};var it=function(){function t(){}return t}();it.decorators=[{type:v.NgModule,args:[{providers:[{provide:rt,useFactory:h,deps:[Q,Z]},g,{provide:Z,useClass:J},{provide:E,useClass:T},Q,{provide:j,useFactory:f}]}]}],it.ctorParameters=function(){return[]};var st=function(){function t(){}return t}();st.decorators=[{type:v.NgModule,args:[{providers:[{provide:ot,useFactory:d,deps:[q,Z]},V,{provide:Z,useClass:J},{provide:E,useClass:T},{provide:q,useClass:K}]}]}],st.ctorParameters=function(){return[]};new v.Version("4.4.5")},CQyF: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.error=e,this.scheduler=n}return r(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.error;t.subscriber.error(e)},e.prototype._subscribe=function(t){var n=this.error,r=this.scheduler;if(t.syncErrorThrowable=!0,r)return r.schedule(e.dispatch,0,{error:n,subscriber:t});t.error(n)},e}(o.Observable);e.ErrorObservable=i},CXR1:function(t,e,n){"use strict";var r=n("bKpL"),o=n("tpuU");r.Observable.prototype.zipAll=o.zipAll},Cipy:function(t,e,n){"use strict";function r(t,e,n){var r;return o.multicast.call(this,function(){return this._isComplete?r:r=new i.ReplaySubject(t,e,n)}).refCount()}var o=n("gonN"),i=n("0imh");e.shareReplay=r},D3O6:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("/oeL"),o=n("WDs4"),i=n("ansA"),s=function(){function t(t,e){this.translate=t,this._ref=e,this.value=""}return t.prototype.updateValue=function(t,e,n){var r=this,o=function(e){r.value=void 0!==e?e:t,r.lastKey=t,r._ref.markForCheck()};if(n){var i=this.translate.getParsedResult(n,t,e);"function"==typeof i.subscribe?i.subscribe(o):o(i)}this.translate.get(t,e).subscribe(o)},t.prototype.transform=function(t){for(var e=this,n=[],r=1;r=0}var o=n("NSJx");e.isNumeric=r},EyWH:function(t,e,n){"use strict";function r(t,e){return{type:7,name:t,definitions:e,options:{}}}function o(t,e){return void 0===e&&(e=null),{type:4,styles:e,timings:t}}function i(t,e){return void 0===e&&(e=null),{type:2,steps:t,options:e}}function s(t){return{type:6,styles:t,offset:null}}function a(t,e,n){return{type:0,name:t,styles:e,options:n}}function u(t,e,n){return void 0===n&&(n=null),{type:1,expr:t,animation:e,options:n}}function c(t){Promise.resolve(null).then(t)}n.d(e,"b",function(){return l}),n.d(e,"c",function(){return p}),n.d(e,"a",function(){return f}),n.d(e,"e",function(){return o}),n.d(e,"f",function(){return i}),n.d(e,"g",function(){return a}),n.d(e,"h",function(){return s}),n.d(e,"i",function(){return u}),n.d(e,"j",function(){return r}),n.d(e,"d",function(){return h}),n.d(e,"k",function(){return d}),n.d(e,"l",function(){return y});var l=function(){function t(){}return t.prototype.build=function(t){},t}(),p=function(){function t(){}return t.prototype.create=function(t,e){},t}(),f="*",h=function(){function t(){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=0}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.init=function(){},t.prototype.play=function(){this.hasStarted()||(this.triggerMicrotask(),this._onStart()),this._started=!0},t.prototype.triggerMicrotask=function(){var t=this;c(function(){return t._onFinish()})},t.prototype._onStart=function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]},t.prototype.pause=function(){},t.prototype.restart=function(){},t.prototype.finish=function(){this._onFinish()},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){},t.prototype.setPosition=function(t){},t.prototype.getPosition=function(){return 0},t}(),d=function(){function t(t){var e=this;this._players=t,this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0;var n=0,r=0,o=0,i=this._players.length;0==i?c(function(){return e._onFinish()}):this._players.forEach(function(t){t.parentPlayer=e,t.onDone(function(){++n>=i&&e._onFinish()}),t.onDestroy(function(){++r>=i&&e._onDestroy()}),t.onStart(function(){++o>=i&&e._onStart()})}),this.totalTime=this._players.reduce(function(t,e){return Math.max(t,e.totalTime)},0)}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._players.forEach(function(t){return t.init()})},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype._onStart=function(){this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this._players.forEach(function(t){return t.play()})},t.prototype.pause=function(){this._players.forEach(function(t){return t.pause()})},t.prototype.restart=function(){this._players.forEach(function(t){return t.restart()})},t.prototype.finish=function(){this._onFinish(),this._players.forEach(function(t){return t.finish()})},t.prototype.destroy=function(){this._onDestroy()},t.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this._players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){this._players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype.setPosition=function(t){var e=t*this.totalTime;this._players.forEach(function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})},t.prototype.getPosition=function(){var t=0;return this._players.forEach(function(e){var n=e.getPosition();t=Math.min(n,t)}),t},Object.defineProperty(t.prototype,"players",{get:function(){return this._players},enumerable:!0,configurable:!0}),t.prototype.beforeDestroy=function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})},t}(),y="!"},"F/7+":function(t,e,n){"use strict";var r=n("0I3B");e.zip=r.zipStatic},Fhmd:function(t,e,n){"use strict";var r=n("jUlM");e.forkJoin=r.ForkJoinObservable.create},Fi2k:function(t,e,n){"use strict";function r(t,e){return this.lift(new p(t,e))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rlar"),s=n("xFbG"),a=n("RdI5"),u=n("XRvs"),c=n("yW9Z"),l=n("ktfo");e.windowToggle=r;var p=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new f(t,this.openings,this.closingSelector))},t}(),f=function(t){function e(e,n,r){t.call(this,e),this.openings=n,this.closingSelector=r,this.contexts=[],this.add(this.openSubscription=l.subscribeToResult(this,n,n))}return o(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var n=e.length,r=0;r0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,r):e.flush(this)},e}(o.AsyncAction);e.QueueAction=i},Fq81: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("fclq"),i=n("bKpL"),s=n("xFbG"),a=function(t){function e(e,n,r){t.call(this),this.addHandler=e,this.removeHandler=n,this.selector=r}return r(e,t),e.create=function(t,n,r){return new e(t,n,r)},e.prototype._subscribe=function(t){var e=this,n=this.removeHandler,r=this.selector?function(){for(var n=[],r=0;r0&&n.length>0;){var o=e.shift(),i=n.shift(),u=!1;r?(u=s.tryCatch(r)(o,i))===a.errorObject&&this.destination.error(a.errorObject.e):u=o===i,u||this.emit(!1)}},e.prototype.emit=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},e}(i.Subscriber);e.SequenceEqualSubscriber=c;var l=function(t){function e(e,n){t.call(this,e),this.parent=n}return o(e,t),e.prototype._next=function(t){this.parent.nextB(t)},e.prototype._error=function(t){this.parent.error(t)},e.prototype._complete=function(){this.parent._complete()},e}(i.Subscriber)},GPwi:function(t,e,n){"use strict";var r=n("bKpL"),o=n("Fhmd");r.Observable.forkJoin=o.forkJoin},GWzR:function(t,e,n){"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}var o=n("/oeL"),i=n("qbdv"),s=n("vCyR"),a=n("8AR9"),u=n("oXBO"),c=n("t+dn"),l=n("dy2L");r(n("vCyR")),r(n("8AR9")),r(n("oXBO")),r(n("t+dn")),r(n("ItmA"));var p=function(){function t(){}return t.decorators=[{type:o.NgModule,args:[{imports:[i.CommonModule],declarations:[s.ModalComponent,a.ModalHeaderComponent,u.ModalBodyComponent,c.ModalFooterComponent,l.AutofocusDirective],exports:[s.ModalComponent,a.ModalHeaderComponent,u.ModalBodyComponent,c.ModalFooterComponent,l.AutofocusDirective]}]}],t.ctorParameters=[],t}();e.Ng2Bs3ModalModule=p},GoZW:function(t,e,n){"use strict";function r(){for(var t=[],e=0;ee.index?1:-1:t.delay>e.delay?1:-1},e}(o.AsyncAction);e.VirtualAction=a},IOeT:function(t,e,n){"use strict";function r(t){return this.lift(new o.CombineLatestOperator(t))}var o=n("+c7d");e.combineAll=r},IUpl:function(t,e,n){"use strict";var r=n("bKpL"),o=n("Y+l6");r.Observable.prototype.toArray=o.toArray},"IhB/":function(t,e,n){"use strict";var r=n("Io40"),o=n("I2Y9");e.async=new o.AsyncScheduler(r.AsyncAction)},Io40: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("zijX"),i=n("XNum"),s=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n,this.pending=!1}return r(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t,this.pending=!0;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),o.root.setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){return void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending?e:o.root.clearInterval(e)&&void 0||void 0},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(t){n=!0,r=!!t&&t||new Error(t)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(i.Action);e.AsyncAction=s},IpZT:function(t,e,n){"use strict";var r=n("bKpL"),o=n("ZQVD");r.Observable.prototype.ignoreElements=o.ignoreElements},IqVs:function(t,e,n){"use strict";var r=n("zijX"),o=function(){function t(t){t.requestAnimationFrame?(this.cancelAnimationFrame=t.cancelAnimationFrame.bind(t),this.requestAnimationFrame=t.requestAnimationFrame.bind(t)):t.mozRequestAnimationFrame?(this.cancelAnimationFrame=t.mozCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.mozRequestAnimationFrame.bind(t)):t.webkitRequestAnimationFrame?(this.cancelAnimationFrame=t.webkitCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.webkitRequestAnimationFrame.bind(t)):t.msRequestAnimationFrame?(this.cancelAnimationFrame=t.msCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.msRequestAnimationFrame.bind(t)):t.oRequestAnimationFrame?(this.cancelAnimationFrame=t.oCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.oRequestAnimationFrame.bind(t)):(this.cancelAnimationFrame=t.clearTimeout.bind(t),this.requestAnimationFrame=function(e){return t.setTimeout(e,1e3/60)})}return t}();e.RequestAnimationFrameDefinition=o,e.AnimationFrame=new o(r.root)},ItUe:function(t,e,n){"use strict";var r=n("bKpL"),o=n("0I3B");r.Observable.prototype.zip=o.zipProto},ItmA:function(t,e,n){"use strict";function r(t){return"true"===t||"false"!==t&&t}function o(t){return new Promise(function(e,n){t.subscribe(function(t){e(t)})})}var i=n("bKpL");n("5v8a"),n("Xtvq");var s=function(){function t(t){this.element=t,this.suffix=".ng2-bs3-modal",this.shownEventName="shown.bs.modal"+this.suffix,this.hiddenEventName="hidden.bs.modal"+this.suffix,this.visible=!1,this.init()}return t.prototype.open=function(){return this.show()},t.prototype.close=function(){return this.result=a.Close,this.hide()},t.prototype.dismiss=function(){return this.result=a.Dismiss,this.hide()},t.prototype.destroy=function(){var t=this;return this.hide().then(function(){t.$modal&&(t.$modal.data("bs.modal",null),t.$modal.remove())})},t.prototype.show=function(){var t=o(this.shown);return this.resetData(),this.$modal.modal(),t},t.prototype.hide=function(){if(this.$modal&&this.visible){var t=o(this.hidden);return this.$modal.modal("hide"),t}return Promise.resolve(this.result)},t.prototype.init=function(){var t=this;this.$modal=jQuery(this.element.nativeElement),this.$modal.appendTo("body"),this.shown=i.Observable.fromEvent(this.$modal,this.shownEventName).map(function(){t.visible=!0}),this.hidden=i.Observable.fromEvent(this.$modal,this.hiddenEventName).map(function(){var e=t.result&&t.result!==a.None?t.result:a.Dismiss;return t.result=a.None,t.visible=!1,e})},t.prototype.resetData=function(){this.$modal.removeData(),this.$modal.data("backdrop",r(this.$modal.attr("data-backdrop"))),this.$modal.data("keyboard",r(this.$modal.attr("data-keyboard")))},t}();e.ModalInstance=s,function(t){t[t.None=0]="None",t[t.Close=1]="Close",t[t.Dismiss=2]="Dismiss"}(e.ModalResult||(e.ModalResult={}));var a=e.ModalResult},JCyH: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("qIlB"),i=n("Io40"),s=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return r(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=o.Immediate.setImmediate(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(o.Immediate.clearImmediate(n),e.scheduled=void 0)},e}(i.AsyncAction);e.AsapAction=s},JNTq:function(t,e,n){"use strict";var r=n("bKpL"),o=n("LEug");r.Observable.merge=o.merge},JSgX:function(t,e,n){"use strict";var r=n("bKpL"),o=n("7kbP");r.Observable.concat=o.concat},K5Xx:function(t,e,n){"use strict";function r(t){return t?i.multicast.call(this,function(){return new o.Subject},t):i.multicast.call(this,new o.Subject)}var o=n("rlar"),i=n("gonN");e.publish=r},K5tw:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r;!function(t){t[t.local=0]="local",t[t.session=1]="session"}(r||(r={}))},KIVP:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("/oeL"),o=n("K5tw"),i=n("H01b"),s=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(t){function e(){return t.call(this,o.a.session)||this}return s(e,t),e}(i.a);a.decorators=[{type:r.Injectable}],a.ctorParameters=function(){return[]}},"Kt+M":function(t,e,n){"use strict";function r(){for(var t=[],e=0;ewindow.innerHeight?"top":(!r||"bottom"===r)&&t.top+e.top-n.offsetHeight<0?"bottom":(!r||"left"===r)&&t.right+e.right+n.offsetWidth>window.innerWidth?"left":null},t.prototype.getAllStyles=function(t){return window.getComputedStyle(t)},t.prototype.getStyle=function(t,e){return this.getAllStyles(t)[e]},t.prototype.isStaticPositioned=function(t){return"static"===(this.getStyle(t,"position")||"static")},t.prototype.offsetParent=function(t){for(var e=t.offsetParent||document.documentElement;e&&e!==document.documentElement&&this.isStaticPositioned(e);)e=e.offsetParent;return e||document.documentElement},t}(),i=new o},Lhvy: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=function(t){function e(){var e=t.call(this,"object unsubscribed");this.name=e.name="ObjectUnsubscribedError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.ObjectUnsubscribedError=o},LiYJ:function(t,e,n){"use strict";e.empty={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}}},Lqs2:function(t,e,n){"use strict";function r(t){return 0===t?new a.EmptyObservable:this.lift(new u(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+"),s=n("uT+d"),a=n("fcnB");e.take=r;var u=function(){function t(t){if(this.total=t,this.total<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.total))},t}(),c=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return o(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(i.Subscriber)},Lssd:function(t,e,n){"use strict";var r=n("bKpL"),o=n("WmO6");r.Observable.prototype.partition=o.partition},M11L:function(t,e,n){"use strict";function r(){return function(){function t(){this._values=[]}return t.prototype.add=function(t){this.has(t)||this._values.push(t)},t.prototype.has=function(t){return-1!==this._values.indexOf(t)},Object.defineProperty(t.prototype,"size",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this._values.length=0},t}()}var o=n("zijX");e.minimalSetImpl=r,e.Set=o.root.Set||r()},MBEm:function(t,e,n){"use strict";var r=n("bKpL"),o=n("kGJb");r.Observable.prototype.distinctUntilChanged=o.distinctUntilChanged},MIR9: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=n("3lsR"),s=n("iH09"),a=n("XR5H"),u=n("OXmC"),c=n("I64N"),l=750,p=function(t){function e(e){t.call(this,c.VirtualAction,l),this.assertDeepEqual=e,this.hotObservables=[],this.coldObservables=[],this.flushTests=[]}return r(e,t),e.prototype.createTime=function(t){var n=t.indexOf("|");if(-1===n)throw new Error('marble diagram for time should have a completion marker "|"');return n*e.frameTimeFactor},e.prototype.createColdObservable=function(t,n,r){if(-1!==t.indexOf("^"))throw new Error('cold observable cannot have subscription offset "^"');if(-1!==t.indexOf("!"))throw new Error('cold observable cannot have unsubscription marker "!"');var o=e.parseMarbles(t,n,r),i=new s.ColdObservable(o,this);return this.coldObservables.push(i),i},e.prototype.createHotObservable=function(t,n,r){if(-1!==t.indexOf("!"))throw new Error('hot observable cannot have unsubscription marker "!"');var o=e.parseMarbles(t,n,r),i=new a.HotObservable(o,this);return this.hotObservables.push(i),i},e.prototype.materializeInnerObservable=function(t,e){var n=this,r=[];return t.subscribe(function(t){r.push({frame:n.frame-e,notification:i.Notification.createNext(t)})},function(t){r.push({frame:n.frame-e,notification:i.Notification.createError(t)})},function(){r.push({frame:n.frame-e,notification:i.Notification.createComplete()})}),r},e.prototype.expectObservable=function(t,n){var r=this;void 0===n&&(n=null);var s,a=[],u={actual:a,ready:!1},c=e.parseMarblesAsSubscriptions(n).unsubscribedFrame;return this.schedule(function(){s=t.subscribe(function(t){var e=t;t instanceof o.Observable&&(e=r.materializeInnerObservable(e,r.frame)),a.push({frame:r.frame,notification:i.Notification.createNext(e)})},function(t){a.push({frame:r.frame,notification:i.Notification.createError(t)})},function(){a.push({frame:r.frame,notification:i.Notification.createComplete()})})},0),c!==Number.POSITIVE_INFINITY&&this.schedule(function(){return s.unsubscribe()},c),this.flushTests.push(u),{toBe:function(t,n,r){u.ready=!0,u.expected=e.parseMarbles(t,n,r,!0)}}},e.prototype.expectSubscriptions=function(t){var n={actual:t,ready:!1};return this.flushTests.push(n),{toBe:function(t){var r="string"==typeof t?[t]:t;n.ready=!0,n.expected=r.map(function(t){return e.parseMarblesAsSubscriptions(t)})}}},e.prototype.flush=function(){for(var e=this.hotObservables;e.length>0;)e.shift().setup();t.prototype.flush.call(this);for(var n=this.flushTests.filter(function(t){return t.ready});n.length>0;){var r=n.shift();this.assertDeepEqual(r.actual,r.expected)}},e.parseMarblesAsSubscriptions=function(t){if("string"!=typeof t)return new u.SubscriptionLog(Number.POSITIVE_INFINITY);for(var e=t.length,n=-1,r=Number.POSITIVE_INFINITY,o=Number.POSITIVE_INFINITY,i=0;i-1?n:s;break;case"!":if(o!==Number.POSITIVE_INFINITY)throw new Error("found a second subscription point '^' in a subscription marble diagram. There can only be one.");o=n>-1?n:s;break;default:throw new Error("there can only be '^' and '!' markers in a subscription marble diagram. Found instead '"+a+"'.")}}return o<0?new u.SubscriptionLog(r):new u.SubscriptionLog(r,o)},e.parseMarbles=function(t,e,n,r){if(void 0===r&&(r=!1),-1!==t.indexOf("!"))throw new Error('conventional marble diagrams cannot have the unsubscription marker "!"');for(var o=t.length,a=[],u=t.indexOf("^"),c=-1===u?0:u*-this.frameTimeFactor,l="object"!=typeof e?function(t){return t}:function(t){return r&&e[t]instanceof s.ColdObservable?e[t].messages:e[t]},p=-1,f=0;f-1?p:h,notification:d})}return a},e}(c.VirtualTimeScheduler);e.TestScheduler=p},MaQZ:function(t,e,n){"use strict";var r=n("bKpL"),o=n("etEa");r.Observable.prototype.find=o.find},MicL:function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}e.isScheduler=r},MvXP:function(t,e,n){"use strict";function r(t){return i["\u0275vid"](0,[(t()(),i["\u0275ted"](-1,null,["\n "])),(t()(),i["\u0275eld"](1,0,null,null,3,"div",[["class","modal-body"]],null,null,null,null,null)),(t()(),i["\u0275ted"](-1,null,["\n "])),i["\u0275ncd"](null,0),(t()(),i["\u0275ted"](-1,null,["\n "])),(t()(),i["\u0275ted"](-1,null,["\n "]))],null,null)}function o(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"modal-body",[],null,null,null,r,u)),i["\u0275did"](1,49152,null,0,s.ModalBodyComponent,[],null,null)],null,null)}n.d(e,"a",function(){return u}),e.b=r;var i=n("/oeL"),s=n("oXBO"),a=(n.n(s),[]),u=i["\u0275crt"]({encapsulation:2,styles:a,data:{}});i["\u0275ccf"]("modal-body",s.ModalBodyComponent,o,{},{},["*"])},MzWM: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=n("ktfo"),s=n("yW9Z"),a=function(t){function e(e){t.call(this),this.observableFactory=e}return r(e,t),e.create=function(t){return new e(t)},e.prototype._subscribe=function(t){return new u(t,this.observableFactory)},e}(o.Observable);e.DeferObservable=a;var u=function(t){function e(e,n){t.call(this,e),this.factory=n,this.tryDefer()}return r(e,t),e.prototype.tryDefer=function(){try{this._callFactory()}catch(t){this._error(t)}},e.prototype._callFactory=function(){var t=this.factory();t&&this.add(i.subscribeToResult(this,t))},e}(s.OuterSubscriber)},"N+n4":function(t,e,n){(function(t,r){function o(t,n){var r={seen:[],stylize:s};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),y(n)?r.showHidden=n:n&&e._extend(r,n),w(r.showHidden)&&(r.showHidden=!1),w(r.depth)&&(r.depth=2),w(r.colors)&&(r.colors=!1),w(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=i),u(r,t,r.depth)}function i(t,e){var n=o.styles[e];return n?"\x1b["+o.colors[n][0]+"m"+t+"\x1b["+o.colors[n][1]+"m":t}function s(t,e){return t}function a(t){var e={};return t.forEach(function(t,n){e[t]=!0}),e}function u(t,n,r){if(t.customInspect&&n&&E(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var o=n.inspect(r,t);return g(o)||(o=u(t,o,r)),o}var i=c(t,n);if(i)return i;var s=Object.keys(n),y=a(s);if(t.showHidden&&(s=Object.getOwnPropertyNames(n)),x(n)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return l(n);if(0===s.length){if(E(n)){var v=n.name?": "+n.name:"";return t.stylize("[Function"+v+"]","special")}if(O(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(S(n))return t.stylize(Date.prototype.toString.call(n),"date");if(x(n))return l(n)}var m="",b=!1,_=["{","}"];if(d(n)&&(b=!0,_=["[","]"]),E(n)){m=" [Function"+(n.name?": "+n.name:"")+"]"}if(O(n)&&(m=" "+RegExp.prototype.toString.call(n)),S(n)&&(m=" "+Date.prototype.toUTCString.call(n)),x(n)&&(m=" "+l(n)),0===s.length&&(!b||0==n.length))return _[0]+m+_[1];if(r<0)return O(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special");t.seen.push(n);var w;return w=b?p(t,n,r,y,s):s.map(function(e){return f(t,n,r,y,e,b)}),t.seen.pop(),h(w,m,_)}function c(t,e){if(w(e))return t.stylize("undefined","undefined");if(g(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}return b(e)?t.stylize(""+e,"number"):y(e)?t.stylize(""+e,"boolean"):v(e)?t.stylize("null","null"):void 0}function l(t){return"["+Error.prototype.toString.call(t)+"]"}function p(t,e,n,r,o){for(var i=[],s=0,a=e.length;s-1&&(a=i?a.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+a.split("\n").map(function(t){return" "+t}).join("\n"))):a=t.stylize("[Circular]","special")),w(s)){if(i&&o.match(/^\d+$/))return a;s=JSON.stringify(""+o),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=t.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=t.stylize(s,"string"))}return s+": "+a}function h(t,e,n){var r=0;return t.reduce(function(t,e){return r++,e.indexOf("\n")>=0&&r++,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}function d(t){return Array.isArray(t)}function y(t){return"boolean"==typeof t}function v(t){return null===t}function m(t){return null==t}function b(t){return"number"==typeof t}function g(t){return"string"==typeof t}function _(t){return"symbol"==typeof t}function w(t){return void 0===t}function O(t){return C(t)&&"[object RegExp]"===P(t)}function C(t){return"object"==typeof t&&null!==t}function S(t){return C(t)&&"[object Date]"===P(t)}function x(t){return C(t)&&("[object Error]"===P(t)||t instanceof Error)}function E(t){return"function"==typeof t}function T(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t}function P(t){return Object.prototype.toString.call(t)}function j(t){return t<10?"0"+t.toString(10):t.toString(10)}function A(){var t=new Date,e=[j(t.getHours()),j(t.getMinutes()),j(t.getSeconds())].join(":");return[t.getDate(),M[t.getMonth()],e].join(" ")}function R(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var I=/%[sdj%]/g;e.format=function(t){if(!g(t)){for(var e=[],n=0;n=i)return t;switch(t){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return t}}),a=r[n];n0){var s=i.indexOf(n);-1!==s&&i.splice(s,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(i.OuterSubscriber)},OCM8:function(t,e,n){"use strict";function r(){return i.multicast.call(this,new o.AsyncSubject)}var o=n("l6Wf"),i=n("gonN");e.publishLast=r},OGSH:function(t,e,n){"use strict";var r=n("bKpL"),o=n("c2EU");r.Observable.prototype.throttle=o.throttle},OWbQ: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("NSJx"),i=n("lhZu"),s=n("mUVF"),a=n("mihg"),u=n("TA58"),c=n("wZOE"),l=n("wCVK"),p=n("2B7B"),f=n("bKpL"),h=n("AHF9"),d=n("DP67"),y=function(t){function e(e,n){t.call(this,null),this.ish=e,this.scheduler=n}return r(e,t),e.create=function(t,n){if(null!=t){if("function"==typeof t[d.observable])return t instanceof f.Observable&&!n?t:new e(t,n);if(o.isArray(t))return new c.ArrayObservable(t,n);if(s.isPromise(t))return new a.PromiseObservable(t,n);if("function"==typeof t[p.iterator]||"string"==typeof t)return new u.IteratorObservable(t,n);if(i.isArrayLike(t))return new l.ArrayLikeObservable(t,n)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")},e.prototype._subscribe=function(t){var e=this.ish,n=this.scheduler;return null==n?e[d.observable]().subscribe(t):e[d.observable]().subscribe(new h.ObserveOnSubscriber(t,n,0))},e}(f.Observable);e.FromObservable=y},OXmC:function(t,e,n){"use strict";var r=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.subscribedFrame=t,this.unsubscribedFrame=e}return t}();e.SubscriptionLog=r},Obns:function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("yW9Z"),s=n("ktfo");e.debounce=r;var a=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.durationSelector))},t}(),u=function(t){function e(e,n){t.call(this,e),this.durationSelector=n,this.hasValue=!1,this.durationSubscription=null}return o(e,t),e.prototype._next=function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.emitValue(),this.destination.complete()},e.prototype._tryNext=function(t,e){var n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),n=s.subscribeToResult(this,e),n.closed||this.add(this.durationSubscription=n)},e.prototype.notifyNext=function(t,e,n,r,o){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){if(this.hasValue){var e=this.value,n=this.durationSubscription;n&&(this.durationSubscription=null,n.unsubscribe(),this.remove(n)),this.value=null,this.hasValue=!1,t.prototype._next.call(this,e)}},e}(i.OuterSubscriber)},OdUO:function(t,e,n){"use strict";function r(t,e){return this.lift(new a(t,e))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+"),s=n("uT+d");e.elementAt=r;var a=function(){function t(t,e){if(this.index=t,this.defaultValue=e,t<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.index,this.defaultValue))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.index=n,this.defaultValue=r}return o(e,t),e.prototype._next=function(t){0==this.index--&&(this.destination.next(t),this.destination.complete())},e.prototype._complete=function(){var t=this.destination;this.index>=0&&(void 0!==this.defaultValue?t.next(this.defaultValue):t.error(new s.ArgumentOutOfRangeError)),t.complete()},e}(i.Subscriber)},Ohh6:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e1?a.concatStatic(new o.ArrayObservable(t,n),this):a.concatStatic(new s.EmptyObservable(n),this)}var o=n("wZOE"),i=n("aOKN"),s=n("fcnB"),a=n("Kt+M"),u=n("MicL");e.startWith=r},Ozq5:function(t,e,n){"use strict";var r=n("bKpL"),o=n("GoZW");r.Observable.prototype.pluck=o.pluck},"P+lj":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=n("wEhC"),s=n("EsGe"),a=function(t){function e(e,n,r){void 0===n&&(n=0),void 0===r&&(r=i.asap),t.call(this),this.source=e,this.delayTime=n,this.scheduler=r,(!s.isNumeric(n)||n<0)&&(this.delayTime=0),r&&"function"==typeof r.schedule||(this.scheduler=i.asap)}return r(e,t),e.create=function(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=i.asap),new e(t,n,r)},e.dispatch=function(t){var e=t.source,n=t.subscriber;return this.add(e.subscribe(n))},e.prototype._subscribe=function(t){var n=this.delayTime,r=this.source;return this.scheduler.schedule(e.dispatch,n,{source:r,subscriber:t})},e}(o.Observable);e.SubscribeOnObservable=a},"PIb/":function(t,e){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},PT4i:function(t,e,n){"use strict";var r=n("Yvsb");e.never=r.NeverObservable.create},PatI:function(t,e,n){"use strict";var r=n("bKpL"),o=n("gonN");r.Observable.prototype.multicast=o.multicast},Pf4u:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e=0){var l={subscriber:this,window:c,context:null},p={windowTimeSpan:n,windowCreationInterval:r,subscriber:this,scheduler:u};this.add(u.schedule(s,n,l)),this.add(u.schedule(i,r,p))}else{var f={subscriber:this,window:c,windowTimeSpan:n};this.add(u.schedule(o,n,f))}}return a(e,t),e.prototype._next=function(t){for(var e=this.windows,n=e.length,r=0;r=this.maxWindowSize&&this.closeWindow(o))}},e.prototype._error=function(t){for(var e=this.windows;e.length>0;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){for(var t=this.windows;t.length>0;){var e=t.shift();e.closed||e.complete()}this.destination.complete()},e.prototype.openWindow=function(){var t=new d;return this.windows.push(t),this.destination.next(t),t},e.prototype.closeWindow=function(t){t.complete();var e=this.windows;e.splice(e.indexOf(t),1)},e}(l.Subscriber)},R61s:function(t,e,n){"use strict";var r=n("zijX"),o=n("wQte");e.Map=r.root.Map||function(){return o.MapPolyfill}()},RC4L:function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},RNRn:function(t,e,n){"use strict";var r=n("bKpL"),o=n("R3/v");r.Observable.prototype.windowTime=o.windowTime},RdI5:function(t,e,n){"use strict";function r(){try{return i.apply(this,arguments)}catch(t){return s.errorObject.e=t,s.errorObject}}function o(t){return i=t,r}var i,s=n("XRvs");e.tryCatch=o},RoUE:function(t,e,n){"use strict";function r(t){return a["\u0275vid"](0,[(t()(),a["\u0275eld"](0,0,null,null,1,"button",[["class","btn btn-default"],["data-dismiss","modal"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0,o=t.component;if("click"===e){r=!1!==o.modal.dismiss()&&r}return r},null,null)),(t()(),a["\u0275ted"](1,null,["",""]))],null,function(t,e){t(e,1,0,e.component.dismissButtonLabel)})}function o(t){return a["\u0275vid"](0,[(t()(),a["\u0275eld"](0,0,null,null,1,"button",[["class","btn btn-primary"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0,o=t.component;if("click"===e){r=!1!==o.modal.close()&&r}return r},null,null)),(t()(),a["\u0275ted"](1,null,["",""]))],null,function(t,e){t(e,1,0,e.component.closeButtonLabel)})}function i(t){return a["\u0275vid"](0,[(t()(),a["\u0275ted"](-1,null,["\n "])),(t()(),a["\u0275eld"](1,0,null,null,9,"div",[["class","modal-footer"]],null,null,null,null,null)),(t()(),a["\u0275ted"](-1,null,["\n "])),a["\u0275ncd"](null,0),(t()(),a["\u0275ted"](-1,null,["\n "])),(t()(),a["\u0275and"](16777216,null,null,1,null,r)),a["\u0275did"](6,16384,null,0,u.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),a["\u0275ted"](-1,null,["\n "])),(t()(),a["\u0275and"](16777216,null,null,1,null,o)),a["\u0275did"](9,16384,null,0,u.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),a["\u0275ted"](-1,null,["\n "])),(t()(),a["\u0275ted"](-1,null,["\n "]))],function(t,e){var n=e.component;t(e,6,0,n.showDefaultButtons),t(e,9,0,n.showDefaultButtons)},null)}function s(t){return a["\u0275vid"](0,[(t()(),a["\u0275eld"](0,0,null,null,1,"modal-footer",[],null,null,null,i,f)),a["\u0275did"](1,49152,null,0,c.ModalFooterComponent,[l.ModalComponent],null,null)],null,null)}n.d(e,"a",function(){return f}),e.b=i;var a=n("/oeL"),u=n("qbdv"),c=n("t+dn"),l=(n.n(c),n("vCyR")),p=(n.n(l),[]),f=a["\u0275crt"]({encapsulation:2,styles:p,data:{}});a["\u0275ccf"]("modal-footer",c.ModalFooterComponent,s,{showDefaultButtons:"show-default-buttons",dismissButtonLabel:"dismiss-button-label",closeButtonLabel:"close-button-label"},{},["*"])},RpuY:function(t,e,n){"use strict";var r=n("bKpL"),o=n("cPhF");r.Observable.prototype.mergeMap=o.mergeMap,r.Observable.prototype.flatMap=o.mergeMap},RvTY:function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"number"==typeof e&&(n=e,e=null),this.lift(new a(t,e,n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("yW9Z"),s=n("ktfo");e.mergeMapTo=r;var a=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.ish=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.ish,this.resultSelector,this.concurrent))},t}();e.MergeMapToOperator=a;var u=function(t){function e(e,n,r,o){void 0===o&&(o=Number.POSITIVE_INFINITY),t.call(this,e),this.ish=n,this.resultSelector=r,this.concurrent=o,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return o(e,t),e.prototype._next=function(t){if(this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(i.OuterSubscriber);e.MergeMapToSubscriber=u},S08L: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=n("ktfo"),s=n("yW9Z"),a=function(t){function e(e,n,r){t.call(this),this.condition=e,this.thenSource=n,this.elseSource=r}return r(e,t),e.create=function(t,n,r){return new e(t,n,r)},e.prototype._subscribe=function(t){var e=this,n=e.condition,r=e.thenSource,o=e.elseSource;return new u(t,n,r,o)},e}(o.Observable);e.IfObservable=a;var u=function(t){function e(e,n,r,o){t.call(this,e),this.condition=n,this.thenSource=r,this.elseSource=o,this.tryIf()}return r(e,t),e.prototype.tryIf=function(){var t,e=this,n=e.condition,r=e.thenSource,o=e.elseSource;try{t=n();var s=t?r:o;s?this.add(i.subscribeToResult(this,s)):this._complete()}catch(t){this._error(t)}},e}(s.OuterSubscriber)},S7im:function(t,e,n){"use strict";var r=n("bKpL"),o=n("HTfL");r.Observable.throw=o._throw},SJ56:function(t,e,n){"use strict";function r(){return this.lift(new s)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.dematerialize=r;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e)}return o(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(i.Subscriber)},SKRq:function(t,e,n){"use strict";var r=n("bKpL"),o=n("fdVa");r.Observable.prototype.mergeScan=o.mergeScan},ScG9:function(t,e,n){"use strict";var r=n("bKpL"),o=n("a9bY");r.Observable.prototype.max=o.max},"StS+":function(t,e,n){"use strict";var r=n("bKpL"),o=n("lc3y");r.Observable.prototype.isEmpty=o.isEmpty},"T14+":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("fclq"),i=n("xFbG"),s=n("LiYJ"),a=n("dkwD"),u=function(t){function e(n,r,o){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.empty;break;case 1:if(!n){this.destination=s.empty;break}if("object"==typeof n){n instanceof e?(this.destination=n,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new c(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new c(this,n,r,o)}}return r(e,t),e.prototype[a.rxSubscriber]=function(){return this},e.create=function(t,n,r){var o=new e(t,n,r);return o.syncErrorThrowable=!1,o},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this,e=t._parent,n=t._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=n,this},e}(i.Subscription);e.Subscriber=u;var c=function(t){function e(e,n,r,i){t.call(this),this._parentSubscriber=e;var a,u=this;o.isFunction(n)?a=n:n&&(a=n.next,r=n.error,i=n.complete,n!==s.empty&&(u=Object.create(n),o.isFunction(u.unsubscribe)&&this.add(u.unsubscribe.bind(u)),u.unsubscribe=this.unsubscribe.bind(this))),this._context=u,this._next=a,this._error=r,this._complete=i}return r(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber;if(this._error)e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else{if(!e.syncErrorThrowable)throw this.unsubscribe(),t;e.syncErrorValue=t,e.syncErrorThrown=!0,this.unsubscribe()}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){throw this.unsubscribe(),t}},e.prototype.__tryOrSetError=function(t,e,n){try{e.call(this._context,n)}catch(e){return t.syncErrorValue=e,t.syncErrorThrown=!0,!0}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(u)},T1tZ:function(t,e,n){"use strict";function r(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function o(t){var e=t.err;t.subject.error(e)}var i=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)},s=n("bKpL"),a=n("RdI5"),u=n("XRvs"),c=n("l6Wf"),l=function(t){function e(e,n,r,o,i){t.call(this),this.callbackFunc=e,this.selector=n,this.args=r,this.context=o,this.scheduler=i}return i(e,t),e.create=function(t,n,r){return void 0===n&&(n=void 0),function(){for(var o=[],i=0;id?d:e):e}function i(t){return"number"==typeof t&&u.root.isFinite(t)}function s(t){var e=+t;return 0===e?e:isNaN(e)?e:e<0?-1:1}var a=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)},u=n("zijX"),c=n("bKpL"),l=n("2B7B"),p=function(t){function e(e,n){if(t.call(this),this.scheduler=n,null==e)throw new Error("iterator cannot be null.");this.iterator=r(e)}return a(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.index,n=t.hasError,r=t.iterator,o=t.subscriber;if(n)return void o.error(t.error);var i=r.next();return i.done?void o.complete():(o.next(i.value),t.index=e+1,o.closed?void("function"==typeof r.return&&r.return()):void this.schedule(t))},e.prototype._subscribe=function(t){var n=this,r=n.iterator,o=n.scheduler;if(o)return o.schedule(e.dispatch,0,{index:0,iterator:r,subscriber:t});for(;;){var i=r.next();if(i.done){t.complete();break}if(t.next(i.value),t.closed){"function"==typeof r.return&&r.return();break}}},e}(c.Observable);e.IteratorObservable=p;var f=function(){function t(t,e,n){void 0===e&&(e=0),void 0===n&&(n=t.length),this.str=t,this.idx=e,this.len=n}return t.prototype[l.iterator]=function(){return this},t.prototype.next=function(){return this.idx0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(i.OuterSubscriber);e.MergeAllSubscriber=u},TQn8:function(t,e,n){"use strict";function r(t,e){return this.lift(new o.MergeMapOperator(t,e,1))}var o=n("cPhF");e.concatMap=r},TnjP:function(t,e,n){"use strict";var r=n("bKpL"),o=n("XOyC");r.Observable.prototype.delayWhen=o.delayWhen},TpsG: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=function(t){function e(){var e=t.call(this,"no elements in sequence");this.name=e.name="EmptyError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.EmptyError=o},Tq0x:function(t,e,n){"use strict";function r(t,e){var n=!1;return arguments.length>=2&&(n=!0),this.lift(new s(t,e,n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.reduce=r;var s=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.accumulator,this.seed,this.hasSeed))},t}();e.ReduceOperator=s;var a=function(t){function e(e,n,r,o){t.call(this,e),this.accumulator=n,this.hasSeed=o,this.index=0,this.hasValue=!1,this.acc=r,this.hasSeed||this.index++}return o(e,t),e.prototype._next=function(t){this.hasValue||(this.hasValue=this.hasSeed)?this._tryReduce(t):(this.acc=t,this.hasValue=!0)},e.prototype._tryReduce=function(t){var e;try{e=this.accumulator(this.acc,t,this.index++)}catch(t){return void this.destination.error(t)}this.acc=e},e.prototype._complete=function(){(this.hasValue||this.hasSeed)&&this.destination.next(this.acc),this.destination.complete()},e}(i.Subscriber);e.ReduceSubscriber=a},Txt5:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=s.async),this.lift(new u(t,e))}function o(t){t.clearThrottle()}var i=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)},s=n("IhB/"),a=n("T14+");e.auditTime=r;var u=function(){function t(t,e){this.duration=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.duration,this.scheduler))},t}(),c=function(t){function e(e,n,r){t.call(this,e),this.duration=n,this.scheduler=r,this.hasValue=!1}return i(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0,this.throttled||this.add(this.throttled=this.scheduler.schedule(o,this.duration,this))},e.prototype.clearThrottle=function(){var t=this,e=t.value,n=t.hasValue,r=t.throttled;r&&(this.remove(r),this.throttled=null,r.unsubscribe()),n&&(this.value=null,this.hasValue=!1,this.destination.next(e))},e}(a.Subscriber)},"UD+B":function(t,e,n){"use strict";var r=n("bKpL"),o=n("wDL6");r.Observable.prototype.repeat=o.repeat},UVHa:function(t,e,n){"use strict";var r=n("bKpL"),o=n("f7nC");r.Observable.prototype.bufferWhen=o.bufferWhen},UbPm:function(t,e,n){"use strict";var r=n("bKpL"),o=n("H9QY");r.Observable.prototype.timeInterval=o.timeInterval},Uvlg:function(t,e,n){"use strict";var r=n("bKpL"),o=n("LBqD");r.Observable.prototype.pairwise=o.pairwise},VML3:function(t,e,n){"use strict";var r=n("bKpL"),o=n("K5Xx");r.Observable.prototype.publish=o.publish},VXtB:function(t,e,n){"use strict";var r=n("bKpL"),o=n("ytB7");r.Observable.prototype.sampleTime=o.sampleTime},ViUi:function(t,e,n){"use strict";function r(){for(var t=[],e=0;e1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof o&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof i.Observable?t[0]:new s.ArrayObservable(t,r).lift(new a.MergeAllOperator(n))}var i=n("bKpL"),s=n("wZOE"),a=n("TIdC"),u=n("MicL");e.merge=r,e.mergeStatic=o},VsKd:function(t,e,n){"use strict";var r=n("bKpL"),o=n("23I1");r.Observable.defer=o.defer},W5L8:function(t,e,n){"use strict";var r=n("bKpL"),o=n("7PW3");r.Observable.using=o.using},WAO4:function(t,e,n){"use strict";function r(t,e,n){void 0===n&&(n=i.async);var r=s.isDate(t),o=r?+t-n.now():Math.abs(t);return this.lift(new c(o,r,e,n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("IhB/"),s=n("6jp4"),a=n("yW9Z"),u=n("ktfo");e.timeoutWith=r;var c=function(){function t(t,e,n,r){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},t}(),l=function(t){function e(e,n,r,o,i){t.call(this,e),this.absoluteTimeout=n,this.waitFor=r,this.withObservable=o,this.scheduler=i,this.action=null,this.scheduleTimeout()}return o(e,t),e.dispatchTimeout=function(t){var e=t.withObservable;t._unsubscribeAndRecycle(),t.add(u.subscribeToResult(t,e))},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},e}(a.OuterSubscriber)},WDs4:function(t,e,n){"use strict";n.d(e,"c",function(){return g}),n.d(e,"b",function(){return _}),n.d(e,"a",function(){return w});var r=n("/oeL"),o=n("bKpL"),i=(n.n(o),n("/zHi")),s=(n.n(i),n("R0J0")),a=(n.n(s),n("qm+V")),u=(n.n(a),n("5v8a")),c=(n.n(u),n("ub06")),l=(n.n(c),n("Pic8")),p=(n.n(l),n("IUpl")),f=(n.n(p),n("5uCp")),h=(n.n(f),n("maBJ")),d=n("a3e3"),y=n("t0d0"),v=n("Qg/J"),m=n("R08E"),b=n("ansA"),g=new r.OpaqueToken("USE_STORE"),_=new r.OpaqueToken("USE_DEFAULT_LANG"),w=function(){function t(t,e,n,o,i,s,a){void 0===s&&(s=!0),void 0===a&&(a=!1),this.store=t,this.currentLoader=e,this.compiler=n,this.parser=o,this.missingTranslationHandler=i,this.useDefaultLang=s,this.isolate=a,this.pending=!1,this._onTranslationChange=new r.EventEmitter,this._onLangChange=new r.EventEmitter,this._onDefaultLangChange=new r.EventEmitter,this._langs=[],this._translations={},this._translationRequests={}}return Object.defineProperty(t.prototype,"onTranslationChange",{get:function(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onLangChange",{get:function(){return this.isolate?this._onLangChange:this.store.onLangChange},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onDefaultLangChange",{get:function(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"defaultLang",{get:function(){return this.isolate?this._defaultLang:this.store.defaultLang},set:function(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentLang",{get:function(){return this.isolate?this._currentLang:this.store.currentLang},set:function(t){this.isolate?this._currentLang=t:this.store.currentLang=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"langs",{get:function(){return this.isolate?this._langs:this.store.langs},set:function(t){this.isolate?this._langs=t:this.store.langs=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"translations",{get:function(){return this.isolate?this._translations:this.store.translations},set:function(t){this.isolate?this._currentLang=t:this.store.translations=t},enumerable:!0,configurable:!0}),t.prototype.setDefaultLang=function(t){var e=this;if(t!==this.defaultLang){var n=this.retrieveTranslations(t);void 0!==n?(this.defaultLang||(this.defaultLang=t),n.take(1).subscribe(function(n){e.changeDefaultLang(t)})):this.changeDefaultLang(t)}},t.prototype.getDefaultLang=function(){return this.defaultLang},t.prototype.use=function(t){var e=this;if(t===this.currentLang)return o.Observable.of(this.translations[t]);var n=this.retrieveTranslations(t);return void 0!==n?(this.currentLang||(this.currentLang=t),n.take(1).subscribe(function(n){e.changeLang(t)}),n):(this.changeLang(t),o.Observable.of(this.translations[t]))},t.prototype.retrieveTranslations=function(t){var e;return void 0===this.translations[t]&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),e=this._translationRequests[t]),e},t.prototype.getTranslation=function(t){var e=this;return this.pending=!0,this.loadingTranslations=this.currentLoader.getTranslation(t).share(),this.loadingTranslations.take(1).subscribe(function(n){e.translations[t]=e.compiler.compileTranslations(n,t),e.updateLangs(),e.pending=!1},function(t){e.pending=!1}),this.loadingTranslations},t.prototype.setTranslation=function(t,e,n){void 0===n&&(n=!1),e=this.compiler.compileTranslations(e,t),n&&this.translations[t]?this.translations[t]=Object(b.c)(this.translations[t],e):this.translations[t]=e,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})},t.prototype.getLangs=function(){return this.langs},t.prototype.addLangs=function(t){var e=this;t.forEach(function(t){-1===e.langs.indexOf(t)&&e.langs.push(t)})},t.prototype.updateLangs=function(){this.addLangs(Object.keys(this.translations))},t.prototype.getParsedResult=function(t,e,n){var r;if(e instanceof Array){for(var i={},s=!1,a=0,u=e;a0?this.startWindowEvery:this.windowSize,n=this.destination,r=this.windowSize,o=this.windows,i=o.length,a=0;a=0&&u%e==0&&!this.closed&&o.shift().complete(),++this.count%e==0&&!this.closed){var c=new s.Subject;o.push(c),n.next(c)}},e.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(i.Subscriber)},Xga8:function(t,e,n){"use strict";var r=n("OXmC"),o=function(){function t(){this.subscriptions=[]}return t.prototype.logSubscribedFrame=function(){return this.subscriptions.push(new r.SubscriptionLog(this.scheduler.now())),this.subscriptions.length-1},t.prototype.logUnsubscribedFrame=function(t){var e=this.subscriptions,n=e[t];e[t]=new r.SubscriptionLog(n.subscribedFrame,this.scheduler.now())},t}();e.SubscriptionLoggable=o},Xtvq:function(t,e,n){"use strict";var r=n("bKpL"),o=n("zGUx");r.Observable.fromEvent=o.fromEvent},"Y+l6":function(t,e,n){"use strict";function r(){return this.lift(new s)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.toArray=r;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e),this.array=[]}return o(e,t),e.prototype._next=function(t){this.array.push(t)},e.prototype._complete=function(){this.destination.next(this.array),this.destination.complete()},e}(i.Subscriber)},YFUQ:function(t,e,n){"use strict";var r=n("bKpL"),o=n("BJqU");r.Observable.prototype.throttleTime=o.throttleTime},"Yj/5":function(t,e,n){"use strict";var r=n("Fq81");e.fromEventPattern=r.FromEventPatternObservable.create},YofN:function(t,e,n){"use strict";var r=n("7dLC");e.race=r.raceStatic},Yvsb: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=n("Z5ED"),s=function(t){function e(){t.call(this)}return r(e,t),e.create=function(){return new e},e.prototype._subscribe=function(t){i.noop()},e}(o.Observable);e.NeverObservable=s},Z2Sm:function(t,e,n){"use strict";var r=n("bKpL"),o=n("3N4h");r.Observable.prototype.window=o.window},Z5ED:function(t,e,n){"use strict";function r(){}e.noop=r},ZBFC:function(t,e,n){"use strict";var r=(n("rxZd"),n("iDwB"),n("2VFp"),n("bNH+"),n("4zAq"),n("pBJ6"),n("bIam"));n.d(e,"a",function(){return r.a})},ZQKz:function(t,e,n){"use strict";var r=n("bKpL"),o=n("1eQ7");r.Observable.prototype.first=o.first},ZQVD:function(t,e,n){"use strict";function r(){return this.lift(new a)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+"),s=n("Z5ED");e.ignoreElements=r;var a=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new u(t))},t}(),u=function(t){function e(){t.apply(this,arguments)}return o(e,t),e.prototype._next=function(t){s.noop()},e}(i.Subscriber)},ZXBV:function(t,e,n){"use strict";var r=n("bKpL"),o=n("Yj/5");r.Observable.fromEventPattern=o.fromEventPattern},Zfg9:function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+"),s=n("uT+d");e.skipLast=r;var a=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return 0===this._skipCount?e.subscribe(new i.Subscriber(t)):e.subscribe(new u(t,this._skipCount))},t}(),u=function(t){function e(e,n){t.call(this,e),this._skipCount=n,this._count=0,this._ring=new Array(n)}return o(e,t),e.prototype._next=function(t){var e=this._skipCount,n=this._count++;if(n0?e:n}:function(t,e){return t>e?t:e};return this.lift(new o.ReduceOperator(e))}var o=n("Tq0x");e.max=r},aCMF:function(t,e,n){"use strict";function r(t,e){return this.lift(new a(t,e))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("yW9Z"),s=n("ktfo");e.switchMap=r;var a=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.project,this.resultSelector))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.resultSelector=r,this.index=0}return o(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe(),this.add(this.innerSubscription=s.subscribeToResult(this,t,e,n))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,o){this.resultSelector?this._tryNotifyNext(t,e,n,r):this.destination.next(e)},e.prototype._tryNotifyNext=function(t,e,n,r){var o;try{o=this.resultSelector(t,e,n,r)}catch(t){return void this.destination.error(t)}this.destination.next(o)},e}(i.OuterSubscriber)},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},ab8l:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("/oeL"),o=function(){function t(){}return t.observe=function(t,e){var n=this.genObserverKey(t,e);return n in this.observers?this.observers[n]:this.observers[n]=new r.EventEmitter},t.emit=function(t,e,n){var r=this.genObserverKey(t,e);r in this.observers&&this.observers[r].emit(n)},t.genObserverKey=function(t,e){return t+"|"+e},t}();o.observers={}},afTc:function(t,e,n){"use strict";var r=n("bKpL"),o=n("OdUO");r.Observable.prototype.elementAt=o.elementAt},amjc:function(t,e,n){"use strict";var r=n("bKpL"),o=n("yQ6o");r.Observable.bindCallback=o.bindCallback},ansA:function(t,e,n){"use strict";function r(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!==t&&e!==e)return!0;var n,o,i,s=typeof t,a=typeof e;if(s==a&&"object"==s){if(!Array.isArray(t)){if(Array.isArray(e))return!1;i=Object.create(null);for(o in t){if(!r(t[o],e[o]))return!1;i[o]=!0}for(o in e)if(!(o in i)&&void 0!==e[o])return!1;return!0}if(!Array.isArray(e))return!1;if((n=t.length)==e.length){for(o=0;o\n '}]}],t.ctorParameters=function(){return[{type:o.a},{type:r.ChangeDetectorRef},{type:r.Renderer},{type:r.ElementRef}]},t}()},bjDG:function(t,e,n){"use strict";var r=n("NZPJ");e.generate=r.GenerateObservable.create},bm2B:function(t,e,n){"use strict";function r(t){return null==t||0===t.length}function o(t){return null!=t}function i(t){var e=Object(N["\u0275isPromise"])(t)?Object(L.fromPromise)(t):t;if(!Object(N["\u0275isObservable"])(e))throw new Error("Expected validator to return Promise or Observable.");return e}function s(t,e){return e.map(function(e){return e(t)})}function a(t,e){return e.map(function(e){return e(t)})}function u(t){var e=t.reduce(function(t,e){return null!=e?Object.assign({},t,e):t},{});return 0===Object.keys(e).length?null:e}function c(){return/android (\d+)/.test((Object(V.u)()?Object(V.u)().getUserAgent():"").toLowerCase())}function l(t){return t.validate?function(e){return t.validate(e)}:t}function p(t){return t.validate?function(e){return t.validate(e)}:t}function f(){throw new Error("unimplemented")}function h(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}function d(t){return t.split(":")[0]}function y(t,e){return null==t?""+e:("string"==typeof e&&(e="'"+e+"'"),e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}function v(t){return t.split(":")[0]}function m(t,e){return e.path.concat([t])}function b(t,e){t||O(e,"Cannot find control with"),e.valueAccessor||O(e,"No value accessor for form control with"),t.validator=K.compose([t.validator,e.validator]),t.asyncValidator=K.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),e.valueAccessor.registerOnChange(function(n){e.viewToModelUpdate(n),t.markAsDirty(),t.setValue(n,{emitModelToViewChange:!1})}),e.valueAccessor.registerOnTouched(function(){return t.markAsTouched()}),t.registerOnChange(function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)}),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),e._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function g(t,e){e.valueAccessor.registerOnChange(function(){return w(e)}),e.valueAccessor.registerOnTouched(function(){return w(e)}),e._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}function _(t,e){null==t&&O(e,"Cannot find control with"),t.validator=K.compose([t.validator,e.validator]),t.asyncValidator=K.composeAsync([t.asyncValidator,e.asyncValidator])}function w(t){return O(t,"There is no FormControl instance attached to form control element with")}function O(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function C(t){return null!=t?K.compose(t.map(l)):null}function S(t){return null!=t?K.composeAsync(t.map(p)):null}function x(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Object(N["\u0275looseIdentical"])(e,n.currentValue)}function E(t){return pt.some(function(e){return t.constructor===e})}function T(t,e){if(!e)return null;var n=void 0,r=void 0,o=void 0;return e.forEach(function(e){e.constructor===J?n=e:E(e)?(r&&O(t,"More than one built-in value accessor matches form control with"),r=e):(o&&O(t,"More than one custom value accessor matches form control with"),o=e)}),o||(r||(n||(O(t,"No valid value accessor for form control with"),null)))}function P(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(n)),e instanceof Array&&0===e.length?null:e.reduce(function(t,e){return t instanceof gt?t.controls[e]||null:t instanceof _t?t.at(e)||null:null},t))}function j(t){return Array.isArray(t)?C(t):t||null}function A(t){return Array.isArray(t)?S(t):t||null}function R(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function I(t){return!(t instanceof Dt||t instanceof Mt||t instanceof Ft)}n.d(e,"b",function(){return G}),n.d(e,"c",function(){return B}),n.d(e,"j",function(){return z}),n.d(e,"a",function(){return Z}),n.d(e,"d",function(){return J}),n.d(e,"k",function(){return $}),n.d(e,"l",function(){return yt}),n.d(e,"m",function(){return vt}),n.d(e,"n",function(){return Ct}),n.d(e,"o",function(){return At}),n.d(e,"r",function(){return nt}),n.d(e,"p",function(){return at}),n.d(e,"u",function(){return st}),n.d(e,"e",function(){return Gt}),n.d(e,"h",function(){return Xt}),n.d(e,"q",function(){return $t}),n.d(e,"t",function(){return Kt}),n.d(e,"f",function(){return te}),n.d(e,"i",function(){return H}),n.d(e,"g",function(){return se}),n.d(e,"s",function(){return ae}),n.d(e,"v",function(){return ie}),n.d(e,"y",function(){return ee}),n.d(e,"w",function(){return Y}),n.d(e,"z",function(){return et}),n.d(e,"x",function(){return ot}),n.d(e,"A",function(){return lt});var k=n("6Xbx"),N=n("/oeL"),M=n("Fhmd"),L=(n.n(M),n("QU9E")),D=(n.n(L),n("lx+J")),V=(n.n(D),n("fc+i")),F=function(){function t(){}return t.prototype.control=function(){},Object.defineProperty(t.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.reset=function(t){void 0===t&&(t=void 0),this.control&&this.control.reset(t)},t.prototype.hasError=function(t,e){return!!this.control&&this.control.hasError(t,e)},t.prototype.getError=function(t,e){return this.control?this.control.getError(t,e):null},t}(),B=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return k.a(e,t),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(F),H=new N.InjectionToken("NgValidators"),U=new N.InjectionToken("NgAsyncValidators"),q=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,K=function(){function t(){}return t.min=function(t){return function(e){if(r(e.value)||r(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&nt?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return r(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return q.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(r(e.value))return null;var n=e.value?e.value.length:0;return nt?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){if(!e)return t.nullValidator;var n,o;return"string"==typeof e?(o="^"+e+"$",n=new RegExp(o)):(o=e.toString(),n=e),function(t){if(r(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:o,actualValue:e}}}},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(o);return 0==e.length?null:function(t){return u(s(t,e))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(o);return 0==e.length?null:function(t){var n=a(t,e).map(i);return D.map.call(Object(M.forkJoin)(n),u)}},t}(),z=new N.InjectionToken("NgValueAccessor"),W={provide:z,useExisting:Object(N.forwardRef)(function(){return G}),multi:!0},G=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}();G.decorators=[{type:N.Directive,args:[{selector:"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]",host:{"(change)":"onChange($event.target.checked)","(blur)":"onTouched()"},providers:[W]}]}],G.ctorParameters=function(){return[{type:N.Renderer2},{type:N.ElementRef}]};var Q={provide:z,useExisting:Object(N.forwardRef)(function(){return J}),multi:!0},Z=new N.InjectionToken("CompositionEventMode"),J=function(){function t(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!c())}return t.prototype.writeValue=function(t){var e=null==t?"":t;this._renderer.setProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},t}();J.decorators=[{type:N.Directive,args:[{selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]",host:{"(input)":"_handleInput($event.target.value)","(blur)":"onTouched()","(compositionstart)":"_compositionStart()","(compositionend)":"_compositionEnd($event.target.value)"},providers:[Q]}]}],J.ctorParameters=function(){return[{type:N.Renderer2},{type:N.ElementRef},{type:void 0,decorators:[{type:N.Optional},{type:N.Inject,args:[Z]}]}]};var X={provide:z,useExisting:Object(N.forwardRef)(function(){return Y}),multi:!0},Y=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){var e=null==t?"":t;this._renderer.setProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}();Y.decorators=[{type:N.Directive,args:[{selector:"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[X]}]}],Y.ctorParameters=function(){return[{type:N.Renderer2},{type:N.ElementRef}]};var $=function(t){function e(){var e=t.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return k.a(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return f()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return f()},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){},e}(F),tt={provide:z,useExisting:Object(N.forwardRef)(function(){return nt}),multi:!0},et=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&(t[0]._parent===e._control._parent&&t[1].name===e.name)},t}();et.decorators=[{type:N.Injectable}],et.ctorParameters=function(){return[]};var nt=function(){function t(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get($),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')},t}();nt.decorators=[{type:N.Directive,args:[{selector:"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",host:{"(change)":"onChange()","(blur)":"onTouched()"},providers:[tt]}]}],nt.ctorParameters=function(){return[{type:N.Renderer2},{type:N.ElementRef},{type:et},{type:N.Injector}]},nt.propDecorators={name:[{type:N.Input}],formControlName:[{type:N.Input}],value:[{type:N.Input}]};var rt={provide:z,useExisting:Object(N.forwardRef)(function(){return ot}),multi:!0},ot=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}();ot.decorators=[{type:N.Directive,args:[{selector:"input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[rt]}]}],ot.ctorParameters=function(){return[{type:N.Renderer2},{type:N.ElementRef}]};var it={provide:z,useExisting:Object(N.forwardRef)(function(){return st}),multi:!0},st=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=N["\u0275looseIdentical"]}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=h(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){for(var e=0,n=Array.from(this._optionMap.keys());e-1)}}else n=function(t,e){t._setSelected(!1)};this._optionMap.forEach(n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var o=n.selectedOptions,i=0;i0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}(mt),_t=function(t){function e(e,n,r){var o=t.call(this,n||null,r||null)||this;return o.controls=e,o._initObservables(),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return k.a(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach(function(t,r){n._throwIfControlMissing(r),n.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach(function(t,r){n.at(r)&&n.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof bt?t.value:t.getRawValue()})},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this._value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){for(var t=0,e=this.controls;t0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(mt),wt={provide:B,useExisting:Object(N.forwardRef)(function(){return Ct})},Ot=Promise.resolve(null),Ct=function(t){function e(e,n){var r=t.call(this)||this;return r._submitted=!1,r.ngSubmit=new N.EventEmitter,r.form=new gt({},C(e),S(n)),r}return k.a(e,t),Object.defineProperty(e.prototype,"submitted",{get:function(){return this._submitted},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;Ot.then(function(){var n=e._findContainer(t.path);t._control=n.registerControl(t.name,t.control),b(t.control,t),t.control.updateValueAndValidity({emitEvent:!1})})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;Ot.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.addFormGroup=function(t){var e=this;Ot.then(function(){var n=e._findContainer(t.path),r=new gt({});_(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;Ot.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;Ot.then(function(){n.form.get(t.path).setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this._submitted=!0,this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this._submitted=!1},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e}(B);Ct.decorators=[{type:N.Directive,args:[{selector:"form:not([ngNoForm]):not([formGroup]),ngForm,[ngForm]",providers:[wt],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},outputs:["ngSubmit"],exportAs:"ngForm"}]}],Ct.ctorParameters=function(){return[{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[U]}]}]};var St={formControlName:'\n
\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',formGroupName:'\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',formArrayName:'\n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });',ngModelGroup:'\n
\n
\n \n
\n
',ngModelWithFormGroup:'\n
\n \n \n
\n '},xt=function(){function t(){}return t.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '+St.formControlName+"\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n "+St.ngModelWithFormGroup)},t.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+St.formGroupName+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+St.ngModelGroup)},t.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')},t.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+St.formGroupName+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+St.ngModelGroup)},t}(),Et={provide:B,useExisting:Object(N.forwardRef)(function(){return Tt})},Tt=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return k.a(e,t),e.prototype._checkParentType=function(){this._parent instanceof e||this._parent instanceof Ct||xt.modelGroupParentException()},e}(ft);Tt.decorators=[{type:N.Directive,args:[{selector:"[ngModelGroup]",providers:[Et],exportAs:"ngModelGroup"}]}],Tt.ctorParameters=function(){return[{type:B,decorators:[{type:N.Host},{type:N.SkipSelf}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[U]}]}]},Tt.propDecorators={name:[{type:N.Input,args:["ngModelGroup"]}]};var Pt={provide:$,useExisting:Object(N.forwardRef)(function(){return At})},jt=Promise.resolve(null),At=function(t){function e(e,n,r,o){var i=t.call(this)||this;return i._control=new bt,i._registered=!1,i.update=new N.EventEmitter,i._parent=e,i._rawValidators=n||[],i._rawAsyncValidators=r||[],i.valueAccessor=T(i,o),i}return k.a(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),x(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this._control},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?m(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return C(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return S(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){b(this._control,this),this._control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof Tt)&&this._parent instanceof ft?xt.formGroupNameException():this._parent instanceof Tt||this._parent instanceof Ct||xt.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||xt.missingNameException()},e.prototype._updateValue=function(t){var e=this;jt.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;jt.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})},e}($);At.decorators=[{type:N.Directive,args:[{selector:"[ngModel]:not([formControlName]):not([formControl])",providers:[Pt],exportAs:"ngModel"}]}],At.ctorParameters=function(){return[{type:B,decorators:[{type:N.Optional},{type:N.Host}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[U]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[z]}]}]},At.propDecorators={name:[{type:N.Input}],isDisabled:[{type:N.Input,args:["disabled"]}],model:[{type:N.Input,args:["ngModel"]}],options:[{type:N.Input,args:["ngModelOptions"]}],update:[{type:N.Output,args:["ngModelChange"]}]};var Rt=function(){function t(){}return t.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+St.formControlName)},t.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+St.formGroupName+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+St.ngModelGroup)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+St.formControlName)},t.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+St.formGroupName)},t.arrayParentException=function(){throw new Error("formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+St.formArrayName)},t.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},t}(),It={provide:$,useExisting:Object(N.forwardRef)(function(){return kt})},kt=function(t){function e(e,n,r){var o=t.call(this)||this;return o.update=new N.EventEmitter,o._rawValidators=e||[],o._rawAsyncValidators=n||[],o.valueAccessor=T(o,r),o}return k.a(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){Rt.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._isControlChanged(t)&&(b(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),x(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return C(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return S(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._isControlChanged=function(t){return t.hasOwnProperty("form")},e}($);kt.decorators=[{type:N.Directive,args:[{selector:"[formControl]",providers:[It],exportAs:"ngForm"}]}],kt.ctorParameters=function(){return[{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[U]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[z]}]}]},kt.propDecorators={form:[{type:N.Input,args:["formControl"]}],model:[{type:N.Input,args:["ngModel"]}],update:[{type:N.Output,args:["ngModelChange"]}],isDisabled:[{type:N.Input,args:["disabled"]}]};var Nt={provide:B,useExisting:Object(N.forwardRef)(function(){return Mt})},Mt=function(t){function e(e,n){var r=t.call(this)||this;return r._validators=e,r._asyncValidators=n,r._submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new N.EventEmitter,r}return k.a(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"submitted",{get:function(){return this._submitted},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return b(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){R(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);_(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);_(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},e.prototype.onSubmit=function(t){return this._submitted=!0,this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this._submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach(function(e){var n=t.form.get(e.path);e._control!==n&&(g(e._control,e),n&&b(n,e),e._control=n)}),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=C(this._validators);this.form.validator=K.compose([this.form.validator,t]);var e=S(this._asyncValidators);this.form.asyncValidator=K.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||Rt.missingFormException()},e}(B);Mt.decorators=[{type:N.Directive,args:[{selector:"[formGroup]",providers:[Nt],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},exportAs:"ngForm"}]}],Mt.ctorParameters=function(){return[{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[U]}]}]},Mt.propDecorators={form:[{type:N.Input,args:["formGroup"]}],ngSubmit:[{type:N.Output}]};var Lt={provide:B,useExisting:Object(N.forwardRef)(function(){return Dt})},Dt=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return k.a(e,t),e.prototype._checkParentType=function(){I(this._parent)&&Rt.groupParentException()},e}(ft);Dt.decorators=[{type:N.Directive,args:[{selector:"[formGroupName]",providers:[Lt]}]}],Dt.ctorParameters=function(){return[{type:B,decorators:[{type:N.Optional},{type:N.Host},{type:N.SkipSelf}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[U]}]}]},Dt.propDecorators={name:[{type:N.Input,args:["formGroupName"]}]};var Vt={provide:B,useExisting:Object(N.forwardRef)(function(){return Ft})},Ft=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return k.a(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return m(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return C(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return S(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){I(this._parent)&&Rt.arrayParentException()},e}(B);Ft.decorators=[{type:N.Directive,args:[{selector:"[formArrayName]",providers:[Vt]}]}],Ft.ctorParameters=function(){return[{type:B,decorators:[{type:N.Optional},{type:N.Host},{type:N.SkipSelf}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[U]}]}]},Ft.propDecorators={name:[{type:N.Input,args:["formArrayName"]}]};var Bt={provide:$,useExisting:Object(N.forwardRef)(function(){return Ht})},Ht=function(t){function e(e,n,r,o){var i=t.call(this)||this;return i._added=!1,i.update=new N.EventEmitter,i._parent=e,i._rawValidators=n||[],i._rawAsyncValidators=r||[],i.valueAccessor=T(i,o),i}return k.a(e,t),Object.defineProperty(e.prototype,"isDisabled",{set:function(t){Rt.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){this._added||this._setUpControl(),x(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},Object.defineProperty(e.prototype,"path",{get:function(){return m(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return C(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return S(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this._control},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){!(this._parent instanceof Dt)&&this._parent instanceof ft?Rt.ngModelGroupException():this._parent instanceof Dt||this._parent instanceof Mt||this._parent instanceof Ft||Rt.controlParentException()},e.prototype._setUpControl=function(){this._checkParentType(),this._control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},e}($);Ht.decorators=[{type:N.Directive,args:[{selector:"[formControlName]",providers:[Bt]}]}],Ht.ctorParameters=function(){return[{type:B,decorators:[{type:N.Optional},{type:N.Host},{type:N.SkipSelf}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[H]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[U]}]},{type:Array,decorators:[{type:N.Optional},{type:N.Self},{type:N.Inject,args:[z]}]}]},Ht.propDecorators={name:[{type:N.Input,args:["formControlName"]}],model:[{type:N.Input,args:["ngModel"]}],update:[{type:N.Output,args:["ngModelChange"]}],isDisabled:[{type:N.Input,args:["disabled"]}]};var Ut={provide:H,useExisting:Object(N.forwardRef)(function(){return Kt}),multi:!0},qt={provide:H,useExisting:Object(N.forwardRef)(function(){return zt}),multi:!0},Kt=function(){function t(){}return Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this.required?K.required(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t}();Kt.decorators=[{type:N.Directive,args:[{selector:":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",providers:[Ut],host:{"[attr.required]":'required ? "" : null'}}]}],Kt.ctorParameters=function(){return[]},Kt.propDecorators={required:[{type:N.Input}]};var zt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return k.a(e,t),e.prototype.validate=function(t){return this.required?K.requiredTrue(t):null},e}(Kt);zt.decorators=[{type:N.Directive,args:[{selector:"input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]",providers:[qt],host:{"[attr.required]":'required ? "" : null'}}]}],zt.ctorParameters=function(){return[]};var Wt={provide:H,useExisting:Object(N.forwardRef)(function(){return Gt}),multi:!0},Gt=function(){function t(){}return Object.defineProperty(t.prototype,"email",{set:function(t){this._enabled=""===t||!0===t||"true"===t,this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this._enabled?K.email(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t}();Gt.decorators=[{type:N.Directive,args:[{selector:"[email][formControlName],[email][formControl],[email][ngModel]",providers:[Wt]}]}],Gt.ctorParameters=function(){return[]},Gt.propDecorators={email:[{type:N.Input}]};var Qt={provide:H,useExisting:Object(N.forwardRef)(function(){return Zt}),multi:!0},Zt=function(){function t(){}return t.prototype.ngOnChanges=function(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null==this.minlength?null:this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=K.minLength(parseInt(this.minlength,10))},t}();Zt.decorators=[{type:N.Directive,args:[{selector:"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]",providers:[Qt],host:{"[attr.minlength]":"minlength ? minlength : null"}}]}],Zt.ctorParameters=function(){return[]},Zt.propDecorators={minlength:[{type:N.Input}]};var Jt={provide:H,useExisting:Object(N.forwardRef)(function(){return Xt}),multi:!0},Xt=function(){function t(){}return t.prototype.ngOnChanges=function(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null!=this.maxlength?this._validator(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=K.maxLength(parseInt(this.maxlength,10))},t}();Xt.decorators=[{type:N.Directive,args:[{selector:"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",providers:[Jt],host:{"[attr.maxlength]":"maxlength ? maxlength : null"}}]}],Xt.ctorParameters=function(){return[]},Xt.propDecorators={maxlength:[{type:N.Input}]};var Yt={provide:H,useExisting:Object(N.forwardRef)(function(){return $t}),multi:!0},$t=function(){function t(){}return t.prototype.ngOnChanges=function(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=K.pattern(this.pattern)},t}();$t.decorators=[{type:N.Directive,args:[{selector:"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]",providers:[Yt],host:{"[attr.pattern]":"pattern ? pattern : null"}}]}],$t.ctorParameters=function(){return[]},$t.propDecorators={pattern:[{type:N.Input}]};var te=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t),r=null!=e?e.validator:null,o=null!=e?e.asyncValidator:null;return new gt(n,r,o)},t.prototype.control=function(t,e,n){return new bt(t,e,n)},t.prototype.array=function(t,e,n){var r=this,o=t.map(function(t){return r._createControl(t)});return new _t(o,e,n)},t.prototype._reduceControls=function(t){var e=this,n={};return Object.keys(t).forEach(function(r){n[r]=e._createControl(t[r])}),n},t.prototype._createControl=function(t){if(t instanceof bt||t instanceof gt||t instanceof _t)return t;if(Array.isArray(t)){var e=t[0],n=t.length>1?t[1]:null,r=t.length>2?t[2]:null;return this.control(e,n,r)}return this.control(t)},t}();te.decorators=[{type:N.Injectable}],te.ctorParameters=function(){return[]};var ee=(new N.Version("4.4.5"),function(){function t(){}return t}());ee.decorators=[{type:N.Directive,args:[{selector:"form:not([ngNoForm]):not([ngNativeValidate])",host:{novalidate:""}}]}],ee.ctorParameters=function(){return[]};var ne=[ee,at,lt,J,Y,ot,G,st,ct,nt,yt,vt,Kt,Zt,Xt,$t,zt,Gt],re=[At,Tt,Ct],oe=[kt,Mt,Ht,Dt,Ft],ie=function(){function t(){}return t}();ie.decorators=[{type:N.NgModule,args:[{declarations:ne,exports:ne}]}],ie.ctorParameters=function(){return[]};var se=function(){function t(){}return t}();se.decorators=[{type:N.NgModule,args:[{declarations:re,providers:[et],exports:[ie,re]}]}],se.ctorParameters=function(){return[]};var ae=function(){function t(){}return t}();ae.decorators=[{type:N.NgModule,args:[{declarations:[oe],providers:[te,et],exports:[ie,oe]}]}],ae.ctorParameters=function(){return[]}},bprQ:function(t,e,n){"use strict";var r=n("bKpL"),o=n("9mYp");r.Observable.onErrorResumeNext=o.onErrorResumeNext},buGu:function(t,e,n){"use strict";function r(t){return void 0===t&&(t=null),this.lift(new s(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.defaultIfEmpty=r;var s=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.defaultValue))},t}(),a=function(t){function e(e,n){t.call(this,e),this.defaultValue=n,this.isEmpty=!0}return o(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(i.Subscriber)},c2EU:function(t,e,n){"use strict";function r(t,n){return void 0===n&&(n=e.defaultThrottleConfig),this.lift(new a(t,n.leading,n.trailing))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("yW9Z"),s=n("ktfo");e.defaultThrottleConfig={leading:!0,trailing:!1},e.throttle=r;var a=function(){function t(t,e,n){this.durationSelector=t,this.leading=e,this.trailing=n}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.durationSelector,this.leading,this.trailing))},t}(),u=function(t){function e(e,n,r,o){t.call(this,e),this.destination=e,this.durationSelector=n,this._leading=r,this._trailing=o,this._hasTrailingValue=!1}return o(e,t),e.prototype._next=function(t){if(this.throttled)this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=t);else{var e=this.tryDurationSelector(t);e&&this.add(this.throttled=s.subscribeToResult(this,e)),this._leading&&(this.destination.next(t),this._trailing&&(this._hasTrailingValue=!0,this._trailingValue=t))}},e.prototype.tryDurationSelector=function(t){try{return this.durationSelector(t)}catch(t){return this.destination.error(t),null}},e.prototype._unsubscribe=function(){var t=this,e=t.throttled;t._trailingValue,t._hasTrailingValue,t._trailing;this._trailingValue=null,this._hasTrailingValue=!1,e&&(this.remove(e),this.throttled=null,e.unsubscribe())},e.prototype._sendTrailing=function(){var t=this,e=t.destination,n=t.throttled,r=t._trailing,o=t._trailingValue,i=t._hasTrailingValue;n&&r&&i&&(e.next(o),this._trailingValue=null,this._hasTrailingValue=!1)},e.prototype.notifyNext=function(t,e,n,r,o){this._sendTrailing(),this._unsubscribe()},e.prototype.notifyComplete=function(){this._sendTrailing(),this._unsubscribe()},e}(i.OuterSubscriber)},c9Yo:function(t,e,n){"use strict";function r(t){return s["\u0275vid"](0,[(t()(),s["\u0275eld"](0,0,null,null,4,"button",[["aria-label","Close"],["class","close"],["data-dismiss","modal"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0,o=t.component;if("click"===e){r=!1!==o.modal.dismiss()&&r}return r},null,null)),(t()(),s["\u0275ted"](-1,null,["\n "])),(t()(),s["\u0275eld"](2,0,null,null,1,"span",[["aria-hidden","true"]],null,null,null,null,null)),(t()(),s["\u0275ted"](-1,null,["\xd7"])),(t()(),s["\u0275ted"](-1,null,["\n "]))],null,null)}function o(t){return s["\u0275vid"](0,[(t()(),s["\u0275ted"](-1,null,["\n "])),(t()(),s["\u0275eld"](1,0,null,null,6,"div",[["class","modal-header"]],null,null,null,null,null)),(t()(),s["\u0275ted"](-1,null,["\n "])),(t()(),s["\u0275and"](16777216,null,null,1,null,r)),s["\u0275did"](4,16384,null,0,a.NgIf,[s.ViewContainerRef,s.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),s["\u0275ted"](-1,null,["\n "])),s["\u0275ncd"](null,0),(t()(),s["\u0275ted"](-1,null,["\n "])),(t()(),s["\u0275ted"](-1,null,["\n "]))],function(t,e){t(e,4,0,e.component.showClose)},null)}function i(t){return s["\u0275vid"](0,[(t()(),s["\u0275eld"](0,0,null,null,1,"modal-header",[],null,null,null,o,p)),s["\u0275did"](1,49152,null,0,u.ModalHeaderComponent,[c.ModalComponent],null,null)],null,null)}n.d(e,"a",function(){return p}),e.b=o;var s=n("/oeL"),a=n("qbdv"),u=n("8AR9"),c=(n.n(u),n("vCyR")),l=(n.n(c),[]),p=s["\u0275crt"]({encapsulation:2,styles:l,data:{}});s["\u0275ccf"]("modal-header",u.ModalHeaderComponent,i,{showClose:"show-close"},{},["*"])},cPhF:function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"number"==typeof e&&(n=e,e=null),this.lift(new a(t,e,n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("ktfo"),s=n("yW9Z");e.mergeMap=r;var a=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.project=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.project,this.resultSelector,this.concurrent))},t}();e.MergeMapOperator=a;var u=function(t){function e(e,n,r,o){void 0===o&&(o=Number.POSITIVE_INFINITY),t.call(this,e),this.project=n,this.resultSelector=r,this.concurrent=o,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return o(e,t),e.prototype._next=function(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(s.OuterSubscriber);e.MergeMapSubscriber=u},"d+d+":function(t,e,n){"use strict";function r(t){return i["\u0275vid"](2,[(t()(),i["\u0275ted"](-1,null,["\n "])),(t()(),i["\u0275eld"](1,0,null,null,1,"div",[],[[2,"dropup",null],[2,"dropdown",null],[2,"show",null],[2,"open",null]],null,null,null,null)),i["\u0275ncd"](null,0),(t()(),i["\u0275ted"](-1,null,["\n "]))],null,function(t,e){var n=e.component;t(e,1,0,"up"===n.direction,"down"===n.direction,n.isOpen,n.isOpen)})}function o(t){return i["\u0275vid"](0,[(t()(),i["\u0275eld"](0,0,null,null,1,"bs-dropdown-container",[["style","display:block;position: absolute;"]],null,null,null,r,c)),i["\u0275did"](1,180224,null,0,s.a,[a.a,i.ChangeDetectorRef,i.Renderer,i.ElementRef],null,null)],null,null)}n.d(e,"a",function(){return l});var i=n("/oeL"),s=n("bNH+"),a=n("4zAq"),u=[],c=i["\u0275crt"]({encapsulation:2,styles:u,data:{}}),l=i["\u0275ccf"]("bs-dropdown-container",s.a,o,{},{},["*"])},d3kC:function(t,e,n){"use strict";var r=n("bKpL"),o=n("bjDG");r.Observable.generate=o.generate},dTYv:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){function t(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n}return t}()},dgXD:function(t,e,n){"use strict";var r=n("bKpL"),o=n("7dLC");r.Observable.prototype.race=o.race},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},dxfK:function(t,e,n){"use strict";function r(t,e){return o.distinctUntilChanged.call(this,function(n,r){return e?e(n[t],r[t]):n[t]===r[t]})}var o=n("kGJb");e.distinctUntilKeyChanged=r},dy2L:function(t,e,n){"use strict";var r=n("/oeL"),o=n("vCyR"),i=function(){function t(t,e){var n=this;this.el=t,this.modal=e,e&&this.modal.onOpen.subscribe(function(){n.el.nativeElement.focus()})}return t.decorators=[{type:r.Directive,args:[{selector:"[autofocus]"}]}],t.ctorParameters=[{type:r.ElementRef},{type:o.ModalComponent,decorators:[{type:r.Optional}]}],t}();e.AutofocusDirective=i},dy5W:function(t,e,n){"use strict";var r=n("bKpL"),o=n("WSkQ");r.Observable.prototype.last=o.last},dyFf:function(t,e,n){"use strict";var r=n("bKpL"),o=n("PT4i");r.Observable.never=o.never},e7Zl: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,r){t.call(this),this.start=e,this._count=n,this.scheduler=r}return r(e,t),e.create=function(t,n,r){return void 0===t&&(t=0),void 0===n&&(n=0),new e(t,n,r)},e.dispatch=function(t){var e=t.start,n=t.index,r=t.count,o=t.subscriber;if(n>=r)return void o.complete();o.next(e),o.closed||(t.index=n+1,t.start=e+1,this.schedule(t))},e.prototype._subscribe=function(t){var n=0,r=this.start,o=this._count,i=this.scheduler;if(i)return i.schedule(e.dispatch,0,{index:n,count:o,start:r,subscriber:t});for(;;){if(n++>=o){t.complete();break}if(t.next(r++),t.closed)break}},e}(o.Observable);e.RangeObservable=i},eqpX:function(t,e,n){"use strict";var r=n("bKpL"),o=n("rDIt");r.Observable.prototype.do=o._do,r.Observable.prototype._do=o._do},etEa:function(t,e,n){"use strict";function r(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return this.lift(new s(t,this,!1,e))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.find=r;var s=function(){function t(t,e,n,r){this.predicate=t,this.source=e,this.yieldIndex=n,this.thisArg=r}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}();e.FindValueOperator=s;var a=function(t){function e(e,n,r,o,i){t.call(this,e),this.predicate=n,this.source=r,this.yieldIndex=o,this.thisArg=i,this.index=0}return o(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){var e=this,n=e.predicate,r=e.thisArg,o=this.index++;try{n.call(r||this,t,o,this.source)&&this.notifyComplete(this.yieldIndex?o:t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},e}(i.Subscriber);e.FindValueSubscriber=a},etpI:function(t,e,n){"use strict";var r=function(){function t(){this.values={}}return t.prototype.delete=function(t){return this.values[t]=null,!0},t.prototype.set=function(t,e){return this.values[t]=e,this},t.prototype.get=function(t){return this.values[t]},t.prototype.forEach=function(t,e){var n=this.values;for(var r in n)n.hasOwnProperty(r)&&null!==n[r]&&t.call(e,n[r],r)},t.prototype.clear=function(){this.values={}},t}();e.FastMap=r},eumZ:function(t,e,n){"use strict";var r=n("bKpL"),o=n("Xa8F");r.Observable.prototype.windowCount=o.windowCount},"f7+7":function(t,e,n){"use strict";function r(t){var e=this,n=t.source,r=t.subscriber,s=t.context,a=n,p=a.callbackFunc,f=a.args,h=a.scheduler,d=n.subject;if(!d){d=n.subject=new l.AsyncSubject;var y=function t(){for(var n=[],r=0;r)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;var o=r[1],i=r[2],s=r[3];e.push(A(o,s));var a=o==Gt&&s==Gt;"<"!=i[0]||a||e.push(A(s,o))}function j(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";default:return e.push('The transition alias value "'+t+'" is not supported'),"* => *"}}function A(t,e){return function(n,r){var o=t==Gt||t==n,i=e==Gt||e==r;return o||"boolean"!=typeof n||(o=n?"true"===t:"false"===t),i||"boolean"!=typeof r||(i=r?"true"===e:"false"===e),o&&i}}function R(t,e){return(new Yt).build(t,e)}function I(t){var e=!!t.split(/\s*,\s*/).find(function(t){return t==Qt});return e&&(t=t.replace(Zt,"")),t=t.replace(Xt,St).replace(Jt,xt).replace(/@\*/g,Et).replace(/@\w+/g,function(t){return Et+"-"+t.substr(1)}).replace(/:animating/g,Tt),[t,e]}function k(t){return t?d(t):null}function N(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach(function(t){if(M(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}});else if(M(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}function M(t){return!Array.isArray(t)&&"object"==typeof t}function L(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t){f(t,e).duration;return new zt(t,0,"")}var r=t;return r.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})?new Wt(r):(n=n||f(r,e),new zt(n.duration,n.delay,n.easing))}function D(t){return t?(t=d(t),t.params&&(t.params=k(t.params))):t={},t}function V(t,e,n,r,o,i,s,a){return void 0===s&&(s=null),void 0===a&&(a=!1),{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:o,delay:i,totalTime:o+i,easing:s,subTimeline:a}}function F(t,e,n,r,o,i,s,a){return void 0===r&&(r={}),void 0===o&&(o={}),void 0===a&&(a=[]),(new ee).buildKeyframes(t,e,n,r,o,i,s,a)}function B(t,e){void 0===e&&(e=3);var n=Math.pow(10,e-1);return Math.round(t*n)/n}function H(t,e){var n,r={};return t.forEach(function(t){"*"===t?(n=n||Object.keys(e),n.forEach(function(t){r[t]=ft.a})):v(t,!1,r)}),r}function U(t,e,n,r,o,i,s,a,u,c,l,p){return{type:0,element:t,triggerName:e,isRemovalTransition:o,fromState:n,fromStyles:i,toState:r,toStyles:s,timelines:a,queriedElements:u,preStyleProps:c,postStyleProps:l,errors:p}}function q(t,e,n){return t.some(function(t){return t(e,n)})}function K(t,e){return new fe(t,e)}function z(t,e){var n=[function(t,e){return!0}],r=new Mt([]),o=new Nt(n,r);return new le(t,o,e)}function W(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}function G(t,e,n){var r;if(t instanceof Map){if(r=t.get(e)){if(r.length){var o=r.indexOf(n);r.splice(o,1)}0==r.length&&t.delete(e)}}else if(r=t[e]){if(r.length){var o=r.indexOf(n);r.splice(o,1)}0==r.length&&delete t[e]}return r}function Q(t){switch(typeof t){case"boolean":return t?"1":"0";default:return null!=t?t.toString():null}}function Z(t){return t&&1===t.nodeType}function J(t){return"start"==t||"done"==t}function X(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function Y(t,e,n,r){var o=[];e.forEach(function(t){return o.push(X(t))});var i=new Map,s=[];n.forEach(function(e,n){var o={};e.forEach(function(e){var i=o[e]=t.computeStyle(n,e,r);i&&0!=i.length||(n[be]=me,s.push(n))}),i.set(n,o)});var a=0;return e.forEach(function(t){return X(t,o[a++])}),[i,s]}function $(t){var e,n=new Set(t),r=new Set;return e=function(t){return!t||!n.has(t.parentNode)&&(!!r.has(t.parentNode)||!!e(t.parentNode)&&(r.add(t),!0))}}function tt(t,e){if(t.classList)return t.classList.contains(e);var n=t[xe];return n&&n[e]}function et(t,e){if(t.classList)t.classList.add(e);else{var n=t[xe];n||(n=t[xe]={}),n[e]=!0}}function nt(t,e){if(t.classList)t.classList.remove(e);else{var n=t[xe];n&&delete n[e]}}function rt(){return"undefined"!=typeof document?document.body:null}function ot(t,e,n){r(n).onDone(function(){return t.processLeaveNode(e)})}function it(t){var e=[];return st(t,e),e}function st(t,e){for(var n=0;n=0){r=!0;break}}}});var i=new Vt(n,o,t.offset);return i.containsDynamicStyles=r,i},t.prototype._validateStyleAst=function(t,e){var n=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;n&&o>0&&(o-=n.duration+n.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(n){var i=e.collectedStyles[e.currentQuerySelector],s=i[n],a=!0;s&&(o!=r&&o>=s.startTime&&r<=s.endTime&&(e.errors.push('The CSS property "'+n+'" that exists between the times of "'+s.startTime+'ms" and "'+s.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+r+'ms"'),a=!1),o=s.startTime),a&&(i[n]={startTime:o,endTime:r}),e.options&&_(t[n],e.options,e.errors)})})},t.prototype.visitKeyframes=function(t,e){var n=this;if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),new Ft([]);var r=0,o=[],i=!1,s=!1,a=0,u=t.steps.map(function(t){var u=n._makeStyleAst(t,e),c=null!=u.offset?u.offset:N(u.styles),l=0;return null!=c&&(r++,l=u.offset=c),s=s||l<0||l>1,i=i||l0&&r0?r==p?1:l*r:o[r],s=i*d;e.currentTime=f+h.delay+s,h.duration=s,n._validateStyleAst(t,e),t.offset=i}),new Ft(u)},t.prototype.visitReference=function(t,e){var n=E(this,g(t.animation),e),r=new Bt(n);return r.options=D(t.options),r},t.prototype.visitAnimateChild=function(t,e){e.depCount++;var n=new Ht;return n.options=D(t.options),n},t.prototype.visitAnimateRef=function(t,e){var n=this.visitReference(t.animation,e),r=new Ut(n);return r.options=D(t.options),r},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;var o=I(t.selector),i=o[0],s=o[1];e.currentQuerySelector=n.length?n+" "+i:i,u(e.collectedStyles,e.currentQuerySelector,{});var a=E(this,g(t.animation),e);e.currentQuery=null,e.currentQuerySelector=n;var c=new qt(i,r.limit||0,!!r.optional,s,a);return c.originalSelector=t.selector,c.options=D(t.options),c},t.prototype.visitStagger=function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:f(t.timings,e.errors,!0),r=E(this,g(t.animation),e);return new Kt(n,r)},t}(),$t=function(){function t(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}return t}(),te=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e},t.prototype.append=function(t,e){var n=this._map.get(t);n||this._map.set(t,n=[]),n.push.apply(n,e)},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),ee=function(){function t(){}return t.prototype.buildKeyframes=function(t,e,n,r,o,i,s,a){void 0===a&&(a=[]),s=s||new te;var u=new re(t,e,s,a,[]);u.options=i,u.currentTimeline.setStyles([r],null,u.errors,i),n.visit(this,u);var c=u.timelines.filter(function(t){return t.containsAnimation()});if(c.length&&Object.keys(o).length){var l=c[c.length-1];l.allowOnlyTimelineStyles()||l.setStyles([o],null,u.errors,i)}return c.length?c.map(function(t){return t.buildKeyframes()}):[V(e,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,e){},t.prototype.visitState=function(t,e){},t.prototype.visitTransition=function(t,e){},t.prototype.visitAnimateChild=function(t,e){var n=e.subInstructions.consume(e.element);if(n){var r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,i=this._visitSubInstructions(n,r,r.options);o!=i&&e.transformIntoNewTimeline(i)}e.previousNode=t},t.prototype.visitAnimateRef=function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t},t.prototype._visitSubInstructions=function(t,e,n){var r=e.currentTimeline.currentTime,o=r,i=null!=n.duration?l(n.duration):null,s=null!=n.delay?l(n.delay):null;return 0!==i&&t.forEach(function(t){var n=e.appendInstructionToTimeline(t,i,s);o=Math.max(o,n.duration+n.delay)}),o},t.prototype.visitReference=function(t,e){e.updateOptions(t.options,!0),t.animation.visit(this,e),e.previousNode=t},t.prototype.visitSequence=function(t,e){var n=this,r=e.subContextCount,o=e,i=t.options;if(i&&(i.params||i.delay)&&(o=e.createSubContext(i),o.transformIntoNewTimeline(),null!=i.delay)){o.previousNode instanceof Vt&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=ne);var s=l(i.delay);o.delayNextStep(s)}t.steps.length&&(t.steps.forEach(function(t){return t.visit(n,o)}),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>r&&o.transformIntoNewTimeline()),e.previousNode=t},t.prototype.visitGroup=function(t,e){var n=this,r=[],o=e.currentTimeline.currentTime,i=t.options&&t.options.delay?l(t.options.delay):0;t.steps.forEach(function(s){var a=e.createSubContext(t.options);i&&a.delayNextStep(i),s.visit(n,a),o=Math.max(o,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)}),e.transformIntoNewTimeline(o),e.previousNode=t},t.prototype.visitTiming=function(t,e){if(t instanceof Wt){return f(e.params?O(t.value,e.params,e.errors):t.value.toString(),e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,e){var n=e.currentAnimateTimings=this.visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());var o=t.style;o instanceof Ft?this.visitKeyframes(o,e):(e.incrementTime(n.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t},t.prototype.visitStyle=function(t,e){var n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var o=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(o):n.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t},t.prototype.visitKeyframes=function(t,e){var n=e.currentAnimateTimings,r=e.currentTimeline.duration,o=n.duration,i=e.createSubContext(),s=i.currentTimeline;s.easing=n.easing,t.styles.forEach(function(t){var n=t.offset||0;s.forwardTime(n*o),s.setStyles(t.styles,t.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(r+o),e.previousNode=t},t.prototype.visitQuery=function(t,e){var n=this,r=e.currentTimeline.currentTime,o=t.options||{},i=o.delay?l(o.delay):0;i&&(e.previousNode instanceof Vt||0==r&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ne);var s=r,a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=a.length;var u=null;a.forEach(function(r,o){e.currentQueryIndex=o;var a=e.createSubContext(t.options,r);i&&a.delayNextStep(i),r===e.element&&(u=a.currentTimeline),t.animation.visit(n,a),a.currentTimeline.applyStylesToKeyframe();var c=a.currentTimeline.currentTime;s=Math.max(s,c)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t},t.prototype.visitStagger=function(t,e){var n=e.parentContext,r=e.currentTimeline,o=t.timings,i=Math.abs(o.duration),s=i*(e.currentQueryTotal-1),a=i*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}var u=e.currentTimeline;a&&u.delayNextStep(a);var c=u.currentTime;t.animation.visit(this,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)},t}(),ne={},re=function(){function t(t,e,n,r,o,i){this._driver=t,this.element=e,this.subInstructions=n,this.errors=r,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ne,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=i||new oe(e,0),o.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,e){var n=this;if(t){var r=t,o=this.options;null!=r.duration&&(o.duration=l(r.duration)),null!=r.delay&&(o.delay=l(r.delay));var i=r.params;if(i){var s=o.params;s||(s=this.options.params={}),Object.keys(i).forEach(function(t){e&&s.hasOwnProperty(t)||(s[t]=O(i[t],s,n.errors))})}}},t.prototype._copyOptions=function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(this.options.params).forEach(function(t){n[t]=e[t]})}}return t},t.prototype.createSubContext=function(e,n,r){void 0===e&&(e=null);var o=n||this.element,i=new t(this._driver,o,this.subInstructions,this.errors,this.timelines,this.currentTimeline.fork(o,r||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=ne,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,e,n){var r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},o=new ie(t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,e,n,r,o,i){var s=[];if(r&&s.push(this.element),t.length>0){var a=1!=n,u=this._driver.query(this.element,t,a);0!==n&&(u=u.slice(0,n)),s.push.apply(s,u)}return o||0!=s.length||i.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),s},t}(),oe=function(){function t(t,e,n){this.element=t,this.startTime=e,this._elementTimelineStylesLookup=n,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}return t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t},t.prototype.fork=function(e,n){return this.applyStylesToKeyframe(),new t(e,n||this.currentTime,this._elementTimelineStylesLookup)},t.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){e._backFill[t]=e._globalTimelineStyles[t]||ft.a,e._currentKeyframe[t]=ft.a}),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,e,n,r){var o=this;e&&(this._previousKeyframe.easing=e);var i=r&&r.params||{},s=H(t,this._globalTimelineStyles);Object.keys(s).forEach(function(t){var e=O(s[t],i,n);o._pendingStyles[t]=e,o._localTimelineStyles.hasOwnProperty(t)||(o._backFill[t]=o._globalTimelineStyles.hasOwnProperty(t)?o._globalTimelineStyles[t]:ft.a),o._updateStyle(t,e)})},t.prototype.applyStylesToKeyframe=function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){var r=e[n];t._currentKeyframe[n]=r}),Object.keys(this._localTimelineStyles).forEach(function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])}))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)})},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var e=this;Object.keys(t._styleSummary).forEach(function(n){var r=e._styleSummary[n],o=t._styleSummary[n];(!r||o.time>r.time)&&e._updateStyle(n,o.value)})},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,o=[];this._keyframes.forEach(function(i,s){var a=v(i,!0);Object.keys(a).forEach(function(t){var r=a[t];r==ft.l?e.add(t):r==ft.a&&n.add(t)}),r||(a.offset=s/t.duration),o.push(a)});var i=e.size?C(e.values()):[],s=n.size?C(n.values()):[];if(r){var a=o[0],u=d(a);a.offset=0,u.offset=1,o=[a,u]}return V(this.element,o,i,s,this.duration,this.startTime,this.easing,!1)},t}(),ie=function(t){function e(e,n,r,o,i,s){void 0===s&&(s=!1);var a=t.call(this,e,i.delay)||this;return a.element=e,a.keyframes=n,a.preStyleProps=r,a.postStyleProps=o,a._stretchStartingKeyframe=s,a.timings={duration:i.duration,delay:i.delay,easing:i.easing},a}return pt.a(e,t),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var t=this.keyframes,e=this.timings,n=e.delay,r=e.duration,o=e.easing;if(this._stretchStartingKeyframe&&n){var i=[],s=r+n,a=n/s,u=v(t[0],!1);u.offset=0,i.push(u);var c=v(t[0],!1);c.offset=B(a),i.push(c);for(var l=t.length-1,p=1;p<=l;p++){var f=v(t[p],!1),h=f.offset,d=n+h*r;f.offset=B(d/s),i.push(f)}r=s,n=0,o="",t=i}return V(this.element,t,this.preStyleProps,this.postStyleProps,r,n,o,!0)},e}(oe),se=(function(){function t(t,e){this._driver=t;var n=[],r=R(e,n);if(n.length){var o="animation validation failed:\n"+n.join("\n");throw new Error(o)}this._animationAst=r}t.prototype.buildTimelines=function(t,e,n,r,o){var i=Array.isArray(e)?y(e):e,s=Array.isArray(n)?y(n):n,a=[];o=o||new te;var u=F(this._driver,t,this._animationAst,i,s,r,o,a);if(a.length){var c="animation building failed:\n"+a.join("\n");throw new Error(c)}return u}}(),function(){function t(){}return t}()),ae=(function(){function t(){}t.prototype.normalizePropertyName=function(t,e){return t},t.prototype.normalizeStyleValue=function(t,e,n,r){return n}}(),function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return pt.a(e,t),e.prototype.normalizePropertyName=function(t,e){return S(t)},e.prototype.normalizeStyleValue=function(t,e,n,r){var o="",i=n.toString().trim();if(ue[e]&&0!==n&&"0"!==n)if("number"==typeof n)o="px";else{var s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&r.push("Please provide a CSS unit value for "+t+":"+n)}return i+o},e}(se)),ue=function(t){var e={};return t.forEach(function(t){return e[t]=!0}),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")),ce={},le=function(){function t(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}return t.prototype.match=function(t,e){return q(this.ast.matchers,t,e)},t.prototype.buildStyles=function(t,e,n){var r=this._stateStyles["*"],o=this._stateStyles[t],i=r?r.buildStyles(e,n):{};return o?o.buildStyles(e,n):i},t.prototype.build=function(t,e,n,r,o,i,s){var a=[],c=this.ast.options&&this.ast.options.params||ce,l=o&&o.params||ce,p=this.buildStyles(n,l,a),f=i&&i.params||ce,h=this.buildStyles(r,f,a),d=new Set,y=new Map,v=new Map,m="void"===r,b={params:Object.assign({},c,f)},g=F(t,e,this.ast.animation,p,h,b,s,a);if(a.length)return U(e,this._triggerName,n,r,m,p,h,[],[],y,v,a);g.forEach(function(t){var n=t.element,r=u(y,n,{});t.preStyleProps.forEach(function(t){return r[t]=!0});var o=u(v,n,{});t.postStyleProps.forEach(function(t){return o[t]=!0}),n!==e&&d.add(n)});var _=C(d.values());return U(e,this._triggerName,n,r,m,p,h,g,_,y,v)},t}(),pe=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(t,e){var n={},r=d(this.defaultParams);return Object.keys(t).forEach(function(e){var n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var o=t;Object.keys(o).forEach(function(t){var i=o[t];i.length>1&&(i=O(i,r,e)),n[t]=i})}}),n},t}(),fe=function(){function t(t,e){var n=this;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(function(t){var e=t.options&&t.options.params||{};n.states[t.name]=new pe(t.style,e)}),W(this.states,"true","1"),W(this.states,"false","0"),e.transitions.forEach(function(e){n.transitionFactories.push(new le(t,e,n.states))}),this.fallbackTransition=z(t,this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,e){return this.transitionFactories.find(function(n){return n.match(t,e)})||null},t.prototype.matchStyles=function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)},t}(),he=new te,de=function(){function t(t,e){this._driver=t,this._normalizer=e,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,e){var n=[],r=R(e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=r},t.prototype._buildPlayer=function(t,e,n){var r=t.element,i=o(this._driver,this._normalizer,r,t.keyframes,e,n);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[])},t.prototype.create=function(t,e,n){var o=this;void 0===n&&(n={});var i,s=[],a=this._animations[t],c=new Map;if(a?(i=F(this._driver,e,a,{},{},n,he,s),i.forEach(function(t){var e=u(c,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=null})})):(s.push("The requested animation doesn't exist or has already been destroyed"),i=[]),s.length)throw new Error("Unable to create the animation due to the following errors: "+s.join("\n"));c.forEach(function(t,e){Object.keys(t).forEach(function(n){t[n]=o._driver.computeStyle(e,n,ft.a)})});var l=i.map(function(t){var e=c.get(t.element);return o._buildPlayer(t,{},e)}),p=r(l);return this._playersById[t]=p,p.onDestroy(function(){return o.destroy(t)}),this.players.push(p),p},t.prototype.destroy=function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)},t.prototype._getPlayer=function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e},t.prototype.listen=function(t,e,n,r){var o=a(e,"","","");return i(this._getPlayer(t),n,o,r),function(){}},t.prototype.command=function(t,e,n,r){if("register"==n)return void this.register(t,r[0]);if("create"==n){var o=r[0]||{};return void this.create(t,e,o)}var i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}},t}(),ye=[],ve={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!1},me={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!0},be="__ng_removed",ge=function(){function t(t){var e=t&&t.hasOwnProperty("value"),n=e?t.value:t;if(this.value=Q(n),e){var r=d(t);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach(function(t){null==n[t]&&(n[t]=e[t])})}},t}(),_e=new ge("void"),we=new ge("DELETED"),Oe=function(){function t(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,et(e,this._hostClassName)}return t.prototype.listen=function(t,e,n,r){var o=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+e+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+e+'" because the provided event is undefined!');if(!J(n))throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+e+'" is not supported!');var i=u(this._elementListeners,t,[]),s={name:e,phase:n,callback:r};i.push(s);var a=u(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(et(t,"ng-trigger"),et(t,"ng-trigger-"+e),a[e]=null),function(){o._engine.afterFlush(function(){var t=i.indexOf(s);t>=0&&i.splice(t,1),o._triggers[e]||delete a[e]})}},t.prototype.register=function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)},t.prototype._getTrigger=function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e},t.prototype.trigger=function(t,e,n,r){var o=this;void 0===r&&(r=!0);var i=this._getTrigger(e),s=new Se(this.id,e,t),a=this._engine.statesByElement.get(t);a||(et(t,"ng-trigger"),et(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,a={}));var c=a[e],l=new ge(n);if(!(n&&n.hasOwnProperty("value"))&&c&&l.absorbOptions(c.options),a[e]=l,c){if(c===we)return s}else c=_e;if("void"===l.value||c.value!==l.value){var p=u(this._engine.playersByElement,t,[]);p.forEach(function(t){t.namespaceId==o.id&&t.triggerName==e&&t.queued&&t.destroy()});var f=i.matchTransition(c.value,l.value),h=!1;if(!f){if(!r)return;f=i.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:f,fromState:c,toState:l,player:s,isFallbackTransition:h}),h||(et(t,"ng-animate-queued"),s.onStart(function(){nt(t,"ng-animate-queued")})),s.onDone(function(){var e=o.players.indexOf(s);e>=0&&o.players.splice(e,1);var n=o._engine.playersByElement.get(t);if(n){var r=n.indexOf(s);r>=0&&n.splice(r,1)}}),this.players.push(s),p.push(s),s}if(!at(c.params,l.params)){var d=[],y=i.matchStyles(c.value,c.params,d),v=i.matchStyles(l.value,l.params,d);d.length?this._engine.reportError(d):this._engine.afterFlush(function(){b(t,y),m(t,v)})}},t.prototype.deregister=function(t){var e=this;delete this._triggers[t],this._engine.statesByElement.forEach(function(e,n){delete e[t]}),this._elementListeners.forEach(function(n,r){e._elementListeners.set(r,n.filter(function(e){return e.name!=t}))})},t.prototype.clearElementCache=function(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);var e=this._engine.playersByElement.get(t);e&&(e.forEach(function(t){return t.destroy()}),this._engine.playersByElement.delete(t))},t.prototype._destroyInnerNodes=function(t,e,n){var r=this;void 0===n&&(n=!1),this._engine.driver.query(t,Et,!0).forEach(function(t){if(n&&tt(t,r._hostClassName)){var o=r._engine.namespacesByHostElement.get(t);o&&o.removeNode(t,e,!0),r.removeNode(t,e,!0)}else r.clearElementCache(t)})},t.prototype.removeNode=function(t,e,n){var o=this,i=this._engine;!n&&t.childElementCount&&this._destroyInnerNodes(t,e,!0);var s=i.statesByElement.get(t);if(s){var a=[];if(Object.keys(s).forEach(function(e){if(o._triggers[e]){var n=o.trigger(t,e,"void",!1);n&&a.push(n)}}),a.length)return i.markElementAsRemoved(this.id,t,!0,e),void r(a).onDone(function(){return i.processLeaveNode(t)})}var u=!1;if(i.totalAnimations){var c=i.players.length?i.playersByQueriedElement.get(t):[];if(c&&c.length)u=!0;else for(var l=t;l=l.parentNode;){var p=i.statesByElement.get(l);if(p){u=!0;break}}}var f=this._elementListeners.get(t);if(f){var h=new Set;f.forEach(function(e){var n=e.name;if(!h.has(n)){h.add(n);var r=o._triggers[n],s=r.fallbackTransition,a=i.statesByElement.get(t),u=a[n]||_e,c=new ge("void"),l=new Se(o.id,n,t);o._engine.totalQueuedPlayers++,o._queue.push({element:t,triggerName:n,transition:s,fromState:u,toState:c,player:l,isFallbackTransition:!0})}})}u?i.markElementAsRemoved(this.id,t,!1,e):(i.afterFlush(function(){return o.clearElementCache(t)}),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))},t.prototype.insertNode=function(t,e){et(t,this._hostClassName)},t.prototype.drainQueuedTransitions=function(t){var e=this,n=[];return this._queue.forEach(function(r){var o=r.player;if(!o.destroyed){var s=r.element,u=e._elementListeners.get(s);u&&u.forEach(function(e){if(e.name==r.triggerName){var n=a(s,r.triggerName,r.fromState.value,r.toState.value);n._data=t,i(r.player,e.phase,n,e.callback)}}),o.markedForDestroy?e._engine.afterFlush(function(){o.destroy()}):n.push(r)}}),this._queue=[],n.sort(function(t,n){var r=t.transition.ast.depCount,o=n.transition.ast.depCount;return 0==r||0==o?r-o:e._engine.driver.containsElement(t.element,n.element)?1:-1})},t.prototype.destroy=function(t){this.players.forEach(function(t){return t.destroy()}),this._destroyInnerNodes(this.hostElement,t)},t.prototype.elementContainsData=function(t){var e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(function(e){return e.element===t})||e},t}(),Ce=function(){function t(t,e){this.driver=t,this._normalizer=e,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(t,e){}}return t.prototype._onRemovalComplete=function(t,e){this.onRemovalComplete(t,e)},Object.defineProperty(t.prototype,"queuedPlayers",{get:function(){var t=[];return this._namespaceList.forEach(function(e){e.players.forEach(function(e){e.queued&&t.push(e)})}),t},enumerable:!0,configurable:!0}),t.prototype.createNamespace=function(t,e){var n=new Oe(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n},t.prototype._balanceNamespaceList=function(t,e){var n=this._namespaceList.length-1;if(n>=0){for(var r=!1,o=n;o>=0;o--){var i=this._namespaceList[o];if(this.driver.containsElement(i.hostElement,e)){this._namespaceList.splice(o+1,0,t),r=!0;break}}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t},t.prototype.register=function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n},t.prototype.registerTrigger=function(t,e,n){var r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++},t.prototype.destroy=function(t,e){var n=this;if(t){var r=this._fetchNamespace(t);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(r);e>=0&&n._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(e)})}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.trigger=function(t,e,n,r){return!!Z(e)&&(this._fetchNamespace(t).trigger(e,n,r),!0)},t.prototype.insertNode=function(t,e,n,r){if(Z(e)){var o=e[be];o&&o.setForRemoval&&(o.setForRemoval=!1),t&&this._fetchNamespace(t).insertNode(e,n),r&&this.collectEnterElement(e)}},t.prototype.collectEnterElement=function(t){this.collectedEnterElements.push(t)},t.prototype.markElementAsDisabled=function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),et(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),nt(t,"ng-animate-disabled"))},t.prototype.removeNode=function(t,e,n,r){if(!Z(e))return void this._onRemovalComplete(e,n);var o=t?this._fetchNamespace(t):null;o?o.removeNode(e,n,r):this.markElementAsRemoved(t,e,!1,n)},t.prototype.markElementAsRemoved=function(t,e,n,r){this.collectedLeaveElements.push(e),e[be]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},t.prototype.listen=function(t,e,n,r,o){return Z(e)?this._fetchNamespace(t).listen(e,n,r,o):function(){}},t.prototype._buildInstruction=function(t,e){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,t.fromState.options,t.toState.options,e)},t.prototype.destroyInnerAnimations=function(t){var e=this,n=this.driver.query(t,Et,!0);n.forEach(function(t){var n=e.playersByElement.get(t);n&&n.forEach(function(t){t.queued?t.markedForDestroy=!0:t.destroy()});var r=e.statesByElement.get(t);r&&Object.keys(r).forEach(function(t){return r[t]=we})}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,Tt,!0),n.length&&n.forEach(function(t){var n=e.playersByQueriedElement.get(t);n&&n.forEach(function(t){return t.finish()})}))},t.prototype.whenRenderingDone=function(){var t=this;return new Promise(function(e){if(t.players.length)return r(t.players).onDone(function(){return e()});e()})},t.prototype.processLeaveNode=function(t){var e=this,n=t[be];if(n&&n.setForRemoval){if(t[be]=ve,n.namespaceId){this.destroyInnerAnimations(t);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(function(n){e.markElementAsDisabled(t,!1)})},t.prototype.flush=function(t){var e=this;void 0===t&&(t=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,n){return e._balanceNamespaceList(t,n)}),this.newHostElements.clear()),this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var o=[];try{n=this._flushAnimations(o,t)}finally{for(var i=0;i=0;y--){this._namespaceList[y].drainQueuedTransitions(e).forEach(function(t){var e=t.player;O.push(e);var r=t.element;if(!h||!n.driver.containsElement(h,r))return void e.destroy();var s=n._buildInstruction(t,o);if(s.errors&&s.errors.length)return void C.push(s);if(t.isFallbackTransition)return e.onStart(function(){return b(r,s.fromStyles)}),e.onDestroy(function(){return m(r,s.toStyles)}),void i.push(e);s.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),o.append(r,s.timelines);var f={instruction:s,player:e,element:r};a.push(f),s.queriedElements.forEach(function(t){return u(c,t,[]).push(e)}),s.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var r=l.get(e);r||l.set(e,r=new Set),n.forEach(function(t){return r.add(t)})}}),s.postStyleProps.forEach(function(t,e){var n=Object.keys(t),r=p.get(e);r||p.set(e,r=new Set),n.forEach(function(t){return r.add(t)})})})}if(C.length){var S=[];C.forEach(function(t){S.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach(function(t){return S.push("- "+t+"\n")})}),O.forEach(function(t){return t.destroy()}),this.reportError(S)}for(var x=new Set,y=0;y0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new ft.d},t}(),Se=function(){function t(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new ft.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this._destroyed=!1,this.markedForDestroy=!1}return Object.defineProperty(t.prototype,"queued",{get:function(){return 0==this._containsRealPlayer},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t.prototype.setRealPlayer=function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(n){e._queuedCallbacks[n].forEach(function(e){return i(t,n,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0)},t.prototype.getRealPlayer=function(){return this._player},t.prototype._queueEvent=function(t,e){u(this._queuedCallbacks,t,[]).push(e)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this._destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._player.totalTime},enumerable:!0,configurable:!0}),t}(),xe="$$classes",Ee=function(){function t(t,e){var n=this;this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new Ce(t,e),this._timelineEngine=new de(t,e),this._transitionEngine.onRemovalComplete=function(t,e){return n.onRemovalComplete(t,e)}}return t.prototype.registerTrigger=function(t,e,n,r,o){var i=t+"-"+r,s=this._triggerCache[i];if(!s){var a=[],u=R(o,a);if(a.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+a.join("\n - "));s=K(r,u),this._triggerCache[i]=s}this._transitionEngine.registerTrigger(e,r,s)},t.prototype.register=function(t,e){this._transitionEngine.register(t,e)},t.prototype.destroy=function(t,e){this._transitionEngine.destroy(t,e)},t.prototype.onInsert=function(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)},t.prototype.onRemove=function(t,e,n){this._transitionEngine.removeNode(t,e,n)},t.prototype.disableAnimations=function(t,e){this._transitionEngine.markElementAsDisabled(t,e)},t.prototype.process=function(t,e,n,r){if("@"==n.charAt(0)){var o=c(n),i=o[0],s=o[1],a=r;this._timelineEngine.command(i,e,s,a)}else this._transitionEngine.trigger(t,e,n,r)},t.prototype.listen=function(t,e,n,r,o){if("@"==n.charAt(0)){var i=c(n),s=i[0],a=i[1];return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(t,e,n,r,o)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}(),Te=function(){function t(t,e,n,r){void 0===r&&(r=[]);var o=this;this.element=t,this.keyframes=e,this.options=n,this.previousPlayers=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.previousStyles={},this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay,x(this._duration,this._delay)&&r.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return o.previousStyles[t]=e[t]})})}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes.map(function(t){return v(t,!1)}),n=Object.keys(this.previousStyles);if(n.length){var r=e[0],o=[];if(n.forEach(function(e){r.hasOwnProperty(e)||o.push(e),r[e]=t.previousStyles[e]}),o.length)for(var i=this,s=1;s=0&&t/g,">")}function x(t){jt.attributeMap(t).forEach(function(e,n){"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||jt.removeAttribute(t,n)});for(var e=0,n=jt.childNodesAsList(t);e0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r-1},e}(st);Ot.decorators=[{type:M.Injectable}],Ot.ctorParameters=function(){return[{type:void 0,decorators:[{type:M.Inject,args:[z]}]},{type:wt,decorators:[{type:M.Inject,args:[_t]}]}]};var Ct=["alt","control","meta","shift"],St={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},xt=function(t){function e(e){return t.call(this,e)||this}return k.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(Ct.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"),Ct.forEach(function(r){if(r!=n){(0,St[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);xt.decorators=[{type:M.Injectable}],xt.ctorParameters=function(){return[{type:void 0,decorators:[{type:M.Inject,args:[z]}]}]};var Et=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Tt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,Pt=null,jt=null,At=w("area,br,col,hr,img,wbr"),Rt=w("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),It=w("rp,rt"),kt=O(It,Rt),Nt=O(Rt,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")),Mt=O(It,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")),Lt=O(At,Nt,Mt,kt),Dt=w("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Vt=w("srcset"),Ft=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"),Bt=O(Dt,Vt,Ft),Ht=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild;e;)if(jt.isElementNode(e)?this.startElement(e):jt.isTextNode(e)?this.chars(jt.nodeValue(e)):this.sanitizedSomething=!0,jt.firstChild(e))e=jt.firstChild(e);else for(;e;){jt.isElementNode(e)&&this.endElement(e);var n=C(e,jt.nextSibling(e));if(n){e=n;break}e=C(e,jt.parentElement(e))}return this.buf.join("")},t.prototype.startElement=function(t){var e=this,n=jt.nodeName(t).toLowerCase();if(!Lt.hasOwnProperty(n))return void(this.sanitizedSomething=!0);this.buf.push("<"),this.buf.push(n),jt.attributeMap(t).forEach(function(t,n){var r=n.toLowerCase();if(!Bt.hasOwnProperty(r))return void(e.sanitizedSomething=!0);Dt[r]&&(t=b(t)),Vt[r]&&(t=g(t)),e.buf.push(" "),e.buf.push(n),e.buf.push('="'),e.buf.push(S(t)),e.buf.push('"')}),this.buf.push(">")},t.prototype.endElement=function(t){var e=jt.nodeName(t).toLowerCase();Lt.hasOwnProperty(e)&&!At.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(S(t))},t}(),Ut=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qt=/([^\#-~ |!])/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\(([^)]+)\)$/,Wt=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}(),Gt=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return k.a(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case M.SecurityContext.NONE:return e;case M.SecurityContext.HTML:return e instanceof Zt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),E(this._doc,String(e)));case M.SecurityContext.STYLE:return e instanceof Jt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),P(e));case M.SecurityContext.SCRIPT:if(e instanceof Xt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case M.SecurityContext.URL:return e instanceof $t||e instanceof Yt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),b(String(e)));case M.SecurityContext.RESOURCE_URL:if(e instanceof $t)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 Qt)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 Zt(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new Jt(t)},e.prototype.bypassSecurityTrustScript=function(t){return new Xt(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new Yt(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new $t(t)},e}(Wt);Gt.decorators=[{type:M.Injectable}],Gt.ctorParameters=function(){return[{type:void 0,decorators:[{type:M.Inject,args:[z]}]}]};var Qt=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}(),Zt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return k.a(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(Qt),Jt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return k.a(e,t),e.prototype.getTypeName=function(){return"Style"},e}(Qt),Xt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return k.a(e,t),e.prototype.getTypeName=function(){return"Script"},e}(Qt),Yt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return k.a(e,t),e.prototype.getTypeName=function(){return"URL"},e}(Qt),$t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return k.a(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(Qt),te=[{provide:M.PLATFORM_ID,useValue:N["\u0275PLATFORM_BROWSER_ID"]},{provide:M.PLATFORM_INITIALIZER,useValue:j,multi:!0},{provide:N.PlatformLocation,useClass:W},{provide:z,useFactory:R,deps:[]}],ee=[{provide:M.Sanitizer,useExisting:Wt},{provide:Wt,useClass:Gt}],ne=Object(M.createPlatformFactory)(M.platformCore,"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:M.APP_ID,useValue:e.appId},{provide:Q,useExisting:M.APP_ID},Z]}},t}();re.decorators=[{type:M.NgModule,args:[{providers:[ee,{provide:M.ErrorHandler,useFactory:A,deps:[]},{provide:ot,useClass:bt,multi:!0},{provide:ot,useClass:xt,multi:!0},{provide:ot,useClass:Ot,multi:!0},{provide:_t,useClass:wt},ht,{provide:M.RendererFactory2,useExisting:ht},{provide:at,useExisting:ut},ut,M.Testability,it,rt,G,X],exports:[N.CommonModule,M.ApplicationModule]}]}],re.ctorParameters=function(){return[{type:re,decorators:[{type:M.Optional},{type:M.SkipSelf}]}]};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(M.ApplicationRef)}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 M.Version("4.4.5")},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},fdVa:function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),this.lift(new c(t,e,n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("RdI5"),s=n("XRvs"),a=n("ktfo"),u=n("yW9Z");e.mergeScan=r;var c=function(){function t(t,e,n){this.accumulator=t,this.seed=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.accumulator,this.seed,this.concurrent))},t}();e.MergeScanOperator=c;var l=function(t){function e(e,n,r,o){t.call(this,e),this.accumulator=n,this.acc=r,this.concurrent=o,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return o(e,t),e.prototype._next=function(t){if(this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e}(u.OuterSubscriber);e.MergeScanSubscriber=l},fxBd:function(t,e,n){"use strict";function r(t){return 0===t?new a.EmptyObservable:this.lift(new u(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+"),s=n("uT+d"),a=n("fcnB");e.takeLast=r;var u=function(){function t(t){if(this.total=t,this.total<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.total))},t}(),c=function(t){function e(e,n){t.call(this,e),this.total=n,this.ring=new Array,this.count=0}return o(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;if(e.length0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,o=0;o0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new s.EmptyError)},e}(i.Subscriber)},gbhw:function(t,e,n){"use strict";var r=n("bKpL"),o=n("422b");r.Observable.prototype.filter=o.filter},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},gvep: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("rlar"),i=n("Lhvy"),s=function(t){function e(e){t.call(this),this._value=e}return r(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.ObjectUnsubscribedError;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(o.Subject);e.BehaviorSubject=s},"h+is":function(t,e,n){"use strict";var r=n("bKpL"),o=n("9tb5");r.Observable.prototype.exhaustMap=o.exhaustMap},"hbO+":function(t,e,n){"use strict";var r=n("bKpL"),o=n("slZm");r.Observable.empty=o.empty},i4mq:function(t,e,n){"use strict";var r=n("bKpL"),o=n("zbre");r.Observable.prototype.bufferCount=o.bufferCount},iDKa:function(t,e,n){"use strict";function r(t){return this.lift(new s(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.skip=r;var s=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.total))},t}(),a=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return o(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(i.Subscriber)},iDwB:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("/oeL"),o=n("4zAq"),i=function(){function t(t,e,n){t.resolveDropdownMenu({templateRef:n,viewContainer:e})}return t.decorators=[{type:r.Directive,args:[{selector:"[bsDropdownMenu],[dropdownMenu]",exportAs:"bs-dropdown-menu"}]}],t.ctorParameters=function(){return[{type:o.a},{type:r.ViewContainerRef},{type:r.TemplateRef}]},t}()},iH09: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=n("xFbG"),s=n("Xga8"),a=n("p2y2"),u=function(t){function e(e,n){t.call(this,function(t){var e=this,n=e.logSubscribedFrame();return t.add(new i.Subscription(function(){e.logUnsubscribedFrame(n)})),e.scheduleMessages(t),t}),this.messages=e,this.subscriptions=[],this.scheduler=n}return r(e,t),e.prototype.scheduleMessages=function(t){for(var e=this.messages.length,n=0;n=2&&(n=!0),this.lift(new s(t,e,n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.scan=r;var s=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.accumulator,this.seed,this.hasSeed))},t}(),a=function(t){function e(e,n,r,o){t.call(this,e),this.accumulator=n,this._seed=r,this.hasSeed=o,this.index=0}return o(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(i.Subscriber)},ktfo:function(t,e,n){"use strict";function r(t,e,n,r){var f=new l.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 h=0,d=e.length;h\n \n \n '}]}],t.ctorParameters=[],t}();e.ModalBodyComponent=o},okgN:function(t,e,n){"use strict";var r=n("bKpL"),o=n("pOTC");r.Observable.if=o._if},olOS:function(t,e,n){"use strict";function r(t){return void 0===t&&(t=s.async),this.lift(new u(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+"),s=n("IhB/");e.timestamp=r;var a=function(){function t(t,e){this.value=t,this.timestamp=e}return t}();e.Timestamp=a;var u=function(){function t(t){this.scheduler=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.scheduler))},t}(),c=function(t){function e(e,n){t.call(this,e),this.scheduler=n}return o(e,t),e.prototype._next=function(t){var e=this.scheduler.now();this.destination.next(new a(t,e))},e}(i.Subscriber)},olrH:function(t,e,n){"use strict";function r(t,e){return this.lift(new o.MergeMapToOperator(t,e,1))}var o=n("RvTY");e.concatMapTo=r},p2y2:function(t,e,n){"use strict";function r(t,e){for(var n=0,r=e.length;n-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?K.One:K.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?K.One:K.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===o||1===n?K.One:K.Other;case"ar":return 0===n?K.Zero:1===n?K.One:2===n?K.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?K.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?K.Many:K.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?K.One:K.Other;case"be":return n%10==1&&n%100!=11?K.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?K.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?K.Many:K.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?K.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?K.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)?K.Few:0!==n&&n%1e6==0?K.Many:K.Other;case"bs":case"hr":case"sr":return 0===i&&o%10==1&&o%100!=11||s%10==1&&s%100!=11?K.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)?K.Few:K.Other;case"cs":case"sk":return 1===o&&0===i?K.One:o===Math.floor(o)&&o>=2&&o<=4&&0===i?K.Few:0!==i?K.Many:K.Other;case"cy":return 0===n?K.Zero:1===n?K.One:2===n?K.Two:3===n?K.Few:6===n?K.Many:K.Other;case"da":return 1===n||0!==a&&(0===o||1===o)?K.One:K.Other;case"dsb":case"hsb":return 0===i&&o%100==1||s%100==1?K.One:0===i&&o%100==2||s%100==2?K.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?K.Few:K.Other;case"ff":case"fr":case"hy":case"kab":return 0===o||1===o?K.One:K.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?K.One:K.Other;case"ga":return 1===n?K.One:2===n?K.Two:n===Math.floor(n)&&n>=3&&n<=6?K.Few:n===Math.floor(n)&&n>=7&&n<=10?K.Many:K.Other;case"gd":return 1===n||11===n?K.One:2===n||12===n?K.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?K.Few:K.Other;case"gv":return 0===i&&o%10==1?K.One:0===i&&o%10==2?K.Two:0!==i||o%100!=0&&o%100!=20&&o%100!=40&&o%100!=60&&o%100!=80?0!==i?K.Many:K.Other:K.Few;case"he":return 1===o&&0===i?K.One:2===o&&0===i?K.Two:0!==i||n>=0&&n<=10||n%10!=0?K.Other:K.Many;case"is":return 0===a&&o%10==1&&o%100!=11||0!==a?K.One:K.Other;case"ksh":return 0===n?K.Zero:1===n?K.One:K.Other;case"kw":case"naq":case"se":case"smn":return 1===n?K.One:2===n?K.Two:K.Other;case"lag":return 0===n?K.Zero:0!==o&&1!==o||0===n?K.Other:K.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)?K.Few:0!==s?K.Many:K.Other:K.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?K.Zero:n%10==1&&n%100!=11||2===i&&s%10==1&&s%100!=11||2!==i&&s%10==1?K.One:K.Other;case"mk":return 0===i&&o%10==1||s%10==1?K.One:K.Other;case"mt":return 1===n?K.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?K.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?K.Many:K.Other;case"pl":return 1===o&&0===i?K.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?K.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?K.Many:K.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?K.One:K.Other;case"ro":return 1===o&&0===i?K.One:0!==i||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?K.Few:K.Other;case"ru":case"uk":return 0===i&&o%10==1&&o%100!=11?K.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?K.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?K.Many:K.Other;case"shi":return 0===o||1===n?K.One:n===Math.floor(n)&&n>=2&&n<=10?K.Few:K.Other;case"si":return 0===n||1===n||0===o&&1===s?K.One:K.Other;case"sl":return 0===i&&o%100==1?K.One:0===i&&o%100==2?K.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||0!==i?K.Few:K.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?K.One:K.Other;default:return K.Other}}function a(t,e){e=encodeURIComponent(e);for(var n=0,r=t.split(";");n1?"short":"narrow":"long",n}function b(t){return t.reduce(function(t,e){return Object.assign({},t,e)},{})}function g(t){return function(e,n){return h(e,n,t)}}function _(t,e,n){var r=gt[t];if(r)return r(e,n);var o=t,i=wt.get(o);if(!i){i=[];var s=void 0;bt.exec(t);for(var a=t;a;)s=bt.exec(a),s?(i=i.concat(s.slice(1)),a=i.pop()):(i.push(a),a=null);wt.set(o,i)}return i.reduce(function(t,r){var o=_t[r];return t+(o?o(e,n):w(r))},"")}function w(t){return"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}function O(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&&S(n)?+n:n))throw c(t,n);var a=void 0,u=void 0,l=void 0;if(r!==vt.Currency&&(a=1,u=0,l=3),o){var p=o.match(Ct);if(null===p)throw new Error(o+" is not a valid digit info for number pipes");null!=p[1]&&(a=C(p[1])),null!=p[3]&&(u=C(p[3])),null!=p[5]&&(l=C(p[5]))}return mt.format(n,e,r,{minimumIntegerDigits:a,minimumFractionDigits:u,maximumFractionDigits:l,currency:i,currencyAsSymbol:s})}function C(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function S(t){return!isNaN(t-parseFloat(t))}function x(t){return null==t||""===t}function E(t){return t instanceof Date&&!isNaN(t.valueOf())}function T(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=P(t[9]+t[10]),r=P(t[9]+t[11])),o.call(e,P(t[1]),P(t[2])-1,P(t[3]));var s=P(t[4]||"0")-n,a=P(t[5]||"0")-r,u=P(t[6]||"0"),c=Math.round(1e3*parseFloat("0."+(t[7]||0)));return i.call(e,s,a,u,c),e}function P(t){return parseInt(t,10)}function j(t){return t===Vt}function A(t){return t===Ft}function R(t){return t===Bt}function I(t){return t===Ht}Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"NgLocaleLocalization",function(){return q}),n.d(e,"NgLocalization",function(){return U}),n.d(e,"\u0275parseCookieValue",function(){return a}),n.d(e,"CommonModule",function(){return Mt}),n.d(e,"DeprecatedI18NPipesModule",function(){return Lt}),n.d(e,"NgClass",function(){return z}),n.d(e,"NgFor",function(){return J}),n.d(e,"NgForOf",function(){return Q}),n.d(e,"NgForOfContext",function(){return G}),n.d(e,"NgIf",function(){return X}),n.d(e,"NgIfContext",function(){return Y}),n.d(e,"NgPlural",function(){return rt}),n.d(e,"NgPluralCase",function(){return ot}),n.d(e,"NgStyle",function(){return it}),n.d(e,"NgSwitch",function(){return tt}),n.d(e,"NgSwitchCase",function(){return et}),n.d(e,"NgSwitchDefault",function(){return nt}),n.d(e,"NgTemplateOutlet",function(){return st}),n.d(e,"NgComponentOutlet",function(){return W}),n.d(e,"DOCUMENT",function(){return Dt}),n.d(e,"AsyncPipe",function(){return ft}),n.d(e,"DatePipe",function(){return Pt}),n.d(e,"I18nPluralPipe",function(){return At}),n.d(e,"I18nSelectPipe",function(){return Rt}),n.d(e,"JsonPipe",function(){return It}),n.d(e,"LowerCasePipe",function(){return ht}),n.d(e,"CurrencyPipe",function(){return Et}),n.d(e,"DecimalPipe",function(){return St}),n.d(e,"PercentPipe",function(){return xt}),n.d(e,"SlicePipe",function(){return kt}),n.d(e,"UpperCasePipe",function(){return yt}),n.d(e,"TitleCasePipe",function(){return dt}),n.d(e,"\u0275PLATFORM_BROWSER_ID",function(){return Vt}),n.d(e,"\u0275PLATFORM_SERVER_ID",function(){return Ft}),n.d(e,"\u0275PLATFORM_WORKER_APP_ID",function(){return Bt}),n.d(e,"\u0275PLATFORM_WORKER_UI_ID",function(){return Ht}),n.d(e,"isPlatformBrowser",function(){return j}),n.d(e,"isPlatformServer",function(){return A}),n.d(e,"isPlatformWorkerApp",function(){return R}),n.d(e,"isPlatformWorkerUi",function(){return I}),n.d(e,"VERSION",function(){return Ut}),n.d(e,"PlatformLocation",function(){return M}),n.d(e,"LOCATION_INITIALIZED",function(){return L}),n.d(e,"LocationStrategy",function(){return D}),n.d(e,"APP_BASE_HREF",function(){return V}),n.d(e,"HashLocationStrategy",function(){return B}),n.d(e,"PathLocationStrategy",function(){return H}),n.d(e,"Location",function(){return F}),n.d(e,"\u0275a",function(){return at}),n.d(e,"\u0275b",function(){return Nt});var k=n("6Xbx"),N=n("/oeL"),M=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}(),L=new N.InjectionToken("Location Initialized"),D=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}(),V=new N.InjectionToken("appBaseHref"),F=function(){function t(e){var n=this;this._subject=new N.EventEmitter,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}();F.decorators=[{type:N.Injectable}],F.ctorParameters=function(){return[{type:D}]};var B=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 k.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=F.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+F.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+F.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}(D);B.decorators=[{type:N.Injectable}],B.ctorParameters=function(){return[{type:M},{type:void 0,decorators:[{type:N.Optional},{type:N.Inject,args:[V]}]}]};var H=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 k.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 F.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+F.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+F.normalizeQueryParams(r));this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+F.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(D);H.decorators=[{type:N.Injectable}],H.ctorParameters=function(){return[{type:M},{type:void 0,decorators:[{type:N.Optional},{type:N.Inject,args:[V]}]}]};var U=function(){function t(){}return t.prototype.getPluralCategory=function(t){},t}(),q=function(t){function e(e){var n=t.call(this)||this;return n.locale=e,n}return k.a(e,t),e.prototype.getPluralCategory=function(t){switch(s(this.locale,t)){case K.Zero:return"zero";case K.One:return"one";case K.Two:return"two";case K.Few:return"few";case K.Many:return"many";default:return"other"}},e}(U);q.decorators=[{type:N.Injectable}],q.ctorParameters=function(){return[{type:void 0,decorators:[{type:N.Inject,args:[N.LOCALE_ID]}]}]};var K={};K.Zero=0,K.One=1,K.Two=2,K.Few=3,K.Many=4,K.Other=5,K[K.Zero]="Zero",K[K.One]="One",K[K.Two]="Two",K[K.Few]="Few",K[K.Many]="Many",K[K.Other]="Other";var z=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._applyInitialClasses(!0),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyInitialClasses(!1),this._applyClasses(this._rawClass,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._cleanupClasses(this._rawClass),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(N["\u0275isListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._cleanupClasses=function(t){this._applyClasses(t,!0),this._applyInitialClasses(!1)},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(N["\u0275stringify"])(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}();z.decorators=[{type:N.Directive,args:[{selector:"[ngClass]"}]}],z.ctorParameters=function(){return[{type:N.IterableDiffers},{type:N.KeyValueDiffers},{type:N.ElementRef},{type:N.Renderer}]},z.propDecorators={klass:[{type:N.Input,args:["class"]}],ngClass:[{type:N.Input}]};var W=function(){function t(t){this._viewContainerRef=t,this._componentRef=null,this._moduleRef=null}return t.prototype.ngOnChanges=function(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=e.get(N.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var r=this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(N.ComponentFactoryResolver),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}();W.decorators=[{type:N.Directive,args:[{selector:"[ngComponentOutlet]"}]}],W.ctorParameters=function(){return[{type:N.ViewContainerRef}]},W.propDecorators={ngComponentOutlet:[{type:N.Input}],ngComponentOutletInjector:[{type:N.Input}],ngComponentOutletContent:[{type:N.Input}],ngComponentOutletNgModuleFactory:[{type:N.Input}]};var G=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}(),Q=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._differ=null}return Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Object(N.isDevMode)()&&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 G(null,e.ngForOf,-1,-1),o),s=new Z(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 Z(t,i);n.push(s)}});for(var r=0;r0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=i.AnimationFrame.requestAnimationFrame(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(i.AnimationFrame.cancelAnimationFrame(n),e.scheduled=void 0)},e}(o.AsyncAction);e.AnimationFrameAction=s},rAcl:function(t,e,n){"use strict";var r=n("Qv0T");e.pairs=r.PairsObservable.create},rDIt:function(t,e,n){"use strict";function r(t,e,n){return this.lift(new s(t,e,n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e._do=r;var s=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.nextOrObserver,this.error,this.complete))},t}(),a=function(t){function e(e,n,r,o){t.call(this,e);var s=new i.Subscriber(n,r,o);s.syncErrorThrowable=!0,this.add(s),this.safeSubscriber=s}return o(e,t),e.prototype._next=function(t){var e=this.safeSubscriber;e.next(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.next(t)},e.prototype._error=function(t){var e=this.safeSubscriber;e.error(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.error(t)},e.prototype._complete=function(){var t=this.safeSubscriber;t.complete(),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.complete()},e}(i.Subscriber)},rf3q:function(t,e,n){"use strict";function r(t,e,n){if(t){if(t instanceof o.Subscriber)return t;if(t[i.rxSubscriber])return t[i.rxSubscriber]()}return t||e||n?new o.Subscriber(t,e,n):new o.Subscriber(s.empty)}var o=n("T14+"),i=n("dkwD"),s=n("LiYJ");e.toSubscriber=r},rlar: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=n("T14+"),s=n("xFbG"),a=n("Lhvy"),u=n("g0Kb"),c=n("dkwD"),l=function(t){function e(e){t.call(this,e),this.destination=e}return r(e,t),e}(i.Subscriber);e.SubjectSubscriber=l;var p=function(t){function e(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return r(e,t),e.prototype[c.rxSubscriber]=function(){return new l(this)},e.prototype.lift=function(t){var e=new f(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o\n \n \n \n \n '}]}],t.ctorParameters=[{type:o.ModalComponent}],t.propDecorators={showDefaultButtons:[{type:r.Input,args:["show-default-buttons"]}],dismissButtonLabel:[{type:r.Input,args:["dismiss-button-label"]}],closeButtonLabel:[{type:r.Input,args:["close-button-label"]}]},t}();e.ModalFooterComponent=i},t0d0:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return s});var r=n("/oeL"),o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(){function t(){}return t}(),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.compile=function(t,e){return t},e.prototype.compileTranslations=function(t,e){return t},e}(i);s.decorators=[{type:r.Injectable}],s.ctorParameters=function(){return[]}},t8nJ:function(t,e,n){"use strict";var r=n("bKpL"),o=n("8pdA");r.Observable.prototype.bufferTime=o.bufferTime},tBQh:function(t,e,n){"use strict";function r(t,e){void 0===e&&(e=i.async);var n=s.isDate(t),r=n?+t-e.now():Math.abs(t);return this.lift(new c(r,e))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("IhB/"),s=n("6jp4"),a=n("T14+"),u=n("3lsR");e.delay=r;var c=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.delay,this.scheduler))},t}(),l=function(t){function e(e,n,r){t.call(this,e),this.delay=n,this.scheduler=r,this.queue=[],this.active=!1,this.errored=!1}return o(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,r=t.scheduler,o=t.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(o);if(n.length>0){var i=Math.max(0,n[0].time-r.now());this.schedule(t,i)}else e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new p(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(u.Notification.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t)},e.prototype._complete=function(){this.scheduleNotification(u.Notification.createComplete())},e}(a.Subscriber),p=function(){function t(t,e){this.time=t,this.notification=e}return t}()},tcot:function(t,e,n){"use strict";var r=n("bKpL"),o=n("F/7+");r.Observable.zip=o.zip},thi6:function(t,e,n){"use strict";function r(t,e,n){return void 0===n&&(n=null),function(e,r){o(t,c.a.local,e,r,n)}}function o(t,e,n,r,o){void 0===o&&(o=null);var i=t||r;Object.defineProperty(n,r,{get:function(){var t=v.a.genKey(i);return v.c.retrieve(e,t)},set:function(t){var n=v.a.genKey(i);this[n]=t,v.c.store(e,n,t)}}),null===n[r]&&(n[r]=o)}function i(t,e){return void 0===e&&(e=null),function(n,r){o(t,c.a.local,n,r,e)}}function s(t,e){return void 0===e&&(e=null),function(n,r){o(t,c.a.session,n,r,e)}}function a(t){return new d.a(t)}var u=n("/oeL"),c=(n("p3ht"),n("K5tw")),l=n("H01b"),p=n("6A7A"),f=n("KIVP"),h=n("7YpS"),d=n("pUrG"),y=n("3lml"),v=n("/doR");n.d(e,"e",function(){return m}),n.d(e,"b",function(){return b}),e.f=a,n.d(e,!1,function(){return d.a}),n.d(e,!1,function(){return i}),n.d(e,"c",function(){return s}),n.d(e,!1,function(){return r}),n.d(e,!1,function(){return o}),n.d(e,!1,function(){return l.a}),n.d(e,"a",function(){return p.a}),n.d(e,"d",function(){return f.a});var m=new u.OpaqueToken("WEBSTORAGE_CONFIG"),b=function(){function t(t,e){this.ngZone=t,e&&(y.a.setStorageKeyPrefix(e.prefix),y.a.setStorageKeySeparator(e.separator),y.a.setCaseSensitivity(e.caseSensitive)),this.initStorageListener()}return t.forRoot=function(e){return{ngModule:t,providers:[{provide:m,useValue:e},{provide:d.a,useFactory:a,deps:[m]}]}},t.prototype.initStorageListener=function(){var t=this;"undefined"!=typeof window&&window.addEventListener("storage",function(e){return t.ngZone.run(function(){var t=window.sessionStorage===e.storageArea?c.a.session:c.a.local;h.a.refresh(t,e.key)})})},t}();b.decorators=[{type:u.NgModule,args:[{declarations:[],providers:[f.a,p.a],imports:[]}]}],b.ctorParameters=function(){return[{type:u.NgZone},{type:d.a,decorators:[{type:u.Optional},{type:u.Inject,args:[d.a]}]}]}},tl8U:function(t,e,n){"use strict";function r(t){return this.lift(new l(t,this))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("rlar"),s=n("RdI5"),a=n("XRvs"),u=n("yW9Z"),c=n("ktfo");e.retryWhen=r;var l=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.notifier,this.source))},t}(),p=function(t){function e(e,n,r){t.call(this,e),this.notifier=n,this.source=r}return o(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.errors,r=this.retries,o=this.retriesSubscription;if(r)this.errors=null,this.retriesSubscription=null;else{if(n=new i.Subject,(r=s.tryCatch(this.notifier)(n))===a.errorObject)return t.prototype.error.call(this,a.errorObject.e);o=c.subscribeToResult(this,r)}this._unsubscribeAndRecycle(),this.errors=n,this.retries=r,this.retriesSubscription=o,n.next(e)}},e.prototype._unsubscribe=function(){var t=this,e=t.errors,n=t.retriesSubscription;e&&(e.unsubscribe(),this.errors=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(t,e,n,r,o){var i=this,s=i.errors,a=i.retries,u=i.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this._unsubscribeAndRecycle(),this.errors=s,this.retries=a,this.retriesSubscription=u,this.source.subscribe(this)},e}(u.OuterSubscriber)},tpuU:function(t,e,n){"use strict";function r(t){return this.lift(new o.ZipOperator(t))}var o=n("0I3B");e.zipAll=r},tt0A:function(t,e,n){"use strict";var r=(n("2YgE"),n("poDJ"));n.d(e,"a",function(){return r.a});n("dTYv")},uGEk:function(t,e,n){"use strict";var r=n("bKpL"),o=n("2UX5");r.Observable.prototype.timeout=o.timeout},"uT+d":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=function(t){function e(){var e=t.call(this,"argument out of range");this.name=e.name="ArgumentOutOfRangeError",this.stack=e.stack,this.message=e.message}return r(e,t),e}(Error);e.ArgumentOutOfRangeError=o},uYJe:function(t,e,n){"use strict";function r(t){return this.lift(new a(t))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+"),s=n("xFbG");e._finally=r;var a=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.callback))},t}(),u=function(t){function e(e,n){t.call(this,e),this.add(new s.Subscription(n))}return o(e,t),e}(i.Subscriber)},ub06:function(t,e,n){"use strict";var r=n("bKpL"),o=n("ViUi");r.Observable.prototype.merge=o.merge},ueUM:function(t,e,n){"use strict";function r(t){var e=new a(t),n=this.lift(e);return e.caught=n}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("yW9Z"),s=n("ktfo");e._catch=r;var a=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.selector,this.caught))},t}(),u=function(t){function e(e,n,r){t.call(this,e),this.selector=n,this.caught=r}return o(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(e){return void t.prototype.error.call(this,e)}this._unsubscribeAndRecycle(),this.add(s.subscribeToResult(this,n))}},e}(i.OuterSubscriber)},v6xs:function(t,e,n){"use strict";var r=n("bKpL"),o=n("zjlw");r.Observable.prototype.retry=o.retry},vCyR:function(t,e,n){"use strict";var r=n("/oeL"),o=n("ItmA"),i=function(){function t(t){var e=this;this.element=t,this.overrideSize=null,this.visible=!1,this.animation=!0,this.backdrop=!0,this.keyboard=!0,this.cssClass="",this.onClose=new r.EventEmitter(!1),this.onDismiss=new r.EventEmitter(!1),this.onOpen=new r.EventEmitter(!1),this.instance=new o.ModalInstance(this.element),this.instance.hidden.subscribe(function(t){e.visible=e.instance.visible,t===o.ModalResult.Dismiss&&e.onDismiss.emit(void 0)}),this.instance.shown.subscribe(function(){e.onOpen.emit(void 0)})}return Object.defineProperty(t.prototype,"fadeClass",{get:function(){return this.animation},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataKeyboardAttr",{get:function(){return this.keyboard},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataBackdropAttr",{get:function(){return this.backdrop},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){return this.instance&&this.instance.destroy()},t.prototype.routerCanDeactivate=function(){return this.ngOnDestroy()},t.prototype.open=function(t){var e=this;return s.validSize(t)&&(this.overrideSize=t),this.instance.open().then(function(){e.visible=e.instance.visible})},t.prototype.close=function(t){var e=this;return this.instance.close().then(function(){e.onClose.emit(t)})},t.prototype.dismiss=function(){return this.instance.dismiss()},t.prototype.getCssClasses=function(){var t=[];return this.isSmall()&&t.push("modal-sm"),this.isLarge()&&t.push("modal-lg"),""!==this.cssClass&&t.push(this.cssClass),t.join(" ")},t.prototype.isSmall=function(){return this.overrideSize!==s.Large&&this.size===s.Small||this.overrideSize===s.Small},t.prototype.isLarge=function(){return this.overrideSize!==s.Small&&this.size===s.Large||this.overrideSize===s.Large},t.decorators=[{type:r.Component,args:[{selector:"modal",host:{class:"modal",role:"dialog",tabindex:"-1"},template:'\n \n '}]}],t.ctorParameters=[{type:r.ElementRef}],t.propDecorators={animation:[{type:r.Input}],backdrop:[{type:r.Input}],keyboard:[{type:r.Input}],size:[{type:r.Input}],cssClass:[{type:r.Input}],onClose:[{type:r.Output}],onDismiss:[{type:r.Output}],onOpen:[{type:r.Output}],fadeClass:[{type:r.HostBinding,args:["class.fade"]}],dataKeyboardAttr:[{type:r.HostBinding,args:["attr.data-keyboard"]}],dataBackdropAttr:[{type:r.HostBinding,args:["attr.data-backdrop"]}]},t}();e.ModalComponent=i;var s=function(){function t(){}return t.validSize=function(e){return e&&(e===t.Small||e===t.Large)},t.Small="sm",t.Large="lg",t}();e.ModalSize=s},vJ3t:function(t,e,n){"use strict";var r=n("bKpL"),o=n("6P86");r.Observable.combineLatest=o.combineLatest},"vKg+":function(t,e,n){"use strict";var r=n("bKpL"),o=n("jKKE");r.Observable.prototype.count=o.count},vNV3:function(t,e,n){"use strict";var r=n("bKpL"),o=n("olOS");r.Observable.prototype.timestamp=o.timestamp},vfw3:function(t,e,n){"use strict";var r=n("bKpL"),o=n("iDKa");r.Observable.prototype.skip=o.skip},vioa:function(t,e,n){"use strict";var r=n("sLwK");e.timer=r.TimerObservable.create},vokw:function(t,e,n){"use strict";function r(t,e,n){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=void 0),e=(e||0)<1?Number.POSITIVE_INFINITY:e,this.lift(new c(t,e,n))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("RdI5"),s=n("XRvs"),a=n("yW9Z"),u=n("ktfo");e.expand=r;var c=function(){function t(t,e,n){this.project=t,this.concurrent=e,this.scheduler=n}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.project,this.concurrent,this.scheduler))},t}();e.ExpandOperator=c;var l=function(t){function e(e,n,r,o){t.call(this,e),this.project=n,this.concurrent=r,this.scheduler=o,this.index=0,this.active=0,this.hasCompleted=!1,r0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(a.OuterSubscriber);e.ExpandSubscriber=l},vtHn:function(t,e,n){"use strict";var r=n("bKpL"),o=n("OCM8");r.Observable.prototype.publishLast=o.publishLast},wCVK: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=n("aOKN"),s=n("fcnB"),a=function(t){function e(e,n){t.call(this),this.arrayLike=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return r(e,t),e.create=function(t,n){var r=t.length;return 0===r?new s.EmptyObservable:1===r?new i.ScalarObservable(t[0],n):new e(t,n)},e.dispatch=function(t){var e=t.arrayLike,n=t.index,r=t.length,o=t.subscriber;if(!o.closed){if(n>=r)return void o.complete();o.next(e[n]),t.index=n+1,this.schedule(t)}},e.prototype._subscribe=function(t){var n=this,r=n.arrayLike,o=n.scheduler,i=r.length;if(o)return o.schedule(e.dispatch,0,{arrayLike:r,index:0,length:i,subscriber:t});for(var s=0;s-1&&(this.count=r-1),n.subscribe(this._unsubscribeAndRecycle())}},e}(i.Subscriber)},wEhC:function(t,e,n){"use strict";var r=n("JCyH"),o=n("HyAm");e.asap=new o.AsapScheduler(r.AsapAction)},wQte:function(t,e,n){"use strict";var r=function(){function t(){this.size=0,this._values=[],this._keys=[]}return t.prototype.get=function(t){var e=this._keys.indexOf(t);return-1===e?void 0:this._values[e]},t.prototype.set=function(t,e){var n=this._keys.indexOf(t);return-1===n?(this._keys.push(t),this._values.push(e),this.size++):this._values[n]=e,this},t.prototype.delete=function(t){var e=this._keys.indexOf(t);return-1!==e&&(this._values.splice(e,1),this._keys.splice(e,1),this.size--,!0)},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this.size=0},t.prototype.forEach=function(t,e){for(var n=0;n1?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;i0;){var r=n.shift();r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts;e.length>0;){var n=e.shift();this.destination.next(n.buffer),n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,o){t?this.closeBuffer(t):this.openBuffer(e)},e.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},e.prototype.openBuffer=function(t){try{var e=this.closingSelector,n=e.call(this,t);n&&this.trySubscribe(n)}catch(t){this._error(t)}},e.prototype.closeBuffer=function(t){var e=this.contexts;if(e&&t){var n=t.buffer,r=t.subscription;this.destination.next(n),e.splice(e.indexOf(t),1),this.remove(r),r.unsubscribe()}},e.prototype.trySubscribe=function(t){var e=this.contexts,n=[],r=new i.Subscription,o={buffer:n,subscription:r};e.push(o);var a=s.subscribeToResult(this,t,o);!a||a.closed?this.closeBuffer(o):(a.context=o,this.add(a),r.add(a))},e}(a.OuterSubscriber)},xFbG:function(t,e,n){"use strict";function r(t){return t.reduce(function(t,e){return t.concat(e instanceof c.UnsubscriptionError?e.errors:e)},[])}var o=n("NSJx"),i=n("H6Sg"),s=n("fclq"),a=n("RdI5"),u=n("XRvs"),c=n("Emqh"),l=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this,l=n._parent,p=n._parents,f=n._unsubscribe,h=n._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var d=-1,y=p?p.length:0;l;)l.remove(this),l=++d1)return void(this.connection=null);var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()},e}(s.Subscriber)},xpf9:function(t,e,n){"use strict";var r=n("bKpL"),o=n("ueUM");r.Observable.prototype.catch=o._catch,r.Observable.prototype._catch=o._catch},yIff: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("rlar"),i=n("T14+"),s=n("bKpL"),a=n("xFbG"),u=n("zijX"),c=n("0imh"),l=n("RdI5"),p=n("XRvs"),f=n("fV3I"),h=function(t){function e(e,n){if(e instanceof s.Observable)t.call(this,n,e);else{if(t.call(this),this.WebSocketCtor=u.root.WebSocket,this._output=new o.Subject,"string"==typeof e?this.url=e:f.assign(this,e),!this.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new c.ReplaySubject}}return r(e,t),e.prototype.resultSelector=function(t){return JSON.parse(t.data)},e.create=function(t){return new e(t)},e.prototype.lift=function(t){var n=new e(this,this.destination);return n.operator=t,n},e.prototype._resetState=function(){this.socket=null,this.source||(this.destination=new c.ReplaySubject),this._output=new o.Subject},e.prototype.multiplex=function(t,e,n){var r=this;return new s.Observable(function(o){var i=l.tryCatch(t)();i===p.errorObject?o.error(p.errorObject.e):r.next(i);var s=r.subscribe(function(t){var e=l.tryCatch(n)(t);e===p.errorObject?o.error(p.errorObject.e):e&&o.next(t)},function(t){return o.error(t)},function(){return o.complete()});return function(){var t=l.tryCatch(e)();t===p.errorObject?o.error(p.errorObject.e):r.next(t),s.unsubscribe()}})},e.prototype._connectSocket=function(){var t=this,e=this.WebSocketCtor,n=this._output,r=null;try{r=this.protocol?new e(this.url,this.protocol):new e(this.url),this.socket=r,this.binaryType&&(this.socket.binaryType=this.binaryType)}catch(t){return void n.error(t)}var o=new a.Subscription(function(){t.socket=null,r&&1===r.readyState&&r.close()});r.onopen=function(e){var s=t.openObserver;s&&s.next(e);var a=t.destination;t.destination=i.Subscriber.create(function(t){return 1===r.readyState&&r.send(t)},function(e){var o=t.closingObserver;o&&o.next(void 0),e&&e.code?r.close(e.code,e.reason):n.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),t._resetState()},function(){var e=t.closingObserver;e&&e.next(void 0),r.close(),t._resetState()}),a&&a instanceof c.ReplaySubject&&o.add(a.subscribe(t.destination))},r.onerror=function(e){t._resetState(),n.error(e)},r.onclose=function(e){t._resetState();var r=t.closeObserver;r&&r.next(e),e.wasClean?n.complete():n.error(e)},r.onmessage=function(e){var r=l.tryCatch(t.resultSelector)(e);r===p.errorObject?n.error(p.errorObject.e):n.next(r)}},e.prototype._subscribe=function(t){var e=this,n=this.source;if(n)return n.subscribe(t);this.socket||this._connectSocket();var r=new a.Subscription;return r.add(this._output.subscribe(t)),r.add(function(){var t=e.socket;0===e._output.observers.length&&(t&&1===t.readyState&&t.close(),e._resetState())}),r},e.prototype.unsubscribe=function(){var e=this,n=e.source,r=e.socket;r&&1===r.readyState&&(r.close(),this._resetState()),t.prototype.unsubscribe.call(this),n||(this.destination=new c.ReplaySubject)},e}(o.AnonymousSubject);e.WebSocketSubject=h},yQ6o:function(t,e,n){"use strict";var r=n("T1tZ");e.bindCallback=r.BoundCallbackObservable.create},yR50:function(t,e,n){"use strict";var r=n("Fpv1"),o=n("HHMl");e.queue=new o.QueueScheduler(r.QueueAction)},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},ykQW:function(t,e,n){"use strict";var r=n("bKpL"),o=n("8Ben");r.Observable.prototype.let=o.letProto,r.Observable.prototype.letBind=o.letProto},ytB7:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=a.async),this.lift(new u(t,e))}function o(t){var e=t.subscriber,n=t.period;e.notifyNext(),this.schedule(t,n)}var i=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)},s=n("T14+"),a=n("IhB/");e.sampleTime=r;var u=function(){function t(t,e){this.period=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.period,this.scheduler))},t}(),c=function(t){function e(e,n,r){t.call(this,e),this.period=n,this.scheduler=r,this.hasValue=!1,this.add(r.schedule(o,n,{subscriber:this,period:n}))}return i(e,t),e.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},e}(s.Subscriber)},z69B:function(t,e,n){"use strict";var r=n("bKpL"),o=n("gb+0");r.Observable.prototype.single=o.single},zGUx:function(t,e,n){"use strict";var r=n("wbX9");e.fromEvent=r.FromEventObservable.create},zZnE:function(t,e,n){"use strict";var r=n("bKpL"),o=n("jyAw");r.Observable.prototype.groupBy=o.groupBy},zbre:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=null),this.lift(new s(t,e))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.bufferCount=r;var s=function(){function t(t,e){this.bufferSize=t,this.startBufferEvery=e,this.subscriberClass=e&&t!==e?u:a}return t.prototype.call=function(t,e){return e.subscribe(new this.subscriberClass(t,this.bufferSize,this.startBufferEvery))},t}(),a=function(t){function e(e,n){t.call(this,e),this.bufferSize=n,this.buffer=[]}return o(e,t),e.prototype._next=function(t){var e=this.buffer;e.push(t),e.length==this.bufferSize&&(this.destination.next(e),this.buffer=[])},e.prototype._complete=function(){var e=this.buffer;e.length>0&&this.destination.next(e),t.prototype._complete.call(this)},e}(i.Subscriber),u=function(t){function e(e,n,r){t.call(this,e),this.bufferSize=n,this.startBufferEvery=r,this.buffers=[],this.count=0}return o(e,t),e.prototype._next=function(t){var e=this,n=e.bufferSize,r=e.startBufferEvery,o=e.buffers,i=e.count;this.count++,i%r==0&&o.push([]);for(var s=o.length;s--;){var a=o[s];a.push(t),a.length===n&&(o.splice(s,1),this.destination.next(a))}},e.prototype._complete=function(){for(var e=this,n=e.buffers,r=e.destination;n.length>0;){var o=n.shift();o.length>0&&r.next(o)}t.prototype._complete.call(this)},e}(i.Subscriber)},zc4d:function(t,e,n){"use strict";var r=n("bKpL"),o=n("uYJe");r.Observable.prototype.finally=o._finally,r.Observable.prototype._finally=o._finally},zdWg:function(t,e,n){"use strict";var r=n("bKpL"),o=n("Zfg9");r.Observable.prototype.skipLast=o.skipLast},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"))},ziym:function(t,e,n){"use strict";var r=n("HPkd");e.ajax=r.AjaxObservable.create},zjlw:function(t,e,n){"use strict";function r(t){return void 0===t&&(t=-1),this.lift(new s(t,this))}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n("T14+");e.retry=r;var s=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.count,this.source))},t}(),a=function(t){function e(e,n,r){t.call(this,e),this.count=n,this.source=r}return o(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this,r=n.source,o=n.count;if(0===o)return t.prototype.error.call(this,e);o>-1&&(this.count=o-1),r.subscribe(this._unsubscribeAndRecycle())}},e}(i.Subscriber)}}); \ No newline at end of file