PageSourceSearch

https://portal.privacypillar.com/src_app_data-discovery_policies_data-discovery_module_ts.1b95c13cb293d3ea.js

js privacypillar.com collected 2026-09-24 09:07:58 UTC 629,071 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkprivacypillar_sfo3=self.webpackChunkprivacypillar_sfo3||[]).push([["src_app_data-discovery_policies_data-discovery_module_ts"],{53711:(Zt,G,m)=>{m.r(G),m.d(G,{DataDiscoveryModule:()=>Va});var h=m(36895),y=m(51692),et=m(59241),F=m(96923),M=m(38611),Z=m(82778),u=m(24006),R=m(22833),Dt=m(70713),Ft=m(36358),B=m(18178),pt=m(74146),qt=m(33169),V=m(74642),H=m(97392),Lt=m(35569),L=m(79723),K=m(34466),Nt=m(22962),It=m(3848),Jt=m(86257),nt=m(46162),E=m(51572),D=m(28255),Ut=m(63961),C=m(42111),Rt=m(45626),dt=m(155),Et=m(24028),z=m(90717),zt=m(45221),N=m(87545);const k="^(?!\\s)(?:.*\\S)?$",ot={layout:[{key:"connection",type:"group",label:"Connection Settings",fields:[{key:"name",label:"Name",type:"text",validators:{required:!0}},{key:"description",label:"Description",type:"textarea"},{key:"connect_by",label:"Connect By",type:"select",default:"host",validators:{required:!0},options:[{value:"host",label:"Host"}]},{key:"host",label:"Host",type:"text",visibleWhen:{fieldKey:"connection.connect_by",equals:"host"},validators:{required:!0}},{key:"port",label:"Port",type:"number",default:5432,visibleWhen:{fieldKey:"connection.connect_by",equals:"host"},validators:{required:!0,min:1}},{key:"system_type",label:"System Type",type:"text",default:"postgres",validators:{required:!0}},{key:"database_name",label:"Database Name",type:"text",validators:{required:!0}},{key:"url",label:"Connection URL",type:"text",visibleWhen:{fieldKey:"connection.connect_by",equals:"url"},validators:{required:!0}},{key:"username",label:"Username",type:"text",validators:{required:!0}},{key:"password",label:"Password",type:"password",validators:{required:!0}}]}],submit:{label:"Save"},test:{label:"Test Connection"}},lt={salesforce:{layout:[{key:"connection",type:"group",label:"Salesforce Settings",fields:[{key:"name",label:"Connection Name",type:"text",validators:{required:!0,pattern:k}},{key:"description",label:"Description",type:"textarea"},{key:"system_type",label:"System Type",type:"text",default:"salesforce",validators:{required:!0}},{key:"instance_url",label:"Instance URL",type:"text",validators:{required:!0,pattern:k}},{key:"auth_type",label:"Authentication Type",type:"select",default:"client_credentials",disabled:!0,validators:{required:!0},options:[{value:"client_credentials",label:"Client Credentials"}]},{key:"client_id",label:"Client ID",type:"text",validators:{required:!0,pattern:k}},{key:"client_secret",label:"Client Secret",type:"password",validators:{required:!0}},{key:"api_version",label:"API Version",type:"text",default:"v60.0",disabled:!0,validators:{required:!0,pattern:k}}]}],submit:{label:"Save"},test:{label:"Test Connection"}},postgres:ot,saphana:{layout:[{key:"connection",type:"group",label:"Connection Settings",fields:[{key:"name",label:"Name",type:"text",validators:{required:!0}},{key:"description",label:"Description",type:"textarea"},{key:"connect_by",label:"Connect By",type:"select",default:"host",validators:{required:!0},options:[{value:"host",label:"Host"}]},{key:"host",label:"Host",type:"text",visibleWhen:{fieldKey:"connection.connect_by",equals:"host"},validators:{required:!0}},{key:"port",label:"Port",type:"number",default:39017,visibleWhen:{fieldKey:"connection.connect_by",equals:"host"},validators:{required:!0,min:1}},{key:"system_type",label:"System Type",type:"text",default:"saphana",validators:{required:!0}},{key:"username",label:"Username",type:"text",validators:{required:!0}},{key:"password",label:"Password",type:"password",validators:{required:!0}}]}],submit:{label:"Save"},test:{label:"Test Connection"}},neon:{layout:[{key:"connection",type:"group",label:"Connection Settings",fields:[{key:"name",label:"Name",type:"text",validators:{required:!0}},{key:"description",label:"Description",type:"textarea"},{key:"connect_by",label:"Connect By",type:"select",default:"host",validators:{required:!0},options:[{value:"host",label:"Host"}]},{key:"host",label:"Host",type:"text",visibleWhen:{fieldKey:"connection.connect_by",equals:"host"},validators:{required:!0}},{key:"port",label:"Port",type:"number",default:5432,visibleWhen:{fieldKey:"connection.connect_by",equals:"host"},validators:{required:!0,min:1}},{key:"system_type",label:"System Type",type:"text",default:"neon",validators:{required:!0}},{key:"database_name",label:"Database Name",type:"text",validators:{required:!0}},{key:"url",label:"Connection URL",type:"text",visibleWhen:{fieldKey:"connection.connect_by",equals:"url"},validators:{required:!0}},{key:"username",label:"Username",type:"text",validators:{required:!0}},{key:"password",label:"Password",type:"password",validators:{required:!0}}]}],submit:{label:"Save"},test:{label:"Test Connection"}},mysql:{layout:[{key:"connection",type:"group",label:"Connection Settings",fields:[{key:"name",label:"Name",type:"text",validators:{required:!0}},{key:"description",label:"Description",type:"textarea"},{key:"connect_by",label:"Connect By",type:"select",default:"host",validators:{required:!0},options:[{value:"host",label:"Host"}]},{key:"host",label:"Host",type:"text",visibleWhen:{fieldKey:"connection.connect_by",equals:"host"},validators:{required:!0}},{key:"port",label:"Port",type:"number",default:3306,visibleWhen:{fieldKey:"connection.connect_by",equals:"host"},validators:{required:!0,min:1}},{key:"system_type",label:"System Type",type:"text",default:"mysql",validators:{required:!0}},{key:"database_name",label:"Database Name",type:"text",validators:{required:!0}},{key:"url",label:"Connection URL",type:"text",visibleWhen:{fieldKey:"connection.connect_by",equals:"url"},validators:{required:!0}},{key:"username",label:"Username",type:"text",validators:{required:!0}},{key:"password",label:"Password",type:"password",validators:{required:!0}}]}],submit:{label:"Save"},test:{label:"Test Connection"}},mssql:{layout:[{key:"connection",type:"group",label:"Connection Settings",fields:[{key:"name",label:"Name",type:"text",validators:{required:!0}},{key:"description",label:"Description",type:"textarea"},{key:"connect_by",label:"Connect By",type:"select",default:"host",validators:{required:!0},options:[{value:"host",label:"Host"}]},{key:"host",label:"Host",type:"text",visibleWhen:{fieldKey:"connection.connect_by",equals:"host"},validators:{required:!0}},{key:"port",label:"Port",type:"number",default:5432,visibleWhen:{fieldKey:"connection.connect_by",equals:"host"},validators:{required:!0,min:1}},{key:"system_type",label:"System Type",type:"text",default:"mssql",validators:{required:!0}},{key:"database_name",label:"Database Name",type:"text",validators:{required:!0}},{key:"url",label:"Connection URL",type:"text",visibleWhen:{fieldKey:"connection.connect_by",equals:"url"},validators:{required:!0}},{key:"username",label:"Username",type:"text",validators:{required:!0}},{key:"password",label:"Password",type:"password",validators:{required:!0}}]}],submit:{label:"Save"},test:{label:"Test Connection"}},snowflake:{layout:[{key:"connection",type:"group",label:"Connection Settings",fields:[{key:"name",label:"Name",type:"text",validators:{required:!0}},{key:"description",label:"Description",type:"textarea"},{key:"system_type",label:"System Type",type:"text",default:"snowflake",validators:{required:!0}},{key:"account",label:"Account",type:"text",validators:{required:!0}},{key:"username",label:"Username",type:"text",validators:{required:!0}},{key:"password",label:"Password",type:"password",default:"",hidden:!0},{key:"warehouse",label:"Warehouse",type:"text",validators:{required:!0}},{key:"database_name",label:"Database Name",type:"text",validators:{required:!0}},{key:"role",label:"Role",type:"text",validators:{required:!0}},{key:"schema",label:"Schema",type:"text",validators:{required:!0}}]}],submit:{label:"Save"},test:{label:"Create Connection"}},supabase:{layout:[{key:"connection",type:"group",label:"Connection Settings",fields:[{key:"name",label:"Name",type:"text",validators:{required:!0}},{key:"description",label:"Description",type:"textarea"},{key:"connect_by",label:"Connect By",type:"select",default:"host",validators:{required:!0},options:[{value:"host",label:"Host"}]},{key:"host",label:"Host",type:"text",visibleWhen:{fieldKey:"connection.connect_by",equals:"host"},validators:{required:!0}},{key:"port",label:"Port",type:"number",default:5432,visibleWhen:{fieldKey:"connection.connect_by",equals:"host"},validators:{required:!0,min:1}},{key:"system_type",label:"System Type",type:"text",default:"supabase",validators:{required:!0}},{key:"database_name",label:"Database Name",type:"text",validators:{required:!0}},{key:"url",label:"Connection URL",type:"text",visibleWhen:{fieldKey:"connection.connect_by",equals:"url"},validators:{required:!0}},{key:"username",label:"Username",type:"text",validators:{required:!0}},{key:"password",label:"Password",type:"password",validators:{required:!0}}]}],submit:{label:"Save"},test:{label:"Test Connection"}},mongodb:{layout:[{key:"connection",type:"group",label:"Connection Settings",fields:[{key:"name",label:"Name",type:"text",validators:{required:!0}},{key:"description",label:"Description",type:"textarea"},{key:"connect_by",label:"Connect By",type:"select",default:"host",validators:{required:!0},options:[{value:"host",label:"Host"}]},{key:"host",label:"Host",type:"text",visibleWhen:{fieldKey:"connection.connect_by",equals:"host"},validators:{required:!0}},{key:"port",label:"Port",type:"number",default:27117,visibleWhen:{fieldKey:"connection.connect_by",equals:"host"},validators:{required:!0,min:1}},{key:"system_type",label:"System Type",type:"text",default:"mongodb",validators:{required:!0}},{key:"database_name",label:"Database Name",type:"text",validators:{required:!0}},{key:"url",label:"Connection URL",type:"text",visibleWhen:{fieldKey:"connection.connect_by",equals:"url"},validators:{required:!0}},{key:"username",label:"Username",type:"text",validators:{required:!0}},{key:"password",label:"Password",type:"password",validators:{required:!0}}]}],submit:{label:"Save"},test:{label:"Test Connection"}},clickhouse:{layout:[{key:"connection",type:"group",label:"Connection Settings",fields:[{key:"name",label:"Name",type:"text",validators:{required:!0}},{key:"description",label:"Description",type:"textarea"},{key:"connect_by",label:"Connect By",type:"select",default:"host",validators:{required:!0},options:[{value:"host",label:"Host"}]},{key:"host",label:"Host",type:"text",visibleWhen:{fieldKey:"connection.connect_by",equals:"host"},validators:{required:!0}},{key:"port",label:"Port",type:"number",default:9e3,validators:{required:!0},visibleWhen:{fieldKey:"connection.connect_by",equals:"host"}},{key:"system_type",label:"System Type",type:"text",default:"clickhouse",validators:{required:!0}},{key:"database_name",label:"Database Name",type:"text",validators:{required:!0}},{key:"username",label:"Username",type:"text",validators:{required:!0}},{key:"password",label:"Password",type:"password",validators:{required:!0}}]}],submit:{label:"Save"},test:{label:"Test Connection"}},oracle:{layout:[{key:"connection",type:"group",label:"Connection Settings",fields:[{key:"name",label:"Name",type:"text",validators:{required:!0}},{key:"description",label:"Description",type:"textarea"},{key:"system_type",label:"System Type",type:"text",default:"oracle",validators:{required:!0}},{key:"connect_by",label:"Connect By",type:"select",default:"host",validators:{required:!0},options:[{value:"host",label:"Host"}]},{key:"host",label:"Host",type:"text",visibleWhen:{fieldKey:"connection.connect_by",equals:"host"},validators:{required:!0}},{key:"port",label:"Port",type:"number",default:1521,visibleWhen:{fieldKey:"connection.connect_by",equals:"host"},validators:{required:!0,min:1}},{key:"database_name",label:"Database Name",type:"text",validators:{required:!0}},{key:"username",label:"Username",type:"text",validators:{required:!0}},{key:"password",label:"Password",type:"password",validators:{required:!0}}]}],submit:{label:"Save"},test:{label:"Test Connection"}},bigquery:{layout:[{key:"connection",type:"group",label:"Connection Settings",fields:[{key:"name",label:"Name",type:"text",validators:{required:!0}},{key:"description",label:"Description",type:"textarea"},{key:"system_type",label:"System Type",type:"text",default:"bigquery",validators:{required:!0}},{key:"project_id",label:"Project ID",type:"text",validators:{required:!0}},{key:"credentials_json",label:"Credentials JSON",type:"textarea",validators:{required:!0}},{key:"cwd",label:"CWD",type:"text",default:"/root",validators:{required:!0}}]}],submit:{label:"Save"},test:{label:"Test Connection"}},athena:{layout:[{key:"connection",type:"group",label:"Connection Settings",fields:[{key:"name",label:"Name",type:"text",validators:{required:!0}},{key:"description",label:"Description",type:"textarea"},{key:"system_type",label:"System Type",type:"text",default:"athena",validators:{required:!0}},{key:"output_location",label:"Output Location",type:"text",validators:{required:!0}},{key:"work_group",label:"Work Group",type:"text",default:"primary",validators:{required:!0}},{key:"catalog",label:"Catalog",type:"text",default:"AwsDataCatalog",validators:{required:!0}},{key:"Region",label:"Region",type:"text",default:"us-east-1",validators:{required:!0}},{key:"accessKeyId",label:"Access Key ID",type:"text",validators:{required:!0}}
1,{key:"secretAccessKey",label:"Secret Access Key",type:"password",validators:{required:!0}}]}],submit:{label:"Save"},test:{label:"Test Connection"}},dynamodb:{layout:[{key:"connection",type:"group",label:"DynamoDB Connection Settings",fields:[{key:"name",label:"Name",type:"text",validators:{required:!0}},{key:"description",label:"Description",type:"textarea"},{key:"system_type",label:"System Type",type:"text",default:"dynamodb",validators:{required:!0}},{key:"Region",label:"Region",type:"text",default:"us-east-1",validators:{required:!0}},{key:"accessKeyId",label:"Access Key ID",type:"text",validators:{required:!0}},{key:"secretAccessKey",label:"Secret Access Key",type:"password",validators:{required:!0}}]}],submit:{label:"Save"},test:{label:"Test Connection"}},s3:{layout:[{key:"connection",type:"group",label:"S3 Connection Settings",fields:[{key:"name",label:"Name",type:"text",validators:{required:!0}},{key:"description",label:"Description",type:"textarea"},{key:"system_type",label:"System Type",type:"text",default:"s3",validators:{required:!0}},{key:"bucket_name",label:"Bucket Name",type:"text",validators:{required:!0}},{key:"Region",label:"Region",type:"text",default:"us-east-1",validators:{required:!0}},{key:"accessKeyId",label:"Access Key ID",type:"text",validators:{required:!0}},{key:"secretAccessKey",label:"Secret Access Key",type:"password",validators:{required:!0}}]}],submit:{label:"Save"},test:{label:"Test Connection"}},minio:{layout:[{key:"connection",type:"group",label:"MinIO Connection Settings",fields:[{key:"name",label:"Connection Name",type:"text",validators:{required:!0}},{key:"description",label:"Description",type:"textarea"},{key:"system_type",label:"System Type",type:"text",default:"minio",validators:{required:!0}},{key:"endpoint",label:"Endpoint",type:"text",validators:{required:!0}},{key:"bucket_name",label:"Bucket Name",type:"text",validators:{required:!0}},{key:"Region",label:"Region",type:"text",default:"us-east-1",validators:{required:!0}},{key:"accessKeyId",label:"Access Key ID",type:"text",validators:{required:!0}},{key:"secretAccessKey",label:"Secret Access Key",type:"password",validators:{required:!0}}]}],submit:{label:"Save"},test:{label:"Test Connection"}},sharepoint:{layout:[{key:"connection",type:"group",label:"SharePoint Connection Settings",fields:[{key:"name",label:"Name",type:"text",validators:{required:!0}},{key:"description",label:"Description",type:"textarea"},{key:"system_type",label:"System Type",type:"text",default:"sharepoint",validators:{required:!0}},{key:"tenant_id",label:"Tenant ID",type:"text",validators:{required:!0}},{key:"client_id",label:"Client ID",type:"text",validators:{required:!0}},{key:"client_secret",label:"Client Secret",type:"password",validators:{required:!0}},{key:"site_id",label:"Site ID",type:"text",validators:{required:!0}},{key:"drive_id",label:"Drive ID",type:"text",validators:{required:!0}}]}],submit:{label:"Save"},test:{label:"Test Connection"}},azure:{layout:[{key:"connection",type:"group",label:"Azure Blob Storage Settings",fields:[{key:"name",label:"Name",type:"text",validators:{required:!0}},{key:"description",label:"Description",type:"textarea"},{key:"system_type",label:"System Type",type:"text",default:"azure",validators:{required:!0}},{key:"account_name",label:"Storage Account Name",type:"text",validators:{required:!0}},{key:"account_key",label:"Account Key",type:"password",validators:{required:!0}},{key:"container_name",label:"Container Name",type:"text",validators:{required:!0}}]}],submit:{label:"Save"},test:{label:"Test Connection"}},onedrive:{layout:[{key:"connection",type:"group",label:"OneDrive Connection Settings",fields:[{key:"name",label:"Connection Name",type:"text",validators:{required:!0,pattern:k}},{key:"description",label:"Description",type:"textarea"},{key:"system_type",label:"System Type",type:"text",default:"onedrive",validators:{required:!0}},{key:"tenant_id",label:"Tenant ID",type:"text",validators:{required:!0,pattern:k}},{key:"client_id",label:"Client ID",type:"text",validators:{required:!0,pattern:k}},{key:"client_secret",label:"Client Secret",type:"password",validators:{required:!0,pattern:k}}]}],submit:{label:"Save"},test:{label:"Test Connection"}},gdrive:{layout:[{key:"connection",type:"group",label:"Google Drive Connection Settings",fields:[{key:"name",label:"Connection Name",type:"text",validators:{required:!0,pattern:k}},{key:"description",label:"Description",type:"textarea"},{key:"system_type",label:"System Type",type:"text",default:"gdrive",validators:{required:!0}},{key:"username",label:"Username",type:"text",validators:{required:!0,pattern:k}},{key:"credentials_json",label:"Credentials JSON",type:"textarea",validators:{required:!0}}]}],submit:{label:"Save"},test:{label:"Test Connection"}},gcs:{layout:[{key:"connection",type:"group",label:"Google Cloud Storage Settings",fields:[{key:"name",label:"Connection Name",type:"text",validators:{required:!0,pattern:k}},{key:"description",label:"Description",type:"textarea"},{key:"system_type",label:"System Type",type:"text",default:"gcs",validators:{required:!0}},{key:"project_id",label:"Project ID",type:"text",validators:{required:!0,pattern:k}},{key:"bucket_name",label:"Bucket Name",type:"text",validators:{required:!0,pattern:k}},{key:"credentials_json",label:"Credentials JSON",type:"textarea",validators:{required:!0}},{key:"cwd",label:"CWD",type:"text",validators:{required:!0,pattern:k}}]}],submit:{label:"Save"},test:{label:"Test Connection"}}};var ee=m(15861),t=m(94650),q=m(591),T=m(40537),v=m(61737),x=m(27221),f=m(92340),P=m(80529),I=m(46262);let ne=(()=>{const s=class{constructor(e,n){this.http=e,this.loki=n}testConnection(e){return this.http.post(f.N.keyStoneUrl+"/data-discovery/test/connection",e).pipe((0,x.K)(n=>(0,v._)(n)))}testUnstructuredConnection(e){return this.http.post(f.N.keyStoneUrl+"/data-discovery/test/unstructured-connection",e).pipe((0,x.K)(n=>(0,v._)(n)))}createConnection(e,n){return this.http.post(f.N.keyStoneUrl+`/data-discovery/connections/${e}`,n).pipe((0,x.K)(r=>(0,v._)(r)))}verifySnowflakeConnection(e){return this.http.post(f.N.keyStoneUrl+`/data-discovery/connections/snowflake/${e}/verify`,{}).pipe((0,x.K)(n=>(0,v._)(n)))}verifySnowflakeConnectionByEndpoint(e){const n=`${e||""}
1`.trim(),r=n.startsWith("/connections/")?`/data-discovery${n}`:n,a=r.startsWith("http")?r:`${f.N.keyStoneUrl}${r}`;return this.http.post(a,{}).pipe((0,x.K)(c=>(0,v._)(c)))}editConnection(e,n,r){return this.http.put(f.N.keyStoneUrl+`/data-discovery/connections/${e}/${n}`,r).pipe((0,x.K)(a=>(0,v._)(a)))}};let i=s;return s.\u0275fac=function(n){return new(n||s)(t.LFG(P.eN),t.LFG(I.L))},s.\u0275prov=t.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),i})(),gt=(()=>{const s=class{constructor(e,n,r){this.dynamicFormApiservice=e,this.activatedRouter=n,this.messageService=r,this.saveLoader=new q.X(!1),this.testLoader=new q.X(!1),this.testConnectionPassed=new q.X(!1),this.saveLoading$=this.saveLoader.asObservable(),this.testLoading$=this.testLoader.asObservable(),this.testConnectionPassed$=this.testConnectionPassed.asObservable()}resetTestConnectionStatus(){this.testConnectionPassed.next(!1)}showValidationMessageForTest(){this.messageService.add({key:"modal",severity:"warn",summary:"Missing required fields",detail:"Fill all required fields before testing the connection."})}setOid(e){this.oid=e}init(){this.oid||this.activatedRouter.queryParams.subscribe(e=>{this.oid=e.oid})}buildForm(e,n={}){const r={};return e.layout.forEach(a=>{r[a.key]="group"===a.type?this.buildGroup(a,n?.[a.key]??{}):new u.NI({value:n?.[a.key]??a.default??null,disabled:!!a.disabled},this.mapValidators(a.validators))}),new u.cw(r)}buildGroup(e,n={}){const r={};return(e.fields||[]).forEach(a=>{r[a.key]="group"===a.type?this.buildGroup(a,n?.[a.key]??{}):new u.NI({value:n?.[a.key]??a.default??null,disabled:!!a.disabled},this.mapValidators(a.validators))}),new u.cw(r)}mapValidators(e){if(!e)return null;const n=[];return e.required&&n.push(u.kI.required),void 0!==e.min&&n.push(u.kI.min(e.min)),void 0!==e.max&&n.push(u.kI.max(e.max)),e.pattern&&n.push(u.kI.pattern(e.pattern)),e.email&&n.push(u.kI.email),n.length?n:null}evaluateVisibility(e,n){const r={},a=c=>{for(const p of c)r[p.key]=this.evaluateOne(p,e,n),"group"===p.type&&a(p.fields||[])};return a(e.layout),r}evaluateOne(e,n,r){const a=e.visibleWhen;if(!a)return!0;const c=this.getControlByPath(a.fieldKey,r),p=c?c.value:void 0,d=void 0!==a.equals?p===a.equals:void 0!==a.notEquals?p!==a.notEquals:!!p,l=this.findControlByKey(r,e.key);return l&&(d&&!e.disabled?l.enable({emitEvent:!1}):l.disable({emitEvent:!1})),d}findControlByKey(e,n){const r=e.get(n);if(r)return r;for(const a of Object.keys(e.controls)){const c=e.controls[a];if(c instanceof u.cw){const p=this.findControlByKey(c,n);if(p)return p}}return null}getControlByPath(e,n){const r=e.split(".");let a=n;for(const c of r){if(!a)return null;if(!(a instanceof u.cw))return null;a=a.get(c)}return a}saveConnection(e,n){this.saveLoader.next(!0);const r=this.normalizeConnectionPayload(e?.connection||{});this.dynamicFormApiservice.createConnection(this.oid,r).pipe((0,T.x)(()=>this.saveLoader.next(!1))).subscribe({next:a=>{this.messageService.add({key:"modal",severity:"success",summary:"Success",detail:"Connection created successfully"}),setTimeout(()=>n.close({status:"success"}),1500)},error:a=>{this.messageService.add({key:"modal",severity:"error",summary:"Error",detail:a?.error?.error||"Error in creating connection"})}})}createConnectionRequest(e){this.saveLoader.next(!0);const n=this.normalizeConnectionPayload(e?.connection||{});return this.dynamicFormApiservice.createConnection(this.oid,n).pipe((0,T.x)(()=>this.saveLoader.next(!1)))}editConnectionRequest(e,n){this.saveLoader.next(!0);const r=this.normalizeConnectionPayload(e?.connection||{});return this.dynamicFormApiservice.editConnection(this.oid,n,r).pipe((0,T.x)(()=>this.saveLoader.next(!1)))}editConnection(e,n,r){this.saveLoader.next(!0);const a=this.normalizeConnectionPayload(e?.connection||{});this.dynamicFormApiservice.editConnection(this.oid,r,a).pipe((0,T.x)(()=>this.saveLoader.next(!1))).subscribe({next:c=>{this.messageService.add({key:"modal",severity:"success",summary:"Success",detail:"Connection updated successfully"}),setTimeout(()=>n.close({status:"success"}),1500)},error:c=>{this.messageService.add({key:"modal",severity:"error",summary:"Error",detail:c?.error?.error||"Error in updating connection"})}})}verifySnowflakeConnection(e){return this.testLoader.next(!0),this.dynamicFormApiservice.verifySnowflakeConnection(e).pipe((0,T.x)(()=>this.testLoader.next(!1)))}verifySnowflakeConnectionByEndpoint(e){return this.testLoader.next(!0),this.dynamicFormApiservice.verifySnowflakeConnectionByEndpoint(e).pi
1pe((0,T.x)(()=>this.testLoader.next(!1)))}testConnection(e){this.testLoader.next(!0),this.testConnectionPassed.next(!1);const n=this.normalizeConnectionPayload(e?.connection||{}),r=String(n?.system_type||"").toLowerCase().trim();(["s3","minio","sharepoint","azure","onedrive","gdrive","google_drive","gcs"].includes(r)?this.dynamicFormApiservice.testUnstructuredConnection(n):this.dynamicFormApiservice.testConnection(n)).pipe((0,T.x)(()=>this.testLoader.next(!1))).subscribe({next:p=>{this.testConnectionPassed.next(!0),this.messageService.add({key:"modal",severity:"success",summary:"Success",detail:"Test connection successful"})},error:p=>{this.testConnectionPassed.next(!1),this.messageService.add({key:"modal",severity:"error",summary:"Error",detail:this.getTestConnectionErrorMessage(p)})}})}getTestConnectionErrorMessage(e){const n=e?.error,r=n&&"object"==typeof n?n.error:n;if("string"==typeof r&&/invalid[\s_-]*grant/i.test(r))return"Invalid Username";if(n&&"object"==typeof n){const c=this.extractTestConnectionErrorValue(n.error);if(c)return this.getTestConnectionErrorLabel(c)}if("string"==typeof n){const a=this.extractTestConnectionErrorValue(n);if(a)return this.getTestConnectionErrorLabel(a)}return"Error in testing connection"}getTestConnectionErrorLabel(e){const n=e.toLowerCase();return n.includes("bucket")?"Invalid bucket name":n.includes("invalidaccesskeyid")?"The Access Key ID you provided does not exist in our records":n.includes("signaturedoesnotmatch")?"The Secret Access Key you provided does not exist in our records":n.includes("json")&&(n.includes("parse")||n.includes("unexpected")||n.includes("malformed")||n.includes("invalid"))?"Invalid Credentials JSON":/invalid[\s_-]*grant/.test(n)?"Invalid Username":n.includes("credential")||n.includes("auth")?"Invalid Credentials":"invalid_client"===n?"Invalid Client Secret":e.replace(/[_-]+/g," ").replace(/\s+/g," ").trim().replace(/\b\w/g,r=>r.toUpperCase())}extractTestConnectionErrorValue(e){if("string"!=typeof e)return null;const n=e.trim(),r=n.match(/"error"\s*:\s*"([^"\\]+)"/);if(r?.[1])return r[1];const a=/invalidaccesskeyid|signaturedoesnotmatch/i.test(n);return n&&(a||n.length<=160&&!/[\r\n]/.test(n))?n:null}normalizeConnectionPayload(e){const n={...e||{}},r=String(n?.system_type||"").toLowerCase().trim();return"snowflake"===r&&(n.password=""),"gcs"===r?(console.log("credentials :>>",n),{name:n.name||"",project_id:n.project_id||"",credentials_json:n.credentials_json||"",bucket_name:n.bucket_name||"",system_type:"gcs",cwd:n.cwd||""}):"salesforce"===r?{name:n.name||"",description:n.description||"",system_type:"salesforce",saas_config:{instance_url:n.instance_url||"",auth_type:n.auth_type||"client_credentials",client_id:n.client_id||"",client_secret:n.client_secret||"",api_version:n.api_version||"v60.0"}}:n}};let i=s;return s.\u0275fac=function(n){return new(n||s)(t.LFG(ne),t.LFG(y.gz),t.LFG(C.ez))},s.\u0275prov=t.Yz7({token:s,factory:s.\u0275fac}),i})();var oe=m(42654);function re(i,s){1&i&&(t.TgZ(0,"span",11),t._uU(1,"*"),t.qZA())}function ie(i,s){if(1&i&&t._UZ(0,"input",12),2&i){const o=t.oxw(2);t.Udp("text-transform","system_type"===o.f.key?"uppercase":null),t.Q6J("formControl",o.controlRef)("placeholder",o.f.placeholder||"")("readOnly","system_type"===o.f.key||o.f.readonly||o.f.disabled),t.uIk("disabled",!("system_type"!==o.f.key&&!o.f.disabled)||null)}}function ae(i,s){1&i&&(t.O4$(),t.TgZ(0,"svg",17),t._UZ(1,"path",18)(2,"circle",19),t.qZA())}function se(i,s){1&i&&(t.O4$(),t.TgZ(0,"svg",17),t._UZ(1,"path",20)(2,"line",21),t.qZA())}function ce(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",13),t._UZ(1,"input",14),t.TgZ(2,"button",15),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(2);return t.KtG(n.togglePasswordVisibility())}),t.YNc(3,ae,3,0,"svg",16),t.YNc(4,se,3,0,"svg",16),t.qZA()()}if(2&i){const o=t.oxw(2);t.xp6(1),t.Q6J("type",o.hidePassword?"password":"text")("formControl",o.controlRef)("placeholder",o.f.placeholder||""),t.xp6(2),t.Q6J("ngIf",o.hidePassword),t.xp6(1),t.Q6J("ngIf",!o.hidePassword)}}function pe(i,s){if(1&i&&t._UZ(0,"input",22),2&i){const o=t.oxw(2);t.Q6J("formControl",o.controlRef)("placeholder",o.f.placeholder||"")}}function de(i,s){1&i&&(t.TgZ(0,"option",26),t._uU(1,"Select"),t.qZA())}
1function le(i,s){if(1&i&&(t.TgZ(0,"option",27),t._uU(1),t.qZA()),2&i){const o=s.$implicit;t.Q6J("value",o.value),t.xp6(1),t.Oqu(o.label)}}function ge(i,s){if(1&i&&(t.TgZ(0,"select",23),t.YNc(1,de,2,0,"option",24),t.YNc(2,le,2,2,"option",25),t.qZA()),2&i){const o=t.oxw(2);t.Q6J("formControl",o.controlRef),t.uIk("disabled",!!o.f.disabled||null),t.xp6(1),t.Q6J("ngIf",!(null!=o.controlRef&&o.controlRef.value)),t.xp6(1),t.Q6J("ngForOf",o.options)}}function _e(i,s){if(1&i&&t._UZ(0,"textarea",28),2&i){const o=t.oxw(2);t.Q6J("formControl",o.controlRef)("placeholder",o.f.placeholder||"")}}function ue(i,s){if(1&i&&t._UZ(0,"input",29),2&i){const o=t.oxw(2);t.s9C("id",o.f.key),t.Q6J("formControl",o.controlRef)}}function me(i,s){1&i&&(t.TgZ(0,"small"),t._uU(1,"This field is required"),t.qZA())}function he(i,s){1&i&&(t.TgZ(0,"small"),t._uU(1,"Value is too small"),t.qZA())}function be(i,s){1&i&&(t.TgZ(0,"small"),t._uU(1,"Value is too large"),t.qZA())}function fe(i,s){1&i&&(t.TgZ(0,"small"),t._uU(1,"Invalid format"),t.qZA())}function xe(i,s){if(1&i&&(t.TgZ(0,"div",30),t.YNc(1,me,2,0,"small",31),t.YNc(2,he,2,0,"small",31),t.YNc(3,be,2,0,"small",31),t.YNc(4,fe,2,0,"small",31),t.qZA()),2&i){const o=t.oxw(2);t.xp6(1),t.Q6J("ngIf",null==o.controlRef||null==o.controlRef.errors?null:o.controlRef.errors.required),t.xp6(1),t.Q6J("ngIf",null==o.controlRef||null==o.controlRef.errors?null:o.controlRef.errors.min),t.xp6(1),t.Q6J("ngIf",null==o.controlRef||null==o.controlRef.errors?null:o.controlRef.errors.max),t.xp6(1),t.Q6J("ngIf",null==o.controlRef||null==o.controlRef.errors?null:o.controlRef.errors.pattern)}}function ve(i,s){if(1&i&&(t.TgZ(0,"div",1)(1,"label",2),t._uU(2),t.YNc(3,re,2,0,"span",3),t.qZA(),t.YNc(4,ie,1,6,"input",4),t.YNc(5,ce,5,5,"div",5),t.YNc(6,pe,1,2,"input",6),t.YNc(7,ge,3,4,"select",7),t.YNc(8,_e,1,2,"textarea",8),t.YNc(9,ue,1,2,"input",9),t.YNc(10,xe,5,4,"div",10),t.qZA()),2&i){const o=t.oxw();t.xp6(2),t.Oqu(o.f.label),t.xp6(1),t.Q6J("ngIf",null==o.f||null==o.f.validators?null:o.f.validators.required),t.xp6(1),t.Q6J("ngIf","text"===o.f.type),t.xp6(1),t.Q6J("ngIf","password"===o.f.type),t.xp6(1),t.Q6J("ngIf","number"===o.f.type),t.xp6(1),t.Q6J("ngIf","select"===o.f.type),t.xp6(1),t.Q6J("ngIf","textarea"===o.f.type),t.xp6(1),t.Q6J("ngIf","checkbox"===o.f.type),t.xp6(1),t.Q6J("ngIf",(null==o.controlRef?null:o.controlRef.touched)&&(null==o.controlRef?null:o.controlRef.invalid))}}let ye=(()=>{const s=class{constructor(){this.isVisible=!0,this.controlRef=null,this.options=[],this.hidePassword=!0}get f(){return this.element}ngOnInit(){this.controlRef=this.parentForm.get(this.f.key),"select"===this.f.type&&Array.isArray(this.f.options)&&(this.options=this.f.options.map(e=>({label:e.label,value:e.value}))),"checkbox"===this.f.type&&this.controlRef&&null==this.controlRef.value&&this.controlRef.setValue(this.f.default??!1,{emitEvent:!1})}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}};let i=s;return s.\u0275fac=function(n){return new(n||s)},s.\u0275cmp=t.Xpm({type:s,selectors:[["app-dynamic-field"]],inputs:{element:"element",parentForm:"parentForm",isVisible:"isVisible"},decls:1,vars:1,consts:[["class","pp-mb-4",4,"ngIf"],[1,"pp-mb-4"],[1,"pp-block","pp-font-medium","pp-mb-2"],["class","req",4,"ngIf"],["class","pp-input",3,"formControl","placeholder","readOnly","textTransform",4,"ngIf"],["class","pp-relative","style","overflow: visible;",4,"ngIf"],["type","number","class","pp-input",3,"formControl","placeholder",4,"ngIf"],["class","pp-input",3,"formControl",4,"ngIf"],["rows","4","class","pp-textarea",3,"formControl","placeholder",4,"ngIf"],["type","checkbox","class","pp-h-4 pp-w-4 pp-rounded pp-border pp-border-slate-300",3,"formControl","id",4,"ngIf"],["class","pp-error",4,"ngIf"],[1,"req"],[1,"pp-input",3,"formControl","placeholder","readOnly"],[1,"pp-relative",2,"overflow","visible"],[1,"pp-input","pr-10",2,"overflow","visible",3,"type","formControl","placeholder"],["type","button","tabindex","-1",2,"position","absolute","right","12px","top","50%","transform","translateY(-50%)","background","transparent","border","none","cursor","pointer","outline","none","padding","4px","display","flex","align-items","center","justify-content","center","color","#6b7280","z-index","100",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","20","height","20","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","width","20","height","20","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["d","M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"],["cx","12","cy","12","r","3"],["d","M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"],["x1","1","y1","1","x2","23","y2","23"],["type","number",1,"pp-input",3,"formControl","placeholder"],[1,"pp-input",3,"formControl"],["value","","disabled","",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],["value","","disabled",""],[3,"value"],["rows","4",1,"pp-textarea",3,"formControl","placeholder"],["type","checkbox",1,"pp-h-4","pp-w-4","pp-rounded","pp-border","pp-border-slate-300",3,"formControl","id"],[1,"pp-error"],[4,"ngIf"]],template:function(n,r){1&n&&t.YNc(0,ve,11,9,"div",0),2&n&&t.Q6J("ngIf",r.isVisible&&!r.f.hidden)},dependencies:[h.sg,h.O5,u.YN,u.Kr,u.Fj,u.wV,u.Wl,u.EJ,u.JJ,u.oH],styles:['*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;
1--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[_ngcontent-%COMP%]::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}[_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-content: ""}html[_ngcontent-%COMP%], [_nghost-%COMP%]{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body[_ngcontent-%COMP%]{margin:0;line-height:inherit}hr[_ngcontent-%COMP%]{height:0;color:inherit;border-top-width:1px}abbr[_ngcontent-%COMP%]:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-size:inherit;font-weight:inherit}a[_ngcontent-%COMP%]{color:inherit;text-decoration:inherit}b[_ngcontent-%COMP%], strong[_ngcontent-%COMP%]{font-weight:bolder}code[_ngcontent-%COMP%], kbd[_ngcontent-%COMP%], samp[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small[_ngcontent-%COMP%]{font-size:80%}sub[_ngcontent-%COMP%], sup[_ngcontent-%COMP%]{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub[_ngcontent-%COMP%]{bottom:-.25em}sup[_ngcontent-%COMP%]{top:-.5em}table[_ngcontent-%COMP%]{text-indent:0;border-color:inherit;border-collapse:collapse}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%], optgroup[_ngcontent-%COMP%], select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button[_ngcontent-%COMP%], select[_ngcontent-%COMP%]{text-transform:none}
1button[_ngcontent-%COMP%], input[_ngcontent-%COMP%]:where([type="button"]), input[_ngcontent-%COMP%]:where([type="reset"]), input[_ngcontent-%COMP%]:where([type="submit"]){-webkit-appearance:button;background-color:transparent;background-image:none}[_ngcontent-%COMP%]:-moz-focusring{outline:auto}[_ngcontent-%COMP%]:-moz-ui-invalid{box-shadow:none}progress[_ngcontent-%COMP%]{vertical-align:baseline}[_ngcontent-%COMP%]::-webkit-inner-spin-button, [_ngcontent-%COMP%]::-webkit-outer-spin-button{height:auto}[type=search][_ngcontent-%COMP%]{-webkit-appearance:textfield;outline-offset:-2px}[_ngcontent-%COMP%]::-webkit-search-decoration{-webkit-appearance:none}[_ngcontent-%COMP%]::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary[_ngcontent-%COMP%]{display:list-item}blockquote[_ngcontent-%COMP%], dl[_ngcontent-%COMP%], dd[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%], hr[_ngcontent-%COMP%], figure[_ngcontent-%COMP%], p[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{margin:0}fieldset[_ngcontent-%COMP%]{margin:0;padding:0}legend[_ngcontent-%COMP%]{padding:0}ol[_ngcontent-%COMP%], ul[_ngcontent-%COMP%], menu[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}dialog[_ngcontent-%COMP%]{padding:0}textarea[_ngcontent-%COMP%]{resize:vertical}input[_ngcontent-%COMP%]::placeholder, textarea[_ngcontent-%COMP%]::placeholder{opacity:1;color:#9ca3af}button[_ngcontent-%COMP%], [role=button][_ngcontent-%COMP%]{cursor:pointer}[_ngcontent-%COMP%]:disabled{cursor:default}img[_ngcontent-%COMP%], svg[_ngcontent-%COMP%], video[_ngcontent-%COMP%], canvas[_ngcontent-%COMP%], audio[_ngcontent-%COMP%], iframe[_ngcontent-%COMP%], embed[_ngcontent-%COMP%], object[_ngcontent-%COMP%]{display:block;vertical-align:middle}img[_ngcontent-%COMP%], video[_ngcontent-%COMP%]{max-width:100%;height:auto}[hidden][_ngcontent-%COMP%]:where(:not([hidden="until-found"])){display:none}.pp-container[_ngcontent-%COMP%]{width:100%}@media (min-width: 640px){.pp-container[_ngcontent-%COMP%]{max-width:640px}}@media (min-width: 768px){.pp-container[_ngcontent-%COMP%]{max-width:768px}}@media (min-width: 1024px){.pp-container[_ngcontent-%COMP%]{max-width:1024px}}@media (min-width: 1280px){.pp-container[_ngcontent-%COMP%]{max-width:1280px}}@media (min-width: 1536px){.pp-container[_ngcontent-%COMP%]{max-width:1536px}}.pp-pointer-events-none[_ngcontent-%COMP%]{pointer-events:none}.pp-relative[_ngcontent-%COMP%]{position:relative}.pp-inset-0[_ngcontent-%COMP%]{inset:0}.pp-bottom-0[_ngcontent-%COMP%]{bottom:0}.pp-left-0[_ngcontent-%COMP%]{left:0}.pp-left-4[_ngcontent-%COMP%]{left:1rem}.pp-right-0[_ngcontent-%COMP%]{right:0}.pp-top-1\\/2[_ngcontent-%COMP%]{top:50%}.-pp-z-10[_ngcontent-%COMP%]{z-index:-10}.pp-col-span-1[_ngcontent-%COMP%]{grid-column:span 1 / span 1}.pp-col-span-11[_ngcontent-%COMP%]{grid-column:span 11 / span 11}.pp-col-span-2[_ngcontent-%COMP%]{grid-column:span 2 / span 2}.pp-col-span-3[_ngcontent-%COMP%]{grid-column:span 3 / span 3}.pp-col-span-9[_ngcontent-%COMP%]{grid-column:span 9 / span 9}.pp-mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.pp-my-2[_ngcontent-%COMP%]{margin-top:.5rem;margin-bottom:.5rem}.pp-mb-0[_ngcontent-%COMP%]{margin-bottom:0}.pp-mb-1[_ngcontent-%COMP%]{margin-bottom:.25rem}.pp-mb-3[_ngcontent-%COMP%]{margin-bottom:.75rem}.pp-mb-6[_ngcontent-%COMP%]{margin-bottom:1.5rem}.pp-mb-8[_ngcontent-%COMP%]{margin-bottom:2rem}.pp-ml-1[_ngcontent-%COMP%]{margin-left:.25rem}.pp-ml-2[_ngcontent-%COMP%]{margin-left:.5rem}.pp-ml-3[_ngcontent-%COMP%]{margin-left:.75rem}.pp-ml-4[_ngcontent-%COMP%]{margin-left:1rem}.pp-ml-6[_ngcontent-%COMP%]{margin-left:1.5rem}.pp-ml-auto[_ngcontent-%COMP%]{margin-left:auto}.pp-mr-1[_ngcontent-%COMP%]{margin-right:.25rem}.pp-mr-2[_ngcontent-%COMP%]{margin-right:.5rem}.pp-mt-1[_ngcontent-%COMP%]{margin-top:.25rem}.pp-mt-10[_ngcontent-%COMP%]{margin-top:2.5rem}.pp-mt-2[_ngcontent-%COMP%]{margin-top:.5rem}.pp-mt-3[_ngcontent-%COMP%]{margin-top:.75rem}.pp-mt-4[_ngcontent-%COMP%]{margin-top:1rem}.pp-mt-5[_ngcontent-%COMP%]{margin-top:1.25rem}.pp-mt-6[_ngcontent-%COMP%]{margin-top:1.5rem}.pp-mt-\\__ph-0__[_ngcontent-%COMP%]{margin-top:3px}.pp-inline-block[_ngcontent-%COMP%]{display:inline-block}.pp-inline-flex[_ngcontent-%COMP%]{display:inline-flex}.pp-grid[_ngcontent-%COMP%]{display:grid}.pp-hidden[_ngcontent-%COMP%]{display:none}.pp-h-10[_ngcontent-%COMP%]{height:2.5rem}.pp-h-2[_ngcontent-%COMP%]{height:.5rem}.pp-h-20[_ngcontent-%COMP%]{height:5rem}.pp-h-24[_ngcontent-%COMP%]{height:6rem}.pp-h-3[_ngcontent-%COMP%]{height:.75rem}.pp-h-36[_ngcontent-%COMP%]{height:9rem}.pp-h-5[_ngcontent-%COMP%]{height:1.25rem}.pp-h-6[_ngcontent-%COMP%]{height:1.5rem}
1.pp-h-72[_ngcontent-%COMP%]{height:18rem}.pp-h-\\__ph-0__[_ngcontent-%COMP%]{height:2px}.pp-h-\\__ph-0__[_ngcontent-%COMP%]{height:calc(100vh - 72px)}.pp-h-full[_ngcontent-%COMP%]{height:100%}.pp-h-px[_ngcontent-%COMP%]{height:1px}.pp-max-h-0[_ngcontent-%COMP%]{max-height:0px}.pp-max-h-36[_ngcontent-%COMP%]{max-height:9rem}.pp-max-h-72[_ngcontent-%COMP%]{max-height:18rem}.pp-max-h-screen[_ngcontent-%COMP%]{max-height:100vh}.pp-min-h-\\__ph-0__[_ngcontent-%COMP%]{min-height:320px}.pp-min-h-\\__ph-0__[_ngcontent-%COMP%]{min-height:90px}.pp-min-h-screen[_ngcontent-%COMP%]{min-height:100vh}.pp-w-1\\/3[_ngcontent-%COMP%]{width:33.333333%}.pp-w-1\\/4[_ngcontent-%COMP%]{width:25%}.pp-w-16[_ngcontent-%COMP%]{width:4rem}.pp-w-20[_ngcontent-%COMP%]{width:5rem}.pp-w-24[_ngcontent-%COMP%]{width:6rem}.pp-w-3[_ngcontent-%COMP%]{width:.75rem}.pp-w-3\\/4[_ngcontent-%COMP%]{width:75%}.pp-w-36[_ngcontent-%COMP%]{width:9rem}.pp-w-5[_ngcontent-%COMP%]{width:1.25rem}.pp-w-6[_ngcontent-%COMP%]{width:1.5rem}.pp-w-72[_ngcontent-%COMP%]{width:18rem}.pp-w-full[_ngcontent-%COMP%]{width:100%}.pp-min-w-\\__ph-0__[_ngcontent-%COMP%]{min-width:120px}.pp-min-w-full[_ngcontent-%COMP%]{min-width:100%}.pp-max-w-2xl[_ngcontent-%COMP%]{max-width:42rem}.pp-max-w-3xl[_ngcontent-%COMP%]{max-width:48rem}.pp-max-w-4xl[_ngcontent-%COMP%]{max-width:56rem}.pp-max-w-7xl[_ngcontent-%COMP%]{max-width:80rem}.pp-max-w-\\__ph-0__[_ngcontent-%COMP%]{max-width:50%}.pp-max-w-full[_ngcontent-%COMP%]{max-width:100%}.pp-max-w-md[_ngcontent-%COMP%]{max-width:28rem}.pp-max-w-xl[_ngcontent-%COMP%]{max-width:36rem}.pp-max-w-xs[_ngcontent-%COMP%]{max-width:20rem}.pp-flex-1[_ngcontent-%COMP%]{flex:1 1 0%}.pp-border-collapse[_ngcontent-%COMP%]{border-collapse:collapse}.pp--translate-y-1\\/2[_ngcontent-%COMP%]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.pp-rotate-180[_ngcontent-%COMP%]{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.pp-cursor-not-allowed[_ngcontent-%COMP%]{cursor:not-allowed}.pp-cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.pp-select-none[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.pp-grid-cols-1[_ngcontent-%COMP%]{grid-template-columns:repeat(1,minmax(0,1fr))}.pp-grid-cols-12[_ngcontent-%COMP%]{grid-template-columns:repeat(12,minmax(0,1fr))}.pp-grid-cols-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}.pp-flex-col[_ngcontent-%COMP%]{flex-direction:column}.pp-flex-wrap[_ngcontent-%COMP%]{flex-wrap:wrap}.pp-items-start[_ngcontent-%COMP%]{align-items:flex-start}.pp-items-end[_ngcontent-%COMP%]{align-items:flex-end}.pp-justify-end[_ngcontent-%COMP%]{justify-content:flex-end}.pp-justify-center[_ngcontent-%COMP%]{justify-content:center}.pp-justify-between[_ngcontent-%COMP%]{justify-content:space-between}.pp-justify-items-center[_ngcontent-%COMP%]{justify-items:center}.pp-gap-2[_ngcontent-%COMP%]{gap:.5rem}.pp-gap-3[_ngcontent-%COMP%]{gap:.75rem}.pp-gap-4[_ngcontent-%COMP%]{gap:1rem}.pp-gap-6[_ngcontent-%COMP%]{gap:1.5rem}.pp-gap-8[_ngcontent-%COMP%]{gap:2rem}.pp-gap-x-12[_ngcontent-%COMP%]{column-gap:3rem}.pp-gap-y-12[_ngcontent-%COMP%]{row-gap:3rem}.pp-space-x-3[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.pp-space-x-4[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.pp-space-y-1[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.pp-space-y-2[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.pp-space-y-3[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}
1.pp-space-y-4[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.pp-space-y-6[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.pp-overflow-auto[_ngcontent-%COMP%]{overflow:auto}.pp-overflow-hidden[_ngcontent-%COMP%]{overflow:hidden}.pp-overflow-x-auto[_ngcontent-%COMP%]{overflow-x:auto}.pp-whitespace-nowrap[_ngcontent-%COMP%]{white-space:nowrap}.pp-whitespace-pre-wrap[_ngcontent-%COMP%]{white-space:pre-wrap}.pp-break-words[_ngcontent-%COMP%]{overflow-wrap:break-word}.pp-break-all[_ngcontent-%COMP%]{word-break:break-all}.pp-rounded-2xl[_ngcontent-%COMP%]{border-radius:1rem}.pp-rounded-3xl[_ngcontent-%COMP%]{border-radius:1.5rem}.pp-rounded-full[_ngcontent-%COMP%]{border-radius:9999px}.pp-rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.pp-rounded-md[_ngcontent-%COMP%]{border-radius:.375rem}.pp-rounded-xl[_ngcontent-%COMP%]{border-radius:.75rem}.pp-border-0[_ngcontent-%COMP%]{border-width:0px}.pp-border-2[_ngcontent-%COMP%]{border-width:2px}.pp-border-b[_ngcontent-%COMP%]{border-bottom-width:1px}.pp-border-t[_ngcontent-%COMP%]{border-top-width:1px}.pp-border-dashed[_ngcontent-%COMP%]{border-style:dashed}.pp-border-blue-300[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity, 1))}.pp-border-gray-200[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.pp-border-gray-300[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.pp-border-red-200[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity, 1))}.pp-border-slate-100[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(241 245 249 / var(--tw-border-opacity, 1))}.pp-border-slate-200[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity, 1))}.pp-border-slate-300[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1))}.pp-border-transparent[_ngcontent-%COMP%]{border-color:transparent}.pp-bg-\\__ph-0__[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(22 191 94 / var(--tw-bg-opacity, 1))}.pp-bg-\\__ph-0__\\/10[_ngcontent-%COMP%]{background-color:#16bf5e1a}.pp-bg-\\__ph-0__\\/15[_ngcontent-%COMP%]{background-color:#16bf5e26}.pp-bg-\\__ph-0__\\/10[_ngcontent-%COMP%]{background-color:#16bf5e1a}.pp-bg-\\__ph-0__[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(246 248 255 / var(--tw-bg-opacity, 1))}.pp-bg-amber-600[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity, 1))}.pp-bg-blue-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.pp-bg-blue-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.pp-bg-emerald-600[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity, 1))}.pp-bg-gray-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.pp-bg-gray-200[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.pp-bg-gray-300[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.pp-bg-gray-50[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.pp-bg-gray-600[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.pp-bg-gray-800[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.pp-bg-gray-900[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.pp-bg-green-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.pp-bg-green-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.pp-bg-pink-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity, 1))}.pp-bg-purple-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity, 1))}.pp-bg-red-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.pp-bg-red-50[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.pp-bg-sky-600[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity, 1))}.pp-bg-slate-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1))}.pp-bg-slate-300[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity, 1))}.pp-bg-slate-50[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1))}.pp-bg-transparent[_ngcontent-%COMP%]{background-color:transparent}.pp-bg-white[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.pp-bg-white\\/60[_ngcontent-%COMP%]{background-color:#fff9}.pp-bg-yellow-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))}.pp-bg-gradient-to-b[_ngcontent-%COMP%]{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.pp-from-\\__ph-0__\\/10[_ngcontent-%COMP%]{--tw-gradient-from: rgb(22 191 94 / .1) var(--tw-gradient-from-position);--tw-gradient-to: rgb(22 191 94 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.pp-to-slate-50[_ngcontent-%COMP%]{--tw-gradient-to: #f8fafc var(--tw-gradient-to-position)}.pp-p-12[_ngcontent-%COMP%]{padding:3rem}.pp-p-2[_ngcontent-%COMP%]{padding:.5rem}.pp-p-3[_ngcontent-%COMP%]{padding:.75rem}.pp-p-4[_ngcontent-%COMP%]{padding:1rem}.pp-p-5[_ngcontent-%COMP%]{padding:1.25rem}.pp-p-6[_ngcontent-%COMP%]{padding:1.5rem}.pp-p-8[_ngcontent-%COMP%]{padding:2rem}.pp-px-10[_ngcontent-%COMP%]{padding-left:2.5rem;padding-right:2.5rem}.pp-px-2[_ngcontent-%COMP%]{padding-left:.5rem;padding-right:.5rem}.pp-px-2\\.5[_ngcontent-%COMP%]{padding-left:.625rem;padding-right:.625rem}.pp-px-3[_ngcontent-%COMP%]{padding-left:.75rem;padding-right:.75rem}.pp-px-4[_ngcontent-%COMP%]{padding-left:1rem;padding-right:1rem}.pp-px-6[_ngcontent-%COMP%]{padding-left:1.5rem;padding-right:1.5rem}.pp-py-0\\.5[_ngcontent-%COMP%]{padding-top:.125rem;padding-bottom:.125rem}.pp-py-1[_ngcontent-%COMP%]{padding-top:.25rem;padding-bottom:.25rem}.pp-py-1\\.5[_ngcontent-%COMP%]{padding-top:.375rem;padding-bottom:.375rem}.pp-py-10[_ngcontent-%COMP%]{padding-top:2.5rem;padding-bottom:2.5rem}.pp-py-12[_ngcontent-%COMP%]{padding-top:3rem;padding-bottom:3rem}.pp-py-2[_ngcontent-%COMP%]{padding-top:.5rem;padding-bottom:.5rem}.pp-py-3[_ngcontent-%COMP%]{padding-top:.75rem;padding-bottom:.75rem}
1.pp-py-4[_ngcontent-%COMP%]{padding-top:1rem;padding-bottom:1rem}.pp-py-6[_ngcontent-%COMP%]{padding-top:1.5rem;padding-bottom:1.5rem}.pp-py-8[_ngcontent-%COMP%]{padding-top:2rem;padding-bottom:2rem}.pp-pb-12[_ngcontent-%COMP%]{padding-bottom:3rem}.pp-pb-16[_ngcontent-%COMP%]{padding-bottom:4rem}.pp-pb-3[_ngcontent-%COMP%]{padding-bottom:.75rem}.pp-pb-4[_ngcontent-%COMP%]{padding-bottom:1rem}.pp-pb-6[_ngcontent-%COMP%]{padding-bottom:1.5rem}.pp-pb-8[_ngcontent-%COMP%]{padding-bottom:2rem}.pp-pl-0[_ngcontent-%COMP%]{padding-left:0}.pp-pl-11[_ngcontent-%COMP%]{padding-left:2.75rem}.pp-pr-3[_ngcontent-%COMP%]{padding-right:.75rem}.pp-pr-4[_ngcontent-%COMP%]{padding-right:1rem}.pp-pt-0[_ngcontent-%COMP%]{padding-top:0}.pp-pt-1[_ngcontent-%COMP%]{padding-top:.25rem}.pp-pt-10[_ngcontent-%COMP%]{padding-top:2.5rem}.pp-pt-12[_ngcontent-%COMP%]{padding-top:3rem}.pp-pt-2[_ngcontent-%COMP%]{padding-top:.5rem}.pp-pt-4[_ngcontent-%COMP%]{padding-top:1rem}.pp-pt-6[_ngcontent-%COMP%]{padding-top:1.5rem}.pp-text-left[_ngcontent-%COMP%]{text-align:left}.pp-text-center[_ngcontent-%COMP%]{text-align:center}.pp-text-right[_ngcontent-%COMP%]{text-align:right}.pp-font-mono[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.pp-text-2xl[_ngcontent-%COMP%]{font-size:1.5rem;line-height:2rem}.pp-text-3xl[_ngcontent-%COMP%]{font-size:1.875rem;line-height:2.25rem}.pp-text-4xl[_ngcontent-%COMP%]{font-size:2.25rem;line-height:2.5rem}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{font-size:11px}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{font-size:12px}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{font-size:13px}.pp-text-base[_ngcontent-%COMP%]{font-size:1rem;line-height:1.5rem}.pp-text-lg[_ngcontent-%COMP%]{font-size:1.125rem;line-height:1.75rem}.pp-text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}.pp-text-xl[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1.75rem}.pp-text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.pp-font-bold[_ngcontent-%COMP%]{font-weight:700}.pp-font-extrabold[_ngcontent-%COMP%]{font-weight:800}.pp-font-normal[_ngcontent-%COMP%]{font-weight:400}.pp-font-semibold[_ngcontent-%COMP%]{font-weight:600}.pp-uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.pp-italic[_ngcontent-%COMP%]{font-style:italic}.pp-leading-5[_ngcontent-%COMP%]{line-height:1.25rem}.pp-leading-6[_ngcontent-%COMP%]{line-height:1.5rem}.pp-leading-7[_ngcontent-%COMP%]{line-height:1.75rem}.pp-leading-tight[_ngcontent-%COMP%]{line-height:1.25}.pp-tracking-wide[_ngcontent-%COMP%]{letter-spacing:.025em}.pp-tracking-wider[_ngcontent-%COMP%]{letter-spacing:.05em}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(6 95 70 / var(--tw-text-opacity, 1))}.pp-text-\\__ph-0__[_ngcontent-%COMP%], .pp-text-\\__ph-0__[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(22 191 94 / var(--tw-text-opacity, 1))}.pp-text-\\__ph-0__\\/30[_ngcontent-%COMP%]{color:#16bf5e4d}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.pp-text-amber-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity, 1))}.pp-text-black[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.pp-text-blue-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.pp-text-blue-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.pp-text-blue-700[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.pp-text-blue-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity, 1))}.pp-text-gray-400[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.pp-text-gray-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.pp-text-gray-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.pp-text-gray-700[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.pp-text-gray-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.pp-text-gray-900[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.pp-text-green-300[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity, 1))}.pp-text-green-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.pp-text-green-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.pp-text-green-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity, 1))}.pp-text-indigo-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity, 1))}.pp-text-purple-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity, 1))}.pp-text-red-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.pp-text-red-700[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.pp-text-red-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.pp-text-rose-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(225 29 72 / var(--tw-text-opacity, 1))}.pp-text-slate-300[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity, 1))}.pp-text-slate-400[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.pp-text-slate-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.pp-text-slate-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.pp-text-slate-700[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.pp-text-slate-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity, 1))}.pp-text-slate-900[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.pp-text-white[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.pp-placeholder-slate-500[_ngcontent-%COMP%]::placeholder{--tw-placeholder-opacity: 1;color:rgb(100 116 139 / var(--tw-placeholder-opacity, 1))}.pp-shadow[_ngcontent-%COMP%]{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
1--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-shadow-\\[0_20px_60px_rgba\\(2\\[_ngcontent-%COMP%], 6\\[_ngcontent-%COMP%], 23\\[_ngcontent-%COMP%], 0\\.08\\)\\][_ngcontent-%COMP%]{--tw-shadow: 0 20px 60px rgba(2,6,23,.08);--tw-shadow-colored: 0 20px 60px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-shadow-inner[_ngcontent-%COMP%]{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-shadow-lg[_ngcontent-%COMP%]{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-sha
1dow)}.pp-shadow-md[_ngcontent-%COMP%]{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-shadow-sm[_ngcontent-%COMP%]{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-outline-none[_ngcontent-%COMP%]{outline:2px solid transparent;outline-offset:2px}.pp-transition[_ngcontent-%COMP%]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.pp-transition-all[_ngcontent-%COMP%]{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.pp-transition-colors[_ngcontent-%COMP%]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.pp-transition-transform[_ngcontent-%COMP%]{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.pp-duration-0[_ngcontent-%COMP%]{transition-duration:0s}.pp-input[_ngcontent-%COMP%], .pp-textarea[_ngcontent-%COMP%]{width:100%;padding:.6rem .75rem;border-radius:.5rem;border:1px solid #d1e0ea;background:#fff;box-sizing:border-box;transition:box-shadow .12s ease,border-color .12s ease}.pp-input[_ngcontent-%COMP%]:focus, .pp-textarea[_ngcontent-%COMP%]:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 6px #2563eb14}.pp-input.pr-10[_ngcontent-%COMP%]{padding-right:3.5rem!important}.pp-error[_ngcontent-%COMP%]{color:#dc2626;font-size:.875rem;margin-top:.25rem}.req[_ngcontent-%COMP%]{color:#dc2626}.pp-relative[_ngcontent-%COMP%]{position:relative;overflow:visible!important}.pp-absolute[_ngcontent-%COMP%]{position:absolute}.pp-inset-y-0[_ngcontent-%COMP%]{top:0;bottom:0}.pp-right-0[_ngcontent-%COMP%]{right:.5rem}.pp-pr-3[_ngcontent-%COMP%]{padding-right:0}.pp-flex[_ngcontent-%COMP%]{display:flex}.pp-items-center[_ngcontent-%COMP%]{align-items:center}.pp-text-gray-500[_ngcontent-%COMP%]{color:#6b7280}.pp-h-5[_ngcontent-%COMP%]{height:20px!important;min-height:20px!important}.pp-w-5[_ngcontent-%COMP%]{width:20px!important;min-width:20px!important}.hover\\:pp-text-gray-700[_ngcontent-%COMP%]:hover{color:#374151}.pp-mb-4[_ngcontent-%COMP%]{margin-bottom:1rem}.pp-block[_ngcontent-%COMP%]{display:block}.pp-font-medium[_ngcontent-%COMP%]{font-weight:500}.pp-mb-2[_ngcontent-%COMP%]{margin-bottom:.5rem}.pp-h-4[_ngcontent-%COMP%]{height:1rem}.pp-w-4[_ngcontent-%COMP%]{width:1rem}.pp-rounded[_ngcontent-%COMP%]{border-radius:.25rem}.pp-border[_ngcontent-%COMP%]{border-width:1px}.pp-border-slate-300[_ngcontent-%COMP%]{border-color:#cbd5e1}.file\\:pp-mr-4[_ngcontent-%COMP%]::file-selector-button{margin-right:1rem}.file\\:pp-rounded-full[_ngcontent-%COMP%]::file-selector-button{border-radius:9999px}.file\\:pp-border-0[_ngcontent-%COMP%]::file-selector-button{border-width:0px}.file\\:pp-bg-blue-50[_ngcontent-%COMP%]::file-selector-button{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.file\\:pp-px-4[_ngcontent-%COMP%]::file-selector-button{padding-left:1rem;padding-right:1rem}.file\\:pp-py-2[_ngcontent-%COMP%]::file-selector-button{padding-top:.5rem;padding-bottom:.5rem}.file\\:pp-text-sm[_ngcontent-%COMP%]::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:pp-font-semibold[_ngcontent-%COMP%]::file-selector-button{font-weight:600}.file\\:pp-text-blue-700[_ngcontent-%COMP%]::file-selector-button{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.after\\:pp-absolute[_ngcontent-%COMP%]:after{content:var(--tw-content);position:absolute}.after\\:pp-bottom-0[_ngcontent-%COMP%]:after{content:var(--tw-content);bottom:0}.after\\:pp-left-0[_ngcontent-%COMP%]:after{content:var(--tw-content);left:0}.after\\:pp-right-0[_ngcontent-%COMP%]:after{content:var(--tw-content);right:0}.after\\:pp-h-0\\.5[_ngcontent-%COMP%]:after{content:var(--tw-content);height:.125rem}.after\\:pp-bg-\\__ph-0__[_ngcontent-%COMP%]:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(22 191 94 / var(--tw-bg-opacity, 1))}.even\\:pp-bg-slate-50[_ngcontent-%COMP%]:nth-child(even){--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1))}.hover\\:pp--translate-y-1[_ngcontent-%COMP%]:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:pp-bg-\\__ph-0__[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(22 191 94 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-gray-100[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-gray-800[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-sky-700[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-slate-200[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-slate-50[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1))}.hover\\:pp-text-red-800[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.hover\\:pp-text-slate-800[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity, 1))}.hover\\:pp-text-slate-900[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.hover\\:pp-text-white[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hover\\:pp-underline[_ngcontent-%COMP%]:hover{text-decoration-line:underline}.hover\\:pp-opacity-90[_ngcontent-%COMP%]:hover{opacity:.9}.hover\\:pp-shadow-lg[_ngcontent-%COMP%]:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
1--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\\:pp-shadow-md[_ngcontent-%COMP%]:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\\:file\\:pp-bg-blue-100[_ngcontent-%COMP%]::file-selector-button:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.focus\\:pp-border-blue-500[_ngcontent-%COMP%]:focus{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.focus\\:pp-bg-\\__ph-0__\\/15[_ngcontent-%COMP%]:focus{background-color:#16bf5e26}.focus\\:pp-outline-none[_ngcontent-%COMP%]:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:pp-ring-blue-500[_ngcontent-%COMP%]:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}.disabled\\:pp-cursor-not-allowed[_ngcontent-%COMP%]:disabled{cursor:not-allowed}.disabled\\:pp-opacity-50[_ngcontent-%COMP%]:disabled{opacity:.5}@media (min-width: 640px){.sm\\:pp-grid-cols-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:pp-text-base[_ngcontent-%COMP%]{font-size:1rem;line-height:1.5rem}.sm\\:pp-text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}.sm\\:pp-text-xl[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 768px){.md\\:pp-my-3[_ngcontent-%COMP%]{margin-top:.75rem;margin-bottom:.75rem}.md\\:pp-grid-cols-1[_ngcontent-%COMP%]{grid-template-columns:repeat(1,minmax(0,1fr))}.md\\:pp-grid-cols-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:pp-grid-cols-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}.md\\:pp-gap-3[_ngcontent-%COMP%]{gap:.75rem}.md\\:pp-px-3[_ngcontent-%COMP%]{padding-left:.75rem;padding-right:.75rem}.md\\:pp-text-2xl[_ngcontent-%COMP%]{font-size:1.5rem;line-height:2rem}.md\\:pp-text-\\__ph-0__[_ngcontent-%COMP%]{font-size:15px}.md\\:pp-text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}}@media (min-width: 1024px){.lg\\:pp-grid-cols-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\\:pp-grid-cols-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,minmax(0,1fr))}}']}),i})();function we(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"button",13),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.onCancelClicked())}),t.O4$(),t.TgZ(1,"svg",14),t._UZ(2,"line",15)(3,"line",16),t.qZA()()}}function Ce(i,s){if(1&i&&(t.TgZ(0,"div",17)(1,"div",18),t._uU(2),t.qZA()()),2&i){const o=t.oxw();t.xp6(2),t.hij(" ",null!=o.schema&&null!=o.schema.submit&&o.schema.submit.label?o.schema.submit.label+" - Configuration":"Configuration"," ")}}function Pe(i,s){if(1&i&&(t.ynx(0),t._UZ(1,"app-dynamic-field",19),t.BQk()),2&i){const o=t.oxw().$implicit,e=t.oxw();
1t.xp6(1),t.Q6J("element",o)("parentForm",e.form)("isVisible",e.visibilityObj[o.key])}}function Me(i,s){if(1&i&&(t.ynx(0),t.YNc(1,Pe,2,3,"ng-container",9),t.BQk()),2&i){const o=s.$implicit,e=t.oxw();t.xp6(1),t.Q6J("ngIf","group"!==o.type&&e.visibilityObj[o.key]&&!e.isHiddenElement(o))}}function Oe(i,s){if(1&i&&(t.TgZ(0,"div",25),t._UZ(1,"app-dynamic-field",19),t.qZA()),2&i){const o=t.oxw().$implicit,e=t.oxw().ngIf,n=t.oxw(3);t.xp6(1),t.Q6J("element",o)("parentForm",e)("isVisible",n.visibilityObj[o.key])}}function Se(i,s){if(1&i&&(t.ynx(0),t.YNc(1,Oe,2,3,"div",24),t.BQk()),2&i){const o=s.$implicit,e=t.oxw(4);t.xp6(1),t.Q6J("ngIf",e.visibilityObj[o.key]&&!e.isHiddenElement(o))}}function ke(i,s){if(1&i&&(t.ynx(0),t.TgZ(1,"div",23),t.YNc(2,Se,2,1,"ng-container",6),t.qZA(),t.BQk()),2&i){const o=t.oxw(2).$implicit;t.xp6(2),t.Q6J("ngForOf",o.fields)}}function Te(i,s){if(1&i&&(t.ynx(0),t.TgZ(1,"section",20)(2,"div",21)(3,"h3",22),t._uU(4),t.qZA()(),t.YNc(5,ke,3,1,"ng-container",9),t.qZA(),t.BQk()),2&i){const o=t.oxw().$implicit,e=t.oxw();
1t.xp6(4),t.hij(" ",o.label," "),t.xp6(1),t.Q6J("ngIf",e.form.get(o.key))}}function Ae(i,s){if(1&i&&(t.ynx(0),t.YNc(1,Te,6,2,"ng-container",9),t.BQk()),2&i){const o=s.$implicit,e=t.oxw();t.xp6(1),t.Q6J("ngIf","group"===o.type&&e.visibilityObj[o.key])}}function Ze(i,s){1&i&&t._UZ(0,"mat-spinner",29),2&i&&t.Q6J("strokeWidth",2)}function De(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div")(1,"button",26),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.onSecondaryActionClicked())}),t.ALo(2,"async"),t.ALo(3,"async"),t.TgZ(4,"span",27),t._uU(5),t.YNc(6,Ze,1,1,"mat-spinner",28),t.ALo(7,"async"),t.ALo(8,"async"),t.qZA()()()}if(2&i){const o=t.oxw();t.xp6(1),t.Q6J("disabled",(null==o.form?null:o.form.invalid)||t.lcZ(2,3,o.saveLoading$)||t.lcZ(3,5,o.testLoading$)),t.xp6(4),t.hij(" ",o.secondaryActionLabel," "),t.xp6(1),t.Q6J("ngIf",o.isSnowflakeAddFlow?t.lcZ(7,7,o.saveLoading$):!o.isSnowflakeConnection&&t.lcZ(8,9,o.testLoading$))}}function Fe(i,s){1&i&&t._UZ(0,"mat-spinner",29),2&i&&t.Q6J("strokeWidth",2)}function qe(i,s){if
1(1&i){const o=t.EpF();t.TgZ(0,"div",30)(1,"button",31),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.onCancelClicked())}),t._uU(2," Cancel "),t.qZA(),t.TgZ(3,"button",32),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.onSaveClicked())}),t.ALo(4,"async"),t.ALo(5,"async"),t.TgZ(6,"span",27),t._uU(7),t.YNc(8,Fe,1,1,"mat-spinner",28),t.ALo(9,"async"),t.qZA()()()}if(2&i){const o=t.oxw();t.xp6(3),t.Q6J("disabled",(null==o.form?null:o.form.invalid)||t.lcZ(4,3,o.saveLoading$)||t.lcZ(5,5,o.testLoading$)||o.requiresTestBeforeSave&&!o.testConnectionSuccessful),t.xp6(4),t.hij(" ","add"===o.actiontype?"Save":"Update"," "),t.xp6(1),t.Q6J("ngIf",t.lcZ(9,7,o.saveLoading$))}}function Le(i,s){if(1&i&&(t.TgZ(0,"p",46),t._uU(1),t.qZA()),2&i){const o=t.oxw(2);t.xp6(1),t.hij(" instruction: ",o.snowflakeInstructionText," ")}}function Ne(i,s){1&i&&t._UZ(0,"mat-spinner",29),2&i&&t.Q6J("strokeWidth",2)}function Ie(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",33)(1,"div",34)(2,"div",35)(3,"div",36),t._uU(4,"Create Connection"),t.qZA(),t.TgZ(5,"button",37),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();
1return t.KtG(n.closeSnowflakeInstructionModal())}),t.O4$(),t.TgZ(6,"svg",38),t._UZ(7,"line",15)(8,"line",16),t.qZA()()(),t.kcU(),t.TgZ(9,"div",39),t.YNc(10,Le,2,1,"p",40),t.TgZ(11,"div",41)(12,"div",42),t._uU(13,'"sql":'),t.qZA(),t.TgZ(14,"pre",43),t._uU(15),t.qZA()()(),t.TgZ(16,"div",44)(17,"button",31),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.copySnowflakeSql())}),t._uU(18," Copy "),t.qZA(),t.TgZ(19,"button",45),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.onVerifySnowflakeConnection())}),t.ALo(20,"async"),t.TgZ(21,"span",27),t._uU(22," Verify Connection "),t.YNc(23,Ne,1,1,"mat-spinner",28),t.ALo(24,"async"),t.qZA()()()()()}if(2&i){const o=t.oxw();t.xp6(10),t.Q6J("ngIf",o.snowflakeInstructionText),t.xp6(5),t.Oqu(o.snowflakeInstructionSql),t.xp6(4),t.Q6J("disabled",t.lcZ(20,4,o.testLoading$)||!o.snowflakeVerifyEndpoint&&!o.createdSnowflakeConnectionId),t.xp6(4),t.Q6J("ngIf",t.lcZ(24,6,o.testLoading$))}}let _t=(()=>{const s=class{constructor(e,n,r,a){this.dfs=e,this.messageService=n,this.dialogConfig=r,this.dialogRef=a,this.initialData={},this.save=new t.vpe,this.test=new t.vpe,this.cancel=new t.vpe,this.layoutElements=[],this.visibilityObj={},this.saveLoading$=this.dfs.saveLoading$,this.testLoading$=this.dfs.testLoading$,this.sub=new oe.w,this.actiontype="Add",this.requiresTestBeforeSave=!1,this.testConnectionSuccessful=!1,this.showSnowflakeInstru
1ctionModal=!1,this.createdSnowflakeConnectionId="",this.snowflakeInstructionText="",this.snowflakeInstructionSql="",this.snowflakeVerifyEndpoint="",this.snowflakeModalSource=""}get showInternalHeader(){return!this.dialogRef}get isSnowflakeConnection(){const e=this.form?.get("connection.system_type")?.value??this.initialData?.connection?.system_type??this.initialData?.system_type??this.findFieldDefault("system_type");return"snowflake"===String(e||"").toLowerCase().trim()}get secondaryActionLabel(){return this.schema?.test?.label||""}get showSecondaryActionButton(){return!(!this.schema?.test?.label||this.isSnowflakeConnection&&"edit"===this.actiontype?.toLowerCase())}get isSnowflakeAddFlow(){return this.isSnowflakeConnection&&"add"===this.actiontype?.toLowerCase()}isHiddenElement(e){return!!e?.hidden}ngOnInit(){const e=this.dialogConfig?.data?.initialData.oid;if(e&&this.dfs.setOid(e),this.dfs.init(),this.dialogConfig?.data&&(this.actiontype=this.dialogConfig.data.type,this.schema=this.dialogConfig.data.schema??this.schema,this.initialData=this.dialogConfig.data.initialData??this.initialData),!this.schema)throw new Error("DynamicFormComponent: schema is required");this.form=this.dfs.buildForm(this.schema,this.initialData),this.layoutElements=this.schema.layout,this.visibilityObj=this.dfs.evaluateVisibility(this.schema,this.form),this.requiresTestBeforeSave=!!this.schema?.test?.label&&!this.isSnowflakeConnection;const n=this.dfs.testConnectionPassed$.subscribe(a=>{this.testConnectionSuccessful=a});this.sub.add(n);const r=this.form.valueChanges.subscribe(()=>{this.visibilityObj=this.dfs.evaluateVisibility(this.schema,this.form),this.requiresTestBeforeSave&&this.dfs.resetTestConnectionStatus()});
1this.sub.add(r),this.openSnowflakeInstructionModalFromInitialData()}onSaveClicked(){if(this.form.invalid)return void this.form.markAllAsTouched();const e=this.form.getRawValue();"add"===this.actiontype?this.dfs.saveConnection(e,this.dialogRef):this.isSnowflakeConnection?this.onUpdateSnowflakeConnection():this.dfs.editConnection(e,this.dialogRef,this.initialData.connection.id)}onTestClicked(){if(this.form.invalid)return this.form.markAllAsTouched(),void this.dfs.showValidationMessageForTest();const e=this.form.getRawValue();this.dfs.testConnection(e)}onSecondaryActionClicked(){this.isSnowflakeAddFlow?this.onCreateSnowflakeConnection():this.onTestClicked()}closeSnowflakeInstructionModal(){this.showSnowflakeInstructionModal=!1}copySnowflakeSql(){var e=this;return(0,ee.Z)(function*(){if(e.snowflakeInstructionSql)try{yield navigator.clipboard.writeText(e.snowflakeInstructionSql),e.messageService.add({key:"modal",severity:"success",summary:"Copied",detail:"Snowflake SQL copied successfully."})}catch{e.messageService.add({key:"modal",severity:"warn",summary:"Copy failed",detail:"Copy the SQL manually from the dialog."})}else e.messageService.add({key:"modal",severity:"warn",summary:"Missing SQL",detail:"Snowflake SQL is not available in the create response."})})()}onVerifySnowflakeConnection(){this.snowflakeVerifyEndpoint||this.createdSnowflakeConnectionId?(this.snowflakeVerifyEndpoint?this.dfs.verifySnowflakeConnectionByEndpoint(this.snowflakeVerifyEndpoint):this.dfs.verifySnowflakeConnection(this.createdSnowflakeConnectionId)).subscribe({next:()=>{this.messageService.add({key:"modal",severity:"success",summary:"Success",detail:"Snowflake connection verified successfully."}
1),this.showSnowflakeInstructionModal=!1,("add"===this.snowflakeModalSource||"edit"===this.snowflakeModalSource)&&setTimeout(()=>this.dialogRef?.close({status:"success"}),1500)},error:n=>{this.messageService.add({key:"modal",severity:"error",summary:"Error",detail:n?.error?.error||"Error in verifying Snowflake connection"})}}):this.messageService.add({key:"modal",severity:"warn",summary:"Missing connection",detail:"Snowflake verify details are not available for this connection."})}onCancelClicked(){this.dialogRef?this.dialogRef.close():this.cancel.emit()}findFieldDefault(e){for(const n of this.schema?.layout||[]){if("group"!==n.type){if(n.key===e)return n.default;continue}const r=n.fields?.find(a=>a.key===e);if(r)return r.default}return null}onCreateSnowflakeConnection(){this.form.invalid?this.form.markAllAsTouched():this.dfs.createConnectionRequest(this.form.getRawValue()).subscribe({next:e=>{this.createdSnowflakeConnectionId=this.extractConnectionId(e),this.applySnowflakeSetup(e,"add"),this.messageService.add({key:"modal",severity:"success",summary:"Success",detail:"Connection created successfully"}),this.createdSnowflakeConnectionId||this.messageService.add({key:"modal",severity:"warn",summary:"Missing connection id",detail:"Connection was created, but verify requires a connection id."}
1),this.snowflakeInstructionSql||this.messageService.add({key:"modal",severity:"warn",summary:"Missing SQL",detail:"Create response did not include Snowflake SQL."}),this.showSnowflakeInstructionModal=!0},error:e=>{this.messageService.add({key:"modal",severity:"error",summary:"Error",detail:e?.error?.error||"Error in creating connection"})}})}onUpdateSnowflakeConnection(){this.form.invalid?this.form.markAllAsTouched():this.dfs.editConnectionRequest(this.form.getRawValue(),this.initialData.connection.id).subscribe({next:e=>{this.createdSnowflakeConnectionId=this.extractConnectionId(e)||`${this.initialData?.connection?.id||""}`.trim(),this.applySnowflakeSetup(e,"edit"),this.messageService.add({key:"modal",severity:"success",summary:"Success",detail:"Connection updated successfully"}),this.snowflakeInstructionSql?this.showSnowflakeInstructionModal=!0:this.dialogRef?.close({status:"success"})},error:e=>{this.messageService.add({key:"modal",severity:"error",summary:"Error",detail:e?.error?.error||"Error in updating connection"})}})}extractConnectionId(e){return e?.id||e?.data?.id||e?.response?.id||e?.connection?.id||e?.data?.connection?.id||""}
1openSnowflakeInstructionModalFromInitialData(){"edit"!==this.actiontype?.toLowerCase()||!this.isSnowflakeConnection||!this.initialData?.snowflakeSetup||(this.applySnowflakeSetup({setup:this.initialData.snowflakeSetup},"edit"),this.createdSnowflakeConnectionId=`${this.initialData?.connection?.id||""}`.trim(),this.showSnowflakeInstructionModal=!0)}applySnowflakeSetup(e,n){const r=this.extractSnowflakeSetup(e);this.snowflakeModalSource=n,this.snowflakeInstructionText=`${r?.instruction||""}`.trim(),this.snowflakeInstructionSql=`${r?.sql||""}`.trim(),this.snowflakeVerifyEndpoint=`${r?.verifyEndpoint||r?.verify_endpoint||""}`.trim()}extractSnowflakeSetup(e){return e?.setup||e?.data?.setup||e?.response?.setup||e?.connection?.setup||e?.data?.connection?.setup||{}}ngOnDestroy(){this.sub.unsubscribe()}};let i=s;return s.\u0275fac=function(n){return new(n||s)(t.Y36(gt),t.Y36(C.ez),t.Y36(z.S,8),t.Y36(z.E7,8))},s.\u0275cmp=t.Xpm({type:s,selectors:[["app-dynamic-form"]],inputs:{schema:"schema",initialData:"initialData"},outputs:{save:"save",test:"test",cancel:"cancel"},features:[t._Bn([gt])],decls:14,vars:8,consts:[[1,"pp-bg-transparent","dynamic-form"],["type","button","class","pp-dialog-close-btn-fixed","aria-label","Close dialog",3,"click",4,"ngIf"],[1,"pp-flex","pp-flex-col","pp-h-full"],["class","pp-p-4 pp-border-b pp-border-slate-100",4,"ngIf"],["role","region","aria-label","form content",1,"pp-dialog-inner"],[1,"pp-p-6","pp-space-y-6",3,"formGroup"],[4,"ngFor","ngForOf"],[1,"pp-border-t","pp-border-slate-100","pp-p-4","pp-bg-white"],[1,"pp-flex","pp-items-center"],[4,"ngIf"],["class","pp-flex pp-gap-3 pp-ml-auto",4,"ngIf"],["class","snowflake-instruction-backdrop",4,"ngIf"],["key","modal","position","bottom-right"],["type","button","aria-label","Close dialog",1,"pp-dialog-close-btn-fixed",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","20","height","20","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["x1","18","y1","6","x2","6","y2","18"],["x1","6","y1","6","x2","18","y2","18"],[1,"pp-p-4","pp-border-b","pp-border-slate-100"],[1,"pp-text-lg","pp-font-semibold"],[3,"element","parentForm","isVisible"],[1,"pp-bg-white","pp-border","pp-border-slate-200","pp-rounded-md","pp-shadow-sm","pp-p-5"],[1,"pp-flex","pp-justify-between","pp-items-center","pp-mb-4"],[1,"pp-text-lg","pp-font-semibold","pp-text-slate-800"],[1,"pp-grid","pp-grid-cols-1","md:pp-grid-cols-2","pp-gap-4"],["class","pp-col-span-1",4,"ngIf"],[1,"pp-col-span-1"],["type","button",1,"pp-btn","pp-btn-ghost",2,"background-color","#16bf5e","color","#fff",3,"disabled","click"],[2,"display","flex","align-items","center","gap","5px"],["diameter","20",3,"strokeWidth",4,"ngIf"],["diameter","20",3,"strokeWidth"],[1,"pp-flex","pp-gap-3","pp-ml-auto"],["type","button",1,"pp-btn","pp-btn-ghost",3,"click"],["type","button",1,"pp-btn","pp-btn-primary",3,"disabled","click"],[1,"snowflake-instruction-backdrop"],[1,"snowflake-instruction-modal"],[1,"snowflake-instruction-header"],[1,"snowflake-instruction-title"],["type","button","aria-label","Close instruction dialog",1,"snowflake-instruction-close",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","18","height","18","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],[1,"snowflake-instruction-body"],["class","snowflake-instruction-text",4,"ngIf"],[1,"snowflake-instruction-sql-wrap"],[1,"snowflake-instruction-sql-label"],[1,"snowflake-instruction-sql"],[1,"snowflake-instruction-footer"],["type","button",1,"pp-btn","snowflake-verify-btn",3,"disabled","click"],[1,"snowflake-instruction-text"]],template:function(n,r){1&n&&(t.TgZ(0,"div",0),t.YNc(1,we,4,0,"button",1),t.TgZ(2,"div",2),t.YNc(3,Ce,3,1,"div",3),t.TgZ(4,"div",4)(5,"form",5),t.YNc(6,Me,2,1,"ng-container",6),t.YNc(7,Ae,2,1,"ng-container",6),t.qZA()(),t.TgZ(8,"div",7)(9,"div",8),t.YNc(10,De,9,11,"div",9),t.YNc(11,qe,10,9,"div",10),t.qZA()()(),t.YNc(12,Ie,25,8,"div",11),t._UZ(13,"p-toast",12),t.qZA()),2&n&&(t.xp6(1),t.Q6J("ngIf",r.dialogRef),t.xp6(2),t.Q6J("ngIf",r.showInternalHeader),t.xp6(2),t.Q6J("formGroup",r.form),t.xp6(1),t.Q6J("ngForOf",r.layoutElements),t.xp6(1),t.Q6J("ngForOf",r.layoutElements),t.xp6(3),t.Q6J("ngIf",r.showSecondaryActionButton),t.xp6(1),t.Q6J("ngIf",!r.isSnowflakeAddFlow),t.xp6(1),t.Q6J("ngIf",r.showSnowflakeInstru
1ctionModal))},dependencies:[h.sg,h.O5,u._Y,u.JL,u.sg,L.FN,E.Ou,ye,h.Ov],styles:['*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[_ngcontent-%COMP%]::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}[_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-content: ""}html[_ngcontent-%COMP%], [_nghost-%COMP%]{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body[_ngcontent-%COMP%]{margin:0;line-height:inherit}hr[_ngcontent-%COMP%]{height:0;color:inherit;border-top-width:1px}abbr[_ngcontent-%COMP%]:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-size:inherit;font-weight:inherit}a[_ngcontent-%COMP%]{color:inherit;text-decoration:inherit}b[_ngcontent-%COMP%], strong[_ngcontent-%COMP%]{font-weight:bolder}code[_ngcontent-%COMP%], kbd[_ngcontent-%COMP%], samp[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small[_ngcontent-%COMP%]{font-size:80%}sub[_ngcontent-%COMP%], sup[_ngcontent-%COMP%]{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub[_ngcontent-%COMP%]{bottom:-.25em}sup[_ngcontent-%COMP%]{top:-.5em}table[_ngcontent-%COMP%]{text-indent:0;border-color:inherit;border-collapse:collapse}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%], optgroup[_ngcontent-%COMP%], select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button[_ngcontent-%COMP%], select[_ngcontent-%COMP%]{text-transform:none}
1button[_ngcontent-%COMP%], input[_ngcontent-%COMP%]:where([type="button"]), input[_ngcontent-%COMP%]:where([type="reset"]), input[_ngcontent-%COMP%]:where([type="submit"]){-webkit-appearance:button;background-color:transparent;background-image:none}[_ngcontent-%COMP%]:-moz-focusring{outline:auto}[_ngcontent-%COMP%]:-moz-ui-invalid{box-shadow:none}progress[_ngcontent-%COMP%]{vertical-align:baseline}[_ngcontent-%COMP%]::-webkit-inner-spin-button, [_ngcontent-%COMP%]::-webkit-outer-spin-button{height:auto}[type=search][_ngcontent-%COMP%]{-webkit-appearance:textfield;outline-offset:-2px}[_ngcontent-%COMP%]::-webkit-search-decoration{-webkit-appearance:none}[_ngcontent-%COMP%]::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary[_ngcontent-%COMP%]{display:list-item}blockquote[_ngcontent-%COMP%], dl[_ngcontent-%COMP%], dd[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%], hr[_ngcontent-%COMP%], figure[_ngcontent-%COMP%], p[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{margin:0}fieldset[_ngcontent-%COMP%]{margin:0;padding:0}legend[_ngcontent-%COMP%]{padding:0}ol[_ngcontent-%COMP%], ul[_ngcontent-%COMP%], menu[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}dialog[_ngcontent-%COMP%]{padding:0}textarea[_ngcontent-%COMP%]{resize:vertical}input[_ngcontent-%COMP%]::placeholder, textarea[_ngcontent-%COMP%]::placeholder{opacity:1;color:#9ca3af}button[_ngcontent-%COMP%], [role=button][_ngcontent-%COMP%]{cursor:pointer}[_ngcontent-%COMP%]:disabled{cursor:default}img[_ngcontent-%COMP%], svg[_ngcontent-%COMP%], video[_ngcontent-%COMP%], canvas[_ngcontent-%COMP%], audio[_ngcontent-%COMP%], iframe[_ngcontent-%COMP%], embed[_ngcontent-%COMP%], object[_ngcontent-%COMP%]{display:block;vertical-align:middle}img[_ngcontent-%COMP%], video[_ngcontent-%COMP%]{max-width:100%;height:auto}[hidden][_ngcontent-%COMP%]:where(:not([hidden="until-found"])){display:none}.pp-container[_ngcontent-%COMP%]{width:100%}@media (min-width: 640px){.pp-container[_ngcontent-%COMP%]{max-width:640px}}@media (min-width: 768px){.pp-container[_ngcontent-%COMP%]{max-width:768px}}@media (min-width: 1024px){.pp-container[_ngcontent-%COMP%]{max-width:1024px}}@media (min-width: 1280px){.pp-container[_ngcontent-%COMP%]{max-width:1280px}}@media (min-width: 1536px){.pp-container[_ngcontent-%COMP%]{max-width:1536px}}.pp-pointer-events-none[_ngcontent-%COMP%]{pointer-events:none}.pp-absolute[_ngcontent-%COMP%]{position:absolute}.pp-relative[_ngcontent-%COMP%]{position:relative}.pp-inset-0[_ngcontent-%COMP%]{inset:0}.pp-inset-y-0[_ngcontent-%COMP%]{top:0;bottom:0}.pp-bottom-0[_ngcontent-%COMP%]{bottom:0}.pp-left-0[_ngcontent-%COMP%]{left:0}.pp-left-4[_ngcontent-%COMP%]{left:1rem}.pp-right-0[_ngcontent-%COMP%]{right:0}.pp-top-1\\/2[_ngcontent-%COMP%]{top:50%}.-pp-z-10[_ngcontent-%COMP%]{z-index:-10}.pp-col-span-1[_ngcontent-%COMP%]{grid-column:span 1 / span 1}.pp-col-span-11[_ngcontent-%COMP%]{grid-column:span 11 / span 11}.pp-col-span-2[_ngcontent-%COMP%]{grid-column:span 2 / span 2}.pp-col-span-3[_ngcontent-%COMP%]{grid-column:span 3 / span 3}.pp-col-span-9[_ngcontent-%COMP%]{grid-column:span 9 / span 9}.pp-mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.pp-my-2[_ngcontent-%COMP%]{margin-top:.5rem;margin-bottom:.5rem}.pp-mb-0[_ngcontent-%COMP%]{margin-bottom:0}.pp-mb-1[_ngcontent-%COMP%]{margin-bottom:.25rem}.pp-mb-2[_ngcontent-%COMP%]{margin-bottom:.5rem}.pp-mb-3[_ngcontent-%COMP%]{margin-bottom:.75rem}.pp-mb-4[_ngcontent-%COMP%]{margin-bottom:1rem}.pp-mb-6[_ngcontent-%COMP%]{margin-bottom:1.5rem}.pp-mb-8[_ngcontent-%COMP%]{margin-bottom:2rem}.pp-ml-1[_ngcontent-%COMP%]{margin-left:.25rem}.pp-ml-2[_ngcontent-%COMP%]{margin-left:.5rem}.pp-ml-3[_ngcontent-%COMP%]{margin-left:.75rem}.pp-ml-4[_ngcontent-%COMP%]{margin-left:1rem}.pp-ml-6[_ngcontent-%COMP%]{margin-left:1.5rem}.pp-ml-auto[_ngcontent-%COMP%]{margin-left:auto}.pp-mr-1[_ngcontent-%COMP%]{margin-right:.25rem}.pp-mr-2[_ngcontent-%COMP%]{margin-right:.5rem}.pp-mt-1[_ngcontent-%COMP%]{margin-top:.25rem}.pp-mt-10[_ngcontent-%COMP%]{margin-top:2.5rem}
1.pp-mt-2[_ngcontent-%COMP%]{margin-top:.5rem}.pp-mt-3[_ngcontent-%COMP%]{margin-top:.75rem}.pp-mt-4[_ngcontent-%COMP%]{margin-top:1rem}.pp-mt-5[_ngcontent-%COMP%]{margin-top:1.25rem}.pp-mt-6[_ngcontent-%COMP%]{margin-top:1.5rem}.pp-mt-\\__ph-0__[_ngcontent-%COMP%]{margin-top:3px}.pp-block[_ngcontent-%COMP%]{display:block}.pp-inline-block[_ngcontent-%COMP%]{display:inline-block}.pp-flex[_ngcontent-%COMP%]{display:flex}.pp-inline-flex[_ngcontent-%COMP%]{display:inline-flex}.pp-grid[_ngcontent-%COMP%]{display:grid}.pp-hidden[_ngcontent-%COMP%]{display:none}.pp-h-10[_ngcontent-%COMP%]{height:2.5rem}.pp-h-2[_ngcontent-%COMP%]{height:.5rem}.pp-h-20[_ngcontent-%COMP%]{height:5rem}.pp-h-24[_ngcontent-%COMP%]{height:6rem}.pp-h-3[_ngcontent-%COMP%]{height:.75rem}.pp-h-36[_ngcontent-%COMP%]{height:9rem}.pp-h-4[_ngcontent-%COMP%]{height:1rem}.pp-h-5[_ngcontent-%COMP%]{height:1.25rem}.pp-h-6[_ngcontent-%COMP%]{height:1.5rem}.pp-h-72[_ngcontent-%COMP%]{height:18rem}.pp-h-\\__ph-0__[_ngcontent-%COMP%]{height:2px}.pp-h-\\__ph-0__[_ngcontent-%COMP%]{height:calc(100vh - 72px)}.pp-h-full[_ngcontent-%COMP%]{height:100%}.pp-h-px[_ngcontent-%COMP%]{height:1px}.pp-max-h-0[_ngcontent-%COMP%]{max-height:0px}.pp-max-h-36[_ngcontent-%COMP%]{max-height:9rem}.pp-max-h-72[_ngcontent-%COMP%]{max-height:18rem}.pp-max-h-screen[_ngcontent-%COMP%]{max-height:100vh}.pp-min-h-\\__ph-0__[_ngcontent-%COMP%]{min-height:320px}.pp-min-h-\\__ph-0__[_ngcontent-%COMP%]{min-height:90px}.pp-min-h-screen[_ngcontent-%COMP%]{min-height:100vh}.pp-w-1\\/3[_ngcontent-%COMP%]{width:33.333333%}.pp-w-1\\/4[_ngcontent-%COMP%]{width:25%}.pp-w-16[_ngcontent-%COMP%]{width:4rem}.pp-w-20[_ngcontent-%COMP%]{width:5rem}.pp-w-24[_ngcontent-%COMP%]{width:6rem}.pp-w-3[_ngcontent-%COMP%]{width:.75rem}.pp-w-3\\/4[_ngcontent-%COMP%]{width:75%}.pp-w-36[_ngcontent-%COMP%]{width:9rem}.pp-w-4[_ngcontent-%COMP%]{width:1rem}.pp-w-5[_ngcontent-%COMP%]{width:1.25rem}.pp-w-6[_ngcontent-%COMP%]{width:1.5rem}.pp-w-72[_ngcontent-%COMP%]{width:18rem}.pp-w-full[_ngcontent-%COMP%]{width:100%}.pp-min-w-\\__ph-0__[_ngcontent-%COMP%]{min-width:120px}.pp-min-w-full[_ngcontent-%COMP%]{min-width:100%}.pp-max-w-2xl[_ngcontent-%COMP%]{max-width:42rem}.pp-max-w-3xl[_ngcontent-%COMP%]{max-width:48rem}.pp-max-w-4xl[_ngcontent-%COMP%]{max-width:56rem}.pp-max-w-7xl[_ngcontent-%COMP%]{max-width:80rem}.pp-max-w-\\__ph-0__[_ngcontent-%COMP%]{max-width:50%}.pp-max-w-full[_ngcontent-%COMP%]{max-width:100%}.pp-max-w-md[_ngcontent-%COMP%]{max-width:28rem}.pp-max-w-xl[_ngcontent-%COMP%]{max-width:36rem}.pp-max-w-xs[_ngcontent-%COMP%]{max-width:20rem}.pp-flex-1[_ngcontent-%COMP%]{flex:1 1 0%}.pp-border-collapse[_ngcontent-%COMP%]{border-collapse:collapse}.pp--translate-y-1\\/2[_ngcontent-%COMP%]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.pp-rotate-180[_ngcontent-%COMP%]{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.pp-cursor-not-allowed[_ngcontent-%COMP%]{cursor:not-allowed}.pp-cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.pp-select-none[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.pp-grid-cols-1[_ngcontent-%COMP%]{grid-template-columns:repeat(1,minmax(0,1fr))}.pp-grid-cols-12[_ngcontent-%COMP%]{grid-template-columns:repeat(12,minmax(0,1fr))}.pp-grid-cols-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}.pp-flex-col[_ngcontent-%COMP%]{flex-direction:column}.pp-flex-wrap[_ngcontent-%COMP%]{flex-wrap:wrap}.pp-items-start[_ngcontent-%COMP%]{align-items:flex-start}.pp-items-end[_ngcontent-%COMP%]{align-items:flex-end}.pp-items-center[_ngcontent-%COMP%]{align-items:center}.pp-justify-end[_ngcontent-%COMP%]{justify-content:flex-end}.pp-justify-center[_ngcontent-%COMP%]{justify-content:center}.pp-justify-between[_ngcontent-%COMP%]{justify-content:space-between}.pp-justify-items-center[_ngcontent-%COMP%]{justify-items:center}.pp-gap-2[_ngcontent-%COMP%]{gap:.5rem}.pp-gap-3[_ngcontent-%COMP%]{gap:.75rem}.pp-gap-4[_ngcontent-%COMP%]{gap:1rem}.pp-gap-6[_ngcontent-%COMP%]{gap:1.5rem}.pp-gap-8[_ngcontent-%COMP%]{gap:2rem}.pp-gap-x-12[_ngcontent-%COMP%]{column-gap:3rem}.pp-gap-y-12[_ngcontent-%COMP%]{row-gap:3rem}.pp-space-x-3[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.pp-space-x-4[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.pp-space-y-1[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.pp-space-y-2[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.pp-space-y-3[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}
1.pp-space-y-4[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.pp-space-y-6[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.pp-overflow-auto[_ngcontent-%COMP%]{overflow:auto}.pp-overflow-hidden[_ngcontent-%COMP%]{overflow:hidden}.pp-overflow-x-auto[_ngcontent-%COMP%]{overflow-x:auto}.pp-whitespace-nowrap[_ngcontent-%COMP%]{white-space:nowrap}.pp-whitespace-pre-wrap[_ngcontent-%COMP%]{white-space:pre-wrap}.pp-break-words[_ngcontent-%COMP%]{overflow-wrap:break-word}.pp-break-all[_ngcontent-%COMP%]{word-break:break-all}.pp-rounded[_ngcontent-%COMP%]{border-radius:.25rem}.pp-rounded-2xl[_ngcontent-%COMP%]{border-radius:1rem}.pp-rounded-3xl[_ngcontent-%COMP%]{border-radius:1.5rem}.pp-rounded-full[_ngcontent-%COMP%]{border-radius:9999px}.pp-rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.pp-rounded-md[_ngcontent-%COMP%]{border-radius:.375rem}.pp-rounded-xl[_ngcontent-%COMP%]{border-radius:.75rem}.pp-border[_ngcontent-%COMP%]{border-width:1px}.pp-border-0[_ngcontent-%COMP%]{border-width:0px}.pp-border-2[_ngcontent-%COMP%]{border-width:2px}.pp-border-b[_ngcontent-%COMP%]{border-bottom-width:1px}.pp-border-t[_ngcontent-%COMP%]{border-top-width:1px}.pp-border-dashed[_ngcontent-%COMP%]{border-style:dashed}.pp-border-blue-300[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity, 1))}.pp-border-gray-200[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.pp-border-gray-300[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.pp-border-red-200[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity, 1))}.pp-border-slate-100[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(241 245 249 / var(--tw-border-opacity, 1))}.pp-border-slate-200[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity, 1))}.pp-border-slate-300[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1))}.pp-border-transparent[_ngcontent-%COMP%]{border-color:transparent}.pp-bg-\\__ph-0__[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(22 191 94 / var(--tw-bg-opacity, 1))}.pp-bg-\\__ph-0__\\/10[_ngcontent-%COMP%]{background-color:#16bf5e1a}.pp-bg-\\__ph-0__\\/15[_ngcontent-%COMP%]{background-color:#16bf5e26}.pp-bg-\\__ph-0__\\/10[_ngcontent-%COMP%]{background-color:#16bf5e1a}.pp-bg-\\__ph-0__[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(246 248 255 / var(--tw-bg-opacity, 1))}.pp-bg-amber-600[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity, 1))}.pp-bg-blue-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.pp-bg-blue-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.pp-bg-emerald-600[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity, 1))}.pp-bg-gray-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.pp-bg-gray-200[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.pp-bg-gray-300[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.pp-bg-gray-50[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.pp-bg-gray-600[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.pp-bg-gray-800[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.pp-bg-gray-900[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.pp-bg-green-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.pp-bg-green-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.pp-bg-pink-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity, 1))}.pp-bg-purple-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity, 1))}.pp-bg-red-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.pp-bg-red-50[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.pp-bg-sky-600[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity, 1))}.pp-bg-slate-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1))}.pp-bg-slate-300[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity, 1))}.pp-bg-slate-50[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1))}.pp-bg-transparent[_ngcontent-%COMP%]{background-color:transparent}.pp-bg-white[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.pp-bg-white\\/60[_ngcontent-%COMP%]{background-color:#fff9}.pp-bg-yellow-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))}.pp-bg-gradient-to-b[_ngcontent-%COMP%]{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.pp-from-\\__ph-0__\\/10[_ngcontent-%COMP%]{--tw-gradient-from: rgb(22 191 94 / .1) var(--tw-gradient-from-position);--tw-gradient-to: rgb(22 191 94 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.pp-to-slate-50[_ngcontent-%COMP%]{--tw-gradient-to: #f8fafc var(--tw-gradient-to-position)}.pp-p-12[_ngcontent-%COMP%]{padding:3rem}.pp-p-2[_ngcontent-%COMP%]{padding:.5rem}.pp-p-3[_ngcontent-%COMP%]{padding:.75rem}.pp-p-4[_ngcontent-%COMP%]{padding:1rem}.pp-p-5[_ngcontent-%COMP%]{padding:1.25rem}.pp-p-6[_ngcontent-%COMP%]{padding:1.5rem}.pp-p-8[_ngcontent-%COMP%]{padding:2rem}.pp-px-10[_ngcontent-%COMP%]{padding-left:2.5rem;padding-right:2.5rem}.pp-px-2[_ngcontent-%COMP%]{padding-left:.5rem;padding-right:.5rem}.pp-px-2\\.5[_ngcontent-%COMP%]{padding-left:.625rem;padding-right:.625rem}.pp-px-3[_ngcontent-%COMP%]{padding-left:.75rem;padding-right:.75rem}.pp-px-4[_ngcontent-%COMP%]{padding-left:1rem;padding-right:1rem}.pp-px-6[_ngcontent-%COMP%]{padding-left:1.5rem;padding-right:1.5rem}.pp-py-0\\.5[_ngcontent-%COMP%]{padding-top:.125rem;padding-bottom:.125rem}.pp-py-1[_ngcontent-%COMP%]{padding-top:.25rem;padding-bottom:.25rem}.pp-py-1\\.5[_ngcontent-%COMP%]{padding-top:.375rem;padding-bottom:.375rem}.pp-py-10[_ngcontent-%COMP%]{padding-top:2.5rem;padding-bottom:2.5rem}.pp-py-12[_ngcontent-%COMP%]{padding-top:3rem;padding-bottom:3rem}.pp-py-2[_ngcontent-%COMP%]{padding-top:.5rem;padding-bottom:.5rem}.pp-py-3[_ngcontent-%COMP%]{padding-top:.75rem;padding-bottom:.75rem}
1.pp-py-4[_ngcontent-%COMP%]{padding-top:1rem;padding-bottom:1rem}.pp-py-6[_ngcontent-%COMP%]{padding-top:1.5rem;padding-bottom:1.5rem}.pp-py-8[_ngcontent-%COMP%]{padding-top:2rem;padding-bottom:2rem}.pp-pb-12[_ngcontent-%COMP%]{padding-bottom:3rem}.pp-pb-16[_ngcontent-%COMP%]{padding-bottom:4rem}.pp-pb-3[_ngcontent-%COMP%]{padding-bottom:.75rem}.pp-pb-4[_ngcontent-%COMP%]{padding-bottom:1rem}.pp-pb-6[_ngcontent-%COMP%]{padding-bottom:1.5rem}.pp-pb-8[_ngcontent-%COMP%]{padding-bottom:2rem}.pp-pl-0[_ngcontent-%COMP%]{padding-left:0}.pp-pl-11[_ngcontent-%COMP%]{padding-left:2.75rem}.pp-pr-3[_ngcontent-%COMP%]{padding-right:.75rem}.pp-pr-4[_ngcontent-%COMP%]{padding-right:1rem}.pp-pt-0[_ngcontent-%COMP%]{padding-top:0}.pp-pt-1[_ngcontent-%COMP%]{padding-top:.25rem}.pp-pt-10[_ngcontent-%COMP%]{padding-top:2.5rem}.pp-pt-12[_ngcontent-%COMP%]{padding-top:3rem}.pp-pt-2[_ngcontent-%COMP%]{padding-top:.5rem}.pp-pt-4[_ngcontent-%COMP%]{padding-top:1rem}.pp-pt-6[_ngcontent-%COMP%]{padding-top:1.5rem}.pp-text-left[_ngcontent-%COMP%]{text-align:left}.pp-text-center[_ngcontent-%COMP%]{text-align:center}.pp-text-right[_ngcontent-%COMP%]{text-align:right}.pp-font-mono[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.pp-text-2xl[_ngcontent-%COMP%]{font-size:1.5rem;line-height:2rem}.pp-text-3xl[_ngcontent-%COMP%]{font-size:1.875rem;line-height:2.25rem}.pp-text-4xl[_ngcontent-%COMP%]{font-size:2.25rem;line-height:2.5rem}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{font-size:11px}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{font-size:12px}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{font-size:13px}.pp-text-base[_ngcontent-%COMP%]{font-size:1rem;line-height:1.5rem}.pp-text-lg[_ngcontent-%COMP%]{font-size:1.125rem;line-height:1.75rem}.pp-text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}.pp-text-xl[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1.75rem}.pp-text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.pp-font-bold[_ngcontent-%COMP%]{font-weight:700}.pp-font-extrabold[_ngcontent-%COMP%]{font-weight:800}.pp-font-medium[_ngcontent-%COMP%]{font-weight:500}.pp-font-normal[_ngcontent-%COMP%]{font-weight:400}.pp-font-semibold[_ngcontent-%COMP%]{font-weight:600}.pp-uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.pp-italic[_ngcontent-%COMP%]{font-style:italic}.pp-leading-5[_ngcontent-%COMP%]{line-height:1.25rem}.pp-leading-6[_ngcontent-%COMP%]{line-height:1.5rem}.pp-leading-7[_ngcontent-%COMP%]{line-height:1.75rem}.pp-leading-tight[_ngcontent-%COMP%]{line-height:1.25}.pp-tracking-wide[_ngcontent-%COMP%]{letter-spacing:.025em}.pp-tracking-wider[_ngcontent-%COMP%]{letter-spacing:.05em}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(6 95 70 / var(--tw-text-opacity, 1))}.pp-text-\\__ph-0__[_ngcontent-%COMP%], .pp-text-\\__ph-0__[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(22 191 94 / var(--tw-text-opacity, 1))}.pp-text-\\__ph-0__\\/30[_ngcontent-%COMP%]{color:#16bf5e4d}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.pp-text-amber-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity, 1))}.pp-text-black[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.pp-text-blue-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.pp-text-blue-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.pp-text-blue-700[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.pp-text-blue-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity, 1))}.pp-text-gray-400[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.pp-text-gray-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.pp-text-gray-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.pp-text-gray-700[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.pp-text-gray-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.pp-text-gray-900[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.pp-text-green-300[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity, 1))}.pp-text-green-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.pp-text-green-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.pp-text-green-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity, 1))}.pp-text-indigo-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity, 1))}.pp-text-purple-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity, 1))}.pp-text-red-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.pp-text-red-700[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.pp-text-red-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.pp-text-rose-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(225 29 72 / var(--tw-text-opacity, 1))}.pp-text-slate-300[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity, 1))}.pp-text-slate-400[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.pp-text-slate-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.pp-text-slate-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.pp-text-slate-700[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.pp-text-slate-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity, 1))}.pp-text-slate-900[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.pp-text-white[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.pp-placeholder-slate-500[_ngcontent-%COMP%]::placeholder{--tw-placeholder-opacity: 1;color:rgb(100 116 139 / var(--tw-placeholder-opacity, 1))}.pp-shadow[_ngcontent-%COMP%]{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
1--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-shadow-\\[0_20px_60px_rgba\\(2\\[_ngcontent-%COMP%], 6\\[_ngcontent-%COMP%], 23\\[_ngcontent-%COMP%], 0\\.08\\)\\][_ngcontent-%COMP%]{--tw-shadow: 0 20px 60px rgba(2,6,23,.08);--tw-shadow-colored: 0 20px 60px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-shadow-inner[_ngcontent-%COMP%]{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-shadow-lg[_ngcontent-%COMP%]{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-sha
1dow)}.pp-shadow-md[_ngcontent-%COMP%]{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-shadow-sm[_ngcontent-%COMP%]{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-outline-none[_ngcontent-%COMP%]{outline:2px solid transparent;outline-offset:2px}.pp-transition[_ngcontent-%COMP%]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.pp-transition-all[_ngcontent-%COMP%]{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.pp-transition-colors[_ngcontent-%COMP%]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.pp-transition-transform[_ngcontent-%COMP%]{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.pp-duration-0[_ngcontent-%COMP%]{transition-duration:0s}.pp-btn[_ngcontent-%COMP%]{padding:.5rem .9rem;border-radius:.375rem;cursor:pointer}.pp-btn-ghost[_ngcontent-%COMP%]{background:white;border:1px solid #e6eef6;color:#374151}.card[_ngcontent-%COMP%]{background:white;border-radius:.6rem;box-shadow:0 1px 4px #0206170f}.pp-fieldset-legend[_ngcontent-%COMP%]{display:inline-block;margin-left:.5rem;padding:0 .5rem;background:white;font-weight:600}.pp-shadow-sm[_ngcontent-%COMP%]{box-shadow:0 4px 12px #0206170f}.pp-rounded-md[_ngcontent-%COMP%]{border-radius:.6rem}.pp-border-slate-200[_ngcontent-%COMP%]{border-color:#e6eef6}.pp-dialog-inner[_ngcontent-%COMP%]{max-height:calc(80vh - 120px);overflow:auto;padding-right:.25rem}.pp-btn[_ngcontent-%COMP%]{padding:.5rem .9rem;border-radius:.5rem;cursor:pointer;border:none}.pp-btn-ghost[_ngcontent-%COMP%]{background:#fff;border:1px solid #e6eef6;color:#374151}.pp-btn-primary[_ngcontent-%COMP%]{background:#2563eb;color:#fff}.pp-btn[_ngcontent-%COMP%]:disabled{cursor:not-allowed;opacity:.6}.pp-btn-primary[_ngcontent-%COMP%]:disabled{background:#9fc2fb;color:#fff}.pp-grid[_ngcontent-%COMP%]   .pp-col-span-1[_ngcontent-%COMP%]{padding-bottom:.25rem}  .dynamic-form .p-dialog .p-dialog-content{padding:0}  .dynamic-form .p-dialog .p-dialog-header .p-dialog-titlebar-close{color:#4b5563}.dynamic-form[_ngcontent-%COMP%]{position:relative}.pp-dialog-close-btn-fixed[_ngcontent-%COMP%]{position:fixed;top:1.5rem;right:1.5rem;z-index:9999;background:white;border:1px solid #e5e7eb;cursor:pointer;padding:.5rem;border-radius:.375rem;color:#6b7280;transition:all .2s ease;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 3px #0000001a}.pp-dialog-close-btn-fixed[_ngcontent-%COMP%]:hover{background-color:#f3f4f6;color:#374151;box-shadow:0 2px 6px #00000026}.pp-dialog-close-btn-fixed[_ngcontent-%COMP%]:focus{outline:2px solid #2563eb;outline-offset:2px}.pp-dialog-close-btn-fixed[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:20px;height:20px}  .p-dialog .p-dialog-content{overflow:visible!important}  .dynamic-form .p-toast .p-toast-message-content{align-items:flex-start}  .dynamic-form .p-toast .p-toast-message-text{min-width:0}  .dynamic-form .p-toast .p-toast-icon-close{display:none}  .dynamic-form .p-toast .p-toast-detail{white-space:normal;overflow-wrap:anywhere;word-break:break-word}.snowflake-instruction-backdrop[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(15,23,42,.45);display:flex;align-items:center;justify-content:center;padding:1.5rem;z-index:10000}.snowflake-instruction-modal[_ngcontent-%COMP%]{width:min(720px,100%);background:#fff;border-radius:.75rem;box-shadow:0 20px 50px #0f172a40;overflow:hidden}.snowflake-instruction-header[_ngcontent-%COMP%], .snowflake-instruction-footer[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid #e5e7eb}.snowflake-instruction-footer[_ngcontent-%COMP%]{justify-content:flex-end;
1gap:.75rem;border-bottom:0;border-top:1px solid #e5e7eb}.snowflake-instruction-title[_ngcontent-%COMP%]{font-size:1.125rem;font-weight:600;color:#1f2937}.snowflake-instruction-close[_ngcontent-%COMP%]{border:0;background:transparent;color:#6b7280;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.snowflake-instruction-body[_ngcontent-%COMP%]{padding:1.25rem}.snowflake-instruction-text[_ngcontent-%COMP%]{margin:0 0 1rem;color:#334155;line-height:1.6}.snowflake-instruction-sql-wrap[_ngcontent-%COMP%]{border:1px solid #dbe4f0;border-radius:.75rem;padding:1rem;background:#f8fafc}.snowflake-instruction-sql-label[_ngcontent-%COMP%]{font-size:.875rem;font-weight:600;color:#475569;margin-bottom:.5rem}.snowflake-instruction-sql[_ngcontent-%COMP%]{margin:0;white-space:pre-wrap;word-break:break-word;color:#0f172a;font-size:.95rem;line-height:1.6}.snowflake-verify-btn[_ngcontent-%COMP%]{background:#16bf5e;color:#fff}.file\\:pp-mr-4[_ngcontent-%COMP%]::file-selector-button{margin-right:1rem}.file\\:pp-rounded-full[_ngcontent-%COMP%]::file-selector-button{border-radius:9999px}.file\\:pp-border-0[_ngcontent-%COMP%]::file-selector-button{border-width:0px}.file\\:pp-bg-blue-50[_ngcontent-%COMP%]::file-selector-button{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.file\\:pp-px-4[_ngcontent-%COMP%]::file-selector-button{padding-left:1rem;padding-right:1rem}.file\\:pp-py-2[_ngcontent-%COMP%]::file-selector-button{padding-top:.5rem;padding-bottom:.5rem}.file\\:pp-text-sm[_ngcontent-%COMP%]::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:pp-font-semibold[_ngcontent-%COMP%]::file-selector-button{font-weight:600}.file\\:pp-text-blue-700[_ngcontent-%COMP%]::file-selector-button{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.after\\:pp-absolute[_ngcontent-%COMP%]:after{content:var(--tw-content);position:absolute}.after\\:pp-bottom-0[_ngcontent-%COMP%]:after{content:var(--tw-content);bottom:0}.after\\:pp-left-0[_ngcontent-%COMP%]:after{content:var(--tw-content);left:0}.after\\:pp-right-0[_ngcontent-%COMP%]:after{content:var(--tw-content);right:0}.after\\:pp-h-0\\.5[_ngcontent-%COMP%]:after{content:var(--tw-content);height:.125rem}.after\\:pp-bg-\\__ph-0__[_ngcontent-%COMP%]:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(22 191 94 / var(--tw-bg-opacity, 1))}.even\\:pp-bg-slate-50[_ngcontent-%COMP%]:nth-child(even){--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1))}.hover\\:pp--translate-y-1[_ngcontent-%COMP%]:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:pp-bg-\\__ph-0__[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(22 191 94 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-gray-100[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-gray-800[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-sky-700[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-slate-200[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-slate-50[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1))}.hover\\:pp-text-red-800[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.hover\\:pp-text-slate-800[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity, 1))}.hover\\:pp-text-slate-900[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.hover\\:pp-text-white[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hover\\:pp-underline[_ngcontent-%COMP%]:hover{text-decoration-line:underline}.hover\\:pp-opacity-90[_ngcontent-%COMP%]:hover{opacity:.9}.hover\\:pp-shadow-lg[_ngcontent-%COMP%]:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
1--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\\:pp-shadow-md[_ngcontent-%COMP%]:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\\:file\\:pp-bg-blue-100[_ngcontent-%COMP%]::file-selector-button:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.focus\\:pp-border-blue-500[_ngcontent-%COMP%]:focus{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.focus\\:pp-bg-\\__ph-0__\\/15[_ngcontent-%COMP%]:focus{background-color:#16bf5e26}.focus\\:pp-outline-none[_ngcontent-%COMP%]:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:pp-ring-blue-500[_ngcontent-%COMP%]:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}.disabled\\:pp-cursor-not-allowed[_ngcontent-%COMP%]:disabled{cursor:not-allowed}.disabled\\:pp-opacity-50[_ngcontent-%COMP%]:disabled{opacity:.5}@media (min-width: 640px){.sm\\:pp-grid-cols-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:pp-text-base[_ngcontent-%COMP%]{font-size:1rem;line-height:1.5rem}.sm\\:pp-text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}.sm\\:pp-text-xl[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 768px){.md\\:pp-my-3[_ngcontent-%COMP%]{margin-top:.75rem;margin-bottom:.75rem}.md\\:pp-grid-cols-1[_ngcontent-%COMP%]{grid-template-columns:repeat(1,minmax(0,1fr))}.md\\:pp-grid-cols-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:pp-grid-cols-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}.md\\:pp-gap-3[_ngcontent-%COMP%]{gap:.75rem}.md\\:pp-px-3[_ngcontent-%COMP%]{padding-left:.75rem;padding-right:.75rem}.md\\:pp-text-2xl[_ngcontent-%COMP%]{font-size:1.5rem;line-height:2rem}.md\\:pp-text-\\__ph-0__[_ngcontent-%COMP%]{font-size:15px}.md\\:pp-text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}}@media (min-width: 1024px){.lg\\:pp-grid-cols-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\\:pp-grid-cols-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,minmax(0,1fr))}}']}),i})(),Je=(()=>{const s=class{constructor(e,n){this.http=e,this.loki=n,this.ropaBasePath="/data-discovery"}getConnectionList(e){return this.http.get(`${f.N.keyStoneUrl}${this.ropaBasePath}/connections/${e}`).pipe((0,x.K)(n=>(0,v._)(n)))}getConnectionDetails(e,n){return this.http.get(`${f.N.keyStoneUrl}${this.ropaBasePath}/connections/${e}/${n}`).pipe((0,x.K)(r=>(0,v._)(r)))}deleteConnection(e,n){return this.http.delete(`${f.N.keyStoneUrl}${this.ropaBasePath}/connections/${n}/${e}`).pipe((0,x.K)(r=>(0,v._)(r)))}};let i=s;return s.\u0275fac=function(n){return new(n||s)(t.LFG(P.eN),t.LFG(I.L))},s.\u0275prov=t.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),i})();var U=m(62430);const Ue=[{label:"Id",key:"id",columnType:"Link"},{label:"Name",key:"name",columnType:"Text"},{label:"Description",key:"description",columnType:"Text"},{label:"Type",key:"system_type",columnType:"Text"},{label:"Created At",key:"created_at",columnType:"Date"},{label:"Last Updated",key:"updated_at",columnType:"Date"},{label:"Actions",key:"",columnType:"Actions"}];let Re=(()=>{const s=class extends U.a{constructor(){super({oid:"",pid:"",discoveryList:[],columList:Ue})}};let i=s;return s.\u0275fac=function(n){return new(n||s)},s.\u0275prov=t.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),i})();var J=m(11481),ut=m(29175);let mt=(()=>{const s=class{constructor(e,n,r,a,c,p,d,l,g){this.activatedRouter=e,this.dataDiscoveryListApiService=n,this.dataDiscoveryListStateService=r,this.router=a,this.messageService=c,this.confirmationService=p,this.dialogService=d,this.titleService=l,this.permissionService=g}
1init(){this.titleService.setTitle("Connections - "+f.N.portalPrefix),this.activatedRouter.queryParams.pipe((0,N.w)(e=>(this.dataDiscoveryListStateService.updateState({oid:e.oid,pid:e.pid}),this.dataDiscoveryListApiService.getConnectionList(e.oid)))).subscribe(e=>{this.dataDiscoveryListStateService.updateState({discoveryList:e})})}hasPermission(e){return this.permissionService.getPermissionsByModuleName("Data Discovery")?.access.includes(e)}getState(){return this.dataDiscoveryListStateService.getState()}getStateObs(){return this.dataDiscoveryListStateService.getStateObs()}addConnection(){this.hasPermission("create")&&this.router.navigate(["/data-discovery/add-connection"],{queryParams:{oid:this.dataDiscoveryListStateService.getState().oid,pid:this.dataDiscoveryListStateService.getState().pid}})}onEditClick(e){!this.hasPermission("edit")&&!this.isSalesforceConnection(e)||this.openEditDialog(e)}onConnectionIdClick(e){if(!this.hasPermission("edit")&&!this.isSalesforceConnection(e))return;if(!this.isSnowflakeConnection(e))return void this.openEditDialog(e);const{oid:n}=this.dataDiscoveryListStateService.getState();this.dataDiscoveryListApiService.getConnectionDetails(n,e.id).subscribe({next:a=>{this.openEditDialog(e,this.extractSnowflakeSetup(a))},error:()=>{this.openEditDialog(e)}})}openEditDialog(e,n=null){const{oid:r,pid:a}=this.dataDiscoveryListStateService.getState(),c=e?.system_type||e?.system||e?.type,p="salesforce"===String(c||"").toLowerCase().trim()&&(e?.saas_config||e?.saasConfig)||{};this.dialogService.open(_t,{data:{schema:lt[c]||ot,initialData:{connection:{...e,...p},oid:r,pid:a,snowflakeSetup:n},type:"Edit",oid:r,pid:a},header:"Edit Connection",width:"70vw",contentStyle:{"max-height":"80vh",padding:"0"},styleClass:"pp-rounded-lg"}).onClose.subscribe(l=>{l&&"success"===l.status&&this.init()})}isSnowflakeConnection(e){return"snowflake"===String(e?.system_type||e?.system||e?.type||"").toLowerCase().trim()}isSalesforceConnection(e){return"salesforce"===String(e?.system_type||e?.systemType||e?.system||e?.type||"").toLowerCase().trim()}extractSnowflakeSetup(e){return e?.setup||e?.response?.setup||e?.data?.setup||e?.connection?.setup||e?.data?.connection?.setup||null}deleteConnection(e){this.hasPermission("delete")&&this.confirmationService.confirm({target:event.target,message:`Are you sure you want to delete this connection ${e.name}?`,header:"Confirmation",icon:"pi pi-exclamation-triangle",acceptIcon:"none",rejectIcon:"none",rejectButtonStyleClass:"p-button-text",accept:()=>{this.dataDiscoveryListApiService.deleteConnection(e.id,this.dataDiscoveryListStateService.getState().oid).subscribe({next:()=>{this.messageService.add({severity:"success",summary:"Success",detail:"Connection deleted successfully"}),this.init()},error:n=>{this.messageService.add({severity:"error",summary:"Error",detail:"Error in deleting connection"})}})}})}};let i=s;return s.\u0275fac=function(n){return new(n||s)(t.LFG(y.gz),t.LFG(Je),t.LFG(Re),t.LFG(y.F0),t.LFG(C.ez),t.LFG(C.YP),t.LFG(z.xA),t.LFG(J.Dx),t.LFG(ut.$))},s.\u0275prov=t.Yz7({token:s,factory:s.\u0275fac}),i})();var W=m(59967),Ee=m(48708),ht=m(32320);const ze=["dt"];function je(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"span",19),t._UZ(1,"i",20),t.TgZ(2,"input",21),t.NdJ("input",function(n){t.CHM(o);const r=t.oxw(2);return t.KtG(r.filterConnections(n.target.value))}),t.qZA()()}}function $e(i,s){if(1&i&&(t.TgZ(0,"th"),t._uU(1),t.qZA()),2&i){const o=s.$implicit,e=t.oxw(4);t.xp6(1),t.hij(" ",e.getColumnLabel(o)," ")}}function Qe(i,s){if(1&i&&(t.TgZ(0,"tr")(1,"th",27),t._uU(2,"ID"),t.qZA(),t.YNc(3,$e,2,1,"th",28),t.qZA()),2&i){const o=s.$implicit,e=t.oxw(3);t.xp6(3),t.Q6J("ngForOf",e.getVisibleColumns(o))}}function Ye(i,s){if(1&i&&t._UZ(0,"img",32),2&i){const o=s.ngIf,e=t.oxw().$implicit,n=t.oxw(3);t.Q6J("src",o,t.LSH)("alt",n.getConnectionLogoAlt(e))}}function Ge(i,s){1&i&&t._UZ(0,"i",33)}function Be(i,s){if(1&i&&(t.TgZ(0,"span",40),t._uU(1),t.qZA()),2&i){const o=t.oxw(2).$implicit,e=t.oxw().$implicit,n=t.oxw(3);t.s9C("tooltip",e[o.key]||"- - - -"),t.Q6J("adaptivePosition",!1),t.xp6(1),t.Oqu(n.getShortConnectionName(e[o.key]))}}
1function Ve(i,s){if(1&i&&(t.ynx(0),t._uU(1),t.BQk()),2&i){const o=t.oxw(2).$implicit,e=t.oxw().$implicit;t.xp6(1),t.Oqu(e[o.key]?e[o.key]:"- - - -")}}function He(i,s){if(1&i&&(t.TgZ(0,"td",37),t.YNc(1,Be,2,3,"span",38),t.YNc(2,Ve,2,1,"ng-container",39),t.qZA()),2&i){const o=t.oxw().$implicit;t.xp6(1),t.Q6J("ngIf","name"===o.key),t.xp6(1),t.Q6J("ngIf","name"!==o.key)}}function Ke(i,s){if(1&i&&(t.TgZ(0,"td"),t._uU(1),t.ALo(2,"date"),t.qZA()),2&i){const o=t.oxw().$implicit,e=t.oxw().$implicit;t.xp6(1),t.hij(" ",t.xi3(2,1,e[o.key],"short")," ")}}function We(i,s){if(1&i){const o=t.EpF();t.ynx(0),t.TgZ(1,"span",43)(2,"button",44),t.NdJ("click",function(){const r=t.CHM(o).$implicit,a=t.oxw(3).$implicit,c=t.oxw(3);return t.KtG(c.menuItemClick(r.value,a))}),t.TgZ(3,"span"),t._uU(4),t.qZA()()(),t.BQk()}if(2&i){const o=s.$implicit,e=t.oxw(3).$implicit,n=t.oxw(3);t.xp6(1),t.s9C("title","EDIT"===o.value&&n.isSalesforceConnection(e)?"":n.getPermissionTooltip(o.permissionName)),t.xp6(1),t.Q6J("disabled",!(n.hasPermission(o.permissionName)||"EDIT"===o.value&&n.isSalesforceConnection(e))),t.xp6(2),t.Oqu(o.label)}}function Xe(i,s){if(1&i&&(t.TgZ(0,"td")(1,"button",41)(2,"mat-icon"),t._uU(3,"more_vert"),t.qZA()(),t.TgZ(4,"mat-menu",null,42),t.YNc(6,We,5,3,"ng-container",28),t.qZA()()),2&i){const o=t.MAs(5),e=t.oxw(5);t.xp6(1),t.Q6J("matMenuTriggerFor",o),t.xp6(5),t.Q6J("ngForOf",e.menuItems)}}function tn(i,s){if(1&i&&(t.ynx(0)(1,34),t.YNc(2,He,3,2,"td",35),t.YNc(3,Ke,3,4,"td",36),t.YNc(4,Xe,7,2,"td",36),t.BQk()()),2&i){const o=s.$implicit;t.xp6(1),t.Q6J("ngSwitch",o.columnType),t.xp6(1),t.Q6J("ngSwitchCase","Text"),t.xp6(1),t.Q6J("ngSwitchCase","Date"),t.xp6(1),t.Q6J("ngSwitchCase","Actions")}}function en(i,s){if(1&i&&(t.TgZ(0,"tr")(1,"td",27)(2,"div",29),t.YNc(3,Ye,1,2,"img",30),t.YNc(4,Ge,1,0,"ng-template",null,31,t.W1O),t.qZA()(),t.YNc(6,tn,5,4,"ng-container",28),t.qZA()),2&i){const o=s.$implicit,e=s.columns,n=t.MAs(5),r=t.oxw(3);t.xp6(2),t.ekj("dd-connector-logo--wide",r.isWideConnectionLogo(o))("dd-connector-logo--s3",r.isS3ConnectionLogo(o))("dd-connector-logo--mysql",r.isMySqlConnectionLogo(o)),t.xp6(1),t.Q6J("ngIf",r.getConnectionLogo(o))("ngIfElse",n),t.xp6(3),t.Q6J("ngForOf",r.getVisibleColumns(e))}}function nn(i,s){if(1&i&&(t.TgZ(0,"div",45),t._uU(1),t.qZA()),2&i){const o=t.oxw(2).ngIf;t.xp6(1),t.hij(" In total there are ",o.discoveryList?o.discoveryList.length:0," Connections. ")}}const on=function(){return["name"]},rn=function(){return{width:"450px"}};function an(i,s){if(1&i&&(t.ynx(0),t.TgZ(1,"p-table",22,23),t.YNc(3,Qe,4,1,"ng-template",24),t.YNc(4,en,7,9,"ng-template",25),t.YNc(5,nn,2,1,"ng-template",26),t.qZA(),t._UZ(6,"p-confirmDialog"),t.BQk()),2&i){const o=t.oxw().ngIf;t.xp6(1),t.Q6J("value",o.discoveryList)("rows",20)("globalFilterFields",t.DdM(8,on))("rowHover",!0)("columns",o.columList)("showCurrentPageReport",!0),t.xp6(5),t.Akn(t.DdM(9,rn))}}function sn(i,s){1&i&&(t.TgZ(0,"tr")(1,"td"),t._UZ(2,"p-skeleton",50),t.qZA(),t.TgZ(3,"td"),t._UZ(4,"p-skeleton",51),t.qZA(),t.TgZ(5,"td"),t._UZ(6,"p-skeleton",52),t.qZA(),t.TgZ(7,"td"),t._UZ(8,"p-skeleton",53),t.qZA(),t.TgZ(9,"td"),t._UZ(10,"p-skeleton",54),t.qZA(),t.TgZ(11,"td"),t._UZ(12,"p-skeleton",51),t.qZA()())}const cn=function(){return[1,2,3,4]};function pn(i,s){1&i&&(t.TgZ(0,"table",49)(1,"thead")(2,"tr"),t._UZ(3,"th"),t.TgZ(4,"th"),t._uU(5,"Name"),t.qZA(),t.TgZ(6,"th"),t._uU(7,"Pod URL"),t.qZA(),t.TgZ(8,"th"),t._uU(9,"Version"),t.qZA(),t.TgZ(10,"th"),t._uU(11,"Status"),t.qZA(),t.TgZ(12,"th"),t._uU(13,"Created"),t.qZA()()(),t.TgZ(14,"tbody"),t.YNc(15,sn,13,0,"tr",28),t.qZA()()),2&i&&(t.xp6(15),t.Q6J("ngForOf",t.DdM(1,cn)))}function dn(i,s){if(1&i&&(t.TgZ(0,"div",55),t._uU(1),t.qZA()),2&i){const o=t.oxw(3);t.xp6(1),t.Oqu(o.podsError)}}function ln(i,s){1&i&&(t.TgZ(0,"div",55),t._uU(1,"Loading connections..."),t.qZA())}function gn(i,s){if(1&i&&(t.TgZ(0,"div",55),t._uU(1),t.qZA()),2&i){const o=t.oxw(6);t.xp6(1),t.Oqu(o.podConnectionsError)}}function _n(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"tr")(1,"td"),t._uU(2),t.qZA(),t.TgZ(3,"td"),t._uU(4),t.qZA(),t.TgZ(5,"td")(6,"span",62),t._UZ(7,"span"),t._uU(8),t.qZA()(),t.TgZ(9,"td")(10,"span",68)(11,"button",69),t.NdJ("click",function(n){const a=t.CHM(o).$implicit,c=t.oxw(7);return n.stopPropagation(),t.KtG(c.mapToAssets(a))}),t._UZ(12,"i",58),t.qZA(),t.TgZ(13,"span",70),t._uU(14,"Map to Ropa Assets"),t.qZA()()()()}
1if(2&i){const o=s.$implicit,e=t.oxw(7);t.xp6(2),t.Oqu(o.name||"- - - -"),t.xp6(2),t.Oqu(e.getConnectionSystem(o)),t.xp6(2),t.ekj("dd-pod-connections__status--pending","pending"===e.getConnectionStatus(o).toLowerCase()),t.xp6(2),t.Oqu(e.getConnectionStatus(o)),t.xp6(3),t.Q6J("disabled","active"!==e.getConnectionStatus(o).toLowerCase()||e.isMappingToAssets(o)),t.xp6(1),t.Q6J("ngClass",e.isMappingToAssets(o)?"pi-spinner pi-spin":"pi-arrow-right")}}function un(i,s){1&i&&(t.TgZ(0,"tr")(1,"td",71),t._uU(2,"No connections found."),t.qZA()())}function mn(i,s){if(1&i&&(t.TgZ(0,"table",67)(1,"thead")(2,"tr")(3,"th"),t._uU(4,"Connection Name"),t.qZA(),t.TgZ(5,"th"),t._uU(6,"System"),t.qZA(),t.TgZ(7,"th"),t._uU(8,"Status"),t.qZA(),t.TgZ(9,"th"),t._uU(10,"Action"),t.qZA()()(),t.TgZ(11,"tbody"),t.YNc(12,_n,15,7,"tr",28),t.YNc(13,un,3,0,"tr",39),t.qZA()()),2&i){const o=t.oxw(6);t.xp6(12),t.Q6J("ngForOf",o.podConnections),t.xp6(1),t.Q6J("ngIf",!o.podConnections.length)}}function hn(i,s){if(1&i&&(t.TgZ(0,"tr",64)(1,"td",65),t.YNc(2,ln,2,0,"div",48),t.YNc(3,gn,2,1,"div",48),t.YNc(4,mn,14,2,"table",66),t.qZA()()),2&i){const o=t.oxw(5);t.xp6(2),t.Q6J("ngIf",o.podConnectionsLoading),t.xp6(1),t.Q6J("ngIf",o.podConnectionsError),t.xp6(1),t.Q6J("ngIf",!o.podConnectionsLoading&&!o.podConnectionsError)}}function bn(i,s){if(1&i){const o=t.EpF();t.ynx(0),t.TgZ(1,"tr",56),t.NdJ("click",function(){const r=t.CHM(o).$implicit,a=t.oxw(4);return t.KtG(a.togglePod(r))}),t.TgZ(2,"td",57),t._UZ(3,"i",58),t.qZA(),t.TgZ(4,"td",59),t._uU(5),t.qZA(),t.TgZ(6,"td",60),t._UZ(7,"i",61),t._uU(8),t.qZA(),t.TgZ(9,"td"),t._uU(10),t.qZA(),t.TgZ(11,"td")(12,"span",62),t._UZ(13,"span"),t._uU(14),t.qZA()(),t.TgZ(15,"td"),t._uU(16),t.ALo(17,"date"),t.qZA()(),t.YNc(18,hn,5,3,"tr",63),t.BQk()}if(2&i){const o=s.$implicit,e=t.oxw(4);t.xp6(3),t.Q6J("ngClass",e.isPodExpanded(o)?"pi-chevron-down":"pi-chevron-right"),t.xp6(2),t.Oqu(o.name||"- - - -"),t.xp6(3),t.Oqu(o.pod_url||"- - - -"),t.xp6(2),t.Oqu(o.version||o.Version||"- - - -"),t.xp6(2),t.ekj("dd-pod-connections__status--pending","pending"===e.getPodStatus(o).toLowerCase()),t.xp6(2),t.Oqu(e.getPodStatus(o)),t.xp6(2),t.Oqu(o.created_at?t.xi3(17,9,o.created_at,"
1short"):"- - - -"),t.xp6(2),t.Q6J("ngIf",e.isPodExpanded(o))}}function fn(i,s){1&i&&(t.TgZ(0,"tr")(1,"td",72),t._uU(2,"No pods found."),t.qZA()())}function xn(i,s){if(1&i&&(t.TgZ(0,"table",49)(1,"thead")(2,"tr"),t._UZ(3,"th"),t.TgZ(4,"th"),t._uU(5,"Name"),t.qZA(),t.TgZ(6,"th"),t._uU(7,"Pod URL"),t.qZA(),t.TgZ(8,"th"),t._uU(9,"Version"),t.qZA(),t.TgZ(10,"th"),t._uU(11,"Status"),t.qZA(),t.TgZ(12,"th"),t._uU(13,"Created"),t.qZA()()(),t.TgZ(14,"tbody"),t.YNc(15,bn,19,12,"ng-container",28),t.YNc(16,fn,3,0,"tr",39),t.qZA()()),2&i){const o=t.oxw(3);t.xp6(15),t.Q6J("ngForOf",o.pods),t.xp6(1),t.Q6J("ngIf",!o.pods.length)}}function vn(i,s){if(1&i&&(t.TgZ(0,"div",46),t.YNc(1,pn,16,2,"table",47),t.YNc(2,dn,2,1,"div",48),t.YNc(3,xn,17,2,"table",47),t.qZA()),2&i){const o=t.oxw(2);t.xp6(1),t.Q6J("ngIf",o.podsLoading),t.xp6(1),t.Q6J("ngIf",o.podsError),t.xp6(1),t.Q6J("ngIf",!o.podsLoading&&!o.podsError)}}const yn=function(i,s){return{oid:i,pid:s}};function wn(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",1)(1,"div",2)(2,"div",3)(3,"div")(4,"nav",4)(5,"ol",5)(6,"li",6)(7,"a",7),t._uU(8,"Home"),t.qZA()(),t.TgZ(9,"li",8),t._uU(10,"Connections"),t.qZA()()()()()(),t.TgZ(11,"div",9)(12,"div",10)(13,"div")(14,"h2"),t._uU(15,"Data Connections"),t.qZA(),t.TgZ(16,"p"),t._uU(17,"Manage and monitor active connections."),t.qZA()(),t.TgZ(18,"p-button",11),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.addConnection())}),t.qZA()(),t.TgZ(19,"div",12)(20,"div",13)(21,"button",14),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.selectConnectionTab("saas"))}),t._uU(22,"Connections"),t.qZA(),t.TgZ(23,"button",14),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.selectConnectionTab("pod"))}),t._uU(24,"Pod Connections"),t.qZA()(),t.YNc(25,je,3,0,"span",15),t.qZA(),t.YNc(26,an,7,10,"ng-container",16),t._UZ(27,"p-toast",17),t.YNc(28,vn,4,3,"ng-template",null,18,t.W1O),t.qZA()()}if(2&i){const o=s.ngIf,e=t.MAs(29),n=t.oxw();t.xp6(7),t.Q6J("queryParams",t.WLB(10,yn,o.oid,o.pid)),t.xp6(11),t.Q6J("disabled",!n.hasPermission("create"))("title",n.getPermissionTooltip("create")),t.xp6(3),t.ekj("dd-connection-tabs__tab--active","saas"===n.activeConnectionTab),t.xp6(2),t.ekj("dd-connection-tabs__tab--active","pod"===n.activeConnectionTab),t.xp6(2),t.Q6J("ngIf","saas"===n.activeConnectionTab),t.xp6(1),t.Q6J("ngIf","saas"===n.activeConnectionTab)("ngIfElse",e)}}let Cn=(()=>{const s=class{constructor(e,n,r){this.dataDiscoveryListActionService=e,this.transponderService=n,this.messageService=r,this.activeConnectionTab="saas",this.pods=[],this.podsLoading=!1,this.podsError="",this.expandedPodId=null,this.podConnections=[],this.podConnectionsLoading=!1,this.podConnectionsError="",this.mappingPodConnectionId=null,this.menuItems=[{label:"Edit",value:"EDIT",permissionName:"edit"},{label:"Delete",value:"DELETE",permissionName:"delete"}],this.stateObs=this.dataDiscoveryListActionService.getStateObs()}ngOnInit(){this.dataDiscoveryListActionService.init()}addConnection(){this.dataDiscoveryListActionService.addConnection()}filterConnections(e){this.connectionTable?.filterGlobal(e,"contains")}selectConnectionTab(e){this.activeConnectionTab=e,"pod"===e&&!this.pods.length&&!this.podsLoading&&this.loadPods()}getVisibleColumns(e){const n={name:1,system_type:2,connector_type:2,description:3,created_at:4,updated_at:5,"":6};return(e||[]).filter(r=>"id"!==String(r?.key||"").toLowerCase()).sort((r,a)=>(n[r?.key]??99)-(n[a?.key]??99))}getColumnLabel(e){return"created_at"===e?.key?"Created":"updated_at"===e?.key?"Updated":e?.label||""}getConnectionLogo(e){const n=String(e?.system_type||e?.system||e?.type||e?.connector_type||"").toLowerCase().trim(),a={postgresql:"postgres",google_drive:"gdrive","google-drive":"gdrive",google_cloud_storage:"gcs","google-cloud-storage":"gcs",microsoft_sql_server:"mssql",sqlserver:"mssql",aws_s3:"s3","aws-s3":"s3"}[n]||n;return W.D.find(c=>c.id===a)?.icon||null}getConnectionLogoAlt(e){return String(e?.system_type||e?.system||e?.type||e?.connector_type||"Connector")}isWideConnectionLogo(e){const n=String(e?.system_type||e?.system||e?.type||e?.connector_type||"").toLowerCase().trim();
1return["postgres","postgresql","minio","s3","aws_s3","aws-s3","mysql","mssql","sqlserver","microsoft_sql_server","athena","oracle","saphana","bigquery","dynamodb"].includes(n)}isS3ConnectionLogo(e){const n=String(e?.system_type||e?.system||e?.type||e?.connector_type||"").toLowerCase().trim();return["s3","aws_s3","aws-s3"].includes(n)}isMySqlConnectionLogo(e){return"mysql"===String(e?.system_type||e?.system||e?.type||e?.connector_type||"").toLowerCase().trim()}getShortConnectionName(e){return this.getTruncatedValue(e,18)}getTruncatedValue(e,n){const r=String(e||"- - - -");return r.length>n?`${r.slice(0,n)}...`:r}togglePod(e){const n=`${e?.id||""}`.trim();if(n){if(this.expandedPodId===n)return this.expandedPodId=null,this.podConnections=[],void(this.podConnectionsError="");this.expandedPodId=n,this.podConnections=[],this.podConnectionsError="",this.podConnectionsLoading=!0,this.transponderService.getPodConnection(this.getState().oid,n).subscribe({next:r=>{this.expandedPodId===n&&(this.podConnections=this.extractPodConnections(r),this.podConnectionsLoading=!1)},error:()=>{this.expandedPodId===n&&(this.podConnections=[],this.podConnectionsLoading=!1,this.podConnectionsError="Failed to load connections")}})}}isPodExpanded(e){return this.expandedPodId===`${e?.id||""}`.trim()}getPodStatus(e){return`${e?.status||e?.Status||"-"}`.trim()}getConnectionSystem(e){return`${e?.system_type||e?.systemType||e?.system||"-"}`.trim()}getConnectionStatus(e){return`${e?.status||"-"}`.trim()}mapToAssets(e){const n=`${e?.pod_connection_id||e?.podConnectionId||e?.id||""}`.trim(),r=this.getState().oid;!r||!n||this.mappingPodConnectionId||(this.mappingPodConnectionId=n,this.transponderService.backfillPodConnectionMapping(r,n).subscribe({next:()=>{this.mappingPodConnectionId=null,this.messageService.add({severity:"success",summary:"Success",detail:"Asset mapping completed successfully.",key:"table"})},error:()=>{this.mappingPodConnectionId=null,this.messageService.add({severity:"error",summary:"Error",detail:"Failed to start asset mapping",key:"table"})}}))}isMappingToAssets(e){const n=`${e?.pod_connection_id||e?.podConnectionId||e?.id||""}`.trim();return Boolean(n&&this.mappingPodConnectionId===n)}loadPods(){const e=this.getState().oid;e&&(this.podsLoading=!0,this.podsError="",this.transponderService.getPods(e).subscribe({next:n=>{this.pods=Array.isArray(n)?n:Array.isArray(n?.response)?n.response:[],this.podsLoading=!1},error:()=>{this.pods=[],this.podsLoading=!1,this.podsError="Failed to load pods"}}))}extractPodConnections(e){return(Array.isArray(e)?e:Array.isArray(e?.response)?e.response:e?.response?[e.response]:e?[e]:[]).filter(r=>!(r?.deleted_at||r?.DeletedAt||r?.deletedAt||r?.is_deleted||r?.isDeleted||"active"!==`${r?.status||""}`.trim().toLowerCase()))}getState(){return this.dataDiscoveryListActionService.getState()}onEditClick(e){this.dataDiscoveryListActionService.onEditClick(e)}onConnectionIdClick(e){this.dataDiscoveryListActionService.onConnectionIdClick(e)}menuItemClick(e,n){"DELETE"===e?this.dataDiscoveryListActionService.deleteConnection(n):this.dataDiscoveryListActionService.onEditClick(n)}hasPermission(e){return this.dataDiscoveryListActionService.hasPermission(e)}getPermissionTooltip(e){return this.hasPermission(e)?"":"You don't have permission"}isSalesforceConnection(e){return"salesforce"===`${e?.system_type||e?.systemType||e?.system||e?.type||""}`.toLowerCase().trim()}};let i=s;return s.\u0275fac=function(n){return new(n||s)(t.Y36(mt),t.Y36(Ee.b),t.Y36(C.ez))},s.\u0275cmp=t.Xpm({type:s,selectors:[["app-data-discovery-page"]],viewQuery:function(n,r){if(1&n&&t.Gf(ze,5),2&n){let a;t.iGM(a=t.CRH())&&(r.connectionTable=a.first)}},features:[t._Bn([mt])],decls:2,vars:3,consts:[["class","ng-deep-data-discovery",4,"ngIf"],[1,"ng-deep-data-discovery"],[1,"col-md-12",2,"margin-bottom","25px","margin-top","15px","margin-left","6.5px"],[1,"d-sm-flex","align-items-center","justify-content-between"],["aria-label","breadcrumb",1,"bredcrub-row",2,"margin-left","-14px"],[1,"breadcrumb","breadcrumb-style1","mg-b-10"],[1,"breadcrumb-item"],["routerLink","/home/welcome",3,"queryParams"],[1,"breadcrumb-item","active"],[1,"card","m-2","ng-deep-consent-jursidiction-wrapper"],[1,"dd-page-header"],["severity","success","label","Add Connection","icon","pi pi-plus",1,"p-button-text","my-custom-btn","dd-add-connection-btn",3,"disabled","title","click"],[1,"dd-connections-toolbar","dd-connections-toolbar--page"],["role","tablist","aria-label","Connection type",1,"dd-connection-tabs"],["type","button",1,"dd-connection-tabs__tab",3,"click"],["class","p-input-icon-left",4,"ngIf"],[4,"ngIf","ngIfElse"],["key","table","position","bottom-right"],["podConnectionsView",""],[1,"p-input-icon-left"],[1,"pi","pi-search"],["pInputText","","type","text","placeholder","Search...",3,"input"],["dataKey","id",3,"value","rows","globalFilterFields","rowHover","columns","showCurrentPageReport"],["dt",""],["pTemplate","header"],["pTemplate","body"],["pTemplate","summary"],[1,"dd-logo-column"],[4,"ngFor","ngForOf"],[1,"dd-connector-logo"],[3,"src","alt",4,"ngIf","ngIfElse"],["defaultConnectorLogo",""],[3,"src","alt"],["aria-hidden","true",1,"fas","fa-database"],[3,"ngSwitch"],["class","purposes__truncate",4,"ngSwitchCase"],[4,"ngSwitchCase"],[1,"purposes__truncate"],["class","dd-connection-name","placement","top","container","body",3,"tooltip","adaptivePosition",4,"ngIf"],[4,"ngIf"],["placement","top","container","body",1,"dd-connection-name",3,"tooltip","adaptivePosition"],["mat-icon-button","",1,"purposes__menu",3,"matMenuTriggerFor"],["menu","matMenu"],[3,"title"],["mat-menu-item","",3,"disabled","click"],[1,"flex","align-items-center","justify-content-between"],[1,"dd-pod-connections"],["class","dd-pod-connections__table",4,"ngIf"],["class","dd-pod-connections__message",4,"ngIf"],[1,"dd-pod-connections__table"],["width","1rem","height","1rem"],["width","9rem"],["width","16rem"],["width","3rem"],["width","5rem"],[1,"dd-pod-connections__message"],[1,"dd-pod-connections__pod-row",3,"click"],[1,"dd-pod-connections__expand"],[1,"pi",3,"ngClass"],[1,"dd-pod-connections__name"],[1,"dd-pod-connections__url","purposes__truncate"],[1,"pi","pi-link"],[1,"dd-pod-connections__status"],["class","dd-pod-connections__details-row",4,"ngIf"],[1,"dd-pod-connections__details-row"],["colspan","6"],["class","dd-pod-connections__nested-table",4,"ngIf"],[1,"dd-pod-connections__nested-table"],[1,"dd-pod-connections__tooltip"],["type","button","aria-label","Map to Assets",1,"dd-pod-connections__map-button",3,"disabled","click"],[1,"dd-pod-connections__tooltip-content"],["colspan","4",1,"dd-pod-connections__message"],["colspan","6",1,"dd-pod-connections__message"]],template:function(n,r){1&n&&(t.YNc(0,wn,30,13,"div",0),t.ALo(1,"async")),2&n&&t.Q6J("ngIf",t.lcZ(1,1,r.stateObs))}
1,dependencies:[h.mk,h.sg,h.O5,h.RF,h.n9,y.rH,F.iA,C.jx,M.zx,Z.o,D.VK,D.OP,D.p6,H.Hw,L.FN,K.Q,dt.O,ht.i9,h.Ov,h.uU],styles:[".my-custom-btn .p-button{background-color:#16bf5e;background:#16bf5e;border:1px solid #16bf5e;font-size:small}  .my-custom-btn .p-button:hover{background-color:#16bf5e;background:#16bf5e;border:1px solid #16bf5e;font-size:small}  .mdc-list-item__primary-text{color:#000!important}  .mat-mdc-menu-panel{background-color:#fff!important;z-index:10000000000000000000!important}  .cdk-overlay-container{z-index:10000000!important}  .p-button-icon.p-button-icon-left{margin-right:0rem!important}  .ng-deep-data-discovery .p-datatable{border:1px solid #e7edf3;border-radius:14px;overflow:hidden}  .ng-deep-data-discovery .p-datatable .p-datatable-header{padding:1rem 1.25rem;background:#fff;border:0}  .ng-deep-data-discovery .p-datatable .p-datatable-thead>tr>th{padding:.7rem .75rem;color:#52606d;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;background:#f8fafc;border:0;border-bottom:1px solid #e7edf3}  .ng-deep-data-discovery .p-datatable .p-datatable-tbody>tr>td{padding:.5rem .75rem;color:#334155;vertical-align:middle;border:0;border-bottom:1px solid #edf1f5}  .ng-deep-data-discovery .p-datatable .p-datatable-tbody>tr:hover{background:#fbfdfc}  .ng-deep-data-discovery .p-datatable table{width:100%!important;table-layout:fixed}  .ng-deep-data-discovery .p-datatable .p-datatable-thead>tr>th:nth-child(1),   .ng-deep-data-discovery .p-datatable .p-datatable-tbody>tr>td:nth-child(1){width:8%}  .ng-deep-data-discovery .p-datatable .p-datatable-thead>tr>th:nth-child(2),   .ng-deep-data-discovery .p-datatable .p-datatable-tbody>tr>td:nth-child(2){width:16.8%}  .ng-deep-data-discovery .p-datatable .p-datatable-thead>tr>th:nth-child(3),   .ng-deep-data-discovery .p-datatable .p-datatable-tbody>tr>td:nth-child(3){width:13%}  .ng-deep-data-discovery .p-datatable .p-datatable-thead>tr>th:nth-child(4),   .ng-deep-data-discovery .p-datatable .p-datatable-tbody>tr>td:nth-child(4){width:13%}  .ng-deep-data-discovery .p-datatable .p-datatable-thead>tr>th:nth-child(5),   .ng-deep-data-discovery .p-datatable .p-datatable-tbody>tr>td:nth-child(5){width:20.6%}  .ng-deep-data-discovery .p-datatable .p-datatable-thead>tr>th:nth-child(6),   .ng-deep-data-discovery .p-datatable .p-datatable-tbody>tr>td:nth-child(6){width:20.6%}  .ng-deep-data-discovery .p-datatable .p-datatable-thead>tr>th:nth-child(7),   .ng-deep-data-discovery .p-datatable .p-datatable-tbody>tr>td:nth-child(7){width:8%;text-align:left}.purposes__add-button[_ngcontent-%COMP%]{display:flex;justify-content:end;margin:15px}.purposes__menu[_ngcontent-%COMP%]{border:white!important;background-color:#fff!important}.purposes__truncate[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.bulk-upload-btn[_ngcontent-%COMP%]{height:38px;padding:0 10px;display:flex;align-items:center;justify-content:center}.bulk-upload-btn[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:block}.bulk-upload-link[_ngcontent-%COMP%]{color:#22c55e}.bulk-upload-link[_ngcontent-%COMP%]:hover{color:#16a34a}.bulk-upload-actions[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;gap:12px}.bulk-upload-import-btn[_ngcontent-%COMP%]{min-width:88px;color:#fff!important;background-color:#1dab3e!important;border-color:#1dab3e!important}.dd-page-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.25rem 1.25rem .75rem}.dd-page-header[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin:0 0 .25rem;color:#1f2937;font-size:1.55rem;font-weight:700}.dd-page-header[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0;color:#64748b;font-size:.85rem}  .dd-add-connection-btn .p-button{padding:.55rem 1rem;font-size:.8rem;font-weight:700;border-radius:0}  .dd-add-connection-btn .p-button:hover,   .dd-add-connection-btn .p-button:focus{color:#fff;background:#16bf5e;border-color:#16bf5e;box-shadow:none;transform:none!important;transition:none!important}.dd-connection-tabs[_ngcontent-%COMP%]{display:flex;width:-moz-fit-content;width:fit-content;margin:0;padding:4px;background:#f0f3f6;border-radius:9px}.dd-connection-tabs__tab[_ngcontent-%COMP%]{min-width:112px;padding:.5rem .85rem;color:#64748b;font-size:.8rem;font-weight:600;background:transparent;border:0;border-radius:6px;cursor:pointer}.dd-connection-tabs__tab--active[_ngcontent-%COMP%]{color:#15803d;background:#fff;box-shadow:0 1px 3px #0f172a1f}.dd-connections-toolbar[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:1rem}.dd-connections-toolbar--page[_ngcontent-%COMP%]{padding:.25rem 1.25rem 1rem}.dd-connections-toolbar[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{min-width:220px;padding:.5rem .75rem .5rem 2rem;font-size:.8rem;background:#f7f9fb;border:0;border-radius:5px}
1.dd-connection-name[_ngcontent-%COMP%]{display:inline-block;max-width:100%;color:#273444;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dd-logo-column[_ngcontent-%COMP%]{text-align:center!important}.dd-connector-logo[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:48px;height:44px;margin:0 auto}.dd-connector-logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:block;width:42px;height:42px;object-fit:contain}.dd-connector-logo[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#64748b;font-size:22px}.dd-connector-logo--wide[_ngcontent-%COMP%]{width:82px}.dd-connector-logo--wide[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:78px;height:42px}.dd-connector-logo--s3[_ngcontent-%COMP%]{width:88px}.dd-connector-logo--s3[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:84px;height:42px}.dd-connector-logo--mysql[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{mix-blend-mode:multiply}.dd-pod-connections[_ngcontent-%COMP%]{padding:0 1.25rem 1.25rem}.dd-pod-connections__table[_ngcontent-%COMP%], .dd-pod-connections__nested-table[_ngcontent-%COMP%]{width:100%;border-collapse:separate;border-spacing:0}.dd-pod-connections__table[_ngcontent-%COMP%]{overflow:hidden;background:#fff;border:1px solid #e7edf3;border-radius:14px}.dd-pod-connections__table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .dd-pod-connections__table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], .dd-pod-connections__nested-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .dd-pod-connections__nested-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:1rem;color:#334155;text-align:left;border-bottom:1px solid #edf1f5}.dd-pod-connections__table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .dd-pod-connections__nested-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{color:#52606d;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;background:#f8fafc}.dd-pod-connections__table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:0}.dd-pod-connections__pod-row[_ngcontent-%COMP%]{cursor:pointer}.dd-pod-connections__pod-row[_ngcontent-%COMP%]:hover{background:#fbfdfc}.dd-pod-connections__expand[_ngcontent-%COMP%]{width:3rem;color:#64748b}.dd-pod-connections__name[_ngcontent-%COMP%]{color:#273444!important;font-weight:600}.dd-pod-connections__url[_ngcontent-%COMP%]{color:#64748b}.dd-pod-connections__url[_ngcontent-%COMP%]   .pi[_ngcontent-%COMP%]{margin-right:.55rem;color:#94a3b8}.dd-pod-connections__details-row[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding:1rem 2.5rem;background:#f8fafc}.dd-pod-connections__nested-table[_ngcontent-%COMP%]{overflow:hidden;background:#fff;border:1px solid #e7edf3;border-radius:10px}.dd-pod-connections__status[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.4rem;padding:.3rem .7rem;color:#15803d;font-size:.8rem;font-weight:600;text-transform:capitalize;background:#eaf8ef;border-radius:999px}.dd-pod-connections__status[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{width:6px;height:6px;background:#22c55e;border-radius:50%}.dd-pod-connections__status--pending[_ngcontent-%COMP%]{color:#b45309;background:#fff5e5}.dd-pod-connections__status--pending[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{background:#f59e0b}.dd-pod-connections__map-button[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;color:#15803d;background:#eaf8ef;border:0;border-radius:50%}.dd-pod-connections__map-button[_ngcontent-%COMP%]:disabled{color:#94a3b8;cursor:not-allowed;background:#f1f5f9}.dd-pod-connections__tooltip[_ngcontent-%COMP%]{position:relative;display:inline-flex}.dd-pod-connections__tooltip-content[_ngcontent-%COMP%]{position:absolute;bottom:calc(100% + 8px);left:50%;z-index:10;padding:5px 8px;color:#fff;font-size:12px;white-space:nowrap;visibility:hidden;background:#334155;border-radius:6px;opacity:0;pointer-events:none;transform:translate(-50%)}.dd-pod-connections__tooltip[_ngcontent-%COMP%]:hover   .dd-pod-connections__tooltip-content[_ngcontent-%COMP%]{visibility:visible;opacity:1}.dd-pod-connections__message[_ngcontent-%COMP%]{padding:1rem;color:#64748b;text-align:center}@media (max-width: 768px){.dd-page-header[_ngcontent-%COMP%]{align-items:flex-start;flex-direction:column}.dd-connection-tabs[_ngcontent-%COMP%]{width:calc(100% - 2.5rem)}.dd-connection-tabs__tab[_ngcontent-%COMP%]{flex:1;min-width:0}}"]}),i})(),bt=(()=>{const s=class extends U.a{constructor(){super({oid:"",pid:"",integrationsList:W.D})}};let i=s;return s.\u0275fac=function(n){return new(n||s)},s.\u0275prov=t.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),i})(),Pn=(()=>{const s=class{constructor(e,n){this.http=e,this.loki=n}};let i=s;
1return s.\u0275fac=function(n){return new(n||s)(t.LFG(P.eN),t.LFG(I.L))},s.\u0275prov=t.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),i})(),ft=(()=>{const s=class{constructor(e,n,r,a,c,p){this.activatedRouter=e,this.connectionsDetailsPageStateService=n,this.connectionsDetailsPageApiService=r,this.router=a,this.dialogService=c,this.titleService=p}init(){this.titleService.setTitle("Connections - "+f.N.portalPrefix),this.activatedRouter.queryParams.pipe((0,N.w)(e=>(this.connectionsDetailsPageStateService.updateState({oid:e.oid,pid:e.pid,integrationsList:[...W.D]}),this.activatedRouter.params))).subscribe(e=>{})}onConnectClick(e){const{oid:n,pid:r}=this.connectionsDetailsPageStateService.getState();this.dialogService.open(_t,{data:{schema:lt[e.id]||ot,initialData:{oid:n,pid:r},type:"add",oid:n,pid:r},header:`Add ${e.title} Connection`,width:"70vw",contentStyle:{"max-height":"80vh",padding:"0"},styleClass:"pp-rounded-lg"}).onClose.subscribe(c=>{c&&"success"===c.status&&this.redirectToConnections()})}redirectToConnections(){this.router.navigate(["/data-discovery/connections"],{queryParams:{oid:this.connectionsDetailsPageStateService.getState().oid,pid:this.connectionsDetailsPageStateService.getState().pid}})}getStateObs(){return this.connectionsDetailsPageStateService.getStateObs()}};let i=s;return s.\u0275fac=function(n){return new(n||s)(t.LFG(y.gz),t.LFG(bt),t.LFG(Pn),t.LFG(y.F0),t.LFG(z.xA),t.LFG(J.Dx))},s.\u0275prov=t.Yz7({token:s,factory:s.\u0275fac}),i})();function Mn(i,s){1&i&&t._UZ(0,"span",31)}function On(i,s){1&i&&t._UZ(0,"span",31)}function Sn(i,s){if(1&i&&t._UZ(0,"img",41),2&i){const o=t.oxw().$implicit;t.Q6J("src",o.icon,t.LSH)("alt",o.title)("ngClass","integration-logo-file integration-logo-file--"+o.id)}}function kn(i,s){if(1&i&&t._UZ(0,"i",42),2&i){const o=t.oxw().$implicit;t.Tol(o.iconClass+" integration-logo integration-logo--default")}}const Tn=function(i,s,o,e,n,r){return["integration-logo-wrap",i,s,o,e,n,r]};function An(i,s){if(1&i){const o=t.EpF();t.ynx(0),t.TgZ(1,"div",32),t.NdJ("click",function(n){const a=t.CHM(o).$implicit,c=t.oxw(2);return t.KtG(c.onConnectClick(a,n))}),t.TgZ(2,"div",33)(3,"h3",34),t._uU(4),t.qZA(),t.TgZ(5,"span",35),t.YNc(6,Sn,1,3,"img",36),t.YNc(7,kn,1,2,"ng-template",null,37,t.W1O),t.qZA()(),t.TgZ(9,"p",38),t._uU(10),t.qZA(),t.TgZ(11,"div",39)(12,"span",40),t._uU(13," Tap to connect \u2192 "),t.qZA()()(),t.BQk()}if(2&i){const o=s.$implicit,e=t.MAs(8);t.xp6(4),t.hij(" ",o.title," "),t.xp6(1),t.Q6J("ngClass",t.HTZ(5,Tn,"s3"===o.id?"integration-logo-wrap--s3":"","minio"===o.id?"integration-logo-wrap--minio":"","onedrive"===o.id?"integration-logo-wrap--onedrive":"","gdrive"===o.id?"integration-logo-wrap--gdrive":"","gcs"===o.id?"integration-logo-wrap--gcs":"","clickhouse"===o.id?"integration-logo-wrap--clickhouse":"")),t.xp6(1),t.Q6J("ngIf",o.icon)("ngIfElse",e),t.xp6(4),t.hij(" ",o.description," ")}}const xt=function(i,s){return{oid:i,pid:s}};function Zn(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",1)(1,"div",2)(2,"div",3)(3,"div")(4,"nav",4)(5,"ol",5)(6,"li",6)(7,"a",7),t._uU(8,"Home"),t.qZA()(),t.TgZ(9,"li",6)(10,"a",8),t.NdJ("click",function(n){return n.preventDefault()}),t._uU(11,"Connections"),t.qZA()(),t.TgZ(12,"li",9),t._uU(13,"Integrations"),t.qZA()()()()()(),t.TgZ(14,"section",10)(15,"div",11)(16,"div",12)(17,"span",13),t._uU(18," Integrations "),t.qZA(),t.TgZ(19,"h1",14),t._uU(20," Connect tools & services "),t.qZA(),t.TgZ(21,"p",15),t._uU(22," Choose the type of data source you want to connect "),t.qZA()()()(),t.TgZ(23,"section")(24,"div",16)(25,"div",17)(26,"button",18),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.activeTab="structured")}),t._uU(27," Structured Data "),t.YNc(28,Mn,1,0,"span",19),t.qZA(),t.TgZ(29,"button",18),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.activeTab="unstructured")}),t._uU(30," Unstructured Data "),t.YNc(31,On,1,0,"span",19),t.qZA()()()(),t.TgZ(32,"section",20)(33,"div",21)(34,"div",22)(35,"div",23),t.O4$(),t.TgZ(36,"svg",24),t._UZ(37,"circle",25)(38,"line",26),t.qZA(),t.kcU(),t.TgZ(39,"input",27),t.NdJ("ngModelChange",function(n){t.CHM(o);const r=t.oxw();return t.KtG(r.searchTerm=n)}),t.qZA()()()()(),t.TgZ(40,"main",28)(41,"div",29),t.YNc(42,An,14,12,"ng-container",30),t.qZA()()()}if(2&i){const o=s.ngIf,e=t.oxw();
1t.xp6(7),t.Q6J("queryParams",t.WLB(8,xt,o.oid,o.pid)),t.xp6(3),t.Q6J("queryParams",t.WLB(11,xt,o.oid,o.pid)),t.xp6(16),t.Q6J("ngClass","structured"===e.activeTab?"pp-text-[#16BF5E]":"pp-text-slate-500 hover:pp-text-slate-900"),t.xp6(2),t.Q6J("ngIf","structured"===e.activeTab),t.xp6(1),t.Q6J("ngClass","unstructured"===e.activeTab?"pp-text-[#16BF5E]":"pp-text-slate-500 hover:pp-text-slate-900"),t.xp6(2),t.Q6J("ngIf","unstructured"===e.activeTab),t.xp6(8),t.Q6J("ngModel",e.searchTerm),t.xp6(3),t.Q6J("ngForOf",e.visibleIntegrations)}}let Dn=(()=>{const s=class{constructor(e){this.connectionsDetailsPageActionService=e,this.stateObs=this.connectionsDetailsPageActionService.getStateObs(),this.activeTab="structured",this.searchTerm="",this.integrationsList=[...W.D]}ngOnInit(){this.connectionsDetailsPageActionService.init()}onConnectClick(e,n){n.stopPropagation(),this.connectionsDetailsPageActionService.onConnectClick(e)}get visibleIntegrations(){const e=this.searchTerm.toLowerCase();return this.integrationsList.filter(n=>n.category===this.activeTab&&(!e||n.title.toLowerCase().includes(e)||n.description.toLowerCase().includes(e)))}};let i=s;return s.\u0275fac=function(n){return new(n||s)(t.Y36(ft))},s.\u0275cmp=t.Xpm({type:s,selectors:[["app-add-connection-page"]],features:[t._Bn([ft,bt])],decls:2,vars:3,consts:[["class","pp-min-h-screen pp-bg-slate-50",4,"ngIf"],[1,"pp-min-h-screen","pp-bg-slate-50"],[1,"col-md-12",2,"margin-bottom","25px","margin-top","15px","margin-left","6.5px"],[1,"d-sm-flex","align-items-center","justify-content-between"],["aria-label","breadcrumb",1,"bredcrub-row",2,"margin-left","-14px"],[1,"breadcrumb","breadcrumb-style1","mg-b-10"],[1,"breadcrumb-item"],["routerLink","/home/welcome",3,"queryParams"],["routerLink","/data-discovery/connections",3,"queryParams","click"],[1,"breadcrumb-item","active"],[1,"pp-bg-gradient-to-b","pp-from-[#16BF5E]/10","pp-to-slate-50"],[1,"pp-max-w-7xl","pp-mx-auto","pp-px-6","pp-pt-12","pp-pb-8"],[1,"pp-text-center"],[1,"pp-inline-flex","pp-items-center","pp-px-4","pp-py-1.5","pp-rounded-full","pp-text-xs","pp-font-semibold","pp-bg-[#16BF5E]/15","pp-text-[#16BF5E]"],[1,"pp-mt-5","pp-text-4xl","pp-font-extrabold","pp-text-slate-900"],[1,"pp-mt-3","pp-max-w-xl","pp-mx-auto","pp-text-base","pp-text-slate-600"],[1,"pp-max-w-7xl","pp-mx-auto","pp-px-6"],[1,"pp-flex","pp-gap-8","pp-border-b","pp-border-slate-200"],["type","button",1,"pp-relative","pp-py-4","pp-text-sm","pp-font-semibold","pp-bg-transparent","pp-border-0","focus:pp-outline-none","pp-transition-colors",3,"ngClass","click"],["class","pp-absolute pp-left-0 pp-bottom-0 pp-h-[2px] pp-w-full pp-bg-[#16BF5E]",4,"ngIf"],[1,"pp-pt-4"],[1,"pp-max-w-7xl","pp-mx-auto","pp-px-6","pp-flex","pp-justify-end"],[1,"pp-w-72"],[1,"pp-relative","pp-w-72"],["fill","none","stroke","currentColor","stroke-width","2","viewBox","0 0 24 24",1,"pp-absolute","pp-left-4","pp-top-1/2","pp--translate-y-1/2","pp-h-4","pp-w-4","pp-text-[#16BF5E]","pp-pointer-events-none",2,"margin-top","-8px"],["cx","11","cy","11","r","8"],["x1","21","y1","21","x2","16.65","y2","16.65"],["type","text","placeholder","Search",1,"pp-w-full","pp-h-10","pp-rounded-full","pp-bg-[#16BF5E]/10","pp-pl-11","pp-pr-4","pp-text-sm","pp-text-slate-700","pp-placeholder-slate-500","pp-border","pp-border-transparent","pp-outline-none","focus:pp-bg-[#16BF5E]/15","pp-transition-all",3,"ngModel","ngModelChange"],[1,"pp-max-w-7xl","pp-mx-auto","pp-px-6","pp-pt-10","pp-pb-16"],[1,"pp-grid","pp-grid-cols-1","sm:pp-grid-cols-2","lg:pp-grid-cols-4","pp-gap-8"],[4,"ngFor","ngForOf"],[1,"pp-absolute","pp-left-0","pp-bottom-0","pp-h-[2px]","pp-w-full","pp-bg-[#16BF5E]"],[1,"integration-card","pp-relative","pp-bg-white","pp-rounded-2xl","pp-border","pp-border-slate-200","pp-p-6","pp-shadow-sm","hover:pp-shadow-lg","pp-transition-all","hover:pp--translate-y-1","pp-cursor-pointer",3,"click"],[1,"integration-card__header"],[1,"pp-text-lg","pp-font-bold","pp-text-slate-900"],[3,"ngClass"],[3,"src","alt","ngClass",4,"ngIf","ngIfElse"],["defaultIntegrationIcon",""],[1,"integration-card__description","pp-mt-3","pp-text-sm","pp-text-slate-600","pp-min-h-[90px]"],[1,"integration-card__footer","pp-mt-6","pp-flex","pp-justify-end"],[1,"pp-text-sm","pp-font-medium","pp-text-[#16BF5E]"],[3,"src","alt","ngClass"],["aria-hidden","true"]],template:function(n,r){1&n&&(t.YNc(0,Zn,43,14,"div",0),t.ALo(1,"async")),2&n&&t.Q6J("ngIf",t.lcZ(1,1,r.stateObs))}
1,dependencies:[h.mk,h.sg,h.O5,y.rH,u.Fj,u.JJ,u.On,h.Ov],styles:['.mat-step-header .mat-step-icon-selected{background-color:#16bf5e!important}  .mat-step-header .mat-step-icon-state-edit{background-color:#16bf5e!important}.consent-purpose-modal__content[_ngcontent-%COMP%]{display:flex;width:100%;gap:1rem;flex-wrap:wrap;justify-content:center;align-items:center;flex-direction:column}.consent-purpose-modal__content__field[_ngcontent-%COMP%]{width:50%;display:flex;flex-direction:column;flex:45%}.consent-purpose-modal__content__field--required[_ngcontent-%COMP%]:after{content:" *";color:red}.consent-purpose-modal__header--width[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between}.consent-purpose-modal__header--content[_ngcontent-%COMP%]{color:#000;width:100%}  .ng-deep-entity-details-page .p-dropdown{width:100%!important;max-width:100%!important}  .ng-deep-entity-details-page .p-dropdown-panel{width:100%!important}  .ng-deep-entity-details-page .p-chips{width:100%!important}  .ng-deep-entity-details-page .p-chips-multiple-container{width:100%!important}  .my-custom-btn .p-button:hover{background-color:#16bf5e;background:#16bf5e;border:1px solid #16bf5e;font-size:small}  .my-custom-btn .p-button{background-color:#16bf5e;background:#16bf5e;border:1px solid #16bf5e;font-size:small}.integration-card__header[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.integration-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-height:100%}.integration-card__header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:0;line-height:1.2}.integration-card__description[_ngcontent-%COMP%]{flex:1 1 auto}.integration-card__footer[_ngcontent-%COMP%]{margin-top:auto}.integration-logo-wrap[_ngcontent-%COMP%]{width:110px;min-height:42px;display:inline-flex;align-items:flex-start;justify-content:flex-end;flex-shrink:0;margin-top:0}.integration-logo-wrap--clickhouse[_ngcontent-%COMP%]{width:132px}.integration-logo-wrap--s3[_ngcontent-%COMP%]{width:112px;min-height:54px;justify-content:flex-end}.integration-logo-wrap--minio[_ngcontent-%COMP%]{width:142px;min-height:54px;justify-content:flex-end}.integration-logo-wrap--onedrive[_ngcontent-%COMP%], .integration-logo-wrap--gdrive[_ngcontent-%COMP%]{width:84px;min-height:48px;align-items:center;justify-content:flex-end}.integration-logo-wrap--gcs[_ngcontent-%COMP%]{width:76px;min-height:60px;align-items:center;justify-content:center}.integration-logo[_ngcontent-%COMP%]{width:44px;height:44px;display:block;margin-top:-2px}.integration-logo-file[_ngcontent-%COMP%]{width:56px;height:56px;display:block;object-fit:contain}.integration-logo-file--postgres[_ngcontent-%COMP%]{width:96px;height:34px}.integration-logo-file--salesforce[_ngcontent-%COMP%]{width:76px;height:44px;margin-top:-5px}.integration-logo-file--saphana[_ngcontent-%COMP%]{width:108px;height:34px}.integration-saphana-logo[_ngcontent-%COMP%]{width:112px;height:30px;display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;font-weight:700;line-height:1;letter-spacing:.5px}.integration-saphana-logo__sap[_ngcontent-%COMP%]{min-width:48px;height:24px;display:inline-flex;align-items:center;justify-content:center;padding:0 9px;color:#fff;background:linear-gradient(135deg,#11a7e8 0%,#0688d0 100%);clip-path:polygon(0 0,100% 0,82% 100%,0 100%);font-size:17px}.integration-saphana-logo__hana[_ngcontent-%COMP%]{color:#f28c00;font-size:16px}.integration-logo-file--mysql[_ngcontent-%COMP%]{width:106px;height:34px}.integration-logo-file--mssql[_ngcontent-%COMP%]{width:86px;height:34px}.integration-logo-file--snowflake[_ngcontent-%COMP%]{width:44px;height:44px}.integration-logo-file--clickhouse[_ngcontent-%COMP%]{width:150px;height:34px}.integration-logo-file--oracle[_ngcontent-%COMP%]{width:84px;height:26px}.integration-logo-file--bigquery[_ngcontent-%COMP%]{width:92px;height:34px}.integration-logo-file--athena[_ngcontent-%COMP%]{width:88px;height:34px}.integration-logo-file--dynamodb[_ngcontent-%COMP%]{width:98px;height:34px}.integration-logo-file--neon[_ngcontent-%COMP%], .integration-logo-file--supabase[_ngcontent-%COMP%], .integration-logo-file--mongodb[_ng
1content-%COMP%], .integration-logo-file--azure[_ngcontent-%COMP%], .integration-logo-file--sharepoint[_ngcontent-%COMP%]{width:48px;height:48px}.integration-logo-file--s3[_ngcontent-%COMP%]{width:112px;height:42px}.integration-logo-file--minio[_ngcontent-%COMP%]{width:142px;height:46px}.integration-logo-file--onedrive[_ngcontent-%COMP%]{width:58px;height:40px;margin-top:-3px}.integration-logo-file--gdrive[_ngcontent-%COMP%]{width:48px;height:48px}.integration-logo-file--gcs[_ngcontent-%COMP%]{width:70px;height:54px;display:block}.integration-s3-badge[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px;margin-top:-2px}.integration-s3-badge__icon[_ngcontent-%COMP%]{width:54px;height:34px;object-fit:contain;display:block}.integration-s3-badge__label[_ngcontent-%COMP%]{font-size:10px;line-height:1;color:#222;font-weight:500}.integration-logo--postgres[_ngcontent-%COMP%]{color:#6a6f75;width:50px;height:50px}.integration-logo--mysql[_ngcontent-%COMP%]{color:#0f5f7d;width:50px;height:50px}.integration-logo--neon[_ngcontent-%COMP%]{color:#39ff14;width:38px;height:38px}.integration-logo--supabase[_ngcontent-%COMP%]{color:#3ecf8e;width:40px;height:40px}.integration-logo--mongodb[_ngcontent-%COMP%]{color:#0b7a53;width:36px;height:36px}.integration-logo--s3[_ngcontent-%COMP%]{width:54px;height:54px}.integration-logo--sharepoint[_ngcontent-%COMP%], .integration-logo--azure[_ngcontent-%COMP%]{width:40px;height:40px}.integration-logo--default[_ngcontent-%COMP%]{font-size:36px;line-height:1}  .ng-deep-enitity-details-page .p-multiselect{width:100%!important}  .ng-deep-enitity-details-page .p-multiselect-panel{z-index:100000!important}  .ng-deep-enitity-details-page .p-inputtext{display:block;width:100%;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1));padding:.625rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}  .ng-deep-enitity-details-page .p-inputtext:focus{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}  .ng-deep-enitity-details-page .p-dropdown,   .ng-deep-enitity-details-page .p-multiselect{border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1));font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}  .ng-deep-enitity-details-page .p-dropdown:focus,   .ng-deep-enitity-details-page .p-multiselect:focus{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1));--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}']}),i})();var Fn=m(548),qn=m(676),Ln=m(10835),X=m(35197),rt=m(41277);let Nn=(()=>{const s=class{constructor(e,n){this.http=e,this.loki=n,this.ropaBasePath="/data-discovery"}getJobList(e){return this.http.get(`${f.N.keyStoneUrl}${this.ropaBasePath}/jobs/${e}`).pipe((0,x.K)(n=>(0,v._)(n)))}deleteJob(e,n){return this.http.delete(`${f.N.keyStoneUrl}${this.ropaBasePath}/jobs/${e}/${n}`).pipe((0,x.K)(r=>(0,v._)(r)))}};let i=s;return s.\u0275fac=function(n){return new(n||s)(t.LFG(P.eN),t.LFG(I.L))},s.\u0275prov=t.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),i})();const In=[{label:"Id",key:"id",columnType:"Link"},{label:"Name",key:"name",columnType:"Text"},{label:"Description",key:"description",columnType:"Text"},{label:"Type",key:"system_type",columnType:"Text"},{label:"Created At",key:"created_at",columnType:"Date"},{label:"Last Updated",key:"updated_at",columnType:"Date",showWhenStatus:"Completed"},{label:"Actions",key:"",columnType:"Actions"}];let Jn=(()=>{const s=class extends U.a{constructor(){super({oid:"",pid:"",jobList:[],columList:In})}};let i=s;return s.\u0275fac=function(n){return new(n||s)},s.\u0275prov=t.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),i})(),vt=(()=>{const s=class{constructor(e,n){this.http=e,this.loki=n,this.ropaBasePath="/data-discovery"}getJobStatusList(e,n){return this.http.get(`${f.N.keyStoneUrl}${this.ropaBasePath}/job-schedule-details/${e}/${n}`).pipe((0,x.K)(r=>(0,v._)(r)))}triggerRun(e,n){return this.http.post(`${f.N.keyStoneUrl}${this.ropaBasePath}/job-schedule-trigger/${e}/${n}`,{}).pipe((0,x.K)(r=>(0,v._)(r)))}resumeJob(e,n){return this.http.post(`${f.N.keyStoneUrl}${this.ropaBasePath}/job-schedule-resume/${e}/${n}`,{}).pipe((0,x.K)(r=>(0,v._)(r)))}pauseJob(e,n){return this.http.post(`${f.N.keyStoneUrl}${this.ropaBasePath}/job-schedule-pause/${e}/${n}`,{}).pipe((0,x.K)(r=>(0,v._)(r)))}};let i=s;
1return s.\u0275fac=function(n){return new(n||s)(t.LFG(P.eN),t.LFG(I.L))},s.\u0275prov=t.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),i})(),yt=(()=>{const s=class{constructor(e,n,r,a,c,p,d,l,g){this.activatedRouter=e,this.dataDiscoveryJobListApiService=n,this.dataDiscoveryJobListStateService=r,this.router=a,this.messageService=c,this.confirmationService=p,this.titleService=d,this.permissionService=l,this.jobStatusApiService=g}init(){this.titleService.setTitle("Jobs - "+f.N.portalPrefix),this.activatedRouter.queryParams.pipe((0,N.w)(e=>(this.dataDiscoveryJobListStateService.updateState({oid:e.oid,pid:e.pid}),this.dataDiscoveryJobListApiService.getJobList(e.oid)))).subscribe(e=>{const n=(e||[]).map(r=>{const a=r?.job_type,c="data_discovery_database"===a?"Database":"data_discovery_file_storage"===a?"File Storage":a||"--",p="string"==typeof r?.description?r.description.trim():"",d="string"==typeof r?.data_discovery_connection?.description?r.data_discovery_connection.description.trim():"";return{...r,system_type:c,description:p||d||"--"}});this.dataDiscoveryJobListStateService.updateState({jobList:n})})}getState(){return this.dataDiscoveryJobListStateService.getState()}getStateObs(){return this.dataDiscoveryJobListStateService.getStateObs()}hasPermission(e){return this.permissionService.getPermissionsByModuleName("Data Discovery")?.access.includes(e)}addJob(){this.hasPermission("create")&&this.router.navigate(["/data-discovery/add-job/","create"],{queryParams:{oid:this.dataDiscoveryJobListStateService.getState().oid,pid:this.dataDiscoveryJobListStateService.getState().pid}})}viewDetails(e){this.hasPermission("edit")&&this.router.navigate(["/data-discovery/add-job/","edit",e.id],{queryParams:{oid:this.dataDiscoveryJobListStateService.getState().oid,pid:this.dataDiscoveryJobListStateService.getState().pid}})}viewStatus(e){const{oid:n,pid:r}=this.dataDiscoveryJobListStateService.getState();this.jobStatusApiService.getJobStatusList(n,e.id).subscribe({next:()=>{this.router.navigate(["/data-discovery/status/",e.id],{queryParams:{oid:n,pid:r}})},error:()=>{this.messageService.add({severity:"error",summary:"Error",detail:"Job status is not found"})}})}deleteJob(e){this.hasPermission("delete")&&this.confirmationService.confirm({target:event.target,message:`Are you sure you want to delete this job ${e.name}?`,header:"Confirmation",icon:"pi pi-exclamation-triangle",acceptIcon:"none",rejectIcon:"none",rejectButtonStyleClass:"p-button-text",accept:()=>{this.dataDiscoveryJobListApiService.deleteJob(this.dataDiscoveryJobListStateService.getState().oid,e.id).subscribe({next:()=>{this.messageService.add({severity:"success",summary:"Success",detail:"Job deleted successfully"}),this.init()},error:n=>{this.messageService.add({severity:"error",summary:"Error",detail:"Error in deleting Job"})}})}})}};let i=s;return s.\u0275fac=function(n){return new(n||s)(t.LFG(y.gz),t.LFG(Nn),t.LFG(Jn),t.LFG(y.F0),t.LFG(C.ez),t.LFG(C.YP),t.LFG(J.Dx),t.LFG(ut.$),t.LFG(vt))},s.\u0275prov=t.Yz7({token:s,factory:s.\u0275fac}),i})();function Un(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"p-button",19),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(2);return t.KtG(n.addJob())}),t.qZA()}}function Rn(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",20)(1,"h5",21),t._uU(2,"Manage Jobs"),t.qZA(),t.TgZ(3,"span",22),t._UZ(4,"i",23),t.TgZ(5,"input",24),t.NdJ("input",function(n){t.CHM(o),t.oxw();const r=t.MAs(15);return t.KtG(r.filterGlobal(n.target.value,"contains"))}),t.qZA()()()}}function En(i,s){if(1&i&&(t.TgZ(0,"th"),t._uU(1),t.qZA()),2&i){const o=s.$implicit;t.xp6(1),t.hij(" ",o.label," ")}}function zn(i,s){if(1&i&&(t.TgZ(0,"tr"),t.YNc(1,En,2,1,"th",25),t.qZA()),2&i){const o=s.$implicit;t.xp6(1),t.Q6J("ngForOf",o)}}function jn(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"td",30),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(2).$implicit,r=t.oxw(2);return t.KtG(r.viewStatus(n))}),t.TgZ(1,"span"),t._uU(2),t.qZA()()}if(2&i){const o=t.oxw().$implicit,e=t.oxw().$implicit;t.xp6(2),t.hij(" ",e[o.key],"")}}function $n(i,s){if(1&i&&(t.TgZ(0,"td",31),t._uU(1),t.qZA()),2&i){const o=t.oxw().$implicit,e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e[o.key]?e[o.key]:"- - - -"," ")}}function Qn(i,s){if(1&i&&(t.TgZ(0,"td"),t._uU(1),t.ALo(2,"date"),t.qZA()),2&i){const o=t.oxw().$implicit,e=t.oxw().$implicit;t.xp6(1),t.hij(" ",t.xi3(2,1,e[o.key],"short")," ")}}function Yn(i,s){if(1&i&&(t.TgZ(0,"td"),t._uU(1),t.qZA()),2&i){const o=t.oxw().$implicit,e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.data_discovery_connection[o.key]?e.data_discovery_connection[o.key]:"- - - -"," ")}}
1function Gn(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"button",35),t.NdJ("click",function(){const r=t.CHM(o).$implicit,a=t.oxw(3).$implicit,c=t.oxw(2);return t.KtG(c.menuItemClick(r.value,a))}),t.TgZ(1,"span"),t._uU(2),t.qZA()()}if(2&i){const o=s.$implicit;t.xp6(2),t.Oqu(o.label)}}function Bn(i,s){if(1&i&&(t.TgZ(0,"td")(1,"button",32)(2,"mat-icon"),t._uU(3,"more_vert"),t.qZA()(),t.TgZ(4,"mat-menu",null,33),t.YNc(6,Gn,3,1,"button",34),t.qZA()()),2&i){const o=t.MAs(5),e=t.oxw(4);t.xp6(1),t.Q6J("matMenuTriggerFor",o),t.xp6(5),t.Q6J("ngForOf",e.menuItems)}}function Vn(i,s){if(1&i&&(t.ynx(0)(1,26),t.YNc(2,jn,3,1,"td",27),t.YNc(3,$n,2,1,"td",28),t.YNc(4,Qn,3,4,"td",29),t.YNc(5,Yn,2,1,"td",29),t.YNc(6,Bn,7,2,"td",29),t.BQk()()),2&i){const o=s.$implicit;t.xp6(1),t.Q6J("ngSwitch",o.columnType),t.xp6(1),t.Q6J("ngSwitchCase","Link"),t.xp6(1),t.Q6J("ngSwitchCase","Text"),t.xp6(1),t.Q6J("ngSwitchCase","Date"),t.xp6(1),t.Q6J("ngSwitchCase","Connection"),t.xp6(1),t.Q6J("ngSwitchCase","Actions")}}function Hn(i,s){if(1&i&&(t.TgZ(0,"tr"),t.YNc(1,Vn,7,6,"ng-container",25),t.qZA()),2&i){const o=s.columns;t.xp6(1),t.Q6J("ngForOf",o)}}function Kn(i,s){if(1&i&&(t.TgZ(0,"div",36),t._uU(1),t.qZA()),2&i){const o=t.oxw().ngIf;t.xp6(1),t.hij(" In total there are ",o.jobList?o.jobList.length:0," Jobs. ")}}const Wn=function(i,s){return{oid:i,pid:s}},Xn=function(){return["name"]},to=function(){return{width:"450px"}};function eo(i,s){if(1&i&&(t.TgZ(0,"div",1)(1,"div",2)(2,"div",3)(3,"div")(4,"nav",4)(5,"ol",5)(6,"li",6)(7,"a",7),t._uU(8,"Home"),t.qZA()(),t.TgZ(9,"li",8),t._uU(10,"Jobs"),t.qZA()()()()()(),t.TgZ(11,"div",9)(12,"p-toolbar",10),t.YNc(13,Un,1,0,"ng-template",11),t.qZA(),t.TgZ(14,"p-table",12,13),t.YNc(16,Rn,6,0,"ng-template",14),t.YNc(17,zn,2,1,"ng-template",15),t.YNc(18,Hn,2,1,"ng-template",16),t.YNc(19,Kn,2,1,"ng-template",17),t.qZA(),t._UZ(20,"p-confirmDialog")(21,"p-toast",18),t.qZA()()),2&i){const o=s.ngIf;t.xp6(7),t.Q6J("queryParams",t.WLB(9,Wn,o.oid,o.pid)),t.xp6(7),t.Q6J("value",o.jobList)("rows",20)("globalFilterFields",t.DdM(12,Xn))("rowHover",!0)("columns",o.columList)("showCurrentPageReport",!0),t.xp6(6),t.Akn(t.DdM(13,to))}}let no=(()=>{const s=class{constructor(e){this.dataDiscoveryJobListActionService=e,this.menuItems=[{label:"Status",value:"STATUS",permissionName:"view"},{label:"Edit",value:"EDIT",permissionName:"edit"},{label:"Delete",value:"DELETE",permissionName:"delete"}],this.stateObs=this.dataDiscoveryJobListActionService.getStateObs()}ngOnInit(){this.dataDiscoveryJobListActionService.init()}addJob(){this.dataDiscoveryJobListActionService.addJob()}viewStatus(e){this.dataDiscoveryJobListActionService.viewStatus(e)}menuItemClick(e,n){"DELETE"===e?this.dataDiscoveryJobListActionService.deleteJob(n):"EDIT"===e?this.dataDiscoveryJobListActionService.viewDetails(n):this.dataDiscoveryJobListActionService.viewStatus(n)}hasPermission(e){return this.dataDiscoveryJobListActionService.hasPermission(e)}getPermissionTooltip(e){return this.hasPermission(e)?"":"You don't have permission"}};let i=s;return s.\u0275fac=function(n){return new(n||s)(t.Y36(yt))},s.\u0275cmp=t.Xpm({type:s,selectors:[["app-data-discovery-job-page"]],features:[t._Bn([yt])],decls:2,vars:3,consts:[["class","ng-deep-data-discovery",4,"ngIf"],[1,"ng-deep-data-discovery"],[1,"col-md-12",2,"margin-bottom","25px","margin-top","15px","margin-left","6.5px"],[1,"d-sm-flex","align-items-center","justify-content-between"],["aria-label","breadcrumb",1,"bredcrub-row",2,"margin-left","-14px"],[1,"breadcrumb","breadcrumb-style1","mg-b-10"],[1,"breadcrumb-item"],["routerLink","/home/welcome",3,"queryParams"],[1,"breadcrumb-item","active"],[1,"card","m-2","ng-deep-consent-jursidiction-wrapper"],["styleClass","mb-4 gap-2"],["pTemplate","left"],["dataKey","id",3,"value","rows","globalFilterFields","rowHover","columns","showCurrentPageReport"],["dt",""],["pTemplate","caption"],["pTemplate","header"],["pTemplate","body"],["pTemplate","summary"],["position","bottom-right"],["severity","success","label"," Add Job","icon","pi pi-plus",1,"p-button-text","my-custom-btn","mr-2",3,"click"],[1,"pp-flex","align-items-center","justify-content-between"],[1,"m-0"],[1,"p-input-icon-left"],[1,"pi","pi-search"],["pInputText","","type","text","placeholder","Search...",3,"input"],[4,"ngFor","ngForOf"],[3,"ngSwitch"],[3,"click",4,"ngSwitchCase"],["class","purposes__truncate",4,"ngSwitchCase"],[4,"ngSwitchCase"],[3,"click"],[1,"purposes__truncate"],["mat-icon-button","",1,"purposes__menu",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click"],[1,"flex","align-items-center","justify-content-between"]],template:function(n,r){1&n&&(t.YNc(0,eo,22,14,"div",0),t.ALo(1,"async")),2&n&&t.Q6J("ngIf",t.lcZ(1,1,r.stateObs))},dependencies:[h.sg,h.O5,h.RF,h.n9,y.rH,F.iA,C.jx,M.zx,Z.o,D.VK,D.OP,D.p6,H.Hw,L.FN,K.Q,nt.o,h.Ov,h.uU],styles:[".my-custom-btn .p-button{background-color:#16bf5e;background:#16bf5e;border:1px solid #16bf5e;font-size:small}  .my-custom-btn .p-button:hover{background-color:#16bf5e;background:#16bf5e;border:1px solid #16bf5e;font-size:small}.purposes__add-button[_ngcontent-%COMP%]{display:flex;justify-content:end;margin:15px}.purposes__menu[_ngcontent-%COMP%]{border:white!important;background-color:#fff!important}.purposes__truncate[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}  .mdc-list-item__primary-text{color:#000!important}  .mat-mdc-menu-panel{background-color:#fff!important;z-index:10000000000000000000!important}  .cdk-overlay-container{z-index:10000000!important}  .ng-deep-data-discovery .p-button-icon.p-button-icon-left{margin-right:0rem!important}"]}),i})();var wt=m(24850);let oo=(()=>{const s=class{constructor(e,n){this.http=e,this.loki=n,this.ropaBasePath="/data-discovery"}getConnectionList(e){return this.http.get(`${f.N.keyStoneUrl}${this.ropaBasePath}/connections/${e}`).pipe((0,wt.U)(n=>n.map(r=>({id:r.id,name:`${r.system_type} - (${r.name})`,systemType:r.system_type}))),(0,x.K)(n=>(0,v._)(n)))}getProfilerList(e){return this.http.get(`${f.N.keyStoneUrl}${this.ropaBasePath}/organizations/${e}
1/pii-profilers`).pipe((0,wt.U)(n=>(n||[]).map(r=>({id:r.id,name:r.name}))),(0,x.K)(n=>(0,v._)(n)))}createJob(e,n){return this.http.post(`${f.N.keyStoneUrl}${this.ropaBasePath}/jobs/${e}`,n).pipe((0,x.K)(r=>(0,v._)(r)))}getJobById(e,n){return this.http.get(`${f.N.keyStoneUrl}${this.ropaBasePath}/jobs/${e}/${n}`).pipe((0,x.K)(r=>(0,v._)(r)))}editJob(e,n,r){return this.http.put(`${f.N.keyStoneUrl}${this.ropaBasePath}/jobs/${e}/${n}`,r).pipe((0,x.K)(a=>(0,v._)(a)))}discoverTables(e,n){return this.http.get(`${f.N.keyStoneUrl}${this.ropaBasePath}/connections/${e}/${n}/discover-tables`).pipe((0,x.K)(r=>(0,v._)(r)))}discoverFiles(e,n,r){const a=r?(new P.LE).set("search",r):void 0;return this.http.get(`${f.N.keyStoneUrl}${this.ropaBasePath}/connections/${e}/${n}/discover-files`,{params:a}).pipe((0,x.K)(c=>(0,v._)(c)))}};let i=s;return s.\u0275fac=function(n){return new(n||s)(t.LFG(P.eN),t.LFG(I.L))},s.\u0275prov=t.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),i})(),ro=(()=>{const s=class extends U.a{constructor(){super({oid:"",pid:"",jobId:"",initialLoad:new q.X(!0),actionType:"",addJobForm:null,connectionList:[],profilerList:[],schemaTables:[],fileTree:[],fileTreeMode:!1,treeExpandedPaths:[],selectedPaths:[],schemaTablesLoading:!1,sourceDiscoveryError:"",sourceDiscoveryEmptyMessage:"",selectedTables:[],storedSelection:[],storedScanAll:!1,jobSubmitLoading:!1})}};let i=s;return s.\u0275fac=function(n){return new(n||s)},s.\u0275prov=t.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),i})(),Ct=(()=>{const s=class{constructor(e,n,r,a,c,p,d){this.activatedRouter=e,this.addJobApiService=n,this.addJobStateService=r,this.router=a,this.messageService=c,this.confirmationService=p,this.titleService=d,this.useLargeSampleForTesting=!1,this.initialTablesLoaded=!1,this.sampleSchemas=[{schema_name:"DBSFWUSER",table_count:3,tables:[{schema:"DBSFWUSER",table_name:"ACL$_OBJ",full_name:"DBSFWUSER.ACL$_OBJ",selected:!1},{schema:"DBSFWUSER",table_name:"EXADIRECT_ACL",full_name:"DBSFWUSER.EXADIRECT_ACL",selected:!1},{schema:"DBSFWUSER",table_name:"IP_ACL",full_name:"DBSFWUSER.IP_ACL",selected:!1}]},{schema_name:"DVSYS",table_count:4,tables:[{schema:"DVSYS",table_name:"AUDIT_TRAIL$",full_name:"DVSYS.AUDIT_TRAIL$",selected:!1},{schema:"DVSYS",table_name:"CODE$",full_name:"DVSYS.CODE$",selected:!1},{schema:"DVSYS",table_name:"REALM$",full_name:"DVSYS.REALM$",selected:!1},{schema:"DVSYS",table_name:"RULE_SET$",full_name:"DVSYS.RULE_SET$",selected:!1}]}]}init(){this.titleService.setTitle("Jobs - "+f.N.portalPrefix),this.addJobStateService.updateState({initialLoad:new q.X(!1),jobSubmitLoading:!1}),this.activatedRouter.queryParams.pipe((0,N.w)(e=>(this.addJobStateService.updateState({oid:e.oid,pid:e.pid,jobId:e.id||this.addJobStateService.getState().jobId}),this.activatedRouter.params))).subscribe(e=>{this.addJobStateService.updateState({actionType:e?.actionType,jobId:e?.id||this.addJobStateService.getState().jobId}),this.addJobApiService.getConnectionList(this.addJobStateService.getState().oid).subscribe(n=>{this.addJobStateService.updateState({connectionList:n}),this.addJobApiService.getProfilerList(this.addJobStateService.getState().oid).subscribe({next:r=>{this.addJobStateService.updateState({profilerList:r}),"edit"===this.addJobStateService.getState().actionType?this.addJobApiService.getJobById(this.addJobStateService.getState().oid,this.addJobStateService.getState().jobId).subscribe({next:a=>{this.buildForm(a?.data||a)},error:()=>{this.messageService.add({severity:"error",summary:"Error",detail:"Unable to load job details for edit"}),this.buildForm(null)}}):this.buildForm(null)},error:()=>{this.addJobStateService.updateState({profilerList:[]}),this.buildForm(null)}})})})}create(){const e=this.addJobStateService.getState();if(e.jobSubmitLoading||e.schemaTablesLoading||e.sourceDiscoveryError||e.addJobForm?.invalid)return;const n=e.addJobForm.value,r=e.schemaTables||[],a=this.areAllSchemaItemsSelected(r),c=!0===e.fileTreeMode,p=e.selectedPaths||[],d=c?this.getAllTreeFilePaths(e.fileTree||[]).length:0,g=(e.connectionList||[]).find(S=>S.id===n.source)?.systemType?.toLowerCase?.()||"",b=["sharepoint","azure","onedrive","s3","minio","gcs","gdrive","google_drive"].includes(g),w="salesforce"===g,A=this.normalizeScanDuration(n.scan_duration?String(n.scan_duration).trim():"");if(!A)return void this.messageService.add({severity:"error",summary:"Invalid duration",detail
1:"Please enter scan duration like '30m' or '1h'."});const O={name:n.name,data_discovery_connection_id:n.source,scan_duration:A,user_prompt:"Scan for PII in customer tables",data_sampling:!0===n.dataSampling?"on":"off",cron_schedule:n.scheduleCron,initiate_job_run:!0===n.initiateRun?"on":"off"};if(!0===n.use_custom_pii_profiler&&n.pii_profiler_id&&(O.pii_profiler_id=n.pii_profiler_id),b){const S=this.isDriveUserSystemType(g)?this.mapSelectedDriveIdentifiers(c?this.mapSelectedTreeEntries(p,e.fileTree||[]):this.collectSelectedTables(r),g):c?p:this.collectSelectedTables(r).map(Y=>Y.full_name),Q="onedrive"!==g&&(c?d>0&&p.length===d:a);O.scan_all_files=Q,O.selected_files=Q?[]:S}else O.table_scan_mode="full",O.scan_all_tables=w||a,O.selected_tables=w||a?[]:this.collectSelectedTables(r).map(S=>S.full_name);this.addJobStateService.updateState({jobSubmitLoading:!0}),"edit"===this.addJobStateService.getState().actionType?this.addJobApiService.editJob(this.addJobStateService.getState().oid,this.addJobStateService.getState().jobId,O).subscribe({next:S=>{this.messageService.add({severity:"success",summary:"Success Message",detail:"Job updated successfully"}),setTimeout(()=>{this.router.navigate(["/data-discovery/jobs"],{queryParams:{oid:this.addJobStateService.getState().oid,pid:this.addJobStateService.getState().pid}})},2e3)},error:S=>{this.addJobStateService.updateState({jobSubmitLoading:!1}),this.messageService.add({severity:"error",summary:"Error Message",detail:"Error in updating job"})}}):this.addJobApiService.createJob(this.addJobStateService.getState().oid,O).subscribe({next:S=>{this.messageService.add({severity:"success",summary:"Success Message",detail:"Job created successfully"}),setTimeout(()=>{this.router.navigate(["/data-discovery/jobs"],{queryParams:{oid:this.addJobStateService.getState().oid,pid:this.addJobStateService.getState().pid}})},2e3)},error:S=>{this.addJobStateService.updateState({jobSubmitLoading:!1}),this.messageService.add({severity:"error",summary:"Error Message",detail:"Error in creating job"})}})}getState(){return this.addJobStateService.getState()}getStateObs(){return this.addJobStateService.getStateObs()}addConnection(){this.router.navigate(["/data-discovery/add-job"],{queryParams:{oid:this.addJobStateService.getState().oid,pid:this.addJobStateService.getState().pid}})}goToProfilerList(){this.router.navigate(["/data-discovery/profiler"],{queryParams:{oid:this.addJobStateService.getState().oid,pid:this.addJobStateService.getState().pid}})}getDiscoveryErrorMessage(e){if("string"==typeof e?.error&&e.error.trim())try{const n=JSON.parse(e.error);return n?.error||n?.message||e.error}catch{return e.error}return e?.error?.error||e?.error?.message||e?.message||"Failed to fetch source details."}loadTablesForConnection(e,n){const r=n?.selectedTables??this.addJobStateService.getState().storedSelection??(this.addJobStateService.getState().selectedTables||[]).map(_=>_.full_name),a=n?.scanAll??this.addJobStateService.getState().storedScanAll??this.areAllSchemaItemsSelected(this.addJobStateService.getState().schemaTables||[]),c={...n,selectedTables:r,scanAll:a},d=(this.addJobStateService.getState().connectionList||[]).find(_=>_.id===e)?.systemType?.toLowerCase?.()||"",g=["sharepoint","azure","onedrive","s3","minio","gdrive","google_drive","gcs"].includes(d);if("salesforce"===d)return this.addJobStateService.updateState({schemaTables:[],fileTree:[],fileTreeMode:!1,selectedPaths:[],selectedTables:[],schemaTablesLoading:!1,sourceDiscoveryError:"",sourceDiscoveryEmptyMessage:"Table discovery is not available for Salesforce."}),void(c?.markAsLoaded&&(this.initialTablesLoaded=!0));g?this.loadFilesForConnection(e,c):e?(this.addJobStateService.updateState({schemaTablesLoading:!0,sourceDiscoveryError:"",sourceDiscoveryEmptyMessage:""}),this.addJobApiService.discoverTables(this.addJobStateService.getState().oid,e).subscribe({next:_=>{const b=_?.schemas||[];b&&b.length?this.applyAndSetSchemas(b,c):(this.addJobStateService.updateState({schemaTables:[],fileTree:[],fileTreeMode:!1,selectedPaths:[],selectedTables:[],schemaTablesLoading:!1,sourceDiscoveryError:"",s
1ourceDiscoveryEmptyMessage:""}),c?.markAsLoaded&&(this.initialTablesLoaded=!0))},error:_=>{this.addJobStateService.updateState({schemaTables:[],fileTree:[],fileTreeMode:!1,selectedPaths:[],selectedTables:[],schemaTablesLoading:!1,sourceDiscoveryError:this.getDiscoveryErrorMessage(_),sourceDiscoveryEmptyMessage:""}),c?.markAsLoaded&&(this.initialTablesLoaded=!0)}})):this.addJobStateService.updateState({schemaTables:[],fileTree:[],fileTreeMode:!1,selectedPaths:[],selectedTables:[],schemaTablesLoading:!1,sourceDiscoveryError:"",sourceDiscoveryEmptyMessage:""})}toggleTableSelection(e,n){const a=this.addJobStateService.getState().schemaTables.map(p=>{if(p.schema_name!==e)return p;const d=p.tables.map(g=>g.full_name===n?{...g,selected:!g.selected}:g),l=d.length>0&&d.every(g=>g.selected);return{...p,selectAll:l,tables:d}}),c=this.collectSelectedTables(a);this.addJobStateService.updateState({schemaTables:a,selectedTables:c,storedSelection:c.map(p=>p.full_name),storedScanAll:this.areAllSchemaItemsSelected(a)})}searchOneDriveUsers(e){const n=e?.trim(),r=this.addJobStateService.getState(),a=r.addJobForm.get("source")?.value,c=(r.connectionList||[]).find(p=>p.id===a);!n||"onedrive"!==`${c?.systemType||""}`.toLowerCase()||this.loadFilesForConnection(a,void 0,n,!0)}reloadOneDriveUsers(){const e=this.addJobStateService.getState(),n=e.addJobForm.get("source")?.value;"onedrive"===`${(e.connectionList||[]).find(a=>a.id===n)?.systemType||""}`.toLowerCase()&&this.loadFilesForConnection(n,void 0,void 0,!0)}loadFilesForConnection(e,n,r,a=!1){this.addJobStateService.updateState({schemaTablesLoading:!0,sourceDiscoveryError:"",sourceDiscoveryEmptyMessage:""}),this.addJobApiService.discoverFiles(this.addJobStateService.getState().oid,e,r).subscribe({next:c=>{const d=`${(this.addJobStateService.getState().connectionList||[]).find(b=>b.id===e)?.systemType||c?.system_type||""}`.toLowerCase().trim();if(this.isDriveUserSystemType(d)){const b=this.getOneDriveUsers(c);if(b.length)return void this.applyAndSetFileTree(this.buildTreeFromOneDriveUsers(b),n,this.getDriveUserLabel(d),a&&"onedrive"===d);const w=this.addJobStateService.getState();return this.addJobStateService.updateState({schemaTables:[],fileTree:[],fileTreeMode:!0,treeExpandedPaths:[],selectedPaths:a&&w.selectedPaths||[],selectedTables:a&&w.selectedTables||[],schemaTablesLoading:!1,storedSelection:a&&w.selectedPaths||[],storedScanAll:!1,sourceDiscoveryError:"",sourceDiscoveryEmptyMessage:`No ${this.getDriveUserLabel(d)} found.`}),void(n?.markAsLoaded&&(this.initialTablesLoaded=!0))}const l=Array.isArray(c?.tree)?c.tree:[];if(l.length)return void this.applyAndSetFileTree(l,n,c?.system_type||"Files");const g=c?.files||[];if(g.length){const b=this.buildTreeFromFlatFiles(g);this.applyAndSetFileTree(b,n,c?.system_type||"Files")}else this.applyAndSetSchemas([{schema_name:c?.system_type||"Files",table_count:0,tables:[]}],n)},error:c=>{const p=this.addJobStateService.getState();this.addJobStateService.updateState({schemaTables:[],fileTree:a&&p.fileTree||[],fileTreeMode:!!a&&p.fileTreeMode,selectedPaths:a&&p.selectedPaths||[],selectedTables:a&&p.selectedTables||[],schemaTablesLoading:!1,sourceDiscoveryError:this.getDiscoveryErrorMessage(c),sourceDiscoveryEmptyMessage:""}),n?.markAsLoaded&&(this.initialTablesLoaded=!0)}})}applyAndSetSchemas(e,n){const r=e&&e.length?this.withSelectableTables(e):this.getSampleSchemas(),a=this.useLargeSampleForTesting?this.getLargeSampleSchemas():r,c=this.applyExistingSelection(a,n?.scanAll,n?.selectedTables),p=this.collectSelectedTables(c).map(d=>d.full_name);this.addJobStateService.updateState({schemaTables:c,fileTree:[],fileTreeMode:!1,selectedPaths:[],selectedTables:this.collectSelectedTables(c),schemaTablesLoading:!1,storedSelection:p,storedScanAll:n?.scanAll||!1,sourceDiscoveryError:"",sourceDiscoveryEmptyMessage:""}),n?.markAsLoaded&&(this.initialTablesLoaded=!0)}applyAndSetFileTree(e,n,r="Files",a=!1){const c=this.normalizeTreeNodes(e),p=this.getAllTreeFilePaths(c),d=this.resolveSelectedTreePaths(c,n?.selectedTables||[],n?.scanAll),l=a?Array.from(new Set([...this.addJobStateService.getState().selectedPaths||[],...d])):d,g=this.collectExpandablePaths(c);this.addJobStateService.updateState({schemaTables:[],fileTree:c,fileTreeMode:!0,treeExpandedPaths:g,selectedPaths:l,selectedTables:this.mapSelectedTreeEntries(l,c,r),schemaTablesLoading:!1,storedSelection:l,storedScanAll:p.length>
10&&l.length===p.length,sourceDiscoveryError:"",sourceDiscoveryEmptyMessage:""}),n?.markAsLoaded&&(this.initialTablesLoaded=!0)}removeSelected(e){const n=this.addJobStateService.getState();if(n.fileTreeMode){const a=new Set(n.selectedPaths||[]);a.delete(e);const c=Array.from(a);return void this.addJobStateService.updateState({selectedPaths:c,selectedTables:this.mapSelectedTreeEntries(c,n.fileTree||[]),storedSelection:c,storedScanAll:!1})}const r=n.schemaTables.map(a=>({...a,tables:a.tables.map(c=>c.full_name===e?{...c,selected:!1}:c)}));this.addJobStateService.updateState({schemaTables:r,selectedTables:this.collectSelectedTables(r),storedSelection:this.collectSelectedTables(r).map(a=>a.full_name),storedScanAll:this.areAllSchemaItemsSelected(r)})}toggleSchemaSelectAll(e,n){const a=this.addJobStateService.getState().schemaTables.map(c=>c.schema_name!==e?c:{...c,selectAll:n,tables:c.tables.map(p=>({...p,selected:n}))});this.addJobStateService.updateState({schemaTables:a,selectedTables:this.collectSelectedTables(a),storedSelection:this.collectSelectedTables(a).map(c=>c.full_name),storedScanAll:this.areAllSchemaItemsSelected(a)})}toggleTreeNodeSelection(e,n){if(!e)return;const r=this.addJobStateService.getState(),a=r.fileTree||[];if(!a.length)return;const c=this.findTreeNodeByPath(a,e);if(!c)return;const p=c.is_dir?this.collectNodeFilePaths(c):[this.getSelectableFilePath(c)],d=new Set(r.selectedPaths||[]);p.forEach(_=>{n?d.add(_):d.delete(_)});const l=Array.from(d),g=this.getAllTreeFilePaths(a).length;this.addJobStateService.updateState({selectedPaths:l,selectedTables:this.mapSelectedTreeEntries(l,this.addJobStateService.getState().fileTree||[]),storedSelection:l,storedScanAll:g>0&&l.length===g})}toggleTreeNodeExpanded(e){if(!e)return;const n=this.addJobStateService.getState(),r=new Set(n.treeExpandedPaths||[]);r.has(e)?r.delete(e):r.add(e),this.addJobStateService.updateState({treeExpandedPaths:Array.from(r)})}isTreeNodeExpanded(e){return!!e?.is_dir&&(this.addJobStateService.getState().treeExpandedPaths||[]).includes(e.path)}isTreeNodeChecked(e){if(!e)return!1;const n=new Set(this.addJobStateService.getState().selectedPaths||[]);if(!e.is_dir)return n.has(this.getSelectableFilePath(e));const r=this.collectNodeFilePaths(e);return!!r.length&&r.every(a=>n.has(a))}isTreeNodeIndeterminate(e){if(!e?.is_dir)return!1;const n=this.collectNodeFilePaths(e);if(!n.length)return!1;const r=new Set(this.addJobStateService.getState().selectedPaths||[]),a=n.filter(c=>r.has(c)).length;return a>0&&a<n.length}getFileTypeGroups(){const e=this.addJobStateService.getState().fileTree||[],n=this.getAllTreeFilePaths(e);return Array.from(new Set(n.map(a=>this.getFileExtension(a)).filter(a=>!!a))).sort((a,c)=>a.localeCompare(c))}toggleFileTypeSelection(e,n){if(!e)return;const r=this.addJobStateService.getState(),a=r.fileTree||[],c=this.getAllTreeFilePaths(a).filter(g=>this.getFileExtension(g)===e.toLowerCase()),p=new Set(r.selectedPaths||[]);c.forEach(g=>{n?p.add(g):p.delete(g)});const d=Array.from(p),l=this.getAllTreeFilePaths(a).length;this.addJobStateService.updateState({selectedPaths:d,selectedTables:this.mapSelectedTreeEntries(d,this.addJobStateService.getState().fileTree||[]),storedSelection:d,storedScanAll:l>0&&d.length===l})}isFileTypeChecked(e){if(!e)return!1;const n=this.addJobStateService.getState().fileTree||[],r=this.getAllTreeFilePaths(n).filter(c=>this.getFileExtension(c)===e.toLowerCase());if(!r.length)return!1;const a=new Set(this.addJobStateService.getState().selectedPaths||[]);return r.every(c=>a.has(c))}isFileTypeIndeterminate(e){if(!e)return!1;const n=this.addJobStateService.getState().fileTree||[],r=this.getAllTreeFilePaths(n).filter(p=>this.getFileExtension(p)===e.toLowerCase());if(!r.length)return!1;const a=new Set(this.addJobStateService.getState().selectedPaths||[]),c=r.filter(p=>a.has(p)).length;return c>0&&c<r.length}toggleAllFilesSelection(e){const n=this.addJobStateService.getState().fileTree||[],r=this.getAllTreeFilePaths(n),a=e?r:[];this.addJobStateService.updateState({selectedPaths:a,selectedTables:this.mapSelectedTreeEntries(a,this.addJobStateService.getState().fileTree||[]),storedSelection:a,storedScanAll:e&&r.length>0})}toggleFilesSelectionByPaths(e,n){const r=this.addJobStateService.getState().fileTree||[],a=this.getAllTreeFilePaths(r),c=new Set(this.addJobStateService.getState().selectedPaths||[]);
1(e||[]).forEach(d=>{n?c.add(d):c.delete(d)});const p=Array.from(c);this.addJobStateService.updateState({selectedPaths:p,selectedTables:this.mapSelectedTreeEntries(p,this.addJobStateService.getState().fileTree||[]),storedSelection:p,storedScanAll:a.length>0&&p.length===a.length})}isAllFilesChecked(){const e=this.addJobStateService.getState().fileTree||[],n=this.getAllTreeFilePaths(e);if(!n.length)return!1;const r=new Set(this.addJobStateService.getState().selectedPaths||[]);return n.every(a=>r.has(a))}isAllFilesIndeterminate(){const e=this.addJobStateService.getState().fileTree||[],n=this.getAllTreeFilePaths(e);if(!n.length)return!1;const r=new Set(this.addJobStateService.getState().selectedPaths||[]),a=n.filter(c=>r.has(c)).length;return a>0&&a<n.length}collectSelectedTables(e){const n=[];return e.forEach(r=>{r.tables?.forEach(a=>{a.selected&&n.push({schema:r.schema_name,table_name:a.table_name,full_name:a.full_name})})}),n}areAllSchemaItemsSelected(e){const n=(e||[]).reduce((r,a)=>r+(a.tables?.length||0),0);return!!n&&this.collectSelectedTables(e).length===n}withSelectableTables(e){return e.map(n=>({...n,selectAll:!1,tables:n.tables?.map(r=>({...r,selected:!1}))||[]}))}getSampleSchemas(){return this.withSelectableTables(this.sampleSchemas)}getLargeSampleSchemas(e=5e3){const n=Math.ceil(e/2),r=(p,d,l)=>{const g=[];for(let _=0;_<l;_++){const w=`TABLE_${(d+_+1).toString().padStart(5,"0")}`;g.push({schema:p,table_name:w,full_name:`${p}.${w}`,selected:!1})}return{schema_name:p,table_count:l,tables:g}},a=r("SCHEMA_A",0,n),c=r("SCHEMA_B",n,Math.max(e-n,0));return this.withSelectableTables([a,c])}normalizeScanDuration(e){if(!e)return null;const n=e.replace(/\s+/g,"");return/^\d+$/.test(n)?Number(n)>0?`${n}h`:null:/^\d+(m|h)$/i.test(n)&&Number(n.slice(0,-1))>0?n.toLowerCase():null}applyExistingSelection(e,n,r){if(!e?.length)return[];const a=Array.isArray(r)&&r.length>0;if(n&&!a)return e.map(p=>({...p,selectAll:!0,tables:p.tables.map(d=>({...d,selected:!0}))}));const c=new Set(r||[]);return e.map(p=>({...p,selectAll:c.size>0&&p.tables.every(d=>c.has(d.full_name)),tables:p.tables.map(d=>({...d,selected:c.has(d.full_name)}))}))}normalizeTreeNodes(e,n=""){return(e||[]).map(r=>{const a=`${r?.name||""}`.trim(),c=this.extractRawFilePath(r),p=`${r?.path||c||""}`.replace(/\\/g,"/").trim(),d=Array.isArray(r?.children)&&r.children.length>0,l=Boolean(r?.is_dir||d),g=a||this.extractNameFromPath(p)||"item",_=p||this.joinTreePath(n,g),b=l?this.ensureDirectoryPath(_):_;return{name:g,path:b,source_path:l?b:c||b,is_dir:l,email:r?.email||"",user_id:r?.user_id||"",drive_id:r?.drive_id||"",children:this.normalizeTreeNodes(r?.children||[],l?b:this.parentTreePath(b))}})}collectExpandablePaths(e){const n=[],r=a=>{(a||[]).forEach(c=>{c?.is_dir&&Array.isArray(c.children)&&c.children.length&&(n.push(c.path),r(c.children))})};return r(e||[]),n}findTreeNodeByPath(e,n){for(const r of e||[]){if(r?.path===n)return r;if(r?.children?.length){const a=this.findTreeNodeByPath(r.children,n);if(a)return a}}return null}collectNodeFilePaths(e){if(!e)return[];if(!e.is_dir){const n=this.getSelectableFilePath(e);return n?[n]:[]}return this.getAllTreeFilePaths(e.children||[])}getAllTreeFilePaths(e){const n=[],r=a=>{(a||[]).forEach(c=>{if(c?.is_dir)r(c.children||[]);else{const p=this.getSelectableFilePath(c);p&&n.push(p)}})};return r(e||[]),n}collectSelectableTreeNodes(e){const n=[],r=a=>{(a||[]).forEach(c=>{c?.is_dir?r(c.children||[]):n.push(c)})};return r(e||[]),n}resolveSelectedTreePaths(e,n=[],r){const a=this.getAllTreeFilePaths(e),c=(n||[]).map(d=>`${d||""}`.trim()).filter(Boolean);if(r&&!c.length)return a;if(!c.length)return[];const p=new Set(c);return this.collectSelectableTreeNodes(e).filter(d=>this.isSelectedTreeNodeValue(d,p)).map(d=>this.getSelectableFilePath(d)).filter(Boolean)}isSelectedTreeNodeValue(e,n){return[this.getSelectableFilePath(e),e?.source_path,e?.path,e?.drive_id,e?.email,e?.name].map(a=>`${a||""}`.trim()).filter(Boolean).some(a=>n.has(a))}getFileExtension(e){const n=(e||"").split("/").pop()||"",r=n.lastIndexOf(".");return r<=0||r===n.length-1?"":n.slice(r+1).toLowerCase()}pathToSelectionEntry(e,n,r=[]){const a=(e||"").split("/").filter(
1Boolean),c=r?.length?this.findTreeNodeByPath(r,e):null,p=c?.email||c?.name||(a.length?a[a.length-1]:e);return{schema:n||"files",table_name:p,full_name:e,display_name:p,...c?.email?{email:c.email,user_id:c.user_id||"",drive_id:c.drive_id||e}:{}}}mapSelectedPathsToEntries(e,n,r){return e.map(a=>this.pathToSelectionEntry(a,r,n))}mapSelectedTreeEntries(e,n,r){const a=this.mapSelectedPathsToEntries(e,n,r);if(!this.isCurrentSourceOneDrive())return a;const c=new Map((this.addJobStateService.getState().selectedTables||[]).map(d=>[d.full_name,d])),p=new Set(this.getAllTreeFilePaths(n));return a.forEach(d=>{(p.has(d.full_name)||!c.has(d.full_name))&&c.set(d.full_name,d)}),e.map(d=>c.get(d)||this.pathToSelectionEntry(d,r,n))}isCurrentSourceOneDrive(){const e=this.addJobStateService.getState(),n=e.addJobForm.get("source")?.value;return"onedrive"===`${(e.connectionList||[]).find(a=>a.id===n)?.systemType||""}`.toLowerCase()}mapSelectedDriveIdentifiers(e,n){const r=`${n||""}`.toLowerCase().trim();return(e||[]).map(a=>`${"onedrive"===r?a?.email||a?.display_name||a?.full_name||a?.drive_id||"":a?.drive_id||a?.full_name||a?.email||a?.display_name||""}`.trim()).filter(Boolean)}isDriveUserSystemType(e){return["onedrive","gdrive","google_drive"].includes(`${e||""}`.toLowerCase().trim())}getDriveUserLabel(e){return"onedrive"===`${e||""}`.toLowerCase().trim()?"OneDrive Users":"Google Drive Users"}buildTreeFromFlatFiles(e){const n=[],r=(a,c,p)=>{let d=(a||[]).find(l=>l.path===p);return d||(d={name:c,path:p,source_path:p,is_dir:!0,children:[]},a.push(d)),d};return(e||[]).forEach(a=>{const c=this.extractRawFilePath(a),p=this.normalizeFlatFilePath(`${c||""}`.trim());if(!p)return;const d=p.split("/").filter(Boolean);if(!d.length)return;if(1===d.length)return void n.push({name:d[0],path:d[0],source_path:p,is_dir:!1,children:[]});const l=d[0];let _=r(n,l,`${l}/`),b=l;for(let w=1;w<d.length;w++){const A=d[w];b=`${b}/${A}`,w===d.length-1?_.children.push({name:A,path:b,source_path:p,is_dir:!1,children:[]}):_=r(_.children,A,`${b}/`)}}),n}buildTreeFromOneDriveUsers(e){return(e||[]).map(n=>({name:n.email,path:n.drive_id||n.email,source_path:n.drive_id||n.email,is_dir:!1,email:n.email,user_id:n.user_id||"",drive_id:n.drive_id||n.email,children:[]}))}getOneDriveUsers(e){return Array.isArray(e?.users)?e.users.map(n=>({user_id:`${n?.user_id||""}`.trim(),drive_id:`${n?.drive_id||n?.email||""}`.trim(),email:`${n?.email||""}`.trim()})).filter(n=>!!n.email):[]}normalizeFlatFilePath(e){if(!e)return"";if(e.includes("/"))return e;if(e.toLowerCase().startsWith("root")&&e.length>4){const r=e.slice(4);if(r)return`root/${r}`}return e}extractRawFilePath(e){return"string"==typeof e?e:e&&"object"==typeof e&&(e.path||e.file_path||e.filePath||e.full_path||e.fullPath||e.blob_name||e.blobName||e.key||e.name)||""}getSelectableFilePath(e){return e?.source_path||e?.path||""}extractNameFromPath(e){const r=`${e||""}`.replace(/\/+$/,"").split("/").filter(Boolean);return r.length?r[r.length-1]:""}joinTreePath(e,n){const r=`${e||""}`.replace(/\/+$/,"");return r?`${r}/${n}`:n}ensureDirectoryPath(e){return e.endsWith("/")?e:`${e}/`}parentTreePath(e){const r=`${e||""}`.replace(/\/+$/,"").split("/").filter(Boolean);return r.length<=1?"":r.slice(0,-1).join("/")}buildForm(e){this.initialTablesLoaded=!1;let n=[],r=!1;if(e){const d=e.data_discovery_connection_id,g=(this.addJobStateService.getState().connectionList||[]).find(w=>w.id===d)?.systemType?.toLowerCase?.()||"";["sharepoint","azure","onedrive","s3","minio","gdrive","google_drive","gcs"].includes(g)?(r=!0===e?.scan_all_files,n=r?[]:e?.selected_files||[]):(r=!0===e?.scan_all_tables,n=r?[]:e?.selected_tables||[])}this.addJobStateService.updateState({storedSelection:n,storedScanAll:r,fileTree:[],fileTreeMode:!1,treeExpandedPaths:[],selectedPaths:[],jobSubmitLoading:!1,sourceDiscoveryError:"",sourceDiscoveryEmptyMessage:""}),this.addJobStateService.updateState({addJobForm:new u.cw({name:new u.NI(e?e?.name:"",u.kI.required),source:new u.NI({value:e?e?.data_discovery_connection_id:null,disabled:!1},u.kI.required),pii_profiler_id:new u.NI(e&&e?.pii_profiler_id||null),use_custom_pii_profiler:new u.NI(!!e&&Boolean(e?.pii_profiler_id)),scan_duration:new u.NI(e?e?.scan_duration:null,u.kI.required),scheduleCron:new u.NI(e?e?.cron_schedule:null),scheduleEnabled:new u.NI(!!e&&Boolean(e?.cron_schedule),u.kI.required),initiateRun:new u.NI(!e||"on"===e?.initiate_job_run,u.kI.required),dataSampling:new u.NI(!!e&&"on"===e?.data_sampling,u.kI.required)})});const a=this.addJobStateService.getState().addJobForm.get("source"),c=this.addJobStateService.getState().addJobForm.get("use_custom_pii_profiler"),p=this.addJobStateService.getState().addJobForm.get("pii_profiler_id");c?.valueChanges.subscribe(d=>{d||p?.setValue(null,{emitEvent:!1})}),a.valueChanges.subscribe(d=>{this.initialTablesLoaded&&(d?this.loadTablesForConnection(d):this.addJobStateService.updateState({schemaTables:[],fileTree:[],fileTreeMode:!1,treeExpandedPaths:[],selectedPaths:[],schemaTablesLoading:!1,selectedTables:[],storedSelection:[],storedScanAll:!1,sourceDiscoveryError:"",s
1ourceDiscoveryEmptyMessage:""}))}),this.addJobStateService.getState().addJobForm.get("scheduleEnabled").value?this.addJobStateService.getState().addJobForm.get("scheduleCron").enable():this.addJobStateService.getState().addJobForm.get("scheduleCron").disable(),this.addJobStateService.getState().addJobForm.get("scheduleEnabled").valueChanges.subscribe(d=>{d?this.addJobStateService.getState().addJobForm.get("scheduleCron").enable():this.addJobStateService.getState().addJobForm.get("scheduleCron").disable()}),this.addJobStateService.updateState({initialLoad:new q.X(!0)}),a.value?this.loadTablesForConnection(a.value,{scanAll:r,selectedTables:n,markAsLoaded:!0}):this.initialTablesLoaded=!0}};let i=s;return s.\u0275fac=function(n){return new(n||s)(t.LFG(y.gz),t.LFG(oo),t.LFG(ro),t.LFG(y.F0),t.LFG(C.ez),t.LFG(C.YP),t.LFG(J.Dx))},s.\u0275prov=t.Yz7({token:s,factory:s.\u0275fac}),i})();function io(i,s){if(1&i&&(t.TgZ(0,"option",58),t._uU(1),t.qZA()),2&i){const o=s.$implicit;t.Q6J("value",o.id),t.xp6(1),t.hij(" ",o.name," ")}}function ao(i,s){if(1&i&&(t.TgZ(0,"p",59),t._uU(1),t.qZA()),2&i){const o=t.oxw(2).ngIf;t.xp6(1),t.hij(" ",o.sourceDiscoveryError," ")}}function so(i,s){if(1&i&&(t.TgZ(0,"div",60),t._UZ(1,"i",61),t.TgZ(2,"span"),t._uU(3),t.qZA()()),2&i){const o=t.oxw(2).ngIf,e=t.oxw();
1t.xp6(3),t.Oqu(e.getSourceLoadingMessage(o))}}function co(i,s){if(1&i&&(t.TgZ(0,"div",69),t._uU(1),t.qZA()),2&i){const o=t.oxw(3).ngIf;t.xp6(1),t.hij(" ",o.sourceDiscoveryEmptyMessage||"No tables discovered for this source yet."," ")}}function po(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"label",84)(1,"input",81),t.NdJ("change",function(){const r=t.CHM(o).$implicit,a=t.oxw().$implicit,c=t.oxw(5);return t.KtG(c.toggleTable(a.schema_name,r.full_name))}),t.qZA(),t.TgZ(2,"span",85),t._uU(3),t.qZA()()}if(2&i){const o=s.$implicit;t.xp6(1),t.Q6J("checked",o.selected),t.xp6(2),t.hij(" ",o.table_name," ")}}function lo(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",72)(1,"div",73)(2,"div",74)(3,"div",75),t._uU(4," Schema "),t.qZA(),t.TgZ(5,"div",76),t._uU(6),t.qZA(),t.TgZ(7,"div",77),t._uU(8),t.qZA()(),t.TgZ(9,"div",78)(10,"input",79),t.NdJ("input",function(n){const a=t.CHM(o).$implicit,c=t.oxw(5);return t.KtG(c.onSchemaSearch(a.schema_name,n.target.value))}),t.qZA(),t.TgZ(11,"label",80)(12,"input",81),t.NdJ("change",function(){const r=t.CHM(o).$implicit,a=t.oxw(5);return t.KtG(a.toggleSelectAll(r))}),t.qZA(),t.TgZ(13,"span"),t._uU(14,"Select all"),t.qZA()()()(),t.TgZ(15,"cdk-virtual-scroll-viewport",82),t.YNc(16,po,4,2,"label",83),t.qZA()()}if(2&i){const o=s.$implicit,e=t.oxw(5);t.xp6(6),t.hij(" ",o.schema_name," "),t.xp6(2),t.hij(" ",o.table_count||(null==o.tables?null:o.tables.length)||0," tables "),t.xp6(2),t.Q6J("value",e.schemaFilters[o.schema_name]||""),t.xp6(2),t.Q6J("checked",o.selectAll),t.xp6(4),t.Q6J("cdkVirtualForOf",e.filteredTables(o))("cdkVirtualForTrackBy",e.trackByFullName)}}function go(i,s){if(1&i&&(t.TgZ(0,"div",70),t.YNc(1,lo,17,6,"div",71),t.qZA()),2&i){const o=t.oxw(3).ngIf;t.xp6(1),t.Q6J("ngForOf",o.schemaTables)}}function _o(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"button",96),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(4).ngIf,r=t.oxw();return t.KtG(r.clearOneDriveUserSearch(n))}),t._UZ(1,"i",97),t.qZA()}}function uo(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"button",98),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(4).ngIf,r=t.oxw();return t.KtG(r.searchOneDriveUsers(n))}),t._UZ(1,"i",99),t.qZA()}}function mo(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"label",102)(1,"input",92),t.NdJ("change",function(n){const a=t.CHM(o).$implicit,c=t.oxw(6);return t.KtG(c.onFileTypeCheck(a,n.target.checked))}),t.qZA(),t.TgZ(2,"span"),t._uU(3),t.qZA()()}if(2&i){const o=s.$implicit,e=t.oxw(6);t.xp6(1),t.Q6J("checked",e.isFileTypeChecked(o))("indeterminate",e.isFileTypeIndeterminate(o)),t.xp6(2),t.Oqu(o)}}function ho(i,s){if(1&i&&(t.TgZ(0,"div",100),t.YNc(1,mo,4,3,"label",101),t.qZA()),2&i){const o=t.oxw(5);t.xp6(1),t.Q6J("ngForOf",o.getFileTypeGroups())}}function bo(i,s){1&i&&(t.TgZ(0,"span"),t._uU(1,"Searching OneDrive users..."),t.qZA())}function fo(i,s){if(1&i&&(t.TgZ(0,"div",103),t._UZ(1,"i",61),t.YNc(2,bo,2,0,"span",0),t.qZA()),2&i){const o=t.oxw(5);t.xp6(2),t.Q6J("ngIf","clear"!==o.oneDriveLoaderAction)}}function xo(i,s){if(1&i&&(t.TgZ(0,"div",106),t._uU(1),t.qZA()),2&i){const o=t.oxw(5).ngIf,e=t.oxw();
1t.xp6(1),t.hij(" ",e.getSourceEmptyStateMessage(o)," ")}}const vo=function(i){return{$implicit:i,depth:0}};function yo(i,s){if(1&i&&(t.ynx(0),t.GkF(1,107),t.BQk()),2&i){const o=s.$implicit;t.oxw(3);const e=t.MAs(8);t.xp6(1),t.Q6J("ngTemplateOutlet",e)("ngTemplateOutletContext",t.VKq(2,vo,o))}}function wo(i,s){if(1&i&&(t.ynx(0),t.YNc(1,xo,2,1,"div",104),t.YNc(2,yo,2,4,"ng-container",105),t.BQk()),2&i){const o=t.oxw(4).ngIf,e=t.oxw();t.xp6(1),t.Q6J("ngIf",!e.getVisibleFileTree(o.fileTree).length),t.xp6(1),t.Q6J("ngForOf",e.getVisibleFileTree(o.fileTree))("ngForTrackBy",e.trackByTreePath)}}function Co(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",70)(1,"div",72)(2,"div",73)(3,"div",86)(4,"div",74)(5,"div",75),t._uU(6),t.qZA(),t.TgZ(7,"div",76),t._uU(8),t.qZA(),t.TgZ(9,"div",77),t._uU(10),t.qZA()(),t.TgZ(11,"div",87)(12,"div",88)(13,"input",89),t.NdJ("input",function(n){t.CHM(o);const r=t.oxw(3).ngIf,a=t.oxw();return t.KtG(a.onFileSearch(r,n.target.value))})("keyup.enter",function(){t.CHM(o);const n=t.oxw(3).ngIf,r=t.oxw();return t.KtG(r.searchOneDriveUsers(n))}),t.qZA(),t.YNc(14,_o,2,0,"button",90),t.YNc(15,uo,2,0,"button",91),t.qZA(),t.TgZ(16,"label",80)(17,"input",92),t.NdJ("change",function(n){t.CHM(o);const r=t.oxw(3).ngIf,a=t.oxw();return t.KtG(a.toggleVisibleFiles(r,n.target.checked))}),t.qZA(),t.TgZ(18,"span"),t._uU(19,"Select all"),t.qZA()(),t.YNc(20,ho,2,1,"div",93),t.qZA()()(),t.TgZ(21,"div",94),t.YNc(22,fo,3,1,"div",95),t.YNc(23,wo,3,3,"ng-container",0),t.qZA()()()}if(2&i){const o=t.oxw(3).ngIf,e=t.oxw();
1t.xp6(6),t.hij(" ",e.getSourceCollectionLabel(o)," "),t.xp6(2),t.hij(" ",e.getSelectedSourceSystemLabel(o)," "),t.xp6(2),t.hij(" ",(null==o.selectedPaths?null:o.selectedPaths.length)||0," selected "),t.xp6(3),t.Q6J("placeholder",e.getSourceSearchPlaceholder(o))("value",e.getFileSearchValue(o)),t.xp6(1),t.Q6J("ngIf",e.isOneDriveSource(o)&&e.oneDriveSearchTerm),t.xp6(1),t.Q6J("ngIf",e.isOneDriveSource(o)),t.xp6(2),t.Q6J("checked",e.areVisibleFilesChecked(o))("indeterminate",e.areVisibleFilesIndeterminate(o)),t.xp6(3),t.Q6J("ngIf",!e.isDriveUserSource(o)&&e.getFileTypeGroups().length),t.xp6(2),t.Q6J("ngIf",o.schemaTablesLoading&&e.isOneDriveSource(o)),t.xp6(1),t.Q6J("ngIf",!o.schemaTablesLoading)}}function Po(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",113)(1,"span",114),t._uU(2),t.qZA(),t.TgZ(3,"button",115),t.NdJ("click",function(){const r=t.CHM(o).$implicit,a=t.oxw(5);return t.KtG(a.removeSelected(r.full_name))}),t._uU(4," \xd7 "),t.qZA()()}if(2&i){const o=s.$implicit,e=t.oxw(5);t.xp6(2),t.hij(" ",e.getSelectedSourceDisplayName(o)," ")}}function Mo(i,s){if(1&i&&(t.TgZ(0,"div",108)(1,"div",109)(2,"div",110),t._uU(3),t.qZA(),t.TgZ(4,"div",111),t.YNc(5,Po,5,1,"div",112),t.qZA()()()),2&i){const o=t.oxw(3).ngIf,e=t.oxw();
1t.xp6(3),t.AsE(" Selected ",e.getSelectedSourceCollectionLabel(o)," (",o.selectedTables.length,") "),t.xp6(2),t.Q6J("ngForOf",o.selectedTables)}}function Oo(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"button",121),t.NdJ("click",function(n){t.CHM(o);const r=t.oxw().$implicit,a=t.oxw(4);return t.KtG(a.onTreeNodeExpandToggle(r,n))}),t._UZ(1,"i",122),t.qZA()}if(2&i){const o=t.oxw().$implicit,e=t.oxw(4);t.xp6(1),t.Q6J("ngClass",e.isTreeNodeExpanded(o)?"fa-chevron-down":"fa-chevron-right")}}function So(i,s){1&i&&t._UZ(0,"span",123)}const ko=function(i,s){return{$implicit:i,depth:s}};function To(i,s){if(1&i&&(t.ynx(0),t.GkF(1,107),t.BQk()),2&i){const o=s.$implicit,e=t.oxw(2).depth;t.oxw();const n=t.MAs(8);t.xp6(1),t.Q6J("ngTemplateOutlet",n)("ngTemplateOutletContext",t.WLB(2,ko,o,e+1))}}function Ao(i,s){if(1&i&&(t.TgZ(0,"div"),t.YNc(1,To,2,5,"ng-container",105),t.qZA()),2&i){const o=t.oxw().$implicit,e=t.oxw(4);t.xp6(1),t.Q6J("ngForOf",o.children)("ngForTrackBy",e.trackByTreePath)}}function Zo(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",116),t.YNc(1,Oo,2,1,"button",117),t.YNc(2,So,1,0,"span",118),t.TgZ(3,"input",92),t.NdJ("change",function(n){const a=t.CHM(o).$implicit,c=t.oxw(4);return t.KtG(c.onTreeNodeCheck(a,n.target.checked))}),t.qZA(),t._UZ(4,"i",119),t.TgZ(5,"span",120),t._uU(6),t.qZA()(),t.YNc(7,Ao,2,2,"div",0)}if(2&i){const o=s.$implicit,e=s.depth,n=t.oxw(3).ngIf,r=t.oxw();t.Udp("padding-left",18*e,"px"),t.xp6(1),t.Q6J("ngIf",o.is_dir&&r.hasTreeChildren(o)),t.xp6(1),t.Q6J("ngIf",!o.is_dir||!r.hasTreeChildren(o)),t.xp6(1),t.Q6J("checked",r.isTreeNodeChecked(o))("indeterminate",r.isTreeNodeIndeterminate(o)),t.xp6(1),t.Q6J("ngClass",r.getTreeNodeIconClass(n,o)),t.xp6(2),t.Oqu(o.name),t.xp6(1),t.Q6J("ngIf",o.is_dir&&r.hasTreeChildren(o)&&r.isTreeNodeExpanded(o))}}function Do(i,s){if(1&i&&(t.TgZ(0,"div",62),t.YNc(1,co,2,1,"div",63),t.TgZ(2,"div",64)(3,"div",65),t.YNc(4,go,2,1,"div",66),t.YNc(5,Co,24,12,"div",66),t.qZA(),t.YNc(6,Mo,6,3,"div",67),t.qZA(),t.YNc(7,Zo,8,9,"ng-template",null,68,t.W1O),t.qZA()),2&i){const o=t.oxw(2).ngIf;t.xp6(1),t.Q6J("ngIf",!o.schemaTables.length&&!o.fileTreeMode&&!o.sourceDiscoveryError),t.xp6(3),t.Q6J("ngIf",!o.fileTreeMode),t.xp6(1),t.Q6J("ngIf",o.fileTreeMode),t.xp6(1),t.Q6J("ngIf",null==o.selectedTables?null:o.selectedTables.length)}}function Fo(i,s){if(1&i&&(t.TgZ(0,"option",58),t._uU(1),t.qZA()),2&i){const o=s.$implicit;t.Q6J("value",o.id),t.xp6(1),t.hij(" ",o.name," ")}}function qo(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",124)(1,"label",125),t._uU(2,"PII Profiler"),t.qZA(),t.TgZ(3,"div",24)(4,"select",126)(5,"option",26),t._uU(6,"Select Profiler"),t.qZA(),t.YNc(7,Fo,2,2,"option",27),t.qZA(),t.TgZ(8,"button",127),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(3);return t.KtG(n.goToProfilerList())}),t._uU(9," + "),t.qZA()(),t.TgZ(10,"p",21),t._uU(11," This profiler's regex patterns will be used to detect PII during the scan. "),t.qZA()()}if(2&i){const o=t.oxw(2).ngIf;t.xp6(7),t.Q6J("ngForOf",o.profilerList)}}const it=function(i,s){return{oid:i,pid:s}};function Lo(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div")(1,"section",13)(2,"header",14)(3,"h1",15),t._uU(4," PII Profiler "),t.qZA(),t.TgZ(5,"p",16),t._uU(6," Configure the scan job settings. "),t.qZA()(),t.TgZ(7,"form",17)(8,"div")(9,"label",18),t._uU(10,"Name"),t.TgZ(11,"span",19),t._uU(12,"*"),t.qZA()(),t._UZ(13,"input",20),t.TgZ(14,"p",21),t._uU(15," Give the job a short, descriptive name \u2014 e.g. "),t.TgZ(16,"span",22),t._uU(17,"pii_detect_customer_emails"),t.qZA(),t._uU(18,". "),t.qZA()(),t.TgZ(19,"div")(20,"label",23),t._uU(21,"Source"),t.TgZ(22,"span",19),t._uU(23,"*"),t.qZA()(),t.TgZ(24,"div",24)(25,"select",25),t.NdJ("change",function(){t.CHM(o);const n=t.oxw(2);return t.KtG(n.onSourceSelectionChange())}),t.TgZ(26,"option",26),t._uU(27,"Select a source"),t.qZA(),t.YNc(28,io,2,2,"option",27),t.qZA(),t.TgZ(29,"button",28),t.NdJ("click",function(n){return n.preventDefault()}),t._uU(30," + "),t.qZA()(),t.TgZ(31,"p",21),t._uU(32," Choose which connection the job will scan. "),t.qZA(),t.YNc(33,ao,2,1,"p",29),t.qZA(),t.TgZ(34,"div",30),t.YNc(35,so,4,1,"div",31),t.YNc(36,Do,9,4,"div",32),t.qZA(),t.TgZ(37,"div",33)(38,"div",34)(39,"div",35),t._uU(40," PII Profiler "),t.qZA(),t.TgZ(41,"div",36)(42,"label",37),t._uU(43," Use custom PII profiler for this job? "),t.qZA()(),t.TgZ(44,"div",38),t._UZ(45,"p-inputSwitch",39),t.qZA()(),t.YNc(46,qo,12,1,"div",40),t.qZA(),t.TgZ(47,"div")(48,"label",41),t._uU(49," Execution Duration"),t.TgZ(50,"span",19),t._uU(51,"*"),t.qZA()(),t._UZ(52,"input",42),t.TgZ(53,"p",21),t._uU(54," Note: Specify duration in minutes (m) or hours (h), e.g., 30m for 30 minutes or 1h for 1 hour. "),t.qZA()(),t.TgZ(55,"div",34)(56,"div",35),t._uU(57," Schedule "),t.qZA(),t.TgZ(58,"div",36),t._UZ(59,"input",43),t.TgZ(60,"p",21),t._uU(61," If disabled, the job will be paused and a default cron will be set. "),t.qZA()(),t.TgZ(62,"div",38),t._UZ(63,"p-inputSwitch",44),t.qZA()(),t.TgZ(64,"div",45)(65,"div",35),t._uU(66," Run "),t.qZA(),t.TgZ(67,"div",36)(68,"div",46),t._uU(69," Initiate Job Run "),t.qZA(),t.TgZ(70,"div",47),t._uU(71," Initiates a single job run immediately after the job is created. "),t.qZA()(),t.TgZ(72,"div",48),t._UZ(73,"p-inputSwitch",49),t.qZA()(),t.TgZ(74,"div",50)(75,"div",51),t._uU(76," Settings "),t.qZA(),t.TgZ(77,"div",52)(78,"div",53)(79,"div")(80,"div",46),t._uU(81," Data Sampling "),t.qZA(),t.TgZ(82,"div",47),t._uU(83," Allow sampling for more accurate detection (recommended). "),t.qZA()(),t._UZ(84,"p-inputSwitch",54),t.qZA()()(),t.TgZ(85,"div",55)(86,"button",56),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(2);return t.KtG(n.create())}),t._uU(87),t.qZA()()(),t.TgZ(88,"footer",57),t._uU(89," Tip: Use clear names and a focused configuration to make detection accurate. "),t.qZA()()()}if(2&i){const o=t.oxw().ngIf,e=t.oxw();let n,r;t.xp6(7),t.Q6J("formGroup",o.addJobForm),t.xp6(18),t.ekj("source-select--error",o.sourceDiscoveryError),t.xp6(3),t.Q6J("ngForOf",o.connectionList),t.xp6(1),t.Q6J("queryParams",t.WLB(11,it,o.oid,o.pid)),t.xp6(4),t.Q6J("ngIf",o.sourceDiscoveryError),t.xp6(2),t.Q6J("ngIf",o.schemaTablesLoading&&!(e.isOneDriveSource(o)&&o.fileTreeMode)),t.xp6(1),t.Q6J("ngIf",(!o.schemaTablesLoading||e.isOneDriveSource(o)&&o.fileTreeMode)&&(null==(n=o.addJobForm.get("source"))?null:n.value)),t.xp6(10),t.Q6J("ngIf",null==(r=o.addJobForm.get("use_custom_pii_profiler"))?null:r.value),t.xp6(40),t.Q6J("disabled",o.addJobForm.invali
1d||o.jobSubmitLoading||o.schemaTablesLoading||!!o.sourceDiscoveryError),t.xp6(1),t.hij(" ","create"===o.actionType?"Create":"Update"," ")}}function No(i,s){1&i&&(t.TgZ(0,"div",128),t._UZ(1,"mat-spinner",129),t.qZA()),2&i&&(t.xp6(1),t.Q6J("strokeWidth",4))}function Io(i,s){if(1&i&&(t.TgZ(0,"div")(1,"div",1)(2,"div",2)(3,"div")(4,"nav",3)(5,"ol",4)(6,"li",5)(7,"a",6),t._uU(8,"Home"),t.qZA()(),t.TgZ(9,"li",5)(10,"a",7),t._uU(11,"Jobs"),t.qZA()(),t.TgZ(12,"li",8),t._uU(13),t.qZA()()()()()(),t.TgZ(14,"main",9),t.YNc(15,Lo,90,14,"div",10),t.ALo(16,"async"),t.YNc(17,No,2,1,"ng-template",null,11,t.W1O),t.qZA(),t._UZ(19,"p-toast",12),t.qZA()),2&i){const o=s.ngIf,e=t.MAs(18);t.xp6(7),t.Q6J("queryParams",t.WLB(7,it,o.oid,o.pid)),t.xp6(3),t.Q6J("queryParams",t.WLB(10,it,o.oid,o.pid)),t.xp6(3),t.hij(" ","create"===o.actionType?"New":"Edit"," "),t.xp6(2),t.Q6J("ngIf",t.lcZ(16,5,o.initialLoad))("ngIfElse",e)}}let Pt=(()=>{const s=class{constructor(e){this.addJobActionService=e,this.stateObs=this.addJobActionService.getStateObs(),this.schemaFilters={},this.fileSearchTerm="",this.oneDriveSearchTerm="",this.oneDriveLoaderAction=""}ngOnInit(){this.addJobActionService.init()}create(){this.addJobActionService.create()}goToProfilerList(){this.addJobActionService.goToProfilerList()}onSourceSelectionChange(){this.fileSearchTerm="",this.oneDriveSearchTerm="",this.schemaFilters={}}cancel(){}toggleTable(e,n){this.addJobActionService.toggleTableSelection(e,n),this.schemaFilters[e]&&(this.schemaFilters[e]="")}removeSelected(e){this.addJobActionService.removeSelected(e)}onSchemaSearch(e,n){this.schemaFilters[e]=n?.toLowerCase()||""}filteredTables(e){const n=this.schemaFilters[e.schema_name]||"";return n?(e.tables||[]).filter(r=>r.table_name?.toLowerCase().includes(n)):e.tables||[]}trackByFullName(e,n){return n.full_name||e}toggleSelectAll(e){this.addJobActionService.toggleSchemaSelectAll(e.schema_name,!e.selectAll)}onTreeNodeCheck(e,n){this.addJobActionService.toggleTreeNodeSelection(e?.path,n)}onTreeNodeExpandToggle(e,n){n.stopPropagation(),this.addJobActionService.toggleTreeNodeExpanded(e?.path)}isTreeNodeChecked(e){return this.addJobActionService.isTreeNodeChecked(e)}isTreeNodeIndeterminate(e){return this.addJobActionService.isTreeNodeIndeterminate(e)}isTreeNodeExpanded(e){return this.addJobActionService.isTreeNodeExpanded(e)}hasTreeChildren(e){return Array.isArray(e?.children)&&e.children.length>0}trackByTreePath(e,n){return n?.path||e}getFileTypeGroups(){return this.addJobActionService.getFileTypeGroups()}onFileTypeCheck(e,n){this.addJobActionService.toggleFileTypeSelection(e,n)}isFileTypeChecked(e){return this.addJobActionService.isFileTypeChecked(e)}isFileTypeIndeterminate(e){return this.addJobActionService.isFileTypeIndeterminate(e)}onSharePointCheck(e){this.addJobActionService.toggleAllFilesSelection(e)}isSharePointChecked(){return this.addJobActionService.isAllFilesChecked()}isSharePointIndeterminate(){return this.addJobActionService.isAllFilesIndeterminate()}onFileSearch(e,n){this.isOneDriveSource(e)?this.oneDriveSearchTerm=n||"":this.fileSearchTerm=n?.toLowerCase().trim()||""}getFileSearchValue(e){return this.isOneDriveSource(e)?this.oneDriveSearchTerm:this.fileSearchTerm}searchOneDriveUsers(e){this.isOneDriveSource(e)&&(this.oneDriveLoaderAction="search",this.addJobActionService.searchOneDriveUsers(this.oneDriveSearchTerm))}clearOneDriveUserSearch(e){!this.isOneDriveSource(e)||!this.oneDriveSearchTerm||(this.oneDriveSearchTerm="",this.oneDriveLoaderAction="clear",this.addJobActionService.reloadOneDriveUsers())}getVisibleFileTree(e){return this.filterTreeNodes(e||[],this.fileSearchTerm)}toggleVisibleFiles(e,n){const r=this.collectVisibleFilePaths(this.getVisibleFileTree(e.fileTree||[]));this.addJobActionService.toggleFilesSelectionByPaths(r,n)}areVisibleFilesChecked(e){const n=this.collectVisibleFilePaths(this.getVisibleFileTree(e.fileTree||[]));if(!n.length)return!1;const r=new Set(e.selectedPaths||[]);return n.every(a=>r.has(a))}areVisibleFilesIndeterminate(e){const n=this.collectVisibleFilePaths(this.getVisibleFileTree(e.fileTree||[]));if(!n.length)return!1;const r=new Set(e.selectedPaths||[]),a=n.filter(c=>r.has(c)).length;return a>0&&a<n.length}getSelectedSourceSystemLabel(e){const n=e?.addJobForm?.get("source")?.value,r=(e?.connectionList||[]).find(c=>c.id===n),a=`${r?.systemType||""}`.toLowerCase();return"s3"===a?"S3":"minio"===a?"MinIO":"azure"===a?"Azure":"sharepoint"===a?"SharePoint":"google_drive"===a||"gdrive"===a?"Google Drive":"gcs"===a?"GCS":"onedrive"===a?"OneDrive":r?.systemType||"Files"}getSourceCollectionLabel(e){return this.isDriveUserSource(e)?"Users":"Files"}getSelectedSourceCollectionLabel(e){return this.isDriveUserSource(e)?"users":e.fileTreeMode?"files":"tables"}getSourceSearchPlaceholder(e){return this.isDriveUserSource(e)?"Search emails":"Search f
1iles"}getSourceLoadingMessage(e){return this.isDriveUserSource(e)?`Fetching ${this.getSelectedSourceSystemLabel(e)} users for the selected source...`:this.isUnstructuredSource(e)?"Fetching files for the selected source...":"Fetching tables for the selected source..."}getSourceEmptyStateMessage(e){return e?.sourceDiscoveryEmptyMessage?e.sourceDiscoveryEmptyMessage:this.isDriveUserSource(e)?`No ${this.getSelectedSourceSystemLabel(e)} users found.`:"No files discovered for this source yet."}getSelectedSourceDisplayName(e){return e?.display_name||e?.email||e?.table_name||e?.full_name||""}getTreeNodeIconClass(e,n){return this.isDriveUserSource(e)&&!n?.is_dir?"fa-user-o":n?.is_dir?"fa-folder-o":"fa-file-o"}isOneDriveSource(e){return this.isDriveUserSource(e,["onedrive"])}isDriveUserSource(e,n=["onedrive","gdrive","google_drive"]){const r=e?.addJobForm?.get("source")?.value,c=`${(e?.connectionList||[]).find(p=>p.id===r)?.systemType||""}`.toLowerCase();return n.includes(c)}isUnstructuredSource(e){const n=e?.addJobForm?.get("source")?.value,a=`${(e?.connectionList||[]).find(c=>c.id===n)?.systemType||""}`.toLowerCase();return["sharepoint","azure","onedrive","s3","minio","gcs","gdrive","google_drive"].includes(a)}filterTreeNodes(e,n){return n?(e||[]).map(r=>{const a=this.filterTreeNodes(r?.children||[],n);return`${r?.name||""}`.toLowerCase().includes(n)||a.length?{...r,children:a}:null}).filter(Boolean):e||[]}collectVisibleFilePaths(e){const n=[],r=a=>{(a||[]).forEach(c=>{c?.is_dir?r(c.children||[]):c?.path&&n.push(c.path)})};return r(e||[]),n}};let i=s;return s.\u0275fac=function(n){return new(n||s)(t.Y36(Ct))},s.\u0275cmp=t.Xpm({type:s,selectors:[["app-add-job-component"]],features:[t._Bn([Ct])],decls:2,vars:3,consts:[[4,"ngIf"],[1,"col-md-12",2,"margin-bottom","25px","margin-top","15px","margin-left","6.5px"],[1,"d-sm-flex","align-items-center","justify-content-between"],["aria-label","breadcrumb",1,"bredcrub-row",2,"margin-left","-14px"],[1,"breadcrumb","breadcrumb-style1","mg-b-10"],[1,"breadcrumb-item"],["routerLink","/home/welcome",3,"queryParams"],["routerLink","/data-discovery/jobs",3,"queryParams"],[1,"breadcrumb-item","active"],[1,"pp-min-h-screen","pp-flex","pp-items-start","pp-justify-center","pp-p-6"],[4,"ngIf","ngIfElse"],["loader",""],["position","bottom-right"],[1,"pp-w-full","job-form-shell"],[1,"pp-mb-6"],[1,"pp-text-2xl","pp-font-semibold","pp-text-slate-900"],[1,"pp-text-sm","pp-text-slate-500","pp-mt-1"],[1,"pp-bg-white","pp-shadow-sm","pp-rounded-2xl","pp-p-6","pp-space-y-6","pp-border","pp-border-slate-100",3,"formGroup"],["for","job-name",1,"pp-block","pp-text-sm","pp-font-medium","pp-text-slate-700"],[1,"req"],["pInputText","","id","job-name","formControlName","name","placeholder","The unique name of the job",1,"pp-mt-2","pp-block","pp-w-full","pp-rounded-md","pp-border","pp-border-slate-200","pp-bg-white","pp-px-3","pp-py-2","pp-text-sm","pp-shadow-sm"],[1,"pp-mt-2","pp-text-xs","pp-text-slate-400"],[1,"pp-italic"],["for","source",1,"pp-block","pp-text-sm","pp-font-medium","pp-text-slate-700"],[1,"pp-mt-2","pp-grid","pp-grid-cols-12","pp-gap-3","pp-items-center"],["id","source","formControlName","source",1,"pp-col-span-11","pp-rounded-md","pp-border","pp-bg-white","pp-px-3","pp-py-2","pp-text-sm","pp-shadow-sm",3,"change"],["value",""],[3,"value",4,"ngFor","ngForOf"],["type","button","routerLink","/data-discovery/add-connection",1,"pp-col-span-1","pp-inline-flex","pp-items-center","pp-justify-center","pp-rounded-md","pp-border","pp-border-transparent","pp-bg-sky-600","pp-px-3","pp-py-2","pp-text-white","pp-text-sm","pp-shadow","hover:pp-bg-sky-700",3,"queryParams","click"],["class","source-error-text",4,"ngIf"],[1,"pp-mt-4"],["class","pp-flex pp-items-center pp-justify-center pp-gap-2 pp-text-slate-500 pp-text-sm pp-bg-slate-50 pp-border pp-border-dashed pp-border-slate-200 pp-rounded-lg pp-p-4",4,"ngIf"],["class","pp-space-y-3",4,"ngIf"],[1,"profiler-toggle-section"],[1,"pp-grid","pp-grid-cols-12","pp-gap-4","pp-items-center"],[1,"pp-col-span-2","pp-text-sm","pp-font-medium","pp-text-slate-700"],[1,"pp-col-span-9"],["for","use-custom-profiler",1,"profiler-toggle-label"],[1,"pp-col-span-1","pp-flex","pp-justify-end"],["formControlName","use_custom_pii_profiler","inputId","use-custom-profiler"],["class","profiler-dropdown-shell",4,"ngIf"],["for","execution-duration",1,"pp-block","pp-text-sm","pp-font-medium","pp-text-slate-700"],["pInputText","","id","execution-duration","formControlName","scan_duration","placeholder","1h",1,"pp-mt-2","pp-block","pp-w-full","pp-rounded-md","pp-border","pp-border-slate-200","pp-bg-white","pp-px-3","pp-py-2","pp-text-sm","pp-shadow-sm"],["pInputText","","id","cron","formControlName","scheduleCron","placeholder","Define a cron schedule (e.g. 0 12 * * MON)",1,"pp-mt-2","pp-block","pp-w-full","pp-rounded-md","pp-border","pp-border-slate-200","pp-bg-white","pp-px-3","pp-py-2","pp-text-sm","pp-shadow-sm"],["formControlName","scheduleEnabled"],[1,"pp-grid","pp-grid-cols-12","pp-gap-4","pp-items-start"],[1,"pp-text-sm","pp-font-medium","pp-text-slate-700"],[1,"pp-text-xs","pp-text-slate-400"],[1,"pp-col-span-1","pp-flex","pp-justify-end","pp-mt-1"],["formControlName","initiateRun"],[1,"pp-grid","pp-grid-cols-12","pp-gap-4","pp-items-center","pp-bg-slate-50","pp-p-4","pp-rounded-lg","pp-border","pp-border-slate-100"],[1,"pp-col-span-3","pp-text-sm","pp-font-medium","pp-text-slate-700"],[1,"pp-col-span-9","pp-space-y-3"],[1,"pp-flex","pp-items-center","pp-justify-between"],["formControlName","dataSampling"],[1,"pp-flex","pp-items-center","pp-justify-end","pp-pt-2"],["type","submit",1,"pp-ml-3","pp-rounded-md","pp-px-4","pp-py-2","pp-bg-sky-600","pp-text-white","pp-text-sm","pp-font-medium","pp-shadow","hover:pp-bg-sky-700","disabled:pp-opacity-50","disabled:pp-cursor-not-allowed",3,"disabled","click"],[1,"pp-mt-4","pp-text-xs","pp-text-slate-400"],[3,"value"],[1,"source-error-text"],[1,"pp-flex","pp-items-center","pp-justify-center","pp-gap-2","pp-text-slate-500","pp-text-sm","pp-bg-slate-50","pp-border","pp-border-dashed","pp-border-slate-200","pp-rounded-lg","pp-p-4"],[1,"fa","fa-spinner","fa-spin"],[1,"pp-space-y-3"],["class","pp-text-sm pp-text-slate-500 pp-bg-slate-50 pp-border pp-border-dashed pp-border-slate-200 pp-rounded-lg pp-p-4",4,"ngIf"],[1,"schema-layout"],[1,"schema-layout__left"],["class","pp-grid pp-grid-cols-1 md:pp-grid-cols-1 pp-gap-4",4,"ngIf"],["class","schema-layout__right",4,"ngIf"],["treeNodeTemplate",""],[1,"pp-text-sm","pp-text-slate-500","pp-bg-slate-50","pp-border","pp-border-dashed","pp-border-slate-200","pp-rounded-lg","pp-p-4"],[1,"pp-grid","pp-grid-cols-1","md:pp-grid-cols-1","pp-gap-4"],["class","schema-card",4,"ngFor","ngForOf"],[1,"schema-card"],[1,"schema-card__header"],[1,"schema-card__header-left"],[1,"pp-text-[11px]","pp-uppercase","pp-tracking-wide","pp-text-slate-500"],[1,"pp-text-base","pp-font-normal","pp-text-slate-900"],[1,"pp-text-[11px]","pp-text-slate-500"],[1,"schema-card__header-right"],["pInputText","","type","text","placeholder","Search tables",1,"schema-search",3,"value","input"],[1,"select-all-toggle"],["type","checkbox",3,"checked","change"],["itemSize","44","minBufferPx","200","maxBufferPx","400",1,"schema-card__body","
1schema-viewport"],["class","schema-card__row",4,"cdkVirtualFor","cdkVirtualForOf","cdkVirtualForTrackBy"],[1,"schema-card__row"],[1,"pp-text-[13px]","pp-text-slate-800"],[1,"sharepoint-header-row"],[1,"sharepoint-header-right"],[1,"source-search-wrap"],["pInputText","","type","text",1,"schema-search","sharepoint-search",3,"placeholder","value","input","keyup.enter"],["type","button","class","onedrive-clear-button","aria-label","Clear OneDrive user search",3,"click",4,"ngIf"],["type","button","class","onedrive-search-button","aria-label","Search OneDrive users",3,"click",4,"ngIf"],["type","checkbox",3,"checked","indeterminate","change"],["class","file-type-chip-list",4,"ngIf"],[1,"schema-card__body","schema-viewport","tree-viewport"],["class","onedrive-list-loader",4,"ngIf"],["type","button","aria-label","Clear OneDrive user search",1,"onedrive-clear-button",3,"click"],["aria-hidden","true",1,"fa","fa-times"],["type","button","aria-label","Search OneDrive users",1,"onedrive-search-button",3,"click"],["aria-hidden","true",1,"fa","fa-search"],[1,"file-type-chip-list"],["class","file-type-chip",4,"ngFor","ngForOf"],[1,"file-type-chip"],[1,"onedrive-list-loader"],["class","source-empty-text",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"source-empty-text"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"schema-layout__right"],[1,"selected-panel"],[1,"pp-text-xs","pp-text-slate-500","pp-mb-2"],[1,"selected-panel__list"],["class","selected-pill-box__pill",4,"ngFor","ngForOf"],[1,"selected-pill-box__pill"],[1,"pp-text-[12px]","pp-font-medium"],["type","button","aria-label","Remove table",3,"click"],[1,"tree-row"],["type","button","class","tree-expand-btn",3,"click",4,"ngIf"],["class","tree-expand-placeholder",4,"ngIf"],[1,"fa","tree-node-icon",3,"ngClass"],[1,"tree-node-label"],["type","button",1,"tree-expand-btn",3,"click"],[1,"fa",3,"ngClass"],[1,"tree-expand-placeholder"],[1,"profiler-dropdown-shell"],["for","pii-profiler",1,"pp-block","pp-text-sm","pp-font-medium","pp-text-slate-700"],["id","pii-profiler","formControlName","pii_profiler_id",1,"pp-col-span-11","pp-rounded-md","pp-border","pp-border-slate-200","pp-bg-white","pp-px-3","pp-py-2","pp-text-sm","pp-shadow-sm"],["type","button",1,"pp-col-span-1","pp-inline-flex","pp-items-center","pp-justify-center","pp-rounded-md","pp-border","pp-border-transparent","pp-bg-sky-600","pp-px-3","pp-py-2","pp-text-white","pp-text-sm","pp-shadow","hover:pp-bg-sky-700",3,"click"],[2,"display","flex","justify-content","center","height","100vh","align-items","center"],["diameter","50",3,"strokeWidth"]],template:function(n,r){1&n&&(t.YNc(0,Io,20,13,"div",0),t.ALo(1,"async")),2&n&&t.Q6J("ngIf",t.lcZ(1,1,r.stateObs))},dependencies:[h.mk,h.sg,h.O5,h.tP,y.rH,X.xd,X.x0,X.N7,Z.o,u._Y,u.YN,u.Kr,u.Fj,u.EJ,u.JJ,u.JL,u.sg,u.u,L.FN,E.Ou,rt.Ql,h.Ov],styles:['*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[_ngcontent-%COMP%]::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;
1--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}[_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-content: ""}html[_ngcontent-%COMP%], [_nghost-%COMP%]{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body[_ngcontent-%COMP%]{margin:0;line-height:inherit}hr[_ngcontent-%COMP%]{height:0;color:inherit;border-top-width:1px}abbr[_ngcontent-%COMP%]:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-size:inherit;font-weight:inherit}a[_ngcontent-%COMP%]{color:inherit;text-decoration:inherit}b[_ngcontent-%COMP%], strong[_ngcontent-%COMP%]{font-weight:bolder}code[_ngcontent-%COMP%], kbd[_ngcontent-%COMP%], samp[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small[_ngcontent-%COMP%]{font-size:80%}sub[_ngcontent-%COMP%], sup[_ngcontent-%COMP%]{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub[_ngcontent-%COMP%]{bottom:-.25em}sup[_ngcontent-%COMP%]{top:-.5em}table[_ngcontent-%COMP%]{text-indent:0;border-color:inherit;border-collapse:collapse}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%], optgroup[_ngcontent-%COMP%], select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button[_ngcontent-%COMP%], select[_ngcontent-%COMP%]{text-transform:none}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%]:where([type="button"]), input[_ngcontent-%COMP%]:where([type="reset"]), input[_ngcontent-%COMP%]:where([type="submit"]){-webkit-appearance:button;background-color:transparent;background-image:none}[_ngcontent-%COMP%]:-moz-focusring{outline:auto}[_ngcontent-%COMP%]:-moz-ui-invalid{box-shadow:none}progress[_ngcontent-%COMP%]{vertical-align:baseline}[_ngcontent-%COMP%]::-webkit-inner-spin-button, [_ngcontent-%COMP%]::-webkit-outer-spin-button{height:auto}[type=search][_ngcontent-%COMP%]{-webkit-appearance:textfield;outline-offset:-2px}[_ngcontent-%COMP%]::-webkit-search-decoration{-webkit-appearance:none}[_ngcontent-%COMP%]::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary[_ngcontent-%COMP%]{display:list-item}blockquote[_ngcontent-%COMP%], dl[_ngcontent-%COMP%], dd[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%], hr[_ngcontent-%COMP%], figure[_ngcontent-%COMP%], p[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{margin:0}fieldset[_ngcontent-%COMP%]{margin:0;padding:0}legend[_ngcontent-%COMP%]{padding:0}ol[_ngcontent-%COMP%], ul[_ngcontent-%COMP%], menu[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}dialog[_ngcontent-%COMP%]{padding:0}textarea[_ngcontent-%COMP%]{resize:vertical}input[_ngcontent-%COMP%]::placeholder, textarea[_ngcontent-%COMP%]::placeholder{opacity:1;color:#9ca3af}button[_ngcontent-%COMP%], [role=button][_ngcontent-%COMP%]{cursor:pointer}[_ngcontent-%COMP%]:disabled{cursor:default}img[_ngcontent-%COMP%], svg[_ngcontent-%COMP%], video[_ngcontent-%COMP%], canvas[_ngcontent-%COMP%], audio[_ngcontent-%COMP%], iframe[_ngcontent-%COMP%], embed[_ngcontent-%COMP%], object[_ngcontent-%COMP%]{display:block;vertical-align:middle}img[_ngcontent-%COMP%], video[_ngcontent-%COMP%]{max-width:100%;height:auto}
1[hidden][_ngcontent-%COMP%]:where(:not([hidden="until-found"])){display:none}.pp-container[_ngcontent-%COMP%]{width:100%}@media (min-width: 640px){.pp-container[_ngcontent-%COMP%]{max-width:640px}}@media (min-width: 768px){.pp-container[_ngcontent-%COMP%]{max-width:768px}}@media (min-width: 1024px){.pp-container[_ngcontent-%COMP%]{max-width:1024px}}@media (min-width: 1280px){.pp-container[_ngcontent-%COMP%]{max-width:1280px}}@media (min-width: 1536px){.pp-container[_ngcontent-%COMP%]{max-width:1536px}}.pp-pointer-events-none[_ngcontent-%COMP%]{pointer-events:none}.pp-absolute[_ngcontent-%COMP%]{position:absolute}.pp-relative[_ngcontent-%COMP%]{position:relative}.pp-inset-0[_ngcontent-%COMP%]{inset:0}.pp-inset-y-0[_ngcontent-%COMP%]{top:0;bottom:0}.pp-bottom-0[_ngcontent-%COMP%]{bottom:0}.pp-left-0[_ngcontent-%COMP%]{left:0}.pp-left-4[_ngcontent-%COMP%]{left:1rem}.pp-right-0[_ngcontent-%COMP%]{right:0}.pp-top-1\\/2[_ngcontent-%COMP%]{top:50%}.-pp-z-10[_ngcontent-%COMP%]{z-index:-10}.pp-col-span-1[_ngcontent-%COMP%]{grid-column:span 1 / span 1}.pp-col-span-11[_ngcontent-%COMP%]{grid-column:span 11 / span 11}.pp-col-span-2[_ngcontent-%COMP%]{grid-column:span 2 / span 2}.pp-col-span-3[_ngcontent-%COMP%]{grid-column:span 3 / span 3}.pp-col-span-9[_ngcontent-%COMP%]{grid-column:span 9 / span 9}.pp-mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.pp-my-2[_ngcontent-%COMP%]{margin-top:.5rem;margin-bottom:.5rem}.pp-mb-0[_ngcontent-%COMP%]{margin-bottom:0}.pp-mb-1[_ngcontent-%COMP%]{margin-bottom:.25rem}.pp-mb-2[_ngcontent-%COMP%]{margin-bottom:.5rem}.pp-mb-3[_ngcontent-%COMP%]{margin-bottom:.75rem}.pp-mb-4[_ngcontent-%COMP%]{margin-bottom:1rem}.pp-mb-6[_ngcontent-%COMP%]{margin-bottom:1.5rem}.pp-mb-8[_ngcontent-%COMP%]{margin-bottom:2rem}.pp-ml-1[_ngcontent-%COMP%]{margin-left:.25rem}.pp-ml-2[_ngcontent-%COMP%]{margin-left:.5rem}.pp-ml-3[_ngcontent-%COMP%]{margin-left:.75rem}.pp-ml-4[_ngcontent-%COMP%]{margin-left:1rem}.pp-ml-6[_ngcontent-%COMP%]{margin-left:1.5rem}.pp-ml-auto[_ngcontent-%COMP%]{margin-left:auto}.pp-mr-1[_ngcontent-%COMP%]{margin-right:.25rem}.pp-mr-2[_ngcontent-%COMP%]{margin-right:.5rem}.pp-mt-1[_ngcontent-%COMP%]{margin-top:.25rem}.pp-mt-10[_ngcontent-%COMP%]{margin-top:2.5rem}.pp-mt-2[_ngcontent-%COMP%]{margin-top:.5rem}.pp-mt-3[_ngcontent-%COMP%]{margin-top:.75rem}.pp-mt-4[_ngcontent-%COMP%]{margin-top:1rem}.pp-mt-5[_ngcontent-%COMP%]{margin-top:1.25rem}.pp-mt-6[_ngcontent-%COMP%]{margin-top:1.5rem}.pp-mt-\\__ph-0__[_ngcontent-%COMP%]{margin-top:3px}.pp-block[_ngcontent-%COMP%]{display:block}.pp-inline-block[_ngcontent-%COMP%]{display:inline-block}.pp-flex[_ngcontent-%COMP%]{display:flex}.pp-inline-flex[_ngcontent-%COMP%]{display:inline-flex}.pp-grid[_ngcontent-%COMP%]{display:grid}.pp-hidden[_ngcontent-%COMP%]{display:none}.pp-h-10[_ngcontent-%COMP%]{height:2.5rem}.pp-h-2[_ngcontent-%COMP%]{height:.5rem}.pp-h-20[_ngcontent-%COMP%]{height:5rem}.pp-h-24[_ngcontent-%COMP%]{height:6rem}.pp-h-3[_ngcontent-%COMP%]{height:.75rem}.pp-h-36[_ngcontent-%COMP%]{height:9rem}.pp-h-4[_ngcontent-%COMP%]{height:1rem}.pp-h-5[_ngcontent-%COMP%]{height:1.25rem}.pp-h-6[_ngcontent-%COMP%]{height:1.5rem}.pp-h-72[_ngcontent-%COMP%]{height:18rem}.pp-h-\\__ph-0__[_ngcontent-%COMP%]{height:2px}.pp-h-\\__ph-0__[_ngcontent-%COMP%]{height:calc(100vh - 72px)}.pp-h-full[_ngcontent-%COMP%]{height:100%}.pp-h-px[_ngcontent-%COMP%]{height:1px}.pp-max-h-0[_ngcontent-%COMP%]{max-height:0px}.pp-max-h-36[_ngcontent-%COMP%]{max-height:9rem}.pp-max-h-72[_ngcontent-%COMP%]{max-height:18rem}.pp-max-h-screen[_ngcontent-%COMP%]{max-height:100vh}.pp-min-h-\\__ph-0__[_ngcontent-%COMP%]{min-height:320px}.pp-min-h-\\__ph-0__[_ngcontent-%COMP%]{min-height:90px}.pp-min-h-screen[_ngcontent-%COMP%]{min-height:100vh}.pp-w-1\\/3[_ngcontent-%COMP%]{width:33.333333%}.pp-w-1\\/4[_ngcontent-%COMP%]{width:25%}.pp-w-16[_ngcontent-%COMP%]{width:4rem}.pp-w-20[_ngcontent-%COMP%]{width:5rem}.pp-w-24[_ngcontent-%COMP%]{width:6rem}.pp-w-3[_ngcontent-%COMP%]{width:.75rem}.pp-w-3\\/4[_ngcontent-%COMP%]{width:75%}.pp-w-36[_ngcontent-%COMP%]{width:9rem}.pp-w-4[_ngcontent-%COMP%]{width:1rem}.pp-w-5[_ngcontent-%COMP%]{width:1.25rem}.pp-w-6[_ngcontent-%COMP%]{width:1.5rem}.pp-w-72[_ngcontent-%COMP%]{width:18rem}.pp-w-full[_ngcontent-%COMP%]{width:100%}.pp-min-w-\\__ph-0__[_ngcontent-%COMP%]{min-width:120px}.pp-min-w-full[_ngcontent-%COMP%]{min-width:100%}.pp-max-w-2xl[_ngcontent-%COMP%]{max-width:42rem}.pp-max-w-3xl[_ngcontent-%COMP%]{max-width:48rem}.pp-max-w-4xl[_ngcontent-%COMP%]{max-width:56rem}.pp-max-w-7xl[_ngcontent-%COMP%]{max-width:80rem}.pp-max-w-\\__ph-0__[_ngcontent-%COMP%]{max-width:50%}
1.pp-max-w-full[_ngcontent-%COMP%]{max-width:100%}.pp-max-w-md[_ngcontent-%COMP%]{max-width:28rem}.pp-max-w-xl[_ngcontent-%COMP%]{max-width:36rem}.pp-max-w-xs[_ngcontent-%COMP%]{max-width:20rem}.pp-flex-1[_ngcontent-%COMP%]{flex:1 1 0%}.pp-border-collapse[_ngcontent-%COMP%]{border-collapse:collapse}.pp--translate-y-1\\/2[_ngcontent-%COMP%]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.pp-rotate-180[_ngcontent-%COMP%]{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.pp-cursor-not-allowed[_ngcontent-%COMP%]{cursor:not-allowed}.pp-cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.pp-select-none[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.pp-grid-cols-1[_ngcontent-%COMP%]{grid-template-columns:repeat(1,minmax(0,1fr))}.pp-grid-cols-12[_ngcontent-%COMP%]{grid-template-columns:repeat(12,minmax(0,1fr))}.pp-grid-cols-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}.pp-flex-col[_ngcontent-%COMP%]{flex-direction:column}.pp-flex-wrap[_ngcontent-%COMP%]{flex-wrap:wrap}.pp-items-start[_ngcontent-%COMP%]{align-items:flex-start}.pp-items-end[_ngcontent-%COMP%]{align-items:flex-end}.pp-items-center[_ngcontent-%COMP%]{align-items:center}.pp-justify-end[_ngcontent-%COMP%]{justify-content:flex-end}.pp-justify-center[_ngcontent-%COMP%]{justify-content:center}.pp-justify-between[_ngcontent-%COMP%]{justify-content:space-between}.pp-justify-items-center[_ngcontent-%COMP%]{justify-items:center}.pp-gap-2[_ngcontent-%COMP%]{gap:.5rem}.pp-gap-3[_ngcontent-%COMP%]{gap:.75rem}.pp-gap-4[_ngcontent-%COMP%]{gap:1rem}.pp-gap-6[_ngcontent-%COMP%]{gap:1.5rem}.pp-gap-8[_ngcontent-%COMP%]{gap:2rem}.pp-gap-x-12[_ngcontent-%COMP%]{column-gap:3rem}.pp-gap-y-12[_ngcontent-%COMP%]{row-gap:3rem}.pp-space-x-3[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.pp-space-x-4[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.pp-space-y-1[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.pp-space-y-2[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.pp-space-y-3[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}
1.pp-space-y-4[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.pp-space-y-6[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.pp-overflow-auto[_ngcontent-%COMP%]{overflow:auto}.pp-overflow-hidden[_ngcontent-%COMP%]{overflow:hidden}.pp-overflow-x-auto[_ngcontent-%COMP%]{overflow-x:auto}.pp-whitespace-nowrap[_ngcontent-%COMP%]{white-space:nowrap}.pp-whitespace-pre-wrap[_ngcontent-%COMP%]{white-space:pre-wrap}.pp-break-words[_ngcontent-%COMP%]{overflow-wrap:break-word}.pp-break-all[_ngcontent-%COMP%]{word-break:break-all}.pp-rounded[_ngcontent-%COMP%]{border-radius:.25rem}.pp-rounded-2xl[_ngcontent-%COMP%]{border-radius:1rem}.pp-rounded-3xl[_ngcontent-%COMP%]{border-radius:1.5rem}.pp-rounded-full[_ngcontent-%COMP%]{border-radius:9999px}.pp-rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.pp-rounded-md[_ngcontent-%COMP%]{border-radius:.375rem}.pp-rounded-xl[_ngcontent-%COMP%]{border-radius:.75rem}.pp-border[_ngcontent-%COMP%]{border-width:1px}.pp-border-0[_ngcontent-%COMP%]{border-width:0px}.pp-border-2[_ngcontent-%COMP%]{border-width:2px}.pp-border-b[_ngcontent-%COMP%]{border-bottom-width:1px}.pp-border-t[_ngcontent-%COMP%]{border-top-width:1px}.pp-border-dashed[_ngcontent-%COMP%]{border-style:dashed}.pp-border-blue-300[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity, 1))}.pp-border-gray-200[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.pp-border-gray-300[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.pp-border-red-200[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity, 1))}.pp-border-slate-100[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(241 245 249 / var(--tw-border-opacity, 1))}.pp-border-slate-200[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity, 1))}.pp-border-slate-300[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1))}.pp-border-transparent[_ngcontent-%COMP%]{border-color:transparent}.pp-bg-\\__ph-0__[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(22 191 94 / var(--tw-bg-opacity, 1))}.pp-bg-\\__ph-0__\\/10[_ngcontent-%COMP%]{background-color:#16bf5e1a}.pp-bg-\\__ph-0__\\/15[_ngcontent-%COMP%]{background-color:#16bf5e26}.pp-bg-\\__ph-0__\\/10[_ngcontent-%COMP%]{background-color:#16bf5e1a}.pp-bg-\\__ph-0__[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(246 248 255 / var(--tw-bg-opacity, 1))}.pp-bg-amber-600[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity, 1))}.pp-bg-blue-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.pp-bg-blue-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.pp-bg-emerald-600[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity, 1))}.pp-bg-gray-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.pp-bg-gray-200[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.pp-bg-gray-300[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.pp-bg-gray-50[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.pp-bg-gray-600[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.pp-bg-gray-800[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.pp-bg-gray-900[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.pp-bg-green-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.pp-bg-green-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.pp-bg-pink-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity, 1))}.pp-bg-purple-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity, 1))}.pp-bg-red-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.pp-bg-red-50[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.pp-bg-sky-600[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity, 1))}.pp-bg-slate-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1))}.pp-bg-slate-300[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity, 1))}.pp-bg-slate-50[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1))}.pp-bg-transparent[_ngcontent-%COMP%]{background-color:transparent}.pp-bg-white[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.pp-bg-white\\/60[_ngcontent-%COMP%]{background-color:#fff9}.pp-bg-yellow-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))}.pp-bg-gradient-to-b[_ngcontent-%COMP%]{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.pp-from-\\__ph-0__\\/10[_ngcontent-%COMP%]{--tw-gradient-from: rgb(22 191 94 / .1) var(--tw-gradient-from-position);--tw-gradient-to: rgb(22 191 94 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.pp-to-slate-50[_ngcontent-%COMP%]{--tw-gradient-to: #f8fafc var(--tw-gradient-to-position)}.pp-p-12[_ngcontent-%COMP%]{padding:3rem}.pp-p-2[_ngcontent-%COMP%]{padding:.5rem}.pp-p-3[_ngcontent-%COMP%]{padding:.75rem}.pp-p-4[_ngcontent-%COMP%]{padding:1rem}.pp-p-5[_ngcontent-%COMP%]{padding:1.25rem}.pp-p-6[_ngcontent-%COMP%]{padding:1.5rem}.pp-p-8[_ngcontent-%COMP%]{padding:2rem}.pp-px-10[_ngcontent-%COMP%]{padding-left:2.5rem;padding-right:2.5rem}.pp-px-2[_ngcontent-%COMP%]{padding-left:.5rem;padding-right:.5rem}.pp-px-2\\.5[_ngcontent-%COMP%]{padding-left:.625rem;padding-right:.625rem}.pp-px-3[_ngcontent-%COMP%]{padding-left:.75rem;padding-right:.75rem}.pp-px-4[_ngcontent-%COMP%]{padding-left:1rem;padding-right:1rem}.pp-px-6[_ngcontent-%COMP%]{padding-left:1.5rem;padding-right:1.5rem}.pp-py-0\\.5[_ngcontent-%COMP%]{padding-top:.125rem;padding-bottom:.125rem}.pp-py-1[_ngcontent-%COMP%]{padding-top:.25rem;padding-bottom:.25rem}.pp-py-1\\.5[_ngcontent-%COMP%]{padding-top:.375rem;padding-bottom:.375rem}.pp-py-10[_ngcontent-%COMP%]{padding-top:2.5rem;padding-bottom:2.5rem}.pp-py-12[_ngcontent-%COMP%]{padding-top:3rem;padding-bottom:3rem}.pp-py-2[_ngcontent-%COMP%]{padding-top:.5rem;padding-bottom:.5rem}.pp-py-3[_ngcontent-%COMP%]{padding-top:.75rem;padding-bottom:.75rem}
1.pp-py-4[_ngcontent-%COMP%]{padding-top:1rem;padding-bottom:1rem}.pp-py-6[_ngcontent-%COMP%]{padding-top:1.5rem;padding-bottom:1.5rem}.pp-py-8[_ngcontent-%COMP%]{padding-top:2rem;padding-bottom:2rem}.pp-pb-12[_ngcontent-%COMP%]{padding-bottom:3rem}.pp-pb-16[_ngcontent-%COMP%]{padding-bottom:4rem}.pp-pb-3[_ngcontent-%COMP%]{padding-bottom:.75rem}.pp-pb-4[_ngcontent-%COMP%]{padding-bottom:1rem}.pp-pb-6[_ngcontent-%COMP%]{padding-bottom:1.5rem}.pp-pb-8[_ngcontent-%COMP%]{padding-bottom:2rem}.pp-pl-0[_ngcontent-%COMP%]{padding-left:0}.pp-pl-11[_ngcontent-%COMP%]{padding-left:2.75rem}.pp-pr-3[_ngcontent-%COMP%]{padding-right:.75rem}.pp-pr-4[_ngcontent-%COMP%]{padding-right:1rem}.pp-pt-0[_ngcontent-%COMP%]{padding-top:0}.pp-pt-1[_ngcontent-%COMP%]{padding-top:.25rem}.pp-pt-10[_ngcontent-%COMP%]{padding-top:2.5rem}.pp-pt-12[_ngcontent-%COMP%]{padding-top:3rem}.pp-pt-2[_ngcontent-%COMP%]{padding-top:.5rem}.pp-pt-4[_ngcontent-%COMP%]{padding-top:1rem}.pp-pt-6[_ngcontent-%COMP%]{padding-top:1.5rem}.pp-text-left[_ngcontent-%COMP%]{text-align:left}.pp-text-center[_ngcontent-%COMP%]{text-align:center}.pp-text-right[_ngcontent-%COMP%]{text-align:right}.pp-font-mono[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.pp-text-2xl[_ngcontent-%COMP%]{font-size:1.5rem;line-height:2rem}.pp-text-3xl[_ngcontent-%COMP%]{font-size:1.875rem;line-height:2.25rem}.pp-text-4xl[_ngcontent-%COMP%]{font-size:2.25rem;line-height:2.5rem}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{font-size:11px}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{font-size:12px}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{font-size:13px}.pp-text-base[_ngcontent-%COMP%]{font-size:1rem;line-height:1.5rem}.pp-text-lg[_ngcontent-%COMP%]{font-size:1.125rem;line-height:1.75rem}.pp-text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}.pp-text-xl[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1.75rem}.pp-text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.pp-font-bold[_ngcontent-%COMP%]{font-weight:700}.pp-font-extrabold[_ngcontent-%COMP%]{font-weight:800}.pp-font-medium[_ngcontent-%COMP%]{font-weight:500}.pp-font-normal[_ngcontent-%COMP%]{font-weight:400}.pp-font-semibold[_ngcontent-%COMP%]{font-weight:600}.pp-uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.pp-italic[_ngcontent-%COMP%]{font-style:italic}.pp-leading-5[_ngcontent-%COMP%]{line-height:1.25rem}.pp-leading-6[_ngcontent-%COMP%]{line-height:1.5rem}.pp-leading-7[_ngcontent-%COMP%]{line-height:1.75rem}.pp-leading-tight[_ngcontent-%COMP%]{line-height:1.25}.pp-tracking-wide[_ngcontent-%COMP%]{letter-spacing:.025em}.pp-tracking-wider[_ngcontent-%COMP%]{letter-spacing:.05em}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(6 95 70 / var(--tw-text-opacity, 1))}.pp-text-\\__ph-0__[_ngcontent-%COMP%], .pp-text-\\__ph-0__[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(22 191 94 / var(--tw-text-opacity, 1))}.pp-text-\\__ph-0__\\/30[_ngcontent-%COMP%]{color:#16bf5e4d}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.pp-text-amber-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity, 1))}.pp-text-black[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.pp-text-blue-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.pp-text-blue-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.pp-text-blue-700[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.pp-text-blue-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity, 1))}.pp-text-gray-400[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.pp-text-gray-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.pp-text-gray-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.pp-text-gray-700[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.pp-text-gray-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.pp-text-gray-900[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.pp-text-green-300[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity, 1))}.pp-text-green-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.pp-text-green-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.pp-text-green-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity, 1))}.pp-text-indigo-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity, 1))}.pp-text-purple-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity, 1))}.pp-text-red-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.pp-text-red-700[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.pp-text-red-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.pp-text-rose-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(225 29 72 / var(--tw-text-opacity, 1))}.pp-text-slate-300[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity, 1))}.pp-text-slate-400[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.pp-text-slate-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.pp-text-slate-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.pp-text-slate-700[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.pp-text-slate-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity, 1))}.pp-text-slate-900[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.pp-text-white[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.pp-placeholder-slate-500[_ngcontent-%COMP%]::placeholder{--tw-placeholder-opacity: 1;color:rgb(100 116 139 / var(--tw-placeholder-opacity, 1))}.pp-shadow[_ngcontent-%COMP%]{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
1--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-shadow-\\[0_20px_60px_rgba\\(2\\[_ngcontent-%COMP%], 6\\[_ngcontent-%COMP%], 23\\[_ngcontent-%COMP%], 0\\.08\\)\\][_ngcontent-%COMP%]{--tw-shadow: 0 20px 60px rgba(2,6,23,.08);--tw-shadow-colored: 0 20px 60px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-shadow-inner[_ngcontent-%COMP%]{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-shadow-lg[_ngcontent-%COMP%]{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-sha
1dow)}.pp-shadow-md[_ngcontent-%COMP%]{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-shadow-sm[_ngcontent-%COMP%]{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-outline-none[_ngcontent-%COMP%]{outline:2px solid transparent;outline-offset:2px}.pp-transition[_ngcontent-%COMP%]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.pp-transition-all[_ngcontent-%COMP%]{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.pp-transition-colors[_ngcontent-%COMP%]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.pp-transition-transform[_ngcontent-%COMP%]{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.pp-duration-0[_ngcontent-%COMP%]{transition-duration:0s}.req[_ngcontent-%COMP%]{color:#dc2626}.source-select--error[_ngcontent-%COMP%]{border-color:#dc2626!important;color:#0f172a!important;background-color:#fff!important}.source-select--error[_ngcontent-%COMP%]:focus{border-color:#dc2626!important;color:#0f172a!important;background-color:#fff!important;outline:none;box-shadow:none}.source-select--error[_ngcontent-%COMP%]   option[_ngcontent-%COMP%]{color:#0f172a!important;background-color:#fff!important}.source-error-text[_ngcontent-%COMP%]{margin-top:8px;padding:8px 10px;border:.1px solid #fecaca;border-radius:6px;background-color:#fafafa;color:#dc2626;font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.job-form-shell[_ngcontent-%COMP%]{width:min(1800px,80vw);margin:0 auto;padding-left:8px;padding-right:8px}.profiler-toggle-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:14px}.profiler-toggle-label[_ngcontent-%COMP%]{margin:0;font-size:16px;font-weight:500;color:#334155;cursor:pointer}.profiler-dropdown-shell[_ngcontent-%COMP%]{overflow:hidden;animation:_ngcontent-%COMP%_profilerReveal .16s ease-out;padding-left:calc(16.666667% + 1rem)}@keyframes _ngcontent-%COMP%_profilerReveal{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.schema-card[_ngcontent-%COMP%]{border:1px solid #e8edf4;border-radius:14px;background:#ffffff;padding:14px;box-shadow:0 10px 24px #0f172a0a;transition:transform .12s ease,box-shadow .12s ease;min-height:170px}.schema-card[_ngcontent-%COMP%]:hover{transform:translateY(-2px);box-shadow:0 14px 32px #0f172a0f}.schema-card__header[_ngcontent-%COMP%]{border:1px dashed #dce5f2;border-radius:10px;padding:10px;background:#f6f9fc;display:flex;justify-content:space-between;gap:10px}.schema-card__body[_ngcontent-%COMP%]{margin-top:12px;display:block;height:360px}.schema-viewport[_ngcontent-%COMP%]{height:360px;width:100%;overflow:auto}.schema-card__row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;padding:8px 10px;border:none;border-radius:8px;background:#ffffff;box-shadow:none;cursor:pointer;border-bottom:1px solid #eef2f7}.schema-card__row[_ngcontent-%COMP%]:hover{background:#f7fbff}.schema-card__row[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]{width:15px;height:15px;border-radius:3px}.tree-viewport[_ngcontent-%COMP%]{padding-top:8px}.onedrive-list-loader[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:100%;color:#64748b;font-size:13px}.sharepoint-header-row[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px}.sharepoint-header-right[_ngcontent-%COMP%]{margin-left:auto;display:flex;flex-direction:column;flex-wrap:wrap;align-items:flex-end;
1gap:8px;max-width:65%;width:min(100%,360px)}.sharepoint-search[_ngcontent-%COMP%]{width:100%}.source-search-wrap[_ngcontent-%COMP%]{position:relative;width:100%}.source-search-wrap[_ngcontent-%COMP%]   .sharepoint-search[_ngcontent-%COMP%]{padding-right:72px}.onedrive-clear-button[_ngcontent-%COMP%], .onedrive-search-button[_ngcontent-%COMP%]{position:absolute;top:50%;right:4px;transform:translateY(-50%);width:30px;height:30px;border:1px solid transparent;border-radius:5px;color:#475569;cursor:pointer}.onedrive-clear-button[_ngcontent-%COMP%]{right:38px;background:transparent}.onedrive-clear-button[_ngcontent-%COMP%]:hover{background:#f1f5f9;color:#0f172a}.onedrive-search-button[_ngcontent-%COMP%]{background:#e0f2fe;border-color:#bae6fd;color:#0369a1}.onedrive-search-button[_ngcontent-%COMP%]:hover{background:#e2e8f0;color:#0369a1}.file-type-chip-list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;width:100%}.file-type-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border:1px solid #dce5f2;border-radius:999px;background:#f8fbff;color:#334155;font-size:12px;text-transform:lowercase}.file-type-chip[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]{width:14px;height:14px}.tree-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;min-height:34px;padding:4px 8px;border-bottom:1px solid #eef2f7}.tree-row[_ngcontent-%COMP%]:hover{background:#f8fbff}.tree-expand-btn[_ngcontent-%COMP%]{width:18px;height:18px;border:none;background:transparent;color:#64748b;padding:0;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.tree-expand-placeholder[_ngcontent-%COMP%]{width:18px;height:18px;display:inline-block}.tree-node-icon[_ngcontent-%COMP%]{color:#64748b;width:14px;text-align:center}.tree-node-label[_ngcontent-%COMP%]{font-size:13px;color:#1e293b;word-break:break-all}.source-empty-text[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;min-height:160px;padding:16px;color:#64748b;font-size:13px;text-align:center}.schema-card__header-left[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2px}.schema-card__header-right[_ngcontent-%COMP%]{min-width:140px}.schema-search[_ngcontent-%COMP%]{width:100%;padding:6px 10px!important;font-size:12px}.select-all-toggle[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;font-size:12px;color:#475569;margin-top:6px}.select-all-toggle[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:14px;height:14px}.selected-pill-box[_ngcontent-%COMP%]{margin-top:14px;border:1px dashed #dce5f2;background:#f8fbff;border-radius:12px;padding:12px}.selected-pill-box__list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px}.selected-pill-box__pill[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;background:#ffffff;border:1px solid #dce5f2;border-radius:999px;box-shadow:0 4px 12px #0f172a0f}.selected-pill-box__pill[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-weight:400;color:#1f2937;overflow-wrap:anywhere;word-break:break-word}.selected-pill-box__pill[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{border:none;background:transparent;color:#64748b;cursor:pointer;font-size:14px;line-height:1;padding:0}.selected-pill-box__pill[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover{color:#0ea5e9}.schema-layout[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:16px;align-items:start}.schema-layout__right[_ngcontent-%COMP%]{height:100%}.selected-panel[_ngcontent-%COMP%]{border:1px dashed #dce5f2;background:#f8fbff;border-radius:12px;padding:12px;height:300%;max-height:420px;overflow:hidden;display:flex;flex-direction:column}.selected-panel__list[_ngcontent-%COMP%]{overflow:auto;padding-right:4px;display:flex;flex-wrap:wrap;gap:8px}.selected-panel__list[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px}.selected-panel__list[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:8px}@media screen and (max-width: 1024px){.schema-layout[_ngcontent-%COMP%]{grid-template-columns:1fr}.selected-panel[_ngcontent-%COMP%]{max-height:none}}
1@media screen and (max-width: 768px){.job-form-shell[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.profiler-dropdown-shell[_ngcontent-%COMP%]{padding-left:0}.sharepoint-header-row[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch}.sharepoint-header-right[_ngcontent-%COMP%]{max-width:none;width:100%;align-items:stretch}.file-type-chip-list[_ngcontent-%COMP%]{justify-content:flex-start}.schema-card__body[_ngcontent-%COMP%], .schema-viewport[_ngcontent-%COMP%]{height:280px}}.file\\:pp-mr-4[_ngcontent-%COMP%]::file-selector-button{margin-right:1rem}.file\\:pp-rounded-full[_ngcontent-%COMP%]::file-selector-button{border-radius:9999px}.file\\:pp-border-0[_ngcontent-%COMP%]::file-selector-button{border-width:0px}.file\\:pp-bg-blue-50[_ngcontent-%COMP%]::file-selector-button{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.file\\:pp-px-4[_ngcontent-%COMP%]::file-selector-button{padding-left:1rem;padding-right:1rem}.file\\:pp-py-2[_ngcontent-%COMP%]::file-selector-button{padding-top:.5rem;padding-bottom:.5rem}.file\\:pp-text-sm[_ngcontent-%COMP%]::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:pp-font-semibold[_ngcontent-%COMP%]::file-selector-button{font-weight:600}.file\\:pp-text-blue-700[_ngcontent-%COMP%]::file-selector-button{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.after\\:pp-absolute[_ngcontent-%COMP%]:after{content:var(--tw-content);position:absolute}.after\\:pp-bottom-0[_ngcontent-%COMP%]:after{content:var(--tw-content);bottom:0}.after\\:pp-left-0[_ngcontent-%COMP%]:after{content:var(--tw-content);left:0}.after\\:pp-right-0[_ngcontent-%COMP%]:after{content:var(--tw-content);right:0}.after\\:pp-h-0\\.5[_ngcontent-%COMP%]:after{content:var(--tw-content);height:.125rem}.after\\:pp-bg-\\__ph-0__[_ngcontent-%COMP%]:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(22 191 94 / var(--tw-bg-opacity, 1))}.even\\:pp-bg-slate-50[_ngcontent-%COMP%]:nth-child(even){--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1))}.hover\\:pp--translate-y-1[_ngcontent-%COMP%]:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:pp-bg-\\__ph-0__[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(22 191 94 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-gray-100[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-gray-800[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-sky-700[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-slate-200[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-slate-50[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1))}.hover\\:pp-text-red-800[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.hover\\:pp-text-slate-800[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity, 1))}.hover\\:pp-text-slate-900[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.hover\\:pp-text-white[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hover\\:pp-underline[_ngcontent-%COMP%]:hover{text-decoration-line:underline}.hover\\:pp-opacity-90[_ngcontent-%COMP%]:hover{opacity:.9}.hover\\:pp-shadow-lg[_ngcontent-%COMP%]:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
1--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\\:pp-shadow-md[_ngcontent-%COMP%]:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\\:file\\:pp-bg-blue-100[_ngcontent-%COMP%]::file-selector-button:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.focus\\:pp-border-blue-500[_ngcontent-%COMP%]:focus{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.focus\\:pp-bg-\\__ph-0__\\/15[_ngcontent-%COMP%]:focus{background-color:#16bf5e26}.focus\\:pp-outline-none[_ngcontent-%COMP%]:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:pp-ring-blue-500[_ngcontent-%COMP%]:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}.disabled\\:pp-cursor-not-allowed[_ngcontent-%COMP%]:disabled{cursor:not-allowed}.disabled\\:pp-opacity-50[_ngcontent-%COMP%]:disabled{opacity:.5}@media (min-width: 640px){.sm\\:pp-grid-cols-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:pp-text-base[_ngcontent-%COMP%]{font-size:1rem;line-height:1.5rem}.sm\\:pp-text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}.sm\\:pp-text-xl[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 768px){.md\\:pp-my-3[_ngcontent-%COMP%]{margin-top:.75rem;margin-bottom:.75rem}.md\\:pp-grid-cols-1[_ngcontent-%COMP%]{grid-template-columns:repeat(1,minmax(0,1fr))}.md\\:pp-grid-cols-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:pp-grid-cols-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}.md\\:pp-gap-3[_ngcontent-%COMP%]{gap:.75rem}.md\\:pp-px-3[_ngcontent-%COMP%]{padding-left:.75rem;padding-right:.75rem}.md\\:pp-text-2xl[_ngcontent-%COMP%]{font-size:1.5rem;line-height:2rem}.md\\:pp-text-\\__ph-0__[_ngcontent-%COMP%]{font-size:15px}.md\\:pp-text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}}@media (min-width: 1024px){.lg\\:pp-grid-cols-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\\:pp-grid-cols-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,minmax(0,1fr))}}']}),i})();var at=m(8929),j=m(21086),Jo=m(30567);let Uo=(()=>{const s=class{constructor(e,n){this.http=e,this.loki=n,this.handledErrorRequestHeaders=new P.WM({"X-Skip-Error-Redirect":"true"})}getReport(e){return this.http.get(`${f.N.keyStoneUrl}/data-discovery/report/${e}`).pipe((0,x.K)(n=>(0,v._)(()=>n)))}getReportPage(e,n){return this.http.get(`${f.N.keyStoneUrl}/data-discovery/report/${e}`,{params:n}).pipe((0,x.K)(r=>(0,v._)(()=>r)))}getConnectionsSummary(e,n){return this.http.get(`${f.N.keyStoneUrl}/data-discovery/report/${e}/connections-summary`,{params:n}).pipe((0,x.K)(r=>(0,v._)(()=>r)))}updateReportRow(e,n){return this.http.put(`${f.N.keyStoneUrl}/data-discovery/update-report/${e}`,n)}analyseRow(e,n,r){const a=r?.trim();return this.http.get(a?`${f.N.keyStoneUrl}/data-discovery/pods/${n}/connections/${a}/analyse/scan/data/${e}`:`${f.N.keyStoneUrl}/data-discovery/analyse/scan/data/${e}`)}analysePodConnectionRow(e,n,r){return this.http.get(`${f.N.keyStoneUrl}/data-discovery/pods/${e}/connections/${n}/analyse/scan/data/${r}`)}getStorageReport(e,n){return this.http.get(`${f.N.keyStoneUrl}/data-discovery/storage-report/${e}`,{params:n}).pipe((0,x.K)(r=>(0,v._)(()=>r)))}getStorageReportFiles(e,n){return this.http.get(`${f.N.keyStoneUrl}/data-discovery/storage-report/${e}/files`,{params:n}).pipe((0,x.K)(r=>(0,v._)(()=>r)))}getStorageReportFilesV3(e,n){return this.http.get(`${f.N.keyStoneUrl}/data-discovery/storage-report/${e}/files/v3`,{params:n}).pipe((0,x.K)(r=>(0,v._)(()=>r)))}getStorageFileStream(e,n){return this.http.get(`${f.N.keyStoneUrl}/data-discovery/storage-report/${e}/file/${n}/stream`,{headers:this.handledErrorRequestHeaders,responseType:"blob"}).pipe((0,x.K)(r=>(0,v._)(()=>r)))}getStoragePodFileStream(e,n){return this.http.get(`${f.N.keyStoneUrl}/data-discovery/storage-report/${e}/pod-file/${n}/stream`,{headers:this.handledErrorRequestHeaders,responseType:"blob"}).pipe((0,x.K)(r=>(0,v._)(()=>r)))}getStorageFileEvidences(e,n){return this.http.get(`${f.N.keyStoneUrl}/data-discovery/storage-report/${e}/file/${n}
1/evidences`).pipe((0,x.K)(r=>(0,v._)(()=>r)))}updateStorageFinding(e,n,r){return this.http.patch(`${f.N.keyStoneUrl}/data-discovery/storage-report/${e}/findings/${n}`,r).pipe((0,x.K)(a=>(0,v._)(()=>a)))}deleteStorageFinding(e,n){return this.http.delete(`${f.N.keyStoneUrl}/data-discovery/storage-report/${e}/findings/${n}`).pipe((0,x.K)(r=>(0,v._)(()=>r)))}};let i=s;return s.\u0275fac=function(n){return new(n||s)(t.LFG(P.eN),t.LFG(I.L))},s.\u0275prov=t.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),i})(),Ro=(()=>{const s=class extends U.a{constructor(){super({oid:"",pid:"",initialLoad:new q.X(!0),reportDetails:{}})}};let i=s;return s.\u0275fac=function(n){return new(n||s)},s.\u0275prov=t.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),i})(),Mt=(()=>{const s=class{constructor(e,n,r,a){this.activatedRouter=e,this.discoveryReportPageApiService=n,this.discoveryReportPageStateService=r,this.titleService=a,this.reportDetails$=new at.xQ,this.reportLoadStarted$=new at.xQ}init(){this.titleService.setTitle("Report - "+f.N.portalPrefix);const e=new q.X(!1);this.discoveryReportPageStateService.updateState({initialLoad:e}),this.activatedRouter.queryParams.pipe((0,N.w)(n=>{this.reportLoadStarted$.next(),this.discoveryReportPageStateService.updateState({oid:n.oid,pid:n.pid});const r=this.discoveryReportPageApiService.getReport(n.oid).pipe((0,x.K)(()=>(0,j.of)(null))),a=this.discoveryReportPageApiService.getConnectionsSummary(n.oid,(new P.LE).set("page",1).set("limit",10)).pipe((0,x.K)(()=>(0,j.of)(null))),c=this.discoveryReportPageApiService.getStorageReport(n.oid,(new P.LE).set("page",1).set("limit",1)).pipe((0,x.K)(()=>(0,j.of)(null))),p=this.discoveryReportPageApiService.getStorageReportFilesV3(n.oid,(new P.LE).set("page",1).set("limit",20)).pipe((0,x.K)(()=>(0,j.of)(null)));return(0,Jo.D)({structured:r,structuredSummary:a,storageSummary:c,storageGroups:p})})).subscribe(({structured:n,structuredSummary:r,storageSummary:a,storageGroups:c})=>{this.reportDetails$.next({...n||{},structuredSummary:r||{connections:[],page:1,limit:10,total:0,totalPages:1},unstructuredSummary:a?.dashboardSummary||n?.unstructuredSummary||null,unstructuredStats:a||{},storageGroups:c||{data:[],page:1,limit:20,total:0,totalPages:1}}),e.next(!0)})}loadPage(e){this.discoveryReportPageApiService.getReportPage(this.discoveryReportPageStateService.getState().oid,e).subscribe(n=>this.reportDetails$.next(n))}exportStructuredReport(e){return this.discoveryReportPageApiService.getReportPage(this.discoveryReportPageStateService.getState().oid,e)}getStructuredConnectionsSummaryPage(e,n){const r=this.discoveryReportPageStateService.getState().oid,a=(new P.LE).set("page",e).set("limit",n);return this.discoveryReportPageApiService.getConnectionsSummary(r,a)}getStructuredConnectionDetails(e){return this.discoveryReportPageApiService.getReportPage(this.discoveryReportPageStateService.getState().oid,e)}getStateObs(){return this.discoveryReportPageStateService.getStateObs()}updateReportRow(e,n){return this.discoveryReportPageApiService.updateReportRow(e,n)}analyseRow(e,n){const r=this.discoveryReportPageStateService.getState().oid;return this.discoveryReportPageApiService.analyseRow(e,r,n)}analysePodConnectionRow(e,n){const r=this.discoveryReportPageStateService.getState().oid;return this.discoveryReportPageApiService.analysePodConnectionRow(r,n,e)}getStorageFileStream(e){const n=this.discoveryReportPageStateService.getState().oid;return this.discoveryReportPageApiService.getStorageFileStream(n,e)}getStoragePodFileStream(e){const n=this.discoveryReportPageStateService.getState().oid;return this.discoveryReportPageApiService.getStoragePodFileStream(n,e)}getStorageFileEvidences(e){const n=this.discoveryReportPageStateService.getState().oid;return this.discoveryReportPageApiService.getStorageFileEvidences(n,e)}updateStorageFinding(e,n){const r=this.discoveryReportPageStateService.getState().oid;return this.discoveryReportPageApiService.updateStorageFinding(r,e,n)}deleteStorageFinding(e){const n=this.discoveryReportPageStateService.getState().oid;return this.discoveryReportPageApiService.deleteStorageFinding(n,e)}getStorageReportFilesPage(e,n){const r=this.discoveryReportPageStateService.getState().oid,a=(new P.LE).set("page",e).set("limit",n);return this.discoveryReportPageApiService.getStorageReportFiles(r,a)}getStorageReportGroupsPage(e,n){const r=this.discoveryReportPageStateService.getState().oid,a=(new P.LE).set("page",e).set("limit",n);return this.discoveryReportPageApiService.getStorageReportFilesV3(r,a)}};let i=s;
1return s.\u0275fac=function(n){return new(n||s)(t.LFG(y.gz),t.LFG(Uo),t.LFG(Ro),t.LFG(J.Dx))},s.\u0275prov=t.Yz7({token:s,factory:s.\u0275fac}),i})(),Eo=(()=>{const s=class{constructor(e){this.http=e}getFailedTables(e,n){return this.http.get(`${f.N.keyStoneUrl}/data-discovery/scan/failed-tables/${e}`,{params:n})}};let i=s;return s.\u0275fac=function(n){return new(n||s)(t.LFG(P.eN))},s.\u0275prov=t.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),i})(),Ot=(()=>{const s=class{constructor(e){this.api=e,this.failedTables$=new at.xQ}loadFailedTables(e,n){this.api.getFailedTables(e,n).subscribe(r=>{this.failedTables$.next(r)})}};let i=s;return s.\u0275fac=function(n){return new(n||s)(t.LFG(Eo))},s.\u0275prov=t.Yz7({token:s,factory:s.\u0275fac}),i})();function zo(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",8)(1,"h2"),t._uU(2),t.qZA(),t.TgZ(3,"div",9)(4,"a",10),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.close(!1))}),t._UZ(5,"i",11),t.qZA()()(),t._UZ(6,"hr")}2&i&&(t.xp6(2),t.hij(" ","Failed Tables"," "))}function jo(i,s){1&i&&(t.TgZ(0,"tr")(1,"th"),t._uU(2,"Database"),t.qZA(),t.TgZ(3,"th"),t._uU(4,"Schema"),t.qZA(),t.TgZ(5,"th"),t._uU(6,"Table"),t.qZA(),t.TgZ(7,"th"),t._uU(8,"Error"),t.qZA(),t.TgZ(9,"th"),t._uU(10,"Date"),t.qZA()())}function $o(i,s){if(1&i&&(t.TgZ(0,"tr")(1,"td"),t._uU(2),t.qZA(),t.TgZ(3,"td"),t._uU(4),t.qZA(),t.TgZ(5,"td"),t._uU(6),t.qZA(),t.TgZ(7,"td"),t._uU(8),t.qZA(),t.TgZ(9,"td"),t._uU(10),t.ALo(11,"date"),t.qZA()()),2&i){const o=s.$implicit;t.xp6(2),t.Oqu(o.DatabaseName),t.xp6(2),t.Oqu(o.SchemaName),t.xp6(2),t.Oqu(o.TableName),t.xp6(2),t.Oqu(o.Reason),t.xp6(2),t.Oqu(t.lcZ(11,5,o.CreatedAt))}}const Qo=function(){return{width:"90%"}};let Yo=(()=>{const s=class{constructor(e){this.svc=e,this.visible=!1,this.closeModal=new t.vpe,this.records=[],this.totalRecords=0,this.limit=10,this.page=1,this.loading=!1,this.databases=[],this.schemas=[],this.tables=[],this.selectedDatabase=null,this.selectedSchema=null,this.selectedTable=null}ngOnInit(){this.sub=this.svc.failedTables$.subscribe(e=>{this.records=e.data||[],this.totalRecords=e.total||0,this.page=e.page||1,this.limit=e.limit||10,this.databases=this.buildFilter(this.records,"DatabaseName"),this.schemas=this.buildFilter(this.records,"SchemaName"),this.tables=this.buildFilter(this.records,"TableName")})}ngOnDestroy(){this.sub&&this.sub.unsubscribe()}buildFilter(e,n){return[...new Set(e.map(a=>a[n]))].map(a=>({label:a,value:a}))}loadPage(e){const n=e.first/e.rows+1;let r=(new P.LE).set("page",n).set("limit",e.rows);this.selectedDatabase&&(r=r.set("database_name",this.selectedDatabase)),this.selectedSchema&&(r=r.set("schema_name",this.selectedSchema)),this.selectedTable&&(r=r.set("table_name",this.selectedTable)),this.loading=!0,this.svc.loadFailedTables(this.oid,r)}onFilterChange(){this.loadPage({first:0,rows:this.limit})}close(e){this.closeModal.emit(e)}};let i=s;return s.\u0275fac=function(n){return new(n||s)(t.Y36(Ot))},s.\u0275cmp=t.Xpm({type:s,selectors:[["pp-failed-tables-modal"]],inputs:{visible:"visible",oid:"oid"},outputs:{closeModal:"closeModal"},features:[t._Bn([Ot])],decls:9,vars:21,consts:[[3,"visible","modal","draggable","resizable","visibleChange","onShow"],["pTemplate","header"],[1,"pp-flex","pp-gap-2","pp-mb-3"],["placeholder","Filter by Database",3,"options","ngModel","showClear","ngModelChange","onChange"],["placeholder","Filter by Schema",3,"options","ngModel","showClear","ngModelChange","onChange"],["placeholder","Filter by Table",3,"options","ngModel","showClear","ngModelChange","onChange"],[3,"value","lazy","paginator","rows","totalRecords","onLazyLoad"],["pTemplate","body"],[2,"width","100%","display","flex"],[2,"display","flex","align-items","center","justify-items","center","gap","1rem","margin-left","auto"],[2,"cursor","pointer",3,"click"],[1,"pi","pi-times"]],template:function(n,r){1&n&&(t.TgZ(0,"p-dialog",0),t.NdJ("visibleChange",function(c){return r.visible=c})("onShow",function(){return r.loadPage({first:0,rows:r.limit})}),t.YNc(1,zo,7,1,"ng-template",1),t.TgZ(2,"div",2)(3,"p-dropdown",3),t.NdJ("ngModelChange",function(c){return r.selectedDatabase=c})("onChange",function(){return r.onFilterChange()}),t.qZA(),t.TgZ(4,"p-dropdown",4),t.NdJ("ngModelChange",function(c){return r.selectedSchema=c})("onChange",function(){return r.onFilterChange()}),t.qZA(),t.TgZ(5,"p-dropdown",5),t.NdJ("ngModelChange",function(c){return r.selectedTable=c})("onChange",function(){return r.onFilterChange()}),t.qZA()(),t.TgZ(6,"p-table",6),t.NdJ("onLazyLoad",function(c){return r.loadPage(c)}),t.YNc(7,jo,11,0,"ng-template",1),t.YNc(8,$o,12,7,"ng-template",7),t.qZA()()),2&n&&(t.Akn(t.DdM(20,Qo)
1),t.Q6J("visible",r.visible)("modal",!0)("draggable",!1)("resizable",!1),t.xp6(3),t.Q6J("options",r.databases)("ngModel",r.selectedDatabase)("showClear",!0),t.xp6(1),t.Q6J("options",r.schemas)("ngModel",r.selectedSchema)("showClear",!0),t.xp6(1),t.Q6J("options",r.tables)("ngModel",r.selectedTable)("showClear",!0),t.xp6(1),t.Q6J("value",r.records)("lazy",!0)("paginator",!0)("rows",r.limit)("totalRecords",r.totalRecords))},dependencies:[F.iA,C.jx,u.JJ,u.On,B.Lt,V.V,h.uU],encapsulation:2}),i})();const Go=["connectionsCanvas"],Bo=["canvasWrapper"];function Vo(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",13)(1,"span"),t._uU(2),t.qZA(),t.TgZ(3,"button",14),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(2);return t.KtG(n.closeDeleteSuccessMessage())}),t._uU(4,"\xd7"),t.qZA()()}if(2&i){const o=t.oxw(2);t.xp6(2),t.Oqu(o.deleteSuccessMessage)}}function Ho(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",15)(1,"span"),t._uU(2),t.qZA(),t.TgZ(3,"button",14),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(2);return t.KtG(n.closeSaveSuccessMessage())}),t._uU(4,"\xd7"),t.qZA()()}if(2&i){const o=t.oxw(2);t.xp6(2),t.Oqu(o.saveSuccessMessage)}}function Ko(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",16)(1,"div",17)(2,"h2",18),t._uU(3,"Data Discovery Dashboard"),t.qZA(),t.TgZ(4,"div",19)(5,"button",20),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(2);return t.KtG(n.switchTab("structured"))}),t._uU(6,"Structured"),t.qZA(),t.TgZ(7,"button",20),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(2);return t.KtG(n.switchTab("unstructured"))}),t._uU(8,"Unstructured"),t.qZA()()()()}if(2&i){const o=t.oxw(2);t.xp6(5),t.ekj("active","structured"===o.activeTab),t.xp6(2),t.ekj("active","unstructured"===o.activeTab)}}function Wo(i,s){if(1&i&&(t.TgZ(0,"div",89)(1,"div",90),t._UZ(2,"
1span",91),t.TgZ(3,"span",92),t._uU(4),t.qZA()(),t.TgZ(5,"span",93),t._uU(6),t.qZA()()),2&i){const o=s.$implicit;t.xp6(2),t.Udp("background",o.color),t.xp6(2),t.Oqu(o.label),t.xp6(2),t.Oqu(o.value)}}function Xo(i,s){if(1&i&&(t.TgZ(0,"div",94),t._uU(1),t.qZA()),2&i){const o=t.oxw(4);t.Udp("left",o.tooltip.left,"px")("top",o.tooltip.top,"px"),t.xp6(1),t.hij(" ",o.tooltip.text," ")}}function tr(i,s){if(1&i&&(t.TgZ(0,"div",95)(1,"div",96)(2,"span",97),t._uU(3),t.qZA(),t.TgZ(4,"span",98),t._uU(5),t.qZA()(),t.TgZ(6,"div",99),t._UZ(7,"div",100),t.qZA()()),2&i){const o=s.$implicit,e=t.oxw(4);t.xp6(3),t.Oqu(o.name),t.xp6(2),t.Oqu(o.count),t.xp6(2),t.Udp("width",e.getMetricPercent(o.count,e.categoryBarsMax),"%")("background","#384785")}}function er(i,s){if(1&i&&t._UZ(0,"img",111),2&i){const o=t.oxw().ngIf,e=t.oxw(4);t.Q6J("src",e.getStructuredSystemIcon(o.systemType),t.LSH)("alt",e.formatStructuredSystemType(o.systemType))}}function nr(i,s){1&i&&t._UZ(0,"span",122)}function or(i,s){1&i&&t._UZ(0,"span",125)}function rr(i,s){if(1&i&&(t.TgZ(0,"div",123),t.YNc(1,or,1,0,"span",124),t.qZA()),2&i){const o=t.oxw(7);t.xp6(1),t.Q6J("ngForOf",o.structuredDetailSkeletonColumns)}}function ir(i,s){if(1&i&&(t.TgZ(0,"div",115)(1,"div",116)(2,"div",117)(3,"div",118),t.YNc(4,nr,1,0,"span",119),t.qZA(),t.TgZ(5,"div",120),t.YNc(6,rr,2,1,"div",121),t.qZA()()()()),2&i){const o=t.oxw(6);t.xp6(4),t.Q6J("ngForOf",o.structuredDetailSkeletonColumns),t.xp6(2),t.Q6J("ngForOf",o.structuredDetailSkeletonRows)}}function ar(i,s){if(1&i&&(t.TgZ(0,"div",126),t._uU(1),t.qZA()),2&i){const o=t.oxw().ngIf;t.xp6(1),t.hij(" ",o.error," ")}}function sr(i,s){1&i&&(t.TgZ(0,"div",127),t._uU(1," No tables available for this connection. "),t.qZA())}function cr(i,s){if(1&i&&(t.TgZ(0,"span",155),t._uU(1),t.qZA()),2&i){const o=s.$implicit,e=t.oxw(8);t.xp6(1),t.hij(" ",e.getStructuredCategoryBadgeLabel(o)," ")}}function pr(i,s){if(1&i&&(t.TgZ(0,"span",156),t._uU(1),t.qZA()),2&i){const o=t.oxw().$implicit;t.xp6(1),t.hij(" +",o.remainingCategoryCount," ")}}function dr(i,s){if(1&i){const o=t.EpF();t.ynx(0),t.TgZ(1,"p-dropdown",172),t.NdJ("ngModelChange",function(n){t.CHM(o);const r=t.oxw(11);return t.KtG(r.editingStructuredReport.category=n)}),t.qZA(),t.BQk()}if(2&i){const o=t.oxw(11);t.xp6(1),t.Q6J("options",o.findingCategoryOptions)("ngModel",o.editingStructuredReport.category)}}function lr(i,s){if(1&i&&(t.TgZ(0,"div",164)(1,"span",165),t._uU(2),t.qZA(),t.TgZ(3,"span",166),t._uU(4),t.qZA()()),2&i){const o=t.oxw().$implicit,e=t.oxw(10);t.xp6(2),t.Oqu(e.formatStructuredCategoryLabel(o.category)||"---"),t.xp6(2),t.Oqu(e.formatStructuredCategoryLabel(o.category)||"---")}}function gr(i,s){if(1&i&&(t.TgZ(0,"span",166),t._uU(1),t.qZA()),2&i){const o=t.oxw().$implicit;t.xp6(1),t.Oqu(o.classification)}}function _r(i,s){if(1&i){const o=t.EpF();t.ynx(0),t.TgZ(1,"p-dropdown",172),t.NdJ("ngModelChange",function(n){t.CHM(o);const r=t.oxw(11);return t.KtG(r.editingStructuredReport.riskLevel=n)}),t.qZA(),t.BQk()}if(2&i){const o=t.oxw(11);t.xp6(1),t.Q6J("options",o.riskLevels)("ngModel",o.editingStructuredReport.riskLevel)}}function ur(i,s){if(1&i&&(t.TgZ(0,"span",173),t._UZ(1,"span",174),t._uU(2),t.qZA()),2&i){const o=t.oxw().$implicit,e=t.oxw(10);t.xp6(1),t.Udp("background",e.getRiskColor(o.riskLevel)),t.xp6(1),t.hij(" ",e.riskLabel(o.riskLevel)," ")}}function mr(i,s){if(1&i){const o=t.EpF();t.ynx(0),t.TgZ(1,"button",175),t.NdJ("click",function(n){t.CHM(o);const r=t.oxw().$implicit,a=t.oxw(10);return t.KtG(a.saveStructuredReport(r,n))}),t._UZ(2,"i",110),t.qZA(),t.TgZ(3,"button",176),t.NdJ("click",function(n){t.CHM(o);const r=t.oxw(11);return t.KtG(r.cancelEditingStructuredReport(n))}),t._UZ(4,"i",177),t.qZA(),t.BQk()}if(2&i){const o=t.oxw().$implicit,e=t.oxw(10);t.xp6(1),t.Q6J("disabled",e.isSavingStructuredReport(o)),t.xp6(1),t.Q6J("ngClass",e.isSavingStructuredReport(o)?"pi-spinner pi-spin":"pi-check"),t.xp6(1),t.Q6J("disabled",e.isSavingStructuredReport(o))}}function hr(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"span",178)(1,"button",179),t.NdJ("click",function(n){t.CHM(o);const r=t.oxw().$implicit;return t.oxw(10).openStructuredReport(r),t.KtG(n.stopPropagation())}),t._UZ(2,"i",110),t.qZA(),t.TgZ(3,"span",166),t._uU(4,"Analyse"),t.qZA()(),t.TgZ(5,"span",180)(6,"button",181),t.NdJ("click",function(n){t.CHM(o);const r=t.oxw().$implicit,a=t.oxw(10);return t.KtG(a.startEditingStructuredReport(r,n))}),t._UZ(7,"i",182),t.qZA(),t.TgZ(8,"span",166),t._uU(9,"Edit"),t.qZA()()}if(2&i){const o=t.oxw().$implicit,e=t.oxw(10);
1t.xp6(1),t.Q6J("disabled",!e.canOpenStructuredReport(o)||e.isStructuredReportLoading(o)),t.xp6(1),t.Q6J("ngClass",e.isStructuredReportLoading(o)?"pi-spinner pi-spin":"pi-eye"),t.xp6(4),t.Q6J("disabled",!e.canOpenStructuredReport(o))}}function br(i,s){if(1&i&&(t.TgZ(0,"tr")(1,"td")(2,"div",164)(3,"span",165),t._uU(4),t.qZA(),t.TgZ(5,"span",166),t._uU(6),t.qZA()()(),t.TgZ(7,"td"),t.YNc(8,dr,2,2,"ng-container",80),t.YNc(9,lr,5,2,"ng-template",null,167,t.W1O),t.qZA(),t.TgZ(11,"td")(12,"div",164)(13,"span",165),t._uU(14),t.qZA(),t.YNc(15,gr,2,1,"span",168),t.qZA()(),t.TgZ(16,"td"),t.YNc(17,_r,2,2,"ng-container",80),t.YNc(18,ur,3,3,"ng-template",null,169,t.W1O),t.qZA(),t.TgZ(20,"td",170),t.YNc(21,mr,5,3,"ng-container",80),t.YNc(22,hr,10,3,"ng-template",null,171,t.W1O),t.qZA()()),2&i){const o=s.$implicit,e=t.MAs(10),n=t.MAs(19),r=t.MAs(23),a=t.oxw(10);t.xp6(4),t.Oqu(o.tableColumnName),t.xp6(2),t.Oqu(o.tableColumnName),t.xp6(2),t.Q6J("ngIf",a.isEditingStructuredReport(o))("ngIfElse",e),t.xp6(6),t.Oqu(o.classification||"---"),t.xp6(1),t.Q6J("ngIf",o.classification&&"---"!==o.classification),t.xp6(2),t.Q6J("ngIf",a.isEditingStructuredReport(o))("ngIfElse",n),t.xp6(4),t.Q6J("ngIf",a.isEditingStructuredReport(o))("ngIfElse",r)}}function fr(i,s){if(1&i&&(t.TgZ(0,"div",160)(1,"table",161)(2,"thead")(3,"tr")(4,"th"),t._uU(5),t.qZA(),t.TgZ(6,"th"),t._uU(7,"Category"),t.qZA(),t.TgZ(8,"th"),t._uU(9,"Classification"),t.qZA(),t.TgZ(10,"th"),t._uU(11,"Risk Level"),t.qZA(),t.TgZ(12,"th",162),t._uU(13,"Action"),t.qZA()()(),t.TgZ(14,"tbody"),t.YNc(15,br,24,10,"tr",163),t.qZA()()()),2&i){const o=t.oxw(2).$implicit,e=t.oxw(3).ngIf,n=t.oxw(4);t.xp6(5),t.Oqu(n.isSalesforceSystem(e.systemType)?"Fields":"Column"),t.xp6(10),t.Q6J("ngForOf",o.reports)}}function xr(i,s){1&i&&(t.TgZ(0,"div",127),t._uU(1," No findings available for this table. "),t.qZA())}function vr(i,s){if(1&i&&(t.TgZ(0,"div",157),t.YNc(1,fr,16,2,"div",158),t.YNc(2,xr,2,0,"ng-template",null,159,t.W1O),t.qZA()),2&i){const o=t.MAs(3),e=t.oxw().$implicit;t.xp6(1),t.Q6J("ngIf",e.reports.length)("ngIfElse",o)}}function yr(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",137)(1,"div",138),t.NdJ("click",function(){const r=t.CHM(o).$implicit,a=t.oxw(7);return t.KtG(a.toggleStructuredDetailTable(r))})("keydown",function(n){const a=t.CHM(o).$implicit,c=t.oxw(7);return t.KtG(c.onStructuredDetailTableKeydown(n,a))}),t.TgZ(2,"button",139),t._UZ(3,"i",110),t.qZA(),t.TgZ(4,"div",140)(5,"div",141)(6,"span",142),t.O4$(),t.TgZ(7,"svg",143),t._UZ(8,"rect",144)(9,"path",145)(10,"path",146)(11,"path",147),t.qZA()(),t.kcU(),t.TgZ(12,"div")(13,"div",148),t._uU(14),t.qZA()()()(),t.TgZ(15,"div",149),t.YNc(16,cr,2,1,"span",150),t.YNc(17,pr,2,1,"span",151),t.qZA(),t.TgZ(18,"div",152)(19,"div",153),t._uU(20),t.qZA()()(),t.YNc(21,vr,4,2,"div",154),t.qZA()}if(2&i){const o=s.$implicit,e=t.oxw(7);t.xp6(1),t.ekj("is-expanded",e.isStructuredDetailTableExpanded(o)),t.xp6(2),t.Q6J("ngClass",e.isStructuredDetailTableExpanded(o)?"pi-chevron-down":"pi-chevron-right"),t.xp6(11),t.hij(" ",o.tableName," "),t.xp6(2),t.Q6J("ngForOf",o.visibleCategories),t.xp6(1),t.Q6J("ngIf",o.remainingCategoryCount>0),t.xp6(3),t.AsE(" ",o.totalFindings," ",1===o.totalFindings?"Finding":"Findings"," "),t.xp6(1),t.Q6J("ngIf",e.isStructuredDetailTableExpanded(o))}}function wr(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"button",183),t.NdJ("click",function(){const r=t.CHM(o).$implicit,a=t.oxw(3).ngIf,c=t.oxw(4);return t.KtG(c.goToStructuredDetailPage(a,r))}),t._uU(1),t.qZA()}if(2&i){const o=s.$implicit,e=t.oxw(2).ngIf;t.ekj("is-active",o===e.page),t.xp6(1),t.hij(" ",o," ")}}
1function Cr(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",115)(1,"div",128),t.YNc(2,yr,22,9,"div",129),t.qZA(),t.TgZ(3,"div",130)(4,"div",131),t._uU(5),t.qZA(),t.TgZ(6,"div",132)(7,"button",133),t.NdJ("click",function(){t.CHM(o);const n=t.oxw().ngIf,r=t.oxw().ngIf,a=t.oxw(4);return t.KtG(a.goToStructuredDetailPage(r,n.page-1))}),t._UZ(8,"i",134),t.qZA(),t.YNc(9,wr,2,3,"button",135),t.TgZ(10,"button",133),t.NdJ("click",function(){t.CHM(o);const n=t.oxw().ngIf,r=t.oxw().ngIf,a=t.oxw(4);return t.KtG(a.goToStructuredDetailPage(r,n.page+1))}),t._UZ(11,"i",136),t.qZA()()()()}if(2&i){const o=t.oxw().ngIf,e=t.oxw(5);t.xp6(2),t.Q6J("ngForOf",o.tables),t.xp6(3),t.AsE(" Page ",o.page," of ",o.totalPages," "),t.xp6(2),t.Q6J("disabled",1===o.page),t.xp6(2),t.Q6J("ngForOf",e.getStructuredDetailVisiblePages(o)),t.xp6(1),t.Q6J("disabled",o.page===o.totalPages)}}function Pr(i,s){if(1&i&&(t.ynx(0),t.YNc(1,ir,7,2,"div",112),t.YNc(2,ar,2,1,"div",113),t.YNc(3,sr,2,0,"div",114),t.YNc(4,Cr,12,6,"div",112),t.BQk()),2&i){const o=s.ngIf;t.xp6(1),t.Q6J("ngIf",o.loading),t.xp6(1),t.Q6J("ngIf",!o.loading&&o.error),t.xp6(1),t.Q6J("ngIf",!o.loading&&!o.error&&!o.tables.length),t.xp6(1),t.Q6J("ngIf",!o.loading&&!o.error&&o.tables.length)}}function Mr(i,s){if(1&i){const o=t.EpF();t.ynx(0),t.TgZ(1,"div",101)(2,"div",102)(3,"div",103)(4,"button",104),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(4);return t.KtG(n.closeStructuredDetailView())}),t._uU(5," \u2190 Back to Connections "),t.qZA(),t.TgZ(6,"div",105),t._uU(7),t.qZA()(),t.TgZ(8,"div",106),t.YNc(9,er,1,2,"img",107),t.TgZ(10,"span"),t._uU(11),t.qZA()(),t.TgZ(12,"div",108)(13,"div"),t._uU(14),t.qZA(),t.TgZ(15,"div"),t._uU(16),t.qZA(),t.TgZ(17,"div"),t._uU(18),t.qZA()()(),t.TgZ(19,"button",109),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(4);return t.KtG(n.exportStructuredCsv())}),t._UZ(20,"i",110),t.TgZ(21,"span"),t._uU(22),t.qZA()()(),t.YNc(23,Pr,5,4,"ng-container",0),t.BQk()}if(2&i){const o=s.ngIf,e=t.oxw(4);t.xp6(7),t.HOy(" SHOWING ",e.structuredSelectedPageFirst?e.structuredSelectedPageFirst:0," ",e.structuredSelectedPageEnd?"-"+e.structuredSelectedPageEnd:""," OF ",e.structuredSelectedTotalTables," ",e.isSalesforceSystem(o.systemType)?"OBJECTS":"TABLES"," "),t.xp6(2),t.Q6J("ngIf",e.getStructuredSystemIcon(o.systemType)),t.xp6(2),t.Oqu(o.connectionName),t.xp6(3),t.AsE("",e.isSalesforceSystem(o.systemType)?"Instance":"Database",": ",o.databaseLabel,""),t.xp6(2),t.AsE(" ",o.totalTables," ",e.isSalesforceSystem(o.systemType)?1===o.totalTables?"Object":"Objects":1===o.totalTables?"Table":"Tables"," "),t.xp6(2),t.AsE("",o.totalFindings," ",1===o.totalFindings?"Finding":"Findings",""),t.xp6(1),t.Q6J("disabled",e.exportingCsv||!e.hasStructuredResults),t.xp6(1),t.Q6J("ngClass",e.exportingCsv?"pi-spin pi-spinner":"pi-download"),t.xp6(2),t.Oqu(e.exportingCsv?"Exporting...":"Export CSV"),t.xp6(1),t.Q6J("ngIf",e.structuredSelectedDetailState)}}function Or(i,s){if(1&i&&(t.TgZ(0,"span",195),t._UZ(1,"img",111),t.qZA()),2&i){const o=t.oxw().$implicit,e=t.oxw(6);t.xp6(1),t.Q6J("src",e.getStructuredSystemIcon(o.systemType),t.LSH)("alt",e.formatStructuredSystemType(o.systemType))}}function Sr(i,s){if(1&i&&(t.TgZ(0,"span",196),t._uU(1),t.qZA()),2&i){const o=t.oxw().$implicit;t.xp6(1),t.lnq(" Instance: ",o.databaseLabel," \xb7 ",o.totalTables," ",1===o.totalTables?"Object":"Objects"," ")}}
1function kr(i,s){if(1&i&&(t.TgZ(0,"span",155),t._uU(1),t.qZA()),2&i){const o=s.$implicit,e=t.oxw(7);t.xp6(1),t.hij(" ",e.getStructuredCategoryBadgeLabel(o)," ")}}function Tr(i,s){if(1&i&&(t.TgZ(0,"span",156),t._uU(1),t.qZA()),2&i){const o=t.oxw().$implicit;t.xp6(1),t.hij(" +",o.remainingCategoryCount," ")}}function Ar(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",190)(1,"div",191),t.NdJ("click",function(){const r=t.CHM(o).$implicit,a=t.oxw(6);return t.KtG(a.toggleStructuredGroup(r))})("keydown",function(n){const a=t.CHM(o).$implicit,c=t.oxw(6);return t.KtG(c.onStructuredGroupKeydown(n,a))}),t.TgZ(2,"button",139),t._UZ(3,"i",136),t.qZA(),t.TgZ(4,"div",140)(5,"div",141),t.YNc(6,Or,2,2,"span",192),t.TgZ(7,"div")(8,"div",148),t._uU(9),t.qZA(),t.TgZ(10,"div",193),t.YNc(11,Sr,2,3,"span",194),t._uU(12),t.qZA()()()(),t.TgZ(13,"div",149),t.YNc(14,kr,2,1,"span",150),t.YNc(15,Tr,2,1,"span",151),t.qZA(),t.TgZ(16,"div",152)(17,"div",153),t._uU(18),t.qZA()()()()}if(2&i){const o=s.$implicit,e=t.oxw(6);t.xp6(6),t.Q6J("ngIf",e.getStructuredSystemIcon(o.systemType)),t.xp6(3),t.hij(" ",o.connectionName," "),t.xp6(1),t.uIk("data-salesforce",e.isSalesforceSystem(o.systemType)),t.xp6(1),t.Q6J("ngIf",e.isSalesforceSystem(o.systemType)),t.xp6(1),t.lnq(" Database: ",o.databaseLabel," \xb7 ",o.totalTables," ",e.isSalesforceSystem(o.systemType)?1===o.totalTables?"Object":"Objects":1===o.totalTables?"Table":"Tables"," "),t.xp6(2),t.Q6J("ngForOf",o.visibleCategories),t.xp6(1),t.Q6J("ngIf",o.remainingCategoryCount>0),t.xp6(3),t.AsE(" ",o.totalFindings," ",1===o.totalFindings?"Finding":"Findings"," ")}}function Zr(i,s){if(1&i&&(t.TgZ(0,"div",188),t.YNc(1,Ar,19,11,"div",189),t.qZA()),2&i){const o=t.oxw(5);t.xp6(1),t.Q6J("ngForOf",o.pagedStructuredGroups)}}function Dr(i,s){1&i&&(t.TgZ(0,"div",197),t._uU(1," No records found. "),t.qZA())}function Fr(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"button",183),t.NdJ("click",function(){const r=t.CHM(o).$implicit,a=t.oxw(5);return t.KtG(a.goToStructuredPage(r))}),t._uU(1),t.qZA()}if(2&i){const o=s.$implicit,e=t.oxw(5);t.ekj("is-active",o===e.structuredCurrentPage),t.xp6(1),t.hij(" ",o," ")}}function qr(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",184)(1,"div",105),t._uU(2),t.qZA(),t.TgZ(3,"button",109),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(4);return t.KtG(n.exportStructuredCsv())}),t._UZ(4,"i",110),t.TgZ(5,"span"),t._uU(6),t.qZA()()(),t.YNc(7,Zr,2,1,"div",185),t.YNc(8,Dr,2,0,"ng-template",null,186,t.W1O),t.TgZ(10,"div",187)(11,"div",131),t._uU(12),t.qZA(),t.TgZ(13,"div",132)(14,"button",133),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(4);return t.KtG(n.goToStructuredPage(n.structuredCurrentPage-1))}),t._UZ(15,"i",134),t.qZA(),t.YNc(16,Fr,2,3,"button",135),t.TgZ(17,"button",133),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(4);return t.KtG(n.goToStructuredPage(n.structuredCurrentPage+1))}),t._UZ(18,"i",136),t.qZA()()()}if(2&i){const o=t.MAs(9),e=t.oxw(4);t.xp6(2),t.AsE(" SHOWING ",e.structuredShowingCount," OF ",e.structuredTotalCount," RESULTS "),t.xp6(1),t.Q6J("disabled",e.exportingCsv||!e.hasStructuredResults),t.xp6(1),t.Q6J("ngClass",e.exportingCsv?"pi-spin pi-spinner":"pi-download"),t.xp6(2),t.Oqu(e.exportingCsv?"Exporting...":"Export CSV"),t.xp6(1),t.Q6J("ngIf",e.pagedStructuredGroups.length)("ngIfElse",o),t.xp6(5),t.AsE(" Page ",e.structuredCurrentPage," of ",e.structuredTotalPages," "),t.xp6(2),t.Q6J("disabled",1===e.structuredCurrentPage),t.xp6(2),t.Q6J("ngForOf",e.structuredVisiblePages),t.xp6(1),t.Q6J("disabled",e.structuredCurrentPage===e.structuredTotalPages)}}function Lr(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",198)(1,"h2"),t._uU(2),t.qZA(),t.TgZ(3,"div",199)(4,"a",200),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(4);return t.KtG(n.closeAnalyseVisible(!1))}),t._UZ(5,"i",177),t.qZA()()(),t._UZ(6,"hr")}2&i&&(t.xp6(2),t.hij(" ","Data Analysis"," "))}function Nr(i,s){if(1&i&&(t.TgZ(0,"th",204),t._uU(1),t.qZA()),2&i){const o=s.$implicit;t.Q6J("title",o),t.xp6(1),t.hij(" ",o," ")}}function Ir(i,s){if(1&i&&(t.TgZ(0,"tr"),t.YNc(1,Nr,2,2,"th",203),t.qZA()),2&i){const o=t.oxw(5);t.xp6(1),t.Q6J("ngForOf",o.analyseColumns)}}
1function Jr(i,s){if(1&i&&(t.TgZ(0,"span",213),t._uU(1),t.qZA()),2&i){const o=s.$implicit;t.xp6(1),t.hij(" ",o," ")}}function Ur(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"button",214),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(2).$implicit,r=t.oxw(5);return t.KtG(r.openValuesModal(n))}),t._uU(1),t.qZA()}if(2&i){const o=t.oxw(2).$implicit;t.xp6(1),t.hij(" +",o.Values.length-2," more ")}}function Rr(i,s){if(1&i&&(t.TgZ(0,"div")(1,"div",210),t.YNc(2,Jr,2,1,"span",211),t.ALo(3,"slice"),t.YNc(4,Ur,2,1,"button",212),t.qZA()()),2&i){const o=t.oxw().$implicit;t.xp6(2),t.Q6J("ngForOf",t.Dn7(3,2,o.Values,0,2)),t.xp6(2),t.Q6J("ngIf",o.Values.length>2)}}function Er(i,s){1&i&&(t.TgZ(0,"span",215),t._uU(1,"NA"),t.qZA())}function zr(i,s){if(1&i&&(t.TgZ(0,"tr",205)(1,"td",206),t._uU(2),t.qZA(),t.TgZ(3,"td"),t._uU(4),t.qZA(),t.TgZ(5,"td"),t._uU(6),t.qZA(),t.TgZ(7,"td")(8,"div",207),t._UZ(9,"span",208),t._uU(10),t.qZA()(),t.TgZ(11,"td"),t.YNc(12,Rr,5,6,"div",80),t.YNc(13,Er,2,0,"ng-template",null,209,t.W1O),t.qZA()()),2&i){const o=s.$implicit,e=t.MAs(14),n=t.oxw(5);t.Q6J("pEditableRow",o),t.xp6(2),t.hij(" ",o.Column," "),t.xp6(2),t.hij(" ",o.Category||"---"," "),t.xp6(2),t.hij(" ",o.Classification," "),t.xp6(3),t.Udp("background",n.getRiskColor(o.risk_level)),t.xp6(1),t.hij(" ",n.riskLabel(o.risk_level)," "),t.xp6(2),t.Q6J("ngIf",null==o.Values?null:o.Values.length)("ngIfElse",e)}}function jr(i,s){if(1&i&&(t.TgZ(0,"p-table",201),t.YNc(1,Ir,2,1,"ng-template",83),t.YNc(2,zr,15,9,"ng-template",202),t.qZA()),2&i){const o=t.oxw(4);t.Q6J("value",o.analyseRows)("scrollable",!0)}}function $r(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",216)(1,"span"),t._uU(2),t.qZA(),t.TgZ(3,"i",217),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(4);return t.KtG(n.valuesVisible=!1)}),t.qZA()()}if(2&i){const o=t.oxw(4);t.xp6(2),t.hij("",o.selectedColumnName," values")}}function Qr(i,s){if(1&i&&(t.TgZ(0,"div",218),t._uU(1),t.qZA()),2&i){const o=s.$implicit;t.xp6(1),t.hij(" ",o," ")}}const Yr=function(){return{width:"920px",maxWidth:"92vw"}},Gr=function(){return{overflow:"hidden"}},Br=function(){return{width:"600px"}};function Vr(i,s){if(1&i){const o=t.EpF();t.ynx(0),t.TgZ(1,"div",23)(2,"section",24)(3,"section",25)(4,"article",26)(5,"span",27),t.O4$(),t.TgZ(6,"svg",28),t._UZ(7,"ellipse",29)(8,"path",30)(9,"path",31),t.qZA()(),t.kcU(),t.TgZ(10,"div",32),t._uU(11,"Databases Scanned"),t.qZA(),t.TgZ(12,"div",33),t._uU(13),t.qZA(),t.TgZ(14,"div",34),t._uU(15,"connections scanned"),t.qZA()(),t.TgZ(16,"article",26)(17,"span",27),t.O4$(),t.TgZ(18,"svg",28),t._UZ(19,"ellipse",35)(20,"path",36)(21,"path",37)(22,"path",38),t.qZA()(),t.kcU(),t.TgZ(23,"div",32),t._uU(24,"Databases With Sensitive Data"),t.qZA(),t.TgZ(25,"div",33),t._uU(26),t.qZA(),t.TgZ(27,"div",34),t._uU(28,"affected databases"),t.qZA()(),t.TgZ(29,"article",26)(30,"span",27),t.O4$(),t.TgZ(31,"svg",28),t._UZ(32,"rect",39)(33,"rect",40)(34,"rect",41)(35,"rect",42),t.qZA()(),t.kcU(),t.TgZ(36,"div",32),t._uU(37,"Columns Scanned"),t.qZA(),t.TgZ(38,"div",33),t._uU(39),t.qZA(),t.TgZ(40,"div",34),t._uU(41,"total columns"),t.qZA()(),t.TgZ(42,"article",26)(43,"span",27),t.O4$(),t.TgZ(44,"svg",28),t._UZ(45,"rect",43)(46,"path",44)(47,"path",45)(48,"path",46)(49,"path",47),t.qZA()(),t.kcU(),t.TgZ(50,"div",32),t._uU(51,"Tables Scanned"),t.qZA(),t.TgZ(52,"div",33),t._uU(53),t.qZA(),t.TgZ(54,"div",34),t._uU(55,"total tables"),t.qZA()(),t.TgZ(56,"article",26)(57,"span",27),t.O4$(),t.TgZ(58,"svg",28),t._UZ(59,"ellipse",48)(60,"path",49)(61,"path",50)(62,"path",51)(63,"path",52)(64,"circle",53),t.qZA()(),t.kcU(),t.TgZ(65,"div",32),t._uU(66,"Failed Tables"),t.qZA(),t.TgZ(67,"div",33),t._uU(68),t.qZA(),t.TgZ(69,"button",54),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(3);return t.KtG(n.openFailedTablesModal())}),t._uU(70," View Details "),t.qZA()()()(),t.TgZ(71,"section",55)(72,"article",56)(73,"div",57),t._uU(74,"Risk Distribution"),t.qZA(),t.TgZ(75,"div",58)(76,"div",59)(77,"div",60,61),t._UZ(79,"canvas",62,63),t.TgZ(81,"div",64)(82,"div",65),t._uU(83),t.qZA(),t.TgZ(84,"div",66),t._uU(85,"Total"),t.qZA()()()(),t.TgZ(86,"div",67),t.YNc(87,Wo,7,4,"div",68),t.qZA()(),t.YNc(88,Xo,2,5,"div",69),t.qZA(),t.TgZ(89,"article",56)(90,"div",57),t._uU(91,"Categories by Volume"),t.qZA(),t.TgZ(92,"div",70),t.YNc(93,tr,8,6,"div",71),t.qZA()()()(),t.TgZ(94,"div",72)(95,"div",73)(96,"p-dropdown",74),t.NdJ("ngModelChange",function(n){t.CHM(o);const r=t.oxw(3);return t.KtG(r.selectedConnection=n)})("onChange",function(){t.CHM(o);const n=t.oxw(3);return t.KtG(n.onFilterChange())}),t.qZA(),t.TgZ(97,"p-dropdown",75),t.NdJ("onChange",function(){t.CHM(o);const n=t.oxw(3);return t.KtG(n.onFilterChange())})("ngModelChange",function(n){t.CHM(o);const r=t.oxw(3);return t.KtG(r.selectedCategory=n)}),t.qZA(),t.TgZ(98,"p-dropdown",76),t.NdJ("onChange",function(){t.CHM(o);const n=t.oxw(3);return t.KtG(n.onFilterChange())})("ngModelChange",function(n){t.CHM(o);const r=t.oxw(3);return t.KtG(r.selectedTableName=n)}),t.qZA(),t.TgZ(99,"p-dropdown",77),t.NdJ("onChange",function(){t.CHM(o);const n=t.oxw(3);return t.KtG(n.onFilterChange())})("ngModelChange",function(n){t.CHM(o);const r=t.oxw(3);return t.KtG(r.selectedTableColumn=n)}),t.qZA(),t.TgZ(100,"p-dropdown",78),t.NdJ("ngModelChange",function(n){t.CHM(o);const r=t.oxw(3);return t.KtG(r.selectedRiskLevel=n)})("onChange",function(){t.CHM(o);const n=t.oxw(3);return t.KtG(n.onFilterChange())}),t.qZA()()(),t.TgZ(101,"div",79),t.YNc(102,Mr,24,16,"ng-container",80),t.YNc(103,qr,19,12,"ng-template",null,81,t.W1O),t.TgZ(105,"p-dialog",82),t.NdJ("visibleChange",function(n){t.CHM(o);const r=t.oxw(3);return t.KtG(r.analyseVisible=n)}),t.YNc(106,Lr,7,1,"ng-template",83),t.YNc(107,jr,3,2,"p-table",84),t.qZA(),t.TgZ(108,"p-dialog",85),t.NdJ("visibleChange",function(n){t.CHM(o);const r=t.oxw(3);return t.KtG(r.valuesVisible=n)}),t.YNc(109,$r,4,1,"ng-template",83),t.TgZ(110,"div",86),t.YNc(111,Qr,2,1,"div",87),t.qZA()(),t.TgZ(112,"pp-failed-tables-modal",88),t.NdJ("visibleChange",function(n){t.CHM(o);const r=t.oxw(3);return t.KtG(r.failedTablesVisible=n)})("closeModal",function(n){t.CHM(o);const r=t.oxw(3);return t.KtG(r.closeModal(n))}),t.qZA()(),t.BQk()}if(2&i){const o=t.MAs(104),e=t.oxw(2).ngIf,n=t.oxw();
1t.xp6(13),t.Oqu(n.formatDashboardCount(n.report.scannedDatabases)),t.xp6(13),t.Oqu(n.formatDashboardCount(n.report.databasesWithSensitiveItems)),t.xp6(13),t.Oqu(n.formatDashboardCount(n.report.scannedColumns)),t.xp6(14),t.Oqu(n.formatDashboardCount(n.report.totalTablesScanned)),t.xp6(15),t.Oqu(n.formatDashboardCount(n.report.failedTableCount)),t.xp6(15),t.Oqu(n.riskChartTotal),t.xp6(4),t.Q6J("ngForOf",n.riskChartRows),t.xp6(1),t.Q6J("ngIf",n.tooltip.show),t.xp6(5),t.Q6J("ngForOf",n.report.topSensitiveItems),t.xp6(3),t.Q6J("options",n.connections)("ngModel",n.selectedConnection)("showClear",!0),t.xp6(1),t.Q6J("showClear",!0)("options",n.categories)("ngModel",n.selectedCategory),t.xp6(1),t.Q6J("showClear",!0)("options",n.tableNames)("ngModel",n.selectedTableName),t.xp6(1),t.Q6J("showClear",!0)("options",n.tableColumns)("ngModel",n.selectedTableColumn),t.xp6(1),t.Q6J("options",n.riskLevels)("ngModel",n.selectedRiskLevel)("showClear",!0),t.xp6(2),t.Q6J("ngIf",n.getSelectedStructuredGroup())("ngIfElse",o),t.xp6(3),t.Akn(t.DdM(43,Yr)),t.Q6J("visible",n.analyseVisible)("modal",!0)("contentStyle",t.DdM(44,Gr))("draggable",!1)("resizable",!1),t.xp6(2),t.Q6J("ngIf",n.analyseColumns.length),t.xp6(1),t.Akn(t.DdM(45,Br)),t.Q6J("visible",n.valuesVisible)("modal",!0)("draggable",!1)("resizable",!1),t.xp6(3),t.Q6J("ngForOf",n.selectedValues),t.xp6(1),t.Q6J("visible",n.failedTablesVisible)("oid",e.oid)}}function Hr(i,s){if(1&i){const o=t.EpF();t.O4$(),t.TgZ(0,"circle",275),t.NdJ("mouseenter",function(n){const a=t.CHM(o).$implicit,c=t.oxw(5);return t.KtG(c.showChartTooltip(n,c.getSourceTooltip(a)))})("mousemove",function(n){t.CHM(o);const r=t.oxw(5);return t.KtG(r.moveChartTooltip(n))})("mouseleave",function(){t.CHM(o);const n=t.oxw(5);return t.KtG(n.hideChartTooltip())}),t.qZA()}if(2&i){const o=s.$implicit,e=s.index,n=t.oxw(5);t.uIk("stroke",o.color)("stroke-dasharray",n.getDonutDashArray(o))("stroke-dashoffset",n.getSourceDonutDashOffset(e))}}function Kr(i,s){if(1&i&&(t.TgZ(0,"div",89)(1,"div",90),t._UZ(2,"
1span",91),t.TgZ(3,"span",92),t._uU(4),t.qZA()(),t.TgZ(5,"span",93),t._uU(6),t.qZA()()),2&i){const o=s.$implicit,e=t.oxw(5);t.xp6(2),t.Udp("background",o.color),t.xp6(2),t.Oqu(o.label),t.xp6(2),t.Oqu(e.formatMetricValue(o.value))}}function Wr(i,s){if(1&i&&(t.TgZ(0,"div",270)(1,"div",59)(2,"div",271),t.O4$(),t.TgZ(3,"svg",272),t._UZ(4,"circle",273),t.YNc(5,Hr,1,3,"circle",274),t.qZA(),t.kcU(),t.TgZ(6,"div",64)(7,"div",65),t._uU(8),t.qZA(),t.TgZ(9,"div",66),t._uU(10,"Total"),t.qZA()()()(),t.TgZ(11,"div",67),t.YNc(12,Kr,7,4,"div",68),t.qZA()()),2&i){const o=t.oxw(4);t.xp6(5),t.Q6J("ngForOf",o.unstructuredSourceTypeChart),t.xp6(3),t.hij(" ",o.formatMetricValue(o.unstructuredSourceTypeTotal)," "),t.xp6(4),t.Q6J("ngForOf",o.unstructuredSourceTypeChart)}}function Xr(i,s){1&i&&(t.TgZ(0,"div",276),t._uU(1,"No source type data available."),t.qZA())}function ti(i,s){if(1&i&&(t.TgZ(0,"div",279)(1,"div",96)(2,"span",97),t._uU(3),t.qZA(),t.TgZ(4,"span",98),t._uU(5),t.qZA()(),t.TgZ(6,"div",99),t._UZ(7,"div",100),t.qZA(),t.TgZ(8,"span",280),t._uU(9),t.qZA()()),2&i){const o=s.$implicit,e=t.oxw(5);t.xp6(3),t.Oqu(o.label),t.xp6(2),t.Oqu(e.formatMetricValue(o.value)),t.xp6(2),t.Udp("width",e.getMetricPercent(o.value,e.getMetricMax(e.unstructuredFileTypeChart)),"%")("background","#384785"),t.xp6(2),t.Oqu(e.getBarTooltip(o))}}function ei(i,s){if(1&i&&(t.TgZ(0,"div",277),t.YNc(1,ti,10,7,"div",278),t.qZA()),2&i){const o=t.oxw(4);t.xp6(1),t.Q6J("ngForOf",o.unstructuredFileTypeChart)}}function ni(i,s){1&i&&(t.TgZ(0,"div",276),t._uU(1,"No file type data available."),t.qZA())}function oi(i,s){if(1&i&&(t.TgZ(0,"div",288)(1,"div",289),t._uU(2),t.qZA(),t._UZ(3,"div",290),t.TgZ(4,"div",291),t._UZ(5,"div",292),t.qZA(),t.TgZ(6,"span",280),t._uU(7),t.qZA()()),2&i){const o=s.$implicit,e=t.oxw(5);t.xp6(2),t.Oqu(o.label),t.xp6(3),t.Udp("width",e.getMetricPercent(o.value,e.getCategoryAxisMax()),"%")("background","#384785"),t.xp6(2),t.Oqu(e.getBarTooltip(o))}}function ri(i,s){if(1&i&&(t.TgZ(0,"span",293),t._uU(1),t.qZA()),2&i){const o=s.$implicit,e=s.first,n=s.last,r=t.oxw(5);t.Udp("left",r.getCategoryTickLeft(o)),t.ekj("dd-category-chart__tick--first",e)("dd-category-chart__tick--last",n),t.xp6(1),t.hij(" ",r.formatMetricValue(o)," ")}}function ii(i,s){if(1&i&&(t.TgZ(0,"div",281)(1,"div",282),t._uU(2,"Data Categories"),t.qZA(),t.TgZ(3,"div",283),t.YNc(4,oi,8,6,"div",284),t.TgZ(5,"div",285),t.YNc(6,ri,2,7,"span",286),t.qZA(),t.TgZ(7,"div",287),t._uU(8,"No. Of Assets"),t.qZA()()()),2&i){const o=t.oxw(4);t.xp6(3),t.Udp("--dd-category-grid-step",o.getCategoryGridStep()),t.xp6(1),t.Q6J("ngForOf",o.unstructuredDataCategoryChart),t.xp6(2),t.Q6J("ngForOf",o.getCategoryAxisTicks())}}function ai(i,s){1&i&&(t.TgZ(0,"div",276),t._uU(1,"No data category data available."),t.qZA())}function si(i,s){if(1&i&&t._UZ(0,"img",302),2&i){const o=t.oxw().$implicit;t.Q6J("src",o.icon,t.LSH)("alt",o.label)}}function ci(i,s){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const o=t.oxw().$implicit;t.xp6(1),t.Oqu(o.label.charAt(0))}}function pi(i,s){if(1&i&&(t.TgZ(0,"div",296)(1,"div",297)(2,"span",298),t.YNc(3,si,1,2,"img",299),t.YNc(4,ci,2,1,"ng-template",null,300,t.W1O),t.qZA(),t.TgZ(6,"span"),t._uU(7),t.qZA()(),t.TgZ(8,"div",301),t._uU(9),t.qZA()()),2&i){const o=s.$implicit,e=t.MAs(5),n=t.oxw(5);t.xp6(2),t.Q6J("ngClass","dd-top-assets__icon--"+o.rawLabel),t.xp6(1),t.Q6J("ngIf",o.icon)("ngIfElse",e),t.xp6(4),t.Oqu(o.label),t.xp6(2),t.Oqu(n.formatMetricValue(o.value))}}function di(i,s){if(1&i&&(t.TgZ(0,"div",294),t.YNc(1,pi,10,5,"div",295),t.qZA()),2&i){const o=t.oxw(4);t.xp6(1),t.Q6J("ngForOf",o.unstructuredTopAssets)}}function li(i,s){1&i&&(t.TgZ(0,"div",276),t._uU(1,"No asset data available."),t.qZA())}function gi(i,s){if(1&i&&(t.TgZ(0,"div",94),t._uU(1),t.qZA()),2&i){const o=t.oxw(4);t.Udp("left",o.chartTooltip.left,"px")("top",o.chartTooltip.top,"px"),t.xp6(1),t.hij(" ",o.chartTooltip.text," ")}}function _i(i,s){1&i&&(t.O4$(),t.TgZ(0,"svg",306),t._UZ(1,"rect",307)(2,"rect",308)(3,"rect",309)(4,"rect",310)(5,"rect",311)(6,"rect",312),t.qZA())}function ui(i,s){if(1&i&&t._UZ(0,"img",313),2&i){const o=t.oxw(),e=o.sourceSystem,n=o.sourceLabel,r=t.oxw(4);t.Q6J("src",r.getStorageSourceIcon(e),t.LSH)("alt",n)}}function mi(i,s){if(1&i&&(t.TgZ(0,"span",303),t.YNc(1,_i,7,0,"svg",304),t.YNc(2,ui,1,2,"img",305),t.qZA()),2&i){const o=s.sourceSystem,e=t.oxw(4);t.xp6(1),t.Q6J("ngIf","s3"===e.getStorageSourceKey(o)),t.xp6(1),t.Q6J("ngIf","s3"!==e.getStorageSourceKey(o))}}function hi(i,s){1&i&&t.GkF(0)}function bi(i,s){if(1&i&&(t.ynx(0),t._uU(1),t.BQk()),2&i){const o=t.oxw().ngIf;t.xp6(1),t.hij(" \xb7 ",o.sourcePathLabel," ")}}function fi(i,s){1&i&&(t.O4$(),t.TgZ(0,"svg",337),t._UZ(1,"path",338)(2,"polyline",339)(3,"line",340)(4,"line",341),t.qZA())}function xi(i,s){1&i&&(t.O4$(),t.TgZ(0,"svg",337),t._UZ(1,"path",338)(2,"polyline",339),t.qZA())}function vi(i,s){1&i&&(t.O4$(),t.TgZ(0,"svg",337),t._UZ(1,"path",338)(2,"polyline",339),t.qZA())}function yi(i,s){1&i&&(t.O4$(),t.TgZ(0,"svg",337),t._UZ(1,"rect",342)(2,"line",343)(3,"line",344),t.qZA())}function wi(i,s){1&i&&(t.O4$(),t.TgZ(0,"svg",337),t._UZ(1,"rect",342)(2,"line",343)(3,"line",344),t.qZA())}function Ci(i,s){1&i&&(t.O4$(),t.TgZ(0,"svg",337),t._UZ(1,"rect",345)(2,"circle",346)(3,"polyline",347),t.qZA())}function Pi(i,s){1&i&&(t.O4$(),t.TgZ(0,"svg",337),t._UZ(1,"rect",345)(2,"circle",346)(3,"polyline",347),t.qZA())}function Mi(i,s){1&i&&(t.O4$(),t.TgZ(0,"svg",337),t._UZ(1,"rect",345)(2,"circle",346)(3,"polyline",347),t.qZA())}function Oi(i,s){1&i&&(t.O4$(),t.TgZ(0,"svg",337),t._UZ(1,"rect",345)(2,"circle",346)(3,"polyline",347),t.qZA())}function Si(i,s){1&i&&(t.O4$(),t.TgZ(0,"svg",337),t._UZ(1,"path",338)(2,"polyline",339)(3,"path",348)(4,"path",349),t.qZA())}function ki(i,s){1&i&&(t.O4$(),t.TgZ(0,"svg",337),t._UZ(1,"path",338)(2,"polyline",339)(3,"path",348)(4,"path",349),t.qZA())}function Ti(i,s){1&i&&(t.O4$(),t.TgZ(0,"svg",337),t._UZ(1,"path",350)(2,"polyline",351),t.qZA())}function Ai(i,s){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const o=t.oxw().$implicit,e=t.oxw(5);t.xp6(1),t.Oqu(e.getStorageFileSizeText(o))}}function Zi(i,s){1&i&&(t.TgZ(0,"span"),t._uU(1,"\xb7"),t.qZA())}function Di(i,s){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const o=t.oxw().$implicit,e=t.oxw(5);t.xp6(1),t.Oqu(e.getStorageFileDateText(o))}}function Fi(i,s){if(1&i&&(t.TgZ(0,"span",354),t._uU(1),t.qZA()),2&i){const o=s.$implicit;t.xp6(1),t.hij(" ",o," ")}}function qi(i,s){if(1&i&&(t.TgZ(0,"div",352),t.YNc(1,Fi,2,1,"span",353),t.qZA()),2&i){const o=t.oxw().$implicit,e=t.oxw(5);t.xp6(1),t.Q6J("ngForOf",e.getStorageVisibleCategories(o,5))}}function Li(i,s){1&i&&(t.TgZ(0,"span",330),t._uU(1,"--"),t.qZA())}
1function Ni(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"tr")(1,"td")(2,"div",322)(3,"div",323),t.ynx(4,324),t.YNc(5,fi,5,0,"svg",325),t.YNc(6,xi,3,0,"svg",325),t.YNc(7,vi,3,0,"svg",325),t.YNc(8,yi,4,0,"svg",325),t.YNc(9,wi,4,0,"svg",325),t.YNc(10,Ci,4,0,"svg",325),t.YNc(11,Pi,4,0,"svg",325),t.YNc(12,Mi,4,0,"svg",325),t.YNc(13,Oi,4,0,"svg",325),t.YNc(14,Si,5,0,"svg",325),t.YNc(15,ki,5,0,"svg",325),t.YNc(16,Ti,3,0,"svg",326),t.BQk(),t.qZA(),t.TgZ(17,"div",327)(18,"div",328)(19,"span",329),t._uU(20),t.qZA(),t.TgZ(21,"span",166),t._uU(22),t.qZA()(),t.TgZ(23,"div",330),t.YNc(24,Ai,2,1,"span",0),t.YNc(25,Zi,2,0,"span",0),t.YNc(26,Di,2,1,"span",0),t.qZA()()()(),t.TgZ(27,"td"),t._uU(28),t.ALo(29,"uppercase"),t.qZA(),t.TgZ(30,"td")(31,"div",164)(32,"span",165),t._uU(33),t.qZA(),t.TgZ(34,"span",166),t._uU(35),t.qZA()()(),t.TgZ(36,"td"),t.YNc(37,qi,2,1,"div",331),t.YNc(38,Li,2,0,"ng-template",null,332,t.W1O),t.qZA(),t.TgZ(40,"td",333)(41,"div",334),t._UZ(42,"span",335),t.TgZ(43,"span"),t._uU(44),t.qZA()()(),t.TgZ(45,"td"),t._uU(46),t.qZA(),t.TgZ(47,"td"),t._uU(48),t.qZA(),t.TgZ(49,"td",170)(50,"span",178)(51,"button",336),t.NdJ("click",function(n){const a=t.CHM(o).$implicit,c=t.oxw(5);return t.KtG(c.viewFile(a,n))}),t._UZ(52,"i",110),t.qZA(),t.TgZ(53,"span",166),t._uU(54,"Analyse"),t.qZA()()()()}if(2&i){const o=s.$implicit,e=t.MAs(39),n=t.oxw(5);t.xp6(3),t.Udp("background",n.getFileIconBg(o.file_type))("color",n.getFileIconColor(o.file_type)),t.xp6(1),t.Q6J("ngSwitch",o.file_type),t.xp6(1),t.Q6J("ngSwitchCase","pdf"),t.xp6(1),t.Q6J("ngSwitchCase","docx"),t.xp6(1),t.Q6J("ngSwitchCase","doc"),t.xp6(1),t.Q6J("ngSwitchCase","pptx"),t.xp6(1),t.Q6J("ngSwitchCase","ppt"),t.xp6(1),t.Q6J("ngSwitchCase","jpeg"),t.xp6(1),t.Q6J("ngSwitchCase","jpg"),t.xp6(1),t.Q6J("ngSwitchCase","png"),t.xp6(1),t.Q6J("ngSwitchCase","gif"),t.xp6(1),t.Q6J("ngSwitchCase","xlsx"),t.xp6(1),t.Q6J("ngSwitchCase","xls"),t.xp6(5),t.hij(" ",n.getStorageFileName(o)," "),t.xp6(2),t.hij(" ",n.getStorageFileName(o)," "),t.xp6(2),t.Q6J("ngIf",n.getStorageFileSizeText(o)),t.xp6(1),t.Q6J("ngIf",n.getStorageFileSizeText(o)&&n.getStorageFileDateText(o)),t.xp6(1),t.Q6J("ngIf",n.getStorageFileDateText(o)),t.xp6(2),t.Oqu(t.lcZ(29,33,o.file_type||"--")),t.xp6(5),t.hij(" ",n.getStorageContainerSource(o)," "),t.xp6(2),t.hij(" ",n.getStorageContainerSource(o)," "),t.xp6(2),t.Q6J("ngIf",n.getStorageFileCategories(o).length)("ngIfElse",e),t.xp6(5),t.Udp("background",n.getRiskColor(n.getStorageFileRiskLevel(o))),t.xp6(2),t.hij("",n.riskLabel(n.getStorageFileRiskLevel(o))," Risk"),t.xp6(2),t.Oqu(n.getStorageFileFindingsCount(o)),t.xp6(2),t.Oqu(n.getStorageFileDateText(o)||"--"),t.xp6(3),t.Q6J("disabled",!!n.evidencePreviewLoadingResourceId),t.xp6(1),t.Q6J("ngClass",n.evidencePreviewLoadingResourceId===o.resource_id?"pi-spinner pi-spin":"pi-eye")}}function Ii(i,s){1&i&&(t.TgZ(0,"tr")(1,"td",355),t._uU(2," No files match the current filters. "),t.qZA()())}function Ji(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"button",183),t.NdJ("click",function(){const r=t.CHM(o).$implicit,a=t.oxw(5);return t.KtG(a.goToSelectedStorageSourcePage(r))}),t._uU(1),t.qZA()}if(2&i){const o=s.$implicit,e=t.oxw(5);t.ekj("is-active",o===e.selectedStorageSourcePage),t.xp6(1),t.hij(" ",o," ")}}const St=function(i,s){return{sourceSystem:i,sourceLabel:s}};function Ui(i,s){if(1&i){const o=t.EpF();t.ynx(0),t.TgZ(1,"div",314)(2,"div",315)(3,"div",316)(4,"button",104),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(4);return t.KtG(n.closeStorageSourceDetailView())}),t._uU(5," \u2190 Back to Connections "),t.qZA(),t.TgZ(6,"div",317),t._uU(7),t.qZA()(),t.TgZ(8,"div",106),t.YNc(9,hi,1,0,"ng-container",318),t.TgZ(10,"span"),t._uU(11),t.qZA()(),t.TgZ(12,"div",319),t._uU(13),t.YNc(14,bi,2,1,"ng-container",0),t.qZA()()(),t.TgZ(15,"div",115)(16,"div",320)(17,"table",321)(18,"thead")(19,"tr")(20,"th"),t._uU(21,"File Name"),t.qZA(),t.TgZ(22,"th"),t._uU(23,"File Type"),t.qZA(),t.TgZ(24,"th"),t._uU(25,"Container / Source"),t.qZA(),t.TgZ(26,"th"),t._uU(27,"Top Entities Found"),t.qZA(),t.TgZ(28,"th"),t._uU(29,"Risk Level"),t.qZA(),t.TgZ(30,"th"),t._uU(31,"Unique Findings"),t.qZA(),t.TgZ(32,"th"),t._uU(33,"Scanned At"),t.qZA(),t.TgZ(34,"th",162),t._uU(35,"Action"),t.qZA()()(),t.TgZ(36,"tbody"),t.YNc(37,Ni,55,35,"tr",163),t.YNc(38,Ii,3,0,"tr",0),t.qZA()()(),t.TgZ(39,"div",130)(40,"div",131),t._uU(41),t.qZA(),t.TgZ(42,"div",132)(43,"button",133),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(4);return t.KtG(n.goToSelectedStorageSourcePage(n.selectedStorageSourcePage-1))}),t._UZ(44,"i",134),t.qZA(),t.YNc(45,Ji,2,3,"button",135),t.TgZ(46,"button",133),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(4);return t.KtG(n.goToSelectedStorageSourcePage(n.selectedStorageSourcePage+1))}),t._UZ(47,"i",136),t.qZA()()()(),t.BQk()}if(2&i){const o=s.ngIf;t.oxw();const e=t.MAs(82),n=t.oxw(3);t.xp6(7),t.HOy(" SHOWING ",n.selectedStorageSourcePageFirst,"-",n.selectedStorageSourcePageEnd," OF ",n.selectedStorageSourceTotalRecords," FILES \xb7 ",o.totalFindings," FINDINGS SHOWN "),t.xp6(2),t.Q6J("ngTemplateOutlet",e)("ngTemplateOutletContext",t.WLB(17,St,o.sourceSystem,o.sourceLabel)),t.xp6(2),t.Oqu(o.sourceLabel),t.xp6(2),t.AsE(" ",o.totalFiles," ",1===o.totalFiles?"File":"Files"," "),t.xp6(1),t.Q6J("ngIf",o.sourcePathLabel&&"No source path"!==o.sourcePathLabel&&"/"!==o.sourcePathLabel),t.xp6(23),t.Q6J("ngForOf",n.getSelectedStorageSourceFiles()),t.xp6(1),t.Q6J("ngIf",!n.getSelectedStorageSourceFiles().length),t.xp6(3),t.AsE(" Page ",n.selectedStorageSourcePage," of ",n.selectedStorageSourceTotalPages," "),t.xp6(2),t.Q6J("disabled",1===n.selectedStorageSourcePage),t.xp6(2),t.Q6J("ngForOf",n.selectedStorageSourceVisiblePages),t.xp6(1),t.Q6J("disabled",n.selectedStorageSourcePage===n.selectedStorageSourceTotalPages)}}function Ri(i,s){1&i&&t.GkF(0)}function Ei(i,s){if(1&i&&(t.TgZ(0,"span",155),t._uU(1),t.qZA()),2&i){const o=s.$implicit,e=t.oxw(7
1);t.xp6(1),t.hij(" ",e.getStructuredCategoryBadgeLabel(o)," ")}}function zi(i,s){if(1&i&&(t.TgZ(0,"span",156),t._uU(1),t.qZA()),2&i){const o=t.oxw().$implicit;t.xp6(1),t.hij(" +",o.remainingCategoryCount," ")}}function ji(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",364)(1,"div",191),t.NdJ("click",function(){const r=t.CHM(o).$implicit,a=t.oxw(6);return t.KtG(a.toggleStorageSourceGroup(r.id))})("keydown",function(n){const a=t.CHM(o).$implicit,c=t.oxw(6);return t.KtG(c.onStorageSourceGroupKeydown(n,a.id))}),t.TgZ(2,"button",139),t._UZ(3,"i",136),t.qZA(),t.TgZ(4,"div",365)(5,"div",366),t.YNc(6,Ri,1,0,"ng-container",318),t.TgZ(7,"div")(8,"div",148),t._uU(9),t.qZA(),t.TgZ(10,"div",193),t._uU(11),t.qZA()()()(),t.TgZ(12,"div",149),t.YNc(13,Ei,2,1,"span",150),t.YNc(14,zi,2,1,"span",151),t.qZA(),t.TgZ(15,"div",152)(16,"div",153),t._uU(17),t.qZA()()()()}if(2&i){const o=s.$implicit;t.oxw(3);const e=t.MAs(82);t.xp6(6),t.Q6J("ngTemplateOutlet",e)("ngTemplateOutletContext",t.WLB(9,St,o.sourceSystem,o.sourceLabel)),t.xp6(3),t.Oqu(o.sourceLabel),t.xp6(2),t.AsE(" ",o.totalFiles," ",1===o.totalFiles?"File":"Files"," "),t.xp6(2),t.Q6J("ngForOf",o.visibleCategories),t.xp6(1),t.Q6J("ngIf",o.remainingCategoryCount>0),t.xp6(3),t.AsE(" ",o.totalFindings," ",1===o.totalFindings?"Finding":"Findings"," ")}}function $i(i,s){if(1&i&&(t.TgZ(0,"div"),t.YNc(1,ji,18,12,"div",363),t.qZA()),2&i){const o=t.oxw(5);t.xp6(1),t.Q6J("ngForOf",o.pagedStorageSourceGroups)}}function Qi(i,s){1&i&&(t.TgZ(0,"div",367),t._uU(1," No source groups found. "),t.qZA())}function Yi(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"button",183),t.NdJ("click",function(){const r=t.CHM(o).$implicit,a=t.oxw(5);return t.KtG(a.goToStoragePage(r))}),t._uU(1),t.qZA()}if(2&i){const o=s.$implicit,e=t.oxw(5);t.ekj("is-active",o===e.storageCurrentPage),t.xp6(1),t.hij(" ",o," ")}}function Gi(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",356)(1,"div",207)(2,"span",357),t._uU(3,"Files with Findings"),t.qZA(),t.TgZ(4,"span",358),t._uU(5),t.qZA()(),t.TgZ(6,"div",207)(7,"span",359),t._uU(8,"Group by:"),t.qZA(),t.TgZ(9,"span",360),t._uU(10,"Source"),t.qZA()()(),t.YNc(11,$i,2,1,"div",80),t.YNc(12,Qi,2,0,"ng-template",null,361,t.W1O),t.TgZ(14,"div",362)(15,"div",131),t._uU(16),t.qZA(),t.TgZ(17,"div",132)(18,"button",133),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(4);return t.KtG(n.goToStoragePage(n.storageCurrentPage-1))}),t._UZ(19,"i",134),t.qZA(),t.YNc(20,Yi,2,3,"button",135),t.TgZ(21,"button",133),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(4);return t.KtG(n.goToStoragePage(n.storageCurrentPage+1))}),t._UZ(22,"i",136),t.qZA()()()}if(2&i){const o=t.MAs(13),e=t.oxw(4);t.xp6(5),t.lnq(" ",e.storageShowingCount," sources \xb7 ",e.storageShownFilesCount," files \xb7 ",e.storageFilesTotalFindings," findings shown "),t.xp6(6),t.Q6J("ngIf",e.pagedStorageSourceGroups.length)("ngIfElse",o),t.xp6(5),t.AsE(" Page ",e.storageCurrentPage," of ",e.storageTotalPages," "),t.xp6(2),t.Q6J("disabled",1===e.storageCurrentPage),t.xp6(2),t.Q6J("ngForOf",e.storageVisiblePages),t.xp6(1),t.Q6J("disabled",e.storageCurrentPage===e.storageTotalPages)}}function Bi(i,s){if(1&i&&(t.TgZ(0,"tr")(1,"td")(2,"span",370),t._uU(3),t.qZA()(),t.TgZ(4,"td")(5,"div",371),t._uU(6),t.qZA()(),t.TgZ(7,"td"),t._uU(8),t.qZA()()),2&i){const o=s.$implicit;t.xp6(3),t.hij(" ",null!=o.matched_value?o.matched_value:"--"," "),t.xp6(3),t.hij(" ",null!=o.snippet?o.snippet:"--"," "),t.xp6(2),t.hij(" ",null!=o.entity_type?o.entity_type:"--"," ")}}function Vi(i,s){if(1&i&&(t.TgZ(0,"div",368)(1,"table",369)(2,"thead")(3,"tr")(4,"th"),t._uU(5,"Matched Value"),t.qZA(),t.TgZ(6,"th"),t._uU(7,"Snippet"),t.qZA(),t.TgZ(8,"th"),t._uU(9,"Entity Type"),t.qZA()()(),t.TgZ(10,"tbody"),t.YNc(11,Bi,9,3,"tr",163),t.qZA()()()),2&i){const o=t.oxw(4);t.xp6(11),t.Q6J("ngForOf",o.evidencePreviewRows)}}function Hi(i,s){1&i&&(t.TgZ(0,"div",127),t._uU(1," No evidence records found for this file. "),t.qZA())}function Ki(i,s){1&i&&t._UZ(0,"i",372)}const Wi=function(){return{width:"720px",maxWidth:"92vw"}},Xi=function(){return{padding:"0",overflow:"hidden"}};
1function ta(i,s){if(1&i){const o=t.EpF();t.ynx(0),t.TgZ(1,"div",219)(2,"div",220)(3,"div",221)(4,"span",222),t.O4$(),t.TgZ(5,"svg",28),t._UZ(6,"path",223)(7,"path",224),t.qZA()(),t.kcU(),t.TgZ(8,"div",225),t._uU(9,"Sources"),t.qZA(),t.TgZ(10,"div",226),t._uU(11),t.qZA()(),t.TgZ(12,"div",221)(13,"span",222),t.O4$(),t.TgZ(14,"svg",28),t._UZ(15,"path",227)(16,"path",228)(17,"path",229)(18,"path",230),t.qZA()(),t.kcU(),t.TgZ(19,"div",225),t._uU(20,"Total Documents"),t.qZA(),t.TgZ(21,"div",226),t._uU(22),t.qZA()(),t.TgZ(23,"div",221)(24,"span",222),t.O4$(),t.TgZ(25,"svg",28),t._UZ(26,"path",231)(27,"path",232)(28,"circle",233),t.qZA()(),t.kcU(),t.TgZ(29,"div",225),t._uU(30,"Categories Identified"),t.qZA(),t.TgZ(31,"div",226),t._uU(32),t.qZA()(),t.TgZ(33,"div",221)(34,"span",222),t.O4$(),t.TgZ(35,"svg",28),t._UZ(36,"path",227)(37,"path",228)(38,"path",234),t.qZA()(),t.kcU(),t.TgZ(39,"div",225),t._uU(40,"No. Of Sensitive Files"),t.qZA(),t.TgZ(41,"div",226),t._uU(42),t.qZA()()(),t.TgZ(43,"div",235)(44,"section",236)(45,"div",237),t._uU(46,"Count By Source Type"),t.qZA(),t.YNc(47,Wr,13,3,"div",238),t.YNc(48,Xr,2,0,"ng-template",null,239,t.W1O),t.qZA(),t.TgZ(50,"section",236)(51,"div",237)(52,"span"),t._uU(53,"Count By File Type"),t.qZA(),t.TgZ(54,"span",240),t._UZ(55,"span",241),t._uU(56),t.qZA()(),t.YNc(57,ei,2,1,"div",242),t.YNc(58,ni,2,0,"ng-template",null,243,t.W1O),t.qZA(),t.TgZ(60,"section",236)(61,"div",237),t._uU(62,"Count By Data Category"),t.qZA(),t.YNc(63,ii,9,4,"div",244),t.YNc(64,ai,2,0,"ng-template",null,245,t.W1O),t.qZA(),t.TgZ(66,"section",236)(67,"div",237),t._uU(68,"Top 10 Assets"),t.qZA(),t.YNc(69,di,2,1,"div",246),t.YNc(70,li,2,0,"ng-template",null,247,t.W1O),t.qZA()(),t.YNc(72,gi,2,5,"div",69),t.qZA(),t.TgZ(73,"div",72)(74,"div",248)(75,"p-dropdown",249),t.NdJ("ngModelChange",function(n){t.CHM(o);const r=t.oxw(3);return t.KtG(r.storageFilters.category=n)})("onChange",function(){t.CHM(o);const n=t.oxw(3);return t.KtG(n.onStorageFilterChange())}),t.qZA(),t.TgZ(76,"p-dropdown",250),t.NdJ("ngModelChange",function(n){t.CHM(o);const r=t.oxw(3);return t.KtG(r.storageFilters.risk_level=n)})("onChange",function(){t.CHM(o);const n=t.oxw(3);return t.KtG(n.onStorageFilterChange())}),t.qZA(),t.TgZ(77,"p-dropdown",251),t.NdJ("ngModelChange",function(n){t.CHM(o);const r=t.oxw(3);return t.KtG(r.storageFilters.source_name=n)})("onChange",function(){t.CHM(o);const n=t.oxw(3);return t.KtG(n.onStorageFilterChange())}),t.qZA(),t.TgZ(78,"p-dropdown",252),t.NdJ("ngModelChange",function(n){t.CHM(o);const r=t.oxw(3);return t.KtG(r.storageFilters.entity_type=n)})("onChange",function(){t.CHM(o);const n=t.oxw(3);return t.KtG(n.onStorageFilterChange())}),t.qZA(),t.TgZ(79,"p-dropdown",253),t.NdJ("ngModelChange",function(n){t.CHM(o);const r=t.oxw(3);return t.KtG(r.storageFilters.source_system=n)})("onChange",function(){t.CHM(o);const n=t.oxw(3);return t.KtG(n.onStorageFilterChange())}),t.qZA()()(),t.TgZ(80,"div",79),t.YNc(81,mi,3,2,"ng-template",null,254,t.W1O),t.YNc(83,Ui,48,20,"ng-container",80),t.YNc(84,Gi,23,10,"ng-template",null,255,t.W1O),t.qZA(),t.TgZ(86,"p-dialog",256),t.NdJ("visibleChange",function(n){t.CHM(o);const r=t.oxw(3);return t.KtG(r.evidencePreviewVisible=n)})("onHide",function(){t.CHM(o);const n=t.oxw(3);return t.KtG(n.closeEvidencePreview())}),t.TgZ(87,"div",257)(88,"div",258)(89,"div",259)(90,"div",260),t._uU(91,"Evidence Preview"),t.qZA(),t.TgZ(92,"div",261),t._uU(93),t.qZA()(),t.TgZ(94,"button",262),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(3);return t.KtG(n.closeEvidencePreview())}),t._UZ(95,"i",177),t.qZA()(),t.TgZ(96,"div",263),t.YNc(97,Vi,12,1,"div",264),t.YNc(98,Hi,2,0,"ng-template",null,265,t.W1O),t.qZA(),t.TgZ(100,"div",266)(101,"button",267),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(3);return t.KtG(n.closeEvidencePreview())}),t._uU(102," Close "),t.qZA(),t.TgZ(103,"button",268),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(3);return t.KtG(n.openEvidencePreviewFile())}),t.YNc(104,Ki,1,0,"i",269),t.TgZ(105,"span"),t._uU(106),t.qZA()()()()(),t.BQk()}if(2&i){const o=t.MAs(49),e=t.MAs(59),n=t.MAs(65),r=t.MAs(71),a=t.MAs(85),c=t.MAs(99),p=t.oxw(3);t.xp6(11),t.Oqu(p.formatMetricValue(p.unstructuredSourcesCount)),t.xp6(11),t.Oqu(p.formatMetricValue(p.unstructuredTotalDocuments)),t.xp6(10),t.Oqu(p.formatMetricValue(p.unstructuredCategoriesCount)),t.xp6(10),t.Oqu(p.formatMetricValue(p.unstructuredSensitiveFiles)),t.xp6(5),t.Q6J("ngIf",p.unstructuredSourceTypeChart.length)("ngIfElse",o),t.xp6(9),t.hij(" Total Files ",p.formatMetricValue(p.unstructuredFileTypeTotal)," "),t.xp6(1),t.Q6J("ngIf",p.unstructuredFileTypeChart.length)("ngIfElse",e),t.xp6(6),t.Q6J("ngIf",p.unstructuredDataCategoryChart.length)("ngIfElse",n),t.xp6(6),t.Q6J("ngIf",p.unstructuredTopAssets.length)("ngIfElse",r),t.xp6(3),t.Q6J("ngIf",p.chartTooltip.show),t.xp6(3),t.Q6J("options",p.storageCategories)("ngModel",p.storageFilters.category)("showClear",!0),t.xp6(1),t.Q6J("options",p.riskLevels)("ngModel",p.storageFilters.risk_level)("showClear",!0),t.xp6(1),t.Q6J("options",p.storageSourceNames)("ngModel",p.storageFilters.source_name)("showClear",!0),t.xp6(1),t.Q6J("options",p.storageEntityTypes)("ngModel",p.storageFilters.entity_type)("showClear",!0),t.xp6(1),t.Q6J("options",p.storageSourceSystems)("ngModel",p.storageFilters.source_system)("showClear",!0),t.xp6(4),t.Q6J("ngIf",p.getSelectedStorageSourceGroup())("ngIfElse",a),t.xp6(3),t.Akn(t.DdM(48,Wi)),t.Q6J("visible",p.evidencePreviewVisible)("modal",!0)("showHeader",!1)("closable",!1)("dismissableMask",!0)("baseZIndex",1e3)("contentStyle",t.DdM(49,Xi))("draggable",!1)("resizable",!1),t.xp6(7),t.hij(" ",p.getEvidencePreviewFileName()," "),t.xp6(4),t.Q6J("ngIf",p.evidencePreviewRows.length)("ngIfElse",c),t.xp6(6),t.Q6J("disabled",!p.evidencePreviewResourceId||p.evidencePreviewFileLoading),t.xp6(1),t.Q6J("ngIf",p.evidencePreviewFileLoading),t.xp6(2),t.Oqu(p.evidencePreviewFileLoading?"Loading...":"
1View File")}}function ea(i,s){if(1&i&&(t.TgZ(0,"div",21),t.YNc(1,Vr,113,46,"ng-container",0),t.YNc(2,ta,107,50,"ng-container",0),t._UZ(3,"p-toast",22),t.qZA()),2&i){const o=t.oxw(2);t.xp6(1),t.Q6J("ngIf","structured"===o.activeTab),t.xp6(1),t.Q6J("ngIf","unstructured"===o.activeTab),t.xp6(1),t.Q6J("baseZIndex",10000001)}}function na(i,s){1&i&&(t.TgZ(0,"div",373),t._UZ(1,"mat-spinner",374),t.qZA()),2&i&&(t.xp6(1),t.Q6J("strokeWidth",4))}const oa=function(i,s){return{oid:i,pid:s}};function ra(i,s){if(1&i&&(t.TgZ(0,"div"),t.YNc(1,Vo,5,1,"div",1),t.YNc(2,Ho,5,1,"div",2),t.TgZ(3,"div",3)(4,"div",4)(5,"div")(6,"nav",5)(7,"ol",6)(8,"li",7)(9,"a",8),t._uU(10,"Home"),t.qZA()(),t.TgZ(11,"li",9),t._uU(12,"Report"),t.qZA()()()()()(),t.YNc(13,Ko,9,4,"div",10),t.ALo(14,"async"),t.YNc(15,ea,4,3,"div",11),t.ALo(16,"async"),t.YNc(17,na,2,1,"ng-template",null,12,t.W1O),t.qZA()),2&i){const o=s.ngIf,e=t.MAs(18),n=t.oxw();t.xp6(1),t.Q6J("ngIf",n.deleteSuccessMessage),t.xp6(1),t.Q6J("ngIf",n.saveSuccessMessage),t.xp6(7),t.Q6J("queryParams",t.WLB(10,oa,o.oid,o.pid)),t.xp6(4),t.Q6J("ngIf",t.lcZ(14,6,o.initialLoad)),t.xp6(2),t.Q6J("ngIf",t.lcZ(16,8,o.initialLoad))("ngIfElse",e)}}let ia=(()=>{const s=class{get storagePageFirst(){return this.storageFirst}get storagePageEnd(){return this.pagedStorageSourceGroups.length?Math.min(this.storagePageFirst+this.pagedStorageSourceGroups.length,this.storageTotalRecords):0}get storageCurrentPage(){return Math.floor(this.storageFirst/this.storagePageSize)+1}get storageVisiblePages(){let n=Math.max(1,this.storageCurrentPage-1),r=Math.min(this.storageTotalPages,n+3-1);return n=Math.max(1,r-3+1),Array.from({length:r-n+1},(a,c)=>n+c)}get storageFilesTotalFindings(){return this.filteredStorageSourceGroups.reduce((e,n)=>e+n.totalFindings,0)}get storageShowingCount(){return this.filteredStorageSourceGroups.length}get storageTotalRecords(){return this.toNumber(this.storageReport?.total)||this.filteredStorageSourceGroups.length}get storageShownFilesCount(){return this.filteredStorageSourceGroups.reduce((e,n)=>e+this.getVisibleStorageSourceFiles(n).length,0)}constructor(e,n){this.svc=e,this.messageService=n,this.stateObs$=this.svc.getStateObs(),this.activeTab="structured",this.categories=[],this.connections=[],this.tableColumns=[],this.tableNames=[],this.riskLevels=[{label:"Very High",value:4},{label:"High",value:3},{label:"Medium",value:2},{label:"Low",value:1}],this.selectedCategory=null,this.selectedConnection=null,this.selectedTableName=null,this.selectedTableColumn=null,this.selectedRiskLevel=null,this.exportingCsv=!1,this.columns=[{field:"data_discovery_connection_id",header:"Connection Name"},{field:"system_type",header:"Connection Type"},{field:"database_name",header:"Database"},{field:"table_name",header:"Table"},{field:"table_column_name",header:"Column"},{field:"category",header:"Category"},{field:"classification",header:"Classification"},{field:"risk_level",header:"Risk"},{field:"created_at",header:"Created"}],this.records=[],this.totalRecords=0,this.loading=!1,this.page=1,this.limit=10,this.structuredBaseGroups=[],this.structuredFilteredGroups=[],this.pagedStructuredGroups=[],this.expandedStructuredGroupId=null,this.structuredCurrentPage=1,this.structuredPageSize=10,this.structuredTotalRecords=0,this.structuredTotalPagesFromApi=1,this.structuredDetailState=new Map,this.expandedStructuredTableId=null,this.editingStructuredReportId=null,this.savingStructuredReportId=null,this.editingStructuredReport={category:"",riskLevel:0},this.structuredFilterReportsByConnectionId=new Map,this.scanJobsBySystem=[],this.structuredDashboardLoading=!0,this.unstructuredDashboardSummary=null,this.unstructuredDashboardStats=null,this.unstructuredSourceTypeChart=[],this.unstructuredFileTypeChart=[],this.unstructuredDataCategoryChart=[],this.unstructuredTopAssets=[],this.unstructuredRecords=[],this.unstructuredOriginalRecords=[],this.unstructuredMeta={limit:10,page:1,total:0,totalPages:0},this.unstructuredFilters={category:null,confidence:null,risk_level:null,source_name:null,entity_type:null,source_system:null}
1,this.unstructuredCategories=[],this.unstructuredConfidences=[],this.unstructuredSourceNames=[],this.unstructuredEntityTypes=[],this.unstructuredSourceSystems=[],this.unstructuredFirst=0,this.unstructuredRows=10,this.displayedUnstructuredRecords=[],this.storageReport=null,this.storageSourceGroups=[],this.filteredStorageSourceGroups=[],this.pagedStorageSourceGroups=[],this.expandedStorageSourceId=null,this.selectedStorageSourcePage=1,this.storageVisibleFilesByGroupId=new Map,this.allStorageFiles=[],this.storageFilters={category:null,confidence:null,risk_level:null,source_name:null,entity_type:null,source_system:null},this.storageCategories=[],this.storageConfidences=[],this.storageSourceNames=[],this.storageEntityTypes=[],this.storageSourceSystems=[],this.findingEntityTypeOptions=["CREDIT_CARD","IBAN_CODE","US_BANK_NUMBER","UK_NINO","ES_NIF","ES_NIE","IT_FISCAL_CODE","PL_PESEL","SG_NRIC_FIN","AU_TFN","US_ITIN","US_SSN","EMAIL_ADDRESS","PHONE_NUMBER","PERSON","IP_ADDRESS","URL","MAC_ADDRESS","LOCATION","GEO_LOCATION","MEDICAL_LICENSE","UK_NHS","AU_MEDICARE","FI_PERSONAL_IDENTITY_CODE","US_DRIVER_LICENSE","IN_VEHICLE_REGISTRATION","IN_VOTER","IN_PASSPORT","US_PASSPORT","IT_PASSPORT","IT_IDENTITY_CARD","IN_PAN","IN_AADHAAR","NRP","CRYPTO"].map(r=>({label:r,value:r})),this.findingCategoryOptions=["DemographicInformation","EmploymentInformation","EmployeeSensitiveInformation","GovernmentID_AddressProof","GovernmentID_IdentityProof","ContactInformation","PaymentInformation","FinancialBehaviour","RegulatoryDeclarations","BiometricData","OnlineIdentifiers","RiskProfile","SensitiveInformation","MedicalInformation","CustomerFeedback","CriminalHistory","DigitalFootprints","NonPersonal"].map(r=>({label:r,value:r})),this.editingFindingId=null,this.editingFindingModel={entity_type:"",category:""},this.savingFindingId=null,this.deletingFindingId=null,this.deleteSuccessMessage=null,this.saveSuccessMessage=null,this.storageFirst=0,this.storagePageSize=20,this.storageTotalPages=1,this.storageDetailPageSize=10,this.resizeObserver=null,this.subscriptions=[],this.scanJobsSkeletonMinDurationMs=4500,this.unstructuredChartColors=["#5B7CFA","#34C38F","#F4B740","#EE6B73","#A8B3C2","#1F2A44"],this.scanJobsLoadStartedAt=Date.now(),this.scanJobsLoadingTimeout=null,this.riskChartInnerRadiusRatio=.84,this.riskChartRenderFrame=null,this.observedRiskChartCanvas=null,this.onRiskChartMouseMove=r=>this.onCanvasMouseMove(r),this.onRiskChartMouseLeave=()=>{this.tooltip.show=!1},this.pieSlices=[],this.tooltip={show:!0,text:"",left:0,top:0},this.chartTooltip={show:!1,text:"",left:0,top:0},this.quickSearch="",this.failedTablesVisible=!1,this.analyseVisible=!1,this.analyseColumns=[],this.analyseRows=[],this.analyseLoadingRowId=null,this.valuesVisible=!1,this.selectedValues=[],this.selectedColumnName="",this.evidencePreviewVisible=!1,this.evidencePreviewLoadingResourceId=null,this.evidencePreviewResourceId=null,this.evidencePreviewPodConnectionId=null,this.evidencePreviewIsPodResource=!1,this.evidencePreviewFileLoading=!1,this.evidencePreviewData=null,this.evidencePreviewFileName="",this.structuredBadgeLimit=3,this.structuredDetailSkeletonRows=Array.from({length:6}),this.structuredDetailSkeletonColumns=Array.from({length:4})}ngOnInit(){this.svc.reportLoadStarted$.subscribe(()=>{this.scanJobsLoadStartedAt=Date.now(),this.scanJobsLoadingTimeout&&(clearTimeout(this.scanJobsLoadingTimeout),this.scanJobsLoadingTimeout=null),this.structuredDashboardLoading=!0,this.scanJobsBySystem=[]}),this.svc.reportDetails$.subscribe(e=>{let n=[];e.dashboardSummary&&(this.report={scannedDatabases:e.dashboardSummary.total_databases,databasesWithSensitiveItems:e.dashboardSummary.databases_with_pii,scannedColumns:e.dashboardSummary.total_columns,columnsWithSensitiveItems:e.dashboardSummary.columns_with_pii,failedTableCount:e.dashboardSummary.failed_table_count,totalTablesScanned:e.dashboardSummary.total_tables_scanned,riskSummary:this.convertRiskLevel(e),topSensitiveItems:e.topCategories&&0==e.topCategories.length?[]:(e.topCategories||[]).map((r,a)=>({name:r.name,count:r.count,color:this.getStructuredCategoryColor(r.name,a)}))},n=this.extractScanJobsBySystem(e),n.length&&(this.scanJobsBySystem=n)),this.records=Array.isArray(e?.data)?e.data:[],this.totalRecords=this.toNumber(e?.total)>0?this.toNumber(e.total):this.records.length,this.page=this.toNumber(e?.page)>0?this.toNumber(e.page):1,this.limit=this.toNumber(e?.limit)>0?this.toNumber(e.limit):this.limit,this.syncStructuredAccordionData(e),e&&this.completeScanJobsLoading(n.length>0),this.applyUnstructuredDashboardStats(e),e.unstructuredData&&(this.unstructuredOriginalRecords=e.unstructuredData.data||[],this.buildUnstru
1cturedFilterOptions(this.unstructuredOriginalRecords),this.applyUnstructuredFilters(),this.unstructuredMeta={total:e.unstructuredData.total||e.unstructuredData.count||0,page:e.unstructuredData.page||1,limit:e.unstructuredData.limit||this.unstructuredMeta.limit,totalPages:e.unstructuredData.totalPages||e.unstructuredData.total_pages||0},this.updateUnstructuredPageView()),e.storageGroups&&this.syncStorageSourceGroups(e.storageGroups),this.scheduleRiskChartRender()}),this.svc.init()}switchTab(e){this.activeTab=e,"structured"!==e?(this.tooltip.show=!1,this.detachRiskChartBindings()):this.scheduleRiskChartRender()}syncStructuredAccordionData(e){const n=Object.prototype.hasOwnProperty.call(e||{},"structuredSummary"),r=this.buildStructuredGroupsFromNestedRows(Array.isArray(e?.data)?e.data:[],!1),a=r.length?[]:this.buildStructuredGroupsFromFlatRows(Array.isArray(e?.data)?e.data:this.records,!1),c=r.length?r:a;this.structuredFilterReportsByConnectionId=new Map,c.forEach(d=>{const l=this.structuredFilterReportsByConnectionId.get(d.connectionId)||[];this.structuredFilterReportsByConnectionId.set(d.connectionId,l.concat(d.reports||[]))});const p=Array.isArray(e?.structuredSummary?.connections)?e.structuredSummary.connections:[];this.structuredBaseGroups=[],this.structuredFilteredGroups=[],this.pagedStructuredGroups=[],this.structuredBaseGroups=n?this.buildStructuredSummaryGroups(p):this.buildStructuredSummaryGroupsFromDetailGroups(c),this.setStructuredFilterOptions(c,this.structuredBaseGroups),this.structuredCurrentPage=n?Math.max(1,this.toNumber(e?.structuredSummary?.page)||1):this.toNumber(e?.page)>0?this.toNumber(e.page):1,this.structuredPageSize=n?Math.max(1,this.toNumber(e?.structuredSummary?.limit)||this.structuredPageSize):this.toNumber(e?.limit)>0?this.toNumber(e.limit):this.structuredPageSize,this.structuredTotalRecords=n?Math.max(0,this.toNumber(e?.structuredSummary?.total)):this.toNumber(e?.total)||this.structuredBaseGroups.length,this.structuredTotalPagesFromApi=n?Math.max(1,this.toNumber(e?.structuredSummary?.totalPages)||1):this.toNumber(e?.totalPages)>0?this.toNumber(e.totalPages):1,this.applyStructuredFilters(!0)}buildStructuredGroupsFromNestedRows(e,n){if(!Array.isArray(e)||!e.some(a=>Array.isArray(a?.databases)))return[];const r=[];return e.forEach((a,c)=>{(Array.isArray(a?.databases)?a.databases:[]).forEach((d,l)=>{const g=Array.isArray(d?.tables)?d.tables.reduce((_,b,w)=>{const A=Array.isArray(b?.reports)?b.reports.map((O,S)=>this.createStructuredReportRow({...O,table_name:O?.table_name||b?.table_name},{connectionId:a?.connection_id||`connection-${c+1}`,connectionName:a?.connection_name||"Unknown Connection",systemType:a?.system_type||"unknown",databaseName:d?.database_name||"Unknown Database",podConnectionId:a?.pod_connection_id},n,1e3*w+S)).filter(O=>!!O):[];return _.concat(A)},[]):Array.isArray(d?.reports)?d.reports.map((_,b)=>this.createStructuredReportRow(_,{connectionId:a?.connection_id||`connection-${c+1}`,connectionName:a?.connection_name||"Unknown Connection",systemType:a?.system_type||"unknown",databaseName:d?.database_name||"Unknown Database",podConnectionId:a?.pod_connection_id},n,b)).filter(_=>!!_):[];g.length&&r.push(this.decorateStructuredGroup({id:`${a?.connection_id||a?.connection_name||c}::${d?.database_name||l}`,connectionId:a?.connection_id||`connection-${c+1}`,connectionName:a?.connection_name||"Unknown Connection",systemType:a?.system_type||"unknown",databaseName:d?.database_name||"Unknown Database",podConnectionId:a?.pod_connection_id??null,reports:g}))})}),r.sort((a,c)=>a.connectionName.localeCompare(c.connectionName))}buildStructuredGroupsFromFlatRows(e,n){if(!Array.isArray(e)||!e.length)return[];const r=new Map;return e.forEach((a,c)=>{const p=a?.connection_id||a?.data_discovery_connection_id||a?.DataDiscoveryConnection?.id||a?.DataDiscoveryConnection?.connection_id||`connection-${c+1}`,d=a?.connection_name||a?.DataDiscoveryConnection?.name||"Unknown Connection",l=a?.system_type||a?.DataDiscoveryConnection?.system_type||"unknown",g=a?.database_name||"Unknown Database",_=`${p}::${g}`;
1r.has(_)||r.set(_,{id:_,connectionId:p,connectionName:d,systemType:l,databaseName:g,podConnectionId:a?.pod_connection_id??a?.DataDiscoveryConnection?.pod_connection_id??null,reports:[]});const b=this.createStructuredReportRow(a,{connectionId:p,connectionName:d,systemType:l,databaseName:g,podConnectionId:a?.pod_connection_id??a?.DataDiscoveryConnection?.pod_connection_id??null},n,c);b&&r.get(_)?.reports.push(b)}),Array.from(r.values()).filter(a=>a.reports.length>0).map(a=>this.decorateStructuredGroup(a)).sort((a,c)=>a.connectionName.localeCompare(c.connectionName))}createStructuredReportRow(e,n,r,a){if(!e||"object"!=typeof e)return null;const c=e?.category||e?.tags?.[0]?.value,p=e?.classification;if(!this.normalizeAnalyseValue(c)||!this.normalizeAnalyseValue(p))return null;const d={...e,id:e?.id||`structured-report-${n.connectionId}-${a+1}`,database_name:e?.database_name||n.databaseName,pod_connection_id:e?.pod_connection_id??n.podConnectionId??null,DataDiscoveryConnection:e?.DataDiscoveryConnection||{id:n.connectionId,connection_id:n.connectionId,name:n.connectionName,system_type:n.systemType,pod_connection_id:e?.pod_connection_id??n.podConnectionId??null}};return{id:d.id,tableName:e?.table_name||"---",tableColumnName:e?.table_column_name||"---",category:c,classification:p,riskLevel:this.normalizeRiskLevelValue(e?.risk_level),recognizer:e?.recognizer_name||e?.regex_recognizer||"---",rawRow:d}}decorateStructuredGroup(e){const n=[...e.reports||[]].sort((d,l)=>this.normalizeRiskLevelValue(l.riskLevel)-this.normalizeRiskLevelValue(d.riskLevel)||d.tableName.localeCompare(l.tableName)||d.tableColumnName.localeCompare(l.tableColumnName)),r=Array.from(new Set(n.map(d=>d.category).filter(Boolean))),a=[4,3,2,1].find(d=>n.filter(l=>this.normalizeRiskLevelValue(l.riskLevel)===d).length>0)||1,c=n.filter(d=>this.normalizeRiskLevelValue(d.riskLevel)===a).length,p=4===a?"very-high":3===a?"high":2===a?"medium":"low";return{...e,reports:n,categories:r,visibleCategories:r.slice(0,this.structuredBadgeLimit),remainingCategoryCount:Math.max(0,r.length-this.structuredBadgeLimit),totalFindings:n.length,highestRiskLevel:a,highestRiskCount:c,riskSummary:1===a?"All Low Risk":`${c} ${this.riskLabel(a)} Risk`,riskTone:p}}buildStructuredSummaryGroups(e){return Array.isArray(e)&&e.length?e.map(n=>{const r=Array.from(new Set((n?.top_categories||[]).filter(p=>!!p))),a=Math.max(1,this.normalizeRiskLevelValue(n?.max_risk_level)),c=this.getRiskTone(a);return{id:n?.connection_id||n?.connection_name||`structured-${Math.random()}`,connectionId:n?.connection_id||n?.connection_name||"",connectionName:n?.connection_name||"Unknown Connection",systemType:n?.system_type||"unknown",podConnectionId:n?.pod_connection_id??n?.DataDiscoveryConnection?.pod_connection_id??null,databaseNames:Array.isArray(n?.database_names)?n.database_names.filter(p=>!!p):[],databaseLabel:Array.isArray(n?.database_names)&&n.database_names.length?n.database_names.join(", "):"Unknown Database",tableNames:Array.isArray(n?.table_names)?n.table_names.filter(p=>!!p):[],totalTables:Array.isArray(n?.table_names)?n.table_names.length:0,categories:r,visibleCategories:r.slice(0,this.structuredBadgeLimit),remainingCategoryCount:Math.max(0,r.length-this.structuredBadgeLimit),totalFindings:this.toNumber(n?.total_reports),highestRiskLevel:a,riskSummary:`${this.riskLabel(a)} Risk`,riskTone:c}}).sort((n,r)=>n.connectionName.localeCompare(r.connectionName)):[]}buildStructuredSummaryGroupsFromDetailGroups(e){if(!Array.isArray(e)||!e.length)return[];const n=new Map;return e.forEach(r=>{const a=n.get(r.connectionId),c=Array.from(new Set([...a?.databaseNames||[],r.databaseName].filter(Boolean))),p=Array.from(new Set([...a?.tableNames||[],...(r.reports||[]).map(b=>b.tableName)].filter(Boolean))),d=Array.from(new Set([...a?.categories||[],...r.categories||[]].filter(Boolean))),l=(a?.totalFindings||0)+(r.totalFindings||0),g=Math.max(a?.highestRiskLevel||0,r.highestRiskLevel||0),_=this.getRiskTone(g);n.set(r.connectionId,{id:r.connectionId||r.id,connectionId:r.connectionId,connectionName:r.connectionName,systemType:r.systemType,podConnectionId:a?.podConnectionId??r.podConnectionId??r.reports.find(b=>!!b?.rawRow?.pod_connection_id)?.rawRow?.pod_connection_id??null,databaseNames:c,databaseLabel:c.length?c.join(", "):"Unknown Database",tableNames:p,totalTables:p.length,categories:d,visibleCategories:d.slice(0,this.structuredBadgeLimit),remainingCategoryCount:Math.max(0,d.length-this.structuredBadgeLimit),totalFindings:l,highestRiskLevel:g||1,riskSummary:`${this.riskLabel(g||1)} Risk`,riskTone:_})}),Array.from(n.values()).sort((r,a)=>r.connectionName.localeCompare(a.connectionName))}setStructuredFilterOptions(e,n=[]){const r=l=>Array.from(new Set(l.filter(g=>!!g))).sort((g,_)=>g.localeCompare(_)),a=e.reduce((l,g)=>l.concat(g.reports||[]),[]),c=n.length?n.map(l=>l.connectionName):e.map(l=>l.connectionName),p=n.reduce((l,g)=>l.concat(g.categories||[]),[]),d=n.reduce((l,g)=>l.concat(g.tableNames||[]),[]);this.connections=r(c),this.categories=r(p.concat(a.map(l=>
1l.category))),this.tableNames=r(d.length?d:a.map(l=>l.tableName)),this.tableColumns=r(a.map(l=>l.tableColumnName))}applyStructuredFilters(e=!1){const n=this.getSelectedStructuredRiskLevel();if(this.structuredFilteredGroups=this.structuredBaseGroups.filter(r=>{const a=this.structuredFilterReportsByConnectionId.get(r.connectionId)||[];return a.length?a.some(c=>this.structuredReportMatchesFilters(r,c,n)):(!this.selectedConnection||r.connectionName===this.selectedConnection)&&(!n||this.normalizeRiskLevelValue(r.highestRiskLevel)===n)&&(!this.selectedCategory||r.categories.includes(this.selectedCategory))&&(!this.selectedTableName||r.tableNames.includes(this.selectedTableName))&&!this.selectedTableColumn}),this.updateStructuredPagedGroups(),this.expandedStructuredGroupId){const r=this.pagedStructuredGroups.find(a=>a.id===this.expandedStructuredGroupId);r&&this.ensureStructuredGroupDetailsLoaded(r,1)}}structuredReportMatchesFilters(e,n,r){return!(this.selectedConnection&&e.connectionName!==this.selectedConnection||this.selectedCategory&&n.category!==this.selectedCategory||this.selectedTableName&&n.tableName!==this.selectedTableName||this.selectedTableColumn&&n.tableColumnName!==this.selectedTableColumn||r&&this.normalizeRiskLevelValue(n.riskLevel)!==r)}updateStructuredPagedGroups(){this.pagedStructuredGroups=[...this.structuredFilteredGroups],this.expandedStructuredGroupId&&!this.pagedStructuredGroups.some(e=>e.id===this.expandedStructuredGroupId)&&(this.expandedStructuredGroupId=null,this.expandedStructuredTableId=null)}get structuredShowingCount(){return this.pagedStructuredGroups.length}get structuredTotalCount(){return this.structuredTotalRecords||this.structuredFilteredGroups.length}get hasStructuredResults(){return this.structuredShowingCount>0}get structuredTotalPages(){return Math.max(1,this.structuredTotalPagesFromApi||1)}get structuredVisiblePages(){let n=Math.max(1,this.structuredCurrentPage-1),r=Math.min(this.structuredTotalPages,n+3-1);return n=Math.max(1,r-3+1),Array.from({length:r-n+1},(a,c)=>n+c)}
1getSelectedStructuredGroup(){return this.expandedStructuredGroupId&&(this.pagedStructuredGroups.find(e=>e.id===this.expandedStructuredGroupId)||this.structuredFilteredGroups.find(e=>e.id===this.expandedStructuredGroupId))||null}get structuredSelectedTotalTables(){const e=this.getSelectedStructuredGroup();return this.structuredSelectedDetailState.total||e?.totalTables||this.structuredSelectedDetailState.tables.length}get structuredSelectedPageFirst(){return this.getStructuredDetailPageFirst(this.structuredSelectedDetailState)}get structuredSelectedPageEnd(){return this.getStructuredDetailPageEnd(this.structuredSelectedDetailState)}get structuredSelectedDetailState(){const e=this.getSelectedStructuredGroup();return e?this.getStructuredGroupDetailState(e.id):this.createStructuredDetailState()}toggleStructuredGroup(e){this.expandedStructuredGroupId=e.id,this.ensureStructuredGroupDetailsLoaded(e,1)}onStructuredGroupKeydown(e,n){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.toggleStructuredGroup(n))}closeStructuredDetailView(){this.expandedStructuredGroupId=null,this.expandedStructuredTableId=null}goToStructuredPage(e){e<1||e>this.structuredTotalPages||e===this.structuredCurrentPage||this.loadStructuredSummaryPage(e)}getStructuredGroupDetailState(e){return this.structuredDetailState.get(e)||this.createStructuredDetailState()}getStructuredGroupDetailTables(e){return this.getStructuredGroupDetailState(e).tables}getStructuredDetailVisiblePages(e){let r=Math.max(1,e.page-1),a=Math.min(e.totalPages||1,r+3-1);return r=Math.max(1,a-3+1),Array.from({length:a-r+1},(c,p)=>r+p)}getStructuredDetailPageFirst(e){return e.total&&e.tables.length?(e.page-1)*e.limit+1:0}getStructuredDetailPageEnd(e){return e.total&&e.tables.length?Math.min(this.getStructuredDetailPageFirst(e)+e.tables.length-1,e.total):0}toggleStructuredDetailTable(e){this.expandedStructuredTableId=this.expandedStructuredTableId===e.id?null:e.id}onStructuredDetailTableKeydown(e,n){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.toggleStructuredDetailTable(n))}isStructuredDetailTableExpanded(e){return this.expandedStructuredTableId===e.id}goToStructuredDetailPage(e,n){const r=this.getStructuredGroupDetailState(e.id);n<1||n>Math.max(r.totalPages,1)||n===r.page||this.ensureStructuredGroupDetailsLoaded(e,n)}ensureStructuredGroupDetailsLoaded(e,n=1){const r=this.buildStructuredDetail
1sParams(e.connectionId,n,10);this.expandedStructuredTableId=null;const a=this.createStructuredDetailState({loading:!0,loaded:!1,error:null,page:n,limit:Number(r.get("limit"))||10,total:0,totalPages:1,tables:[]});this.structuredDetailState.set(e.id,a),this.svc.getStructuredConnectionDetails(r).subscribe({next:c=>{const p=this.extractStructuredDetailState(e,c,n);this.structuredDetailState.set(e.id,p)},error:c=>{const p=this.createStructuredDetailState({loading:!1,loaded:!1,error:this.getErrorMessage(c,"Failed to load connection details"),page:n,limit:Number(r.get("limit"))||10});this.structuredDetailState.set(e.id,p)}})}extractStructuredDetailState(e,n,r){const a=this.extractStructuredDetailTables(e,Array.isArray(n?.data)?n.data:[]);return this.createStructuredDetailState({loading:!1,loaded:!0,error:null,tables:a,page:this.toNumber(n?.page)>0?this.toNumber(n.page):r,limit:this.toNumber(n?.limit)>0?this.toNumber(n.limit):10,total:this.toNumber(n?.total)||a.length,totalPages:this.toNumber(n?.totalPages)>0?this.toNumber(n.totalPages):1})}extractStructuredDetailTables(e,n){if(!Array.isArray(n)||!n.length)return[];if(n.some(r=>Array.isArray(r?.databases))){const r=n.filter(c=>(c?.connection_id||c?.data_discovery_connection_id||c?.DataDiscoveryConnection?.id||c?.DataDiscoveryConnection?.connection_id)===e.connectionId);return(r.length?r:n).reduce((c,p)=>((Array.isArray(p?.databases)?p.databases:[]).forEach((l,g)=>{(Array.isArray(l?.tables)?l.tables:[]).forEach((b,w)=>{c.push(this.createStructuredDetailTable(b,{connectionId:e.connectionId,connectionName:e.connectionName,systemType:e.systemType,databaseName:l?.database_name||e.databaseNames[0]||"Unknown Database",schemaName:l?.schema_name||"",podConnectionId:p?.pod_connection_id??e.podConnectionId??null},1e3*g+w))})}),c),[]).sort((c,p)=>this.compareStructuredDetailTables(c,p))}return this.buildStructuredDetailTablesFromFlatRows(e,n)}buildStructuredDetailTablesFromFlatRows(e,n){const r=new Map;return n.forEach((a,c)=>{const p=this.createStructuredReportRow(a,{connectionId:e.connectionId,connectionName:e.connectionName,systemType:e.systemType,databaseName:a?.database_name||e.databaseNames[0]||"Unknown Database",podConnectionId:a?.pod_connection_id??a?.DataDiscoveryConnection?.pod_connection_id??e.podConnectionId??null},!1,c);if(!p)return;const l=`${a?.database_name||e.databaseNames[0]||"Unknown Database"}::${a?.table_name||p.tableName||"Unknown Table"}`,g=r.get(l)||[];r.set(l,g.concat(p))}),Array.from(r.entries()).map(([a,c],p)=>{const[d,l]=a.split("::");return this.decorateStructuredDetailTable({id:`${e.connectionId}::${d}::::${l||p+1}`,tableName:l||"Unknown Table",databaseName:d||e.databaseNames[0]||"Unknown Database",schemaName:"",reports:c})}).sort((a,c)=>this.compareStructuredDetailTables(a,c))}createStructuredDetailTable(e,n,r){const a=Array.isArray(e?.reports)?e.reports.map((c,p)=>this.createStructuredReportRow({...c,table_name:c?.table_name||e?.table_name},n,!1,1e3*r+p)).filter(c=>!!c):[];return this.decorateStructuredDetailTable({id:`${n.connectionId}::${n.databaseName}::${n.schemaName||"default"}::${e?.table_name||r+1}`,tableName:e?.table_name||"Unknown Table",databaseName:n.databaseName,schemaName:n.schemaName,reports:a})}decorateStructuredDetailTable(e){const n=[...e.reports||[]].sort((c,p)=>this.normalizeRiskLevelValue(p.riskLevel)-this.normalizeRiskLevelValue(c.riskLevel)||c.tableColumnName.localeCompare(p.tableColumnName)),r=Array.from(new Set(n.map(c=>c.category).filter(Boolean))),a=n.length&&[4,3,2,1].find(c=>n.some(p=>this.normalizeRiskLevelValue(p.riskLevel)===c))||1;return{...e,reports:n,categories:r,visibleCategories:r.slice(0,this.structuredBadgeLimit),remainingCategoryCount:Math.max(0,r.length-this.structuredBadgeLimit),totalFindings:n.length,highestRiskLevel:a,riskSummary:n.length?`${this.riskLabel(a)} Risk`:"No Findings",riskTone:n.length?this.getRiskTone(a):"low"}}compareStructuredDetailTables(e,n){return this.normalizeRiskLevelValue(n.highestRiskLevel)-this.normalizeRiskLevelValue(e.highestRiskLevel)||n.totalFindings-e.totalFindings||e.tableName.localeCompare(n.tableName)}createStructuredDetailState(e={}){return{loading:!1,loaded:!1,error:null,tables:[],page:1,limit:10,total:0,totalPages:1,...e}}
1buildStructuredDetailsParams(e,n=1,r=10){let a=(new P.LE).set("source_id",e).set("page",n).set("limit",r);return this.selectedCategory&&(a=a.set("category",this.selectedCategory)),this.selectedTableName&&(a=a.set("table_name",this.selectedTableName)),this.selectedTableColumn&&(a=a.set("table_column_name",this.selectedTableColumn)),this.getSelectedStructuredRiskLevel()&&(a=a.set("risk_level",this.getSelectedStructuredRiskLevel())),a}getStructuredDetailCacheKey(e,n=1,r=10){return`${e}::${this.buildStructuredDetailsParams(e,n,r).toString()}`}loadStructuredSummaryPage(e){this.svc.getStructuredConnectionsSummaryPage(e,this.structuredPageSize).subscribe({next:n=>{this.syncStructuredAccordionData({data:this.records,structuredSummary:n})},error:n=>{this.messageService.add({severity:"error",summary:"Error",detail:this.getErrorMessage(n,"Failed to load connections summary")})}})}getSelectedStructuredRiskLevel(){return Number(this.selectedRiskLevel?.value??this.selectedRiskLevel??0)}openStructuredReport(e){this.canOpenStructuredReport(e)&&this.openAnalyseModal(e.rawRow)}startEditingStructuredReport(e,n){n.stopPropagation();const r=e?.rawRow?.id?String(e.rawRow.id):null;r&&(this.editingStructuredReportId=r,this.editingStructuredReport={category:e.category||"",riskLevel:this.normalizeRiskLevelValue(e.riskLevel)})}cancelEditingStructuredReport(e){e.stopPropagation(),!this.savingStructuredReportId&&(this.editingStructuredReportId=null,this.editingStructuredReport={category:"",riskLevel:0})}saveStructuredReport(e,n){n.stopPropagation();const r=e?.rawRow?.id?String(e.rawRow.id):null;if(!r||this.savingStructuredReportId)return;const a={category:this.editingStructuredReport.category,risk_level:this.editingStructuredReport.riskLevel};this.savingStructuredReportId=r,this.svc.updateReportRow(r,a).subscribe({next:()=>{e.category=a.category,e.riskLevel=a.risk_level,e.rawRow.category=a.category,e.rawRow.risk_level=a.risk_level,this.savingStructuredReportId=null,this.editingStructuredReportId=null,this.messageService.add({severity:"success",summary:"Success",detail:"Row updated successfully"});
1const c=this.getSelectedStructuredGroup();if(c){const p=this.getStructuredGroupDetailState(c.id).page;this.ensureStructuredGroupDetailsLoaded(c,p)}},error:c=>{this.savingStructuredReportId=null,this.messageService.add({severity:"error",summary:"Update Failed",detail:this.getErrorMessage(c,"Unable to update the report.")})}})}isEditingStructuredReport(e){return!!e?.rawRow?.id&&this.editingStructuredReportId===String(e.rawRow.id)}isSavingStructuredReport(e){return!!e?.rawRow?.id&&this.savingStructuredReportId===String(e.rawRow.id)}canOpenStructuredReport(e){return!!e?.rawRow?.id}isStructuredReportLoading(e){const n=e?.rawRow?.id?String(e.rawRow.id):null;return!!n&&this.analyseLoadingRowId===n}getStructuredSystemIcon(e){return this.getSourceIcon(e)}getStructuredCategoryBadgeLabel(e){return this.formatStructuredCategoryLabel(e).toUpperCase()}formatStructuredSystemType(e){const n=`${e||""}`.toLowerCase(),r={mysql:"MySQL",mariadb:"MariaDB",postgres:"PostgreSQL",postgresql:"PostgreSQL",mssql:"MSSQL",clickhouse:"ClickHouse",mongodb:"MongoDB",snowflake:"Snowflake",oracle:"Oracle"};return r[n]?r[n]:this.formatStructuredCategoryLabel(e)}isSalesforceSystem(e){return"salesforce"===`${e||""}`.toLowerCase().trim()}formatStructuredCategoryLabel(e){return`${e||""}`.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").replace(/\bInformation\b/gi,"").replace(/\s+/g," ").trim()}syncStorageSourceGroups(e){this.storageReport=e||{data:[],page:1,limit:this.storagePageSize,total:0,totalPages:1},this.storagePageSize=this.toNumber(e?.limit)>0?this.toNumber(e.limit):this.storagePageSize,this.storageFirst=Math.max(0,(this.toNumber(e?.page)>0?this.toNumber(e.page)-1:0)*this.storagePageSize),this.storageTotalPages=this.toNumber(e?.totalPages)>0?this.toNumber(e.totalPages):1,this.storageSourceGroups=this.buildStorageSourceGroups(Array.isArray(e?.data)?e.data:[]),this.allStorageFiles=this.storageSourceGroups.reduce((n,r)=>n.concat(r.files||[]),[]),this.buildStorageFilterOptions(this.storageSourceGroups),this.applyStorageFilters()}buildStorageSourceGroups(e){return(e||[]).map(n=>{const r=this.getPodConnectionId(n),a=(Array.isArray(n?.files)?n.files:[]).map(g=>{const _=this.getPodConnectionId(g)??r;return{...g,pod_connection_id:_,podConnectionId:_}}),c=Array.from(new Set(a.reduce((g,_)=>g.concat(this.getStorageFileCategories(_)),[]))),p=a.reduce((g,_)=>Math.max(g,this.normalizeRiskLevelValue(this.getStorageFileRiskLevel(_))),1),d=a.reduce((g,_)=>g+this.getStorageFileFindingsCount(_),0),l=Array.from(new Set(a.map(g=>this.getStorageSourcePath(g)).filter(g=>!!g))).join(", ");return{id:n?.source_system||`source-${Math.random()}`,sourceSystem:n?.source_system||"unknown",sourceLabel:this.getStorageSourceLabel(n?.source_system),sourcePathLabel:l||"No source path",categories:c,visibleCategories:c.slice(0,this.structuredBadgeLimit),remainingCategoryCount:Math.max(0,c.length-this.structuredBadgeLimit),totalFiles:this.toNumber(n?.total_files)||a.length,totalFindings:d,highestRiskLevel:p,riskSummary:`${this.riskLabel(p)} Risk`,riskTone:this.getRiskTone(p),files:a}})}buildStorageFilterOptions(e){const n=p=>Array.from(new Set(p.filter(d=>null!=d&&""!==d))),a=e.reduce((p,d)=>p.concat(d.files||[]),[]).reduce((p,d)=>p.concat(this.getStorageFileFilterEntities(d)),[]),c=this.getUnstructuredCategoryValues();this.storageCategories=c.length?c:n(a.map(p=>p.category)),this.storageConfidences=n(a.map(p=>p.confidence)),this.storageEntityTypes=n(a.map(p=>p.entity_type)),this.storageSourceNames=n(e.map(p=>p.sourceLabel)),this.storageSourceSystems=n(e.map(p=>p.sourceSystem))}applyStorageFilters(){const e=this.storageFilters,n=!!(e.category||e.confidence||e.risk_level||e.entity_type);this.storageVisibleFilesByGroupId=new Map,this.filteredStorageSourceGroups=this.storageSourceGroups.filter(r=>{const a=r.files.filter(d=>this.storageFileMatchesFilters(d));return this.storageVisibleFilesByGroupId.set(r.id,a),!(e.source_name&&r.sourceLabel!==e.source_name||e.source_system&&r.sourceSystem!==e.source_system||n&&!(a.length>0))}),this.updateStoragePageView()}storageFileMatchesFilters(e){const n=this.storageFilters,r=this.getStorageFileFilterEntities(e),a=!n.risk_level||this.normalizeRiskLevelValue(this.getStorageFileRiskLevel(e))===this.normalizeRiskLevelValue(n.risk_level),c=!n.entity_type||r.some(l=>l.entity_type===n.entity_type),p=!n.category||r.some(l=>l.category===n.category),d=!n.confidence||r.some(l=>l.confidence===n.confidence);return a&&c&&p&&d}getVisibleStorageSourceFiles(e){return this.storageFilters.category||this.storageFilters.confidence||this.storageFilters.risk_level||this.storageFilters.entity_type?this.storageVisibleFilesByGroupId.get(e.id)||[]:e.files||[]}getSelectedStorageSourceGroup(){return this.expandedStorageSourceId&&(this.pagedStorageSourceGroups.find(e=>e.id===this.expandedStorageSourceId)||this.filteredStorageSourceGroups.find(e=>
1e.id===this.expandedStorageSourceId))||null}get selectedStorageSourceTotalRecords(){const e=this.getSelectedStorageSourceGroup();return e?this.getVisibleStorageSourceFiles(e).length:0}get selectedStorageSourceTotalPages(){return Math.max(1,Math.ceil(this.selectedStorageSourceTotalRecords/this.storageDetailPageSize))}get selectedStorageSourcePageFirst(){return this.selectedStorageSourceTotalRecords?(this.selectedStorageSourcePage-1)*this.storageDetailPageSize+1:0}get selectedStorageSourcePageEnd(){return this.selectedStorageSourceTotalRecords?Math.min(this.selectedStorageSourcePageFirst+this.getSelectedStorageSourceFiles().length-1,this.selectedStorageSourceTotalRecords):0}get selectedStorageSourceVisiblePages(){let n=Math.max(1,this.selectedStorageSourcePage-1),r=Math.min(this.selectedStorageSourceTotalPages,n+3-1);return n=Math.max(1,r-3+1),Array.from({length:r-n+1},(a,c)=>n+c)}getSelectedStorageSourceFiles(){const e=this.getSelectedStorageSourceGroup();if(!e)return[];const n=this.getVisibleStorageSourceFiles(e),r=(this.selectedStorageSourcePage-1)*this.storageDetailPageSize;return n.slice(r,r+this.storageDetailPageSize)}goToSelectedStorageSourcePage(e){e<1||e>this.selectedStorageSourceTotalPages||e===this.selectedStorageSourcePage||(this.selectedStorageSourcePage=e)}onStorageFilterChange(){this.applyStorageFilters()}updateStoragePageView(){if(this.pagedStorageSourceGroups=[...this.filteredStorageSourceGroups],this.expandedStorageSourceId&&!this.pagedStorageSourceGroups.some(e=>e.id===this.expandedStorageSourceId))return this.expandedStorageSourceId=null,void(this.selectedStorageSourcePage=1);this.selectedStorageSourcePage=Math.min(this.selectedStorageSourcePage,this.selectedStorageSourceTotalPages)}goToStoragePage(e){e<1||e>this.storageTotalPages||e===this.storageCurrentPage||this.svc.getStorageReportGroupsPage(e,this.storagePageSize).subscribe({next:n=>{this.syncStorageSourceGroups(n)},error:n=>{this.messageService.add({severity:"error",summary:"Error",detail:this.getErrorMessage(n,"Failed to load source groups")})}})}onStoragePage(e){const n=null!=e.first?e.first/e.rows+1:this.storageCurrentPage;this.storagePageSize=e.rows||this.storagePageSize,this.goToStoragePage(n)}toggleStorageSourceGroup(e){this.expandedStorageSourceId=e,this.selectedStorageSourcePage=1}onStorageSourceGroupKeydown(e,n){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.toggleStorageSourceGroup(n))}closeStorageSourceDetailView(){this.expandedStorageSourceId=null,this.selectedStorageSourcePage=1}viewFile(e,n){if(n.stopPropagation(),!e?.resource_id||this.evidencePreviewLoadingResourceId)return;const r=this.isPodResource(e);this.evidencePreviewVisible=!1,this.evidencePreviewData=null,this.evidencePreviewFileName=this.getStorageFileName(e),this.evidencePreviewResourceId=e.resource_id,this.evidencePreviewPodConnectionId=this.getPodConnectionId(e),this.evidencePreviewIsPodResource=r,this.evidencePreviewLoadingResourceId=e.resource_id,this.svc.getStorageFileEvidences(e.resource_id).pipe((0,T.x)(()=>{this.evidencePreviewLoadingResourceId=null})).subscribe({next:a=>{this.evidencePreviewPodConnectionId=this.getPodConnectionId(e)??this.getPodConnectionId(a),this.evidencePreviewIsPodResource=r,this.evidencePreviewData=a||{},this.evidencePreviewFileName=a?.file_name||this.getStorageFileName(e),this.evidencePreviewVisible=!0},error:a=>{this.evidencePreviewVisible=!1,this.evidencePreviewData=null,this.evidencePreviewResourceId=null,this.evidencePreviewPodConnectionId=null,this.evidencePreviewIsPodResource=!1,this.messageService.add({severity:"error",summary:"Error",detail:this.getErrorMessage(a,"Failed to load evidence preview")})}})}openEvidencePreviewFile(){if(!this.evidencePreviewResourceId||this.evidencePreviewFileLoading)return;const e=window.open("","_blank");e?(e.document.title=this.getEvidencePreviewFileName(),e.document.body.innerHTML="",e.document.body.style.margin="0",e.document.body.style.display="flex",e.document.body.style.alignItems="center",e.document.body.style.justifyContent="center",e.document.body.style.minHeight="100vh",e.document.body.style.fontFamily="Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",e.document.body.style.color="#334155",e.document.body.textContent="Loading file...",this.evidencePreviewFileLoading=!0,(this.evidencePreviewIsPodResource?this.svc.getStoragePodFileStream(this.evidencePreviewResourceId):this.svc.getStorageFileStream(this.evidencePreviewResourceId)
1).pipe((0,T.x)(()=>{this.evidencePreviewFileLoading=!1})).subscribe({next:r=>{if(!r||0===r.size)return e.close(),void this.messageService.add({severity:"error",summary:"Error",detail:"The selected file could not be opened."});const a=window.URL.createObjectURL(r);e.location.href=a,e.focus(),setTimeout(()=>window.URL.revokeObjectURL(a),6e4)},error:r=>{e.close(),this.messageService.add({severity:"error",summary:"Error",detail:this.getErrorMessage(r,"Failed to open file")})}})):this.messageService.add({severity:"error",summary:"Error",detail:"Unable to open a new tab. Please allow pop-ups and try again."})}get evidencePreviewRows(){return Array.isArray(this.evidencePreviewData?.evidences)?this.evidencePreviewData.evidences:[]}getEvidencePreviewFileName(){return this.evidencePreviewData?.file_name||this.evidencePreviewFileName||"--"}getEvidenceHighestRiskLevel(){return this.evidencePreviewRows.reduce((n,r)=>Math.max(n,this.normalizeRiskLevelValue(r?.risk_level)),0)||1}getEvidenceSummaryCategory(){return this.evidencePreviewRows[0]?.category||"--"}getEvidenceConfidenceClass(e){const n=`${e||""}`.trim().toLowerCase();return"high"===n?"conf-high":"medium"===n?"conf-medium":"low"===n?"conf-low":""}formatEvidenceConfidence(e){return this.toDisplayLabel(e||"--")||"--"}closeEvidencePreview(){this.evidencePreviewVisible=!1,this.evidencePreviewFileLoading=!1,this.evidencePreviewResourceId=null,this.evidencePreviewPodConnectionId=null,this.evidencePreviewIsPodResource=!1}onEditFindingClick(e,n){n.stopPropagation(),this.editingFindingId&&this.editingFindingId===e?.id?this.editingFindingId=null:(this.editingFindingId=e?.id||null,this.editingFindingModel={entity_type:e?.entity_type||"",category:e?.category||""})}isFindingInEditMode(e){return!!e?.id&&this.editingFindingId===e.id}onSaveFinding(e,n){if(n.stopPropagation(),!e?.id||!this.isFindingInEditMode(e))return;const r={entity_type:this.editingFindingModel.entity_type,category:this.editingFindingModel.category};this.savingFindingId=e.id,this.svc.updateStorageFinding(e.id,r).subscribe({next:a=>{e.entity_type=r.entity_type,e.category=r.category,e.overridden="boolean"!=typeof a?.overridden||a.overridden,this.editingFindingId=null,this.savingFindingId=null,this.showSaveSuccessMessage("Finding saved successfully.")},error:a=>{this.savingFindingId=null,console.error("Failed to update finding:",a)}})}onDeleteFinding(e,n){n.stopPropagation(),e?.id&&(this.deletingFindingId=e.id,this.svc.deleteStorageFinding(e.id).subscribe({next:()=>{this.editingFindingId=null,this.savingFindingId=null,this.showDeleteSuccessMessage("Finding removed successfully."),this.refreshStorageFilesAfterDelete()},error:r=>{this.deletingFindingId=null,console.error("Failed to delete finding:",r)}}))}closeDeleteSuccessMessage(){this.deleteSuccessMessage=null}showDeleteSuccessMessage(e){this.deleteSuccessMessage=e,setTimeout(()=>{this.deleteSuccessMessage===e&&(this.deleteSuccessMessage=null)},3500)}closeSaveSuccessMessage(){this.saveSuccessMessage=null}showSaveSuccessMessage(e){this.saveSuccessMessage=e,setTimeout(()=>{this.saveSuccessMessage===e&&(this.saveSuccessMessage=null)},3500)}refreshStorageFilesAfterDelete(){this.svc.getStorageReportGroupsPage(this.storageCurrentPage,this.storagePageSize).subscribe({next:e=>{this.deletingFindingId=null,this.syncStorageSourceGroups(e)},error:e=>{this.deletingFindingId=null,console.error("Failed to refresh files:",e)}})}getFileIconBg(e){return{pdf:"rgba(238, 107, 115, 0.12)",docx:"rgba(91, 124, 250, 0.12)",doc:"rgba(91, 124, 250, 0.12)",pptx:"rgba(244, 183, 64, 0.14)",ppt:"rgba(244, 183, 64, 0.14)",xlsx:"rgba(52, 195, 143, 0.12)",xls:"rgba(52, 195, 143, 0.12)",jpeg:"rgba(168, 179, 194, 0.14)",jpg:"rgba(168, 179, 194, 0.14)",png:"rgba(168, 179, 194, 0.14)",gif:"rgba(168, 179, 194, 0.14)"}[e?.toLowerCase()]||"rgba(168, 179, 194, 0.14)"}getFileIconColor(e){return{pdf:"#EE6B73",docx:"#5B7CFA",doc:"#5B7CFA",pptx:"#F4B740",ppt:"#F4B740",xlsx:"#34C38F",xls:"#34C38F",jpeg:"#A8B3C2",jpg:"#A8B3C2",png:"#A8B3C2",gif:"#A8B3C2"}[e?.toLowerCase()]||"#A8B3C2"}getStorageFileRiskLevel(e){const n=this.normalizeRiskLevelValue(e?.risk_level);return n>0?n:Math.max(e?.high_risk>0?4:0,e?.medium_risk>0?3:0,e?.low_risk>0?2:0)}getStorageFileRiskClass(e){const n=this.getStorageFileRiskLevel(e);return n>=4?"risk-high":3===n?"risk-medium":"risk-low"}getCategoryColor(e){return{DemographicInformation:"#f97316",ContactInformation:"#3b82f6",MedicalInformation:"#ef4444",SensitiveInformation:"#8b5cf6",NonPersonal:"#94a3b8",PaymentInformation:"#22c55e",DigitalFootprints:"#06b6d4"}[e]||"#64748b"}getRiskPillBg(e){switch(this.normalizeRiskLevelValue(e)){case 4:return"rgba(239,68,68,0.12)";case 3:return"rgba(249,115,22,0.12)";case 2:return"rgba(245,158,11,0.12)";case 1:return"rgba(99,102,241,0.12)";default:return"rgba(148,163,184,0.12)"}}getRiskPillTextColor(e){switch(this.normalizeRiskLevelValue(e)){case 4:return"#ef4444";case 3:return"#f97316";case 2:return"#d97706";case 1:return"#6366f1";default:return"#94a3b8"}}getEntityTypeBg(e){return{PERSON:"#4f46e5",LOCATION:"#0ea5e9",DATE_TIME:"#64748b",EMAIL_ADDRESS:"#0891b2",NRP:"#7c3aed",UK_NHS:"#dc2626",PL_PESEL:"#db2777",URL:"#0d9488"}[e]||"#475569"}getEntityTypeColor(e){return"#fff"}getStorageFileName(e){return e?.file_name||e?.source_name||e?.name||"Untitled file"}getStorageFileSizeText(e){const n=e?.file_size_label??e?.file_size??e?.size_label;if("string"==typeof n&&/[a-z]/i.test(n))return n;const a=Number((e?.file_size_bytes??e?.size_bytes??e?.content_length??e?.size??n)||0);return!Number.isFinite(a)||a<=0?"":this.formatBytes(a)}getStorageFileDateText(e){const n=e?.modified_at||e?.updated_at||e?.scanned_at;if(!n)return"";const r=e?.modified_at||e?.updated_at?"Modified":"Scanned",a=this.getRelativeTimeLabel(n);return a?`${r} ${a}`:`${r} ${this.formatStorageDate(n)}`}getStorageSourceLabel(e){return"azure"===this.getSourceKey(e)?"Azure Blob":this.formatSourceLabel(e)}
1getStorageSourceKey(e){return this.getSourceKey(e)}getStorageSourceIcon(e){return this.getSourceIcon(e)}getStorageSourcePath(e){return e?.container||e?.source||""}getStorageContainerSource(e){const n=String(e?.container||e?.source||"").trim();return n&&"/"!==n?n:"Root"}getStorageFileFindingsCount(e){return Array.isArray(e?.findings)&&e.findings.length?e.findings.length:this.toNumber(e?.findings_count)}getUniqueCategoriesText(e){return this.getStorageFileCategories(e).join(", ")}getUniqueCategories(e){return this.getStorageFileCategories(e)}getStorageFileCategories(e){const n=this.getStorageFileFilterEntities(e).map(r=>r?.category).filter(r=>!!r);return Array.from(new Set(n))}getStorageVisibleCategories(e,n=3){return this.getStorageFileCategories(e).slice(0,n)}getStorageRemainingCategoryCount(e,n=3){return Math.max(this.getStorageFileCategories(e).length-n,0)}getStorageFileFilterEntities(e){return Array.isArray(e?.findings)&&e.findings.length?e.findings:Array.isArray(e?.top_entities)&&e.top_entities.length?e.top_entities:[]}getRelativeTimeLabel(e){if(!e)return"";const n=new Date(e);if(Number.isNaN(n.getTime()))return"";const r=n.getTime()-Date.now(),a=Math.abs(r),c=6e4,p=60*c,d=24*p,l=7*d,g=30*d,_=365*d,b=new Intl.RelativeTimeFormat("en",{numeric:"auto"});return a>=_?b.format(Math.round(r/_),"year"):a>=g?b.format(Math.round(r/g),"month"):a>=l?b.format(Math.round(r/l),"week"):a>=d?b.format(Math.round(r/d),"day"):a>=p?b.format(Math.round(r/p),"hour"):a>=c?b.format(Math.round(r/c),"minute"):"just now"}formatStorageDate(e){try{return(0,h.p6)(e,"MMM d, y","en-US")}catch{return String(e)}}formatBytes(e){if(e<=0)return"";const n=["B","KB","MB","GB","TB"],r=Math.min(Math.floor(Math.log(e)/Math.log(1024)),n.length-1),a=e/Math.pow(1024,r);return`${a.toFixed(a>=10||0===r?0:1)} ${n[r]}`}onUnstructuredFilterChange(){this.applyUnstructuredFilters()}buildUnstructuredFilterOptions(e){const n=r=>Array.from(new Set(r.filter(a=>null!=a&&""!==a)));this.unstructuredCategories=n(e.map(r=>r.category)),this.unstructuredConfidences=n(e.map(r=>r.confidence)),this.unstructuredSourceNames=n(e.map(r=>r.source_name)),this.unstructuredEntityTypes=n(e.map(r=>r.entity_type)),this.unstructuredSourceSystems=n(e.map(r=>r.source_system))}applyUnstructuredFilters(){const e=this.unstructuredFilters;this.unstructuredRecords=this.unstructuredOriginalRecords.filter(n=>!(e.category&&n.category!==e.category||e.confidence&&n.confidence!==e.confidence||e.risk_level&&this.normalizeRiskLevelValue(n.risk_level)!==this.normalizeRiskLevelValue(e.risk_level)||e.source_name&&n.source_name!==e.source_name||e.entity_type&&n.entity_type!==e.entity_type||e.source_system&&n.source_system!==e.source_system)),this.unstructuredMeta.total=this.unstructuredRecords.length,this.unstructuredFirst=0,this.updateUnstructuredPageView()}onUnstructuredPage(e){this.unstructuredFirst=e.first||0,this.unstructuredRows=e.rows||this.unstructuredRows,this.updateUnstructuredPageView()}updateUnstructuredPageView(){const e=this.unstructuredFirst;this.displayedUnstructuredRecords=this.unstructuredRecords.slice(e,e+this.unstructuredRows)}openFailedTablesModal(){this.failedTablesVisible=!0}openValuesModal(e){this.selectedValues=this.getValidAnalyseValues(e?.Values),this.selectedColumnName=e.Column,this.valuesVisible=!0}convertRiskLevel(e){const n={};(e?.sensitiveItems||[]).forEach(l=>{const g=this.normalizeRiskLevelValue(l.risk_level);n[g]=(n[g]||0)+(Number(l.count)||0)});const r=n[4]||0,a=n[3]||0,c=n[2]||0,p=n[1]||0;return{total:r+a+c+p,veryHigh:r,high:a,medium:c,low:p}}ngAfterViewInit(){this.scheduleRiskChartRender()}ngOnDestroy(){this.detachRiskChartBindings(),null!==this.riskChartRenderFrame&&(cancelAnimationFrame(this.riskChartRenderFrame),this.riskChartRenderFrame=null),this.scanJobsLoadingTimeout&&(clearTimeout(this.scanJobsLoadingTimeout),this.scanJobsLoadingTimeout=null),this.subscriptions.forEach(e=>e.unsubscribe())}get coveragePercent(){return Number(((this.report?.columnsWithSensitiveItems||0)/(this.report?.scannedColumns||1)*100).toFixed(2))}get scanJobsMax(){return Math.max(...(this.scanJobsBySystem||[]).map(e=>this.toNumber(e.value)),0)}get hasScanJobs(){return(this.scanJobsBySystem||[]).length>0}completeScanJobsLoading(e){if(this.scanJobsLoadingTimeout&&(clearTimeout(this.scanJobsLoadingTimeout),this.scanJobsLoadingTimeout=null),!e)return void(this.structuredDashboardLoading=!1);const n=Date.now()-this.scanJobsLoadStartedAt,r=Math.max(0,this.scanJobsSkeletonMinDurationMs-n);this.scanJobsLoadingTimeout=setTimeout(()=>{this.structuredDashboardLoading=!1,this.scanJobsLoadingTimeout=null},r)}get categoryBarsMax(){return Math.max(...(this.report?.topSensitiveItems||[]).map(e=>this.toNumber(e.count)),0)}get riskChartRows(){return[{label:"Very High",value:this.report?.riskSummary?.veryHigh||0,color:"#EE6B73"},{label:"High",value:this.report?.riskSummary?.high||0,color:"#F4B740"},{label:"Medium",value:this.report?.riskSummary?.medium||0,color:"#34C38F"},{label:"Low",value:this.report?.riskSummary?.low||0,color:"#A8B3C2"}]}get riskChartTotal(){return this.riskChartRows.reduce((e,n)=>e+this.toNumber(n.value),0)}onQuickSearchChange(){this.loadPage({first:0,rows:this.limit,page:0})}onFilterChange(){this.applyStructuredFilters(!0)}
1loadPage(e){this.loadStructuredSummaryPage(null!=e.first?e.first/e.rows+1:this.structuredCurrentPage)}exportStructuredCsv(){this.exportingCsv||!this.hasStructuredResults||(this.exportingCsv=!0,this.svc.exportStructuredReport(this.buildStructuredReportParams({includePagination:!1})).pipe((0,T.x)(()=>this.exportingCsv=!1)).subscribe({next:e=>{const n=this.getStructuredCsvRows(e);this.downloadStructuredCsv(this.buildStructuredCsv(n))},error:e=>{this.messageService.add({severity:"error",summary:"Error",detail:this.getErrorMessage(e,"Failed to export CSV")})}}))}buildStructuredReportParams(e){const n=!1!==e?.includePagination;let r=new P.LE;return n&&(r=r.set("page",e?.page??this.page).set("limit",e?.limit??this.limit)),this.selectedRiskLevel&&(r=r.set("risk_level",this.selectedRiskLevel?.value)),this.selectedCategory&&(r=r.set("category",this.selectedCategory)),this.selectedConnection&&(r=r.set("source",this.selectedConnection)),this.selectedTableName&&(r=r.set("table_name",this.selectedTableName)),this.selectedTableColumn&&(r=r.set("table_column_name",this.selectedTableColumn)),r}buildStructuredCsv(e){return[["Connection Name","Connection Type","Database","Table","Column","Category","Classification","Risk","Created"].map(a=>this.escapeCsvValue(a)).join(","),...e.map(a=>[a?.connection_name||a?.DataDiscoveryConnection?.name||"",a?.system_type||a?.DataDiscoveryConnection?.system_type||"",a?.database_name||"",a?.table_name||"",a?.table_column_name||a?.column_name||"",a?.category||"",a?.classification||"",this.riskLabel(a?.risk_level),this.formatStructuredCreatedDate(a?.created_at)].map(c=>this.escapeCsvValue(c)).join(","))].join("\r\n")}getStructuredCsvRows(e){return(Array.isArray(e?.data)?e.data:Array.isArray(e?.fullStructuredData)?e.fullStructuredData:[]).reduce((r,a)=>{const c=Array.isArray(a?.databases)?a.databases:[];return c.length?(c.forEach(p=>{(Array.isArray(p?.tables)?p.tables:[]).forEach(l=>{(Array.isArray(l?.reports)?l.reports:Array.isArray(l?.columns)?l.columns:[]).forEach(_=>{r.push({..._,connection_name:_?.connection_name||a?.connection_name||"",system_type:_?.system_type||a?.system_type||"",database_name:_?.database_name||p?.database_name||"",table_name:_?.table_name||l?.table_name||"",table_column_name:_?.table_column_name||_?.column_name||""})})})}),r):r.concat(a)},[])}normalizeRiskLevelValue(e){const n=Number(e||0);return 5===n?4:n}getRiskTone(e){const n=this.normalizeRiskLevelValue(e);return n>=4?"very-high":3===n?"high":2===n?"medium":"low"}escapeCsvValue(e){return`"${(null==e?"":String(e)).replace(/"/g,'""')}"`}formatStructuredCreatedDate(e){if(!e)return"";try{return(0,h.p6)(e,"mediumDate","en-US")}catch{return String(e)}}downloadStructuredCsv(e){const n=new Blob([e],{type:"text/csv;charset=utf-8;"}),r=`data-discovery-report-${(0,h.p6)(new Date,"yyyy-MM-dd","en-US")}.csv`,a=window.URL.createObjectURL(n),c=document.createElement("a");c.href=a,c.download=r,c.click(),setTimeout(()=>window.URL.revokeObjectURL(a),1e3)}scheduleRiskChartRender(){"structured"===this.activeTab&&(null!==this.riskChartRenderFrame&&cancelAnimationFrame(this.riskChartRenderFrame),this.riskChartRenderFrame=window.requestAnimationFrame(()=>{this.riskChartRenderFrame=window.requestAnimationFrame(()=>{this.riskChartRenderFrame=null,this.syncRiskChartBindings(),this.setupAndDrawPie()})}))}syncRiskChartBindings(){const e=this.canvasWrapper?.nativeElement,n=this.canvasRef?.nativeElement;!e||!n||(this.observedRiskChartCanvas!==n&&(this.observedRiskChartCanvas&&(this.observedRiskChartCanvas.removeEventListener("mousemove",this.onRiskChartMouseMove),this.observedRiskChartCanvas.removeEventListener("mouseleave",this.onRiskChartMouseLeave)),n.addEventListener("mousemove",this.onRiskChartMouseMove),n.addEventListener("mouseleave",this.onRiskChartMouseLeave),this.observedRiskChartCanvas=n),this.resizeObserver?.disconnect(),this.resizeObserver=new ResizeObserver(()=>this.setupAndDrawPie()),this.resizeObserver.observe(e))}detachRiskChartBindings(){this.resizeObserver?.disconnect(),this.resizeObserver=null,this.observedRiskChartCanvas&&(this.observedRiskChartCanvas.removeEventListener("mousemove",this.onRiskChartMouseMove),this.observedRiskChartCanvas.removeEventListener("mouseleave",this.onRiskChartMouseLeave),this.observedRiskChartCanvas=null)}
1setupAndDrawPie(){if(!this.report||!this.canvasRef)return;const e=this.riskChartRows.filter(a=>this.toNumber(a.value)>0),n=this.riskChartTotal||1;this.pieSlices=e.map(a=>({label:a.label,value:this.toNumber(a.value),color:a.color||"#cbd5e1"}));let r=-Math.PI/2;for(const a of this.pieSlices){const c=a.value/n*Math.PI*2;a.startAngle=r,a.endAngle=r+c,r+=c}this.drawPie()}drawPie(){const e=this.canvasRef.nativeElement,r=this.canvasWrapper.nativeElement.getBoundingClientRect(),a=window.devicePixelRatio||1,c=Math.min(r.width,r.height);e.width=Math.round(c*a),e.height=Math.round(c*a),e.style.width=`${c}px`,e.style.height=`${c}px`;const p=e.getContext("2d");if(!p)return;p.setTransform(a,0,0,a,0,0),p.clearRect(0,0,c,c);const d=c/2,l=c/2,g=Math.min(d,l)-6,_=g*this.riskChartInnerRadiusRatio;if(!this.pieSlices.length||!this.riskChartTotal)return p.beginPath(),p.arc(d,l,g,0,2*Math.PI),p.fillStyle="#e2e8f0",p.fill(),p.beginPath(),p.fillStyle="#fff",p.arc(d,l,_,0,2*Math.PI),void p.fill();for(const b of this.pieSlices)p.beginPath(),p.moveTo(d,l),p.arc(d,l,g,b.startAngle,b.endAngle),p.closePath(),p.fillStyle=b.color,p.fill(),p.strokeStyle="#ffffff",p.lineWidth=1,p.stroke();p.beginPath(),p.fillStyle="#fff",p.arc(d,l,_,0,2*Math.PI),p.fill()}onCanvasMouseMove(e){const r=this.canvasRef.nativeElement.getBoundingClientRect(),a=e.clientX-r.left,c=e.clientY-r.top,p=Math.min(r.width,r.height),g=a-p/2,_=c-p/2,b=p/2-6,w=b*this.riskChartInnerRadiusRatio,A=Math.sqrt(g*g+_*_),O=Math.atan2(_,g);if(!this.pieSlices.length||A<w||A>b)return void(this.tooltip.show=!1);const S=this.pieSlices.find(Q=>{let Y=Q.startAngle,ct=Q.endAngle;ct<Y&&(ct+=2*Math.PI);let tt=O;return tt<Y&&(tt+=2*Math.PI),tt>=Y&&tt<=ct});S?(this.tooltip.show=!0,this.tooltip.text=`${S.label} \u2014 ${S.value}`,this.tooltip.left=e.clientX+12,this.tooltip.top=e.clientY+12):this.tooltip.show=!1}riskLabel(e){switch(this.normalizeRiskLevelValue(e)){case 4:return"Very High";case 3:return"High";case 2:return"Medium";case 1:return"Low";default:return"Unknown"}}getRiskColor(e){switch(this.normalizeRiskLevelValue(e)){case 4:return"#ef4444";case 3:return"#f97316";case 2:return"#f59e0b";case 1:return"#6366f1";default:return"#9ca3af"}}getStructuredCategoryColor(e,n){const r=`${e||""}`.toLowerCase().replace(/[\s/&_-]+/g,""),a={authenticationandsecrets:"#5B7CFA",indiadpdpaidentifiers:"#34C38F",networkanddevice:"#F4B740",demographicinformation:"#EE6B73",paymentinformation:"#5B7CFA",contactinformation:"#5B7CFA",medicalinformation:"#EE6B73",nonpersonal:"#34C38F",sensitiveinformation:"#A8B3C2",digitalfootprints:"#F4B740"};if(a[r])return a[r];const c=["#EE6B73","#F4B740","#34C38F","#A8B3C2","#5B7CFA"];return c[n%c.length]}get unstructuredSourcesCount(){return this.getListCount(this.unstructuredDashboardStats?.uniqueSourceSystems,this.getUniqueFileValues("source_system"))}get unstructuredTotalDocuments(){return this.toNumber(this.unstructuredDashboardStats?.totalFiles??this.unstructuredDashboardStats?.dashboardSummary?.total_files??this.unstructuredDashboardSummary?.total_files??this.getUnstructuredFiles().length)}get unstructuredCategoriesCount(){return this.getUnstructuredCategoryValues().length||this.getUniqueFindingValues("category").length}get unstructuredSensitiveFiles(){return this.toNumber(this.unstructuredDashboardStats?.dashboardSummary?.files_with_pii??this.unstructuredDashboardStats?.files_with_pii??this.unstructuredDashboardSummary?.files_with_pii)}get unstructuredFileTypeTotal(){return this.unstructuredFileTypeChart.reduce((e,n)=>e+this.toNumber(n.value),0)}get unstructuredSourceTypeTotal(){return this.unstructuredSourceTypeChart.reduce((e,n)=>e+this.toNumber(n.value),0)}getMetricMax(e){return Math.max(...(e||[]).map(n=>this.toNumber(n.value)),0)}formatMetricValue(e){return this.toNumber(e).toLocaleString("en-US")}formatPercent(e){const n=this.toNumber(e);return`${Math.round(n)}%`}getDonutDashArray(e){const n=Math.max(0,Math.min(100,this.toNumber(e?.percent)));return`${n} ${100-n}`}getSourceDonutDashOffset(e){return-this.unstructuredSourceTypeChart.slice(0,e).reduce((n,r)=>n+this.toNumber(r.percent),0)}
1getSourceDonutLabelX(e){return this.getSourceDonutLabelPosition(e).x}getSourceDonutLabelY(e){return this.getSourceDonutLabelPosition(e).y}getSourceDonutLabelColor(e){return["#8E3BAA","#44B5E9","#18D4D4"].includes(e.color||"")?"#ffffff":"#0f172a"}getSourceTooltip(e){return`${e.label}: ${this.formatPercent(e.percent)} (${this.formatMetricValue(e.value)})`}getBarTooltip(e){return`${e.label}: ${this.formatMetricValue(e.value)}`}showChartTooltip(e,n){this.chartTooltip={show:!0,text:n,left:e.clientX+12,top:e.clientY+12}}moveChartTooltip(e){this.chartTooltip.show&&(this.chartTooltip.left=e.clientX+12,this.chartTooltip.top=e.clientY+12)}hideChartTooltip(){this.chartTooltip.show=!1}getCategoryAxisTicks(){const e=this.getCategoryAxisMax(),n=this.getAxisStep(e);return Array.from({length:Math.floor(e/n)+1},(r,a)=>a*n)}getCategoryAxisMax(){const e=this.getMetricMax(this.unstructuredDataCategoryChart);if(!e)return 0;const n=this.getAxisStep(e);return Math.ceil(e/n)*n}getCategoryGridStep(){const e=this.getCategoryAxisTicks();return e.length<2?"100%":100/(e.length-1)+"%"}getCategoryTickLeft(e){const n=this.getCategoryAxisMax();return n?e/n*100+"%":"0%"}applyUnstructuredDashboardStats(e){const n=e?.unstructuredStats||e?.storageReportSummary||e?.storageReport||null;if(!n&&!e?.unstructuredSummary)return;const r=n||this.unstructuredDashboardStats||{},a=Array.isArray(r?.files)&&r.files.length?r.files:this.allStorageFiles||[];this.unstructuredDashboardStats=r,this.unstructuredDashboardSummary=r?.dashboardSummary||e?.unstructuredSummary||this.unstructuredDashboardSummary,this.unstructuredSourceTypeChart=this.mapSourceTypeChart(r?.countBySourceType||[]),this.unstructuredSourceTypeChart.length||(this.unstructuredSourceTypeChart=this.mapSourceTypeChart(this.buildCountItems(a,"source_system","source_system"))),this.unstructuredFileTypeChart=this.mapUnstructuredMetricChart(r?.countByFileType||[],"file_type","count"),this.unstructuredFileTypeChart.length||(this.unstructuredFileTypeChart=this.mapUnstructuredMetricChart(this.buildCountItems(a,"file_type","file_type"),"file_type","count")),this.unstructuredDataCategoryChart=this.mapUnstructuredMetricChart(r?.countByCategory||[],"entity_type","count"),this.unstructuredDataCategoryChart.length||(this.unstructuredDataCategoryChart=this.mapUnstructuredMetricChart(this.buildFindingCountItems(a,"category","entity_type"),"entity_type","count")),this.unstructuredTopAssets=this.mapTopAssets(r?.top10Assets||[]),this.unstructuredTopAssets.length||(this.unstructuredTopAssets=this.mapTopAssets(this.buildCountItems(a,"source_system","source_system","file_count")))}mapSourceTypeChart(e){const n=(e||[]).reduce((r,a)=>r+this.toNumber(a?.count??a?.value),0);return(e||[]).map((r,a)=>{const c=String(r?.source_system||r?.label||r?.name||"").trim(),p=this.toNumber(r?.count??r?.value),d=this.toNumber(r?.percentage)||(n?p/n*100:0);return{label:this.formatSourceLabel(c),rawLabel:c,value:p,percent:d,color:this.unstructuredChartColors[a%this.unstructuredChartColors.length],icon:this.getSourceIcon(c)}}).filter(r=>!!r.rawLabel)}mapUnstructuredMetricChart(e,n,r){return(e||[]).map((a,c)=>({label:this.toDisplayLabel(a?.[n]??a?.label??a?.name),value:this.toNumber(a?.[r]??a?.count??a?.value),color:this.unstructuredChartColors[c%this.unstructuredChartColors.length]})).filter(a=>!!a.label)}mapTopAssets(e){return(e||[]).slice(0,10).map((n,r)=>{const a=String(n?.source_system||n?.label||n?.name||"").trim(),c=this.toNumber(n?.file_count??n?.count??n?.value);return{label:this.formatSourceLabel(a),rawLabel:a,value:c,percent:0,color:this.unstructuredChartColors[r%this.unstructuredChartColors.length],icon:this.getSourceIcon(a)}}).filter(n=>!!n.rawLabel)}getListCount(e,n=[]){return Array.isArray(e)&&e.length?e.length:this.toNumber(e)||n.length}getUnstructuredFiles(){return Array.isArray(this.unstructuredDashboardStats?.files)?this.unstructuredDashboardStats.files:this.allStorageFiles||[]}getUniqueFileValues(e){return Array.from(new Set(this.getUnstructuredFiles().map(n=>n?.[e]).filter(Boolean)))}getUnstructuredCategoryValues(){const e=this.unstructuredDashboardStats?.uniqueCategories;return Array.isArray(e)?Array.from(new Set(e.filter(n=>null!=n&&""!==n))):[]}getUniqueFindingValues(e){const n=this.getUnstructuredFiles().reduce((r,a)=>r.concat((a.findings||[]).map(c=>c?.[e])),[]);
1return Array.from(new Set(n.filter(Boolean)))}buildCountItems(e,n,r,a="count"){const c=new Map;return(e||[]).forEach(p=>{const d=p?.[n];d&&c.set(d,(c.get(d)||0)+1)}),Array.from(c.entries()).map(([p,d])=>({[r]:p,[a]:d,count:d}))}buildFindingCountItems(e,n,r){const a=new Map;return(e||[]).forEach(c=>(c.findings||[]).forEach(p=>{const d=p?.[n];d&&a.set(d,(a.get(d)||0)+1)})),Array.from(a.entries()).map(([c,p])=>({[r]:c,count:p}))}getAxisStep(e){if(!e)return 1;const n=Math.pow(10,Math.floor(Math.log10(e/5))),r=e/5/n;return Math.max(1,n*(r<=1?1:r<=2?2:r<=5?5:10))}getSourceDonutLabelPosition(e){const a=(this.unstructuredSourceTypeChart.slice(0,e).reduce((p,d)=>p+this.toNumber(d.percent),0)+this.toNumber(this.unstructuredSourceTypeChart[e]?.percent)/2)/100*Math.PI*2-Math.PI/2;return{x:22+16*Math.cos(a),y:22+16*Math.sin(a)}}toDisplayLabel(e){const n=String(e||"").trim();return n?n.replace(/[_-]+/g," ").replace(/\s+/g," ").replace(/\w\S*/g,r=>r.charAt(0).toUpperCase()+r.slice(1).toLowerCase()):""}formatSourceLabel(e){return{s3:"Amazon S3",minio:"MinIO",onedrive:"OneDrive",gdrive:"Google Drive",gcs:"Google Cloud Storage",sharepoint:"SharePoint",azure:"Azure",postgres:"PostgreSQL",mysql:"MySQL",mariadb:"MariaDB",mssql:"Microsoft SQL Server",saphana:"SAP HANA",bigquery:"BigQuery",dynamodb:"AWS DynamoDB",mongodb:"MongoDB",salesforce:"Salesforce"}[this.getSourceKey(e)]||this.toDisplayLabel(e)}getSourceIcon(e){return{s3:"assets/card-logo/s3.svg",minio:"assets/card-logo/minio.svg",onedrive:"assets/card-logo/onedrive-logo.png",gdrive:"assets/card-logo/gdrive.svg",gcs:"assets/card-logo/google-cloud-storage-logo.png",sharepoint:"assets/card-logo/sharepoint.svg",azure:"assets/card-logo/azure.svg",postgres:"assets/imgs/db/PostgreSQL.png",mysql:"assets/imgs/db/mysql.png",mariadb:"assets/imgs/db/mysql.png",mssql:"assets/card-logo/mssql.svg",snowflake:"assets/card-logo/snowflake.svg",clickhouse:"assets/card-logo/clickhouse.svg",oracle:"assets/card-logo/oracle.svg",bigquery:"assets/card-logo/bigquery.svg",athena:"assets/card-logo/athena.svg",neon:"assets/card-logo/neon.svg",supabase:"assets/card-logo/supabase.svg",mongodb:"assets/card-logo/mongodb.svg",dynamodb:"assets/card-logo/dynamodb.svg",saphana:"assets/card-logo/sap-hana.svg",salesforce:"assets/card-logo/salesforce.svg"}[this.getSourceKey(e)]||""}getSourceKey(e){const n=String(e||"").trim().toLowerCase().replace(/[\s_-]+/g,"");return{postgresql:"postgres",postgres:"postgres",mysql:"mysql",mariadb:"mariadb",mssql:"mssql",sqlserver:"mssql",microsoftsqlserver:"mssql",snowflake:"snowflake",clickhouse:"clickhouse",oracle:"oracle",bigquery:"bigquery",athena:"athena",neon:"neon",supabase:"supabase",mongodb:"mongodb",salesforce:"salesforce",dynamodb:"dynamodb",awsdynamodb:"dynamodb",s3:"s3",amazons3:"s3",minio:"minio",onedrive:"onedrive",gdrive:"gdrive",googledrive:"gdrive",gcs:"gcs",googlecloudstorage:"gcs",sharepoint:"sharepoint",azure:"azure",azureblob:"azure",azureblobstorage:"azure",saphana:"saphana",hana:"saphana"}[n]||n}closeModal(e){this.failedTablesVisible=!1}formatDashboardCount(e){const n=this.toNumber(e);return n<10?`0${n}`:`${n}`}getMetricPercent(e,n){const r=this.toNumber(e),a=this.toNumber(n);return a?Math.max(0,Math.min(100,r/a*100)):0}extractScanJobsBySystem(e){const n=[e?.scanJobsBySystem,e?.scan_jobs_by_system,e?.scanJobs,e?.jobsBySystem,e?.systemSummary,e?.system_summary,e?.dashboardSummary?.scanJobsBySystem,e?.dashboardSummary?.scan_jobs_by_system];for(const a of n){const c=this.mapMetricSource(a);if(c.length)return c.sort((p,d)=>d.value-p.value)}const r=Array.isArray(e?.fullStructuredData)&&e.fullStructuredData.length?e.fullStructuredData:[];if(r.length){const a=this.groupScanJobsBySystem(r);if(a.length)return a}return this.scanJobsBySystem.length?this.scanJobsBySystem:this.groupScanJobsBySystem(e?.data||[])}mapMetricSource(e){return Array.isArray(e)?e.map(n=>({label:String(n?.label||n?.name||n?.system||n?.system_type||n?.source_system||n?.connection_name||n?.source_name||"").trim(),value:this.toNumber(n?.value??n?.count??n?.total)})).filter(n=>!!n.label):e&&"object"==typeof e?Object.entries(e).map(([n,r])=>({label:String(n).trim(),value:this.toNumber(r)})).filter(n=>!!n.label):[]}toNumber(e){const n=Number(e);return Number.isFinite(n)?n:0}getValidAnalyseValues(e){return Array.isArray(e)?e.map(n=>`${n??""}`.trim()).filter(n=>!!n):[]}groupScanJobsBySystem(e){const n=new Map;
1return(e||[]).forEach(r=>{const a=r?.DataDiscoveryConnection?.system_type||r?.system_type||r?.source_system||r?.name;a&&n.set(a,(n.get(a)||0)+1)}),Array.from(n.entries()).map(([r,a])=>({label:r,value:a})).sort((r,a)=>a.value-r.value)}onRowEditSave(e){this.svc.updateReportRow(e.id,{category:e.category,risk_level:e.risk_level}).subscribe({next:()=>{this.messageService.add({severity:"success",summary:"Success",detail:"Row updated successfully"})},error:()=>{this.openAnalyseModal(e),this.messageService.add({severity:"error",summary:"Update Failed",detail:"Changes reverted"})}})}getPodConnectionId(e){return e&&"object"==typeof e?this.normalizePodConnectionId("pod_connection_id"in e?e.pod_connection_id:e.DataDiscoveryConnection&&"object"==typeof e.DataDiscoveryConnection&&"pod_connection_id"in e.DataDiscoveryConnection?e.DataDiscoveryConnection.pod_connection_id:null):null}normalizePodConnectionId(e){return null==e?null:String(e).trim()||null}isPodResource(...e){for(const n of e){if(!n||"object"!=typeof n)continue;const r=[n?.is_pod_resource,n?.isPodResource,n?.rawRow?.is_pod_resource,n?.rawRow?.isPodResource];for(const a of r){if(!0===a)return!0;if(!1===a)return!1;if("string"==typeof a){const c=a.trim().toLowerCase();if("true"===c)return!0;if("false"===c)return!1}}}return!1}openAnalyseModal(e){if(null!==this.analyseLoadingRowId)return;const n=e?.id?String(e.id):"";if(!n)return;const r=this.getPodConnectionId(e),a=null===r?this.svc.analyseRow(n):this.svc.analysePodConnectionRow(n,r),c=n||"__data_discovery_analyse__";this.analyseLoadingRowId=c,a.pipe((0,T.x)(()=>{this.analyseLoadingRowId===c&&(this.analyseLoadingRowId=null)})).subscribe({next:p=>{const d=(p.columns||[]).filter(l=>this.shouldDisplayAnalyseRow(l));this.analyseColumns=["Column","Category","Classification","Risk Level","Values"],this.analyseRows=d.map(l=>({Column:l.name,Category:this.getAnalyseDisplayValue(l.category),Classification:this.getAnalyseDisplayValue(l.classification),"Risk Level":this.riskLabel(l.risk_level),risk_level:l.risk_level,Values:this.getValidAnalyseValues(l.values)})),this.analyseVisible=!0},error:p=>{this.analyseVisible=!1,this.analyseColumns=[],this.analyseRows=[],this.messageService.add({severity:"error",summary:"Error",detail:null!==r?"Failed to analyze via POD":this.getErrorMessage(p,"Failed to analyse report")})}})}get isAnalyseRequestInFlight(){return null!==this.analyseLoadingRowId}isAnalyseLoading(e){return!!e?.id&&this.analyseLoadingRowId===String(e.id)}shouldDisplayAnalyseRow(e){const n=this.normalizeAnalyseValue(e?.category),r=this.normalizeAnalyseValue(e?.classification);return!("nonpersonal"===n.toLowerCase()||!n&&!r)}getAnalyseDisplayValue(e){return this.normalizeAnalyseValue(e)||"----"}normalizeAnalyseValue(e){const n=String(e??"").trim(),r=n.toLowerCase();return n&&"null"!==r&&"undefined"!==r&&"--"!==n&&"---"!==n&&"----"!==n?n:""}closeAnalyseVisible(e){this.analyseVisible=e}getErrorMessage(e,n){return"string"==typeof e?.error?.error?e.error.error:"string"==typeof e?.error?.message?e.error.message:"string"==typeof e?.error?e.error:"string"==typeof e?.message?e.message:n}OnDestroy(){this.selectedCategory=null,this.selectedConnection=null,this.selectedTableName=null,this.selectedTableColumn=null}};let i=s;return s.\u0275fac=function(n){return new(n||s)(t.Y36(Mt),t.Y36(C.ez))},s.\u0275cmp=t.Xpm({type:s,selectors:[["pp-discovery"]],viewQuery:function(n,r){if(1&n&&(t.Gf(Go,5),t.Gf(Bo,5)),2&n){let a;t.iGM(a=t.CRH())&&(r.canvasRef=a.first),t.iGM(a=t.CRH())&&(r.canvasWrapper=a.first)}},features:[t._Bn([Mt])],decls:2,vars:3,consts:[[4,"ngIf"],["class","delete-success-toast",4,"ngIf"],["class","save-success-toast",4,"ngIf"],[1,"col-md-12",2,"margin-bottom","25px","margin-top","15px","margin-left","6.5px"],[1,"d-sm-flex","align-items-center","justify-content-between"],["aria-label","breadcrumb",1,"bredcrub-row",2,"margin-left","-14px"],[1,"breadcrumb","breadcrumb-style1","mg-b-10"],[1,"breadcrumb-item"],["routerLink","/home/welcome",3,"queryParams"],[1,"breadcrumb-item","active"],["class","pp-px-6 pp-pt-6 pp-pb-4 dd-page-shell dd-page-shell--header",4,"ngIf"],["class","pp-px-6 pp-pb-6 pp-pt-0 dd-page-shell dd-page-shell--content",4,"ngIf","ngIfElse"],["loader",""],[1,"delete-success-toast"],["aria-label","Close",1,"delete-success-close",3,"click"],[1,"save-success-toast"],[1,"pp-px-6","pp-pt-6","pp-pb-4","dd-p
1age-shell","dd-page-shell--header"],[1,"dd-dashboard-header"],[1,"pp-text-xl","pp-font-extrabold","pp-text-slate-800","dd-dashboard-title"],[1,"view-toggle"],[1,"view-tab",3,"click"],[1,"pp-px-6","pp-pb-6","pp-pt-0","dd-page-shell","dd-page-shell--content"],["position","bottom-right",3,"baseZIndex"],[1,"dd-structured-dashboard","pp-mb-6"],[1,"dd-overview-panel"],[1,"dd-summary-cards","dd-summary-cards--structured"],[1,"dd-summary-card"],["aria-hidden","true",1,"dd-summary-card__bg-icon"],["viewBox","0 0 120 120","fill","none"],["cx","60","cy","24","rx","28","ry","10","stroke","currentColor","stroke-width","8"],["d","M32 24V72C32 77.523 44.536 82 60 82C75.464 82 88 77.523 88 72V24","stroke","currentColor","stroke-width","8"],["d","M32 48C32 53.523 44.536 58 60 58C75.464 58 88 53.523 88 48","stroke","currentColor","stroke-width","8"],[1,"dd-summary-card__label"],[1,"dd-summary-card__value"],[1,"dd-summary-card__meta"],["cx","48","cy","24","rx","22","ry","8","stroke","currentColor","stroke-width","8"],["d","M26 24V64C26 68.418 35.85 72 48 72C60.15 72 70 68.418 70 64V24","stroke","currentColor","stroke-width","8"],["d","M26 43C26 47.418 35.85 51 48 51C60.15 51 70 47.418 70 43","stroke","currentColor","stroke-width","8"],["d","M78 26L96 34V49C96 60.046 88.807 69.423 78 72C67.193 69.423 60 60.046 60 49V34L78 26Z","stroke","currentColor","stroke-width","8","stroke-linejoin","round"],["x","26","y","24","width","12","height","54","rx","4","stroke","currentColor","stroke-width","8"],["x","46","y","18","width","12","height","60","rx","4","stroke","currentColor","stroke-width","8"],["x","66","y","30","width","12","height","48","rx","4","stroke","currentColor","stroke-width","8"],["x","86","y","22","width","12","height","56","rx","4","stroke","currentColor","stroke-width","8"],["x","24","y","24","width","72","height","56","rx","8","stroke","currentColor","stroke-width","8"],["d","M24 43H96","stroke","currentColor","stroke-width","8"],["d","M48 24V80","stroke","currentColor","stroke-width","8"],["d","M72 24V80","stroke","currentColor","stroke-width","8"],["d","M24 61H96","stroke","currentColor","stroke-width","8"],["cx","42","cy","28","rx","18","ry","7","stroke","currentColor","stroke-width","8"],["d","M24 28V56C24 59.866 32.059 63 42 63C51.941 63 60 59.866 60 56V28","stroke","currentColor","stroke-width","8"],["d","M24 42C24 45.866 32.059 49 42 49C51.941 49 60 45.866 60 42","stroke","currentColor","stroke-width","8"],["d","M82 28L96 52H68L82 28Z","stroke","currentColor","stroke-width","8","stroke-linejoin","round"],["d","M82 38V44","stroke","currentColor","stroke-width","8","stroke-linecap","round"],["cx","82","cy","49","r","2.5","fill","currentColor"],["type","button",1,"dd-summary-card__link",3,"click"],[1,"dd-analytics-grid","dd-analytics-grid--dual"],[1,"dd-panel","dd-panel--chart"],[1,"dd-panel__header"],[1,"dd-panel__body","dd-risk-chart"],[1,"dd-risk-chart__canvas-pane"],[1,"dd-risk-chart__canvas-wrap"],["canvasWrapper",""],[1,"dd-risk-chart__canvas-element"],["connectionsCanvas",""],[1,"dd-risk-chart__center"],[1,"dd-risk-chart__center-value"],[1,"dd-risk-chart__center-label"],[1,"dd-risk-chart__legend"],["class","dd-risk-chart__legend-item",4,"ngFor","ngForOf"],["class","dd-chart-floating-tooltip",3,"left","top",4,"ngIf"],[1,"dd-panel__body","dd-category-bars"],["class","dd-category-row",4,"ngFor","ngForOf"],[1,"pp-bg-white","pp-rounded-xl","pp-shadow-sm","pp-p-3","pp-mb-4","dd-flat-shell","dd-filter-shell"],[1,"dd-filter-row"],["placeholder","Filter by Connection Name",1,"dd-filter-dropdown",3,"options","ngModel","showClear","ngModelChange","onChange"],["placeholder","Filter by Category",1,"dd-filter-dropdown",3,"showClear","options","ngModel","onChange","ngModelChange"],["placeholder","Filter by Table Name",1,"dd-filter-dropdown",3,"showClear","options","ngModel","onChange","ngModelChange"],["placeholder","Filter by Table Column",1,"dd-filter-dropdown",3,"showClear","options","ngModel","onChange","ngModelChange"],["placeholder","Filter by Risk Level","optionLabel","label",1,"dd-filter-dropdown",3,"options","ngModel","showClear","ngModelChange","onChange"],[1,"pp-bg-white","pp-rounded-xl","pp-shadow-md","pp-p-4","dd-flat-shell"],[4,"ngIf","ngIfElse"],["structuredListView",""],["styleClass","dd-analyse-dialog","maskStyleClass","dd-analyse-dialog-mask",3,"visible","modal","contentStyle","draggable","resizable","visibleChange"],["pTemplate","header"],["scrollHeight","300px","styleClass","analyse-table",3,"value","scrollable",4,"ngIf"],[3,"visible","modal","draggable","resizable","visibleChange"],[1,"values-grid"],["class","value-chip-large",4,"ngFor","ngForOf"],[3,"visible","oid","visibleChange","closeModal"],[1,"dd-risk-chart__legend-item"],[1,"dd-risk-chart__legend-meta"],[1,"dd-risk-chart__legend-dot"],[1,"dd-risk-chart__legend-label"],[1,"dd-risk-chart__legend-value"],[1,"dd-chart-floating-tooltip"],[1,"dd-category-row"],[1,"dd-category-row__header"],[1,"dd-category-row__label"],[1,"dd-category-row__value"],[1,"dd-category-row__track"],[1,"dd-category-row__fill"],[1,"dd-results-caption","dd-results-caption--detail","dd-results-caption--structured-detail"],[1,"dd-results-caption__detail-main"],[1,"dd-results-caption__detail-top"],["type","button",1,"dd-back-button",3,"click"],[1,"dd-results-caption__count"],[1,"dd-detail-view__title","dd-detail-view__title--with-icon"],["class","dd-structured-connection-icon",3,"src","alt",4,"ngIf"],[1,"dd-detail-view__meta","dd-detail-view__meta--stack"],["pButton","","type","button",1,"p-button-text","p-button-sm","dd-export-link",3,"disabled","click"],[1,"pi",3,"ngClass"],[1,"dd-structured-connection-icon",3,"src","alt"],["class","dd-structured-detail-shell",4,"ngIf"],["class","dd-structured-table-status dd-structured-table-status--error",4,"ngIf"],["class","dd-structured-table-status",4,"ngIf"],[1,"dd-structured-detail-shell"],[1,"dd-structured-table-wrap","dd-structured-table-wrap--loading"],["aria-hidden","true",1,"dd-structured-table-skeleton"],[1,"dd-structured-table-skeleton__head"],["class","dd-skeleton-line dd-structured-table-skeleton__head-bar",4,"ngFor","ngForOf"],[1,"dd-structured-table-skeleton__body"],["class","dd-structured-table-skeleton__row",4,"ngFor","ngForOf"],[1,"dd-skeleton-line","dd-structured-table-skeleton__head-bar"],[1,"dd-structured-table-skeleton__row"],["class","dd-skeleton-line dd-structured-table-skeleton__cell-bar",4,"ngFor","ngForOf"],[1,"dd-skeleton-line","dd-structured-table-skeleton__cell-bar"],[1,"dd-structured-table-status","dd-structured-table-status--error"],[1,"dd-structured-table-status"],[1,"dd-structured-table-list"],["class","dd-structured-table-group",4,"ngFor","ngForOf"],[1,"dd-structured-pagination","dd-structured-pagination--nested"],[1,"dd-structured-pagination__status"],[1,"dd-structured-pagination__controls"],["type","button",1,"dd-structured-pagination__nav",3,"disabled","click"],[1,"pi","pi-chevron-left"],["type","button","class","dd-structured-pagination__page",3,"is-active","click",4,"ngFor","ngForOf"],[1,"pi","pi-chevron-right"],[1,"dd-structured-table-group"],["role","button","tabindex","0",1,"dd-structured-accordion__row","dd-structured-accordion__row--table",3,"click","keydown"],["type","button","tabindex","-1","aria-hidden","true",1,"dd-structured-accordion__chevron"],[1,"dd-structured-accordion__primary"],[1,"dd-structured-accordion__identity"],["aria-hidden","true",1,"dd-structured-table-group__icon"],["viewBox","0 0 24 24","fill","none"],["x","3.5","y","5.5","width","17","height","13","rx","2","stroke","currentColor","stroke-width","1.8"],["d","M3.5 10.5H20.5","stroke","currentColor","stroke-width","1.8"],["d","M9 5.5V18.5","stroke","currentColor","stroke-width","1.8"],["d","M14.75 5.5V18.5","stroke","currentColor","stroke-width","1.8"],[1,"dd-structured-accordion__title"],[1,"dd-structured-accordion__badges"],["class","dd-structured-badge dd-structured-badge--category",4,"ngFor","ngForOf"],["class","dd-structured-badge dd-structured-badge--count",4,"ngIf"],[1,"dd-structured-accordion__summary"],[1,"dd-structured-accordion__findings"],["class","dd-structured-accordion__panel dd-structured-accordion__panel--table",4,"ngIf"],[1,"dd-structured-badge","dd-structured-badge--category"],[1,"dd-structured-badge","dd-structured-badge--count"],[1,"dd-structured-accordion__panel","dd-structured-accordion__panel--table"],["class","dd-structured-table-wrap",4,"ngIf","ngIfElse"],["noTableReports",""],[1,"dd-structured-table-wrap"],[1,"dd-structured-table"],[1,"dd-structured-table__action-head"],[4,"ngFor","ngForOf"],[1,"dd-inline-tooltip"],[1,"dd-inline-tooltip__text"],[1,"dd-inline-tooltip__content"],["structuredCategoryDisplay",""],["class","dd-inline-tooltip__content",4,"ngIf"],["structuredRiskDisplay",""],[1,"dd-structured-table__action-cell"],["structuredReportActions",""],["optionLabel","label","optionValue","value","appendTo","body","panelStyleClass","dd-structured-table__edit-panel",1,"dd-structured-table__edit-dropdown",3,"options","ngModel","ngModelChange"],[1,"dd-structured-risk-pill"],[1,"dd-structured-risk-pill__dot"],["type","button","aria-label","Save",1,"dd-structured-table__action","dd-structured-table__action--plain","dd-structured-table__action--save",3,"disabled","click"],["type","button","aria-label","Cancel",1,"dd-structured-table__action","dd-structured-table__action--plain","dd-structured-table__action--cancel",3,"disabled","click"],[1,"pi","pi-times"],[1,"dd-inline-tooltip","dd-inline-tooltip--icon","dd-structured-table__analyse-tooltip"],["type","button",1,"dd-structured-table__action","dd-structured-table__action--plain",3,"disabled","click"],[1,"dd-inline-tooltip","dd-inline-tooltip--icon","dd-structured-table__edit-tooltip"],["type","button","aria-label","Edit",1,"dd-structured-table__action","dd-structured-table__action--plain","dd-structured-table__action--edit",3,"disabled","click"],[1,"pi","pi-pencil"],["type","button",1,"dd-structured-pagination__page",3,"click"],[1,"dd-results-caption"],["class","dd-structured-results",4,"ngIf","ngIfElse"],["emptyStructuredResults",""],[1,"dd-structured-pagination"],[1,"dd-structured-results"],["class","dd-structured-accordion",4,"ngFor","ngForOf"],[1,"dd-structured-accordion"],["role","button","tabindex","0",1,"dd-structured-accordion__row",3,"click","keydown"],["class","dd-structured-connection-icon-wrap","aria-hidden","true",4,"ngIf"],[1,"dd-structured-accordion__meta"],["class","dd-salesforce-meta",4,"ngIf"],["aria-hidden","true",1,"dd-structured-connection-icon-wrap"],[1,"dd-salesforce-meta"],[1,"dd-empty-table-cell","dd-empty-table-cell--standalone"],[2,"width","100%","display","flex"],[2,"display","flex","align-items","center","justify-items","center","gap","1rem","margin-left","auto"],[2,"cursor","pointer",3,"click"],["scrollHeight","300px","styleClass","analyse-table",3,"value","scrollable"],["pTemplate","body"],["class","truncate-header",3,"title",4,"ngFor","ngForOf"],[1,"truncate-header",3,"title"],[3,"pEditableRow"],[1,"pp-font-semibold"],[1,"pp-flex","pp-items-center","pp-gap-2"],[1,"pp-w-3","pp-h-3","pp-rounded-full"],["noValues",""],[1,"value-chip-container"],["class","value-chip",4,"ngFor","ngForOf"],["class","view-more-btn",3,"click",4,"ngIf"],[1,"value-chip"],[1,"view-more-btn",3,"click"],[1,"n
1o-value"],[1,"values-header"],[1,"pi","pi-times","close-icon",3,"click"],[1,"value-chip-large"],[1,"dd-unstructured-dashboard"],[1,"dd-unstructured-summary-grid","pp-mb-4"],[1,"dd-unstructured-summary-card"],["aria-hidden","true",1,"dd-unstructured-summary-card__bg-icon"],["d","M22 42H46L56 52H98V84C98 89.523 93.523 94 88 94H32C26.477 94 22 89.523 22 84V42Z","stroke","currentColor","stroke-width","8","stroke-linejoin","round"],["d","M22 42V34C22 28.477 26.477 24 32 24H44L54 34H88C93.523 34 98 38.477 98 44V52","stroke","currentColor","stroke-width","8","stroke-linejoin","round"],[1,"dd-unstructured-summary-card__label"],[1,"dd-unstructured-summary-card__value"],["d","M38 20H72L90 38V92C90 95.314 87.314 98 84 98H38C34.686 98 32 95.314 32 92V26C32 22.686 34.686 20 38 20Z","stroke","currentColor","stroke-width","8","stroke-linejoin","round"],["d","M72 20V38H90","stroke","currentColor","stroke-width","8","stroke-linejoin","round"],["d","M44 56H78","stroke","currentColor","stroke-width","8","stroke-linecap","round"],["d","M44 72H78","stroke","currentColor","stroke-width","8","stroke-linecap","round"],["d","M30 38H74C78.418 38 82 41.582 82 46V82C82 86.418 78.418 90 74 90H30C25.582 90 22 86.418 22 82V46C22 41.582 25.582 38 30 38Z","stroke","currentColor","stroke-width","8"],["d","M82 46L96 58L82 70","stroke","currentColor","stroke-width","8","stroke-linecap","round","stroke-linejoin","round"],["cx","42","cy","56","r","5","fill","currentColor"],["d","M60 48L78 56V71C78 82.046 70.807 91.423 60 94C49.193 91.423 42 82.046 42 71V56L60 48Z","stroke","currentColor","stroke-width","8","stroke-linejoin","round"],[1,"dd-unstructured-chart-grid","pp-mb-4"],[1,"dd-unstructured-panel"],[1,"dd-unstructured-panel__header"],["class","dd-risk-chart dd-risk-chart--source",4,"ngIf","ngIfElse"],["noSourceTypeChart",""],[1,"dd-unstructured-panel__total"],[1,"dd-unstructured-panel__total-mark"],["class","dd-category-bars",4,"ngIf","ngIfElse"],["noFileTypeChart",""],["class","dd-category-chart",4,"ngIf","ngIfElse"],["noDataCategoryChart",""],["class","dd-top-assets",4,"ngIf","ngIfElse"],["noTopAssets",""],[1,"dd-filter-row","dd-filter-row--unstructured"],["placeholder","Filter by Category",1,"dd-filter-dropdown",3,"options","ngModel","showClear","ngModelChange","onChange"],["placeholder","Filter by Risk Level","optionLabel","label","optionValue","value",1,"dd-filter-dropdown",3,"options","ngModel","showClear","ngModelChange","onChange"],["placeholder","Filter by Source Name",1,"dd-filter-dropdown",3,"options","ngModel","showClear","ngModelChange","onChange"],["placeholder","Filter by Entity Type",1,"dd-filter-dropdown",3,"options","ngModel","showClear","ngModelChange","onChange"],["placeholder","Filter by Data Source",1,"dd-filter-dropdown",3,"options","ngModel","showClear","ngModelChange","onChange"],["storageSourceIcon",""],["storageSourceListView",""],["maskStyleClass","dd-evidence-dialog-mask",3,"visible","modal","showHeader","closable","dismissableMask","baseZIndex","contentStyle","draggable","resizable","visibleChange","onHide"],[1,"dd-evidence-dialog"],[1,"dd-evidence-dialog__header"],[1,"dd-evidence-dialog__header-copy"],[1,"dd-evidence-dialog__title"],[1,"dd-evidence-dialog__subtitle"],["type","button","aria-label","Close evidence preview",1,"dd-evidence-dialog__icon-button",3,"click"],[1,"dd-evidence-dialog__body"],["class","dd-evidence-dialog__table-wrap",4,"ngIf","ngIfElse"],["evidencePreviewEmpty",""],[1,"dd-evidence-dialog__footer"],["type","button",1,"dd-evidence-dialog__close-button",3,"click"],["type","button",1,"dd-evidence-dialog__view-button",3,"disabled","click"],["class","pi pi-spinner pi-spin","aria-hidden","true",4,"ngIf"],[1,"dd-risk-chart","dd-risk-chart--source"],[1,"dd-risk-chart__canvas-wrap","dd-source-chart__canvas-wrap"],["viewBox","0 0 44 44","role","img",1,"dd-source-chart__donut","dd-source-chart__donut--large"],["cx","22","cy","22","r","19.2","pathLength","100",1,"dd-source-chart__track"],["class","dd-source-chart__segment","cx","22","cy","22","r","19.2","pathLength","100",3,"mouseenter","mousemove","mouseleave",4,"ngFor","ngForOf"],["cx","22","cy","22","r","19.2","pathLength","100",1,"dd-source-chart__segment",3,"mouseenter","mousemove","mouseleave"],[1,"dd-empty-state"],[1,"dd-category-bars"],["class","dd-category-row dd-tooltip-host",4,"ngFor","ngForOf"],[1,"dd-category-row","dd-tooltip-host"],[1,"dd-chart-tooltip"],[1,"dd-category-chart"],[1,"dd-category-chart__axis-label"],[1,"dd-category-chart__plot"],["class","dd-category-chart__row dd-tooltip-host",4,"ngFor","ngForOf"],[1,"dd-category-chart__ticks"],["class","dd-category-chart__tick",3,"dd-category-chart__tick--first","dd-category-chart__tick--last","left",4,"ngFor","ngForOf"],[1,"dd-category-chart__x-label"],[1,"dd-category-chart__row","dd-tooltip-host"],[1,"dd-category-chart__label"],[1,"dd-category-chart__axis"],[1,"dd-category-chart__track"],[1,"dd-category-chart__fill"],[1,"dd-category-chart__tick"],[1,"dd-top-assets"],["class","dd-top-assets__row",4,"ngFor","ngForOf"],[1,"dd-top-assets__row"],[1,"dd-top-assets__name"],[1,"dd-top-assets__icon",3,"ngClass"],[3,"src","alt",4,"ngIf","ngIfElse"],["sourceFallbackIcon",""],[1,"dd-top-assets__value"],[3,"src","alt"],["aria-hidden","true",1,"dd-source-group__icon"],["class","dd-files-table__source-svg","viewBox","0 0 24 24",4,"ngIf"],["class","dd-files-table__source-icon",3,"src","alt",4,"ngIf"],["viewBox","0 0 24 24",1,"dd-files-table__source-svg"],["x","2","y","3","width","4","height","3","rx","0.8","fill","#FF7A1A"],["x","7.5","y","3","width","14.5","height","3","rx","0.8","fill","#FF7A1A"],["x","2","y","10.5","width","4","height","3","rx","0.8","fill","#FF7A1A"],["x","7.5","y","10.5","width","14.5","height","3","rx","0.8","fill","#FF7A1A"],["x","2","y","18","width","4","height","3","rx","0.8","fill","#FF7A1A"],["x","7.5","y","18","width","14.5","height","3","rx","0.8","fill","#FF7A1A"],[1,"dd-files-table__source-icon",3,"src","alt"],[1,"dd-results-caption","dd-results-caption--detail"],[1,"dd-results-caption__detail-copy"],[1,"dd-results-caption__detail-top","dd-results-caption__detail-top--storage"],[1,"dd-results-caption__count","dd-results-caption__count--right"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"dd-detail-view__meta"],[1,"dd-structured-table-wrap","dd-structured-table-wrap--storage"],[1,"dd-structured-table","dd-structured-table--storage"],[1,"dd-files-table__name-cell"],[1,"dd-files-table__file-icon"],[3,"ngSwitch"],["width","18","height","18","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round",4,"ngSwitchCase"],["width","18","height","18","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round",4,"ngSwitchDefault"],[1,"dd-files-table__name-copy"],[1,"dd-inline-tooltip","dd-files-table__name-tooltip"],[1,"dd-inline-tooltip__text","dd-files-table__name"],[1,"dd-files-table__subtext"],["class","dd-files-table__entity-list",4,"ngIf","ngIfElse"],["noSelectedStorageCategories",""],[1,"dd-files-table__risk-cell"],[1,"dd-files-table__risk"],[1,"dd-files-table__risk-dot"],["type","button","aria-label","Analyse",1,"dd-structured-table__action","dd-structured-table__action--plain",3,"disabled","click"],["width","18","height","18","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["d","M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"],["points","14 2 14 8 20 8"],["x1","16","y1","13","x2","8","y2","13"],["x1","16","y1","17","x2","8","y2","17"],["x","2","y","3","width","20","height","14","rx","2"],["x1","8","y1","21","x2","16","y2","21"],["x1","12","y1","17","x2","12","y2","21"],["x","3","y","3","width","18","height","18","rx","2"],["cx","8.5","cy","8.5","r","1.5"],["points","21 15 16 10 5 21"],["d","M9 13L15 19"],["d","M15 13L9 19"],["d","M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"],["points","13 2 13 9 20 9"],[1,"dd-files-table__entity-list"],["class","dd-files-table__entity-text",4,"ngFor","ngForOf"],[1,"dd-files-table__entity-text"],["colspan","8",1,"dd-empty-table-cell"],[1,"pp-flex","pp-justify-between","pp-items-center","pp-pb-3","pp-mb-2",2,"border-bottom","1px solid #e2e8f0"],[1,"pp-text-sm","pp-font-semibold","pp-text-slate-700"],[1,"pp-text-xs","pp-text-gray-500","pp-px-2","pp-py-1","pp-rounded-full",2,"background","#f1f5f9"],[1,"pp-text-xs","pp-text-gray-500"],[1,"pp-text-xs","pp-font-semibold","pp-px-3","pp-py-1","pp-rounded-lg",2,"background","#f1f5f9","color","#334155"],["storageFilesEmptyState",""],[1,"dd-structured-pagination","dd-files-table__pagination"],["class","dd-structured-accordion dd-structured-accordion--source",4,"ngFor","ngForOf"],[1,"dd-structured-accordion","dd-structured-accordion--source"],[1,"dd-structured-accordion__primary","dd-source-group__primary"],[1,"dd-source-group__identity"],[1,"pp-text-center","pp-text-gray-500","pp-py-12"],[1,"dd-evidence-dialog__table-wrap"],[1,"dd-evidence-dialog__table"],[1,"dd-evidence-dialog__matched-value"],[1,"dd-evidence-dialog__snippet"],["aria-hidden","true",1,"pi","pi-spinner","pi-spin"],[2,"display","flex","justify-content","center","height","100vh","align-items","center"],["diameter","50",3,"strokeWidth"]],template:function(n,r){1&n&&(t.YNc(0,ra,19,13,"div",0),t.ALo(1,"async")),2&n&&t.Q6J("ngIf",t.lcZ(1,1,r.stateObs$))}
1,dependencies:[h.mk,h.sg,h.O5,h.tP,h.RF,h.n9,h.ED,y.rH,F.iA,C.jx,F.D$,M.Hq,u.JJ,u.On,B.Lt,V.V,L.FN,E.Ou,Yo,h.Ov,h.gd,h.OU],styles:['@charset "UTF-8";*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[_ngcontent-%COMP%]::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}[_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-content: ""}html[_ngcontent-%COMP%], [_nghost-%COMP%]{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body[_ngcontent-%COMP%]{margin:0;line-height:inherit}hr[_ngcontent-%COMP%]{height:0;color:inherit;border-top-width:1px}abbr[_ngcontent-%COMP%]:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-size:inherit;font-weight:inherit}a[_ngcontent-%COMP%]{color:inherit;text-decoration:inherit}b[_ngcontent-%COMP%], strong[_ngcontent-%COMP%]{font-weight:bolder}code[_ngcontent-%COMP%], kbd[_ngcontent-%COMP%], samp[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small[_ngcontent-%COMP%]{font-size:80%}sub[_ngcontent-%COMP%], sup[_ngcontent-%COMP%]{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub[_ngcontent-%COMP%]{bottom:-.25em}sup[_ngcontent-%COMP%]{top:-.5em}table[_ngcontent-%COMP%]{text-indent:0;border-color:inherit;border-collapse:collapse}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%], optgroup[_ngcontent-%COMP%], select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button[_ngcontent-%COMP%], select[_ngcontent-%COMP%]{text-transform:none}
1button[_ngcontent-%COMP%], input[_ngcontent-%COMP%]:where([type="button"]), input[_ngcontent-%COMP%]:where([type="reset"]), input[_ngcontent-%COMP%]:where([type="submit"]){-webkit-appearance:button;background-color:transparent;background-image:none}[_ngcontent-%COMP%]:-moz-focusring{outline:auto}[_ngcontent-%COMP%]:-moz-ui-invalid{box-shadow:none}progress[_ngcontent-%COMP%]{vertical-align:baseline}[_ngcontent-%COMP%]::-webkit-inner-spin-button, [_ngcontent-%COMP%]::-webkit-outer-spin-button{height:auto}[type=search][_ngcontent-%COMP%]{-webkit-appearance:textfield;outline-offset:-2px}[_ngcontent-%COMP%]::-webkit-search-decoration{-webkit-appearance:none}[_ngcontent-%COMP%]::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary[_ngcontent-%COMP%]{display:list-item}blockquote[_ngcontent-%COMP%], dl[_ngcontent-%COMP%], dd[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%], hr[_ngcontent-%COMP%], figure[_ngcontent-%COMP%], p[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{margin:0}fieldset[_ngcontent-%COMP%]{margin:0;padding:0}legend[_ngcontent-%COMP%]{padding:0}ol[_ngcontent-%COMP%], ul[_ngcontent-%COMP%], menu[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}dialog[_ngcontent-%COMP%]{padding:0}textarea[_ngcontent-%COMP%]{resize:vertical}input[_ngcontent-%COMP%]::placeholder, textarea[_ngcontent-%COMP%]::placeholder{opacity:1;color:#9ca3af}button[_ngcontent-%COMP%], [role=button][_ngcontent-%COMP%]{cursor:pointer}[_ngcontent-%COMP%]:disabled{cursor:default}img[_ngcontent-%COMP%], svg[_ngcontent-%COMP%], video[_ngcontent-%COMP%], canvas[_ngcontent-%COMP%], audio[_ngcontent-%COMP%], iframe[_ngcontent-%COMP%], embed[_ngcontent-%COMP%], object[_ngcontent-%COMP%]{display:block;vertical-align:middle}img[_ngcontent-%COMP%], video[_ngcontent-%COMP%]{max-width:100%;height:auto}[hidden][_ngcontent-%COMP%]:where(:not([hidden="until-found"])){display:none}.pp-container[_ngcontent-%COMP%]{width:100%}@media (min-width: 640px){.pp-container[_ngcontent-%COMP%]{max-width:640px}}@media (min-width: 768px){.pp-container[_ngcontent-%COMP%]{max-width:768px}}@media (min-width: 1024px){.pp-container[_ngcontent-%COMP%]{max-width:1024px}}@media (min-width: 1280px){.pp-container[_ngcontent-%COMP%]{max-width:1280px}}@media (min-width: 1536px){.pp-container[_ngcontent-%COMP%]{max-width:1536px}}.pp-pointer-events-none[_ngcontent-%COMP%]{pointer-events:none}.pp-inset-0[_ngcontent-%COMP%]{inset:0}.pp-inset-y-0[_ngcontent-%COMP%]{top:0;bottom:0}.pp-bottom-0[_ngcontent-%COMP%]{bottom:0}.pp-left-0[_ngcontent-%COMP%]{left:0}.pp-left-4[_ngcontent-%COMP%]{left:1rem}.pp-right-0[_ngcontent-%COMP%]{right:0}.pp-top-1\\/2[_ngcontent-%COMP%]{top:50%}.-pp-z-10[_ngcontent-%COMP%]{z-index:-10}.pp-col-span-1[_ngcontent-%COMP%]{grid-column:span 1 / span 1}.pp-col-span-11[_ngcontent-%COMP%]{grid-column:span 11 / span 11}.pp-col-span-2[_ngcontent-%COMP%]{grid-column:span 2 / span 2}.pp-col-span-3[_ngcontent-%COMP%]{grid-column:span 3 / span 3}.pp-col-span-9[_ngcontent-%COMP%]{grid-column:span 9 / span 9}.pp-mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.pp-my-2[_ngcontent-%COMP%]{margin-top:.5rem;margin-bottom:.5rem}.pp-mb-0[_ngcontent-%COMP%]{margin-bottom:0}.pp-mb-1[_ngcontent-%COMP%]{margin-bottom:.25rem}.pp-mb-2[_ngcontent-%COMP%]{margin-bottom:.5rem}.pp-mb-3[_ngcontent-%COMP%]{margin-bottom:.75rem}.pp-mb-4[_ngcontent-%COMP%]{margin-bottom:1rem}.pp-mb-6[_ngcontent-%COMP%]{margin-bottom:1.5rem}.pp-mb-8[_ngcontent-%COMP%]{margin-bottom:2rem}.pp-ml-1[_ngcontent-%COMP%]{margin-left:.25rem}.pp-ml-2[_ngcontent-%COMP%]{margin-left:.5rem}.pp-ml-3[_ngcontent-%COMP%]{margin-left:.75rem}.pp-ml-4[_ngcontent-%COMP%]{margin-left:1rem}.pp-ml-6[_ngcontent-%COMP%]{margin-left:1.5rem}.pp-ml-auto[_ngcontent-%COMP%]{margin-left:auto}.pp-mr-1[_ngcontent-%COMP%]{margin-right:.25rem}.pp-mr-2[_ngcontent-%COMP%]{margin-right:.5rem}.pp-mt-1[_ngcontent-%COMP%]{margin-top:.25rem}.pp-mt-10[_ngcontent-%COMP%]{margin-top:2.5rem}.pp-mt-2[_ngcontent-%COMP%]{margin-top:.5rem}.pp-mt-3[_ngcontent-%COMP%]{margin-top:.75rem}.pp-mt-4[_ngcontent-%COMP%]{margin-top:1rem}.pp-mt-5[_ngcontent-%COMP%]{margin-top:1.25rem}.pp-mt-6[_ngcontent-%COMP%]{margin-top:1.5rem}.pp-mt-\\__ph-0__[_ngcontent-%COMP%]{margin-top:3px}.pp-block[_ngcontent-%COMP%]{display:block}.pp-inline-block[_ngcontent-%COMP%]{display:inline-block}.pp-flex[_ngcontent-%COMP%]{display:flex}
1.pp-inline-flex[_ngcontent-%COMP%]{display:inline-flex}.pp-grid[_ngcontent-%COMP%]{display:grid}.pp-hidden[_ngcontent-%COMP%]{display:none}.pp-h-10[_ngcontent-%COMP%]{height:2.5rem}.pp-h-2[_ngcontent-%COMP%]{height:.5rem}.pp-h-20[_ngcontent-%COMP%]{height:5rem}.pp-h-24[_ngcontent-%COMP%]{height:6rem}.pp-h-3[_ngcontent-%COMP%]{height:.75rem}.pp-h-36[_ngcontent-%COMP%]{height:9rem}.pp-h-4[_ngcontent-%COMP%]{height:1rem}.pp-h-5[_ngcontent-%COMP%]{height:1.25rem}.pp-h-6[_ngcontent-%COMP%]{height:1.5rem}.pp-h-72[_ngcontent-%COMP%]{height:18rem}.pp-h-\\__ph-0__[_ngcontent-%COMP%]{height:2px}.pp-h-\\__ph-0__[_ngcontent-%COMP%]{height:calc(100vh - 72px)}.pp-h-full[_ngcontent-%COMP%]{height:100%}.pp-h-px[_ngcontent-%COMP%]{height:1px}.pp-max-h-0[_ngcontent-%COMP%]{max-height:0px}.pp-max-h-36[_ngcontent-%COMP%]{max-height:9rem}.pp-max-h-72[_ngcontent-%COMP%]{max-height:18rem}.pp-max-h-screen[_ngcontent-%COMP%]{max-height:100vh}.pp-min-h-\\__ph-0__[_ngcontent-%COMP%]{min-height:320px}.pp-min-h-\\__ph-0__[_ngcontent-%COMP%]{min-height:90px}.pp-min-h-screen[_ngcontent-%COMP%]{min-height:100vh}.pp-w-1\\/3[_ngcontent-%COMP%]{width:33.333333%}.pp-w-1\\/4[_ngcontent-%COMP%]{width:25%}.pp-w-16[_ngcontent-%COMP%]{width:4rem}.pp-w-20[_ngcontent-%COMP%]{width:5rem}.pp-w-24[_ngcontent-%COMP%]{width:6rem}.pp-w-3[_ngcontent-%COMP%]{width:.75rem}.pp-w-3\\/4[_ngcontent-%COMP%]{width:75%}.pp-w-36[_ngcontent-%COMP%]{width:9rem}.pp-w-4[_ngcontent-%COMP%]{width:1rem}.pp-w-5[_ngcontent-%COMP%]{width:1.25rem}.pp-w-6[_ngcontent-%COMP%]{width:1.5rem}.pp-w-72[_ngcontent-%COMP%]{width:18rem}.pp-w-full[_ngcontent-%COMP%]{width:100%}.pp-min-w-\\__ph-0__[_ngcontent-%COMP%]{min-width:120px}.pp-min-w-full[_ngcontent-%COMP%]{min-width:100%}.pp-max-w-2xl[_ngcontent-%COMP%]{max-width:42rem}.pp-max-w-3xl[_ngcontent-%COMP%]{max-width:48rem}.pp-max-w-4xl[_ngcontent-%COMP%]{max-width:56rem}.pp-max-w-7xl[_ngcontent-%COMP%]{max-width:80rem}.pp-max-w-\\__ph-0__[_ngcontent-%COMP%]{max-width:50%}.pp-max-w-full[_ngcontent-%COMP%]{max-width:100%}.pp-max-w-md[_ngcontent-%COMP%]{max-width:28rem}.pp-max-w-xl[_ngcontent-%COMP%]{max-width:36rem}.pp-max-w-xs[_ngcontent-%COMP%]{max-width:20rem}.pp-flex-1[_ngcontent-%COMP%]{flex:1 1 0%}.pp-border-collapse[_ngcontent-%COMP%]{border-collapse:collapse}.pp--translate-y-1\\/2[_ngcontent-%COMP%]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.pp-rotate-180[_ngcontent-%COMP%]{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.pp-cursor-not-allowed[_ngcontent-%COMP%]{cursor:not-allowed}.pp-cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.pp-select-none[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.pp-grid-cols-1[_ngcontent-%COMP%]{grid-template-columns:repeat(1,minmax(0,1fr))}.pp-grid-cols-12[_ngcontent-%COMP%]{grid-template-columns:repeat(12,minmax(0,1fr))}.pp-grid-cols-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}.pp-flex-col[_ngcontent-%COMP%]{flex-direction:column}.pp-flex-wrap[_ngcontent-%COMP%]{flex-wrap:wrap}.pp-items-start[_ngcontent-%COMP%]{align-items:flex-start}.pp-items-end[_ngcontent-%COMP%]{align-items:flex-end}.pp-items-center[_ngcontent-%COMP%]{align-items:center}.pp-justify-end[_ngcontent-%COMP%]{justify-content:flex-end}.pp-justify-center[_ngcontent-%COMP%]{justify-content:center}.pp-justify-between[_ngcontent-%COMP%]{justify-content:space-between}.pp-justify-items-center[_ngcontent-%COMP%]{justify-items:center}.pp-gap-2[_ngcontent-%COMP%]{gap:.5rem}.pp-gap-3[_ngcontent-%COMP%]{gap:.75rem}.pp-gap-4[_ngcontent-%COMP%]{gap:1rem}.pp-gap-6[_ngcontent-%COMP%]{gap:1.5rem}.pp-gap-8[_ngcontent-%COMP%]{gap:2rem}.pp-gap-x-12[_ngcontent-%COMP%]{column-gap:3rem}.pp-gap-y-12[_ngcontent-%COMP%]{row-gap:3rem}.pp-space-x-3[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.pp-space-x-4[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.pp-space-y-1[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.pp-space-y-2[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.pp-space-y-3[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}
1.pp-space-y-4[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.pp-space-y-6[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.pp-overflow-auto[_ngcontent-%COMP%]{overflow:auto}.pp-overflow-hidden[_ngcontent-%COMP%]{overflow:hidden}.pp-overflow-x-auto[_ngcontent-%COMP%]{overflow-x:auto}.pp-whitespace-nowrap[_ngcontent-%COMP%]{white-space:nowrap}.pp-whitespace-pre-wrap[_ngcontent-%COMP%]{white-space:pre-wrap}.pp-break-words[_ngcontent-%COMP%]{overflow-wrap:break-word}.pp-break-all[_ngcontent-%COMP%]{word-break:break-all}.pp-rounded[_ngcontent-%COMP%]{border-radius:.25rem}.pp-rounded-3xl[_ngcontent-%COMP%]{border-radius:1.5rem}.pp-rounded-full[_ngcontent-%COMP%]{border-radius:9999px}.pp-rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.pp-rounded-md[_ngcontent-%COMP%]{border-radius:.375rem}.pp-border[_ngcontent-%COMP%]{border-width:1px}.pp-border-0[_ngcontent-%COMP%]{border-width:0px}.pp-border-2[_ngcontent-%COMP%]{border-width:2px}.pp-border-b[_ngcontent-%COMP%]{border-bottom-width:1px}.pp-border-t[_ngcontent-%COMP%]{border-top-width:1px}.pp-border-dashed[_ngcontent-%COMP%]{border-style:dashed}.pp-border-blue-300[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity, 1))}.pp-border-gray-200[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.pp-border-gray-300[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.pp-border-red-200[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity, 1))}.pp-border-slate-100[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(241 245 249 / var(--tw-border-opacity, 1))}.pp-border-slate-200[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity, 1))}.pp-border-slate-300[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1))}.pp-border-transparent[_ngcontent-%COMP%]{border-color:transparent}.pp-bg-\\__ph-0__[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(22 191 94 / var(--tw-bg-opacity, 1))}.pp-bg-\\__ph-0__\\/10[_ngcontent-%COMP%]{background-color:#16bf5e1a}.pp-bg-\\__ph-0__\\/15[_ngcontent-%COMP%]{background-color:#16bf5e26}.pp-bg-\\__ph-0__\\/10[_ngcontent-%COMP%]{background-color:#16bf5e1a}.pp-bg-\\__ph-0__[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(246 248 255 / var(--tw-bg-opacity, 1))}.pp-bg-amber-600[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity, 1))}.pp-bg-blue-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.pp-bg-blue-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.pp-bg-emerald-600[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity, 1))}.pp-bg-gray-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.pp-bg-gray-200[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.pp-bg-gray-300[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.pp-bg-gray-50[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.pp-bg-gray-600[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.pp-bg-gray-800[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.pp-bg-gray-900[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.pp-bg-green-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.pp-bg-green-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.pp-bg-pink-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity, 1))}.pp-bg-purple-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity, 1))}.pp-bg-red-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.pp-bg-red-50[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.pp-bg-sky-600[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity, 1))}.pp-bg-slate-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1))}.pp-bg-slate-300[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity, 1))}.pp-bg-slate-50[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1))}.pp-bg-transparent[_ngcontent-%COMP%]{background-color:transparent}.pp-bg-white[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.pp-bg-white\\/60[_ngcontent-%COMP%]{background-color:#fff9}.pp-bg-yellow-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))}.pp-bg-gradient-to-b[_ngcontent-%COMP%]{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.pp-from-\\__ph-0__\\/10[_ngcontent-%COMP%]{--tw-gradient-from: rgb(22 191 94 / .1) var(--tw-gradient-from-position);--tw-gradient-to: rgb(22 191 94 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.pp-to-slate-50[_ngcontent-%COMP%]{--tw-gradient-to: #f8fafc var(--tw-gradient-to-position)}.pp-p-12[_ngcontent-%COMP%]{padding:3rem}.pp-p-2[_ngcontent-%COMP%]{padding:.5rem}.pp-p-3[_ngcontent-%COMP%]{padding:.75rem}.pp-p-4[_ngcontent-%COMP%]{padding:1rem}.pp-p-5[_ngcontent-%COMP%]{padding:1.25rem}.pp-p-6[_ngcontent-%COMP%]{padding:1.5rem}.pp-p-8[_ngcontent-%COMP%]{padding:2rem}.pp-px-10[_ngcontent-%COMP%]{padding-left:2.5rem;padding-right:2.5rem}.pp-px-2[_ngcontent-%COMP%]{padding-left:.5rem;padding-right:.5rem}.pp-px-2\\.5[_ngcontent-%COMP%]{padding-left:.625rem;padding-right:.625rem}.pp-px-3[_ngcontent-%COMP%]{padding-left:.75rem;padding-right:.75rem}.pp-px-4[_ngcontent-%COMP%]{padding-left:1rem;padding-right:1rem}.pp-px-6[_ngcontent-%COMP%]{padding-left:1.5rem;padding-right:1.5rem}.pp-py-0\\.5[_ngcontent-%COMP%]{padding-top:.125rem;padding-bottom:.125rem}.pp-py-1[_ngcontent-%COMP%]{padding-top:.25rem;padding-bottom:.25rem}.pp-py-1\\.5[_ngcontent-%COMP%]{padding-top:.375rem;padding-bottom:.375rem}.pp-py-10[_ngcontent-%COMP%]{padding-top:2.5rem;padding-bottom:2.5rem}.pp-py-12[_ngcontent-%COMP%]{padding-top:3rem;padding-bottom:3rem}.pp-py-2[_ngcontent-%COMP%]{padding-top:.5rem;padding-bottom:.5rem}.pp-py-3[_ngcontent-%COMP%]{padding-top:.75rem;padding-bottom:.75rem}
1.pp-py-4[_ngcontent-%COMP%]{padding-top:1rem;padding-bottom:1rem}.pp-py-6[_ngcontent-%COMP%]{padding-top:1.5rem;padding-bottom:1.5rem}.pp-py-8[_ngcontent-%COMP%]{padding-top:2rem;padding-bottom:2rem}.pp-pb-12[_ngcontent-%COMP%]{padding-bottom:3rem}.pp-pb-16[_ngcontent-%COMP%]{padding-bottom:4rem}.pp-pb-3[_ngcontent-%COMP%]{padding-bottom:.75rem}.pp-pb-4[_ngcontent-%COMP%]{padding-bottom:1rem}.pp-pb-6[_ngcontent-%COMP%]{padding-bottom:1.5rem}.pp-pb-8[_ngcontent-%COMP%]{padding-bottom:2rem}.pp-pl-0[_ngcontent-%COMP%]{padding-left:0}.pp-pl-11[_ngcontent-%COMP%]{padding-left:2.75rem}.pp-pr-3[_ngcontent-%COMP%]{padding-right:.75rem}.pp-pr-4[_ngcontent-%COMP%]{padding-right:1rem}.pp-pt-0[_ngcontent-%COMP%]{padding-top:0}.pp-pt-1[_ngcontent-%COMP%]{padding-top:.25rem}.pp-pt-10[_ngcontent-%COMP%]{padding-top:2.5rem}.pp-pt-12[_ngcontent-%COMP%]{padding-top:3rem}.pp-pt-2[_ngcontent-%COMP%]{padding-top:.5rem}.pp-pt-4[_ngcontent-%COMP%]{padding-top:1rem}.pp-pt-6[_ngcontent-%COMP%]{padding-top:1.5rem}.pp-text-left[_ngcontent-%COMP%]{text-align:left}.pp-text-center[_ngcontent-%COMP%]{text-align:center}.pp-text-right[_ngcontent-%COMP%]{text-align:right}.pp-font-mono[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.pp-text-2xl[_ngcontent-%COMP%]{font-size:1.5rem;line-height:2rem}.pp-text-3xl[_ngcontent-%COMP%]{font-size:1.875rem;line-height:2.25rem}.pp-text-4xl[_ngcontent-%COMP%]{font-size:2.25rem;line-height:2.5rem}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{font-size:11px}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{font-size:12px}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{font-size:13px}.pp-text-base[_ngcontent-%COMP%]{font-size:1rem;line-height:1.5rem}.pp-text-lg[_ngcontent-%COMP%]{font-size:1.125rem;line-height:1.75rem}.pp-text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}.pp-text-xl[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1.75rem}.pp-text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.pp-font-bold[_ngcontent-%COMP%]{font-weight:700}.pp-font-extrabold[_ngcontent-%COMP%]{font-weight:800}.pp-font-medium[_ngcontent-%COMP%]{font-weight:500}.pp-font-normal[_ngcontent-%COMP%]{font-weight:400}.pp-font-semibold[_ngcontent-%COMP%]{font-weight:600}.pp-uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.pp-italic[_ngcontent-%COMP%]{font-style:italic}.pp-leading-5[_ngcontent-%COMP%]{line-height:1.25rem}.pp-leading-6[_ngcontent-%COMP%]{line-height:1.5rem}.pp-leading-7[_ngcontent-%COMP%]{line-height:1.75rem}.pp-leading-tight[_ngcontent-%COMP%]{line-height:1.25}.pp-tracking-wide[_ngcontent-%COMP%]{letter-spacing:.025em}.pp-tracking-wider[_ngcontent-%COMP%]{letter-spacing:.05em}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(6 95 70 / var(--tw-text-opacity, 1))}.pp-text-\\__ph-0__[_ngcontent-%COMP%], .pp-text-\\__ph-0__[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(22 191 94 / var(--tw-text-opacity, 1))}.pp-text-\\__ph-0__\\/30[_ngcontent-%COMP%]{color:#16bf5e4d}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.pp-text-amber-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity, 1))}.pp-text-black[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.pp-text-blue-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.pp-text-blue-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.pp-text-blue-700[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.pp-text-blue-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity, 1))}.pp-text-gray-400[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.pp-text-gray-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.pp-text-gray-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.pp-text-gray-700[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.pp-text-gray-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.pp-text-gray-900[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.pp-text-green-300[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity, 1))}.pp-text-green-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.pp-text-green-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.pp-text-green-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity, 1))}.pp-text-indigo-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity, 1))}.pp-text-purple-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity, 1))}.pp-text-red-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.pp-text-red-700[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.pp-text-red-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.pp-text-rose-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(225 29 72 / var(--tw-text-opacity, 1))}.pp-text-slate-300[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity, 1))}.pp-text-slate-400[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.pp-text-slate-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.pp-text-slate-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.pp-text-slate-700[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.pp-text-slate-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity, 1))}.pp-text-slate-900[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.pp-text-white[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.pp-placeholder-slate-500[_ngcontent-%COMP%]::placeholder{--tw-placeholder-opacity: 1;color:rgb(100 116 139 / var(--tw-placeholder-opacity, 1))}.pp-shadow[_ngcontent-%COMP%]{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
1--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-shadow-\\[0_20px_60px_rgba\\(2\\[_ngcontent-%COMP%], 6\\[_ngcontent-%COMP%], 23\\[_ngcontent-%COMP%], 0\\.08\\)\\][_ngcontent-%COMP%]{--tw-shadow: 0 20px 60px rgba(2,6,23,.08);--tw-shadow-colored: 0 20px 60px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-shadow-inner[_ngcontent-%COMP%]{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-shadow-lg[_ngcontent-%COMP%]{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-sha
1dow)}.pp-shadow-md[_ngcontent-%COMP%]{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-shadow-sm[_ngcontent-%COMP%]{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-outline-none[_ngcontent-%COMP%]{outline:2px solid transparent;outline-offset:2px}.pp-transition[_ngcontent-%COMP%]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.pp-transition-all[_ngcontent-%COMP%]{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.pp-transition-colors[_ngcontent-%COMP%]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.pp-transition-transform[_ngcontent-%COMP%]{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.pp-duration-0[_ngcontent-%COMP%]{transition-duration:0s}[_nghost-%COMP%]{--dd-dashboard-border-color: #d8e0ec78;--dd-dashboard-font-family: "IBM Plex Sans", sans-serif;display:block}.dd-page-shell[_ngcontent-%COMP%], .dd-page-shell[_ngcontent-%COMP%]   button[_ngcontent-%COMP%], .dd-page-shell[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .dd-page-shell[_ngcontent-%COMP%]   select[_ngcontent-%COMP%], .dd-page-shell[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%], .dd-page-shell[_ngcontent-%COMP%]   table[_ngcontent-%COMP%], .dd-page-shell[_ngcontent-%COMP%]   .p-component[_ngcontent-%COMP%]{font-family:var(--dd-dashboard-font-family)}.pp-rounded-2xl[_ngcontent-%COMP%]{border-radius:1rem}.pp-rounded-xl[_ngcontent-%COMP%]{border-radius:.75rem}.pp-shadow-md[_ngcontent-%COMP%]{box-shadow:0 8px 20px #0d263b0d}.pp-shadow-lg[_ngcontent-%COMP%]{box-shadow:0 12px 30px #0d263b0f}.pp-shadow-sm[_ngcontent-%COMP%]{box-shadow:0 6px 12px #0d263b0a}[_nghost-%COMP%]     .p-datatable .p-datatable-tbody>tr:hover{background:#f8fafc}[_nghost-%COMP%]     .p-datatable .p-datatable-wrapper, [_nghost-%COMP%]     .p-datatable .p-datatable-table, [_nghost-%COMP%]     .p-datatable .p-datatable-tbody, [_nghost-%COMP%]     .p-datatable .p-datatable-tbody>tr, [_nghost-%COMP%]     .p-datatable .p-datatable-tbody>tr>td{overflow:visible!important}[_nghost-%COMP%]     .p-datatable .p-datatable-tbody>tr>td{position:relative}[_nghost-%COMP%]     .p-datatable .p-datatable-tbody>tr>td:hover{z-index:40}canvas[_ngcontent-%COMP%]{display:block}.pp-absolute[_ngcontent-%COMP%]{position:absolute}.pp-relative[_ngcontent-%COMP%]{position:relative}@media (max-width: 900px){.pp-grid-cols-3[_ngcontent-%COMP%]{grid-template-columns:repeat(1,minmax(0,1fr))}}.truncate[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dd-inline-tooltip[_ngcontent-%COMP%]{position:relative;display:inline-flex;width:-moz-fit-content;width:fit-content;max-width:100%;min-width:0;vertical-align:middle}.dd-inline-tooltip[_ngcontent-%COMP%]:hover{z-index:45}.dd-inline-tooltip__text[_ngcontent-%COMP%]{display:inline-block;width:-moz-fit-content;width:fit-content;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dd-inline-tooltip__content[_ngcontent-%COMP%]{position:absolute;left:0;bottom:calc(100% + 10px);z-index:10000001;width:max-content;max-width:min(240px,70vw);padding:5px 8px;border:1px solid rgba(148,163,184,.3);border-radius:6px;background:#0f172a;color:#f8fafc;box-shadow:0 14px 28px #0f172a33;font-size:12px;font-weight:500;line-height:1.25;white-space:normal;overflow-wrap:anywhere;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(4px);transition:opacity .08s ease,transform .08s ease,visibility .08s ease}.dd-inline-tooltip__content[_ngcontent-%COMP%]:after{content:"";position:absolute;
1left:16px;top:100%;width:10px;height:10px;background:#0f172a;transform:rotate(45deg) translateY(-5px);border-right:1px solid rgba(148,163,184,.3);border-bottom:1px solid rgba(148,163,184,.3)}.dd-inline-tooltip[_ngcontent-%COMP%]:hover   .dd-inline-tooltip__content[_ngcontent-%COMP%]{opacity:1;visibility:visible;transform:translateY(0)}.dd-dashboard-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:20px}.dd-page-shell[_ngcontent-%COMP%]{background:transparent!important}.dd-page-shell--content[_ngcontent-%COMP%]{min-height:auto}.dd-dashboard-title[_ngcontent-%COMP%]{font-size:clamp(1.48rem,1.95vw,1.88rem);line-height:1.1;letter-spacing:-.02em}.view-toggle[_ngcontent-%COMP%]{display:inline-flex;gap:.5rem;margin-left:auto;flex-shrink:0;padding:4px;border:1px solid var(--dd-dashboard-border-color);border-radius:0;background:#dee9f7}.view-tab[_ngcontent-%COMP%]{min-width:118px;padding:6px 16px;border-radius:0;border:1px solid transparent;background:transparent;color:#272e39;font-weight:600;transition:all .2s ease;cursor:pointer;line-height:1.2}.view-tab.active[_ngcontent-%COMP%]{background:#16a34a;color:#fff;border-color:#16a34a;box-shadow:none}.view-tab[_ngcontent-%COMP%]:hover:not(.active){background:rgba(255,255,255,.4)}[_nghost-%COMP%]     .unstructured-table .p-paginator{justify-content:flex-end}.dd-structured-dashboard[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:30px}.dd-overview-panel[_ngcontent-%COMP%]{margin-top:22px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}.dd-action-cell[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;height:32px}[_nghost-%COMP%]     .dd-action-cell__view.p-button{position:static}.dd-action-column[_ngcontent-%COMP%]{width:72px}.dd-action-column-cell[_ngcontent-%COMP%]{width:72px;text-align:center}.dd-inline-tooltip--icon[_ngcontent-%COMP%]{display:inline-flex;width:auto;min-width:auto;align-items:center;justify-content:center}.dd-inline-tooltip--icon[_ngcontent-%COMP%]   .dd-inline-tooltip__content[_ngcontent-%COMP%]{left:50%;bottom:calc(100% + 8px);max-width:none;white-space:nowrap;transform:translate(-50%) translateY(4px)}.dd-inline-tooltip--icon[_ngcontent-%COMP%]   .dd-inline-tooltip__content[_ngcontent-%COMP%]:after{left:50%;transform:translate(-50%) rotate(45deg) translateY(-5px)}.dd-inline-tooltip--icon[_ngcontent-%COMP%]:hover   .dd-inline-tooltip__content[_ngcontent-%COMP%]{transform:translate(-50%) translateY(0)}.dd-summary-cards[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.dd-summary-cards--compact[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(230px,310px));justify-content:center}.dd-summary-cards--structured[_ngcontent-%COMP%]{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;align-items:stretch;grid-auto-rows:1fr}.dd-summary-card[_ngcontent-%COMP%]{--dd-card-accent: #334155;--dd-card-accent-soft: rgba(51, 65, 85, .08);--dd-card-icon-box-size: 34px;--dd-card-icon-gap: 16px;--dd-card-title-reserve: 68px;background:#ffffff;border:.5px solid var(--dd-dashboard-border-color);border-radius:0;padding:18px 18px 18px 24px;padding-right:calc(var(--dd-card-title-reserve) + 18px);box-shadow:none;min-height:138px;height:100%;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:left}.dd-summary-card__bg-icon[_ngcontent-%COMP%]{position:absolute;top:16px;right:var(--dd-card-icon-gap);color:var(--dd-card-accent);display:inline-flex;align-items:center;justify-content:center;opacity:1;pointer-events:none;z-index:0}.dd-summary-card__bg-icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:var(--dd-card-icon-box-size);height:var(--dd-card-icon-box-size)}.dd-summary-card[_ngcontent-%COMP%]:before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:var(--dd-card-accent)}.dd-summary-card[_ngcontent-%COMP%]:nth-child(1){--dd-card-accent: #EE6B73;--dd-card-accent-soft: rgba(238, 107, 115, .12)}.dd-summary-card[_ngcontent-%COMP%]:nth-child(2){--dd-card-accent: #34C38F;--dd-card-accent-soft: rgba(52, 195, 143, .12)}.dd-summary-card[_ngcontent-%COMP%]:nth-child(3){--dd-card-accent: #5B7CFA;--dd-card-accent-soft: rgba(91, 124, 250, .12)}.dd-summary-card[_ngcontent-%COMP%]:nth-child(4){--dd-card-accent: #1F2A44;--dd-card-accent-soft: rgba(31, 42, 68, .08)}.dd-summary-card[_ngcontent-%COMP%]:nth-child(5){--dd-card-accent: #F4B740;--dd-card-accent-soft: rgba(244, 183, 64, .14)}.dd-summary-card__label[_ngcontent-%COMP%]{position:relative;z-index:1;max-width:calc(100% - var(--dd-card-title-reserve));min-height:52px;color:#475569;font-size:11px;font-weight:700;line-height:1.4;text-transform:uppercase;letter-spacing:.08em}.dd-summary-card__value[_ngcontent-%COMP%]{position:relative;z-index:1;max-width:100%;margin-top:auto;padding-top:10px;color:#0f172a;font-size:30px;line-height:1;font-weight:800;letter-spacing:-.02em}.dd-summary-card__meta[_ngcontent-%COMP%]{position:relative;z-index:1;max-width:100%;margin-top:10px;color:#334155;font-size:12px;font-weight:600;line-height:1.4}.dd-summary-card__link[_ngcontent-%COMP%]{position:relative;z-index:1;max-width:100%;margin-top:10px;border:0;padding:0;background:transparent;color:#0f172a;font-size:12px;font-weight:600;cursor:pointer;text-decoration:none;align-self:start;line-height:1.4}.dd-coverage-panel[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:14px}.dd-coverage-panel__header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:16px}.dd-coverage-panel__title[_ngcontent-%COMP%]{color:#0f172a;font-size:14px;font-weight:800}.dd-coverage-panel__subtitle[_ngcontent-%COMP%]{margin-top:2px;color:#334155;font-size:14px;font-weight:600}.dd-coverage-panel__percent[_ngcontent-%COMP%]{color:#64748b;font-size:14px;font-weight:600}.dd-coverage-panel__body[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center}.dd-coverage-panel__track[_ngcontent-%COMP%]{width:100%;height:12px;border-radius:999px;background:#edf2f7;overflow:hidden}
1.dd-coverage-panel__fill[_ngcontent-%COMP%]{height:100%;border-radius:999px;background:linear-gradient(90deg,#4f46e5,#3b82f6)}.dd-coverage-panel__chips[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.dd-coverage-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border:1px solid #e2e8f0;border-radius:999px;background:#ffffff}.dd-coverage-chip__dot[_ngcontent-%COMP%]{width:10px;height:10px;border-radius:999px;flex-shrink:0}.dd-coverage-chip__name[_ngcontent-%COMP%]{color:#475569;font-size:12px;font-weight:500}.dd-coverage-chip__value[_ngcontent-%COMP%]{color:#94a3b8;font-size:12px;font-weight:600}.dd-panel[_ngcontent-%COMP%]{background:#ffffff;border:1px solid var(--dd-dashboard-border-color);border-radius:0;box-shadow:none;overflow:hidden}.dd-flat-shell[_ngcontent-%COMP%]{border:1px solid var(--dd-dashboard-border-color);border-radius:0;box-shadow:none}.dd-panel__header[_ngcontent-%COMP%]{padding:10px 14px;border-bottom:1px solid var(--dd-dashboard-border-color);color:#0f172a;font-size:13px;font-weight:700}.dd-panel--chart[_ngcontent-%COMP%]   .dd-panel__header[_ngcontent-%COMP%]{border-bottom:0;padding-bottom:2px}.dd-panel--chart[_ngcontent-%COMP%]   .dd-panel__body[_ngcontent-%COMP%]{padding-top:8px}.dd-systems-panel[_ngcontent-%COMP%]   .dd-panel__header[_ngcontent-%COMP%]{border-bottom:0;padding-bottom:0}.dd-systems-panel[_ngcontent-%COMP%]   .dd-panel__body[_ngcontent-%COMP%]{padding-top:12px}.dd-panel__body[_ngcontent-%COMP%]{padding:18px 16px}.dd-risk-chart[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(220px,.95fr) minmax(240px,1.05fr);gap:22px;align-items:center;min-height:252px}.dd-risk-chart__canvas-pane[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.dd-risk-chart__canvas-wrap[_ngcontent-%COMP%]{position:relative;width:220px;height:220px;display:flex;align-items:center;justify-content:center}.dd-risk-chart__canvas-element[_ngcontent-%COMP%]{width:220px;height:220px}.dd-risk-chart__center[_ngcontent-%COMP%]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);text-align:center;pointer-events:none}.dd-risk-chart__center-value[_ngcontent-%COMP%]{color:#0f172a;font-size:28px;line-height:1;font-weight:800}.dd-risk-chart__center-label[_ngcontent-%COMP%]{margin-top:6px;color:#64748b;font-size:12px;font-weight:600}.dd-risk-chart__legend[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px;min-width:0;width:100%;justify-self:stretch}.dd-risk-chart__legend-item[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;width:100%;column-gap:16px}.dd-risk-chart__legend-meta[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;min-width:0}.dd-risk-chart__legend-dot[_ngcontent-%COMP%]{width:12px;height:12px;border-radius:999px;flex-shrink:0}.dd-risk-chart__legend-label[_ngcontent-%COMP%]{color:#334155;font-size:14px;font-weight:600}.dd-risk-chart__legend-value[_ngcontent-%COMP%]{color:#334155;font-size:14px;font-weight:700;justify-self:end;text-align:right;font-variant-numeric:tabular-nums}.dd-empty-state[_ngcontent-%COMP%]{padding:24px 16px;color:#64748b;font-size:13px;text-align:center}[_nghost-%COMP%]     .p-datatable .p-datatable-tbody>tr>td.dd-empty-table-cell{padding:24px 16px!important;text-align:center!important;color:#0f172a!important;font-size:13px}.dd-system-chart[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px;position:relative}.dd-system-chart-wrap[_ngcontent-%COMP%]{display:block}.dd-system-chart__row[_ngcontent-%COMP%]{display:grid;grid-template-columns:140px 1fr;align-items:center;gap:14px}.dd-system-chart__label[_ngcontent-%COMP%]{color:#334155;font-size:12px;font-weight:600}.dd-system-chart__track[_ngcontent-%COMP%]{height:32px;background:transparent;display:flex;align-items:center;position:relative}.dd-system-chart__track[_ngcontent-%COMP%]:before{content:"";position:absolute;left:0;top:-8px;bottom:-8px;width:1px;background:#b9c7d8}.dd-system-chart__fill[_ngcontent-%COMP%]{min-width:18px;height:100%;background:#7FD3B2;display:flex;align-items:center;justify-content:center;padding:0 8px}.dd-system-chart__value[_ngcontent-%COMP%]{color:#0f172a;font-size:12px;font-weight:700}.dd-filter-shell[_ngcontent-%COMP%]{padding:8px 14px!important}.dd-filter-row[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;width:100%;max-width:1240px;margin:0 auto 0 0;align-items:stretch}.dd-filter-row[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{min-width:0}[_nghost-%COMP%]     .dd-filter-dropdown, [_nghost-%COMP%]     .dd-filter-dropdown .p-dropdown{width:100%;min-width:0}[_nghost-%COMP%]     .dd-filter-row .p-dropdown{display:flex;align-items:center;height:38px!important;min-height:38px!important;border-radius:4px;padding:0!important}[_nghost-%COMP%]     .dd-filter-row .p-dropdown .p-dropdown-label{display:flex;align-items:center;height:36px!important;min-height:36px!important;padding:0 14px!important;line-height:36px!important}[_nghost-%COMP%]     .dd-filter-row .p-dropdown .p-dropdown-trigger{width:34px!important;min-width:34px!important;height:36px!important}[_nghost-%COMP%]     .dd-filter-row .p-dropdown .p-dropdown-clear-icon{right:36px}[_nghost-%COMP%]     .dd-filter-row .p-dropdown-panel .p-dropdown-items .p-dropdown-item{font-family:var(--dd-dashboard-font-family)}[_nghost-%COMP%]     .dd-filter-row .p-inputtext, [_nghost-%COMP%]     .dd-filter-row .p-dropdown-label.p-inputtext{padding-top:0!important;padding-bottom:0!important}[_nghost-%COMP%]     .dd-export-link.p-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:auto;min-height:auto;padding:0!important;border:0!important;background:transparent!important;color:#16a34a!important;box-shadow:none!important;font-size:13px;font-weight:600;line-height:1.2;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}[_nghost-%COMP%]     .dd-export-link.p-button:hover, [_nghost-%COMP%]     .dd-export-link.p-button:focus, [_nghost-%COMP%]     .dd-export-link.p-button:active, [_nghost-%COMP%]     .dd-export-link.p-button.p-focus, [_nghost-%COMP%]     .dd-export-link.p-button:not(:disabled):hover, [_nghost-%COMP%]     .dd-export-link.p-button:not(:disabled):focus, [_nghost-%COMP%]     .dd-export-link.p-button:not(:disabled):active{background:transparent!important;color:#15803d!important;box-shadow:none!important}[_nghost-%COMP%]     .dd-export-link.p-button>i, [_nghost-%COMP%]     .dd-export-link.p-button>span{color:inherit!important;display:inline-flex;align-items:center}[_nghost-%COMP%]     .dd-export-link.p-button:disabled, [_nghost-%COMP%]     .dd-export-link.p-button.p-disabled{background:transparent!important;color:#86b89a!important;opacity:.82;box-shadow:none!important}.dd-results-caption[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:nowrap;width:100%;padding-bottom:4px}.dd-results-caption__count[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0;color:#475569;font-size:13px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.dd-results-caption--detail[_ngcontent-%COMP%]{align-items:flex-start;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--dd-dashboard-border-color)}.dd-results-caption__detail-copy[_ngcontent-%COMP%], .dd-results-caption__detail-main[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px;min-width:0}.dd-results-caption__detail-top[_ngcontent-%COMP%]{display:flex;align-items:center;gap:18px;flex-wrap:wrap;min-width:0}.dd-results-caption__detail-top[_ngcontent-%COMP%]   .dd-results-caption__count[_ngcontent-%COMP%]{flex:0 0 auto}.dd-results-caption__detail-top--storage[_ngcontent-%COMP%]{width:100%;justify-content:space-between;gap:24px}.dd-results-caption__count--right[_ngcontent-%COMP%]{margin-left:auto;text-align:right}.dd-back-button[_ngcontent-%COMP%]{display:inline-flex;align-items:center;align-self:flex-start;padding:0;border:0;background:transparent;color:#16a34a;font-size:13px;font-weight:700;line-height:1.2;letter-spacing:.04em;text-transform:uppercase;cursor:pointer}.dd-back-button[_ngcontent-%COMP%]:hover{color:#15803d}.dd-detail-view__title[_ngcontent-%COMP%]{color:#0f172a;font-size:22px;font-weight:800;line-height:1.2}.dd-detail-view__title--with-icon[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px}.dd-structured-connection-icon[_ngcontent-%COMP%]{width:48px;height:48px;object-fit:contain;flex-shrink:0}.dd-structured-connection-icon-wrap[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;flex-shrink:0}.dd-detail-view__meta[_ngcontent-%COMP%]{color:#64748b;font-size:13px;font-weight:600;line-height:1.45}.dd-structured-accordion__meta[data-salesforce=true][_ngcontent-%COMP%]{font-size:0}.dd-structured-accordion__meta[_ngcontent-%COMP%]   .dd-salesforce-meta[_ngcontent-%COMP%]{font-size:13px}.dd-results-caption--structured-detail[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:start;column-gap:24px;row-gap:10px;padding-bottom:12px;margin-bottom:12px}.dd-results-caption--structured-detail[_ngcontent-%COMP%]   .dd-results-caption__detail-main[_ngcontent-%COMP%]{display:contents}.dd-results-caption--structured-detail[_ngcontent-%COMP%]   .dd-results-caption__detail-top[_ngcontent-%COMP%]{grid-column:1;grid-row:1;align-self:center;gap:14px;flex-wrap:nowrap}.dd-results-caption--structured-detail[_ngcontent-%COMP%]   .dd-back-button[_ngcontent-%COMP%]{align-self:center}.dd-results-caption--structured-detail[_ngcontent-%COMP%]   .dd-results-caption__detail-top[_ngcontent-%COMP%]   .dd-results-caption__count[_ngcontent-%COMP%]{min-width:auto}.dd-results-caption--structured-detail[_ngcontent-%COMP%]   .dd-detail-view__title[_ngcontent-%COMP%]{grid-column:1;grid-row:2}.dd-detail-view__meta--stack[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4px}.dd-results-caption--structured-detail[_ngcontent-%COMP%]   .dd-detail-view__meta--stack[_ngcontent-%COMP%]{grid-column:2;grid-row:2;
1align-self:start;justify-self:end;text-align:right}[_nghost-%COMP%]     .dd-results-caption .dd-export-link.p-button{margin-left:auto;flex:0 0 auto}[_nghost-%COMP%]     .dd-results-caption--structured-detail .dd-export-link.p-button{grid-column:2;grid-row:1;margin-left:0;justify-self:end;align-self:start}@media (max-width: 960px){.dd-results-caption--structured-detail[_ngcontent-%COMP%]{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto}.dd-results-caption--structured-detail[_ngcontent-%COMP%]   .dd-results-caption__detail-top[_ngcontent-%COMP%], .dd-results-caption--structured-detail[_ngcontent-%COMP%]   .dd-detail-view__title[_ngcontent-%COMP%], [_nghost-%COMP%]     .dd-results-caption--structured-detail .dd-export-link.p-button, .dd-results-caption--structured-detail[_ngcontent-%COMP%]   .dd-detail-view__meta--stack[_ngcontent-%COMP%]{grid-column:1;justify-self:start;text-align:left}.dd-results-caption--structured-detail[_ngcontent-%COMP%]   .dd-results-caption__detail-top[_ngcontent-%COMP%]{flex-wrap:wrap}}.dd-structured-results[_ngcontent-%COMP%]{margin-top:12px;width:100%}.dd-structured-accordion[_ngcontent-%COMP%]{border-top:1px solid var(--dd-dashboard-border-color)}.dd-structured-accordion[_ngcontent-%COMP%]:last-child{border-bottom:1px solid var(--dd-dashboard-border-color)}.dd-structured-accordion__row[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto minmax(0,1.4fr) minmax(0,1fr) auto;align-items:center;gap:14px;padding:10px 0;background:#ffffff;cursor:pointer;transition:background .18s ease}.dd-structured-accordion__row[_ngcontent-%COMP%]:hover, .dd-structured-accordion__row.is-expanded[_ngcontent-%COMP%]{background:#f8fafc}.dd-structured-accordion__chevron[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;background:transparent;color:#64748b;padding:0;pointer-events:none}.dd-structured-accordion__primary[_ngcontent-%COMP%]{min-width:0}.dd-structured-accordion__identity[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;min-width:0}.dd-structured-accordion__identity[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{min-width:0}.dd-structured-accordion__title[_ngcontent-%COMP%]{color:#0f172a;font-size:14px;font-weight:700;line-height:1.35}.dd-structured-accordion__meta[_ngcontent-%COMP%]{margin-top:1px;color:#64748b;font-size:12px;font-weight:600}.dd-structured-accordion__badges[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:0}.dd-structured-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-height:22px;padding:3px 10px;border:1px solid transparent;border-radius:4px;font-size:11px;font-weight:700;line-height:1;white-space:nowrap}.dd-structured-badge--category[_ngcontent-%COMP%]{background:rgba(91,124,250,.0941176471);border-color:#5b7cfa33;color:#5b7cfa}.dd-structured-badge--count[_ngcontent-%COMP%]{background:#e2e8f0;border-color:#cbd5e1;color:#475569}.dd-structured-accordion__summary[_ngcontent-%COMP%]{min-width:112px;text-align:right}.dd-structured-accordion__findings[_ngcontent-%COMP%]{color:#0f172a;font-size:14px;font-weight:700}.dd-structured-accordion__row--table[_ngcontent-%COMP%]   .dd-structured-accordion__findings[_ngcontent-%COMP%]{color:#64748b;font-weight:600}.dd-structured-accordion__risk[_ngcontent-%COMP%]{margin-top:4px;font-size:12px;font-weight:700}.dd-structured-accordion__risk--low[_ngcontent-%COMP%]{color:#16a34a}
1.dd-structured-accordion__risk--medium[_ngcontent-%COMP%]{color:#d97706}.dd-structured-accordion__risk--high[_ngcontent-%COMP%]{color:#ea580c}.dd-structured-accordion__risk--very-high[_ngcontent-%COMP%]{color:#dc2626}.dd-structured-accordion__panel[_ngcontent-%COMP%]{padding:0 0 12px;background:#ffffff}.dd-structured-accordion__row--table[_ngcontent-%COMP%]{grid-template-columns:auto minmax(0,1.35fr) minmax(0,1fr) auto;padding:10px 16px}.dd-structured-accordion__panel--table[_ngcontent-%COMP%]{padding:0 16px 12px 58px}.dd-structured-table-list[_ngcontent-%COMP%]{width:100%;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;background:#ffffff}.dd-structured-table-group[_ngcontent-%COMP%]{border-top:1px solid #e2e8f0}.dd-structured-table-group[_ngcontent-%COMP%]:first-child{border-top:0}.dd-structured-table-group__icon[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:#eff6ff;color:#3b82f6;flex-shrink:0}.dd-structured-table-group__icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:18px;height:18px}.dd-structured-table-status[_ngcontent-%COMP%]{padding:18px 20px;border:1px solid #e2e8f0;background:#ffffff;color:#475569;font-size:13px;font-weight:600}.dd-structured-table-status--error[_ngcontent-%COMP%]{color:#dc2626}.dd-source-group__primary[_ngcontent-%COMP%]{min-width:0}.dd-source-group__identity[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;min-width:0}.dd-source-group__icon[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;position:relative;flex-shrink:0}.dd-source-group__icon[_ngcontent-%COMP%]   .dd-files-table__source-svg[_ngcontent-%COMP%], .dd-source-group__icon[_ngcontent-%COMP%]   .dd-files-table__source-icon[_ngcontent-%COMP%]{width:44px;height:44px;position:static;left:auto;top:auto;transform:none}.dd-structured-table-wrap[_ngcontent-%COMP%]{width:100%;overflow:visible;position:relative;border:1px solid #e2e8f0;background:#ffffff}.dd-structured-table-wrap--loading[_ngcontent-%COMP%]{overflow:hidden}.dd-structured-table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}.dd-structured-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .dd-structured-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:8px 16px;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:middle}.dd-structured-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{color:#64748b;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;background:#ffffff}.dd-structured-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{position:relative;overflow:visible;color:#334155;font-size:13px;font-weight:500}.dd-structured-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:nth-child(3), .dd-structured-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:nth-child(3){text-align:center}.dd-structured-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{transition:background .16s ease}.dd-structured-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:hover{z-index:100}.dd-structured-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:hover   td[_ngcontent-%COMP%]{background:#f8fafc}.dd-structured-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:last-child   td[_ngcontent-%COMP%]{border-bottom:0}.dd-structured-table__action-head[_ngcontent-%COMP%], .dd-structured-table__action-cell[_ngcontent-%COMP%]{width:84px;text-align:center!important;padding-left:12px!important;padding-right:12px!important}.dd-structured-risk-pill[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:8px;color:#334155;font-weight:600}.dd-structured-risk-pill__dot[_ngcontent-%COMP%]{width:8px;height:8px;border-radius:999px;flex-shrink:0}.dd-structured-table__action[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #cbd5e1;background:#ffffff;color:#0ea5e9;border-radius:4px;transition:all .18s ease}.dd-structured-table__action[_ngcontent-%COMP%]:hover:not(:disabled){border-color:#93c5fd;background:#eff6ff}.dd-structured-table__action--plain[_ngcontent-%COMP%]{width:auto;height:auto;padding:0;border:0;background:transparent;border-radius:0}.dd-structured-table__action--plain[_ngcontent-%COMP%]:hover:not(:disabled){border-color:transparent;background:transparent;color:#0284c7}.dd-structured-table__action--edit[_ngcontent-%COMP%], .dd-structured-table__action--cancel[_ngcontent-%COMP%]{margin-left:14px}.dd-structured-table__action--save[_ngcontent-%COMP%]{color:#16a34a}.dd-structured-table__action--cancel[_ngcontent-%COMP%]{color:#dc3545}.dd-structured-table__edit-dropdown[_ngcontent-%COMP%]{display:block;width:240px;max-width:100%;min-width:130px}  .dd-structured-table__edit-dropdown .p-dropdown{width:100%;height:30px;min-height:30px}  .dd-structured-table__edit-dropdown .p-dropdown-label{height:28px;padding-top:0;padding-bottom:0;line-height:28px;font-size:13px;font-weight:500}  .dd-structured-table__edit-dropdown .p-dropdown-trigger{height:28px}  .dd-structured-table__edit-panel .p-dropdown-item{min-height:30px;padding:6px 14px;font-size:13px;line-height:18px}.dd-structured-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:has(.dd-structured-table__edit-dropdown)   td[_ngcontent-%COMP%]{padding-top:3px;padding-bottom:3px}.dd-structured-table__action[_ngcontent-%COMP%]:disabled{opacity:.45;cursor:not-allowed}.dd-structured-table-skeleton[_ngcontent-%COMP%]{padding:10px 16px 6px}.dd-structured-table-skeleton__head[_ngcontent-%COMP%], .dd-structured-table-skeleton__row[_ngcontent-%COMP%]{display:grid;grid-template-columns:24px minmax(0,1.3fr) minmax(0,1fr) 96px;gap:16px;align-items:center}.dd-structured-table-skeleton__head[_ngcontent-%COMP%]{padding:12px 8px 16px;border-bottom:1px solid #e2e8f0}.dd-structured-table-skeleton__row[_ngcontent-%COMP%]{padding:18px 8px;border-bottom:1px solid #e2e8f0}.dd-structured-table-skeleton__row[_ngcontent-%COMP%]:last-child{border-bottom:0}
1.dd-structured-table-skeleton__head-bar[_ngcontent-%COMP%], .dd-structured-table-skeleton__cell-bar[_ngcontent-%COMP%]{height:14px;border-radius:4px}.dd-structured-table-skeleton__head-bar[_ngcontent-%COMP%]:nth-child(1), .dd-structured-table-skeleton__cell-bar[_ngcontent-%COMP%]:nth-child(1){width:24px}.dd-structured-table-skeleton__head-bar[_ngcontent-%COMP%]:nth-child(2), .dd-structured-table-skeleton__cell-bar[_ngcontent-%COMP%]:nth-child(2){width:58%}.dd-structured-table-skeleton__head-bar[_ngcontent-%COMP%]:nth-child(3), .dd-structured-table-skeleton__cell-bar[_ngcontent-%COMP%]:nth-child(3){width:82%}.dd-structured-table-skeleton__head-bar[_ngcontent-%COMP%]:nth-child(4), .dd-structured-table-skeleton__cell-bar[_ngcontent-%COMP%]:nth-child(4){width:64px;justify-self:center}.dd-structured-table-wrap--storage[_ngcontent-%COMP%]{overflow:visible;position:relative}.dd-structured-table--storage[_ngcontent-%COMP%]{table-layout:fixed}.dd-structured-table--storage[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{overflow:visible}.dd-structured-table--storage[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{overflow:hidden}.dd-structured-table--storage[_ngcontent-%COMP%]   .dd-inline-tooltip[_ngcontent-%COMP%]{position:relative}.dd-structured-table--storage[_ngcontent-%COMP%]   .dd-inline-tooltip[_ngcontent-%COMP%]:hover{z-index:60}.dd-structured-table--storage[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:nth-child(1), .dd-structured-table--storage[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:nth-child(1){width:28%}.dd-structured-table--storage[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:nth-child(2), .dd-structured-table--storage[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:nth-child(2){width:8%}.dd-structured-table--storage[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:nth-child(3), .dd-structured-table--storage[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:nth-child(3){width:12%}.dd-structured-table--storage[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:nth-child(4), .dd-structured-table--storage[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:nth-child(4){width:19%}.dd-structured-table--storage[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:nth-child(5), .dd-structured-table--storage[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:nth-child(5){width:12%}.dd-structured-table--storage[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:nth-child(6), .dd-structured-table--storage[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:nth-child(6){width:7%}.dd-structured-table--storage[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:nth-child(7), .dd-structured-table--storage[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:nth-child(7){width:9%}.dd-structured-table--storage[_ngcontent-%COMP%]   .dd-files-table__name-cell[_ngcontent-%COMP%]{min-width:0;gap:12px}.dd-structured-table--storage[_ngcontent-%COMP%]   .dd-files-table__name-copy[_ngcontent-%COMP%], .dd-structured-table--storage[_ngcontent-%COMP%]   .dd-files-table__entity-list[_ngcontent-%COMP%]{max-width:none}.dd-structured-table--storage[_ngcontent-%COMP%]   .dd-files-table__risk[_ngcontent-%COMP%]{width:100%;white-space:normal}.dd-structured-table--storage[_ngcontent-%COMP%]   .dd-files-table__subtext[_ngcontent-%COMP%], .dd-structured-table--storage[_ngcontent-%COMP%]   .dd-files-table__entity-text[_ngcontent-%COMP%]{overflow-wrap:anywhere}.dd-structured-detail-shell[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px;width:100%}.dd-empty-table-cell--standalone[_ngcontent-%COMP%]{margin-top:12px;border:1px dashed #cbd5e1;background:#f8fafc}.dd-structured-pagination[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:20px;margin-top:18px;border-top:1px solid var(--dd-dashboard-border-color)}.dd-structured-pagination__status[_ngcontent-%COMP%]{color:#475569;font-size:13px;font-weight:500}.dd-structured-pagination__controls[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:12px}.dd-structured-pagination__nav[_ngcontent-%COMP%], .dd-structured-pagination__page[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;min-width:54px;height:54px;border:1px solid #e2e8f0;background:#ffffff;color:#334155;border-radius:2px;font-size:13px;font-weight:600;transition:all .18s ease}.dd-structured-pagination__nav[_ngcontent-%COMP%]:hover:not(:disabled), .dd-structured-pagination__page[_ngcontent-%COMP%]:hover:not(.is-active){border-color:#cbd5e1;background:#f8fafc}.dd-structured-pagination__page.is-active[_ngcontent-%COMP%]{border-color:#0f172a;background:#0f172a;color:#fff}.dd-structured-pagination__nav[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:not-allowed}.dd-structured-pagination--nested[_ngcontent-%COMP%]{margin-top:0;padding-top:0;border-top:0}.dd-structured-pagination--nested[_ngcontent-%COMP%]   .dd-structured-pagination__nav[_ngcontent-%COMP%], .dd-structured-pagination--nested[_ngcontent-%COMP%]   .dd-structured-pagination__page[_ngcontent-%COMP%]{min-width:40px;height:40px}@media (max-width: 1080px){.dd-structured-accordion__row[_ngcontent-%COMP%]{grid-template-columns:auto minmax(0,1fr);align-items:flex-start}.dd-structured-accordion__badges[_ngcontent-%COMP%], .dd-structured-accordion__summary[_ngcontent-%COMP%]{grid-column:2;justify-content:flex-start;text-align:left}.dd-structured-accordion__panel[_ngcontent-%COMP%]{padding-left:16px}}@media (max-width: 720px){.dd-structured-pagination[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start}.dd-structured-pagination__controls[_ngcontent-%COMP%]{flex-wrap:wrap;gap:8px}.dd-structured-pagination__nav[_ngcontent-%COMP%], .dd-structured-pagination__page[_ngcontent-%COMP%]{min-width:44px;height:44px}}.dd-unstructured-dashboard[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px}.dd-unstructured-summary-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:22px}.dd-unstructured-summary-card[_ngcontent-%COMP%]{--dd-card-accent: #1f2a44;--dd-card-accent-soft: rgba(31, 42, 68, .08);--dd-card-icon-box-size: 34px;--dd-card-icon-gap: 16px;--dd-card-title-reserve: 68px;min-height:122px;padding:18px 18px 18px 20px;padding-right:calc(var(--dd-card-title-reserve) + 18px);background:#ffffff;border:1px solid var(--dd-dashboard-border-color);position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.dd-unstructured-summary-card__bg-icon[_ngcontent-%COMP%]{position:absolute;top:16px;right:var(--dd-card-icon-gap);color:var(--dd-card-accent);display:inline-flex;align-items:center;justify-content:center;opacity:1;pointer-events:none;z-index:0}.dd-unstructured-summary-card__bg-icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:var(--dd-card-icon-box-size);height:var(--dd-card-icon-box-size)}.dd-unstructured-summary-card[_ngcontent-%COMP%]:before{content:"";position:absolute;
1left:0;top:0;bottom:0;width:2px;background:var(--dd-card-accent)}.dd-unstructured-summary-card[_ngcontent-%COMP%]:nth-child(1){--dd-card-accent: #EE6B73;--dd-card-accent-soft: rgba(238, 107, 115, .12)}.dd-unstructured-summary-card[_ngcontent-%COMP%]:nth-child(2){--dd-card-accent: #F4B740;--dd-card-accent-soft: rgba(244, 183, 64, .14)}.dd-unstructured-summary-card[_ngcontent-%COMP%]:nth-child(3){--dd-card-accent: #34C38F;--dd-card-accent-soft: rgba(52, 195, 143, .12)}.dd-unstructured-summary-card[_ngcontent-%COMP%]:nth-child(4){--dd-card-accent: #5B7CFA;--dd-card-accent-soft: rgba(91, 124, 250, .12)}.dd-unstructured-summary-card__label[_ngcontent-%COMP%]{position:relative;z-index:1;max-width:calc(100% - var(--dd-card-title-reserve));color:#0f172a;font-size:11px;font-weight:700;line-height:1.4;text-transform:uppercase;letter-spacing:.08em}.dd-unstructured-summary-card__value[_ngcontent-%COMP%]{position:relative;z-index:1;max-width:100%;margin-top:8px;color:#0f172a;font-size:28px;line-height:1;font-weight:700}.dd-unstructured-chart-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:18px}.dd-unstructured-panel[_ngcontent-%COMP%]{min-height:280px;background:#ffffff;border:1px solid var(--dd-dashboard-border-color)}.dd-unstructured-panel[_ngcontent-%COMP%]   .dd-category-bars[_ngcontent-%COMP%]{padding:0 12px 18px 22px}.dd-unstructured-panel__header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;padding:10px 16px;border-bottom:0;color:#0f172a;font-size:14px;font-weight:500}.dd-unstructured-panel__total[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;color:#334155;font-size:14px;font-weight:500}.dd-unstructured-panel__total-mark[_ngcontent-%COMP%]{width:12px;height:12px;display:inline-block;background:#d9d9d9}.dd-source-chart[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:center;gap:32px;padding:28px 30px}.dd-source-chart__canvas-wrap[_ngcontent-%COMP%]{width:210px;height:210px}.dd-source-chart__track[_ngcontent-%COMP%], .dd-source-chart__segment[_ngcontent-%COMP%]{fill:none;stroke-width:3.2}.dd-source-chart__track[_ngcontent-%COMP%]{stroke:#eef2f7}.dd-source-chart__segment[_ngcontent-%COMP%]{cursor:pointer;transform:rotate(-90deg);transform-origin:22px 22px;transition:stroke-width .15s ease,opacity .15s ease}.dd-source-chart__donut[_ngcontent-%COMP%]{width:min(260px,100%);height:auto}
1.dd-source-chart__donut--large[_ngcontent-%COMP%]{width:210px;height:210px}.dd-source-chart__segment[_ngcontent-%COMP%]:hover{opacity:.86;stroke-width:3.4}.dd-risk-chart--source[_ngcontent-%COMP%]{grid-template-columns:minmax(210px,.95fr) minmax(240px,1.05fr);gap:22px;min-height:252px}.dd-risk-chart--source[_ngcontent-%COMP%]   .dd-risk-chart__legend[_ngcontent-%COMP%]{width:168px;max-width:100%;margin-left:0;justify-self:start}.dd-risk-chart--source[_ngcontent-%COMP%]   .dd-risk-chart__legend-item[_ngcontent-%COMP%]{width:100%;grid-template-columns:minmax(0,1fr) 24px;column-gap:14px}.dd-risk-chart--source[_ngcontent-%COMP%]   .dd-risk-chart__legend-value[_ngcontent-%COMP%]{min-width:24px;justify-self:end;text-align:right}.dd-horizontal-chart[_ngcontent-%COMP%]{--dd-file-label-width: 172px;--dd-file-row-gap: 8px;--dd-file-value-width: 42px;--dd-file-axis-left: calc(var(--dd-file-label-width) + var(--dd-file-row-gap));--dd-file-axis-right: calc(var(--dd-file-value-width) + var(--dd-file-row-gap));position:relative;display:flex;flex-direction:column;gap:12px;padding:24px 16px 24px 18px}.dd-horizontal-chart__row[_ngcontent-%COMP%]{display:grid;grid-template-columns:var(--dd-file-label-width) 1px minmax(0,1fr) 1px var(--dd-file-value-width);align-items:center;gap:var(--dd-file-row-gap);position:relative;z-index:1}.dd-category-chart[_ngcontent-%COMP%]{display:grid;grid-template-columns:34px 1fr;align-items:center;gap:10px;padding:26px 18px 16px}.dd-category-chart__axis-label[_ngcontent-%COMP%]{align-self:center;color:#0f172a;font-size:13px;font-weight:500;writing-mode:vertical-rl;transform:rotate(180deg)}.dd-horizontal-chart__label[_ngcontent-%COMP%], .dd-category-chart__label[_ngcontent-%COMP%]{color:#0f172a;font-size:13px;font-weight:500;line-height:1.25}.dd-horizontal-chart__label[_ngcontent-%COMP%]{text-align:left;padding-right:0;overflow:visible;white-space:nowrap}.dd-horizontal-chart__label--uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.dd-category-chart__label[_ngcontent-%COMP%]{text-align:left;padding-right:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dd-horizontal-chart__track[_ngcontent-%COMP%]{height:7px;background:#edf2f7;overflow:hidden}.dd-category-chart__track[_ngcontent-%COMP%]{height:18px;overflow:hidden;background:repeating-linear-gradient(to right,#edf2f7 0,#edf2f7 calc(var(--dd-category-grid-step) - 1px),#d4dde8 calc(var(--dd-category-grid-step) - 1px),#d4dde8 var(--dd-category-grid-step))}.dd-horizontal-chart__axis[_ngcontent-%COMP%], .dd-category-chart__axis[_ngcontent-%COMP%]{align-self:stretch;width:1px}.dd-horizontal-chart[_ngcontent-%COMP%]:before, .dd-horizontal-chart[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;bottom:0;width:1px;background:#c2ccd8;pointer-events:none}.dd-horizontal-chart[_ngcontent-%COMP%]:before{left:var(--dd-file-axis-left)}.dd-horizontal-chart[_ngcontent-%COMP%]:after{right:var(--dd-file-axis-right)}.dd-horizontal-chart__fill[_ngcontent-%COMP%], .dd-category-chart__fill[_ngcontent-%COMP%]{height:100%;min-width:3px;background:#a8df96}.dd-horizontal-chart__value[_ngcontent-%COMP%], .dd-category-chart__value[_ngcontent-%COMP%]{color:#0f172a;font-size:13px;font-weight:500;text-align:right;font-variant-numeric:tabular-nums}.dd-horizontal-chart__value[_ngcontent-%COMP%]{min-width:42px;padding-left:6px}.dd-category-chart__ticks[_ngcontent-%COMP%]{position:relative;margin-left:var(--dd-category-plot-offset);height:40px;padding-top:12px;background:#fff;overflow:visible;color:#0f172a;font-size:13px;font-weight:500;font-variant-numeric:tabular-nums}.dd-category-chart__ticks[_ngcontent-%COMP%]:before{content:"";position:absolute;left:-44px;right:0;top:0;height:1px;background:#bfc8d4}.dd-category-chart__ticks[_ngcontent-%COMP%]:after{content:none}.dd-category-chart__tick[_ngcontent-%COMP%]{position:absolute;top:12px;transform:translate(-50%);white-space:nowrap;z-index:1}.dd-category-chart__tick--first[_ngcontent-%COMP%]{transform:translate(calc(-100% - 14px))}.dd-category-chart__tick--last[_ngcontent-%COMP%]{transform:translate(-100%)}.dd-category-chart__x-label[_ngcontent-%COMP%]{margin:18px 0 0 174px;color:#0f172a;font-size:13px;font-weight:500;text-align:center}.dd-category-chart__plot[_ngcontent-%COMP%]{--dd-category-label-width: 106px;--dd-category-row-gap: 8px;--dd-category-grid-step: 25%;--dd-category-plot-offset: calc(var(--dd-category-label-width) + (var(--dd-category-row-gap) * 2) + 1px);--dd-category-axis-space: 46px;--dd-category-axis-tail: 16px;position:relative;min-width:0}.dd-category-chart__row[_ngcontent-%COMP%]{display:grid;grid-template-columns:var(--dd-category-label-width) 1px minmax(0,1fr);align-items:center;gap:var(--dd-category-row-gap);margin-bottom:10px;position:relative;z-index:1}.dd-category-chart__ticks[_ngcontent-%COMP%], .dd-category-chart__x-label[_ngcontent-%COMP%]{margin-left:var(--dd-category-plot-offset);position:relative;z-index:1}.dd-category-chart__plot[_ngcontent-%COMP%]:before{content:"";position:absolute;
1left:var(--dd-category-plot-offset);top:0;bottom:calc(var(--dd-category-axis-space) - var(--dd-category-axis-tail) - 5px);width:1px;background:#c2ccd8;z-index:2}.dd-category-chart__plot[_ngcontent-%COMP%]:after{content:"";position:absolute;left:var(--dd-category-plot-offset);right:0;top:0;bottom:var(--dd-category-axis-space);background:repeating-linear-gradient(to right,transparent 0,transparent calc(var(--dd-category-grid-step) - 1px),#d4dde8 calc(var(--dd-category-grid-step) - 1px),#d4dde8 var(--dd-category-grid-step));pointer-events:none}.dd-category-chart__track[_ngcontent-%COMP%]{background:rgba(237,242,247,.9)}.dd-top-assets[_ngcontent-%COMP%]{display:flex;flex-direction:column}.dd-top-assets__row[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto;align-items:center;min-height:58px;padding:10px 44px;border-bottom:1px solid #e2e8f0;color:#0f172a;font-size:15px;font-weight:500}.dd-top-assets__row[_ngcontent-%COMP%]:last-child{border-bottom:none}.dd-top-assets__name[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:34px;min-width:0}.dd-top-assets__icon[_ngcontent-%COMP%]{width:54px;height:42px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:4px;color:#0f172a;font-size:12px;font-weight:500}.dd-top-assets__icon[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:44px;max-height:38px;object-fit:contain}.dd-top-assets__icon--s3[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:44px;height:38px;object-fit:cover;object-position:left center}.dd-top-assets__value[_ngcontent-%COMP%]{padding-left:16px;font-weight:500}.dd-tooltip-host[_ngcontent-%COMP%]{position:relative}.dd-chart-tooltip[_ngcontent-%COMP%]{position:absolute;left:50%;bottom:calc(100% + 8px);z-index:5;min-width:120px;padding:7px 10px;border:1px solid #cbd5e1;border-radius:3px;background:#ffffff;color:#475569;box-shadow:0 8px 18px #0f172a24;font-size:12px;font-weight:400;line-height:1.2;text-align:center;opacity:0;pointer-events:none;transform:translate(-50%) translateY(4px);transition:none;white-space:nowrap}.dd-tooltip-host[_ngcontent-%COMP%]:hover   .dd-chart-tooltip[_ngcontent-%COMP%]{opacity:1;transform:translate(-50%) translateY(0)}.dd-chart-floating-tooltip[_ngcontent-%COMP%]{position:fixed;z-index:1300;padding:7px 10px;border:1px solid #cbd5e1;border-radius:3px;background:#ffffff;color:#475569;box-shadow:0 8px 18px #0f172a24;font-size:12px;font-weight:400;line-height:1.2;pointer-events:none;white-space:nowrap}.dd-analytics-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.dd-analytics-grid--dual[_ngcontent-%COMP%]{grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-items:stretch}.dd-analytics-grid--dual[_ngcontent-%COMP%] > .dd-panel[_ngcontent-%COMP%]{height:100%}.dd-category-bars[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:18px;min-height:252px}.dd-category-row[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px}.dd-category-row__header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:8px}.dd-category-row__label[_ngcontent-%COMP%]{color:#334155;font-size:13px;font-weight:600}.dd-category-row__value[_ngcontent-%COMP%]{color:#475569;font-size:13px;font-weight:600}.dd-category-row__track[_ngcontent-%COMP%]{width:100%;height:8px;background:#e9eef5;overflow:hidden}.dd-category-row__fill[_ngcontent-%COMP%]{height:100%;min-width:4px}.dd-categories-panel[_ngcontent-%COMP%]{min-height:250px;align-items:center;flex-wrap:nowrap;overflow:hidden;padding-right:20px}.dd-categories-legend[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;min-width:0;width:100%;padding-right:12px}.dd-categories-legend__item[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.dd-categories-legend__meta[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;min-width:0;flex:1 1 auto}.dd-categories-legend__swatch[_ngcontent-%COMP%]{width:12px;height:12px;display:inline-block;flex-shrink:0}.dd-categories-legend__name[_ngcontent-%COMP%]{color:#0f172a;font-size:12px;font-weight:600;overflow-wrap:anywhere;word-break:break-word}.dd-categories-legend__value[_ngcontent-%COMP%]{color:#475569;font-size:12px;font-weight:600;flex-shrink:0;text-align:right;min-width:48px;padding-right:6px}.dd-skeleton-wrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px}.dd-skeleton-grid[_ngcontent-%COMP%], .dd-skeleton-analytics[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.dd-skeleton-card[_ngcontent-%COMP%], .dd-skeleton-panel[_ngcontent-%COMP%]{background:#ffffff;border:1px solid var(--dd-dashboard-border-color);border-radius:4px;padding:16px;box-shadow:0 4px 14px #0d263b0a}
1.dd-skeleton-line[_ngcontent-%COMP%], .dd-skeleton-bar[_ngcontent-%COMP%], .dd-skeleton-input[_ngcontent-%COMP%], .dd-skeleton-table-row[_ngcontent-%COMP%]{position:relative;overflow:hidden;background:#e9eef5;border-radius:6px}.dd-skeleton-line[_ngcontent-%COMP%]:after, .dd-skeleton-bar[_ngcontent-%COMP%]:after, .dd-skeleton-input[_ngcontent-%COMP%]:after, .dd-skeleton-table-row[_ngcontent-%COMP%]:after{content:"";position:absolute;inset:0;transform:translate(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.75),transparent);animation:_ngcontent-%COMP%_dd-skeleton-shimmer 1.4s infinite}.dd-skeleton-line--sm[_ngcontent-%COMP%]{width:42%;height:14px;margin-bottom:14px}.dd-skeleton-line--lg[_ngcontent-%COMP%]{width:24%;height:38px}.dd-skeleton-line--title[_ngcontent-%COMP%]{width:28%;height:14px;margin-bottom:18px}.dd-skeleton-line--wide[_ngcontent-%COMP%]{width:40%}.dd-skeleton-bar[_ngcontent-%COMP%]{width:100%;height:28px;margin-bottom:12px}.dd-skeleton-bar--thin[_ngcontent-%COMP%]{height:12px}.dd-scanjobs-skeleton[_ngcontent-%COMP%]{padding:4px 0}.dd-skeleton-filter-row[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.dd-skeleton-input[_ngcontent-%COMP%]{height:42px}.dd-skeleton-table-row[_ngcontent-%COMP%]{width:100%;height:48px;margin-bottom:10px}@keyframes _ngcontent-%COMP%_dd-skeleton-shimmer{to{transform:translate(100%)}}@media (max-width: 1100px){.dd-analytics-grid[_ngcontent-%COMP%], .dd-analytics-grid--dual[_ngcontent-%COMP%], .dd-unstructured-summary-grid[_ngcontent-%COMP%], .dd-unstructured-chart-grid[_ngcontent-%COMP%], .dd-skeleton-grid[_ngcontent-%COMP%], .dd-skeleton-analytics[_ngcontent-%COMP%], .dd-source-chart[_ngcontent-%COMP%], .dd-horizontal-chart__row[_ngcontent-%COMP%], .dd-category-chart__row[_ngcontent-%COMP%]{grid-template-columns:1fr}.dd-system-chart__row[_ngcontent-%COMP%]{grid-template-columns:110px 1fr}.dd-risk-chart[_ngcontent-%COMP%], .dd-skeleton-filter-row[_ngcontent-%COMP%]{grid-template-columns:1fr}}@media (max-width: 1450px){.dd-summary-cards--structured[_ngcontent-%COMP%]{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.dd-summary-card[_ngcontent-%COMP%]{--dd-card-icon-box-size: 42px;--dd-card-icon-gap: 12px;--dd-card-title-reserve: 62px;padding:18px 14px 18px 20px}.dd-filter-row[_ngcontent-%COMP%]{max-width:100%}[_nghost-%COMP%]     .dd-filter-row .p-dropdown{min-height:50px}[_nghost-%COMP%]     .dd-filter-row .p-dropdown .p-dropdown-label{min-height:48px;padding:0 11px}}@media (max-width: 1200px){.dd-summary-cards--structured[_ngcontent-%COMP%]{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.dd-summary-card[_ngcontent-%COMP%]{--dd-card-icon-box-size: 38px;--dd-card-icon-gap: 10px;--dd-card-title-reserve: 56px;padding:16px 12px 16px 18px;min-height:130px}.dd-summary-card__label[_ngcontent-%COMP%], .dd-summary-card__meta[_ngcontent-%COMP%], .dd-summary-card__link[_ngcontent-%COMP%]{font-size:11px}.dd-summary-card__value[_ngcontent-%COMP%]{font-size:26px}}.dd-files-table-wrap[_ngcontent-%COMP%]{overflow-x:auto}.dd-files-table[_ngcontent-%COMP%]{width:100%;min-width:980px;border-collapse:separate;border-spacing:0}.dd-files-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{padding:10px 16px;border-bottom:1px solid #e2e8f0;color:#64748b;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;text-align:left;background:#ffffff}.dd-files-table__row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:12px 16px;border-bottom:1px solid #eef2f7;vertical-align:middle;background:#ffffff;transition:background .15s ease}.dd-files-table__row[_ngcontent-%COMP%]:hover   td[_ngcontent-%COMP%]{background:#f8fafc}.dd-files-table__name-cell[_ngcontent-%COMP%]{display:flex;align-items:center;gap:14px;min-width:290px}.dd-files-table__file-icon[_ngcontent-%COMP%]{width:42px;height:42px;border-radius:0;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.dd-files-table__name-copy[_ngcontent-%COMP%], .dd-files-table__source-copy[_ngcontent-%COMP%]{min-width:0}.dd-files-table__name-copy[_ngcontent-%COMP%]{flex:1 1 auto;max-width:280px}.dd-files-table__name-tooltip[_ngcontent-%COMP%]{width:100%}.dd-files-table__name[_ngcontent-%COMP%]{color:#1f2a44;font-size:14px;font-weight:500;line-height:1.35;text-transform:uppercase}.dd-files-table__subtext[_ngcontent-%COMP%]{margin-top:4px;display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:#64748b;font-size:12px;line-height:1.4}.dd-files-table__source-cell[_ngcontent-%COMP%]{position:relative;display:inline-flex;align-items:center;min-width:0;width:max-content;padding-left:28px;margin:0 0 0 -12px;text-align:left}.dd-files-table__source-icon[_ngcontent-%COMP%]{width:18px;height:18px;object-fit:contain;flex-shrink:0;position:absolute;
1left:0;top:50%;transform:translateY(-50%)}.dd-files-table__source-svg[_ngcontent-%COMP%]{width:18px;height:18px;flex-shrink:0;overflow:visible;display:block;position:absolute;left:0;top:50%;transform:translateY(-50%)}.dd-files-table__source-svg--minio[_ngcontent-%COMP%]{width:20px;height:20px}.dd-files-table__source-col[_ngcontent-%COMP%], .dd-files-table__risk-cell[_ngcontent-%COMP%]{width:170px;vertical-align:middle!important;text-align:left}.dd-files-table__source-copy[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center}.dd-files-table__source-label[_ngcontent-%COMP%]{color:#0f172a;font-size:14px;font-weight:600;line-height:1.35;max-width:92px;word-break:break-word}.dd-files-table__entity-list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:6px 14px;max-width:280px}.dd-files-table__entity-text[_ngcontent-%COMP%]{display:inline;color:#5b7cfa;font-size:12px;font-weight:600;line-height:1.4;white-space:normal}.dd-files-table__risk[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;color:#334155;font-size:14px;font-weight:600;white-space:nowrap;width:max-content;margin:0}.dd-files-table__risk-dot[_ngcontent-%COMP%]{width:8px;height:8px;border-radius:50%;flex-shrink:0}.dd-files-table__actions[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:10px}.dd-files-table__action-btn[_ngcontent-%COMP%]{padding:0;border:0;background:transparent;color:#475569;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:color .15s ease}.dd-files-table__action-btn[_ngcontent-%COMP%]:hover{color:#10b981}.dd-files-table__actions-head[_ngcontent-%COMP%], .dd-files-table__actions-cell[_ngcontent-%COMP%]{text-align:center!important}.dd-files-table__pagination[_ngcontent-%COMP%]{margin-top:22px}.dd-files-table__expanded-row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:0;border-bottom:1px solid #e2e8f0}.dd-files-table__expanded-cell[_ngcontent-%COMP%]{padding:0!important}.storage-file-row[_ngcontent-%COMP%]{transition:box-shadow .15s ease}.storage-file-row[_ngcontent-%COMP%]:hover{box-shadow:0 4px 16px #00000014}.storage-file-header[_ngcontent-%COMP%]{background:#ffffff;transition:background .15s ease}.storage-file-header[_ngcontent-%COMP%]:hover{background:#f8fafc}.file-name-text[_ngcontent-%COMP%]{color:#0f172a;font-size:14px}.file-meta-text[_ngcontent-%COMP%]{color:#475569;font-size:12px}.meta-line[_ngcontent-%COMP%]{gap:8px}.source-system-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;padding:2px 8px;border-radius:4px;line-height:18px;background:#f1f5f9;color:#475569;border:1px solid #e2e8f0}.source-system-badge.src-s3[_ngcontent-%COMP%]{background:#dbeafe;color:#1d4ed8;border:1px solid #93c5fd}.source-system-badge.src-directory[_ngcontent-%COMP%]{background:#fef3c7;color:#92400e;border:1px solid #fcd34d}.source-system-badge.src-sharepoint[_ngcontent-%COMP%]{background:#dbeafe;color:#1d4ed8;border:1px solid #93c5fd}.file-risk-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;padding:4px 10px;border-radius:6px;letter-spacing:.3px}.file-risk-badge.risk-high[_ngcontent-%COMP%]{background:rgba(239,68,68,.15);color:#ef4444;border:1px solid rgba(239,68,68,.3)}
1.file-risk-badge.risk-medium[_ngcontent-%COMP%]{background:rgba(245,158,11,.15);color:#d97706;border:1px solid rgba(245,158,11,.3)}.file-risk-badge.risk-low[_ngcontent-%COMP%]{background:rgba(16,185,129,.12);color:#059669;border:1px solid rgba(16,185,129,.3)}.view-file-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;padding:6px 14px;border-radius:8px;background:#10b981;color:#fff;border:none;cursor:pointer;transition:background .15s ease,transform .1s ease;white-space:nowrap}.view-file-btn[_ngcontent-%COMP%]:hover{background:#059669;transform:translateY(-1px)}.view-file-btn[_ngcontent-%COMP%]:active{transform:translateY(0)}.expand-chevron[_ngcontent-%COMP%]{color:#64748b;display:flex;align-items:center;transition:transform .2s ease}.expand-chevron.expanded[_ngcontent-%COMP%]{transform:rotate(180deg)}.findings-expanded-wrapper[_ngcontent-%COMP%]{overflow-x:auto;border-top:1px solid #e2e8f0}.findings-inner-table[_ngcontent-%COMP%]{width:100%;table-layout:auto;border-collapse:collapse;font-size:12px}.findings-inner-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]{background:#f8fafc}.findings-inner-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{padding:10px 12px;text-align:left;font-size:11px;font-weight:700;letter-spacing:.6px;color:#64748b;border-bottom:1px solid #e2e8f0;white-space:nowrap}.findings-inner-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]{border-bottom:1px solid #f1f5f9;transition:background .12s}.findings-inner-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:hover{background:#f8fafc}.findings-inner-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:9px 12px;vertical-align:middle;max-width:240px;text-align:left}.entity-type-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:2px 8px;border-radius:4px;font-size:11px;font-weight:700;color:#fff;white-space:nowrap;letter-spacing:.3px;background:#475569}.entity-type-badge.et-person[_ngcontent-%COMP%]{background:#4f46e5}.entity-type-badge.et-location[_ngcontent-%COMP%]{background:#0ea5e9}.entity-type-badge.et-date_time[_ngcontent-%COMP%]{background:#64748b}.entity-type-badge.et-email_address[_ngcontent-%COMP%]{background:#0891b2}.entity-type-badge.et-nrp[_ngcontent-%COMP%]{background:#7c3aed}.entity-type-badge.et-uk_nhs[_ngcontent-%COMP%]{background:#dc2626}.entity-type-badge.et-pl_pesel[_ngcontent-%COMP%]{background:#db2777}.entity-type-badge.et-url[_ngcontent-%COMP%]{background:#0d9488}.finding-category[_ngcontent-%COMP%]{font-weight:500;font-size:12px}.matched-value-text[_ngcontent-%COMP%]{color:#22c55e;font-family:var(--dd-dashboard-font-family);font-size:12px}.snippet-cell[_ngcontent-%COMP%]{max-width:200px}.snippet-text[_ngcontent-%COMP%]{color:#64748b;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.finding-risk-pill[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:12px;font-size:11px;font-weight:600;white-space:nowrap}.risk-dot[_ngcontent-%COMP%]{width:7px;height:7px;border-radius:50%;flex-shrink:0}.confidence-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:2px 8px;border-radius:4px;font-size:11px;font-weight:700;background:#f1f5f9;color:#475569}.confidence-badge.conf-high[_ngcontent-%COMP%]{background:#dcfce7;color:#15803d}.confidence-badge.conf-medium[_ngcontent-%COMP%]{background:#fef9c3;color:#854d0e}.confidence-badge.conf-low[_ngcontent-%COMP%]{background:#fee2e2;color:#b91c1c}.recognizer-text[_ngcontent-%COMP%], .detected-on-text[_ngcontent-%COMP%]{color:#94a3b8;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.value-container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:6px}.value-chip[_ngcontent-%COMP%]{background:#f1f5f9;border-radius:6px;padding:3px 8px;font-size:12px;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.value-more[_ngcontent-%COMP%]{background:#e2e8f0;border-radius:6px;padding:3px 8px;font-size:12px}.risk-badge[_ngcontent-%COMP%]{color:#fff;padding:3px 10px;border-radius:12px;font-size:12px;font-weight:500}.value-chip-container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:6px;align-items:flex-start;min-width:0}.value-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;background:#f1f5f9;color:#334155;padding:4px 10px;border-radius:14px;font-size:12px;border:1px solid #e2e8f0;transition:all .2s ease;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.value-chip[_ngcontent-%COMP%]:hover{background:#e2e8f0}.view-more-btn[_ngcontent-%COMP%]{background:#eef2ff;border:none;color:#4f46e5;padding:4px 10px;border-radius:14px;font-size:12px;cursor:pointer;transition:all .2s ease}.view-more-btn[_ngcontent-%COMP%]:hover{background:#e0e7ff}.no-value[_ngcontent-%COMP%]{color:#94a3b8;font-size:12px}.values-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;width:100%}.close-icon[_ngcontent-%COMP%]{cursor:pointer;font-size:18px}.values-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;margin-top:10px}
1.value-chip-large[_ngcontent-%COMP%]{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:8px;font-size:13px;color:#334155;word-break:break-word}.dd-evidence-dialog[_ngcontent-%COMP%]{display:flex;flex-direction:column;max-height:min(72vh,620px);background:#ffffff}[_nghost-%COMP%]     .dd-evidence-dialog-mask{background:rgba(15,23,42,.3)!important;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}[_nghost-%COMP%]     .p-toast{z-index:10000001!important}[_nghost-%COMP%]     .p-toast.p-component{z-index:10000001!important}[_nghost-%COMP%]     .dd-analyse-dialog-mask{background:rgba(15,23,42,.34)!important;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}[_nghost-%COMP%]     .dd-analyse-dialog.p-dialog{overflow:hidden}[_nghost-%COMP%]     .dd-analyse-dialog .p-dialog-header{padding:20px 24px 10px}[_nghost-%COMP%]     .dd-analyse-dialog .p-dialog-content{padding:0 24px 22px;overflow:hidden}[_nghost-%COMP%]     .analyse-table.p-datatable .p-datatable-wrapper{max-height:300px}[_nghost-%COMP%]     .analyse-table.p-datatable .p-datatable-table{width:100%;table-layout:fixed}[_nghost-%COMP%]     .analyse-table.p-datatable .p-datatable-thead>tr>th{padding:12px 14px;white-space:nowrap}[_nghost-%COMP%]     .analyse-table.p-datatable .p-datatable-tbody>tr>td{padding:12px 14px;vertical-align:middle;white-space:normal;word-break:break-word;overflow-wrap:anywhere}[_nghost-%COMP%]     .analyse-table.p-datatable .p-datatable-thead>tr>th:nth-child(1), [_nghost-%COMP%]     .analyse-table.p-datatable .p-datatable-tbody>tr>td:nth-child(1){width:22%}[_nghost-%COMP%]     .analyse-table.p-datatable .p-datatable-thead>tr>th:nth-child(2), [_nghost-%COMP%]     .analyse-table.p-datatable .p-datatable-tbody>tr>td:nth-child(2){width:19%}[_nghost-%COMP%]     .analyse-table.p-datatable .p-datatable-thead>tr>th:nth-child(3), [_nghost-%COMP%]     .analyse-table.p-datatable .p-datatable-tbody>tr>td:nth-child(3){width:20%}[_nghost-%COMP%]     .analyse-table.p-datatable .p-datatable-thead>tr>th:nth-child(4), [_nghost-%COMP%]     .analyse-table.p-datatable .p-datatable-tbody>tr>td:nth-child(4){width:14%}[_nghost-%COMP%]     .analyse-table.p-datatable .p-datatable-thead>tr>th:nth-child(5), [_nghost-%COMP%]     .analyse-table.p-datatable .p-datatable-tbody>tr>td:nth-child(5){width:25%}[_nghost-%COMP%]     .analyse-table.p-datatable .p-datatable-tbody>tr>td:nth-child(4){white-space:nowrap}.dd-evidence-dialog__header[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px 14px;border-bottom:1px solid #e2e8f0}.dd-evidence-dialog__header-copy[_ngcontent-%COMP%]{min-width:0}.dd-evidence-dialog__title[_ngcontent-%COMP%]{color:#0f172a;font-size:18px;font-weight:700;line-height:1.15}.dd-evidence-dialog__subtitle[_ngcontent-%COMP%]{margin-top:4px;color:#64748b;font-size:12px;font-weight:600;word-break:break-word}.dd-evidence-dialog__icon-button[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;background:transparent;color:#64748b;border-radius:4px;transition:background .18s ease,color .18s ease}.dd-evidence-dialog__icon-button[_ngcontent-%COMP%]:hover{background:#f8fafc;color:#0f172a}.dd-evidence-dialog__body[_ngcontent-%COMP%]{padding:16px 20px 0;overflow:hidden}.dd-evidence-dialog__summary-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:20px}.dd-evidence-dialog__summary-card[_ngcontent-%COMP%]{min-height:104px;padding:18px 20px;border-radius:6px}.dd-evidence-dialog__summary-card--risk[_ngcontent-%COMP%]{background:rgba(244,183,64,.12)}.dd-evidence-dialog__summary-card--category[_ngcontent-%COMP%]{background:rgba(52,195,143,.2)}.dd-evidence-dialog__summary-label[_ngcontent-%COMP%]{color:#64748b;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.dd-evidence-dialog__summary-value[_ngcontent-%COMP%]{margin-top:10px;color:#0f172a;font-size:24px;font-weight:700;line-height:1.3;word-break:break-word}.dd-evidence-dialog__summary-value--risk[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:10px}.dd-evidence-dialog__risk-dot[_ngcontent-%COMP%]{width:10px;height:10px;border-radius:999px;flex-shrink:0}.dd-evidence-dialog__table-wrap[_ngcontent-%COMP%]{overflow-y:auto;overflow-x:hidden;max-height:min(42vh,320px);border:1px solid #e2e8f0;background:#ffffff}.dd-evidence-dialog__table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse;table-layout:fixed}.dd-evidence-dialog__table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .dd-evidence-dialog__table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:12px 14px;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:top}.dd-evidence-dialog__table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{position:sticky;top:0;z-index:1;background:#ffffff;color:#64748b;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.dd-evidence-dialog__table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{color:#334155;font-size:13px;font-weight:500}.dd-evidence-dialog__table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:nth-child(1), .dd-evidence-dialog__table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:nth-child(1){width:24%}.dd-evidence-dialog__table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:nth-child(2), .dd-evidence-dialog__table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:nth-child(2){width:54%}.dd-evidence-dialog__table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:nth-child(3), .dd-evidence-dialog__table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:nth-child(3){width:22%}.dd-evidence-dialog__matched-value[_ngcontent-%COMP%]{color:#0f172a;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12px;font-weight:600;word-break:break-word}.dd-evidence-dialog__snippet[_ngcontent-%COMP%]{color:#475569;font-size:12px;line-height:1.55;white-space:pre-wrap;word-break:break-word}.dd-evidence-dialog__footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:14px 20px 18px;border-top:1px solid #e2e8f0}.dd-evidence-dialog__close-button[_ngcontent-%COMP%]{min-width:96px;height:38px;border:1px solid #cbd5e1;background:#ffffff;color:#334155;font-size:14px;font-weight:600;border-radius:4px;transition:border-color .18s ease,background .18s ease}.dd-evidence-dialog__close-button[_ngcontent-%COMP%]:hover{border-color:#94a3b8;background:#f8fafc}.dd-evidence-dialog__view-button[_ngcontent-%COMP%]{min-width:108px;height:38px;border:1px solid #16a34a;background:#16a34a;color:#fff;font-size:14px;font-weight:600;border-radius:4px;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:background .18s ease,border-color .18s ease,opacity .18s ease}.dd-evidence-dialog__view-button[_ngcontent-%COMP%]:hover:not(:disabled){background:#15803d;border-color:#15803d}.dd-evidence-dialog__view-button[_ngcontent-%COMP%]:disabled{opacity:.7;cursor:not-allowed}.p-dropdown-panel[_ngcontent-%COMP%]{z-index:11000!important}.storage-pagination[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px}.spag-btn[_ngcontent-%COMP%]{min-width:32px;height:32px;padding:0 8px;border-radius:6px;border:1px solid #e2e8f0;background:#fff;color:#475569;font-size:12px;font-weight:600;cursor:pointer;transition:all .15s ease;display:inline-flex;align-items:center;justify-content:center}.spag-btn[_ngcontent-%COMP%]:hover:not(:disabled){background:#f1f5f9;border-color:#cbd5e1}.spag-btn.active[_ngcontent-%COMP%]{background:#4f46e5;border-color:#4f46e5;color:#fff}.spag-btn[_ngcontent-%COMP%]:disabled{opacity:.4;cursor:not-allowed}[_nghost-%COMP%]     .storage-paginator .p-paginator{border:none;background:transparent;padding:0}[_nghost-%COMP%]     .storage-paginator .p-paginator-pages .p-paginator-page{border:none;background:transparent;color:#64748b;min-width:28px;height:28px;box-shadow:none}[_nghost-%COMP%]     .storage-paginator .p-paginator-pages .p-paginator-page:hover{border:none;background:transparent}[_nghost-%COMP%]     .storage-paginator .p-paginator-pages .p-paginator-page.p-highlight{border:1px solid #93c5fd;background:#e0f2fe;color:#334155;border-radius:8px}[_nghost-%COMP%]     .storage-paginator .p-paginator-first, [_nghost-%COMP%]     .storage-paginator .p-paginator-prev, [_nghost-%COMP%]     .storage-paginator .p-paginator-next, [_nghost-%COMP%]     .storage-paginator .p-paginator-last{border:none;background:transparent;color:#64748b;min-width:28px;height:28px;box-shadow:none}[_nghost-%COMP%]     .storage-paginator .p-paginator-first:hover, [_nghost-%COMP%]     .storage-paginator .p-paginator-prev:hover, [_nghost-%COMP%]     .storage-paginator .p-paginator-next:hover, [_nghost-%COMP%]     .storage-paginator .p-paginator-last:hover{border:none;background:transparent}.editable-cell-wrap[_ngcontent-%COMP%]{display:block;max-width:100%;overflow:hidden}.edit-finding-btn[_ngcontent-%COMP%]{border:none;background:transparent;cursor:pointer;padding:0;line-height:1;font-size:13px}.save-finding-btn[_ngcontent-%COMP%]{border:1px solid #10b981;background:#10b981;color:#fff;border-radius:6px;padding:4px 10px;font-size:12px;font-weight:600;cursor:pointer}.save-finding-btn[_ngcontent-%COMP%]:hover:not(:disabled){border-color:#059669;background:#059669}.save-finding-btn[_ngcontent-%COMP%]:disabled{border-color:#cbd5e1;background:#e2e8f0;color:#64748b;cursor:not-allowed}[_nghost-%COMP%]     .finding-edit-dropdown{width:100%;min-width:0;max-width:100%}[_nghost-%COMP%]     .finding-edit-dropdown .p-dropdown{width:100%;min-width:0;max-width:100%}[_nghost-%COMP%]     .finding-edit-dropdown .p-dropdown-label{overflow:hidden;text-overflow:ellipsis}.finding-actions-wrap[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:8px}.edit-finding-icon-btn[_ngcontent-%COMP%]{width:30px;height:30px;border:1px solid #cbd5e1;border-radius:4px;background:#ffffff;color:#334155;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0}.edit-finding-icon-btn[_ngcontent-%COMP%]:hover{background:#f8fafc;border-color:#94a3b8}.delete-finding-icon-btn[_ngcontent-%COMP%]{border:none;background:transparent;cursor:pointer;color:#ef4444;line-height:1;padding:2px;display:inline-flex;align-items:center;justify-content:center}.delete-finding-icon-btn[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:not-allowed}.delete-finding-icon-btn[_ngcontent-%COMP%]:hover:not(:disabled){color:#dc2626}.delete-success-toast[_ngcontent-%COMP%]{position:fixed;right:20px;bottom:20px;z-index:1200;background:#d1fae5;color:#065f46;border:1px solid #a7f3d0;border-radius:4px;min-width:420px;max-width:700px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 8px 20px #00000014;font-size:14px}.save-success-toast[_ngcontent-%COMP%]{position:fixed;right:20px;bottom:20px;z-index:1200;background:#d1fae5;color:#065f46;border:1px solid #a7f3d0;border-radius:4px;min-width:320px;max-width:520px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 8px 20px #00000014;font-size:14px}.delete-success-close[_ngcontent-%COMP%]{border:none;background:transparent;color:#4b956f;cursor:pointer;font-size:18px;line-height:1;padding:0 4px}.overridden-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:2px 8px;border-radius:4px;font-size:11px;font-weight:700}.overridden-badge.yes[_ngcontent-%COMP%]{background:#dcfce7;color:#15803d}.overridden-badge.no[_ngcontent-%COMP%]{background:#fee2e2;color:#b91c1c}.file\\:pp-mr-4[_ngcontent-%COMP%]::file-selector-button{margin-right:1rem}.file\\:pp-rounded-full[_ngcontent-%COMP%]::file-selector-button{border-radius:9999px}.file\\:pp-border-0[_ngcontent-%COMP%]::file-selector-button{border-width:0px}.file\\:pp-bg-blue-50[_ngcontent-%COMP%]::file-selector-button{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.file\\:pp-px-4[_ngcontent-%COMP%]::file-selector-button{padding-left:1rem;padding-right:1rem}.file\\:pp-py-2[_ngcontent-%COMP%]::file-selector-button{padding-top:.5rem;padding-bottom:.5rem}.file\\:pp-text-sm[_ngcontent-%COMP%]::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:pp-font-semibold[_ngcontent-%COMP%]::file-selector-button{font-weight:600}.file\\:pp-text-blue-700[_ngcontent-%COMP%]::file-selector-button{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.after\\:pp-absolute[_ngcontent-%COMP%]:after{content:var(--tw-content);position:absolute}.after\\:pp-bottom-0[_ngcontent-%COMP%]:after{content:var(--tw-content);bottom:0}.after\\:pp-left-0[_ngcontent-%COMP%]:after{content:var(--tw-content);left:0}.after\\:pp-right-0[_ngcontent-%COMP%]:after{content:var(--tw-content);right:0}.after\\:pp-h-0\\.5[_ngcontent-%COMP%]:after{content:var(--tw-content);height:.125rem}.after\\:pp-bg-\\__ph-0__[_ngcontent-%COMP%]:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(22 191 94 / var(--tw-bg-opacity, 1))}.even\\:pp-bg-slate-50[_ngcontent-%COMP%]:nth-child(even){--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1))}.hover\\:pp--translate-y-1[_ngcontent-%COMP%]:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:pp-bg-\\__ph-0__[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(22 191 94 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-gray-100[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-gray-800[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-sky-700[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-slate-200[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-slate-50[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1))}.hover\\:pp-text-red-800[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.hover\\:pp-text-slate-800[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity, 1))}.hover\\:pp-text-slate-900[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.hover\\:pp-text-white[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hover\\:pp-underline[_ngcontent-%COMP%]:hover{text-decoration-line:underline}.hover\\:pp-opacity-90[_ngcontent-%COMP%]:hover{opacity:.9}.hover\\:pp-shadow-lg[_ngcontent-%COMP%]:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
1--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\\:pp-shadow-md[_ngcontent-%COMP%]:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\\:file\\:pp-bg-blue-100[_ngcontent-%COMP%]::file-selector-button:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.focus\\:pp-border-blue-500[_ngcontent-%COMP%]:focus{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.focus\\:pp-bg-\\__ph-0__\\/15[_ngcontent-%COMP%]:focus{background-color:#16bf5e26}.focus\\:pp-outline-none[_ngcontent-%COMP%]:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:pp-ring-blue-500[_ngcontent-%COMP%]:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}.disabled\\:pp-cursor-not-allowed[_ngcontent-%COMP%]:disabled{cursor:not-allowed}.disabled\\:pp-opacity-50[_ngcontent-%COMP%]:disabled{opacity:.5}@media (min-width: 640px){.sm\\:pp-grid-cols-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:pp-text-base[_ngcontent-%COMP%]{font-size:1rem;line-height:1.5rem}.sm\\:pp-text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}.sm\\:pp-text-xl[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 768px){.md\\:pp-my-3[_ngcontent-%COMP%]{margin-top:.75rem;margin-bottom:.75rem}.md\\:pp-grid-cols-1[_ngcontent-%COMP%]{grid-template-columns:repeat(1,minmax(0,1fr))}.md\\:pp-grid-cols-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:pp-grid-cols-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}.md\\:pp-gap-3[_ngcontent-%COMP%]{gap:.75rem}.md\\:pp-px-3[_ngcontent-%COMP%]{padding-left:.75rem;padding-right:.75rem}.md\\:pp-text-2xl[_ngcontent-%COMP%]{font-size:1.5rem;line-height:2rem}.md\\:pp-text-\\__ph-0__[_ngcontent-%COMP%]{font-size:15px}.md\\:pp-text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}}@media (min-width: 1024px){.lg\\:pp-grid-cols-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\\:pp-grid-cols-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,minmax(0,1fr))}}']}),i})();function aa(i,s){1&i&&(t.TgZ(0,"span",49),t._uU(1,"Paused"),t.qZA())}function sa(i,s){1&i&&(t.TgZ(0,"span",52),t._uU(1,"Enabled"),t.qZA())}function ca(i,s){1&i&&(t.TgZ(0,"span",53),t._uU(1,"Disabled"),t.qZA())}function pa(i,s){if(1&i&&(t.YNc(0,sa,2,0,"span",50),t.YNc(1,ca,2,0,"span",51)),2&i){const o=t.oxw(2);t.Q6J("ngIf","enabled"===(null==o.job?null:o.job.status)),t.xp6(1),t.Q6J("ngIf","enabled"!==(null==o.job?null:o.job.status))}}function da(i,s){1&i&&(t.TgZ(0,"div",40),t._uU(1," No upcoming runs "),t.qZA())}function la(i,s){if(1&i&&(t.TgZ(0,"li",54),t._uU(1),t.ALo(2,"date"),t.qZA()),2&i){const o=s.$implicit;t.xp6(1),t.hij(" ",t.lcZ(2,1,o)," ")}}function ga(i,s){if(1&i&&(t.TgZ(0,"div")(1,"span",33),t._uU(2,"Prompt:"),t.qZA(),t.TgZ(3,"span",55),t._uU(4),t.qZA()()),2&i){const o=t.oxw(2);t.xp6(4),t.Oqu(null==o.job?null:o.job.user_prompt)}}function _a(i,s){if(1&i&&(t.ynx(0),t._uU(1),t.ALo(2,"date"),t.BQk()),2&i){const o=t.oxw().$implicit;t.xp6(1),t.hij(" ",t.xi3(2,1,o.completedAt,"medium")," ")}}function ua(i,s){1&i&&t._uU(0," - - - - ")}function ma(i,s){1&i&&(t.TgZ(0,"span",66),t._uU(1," Completed "),t.qZA())}function ha(i,s){1&i&&(t.TgZ(0,"span",67),t._uU(1," Running "),t.qZA())}function ba(i,s){1&i&&(t.TgZ(0,"span",68),t._uU(1," Failed "),t.qZA())}function fa(i,s){if(1&i&&(t.TgZ(0,"span",69),t._uU(1),t.qZA()),2&i){const o=t.oxw().$implicit;t.xp6(1),t.hij(" ",null==o?null:o.status," ")}}function xa(i,s){if(1&i&&(t.TgZ(0,"tr",56)(1,"td",57),t._uU(2),t.qZA(),t.TgZ(3,"td",58),t._uU(4),t.qZA(),t.TgZ(5,"td",59),t._uU(6),t.qZA(),t.TgZ(7,"td",59),t._uU(8),t.ALo(9,"date"),t.qZA(),t.TgZ(10,"td",59),t.YNc(11,_a,3,4,"ng-container",0),t.YNc(12,ua,1,0,"ng-template",null,60,t.W1O),t.qZA(),t.TgZ(14,"td",59)(15,"span",61),t.YNc(16,ma,2,0,"span",62),t.YNc(17,ha,2,0,"span",63),t.YNc(18,ba,2,0,"span",64),t.YNc(19,fa,2,1,"span",65),t.qZA()()()),2&i){const o=s.$implicit,e=t.MAs(13);t.xp6(2),t.hij(" ",(null==o?null:o.runId)||"- - - -"," "),t.xp6(2),t.hij(" ",(null==o?null:o.workflowId)||"- - - -"," "),t.xp6(2),t.Oqu(null==o?null:o.workflowType),t.xp6(2),t.Oqu(t.xi3(9,10,null==o?null:o.startAt,"medium")),t.xp6(3),t.Q6J("ngIf",("Completed"===(null==o?null:o.status)||"Failed"===(null==o?null:o.status))&&(null==o?null:o.completedAt))("ngIfElse",e),t.xp6(4),t.Q6J("ngSwitch",null==o?null:o.status),t.xp6(1),t.Q6J("ngSwitchCase","Completed"),t.xp6(1),t.Q6J("ngSwitchCase","Running"),t.xp6(1),t.Q6J("ngSwitchCase","Failed")}}function va(i,s){1&i&&(t.TgZ(0,"tr")(1,"td",70),t._uU(2," No recent runs "),t.qZA()())}const kt=function(i,s){return{oid:i,pid:s}};
1function ya(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div")(1,"div",3)(2,"div",4)(3,"div")(4,"nav",5)(5,"ol",6)(6,"li",7)(7,"a",8),t._uU(8,"Home"),t.qZA()(),t.TgZ(9,"li",7)(10,"a",9),t._uU(11,"Jobs"),t.qZA()(),t.TgZ(12,"li",10),t._uU(13,"Job Status"),t.qZA()()()()()(),t.TgZ(14,"div",11)(15,"div",12)(16,"div",13)(17,"h1",14),t._uU(18," Job: "),t.TgZ(19,"span",15),t._uU(20),t.qZA()(),t.YNc(21,aa,2,0,"span",16),t.YNc(22,pa,2,2,"ng-template",null,17,t.W1O),t.qZA(),t.TgZ(24,"div",13)(25,"button",18),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.onPause())}),t._uU(26," Pause "),t.qZA(),t.TgZ(27,"button",19),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.onResume())}),t._uU(28," Resume "),t.qZA(),t.TgZ(29,"button",20),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.onTriggerRun())}),t._uU(30," Trigger Run "),t.qZA(),t.TgZ(31,"button",21),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.onRefresh())}),t._UZ(32,"i",22),t.TgZ(33,"span"),t._uU(34,"Refresh"),t.qZA()()()(),t.TgZ(35,"div",23)(36,"div",24)(37,"h4",25),t._uU(38,"Schedule (cron)"),t.qZA(),t._UZ(39,"input",26),t.TgZ(40,"div",27)(41,"h5",28),t._uU(42,"Upcoming Runs"),t.qZA(),t.YNc(43,da,2,0,"div",29),t.TgZ(44,"ul",30),t.YNc(45,la,3,3,"li",31),t.qZA()()(),t.TgZ(46,"div",24)(47,"h4",25),t._uU(48,"Job Info"),t.qZA(),t.TgZ(49,"div",32)(50,"div")(51,"span",33),t._uU(52,"ID:"),t.qZA(),t.TgZ(53,"span",34),t._uU(54),t.qZA()(),t.TgZ(55,"div")(56,"span",33),t._uU(57,"Created:"),t.qZA(),t._uU(58),t.ALo(59,"date"),t.qZA(),t.TgZ(60,"div")(61,"span",33),t._uU(62,"Updated:"),t.qZA(),t._uU(63),t.ALo(64,"date"),t.qZA(),t.YNc(65,ga,5,1,"div",35),t.qZA()(),t.TgZ(66,"div",24)(67,"h4",25),t._uU(68,"Data Connection"),t.qZA(),t.TgZ(69,"div",32)(70,"div")(71,"span",33),t._uU(72,"Name:"),t.qZA(),t._uU(73),t.qZA(),t.TgZ(74,"div")(75,"span",33),t._uU(76,"Host:"),t.qZA(),t.TgZ(77,"span",36),t._uU(78),t.qZA()(),t.TgZ(79,"div")(80,"span",33),t._uU(81,"DB:"),t.qZA(),t._uU(82),t.qZA(),t.TgZ(83,"div")(84,"span",33),t._uU(85,"System:"),t.qZA(),t._uU(86),t.qZA()()()(),t.TgZ(87,"div",37)(88,"div",38)(89,"h3",39),t._uU(90,"Recent Job Runs"),t.qZA(),t.TgZ(91,"div",40),t._uU(92),t.qZA()(),t.TgZ(93,"div",41)(94,"table",42)(95,"thead",43)(96,"tr")(97,"th",44),t._uU(98," Run ID "),t.qZA(),t.TgZ(99,"th",44),t._uU(100," Workflow ID "),t.qZA(),t.TgZ(101,"th",44),t._uU(102," Workflow Type "),t.qZA(),t.TgZ(103,"th",44),t._uU(104," Start At "),t.qZA(),t.TgZ(105,"th",44),t._uU(106," Completed At "),t.qZA(),t.TgZ(107,"th",44),t._uU(108," Status "),t.qZA()()(),t.TgZ(109,"tbody"),t.YNc(110,xa,20,13,"tr",45),t.YNc(111,va,3,0,"tr",35),t.qZA()()()(),t.TgZ(112,"div",46)(113,"details")(114,"summary",47),t._uU(115," Raw payload (debug) "),t.qZA(),t.TgZ(116,"pre",48),t._uU(117),t.ALo(118,"json"),t.qZA()()()()()}if(2&i){const o=t.MAs(23),e=t.oxw();
1t.xp6(7),t.Q6J("queryParams",t.WLB(33,kt,e.oid,e.pid)),t.xp6(3),t.Q6J("queryParams",t.WLB(36,kt,e.oid,e.pid)),t.xp6(10),t.Oqu(null==e.job?null:e.job.name),t.xp6(1),t.Q6J("ngIf",null==e.schedule?null:e.schedule.Paused)("ngIfElse",o),t.xp6(4),t.Q6J("disabled",e.pauseDisabled)("ngClass",e.pauseDisabled?"pp-cursor-not-allowed":"hover:pp-opacity-90"),t.xp6(2),t.Q6J("disabled",e.resumeDisabled)("ngClass",e.resumeDisabled?"pp-cursor-not-allowed":"hover:pp-opacity-90"),t.xp6(12),t.Q6J("value",(null==e.job?null:e.job.cron_schedule)||"No Cron Job was scheduled"),t.xp6(4),t.Q6J("ngIf",0===e.upcomingRuns.length),t.xp6(2),t.Q6J("ngForOf",e.upcomingRuns),t.xp6(9),t.Oqu(null==e.job?null:e.job.id),t.xp6(4),t.hij(" ",t.xi3(59,25,null==e.job?null:e.job.created_at,"medium")," "),t.xp6(5),t.hij(" ",t.xi3(64,28,null==e.job?null:e.job.updated_at,"medium")," "),t.xp6(2),t.Q6J("ngIf",null==e.job?null:e.job.user_prompt),t.xp6(8),t.hij(" ",(null==e.connection?null:e.connection.name)||"- - - -"," "),t.xp6(5),t.AsE("",(null==e.connection?null:e.connection.host)||"- - - -",":",(null==e.connection?null:e.connection.port)||"- - - -",""),t.xp6(4),t.hij(" ",(null==e.connection?null:e.connection.database_name)||"- - - -"," "),t.xp6(4),t.hij(" ",(null==e.connection?null:e.connection.system_type)||"- - - -"," "),t.xp6(6),t.hij(" Showing ",e.recentActions.length," runs "),t.xp6(18),t.Q6J("ngForOf",e.recentActions),t.xp6(1),t.Q6J("ngIf",0===(null==e.recentActions?null:e.recentActions.length)),t.xp6(6),t.Oqu(t.lcZ(118,31,e.payload))}}function wa(i,s){1&i&&(t.TgZ(0,"div",71),t._UZ(1,"mat-spinner",72),t.qZA()),2&i&&(t.xp6(1),t.Q6J("strokeWidth",4))}let Ca=(()=>{const s=class{normalizedStatus(){return(this.job?.status||"").toString().trim().toLowerCase()}get pauseDisabled(){const e=this.normalizedStatus();return!0===this.schedule?.Paused||"paused"===e||this.isPausing}get resumeDisabled(){const e=this.normalizedStatus();return!(!0===this.schedule?.Paused||"paused"===e)||this.isResuming}constructor(e,n,r,a){this.activatedRouter=e,this.jobStatusApiService=n,this.messageService=r,this.titleService=a,this.loader$=new q.X(!1),this.payload={},this.upcomingRuns=[],this.recentActions=[],this.isPausing=!1,this.isResuming=!1}ngOnInit(){this.titleService.setTitle("Job Status - "+f.N.portalPrefix),this.loader$.next(!0),this.activatedRouter.queryParams.pipe((0,N.w)(e=>(this.oid=e.oid,this.pid=e.pid,this.activatedRouter.params)),(0,N.w)(e=>(this.id=e?.id,this.jobStatusApiService.getJobStatusList(this.oid,this.id)))).subscribe(e=>{this.payload=e,this.job=e.data.job,this.schedule=e.data.schedule,this.connection=this.job.data_discovery_connection||null,this.upcomingRuns=(this.schedule.NextActionTimes||[]).slice(0,10),this.recentActions=(this.job.job_statuses||[]).map((n,r)=>{const a=n||{};return{runId:a.workflow_run_id||`run-${r}`,workflowId:a.workflow_id||"",workflowType:a.workflow_type,startAt:n.start_time,completedAt:n.end_time,status:n.status}}),this.loader$.next(!1)})}mask(e=""){return e?e.length<=6?"******":e.slice(0,2)+"\u2022\u2022\u2022\u2022\u2022\u2022"+e.slice(-2):""}onPause(){this.pauseDisabled?this.messageService.add({severity:"info",summary:"Already paused",detail:"This job is already paused."}):(this.isPausing=!0,this.jobStatusApiService.pauseJob(this.oid,this.id).subscribe({next:()=>{this.schedule={...this.schedule||{},Paused:!0},this.job={...this.job||{},status:"paused"},this.messageService.add({severity:"success",summary:"Success",detail:"Job paused successfully"}),setTimeout(()=>{this.onRefresh()},3e3),this.isPausing=!1},error:()=>{this.messageService.add({severity:"error",summary:"Error",detail:"Job pause failed"}),this.isPausing=!1}}))}onResume(){this.resumeDisabled?this.messageService.add({severity:"info",summary:"Already enabled",detail:"This job is already enabled."}):(this.isResuming=!0,this.jobStatusApiService.resumeJob(this.oid,this.id).subscribe({next:()=>{this.job={...this.job||{},status:"enabled"},this.schedule={...this.schedule||{},Paused:!1},this.messageService.add({severity:"success",summary:"Success",detail:"Job resumed successfully"}),setTimeout(()=>{this.onRefresh()},3e3),this.isResuming=!1},error:()=>{this.messageService.add({severity:"error",summary:"Error",detail:"Job resume failed"}),this.isResuming=!1}}))}onTriggerRun(){this.jobStatusApiService.triggerRun(this.oid,this.id).subscribe({next:()=>{this.messageService.add({severity:"success",summary:"Success",detail
1:"Job triggered successfully"}),setTimeout(()=>{this.onRefresh()},3e3)},error:()=>{this.messageService.add({severity:"error",summary:"Error",detail:"Job trigger failed"})}})}onRefresh(){this.ngOnInit()}};let i=s;return s.\u0275fac=function(n){return new(n||s)(t.Y36(y.gz),t.Y36(vt),t.Y36(C.ez),t.Y36(J.Dx))},s.\u0275cmp=t.Xpm({type:s,selectors:[["app-job-status"]],decls:5,vars:4,consts:[[4,"ngIf","ngIfElse"],["loader",""],["position","bottom-right"],[1,"col-md-12",2,"margin-bottom","25px","margin-top","15px","margin-left","6.5px"],[1,"d-sm-flex","align-items-center","justify-content-between"],["aria-label","breadcrumb",1,"bredcrub-row",2,"margin-left","-14px"],[1,"breadcrumb","breadcrumb-style1","mg-b-10"],[1,"breadcrumb-item"],["routerLink","/home/welcome",3,"queryParams"],["routerLink","/data-discovery/jobs",3,"queryParams"],[1,"breadcrumb-item","active"],[1,"pp-container","pp-mx-auto","pp-p-6","pp-bg-[#F6F8FF]","pp-min-h-screen"],[1,"pp-flex","pp-items-center","pp-justify-between","pp-mb-6"],[1,"pp-flex","pp-items-center","pp-space-x-3"],[1,"pp-text-2xl","pp-font-semibold","pp-text-slate-900"],[1,"pp-text-blue-600","pp-ml-2"],["class","pp-inline-block pp-px-2 pp-py-1 pp-text-xs pp-rounded pp-bg-amber-600",4,"ngIf","ngIfElse"],["enabled",""],[1,"pp-px-4","pp-py-2","pp-rounded-md","pp-bg-amber-600","pp-text-white",3,"disabled","ngClass","click"],[1,"pp-px-4","pp-py-2","pp-rounded-md","pp-bg-emerald-600","pp-text-white",3,"disabled","ngClass","click"],[1,"pp-px-4","pp-py-2","pp-rounded-md","pp-bg-sky-600","pp-text-white","hover:pp-opacity-90",3,"click"],[1,"pp-px-3","pp-py-2","pp-rounded-md","pp-bg-slate-100","pp-text-slate-700","pp-border","pp-flex","pp-items-center","pp-gap-2","hover:pp-bg-slate-200",3,"click"],[1,"pi","pi-refresh"],[1,"pp-grid","pp-grid-cols-1","md:pp-grid-cols-3","pp-gap-6","pp-mb-6"],[1,"pp-bg-white","pp-rounded-lg","pp-shadow-sm","pp-p-5"],[1,"pp-text-sm","pp-text-slate-500","pp-mb-3"],["type","text","readonly","",1,"pp-w-full","pp-border","pp-rounded-md","pp-px-3","pp-py-2","pp-text-sm","pp-bg-slate-50",3,"value"],[1,"pp-mt-4"],[1,"pp-text-sm","pp-font-medium","pp-mb-2"],["class","pp-text-sm pp-text-slate-500",4,"ngIf"],[1,"pp-text-sm","pp-text-slate-700","pp-space-y-1","pp-max-h-36","pp-overflow-auto","pp-py-1"],["class","pp-font-mono pp-text-xs pp-leading-5",4,"ngFor","ngForOf"],[1,"pp-space-y-2","pp-text-sm"],[1,"pp-font-medium"],[1,"pp-font-mono","pp-break-words"],[4,"ngIf"],[1,"pp-break-words"],[1,"pp-bg-white","pp-rounded-lg","pp-shadow-sm","pp-p-4","pp-mb-6"],[1,"pp-flex","pp-items-center","pp-justify-between","pp-mb-4"],[1,"pp-text-lg","pp-font-medium"],[1,"pp-text-sm","pp-text-slate-500"],[1,"pp-overflow-x-auto"],[1,"pp-min-w-full","pp-text-sm","pp-border-collapse"],[1,"pp-bg-slate-50","pp-text-slate-600"],[1,"pp-text-left","pp-px-4","pp-py-3","pp-whitespace-nowrap"],["class","pp-border-t even:pp-bg-slate-50",4,"ngFor","ngForOf"],[1,"pp-bg-white","pp-rounded-lg","pp-shadow-sm","pp-p-4"],[1,"pp-cursor-pointer","pp-text-sm","pp-text-slate-600"],[1,"pp-mt-3","pp-text-xs","pp-font-mono","pp-text-slate-700","pp-overflow-auto","pp-max-h-72"],[1,"pp-inline-block","pp-px-2","pp-py-1","pp-text-xs","pp-rounded","pp-bg-amber-600"],["class","pp-inline-block pp-px-2 pp-py-1 pp-text-xs pp-rounded pp-bg-green-100 pp-text-green-800",4,"ngIf"],["class","pp-inline-block pp-px-2 pp-py-1 pp-text-xs pp-rounded pp-bg-red-100 pp-text-red-800",4,"ngIf"],[1,"pp-inline-block","pp-px-2","pp-py-1","pp-text-xs","pp-rounded","pp-bg-green-100","pp-text-green-800"],[1,"pp-inline-block","pp-px-2","pp-py-1","pp-text-xs","pp-rounded","pp-bg-red-100","pp-text-red-800"],[1,"pp-font-mono","pp-text-xs","pp-leading-5"],[1,"pp-text-slate-600"],[1,"pp-border-t","even:pp-bg-slate-50"],[1,"pp-px-4","pp-py-3","pp-font-mono","pp-break-words","pp-max-w-xs"],[1,"pp-px-4","pp-py-3","pp-break-words","pp-max-w-xs"],[1,"pp-px-4","pp-py-3"],["noDate",""],[1,"pp-inline-block","pp-px-2","pp-py-1","pp-text-xs","pp-rounded-full",3,"ngSwitch"],["class","pp-bg-green-100 pp-text-green-800",4,"ngSwitchCase"],["class","pp-bg-blue-100 pp-text-blue-800",4,"ngSwitchCase"],["class","pp-bg-red-100 pp-text-red-800",4,"ngSwitchCase"],["class","pp-bg-gray-100 pp-text-gray-800",4,"ngSwitchDefault"],[1,"pp-bg-green-100","pp-text-green-800"],[1,"pp-bg-blue-100","pp-text-blue-800"],[1,"pp-bg-red-100","pp-text-red-800"],[1,"pp-bg-gray-100","pp-text-gray-800"],["colspan","7",1,"pp-px-4","pp-py-6","pp-text-center","pp-text-slate-500"],[2,"display","flex","justify-content","center","height","100vh","align-items","center"],["diameter","50",3,"strokeWidth"]],template:function(n,r){if(1&n&&(t.YNc(0,ya,119,39,"div",0),t.ALo(1,"async"),t.YNc(2,wa,2,1,"ng-template",null,1,t.W1O),t._UZ(4,"p-toast",2)),2&n){const a=t.MAs(3);t.Q6J("ngIf",!t.lcZ(1,2,r.loader$))("ngIfElse",a)}}
1,dependencies:[h.mk,h.sg,h.O5,h.RF,h.n9,h.ED,y.rH,L.FN,E.Ou,h.Ov,h.Ts,h.uU],styles:['*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[_ngcontent-%COMP%]::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}[_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-content: ""}html[_ngcontent-%COMP%], [_nghost-%COMP%]{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body[_ngcontent-%COMP%]{margin:0;line-height:inherit}hr[_ngcontent-%COMP%]{height:0;color:inherit;border-top-width:1px}abbr[_ngcontent-%COMP%]:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-size:inherit;font-weight:inherit}a[_ngcontent-%COMP%]{color:inherit;text-decoration:inherit}b[_ngcontent-%COMP%], strong[_ngcontent-%COMP%]{font-weight:bolder}code[_ngcontent-%COMP%], kbd[_ngcontent-%COMP%], samp[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small[_ngcontent-%COMP%]{font-size:80%}sub[_ngcontent-%COMP%], sup[_ngcontent-%COMP%]{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub[_ngcontent-%COMP%]{bottom:-.25em}sup[_ngcontent-%COMP%]{top:-.5em}table[_ngcontent-%COMP%]{text-indent:0;border-color:inherit;border-collapse:collapse}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%], optgroup[_ngcontent-%COMP%], select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button[_ngcontent-%COMP%], select[_ngcontent-%COMP%]{text-transform:none}
1button[_ngcontent-%COMP%], input[_ngcontent-%COMP%]:where([type="button"]), input[_ngcontent-%COMP%]:where([type="reset"]), input[_ngcontent-%COMP%]:where([type="submit"]){-webkit-appearance:button;background-color:transparent;background-image:none}[_ngcontent-%COMP%]:-moz-focusring{outline:auto}[_ngcontent-%COMP%]:-moz-ui-invalid{box-shadow:none}progress[_ngcontent-%COMP%]{vertical-align:baseline}[_ngcontent-%COMP%]::-webkit-inner-spin-button, [_ngcontent-%COMP%]::-webkit-outer-spin-button{height:auto}[type=search][_ngcontent-%COMP%]{-webkit-appearance:textfield;outline-offset:-2px}[_ngcontent-%COMP%]::-webkit-search-decoration{-webkit-appearance:none}[_ngcontent-%COMP%]::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary[_ngcontent-%COMP%]{display:list-item}blockquote[_ngcontent-%COMP%], dl[_ngcontent-%COMP%], dd[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%], hr[_ngcontent-%COMP%], figure[_ngcontent-%COMP%], p[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{margin:0}fieldset[_ngcontent-%COMP%]{margin:0;padding:0}legend[_ngcontent-%COMP%]{padding:0}ol[_ngcontent-%COMP%], ul[_ngcontent-%COMP%], menu[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}dialog[_ngcontent-%COMP%]{padding:0}textarea[_ngcontent-%COMP%]{resize:vertical}input[_ngcontent-%COMP%]::placeholder, textarea[_ngcontent-%COMP%]::placeholder{opacity:1;color:#9ca3af}button[_ngcontent-%COMP%], [role=button][_ngcontent-%COMP%]{cursor:pointer}[_ngcontent-%COMP%]:disabled{cursor:default}img[_ngcontent-%COMP%], svg[_ngcontent-%COMP%], video[_ngcontent-%COMP%], canvas[_ngcontent-%COMP%], audio[_ngcontent-%COMP%], iframe[_ngcontent-%COMP%], embed[_ngcontent-%COMP%], object[_ngcontent-%COMP%]{display:block;vertical-align:middle}img[_ngcontent-%COMP%], video[_ngcontent-%COMP%]{max-width:100%;height:auto}[hidden][_ngcontent-%COMP%]:where(:not([hidden="until-found"])){display:none}.pp-container[_ngcontent-%COMP%]{width:100%}@media (min-width: 640px){.pp-container[_ngcontent-%COMP%]{max-width:640px}}@media (min-width: 768px){.pp-container[_ngcontent-%COMP%]{max-width:768px}}@media (min-width: 1024px){.pp-container[_ngcontent-%COMP%]{max-width:1024px}}@media (min-width: 1280px){.pp-container[_ngcontent-%COMP%]{max-width:1280px}}@media (min-width: 1536px){.pp-container[_ngcontent-%COMP%]{max-width:1536px}}.pp-pointer-events-none[_ngcontent-%COMP%]{pointer-events:none}.pp-absolute[_ngcontent-%COMP%]{position:absolute}.pp-relative[_ngcontent-%COMP%]{position:relative}.pp-inset-0[_ngcontent-%COMP%]{inset:0}.pp-inset-y-0[_ngcontent-%COMP%]{top:0;bottom:0}.pp-bottom-0[_ngcontent-%COMP%]{bottom:0}.pp-left-0[_ngcontent-%COMP%]{left:0}.pp-left-4[_ngcontent-%COMP%]{left:1rem}.pp-right-0[_ngcontent-%COMP%]{right:0}.pp-top-1\\/2[_ngcontent-%COMP%]{top:50%}.-pp-z-10[_ngcontent-%COMP%]{z-index:-10}.pp-col-span-1[_ngcontent-%COMP%]{grid-column:span 1 / span 1}.pp-col-span-11[_ngcontent-%COMP%]{grid-column:span 11 / span 11}.pp-col-span-2[_ngcontent-%COMP%]{grid-column:span 2 / span 2}.pp-col-span-3[_ngcontent-%COMP%]{grid-column:span 3 / span 3}.pp-col-span-9[_ngcontent-%COMP%]{grid-column:span 9 / span 9}.pp-mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.pp-my-2[_ngcontent-%COMP%]{margin-top:.5rem;margin-bottom:.5rem}.pp-mb-0[_ngcontent-%COMP%]{margin-bottom:0}.pp-mb-1[_ngcontent-%COMP%]{margin-bottom:.25rem}.pp-mb-2[_ngcontent-%COMP%]{margin-bottom:.5rem}.pp-mb-3[_ngcontent-%COMP%]{margin-bottom:.75rem}.pp-mb-4[_ngcontent-%COMP%]{margin-bottom:1rem}.pp-mb-6[_ngcontent-%COMP%]{margin-bottom:1.5rem}.pp-mb-8[_ngcontent-%COMP%]{margin-bottom:2rem}.pp-ml-1[_ngcontent-%COMP%]{margin-left:.25rem}.pp-ml-2[_ngcontent-%COMP%]{margin-left:.5rem}.pp-ml-3[_ngcontent-%COMP%]{margin-left:.75rem}.pp-ml-4[_ngcontent-%COMP%]{margin-left:1rem}.pp-ml-6[_ngcontent-%COMP%]{margin-left:1.5rem}.pp-ml-auto[_ngcontent-%COMP%]{margin-left:auto}.pp-mr-1[_ngcontent-%COMP%]{margin-right:.25rem}.pp-mr-2[_ngcontent-%COMP%]{margin-right:.5rem}.pp-mt-1[_ngcontent-%COMP%]{margin-top:.25rem}.pp-mt-10[_ngcontent-%COMP%]{margin-top:2.5rem}
1.pp-mt-2[_ngcontent-%COMP%]{margin-top:.5rem}.pp-mt-3[_ngcontent-%COMP%]{margin-top:.75rem}.pp-mt-4[_ngcontent-%COMP%]{margin-top:1rem}.pp-mt-5[_ngcontent-%COMP%]{margin-top:1.25rem}.pp-mt-6[_ngcontent-%COMP%]{margin-top:1.5rem}.pp-mt-\\__ph-0__[_ngcontent-%COMP%]{margin-top:3px}.pp-block[_ngcontent-%COMP%]{display:block}.pp-inline-block[_ngcontent-%COMP%]{display:inline-block}.pp-flex[_ngcontent-%COMP%]{display:flex}.pp-inline-flex[_ngcontent-%COMP%]{display:inline-flex}.pp-grid[_ngcontent-%COMP%]{display:grid}.pp-hidden[_ngcontent-%COMP%]{display:none}.pp-h-10[_ngcontent-%COMP%]{height:2.5rem}.pp-h-2[_ngcontent-%COMP%]{height:.5rem}.pp-h-20[_ngcontent-%COMP%]{height:5rem}.pp-h-24[_ngcontent-%COMP%]{height:6rem}.pp-h-3[_ngcontent-%COMP%]{height:.75rem}.pp-h-36[_ngcontent-%COMP%]{height:9rem}.pp-h-4[_ngcontent-%COMP%]{height:1rem}.pp-h-5[_ngcontent-%COMP%]{height:1.25rem}.pp-h-6[_ngcontent-%COMP%]{height:1.5rem}.pp-h-72[_ngcontent-%COMP%]{height:18rem}.pp-h-\\__ph-0__[_ngcontent-%COMP%]{height:2px}.pp-h-\\__ph-0__[_ngcontent-%COMP%]{height:calc(100vh - 72px)}.pp-h-full[_ngcontent-%COMP%]{height:100%}.pp-h-px[_ngcontent-%COMP%]{height:1px}.pp-max-h-0[_ngcontent-%COMP%]{max-height:0px}.pp-max-h-36[_ngcontent-%COMP%]{max-height:9rem}.pp-max-h-72[_ngcontent-%COMP%]{max-height:18rem}.pp-max-h-screen[_ngcontent-%COMP%]{max-height:100vh}.pp-min-h-\\__ph-0__[_ngcontent-%COMP%]{min-height:320px}.pp-min-h-\\__ph-0__[_ngcontent-%COMP%]{min-height:90px}.pp-min-h-screen[_ngcontent-%COMP%]{min-height:100vh}.pp-w-1\\/3[_ngcontent-%COMP%]{width:33.333333%}.pp-w-1\\/4[_ngcontent-%COMP%]{width:25%}.pp-w-16[_ngcontent-%COMP%]{width:4rem}.pp-w-20[_ngcontent-%COMP%]{width:5rem}.pp-w-24[_ngcontent-%COMP%]{width:6rem}.pp-w-3[_ngcontent-%COMP%]{width:.75rem}.pp-w-3\\/4[_ngcontent-%COMP%]{width:75%}.pp-w-36[_ngcontent-%COMP%]{width:9rem}.pp-w-4[_ngcontent-%COMP%]{width:1rem}.pp-w-5[_ngcontent-%COMP%]{width:1.25rem}.pp-w-6[_ngcontent-%COMP%]{width:1.5rem}.pp-w-72[_ngcontent-%COMP%]{width:18rem}.pp-w-full[_ngcontent-%COMP%]{width:100%}.pp-min-w-\\__ph-0__[_ngcontent-%COMP%]{min-width:120px}.pp-min-w-full[_ngcontent-%COMP%]{min-width:100%}.pp-max-w-2xl[_ngcontent-%COMP%]{max-width:42rem}.pp-max-w-3xl[_ngcontent-%COMP%]{max-width:48rem}.pp-max-w-4xl[_ngcontent-%COMP%]{max-width:56rem}.pp-max-w-7xl[_ngcontent-%COMP%]{max-width:80rem}.pp-max-w-\\__ph-0__[_ngcontent-%COMP%]{max-width:50%}.pp-max-w-full[_ngcontent-%COMP%]{max-width:100%}.pp-max-w-md[_ngcontent-%COMP%]{max-width:28rem}.pp-max-w-xl[_ngcontent-%COMP%]{max-width:36rem}.pp-max-w-xs[_ngcontent-%COMP%]{max-width:20rem}.pp-flex-1[_ngcontent-%COMP%]{flex:1 1 0%}.pp-border-collapse[_ngcontent-%COMP%]{border-collapse:collapse}.pp--translate-y-1\\/2[_ngcontent-%COMP%]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.pp-rotate-180[_ngcontent-%COMP%]{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.pp-cursor-not-allowed[_ngcontent-%COMP%]{cursor:not-allowed}.pp-cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.pp-select-none[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.pp-grid-cols-1[_ngcontent-%COMP%]{grid-template-columns:repeat(1,minmax(0,1fr))}.pp-grid-cols-12[_ngcontent-%COMP%]{grid-template-columns:repeat(12,minmax(0,1fr))}.pp-grid-cols-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}.pp-flex-col[_ngcontent-%COMP%]{flex-direction:column}.pp-flex-wrap[_ngcontent-%COMP%]{flex-wrap:wrap}.pp-items-start[_ngcontent-%COMP%]{align-items:flex-start}.pp-items-end[_ngcontent-%COMP%]{align-items:flex-end}.pp-items-center[_ngcontent-%COMP%]{align-items:center}.pp-justify-end[_ngcontent-%COMP%]{justify-content:flex-end}.pp-justify-center[_ngcontent-%COMP%]{justify-content:center}.pp-justify-between[_ngcontent-%COMP%]{justify-content:space-between}.pp-justify-items-center[_ngcontent-%COMP%]{justify-items:center}.pp-gap-2[_ngcontent-%COMP%]{gap:.5rem}.pp-gap-3[_ngcontent-%COMP%]{gap:.75rem}.pp-gap-4[_ngcontent-%COMP%]{gap:1rem}.pp-gap-6[_ngcontent-%COMP%]{gap:1.5rem}.pp-gap-8[_ngcontent-%COMP%]{gap:2rem}.pp-gap-x-12[_ngcontent-%COMP%]{column-gap:3rem}.pp-gap-y-12[_ngcontent-%COMP%]{row-gap:3rem}.pp-space-x-3[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.pp-space-x-4[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.pp-space-y-1[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.pp-space-y-2[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.pp-space-y-3[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}
1.pp-space-y-4[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.pp-space-y-6[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.pp-overflow-auto[_ngcontent-%COMP%]{overflow:auto}.pp-overflow-hidden[_ngcontent-%COMP%]{overflow:hidden}.pp-overflow-x-auto[_ngcontent-%COMP%]{overflow-x:auto}.pp-whitespace-nowrap[_ngcontent-%COMP%]{white-space:nowrap}.pp-whitespace-pre-wrap[_ngcontent-%COMP%]{white-space:pre-wrap}.pp-break-words[_ngcontent-%COMP%]{overflow-wrap:break-word}.pp-break-all[_ngcontent-%COMP%]{word-break:break-all}.pp-rounded[_ngcontent-%COMP%]{border-radius:.25rem}.pp-rounded-2xl[_ngcontent-%COMP%]{border-radius:1rem}.pp-rounded-3xl[_ngcontent-%COMP%]{border-radius:1.5rem}.pp-rounded-full[_ngcontent-%COMP%]{border-radius:9999px}.pp-rounded-lg[_ngcontent-%COMP%]{border-radius:.5rem}.pp-rounded-md[_ngcontent-%COMP%]{border-radius:.375rem}.pp-rounded-xl[_ngcontent-%COMP%]{border-radius:.75rem}.pp-border[_ngcontent-%COMP%]{border-width:1px}.pp-border-0[_ngcontent-%COMP%]{border-width:0px}.pp-border-2[_ngcontent-%COMP%]{border-width:2px}.pp-border-b[_ngcontent-%COMP%]{border-bottom-width:1px}.pp-border-t[_ngcontent-%COMP%]{border-top-width:1px}.pp-border-dashed[_ngcontent-%COMP%]{border-style:dashed}.pp-border-blue-300[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity, 1))}.pp-border-gray-200[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.pp-border-gray-300[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.pp-border-red-200[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity, 1))}.pp-border-slate-100[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(241 245 249 / var(--tw-border-opacity, 1))}.pp-border-slate-200[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity, 1))}.pp-border-slate-300[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1))}.pp-border-transparent[_ngcontent-%COMP%]{border-color:transparent}.pp-bg-\\__ph-0__[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(22 191 94 / var(--tw-bg-opacity, 1))}.pp-bg-\\__ph-0__\\/10[_ngcontent-%COMP%]{background-color:#16bf5e1a}.pp-bg-\\__ph-0__\\/15[_ngcontent-%COMP%]{background-color:#16bf5e26}.pp-bg-\\__ph-0__\\/10[_ngcontent-%COMP%]{background-color:#16bf5e1a}.pp-bg-\\__ph-0__[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(246 248 255 / var(--tw-bg-opacity, 1))}.pp-bg-amber-600[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity, 1))}.pp-bg-blue-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.pp-bg-blue-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.pp-bg-emerald-600[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity, 1))}.pp-bg-gray-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.pp-bg-gray-200[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.pp-bg-gray-300[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.pp-bg-gray-50[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.pp-bg-gray-600[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.pp-bg-gray-800[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.pp-bg-gray-900[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.pp-bg-green-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.pp-bg-green-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.pp-bg-pink-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity, 1))}.pp-bg-purple-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity, 1))}.pp-bg-red-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.pp-bg-red-50[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.pp-bg-sky-600[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity, 1))}.pp-bg-slate-100[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1))}.pp-bg-slate-300[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity, 1))}.pp-bg-slate-50[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1))}.pp-bg-transparent[_ngcontent-%COMP%]{background-color:transparent}.pp-bg-white[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.pp-bg-white\\/60[_ngcontent-%COMP%]{background-color:#fff9}.pp-bg-yellow-500[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))}.pp-bg-gradient-to-b[_ngcontent-%COMP%]{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.pp-from-\\__ph-0__\\/10[_ngcontent-%COMP%]{--tw-gradient-from: rgb(22 191 94 / .1) var(--tw-gradient-from-position);--tw-gradient-to: rgb(22 191 94 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.pp-to-slate-50[_ngcontent-%COMP%]{--tw-gradient-to: #f8fafc var(--tw-gradient-to-position)}.pp-p-12[_ngcontent-%COMP%]{padding:3rem}.pp-p-2[_ngcontent-%COMP%]{padding:.5rem}.pp-p-3[_ngcontent-%COMP%]{padding:.75rem}.pp-p-4[_ngcontent-%COMP%]{padding:1rem}.pp-p-5[_ngcontent-%COMP%]{padding:1.25rem}.pp-p-6[_ngcontent-%COMP%]{padding:1.5rem}.pp-p-8[_ngcontent-%COMP%]{padding:2rem}.pp-px-10[_ngcontent-%COMP%]{padding-left:2.5rem;padding-right:2.5rem}.pp-px-2[_ngcontent-%COMP%]{padding-left:.5rem;padding-right:.5rem}.pp-px-2\\.5[_ngcontent-%COMP%]{padding-left:.625rem;padding-right:.625rem}.pp-px-3[_ngcontent-%COMP%]{padding-left:.75rem;padding-right:.75rem}.pp-px-4[_ngcontent-%COMP%]{padding-left:1rem;padding-right:1rem}.pp-px-6[_ngcontent-%COMP%]{padding-left:1.5rem;padding-right:1.5rem}.pp-py-0\\.5[_ngcontent-%COMP%]{padding-top:.125rem;padding-bottom:.125rem}.pp-py-1[_ngcontent-%COMP%]{padding-top:.25rem;padding-bottom:.25rem}.pp-py-1\\.5[_ngcontent-%COMP%]{padding-top:.375rem;padding-bottom:.375rem}.pp-py-10[_ngcontent-%COMP%]{padding-top:2.5rem;padding-bottom:2.5rem}.pp-py-12[_ngcontent-%COMP%]{padding-top:3rem;padding-bottom:3rem}.pp-py-2[_ngcontent-%COMP%]{padding-top:.5rem;padding-bottom:.5rem}.pp-py-3[_ngcontent-%COMP%]{padding-top:.75rem;padding-bottom:.75rem}
1.pp-py-4[_ngcontent-%COMP%]{padding-top:1rem;padding-bottom:1rem}.pp-py-6[_ngcontent-%COMP%]{padding-top:1.5rem;padding-bottom:1.5rem}.pp-py-8[_ngcontent-%COMP%]{padding-top:2rem;padding-bottom:2rem}.pp-pb-12[_ngcontent-%COMP%]{padding-bottom:3rem}.pp-pb-16[_ngcontent-%COMP%]{padding-bottom:4rem}.pp-pb-3[_ngcontent-%COMP%]{padding-bottom:.75rem}.pp-pb-4[_ngcontent-%COMP%]{padding-bottom:1rem}.pp-pb-6[_ngcontent-%COMP%]{padding-bottom:1.5rem}.pp-pb-8[_ngcontent-%COMP%]{padding-bottom:2rem}.pp-pl-0[_ngcontent-%COMP%]{padding-left:0}.pp-pl-11[_ngcontent-%COMP%]{padding-left:2.75rem}.pp-pr-3[_ngcontent-%COMP%]{padding-right:.75rem}.pp-pr-4[_ngcontent-%COMP%]{padding-right:1rem}.pp-pt-0[_ngcontent-%COMP%]{padding-top:0}.pp-pt-1[_ngcontent-%COMP%]{padding-top:.25rem}.pp-pt-10[_ngcontent-%COMP%]{padding-top:2.5rem}.pp-pt-12[_ngcontent-%COMP%]{padding-top:3rem}.pp-pt-2[_ngcontent-%COMP%]{padding-top:.5rem}.pp-pt-4[_ngcontent-%COMP%]{padding-top:1rem}.pp-pt-6[_ngcontent-%COMP%]{padding-top:1.5rem}.pp-text-left[_ngcontent-%COMP%]{text-align:left}.pp-text-center[_ngcontent-%COMP%]{text-align:center}.pp-text-right[_ngcontent-%COMP%]{text-align:right}.pp-font-mono[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.pp-text-2xl[_ngcontent-%COMP%]{font-size:1.5rem;line-height:2rem}.pp-text-3xl[_ngcontent-%COMP%]{font-size:1.875rem;line-height:2.25rem}.pp-text-4xl[_ngcontent-%COMP%]{font-size:2.25rem;line-height:2.5rem}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{font-size:11px}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{font-size:12px}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{font-size:13px}.pp-text-base[_ngcontent-%COMP%]{font-size:1rem;line-height:1.5rem}.pp-text-lg[_ngcontent-%COMP%]{font-size:1.125rem;line-height:1.75rem}.pp-text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}.pp-text-xl[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1.75rem}.pp-text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.pp-font-bold[_ngcontent-%COMP%]{font-weight:700}.pp-font-extrabold[_ngcontent-%COMP%]{font-weight:800}.pp-font-medium[_ngcontent-%COMP%]{font-weight:500}.pp-font-normal[_ngcontent-%COMP%]{font-weight:400}.pp-font-semibold[_ngcontent-%COMP%]{font-weight:600}.pp-uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.pp-italic[_ngcontent-%COMP%]{font-style:italic}.pp-leading-5[_ngcontent-%COMP%]{line-height:1.25rem}.pp-leading-6[_ngcontent-%COMP%]{line-height:1.5rem}.pp-leading-7[_ngcontent-%COMP%]{line-height:1.75rem}.pp-leading-tight[_ngcontent-%COMP%]{line-height:1.25}.pp-tracking-wide[_ngcontent-%COMP%]{letter-spacing:.025em}.pp-tracking-wider[_ngcontent-%COMP%]{letter-spacing:.05em}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(6 95 70 / var(--tw-text-opacity, 1))}.pp-text-\\__ph-0__[_ngcontent-%COMP%], .pp-text-\\__ph-0__[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(22 191 94 / var(--tw-text-opacity, 1))}.pp-text-\\__ph-0__\\/30[_ngcontent-%COMP%]{color:#16bf5e4d}.pp-text-\\__ph-0__[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.pp-text-amber-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity, 1))}.pp-text-black[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.pp-text-blue-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.pp-text-blue-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.pp-text-blue-700[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.pp-text-blue-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity, 1))}.pp-text-gray-400[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.pp-text-gray-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.pp-text-gray-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.pp-text-gray-700[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.pp-text-gray-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.pp-text-gray-900[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.pp-text-green-300[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity, 1))}.pp-text-green-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.pp-text-green-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.pp-text-green-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity, 1))}.pp-text-indigo-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity, 1))}.pp-text-purple-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity, 1))}.pp-text-red-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.pp-text-red-700[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.pp-text-red-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.pp-text-rose-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(225 29 72 / var(--tw-text-opacity, 1))}.pp-text-slate-300[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity, 1))}.pp-text-slate-400[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.pp-text-slate-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.pp-text-slate-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.pp-text-slate-700[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.pp-text-slate-800[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity, 1))}.pp-text-slate-900[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.pp-text-white[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.pp-placeholder-slate-500[_ngcontent-%COMP%]::placeholder{--tw-placeholder-opacity: 1;color:rgb(100 116 139 / var(--tw-placeholder-opacity, 1))}.pp-shadow[_ngcontent-%COMP%]{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
1--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-shadow-\\[0_20px_60px_rgba\\(2\\[_ngcontent-%COMP%], 6\\[_ngcontent-%COMP%], 23\\[_ngcontent-%COMP%], 0\\.08\\)\\][_ngcontent-%COMP%]{--tw-shadow: 0 20px 60px rgba(2,6,23,.08);--tw-shadow-colored: 0 20px 60px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-shadow-inner[_ngcontent-%COMP%]{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-shadow-lg[_ngcontent-%COMP%]{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-sha
1dow)}.pp-shadow-md[_ngcontent-%COMP%]{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-shadow-sm[_ngcontent-%COMP%]{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.pp-outline-none[_ngcontent-%COMP%]{outline:2px solid transparent;outline-offset:2px}.pp-transition[_ngcontent-%COMP%]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.pp-transition-all[_ngcontent-%COMP%]{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.pp-transition-colors[_ngcontent-%COMP%]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.pp-transition-transform[_ngcontent-%COMP%]{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.pp-duration-0[_ngcontent-%COMP%]{transition-duration:0s}.file\\:pp-mr-4[_ngcontent-%COMP%]::file-selector-button{margin-right:1rem}.file\\:pp-rounded-full[_ngcontent-%COMP%]::file-selector-button{border-radius:9999px}.file\\:pp-border-0[_ngcontent-%COMP%]::file-selector-button{border-width:0px}.file\\:pp-bg-blue-50[_ngcontent-%COMP%]::file-selector-button{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.file\\:pp-px-4[_ngcontent-%COMP%]::file-selector-button{padding-left:1rem;padding-right:1rem}.file\\:pp-py-2[_ngcontent-%COMP%]::file-selector-button{padding-top:.5rem;padding-bottom:.5rem}.file\\:pp-text-sm[_ngcontent-%COMP%]::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:pp-font-semibold[_ngcontent-%COMP%]::file-selector-button{font-weight:600}.file\\:pp-text-blue-700[_ngcontent-%COMP%]::file-selector-button{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.after\\:pp-absolute[_ngcontent-%COMP%]:after{content:var(--tw-content);position:absolute}.after\\:pp-bottom-0[_ngcontent-%COMP%]:after{content:var(--tw-content);bottom:0}.after\\:pp-left-0[_ngcontent-%COMP%]:after{content:var(--tw-content);left:0}.after\\:pp-right-0[_ngcontent-%COMP%]:after{content:var(--tw-content);right:0}.after\\:pp-h-0\\.5[_ngcontent-%COMP%]:after{content:var(--tw-content);height:.125rem}.after\\:pp-bg-\\__ph-0__[_ngcontent-%COMP%]:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(22 191 94 / var(--tw-bg-opacity, 1))}.even\\:pp-bg-slate-50[_ngcontent-%COMP%]:nth-child(even){--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1))}.hover\\:pp--translate-y-1[_ngcontent-%COMP%]:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:pp-bg-\\__ph-0__[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(22 191 94 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-gray-100[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-gray-800[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-sky-700[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-slate-200[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity, 1))}.hover\\:pp-bg-slate-50[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1))}.hover\\:pp-text-red-800[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.hover\\:pp-text-slate-800[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity, 1))}.hover\\:pp-text-slate-900[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.hover\\:pp-text-white[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hover\\:pp-underline[_ngcontent-%COMP%]:hover{text-decoration-line:underline}.hover\\:pp-opacity-90[_ngcontent-%COMP%]:hover{opacity:.9}.hover\\:pp-shadow-lg[_ngcontent-%COMP%]:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
1--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\\:pp-shadow-md[_ngcontent-%COMP%]:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\\:file\\:pp-bg-blue-100[_ngcontent-%COMP%]::file-selector-button:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.focus\\:pp-border-blue-500[_ngcontent-%COMP%]:focus{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.focus\\:pp-bg-\\__ph-0__\\/15[_ngcontent-%COMP%]:focus{background-color:#16bf5e26}.focus\\:pp-outline-none[_ngcontent-%COMP%]:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:pp-ring-blue-500[_ngcontent-%COMP%]:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}.disabled\\:pp-cursor-not-allowed[_ngcontent-%COMP%]:disabled{cursor:not-allowed}.disabled\\:pp-opacity-50[_ngcontent-%COMP%]:disabled{opacity:.5}@media (min-width: 640px){.sm\\:pp-grid-cols-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:pp-text-base[_ngcontent-%COMP%]{font-size:1rem;line-height:1.5rem}.sm\\:pp-text-sm[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.25rem}.sm\\:pp-text-xl[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 768px){.md\\:pp-my-3[_ngcontent-%COMP%]{margin-top:.75rem;margin-bottom:.75rem}.md\\:pp-grid-cols-1[_ngcontent-%COMP%]{grid-template-columns:repeat(1,minmax(0,1fr))}.md\\:pp-grid-cols-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:pp-grid-cols-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}.md\\:pp-gap-3[_ngcontent-%COMP%]{gap:.75rem}.md\\:pp-px-3[_ngcontent-%COMP%]{padding-left:.75rem;padding-right:.75rem}.md\\:pp-text-2xl[_ngcontent-%COMP%]{font-size:1.5rem;line-height:2rem}.md\\:pp-text-\\__ph-0__[_ngcontent-%COMP%]{font-size:15px}.md\\:pp-text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}}@media (min-width: 1024px){.lg\\:pp-grid-cols-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\\:pp-grid-cols-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,minmax(0,1fr))}}']}),i})(),Tt=(()=>{const s=class{constructor(e){this.http=e,this.ropaBasePath="/data-discovery"}getProfilerList(e){return this.http.get(`${f.N.keyStoneUrl}${this.ropaBasePath}/organizations/${e}/pii-profilers`).pipe((0,x.K)(n=>(0,v._)(n)))}getPods(e){return this.http.get(`${f.N.keyStoneUrl}${this.ropaBasePath}/pods/${e}`).pipe((0,x.K)(n=>(0,v._)(n)))}createProfiler(e,n){return this.http.post(`${f.N.keyStoneUrl}${this.ropaBasePath}/organizations/${e}/pii-profilers`,n).pipe((0,x.K)(r=>(0,v._)(r)))}updateProfiler(e,n,r){return this.http.put(`${f.N.keyStoneUrl}${this.ropaBasePath}/organizations/${e}/pii-profilers/${n}`,r).pipe((0,x.K)(a=>(0,v._)(a)))}deleteProfiler(e,n){return this.http.delete(`${f.N.keyStoneUrl}${this.ropaBasePath}/organizations/${e}/pii-profilers/${n}`).pipe((0,x.K)(r=>(0,v._)(r)))}};let i=s;return s.\u0275fac=function(n){return new(n||s)(t.LFG(P.eN))},s.\u0275prov=t.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),i})();const Pa=[{label:"Id",key:"id",columnType:"Text"},{label:"Name",key:"name",columnType:"Text"},{label:"Description",key:"description",columnType:"Text"},{label:"Pattern Name",key:"pattern_name",columnType:"Text"},{label:"Created At",key:"created_at",columnType:"Date"},{label:"Updated At",key:"updated_at",columnType:"Date"},{label:"Actions",key:"",columnType:"Actions"}];let Ma=(()=>{const s=class extends U.a{constructor(){super({oid:"",pid:"",profilerList:[],columnList:Pa,loading:!1,errorMessage:""})}};let i=s;return s.\u0275fac=function(n){return new(n||s)},s.\u0275prov=t.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),i})(),At=(()=>{const s=class{constructor(e,n,r,a,c){this.activatedRouter=e,this.dataDiscoveryProfilerListApiService=n,this.dataDiscoveryProfilerListStateService=r,this.titleService=a,this.messageService=c}init(){this.titleService.setTitle("Profiler - "+f.N.portalPrefix),this.activatedRouter.queryParams.pipe((0,N.w)(e=>(this.dataDiscoveryProfilerListStateService.updateState({oid:e.oid,pid:e.pid,loading:!0,errorMessage:""}),e.oid?this.dataDiscoveryProfilerListApiService.getProfilerList(e.oid):(0,j.of)([])))).subscribe({next:e=>{this.dataDiscoveryProfilerListStateService.updateState({profilerList:this.mapProfilerList(e),loading:!1,errorMessage:""})},error:()=>{this.dataDiscoveryProfilerListStateService.updateState({profilerList:[],loading:!1,errorMessage:"Unable to load profiler list."}),this.messageService.add({severity:"error",summary:"Error",detail:"Unable to load profiler list"})}})}getStateObs(){return this.dataDiscoveryProfilerListStateService.getStateObs()}addProfiler(){}editProfiler(e){}getState(){return this.dataDiscoveryProfilerListStateService.getState()}createProfiler(e){return this.dataDiscoveryProfilerListApiService.createProfiler(this.dataDiscoveryProfilerListStateService.getState().oid,e)}updateProfiler(e,n){return this.dataDiscoveryProfilerListApiService.updateProfiler(this.dataDiscoveryProfilerListStateService.getState().oid,e,n)}deleteProfiler(e){return this.dataDiscoveryProfilerListApiService.deleteProfiler(this.dataDiscoveryProfilerListStateService.getState().oid,e)}refreshList(){this.init()}removeProfilerFromState(e){const n=this.dataDiscoveryProfilerListStateService.getState();this.dataDiscoveryProfilerListStateService.updateState({profilerList:(n.profilerList||[]).filter(r=>r?.id!==e)})}mapProfilerList(e){return this.normalizeProfilerResponse(e).filter(r=>!this.isDeletedProfiler(r)).map(r=>{const c=(Array.isArray(r?.patterns)?r.patterns:[]).map(p=>p?.name||p?.Name||"").filter(p=>Boolean(p)).join(", ");return{...r,row_id:r?.id||"profiler",pattern_name:c||"--",description:"string"==typeof r?.description&&r.description.trim()?r.description.trim():"--"}})}isDeletedProfiler(e){return Boolean(e?.deleted_at||e?.DeletedAt||e?.deletedAt||e?.is_deleted||e?.isDeleted)}normalizeProfilerResponse(e){return Array.isArray(e)?e:Array.isArray(e?.response)?e.response:e?.response?[e.response]:[]}};let i=s;
1return s.\u0275fac=function(n){return new(n||s)(t.LFG(y.gz),t.LFG(Tt),t.LFG(Ma),t.LFG(J.Dx),t.LFG(C.ez))},s.\u0275prov=t.Yz7({token:s,factory:s.\u0275fac}),i})();var $=m(57972);function Oa(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"p-button",39),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(2);return t.KtG(n.addProfiler())}),t.qZA()}}function Sa(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",40)(1,"h5",41),t._uU(2,"Manage Profiler"),t.qZA(),t.TgZ(3,"span",42),t._UZ(4,"i",43),t.TgZ(5,"input",44),t.NdJ("input",function(n){t.CHM(o),t.oxw();const r=t.MAs(15);return t.KtG(r.filterGlobal(n.target.value,"contains"))}),t.qZA()()()}}function ka(i,s){if(1&i&&(t.TgZ(0,"th"),t._uU(1),t.qZA()),2&i){const o=s.$implicit;t.xp6(1),t.hij(" ",o.label," ")}}function Ta(i,s){if(1&i&&(t.TgZ(0,"tr"),t.YNc(1,ka,2,1,"th",45),t.qZA()),2&i){const o=s.$implicit;t.xp6(1),t.Q6J("ngForOf",o)}}function Aa(i,s){if(1&i&&(t.TgZ(0,"td",49),t._uU(1),t.qZA()),2&i){const o=t.oxw().$implicit,e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e[o.key]?e[o.key]:"- - - -"," ")}}function Za(i,s){if(1&i&&(t.TgZ(0,"td"),t._uU(1),t.ALo(2,"date"),t.qZA()),2&i){const o=t.oxw().$implicit,e=t.oxw().$implicit;t.xp6(1),t.hij(" ",t.xi3(2,1,e[o.key],"short")," ")}}function Da(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"button",53),t.NdJ("click",function(){const r=t.CHM(o).$implicit,a=t.oxw(3).$implicit,c=t.oxw(2);return t.KtG(c.menuItemClick(r.value,a))}),t.TgZ(1,"span"),t._uU(2),t.qZA()()}if(2&i){const o=s.$implicit;t.xp6(2),t.Oqu(o.label)}}function Fa(i,s){if(1&i&&(t.TgZ(0,"td")(1,"button",50)(2,"mat-icon"),t._uU(3,"more_vert"),t.qZA()(),t.TgZ(4,"mat-menu",null,51),t.YNc(6,Da,3,1,"button",52),t.qZA()()),2&i){const o=t.MAs(5),e=t.oxw(4);t.xp6(1),t.Q6J("matMenuTriggerFor",o),t.xp6(5),t.Q6J("ngForOf",e.menuItems)}}function qa(i,s){if(1&i&&(t.ynx(0)(1,46),t.YNc(2,Aa,2,1,"td",47),t.YNc(3,Za,3,4,"td",48),t.YNc(4,Fa,7,2,"td",48),t.BQk()()),2&i){const o=s.$implicit;t.xp6(1),t.Q6J("ngSwitch",o.columnType),t.xp6(1),t.Q6J("ngSwitchCase","Text"),t.xp6(1),t.Q6J("ngSwitchCase","Date"),t.xp6(1),t.Q6J("ngSwitchCase","Actions")}}function La(i,s){if(1&i&&(t.TgZ(0,"tr"),t.YNc(1,qa,5,4,"ng-container",45),t.qZA()),2&i){const o=s.columns;t.xp6(1),t.Q6J("ngForOf",o)}}function Na(i,s){if(1&i&&(t.TgZ(0,"tr")(1,"td",54),t._uU(2),t.qZA()()),2&i){const o=t.oxw().ngIf;t.xp6(1),t.uIk("colspan",o.columnList.length),t.xp6(1),t.hij(" ",o.errorMessage||"No profiler data available."," ")}}function Ia(i,s){if(1&i&&(t.TgZ(0,"div",55),t._uU(1),t.qZA()),2&i){const o=t.oxw().ngIf;t.xp6(1),t.hij(" In total there are ",o.profilerList?o.profilerList.length:0," Profilers. ")}}const st=function(){return{width:"100%"}};function Ja(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",22)(1,"label",23),t._uU(2,"Active Pod"),t.qZA(),t.TgZ(3,"p-dropdown",56),t.NdJ("ngModelChange",function(n){t.CHM(o);const r=t.oxw(2);return t.KtG(r.profilerForm.pod_id=n)}),t.qZA()()}if(2&i){const o=t.oxw(2);t.xp6(3),t.Akn(t.DdM(7,st)),t.Q6J("options",o.activePods)("ngModel",o.profilerForm.pod_id)("placeholder",o.activePods.length?"Select active pod":"No active pods available")("disabled",!o.activePods.length)("baseZIndex",10000001)}}function Ua(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",57)(1,"div",58)(2,"h6",59),t._uU(3),t.qZA(),t.TgZ(4,"button",60),t.NdJ("click",function(){const r=t.CHM(o).index,a=t.oxw(2);return t.KtG(a.removePatternCard(r))}),t._UZ(5,"i",61),t.qZA()(),t.TgZ(6,"div",62)(7,"div",63)(8,"label",23),t._uU(9," Name"),t.TgZ(10,"span",24),t._uU(11,"*"),t.qZA()(),t.TgZ(12,"input",64),t.NdJ("ngModelChange",function(n){const a=t.CHM(o).$implicit;return t.KtG(a.name=n)}),t.qZA()(),t.TgZ(13,"div",63)(14,"label",23),t._uU(15," Regex Pattern"),t.TgZ(16,"span",24),t._uU(17,"*"),t.qZA()(),t.TgZ(18,"input",65),t.NdJ("ngModelChange",function(n){const a=t.CHM(o).$implicit;return t.KtG(a.regex_pattern=n)}),t.qZA()(),t.TgZ(19,"div",63)(20,"label",23),t._uU(21," Classification"),t.TgZ(22,"span",24),t._uU(23,"*"),t.qZA()(),t.TgZ(24,"p-dropdown",66),t.NdJ("ngModelChange",function(n){const a=t.CHM(o).$implicit;return t.KtG(a.classification=n)}),t.qZA()(),t.TgZ(25,"div",67)(26,"label",23),t._uU(27," Risk Level"),t.TgZ(28,"span",24),t._uU(29,"*"),t.qZA()(),t.TgZ(30,"p-dropdown",68),t.NdJ("ngModelChange",function(n){const a=t.CHM(o).$implicit;return t.KtG(a.risk_level=n)}),t.qZA()()()()}if(2&i){const o=s.$implicit,e=s.index,n=t.oxw(2);t.xp6(3),t.hij("Pattern ",e+1,""),t.xp6(9),t.Q6J("ngModel",o.name),t.xp6(6),t.Q6J("ngModel",o.regex_pattern),t.xp6(6),t.Akn(t.DdM(14,st)),t.Q6J("options",n.classificationOptions)("ngModel",o.classification)("filter",!0)("baseZIndex",10000001),t.xp6(6),t.Akn(t.DdM(15,st)),t.Q6J("options",n.riskLevelOptions)("ngModel",o.risk_level)("baseZIndex",10000001)}}function Ra(i,s){1&i&&(t.TgZ(0,"div",69),t._uU(1," No pattern added yet. Click Add Pattern to create one. "),t.qZA())}
1function Ea(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",70)(1,"button",71),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(2);return t.KtG(n.showAddProfilerModal=!1)}),t._uU(2," Cancel "),t.qZA(),t.TgZ(3,"button",72),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(2);return t.KtG(n.saveProfiler())}),t._uU(4),t.qZA()()}if(2&i){const o=t.oxw(2);t.xp6(1),t.Q6J("disabled",o.isSubmitting),t.xp6(2),t.Q6J("disabled",o.isSaveDisabled()||o.isSubmitting),t.xp6(1),t.hij(" ",o.saveButtonLabel," ")}}const za=function(i,s){return{oid:i,pid:s}},ja=function(){return["id","name","description","organization_id","pattern_name"]},$a=function(){return{width:"450px"}},Qa=function(){return{width:"70vw",maxWidth:"960px"}},Ya=function(){return{overflow:"auto",maxHeight:"80vh"}};function Ga(i,s){if(1&i){const o=t.EpF();t.TgZ(0,"div",1)(1,"div",2)(2,"div",3)(3,"div")(4,"nav",4)(5,"ol",5)(6,"li",6)(7,"a",7),t._uU(8,"Home"),t.qZA()(),t.TgZ(9,"li",8),t._uU(10,"Profiler"),t.qZA()()()()()(),t.TgZ(11,"div",9)(12,"p-toolbar",10),t.YNc(13,Oa,1,0,"ng-template",11),t.qZA(),t.TgZ(14,"p-table",12,13),t.YNc(16,Sa,6,0,"ng-template",14),t.YNc(17,Ta,2,1,"ng-template",15),t.YNc(18,La,2,1,"ng-template",16),t.YNc(19,Na,3,2,"ng-template",17),t.YNc(20,Ia,2,1,"ng-template",18),t.qZA(),t._UZ(21,"p-toast",19)(22,"p-confirmDialog"),t.qZA(),t.TgZ(23,"p-dialog",20),t.NdJ("visibleChange",function(n){t.CHM(o);const r=t.oxw();return t.KtG(r.showAddProfilerModal=n)}),t.TgZ(24,"div",21)(25,"div",22)(26,"label",23),t._uU(27," Name"),t.TgZ(28,"span",24),t._uU(29,"*"),t.qZA()(),t.TgZ(30,"input",25),t.NdJ("ngModelChange",function(n){t.CHM(o);const r=t.oxw();return t.KtG(r.profilerForm.name=n)}),t.qZA()(),t.TgZ(31,"div",22)(32,"label",23),t._uU(33,"Description"),t.qZA(),t.TgZ(34,"textarea",26),t.NdJ("ngModelChange",function(n){t.CHM(o);const r=t.oxw();return t.KtG(r.profilerForm.description=n)}),t.qZA()(),t.TgZ(35,"div",27)(36,"div",28),t._uU(37," want to push this profiler to pod: "),t.qZA(),t.TgZ(38,"p-inputSwitch",29),t.NdJ("ngModelChange",function(n){t.CHM(o);const r=t.oxw();return t.KtG(r.profilerForm.push_to_pod=n)})("onChange",function(n){t.CHM(o);const r=t.oxw();return t.KtG(r.onPushToPodToggleChange(n.checked))}),t.qZA()(),t.YNc(39,Ja,4,8,"div",30),t.TgZ(40,"div",31)(41,"div")(42,"h6",32),t._uU(43,"Patterns"),t.qZA(),t.TgZ(44,"p",33),t._uU(45," Add one or more patterns and complete every required field. "),t.qZA()(),t.TgZ(46,"button",34),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.addPatternCard())}),t._UZ(47,"i",35),t._uU(48," Add Pattern "),t.qZA()(),t.YNc(49,Ua,31,16,"div",36),t.YNc(50,Ra,2,0,"div",37),t.qZA(),t.YNc(51,Ea,5,3,"ng-template",38),t.qZA()()}if(2&i){const o=s.ngIf,e=t.oxw();
1t.xp6(7),t.Q6J("queryParams",t.WLB(25,za,o.oid,o.pid)),t.xp6(7),t.Q6J("value",o.profilerList)("rows",20)("globalFilterFields",t.DdM(28,ja))("rowHover",!0)("loading",o.loading)("columns",o.columnList)("showCurrentPageReport",!0),t.xp6(8),t.Akn(t.DdM(29,$a)),t.xp6(1),t.Akn(t.DdM(30,Qa)),t.Q6J("header",e.modalTitle)("visible",e.showAddProfilerModal)("modal",!0)("dismissableMask",!0)("draggable",!1)("resizable",!1)("contentStyle",t.DdM(31,Ya)),t.xp6(7),t.Q6J("ngModel",e.profilerForm.name),t.xp6(4),t.Q6J("ngModel",e.profilerForm.description),t.xp6(4),t.Q6J("ngModel",e.profilerForm.push_to_pod),t.xp6(1),t.Q6J("ngIf",e.profilerForm.push_to_pod),t.xp6(10),t.Q6J("ngForOf",e.profilerForm.patterns),t.xp6(1),t.Q6J("ngIf",0===e.profilerForm.patterns.length)}}const Ba=[{path:"connections",component:Cn},{path:"add-connection",component:Dn},{path:"jobs",component:no},{path:"profiler",component:(()=>{const s=class{constructor(e,n,r,a){this.dataDiscoveryProfilerListActionService=e,this.dataDiscoveryProfilerListApiService=n,this.messageService=r,this.confirmationService=a,this.classificationOptions=$.IL,this.riskLevelOptions=$.ll,this.classificationCategoryMap=$.Uy,this.classificationRiskLevelMap=$.JW,this.riskLevelValueMap=$.We,this.menuItems=[{label:"Edit",value:"EDIT"},{label:"Delete",value:"DELETE"}],this.showAddProfilerModal=!1,this.modalTitle="Add Profiler",this.saveButtonLabel="Save",this.isSubmitting=!1,this.activePods=[],this.stateObs=this.dataDiscoveryProfilerListActionService.getStateObs(),this.profilerForm=this.getDefaultFormState()}ngOnInit(){this.dataDiscoveryProfilerListActionService.init()}addProfiler(){this.profilerForm=this.getDefaultFormState(),this.loadActivePods(),this.modalTitle="Add Profiler",this.saveButtonLabel="Save",this.showAddProfilerModal=!0}menuItemClick(e,n){"EDIT"!==e?this.deleteProfiler(n):this.openEditModal(n)}addPatternCard(){this.profilerForm.patterns=[...this.profilerForm.patterns,this.createEmptyPattern()]}removePatternCard(e){this.profilerForm.patterns=this.profilerForm.patterns.filter((n,r)=>r!==e)}isSaveDisabled(){const e=this.profilerForm.name.trim(),n=!this.profilerForm.push_to_pod||Boolean(this.profilerForm.pod_id.trim()),r=this.profilerForm.patterns.length>0,a=this.profilerForm.patterns.every(c=>this.isPatternValid(c));return!(e&&n&&r&&a)}onPushToPodToggleChange(e){this.profilerForm.push_to_pod=e,e?(this.loadActivePods(),!this.profilerForm.pod_id&&1===this.activePods.length&&(this.profilerForm.pod_id=this.activePods[0].id)):this.profilerForm.pod_id=""}saveProfiler(){if(this.isSaveDisabled())return;const e=this.buildProfilerPayload(this.profilerForm),n=Boolean(this.profilerForm.id);this.isSubmitting=!0,(n?this.dataDiscoveryProfilerListActionService.updateProfiler(this.profilerForm.id,e):this.dataDiscoveryProfilerListActionService.createProfiler(e)).subscribe({next:()=>{this.isSubmitting=!1,this.showAddProfilerModal=!1,this.profilerForm=this.getDefaultFormState(),this.dataDiscoveryProfilerListActionService.refreshList(),this.messageService.add({severity:"success",summary:"Success",detail:n?"Profiler updated successfully":"Profiler saved successfully"})},error:()=>{this.isSubmitting=!1,this.messageService.add({severity:"error",summary:"Error",detail:n?"Unable to update profiler":"Unable to save profiler"})}})}deleteProfiler(e){this.confirmationService.confirm({message:`Are you sure you want to delete this profiler "${e?.name||""}"?`,header:"Confirmation",icon:"pi pi-exclamation-triangle",acceptLabel:"Yes",rejectLabel:"No",accept:()=>{this.dataDiscoveryProfilerListActionService.deleteProfiler(e.id).subscribe({next:()=>{this.dataDiscoveryProfilerListActionService.refreshList(),this.messageService.add({severity:"success",summary:"Success",detail:"Profiler deleted successfully"})},error:()=>{this.messageService.add({severity:"error",summary:"Error",detail:"Unable to delete profiler"})}})}})}isPatternValid(e){return Boolean(e.name.trim()&&e.regex_pattern.trim()&&e.classification.trim()&&e.risk_level.trim())}getDefaultFormState(){return{id:"",name:"",description:"",is_default:!1,push_to_pod:!1,pod_id:"",patterns:[]}}createEmptyPattern(){return{name:"",regex_pattern:"",classification:"",risk_level:""}}
1openEditModal(e){const n=Array.isArray(e?.patterns)?e.patterns:[];this.profilerForm={id:e?.id||"",name:e?.name||"",description:e?.description&&"--"!==e.description?e.description:"",is_default:Boolean(e?.is_default),push_to_pod:Boolean(e?.push_to_pod??e?.pushToPod??e?.pod_id??e?.podId),pod_id:e?.pod_id||e?.podId||"",patterns:n.map(r=>{const a=r?.classification||r?.Classification||"";return{name:r?.name||r?.Name||"",regex_pattern:r?.regex_pattern||"",classification:a,risk_level:this.mapRiskLevelToLabel(r?.risk_level??r?.RiskLevel??r?.RiskValue,a)}})},this.loadActivePods(),0===this.profilerForm.patterns.length&&(this.profilerForm.patterns=[this.createEmptyPattern()]),this.modalTitle="Edit Profiler",this.saveButtonLabel="Update",this.showAddProfilerModal=!0}mapRiskLevelToLabel(e,n=""){return this.normalizeRiskLevelLabel(e)||this.normalizeRiskLevelLabel(this.classificationRiskLevelMap[n])||""}normalizeRiskLevelLabel(e){const n=`${e??""}`.trim().toLowerCase();return"5"===n||"4"===n||"veryhigh"===n||"veryhighrisk"===n||"very high"===n?"Very High":"3"===n||"high"===n||"highrisk"===n?"High":"2"===n||"medium"===n||"moderate"===n||"mediumrisk"===n||"moderaterisk"===n?"Medium":"1"===n||"verylow"===n||"verylowrisk"===n||"very low"===n||"low"===n||"lowrisk"===n?"Low":""}loadActivePods(){const e=this.dataDiscoveryProfilerListActionService.getState()?.oid;e?this.dataDiscoveryProfilerListApiService.getPods(e).subscribe({next:n=>{const r=this.normalizePodResponse(n);this.activePods=r.filter(a=>this.isActivePod(a)).map(a=>({id:a?.id||"",name:a?.name||a?.Name||""})).filter(a=>Boolean(a.id&&a.name)),this.profilerForm.push_to_pod&&!this.profilerForm.pod_id&&1===this.activePods.length&&(this.profilerForm.pod_id=this.activePods[0].id)},error:()=>{this.activePods=[]}}):this.activePods=[]}normalizePodResponse(e){return Array.isArray(e)?e:Array.isArray(e?.response)?e.response:e?.response?[e.response]:e?[e]:[]}isActivePod(e){return"active"===`${e?.status??e?.Status??""}`.trim().toLowerCase()&&Boolean(e?.id)}buildProfilerPayload(e){const n={name:e.name.trim(),description:e.description.trim(),is_default:Boolean(e.is_default),patterns:e.patterns.map(r=>({name:r.name.trim(),regex_pattern:r.regex_pattern.trim(),category:this.classificationCategoryMap[r.classification]||"",classification:r.classification.trim(),risk_level:this.riskLevelValueMap[r.risk_level]||0}))};return e.pod_id.trim()&&(n.push_to_pod=Boolean(e.push_to_pod||e.pod_id.trim()),n.pod_id=e.pod_id.trim()),n}};let i=s;return s.\u0275fac=function(n){return new(n||s)(t.Y36(At),t.Y36(Tt),t.Y36(C.ez),t.Y36(C.YP))},s.\u0275cmp=t.Xpm({type:s,selectors:[["app-data-discovery-profiler-list"]],features:[t._Bn([At])],decls:2,vars:3,consts:[["class","ng-deep-data-discovery",4,"ngIf"],[1,"ng-deep-data-discovery"],[1,"col-md-12",2,"margin-bottom","25px","margin-top","15px","margin-left","6.5px"],[1,"d-sm-flex","align-items-center","justify-content-between"],["aria-label","breadcrumb",1,"bredcrub-row",2,"margin-left","-14px"],[1,"breadcrumb","breadcrumb-style1","mg-b-10"],[1,"breadcrumb-item"],["routerLink","/home/welcome",3,"queryParams"],[1,"breadcrumb-item","active"],[1,"card","m-2","ng-deep-consent-jursidiction-wrapper"],["styleClass","mb-4 gap-2"],["pTemplate","left"],["dataKey","row_id",3,"value","rows","globalFilterFields","rowHover","loading","columns","showCurrentPageReport"],["dt",""],["pTemplate","caption"],["pTemplate","header"],["pTemplate","body"],["pTemplate","emptymessage"],["pTemplate","summary"],["position","bottom-right"],["styleClass","profiler-modal",3,"header","visible","modal","dismissableMask","draggable","resizable","contentStyle","visibleChange"],[1,"profiler-modal__body"],[1,"profiler-modal__section"],[1,"profiler-modal__label"],[1,"profiler-modal__required"],["pInputText","","type","text","placeholder","Enter profiler name",1,"w-100",3,"ngModel","ngModelChange"],["pInputTextarea","","rows","3","placeholder","Enter profiler description",1,"w-100",3,"ngModel","ngModelChange"],[1,"profiler-modal__section","profiler-modal__push-row"],[1,"profiler-modal__push-label"],[3,"ngModel","ngModelChange","onChange"],["class","profiler-modal__section",4,"ngIf"],[1,"profiler-modal__pattern-header"],[1,"profiler-modal__pattern-title"],[1,"profiler-modal__pattern-text"],["type","button",1,"btn","profiler-modal__add-pattern",3,"click"],[1,"pi","pi-plus"],["class","profiler-pattern-card",4,"ngFor","ngForOf"],["class","profiler-modal__empty",4,"ngIf"],["pTemplate","footer"],["severity","success","label"," Add Profiler","icon","pi pi-plus",1,"p-button-text","my-custom-btn","mr-2",3,"click"],[1,"pp-flex","align-items-center","justify-content-between"],[1,"m-0"],[1,"p-input-icon-left"],[1,"pi","pi-search"],["pInputText","","type","text","placeholder","Search...",3,"input"],[4,"ngFor","ngForOf"],[3,"ngSwitch"],["class","purposes__truncate",4,"ngSwitchCase"],[4,"ngSwitchCase"],[1,"purposes__truncate"],["mat-icon-button","",1,"purposes__menu",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click"],[1,"text-center","py-3"],[1,"flex","align-items-center","justify-content-between"],["optionLabel","name","optionValue","id","appendTo","body","styleClass","profiler-modal__select",3,"options","ngModel","placeholder","disabled","baseZIndex","ngModelChange"],[1,"profiler-pattern-card"],[1,"profiler-pattern-card__top"],[1,"profiler-pattern-card__title"],["type","button",1,"profiler-pattern-card__remove",3,"click"],[1,"pi","pi-times"],[1,"row"],[1,"col-md-6","mb-3"],["pInputText","","type","text","placeholder","Enter pattern name",1,"w-100",3,"ngModel","ngModelChange"],["pInputText","","type","text","placeholder","Enter regex pattern",1,"w-100",3,"ngModel","ngModelChange"],["o
1ptionLabel","label","optionValue","value","placeholder","Search or select classification","filterBy","label","appendTo","body","styleClass","profiler-modal__select",3,"options","ngModel","filter","baseZIndex","ngModelChange"],[1,"col-md-6","mb-1"],["optionLabel","label","optionValue","value","placeholder","Select risk level","appendTo","body","styleClass","profiler-modal__select",3,"options","ngModel","baseZIndex","ngModelChange"],[1,"profiler-modal__empty"],[1,"profiler-modal__footer"],["type","button",1,"btn","btn-outline-secondary","mr-2",3,"disabled","click"],["type","button",1,"btn","btn-success","profiler-modal__save",3,"disabled","click"]],template:function(n,r){1&n&&(t.YNc(0,Ga,52,32,"div",0),t.ALo(1,"async")),2&n&&t.Q6J("ngIf",t.lcZ(1,1,r.stateObs))},dependencies:[h.sg,h.O5,h.RF,h.n9,y.rH,F.iA,C.jx,M.zx,Z.o,u.Fj,u.JJ,u.On,B.Lt,pt.g,V.V,D.VK,D.OP,D.p6,H.Hw,L.FN,K.Q,nt.o,rt.Ql,h.Ov,h.uU],styles:[".my-custom-btn .p-button{background-color:#16bf5e;background:#16bf5e;border:1px solid #16bf5e;font-size:small}  .my-custom-btn .p-button:hover{background-color:#16bf5e;background:#16bf5e;border:1px solid #16bf5e;font-size:small}.purposes__add-button[_ngcontent-%COMP%]{display:flex;justify-content:end;margin:15px}.purposes__menu[_ngcontent-%COMP%]{border:white!important;background-color:#fff!important}.purposes__truncate[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}  .mdc-list-item__primary-text{color:#000!important}  .mat-mdc-menu-panel{background-color:#fff!important;z-index:10000000000000000000!important}  .cdk-overlay-container{z-index:10000000!important}  .ng-deep-data-discovery .p-button-icon.p-button-icon-left{margin-right:0rem!important}.profiler-modal__body[_ngcontent-%COMP%]{padding:.25rem}.profiler-modal__section[_ngcontent-%COMP%]{margin-bottom:1.25rem}.profiler-modal__label[_ngcontent-%COMP%]{color:#334155;display:block;font-size:14px;font-weight:600;margin-bottom:.5rem}.profiler-modal__required[_ngcontent-%COMP%]{color:#dc2626;margin-left:2px}.profiler-modal__push-row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.15rem 0}.profiler-modal__push-label[_ngcontent-%COMP%]{color:#334155;font-size:14px;font-weight:600}.profiler-modal__pattern-header[_ngcontent-%COMP%]{align-items:center;display:flex;justify-content:space-between;gap:1rem;margin:1.5rem 0 1rem}.profiler-modal__pattern-title[_ngcontent-%COMP%]{color:#0f172a;font-size:18px;font-weight:700;margin:0}.profiler-modal__pattern-text[_ngcontent-%COMP%]{color:#64748b;font-size:13px;margin:.25rem 0 0}.profiler-modal__add-pattern[_ngcontent-%COMP%]{align-items:center;background:#0ea5e9;border-radius:8px;color:#fff;display:inline-flex;gap:.5rem;padding:.6rem 1rem}.profiler-modal__add-pattern[_ngcontent-%COMP%]:hover{background:#0284c7;color:#fff}.profiler-modal__empty[_ngcontent-%COMP%]{border:1px dashed #cbd5e1;border-radius:10px;color:#64748b;margin-top:1rem;padding:1rem;text-align:center}.profiler-modal__footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;width:100%}.profiler-modal__save[_ngcontent-%COMP%]:disabled{cursor:not-allowed;opacity:.6}.profiler-modal__select[_ngcontent-%COMP%]{appearance:auto;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;color:#334155;height:50px}.profiler-pattern-card[_ngcontent-%COMP%]{background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);border:1px solid #dbe7f3;border-radius:14px;box-shadow:0 8px 24px #0f172a0f;margin-bottom:1rem;padding:1rem 1rem .5rem}.profiler-pattern-card__top[_ngcontent-%COMP%]{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.profiler-pattern-card__title[_ngcontent-%COMP%]{color:#0f172a;font-size:16px;font-weight:700;margin:0}.profiler-pattern-card__remove[_ngcontent-%COMP%]{align-items:center;background:transparent;border:none;border-radius:8px;color:#94a3b8;display:inline-flex;height:28px;justify-content:center;width:28px}.profiler-pattern-card__remove[_ngcontent-%COMP%]:hover{background:#f8fafc;color:#64748b}  .profiler-modal .p-dialog-header{border-bottom:1px solid #e2e8f0;padding:1rem 1.5rem}  .profiler-modal .p-dialog-content{padding:1.25rem 1.5rem}  .profiler-modal .p-dialog-footer{border-top:1px solid #e2e8f0;padding:1rem 1.5rem}  .ng-deep-data-discovery .p-confirm-dialog .p-button .p-button-icon-left,   .ng-deep-data-discovery .p-confirm-dialog .p-button .p-button-icon{margin-right:.45rem!important}"]}),i})()},{path:"add-job/:actionType/:id",component:Pt},{path:"add-job/:actionType",component:Pt},{path:"reports",component:ia},{path:"status/:id",component:Ca}];let Va=(()=>{const s=class{};let i=s;return s.\u0275fac=function(n){return new(n||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({providers:[C.ez,C.YP,z.xA],imports:[h.ez,y.Bz.forChild(Ba),et.P4,F.U$,M.hJ,Z.j,u.u5,u.UX,R.cc,Dt.LU,Ft.nD,B.kW,pt.A,qt.L$,V.S,D.Tx,H.Ps,Lt.KZ,L.EV,K.D,Nt.q4,It.Nh,Jt.T5,nt.V,E.Cq,Ut.xc,Rt.U,dt.m,
1Et.d,zt.Gg,Fn.fx,qn.gz,Ln.Fq.forRoot(),rt.Iu,ht.z8,X.Cl]}),i})()},155:(Zt,G,m)=>{m.d(G,{O:()=>et,m:()=>F});var h=m(36895),y=m(94650);let et=(()=>{class M{constructor(){this.shape="rectangle",this.animation="wave",this.borderRadius=null,this.size=null,this.width="100%",this.height="1rem"}containerClass(){return{"p-skeleton p-component":!0,"p-skeleton-circle":"circle"===this.shape,"p-skeleton-none":"none"===this.animation}}containerStyle(){return Object.assign(Object.assign({},this.style),this.size?{width:this.size,height:this.size,borderRadius:this.borderRadius}:{width:this.width,height:this.height,borderRadius:this.borderRadius})}}return M.\u0275fac=function(u){return new(u||M)},M.\u0275cmp=y.Xpm({type:M,selectors:[["p-skeleton"]],inputs:{shape:"shape",animation:"animation",borderRadius:"borderRadius",size:"size",width:"width",height:"height",styleClass:"styleClass",style:"style"},decls:1,vars:4,consts:[[3,"ngClass","ngStyle"]],template:function(u,R){1&u&&y._UZ(0,"div",0),2&u&&(y.Tol(R.styleClass),y.Q6J("ngClass",R.containerClass())("ngStyle",R.containerStyle()))},dependencies:[h.mk,h.PC],styles:['.p-skeleton{overflow:hidden;position:relative}.p-skeleton:after{animation:p-skeleton-animation 1.2s infinite;content:"";height:100%;left:0;position:absolute;right:0;top:0;transform:translateX(-100%);z-index:1}.p-skeleton.p-skeleton-circle{border-radius:50%}.p-skeleton-none:after{animation:none}@keyframes p-skeleton-animation{0%{transform:translateX(-100%)}to{transform:translateX(100%)}}'],encapsulation:2,changeDetection:0}),M})(),F=(()=>{class M{}return M.\u0275fac=function(u){return new(u||M)},M.\u0275mod=y.oAB({type:M}),M.\u0275inj=y.cJS({imports:[h.ez]}),M})()}}]);

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.