@kenyaemr/esm-express-workflow-app 5.4.6-pre.1197 → 5.4.6-pre.1202
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var _kenyaemr_esm_express_workflow_app;!function(){var e="u">typeof globalThis?globalThis:self;if(void 0===e._FEDERATION_RUNTIME_CORE||void 0===e._OPENMRS_FEDERATION_SDK||void 0===e._OPENMRS_FEDERATION_ERROR_CODES)throw Error("@kenyaemr/esm-express-workflow-app cannot start: the OpenMRS app shell serving this page does not provide the Module Federation runtime. This app was built with newer OpenMRS tooling than the app shell, so either upgrade @openmrs/esm-app-shell, or rebuild this app with tooling matching the app shell.");var r=e._FEDERATION_RUNTIME_CORE_FROM;r&&r.version&&"2.8"!==String(r.version).split(".").slice(0,2).join(".")&&console.warn("@kenyaemr/esm-express-workflow-app was built against Module Federation 2.8.x but the app shell provides "+r.version+". Shared dependencies may not de-duplicate correctly.")}(),(()=>{var e,r,t,n,o,i={94646(e,r,t){"use strict";var n=t(40523),o=t.n(n);function i(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}function a(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t,n,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,s=!1;try{for(o=o.call(e);!(a=(t=o.next()).done)&&(i.push(t.value),!r||i.length!==r);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==o.return||o.return()}finally{if(s)throw n}}return i}}(e,r)||l(e,r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function l(e,r){if(e){if("string"==typeof e)return i(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return i(e,r)}}var u=[].filter(function(e){return e.plugin}).map(function(e){return(0,e.plugin)(e.params)}),c={};if((t.initializeSharingData||t.initializeExposesData)&&t.federation){var p,d,f,h,m,g,y,b,S,v,O,E,_=function(e,r,t){e&&e[r]&&(e[r]=t)},M=function(e,r,t){var n,o=t();Array.isArray(o)?(null!=e[r]||(e[r]=[]),(n=e[r]).push.apply(n,function(e){if(Array.isArray(e))return i(e)}(o)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||l(o)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())):(void 0===o?"undefined":s(o))==="object"&&null!==o&&(null!=e[r]||(e[r]={}),Object.assign(e[r],o))},w=function(e,r,t){null!=e[r]||(e[r]=t())},R=null!=(p=null==(g=t.remotesLoadingData)?void 0:g.chunkMapping)?p:{},k=null!=(d=null==(y=t.remotesLoadingData)?void 0:y.moduleIdToRemoteDataMapping)?d:{},T=null!=(f=null==(b=t.initializeSharingData)?void 0:b.scopeToSharingDataMapping)?f:{},I=null!=(h=null==(S=t.consumesLoadingData)?void 0:S.chunkMapping)?h:{},x=null!=(m=null==(v=t.consumesLoadingData)?void 0:v.moduleIdToConsumeDataMapping)?m:{},P={},j=[],N={},C=null==(O=t.initializeExposesData)?void 0:O.shareScope;for(var D in o())t.federation[D]=o()[D];w(t.federation,"consumesLoadingModuleToHandlerMapping",function(){var e={},r=!0,t=!1,n=void 0;try{for(var o,i=Object.entries(x)[Symbol.iterator]();!(r=(o=i.next()).done);r=!0){var s=a(o.value,2),l=s[0],u=s[1];e[l]={getter:u.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:u.requiredVersion,strictVersion:u.strictVersion,singleton:u.singleton,eager:u.eager},scope:[u.shareScope]},shareKey:u.shareKey}}}catch(e){t=!0,n=e}finally{try{r||null==i.return||i.return()}finally{if(t)throw n}}return e}),w(t.federation,"initOptions",function(){return{}}),w(t.federation.initOptions,"name",function(){return"@kenyaemr/esm-express-workflow-app"}),w(t.federation.initOptions,"shareStrategy",function(){return"version-first"}),w(t.federation.initOptions,"shared",function(){var e={},r=!0,t=!1,n=void 0;try{for(var o,i=Object.entries(T)[Symbol.iterator]();!(r=(o=i.next()).done);r=!0){var l=a(o.value,2),u=l[0],c=l[1],p=!0,d=!1,f=void 0;try{for(var h,m=c[Symbol.iterator]();!(p=(h=m.next()).done);p=!0){var g=h.value;if((void 0===g?"undefined":s(g))==="object"&&null!==g){var y=g.name,b=g.version,S=g.factory,v=g.eager,O=g.singleton,E=g.requiredVersion,_=g.strictVersion,M={},w=function(e){return void 0!==e};w(O)&&(M.singleton=O),w(E)&&(M.requiredVersion=E),w(v)&&(M.eager=v),w(_)&&(M.strictVersion=_);var R={version:b,scope:[u],shareConfig:M,get:S};e[y]?e[y].push(R):e[y]=[R]}}}catch(e){d=!0,f=e}finally{try{p||null==m.return||m.return()}finally{if(d)throw f}}}}catch(e){t=!0,n=e}finally{try{r||null==i.return||i.return()}finally{if(t)throw n}}return e}),M(t.federation.initOptions,"remotes",function(){return Object.values(c).flat().filter(function(e){return"script"===e.externalType})}),M(t.federation.initOptions,"plugins",function(){return u}),w(t.federation,"bundlerRuntimeOptions",function(){return{}}),w(t.federation.bundlerRuntimeOptions,"remotes",function(){return{}}),w(t.federation.bundlerRuntimeOptions.remotes,"chunkMapping",function(){return R}),w(t.federation.bundlerRuntimeOptions.remotes,"remoteInfos",function(){return c}),w(t.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",function(){var e={},r=!0,t=!1,n=void 0;try{for(var o,i=Object.entries(k)[Symbol.iterator]();!(r=(o=i.next()).done);r=!0){var s=a(o.value,2),l=s[0],u=s[1];e[l]=[u.shareScope,u.name,u.externalModuleId,u.remoteName]}}catch(e){t=!0,n=e}finally{try{r||null==i.return||i.return()}finally{if(t)throw n}}return e}),w(t.federation.bundlerRuntimeOptions.remotes,"webpackRequire",function(){return t}),M(t.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",function(){var e={},r=!0,t=!1,n=void 0;try{for(var o,i=Object.entries(k)[Symbol.iterator]();!(r=(o=i.next()).done);r=!0){var s=a(o.value,2),l=s[0],u=c[s[1].remoteName];u&&(e[l]=u)}}catch(e){t=!0,n=e}finally{try{r||null==i.return||i.return()}finally{if(t)throw n}}return e}),_(t,"S",t.federation.bundlerRuntime.S),t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),_(t.f,"remotes",function(e,r){return t.federation.bundlerRuntime.remotes({chunkId:e,promises:r,chunkMapping:R,idToExternalAndNameMapping:t.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:t.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:t})}),_(t.f,"consumes",function(e,r){return t.federation.bundlerRuntime.consumes({chunkId:e,promises:r,chunkMapping:I,moduleToHandlerMapping:t.federation.consumesLoadingModuleToHandlerMapping,installedModules:P,webpackRequire:t})}),_(t,"I",function(e,r){return t.federation.bundlerRuntime.I({shareScopeName:e,initScope:r,initPromises:j,initTokens:N,webpackRequire:t})}),_(t,"initContainer",function(e,r,n){return t.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:r,remoteEntryInitOptions:n,shareScopeKey:C,webpackRequire:t})}),_(t,"getContainer",function(e,r){var n=t.initializeExposesData.moduleMap;return t.R=r,r=Object.prototype.hasOwnProperty.call(n,e)?n[e]():Promise.resolve().then(function(){throw Error('Module "'+e+'" does not exist in container.')}),t.R=void 0,r}),t.federation.instance=t.federation.runtime.init(t.federation.initOptions),(null==(E=t.consumesLoadingData)?void 0:E.initialConsumes)&&t.federation.bundlerRuntime.installInitialConsumes({webpackRequire:t,installedModules:P,initialConsumes:t.consumesLoadingData.initialConsumes,moduleToHandlerMapping:t.federation.consumesLoadingModuleToHandlerMapping})}},14363(e,r,t){"use strict";t.d(r,{get:()=>t.getContainer,init:()=>t.initContainer})},53054(e){"use strict";e.exports=globalThis._FEDERATION_RUNTIME_CORE},9170(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_ERROR_CODES},31853(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_SDK},31772(e,r){var t=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;r.__toESM=(e,r,l)=>(l=null!=e?t(a(e)):{},((e,r,t)=>{if(r&&"object"==typeof r||"function"==typeof r)for(var a,l=i(r),u=0,c=l.length;u<c;u++)a=l[u],s.call(e,a)||void 0===a||n(e,a,{get:(e=>r[e]).bind(null,a),enumerable:!(t=o(r,a))||t.enumerable});return e})(!r&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},79837(e,r,t){Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),t(31772);let n=t(27789),o=t(53054),i={...o.helpers.global,getGlobalFederationInstance:n.getGlobalFederationInstance},a=o.helpers.share,s=o.helpers.utils;r.default={global:i,share:a,utils:s},r.global=i,r.share=a,r.utils=s},83738(e,r,t){Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),t(31772);let n=t(27789),o=t(53054),i=t(9170);function a(e){let r=new((0,o.getGlobalFederationConstructor)()||o.ModuleFederation)({id:`${e.name}@${e.version||Date.now()}`,...e});return(0,o.setGlobalFederationInstance)(r),r}let s=null;(0,o.setGlobalFederationConstructor)(o.ModuleFederation),Object.defineProperty(r,"Module",{enumerable:!0,get:function(){return o.Module}}),r.ModuleFederation=o.ModuleFederation,r.createInstance=a,r.getInstance=function(e){return e?o.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(e)||null:s},Object.defineProperty(r,"getRemoteEntry",{enumerable:!0,get:function(){return o.getRemoteEntry}}),Object.defineProperty(r,"getRemoteInfo",{enumerable:!0,get:function(){return o.getRemoteInfo}}),r.init=function(e){let r=n.getGlobalFederationInstance(e.name,e.version),t={...e,id:e.id||""};return r?(r.initOptions(t),s||(s=r),r):s=a(t)},r.loadRemote=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadRemote.apply(s,e)},Object.defineProperty(r,"loadScript",{enumerable:!0,get:function(){return o.loadScript}}),Object.defineProperty(r,"loadScriptNode",{enumerable:!0,get:function(){return o.loadScriptNode}}),r.loadShare=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadShare.apply(s,e)},r.loadShareSync=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadShareSync.apply(s,e)},r.preloadRemote=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.preloadRemote.apply(s,e)},Object.defineProperty(r,"registerGlobalPlugins",{enumerable:!0,get:function(){return o.registerGlobalPlugins}}),r.registerPlugins=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerPlugins.apply(s,e)},r.registerRemotes=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerRemotes.apply(s,e)},r.registerShared=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerShared.apply(s,e)}},27789(e,r,t){t(31772);let n=t(53054);r.getGlobalFederationInstance=function(e,r){let t="@kenyaemr/esm-express-workflow-app:5.4.6-pre.1197";return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!t&&n.options.id===t||n.options.name===e&&!n.options.version&&!r||n.options.name===e&&!!r&&n.options.version===r)}},50223(e,r){var t=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;r.__toESM=(e,r,l)=>(l=null!=e?t(a(e)):{},((e,r,t)=>{if(r&&"object"==typeof r||"function"==typeof r)for(var a,l=i(r),u=0,c=l.length;u<c;u++)a=l[u],s.call(e,a)||void 0===a||n(e,a,{get:(e=>r[e]).bind(null,a),enumerable:!(t=o(r,a))||t.enumerable});return e})(!r&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},33545(e,r){r.attachShareScopeMap=function(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}},46917(e,r){Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.FEDERATION_SUPPORTED_TYPES=["script"]},91864(e,r,t){let n=t(33545),o=t(91092),i=t(12677),a=t(10085),s=t(76781);r.consumes=function(e){o.updateConsumeOptions(e);let{chunkId:r,promises:t,installedModules:l,webpackRequire:u,chunkMapping:c,moduleToHandlerMapping:p}=e;n.attachShareScopeMap(u),u.o(c,r)&&c[r].forEach(e=>{if(u.o(l,e))return t.push(l[e]);let r=r=>{l[e]=0,u.m[e]=t=>{delete u.c[e];let n=r(),{shareInfo:o}=p[e];if(o?.shareConfig?.layer&&n&&"object"==typeof n)try{n.hasOwnProperty("layer")&&void 0!==n.layer||(n.layer=o.shareConfig.layer)}catch(e){}t.exports=n}},n=r=>{delete l[e],u.m[e]=t=>{throw delete u.c[e],r}};try{let o=u.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:c,getter:d,shareInfo:f,treeShakingGetter:h}=p[e],m=i.getUsedExports(u,c),g={...f};Array.isArray(g.scope)&&Array.isArray(g.scope[0])&&(g.scope=g.scope[0]),m&&(g.treeShaking={usedExports:m,useIn:[o.options.name]});let y=o.loadShare(c,{customShareInfo:g}).then(e=>{if(!1===e){if("function"!=typeof d)throw Error(s.getShortErrorMsg(a.RUNTIME_012,{[a.RUNTIME_012]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.'},{shareKey:c}));return h?.()||d()}return e});y.then?t.push(l[e]=y.then(r).catch(n)):r(y)}catch(e){n(e)}})}},10085(e,r){r.RUNTIME_012="RUNTIME-012"},76781(e,r){r.getShortErrorMsg=(e,r,t,n)=>{let o=[`${[r[e]]} #${e}`];return t&&o.push(`args: ${JSON.stringify(t)}`),o.push(`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`),n&&o.push(`Original Error Message:
|
|
1
|
+
var _kenyaemr_esm_express_workflow_app;!function(){var e="u">typeof globalThis?globalThis:self;if(void 0===e._FEDERATION_RUNTIME_CORE||void 0===e._OPENMRS_FEDERATION_SDK||void 0===e._OPENMRS_FEDERATION_ERROR_CODES)throw Error("@kenyaemr/esm-express-workflow-app cannot start: the OpenMRS app shell serving this page does not provide the Module Federation runtime. This app was built with newer OpenMRS tooling than the app shell, so either upgrade @openmrs/esm-app-shell, or rebuild this app with tooling matching the app shell.");var r=e._FEDERATION_RUNTIME_CORE_FROM;r&&r.version&&"2.8"!==String(r.version).split(".").slice(0,2).join(".")&&console.warn("@kenyaemr/esm-express-workflow-app was built against Module Federation 2.8.x but the app shell provides "+r.version+". Shared dependencies may not de-duplicate correctly.")}(),(()=>{var e,r,t,n,o,i={94646(e,r,t){"use strict";var n=t(40523),o=t.n(n);function i(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}function a(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t,n,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,s=!1;try{for(o=o.call(e);!(a=(t=o.next()).done)&&(i.push(t.value),!r||i.length!==r);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==o.return||o.return()}finally{if(s)throw n}}return i}}(e,r)||l(e,r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function l(e,r){if(e){if("string"==typeof e)return i(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return i(e,r)}}var u=[].filter(function(e){return e.plugin}).map(function(e){return(0,e.plugin)(e.params)}),c={};if((t.initializeSharingData||t.initializeExposesData)&&t.federation){var p,d,f,h,m,g,y,b,S,v,O,E,_=function(e,r,t){e&&e[r]&&(e[r]=t)},M=function(e,r,t){var n,o=t();Array.isArray(o)?(null!=e[r]||(e[r]=[]),(n=e[r]).push.apply(n,function(e){if(Array.isArray(e))return i(e)}(o)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||l(o)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())):(void 0===o?"undefined":s(o))==="object"&&null!==o&&(null!=e[r]||(e[r]={}),Object.assign(e[r],o))},w=function(e,r,t){null!=e[r]||(e[r]=t())},R=null!=(p=null==(g=t.remotesLoadingData)?void 0:g.chunkMapping)?p:{},k=null!=(d=null==(y=t.remotesLoadingData)?void 0:y.moduleIdToRemoteDataMapping)?d:{},T=null!=(f=null==(b=t.initializeSharingData)?void 0:b.scopeToSharingDataMapping)?f:{},I=null!=(h=null==(S=t.consumesLoadingData)?void 0:S.chunkMapping)?h:{},x=null!=(m=null==(v=t.consumesLoadingData)?void 0:v.moduleIdToConsumeDataMapping)?m:{},P={},j=[],N={},C=null==(O=t.initializeExposesData)?void 0:O.shareScope;for(var D in o())t.federation[D]=o()[D];w(t.federation,"consumesLoadingModuleToHandlerMapping",function(){var e={},r=!0,t=!1,n=void 0;try{for(var o,i=Object.entries(x)[Symbol.iterator]();!(r=(o=i.next()).done);r=!0){var s=a(o.value,2),l=s[0],u=s[1];e[l]={getter:u.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:u.requiredVersion,strictVersion:u.strictVersion,singleton:u.singleton,eager:u.eager},scope:[u.shareScope]},shareKey:u.shareKey}}}catch(e){t=!0,n=e}finally{try{r||null==i.return||i.return()}finally{if(t)throw n}}return e}),w(t.federation,"initOptions",function(){return{}}),w(t.federation.initOptions,"name",function(){return"@kenyaemr/esm-express-workflow-app"}),w(t.federation.initOptions,"shareStrategy",function(){return"version-first"}),w(t.federation.initOptions,"shared",function(){var e={},r=!0,t=!1,n=void 0;try{for(var o,i=Object.entries(T)[Symbol.iterator]();!(r=(o=i.next()).done);r=!0){var l=a(o.value,2),u=l[0],c=l[1],p=!0,d=!1,f=void 0;try{for(var h,m=c[Symbol.iterator]();!(p=(h=m.next()).done);p=!0){var g=h.value;if((void 0===g?"undefined":s(g))==="object"&&null!==g){var y=g.name,b=g.version,S=g.factory,v=g.eager,O=g.singleton,E=g.requiredVersion,_=g.strictVersion,M={},w=function(e){return void 0!==e};w(O)&&(M.singleton=O),w(E)&&(M.requiredVersion=E),w(v)&&(M.eager=v),w(_)&&(M.strictVersion=_);var R={version:b,scope:[u],shareConfig:M,get:S};e[y]?e[y].push(R):e[y]=[R]}}}catch(e){d=!0,f=e}finally{try{p||null==m.return||m.return()}finally{if(d)throw f}}}}catch(e){t=!0,n=e}finally{try{r||null==i.return||i.return()}finally{if(t)throw n}}return e}),M(t.federation.initOptions,"remotes",function(){return Object.values(c).flat().filter(function(e){return"script"===e.externalType})}),M(t.federation.initOptions,"plugins",function(){return u}),w(t.federation,"bundlerRuntimeOptions",function(){return{}}),w(t.federation.bundlerRuntimeOptions,"remotes",function(){return{}}),w(t.federation.bundlerRuntimeOptions.remotes,"chunkMapping",function(){return R}),w(t.federation.bundlerRuntimeOptions.remotes,"remoteInfos",function(){return c}),w(t.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",function(){var e={},r=!0,t=!1,n=void 0;try{for(var o,i=Object.entries(k)[Symbol.iterator]();!(r=(o=i.next()).done);r=!0){var s=a(o.value,2),l=s[0],u=s[1];e[l]=[u.shareScope,u.name,u.externalModuleId,u.remoteName]}}catch(e){t=!0,n=e}finally{try{r||null==i.return||i.return()}finally{if(t)throw n}}return e}),w(t.federation.bundlerRuntimeOptions.remotes,"webpackRequire",function(){return t}),M(t.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",function(){var e={},r=!0,t=!1,n=void 0;try{for(var o,i=Object.entries(k)[Symbol.iterator]();!(r=(o=i.next()).done);r=!0){var s=a(o.value,2),l=s[0],u=c[s[1].remoteName];u&&(e[l]=u)}}catch(e){t=!0,n=e}finally{try{r||null==i.return||i.return()}finally{if(t)throw n}}return e}),_(t,"S",t.federation.bundlerRuntime.S),t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),_(t.f,"remotes",function(e,r){return t.federation.bundlerRuntime.remotes({chunkId:e,promises:r,chunkMapping:R,idToExternalAndNameMapping:t.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:t.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:t})}),_(t.f,"consumes",function(e,r){return t.federation.bundlerRuntime.consumes({chunkId:e,promises:r,chunkMapping:I,moduleToHandlerMapping:t.federation.consumesLoadingModuleToHandlerMapping,installedModules:P,webpackRequire:t})}),_(t,"I",function(e,r){return t.federation.bundlerRuntime.I({shareScopeName:e,initScope:r,initPromises:j,initTokens:N,webpackRequire:t})}),_(t,"initContainer",function(e,r,n){return t.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:r,remoteEntryInitOptions:n,shareScopeKey:C,webpackRequire:t})}),_(t,"getContainer",function(e,r){var n=t.initializeExposesData.moduleMap;return t.R=r,r=Object.prototype.hasOwnProperty.call(n,e)?n[e]():Promise.resolve().then(function(){throw Error('Module "'+e+'" does not exist in container.')}),t.R=void 0,r}),t.federation.instance=t.federation.runtime.init(t.federation.initOptions),(null==(E=t.consumesLoadingData)?void 0:E.initialConsumes)&&t.federation.bundlerRuntime.installInitialConsumes({webpackRequire:t,installedModules:P,initialConsumes:t.consumesLoadingData.initialConsumes,moduleToHandlerMapping:t.federation.consumesLoadingModuleToHandlerMapping})}},14363(e,r,t){"use strict";t.d(r,{get:()=>t.getContainer,init:()=>t.initContainer})},53054(e){"use strict";e.exports=globalThis._FEDERATION_RUNTIME_CORE},9170(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_ERROR_CODES},31853(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_SDK},31772(e,r){var t=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;r.__toESM=(e,r,l)=>(l=null!=e?t(a(e)):{},((e,r,t)=>{if(r&&"object"==typeof r||"function"==typeof r)for(var a,l=i(r),u=0,c=l.length;u<c;u++)a=l[u],s.call(e,a)||void 0===a||n(e,a,{get:(e=>r[e]).bind(null,a),enumerable:!(t=o(r,a))||t.enumerable});return e})(!r&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},79837(e,r,t){Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),t(31772);let n=t(27789),o=t(53054),i={...o.helpers.global,getGlobalFederationInstance:n.getGlobalFederationInstance},a=o.helpers.share,s=o.helpers.utils;r.default={global:i,share:a,utils:s},r.global=i,r.share=a,r.utils=s},83738(e,r,t){Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),t(31772);let n=t(27789),o=t(53054),i=t(9170);function a(e){let r=new((0,o.getGlobalFederationConstructor)()||o.ModuleFederation)({id:`${e.name}@${e.version||Date.now()}`,...e});return(0,o.setGlobalFederationInstance)(r),r}let s=null;(0,o.setGlobalFederationConstructor)(o.ModuleFederation),Object.defineProperty(r,"Module",{enumerable:!0,get:function(){return o.Module}}),r.ModuleFederation=o.ModuleFederation,r.createInstance=a,r.getInstance=function(e){return e?o.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(e)||null:s},Object.defineProperty(r,"getRemoteEntry",{enumerable:!0,get:function(){return o.getRemoteEntry}}),Object.defineProperty(r,"getRemoteInfo",{enumerable:!0,get:function(){return o.getRemoteInfo}}),r.init=function(e){let r=n.getGlobalFederationInstance(e.name,e.version),t={...e,id:e.id||""};return r?(r.initOptions(t),s||(s=r),r):s=a(t)},r.loadRemote=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadRemote.apply(s,e)},Object.defineProperty(r,"loadScript",{enumerable:!0,get:function(){return o.loadScript}}),Object.defineProperty(r,"loadScriptNode",{enumerable:!0,get:function(){return o.loadScriptNode}}),r.loadShare=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadShare.apply(s,e)},r.loadShareSync=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadShareSync.apply(s,e)},r.preloadRemote=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.preloadRemote.apply(s,e)},Object.defineProperty(r,"registerGlobalPlugins",{enumerable:!0,get:function(){return o.registerGlobalPlugins}}),r.registerPlugins=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerPlugins.apply(s,e)},r.registerRemotes=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerRemotes.apply(s,e)},r.registerShared=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerShared.apply(s,e)}},27789(e,r,t){t(31772);let n=t(53054);r.getGlobalFederationInstance=function(e,r){let t="@kenyaemr/esm-express-workflow-app:5.4.6-pre.1202";return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!t&&n.options.id===t||n.options.name===e&&!n.options.version&&!r||n.options.name===e&&!!r&&n.options.version===r)}},50223(e,r){var t=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;r.__toESM=(e,r,l)=>(l=null!=e?t(a(e)):{},((e,r,t)=>{if(r&&"object"==typeof r||"function"==typeof r)for(var a,l=i(r),u=0,c=l.length;u<c;u++)a=l[u],s.call(e,a)||void 0===a||n(e,a,{get:(e=>r[e]).bind(null,a),enumerable:!(t=o(r,a))||t.enumerable});return e})(!r&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},33545(e,r){r.attachShareScopeMap=function(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}},46917(e,r){Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),r.FEDERATION_SUPPORTED_TYPES=["script"]},91864(e,r,t){let n=t(33545),o=t(91092),i=t(12677),a=t(10085),s=t(76781);r.consumes=function(e){o.updateConsumeOptions(e);let{chunkId:r,promises:t,installedModules:l,webpackRequire:u,chunkMapping:c,moduleToHandlerMapping:p}=e;n.attachShareScopeMap(u),u.o(c,r)&&c[r].forEach(e=>{if(u.o(l,e))return t.push(l[e]);let r=r=>{l[e]=0,u.m[e]=t=>{delete u.c[e];let n=r(),{shareInfo:o}=p[e];if(o?.shareConfig?.layer&&n&&"object"==typeof n)try{n.hasOwnProperty("layer")&&void 0!==n.layer||(n.layer=o.shareConfig.layer)}catch(e){}t.exports=n}},n=r=>{delete l[e],u.m[e]=t=>{throw delete u.c[e],r}};try{let o=u.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:c,getter:d,shareInfo:f,treeShakingGetter:h}=p[e],m=i.getUsedExports(u,c),g={...f};Array.isArray(g.scope)&&Array.isArray(g.scope[0])&&(g.scope=g.scope[0]),m&&(g.treeShaking={usedExports:m,useIn:[o.options.name]});let y=o.loadShare(c,{customShareInfo:g}).then(e=>{if(!1===e){if("function"!=typeof d)throw Error(s.getShortErrorMsg(a.RUNTIME_012,{[a.RUNTIME_012]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.'},{shareKey:c}));return h?.()||d()}return e});y.then?t.push(l[e]=y.then(r).catch(n)):r(y)}catch(e){n(e)}})}},10085(e,r){r.RUNTIME_012="RUNTIME-012"},76781(e,r){r.getShortErrorMsg=(e,r,t,n)=>{let o=[`${[r[e]]} #${e}`];return t&&o.push(`args: ${JSON.stringify(t)}`),o.push(`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`),n&&o.push(`Original Error Message:
|
|
2
2
|
${n}`),o.join("\n")}},41315(e,r){r.getSharedFallbackGetter=({shareKey:e,factory:r,version:t,webpackRequire:n,libraryType:o="global"})=>{let{runtime:i,instance:a,bundlerRuntime:s,sharedFallback:l}=n.federation;if(!l)return r;let u=l[e];if(!u)return r;let c=t?u.find(e=>e[1]===t):u[0];if(!c)throw Error(`No fallback item found for shareKey: ${e} and version: ${t}`);return()=>i.getRemoteEntry({origin:n.federation.instance,remoteInfo:{name:c[2],entry:`${n.p}${c[0]}`,type:o,entryGlobalName:c[2],shareScope:"default"}}).then(r=>{if(!r)throw Error(`Failed to load fallback entry for shareKey: ${e} and version: ${t}`);return r.init(n.federation.instance,s).then(()=>r.get())})}},12677(e,r){r.getUsedExports=function(e,r){let t=e.federation.usedExports;if(t)return t[r]}},40523(e,r,t){Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});let n=t(50223),o=t(33545),i=t(43586),a=t(91864),s=t(62221),l=t(34307),u=t(91180),c=t(10367),p=t(41315),d=t(83738);d=n.__toESM(d);let f={remotes:i.remotes,consumes:a.consumes,I:s.initializeSharing,S:{},installInitialConsumes:l.installInitialConsumes,initContainerEntry:u.initContainerEntry,init:c.init,getSharedFallbackGetter:p.getSharedFallbackGetter},h={runtime:d,instance:void 0,initOptions:void 0,bundlerRuntime:f,attachShareScopeMap:o.attachShareScopeMap,bundlerRuntimeOptions:{}},m=h.instance,g=h.initOptions,y=h.bundlerRuntimeOptions;r.attachShareScopeMap=o.attachShareScopeMap,r.bundlerRuntime=f,r.bundlerRuntimeOptions=y,r.default=h,r.initOptions=g,r.instance=m,Object.defineProperty(r,"runtime",{enumerable:!0,get:function(){return d}})},10367(e,r,t){let n=t(50223),o=t(83738),i=t(79837);i=n.__toESM(i),r.init=function({webpackRequire:e}){let{initOptions:r,runtime:n,sharedFallback:a,bundlerRuntime:s,libraryType:l}=e.federation;if(!r)throw Error("initOptions is required!");return r.plugins||=[],r.plugins.push({name:"tree-shake-plugin",beforeInit(r){let{userOptions:n,origin:u,options:c}=r,p=n.version||c.version;if(!a)return r;let d=n.shared||{},f=[];Object.keys(d).forEach(r=>{(Array.isArray(d[r])?d[r]:[d[r]]).forEach(t=>{f.push([r,t]),"get"in t&&(t.treeShaking||={},t.treeShaking.get=t.get,t.get=s.getSharedFallbackGetter({shareKey:r,factory:t.get,webpackRequire:e,libraryType:l,version:t.version}))})});let h=i.default.global.getGlobalSnapshotInfoByModuleInfo({name:u.name,version:p});return h&&"shared"in h&&(Object.keys(c.shared||{}).forEach(e=>{c.shared[e].forEach(r=>{f.push([e,r])})}),f.forEach(([e,r])=>{((e,r)=>{let n=h.shared.find(r=>r.sharedName===e);if(!n)return;let{treeShaking:i}=r;if(!i)return;let{secondarySharedTreeShakingName:a,secondarySharedTreeShakingEntry:s,treeShakingStatus:c}=n;i.status!==c&&(i.status=c,s&&l&&a&&(i.get=async()=>{let e=await (0,o.getRemoteEntry)({origin:u,remoteInfo:{name:a,entry:s,type:l,entryGlobalName:a,shareScope:"default"}});return await e.init(u,t.federation.bundlerRuntime),e.get()}))})(e,r)})),r}}),n.init(r)}},91180(e,r){r.initContainerEntry=function(e){let{webpackRequire:r,shareScope:t,initScope:n,shareScopeKey:o,remoteEntryInitOptions:i}=e;if(!r.S||!r.federation||!r.federation.instance||!r.federation.initOptions)return;let a=r.federation.instance;a.initOptions({name:r.federation.initOptions.name,remotes:[],...i});let s=i?.shareScopeKeys,l=i?.shareScopeMap;if(o&&"string"!=typeof o)o.forEach(e=>{if(!s||!l)return void a.initShareScopeMap(e,t,{hostShareScopeMap:i?.shareScopeMap||{}});l[e]||(l[e]={});let r=l[e];a.initShareScopeMap(e,r,{hostShareScopeMap:i?.shareScopeMap||{}})});else{let e=o||"default";Array.isArray(s)?s.forEach(e=>{l[e]||(l[e]={});let r=l[e];a.initShareScopeMap(e,r,{hostShareScopeMap:i?.shareScopeMap||{}})}):a.initShareScopeMap(e,t,{hostShareScopeMap:i?.shareScopeMap||{}})}return(r.federation.attachShareScopeMap&&r.federation.attachShareScopeMap(r),Array.isArray(o))?r.federation.initOptions.shared?r.I(o,n):Promise.all(o.map(e=>r.I(e,n))).then(()=>!0):r.I(o||"default",n)}},62221(e,r,t){let n=t(33545),o=t(46917);r.initializeSharing=function({shareScopeName:e,webpackRequire:r,initPromises:t,initTokens:i,initScope:a}){let s=Array.isArray(e)?e:[e];var l=[],u=function(s){a||(a=[]);let l=r.federation.instance;var u=i[s];if(u||(u=i[s]={from:l.name}),a.indexOf(u)>=0)return;a.push(u);let c=t[s];if(c)return c;var p=t=>{var n=e=>{let r;return r="Initialization of sharing external failed: "+e,"u">typeof console&&console.warn&&console.warn(r)};try{var o=r(t);if(!o)return;var i=t=>t&&t.init&&t.init(r.S[s],a,{shareScopeMap:r.S||{},shareScopeKeys:e});if(o.then)return d.push(o.then(i,n));var l=i(o);if(l&&"boolean"!=typeof l&&l.then)return d.push(l.catch(n))}catch(e){n(e)}};let d=l.initializeSharing(s,{strategy:l.options.shareStrategy,initScope:a,from:"build"});n.attachShareScopeMap(r);let f=r.federation.bundlerRuntimeOptions.remotes;return(f&&Object.keys(f.idToRemoteMap).forEach(e=>{let r=f.idToRemoteMap[e],t=f.idToExternalAndNameMapping[e][2];if(r.length>1)p(t);else if(1===r.length){let e=r[0];o.FEDERATION_SUPPORTED_TYPES.includes(e.externalType)||p(t)}}),d.length)?t[s]=Promise.all(d).then(()=>t[s]=!0):t[s]=!0};return s.forEach(e=>{l.push(u(e))}),Promise.all(l).then(()=>!0)}},34307(e,r,t){let n=t(91092),o=t(12677);r.installInitialConsumes=function(e){n.updateConsumeOptions(e);let{moduleToHandlerMapping:r,webpackRequire:t,installedModules:i,initialConsumes:a,asyncLoad:s}=e,l=[];a.forEach(e=>{l.push([e,()=>(function(e){let{moduleId:r,moduleToHandlerMapping:t,webpackRequire:n,asyncLoad:i}=e,a=n.federation.instance;if(!a)throw Error("Federation instance not found!");let{shareKey:s,shareInfo:l}=t[r];try{let e=o.getUsedExports(n,s),r={...l};if(e&&(r.treeShaking={usedExports:e,useIn:[a.options.name]}),i)return a.loadShare(s,{customShareInfo:r});return a.loadShareSync(s,{customShareInfo:r})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}})({moduleId:e,moduleToHandlerMapping:r,webpackRequire:t,asyncLoad:s})])});let u=(e,n)=>{t.m[e]=o=>{i[e]=0,delete t.c[e];let a=n();if("function"!=typeof a)throw Error(`Shared module is not available for eager consumption: ${e}`);let s=a(),{shareInfo:l}=r[e];if(l?.shareConfig?.layer&&s&&"object"==typeof s)try{s.hasOwnProperty("layer")&&void 0!==s.layer||(s.layer=l.shareConfig.layer)}catch(e){}o.exports=s}};if(s)return Promise.all(l.map(async([e,r])=>{let t=await r();u(e,()=>t)}));l.forEach(([e,r])=>{u(e,r)})}},43586(e,r,t){t(50223);let n=t(33545),o=t(46917),i=t(91092),a=t(31853);r.remotes=function(e){i.updateRemoteOptions(e);let{chunkId:r,promises:t,webpackRequire:s,chunkMapping:l,idToExternalAndNameMapping:u,idToRemoteMap:c}=e;n.attachShareScopeMap(s),s.o(l,r)&&l[r].forEach(e=>{let r=s.R;r||(r=[]);let n=u[e],i=c[e]||[];if(r.indexOf(n)>=0)return;if(r.push(n),n.p)return t.push(n.p);let l=r=>{r||(r=Error("Container missing")),"string"==typeof r.message&&(r.message+=`
|
|
3
3
|
while loading "${n[1]}" from ${n[2]}`),s.m[e]=()=>{throw r},n.p=0},p=(e,r,o,i,a,s)=>{try{let u=e(r,o);if(!u||!u.then)return a(u,i,s);{let e=u.then(e=>a(e,i),l);if(!s)return e;t.push(n.p=e)}}catch(e){l(e)}};var d=(e,t,o)=>p(t.get,n[1],r,0,f,o),f=r=>{n.p=1,s.m[e]=e=>{e.exports=r()}};1===i.length&&o.FEDERATION_SUPPORTED_TYPES.includes(i[0].externalType)&&i[0].name?p(()=>{try{let e=(0,a.decodeName)(i[0].name,a.ENCODE_NAME_PREFIX)+n[1].slice(1),r=s.federation.instance,t=()=>s.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===r.options.shareStrategy){let e=Array.isArray(n[0])?n[0]:[n[0]];return Promise.all(e.map(e=>r.sharedHandler.initializeSharing(e))).then(()=>t())}return t()}catch(e){l(e)}},n[2],0,0,f,1):p(s,n[2],0,0,(e,r,t)=>e?p(s.I,n[0],0,e,d,t):l(),1)})}},91092(e,r){r.updateConsumeOptions=function(e){let{webpackRequire:r,moduleToHandlerMapping:t}=e,{consumesLoadingData:n,initializeSharingData:o}=r,{sharedFallback:i,bundlerRuntime:a,libraryType:s}=r.federation;if(n&&!n._updated){let{moduleIdToConsumeDataMapping:o={},initialConsumes:l=[],chunkMapping:u={}}=n;if(Object.entries(o).forEach(([e,n])=>{t[e]||(t[e]={getter:i?a?.getSharedFallbackGetter({shareKey:n.shareKey,factory:n.fallback,webpackRequire:r,libraryType:s}):n.fallback,treeShakingGetter:i?n.fallback:void 0,shareInfo:{shareConfig:{requiredVersion:n.requiredVersion,strictVersion:n.strictVersion,singleton:n.singleton,eager:n.eager,layer:n.layer},scope:Array.isArray(n.shareScope)?n.shareScope:[n.shareScope||"default"],treeShaking:i?{get:n.fallback,mode:n.treeShakingMode}:void 0},shareKey:n.shareKey})}),"initialConsumes"in e){let{initialConsumes:r=[]}=e;l.forEach(e=>{r.includes(e)||r.push(e)})}if("chunkMapping"in e){let{chunkMapping:r={}}=e;Object.entries(u).forEach(([e,t])=>{r[e]||(r[e]=[]),t.forEach(t=>{r[e].includes(t)||r[e].push(t)})})}n._updated=1}if(o&&!o._updated){let{federation:e}=r;if(!e.instance||!o.scopeToSharingDataMapping)return;let t={};for(let[e,r]of Object.entries(o.scopeToSharingDataMapping))for(let n of r)if("object"==typeof n&&null!==n){let{name:r,version:o,factory:i,eager:a,singleton:s,requiredVersion:l,strictVersion:u}=n,c={requiredVersion:`^${o}`},p=function(e){return void 0!==e};p(s)&&(c.singleton=s),p(l)&&(c.requiredVersion=l),p(a)&&(c.eager=a),p(u)&&(c.strictVersion=u);let d={version:o,scope:[e],shareConfig:c,get:i};t[r]?t[r].push(d):t[r]=[d]}e.instance.registerShared(t),o._updated=1}},r.updateRemoteOptions=function(e){let{webpackRequire:r,idToExternalAndNameMapping:t={},idToRemoteMap:n={},chunkMapping:o={}}=e,{remotesLoadingData:i}=r,a=r.federation?.bundlerRuntimeOptions?.remotes?.remoteInfos;if(!i||i._updated||!a)return;let{chunkMapping:s,moduleIdToRemoteDataMapping:l}=i;if(s&&l){for(let[e,r]of Object.entries(l))if(t[e]||(t[e]=[r.shareScope,r.name,r.externalModuleId]),!n[e]&&a[r.remoteName]){let t=a[r.remoteName];n[e]||=[],t.forEach(r=>{n[e].includes(r)||n[e].push(r)})}o&&Object.entries(s).forEach(([e,r])=>{o[e]||(o[e]=[]),r.forEach(r=>{o[e].includes(r)||o[e].push(r)})}),i._updated=1}}}},a={};function s(e){var r=a[e];if(void 0!==r)return r.exports;var t=a[e]={id:e,exports:{}};return i[e].call(t.exports,t,t.exports,s),t.exports}s.m=i,s.c=a,s.x=()=>s(14363),s.federation||(s.federation={chunkMatcher:function(e){return!/^(1558|1865|2635|5762|6259|934)$/.test(e)},rootOutputDir:""}),s.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return s.d(r,{a:r}),r},u=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(e,r){if(1&r&&(e=this(e)),8&r||"object"==typeof e&&e&&(4&r&&e.__esModule||16&r&&"function"==typeof e.then))return e;var t=Object.create(null);s.r(t);var n={};l=l||[null,u({}),u([]),u(u)];for(var o=2&r&&e;("object"==typeof o||"function"==typeof o)&&!~l.indexOf(o);o=u(o))Object.getOwnPropertyNames(o).forEach(r=>{n[r]=()=>e[r]});return n.default=()=>e,s.d(t,n),t},s.d=(e,r)=>{for(var t in r)s.o(r,t)&&!s.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((r,t)=>(s.f[t](e,r),r),[])),s.u=e=>""+e+".js",s.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),s.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),c={},s.l=function(e,r,t,n){if(c[e])return void c[e].push(r);if(void 0!==t)for(var o,i,a=document.getElementsByTagName("script"),l=0;l<a.length;l++){var u=a[l];if(u.getAttribute("src")==e||u.getAttribute("data-rspack")=="@kenyaemr/esm-express-workflow-app:"+t){o=u;break}}o||(i=!0,(o=document.createElement("script")).timeout=120,s.nc&&o.setAttribute("nonce",s.nc),o.setAttribute("data-rspack","@kenyaemr/esm-express-workflow-app:"+t),o.src=e),c[e]=[r];var p=function(r,t){o.onerror=o.onload=null,clearTimeout(d);var n=c[e];if(delete c[e],o.parentNode&&o.parentNode.removeChild(o),n&&n.forEach(function(e){return e(t)}),r)return r(t)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=p.bind(null,o.onerror),o.onload=p.bind(null,o.onload),i&&document.head.appendChild(o)},s.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nc=void 0,s.rv=()=>"1.7.9",s.S={},s.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"@openmrs/esm-framework",version:"10.0.1-pre.5263",factory:()=>Promise.all([s.e("3989"),s.e("7209"),s.e("257"),s.e("9011"),s.e("4818"),s.e("689"),s.e("1659"),s.e("9087"),s.e("1831"),s.e("221"),s.e("1278"),s.e("2537"),s.e("9060"),s.e("7022"),s.e("1148"),s.e("8028"),s.e("820"),s.e("356"),s.e("2916"),s.e("3335"),s.e("2648"),s.e("6634"),s.e("2202"),s.e("2556"),s.e("6337"),s.e("1620"),s.e("8178"),s.e("5958"),s.e("4215"),s.e("1520"),s.e("2814"),s.e("647"),s.e("4588"),s.e("6478"),s.e("393"),s.e("8762"),s.e("6273"),s.e("8240"),s.e("5676"),s.e("4178"),s.e("9520"),s.e("6427"),s.e("2534"),s.e("5967"),s.e("7360"),s.e("9213"),s.e("989"),s.e("8924"),s.e("8864"),s.e("4308"),s.e("7101"),s.e("2947"),s.e("7904"),s.e("3504"),s.e("6161"),s.e("8225"),s.e("5514"),s.e("5762"),s.e("1558"),s.e("6259"),s.e("2635"),s.e("1865")]).then(()=>()=>s(45263)),eager:0,singleton:1,requiredVersion:"9.x",strictVersion:0},{name:"dayjs",version:"1.11.21",factory:()=>s.e("5697").then(()=>()=>s(23464)),eager:0,singleton:1,requiredVersion:"1.x",strictVersion:0},{name:"react-i18next",version:"16.0.0",factory:()=>Promise.all([s.e("1789"),s.e("1558")]).then(()=>()=>s(42348)),eager:0,singleton:1,requiredVersion:"11.x",strictVersion:0},{name:"react-router-dom",version:"6.30.4",factory:()=>Promise.all([s.e("689"),s.e("2842"),s.e("5086"),s.e("1558")]).then(()=>()=>s(12689)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0},{name:"react",version:"18.3.1",factory:()=>s.e("466").then(()=>()=>s(14041)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"swr/_internal",version:"2.4.2",factory:()=>Promise.all([s.e("3989"),s.e("1558")]).then(()=>()=>s(42372)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/immutable",version:"2.4.2",factory:()=>Promise.all([s.e("3989"),s.e("7209"),s.e("1558"),s.e("1442")]).then(()=>()=>s(29876)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/infinite",version:"2.4.2",factory:()=>Promise.all([s.e("3989"),s.e("7209"),s.e("1558"),s.e("9771")]).then(()=>()=>s(52470)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0}]},uniqueName:"@kenyaemr/esm-express-workflow-app"},s.I=s.I||function(){throw Error("should have __webpack_require__.I")},s.g.importScripts&&(p=s.g.location+"");var l,u,c,p,d=s.g.document;if(!p&&d&&(d.currentScript&&"SCRIPT"===d.currentScript.tagName.toUpperCase()&&(p=d.currentScript.src),!p)){var f=d.getElementsByTagName("script");if(f.length)for(var h=f.length-1;h>-1&&(!p||!/^http(s?):/.test(p));)p=f[h--].src}if(!p)throw Error("Automatic publicPath is not supported in this browser");s.p=p=p.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.consumesLoadingData={chunkMapping:{2635:["36142","80976","58088"],6259:["36510"],934:["3813"],1865:["97744"],1558:["43925"],5762:["75721"],8296:["1487"]},moduleIdToConsumeDataMapping:{3813:{shareScope:"default",shareKey:"@openmrs/esm-framework/src/internal",import:"@openmrs/esm-framework/src/internal",requiredVersion:"*",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("3989"),s.e("7209"),s.e("257"),s.e("9011"),s.e("4818"),s.e("1659"),s.e("9087"),s.e("1831"),s.e("221"),s.e("1278"),s.e("2537"),s.e("9060"),s.e("7022"),s.e("1148"),s.e("8028"),s.e("820"),s.e("356"),s.e("2916"),s.e("3335"),s.e("2648"),s.e("6634"),s.e("2202"),s.e("2556"),s.e("6337"),s.e("1620"),s.e("8178"),s.e("5958"),s.e("4215"),s.e("1520"),s.e("2814"),s.e("647"),s.e("4588"),s.e("6478"),s.e("393"),s.e("8762"),s.e("6273"),s.e("8240"),s.e("5676"),s.e("4178"),s.e("9520"),s.e("6427"),s.e("2534"),s.e("5967"),s.e("7360"),s.e("9213"),s.e("5762"),s.e("6259"),s.e("1865")]).then(()=>()=>s(45263))},75721:{shareScope:"default",shareKey:"react-router-dom",import:"react-router-dom",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("2842"),s.e("5086")]).then(()=>()=>s(12689))},58088:{shareScope:"default",shareKey:"react-i18next",import:"react-i18next",requiredVersion:"11.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("1789").then(()=>()=>s(42348))},97744:{shareScope:"default",shareKey:"swr/infinite",import:"swr/infinite",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("2152").then(()=>()=>s(52470))},36142:{shareScope:"default",shareKey:"swr/immutable",import:"swr/immutable",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("3989"),s.e("7209"),s.e("9061")]).then(()=>()=>s(29876))},36510:{shareScope:"default",shareKey:"swr/_internal",import:"swr/_internal",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>()=>s(42372)},43925:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("466").then(()=>()=>s(14041))},80976:{shareScope:"default",shareKey:"dayjs",import:"dayjs",requiredVersion:"1.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("5697").then(()=>()=>s(23464))},1487:{shareScope:"default",shareKey:"@openmrs/esm-framework",import:"@openmrs/esm-framework",requiredVersion:"9.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("3989"),s.e("7209"),s.e("257"),s.e("9011"),s.e("4818"),s.e("1659"),s.e("9087"),s.e("1831"),s.e("221"),s.e("1278"),s.e("2537"),s.e("9060"),s.e("7022"),s.e("1148"),s.e("8028"),s.e("820"),s.e("356"),s.e("2916"),s.e("3335"),s.e("2648"),s.e("6634"),s.e("2202"),s.e("2556"),s.e("6337"),s.e("1620"),s.e("8178"),s.e("5958"),s.e("4215"),s.e("1520"),s.e("2814"),s.e("647"),s.e("4588"),s.e("6478"),s.e("393"),s.e("8762"),s.e("6273"),s.e("8240"),s.e("5676"),s.e("4178"),s.e("9520"),s.e("6427"),s.e("2534"),s.e("5967"),s.e("7360"),s.e("9213"),s.e("5762"),s.e("6259"),s.e("1865")]).then(()=>()=>s(45263))}},initialConsumes:[]},s.f.consumes=s.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")},s.initializeExposesData={moduleMap:{"./start":()=>Promise.all([s.e("689"),s.e("989"),s.e("8924"),s.e("8864"),s.e("4308"),s.e("7101"),s.e("2947"),s.e("7904"),s.e("3504"),s.e("6161"),s.e("8225"),s.e("5514"),s.e("8888"),s.e("1974"),s.e("6738"),s.e("1821"),s.e("8150"),s.e("1402"),s.e("8224"),s.e("5869"),s.e("5093"),s.e("5568"),s.e("1558"),s.e("2635"),s.e("8296")]).then(()=>()=>s(96459))},shareScope:"default"},s.getContainer=s.getContainer||function(){throw Error("should have __webpack_require__.getContainer")},s.initContainer=s.initContainer||function(){throw Error("should have __webpack_require__.initContainer")},e={8323:0},s.f.j=function(r,t){var n=s.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(1558|1865|2635|5762|6259|934)$/.test(r))e[r]=0;else{var o=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=o);var i=s.p+s.u(r),a=Error();s.l(i,function(t){if(s.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;a.message="Loading chunk "+r+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,n[1](a)}},"chunk-"+r,r)}},r=(r,t)=>{var n,o,[i,a,l]=t,u=0;if(i.some(r=>0!==e[r])){for(n in a)s.o(a,n)&&(s.m[n]=a[n]);l&&l(s)}for(r&&r(t);u<i.length;u++)o=i[u],s.o(e,o)&&e[o]&&e[o][0](),e[o]=0},(t=globalThis.webpackChunk_kenyaemr_esm_express_workflow_app=globalThis.webpackChunk_kenyaemr_esm_express_workflow_app||[]).forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t)),s.ruid="bundler=rspack@1.7.9",n=s.x,o=!1,s.x=function(){if(o||(o=!0,s(94646)),"function"==typeof n)return n();console.warn("[MF] Invalid prevStartup")},_kenyaemr_esm_express_workflow_app=s.x()})();
|
|
@@ -591,7 +591,7 @@
|
|
|
591
591
|
"auxiliaryFiles": [
|
|
592
592
|
"main.js.map"
|
|
593
593
|
],
|
|
594
|
-
"hash": "
|
|
594
|
+
"hash": "f47d54b95de72f57",
|
|
595
595
|
"childrenByOrder": {}
|
|
596
596
|
},
|
|
597
597
|
{
|
|
@@ -3819,7 +3819,7 @@
|
|
|
3819
3819
|
"auxiliaryFiles": [
|
|
3820
3820
|
"kenyaemr-esm-express-workflow-app.js.map"
|
|
3821
3821
|
],
|
|
3822
|
-
"hash": "
|
|
3822
|
+
"hash": "0300c25673706e52",
|
|
3823
3823
|
"childrenByOrder": {}
|
|
3824
3824
|
},
|
|
3825
3825
|
{
|
package/dist/main.js
CHANGED
|
@@ -14,6 +14,6 @@ Instead found: ${n.outerHTML}`;throw console.error(e),Error(e)}},[t,e])},l=(e,t=
|
|
|
14
14
|
|
|
15
15
|
Instead found: ${n.outerHTML}`)},[t,e])},o=(e,t)=>{if(t(e))return e;for(let r of e.children){if(!(r instanceof HTMLElement))continue;let e=o(r,t);if(e)return e}return null},i=e=>o(e,h),s=e=>{let t=e.getAttribute("role");return null!==t&&""!==t},c=e=>o(e,s),h=e=>{if(e.tabIndex<0||(e instanceof HTMLButtonElement||e instanceof HTMLInputElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement)&&e.disabled)return!1;switch(e.nodeName){case"A":return e instanceof HTMLAnchorElement&&!!e.href&&"ignore"!==e.rel;case"INPUT":return e instanceof HTMLInputElement&&"hidden"!==e.type;default:return!0}}},2333(e,t,r){"use strict";r.d(t,{l:()=>s});var n=r(7818),a=r(934);r(43925);var l=r(31085),o=r(43295),i=r(8680);let s=({id:e,readOnly:t,disabled:r,invalid:s,invalidText:c,warn:h,warnText:d})=>{let u=(0,n.M)(),f={disabled:!t&&r,invalid:!t&&!r&&s,invalidId:`${e}-error-msg`,warn:!t&&!s&&!r&&h,warnId:`${e}-warn-msg`,validation:null,icon:null,helperId:`${e}-helper-text`};return f.invalid?(f.icon=o.BF,f.validation=(0,l.jsx)(a.E,{as:"div",className:`${u}--form-requirement`,id:f.invalidId,children:c})):f.warn&&(f.icon=i.OR,f.validation=(0,l.jsx)(a.E,{as:"div",className:`${u}--form-requirement`,id:f.warnId,children:d})),f}},29995(e,t,r){"use strict";r.d(t,{j:()=>o});var n=r(64580),a=r(81788),l=r(43925);let o=(e,t)=>{let r=(0,l.useRef)(t);(0,l.useEffect)(()=>{r.current=t},[t]),(0,n.M)("click",t=>{if(!a.S)return;let{target:n}=t;n instanceof Node&&e.current&&!e.current.contains(n)&&r.current(t)})}},7818(e,t,r){"use strict";r.d(t,{M:()=>o,s:()=>l});var n=r(43925),a=r.n(n);let l=a().createContext("cds");function o(){return a().useContext(l)}},60607(e,t,r){"use strict";r.d(t,{c:()=>o});var n=r(7818),a=r(97618),l=r(43925);let o=(e,t)=>{let r=(0,l.useRef)(t),o=(0,l.useRef)(null),i=(0,l.useRef)(null);t||!i.current||o.current||(r.current=null),i.current=o.current;let{isPresent:s,isExiting:c}=((e,t)=>{let r=(0,n.M)(),[o,i]=(0,l.useState)(t?"idle":"finished"),s="active"===o;return(0,a.A)(()=>{i(e=>t||"idle"!==e?t&&"idle"!==e?"idle":e:"active")},[t]),(0,a.A)(()=>{if(!e.current||!s)return;if(!("getAnimations"in e.current))return void i("finished");let t=e.current.getAnimations({subtree:!0}).filter(e=>e instanceof CSSAnimation&&e.animationName.startsWith(`${r}--presence`));if(!t.length)return void i("finished");let n=!1;return Promise.all(t.map(e=>e.finished)).finally(()=>{n||i("finished")}),()=>{n=!0}},[e,s,r]),{isPresent:t||"finished"!==o,isExiting:s}})(o,e),h=(0,l.useCallback)(e=>!!e&&(!r.current||r.current===e)&&(r.current=e,!0),[]);return[s,(0,l.useMemo)(()=>({presenceRef:o,isPresenceExclusive:h,isExiting:c}),[o,h,c])]}},60498(e,t,r){"use strict";r.d(t,{S:()=>a});var n=r(43925);let a=e=>{let t=(0,n.useRef)(void 0);return(0,n.useEffect)(()=>{t.current=e},[e]),t.current}},14368(e,t,r){"use strict";r.d(t,{w:()=>l});var n=r(97618),a=r(43925);let l=({ref:e,onResize:t})=>{let[r,l]=(0,a.useState)(-1),[o,i]=(0,a.useState)(-1),s=(0,a.useRef)(null),c=(0,a.useRef)(t);return(0,a.useEffect)(()=>{c.current=t},[t]),(0,a.useEffect)(()=>{if(e?.current&&(!(r>=0)||!(o>=0))&&e.current){let t=window.getComputedStyle(e.current),r=(e.current?.offsetWidth??0)-("string"==typeof t?.paddingLeft&&t?.paddingLeft.length?parseFloat(t?.paddingLeft):0)-("string"==typeof t?.paddingRight&&t?.paddingRight.length?parseFloat(t?.paddingRight):0),n=(e.current?.offsetHeight??0)-("string"==typeof t?.paddingTop&&t?.paddingTop.length?parseFloat(t?.paddingTop):0)-("string"==typeof t?.paddingBottom&&t?.paddingBottom.length?parseFloat(t?.paddingBottom):0);l(r),i(n)}},[r,o]),(0,n.A)(()=>{if(!e?.current)return;let t=new ResizeObserver(t=>{s.current=t,window.requestAnimationFrame(()=>{(()=>{if(!e?.current||!Array.isArray(s?.current))return;let t=s.current[0];l(t.contentRect.width),i(t.contentRect.height),c.current?.(t.contentRect)})()})});return t.observe(e.current),()=>{t.disconnect()}},[]),{width:r,height:o}}},58924(e,t,r){"use strict";r.d(t,{Y:()=>a});var n=r(43925);let a=(e,t)=>(0,n.isValidElement)(e)&&e.type===t},39889(e,t,r){"use strict";r.d(t,{$:()=>n});let n=(e,t)=>{if(void 0===t)throw Error("`warning(condition, message)` requires a warning format argument");e||console.warn("Warning: "+t)}},77237(e,t,r){"use strict";r.d(t,{MG:()=>c,Vp:()=>s,jo:()=>i});var n=r(89461),a=r(80679);let l="u">typeof Node?Node.DOCUMENT_POSITION_PRECEDING|Node.DOCUMENT_POSITION_CONTAINS:0,o="u">typeof Node?Node.DOCUMENT_POSITION_FOLLOWING|Node.DOCUMENT_POSITION_CONTAINED_BY:0,i=(e,t=[],r="cds")=>e instanceof Element&&"function"==typeof e.closest&&[`.${r}--overflow-menu-options`,`.${r}--tooltip`,".flatpickr-calendar",...t].some(t=>!!e.closest(t)),s=({bodyNode:e,startTrapNode:t,endTrapNode:r,currentActiveNode:a,oldActiveNode:s,selectorsFloatingMenus:c,prefix:h="cds"})=>{if(e&&a&&s&&!e.contains(a)&&!i(a,c,h)){let i=s.compareDocumentPosition(a);if(a===t||i&l){let t=Array.from(e.querySelectorAll(n.Bx)).reverse().find(({offsetParent:e})=>!!e);t?t.focus():e!==s&&e.focus()}else if(a===r||i&o){let t=Array.from(e.querySelectorAll(n.Bx)).find(({offsetParent:e})=>!!e);t?t.focus():e!==s&&e.focus()}}},c=({containerNode:e,currentActiveNode:t,event:r})=>{if(!e)return;if(["blur","focusout","focusin","focus"].includes(r.type)&&1)throw Error(`Error: wrapFocusWithoutSentinels(...) called in unsupported ${r.type} event.
|
|
16
16
|
|
|
17
|
-
Call wrapFocusWithoutSentinels(...) from onKeyDown instead.`);let n=(0,a.Kr)(e),l=n[0],o=n[n.length-1];t!==o||r.shiftKey||(r.preventDefault(),l.focus()),t===l&&r.shiftKey&&(r.preventDefault(),o.focus())}},30218(e,t,r){"use strict";r.d(t,{C:()=>l});var n=r(39889);let a=new Map,l=(e,t)=>(r,l,o,...i)=>{if(void 0===r[l])return;a.has(o)||a.set(o,new Set);let s=a.get(o);return s&&!s.has(l)&&(s.add(l),(0,n.$)(!1,t||`The prop \`${l}\` has been deprecated for the ${o} component. It will be removed in the next major release`)),e(r,l,o,...i)}},24659(e,t,r){"use strict";r.d(t,{v:()=>l});var n=r(39889);let a={},l=(e,t)=>{if(e)return a[e]||(a[e]=!0,(0,n.$)(!1,t||`The ${e} component has been deprecated and will be removed in the next major release.`)),e}},5971(e,t,r){"use strict";r.d(t,{R:()=>l});var n=r(39889);let a={},l=(e,t,r)=>(l,o,i,...s)=>{if(void 0===l[o])return null;if(!a[i]||!a[i][o]){a[i]={...a[i],[o]:!0};let e=l[o],s=r?r(e):null;t&&!t.includes(e)&&(0,n.$)(!1,r?`"${e}" is a deprecated value for the "${o}" prop on the "${i}" component. Use "${s}" instead. "${e}" will be removed in the next major release.`:`"${e}" is a deprecated value for the "${o}" prop on the "${i}" component. Allowed values is/are: ${t.join(", ")}. "${e}" will be removed in the next major release. `)}return e(l,o,i,...s)}},20059(e,t,r){"use strict";r.d(t,{h:()=>n});let n=(e,t)=>(r,n,a,...l)=>!0===r[e]&&null===r[n]?Error(`You must provide a value for \`${n}\` in \`${a}\` if \`${e}\` exists.`):t(r,n,a,...l)},42838(e,t,r){"use strict";r.d(t,{m:()=>n});let n=e=>(t,...r)=>{for(let n of e){if(t.defaultPrevented)break;"function"==typeof n&&n(t,...r)}}},69191(e,t,r){"use strict";r.d(t,{F:()=>a});let n={"top-left":"top-start","top-right":"top-end","bottom-left":"bottom-start","bottom-right":"bottom-end","left-bottom":"left-end","left-top":"left-start","right-bottom":"right-end","right-top":"right-start"},a=e=>n[e]??e},41693(e,t,r){"use strict";r.d(t,{P:()=>n});let n=(...e)=>t=>{e.forEach(e=>{e&&("function"==typeof e?e(t):"object"==typeof e&&"current"in e&&(e.current=t))})}},31526(e,t,r){"use strict";r.d(t,{Y:()=>n});let n=()=>{let e=0;return()=>++e}},36567(e,t,r){"use strict";r.d(t,{p:()=>n});let n=(e,t,r)=>{e.classList.toggle(t,r)}},49540(e,t,r){"use strict";r.d(t,{A:()=>h});var n=r(7818),a=r(53373),l=r.n(a),o=r(43925),i=r.n(o),s=r(39067),c=r.n(s);let h=({name:e,className:t,type:r})=>{function a({className:e,...o}){let s=(0,n.M)(),c=l()("function"==typeof t?t(s):t,e);return i().createElement(r,{...o,className:c||void 0})}return a.displayName=e,a.propTypes={className:c().string},a}},84767(e,t,r){var n={"./en.json":["34300","5117"],"./sw.json":["89913","3378"],"./am.json":["81197","9806"],"./fr.json":["94055","6508"]};function a(e){if(!r.o(n,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=n[e],a=t[0];return r.e(t[1]).then(function(){return r(a)})}a.keys=()=>Object.keys(n),a.id=84767,e.exports=a},77488(e,t,r){"use strict";r.d(t,{$h:()=>A,C_:()=>S,D1:()=>er,D5:()=>I,DL:()=>H,DV:()=>_,Dc:()=>et,Do:()=>R,Dz:()=>P,EB:()=>eh,EL:()=>J,GM:()=>D,GZ:()=>F,Gd:()=>es,Ij:()=>z,Ip:()=>h,JS:()=>u,JV:()=>E,NZ:()=>en,Oh:()=>L,PM:()=>x,QO:()=>m,RM:()=>B,Rz:()=>W,SA:()=>U,UE:()=>G,UI:()=>o,YJ:()=>ed,Zv:()=>$,Zw:()=>b,_1:()=>X,_H:()=>ec,c1:()=>ea,jC:()=>d,kC:()=>el,lR:()=>N,mK:()=>i,mN:()=>w,nQ:()=>eo,o:()=>g,oJ:()=>K,oW:()=>y,or:()=>ei,p9:()=>O,q4:()=>f,qT:()=>v,rD:()=>M,rV:()=>c,rX:()=>Q,tl:()=>s,uv:()=>p,v9:()=>j,vY:()=>q,v_:()=>T,w8:()=>V,wX:()=>C,x2:()=>l,xv:()=>ee,yf:()=>k,zK:()=>Y,zo:()=>Z});var n=r(1487),a=r(40297),l={identifierTypes:{_type:n.Type.Array,_elements:{_type:n.Type.Object,properties:{identifierType:{_type:n.Type.String},identifierValue:{_type:n.Type.String}}},_default:[{identifierType:"Select an identifier type",identifierValue:"select-identifier-type"},{identifierType:"National ID",identifierValue:"National ID"},{identifierType:"Passport Number",identifierValue:"Passport Number"},{identifierType:"Birth Certificate Number",identifierValue:"Birth Certificate Number"},{identifierType:"Alien ID Number",identifierValue:"Alien ID"},{identifierType:"Refugee ID Number",identifierValue:"Refugee ID"},{identifierType:"Birth Notification Number",identifierValue:"Birth Notification"},{identifierType:"Mandate Number",identifierValue:"Mandate Number"},{identifierType:"Temporary ID",identifierValue:"Temporary ID"}],_description:"List of identifier types with unique keys for each."},supersetDashboardConfig:{_type:n.Type.Object,_description:"Superset embeded dashboards config",_default:{host:"http://34.35.62.41:8080",dashboardId:"bd7102f9-9291-4a11-9b98-8a17d9142cac"}},concepts:{defaultPriorityConceptUuid:{_type:n.Type.ConceptUuid,_description:"The UUID of the default priority for the queues eg Not urgent.",_default:""},defaultStatusConceptUuid:{_type:n.Type.ConceptUuid,_description:"The UUID of the default status for the queues eg Waiting.",_default:"167407AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},emergencyPriorityConceptUuid:{_type:n.Type.ConceptUuid,_description:"The UUID of the priority with the highest sort weight for the queues eg Emergency.",_default:"037446f4-adfc-40b3-928c-a39a4826b1bf"}},visitQueueNumberAttributeUuid:{_type:n.Type.String,_description:"The UUID of the visit attribute that contains the visit queue number.",_default:"c61ce16f-272a-41e7-9924-4c555d0932c5"},patientChartConfig:{_type:n.Type.Object,_description:"Patient chart Tabs config",_default:{femaleOnlyExtensions:["charts-partography-dashboard"],excludeFromMainChart:["charts-partography-dashboard"],includeInMchChart:["charts-partography-dashboard","charts-summary-dashboard","care-panel-summary-dashboard-link","patient-orders-summary-dashboard","test-results-summary-dashboard","attachments-results-summary-dashboard","charts-mch-program-management-dashboard"],excludeExtensions:[]}},queueServiceConceptUuids:{_type:n.Type.Object,_description:"Concept UUIDs for queue service",_default:{triageService:"167411AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",consultationService:"167410AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",procedureService:"164164AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}},queueStatusConceptUuids:{_type:n.Type.Object,_description:"Concept UUIDs for queue status",_default:{waitingStatus:"167407AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",inServiceStatus:"167408AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",finishedStatus:"167409AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}},labOrderTypeUuid:{_type:n.Type.String,_description:"UUID for lab order type",_default:"52a447d3-a64a-11e3-9aeb-50e549534c5e"},imagingOrderTypeUuid:{_type:n.Type.String,_description:"UUID for imaging order type",_default:"b4a7c280-369e-4d12-9ce8-18e36783fed6"},imagingConceptClassUuid:{_type:n.Type.String,_description:"Concept class UUID for imaging orders",_default:"8caa332c-efe4-4025-8b18-3398328e1323"},orderableConceptSets:{_type:n.Type.Array,_elements:{_type:n.Type.String},_default:["9a6f10d6-7fc5-4fb7-9428-24ef7b8d01f7"],_description:"UUIDs for orderable concept sets"},imagingOrderableConceptSets:{_type:n.Type.Array,_elements:{_type:n.Type.String},_default:["164068AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],_description:"UUIDs for imaging orderable concept sets"},clinicalEncounter:{_type:n.Type.Object,_description:"Clinical encounter type UUID and form UUID",_default:{encounterTypeUuid:"465a92f2-baf8-42e9-9612-53064be868e8",formUuid:"e958f902-64df-4819-afd4-7fb061f59308"}},priorities:{_type:n.Type.Object,_description:"Queue priority concept uuids",_default:{emergencyPriorityConceptUuid:"037446f4-adfc-40b3-928c-a39a4826b1bf",urgentPriorityConceptUuid:"ef5718cd-d6d5-4fcf-bb82-cc4afaa90603",notUrgentPriorityConceptUuid:"80cd8f8c-5d82-4cdc-b96e-a6addeb94b7f"}},otpExpirationDurationInminutes:{_type:n.Type.Number,_description:"OTP Number Expiration dutration in minutes",_default:1},proceduresConceptClassUuid:{_type:n.Type.ConceptUuid,_description:"Concept class UUID for procedures orders",_default:"8d490bf4-c2cc-11de-8d13-0010c6dffd0f"},maintenanceAgentOptions:{_type:n.Type.Array,_elements:{_type:n.Type.Object,properties:{value:{_type:n.Type.ConceptUuid},label:{_type:n.Type.String}}},_description:"Configurable list of maintenance-of-anaesthesia agents shown in the interoperative drug form (e.g. Halothane, Isoflurane). Override per deployment.",_default:[{value:"77343AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Halothane"},{value:"83872AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Sevoflurane"},{value:"78258AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Isoflurane"},{value:"82726AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Propofol"},{value:"78467AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Ketamine"},{value:"74640AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Dexmedetomidine"}]},proceduresOrderTypeUuid:{_type:n.Type.String,_description:"Procedure Order type UUID",_default:"b4a7c280-369e-4d12-9ce8-18e36783fed6"},triageServiceConceptUuid:{_type:n.Type.ConceptUuid,_description:"Concept UUID for triage service",_default:"167411AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},labServiceConceptUuid:{_type:n.Type.ConceptUuid,_description:"Concept UUID for lab service",_default:"c9604249-db0a-4d03-b074-fc6bc2fa13e6"},pharmacyServiceConceptUuid:{_type:n.Type.ConceptUuid,_description:"Concept UUID for pharmacy service",_default:"b75e466f-a6f5-4d5e-849a-84424d3c85cd"},radiologyServiceConceptUuid:{_type:n.Type.ConceptUuid,_description:"Concept UUID for radiology service",_default:"160463AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},inpatientDrugOrderTypeUuid:{_type:n.Type.String,_description:"Order type UUID for inpatient drug orders.",_default:"131168f4-15f5-102d-96e4-000c29c2a5d7"},inpatientCareSettingUuid:{_type:n.Type.String,_description:"Care setting UUID for inpatient orders.",_default:"6f0c9a92-6f24-11e3-af88-005056821db0"},inpatientLocationTags:{_default:{maternityWard:"b95dd376-fa35-40a6-b140-d144c5f22f62",labourWard:"7680b7ee-6880-450c-8b7e-2a748b6f9dc7"}},outpatientVisitTypeUuid:{_type:n.Type.String,_description:"The UUID of the outpatient visit type.",_default:"3371a4d4-f66f-4454-a86d-92c7b3da990c"},inPatientVisitTypeUuid:{_type:n.Type.String,_description:"The UUID of the in-patient visit type.",_default:"a73e2ac6-263b-47fc-99fc-e0f2c09fc914"},defaultFacilityUrl:{_type:n.Type.String,_default:"",_description:"Custom URL to load default facility if it is not in the session"},offlineVisitTypeUuid:{_type:n.Type.UUID,_description:"The UUID of the visit type to be used for the automatically created offline visits.",_default:""},showRecommendedVisitTypeTab:{_type:n.Type.Boolean,_description:"Whether start visit form should display recommended visit type tab. Requires `visitTypeResourceUrl`",_default:!1},visitTypeResourceUrl:{_type:n.Type.String,_default:"",_description:"Custom URL to load resources required for showing recommended visit types"},disableChangingVisitLocation:{_type:n.Type.Boolean,_description:"Whether the visit location field in the Start Visit form should be view-only.",_default:!1},enableDemographicSync:{_type:n.Type.Boolean,_description:"Whether registrars can compare a local patient against the HIE record and overwrite the local demographics with the HIE values. Off by default because syncing rewrites the local record.",_default:!0},visitAttributeTypes:{_type:n.Type.Array,_elements:{_type:n.Type.Object,uuid:{_type:n.Type.UUID,_description:"UUID of the visit attribute type"},required:{_type:n.Type.Boolean,_description:"Whether the attribute type field is required or not",_default:!1},displayInThePatientBanner:{_type:n.Type.Boolean,_description:"Whether we should show this visit attribute's value in the patient banner",_default:!0}},_description:"List of visit attribute types shown when filling the visit form",_default:[]},showUpcomingAppointments:{_type:n.Type.Boolean,_description:"Whether start visit form should display upcoming appointments",_default:!1},excludedVisitTypeUuids:{_type:n.Type.Array,_elements:{_type:n.Type.UUID},_default:["02b67c47-6071-4091-953d-ad21452e830c"],_description:"List of visit type UUIDs to exclude from the start visit form"},isDHAWorkflow:{_type:n.Type.Boolean,_description:"Whether the workflow is DHA Workflow",_default:!0},crIdentificationNumberUUID:{_type:n.Type.String,_description:"The patient identifier type UUID for the SHA Client Registry (CR) number, used for virtual claims and OTP/biometric authentication.",_default:"24aedd37-b5be-4e08-8311-3721b8d5100d"},providerNationalIdUuid:{_type:n.Type.String,_description:"The provider attribute type UUID for the national ID, used in SHA biometric authorization requests.",_default:"3d152c97-2293-4a2b-802e-e0f1009b7b15"},nationalIdUUID:{_type:n.Type.String,_description:"The patient identifier type UUID for the national ID, used for SHA eligibility checks.",_default:"49af6cdc-7968-4abb-bf46-de10d7f4859f"},phoneAttributeTypeUUID:{_type:n.Type.String,_description:"The person attribute type UUID for the telephone contact number.",_default:"b2c38640-2603-4629-aebd-3b54f33f1e3a"},shaNumberUUID:{_type:n.Type.String,_description:"The patient identifier type UUID for the SHA (Social Health Authority) membership number.",_default:"52c3c0c3-05b8-4b26-930e-2a6a54e14c90"},passportUUID:{_type:n.Type.String,_description:"The patient identifier type UUID for the passport number.",_default:"be9beef6-aacc-4e1f-ac4e-5babeaa1e303"},birthCertificateUUID:{_type:n.Type.String,_description:"The patient identifier type UUID for the birth certificate number.",_default:"68449e5a-8829-44dd-bfef-c9c8cf2cb9b2"},icd11DataSourceUuid:{_type:n.Type.String,_description:"UUID for ICD-11 concept source used in diagnosis search",_default:"39ADDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD"},haemodialysis:{_type:n.Type.Object,_description:"Haemodialysis Flow Chart (v1.2) form UUIDs, encounter metadata, concept UUIDs by section, and monitoring slot timing",_default:a.i},anaesthetic:{_type:n.Type.Object,_description:"Anaesthetic module configuration",_default:{conceptMappings:{"fetal-heart-rate":["1440AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],"blood-pressure":["5085AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","5086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],"maternal-pulse":["5087AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],temperature:["5088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],"cervical-dilation":["162261AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],"descent-of-head":["1810AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],"uterine-contractions":["163750AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],"urine-analysis":["161442AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","887AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","165438AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],"drugs-fluids":["1282AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","161911AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],"progress-events":["162879AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","1440AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","162261AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","163750AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"]},stationDisplayMapping:{"160769AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":"0/5","162135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":"1/5","166065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":"2/5","166066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":"3/5","166067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":"4/5","163734AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":"5/5"},stationValueMapping:{"160769AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":0,"162135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":1,"166065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":2,"166066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":3,"166067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":4,"163734AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":5},encounterPatterns:["mch-partograph","partography","fetal-monitoring","maternal-monitoring","obstetric-vitals","labor-monitoring","labour-monitoring"],fallbackEncounterMapping:{"fetal-heart-rate":["mch-mother-consultation","vitals","obstetric","maternal","consultation","clinical"],"cervical-dilation":["mch-mother-consultation","obstetric","maternal","consultation","clinical"],"maternal-pulse":["vitals","maternal","consultation","clinical"],"blood-pressure":["vitals","maternal","consultation","clinical"],temperature:["vitals","consultation","clinical"],"urine-analysis":["vitals","laboratory","consultation","clinical"],"drugs-fluids":["medication","treatment","consultation","clinical"],"progress-events":["obstetric","maternal","consultation","clinical"]},defaultFallbackSequence:["consultation","clinical"],retryFallbackTypes:["vitals","consultation","clinical"],defaultEncounterProviderRole:"a0b03050-c99b-11e0-9572-0800200c9a66",defaultLocationUuid:"1",storage:{maxLocalEntries:100,storageKeyPrefix:"partography_",cacheKeyPrefix:"partography_encounters_"},timeConfig:{defaultEncounterOffset:3e5,retryEncounterOffset:36e5,cacheInvalidationDelay:1e3},progressEventConceptNames:{"1440AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":{name:"Fetal Heart Rate",unit:"BPM"},"162261AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":{name:"Cervical Dilation",unit:"cm"},"163750AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":{name:"Uterine Contractions",unit:"per 10min"}},uuids:{timeSlot:"a1b2c3d4-1111-2222-3333-444455556666",mchPartographyEncounterUuid:"d14dde5b-95dc-40a1-8ff0-acad34fb58b2",drugsFluidsEncounterUuid:"39da3525-afe4-45ff-8977-c53b7b359158",contractionStrongConceptUuid:"4b90b73a-ad11-4650-91b0-baea131974e0"},graphTypeDisplayNames:{"fetal-heart-rate":"Fetal Heart Rate","cervical-dilation":"Cervical Dilation","descent-of-head":"Descent of Head","uterine-contractions":"Uterine Contractions","maternal-pulse":"Maternal Pulse","blood-pressure":"Blood Pressure",temperature:"Temperature","urine-analysis":"Urine Analysis","drugs-fluids":"Drugs & Fluids","progress-events":"Progress & Events"},amnioticFluidMap:{"Membrane intact":"164899AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Clear liquor":"159484AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Meconium Stained":"134488AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Absent:"163747AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Blood Stained":"1077AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},mouldingMap:{0:"1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","+":"1362AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","++":"1363AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","+++":"1364AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},testData:{testGraphTypes:["fetal-heart-rate","cervical-dilation","maternal-pulse","temperature","blood-pressure"],sampleDataPoints:[{value:120,time:"10:00"},{value:125,time:"11:00"},{value:130,time:"12:00"},{value:128,time:"13:00"}],valueIncrement:10,bloodPressureDecrement:40},descentOfHeadUuidToValue:{"160769AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":0,"162135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":1,"166065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":2,"166066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":3,"166067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":4,"163734AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":5}}}},o="1440AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",i="bb3724c9-fbcc-49c5-9702-6cde0be325ca",s="160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",c="162653AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",h="164900AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",d="159484AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",u="134488AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",f="163747AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",w="1077AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",p="163750AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",v="1498AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",A="1499AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",x="166788AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",m="166529AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",g="159368AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",H="81369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",M="8878f9c0-a1ce-47ec-a88f-69ef0f6576ba",V="fd9f82fd-f327-4502-ac8e-5d9144dbd504",j="c3082af8-f935-40c5-aa5b-74c684e81aea",b="161911AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Z="b71ddb80-2d7f-4bde-a44b-236e62d4c1b6",y="162384AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",C="5087AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",E="5085AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",R="5086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",z="bb3724c9-fbcc-49c5-9702-6cde0be325ca",L="161442AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",B="887AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",$="165438AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",S="159660AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",k="56AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",_="67c3d4c6-465e-4c12-9b7f-d8587ca90603",N="c554f157-2e16-4585-af29-c48f5e765ce0",T="162261AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",I="1810AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",O="160769AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",D="162135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",P="166065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",F="166066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",W="166067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",U="163734AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",q="240b26f9-dd88-4172-823d-4a8bfeb7841f",K="1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Q="1362AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Y="1363AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",G="1364AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",X="5088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",J="159682AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ee="164231AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",et="162879AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",er="160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",en="166527AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ea="300AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",el="163286AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",eo="164135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ei="167149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",es="1640AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ec="1789AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",eh="5596AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ed="1427AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},57003(e,t,r){"use strict";r.d(t,{AO:()=>n,bv:()=>l,p1:()=>a});var n="@kenyaemr/esm-express-workflow-app",a="".concat(window.spaBase,"/home"),l=/^(\+?254|0)((7|1)\d{8})$/},40297(e,t,r){"use strict";r.d(t,{i:()=>n});var n={formUuid:"8795971d-ac5d-4d75-80b5-119fca048c2c",encounterTypeUuid:"465a92f2-baf8-42e9-9612-53064be868e8",monitoringSlotIntervalMinutes:2,monitoringSlotLabelsMinutes:[0,60,120,180,240],monitoringBaseMaxMinutes:240,monitoringAbsoluteMaxMinutes:720,monitoringMaxExtensionHours:8,monitoringExtensionHourOptions:[2,5],visitDiagnosis:{construct:"159947AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",problem:"1284AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",certainty:"159394AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",certaintyProvisional:"159393AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",rank:"159946AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",rankPrimary:"159943AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},answers:{yes:"1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",no:"1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",unknown:"1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",others:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},concepts:{biodata:{patientNumber:"164812AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",treatmentNumber:"1639AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",sessionNumber:"2e1bda71-5cc7-4743-b034-8aed1a180a0f"},screening:{bloodGroup:"69c35549-0c8d-4390-9a24-447c1a360e3f",hivStatus:"1401AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",hepatitisCStatus:"1325AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",hepatitisBStatus:"6ec3d456-ba0c-4df1-9254-4dd77037ffb8",syphilisStatus:"06ad8fe0-9bc9-4074-95bc-f8052051c37a",drugAllergy:"b1998b10-c0a0-4601-ad96-76b68a3f477a"},preDialysis:{weightBefore:"5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",targetDryWeight:"480ea417-eab0-4207-9840-a1e18cd9fefe",interdialyticWeightGain:"8f372692-bd3f-4f16-8da3-ff7e048fd596",height:"163554AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",bodyMassIndex:"1342AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",bloodPressure:"008bf719-6c0d-4a61-b5eb-d8bb7da058f9",pulse:"5087AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",temperature:"5088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",respiratoryRate:"5242AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",oxygenSaturation:"5092AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",bloodSugar:"d0d107f7-9452-4129-a209-b9a4d1b46d4a",accessType:"9d9ff771-a282-4132-88bc-fd06c3c97a2c",additionalAssessment:"4802a063-38e8-4b20-87dd-46a92dc91656"},prescription:{dialyzerType:"31d46c3f-7846-4fa5-9923-ffa1db15388e",membraneType:"fe901d83-a2d1-4845-b5ca-0b0810b76c1b",specifyOtherMembraneType:"160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",fluxType:"c1befdd0-7821-46e4-b178-9366a9508765",dialyzerSize:"c7c848bf-8220-4c91-b16b-930a07a36695",prescribedFrequencyPerWeek:"fd9f82fd-f327-4502-ac8e-5d9144dbd504",bfr:"2c480d75-ee84-4831-ac28-744bcea98c54",dialysateComposition:"5f721302-e1d2-4ba2-9b23-e64bc7bfa216",acidConcentrateAmount:"9705f7da-669a-476e-bad6-9686d66bfc4c",sodiumBicarbonateConcentration:"d6f9f221-9f25-4edc-af41-a6ff8641c4b7",potassiumBathConcentration:"f7572a5a-5e88-40ec-8bff-91d967f488f0",dialysateCompositionOther:"160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",otherDialysateAmount:"d7f01f09-1e8b-4129-bdf6-dbae6e9aa69c",dfr:"19cd9e4a-49e2-4553-8a4f-bacb0f880db6",ufGoal:"e4b8e6eb-7b37-4f39-bd69-304938f71abb",heparinDose:"753914e0-2ba4-4973-b594-98fbd37b6d53"},machineChecks:{machineCheckDate:"ade394a7-402f-48ff-8f8d-0e6b818ba9a3",bloodLeaks:"6123f967-0f40-48a2-a6a9-dd5b399df71c",bloodLeakDateTime:"fccbed61-831e-4e17-a650-413e0e542891",airDetector:"7f754fb4-8ed0-4a72-9f99-559e139f3da7",airDetectorDateTime:"c3ba172e-df53-4387-9ede-9c05ec21010c",dialysisFluidTemperature:"5088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",conductivity:"bc9ba25b-d4c7-419f-9823-62122709c8c9",transmembranePressure:"b82c6ff6-6009-4194-bfab-95d6922ac51c"},monitoring:{obsGroup:"",sessionStartTime:"",slotMinute:"",bp:"",pulse:"",temp:"",ufRemoved:"",heparin:"",remarks:""},monitoringAction:{actionGroup:"160433AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",decision:"",terminateProgressAnswer:"737fa73a-509f-40d8-9e84-91dc71db7f4c",extendHourlyAnswer:"1822AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",terminateReason:"1111fedc-77e3-4220-994f-3267b0651446"},connection:{connectionTime:"9fdee776-981d-496f-891d-9752a3916058",startedConnectedBy:"0774726e-091b-4139-822e-a693869f93ac",connectionAssistedBy:"e2431b89-7149-40ec-a4d9-6745f926da89",disconnectionTime:"f1c4341a-3239-4b73-bde7-75e07627748f",disconnectedBy:"1586AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",disconnectionAssistedBy:"9fe52b6a-497c-4742-95cd-1a9b3d50d8c8"},postDialysis:{weightAfter:"5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",totalUfAchieved:"162661AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",systolicBp:"5085AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",diastolicBp:"5086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",pulse:"163381AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",temperature:"8542c14f-5099-4ea6-acce-1c67c294b49a",accessSite:"a34213be-b50a-46d6-810c-d71cf7727792",condition:"8828eed5-ceac-48ee-ac45-751f7e21bd5c",complications:"e6931b7a-8396-4003-ad9c-ebaaef04099f",fluidBalance:"b8734463-8a64-4e43-abc9-c8617c6f0b42",postDialysisKtV:"222f098f-f00a-4d87-ad07-736ddddce2a8",machineKtV:"3978f969-48d6-4e5f-b224-909349bf72e3",postHdNurseNotes:"8035d3d1-00f4-4feb-a8be-f7bb76d27de5",medicationGroup:"165504AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",medicationName:"162725AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",medicationDosage:"1443AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",medicationAdministeredBy:"1586AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",medicationAdverseEvent:"162579AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},nurseAssessment:{foodIntakeGood:"162708AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",activeInfection:"5005ff27-46cf-43ae-a9b0-7552720699d0",drugCompliance:"1156AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",accessProblems:"25d0627d-414c-43a7-acce-2c1bfb6fb2b4",bloodPressureControlled:"b3e7f997-8f7e-4d5d-a7df-2e102f5e2f27",targetWeightAppropriate:"55e27226-efb4-430d-9dcb-443a888fa525"},summary:{prescribedDuration:"162603AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",actualDuration:"63e3266b-6333-4ee5-8229-8685a391cfa7",adequacyAchieved:"c42d8e95-3a52-48e4-b65c-44b648b9c321",toleratedProcedure:"f45af7cf-051a-4fc7-9902-f75654aea6fe",comments:"1111fedc-77e3-4220-994f-3267b0651446",nextDialysisDate:"5096AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",additionalRemarks:"160716AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",dialysisNurse:"166103AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",nurseNckNumber:"96780b3e-2866-4478-ad32-9554cb1fbb1d",doctorName:"166691AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",doctorKmpdcNumber:"07bbee19-907b-4585-9b3d-1b9abd94414f"}}}},94657(e,t,r){"use strict";r.d(t,{A9:()=>f,Z0:()=>w,bL:()=>p});var n=r(43925),a=r(36142),l=r.n(a),o=r(80976),i=r.n(o),s=r(1487);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function h(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||d(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}}var u={dedupingInterval:5e3,revalidateOnFocus:!1},f=function(){var e,t="/ws/rest/v1/queue?v=".concat(encodeURIComponent("custom:(uuid,display,name,location:(uuid,display),service:(uuid,display),queueRooms:(uuid,display))")),r=l()(t,s.openmrsFetch,u),n=r.data,a=r.isLoading,o=r.error,i=r.isValidating;return{queues:(null==n||null==(e=n.data)?void 0:e.results)||[],isLoading:a,error:o,isValidating:i}},w=function(e){var t,r,a,l,o,c,u,f,w=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,p=(0,s.useConfig)().outpatientVisitTypeUuid,v=(0,n.useMemo)(function(){var t,r,n,a,l,o,i=new URLSearchParams;i.append("v","custom:(uuid,display,queue:(uuid,display,name,location:(uuid,display)),status:(uuid,display),patient:(uuid,person,identifiers:(uuid,display,identifier,identifierType:(uuid,display))),visit:(uuid,visitType:(uuid),attributes:(uuid,value,attributeType:(uuid))),priority:(uuid,display),priorityComment,startedAt,previousQueueEntry:(uuid,queue:(uuid,display)))");var s=(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},e),r=r={status:null!=(n=null==e?void 0:e.statuses)?n:[],statuses:void 0,startedOnOrAfter:null!=(a=null==e?void 0:e.startedOnOrAfter)?a:void 0,startedOnOrBefore:null!=(l=null==e?void 0:e.startedOnOrBefore)?l:void 0,queue:null!=(o=null==e?void 0:e.queues)?o:[]},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t);return s&&Object.entries(s).forEach(function(e){var t=function(e){if(Array.isArray(e))return e}(e)||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a=[],l=!0,o=!1;try{for(n=n.call(e);!(l=(t=n.next()).done)&&(a.push(t.value),2!==a.length);l=!0);}catch(e){o=!0,r=e}finally{try{l||null==n.return||n.return()}finally{if(o)throw r}}return a}}(e)||d(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],n=t[1];"statuses"!==r&&null!=n&&(Array.isArray(n)?h(n).sort(function(e,t){return String(e).localeCompare(String(t))}).forEach(function(e){return i.append(r,e)}):i.append(r,String(n)))}),(null==e?void 0:e.isEnded)==null&&i.append("isEnded","false"),i.toString()},[null==e||null==(r=e.location)?void 0:r.join(","),null==e||null==(a=e.service)?void 0:a.join(","),h(null!=(t=null==e?void 0:e.statuses)?t:[]).sort(function(e,t){return String(e).localeCompare(String(t))}).join(","),null==e||null==(l=e.priorities)?void 0:l.join(","),null==e?void 0:e.patient,null==e?void 0:e.visit,null==e?void 0:e.hasVisit,null==e?void 0:e.isEnded,null==e||null==(o=e.locationsWaitingFor)?void 0:o.join(","),null==e||null==(c=e.providersWaitingFor)?void 0:c.join(","),null==e||null==(u=e.queuesComingFrom)?void 0:u.join(","),null==e||null==(f=e.queues)?void 0:f.join(",")]),A=(0,s.useOpenmrsPagination)(v?"/ws/rest/v1/queue-entry?".concat(v):"/ws/rest/v1/queue-entry",w,{swrConfig:{revalidateOnFocus:!0,keepPreviousData:!0}}),x=A.data,m=A.isLoading,g=A.isValidating,H=A.error,M=A.totalPages,V=A.totalCount,j=A.currentPage,b=A.currentPageSize,Z=A.paginated,y=A.showNextButton,C=A.showPreviousButton,E=A.goTo,R=A.goToNext,z=A.goToPrevious;return{queueEntries:(0,n.useMemo)(function(){var e;return null==(e=null!=x?x:[])?void 0:e.filter(function(e){var t,r;return i()(e.startedAt).isAfter(i()().subtract(24,"hour"))&&(null==e||null==(r=e.visit)||null==(t=r.visitType)?void 0:t.uuid)===p})},[x,p]),isLoading:m,isValidating:g,error:H,pagination:{totalPages:M,totalCount:V,currentPage:j,currentPageSize:b,paginated:Z,showNextButton:y,showPreviousButton:C,goTo:E,goToNext:R,goToPrevious:z,defaultPageSize:w}}};function p(e,t,r,n){var a=new AbortController;return(0,s.openmrsFetch)("".concat(s.restBaseUrl,"/queueutil/assignticket"),{method:"POST",headers:{"Content-Type":"application/json"},signal:a.signal,body:{servicePointName:e,ticketNumber:t,status:r,locationUuid:n}})}},96459(e,t,r){"use strict";var n=r(1487);r(77488);var a=r(57003),l={featureName:"express-workflow",moduleName:a.AO};(0,n.getAsyncLifecycle)(function(){return r.e("9324").then(r.bind(r,93319))},l),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762")]).then(r.bind(r,55253)).then(function(e){return{default:e.createDashboardLink({title:"accounting",path:"accounting",icon:"omrs-icon-money"})}})},l);var o={featureName:"express-workflow",moduleName:a.AO};(0,n.getAsyncLifecycle)(function(){return r.e("371").then(r.bind(r,81438))},o),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762")]).then(r.bind(r,55253)).then(function(e){return{default:e.createDashboardLink({path:"admissions",title:"inPatient",icon:"omrs-icon-hospital-bed"})}})},o);var i={featureName:"express-workflow",moduleName:"@kenyaemr/esm-express-workflow-app"};(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("5762"),r.e("5728")]).then(r.bind(r,65651))},i),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762")]).then(r.bind(r,55253)).then(function(e){return{default:e.createDashboardLink({path:"appointments",title:"appointments",icon:"omrs-icon-calendar"})}})},i);var s={featureName:"express-workflow",moduleName:"@kenyaemr/esm-express-workflow-app"};(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},s),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},s),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},s),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},s),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},s),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},s),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},s),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},s),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},s),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},s),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},s),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},s);var c={featureName:"express-workflow",moduleName:a.AO};(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("4688"),r.e("5762"),r.e("1084"),r.e("2293"),r.e("1559")]).then(r.bind(r,63066))},c),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("5762"),r.e("4191")]).then(r.bind(r,9586)).then(function(e){return{default:e.createLeftPanelLink({title:"consultation",name:"consultation"})}})},c),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("934"),r.e("234")]).then(r.bind(r,4385))},c),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762")]).then(r.bind(r,55253)).then(function(e){return{default:e.createDashboardLink({title:"clinicalEncounter",path:"clinical-encounter",icon:"omrs-icon-syringe"})}})},c),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5809"),r.e("9011"),r.e("4818"),r.e("9"),r.e("1883"),r.e("7557"),r.e("2878"),r.e("1378"),r.e("5576"),r.e("5762"),r.e("8266"),r.e("5009"),r.e("1624"),r.e("9016"),r.e("1319"),r.e("8530"),r.e("6783")]).then(r.bind(r,76354))},c),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5809"),r.e("9011"),r.e("4818"),r.e("9"),r.e("7557"),r.e("2878"),r.e("1378"),r.e("5762"),r.e("8266"),r.e("5009"),r.e("1624"),r.e("9016"),r.e("1319"),r.e("8530")]).then(r.bind(r,97547))},c);var h={featureName:"express-workflow",moduleName:a.AO};(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("1375"),r.e("510"),r.e("196"),r.e("5762"),r.e("7707")]).then(r.bind(r,82214))},h),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("5762"),r.e("4191")]).then(r.bind(r,9586)).then(function(e){return{default:e.createLeftPanelLink({title:"dashboard",name:"facility-dashboard"})}})},h);var d={featureName:"express-workflow",moduleName:a.AO};(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("934"),r.e("977")]).then(r.bind(r,52200))},d),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762")]).then(r.bind(r,55253)).then(function(e){return{default:e.createDashboardLink({path:"laboratory",title:"labOrders",icon:"omrs-icon-microscope"})}})},d),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},d),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762"),r.e("7061"),r.e("9497")]).then(r.bind(r,55552))},d);var u={featureName:"express-workflow",moduleName:a.AO};(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("5809"),r.e("1883"),r.e("5762"),r.e("3986")]).then(r.bind(r,41897))},u),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("5762"),r.e("4191")]).then(r.bind(r,9586)).then(function(e){return{default:e.createLeftPanelLink({title:"mlNavIit",name:"iit",basePath:"machine-learning"})}})},u),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("5762"),r.e("4191")]).then(r.bind(r,9586)).then(function(e){return{default:e.createLeftPanelLink({title:"mlNavRtc",name:"rtc",basePath:"machine-learning"})}})},u);var f={featureName:"express-workflow",moduleName:a.AO};(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("4688"),r.e("5762"),r.e("1084"),r.e("2293"),r.e("3995")]).then(r.bind(r,28070))},f),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("5762"),r.e("4191")]).then(r.bind(r,9586)).then(function(e){return{default:e.createLeftPanelLink({title:"mch",name:"mch"})}})},f);var w={featureName:"express-workflow",moduleName:"@kenyaemr/esm-express-workflow-app"};(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},w),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},w),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},w);var p={featureName:"express-workflow",moduleName:a.AO};(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("5762"),r.e("4191")]).then(r.bind(r,9586)).then(function(e){return{default:e.createLeftPanelLink({name:"pharmacy",title:"pharmacy"})}})},p),(0,n.getAsyncLifecycle)(function(){return r.e("2788").then(r.bind(r,93247))},p),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("934"),r.e("3933")]).then(r.bind(r,96060))},p),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762")]).then(r.bind(r,55253)).then(function(e){return{default:e.createDashboardLink({path:"pharmacy",title:"prescription",icon:"omrs-icon-medication"})}})},p),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762"),r.e("7824")]).then(r.bind(r,43107))},p);var v={featureName:"express-workflow",moduleName:a.AO};(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("934"),r.e("3819")]).then(r.bind(r,39990))},v),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762")]).then(r.bind(r,55253)).then(function(e){return{default:e.createDashboardLink({path:"procedures",title:"procedures",icon:"omrs-icon-movement"})}})},v),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},v),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762"),r.e("7061"),r.e("2269")]).then(r.bind(r,90796))},v),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("9011"),r.e("4145"),r.e("1375"),r.e("5762"),r.e("8266"),r.e("710"),r.e("6767"),r.e("6429"),r.e("162"),r.e("8809")]).then(r.bind(r,29132))},v);var A=r(43925),x=r.n(A),m=r(72591),g=r.n(m),H=r(1740),M=r.n(H),V=r(88128),j=r.n(V),b=r(30855),Z=r.n(b),y=r(93051),C=r.n(y),E=r(73656),R=r.n(E),z=r(51046),L={};L.styleTagTransform=R(),L.setAttributes=Z(),L.insert=j().bind(null,"head"),L.domAPI=M(),L.insertStyleElement=C(),g()(z.A,L);let B=z.A&&z.A.locals?z.A.locals:void 0;var $=r(58088),S=r(94657),k=r(93507);let _=function(e){var t=e.activeQueue,r=e.activeOrders,n=void 0===r?[]:r,a=e.inProgressOrders,l=void 0===a?[]:a,o=e.completedOrders,i=void 0===o?[]:o,s=function(e){if(!e||!(e.length>0))return[];var t=e.reduce(function(e,t){return e[t.patient.uuid]||(e[t.patient.uuid]=[]),e[t.patient.uuid].push(t),e},{});return Object.keys(t).map(function(e){return{patientId:e,orders:t[e]}})},c=(0,S.Z0)({queues:[t]}),h=c.queueEntries,d=c.isLoading;c.error;var u=(0,A.useMemo)(function(){return s(n).filter(function(e){return h.some(function(t){return t.patient.uuid===e.patientId})}).length},[n,h]),f=(0,A.useMemo)(function(){return s(l).filter(function(e){return h.some(function(t){return t.patient.uuid===e.patientId})}).length},[l,h]),w=(0,A.useMemo)(function(){return s(i).filter(function(e){return h.some(function(t){return t.patient.uuid===e.patientId})}).length},[i,h]),p=(0,$.useTranslation)().t;return x().createElement("div",{className:B.tileContainer},x().createElement("div",{className:B.tile},x().createElement("strong",null,p("awaitingProcedure","Awaiting Procedure")),d?x().createElement(k.rrI,null):x().createElement("span",null,u)),x().createElement("div",{className:B.tile},x().createElement("strong",null,p("ongoingProcedures","Ongoing Procedures")),d?x().createElement(k.rrI,null):x().createElement("span",null,f)),x().createElement("div",{className:B.tile},x().createElement("strong",null,p("completedProcedures","Completed Procedures")),d?x().createElement(k.rrI,null):x().createElement("span",null,w)))};var N=function(){var e=(0,S.A9)(),t=e.queues,r=e.isLoading,a=e.error,l=(0,n.useConfig)().queueServiceConceptUuids.procedureService;return{procedureQueues:(0,A.useMemo)(function(){return t.filter(function(e){var t;return e.service.uuid===l&&(null==e||null==(t=e.queueRooms)?void 0:t.length)>0}).sort(function(e,t){return e.name.localeCompare(t.name)})},[t,l]),isLoadingQueues:r,errorLoadingQueues:a}},T=r(95479),I=r.n(T),O=r(45472),D={};D.styleTagTransform=R(),D.setAttributes=Z(),D.insert=j().bind(null,"head"),D.domAPI=M(),D.insertStyleElement=C(),g()(O.A,D);let P=O.A&&O.A.locals?O.A.locals:void 0,F=function(e){var t=e.queue,r=(0,S.Z0)({queues:[t]}),a=r.queueEntries;r.isLoading,r.error;var l=(0,A.useCallback)(function(e){return null==a?void 0:a.some(function(t){return t.patient.uuid===e.patient.uuid})},[a]),o=(0,A.useCallback)(function(e){return null==a?void 0:a.some(function(t){return t.patient.uuid===e})},[a]);return x().createElement(n.ExtensionSlot,{name:"procedure-ordered-tabs-extension",state:{filterByOrder:l,filterByPatient:o}})},W=function(e){var t=e.activeQueue,r=e.onActiveQueueChange,a=e.procedureQueues,l=e.isLoadingQueues,o=e.errorLoadingQueues,i=(0,$.useTranslation)().t;return l?x().createElement("div",{className:P.contentArea},x().createElement(k.ciU,null)):o?x().createElement("div",{className:P.contentArea},x().createElement(n.ErrorState,{error:o,headerTitle:i("errorLoadingQueues","Error loading queues")})):a.length?x().createElement("div",{className:P.tabsContainer},x().createElement(k.tUM,{selectedIndex:a.findIndex(function(e){return e.uuid===t}),onChange:function(e){r(a[e.selectedIndex].uuid)}},x().createElement(k.wbY,{contained:!0},a.map(function(e){var t,r;return x().createElement(k.ozo,{key:null==e?void 0:e.uuid},I()(null==e||null==(r=e.queueRooms)||null==(t=r[0])?void 0:t.display))})),x().createElement(k.T2N,null,a.map(function(e){return x().createElement(k.KpK,{key:null==e?void 0:e.uuid},x().createElement(F,{queue:e.uuid}))})))):x().createElement("div",{className:P.contentArea},x().createElement(n.ErrorState,{headerTitle:i("noQueueRoomsConfigured","No queue rooms configured"),error:{response:{status:i("noQueueRoomsConfigured","No queue rooms configured")}}}))};function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var q=r(97266),K={};K.styleTagTransform=R(),K.setAttributes=Z(),K.insert=j().bind(null,"head"),K.domAPI=M(),K.insertStyleElement=C(),g()(q.A,K);let Q=q.A&&q.A.locals?q.A.locals:void 0;var Y=r(49007),G={featureName:"express-workflow",moduleName:"@kenyaemr/esm-express-workflow-app"};(0,n.getSyncLifecycle)(function(e){var t,r=e.activeOrders,n=e.completedOrders,a=e.inProgressOrders,l=function(e){if(Array.isArray(e))return e}(t=(0,A.useState)())||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a=[],l=!0,o=!1;try{for(n=n.call(e);!(l=(t=n.next()).done)&&(a.push(t.value),2!==a.length);l=!0);}catch(e){o=!0,r=e}finally{try{l||null==n.return||n.return()}finally{if(o)throw r}}return a}}(t)||function(e){if(e){if("string"==typeof e)return U(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return U(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=l[0],i=l[1],s=N(),c=s.errorLoadingQueues,h=s.isLoadingQueues,d=s.procedureQueues,u=(0,A.useMemo)(function(){var e;return null!=o?o:null==d||null==(e=d[0])?void 0:e.uuid},[o,d]);return x().createElement(x().Fragment,null,x().createElement(_,{activeQueue:u,activeOrders:r,completedOrders:n,inProgressOrders:a}),x().createElement(W,{activeQueue:u,onActiveQueueChange:i,procedureQueues:d,isLoadingQueues:h,errorLoadingQueues:c}))},G),(0,n.getSyncLifecycle)(function(e){var t=e.visitContext;e.patient;var r=(0,$.useTranslation)().t;return x().createElement(k.Wdr,{className:Q.gridRow},x().createElement(k.$nd,{kind:"ghost",size:"md",onClick:function(){var e=(0,n.showModal)("transition-patient-to-latest-queue-modal",{closeModal:function(){e()},activeVisit:t})},renderIcon:Y.Qp},r("moveToProcedureQueue","Move to procedure queue")))},G);var X={featureName:"express-workflow",moduleName:a.AO};(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("934"),r.e("7424")]).then(r.bind(r,53715))},X),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762")]).then(r.bind(r,55253)).then(function(e){return{default:e.createDashboardLink({path:"radiology-and-imaging",title:"radiologyAndImaging",icon:"omrs-icon-user-xray"})}})},X),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},X),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762"),r.e("7061"),r.e("3087")]).then(r.bind(r,27442))},X);var J={featureName:"express-workflow",moduleName:a.AO};(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("5809"),r.e("9"),r.e("7478"),r.e("794"),r.e("5991"),r.e("602"),r.e("7395"),r.e("7105"),r.e("7945"),r.e("6603")]).then(r.bind(r,67561))},J),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("5762"),r.e("4191")]).then(r.bind(r,9586)).then(function(e){return{default:e.createLeftPanelLink({title:"registration",name:"registration"})}})},J),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("794"),r.e("7554")]).then(r.bind(r,40409))},J),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("794"),r.e("3532")]).then(r.bind(r,86391))},J);var ee={featureName:"express-workflow",moduleName:a.AO};function et(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("4688"),r.e("5762"),r.e("1084"),r.e("4523")]).then(r.bind(r,3686))},ee),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("5762"),r.e("4191")]).then(r.bind(r,9586)).then(function(e){return{default:e.createLeftPanelLink({name:"triage",title:"triage"})}})},ee);var er="@kenyaemr/esm-express-workflow-app",en={featureName:"express-workflow",moduleName:er};r(84767),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("1375"),r.e("510"),r.e("196"),r.e("5762"),r.e("7707"),r.e("1658")]).then(r.bind(r,21681))},en),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("5809"),r.e("5991"),r.e("602")]).then(r.bind(r,12258))},en),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("6259"),r.e("4617")]).then(r.bind(r,63152))},en),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("934"),r.e("3910")]).then(r.bind(r,59141))},en),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762"),r.e("8882")]).then(r.bind(r,40121))},{featureName:"patient-actions-slot-start-visit-button",moduleName:er}),(0,n.getAsyncLifecycle)(function(){return r.e("4032").then(r.bind(r,93555))},{featureName:"patient-actions-slot-stop-visit-button",moduleName:er}),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("688"),r.e("3747")]).then(r.bind(r,8782))},{featureName:"print-order-preview",moduleName:er}),(0,n.getAsyncLifecycle)(function(){return r.e("8763").then(r.bind(r,95606))},{featureName:"print-prescription",moduleName:er}),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("4145"),r.e("8702"),r.e("5762"),r.e("5434")]).then(r.bind(r,36017))},en),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("7784")]).then(r.bind(r,23355))},{featureName:"custom-patient-actions-end-visit-modal",moduleName:er}),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("7478"),r.e("7395"),r.e("2703")]).then(r.bind(r,90242))},{featureName:"demographic-sync-modal",moduleName:er}),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("4145"),r.e("8702"),r.e("710"),r.e("6767"),r.e("5887")]).then(r.bind(r,43346))},en),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("4145"),r.e("8702"),r.e("710"),r.e("5630")]).then(r.bind(r,54269))},en),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("5762"),r.e("694")]).then(r.bind(r,68517))},en),(0,n.getAsyncLifecycle)(function(){return Promise.all([Promise.all([r.e("5762"),r.e("4191")]).then(r.bind(r,9586)),Promise.all([r.e("5809"),r.e("9011"),r.e("4818"),r.e("9"),r.e("1883"),r.e("5576"),r.e("7910"),r.e("3509"),r.e("2412"),r.e("6008")]).then(r.bind(r,5723))]).then(function(e){var t=function(e){if(Array.isArray(e))return e}(e)||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a=[],l=!0,o=!1;try{for(n=n.call(e);!(l=(t=n.next()).done)&&(a.push(t.value),2!==a.length);l=!0);}catch(e){o=!0,r=e}finally{try{l||null==n.return||n.return()}finally{if(o)throw r}}return a}}(e)||function(e){if(e){if("string"==typeof e)return et(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return et(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],n=t[1];return{default:r.createLeftPanelLink({name:"consultation",title:"Home",icon:n.Home})}})},en),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},en)},94646(e,t,r){"use strict";var n=r(40523),a=r.n(n);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,a=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var l=[],o=!0,i=!1;try{for(a=a.call(e);!(o=(r=a.next()).done)&&(l.push(r.value),!t||l.length!==t);o=!0);}catch(e){i=!0,n=e}finally{try{o||null==a.return||a.return()}finally{if(i)throw n}}return l}}(e,t)||s(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function s(e,t){if(e){if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}}var c=[].filter(function(e){return e.plugin}).map(function(e){return(0,e.plugin)(e.params)}),h={};if((r.initializeSharingData||r.initializeExposesData)&&r.federation){var d,u,f,w,p,v,A,x,m,g,H,M,V=function(e,t,r){e&&e[t]&&(e[t]=r)},j=function(e,t,r){var n,a=r();Array.isArray(a)?(null!=e[t]||(e[t]=[]),(n=e[t]).push.apply(n,function(e){if(Array.isArray(e))return l(e)}(a)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||s(a)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())):(void 0===a?"undefined":i(a))==="object"&&null!==a&&(null!=e[t]||(e[t]={}),Object.assign(e[t],a))},b=function(e,t,r){null!=e[t]||(e[t]=r())},Z=null!=(d=null==(v=r.remotesLoadingData)?void 0:v.chunkMapping)?d:{},y=null!=(u=null==(A=r.remotesLoadingData)?void 0:A.moduleIdToRemoteDataMapping)?u:{},C=null!=(f=null==(x=r.initializeSharingData)?void 0:x.scopeToSharingDataMapping)?f:{},E=null!=(w=null==(m=r.consumesLoadingData)?void 0:m.chunkMapping)?w:{},R=null!=(p=null==(g=r.consumesLoadingData)?void 0:g.moduleIdToConsumeDataMapping)?p:{},z={},L=[],B={},$=null==(H=r.initializeExposesData)?void 0:H.shareScope;for(var S in a())r.federation[S]=a()[S];b(r.federation,"consumesLoadingModuleToHandlerMapping",function(){var e={},t=!0,r=!1,n=void 0;try{for(var a,l=Object.entries(R)[Symbol.iterator]();!(t=(a=l.next()).done);t=!0){var i=o(a.value,2),s=i[0],c=i[1];e[s]={getter:c.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:c.requiredVersion,strictVersion:c.strictVersion,singleton:c.singleton,eager:c.eager},scope:[c.shareScope]},shareKey:c.shareKey}}}catch(e){r=!0,n=e}finally{try{t||null==l.return||l.return()}finally{if(r)throw n}}return e}),b(r.federation,"initOptions",function(){return{}}),b(r.federation.initOptions,"name",function(){return"@kenyaemr/esm-express-workflow-app"}),b(r.federation.initOptions,"shareStrategy",function(){return"version-first"}),b(r.federation.initOptions,"shared",function(){var e={},t=!0,r=!1,n=void 0;try{for(var a,l=Object.entries(C)[Symbol.iterator]();!(t=(a=l.next()).done);t=!0){var s=o(a.value,2),c=s[0],h=s[1],d=!0,u=!1,f=void 0;try{for(var w,p=h[Symbol.iterator]();!(d=(w=p.next()).done);d=!0){var v=w.value;if((void 0===v?"undefined":i(v))==="object"&&null!==v){var A=v.name,x=v.version,m=v.factory,g=v.eager,H=v.singleton,M=v.requiredVersion,V=v.strictVersion,j={},b=function(e){return void 0!==e};b(H)&&(j.singleton=H),b(M)&&(j.requiredVersion=M),b(g)&&(j.eager=g),b(V)&&(j.strictVersion=V);var Z={version:x,scope:[c],shareConfig:j,get:m};e[A]?e[A].push(Z):e[A]=[Z]}}}catch(e){u=!0,f=e}finally{try{d||null==p.return||p.return()}finally{if(u)throw f}}}}catch(e){r=!0,n=e}finally{try{t||null==l.return||l.return()}finally{if(r)throw n}}return e}),j(r.federation.initOptions,"remotes",function(){return Object.values(h).flat().filter(function(e){return"script"===e.externalType})}),j(r.federation.initOptions,"plugins",function(){return c}),b(r.federation,"bundlerRuntimeOptions",function(){return{}}),b(r.federation.bundlerRuntimeOptions,"remotes",function(){return{}}),b(r.federation.bundlerRuntimeOptions.remotes,"chunkMapping",function(){return Z}),b(r.federation.bundlerRuntimeOptions.remotes,"remoteInfos",function(){return h}),b(r.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",function(){var e={},t=!0,r=!1,n=void 0;try{for(var a,l=Object.entries(y)[Symbol.iterator]();!(t=(a=l.next()).done);t=!0){var i=o(a.value,2),s=i[0],c=i[1];e[s]=[c.shareScope,c.name,c.externalModuleId,c.remoteName]}}catch(e){r=!0,n=e}finally{try{t||null==l.return||l.return()}finally{if(r)throw n}}return e}),b(r.federation.bundlerRuntimeOptions.remotes,"webpackRequire",function(){return r}),j(r.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",function(){var e={},t=!0,r=!1,n=void 0;try{for(var a,l=Object.entries(y)[Symbol.iterator]();!(t=(a=l.next()).done);t=!0){var i=o(a.value,2),s=i[0],c=h[i[1].remoteName];c&&(e[s]=c)}}catch(e){r=!0,n=e}finally{try{t||null==l.return||l.return()}finally{if(r)throw n}}return e}),V(r,"S",r.federation.bundlerRuntime.S),r.federation.attachShareScopeMap&&r.federation.attachShareScopeMap(r),V(r.f,"remotes",function(e,t){return r.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:Z,idToExternalAndNameMapping:r.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:r.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:r})}),V(r.f,"consumes",function(e,t){return r.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:E,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping,installedModules:z,webpackRequire:r})}),V(r,"I",function(e,t){return r.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:L,initTokens:B,webpackRequire:r})}),V(r,"initContainer",function(e,t,n){return r.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:n,shareScopeKey:$,webpackRequire:r})}),V(r,"getContainer",function(e,t){var n=r.initializeExposesData.moduleMap;return r.R=t,t=Object.prototype.hasOwnProperty.call(n,e)?n[e]():Promise.resolve().then(function(){throw Error('Module "'+e+'" does not exist in container.')}),r.R=void 0,t}),r.federation.instance=r.federation.runtime.init(r.federation.initOptions),(null==(M=r.consumesLoadingData)?void 0:M.initialConsumes)&&r.federation.bundlerRuntime.installInitialConsumes({webpackRequire:r,installedModules:z,initialConsumes:r.consumesLoadingData.initialConsumes,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping})}},41798(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=e(t);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r}).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var a={};if(n)for(var l=0;l<this.length;l++){var o=this[l][0];null!=o&&(a[o]=!0)}for(var i=0;i<e.length;i++){var s=[].concat(e[i]);n&&a[s[0]]||(r&&(s[2]?s[2]="".concat(r," and ").concat(s[2]):s[2]=r),t.push(s))}},t}},77827(e){"use strict";function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}e.exports=function(e){var r=function(e){if(Array.isArray(e))return e}(e)||function(e){var t,r,n=e&&("u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var a=[],l=!0,o=!1;try{for(n=n.call(e);!(l=(t=n.next()).done)&&(a.push(t.value),4!==a.length);l=!0);}catch(e){o=!0,r=e}finally{try{l||null==n.return||n.return()}finally{if(o)throw r}}return a}}(e)||function(e){if(e){if("string"==typeof e)return t(e,4);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,4)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=r[1],a=r[3];if(!a)return n;if("function"==typeof btoa){var l=btoa(unescape(encodeURIComponent(JSON.stringify(a))));return[n].concat(a.sources.map(function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")})).concat(["/*# ".concat("sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l)," */")]).join("\n")}return[n].join("\n")}},53054(e){"use strict";e.exports=globalThis._FEDERATION_RUNTIME_CORE},9170(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_ERROR_CODES},31853(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_SDK},31772(e,t){var r=Object.create,n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,o=Object.getPrototypeOf,i=Object.prototype.hasOwnProperty;t.__toESM=(e,t,s)=>(s=null!=e?r(o(e)):{},((e,t,r,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var s,c=l(t),h=0,d=c.length;h<d;h++)s=c[h],i.call(e,s)||s===r||n(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(o=a(t,s))||o.enumerable});return e})(!t&&e&&e.__esModule?s:n(s,"default",{value:e,enumerable:!0}),e))},79837(e,t,r){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),r(31772);let n=r(27789),a=r(53054),l={...a.helpers.global,getGlobalFederationInstance:n.getGlobalFederationInstance},o=a.helpers.share,i=a.helpers.utils;t.default={global:l,share:o,utils:i},t.global=l,t.share=o,t.utils=i},83738(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),r(31772);let n=r(27789),a=r(53054),l=r(9170);function o(e){let t=new((0,a.getGlobalFederationConstructor)()||a.ModuleFederation)({id:`${e.name}@${e.version||Date.now()}`,...e});return(0,a.setGlobalFederationInstance)(t),t}let i=null;(0,a.setGlobalFederationConstructor)(a.ModuleFederation),Object.defineProperty(t,"Module",{enumerable:!0,get:function(){return a.Module}}),t.ModuleFederation=a.ModuleFederation,t.createInstance=o,t.getInstance=function(e){return e?a.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(e)||null:i},Object.defineProperty(t,"getRemoteEntry",{enumerable:!0,get:function(){return a.getRemoteEntry}}),Object.defineProperty(t,"getRemoteInfo",{enumerable:!0,get:function(){return a.getRemoteInfo}}),t.init=function(e){let t=n.getGlobalFederationInstance(e.name,e.version),r={...e,id:e.id||""};return t?(t.initOptions(r),i||(i=t),t):i=o(r)},t.loadRemote=function(...e){return(0,a.assert)(i,l.RUNTIME_009,l.runtimeDescMap),i.loadRemote.apply(i,e)},Object.defineProperty(t,"loadScript",{enumerable:!0,get:function(){return a.loadScript}}),Object.defineProperty(t,"loadScriptNode",{enumerable:!0,get:function(){return a.loadScriptNode}}),t.loadShare=function(...e){return(0,a.assert)(i,l.RUNTIME_009,l.runtimeDescMap),i.loadShare.apply(i,e)},t.loadShareSync=function(...e){return(0,a.assert)(i,l.RUNTIME_009,l.runtimeDescMap),i.loadShareSync.apply(i,e)},t.preloadRemote=function(...e){return(0,a.assert)(i,l.RUNTIME_009,l.runtimeDescMap),i.preloadRemote.apply(i,e)},Object.defineProperty(t,"registerGlobalPlugins",{enumerable:!0,get:function(){return a.registerGlobalPlugins}}),t.registerPlugins=function(...e){return(0,a.assert)(i,l.RUNTIME_009,l.runtimeDescMap),i.registerPlugins.apply(i,e)},t.registerRemotes=function(...e){return(0,a.assert)(i,l.RUNTIME_009,l.runtimeDescMap),i.registerRemotes.apply(i,e)},t.registerShared=function(...e){return(0,a.assert)(i,l.RUNTIME_009,l.runtimeDescMap),i.registerShared.apply(i,e)}},27789(e,t,r){r(31772);let n=r(53054);t.getGlobalFederationInstance=function(e,t){let r="@kenyaemr/esm-express-workflow-app:5.4.6-pre.1197";return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!r&&n.options.id===r||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&!!t&&n.options.version===t)}},50223(e,t){var r=Object.create,n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,o=Object.getPrototypeOf,i=Object.prototype.hasOwnProperty;t.__toESM=(e,t,s)=>(s=null!=e?r(o(e)):{},((e,t,r,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var s,c=l(t),h=0,d=c.length;h<d;h++)s=c[h],i.call(e,s)||s===r||n(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(o=a(t,s))||o.enumerable});return e})(!t&&e&&e.__esModule?s:n(s,"default",{value:e,enumerable:!0}),e))},33545(e,t){t.attachShareScopeMap=function(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}},46917(e,t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.FEDERATION_SUPPORTED_TYPES=["script"]},91864(e,t,r){let n=r(33545),a=r(91092),l=r(12677),o=r(10085),i=r(76781);t.consumes=function(e){a.updateConsumeOptions(e);let{chunkId:t,promises:r,installedModules:s,webpackRequire:c,chunkMapping:h,moduleToHandlerMapping:d}=e;n.attachShareScopeMap(c),c.o(h,t)&&h[t].forEach(e=>{if(c.o(s,e))return r.push(s[e]);let t=t=>{s[e]=0,c.m[e]=r=>{delete c.c[e];let n=t(),{shareInfo:a}=d[e];if(a?.shareConfig?.layer&&n&&"object"==typeof n)try{n.hasOwnProperty("layer")&&void 0!==n.layer||(n.layer=a.shareConfig.layer)}catch(e){}r.exports=n}},n=t=>{delete s[e],c.m[e]=r=>{throw delete c.c[e],t}};try{let a=c.federation.instance;if(!a)throw Error("Federation instance not found!");let{shareKey:h,getter:u,shareInfo:f,treeShakingGetter:w}=d[e],p=l.getUsedExports(c,h),v={...f};Array.isArray(v.scope)&&Array.isArray(v.scope[0])&&(v.scope=v.scope[0]),p&&(v.treeShaking={usedExports:p,useIn:[a.options.name]});let A=a.loadShare(h,{customShareInfo:v}).then(e=>{if(!1===e){if("function"!=typeof u)throw Error(i.getShortErrorMsg(o.RUNTIME_012,{[o.RUNTIME_012]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.'},{shareKey:h}));return w?.()||u()}return e});A.then?r.push(s[e]=A.then(t).catch(n)):t(A)}catch(e){n(e)}})}},10085(e,t){t.RUNTIME_012="RUNTIME-012"},76781(e,t){t.getShortErrorMsg=(e,t,r,n)=>{let a=[`${[t[e]]} #${e}`];return r&&a.push(`args: ${JSON.stringify(r)}`),a.push(`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`),n&&a.push(`Original Error Message:
|
|
17
|
+
Call wrapFocusWithoutSentinels(...) from onKeyDown instead.`);let n=(0,a.Kr)(e),l=n[0],o=n[n.length-1];t!==o||r.shiftKey||(r.preventDefault(),l.focus()),t===l&&r.shiftKey&&(r.preventDefault(),o.focus())}},30218(e,t,r){"use strict";r.d(t,{C:()=>l});var n=r(39889);let a=new Map,l=(e,t)=>(r,l,o,...i)=>{if(void 0===r[l])return;a.has(o)||a.set(o,new Set);let s=a.get(o);return s&&!s.has(l)&&(s.add(l),(0,n.$)(!1,t||`The prop \`${l}\` has been deprecated for the ${o} component. It will be removed in the next major release`)),e(r,l,o,...i)}},24659(e,t,r){"use strict";r.d(t,{v:()=>l});var n=r(39889);let a={},l=(e,t)=>{if(e)return a[e]||(a[e]=!0,(0,n.$)(!1,t||`The ${e} component has been deprecated and will be removed in the next major release.`)),e}},5971(e,t,r){"use strict";r.d(t,{R:()=>l});var n=r(39889);let a={},l=(e,t,r)=>(l,o,i,...s)=>{if(void 0===l[o])return null;if(!a[i]||!a[i][o]){a[i]={...a[i],[o]:!0};let e=l[o],s=r?r(e):null;t&&!t.includes(e)&&(0,n.$)(!1,r?`"${e}" is a deprecated value for the "${o}" prop on the "${i}" component. Use "${s}" instead. "${e}" will be removed in the next major release.`:`"${e}" is a deprecated value for the "${o}" prop on the "${i}" component. Allowed values is/are: ${t.join(", ")}. "${e}" will be removed in the next major release. `)}return e(l,o,i,...s)}},20059(e,t,r){"use strict";r.d(t,{h:()=>n});let n=(e,t)=>(r,n,a,...l)=>!0===r[e]&&null===r[n]?Error(`You must provide a value for \`${n}\` in \`${a}\` if \`${e}\` exists.`):t(r,n,a,...l)},42838(e,t,r){"use strict";r.d(t,{m:()=>n});let n=e=>(t,...r)=>{for(let n of e){if(t.defaultPrevented)break;"function"==typeof n&&n(t,...r)}}},69191(e,t,r){"use strict";r.d(t,{F:()=>a});let n={"top-left":"top-start","top-right":"top-end","bottom-left":"bottom-start","bottom-right":"bottom-end","left-bottom":"left-end","left-top":"left-start","right-bottom":"right-end","right-top":"right-start"},a=e=>n[e]??e},41693(e,t,r){"use strict";r.d(t,{P:()=>n});let n=(...e)=>t=>{e.forEach(e=>{e&&("function"==typeof e?e(t):"object"==typeof e&&"current"in e&&(e.current=t))})}},31526(e,t,r){"use strict";r.d(t,{Y:()=>n});let n=()=>{let e=0;return()=>++e}},36567(e,t,r){"use strict";r.d(t,{p:()=>n});let n=(e,t,r)=>{e.classList.toggle(t,r)}},49540(e,t,r){"use strict";r.d(t,{A:()=>h});var n=r(7818),a=r(53373),l=r.n(a),o=r(43925),i=r.n(o),s=r(39067),c=r.n(s);let h=({name:e,className:t,type:r})=>{function a({className:e,...o}){let s=(0,n.M)(),c=l()("function"==typeof t?t(s):t,e);return i().createElement(r,{...o,className:c||void 0})}return a.displayName=e,a.propTypes={className:c().string},a}},84767(e,t,r){var n={"./en.json":["34300","5117"],"./sw.json":["89913","3378"],"./am.json":["81197","9806"],"./fr.json":["94055","6508"]};function a(e){if(!r.o(n,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=n[e],a=t[0];return r.e(t[1]).then(function(){return r(a)})}a.keys=()=>Object.keys(n),a.id=84767,e.exports=a},77488(e,t,r){"use strict";r.d(t,{$h:()=>A,C_:()=>S,D1:()=>er,D5:()=>I,DL:()=>H,DV:()=>_,Dc:()=>et,Do:()=>R,Dz:()=>P,EB:()=>eh,EL:()=>J,GM:()=>D,GZ:()=>F,Gd:()=>es,Ij:()=>z,Ip:()=>h,JS:()=>u,JV:()=>E,NZ:()=>en,Oh:()=>L,PM:()=>x,QO:()=>m,RM:()=>B,Rz:()=>W,SA:()=>U,UE:()=>G,UI:()=>o,YJ:()=>ed,Zv:()=>$,Zw:()=>b,_1:()=>X,_H:()=>ec,c1:()=>ea,jC:()=>d,kC:()=>el,lR:()=>N,mK:()=>i,mN:()=>w,nQ:()=>eo,o:()=>g,oJ:()=>K,oW:()=>y,or:()=>ei,p9:()=>O,q4:()=>f,qT:()=>v,rD:()=>M,rV:()=>c,rX:()=>Q,tl:()=>s,uv:()=>p,v9:()=>j,vY:()=>q,v_:()=>T,w8:()=>V,wX:()=>C,x2:()=>l,xv:()=>ee,yf:()=>k,zK:()=>Y,zo:()=>Z});var n=r(1487),a=r(40297),l={identifierTypes:{_type:n.Type.Array,_elements:{_type:n.Type.Object,properties:{identifierType:{_type:n.Type.String},identifierValue:{_type:n.Type.String}}},_default:[{identifierType:"Select an identifier type",identifierValue:"select-identifier-type"},{identifierType:"National ID",identifierValue:"National ID"},{identifierType:"Passport Number",identifierValue:"Passport Number"},{identifierType:"Birth Certificate Number",identifierValue:"Birth Certificate Number"},{identifierType:"Alien ID Number",identifierValue:"Alien ID"},{identifierType:"Refugee ID Number",identifierValue:"Refugee ID"},{identifierType:"Birth Notification Number",identifierValue:"Birth Notification"},{identifierType:"Mandate Number",identifierValue:"Mandate Number"},{identifierType:"Temporary ID",identifierValue:"Temporary ID"}],_description:"List of identifier types with unique keys for each."},supersetDashboardConfig:{_type:n.Type.Object,_description:"Superset embeded dashboards config",_default:{host:"http://34.35.62.41:8080",dashboardId:"bd7102f9-9291-4a11-9b98-8a17d9142cac"}},concepts:{defaultPriorityConceptUuid:{_type:n.Type.ConceptUuid,_description:"The UUID of the default priority for the queues eg Not urgent.",_default:""},defaultStatusConceptUuid:{_type:n.Type.ConceptUuid,_description:"The UUID of the default status for the queues eg Waiting.",_default:"167407AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},emergencyPriorityConceptUuid:{_type:n.Type.ConceptUuid,_description:"The UUID of the priority with the highest sort weight for the queues eg Emergency.",_default:"037446f4-adfc-40b3-928c-a39a4826b1bf"}},visitQueueNumberAttributeUuid:{_type:n.Type.String,_description:"The UUID of the visit attribute that contains the visit queue number.",_default:"c61ce16f-272a-41e7-9924-4c555d0932c5"},patientChartConfig:{_type:n.Type.Object,_description:"Patient chart Tabs config",_default:{femaleOnlyExtensions:["charts-partography-dashboard"],excludeFromMainChart:["charts-partography-dashboard"],includeInMchChart:["charts-partography-dashboard","charts-summary-dashboard","care-panel-summary-dashboard-link","patient-orders-summary-dashboard","test-results-summary-dashboard","attachments-results-summary-dashboard","charts-mch-program-management-dashboard"],excludeExtensions:[]}},queueServiceConceptUuids:{_type:n.Type.Object,_description:"Concept UUIDs for queue service",_default:{triageService:"167411AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",consultationService:"167410AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",procedureService:"164164AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}},queueStatusConceptUuids:{_type:n.Type.Object,_description:"Concept UUIDs for queue status",_default:{waitingStatus:"167407AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",inServiceStatus:"167408AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",finishedStatus:"167409AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}},labOrderTypeUuid:{_type:n.Type.String,_description:"UUID for lab order type",_default:"52a447d3-a64a-11e3-9aeb-50e549534c5e"},imagingOrderTypeUuid:{_type:n.Type.String,_description:"UUID for imaging order type",_default:"b4a7c280-369e-4d12-9ce8-18e36783fed6"},imagingConceptClassUuid:{_type:n.Type.String,_description:"Concept class UUID for imaging orders",_default:"8caa332c-efe4-4025-8b18-3398328e1323"},orderableConceptSets:{_type:n.Type.Array,_elements:{_type:n.Type.String},_default:["9a6f10d6-7fc5-4fb7-9428-24ef7b8d01f7"],_description:"UUIDs for orderable concept sets"},imagingOrderableConceptSets:{_type:n.Type.Array,_elements:{_type:n.Type.String},_default:["164068AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],_description:"UUIDs for imaging orderable concept sets"},clinicalEncounter:{_type:n.Type.Object,_description:"Clinical encounter type UUID and form UUID",_default:{encounterTypeUuid:"465a92f2-baf8-42e9-9612-53064be868e8",formUuid:"e958f902-64df-4819-afd4-7fb061f59308"}},priorities:{_type:n.Type.Object,_description:"Queue priority concept uuids",_default:{emergencyPriorityConceptUuid:"037446f4-adfc-40b3-928c-a39a4826b1bf",urgentPriorityConceptUuid:"ef5718cd-d6d5-4fcf-bb82-cc4afaa90603",notUrgentPriorityConceptUuid:"80cd8f8c-5d82-4cdc-b96e-a6addeb94b7f"}},otpExpirationDurationInminutes:{_type:n.Type.Number,_description:"OTP Number Expiration dutration in minutes",_default:1},proceduresConceptClassUuid:{_type:n.Type.ConceptUuid,_description:"Concept class UUID for procedures orders",_default:"8d490bf4-c2cc-11de-8d13-0010c6dffd0f"},maintenanceAgentOptions:{_type:n.Type.Array,_elements:{_type:n.Type.Object,properties:{value:{_type:n.Type.ConceptUuid},label:{_type:n.Type.String}}},_description:"Configurable list of maintenance-of-anaesthesia agents shown in the interoperative drug form (e.g. Halothane, Isoflurane). Override per deployment.",_default:[{value:"77343AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Halothane"},{value:"83872AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Sevoflurane"},{value:"78258AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Isoflurane"},{value:"82726AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Propofol"},{value:"78467AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Ketamine"},{value:"74640AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",label:"Dexmedetomidine"}]},proceduresOrderTypeUuid:{_type:n.Type.String,_description:"Procedure Order type UUID",_default:"b4a7c280-369e-4d12-9ce8-18e36783fed6"},triageServiceConceptUuid:{_type:n.Type.ConceptUuid,_description:"Concept UUID for triage service",_default:"167411AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},labServiceConceptUuid:{_type:n.Type.ConceptUuid,_description:"Concept UUID for lab service",_default:"c9604249-db0a-4d03-b074-fc6bc2fa13e6"},pharmacyServiceConceptUuid:{_type:n.Type.ConceptUuid,_description:"Concept UUID for pharmacy service",_default:"b75e466f-a6f5-4d5e-849a-84424d3c85cd"},radiologyServiceConceptUuid:{_type:n.Type.ConceptUuid,_description:"Concept UUID for radiology service",_default:"160463AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},inpatientDrugOrderTypeUuid:{_type:n.Type.String,_description:"Order type UUID for inpatient drug orders.",_default:"131168f4-15f5-102d-96e4-000c29c2a5d7"},inpatientCareSettingUuid:{_type:n.Type.String,_description:"Care setting UUID for inpatient orders.",_default:"6f0c9a92-6f24-11e3-af88-005056821db0"},inpatientLocationTags:{_default:{maternityWard:"b95dd376-fa35-40a6-b140-d144c5f22f62",labourWard:"7680b7ee-6880-450c-8b7e-2a748b6f9dc7"}},outpatientVisitTypeUuid:{_type:n.Type.String,_description:"The UUID of the outpatient visit type.",_default:"3371a4d4-f66f-4454-a86d-92c7b3da990c"},inPatientVisitTypeUuid:{_type:n.Type.String,_description:"The UUID of the in-patient visit type.",_default:"a73e2ac6-263b-47fc-99fc-e0f2c09fc914"},defaultFacilityUrl:{_type:n.Type.String,_default:"",_description:"Custom URL to load default facility if it is not in the session"},offlineVisitTypeUuid:{_type:n.Type.UUID,_description:"The UUID of the visit type to be used for the automatically created offline visits.",_default:""},showRecommendedVisitTypeTab:{_type:n.Type.Boolean,_description:"Whether start visit form should display recommended visit type tab. Requires `visitTypeResourceUrl`",_default:!1},visitTypeResourceUrl:{_type:n.Type.String,_default:"",_description:"Custom URL to load resources required for showing recommended visit types"},disableChangingVisitLocation:{_type:n.Type.Boolean,_description:"Whether the visit location field in the Start Visit form should be view-only.",_default:!1},enableDemographicSync:{_type:n.Type.Boolean,_description:"Whether registrars can compare a local patient against the HIE record and overwrite the local demographics with the HIE values. Off by default because syncing rewrites the local record.",_default:!0},visitAttributeTypes:{_type:n.Type.Array,_elements:{_type:n.Type.Object,uuid:{_type:n.Type.UUID,_description:"UUID of the visit attribute type"},required:{_type:n.Type.Boolean,_description:"Whether the attribute type field is required or not",_default:!1},displayInThePatientBanner:{_type:n.Type.Boolean,_description:"Whether we should show this visit attribute's value in the patient banner",_default:!0}},_description:"List of visit attribute types shown when filling the visit form",_default:[]},showUpcomingAppointments:{_type:n.Type.Boolean,_description:"Whether start visit form should display upcoming appointments",_default:!1},excludedVisitTypeUuids:{_type:n.Type.Array,_elements:{_type:n.Type.UUID},_default:["02b67c47-6071-4091-953d-ad21452e830c"],_description:"List of visit type UUIDs to exclude from the start visit form"},isDHAWorkflow:{_type:n.Type.Boolean,_description:"Whether the workflow is DHA Workflow",_default:!0},crIdentificationNumberUUID:{_type:n.Type.String,_description:"The patient identifier type UUID for the SHA Client Registry (CR) number, used for virtual claims and OTP/biometric authentication.",_default:"24aedd37-b5be-4e08-8311-3721b8d5100d"},providerNationalIdUuid:{_type:n.Type.String,_description:"The provider attribute type UUID for the national ID, used in SHA biometric authorization requests.",_default:"3d152c97-2293-4a2b-802e-e0f1009b7b15"},nationalIdUUID:{_type:n.Type.String,_description:"The patient identifier type UUID for the national ID, used for SHA eligibility checks.",_default:"49af6cdc-7968-4abb-bf46-de10d7f4859f"},phoneAttributeTypeUUID:{_type:n.Type.String,_description:"The person attribute type UUID for the telephone contact number.",_default:"b2c38640-2603-4629-aebd-3b54f33f1e3a"},shaNumberUUID:{_type:n.Type.String,_description:"The patient identifier type UUID for the SHA (Social Health Authority) membership number.",_default:"52c3c0c3-05b8-4b26-930e-2a6a54e14c90"},passportUUID:{_type:n.Type.String,_description:"The patient identifier type UUID for the passport number.",_default:"be9beef6-aacc-4e1f-ac4e-5babeaa1e303"},birthCertificateUUID:{_type:n.Type.String,_description:"The patient identifier type UUID for the birth certificate number.",_default:"68449e5a-8829-44dd-bfef-c9c8cf2cb9b2"},icd11DataSourceUuid:{_type:n.Type.String,_description:"UUID for ICD-11 concept source used in diagnosis search",_default:"39ADDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD"},haemodialysis:{_type:n.Type.Object,_description:"Haemodialysis Flow Chart (v1.2) form UUIDs, encounter metadata, concept UUIDs by section, and monitoring slot timing",_default:a.i},anaesthetic:{_type:n.Type.Object,_description:"Anaesthetic module configuration",_default:{conceptMappings:{"fetal-heart-rate":["1440AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],"blood-pressure":["5085AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","5086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],"maternal-pulse":["5087AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],temperature:["5088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],"cervical-dilation":["162261AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],"descent-of-head":["1810AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],"uterine-contractions":["163750AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],"urine-analysis":["161442AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","887AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","165438AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],"drugs-fluids":["1282AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","161911AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],"progress-events":["162879AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","1440AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","162261AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","163750AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"]},stationDisplayMapping:{"160769AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":"0/5","162135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":"1/5","166065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":"2/5","166066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":"3/5","166067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":"4/5","163734AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":"5/5"},stationValueMapping:{"160769AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":0,"162135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":1,"166065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":2,"166066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":3,"166067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":4,"163734AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":5},encounterPatterns:["mch-partograph","partography","fetal-monitoring","maternal-monitoring","obstetric-vitals","labor-monitoring","labour-monitoring"],fallbackEncounterMapping:{"fetal-heart-rate":["mch-mother-consultation","vitals","obstetric","maternal","consultation","clinical"],"cervical-dilation":["mch-mother-consultation","obstetric","maternal","consultation","clinical"],"maternal-pulse":["vitals","maternal","consultation","clinical"],"blood-pressure":["vitals","maternal","consultation","clinical"],temperature:["vitals","consultation","clinical"],"urine-analysis":["vitals","laboratory","consultation","clinical"],"drugs-fluids":["medication","treatment","consultation","clinical"],"progress-events":["obstetric","maternal","consultation","clinical"]},defaultFallbackSequence:["consultation","clinical"],retryFallbackTypes:["vitals","consultation","clinical"],defaultEncounterProviderRole:"a0b03050-c99b-11e0-9572-0800200c9a66",defaultLocationUuid:"1",storage:{maxLocalEntries:100,storageKeyPrefix:"partography_",cacheKeyPrefix:"partography_encounters_"},timeConfig:{defaultEncounterOffset:3e5,retryEncounterOffset:36e5,cacheInvalidationDelay:1e3},progressEventConceptNames:{"1440AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":{name:"Fetal Heart Rate",unit:"BPM"},"162261AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":{name:"Cervical Dilation",unit:"cm"},"163750AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":{name:"Uterine Contractions",unit:"per 10min"}},uuids:{timeSlot:"a1b2c3d4-1111-2222-3333-444455556666",mchPartographyEncounterUuid:"d14dde5b-95dc-40a1-8ff0-acad34fb58b2",drugsFluidsEncounterUuid:"39da3525-afe4-45ff-8977-c53b7b359158",contractionStrongConceptUuid:"4b90b73a-ad11-4650-91b0-baea131974e0"},graphTypeDisplayNames:{"fetal-heart-rate":"Fetal Heart Rate","cervical-dilation":"Cervical Dilation","descent-of-head":"Descent of Head","uterine-contractions":"Uterine Contractions","maternal-pulse":"Maternal Pulse","blood-pressure":"Blood Pressure",temperature:"Temperature","urine-analysis":"Urine Analysis","drugs-fluids":"Drugs & Fluids","progress-events":"Progress & Events"},amnioticFluidMap:{"Membrane intact":"164899AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Clear liquor":"159484AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Meconium Stained":"134488AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Absent:"163747AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","Blood Stained":"1077AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},mouldingMap:{0:"1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","+":"1362AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","++":"1363AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","+++":"1364AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},testData:{testGraphTypes:["fetal-heart-rate","cervical-dilation","maternal-pulse","temperature","blood-pressure"],sampleDataPoints:[{value:120,time:"10:00"},{value:125,time:"11:00"},{value:130,time:"12:00"},{value:128,time:"13:00"}],valueIncrement:10,bloodPressureDecrement:40},descentOfHeadUuidToValue:{"160769AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":0,"162135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":1,"166065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":2,"166066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":3,"166067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":4,"163734AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA":5}}}},o="1440AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",i="bb3724c9-fbcc-49c5-9702-6cde0be325ca",s="160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",c="162653AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",h="164900AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",d="159484AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",u="134488AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",f="163747AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",w="1077AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",p="163750AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",v="1498AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",A="1499AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",x="166788AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",m="166529AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",g="159368AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",H="81369AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",M="8878f9c0-a1ce-47ec-a88f-69ef0f6576ba",V="fd9f82fd-f327-4502-ac8e-5d9144dbd504",j="c3082af8-f935-40c5-aa5b-74c684e81aea",b="161911AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Z="b71ddb80-2d7f-4bde-a44b-236e62d4c1b6",y="162384AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",C="5087AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",E="5085AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",R="5086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",z="bb3724c9-fbcc-49c5-9702-6cde0be325ca",L="161442AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",B="887AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",$="165438AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",S="159660AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",k="56AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",_="67c3d4c6-465e-4c12-9b7f-d8587ca90603",N="c554f157-2e16-4585-af29-c48f5e765ce0",T="162261AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",I="1810AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",O="160769AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",D="162135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",P="166065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",F="166066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",W="166067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",U="163734AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",q="240b26f9-dd88-4172-823d-4a8bfeb7841f",K="1107AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Q="1362AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",Y="1363AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",G="1364AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",X="5088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",J="159682AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ee="164231AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",et="162879AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",er="160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",en="166527AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ea="300AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",el="163286AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",eo="164135AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ei="167149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",es="1640AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ec="1789AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",eh="5596AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ed="1427AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},57003(e,t,r){"use strict";r.d(t,{AO:()=>n,bv:()=>l,p1:()=>a});var n="@kenyaemr/esm-express-workflow-app",a="".concat(window.spaBase,"/home"),l=/^(\+?254|0)((7|1)\d{8})$/},40297(e,t,r){"use strict";r.d(t,{i:()=>n});var n={formUuid:"8795971d-ac5d-4d75-80b5-119fca048c2c",encounterTypeUuid:"465a92f2-baf8-42e9-9612-53064be868e8",monitoringSlotIntervalMinutes:2,monitoringSlotLabelsMinutes:[0,60,120,180,240],monitoringBaseMaxMinutes:240,monitoringAbsoluteMaxMinutes:720,monitoringMaxExtensionHours:8,monitoringExtensionHourOptions:[2,5],visitDiagnosis:{construct:"159947AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",problem:"1284AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",certainty:"159394AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",certaintyProvisional:"159393AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",rank:"159946AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",rankPrimary:"159943AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},answers:{yes:"1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",no:"1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",unknown:"1067AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",others:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},concepts:{biodata:{patientNumber:"164812AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",treatmentNumber:"1639AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",sessionNumber:"2e1bda71-5cc7-4743-b034-8aed1a180a0f"},screening:{bloodGroup:"69c35549-0c8d-4390-9a24-447c1a360e3f",hivStatus:"1401AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",hepatitisCStatus:"1325AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",hepatitisBStatus:"6ec3d456-ba0c-4df1-9254-4dd77037ffb8",syphilisStatus:"06ad8fe0-9bc9-4074-95bc-f8052051c37a",drugAllergy:"b1998b10-c0a0-4601-ad96-76b68a3f477a"},preDialysis:{weightBefore:"5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",targetDryWeight:"480ea417-eab0-4207-9840-a1e18cd9fefe",interdialyticWeightGain:"8f372692-bd3f-4f16-8da3-ff7e048fd596",height:"163554AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",bodyMassIndex:"1342AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",bloodPressure:"008bf719-6c0d-4a61-b5eb-d8bb7da058f9",pulse:"5087AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",temperature:"5088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",respiratoryRate:"5242AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",oxygenSaturation:"5092AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",bloodSugar:"d0d107f7-9452-4129-a209-b9a4d1b46d4a",accessType:"9d9ff771-a282-4132-88bc-fd06c3c97a2c",additionalAssessment:"4802a063-38e8-4b20-87dd-46a92dc91656"},prescription:{dialyzerType:"31d46c3f-7846-4fa5-9923-ffa1db15388e",membraneType:"fe901d83-a2d1-4845-b5ca-0b0810b76c1b",specifyOtherMembraneType:"160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",fluxType:"c1befdd0-7821-46e4-b178-9366a9508765",dialyzerSize:"c7c848bf-8220-4c91-b16b-930a07a36695",prescribedFrequencyPerWeek:"fd9f82fd-f327-4502-ac8e-5d9144dbd504",bfr:"2c480d75-ee84-4831-ac28-744bcea98c54",dialysateComposition:"5f721302-e1d2-4ba2-9b23-e64bc7bfa216",acidConcentrateAmount:"9705f7da-669a-476e-bad6-9686d66bfc4c",sodiumBicarbonateConcentration:"d6f9f221-9f25-4edc-af41-a6ff8641c4b7",potassiumBathConcentration:"f7572a5a-5e88-40ec-8bff-91d967f488f0",dialysateCompositionOther:"160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",otherDialysateAmount:"d7f01f09-1e8b-4129-bdf6-dbae6e9aa69c",dfr:"19cd9e4a-49e2-4553-8a4f-bacb0f880db6",ufGoal:"e4b8e6eb-7b37-4f39-bd69-304938f71abb",heparinDose:"753914e0-2ba4-4973-b594-98fbd37b6d53"},machineChecks:{machineCheckDate:"ade394a7-402f-48ff-8f8d-0e6b818ba9a3",bloodLeaks:"6123f967-0f40-48a2-a6a9-dd5b399df71c",bloodLeakDateTime:"fccbed61-831e-4e17-a650-413e0e542891",airDetector:"7f754fb4-8ed0-4a72-9f99-559e139f3da7",airDetectorDateTime:"c3ba172e-df53-4387-9ede-9c05ec21010c",dialysisFluidTemperature:"5088AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",conductivity:"bc9ba25b-d4c7-419f-9823-62122709c8c9",transmembranePressure:"b82c6ff6-6009-4194-bfab-95d6922ac51c"},monitoring:{obsGroup:"",sessionStartTime:"",slotMinute:"",bp:"",pulse:"",temp:"",ufRemoved:"",heparin:"",remarks:""},monitoringAction:{actionGroup:"160433AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",decision:"",terminateProgressAnswer:"737fa73a-509f-40d8-9e84-91dc71db7f4c",extendHourlyAnswer:"1822AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",terminateReason:"1111fedc-77e3-4220-994f-3267b0651446"},connection:{connectionTime:"9fdee776-981d-496f-891d-9752a3916058",startedConnectedBy:"0774726e-091b-4139-822e-a693869f93ac",connectionAssistedBy:"e2431b89-7149-40ec-a4d9-6745f926da89",disconnectionTime:"f1c4341a-3239-4b73-bde7-75e07627748f",disconnectedBy:"1586AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",disconnectionAssistedBy:"9fe52b6a-497c-4742-95cd-1a9b3d50d8c8"},postDialysis:{weightAfter:"5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",totalUfAchieved:"162661AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",systolicBp:"5085AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",diastolicBp:"5086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",pulse:"163381AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",temperature:"8542c14f-5099-4ea6-acce-1c67c294b49a",accessSite:"a34213be-b50a-46d6-810c-d71cf7727792",condition:"8828eed5-ceac-48ee-ac45-751f7e21bd5c",complications:"e6931b7a-8396-4003-ad9c-ebaaef04099f",fluidBalance:"b8734463-8a64-4e43-abc9-c8617c6f0b42",postDialysisKtV:"222f098f-f00a-4d87-ad07-736ddddce2a8",machineKtV:"3978f969-48d6-4e5f-b224-909349bf72e3",postHdNurseNotes:"8035d3d1-00f4-4feb-a8be-f7bb76d27de5",medicationGroup:"165504AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",medicationName:"162725AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",medicationDosage:"1443AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",medicationAdministeredBy:"1586AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",medicationAdverseEvent:"162579AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},nurseAssessment:{foodIntakeGood:"162708AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",activeInfection:"5005ff27-46cf-43ae-a9b0-7552720699d0",drugCompliance:"1156AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",accessProblems:"25d0627d-414c-43a7-acce-2c1bfb6fb2b4",bloodPressureControlled:"b3e7f997-8f7e-4d5d-a7df-2e102f5e2f27",targetWeightAppropriate:"55e27226-efb4-430d-9dcb-443a888fa525"},summary:{prescribedDuration:"162603AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",actualDuration:"63e3266b-6333-4ee5-8229-8685a391cfa7",adequacyAchieved:"c42d8e95-3a52-48e4-b65c-44b648b9c321",toleratedProcedure:"f45af7cf-051a-4fc7-9902-f75654aea6fe",comments:"1111fedc-77e3-4220-994f-3267b0651446",nextDialysisDate:"5096AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",additionalRemarks:"160716AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",dialysisNurse:"166103AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",nurseNckNumber:"96780b3e-2866-4478-ad32-9554cb1fbb1d",doctorName:"166691AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",doctorKmpdcNumber:"07bbee19-907b-4585-9b3d-1b9abd94414f"}}}},94657(e,t,r){"use strict";r.d(t,{A9:()=>f,Z0:()=>w,bL:()=>p});var n=r(43925),a=r(36142),l=r.n(a),o=r(80976),i=r.n(o),s=r(1487);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function h(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||d(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}}var u={dedupingInterval:5e3,revalidateOnFocus:!1},f=function(){var e,t="/ws/rest/v1/queue?v=".concat(encodeURIComponent("custom:(uuid,display,name,location:(uuid,display),service:(uuid,display),queueRooms:(uuid,display))")),r=l()(t,s.openmrsFetch,u),n=r.data,a=r.isLoading,o=r.error,i=r.isValidating;return{queues:(null==n||null==(e=n.data)?void 0:e.results)||[],isLoading:a,error:o,isValidating:i}},w=function(e){var t,r,a,l,o,c,u,f,w=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,p=(0,s.useConfig)().outpatientVisitTypeUuid,v=(0,n.useMemo)(function(){var t,r,n,a,l,o,i=new URLSearchParams;i.append("v","custom:(uuid,display,queue:(uuid,display,name,location:(uuid,display)),status:(uuid,display),patient:(uuid,person,identifiers:(uuid,display,identifier,identifierType:(uuid,display))),visit:(uuid,visitType:(uuid),attributes:(uuid,value,attributeType:(uuid))),priority:(uuid,display),priorityComment,startedAt,previousQueueEntry:(uuid,queue:(uuid,display)))");var s=(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},e),r=r={status:null!=(n=null==e?void 0:e.statuses)?n:[],statuses:void 0,startedOnOrAfter:null!=(a=null==e?void 0:e.startedOnOrAfter)?a:void 0,startedOnOrBefore:null!=(l=null==e?void 0:e.startedOnOrBefore)?l:void 0,queue:null!=(o=null==e?void 0:e.queues)?o:[]},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t);return s&&Object.entries(s).forEach(function(e){var t=function(e){if(Array.isArray(e))return e}(e)||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a=[],l=!0,o=!1;try{for(n=n.call(e);!(l=(t=n.next()).done)&&(a.push(t.value),2!==a.length);l=!0);}catch(e){o=!0,r=e}finally{try{l||null==n.return||n.return()}finally{if(o)throw r}}return a}}(e)||d(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],n=t[1];"statuses"!==r&&null!=n&&(Array.isArray(n)?h(n).sort(function(e,t){return String(e).localeCompare(String(t))}).forEach(function(e){return i.append(r,e)}):i.append(r,String(n)))}),(null==e?void 0:e.isEnded)==null&&i.append("isEnded","false"),i.toString()},[null==e||null==(r=e.location)?void 0:r.join(","),null==e||null==(a=e.service)?void 0:a.join(","),h(null!=(t=null==e?void 0:e.statuses)?t:[]).sort(function(e,t){return String(e).localeCompare(String(t))}).join(","),null==e||null==(l=e.priorities)?void 0:l.join(","),null==e?void 0:e.patient,null==e?void 0:e.visit,null==e?void 0:e.hasVisit,null==e?void 0:e.isEnded,null==e||null==(o=e.locationsWaitingFor)?void 0:o.join(","),null==e||null==(c=e.providersWaitingFor)?void 0:c.join(","),null==e||null==(u=e.queuesComingFrom)?void 0:u.join(","),null==e||null==(f=e.queues)?void 0:f.join(",")]),A=(0,s.useOpenmrsPagination)(v?"/ws/rest/v1/queue-entry?".concat(v):"/ws/rest/v1/queue-entry",w,{swrConfig:{revalidateOnFocus:!0,keepPreviousData:!0}}),x=A.data,m=A.isLoading,g=A.isValidating,H=A.error,M=A.totalPages,V=A.totalCount,j=A.currentPage,b=A.currentPageSize,Z=A.paginated,y=A.showNextButton,C=A.showPreviousButton,E=A.goTo,R=A.goToNext,z=A.goToPrevious;return{queueEntries:(0,n.useMemo)(function(){var e;return null==(e=null!=x?x:[])?void 0:e.filter(function(e){var t,r;return i()(e.startedAt).isAfter(i()().subtract(24,"hour"))&&(null==e||null==(r=e.visit)||null==(t=r.visitType)?void 0:t.uuid)===p})},[x,p]),isLoading:m,isValidating:g,error:H,pagination:{totalPages:M,totalCount:V,currentPage:j,currentPageSize:b,paginated:Z,showNextButton:y,showPreviousButton:C,goTo:E,goToNext:R,goToPrevious:z,defaultPageSize:w}}};function p(e,t,r,n){var a=new AbortController;return(0,s.openmrsFetch)("".concat(s.restBaseUrl,"/queueutil/assignticket"),{method:"POST",headers:{"Content-Type":"application/json"},signal:a.signal,body:{servicePointName:e,ticketNumber:t,status:r,locationUuid:n}})}},96459(e,t,r){"use strict";var n=r(1487);r(77488);var a=r(57003),l={featureName:"express-workflow",moduleName:a.AO};(0,n.getAsyncLifecycle)(function(){return r.e("9324").then(r.bind(r,93319))},l),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762")]).then(r.bind(r,55253)).then(function(e){return{default:e.createDashboardLink({title:"accounting",path:"accounting",icon:"omrs-icon-money"})}})},l);var o={featureName:"express-workflow",moduleName:a.AO};(0,n.getAsyncLifecycle)(function(){return r.e("371").then(r.bind(r,81438))},o),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762")]).then(r.bind(r,55253)).then(function(e){return{default:e.createDashboardLink({path:"admissions",title:"inPatient",icon:"omrs-icon-hospital-bed"})}})},o);var i={featureName:"express-workflow",moduleName:"@kenyaemr/esm-express-workflow-app"};(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("5762"),r.e("5728")]).then(r.bind(r,65651))},i),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762")]).then(r.bind(r,55253)).then(function(e){return{default:e.createDashboardLink({path:"appointments",title:"appointments",icon:"omrs-icon-calendar"})}})},i);var s={featureName:"express-workflow",moduleName:"@kenyaemr/esm-express-workflow-app"};(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},s),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},s),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},s),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},s),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},s),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},s),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},s),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},s),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},s),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},s),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},s),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},s);var c={featureName:"express-workflow",moduleName:a.AO};(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("4688"),r.e("5762"),r.e("1084"),r.e("2293"),r.e("1559")]).then(r.bind(r,63066))},c),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("5762"),r.e("4191")]).then(r.bind(r,9586)).then(function(e){return{default:e.createLeftPanelLink({title:"consultation",name:"consultation"})}})},c),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("934"),r.e("234")]).then(r.bind(r,4385))},c),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762")]).then(r.bind(r,55253)).then(function(e){return{default:e.createDashboardLink({title:"clinicalEncounter",path:"clinical-encounter",icon:"omrs-icon-syringe"})}})},c),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5809"),r.e("9011"),r.e("4818"),r.e("9"),r.e("1883"),r.e("7557"),r.e("2878"),r.e("1378"),r.e("5576"),r.e("5762"),r.e("8266"),r.e("5009"),r.e("1624"),r.e("9016"),r.e("1319"),r.e("8530"),r.e("6783")]).then(r.bind(r,76354))},c),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5809"),r.e("9011"),r.e("4818"),r.e("9"),r.e("7557"),r.e("2878"),r.e("1378"),r.e("5762"),r.e("8266"),r.e("5009"),r.e("1624"),r.e("9016"),r.e("1319"),r.e("8530")]).then(r.bind(r,97547))},c);var h={featureName:"express-workflow",moduleName:a.AO};(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("1375"),r.e("510"),r.e("196"),r.e("5762"),r.e("7707")]).then(r.bind(r,82214))},h),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("5762"),r.e("4191")]).then(r.bind(r,9586)).then(function(e){return{default:e.createLeftPanelLink({title:"dashboard",name:"facility-dashboard"})}})},h);var d={featureName:"express-workflow",moduleName:a.AO};(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("934"),r.e("977")]).then(r.bind(r,52200))},d),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762")]).then(r.bind(r,55253)).then(function(e){return{default:e.createDashboardLink({path:"laboratory",title:"labOrders",icon:"omrs-icon-microscope"})}})},d),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},d),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762"),r.e("7061"),r.e("9497")]).then(r.bind(r,55552))},d);var u={featureName:"express-workflow",moduleName:a.AO};(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("5809"),r.e("1883"),r.e("5762"),r.e("3986")]).then(r.bind(r,41897))},u),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("5762"),r.e("4191")]).then(r.bind(r,9586)).then(function(e){return{default:e.createLeftPanelLink({title:"mlNavIit",name:"iit",basePath:"machine-learning"})}})},u),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("5762"),r.e("4191")]).then(r.bind(r,9586)).then(function(e){return{default:e.createLeftPanelLink({title:"mlNavRtc",name:"rtc",basePath:"machine-learning"})}})},u);var f={featureName:"express-workflow",moduleName:a.AO};(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("4688"),r.e("5762"),r.e("1084"),r.e("2293"),r.e("3995")]).then(r.bind(r,28070))},f),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("5762"),r.e("4191")]).then(r.bind(r,9586)).then(function(e){return{default:e.createLeftPanelLink({title:"mch",name:"mch"})}})},f);var w={featureName:"express-workflow",moduleName:"@kenyaemr/esm-express-workflow-app"};(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},w),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},w),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},w);var p={featureName:"express-workflow",moduleName:a.AO};(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("5762"),r.e("4191")]).then(r.bind(r,9586)).then(function(e){return{default:e.createLeftPanelLink({name:"pharmacy",title:"pharmacy"})}})},p),(0,n.getAsyncLifecycle)(function(){return r.e("2788").then(r.bind(r,93247))},p),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("934"),r.e("3933")]).then(r.bind(r,96060))},p),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762")]).then(r.bind(r,55253)).then(function(e){return{default:e.createDashboardLink({path:"pharmacy",title:"prescription",icon:"omrs-icon-medication"})}})},p),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762"),r.e("7824")]).then(r.bind(r,43107))},p);var v={featureName:"express-workflow",moduleName:a.AO};(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("934"),r.e("3819")]).then(r.bind(r,39990))},v),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762")]).then(r.bind(r,55253)).then(function(e){return{default:e.createDashboardLink({path:"procedures",title:"procedures",icon:"omrs-icon-movement"})}})},v),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},v),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762"),r.e("7061"),r.e("2269")]).then(r.bind(r,90796))},v),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("9011"),r.e("4145"),r.e("1375"),r.e("5762"),r.e("8266"),r.e("710"),r.e("6767"),r.e("6429"),r.e("162"),r.e("8809")]).then(r.bind(r,29132))},v);var A=r(43925),x=r.n(A),m=r(72591),g=r.n(m),H=r(1740),M=r.n(H),V=r(88128),j=r.n(V),b=r(30855),Z=r.n(b),y=r(93051),C=r.n(y),E=r(73656),R=r.n(E),z=r(51046),L={};L.styleTagTransform=R(),L.setAttributes=Z(),L.insert=j().bind(null,"head"),L.domAPI=M(),L.insertStyleElement=C(),g()(z.A,L);let B=z.A&&z.A.locals?z.A.locals:void 0;var $=r(58088),S=r(94657),k=r(93507);let _=function(e){var t=e.activeQueue,r=e.activeOrders,n=void 0===r?[]:r,a=e.inProgressOrders,l=void 0===a?[]:a,o=e.completedOrders,i=void 0===o?[]:o,s=function(e){if(!e||!(e.length>0))return[];var t=e.reduce(function(e,t){return e[t.patient.uuid]||(e[t.patient.uuid]=[]),e[t.patient.uuid].push(t),e},{});return Object.keys(t).map(function(e){return{patientId:e,orders:t[e]}})},c=(0,S.Z0)({queues:[t]}),h=c.queueEntries,d=c.isLoading;c.error;var u=(0,A.useMemo)(function(){return s(n).filter(function(e){return h.some(function(t){return t.patient.uuid===e.patientId})}).length},[n,h]),f=(0,A.useMemo)(function(){return s(l).filter(function(e){return h.some(function(t){return t.patient.uuid===e.patientId})}).length},[l,h]),w=(0,A.useMemo)(function(){return s(i).filter(function(e){return h.some(function(t){return t.patient.uuid===e.patientId})}).length},[i,h]),p=(0,$.useTranslation)().t;return x().createElement("div",{className:B.tileContainer},x().createElement("div",{className:B.tile},x().createElement("strong",null,p("awaitingProcedure","Awaiting Procedure")),d?x().createElement(k.rrI,null):x().createElement("span",null,u)),x().createElement("div",{className:B.tile},x().createElement("strong",null,p("ongoingProcedures","Ongoing Procedures")),d?x().createElement(k.rrI,null):x().createElement("span",null,f)),x().createElement("div",{className:B.tile},x().createElement("strong",null,p("completedProcedures","Completed Procedures")),d?x().createElement(k.rrI,null):x().createElement("span",null,w)))};var N=function(){var e=(0,S.A9)(),t=e.queues,r=e.isLoading,a=e.error,l=(0,n.useConfig)().queueServiceConceptUuids.procedureService;return{procedureQueues:(0,A.useMemo)(function(){return t.filter(function(e){var t;return e.service.uuid===l&&(null==e||null==(t=e.queueRooms)?void 0:t.length)>0}).sort(function(e,t){return e.name.localeCompare(t.name)})},[t,l]),isLoadingQueues:r,errorLoadingQueues:a}},T=r(95479),I=r.n(T),O=r(45472),D={};D.styleTagTransform=R(),D.setAttributes=Z(),D.insert=j().bind(null,"head"),D.domAPI=M(),D.insertStyleElement=C(),g()(O.A,D);let P=O.A&&O.A.locals?O.A.locals:void 0,F=function(e){var t=e.queue,r=(0,S.Z0)({queues:[t]}),a=r.queueEntries;r.isLoading,r.error;var l=(0,A.useCallback)(function(e){return null==a?void 0:a.some(function(t){return t.patient.uuid===e.patient.uuid})},[a]),o=(0,A.useCallback)(function(e){return null==a?void 0:a.some(function(t){return t.patient.uuid===e})},[a]);return x().createElement(n.ExtensionSlot,{name:"procedure-ordered-tabs-extension",state:{filterByOrder:l,filterByPatient:o}})},W=function(e){var t=e.activeQueue,r=e.onActiveQueueChange,a=e.procedureQueues,l=e.isLoadingQueues,o=e.errorLoadingQueues,i=(0,$.useTranslation)().t;return l?x().createElement("div",{className:P.contentArea},x().createElement(k.ciU,null)):o?x().createElement("div",{className:P.contentArea},x().createElement(n.ErrorState,{error:o,headerTitle:i("errorLoadingQueues","Error loading queues")})):a.length?x().createElement("div",{className:P.tabsContainer},x().createElement(k.tUM,{selectedIndex:a.findIndex(function(e){return e.uuid===t}),onChange:function(e){r(a[e.selectedIndex].uuid)}},x().createElement(k.wbY,{contained:!0},a.map(function(e){var t,r;return x().createElement(k.ozo,{key:null==e?void 0:e.uuid},I()(null==e||null==(r=e.queueRooms)||null==(t=r[0])?void 0:t.display))})),x().createElement(k.T2N,null,a.map(function(e){return x().createElement(k.KpK,{key:null==e?void 0:e.uuid},x().createElement(F,{queue:e.uuid}))})))):x().createElement("div",{className:P.contentArea},x().createElement(n.ErrorState,{headerTitle:i("noQueueRoomsConfigured","No queue rooms configured"),error:{response:{status:i("noQueueRoomsConfigured","No queue rooms configured")}}}))};function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var q=r(97266),K={};K.styleTagTransform=R(),K.setAttributes=Z(),K.insert=j().bind(null,"head"),K.domAPI=M(),K.insertStyleElement=C(),g()(q.A,K);let Q=q.A&&q.A.locals?q.A.locals:void 0;var Y=r(49007),G={featureName:"express-workflow",moduleName:"@kenyaemr/esm-express-workflow-app"};(0,n.getSyncLifecycle)(function(e){var t,r=e.activeOrders,n=e.completedOrders,a=e.inProgressOrders,l=function(e){if(Array.isArray(e))return e}(t=(0,A.useState)())||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a=[],l=!0,o=!1;try{for(n=n.call(e);!(l=(t=n.next()).done)&&(a.push(t.value),2!==a.length);l=!0);}catch(e){o=!0,r=e}finally{try{l||null==n.return||n.return()}finally{if(o)throw r}}return a}}(t)||function(e){if(e){if("string"==typeof e)return U(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return U(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=l[0],i=l[1],s=N(),c=s.errorLoadingQueues,h=s.isLoadingQueues,d=s.procedureQueues,u=(0,A.useMemo)(function(){var e;return null!=o?o:null==d||null==(e=d[0])?void 0:e.uuid},[o,d]);return x().createElement(x().Fragment,null,x().createElement(_,{activeQueue:u,activeOrders:r,completedOrders:n,inProgressOrders:a}),x().createElement(W,{activeQueue:u,onActiveQueueChange:i,procedureQueues:d,isLoadingQueues:h,errorLoadingQueues:c}))},G),(0,n.getSyncLifecycle)(function(e){var t=e.visitContext;e.patient;var r=(0,$.useTranslation)().t;return x().createElement(k.Wdr,{className:Q.gridRow},x().createElement(k.$nd,{kind:"ghost",size:"md",onClick:function(){var e=(0,n.showModal)("transition-patient-to-latest-queue-modal",{closeModal:function(){e()},activeVisit:t})},renderIcon:Y.Qp},r("moveToProcedureQueue","Move to procedure queue")))},G);var X={featureName:"express-workflow",moduleName:a.AO};(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("934"),r.e("7424")]).then(r.bind(r,53715))},X),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762")]).then(r.bind(r,55253)).then(function(e){return{default:e.createDashboardLink({path:"radiology-and-imaging",title:"radiologyAndImaging",icon:"omrs-icon-user-xray"})}})},X),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},X),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762"),r.e("7061"),r.e("3087")]).then(r.bind(r,27442))},X);var J={featureName:"express-workflow",moduleName:a.AO};(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("5809"),r.e("9"),r.e("7478"),r.e("794"),r.e("5991"),r.e("602"),r.e("7395"),r.e("7105"),r.e("7945"),r.e("6603")]).then(r.bind(r,67561))},J),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("5762"),r.e("4191")]).then(r.bind(r,9586)).then(function(e){return{default:e.createLeftPanelLink({title:"registration",name:"registration"})}})},J),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("794"),r.e("7554")]).then(r.bind(r,40409))},J),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("794"),r.e("3532")]).then(r.bind(r,86391))},J);var ee={featureName:"express-workflow",moduleName:a.AO};function et(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("4688"),r.e("5762"),r.e("1084"),r.e("4523")]).then(r.bind(r,3686))},ee),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("5762"),r.e("4191")]).then(r.bind(r,9586)).then(function(e){return{default:e.createLeftPanelLink({name:"triage",title:"triage"})}})},ee);var er="@kenyaemr/esm-express-workflow-app",en={featureName:"express-workflow",moduleName:er};r(84767),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("1375"),r.e("510"),r.e("196"),r.e("5762"),r.e("7707"),r.e("1658")]).then(r.bind(r,21681))},en),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("5809"),r.e("5991"),r.e("602")]).then(r.bind(r,12258))},en),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("6259"),r.e("4617")]).then(r.bind(r,63152))},en),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("934"),r.e("3910")]).then(r.bind(r,59141))},en),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("5762"),r.e("8882")]).then(r.bind(r,40121))},{featureName:"patient-actions-slot-start-visit-button",moduleName:er}),(0,n.getAsyncLifecycle)(function(){return r.e("4032").then(r.bind(r,93555))},{featureName:"patient-actions-slot-stop-visit-button",moduleName:er}),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("688"),r.e("3747")]).then(r.bind(r,8782))},{featureName:"print-order-preview",moduleName:er}),(0,n.getAsyncLifecycle)(function(){return r.e("8763").then(r.bind(r,95606))},{featureName:"print-prescription",moduleName:er}),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("257"),r.e("940"),r.e("4982"),r.e("6020"),r.e("274"),r.e("470"),r.e("7078"),r.e("4145"),r.e("8702"),r.e("5762"),r.e("5434")]).then(r.bind(r,36017))},en),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("3989"),r.e("7209"),r.e("7784")]).then(r.bind(r,23355))},{featureName:"custom-patient-actions-end-visit-modal",moduleName:er}),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("7478"),r.e("7395"),r.e("2703")]).then(r.bind(r,90242))},{featureName:"demographic-sync-modal",moduleName:er}),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("4145"),r.e("8702"),r.e("710"),r.e("6767"),r.e("5887")]).then(r.bind(r,43346))},en),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("4145"),r.e("8702"),r.e("710"),r.e("5630")]).then(r.bind(r,54269))},en),(0,n.getAsyncLifecycle)(function(){return Promise.all([r.e("5762"),r.e("694")]).then(r.bind(r,68517))},en),(0,n.getAsyncLifecycle)(function(){return Promise.all([Promise.all([r.e("5762"),r.e("4191")]).then(r.bind(r,9586)),Promise.all([r.e("5809"),r.e("9011"),r.e("4818"),r.e("9"),r.e("1883"),r.e("5576"),r.e("7910"),r.e("3509"),r.e("2412"),r.e("6008")]).then(r.bind(r,5723))]).then(function(e){var t=function(e){if(Array.isArray(e))return e}(e)||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a=[],l=!0,o=!1;try{for(n=n.call(e);!(l=(t=n.next()).done)&&(a.push(t.value),2!==a.length);l=!0);}catch(e){o=!0,r=e}finally{try{l||null==n.return||n.return()}finally{if(o)throw r}}return a}}(e)||function(e){if(e){if("string"==typeof e)return et(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return et(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],n=t[1];return{default:r.createLeftPanelLink({name:"consultation",title:"Home",icon:n.Home})}})},en),(0,n.getAsyncLifecycle)(function(){return r.e("9301").then(r.bind(r,2068)).then(function(e){return{default:e.createTabExtension()}})},en)},94646(e,t,r){"use strict";var n=r(40523),a=r.n(n);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,a=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var l=[],o=!0,i=!1;try{for(a=a.call(e);!(o=(r=a.next()).done)&&(l.push(r.value),!t||l.length!==t);o=!0);}catch(e){i=!0,n=e}finally{try{o||null==a.return||a.return()}finally{if(i)throw n}}return l}}(e,t)||s(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function s(e,t){if(e){if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}}var c=[].filter(function(e){return e.plugin}).map(function(e){return(0,e.plugin)(e.params)}),h={};if((r.initializeSharingData||r.initializeExposesData)&&r.federation){var d,u,f,w,p,v,A,x,m,g,H,M,V=function(e,t,r){e&&e[t]&&(e[t]=r)},j=function(e,t,r){var n,a=r();Array.isArray(a)?(null!=e[t]||(e[t]=[]),(n=e[t]).push.apply(n,function(e){if(Array.isArray(e))return l(e)}(a)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||s(a)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())):(void 0===a?"undefined":i(a))==="object"&&null!==a&&(null!=e[t]||(e[t]={}),Object.assign(e[t],a))},b=function(e,t,r){null!=e[t]||(e[t]=r())},Z=null!=(d=null==(v=r.remotesLoadingData)?void 0:v.chunkMapping)?d:{},y=null!=(u=null==(A=r.remotesLoadingData)?void 0:A.moduleIdToRemoteDataMapping)?u:{},C=null!=(f=null==(x=r.initializeSharingData)?void 0:x.scopeToSharingDataMapping)?f:{},E=null!=(w=null==(m=r.consumesLoadingData)?void 0:m.chunkMapping)?w:{},R=null!=(p=null==(g=r.consumesLoadingData)?void 0:g.moduleIdToConsumeDataMapping)?p:{},z={},L=[],B={},$=null==(H=r.initializeExposesData)?void 0:H.shareScope;for(var S in a())r.federation[S]=a()[S];b(r.federation,"consumesLoadingModuleToHandlerMapping",function(){var e={},t=!0,r=!1,n=void 0;try{for(var a,l=Object.entries(R)[Symbol.iterator]();!(t=(a=l.next()).done);t=!0){var i=o(a.value,2),s=i[0],c=i[1];e[s]={getter:c.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:c.requiredVersion,strictVersion:c.strictVersion,singleton:c.singleton,eager:c.eager},scope:[c.shareScope]},shareKey:c.shareKey}}}catch(e){r=!0,n=e}finally{try{t||null==l.return||l.return()}finally{if(r)throw n}}return e}),b(r.federation,"initOptions",function(){return{}}),b(r.federation.initOptions,"name",function(){return"@kenyaemr/esm-express-workflow-app"}),b(r.federation.initOptions,"shareStrategy",function(){return"version-first"}),b(r.federation.initOptions,"shared",function(){var e={},t=!0,r=!1,n=void 0;try{for(var a,l=Object.entries(C)[Symbol.iterator]();!(t=(a=l.next()).done);t=!0){var s=o(a.value,2),c=s[0],h=s[1],d=!0,u=!1,f=void 0;try{for(var w,p=h[Symbol.iterator]();!(d=(w=p.next()).done);d=!0){var v=w.value;if((void 0===v?"undefined":i(v))==="object"&&null!==v){var A=v.name,x=v.version,m=v.factory,g=v.eager,H=v.singleton,M=v.requiredVersion,V=v.strictVersion,j={},b=function(e){return void 0!==e};b(H)&&(j.singleton=H),b(M)&&(j.requiredVersion=M),b(g)&&(j.eager=g),b(V)&&(j.strictVersion=V);var Z={version:x,scope:[c],shareConfig:j,get:m};e[A]?e[A].push(Z):e[A]=[Z]}}}catch(e){u=!0,f=e}finally{try{d||null==p.return||p.return()}finally{if(u)throw f}}}}catch(e){r=!0,n=e}finally{try{t||null==l.return||l.return()}finally{if(r)throw n}}return e}),j(r.federation.initOptions,"remotes",function(){return Object.values(h).flat().filter(function(e){return"script"===e.externalType})}),j(r.federation.initOptions,"plugins",function(){return c}),b(r.federation,"bundlerRuntimeOptions",function(){return{}}),b(r.federation.bundlerRuntimeOptions,"remotes",function(){return{}}),b(r.federation.bundlerRuntimeOptions.remotes,"chunkMapping",function(){return Z}),b(r.federation.bundlerRuntimeOptions.remotes,"remoteInfos",function(){return h}),b(r.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",function(){var e={},t=!0,r=!1,n=void 0;try{for(var a,l=Object.entries(y)[Symbol.iterator]();!(t=(a=l.next()).done);t=!0){var i=o(a.value,2),s=i[0],c=i[1];e[s]=[c.shareScope,c.name,c.externalModuleId,c.remoteName]}}catch(e){r=!0,n=e}finally{try{t||null==l.return||l.return()}finally{if(r)throw n}}return e}),b(r.federation.bundlerRuntimeOptions.remotes,"webpackRequire",function(){return r}),j(r.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",function(){var e={},t=!0,r=!1,n=void 0;try{for(var a,l=Object.entries(y)[Symbol.iterator]();!(t=(a=l.next()).done);t=!0){var i=o(a.value,2),s=i[0],c=h[i[1].remoteName];c&&(e[s]=c)}}catch(e){r=!0,n=e}finally{try{t||null==l.return||l.return()}finally{if(r)throw n}}return e}),V(r,"S",r.federation.bundlerRuntime.S),r.federation.attachShareScopeMap&&r.federation.attachShareScopeMap(r),V(r.f,"remotes",function(e,t){return r.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:Z,idToExternalAndNameMapping:r.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:r.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:r})}),V(r.f,"consumes",function(e,t){return r.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:E,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping,installedModules:z,webpackRequire:r})}),V(r,"I",function(e,t){return r.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:L,initTokens:B,webpackRequire:r})}),V(r,"initContainer",function(e,t,n){return r.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:n,shareScopeKey:$,webpackRequire:r})}),V(r,"getContainer",function(e,t){var n=r.initializeExposesData.moduleMap;return r.R=t,t=Object.prototype.hasOwnProperty.call(n,e)?n[e]():Promise.resolve().then(function(){throw Error('Module "'+e+'" does not exist in container.')}),r.R=void 0,t}),r.federation.instance=r.federation.runtime.init(r.federation.initOptions),(null==(M=r.consumesLoadingData)?void 0:M.initialConsumes)&&r.federation.bundlerRuntime.installInitialConsumes({webpackRequire:r,installedModules:z,initialConsumes:r.consumesLoadingData.initialConsumes,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping})}},41798(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=e(t);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r}).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var a={};if(n)for(var l=0;l<this.length;l++){var o=this[l][0];null!=o&&(a[o]=!0)}for(var i=0;i<e.length;i++){var s=[].concat(e[i]);n&&a[s[0]]||(r&&(s[2]?s[2]="".concat(r," and ").concat(s[2]):s[2]=r),t.push(s))}},t}},77827(e){"use strict";function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}e.exports=function(e){var r=function(e){if(Array.isArray(e))return e}(e)||function(e){var t,r,n=e&&("u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var a=[],l=!0,o=!1;try{for(n=n.call(e);!(l=(t=n.next()).done)&&(a.push(t.value),4!==a.length);l=!0);}catch(e){o=!0,r=e}finally{try{l||null==n.return||n.return()}finally{if(o)throw r}}return a}}(e)||function(e){if(e){if("string"==typeof e)return t(e,4);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,4)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=r[1],a=r[3];if(!a)return n;if("function"==typeof btoa){var l=btoa(unescape(encodeURIComponent(JSON.stringify(a))));return[n].concat(a.sources.map(function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")})).concat(["/*# ".concat("sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l)," */")]).join("\n")}return[n].join("\n")}},53054(e){"use strict";e.exports=globalThis._FEDERATION_RUNTIME_CORE},9170(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_ERROR_CODES},31853(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_SDK},31772(e,t){var r=Object.create,n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,o=Object.getPrototypeOf,i=Object.prototype.hasOwnProperty;t.__toESM=(e,t,s)=>(s=null!=e?r(o(e)):{},((e,t,r,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var s,c=l(t),h=0,d=c.length;h<d;h++)s=c[h],i.call(e,s)||s===r||n(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(o=a(t,s))||o.enumerable});return e})(!t&&e&&e.__esModule?s:n(s,"default",{value:e,enumerable:!0}),e))},79837(e,t,r){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),r(31772);let n=r(27789),a=r(53054),l={...a.helpers.global,getGlobalFederationInstance:n.getGlobalFederationInstance},o=a.helpers.share,i=a.helpers.utils;t.default={global:l,share:o,utils:i},t.global=l,t.share=o,t.utils=i},83738(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),r(31772);let n=r(27789),a=r(53054),l=r(9170);function o(e){let t=new((0,a.getGlobalFederationConstructor)()||a.ModuleFederation)({id:`${e.name}@${e.version||Date.now()}`,...e});return(0,a.setGlobalFederationInstance)(t),t}let i=null;(0,a.setGlobalFederationConstructor)(a.ModuleFederation),Object.defineProperty(t,"Module",{enumerable:!0,get:function(){return a.Module}}),t.ModuleFederation=a.ModuleFederation,t.createInstance=o,t.getInstance=function(e){return e?a.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(e)||null:i},Object.defineProperty(t,"getRemoteEntry",{enumerable:!0,get:function(){return a.getRemoteEntry}}),Object.defineProperty(t,"getRemoteInfo",{enumerable:!0,get:function(){return a.getRemoteInfo}}),t.init=function(e){let t=n.getGlobalFederationInstance(e.name,e.version),r={...e,id:e.id||""};return t?(t.initOptions(r),i||(i=t),t):i=o(r)},t.loadRemote=function(...e){return(0,a.assert)(i,l.RUNTIME_009,l.runtimeDescMap),i.loadRemote.apply(i,e)},Object.defineProperty(t,"loadScript",{enumerable:!0,get:function(){return a.loadScript}}),Object.defineProperty(t,"loadScriptNode",{enumerable:!0,get:function(){return a.loadScriptNode}}),t.loadShare=function(...e){return(0,a.assert)(i,l.RUNTIME_009,l.runtimeDescMap),i.loadShare.apply(i,e)},t.loadShareSync=function(...e){return(0,a.assert)(i,l.RUNTIME_009,l.runtimeDescMap),i.loadShareSync.apply(i,e)},t.preloadRemote=function(...e){return(0,a.assert)(i,l.RUNTIME_009,l.runtimeDescMap),i.preloadRemote.apply(i,e)},Object.defineProperty(t,"registerGlobalPlugins",{enumerable:!0,get:function(){return a.registerGlobalPlugins}}),t.registerPlugins=function(...e){return(0,a.assert)(i,l.RUNTIME_009,l.runtimeDescMap),i.registerPlugins.apply(i,e)},t.registerRemotes=function(...e){return(0,a.assert)(i,l.RUNTIME_009,l.runtimeDescMap),i.registerRemotes.apply(i,e)},t.registerShared=function(...e){return(0,a.assert)(i,l.RUNTIME_009,l.runtimeDescMap),i.registerShared.apply(i,e)}},27789(e,t,r){r(31772);let n=r(53054);t.getGlobalFederationInstance=function(e,t){let r="@kenyaemr/esm-express-workflow-app:5.4.6-pre.1202";return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!r&&n.options.id===r||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&!!t&&n.options.version===t)}},50223(e,t){var r=Object.create,n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,o=Object.getPrototypeOf,i=Object.prototype.hasOwnProperty;t.__toESM=(e,t,s)=>(s=null!=e?r(o(e)):{},((e,t,r,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var s,c=l(t),h=0,d=c.length;h<d;h++)s=c[h],i.call(e,s)||s===r||n(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(o=a(t,s))||o.enumerable});return e})(!t&&e&&e.__esModule?s:n(s,"default",{value:e,enumerable:!0}),e))},33545(e,t){t.attachShareScopeMap=function(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}},46917(e,t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.FEDERATION_SUPPORTED_TYPES=["script"]},91864(e,t,r){let n=r(33545),a=r(91092),l=r(12677),o=r(10085),i=r(76781);t.consumes=function(e){a.updateConsumeOptions(e);let{chunkId:t,promises:r,installedModules:s,webpackRequire:c,chunkMapping:h,moduleToHandlerMapping:d}=e;n.attachShareScopeMap(c),c.o(h,t)&&h[t].forEach(e=>{if(c.o(s,e))return r.push(s[e]);let t=t=>{s[e]=0,c.m[e]=r=>{delete c.c[e];let n=t(),{shareInfo:a}=d[e];if(a?.shareConfig?.layer&&n&&"object"==typeof n)try{n.hasOwnProperty("layer")&&void 0!==n.layer||(n.layer=a.shareConfig.layer)}catch(e){}r.exports=n}},n=t=>{delete s[e],c.m[e]=r=>{throw delete c.c[e],t}};try{let a=c.federation.instance;if(!a)throw Error("Federation instance not found!");let{shareKey:h,getter:u,shareInfo:f,treeShakingGetter:w}=d[e],p=l.getUsedExports(c,h),v={...f};Array.isArray(v.scope)&&Array.isArray(v.scope[0])&&(v.scope=v.scope[0]),p&&(v.treeShaking={usedExports:p,useIn:[a.options.name]});let A=a.loadShare(h,{customShareInfo:v}).then(e=>{if(!1===e){if("function"!=typeof u)throw Error(i.getShortErrorMsg(o.RUNTIME_012,{[o.RUNTIME_012]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.'},{shareKey:h}));return w?.()||u()}return e});A.then?r.push(s[e]=A.then(t).catch(n)):t(A)}catch(e){n(e)}})}},10085(e,t){t.RUNTIME_012="RUNTIME-012"},76781(e,t){t.getShortErrorMsg=(e,t,r,n)=>{let a=[`${[t[e]]} #${e}`];return r&&a.push(`args: ${JSON.stringify(r)}`),a.push(`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`),n&&a.push(`Original Error Message:
|
|
18
18
|
${n}`),a.join("\n")}},41315(e,t){t.getSharedFallbackGetter=({shareKey:e,factory:t,version:r,webpackRequire:n,libraryType:a="global"})=>{let{runtime:l,instance:o,bundlerRuntime:i,sharedFallback:s}=n.federation;if(!s)return t;let c=s[e];if(!c)return t;let h=r?c.find(e=>e[1]===r):c[0];if(!h)throw Error(`No fallback item found for shareKey: ${e} and version: ${r}`);return()=>l.getRemoteEntry({origin:n.federation.instance,remoteInfo:{name:h[2],entry:`${n.p}${h[0]}`,type:a,entryGlobalName:h[2],shareScope:"default"}}).then(t=>{if(!t)throw Error(`Failed to load fallback entry for shareKey: ${e} and version: ${r}`);return t.init(n.federation.instance,i).then(()=>t.get())})}},12677(e,t){t.getUsedExports=function(e,t){let r=e.federation.usedExports;if(r)return r[t]}},40523(e,t,r){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});let n=r(50223),a=r(33545),l=r(43586),o=r(91864),i=r(62221),s=r(34307),c=r(91180),h=r(10367),d=r(41315),u=r(83738);u=n.__toESM(u);let f={remotes:l.remotes,consumes:o.consumes,I:i.initializeSharing,S:{},installInitialConsumes:s.installInitialConsumes,initContainerEntry:c.initContainerEntry,init:h.init,getSharedFallbackGetter:d.getSharedFallbackGetter},w={runtime:u,instance:void 0,initOptions:void 0,bundlerRuntime:f,attachShareScopeMap:a.attachShareScopeMap,bundlerRuntimeOptions:{}},p=w.instance,v=w.initOptions,A=w.bundlerRuntimeOptions;t.attachShareScopeMap=a.attachShareScopeMap,t.bundlerRuntime=f,t.bundlerRuntimeOptions=A,t.default=w,t.initOptions=v,t.instance=p,Object.defineProperty(t,"runtime",{enumerable:!0,get:function(){return u}})},10367(e,t,r){let n=r(50223),a=r(83738),l=r(79837);l=n.__toESM(l),t.init=function({webpackRequire:e}){let{initOptions:t,runtime:n,sharedFallback:o,bundlerRuntime:i,libraryType:s}=e.federation;if(!t)throw Error("initOptions is required!");return t.plugins||=[],t.plugins.push({name:"tree-shake-plugin",beforeInit(t){let{userOptions:n,origin:c,options:h}=t,d=n.version||h.version;if(!o)return t;let u=n.shared||{},f=[];Object.keys(u).forEach(t=>{(Array.isArray(u[t])?u[t]:[u[t]]).forEach(r=>{f.push([t,r]),"get"in r&&(r.treeShaking||={},r.treeShaking.get=r.get,r.get=i.getSharedFallbackGetter({shareKey:t,factory:r.get,webpackRequire:e,libraryType:s,version:r.version}))})});let w=l.default.global.getGlobalSnapshotInfoByModuleInfo({name:c.name,version:d});return w&&"shared"in w&&(Object.keys(h.shared||{}).forEach(e=>{h.shared[e].forEach(t=>{f.push([e,t])})}),f.forEach(([e,t])=>{((e,t)=>{let n=w.shared.find(t=>t.sharedName===e);if(!n)return;let{treeShaking:l}=t;if(!l)return;let{secondarySharedTreeShakingName:o,secondarySharedTreeShakingEntry:i,treeShakingStatus:h}=n;l.status!==h&&(l.status=h,i&&s&&o&&(l.get=async()=>{let e=await (0,a.getRemoteEntry)({origin:c,remoteInfo:{name:o,entry:i,type:s,entryGlobalName:o,shareScope:"default"}});return await e.init(c,r.federation.bundlerRuntime),e.get()}))})(e,t)})),t}}),n.init(t)}},91180(e,t){t.initContainerEntry=function(e){let{webpackRequire:t,shareScope:r,initScope:n,shareScopeKey:a,remoteEntryInitOptions:l}=e;if(!t.S||!t.federation||!t.federation.instance||!t.federation.initOptions)return;let o=t.federation.instance;o.initOptions({name:t.federation.initOptions.name,remotes:[],...l});let i=l?.shareScopeKeys,s=l?.shareScopeMap;if(a&&"string"!=typeof a)a.forEach(e=>{if(!i||!s)return void o.initShareScopeMap(e,r,{hostShareScopeMap:l?.shareScopeMap||{}});s[e]||(s[e]={});let t=s[e];o.initShareScopeMap(e,t,{hostShareScopeMap:l?.shareScopeMap||{}})});else{let e=a||"default";Array.isArray(i)?i.forEach(e=>{s[e]||(s[e]={});let t=s[e];o.initShareScopeMap(e,t,{hostShareScopeMap:l?.shareScopeMap||{}})}):o.initShareScopeMap(e,r,{hostShareScopeMap:l?.shareScopeMap||{}})}return(t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),Array.isArray(a))?t.federation.initOptions.shared?t.I(a,n):Promise.all(a.map(e=>t.I(e,n))).then(()=>!0):t.I(a||"default",n)}},62221(e,t,r){let n=r(33545),a=r(46917);t.initializeSharing=function({shareScopeName:e,webpackRequire:t,initPromises:r,initTokens:l,initScope:o}){let i=Array.isArray(e)?e:[e];var s=[],c=function(i){o||(o=[]);let s=t.federation.instance;var c=l[i];if(c||(c=l[i]={from:s.name}),o.indexOf(c)>=0)return;o.push(c);let h=r[i];if(h)return h;var d=r=>{var n=e=>{let t;return t="Initialization of sharing external failed: "+e,"u">typeof console&&console.warn&&console.warn(t)};try{var a=t(r);if(!a)return;var l=r=>r&&r.init&&r.init(t.S[i],o,{shareScopeMap:t.S||{},shareScopeKeys:e});if(a.then)return u.push(a.then(l,n));var s=l(a);if(s&&"boolean"!=typeof s&&s.then)return u.push(s.catch(n))}catch(e){n(e)}};let u=s.initializeSharing(i,{strategy:s.options.shareStrategy,initScope:o,from:"build"});n.attachShareScopeMap(t);let f=t.federation.bundlerRuntimeOptions.remotes;return(f&&Object.keys(f.idToRemoteMap).forEach(e=>{let t=f.idToRemoteMap[e],r=f.idToExternalAndNameMapping[e][2];if(t.length>1)d(r);else if(1===t.length){let e=t[0];a.FEDERATION_SUPPORTED_TYPES.includes(e.externalType)||d(r)}}),u.length)?r[i]=Promise.all(u).then(()=>r[i]=!0):r[i]=!0};return i.forEach(e=>{s.push(c(e))}),Promise.all(s).then(()=>!0)}},34307(e,t,r){let n=r(91092),a=r(12677);t.installInitialConsumes=function(e){n.updateConsumeOptions(e);let{moduleToHandlerMapping:t,webpackRequire:r,installedModules:l,initialConsumes:o,asyncLoad:i}=e,s=[];o.forEach(e=>{s.push([e,()=>(function(e){let{moduleId:t,moduleToHandlerMapping:r,webpackRequire:n,asyncLoad:l}=e,o=n.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:i,shareInfo:s}=r[t];try{let e=a.getUsedExports(n,i),t={...s};if(e&&(t.treeShaking={usedExports:e,useIn:[o.options.name]}),l)return o.loadShare(i,{customShareInfo:t});return o.loadShareSync(i,{customShareInfo:t})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}})({moduleId:e,moduleToHandlerMapping:t,webpackRequire:r,asyncLoad:i})])});let c=(e,n)=>{r.m[e]=a=>{l[e]=0,delete r.c[e];let o=n();if("function"!=typeof o)throw Error(`Shared module is not available for eager consumption: ${e}`);let i=o(),{shareInfo:s}=t[e];if(s?.shareConfig?.layer&&i&&"object"==typeof i)try{i.hasOwnProperty("layer")&&void 0!==i.layer||(i.layer=s.shareConfig.layer)}catch(e){}a.exports=i}};if(i)return Promise.all(s.map(async([e,t])=>{let r=await t();c(e,()=>r)}));s.forEach(([e,t])=>{c(e,t)})}},43586(e,t,r){r(50223);let n=r(33545),a=r(46917),l=r(91092),o=r(31853);t.remotes=function(e){l.updateRemoteOptions(e);let{chunkId:t,promises:r,webpackRequire:i,chunkMapping:s,idToExternalAndNameMapping:c,idToRemoteMap:h}=e;n.attachShareScopeMap(i),i.o(s,t)&&s[t].forEach(e=>{let t=i.R;t||(t=[]);let n=c[e],l=h[e]||[];if(t.indexOf(n)>=0)return;if(t.push(n),n.p)return r.push(n.p);let s=t=>{t||(t=Error("Container missing")),"string"==typeof t.message&&(t.message+=`
|
|
19
19
|
while loading "${n[1]}" from ${n[2]}`),i.m[e]=()=>{throw t},n.p=0},d=(e,t,a,l,o,i)=>{try{let c=e(t,a);if(!c||!c.then)return o(c,l,i);{let e=c.then(e=>o(e,l),s);if(!i)return e;r.push(n.p=e)}}catch(e){s(e)}};var u=(e,r,a)=>d(r.get,n[1],t,0,f,a),f=t=>{n.p=1,i.m[e]=e=>{e.exports=t()}};1===l.length&&a.FEDERATION_SUPPORTED_TYPES.includes(l[0].externalType)&&l[0].name?d(()=>{try{let e=(0,o.decodeName)(l[0].name,o.ENCODE_NAME_PREFIX)+n[1].slice(1),t=i.federation.instance,r=()=>i.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy){let e=Array.isArray(n[0])?n[0]:[n[0]];return Promise.all(e.map(e=>t.sharedHandler.initializeSharing(e))).then(()=>r())}return r()}catch(e){s(e)}},n[2],0,0,f,1):d(i,n[2],0,0,(e,t,r)=>e?d(i.I,n[0],0,e,u,r):s(),1)})}},91092(e,t){t.updateConsumeOptions=function(e){let{webpackRequire:t,moduleToHandlerMapping:r}=e,{consumesLoadingData:n,initializeSharingData:a}=t,{sharedFallback:l,bundlerRuntime:o,libraryType:i}=t.federation;if(n&&!n._updated){let{moduleIdToConsumeDataMapping:a={},initialConsumes:s=[],chunkMapping:c={}}=n;if(Object.entries(a).forEach(([e,n])=>{r[e]||(r[e]={getter:l?o?.getSharedFallbackGetter({shareKey:n.shareKey,factory:n.fallback,webpackRequire:t,libraryType:i}):n.fallback,treeShakingGetter:l?n.fallback:void 0,shareInfo:{shareConfig:{requiredVersion:n.requiredVersion,strictVersion:n.strictVersion,singleton:n.singleton,eager:n.eager,layer:n.layer},scope:Array.isArray(n.shareScope)?n.shareScope:[n.shareScope||"default"],treeShaking:l?{get:n.fallback,mode:n.treeShakingMode}:void 0},shareKey:n.shareKey})}),"initialConsumes"in e){let{initialConsumes:t=[]}=e;s.forEach(e=>{t.includes(e)||t.push(e)})}if("chunkMapping"in e){let{chunkMapping:t={}}=e;Object.entries(c).forEach(([e,r])=>{t[e]||(t[e]=[]),r.forEach(r=>{t[e].includes(r)||t[e].push(r)})})}n._updated=1}if(a&&!a._updated){let{federation:e}=t;if(!e.instance||!a.scopeToSharingDataMapping)return;let r={};for(let[e,t]of Object.entries(a.scopeToSharingDataMapping))for(let n of t)if("object"==typeof n&&null!==n){let{name:t,version:a,factory:l,eager:o,singleton:i,requiredVersion:s,strictVersion:c}=n,h={requiredVersion:`^${a}`},d=function(e){return void 0!==e};d(i)&&(h.singleton=i),d(s)&&(h.requiredVersion=s),d(o)&&(h.eager=o),d(c)&&(h.strictVersion=c);let u={version:a,scope:[e],shareConfig:h,get:l};r[t]?r[t].push(u):r[t]=[u]}e.instance.registerShared(r),a._updated=1}},t.updateRemoteOptions=function(e){let{webpackRequire:t,idToExternalAndNameMapping:r={},idToRemoteMap:n={},chunkMapping:a={}}=e,{remotesLoadingData:l}=t,o=t.federation?.bundlerRuntimeOptions?.remotes?.remoteInfos;if(!l||l._updated||!o)return;let{chunkMapping:i,moduleIdToRemoteDataMapping:s}=l;if(i&&s){for(let[e,t]of Object.entries(s))if(r[e]||(r[e]=[t.shareScope,t.name,t.externalModuleId]),!n[e]&&o[t.remoteName]){let r=o[t.remoteName];n[e]||=[],r.forEach(t=>{n[e].includes(t)||n[e].push(t)})}a&&Object.entries(i).forEach(([e,t])=>{a[e]||(a[e]=[]),t.forEach(t=>{a[e].includes(t)||a[e].push(t)})}),l._updated=1}}},53373(e){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e="",a=0;a<arguments.length;a++){var l=arguments[a];l&&(e=n(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var a="";for(var l in e)t.call(e,l)&&e[l]&&(a=n(a,l));return a}(l)))}return e}function n(e,t){return t?e?e+" "+t:e+t:e}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return r}):window.classNames=r}()},89575(e,t,r){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}r.d(t,{A:()=>n})},17502(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}r.d(t,{A:()=>n})},4291(e,t,r){"use strict";r.d(t,{UE:()=>L,UU:()=>E,cY:()=>C,rD:()=>B,ll:()=>y,jD:()=>z,Ej:()=>R});var n=r(22166);function a(e,t,r){let a,{reference:l,floating:o}=e,i=(0,n.TV)(t),s=(0,n.Dz)(t),c=(0,n.sq)(s),h=(0,n.C0)(t),d=l.x+l.width/2-o.width/2,u=l.y+l.height/2-o.height/2,f=l[c]/2-o[c]/2;switch(h){case"top":a={x:d,y:l.y-o.height};break;case"bottom":a={x:d,y:l.y+l.height};break;case"right":a={x:l.x+l.width,y:u};break;case"left":a={x:l.x-o.width,y:u};break;default:a={x:l.x,y:l.y}}let w=(0,n.Sg)(t);return w&&(a[s]+=f*("end"===w?1:-1)*(r&&"y"===i?-1:1)),a}async function l(e,t){var r;void 0===t&&(t={});let{x:a,y:l,platform:o,rects:i,elements:s,strategy:c}=e,{boundary:h="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:f=!1,padding:w=0}=(0,n._3)(t,e),p=(0,n.nI)(w),v=s[f?"floating"===u?"reference":"floating":u],A=(0,n.B1)(await o.getClippingRect({element:null==(r=await (null==o.isElement?void 0:o.isElement(v)))||r?v:v.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:h,rootBoundary:d,strategy:c})),x="floating"===u?{x:a,y:l,width:i.floating.width,height:i.floating.height}:i.reference,m=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),g=await (null==o.isElement?void 0:o.isElement(m))&&await (null==o.getScale?void 0:o.getScale(m))||{x:1,y:1},H=(0,n.B1)(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:x,offsetParent:m,strategy:c}):x);return{top:(A.top-H.top+p.top)/g.y,bottom:(H.bottom-A.bottom+p.bottom)/g.y,left:(A.left-H.left+p.left)/g.x,right:(H.right-A.right+p.right)/g.x}}let o=async(e,t,r)=>{let{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:s}=r,c=s.detectOverflow?s:{...s,detectOverflow:l},h=await (null==s.isRTL?void 0:s.isRTL(t)),d=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=a(d,n,h),w=n,p=0,v={};for(let r=0;r<i.length;r++){let l=i[r];if(!l)continue;let{name:A,fn:x}=l,{x:m,y:g,data:H,reset:M}=await x({x:u,y:f,initialPlacement:n,placement:w,strategy:o,middlewareData:v,rects:d,platform:c,elements:{reference:e,floating:t}});u=null!=m?m:u,f=null!=g?g:f,v[A]={...v[A],...H},M&&p<50&&(p++,"object"==typeof M&&(M.placement&&(w=M.placement),M.rects&&(d=!0===M.rects?await s.getElementRects({reference:e,floating:t,strategy:o}):M.rects),{x:u,y:f}=a(d,w,h)),r=-1)}return{x:u,y:f,placement:w,strategy:o,middlewareData:v}};function i(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function s(e){return n.r_.some(t=>e[t]>=0)}let c=new Set(["left","top"]);async function h(e,t){let{placement:r,platform:a,elements:l}=e,o=await (null==a.isRTL?void 0:a.isRTL(l.floating)),i=(0,n.C0)(r),s=(0,n.Sg)(r),h="y"===(0,n.TV)(r),d=c.has(i)?-1:1,u=o&&h?-1:1,f=(0,n._3)(t,e),{mainAxis:w,crossAxis:p,alignmentAxis:v}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return s&&"number"==typeof v&&(p="end"===s?-1*v:v),h?{x:p*u,y:w*d}:{x:w*d,y:p*u}}var d=r(1860);function u(e){let t=(0,d.L9)(e),r=parseFloat(t.width)||0,a=parseFloat(t.height)||0,l=(0,d.sb)(e),o=l?e.offsetWidth:r,i=l?e.offsetHeight:a,s=(0,n.LI)(r)!==o||(0,n.LI)(a)!==i;return s&&(r=o,a=i),{width:r,height:a,$:s}}function f(e){return(0,d.vq)(e)?e:e.contextElement}function w(e){let t=f(e);if(!(0,d.sb)(t))return(0,n.Jx)(1);let r=t.getBoundingClientRect(),{width:a,height:l,$:o}=u(t),i=(o?(0,n.LI)(r.width):r.width)/a,s=(o?(0,n.LI)(r.height):r.height)/l;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}let p=(0,n.Jx)(0);function v(e){let t=(0,d.zk)(e);return(0,d.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:p}function A(e,t,r,a){var l;void 0===t&&(t=!1),void 0===r&&(r=!1);let o=e.getBoundingClientRect(),i=f(e),s=(0,n.Jx)(1);t&&(a?(0,d.vq)(a)&&(s=w(a)):s=w(e));let c=(void 0===(l=r)&&(l=!1),a&&l&&a===(0,d.zk)(i))?v(i):(0,n.Jx)(0),h=(o.left+c.x)/s.x,u=(o.top+c.y)/s.y,p=o.width/s.x,A=o.height/s.y;if(i&&a){let e=(0,d.zk)(i),t=(0,d.vq)(a)?(0,d.zk)(a):a,r=e,n=(0,d._m)(r);for(;n&&t!==r;){let e=w(n),t=n.getBoundingClientRect(),a=(0,d.L9)(n),l=t.left+(n.clientLeft+parseFloat(a.paddingLeft))*e.x,o=t.top+(n.clientTop+parseFloat(a.paddingTop))*e.y;h*=e.x,u*=e.y,p*=e.x,A*=e.y,h+=l,u+=o,r=(0,d.zk)(n),n=(0,d._m)(r)}}return(0,n.B1)({width:p,height:A,x:h,y:u})}function x(e,t){let r=(0,d.CP)(e).scrollLeft;return t?t.left+r:A((0,d.ep)(e)).left+r}function m(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-x(e,r),y:r.top+t.scrollTop}}function g(e,t,r){var a;let l;if("viewport"===t||"layoutViewport"===t)l=function(e,t,r){void 0===r&&(r="viewport");let n="layoutViewport"===r,a=(0,d.zk)(e),l=(0,d.ep)(e),o=a.visualViewport,i=l.clientWidth,s=l.clientHeight,c=0,h=0;if(o){let e=!(0,d.Tc)()||"fixed"===t;n?e||(c=-o.offsetLeft,h=-o.offsetTop):(i=o.width,s=o.height,e&&(c=o.offsetLeft,h=o.offsetTop))}if(0>=x(l)){let e=l.ownerDocument,t=e.body,r=getComputedStyle(t),n="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,a=Math.abs(l.clientWidth-t.clientWidth-n),o="stable both-edges"===getComputedStyle(l).scrollbarGutter?a/2:a;o<=25&&(i-=o)}return{width:i,height:s,x:c,y:h}}(e,r,t);else if("document"===t){let t,r,o,i,s,c;a=(0,d.ep)(e),t=(0,d.CP)(a),r=a.ownerDocument.body,o=(0,n.T9)(a.scrollWidth,a.clientWidth,r.scrollWidth,r.clientWidth),i=(0,n.T9)(a.scrollHeight,a.clientHeight,r.scrollHeight,r.clientHeight),s=-t.scrollLeft+x(a),c=-t.scrollTop,"rtl"===(0,d.L9)(r).direction&&(s+=(0,n.T9)(a.clientWidth,r.clientWidth)-o),l={width:o,height:i,x:s,y:c}}else if((0,d.vq)(t)){let e,n,a,o,i,s;n=(e=A(t,!0,"fixed"===r)).top+t.clientTop,a=e.left+t.clientLeft,o=w(t),i=t.clientWidth*o.x,s=t.clientHeight*o.y,l={width:i,height:s,x:a*o.x,y:n*o.y}}else{let r=v(e);l={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return(0,n.B1)(l)}function H(e){return"static"===(0,d.L9)(e).position}function M(e,t){if(!(0,d.sb)(e)||"fixed"===(0,d.L9)(e).position)return null;if(t)return t(e);let r=e.offsetParent;return(0,d.ep)(e)===r&&(r=r.ownerDocument.body),r}function V(e,t){let r=(0,d.zk)(e);if((0,d.Tf)(e))return r;if(!(0,d.sb)(e)){let t=(0,d.$4)(e);for(;t&&!(0,d.eu)(t);){if((0,d.vq)(t)&&!H(t))return t;t=(0,d.$4)(t)}return r}let n=M(e,t);for(;n&&(0,d.Lv)(n)&&H(n);)n=M(n,t);return n&&(0,d.eu)(n)&&H(n)&&!(0,d.sQ)(n)?r:n||(0,d.gJ)(e)||r}let j=async function(e){let t=this.getOffsetParent||V,r=this.getDimensions,a=await r(e.floating);return{reference:function(e,t,r){let a=(0,d.sb)(t),l=(0,d.ep)(t),o="fixed"===r,i=A(e,!0,o,t),s={scrollLeft:0,scrollTop:0},c=(0,n.Jx)(0);if((a||!o)&&(("body"!==(0,d.mq)(t)||(0,d.ZU)(l))&&(s=(0,d.CP)(t)),a)){let e=A(t,!0,o,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!a&&l&&(c.x=x(l));let h=!l||a||o?(0,n.Jx)(0):m(l,s);return{x:i.left+s.scrollLeft-c.x-h.x,y:i.top+s.scrollTop-c.y-h.y,width:i.width,height:i.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}},b={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:a,strategy:l}=e,o="fixed"===l,i=(0,d.ep)(a),s=!!t&&(0,d.Tf)(t.floating);if(a===i||s&&o)return r;let c={scrollLeft:0,scrollTop:0},h=(0,n.Jx)(1),u=(0,n.Jx)(0),f=(0,d.sb)(a);if((f||!o)&&(("body"!==(0,d.mq)(a)||(0,d.ZU)(i))&&(c=(0,d.CP)(a)),f)){let e=A(a);h=w(a),u.x=e.x+a.clientLeft,u.y=e.y+a.clientTop}let p=!i||f||o?(0,n.Jx)(0):m(i,c);return{width:r.width*h.x,height:r.height*h.y,x:r.x*h.x-c.scrollLeft*h.x+u.x+p.x,y:r.y*h.y-c.scrollTop*h.y+u.y+p.y}},getDocumentElement:d.ep,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:a,strategy:l}=e,o=[..."clippingAncestors"===r?(0,d.Tf)(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=(0,d.v9)(e,[],!1).filter(e=>(0,d.vq)(e)&&"body"!==(0,d.mq)(e)),a=null,l="fixed"===(0,d.L9)(e).position,o=l?(0,d.$4)(e):e;for(;(0,d.vq)(o)&&!(0,d.eu)(o);){let e=(0,d.L9)(o),t=(0,d.sQ)(o),r=a?a.position:l?"fixed":"";t||"fixed"!==r&&("absolute"!==r||"static"!==e.position)?a=e:n=n.filter(e=>e!==o),o=(0,d.$4)(o)}return t.set(e,n),n}(t,this._c):[].concat(r),a],i=g(t,o[0],l),s=i.top,c=i.right,h=i.bottom,u=i.left;for(let e=1;e<o.length;e++){let r=g(t,o[e],l);s=(0,n.T9)(r.top,s),c=(0,n.jk)(r.right,c),h=(0,n.jk)(r.bottom,h),u=(0,n.T9)(r.left,u)}return{width:c-u,height:h-s,x:u,y:s}},getOffsetParent:V,getElementRects:j,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:r}=u(e);return{width:t,height:r}},getScale:w,isElement:d.vq,isRTL:function(e){return"rtl"===(0,d.L9)(e).direction}};function Z(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function y(e,t,r,a){let l;void 0===a&&(a={});let{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:h=!1}=a,u=f(e),w=o||i?[...u?(0,d.v9)(u):[],...t?(0,d.v9)(t):[]]:[];w.forEach(e=>{o&&e.addEventListener("scroll",r),i&&e.addEventListener("resize",r)});let p=u&&c?function(e,t,r){let a,l=null,o=(0,d.ep)(e);function i(){var e;clearTimeout(a),null==(e=l)||e.disconnect(),l=null}function s(r,c){void 0===r&&(r=!1),void 0===c&&(c=1),i();let h=e.getBoundingClientRect(),{left:d,top:u,width:f,height:w}=h;if(r||t(),!f||!w)return;let p={rootMargin:-(0,n.RI)(u)+"px "+-(0,n.RI)(o.clientWidth-(d+f))+"px "+-(0,n.RI)(o.clientHeight-(u+w))+"px "+-(0,n.RI)(d)+"px",threshold:(0,n.T9)(0,(0,n.jk)(1,c))||1},v=!0;function A(t){let r=t[0].intersectionRatio;if(!Z(h,e.getBoundingClientRect()))return s();if(r!==c){if(!v)return s();r?s(!1,r):a=setTimeout(()=>{s(!1,1e-7)},1e3)}v=!1}try{l=new IntersectionObserver(A,{...p,root:o.ownerDocument})}catch(e){l=new IntersectionObserver(A,p)}l.observe(e)}let c=(0,d.zk)(e),h=()=>s(r);return c.addEventListener("resize",h),s(!0),()=>{c.removeEventListener("resize",h),i()}}(u,r,i):null,v=-1,x=null;s&&(x=new ResizeObserver(e=>{let[n]=e;n&&n.target===u&&x&&t&&(x.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=x)||e.observe(t)})),r()}),u&&!h&&x.observe(u),t&&x.observe(t));let m=h?A(e):null;return h&&function t(){let n=A(e);m&&!Z(m,n)&&r(),m=n,l=requestAnimationFrame(t)}(),r(),()=>{var e;w.forEach(e=>{o&&e.removeEventListener("scroll",r),i&&e.removeEventListener("resize",r)}),null==p||p(),null==(e=x)||e.disconnect(),x=null,h&&cancelAnimationFrame(l)}}let C=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:a,y:l,placement:o,middlewareData:i}=t,s=await h(t,e);return o===(null==(r=i.offset)?void 0:r.placement)&&null!=(n=i.arrow)&&n.alignmentOffset?{}:{x:a+s.x,y:l+s.y,data:{...s,placement:o}}}}},E=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,a,l,o,i;let{placement:s,middlewareData:c,rects:h,initialPlacement:d,platform:u,elements:f}=t,{mainAxis:w=!0,crossAxis:p=!0,fallbackPlacements:v,fallbackStrategy:A="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:m=!0,...g}=(0,n._3)(e,t);if(null!=(r=c.arrow)&&r.alignmentOffset)return{};let H=(0,n.C0)(s),M=(0,n.TV)(d),V=(0,n.C0)(d)===d,j=await (null==u.isRTL?void 0:u.isRTL(f.floating)),b=v||(V||!m?[(0,n.bV)(d)]:(0,n.WJ)(d)),Z="none"!==x;!v&&Z&&b.push(...(0,n.lP)(d,m,x,j));let y=[d,...b],C=await u.detectOverflow(t,g),E=[],R=(null==(a=c.flip)?void 0:a.overflows)||[];if(w&&E.push(C[H]),p){let e=(0,n.w7)(s,h,j);E.push(C[e[0]],C[e[1]])}if(R=[...R,{placement:s,overflows:E}],!E.every(e=>e<=0)){let e=((null==(l=c.flip)?void 0:l.index)||0)+1,t=y[e];if(t&&("alignment"!==p||M===(0,n.TV)(t)||R.every(e=>(0,n.TV)(e.placement)!==M||e.overflows[0]>0)))return{data:{index:e,overflows:R},reset:{placement:t}};let r=null==(o=R.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!r)switch(A){case"bestFit":{let e=null==(i=R.filter(e=>{if(Z){let t=(0,n.TV)(e.placement);return t===M||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:i[0];e&&(r=e);break}case"initialPlacement":r=d}if(s!==r)return{reset:{placement:r}}}return{}}}},R=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let r,a,{placement:l,rects:o,platform:i,elements:s}=t,{apply:c=()=>{},...h}=(0,n._3)(e,t),d=await i.detectOverflow(t,h),u=(0,n.C0)(l),f=(0,n.Sg)(l),w="y"===(0,n.TV)(l),{width:p,height:v}=o.floating;"top"===u||"bottom"===u?(r=u,a=f===(await (null==i.isRTL?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(a=u,r="end"===f?"top":"bottom");let A=v-d.top-d.bottom,x=p-d.left-d.right,m=(0,n.jk)(v-d[r],A),g=(0,n.jk)(p-d[a],x),H=t.middlewareData.shift,M=!H,V=m,j=g;null!=H&&H.enabled.x&&(j=x),null!=H&&H.enabled.y&&(V=A),M&&!f&&(w?j=p-2*(0,n.T9)(d.left,d.right):V=v-2*(0,n.T9)(d.top,d.bottom)),await c({...t,availableWidth:j,availableHeight:V});let b=await i.getDimensions(s.floating);return p!==b.width||v!==b.height?{reset:{rects:!0}}:{}}}},z=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r,platform:a}=t,{strategy:l="referenceHidden",...o}=(0,n._3)(e,t);switch(l){case"referenceHidden":{let e=i(await a.detectOverflow(t,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:s(e)}}}case"escaped":{let e=i(await a.detectOverflow(t,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:s(e)}}}default:return{}}}}},L=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:a,placement:l,rects:o,platform:i,elements:s,middlewareData:c}=t,{element:h,padding:d=0}=(0,n._3)(e,t)||{};if(null==h)return{};let u=(0,n.nI)(d),f={x:r,y:a},w=(0,n.Dz)(l),p=(0,n.sq)(w),v=await i.getDimensions(h),A="y"===w,x=A?"clientHeight":"clientWidth",m=o.reference[p]+o.reference[w]-f[w]-o.floating[p],g=f[w]-o.reference[w],H=await (null==i.getOffsetParent?void 0:i.getOffsetParent(h)),M=H?H[x]:0;M&&await (null==i.isElement?void 0:i.isElement(H))||(M=s.floating[x]||o.floating[p]);let V=M/2-v[p]/2-1,j=(0,n.jk)(u[A?"top":"left"],V),b=(0,n.jk)(u[A?"bottom":"right"],V),Z=M-v[p]-b,y=M/2-v[p]/2+(m/2-g/2),C=(0,n.qE)(j,y,Z),E=!c.arrow&&null!=(0,n.Sg)(l)&&y!==C&&o.reference[p]/2-(y<j?j:b)-v[p]/2<0,R=E?y<j?y-j:y-Z:0;return{[w]:f[w]+R,data:{[w]:C,centerOffset:y-C-R,...E&&{alignmentOffset:R}},reset:E}}}),B=(e,t,r)=>{let n=new Map,a=null!=r?r:{},l={...b,...a.platform,_c:n};return o(e,t,{...a,platform:l})}},26584(e,t,r){"use strict";r.d(t,{Ej:()=>w,UE:()=>v,UU:()=>f,cY:()=>u,jD:()=>p,we:()=>d});var n=r(4291),a=r(43925),l=r(43144),o="u">typeof document?a.useLayoutEffect:function(){};function i(e,t){let r,n,a;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!i(e[n],t[n]))return!1;return!0}if((r=(a=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,a[n]))return!1;for(n=r;0!=n--;){let r=a[n];if(("_owner"!==r||!e.$$typeof)&&!i(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function s(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function c(e,t){let r=s(e);return Math.round(t*r)/r}function h(e){let t=a.useRef(e);return o(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:d=[],platform:u,elements:{reference:f,floating:w}={},transform:p=!0,whileElementsMounted:v,open:A}=e,[x,m]=a.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[g,H]=a.useState(d);i(g,d)||H(d);let[M,V]=a.useState(null),[j,b]=a.useState(null),Z=a.useCallback(e=>{e!==R.current&&(R.current=e,V(e))},[]),y=a.useCallback(e=>{e!==z.current&&(z.current=e,b(e))},[]),C=f||M,E=w||j,R=a.useRef(null),z=a.useRef(null),L=a.useRef(x),B=null!=v,$=h(v),S=h(u),k=h(A),_=a.useCallback(()=>{if(!R.current||!z.current)return;let e={placement:t,strategy:r,middleware:g};S.current&&(e.platform=S.current),(0,n.rD)(R.current,z.current,e).then(e=>{let t={...e,isPositioned:!1!==k.current};N.current&&!i(L.current,t)&&(L.current=t,l.flushSync(()=>{m(t)}))})},[g,t,r,S,k]);o(()=>{!1===A&&L.current.isPositioned&&(L.current.isPositioned=!1,m(e=>({...e,isPositioned:!1})))},[A]);let N=a.useRef(!1);o(()=>(N.current=!0,()=>{N.current=!1}),[]),o(()=>{if(C&&(R.current=C),E&&(z.current=E),C&&E){if($.current)return $.current(C,E,_);_()}},[C,E,_,$,B]);let T=a.useMemo(()=>({reference:R,floating:z,setReference:Z,setFloating:y}),[Z,y]),I=a.useMemo(()=>({reference:C,floating:E}),[C,E]),O=a.useMemo(()=>{let e={position:r,left:0,top:0};if(!I.floating)return e;let t=c(I.floating,x.x),n=c(I.floating,x.y);return p?{...e,transform:"translate("+t+"px, "+n+"px)",...s(I.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,p,I.floating,x.x,x.y]);return a.useMemo(()=>({...x,update:_,refs:T,elements:I,floatingStyles:O}),[x,_,T,I,O])}let u=(e,t)=>{let r=(0,n.cY)(e);return{name:r.name,fn:r.fn,options:[e,t]}},f=(e,t)=>{let r=(0,n.UU)(e);return{name:r.name,fn:r.fn,options:[e,t]}},w=(e,t)=>{let r=(0,n.Ej)(e);return{name:r.name,fn:r.fn,options:[e,t]}},p=(e,t)=>{let r=(0,n.jD)(e);return{name:r.name,fn:r.fn,options:[e,t]}},v=(e,t)=>{let r={name:"arrow",options:e,fn(t){let{element:r,padding:a}="function"==typeof e?e(t):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?(0,n.UE)({element:r.current,padding:a}).fn(t):{}:r?(0,n.UE)({element:r,padding:a}).fn(t):{}}};return{name:r.name,fn:r.fn,options:[e,t]}}},10855(e,t,r){"use strict";r.d(t,{SV:()=>s,we:()=>v});var n=r(43925),a="u">typeof document?n.useLayoutEffect:function(){};let l={...n}.useInsertionEffect||(e=>e());r(31085);var o=r(1860);r(43144);var i=r(26584);function s(e){let t=n.useRef(void 0),r=n.useCallback(t=>{let r=e.map(e=>{if(null!=e){if("function"==typeof e){let r=e(t);return"function"==typeof r?r:()=>{e(null)}}return e.current=t,()=>{e.current=null}}});return()=>{r.forEach(e=>null==e?void 0:e())}},e);return n.useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=r(e))},e)}let c={...n},h=!1,d=0,u=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+d++,f=c.useId||function(){let[e,t]=n.useState(()=>h?u():void 0);return a(()=>{null==e&&t(u())},[]),n.useEffect(()=>{h=!0},[]),e},w=n.createContext(null),p=n.createContext(null);function v(e){var t,r;let{elements:s,...c}=void 0===e?{}:e,{nodeId:h}=c,d=function(e){var t,r;let a,{open:o=!1,onOpenChange:i,elements:s}=e,c=f(),h=n.useRef({}),[d]=n.useState(()=>{let e;return e=new Map,{emit(t,r){var n;null==(n=e.get(t))||n.forEach(e=>e(r))},on(t,r){e.has(t)||e.set(t,new Set),e.get(t).add(r)},off(t,r){var n;null==(n=e.get(t))||n.delete(r)}}}),u=null!=((null==(t=n.useContext(w))?void 0:t.id)||null),[p,v]=n.useState(s.reference),A=(r=(e,t,r)=>{h.current.openEvent=e?t:void 0,d.emit("openchange",{open:e,event:t,reason:r,nested:u}),null==i||i(e,t,r)},a=n.useRef(()=>{}),l(()=>{a.current=r}),n.useCallback(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return null==a.current?void 0:a.current(...t)},[])),x=n.useMemo(()=>({setPositionReference:v}),[]),m=n.useMemo(()=>({reference:p||s.reference||null,floating:s.floating||null,domReference:s.reference}),[p,s.reference,s.floating]);return n.useMemo(()=>({dataRef:h,open:o,onOpenChange:A,elements:m,events:d,floatingId:c,refs:x}),[o,A,m,d,c,x])}({...c,elements:{reference:null!=(t=null==s?void 0:s.reference)?t:null,floating:null!=(r=null==s?void 0:s.floating)?r:null}}),u=c.rootContext||d,v=u.elements,[A,x]=n.useState(null),[m,g]=n.useState(null),H=(null==v?void 0:v.domReference)||A,M=n.useRef(null),V=n.useContext(p);a(()=>{H&&(M.current=H)},[H]);let j=(0,i.we)({...c,elements:{...v,...m&&{reference:m}}}),b=n.useCallback(e=>{let t=(0,o.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;g(t),j.refs.setReference(t)},[j.refs]),Z=n.useCallback(e=>{((0,o.vq)(e)||null===e)&&(M.current=e,x(e)),((0,o.vq)(j.refs.reference.current)||null===j.refs.reference.current||null!==e&&!(0,o.vq)(e))&&j.refs.setReference(e)},[j.refs]),y=n.useMemo(()=>({...j.refs,setReference:Z,setPositionReference:b,domReference:M}),[j.refs,Z,b]),C=n.useMemo(()=>({...j.elements,domReference:H}),[j.elements,H]),E=n.useMemo(()=>({...j,...u,refs:y,elements:C,nodeId:h}),[j,y,C,h,u]);return a(()=>{u.dataRef.current.floatingContext=E;let e=null==V?void 0:V.nodesRef.current.find(e=>e.id===h);e&&(e.context=E)}),n.useMemo(()=>({...j,context:E,refs:y,elements:C}),[j,y,C,E])}},1860(e,t,r){"use strict";let n;function a(){return"u">typeof window}function l(e){return s(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function i(e){var t;return null==(t=(s(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function s(e){return!!a()&&(e instanceof Node||e instanceof o(e).Node)}function c(e){return!!a()&&(e instanceof Element||e instanceof o(e).Element)}function h(e){return!!a()&&(e instanceof HTMLElement||e instanceof o(e).HTMLElement)}function d(e){return!(!a()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof o(e).ShadowRoot)}function u(e){let{overflow:t,overflowX:r,overflowY:n,display:a}=M(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&"inline"!==a&&"contents"!==a}function f(e){return/^(table|td|th)$/.test(l(e))}function w(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}r.d(t,{$4:()=>j,CP:()=>V,L9:()=>M,Lv:()=>f,Tc:()=>g,Tf:()=>w,ZU:()=>u,_m:()=>b,ep:()=>i,eu:()=>H,gJ:()=>m,mq:()=>l,sQ:()=>x,sb:()=>h,v9:()=>function e(t,r,n){var a;void 0===r&&(r=[]),void 0===n&&(n=!0);let l=function e(t){let r=j(t);return H(r)?(t.ownerDocument||t).body:h(r)&&u(r)?r:e(r)}(t),i=l===(null==(a=t.ownerDocument)?void 0:a.body),s=o(l);if(!i)return r.concat(l,e(l,[],n));{let t=b(s);return r.concat(s,s.visualViewport||[],u(l)?l:[],t&&n?e(t):[])}},vq:()=>c,zk:()=>o});let p=/transform|translate|scale|rotate|perspective|filter/,v=/paint|layout|strict|content/,A=e=>!!e&&"none"!==e;function x(e){let t=c(e)?M(e):e;return A(t.transform)||A(t.translate)||A(t.scale)||A(t.rotate)||A(t.perspective)||!g()&&(A(t.backdropFilter)||A(t.filter))||p.test(t.willChange||"")||v.test(t.contain||"")}function m(e){let t=j(e);for(;h(t)&&!H(t);){if(x(t))return t;if(w(t))break;t=j(t)}return null}function g(){return null==n&&(n="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),n}function H(e){return/^(html|body|#document)$/.test(l(e))}function M(e){return o(e).getComputedStyle(e)}function V(e){return c(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function j(e){if("html"===l(e))return e;let t=e.assignedSlot||e.parentNode||d(e)&&e.host||i(e);return d(t)?t.host:t}function b(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}},22166(e,t,r){"use strict";r.d(t,{B1:()=>y,C0:()=>u,Dz:()=>v,Jx:()=>s,LI:()=>o,RI:()=>i,Sg:()=>f,T9:()=>l,TV:()=>p,WJ:()=>x,_3:()=>d,bV:()=>b,jk:()=>a,lP:()=>j,nI:()=>Z,qE:()=>h,r_:()=>n,sq:()=>w,w7:()=>A});let n=["top","right","bottom","left"],a=Math.min,l=Math.max,o=Math.round,i=Math.floor,s=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function h(e,t,r){return l(e,a(t,r))}function d(e,t){return"function"==typeof e?e(t):e}function u(e){return e.split("-")[0]}function f(e){return e.split("-")[1]}function w(e){return"y"===e?"height":"width"}function p(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function v(e){return"x"===p(e)?"y":"x"}function A(e,t,r){void 0===r&&(r=!1);let n=f(e),a=v(e),l=w(a),o="x"===a?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[l]>t.floating[l]&&(o=b(o)),[o,b(o)]}function x(e){let t=b(e);return[m(e),t,m(t)]}function m(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let g=["left","right"],H=["right","left"],M=["top","bottom"],V=["bottom","top"];function j(e,t,r,n){let a=f(e),l=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?H:g;return t?g:H;case"left":case"right":return t?M:V;default:return[]}}(u(e),"start"===r,n);return a&&(l=l.map(e=>e+"-"+a),t&&(l=l.concat(l.map(m)))),l}function b(e){let t=u(e);return c[t]+e.slice(t.length)}function Z(e){var t,r,n,a;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(r=e.right)?r:0,bottom:null!=(n=e.bottom)?n:0,left:null!=(a=e.left)?a:0}:{top:e,right:e,bottom:e,left:e}}function y(e){let{x:t,y:r,width:n,height:a}=e;return{width:n,height:a,top:r,left:t,right:t+n,bottom:r+a,x:t,y:r}}},19264(e,t,r){"use strict";r.d(t,{K:()=>i});let n=new Map,a=!1;try{a="exceptZero"===new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay}catch{}let l=!1;try{l="unit"===new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style}catch{}let o={degree:{narrow:{default:"\xb0","ja-JP":" 度","zh-TW":"度","sl-SI":" \xb0"}}};class i{constructor(e,t={}){this.numberFormatter=function(e,t={}){let{numberingSystem:r}=t;if(r&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${r}`),"unit"===t.style&&!l){let{unit:e,unitDisplay:r="short"}=t;if(!e)throw Error('unit option must be provided with style: "unit"');if(!o[e]?.[r])throw Error(`Unsupported unit ${e} with unitDisplay = ${r}`);t={...t,style:"decimal"}}let a=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(n.has(a))return n.get(a);let i=new Intl.NumberFormat(e,t);return n.set(a,i),i}(e,t),this.options=t}format(e){let t="";if(t=a||null==this.options.signDisplay?this.numberFormatter.format(e):function(e,t,r){if("auto"===t)return e.format(r);{if("never"===t)return e.format(Math.abs(r));let n=!1;if("always"===t?n=r>0||Object.is(r,0):"exceptZero"===t&&(Object.is(r,-0)||Object.is(r,0)?r=Math.abs(r):n=r>0),!n)return e.format(r);{let t=e.format(-r),n=e.format(r),a=t.replace(n,"").replace(/\u200e|\u061C/,"");return 1!=[...a].length&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),t.replace(n,"!!!").replace(a,"+").replace("!!!",n)}}}(this.numberFormatter,this.options.signDisplay,e),"unit"===this.options.style&&!l){let{unit:e,unitDisplay:r="short",locale:n}=this.resolvedOptions();if(!e)return t;let a=o[e]?.[r];t+=a[n]||a.default}return t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if("function"==typeof this.numberFormatter.formatRange)return this.numberFormatter.formatRange(e,t);if(t<e)throw RangeError("End date must be >= start date");return`${this.format(e)} \u{2013} ${this.format(t)}`}formatRangeToParts(e,t){if("function"==typeof this.numberFormatter.formatRangeToParts)return this.numberFormatter.formatRangeToParts(e,t);if(t<e)throw RangeError("End date must be >= start date");let r=this.numberFormatter.formatToParts(e),n=this.numberFormatter.formatToParts(t);return[...r.map(e=>({...e,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...n.map(e=>({...e,source:"endRange"}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return a||null==this.options.signDisplay||(e={...e,signDisplay:this.options.signDisplay}),l||"unit"!==this.options.style||(e={...e,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}}},72103(e,t,r){"use strict";r.d(t,{d:()=>o});var n=r(19264);let a=RegExp("^.*\\(.*\\).*$"),l=["latn","arab","hanidec","deva","beng","fullwide"];class o{constructor(e,t={}){this.locale=e,this.options=t}parse(e){return s(this.locale,this.options,e).parse(e)}isValidPartialNumber(e,t,r){return s(this.locale,this.options,e).isValidPartialNumber(e,t,r)}getNumberingSystem(e){return s(this.locale,this.options,e).options.numberingSystem}}let i=new Map;function s(e,t,r){let n=c(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(r)){for(let a of l)if(a!==n.options.numberingSystem){let n=c(e+(e.includes("-u-")?"-nu-":"-u-nu-")+a,t);if(n.isValidPartialNumber(r))return n}}return n}function c(e,t){let r=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():""),n=i.get(r);return n||(n=new h(e,t),i.set(r,n)),n}class h{constructor(e,t={}){this.locale=e,1!==t.roundingIncrement&&null!=t.roundingIncrement&&(null==t.maximumFractionDigits&&null==t.minimumFractionDigits?(t.maximumFractionDigits=0,t.minimumFractionDigits=0):null==t.maximumFractionDigits?t.maximumFractionDigits=t.minimumFractionDigits:null==t.minimumFractionDigits&&(t.minimumFractionDigits=t.maximumFractionDigits)),this.formatter=new Intl.NumberFormat(e,t),this.options=this.formatter.resolvedOptions(),this.symbols=function(e,t,r,n){let a=new Intl.NumberFormat(e,{...r,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand",useGrouping:!0}),l=a.formatToParts(-10000.111),o=a.formatToParts(10000.111),i=u.map(e=>a.formatToParts(e)),s=i.map((e,t)=>{let r=e.find(e=>"unit"===e.type);return r&&!e.some(e=>"integer"===e.type||"fraction"===e.type)?{unit:r.value,value:u[t]}:null}).filter(e=>!!e),c=l.find(e=>"minusSign"===e.type)?.value??"-",h=o.find(e=>"plusSign"===e.type)?.value;h||n?.signDisplay!=="exceptZero"&&n?.signDisplay!=="always"||(h="+");let f=new Intl.NumberFormat(e,{...r,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001),p=f.find(e=>"decimal"===e.type)?.value,v=l.find(e=>"group"===e.type)?.value,A=[...new Set([...l.filter(e=>!d.has(e.type)).map(e=>w(e.value)),...i.flatMap(e=>e.filter(e=>!d.has(e.type)).map(e=>w(e.value)))])].sort((e,t)=>t.length-e.length),x=0===A.length?RegExp("\\p{White_Space}|\\p{Cf}","gu"):RegExp(`${A.join("|")}|\\p{White_Space}|\\p{Cf}`,"gu"),m=[...new Intl.NumberFormat(r.locale,{useGrouping:!1}).format(0x24cb016ea)].reverse(),g=new Map(m.map((e,t)=>[e,t]));return{minusSign:c,plusSign:h,decimal:p,group:v,literals:x,numeral:RegExp(`[${m.join("")}]`,"g"),numerals:m,index:e=>String(g.get(e)),noNumeralUnits:s}}(e,this.formatter,this.options,t),"percent"===this.options.style&&((this.options.minimumFractionDigits??0)>18||(this.options.maximumFractionDigits??0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}parse(e){let t=this.formatter.resolvedOptions().useGrouping,r=this.sanitize(e);if(!t&&this.symbols.group&&r.includes(this.symbols.group))return NaN;if(this.symbols.group&&(r=r.replaceAll(this.symbols.group,"")),this.symbols.decimal&&(r=r.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(r=r.replace(this.symbols.minusSign,"-")),r=r.replace(this.symbols.numeral,this.symbols.index),"percent"===this.options.style){let e=r.indexOf("-"),t=(r=(r=r.replace("-","")).replace("+","")).indexOf(".");-1===t&&(t=r.length),r=r.replace(".",""),r=t-2==0?`0.${r}`:t-2==-1?`0.0${r}`:t-2==-2?"0.00":`${r.slice(0,t-2)}.${r.slice(t-2)}`,e>-1&&(r=`-${r}`)}let l=r?+r:NaN;if(isNaN(l))return NaN;if("percent"===this.options.style){let e={...this.options,style:"decimal",minimumFractionDigits:Math.min((this.options.minimumFractionDigits??0)+2,20),maximumFractionDigits:Math.min((this.options.maximumFractionDigits??0)+2,20)};return new o(this.locale,e).parse(new(0,n.K)(this.locale,e).format(l))}return"accounting"===this.options.currencySign&&a.test(e)&&(l*=-1),l}sanitize(e){let t=this.formatter.resolvedOptions().useGrouping;return this.symbols.noNumeralUnits.length>0&&this.symbols.noNumeralUnits.find(t=>t.unit===e)?this.symbols.noNumeralUnits.find(t=>t.unit===e).value.toString():(e=e.replace(this.symbols.literals,""),this.symbols.minusSign&&(e=e.replace("-",this.symbols.minusSign)),"arab"===this.options.numberingSystem&&(this.symbols.decimal&&(e=f(e,",",this.symbols.decimal),e=f(e,String.fromCharCode(1548),this.symbols.decimal)),this.symbols.group&&t&&(e=f(e,".",this.symbols.group))),"’"===this.symbols.group&&e.includes("'")&&t&&(e=f(e,"'",this.symbols.group)),"'"===this.symbols.group&&e.includes("’")&&t&&(e=f(e,"’",this.symbols.group)),"fr-FR"===this.options.locale&&this.symbols.group&&t&&(e=f(e," ",this.symbols.group),e=f(e,/\u00A0/g,this.symbols.group)),e)}isValidPartialNumber(e,t=-1/0,r=1/0){let n=this.formatter.resolvedOptions().useGrouping;return e=this.sanitize(e),this.symbols.minusSign&&e.startsWith(this.symbols.minusSign)&&t<0?e=e.slice(this.symbols.minusSign.length):this.symbols.plusSign&&e.startsWith(this.symbols.plusSign)&&r>0&&(e=e.slice(this.symbols.plusSign.length)),(!(this.symbols.decimal&&e.indexOf(this.symbols.decimal)>-1)||0!==this.options.maximumFractionDigits)&&(this.symbols.group&&n&&(e=f(e,this.symbols.group,"")),e=e.replace(this.symbols.numeral,""),this.symbols.decimal&&(e=e.replace(this.symbols.decimal,"")),0===e.length)}}let d=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),u=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function f(e,t,r){return e.replaceAll?e.replaceAll(t,r):e.split(t).join(r)}function w(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}},32280(e,t,r){"use strict";r.d(t,{O:()=>s});let n=e=>"object"==typeof e&&null!=e&&1===e.nodeType,a=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,l=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let r,n=getComputedStyle(e,null);return a(n.overflowY,t)||a(n.overflowX,t)||!!(r=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e))&&(r.clientHeight<e.scrollHeight||r.clientWidth<e.scrollWidth)}return!1},o=(e,t,r,n,a,l,o,i)=>l<e&&o>t||l>e&&o<t?0:l<=e&&i<=r||o>=t&&i>=r?l-e-n:o>t&&i<r||l<e&&i>r?o-t+a:0,i=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},s=(e,t)=>{var r,a,s,c;let h;if("u"<typeof document)return[];let{scrollMode:d,block:u,inline:f,boundary:w,skipOverflowHiddenElements:p}=t,v="function"==typeof w?w:e=>e!==w;if(!n(e))throw TypeError("Invalid target");let A=document.scrollingElement||document.documentElement,x=[],m=e;for(;n(m)&&v(m);){if((m=i(m))===A){x.push(m);break}null!=m&&m===document.body&&l(m)&&!l(document.documentElement)||null!=m&&l(m,p)&&x.push(m)}let g=null!=(a=null==(r=window.visualViewport)?void 0:r.width)?a:innerWidth,H=null!=(c=null==(s=window.visualViewport)?void 0:s.height)?c:innerHeight,{scrollX:M,scrollY:V}=window,{height:j,width:b,top:Z,right:y,bottom:C,left:E}=e.getBoundingClientRect(),{top:R,right:z,bottom:L,left:B}={top:parseFloat((h=window.getComputedStyle(e)).scrollMarginTop)||0,right:parseFloat(h.scrollMarginRight)||0,bottom:parseFloat(h.scrollMarginBottom)||0,left:parseFloat(h.scrollMarginLeft)||0},$="start"===u||"nearest"===u?Z-R:"end"===u?C+L:Z+j/2-R+L,S="center"===f?E+b/2-B+z:"end"===f?y+z:E-B,k=[];for(let e=0;e<x.length;e++){let t=x[e],{height:r,width:n,top:a,right:i,bottom:s,left:c}=t.getBoundingClientRect();if("if-needed"===d&&Z>=0&&E>=0&&C<=H&&y<=g&&(t===A&&!l(t)||Z>=a&&C<=s&&E>=c&&y<=i))break;let h=getComputedStyle(t),w=parseInt(h.borderLeftWidth,10),p=parseInt(h.borderTopWidth,10),v=parseInt(h.borderRightWidth,10),m=parseInt(h.borderBottomWidth,10),R=0,z=0,L="offsetWidth"in t?t.offsetWidth-t.clientWidth-w-v:0,B="offsetHeight"in t?t.offsetHeight-t.clientHeight-p-m:0,_="offsetWidth"in t?0===t.offsetWidth?0:n/t.offsetWidth:0,N="offsetHeight"in t?0===t.offsetHeight?0:r/t.offsetHeight:0;if(A===t)R="start"===u?$:"end"===u?$-H:"nearest"===u?o(V,V+H,H,p,m,V+$,V+$+j,j):$-H/2,z="start"===f?S:"center"===f?S-g/2:"end"===f?S-g:o(M,M+g,g,w,v,M+S,M+S+b,b),R=Math.max(0,R+V),z=Math.max(0,z+M);else{R="start"===u?$-a-p:"end"===u?$-s+m+B:"nearest"===u?o(a,s,r,p,m+B,$,$+j,j):$-(a+r/2)+B/2,z="start"===f?S-c-w:"center"===f?S-(c+n/2)+L/2:"end"===f?S-i+v+L:o(c,i,n,w,v+L,S,S+b,b);let{scrollLeft:e,scrollTop:l}=t;R=0===N?0:Math.max(0,Math.min(l+R/N,t.scrollHeight-r/N+B)),z=0===_?0:Math.max(0,Math.min(e+z/_,t.scrollWidth-n/_+L)),$+=l-R,S+=e-z}k.push({el:t,top:R,left:z})}return k}},39543(e,t,r){"use strict";function n(e,t=0,r={}){let a;"object"!=typeof r&&(r={});let{leading:l=!1,trailing:o=!0,maxWait:i}=r,s=[,,];l&&(s[0]="leading"),o&&(s[1]="trailing");let c=null,h=function(e,t,{signal:r,edges:n}={}){let a,l=null,o=null!=n&&n.includes("leading"),i=null==n||n.includes("trailing"),s=()=>{null!==l&&(e.apply(a,l),a=void 0,l=null)},c=null,h=()=>{null!=c&&clearTimeout(c),c=setTimeout(()=>{c=null,i&&s(),d()},t)},d=()=>{null!==c&&(clearTimeout(c),c=null),a=void 0,l=null},u=function(...e){if(r?.aborted)return;a=this,l=e;let t=null==c;h(),o&&t&&s()};return u.schedule=h,u.cancel=d,u.flush=()=>{s()},r?.addEventListener("abort",d,{once:!0}),u}(function(...t){a=e.apply(this,t),c=null},t,{edges:s}),d=function(...t){return null!=i&&(null===c&&(c=Date.now()),Date.now()-c>=i)?(a=e.apply(this,t),c=Date.now(),h.cancel(),h.schedule(),a):(h.apply(this,t),a)};return d.cancel=h.cancel,d.flush=()=>(h.flush(),a),d}r.d(t,{s:()=>n})},85608(e,t,r){"use strict";r.d(t,{Cl:()=>n});var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)}}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={id:e,exports:{}};return l[e].call(r.exports,r,r.exports,i),r.exports}i.m=l,i.c=o,i.x=()=>i(96459),i.federation||(i.federation={chunkMatcher:function(e){return!/^(1558|1865|2635|5762|6259|934)$/.test(e)},rootOutputDir:""}),i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},c=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(e,t){if(1&t&&(e=this(e)),8&t||"object"==typeof e&&e&&(4&t&&e.__esModule||16&t&&"function"==typeof e.then))return e;var r=Object.create(null);i.r(r);var n={};s=s||[null,c({}),c([]),c(c)];for(var a=2&t&&e;("object"==typeof a||"function"==typeof a)&&!~s.indexOf(a);a=c(a))Object.getOwnPropertyNames(a).forEach(t=>{n[t]=()=>e[t]});return n.default=()=>e,i.d(r,n),r},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce((t,r)=>(i.f[r](e,t),t),[])),i.u=e=>""+e+".js",i.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),h={},i.l=function(e,t,r,n){if(h[e])return void h[e].push(t);if(void 0!==r)for(var a,l,o=document.getElementsByTagName("script"),s=0;s<o.length;s++){var c=o[s];if(c.getAttribute("src")==e||c.getAttribute("data-rspack")=="@kenyaemr/esm-express-workflow-app:"+r){a=c;break}}a||(l=!0,(a=document.createElement("script")).timeout=120,i.nc&&a.setAttribute("nonce",i.nc),a.setAttribute("data-rspack","@kenyaemr/esm-express-workflow-app:"+r),a.src=e),h[e]=[t];var d=function(t,r){a.onerror=a.onload=null,clearTimeout(u);var n=h[e];if(delete h[e],a.parentNode&&a.parentNode.removeChild(a),n&&n.forEach(function(e){return e(r)}),t)return t(r)},u=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),l&&document.head.appendChild(a)},i.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0,i.rv=()=>"1.7.9",i.S={},i.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"@openmrs/esm-framework",version:"10.0.1-pre.5263",factory:()=>Promise.all([i.e("3989"),i.e("7209"),i.e("257"),i.e("9011"),i.e("4818"),i.e("689"),i.e("1659"),i.e("9087"),i.e("1831"),i.e("221"),i.e("1278"),i.e("2537"),i.e("9060"),i.e("7022"),i.e("1148"),i.e("8028"),i.e("820"),i.e("356"),i.e("2916"),i.e("3335"),i.e("2648"),i.e("6634"),i.e("2202"),i.e("2556"),i.e("6337"),i.e("1620"),i.e("8178"),i.e("5958"),i.e("4215"),i.e("1520"),i.e("2814"),i.e("647"),i.e("4588"),i.e("6478"),i.e("393"),i.e("8762"),i.e("6273"),i.e("8240"),i.e("5676"),i.e("4178"),i.e("9520"),i.e("6427"),i.e("2534"),i.e("5967"),i.e("7360"),i.e("9213"),i.e("989"),i.e("8924"),i.e("8864"),i.e("4308"),i.e("7101"),i.e("2947"),i.e("7904"),i.e("3504"),i.e("6161"),i.e("8225"),i.e("5514"),i.e("5762"),i.e("1558"),i.e("6259"),i.e("2635"),i.e("1865")]).then(()=>()=>i(45263)),eager:0,singleton:1,requiredVersion:"9.x",strictVersion:0},{name:"dayjs",version:"1.11.21",factory:()=>i.e("5697").then(()=>()=>i(23464)),eager:0,singleton:1,requiredVersion:"1.x",strictVersion:0},{name:"react-i18next",version:"16.0.0",factory:()=>Promise.all([i.e("1789"),i.e("1558")]).then(()=>()=>i(42348)),eager:0,singleton:1,requiredVersion:"11.x",strictVersion:0},{name:"react-router-dom",version:"6.30.4",factory:()=>Promise.all([i.e("689"),i.e("2842"),i.e("5086"),i.e("1558")]).then(()=>()=>i(12689)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0},{name:"react",version:"18.3.1",factory:()=>i.e("466").then(()=>()=>i(14041)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"swr/_internal",version:"2.4.2",factory:()=>Promise.all([i.e("3989"),i.e("1558")]).then(()=>()=>i(42372)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/immutable",version:"2.4.2",factory:()=>Promise.all([i.e("3989"),i.e("7209"),i.e("1558"),i.e("1442")]).then(()=>()=>i(29876)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/infinite",version:"2.4.2",factory:()=>Promise.all([i.e("3989"),i.e("7209"),i.e("1558"),i.e("9771")]).then(()=>()=>i(52470)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0}]},uniqueName:"@kenyaemr/esm-express-workflow-app"},i.I=i.I||function(){throw Error("should have __webpack_require__.I")},i.g.importScripts&&(d=i.g.location+"");var s,c,h,d,u=i.g.document;if(!d&&u&&(u.currentScript&&"SCRIPT"===u.currentScript.tagName.toUpperCase()&&(d=u.currentScript.src),!d)){var f=u.getElementsByTagName("script");if(f.length)for(var w=f.length-1;w>-1&&(!d||!/^http(s?):/.test(d));)d=f[w--].src}if(!d)throw Error("Automatic publicPath is not supported in this browser");i.p=d=d.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.consumesLoadingData={chunkMapping:{2635:["36142","80976","58088"],1889:["80976","36142","43925","1487","58088"],6259:["36510"],1865:["97744"],1558:["43925"],5762:["75721"],934:["3813"]},moduleIdToConsumeDataMapping:{3813:{shareScope:"default",shareKey:"@openmrs/esm-framework/src/internal",import:"@openmrs/esm-framework/src/internal",requiredVersion:"*",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([i.e("3989"),i.e("7209"),i.e("257"),i.e("9011"),i.e("4818"),i.e("1659"),i.e("9087"),i.e("1831"),i.e("221"),i.e("1278"),i.e("2537"),i.e("9060"),i.e("7022"),i.e("1148"),i.e("8028"),i.e("820"),i.e("356"),i.e("2916"),i.e("3335"),i.e("2648"),i.e("6634"),i.e("2202"),i.e("2556"),i.e("6337"),i.e("1620"),i.e("8178"),i.e("5958"),i.e("4215"),i.e("1520"),i.e("2814"),i.e("647"),i.e("4588"),i.e("6478"),i.e("393"),i.e("8762"),i.e("6273"),i.e("8240"),i.e("5676"),i.e("4178"),i.e("9520"),i.e("6427"),i.e("2534"),i.e("5967"),i.e("7360"),i.e("9213"),i.e("5762"),i.e("6259"),i.e("1865")]).then(()=>()=>i(45263))},75721:{shareScope:"default",shareKey:"react-router-dom",import:"react-router-dom",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([i.e("2842"),i.e("5086")]).then(()=>()=>i(12689))},58088:{shareScope:"default",shareKey:"react-i18next",import:"react-i18next",requiredVersion:"11.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>i.e("1789").then(()=>()=>i(42348))},97744:{shareScope:"default",shareKey:"swr/infinite",import:"swr/infinite",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>i.e("2152").then(()=>()=>i(52470))},36142:{shareScope:"default",shareKey:"swr/immutable",import:"swr/immutable",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([i.e("3989"),i.e("7209"),i.e("9061")]).then(()=>()=>i(29876))},36510:{shareScope:"default",shareKey:"swr/_internal",import:"swr/_internal",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>()=>i(42372)},43925:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>i.e("466").then(()=>()=>i(14041))},80976:{shareScope:"default",shareKey:"dayjs",import:"dayjs",requiredVersion:"1.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>i.e("5697").then(()=>()=>i(23464))},1487:{shareScope:"default",shareKey:"@openmrs/esm-framework",import:"@openmrs/esm-framework",requiredVersion:"9.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([i.e("3989"),i.e("7209"),i.e("257"),i.e("9011"),i.e("4818"),i.e("1659"),i.e("9087"),i.e("1831"),i.e("221"),i.e("1278"),i.e("2537"),i.e("9060"),i.e("7022"),i.e("1148"),i.e("8028"),i.e("820"),i.e("356"),i.e("2916"),i.e("3335"),i.e("2648"),i.e("6634"),i.e("2202"),i.e("2556"),i.e("6337"),i.e("1620"),i.e("8178"),i.e("5958"),i.e("4215"),i.e("1520"),i.e("2814"),i.e("647"),i.e("4588"),i.e("6478"),i.e("393"),i.e("8762"),i.e("6273"),i.e("8240"),i.e("5676"),i.e("4178"),i.e("9520"),i.e("6427"),i.e("2534"),i.e("5967"),i.e("7360"),i.e("9213"),i.e("5762"),i.e("6259"),i.e("1865")]).then(()=>()=>i(45263))}},initialConsumes:["80976","36142","43925","1487","58088"]},i.f.consumes=i.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")},e={1889:0},i.f.j=function(t,r){var n=i.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(1558|1865|2635|5762|6259|934)$/.test(t))e[t]=0;else{var a=new Promise((r,a)=>n=e[t]=[r,a]);r.push(n[2]=a);var l=i.p+i.u(t),o=Error();i.l(l,function(r){if(i.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=r&&("load"===r.type?"missing":r.type),l=r&&r.target&&r.target.src;o.message="Loading chunk "+t+" failed.\n("+a+": "+l+")",o.name="ChunkLoadError",o.type=a,o.request=l,n[1](o)}},"chunk-"+t,t)}},t=(t,r)=>{var n,a,[l,o,s]=r,c=0;if(l.some(t=>0!==e[t])){for(n in o)i.o(o,n)&&(i.m[n]=o[n]);s&&s(i)}for(t&&t(r);c<l.length;c++)a=l[c],i.o(e,a)&&e[a]&&e[a][0](),e[a]=0},(r=globalThis.webpackChunk_kenyaemr_esm_express_workflow_app=globalThis.webpackChunk_kenyaemr_esm_express_workflow_app||[]).forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r)),i.ruid="bundler=rspack@1.7.9",n=i.x,a=!1,i.x=function(){if(a||(a=!0,i(94646)),"function"==typeof n)return n();console.warn("[MF] Invalid prevStartup")},i.x()})();
|
package/dist/routes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":">=1.2","webservices.rest":">=2.24.0"},"pages":[{"component":"root","route":"express-workflow"},{"component":"queuesAdminHome","route":"queues-admin"},{"component":"machineLearningDashboard","route":"machine-learning"}],"extensions":[{"component":"machineLearningIitLeftPanelLink","name":"machine-learning-iit-link","slot":"machine-learning-left-panel-slot","order":0},{"component":"machineLearningRtcLeftPanelLink","name":"machine-learning-rtc-link","slot":"machine-learning-left-panel-slot","order":1},{"component":"appointmentsDashboardLink","name":"appointments-dashboard-link","slot":"appointments-left-panel-slot","meta":{"name":"appointments","slot":"appointments-dashboard-slot","title":"Appointments"}},{"name":"ewf-preauth-dashboard-link","component":"preauthDashboardLink","slot":"patient-chart-dashboard-slot","order":10,"meta":{"name":"ewf-preauth","title":"Preauthorization","path":"preauthorization","slot":"ewf-preauth-dashboard-slot","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-preauth-dashboard","component":"preauthDashboard","slot":"ewf-patient-chart-preauth-dashboard-slot","online":true,"offline":false},{"component":"admissionsLeftPanelLink","name":"admissions-dashboard-link","slot":"express-workflow-left-panel-slot","order":9,"meta":{"name":"admissions","slot":"admissions-dashboard-slot","title":"Admissions"}},{"component":"admissionsDashboard","name":"admissions-dashboard","slot":"admissions-dashboard-slot"},{"component":"consultationLeftPanelLink","name":"consultation-dashboard-link","slot":"homepage-dashboard-slot","order":3,"meta":{"name":"consultation","slot":"consultation-dashboard-slot","title":"Consultation"}},{"component":"consultationDashboard","name":"consultation-dashboard","slot":"consultation-dashboard-slot"},{"component":"facilityLeftPanelLink","name":"facility-dashboard-link","slot":"homepage-dashboard-slot","order":0,"meta":{"name":"dashboard","slot":"facility-dashboard-slot","title":"Dashboard"}},{"component":"facilityDashboard","name":"facility-dashboard","slot":"facility-dashboard-slot"},{"component":"mchLeftPanelLink","name":"mch-dashboard-link","slot":"homepage-dashboard-slot","meta":{"name":"mch","slot":"mch-dashboard-slot","title":"MCH"}},{"component":"mchDashboard","name":"mch-dashboard","slot":"mch-dashboard-slot"},{"component":"registrationLeftPanelLink","name":"registration-dashboard-link","slot":"homepage-dashboard-slot","meta":{"name":"registration","slot":"registration-dashboard-slot","title":"Registration"}},{"component":"registrationDashboard","name":"registration-dashboard","slot":"registration-dashboard-slot"},{"component":"triageLeftPanelLink","name":"triage-dashboard-link","slot":"homepage-dashboard-slot","meta":{"name":"triage","slot":"triage-dashboard-slot","title":"Triage"}},{"component":"triageDashboard","name":"triage-dashboard","slot":"triage-dashboard-slot"},{"name":"custom-visit-form-queue-fields","component":"checkinFormExtraExtension","slot":"billing-visit-attributes-slot","order":0},{"name":"pharmacy-homepage-dashboard-link","component":"pharmacyLink","slot":"homepage-dashboard-slot","meta":{"name":"pharmacy","title":"Pharmacy","path":"pharmacy","slot":"pharmacy-homepage-dashboard-slot"}},{"name":"pharmacy-homepage-dashboard","component":"pharmacy","slot":"pharmacy-homepage-dashboard-slot","online":true,"offline":false},{"name":"ewf-pharmacy-orders-dashboard","component":"pharmacyOrders","slot":"ewf-orders-slot","online":true,"offline":false},{"name":"patient-summary-dashboard","component":"patientSummaryDashboard","slot":"patient-chart-summary-dashboard-slot"},{"name":"ewf-clinical-encounter-link","component":"clinicalEncounterLink","slot":"patient-chart-dashboard-slot","meta":{"name":"ewf-clinical-encounter","title":"Clinical Encounter","slot":"ewf-patient-chart-clinical-encounter-slot","path":"clinical-encounter","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-clinical-encounter-dashboard","component":"clinicalEncounter","slot":"ewf-patient-chart-clinical-encounter-slot","online":true,"offline":false},{"name":"ewf-laboratory-dashboard-link","component":"laboratoryLeftPanelLink","slot":"patient-chart-dashboard-slot","meta":{"name":"ewf-laboratory","title":"Lab Orders","path":"laboratory","slot":"ewf-patient-chart-laboratory-dashboard-slot","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-laboratory-dashboard","component":"laboratoryDashboard","slot":"ewf-patient-chart-laboratory-dashboard-slot","online":true,"offline":false},{"name":"ewf-radiology-and-imaging-dashboard-link","component":"radiologyAndImagingLeftPanelLink","slot":"patient-chart-dashboard-slot","meta":{"name":"ewf-radiology-and-imaging","title":"Radiology and Imaging","path":"radiology-and-imaging","slot":"ewf-patient-chart-radiology-and-imaging-dashboard-slot","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-radiology-and-imaging-dashboard","component":"radiologyAndImagingDashboard","slot":"ewf-patient-chart-radiology-and-imaging-dashboard-slot","online":true,"offline":false},{"name":"ewf-procedures-dashboard-link","component":"proceduresLeftPanelLink","slot":"patient-chart-dashboard-slot","meta":{"name":"ewf-procedures","title":"Procedures","path":"procedures","slot":"ewf-patient-chart-procedures-dashboard-slot","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-procedures-dashboard","component":"proceduresDashboard","slot":"ewf-patient-chart-procedures-dashboard-slot","online":true,"offline":false},{"name":"ewf-pharmacy-dashboard-link","component":"pharmacyPatientChartDashboardLink","slot":"patient-chart-dashboard-slot","meta":{"name":"ewf-pharmacy","title":"Prescription","path":"pharmacy","slot":"ewf-patient-chart-pharmacy-dashboard-slot","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-pharmacy-dashboard","component":"pharmacyTabs","slot":"ewf-patient-chart-pharmacy-dashboard-slot","online":true,"offline":false},{"name":"ewf-admissions-dashboard-link","component":"admissionsDashboardLink","slot":"patient-chart-dashboard-slot","meta":{"name":"ewf-admissions","title":"In-patient","path":"admissions","slot":"ewf-patient-chart-admissions-dashboard-slot","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-admissions-dashboard","component":"admissionsDashboard","slot":"ewf-patient-chart-admissions-dashboard-slot","online":true,"offline":false},{"name":"ewf-homepage-dashboard-link","component":"homepageDashboardLink","slot":"patient-chart-dashboard-slot","order":0},{"name":"ewf-encounter-details-dashboard","component":"encounterDetails","slot":"ewf-clinical-encounter-slot","online":true,"offline":false},{"name":"custom-start-visit-overflow-menu-item","slot":"patient-actions-slot","component":"customStartVisitOverflowMenuItem","online":true,"offline":true},{"name":"custom-stop-visit-overflow-menu-item","component":"customStopVisitOverflowMenuItem","online":true,"offline":true},{"name":"procedure-queues","component":"procedureQueues","online":true,"offline":false,"featureFlag":"procedureQueues","slot":"procedure-orders-dashboard-slot"},{"name":"procedure-form-extras","component":"procedureFormExtras","slot":"procedure-order-form-extras-slot","online":true,"offline":false,"featureFlag":"procedureQueues"},{"name":"ewf-patient-summary-tab","component":"patientSummary","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"patientSummaryTab","slot":"ewf-patient-summary-slot"}},{"name":"ewf-patient-vitals-tab","component":"patientVitals","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"vitalsAndAnthropometric","slot":"ewf-vitals-slot"}},{"name":"ewf-patient-care-panel-tab","component":"carePanel","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"carePanel","slot":"ewf-care-panel-slot"}},{"name":"ewf-patient-immunization-tab","component":"immunization","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"immunizations","slot":"ewf-immunizations-slot"}},{"name":"ewf-patient-relationships-tab","component":"relationships","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"relationships","slot":"ewf-relationships-slot"}},{"name":"ewf-patient-appointments-tab","component":"appointments","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"appointments","slot":"ewf-appointments-slot"}},{"name":"ewf-patient-attachments-tab","component":"attachments","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"attachments","slot":"ewf-attachments-slot"}},{"name":"ewf-patient-clinical-encounter-tab","component":"patientClinicalEncounter","slot":"clinical-encounter-tabs-slot","meta":{"title":"clinicalEncounterTab","slot":"ewf-clinical-encounter-slot"}},{"name":"ewf-patient-visits-tab","component":"patientVisits","slot":"clinical-encounter-tabs-slot","meta":{"title":"visits","slot":"ewf-visits-slot"}},{"name":"ewf-patient-special-clinics-tab","component":"specialClinics","slot":"clinical-encounter-tabs-slot","meta":{"title":"specialClinics","slot":"ewf-special-clinics-slot"}},{"name":"ewf-clinical-notes-tab","component":"clinicalNotes","meta":{"title":"clinicalNotes","slot":"ewf-clinical-notes-slot"}},{"name":"ewf-procedures-and-orders-tab","component":"proceduresAndOrders","meta":{"title":"proceduresAndOrders","slot":"ewf-procedures-and-orders-slot"}},{"name":"ewf-pharmacy-orders-tab","component":"pharmacyOrdersTab","slot":"pharmacy-tabs-slot","meta":{"title":"orders","slot":"ewf-orders-slot"}},{"name":"ewf-pharmacy-active-medication-tab","component":"pharmacyActiveMedicationsTab","slot":"pharmacy-tabs-slot","meta":{"title":"activeMedications","slot":"ewf-active-medications-slot"}},{"name":"ewf-pharmacy-past-medication-tab","component":"pharmacyPastMedicationsTab","slot":"pharmacy-tabs-slot","meta":{"title":"pastMedications","slot":"ewf-past-medications-slot"}},{"name":"ewf-patient-lab-orders-tab","component":"patientLaboratoryOrdersTab","slot":"patient-laboratory-tabs-slot","meta":{"title":"orders"}},{"name":"ewf-patient-lab-order-results-tab","component":"patientLaboratoryOrdersResults","slot":"patient-laboratory-tabs-slot","meta":{"title":"results","slot":"ewf-laboratory-results-slot","basePath":"laboratory"}},{"name":"ewf-patient-procedure-orders-tab","component":"patientProcedureOrdersTab","slot":"patient-procedure-tabs-slot","meta":{"title":"orders"}},{"name":"ewf-patient-procedure-order-results-tab","component":"patientProcedureOrdersResults","slot":"patient-procedure-tabs-slot","meta":{"title":"results","slot":"ewf-procedures-results-slot","basePath":"procedures"}},{"name":"ewf-patient-procedure-anaesthetic-tab","component":"patientProcedureAnaestheticTab","slot":"patient-procedure-tabs-slot","meta":{"title":"anaesthetic"}},{"name":"ewf-patient-imaging-orders-tab","component":"patientImagingOrdersTab","slot":"patient-imaging-tabs-slot","meta":{"title":"orders"}},{"name":"ewf-patient-imaging-order-results-tab","component":"patientImagingOrdersResults","slot":"patient-imaging-tabs-slot","meta":{"title":"results","slot":"ewf-radiology-and-imaging-results-slot","basePath":"radiology-and-imaging"}},{"name":"ewf-clinical-encounter-haemodialysis-tab","component":"haemodialysisPanel","slot":"ewf-clinical-encounter-haemodialysis-slot","meta":{"title":"haemodialysis"},"online":true,"offline":false},{"name":"ewf-emergency-registration-action","component":"emergencyRegistrationAction","slot":"ewf-registration-actions-slot","online":true,"offline":false},{"name":"ewf-clear-registration-filters-action","component":"clearRegistrationFiltersAction","slot":"ewf-registration-actions-slot","online":true,"offline":false}],"workspaces2":[{"name":"custom-start-visit-workspace-form","component":"visitFormWorkspace","window":"ewf-start-visit"},{"name":"anaesthetic-record-workspace-form","component":"anaestheticFormWorkspace","window":"ewf-anaesthetic-record"},{"name":"interoperative-drug-given-workspace-form","component":"interoperativeDrugGivenFormWorkspace","window":"ewf-anaesthetic-record"}],"workspaceWindows2":[{"name":"ewf-start-visit","group":"ewf-patient-chart","width":"wider"},{"name":"ewf-anaesthetic-record","group":"ewf-patient-chart","width":"wider"}],"workspaceGroups2":[{"name":"ewf-patient-chart","scopePattern":"/patient/([^/]+)/chart"}],"modals":[{"component":"otpVerificationModal","name":"otp-verification-modal"},{"component":"facilityDashboardAuthorizationModal","name":"facility-dashboard-authorization-form-modal"},{"name":"print-order-preview-modal","component":"printOrderPreviewModal"},{"name":"custom-end-visit-dialog","component":"customEndVisitModal"},{"name":"print-prescription-modal","component":"printPrescriptionModal"},{"name":"demographic-sync-modal","component":"demographicSyncModal"}],"version":"5.4.6-pre.1197"}
|
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":">=1.2","webservices.rest":">=2.24.0"},"pages":[{"component":"root","route":"express-workflow"},{"component":"queuesAdminHome","route":"queues-admin"},{"component":"machineLearningDashboard","route":"machine-learning"}],"extensions":[{"component":"machineLearningIitLeftPanelLink","name":"machine-learning-iit-link","slot":"machine-learning-left-panel-slot","order":0},{"component":"machineLearningRtcLeftPanelLink","name":"machine-learning-rtc-link","slot":"machine-learning-left-panel-slot","order":1},{"component":"appointmentsDashboardLink","name":"appointments-dashboard-link","slot":"appointments-left-panel-slot","meta":{"name":"appointments","slot":"appointments-dashboard-slot","title":"Appointments"}},{"name":"ewf-preauth-dashboard-link","component":"preauthDashboardLink","slot":"patient-chart-dashboard-slot","order":10,"meta":{"name":"ewf-preauth","title":"Preauthorization","path":"preauthorization","slot":"ewf-preauth-dashboard-slot","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-preauth-dashboard","component":"preauthDashboard","slot":"ewf-patient-chart-preauth-dashboard-slot","online":true,"offline":false},{"component":"admissionsLeftPanelLink","name":"admissions-dashboard-link","slot":"express-workflow-left-panel-slot","order":9,"meta":{"name":"admissions","slot":"admissions-dashboard-slot","title":"Admissions"}},{"component":"admissionsDashboard","name":"admissions-dashboard","slot":"admissions-dashboard-slot"},{"component":"consultationLeftPanelLink","name":"consultation-dashboard-link","slot":"homepage-dashboard-slot","order":3,"meta":{"name":"consultation","slot":"consultation-dashboard-slot","title":"Consultation"}},{"component":"consultationDashboard","name":"consultation-dashboard","slot":"consultation-dashboard-slot"},{"component":"facilityLeftPanelLink","name":"facility-dashboard-link","slot":"homepage-dashboard-slot","order":0,"meta":{"name":"dashboard","slot":"facility-dashboard-slot","title":"Dashboard"}},{"component":"facilityDashboard","name":"facility-dashboard","slot":"facility-dashboard-slot"},{"component":"mchLeftPanelLink","name":"mch-dashboard-link","slot":"homepage-dashboard-slot","meta":{"name":"mch","slot":"mch-dashboard-slot","title":"MCH"}},{"component":"mchDashboard","name":"mch-dashboard","slot":"mch-dashboard-slot"},{"component":"registrationLeftPanelLink","name":"registration-dashboard-link","slot":"homepage-dashboard-slot","meta":{"name":"registration","slot":"registration-dashboard-slot","title":"Registration"}},{"component":"registrationDashboard","name":"registration-dashboard","slot":"registration-dashboard-slot"},{"component":"triageLeftPanelLink","name":"triage-dashboard-link","slot":"homepage-dashboard-slot","meta":{"name":"triage","slot":"triage-dashboard-slot","title":"Triage"}},{"component":"triageDashboard","name":"triage-dashboard","slot":"triage-dashboard-slot"},{"name":"custom-visit-form-queue-fields","component":"checkinFormExtraExtension","slot":"billing-visit-attributes-slot","order":0},{"name":"pharmacy-homepage-dashboard-link","component":"pharmacyLink","slot":"homepage-dashboard-slot","meta":{"name":"pharmacy","title":"Pharmacy","path":"pharmacy","slot":"pharmacy-homepage-dashboard-slot"}},{"name":"pharmacy-homepage-dashboard","component":"pharmacy","slot":"pharmacy-homepage-dashboard-slot","online":true,"offline":false},{"name":"ewf-pharmacy-orders-dashboard","component":"pharmacyOrders","slot":"ewf-orders-slot","online":true,"offline":false},{"name":"patient-summary-dashboard","component":"patientSummaryDashboard","slot":"patient-chart-summary-dashboard-slot"},{"name":"ewf-clinical-encounter-link","component":"clinicalEncounterLink","slot":"patient-chart-dashboard-slot","meta":{"name":"ewf-clinical-encounter","title":"Clinical Encounter","slot":"ewf-patient-chart-clinical-encounter-slot","path":"clinical-encounter","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-clinical-encounter-dashboard","component":"clinicalEncounter","slot":"ewf-patient-chart-clinical-encounter-slot","online":true,"offline":false},{"name":"ewf-laboratory-dashboard-link","component":"laboratoryLeftPanelLink","slot":"patient-chart-dashboard-slot","meta":{"name":"ewf-laboratory","title":"Lab Orders","path":"laboratory","slot":"ewf-patient-chart-laboratory-dashboard-slot","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-laboratory-dashboard","component":"laboratoryDashboard","slot":"ewf-patient-chart-laboratory-dashboard-slot","online":true,"offline":false},{"name":"ewf-radiology-and-imaging-dashboard-link","component":"radiologyAndImagingLeftPanelLink","slot":"patient-chart-dashboard-slot","meta":{"name":"ewf-radiology-and-imaging","title":"Radiology and Imaging","path":"radiology-and-imaging","slot":"ewf-patient-chart-radiology-and-imaging-dashboard-slot","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-radiology-and-imaging-dashboard","component":"radiologyAndImagingDashboard","slot":"ewf-patient-chart-radiology-and-imaging-dashboard-slot","online":true,"offline":false},{"name":"ewf-procedures-dashboard-link","component":"proceduresLeftPanelLink","slot":"patient-chart-dashboard-slot","meta":{"name":"ewf-procedures","title":"Procedures","path":"procedures","slot":"ewf-patient-chart-procedures-dashboard-slot","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-procedures-dashboard","component":"proceduresDashboard","slot":"ewf-patient-chart-procedures-dashboard-slot","online":true,"offline":false},{"name":"ewf-pharmacy-dashboard-link","component":"pharmacyPatientChartDashboardLink","slot":"patient-chart-dashboard-slot","meta":{"name":"ewf-pharmacy","title":"Prescription","path":"pharmacy","slot":"ewf-patient-chart-pharmacy-dashboard-slot","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-pharmacy-dashboard","component":"pharmacyTabs","slot":"ewf-patient-chart-pharmacy-dashboard-slot","online":true,"offline":false},{"name":"ewf-admissions-dashboard-link","component":"admissionsDashboardLink","slot":"patient-chart-dashboard-slot","meta":{"name":"ewf-admissions","title":"In-patient","path":"admissions","slot":"ewf-patient-chart-admissions-dashboard-slot","layoutMode":"anchored","hideDashboardTitle":true}},{"name":"ewf-admissions-dashboard","component":"admissionsDashboard","slot":"ewf-patient-chart-admissions-dashboard-slot","online":true,"offline":false},{"name":"ewf-homepage-dashboard-link","component":"homepageDashboardLink","slot":"patient-chart-dashboard-slot","order":0},{"name":"ewf-encounter-details-dashboard","component":"encounterDetails","slot":"ewf-clinical-encounter-slot","online":true,"offline":false},{"name":"custom-start-visit-overflow-menu-item","slot":"patient-actions-slot","component":"customStartVisitOverflowMenuItem","online":true,"offline":true},{"name":"custom-stop-visit-overflow-menu-item","component":"customStopVisitOverflowMenuItem","online":true,"offline":true},{"name":"procedure-queues","component":"procedureQueues","online":true,"offline":false,"featureFlag":"procedureQueues","slot":"procedure-orders-dashboard-slot"},{"name":"procedure-form-extras","component":"procedureFormExtras","slot":"procedure-order-form-extras-slot","online":true,"offline":false,"featureFlag":"procedureQueues"},{"name":"ewf-patient-summary-tab","component":"patientSummary","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"patientSummaryTab","slot":"ewf-patient-summary-slot"}},{"name":"ewf-patient-vitals-tab","component":"patientVitals","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"vitalsAndAnthropometric","slot":"ewf-vitals-slot"}},{"name":"ewf-patient-care-panel-tab","component":"carePanel","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"carePanel","slot":"ewf-care-panel-slot"}},{"name":"ewf-patient-immunization-tab","component":"immunization","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"immunizations","slot":"ewf-immunizations-slot"}},{"name":"ewf-patient-relationships-tab","component":"relationships","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"relationships","slot":"ewf-relationships-slot"}},{"name":"ewf-patient-appointments-tab","component":"appointments","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"appointments","slot":"ewf-appointments-slot"}},{"name":"ewf-patient-attachments-tab","component":"attachments","slot":"ewf-patient-chart-patient-summary-tabs-extension-slot","meta":{"title":"attachments","slot":"ewf-attachments-slot"}},{"name":"ewf-patient-clinical-encounter-tab","component":"patientClinicalEncounter","slot":"clinical-encounter-tabs-slot","meta":{"title":"clinicalEncounterTab","slot":"ewf-clinical-encounter-slot"}},{"name":"ewf-patient-visits-tab","component":"patientVisits","slot":"clinical-encounter-tabs-slot","meta":{"title":"visits","slot":"ewf-visits-slot"}},{"name":"ewf-patient-special-clinics-tab","component":"specialClinics","slot":"clinical-encounter-tabs-slot","meta":{"title":"specialClinics","slot":"ewf-special-clinics-slot"}},{"name":"ewf-clinical-notes-tab","component":"clinicalNotes","meta":{"title":"clinicalNotes","slot":"ewf-clinical-notes-slot"}},{"name":"ewf-procedures-and-orders-tab","component":"proceduresAndOrders","meta":{"title":"proceduresAndOrders","slot":"ewf-procedures-and-orders-slot"}},{"name":"ewf-pharmacy-orders-tab","component":"pharmacyOrdersTab","slot":"pharmacy-tabs-slot","meta":{"title":"orders","slot":"ewf-orders-slot"}},{"name":"ewf-pharmacy-active-medication-tab","component":"pharmacyActiveMedicationsTab","slot":"pharmacy-tabs-slot","meta":{"title":"activeMedications","slot":"ewf-active-medications-slot"}},{"name":"ewf-pharmacy-past-medication-tab","component":"pharmacyPastMedicationsTab","slot":"pharmacy-tabs-slot","meta":{"title":"pastMedications","slot":"ewf-past-medications-slot"}},{"name":"ewf-patient-lab-orders-tab","component":"patientLaboratoryOrdersTab","slot":"patient-laboratory-tabs-slot","meta":{"title":"orders"}},{"name":"ewf-patient-lab-order-results-tab","component":"patientLaboratoryOrdersResults","slot":"patient-laboratory-tabs-slot","meta":{"title":"results","slot":"ewf-laboratory-results-slot","basePath":"laboratory"}},{"name":"ewf-patient-procedure-orders-tab","component":"patientProcedureOrdersTab","slot":"patient-procedure-tabs-slot","meta":{"title":"orders"}},{"name":"ewf-patient-procedure-order-results-tab","component":"patientProcedureOrdersResults","slot":"patient-procedure-tabs-slot","meta":{"title":"results","slot":"ewf-procedures-results-slot","basePath":"procedures"}},{"name":"ewf-patient-procedure-anaesthetic-tab","component":"patientProcedureAnaestheticTab","slot":"patient-procedure-tabs-slot","meta":{"title":"anaesthetic"}},{"name":"ewf-patient-imaging-orders-tab","component":"patientImagingOrdersTab","slot":"patient-imaging-tabs-slot","meta":{"title":"orders"}},{"name":"ewf-patient-imaging-order-results-tab","component":"patientImagingOrdersResults","slot":"patient-imaging-tabs-slot","meta":{"title":"results","slot":"ewf-radiology-and-imaging-results-slot","basePath":"radiology-and-imaging"}},{"name":"ewf-clinical-encounter-haemodialysis-tab","component":"haemodialysisPanel","slot":"ewf-clinical-encounter-haemodialysis-slot","meta":{"title":"haemodialysis"},"online":true,"offline":false},{"name":"ewf-emergency-registration-action","component":"emergencyRegistrationAction","slot":"ewf-registration-actions-slot","online":true,"offline":false},{"name":"ewf-clear-registration-filters-action","component":"clearRegistrationFiltersAction","slot":"ewf-registration-actions-slot","online":true,"offline":false}],"workspaces2":[{"name":"custom-start-visit-workspace-form","component":"visitFormWorkspace","window":"ewf-start-visit"},{"name":"anaesthetic-record-workspace-form","component":"anaestheticFormWorkspace","window":"ewf-anaesthetic-record"},{"name":"interoperative-drug-given-workspace-form","component":"interoperativeDrugGivenFormWorkspace","window":"ewf-anaesthetic-record"}],"workspaceWindows2":[{"name":"ewf-start-visit","group":"ewf-patient-chart","width":"wider"},{"name":"ewf-anaesthetic-record","group":"ewf-patient-chart","width":"wider"}],"workspaceGroups2":[{"name":"ewf-patient-chart","scopePattern":"/patient/([^/]+)/chart"}],"modals":[{"component":"otpVerificationModal","name":"otp-verification-modal"},{"component":"facilityDashboardAuthorizationModal","name":"facility-dashboard-authorization-form-modal"},{"name":"print-order-preview-modal","component":"printOrderPreviewModal"},{"name":"custom-end-visit-dialog","component":"customEndVisitModal"},{"name":"print-prescription-modal","component":"printPrescriptionModal"},{"name":"demographic-sync-modal","component":"demographicSyncModal"}],"version":"5.4.6-pre.1202"}
|