@openmrs/esm-laboratory-app
Version:
An O3 frontend module for managing laboratory requests and queues
1 lines • 888 B
JavaScript
;(globalThis.webpackChunk_openmrs_esm_laboratory_app=globalThis.webpackChunk_openmrs_esm_laboratory_app||[]).push([["2489"],{8493(t,e,n){var r=n(2153),o="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},u=r.useState,a=r.useEffect,s=r.useLayoutEffect,i=r.useDebugValue;function c(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!o(t,n)}catch(t){return!0}}var p="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var n=e(),r=u({inst:{value:n,getSnapshot:e}}),o=r[0].inst,p=r[1];return s(function(){o.value=n,o.getSnapshot=e,c(o)&&p({inst:o})},[t,n,e]),a(function(){return c(o)&&p({inst:o}),t(function(){c(o)&&p({inst:o})})},[t]),i(n),n};e.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:p},9888(t,e,n){t.exports=n(8493)}}]);