"use strict";(self.webpackChunkcomplianz_gdpr=self.webpackChunkcomplianz_gdpr||[]).push([[1027,1997],{31997:(e,o,t)=>{t.r(o),t.d(o,{default:()=>i});var n=t(51609),r=t(52164),a=t(89737);const i=({isOpen:e,title:o,onClose:t,children:i})=>(0,n.createElement)(r.A,{className:"cmplz-modal",open:e,onClose:t,sx:{borderRadius:"var(--rsp-border-radius)"}},(0,n.createElement)(a.A,null,o),i)},31027:(e,o,t)=>{t.r(o),t.d(o,{default:()=>y});var n=t(51609),r=t(31997),a=t(98587),i=t(58168),s=t(34164),l=t(64111),c=t(9245),d=t(18291),p=t(27553),u=t(22996);function m(e){return(0,u.Ay)("MuiDialogContent",e)}(0,p.A)("MuiDialogContent",["root","dividers"]);var g=t(61435),A=t(74848);const f=["className","dividers"],v=(0,c.Ay)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.root,t.dividers&&o.dividers]}})((({theme:e,ownerState:o})=>(0,i.A)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},o.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${g.A.root} + &`]:{paddingTop:0}}))),b=n.forwardRef((function(e,o){const t=(0,d.A)({props:e,name:"MuiDialogContent"}),{className:n,dividers:r=!1}=t,c=(0,a.A)(t,f),p=(0,i.A)({},t,{dividers:r}),u=(e=>{const{classes:o,dividers:t}=e,n={root:["root",t&&"dividers"]};return(0,l.A)(n,m,o)})(p);return(0,A.jsx)(v,(0,i.A)({className:(0,s.A)(u.root,n),ownerState:p,ref:o},c))}));function C(e){return(0,u.Ay)("MuiDialogActions",e)}(0,p.A)("MuiDialogActions",["root","spacing"]);const x=["className","disableSpacing"],S=(0,c.Ay)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.root,!t.disableSpacing&&o.spacing]}})((({ownerState:e})=>(0,i.A)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}}))),w=n.forwardRef((function(e,o){const t=(0,d.A)({props:e,name:"MuiDialogActions"}),{className:n,disableSpacing:r=!1}=t,c=(0,a.A)(t,x),p=(0,i.A)({},t,{disableSpacing:r}),u=(e=>{const{classes:o,disableSpacing:t}=e,n={root:["root",!t&&"spacing"]};return(0,l.A)(n,C,o)})(p);return(0,A.jsx)(S,(0,i.A)({className:(0,s.A)(u.root,n),ownerState:p,ref:o},c))}));var z=t(27723);const y=({isOpen:e,onCancel:o,onConfirm:t,children:a})=>(0,n.createElement)(r.default,{isOpen:e,title:(0,z.__)("Are you sure?","complianz-gdpr"),onClose:o},(0,n.createElement)(b,null,a),(0,n.createElement)(w,{className:"cmplz-modal-footer"},(0,n.createElement)("button",{className:"cmplz-button cmplz-button--secondary",onClick:o},(0,z.__)("Cancel","complianz-gdpr")),(0,n.createElement)("button",{className:"cmplz-button cmplz-button--error",onClick:t},(0,z.__)("Confirm","complianz-gdpr"))))}}]);