ethyca-fides 2.60.0rc5__py2.py3-none-any.whl → 2.60.1b1__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. {ethyca_fides-2.60.0rc5.dist-info → ethyca_fides-2.60.1b1.dist-info}/METADATA +1 -1
  2. {ethyca_fides-2.60.0rc5.dist-info → ethyca_fides-2.60.1b1.dist-info}/RECORD +96 -95
  3. {ethyca_fides-2.60.0rc5.dist-info → ethyca_fides-2.60.1b1.dist-info}/WHEEL +1 -1
  4. fides/_version.py +3 -3
  5. fides/api/api/deps.py +18 -2
  6. fides/api/api/v1/endpoints/admin.py +4 -3
  7. fides/api/app_setup.py +13 -5
  8. fides/api/db/database.py +11 -14
  9. fides/api/db/seed.py +88 -85
  10. fides/api/util/data_category.py +1 -0
  11. fides/api/util/logger.py +6 -0
  12. fides/api/util/sqlalchemy_filter.py +30 -0
  13. fides/ui-build/static/admin/404.html +1 -1
  14. fides/ui-build/static/admin/_next/static/{d04933NE3G7JzonANBZ2_ → 48H6x-7GPF8df3EtVqpAv}/_buildManifest.js +1 -1
  15. fides/ui-build/static/admin/_next/static/chunks/1817-64ec6ac3d4a06930.js +1 -0
  16. fides/ui-build/static/admin/_next/static/chunks/pages/consent/{reporting-1762ed46d98cebad.js → reporting-51284600803b1fa6.js} +1 -1
  17. fides/ui-build/static/admin/add-systems/manual.html +1 -1
  18. fides/ui-build/static/admin/add-systems/multiple.html +1 -1
  19. fides/ui-build/static/admin/add-systems.html +1 -1
  20. fides/ui-build/static/admin/ant-poc.html +1 -1
  21. fides/ui-build/static/admin/consent/configure/add-vendors.html +1 -1
  22. fides/ui-build/static/admin/consent/configure.html +1 -1
  23. fides/ui-build/static/admin/consent/privacy-experience/[id].html +1 -1
  24. fides/ui-build/static/admin/consent/privacy-experience/new.html +1 -1
  25. fides/ui-build/static/admin/consent/privacy-experience.html +1 -1
  26. fides/ui-build/static/admin/consent/privacy-notices/[id].html +1 -1
  27. fides/ui-build/static/admin/consent/privacy-notices/new.html +1 -1
  28. fides/ui-build/static/admin/consent/privacy-notices.html +1 -1
  29. fides/ui-build/static/admin/consent/properties.html +1 -1
  30. fides/ui-build/static/admin/consent/reporting.html +1 -1
  31. fides/ui-build/static/admin/consent.html +1 -1
  32. fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html +1 -1
  33. fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html +1 -1
  34. fides/ui-build/static/admin/data-catalog/[systemId]/projects.html +1 -1
  35. fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html +1 -1
  36. fides/ui-build/static/admin/data-catalog/[systemId]/resources.html +1 -1
  37. fides/ui-build/static/admin/data-catalog.html +1 -1
  38. fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/[systemId].html +1 -1
  39. fides/ui-build/static/admin/data-discovery/action-center/[monitorId].html +1 -1
  40. fides/ui-build/static/admin/data-discovery/action-center.html +1 -1
  41. fides/ui-build/static/admin/data-discovery/activity.html +1 -1
  42. fides/ui-build/static/admin/data-discovery/detection/[resourceUrn].html +1 -1
  43. fides/ui-build/static/admin/data-discovery/detection.html +1 -1
  44. fides/ui-build/static/admin/data-discovery/discovery/[resourceUrn].html +1 -1
  45. fides/ui-build/static/admin/data-discovery/discovery.html +1 -1
  46. fides/ui-build/static/admin/datamap.html +1 -1
  47. fides/ui-build/static/admin/dataset/[datasetId]/[collectionName]/[...subfieldNames].html +1 -1
  48. fides/ui-build/static/admin/dataset/[datasetId]/[collectionName].html +1 -1
  49. fides/ui-build/static/admin/dataset/[datasetId].html +1 -1
  50. fides/ui-build/static/admin/dataset/new.html +1 -1
  51. fides/ui-build/static/admin/dataset.html +1 -1
  52. fides/ui-build/static/admin/datastore-connection/[id].html +1 -1
  53. fides/ui-build/static/admin/datastore-connection/new.html +1 -1
  54. fides/ui-build/static/admin/datastore-connection.html +1 -1
  55. fides/ui-build/static/admin/index.html +1 -1
  56. fides/ui-build/static/admin/integrations/[id].html +1 -1
  57. fides/ui-build/static/admin/integrations.html +1 -1
  58. fides/ui-build/static/admin/lib/fides-headless.js +1 -1
  59. fides/ui-build/static/admin/lib/fides-preview.js +1 -1
  60. fides/ui-build/static/admin/lib/fides-tcf.js +3 -3
  61. fides/ui-build/static/admin/lib/fides.js +2 -2
  62. fides/ui-build/static/admin/login/[provider].html +1 -1
  63. fides/ui-build/static/admin/login.html +1 -1
  64. fides/ui-build/static/admin/messaging/[id].html +1 -1
  65. fides/ui-build/static/admin/messaging/add-template.html +1 -1
  66. fides/ui-build/static/admin/messaging.html +1 -1
  67. fides/ui-build/static/admin/privacy-requests/[id].html +1 -1
  68. fides/ui-build/static/admin/privacy-requests/configure/messaging.html +1 -1
  69. fides/ui-build/static/admin/privacy-requests/configure/storage.html +1 -1
  70. fides/ui-build/static/admin/privacy-requests/configure.html +1 -1
  71. fides/ui-build/static/admin/privacy-requests.html +1 -1
  72. fides/ui-build/static/admin/properties/[id].html +1 -1
  73. fides/ui-build/static/admin/properties/add-property.html +1 -1
  74. fides/ui-build/static/admin/properties.html +1 -1
  75. fides/ui-build/static/admin/reporting/datamap.html +1 -1
  76. fides/ui-build/static/admin/settings/about.html +1 -1
  77. fides/ui-build/static/admin/settings/consent/[configuration_id]/[purpose_id].html +1 -1
  78. fides/ui-build/static/admin/settings/consent.html +1 -1
  79. fides/ui-build/static/admin/settings/custom-fields.html +1 -1
  80. fides/ui-build/static/admin/settings/domain-records.html +1 -1
  81. fides/ui-build/static/admin/settings/domains.html +1 -1
  82. fides/ui-build/static/admin/settings/email-templates.html +1 -1
  83. fides/ui-build/static/admin/settings/locations.html +1 -1
  84. fides/ui-build/static/admin/settings/organization.html +1 -1
  85. fides/ui-build/static/admin/settings/regulations.html +1 -1
  86. fides/ui-build/static/admin/systems/configure/[id]/test-datasets.html +1 -1
  87. fides/ui-build/static/admin/systems/configure/[id].html +1 -1
  88. fides/ui-build/static/admin/systems.html +1 -1
  89. fides/ui-build/static/admin/taxonomy.html +1 -1
  90. fides/ui-build/static/admin/user-management/new.html +1 -1
  91. fides/ui-build/static/admin/user-management/profile/[id].html +1 -1
  92. fides/ui-build/static/admin/user-management.html +1 -1
  93. fides/ui-build/static/admin/_next/static/chunks/1817-3d9a78857dd5a9f4.js +0 -1
  94. {ethyca_fides-2.60.0rc5.dist-info → ethyca_fides-2.60.1b1.dist-info}/entry_points.txt +0 -0
  95. {ethyca_fides-2.60.0rc5.dist-info → ethyca_fides-2.60.1b1.dist-info}/licenses/LICENSE +0 -0
  96. {ethyca_fides-2.60.0rc5.dist-info → ethyca_fides-2.60.1b1.dist-info}/top_level.txt +0 -0
  97. /fides/ui-build/static/admin/_next/static/{d04933NE3G7JzonANBZ2_ → 48H6x-7GPF8df3EtVqpAv}/_ssgManifest.js +0 -0
fides/api/db/seed.py CHANGED
@@ -25,6 +25,7 @@ from fides.api.models.fides_user_permissions import FidesUserPermissions
25
25
  from fides.api.models.policy import Policy, Rule, RuleTarget
26
26
  from fides.api.models.sql_models import ( # type: ignore[attr-defined]
27
27
  Dataset,
28
+ Organization,
28
29
  System,
29
30
  sql_model_map,
30
31
  )
@@ -44,7 +45,7 @@ from fides.api.util.text import to_snake_case
44
45
  from fides.config import CONFIG
45
46
  from fides.service.dataset.dataset_config_service import DatasetConfigService
46
47
 
