(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["ready-ready-module"],{

/***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/my-library/reports/ready/ready.component.html":
/*!***********************************************************************************************************!*\
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pages/my-library/reports/ready/ready.component.html ***!
  \***********************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("<div class=\"ready-container\">\n\n    <div class=\"p-grid p-col-12 action-grid\">\n        <div class=\"block-main\" *ngFor=\"let detail of data.readyData\">\n            <div class=\"p-grid p-col-12 p-justify-between p-align-center block\" (click)=\"navigate(detail)\">\n                <div class=\"p-col-5\">\n                    <div class=\"icon-block p-justify-between p-align-center clickable\">\n                        <i [ngClass]=\"detail.icon\"></i>\n                    </div>\n                </div>\n                <div class=\"p-col-7\">\n                    <span class=\"clickable\">{{detail.label}}</span>\n                </div>\n            </div>\n        </div>\n    </div>\n\n</div>\n<test-output #testoutput></test-output>\n");

/***/ }),

/***/ "./src/app/pages/my-library/reports/ready/ready.component.scss":
/*!*********************************************************************!*\
  !*** ./src/app/pages/my-library/reports/ready/ready.component.scss ***!
  \*********************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony default export */ __webpack_exports__["default"] = ("app-ready .ready-container .ui-card {\n  width: 70%;\n  margin: 0 auto;\n}\napp-ready .ready-container .block-main {\n  width: 20%;\n}\napp-ready .ready-container .block {\n  padding: 20px 5px;\n}\napp-ready .ready-container .icon-block {\n  float: right;\n  background: #fff;\n  height: 60px;\n  width: 60px;\n  text-align: center;\n  border-radius: 10px;\n  border: 1px solid #1d5290;\n  cursor: pointer;\n}\napp-ready .ready-container .icon-block .icons8 {\n  color: #1d5290;\n  font-size: 32px;\n  line-height: 60px;\n}");

/***/ }),

/***/ "./src/app/pages/my-library/reports/ready/ready.component.ts":
/*!*******************************************************************!*\
  !*** ./src/app/pages/my-library/reports/ready/ready.component.ts ***!
  \*******************************************************************/
/*! exports provided: ReadyComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReadyComponent", function() { return ReadyComponent; });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var src_app_core_breadcrumb_breadcrumb_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/core/breadcrumb/breadcrumb.service */ "./src/app/core/breadcrumb/breadcrumb.service.ts");
/* harmony import */ var src_app_pages_home_load_test_services_load_test_utils_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! src/app/pages/home/load-test/services/load-test-utils.service */ "./src/app/pages/home/load-test/services/load-test-utils.service.ts");
/* harmony import */ var src_app_pages_home_load_test_welcome_page_test_output_test_output_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/pages/home/load-test/welcome-page/test-output/test-output.component */ "./src/app/pages/home/load-test/welcome-page/test-output/test-output.component.ts");
/* harmony import */ var _service_ready_dummy__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./service/ready.dummy */ "./src/app/pages/my-library/reports/ready/service/ready.dummy.ts");







let ReadyComponent = class ReadyComponent {
    constructor(breadcrumb, route, router, loadTestService) {
        this.breadcrumb = breadcrumb;
        this.route = route;
        this.router = router;
        this.loadTestService = loadTestService;
    }
    ngOnInit() {
        this.data = _service_ready_dummy__WEBPACK_IMPORTED_MODULE_6__["READY_PAGE_DATA"];
        if (Object.keys(this.route.snapshot.queryParams).length == 0) {
            this.breadcrumb.removeAll();
            this.breadcrumb.add({ label: 'Home', routerLink: '/home' });
            this.breadcrumb.addNewBreadcrumb({ label: 'My Library', routerLink: '/my-library' });
            this.breadcrumb.addNewBreadcrumb({ label: 'Reports', routerLink: '/reports' });
        }
        this.breadcrumb.addNewBreadcrumb({ label: 'READY', routerLink: '/reports/ready' });
    }
    navigate(detail) {
        var _a, _b, _c, _d;
        console.log("navigate called with detail : ", detail);
        if (detail.label == "Network Logs") {
            this.router.navigate([detail.routerLink], { replaceUrl: (_a = detail.routerLink) !== null && _a !== void 0 ? _a : false });
        }
        if (detail.label == "Page Average Report") {
            this.router.navigate([detail.routerLink], { replaceUrl: (_b = detail.replaceUrl) !== null && _b !== void 0 ? _b : false });
        }
        if (detail.label == "LightHouse Average Report") {
            this.router.navigate([detail.routerLink], { replaceUrl: (_c = detail.replaceUrl) !== null && _c !== void 0 ? _c : false });
        }
        if (detail.label == "Progress Report") {
            this.testoutput.open("progressreport");
        }
        if (detail.label == "Web Performance Report") {
            this.router.navigate([detail.routerLink], { replaceUrl: (_d = detail.replaceUrl) !== null && _d !== void 0 ? _d : false });
        }
        //this.router.navigate([detail.routerLink], { replaceUrl: detail.routerLink ?? false });
    }
};
ReadyComponent.ctorParameters = () => [
    { type: src_app_core_breadcrumb_breadcrumb_service__WEBPACK_IMPORTED_MODULE_3__["BreadcrumbService"] },
    { type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["ActivatedRoute"] },
    { type: _angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"] },
    { type: src_app_pages_home_load_test_services_load_test_utils_service__WEBPACK_IMPORTED_MODULE_4__["LoadTestUtilsService"] }
];
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"])('testoutput', { read: src_app_pages_home_load_test_welcome_page_test_output_test_output_component__WEBPACK_IMPORTED_MODULE_5__["TestOutputComponent"] })
], ReadyComponent.prototype, "testoutput", void 0);
ReadyComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
        selector: 'app-ready',
        template: Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__importDefault"])(__webpack_require__(/*! raw-loader!./ready.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/pages/my-library/reports/ready/ready.component.html")).default,
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewEncapsulation"].None,
        styles: [Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__importDefault"])(__webpack_require__(/*! ./ready.component.scss */ "./src/app/pages/my-library/reports/ready/ready.component.scss")).default]
    })
], ReadyComponent);



