ethyca-fides 2.58.2b0__py2.py3-none-any.whl → 2.58.2b2__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. {ethyca_fides-2.58.2b0.dist-info → ethyca_fides-2.58.2b2.dist-info}/METADATA +1 -1
  2. {ethyca_fides-2.58.2b0.dist-info → ethyca_fides-2.58.2b2.dist-info}/RECORD +120 -118
  3. fides/_version.py +3 -3
  4. fides/api/db/system.py +1 -3
  5. fides/api/models/tcf_publisher_restrictions.py +129 -11
  6. fides/ui-build/static/admin/404.html +1 -1
  7. fides/ui-build/static/admin/_next/static/F-2Pz9ByzGwcvQtVLstwR/_buildManifest.js +1 -0
  8. fides/ui-build/static/admin/_next/static/chunks/146-0ae2d30ec71fce09.js +1 -0
  9. fides/ui-build/static/admin/_next/static/chunks/1817-f82105a9608bba1a.js +1 -0
  10. fides/ui-build/static/admin/_next/static/chunks/3938-6a1c07d06a80cf4c.js +1 -0
  11. fides/ui-build/static/admin/_next/static/chunks/4450-6a8aa0d7358ac26f.js +1 -0
  12. fides/ui-build/static/admin/_next/static/chunks/4481-275aa9f4c10bce53.js +1 -0
  13. fides/ui-build/static/admin/_next/static/chunks/5973-d3d3872692c1d0fa.js +1 -0
  14. fides/ui-build/static/admin/_next/static/chunks/{9046-742ad2bb5108d4c5.js → 9046-8a5fdd335a76d224.js} +1 -1
  15. fides/ui-build/static/admin/_next/static/chunks/9767-8179ce7336727141.js +1 -0
  16. fides/ui-build/static/admin/_next/static/chunks/pages/{_app-d4f59c13cb550ff4.js → _app-4a5be35cd8f832c0.js} +1 -1
  17. fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/{manual-9acaab973dfe86e2.js → manual-9f9500c639362aa6.js} +1 -1
  18. fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/[id]-ab3ef485f6101697.js +1 -0
  19. fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/{new-a9d9402c219d13e5.js → new-c02b14c50b19bd91.js} +1 -1
  20. fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience-ba5325035c71a97e.js +1 -0
  21. fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices-ef31c181cac86c64.js +1 -0
  22. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/{[systemId]-df8512ccd0ea9829.js → [systemId]-727f1f5d06be674b.js} +1 -1
  23. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]-53efbed54d230f07.js +1 -0
  24. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{action-center-d001337d1bb73bd1.js → action-center-719949074f10bd6e.js} +1 -1
  25. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/activity-4892603e743cd6ab.js +1 -0
  26. fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection-d2f88a8fc68944db.js +1 -0
  27. fides/ui-build/static/admin/_next/static/chunks/pages/integrations/{[id]-528c98747299d138.js → [id]-9ef6b422ae7bc2a8.js} +1 -1
  28. fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/{[id]-8aae66669bdc0883.js → [id]-a158fa77df288523.js} +1 -1
  29. fides/ui-build/static/admin/_next/static/css/{113d823fe71f6af0.css → cf2744a40308fc4a.css} +1 -1
  30. fides/ui-build/static/admin/add-systems/manual.html +1 -1
  31. fides/ui-build/static/admin/add-systems/multiple.html +1 -1
  32. fides/ui-build/static/admin/add-systems.html +1 -1
  33. fides/ui-build/static/admin/ant-poc.html +1 -1
  34. fides/ui-build/static/admin/consent/configure/add-vendors.html +1 -1
  35. fides/ui-build/static/admin/consent/configure.html +1 -1
  36. fides/ui-build/static/admin/consent/privacy-experience/[id].html +1 -1
  37. fides/ui-build/static/admin/consent/privacy-experience/new.html +1 -1
  38. fides/ui-build/static/admin/consent/privacy-experience.html +1 -1
  39. fides/ui-build/static/admin/consent/privacy-notices/[id].html +1 -1
  40. fides/ui-build/static/admin/consent/privacy-notices/new.html +1 -1
  41. fides/ui-build/static/admin/consent/privacy-notices.html +1 -1
  42. fides/ui-build/static/admin/consent/properties.html +1 -1
  43. fides/ui-build/static/admin/consent/reporting.html +1 -1
  44. fides/ui-build/static/admin/consent.html +1 -1
  45. fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html +1 -1
  46. fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html +1 -1
  47. fides/ui-build/static/admin/data-catalog/[systemId]/projects.html +1 -1
  48. fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html +1 -1
  49. fides/ui-build/static/admin/data-catalog/[systemId]/resources.html +1 -1
  50. fides/ui-build/static/admin/data-catalog.html +1 -1
  51. fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/[systemId].html +1 -1
  52. fides/ui-build/static/admin/data-discovery/action-center/[monitorId].html +1 -1
  53. fides/ui-build/static/admin/data-discovery/action-center.html +1 -1
  54. fides/ui-build/static/admin/data-discovery/activity.html +1 -1
  55. fides/ui-build/static/admin/data-discovery/detection/[resourceUrn].html +1 -1
  56. fides/ui-build/static/admin/data-discovery/detection.html +1 -1
  57. fides/ui-build/static/admin/data-discovery/discovery/[resourceUrn].html +1 -1
  58. fides/ui-build/static/admin/data-discovery/discovery.html +1 -1
  59. fides/ui-build/static/admin/datamap.html +1 -1
  60. fides/ui-build/static/admin/dataset/[datasetId]/[collectionName]/[...subfieldNames].html +1 -1
  61. fides/ui-build/static/admin/dataset/[datasetId]/[collectionName].html +1 -1
  62. fides/ui-build/static/admin/dataset/[datasetId].html +1 -1
  63. fides/ui-build/static/admin/dataset/new.html +1 -1
  64. fides/ui-build/static/admin/dataset.html +1 -1
  65. fides/ui-build/static/admin/datastore-connection/[id].html +1 -1
  66. fides/ui-build/static/admin/datastore-connection/new.html +1 -1
  67. fides/ui-build/static/admin/datastore-connection.html +1 -1
  68. fides/ui-build/static/admin/images/connector-logos/website.svg +10 -0
  69. fides/ui-build/static/admin/index.html +1 -1
  70. fides/ui-build/static/admin/integrations/[id].html +1 -1
  71. fides/ui-build/static/admin/integrations.html +1 -1
  72. fides/ui-build/static/admin/lib/fides-ext-gpp.js +1 -1
  73. fides/ui-build/static/admin/lib/fides-tcf.js +3 -3
  74. fides/ui-build/static/admin/lib/fides.js +2 -2
  75. fides/ui-build/static/admin/login/[provider].html +1 -1
  76. fides/ui-build/static/admin/login.html +1 -1
  77. fides/ui-build/static/admin/messaging/[id].html +1 -1
  78. fides/ui-build/static/admin/messaging/add-template.html +1 -1
  79. fides/ui-build/static/admin/messaging.html +1 -1
  80. fides/ui-build/static/admin/privacy-requests/[id].html +1 -1
  81. fides/ui-build/static/admin/privacy-requests/configure/messaging.html +1 -1
  82. fides/ui-build/static/admin/privacy-requests/configure/storage.html +1 -1
  83. fides/ui-build/static/admin/privacy-requests/configure.html +1 -1
  84. fides/ui-build/static/admin/privacy-requests.html +1 -1
  85. fides/ui-build/static/admin/properties/[id].html +1 -1
  86. fides/ui-build/static/admin/properties/add-property.html +1 -1
  87. fides/ui-build/static/admin/properties.html +1 -1
  88. fides/ui-build/static/admin/reporting/datamap.html +1 -1
  89. fides/ui-build/static/admin/settings/about.html +1 -1
  90. fides/ui-build/static/admin/settings/consent.html +1 -1
  91. fides/ui-build/static/admin/settings/custom-fields.html +1 -1
  92. fides/ui-build/static/admin/settings/domain-records.html +1 -1
  93. fides/ui-build/static/admin/settings/domains.html +1 -1
  94. fides/ui-build/static/admin/settings/email-templates.html +1 -1
  95. fides/ui-build/static/admin/settings/locations.html +1 -1
  96. fides/ui-build/static/admin/settings/organization.html +1 -1
  97. fides/ui-build/static/admin/settings/regulations.html +1 -1
  98. fides/ui-build/static/admin/systems/configure/[id]/test-datasets.html +1 -1
  99. fides/ui-build/static/admin/systems/configure/[id].html +1 -1
  100. fides/ui-build/static/admin/systems.html +1 -1
  101. fides/ui-build/static/admin/taxonomy.html +1 -1
  102. fides/ui-build/static/admin/user-management/new.html +1 -1
  103. fides/ui-build/static/admin/user-management/profile/[id].html +1 -1
  104. fides/ui-build/static/admin/user-management.html +1 -1
  105. fides/ui-build/static/admin/_next/static/chunks/3412-da7ad82093c5b879.js +0 -1
  106. fides/ui-build/static/admin/_next/static/chunks/4450-f5e6eb9270f03bf0.js +0 -1
  107. fides/ui-build/static/admin/_next/static/chunks/4481-aab99ff80f707473.js +0 -1
  108. fides/ui-build/static/admin/_next/static/chunks/5973-88141f9b92f20e0a.js +0 -1
  109. fides/ui-build/static/admin/_next/static/chunks/7453-ef1887105c062d37.js +0 -1
  110. fides/ui-build/static/admin/_next/static/chunks/9767-06d9d54a452ec9f4.js +0 -1
  111. fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/[id]-fb75fa0aea77678d.js +0 -1
  112. fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience-d6909fbd52309a89.js +0 -1
  113. fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices-e7acf6d9d30b1fd9.js +0 -1
  114. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]-5f9ef1f99818117c.js +0 -1
  115. fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/activity-8aeded3289d61405.js +0 -1
  116. fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection-60a01ede4d8b56fd.js +0 -1
  117. fides/ui-build/static/admin/_next/static/u9w7grMtLxEveFsXqNFab/_buildManifest.js +0 -1
  118. {ethyca_fides-2.58.2b0.dist-info → ethyca_fides-2.58.2b2.dist-info}/LICENSE +0 -0
  119. {ethyca_fides-2.58.2b0.dist-info → ethyca_fides-2.58.2b2.dist-info}/WHEEL +0 -0
  120. {ethyca_fides-2.58.2b0.dist-info → ethyca_fides-2.58.2b2.dist-info}/entry_points.txt +0 -0
  121. {ethyca_fides-2.58.2b0.dist-info → ethyca_fides-2.58.2b2.dist-info}/top_level.txt +0 -0
  122. /fides/ui-build/static/admin/_next/static/{u9w7grMtLxEveFsXqNFab → F-2Pz9ByzGwcvQtVLstwR}/_ssgManifest.js +0 -0
  123. /fides/ui-build/static/admin/_next/static/chunks/{1376-98cbf3789b9145c3.js → 1376-03e7f50e708b7589.js} +0 -0
  124. /fides/ui-build/static/admin/_next/static/chunks/{6853-8700d87c9e1f6940.js → 6853-09e831e9dff7fd3b.js} +0 -0
  125. /fides/ui-build/static/admin/_next/static/chunks/{6954-85a998d74391caaf.js → 6954-baa1d873abfe8b77.js} +0 -0
  126. /fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{[id]-72251b48e2e03a1e.js → [id]-606457ef5bd1eb04.js} +0 -0
  127. /fides/ui-build/static/admin/_next/static/chunks/pages/{data-catalog-fffd4942be7760dd.js → data-catalog-49bffaf07973fead.js} +0 -0
  128. /fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/{new-4e0057c72fac3a9e.js → new-f0a4e385c1ad8fee.js} +0 -0
  129. /fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/{[id]-1bdec4c3e51f5199.js → [id]-72d64a02b7ef175e.js} +0 -0
  130. /fides/ui-build/static/admin/_next/static/chunks/pages/{privacy-requests-dea4dd41db4d382b.js → privacy-requests-b0f801d66e79a31a.js} +0 -0
  131. /fides/ui-build/static/admin/_next/static/chunks/pages/reporting/{datamap-0da40a92590792af.js → datamap-f035cddf17f4d898.js} +0 -0
  132. /fides/ui-build/static/admin/_next/static/chunks/pages/settings/{about-a49d0f84cf0cf05e.js → about-2ae030f3a28f057a.js} +0 -0
  133. /fides/ui-build/static/admin/_next/static/chunks/pages/user-management/{new-be690621a944bfe2.js → new-f8bca2e322ddf252.js} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9767],{7617:function(e,t,i){i.d(t,{q:function(){return a}});var n=i(24246),r=i(77181);let a=e=>{let{label:t,isDisabled:i,...a}=e;return(0,n.jsx)(r.OK9,{"data-testid":"tab-".concat(t),_selected:{fontWeight:"600",color:"complimentary.500",borderColor:"complimentary.500"},fontSize:a.fontSize,fontWeight:"500",color:"gray.500",isDisabled:i||!1,children:t})};t.Z=e=>{let{data:t,border:i="partial",...s}=e;return(0,n.jsxs)(r.mQc,{colorScheme:"complimentary",...s,children:[(0,n.jsx)(r.tdY,{width:"partial"===i?"max-content":void 0,children:t.map(e=>(0,n.jsx)(a,{label:e.label,isDisabled:e.isDisabled,fontSize:s.fontSize},e.label))}),(0,n.jsx)(r.nPR,{children:t.map(e=>(0,n.jsx)(r.x45,{px:0,"data-testid":"tab-panel-".concat(e.label),children:e.content},e.label))})]})}},97181:function(e,t,i){i.d(t,{d:function(){return d}});var n=i(24246),r=i(77181),a=i(34090),s=i(27378),l=i(91613),o=i(40324);let d=e=>{let{name:t,label:i,labelProps:d,tooltip:c,isRequired:u,layout:h="inline",...x}=e,[p,m,{setValue:f}]=(0,a.U$)(t),g=!!(m.touched&&m.error),[v,j]=(0,s.useState)("");p.value||"tags"!==x.mode&&"multiple"!==x.mode||(p.value=[]),"tags"===x.mode&&"string"==typeof p.value&&(p.value=[p.value]);let y="tags"===x.mode?(e,t)=>e?e.value!==v||p.value.includes(v)?x.optionRender?x.optionRender(e,t):e.label:'Create "'.concat(v,'"'):void 0:x.optionRender||void 0,b=e=>{j(e),x.onSearch&&x.onSearch(e)},C=(e,t)=>{f(e),x.onChange&&x.onChange(e,t)};return"inline"===h?(0,n.jsx)(r.NIc,{isInvalid:g,isRequired:u,children:(0,n.jsxs)(r.rjZ,{templateColumns:i?"1fr 3fr":"1fr",children:[i?(0,n.jsx)(o.__,{htmlFor:x.id||t,...d,children:i}):null,(0,n.jsxs)(r.jqI,{align:"center",children:[(0,n.jsxs)(r.jqI,{vertical:!0,flex:1,className:"mr-2",children:[(0,n.jsx)(r.WPr,{...p,id:x.id||t,"data-testid":"controlled-select-".concat(p.name),...x,optionRender:y,onSearch:"tags"===x.mode?b:void 0,onChange:C,value:p.value||void 0,status:g?"error":void 0}),(0,n.jsx)(o.Bc,{isInvalid:g,message:m.error,fieldName:p.name})]}),c?(0,n.jsx)(l.Z,{label:c}):null]})]})}):(0,n.jsx)(r.NIc,{isInvalid:g,isRequired:u,children:(0,n.jsxs)(r.gCW,{alignItems:"start",children:[(0,n.jsxs)(r.jqI,{align:"center",children:[i?(0,n.jsx)(o.__,{htmlFor:x.id||t,fontSize:"xs",my:0,mr:1,...d,children:i}):null,c?(0,n.jsx)(l.Z,{label:c}):null]}),(0,n.jsx)(r.WPr,{...p,id:x.id||t,"data-testid":"controlled-select-".concat(p.name),...x,optionRender:y,onSearch:"tags"===x.mode?b:void 0,onChange:C,value:p.value||void 0,status:g?"error":void 0}),(0,n.jsx)(o.Bc,{isInvalid:g,message:m.error,fieldName:p.name})]})})}},812:function(e,t,i){i.d(t,{D4:function(){return a.D4},MM:function(){return h},Ot:function(){return d},c6:function(){return r},cj:function(){return p},e$:function(){return l},fn:function(){return o},iC:function(){return x},nU:function(){return u},tB:function(){return c}});var n,r,a=i(19043);let s="An unexpected error occurred. Please try again.",l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;if((0,a.Bw)(e)){if((0,a.hE)(e.data))return e.data.detail;if((0,a.cz)(e.data)){var i;let t=null===(i=e.data.detail)||void 0===i?void 0:i[0];return"".concat(null==t?void 0:t.msg,": ").concat(null==t?void 0:t.loc)}if(409===e.status&&(0,a.Dy)(e.data)||404===e.status&&(0,a.XD)(e.data))return"".concat(e.data.detail.error," (").concat(e.data.detail.fides_key,")")}return t};function o(e){return"object"==typeof e&&null!=e&&"status"in e}function d(e){return"object"==typeof e&&null!=e&&"data"in e&&"string"==typeof e.data.detail}function c(e){return"object"==typeof e&&null!=e&&"data"in e&&Array.isArray(e.data.detail)}let u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{status:500,message:s};if((0,a.oK)(e))return{status:e.originalStatus,message:e.data};if((0,a.Bw)(e)){let{status:i}=e;return{status:i,message:l(e,t.message)}}return t},h=e=>Object.entries(e).map(e=>({value:e[1],label:e[1]}));(n=r||(r={})).GVL="gvl",n.AC="gacp",n.COMPASS="compass";let x={gvl:{label:"GVL",fullName:"Global Vendor List"},gacp:{label:"AC",fullName:"Google Additional Consent List"},compass:{label:"",fullName:""}},p=e=>{let t=e.split(".")[0];return"gacp"===t?"gacp":"gvl"===t?"gvl":"compass"}},14047:function(e,t,i){i.d(t,{H:function(){return a},V:function(){return n.V}});var n=i(84306),r=i(812);let a=()=>{let{errorAlert:e}=(0,n.V)();return{handleError:t=>{let i="An unexpected error occurred. Please try again.";(0,r.Ot)(t)?i=t.data.detail:(0,r.tB)(t)&&(i=t.data.detail[0].msg),e(i)}}}},84306:function(e,t,i){i.d(t,{V:function(){return a}});var n=i(24246),r=i(77181);let a=()=>{let e=(0,r.pmc)();return{errorAlert:(t,i,a)=>{let s={...a,position:(null==a?void 0:a.position)||"top",render:e=>{let{onClose:a}=e;return(0,n.jsxs)(r.bZj,{alignItems:"normal",status:"error","data-testid":"error-alert",children:[(0,n.jsx)(r.zMQ,{}),(0,n.jsxs)(r.xuv,{children:[i&&(0,n.jsx)(r.CdC,{children:i}),(0,n.jsx)(r.XaZ,{children:t})]}),(0,n.jsx)(r.PZ7,{onClick:a,position:"relative",right:0,size:"sm",top:-1})]})}};(null==a?void 0:a.id)&&e.isActive(a.id)?e.update(a.id,s):e(s)},successAlert:(t,i,a)=>{let s={...a,position:(null==a?void 0:a.position)||"top",render:e=>{let{onClose:a}=e;return(0,n.jsxs)(r.bZj,{alignItems:"normal",status:"success",variant:"subtle","data-testid":"success-alert",children:[(0,n.jsx)(r.zMQ,{}),(0,n.jsxs)(r.xuv,{children:[i&&(0,n.jsx)(r.CdC,{children:i}),(0,n.jsx)(r.XaZ,{children:t})]}),(0,n.jsx)(r.PZ7,{onClick:a,position:"relative",right:0,size:"sm",top:-1})]})}};(null==a?void 0:a.id)&&e.isActive(a.id)?e.update(a.id,s):e(s)}}}},39715:function(e,t,i){var n=i(24246),r=i(77181);i(27378),t.Z=e=>{let{isEmptyState:t,yamlError:i}=e;return(0,n.jsx)(r.Rg9,{in:!0,children:(0,n.jsxs)(r.xuv,{w:"fit-content",bg:"white",p:3,borderRadius:3,children:[(0,n.jsxs)(r.Ugi,{children:[(0,n.jsx)(r.X6q,{as:"h5",color:"gray.700",size:"xs",children:"YAML"}),(0,n.jsx)(r.Vp9,{colorScheme:"red",size:"sm",variant:"solid",children:"Error"})]}),(0,n.jsx)(r.xuv,{bg:"red.50",border:"1px solid",borderColor:"red.300",color:"red.300",mt:"16px",borderRadius:"6px",children:(0,n.jsxs)(r.Ugi,{alignItems:"flex-start",margin:["14px","17px","14px","17px"],children:[(0,n.jsx)(r.f9v,{}),t&&(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(r.X6q,{as:"h5",color:"red.500",fontWeight:"semibold",size:"xs",children:"Error message:"}),(0,n.jsx)(r.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"400",children:"Yaml system is required"})]}),i&&(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(r.X6q,{as:"h5",color:"red.500",fontWeight:"semibold",size:"xs",children:"Error message:"}),(0,n.jsx)(r.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"400",children:i.message}),(0,n.jsx)(r.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"400",children:i.reason}),(0,n.jsxs)(r.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"400",children:["Ln ",(0,n.jsx)("b",{children:i.mark.line}),", Col"," ",(0,n.jsx)("b",{children:i.mark.column}),", Pos"," ",(0,n.jsx)("b",{children:i.mark.position})]})]})]})})]})})}},41337:function(e,t,i){var n=i(24246),r=i(77181);i(27378);var a=i(28120),s=i(14746);let l=e=>void 0!==e.connection_type,o=e=>void 0!==e.encoded_icon;t.Z=e=>{let{data:t,...i}=e;return(0,n.jsx)(r.Eep,{boxSize:"32px",objectFit:"cover",src:(()=>{let e;if(o(t)&&t.encoded_icon)return"data:image/svg+xml;base64,".concat(t.encoded_icon);if(l(t))e=[...s.iW].find(e=>{var i,n;let[r]=e;return t.connection_type.toString()!==a.Rj.SAAS&&t.connection_type.toString()===r||t.connection_type.toString()===a.Rj.SAAS&&(null===(n=t.saas_config)||void 0===n?void 0:null===(i=n.type)||void 0===i?void 0:i.toString())===r.toString()});else if(o(t)){let{identifier:i}=t;e=[...s.iW].find(e=>{let[t]=e;return t.toLowerCase()===i.toLowerCase()})}return e?s.Ny+e[1]:s.VD})(),fallbackSrc:s.VD,alt:(()=>{if(l(t)){var e;return null!==(e=t.name)&&void 0!==e?e:t.key}return o(t)?t.human_readable:t})(),...i})}},1226:function(e,t,i){var n=i(24246);i(27378);var r=i(77213);t.Z=e=>{let{children:t}=e;return(0,n.jsx)(r.Z,{title:"Connections",children:t})}},11274:function(e,t,i){i.d(t,{s:function(){return F}});var n=i(24246),r=i(96356),a=i(77181),s=i(86677),l=i(27378),o=i(16134),d=i(77830),c=i(28120),u=i(14047),h=i(84306),x=i(14207),p=i(16125),m=i(34090);let f=(e,t)=>{let i={...e};return Object.entries(t.properties).forEach(t=>{let[n,r]=t;if("integer"===r.type){let t=r.default?Number(r.default):e[n];i[n]=t||0}else{var a;let t=null!==(a=r.default)&&void 0!==a?a:e[n];i[n]=null!=t?t:null}}),i},g="#/definitions/FidesDatasetReference";var v=e=>{let{data:t,defaultValues:i,isSubmitting:s=!1,onSaveClick:d,onTestConnectionClick:h,testButtonLabel:p="Test integration"}=e,v=(0,l.useRef)(!1),{handleError:j}=(0,u.H)(),{connection:y,connectionOption:b}=(0,o.C)(r.ZZ),[C,_]=(0,x.h2)(),k=e=>{let t;return(void 0===e||""===e)&&(t="Connection Identifier is required"),e&&(0,a.kEn)(e)&&(t="Connection Identifier must be an alphanumeric value"),t},S=(e,t,i)=>{let n;return(void 0===t||""===t)&&(n="".concat(e," is required")),i===g&&(t.includes(".")?t.split(".").length<3&&(n="Dataset reference must include at least three parts"):n="Dataset reference must be dot delimited"),n},w=(e,t)=>(0,n.jsx)(a.lXp,{color:"gray.900",fontSize:"14px",fontWeight:"semibold",htmlFor:e,minWidth:"150px",children:t}),I=e=>{var t;if((null===(t=e.allOf)||void 0===t?void 0:t[0].$ref)===g)return"Enter dataset.collection.field"},z=(e,i)=>{var r;return(0,n.jsx)(m.gN,{id:e,name:e,validate:(null!==(r=t.required)&&void 0!==r&&!!r.includes(e)||"integer"===i.type)&&(e=>{var t;return S(i.title,e,null===(t=i.allOf)||void 0===t?void 0:t[0].$ref)}),children:r=>{var s;let{field:l,form:o}=r;return(0,n.jsxs)(a.NIc,{display:"flex",isRequired:null===(s=t.required)||void 0===s?void 0:s.includes(e),isInvalid:o.errors[e]&&o.touched[e],children:[w(e,i.title),(0,n.jsxs)(a.gCW,{align:"flex-start",w:"inherit",children:["integer"!==i.type&&(0,n.jsx)(a.IIB,{...l,value:l.value||"",placeholder:I(i),autoComplete:"off",color:"gray.700",size:"sm"}),"integer"===i.type&&(0,n.jsxs)(a.Y2U,{allowMouseWheel:!0,color:"gray.700",defaultValue:0,min:0,size:"sm",children:[(0,n.jsx)(a.zuI,{...l,autoComplete:"off"}),(0,n.jsxs)(a.FiK,{children:[(0,n.jsx)(a.WQu,{}),(0,n.jsx)(a.Y_d,{})]})]}),(0,n.jsx)(a.J1D,{children:o.errors[e]})]}),(0,n.jsx)(a.ua7,{"aria-label":i.description,hasArrow:!0,label:i.description,placement:"right-start",openDelay:500,children:(0,n.jsx)(a.kCb,{alignItems:"center",h:"32px",visibility:i.description?"visible":"hidden",children:(0,n.jsx)(a.ITP,{marginLeft:"8px",_hover:{cursor:"pointer"}})})})]})}},e)},R=async()=>{try{await C(y.key).unwrap()}catch(e){j(e)}};return(0,l.useEffect)(()=>(v.current=!0,_.isSuccess&&h(_),()=>{v.current=!1}),[h,_]),(0,n.jsx)(m.J9,{enableReinitialize:!0,initialValues:(()=>{let e={...i};if(null==y?void 0:y.key){var n,r;e.name=null!==(r=y.name)&&void 0!==r?r:"",e.description=y.description,e.instance_key=y.connection_type===c.Rj.SAAS?null===(n=y.saas_config)||void 0===n?void 0:n.fides_key:y.key}return f(e,t)})(),onSubmit:(e,i)=>{let n={...e};Object.keys(t.properties).forEach(i=>{var r;if((null===(r=t.properties[i].allOf)||void 0===r?void 0:r[0].$ref)===g){let t=e[i].split(".");n[i]={dataset:t.shift(),field:t.join("."),direction:"from"}}}),d(n,i)},validateOnBlur:!1,validateOnChange:!1,children:e=>(0,n.jsx)(m.l0,{noValidate:!0,children:(0,n.jsxs)(a.gCW,{align:"stretch",gap:"16px",children:[(0,n.jsx)(m.gN,{id:"name",name:"name",validate:e=>S("Name",e),children:t=>{let{field:i}=t;return(0,n.jsxs)(a.NIc,{display:"flex",isRequired:!0,isInvalid:e.errors.name&&e.touched.name,children:[w("name","Name"),(0,n.jsxs)(a.gCW,{align:"flex-start",w:"inherit",children:[(0,n.jsx)(a.IIB,{...i,autoComplete:"off",autoFocus:!0,color:"gray.700",placeholder:"Enter a friendly name for your new ".concat(b.human_readable," connection"),size:"sm","data-testid":"input-name"}),(0,n.jsx)(a.J1D,{children:e.errors.name})]}),(0,n.jsx)(a.kCb,{alignItems:"center",h:"32px",visibility:"hidden",children:(0,n.jsx)(a.ITP,{marginLeft:"8px"})})]})}}),(0,n.jsx)(m.gN,{id:"description",name:"description",children:e=>{let{field:t}=e;return(0,n.jsxs)(a.NIc,{display:"flex",children:[w("description","Description"),(0,n.jsx)(a.gxH,{...t,color:"gray.700",placeholder:"Enter a description for your new ".concat(b.human_readable," connection"),resize:"none",size:"sm",value:t.value||""}),(0,n.jsx)(a.kCb,{alignItems:"center",h:"32px",visibility:"hidden",children:(0,n.jsx)(a.ITP,{marginLeft:"8px"})})]})}}),(0,n.jsx)(m.gN,{id:"instance_key",name:"instance_key",validate:k,children:t=>{let{field:i}=t;return(0,n.jsxs)(a.NIc,{display:"flex",isRequired:!0,isInvalid:e.errors.instance_key&&e.touched.instance_key,children:[w("instance_key","Connection Identifier"),(0,n.jsxs)(a.gCW,{align:"flex-start",w:"inherit",children:[(0,n.jsx)(a.IIB,{...i,autoComplete:"off",color:"gray.700",isDisabled:!!(null==y?void 0:y.key),placeholder:"A unique identifier for your new ".concat(b.human_readable," connection"),size:"sm"}),(0,n.jsx)(a.J1D,{children:e.errors.instance_key})]}),(0,n.jsx)(a.ua7,{"aria-label":"The fides_key will allow fidesops to associate dataset field references appropriately. Must be a unique alphanumeric value with no spaces (underscores allowed) to represent this connection.",hasArrow:!0,label:"The fides_key will allow fidesops to associate dataset field references appropriately. Must be a unique alphanumeric value with no spaces (underscores allowed) to represent this connection.",placement:"right-start",openDelay:500,children:(0,n.jsx)(a.kCb,{alignItems:"center",h:"32px",children:(0,n.jsx)(a.ITP,{marginLeft:"8px",_hover:{cursor:"pointer"}})})})]})}}),Object.entries(t.properties).map(e=>{let[t,i]=e;return"advanced_settings"===t?null:z(t,i)}),(0,n.jsxs)("div",{className:"flex gap-2",children:[(0,n.jsx)(a.wpx,{disabled:!(null==y?void 0:y.key),loading:_.isLoading||_.isFetching,onClick:R,"data-testid":"test-connection-button",children:p}),(0,n.jsx)(a.wpx,{htmlType:"submit",type:"primary",disabled:s,loading:s,children:"Save"})]})]})})})},j=i(3968);let y=e=>{let{onConnectionCreated:t,data:i}=e,a=(0,p.I0)(),{errorAlert:s,successAlert:d}=(0,h.V)(),{handleError:m}=(0,u.H)(),[f,g]=(0,l.useState)(!1),{connection:v,connectionOption:y}=(0,o.C)(r.ZZ),[b]=(0,x.pH)(),[C]=(0,x.Du)();return{isSubmitting:f,handleSubmit:async e=>{try{var l;g(!0);let o={access:c.uv.WRITE,connection_type:null==y?void 0:y.identifier,description:e.description,disabled:!1,key:(0,j.E)(e.instance_key),name:e.name},u=await b(o).unwrap();if((null===(l=u.failed)||void 0===l?void 0:l.length)>0)s(u.failed[0].message);else{let l={connection_key:u.succeeded[0].key,secrets:{}};Object.entries(i.properties).forEach(t=>{l.secrets[t[0]]=e[t[0]]});let o=await C(l).unwrap();"failed"===o.test_status?s((0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("b",{children:"Message:"})," ",o.msg,(0,n.jsx)("br",{}),(0,n.jsx)("b",{children:"Failure Reason:"})," ",o.failure_reason]})):(a((0,r.lm)(u.succeeded[0])),d("Connector successfully ".concat((null==v?void 0:v.key)?"updated":"added","!")),(null==v?void 0:v.key)||!t||t())}}catch(e){m(e)}finally{g(!1)}},connectionOption:y}},b=e=>{let{data:t,onConnectionCreated:i,onTestConnectionClick:r}=e,{isSubmitting:s,handleSubmit:l,connectionOption:o}=y({onConnectionCreated:i,data:t});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(a.xuv,{color:"gray.700",fontSize:"14px",h:"80px",children:["Connect to your ",o.human_readable," environment by providing the information below. Once you have saved the form, you may test the integration to confirm that it's working correctly."]}),(0,n.jsx)(v,{data:t,defaultValues:{description:"",instance_key:"",name:""},isSubmitting:s,onSaveClick:l,onTestConnectionClick:r})]})},C={description:"",instance_key:"",name:""},_=e=>{let{data:t,onConnectionCreated:i,onTestEmail:r}=e,{connectionOption:s,isSubmitting:l,handleSubmit:o}=y({onConnectionCreated:i,data:t});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(a.xuv,{color:"gray.700",fontSize:"14px",h:"80px",children:["Configure your ",s.human_readable," connector by providing the connector name, description and a test email address. Once you have saved the details, you can click test email to check the format of the email."]}),(0,n.jsx)(v,{data:t,defaultValues:C,isSubmitting:l,onSaveClick:e=>{o(e)},onTestConnectionClick:r,testButtonLabel:"Test email"})]})};var k=i(55484),S=i(27259),w=i(67762),I=e=>{let{defaultValues:t,isSubmitting:i=!1,onSaveClick:l}=e,c=(0,s.useRouter)(),{connection:u,connectionOption:h}=(0,o.C)(r.ZZ);return(0,n.jsx)(m.J9,{initialValues:(()=>{if(null==u?void 0:u.key){var e;t.name=null!==(e=u.name)&&void 0!==e?e:"",t.description=u.description}return t})(),onSubmit:(e,t)=>{l(e,t)},validateOnBlur:!1,validateOnChange:!1,validationSchema:k.Ry().shape({name:k.Z_().required("Name is required")}),children:(0,n.jsx)(m.l0,{noValidate:!0,children:(0,n.jsxs)(a.gCW,{align:"stretch",gap:"16px",children:[(0,n.jsx)(S.Z,{autoFocus:!0,disabled:!!(null==u?void 0:u.key),isRequired:!0,label:"Name",name:"name",placeholder:"Enter a friendly name for your new ".concat(h.human_readable," connection")}),(0,n.jsx)(S.Z,{label:"Description",name:"description",placeholder:"Enter a description for your new ".concat(h.human_readable," connection"),type:"textarea"}),(0,n.jsx)(w.h,{isSubmitting:i,onCancelClick:()=>{c.push(d.JR)}})]})})})};let z=e=>{let{onConnectionCreated:t}=e,i=(0,p.I0)(),{errorAlert:s,successAlert:d}=(0,h.V)(),{handleError:m}=(0,u.H)(),[f,g]=(0,l.useState)(!1),{connection:v,connectionOption:j}=(0,o.C)(r.ZZ),[y]=(0,x.pH)(),b=async(e,n)=>{try{var a;g(!0);let n={access:c.uv.WRITE,connection_type:null==j?void 0:j.identifier,description:e.description,disabled:!1,name:e.name,key:null==v?void 0:v.key},l=await y(n).unwrap();(null===(a=l.failed)||void 0===a?void 0:a.length)>0?s(l.failed[0].message):(i((0,r.lm)(l.succeeded[0])),d("Connector successfully ".concat((null==v?void 0:v.key)?"updated":"added","!")),(null==v?void 0:v.key)||!t||t())}catch(e){m(e)}finally{g(!1)}};return(0,n.jsxs)(a.gCW,{align:"stretch",gap:"16px",children:[(0,n.jsxs)(a.xuv,{color:"gray.700",fontSize:"14px",children:["To begin setting up your new ",j.human_readable," ","connector you must first assign a name to the connector and a description.",(0,n.jsx)("br",{}),(0,n.jsx)("br",{}),"Once you have completed this section you can then progress onto"," ",(0,n.jsx)(a.xvT,{display:"inline-block",fontWeight:"700",children:"DSR customization"})," ","using the menu on the left hand side."]}),(0,n.jsx)(I,{defaultValues:{description:"",name:""},isSubmitting:f,onSaveClick:b})]})},R=e=>{let{data:t,onConnectionCreated:i,onTestConnectionClick:s}=e,d=(0,p.I0)(),{errorAlert:m,successAlert:f}=(0,h.V)(),{handleError:g}=(0,u.H)(),[y,b]=(0,l.useState)(!1),{connection:C,connectionOption:_}=(0,o.C)(r.ZZ),[k]=(0,x.pL)(),[S]=(0,x.pH)(),[w]=(0,x.Du)(),I=async(e,a)=>{try{if(b(!0),C){var s;let i={access:c.uv.WRITE,connection_type:C.connection_type,description:e.description,disabled:!1,key:C.key,name:e.name},a=await S(i).unwrap();if((null===(s=a.failed)||void 0===s?void 0:s.length)>0)m(a.failed[0].message);else{d((0,r.lm)(a.succeeded[0]));let i={connection_key:C.key,secrets:{}};Object.entries(t.properties).forEach(t=>{i.secrets[t[0]]=e[t[0]]});let s=await w(i).unwrap();"failed"===s.test_status?m((0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("b",{children:"Message:"})," ",s.msg,(0,n.jsx)("br",{}),(0,n.jsx)("b",{children:"Failure Reason:"})," ",s.failure_reason]})):f("Connector successfully updated!")}}else{let n={description:e.description,name:e.name,instance_key:(0,j.E)(e.instance_key),saas_connector_type:_.identifier,secrets:{}};Object.entries(t.properties).forEach(t=>{n.secrets[t[0]]=e[t[0]]});let a=await k(n).unwrap();d((0,r.lm)(a.connection)),f("Connector successfully added!"),null==i||i()}}catch(e){g(e)}finally{b(!1)}};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(a.xuv,{color:"gray.700",fontSize:"14px",h:"80px",children:["Connect to your ",_.human_readable," environment by providing the information below. Once you have saved the form, you may test the integration to confirm that it's working correctly."]}),(0,n.jsx)(v,{data:t,defaultValues:{description:"",instance_key:"",name:""},isSubmitting:y,onSaveClick:I,onTestConnectionClick:s})]})};var Z=i(16394);let W=e=>{var t,i;let{response:s}=e,{connectionOption:l}=(0,o.C)(r.ZZ);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.izJ,{color:"gray.100"}),(0,n.jsxs)(a.gCW,{align:"flex-start",mt:"16px",children:[(null===(t=s.data)||void 0===t?void 0:t.test_status)==="succeeded"&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(a.Ugi,{children:[(0,n.jsxs)(a.X6q,{as:"h5",color:"gray.700",size:"xs",children:["Successfully connected to ",l.human_readable]}),(0,n.jsx)(a.Vp9,{colorScheme:"green",size:"sm",variant:"solid",children:"Success"})]}),(0,n.jsx)(a.xvT,{color:"gray.500",fontSize:"sm",mt:"12px !important",children:(0,Z.p6)(s.fulfilledTimeStamp)}),(0,n.jsx)(a.xuv,{bg:"green.100",border:"1px solid",borderColor:"green.300",color:"green.700",mt:"16px",borderRadius:"6px",children:(0,n.jsxs)(a.Ugi,{alignItems:"flex-start",margin:["14px","17px","14px","17px"],children:[(0,n.jsx)(a.StI,{}),(0,n.jsxs)(a.xuv,{children:[(0,n.jsx)(a.X6q,{as:"h5",color:"green.500",fontWeight:"semibold",size:"xs",children:"Success message:"}),(0,n.jsx)(a.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"400",children:s.data.msg})]})]})})]}),(null===(i=s.data)||void 0===i?void 0:i.test_status)==="failed"&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(a.Ugi,{children:[(0,n.jsxs)(a.X6q,{as:"h5",color:"gray.700",size:"xs",children:["Output error to ",l.human_readable]}),(0,n.jsx)(a.Vp9,{colorScheme:"red",size:"sm",variant:"solid",children:"Error"})]}),(0,n.jsx)(a.xvT,{color:"gray.500",fontSize:"sm",mt:"12px !important",children:(0,Z.p6)(s.fulfilledTimeStamp)}),(0,n.jsx)(a.xuv,{bg:"red.50",border:"1px solid",borderColor:"red.300",color:"red.300",mt:"16px",borderRadius:"6px",children:(0,n.jsxs)(a.Ugi,{alignItems:"flex-start",margin:["14px","17px","14px","17px"],children:[(0,n.jsx)(a.f9v,{}),(0,n.jsxs)(a.xuv,{children:[(0,n.jsx)(a.X6q,{as:"h5",color:"red.500",fontWeight:"semibold",size:"xs",children:"Error message:"}),(0,n.jsx)(a.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"400",children:s.data.failure_reason}),(0,n.jsx)(a.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"400",children:s.data.msg})]})]})})]})]})]})},F=e=>{let{onConnectionCreated:t}=e,i=(0,s.useRouter)(),{connectionOption:u}=(0,o.C)(r.ZZ),h=u&&u.type===c.Zi.MANUAL,{data:x,isFetching:p,isLoading:m,isSuccess:f}=(0,r.n3)(u.identifier,{skip:h}),[g,v]=(0,l.useState)(),j=e=>{v(e)},y=(0,l.useCallback)(()=>{i.push(d.JR)},[i]),C=(0,l.useCallback)(()=>{switch(null==u?void 0:u.type){case c.Zi.DATABASE:if(f&&x)return(0,n.jsx)(b,{data:x,onConnectionCreated:t,onTestConnectionClick:j});break;case c.Zi.MANUAL:return(0,n.jsx)(z,{onConnectionCreated:t});case c.Zi.SAAS:if(f&&x)return(0,n.jsx)(R,{data:x,onConnectionCreated:t,onTestConnectionClick:j});break;case c.Zi.EMAIL:if(f&&x)return(0,n.jsx)(_,{data:x,onConnectionCreated:y,onTestEmail:j})}},[null==u?void 0:u.type,x,f,t,y]);return(0,n.jsxs)(a.kCb,{gap:"97px",children:[(0,n.jsxs)(a.gCW,{w:"579px",gap:"16px",align:"stretch",children:[(p||m)&&(0,n.jsx)(a.M5Y,{children:(0,n.jsx)(a.$jN,{})}),C()]}),g&&(0,n.jsxs)(a.Rg9,{in:!0,children:[" ",(0,n.jsx)(a.xuv,{mt:"16px",maxW:"528px",w:"fit-content",children:(0,n.jsx)(W,{response:g})})]})]})}},38212:function(e,t,i){i.d(t,{Z:function(){return y}});var n=i(24246),r=i(14047),a=i(96356),s=i(14207),l=i(77181),o=i(86677),d=i(27378),c=i(16134),u=i(812),h=i(77830),x=i(41966),p=i(84306),m=i(66527),f=i(41207),g=i(39715),v=e=>{let{data:t=[],isSubmitting:i=!1,onSubmit:r,onCancel:a,disabled:s}=e,o=(0,d.useRef)(null),{errorAlert:c}=(0,p.V)(),u=t.length>0?m.ZP.dump(t):void 0,[h,v]=(0,d.useState)(void 0),[j,y]=(0,d.useState)(!1),[b,C]=(0,d.useState)(!u),_=(0,l.qY0)(),{data:k}=(0,x.NR)(),[S,w]=(0,d.useState)([]),I=e=>{m.ZP.load(e,{json:!0}),v(void 0)},z=()=>{let e=o.current.getValue();r(m.ZP.load(e,{json:!0})),w([])};return(0,n.jsxs)(l.kCb,{gap:"97px",children:[(0,n.jsxs)(l.gCW,{align:"stretch",w:"800px",children:[(0,n.jsx)(f.M,{defaultLanguage:"yaml",defaultValue:u,height:"calc(100vh - 526px)",onChange:e=>{try{y(!0),I(e),C(!!(!e||""===e.trim()))}catch(e){(0,f.F)(e)?v(e):c("Could not parse the supplied YAML")}},onMount:(e,t)=>{o.current=e,o.current.focus()},options:{fontFamily:"Menlo",fontSize:13,minimap:{enabled:!0},readOnly:s},theme:"light"}),(0,n.jsxs)(l.Ugi,{justifyContent:"flex-end",pr:6,children:[a&&(0,n.jsx)(l.wpx,{onClick:a,children:"Cancel"}),(0,n.jsx)(l.wpx,{type:"primary",disabled:s||b||!!h||i,loading:i,onClick:()=>{if(k&&k.length){let e=o.current.getValue(),t=k.filter(t=>e.includes("fides_key: ".concat(t.fides_key,"\n"))).map(e=>e.fides_key);if(w(t),t.length){_.onOpen();return}}z()},htmlType:"submit","data-testid":"save-yaml-btn",children:"Save"})]})]}),j&&(b||h)&&(0,n.jsx)(g.Z,{isEmptyState:b,yamlError:h}),(0,n.jsx)(l.cVQ,{isOpen:_.isOpen,onClose:_.onClose,onConfirm:()=>{z(),_.onClose()},title:"Overwrite dataset",message:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(l.xvT,{children:["You are about to overwrite the dataset",S.length>1?"s":""," ",S.map((e,t)=>{let i=t===S.length-1;return(0,n.jsxs)(d.Fragment,{children:[(0,n.jsx)(l.xvT,{color:"complimentary.500",as:"span",fontWeight:"bold",children:e}),i?".":", "]},e)})]}),(0,n.jsx)(l.xvT,{children:"Are you sure you would like to continue?"})]})})]})};let j=e=>{let{children:t,...i}=e;return(0,n.jsx)(l.xvT,{color:"gray.700",fontSize:"14px",...i,children:t})};var y=()=>{let e=(0,o.useRouter)(),{errorAlert:t,successAlert:i}=(0,r.V)(),{handleError:p}=(0,r.H)(),[m,f]=(0,d.useState)(!1),{connection:g}=(0,c.C)(a.ZZ),{data:y,isFetching:b,isLoading:C,isSuccess:_}=(0,s.Eg)(g.key),[k]=(0,s.Lz)(),[S]=(0,x.EG)(),{data:w,isLoading:I,error:z}=(0,x.NR)(),[R,Z]=(0,d.useState)(void 0);(0,d.useEffect)(()=>{y&&y.items.length&&Z(y.items[0].ctl_dataset.fides_key)},[y]);let W=async n=>{var r;let a={connection_key:null==g?void 0:g.key,dataset_pairs:n},s=await k(a).unwrap();(null===(r=s.failed)||void 0===r?void 0:r.length)>0?t(s.failed[0].message):i("Dataset successfully updated!"),e.push(h.JR)},F=async()=>{if(R)try{let e=R;y&&y.items.length&&(e=y.items[0].fides_key);let t=[{fides_key:e,ctl_dataset_fides_key:R}];W(t)}catch(e){p(e)}},A=async e=>{try{f(!0);let i=Array.isArray(e)?e:[e],n=await S(i);if((0,u.D4)(n)){let e=(0,u.e$)(n.error);t(e);return}let r=i.map(e=>({fides_key:e.fides_key,ctl_dataset_fides_key:e.fides_key}));if(y&&y.items.length){let{items:e}=y;r=e.map((e,t)=>({fides_key:e.fides_key,ctl_dataset_fides_key:i[t].fides_key}))}W(r)}catch(e){p(e)}finally{f(!1)}},T=""!==R&&void 0!==R;if(b||C||I&&!z)return(0,n.jsx)(l.M5Y,{children:(0,n.jsx)(l.$jN,{})});let L=w&&w.length;return(0,n.jsxs)(l.gCW,{alignItems:"left",gap:4,children:[z&&(0,n.jsx)(j,{color:"red",children:"There was a problem loading existing datasets, please try again."}),(0,n.jsxs)(l.gCW,{alignItems:"flex-start",children:[L&&(0,n.jsx)("div",{children:(0,n.jsx)(l.gCW,{alignSelf:"start",gap:4,children:(0,n.jsxs)(l.xuv,{"data-testid":"dataset-selector-section",children:[(0,n.jsx)(j,{mb:4,children:"Choose a dataset to associate with this connector."}),(0,n.jsxs)(l.Ugi,{children:[(0,n.jsx)(l.WPr,{allowClear:!0,options:w.map(e=>({label:e.fides_key,value:e.fides_key})),className:"w-full",placeholder:"Select",onChange:e=>Z(e),value:R,"data-testid":"dataset-selector"}),(0,n.jsx)(l.wpx,{onClick:F,type:"primary",className:"self-start",disabled:!T,"data-testid":"save-dataset-link-btn",children:"Save"})]})]})})}),L&&_&&(null==y?void 0:y.items)&&(0,n.jsx)(l.htM,{plain:!0,children:"or"}),_&&(null==y?void 0:y.items)&&(0,n.jsxs)(l.xuv,{"data-testid":"yaml-editor-section",children:[(0,n.jsx)(j,{mb:4,children:"View your dataset YAML below!"}),(0,n.jsx)(v,{data:y.items.map(e=>e.ctl_dataset),isSubmitting:m,onSubmit:A,disabled:T})]})]})]})}},27259:function(e,t,i){var n=i(24246),r=i(77181),a=i(34090);t.Z=e=>{let{disabled:t=!1,displayHelpIcon:i=!0,helpIconVisibility:s=!1,isRequired:l=!1,label:o,placeholder:d,type:c="text",...u}=e,{id:h,autoFocus:x}=u,[p,m]=(0,a.U$)(u);return(0,n.jsxs)(r.NIc,{display:"flex",isRequired:l,isInvalid:!!(m.error&&m.touched),children:[o&&(0,n.jsx)(r.lXp,{color:"gray.900",fontSize:"14px",fontWeight:"semibold",htmlFor:h,minWidth:"150px",children:o}),(0,n.jsxs)(r.gCW,{align:"flex-start",w:"inherit",children:["number"===c&&(0,n.jsxs)(r.Y2U,{allowMouseWheel:!0,color:"gray.700",defaultValue:0,min:0,size:"sm",children:[(0,n.jsx)(r.zuI,{...p,autoComplete:"off",autoFocus:x}),(0,n.jsxs)(r.FiK,{children:[(0,n.jsx)(r.WQu,{}),(0,n.jsx)(r.Y_d,{})]})]}),"text"===c&&(0,n.jsx)(r.IIB,{...p,autoComplete:"off",autoFocus:x,color:"gray.700",isDisabled:t,placeholder:d,size:"sm"}),"textarea"===c&&(0,n.jsx)(r.gxH,{...p,autoComplete:"off",autoFocus:x,color:"gray.700",placeholder:d,resize:"none",size:"sm",value:p.value||""}),(0,n.jsx)(r.J1D,{children:m.error})]}),i&&(0,n.jsx)(r.kCb,{alignContent:"center",h:"32px",visibility:s?"visible":"hidden",children:(0,n.jsx)(r.ITP,{marginLeft:"8px",_hover:{cursor:"pointer"}})})]})}},3968:function(e,t,i){i.d(t,{E:function(){return n},S:function(){return r}});let n=e=>e.toLowerCase().replace(/ |\./g,"_"),r=(e,t)=>{let i="".concat(window.location.origin+t,"&key=").concat(e);window.location.href.toLowerCase()!==i.toLowerCase()&&window.history.replaceState(null,"",i)}},67762:function(e,t,i){i.d(t,{h:function(){return a}});var n=i(24246),r=i(77181);i(27378);let a=e=>{let{isSubmitting:t=!1,onCancelClick:i}=e;return(0,n.jsxs)(r.hE2,{size:"sm",spacing:"8px",variant:"outline",children:[(0,n.jsx)(r.zxk,{onClick:i,variant:"outline",children:"Cancel"}),(0,n.jsx)(r.zxk,{bg:"primary.800",color:"white",isDisabled:t,isLoading:t,loadingText:"Submitting",size:"sm",variant:"solid",type:"submit",_active:{bg:"primary.500"},_disabled:{opacity:"inherit"},_hover:{bg:"primary.400"},children:"Save"})]})}},50881:function(e,t,i){i.d(t,{Z:function(){return y}});var n=i(24246),r=i(14047),a=i(96356),s=i(14207),l=i(77181),o=i(86677),d=i(27378),c=i(16134),u=i(77830),h=i(34090),x=i(55484),p=i(97181),m=i(57072),f=i(39864),g=i(27259),v=i(67762),j=e=>{let{data:t=[],isSubmitting:i=!1,onSaveClick:a}=e,{isLoading:s}=(0,m.MO)(),d=(0,c.C)(f.qb),j=(0,o.useRouter)(),{errorAlert:y}=(0,r.V)(),b=()=>{j.push(u.JR)};return s?null:(0,n.jsx)(h.J9,{enableReinitialize:!0,initialValues:{fields:t.length>0?t:[{pii_field:"",dsr_package_label:"",data_categories:[]}]},onSubmit:(e,t)=>{if(new Set(e.fields.map(e=>e.pii_field)).size<e.fields.length){y("PII Field must be unique");return}a(e,t)},validateOnBlur:!1,validateOnChange:!1,validationSchema:x.Ry({fields:x.IX().of(x.Ry().shape({pii_field:x.Z_().required("PII Field is required").min(1,"PII Field must have at least one character").max(200,"PII Field has a maximum of 200 characters").label("PII Field"),dsr_package_label:x.Z_().required("DSR Package Label is required").min(1,"DSR Package Label must have at least one character").max(200,"DSR Package Label has a maximum of 200 characters").label("DSR Package Label"),data_categories:x.IX(x.Z_()).label("Data Categories")}))}),children:e=>(0,n.jsx)(h.l0,{style:{marginTop:0},noValidate:!0,children:(0,n.jsx)(l.gCW,{align:"stretch",children:(0,n.jsx)(h.F2,{name:"fields",render:t=>{let{fields:r}=e.values;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(l.Ugi,{color:"gray.900",flex:"1",fontSize:"14px",fontWeight:"semibold",lineHeight:"20px",mb:"6px",spacing:"24px",children:[(0,n.jsx)(l.xuv,{w:"416px",children:"PII Field"}),(0,n.jsx)(l.xuv,{w:"416px",children:"DSR Package Label"}),(0,n.jsx)(l.xuv,{w:"416px",children:"Data Categories"}),(0,n.jsx)(l.xuv,{visibility:"hidden",children:(0,n.jsx)(l.lr0,{})})]}),(0,n.jsx)(l.xuv,{children:r&&r.length>0?r.map((e,i)=>(0,n.jsxs)(l.Ugi,{mt:i>0?"12px":void 0,spacing:"24px",align:"flex-start",children:[(0,n.jsx)(l.xuv,{minH:"57px",w:"416px",children:(0,n.jsx)(g.Z,{autoFocus:0===i,displayHelpIcon:!1,isRequired:!0,name:"fields.".concat(i,".pii_field")})}),(0,n.jsx)(l.xuv,{minH:"57px",w:"416px",children:(0,n.jsx)(g.Z,{displayHelpIcon:!1,isRequired:!0,name:"fields.".concat(i,".dsr_package_label")})}),(0,n.jsx)(l.xuv,{minH:"57px",w:"416px",children:(0,n.jsx)(p.d,{name:"fields.".concat(i,".data_categories"),options:d.map(e=>({value:e.fides_key,label:e.fides_key})),isRequired:!0,mode:"multiple"})}),(0,n.jsx)(l.xuv,{h:"57px",visibility:i>0?"visible":"hidden",children:(0,n.jsx)(l.lr0,{onClick:()=>t.remove(i),_hover:{cursor:"pointer"}})})]},i)):null}),(0,n.jsx)(l.xvT,{color:"complimentary.500",fontWeight:"medium",fontSize:"sm",mb:"24px !important",mt:"24px !important",onClick:()=>{t.push({pii_field:"",dsr_package_label:"",data_categories:[]})},_hover:{cursor:"pointer"},children:"Add new PII field"}),(0,n.jsx)(v.h,{isSubmitting:i,onCancelClick:b})]})}})})})})},y=()=>{let e=(0,d.useRef)(!1),t=(0,o.useRouter)(),{successAlert:i}=(0,r.V)(),{handleError:h}=(0,r.H)(),[x,p]=(0,d.useState)(!1),[m,f]=(0,d.useState)([]),{connection:g}=(0,c.C)(a.ZZ),{data:v,isFetching:y,isLoading:b,isSuccess:C}=(0,s.QV)(g.key),[_]=(0,s.jF)(),[k]=(0,s._d)(),S=async(e,n)=>{try{p(!0);let n={connection_key:null==g?void 0:g.key,body:{...e}};m.length>0?await k(n).unwrap():await _(n).unwrap(),i("DSR customization ".concat(m.length>0?"updated":"added","!")),t.push(u.JR)}catch(e){h(e)}finally{p(!1)}};return(0,d.useEffect)(()=>(e.current=!0,C&&v&&f(v.fields),()=>{e.current=!1}),[v,C]),(0,n.jsxs)(l.gCW,{align:"stretch",gap:"16px",children:[(0,n.jsx)(l.xuv,{color:"gray.700",fontSize:"14px",w:"572px",children:"Customize your PII fields to create a friendly label name for your privacy request packages. This “Package Label” is the label your user will see in their downloaded package."}),(y||b)&&(0,n.jsx)(l.M5Y,{children:(0,n.jsx)(l.$jN,{})}),e.current&&!b?(0,n.jsx)(j,{data:m,isSubmitting:x,onSaveClick:S}):null]})}},19043:function(e,t,i){i.d(t,{Bw:function(){return s},D4:function(){return r},Dy:function(){return o},XD:function(){return d},cz:function(){return c},hE:function(){return l},oK:function(){return a}});var n=i(76649);let r=e=>"error"in e,a=e=>(0,n.Ln)({status:"string"},e)&&"PARSING_ERROR"===e.status,s=e=>(0,n.Ln)({status:"number",data:{}},e),l=e=>(0,n.Ln)({detail:"string"},e),o=e=>(0,n.Ln)({detail:{error:"string",resource_type:"string",fides_key:"string"}},e),d=e=>(0,n.Ln)({detail:{error:"string",resource_type:"string",fides_key:"string"}},e),c=e=>(0,n.Ln)({detail:[{loc:["string","number"],msg:"string",type:"string"}]},e)},76649:function(e,t,i){i.d(t,{Ln:function(){return n}});let n=(e,t)=>a(e,t),r=Symbol("SOME"),a=(e,t)=>"string"==typeof e?e===typeof t:Array.isArray(e)?r in e?e.some(e=>a(e,t)):!!Array.isArray(t)&&(0===e.length||t.every(t=>e.some(e=>a(e,t)))):"object"==typeof t&&null!==t&&Object.entries(e).every(([e,i])=>a(i,t[e]));class s{static narrow(e){return new s(t=>n(e,t))}constructor(e){this.NF=void 0,this.NF=e}satisfied(e){return this.NF(e)}build(e){return e}and(e){let t=this.NF,i=e instanceof s?e.NF:e instanceof Function?e:t=>n(e,t);return new s(e=>t(e)&&i(e))}}new s(e=>!0)}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2357],{5123:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/privacy-experience/[id]",function(){return i(41884)}])},41884:function(e,n,i){"use strict";i.r(n);var r=i(24246),c=i(77181),t=i(86677),s=i(77213),d=i(3412),u=i(94315);n.default=()=>{let e=(0,t.useRouter)(),n="";e.query.id&&(n=Array.isArray(e.query.id)?e.query.id[0]:e.query.id);let{data:i,isLoading:a}=(0,u.Qv)(n),{data:o,isLoading:p}=(0,u.fc)(n);return a||p?(0,r.jsx)(s.Z,{title:"Privacy experience",children:(0,r.jsx)(c.M5Y,{children:(0,r.jsx)(c.$jN,{})})}):i?(0,r.jsx)(s.Z,{title:"Privacy experience ".concat(i.component),padded:!1,children:(0,r.jsx)(d.Z,{passedInExperience:i,passedInTranslations:o})}):(0,r.jsx)(s.Z,{title:"Privacy experience",children:(0,r.jsxs)(c.xvT,{children:["No privacy experience with id ",n," found."]})})}}},function(e){e.O(0,[2858,2866,4294,9014,9282,1376,3412,2888,9774,179],function(){return e(e.s=5123)}),_N_E=e.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[354],{55173:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/privacy-experience",function(){return s(44061)}])},59301:function(e,t,s){"use strict";var i=s(24246),n=s(77181);t.Z=e=>(0,i.jsx)(n.rUS,{isExternal:!0,color:"complimentary.500",...e})},32222:function(e,t,s){"use strict";s.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"]])},44061:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return V}});var i=s(24246),n=s(77181),a=s(27378),r=s(35287),o=s(92222),l=s(59003),c=s(14481),d=s(86677),p=s(77830),u=s(19904),x=s(45277),h=s(59301),y=s(812),g=s(46628),m=s(32885),j=e=>{let{isOpen:t,onClose:s,testId:r="custom-asset-modal",assetType:o}=e,l=(0,a.useRef)(null),[c,d]=(0,a.useState)(null),p=(0,n.pmc)(),{getRootProps:u,getInputProps:j,isDragActive:f}=(0,x.uI)({onDrop:e=>{var t;if("css"!==(null===(t=e[0].name.split(".").pop())||void 0===t?void 0:t.toLowerCase())){p((0,g.Vo)("Only css files are allowed."));return}d(e[0])}}),[v,{isLoading:b}]=(0,m.JQ)(),w=async()=>{if(c){let e=await v({assetType:o,file:c});if((0,y.D4)(e)){p((0,g.Vo)((0,y.e$)(e.error)));return}p((0,g.t5)("Stylesheet uploaded successfully")),s()}};return(0,i.jsxs)(n.u_l,{initialFocusRef:l,isOpen:t,onClose:s,size:"2xl",children:[(0,i.jsx)(n.ZAr,{}),(0,i.jsxs)(n.hzk,{textAlign:"left",p:2,"data-testid":r,children:[(0,i.jsx)(n.xBx,{tabIndex:-1,ref:l,children:"Upload stylesheet"}),(0,i.jsxs)(n.fef,{children:[(0,i.jsxs)(n.xvT,{fontSize:"sm",mb:4,children:["To customize the appearance of your consent experiences, you may upload a CSS stylesheet. To download a template as a helpful starting point, click"," ",(0,i.jsx)(h.Z,{href:"https://raw.githubusercontent.com/ethyca/fides/main/clients/fides-js/src/components/fides.css",isExternal:!0,children:"here"}),"."," ",(0,i.jsx)(h.Z,{href:"https://fid.es/customize-styles",isExternal:!0,children:"Learn more"}),"."]}),(0,i.jsxs)(n.xuv,{...u(),bg:f?"gray.100":"gray.50",border:"2px dashed",borderColor:f?"gray.300":"gray.200",borderRadius:"md",cursor:"pointer",minHeight:"150px",display:"flex",alignItems:"center",justifyContent:"center",textAlign:"center",children:[(0,i.jsx)("input",{...j()}),c?(0,i.jsx)(n.xvT,{children:c.name}):f?(0,i.jsx)(n.xvT,{children:"Drop the file here..."}):(0,i.jsx)(n.xvT,{children:"Click or drag and drop your file here."})]})]}),(0,i.jsxs)(n.mzw,{className:"flex w-full justify-end gap-2",children:[(0,i.jsx)(n.wpx,{onClick:s,"data-testid":"cancel-btn",disabled:b,children:"Cancel"}),(0,i.jsx)(n.wpx,{type:"primary",htmlType:"submit",disabled:!c||b,onClick:w,"data-testid":"submit-btn",children:"Submit"})]})]})]})},f=e=>{let{assetType:t}=e,s=(0,n.qY0)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.wpx,{onClick:s.onOpen,children:"Upload stylesheet"}),(0,i.jsx)(j,{isOpen:s.isOpen,onClose:s.onClose,assetType:t})]})},v=s(72625),b=s(32222),w=s(94315);let C=e=>{var t;let s=null!==(t=b.J.get(e))&&void 0!==t?t:e;return(0,i.jsx)(v.G3,{value:s})},T=e=>{let{row:t,getValue:s}=e,[n]=(0,w.o3)(),[r,o]=(0,a.useState)(!1),l=async e=>{o(!0);let s=await n({id:t.original.id,disabled:!e});return o(!1),s},c=s(),{regions:d}=t.original,p=!!d&&d.length>1;return(0,i.jsx)(v.S1,{enabled:!c,onToggle:l,title:p?"Disabling multiple states":"Disabling experience",message:p?"Warning, you are about to disable this privacy experience for multiple locations. If you continue, your privacy notices will not be accessible to users in these locations.":"Warning, you are about to disable this privacy experience. If you continue, your privacy notices will not be accessible to users in this location.",loading:r})};var _=s(88340),S=s(25980),R=s(14048);let E="{privacy-center-hostname-and-path}",P='<script src="https://'.concat(E,'/fides.js"></script>'),k="<script>Fides.gtm()</script>";var z=()=>{let e=(0,n.qY0)(),t=(0,a.useRef)(null),{fidesCloud:s}=(0,S.hz)(),{data:r,isSuccess:o}=(0,m.Vh)(void 0,{skip:!s}),l=(0,a.useMemo)(()=>s&&o&&(null==r?void 0:r.privacy_center_url)?P.replace(E,r.privacy_center_url):P,[null==r?void 0:r.privacy_center_url,s,o]);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.wpx,{onClick:e.onOpen,icon:(0,i.jsx)(R.TI,{}),iconPosition:"end","data-testid":"js-tag-btn",children:"Get JavaScript tag"}),(0,i.jsxs)(n.u_l,{isOpen:e.isOpen,onClose:e.onClose,isCentered:!0,size:"xl",initialFocusRef:t,children:[(0,i.jsx)(n.ZAr,{}),(0,i.jsxs)(n.hzk,{"data-testid":"copy-js-tag-modal",children:[(0,i.jsx)(n.xBx,{tabIndex:-1,ref:t,pb:0,children:"Copy JavaScript tag"}),(0,i.jsx)(n.fef,{pt:3,pb:6,children:(0,i.jsxs)(n.Kqy,{spacing:3,children:[(0,i.jsx)(n.xvT,{children:"Copy the code below and paste it onto every page of your website, as high up in the <head> as possible. Replace the bracketed component with your privacy center's hostname and path."}),(0,i.jsxs)(n.EKh,{display:"flex",justifyContent:"space-between",alignItems:"center",p:0,children:[(0,i.jsx)(n.xvT,{p:4,children:l}),(0,i.jsx)(_.Z,{copyText:l})]}),(0,i.jsx)(n.xvT,{children:"Optionally, you can enable Google Tag Manager for managing tags on your website by including the script tag below along with the Fides.js tag. Place it below the Fides.js script tag."}),(0,i.jsxs)(n.EKh,{display:"flex",justifyContent:"space-between",alignItems:"center",p:0,children:[(0,i.jsx)(n.xvT,{p:4,children:k}),(0,i.jsx)(_.Z,{copyText:k})]}),(0,i.jsxs)(n.xvT,{children:["For more information about adding a JavaScript tag to your website, please visit"," ",(0,i.jsx)(n.rUS,{color:"complimentary.500",href:"https://docs.ethyca.com/tutorials/consent-management-configuration/install-fides#install-fidesjs-script-on-your-website",isExternal:!0,children:"docs.ethyca.com"})]})]})})]})]})]})},I=s(22286),M=s(28120);let O={items:[],total:0,page:1,size:25,pages:1},D=()=>{let e=(0,d.useRouter)();return(0,i.jsxs)(n.gCW,{mt:6,p:10,spacing:4,borderRadius:"base",maxW:"70%","data-testid":"empty-state",alignSelf:"center",margin:"auto",children:[(0,i.jsxs)(n.gCW,{children:[(0,i.jsx)(n.xvT,{fontSize:"md",fontWeight:"600",children:"No privacy experiences found."}),(0,i.jsx)(n.xvT,{fontSize:"sm",children:'Click "Create new experience" to add your first privacy experience to Fides.'})]}),(0,i.jsx)(n.wpx,{onClick:()=>e.push("".concat(p.w0,"/new")),size:"small",type:"primary","data-testid":"add-privacy-experience-btn",children:"Create new experience"})]})},F=(0,o.Cl)(),N=()=>{let{isLoading:e}=(0,m.x8)(),t=(0,d.useRouter)(),s=(0,u.Tg)([M.Sh.PRIVACY_EXPERIENCE_UPDATE]),{PAGE_SIZES:r,pageSize:x,setPageSize:h,onPreviousPageClick:y,isPreviousPageDisabled:g,onNextPageClick:j,isNextPageDisabled:v,startRange:b,endRange:_,pageIndex:S,setTotalPages:R}=(0,c.oi)(),{isFetching:E,isLoading:P,data:k}=(0,w.cq)({page:S,size:x}),{items:N,total:V,pages:W}=(0,a.useMemo)(()=>k||O,[k]);(0,a.useEffect)(()=>{R(W)},[W,R]);let Z=(0,a.useMemo)(()=>[F.accessor(e=>e.name,{id:"name",cell:e=>(0,i.jsx)(c.G3,{value:e.getValue()}),header:e=>(0,i.jsx)(c.Rr,{value:"Title",...e})}),F.accessor(e=>e.component,{id:"component",cell:e=>C(e.getValue()),header:e=>(0,i.jsx)(c.Rr,{value:"Component",...e})}),F.accessor(e=>e.regions,{id:"regions",cell:e=>(0,i.jsx)(c.WP,{suffix:"Locations",value:(0,I.JL)(e.getValue()),...e}),header:e=>(0,i.jsx)(c.Rr,{value:"Locations",...e}),meta:{showHeaderMenu:!0}}),F.accessor(e=>e.properties.map(e=>e.name),{id:"properties",cell:e=>(0,i.jsx)(c.WP,{suffix:"Properties",value:e.getValue(),...e}),header:e=>(0,i.jsx)(c.Rr,{value:"Properties",...e}),meta:{showHeaderMenu:!0}}),F.accessor(e=>e.updated_at,{id:"updated_at",cell:e=>(0,i.jsx)(c.G3,{value:new Date(e.getValue()).toDateString()}),header:e=>(0,i.jsx)(c.Rr,{value:"Last update",...e})}),s&&F.accessor(e=>e.disabled,{id:"enable",cell:T,header:e=>(0,i.jsx)(c.Rr,{value:"Enable",...e}),meta:{disableRowClick:!0}})].filter(Boolean),[s]),U=(0,l.b7)({getCoreRowModel:(0,o.sC)(),getGroupedRowModel:(0,o.qe)(),getExpandedRowModel:(0,o.rV)(),columns:Z,manualPagination:!0,data:N,state:{expanded:!0},columnResizeMode:"onChange"});return P||e?(0,i.jsx)(c.I4,{rowHeight:36,numRows:15}):(0,i.jsx)("div",{children:(0,i.jsxs)(n.kCb,{flex:1,direction:"column",overflow:"auto",children:[s&&(0,i.jsxs)(c.Q$,{children:[(0,i.jsxs)(n.Ugi,{alignItems:"center",spacing:2,children:[(0,i.jsx)(z,{}),(0,i.jsx)(u.ZP,{scopes:[M.Sh.CUSTOM_ASSET_UPDATE],children:(0,i.jsx)(f,{assetType:M.Db.CUSTOM_FIDES_CSS})})]}),(0,i.jsx)(n.wpx,{onClick:()=>t.push("".concat(p.w0,"/new")),type:"primary","data-testid":"add-privacy-experience-btn",children:"Create new experience"})]}),(0,i.jsx)(c.ZK,{tableInstance:U,onRowClick:s?e=>{let{id:i}=e;s&&t.push("".concat(p.w0,"/").concat(i))}:void 0,emptyTableNotice:(0,i.jsx)(D,{})}),(0,i.jsx)(c.s8,{totalRows:V||0,pageSizes:r,setPageSize:h,onPreviousPageClick:y,isPreviousPageDisabled:g||E,onNextPageClick:j,isNextPageDisabled:v||E,startRange:b,endRange:_})]})})};var V=()=>(0,i.jsxs)(r.Z,{title:"Privacy experiences",children:[(0,i.jsx)(n.xuv,{mb:4,"data-testid":"privacy-experience-page",children:(0,i.jsx)(n.X6q,{fontSize:"2xl",fontWeight:"semibold",mb:2,"data-testid":"header",children:"Privacy experience"})}),(0,i.jsx)(n.xvT,{fontSize:"sm",mb:8,width:{base:"100%",lg:"70%"},children:"Based on your privacy notices, Fides has created the banner and modal privacy experience configuration below. Each experience contains privacy notices and locations where the notices will be displayed. Edit each banner, modal, or privacy center to adjust the included privacy notices, locations, and text that is displayed to your users. When you’re ready to include these privacy notices on your website, copy the JavaScript using the button on this page and place it on your website."}),(0,i.jsx)(n.xuv,{children:(0,i.jsx)(N,{})})]})}},function(e){e.O(0,[8033,6060,5277,4481,6853,2888,9774,179],function(){return e(e.s=55173)}),_N_E=e.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7262],{81575:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent/privacy-notices",function(){return i(13089)}])},58754:function(e,t,i){"use strict";var a=i(24246),n=i(77181),s=i(70788);t.Z=e=>{let{heading:t,breadcrumbItems:i,isSticky:l=!0,children:r,rightContent:o,style:c,...d}=e;return(0,a.jsxs)("div",{...d,style:l?{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,a.jsxs)(n.jqI,{justify:"space-between",children:["string"==typeof t?(0,a.jsx)(n.X6q,{className:i||r?"pb-4":void 0,fontSize:"2xl","data-testid":"page-heading",children:t}):t,o&&(0,a.jsx)("div",{"data-testid":"page-header-right-content",children:o})]}),!!i&&(0,a.jsx)(s.m,{className:r?"pb-4":void 0,items:i,"data-testid":"page-breadcrumb"}),r]})}},70788:function(e,t,i){"use strict";i.d(t,{m:function(){return c}});var a=i(24246),n=i(77181),s=i(79894),l=i.n(s),r=i(27378);let{Text:o}=n.AntTypography,c=e=>{let{items:t,...i}=e,s=(0,r.useMemo)(()=>null==t?void 0:t.map((e,i)=>{let s=i===t.length-1,r={...e},c=r.onClick&&!r.href;return("string"==typeof r.title&&(r.title=(0,a.jsx)(o,{style:{color:"inherit",maxWidth:s?void 0:400},ellipsis:!s,children:r.title})),c)?r.title=(0,a.jsx)(n.wpx,{type:"text",size:"small",icon:r.icon,onClick:r.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:r.title}):(r.icon&&(r.title=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"anticon align-text-bottom",children:r.icon}),r.title]})),r.href&&r.title&&(r.title=(0,a.jsx)(l(),{href:r.href,className:"ant-breadcrumb-link",children:r.title}),delete r.href)),r}),[t]);return(0,a.jsx)(n.zrq,{items:s,...i})}},13089:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return k}});var a=i(24246),n=i(77181),s=i(27378),l=i(35287),r=i(58754),o=i(92222),c=i(59003),d=i(14481),u=i(79894),h=i.n(u),x=i(86677),g=i(77830),p=i(19904),m=i(32885),v=i(22286),f=i(65063),j=i(71922),b=i(28120);let y={items:[],total:0,page:1,size:25,pages:1},w=()=>(0,a.jsxs)(n.gCW,{mt:6,p:10,spacing:4,borderRadius:"base",maxW:"70%","data-testid":"no-results-notice",alignSelf:"center",margin:"auto",children:[(0,a.jsxs)(n.gCW,{children:[(0,a.jsx)(n.xvT,{fontSize:"md",fontWeight:"600",children:"No privacy notices found."}),(0,a.jsx)(n.xvT,{fontSize:"sm",children:'Click "Add a privacy notice" to add your first privacy notice to Fides.'})]}),(0,a.jsx)(n.wpx,{href:"".concat(g.IT,"/new"),role:"link",size:"small",type:"primary","data-testid":"add-privacy-notice-btn",children:"Add a privacy notice +"})]}),C=(0,o.Cl)(),R=()=>{let{isLoading:e}=(0,m.x8)(),t=(0,x.useRouter)(),i=(0,p.Tg)([b.Sh.PRIVACY_NOTICE_UPDATE]),{PAGE_SIZES:l,pageSize:r,setPageSize:u,onPreviousPageClick:R,isPreviousPageDisabled:k,onNextPageClick:N,isNextPageDisabled:P,startRange:_,endRange:T,pageIndex:z,setTotalPages:M}=(0,d.oi)(),{isFetching:E,isLoading:I,data:S}=(0,j.J6)({page:z,size:r}),{items:V,total:A,pages:L}=(0,s.useMemo)(()=>S||y,[S]);(0,s.useEffect)(()=>{M(L)},[L,M]);let W=(0,s.useMemo)(()=>[C.accessor(e=>e.name,{id:"name",cell:e=>(0,a.jsx)(d.G3,{value:e.getValue()}),header:e=>(0,a.jsx)(d.Rr,{value:"Title",...e})}),C.accessor(e=>e.consent_mechanism,{id:"consent_mechanism",cell:e=>(0,v.JA)(e.getValue()),header:e=>(0,a.jsx)(d.Rr,{value:"Mechanism",...e})}),C.accessor(e=>e.configured_regions,{id:"regions",cell:e=>{var t;return(null===(t=(0,v.JL)(e.getValue()))||void 0===t?void 0:t.length)?(0,a.jsx)(d.WP,{suffix:"Locations",value:(0,v.JL)(e.getValue()),...e}):(0,a.jsx)(d.G3,{value:"Unassigned"})},header:e=>(0,a.jsx)(d.Rr,{value:"Locations",...e}),meta:{showHeaderMenu:!0}}),C.accessor(e=>e.disabled,{id:"status",cell:e=>(0,v.jN)(e),header:e=>(0,a.jsx)(d.Rr,{value:"Status",...e})}),C.accessor(e=>e.framework,{id:"framework",cell:e=>e.getValue()?(0,a.jsx)(d.A4,{value:f.Ep.get(e.getValue())}):null,header:e=>(0,a.jsx)(d.Rr,{value:"Framework",...e})}),C.accessor(e=>e.children,{id:"children",cell:e=>{var t;return(null===(t=(0,v.Mq)(e.getValue()))||void 0===t?void 0:t.length)?(0,a.jsx)(d.WP,{suffix:"Children",value:(0,v.Mq)(e.getValue()),...e}):(0,a.jsx)(d.G3,{value:"Unassigned"})},header:e=>(0,a.jsx)(d.Rr,{value:"Children",...e}),meta:{showHeaderMenu:!0}}),i&&C.accessor(e=>e.disabled,{id:"enable",cell:v.PS,header:e=>(0,a.jsx)(d.Rr,{value:"Enable",...e}),meta:{disableRowClick:!0}})].filter(Boolean),[i]),q=(0,c.b7)({getCoreRowModel:(0,o.sC)(),getGroupedRowModel:(0,o.qe)(),getExpandedRowModel:(0,o.rV)(),columns:W,manualPagination:!0,data:V,state:{expanded:!0},columnResizeMode:"onChange"});return I||e?(0,a.jsx)(d.I4,{rowHeight:36,numRows:15}):(0,a.jsx)("div",{children:(0,a.jsxs)(n.kCb,{flex:1,direction:"column",overflow:"auto",children:[i&&(0,a.jsx)(d.Q$,{children:(0,a.jsx)(n.Ugi,{alignItems:"center",spacing:4,marginLeft:"auto",children:(0,a.jsx)(h(),{href:"".concat(g.IT,"/new"),passHref:!0,legacyBehavior:!0,children:(0,a.jsx)(n.wpx,{type:"primary","data-testid":"add-privacy-notice-btn",children:"Add a privacy notice +"})})})}),(0,a.jsx)(d.ZK,{tableInstance:q,onRowClick:i?e=>{let{id:a}=e;i&&t.push("".concat(g.IT,"/").concat(a))}:void 0,emptyTableNotice:(0,a.jsx)(w,{})}),(0,a.jsx)(d.s8,{totalRows:A||0,pageSizes:l,setPageSize:u,onPreviousPageClick:R,isPreviousPageDisabled:k||E,onNextPageClick:N,isNextPageDisabled:P||E,startRange:_,endRange:T})]})})};var k=()=>(0,a.jsxs)(l.Z,{title:"Privacy notices",children:[(0,a.jsx)(r.Z,{heading:"Privacy Notices",children:(0,a.jsx)(n.xvT,{fontSize:"sm",mb:8,width:{base:"100%",lg:"50%"},children:"Manage the privacy notices and mechanisms that are displayed to your users based on their location, what information you collect about them, and how you use that data."})}),(0,a.jsx)(n.xuv,{"data-testid":"privacy-notices-page",children:(0,a.jsx)(R,{})})]})}},function(e){e.O(0,[8033,6060,4481,6853,2888,9774,179],function(){return e(e.s=81575)}),_N_E=e.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2423],{95372:function(e){e.exports=function(e,t,s,n){for(var i=e.length,r=s+(n?1:-1);n?r--:++r<i;)if(t(e[r],r,e))return r;return -1}},56632:function(e,t,s){var n=s(89278),i=s(80068),r=s(50098);e.exports=function(e){return function(t,s,o){var a=Object(t);if(!i(t)){var l=n(s,3);t=r(t),s=function(e){return l(a[e],e,a)}}var d=e(t,s,o);return d>-1?a[l?t[d]:d]:void 0}}},64925:function(e,t,s){var n=s(56632)(s(66259));e.exports=n},66259:function(e,t,s){var n=s(95372),i=s(89278),r=s(47991),o=Math.max;e.exports=function(e,t,s){var a=null==e?0:e.length;if(!a)return -1;var l=null==s?0:r(s);return l<0&&(l=o(a+l,0)),n(e,i(t,3),l)}},94919:function(e,t,s){var n=s(91936),i=1/0;e.exports=function(e){return e?(e=n(e))===i||e===-i?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},47991:function(e,t,s){var n=s(94919);e.exports=function(e){var t=n(e),s=t%1;return t==t?s?t-s:t:0}},86850:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/data-discovery/action-center/[monitorId]",function(){return s(56856)}])},34929:function(e,t,s){"use strict";var n=s(24246),i=s(64925),r=s.n(i),o=s(27378),a=s(16134),l=s(30002),d=s(28079),c=s(57072);let u=()=>{let{isLoading:e}=(0,d.fd)(),t=(0,a.C)(d.U3),{isLoading:s}=(0,c.MO)(),n=(0,a.C)(c.qb),{isLoading:i}=(0,l.te)();return{dataUses:t,dataSubjects:(0,a.C)(l.ZL),dataCategories:n,isLoading:e||s||i}};t.Z=()=>{let{dataUses:e,dataCategories:t,dataSubjects:s,isLoading:i}=u(),a=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 s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=t(e);if(!n)return{};let i=t(a(e,s)),r=!!n.parent_key;return{name:n.name||void 0,primaryName:r&&(null==i?void 0:i.name)!==n.name&&(null==i?void 0:i.name)||void 0}},d=function(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,{name:i,primaryName:r}=l(e,t,s);return i?r?(0,n.jsxs)(o.Fragment,{children:[(0,n.jsxs)("strong",{children:[r,":"]})," ",i]},e):(0,n.jsx)("strong",{children:i},e):e},c=t=>r()(e,{fides_key:t}),g=e=>r()(t,{fides_key:e}),m=e=>r()(s,{fides_key:e});return{getDataUses:()=>e,getDataUseByKey:c,getDataUseDisplayName:e=>d(e,c,1),getDataUseDisplayNameProps:e=>l(e,c,1),getDataCategories:()=>t,getDataCategoryByKey:g,getDataCategoryDisplayName:e=>d(e,g,2),getDataCategoryDisplayNameProps:e=>l(e,g,2),getDataSubjects:()=>s,getDataSubjectByKey:m,getDataSubjectDisplayName:e=>{let t=m(e);return t?t.name:e},getPrimaryKey:a,isLoading:i}}},37059:function(e,t,s){"use strict";s.d(t,{Ak:function(){return m},EY:function(){return c},Ud:function(){return r},Vr:function(){return v},WJ:function(){return a},nP:function(){return d},nS:function(){return u},rs:function(){return l},sX:function(){return g},wi:function(){return o}});var n=s(78780),i=s(16394);let{useGetAggregateMonitorResultsQuery:r,useGetDiscoveredSystemAggregateQuery:o,useGetDiscoveredAssetsQuery:a,useAddMonitorResultSystemsMutation:l,useIgnoreMonitorResultSystemsMutation:d,useAddMonitorResultAssetsMutation:c,useIgnoreMonitorResultAssetsMutation:u,useUpdateAssetsSystemMutation:g,useUpdateAssetsDataUseMutation:m,useUpdateAssetsMutation:v}=n.u.injectEndpoints({endpoints:e=>({getAggregateMonitorResults:e.query({query:e=>{let{page:t=1,size:s=20,search:n}=e;return{url:"/plus/discovery-monitor/aggregate-results",params:{page:t,size:s,search:n,diff_status:"addition"}}},providesTags:["Discovery Monitor Results"]}),getDiscoveredSystemAggregate:e.query({query:e=>{let{key:t,page:s=1,size:n=20,search:i}=e;return{url:"/plus/discovery-monitor/system-aggregate-results",params:{monitor_config_id:t,page:s,size:n,search:i,diff_status:"addition"}}},providesTags:["Discovery Monitor Results"]}),getDiscoveredAssets:e.query({query:e=>{let{key:t,system:s,page:n=1,size:i=20,search:r,diff_status:o}=e;return{url:"/plus/discovery-monitor/".concat(t,"/results"),params:{resolved_system_id:s,page:n,size:i,search:r,diff_status:o,sort_by:"urn"}}},providesTags:()=>["Discovery Monitor Results"]}),addMonitorResultSystems:e.mutation({query:e=>{let{monitor_config_key:t,resolved_system_ids:s}=e,n=(0,i.du)(s,"resolved_system_ids");return{method:"POST",url:"/plus/discovery-monitor/".concat(t,"/promote?").concat(n)}},invalidatesTags:["Discovery Monitor Results"]}),ignoreMonitorResultSystems:e.mutation({query:e=>{let{monitor_config_key:t,resolved_system_ids:s}=e,n=(0,i.du)(s,"resolved_system_ids");return{method:"POST",url:"/plus/discovery-monitor/".concat(t,"/mute?").concat(n)}},invalidatesTags:["Discovery Monitor Results"]}),addMonitorResultAssets:e.mutation({query:e=>{var t;let s=new URLSearchParams;return null===(t=e.urnList)||void 0===t||t.forEach(e=>s.append("staged_resource_urns",e)),{method:"POST",url:"/plus/discovery-monitor/promote?".concat(s)}},invalidatesTags:["Discovery Monitor Results"]}),ignoreMonitorResultAssets:e.mutation({query:e=>{var t;let s=new URLSearchParams;return null===(t=e.urnList)||void 0===t||t.forEach(e=>s.append("staged_resource_urns",e)),{method:"POST",url:"/plus/discovery-monitor/mute?".concat(s)}},invalidatesTags:["Discovery Monitor Results"]}),updateAssetsSystem:e.mutation({query:e=>({method:"PATCH",url:"/plus/discovery-monitor/".concat(e.monitorId,"/results"),body:e.urnList.map(t=>({urn:t,user_assigned_system_key:e.systemKey}))}),invalidatesTags:["Discovery Monitor Results","System Assets"]}),updateAssetsDataUse:e.mutation({query:e=>({method:"PATCH",url:"/plus/discovery-monitor/".concat(e.monitorId,"/results"),body:e.urnList.map(t=>({urn:t,user_assigned_data_uses:e.dataUses}))}),invalidatesTags:["Discovery Monitor Results"]}),updateAssets:e.mutation({query:e=>({method:"PATCH",url:"/plus/discovery-monitor/".concat(e.monitorId,"/results"),body:e.assets}),invalidatesTags:["Discovery Monitor Results"]})})})},78238:function(e,t,s){"use strict";s.d(t,{g:function(){return n}});let n=["essential","functional.service.improve","personalize","analytics","marketing.advertising.first_party.targeted","marketing.advertising.third_party.targeted"];t.Z=e=>n.includes(e)},56856:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return R}});var n=s(24246),i=s(86677),r=s(35287),o=s(77830),a=s(58754),l=s(59003),d=s(92222),c=s(77181),u=s(27378),g=s(812),m=s(14047),v=s(14481),y=s(37059),h=s(31883),f=s(57454),p=s(34929),_=s(72625),x=s(78238),j=e=>{var t,s;let{system:i}=e,{getDataUseDisplayName:r}=(0,p.Z)(),o=(null!==(s=null===(t=i.data_uses)||void 0===t?void 0:t.filter(e=>(0,x.Z)(e)))&&void 0!==s?s:[]).map(e=>({label:r(e),key:e}));return(0,n.jsx)(_.mb,{values:o})};let b=e=>{let{monitorId:t,system:s}=e,[i,{isLoading:r}]=(0,y.rs)(),[a,{isLoading:l}]=(0,y.nP)(),{successAlert:d,errorAlert:u}=(0,m.V)(),v=r||l,{id:h,name:f,system_key:p,total_updates:_}=s,x=async()=>{let e=await i({monitor_config_key:t,resolved_system_ids:[h]});(0,g.D4)(e)?u((0,g.e$)(e.error)):d(p?"".concat(_," assets from ").concat(f," have been added to the system inventory."):"".concat(f," and ").concat(_," assets have been added to the system inventory. ").concat(f," is now configured for consent."),"Confirmed")},j=async()=>{let e=await a({monitor_config_key:t,resolved_system_ids:[h||o.Kl]});(0,g.D4)(e)?u((0,g.e$)(e.error)):d(f?"".concat(_," assets from ").concat(f," have been ignored and will not appear in future scans."):"".concat(_," uncategorized assets have been ignored and will not appear in future scans."),"Confirmed")};return(0,n.jsxs)(c.vyj,{children:[(0,n.jsx)(c.esZ,{title:s.id?void 0:"These assets must be categorized before you can add them to the inventory.",children:(0,n.jsx)(c.wpx,{"data-testid":"add-btn",size:"small",onClick:x,disabled:!s.id||v,loading:r,children:"Add"})}),(0,n.jsx)(c.wpx,{"data-testid":"ignore-btn",size:"small",onClick:j,disabled:v,loading:l,children:"Ignore"})]})};var w=s(56839);let k=e=>{let{system:t}=e;return(0,n.jsxs)(c.kCb,{alignItems:"center",height:"100%",children:[!(null==t?void 0:t.system_key)&&(0,n.jsx)(c.ua7,{label:"New system",children:(0,n.jsx)("span",{children:w.QL.Change})}),(0,n.jsx)(c.xvT,{fontSize:"xs",fontWeight:"semibold",lineHeight:4,overflow:"hidden",textOverflow:"ellipsis",children:(null==t?void 0:t.name)||"Uncategorized assets"})]})},C=e=>{let t=(0,d.Cl)();return{columns:[t.display({id:"select",cell:e=>{let{row:t}=e;return(0,n.jsx)(v.k,{isChecked:t.getIsSelected(),onChange:t.getToggleSelectedHandler(),dataTestId:"select-".concat(t.original.name||t.id)})},header:e=>{let{table:t}=e;return(0,n.jsx)(v.k,{isChecked:t.getIsAllPageRowsSelected(),isIndeterminate:t.getIsSomeRowsSelected(),onChange:t.getToggleAllRowsSelectedHandler(),dataTestId:"select-all-rows"})},maxSize:40,meta:{disableRowClick:!0}}),t.accessor(e=>e.name,{id:"system_name",cell:e=>(0,n.jsx)(k,{system:e.row.original}),header:"System",size:300}),t.accessor(e=>e.total_updates,{id:"total_updates",cell:e=>(0,n.jsx)(v.G3,{value:e.getValue()}),header:"Assets",size:80}),t.display({id:"data_use",cell:e=>(0,n.jsx)(j,{system:e.row.original}),header:"Categories of consent",size:400,meta:{disableRowClick:!0}}),t.accessor(e=>e.locations,{id:"locations",cell:e=>(0,n.jsx)(v.G3,{value:e.getValue().length>1?"".concat(e.getValue().length," locations"):e.getValue()[0]}),header:"Locations"}),t.accessor(e=>e.domains,{id:"domains",cell:e=>(0,n.jsx)(v.G3,{value:e.getValue().length>1?"".concat(e.getValue().length," domains"):e.getValue()[0]}),header:"Domains"}),t.display({id:"actions",cell:t=>(0,n.jsx)(b,{system:t.row.original,monitorId:e}),header:"Actions",meta:{disableRowClick:!0}})]}},D=e=>{let{monitorId:t}=e,s=(0,i.useRouter)(),{PAGE_SIZES:r,pageSize:a,setPageSize:p,onPreviousPageClick:_,isPreviousPageDisabled:x,onNextPageClick:j,isNextPageDisabled:b,startRange:w,endRange:k,pageIndex:D,setTotalPages:R,resetPageIndexToDefault:S}=(0,v.oi)(),[P,{isLoading:T}]=(0,y.rs)(),[A,{isLoading:M}]=(0,y.nP)(),{successAlert:I,errorAlert:z}=(0,m.V)(),[L,N]=(0,u.useState)(""),[q,E]=(0,u.useState)({});(0,u.useEffect)(()=>{S()},[t,L,S]);let{data:U,isLoading:V,isFetching:Z}=(0,y.wi)({key:t,page:D,size:a,search:L});(0,u.useEffect)(()=>{U&&R(U.pages||1)},[U,R]);let{columns:O}=C(t),H=(0,l.b7)({getCoreRowModel:(0,d.sC)(),columns:O,manualPagination:!0,data:(null==U?void 0:U.items)||[],columnResizeMode:"onChange",onRowSelectionChange:E,state:{rowSelection:q}}),K=H.getSelectedRowModel().rows,$=K.some(e=>null===e.original.id);if(V)return(0,n.jsx)(v.I4,{rowHeight:36,numRows:36});let G=async()=>{let e=K.reduce((e,t)=>e+t.original.total_updates,0),s=await P({monitor_config_key:t,resolved_system_ids:K.map(e=>e.original.id)});(0,h.D4)(s)?z((0,g.e$)(s.error)):(I("".concat(e," assets have been added to the system inventory.")),E({}))},W=async()=>{let e=K.reduce((e,t)=>e+t.original.total_updates,0),s=await A({monitor_config_key:t,resolved_system_ids:K.map(e=>{var t;return null!==(t=e.original.id)&&void 0!==t?t:o.Kl})});(0,h.D4)(s)?z((0,g.e$)(s.error)):(I("".concat(e," assets have been ignored and will not appear in future scans.")),E({}))};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(v.Q$,{children:(0,n.jsxs)(c.kCb,{direction:"row",alignItems:"center",justifyContent:"space-between",width:"full",children:[(0,n.jsx)(c.kCb,{gap:6,align:"center",children:(0,n.jsx)(c.xuv,{flexShrink:0,children:(0,n.jsx)(f.M,{value:L,onChange:N})})}),(0,n.jsxs)(c.kCb,{align:"center",children:[!!K.length&&(0,n.jsx)(c.xvT,{fontSize:"xs",fontWeight:"semibold",minW:16,mr:6,"data-testid":"selected-count",children:"".concat(K.length," selected")}),(0,n.jsxs)(c.v2r,{children:[(0,n.jsx)(c.j2t,{as:c.wpx,icon:(0,n.jsx)(c.PJP._ME,{}),iconPosition:"end",loading:T||M,"data-testid":"bulk-actions-menu",disabled:!K.length,type:"primary",children:"Actions"}),(0,n.jsxs)(c.qyq,{children:[(0,n.jsx)(c.esZ,{title:$?"Uncategorized assets can't be added to the inventory":null,placement:"left",children:(0,n.jsx)(c.sNh,{fontSize:"small",onClick:G,"data-testid":"bulk-add",isDisabled:$,children:"Add"})}),(0,n.jsx)(c.sNh,{fontSize:"small",onClick:W,"data-testid":"bulk-ignore",children:"Ignore"})]})]})]})]})}),(0,n.jsx)(v.ZK,{tableInstance:H,onRowClick:e=>{var n;s.push("".concat(o.vi,"/").concat(t,"/").concat(null!==(n=e.id)&&void 0!==n?n:o.Kl))},emptyTableNotice:(0,n.jsx)(c.oj8,{image:c.oj8.PRESENTED_IMAGE_SIMPLE,description:"All caught up!"})}),(0,n.jsx)(v.s8,{totalRows:(null==U?void 0:U.total)||0,pageSizes:r,setPageSize:p,onPreviousPageClick:_,isPreviousPageDisabled:x||Z,onNextPageClick:j,isNextPageDisabled:b||Z,startRange:w,endRange:k})]})};var R=()=>{let e=decodeURIComponent((0,i.useRouter)().query.monitorId);return(0,n.jsxs)(r.Z,{title:"Action center - Discovered assets by system",children:[(0,n.jsx)(a.Z,{heading:"Action center",breadcrumbItems:[{title:"All activity",href:o.vi},{title:e}]}),(0,n.jsx)(D,{monitorId:e})]})}},31883:function(e,t,s){"use strict";s.d(t,{Bw:function(){return n.Bw},D4:function(){return n.D4}});var n=s(19043)}},function(e){e.O(0,[8033,6060,2858,2866,9278,4481,9999,2888,9774,179],function(){return e(e.s=86850)}),_N_E=e.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7477],{45550:function(e,s,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/data-discovery/activity",function(){return a(3680)}])},91761:function(e,s,a){"use strict";var t=a(24246),i=a(77181),n=a(14047),r=a(98559),o=a(28120),l=a(79494),c=a(70675);s.Z=e=>{let{resource:s}=e,[a,{isLoading:d}]=(0,c.v8)(),[u,{isLoading:g}]=(0,c.cM)(),[x,{isLoading:I}]=(0,c.vi)(),j=g||I||d,{diff_status:h,child_diff_statuses:C,top_level_field_name:A}=s,{successAlert:f}=(0,n.V)(),L=h===o.LL.CLASSIFICATION_ADDITION||h===o.LL.CLASSIFICATION_UPDATE,_=C&&(C[o.LL.CLASSIFICATION_ADDITION]||C[o.LL.CLASSIFICATION_UPDATE]),m=(L||_)&&!A,T=L||_,S=m&&T,v=async()=>{await u({staged_resource_urn:s.urn}),f('These changes have been added to a Fides dataset. To view, navigate to "Manage datasets".',"Table changes confirmed")},N=async()=>{await x({staged_resource_urn:s.urn}),f("Ignored changes will not be added to a Fides dataset.","".concat(s.name||"Changes"," ignored"))},p=async()=>{await a({staged_resource_urn:s.urn,monitor_config_id:s.monitor_config_id,start_classification:!0,classify_monitored_resources:!0}),f("Reclassification of ".concat((0,r.Z)(s)||"the resource"," has begun. The results may take some time to appear in the “Data discovery“ tab."),"Reclassification started")};return(0,t.jsxs)(i.Ugi,{gap:2,children:[m&&(0,t.jsx)(l.Z,{title:"Confirm",icon:(0,t.jsx)(i.nQG,{}),onClick:v,disabled:j,loading:g}),T&&(0,t.jsx)(l.Z,{title:"Ignore",icon:(0,t.jsx)(i.tpL,{}),onClick:N,disabled:j,loading:I}),!S&&(0,t.jsx)(l.Z,{title:"Reclassify",icon:(0,t.jsx)(i.nyI,{}),onClick:p,disabled:j,loading:d}),(0,t.jsx)(i.LZC,{}),S&&(0,t.jsxs)(i.v2r,{children:[(0,t.jsx)(i.j2t,{as:i.wpx,size:"small",type:"text",icon:(0,t.jsx)(i.nXP,{transform:"rotate(90deg)"}),className:"w-6 gap-0","data-testid":"actions-overflow-btn"}),(0,t.jsx)(i.qyq,{children:(0,t.jsx)(i.sNh,{onClick:p,icon:(0,t.jsx)(i.nyI,{}),"data-testid":"action-reclassify",children:"Reclassify"})})]})]})}},3680:function(e,s,a){"use strict";a.r(s),a.d(s,{default:function(){return O}});var t,i,n=a(24246),r=a(27378),o=a(35287),l=a(58754),c=a(47182),d=a(92222),u=a(59003),g=a(77181),x=a(14481),I=a(72625),j=a(70675),h=a(38347),C=a(87667),A=a(50169),f=a(80285),L=a(57454);(t=i||(i={})).DATASET="Dataset",t.CLASSIFICATION="Classification";var _=a(74241),m=a(28278),T=a(20449),S=e=>(0,T.Z)(e)===m.E.CLASSIFICATION?i.CLASSIFICATION:i.DATASET,v=a(54409),N=a(91761);let p={items:[],total:0,page:1,size:50,pages:1},y=()=>(0,n.jsx)(g.gCW,{mt:6,p:10,spacing:4,borderRadius:"base",maxW:"70%","data-testid":"empty-state",alignSelf:"center",margin:"auto",children:(0,n.jsxs)(g.gCW,{children:[(0,n.jsx)(g.xvT,{fontSize:"md",fontWeight:"600",children:"No activity found"}),(0,n.jsx)(g.xvT,{fontSize:"sm",children:"You're up to date!"})]})}),D=(0,d.Cl)();var w=e=>{let{onRowClick:s,statusFilters:a,childsStatusFilters:t}=e,[o,l]=(0,r.useState)(""),{PAGE_SIZES:c,pageSize:m,setPageSize:T,onPreviousPageClick:w,isPreviousPageDisabled:R,onNextPageClick:O,isNextPageDisabled:b,startRange:E,endRange:Z,pageIndex:F,setTotalPages:P}=(0,x.oi)(),{isFetching:k,isLoading:M,data:V}=(0,j.z8)({diff_status:a,child_diff_status:t,page:F,size:m,search:o}),{items:z,total:U,pages:G}=(0,r.useMemo)(()=>null!=V?V:p,[V]);(0,r.useEffect)(()=>{P(G)},[G,P]);let W=(0,r.useMemo)(()=>[D.accessor(e=>e.name,{id:"name",cell:e=>(0,n.jsx)(C.Z,{result:e.row.original}),header:e=>(0,n.jsx)(x.Rr,{value:"Name",...e})}),D.accessor(e=>e.urn,{id:"project",cell:e=>(0,n.jsx)(x.G3,{value:(0,_.Z)(e.getValue())}),header:e=>(0,n.jsx)(x.Rr,{value:"Project",...e})}),D.display({id:"status",cell:e=>(0,n.jsx)(A.Z,{result:e.row.original}),header:e=>(0,n.jsx)(x.Rr,{value:"Status",...e})}),D.accessor(e=>e.system,{id:"system",cell:e=>(0,n.jsx)(x.G3,{value:e.getValue()}),header:e=>(0,n.jsx)(x.Rr,{value:"System",...e})}),D.accessor(e=>e.monitor_config_id,{id:"monitor",cell:e=>(0,n.jsx)(x.G3,{value:e.getValue()}),header:e=>(0,n.jsx)(x.Rr,{value:"Detected by",...e})}),D.accessor(e=>e.updated_at,{id:"time",cell:e=>(0,n.jsx)(I.Cy,{time:e.getValue()}),header:e=>(0,n.jsx)(x.Rr,{value:"When",...e})}),D.accessor(e=>e,{id:"action",cell:e=>S(e.getValue())===i.DATASET?(0,n.jsx)(v.Z,{resource:e.getValue()}):(0,n.jsx)(N.Z,{resource:e.getValue()}),header:e=>(0,n.jsx)(x.Rr,{value:"Action",...e})})],[]),q=(0,u.b7)({getCoreRowModel:(0,d.sC)(),getGroupedRowModel:(0,d.qe)(),getExpandedRowModel:(0,d.rV)(),getRowId:f.Z,columns:W,manualPagination:!0,data:z,columnResizeMode:"onChange"});return M?(0,n.jsx)(x.I4,{rowHeight:36,numRows:36}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(x.Q$,{children:(0,n.jsxs)(g.kCb,{gap:6,align:"center",children:[(0,n.jsx)(g.xuv,{flexShrink:0,children:(0,n.jsx)(L.M,{value:o,onChange:l})}),(0,n.jsx)(h.Z,{})]})}),(0,n.jsx)(x.ZK,{tableInstance:q,onRowClick:s,emptyTableNotice:(0,n.jsx)(y,{})}),(0,n.jsx)(x.s8,{totalRows:U||0,pageSizes:c,setPageSize:T,onPreviousPageClick:w,isPreviousPageDisabled:R||k,onNextPageClick:O,isNextPageDisabled:b||k,startRange:E,endRange:Z})]})},R=a(28120),O=()=>{let{navigateToDetectionResults:e,navigateToDiscoveryResults:s}=(0,c.Z)();return(0,n.jsxs)(o.Z,{title:"Data discovery",children:[(0,n.jsx)(l.Z,{heading:"All activity"}),(0,n.jsx)(w,{onRowClick:a=>{if(S(a)===i.DATASET){e({resourceUrn:a.urn});return}s({resourceUrn:a.urn})},statusFilters:[R.LL.ADDITION,R.LL.REMOVAL,R.LL.CLASSIFICATION_ADDITION,R.LL.CLASSIFICATION_UPDATE],childsStatusFilters:[R.LL.ADDITION,R.LL.REMOVAL,R.LL.CLASSIFICATION_ADDITION,R.LL.CLASSIFICATION_UPDATE]})]})}}},function(e){e.O(0,[8033,6060,4481,9999,6315,2888,9774,179],function(){return e(e.s=45550)}),_N_E=e.O()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1850],{96539:function(e,t,n){var i=n(77400).Symbol;e.exports=i},99736:function(e,t,n){var i=n(96539),r=n(34840),s=n(21258),o=i?i.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?r(e):s(e)}},75733:function(e){e.exports=function(e,t,n){var i=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(n=n>r?r:n)<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var s=Array(r);++i<r;)s[i]=e[i+t];return s}},74833:function(e,t,n){var i=n(56127),r=/^\s+/;e.exports=function(e){return e?e.slice(0,i(e)+1).replace(r,""):e}},39120:function(e,t,n){var i="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=i},34840:function(e,t,n){var i=n(96539),r=Object.prototype,s=r.hasOwnProperty,o=r.toString,a=i?i.toStringTag:void 0;e.exports=function(e){var t=s.call(e,a),n=e[a];try{e[a]=void 0;var i=!0}catch(e){}var r=o.call(e);return i&&(t?e[a]=n:delete e[a]),r}},42383:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var i=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==i||"symbol"!=i&&t.test(e))&&e>-1&&e%1==0&&e<n}},57535:function(e,t,n){var i=n(85638),r=n(80068),s=n(42383),o=n(11611);e.exports=function(e,t,n){if(!o(n))return!1;var a=typeof t;return("number"==a?!!(r(n)&&s(t,n.length)):"string"==a&&t in n)&&i(n[t],e)}},21258:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},77400:function(e,t,n){var i=n(39120),r="object"==typeof self&&self&&self.Object===Object&&self,s=i||r||Function("return this")();e.exports=s},56127:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},92875:function(e,t,n){var i=n(75733),r=n(57535),s=n(47991),o=Math.ceil,a=Math.max;e.exports=function(e,t,n){t=(n?r(e,t,n):void 0===t)?1:a(s(t),0);var l=null==e?0:e.length;if(!l||t<1)return[];for(var c=0,d=0,u=Array(o(l/t));c<l;)u[d++]=i(e,c,c+=t);return u}},85638:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},80068:function(e,t,n){var i=n(28338),r=n(84194);e.exports=function(e){return null!=e&&r(e.length)&&!i(e)}},28338:function(e,t,n){var i=n(99736),r=n(11611);e.exports=function(e){if(!r(e))return!1;var t=i(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},84194:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},11611:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},92360:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},55193:function(e,t,n){var i=n(99736),r=n(92360);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==i(e)}},94919:function(e,t,n){var i=n(91936),r=1/0;e.exports=function(e){return e?(e=i(e))===r||e===-r?(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}},91936:function(e,t,n){var i=n(74833),r=n(11611),s=n(55193),o=0/0,a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,d=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(s(e))return o;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=i(e);var n=l.test(e);return n||c.test(e)?d(e.slice(2),n?2:8):a.test(e)?o:+e}},98720:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/datastore-connection",function(){return n(22285)}])},77867:function(e,t,n){"use strict";var i=n(24246),r=n(77181);t.Z=e=>{let{connected:t,...n}=e,s="red.500";return null==t?s="gray.300":t&&(s="green.500"),(0,i.jsx)(r.xuv,{width:"12px",height:"12px",borderRadius:"6px",backgroundColor:s,...n})}},77213:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var i=n(24246),r=n(77181),s=n(88038),o=n.n(s),a=n(86677);n(27378);var l=n(25980),c=n(90867),d=n(77830),u=()=>{let e=(0,a.useRouter)();return(0,i.jsx)(r.xuv,{bg:"gray.50",border:"1px solid",borderColor:"blue.400",borderRadius:"md",justifyContent:"space-between",p:5,mb:5,mt:5,children:(0,i.jsxs)(r.xuv,{children:[(0,i.jsxs)(r.Kqy,{direction:{base:"column",sm:"row"},justifyContent:"space-between",children:[(0,i.jsx)(r.xvT,{fontWeight:"semibold",children:"Configure your storage and messaging provider"}),(0,i.jsx)(r.wpx,{onClick:()=>{e.push(d.fz)},children:"Configure"})]}),(0,i.jsxs)(r.xvT,{children:["Before Fides can process your privacy requests we need two simple steps to configure your storage and email client."," "]})]})})},x=e=>{let{children:t,title:n,padded:s=!0,mainProps:d}=e,x=(0,l.hz)(),p=(0,a.useRouter)(),h="/privacy-requests"===p.pathname||"/datastore-connection"===p.pathname,f=!(x.flags.privacyRequestsConfiguration&&h),{data:m}=(0,c.JE)(void 0,{skip:f}),{data:g}=(0,c.PW)(void 0,{skip:f}),j=x.flags.privacyRequestsConfiguration&&(!m||!g)&&h;return(0,i.jsxs)(r.kCb,{"data-testid":n,direction:"column",h:"100vh",children:[(0,i.jsxs)(o(),{children:[(0,i.jsxs)("title",{children:["Fides Admin UI - ",n]}),(0,i.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,i.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,i.jsxs)(r.kCb,{as:"main",direction:"column",py:s?6:0,px:s?10:0,h:s?"calc(100% - 48px)":"full",flex:1,minWidth:0,overflow:"auto",...d,children:[j?(0,i.jsx)(u,{}):null,t]})]})}},58754:function(e,t,n){"use strict";var i=n(24246),r=n(77181),s=n(70788);t.Z=e=>{let{heading:t,breadcrumbItems:n,isSticky:o=!0,children:a,rightContent:l,style:c,...d}=e;return(0,i.jsxs)("div",{...d,style:o?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...c}:{paddingBottom:"24px",...c},children:[(0,i.jsxs)(r.jqI,{justify:"space-between",children:["string"==typeof t?(0,i.jsx)(r.X6q,{className:n||a?"pb-4":void 0,fontSize:"2xl","data-testid":"page-heading",children:t}):t,l&&(0,i.jsx)("div",{"data-testid":"page-header-right-content",children:l})]}),!!n&&(0,i.jsx)(s.m,{className:a?"pb-4":void 0,items:n,"data-testid":"page-breadcrumb"}),a]})}},96718:function(e,t,n){"use strict";n.d(t,{z:function(){return s}});var i=n(24246),r=n(77181);let s=e=>{let{...t}=e,n="multiple"===t.mode;return(0,i.jsx)(r.WPr,{defaultActiveFirstOption:!1,maxTagCount:"responsive",allowClear:!0,dropdownStyle:n?void 0:{width:"auto",minWidth:"200px"},className:"w-auto","data-testid":"filter-select",...t})}},70788:function(e,t,n){"use strict";n.d(t,{m:function(){return c}});var i=n(24246),r=n(77181),s=n(79894),o=n.n(s),a=n(27378);let{Text:l}=r.AntTypography,c=e=>{let{items:t,...n}=e,s=(0,a.useMemo)(()=>null==t?void 0:t.map((e,n)=>{let s=n===t.length-1,a={...e},c=a.onClick&&!a.href;return("string"==typeof a.title&&(a.title=(0,i.jsx)(l,{style:{color:"inherit",maxWidth:s?void 0:400},ellipsis:!s,children:a.title})),c)?a.title=(0,i.jsx)(r.wpx,{type:"text",size:"small",icon:a.icon,onClick:a.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:a.title}):(a.icon&&(a.title=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:"anticon align-text-bottom",children:a.icon}),a.title]})),a.href&&a.title&&(a.title=(0,i.jsx)(o(),{href:a.href,className:"ant-breadcrumb-link",children:a.title}),delete a.href)),a}),[t]);return(0,i.jsx)(r.zrq,{items:s,...n})}},41337:function(e,t,n){"use strict";var i=n(24246),r=n(77181);n(27378);var s=n(28120),o=n(14746);let a=e=>void 0!==e.connection_type,l=e=>void 0!==e.encoded_icon;t.Z=e=>{let{data:t,...n}=e;return(0,i.jsx)(r.Eep,{boxSize:"32px",objectFit:"cover",src:(()=>{let e;if(l(t)&&t.encoded_icon)return"data:image/svg+xml;base64,".concat(t.encoded_icon);if(a(t))e=[...o.iW].find(e=>{var n,i;let[r]=e;return t.connection_type.toString()!==s.Rj.SAAS&&t.connection_type.toString()===r||t.connection_type.toString()===s.Rj.SAAS&&(null===(i=t.saas_config)||void 0===i?void 0:null===(n=i.type)||void 0===n?void 0:n.toString())===r.toString()});else if(l(t)){let{identifier:n}=t;e=[...o.iW].find(e=>{let[t]=e;return t.toLowerCase()===n.toLowerCase()})}return e?o.Ny+e[1]:o.VD})(),fallbackSrc:o.VD,alt:(()=>{if(a(t)){var e;return null!==(e=t.name)&&void 0!==e?e:t.key}return l(t)?t.human_readable:t})(),...n})}},1226:function(e,t,n){"use strict";var i=n(24246);n(27378);var r=n(77213);t.Z=e=>{let{children:t}=e;return(0,i.jsx)(r.Z,{title:"Connections",children:t})}},15872:function(e,t,n){"use strict";var i=n(24246),r=n(77181),s=n(86677);n(27378);var o=n(77830),a=n(14207);t.Z=e=>{let{connection_key:t,showMenu:n}=e,{isOpen:l,onOpen:c,onClose:d}=(0,r.qY0)(),[u,x]=(0,a.R5)(),p=(0,s.useRouter)(),h=()=>{x.isLoading||d()};return(0,i.jsxs)(i.Fragment,{children:[n&&(0,i.jsx)(r.sNh,{_focus:{color:"complimentary.500",bg:"gray.100"},onClick:c,children:(0,i.jsx)(r.xvT,{fontSize:"sm",children:"Delete"})}),!n&&(0,i.jsx)(r.wpx,{onClick:c,children:"Delete integration"}),(0,i.jsxs)(r.u_l,{isCentered:!0,isOpen:l,onClose:h,children:[(0,i.jsx)(r.ZAr,{}),(0,i.jsxs)(r.hzk,{children:[(0,i.jsx)(r.xBx,{children:"Delete integration"}),(0,i.jsx)(r.olH,{}),(0,i.jsx)(r.fef,{pb:6,children:(0,i.jsx)(r.Kqy,{direction:"column",spacing:"15px",children:(0,i.jsx)(r.xvT,{color:"gray.600",fontSize:"sm",fontWeight:"sm",lineHeight:"20px",children:"Deleting an integration may impact any privacy request that is currently in progress. Do you wish to proceed?"})})}),(0,i.jsxs)(r.mzw,{className:"flex gap-4",children:[(0,i.jsx)(r.wpx,{onClick:h,className:"w-1/2",children:"Cancel"}),(0,i.jsx)(r.wpx,{onClick:()=>{t&&(u(t),n||p.push(o.KH))},loading:x.isLoading,type:"primary",className:"w-1/2",children:"Delete integration"})]})]})]})]})}},73183:function(e,t,n){"use strict";var i=n(24246),r=n(77181);n(27378);var s=n(14207);t.Z=e=>{let{connection_key:t,disabled:n,name:o,access_type:a,connection_type:l,isSwitch:c}=e,{isOpen:d,onOpen:u,onClose:x}=(0,r.qY0)(),[p,h]=(0,s.XX)(),f=async()=>{await p({key:t,name:o,disabled:!n,access:a,connection_type:l}),x()},m=()=>{h.isLoading||x()};return(0,i.jsxs)(i.Fragment,{children:[c?(0,i.jsxs)(r.kCb,{justifyContent:"space-between",alignItems:"center",children:[(0,i.jsx)(r.xvT,{fontSize:"sm",children:"Enable integration"}),(0,i.jsx)(r.rAg,{className:"ml-2",checked:!n,onChange:()=>u()})]}):(0,i.jsx)(r.sNh,{_focus:{color:"complimentary.500",bg:"gray.100"},onClick:u,children:(0,i.jsx)(r.xvT,{fontSize:"sm",children:n?"Enable":"Disable"})}),(0,i.jsxs)(r.u_l,{isCentered:!0,isOpen:d,onClose:m,children:[(0,i.jsx)(r.ZAr,{}),(0,i.jsxs)(r.hzk,{children:[(0,i.jsxs)(r.xBx,{children:[n?"Enable":"Disable"," Connection"]}),(0,i.jsx)(r.olH,{}),(0,i.jsx)(r.fef,{pb:6,children:(0,i.jsx)(r.Kqy,{direction:"column",spacing:"15px",children:(0,i.jsxs)(r.xvT,{color:"gray.600",fontSize:"sm",fontWeight:"sm",lineHeight:"20px",children:[n?"Enabling":"Disabling"," a connection may impact any privacy request that is currently in progress. Do you wish to proceed?"]})})}),(0,i.jsxs)(r.mzw,{className:"flex gap-4",children:[(0,i.jsx)(r.wpx,{onClick:m,className:"w-1/2",children:"Cancel"}),(0,i.jsxs)(r.wpx,{onClick:f,loading:h.isLoading,className:"w-1/2",children:[n?"Enable":"Disable"," Connection"]})]})]})]})]})}},8627:function(e,t,n){"use strict";n.d(t,{s:function(){return a}});var i=n(24246),r=n(77181),s=n(77867),o=n(16394);let a=e=>{let{succeeded:t,timestamp:n}=e,a=n?(0,o.p6)(n):"";return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.Z,{connected:t}),(0,i.jsx)(r.xvT,{color:"gray.500",fontSize:"xs",fontWeight:"semibold",lineHeight:"16px",ml:"10px",children:n?"Last tested on ".concat(a):"This connection has not been tested yet"})]})}},22285:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return V}});var i=n(24246),r=n(16394),s=n(77181),o=n(27378),a=n(16134),l=n(20682),c=n(16125),d=n(14207),u=n(96718),x=()=>{let{connectionOptions:e}=(0,a.C)(l.ZZ),{connection_type:t}=(0,a.C)(d.dR),n=(0,o.useCallback)(()=>{let n=new Map;return e.forEach(e=>{let i=!1;(null==t?void 0:t.includes(e.identifier))&&(i=!0),n.set(e.human_readable,i)}),n},[e,t]),r=[...(0,o.useMemo)(()=>n(),[n])].map(e=>{let[t]=e;return{value:t,label:t}}),s=(0,a.T)();return(0,i.jsx)(u.z,{mode:"multiple",placeholder:"Connection Type",options:r,onChange:t=>{let n=e.filter(e=>t.includes(e.human_readable));s((0,d.Iw)(n.map(e=>e.identifier)))},defaultValue:(null==t?void 0:t.length)?t:[],className:"w-60","data-testid":"connection-type-filter"})},p=n(14746),h=()=>{let{disabled_status:e}=(0,c.v9)(d.dR),t=()=>{let e=new Map;return Object.values(p.QI).sort().forEach(t=>{e.set((0,r.kC)(t),{value:t})}),e},n=[...(0,o.useMemo)(()=>t(),[])].map(e=>{let[t,n]=e;return{value:n.value,label:t}}),s=(0,c.I0)();return(0,i.jsx)(u.z,{placeholder:"Status",options:n,onChange:e=>{s((0,d.Ru)(e||""))},defaultValue:(null==e?void 0:e.toString())||void 0,"data-testid":"disabled-status-filter"})},f=n(26788),m=()=>{let{system_type:e}=(0,c.v9)(d.dR),t=new Map(f.yI);t.delete("Show all");let n=[...t].map(e=>{let[t,n]=e;return{value:n.value,label:t}}),r=(0,a.T)();return(0,i.jsx)(u.z,{placeholder:"System Type",options:n,onChange:e=>{r((0,d.zq)(e||""))},defaultValue:(null==e?void 0:e.toString())||void 0,"data-testid":"system-type-filter"})},g=()=>{let{test_status:e}=(0,c.v9)(d.dR),t=()=>{let e=new Map;return Object.values(p.i0).sort().forEach(t=>{e.set((0,r.kC)(t),{value:t})}),e},n=[...(0,o.useMemo)(()=>t(),[])].map(e=>{let[t,n]=e;return{value:n.value,label:t}}),s=(0,c.I0)();return(0,i.jsx)(u.z,{placeholder:"Testing Status",options:n,onChange:e=>{s((0,d.Ri)(e||""))},defaultValue:(null==e?void 0:e.toString())||void 0,"data-testid":"testing-status-filter"})};let j=()=>{let e=(0,c.v9)(d.dR),t=(0,c.I0)();return{handleSearchChange:e=>t((0,d.qP)(e.target.value)),...e}};var v=()=>{let{handleSearchChange:e,search:t}=j();return(0,i.jsxs)(s.kCb,{minWidth:"fit-content",alignItems:"center",gap:"4",mb:6,flexWrap:"wrap",children:[(0,i.jsxs)(s.BZy,{size:"sm",minWidth:"308px",children:[(0,i.jsx)(s.Z8_,{pointerEvents:"none",children:(0,i.jsx)(s.PTu,{color:"gray.300",w:"17px",h:"17px"})}),(0,i.jsx)(s.IIB,{autoComplete:"off",autoFocus:!0,type:"search",minWidth:200,placeholder:"Search connection name or description",size:"sm",borderRadius:"md",value:t,name:"search",onChange:e})]}),(0,i.jsx)(x,{}),(0,i.jsx)(m,{}),(0,i.jsx)(g,{}),(0,i.jsx)(h,{})]})},y=e=>{let{page:t,size:n,total:r,handleNextPage:o,handlePreviousPage:a}=e,l=(t-1)*n+1,c=Math.min(r,t*n);return(0,i.jsxs)(s.kCb,{justifyContent:"space-between",mt:6,children:[(0,i.jsx)(s.xvT,{fontSize:"xs",color:"gray.600",children:r>0?(0,i.jsxs)(i.Fragment,{children:["Showing ",Number.isNaN(l)?0:l," to"," ",Number.isNaN(c)?0:c," of"," ",Number.isNaN(r)?0:r," results"]}):"0 results"}),(0,i.jsxs)("div",{children:[(0,i.jsx)(s.wpx,{disabled:t<=1,onClick:a,className:"mr-2",children:"Previous"}),(0,i.jsx)(s.wpx,{disabled:t*n>=r,onClick:o,children:"Next"})]})]})},b=n(92875),C=n.n(b),w=n(40542),_=n.n(w),k=n(79894),S=n.n(k),N=n(77830),z=n(15872),T=n(73183),Z=e=>{let{connection_key:t,disabled:n,connection_type:r,access_type:o,name:a}=e;return(0,i.jsxs)(s.v2r,{children:[(0,i.jsx)(s.j2t,{as:s.zxk,size:"xs",bg:"white","data-testid":"connection-menu-btn",children:(0,i.jsx)(s.nXP,{color:"gray.700",w:18,h:18})}),(0,i.jsx)(s.h_i,{children:(0,i.jsxs)(s.qyq,{fontSize:"sm",shadow:"xl","data-testid":"connection-menu-".concat(a),children:[(0,i.jsx)(s.sNh,{as:S(),href:"".concat(N.JR,"/").concat(encodeURIComponent(t)),_focus:{color:"complimentary.500",bg:"gray.100"},"data-testid":"configure-btn",children:"Configure"}),(0,i.jsx)(T.Z,{connection_key:t,disabled:n,connection_type:r,access_type:o,name:a,isSwitch:!1}),(0,i.jsx)(z.Z,{showMenu:!0,connection_key:t})]})})]})},R=e=>{let{disabled:t}=e;return(0,i.jsx)(s.j8w,{color:t?"marble":"success",className:"mr-1 text-center",children:t?"DISABLED":"ACTIVE"})},I=n(41337),E=n(8627),W=e=>{var t;let{connectionData:n}=e,[c,u]=(0,d.h2)(),{connectionOptions:x}=(0,a.C)(l.ZZ),p=(0,o.useMemo)(()=>x.find(e=>e.identifier===n.connection_type||n.saas_config&&e.identifier===n.saas_config.type)||"ethyca",[n,x]);return(0,i.jsxs)(s.xuv,{width:"100%",height:136,p:"18px 16px 16px 16px","data-testid":"connection-grid-item-".concat(n.name),children:[(0,i.jsxs)(s.kCb,{justifyContent:"center",alignItems:"center",children:[(0,i.jsx)(I.Z,{data:p}),(0,i.jsx)(s.xvT,{color:"gray.900",fontSize:"md",fontWeight:"medium",m:"8px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",children:n.name}),(0,i.jsx)(s.LZC,{}),(0,i.jsx)(R,{disabled:!!n.disabled}),(0,i.jsx)(Z,{connection_key:n.key,disabled:!!n.disabled,name:null!==(t=n.name)&&void 0!==t?t:n.key,connection_type:n.connection_type,access_type:n.access})]}),(0,i.jsx)(s.xvT,{color:"gray.600",fontSize:"sm",fontWeight:"sm",lineHeight:"20px",children:n.description?n.description:(0,i.jsx)("br",{})}),(0,i.jsxs)(s.xvT,{color:"gray.600",fontSize:"sm",fontWeight:"sm",lineHeight:"20px",children:["Edited on ",(0,r.p6)(n.updated_at)]}),(0,i.jsxs)(s.kCb,{mt:"0px",justifyContent:"center",alignItems:"center",children:[(0,i.jsx)(E.s,{succeeded:n.last_test_succeeded,timestamp:n.last_test_timestamp||""}),(0,i.jsx)(s.LZC,{}),(0,i.jsx)(s.wpx,{size:"small",onClick:()=>{c(n.key)},loading:u.isLoading||u.isFetching,children:"Test"})]})]})};let A=()=>{let e=(0,c.I0)(),t=(0,a.C)(d.dR);return{...t,handleNextPage:()=>{e((0,d.YA)(t.page+1))},handlePreviousPage:()=>{e((0,d.YA)(t.page-1))}}};var P=e=>{let{items:t=[],total:n=0}=e,{page:r,size:o,handleNextPage:a,handlePreviousPage:l}=A(),c=C()(t,3);return(0,i.jsxs)(i.Fragment,{children:[c.map((e,t,n)=>{let{length:r}=n;return(0,i.jsx)(s.xuv,{className:_()["grid-row"],borderBottomWidth:r>1&&t===r-1&&3===e.length?"0.5px":void 0,"data-testid":"connection-grid",children:(0,i.jsx)(s.MIq,{columns:3,children:e.map(e=>(0,i.jsx)(s.xuv,{className:_()["grid-item"],children:(0,i.jsx)(W,{connectionData:e})},e.key))})},JSON.stringify(e))}),(0,i.jsx)(y,{page:r,size:o,total:n,handleNextPage:a,handlePreviousPage:l})]})},q=e=>{let{hasFilters:t}=e;return(0,i.jsxs)(s.kCb,{bg:"gray.50",width:"100%",height:"340px",justifyContent:"center",alignItems:"center",flexDirection:"column","data-testid":"connections-empty-state",children:[(0,i.jsx)(s.xvT,{color:"black",fontSize:"x-large",lineHeight:"32px",fontWeight:"600",mb:"7px",children:t?"No connections found":"All of your connections have been linked!"}),(0,i.jsx)(s.xvT,{color:"gray.600",fontSize:"sm",lineHeight:"20px",mb:"11px",children:t?"Modify your search parameters":"You are ready to upgrade Fides"})]})},F=n(25980),O=n(58754),D=n(86677),M=()=>{let e=(0,D.useRouter)();return(0,i.jsx)(s.wpx,{onClick:()=>e.push(f.Ss[1].href),type:"primary",children:"Create new connection"})},L=()=>{let e=(0,F.hz)();return(0,i.jsx)(O.Z,{heading:"Unlinked Connections",rightContent:e.flags.standaloneConnections&&(0,i.jsx)(M,{}),children:(0,i.jsx)(s.xuv,{maxWidth:"450px",children:(0,i.jsxs)(s.xvT,{fontSize:"sm",children:["Connections are now created in the"," ",(0,i.jsx)(s.rUS,{color:"complimentary.500",href:N.xo,children:"system configuration"})," ","section. You can link existing connections to a new or existing system."]})})})},H=()=>{var e;let t=(0,o.useRef)(!1),n=(0,a.T)(),{connectionOptions:c}=(0,a.C)(l.ZZ),u=(0,a.C)(d.dR),[x,p]=(0,o.useState)(u),h=(0,o.useRef)((0,r.Ds)(e=>p(e),250)),{data:f}=(0,l.$I)({search:""},{skip:c.length>0}),{data:m,isFetching:g,isLoading:j,isSuccess:y}=(0,d.AZ)(x),b=(null==m?void 0:null===(e=m.items)||void 0===e?void 0:e.length)>0,C=!!u.search||!!u.connection_type||!!u.system_type||!!u.disabled_status||!!u.test_status;return(0,o.useEffect)(()=>{n((0,d.um)(!0))},[n]),(0,o.useEffect)(()=>(t.current=!0,0===c.length&&(null==f?void 0:f.items)&&n((0,l.fP)(f.items)),h.current(u),()=>{t.current=!1}),[c.length,null==f?void 0:f.items,n,u]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(L,{}),t.current&&(0,i.jsx)(v,{}),(g||j)&&(0,i.jsx)(s.M5Y,{children:(0,i.jsx)(s.$jN,{})}),t.current&&y&&(b?(0,i.jsx)(P,{items:null==m?void 0:m.items,total:null==m?void 0:m.total}):(0,i.jsx)(q,{hasFilters:C}))]})},B=n(1226),V=()=>(0,i.jsx)(B.Z,{children:(0,i.jsx)(H,{})})},40542:function(e){e.exports={"grid-row":"ConnectionGrid_grid-row__Cv_Zf","grid-item":"ConnectionGrid_grid-item__xP7eK"}}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=98720)}),_N_E=e.O()}]);
@@ -1 +0,0 @@
1
- self.__BUILD_MANIFEST=function(s,e,a,t,c,n,i,d,o,r,u,g,p,f,j,b,k,h,m,y,l,v,I,U,_,w,q,x,N,B,F,z,A,D,E,L,M,S,T,C,P,G,H,J,K,O,Q){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[w,"static/chunks/pages/index-b70def65e264270e.js"],"/404":["static/chunks/pages/404-b202c0d8f6fc75c3.js"],"/_error":["static/chunks/pages/_error-bede3a8288930dcf.js"],"/add-systems":[w,"static/chunks/pages/add-systems-fac606150b65d494.js"],"/add-systems/manual":[s,e,t,c,n,b,a,o,g,k,m,q,i,"static/chunks/pages/add-systems/manual-9acaab973dfe86e2.js"],"/add-systems/multiple":[s,e,a,g,y,x,"static/chunks/pages/add-systems/multiple-ba975134a85588f8.js"],"/ant-poc":["static/chunks/pages/ant-poc-b9932971a479f3a7.js"],"/consent":["static/chunks/pages/consent-39d65f13cc8f1cf8.js"],"/consent/configure":[s,e,a,g,y,"static/chunks/pages/consent/configure-a4e636eecaba5324.js"],"/consent/configure/add-vendors":[s,e,a,g,y,x,"static/chunks/pages/consent/configure/add-vendors-b34e5324461d0c87.js"],"/consent/privacy-experience":[s,e,b,a,N,"static/chunks/pages/consent/privacy-experience-d6909fbd52309a89.js"],"/consent/privacy-experience/new":[t,c,p,B,d,h,F,"static/chunks/pages/consent/privacy-experience/new-a9d9402c219d13e5.js"],"/consent/privacy-experience/[id]":[t,c,p,B,d,h,F,"static/chunks/pages/consent/privacy-experience/[id]-fb75fa0aea77678d.js"],"/consent/privacy-notices":[s,e,a,N,"static/chunks/pages/consent/privacy-notices-e7acf6d9d30b1fd9.js"],"/consent/privacy-notices/new":[t,c,p,z,d,h,A,"static/chunks/pages/consent/privacy-notices/new-9611dd42856d6062.js"],"/consent/privacy-notices/[id]":[t,c,p,z,d,h,A,"static/chunks/pages/consent/privacy-notices/[id]-72251b48e2e03a1e.js"],"/consent/properties":[s,e,a,D,"static/chunks/pages/consent/properties-e5748812ba055a56.js"],"/consent/reporting":[s,e,t,a,"static/chunks/pages/consent/reporting-100234c23a85d235.js"],"/data-catalog":[s,e,t,c,n,a,"static/css/95ac327e5d70148d.css","static/chunks/pages/data-catalog-fffd4942be7760dd.js"],"/data-catalog/[systemId]/projects":[s,e,t,c,n,a,f,l,i,"static/chunks/pages/data-catalog/[systemId]/projects-c44ce244122e96d5.js"],"/data-catalog/[systemId]/projects/[projectUrn]":[s,e,a,E,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]-a29850536c85d4b8.js"],"/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]":[s,e,t,c,n,a,f,l,L,i,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]-ac033a16f043e6f9.js"],"/data-catalog/[systemId]/resources":[s,e,a,E,"static/chunks/pages/data-catalog/[systemId]/resources-305555b74c357bf2.js"],"/data-catalog/[systemId]/resources/[resourceUrn]":[s,e,t,c,n,a,f,l,L,i,"static/chunks/pages/data-catalog/[systemId]/resources/[resourceUrn]-71e26d262afcaea5.js"],"/data-discovery/action-center":[s,e,a,"static/chunks/pages/data-discovery/action-center-d001337d1bb73bd1.js"],"/data-discovery/action-center/[monitorId]":[s,e,t,c,n,a,r,"static/chunks/pages/data-discovery/action-center/[monitorId]-5f9ef1f99818117c.js"],"/data-discovery/action-center/[monitorId]/[systemId]":[s,e,t,c,n,a,m,i,"static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-df8512ccd0ea9829.js"],"/data-discovery/activity":[s,e,a,r,v,"static/chunks/pages/data-discovery/activity-8aeded3289d61405.js"],"/data-discovery/detection":[s,e,a,r,v,M,"static/chunks/pages/data-discovery/detection-b75dd3e4306ac18e.js"],"/data-discovery/detection/[resourceUrn]":[s,e,a,r,v,M,"static/chunks/pages/data-discovery/detection/[resourceUrn]-054ca46a782e99a5.js"],"/data-discovery/discovery":[s,e,t,c,n,a,r,f,S,i,"static/chunks/pages/data-discovery/discovery-cad50b0cc6d1050c.js"],"/data-discovery/discovery/[resourceUrn]":[s,e,t,c,n,a,r,f,S,i,"static/chunks/pages/data-discovery/discovery/[resourceUrn]-1da20aeb6fc995e4.js"],"/datamap":[s,e,"static/chunks/255-7db55b0e3a0f9dea.js",a,o,k,T,"static/chunks/pages/datamap-8cb714cdd44ac40e.js"],"/dataset":[s,e,u,a,j,"static/chunks/pages/dataset-29317d18ce34adfe.js"],"/dataset/new":[u,j,"static/chunks/pages/dataset/new-4d4a31d0186a4a5b.js"],"/dataset/[datasetId]":[s,e,"static/chunks/9729-fcf6ff4e3534e4a8.js",a,I,"static/chunks/pages/dataset/[datasetId]-6ba18f92ba561114.js"],"/dataset/[datasetId]/[collectionName]":[s,e,t,c,n,U,a,I,i,"static/chunks/pages/dataset/[datasetId]/[collectionName]-7e5df4a0de7540bb.js"],"/dataset/[datasetId]/[collectionName]/[...subfieldNames]":[s,e,t,c,n,U,a,I,i,"static/chunks/pages/dataset/[datasetId]/[collectionName]/[...subfieldNames]-d79551d4c64c398c.js"],"/datastore-connection":["static/css/5f393dea1c0d031c.css","static/chunks/pages/datastore-connection-60a01ede4d8b56fd.js"],"/datastore-connection/new":[u,b,j,C,"static/chunks/pages/datastore-connection/new-4e0057c72fac3a9e.js"],"/datastore-connection/[id]":[u,j,C,"static/chunks/pages/datastore-connection/[id]-14c57e5069e9cccd.js"],"/fides-js-docs":["static/chunks/2fbcc6de-a6c61724c327e9fa.js","static/chunks/e3251fe7-5777b5d778e6fffa.js",t,c,n,u,U,P,"static/css/ab65b8cc3144bfc8.css","static/chunks/905-8ab919e7b274ed50.js","static/chunks/pages/fides-js-docs-80b241bf6cddb72e.js"],"/integrations":[t,c,n,"static/chunks/6834-dcda0a8ed484775e.js",G,"static/chunks/pages/integrations-ef8000d7388dc915.js"],"/integrations/[id]":[s,e,t,c,n,"static/chunks/9255-336a890ada321f89.js",a,G,"static/chunks/pages/integrations/[id]-528c98747299d138.js"],"/login":["static/chunks/pages/login-0cb0eb44bf2dd24c.js"],"/login/[provider]":["static/chunks/pages/login/[provider]-c58beef131c3a82d.js"],"/messaging":[s,e,t,c,n,a,"static/chunks/pages/messaging-1e60754abec1ee6b.js"],"/messaging/add-template":[d,H,"static/chunks/pages/messaging/add-template-f9693cb6a0b7ded8.js"],"/messaging/[id]":[d,H,"static/chunks/pages/messaging/[id]-ad02e019b2467958.js"],"/privacy-requests":[s,e,a,J,"static/chunks/pages/privacy-requests-dea4dd41db4d382b.js"],"/privacy-requests/configure":["static/chunks/pages/privacy-requests/configure-2987edc77388e85a.js"],"/privacy-requests/configure/messaging":["static/chunks/pages/privacy-requests/configure/messaging-5e2687ab5ab10275.js"],"/privacy-requests/configure/storage":["static/chunks/pages/privacy-requests/configure/storage-2914aade73dcaecc.js"],"/privacy-requests/[id]":[J,"static/css/15fb7d4837a1de34.css","static/chunks/pages/privacy-requests/[id]-1bdec4c3e51f5199.js"],"/properties":[s,e,a,D,"static/chunks/pages/properties-20ca2f963906674b.js"],"/properties/add-property":[d,K,"static/chunks/pages/properties/add-property-630a6a3dd6502ba6.js"],"/properties/[id]":[d,K,"static/chunks/pages/properties/[id]-94e2faa73dd6a3e6.js"],"/reporting/datamap":[s,e,t,c,n,P,a,o,k,T,"static/chunks/pages/reporting/datamap-0da40a92590792af.js"],"/settings/about":["static/chunks/pages/settings/about-a49d0f84cf0cf05e.js"],"/settings/consent":["static/chunks/pages/settings/consent-3ac1e5d3de5dd4a7.js"],"/settings/custom-fields":[s,e,a,o,"static/chunks/pages/settings/custom-fields-dfcd7a4b6aa773bd.js"],"/settings/domain-records":[s,e,a,"static/chunks/pages/settings/domain-records-72ec54ee8755a503.js"],"/settings/domains":["static/chunks/pages/settings/domains-24cba38685dc872c.js"],"/settings/email-templates":["static/chunks/pages/settings/email-templates-6fd6071e2009b8f2.js"],"/settings/locations":[s,O,"static/chunks/pages/settings/locations-66c757325cb58467.js"],"/settings/organization":["static/chunks/pages/settings/organization-0e0aa552f520f913.js"],"/settings/regulations":[s,O,"static/chunks/pages/settings/regulations-c6c239996cfa6ae8.js"],"/systems":[s,e,a,"static/chunks/pages/systems-8490aaaee9d76a4a.js"],"/systems/configure/[id]":[s,e,t,c,n,b,a,o,g,k,m,q,i,"static/chunks/pages/systems/configure/[id]-8aae66669bdc0883.js"],"/systems/configure/[id]/test-datasets":[u,j,"static/chunks/pages/systems/configure/[id]/test-datasets-1d83d5178b3eb216.js"],"/taxonomy":["static/chunks/678d4732-50255cc09048e643.js",t,c,n,p,"static/chunks/570-c99f07161bd339cd.js",o,"static/css/34a7eb08b86ddb57.css","static/chunks/pages/taxonomy-be1ffe267b1602e1.js"],"/user-management":[_,"static/chunks/pages/user-management-3ca3c687e72d1364.js"],"/user-management/new":[_,Q,"static/chunks/pages/user-management/new-be690621a944bfe2.js"],"/user-management/profile/[id]":[_,Q,"static/chunks/pages/user-management/profile/[id]-c0378fd1a26a71da.js"],sortedPages:["/","/404","/_app","/_error","/add-systems","/add-systems/manual","/add-systems/multiple","/ant-poc","/consent","/consent/configure","/consent/configure/add-vendors","/consent/privacy-experience","/consent/privacy-experience/new","/consent/privacy-experience/[id]","/consent/privacy-notices","/consent/privacy-notices/new","/consent/privacy-notices/[id]","/consent/properties","/consent/reporting","/data-catalog","/data-catalog/[systemId]/projects","/data-catalog/[systemId]/projects/[projectUrn]","/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]","/data-catalog/[systemId]/resources","/data-catalog/[systemId]/resources/[resourceUrn]","/data-discovery/action-center","/data-discovery/action-center/[monitorId]","/data-discovery/action-center/[monitorId]/[systemId]","/data-discovery/activity","/data-discovery/detection","/data-discovery/detection/[resourceUrn]","/data-discovery/discovery","/data-discovery/discovery/[resourceUrn]","/datamap","/dataset","/dataset/new","/dataset/[datasetId]","/dataset/[datasetId]/[collectionName]","/dataset/[datasetId]/[collectionName]/[...subfieldNames]","/datastore-connection","/datastore-connection/new","/datastore-connection/[id]","/fides-js-docs","/integrations","/integrations/[id]","/login","/login/[provider]","/messaging","/messaging/add-template","/messaging/[id]","/privacy-requests","/privacy-requests/configure","/privacy-requests/configure/messaging","/privacy-requests/configure/storage","/privacy-requests/[id]","/properties","/properties/add-property","/properties/[id]","/reporting/datamap","/settings/about","/settings/consent","/settings/custom-fields","/settings/domain-records","/settings/domains","/settings/email-templates","/settings/locations","/settings/organization","/settings/regulations","/systems","/systems/configure/[id]","/systems/configure/[id]/test-datasets","/taxonomy","/user-management","/user-management/new","/user-management/profile/[id]"]}}("static/chunks/c78d26b1-88a3e1bacb2a03c2.js","static/chunks/6060-cb1ab5be7067bf7b.js","static/chunks/4481-aab99ff80f707473.js","static/chunks/2858-0b44609b6be7850b.js","static/chunks/2866-a73888c17a195cbe.js","static/chunks/9278-9b1b5970f0702668.js","static/css/d2d4e9a6923e6730.css","static/chunks/9282-2bfbdca45e84e810.js","static/chunks/7980-72f745bff9fabcc9.js","static/chunks/9999-637e0e5341f15f4a.js","static/chunks/6527-0eed08abe252a918.js","static/chunks/355-8a77c9a1cd027f2e.js","static/chunks/4294-5b3aa9d605217915.js","static/chunks/6372-e0bb9f8d07cc3b04.js","static/chunks/9327-2cba327d10586683.js","static/chunks/5277-e8a036319456127f.js","static/chunks/8499-43606100edf42fdf.js","static/chunks/1376-98cbf3789b9145c3.js","static/chunks/7453-ef1887105c062d37.js","static/chunks/4723-1dd1d16f404d56a2.js","static/chunks/7751-a70fe0e5f67f5538.js","static/chunks/6315-1adb10a8b98b4a13.js","static/chunks/5487-8678d75ee1d1ef09.js","static/chunks/8702-d1c8296f9f6afc10.js","static/chunks/5480-52dc446be40725f5.js","static/css/972dc7eef106ee7c.css","static/chunks/4450-f5e6eb9270f03bf0.js","static/chunks/5826-ef0aa43ffad83acc.js","static/chunks/6853-8700d87c9e1f6940.js","static/chunks/9014-eeae6f581158e645.js","static/chunks/3412-da7ad82093c5b879.js","static/chunks/3615-5e2d062d684b8fa1.js","static/chunks/6954-85a998d74391caaf.js","static/chunks/79-8e060d36d36c752c.js","static/chunks/3872-472bb47eb34d8fdb.js","static/chunks/3855-63495367531cb776.js","static/chunks/2397-0d1c289b788fcc11.js","static/chunks/9046-742ad2bb5108d4c5.js","static/chunks/5258-cf7b27ef51f38392.js","static/chunks/9767-06d9d54a452ec9f4.js","static/chunks/9187-851756440f79cd75.js","static/chunks/5973-88141f9b92f20e0a.js","static/chunks/1100-053fc6b76c65a00f.js","static/chunks/8433-b3008ecaf9834e7f.js","static/chunks/4060-53a5c6347690a8fa.js","static/chunks/3086-b5054ec2c75700b9.js","static/chunks/1150-2642cd9cdc8a52f6.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();