function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var o=0;o<e.length;o++){var i=e[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,_toPropertyKey(i.key),i)}}function _createClass(t,e,o){return e&&_defineProperties(t.prototype,e),o&&_defineProperties(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t}function _toPropertyKey(t){var e=_toPrimitive(t,"string");return"symbol"==typeof e?e:e+""}function _toPrimitive(t,e){if("object"!=typeof t||!t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(window.webpackJsonp=window.webpackJsonp||[]).push([[179],{RwiD:function(t,e,o){"use strict";o.r(e),o.d(e,"HtmlReportModule",(function(){return u}));var i,r,n=o("ofXK"),s=o("tyNb"),c=o("fXoL"),a=o("Ppv2"),l=o("U7WD"),p=[{path:"",component:(i=function(){return _createClass((function t(e,o,i){_classCallCheck(this,t),this._testConfig=e,this.loadTestUtils=o,this._router=i,this.reportHeading=""}),[{key:"ngOnInit",value:function(){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){var 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)}})}},{key:"backToReportUI",value:function(){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)}}}])}(),i.\u0275fac=function(t){return new(t||i)(c["\u0275\u0275directiveInject"](a.a),c["\u0275\u0275directiveInject"](l.a),c["\u0275\u0275directiveInject"](s.i))},i.\u0275cmp=c["\u0275\u0275defineComponent"]({type:i,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&&(c["\u0275\u0275elementStart"](0,"div"),c["\u0275\u0275elementStart"](1,"div",0),c["\u0275\u0275elementStart"](2,"button",1),c["\u0275\u0275listener"]("click",(function(){return e.backToReportUI()})),c["\u0275\u0275element"](3,"i",2),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275element"](4,"div",3),c["\u0275\u0275elementEnd"]())},styles:[""]}),i)}],u=((r=_createClass((function t(){_classCallCheck(this,t)}))).\u0275mod=c["\u0275\u0275defineNgModule"]({type:r}),r.\u0275inj=c["\u0275\u0275defineInjector"]({factory:function(t){return new(t||r)},imports:[[n.c,s.m.forChild(p)]]}),r)}}]);