PageSourceSearch

https://portal.privacypillar.com/src_app_errorpage_errorpage_module_ts.82378b3f5dbd2826.js

js privacypillar.com collected 2026-09-24 09:08:42 UTC 12,374 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkprivacypillar_sfo3=self.webpackChunkprivacypillar_sfo3||[]).push([["src_app_errorpage_errorpage_module_ts"],{26028:(b,h,a)=>{a.d(h,{y:()=>t});var c=a(94650),s=a(11481);let t=(()=>{const u=class{constructor(p){this.sanitizer=p}transform(p,l){switch(l){case"html":return this.sanitizer.bypassSecurityTrustHtml(p);case"style":return this.sanitizer.bypassSecurityTrustStyle(p);case"script":return this.sanitizer.bypassSecurityTrustScript(p);case"url":return this.sanitizer.bypassSecurityTrustUrl(p);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(p);default:throw new Error(`Invalid safe type specified: ${l}`)}}};let f=u;return u.\u0275fac=function(l){return new(l||u)(c.Y36(s.H7,16))},u.\u0275pipe=c.Yjl({name:"safe",type:u,pure:!0}),f})()},16278:(b,h,a)=>{a.r(h),a.d(h,{ErrorpageModule:()=>Z});var c=a(36895),s=a(51692),t=a(94650);const f=function(){return["/home/welcome"]},u=function(r,e){return{oid:r,pid:e}};let y=(()=>{const e=class{constructor(i,o,n){this.location=i,this.router=o,this.activatedroute=n}ngOnInit(){this.activatedroute.queryParamMap.subscribe(i=>{this.queryOID=i.get("oid"),this.queryPID=i.get("pid")})}gotoPreviousLink(){this.router.navigate([this.location.back()],{queryParams:{oid:this.queryOID,pid:this.queryPID},queryParamsHandling:"merge",skipLocationChange:!1})}};let r=e;return e.\u0275fac=function(o){return new(o||e)(t.Y36(c.Ye),t.Y36(s.F0),t.Y36(s.gz))},e.\u0275cmp=t.Xpm({type:e,selectors:[["app-forbidden"]],decls:11,vars:6,consts:[[1,"errordiv"],[1,"icon-style"],[1,"fa","fa-ban"],[1,"btn","btn-link","btn-bdr",3,"routerLink","queryParams"],[1,"btn","btn-link","btn-bdr",3,"click"]],template:function(o,n){1&o&&(t.TgZ(0,"div",0)(1,"h1"),t._uU(2,"403"),t.qZA(),t.TgZ(3,"h3",1),t._UZ(4,"i",2),t.qZA(),t.TgZ(5,"p"),t._uU(6,"You are not authorized to access this features."),t.qZA(),t.TgZ(7,"a",3),t._uU(8," Go to Dashboard"),t.qZA(),t.TgZ(9,"button",4),t.NdJ("click",function(){return n.gotoPreviousLink()}),t._uU(10," Go to previous page"),t.qZA()()),2&o&&(t.xp6(7),t.Q6J("routerLink",t.DdM(2,f))("queryParams",t.WLB(3,u,n.queryOID,n.queryPID)))},dependencies:[s.rH],styles:[".errordiv[_ngcontent-%COMP%]{width:870px;
1font-family:Fira Code,monospace;margin:20px auto 0;border:1px dashed #686868;background:#ffffff;padding:40px 25px;border-radius:20px;box-shadow:0 0 2px 2px #dfdfdf;font-size:14px;text-align:center;position:relative}.errordiv[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:60px!important;text-align:center;text-shadow:1px 1px 1px black;color:#247eff;font-weight:700}.icon-style[_ngcontent-%COMP%]{font-size:90px!important;text-shadow:-1px 1px 1px #d9d9d9;color:#ebebeb;transform:scaleX(-1);top:79px;position:absolute;left:40px}.errordiv[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:22px!important;text-shadow:2px 1px 0px #bbbec1;color:#00387e}.link[_ngcontent-%COMP%]{width:250px;margin:0 auto;font-size:14px;text-align:center}.btn-bdr[_ngcontent-%COMP%]{margin:0 20px;border-radius:20px;border:1px solid #247eff!important;background:#ffffff}.btn-bdr[_ngcontent-%COMP%]:hover{background:#247eff;color:#fff}"]}),r})();const p=function(){return["/home/welcome"]},l=function(r,e){return{oid:r,pid:e}};let x=(()=>{const e=class{constructor(i,o,n){this.location=i,this.router=o,this.activateRoute=n}ngOnInit(){this.activateRoute.queryParamMap.subscribe(i=>{this.queryOID=i.get("oid"),this.queryPID=i.get("pid")})}gotoPreviousLink(){this.router.navigate([this.location.back()],{queryParams:{oid:this.queryOID,pid:this.queryPID},queryParamsHandling:"merge",skipLocationChange:!1})}};let r=e;return e.\u0275fac=function(o){return new(o||e)(t.Y36(c.Ye),t.Y36(s.F0),t.Y36(s.gz))},e.\u0275cmp=t.Xpm({type:e,selectors:[["app-internalerror"]],decls:9,vars:6,consts:[[1,"errordiv"],[1,"btn","btn-link","btn-bdr",3,"routerLink","queryParams"],[1,"btn","btn-link","btn-bdr",3,"click"]],template:function(o,n){1&o&&(t.TgZ(0,"div",0)(1,"h1"),t._uU(2,"500"),t.qZA(),t.TgZ(3,"p"),t._uU(4,"Internal Server Error"),t.qZA(),t.TgZ(5,"a",1),t._uU(6," Go to Dashboard"),t.qZA(),t.TgZ(7,"button",2),t.NdJ("click",function(){return n.gotoPreviousLink()}),t._uU(8," Go to previous page"),t.qZA()()),2&o&&(t.xp6(5),t.Q6J("routerLink",t.DdM(2,p))("queryParams",t.WLB(3,l,n.queryOID,n.queryPID)))},dependencies:[s.rH],styles:[".errordiv[_ngcontent-%COMP%]{width:750px;
1font-family:Fira Code,monospace;margin:20px auto 0;border:1px dashed #686868;background:#ffffff;padding:40px 25px;border-radius:20px;box-shadow:0 0 2px 2px #dfdfdf;font-size:14px;text-align:center}.errordiv[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:60px!important;text-align:center;text-shadow:1px 1px 1px black;color:#247eff;font-weight:700}.errordiv[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:22px!important;text-shadow:2px 1px 0px #bbbec1;color:#00387e}.link[_ngcontent-%COMP%]{width:250px;margin:0 auto;font-size:14px;text-align:center}.btn-bdr[_ngcontent-%COMP%]{margin:0 20px;border-radius:20px;border:1px solid #247eff!important;background:#ffffff}.btn-bdr[_ngcontent-%COMP%]:hover{background:#247eff;color:#fff}"]}),r})();var P=a(98698),k=a(26028);function v(r,e){if(1&r&&t._UZ(0,"i"),2&r){const g=t.oxw();t.Tol(g.erroriconclass)}}function C(r,e){if(1&r&&(t._UZ(0,"span",5),t.ALo(1,"safe")),2&r){const g=t.oxw();t.Q6J("innerHtml",t.xi3(1,1,g.erroriconcode,"html"),t.oJD)}}let _=(()=>{const e=class{constructor(i,o,n,d){this.location=i,this.authService=o,this.router=n,this.activatedRoute=d,this.activatedRoute.queryParamMap.subscribe(m=>{this.queryOID=m.get("oid"),this.queryPID=m.get("pid"),this.statuscode=m.get("statuscode")})}ngOnInit(){this.getErrorMessageByStatusCode()}gotoPreviousLink(){this.location.back()}gotoWelcomeLink(){null!==this.queryOID&&null!==this.queryPID?this.router.navigate(["/home/welcome"],{queryParams:{oid:this.queryOID,pid:this.queryPID}}):(this.authService.logout(),this.router.navigate(["/login"]))}getErrorMessageByStatusCode(){switch(this.statuscode){case"400":this.errormsg="Bad Request",this.erroriconclass="fas fa-exclamation-triangle";break;case"401":this.errormsg="Unauthorized",this.erroriconclass="fas fa-exclamation-triangle";break;case"402":this.errormsg="Payment Required",this.erroriconclass="fas fa-exclamation-triangle";break;case"403":this.errormsg="You are not authorized to access this features",this.erroriconclass="fa fa-ban";break;case"404":this.errormsg="Page not found",this.erroriconcode="⚠";break;case"409":this.errormsg="Conflict",this.erroriconcode="⚠";break;case"500":this.errormsg="Internal Server Error",this.erroriconclass="fas fa-exclamation-triangle";break;case"501":this.errormsg="Not Implemented",this.erroriconclass="fas fa-exclamation-triangle";break;case"502":this.errormsg="Bad Gateway",this.erroriconclass="fas fa-exclamation-triangle";break;case"503":this.errormsg="Service Unavailable",this.erroriconclass="fas fa-exclamation-triangle";break;case"504":this.errormsg="Gateway Timeout",this.erroriconclass="fas fa-exclamation-triangle";break;case"302":this.errormsg="CORS error",this.erroriconclass="fas fa-exclamation-triangle"}}};let r=e;return e.\u0275fac=function(o){return new(o||e)(t.Y36(c.Ye),t.Y36(P.$),t.Y36(s.F0),t.Y36(s.gz))},e.\u0275cmp=t.Xpm({type:e,selectors:[["app-customerrorcode"]],inputs:{statuscode:"statuscode",statusmessage:"statusmessage"},decls:12,vars:4,consts:[[1,"errordiv"],[1,"icon-style"],[3,"class",4,"ngIf"],[3,"innerHtml",4,"ngIf"],[1,"btn","btn-link","btn-bdr",3,"click"],[3,"innerHtml"]],template:function(o,n){1&o&&(t.TgZ(0,"div",0)(1,"h1"),t._uU(2),t.qZA(),t.TgZ(3,"h3",1),t.YNc(4,v,1,3,"i",2),t.YNc(5,C,2,4,"span",3),t.qZA(),t.TgZ(6,"p"),t._uU(7),t.qZA(),t.TgZ(8,"a",4),t.NdJ("click",function(){return n.gotoWelcomeLink()}),t._uU(9," Go to Dashboard"),t.qZA(),t.TgZ(10,"button",4),t.NdJ("click",function(){return n.gotoPreviousLink()}),t._uU(11," Go to previous page"),t.qZA()()),2&o&&(t.xp6(2),t.Oqu(n.statuscode),t.xp6(2),t.Q6J("ngIf",null!==n.erroriconclass),t.xp6(1),t.Q6J("ngIf",null==n.erroriconclass&&null!=n.erroriconcode),t.xp6(2),t.Oqu(n.errormsg))},dependencies:[c.O5,k.y],styles:[".errordiv[_ngcontent-%COMP%]{width:900px;
1font-family:Fira Code,monospace;margin:20px auto 0;border:1px dashed #686868;background:#ffffff;padding:40px 25px;border-radius:20px;box-shadow:0 0 2px 2px #dfdfdf;font-size:14px;text-align:center;position:relative}.errordiv[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:60px!important;text-align:center;text-shadow:1px 1px 1px black;color:#247eff;font-weight:700}.icon-style[_ngcontent-%COMP%]{font-size:100px!important;text-shadow:-1px 1px 1px #d9d9d9;color:#ebebeb;transform:scaleX(-1);top:65px;position:absolute;left:40px}.errordiv[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:22px!important;text-shadow:2px 1px 0px #bbbec1;color:#00387e}.link[_ngcontent-%COMP%]{width:250px;margin:0 auto;font-size:14px;text-align:center}.btn-bdr[_ngcontent-%COMP%]{margin:0 20px;border-radius:20px;border:1px solid #247eff!important;background:#ffffff;color:#247eff!important}.btn-bdr[_ngcontent-%COMP%]:hover{background:#247eff;color:#fff!important}"]}),r})();const M=function(){return["/home/welcome"]},q=[{path:"",component:x},{path:"errorpage",children:[{path:"",component:(()=>{const e=class{constructor(i,o,n){this.location=i,this.router=o,this.activatedRoute=n,this.activatedRoute.queryParamMap.subscribe(d=>{this.queryOID=d.get("oid"),this.queryPID=d.get("pid"),this.errocode=d.get("statuscode")})}ngOnInit(){}gotoPreviousLink(){this.location.back()}};let r=e;return e.\u0275fac=function(o){return new(o||e)(t.Y36(c.Ye),t.Y36(s.F0),t.Y36(s.gz))},e.\u0275cmp=t.Xpm({type:e,selectors:[["app-pagenotfound"]],decls:1,vars:1,consts:[[3,"statuscode"]],template:function(o,n){1&o&&t._UZ(0,"app-customerrorcode",0),2&o&&t.Q6J("statuscode",n.errocode)},dependencies:[_],styles:[".errordiv[_ngcontent-%COMP%]{width:870px;
1font-family:Fira Code,monospace;margin:20px auto 0;border:1px dashed #686868;background:#ffffff;padding:40px 25px;border-radius:20px;box-shadow:0 0 2px 2px #dfdfdf;font-size:14px;text-align:center;position:relative}.errordiv[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:60px!important;text-align:center;text-shadow:1px 1px 1px black;color:#247eff;font-weight:700}.icon-style[_ngcontent-%COMP%]{font-size:110px!important;text-shadow:-1px 1px 1px #d9d9d9;color:#ebebeb;transform:scaleX(-1);top:50px;position:absolute;left:90px}.errordiv[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:22px!important;text-shadow:2px 1px 0px #bbbec1;color:#00387e}.link[_ngcontent-%COMP%]{width:250px;margin:0 auto;font-size:14px;text-align:center}.btn-bdr[_ngcontent-%COMP%]{margin:0 20px;border-radius:20px;border:1px solid #247eff!important;background:#ffffff;color:#247eff!important}.btn-bdr[_ngcontent-%COMP%]:hover{background:#247eff;color:#fff!important}"]}),r})()}]},{path:"servererror",children:[{path:"",component:x}]},{path:"unauthorized",children:[{path:"",component:(()=>{const e=class{constructor(i){this.location=i}ngOnInit(){}gotoPreviousLink(){this.location.back()}};let r=e;return e.\u0275fac=function(o){return new(o||e)(t.Y36(c.Ye))},e.\u0275cmp=t.Xpm({type:e,selectors:[["app-unauthorized"]],decls:9,vars:2,consts:[[1,"errordiv"],[1,"btn","btn-link",3,"routerLink"],[1,"btn","btn-link",3,"click"]],template:function(o,n){1&o&&(t.TgZ(0,"div",0)(1,"h3"),t._uU(2,"401"),t.qZA(),t.TgZ(3,"p"),t._uU(4,"Unauthorized Request"),t.qZA(),t.TgZ(5,"a",1),t._uU(6," Go to Dashboard"),t.qZA(),t.TgZ(7,"button",2),t.NdJ("click",function(){return n.gotoPreviousLink()}),t._uU(8," Go to previous page"),t.qZA()()),2&o&&(t.xp6(5),t.Q6J("routerLink",t.DdM(1,M)))},dependencies:[s.rH],styles:[".errordiv[_ngcontent-%COMP%]{width:250px;margin:0 auto;border:1px solid #ccc;background:#fff;padding:20px;border-radius:20px;font-size:14px;text-align:center}.errordiv[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{text-align:center}.link[_ngcontent-%COMP%]{width:250px;margin:0 auto;font-size:14px;text-align:center}"]}),r})()}]},{path:"forbidden",children:[{path:"",component:y}]}];let w=(()=>{const e=class{};let r=e;return e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[s.Bz.forChild(q),s.Bz]}),r})();var z=a(19119);let Z=(()=>{const e=class{};let r=e;return e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[c.ez,z.J,w]}),r})()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.