(window.webpackJsonp=window.webpackJsonp||[]).push([[179],{RwiD:function(t,e,o){"use strict";o.r(e),o.d(e,"HtmlReportModule",(function(){return l}));var s=o("ofXK"),i=o("tyNb"),n=o("fXoL"),r=o("Ppv2"),c=o("U7WD");const a=[{path:"",component:(()=>{class t{constructor(t,e,o){this._testConfig=t,this.loadTestUtils=e,this._router=o,this.reportHeading=""}ngOnInit(){console.log("product name....",this.loadTestUtils.$productName),this.reportHeading=this.loadTestUtils.$productName+" - Test Cycle Number - "+this._testConfig.$testCycleNumber,""!=this._testConfig.$reportLink&&$.ajax({url:this._testConfig.$reportLink,success:function(t){let e={"fa fa-line-chart":"icons8 icons8-combo-chart","fa fa-bar-chart":"icons8 icons8-bar-chart","sprite pdf'":"icons8 icons8-pdf-2' style='font-size:30px;'","<div class='sprite logo' title='Cavisson'></div>":"<img src='assets/banners/header-logo.svg' class='logo' title='cavisson'>","<i class='sprite status-ico-pass'></i>":"<i class='icons8 icons8-ok font-25 font-weight-800' style='color: #90e980; margin-right: 5px;'></i>","<i class='sprite status-ico-fail'></i>":"<i class='icons8 icons8-error font-27 font-weight-800' style='color: red; margin-right: 5px;'></i>","<i class='fa fa-exclamation-triangle'></i>":"<i class='icons8 icons8-error'  style='color: orange;></i>"},o=new RegExp(Object.keys(e).join("|"),"gi");t=t.replace(o,(function(t){return e[t]})),$("#content").html(t)}})}backToReportUI(){try{"/home/summary/TestReport"==this._testConfig.$testReportUrl?this._router.navigate(["/home/load-test/advanced"]):"/home/TestRunResults/TestReport"==this._testConfig.$testReportUrl&&this._router.navigate(["/home/load-test/test-report/test-cycle-list/test-run-results"])}catch(t){console.error(t)}}}return t.\u0275fac=function(e){return new(e||t)(n["\u0275\u0275directiveInject"](r.a),n["\u0275\u0275directiveInject"](c.a),n["\u0275\u0275directiveInject"](i.i))},t.\u0275cmp=n["\u0275\u0275defineComponent"]({type:t,selectors:[["app-html-report"]],decls:5,vars:0,consts:[[2,"background-color","var(--toolbar-color)"],["pButton","","pTooltip","Back","tooltipPosition","right",1,"btn-icon","btn-white",3,"click"],[1,"icons8","icons8-left"],["id","content"]],template:function(t,e){1&t&&(n["\u0275\u0275elementStart"](0,"div"),n["\u0275\u0275elementStart"](1,"div",0),n["\u0275\u0275elementStart"](2,"button",1),n["\u0275\u0275listener"]("click",(function(){return e.backToReportUI()})),n["\u0275\u0275element"](3,"i",2),n["\u0275\u0275elementEnd"](),n["\u0275\u0275elementEnd"](),n["\u0275\u0275element"](4,"div",3),n["\u0275\u0275elementEnd"]())},styles:[""]}),t})()}];let l=(()=>{class t{}return t.\u0275mod=n["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=n["\u0275\u0275defineInjector"]({factory:function(e){return new(e||t)},imports:[[s.c,i.m.forChild(a)]]}),t})()}}]);