47
- from .crud import create_resource, get_resource, list_resource, upsert_resources
48
+ from .crud import upsert_resources
48
49
  from .samples import (
49
50
  load_sample_connections_from_project,
50
51
  load_sample_resources_from_project,
@@ -282,106 +283,41 @@ def load_default_erasure_policy(
282
283
  )
283
284
 
284
285
 
285
- def load_default_dsr_policies() -> None:
286
+ def load_default_dsr_policies(session: Session) -> None:
286
287
  """
287
288
  Checks whether DSR execution policies exist in the database, and
288
289
  inserts them to target a default set of data categories if not.
289
290
  """
290
- with sync_session() as db_session: # type: ignore[attr-defined]
291
- client_id = get_client_id(db_session)
291
+ client_id = get_client_id(session)
292
292
 
293
- # By default, include all categories *except* those related to a user's
294
- # financial, payment, and credentials data. These are typically not
295
- # included in access and erasure requests as they are covered by other
296
- # compliance programs (e.g. legal, tax, security) and most
297
- # organizations need to be extra careful about how these are used -
298
- # especially for erasure! Therefore, a safe default for "out of the
299
- # box" behaviour is to exclude these
293
+ # By default, include all categories *except* those related to a user's
294
+ # financial, payment, and credentials data. These are typically not
295
+ # included in access and erasure requests as they are covered by other
296
+ # compliance programs (e.g. legal, tax, security) and most
297
+ # organizations need to be extra careful about how these are used -
298
+ # especially for erasure! Therefore, a safe default for "out of the
299
+ # box" behaviour is to exclude these
300
300
 
301
- default_data_categories = get_user_data_categories()
301
+ default_data_categories = get_user_data_categories()
302
302
 
303
- log.debug(
304
- f"Preparing to create default rules for the following Data Categories: {default_data_categories} if they do not already exist"
305
- )
306
-
307
- load_default_access_policy(db_session, client_id, default_data_categories)
308
- load_default_erasure_policy(db_session, client_id, default_data_categories)
309
-
310
- log.info("All default policies & rules created")
311
-
312
-
313
- async def load_default_organization(async_session: AsyncSession) -> None:
314
- """
315
- Seed the database with a default organization unless
316
- one with a matching name already exists.
317
- """
318
-
319
- log.info("Loading the default organization...")
320
- organizations: List[Dict] = list(
321
- map(dict, DEFAULT_TAXONOMY.model_dump(mode="json")["organization"])
303
+ log.debug(
304
+ f"Preparing to create default rules for the following Data Categories: {default_data_categories} if they do not already exist"
322
305
  )
323
306
 
324
- inserted = 0
325
- for org in organizations:
326
- try:
327
- existing = await get_resource(
328
- sql_model_map["organization"],
329
- org["fides_key"],
330
- async_session,
331
- raise_not_found=False,
332
- )
333
- if not existing:
334
- await create_resource(sql_model_map["organization"], org, async_session)
335
- inserted += 1
336
- except AlreadyExistsError:
337
- pass
307
+ load_default_access_policy(session, client_id, default_data_categories)
308
+ load_default_erasure_policy(session, client_id, default_data_categories)
338
309
 
339
- log.debug(f"INSERTED {inserted} organization resource(s)")
340
- log.debug(f"SKIPPED {len(organizations)-inserted} organization resource(s)")
341
-
342
-
343
- async def load_default_taxonomy(async_session: AsyncSession) -> None:
344
- """Seed the database with the default taxonomy resources."""
345
-
346
- upsert_resource_types = list(DEFAULT_TAXONOMY.model_fields_set)
347
- upsert_resource_types.remove("organization")
348
-
349
- log.info("Loading the default fideslang taxonomy resources...")
350
- for resource_type in upsert_resource_types:
351
- log.debug(f"Processing {resource_type} resources...")
352
- default_resources = DEFAULT_TAXONOMY.model_dump(mode="json")[resource_type]
353
- existing_resources = await list_resource(
354
- sql_model_map[resource_type], async_session
355
- )
356
- existing_keys = [item.fides_key for item in existing_resources]
357
- resources = [
358
- resource
359
- for resource in default_resources
360
- if resource["fides_key"] not in existing_keys
361
- ]
362
-
363
- if len(resources) == 0:
364
- log.debug(f"No new {resource_type} resources to add from default taxonomy.")
365
- continue
366
-
367
- try:
368
- await upsert_resources(
369
- sql_model_map[resource_type], resources, async_session
370
- )
371
- except QueryError: # pragma: no cover
372
- pass # The create_resource function will log the error
373
- else:
374
- log.debug(f"UPSERTED {len(resources)} {resource_type} resource(s)")
310
+ log.info("All default policies & rules created")
375
311
 
376
312
 
377
- async def load_default_resources(async_session: AsyncSession) -> None:
313
+ def load_default_resources(session: Session) -> None:
378
314
  """
379
315
  Seed the database with default resources that the application
380
316
  expects to be available.
381
317
  """
382
- await load_default_organization(async_session)
383
- await load_default_taxonomy(async_session)
384
- load_default_dsr_policies()
318
+ load_default_organization(session)
319
+ load_default_taxonomy(session)
320
+ load_default_dsr_policies(session)
385
321
 
386
322
 
387
323
  async def load_samples(async_session: AsyncSession) -> None:
@@ -549,3 +485,70 @@ async def load_samples(async_session: AsyncSession) -> None:
549
485
 
550
486
  except QueryError: # pragma: no cover
551
487
  pass # The upsert_resources function will log any error
488
+
489
+
490
+ def load_default_organization(db: Session) -> None:
491
+ """
492
+ Seed the database with a default organization unless
493
+ one with a matching name already exists.
494
+ """
495
+ log.info("Loading the default organization...")
496
+ organizations: List[Dict] = list(
497
+ map(dict, DEFAULT_TAXONOMY.model_dump(mode="json")["organization"])
498
+ )
499
+
500
+ inserted = 0
501
+ for org in organizations:
502
+ try:
503
+ existing = Organization.get_by(
504
+ db=db, field="fides_key", value=org["fides_key"]
505
+ )
506
+ if not existing:
507
+ Organization.create(db=db, data=org, check_name=False)
508
+ inserted += 1
509
+ except AlreadyExistsError:
510
+ pass
511
+
512
+ log.debug(f"INSERTED {inserted} organization resource(s)")
513
+ log.debug(f"SKIPPED {len(organizations)-inserted} organization resource(s)")
514
+
515
+
516
+ def load_default_taxonomy(db: Session) -> None:
517
+ """Synchronous version: Seed the database with the default taxonomy resources."""
518
+ upsert_resource_types = list(DEFAULT_TAXONOMY.model_fields_set)
519
+ upsert_resource_types.remove("organization")
520
+
521
+ log.info("Loading the default fideslang taxonomy resources...")
522
+ for resource_type in upsert_resource_types:
523
+ sql_model = sql_model_map[resource_type]
524
+ log.debug(f"Processing {resource_type} resources...")
525
+ default_resources = DEFAULT_TAXONOMY.model_dump(mode="json")[resource_type]
526
+
527
+ try:
528
+ # Fetch existing keys first
529
+ existing_keys = {item[0] for item in db.query(sql_model.fides_key).all()}
530
+ except Exception as exc:
531
+ log.error(f"Error fetching existing keys for {resource_type}: {exc}")
532
+ continue # Skip this resource type if we can't get existing keys
533
+
534
+ # Filter for resources that don't exist
535
+ resources_to_create = [
536
+ resource
537
+ for resource in default_resources
538
+ if resource["fides_key"] not in existing_keys
539
+ ]
540
+
541
+ if not resources_to_create:
542
+ log.debug(f"No new {resource_type} resources to add from default taxonomy.")
543
+ continue
544
+
545
+ created_count = 0
546
+ for resource_data in resources_to_create:
547
+ try:
548
+ sql_model.create_or_update(db=db, data=resource_data)
549
+ created_count += 1
550
+ except Exception:
551
+ pass
552
+
553
+ if created_count > 0:
554
+ log.debug(f"UPSERTED {created_count} {resource_type} resource(s)")
@@ -26,6 +26,7 @@ def generate_fides_data_categories() -> Type[EnumType]:
26
26
  return FidesDataCategory
27
27
 
28
28
 
29
+ # TODO: Move away from using this, it conflicts with the DataCategory model
29
30
  DataCategory = generate_fides_data_categories()
30
31
 
31
32
 
fides/api/util/logger.py CHANGED
@@ -15,6 +15,7 @@ from loguru import logger
15
15
  from loguru._handler import Message
16
16
 
17
17
  from fides.api.schemas.privacy_request import LogEntry, PrivacyRequestSource
18
+ from fides.api.util.sqlalchemy_filter import SQLAlchemyGeneratedFilter
18
19
  from fides.config import CONFIG, FidesConfig
19
20
 
20
21
  if TYPE_CHECKING:
@@ -160,6 +161,11 @@ def setup(config: FidesConfig) -> None:
160
161
  logging.getLogger(name).handlers = []
161
162
  logging.getLogger(name).propagate = True
162
163
 
164
+ # Apply filter to remove generated timing logs
165
+ sqlalchemy_generated_filter = SQLAlchemyGeneratedFilter()
166
+ sqlalchemy_engine_logger = logging.getLogger("sqlalchemy.engine.Engine")
167
+ sqlalchemy_engine_logger.addFilter(sqlalchemy_generated_filter)
168
+
163
169
  handlers = []
164
170
 
165
171
  # Configure main sink from config
@@ -0,0 +1,30 @@
1
+ import logging
2
+
3
+
4
+ class SQLAlchemyGeneratedFilter(logging.Filter):
5
+ """
6
+ Logging filter that removes SQLAlchemy engine logs containing timing information.
7
+
8
+ This filter specifically targets logs containing error messages from sqlalchemy.engine.Engine
9
+ which typically come from sqlalchemy.engine.Engine when executing cached queries.
10
+ """
11
+
12
+ def __init__(self) -> None:
13
+ super().__init__()
14
+ # List of substrings to filter out
15
+ self.patterns = [
16
+ "cached since",
17
+ "caching disabled",
18
+ "does not support caching",
19
+ ]
20
+
21
+ def filter(self, record: logging.LogRecord) -> bool:
22
+ # Only filter records from sqlalchemy.engine.Engine
23
+ if record.name == "sqlalchemy.engine.Engine":
24
+ message = record.getMessage()
25
+ # Check if any of the patterns exist in the message
26
+ for pattern in self.patterns:
27
+ if pattern in message:
28
+ return False # Filter out the log entry
29
+
30
+ return True # Keep all other log entries
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/a063d3d67fe688f6.css" as="style"/><link rel="stylesheet" href="/_next/static/css/a063d3d67fe688f6.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-32c43a8d709ca5c6.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-79807dd0b151eaa4.js" defer=""></script><script src="/_next/static/chunks/pages/404-73e79d3760ef2658.js" defer=""></script><script src="/_next/static/d04933NE3G7JzonANBZ2_/_buildManifest.js" defer=""></script><script src="/_next/static/d04933NE3G7JzonANBZ2_/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/404","query":{},"buildId":"d04933NE3G7JzonANBZ2_","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/a063d3d67fe688f6.css" as="style"/><link rel="stylesheet" href="/_next/static/css/a063d3d67fe688f6.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-32c43a8d709ca5c6.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-79807dd0b151eaa4.js" defer=""></script><script src="/_next/static/chunks/pages/404-73e79d3760ef2658.js" defer=""></script><script src="/_next/static/48H6x-7GPF8df3EtVqpAv/_buildManifest.js" defer=""></script><script src="/_next/static/48H6x-7GPF8df3EtVqpAv/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/404","query":{},"buildId":"48H6x-7GPF8df3EtVqpAv","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
@@ -1 +1 @@
1
- self.__BUILD_MANIFEST=function(s,t,e,a,c,n,i,d,o,r,u,g,p,f,j,b,k,h,m,y,l,v,I,_,U,w,q,x,N,B,F,z,A,D,E,L,M,S,T,C,P,G,H,J,K,O){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[U,"static/chunks/pages/index-7220a947bb52c5a8.js"],"/404":["static/chunks/pages/404-73e79d3760ef2658.js"],"/_error":["static/chunks/pages/_error-bede3a8288930dcf.js"],"/add-systems":[U,"static/chunks/pages/add-systems-2c64d0a87784019b.js"],"/add-systems/manual":[s,t,a,c,n,j,e,r,b,m,w,i,"static/chunks/pages/add-systems/manual-2edda5eb5412ffb2.js"],"/add-systems/multiple":[s,t,e,r,y,q,"static/chunks/pages/add-systems/multiple-27c3bdcc05a1f18e.js"],"/ant-poc":["static/chunks/pages/ant-poc-3c256e928748177a.js"],"/consent":["static/chunks/pages/consent-07bc6a18cbad414a.js"],"/consent/configure":[s,t,e,r,y,"static/chunks/pages/consent/configure-790c7c61ff9500f1.js"],"/consent/configure/add-vendors":[s,t,e,r,y,q,"static/chunks/pages/consent/configure/add-vendors-b3d62016149e5aa4.js"],"/consent/privacy-experience":[s,t,j,e,x,"static/chunks/pages/consent/privacy-experience-f0ba90152c43c742.js"],"/consent/privacy-experience/new":[a,c,g,N,d,k,B,"static/chunks/pages/consent/privacy-experience/new-300fd2800c417d0b.js"],"/consent/privacy-experience/[id]":[a,c,g,N,d,k,B,"static/chunks/pages/consent/privacy-experience/[id]-6641f24adf72b00c.js"],"/consent/privacy-notices":[s,t,e,x,"static/chunks/pages/consent/privacy-notices-90b331a666216e38.js"],"/consent/privacy-notices/new":[a,c,g,F,d,k,z,"static/chunks/pages/consent/privacy-notices/new-e24975eaeedc7c51.js"],"/consent/privacy-notices/[id]":[a,c,g,F,d,k,z,"static/chunks/pages/consent/privacy-notices/[id]-669b1039a5f0dcb6.js"],"/consent/properties":[s,t,e,A,"static/chunks/pages/consent/properties-b9919fa183e9308a.js"],"/consent/reporting":[s,t,a,e,"static/chunks/pages/consent/reporting-1762ed46d98cebad.js"],"/data-catalog":[s,t,a,c,n,e,"static/css/95ac327e5d70148d.css","static/chunks/pages/data-catalog-8e0bc6d01176081a.js"],"/data-catalog/[systemId]/projects":[s,t,a,c,n,e,p,l,i,"static/chunks/pages/data-catalog/[systemId]/projects-45ac2c54f21a57d5.js"],"/data-catalog/[systemId]/projects/[projectUrn]":[s,t,e,D,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]-864af917f60d8f35.js"],"/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]":[s,t,a,c,n,e,p,l,E,i,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]-ac033a16f043e6f9.js"],"/data-catalog/[systemId]/resources":[s,t,e,D,"static/chunks/pages/data-catalog/[systemId]/resources-305555b74c357bf2.js"],"/data-catalog/[systemId]/resources/[resourceUrn]":[s,t,a,c,n,e,p,l,E,i,"static/chunks/pages/data-catalog/[systemId]/resources/[resourceUrn]-71e26d262afcaea5.js"],"/data-discovery/action-center":[s,t,e,"static/chunks/pages/data-discovery/action-center-333964fc8ce20616.js"],"/data-discovery/action-center/[monitorId]":[s,t,a,c,n,e,o,"static/chunks/pages/data-discovery/action-center/[monitorId]-a8b44307dfd5c23e.js"],"/data-discovery/action-center/[monitorId]/[systemId]":[s,t,a,c,n,e,o,r,m,i,"static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-a1259aa44bf99194.js"],"/data-discovery/activity":[s,t,e,"static/chunks/pages/data-discovery/activity-438ab93c6cd5c2a6.js"],"/data-discovery/detection":[s,t,e,o,h,L,"static/chunks/pages/data-discovery/detection-f473b2ee1c67be3c.js"],"/data-discovery/detection/[resourceUrn]":[s,t,e,o,h,L,"static/chunks/pages/data-discovery/detection/[resourceUrn]-10f789d4ab2b8927.js"],"/data-discovery/discovery":[s,t,a,c,n,e,o,p,h,M,i,"static/chunks/pages/data-discovery/discovery-ad077f30849fdc0a.js"],"/data-discovery/discovery/[resourceUrn]":[s,t,a,c,n,e,o,p,h,M,i,"static/chunks/pages/data-discovery/discovery/[resourceUrn]-2569551ae75ea5a2.js"],"/datamap":[s,t,"static/chunks/255-7db55b0e3a0f9dea.js",e,b,S,"static/chunks/pages/datamap-05144da6383ba6a4.js"],"/dataset":[s,t,u,e,f,"static/chunks/pages/dataset-5190a42b4bddac7d.js"],"/dataset/new":[u,f,"static/chunks/pages/dataset/new-60a80195eafe9839.js"],"/dataset/[datasetId]":[s,t,"static/chunks/9729-fcf6ff4e3534e4a8.js",e,v,"static/chunks/pages/dataset/[datasetId]-2ababde59fc9efb4.js"],"/dataset/[datasetId]/[collectionName]":[s,t,a,c,n,I,e,v,i,"static/chunks/pages/dataset/[datasetId]/[collectionName]-b584029b66084b2a.js"],"/dataset/[datasetId]/[collectionName]/[...subfieldNames]":[s,t,a,c,n,I,e,v,i,"static/chunks/pages/dataset/[datasetId]/[collectionName]/[...subfieldNames]-a3311bdf11e5bb1b.js"],"/datastore-connection":["static/css/5f393dea1c0d031c.css","static/chunks/pages/datastore-connection-92dce084869b6a94.js"],"/datastore-connection/new":[u,j,f,T,"static/chunks/pages/datastore-connection/new-32ff2757c1fb5a00.js"],"/datastore-connection/[id]":[u,f,T,"static/chunks/pages/datastore-connection/[id]-63af795429688cac.js"],"/fides-js-docs":["static/chunks/2fbcc6de-a6c61724c327e9fa.js","static/chunks/e3251fe7-5777b5d778e6fffa.js",a,c,n,u,I,C,"static/css/ab65b8cc3144bfc8.css","static/chunks/905-8ab919e7b274ed50.js","static/chunks/pages/fides-js-docs-80b241bf6cddb72e.js"],"/integrations":[a,c,n,"static/chunks/6834-dcda0a8ed484775e.js",P,"static/chunks/pages/integrations-372906eb228e73b7.js"],"/integrations/[id]":[s,t,a,c,n,e,P,"static/css/92c81f666644c594.css","static/chunks/pages/integrations/[id]-5a600a16f2ad5fa0.js"],"/login":["static/chunks/pages/login-0cb0eb44bf2dd24c.js"],"/login/[provider]":["static/chunks/pages/login/[provider]-c58beef131c3a82d.js"],"/messaging":[s,t,a,c,n,e,"static/chunks/pages/messaging-77726c8d9ad39a64.js"],"/messaging/add-template":[d,G,"static/chunks/pages/messaging/add-template-722590a322ea866b.js"],"/messaging/[id]":[d,G,"static/chunks/pages/messaging/[id]-34e5d096311c5aab.js"],"/privacy-requests":[s,t,e,H,"static/chunks/pages/privacy-requests-ff5856fc531097b2.js"],"/privacy-requests/configure":["static/chunks/pages/privacy-requests/configure-66c6d3725fc1861f.js"],"/privacy-requests/configure/messaging":["static/chunks/pages/privacy-requests/configure/messaging-df490b611f1360fa.js"],"/privacy-requests/configure/storage":["static/chunks/pages/privacy-requests/configure/storage-8575fd1d25457b4d.js"],"/privacy-requests/[id]":[a,c,n,H,"static/css/b89fc4b36b501cf6.css","static/chunks/pages/privacy-requests/[id]-12037a323158a7be.js"],"/properties":[s,t,e,A,"static/chunks/pages/properties-febd16a18011fd1e.js"],"/properties/add-property":[d,J,"static/chunks/pages/properties/add-property-b739361d2b5714db.js"],"/properties/[id]":[d,J,"static/chunks/pages/properties/[id]-7f8cc582fc11b46d.js"],"/reporting/datamap":[s,t,a,c,n,C,e,b,S,"static/chunks/pages/reporting/datamap-6d046c2bf03ce067.js"],"/settings/about":["static/chunks/pages/settings/about-95e9953afaad9260.js"],"/settings/consent":["static/chunks/pages/settings/consent-41e6213e69789c1b.js"],"/settings/consent/[configuration_id]/[purpose_id]":[s,t,e,"static/chunks/pages/settings/consent/[configuration_id]/[purpose_id]-0d593a93ef57dbd7.js"],"/settings/custom-fields":[s,t,e,"static/chunks/pages/settings/custom-fields-d6e18187d6412a34.js"],"/settings/domain-records":[s,t,e,"static/chunks/pages/settings/domain-records-0392d1bc2b8ec616.js"],"/settings/domains":["static/chunks/pages/settings/domains-db42cce5ec0ca55b.js"],"/settings/email-templates":["static/chunks/pages/settings/email-templates-297f558258a46f74.js"],"/settings/locations":[s,K,"static/chunks/pages/settings/locations-38ce7883fd27b61f.js"],"/settings/organization":["static/chunks/pages/settings/organization-3dc30591cc0a8881.js"],"/settings/regulations":[s,K,"static/chunks/pages/settings/regulations-22d97471513e835d.js"],"/systems":[s,t,e,"static/chunks/pages/systems-d7a63f851cc99583.js"],"/systems/configure/[id]":[s,t,a,c,n,j,e,o,r,b,m,w,i,"static/chunks/pages/systems/configure/[id]-69e582763772aec9.js"],"/systems/configure/[id]/test-datasets":[u,f,"static/chunks/pages/systems/configure/[id]/test-datasets-f408ebdc01892ff0.js"],"/taxonomy":["static/chunks/678d4732-50255cc09048e643.js",a,c,n,g,"static/chunks/570-c99f07161bd339cd.js","static/css/34a7eb08b86ddb57.css","static/chunks/pages/taxonomy-244453d6d5413d6c.js"],"/user-management":[_,"static/chunks/pages/user-management-f2dc8220e4aab9d7.js"],"/user-management/new":[_,O,"static/chunks/pages/user-management/new-65ef1bdebb679666.js"],"/user-management/profile/[id]":[_,O,"static/chunks/pages/user-management/profile/[id]-f29f0fbd62e10b6d.js"],sortedPages:["/","/404","/_app","/_error","/add-systems","/add-systems/manual","/add-systems/multiple","/ant-poc","/consent","/consent/configure","/consent/configure/add-vendors","/consent/privacy-experience","/consent/privacy-experience/new","/consent/privacy-experience/[id]","/consent/privacy-notices","/consent/privacy-notices/new","/consent/privacy-notices/[id]","/consent/properties","/consent/reporting","/data-catalog","/data-catalog/[systemId]/projects","/data-catalog/[systemId]/projects/[projectUrn]","/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]","/data-catalog/[systemId]/resources","/data-catalog/[systemId]/resources/[resourceUrn]","/data-discovery/action-center","/data-discovery/action-center/[monitorId]","/data-discovery/action-center/[monitorId]/[systemId]","/data-discovery/activity","/data-discovery/detection","/data-discovery/detection/[resourceUrn]","/data-discovery/discovery","/data-discovery/discovery/[resourceUrn]","/datamap","/dataset","/dataset/new","/dataset/[datasetId]","/dataset/[datasetId]/[collectionName]","/dataset/[datasetId]/[collectionName]/[...subfieldNames]","/datastore-connection","/datastore-connection/new","/datastore-connection/[id]","/fides-js-docs","/integrations","/integrations/[id]","/login","/login/[provider]","/messaging","/messaging/add-template","/messaging/[id]","/privacy-requests","/privacy-requests/configure","/privacy-requests/configure/messaging","/privacy-requests/configure/storage","/privacy-requests/[id]","/properties","/properties/add-property","/properties/[id]","/reporting/datamap","/settings/about","/settings/consent","/settings/consent/[configuration_id]/[purpose_id]","/settings/custom-fields","/settings/domain-records","/settings/domains","/settings/email-templates","/settings/locations","/settings/organization","/settings/regulations","/systems","/systems/configure/[id]","/systems/configure/[id]/test-datasets","/taxonomy","/user-management","/user-management/new","/user-management/profile/[id]"]}}("static/chunks/c78d26b1-88a3e1bacb2a03c2.js","static/chunks/6060-cb1ab5be7067bf7b.js","static/chunks/4481-cd91353711218b86.js","static/chunks/2858-0b44609b6be7850b.js","static/chunks/2866-a73888c17a195cbe.js","static/chunks/9278-9b1b5970f0702668.js","static/css/d2d4e9a6923e6730.css","static/chunks/9282-6b14898de61ba6f0.js","static/chunks/9719-8ce33427015f12ae.js","static/chunks/401-1ba7e037992ac460.js","static/chunks/6527-0eed08abe252a918.js","static/chunks/4294-5b3aa9d605217915.js","static/chunks/6372-e35fc0a8874fdecf.js","static/chunks/9327-2be9f27fbce039b0.js","static/chunks/5277-e8a036319456127f.js","static/chunks/9951-d8d1174b00f9dac1.js","static/chunks/6277-6c465012cef1bd3d.js","static/chunks/3702-929a386a64d55f19.js","static/chunks/3503-296468f82b067ec4.js","static/chunks/8934-41284e609c329cdd.js","static/chunks/7751-b3af4819eac0bc9c.js","static/chunks/5487-fd9b930f4246520a.js","static/chunks/8702-d1c8296f9f6afc10.js","static/chunks/3513-d03549cb201e7938.js","static/css/972dc7eef106ee7c.css","static/chunks/9965-023779db7a1b4aa2.js","static/chunks/5826-5f6e7a91e9ff71d1.js","static/chunks/6853-df71f47693b139d3.js","static/chunks/9014-eeae6f581158e645.js","static/chunks/1817-3d9a78857dd5a9f4.js","static/chunks/3615-5e2d062d684b8fa1.js","static/chunks/6954-00d6683243cc75d8.js","static/chunks/79-110e5199495a81c7.js","static/chunks/3872-d7045d15aafffa12.js","static/chunks/3855-3345160a78baa978.js","static/chunks/2479-064aefb3d187d6a2.js","static/chunks/1904-00404c45e69d3225.js","static/chunks/9572-c3e70eb702e9d879.js","static/chunks/9767-e8b0b48d602451d8.js","static/chunks/9187-851756440f79cd75.js","static/chunks/5973-9199898696748d0c.js","static/chunks/1100-c3d52c9d7d6d0a39.js","static/chunks/8433-2c6947927b1e74f5.js","static/chunks/4060-dd7b6e0472703a2e.js","static/chunks/5835-057c2dec5117817c.js","static/chunks/4121-01c43bbbfc6b8fd1.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
1
+ self.__BUILD_MANIFEST=function(s,t,e,a,c,n,i,d,o,r,u,g,p,f,j,b,k,h,m,y,l,v,I,_,U,w,q,x,N,B,F,z,A,D,E,L,M,S,T,C,P,G,H,J,K,O){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[U,"static/chunks/pages/index-7220a947bb52c5a8.js"],"/404":["static/chunks/pages/404-73e79d3760ef2658.js"],"/_error":["static/chunks/pages/_error-bede3a8288930dcf.js"],"/add-systems":[U,"static/chunks/pages/add-systems-2c64d0a87784019b.js"],"/add-systems/manual":[s,t,a,c,n,j,e,r,b,m,w,i,"static/chunks/pages/add-systems/manual-2edda5eb5412ffb2.js"],"/add-systems/multiple":[s,t,e,r,y,q,"static/chunks/pages/add-systems/multiple-27c3bdcc05a1f18e.js"],"/ant-poc":["static/chunks/pages/ant-poc-3c256e928748177a.js"],"/consent":["static/chunks/pages/consent-07bc6a18cbad414a.js"],"/consent/configure":[s,t,e,r,y,"static/chunks/pages/consent/configure-790c7c61ff9500f1.js"],"/consent/configure/add-vendors":[s,t,e,r,y,q,"static/chunks/pages/consent/configure/add-vendors-b3d62016149e5aa4.js"],"/consent/privacy-experience":[s,t,j,e,x,"static/chunks/pages/consent/privacy-experience-f0ba90152c43c742.js"],"/consent/privacy-experience/new":[a,c,g,N,d,k,B,"static/chunks/pages/consent/privacy-experience/new-300fd2800c417d0b.js"],"/consent/privacy-experience/[id]":[a,c,g,N,d,k,B,"static/chunks/pages/consent/privacy-experience/[id]-6641f24adf72b00c.js"],"/consent/privacy-notices":[s,t,e,x,"static/chunks/pages/consent/privacy-notices-90b331a666216e38.js"],"/consent/privacy-notices/new":[a,c,g,F,d,k,z,"static/chunks/pages/consent/privacy-notices/new-e24975eaeedc7c51.js"],"/consent/privacy-notices/[id]":[a,c,g,F,d,k,z,"static/chunks/pages/consent/privacy-notices/[id]-669b1039a5f0dcb6.js"],"/consent/properties":[s,t,e,A,"static/chunks/pages/consent/properties-b9919fa183e9308a.js"],"/consent/reporting":[s,t,a,e,"static/chunks/pages/consent/reporting-51284600803b1fa6.js"],"/data-catalog":[s,t,a,c,n,e,"static/css/95ac327e5d70148d.css","static/chunks/pages/data-catalog-8e0bc6d01176081a.js"],"/data-catalog/[systemId]/projects":[s,t,a,c,n,e,p,l,i,"static/chunks/pages/data-catalog/[systemId]/projects-45ac2c54f21a57d5.js"],"/data-catalog/[systemId]/projects/[projectUrn]":[s,t,e,D,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]-864af917f60d8f35.js"],"/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]":[s,t,a,c,n,e,p,l,E,i,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]-ac033a16f043e6f9.js"],"/data-catalog/[systemId]/resources":[s,t,e,D,"static/chunks/pages/data-catalog/[systemId]/resources-305555b74c357bf2.js"],"/data-catalog/[systemId]/resources/[resourceUrn]":[s,t,a,c,n,e,p,l,E,i,"static/chunks/pages/data-catalog/[systemId]/resources/[resourceUrn]-71e26d262afcaea5.js"],"/data-discovery/action-center":[s,t,e,"static/chunks/pages/data-discovery/action-center-333964fc8ce20616.js"],"/data-discovery/action-center/[monitorId]":[s,t,a,c,n,e,o,"static/chunks/pages/data-discovery/action-center/[monitorId]-a8b44307dfd5c23e.js"],"/data-discovery/action-center/[monitorId]/[systemId]":[s,t,a,c,n,e,o,r,m,i,"static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-a1259aa44bf99194.js"],"/data-discovery/activity":[s,t,e,"static/chunks/pages/data-discovery/activity-438ab93c6cd5c2a6.js"],"/data-discovery/detection":[s,t,e,o,h,L,"static/chunks/pages/data-discovery/detection-f473b2ee1c67be3c.js"],"/data-discovery/detection/[resourceUrn]":[s,t,e,o,h,L,"static/chunks/pages/data-discovery/detection/[resourceUrn]-10f789d4ab2b8927.js"],"/data-discovery/discovery":[s,t,a,c,n,e,o,p,h,M,i,"static/chunks/pages/data-discovery/discovery-ad077f30849fdc0a.js"],"/data-discovery/discovery/[resourceUrn]":[s,t,a,c,n,e,o,p,h,M,i,"static/chunks/pages/data-discovery/discovery/[resourceUrn]-2569551ae75ea5a2.js"],"/datamap":[s,t,"static/chunks/255-7db55b0e3a0f9dea.js",e,b,S,"static/chunks/pages/datamap-05144da6383ba6a4.js"],"/dataset":[s,t,u,e,f,"static/chunks/pages/dataset-5190a42b4bddac7d.js"],"/dataset/new":[u,f,"static/chunks/pages/dataset/new-60a80195eafe9839.js"],"/dataset/[datasetId]":[s,t,"static/chunks/9729-fcf6ff4e3534e4a8.js",e,v,"static/chunks/pages/dataset/[datasetId]-2ababde59fc9efb4.js"],"/dataset/[datasetId]/[collectionName]":[s,t,a,c,n,I,e,v,i,"static/chunks/pages/dataset/[datasetId]/[collectionName]-b584029b66084b2a.js"],"/dataset/[datasetId]/[collectionName]/[...subfieldNames]":[s,t,a,c,n,I,e,v,i,"static/chunks/pages/dataset/[datasetId]/[collectionName]/[...subfieldNames]-a3311bdf11e5bb1b.js"],"/datastore-connection":["static/css/5f393dea1c0d031c.css","static/chunks/pages/datastore-connection-92dce084869b6a94.js"],"/datastore-connection/new":[u,j,f,T,"static/chunks/pages/datastore-connection/new-32ff2757c1fb5a00.js"],"/datastore-connection/[id]":[u,f,T,"static/chunks/pages/datastore-connection/[id]-63af795429688cac.js"],"/fides-js-docs":["static/chunks/2fbcc6de-a6c61724c327e9fa.js","static/chunks/e3251fe7-5777b5d778e6fffa.js",a,c,n,u,I,C,"static/css/ab65b8cc3144bfc8.css","static/chunks/905-8ab919e7b274ed50.js","static/chunks/pages/fides-js-docs-80b241bf6cddb72e.js"],"/integrations":[a,c,n,"static/chunks/6834-dcda0a8ed484775e.js",P,"static/chunks/pages/integrations-372906eb228e73b7.js"],"/integrations/[id]":[s,t,a,c,n,e,P,"static/css/92c81f666644c594.css","static/chunks/pages/integrations/[id]-5a600a16f2ad5fa0.js"],"/login":["static/chunks/pages/login-0cb0eb44bf2dd24c.js"],"/login/[provider]":["static/chunks/pages/login/[provider]-c58beef131c3a82d.js"],"/messaging":[s,t,a,c,n,e,"static/chunks/pages/messaging-77726c8d9ad39a64.js"],"/messaging/add-template":[d,G,"static/chunks/pages/messaging/add-template-722590a322ea866b.js"],"/messaging/[id]":[d,G,"static/chunks/pages/messaging/[id]-34e5d096311c5aab.js"],"/privacy-requests":[s,t,e,H,"static/chunks/pages/privacy-requests-ff5856fc531097b2.js"],"/privacy-requests/configure":["static/chunks/pages/privacy-requests/configure-66c6d3725fc1861f.js"],"/privacy-requests/configure/messaging":["static/chunks/pages/privacy-requests/configure/messaging-df490b611f1360fa.js"],"/privacy-requests/configure/storage":["static/chunks/pages/privacy-requests/configure/storage-8575fd1d25457b4d.js"],"/privacy-requests/[id]":[a,c,n,H,"static/css/b89fc4b36b501cf6.css","static/chunks/pages/privacy-requests/[id]-12037a323158a7be.js"],"/properties":[s,t,e,A,"static/chunks/pages/properties-febd16a18011fd1e.js"],"/properties/add-property":[d,J,"static/chunks/pages/properties/add-property-b739361d2b5714db.js"],"/properties/[id]":[d,J,"static/chunks/pages/properties/[id]-7f8cc582fc11b46d.js"],"/reporting/datamap":[s,t,a,c,n,C,e,b,S,"static/chunks/pages/reporting/datamap-6d046c2bf03ce067.js"],"/settings/about":["static/chunks/pages/settings/about-95e9953afaad9260.js"],"/settings/consent":["static/chunks/pages/settings/consent-41e6213e69789c1b.js"],"/settings/consent/[configuration_id]/[purpose_id]":[s,t,e,"static/chunks/pages/settings/consent/[configuration_id]/[purpose_id]-0d593a93ef57dbd7.js"],"/settings/custom-fields":[s,t,e,"static/chunks/pages/settings/custom-fields-d6e18187d6412a34.js"],"/settings/domain-records":[s,t,e,"static/chunks/pages/settings/domain-records-0392d1bc2b8ec616.js"],"/settings/domains":["static/chunks/pages/settings/domains-db42cce5ec0ca55b.js"],"/settings/email-templates":["static/chunks/pages/settings/email-templates-297f558258a46f74.js"],"/settings/locations":[s,K,"static/chunks/pages/settings/locations-38ce7883fd27b61f.js"],"/settings/organization":["static/chunks/pages/settings/organization-3dc30591cc0a8881.js"],"/settings/regulations":[s,K,"static/chunks/pages/settings/regulations-22d97471513e835d.js"],"/systems":[s,t,e,"static/chunks/pages/systems-d7a63f851cc99583.js"],"/systems/configure/[id]":[s,t,a,c,n,j,e,o,r,b,m,w,i,"static/chunks/pages/systems/configure/[id]-69e582763772aec9.js"],"/systems/configure/[id]/test-datasets":[u,f,"static/chunks/pages/systems/configure/[id]/test-datasets-f408ebdc01892ff0.js"],"/taxonomy":["static/chunks/678d4732-50255cc09048e643.js",a,c,n,g,"static/chunks/570-c99f07161bd339cd.js","static/css/34a7eb08b86ddb57.css","static/chunks/pages/taxonomy-244453d6d5413d6c.js"],"/user-management":[_,"static/chunks/pages/user-management-f2dc8220e4aab9d7.js"],"/user-management/new":[_,O,"static/chunks/pages/user-management/new-65ef1bdebb679666.js"],"/user-management/profile/[id]":[_,O,"static/chunks/pages/user-management/profile/[id]-f29f0fbd62e10b6d.js"],sortedPages:["/","/404","/_app","/_error","/add-systems","/add-systems/manual","/add-systems/multiple","/ant-poc","/consent","/consent/configure","/consent/configure/add-vendors","/consent/privacy-experience","/consent/privacy-experience/new","/consent/privacy-experience/[id]","/consent/privacy-notices","/consent/privacy-notices/new","/consent/privacy-notices/[id]","/consent/properties","/consent/reporting","/data-catalog","/data-catalog/[systemId]/projects","/data-catalog/[systemId]/projects/[projectUrn]","/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]","/data-catalog/[systemId]/resources","/data-catalog/[systemId]/resources/[resourceUrn]","/data-discovery/action-center","/data-discovery/action-center/[monitorId]","/data-discovery/action-center/[monitorId]/[systemId]","/data-discovery/activity","/data-discovery/detection","/data-discovery/detection/[resourceUrn]","/data-discovery/discovery","/data-discovery/discovery/[resourceUrn]","/datamap","/dataset","/dataset/new","/dataset/[datasetId]","/dataset/[datasetId]/[collectionName]","/dataset/[datasetId]/[collectionName]/[...subfieldNames]","/datastore-connection","/datastore-connection/new","/datastore-connection/[id]","/fides-js-docs","/integrations","/integrations/[id]","/login","/login/[provider]","/messaging","/messaging/add-template","/messaging/[id]","/privacy-requests","/privacy-requests/configure","/privacy-requests/configure/messaging","/privacy-requests/configure/storage","/privacy-requests/[id]","/properties","/properties/add-property","/properties/[id]","/reporting/datamap","/settings/about","/settings/consent","/settings/consent/[configuration_id]/[purpose_id]","/settings/custom-fields","/settings/domain-records","/settings/domains","/settings/email-templates","/settings/locations","/settings/organization","/settings/regulations","/systems","/systems/configure/[id]","/systems/configure/[id]/test-datasets","/taxonomy","/user-management","/user-management/new","/user-management/profile/[id]"]}}("static/chunks/c78d26b1-88a3e1bacb2a03c2.js","static/chunks/6060-cb1ab5be7067bf7b.js","static/chunks/4481-cd91353711218b86.js","static/chunks/2858-0b44609b6be7850b.js","static/chunks/2866-a73888c17a195cbe.js","static/chunks/9278-9b1b5970f0702668.js","static/css/d2d4e9a6923e6730.css","static/chunks/9282-6b14898de61ba6f0.js","static/chunks/9719-8ce33427015f12ae.js","static/chunks/401-1ba7e037992ac460.js","static/chunks/6527-0eed08abe252a918.js","static/chunks/4294-5b3aa9d605217915.js","static/chunks/6372-e35fc0a8874fdecf.js","static/chunks/9327-2be9f27fbce039b0.js","static/chunks/5277-e8a036319456127f.js","static/chunks/9951-d8d1174b00f9dac1.js","static/chunks/6277-6c465012cef1bd3d.js","static/chunks/3702-929a386a64d55f19.js","static/chunks/3503-296468f82b067ec4.js","static/chunks/8934-41284e609c329cdd.js","static/chunks/7751-b3af4819eac0bc9c.js","static/chunks/5487-fd9b930f4246520a.js","static/chunks/8702-d1c8296f9f6afc10.js","static/chunks/3513-d03549cb201e7938.js","static/css/972dc7eef106ee7c.css","static/chunks/9965-023779db7a1b4aa2.js","static/chunks/5826-5f6e7a91e9ff71d1.js","static/chunks/6853-df71f47693b139d3.js","static/chunks/9014-eeae6f581158e645.js","static/chunks/1817-64ec6ac3d4a06930.js","static/chunks/3615-5e2d062d684b8fa1.js","static/chunks/6954-00d6683243cc75d8.js","static/chunks/79-110e5199495a81c7.js","static/chunks/3872-d7045d15aafffa12.js","static/chunks/3855-3345160a78baa978.js","static/chunks/2479-064aefb3d187d6a2.js","static/chunks/1904-00404c45e69d3225.js","static/chunks/9572-c3e70eb702e9d879.js","static/chunks/9767-e8b0b48d602451d8.js","static/chunks/9187-851756440f79cd75.js","static/chunks/5973-9199898696748d0c.js","static/chunks/1100-c3d52c9d7d6d0a39.js","static/chunks/8433-2c6947927b1e74f5.js","static/chunks/4060-dd7b6e0472703a2e.js","static/chunks/5835-057c2dec5117817c.js","static/chunks/4121-01c43bbbfc6b8fd1.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1817],{11817:function(e,n,i){i.d(n,{Z:function(){return U}});var t=i(24246),o=i(91922),a=i(34090),l=i(86677),r=i(27378),s=i(55484),d=i(16134),c=i(812);let p=(0,o.IUT)({displayName:"DesktopIcon",viewBox:"0 0 24 24",path:(0,t.jsx)("path",{fill:"currentColor",d:"M20.5556 4.05556H3.44444C3.10833 4.05556 2.83333 4.33056 2.83333 4.66667V12H21.1667V4.66667C21.1667 4.33056 20.8917 4.05556 20.5556 4.05556ZM23 12V13.8333V15.6667C23 17.0149 21.9038 18.1111 20.5556 18.1111H14.9142L15.2198 19.9445H17.1944C17.7024 19.9445 18.1111 20.3531 18.1111 20.8611C18.1111 21.3691 17.7024 21.7778 17.1944 21.7778H14.4444H9.55556H6.80556C6.29757 21.7778 5.88889 21.3691 5.88889 20.8611C5.88889 20.3531 6.29757 19.9445 6.80556 19.9445H8.78021L9.08576 18.1111H3.44444C2.09618 18.1111 1 17.0149 1 15.6667V13.8333V12V4.66667C1 3.31841 2.09618 2.22223 3.44444 2.22223H20.5556C21.9038 2.22223 23 3.31841 23 4.66667V12ZM2.83333 13.8333V15.6667C2.83333 16.0028 3.10833 16.2778 3.44444 16.2778H10.1476C10.159 16.2778 10.1705 16.2778 10.1781 16.2778H13.8142C13.8257 16.2778 13.8372 16.2778 13.8448 16.2778H20.5556C20.8917 16.2778 21.1667 16.0028 21.1667 15.6667V13.8333H2.83333ZM10.6365 19.9445H13.3597L13.0542 18.1111H10.942L10.6365 19.9445Z"})}),u=(0,o.IUT)({displayName:"MobileIcon",viewBox:"0 0 24 24",path:(0,t.jsx)("path",{fill:"currentColor",d:"M6.5 20.25C6.5 20.6281 6.80938 20.9375 7.1875 20.9375H16.8125C17.1906 20.9375 17.5 20.6281 17.5 20.25V16.8125H6.5V20.25ZM6.5 14.75H17.5V3.75C17.5 3.37188 17.1906 3.0625 16.8125 3.0625H7.1875C6.80938 3.0625 6.5 3.37188 6.5 3.75V14.75ZM4.4375 3.75C4.4375 2.2332 5.6707 1 7.1875 1H16.8125C18.3293 1 19.5625 2.2332 19.5625 3.75V20.25C19.5625 21.7668 18.3293 23 16.8125 23H7.1875C5.6707 23 4.4375 21.7668 4.4375 20.25V3.75ZM12 17.8438C12.2735 17.8438 12.5358 17.9524 12.7292 18.1458C12.9226 18.3392 13.0312 18.6015 13.0312 18.875C13.0312 19.1485 12.9226 19.4108 12.7292 19.6042C12.5358 19.7976 12.2735 19.9062 12 19.9062C11.7265 19.9062 11.4642 19.7976 11.2708 19.6042C11.0774 19.4108 10.9688 19.1485 10.9688 18.875C10.9688 18.6015 11.0774 18.3392 11.2708 18.1458C11.4642 17.9524 11.7265 17.8438 12 17.8438Z"})});var v=i(77830),m=i(46628),_=i(7426),f=i(60325);let b={language:{label:"Language",validation:s.Z_()},title:{label:"Title",validation:s.Z_()},description:{label:"Description",validation:s.Z_()},accept_button_label:{label:"Accept button label",validation:s.Z_()},reject_button_label:{label:"Reject button label",validation:s.Z_()},save_button_label:{label:"Save button label",validation:s.Z_()},acknowledge_button_label:{label:"Acknowledge button label",validation:s.Z_()},privacy_policy_url:{label:"Privacy policy URL",validation:s.Z_().url()},privacy_preferences_link_label:{label:"Privacy preferences link label",validation:s.Z_()},banner_title:{label:"Banner title",validation:s.Z_()},banner_description:{label:"Banner description",validation:s.Z_()},purpose_header:{label:"Purpose header",validation:s.Z_()},privacy_policy_link_label:{label:"Privacy policy link label",validation:s.Z_()},modal_link_label:{label:"Modal link label",validation:s.Z_()},is_default:{label:"Default language",validation:s.O7()}};var g=i(34334),y=i(13083),x=i.n(y),h=i(43218),w=i.n(h),C=i(52253),j=i(32885),V=i(16643);let k={language:V.eU.EN,accept_button_label:"Accept",acknowledge_button_label:"OK",banner_description:"",banner_title:"",purpose_header:"",description:"Description",privacy_policy_link_label:"",privacy_policy_url:"",modal_link_label:"",privacy_preferences_link_label:"Privacy preferences",reject_button_label:"Reject All",save_button_label:"Save",title:"Manage your consent preferences",is_default:!0},A=e=>({...k,...e.translations?e.translations[0]:{}}),O=(e,n)=>{var i,t,o,a;let l={options:{allowHTMLDescription:!0,base64Cookie:!1,debug:!1,fidesApiUrl:"http://localhost:8080/api/v1",fidesClearCookie:!0,fidesDisableSaveApi:!0,fidesDisableNoticesServedApi:!0,fidesJsBaseUrl:"",fidesLocale:null===(t=e.translations)||void 0===t?void 0:null===(i=t[0])||void 0===i?void 0:i.language,fidesString:null,geolocationApiUrl:"",isGeolocationEnabled:!1,isOverlayEnabled:!0,isPrefetchEnabled:!1,modalLinkId:null,overlayParentId:C.Vk,preventDismissal:null!==(a=e.dismissable)&&void 0!==a&&a,privacyCenterUrl:"http://localhost:3000",showFidesBrandLink:!0},experience:{available_locales:null===(o=e.translations)||void 0===o?void 0:o.map(e=>e.language),component:e.component,experience_config:{allow_language_selection:!0,auto_detect_language:!0,auto_subdomain_cookie_deletion:!0,component:e.component,disabled:!1,dismissable:e.dismissable,id:"pri_222",is_default:!0,language:"en",layer1_button_options:V.Of.OPT_IN_OPT_OUT,properties:[],regions:["us_ca"],show_layer1_notices:!1,translations:[A(e)]},id:"pri_111",privacy_notices:n,region:"us_ca"},geolocation:{country:"US",location:"US-CA",region:"CA"}};return e.component===V.re.TCF_OVERLAY&&(l.options.fidesTcfGdprApplies=!0,l.options.tcf_enabled=!0,l.geolocation={location:"eea",country:"eea"},l.experience.experience_config.regions=["eea"],l.experience={...l.experience,region:"eea",minimal_tcf:!0,gvl:{vendors:{}},tcf_purpose_names:["Store and/or access information on a device","Use limited data to select advertising","Create profiles for personalised advertising","Use profiles to select personalised advertising","Create profiles to personalise content","Use profiles to select personalised content","Measure advertising performance","Measure content performance","Understand audiences through statistics or combinations of data from different sources","Develop and improve services","Use limited data to select content"]},l.options.apiOptions={getPrivacyExperienceFn:async()=>l.experience}),l},E=e=>{let{language:n,is_default:i,...t}=k,o=Object.keys(t).map(n=>{let i=e[n];return{[n]:void 0!==i?i:k[n]}}).reduce((e,n)=>({...e,...n}),{});return{language:e.language,is_default:e.is_default,...o}},T=(e,n,i)=>e?e.map(e=>i.find(n=>(null==n?void 0:n.id)===e)).map(e=>n===V.re.TCF_OVERLAY&&void 0!==e?{...e,translations:[{language:"en",text:null==e?void 0:e.name}]}:e).filter(e=>void 0!==e):[];var L=i(74022),Z=i(32222);let N=e=>{let{title:n,description:i}=e;return(0,t.jsx)(o.jqI,{className:"h-full items-center justify-center",children:(0,t.jsxs)(o.jqI,{className:"items-center gap-2 rounded-md p-6",style:{backgroundColor:L.Z.colors.white,boxShadow:L.Z.shadows.md,maxWidth:512},vertical:!0,"data-testid":"no-preview-notice",children:[(0,t.jsx)(o.xvT,{fontSize:"lg",fontWeight:"500",align:"center",children:n}),(0,t.jsx)(o.xvT,{color:"gray.500",align:"center",children:i})]})})};var P=e=>{var n,i;let{allPrivacyNotices:s,initialValues:d,translation:c,isMobilePreview:p}=e,u=(0,l.useRouter)().pathname.includes("/new"),{values:v}=(0,a.u6)(),[m,_]=(0,r.useState)([]),[f,b]=(0,r.useState)(!1),[g,y]=(0,r.useState)(),h=[V.re.BANNER_AND_MODAL,V.re.MODAL,V.re.TCF_OVERLAY].includes(v.component),{data:k}=(0,j.de)({pageIndex:1,pageSize:1}),A=(0,r.useMemo)(()=>(null==k?void 0:k.total)||0,[null==k?void 0:k.total]);(0,r.useEffect)(()=>{var e,n;return h&&f&&window.FidesPreview&&v.component&&((null===(e=v.privacy_notice_ids)||void 0===e?void 0:e.length)||v.component===V.re.TCF_OVERLAY)?v.component===V.re.TCF_OVERLAY?(window.FidesPreview("tcf"),y("tcf")):(window.FidesPreview("standard"),y("standard")):window.FidesPreview&&(null===(n=window.FidesPreview)||void 0===n||n.cleanup()),()=>{var e;null===(e=window.FidesPreview)||void 0===e||e.cleanup()}},[v.component,f,h,null===(n=v.privacy_notice_ids)||void 0===n?void 0:n.length,u]),(0,r.useEffect)(()=>{d&&v.component&&s&&(v.privacy_notice_ids?_(T(v.privacy_notice_ids,v.component,s)):_([]))},[v.privacy_notice_ids,s,v.component,d]);let L=(0,r.useMemo)(()=>v.component?O({...d,component:v.component},m):null,[d,m,v.component]);(0,r.useEffect)(()=>{var e,n,i,t;if(!h||!f||!window.FidesPreview||!window.Fides||!(null===(e=v.privacy_notice_ids)||void 0===e?void 0:e.length)&&v.component!==V.re.TCF_OVERLAY)return;v.component===V.re.MODAL&&(L.experience.experience_config.component=V.re.MODAL);let o=null===(n=v.translations)||void 0===n?void 0:n.find(e=>e.language===(null==c?void 0:c.language));(null===(i=v.translations)||void 0===i?void 0:i.length)&&(o?(L.experience.available_locales=[...L.experience.available_locales||[],o.language],L.experience.experience_config.translations[0]=E(o),L.options.fidesLocale=o.language):v.translations&&(L.experience.experience_config.translations[0]=E(v.translations[0]),L.options.fidesLocale=v.translations[0].language)),L.experience.experience_config.show_layer1_notices=!!(null===(t=v.privacy_notice_ids)||void 0===t?void 0:t.length)&&!!v.show_layer1_notices,L.experience.experience_config.layer1_button_options=(v.component===V.re.BANNER_AND_MODAL||v.component===V.re.TCF_OVERLAY)&&v.layer1_button_options?v.layer1_button_options:V.Of.OPT_IN_OPT_OUT,L.options.preventDismissal=!v.dismissable,L.experience.vendor_count=A,L.experience.experience_config.component=v.component,window.Fides.init(L)},[c,L,s,h,A,f,g,v.privacy_notice_ids,v.component,v.translations,v.show_layer1_notices,v.layer1_button_options,v.dismissable,d,m]);let P=document.getElementById("fides-modal");return(P&&P.removeAttribute("tabindex"),v.component)?h?(null===(i=v.privacy_notice_ids)||void 0===i?void 0:i.length)||v.component===V.re.TCF_OVERLAY?(0,t.jsxs)(o.jqI,{className:"size-full items-center justify-center overflow-scroll",children:[(0,t.jsx)(x(),{id:"4b2ec2183c5a567e",dynamic:[C.Vk,v.component!==V.re.TCF_OVERLAY?"padding-bottom: 45px;":""],children:"div#fides-overlay{z-index:5000!important}div#".concat(C.Vk,"{width:100%;padding-top:45px;").concat(v.component!==V.re.TCF_OVERLAY?"padding-bottom: 45px;":""," margin: auto;pointer-events:none}div#fides-banner-container{position:static!important;-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important;-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;transition:none!important}div#fides-banner-container.fides-banner-hidden{display:none}.fides-modal-container{background-color:unset!important;position:static!important;display:none!important}.fides-modal-overlay{background-color:inherit!important;position:static!important;display:none!important}div.fides-modal-content{position:relative!important;-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important;left:initial!important;top:initial!important}div.fides-modal-footer{width:unset}")}),h?(0,t.jsx)("style",{children:"div#fides-modal {\n display: flex !important;\n justify-content: center;\n background-color: unset;\n ".concat(v.component===V.re.BANNER_AND_MODAL||v.component===V.re.TCF_OVERLAY?"padding-bottom: 3rem;":"","\n }")}):null,p?(0,t.jsx)("style",{children:"\n div#fides-overlay-wrapper {\n max-width: 400px;\n margin: auto;\n }\n div.fides-modal-button-group {\n flex-direction: column !important;\n }\n div#fides-banner {\n padding: 24px;\n width: 100%;\n }\n\n div#fides-banner-description {\n margin-bottom: 0px;\n }\n\n div#fides-banner-inner div#fides-button-group {\n flex-direction: column;\n align-items: flex-start;\n gap: 12px;\n padding-top: 24px;\n }\n\n .fides-banner-button-group {\n flex-direction: column;\n width: 100%;\n }\n\n button.fides-banner-button {\n margin: 0px;\n width: 100%;\n }\n\n div#fides-banner-inner-container {\n display: flex;\n flex-direction: column;\n max-height: 50vh;\n overflow-y: auto;\n scrollbar-gutter: stable;\n }\n\n div#fides-privacy-policy-link {\n order: 1;\n width: 100%;\n }\n .fides-modal-footer {\n max-width: 100%;\n }\n .fides-banner-secondary-actions {\n flex-direction: column-reverse;\n gap: 12px;\n }\n "}):(0,t.jsx)("style",{children:"\n div#fides-banner {\n width: 60%;\n }\n @media (min-width: 768px) {\n div#fides-banner {\n width: 100%;\n }\n }\n @media (min-width: 1155px) {\n div#fides-banner {\n width: 90%;\n }\n }\n @media (min-width: 1440px) {\n div#fides-banner {\n width: 60%;\n }\n }\n "}),(0,t.jsx)(w(),{id:"fides-js-script",src:"/lib/fides-preview.js",onReady:()=>{b(!0)}}),(0,t.jsx)("div",{id:C.Vk,className:x().dynamic([["4b2ec2183c5a567e",[C.Vk,v.component!==V.re.TCF_OVERLAY?"padding-bottom: 45px;":""]]])},v.component)]}):(0,t.jsx)(N,{title:"No privacy notices added",description:'To view a preview of this experience, add a privacy notice under "Privacy Notices" to the left.'}):(0,t.jsx)(N,{title:"".concat(Z.J.get(v.component)," preview not available"),description:"There is no preview available for ".concat(Z.J.get(v.component),". You can edit the available settings\n and languages to the left.")}):(0,t.jsx)(N,{title:"No privacy experience type selected",description:"Please select a privacy experience type to preview."})},D=i(94315),M=i(5331),R=i(16277),F=i(71922),H=i(31883);let S=e=>{let n=(0,f.y3)(e),i={};return Object.entries(n).forEach(e=>{let[n,t]=e;if(t.included){let e=b[n];i[n]=t.required?e.validation.required().label(e.label):e.validation.nullable().label(e.label)}}),s.Ry().shape(i)},B=e=>{let{componentType:n}=e;return S(n)},I=s.Ry().shape({name:s.Z_().required().label("Experience name"),component:s.Z_().required().label("Experience type"),translations:s.IX().when("component",(e,n)=>{let[i]=e;return n.of(B({componentType:i}))})});var U=e=>{var n;let{passedInExperience:i,passedInTranslations:s}=e,[b]=(0,D.mJ)(),[y]=(0,D.$d)(),x=(0,o.pmc)(),[h,w]=(0,r.useState)(!1),C=(0,l.useRouter)(),{data:j}=(0,_.tB)({api_set:!1}),V=null==j?void 0:null===(n=j.plus_consent_settings)||void 0===n?void 0:n.enable_translations,k=(0,d.C)(g.Zp),A=(0,d.C)(g.G1);(0,g.Ah)({page:k,size:A});let O=(0,d.C)(g.fJ),E=(0,d.C)(F.sX),T=i?{...f.DD,...(0,f.Uv)(i)}:f.DD,L=async e=>{var n,t;let o;e.privacy_notice_ids=null===(n=e.privacy_notice_ids)||void 0===n?void 0:n.filter(e=>"tcf_purposes_placeholder"!==e),T.tcf_configuration_id&&!e.tcf_configuration_id&&(e.tcf_configuration_id=null);let a={...e,disabled:null===(t=null==i?void 0:i.disabled)||void 0===t||t,allow_language_selection:e.translations&&e.translations.length>1};if(i){let{component:e,...n}=a;o=await y({...n,id:i.id})}else o=await b(a);(0,H.D4)(o)?x((0,m.Vo)((0,c.e$)(o.error))):(x((0,m.t5)("Privacy experience successfully ".concat(i?"updated":"created"))),C.push(v.w0))},[Z,N]=(0,r.useState)(void 0),[S,B]=(0,r.useState)(!1);return(0,t.jsx)(a.J9,{initialValues:T,enableReinitialize:!0,onSubmit:L,validationSchema:I,children:(0,t.jsx)(a.l0,{style:{height:"100vh"},children:(0,t.jsxs)(o.jqI,{className:"size-full","data-testid":"privacy-experience-detail-page",children:[Z?(0,t.jsx)(R.Z,{translation:Z,translationsEnabled:V,isOOB:S,onReturnToMainForm:()=>{N(void 0),B(!1)}}):(0,t.jsx)(M.d0,{allPrivacyNotices:E,translationsEnabled:V,onSelectTranslation:e=>{N({...e,name:(0,f.Go)(e,O)})},onCreateTranslation:e=>{let n=null==s?void 0:s.find(n=>n.language===e);return n&&B(!0),null!=n?n:{language:e,is_default:!1}}}),(0,t.jsxs)(o.jqI,{vertical:!0,className:"w-full overflow-y-hidden",style:{backgroundColor:o.rSc.colors.gray[50]},children:[(0,t.jsxs)(o.jqI,{className:"flex-row items-center p-4",style:{backgroundColor:o.rSc.colors.white,borderBottom:"1px solid ".concat(o.rSc.colors.gray[100])},children:[(0,t.jsx)(o.xvT,{fontSize:"md",fontWeight:"semibold",children:"PREVIEW"}),(0,t.jsx)(o.LZC,{}),(0,t.jsxs)(o.y02.Group,{onChange:e=>w(e.target.value),defaultValue:!1,children:[(0,t.jsx)(o.y02.Button,{value:!0,title:"View mobile preview",children:(0,t.jsx)(u,{})}),(0,t.jsx)(o.y02.Button,{value:!1,title:"View desktop preview",children:(0,t.jsx)(p,{})})]})]}),(0,t.jsx)(P,{allPrivacyNotices:E,initialValues:T,translation:Z,isMobilePreview:h})]})]})})})}},32222:function(e,n,i){i.d(n,{J:function(){return t}});let t=new Map([["overlay","Overlay"],["privacy_center","Privacy center"],["tcf_overlay","TCF overlay"],["modal","Modal"],["banner_and_modal","Banner and modal"],["headless","Headless"]])},31883:function(e,n,i){i.d(n,{Bw:function(){return t.Bw},D4:function(){return t.D4}});var t=i(19043)}}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3422],{80594:function(e){e.exports=function(e,a){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==a(e[n],n,e););return e}},52033:function(e,a,n){var r=n(26194),t=n(26789)(r);e.exports=t},49819:function(e,a,n){var r=n(18911)();e.exports=r},26194:function(e,a,n){var r=n(49819),t=n(50098);e.exports=function(e,a){return e&&r(e,a,t)}},62079:function(e,a,n){var r=n(31137);e.exports=function(e){return"function"==typeof e?e:r}},26789:function(e,a,n){var r=n(80068);e.exports=function(e,a){return function(n,t){if(null==n)return n;if(!r(n))return e(n,t);for(var i=n.length,s=a?i:-1,o=Object(n);(a?s--:++s<i)&&!1!==t(o[s],s,o););return n}}},18911:function(e){e.exports=function(e){return function(a,n,r){for(var t=-1,i=Object(a),s=r(a),o=s.length;o--;){var l=s[e?o:++t];if(!1===n(i[l],l,i))break}return a}}},47003:function(e,a,n){var r=n(80594),t=n(52033),i=n(62079),s=n(19785);e.exports=function(e,a){return(s(e)?r:t)(e,i(a))}},31137:function(e){e.exports=function(e){return e}},90104:function(e,a,n){var r=n(20186),t=n(3533),i=n(2900),s=n(19785),o=n(80068),l=n(43854),_=n(56016),c=n(48519),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(o(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||c(e)||i(e)))return!e.length;var a=t(e);if("[object Map]"==a||"[object Set]"==a)return!e.size;if(_(e))return!r(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},15806:function(e,a,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/reporting",function(){return n(31881)}])},35287:function(e,a,n){"use strict";var r=n(24246),t=n(91922),i=n(88038),s=n.n(i);n(27378),a.Z=e=>{let{children:a,title:n,mainProps:i}=e;return(0,r.jsxs)(t.kCb,{"data-testid":n,direction:"column",height:"calc(100vh - 48px)",width:"calc(100vw - 240px)",children:[(0,r.jsxs)(s(),{children:[(0,r.jsxs)("title",{children:["Fides Admin UI - ",n]}),(0,r.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,r.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,r.jsx)(t.kCb,{px:10,py:6,as:"main",overflow:"auto",direction:"column",flex:1,minWidth:0,...i,children:a})]})}},58754:function(e,a,n){"use strict";var r=n(24246),t=n(91922),i=n(70788);a.Z=e=>{let{heading:a,breadcrumbItems:n,isSticky:s=!0,children:o,rightContent:l,style:_,...c}=e;return(0,r.jsxs)("div",{...c,style:s?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",..._}:{paddingBottom:"24px",..._},children:[(0,r.jsxs)(t.jqI,{justify:"space-between",children:["string"==typeof a?(0,r.jsx)(t.lQT,{className:n||o?"pb-4":void 0,level:1,"data-testid":"page-heading",children:a}):a,l&&(0,r.jsx)("div",{"data-testid":"page-header-right-content",children:l})]}),!!n&&(0,r.jsx)(i.m,{className:o?"pb-4":void 0,items:n,"data-testid":"page-breadcrumb"}),o]})}},70788:function(e,a,n){"use strict";n.d(a,{m:function(){return _}});var r=n(24246),t=n(91922),i=n(79894),s=n.n(i),o=n(27378);let{Text:l}=t.AntTypography,_=e=>{let{items:a,...n}=e,i=(0,o.useMemo)(()=>null==a?void 0:a.map((e,n)=>{let i=n===a.length-1,o={...e},_=o.onClick&&!o.href;return("string"==typeof o.title&&(o.title=(0,r.jsx)(l,{style:{color:"inherit",maxWidth:i?void 0:400},ellipsis:!i,children:o.title})),_)?o.title=(0,r.jsx)(t.wpx,{type:"text",size:"small",icon:o.icon,onClick:o.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:o.title}):(o.icon&&(o.title=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"anticon align-text-bottom",children:o.icon}),o.title]})),o.href&&o.title&&(o.title=(0,r.jsx)(s(),{href:o.href,className:"ant-breadcrumb-link",children:o.title}),delete o.href)),o}),[a]);return(0,r.jsx)(t.zrq,{items:i,...n})}},8411:function(e,a,n){"use strict";n.d(a,{NA:function(){return i},Z8:function(){return t}});var r=n(16643);let t={[r._F.ER]:"Eritrea",[r._F.DJ]:"Djibouti",[r._F.MR]:"Mauritania",[r._F.NA]:"Namibia",[r._F.GH]:"Ghana",[r._F.SS]:"South Sudan",[r._F.SC]:"Seychelles",[r._F.IO]:"British Indian Ocean Territory",[r._F.GQ]:"Equatorial Guinea",[r._F.AO]:"Angola",[r._F.CG]:"Republic of the Congo",[r._F.BW]:"Botswana",[r._F.BI]:"Burundi",[r._F.DZ]:"Algeria",[r._F.TD]:"Chad",[r._F.NG]:"Nigeria",[r._F.TZ]:"Tanzania",[r._F.EH]:"Western Sahara",[r._F.SN]:"Senegal",[r._F.LR]:"Liberia",[r._F.ZA]:"South Africa",[r._F.CV]:"Cape Verde",[r._F.GM]:"Gambia",[r._F.SD]:"Sudan",[r._F.KM]:"Comoros",[r._F.SZ]:"Eswatini",[r._F.UG]:"Uganda",[r._F.MG]:"Madagascar",[r._F.RW]:"Rwanda",[r._F.CD]:"DR Congo",[r._F.CM]:"Cameroon",[r._F.SH]:"Saint Helena, Ascension and Tristan da Cunha",[r._F.TG]:"Togo",[r._F.MU]:"Mauritius",[r._F.NE]:"Niger",[r._F.BJ]:"Benin",[r._F.EG]:"Egypt",[r._F.LS]:"Lesotho",[r._F.ET]:"Ethiopia",[r._F.MA]:"Morocco",[r._F.YT]:"Mayotte",[r._F.BF]:"Burkina Faso",[r._F.RE]:"R\xe9union",[r._F.ST]:"S\xe3o Tom\xe9 and Pr\xedncipe",[r._F.CF]:"Central African Republic",[r._F.MZ]:"Mozambique",[r._F.MW]:"Malawi",[r._F.ML]:"Mali",[r._F.ZM]:"Zambia",[r._F.LY]:"Libya",[r._F.GW]:"Guinea-Bissau",[r._F.SO]:"Somalia",[r._F.KE]:"Kenya",[r._F.GN]:"Guinea",[r._F.ZW]:"Zimbabwe",[r._F.TN]:"Tunisia",[r._F.SL]:"Sierra Leone",[r._F.GA]:"Gabon",[r._F.CI]:"Ivory Coast",[r._F.JO]:"Jordan",[r._F.PK]:"Pakistan",[r._F.KP]:"North Korea",[r._F.MO]:"Macau",[r._F.AM]:"Armenia",[r._F.SY]:"Syria",[r._F.TJ]:"Tajikistan",[r._F.SA]:"Saudi Arabia",[r._F.KR]:"South Korea",[r._F.NP]:"Nepal",[r._F.PH]:"Philippines",[r._F.IQ]:"Iraq",[r._F.LB]:"Lebanon",[r._F.MN]:"Mongolia",[r._F.PS]:"Palestine",[r._F.YE]:"Yemen",[r._F.JP]:"Japan",[r._F.KZ]:"Kazakhstan",[r._F.LK]:"Sri Lanka",[r._F.MM]:"Myanmar",[r._F.KG]:"Kyrgyzstan",[r._F.CN]:"China",[r._F.AF]:"Afghanistan",[r._F.OM]:"Oman",[r._F.IN]:"India",[r._F.LA]:"Laos",[r._F.UZ]:"Uzbekistan",[r._F.MV]:"Maldives",[r._F.ID]:"Indonesia",[r._F.VN]:"Vietnam",[r._F.MY]:"Malaysia",[r._F.TW]:"Taiwan",[r._F.KH]:"Cambodia",[r._F.AE]:"United Arab Emirates",[r._F.HK]:"Hong Kong",[r._F.GE]:"Georgia (Country)",[r._F.BD]:"Bangladesh",[r._F.KW]:"Kuwait",[r._F.TM]:"Turkmenistan",[r._F.QA]:"Qatar",[r._F.BH]:"Bahrain",[r._F.BN]:"Brunei",[r._F.TH]:"Thailand",[r._F.BT]:"Bhutan",[r._F.SG]:"Singapore",[r._F.IL]:"Israel",[r._F.AZ]:"Azerbaijan",[r._F.TL]:"Timor-Leste",[r._F.IR]:"Iran",[r._F.TR]:"Turkey",[r._F.MK]:"North Macedonia",[r._F.IE]:"Ireland",[r._F.DK]:"Denmark",[r._F.SK]:"Slovakia",[r._F.MD]:"Moldova",[r._F.AX]:"\xc5land Islands",[r._F.PL]:"Poland",[r._F.BA]:"Bosnia and Herzegovina",[r._F.SM]:"San Marino",[r._F.CZ]:"Czechia",[r._F.EE]:"Estonia",[r._F.XK]:"Kosovo",[r._F.FO]:"Faroe Islands",[r._F.SJ]:"Svalbard and Jan Mayen",[r._F.GG]:"Guernsey",[r._F.FR]:"France",[r._F.NL]:"Netherlands",[r._F.FI]:"Finland",[r._F.PT]:"Portugal",[r._F.DE]:"Germany",[r._F.MT]:"Malta",[r._F.JE]:"Jersey",[r._F.IS]:"Iceland",[r._F.ES]:"Spain",[r._F.GI]:"Gibraltar",[r._F.NO]:"Norway",[r._F.CY]:"Cyprus",[r._F.RS]:"Serbia",[r._F.LT]:"Lithuania",[r._F.MC]:"Monaco",[r._F.LU]:"Luxembourg",[r._F.UA]:"Ukraine",[r._F.IM]:"Isle of Man",[r._F.RO]:"Romania",[r._F.BE]:"Belgium",[r._F.SE]:"Sweden",[r._F.ME]:"Montenegro",[r._F.LV]:"Latvia",[r._F.VA]:"Vatican City",[r._F.AT]:"Austria",[r._F.AL]:"Albania",[r._F.LI]:"Liechtenstein",[r._F.GR]:"Greece",[r._F.IT]:"Italy",[r._F.AD]:"Andorra",[r._F.GB]:"United Kingdom",[r._F.RU]:"Russia",[r._F.SI]:"Slovenia",[r._F.BY]:"Belarus",[r._F.CH]:"Switzerland",[r._F.HU]:"Hungary",[r._F.BG]:"Bulgaria",[r._F.HR]:"Croatia",[r._F.TC]:"Turks and Caicos Islands",[r._F.CW]:"Cura\xe7ao",[r._F.GP]:"Guadeloupe",[r._F.UM]:"United States Minor Outlying Islands",[r._F.GT]:"Guatemala",[r._F.PM]:"Saint Pierre and Miquelon",[r._F.BQ]:"Caribbean Netherlands",[r._F.GL]:"Greenland",[r._F.SX]:"Sint Maarten",[r._F.PA]:"Panama",[r._F.AW]:"Aruba",[r._F.MQ]:"Martinique",[r._F.AG]:"Antigua and Barbuda",[r._F.BM]:"Bermuda",[r._F.CU]:"Cuba",[r._F.GD]:"Grenada",[r._F.NI]:"Nicaragua",[r._F.LC]:"Saint Lucia",[r._F.KN]:"Saint Kitts and Nevis",[r._F.DO]:"Dominican Republic",[r._F.VC]:"Saint Vincent and the Grenadines",[r._F.BZ]:"Belize",[r._F.HT]:"Haiti",[r._F.JM]:"Jamaica",[r._F.BS]:"Bahamas",[r._F.MX]:"Mexico",[r._F.MF]:"Saint Martin",[r._F.SV]:"El Salvador",[r._F.BL]:"Saint Barth\xe9lemy",[r._F.AI]:"Anguilla",[r._F.MS]:"Montserrat",[r._F.VG]:"British Virgin Islands",[r._F.BB]:"Barbados",[r._F.HN]:"Honduras",[r._F.KY]:"Cayman Islands",[r._F.DM]:"Dominica",[r._F.TT]:"Trinidad and Tobago",[r._F.CR]:"Costa Rica",[r._F.SR]:"Suriname",[r._F.CX]:"Christmas Island",[r._F.WS]:"Samoa",[r._F.PF]:"French Polynesia",[r._F.AS]:"American Samoa",[r._F.NC]:"New Caledonia",[r._F.TK]:"Tokelau",[r._F.PW]:"Palau",[r._F.KI]:"Kiribati",[r._F.VU]:"Vanuatu",[r._F.PN]:"Pitcairn Islands",[r._F.CK]:"Cook Islands",[r._F.FJ]:"Fiji",[r._F.PG]:"Papua New Guinea",[r._F.MP]:"Northern Mariana Islands",[r._F.NU]:"Niue",[r._F.TV]:"Tuvalu",[r._F.NF]:"Norfolk Island",[r._F.TO]:"Tonga",[r._F.FM]:"Micronesia",[r._F.SB]:"Solomon Islands",[r._F.NR]:"Nauru",[r._F.WF]:"Wallis and Futuna",[r._F.GU]:"Guam",[r._F.AU]:"Australia",[r._F.NZ]:"New Zealand",[r._F.MH]:"Marshall Islands",[r._F.CC]:"Cocos (Keeling) Islands",[r._F.VE]:"Venezuela",[r._F.PY]:"Paraguay",[r._F.BR]:"Brazil",[r._F.CO]:"Colombia",[r._F.PE]:"Peru",[r._F.CL]:"Chile",[r._F.UY]:"Uruguay",[r._F.AR]:"Argentina",[r._F.GY]:"Guyana",[r._F.BO]:"Bolivia",[r._F.GF]:"French Guiana",[r._F.EC]:"Ecuador",[r._F.FK]:"Falkland Islands",[r._F.US_AL]:"Alabama",[r._F.US_AK]:"Alaska",[r._F.US_AZ]:"Arizona",[r._F.US_AR]:"Arkansas",[r._F.US_CA]:"California",[r._F.US_CO]:"Colorado",[r._F.US_CT]:"Connecticut",[r._F.US_DE]:"Delaware",[r._F.US_DC]:"District of Columbia (DC)",[r._F.US_FL]:"Florida",[r._F.US_GA]:"Georgia",[r._F.US_HI]:"Hawaii",[r._F.US_ID]:"Idaho",[r._F.US_IL]:"Illinois",[r._F.US_IN]:"Indiana",[r._F.US_IA]:"Iowa",[r._F.US_KS]:"Kansas",[r._F.US_KY]:"Kentucky",[r._F.US_LA]:"Louisiana",[r._F.US_ME]:"Maine",[r._F.US_MD]:"Maryland",[r._F.US_MA]:"Massachusetts",[r._F.US_MI]:"Michigan",[r._F.US_MN]:"Minnesota",[r._F.US_MS]:"Mississippi",[r._F.US_MO]:"Missouri",[r._F.US_MT]:"Montana",[r._F.US_NE]:"Nebraska",[r._F.US_NV]:"Nevada",[r._F.US_NH]:"New Hampshire",[r._F.US_NJ]:"New Jersey",[r._F.US_NM]:"New Mexico",[r._F.US_NY]:"New York",[r._F.US_NC]:"North Carolina",[r._F.US_ND]:"North Dakota",[r._F.US_OH]:"Ohio",[r._F.US_OK]:"Oklahoma",[r._F.US_OR]:"Oregon",[r._F.US_PA]:"Pennsylvania",[r._F.US_PR]:"Puerto Rico",[r._F.US_RI]:"Rhode Island",[r._F.US_SC]:"South Carolina",[r._F.US_SD]:"South Dakota",[r._F.US_TN]:"Tennessee",[r._F.US_TX]:"Texas",[r._F.US_UT]:"Utah",[r._F.US_VA]:"Virginia",[r._F.US_VI]:"United States Virgin Islands",[r._F.US_VT]:"Vermont",[r._F.US_WA]:"Washington",[r._F.US_WV]:"West Virginia",[r._F.US_WI]:"Wisconsin",[r._F.US_WY]:"Wyoming",[r._F.CA_AB]:"Alberta",[r._F.CA_BC]:"British Columbia",[r._F.CA_MB]:"Manitoba",[r._F.CA_NB]:"New Brunswick",[r._F.CA_NL]:"Newfoundland and Labrador",[r._F.CA_NS]:"Nova Scotia",[r._F.CA_ON]:"Ontario",[r._F.CA_PE]:"Prince Edward Island",[r._F.CA_QC]:"Quebec",[r._F.CA_SK]:"Saskatchewan",[r._F.CA_NT]:"Northwest Territories",[r._F.CA_NU]:"Nunavut",[r._F.CA_YT]:"Yukon",[r._F.CA]:"Canada",[r._F.US]:"United States",[r._F.MEXICO_CENTRAL_AMERICA]:"Mexico and Central America",[r._F.CARIBBEAN]:"Caribbean",[r._F.EEA]:"European Economic Area (EEA)",[r._F.NON_EEA]:"Non European Economic Area"},i=new Map(Object.entries(t));Object.entries(t).map(e=>({value:e[0],label:e[1]}))},31881:function(e,a,n){"use strict";n.r(a),n.d(a,{default:function(){return K}});var r=n(24246),t=n(59003),i=n(92222),s=n(27693),o=n.n(s),l=n(91922),_=n(27378),c=n(35287),d=n(58754),u=n(14481),F=n(46628),p=n(78780);let h=e=>{var a;return null==e?void 0:null===(a=e.utc())||void 0===a?void 0:a.startOf("day").toISOString()},g=e=>{var a;return null==e?void 0:null===(a=e.utc())||void 0===a?void 0:a.endOf("day").toISOString()},{useLazyDownloadReportQuery:S,useGetAllHistoricalPrivacyPreferencesQuery:m,useLazyGetCurrentPrivacyPreferencesQuery:x}=p.u.injectEndpoints({endpoints:e=>({getCurrentPrivacyPreferences:e.query({query:e=>{let{search:a}=e;return{url:"current-privacy-preferences",params:{email:a,phone_number:a,fides_user_device_id:a,external_id:a}}},providesTags:["Current Privacy Preferences"]}),downloadReport:e.query({query:e=>{let{startDate:a,endDate:n}=e;return{url:"plus/consent_reporting",params:{created_gt:h(a),created_lt:g(n),download_csv:"true"},responseHandler:"content-type"}},providesTags:["Consent Reporting Export"]}),getAllHistoricalPrivacyPreferences:e.query({query:e=>{let{page:a,size:n,startDate:r,endDate:t}=e;return{url:"historical-privacy-preferences",params:{page:a,size:n,request_timestamp_gt:h(r),request_timestamp_lt:g(t)}}},providesTags:["Consent Reporting"]})})});var C=n(90104),f=n.n(C),j=n(812),v=n(16643);let y={[v.pq.OPT_IN]:"Opt in",[v.pq.OPT_OUT]:"Opt out",[v.pq.ACKNOWLEDGE]:"Acknowledge",[v.pq.TCF]:"TCF"},b={[v.pq.OPT_IN]:"success",[v.pq.OPT_OUT]:"error",[v.pq.ACKNOWLEDGE]:"default",[v.pq.TCF]:"sandstone"},A={[v.jP.ACCEPT]:"Accept",[v.jP.BUTTON]:"Button",[v.jP.DISMISS]:"Dismiss",[v.jP.GPC]:"GPC",[v.jP.REJECT]:"Reject",[v.jP.SAVE]:"Save",[v.jP.SCRIPT]:"Script",[v.jP.INDIVIDUAL_NOTICE]:"Individual Notice",[v.jP.ACKNOWLEDGE]:"Acknowledge"},N={[v.Tz.API]:"API",[v.Tz.BANNER_AND_MODAL]:"Banner and Modal",[v.Tz.MODAL]:"Modal",[v.Tz.OVERLAY]:"Overlay",[v.Tz.PRIVACY_CENTER]:"Privacy Center",[v.Tz.TCF_OVERLAY]:"TCF Overlay"},M=(0,i.Cl)();var P=()=>(0,_.useMemo)(()=>[M.accessor(e=>e.notice_name,{id:"notice_name",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Privacy notice",...e}),enableSorting:!1}),M.accessor(e=>e.notice_key,{id:"notice_key",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Notice Key",...e}),enableSorting:!1}),M.accessor(e=>e.preference,{id:"preference",cell:e=>{let{getValue:a}=e,n=a(),t=n&&y[n]||n,i=n&&b[n]||"";return(0,r.jsx)(u.A4,{color:i,value:t})},header:e=>(0,r.jsx)(u.Rr,{value:"Preference",...e}),enableSorting:!1,size:100}),M.accessor(e=>e.privacy_notice_history_id,{id:"privacy_notice_history_id",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Privacy Notice History Id",...e}),enableSorting:!1})],[]),I=n(47003),T=n.n(I);let E=(0,i.Cl)();var R=()=>{let e=(0,_.useCallback)(e=>{let a=[];if(e){let{preferences:n,...r}=e;T()(r,(e,n)=>{e&&e.forEach(e=>{a.push({key:n,id:e.id,preference:e.preference})})})}return a},[]),a=(0,_.useCallback)(e=>e.filter(e=>!(e.key.startsWith("system_")||e.key.startsWith("vendor_"))),[]);return{tcfColumns:(0,_.useMemo)(()=>[E.accessor(e=>e.key,{id:"key",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Type",...e}),enableSorting:!1}),E.accessor(e=>e.id,{id:"id",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"ID",...e}),enableSorting:!1}),E.accessor(e=>e.preference,{id:"preference",cell:e=>{let{getValue:a}=e,n=a(),t=n&&y[n]||n,i=n&&b[n]||"";return(0,r.jsx)(u.A4,{color:i,value:t})},header:e=>(0,r.jsx)(u.Rr,{value:"Preference",...e}),enableSorting:!1,size:100})],[]),mapTcfPreferencesToRowColumns:e,filterTcfConsentPreferences:a}},U=e=>{let{isOpen:a,onClose:n}=e,[s,o]=(0,_.useState)(!1),[c,d]=(0,_.useState)(),[F]=x(),p=(0,l.pmc)();(0,_.useEffect)(()=>{a||(d(void 0),o(!1))},[a]);let h=async e=>{o(!0);let{data:a,isError:n,error:r}=await F({search:e}),t=r&&"status"in r&&(null==r?void 0:r.status);n&&404!==t?p({status:"error",description:(0,j.e$)(r,"A problem occurred while looking up the preferences.")}):d(a||null),o(!1)},g=P(),S=(null==c?void 0:c.preferences)||[],m=!f()(S),C=(0,t.b7)({getCoreRowModel:(0,i.sC)(),data:S,columns:g,getRowId:e=>"".concat(e.privacy_notice_history_id),manualPagination:!0}),{tcfColumns:v,mapTcfPreferencesToRowColumns:y,filterTcfConsentPreferences:b}=R(),A=b(y(c)),N=!f()(A),M=(0,t.b7)({getCoreRowModel:(0,i.sC)(),data:A,columns:v,getRowId:e=>"".concat(e.key,"-").concat(e.id),manualPagination:!0});return(0,r.jsxs)(l.u_l,{id:"consent-lookup-modal",isOpen:a,onClose:n,size:"6xl",returnFocusOnClose:!1,isCentered:!0,children:[(0,r.jsx)(l.ZAr,{}),(0,r.jsxs)(l.hzk,{children:[(0,r.jsx)(l.olH,{}),(0,r.jsx)(l.xBx,{pb:2,children:"Consent preference lookup"}),(0,r.jsxs)(l.fef,{children:[(0,r.jsx)(l.AntTypography.Paragraph,{children:"Use this search to look up an individual's latest consent record. You can search by phone number, email, external ID or device ID to retrieve the most recent consent preference associated with that exact identifier."}),(0,r.jsxs)(l.AntTypography.Paragraph,{children:[(0,r.jsx)("strong",{children:"Note:"})," This is an exact match search—partial entries or similar results will not be returned. This lookup retrieves only the most recent consent preference, not the full consent history."]}),(0,r.jsx)(l.PPS,{layout:"vertical",className:"w-1/2",children:(0,r.jsx)(l.PPS.Item,{label:"Subject search",className:"mb-4 mt-6",children:(0,r.jsx)(l.uFc.Search,{"data-testid":"subject-search-input",placeholder:"Enter email, phone number, external ID or device ID",enterButton:"Search",onSearch:h,loading:s})})}),(0,r.jsxs)("div",{className:"mb-4",children:[(!N||m)&&(0,r.jsx)(u.ZK,{tableInstance:C,emptyTableNotice:(0,r.jsx)(l.oj8,{description:void 0===c?"Search for an email, phone number, or device ID.":"No results found.",image:l.oj8.PRESENTED_IMAGE_SIMPLE,imageStyle:{marginBottom:15}})}),N&&(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsx)(u.ZK,{tableInstance:M})})]})]})]})]})},w=()=>{let e=(0,l.pmc)(),[a,{isFetching:n}]=S();return{downloadReport:async n=>{let{startDate:r,endDate:t}=n,i=await a({startDate:r,endDate:t});if(i.isError)e({status:"error",description:(0,j.e$)(i.error,"A problem occurred while generating your consent report. Please try again.")});else{let e=document.createElement("a"),a=new Blob([i.data],{type:"text/csv"});e.href=window.URL.createObjectURL(a),e.download="consent-reports.csv",e.click()}},isDownloadingReport:n}},k=e=>{let{isOpen:a,onClose:n,startDate:t,endDate:i}=e,{downloadReport:s,isDownloadingReport:o}=w(),_=async()=>{await s({startDate:t,endDate:i}),n()};return(0,r.jsxs)(l.u_l,{id:"consent-report-download-modal",isOpen:a,onClose:n,size:"xl",returnFocusOnClose:!1,isCentered:!0,children:[(0,r.jsx)(l.ZAr,{}),(0,r.jsxs)(l.hzk,{children:[(0,r.jsx)(l.olH,{}),(0,r.jsx)(l.xBx,{pb:2,children:"Download consent report"}),(0,r.jsxs)(l.fef,{children:[(0,r.jsx)(l.AntTypography.Paragraph,{children:"The downloaded CSV may differ from the UI in Fides, including column order and naming."}),(0,r.jsx)(l.AntTypography.Paragraph,{children:'For large datasets, file generation may take a few minutes after selecting "Download".'}),(0,r.jsx)(l.jqI,{justify:"flex-end",children:(0,r.jsx)(l.wpx,{loading:o,onClick:_,"data-testid":"download-report-btn",type:"primary",className:"mb-2",children:"Download"})})]})]})]})},G=e=>{let{isOpen:a,onClose:n,tcfPreferences:s}=e,{tcfColumns:o,mapTcfPreferencesToRowColumns:_,filterTcfConsentPreferences:c}=R(),d=c(_(s)),F=(0,t.b7)({getCoreRowModel:(0,i.sC)(),data:d||[],columns:o,getRowId:e=>"".concat(e.key,"-").concat(e.id),manualPagination:!0});return(0,r.jsxs)(l.u_l,{id:"consent-lookup-modal",isOpen:a,onClose:n,size:"4xl",returnFocusOnClose:!1,isCentered:!0,children:[(0,r.jsx)(l.ZAr,{}),(0,r.jsxs)(l.hzk,{"data-testid":"consent-tcf-detail-modal",children:[(0,r.jsx)(l.olH,{}),(0,r.jsx)(l.xBx,{pb:2,children:"TCF Consent Details"}),(0,r.jsx)(l.fef,{children:(0,r.jsx)("div",{className:"mb-4",children:(0,r.jsx)(u.ZK,{tableInstance:F,emptyTableNotice:(0,r.jsx)(l.oj8,{description:" No data found",image:l.oj8.PRESENTED_IMAGE_SIMPLE,imageStyle:{marginBottom:15}})})})})]})]})},B=n(8411),O=n(72625);let D=(0,i.Cl)();var L=e=>{let{onTcfDetailViewClick:a}=e;return(0,_.useMemo)(()=>[D.accessor(e=>e.fides_user_device_id,{id:"fides_user_device_id",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"User device ID",...e}),enableSorting:!1}),D.accessor(e=>e.user_geography,{id:"user_geography",cell:e=>{let{getValue:a}=e,n=a(),t=n&&B.Z8[n]||n;return(0,r.jsx)(u.G3,{value:t})},header:e=>(0,r.jsx)(u.Rr,{value:"User geography",...e}),enableSorting:!1}),D.accessor(e=>e.preference,{id:"preference",cell:e=>{let{getValue:n,row:t}=e,i=n(),s=i&&y[i]||i,o=i&&b[i]||"",_="tcf"===i&&t.original.tcf_preferences;return(0,r.jsx)(l.jqI,{align:"center",children:(0,r.jsx)(u.A4,{color:o,value:s,onClick:_?()=>a(t.original.tcf_preferences):void 0})})},header:e=>(0,r.jsx)(u.Rr,{value:"Preference",...e}),enableSorting:!1,size:100}),D.accessor(e=>e.notice_name,{id:"notice_name",cell:e=>{let{getValue:a}=e,n=a(),t="tcf"===n?n.toUpperCase():n;return(0,r.jsx)(u.G3,{value:t})},header:e=>(0,r.jsx)(u.Rr,{value:"Privacy notice",...e}),enableSorting:!1}),D.accessor(e=>e.method,{id:"method",cell:e=>{let{getValue:a}=e,n=a(),t=n&&A[n]||n;return(0,r.jsx)(u.G3,{value:t})},header:e=>(0,r.jsx)(u.Rr,{value:"Method",...e}),enableSorting:!1,size:100}),D.accessor(e=>e.request_origin,{id:"request_origin",cell:e=>{let{getValue:a}=e,n=a(),t=n&&N[n]||n;return(0,r.jsx)(u.G3,{value:t})},header:e=>(0,r.jsx)(u.Rr,{value:"Request origin",...e}),enableSorting:!1,size:120}),D.accessor(e=>e.request_timestamp,{id:"request_timestamp",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(O.Cy,{time:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Request timestamp",...e}),size:120}),D.accessor(e=>e.external_id,{id:"external_id",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"External ID",...e}),enableSorting:!1}),D.accessor(e=>e.email,{id:"email",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:(0,r.jsx)(l.AntTypography.Link,{href:"mailto:".concat(a()),children:a()})})},header:e=>(0,r.jsx)(u.Rr,{value:"Email",...e}),enableSorting:!1}),D.accessor(e=>e.id,{id:"id",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Preference ID",...e}),enableSorting:!1})],[a])},K=()=>{let e=(0,u.oi)(),a=(0,_.useMemo)(()=>o()(),[]),[n,s]=(0,_.useState)(null),[p,h]=(0,_.useState)(null),[g,S]=(0,_.useState)(!1),[x,C]=(0,_.useState)(!1),[f,j]=(0,_.useState)(!1),[v,y]=(0,_.useState)(),b=(0,l.pmc)(),{data:A,isLoading:N,isFetching:M,refetch:P}=m({page:e.pageIndex,size:e.pageSize,startDate:n,endDate:p}),{setTotalPages:I}=e,{items:T,total:E}=(0,_.useMemo)(()=>{let e=A||{items:[],total:0,pages:0};return I(e.pages),e},[A,I]),R=L({onTcfDetailViewClick:e=>{j(!0),y(e)}}),w=(0,t.b7)({getCoreRowModel:(0,i.sC)(),data:T,columns:R,getRowId:e=>"".concat(e.id),manualPagination:!0}),B=async()=>{e.resetPageIndexToDefault(),await P(),b((0,F.t5)("Consent report refreshed successfully.","Report Refreshed"))};return(0,r.jsxs)(c.Z,{title:"Consent reporting",children:[(0,r.jsx)(d.Z,{heading:"Consent reporting",rightContent:(0,r.jsx)(l.wpx,{type:"primary",onClick:B,loading:M,children:"Refresh"})}),(0,r.jsx)("div",{"data-testid":"consent-reporting",className:"overflow-auto",children:N?(0,r.jsx)("div",{className:"border p-2",children:(0,r.jsx)(u.I4,{rowHeight:26,numRows:10})}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(u.Q$,{children:[(0,r.jsx)(l.gwi,{placeholder:["From","To"],maxDate:a,"data-testid":"input-date-range",onChange:e=>{s(e&&e[0]),h(e&&e[1])}}),(0,r.jsxs)(l.jqI,{gap:12,children:[(0,r.jsx)(l.wpx,{icon:(0,r.jsx)(l.PJP.UWx,{}),"data-testid":"download-btn",onClick:()=>C(!0)}),(0,r.jsx)(l.S0p,{menu:{items:[{key:"1",label:(0,r.jsx)("span",{"data-testid":"consent-preference-lookup-btn",children:"Consent preference lookup"}),onClick:()=>S(!0)}]},overlayStyle:{width:"220px"},trigger:["click"],children:(0,r.jsx)(l.wpx,{icon:(0,r.jsx)(l.PJP.r43,{}),"data-testid":"consent-reporting-dropdown-btn"})})]})]}),(0,r.jsx)(u.ZK,{tableInstance:w,emptyTableNotice:(0,r.jsx)(l.oj8,{description:"No results.",image:l.oj8.PRESENTED_IMAGE_SIMPLE,imageStyle:{marginBottom:15}})}),(0,r.jsx)(u.s8,{totalRows:E||0,pageSizes:u.W3,setPageSize:e.setPageSize,onPreviousPageClick:e.onPreviousPageClick,isPreviousPageDisabled:e.isPreviousPageDisabled||M,onNextPageClick:e.onNextPageClick,isNextPageDisabled:e.isNextPageDisabled||M,startRange:e.startRange,endRange:e.endRange})]})}),(0,r.jsx)(U,{isOpen:g,onClose:()=>S(!1)}),(0,r.jsx)(k,{isOpen:x,onClose:()=>C(!1),startDate:n,endDate:p}),(0,r.jsx)(G,{isOpen:f,onClose:()=>{j(!1),y(void 0)},tcfPreferences:v})]})}}},function(e){e.O(0,[8033,6060,2858,4481,2888,9774,179],function(){return e(e.s=15806)}),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3422],{80594:function(e){e.exports=function(e,a){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==a(e[n],n,e););return e}},52033:function(e,a,n){var r=n(26194),t=n(26789)(r);e.exports=t},49819:function(e,a,n){var r=n(18911)();e.exports=r},26194:function(e,a,n){var r=n(49819),t=n(50098);e.exports=function(e,a){return e&&r(e,a,t)}},62079:function(e,a,n){var r=n(31137);e.exports=function(e){return"function"==typeof e?e:r}},26789:function(e,a,n){var r=n(80068);e.exports=function(e,a){return function(n,t){if(null==n)return n;if(!r(n))return e(n,t);for(var i=n.length,o=a?i:-1,s=Object(n);(a?o--:++o<i)&&!1!==t(s[o],o,s););return n}}},18911:function(e){e.exports=function(e){return function(a,n,r){for(var t=-1,i=Object(a),o=r(a),s=o.length;s--;){var l=o[e?s:++t];if(!1===n(i[l],l,i))break}return a}}},47003:function(e,a,n){var r=n(80594),t=n(52033),i=n(62079),o=n(19785);e.exports=function(e,a){return(o(e)?r:t)(e,i(a))}},31137:function(e){e.exports=function(e){return e}},90104:function(e,a,n){var r=n(20186),t=n(3533),i=n(2900),o=n(19785),s=n(80068),l=n(43854),_=n(56016),c=n(48519),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(o(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||c(e)||i(e)))return!e.length;var a=t(e);if("[object Map]"==a||"[object Set]"==a)return!e.size;if(_(e))return!r(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},15806:function(e,a,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/reporting",function(){return n(31881)}])},35287:function(e,a,n){"use strict";var r=n(24246),t=n(91922),i=n(88038),o=n.n(i);n(27378),a.Z=e=>{let{children:a,title:n,mainProps:i}=e;return(0,r.jsxs)(t.kCb,{"data-testid":n,direction:"column",height:"calc(100vh - 48px)",width:"calc(100vw - 240px)",children:[(0,r.jsxs)(o(),{children:[(0,r.jsxs)("title",{children:["Fides Admin UI - ",n]}),(0,r.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,r.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,r.jsx)(t.kCb,{px:10,py:6,as:"main",overflow:"auto",direction:"column",flex:1,minWidth:0,...i,children:a})]})}},58754:function(e,a,n){"use strict";var r=n(24246),t=n(91922),i=n(70788);a.Z=e=>{let{heading:a,breadcrumbItems:n,isSticky:o=!0,children:s,rightContent:l,style:_,...c}=e;return(0,r.jsxs)("div",{...c,style:o?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",..._}:{paddingBottom:"24px",..._},children:[(0,r.jsxs)(t.jqI,{justify:"space-between",children:["string"==typeof a?(0,r.jsx)(t.lQT,{className:n||s?"pb-4":void 0,level:1,"data-testid":"page-heading",children:a}):a,l&&(0,r.jsx)("div",{"data-testid":"page-header-right-content",children:l})]}),!!n&&(0,r.jsx)(i.m,{className:s?"pb-4":void 0,items:n,"data-testid":"page-breadcrumb"}),s]})}},70788:function(e,a,n){"use strict";n.d(a,{m:function(){return _}});var r=n(24246),t=n(91922),i=n(79894),o=n.n(i),s=n(27378);let{Text:l}=t.AntTypography,_=e=>{let{items:a,...n}=e,i=(0,s.useMemo)(()=>null==a?void 0:a.map((e,n)=>{let i=n===a.length-1,s={...e},_=s.onClick&&!s.href;return("string"==typeof s.title&&(s.title=(0,r.jsx)(l,{style:{color:"inherit",maxWidth:i?void 0:400},ellipsis:!i,children:s.title})),_)?s.title=(0,r.jsx)(t.wpx,{type:"text",size:"small",icon:s.icon,onClick:s.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:s.title}):(s.icon&&(s.title=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"anticon align-text-bottom",children:s.icon}),s.title]})),s.href&&s.title&&(s.title=(0,r.jsx)(o(),{href:s.href,className:"ant-breadcrumb-link",children:s.title}),delete s.href)),s}),[a]);return(0,r.jsx)(t.zrq,{items:i,...n})}},8411:function(e,a,n){"use strict";n.d(a,{NA:function(){return i},Z8:function(){return t}});var r=n(16643);let t={[r._F.ER]:"Eritrea",[r._F.DJ]:"Djibouti",[r._F.MR]:"Mauritania",[r._F.NA]:"Namibia",[r._F.GH]:"Ghana",[r._F.SS]:"South Sudan",[r._F.SC]:"Seychelles",[r._F.IO]:"British Indian Ocean Territory",[r._F.GQ]:"Equatorial Guinea",[r._F.AO]:"Angola",[r._F.CG]:"Republic of the Congo",[r._F.BW]:"Botswana",[r._F.BI]:"Burundi",[r._F.DZ]:"Algeria",[r._F.TD]:"Chad",[r._F.NG]:"Nigeria",[r._F.TZ]:"Tanzania",[r._F.EH]:"Western Sahara",[r._F.SN]:"Senegal",[r._F.LR]:"Liberia",[r._F.ZA]:"South Africa",[r._F.CV]:"Cape Verde",[r._F.GM]:"Gambia",[r._F.SD]:"Sudan",[r._F.KM]:"Comoros",[r._F.SZ]:"Eswatini",[r._F.UG]:"Uganda",[r._F.MG]:"Madagascar",[r._F.RW]:"Rwanda",[r._F.CD]:"DR Congo",[r._F.CM]:"Cameroon",[r._F.SH]:"Saint Helena, Ascension and Tristan da Cunha",[r._F.TG]:"Togo",[r._F.MU]:"Mauritius",[r._F.NE]:"Niger",[r._F.BJ]:"Benin",[r._F.EG]:"Egypt",[r._F.LS]:"Lesotho",[r._F.ET]:"Ethiopia",[r._F.MA]:"Morocco",[r._F.YT]:"Mayotte",[r._F.BF]:"Burkina Faso",[r._F.RE]:"R\xe9union",[r._F.ST]:"S\xe3o Tom\xe9 and Pr\xedncipe",[r._F.CF]:"Central African Republic",[r._F.MZ]:"Mozambique",[r._F.MW]:"Malawi",[r._F.ML]:"Mali",[r._F.ZM]:"Zambia",[r._F.LY]:"Libya",[r._F.GW]:"Guinea-Bissau",[r._F.SO]:"Somalia",[r._F.KE]:"Kenya",[r._F.GN]:"Guinea",[r._F.ZW]:"Zimbabwe",[r._F.TN]:"Tunisia",[r._F.SL]:"Sierra Leone",[r._F.GA]:"Gabon",[r._F.CI]:"Ivory Coast",[r._F.JO]:"Jordan",[r._F.PK]:"Pakistan",[r._F.KP]:"North Korea",[r._F.MO]:"Macau",[r._F.AM]:"Armenia",[r._F.SY]:"Syria",[r._F.TJ]:"Tajikistan",[r._F.SA]:"Saudi Arabia",[r._F.KR]:"South Korea",[r._F.NP]:"Nepal",[r._F.PH]:"Philippines",[r._F.IQ]:"Iraq",[r._F.LB]:"Lebanon",[r._F.MN]:"Mongolia",[r._F.PS]:"Palestine",[r._F.YE]:"Yemen",[r._F.JP]:"Japan",[r._F.KZ]:"Kazakhstan",[r._F.LK]:"Sri Lanka",[r._F.MM]:"Myanmar",[r._F.KG]:"Kyrgyzstan",[r._F.CN]:"China",[r._F.AF]:"Afghanistan",[r._F.OM]:"Oman",[r._F.IN]:"India",[r._F.LA]:"Laos",[r._F.UZ]:"Uzbekistan",[r._F.MV]:"Maldives",[r._F.ID]:"Indonesia",[r._F.VN]:"Vietnam",[r._F.MY]:"Malaysia",[r._F.TW]:"Taiwan",[r._F.KH]:"Cambodia",[r._F.AE]:"United Arab Emirates",[r._F.HK]:"Hong Kong",[r._F.GE]:"Georgia (Country)",[r._F.BD]:"Bangladesh",[r._F.KW]:"Kuwait",[r._F.TM]:"Turkmenistan",[r._F.QA]:"Qatar",[r._F.BH]:"Bahrain",[r._F.BN]:"Brunei",[r._F.TH]:"Thailand",[r._F.BT]:"Bhutan",[r._F.SG]:"Singapore",[r._F.IL]:"Israel",[r._F.AZ]:"Azerbaijan",[r._F.TL]:"Timor-Leste",[r._F.IR]:"Iran",[r._F.TR]:"Turkey",[r._F.MK]:"North Macedonia",[r._F.IE]:"Ireland",[r._F.DK]:"Denmark",[r._F.SK]:"Slovakia",[r._F.MD]:"Moldova",[r._F.AX]:"\xc5land Islands",[r._F.PL]:"Poland",[r._F.BA]:"Bosnia and Herzegovina",[r._F.SM]:"San Marino",[r._F.CZ]:"Czechia",[r._F.EE]:"Estonia",[r._F.XK]:"Kosovo",[r._F.FO]:"Faroe Islands",[r._F.SJ]:"Svalbard and Jan Mayen",[r._F.GG]:"Guernsey",[r._F.FR]:"France",[r._F.NL]:"Netherlands",[r._F.FI]:"Finland",[r._F.PT]:"Portugal",[r._F.DE]:"Germany",[r._F.MT]:"Malta",[r._F.JE]:"Jersey",[r._F.IS]:"Iceland",[r._F.ES]:"Spain",[r._F.GI]:"Gibraltar",[r._F.NO]:"Norway",[r._F.CY]:"Cyprus",[r._F.RS]:"Serbia",[r._F.LT]:"Lithuania",[r._F.MC]:"Monaco",[r._F.LU]:"Luxembourg",[r._F.UA]:"Ukraine",[r._F.IM]:"Isle of Man",[r._F.RO]:"Romania",[r._F.BE]:"Belgium",[r._F.SE]:"Sweden",[r._F.ME]:"Montenegro",[r._F.LV]:"Latvia",[r._F.VA]:"Vatican City",[r._F.AT]:"Austria",[r._F.AL]:"Albania",[r._F.LI]:"Liechtenstein",[r._F.GR]:"Greece",[r._F.IT]:"Italy",[r._F.AD]:"Andorra",[r._F.GB]:"United Kingdom",[r._F.RU]:"Russia",[r._F.SI]:"Slovenia",[r._F.BY]:"Belarus",[r._F.CH]:"Switzerland",[r._F.HU]:"Hungary",[r._F.BG]:"Bulgaria",[r._F.HR]:"Croatia",[r._F.TC]:"Turks and Caicos Islands",[r._F.CW]:"Cura\xe7ao",[r._F.GP]:"Guadeloupe",[r._F.UM]:"United States Minor Outlying Islands",[r._F.GT]:"Guatemala",[r._F.PM]:"Saint Pierre and Miquelon",[r._F.BQ]:"Caribbean Netherlands",[r._F.GL]:"Greenland",[r._F.SX]:"Sint Maarten",[r._F.PA]:"Panama",[r._F.AW]:"Aruba",[r._F.MQ]:"Martinique",[r._F.AG]:"Antigua and Barbuda",[r._F.BM]:"Bermuda",[r._F.CU]:"Cuba",[r._F.GD]:"Grenada",[r._F.NI]:"Nicaragua",[r._F.LC]:"Saint Lucia",[r._F.KN]:"Saint Kitts and Nevis",[r._F.DO]:"Dominican Republic",[r._F.VC]:"Saint Vincent and the Grenadines",[r._F.BZ]:"Belize",[r._F.HT]:"Haiti",[r._F.JM]:"Jamaica",[r._F.BS]:"Bahamas",[r._F.MX]:"Mexico",[r._F.MF]:"Saint Martin",[r._F.SV]:"El Salvador",[r._F.BL]:"Saint Barth\xe9lemy",[r._F.AI]:"Anguilla",[r._F.MS]:"Montserrat",[r._F.VG]:"British Virgin Islands",[r._F.BB]:"Barbados",[r._F.HN]:"Honduras",[r._F.KY]:"Cayman Islands",[r._F.DM]:"Dominica",[r._F.TT]:"Trinidad and Tobago",[r._F.CR]:"Costa Rica",[r._F.SR]:"Suriname",[r._F.CX]:"Christmas Island",[r._F.WS]:"Samoa",[r._F.PF]:"French Polynesia",[r._F.AS]:"American Samoa",[r._F.NC]:"New Caledonia",[r._F.TK]:"Tokelau",[r._F.PW]:"Palau",[r._F.KI]:"Kiribati",[r._F.VU]:"Vanuatu",[r._F.PN]:"Pitcairn Islands",[r._F.CK]:"Cook Islands",[r._F.FJ]:"Fiji",[r._F.PG]:"Papua New Guinea",[r._F.MP]:"Northern Mariana Islands",[r._F.NU]:"Niue",[r._F.TV]:"Tuvalu",[r._F.NF]:"Norfolk Island",[r._F.TO]:"Tonga",[r._F.FM]:"Micronesia",[r._F.SB]:"Solomon Islands",[r._F.NR]:"Nauru",[r._F.WF]:"Wallis and Futuna",[r._F.GU]:"Guam",[r._F.AU]:"Australia",[r._F.NZ]:"New Zealand",[r._F.MH]:"Marshall Islands",[r._F.CC]:"Cocos (Keeling) Islands",[r._F.VE]:"Venezuela",[r._F.PY]:"Paraguay",[r._F.BR]:"Brazil",[r._F.CO]:"Colombia",[r._F.PE]:"Peru",[r._F.CL]:"Chile",[r._F.UY]:"Uruguay",[r._F.AR]:"Argentina",[r._F.GY]:"Guyana",[r._F.BO]:"Bolivia",[r._F.GF]:"French Guiana",[r._F.EC]:"Ecuador",[r._F.FK]:"Falkland Islands",[r._F.US_AL]:"Alabama",[r._F.US_AK]:"Alaska",[r._F.US_AZ]:"Arizona",[r._F.US_AR]:"Arkansas",[r._F.US_CA]:"California",[r._F.US_CO]:"Colorado",[r._F.US_CT]:"Connecticut",[r._F.US_DE]:"Delaware",[r._F.US_DC]:"District of Columbia (DC)",[r._F.US_FL]:"Florida",[r._F.US_GA]:"Georgia",[r._F.US_HI]:"Hawaii",[r._F.US_ID]:"Idaho",[r._F.US_IL]:"Illinois",[r._F.US_IN]:"Indiana",[r._F.US_IA]:"Iowa",[r._F.US_KS]:"Kansas",[r._F.US_KY]:"Kentucky",[r._F.US_LA]:"Louisiana",[r._F.US_ME]:"Maine",[r._F.US_MD]:"Maryland",[r._F.US_MA]:"Massachusetts",[r._F.US_MI]:"Michigan",[r._F.US_MN]:"Minnesota",[r._F.US_MS]:"Mississippi",[r._F.US_MO]:"Missouri",[r._F.US_MT]:"Montana",[r._F.US_NE]:"Nebraska",[r._F.US_NV]:"Nevada",[r._F.US_NH]:"New Hampshire",[r._F.US_NJ]:"New Jersey",[r._F.US_NM]:"New Mexico",[r._F.US_NY]:"New York",[r._F.US_NC]:"North Carolina",[r._F.US_ND]:"North Dakota",[r._F.US_OH]:"Ohio",[r._F.US_OK]:"Oklahoma",[r._F.US_OR]:"Oregon",[r._F.US_PA]:"Pennsylvania",[r._F.US_PR]:"Puerto Rico",[r._F.US_RI]:"Rhode Island",[r._F.US_SC]:"South Carolina",[r._F.US_SD]:"South Dakota",[r._F.US_TN]:"Tennessee",[r._F.US_TX]:"Texas",[r._F.US_UT]:"Utah",[r._F.US_VA]:"Virginia",[r._F.US_VI]:"United States Virgin Islands",[r._F.US_VT]:"Vermont",[r._F.US_WA]:"Washington",[r._F.US_WV]:"West Virginia",[r._F.US_WI]:"Wisconsin",[r._F.US_WY]:"Wyoming",[r._F.CA_AB]:"Alberta",[r._F.CA_BC]:"British Columbia",[r._F.CA_MB]:"Manitoba",[r._F.CA_NB]:"New Brunswick",[r._F.CA_NL]:"Newfoundland and Labrador",[r._F.CA_NS]:"Nova Scotia",[r._F.CA_ON]:"Ontario",[r._F.CA_PE]:"Prince Edward Island",[r._F.CA_QC]:"Quebec",[r._F.CA_SK]:"Saskatchewan",[r._F.CA_NT]:"Northwest Territories",[r._F.CA_NU]:"Nunavut",[r._F.CA_YT]:"Yukon",[r._F.CA]:"Canada",[r._F.US]:"United States",[r._F.MEXICO_CENTRAL_AMERICA]:"Mexico and Central America",[r._F.CARIBBEAN]:"Caribbean",[r._F.EEA]:"European Economic Area (EEA)",[r._F.NON_EEA]:"Non European Economic Area"},i=new Map(Object.entries(t));Object.entries(t).map(e=>({value:e[0],label:e[1]}))},31881:function(e,a,n){"use strict";n.r(a),n.d(a,{default:function(){return K}});var r=n(24246),t=n(59003),i=n(92222),o=n(27693),s=n.n(o),l=n(91922),_=n(27378),c=n(35287),d=n(58754),u=n(14481),F=n(46628),p=n(78780);let h=e=>{var a;return null==e?void 0:null===(a=e.utc())||void 0===a?void 0:a.startOf("day").toISOString()},g=e=>{var a;return null==e?void 0:null===(a=e.utc())||void 0===a?void 0:a.endOf("day").toISOString()},{useLazyDownloadReportQuery:S,useGetAllHistoricalPrivacyPreferencesQuery:m,useLazyGetCurrentPrivacyPreferencesQuery:x}=p.u.injectEndpoints({endpoints:e=>({getCurrentPrivacyPreferences:e.query({query:e=>{let{search:a}=e;return{url:"current-privacy-preferences",params:{email:a,phone_number:a,fides_user_device_id:a,external_id:a}}},providesTags:["Current Privacy Preferences"]}),downloadReport:e.query({query:e=>{let{startDate:a,endDate:n}=e;return{url:"plus/consent_reporting",params:{created_gt:h(a),created_lt:g(n),download_csv:"true"},responseHandler:"content-type"}},providesTags:["Consent Reporting Export"]}),getAllHistoricalPrivacyPreferences:e.query({query:e=>{let{page:a,size:n,startDate:r,endDate:t}=e;return{url:"historical-privacy-preferences",params:{page:a,size:n,request_timestamp_gt:h(r),request_timestamp_lt:g(t)}}},providesTags:["Consent Reporting"]})})});var C=n(90104),f=n.n(C),j=n(812),v=n(16643);let y={[v.pq.OPT_IN]:"Opt in",[v.pq.OPT_OUT]:"Opt out",[v.pq.ACKNOWLEDGE]:"Acknowledge",[v.pq.TCF]:"TCF"},b={[v.pq.OPT_IN]:"success",[v.pq.OPT_OUT]:"error",[v.pq.ACKNOWLEDGE]:"default",[v.pq.TCF]:"sandstone"},A={[v.jP.ACCEPT]:"Accept",[v.jP.BUTTON]:"Button",[v.jP.DISMISS]:"Dismiss",[v.jP.GPC]:"GPC",[v.jP.REJECT]:"Reject",[v.jP.SAVE]:"Save",[v.jP.SCRIPT]:"Script",[v.jP.INDIVIDUAL_NOTICE]:"Individual Notice",[v.jP.ACKNOWLEDGE]:"Acknowledge"},N={[v.Tz.API]:"API",[v.Tz.BANNER_AND_MODAL]:"Banner and Modal",[v.Tz.MODAL]:"Modal",[v.Tz.OVERLAY]:"Overlay",[v.Tz.PRIVACY_CENTER]:"Privacy Center",[v.Tz.TCF_OVERLAY]:"TCF Overlay"},M=(0,i.Cl)();var P=()=>(0,_.useMemo)(()=>[M.accessor(e=>e.notice_name,{id:"notice_name",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Privacy notice",...e}),enableSorting:!1}),M.accessor(e=>e.notice_key,{id:"notice_key",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Notice Key",...e}),enableSorting:!1}),M.accessor(e=>e.preference,{id:"preference",cell:e=>{let{getValue:a}=e,n=a(),t=n&&y[n]||n,i=n&&b[n]||"";return(0,r.jsx)(u.A4,{color:i,value:t})},header:e=>(0,r.jsx)(u.Rr,{value:"Preference",...e}),enableSorting:!1,size:100}),M.accessor(e=>e.privacy_notice_history_id,{id:"privacy_notice_history_id",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Privacy Notice History Id",...e}),enableSorting:!1})],[]),I=n(47003),T=n.n(I);let R=(0,i.Cl)();var E=()=>{let e=(0,_.useCallback)(e=>{let a=[];if(e){let{preferences:n,...r}=e;T()(r,(e,n)=>{e&&e.forEach(e=>{a.push({key:n,id:e.id,preference:e.preference})})})}return a},[]),a=(0,_.useCallback)(e=>e.filter(e=>!(e.key.startsWith("system_")||e.key.startsWith("vendor_"))),[]);return{tcfColumns:(0,_.useMemo)(()=>[R.accessor(e=>e.key,{id:"key",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Type",...e}),enableSorting:!1}),R.accessor(e=>e.id,{id:"id",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"ID",...e}),enableSorting:!1}),R.accessor(e=>e.preference,{id:"preference",cell:e=>{let{getValue:a}=e,n=a(),t=n&&y[n]||n,i=n&&b[n]||"";return(0,r.jsx)(u.A4,{color:i,value:t})},header:e=>(0,r.jsx)(u.Rr,{value:"Preference",...e}),enableSorting:!1,size:100})],[]),mapTcfPreferencesToRowColumns:e,filterTcfConsentPreferences:a}},U=e=>{let{isOpen:a,onClose:n}=e,[o,s]=(0,_.useState)(!1),[c,d]=(0,_.useState)(),[F]=x(),p=(0,l.pmc)();(0,_.useEffect)(()=>{a||(d(void 0),s(!1))},[a]);let h=async e=>{s(!0);let{data:a,isError:n,error:r}=await F({search:e}),t=r&&"status"in r&&(null==r?void 0:r.status);n&&404!==t?p({status:"error",description:(0,j.e$)(r,"A problem occurred while looking up the preferences.")}):d(a||null),s(!1)},g=P(),S=(null==c?void 0:c.preferences)||[],m=!f()(S),C=(0,t.b7)({getCoreRowModel:(0,i.sC)(),data:S,columns:g,getRowId:e=>"".concat(e.privacy_notice_history_id),manualPagination:!0}),{tcfColumns:v,mapTcfPreferencesToRowColumns:y,filterTcfConsentPreferences:b}=E(),A=b(y(c)),N=!f()(A),M=(0,t.b7)({getCoreRowModel:(0,i.sC)(),data:A,columns:v,getRowId:e=>"".concat(e.key,"-").concat(e.id),manualPagination:!0});return(0,r.jsxs)(l.u_l,{id:"consent-lookup-modal",isOpen:a,onClose:n,size:"6xl",returnFocusOnClose:!1,isCentered:!0,children:[(0,r.jsx)(l.ZAr,{}),(0,r.jsxs)(l.hzk,{children:[(0,r.jsx)(l.olH,{}),(0,r.jsx)(l.xBx,{pb:2,children:"Consent preference lookup"}),(0,r.jsxs)(l.fef,{children:[(0,r.jsx)(l.AntTypography.Paragraph,{children:"Use this search to look up an individual's latest consent record. You can search by phone number, email, external ID or device ID to retrieve the most recent consent preference associated with that exact identifier."}),(0,r.jsxs)(l.AntTypography.Paragraph,{children:[(0,r.jsx)("strong",{children:"Note:"})," This is an exact match search—partial entries or similar results will not be returned. This lookup retrieves only the most recent consent preference, not the full consent history."]}),(0,r.jsx)(l.PPS,{layout:"vertical",className:"w-1/2",children:(0,r.jsx)(l.PPS.Item,{label:"Subject search",className:"mb-4 mt-6",children:(0,r.jsx)(l.uFc.Search,{"data-testid":"subject-search-input",placeholder:"Enter email, phone number, external ID or device ID",enterButton:"Search",onSearch:h,loading:o})})}),(0,r.jsxs)("div",{className:"mb-4",children:[(!N||m)&&(0,r.jsx)(u.ZK,{tableInstance:C,emptyTableNotice:(0,r.jsx)(l.oj8,{description:void 0===c?"Search for an email, phone number, or device ID.":"No results found.",image:l.oj8.PRESENTED_IMAGE_SIMPLE,imageStyle:{marginBottom:15}})}),N&&(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsx)(u.ZK,{tableInstance:M})})]})]})]})]})},w=()=>{let e=(0,l.pmc)(),[a,{isFetching:n}]=S();return{downloadReport:async n=>{let{startDate:r,endDate:t}=n,i=await a({startDate:r,endDate:t});if(i.isError)e({status:"error",description:(0,j.e$)(i.error,"A problem occurred while generating your consent report. Please try again.")});else{let e=document.createElement("a"),a=new Blob([i.data],{type:"text/csv"});e.href=window.URL.createObjectURL(a),e.download="consent-reports.csv",e.click()}},isDownloadingReport:n}},k=e=>{let{isOpen:a,onClose:n,startDate:t,endDate:i}=e,{downloadReport:o,isDownloadingReport:s}=w(),_=async()=>{await o({startDate:t,endDate:i}),n()};return(0,r.jsxs)(l.u_l,{id:"consent-report-download-modal",isOpen:a,onClose:n,size:"xl",returnFocusOnClose:!1,isCentered:!0,children:[(0,r.jsx)(l.ZAr,{}),(0,r.jsxs)(l.hzk,{children:[(0,r.jsx)(l.olH,{}),(0,r.jsx)(l.xBx,{pb:2,children:"Download consent report"}),(0,r.jsxs)(l.fef,{children:[(0,r.jsx)(l.AntTypography.Paragraph,{children:"The downloaded CSV may differ from the UI in Fides, including column order and naming."}),(0,r.jsx)(l.AntTypography.Paragraph,{children:'For large datasets, file generation may take a few minutes after selecting "Download".'}),(0,r.jsx)(l.jqI,{justify:"flex-end",children:(0,r.jsx)(l.wpx,{loading:s,onClick:_,"data-testid":"download-report-btn",type:"primary",className:"mb-2",children:"Download"})})]})]})]})},G=e=>{let{isOpen:a,onClose:n,tcfPreferences:o}=e,{tcfColumns:s,mapTcfPreferencesToRowColumns:_,filterTcfConsentPreferences:c}=E(),d=c(_(o)),F=(0,t.b7)({getCoreRowModel:(0,i.sC)(),data:d||[],columns:s,getRowId:e=>"".concat(e.key,"-").concat(e.id),manualPagination:!0});return(0,r.jsxs)(l.u_l,{id:"consent-lookup-modal",isOpen:a,onClose:n,size:"4xl",returnFocusOnClose:!1,isCentered:!0,children:[(0,r.jsx)(l.ZAr,{}),(0,r.jsxs)(l.hzk,{"data-testid":"consent-tcf-detail-modal",children:[(0,r.jsx)(l.olH,{}),(0,r.jsx)(l.xBx,{pb:2,children:"TCF Consent Details"}),(0,r.jsx)(l.fef,{children:(0,r.jsx)("div",{className:"mb-4",children:(0,r.jsx)(u.ZK,{tableInstance:F,emptyTableNotice:(0,r.jsx)(l.oj8,{description:" No data found",image:l.oj8.PRESENTED_IMAGE_SIMPLE,imageStyle:{marginBottom:15}})})})})]})]})},B=n(8411),O=n(72625);let D=(0,i.Cl)();var L=e=>{let{onTcfDetailViewClick:a}=e;return(0,_.useMemo)(()=>[D.accessor(e=>e.fides_user_device_id,{id:"fides_user_device_id",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"User device ID",...e}),enableSorting:!1}),D.accessor(e=>e.user_geography,{id:"user_geography",cell:e=>{let{getValue:a}=e,n=a(),t=n&&B.Z8[n]||n;return(0,r.jsx)(u.G3,{value:t})},header:e=>(0,r.jsx)(u.Rr,{value:"User geography",...e}),enableSorting:!1}),D.accessor(e=>e.preference,{id:"preference",cell:e=>{let{getValue:n,row:t}=e,i=n(),o=i&&y[i]||i,s=i&&b[i]||"",_="tcf"===i&&t.original.tcf_preferences;return(0,r.jsx)(l.jqI,{align:"center",children:(0,r.jsx)(u.A4,{color:s,value:o,onClick:_?()=>a(t.original.tcf_preferences):void 0})})},header:e=>(0,r.jsx)(u.Rr,{value:"Preference",...e}),enableSorting:!1,size:100}),D.accessor(e=>e.notice_name,{id:"notice_name",cell:e=>{let{getValue:a}=e,n=a(),t="tcf"===n?n.toUpperCase():n;return(0,r.jsx)(u.G3,{value:t})},header:e=>(0,r.jsx)(u.Rr,{value:"Privacy notice",...e}),enableSorting:!1}),D.accessor(e=>e.method,{id:"method",cell:e=>{let{getValue:a}=e,n=a(),t=n&&A[n]||n;return(0,r.jsx)(u.G3,{value:t})},header:e=>(0,r.jsx)(u.Rr,{value:"Method",...e}),enableSorting:!1,size:100}),D.accessor(e=>e.request_origin,{id:"request_origin",cell:e=>{let{getValue:a}=e,n=a(),t=n&&N[n]||n;return(0,r.jsx)(u.G3,{value:t})},header:e=>(0,r.jsx)(u.Rr,{value:"Request origin",...e}),enableSorting:!1,size:120}),D.accessor(e=>e.request_timestamp,{id:"request_timestamp",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(O.Cy,{time:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Request timestamp",...e}),size:120}),D.accessor(e=>e.url_recorded,{id:"url_recorded",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Recorded URL",...e})}),D.accessor(e=>e.external_id,{id:"external_id",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"External ID",...e}),enableSorting:!1}),D.accessor(e=>e.email,{id:"email",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:(0,r.jsx)(l.AntTypography.Link,{href:"mailto:".concat(a()),children:a()})})},header:e=>(0,r.jsx)(u.Rr,{value:"Email",...e}),enableSorting:!1}),D.accessor(e=>e.id,{id:"id",cell:e=>{let{getValue:a}=e;return(0,r.jsx)(u.G3,{value:a()})},header:e=>(0,r.jsx)(u.Rr,{value:"Preference ID",...e}),enableSorting:!1})],[a])},K=()=>{let e=(0,u.oi)(),a=(0,_.useMemo)(()=>s()(),[]),[n,o]=(0,_.useState)(null),[p,h]=(0,_.useState)(null),[g,S]=(0,_.useState)(!1),[x,C]=(0,_.useState)(!1),[f,j]=(0,_.useState)(!1),[v,y]=(0,_.useState)(),b=(0,l.pmc)(),{data:A,isLoading:N,isFetching:M,refetch:P}=m({page:e.pageIndex,size:e.pageSize,startDate:n,endDate:p}),{setTotalPages:I}=e,{items:T,total:R}=(0,_.useMemo)(()=>{let e=A||{items:[],total:0,pages:0};return I(e.pages),e},[A,I]),E=L({onTcfDetailViewClick:e=>{j(!0),y(e)}}),w=(0,t.b7)({getCoreRowModel:(0,i.sC)(),data:T,columns:E,getRowId:e=>"".concat(e.id),manualPagination:!0}),B=async()=>{e.resetPageIndexToDefault(),await P(),b((0,F.t5)("Consent report refreshed successfully.","Report Refreshed"))};return(0,r.jsxs)(c.Z,{title:"Consent reporting",children:[(0,r.jsx)(d.Z,{heading:"Consent reporting",rightContent:(0,r.jsx)(l.wpx,{type:"primary",onClick:B,loading:M,children:"Refresh"})}),(0,r.jsx)("div",{"data-testid":"consent-reporting",className:"overflow-auto",children:N?(0,r.jsx)("div",{className:"border p-2",children:(0,r.jsx)(u.I4,{rowHeight:26,numRows:10})}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(u.Q$,{children:[(0,r.jsx)(l.gwi,{placeholder:["From","To"],maxDate:a,"data-testid":"input-date-range",onChange:e=>{o(e&&e[0]),h(e&&e[1])}}),(0,r.jsxs)(l.jqI,{gap:12,children:[(0,r.jsx)(l.wpx,{icon:(0,r.jsx)(l.PJP.UWx,{}),"data-testid":"download-btn",onClick:()=>C(!0),"aria-label":"Download Consent Report"}),(0,r.jsx)(l.S0p,{menu:{items:[{key:"1",label:(0,r.jsx)("span",{"data-testid":"consent-preference-lookup-btn",children:"Consent preference lookup"}),onClick:()=>S(!0)}]},overlayStyle:{width:"220px"},trigger:["click"],children:(0,r.jsx)(l.wpx,{icon:(0,r.jsx)(l.PJP.r43,{}),"data-testid":"consent-reporting-dropdown-btn"})})]})]}),(0,r.jsx)(u.ZK,{tableInstance:w,emptyTableNotice:(0,r.jsx)(l.oj8,{description:"No results.",image:l.oj8.PRESENTED_IMAGE_SIMPLE,imageStyle:{marginBottom:15}})}),(0,r.jsx)(u.s8,{totalRows:R||0,pageSizes:u.W3,setPageSize:e.setPageSize,onPreviousPageClick:e.onPreviousPageClick,isPreviousPageDisabled:e.isPreviousPageDisabled||M,onNextPageClick:e.onNextPageClick,isNextPageDisabled:e.isNextPageDisabled||M,startRange:e.startRange,endRange:e.endRange})]})}),(0,r.jsx)(U,{isOpen:g,onClose:()=>S(!1)}),(0,r.jsx)(k,{isOpen:x,onClose:()=>C(!1),startDate:n,endDate:p}),(0,r.jsx)(G,{isOpen:f,onClose:()=>{j(!1),y(void 0)},tcfPreferences:v})]})}}},function(e){e.O(0,[8033,6060,2858,4481,2888,9774,179],function(){return e(e.s=15806)}),_N_E=e.O()}]);
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/a063d3d67fe688f6.css" as="style"/><link rel="stylesheet" href="/_next/static/css/a063d3d67fe688f6.css" data-n-g=""/><link rel="preload" href="/_next/static/css/d2d4e9a6923e6730.css" as="style"/><link rel="stylesheet" href="/_next/static/css/d2d4e9a6923e6730.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-32c43a8d709ca5c6.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-79807dd0b151eaa4.js" defer=""></script><script src="/_next/static/chunks/c78d26b1-88a3e1bacb2a03c2.js" defer=""></script><script src="/_next/static/chunks/6060-cb1ab5be7067bf7b.js" defer=""></script><script src="/_next/static/chunks/2858-0b44609b6be7850b.js" defer=""></script><script src="/_next/static/chunks/2866-a73888c17a195cbe.js" defer=""></script><script src="/_next/static/chunks/9278-9b1b5970f0702668.js" defer=""></script><script src="/_next/static/chunks/5277-e8a036319456127f.js" defer=""></script><script src="/_next/static/chunks/4481-cd91353711218b86.js" defer=""></script><script src="/_next/static/chunks/401-1ba7e037992ac460.js" defer=""></script><script src="/_next/static/chunks/9951-d8d1174b00f9dac1.js" defer=""></script><script src="/_next/static/chunks/3503-296468f82b067ec4.js" defer=""></script><script src="/_next/static/chunks/9965-023779db7a1b4aa2.js" defer=""></script><script src="/_next/static/chunks/pages/add-systems/manual-2edda5eb5412ffb2.js" defer=""></script><script src="/_next/static/d04933NE3G7JzonANBZ2_/_buildManifest.js" defer=""></script><script src="/_next/static/d04933NE3G7JzonANBZ2_/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/add-systems/manual","query":{},"buildId":"d04933NE3G7JzonANBZ2_","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/a063d3d67fe688f6.css" as="style"/><link rel="stylesheet" href="/_next/static/css/a063d3d67fe688f6.css" data-n-g=""/><link rel="preload" href="/_next/static/css/d2d4e9a6923e6730.css" as="style"/><link rel="stylesheet" href="/_next/static/css/d2d4e9a6923e6730.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-32c43a8d709ca5c6.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-79807dd0b151eaa4.js" defer=""></script><script src="/_next/static/chunks/c78d26b1-88a3e1bacb2a03c2.js" defer=""></script><script src="/_next/static/chunks/6060-cb1ab5be7067bf7b.js" defer=""></script><script src="/_next/static/chunks/2858-0b44609b6be7850b.js" defer=""></script><script src="/_next/static/chunks/2866-a73888c17a195cbe.js" defer=""></script><script src="/_next/static/chunks/9278-9b1b5970f0702668.js" defer=""></script><script src="/_next/static/chunks/5277-e8a036319456127f.js" defer=""></script><script src="/_next/static/chunks/4481-cd91353711218b86.js" defer=""></script><script src="/_next/static/chunks/401-1ba7e037992ac460.js" defer=""></script><script src="/_next/static/chunks/9951-d8d1174b00f9dac1.js" defer=""></script><script src="/_next/static/chunks/3503-296468f82b067ec4.js" defer=""></script><script src="/_next/static/chunks/9965-023779db7a1b4aa2.js" defer=""></script><script src="/_next/static/chunks/pages/add-systems/manual-2edda5eb5412ffb2.js" defer=""></script><script src="/_next/static/48H6x-7GPF8df3EtVqpAv/_buildManifest.js" defer=""></script><script src="/_next/static/48H6x-7GPF8df3EtVqpAv/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/add-systems/manual","query":{},"buildId":"48H6x-7GPF8df3EtVqpAv","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/a063d3d67fe688f6.css" as="style"/><link rel="stylesheet" href="/_next/static/css/a063d3d67fe688f6.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-32c43a8d709ca5c6.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-79807dd0b151eaa4.js" defer=""></script><script src="/_next/static/chunks/c78d26b1-88a3e1bacb2a03c2.js" defer=""></script><script src="/_next/static/chunks/6060-cb1ab5be7067bf7b.js" defer=""></script><script src="/_next/static/chunks/4481-cd91353711218b86.js" defer=""></script><script src="/_next/static/chunks/401-1ba7e037992ac460.js" defer=""></script><script src="/_next/static/chunks/8934-41284e609c329cdd.js" defer=""></script><script src="/_next/static/chunks/5826-5f6e7a91e9ff71d1.js" defer=""></script><script src="/_next/static/chunks/pages/add-systems/multiple-27c3bdcc05a1f18e.js" defer=""></script><script src="/_next/static/d04933NE3G7JzonANBZ2_/_buildManifest.js" defer=""></script><script src="/_next/static/d04933NE3G7JzonANBZ2_/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/add-systems/multiple","query":{},"buildId":"d04933NE3G7JzonANBZ2_","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/a063d3d67fe688f6.css" as="style"/><link rel="stylesheet" href="/_next/static/css/a063d3d67fe688f6.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-32c43a8d709ca5c6.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-79807dd0b151eaa4.js" defer=""></script><script src="/_next/static/chunks/c78d26b1-88a3e1bacb2a03c2.js" defer=""></script><script src="/_next/static/chunks/6060-cb1ab5be7067bf7b.js" defer=""></script><script src="/_next/static/chunks/4481-cd91353711218b86.js" defer=""></script><script src="/_next/static/chunks/401-1ba7e037992ac460.js" defer=""></script><script src="/_next/static/chunks/8934-41284e609c329cdd.js" defer=""></script><script src="/_next/static/chunks/5826-5f6e7a91e9ff71d1.js" defer=""></script><script src="/_next/static/chunks/pages/add-systems/multiple-27c3bdcc05a1f18e.js" defer=""></script><script src="/_next/static/48H6x-7GPF8df3EtVqpAv/_buildManifest.js" defer=""></script><script src="/_next/static/48H6x-7GPF8df3EtVqpAv/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/add-systems/multiple","query":{},"buildId":"48H6x-7GPF8df3EtVqpAv","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/a063d3d67fe688f6.css" as="style"/><link rel="stylesheet" href="/_next/static/css/a063d3d67fe688f6.css" data-n-g=""/><link rel="preload" href="/_next/static/css/972dc7eef106ee7c.css" as="style"/><link rel="stylesheet" href="/_next/static/css/972dc7eef106ee7c.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-32c43a8d709ca5c6.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-79807dd0b151eaa4.js" defer=""></script><script src="/_next/static/chunks/pages/add-systems-2c64d0a87784019b.js" defer=""></script><script src="/_next/static/d04933NE3G7JzonANBZ2_/_buildManifest.js" defer=""></script><script src="/_next/static/d04933NE3G7JzonANBZ2_/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/add-systems","query":{},"buildId":"d04933NE3G7JzonANBZ2_","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/a063d3d67fe688f6.css" as="style"/><link rel="stylesheet" href="/_next/static/css/a063d3d67fe688f6.css" data-n-g=""/><link rel="preload" href="/_next/static/css/972dc7eef106ee7c.css" as="style"/><link rel="stylesheet" href="/_next/static/css/972dc7eef106ee7c.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-32c43a8d709ca5c6.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-79807dd0b151eaa4.js" defer=""></script><script src="/_next/static/chunks/pages/add-systems-2c64d0a87784019b.js" defer=""></script><script src="/_next/static/48H6x-7GPF8df3EtVqpAv/_buildManifest.js" defer=""></script><script src="/_next/static/48H6x-7GPF8df3EtVqpAv/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/add-systems","query":{},"buildId":"48H6x-7GPF8df3EtVqpAv","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>