ethyca-fides 2.58.1b0__py2.py3-none-any.whl → 2.58.1b2__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 (93) hide show
  1. {ethyca_fides-2.58.1b0.dist-info → ethyca_fides-2.58.1b2.dist-info}/METADATA +1 -1
  2. {ethyca_fides-2.58.1b0.dist-info → ethyca_fides-2.58.1b2.dist-info}/RECORD +92 -89
  3. fides/_version.py +3 -3
  4. fides/api/alembic/migrations/versions/67d01c4e124e_add_reject_all_mechanism_to_privacy_.py +56 -0
  5. fides/api/db/base.py +1 -0
  6. fides/api/models/privacy_experience.py +41 -0
  7. fides/service/error_handling/__init__.py +0 -0
  8. fides/service/error_handling/error_handler.py +202 -0
  9. fides/ui-build/static/admin/404.html +1 -1
  10. fides/ui-build/static/admin/_next/static/{kYmFOkrlCZdjq5U5byh89 → DfE9QnPzVfXQ2WncrNw6c}/_buildManifest.js +1 -1
  11. fides/ui-build/static/admin/_next/static/chunks/3412-7ec8751b8182e1bf.js +1 -0
  12. fides/ui-build/static/admin/_next/static/chunks/{main-24f422f93845a596.js → main-090643377c8254e6.js} +1 -1
  13. fides/ui-build/static/admin/_next/static/chunks/{main-app-94a0711202e08b15.js → main-app-59156a9331ac7bce.js} +1 -1
  14. fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/{[id]-cf51752eb0902233.js → [id]-fb75fa0aea77678d.js} +1 -1
  15. fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/{new-be194737b41ccec9.js → new-a9d9402c219d13e5.js} +1 -1
  16. fides/ui-build/static/admin/add-systems/manual.html +1 -1
  17. fides/ui-build/static/admin/add-systems/multiple.html +1 -1
  18. fides/ui-build/static/admin/add-systems.html +1 -1
  19. fides/ui-build/static/admin/ant-poc.html +1 -1
  20. fides/ui-build/static/admin/consent/configure/add-vendors.html +1 -1
  21. fides/ui-build/static/admin/consent/configure.html +1 -1
  22. fides/ui-build/static/admin/consent/privacy-experience/[id].html +1 -1
  23. fides/ui-build/static/admin/consent/privacy-experience/new.html +1 -1
  24. fides/ui-build/static/admin/consent/privacy-experience.html +1 -1
  25. fides/ui-build/static/admin/consent/privacy-notices/[id].html +1 -1
  26. fides/ui-build/static/admin/consent/privacy-notices/new.html +1 -1
  27. fides/ui-build/static/admin/consent/privacy-notices.html +1 -1
  28. fides/ui-build/static/admin/consent/properties.html +1 -1
  29. fides/ui-build/static/admin/consent/reporting.html +1 -1
  30. fides/ui-build/static/admin/consent.html +1 -1
  31. fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html +1 -1
  32. fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html +1 -1
  33. fides/ui-build/static/admin/data-catalog/[systemId]/projects.html +1 -1
  34. fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html +1 -1
  35. fides/ui-build/static/admin/data-catalog/[systemId]/resources.html +1 -1
  36. fides/ui-build/static/admin/data-catalog.html +1 -1
  37. fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/[systemId].html +1 -1
  38. fides/ui-build/static/admin/data-discovery/action-center/[monitorId].html +1 -1
  39. fides/ui-build/static/admin/data-discovery/action-center.html +1 -1
  40. fides/ui-build/static/admin/data-discovery/activity.html +1 -1
  41. fides/ui-build/static/admin/data-discovery/detection/[resourceUrn].html +1 -1
  42. fides/ui-build/static/admin/data-discovery/detection.html +1 -1
  43. fides/ui-build/static/admin/data-discovery/discovery/[resourceUrn].html +1 -1
  44. fides/ui-build/static/admin/data-discovery/discovery.html +1 -1
  45. fides/ui-build/static/admin/datamap.html +1 -1
  46. fides/ui-build/static/admin/dataset/[datasetId]/[collectionName]/[...subfieldNames].html +1 -1
  47. fides/ui-build/static/admin/dataset/[datasetId]/[collectionName].html +1 -1
  48. fides/ui-build/static/admin/dataset/[datasetId].html +1 -1
  49. fides/ui-build/static/admin/dataset/new.html +1 -1
  50. fides/ui-build/static/admin/dataset.html +1 -1
  51. fides/ui-build/static/admin/datastore-connection/[id].html +1 -1
  52. fides/ui-build/static/admin/datastore-connection/new.html +1 -1
  53. fides/ui-build/static/admin/datastore-connection.html +1 -1
  54. fides/ui-build/static/admin/index.html +1 -1
  55. fides/ui-build/static/admin/integrations/[id].html +1 -1
  56. fides/ui-build/static/admin/integrations.html +1 -1
  57. fides/ui-build/static/admin/login/[provider].html +1 -1
  58. fides/ui-build/static/admin/login.html +1 -1
  59. fides/ui-build/static/admin/messaging/[id].html +1 -1
  60. fides/ui-build/static/admin/messaging/add-template.html +1 -1
  61. fides/ui-build/static/admin/messaging.html +1 -1
  62. fides/ui-build/static/admin/privacy-requests/[id].html +1 -1
  63. fides/ui-build/static/admin/privacy-requests/configure/messaging.html +1 -1
  64. fides/ui-build/static/admin/privacy-requests/configure/storage.html +1 -1
  65. fides/ui-build/static/admin/privacy-requests/configure.html +1 -1
  66. fides/ui-build/static/admin/privacy-requests.html +1 -1
  67. fides/ui-build/static/admin/properties/[id].html +1 -1
  68. fides/ui-build/static/admin/properties/add-property.html +1 -1
  69. fides/ui-build/static/admin/properties.html +1 -1
  70. fides/ui-build/static/admin/reporting/datamap.html +1 -1
  71. fides/ui-build/static/admin/settings/about.html +1 -1
  72. fides/ui-build/static/admin/settings/consent.html +1 -1
  73. fides/ui-build/static/admin/settings/custom-fields.html +1 -1
  74. fides/ui-build/static/admin/settings/domain-records.html +1 -1
  75. fides/ui-build/static/admin/settings/domains.html +1 -1
  76. fides/ui-build/static/admin/settings/email-templates.html +1 -1
  77. fides/ui-build/static/admin/settings/locations.html +1 -1
  78. fides/ui-build/static/admin/settings/organization.html +1 -1
  79. fides/ui-build/static/admin/settings/regulations.html +1 -1
  80. fides/ui-build/static/admin/systems/configure/[id]/test-datasets.html +1 -1
  81. fides/ui-build/static/admin/systems/configure/[id].html +1 -1
  82. fides/ui-build/static/admin/systems.html +1 -1
  83. fides/ui-build/static/admin/taxonomy.html +1 -1
  84. fides/ui-build/static/admin/user-management/new.html +1 -1
  85. fides/ui-build/static/admin/user-management/profile/[id].html +1 -1
  86. fides/ui-build/static/admin/user-management.html +1 -1
  87. fides/ui-build/static/admin/_next/static/chunks/3320-5dd62a256ecfc9c3.js +0 -1
  88. {ethyca_fides-2.58.1b0.dist-info → ethyca_fides-2.58.1b2.dist-info}/LICENSE +0 -0
  89. {ethyca_fides-2.58.1b0.dist-info → ethyca_fides-2.58.1b2.dist-info}/WHEEL +0 -0
  90. {ethyca_fides-2.58.1b0.dist-info → ethyca_fides-2.58.1b2.dist-info}/entry_points.txt +0 -0
  91. {ethyca_fides-2.58.1b0.dist-info → ethyca_fides-2.58.1b2.dist-info}/top_level.txt +0 -0
  92. /fides/ui-build/static/admin/_next/static/{kYmFOkrlCZdjq5U5byh89 → DfE9QnPzVfXQ2WncrNw6c}/_ssgManifest.js +0 -0
  93. /fides/ui-build/static/admin/_next/static/chunks/pages/{_app-be7a8cdf3b56b1ec.js → _app-073217715167f9a8.js} +0 -0
