"use strict";(globalThis.webpackChunk_palladium_ethiopia_esm_patient_registration_app=globalThis.webpackChunk_palladium_ethiopia_esm_patient_registration_app||[]).push([["4542"],{22397(t,e,n){n.d(e,{A:()=>o});var i=n(71452),a=n.n(i),s=n(34567),l=n.n(s)()(a());l.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:""}]),l.locals={menuitem:"-esm-patient-registration__edit-patient-details-button__menuitem___V8gGB"};let o=l},10077(t,e,n){n.r(e),n.d(e,{default:()=>T});var i=n(93763),a=n.n(i),s=n(45555),l=n(99768),o=n(36028),u=n(72591),r=n.n(u),m=n(1740),p=n.n(m),_=n(88128),d=n.n(_),c=n(30855),A=n.n(c),g=n(93051),b=n.n(g),h=n(73656),k=n.n(h),v=n(22397),w={};w.styleTagTransform=k(),w.setAttributes=A(),w.insert=d().bind(null,"head"),w.domAPI=p(),w.insertStyleElement=b(),r()(v.A,w);let C=v.A&&v.A.locals?v.A.locals:void 0,T=function(t){var e=t.patientUuid,n=t.closeMenu,u=(0,s.useTranslation)().t,r=(0,i.useCallback)(function(){(0,o.navigate)({to:"${openmrsSpaBase}/patient/".concat(e,"/edit")})},[e]);return a().createElement(l.XSD,{className:C.menuitem,closeMenu:n,itemText:u("editPatientDetails","Edit patient details"),onClick:r})}}}]);