"use strict";(globalThis.webpackChunk_openmrs_esm_patient_registration_app=globalThis.webpackChunk_openmrs_esm_patient_registration_app||[]).push([["1682"],{8081:function(t,e,n){n.d(e,{Z:()=>l});var i=n(49130),a=n.n(i),s=n(22577),o=n.n(s)()(a());o.push([t.id,".-esm-patient-registration__edit-patient-details-button__menuitem___V8gGB{max-width:none}","",{version:3,sources:["webpack://./src/widgets/edit-patient-details-button.scss"],names:[],mappings:"AAAA,0EACE,cAAA",sourcesContent:[".menuitem {\n  max-width: none;\n}\n"],sourceRoot:""}]),o.locals={menuitem:"-esm-patient-registration__edit-patient-details-button__menuitem___V8gGB"};let l=o},82238:function(t,e,n){n.r(e),n.d(e,{default:()=>C});var i=n(27350),a=n.n(i),s=n(68892),o=n(42873),l=n(93798),r=n(46062),u=n.n(r),m=n(44036),c=n.n(m),p=n(96793),_=n.n(p),d=n(17892),g=n.n(d),b=n(11173),A=n.n(b),h=n(42464),k=n.n(h),f=n(8081),v={};v.styleTagTransform=k(),v.setAttributes=g(),v.insert=_().bind(null,"head"),v.domAPI=c(),v.insertStyleElement=A(),u()(f.Z,v);let w=f.Z&&f.Z.locals?f.Z.locals:void 0,C=function(t){var e=t.patientUuid,n=t.closeMenu,r=(0,s.useTranslation)().t,u=(0,i.useCallback)(function(){(0,l.navigate)({to:"${openmrsSpaBase}/patient/".concat(e,"/edit")})},[e]);return a().createElement(o.laM,{className:w.menuitem,closeMenu:n,itemText:r("editPatientDetails","Edit patient details"),onClick:u})}}}]);