ethyca-fides 2.72.4b1__py2.py3-none-any.whl → 2.73.0rc0__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.

Potentially problematic release.


This version of ethyca-fides might be problematic. Click here for more details.

Files changed (301) hide show
  1. {ethyca_fides-2.72.4b1.dist-info → ethyca_fides-2.73.0rc0.dist-info}/METADATA +1 -1
  2. {ethyca_fides-2.72.4b1.dist-info → ethyca_fides-2.73.0rc0.dist-info}/RECORD +248 -246
  3. fides/_version.py +3 -3
  4. fides/api/service/async_dsr/strategies/async_dsr_strategy_polling.py +1 -0
  5. fides/api/service/connectors/saas_connector.py +25 -38
  6. fides/api/service/privacy_request/request_service.py +1 -1
  7. fides/api/util/saas_util.py +27 -1
  8. fides/config/execution_settings.py +1 -1
  9. fides/ui-build/static/admin/404.html +1 -1
  10. fides/ui-build/static/admin/_next/static/Y4fC3QVMk1ujcOb92jMd8/_buildManifest.js +1 -0
  11. fides/ui-build/static/admin/_next/static/chunks/{1099-1959c2e271a9588d.js → 1099-fa8b82f521b23cce.js} +1 -1
  12. fides/ui-build/static/admin/_next/static/chunks/{1115-d8f2a0953960d648.js → 1115-d7ce851b36722c41.js} +1 -1
  13. fides/ui-build/static/admin/_next/static/chunks/{1437-c3c8f421fc8d9bf7.js → 1438-62df8751f76235e7.js} +1 -1
  14. fides/ui-build/static/admin/_next/static/chunks/{1817-877489cf6bb7185c.js → 1817-0de0312294019817.js} +1 -1
  15. fides/ui-build/static/admin/_next/static/chunks/{1975.50599b6774562644.js → 1975.6ca0e76b5a3d1955.js} +1 -1
  16. fides/ui-build/static/admin/_next/static/chunks/{2040-b9e38ecc741148fc.js → 2040-a18cc21821e2d121.js} +1 -1
  17. fides/ui-build/static/admin/_next/static/chunks/{2397-39c59d3fdf13042e.js → 2397-b9c1b4a7f11e862d.js} +1 -1
  18. fides/ui-build/static/admin/_next/static/chunks/2921-a5dac2eacdcc32ff.js +1 -0
  19. fides/ui-build/static/admin/_next/static/chunks/3080-218ac9199ab43f37.js +1 -0
  20. fides/ui-build/static/admin/_next/static/chunks/{3377-6e7bdffc46ffe15d.js → 3377-c2c9eb177bec8719.js} +1 -1
  21. fides/ui-build/static/admin/_next/static/chunks/{3696-84990aa1baa21fad.js → 3696-21e3dec6c2023875.js} +1 -1
  22. fides/ui-build/static/admin/_next/static/chunks/{3700-bde60c51fb2606a8.js → 3700-940e5630ee5efe10.js} +1 -1
  23. fides/ui-build/static/admin/_next/static/chunks/3729-a1aaa30987ee9f28.js +1 -0
  24. fides/ui-build/static/admin/_next/static/chunks/{3772-3c849a72d0129ae4.js → 3772-bb84842df51d3f3f.js} +1 -1
  25. fides/ui-build/static/admin/_next/static/chunks/3872-25c16c5a21152b31.js +1 -0
  26. fides/ui-build/static/admin/_next/static/chunks/3873-d759bbe7137ae8c2.js +1 -0
  27. fides/ui-build/static/admin/_next/static/chunks/{3923-6e82c845722d09ce.js → 3923-7f0aa36c9e09cedf.js} +1 -1
  28. fides/ui-build/static/admin/_next/static/chunks/{401-63df8127ab5e8b1a.js → 401-874303feb3899562.js} +1 -1
  29. fides/ui-build/static/admin/_next/static/chunks/4322-2b986cc150c42771.js +1 -0
  30. fides/ui-build/static/admin/_next/static/chunks/{4496-6ff88def38644170.js → 4496-903c81292ffd8f91.js} +1 -1
  31. fides/ui-build/static/admin/_next/static/chunks/{5185-e662084251450372.js → 5185-fc171b6acce9f915.js} +1 -1
  32. fides/ui-build/static/admin/_next/static/chunks/{5258-004011f620451d36.js → 5258-cf0d2c4c4d55a94b.js} +1 -1
  33. fides/ui-build/static/admin/_next/static/chunks/5327-282ef735516d3b89.js +1 -0
  34. fides/ui-build/static/admin/_next/static/chunks/{549-cb23e43b4fe4750e.js → 549-2d9bde37e5fe13eb.js} +1 -1
  35. fides/ui-build/static/admin/_next/static/chunks/{5643-fb6082b8ecb6c0d9.js → 5643-48a5e0ad8b9fc3f7.js} +1 -1
  36. fides/ui-build/static/admin/_next/static/chunks/{5783-0171fca3154d4812.js → 5783-63912bab7f80b0f8.js} +1 -1
  37. fides/ui-build/static/admin/_next/static/chunks/6084-023f8c6e65faeb9c.js +1 -0
  38. fides/ui-build/static/admin/_next/static/chunks/6853-c348f6e95f987cbf.js +1 -0
  39. fides/ui-build/static/admin/_next/static/chunks/6882-ec4429aef277a3a4.js +1 -0
  40. fides/ui-build/static/admin/_next/static/chunks/{6954-d909264a2674ea4e.js → 6954-c44ac4e70e777c2f.js} +1 -1
  41. fides/ui-build/static/admin/_next/static/chunks/7170-4ac982fffdba3a55.js +1 -0
  42. fides/ui-build/static/admin/_next/static/chunks/{7245-305e4a8a8be70fad.js → 7245-120f536e09decb85.js} +1 -1
  43. fides/ui-build/static/admin/_next/static/chunks/{7476-2e1176b163688789.js → 7476-4234fb244676ec13.js} +1 -1
  44. fides/ui-build/static/admin/_next/static/chunks/{7488-502aeb16e3a27d42.js → 7488-2db0992474f8056e.js} +1 -1
  45. fides/ui-build/static/admin/_next/static/chunks/{7630-bb44ecce0b2146ed.js → 7630-d7bd74d0cfdb22df.js} +1 -1
  46. fides/ui-build/static/admin/_next/static/chunks/{7773-1303b235272f3dbf.js → 7773-6dce6187fe2c6984.js} +1 -1
  47. fides/ui-build/static/admin/_next/static/chunks/{796-d30fca0fe341916b.js → 796-fae64888b8b2f369.js} +1 -1
  48. fides/ui-build/static/admin/_next/static/chunks/{8011-866a514d483aaaac.js → 8011-6e40c969c9fa7d35.js} +1 -1
  49. fides/ui-build/static/admin/_next/static/chunks/{8212-334e971822270277.js → 8212-18d8da0f9208f978.js} +1 -1
  50. fides/ui-build/static/admin/_next/static/chunks/8373-d6c02a17fb0b118e.js +1 -0
  51. fides/ui-build/static/admin/_next/static/chunks/8563-fe06e1fa6d795938.js +1 -0
  52. fides/ui-build/static/admin/_next/static/chunks/8853-28242f6079441663.js +1 -0
  53. fides/ui-build/static/admin/_next/static/chunks/{9676.1ea49d4b6e0541f2.js → 9676.704cc210f59d0083.js} +1 -1
  54. fides/ui-build/static/admin/_next/static/chunks/{9826-fd27a5fd2ed44c3d.js → 9826-aecc5ddec86989dc.js} +1 -1
  55. fides/ui-build/static/admin/_next/static/chunks/{9899-ea04d345468691b3.js → 9899-303921e3d0697960.js} +1 -1
  56. fides/ui-build/static/admin/_next/static/chunks/pages/{404-5cffe00870fefd79.js → 404-c31cef0ce3fbeebf.js} +1 -1
  57. fides/ui-build/static/admin/_next/static/chunks/pages/{_app-32ece8369a437df8.js → _app-6f721c56270cb96e.js} +7 -7
  58. fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{manual-02f6ef0e6a161961.js → manual-b9dbc9ac030f0490.js} +1 -1
  59. fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{multiple-4458172cd75babb0.js → multiple-f706664770dd3e7f.js} +1 -1
  60. fides/ui-build/static/admin/_next/static/chunks/pages/add-systems-3f0d8698f01aabc5.js +1 -0
  61. fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure/{add-vendors-1a821b298d86a22d.js → add-vendors-fcd031b2b775e4f3.js} +1 -1
  62. fides/ui-build/static/admin/_next/static/chunks/pages/consent/{configure-6f35d961da39f539.js → configure-0bd2eb0110873c4d.js} +1 -1
  63. fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/{[id]-4caea1cb619aad01.js → [id]-53f6037b25dd5ccb.js} +1 -1
  64. fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/{new-a5e738a234dadc7e.js → new-e74cb5ea87f15b40.js} +1 -1
  65. fides/ui-build/static/admin/_next/static/chunks/pages/consent/{privacy-experience-0311c558666456cc.js → privacy-experience-ae8dff75e1c6c413.js} +1 -1
  66. fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{[id]-b062d2a4a8102ce1.js → [id]-b40fa30ca73e50c2.js} +1 -1
  67. fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{new-524a3e86b2568398.js → new-7197fadcd57b623d.js} +1 -1
  68. fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices-30cecb4656886008.js +1 -0
  69. fides/ui-build/static/admin/_next/static/chunks/pages/consent/{properties-15dac492b739cf83.js → properties-5cba88e6839a087d.js} +1 -1
  70. fides/ui-build/static/admin/_next/static/chunks/pages/consent/reporting-f2690c381c1d1a52.js +1 -0
  71. fides/ui-build/static/admin/_next/static/chunks/pages/{consent-7496b13734f49085.js → consent-289d21aa6c42828b.js} +1 -1
  72. fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]-89f202662b70059a.js +1 -0
  73. fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]-6c19b6be18db5972.js +1 -0
  74. fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects-aac70cc10a651e80.js +1 -0
  75. fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/resources/[resourceUrn]-14dd38964617db2b.js +1 -0
  76. fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/resources-8e1d671ff51386ff.js +1 -0
  77. fides/ui-build/static/admin/_next/static/chunks/pages/{data-catalog-04a493b26a5dfdaf.js → data-catalog-75403467491a251b.js} +1 -1
  78. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/datastore/[monitorId]-fb69b66faffc8f4a.js +1 -0
  79. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/datastore-1b0ed3b3ceedfd94.js +1 -0
  80. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/website/[monitorId]/[systemId]-2978a8aa990ec3a9.js +1 -0
  81. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/website/[monitorId]-968e1c27b0970d67.js +1 -0
  82. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/website-60ad14c879b4fe27.js +1 -0
  83. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center-46b2cdceea3993c8.js +1 -0
  84. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/activity-4c18f83478bf5db2.js +1 -0
  85. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/detection/{[resourceUrn]-67c9fb9b18cb17a0.js → [resourceUrn]-27227f5c402b3a92.js} +1 -1
  86. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{detection-c9d69ae424e73377.js → detection-1fe30896a5df2b9a.js} +1 -1
  87. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/discovery/{[resourceUrn]-e5102013ec48b60c.js → [resourceUrn]-e17f809058842014.js} +1 -1
  88. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{discovery-4094104544531055.js → discovery-2f73cff60a628e42.js} +1 -1
  89. fides/ui-build/static/admin/_next/static/chunks/pages/{datamap-eaae94fb326cc676.js → datamap-d1bb19fe4ef393dc.js} +1 -1
  90. fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/[collectionName]/{[...subfieldNames]-d2af9a78b22a3b33.js → [...subfieldNames]-58c3f4c0b490264b.js} +1 -1
  91. fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/{[collectionName]-4b711c3a257f4754.js → [collectionName]-74290432e74fcdc5.js} +1 -1
  92. fides/ui-build/static/admin/_next/static/chunks/pages/dataset/{[datasetId]-cf0b5a30b3b37e20.js → [datasetId]-8dad45f070a06609.js} +1 -1
  93. fides/ui-build/static/admin/_next/static/chunks/pages/dataset/{new-b651d5f466e4019d.js → new-6aed6dc24c3be001.js} +1 -1
  94. fides/ui-build/static/admin/_next/static/chunks/pages/{dataset-35be9dda6a1114ce.js → dataset-fdaec997c1b0753f.js} +1 -1
  95. fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{[id]-3fcfe1430c11e0c7.js → [id]-63c4805e40673c60.js} +1 -1
  96. fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{new-c967e9f37709c645.js → new-b5a49743387eecef.js} +1 -1
  97. fides/ui-build/static/admin/_next/static/chunks/pages/{datastore-connection-a4abc6ee516b13d4.js → datastore-connection-8f0804d9a38688a4.js} +1 -1
  98. fides/ui-build/static/admin/_next/static/chunks/pages/{index-37c1abb674e1aea6.js → index-363b091a4d1d70ad.js} +1 -1
  99. fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-d26992b1651b74ae.js +1 -0
  100. fides/ui-build/static/admin/_next/static/chunks/pages/integrations-401b0b6b9d447d00.js +1 -0
  101. fides/ui-build/static/admin/_next/static/chunks/pages/new-privacy-requests-d1152cbc3c1bbbbb.js +1 -0
  102. fides/ui-build/static/admin/_next/static/chunks/pages/notifications/digests/{[id]-3306676f61000f3b.js → [id]-0e4e4e7110362022.js} +1 -1
  103. fides/ui-build/static/admin/_next/static/chunks/pages/notifications/digests/{new-798fb0ca1205e684.js → new-2e15f6272e9aaeb6.js} +1 -1
  104. fides/ui-build/static/admin/_next/static/chunks/pages/notifications/{digests-20c129ac4a57f2e5.js → digests-65626dfcfacdc605.js} +1 -1
  105. fides/ui-build/static/admin/_next/static/chunks/pages/notifications/providers/{[key]-749898f45b528480.js → [key]-768c4e2f6b05304c.js} +1 -1
  106. fides/ui-build/static/admin/_next/static/chunks/pages/notifications/providers/{new-2798b151240303c5.js → new-2d57a70e4d32e651.js} +1 -1
  107. fides/ui-build/static/admin/_next/static/chunks/pages/notifications/providers-e71a1d0f7633a968.js +1 -0
  108. fides/ui-build/static/admin/_next/static/chunks/pages/notifications/templates/{[id]-40d9f4a82335cb5c.js → [id]-1b31764f520fbbc5.js} +1 -1
  109. fides/ui-build/static/admin/_next/static/chunks/pages/notifications/templates/{add-template-c38096d698ebfaa9.js → add-template-4c74456b6677bf07.js} +1 -1
  110. fides/ui-build/static/admin/_next/static/chunks/pages/notifications/templates-5deb80abd6156f7f.js +1 -0
  111. fides/ui-build/static/admin/_next/static/chunks/pages/{notifications-9586f35322edb190.js → notifications-8d8716dda9a6f277.js} +1 -1
  112. fides/ui-build/static/admin/_next/static/chunks/pages/poc/ant-components-52b1572442a20ab4.js +1 -0
  113. fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/AntForm-a0437ba647d59799.js +1 -0
  114. fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikAntFormItem-87285c544450ec46.js +1 -0
  115. fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikControlled-57997dbd451a6eed.js +1 -0
  116. fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikField-65009783e0404153.js +1 -0
  117. fides/ui-build/static/admin/_next/static/chunks/pages/poc/forms-eafef007c179340f.js +1 -0
  118. fides/ui-build/static/admin/_next/static/chunks/pages/poc/{table-migration-e58cac7ad960a847.js → table-migration-7933a824a45d0ee6.js} +1 -1
  119. fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/[id]-27c56466eab98b15.js +1 -0
  120. fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/{storage-a948294b5b2ff677.js → storage-16f77a6291bb02fe.js} +1 -1
  121. fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/{configure-f9af184bf0a04729.js → configure-d2b3293ab496f7bc.js} +1 -1
  122. fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-af4f48d10926e4a4.js +1 -0
  123. fides/ui-build/static/admin/_next/static/chunks/pages/properties/{[id]-7545993189dc1bb1.js → [id]-dd3c3d780533a9c2.js} +1 -1
  124. fides/ui-build/static/admin/_next/static/chunks/pages/properties/{add-property-8cc4b3170f7851f9.js → add-property-d1af260c3ddbf68b.js} +1 -1
  125. fides/ui-build/static/admin/_next/static/chunks/pages/{properties-83b4002f896071b3.js → properties-9bb7fe3577402008.js} +1 -1
  126. fides/ui-build/static/admin/_next/static/chunks/pages/reporting/datamap-479401ebaf1160ab.js +1 -0
  127. fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent/[configuration_id]/[purpose_id]-35626e9d8e0a3ca2.js +1 -0
  128. fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent-38b4b0d710d162bc.js +1 -0
  129. fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields-4171abc37fe1475c.js +1 -0
  130. fides/ui-build/static/admin/_next/static/chunks/pages/settings/{domain-records-b90fb07aa18a396b.js → domain-records-3843fbaf5bc433f1.js} +1 -1
  131. fides/ui-build/static/admin/_next/static/chunks/pages/settings/{domains-eea6685e7aa5953c.js → domains-ea549fabce96fde4.js} +1 -1
  132. fides/ui-build/static/admin/_next/static/chunks/pages/settings/{email-templates-4a1985c24bf2dc90.js → email-templates-0fe318a9dfc1f593.js} +1 -1
  133. fides/ui-build/static/admin/_next/static/chunks/pages/settings/{locations-06780a5a03c51fb0.js → locations-c42c856510cad6fd.js} +1 -1
  134. fides/ui-build/static/admin/_next/static/chunks/pages/settings/{organization-5e8af0aeb40cbadd.js → organization-e4c552a5797c3fa5.js} +1 -1
  135. fides/ui-build/static/admin/_next/static/chunks/pages/settings/{privacy-requests-b3156b0882717119.js → privacy-requests-2790d31b59cc3c74.js} +1 -1
  136. fides/ui-build/static/admin/_next/static/chunks/pages/settings/{regulations-825f705fc04c9262.js → regulations-3c608512c415fca4.js} +1 -1
  137. fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]/{test-datasets-4bfe49a2d99a905f.js → test-datasets-e0e1a5142e41e9f2.js} +1 -1
  138. fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/{[id]-7f98c2d62b08265d.js → [id]-70820c4199cb11cb.js} +1 -1
  139. fides/ui-build/static/admin/_next/static/chunks/pages/systems-753ee6b9bb80a657.js +1 -0
  140. fides/ui-build/static/admin/_next/static/chunks/pages/taxonomy-0cae23a599830708.js +1 -0
  141. fides/ui-build/static/admin/_next/static/chunks/pages/user-management/profile/{[id]-9a920390f7f61e88.js → [id]-75d96422db98196f.js} +1 -1
  142. fides/ui-build/static/admin/_next/static/chunks/pages/{user-management-827f9bcad90d8856.js → user-management-598f98fd88505e1e.js} +1 -1
  143. fides/ui-build/static/admin/_next/static/chunks/{webpack-3a17ce9d4ecac24a.js → webpack-0a3b419ab682b8f9.js} +1 -1
  144. fides/ui-build/static/admin/_next/static/css/8317e07483c73e4f.css +1 -0
  145. fides/ui-build/static/admin/add-systems/manual.html +1 -1
  146. fides/ui-build/static/admin/add-systems/multiple.html +1 -1
  147. fides/ui-build/static/admin/add-systems.html +1 -1
  148. fides/ui-build/static/admin/consent/configure/add-vendors.html +1 -1
  149. fides/ui-build/static/admin/consent/configure.html +1 -1
  150. fides/ui-build/static/admin/consent/privacy-experience/[id].html +1 -1
  151. fides/ui-build/static/admin/consent/privacy-experience/new.html +1 -1
  152. fides/ui-build/static/admin/consent/privacy-experience.html +1 -1
  153. fides/ui-build/static/admin/consent/privacy-notices/[id].html +1 -1
  154. fides/ui-build/static/admin/consent/privacy-notices/new.html +1 -1
  155. fides/ui-build/static/admin/consent/privacy-notices.html +1 -1
  156. fides/ui-build/static/admin/consent/properties.html +1 -1
  157. fides/ui-build/static/admin/consent/reporting.html +1 -1
  158. fides/ui-build/static/admin/consent.html +1 -1
  159. fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html +1 -1
  160. fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html +1 -1
  161. fides/ui-build/static/admin/data-catalog/[systemId]/projects.html +1 -1
  162. fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html +1 -1
  163. fides/ui-build/static/admin/data-catalog/[systemId]/resources.html +1 -1
  164. fides/ui-build/static/admin/data-catalog.html +1 -1
  165. fides/ui-build/static/admin/data-discovery/action-center/datastore/[monitorId].html +1 -0
  166. fides/ui-build/static/admin/data-discovery/action-center/datastore.html +1 -0
  167. fides/ui-build/static/admin/data-discovery/action-center/website/[monitorId]/[systemId].html +1 -0
  168. fides/ui-build/static/admin/data-discovery/action-center/website/[monitorId].html +1 -0
  169. fides/ui-build/static/admin/data-discovery/action-center/website.html +1 -0
  170. fides/ui-build/static/admin/data-discovery/action-center.html +1 -1
  171. fides/ui-build/static/admin/data-discovery/activity.html +1 -1
  172. fides/ui-build/static/admin/data-discovery/detection/[resourceUrn].html +1 -1
  173. fides/ui-build/static/admin/data-discovery/detection.html +1 -1
  174. fides/ui-build/static/admin/data-discovery/discovery/[resourceUrn].html +1 -1
  175. fides/ui-build/static/admin/data-discovery/discovery.html +1 -1
  176. fides/ui-build/static/admin/datamap.html +1 -1
  177. fides/ui-build/static/admin/dataset/[datasetId]/[collectionName]/[...subfieldNames].html +1 -1
  178. fides/ui-build/static/admin/dataset/[datasetId]/[collectionName].html +1 -1
  179. fides/ui-build/static/admin/dataset/[datasetId].html +1 -1
  180. fides/ui-build/static/admin/dataset/new.html +1 -1
  181. fides/ui-build/static/admin/dataset.html +1 -1
  182. fides/ui-build/static/admin/datastore-connection/[id].html +1 -1
  183. fides/ui-build/static/admin/datastore-connection/new.html +1 -1
  184. fides/ui-build/static/admin/datastore-connection.html +1 -1
  185. fides/ui-build/static/admin/index.html +1 -1
  186. fides/ui-build/static/admin/integrations/[id].html +1 -1
  187. fides/ui-build/static/admin/integrations.html +1 -1
  188. fides/ui-build/static/admin/lib/fides-preview.js +1 -1
  189. fides/ui-build/static/admin/lib/fides-tcf.js +2 -2
  190. fides/ui-build/static/admin/lib/fides.js +2 -2
  191. fides/ui-build/static/admin/login/[provider].html +1 -1
  192. fides/ui-build/static/admin/login.html +1 -1
  193. fides/ui-build/static/admin/new-privacy-requests.html +1 -1
  194. fides/ui-build/static/admin/notifications/digests/[id].html +1 -1
  195. fides/ui-build/static/admin/notifications/digests/new.html +1 -1
  196. fides/ui-build/static/admin/notifications/digests.html +1 -1
  197. fides/ui-build/static/admin/notifications/providers/[key].html +1 -1
  198. fides/ui-build/static/admin/notifications/providers/new.html +1 -1
  199. fides/ui-build/static/admin/notifications/providers.html +1 -1
  200. fides/ui-build/static/admin/notifications/templates/[id].html +1 -1
  201. fides/ui-build/static/admin/notifications/templates/add-template.html +1 -1
  202. fides/ui-build/static/admin/notifications/templates.html +1 -1
  203. fides/ui-build/static/admin/notifications.html +1 -1
  204. fides/ui-build/static/admin/poc/ant-components.html +1 -1
  205. fides/ui-build/static/admin/poc/form-experiments/AntForm.html +1 -1
  206. fides/ui-build/static/admin/poc/form-experiments/FormikAntFormItem.html +1 -1
  207. fides/ui-build/static/admin/poc/form-experiments/FormikControlled.html +1 -1
  208. fides/ui-build/static/admin/poc/form-experiments/FormikField.html +1 -1
  209. fides/ui-build/static/admin/poc/form-experiments/FormikSpreadField.html +1 -1
  210. fides/ui-build/static/admin/poc/forms.html +1 -1
  211. fides/ui-build/static/admin/poc/table-migration.html +1 -1
  212. fides/ui-build/static/admin/privacy-requests/[id].html +1 -1
  213. fides/ui-build/static/admin/privacy-requests/configure/storage.html +1 -1
  214. fides/ui-build/static/admin/privacy-requests/configure.html +1 -1
  215. fides/ui-build/static/admin/privacy-requests.html +1 -1
  216. fides/ui-build/static/admin/properties/[id].html +1 -1
  217. fides/ui-build/static/admin/properties/add-property.html +1 -1
  218. fides/ui-build/static/admin/properties.html +1 -1
  219. fides/ui-build/static/admin/reporting/datamap.html +1 -1
  220. fides/ui-build/static/admin/settings/about/alpha.html +1 -1
  221. fides/ui-build/static/admin/settings/about.html +1 -1
  222. fides/ui-build/static/admin/settings/consent/[configuration_id]/[purpose_id].html +1 -1
  223. fides/ui-build/static/admin/settings/consent.html +1 -1
  224. fides/ui-build/static/admin/settings/custom-fields/[id].html +1 -1
  225. fides/ui-build/static/admin/settings/custom-fields/new.html +1 -1
  226. fides/ui-build/static/admin/settings/custom-fields.html +1 -1
  227. fides/ui-build/static/admin/settings/domain-records.html +1 -1
  228. fides/ui-build/static/admin/settings/domains.html +1 -1
  229. fides/ui-build/static/admin/settings/email-templates.html +1 -1
  230. fides/ui-build/static/admin/settings/locations.html +1 -1
  231. fides/ui-build/static/admin/settings/organization.html +1 -1
  232. fides/ui-build/static/admin/settings/privacy-requests.html +1 -1
  233. fides/ui-build/static/admin/settings/regulations.html +1 -1
  234. fides/ui-build/static/admin/systems/configure/[id]/test-datasets.html +1 -1
  235. fides/ui-build/static/admin/systems/configure/[id].html +1 -1
  236. fides/ui-build/static/admin/systems.html +1 -1
  237. fides/ui-build/static/admin/taxonomy.html +1 -1
  238. fides/ui-build/static/admin/user-management/new.html +1 -1
  239. fides/ui-build/static/admin/user-management/profile/[id].html +1 -1
  240. fides/ui-build/static/admin/user-management.html +1 -1
  241. fides/ui-build/static/admin/_next/static/KrreFSHeuO3A1ZudBtGj2/_buildManifest.js +0 -1
  242. fides/ui-build/static/admin/_next/static/chunks/155-17c9584d4944ce7e.js +0 -1
  243. fides/ui-build/static/admin/_next/static/chunks/2921-bcd6a8741e98e7ce.js +0 -1
  244. fides/ui-build/static/admin/_next/static/chunks/4817-cb54f4a8ed82122f.js +0 -1
  245. fides/ui-build/static/admin/_next/static/chunks/5279-28226a4eaaba9e56.js +0 -1
  246. fides/ui-build/static/admin/_next/static/chunks/6277-2d53a51b7727d7b1.js +0 -1
  247. fides/ui-build/static/admin/_next/static/chunks/6315-08729296f49e6898.js +0 -1
  248. fides/ui-build/static/admin/_next/static/chunks/6468-f73d542ab5bcf746.js +0 -1
  249. fides/ui-build/static/admin/_next/static/chunks/6853-56c933239103eef6.js +0 -1
  250. fides/ui-build/static/admin/_next/static/chunks/7059-362b53ad2cbe480e.js +0 -1
  251. fides/ui-build/static/admin/_next/static/chunks/8373-9debd1f8d36cd013.js +0 -1
  252. fides/ui-build/static/admin/_next/static/chunks/9046-aaba9b46ed37f1e2.js +0 -1
  253. fides/ui-build/static/admin/_next/static/chunks/9330-38845205515126c3.js +0 -1
  254. fides/ui-build/static/admin/_next/static/chunks/9682-0aab88e56ba618a3.js +0 -1
  255. fides/ui-build/static/admin/_next/static/chunks/9965-bd9d95c187ddcda5.js +0 -1
  256. fides/ui-build/static/admin/_next/static/chunks/pages/add-systems-cfd6175cd093217c.js +0 -1
  257. fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices-ca99b84429667b5f.js +0 -1
  258. fides/ui-build/static/admin/_next/static/chunks/pages/consent/reporting-3b04a6d7447ae824.js +0 -1
  259. fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]-313fc265356df659.js +0 -1
  260. fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]-96ec3aa63de556ec.js +0 -1
  261. fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects-04bb0d25beccc031.js +0 -1
  262. fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/resources/[resourceUrn]-855eca0ddf47f4dc.js +0 -1
  263. fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/resources-e436f291ccce41c7.js +0 -1
  264. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-b45b49ab68d15585.js +0 -1
  265. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]-ee1cf6e7f60d46db.js +0 -1
  266. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/data-explorer/[monitorId]-1cebd59598196388.js +0 -1
  267. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/data-explorer-a725550fc25e45e2.js +0 -1
  268. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center-f67b897b206d1156.js +0 -1
  269. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/activity-17887a476280c480.js +0 -1
  270. fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-484063d65850e03e.js +0 -1
  271. fides/ui-build/static/admin/_next/static/chunks/pages/integrations-514131e87ac65082.js +0 -1
  272. fides/ui-build/static/admin/_next/static/chunks/pages/new-privacy-requests-b0533759c1fe400c.js +0 -1
  273. fides/ui-build/static/admin/_next/static/chunks/pages/notifications/providers-4ebdfd1e0e4bfbe6.js +0 -1
  274. fides/ui-build/static/admin/_next/static/chunks/pages/notifications/templates-0e0ff3689c02c12e.js +0 -1
  275. fides/ui-build/static/admin/_next/static/chunks/pages/poc/ant-components-d9c3128f1c85ef06.js +0 -1
  276. fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/AntForm-616164210b90485e.js +0 -1
  277. fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikAntFormItem-f462c200e6795276.js +0 -1
  278. fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikControlled-891177e7bbd6a4a4.js +0 -1
  279. fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikField-cb6cd181c8ffbb9a.js +0 -1
  280. fides/ui-build/static/admin/_next/static/chunks/pages/poc/forms-540bf3af41cd40fb.js +0 -1
  281. fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/[id]-27ff988967e9153d.js +0 -1
  282. fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-cd94476ab282dd7f.js +0 -1
  283. fides/ui-build/static/admin/_next/static/chunks/pages/reporting/datamap-9459019a37ffe8d8.js +0 -1
  284. fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent/[configuration_id]/[purpose_id]-260f460fea1bc187.js +0 -1
  285. fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent-2c71096d348013aa.js +0 -1
  286. fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields-72e6a6394b1c58c2.js +0 -1
  287. fides/ui-build/static/admin/_next/static/chunks/pages/systems-ddb0121f14bc3b84.js +0 -1
  288. fides/ui-build/static/admin/_next/static/chunks/pages/taxonomy-4d945ab1aab9be54.js +0 -1
  289. fides/ui-build/static/admin/_next/static/css/4d3cb2ffee0cfa2c.css +0 -1
  290. fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/[systemId].html +0 -1
  291. fides/ui-build/static/admin/data-discovery/action-center/[monitorId].html +0 -1
  292. fides/ui-build/static/admin/data-discovery/action-center/data-explorer/[monitorId].html +0 -1
  293. fides/ui-build/static/admin/data-discovery/action-center/data-explorer.html +0 -1
  294. {ethyca_fides-2.72.4b1.dist-info → ethyca_fides-2.73.0rc0.dist-info}/WHEEL +0 -0
  295. {ethyca_fides-2.72.4b1.dist-info → ethyca_fides-2.73.0rc0.dist-info}/entry_points.txt +0 -0
  296. {ethyca_fides-2.72.4b1.dist-info → ethyca_fides-2.73.0rc0.dist-info}/licenses/LICENSE +0 -0
  297. {ethyca_fides-2.72.4b1.dist-info → ethyca_fides-2.73.0rc0.dist-info}/top_level.txt +0 -0
  298. /fides/ui-build/static/admin/_next/static/{KrreFSHeuO3A1ZudBtGj2 → Y4fC3QVMk1ujcOb92jMd8}/_ssgManifest.js +0 -0
  299. /fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields/{[id]-9b395e59fa62cbe5.js → [id]-b5140de4431a7ff5.js} +0 -0
  300. /fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields/{new-a0bb7928ac4a894e.js → new-dcc16459e754fbbd.js} +0 -0
  301. /fides/ui-build/static/admin/_next/static/chunks/pages/user-management/{new-6b3564b9ae9ee7dd.js → new-bc1568bb47d198a9.js} +0 -0
