"use strict";(globalThis.webpackChunk_openmrs_esm_patient_registration_app=globalThis.webpackChunk_openmrs_esm_patient_registration_app||[]).push([["527"],{53522(e,n,a){a.r(n),a.d(n,{default:()=>s});var t=a(97125),r=a.n(t),l=a(75921),c=a(23553);let s=function(e){var n=e.close,a=e.onConfirm,t=(0,l.useTranslation)().t;return r().createElement(r().Fragment,null,r().createElement(c.rQ0,{closeModal:n,title:t("confirmDiscardChangesTitle","Are you sure you want to discard these changes?")}),r().createElement(c.cwr,null,r().createElement("p",null,t("confirmDiscardChangesBody","Your unsaved changes will be lost if you proceed to discard the form"),".")),r().createElement(c.jlY,null,r().createElement(c.$nd,{kind:"secondary",onClick:n},t("cancel","Cancel")),r().createElement(c.$nd,{kind:"danger",onClick:a},t("discard","Discard"))))}}}]);