"use strict";(globalThis.webpackChunkcomplianz_gdpr=globalThis.webpackChunkcomplianz_gdpr||[]).push([[7088,2300],{72300:(e,o,t)=>{t.r(o),t.d(o,{default:()=>i});var n=t(51280),r=t(92160),a=t(49774);const i=({isOpen:e,title:o,onClose:t,children:i})=>(0,n.createElement)(r.c,{className:"cmplz-modal",open:e,onClose:t,sx:{borderRadius:"var(--rsp-border-radius)"}},(0,n.createElement)(a.c,null,o),i)},27088:(e,o,t)=>{t.r(o),t.d(o,{default:()=>h});var n=t(51280),r=t(72300),a=t(95656),i=t(45072),s=t(65456),c=t(53864),l=t(44404),d=t(826),p=t(60888),u=t(40608);function m(e){return(0,u.cp)("MuiDialogContent",e)}(0,p.c)("MuiDialogContent",["root","dividers"]);var g=t(25132),v=t(17624);const f=["className","dividers"],b=(0,l.cp)("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.c)({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.c.root} + &`]:{paddingTop:0}}))),C=n.forwardRef((function(e,o){const t=(0,d.c)({props:e,name:"MuiDialogContent"}),{className:n,dividers:r=!1}=t,l=(0,a.c)(t,f),p=(0,i.c)({},t,{dividers:r}),u=(e=>{const{classes:o,dividers:t}=e,n={root:["root",t&&"dividers"]};return(0,c.c)(n,m,o)})(p);return(0,v.jsx)(b,(0,i.c)({className:(0,s.c)(u.root,n),ownerState:p,ref:o},l))}));function x(e){return(0,u.cp)("MuiDialogActions",e)}(0,p.c)("MuiDialogActions",["root","spacing"]);const S=["className","disableSpacing"],w=(0,l.cp)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.root,!t.disableSpacing&&o.spacing]}})((({ownerState:e})=>(0,i.c)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}}))),z=n.forwardRef((function(e,o){const t=(0,d.c)({props:e,name:"MuiDialogActions"}),{className:n,disableSpacing:r=!1}=t,l=(0,a.c)(t,S),p=(0,i.c)({},t,{disableSpacing:r}),u=(e=>{const{classes:o,disableSpacing:t}=e,n={root:["root",!t&&"spacing"]};return(0,c.c)(n,x,o)})(p);return(0,v.jsx)(w,(0,i.c)({className:(0,s.c)(u.root,n),ownerState:p,ref:o},l))}));var N=t(93396);const h=({isOpen:e,onCancel:o,onConfirm:t,children:a})=>(0,n.createElement)(r.default,{isOpen:e,title:(0,N.__)("Are you sure?","complianz-gdpr"),onClose:o},(0,n.createElement)(C,null,a),(0,n.createElement)(z,{className:"cmplz-modal-footer"},(0,n.createElement)("button",{className:"cmplz-button cmplz-button--secondary",onClick:o},(0,N.__)("Cancel","complianz-gdpr")),(0,n.createElement)("button",{className:"cmplz-button cmplz-button--error",onClick:t},(0,N.__)("Confirm","complianz-gdpr"))))}}]);