fides/_version.py CHANGED
@@ -8,11 +8,11 @@ import json
8
8
 
9
9
  version_json = '''
10
10
  {
11
- "date": "2025-10-21T10:47:49+0000",
11
+ "date": "2025-10-22T17:09:24-0400",
12
12
  "dirty": false,
13
13
  "error": null,
14
- "full-revisionid": "664ffb9eaabfdcedc21e6f000128628d02f062b3",
15
- "version": "2.72.4b1"
14
+ "full-revisionid": "8fc9a85106e8f9f986f18c5040cdc10a0634eb5a",
15
+ "version": "2.73.0rc0"
16
16
  }
17
17
  ''' # END VERSION_JSON
18
18
 
@@ -157,6 +157,7 @@ class AsyncPollingStrategy(AsyncDSRStrategy):
157
157
  logger.info(
158
158
  f"Creating initial polling sub-requests for task {request_task.id}"
159
159
  )
160
+
160
161
  self._handle_polling_initial_request(
161
162
  request_task,
162
163
  query_config,
@@ -71,6 +71,7 @@ from fides.api.util.saas_util import (
71
71
  CUSTOM_PRIVACY_REQUEST_FIELDS,
72
72
  PRIVACY_REQUEST_OBJECT,
73
73
  assign_placeholders,
74
+ check_dataset_missing_reference_values,
74
75
  map_param_values,
75
76
  )
76
77
 
@@ -229,21 +230,8 @@ class SaaSConnector(BaseConnector[AuthenticatedClient], Contextualizable):
229
230
 
230
231
  # pylint: disable=too-many-branches
231
232
  self.set_privacy_request_state(privacy_request, node, request_task)
232
-
233
233
  query_config: SaaSQueryConfig = self.query_config(node)
234
234
 
235
- # Delegate async requests
236
- with get_db() as db:
237
- if async_dsr_strategy := _get_async_dsr_strategy(
238
- db, request_task, query_config, ActionType.access
239
- ):
240
- return async_dsr_strategy.async_retrieve_data(
241
- client=self.create_client(),
242
- request_task_id=request_task.id,
243
- query_config=query_config,
244
- input_data=input_data,
245
- )
246
-
247
235
  # generate initial set of requests if read request is defined, otherwise raise an exception
248
236
  # An endpoint can be defined with multiple 'read' requests if the data for a single
249
237
  # collection can be accessed in multiple ways for example:
@@ -280,16 +268,30 @@ class SaaSConnector(BaseConnector[AuthenticatedClient], Contextualizable):
280
268
  input_data[CUSTOM_PRIVACY_REQUEST_FIELDS] = [custom_privacy_request_fields]
281
269
 
282
270
  input_data[PRIVACY_REQUEST_OBJECT] = [privacy_request.to_safe_dict()]
283
-
284
- rows: List[Row] = []
271
+ # check all the values specified by param_values are provided in input_data
285
272
  for read_request in read_requests:
286
- self.set_saas_request_state(read_request)
287
- # check all the values specified by param_values are provided in input_data
288
273
  if self._missing_dataset_reference_values(
289
274
  input_data, read_request.param_values
290
275
  ):
291
276
  return []
292
277
 
278
+ # Delegate async requests
279
+ with get_db() as db:
280
+ if async_dsr_strategy := _get_async_dsr_strategy(
281
+ db, request_task, query_config, ActionType.access
282
+ ):
283
+
284
+ return async_dsr_strategy.async_retrieve_data(
285
+ client=self.create_client(),
286
+ request_task_id=request_task.id,
287
+ query_config=query_config,
288
+ input_data=input_data,
289
+ )
290
+
291
+ rows: List[Row] = []
292
+ for read_request in read_requests:
293
+ self.set_saas_request_state(read_request)
294
+
293
295
  # hook for user-provided request override functions
294
296
  if read_request.request_override:
295
297
  return self._invoke_read_request_override(
@@ -376,29 +378,15 @@ class SaaSConnector(BaseConnector[AuthenticatedClient], Contextualizable):
376
378
  return result
377
379
 
378
380
  def _missing_dataset_reference_values(
379
- self, input_data: Dict[str, Any], param_values: Optional[List[ParamValue]]
381
+ self, input_data: Dict[str, List[Any]], param_values: Optional[List[ParamValue]]
380
382
  ) -> List[str]:
381
383
  """Return a list of dataset reference values that are not found in the input_data map"""
382
-
383
- # get the list of param_value references
384
- required_param_value_references = [
385
- param_value.name
386
- for param_value in param_values or []
387
- if param_value.references
388
- ]
389
-
390
- # extract the keys from inside the fides_grouped_inputs and append them the other input_data keys
391
- provided_input_keys = (
392
- list(input_data.get("fidesops_grouped_inputs")[0].keys()) # type: ignore
393
- if input_data.get("fidesops_grouped_inputs")
394
- else []
395
- ) + list(input_data.keys())
396
-
397
- # find the missing values
398
- missing_dataset_reference_values = list(
399
- set(required_param_value_references) - set(provided_input_keys)
384
+ missing_dataset_reference_values = check_dataset_missing_reference_values(
385
+ input_data, param_values
386
+ )
387
+ logger.info(
388
+ f"Missing dataset reference values: {missing_dataset_reference_values}"
400
389
  )
401
-
402
390
  if missing_dataset_reference_values:
403
391
  logger.info(
404
392
  "The '{}' request of {} is missing the following dataset reference values [{}], skipping traversal",
@@ -545,7 +533,6 @@ class SaaSConnector(BaseConnector[AuthenticatedClient], Contextualizable):
545
533
  query_config=query_config,
546
534
  rows=rows,
547
535
  )
548
-
549
536
  masking_request = query_config.get_masking_request()
550
537
  rows_updated = 0
551
538
 
@@ -320,7 +320,7 @@ def initiate_polling_task_requeue() -> None:
320
320
  id=ASYNC_TASKS_STATUS_POLLING,
321
321
  coalesce=True,
322
322
  replace_existing=True,
323
- seconds=20,
323
+ seconds=CONFIG.execution.async_polling_interval_hours * 3600,
324
324
  )
325
325
 
326
326
 
@@ -16,7 +16,7 @@ from fides.api.common_exceptions import FidesopsException, ValidationError
16
16
  from fides.api.cryptography.cryptographic_util import bytes_to_b64_str
17
17
  from fides.api.graph.config import Collection, CollectionAddress, Field, GraphDataset
18
18
  from fides.api.models.privacy_request import PrivacyRequest
19
- from fides.api.schemas.saas.saas_config import SaaSConfig, SaaSRequest
19
+ from fides.api.schemas.saas.saas_config import ParamValue, SaaSConfig, SaaSRequest
20
20
  from fides.api.schemas.saas.shared_schemas import SaaSRequestParams
21
21
  from fides.config import CONFIG
22
22
  from fides.config.helpers import load_file
@@ -336,6 +336,32 @@ def assign_placeholders(value: Any, param_values: Dict[str, Any]) -> Optional[An
336
336
  return value
337
337
 
338
338
 
339
+ def check_dataset_missing_reference_values(
340
+ input_data: Dict[str, Any], param_values: Optional[List[ParamValue]]
341
+ ) -> List[str]:
342
+ """
343
+ Check if all the dataset reference values are present in the input_data map
344
+ """
345
+ # get the list of param_value references
346
+ required_param_value_references = [
347
+ param_value.name for param_value in param_values or [] if param_value.references
348
+ ]
349
+
350
+ # extract the keys from inside the fides_grouped_inputs and append them the other input_data keys
351
+ provided_input_keys = (
352
+ list(input_data.get("fidesops_grouped_inputs")[0].keys()) # type: ignore
353
+ if input_data.get("fidesops_grouped_inputs")
354
+ else []
355
+ ) + list(input_data.keys())
356
+
357
+ # find the missing values
358
+ missing_dataset_reference_values = list(
359
+ set(required_param_value_references) - set(provided_input_keys)
360
+ )
361
+
362
+ return missing_dataset_reference_values
363
+
364
+
339
365
  def map_param_values(
340
366
  action: str,
341
367
  context: str,
@@ -62,7 +62,7 @@ class ExecutionSettings(FidesSettings):
62
62
  description="The number of times a privacy request will be requeued when its tasks are interrupted before being marked as error",
63
63
  )
64
64
  async_polling_interval_hours: int = Field(
65
- default=24,
65
+ default=1,
66
66
  description="Hours between status checks for async tasks",
67
67
  )
68
68
  async_polling_request_timeout_days: int = Field(
@@ -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/4d3cb2ffee0cfa2c.css" as="style"/><link rel="stylesheet" href="/_next/static/css/4d3cb2ffee0cfa2c.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-3a17ce9d4ecac24a.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-32ece8369a437df8.js" defer=""></script><script src="/_next/static/chunks/pages/404-5cffe00870fefd79.js" defer=""></script><script src="/_next/static/KrreFSHeuO3A1ZudBtGj2/_buildManifest.js" defer=""></script><script src="/_next/static/KrreFSHeuO3A1ZudBtGj2/_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":"KrreFSHeuO3A1ZudBtGj2","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/8317e07483c73e4f.css" as="style"/><link rel="stylesheet" href="/_next/static/css/8317e07483c73e4f.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-0a3b419ab682b8f9.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-6f721c56270cb96e.js" defer=""></script><script src="/_next/static/chunks/pages/404-c31cef0ce3fbeebf.js" defer=""></script><script src="/_next/static/Y4fC3QVMk1ujcOb92jMd8/_buildManifest.js" defer=""></script><script src="/_next/static/Y4fC3QVMk1ujcOb92jMd8/_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":"Y4fC3QVMk1ujcOb92jMd8","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
@@ -0,0 +1 @@
1
+ self.__BUILD_MANIFEST=function(s,t,e,c,a,i,n,o,d,r,p,f,u,g,b,j,m,k,h,y,l,v,I,w,F,x,_,U,q,N,A,S,B,C,z,D,E,L,M,T,P,G,H,J,K,O,Q,R,V,W,X,Y,Z,$,ss,st,se,sc,sa,si,sn,so,sd,sr){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":["static/css/972dc7eef106ee7c.css","static/chunks/pages/index-363b091a4d1d70ad.js"],"/404":["static/chunks/pages/404-c31cef0ce3fbeebf.js"],"/_error":["static/chunks/pages/_error-bede3a8288930dcf.js"],"/add-systems":[s,t,"static/css/dd15c278b964de80.css","static/chunks/pages/add-systems-3f0d8698f01aabc5.js"],"/add-systems/manual":[s,e,c,a,n,b,I,t,d,j,w,F,C,"static/css/af32fcac7a177a0e.css","static/chunks/pages/add-systems/manual-b9dbc9ac030f0490.js"],"/add-systems/multiple":[d,m,z,"static/chunks/pages/add-systems/multiple-f706664770dd3e7f.js"],"/consent":["static/chunks/pages/consent-289d21aa6c42828b.js"],"/consent/configure":[d,m,"static/chunks/pages/consent/configure-0bd2eb0110873c4d.js"],"/consent/configure/add-vendors":[d,m,z,"static/chunks/pages/consent/configure/add-vendors-fcd031b2b775e4f3.js"],"/consent/privacy-experience":[b,D,"static/chunks/pages/consent/privacy-experience-ae8dff75e1c6c413.js"],"/consent/privacy-experience/new":[e,o,k,h,E,"static/chunks/pages/consent/privacy-experience/new-e74cb5ea87f15b40.js"],"/consent/privacy-experience/[id]":[e,o,k,h,E,"static/chunks/pages/consent/privacy-experience/[id]-53f6037b25dd5ccb.js"],"/consent/privacy-notices":[D,"static/chunks/pages/consent/privacy-notices-30cecb4656886008.js"],"/consent/privacy-notices/new":[e,o,k,h,L,"static/chunks/pages/consent/privacy-notices/new-7197fadcd57b623d.js"],"/consent/privacy-notices/[id]":[e,o,k,h,L,"static/chunks/pages/consent/privacy-notices/[id]-b40fa30ca73e50c2.js"],"/consent/properties":[y,M,"static/chunks/pages/consent/properties-5cba88e6839a087d.js"],"/consent/reporting":[s,t,i,"static/chunks/pages/consent/reporting-f2690c381c1d1a52.js"],"/data-catalog":[e,c,a,"static/css/95ac327e5d70148d.css","static/chunks/pages/data-catalog-75403467491a251b.js"],"/data-catalog/[systemId]/projects":[e,c,a,u,x,_,"static/chunks/pages/data-catalog/[systemId]/projects-aac70cc10a651e80.js"],"/data-catalog/[systemId]/projects/[projectUrn]":[T,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]-6c19b6be18db5972.js"],"/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]":[s,e,c,a,t,r,u,x,U,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]-89f202662b70059a.js"],"/data-catalog/[systemId]/resources":[T,"static/chunks/pages/data-catalog/[systemId]/resources-8e1d671ff51386ff.js"],"/data-catalog/[systemId]/resources/[resourceUrn]":[s,e,c,a,t,r,u,x,U,"static/chunks/pages/data-catalog/[systemId]/resources/[resourceUrn]-14dd38964617db2b.js"],"/data-discovery/action-center":[s,t,l,"static/css/0fd6e0884cfcc5f3.css","static/chunks/pages/data-discovery/action-center-46b2cdceea3993c8.js"],"/data-discovery/action-center/datastore":["static/chunks/pages/data-discovery/action-center/datastore-1b0ed3b3ceedfd94.js"],"/data-discovery/action-center/datastore/[monitorId]":[s,e,c,a,t,l,U,"static/chunks/pages/data-discovery/action-center/datastore/[monitorId]-fb69b66faffc8f4a.js"],"/data-discovery/action-center/website":["static/chunks/pages/data-discovery/action-center/website-60ad14c879b4fe27.js"],"/data-discovery/action-center/website/[monitorId]":[s,e,c,a,t,p,l,P,"static/css/cb417f0587918f85.css","static/chunks/pages/data-discovery/action-center/website/[monitorId]-968e1c27b0970d67.js"],"/data-discovery/action-center/website/[monitorId]/[systemId]":[s,e,c,a,I,t,d,p,l,w,"static/css/f9a2a44d3d34c904.css","static/chunks/pages/data-discovery/action-center/website/[monitorId]/[systemId]-2978a8aa990ec3a9.js"],"/data-discovery/activity":[s,t,q,i,"static/chunks/pages/data-discovery/activity-4c18f83478bf5db2.js"],"/data-discovery/detection":[s,t,r,q,G,i,"static/chunks/pages/data-discovery/detection-1fe30896a5df2b9a.js"],"/data-discovery/detection/[resourceUrn]":[s,t,r,q,G,i,"static/chunks/pages/data-discovery/detection/[resourceUrn]-27227f5c402b3a92.js"],"/data-discovery/discovery":[s,e,c,a,t,r,u,H,v,"static/chunks/pages/data-discovery/discovery-2f73cff60a628e42.js"],"/data-discovery/discovery/[resourceUrn]":[s,e,c,a,t,r,u,H,v,"static/chunks/pages/data-discovery/discovery/[resourceUrn]-e17f809058842014.js"],"/datamap":[s,a,t,j,J,i,"static/chunks/pages/datamap-d1bb19fe4ef393dc.js"],"/dataset":[f,g,"static/chunks/pages/dataset-fdaec997c1b0753f.js"],"/dataset/new":[s,f,t,i,"static/chunks/pages/dataset/new-6aed6dc24c3be001.js"],"/dataset/[datasetId]":["static/chunks/9729-fcf6ff4e3534e4a8.js",g,N,"static/chunks/pages/dataset/[datasetId]-8dad45f070a06609.js"],"/dataset/[datasetId]/[collectionName]":[e,c,a,n,g,N,K,_,"static/chunks/pages/dataset/[datasetId]/[collectionName]-74290432e74fcdc5.js"],"/dataset/[datasetId]/[collectionName]/[...subfieldNames]":[e,c,a,n,g,N,K,_,"static/chunks/pages/dataset/[datasetId]/[collectionName]/[...subfieldNames]-58c3f4c0b490264b.js"],"/datastore-connection":["static/css/f89607996ad54f4b.css","static/chunks/pages/datastore-connection-8f0804d9a38688a4.js"],"/datastore-connection/new":[s,e,n,f,b,O,t,F,Q,i,"static/chunks/pages/datastore-connection/new-b5a49743387eecef.js"],"/datastore-connection/[id]":[s,e,n,f,O,t,Q,i,"static/chunks/pages/datastore-connection/[id]-63c4805e40673c60.js"],"/fides-js-docs":["static/chunks/2fbcc6de-a6c61724c327e9fa.js","static/chunks/e3251fe7-5777b5d778e6fffa.js",e,c,a,n,f,"static/chunks/5619-9b50cec521203989.js",R,"static/css/0b4b1b65cc874774.css","static/chunks/5596-29a7c8322530b7cf.js","static/chunks/pages/fides-js-docs-1f4335dca5c09860.js"],"/integrations":[s,e,c,a,n,o,V,t,W,v,"static/chunks/pages/integrations-401b0b6b9d447d00.js"],"/integrations/[id]":[s,e,c,a,n,o,V,t,p,W,v,"static/chunks/pages/integrations/[id]-d26992b1651b74ae.js"],"/login":["static/chunks/pages/login-0cb0eb44bf2dd24c.js"],"/login/[provider]":["static/chunks/pages/login/[provider]-c58beef131c3a82d.js"],"/new-privacy-requests":[s,e,X,t,A,Y,i,"static/chunks/pages/new-privacy-requests-d1152cbc3c1bbbbb.js"],"/notifications":["static/chunks/pages/notifications-8d8716dda9a6f277.js"],"/notifications/digests":[S,"static/chunks/pages/notifications/digests-65626dfcfacdc605.js"],"/notifications/digests/new":[S,Z,"static/chunks/pages/notifications/digests/new-2e15f6272e9aaeb6.js"],"/notifications/digests/[id]":[S,Z,"static/chunks/pages/notifications/digests/[id]-0e4e4e7110362022.js"],"/notifications/providers":[s,t,p,i,"static/chunks/pages/notifications/providers-e71a1d0f7633a968.js"],"/notifications/providers/new":[s,e,c,o,$,t,ss,i,"static/chunks/pages/notifications/providers/new-2d57a70e4d32e651.js"],"/notifications/providers/[key]":[s,e,c,o,$,t,ss,i,"static/chunks/pages/notifications/providers/[key]-768c4e2f6b05304c.js"],"/notifications/templates":[e,c,"static/chunks/346-aa3b88efb85f2e28.js","static/chunks/pages/notifications/templates-5deb80abd6156f7f.js"],"/notifications/templates/add-template":[st,"static/chunks/pages/notifications/templates/add-template-4c74456b6677bf07.js"],"/notifications/templates/[id]":[st,"static/chunks/pages/notifications/templates/[id]-1b31764f520fbbc5.js"],"/poc/ant-components":["static/chunks/pages/poc/ant-components-52b1572442a20ab4.js"],"/poc/form-experiments/AntForm":["static/chunks/pages/poc/form-experiments/AntForm-a0437ba647d59799.js"],"/poc/form-experiments/FormikAntFormItem":["static/chunks/pages/poc/form-experiments/FormikAntFormItem-87285c544450ec46.js"],"/poc/form-experiments/FormikControlled":["static/chunks/pages/poc/form-experiments/FormikControlled-57997dbd451a6eed.js"],"/poc/form-experiments/FormikField":["static/chunks/pages/poc/form-experiments/FormikField-65009783e0404153.js"],"/poc/form-experiments/FormikSpreadField":[se,"static/chunks/pages/poc/form-experiments/FormikSpreadField-af097d661f6abcf4.js"],"/poc/forms":[se,"static/chunks/pages/poc/forms-eafef007c179340f.js"],"/poc/table-migration":[d,m,"static/chunks/pages/poc/table-migration-7933a824a45d0ee6.js"],"/privacy-requests":[s,e,X,t,A,Y,i,"static/chunks/pages/privacy-requests-af4f48d10926e4a4.js"],"/privacy-requests/configure":["static/chunks/pages/privacy-requests/configure-d2b3293ab496f7bc.js"],"/privacy-requests/configure/storage":[s,t,i,"static/chunks/pages/privacy-requests/configure/storage-16f77a6291bb02fe.js"],"/privacy-requests/[id]":[s,t,A,"static/css/05d05fc31d09638b.css","static/chunks/pages/privacy-requests/[id]-27c56466eab98b15.js"],"/properties":[y,M,"static/chunks/pages/properties-9bb7fe3577402008.js"],"/properties/add-property":[y,sc,"static/chunks/pages/properties/add-property-d1af260c3ddbf68b.js"],"/properties/[id]":[y,sc,"static/chunks/pages/properties/[id]-dd3c3d780533a9c2.js"],"/reporting/datamap":[s,e,c,a,R,t,j,J,i,"static/chunks/pages/reporting/datamap-479401ebaf1160ab.js"],"/settings/about":[sa,"static/chunks/pages/settings/about-6c4904c157477285.js"],"/settings/about/alpha":[sa,"static/chunks/pages/settings/about/alpha-68eaac2d79133679.js"],"/settings/consent":["static/chunks/pages/settings/consent-38b4b0d710d162bc.js"],"/settings/consent/[configuration_id]/[purpose_id]":["static/chunks/pages/settings/consent/[configuration_id]/[purpose_id]-35626e9d8e0a3ca2.js"],"/settings/custom-fields":[s,t,p,i,"static/chunks/pages/settings/custom-fields-4171abc37fe1475c.js"],"/settings/custom-fields/new":[e,si,sn,"static/chunks/pages/settings/custom-fields/new-dcc16459e754fbbd.js"],"/settings/custom-fields/[id]":[e,si,sn,"static/chunks/pages/settings/custom-fields/[id]-b5140de4431a7ff5.js"],"/settings/domain-records":["static/chunks/pages/settings/domain-records-3843fbaf5bc433f1.js"],"/settings/domains":["static/chunks/pages/settings/domains-ea549fabce96fde4.js"],"/settings/email-templates":["static/chunks/pages/settings/email-templates-0fe318a9dfc1f593.js"],"/settings/locations":[so,sd,"static/chunks/pages/settings/locations-c42c856510cad6fd.js"],"/settings/organization":["static/chunks/pages/settings/organization-e4c552a5797c3fa5.js"],"/settings/privacy-requests":[s,t,i,"static/chunks/pages/settings/privacy-requests-2790d31b59cc3c74.js"],"/settings/regulations":[so,sd,"static/chunks/pages/settings/regulations-3c608512c415fca4.js"],"/systems":[s,e,c,a,t,p,P,i,"static/chunks/pages/systems-753ee6b9bb80a657.js"],"/systems/configure/[id]":[s,e,c,a,n,b,I,t,d,j,w,F,C,"static/css/012b10627a654d5c.css","static/chunks/pages/systems/configure/[id]-70820c4199cb11cb.js"],"/systems/configure/[id]/test-datasets":[f,"static/chunks/pages/systems/configure/[id]/test-datasets-e0e1a5142e41e9f2.js"],"/taxonomy":["static/chunks/678d4732-50255cc09048e643.js",s,e,c,a,o,"static/chunks/6148-59a59d5c5925344f.js",t,g,"static/css/3d6582469f7d56e0.css","static/chunks/pages/taxonomy-0cae23a599830708.js"],"/user-management":[B,"static/chunks/pages/user-management-598f98fd88505e1e.js"],"/user-management/new":[B,sr,"static/chunks/pages/user-management/new-bc1568bb47d198a9.js"],"/user-management/profile/[id]":[B,sr,"static/chunks/pages/user-management/profile/[id]-75d96422db98196f.js"],sortedPages:["/","/404","/_app","/_error","/add-systems","/add-systems/manual","/add-systems/multiple","/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/datastore","/data-discovery/action-center/datastore/[monitorId]","/data-discovery/action-center/website","/data-discovery/action-center/website/[monitorId]","/data-discovery/action-center/website/[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]","/new-privacy-requests","/notifications","/notifications/digests","/notifications/digests/new","/notifications/digests/[id]","/notifications/providers","/notifications/providers/new","/notifications/providers/[key]","/notifications/templates","/notifications/templates/add-template","/notifications/templates/[id]","/poc/ant-components","/poc/form-experiments/AntForm","/poc/form-experiments/FormikAntFormItem","/poc/form-experiments/FormikControlled","/poc/form-experiments/FormikField","/poc/form-experiments/FormikSpreadField","/poc/forms","/poc/table-migration","/privacy-requests","/privacy-requests/configure","/privacy-requests/configure/storage","/privacy-requests/[id]","/properties","/properties/add-property","/properties/[id]","/reporting/datamap","/settings/about","/settings/about/alpha","/settings/consent","/settings/consent/[configuration_id]/[purpose_id]","/settings/custom-fields","/settings/custom-fields/new","/settings/custom-fields/[id]","/settings/domain-records","/settings/domains","/settings/email-templates","/settings/locations","/settings/organization","/settings/privacy-requests","/settings/regulations","/systems","/systems/configure/[id]","/systems/configure/[id]/test-datasets","/taxonomy","/user-management","/user-management/new","/user-management/profile/[id]"]}}("static/chunks/431-e01ee730c8ad9ece.js","static/chunks/7245-120f536e09decb85.js","static/chunks/8765-f622a35b40a7ec63.js","static/chunks/9278-08cc704317fe535e.js","static/chunks/5163-e682273cd76a7d07.js","static/css/14ba79c49597d37a.css","static/chunks/699-8ca44b0de9fa20f0.js","static/chunks/3662-f6a1ddca5ee42076.js","static/chunks/401-874303feb3899562.js","static/chunks/4322-2b986cc150c42771.js","static/chunks/8563-fe06e1fa6d795938.js","static/chunks/6527-0eed08abe252a918.js","static/chunks/1099-fa8b82f521b23cce.js","static/chunks/3772-bb84842df51d3f3f.js","static/chunks/5277-e8a036319456127f.js","static/chunks/9899-303921e3d0697960.js","static/chunks/3923-7f0aa36c9e09cedf.js","static/chunks/6419-11d67f7fd4e2f247.js","static/chunks/6084-023f8c6e65faeb9c.js","static/chunks/2040-a18cc21821e2d121.js","static/chunks/3080-218ac9199ab43f37.js","static/css/a1800714b486e230.css","static/chunks/6344-ca66a6e10d128179.js","static/chunks/1438-62df8751f76235e7.js","static/chunks/7773-6dce6187fe2c6984.js","static/chunks/6882-ec4429aef277a3a4.js","static/css/d2d4e9a6923e6730.css","static/css/4861ca3e088f2d05.css","static/chunks/8853-28242f6079441663.js","static/chunks/7488-2db0992474f8056e.js","static/chunks/8373-d6c02a17fb0b118e.js","static/chunks/8212-18d8da0f9208f978.js","static/chunks/7476-4234fb244676ec13.js","static/chunks/3700-940e5630ee5efe10.js","static/chunks/796-fae64888b8b2f369.js","static/chunks/6853-c348f6e95f987cbf.js","static/chunks/1817-0de0312294019817.js","static/chunks/6954-c44ac4e70e777c2f.js","static/chunks/5783-63912bab7f80b0f8.js","static/chunks/3872-25c16c5a21152b31.js","static/chunks/5327-282ef735516d3b89.js","static/chunks/2397-b9c1b4a7f11e862d.js","static/chunks/7170-4ac982fffdba3a55.js","static/chunks/5258-cf0d2c4c4d55a94b.js","static/chunks/549-2d9bde37e5fe13eb.js","static/chunks/1467-8808ec8836e033f9.js","static/chunks/8011-6e40c969c9fa7d35.js","static/chunks/9187-7438242f0d380bb0.js","static/chunks/1316-2606e19807c08aa5.js","static/chunks/3729-a1aaa30987ee9f28.js","static/chunks/2962-342ad1b4ab402ded.js","static/chunks/3873-d759bbe7137ae8c2.js","static/chunks/4496-903c81292ffd8f91.js","static/chunks/9037-453224ba3ee65b13.js","static/chunks/3377-c2c9eb177bec8719.js","static/chunks/7630-d7bd74d0cfdb22df.js","static/chunks/2921-a5dac2eacdcc32ff.js","static/chunks/5185-fc171b6acce9f915.js","static/chunks/1115-d7ce851b36722c41.js","static/chunks/3446-f40c352c43ac950c.js","static/chunks/5643-48a5e0ad8b9fc3f7.js","static/chunks/9826-aecc5ddec86989dc.js","static/css/10994e916bc9a00a.css","static/chunks/3696-21e3dec6c2023875.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1099],{56632:function(e,t,n){var i=n(89278),a=n(80068),o=n(50098);e.exports=function(e){return function(t,n,r){var s=Object(t);if(!a(t)){var l=i(n,3);t=o(t),n=function(e){return l(s[e],e,s)}}var c=e(t,n,r);return c>-1?s[l?t[c]:c]:void 0}}},64925:function(e,t,n){var i=n(56632)(n(66259));e.exports=i},66259:function(e,t,n){var i=n(95372),a=n(89278),o=n(47991),r=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return -1;var l=null==n?0:o(n);return l<0&&(l=r(s+l,0)),i(e,a(t,3),l)}},94919:function(e,t,n){var i=n(91936),a=1/0;e.exports=function(e){return e?(e=i(e))===a||e===-a?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},47991:function(e,t,n){var i=n(94919);e.exports=function(e){var t=i(e),n=t%1;return t==t?n?t-n:t:0}},12627:function(e,t,n){"use strict";var i=n(24246),a=n(79283),o=n(34929);t.Z=e=>{let{selectedTaxonomies:t,showDisabled:n=!1,...r}=e,{getDataCategoryDisplayNameProps:s,getDataCategories:l}=(0,o.Z)(),c=(n?l():l().filter(e=>e.active)).filter(e=>!(null==t?void 0:t.includes(e.fides_key))).map(e=>{let{name:t,primaryName:n}=s(e.fides_key);return{value:e.fides_key,name:t,primaryName:n,description:e.description||""}});return(0,i.jsx)(a.l,{options:c,...r})}},79283:function(e,t,n){"use strict";n.d(t,{l:function(){return d}});var i=n(24246),a=n(20595),o=n(72707),r=n.n(o);let s=e=>{let{data:{formattedTitle:t,description:n,name:o,primaryName:r}}=e;return(0,i.jsxs)(a.jqI,{gap:12,title:"".concat(t," - ").concat(n),children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("strong",{children:r||o}),r&&": ".concat(o)]}),(0,i.jsx)("em",{children:n})]})},l=e=>"options"in e&&Array.isArray(e.options),c=e=>({...e,className:r().option,formattedTitle:e.formattedTitle||[e.primaryName,e.name].filter(e=>e).join(": ")}),d=e=>{let{options:t,...n}=e,o=null==t?void 0:t.map(e=>l(e)?{...e,options:e.options.map(c)}:c(e));return(0,i.jsx)(a.WPr,{options:o,filterOption:(e,t)=>{var n,i;return(null==t?void 0:null===(n=t.formattedTitle)||void 0===n?void 0:n.toLowerCase().includes(e.toLowerCase()))||(null==t?void 0:null===(i=t.value)||void 0===i?void 0:i.toLowerCase().includes(e.toLowerCase()))||!1},optionFilterProp:"label",autoFocus:!0,variant:"borderless",optionRender:s,styles:{popup:{root:{minWidth:"500px"}}},className:"w-full p-0","data-testid":"taxonomy-select",...n})}},34929:function(e,t,n){"use strict";var i=n(24246),a=n(64925),o=n.n(a),r=n(27378),s=n(16134),l=n(30002),c=n(28079),d=n(57072);let u=()=>{let{isLoading:e}=(0,c.fd)(),t=(0,s.C)(c.U3),{isLoading:n}=(0,d.MO)(),i=(0,s.C)(d.qb),{isLoading:a}=(0,l.te)();return{dataUses:t,dataSubjects:(0,s.C)(l.ZL),dataCategories:i,isLoading:e||n||a}};t.Z=()=>{let{dataUses:e,dataCategories:t,dataSubjects:n,isLoading:a}=u(),s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e.split(".").slice(0,t).join(".")},l=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=t(e);if(!i)return{};let a=t(s(e,n)),o=!!i.parent_key;return{name:i.name||void 0,primaryName:o&&(null==a?void 0:a.name)!==i.name&&(null==a?void 0:a.name)||void 0}},c=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,{name:a,primaryName:o}=l(e,t,n);return a?o?(0,i.jsxs)(r.Fragment,{children:[(0,i.jsxs)("strong",{children:[o,":"]})," ",a]},e):(0,i.jsx)("strong",{children:a},e):e},d=t=>o()(e,{fides_key:t}),f=e=>o()(t,{fides_key:e}),v=e=>o()(n,{fides_key:e});return{getDataUses:()=>e,getDataUseByKey:d,getDataUseDisplayName:e=>c(e,d,1),getDataUseDisplayNameProps:e=>l(e,d,1),getDataCategories:()=>t,getDataCategoryByKey:f,getDataCategoryDisplayName:e=>c(e,f,2),getDataCategoryDisplayNameProps:e=>l(e,f,2),getDataSubjects:()=>n,getDataSubjectByKey:v,getDataSubjectDisplayName:e=>{let t=v(e);return t?t.name:e},getPrimaryKey:s,isLoading:a}}},61099:function(e,t,n){"use strict";var i=n(24246),a=n(20595),o=n(27378),r=n(12627),s=n(34929),l=n(26183),c=n(70675);t.Z=e=>{var t,n,d;let{resource:u}=e,[f,v]=(0,o.useState)(!1),{getDataCategoryDisplayName:p}=(0,s.Z)(),[g]=(0,c.NA)(),m=(null===(t=u.classifications)||void 0===t?void 0:t.length)?u.classifications[0].label:null,x=null!==(d=u.user_assigned_data_categories)&&void 0!==d?d:[],h=!m&&!(null==x?void 0:x.length),_=null===(n=u.sub_field_urns)||void 0===n?void 0:n.length,j=e=>{g({staged_resource_urn:u.urn,monitor_config_id:u.monitor_config_id,user_assigned_data_categories:[...x,e]})},y=e=>{var t;g({staged_resource_urn:u.urn,monitor_config_id:u.monitor_config_id,user_assigned_data_categories:null!==(t=null==x?void 0:x.filter(t=>t!==e))&&void 0!==t?t:[]})},b=!f&&!!x.length,w=!f&&!!m&&!x.length;return(0,i.jsxs)(l.Z,{"data-testid":"edit-category-cell",children:[h&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.j8w,{"data-testid":"no-classifications",color:"white",children:"None"}),!_&&(0,i.jsx)(a.j8w,{onClick:()=>v(!0),addable:!0,"data-testid":"taxonomy-add-btn","aria-label":"Add category"})]}),b&&(0,i.jsxs)(i.Fragment,{children:[x.map(e=>(0,i.jsx)(a.j8w,{"data-testid":"user-classification-".concat(e),color:"white",closable:!0,onClose:()=>y(e),closeButtonLabel:"Remove category",children:p(e)},e)),(0,i.jsx)(a.j8w,{onClick:()=>v(!0),addable:!0,"data-testid":"taxonomy-add-btn","aria-label":"Add category"})]}),w&&(0,i.jsxs)(a.j8w,{onClick:()=>v(!0),color:"white","data-testid":"classification-".concat(m),hasSparkle:!0,children:[p(m),(0,i.jsx)(a.PJP.I8b,{size:10})]}),f&&(0,i.jsx)(a.xuv,{className:"select-wrapper",position:"absolute",zIndex:10,top:"0",left:"0",width:"100%",height:"max",bgColor:"#fff",children:(0,i.jsx)(r.Z,{selectedTaxonomies:x,onChange:e=>{v(!1),j(e)},onBlur:()=>v(!1),open:!0})})]})}},26183:function(e,t,n){"use strict";var i=n(24246);n(27378),t.Z=e=>{let{children:t,className:n,...a}=e;return(0,i.jsx)("div",{className:"relative flex w-full flex-wrap items-center gap-2 overflow-x-auto py-2 ".concat(n||""),...a,children:t})}},57072:function(e,t,n){"use strict";n.d(t,{Bd:function(){return i.Bd},L5:function(){return i.L5},MO:function(){return i.MO},qb:function(){return i.qb}});var i=n(5785)},72707:function(e){e.exports={option:"TaxonomySelect_option__vY6v2"}}}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1099],{56632:function(e,t,n){var i=n(89278),a=n(80068),o=n(50098);e.exports=function(e){return function(t,n,r){var s=Object(t);if(!a(t)){var l=i(n,3);t=o(t),n=function(e){return l(s[e],e,s)}}var c=e(t,n,r);return c>-1?s[l?t[c]:c]:void 0}}},64925:function(e,t,n){var i=n(56632)(n(66259));e.exports=i},66259:function(e,t,n){var i=n(95372),a=n(89278),o=n(47991),r=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return -1;var l=null==n?0:o(n);return l<0&&(l=r(s+l,0)),i(e,a(t,3),l)}},94919:function(e,t,n){var i=n(91936),a=1/0;e.exports=function(e){return e?(e=i(e))===a||e===-a?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},47991:function(e,t,n){var i=n(94919);e.exports=function(e){var t=i(e),n=t%1;return t==t?n?t-n:t:0}},12627:function(e,t,n){"use strict";var i=n(24246),a=n(79283),o=n(34929);t.Z=e=>{let{selectedTaxonomies:t,showDisabled:n=!1,...r}=e,{getDataCategoryDisplayNameProps:s,getDataCategories:l}=(0,o.Z)(),c=(n?l():l().filter(e=>e.active)).filter(e=>!(null==t?void 0:t.includes(e.fides_key))).map(e=>{let{name:t,primaryName:n}=s(e.fides_key);return{value:e.fides_key,name:t,primaryName:n,description:e.description||""}});return(0,i.jsx)(a.l,{options:c,...r})}},79283:function(e,t,n){"use strict";n.d(t,{l:function(){return d}});var i=n(24246),a=n(87949),o=n(72707),r=n.n(o);let s=e=>{let{data:{formattedTitle:t,description:n,name:o,primaryName:r}}=e;return(0,i.jsxs)(a.jqI,{gap:12,title:"".concat(t," - ").concat(n),children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("strong",{children:r||o}),r&&": ".concat(o)]}),(0,i.jsx)("em",{children:n})]})},l=e=>"options"in e&&Array.isArray(e.options),c=e=>({...e,className:r().option,formattedTitle:e.formattedTitle||[e.primaryName,e.name].filter(e=>e).join(": ")}),d=e=>{let{options:t,...n}=e,o=null==t?void 0:t.map(e=>l(e)?{...e,options:e.options.map(c)}:c(e));return(0,i.jsx)(a.WPr,{options:o,filterOption:(e,t)=>{var n,i;return(null==t?void 0:null===(n=t.formattedTitle)||void 0===n?void 0:n.toLowerCase().includes(e.toLowerCase()))||(null==t?void 0:null===(i=t.value)||void 0===i?void 0:i.toLowerCase().includes(e.toLowerCase()))||!1},optionFilterProp:"label",autoFocus:!0,variant:"borderless",optionRender:s,styles:{popup:{root:{minWidth:"500px"}}},className:"w-full p-0","data-testid":"taxonomy-select",...n})}},34929:function(e,t,n){"use strict";var i=n(24246),a=n(64925),o=n.n(a),r=n(27378),s=n(16134),l=n(30002),c=n(28079),d=n(57072);let u=()=>{let{isLoading:e}=(0,c.fd)(),t=(0,s.C)(c.U3),{isLoading:n}=(0,d.MO)(),i=(0,s.C)(d.qb),{isLoading:a}=(0,l.te)();return{dataUses:t,dataSubjects:(0,s.C)(l.ZL),dataCategories:i,isLoading:e||n||a}};t.Z=()=>{let{dataUses:e,dataCategories:t,dataSubjects:n,isLoading:a}=u(),s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e.split(".").slice(0,t).join(".")},l=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=t(e);if(!i)return{};let a=t(s(e,n)),o=!!i.parent_key;return{name:i.name||void 0,primaryName:o&&(null==a?void 0:a.name)!==i.name&&(null==a?void 0:a.name)||void 0}},c=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,{name:a,primaryName:o}=l(e,t,n);return a?o?(0,i.jsxs)(r.Fragment,{children:[(0,i.jsxs)("strong",{children:[o,":"]})," ",a]},e):(0,i.jsx)("strong",{children:a},e):e},d=t=>o()(e,{fides_key:t}),f=e=>o()(t,{fides_key:e}),v=e=>o()(n,{fides_key:e});return{getDataUses:()=>e,getDataUseByKey:d,getDataUseDisplayName:e=>c(e,d,1),getDataUseDisplayNameProps:e=>l(e,d,1),getDataCategories:()=>t,getDataCategoryByKey:f,getDataCategoryDisplayName:e=>c(e,f,2),getDataCategoryDisplayNameProps:e=>l(e,f,2),getDataSubjects:()=>n,getDataSubjectByKey:v,getDataSubjectDisplayName:e=>{let t=v(e);return t?t.name:e},getPrimaryKey:s,isLoading:a}}},61099:function(e,t,n){"use strict";var i=n(24246),a=n(87949),o=n(27378),r=n(12627),s=n(34929),l=n(26183),c=n(70675);t.Z=e=>{var t,n,d;let{resource:u}=e,[f,v]=(0,o.useState)(!1),{getDataCategoryDisplayName:p}=(0,s.Z)(),[g]=(0,c.NA)(),m=(null===(t=u.classifications)||void 0===t?void 0:t.length)?u.classifications[0].label:null,x=null!==(d=u.user_assigned_data_categories)&&void 0!==d?d:[],h=!m&&!(null==x?void 0:x.length),_=null===(n=u.sub_field_urns)||void 0===n?void 0:n.length,j=e=>{g({staged_resource_urn:u.urn,monitor_config_id:u.monitor_config_id,user_assigned_data_categories:[...x,e]})},y=e=>{var t;g({staged_resource_urn:u.urn,monitor_config_id:u.monitor_config_id,user_assigned_data_categories:null!==(t=null==x?void 0:x.filter(t=>t!==e))&&void 0!==t?t:[]})},b=!f&&!!x.length,w=!f&&!!m&&!x.length;return(0,i.jsxs)(l.Z,{"data-testid":"edit-category-cell",children:[h&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.j8w,{"data-testid":"no-classifications",color:"white",children:"None"}),!_&&(0,i.jsx)(a.j8w,{onClick:()=>v(!0),addable:!0,"data-testid":"taxonomy-add-btn","aria-label":"Add category"})]}),b&&(0,i.jsxs)(i.Fragment,{children:[x.map(e=>(0,i.jsx)(a.j8w,{"data-testid":"user-classification-".concat(e),color:"white",closable:!0,onClose:()=>y(e),closeButtonLabel:"Remove category",children:p(e)},e)),(0,i.jsx)(a.j8w,{onClick:()=>v(!0),addable:!0,"data-testid":"taxonomy-add-btn","aria-label":"Add category"})]}),w&&(0,i.jsxs)(a.j8w,{onClick:()=>v(!0),color:"white","data-testid":"classification-".concat(m),hasSparkle:!0,children:[p(m),(0,i.jsx)(a.PJP.I8b,{size:10})]}),f&&(0,i.jsx)(a.xuv,{className:"select-wrapper",position:"absolute",zIndex:10,top:"0",left:"0",width:"100%",height:"max",bgColor:"#fff",children:(0,i.jsx)(r.Z,{selectedTaxonomies:x,onChange:e=>{v(!1),j(e)},onBlur:()=>v(!1),open:!0})})]})}},26183:function(e,t,n){"use strict";var i=n(24246);n(27378),t.Z=e=>{let{children:t,className:n,...a}=e;return(0,i.jsx)("div",{className:"relative flex w-full flex-wrap items-center gap-2 overflow-x-auto py-2 ".concat(n||""),...a,children:t})}},57072:function(e,t,n){"use strict";n.d(t,{Bd:function(){return i.Bd},L5:function(){return i.L5},MO:function(){return i.MO},qb:function(){return i.qb}});var i=n(5785)},72707:function(e){e.exports={option:"TaxonomySelect_option__vY6v2"}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1115],{77213:function(e,n,i){i.d(n,{Z:function(){return f}});var t=i(24246),s=i(20595),r=i(88038),a=i.n(r),o=i(86677);i(27378);var l=i(25980),c=i(90867),g=i(42478),d=i(77830),u=()=>{let e=(0,o.useRouter)();return(0,t.jsx)(s.xuv,{bg:"gray.50",border:"1px solid",borderColor:"blue.400",borderRadius:"md",justifyContent:"space-between",p:5,mb:5,mt:5,children:(0,t.jsxs)(s.xuv,{children:[(0,t.jsxs)(s.Kqy,{direction:{base:"column",sm:"row"},justifyContent:"space-between",children:[(0,t.jsx)(s.xvT,{fontWeight:"semibold",children:"Configure your storage and messaging provider"}),(0,t.jsx)(s.wpx,{onClick:()=>{e.push(d.AD)},children:"Configure"})]}),(0,t.jsxs)(s.xvT,{children:["Before Fides can process your privacy requests we need two simple steps to configure your storage and email client."," "]})]})})},f=e=>{let{children:n,title:i,padded:r=!0,mainProps:d}=e,f=(0,l.hz)(),m=(0,o.useRouter)(),h="/privacy-requests"===m.pathname||"/datastore-connection"===m.pathname,x=!(f.flags.messagingConfiguration&&h),{data:p}=(0,g.JE)(void 0,{skip:x}),{data:y}=(0,c.PW)(void 0,{skip:x}),j=f.flags.messagingConfiguration&&(!p||!y)&&h;return(0,t.jsxs)(s.kCb,{"data-testid":i,direction:"column",h:"100vh",children:[(0,t.jsxs)(a(),{children:[(0,t.jsxs)("title",{children:["Fides Admin UI - ",i]}),(0,t.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,t.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,t.jsxs)(s.kCb,{as:"main",direction:"column",py:r?6:0,px:r?10:0,h:r?"calc(100% - 48px)":"full",flex:1,minWidth:0,overflow:"auto",...d,children:[j?(0,t.jsx)(u,{}):null,n]})]})}},58754:function(e,n,i){var t=i(24246),s=i(20595),r=i(70788);n.Z=e=>{let{heading:n,breadcrumbItems:i,isSticky:a=!0,children:o,rightContent:l,style:c,...g}=e;return(0,t.jsxs)("div",{...g,style:a?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...c}:{paddingBottom:"24px",...c},children:[(0,t.jsxs)(s.jqI,{justify:"space-between",children:["string"==typeof n?(0,t.jsx)(s.lQT,{className:i||o?"pb-4":void 0,level:1,"data-testid":"page-heading",children:n}):n,l&&(0,t.jsx)("div",{"data-testid":"page-header-right-content",children:l})]}),!!i&&(0,t.jsx)(r.m,{className:o?"pb-4":void 0,items:i,"data-testid":"page-breadcrumb"}),o]})}},70788:function(e,n,i){i.d(n,{m:function(){return c}});var t=i(24246),s=i(20595),r=i(79894),a=i.n(r),o=i(27378);let{Text:l}=s.AntTypography,c=e=>{let{items:n,...i}=e,r=(0,o.useMemo)(()=>null==n?void 0:n.map((e,i)=>{let r=i===n.length-1,o={...e},c=o.onClick&&!o.href;return("string"==typeof o.title&&(o.title=(0,t.jsx)(l,{style:{color:"inherit",maxWidth:r?void 0:400},ellipsis:!r,id:r?"breadcrumb-current-page":void 0,children:o.title})),c)?o.title=(0,t.jsx)(s.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,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"anticon align-text-bottom",children:o.icon}),o.title]})),o.href&&o.title&&(o.title=(0,t.jsx)(a(),{href:o.href,className:"ant-breadcrumb-link",children:o.title}),delete o.href)),o}),[n]);return(0,t.jsx)(s.zrq,{items:r,...i})}},42478:function(e,n,i){i.d(n,{FU:function(){return c},JE:function(){return s},Ki:function(){return d},SU:function(){return u},W:function(){return f},h9:function(){return r},jc:function(){return t},qt:function(){return l},sn:function(){return g}});let{useGetEmailInviteStatusQuery:t,useGetActiveMessagingProviderQuery:s,useCreateMessagingConfigurationMutation:r,useCreateMessagingConfigurationSecretsMutation:a,useGetMessagingConfigurationDetailsQuery:o,useGetMessagingConfigurationsQuery:l,useGetMessagingConfigurationByKeyQuery:c,useUpdateMessagingConfigurationByKeyMutation:g,useUpdateMessagingConfigurationSecretsByKeyMutation:d,useCreateTestConnectionMessageMutation:u,useDeleteMessagingConfigurationByKeyMutation:f}=i(78780).u.injectEndpoints({endpoints:e=>({getEmailInviteStatus:e.query({query:()=>({url:"/messaging/email-invite/status"}),providesTags:()=>["Email Invite Status"]}),createMessagingConfiguration:e.mutation({query:e=>({url:"messaging/config",method:"POST",body:e}),invalidatesTags:["Messaging Config","Configuration Settings"]}),getActiveMessagingProvider:e.query({queryFn:async(e,n,i,t)=>{let s=await t({url:"messaging/default/active"});return s.error&&404===s.error.status?{data:null}:s},providesTags:["Messaging Config"]}),createMessagingConfigurationSecrets:e.mutation({query:e=>({url:"messaging/default/".concat(e.service_type,"/secret"),method:"PUT",body:e.details}),invalidatesTags:["Messaging Config","Configuration Settings"]}),getMessagingConfigurationDetails:e.query({query:e=>({url:"messaging/default/".concat(e.type)}),providesTags:["Messaging Config"]}),getMessagingConfigurations:e.query({query:()=>({url:"messaging/config"}),providesTags:["Messaging Config"]}),getMessagingConfigurationByKey:e.query({query:e=>({url:"messaging/config/".concat(e.key)}),providesTags:["Messaging Config"]}),createTestConnectionMessage:e.mutation({query:e=>({url:"messaging/test/".concat(e.service_type),method:"POST",body:e.details}),invalidatesTags:["Messaging Config"]}),updateMessagingConfigurationByKey:e.mutation({query:e=>({url:"messaging/config/".concat(e.key),method:"PATCH",body:e.config}),invalidatesTags:["Messaging Config","Configuration Settings"]}),updateMessagingConfigurationSecretsByKey:e.mutation({query:e=>({url:"messaging/config/".concat(e.key,"/secret"),method:"PUT",body:e.secrets}),invalidatesTags:["Messaging Config","Configuration Settings"]}),deleteMessagingConfigurationByKey:e.mutation({query:e=>({url:"messaging/config/".concat(e.key),method:"DELETE"}),invalidatesTags:["Messaging Config","Configuration Settings"]})})})},71115:function(e,n,i){i.r(n),i.d(n,{default:function(){return d}});var t=i(24246),s=i(20595),r=i(25980),a=i(62165),o=i(16394);let l=e=>{let{flag:n,value:i,override:r}=e;return"boolean"!=typeof i?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.xvT,{fontSize:"sm",children:n}),(0,t.jsx)(s.xvT,{fontSize:"sm",children:i})]}):a.Ky[n].userCannotModify?null:(0,t.jsxs)(s.NIc,{display:"contents",children:[(0,t.jsx)(s.xuv,{justifySelf:"center",children:(0,t.jsx)(s.rAg,{id:"flag-".concat(n),checked:i,onChange:()=>r({flag:n,value:!i})})}),(0,t.jsx)(s.xuv,{children:(0,t.jsx)(s.lXp,{margin:0,fontSize:"sm",htmlFor:"flag-".concat(n),title:n,children:(0,o.Py)(n)})}),(0,t.jsx)(s.xuv,{children:(0,t.jsx)(s.xvT,{fontSize:"sm",children:a.Ky[n].description})})]})};var c=i(77213),g=i(58754),d=e=>{let{showAlphaFeatures:n=!1}=e,i=(0,r.hz)(),{flags:o,override:d,reset:u}=(0,a.Vb)(),f=a.R$.filter(e=>e.startsWith("alpha")),m=a.R$.filter(e=>!e.startsWith("alpha"));return(0,t.jsxs)(c.Z,{title:"About Fides",children:[(0,t.jsx)(g.Z,{heading:"About Fides",children:(0,t.jsxs)(s.kCb,{direction:"column",gap:4,children:[(0,t.jsxs)(s.xuv,{children:[(0,t.jsxs)(s.xvT,{as:"span",fontWeight:"bold",children:["Fides Core Version:"," "]}),(0,t.jsx)(s.xvT,{as:"pre",display:"inline",children:i.version})]}),i.plusVersion?(0,t.jsxs)(s.xuv,{children:[(0,t.jsxs)(s.xvT,{as:"span",fontWeight:"bold",children:["Fides Plus Version:"," "]}),(0,t.jsx)(s.xvT,{as:"pre",display:"inline",children:i.plusVersion})]}):null,(0,t.jsx)(s.izJ,{})]})}),(0,t.jsxs)(s.kCb,{alignItems:"center",gap:4,children:[(0,t.jsx)(s.X6q,{as:"h2",fontSize:"xl",children:"Beta Features"}),(0,t.jsx)(s.wpx,{onClick:u,children:"Reset"})]}),(0,t.jsx)(s.rjZ,{gridTemplateColumns:"1fr 2fr 6fr",gridColumnGap:4,gridRowGap:2,alignItems:"center",className:"py-6",children:m.map(e=>(0,t.jsx)(l,{flag:e,value:o[e],override:d},e))}),n&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(s.kCb,{alignItems:"center",gap:4,children:[(0,t.jsx)(s.X6q,{as:"h2",fontSize:"xl",children:"Alpha Features"}),(0,t.jsx)(s.wpx,{onClick:u,children:"Reset"})]}),(0,t.jsx)(s.rjZ,{gridTemplateColumns:"1fr 2fr 6fr",gridColumnGap:4,gridRowGap:2,alignItems:"center",className:"py-6",children:f.map(e=>(0,t.jsx)(l,{flag:e,value:o[e],override:d},e))})]}),(0,t.jsxs)(s.xuv,{children:[(0,t.jsxs)(s.xvT,{fontSize:"sm",children:["Please visit"," ",(0,t.jsx)(s.rUS,{color:"complimentary.500",href:"https://docs.ethyca.com",isExternal:!0,children:"docs.ethyca.com"})," ","for more information on these features."]}),(0,t.jsxs)(s.xvT,{fontSize:"sm",children:["For questions and feedback, please join us at"," ",(0,t.jsx)(s.rUS,{color:"complimentary.500",href:"https://fidescommunity.slack.com",isExternal:!0,children:"fidescommunity.slack.com"}),"."]})]})]})}}}]);
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1115],{77213:function(e,n,i){i.d(n,{Z:function(){return f}});var t=i(24246),s=i(87949),r=i(88038),a=i.n(r),o=i(86677);i(27378);var l=i(25980),c=i(90867),g=i(42478),d=i(77830),u=()=>{let e=(0,o.useRouter)();return(0,t.jsx)(s.xuv,{bg:"gray.50",border:"1px solid",borderColor:"blue.400",borderRadius:"md",justifyContent:"space-between",p:5,mb:5,mt:5,children:(0,t.jsxs)(s.xuv,{children:[(0,t.jsxs)(s.Kqy,{direction:{base:"column",sm:"row"},justifyContent:"space-between",children:[(0,t.jsx)(s.xvT,{fontWeight:"semibold",children:"Configure your storage and messaging provider"}),(0,t.jsx)(s.wpx,{onClick:()=>{e.push(d.AD)},children:"Configure"})]}),(0,t.jsxs)(s.xvT,{children:["Before Fides can process your privacy requests we need two simple steps to configure your storage and email client."," "]})]})})},f=e=>{let{children:n,title:i,padded:r=!0,mainProps:d}=e,f=(0,l.hz)(),m=(0,o.useRouter)(),h="/privacy-requests"===m.pathname||"/datastore-connection"===m.pathname,x=!(f.flags.messagingConfiguration&&h),{data:p}=(0,g.JE)(void 0,{skip:x}),{data:y}=(0,c.PW)(void 0,{skip:x}),j=f.flags.messagingConfiguration&&(!p||!y)&&h;return(0,t.jsxs)(s.kCb,{"data-testid":i,direction:"column",h:"100vh",children:[(0,t.jsxs)(a(),{children:[(0,t.jsxs)("title",{children:["Fides Admin UI - ",i]}),(0,t.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,t.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,t.jsxs)(s.kCb,{as:"main",direction:"column",py:r?6:0,px:r?10:0,h:r?"calc(100% - 48px)":"full",flex:1,minWidth:0,overflow:"auto",...d,children:[j?(0,t.jsx)(u,{}):null,n]})]})}},58754:function(e,n,i){var t=i(24246),s=i(87949),r=i(70788);n.Z=e=>{let{heading:n,breadcrumbItems:i,isSticky:a=!0,children:o,rightContent:l,style:c,...g}=e;return(0,t.jsxs)("div",{...g,style:a?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...c}:{paddingBottom:"24px",...c},children:[(0,t.jsxs)(s.jqI,{justify:"space-between",children:["string"==typeof n?(0,t.jsx)(s.lQT,{className:i||o?"pb-4":void 0,level:1,"data-testid":"page-heading",children:n}):n,l&&(0,t.jsx)("div",{"data-testid":"page-header-right-content",children:l})]}),!!i&&(0,t.jsx)(r.m,{className:o?"pb-4":void 0,items:i,"data-testid":"page-breadcrumb"}),o]})}},70788:function(e,n,i){i.d(n,{m:function(){return c}});var t=i(24246),s=i(87949),r=i(79894),a=i.n(r),o=i(27378);let{Text:l}=s.AntTypography,c=e=>{let{items:n,...i}=e,r=(0,o.useMemo)(()=>null==n?void 0:n.map((e,i)=>{let r=i===n.length-1,o={...e},c=o.onClick&&!o.href;return("string"==typeof o.title&&(o.title=(0,t.jsx)(l,{style:{color:"inherit",maxWidth:r?void 0:400},ellipsis:!r,id:r?"breadcrumb-current-page":void 0,children:o.title})),c)?o.title=(0,t.jsx)(s.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,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"anticon align-text-bottom",children:o.icon}),o.title]})),o.href&&o.title&&(o.title=(0,t.jsx)(a(),{href:o.href,className:"ant-breadcrumb-link",children:o.title}),delete o.href)),o}),[n]);return(0,t.jsx)(s.zrq,{items:r,...i})}},42478:function(e,n,i){i.d(n,{FU:function(){return c},JE:function(){return s},Ki:function(){return d},SU:function(){return u},W:function(){return f},h9:function(){return r},jc:function(){return t},qt:function(){return l},sn:function(){return g}});let{useGetEmailInviteStatusQuery:t,useGetActiveMessagingProviderQuery:s,useCreateMessagingConfigurationMutation:r,useCreateMessagingConfigurationSecretsMutation:a,useGetMessagingConfigurationDetailsQuery:o,useGetMessagingConfigurationsQuery:l,useGetMessagingConfigurationByKeyQuery:c,useUpdateMessagingConfigurationByKeyMutation:g,useUpdateMessagingConfigurationSecretsByKeyMutation:d,useCreateTestConnectionMessageMutation:u,useDeleteMessagingConfigurationByKeyMutation:f}=i(78780).u.injectEndpoints({endpoints:e=>({getEmailInviteStatus:e.query({query:()=>({url:"/messaging/email-invite/status"}),providesTags:()=>["Email Invite Status"]}),createMessagingConfiguration:e.mutation({query:e=>({url:"messaging/config",method:"POST",body:e}),invalidatesTags:["Messaging Config","Configuration Settings"]}),getActiveMessagingProvider:e.query({queryFn:async(e,n,i,t)=>{let s=await t({url:"messaging/default/active"});return s.error&&404===s.error.status?{data:null}:s},providesTags:["Messaging Config"]}),createMessagingConfigurationSecrets:e.mutation({query:e=>({url:"messaging/default/".concat(e.service_type,"/secret"),method:"PUT",body:e.details}),invalidatesTags:["Messaging Config","Configuration Settings"]}),getMessagingConfigurationDetails:e.query({query:e=>({url:"messaging/default/".concat(e.type)}),providesTags:["Messaging Config"]}),getMessagingConfigurations:e.query({query:()=>({url:"messaging/config"}),providesTags:["Messaging Config"]}),getMessagingConfigurationByKey:e.query({query:e=>({url:"messaging/config/".concat(e.key)}),providesTags:["Messaging Config"]}),createTestConnectionMessage:e.mutation({query:e=>({url:"messaging/test/".concat(e.service_type),method:"POST",body:e.details}),invalidatesTags:["Messaging Config"]}),updateMessagingConfigurationByKey:e.mutation({query:e=>({url:"messaging/config/".concat(e.key),method:"PATCH",body:e.config}),invalidatesTags:["Messaging Config","Configuration Settings"]}),updateMessagingConfigurationSecretsByKey:e.mutation({query:e=>({url:"messaging/config/".concat(e.key,"/secret"),method:"PUT",body:e.secrets}),invalidatesTags:["Messaging Config","Configuration Settings"]}),deleteMessagingConfigurationByKey:e.mutation({query:e=>({url:"messaging/config/".concat(e.key),method:"DELETE"}),invalidatesTags:["Messaging Config","Configuration Settings"]})})})},71115:function(e,n,i){i.r(n),i.d(n,{default:function(){return d}});var t=i(24246),s=i(87949),r=i(25980),a=i(62165),o=i(16394);let l=e=>{let{flag:n,value:i,override:r}=e;return"boolean"!=typeof i?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.xvT,{fontSize:"sm",children:n}),(0,t.jsx)(s.xvT,{fontSize:"sm",children:i})]}):a.Ky[n].userCannotModify?null:(0,t.jsxs)(s.NIc,{display:"contents",children:[(0,t.jsx)(s.xuv,{justifySelf:"center",children:(0,t.jsx)(s.rAg,{id:"flag-".concat(n),checked:i,onChange:()=>r({flag:n,value:!i})})}),(0,t.jsx)(s.xuv,{children:(0,t.jsx)(s.lXp,{margin:0,fontSize:"sm",htmlFor:"flag-".concat(n),title:n,children:(0,o.Py)(n)})}),(0,t.jsx)(s.xuv,{children:(0,t.jsx)(s.xvT,{fontSize:"sm",children:a.Ky[n].description})})]})};var c=i(77213),g=i(58754),d=e=>{let{showAlphaFeatures:n=!1}=e,i=(0,r.hz)(),{flags:o,override:d,reset:u}=(0,a.Vb)(),f=a.R$.filter(e=>e.startsWith("alpha")),m=a.R$.filter(e=>!e.startsWith("alpha"));return(0,t.jsxs)(c.Z,{title:"About Fides",children:[(0,t.jsx)(g.Z,{heading:"About Fides",children:(0,t.jsxs)(s.kCb,{direction:"column",gap:4,children:[(0,t.jsxs)(s.xuv,{children:[(0,t.jsxs)(s.xvT,{as:"span",fontWeight:"bold",children:["Fides Core Version:"," "]}),(0,t.jsx)(s.xvT,{as:"pre",display:"inline",children:i.version})]}),i.plusVersion?(0,t.jsxs)(s.xuv,{children:[(0,t.jsxs)(s.xvT,{as:"span",fontWeight:"bold",children:["Fides Plus Version:"," "]}),(0,t.jsx)(s.xvT,{as:"pre",display:"inline",children:i.plusVersion})]}):null,(0,t.jsx)(s.izJ,{})]})}),(0,t.jsxs)(s.kCb,{alignItems:"center",gap:4,children:[(0,t.jsx)(s.X6q,{as:"h2",fontSize:"xl",children:"Beta Features"}),(0,t.jsx)(s.wpx,{onClick:u,children:"Reset"})]}),(0,t.jsx)(s.rjZ,{gridTemplateColumns:"1fr 2fr 6fr",gridColumnGap:4,gridRowGap:2,alignItems:"center",className:"py-6",children:m.map(e=>(0,t.jsx)(l,{flag:e,value:o[e],override:d},e))}),n&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(s.kCb,{alignItems:"center",gap:4,children:[(0,t.jsx)(s.X6q,{as:"h2",fontSize:"xl",children:"Alpha Features"}),(0,t.jsx)(s.wpx,{onClick:u,children:"Reset"})]}),(0,t.jsx)(s.rjZ,{gridTemplateColumns:"1fr 2fr 6fr",gridColumnGap:4,gridRowGap:2,alignItems:"center",className:"py-6",children:f.map(e=>(0,t.jsx)(l,{flag:e,value:o[e],override:d},e))})]}),(0,t.jsxs)(s.xuv,{children:[(0,t.jsxs)(s.xvT,{fontSize:"sm",children:["Please visit"," ",(0,t.jsx)(s.rUS,{color:"complimentary.500",href:"https://docs.ethyca.com",isExternal:!0,children:"docs.ethyca.com"})," ","for more information on these features."]}),(0,t.jsxs)(s.xvT,{fontSize:"sm",children:["For questions and feedback, please join us at"," ",(0,t.jsx)(s.rUS,{color:"complimentary.500",href:"https://fidescommunity.slack.com",isExternal:!0,children:"fidescommunity.slack.com"}),"."]})]})]})}}}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1437],{30952:function(e,a,n){"use strict";n.d(a,{f:function(){return l}});var i=n(24246),t=n(66726),s=n.n(t),r=n(27378),o=n(26917);let l=e=>{let{value:a,onChange:n,placeholder:t,...l}=e,[_,F]=(0,r.useState)(a);(0,r.useEffect)(()=>{F(a||"")},[a]);let d=s()(n,500),u=(0,r.useCallback)(e=>{F(e),d(e)},[]);return(0,i.jsx)(o.Z,{value:_,onChange:u,onClear:()=>{F(""),n("")},placeholder:t,...l})}},26089:function(e,a,n){"use strict";var i=n(24246),t=n(20595),s=n(99830),r=n.n(s);a.Z=e=>{let{onClick:a,children:n}=e;return(0,i.jsx)(t.wpx,{onClick:a,type:"link",role:"link",size:"small",className:r().toastLink,children:n})}},29850:function(e,a,n){"use strict";n.d(a,{R:function(){return F}});var i=n(24246),t=n(20595),s=n(27378),r=n(65450);let o=e=>{let{children:a,className:n,style:s,...r}=e;return(0,i.jsx)(t.wpx,{...r,type:"text",className:"w-full justify-start ".concat(n),style:{fontWeight:600,padding:"var(--ant-select-option-padding)",backgroundColor:"var(--ant-select-option-selected-bg)",...s},children:a})};var l=n(16394);let _=(e,a)=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o,{onClick:a,"data-testid":"add-new-system",id:"add-new-system",children:"Add new system +"}),e]}),F=e=>{var a;let{onAddSystem:n,...o}=e,[F,d]=(0,s.useState)(),{data:u,isFetching:c}=(0,r.xF)({page:1,size:25,search:F||void 0}),m=null==u?void 0:null===(a=u.items)||void 0===a?void 0:a.map(e=>({value:e.fides_key,label:e.name})),h=(0,s.useCallback)(e=>{(null==e?void 0:e.length)>1&&d(e),(null==e?void 0:e.length)===0&&d(void 0)},[d]),S=(0,s.useMemo)(()=>(0,l.Ds)(h,300),[h]);return(0,i.jsx)(t.WPr,{placeholder:"Search...","aria-label":"Search for a system to select",popupRender:n?e=>_(e,n):void 0,"data-testid":"system-select",...o,styles:{popup:{root:{minWidth:"500px"}},...o.styles},filterOption:!1,options:m,onSearch:S,loading:o.loading||c})}},79283:function(e,a,n){"use strict";n.d(a,{l:function(){return F}});var i=n(24246),t=n(20595),s=n(72707),r=n.n(s);let o=e=>{let{data:{formattedTitle:a,description:n,name:s,primaryName:r}}=e;return(0,i.jsxs)(t.jqI,{gap:12,title:"".concat(a," - ").concat(n),children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("strong",{children:r||s}),r&&": ".concat(s)]}),(0,i.jsx)("em",{children:n})]})},l=e=>"options"in e&&Array.isArray(e.options),_=e=>({...e,className:r().option,formattedTitle:e.formattedTitle||[e.primaryName,e.name].filter(e=>e).join(": ")}),F=e=>{let{options:a,...n}=e,s=null==a?void 0:a.map(e=>l(e)?{...e,options:e.options.map(_)}:_(e));return(0,i.jsx)(t.WPr,{options:s,filterOption:(e,a)=>{var n,i;return(null==a?void 0:null===(n=a.formattedTitle)||void 0===n?void 0:n.toLowerCase().includes(e.toLowerCase()))||(null==a?void 0:null===(i=a.value)||void 0===i?void 0:i.toLowerCase().includes(e.toLowerCase()))||!1},optionFilterProp:"label",autoFocus:!0,variant:"borderless",optionRender:o,styles:{popup:{root:{minWidth:"500px"}}},className:"w-full p-0","data-testid":"taxonomy-select",...n})}},34929:function(e,a,n){"use strict";var i=n(24246),t=n(64925),s=n.n(t),r=n(27378),o=n(16134),l=n(30002),_=n(28079),F=n(57072);let d=()=>{let{isLoading:e}=(0,_.fd)(),a=(0,o.C)(_.U3),{isLoading:n}=(0,F.MO)(),i=(0,o.C)(F.qb),{isLoading:t}=(0,l.te)();return{dataUses:a,dataSubjects:(0,o.C)(l.ZL),dataCategories:i,isLoading:e||n||t}};a.Z=()=>{let{dataUses:e,dataCategories:a,dataSubjects:n,isLoading:t}=d(),o=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e.split(".").slice(0,a).join(".")},l=function(e,a){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=a(e);if(!i)return{};let t=a(o(e,n)),s=!!i.parent_key;return{name:i.name||void 0,primaryName:s&&(null==t?void 0:t.name)!==i.name&&(null==t?void 0:t.name)||void 0}},_=function(e,a){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,{name:t,primaryName:s}=l(e,a,n);return t?s?(0,i.jsxs)(r.Fragment,{children:[(0,i.jsxs)("strong",{children:[s,":"]})," ",t]},e):(0,i.jsx)("strong",{children:t},e):e},F=a=>s()(e,{fides_key:a}),u=e=>s()(a,{fides_key:e}),c=e=>s()(n,{fides_key:e});return{getDataUses:()=>e,getDataUseByKey:F,getDataUseDisplayName:e=>_(e,F,1),getDataUseDisplayNameProps:e=>l(e,F,1),getDataCategories:()=>a,getDataCategoryByKey:u,getDataCategoryDisplayName:e=>_(e,u,2),getDataCategoryDisplayNameProps:e=>l(e,u,2),getDataSubjects:()=>n,getDataSubjectByKey:c,getDataSubjectDisplayName:e=>{let a=c(e);return a?a.name:e},getPrimaryKey:o,isLoading:t}}},8411:function(e,a,n){"use strict";n.d(a,{NA:function(){return s},Z8:function(){return t}});var i=n(65735);let t={[i._F.ER]:"Eritrea",[i._F.DJ]:"Djibouti",[i._F.MR]:"Mauritania",[i._F.NA]:"Namibia",[i._F.GH]:"Ghana",[i._F.SS]:"South Sudan",[i._F.SC]:"Seychelles",[i._F.IO]:"British Indian Ocean Territory",[i._F.GQ]:"Equatorial Guinea",[i._F.AO]:"Angola",[i._F.CG]:"Republic of the Congo",[i._F.BW]:"Botswana",[i._F.BI]:"Burundi",[i._F.DZ]:"Algeria",[i._F.TD]:"Chad",[i._F.NG]:"Nigeria",[i._F.TZ]:"Tanzania",[i._F.EH]:"Western Sahara",[i._F.SN]:"Senegal",[i._F.LR]:"Liberia",[i._F.ZA]:"South Africa",[i._F.CV]:"Cape Verde",[i._F.GM]:"Gambia",[i._F.SD]:"Sudan",[i._F.KM]:"Comoros",[i._F.SZ]:"Eswatini",[i._F.UG]:"Uganda",[i._F.MG]:"Madagascar",[i._F.RW]:"Rwanda",[i._F.CD]:"DR Congo",[i._F.CM]:"Cameroon",[i._F.SH]:"Saint Helena, Ascension and Tristan da Cunha",[i._F.TG]:"Togo",[i._F.MU]:"Mauritius",[i._F.NE]:"Niger",[i._F.BJ]:"Benin",[i._F.EG]:"Egypt",[i._F.LS]:"Lesotho",[i._F.ET]:"Ethiopia",[i._F.MA]:"Morocco",[i._F.YT]:"Mayotte",[i._F.BF]:"Burkina Faso",[i._F.RE]:"R\xe9union",[i._F.ST]:"S\xe3o Tom\xe9 and Pr\xedncipe",[i._F.CF]:"Central African Republic",[i._F.MZ]:"Mozambique",[i._F.MW]:"Malawi",[i._F.ML]:"Mali",[i._F.ZM]:"Zambia",[i._F.LY]:"Libya",[i._F.GW]:"Guinea-Bissau",[i._F.SO]:"Somalia",[i._F.KE]:"Kenya",[i._F.GN]:"Guinea",[i._F.ZW]:"Zimbabwe",[i._F.TN]:"Tunisia",[i._F.SL]:"Sierra Leone",[i._F.GA]:"Gabon",[i._F.CI]:"Ivory Coast",[i._F.JO]:"Jordan",[i._F.PK]:"Pakistan",[i._F.KP]:"North Korea",[i._F.MO]:"Macau",[i._F.AM]:"Armenia",[i._F.SY]:"Syria",[i._F.TJ]:"Tajikistan",[i._F.SA]:"Saudi Arabia",[i._F.KR]:"South Korea",[i._F.NP]:"Nepal",[i._F.PH]:"Philippines",[i._F.IQ]:"Iraq",[i._F.LB]:"Lebanon",[i._F.MN]:"Mongolia",[i._F.PS]:"Palestine",[i._F.YE]:"Yemen",[i._F.JP]:"Japan",[i._F.KZ]:"Kazakhstan",[i._F.LK]:"Sri Lanka",[i._F.MM]:"Myanmar",[i._F.KG]:"Kyrgyzstan",[i._F.CN]:"China",[i._F.AF]:"Afghanistan",[i._F.OM]:"Oman",[i._F.IN]:"India",[i._F.LA]:"Laos",[i._F.UZ]:"Uzbekistan",[i._F.MV]:"Maldives",[i._F.ID]:"Indonesia",[i._F.VN]:"Vietnam",[i._F.MY]:"Malaysia",[i._F.TW]:"Taiwan",[i._F.KH]:"Cambodia",[i._F.AE]:"United Arab Emirates",[i._F.HK]:"Hong Kong",[i._F.GE]:"Georgia (Country)",[i._F.BD]:"Bangladesh",[i._F.KW]:"Kuwait",[i._F.TM]:"Turkmenistan",[i._F.QA]:"Qatar",[i._F.BH]:"Bahrain",[i._F.BN]:"Brunei",[i._F.TH]:"Thailand",[i._F.BT]:"Bhutan",[i._F.SG]:"Singapore",[i._F.IL]:"Israel",[i._F.AZ]:"Azerbaijan",[i._F.TL]:"Timor-Leste",[i._F.IR]:"Iran",[i._F.TR]:"Turkey",[i._F.MK]:"North Macedonia",[i._F.IE]:"Ireland",[i._F.DK]:"Denmark",[i._F.SK]:"Slovakia",[i._F.MD]:"Moldova",[i._F.AX]:"\xc5land Islands",[i._F.PL]:"Poland",[i._F.BA]:"Bosnia and Herzegovina",[i._F.SM]:"San Marino",[i._F.CZ]:"Czechia",[i._F.EE]:"Estonia",[i._F.XK]:"Kosovo",[i._F.FO]:"Faroe Islands",[i._F.SJ]:"Svalbard and Jan Mayen",[i._F.GG]:"Guernsey",[i._F.FR]:"France",[i._F.NL]:"Netherlands",[i._F.FI]:"Finland",[i._F.PT]:"Portugal",[i._F.DE]:"Germany",[i._F.MT]:"Malta",[i._F.JE]:"Jersey",[i._F.IS]:"Iceland",[i._F.ES]:"Spain",[i._F.GI]:"Gibraltar",[i._F.NO]:"Norway",[i._F.CY]:"Cyprus",[i._F.RS]:"Serbia",[i._F.LT]:"Lithuania",[i._F.MC]:"Monaco",[i._F.LU]:"Luxembourg",[i._F.UA]:"Ukraine",[i._F.IM]:"Isle of Man",[i._F.RO]:"Romania",[i._F.BE]:"Belgium",[i._F.SE]:"Sweden",[i._F.ME]:"Montenegro",[i._F.LV]:"Latvia",[i._F.VA]:"Vatican City",[i._F.AT]:"Austria",[i._F.AL]:"Albania",[i._F.LI]:"Liechtenstein",[i._F.GR]:"Greece",[i._F.IT]:"Italy",[i._F.AD]:"Andorra",[i._F.GB]:"United Kingdom",[i._F.RU]:"Russia",[i._F.SI]:"Slovenia",[i._F.BY]:"Belarus",[i._F.CH]:"Switzerland",[i._F.HU]:"Hungary",[i._F.BG]:"Bulgaria",[i._F.HR]:"Croatia",[i._F.TC]:"Turks and Caicos Islands",[i._F.CW]:"Cura\xe7ao",[i._F.GP]:"Guadeloupe",[i._F.UM]:"United States Minor Outlying Islands",[i._F.GT]:"Guatemala",[i._F.PM]:"Saint Pierre and Miquelon",[i._F.BQ]:"Caribbean Netherlands",[i._F.GL]:"Greenland",[i._F.SX]:"Sint Maarten",[i._F.PA]:"Panama",[i._F.AW]:"Aruba",[i._F.MQ]:"Martinique",[i._F.AG]:"Antigua and Barbuda",[i._F.BM]:"Bermuda",[i._F.CU]:"Cuba",[i._F.GD]:"Grenada",[i._F.NI]:"Nicaragua",[i._F.LC]:"Saint Lucia",[i._F.KN]:"Saint Kitts and Nevis",[i._F.DO]:"Dominican Republic",[i._F.VC]:"Saint Vincent and the Grenadines",[i._F.BZ]:"Belize",[i._F.HT]:"Haiti",[i._F.JM]:"Jamaica",[i._F.BS]:"Bahamas",[i._F.MX]:"Mexico",[i._F.MF]:"Saint Martin",[i._F.SV]:"El Salvador",[i._F.BL]:"Saint Barth\xe9lemy",[i._F.AI]:"Anguilla",[i._F.MS]:"Montserrat",[i._F.VG]:"British Virgin Islands",[i._F.BB]:"Barbados",[i._F.HN]:"Honduras",[i._F.KY]:"Cayman Islands",[i._F.DM]:"Dominica",[i._F.TT]:"Trinidad and Tobago",[i._F.CR]:"Costa Rica",[i._F.SR]:"Suriname",[i._F.CX]:"Christmas Island",[i._F.WS]:"Samoa",[i._F.PF]:"French Polynesia",[i._F.AS]:"American Samoa",[i._F.NC]:"New Caledonia",[i._F.TK]:"Tokelau",[i._F.PW]:"Palau",[i._F.KI]:"Kiribati",[i._F.VU]:"Vanuatu",[i._F.PN]:"Pitcairn Islands",[i._F.CK]:"Cook Islands",[i._F.FJ]:"Fiji",[i._F.PG]:"Papua New Guinea",[i._F.MP]:"Northern Mariana Islands",[i._F.NU]:"Niue",[i._F.TV]:"Tuvalu",[i._F.NF]:"Norfolk Island",[i._F.TO]:"Tonga",[i._F.FM]:"Micronesia",[i._F.SB]:"Solomon Islands",[i._F.NR]:"Nauru",[i._F.WF]:"Wallis and Futuna",[i._F.GU]:"Guam",[i._F.AU]:"Australia",[i._F.NZ]:"New Zealand",[i._F.MH]:"Marshall Islands",[i._F.CC]:"Cocos (Keeling) Islands",[i._F.VE]:"Venezuela",[i._F.PY]:"Paraguay",[i._F.BR]:"Brazil",[i._F.CO]:"Colombia",[i._F.PE]:"Peru",[i._F.CL]:"Chile",[i._F.UY]:"Uruguay",[i._F.AR]:"Argentina",[i._F.GY]:"Guyana",[i._F.BO]:"Bolivia",[i._F.GF]:"French Guiana",[i._F.EC]:"Ecuador",[i._F.FK]:"Falkland Islands",[i._F.US_AL]:"Alabama",[i._F.US_AK]:"Alaska",[i._F.US_AZ]:"Arizona",[i._F.US_AR]:"Arkansas",[i._F.US_CA]:"California",[i._F.US_CO]:"Colorado",[i._F.US_CT]:"Connecticut",[i._F.US_DE]:"Delaware",[i._F.US_DC]:"District of Columbia (DC)",[i._F.US_FL]:"Florida",[i._F.US_GA]:"Georgia",[i._F.US_HI]:"Hawaii",[i._F.US_ID]:"Idaho",[i._F.US_IL]:"Illinois",[i._F.US_IN]:"Indiana",[i._F.US_IA]:"Iowa",[i._F.US_KS]:"Kansas",[i._F.US_KY]:"Kentucky",[i._F.US_LA]:"Louisiana",[i._F.US_ME]:"Maine",[i._F.US_MD]:"Maryland",[i._F.US_MA]:"Massachusetts",[i._F.US_MI]:"Michigan",[i._F.US_MN]:"Minnesota",[i._F.US_MS]:"Mississippi",[i._F.US_MO]:"Missouri",[i._F.US_MT]:"Montana",[i._F.US_NE]:"Nebraska",[i._F.US_NV]:"Nevada",[i._F.US_NH]:"New Hampshire",[i._F.US_NJ]:"New Jersey",[i._F.US_NM]:"New Mexico",[i._F.US_NY]:"New York",[i._F.US_NC]:"North Carolina",[i._F.US_ND]:"North Dakota",[i._F.US_OH]:"Ohio",[i._F.US_OK]:"Oklahoma",[i._F.US_OR]:"Oregon",[i._F.US_PA]:"Pennsylvania",[i._F.US_PR]:"Puerto Rico",[i._F.US_RI]:"Rhode Island",[i._F.US_SC]:"South Carolina",[i._F.US_SD]:"South Dakota",[i._F.US_TN]:"Tennessee",[i._F.US_TX]:"Texas",[i._F.US_UT]:"Utah",[i._F.US_VA]:"Virginia",[i._F.US_VI]:"United States Virgin Islands",[i._F.US_VT]:"Vermont",[i._F.US_WA]:"Washington",[i._F.US_WV]:"West Virginia",[i._F.US_WI]:"Wisconsin",[i._F.US_WY]:"Wyoming",[i._F.CA_AB]:"Alberta",[i._F.CA_BC]:"British Columbia",[i._F.CA_MB]:"Manitoba",[i._F.CA_NB]:"New Brunswick",[i._F.CA_NL]:"Newfoundland and Labrador",[i._F.CA_NS]:"Nova Scotia",[i._F.CA_ON]:"Ontario",[i._F.CA_PE]:"Prince Edward Island",[i._F.CA_QC]:"Quebec",[i._F.CA_SK]:"Saskatchewan",[i._F.CA_NT]:"Northwest Territories",[i._F.CA_NU]:"Nunavut",[i._F.CA_YT]:"Yukon",[i._F.CA]:"Canada",[i._F.US]:"United States",[i._F.MEXICO_CENTRAL_AMERICA]:"Mexico and Central America",[i._F.CARIBBEAN]:"Caribbean",[i._F.EEA]:"European Economic Area (EEA)",[i._F.NON_EEA]:"Non European Economic Area",[i._F.GLOBAL]:"Global"},s=new Map(Object.entries(t));Object.entries(t).map(e=>({value:e[0],label:e[1]}))},14908:function(e,a,n){"use strict";var i=n(86677),t=n(27378);let s=e=>e.startsWith("#")?e.slice(1):e;a.Z=e=>{let{tabKeys:a,initialTab:n}=e,r=(0,i.useRouter)(),o=r.asPath.split("#")[1]||a[0],[l,_]=(0,t.useState)(o);return(0,t.useEffect)(()=>{n&&a.includes(n)&&_(n)},[n,a,r.isReady]),{activeTab:l,onTabChange:(0,t.useCallback)(async e=>{if(!a.includes(e)){await r.replace({pathname:r.pathname,query:r.query,hash:void 0}),_(a[0]);return}r.isReady&&(await r.replace({pathname:r.pathname,query:r.query,hash:s(e)},void 0,{shallow:!0}),_(e))},[r,a]),setActiveTab:_}}},77685:function(e,a,n){"use strict";n.d(a,{i:function(){return N}});var i=n(24246),t=n(20595),s=n(34090),r=n(27378),o=n(55484),l=n(16134),_=n(25980),F=n(97181),d=n(40324),u=n(812),c=n(17245),m=n(45938),h=n(8133),S=n(33335),p=n(32885),g=n(57865),y=n(93237),C=n(65450),v=n(36345);let{Text:f}=t.AntTypography,b={name:"",vendor_id:void 0,description:"",tags:[]},N=e=>{let{onSuccessfulSubmit:a,toastOnSuccess:n,...N}=e,[A,M]=(0,r.useState)(!1),U=(0,l.T)(),{tcf:x,dictionaryService:I}=(0,_.hz)(),{isLoading:j}=(0,p.Rd)(void 0,{skip:!I}),w=(0,l.C)(p.o),T=(0,l.C)(g.gU),[B]=(0,C.in)(),[k]=(0,p.Qk)(),[L]=(0,C.f7)(),{successAlert:E,errorAlert:G}=(0,c.VY)(),{setSuggestions:R,setLockedForGVL:D}=g.dictSuggestionsSlice.actions,P=(0,r.useRef)(null),K=(0,r.useMemo)(()=>o.Ry().shape({name:o.Z_().required().label("System name").test("is-unique","",async(e,a)=>{let{data:n}=await B({page:1,size:10,search:e});return!((null==n?void 0:n.items)||[]).filter(a=>a.name===e).some(a=>a.name===e)||a.createError({message:'You already have a system called "'.concat(e,'". Please specify a unique name for this system.')})})}),[B]),O=e=>{if(I){if(!e){U(R("hiding")),U(D(!1));return}U(R("showing")),x&&(0,u.cj)(e)===u.c6.GVL?U(D(!0)):U(D(!1))}},W=()=>{N.onClose(),U(R("initial")),U(D(!1))},V=async e=>{if(M(!0),e.vendor_id){let i=await k([e.vendor_id]);if((0,u.D4)(i))G((0,u.e$)(i.error));else{let{data:e}=i,t=e.systems[0];null==a||a(t.fides_key,t.name),n&&E("".concat(e.name," has been added to your system inventory.")),W()}}else{let i={...e,fides_key:(0,S.E)(e.name),system_type:"",body:"",privacy_declarations:[]},t=await L(i);if((0,u.D4)(t))G((0,u.e$)(t.error));else{let{fides_key:i,name:s}=t.data;null==a||a(i,s),n&&E("".concat(e.name," has been added to your system inventory."))}W()}M(!1)};return(0,i.jsx)(h.Z,{title:"Add New System",...N,onClose:W,children:(0,i.jsx)(s.J9,{initialValues:b,onSubmit:V,validationSchema:K,innerRef:P,children:e=>{let{dirty:a,isValid:n}=e;return(0,i.jsxs)(s.l0,{children:[(0,i.jsx)(m.Gt,{id:"new-system-modal",name:"Add New System"}),(0,i.jsxs)(t.jqI,{vertical:!0,gap:20,className:"pb-6 pt-4",children:[(0,i.jsx)(f,{children:"Fides will add this system to your inventory and configure it for consent using the categories of consent listed below. Optionally, you can check if this system is listed within the Fides compass library by selecting the compass icon below."}),I?(0,i.jsx)(v.Z,{label:"System name",options:w,onVendorSelected:O,isCreate:!0,lockedForGVL:T,isLoading:j}):(0,i.jsx)(d.j0,{id:"name",name:"name",label:"System name",tooltip:"Give the system a unique, and relevant name for reporting purposes. e.g. “Email Data Warehouse”",variant:"stacked",isRequired:!0}),(0,i.jsx)(y.Sv,{id:"description",name:"description",label:"Description",tooltip:"What services does this system perform?",disabled:T}),(0,i.jsx)(F.d,{mode:"tags",id:"tags",name:"tags",label:"System Tags",options:[],layout:"stacked",tooltip:"Are there any tags to associate with this system?",disabled:T})]}),(0,i.jsxs)(t.jqI,{justify:"space-between",children:[(0,i.jsx)(t.wpx,{htmlType:"reset",onClick:W,"data-testid":"cancel-btn",children:"Cancel"}),(0,i.jsx)(t.wpx,{htmlType:"submit",type:"primary",disabled:j||!a||!n,loading:A,"data-testid":"save-btn",children:"Save"})]})]})}})})}},93237:function(e,a,n){"use strict";n.d(a,{Sv:function(){return m},Yb:function(){return c},dQ:function(){return h},lm:function(){return S}});var i=n(24246),t=n(20595),s=n(34090),r=n(27378),o=n(16134),l=n(40324),_=n(46238),F=n(32885),d=n(57865);let u=(e,a,n)=>{var i,t;let[l,_,{setValue:u,setTouched:c}]=(0,s.U$)({name:e,type:n||void 0}),m=!!(_.touched&&_.error),{error:h}=_,S={...l,value:null!==(i=l.value)&&void 0!==i?i:""},[p,g]=(0,r.useState)(null!==(t=S.value)&&void 0!==t?t:""),{values:y}=(0,s.u6)(),{vendor_id:C}=y,v=(0,o.C)((0,F.$e)(C||"")),f=(0,o.C)(d.bN),b=(0,r.useRef)();return(0,r.useEffect)(()=>{"showing"===f&&g(S.value)},[f,g]),(0,r.useEffect)(()=>{if("showing"===f&&v){let n=a?a(v):v[e];S.value!==n&&(u(n),setTimeout(()=>{var e;c(!0),null===(e=b.current)||void 0===e||e.blur()},300))}},[f,u,v,b.current]),(0,r.useEffect)(()=>{"hiding"===f&&u(p)},[f,u,p]),{field:S,isInvalid:m,isShowingSuggestions:f,error:h,inputRef:b}},c=e=>{let{label:a,tooltip:n,disabled:s,isRequired:r=!1,dictField:o,name:F,placeholder:d,id:c}=e,{field:m,isInvalid:h,isShowingSuggestions:S,error:p,inputRef:g}=u(F,o);return(0,i.jsx)(t.NIc,{isInvalid:h,isRequired:r,children:(0,i.jsxs)(t.gCW,{alignItems:"start",children:[(0,i.jsxs)(t.kCb,{alignItems:"center",children:[(0,i.jsx)(l.__,{htmlFor:c||F,fontSize:"xs",my:0,mr:1,children:a}),(0,i.jsx)(_.b,{label:n})]}),(0,i.jsx)(l.oi,{...m,ref:g,isRequired:r,isDisabled:s,"data-testid":"input-".concat(m.name),placeholder:d,isPassword:!1,color:"showing"===S?"complimentary.500":"gray.800"}),(0,i.jsx)(l.Bc,{isInvalid:h,message:p,fieldName:m.name})]})})},m=e=>{let{label:a,tooltip:n,disabled:s,isRequired:r=!1,dictField:o,name:F,id:d}=e,{field:c,isInvalid:m,isShowingSuggestions:h,error:S}=u(F,o);return(0,i.jsx)(t.NIc,{isInvalid:m,isRequired:r,children:(0,i.jsxs)(t.gCW,{alignItems:"start",children:[(0,i.jsxs)(t.kCb,{alignItems:"center",children:[(0,i.jsx)(l.__,{htmlFor:d||F,fontSize:"xs",my:0,mr:1,children:a}),(0,i.jsx)(_.b,{label:n})]}),(0,i.jsx)(t.gxH,{...c,size:"sm","data-testid":"input-".concat(c.name),focusBorderColor:"primary.600",color:"showing"===h?"complimentary.500":"gray.800",isDisabled:s}),(0,i.jsx)(l.Bc,{isInvalid:m,message:S,fieldName:c.name})]})})},h=e=>{let{label:a,tooltip:n,dictField:r,name:o,id:F,disabled:d}=e,{field:c,isInvalid:m,error:h}=u(o,r,"checkbox");return(0,i.jsxs)(t.NIc,{isInvalid:m,width:"full",children:[(0,i.jsxs)(t.xuv,{display:"flex",alignItems:"center",justifyContent:"space-between",children:[(0,i.jsxs)(t.Ugi,{spacing:1,children:[(0,i.jsx)(l.__,{htmlFor:F||o,fontSize:"xs",my:0,mr:0,children:a}),(0,i.jsx)(_.b,{label:n})]}),(0,i.jsx)(t.Ugi,{children:(0,i.jsx)(s.gN,{name:c.name,children:e=>{let{form:{setFieldValue:a}}=e;return(0,i.jsx)(t.rAg,{checked:c.checked,onChange:e=>{a(c.name,e)},disabled:d,className:"mr-2","data-testid":"input-".concat(c.name),size:"small"})}})})]}),(0,i.jsx)(l.Bc,{isInvalid:m,message:h,fieldName:c.name})]})},S=e=>{let{label:a,tooltip:n,dictField:r,name:o,id:F,disabled:d}=e,{field:c,isInvalid:m,error:h,isShowingSuggestions:S}=u(o,r,"numeric"),{setFieldValue:p}=(0,s.u6)();return(0,i.jsxs)(t.NIc,{isInvalid:m,width:"full",children:[(0,i.jsxs)(t.xuv,{display:"flex",alignItems:"center",justifyContent:"space-between",children:[(0,i.jsxs)(t.Ugi,{spacing:1,children:[(0,i.jsx)(l.__,{htmlFor:F||o,fontSize:"xs",my:0,mr:0,children:a}),(0,i.jsx)(_.b,{label:n})]}),(0,i.jsx)(t.Ugi,{children:(0,i.jsxs)(t.Y2U,{value:c.value,name:c.name,size:"xs",onBlur:c.onBlur,onChange:e=>{p(c.name,e)},w:"100%",colorScheme:"terracotta",inputMode:"numeric","data-testid":"input-".concat(c.name),color:"showing"===S?"complimentary.500":"gray.800",focusBorderColor:"primary.600",isDisabled:d,children:[(0,i.jsx)(t.zuI,{}),(0,i.jsxs)(t.FiK,{children:[(0,i.jsx)(t.WQu,{}),(0,i.jsx)(t.Y_d,{})]})]})})]}),(0,i.jsx)(l.Bc,{isInvalid:m,message:h,fieldName:c.name})]})}},99830:function(e){e.exports={toastLink:"ToastLink_toastLink__OLSeq"}},72707:function(e){e.exports={option:"TaxonomySelect_option__vY6v2"}}}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1438],{26089:function(e,a,n){"use strict";var i=n(24246),t=n(87949),s=n(99830),r=n.n(s);a.Z=e=>{let{onClick:a,children:n}=e;return(0,i.jsx)(t.wpx,{onClick:a,type:"link",role:"link",size:"small",className:r().toastLink,children:n})}},29850:function(e,a,n){"use strict";n.d(a,{R:function(){return F}});var i=n(24246),t=n(87949),s=n(27378),r=n(65450);let o=e=>{let{children:a,className:n,style:s,...r}=e;return(0,i.jsx)(t.wpx,{...r,type:"text",className:"w-full justify-start ".concat(n),style:{fontWeight:600,padding:"var(--ant-select-option-padding)",backgroundColor:"var(--ant-select-option-selected-bg)",...s},children:a})};var l=n(16394);let _=(e,a)=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o,{onClick:a,"data-testid":"add-new-system",id:"add-new-system",children:"Add new system +"}),e]}),F=e=>{var a;let{onAddSystem:n,...o}=e,[F,d]=(0,s.useState)(),{data:u,isFetching:c}=(0,r.xF)({page:1,size:25,search:F||void 0}),m=null==u?void 0:null===(a=u.items)||void 0===a?void 0:a.map(e=>({value:e.fides_key,label:e.name})),h=(0,s.useCallback)(e=>{(null==e?void 0:e.length)>1&&d(e),(null==e?void 0:e.length)===0&&d(void 0)},[d]),S=(0,s.useMemo)(()=>(0,l.Ds)(h,300),[h]);return(0,i.jsx)(t.WPr,{placeholder:"Search...","aria-label":"Search for a system to select",popupRender:n?e=>_(e,n):void 0,"data-testid":"system-select",...o,styles:{popup:{root:{minWidth:"500px"}},...o.styles},filterOption:!1,options:m,onSearch:S,loading:o.loading||c})}},79283:function(e,a,n){"use strict";n.d(a,{l:function(){return F}});var i=n(24246),t=n(87949),s=n(72707),r=n.n(s);let o=e=>{let{data:{formattedTitle:a,description:n,name:s,primaryName:r}}=e;return(0,i.jsxs)(t.jqI,{gap:12,title:"".concat(a," - ").concat(n),children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("strong",{children:r||s}),r&&": ".concat(s)]}),(0,i.jsx)("em",{children:n})]})},l=e=>"options"in e&&Array.isArray(e.options),_=e=>({...e,className:r().option,formattedTitle:e.formattedTitle||[e.primaryName,e.name].filter(e=>e).join(": ")}),F=e=>{let{options:a,...n}=e,s=null==a?void 0:a.map(e=>l(e)?{...e,options:e.options.map(_)}:_(e));return(0,i.jsx)(t.WPr,{options:s,filterOption:(e,a)=>{var n,i;return(null==a?void 0:null===(n=a.formattedTitle)||void 0===n?void 0:n.toLowerCase().includes(e.toLowerCase()))||(null==a?void 0:null===(i=a.value)||void 0===i?void 0:i.toLowerCase().includes(e.toLowerCase()))||!1},optionFilterProp:"label",autoFocus:!0,variant:"borderless",optionRender:o,styles:{popup:{root:{minWidth:"500px"}}},className:"w-full p-0","data-testid":"taxonomy-select",...n})}},34929:function(e,a,n){"use strict";var i=n(24246),t=n(64925),s=n.n(t),r=n(27378),o=n(16134),l=n(30002),_=n(28079),F=n(57072);let d=()=>{let{isLoading:e}=(0,_.fd)(),a=(0,o.C)(_.U3),{isLoading:n}=(0,F.MO)(),i=(0,o.C)(F.qb),{isLoading:t}=(0,l.te)();return{dataUses:a,dataSubjects:(0,o.C)(l.ZL),dataCategories:i,isLoading:e||n||t}};a.Z=()=>{let{dataUses:e,dataCategories:a,dataSubjects:n,isLoading:t}=d(),o=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e.split(".").slice(0,a).join(".")},l=function(e,a){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=a(e);if(!i)return{};let t=a(o(e,n)),s=!!i.parent_key;return{name:i.name||void 0,primaryName:s&&(null==t?void 0:t.name)!==i.name&&(null==t?void 0:t.name)||void 0}},_=function(e,a){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,{name:t,primaryName:s}=l(e,a,n);return t?s?(0,i.jsxs)(r.Fragment,{children:[(0,i.jsxs)("strong",{children:[s,":"]})," ",t]},e):(0,i.jsx)("strong",{children:t},e):e},F=a=>s()(e,{fides_key:a}),u=e=>s()(a,{fides_key:e}),c=e=>s()(n,{fides_key:e});return{getDataUses:()=>e,getDataUseByKey:F,getDataUseDisplayName:e=>_(e,F,1),getDataUseDisplayNameProps:e=>l(e,F,1),getDataCategories:()=>a,getDataCategoryByKey:u,getDataCategoryDisplayName:e=>_(e,u,2),getDataCategoryDisplayNameProps:e=>l(e,u,2),getDataSubjects:()=>n,getDataSubjectByKey:c,getDataSubjectDisplayName:e=>{let a=c(e);return a?a.name:e},getPrimaryKey:o,isLoading:t}}},8411:function(e,a,n){"use strict";n.d(a,{NA:function(){return s},Z8:function(){return t}});var i=n(65735);let t={[i._F.ER]:"Eritrea",[i._F.DJ]:"Djibouti",[i._F.MR]:"Mauritania",[i._F.NA]:"Namibia",[i._F.GH]:"Ghana",[i._F.SS]:"South Sudan",[i._F.SC]:"Seychelles",[i._F.IO]:"British Indian Ocean Territory",[i._F.GQ]:"Equatorial Guinea",[i._F.AO]:"Angola",[i._F.CG]:"Republic of the Congo",[i._F.BW]:"Botswana",[i._F.BI]:"Burundi",[i._F.DZ]:"Algeria",[i._F.TD]:"Chad",[i._F.NG]:"Nigeria",[i._F.TZ]:"Tanzania",[i._F.EH]:"Western Sahara",[i._F.SN]:"Senegal",[i._F.LR]:"Liberia",[i._F.ZA]:"South Africa",[i._F.CV]:"Cape Verde",[i._F.GM]:"Gambia",[i._F.SD]:"Sudan",[i._F.KM]:"Comoros",[i._F.SZ]:"Eswatini",[i._F.UG]:"Uganda",[i._F.MG]:"Madagascar",[i._F.RW]:"Rwanda",[i._F.CD]:"DR Congo",[i._F.CM]:"Cameroon",[i._F.SH]:"Saint Helena, Ascension and Tristan da Cunha",[i._F.TG]:"Togo",[i._F.MU]:"Mauritius",[i._F.NE]:"Niger",[i._F.BJ]:"Benin",[i._F.EG]:"Egypt",[i._F.LS]:"Lesotho",[i._F.ET]:"Ethiopia",[i._F.MA]:"Morocco",[i._F.YT]:"Mayotte",[i._F.BF]:"Burkina Faso",[i._F.RE]:"R\xe9union",[i._F.ST]:"S\xe3o Tom\xe9 and Pr\xedncipe",[i._F.CF]:"Central African Republic",[i._F.MZ]:"Mozambique",[i._F.MW]:"Malawi",[i._F.ML]:"Mali",[i._F.ZM]:"Zambia",[i._F.LY]:"Libya",[i._F.GW]:"Guinea-Bissau",[i._F.SO]:"Somalia",[i._F.KE]:"Kenya",[i._F.GN]:"Guinea",[i._F.ZW]:"Zimbabwe",[i._F.TN]:"Tunisia",[i._F.SL]:"Sierra Leone",[i._F.GA]:"Gabon",[i._F.CI]:"Ivory Coast",[i._F.JO]:"Jordan",[i._F.PK]:"Pakistan",[i._F.KP]:"North Korea",[i._F.MO]:"Macau",[i._F.AM]:"Armenia",[i._F.SY]:"Syria",[i._F.TJ]:"Tajikistan",[i._F.SA]:"Saudi Arabia",[i._F.KR]:"South Korea",[i._F.NP]:"Nepal",[i._F.PH]:"Philippines",[i._F.IQ]:"Iraq",[i._F.LB]:"Lebanon",[i._F.MN]:"Mongolia",[i._F.PS]:"Palestine",[i._F.YE]:"Yemen",[i._F.JP]:"Japan",[i._F.KZ]:"Kazakhstan",[i._F.LK]:"Sri Lanka",[i._F.MM]:"Myanmar",[i._F.KG]:"Kyrgyzstan",[i._F.CN]:"China",[i._F.AF]:"Afghanistan",[i._F.OM]:"Oman",[i._F.IN]:"India",[i._F.LA]:"Laos",[i._F.UZ]:"Uzbekistan",[i._F.MV]:"Maldives",[i._F.ID]:"Indonesia",[i._F.VN]:"Vietnam",[i._F.MY]:"Malaysia",[i._F.TW]:"Taiwan",[i._F.KH]:"Cambodia",[i._F.AE]:"United Arab Emirates",[i._F.HK]:"Hong Kong",[i._F.GE]:"Georgia (Country)",[i._F.BD]:"Bangladesh",[i._F.KW]:"Kuwait",[i._F.TM]:"Turkmenistan",[i._F.QA]:"Qatar",[i._F.BH]:"Bahrain",[i._F.BN]:"Brunei",[i._F.TH]:"Thailand",[i._F.BT]:"Bhutan",[i._F.SG]:"Singapore",[i._F.IL]:"Israel",[i._F.AZ]:"Azerbaijan",[i._F.TL]:"Timor-Leste",[i._F.IR]:"Iran",[i._F.TR]:"Turkey",[i._F.MK]:"North Macedonia",[i._F.IE]:"Ireland",[i._F.DK]:"Denmark",[i._F.SK]:"Slovakia",[i._F.MD]:"Moldova",[i._F.AX]:"\xc5land Islands",[i._F.PL]:"Poland",[i._F.BA]:"Bosnia and Herzegovina",[i._F.SM]:"San Marino",[i._F.CZ]:"Czechia",[i._F.EE]:"Estonia",[i._F.XK]:"Kosovo",[i._F.FO]:"Faroe Islands",[i._F.SJ]:"Svalbard and Jan Mayen",[i._F.GG]:"Guernsey",[i._F.FR]:"France",[i._F.NL]:"Netherlands",[i._F.FI]:"Finland",[i._F.PT]:"Portugal",[i._F.DE]:"Germany",[i._F.MT]:"Malta",[i._F.JE]:"Jersey",[i._F.IS]:"Iceland",[i._F.ES]:"Spain",[i._F.GI]:"Gibraltar",[i._F.NO]:"Norway",[i._F.CY]:"Cyprus",[i._F.RS]:"Serbia",[i._F.LT]:"Lithuania",[i._F.MC]:"Monaco",[i._F.LU]:"Luxembourg",[i._F.UA]:"Ukraine",[i._F.IM]:"Isle of Man",[i._F.RO]:"Romania",[i._F.BE]:"Belgium",[i._F.SE]:"Sweden",[i._F.ME]:"Montenegro",[i._F.LV]:"Latvia",[i._F.VA]:"Vatican City",[i._F.AT]:"Austria",[i._F.AL]:"Albania",[i._F.LI]:"Liechtenstein",[i._F.GR]:"Greece",[i._F.IT]:"Italy",[i._F.AD]:"Andorra",[i._F.GB]:"United Kingdom",[i._F.RU]:"Russia",[i._F.SI]:"Slovenia",[i._F.BY]:"Belarus",[i._F.CH]:"Switzerland",[i._F.HU]:"Hungary",[i._F.BG]:"Bulgaria",[i._F.HR]:"Croatia",[i._F.TC]:"Turks and Caicos Islands",[i._F.CW]:"Cura\xe7ao",[i._F.GP]:"Guadeloupe",[i._F.UM]:"United States Minor Outlying Islands",[i._F.GT]:"Guatemala",[i._F.PM]:"Saint Pierre and Miquelon",[i._F.BQ]:"Caribbean Netherlands",[i._F.GL]:"Greenland",[i._F.SX]:"Sint Maarten",[i._F.PA]:"Panama",[i._F.AW]:"Aruba",[i._F.MQ]:"Martinique",[i._F.AG]:"Antigua and Barbuda",[i._F.BM]:"Bermuda",[i._F.CU]:"Cuba",[i._F.GD]:"Grenada",[i._F.NI]:"Nicaragua",[i._F.LC]:"Saint Lucia",[i._F.KN]:"Saint Kitts and Nevis",[i._F.DO]:"Dominican Republic",[i._F.VC]:"Saint Vincent and the Grenadines",[i._F.BZ]:"Belize",[i._F.HT]:"Haiti",[i._F.JM]:"Jamaica",[i._F.BS]:"Bahamas",[i._F.MX]:"Mexico",[i._F.MF]:"Saint Martin",[i._F.SV]:"El Salvador",[i._F.BL]:"Saint Barth\xe9lemy",[i._F.AI]:"Anguilla",[i._F.MS]:"Montserrat",[i._F.VG]:"British Virgin Islands",[i._F.BB]:"Barbados",[i._F.HN]:"Honduras",[i._F.KY]:"Cayman Islands",[i._F.DM]:"Dominica",[i._F.TT]:"Trinidad and Tobago",[i._F.CR]:"Costa Rica",[i._F.SR]:"Suriname",[i._F.CX]:"Christmas Island",[i._F.WS]:"Samoa",[i._F.PF]:"French Polynesia",[i._F.AS]:"American Samoa",[i._F.NC]:"New Caledonia",[i._F.TK]:"Tokelau",[i._F.PW]:"Palau",[i._F.KI]:"Kiribati",[i._F.VU]:"Vanuatu",[i._F.PN]:"Pitcairn Islands",[i._F.CK]:"Cook Islands",[i._F.FJ]:"Fiji",[i._F.PG]:"Papua New Guinea",[i._F.MP]:"Northern Mariana Islands",[i._F.NU]:"Niue",[i._F.TV]:"Tuvalu",[i._F.NF]:"Norfolk Island",[i._F.TO]:"Tonga",[i._F.FM]:"Micronesia",[i._F.SB]:"Solomon Islands",[i._F.NR]:"Nauru",[i._F.WF]:"Wallis and Futuna",[i._F.GU]:"Guam",[i._F.AU]:"Australia",[i._F.NZ]:"New Zealand",[i._F.MH]:"Marshall Islands",[i._F.CC]:"Cocos (Keeling) Islands",[i._F.VE]:"Venezuela",[i._F.PY]:"Paraguay",[i._F.BR]:"Brazil",[i._F.CO]:"Colombia",[i._F.PE]:"Peru",[i._F.CL]:"Chile",[i._F.UY]:"Uruguay",[i._F.AR]:"Argentina",[i._F.GY]:"Guyana",[i._F.BO]:"Bolivia",[i._F.GF]:"French Guiana",[i._F.EC]:"Ecuador",[i._F.FK]:"Falkland Islands",[i._F.US_AL]:"Alabama",[i._F.US_AK]:"Alaska",[i._F.US_AZ]:"Arizona",[i._F.US_AR]:"Arkansas",[i._F.US_CA]:"California",[i._F.US_CO]:"Colorado",[i._F.US_CT]:"Connecticut",[i._F.US_DE]:"Delaware",[i._F.US_DC]:"District of Columbia (DC)",[i._F.US_FL]:"Florida",[i._F.US_GA]:"Georgia",[i._F.US_HI]:"Hawaii",[i._F.US_ID]:"Idaho",[i._F.US_IL]:"Illinois",[i._F.US_IN]:"Indiana",[i._F.US_IA]:"Iowa",[i._F.US_KS]:"Kansas",[i._F.US_KY]:"Kentucky",[i._F.US_LA]:"Louisiana",[i._F.US_ME]:"Maine",[i._F.US_MD]:"Maryland",[i._F.US_MA]:"Massachusetts",[i._F.US_MI]:"Michigan",[i._F.US_MN]:"Minnesota",[i._F.US_MS]:"Mississippi",[i._F.US_MO]:"Missouri",[i._F.US_MT]:"Montana",[i._F.US_NE]:"Nebraska",[i._F.US_NV]:"Nevada",[i._F.US_NH]:"New Hampshire",[i._F.US_NJ]:"New Jersey",[i._F.US_NM]:"New Mexico",[i._F.US_NY]:"New York",[i._F.US_NC]:"North Carolina",[i._F.US_ND]:"North Dakota",[i._F.US_OH]:"Ohio",[i._F.US_OK]:"Oklahoma",[i._F.US_OR]:"Oregon",[i._F.US_PA]:"Pennsylvania",[i._F.US_PR]:"Puerto Rico",[i._F.US_RI]:"Rhode Island",[i._F.US_SC]:"South Carolina",[i._F.US_SD]:"South Dakota",[i._F.US_TN]:"Tennessee",[i._F.US_TX]:"Texas",[i._F.US_UT]:"Utah",[i._F.US_VA]:"Virginia",[i._F.US_VI]:"United States Virgin Islands",[i._F.US_VT]:"Vermont",[i._F.US_WA]:"Washington",[i._F.US_WV]:"West Virginia",[i._F.US_WI]:"Wisconsin",[i._F.US_WY]:"Wyoming",[i._F.CA_AB]:"Alberta",[i._F.CA_BC]:"British Columbia",[i._F.CA_MB]:"Manitoba",[i._F.CA_NB]:"New Brunswick",[i._F.CA_NL]:"Newfoundland and Labrador",[i._F.CA_NS]:"Nova Scotia",[i._F.CA_ON]:"Ontario",[i._F.CA_PE]:"Prince Edward Island",[i._F.CA_QC]:"Quebec",[i._F.CA_SK]:"Saskatchewan",[i._F.CA_NT]:"Northwest Territories",[i._F.CA_NU]:"Nunavut",[i._F.CA_YT]:"Yukon",[i._F.CA]:"Canada",[i._F.US]:"United States",[i._F.MEXICO_CENTRAL_AMERICA]:"Mexico and Central America",[i._F.CARIBBEAN]:"Caribbean",[i._F.EEA]:"European Economic Area (EEA)",[i._F.NON_EEA]:"Non European Economic Area",[i._F.GLOBAL]:"Global"},s=new Map(Object.entries(t));Object.entries(t).map(e=>({value:e[0],label:e[1]}))},14908:function(e,a,n){"use strict";var i=n(86677),t=n(27378);let s=e=>e.startsWith("#")?e.slice(1):e;a.Z=e=>{let{tabKeys:a,initialTab:n}=e,r=(0,i.useRouter)(),o=r.asPath.split("#")[1]||a[0],[l,_]=(0,t.useState)(o);return(0,t.useEffect)(()=>{n&&a.includes(n)&&_(n)},[n,a,r.isReady]),{activeTab:l,onTabChange:(0,t.useCallback)(async e=>{if(!a.includes(e)){await r.replace({pathname:r.pathname,query:r.query,hash:void 0}),_(a[0]);return}r.isReady&&(await r.replace({pathname:r.pathname,query:r.query,hash:s(e)},void 0,{shallow:!0}),_(e))},[r,a]),setActiveTab:_}}},77685:function(e,a,n){"use strict";n.d(a,{i:function(){return f}});var i=n(24246),t=n(87949),s=n(34090),r=n(27378),o=n(55484),l=n(16134),_=n(25980),F=n(97181),d=n(40324),u=n(812),c=n(17245),m=n(45938),h=n(8133),S=n(33335),p=n(32885),y=n(57865),g=n(93237),C=n(65450),v=n(36345);let{Text:N}=t.AntTypography,b={name:"",vendor_id:void 0,description:"",tags:[]},f=e=>{let{onSuccessfulSubmit:a,toastOnSuccess:n,...f}=e,[A,M]=(0,r.useState)(!1),U=(0,l.T)(),{tcf:x,dictionaryService:I}=(0,_.hz)(),{isLoading:j}=(0,p.Rd)(void 0,{skip:!I}),w=(0,l.C)(p.o),T=(0,l.C)(y.gU),[B]=(0,C.in)(),[k]=(0,p.Qk)(),[L]=(0,C.f7)(),{successAlert:E,errorAlert:G}=(0,c.VY)(),{setSuggestions:R,setLockedForGVL:D}=y.dictSuggestionsSlice.actions,P=(0,r.useRef)(null),K=(0,r.useMemo)(()=>o.Ry().shape({name:o.Z_().required().label("System name").test("is-unique","",async(e,a)=>{let{data:n}=await B({page:1,size:10,search:e});return!((null==n?void 0:n.items)||[]).filter(a=>a.name===e).some(a=>a.name===e)||a.createError({message:'You already have a system called "'.concat(e,'". Please specify a unique name for this system.')})})}),[B]),O=e=>{if(I){if(!e){U(R("hiding")),U(D(!1));return}U(R("showing")),x&&(0,u.cj)(e)===u.c6.GVL?U(D(!0)):U(D(!1))}},W=()=>{f.onClose(),U(R("initial")),U(D(!1))},V=async e=>{if(M(!0),e.vendor_id){let i=await k([e.vendor_id]);if((0,u.D4)(i))G((0,u.e$)(i.error));else{let{data:e}=i,t=e.systems[0];null==a||a(t.fides_key,t.name),n&&E("".concat(e.name," has been added to your system inventory.")),W()}}else{let i={...e,fides_key:(0,S.E)(e.name),system_type:"",body:"",privacy_declarations:[]},t=await L(i);if((0,u.D4)(t))G((0,u.e$)(t.error));else{let{fides_key:i,name:s}=t.data;null==a||a(i,s),n&&E("".concat(e.name," has been added to your system inventory."))}W()}M(!1)};return(0,i.jsx)(h.Z,{title:"Add New System",...f,onClose:W,children:(0,i.jsx)(s.J9,{initialValues:b,onSubmit:V,validationSchema:K,innerRef:P,children:e=>{let{dirty:a,isValid:n}=e;return(0,i.jsxs)(s.l0,{children:[(0,i.jsx)(m.Gt,{id:"new-system-modal",name:"Add New System"}),(0,i.jsxs)(t.jqI,{vertical:!0,gap:20,className:"pb-6 pt-4",children:[(0,i.jsx)(N,{children:"Fides will add this system to your inventory and configure it for consent using the categories of consent listed below. Optionally, you can check if this system is listed within the Fides compass library by selecting the compass icon below."}),I?(0,i.jsx)(v.Z,{label:"System name",options:w,onVendorSelected:O,isCreate:!0,lockedForGVL:T,isLoading:j}):(0,i.jsx)(d.j0,{id:"name",name:"name",label:"System name",tooltip:"Give the system a unique, and relevant name for reporting purposes. e.g. “Email Data Warehouse”",variant:"stacked",isRequired:!0}),(0,i.jsx)(g.Sv,{id:"description",name:"description",label:"Description",tooltip:"What services does this system perform?",disabled:T}),(0,i.jsx)(F.d,{mode:"tags",id:"tags",name:"tags",label:"System Tags",options:[],layout:"stacked",tooltip:"Are there any tags to associate with this system?",disabled:T})]}),(0,i.jsxs)(t.jqI,{justify:"space-between",children:[(0,i.jsx)(t.wpx,{htmlType:"reset",onClick:W,"data-testid":"cancel-btn",children:"Cancel"}),(0,i.jsx)(t.wpx,{htmlType:"submit",type:"primary",disabled:j||!a||!n,loading:A,"data-testid":"save-btn",children:"Save"})]})]})}})})}},93237:function(e,a,n){"use strict";n.d(a,{Sv:function(){return m},Yb:function(){return c},dQ:function(){return h},lm:function(){return S}});var i=n(24246),t=n(87949),s=n(34090),r=n(27378),o=n(16134),l=n(40324),_=n(46238),F=n(32885),d=n(57865);let u=(e,a,n)=>{var i,t;let[l,_,{setValue:u,setTouched:c}]=(0,s.U$)({name:e,type:n||void 0}),m=!!(_.touched&&_.error),{error:h}=_,S={...l,value:null!==(i=l.value)&&void 0!==i?i:""},[p,y]=(0,r.useState)(null!==(t=S.value)&&void 0!==t?t:""),{values:g}=(0,s.u6)(),{vendor_id:C}=g,v=(0,o.C)((0,F.$e)(C||"")),N=(0,o.C)(d.bN),b=(0,r.useRef)();return(0,r.useEffect)(()=>{"showing"===N&&y(S.value)},[N,y]),(0,r.useEffect)(()=>{if("showing"===N&&v){let n=a?a(v):v[e];S.value!==n&&(u(n),setTimeout(()=>{var e;c(!0),null===(e=b.current)||void 0===e||e.blur()},300))}},[N,u,v,b.current]),(0,r.useEffect)(()=>{"hiding"===N&&u(p)},[N,u,p]),{field:S,isInvalid:m,isShowingSuggestions:N,error:h,inputRef:b}},c=e=>{let{label:a,tooltip:n,disabled:s,isRequired:r=!1,dictField:o,name:F,placeholder:d,id:c}=e,{field:m,isInvalid:h,isShowingSuggestions:S,error:p,inputRef:y}=u(F,o);return(0,i.jsx)(t.NIc,{isInvalid:h,isRequired:r,children:(0,i.jsxs)(t.gCW,{alignItems:"start",children:[(0,i.jsxs)(t.kCb,{alignItems:"center",children:[(0,i.jsx)(l.__,{htmlFor:c||F,fontSize:"xs",my:0,mr:1,children:a}),(0,i.jsx)(_.b,{label:n})]}),(0,i.jsx)(l.oi,{...m,ref:y,isRequired:r,isDisabled:s,"data-testid":"input-".concat(m.name),placeholder:d,isPassword:!1,color:"showing"===S?"complimentary.500":"gray.800"}),(0,i.jsx)(l.Bc,{isInvalid:h,message:p,fieldName:m.name})]})})},m=e=>{let{label:a,tooltip:n,disabled:s,isRequired:r=!1,dictField:o,name:F,id:d}=e,{field:c,isInvalid:m,isShowingSuggestions:h,error:S}=u(F,o);return(0,i.jsx)(t.NIc,{isInvalid:m,isRequired:r,children:(0,i.jsxs)(t.gCW,{alignItems:"start",children:[(0,i.jsxs)(t.kCb,{alignItems:"center",children:[(0,i.jsx)(l.__,{htmlFor:d||F,fontSize:"xs",my:0,mr:1,children:a}),(0,i.jsx)(_.b,{label:n})]}),(0,i.jsx)(t.gxH,{...c,size:"sm","data-testid":"input-".concat(c.name),focusBorderColor:"primary.600",color:"showing"===h?"complimentary.500":"gray.800",isDisabled:s}),(0,i.jsx)(l.Bc,{isInvalid:m,message:S,fieldName:c.name})]})})},h=e=>{let{label:a,tooltip:n,dictField:r,name:o,id:F,disabled:d}=e,{field:c,isInvalid:m,error:h}=u(o,r,"checkbox");return(0,i.jsxs)(t.NIc,{isInvalid:m,width:"full",children:[(0,i.jsxs)(t.xuv,{display:"flex",alignItems:"center",justifyContent:"space-between",children:[(0,i.jsxs)(t.Ugi,{spacing:1,children:[(0,i.jsx)(l.__,{htmlFor:F||o,fontSize:"xs",my:0,mr:0,children:a}),(0,i.jsx)(_.b,{label:n})]}),(0,i.jsx)(t.Ugi,{children:(0,i.jsx)(s.gN,{name:c.name,children:e=>{let{form:{setFieldValue:a}}=e;return(0,i.jsx)(t.rAg,{checked:c.checked,onChange:e=>{a(c.name,e)},disabled:d,className:"mr-2","data-testid":"input-".concat(c.name),size:"small"})}})})]}),(0,i.jsx)(l.Bc,{isInvalid:m,message:h,fieldName:c.name})]})},S=e=>{let{label:a,tooltip:n,dictField:r,name:o,id:F,disabled:d}=e,{field:c,isInvalid:m,error:h,isShowingSuggestions:S}=u(o,r,"numeric"),{setFieldValue:p}=(0,s.u6)();return(0,i.jsxs)(t.NIc,{isInvalid:m,width:"full",children:[(0,i.jsxs)(t.xuv,{display:"flex",alignItems:"center",justifyContent:"space-between",children:[(0,i.jsxs)(t.Ugi,{spacing:1,children:[(0,i.jsx)(l.__,{htmlFor:F||o,fontSize:"xs",my:0,mr:0,children:a}),(0,i.jsx)(_.b,{label:n})]}),(0,i.jsx)(t.Ugi,{children:(0,i.jsxs)(t.Y2U,{value:c.value,name:c.name,size:"xs",onBlur:c.onBlur,onChange:e=>{p(c.name,e)},w:"100%",colorScheme:"terracotta",inputMode:"numeric","data-testid":"input-".concat(c.name),color:"showing"===S?"complimentary.500":"gray.800",focusBorderColor:"primary.600",isDisabled:d,children:[(0,i.jsx)(t.zuI,{}),(0,i.jsxs)(t.FiK,{children:[(0,i.jsx)(t.WQu,{}),(0,i.jsx)(t.Y_d,{})]})]})})]}),(0,i.jsx)(l.Bc,{isInvalid:m,message:h,fieldName:c.name})]})}},99830:function(e){e.exports={toastLink:"ToastLink_toastLink__OLSeq"}},72707:function(e){e.exports={option:"TaxonomySelect_option__vY6v2"}}}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1817],{11817:function(e,t,n){"use strict";n.d(t,{Z:function(){return B}});var i=n(24246),o=n(20595),r=n(34090),a=n(86677),s=n(27378),l=n(55484),c=n(16134),d=n(812);let u=(0,o.IUT)({displayName:"DesktopIcon",viewBox:"0 0 24 24",path:(0,i.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"})}),p=(0,o.IUT)({displayName:"MobileIcon",viewBox:"0 0 24 24",path:(0,i.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 _=n(77830),v=n(46628),m=n(7426),f=n(60325);let h={language:{label:"Language",validation:l.Z_()},title:{label:"Title",validation:l.Z_()},description:{label:"Description",validation:l.Z_()},accept_button_label:{label:"Accept button label",validation:l.Z_()},reject_button_label:{label:"Reject button label",validation:l.Z_()},save_button_label:{label:"Save button label",validation:l.Z_()},acknowledge_button_label:{label:"Acknowledge button label",validation:l.Z_()},privacy_policy_url:{label:"Privacy policy URL",validation:l.Z_().url()},privacy_preferences_link_label:{label:"Privacy preferences link label",validation:l.Z_()},banner_title:{label:"Banner title",validation:l.Z_()},banner_description:{label:"Banner description",validation:l.Z_()},purpose_header:{label:"Purpose header",validation:l.Z_()},privacy_policy_link_label:{label:"Privacy policy link label",validation:l.Z_()},modal_link_label:{label:"Modal link label",validation:l.Z_()},is_default:{label:"Default language",validation:l.O7()}};var y=n(34334),g=n(13083),b=n.n(g),x=n(43218),w=n.n(x),S=n(52253),C=n(32885),j=n(65735);let R={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},F=e=>({...R,...e.translations?e.translations[0]:{}}),A=(e,t)=>{var n,i,o,r;let a={options:{allowHTMLDescription:!0,base64Cookie:!1,debug:!1,fidesApiUrl:"http://localhost:8080/api/v1",fidesClearCookie:!0,fidesDisableSaveApi:!0,fidesDisableNoticesServedApi:!0,fidesJsBaseUrl:"",fidesLocale:null===(i=e.translations)||void 0===i?void 0:null===(n=i[0])||void 0===n?void 0:n.language,fidesString:null,geolocationApiUrl:"",isGeolocationEnabled:!1,isOverlayEnabled:!0,isPrefetchEnabled:!1,modalLinkId:null,overlayParentId:S.Vk,preventDismissal:null!==(r=e.dismissable)&&void 0!==r&&r,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,cookie_deletion_based_on_host_domain:!0,component:e.component,disabled:!1,dismissable:e.dismissable,id:"pri_222",is_default:!0,language:"en",layer1_button_options:j.Of.OPT_IN_OPT_OUT,properties:[],regions:["us_ca"],show_layer1_notices:!1,translations:[F(e)]},id:"pri_111",privacy_notices:t,region:"us_ca"},geolocation:{country:"US",location:"US-CA",region:"CA"}};return e.component===j.re.TCF_OVERLAY&&(a.options.fidesTcfGdprApplies=!0,a.options.tcf_enabled=!0,a.geolocation={location:"eea",country:"eea"},a.experience.experience_config.regions=["eea"],a.experience={...a.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"]},a.options.apiOptions={getPrivacyExperienceFn:async()=>a.experience}),a},k=e=>{let{language:t,is_default:n,...i}=R,o=Object.keys(i).map(t=>{let n=e[t];return{[t]:void 0!==n?n:R[t]}}).reduce((e,t)=>({...e,...t}),{});return{language:e.language,is_default:e.is_default,...o}},O=(e,t,n)=>e?e.map(e=>n.find(t=>(null==t?void 0:t.id)===e)).map(e=>t===j.re.TCF_OVERLAY&&void 0!==e?{...e,translations:[{language:"en",text:null==e?void 0:e.name}]}:e).filter(e=>void 0!==e):[];var T=n(74022),E=n(32222);let V=e=>{let{title:t,description:n}=e;return(0,i.jsx)(o.jqI,{className:"h-full items-center justify-center",children:(0,i.jsxs)(o.jqI,{className:"items-center gap-2 rounded-md p-6",style:{backgroundColor:T.Z.colors.white,boxShadow:T.Z.shadows.md,maxWidth:512},vertical:!0,"data-testid":"no-preview-notice",children:[(0,i.jsx)(o.xvT,{fontSize:"lg",fontWeight:"500",align:"center",children:t}),(0,i.jsx)(o.xvT,{color:"gray.500",align:"center",children:n})]})})};var N=e=>{var t,n;let{allPrivacyNotices:l,initialValues:c,translation:d,isMobilePreview:u}=e,p=(0,a.useRouter)().pathname.includes("/new"),{values:_}=(0,r.u6)(),[v,m]=(0,s.useState)([]),[f,h]=(0,s.useState)(!1),[y,g]=(0,s.useState)(),x=[j.re.BANNER_AND_MODAL,j.re.MODAL,j.re.TCF_OVERLAY].includes(_.component),{data:R}=(0,C.de)({pageIndex:1,pageSize:1}),F=(0,s.useMemo)(()=>(null==R?void 0:R.total)||0,[null==R?void 0:R.total]);(0,s.useEffect)(()=>{var e,t;return x&&f&&window.FidesPreview&&_.component&&((null===(e=_.privacy_notice_ids)||void 0===e?void 0:e.length)||_.component===j.re.TCF_OVERLAY)?_.component===j.re.TCF_OVERLAY?(window.FidesPreview("tcf"),g("tcf")):(window.FidesPreview("standard"),g("standard")):window.FidesPreview&&(null===(t=window.FidesPreview)||void 0===t||t.cleanup()),()=>{var e;g(void 0),null===(e=window.FidesPreview)||void 0===e||e.cleanup()}},[_.component,f,x,null===(t=_.privacy_notice_ids)||void 0===t?void 0:t.length,p]),(0,s.useEffect)(()=>{c&&_.component&&l&&(_.privacy_notice_ids?m(O(_.privacy_notice_ids,_.component,l)):m([]))},[_.privacy_notice_ids,l,_.component,c]);let T=(0,s.useMemo)(()=>_.component?A({...c,component:_.component},v):null,[c,v,_.component]);(0,s.useEffect)(()=>{(null==R?void 0:R.total)===0&&_.component===j.re.TCF_OVERLAY&&o.x6B.warning({message:"No vendors available",description:"This TCF Overlay will not appear on live sites until you add consent vendors from the Global Vendor List (GVL)",duration:0,key:"vendor-warning"})},[null==R?void 0:R.total,_.component]),(0,s.useEffect)(()=>{var e,t,n,i;if(!x||!f||!window.FidesPreview||!window.Fides||!(null===(e=_.privacy_notice_ids)||void 0===e?void 0:e.length)&&_.component!==j.re.TCF_OVERLAY)return;_.component===j.re.MODAL&&(T.experience.experience_config.component=j.re.MODAL);let o=null===(t=_.translations)||void 0===t?void 0:t.find(e=>e.language===(null==d?void 0:d.language));(null===(n=_.translations)||void 0===n?void 0:n.length)&&(o?(T.experience.available_locales=[...T.experience.available_locales||[],o.language],T.experience.experience_config.translations[0]=k(o),T.options.fidesLocale=o.language):_.translations&&(T.experience.experience_config.translations[0]=k(_.translations[0]),T.options.fidesLocale=_.translations[0].language)),T.experience.experience_config.show_layer1_notices=!!(null===(i=_.privacy_notice_ids)||void 0===i?void 0:i.length)&&!!_.show_layer1_notices,T.experience.experience_config.layer1_button_options=(_.component===j.re.BANNER_AND_MODAL||_.component===j.re.TCF_OVERLAY)&&_.layer1_button_options?_.layer1_button_options:j.Of.OPT_IN_OPT_OUT,T.options.preventDismissal=!_.dismissable,T.experience.vendor_count=F,T.experience.experience_config.component=_.component,window.Fides.init(T)},[d,T,l,x,F,f,y,_.privacy_notice_ids,_.component,_.translations,_.show_layer1_notices,_.layer1_button_options,_.dismissable,c,v]);let N=document.getElementById("fides-modal");return(N&&N.removeAttribute("tabindex"),_.component)?x?(null===(n=_.privacy_notice_ids)||void 0===n?void 0:n.length)||_.component===j.re.TCF_OVERLAY?(0,i.jsxs)(o.jqI,{className:"size-full items-center justify-center overflow-scroll",children:[(0,i.jsx)(b(),{id:"4b2ec2183c5a567e",dynamic:[S.Vk,_.component!==j.re.TCF_OVERLAY?"padding-bottom: 45px;":""],children:"div#fides-overlay{z-index:5000!important}div#".concat(S.Vk,"{width:100%;padding-top:45px;").concat(_.component!==j.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}")}),x?(0,i.jsx)("style",{children:"div#fides-modal {\n display: flex !important;\n justify-content: center;\n background-color: unset;\n ".concat(_.component===j.re.BANNER_AND_MODAL||_.component===j.re.TCF_OVERLAY?"padding-bottom: 3rem;":"","\n }")}):null,u?(0,i.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,i.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,i.jsx)(w(),{id:"fides-js-script",src:"/lib/fides-preview.js",onReady:()=>{h(!0)}}),(0,i.jsx)("div",{id:S.Vk,"data-a11y-dialog-ignore-focus-trap":"",inert:"",className:b().dynamic([["4b2ec2183c5a567e",[S.Vk,_.component!==j.re.TCF_OVERLAY?"padding-bottom: 45px;":""]]])},_.component)]}):(0,i.jsx)(V,{title:"No privacy notices added",description:'To view a preview of this experience, add a privacy notice under "Privacy Notices" to the left.'}):(0,i.jsx)(V,{title:"".concat(E.J.get(_.component)," preview not available"),description:"There is no preview available for ".concat(E.J.get(_.component),". You can edit the available settings\n and languages to the left.")}):(0,i.jsx)(V,{title:"No privacy experience type selected",description:"Please select a privacy experience type to preview."})},z=n(94315),L=n(5331),P=n(16277),Z=n(71922),D=n(31883);let I=e=>{let t=(0,f.y3)(e),n={};return Object.entries(t).forEach(e=>{let[t,i]=e;if(i.included){let e=h[t];n[t]=i.required?e.validation.required().label(e.label):e.validation.nullable().label(e.label)}}),l.Ry().shape(n)},M=e=>{let{componentType:t}=e;return I(t)},H=l.Ry().shape({name:l.Z_().required().label("Experience name"),component:l.Z_().required().label("Experience type"),translations:l.IX().when("component",(e,t)=>{let[n]=e;return t.of(M({componentType:n}))}),allow_vendor_asset_disclosure:l.O7().nullable(),asset_disclosure_include_types:l.IX().of(l.Z_()).when(["allow_vendor_asset_disclosure","component"],(e,t)=>{let[n,i]=e;return n&&(i===j.re.BANNER_AND_MODAL||i===j.re.MODAL)?t.min(1).label("Asset types to disclose"):t.notRequired().nullable()})});var B=e=>{var t;let{passedInExperience:n,passedInTranslations:l}=e,[h]=(0,z.mJ)(),[g]=(0,z.$d)(),b=(0,o.pmc)(),[x,w]=(0,s.useState)(!1),S=(0,a.useRouter)(),{data:C}=(0,m.tB)({api_set:!1}),j=null==C?void 0:null===(t=C.plus_consent_settings)||void 0===t?void 0:t.enable_translations,R=(0,c.C)(y.Zp),F=(0,c.C)(y.G1);(0,y.Ah)({page:R,size:F});let A=(0,c.C)(y.fJ),k=(0,c.C)(Z.sX),O=n?{...f.DD,...(0,f.Uv)(n)}:f.DD,T=async e=>{var t,i;let o;e.privacy_notice_ids=null===(t=e.privacy_notice_ids)||void 0===t?void 0:t.filter(e=>"tcf_purposes_placeholder"!==e),O.tcf_configuration_id&&!e.tcf_configuration_id&&(e.tcf_configuration_id=null);let r={...e,disabled:null===(i=null==n?void 0:n.disabled)||void 0===i||i,allow_language_selection:e.translations&&e.translations.length>1};if(n){let{component:e,...t}=r;o=await g({...t,id:n.id})}else o=await h(r);(0,D.D4)(o)?b((0,v.Vo)((0,d.e$)(o.error))):(b((0,v.t5)("Privacy experience successfully ".concat(n?"updated":"created"))),S.push(_.w0))},[E,V]=(0,s.useState)(void 0),[I,M]=(0,s.useState)(!1);return(0,i.jsx)(r.J9,{initialValues:O,enableReinitialize:!0,onSubmit:T,validationSchema:H,children:(0,i.jsx)(r.l0,{style:{height:"100vh"},children:(0,i.jsxs)(o.jqI,{className:"size-full","data-testid":"privacy-experience-detail-page",children:[E?(0,i.jsx)(P.Z,{translation:E,translationsEnabled:j,isOOB:I,onReturnToMainForm:()=>{V(void 0),M(!1)}}):(0,i.jsx)(L.d0,{allPrivacyNotices:k,translationsEnabled:j,onSelectTranslation:e=>{V({...e,name:(0,f.Go)(e,A)})},onCreateTranslation:e=>{let t=null==l?void 0:l.find(t=>t.language===e);return t&&M(!0),null!=t?t:{language:e,is_default:!1}}}),(0,i.jsxs)(o.jqI,{vertical:!0,className:"w-full overflow-y-hidden",style:{backgroundColor:o.rSc.colors.gray[50]},children:[(0,i.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,i.jsx)(o.xvT,{fontSize:"md",fontWeight:"semibold",children:"PREVIEW"}),(0,i.jsx)(o.LZC,{}),(0,i.jsxs)(o.y02.Group,{onChange:e=>w(e.target.value),defaultValue:!1,children:[(0,i.jsx)(o.y02.Button,{value:!0,title:"View mobile preview",children:(0,i.jsx)(p,{})}),(0,i.jsx)(o.y02.Button,{value:!1,title:"View desktop preview",children:(0,i.jsx)(u,{})})]})]}),(0,i.jsx)(N,{allPrivacyNotices:k,initialValues:O,translation:E,isMobilePreview:x})]})]})})})}},32222:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});let i=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,t,n){"use strict";n.d(t,{Bw:function(){return i.Bw},D4:function(){return i.D4}});var i=n(19043)},26607:function(e,t,n){"use strict";var i=n(27061);n(25123);var o=n(27378),r=o&&"object"==typeof o&&"default"in o?o:{default:o},a=void 0!==i&&i.env&&!0,s=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,n=t.name,i=void 0===n?"stylesheet":n,o=t.optimizeForSpeed,r=void 0===o?a:o;c(s(i),"`name` must be a string"),this._name=i,this._deletedRulePlaceholder="#"+i+"-deleted-rule____{}",c("boolean"==typeof r,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=r,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l=document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var t=e.prototype;return t.setOptimizeForSpeed=function(e){c("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),c(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},t.isOptimizeForSpeed=function(){return this._optimizeForSpeed},t.inject=function(){var e=this;if(c(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(a||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"==typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},t.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},t.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},t.insertRule=function(e,t){if(c(s(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var n=this.getSheet();"number"!=typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(t){return a||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var i=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,i))}return this._rulesCount++},t.replaceRule=function(e,t){if(this._optimizeForSpeed){var n=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(i){a||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}}else{var i=this._tags[e];c(i,"old rule at index `"+e+"` not found"),i.textContent=t}return e},t.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];c(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},t.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},t.cssRules=function(){var e=this;return this._tags.reduce(function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},t.makeStyleTag=function(e,t,n){t&&c(s(t),"makeStyleTag accepts only strings as second parameter");var i=document.createElement("style");this._nonce&&i.setAttribute("nonce",this._nonce),i.type="text/css",i.setAttribute("data-"+e,""),t&&i.appendChild(document.createTextNode(t));var o=document.head||document.getElementsByTagName("head")[0];return n?o.insertBefore(i,n):o.appendChild(i),i},function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,[{key:"length",get:function(){return this._rulesCount}}]),e}();function c(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var d=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},u={};function p(e,t){if(!t)return"jsx-"+e;var n=String(t),i=e+n;return u[i]||(u[i]="jsx-"+d(e+"-"+n)),u[i]}function _(e,t){var n=e+t;return u[n]||(u[n]=t.replace(/__jsx-style-dynamic-selector/g,e)),u[n]}var v=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,i=void 0===n?null:n,o=t.optimizeForSpeed,r=void 0!==o&&o;this._sheet=i||new l({name:"styled-jsx",optimizeForSpeed:r}),this._sheet.inject(),i&&"boolean"==typeof r&&(this._sheet.setOptimizeForSpeed(r),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),i=n.styleId,o=n.rules;if(i in this._instancesCounts){this._instancesCounts[i]+=1;return}var r=o.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[i]=r,this._instancesCounts[i]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var i=this._fromServer&&this._fromServer[n];i?(i.parentNode.removeChild(i),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,n;return t=this.cssRules(),void 0===(n=e)&&(n={}),t.map(function(e){var t=e[0],i=e[1];return r.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:n.nonce?n.nonce:void 0,dangerouslySetInnerHTML:{__html:i}})})},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,i=e.id;if(n){var o=p(i,n);return{styleId:o,rules:Array.isArray(t)?t.map(function(e){return _(o,e)}):[_(o,t)]}}return{styleId:p(i),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),m=o.createContext(null);m.displayName="StyleSheetContext";var f=r.default.useInsertionEffect||r.default.useLayoutEffect,h=new v;function y(e){var t=h||o.useContext(m);return t&&f(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}y.dynamic=function(e){return e.map(function(e){return p(e[0],e[1])}).join(" ")},t.style=y},13083:function(e,t,n){"use strict";e.exports=n(26607).style},25123:function(){},43218:function(e,t,n){e.exports=n(43530)}}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1817],{11817:function(e,t,n){"use strict";n.d(t,{Z:function(){return B}});var i=n(24246),o=n(87949),r=n(34090),a=n(86677),s=n(27378),l=n(55484),c=n(16134),d=n(812);let u=(0,o.IUT)({displayName:"DesktopIcon",viewBox:"0 0 24 24",path:(0,i.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"})}),p=(0,o.IUT)({displayName:"MobileIcon",viewBox:"0 0 24 24",path:(0,i.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 _=n(77830),v=n(46628),m=n(7426),f=n(60325);let h={language:{label:"Language",validation:l.Z_()},title:{label:"Title",validation:l.Z_()},description:{label:"Description",validation:l.Z_()},accept_button_label:{label:"Accept button label",validation:l.Z_()},reject_button_label:{label:"Reject button label",validation:l.Z_()},save_button_label:{label:"Save button label",validation:l.Z_()},acknowledge_button_label:{label:"Acknowledge button label",validation:l.Z_()},privacy_policy_url:{label:"Privacy policy URL",validation:l.Z_().url()},privacy_preferences_link_label:{label:"Privacy preferences link label",validation:l.Z_()},banner_title:{label:"Banner title",validation:l.Z_()},banner_description:{label:"Banner description",validation:l.Z_()},purpose_header:{label:"Purpose header",validation:l.Z_()},privacy_policy_link_label:{label:"Privacy policy link label",validation:l.Z_()},modal_link_label:{label:"Modal link label",validation:l.Z_()},is_default:{label:"Default language",validation:l.O7()}};var y=n(34334),g=n(13083),b=n.n(g),x=n(43218),w=n.n(x),S=n(52253),C=n(32885),j=n(65735);let R={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},F=e=>({...R,...e.translations?e.translations[0]:{}}),A=(e,t)=>{var n,i,o,r;let a={options:{allowHTMLDescription:!0,base64Cookie:!1,debug:!1,fidesApiUrl:"http://localhost:8080/api/v1",fidesClearCookie:!0,fidesDisableSaveApi:!0,fidesDisableNoticesServedApi:!0,fidesJsBaseUrl:"",fidesLocale:null===(i=e.translations)||void 0===i?void 0:null===(n=i[0])||void 0===n?void 0:n.language,fidesString:null,geolocationApiUrl:"",isGeolocationEnabled:!1,isOverlayEnabled:!0,isPrefetchEnabled:!1,modalLinkId:null,overlayParentId:S.Vk,preventDismissal:null!==(r=e.dismissable)&&void 0!==r&&r,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,cookie_deletion_based_on_host_domain:!0,component:e.component,disabled:!1,dismissable:e.dismissable,id:"pri_222",is_default:!0,language:"en",layer1_button_options:j.Of.OPT_IN_OPT_OUT,properties:[],regions:["us_ca"],show_layer1_notices:!1,translations:[F(e)]},id:"pri_111",privacy_notices:t,region:"us_ca"},geolocation:{country:"US",location:"US-CA",region:"CA"}};return e.component===j.re.TCF_OVERLAY&&(a.options.fidesTcfGdprApplies=!0,a.options.tcf_enabled=!0,a.geolocation={location:"eea",country:"eea"},a.experience.experience_config.regions=["eea"],a.experience={...a.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"]},a.options.apiOptions={getPrivacyExperienceFn:async()=>a.experience}),a},k=e=>{let{language:t,is_default:n,...i}=R,o=Object.keys(i).map(t=>{let n=e[t];return{[t]:void 0!==n?n:R[t]}}).reduce((e,t)=>({...e,...t}),{});return{language:e.language,is_default:e.is_default,...o}},O=(e,t,n)=>e?e.map(e=>n.find(t=>(null==t?void 0:t.id)===e)).map(e=>t===j.re.TCF_OVERLAY&&void 0!==e?{...e,translations:[{language:"en",text:null==e?void 0:e.name}]}:e).filter(e=>void 0!==e):[];var T=n(74022),E=n(32222);let V=e=>{let{title:t,description:n}=e;return(0,i.jsx)(o.jqI,{className:"h-full items-center justify-center",children:(0,i.jsxs)(o.jqI,{className:"items-center gap-2 rounded-md p-6",style:{backgroundColor:T.Z.colors.white,boxShadow:T.Z.shadows.md,maxWidth:512},vertical:!0,"data-testid":"no-preview-notice",children:[(0,i.jsx)(o.xvT,{fontSize:"lg",fontWeight:"500",align:"center",children:t}),(0,i.jsx)(o.xvT,{color:"gray.500",align:"center",children:n})]})})};var N=e=>{var t,n;let{allPrivacyNotices:l,initialValues:c,translation:d,isMobilePreview:u}=e,p=(0,a.useRouter)().pathname.includes("/new"),{values:_}=(0,r.u6)(),[v,m]=(0,s.useState)([]),[f,h]=(0,s.useState)(!1),[y,g]=(0,s.useState)(),x=[j.re.BANNER_AND_MODAL,j.re.MODAL,j.re.TCF_OVERLAY].includes(_.component),{data:R}=(0,C.de)({pageIndex:1,pageSize:1}),F=(0,s.useMemo)(()=>(null==R?void 0:R.total)||0,[null==R?void 0:R.total]);(0,s.useEffect)(()=>{var e,t;return x&&f&&window.FidesPreview&&_.component&&((null===(e=_.privacy_notice_ids)||void 0===e?void 0:e.length)||_.component===j.re.TCF_OVERLAY)?_.component===j.re.TCF_OVERLAY?(window.FidesPreview("tcf"),g("tcf")):(window.FidesPreview("standard"),g("standard")):window.FidesPreview&&(null===(t=window.FidesPreview)||void 0===t||t.cleanup()),()=>{var e;g(void 0),null===(e=window.FidesPreview)||void 0===e||e.cleanup()}},[_.component,f,x,null===(t=_.privacy_notice_ids)||void 0===t?void 0:t.length,p]),(0,s.useEffect)(()=>{c&&_.component&&l&&(_.privacy_notice_ids?m(O(_.privacy_notice_ids,_.component,l)):m([]))},[_.privacy_notice_ids,l,_.component,c]);let T=(0,s.useMemo)(()=>_.component?A({...c,component:_.component},v):null,[c,v,_.component]);(0,s.useEffect)(()=>{(null==R?void 0:R.total)===0&&_.component===j.re.TCF_OVERLAY&&o.x6B.warning({message:"No vendors available",description:"This TCF Overlay will not appear on live sites until you add consent vendors from the Global Vendor List (GVL)",duration:0,key:"vendor-warning"})},[null==R?void 0:R.total,_.component]),(0,s.useEffect)(()=>{var e,t,n,i;if(!x||!f||!window.FidesPreview||!window.Fides||!(null===(e=_.privacy_notice_ids)||void 0===e?void 0:e.length)&&_.component!==j.re.TCF_OVERLAY)return;_.component===j.re.MODAL&&(T.experience.experience_config.component=j.re.MODAL);let o=null===(t=_.translations)||void 0===t?void 0:t.find(e=>e.language===(null==d?void 0:d.language));(null===(n=_.translations)||void 0===n?void 0:n.length)&&(o?(T.experience.available_locales=[...T.experience.available_locales||[],o.language],T.experience.experience_config.translations[0]=k(o),T.options.fidesLocale=o.language):_.translations&&(T.experience.experience_config.translations[0]=k(_.translations[0]),T.options.fidesLocale=_.translations[0].language)),T.experience.experience_config.show_layer1_notices=!!(null===(i=_.privacy_notice_ids)||void 0===i?void 0:i.length)&&!!_.show_layer1_notices,T.experience.experience_config.layer1_button_options=(_.component===j.re.BANNER_AND_MODAL||_.component===j.re.TCF_OVERLAY)&&_.layer1_button_options?_.layer1_button_options:j.Of.OPT_IN_OPT_OUT,T.options.preventDismissal=!_.dismissable,T.experience.vendor_count=F,T.experience.experience_config.component=_.component,window.Fides.init(T)},[d,T,l,x,F,f,y,_.privacy_notice_ids,_.component,_.translations,_.show_layer1_notices,_.layer1_button_options,_.dismissable,c,v]);let N=document.getElementById("fides-modal");return(N&&N.removeAttribute("tabindex"),_.component)?x?(null===(n=_.privacy_notice_ids)||void 0===n?void 0:n.length)||_.component===j.re.TCF_OVERLAY?(0,i.jsxs)(o.jqI,{className:"size-full items-center justify-center overflow-scroll",children:[(0,i.jsx)(b(),{id:"4b2ec2183c5a567e",dynamic:[S.Vk,_.component!==j.re.TCF_OVERLAY?"padding-bottom: 45px;":""],children:"div#fides-overlay{z-index:5000!important}div#".concat(S.Vk,"{width:100%;padding-top:45px;").concat(_.component!==j.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}")}),x?(0,i.jsx)("style",{children:"div#fides-modal {\n display: flex !important;\n justify-content: center;\n background-color: unset;\n ".concat(_.component===j.re.BANNER_AND_MODAL||_.component===j.re.TCF_OVERLAY?"padding-bottom: 3rem;":"","\n }")}):null,u?(0,i.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,i.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,i.jsx)(w(),{id:"fides-js-script",src:"/lib/fides-preview.js",onReady:()=>{h(!0)}}),(0,i.jsx)("div",{id:S.Vk,"data-a11y-dialog-ignore-focus-trap":"",inert:"",className:b().dynamic([["4b2ec2183c5a567e",[S.Vk,_.component!==j.re.TCF_OVERLAY?"padding-bottom: 45px;":""]]])},_.component)]}):(0,i.jsx)(V,{title:"No privacy notices added",description:'To view a preview of this experience, add a privacy notice under "Privacy Notices" to the left.'}):(0,i.jsx)(V,{title:"".concat(E.J.get(_.component)," preview not available"),description:"There is no preview available for ".concat(E.J.get(_.component),". You can edit the available settings\n and languages to the left.")}):(0,i.jsx)(V,{title:"No privacy experience type selected",description:"Please select a privacy experience type to preview."})},z=n(94315),L=n(5331),P=n(16277),Z=n(71922),D=n(31883);let I=e=>{let t=(0,f.y3)(e),n={};return Object.entries(t).forEach(e=>{let[t,i]=e;if(i.included){let e=h[t];n[t]=i.required?e.validation.required().label(e.label):e.validation.nullable().label(e.label)}}),l.Ry().shape(n)},M=e=>{let{componentType:t}=e;return I(t)},H=l.Ry().shape({name:l.Z_().required().label("Experience name"),component:l.Z_().required().label("Experience type"),translations:l.IX().when("component",(e,t)=>{let[n]=e;return t.of(M({componentType:n}))}),allow_vendor_asset_disclosure:l.O7().nullable(),asset_disclosure_include_types:l.IX().of(l.Z_()).when(["allow_vendor_asset_disclosure","component"],(e,t)=>{let[n,i]=e;return n&&(i===j.re.BANNER_AND_MODAL||i===j.re.MODAL)?t.min(1).label("Asset types to disclose"):t.notRequired().nullable()})});var B=e=>{var t;let{passedInExperience:n,passedInTranslations:l}=e,[h]=(0,z.mJ)(),[g]=(0,z.$d)(),b=(0,o.pmc)(),[x,w]=(0,s.useState)(!1),S=(0,a.useRouter)(),{data:C}=(0,m.tB)({api_set:!1}),j=null==C?void 0:null===(t=C.plus_consent_settings)||void 0===t?void 0:t.enable_translations,R=(0,c.C)(y.Zp),F=(0,c.C)(y.G1);(0,y.Ah)({page:R,size:F});let A=(0,c.C)(y.fJ),k=(0,c.C)(Z.sX),O=n?{...f.DD,...(0,f.Uv)(n)}:f.DD,T=async e=>{var t,i;let o;e.privacy_notice_ids=null===(t=e.privacy_notice_ids)||void 0===t?void 0:t.filter(e=>"tcf_purposes_placeholder"!==e),O.tcf_configuration_id&&!e.tcf_configuration_id&&(e.tcf_configuration_id=null);let r={...e,disabled:null===(i=null==n?void 0:n.disabled)||void 0===i||i,allow_language_selection:e.translations&&e.translations.length>1};if(n){let{component:e,...t}=r;o=await g({...t,id:n.id})}else o=await h(r);(0,D.D4)(o)?b((0,v.Vo)((0,d.e$)(o.error))):(b((0,v.t5)("Privacy experience successfully ".concat(n?"updated":"created"))),S.push(_.w0))},[E,V]=(0,s.useState)(void 0),[I,M]=(0,s.useState)(!1);return(0,i.jsx)(r.J9,{initialValues:O,enableReinitialize:!0,onSubmit:T,validationSchema:H,children:(0,i.jsx)(r.l0,{style:{height:"100vh"},children:(0,i.jsxs)(o.jqI,{className:"size-full","data-testid":"privacy-experience-detail-page",children:[E?(0,i.jsx)(P.Z,{translation:E,translationsEnabled:j,isOOB:I,onReturnToMainForm:()=>{V(void 0),M(!1)}}):(0,i.jsx)(L.d0,{allPrivacyNotices:k,translationsEnabled:j,onSelectTranslation:e=>{V({...e,name:(0,f.Go)(e,A)})},onCreateTranslation:e=>{let t=null==l?void 0:l.find(t=>t.language===e);return t&&M(!0),null!=t?t:{language:e,is_default:!1}}}),(0,i.jsxs)(o.jqI,{vertical:!0,className:"w-full overflow-y-hidden",style:{backgroundColor:o.rSc.colors.gray[50]},children:[(0,i.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,i.jsx)(o.xvT,{fontSize:"md",fontWeight:"semibold",children:"PREVIEW"}),(0,i.jsx)(o.LZC,{}),(0,i.jsxs)(o.y02.Group,{onChange:e=>w(e.target.value),defaultValue:!1,children:[(0,i.jsx)(o.y02.Button,{value:!0,title:"View mobile preview",children:(0,i.jsx)(p,{})}),(0,i.jsx)(o.y02.Button,{value:!1,title:"View desktop preview",children:(0,i.jsx)(u,{})})]})]}),(0,i.jsx)(N,{allPrivacyNotices:k,initialValues:O,translation:E,isMobilePreview:x})]})]})})})}},32222:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});let i=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,t,n){"use strict";n.d(t,{Bw:function(){return i.Bw},D4:function(){return i.D4}});var i=n(19043)},26607:function(e,t,n){"use strict";var i=n(27061);n(25123);var o=n(27378),r=o&&"object"==typeof o&&"default"in o?o:{default:o},a=void 0!==i&&i.env&&!0,s=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,n=t.name,i=void 0===n?"stylesheet":n,o=t.optimizeForSpeed,r=void 0===o?a:o;c(s(i),"`name` must be a string"),this._name=i,this._deletedRulePlaceholder="#"+i+"-deleted-rule____{}",c("boolean"==typeof r,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=r,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l=document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var t=e.prototype;return t.setOptimizeForSpeed=function(e){c("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),c(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},t.isOptimizeForSpeed=function(){return this._optimizeForSpeed},t.inject=function(){var e=this;if(c(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(a||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"==typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},t.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},t.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},t.insertRule=function(e,t){if(c(s(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var n=this.getSheet();"number"!=typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(t){return a||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var i=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,i))}return this._rulesCount++},t.replaceRule=function(e,t){if(this._optimizeForSpeed){var n=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(i){a||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}}else{var i=this._tags[e];c(i,"old rule at index `"+e+"` not found"),i.textContent=t}return e},t.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];c(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},t.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},t.cssRules=function(){var e=this;return this._tags.reduce(function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},t.makeStyleTag=function(e,t,n){t&&c(s(t),"makeStyleTag accepts only strings as second parameter");var i=document.createElement("style");this._nonce&&i.setAttribute("nonce",this._nonce),i.type="text/css",i.setAttribute("data-"+e,""),t&&i.appendChild(document.createTextNode(t));var o=document.head||document.getElementsByTagName("head")[0];return n?o.insertBefore(i,n):o.appendChild(i),i},function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,[{key:"length",get:function(){return this._rulesCount}}]),e}();function c(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var d=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},u={};function p(e,t){if(!t)return"jsx-"+e;var n=String(t),i=e+n;return u[i]||(u[i]="jsx-"+d(e+"-"+n)),u[i]}function _(e,t){var n=e+t;return u[n]||(u[n]=t.replace(/__jsx-style-dynamic-selector/g,e)),u[n]}var v=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,i=void 0===n?null:n,o=t.optimizeForSpeed,r=void 0!==o&&o;this._sheet=i||new l({name:"styled-jsx",optimizeForSpeed:r}),this._sheet.inject(),i&&"boolean"==typeof r&&(this._sheet.setOptimizeForSpeed(r),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),i=n.styleId,o=n.rules;if(i in this._instancesCounts){this._instancesCounts[i]+=1;return}var r=o.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[i]=r,this._instancesCounts[i]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var i=this._fromServer&&this._fromServer[n];i?(i.parentNode.removeChild(i),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,n;return t=this.cssRules(),void 0===(n=e)&&(n={}),t.map(function(e){var t=e[0],i=e[1];return r.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:n.nonce?n.nonce:void 0,dangerouslySetInnerHTML:{__html:i}})})},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,i=e.id;if(n){var o=p(i,n);return{styleId:o,rules:Array.isArray(t)?t.map(function(e){return _(o,e)}):[_(o,t)]}}return{styleId:p(i),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),m=o.createContext(null);m.displayName="StyleSheetContext";var f=r.default.useInsertionEffect||r.default.useLayoutEffect,h=new v;function y(e){var t=h||o.useContext(m);return t&&f(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}y.dynamic=function(e){return e.map(function(e){return p(e[0],e[1])}).join(" ")},t.style=y},13083:function(e,t,n){"use strict";e.exports=n(26607).style},25123:function(){},43218:function(e,t,n){e.exports=n(43530)}}]);