@@ -0,0 +1,202 @@
1
+ from functools import wraps
2
+ from typing import Any, Callable, Optional, TypeVar
3
+
4
+ from fastapi import HTTPException
5
+ from loguru import logger
6
+ from starlette.status import HTTP_400_BAD_REQUEST, HTTP_422_UNPROCESSABLE_ENTITY
7
+
8
+ T = TypeVar("T")
9
+
10
+
11
+ class ErrorHandler:
12
+ """Utility class for handling errors consistently throughout the application.
13
+
14
+ Usage Examples:
15
+ -----------------------------------------------------------------------------
16
+
17
+ 1. Basic Validation:
18
+ ```python
19
+ from fastapi import FastAPI
20
+ from fides.service.error_handling.error_handler import ErrorHandler
21
+
22
+ app = FastAPI()
23
+
24
+ @app.post("/users")
25
+ def create_user(age: int):
26
+ # Simple validation
27
+ ErrorHandler.validate(age >= 18, "User must be 18 or older")
28
+ return {"message": "User created"}
29
+
30
+ @app.get("/items/{item_id}")
31
+ def get_item(item_id: str):
32
+ # Direct error raising
33
+ if not item_id:
34
+ ErrorHandler.raise_error("Item ID is required", status_code=400)
35
+ return {"item_id": item_id}
36
+ ```
37
+
38
+ 2. Exception Handling Decorator:
39
+ ```python
40
+ @app.post("/orders")
41
+ @ErrorHandler.handle_exceptions("Failed to create order")
42
+ def create_order(order_data: dict):
43
+ if not order_data.get("items"):
44
+ raise ValueError("Order must contain items")
45
+ # Process order...
46
+ return {"message": "Order created"}
47
+
48
+ @app.get("/products/{product_id}")
49
+ @ErrorHandler.handle_exceptions("Failed to fetch product", status_code=404)
50
+ def get_product(product_id: str):
51
+ product = database.get_product(product_id)
52
+ if not product:
53
+ raise ValueError("Product not found")
54
+ return product
55
+ ```
56
+
57
+ 3. Complex Validation:
58
+ ```python
59
+ @app.post("/payments")
60
+ @ErrorHandler.handle_exceptions("Payment processing failed")
61
+ def process_payment(payment: dict):
62
+ # Validate amount
63
+ ErrorHandler.validate(
64
+ payment.get("amount", 0) > 0,
65
+ "Payment amount must be positive",
66
+ HTTP_400_BAD_REQUEST
67
+ )
68
+
69
+ # Validate currency
70
+ ErrorHandler.validate(
71
+ payment.get("currency") in ["USD", "EUR"],
72
+ "Invalid currency",
73
+ HTTP_400_BAD_REQUEST,
74
+ "Unsupported currency provided" # Optional log message
75
+ )
76
+
77
+ # Custom error for insufficient funds
78
+ if payment.get("amount", 0) > get_balance():
79
+ ErrorHandler.raise_error(
80
+ "Insufficient funds",
81
+ status_code=HTTP_400_BAD_REQUEST,
82
+ log_message="User attempted payment exceeding balance"
83
+ )
84
+
85
+ return {"status": "payment processed"}
86
+ ```
87
+
88
+ 4. Error Logging:
89
+ ```python
90
+ @app.post("/imports")
91
+ @ErrorHandler.handle_exceptions("Import failed")
92
+ def import_data(data: dict):
93
+ try:
94
+ process_import(data)
95
+ except Exception as e:
96
+ # Log error with custom message before raising
97
+ ErrorHandler.raise_error(
98
+ "Import failed: invalid format",
99
+ status_code=400,
100
+ log_message=f"Import failed with error: {str(e)}"
101
+ )
102
+ return {"status": "import complete"}
103
+ ```
104
+
105
+ Key Features:
106
+ - Simple validation with custom error messages
107
+ - Consistent error handling across endpoints
108
+ - Built-in error logging
109
+ - HTTP status code customization
110
+ - Exception handling decorator for common patterns
111
+ """
112
+
113
+ @staticmethod
114
+ def raise_error(
115
+ detail: str,
116
+ status_code: int = HTTP_422_UNPROCESSABLE_ENTITY,
117
+ log_message: Optional[str] = None,
118
+ ) -> None:
119
+ """Raise an HTTPException with consistent logging.
120
+
121
+ Args:
122
+ detail: Error message to include in the HTTPException
123
+ status_code: HTTP status code to use (default: 422)
124
+ log_message: Optional message to log before raising the exception
125
+
126
+ Raises:
127
+ HTTPException: Always raised with the provided details
128
+ """
129
+ if log_message:
130
+ logger.error(log_message)
131
+ raise HTTPException(status_code=status_code, detail=detail)
132
+
133
+ @staticmethod
134
+ def validate(
135
+ condition: bool,
136
+ detail: str,
137
+ status_code: int = HTTP_400_BAD_REQUEST,
138
+ log_message: Optional[str] = None,
139
+ ) -> None:
140
+ """Validate a condition and raise an error if it's False.
141
+
142
+ Args:
143
+ condition: The condition to check
144
+ detail: Error message if condition is False
145
+ status_code: HTTP status code to use if condition is False
146
+ log_message: Optional message to log before raising the exception
147
+
148
+ Raises:
149
+ HTTPException: If the condition is False
150
+ """
151
+ if not condition:
152
+ ErrorHandler.raise_error(detail, status_code, log_message)
153
+
154
+ @classmethod
155
+ def handle_exceptions(
156
+ cls, error_message: str, status_code: int = HTTP_422_UNPROCESSABLE_ENTITY
157
+ ) -> Callable[[Callable[..., T]], Callable[..., T]]:
158
+ """Decorator to handle exceptions consistently.
159
+
160
+ Args:
161
+ error_message: Base error message to use
162
+ status_code: HTTP status code to use for unexpected errors
163
+
164
+ Returns:
165
+ Callable: The decorated function that handles exceptions
166
+
167
+ Note:
168
+ This decorator will catch specific exceptions and convert them to HTTPExceptions.
169
+ HTTPExceptions are re-raised as is, while other exceptions are wrapped with
170
+ additional context.
171
+ """
172
+
173
+ def decorator(func: Callable[..., T]) -> Callable[..., T]:
174
+ @wraps(func)
175
+ def wrapper(*args: Any, **kwargs: Any) -> Optional[T]:
176
+ try:
177
+ return func(*args, **kwargs)
178
+ except HTTPException:
179
+ # Re-raise HTTP exceptions without modification
180
+ raise
181
+ except (ValueError, TypeError, AttributeError, KeyError) as e:
182
+ # Handle common validation and data access errors
183
+ cls.raise_error(
184
+ f"{error_message}: {str(e)}",
185
+ status_code,
186
+ f"{error_message}: {e}",
187
+ )
188
+ except Exception as e: # pylint: disable=broad-except
189
+ # Log unexpected errors with full context but present a sanitized message
190
+ logger.error(
191
+ f"Unexpected error in {func.__name__}: {str(e)}", exc_info=True
192
+ )
193
+ cls.raise_error(
194
+ f"{error_message}: An unexpected error occurred",
195
+ status_code,
196
+ f"{error_message}: Unexpected {type(e).__name__}",
197
+ )
198
+ return None # This line is never reached but satisfies the return type checker
199
+
200
+ return wrapper # type: ignore[return-value]
201
+
202
+ return decorator
@@ -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/113d823fe71f6af0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/113d823fe71f6af0.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-2c7ccac5843c4d8e.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-24f422f93845a596.js" defer=""></script><script src="/_next/static/chunks/pages/_app-be7a8cdf3b56b1ec.js" defer=""></script><script src="/_next/static/chunks/pages/404-b202c0d8f6fc75c3.js" defer=""></script><script src="/_next/static/kYmFOkrlCZdjq5U5byh89/_buildManifest.js" defer=""></script><script src="/_next/static/kYmFOkrlCZdjq5U5byh89/_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":"kYmFOkrlCZdjq5U5byh89","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/113d823fe71f6af0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/113d823fe71f6af0.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-2c7ccac5843c4d8e.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-073217715167f9a8.js" defer=""></script><script src="/_next/static/chunks/pages/404-b202c0d8f6fc75c3.js" defer=""></script><script src="/_next/static/DfE9QnPzVfXQ2WncrNw6c/_buildManifest.js" defer=""></script><script src="/_next/static/DfE9QnPzVfXQ2WncrNw6c/_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":"DfE9QnPzVfXQ2WncrNw6c","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
@@ -1 +1 @@
1
- self.__BUILD_MANIFEST=function(s,e,t,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,Q){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[w,"static/chunks/pages/index-bfaacdb55a5a6c9f.js"],"/404":["static/chunks/pages/404-b202c0d8f6fc75c3.js"],"/_error":["static/chunks/pages/_error-bede3a8288930dcf.js"],"/add-systems":[w,"static/chunks/pages/add-systems-d258f0c25fa020bf.js"],"/add-systems/manual":[s,e,a,c,n,b,t,o,g,k,m,q,i,"static/chunks/pages/add-systems/manual-9acaab973dfe86e2.js"],"/add-systems/multiple":[s,e,t,g,y,x,"static/chunks/pages/add-systems/multiple-ba975134a85588f8.js"],"/ant-poc":["static/chunks/pages/ant-poc-b9932971a479f3a7.js"],"/consent":["static/chunks/pages/consent-39d65f13cc8f1cf8.js"],"/consent/configure":[s,e,t,g,y,"static/chunks/pages/consent/configure-723cc3d4f5740ea6.js"],"/consent/configure/add-vendors":[s,e,t,g,y,x,"static/chunks/pages/consent/configure/add-vendors-b34e5324461d0c87.js"],"/consent/privacy-experience":[s,e,b,t,N,"static/chunks/pages/consent/privacy-experience-c946b33b0322b8ad.js"],"/consent/privacy-experience/new":[a,c,p,B,d,h,F,"static/chunks/pages/consent/privacy-experience/new-be194737b41ccec9.js"],"/consent/privacy-experience/[id]":[a,c,p,B,d,h,F,"static/chunks/pages/consent/privacy-experience/[id]-cf51752eb0902233.js"],"/consent/privacy-notices":[s,e,t,N,"static/chunks/pages/consent/privacy-notices-ea57f9d6ad17e957.js"],"/consent/privacy-notices/new":[a,c,p,z,d,h,A,"static/chunks/pages/consent/privacy-notices/new-9611dd42856d6062.js"],"/consent/privacy-notices/[id]":[a,c,p,z,d,h,A,"static/chunks/pages/consent/privacy-notices/[id]-72251b48e2e03a1e.js"],"/consent/properties":[s,e,t,D,"static/chunks/pages/consent/properties-e5748812ba055a56.js"],"/consent/reporting":[s,e,a,t,"static/chunks/pages/consent/reporting-788cf0e34829af46.js"],"/data-catalog":[s,e,a,c,n,t,"static/css/95ac327e5d70148d.css","static/chunks/pages/data-catalog-900004e402c31797.js"],"/data-catalog/[systemId]/projects":[s,e,a,c,n,t,f,l,i,"static/chunks/pages/data-catalog/[systemId]/projects-c44ce244122e96d5.js"],"/data-catalog/[systemId]/projects/[projectUrn]":[s,e,t,E,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]-a29850536c85d4b8.js"],"/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]":[s,e,a,c,n,t,f,l,L,i,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]-ac033a16f043e6f9.js"],"/data-catalog/[systemId]/resources":[s,e,t,E,"static/chunks/pages/data-catalog/[systemId]/resources-305555b74c357bf2.js"],"/data-catalog/[systemId]/resources/[resourceUrn]":[s,e,a,c,n,t,f,l,L,i,"static/chunks/pages/data-catalog/[systemId]/resources/[resourceUrn]-71e26d262afcaea5.js"],"/data-discovery/action-center":[s,e,t,"static/chunks/pages/data-discovery/action-center-d001337d1bb73bd1.js"],"/data-discovery/action-center/[monitorId]":[s,e,a,c,n,t,r,"static/chunks/pages/data-discovery/action-center/[monitorId]-5f9ef1f99818117c.js"],"/data-discovery/action-center/[monitorId]/[systemId]":[s,e,a,c,n,t,m,i,"static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-1a6cff1794122ace.js"],"/data-discovery/activity":[s,e,t,r,v,"static/chunks/pages/data-discovery/activity-11b3ce9f61d9bfe9.js"],"/data-discovery/detection":[s,e,t,r,v,M,"static/chunks/pages/data-discovery/detection-b75dd3e4306ac18e.js"],"/data-discovery/detection/[resourceUrn]":[s,e,t,r,v,M,"static/chunks/pages/data-discovery/detection/[resourceUrn]-054ca46a782e99a5.js"],"/data-discovery/discovery":[s,e,a,c,n,t,r,f,S,i,"static/chunks/pages/data-discovery/discovery-cad50b0cc6d1050c.js"],"/data-discovery/discovery/[resourceUrn]":[s,e,a,c,n,t,r,f,S,i,"static/chunks/pages/data-discovery/discovery/[resourceUrn]-1da20aeb6fc995e4.js"],"/datamap":[s,e,"static/chunks/255-7db55b0e3a0f9dea.js",t,o,k,T,"static/chunks/pages/datamap-8cb714cdd44ac40e.js"],"/dataset":[s,e,u,t,j,"static/chunks/pages/dataset-fa743ddc7f89d76b.js"],"/dataset/new":[u,j,"static/chunks/pages/dataset/new-803c1b577ab17ae3.js"],"/dataset/[datasetId]":[s,e,"static/chunks/9729-fcf6ff4e3534e4a8.js",t,I,"static/chunks/pages/dataset/[datasetId]-6ba18f92ba561114.js"],"/dataset/[datasetId]/[collectionName]":[s,e,a,c,n,U,t,I,i,"static/chunks/pages/dataset/[datasetId]/[collectionName]-7e5df4a0de7540bb.js"],"/dataset/[datasetId]/[collectionName]/[...subfieldNames]":[s,e,a,c,n,U,t,I,i,"static/chunks/pages/dataset/[datasetId]/[collectionName]/[...subfieldNames]-d79551d4c64c398c.js"],"/datastore-connection":["static/css/5f393dea1c0d031c.css","static/chunks/pages/datastore-connection-a78a73b65929853a.js"],"/datastore-connection/new":[u,b,j,C,"static/chunks/pages/datastore-connection/new-abc17fef69cd951b.js"],"/datastore-connection/[id]":[u,j,C,"static/chunks/pages/datastore-connection/[id]-bbe1ca2793798e6b.js"],"/fides-js-docs":["static/chunks/2fbcc6de-a6c61724c327e9fa.js","static/chunks/e3251fe7-5777b5d778e6fffa.js",a,c,n,u,U,P,"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",G,"static/chunks/pages/integrations-ef8000d7388dc915.js"],"/integrations/[id]":[s,e,a,c,n,"static/chunks/9255-336a890ada321f89.js",t,G,"static/chunks/pages/integrations/[id]-d4329043219fed9b.js"],"/login":["static/chunks/pages/login-0cb0eb44bf2dd24c.js"],"/login/[provider]":["static/chunks/pages/login/[provider]-c58beef131c3a82d.js"],"/messaging":[s,e,a,c,n,t,"static/chunks/pages/messaging-1e60754abec1ee6b.js"],"/messaging/add-template":[d,H,"static/chunks/pages/messaging/add-template-f9693cb6a0b7ded8.js"],"/messaging/[id]":[d,H,"static/chunks/pages/messaging/[id]-ad02e019b2467958.js"],"/privacy-requests":[s,e,t,J,"static/chunks/pages/privacy-requests-d85c0d16ba09ba35.js"],"/privacy-requests/configure":["static/chunks/pages/privacy-requests/configure-2987edc77388e85a.js"],"/privacy-requests/configure/messaging":["static/chunks/pages/privacy-requests/configure/messaging-f5f7a8069909ef24.js"],"/privacy-requests/configure/storage":["static/chunks/pages/privacy-requests/configure/storage-9f7eaad05e5b9292.js"],"/privacy-requests/[id]":[J,"static/css/15fb7d4837a1de34.css","static/chunks/pages/privacy-requests/[id]-fe765154315782cf.js"],"/properties":[s,e,t,D,"static/chunks/pages/properties-20ca2f963906674b.js"],"/properties/add-property":[d,K,"static/chunks/pages/properties/add-property-630a6a3dd6502ba6.js"],"/properties/[id]":[d,K,"static/chunks/pages/properties/[id]-94e2faa73dd6a3e6.js"],"/reporting/datamap":[s,e,a,c,n,P,t,o,k,T,"static/chunks/pages/reporting/datamap-afedc48ef4e7f858.js"],"/settings/about":["static/chunks/pages/settings/about-a49d0f84cf0cf05e.js"],"/settings/consent":["static/chunks/pages/settings/consent-89524101b7279f6e.js"],"/settings/custom-fields":[s,e,t,o,"static/chunks/pages/settings/custom-fields-52d030b1db2ca1b9.js"],"/settings/domain-records":[s,e,t,"static/chunks/pages/settings/domain-records-fa42d8f18df44927.js"],"/settings/domains":["static/chunks/pages/settings/domains-24cba38685dc872c.js"],"/settings/email-templates":["static/chunks/pages/settings/email-templates-6fd6071e2009b8f2.js"],"/settings/locations":[s,O,"static/chunks/pages/settings/locations-66c757325cb58467.js"],"/settings/organization":["static/chunks/pages/settings/organization-a08693d0d1e10bc8.js"],"/settings/regulations":[s,O,"static/chunks/pages/settings/regulations-c6c239996cfa6ae8.js"],"/systems":[s,e,t,"static/chunks/pages/systems-abd68fc5ddde5482.js"],"/systems/configure/[id]":[s,e,a,c,n,b,t,o,g,k,m,q,i,"static/chunks/pages/systems/configure/[id]-4f5a28226575c976.js"],"/systems/configure/[id]/test-datasets":[u,j,"static/chunks/pages/systems/configure/[id]/test-datasets-151571cff4e85894.js"],"/taxonomy":["static/chunks/678d4732-50255cc09048e643.js",a,c,n,p,"static/chunks/570-c99f07161bd339cd.js",o,"static/css/34a7eb08b86ddb57.css","static/chunks/pages/taxonomy-16b4d75c49276add.js"],"/user-management":[_,"static/chunks/pages/user-management-6c9ad62479a7d03e.js"],"/user-management/new":[_,Q,"static/chunks/pages/user-management/new-be690621a944bfe2.js"],"/user-management/profile/[id]":[_,Q,"static/chunks/pages/user-management/profile/[id]-78eaf933f755bfe8.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/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-aab99ff80f707473.js","static/chunks/2858-0b44609b6be7850b.js","static/chunks/2866-a73888c17a195cbe.js","static/chunks/9278-9b1b5970f0702668.js","static/css/d2d4e9a6923e6730.css","static/chunks/9282-2bfbdca45e84e810.js","static/chunks/7980-4bd08957448dea32.js","static/chunks/9999-637e0e5341f15f4a.js","static/chunks/6527-0eed08abe252a918.js","static/chunks/355-8a77c9a1cd027f2e.js","static/chunks/4294-5b3aa9d605217915.js","static/chunks/6372-ca9c12ac8902365b.js","static/chunks/9327-2cba327d10586683.js","static/chunks/5277-e8a036319456127f.js","static/chunks/8499-43606100edf42fdf.js","static/chunks/1376-5cea5ef9362215e8.js","static/chunks/7453-39761c38da31257e.js","static/chunks/4723-0a3c5e2ce143a7d0.js","static/chunks/7751-a8f31c062d4cb09d.js","static/chunks/6315-fa1519cdf080f42d.js","static/chunks/5487-3ad50d21cdbc9209.js","static/chunks/8702-d1c8296f9f6afc10.js","static/chunks/5480-f49696df5e8ae500.js","static/css/972dc7eef106ee7c.css","static/chunks/4450-36234280bee624ff.js","static/chunks/5826-e5dcb4e68cfe6289.js","static/chunks/6853-8941824350c3c1a8.js","static/chunks/9014-eeae6f581158e645.js","static/chunks/3320-5dd62a256ecfc9c3.js","static/chunks/3615-5e2d062d684b8fa1.js","static/chunks/6954-3b887fb444f9228c.js","static/chunks/79-f9b948ebb186900f.js","static/chunks/3872-4e053c20d546f027.js","static/chunks/3855-b6b7865dedd7bc2a.js","static/chunks/2397-ee53235fb21b5e97.js","static/chunks/9046-04bd7becea207cb1.js","static/chunks/5258-0658dc2274df6832.js","static/chunks/9767-1a23925d2cb27b51.js","static/chunks/9187-851756440f79cd75.js","static/chunks/5973-52aee296edc44f7e.js","static/chunks/1100-053fc6b76c65a00f.js","static/chunks/8433-b3008ecaf9834e7f.js","static/chunks/4060-8d165e1236ea521a.js","static/chunks/3086-b5054ec2c75700b9.js","static/chunks/1150-035a721a04f4451e.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
1
+ self.__BUILD_MANIFEST=function(s,e,a,t,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,Q){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[w,"static/chunks/pages/index-bfaacdb55a5a6c9f.js"],"/404":["static/chunks/pages/404-b202c0d8f6fc75c3.js"],"/_error":["static/chunks/pages/_error-bede3a8288930dcf.js"],"/add-systems":[w,"static/chunks/pages/add-systems-d258f0c25fa020bf.js"],"/add-systems/manual":[s,e,t,c,n,b,a,o,g,k,m,q,i,"static/chunks/pages/add-systems/manual-9acaab973dfe86e2.js"],"/add-systems/multiple":[s,e,a,g,y,x,"static/chunks/pages/add-systems/multiple-ba975134a85588f8.js"],"/ant-poc":["static/chunks/pages/ant-poc-b9932971a479f3a7.js"],"/consent":["static/chunks/pages/consent-39d65f13cc8f1cf8.js"],"/consent/configure":[s,e,a,g,y,"static/chunks/pages/consent/configure-723cc3d4f5740ea6.js"],"/consent/configure/add-vendors":[s,e,a,g,y,x,"static/chunks/pages/consent/configure/add-vendors-b34e5324461d0c87.js"],"/consent/privacy-experience":[s,e,b,a,N,"static/chunks/pages/consent/privacy-experience-c946b33b0322b8ad.js"],"/consent/privacy-experience/new":[t,c,p,B,d,h,F,"static/chunks/pages/consent/privacy-experience/new-a9d9402c219d13e5.js"],"/consent/privacy-experience/[id]":[t,c,p,B,d,h,F,"static/chunks/pages/consent/privacy-experience/[id]-fb75fa0aea77678d.js"],"/consent/privacy-notices":[s,e,a,N,"static/chunks/pages/consent/privacy-notices-ea57f9d6ad17e957.js"],"/consent/privacy-notices/new":[t,c,p,z,d,h,A,"static/chunks/pages/consent/privacy-notices/new-9611dd42856d6062.js"],"/consent/privacy-notices/[id]":[t,c,p,z,d,h,A,"static/chunks/pages/consent/privacy-notices/[id]-72251b48e2e03a1e.js"],"/consent/properties":[s,e,a,D,"static/chunks/pages/consent/properties-e5748812ba055a56.js"],"/consent/reporting":[s,e,t,a,"static/chunks/pages/consent/reporting-788cf0e34829af46.js"],"/data-catalog":[s,e,t,c,n,a,"static/css/95ac327e5d70148d.css","static/chunks/pages/data-catalog-900004e402c31797.js"],"/data-catalog/[systemId]/projects":[s,e,t,c,n,a,f,l,i,"static/chunks/pages/data-catalog/[systemId]/projects-c44ce244122e96d5.js"],"/data-catalog/[systemId]/projects/[projectUrn]":[s,e,a,E,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]-a29850536c85d4b8.js"],"/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]":[s,e,t,c,n,a,f,l,L,i,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]-ac033a16f043e6f9.js"],"/data-catalog/[systemId]/resources":[s,e,a,E,"static/chunks/pages/data-catalog/[systemId]/resources-305555b74c357bf2.js"],"/data-catalog/[systemId]/resources/[resourceUrn]":[s,e,t,c,n,a,f,l,L,i,"static/chunks/pages/data-catalog/[systemId]/resources/[resourceUrn]-71e26d262afcaea5.js"],"/data-discovery/action-center":[s,e,a,"static/chunks/pages/data-discovery/action-center-d001337d1bb73bd1.js"],"/data-discovery/action-center/[monitorId]":[s,e,t,c,n,a,r,"static/chunks/pages/data-discovery/action-center/[monitorId]-5f9ef1f99818117c.js"],"/data-discovery/action-center/[monitorId]/[systemId]":[s,e,t,c,n,a,m,i,"static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-1a6cff1794122ace.js"],"/data-discovery/activity":[s,e,a,r,v,"static/chunks/pages/data-discovery/activity-11b3ce9f61d9bfe9.js"],"/data-discovery/detection":[s,e,a,r,v,M,"static/chunks/pages/data-discovery/detection-b75dd3e4306ac18e.js"],"/data-discovery/detection/[resourceUrn]":[s,e,a,r,v,M,"static/chunks/pages/data-discovery/detection/[resourceUrn]-054ca46a782e99a5.js"],"/data-discovery/discovery":[s,e,t,c,n,a,r,f,S,i,"static/chunks/pages/data-discovery/discovery-cad50b0cc6d1050c.js"],"/data-discovery/discovery/[resourceUrn]":[s,e,t,c,n,a,r,f,S,i,"static/chunks/pages/data-discovery/discovery/[resourceUrn]-1da20aeb6fc995e4.js"],"/datamap":[s,e,"static/chunks/255-7db55b0e3a0f9dea.js",a,o,k,T,"static/chunks/pages/datamap-8cb714cdd44ac40e.js"],"/dataset":[s,e,u,a,j,"static/chunks/pages/dataset-fa743ddc7f89d76b.js"],"/dataset/new":[u,j,"static/chunks/pages/dataset/new-803c1b577ab17ae3.js"],"/dataset/[datasetId]":[s,e,"static/chunks/9729-fcf6ff4e3534e4a8.js",a,I,"static/chunks/pages/dataset/[datasetId]-6ba18f92ba561114.js"],"/dataset/[datasetId]/[collectionName]":[s,e,t,c,n,U,a,I,i,"static/chunks/pages/dataset/[datasetId]/[collectionName]-7e5df4a0de7540bb.js"],"/dataset/[datasetId]/[collectionName]/[...subfieldNames]":[s,e,t,c,n,U,a,I,i,"static/chunks/pages/dataset/[datasetId]/[collectionName]/[...subfieldNames]-d79551d4c64c398c.js"],"/datastore-connection":["static/css/5f393dea1c0d031c.css","static/chunks/pages/datastore-connection-a78a73b65929853a.js"],"/datastore-connection/new":[u,b,j,C,"static/chunks/pages/datastore-connection/new-abc17fef69cd951b.js"],"/datastore-connection/[id]":[u,j,C,"static/chunks/pages/datastore-connection/[id]-bbe1ca2793798e6b.js"],"/fides-js-docs":["static/chunks/2fbcc6de-a6c61724c327e9fa.js","static/chunks/e3251fe7-5777b5d778e6fffa.js",t,c,n,u,U,P,"static/css/ab65b8cc3144bfc8.css","static/chunks/905-8ab919e7b274ed50.js","static/chunks/pages/fides-js-docs-80b241bf6cddb72e.js"],"/integrations":[t,c,n,"static/chunks/6834-dcda0a8ed484775e.js",G,"static/chunks/pages/integrations-ef8000d7388dc915.js"],"/integrations/[id]":[s,e,t,c,n,"static/chunks/9255-336a890ada321f89.js",a,G,"static/chunks/pages/integrations/[id]-d4329043219fed9b.js"],"/login":["static/chunks/pages/login-0cb0eb44bf2dd24c.js"],"/login/[provider]":["static/chunks/pages/login/[provider]-c58beef131c3a82d.js"],"/messaging":[s,e,t,c,n,a,"static/chunks/pages/messaging-1e60754abec1ee6b.js"],"/messaging/add-template":[d,H,"static/chunks/pages/messaging/add-template-f9693cb6a0b7ded8.js"],"/messaging/[id]":[d,H,"static/chunks/pages/messaging/[id]-ad02e019b2467958.js"],"/privacy-requests":[s,e,a,J,"static/chunks/pages/privacy-requests-d85c0d16ba09ba35.js"],"/privacy-requests/configure":["static/chunks/pages/privacy-requests/configure-2987edc77388e85a.js"],"/privacy-requests/configure/messaging":["static/chunks/pages/privacy-requests/configure/messaging-f5f7a8069909ef24.js"],"/privacy-requests/configure/storage":["static/chunks/pages/privacy-requests/configure/storage-9f7eaad05e5b9292.js"],"/privacy-requests/[id]":[J,"static/css/15fb7d4837a1de34.css","static/chunks/pages/privacy-requests/[id]-fe765154315782cf.js"],"/properties":[s,e,a,D,"static/chunks/pages/properties-20ca2f963906674b.js"],"/properties/add-property":[d,K,"static/chunks/pages/properties/add-property-630a6a3dd6502ba6.js"],"/properties/[id]":[d,K,"static/chunks/pages/properties/[id]-94e2faa73dd6a3e6.js"],"/reporting/datamap":[s,e,t,c,n,P,a,o,k,T,"static/chunks/pages/reporting/datamap-afedc48ef4e7f858.js"],"/settings/about":["static/chunks/pages/settings/about-a49d0f84cf0cf05e.js"],"/settings/consent":["static/chunks/pages/settings/consent-89524101b7279f6e.js"],"/settings/custom-fields":[s,e,a,o,"static/chunks/pages/settings/custom-fields-52d030b1db2ca1b9.js"],"/settings/domain-records":[s,e,a,"static/chunks/pages/settings/domain-records-fa42d8f18df44927.js"],"/settings/domains":["static/chunks/pages/settings/domains-24cba38685dc872c.js"],"/settings/email-templates":["static/chunks/pages/settings/email-templates-6fd6071e2009b8f2.js"],"/settings/locations":[s,O,"static/chunks/pages/settings/locations-66c757325cb58467.js"],"/settings/organization":["static/chunks/pages/settings/organization-a08693d0d1e10bc8.js"],"/settings/regulations":[s,O,"static/chunks/pages/settings/regulations-c6c239996cfa6ae8.js"],"/systems":[s,e,a,"static/chunks/pages/systems-abd68fc5ddde5482.js"],"/systems/configure/[id]":[s,e,t,c,n,b,a,o,g,k,m,q,i,"static/chunks/pages/systems/configure/[id]-4f5a28226575c976.js"],"/systems/configure/[id]/test-datasets":[u,j,"static/chunks/pages/systems/configure/[id]/test-datasets-151571cff4e85894.js"],"/taxonomy":["static/chunks/678d4732-50255cc09048e643.js",t,c,n,p,"static/chunks/570-c99f07161bd339cd.js",o,"static/css/34a7eb08b86ddb57.css","static/chunks/pages/taxonomy-16b4d75c49276add.js"],"/user-management":[_,"static/chunks/pages/user-management-6c9ad62479a7d03e.js"],"/user-management/new":[_,Q,"static/chunks/pages/user-management/new-be690621a944bfe2.js"],"/user-management/profile/[id]":[_,Q,"static/chunks/pages/user-management/profile/[id]-78eaf933f755bfe8.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/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-aab99ff80f707473.js","static/chunks/2858-0b44609b6be7850b.js","static/chunks/2866-a73888c17a195cbe.js","static/chunks/9278-9b1b5970f0702668.js","static/css/d2d4e9a6923e6730.css","static/chunks/9282-2bfbdca45e84e810.js","static/chunks/7980-4bd08957448dea32.js","static/chunks/9999-637e0e5341f15f4a.js","static/chunks/6527-0eed08abe252a918.js","static/chunks/355-8a77c9a1cd027f2e.js","static/chunks/4294-5b3aa9d605217915.js","static/chunks/6372-ca9c12ac8902365b.js","static/chunks/9327-2cba327d10586683.js","static/chunks/5277-e8a036319456127f.js","static/chunks/8499-43606100edf42fdf.js","static/chunks/1376-5cea5ef9362215e8.js","static/chunks/7453-39761c38da31257e.js","static/chunks/4723-0a3c5e2ce143a7d0.js","static/chunks/7751-a8f31c062d4cb09d.js","static/chunks/6315-fa1519cdf080f42d.js","static/chunks/5487-3ad50d21cdbc9209.js","static/chunks/8702-d1c8296f9f6afc10.js","static/chunks/5480-f49696df5e8ae500.js","static/css/972dc7eef106ee7c.css","static/chunks/4450-36234280bee624ff.js","static/chunks/5826-e5dcb4e68cfe6289.js","static/chunks/6853-8941824350c3c1a8.js","static/chunks/9014-eeae6f581158e645.js","static/chunks/3412-7ec8751b8182e1bf.js","static/chunks/3615-5e2d062d684b8fa1.js","static/chunks/6954-3b887fb444f9228c.js","static/chunks/79-f9b948ebb186900f.js","static/chunks/3872-4e053c20d546f027.js","static/chunks/3855-b6b7865dedd7bc2a.js","static/chunks/2397-ee53235fb21b5e97.js","static/chunks/9046-04bd7becea207cb1.js","static/chunks/5258-0658dc2274df6832.js","static/chunks/9767-1a23925d2cb27b51.js","static/chunks/9187-851756440f79cd75.js","static/chunks/5973-52aee296edc44f7e.js","static/chunks/1100-053fc6b76c65a00f.js","static/chunks/8433-b3008ecaf9834e7f.js","static/chunks/4060-8d165e1236ea521a.js","static/chunks/3086-b5054ec2c75700b9.js","static/chunks/1150-035a721a04f4451e.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3412],{3412:function(e,n,i){i.d(n,{Z:function(){return U}});var a=i(24246),t=i(77181),o=i(34090),l=i(86677),r=i(27378),s=i(55484),d=i(16134),c=i(812);let p=(0,t.IUT)({displayName:"DesktopIcon",viewBox:"0 0 24 24",path:(0,a.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,t.IUT)({displayName:"MobileIcon",viewBox:"0 0 24 24",path:(0,a.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),b=i(46628),_=i(7426),m=i(60325);let f={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),h=i.n(y),x=i(43218),w=i.n(x),C=i(52253),k=i(48515),j=i(21702);let V={language:j.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},Z=e=>({...V,...e.translations?e.translations[0]:{}}),E=(e,n)=>{var i,a,t,o;return{options:{debug:!1,geolocationApiUrl:"",isGeolocationEnabled:!1,isOverlayEnabled:!0,isPrefetchEnabled:!1,overlayParentId:C.Vk,modalLinkId:null,privacyCenterUrl:"http://localhost:3000",fidesApiUrl:"http://localhost:8080/api/v1",preventDismissal:null!==(o=e.dismissable)&&void 0!==o&&o,allowHTMLDescription:!0,fidesString:null,fidesJsBaseUrl:"",base64Cookie:!1,fidesLocale:null===(a=e.translations)||void 0===a?void 0:null===(i=a[0])||void 0===i?void 0:i.language,fidesClearCookie:!0},experience:{id:"pri_111",region:"us_ca",component:"banner_and_modal",available_locales:null===(t=e.translations)||void 0===t?void 0:t.map(e=>e.language),experience_config:{id:"pri_222",regions:["us_ca"],component:"banner_and_modal",disabled:!1,is_default:!0,dismissable:e.dismissable,show_layer1_notices:!1,layer1_button_options:k.O.OPT_IN_OPT_OUT,allow_language_selection:!0,auto_detect_language:!0,auto_subdomain_cookie_deletion:!0,language:"en",translations:[Z(e)]},privacy_notices:n},geolocation:{country:"US",location:"US-CA",region:"CA"}}},A=e=>{let{language:n,is_default:i,...a}=V,t=Object.keys(a).map(n=>{let i=e[n];return{[n]:void 0!==i?i:V[n]}}).reduce((e,n)=>({...e,...n}),{});return{language:e.language,is_default:e.is_default,...t}};var D=i(71922),H=i(32222);let N=e=>{let{title:n,description:i}=e;return(0,a.jsx)(t.kCb,{h:"full",justify:"center",align:"center",children:(0,a.jsxs)(t.kCb,{bgColor:"white",borderRadius:"md",p:6,boxShadow:"md",direction:"column",align:"center",gap:"2",maxW:"512px","data-testid":"no-preview-notice",children:[(0,a.jsx)(t.xvT,{fontSize:"lg",fontWeight:"500",align:"center",children:n}),(0,a.jsx)(t.xvT,{color:"gray.500",align:"center",children:i})]})})};var M=e=>{var n;let{allPrivacyNotices:i,initialValues:l,translation:s,isMobilePreview:d}=e,{values:p}=(0,o.u6)(),[u,v]=(0,r.useState)([]),b=[j.re.BANNER_AND_MODAL,j.re.MODAL].includes(p.component),_=(0,t.pmc)(),[m]=(0,D.Je)(),f=async e=>{let n=await m(e);n.isError&&_({status:"error",description:(0,c.e$)(n.error,"A problem occurred while fetching privacy notice data. Some notices may not display correctly on the preview.")});let{data:i}=await m(e);return i};(0,r.useEffect)(()=>{p.privacy_notice_ids&&p.component!==j.re.TCF_OVERLAY?Promise.all(p.privacy_notice_ids.map(e=>f(e))).then(e=>v(e.filter(e=>void 0!==e))):v([])},[p.privacy_notice_ids]);let g=(0,r.useMemo)(()=>E(l,u),[l,u]);(0,r.useEffect)(()=>{var e,n,i,a;p.component===j.re.MODAL&&(g.experience.experience_config.component=j.re.MODAL);let t=null===(e=p.translations)||void 0===e?void 0:e.find(e=>e.language===(null==s?void 0:s.language));(null===(n=p.translations)||void 0===n?void 0:n.length)&&(t?(g.experience.available_locales=[...g.experience.available_locales||[],t.language],g.experience.experience_config.translations[0]=A(t),g.options.fidesLocale=t.language):p.translations&&(g.experience.experience_config.translations[0]=A(p.translations[0]),g.options.fidesLocale=p.translations[0].language)),g.experience.experience_config.show_layer1_notices=!!(null===(i=p.privacy_notice_ids)||void 0===i?void 0:i.length)&&!!p.show_layer1_notices,g.experience.experience_config.layer1_button_options=p.component===j.re.BANNER_AND_MODAL&&p.layer1_button_options||k.O.OPT_IN_OPT_OUT,g.options.preventDismissal=!p.dismissable,window.Fides&&(null===(a=p.privacy_notice_ids)||void 0===a?void 0:a.length)&&b&&window.Fides.init(g)},[p,s,g,i,b]);let y=document.getElementById("fides-modal");return(y&&y.removeAttribute("tabindex"),b)?(null===(n=p.privacy_notice_ids)||void 0===n?void 0:n.length)?(0,a.jsxs)(t.kCb,{h:"full",justify:"center",align:"center",overflow:"scroll",children:[(0,a.jsx)(h(),{id:"905800c62191633b",dynamic:[C.Vk],children:"div#fides-overlay{z-index:5000!important}div#".concat(C.Vk,"{padding-top:45px;margin:auto!important;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}")}),b?(0,a.jsx)("style",{children:"div#fides-modal {\n display: flex !important;\n justify-content: center;\n background-color: unset;\n ".concat(p.component===j.re.BANNER_AND_MODAL?"padding-top: 3rem; padding-bottom: 3rem;":"","\n }")}):null,d?(0,a.jsx)("style",{children:"\n div#".concat(C.Vk," {\n width: 70% !important;\n }\n div.fides-modal-button-group {\n flex-direction: column !important;\n }\n div#fides-modal {\n width: 70% !important;\n margin: auto;\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,a.jsx)("style",{children:"\n div#fides-banner {\n width: 90% !important;\n }\n "}),(0,a.jsx)(w(),{id:"fides-js-base",src:"/lib/fides.js",onReady:()=>{if(b){var e;null===(e=window.Fides)||void 0===e||e.init(g)}}}),(0,a.jsx)("div",{id:C.Vk,className:h().dynamic([["905800c62191633b",[C.Vk]]])})]}):(0,a.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,a.jsx)(N,{title:"".concat(H.J.get(p.component)," preview not available"),description:"There is no preview available for ".concat(H.J.get(p.component),". You can edit the available settings\n and languages to the left.")})},O=i(94315),T=i(16194),L=i(16277),P=i(31883);let S=e=>{let n=(0,m.y3)(e),i={};return Object.entries(n).forEach(e=>{let[n,a]=e;if(a.included){let e=f[n];i[n]=a.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)},R=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,[f]=(0,O.mJ)(),[y]=(0,O.$d)(),h=(0,t.pmc)(),[x,w]=(0,r.useState)(!1),C=(0,l.useRouter)(),{data:k}=(0,_.tB)({api_set:!1}),j=null==k?void 0:null===(n=k.plus_consent_settings)||void 0===n?void 0:n.enable_translations,V=(0,d.C)(g.Zp),Z=(0,d.C)(g.G1);(0,g.Ah)({page:V,size:Z});let E=(0,d.C)(g.fJ),A=(0,d.C)(D.sX),H=i?{...m.DD,...(0,m.Uv)(i)}:m.DD,N=async e=>{var n,a;let t;e.privacy_notice_ids=null===(n=e.privacy_notice_ids)||void 0===n?void 0:n.filter(e=>"tcf_purposes_placeholder"!==e);let o={...e,disabled:null===(a=null==i?void 0:i.disabled)||void 0===a||a,allow_language_selection:e.translations&&e.translations.length>1};if(i){let{component:e,...n}=o;t=await y({...n,id:i.id})}else t=await f(o);(0,P.D4)(t)?h((0,b.Vo)((0,c.e$)(t.error))):(h((0,b.t5)("Privacy experience successfully ".concat(i?"updated":"created"))),C.push(v.w0))},[S,B]=(0,r.useState)(void 0),[U,I]=(0,r.useState)(!1);return(0,a.jsx)(o.J9,{initialValues:H,enableReinitialize:!0,onSubmit:N,validationSchema:R,children:(0,a.jsx)(o.l0,{style:{height:"100vh"},children:(0,a.jsxs)(t.kCb,{w:"full",h:"full",direction:"row","data-testid":"privacy-experience-detail-page",children:[S?(0,a.jsx)(L.Z,{translation:S,translationsEnabled:j,isOOB:U,onReturnToMainForm:()=>{B(void 0),I(!1)}}):(0,a.jsx)(T.d0,{allPrivacyNotices:A,translationsEnabled:j,onSelectTranslation:e=>{B({...e,name:(0,m.Go)(e,E)})},onCreateTranslation:e=>{let n=null==s?void 0:s.find(n=>n.language===e);return n&&I(!0),null!=n?n:{language:e,is_default:!1}}}),(0,a.jsxs)(t.kCb,{direction:"column",w:"75%",bgColor:"gray.50",overflowY:"hidden",children:[(0,a.jsxs)(t.kCb,{direction:"row",p:4,align:"center",bgColor:"white",borderBottom:"1px solid #DEE5EE",children:[(0,a.jsx)(t.xvT,{fontSize:"md",fontWeight:"semibold",children:"PREVIEW"}),(0,a.jsx)(t.LZC,{}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(t.wpx,{icon:(0,a.jsx)(u,{}),"aria-label":"View mobile preview",onClick:()=>w(!0),className:x?"bg-gray-200":void 0}),(0,a.jsx)(t.wpx,{icon:(0,a.jsx)(p,{}),"aria-label":"View desktop preview",onClick:()=>w(!1),className:x?void 0:"bg-gray-200"})]})]}),(0,a.jsx)(M,{allPrivacyNotices:A,initialValues:H,translation:S,isMobilePreview:x})]})]})})})}},32222:function(e,n,i){i.d(n,{J:function(){return a}});let a=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 a.Bw},D4:function(){return a.D4}});var a=i(19043)}}]);