(window.webpackJsonp=window.webpackJsonp||[]).push([[265],{GIYO:function(e,r,t){"use strict";t.r(r),t.d(r,"ReadyModule",(function(){return h}));var n=t("ofXK"),a=t("rEBJ");const o={readyData:[{icon:"icons8 icons8-opened-folder",label:"Page Average Report",routerLink:"/rbu-report/average",replaceUrl:!0},{icon:"icons8 cav light-house-report",label:"LightHouse Average Report",routerLink:"/rbu-light-house-report",replaceUrl:!0},{icon:"icons8 icons8-opened-folder",label:"Web Performance Report",routerLink:"/rbu-web-performance-report",replaceUrl:!0}]};var i=t("fXoL"),l=t("Cex8"),c=t("tyNb"),d=t("U7WD");const p=["testoutput"];function s(e,r){if(1&e){const e=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",4),i["\u0275\u0275elementStart"](1,"div",5),i["\u0275\u0275listener"]("click",(function(){i["\u0275\u0275restoreView"](e);const t=r.$implicit;return i["\u0275\u0275nextContext"]().navigate(t)})),i["\u0275\u0275elementStart"](2,"div",6),i["\u0275\u0275elementStart"](3,"div",7),i["\u0275\u0275element"](4,"i",8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",9),i["\u0275\u0275elementStart"](6,"span",10),i["\u0275\u0275text"](7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){const e=r.$implicit;i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngClass",e.icon),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](e.label)}}let u=(()=>{class e{constructor(e,r,t,n){this.breadcrumb=e,this.route=r,this.router=t,this.loadTestService=n}ngOnInit(){this.data=o,0==Object.keys(this.route.snapshot.queryParams).length&&(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(e){var r,t,n,a;console.log("navigate called with detail : ",e),"Network Logs"==e.label&&this.router.navigate([e.routerLink],{replaceUrl:null!==(r=e.routerLink)&&void 0!==r&&r}),"Page Average Report"==e.label&&this.router.navigate([e.routerLink],{replaceUrl:null!==(t=e.replaceUrl)&&void 0!==t&&t}),"LightHouse Average Report"==e.label&&this.router.navigate([e.routerLink],{replaceUrl:null!==(n=e.replaceUrl)&&void 0!==n&&n}),"Progress Report"==e.label&&this.testoutput.open("progressreport"),"Web Performance Report"==e.label&&this.router.navigate([e.routerLink],{replaceUrl:null!==(a=e.replaceUrl)&&void 0!==a&&a})}}return e.\u0275fac=function(r){return new(r||e)(i["\u0275\u0275directiveInject"](l.a),i["\u0275\u0275directiveInject"](c.a),i["\u0275\u0275directiveInject"](c.i),i["\u0275\u0275directiveInject"](d.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-ready"]],viewQuery:function(e,r){var t;1&e&&i["\u0275\u0275viewQuery"](p,!0,a.a),2&e&&i["\u0275\u0275queryRefresh"](t=i["\u0275\u0275loadQuery"]())&&(r.testoutput=t.first)},decls:5,vars:1,consts:[[1,"ready-container"],[1,"p-grid","p-col-12","action-grid"],["class","block-main",4,"ngFor","ngForOf"],["testoutput",""],[1,"block-main"],[1,"p-grid","p-col-12","p-justify-between","p-align-center","block",3,"click"],[1,"p-col-5"],[1,"icon-block","p-justify-between","p-align-center","clickable"],[3,"ngClass"],[1,"p-col-7"],[1,"clickable"]],template:function(e,r){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275template"](2,s,8,2,"div",2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"test-output",null,3)),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",r.data.readyData))},directives:[n.s,a.a,n.q],styles:["app-ready .ready-container .ui-card{width:70%;margin:0 auto}app-ready .ready-container .block-main{width:20%}app-ready .ready-container .block{padding:20px 5px}app-ready .ready-container .icon-block{float:right;background:#fff;height:60px;width:60px;text-align:center;border-radius:10px;border:1px solid #1d5290;cursor:pointer}app-ready .ready-container .icon-block .icons8{color:#1d5290;font-size:32px;line-height:60px}"],encapsulation:2}),e})();var b=t("QIUk"),m=t("HHAJ");const g=[n.c,b.b],v=[{path:"",component:u}];let h=(()=>{class e{}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(r){return new(r||e)},imports:[[g,m.a,c.m.forChild(v)],c.m]}),e})()}}]);