1"use strict";(self.webpackChunkprivacypillar_sfo3=self.webpackChunkprivacypillar_sfo3||[]).push([["default-src_app__constant_cookies-name_constant_ts-src_app__services_cookie-category_service_ts"],{6856:(_,D,l)=>{l.d(D,{S:()=>s,Y:()=>n});const n=[{label:"Essential",value:"essential"},{label:"Functional",value:"functional"},{label:"Analytics",value:"analytics"},{label:"Advertising",value:"advertising"},{label:"Social Media",value:"social_media"},{label:"Uncategorized",value:"uncategorized"},{label:"-- Disable --",value:""}],s=[{label:"Implicit",value:!0},{label:"Explicit",value:!1}]},45597:(_,D,l)=>{l.d(D,{o:()=>S});var n=l(92340),s=l(85740),h=l(24850),I=l(27221),o=l(28597),U=l(591),g=l(61737),L=l(68078),u=l(94650),P=l(80529),N=l(46262),E=l(51692),C=l(36895),R=l(64491);let S=(()=>{const d=class{constructor(a,i,r,t,e){this.http=a,this.loki=i,this.activateRoute=r,this.location=t,this.orgservice=e,this.unpublishData=new U.X(null),this.unpublishDetails=this.unpublishData.asObservable(),this.primaryKeys=["id"],this.activateRoute.queryParamMap.subscribe(p=>{this.queryOID=p.get("oid"),this.queryPID=p.get("pid")}),this.onGetPropsAndOrgId()}onGetPropsAndOrgId(){null!==this.queryOID&&null!==this.queryPID&&void 0!==this.queryOID&&void 0!==this.queryPID?(this.currentManagedOrgID=this.queryOID,this.currrentManagedPropID=this.queryPID):this.getOIDPIDFromURL()}getCookieData(a,i,r){this.getOIDPIDFromURL();let t=s.R.COOKIE.replace(":orgId",this.currentManagedOrgID);return t=t.replace(":propId",this.currrentManagedPropID),this.http.get(n.N.apiUrl+t,{params:a}).pipe((0,h.U)(e=>e),(0,I.K)(e=>(this.onSendLogs(o.o.INFO,e?.error?.error||e?.error||e,o.X.cookie,i,r,t),(0,g._)(e))))}getTagList(a,i,r){this.getOIDPIDFromURL();let t=s.R.COOKIE_TAG_LIST;return t=t.replace(":oid",this.currentManagedOrgID),t=t.replace(":pid",this.currrentManagedPropID),this.http.get(n.N.apiUrl+t,{params:a}).pipe((0,h.U)(e=>e),(0,I.K)(e=>(this.onSendLogs(o.o.INFO,e,o.X.cookie,i,r,t),(0,g._)(e))))}onPushData(a){return new Promise(i=>{i(this.unpublishData.next(a))})}AddScript(a,i,r,t){let e=s.R.ADD_TAG;return e=e.replace(":pid",t),this.http.post(n.N.apiUrl+e,a).pipe((0,h.U)(p=>p),(0,I.K)(p=>(this.onSendLogs(o.o.INFO,p,o.X.cookie,i,r,e),(0,g._)(p))))}AddManualScript(a,i,r,t){let e=s.R.ADD_TAG_MANUAL;return e=e.replace(":pid",t),this.http.post(n.N.apiUrl+e,a).pipe((0,h.U)(p=>p),(0,I.K)(p=>(this.onSendLogs(o.o.INFO,p,o.X.cookie,i,r,e),(0,g._)(p))))}DeleteScript(a,i,r,t){let e=s.R.DELETE_TAG;return e=e.replace(":pid",r),e=e.replace(":id",t),this.http.delete(n.N.apiUrl+e).pipe((0,h.U)(p=>p),(0,I.K)(p=>(this.onSendLogs(o.o.INFO,p,o.X.cookie,a,i,e),(0,g._)(p))))}getCookieTagList(a,i,r){this.getOIDPIDFromURL();let t=s.R.COOKIE_BLOCKING_TAG_LIST;return t=t.replace(":pid",this.currrentManagedPropID),this.http.get(n.N.apiUrl+t,{params:a}).pipe((0,h.U)(e=>e),(0,I.K)(e=>(this.onSendLogs(o.o.INFO,e,o.X.cookie,i,r,t),(0,g._)(e))))}getSubDomainData(a,i,r,t){this.getOIDPIDFromURL();let e=s.R.SUBDOMAIN_SCAN_DETAILS.replace(":pid",this.currrentManagedPropID);return e=e.replace(":id",t),this.http.get(n.N.apiUrl+e,{params:a}).pipe((0,h.U)(p=>p),(0,I.K)(p=>(this.onSendLogs(o.o.INFO,p,o.X.cookie,i,r,e),(0,g._)(p))))}getScanningData(a,i,r){this.getOIDPIDFromURL();let t=s.R.COOKIE_SCAN_JOBS.replace(":orgId",this.currentManagedOrgID);return t=t.replace(":propId",this.currrentManagedPropID),this.http.get(n.N.apiUrl+t,{params:a}).pipe((0,h.U)(e=>e),(0,I.K)(e=>(this.onSendLogs(o.o.INFO,e,o.X.cookie,i,r,t),(0,g._)(e))))}getCountOfunpublishedCookie(a,i,r){let t=s.R.UNPUBLISHED_COOKIE.replace(":pid",r);return this.http.get(n.N.apiUrl+t).pipe((0,h.U)(e=>e),(0,I.K)(e=>(this.onSendLogs(o.o.INFO,e,o.X.cookie,a,i,t),(0,g._)(e))))}getScheduleScanData(a,i,r,t){let e=s.R.SCHEDULE_SCAN_JOB.replace(":pid",t);return this.http.get(n.N.apiUrl+e,{params:a}).pipe((0,h.U)(p=>p),(0,I.K)(p=>(this.onSendLogs(o.o.INFO,p,o.X.cookie,i,r,e),(0,g._)(p))))}AddScheduleJob(a,i,r,t,e){let p=s.R.CREATE_SCAN_JOB.replace(":pid",t);return this.http.post(n.N.apiUrl+p,a,{params:{pages:e}}).pipe((0,h.U)(c=>c),(0,I.K)(c=>(this.onSendLogs(o.o.INFO,c,o.X.cookie,i,r,p),(0,g._)(c))))}UpdateScheduleJob(a,i,r,t,e){this.getOIDPIDFromURL();let p=s.R.UPDATE_SCAN_JOB.replace(":pid",e.pid);return p=p.replace(":id",e.id),this.http.put(n.N.apiUrl+p+"?pages="+a.pages+"&date="+a.dates,a).pipe((0,h.U)(c=>c),(0,I.K)(c=>(this.onSendLogs(o.o.INFO,c,o.X.cookie,i,r,p),(0,g._)(c))))}deleteschedulejob(a,i,r){this.getOIDPIDFromURL();let t=s.R.DELETE_SCAN_JOB.replace(":propId",this.currrentManagedPropID);
1return t=t.replace(":id",a.id),this.http.delete(n.N.apiUrl+t).pipe((0,h.U)(e=>e),(0,I.K)(e=>(this.onSendLogs(o.o.INFO,e,o.X.cookie,i,r,t),(0,g._)(e))))}getLastScanningData(a,i){this.getOIDPIDFromURL();let r=s.R.COOKIE_LAST_SCANNING_DATA;return r=r.replace(":propId",this.currrentManagedPropID),this.http.get(n.N.apiUrl+r).pipe((0,h.U)(t=>t),(0,I.K)(t=>(this.onSendLogs(o.o.INFO,t,o.X.cookie,a,i,r),(0,g._)(t))))}post(a,i,r){this.getOIDPIDFromURL();let t=s.R.COOKIE.replace(":orgId",this.currentManagedOrgID);return t=t.replace(":propId",this.currrentManagedPropID),this.http.post(n.N.apiUrl+t,a).pipe((0,h.U)(e=>e),(0,I.K)(e=>(this.onSendLogs(o.o.INFO,e?.error?.error||e,o.X.cookie,i,r,t),(0,g._)(e))))}put(a,i,r,t){this.getOIDPIDFromURL();let e=s.R.COOKIE_WITH_ID.replace(":orgId",this.currentManagedOrgID);return e=e.replace(":propId",this.currrentManagedPropID),e=e.replace(":id",i),this.http.put(n.N.apiUrl+e,a).pipe((0,h.U)(p=>p),(0,I.K)(p=>(this.onSendLogs(o.o.INFO,p?.error?.error||p?.error||p,o.X.cookie,r,t,e),(0,g._)(p))))}bulkeditcookiecategory(a,i,r){this.getOIDPIDFromURL();let t=s.R.BULK_EDIT_COOKIE.replace(":orgId",this.currentManagedOrgID);return t=t.replace(":propId",this.currrentManagedPropID),this.http.put(n.N.apiUrl+t,a).pipe((0,h.U)(e=>e),(0,I.K)(e=>(this.onSendLogs(o.o.INFO,e,o.X.cookie,i,r,t),(0,g._)(e))))}delete(a,i,r){this.getOIDPIDFromURL();let t=s.R.COOKIE_WITH_ID.replace(":orgId",this.currentManagedOrgID);return t=t.replace(":propId",this.currrentManagedPropID),t=t.replace(":id",a.id),this.http.patch(n.N.apiUrl+t,{active:!1}).pipe((0,h.U)(e=>e),(0,I.K)(e=>(this.onSendLogs(o.o.INFO,e?.error?.error||e?.error||e,o.X.cookie,i,r,t),(0,g._)(e))))}createCategory(a,i,r){const t=s.R.COOKIE_CATEGORY;return this.http.post(n.N.apiUrl+t,a).pipe((0,h.U)(e=>e),(0,I.K)(e=>(this.onSendLogs(o.o.INFO,e?.error?.error||e?.error||e,o.X.cookieCategory,i,r,t),(0,g._)(e))))}scanbehindLogin(a,i,r){this.getOIDPIDFromURL();const t=s.R.SCAN_BEHIND_LOGIN.replace(":propid",this.currrentManagedPropID);return this.http.post(n.N.apiUrl+t,r).pipe((0,h.U)(e=>e),(0,I.K)(e=>(this.onSendLogs(o.o.INFO,e,o.X.cookieCategory,a,i,t),(0,g._)(e))))}scanbehindLoginValidate(a,i,r){const t=s.R.SCAN_VALIDATE;return this.http.post(n.N.webscannerUrl+t,r).pipe((0,h.U)(e=>e),(0,I.K)(e=>(this.onSendLogs(o.o.INFO,e,o.X.cookieCategory,a,i,t),(0,g._)(e))))}scanbehindLoginRecord(a,i){this.getOIDPIDFromURL();const r=s.R.SCAN_BEHIND_LOGIN.replace(":propid",this.currrentManagedPropID);return this.http.get(n.N.apiUrl+r).pipe((0,h.U)(t=>t),(0,I.K)(t=>(this.onSendLogs(o.o.INFO,t,o.X.cookieCategory,a,i,r),(0,g._)(t))))}scanbehindLoginUpdate(a,i,r){this.getOIDPIDFromURL();const t=s.R.SCAN_BEHIND_LOGIN_UPDATE.replace(":propid",this.currrentManagedPropID);return this.http.put(n.N.apiUrl+t,r).pipe((0,h.U)(e=>e),(0,I.K)(e=>(this.onSendLogs(o.o.INFO,e,o.X.cookieCategory,a,i,t),(0,g._)(e))))}uploadCSV(a,i,r){var t=new FormData;t.append("file",a),this.getOIDPIDFromURL();let e=s.R.UPLOAD_CSV.replace(":oid",this.currentManagedOrgID);return e=e.replace(":pid",this.currrentManagedPropID),this.http.post(n.N.apiUrl+e,t).pipe((0,h.U)(p=>p),(0,I.K)(p=>(this.onSendLogs(o.o.INFO,p,o.X.cookie,i,r,e),(0,g._)(p))))}getCategoriesList(a,i){const r=s.R.COOKIE_CATEGORY;return this.http.get(n.N.apiUrl+r).pipe((0,h.U)(t=>t),(0,I.K)(t=>(this.onSendLogs(o.o.INFO,t,o.X.cookieCategory,a,i,r),(0,g._)(t))))}cookieScanning(a,i){this.getOIDPIDFromURL();let r=s.R.COOKIE_SCANNER.replace(":orgId",this.currentManagedOrgID);return r=r.replace(":propId",this.currrentManagedPropID),this.http.get(n.N.apiUrl+r).pipe((0,h.U)(t=>t),(0,I.K)(t=>(this.onSendLogs(o.o.INFO,t.error||t,o.X.cookieCategory,a,i,r),(0,g._)(t))))}cookieScanningwithpages(a,i,r){this.getOIDPIDFromURL();let t=s.R.COOKIE_SCANNER.replace(":orgId",this.currentManagedOrgID);return t=t.replace(":propId",this.currrentManagedPropID),this.http.get(n.N.apiUrl+t,{params:{pages:r}}).pipe((0,h.U)(e=>e),(0,I.K)(e=>(this.onSendLogs(o.o.INFO,e.error||e,o.X.cookieCategory,a,i,t),(0,g._)(e))))}publishCookieCategory(a,i){this.getOIDPIDFromURL();let r=s.R.COOKIE_PUBLISH.replace(":orgId",this.currentManagedOrgID);return r=r.replace(":propId",this.currrentManagedPropID),this.http.post(n.N.apiUrl+r,null).pipe((0,h.U)(t=>t),(0,I.K)(t=>(this.onSendLogs(o.o.INFO,t,o.X.cookieCategory,a,i,r),(0,g._)(t))))}onSendLogs(a,i,r,t,e,p){this.loki.onSendErrorLogs(a,i,r,t,e,p).subscribe()}getCategoryChatData(a,i){this.getOIDPIDFromURL();const r=s.R.COOKIE_CATEGORY_CHART.replace(":propId",this.currrentManagedPropID);return this.http.get(n.N.apiUrl+r).pipe((0,h.U)(t=>t),(0,I.K)(t=>(this.onSendLogs(o.o.INFO,t,o.X.cookieCategory,a,i,r),(0,g._)(t))))}getAllCookieForCsv(a,i){this.getOIDPIDFromURL();let r=s.R.COOKIE_CATEGORY_ALL_RECORD.replace(":orgId",this.currentManagedOrgID);return r=r.replace(":propId",this.currrentManagedPropID),this.http.get(n.N.apiUrl+r).pipe((0,h.U)(t=>({res:t,propID:this.currrentManagedPropID})),(0,I.K)(t=>(this.onSendLogs(o.o.INFO,t,o.X.cookieCategory,a,i,r),(0,g._)(t))))}getPartyChartData(a,i){this.getOIDPIDFromURL();const r=s.R.COOKIE_CATEGORY_TYPE_CHART.replace(":propId",this.currrentManagedPropID);return this.http.get(n.N.apiUrl+r).pipe((0,h.U)(t=>t),(0,I.K)(t=>(this.onSendLogs(o.o.INFO,t,o.X.cookieCategory,a,i,r),(0,g._)(t))))}getSubscrptionData(a,i){this.getOIDPIDFromURL();const r=s.R.COOKIE_CATEGORY_AVALIBLE.replace(":propId",this.currrentManagedPropID).replace(":orgId",this.currentManagedOrgID);return this.http.get(n.N.apiUrl+r).pipe((0,h.U)(t=>t),(0,I.K)(t=>(this.onSendLogs(o.o.INFO,t,o.X.cookieCategory,a,i,r),(0,g._)(t))))}getCookieCategoriesStatus(a,i){this.getOIDPIDFromURL();let r=s.R.COOKIE_SCANNER_STATUS.replace(":orgId",this.currentManagedOrgID);return r=r.replace(":propId",this.currrentManagedPropID),this.http.get(n.N.apiUrl+r).pipe((0,h.U)(t=>t),(0,I.K)(t=>(this.onSendLogs(o.o.INFO,t,o.X.cookieCategory,a,i,r),(0,g._)(t))))}editAutoCookieScript(a,i,r){this.getOIDPIDFromURL();let t=s.R.UPDATE_COOKIE_TAG_LIST;return t=t.replace(":pid",this.currrentManagedPropID),this.http.post(n.N.apiUrl+t,a).pipe((0,h.U)(e=>e),(0,I.K)(e=>(this.onSendLogs(o.o.INFO,e,o.X.cookie,i,r,t),(0,g._)(e))))}getOIDPIDFromURL(){let a=(0,L.Dq)(this.location.path());null!=a&&(this.currentManagedOrgID=a[0],this.currrentManagedPropID=a[1])}};let O=d;return d.\u0275fac=function(i){return new(i||d)(u.LFG(P.eN),u.LFG(N.L),u.LFG(E.gz),u.LFG(C.Ye),u.LFG(R.Mn))},d.\u0275prov=u.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),O})()}}]);
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.