/***/ }),

/***/ "./src/app/pages/my-library/reports/ready/ready.module.ts":
/*!****************************************************************!*\
  !*** ./src/app/pages/my-library/reports/ready/ready.module.ts ***!
  \****************************************************************/
/*! exports provided: ReadyModule */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReadyModule", function() { return ReadyModule; });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js");
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js");
/* harmony import */ var _ready_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ready.component */ "./src/app/pages/my-library/reports/ready/ready.component.ts");
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js");
/* harmony import */ var primeng__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! primeng */ "./node_modules/primeng/__ivy_ngcc__/fesm2015/primeng.js");
/* harmony import */ var src_app_pages_home_load_test_welcome_page_test_output_test_output_module__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! src/app/pages/home/load-test/welcome-page/test-output/test-output.module */ "./src/app/pages/home/load-test/welcome-page/test-output/test-output.module.ts");







const imports = [
    _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"],
    primeng__WEBPACK_IMPORTED_MODULE_5__["CardModule"]
];
const components = [
    _ready_component__WEBPACK_IMPORTED_MODULE_3__["ReadyComponent"]
];
const routes = [
    {
        path: '',
        component: _ready_component__WEBPACK_IMPORTED_MODULE_3__["ReadyComponent"]
    }
];
let ReadyModule = class ReadyModule {
};
ReadyModule = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
    Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({
        declarations: [components],
        imports: [
            imports,
            src_app_pages_home_load_test_welcome_page_test_output_test_output_module__WEBPACK_IMPORTED_MODULE_6__["TestOutputModule"],
            _angular_router__WEBPACK_IMPORTED_MODULE_4__["RouterModule"].forChild(routes)
        ],
        exports: [
            _angular_router__WEBPACK_IMPORTED_MODULE_4__["RouterModule"]
        ]
    })
], ReadyModule);



/***/ }),

/***/ "./src/app/pages/my-library/reports/ready/service/ready.dummy.ts":
/*!***********************************************************************!*\
  !*** ./src/app/pages/my-library/reports/ready/service/ready.dummy.ts ***!
  \***********************************************************************/
/*! exports provided: READY_PAGE_DATA */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "READY_PAGE_DATA", function() { return READY_PAGE_DATA; });
const READY_PAGE_DATA = {
    readyData: [
        {
            icon: 'icons8 icons8-opened-folder',
            label: 'Page Average Report',
            routerLink: '/rbu-report/average',
            replaceUrl: true
        },
        // {
        //   icon: 'icons8 icons8-reflector-bulb',
        //   label: 'Network Logs',
        //   routerLink: '/ddr/networkLogs',
        //   replaceUrl: true
        // },
        // {
        //   icon: 'icons8 icons8-document',
        //   label: 'Transaction Summary Report',
        // },
        // {
        //   icon: 'icons8 icons8-ssd',
        //   label: 'DB Queries Report',
        // },
        // {
        //   icon: 'icons8 icons8-settings',
        //   label: 'Exception Summary Report',
        // },
        // {
        //   icon: 'icons8 icons8-clock',
        //   label: 'Session Summary Report',
        // },
        // {
        //   icon: 'icons8 icons8-up-down-arrow',
        //   label: 'Flowpath Report',
        // },
        // {
        //   icon: 'icons8 icons8-user',
        //   label: 'Page Summary Report',
        // },
        // {
        //   icon: 'icons8 icons8-document',
        //   label: 'Progress Report',
        // },
        {
            icon: 'icons8 cav light-house-report',
            label: 'LightHouse Average Report',
            routerLink: '/rbu-light-house-report',
            replaceUrl: true
        },
        {
            icon: 'icons8 icons8-opened-folder',
            label: 'Web Performance Report',
            routerLink: '/rbu-web-performance-report',
            replaceUrl: true
        }
    ]
};


/***/ })

}]);