(window.webpackJsonp=window.webpackJsonp||[]).push([[243],{"0YYc":function(e,t,a){"use strict";a.r(t),a.d(t,"PageDumpCookiesModule",(function(){return D}));var r=a("ofXK"),i=a("fXoL"),o=a("d++C"),s=a("bB+j");function n(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",7),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){const e=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"]("",e.pageName," (",e.keyVal,")")}}function l(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",1),i["\u0275\u0275elementStart"](1,"div",2),i["\u0275\u0275template"](2,n,2,2,"div",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"div",4),i["\u0275\u0275element"](4,"cav-table",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",6),i["\u0275\u0275element"](6,"cav-table",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){const e=t.$implicit,a=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",a.pageDumpUtilService.isCompare),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("value",e.reqData)("showCurrentPageReport",!0)("headerRelativePath",a.headerRelativePathreq)("scrollable",!0)("responsive",!0),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("value",e.resData)("showCurrentPageReport",!0)("headerRelativePath",a.headerRelativePathres)("scrollable",!0)("responsive",!0)}}let p=(()=>{class e{constructor(e){this.pageDumpUtilService=e,this.cookieReqResDataReq=[],this.subscriptionArr=[]}ngOnInit(){this.headerRelativePathreq="netstrom/network-log/cookiereq.json",this.headerRelativePathres="netstrom/network-log/cookieres.json",this.subscriptionArr.push(this.pageDumpUtilService.sidebarFillDataObs$.subscribe(e=>{this.getCookieData()})),this.getCookieData()}getCookieData(){this.cookieReqResDataReq=[];for(let e in this.pageDumpUtilService.pageDataArr)this.cookieReqResDataReq.push({reqData:this.pageDumpUtilService.pageDataArr[e].cookies.req?this.pageDumpUtilService.pageDataArr[e].cookies.req:[],resData:this.pageDumpUtilService.pageDataArr[e].cookies.res?this.pageDumpUtilService.pageDataArr[e].cookies.res:[],pageName:this.pageDumpUtilService.pageDataArr[e].pageName,keyVal:this.pageDumpUtilService.pageDataArr[e].keyVal}),this.makeTableData(this.pageDumpUtilService.pageDataArr[e].cookies.req,this.pageDumpUtilService.pageDataArr[e].cookies.res);console.log("cookieReqResDataReq  ",this.cookieReqResDataReq)}makeTableData(e,t){if(t&&t.length>0&&e&&e.length>0)for(let a of t)for(let t of e)if(`${a.name}${a.value}`==`${t.name}${t.value}`){!t.domain&&a.domain&&(t.domain=a.domain),!t.path&&a.path&&(t.path=a.path),!t.expires&&a.expires&&(t.expires=a.expires),!t.size&&a.size&&(t.size=a.size),!t.httponly&&a.httponly&&(t.httponly=a.httponly),!t.secure&&a.secure&&(t.secure=a.secure),!t.samesite&&a.samesite&&(t.samesite=a.samesite);break}}ngOnDestroy(){this.subscriptionArr&&this.subscriptionArr.length>0&&this.subscriptionArr.forEach(e=>e.unsubscribe())}}return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](o.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-page-dump-cookies"]],decls:1,vars:1,consts:[["class","p-grid p-dir-col",4,"ngFor","ngForOf"],[1,"p-grid","p-dir-col"],[1,"ui-secondary-toolbar"],["class","ui-toolbar p-8 mb-5 ml-5 mt-16",4,"ngIf"],[1,"border-5","halfBlock","mb-12"],["scrollHeight","calc(100vh - 480px)",3,"value","showCurrentPageReport","headerRelativePath","scrollable","responsive"],[1,"border-5","halfBlock","mb-10","ml-6","mr-0"],[1,"ui-toolbar","p-8","mb-5","ml-5","mt-16"]],template:function(e,t){1&e&&i["\u0275\u0275template"](0,l,7,11,"div",0),2&e&&i["\u0275\u0275property"]("ngForOf",t.cookieReqResDataReq)},directives:[r.s,r.t,s.a],styles:["app-page-dump-cookies .halfBlock{min-width:100%}"],encapsulation:2}),e})();var c=a("tyNb"),m=a("xlun"),h=a("rEr+"),u=a("3Pt+"),d=a("2yFs"),g=a("04lo");const v=[{path:"",component:p}];let D=(()=>{class e{}return e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({factory:function(t){return new(t||e)},imports:[[r.c,m.b,c.m.forChild(v),u.p,h.t,d.a,g.a],c.m]}),e})()}}]);