"use strict";(globalThis.webpackChunk_openmrs_esm_service_queues_app=globalThis.webpackChunk_openmrs_esm_service_queues_app||[]).push([["5316"],{33535(e,t,u){u.r(t),u.d(t,{default:()=>s});var n=u(97125),o=u.n(n),a=u(75921),r=u(73275),i=u(28734);let s=function(e){var t=e.queueEntry,u=e.closeModal,n=(0,a.useTranslation)().t,s=t.display,m=t.queue.display,l=o().createElement(a.Trans,{i18nKey:"confirmRemovePatientFromQueue"},"Are you sure you want to remove ",o().createElement("strong",null,{patient:s})," from ",{queue:m},"?");return o().createElement(i.A,{queueEntry:t,closeModal:u,modalParams:{modalTitle:n("removePatientFromQueue","Remove {{patient}} from queue?",{patient:t.display}),modalInstruction:l,submitButtonText:n("remove","Remove"),submitSuccessTitle:n("patientRemoved","Patient removed"),submitSuccessText:n("patientRemovedSuccessfully","Patient removed from queue successfully"),submitFailureTitle:n("patientRemovedFailed","Error removing patient from queue"),submitAction:function(e){return(0,r.hC)(e.uuid,{endedAt:new Date().toISOString()})}},showPatientName:!1})}}}]);