"use strict";(globalThis.webpackChunk_openmrs_esm_service_queues_app=globalThis.webpackChunk_openmrs_esm_service_queues_app||[]).push([["8346"],{78690:function(e,t,u){u.r(t),u.d(t,{default:()=>s});var n=u(27350),o=u.n(n),a=u(68892),r=u(64247),i=u(74284);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.Z,{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.zI)(e.uuid,{endedAt:new Date().toISOString()})}},showPatientName:!1})}}}]);