@openmrs/esm-app-shell 4.5.1-pre.798 → 4.5.1-pre.801
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 +103 -105
- package/dist/{50ed71e85430c1fd.js → 574cf0766bf1bb11.js} +1 -1
- package/dist/{50ed71e85430c1fd.js.map → 574cf0766bf1bb11.js.map} +1 -1
- package/dist/index.html +1 -1
- package/dist/{openmrs.ef7a82f971e147f4.js → openmrs.2403b25cf37856f9.js} +2 -2
- package/dist/{openmrs.ef7a82f971e147f4.js.map → openmrs.2403b25cf37856f9.js.map} +1 -1
- package/dist/service-worker.js +1 -1
- package/lib/esm-devtools-app/68.js +1 -0
- package/lib/esm-devtools-app/68.js.map +1 -0
- package/lib/esm-devtools-app/735.js +2 -0
- package/lib/esm-devtools-app/735.js.LICENSE.txt +9 -0
- package/lib/esm-devtools-app/735.js.map +1 -0
- package/lib/esm-devtools-app/889.js +2 -0
- package/lib/esm-devtools-app/889.js.LICENSE.txt +3 -0
- package/lib/esm-devtools-app/889.js.map +1 -0
- package/lib/esm-devtools-app/988.js +1 -0
- package/lib/esm-devtools-app/988.js.map +1 -0
- package/lib/esm-devtools-app/main.js +1 -0
- package/lib/esm-devtools-app/main.js.map +1 -0
- package/lib/esm-devtools-app/openmrs-esm-devtools-app.js +1 -0
- package/lib/esm-devtools-app/openmrs-esm-devtools-app.js.buildmanifest.json +176 -0
- package/lib/esm-devtools-app/openmrs-esm-devtools-app.js.map +1 -0
- package/lib/esm-devtools-app/openmrs-esm-devtools-app.old +1 -0
- package/lib/esm-implementer-tools-app/807.js +1 -1
- package/lib/esm-implementer-tools-app/889.js +1 -1
- package/lib/esm-implementer-tools-app/889.js.map +1 -1
- package/lib/esm-implementer-tools-app/main.js +1 -1
- package/lib/esm-implementer-tools-app/openmrs-esm-implementer-tools-app.js +1 -1
- package/lib/esm-implementer-tools-app/openmrs-esm-implementer-tools-app.js.buildmanifest.json +6 -6
- package/lib/esm-implementer-tools-app/openmrs-esm-implementer-tools-app.old +1 -1
- package/lib/esm-login-app/337.js +1 -1
- package/lib/esm-login-app/889.js +1 -1
- package/lib/esm-login-app/889.js.map +1 -1
- package/lib/esm-login-app/main.js +1 -1
- package/lib/esm-login-app/openmrs-esm-login-app.js +1 -1
- package/lib/esm-login-app/openmrs-esm-login-app.js.buildmanifest.json +6 -6
- package/lib/esm-login-app/openmrs-esm-login-app.old +1 -1
- package/lib/esm-offline-tools-app/264.js +1 -1
- package/lib/esm-offline-tools-app/889.js +1 -1
- package/lib/esm-offline-tools-app/889.js.map +1 -1
- package/lib/esm-offline-tools-app/main.js +1 -1
- package/lib/esm-offline-tools-app/openmrs-esm-offline-tools-app.js +1 -1
- package/lib/esm-offline-tools-app/openmrs-esm-offline-tools-app.js.buildmanifest.json +6 -6
- package/lib/esm-offline-tools-app/openmrs-esm-offline-tools-app.old +1 -1
- package/lib/esm-primary-navigation-app/363.js +1 -1
- package/lib/esm-primary-navigation-app/889.js +1 -1
- package/lib/esm-primary-navigation-app/889.js.map +1 -1
- package/lib/esm-primary-navigation-app/main.js +1 -1
- package/lib/esm-primary-navigation-app/openmrs-esm-primary-navigation-app.js +1 -1
- package/lib/esm-primary-navigation-app/openmrs-esm-primary-navigation-app.js.buildmanifest.json +6 -6
- package/lib/esm-primary-navigation-app/openmrs-esm-primary-navigation-app.old +1 -1
- package/lib/index.html +1 -1
- package/lib/openmrs.js +6 -6
- package/lib/service-worker.js +1 -1
- package/package.json +4 -4
- /package/dist/{openmrs.ef7a82f971e147f4.js.LICENSE.txt → openmrs.2403b25cf37856f9.js.LICENSE.txt} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var t,e,n={3710:(t,e,n)=>{"use strict";var r=Object.freeze({__proto__:null,get start(){return Bt},get ensureJQuerySupport(){return ht},get setBootstrapMaxTime(){return H},get setMountMaxTime(){return Q},get setUnmountMaxTime(){return V},get setUnloadMaxTime(){return z},get registerApplication(){return St},get unregisterApplication(){return _t},get getMountedApps(){return Tt},get getAppStatus(){return Ot},get unloadApplication(){return Nt},get checkActivityFunctions(){return At},get getAppNames(){return Pt},get pathToActiveWhen(){return Dt},get navigateToUrl(){return ot},get triggerAppChange(){return xt},get addErrorHandler(){return f},get removeErrorHandler(){return l},get mountRootParcel(){return W},get NOT_LOADED(){return d},get LOADING_SOURCE_CODE(){return m},get NOT_BOOTSTRAPPED(){return v},get BOOTSTRAPPING(){return g},get NOT_MOUNTED(){return w},get MOUNTING(){return y},get UPDATING(){return b},get LOAD_ERROR(){return P},get MOUNTED(){return E},get UNMOUNTING(){return T},get SKIP_BECAUSE_BROKEN(){return O}});function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{}).CustomEvent,a=function(){try{var t=new u("cat",{detail:{foo:"bar"}});return"cat"===t.type&&"bar"===t.detail.foo}catch(t){}return!1}()?u:"undefined"!=typeof document&&"function"==typeof document.createEvent?function(t,e){var n=document.createEvent("CustomEvent");return e?n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail):n.initCustomEvent(t,!1,!1,void 0),n}:function(t,e){var n=document.createEventObject();return n.type=t,e?(n.bubbles=Boolean(e.bubbles),n.cancelable=Boolean(e.cancelable),n.detail=e.detail):(n.bubbles=!1,n.cancelable=!1,n.detail=void 0),n},s=[];function c(t,e,n){var r=h(t,e,n);s.length?s.forEach((function(t){return t(r)})):setTimeout((function(){throw r}))}function f(t){if("function"!=typeof t)throw Error(p(28,!1));s.push(t)}function l(t){if("function"!=typeof t)throw Error(p(29,!1));var e=!1;return s=s.filter((function(n){var r=n===t;return e=e||r,!r})),e}function p(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return"single-spa minified message #".concat(t,": ").concat(e?e+" ":"","See https://single-spa.js.org/error/?code=").concat(t).concat(r.length?"&arg=".concat(r.join("&arg=")):"")}function h(t,e,n){var r,o="".concat(j(e)," '").concat(_(e),"' died in status ").concat(e.status,": ");if(t instanceof Error){try{t.message=o+t.message}catch(t){}r=t}else{console.warn(p(30,!1,e.status,_(e)));try{r=Error(o+JSON.stringify(t))}catch(e){r=t}}return r.appOrParcelName=_(e),e.status=n,r}var d="NOT_LOADED",m="LOADING_SOURCE_CODE",v="NOT_BOOTSTRAPPED",g="BOOTSTRAPPING",w="NOT_MOUNTED",y="MOUNTING",E="MOUNTED",b="UPDATING",T="UNMOUNTING",P="LOAD_ERROR",O="SKIP_BECAUSE_BROKEN";function S(t){return t.status===E}function A(t){try{return t.activeWhen(window.location)}catch(e){return c(e,t,O),!1}}function _(t){return t.name}function N(t){return Boolean(t.unmountThisParcel)}function j(t){return N(t)?"parcel":"application"}function U(){for(var t=arguments.length-1;t>0;t--)for(var e in arguments[t])"__proto__"!==e&&(arguments[t-1][e]=arguments[t][e]);return arguments[0]}function D(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return t[n];return null}function L(t){return t&&("function"==typeof t||(e=t,Array.isArray(e)&&!D(e,(function(t){return"function"!=typeof t}))));var e}function M(t,e){var n=t[e]||[];0===(n=Array.isArray(n)?n:[n]).length&&(n=[function(){return Promise.resolve()}]);var r=j(t),o=_(t);return function(t){return n.reduce((function(n,i,u){return n.then((function(){var n=i(t);return k(n)?n:Promise.reject(p(15,!1,r,o,e,u))}))}),Promise.resolve())}}function k(t){return t&&"function"==typeof t.then&&"function"==typeof t.catch}function x(t,e){return Promise.resolve().then((function(){return t.status!==v?t:(t.status=g,t.bootstrap?X(t,"bootstrap").then(n).catch((function(n){if(e)throw h(n,t,O);return c(n,t,O),t})):Promise.resolve().then(n))}));function n(){return t.status=w,t}}function C(t,e){return Promise.resolve().then((function(){if(t.status!==E)return t;t.status=T;var n=Object.keys(t.parcels).map((function(e){return t.parcels[e].unmountThisParcel()}));return Promise.all(n).then(r,(function(n){return r().then((function(){var r=Error(n.message);if(e)throw h(r,t,O);c(r,t,O)}))})).then((function(){return t}));function r(){return X(t,"unmount").then((function(){t.status=w})).catch((function(n){if(e)throw h(n,t,O);c(n,t,O)}))}}))}var R=!1,I=!1;function B(t,e){return Promise.resolve().then((function(){return t.status!==w?t:(R||(window.dispatchEvent(new a("single-spa:before-first-mount")),R=!0),X(t,"mount").then((function(){return t.status=E,I||(window.dispatchEvent(new a("single-spa:first-mount")),I=!0),t})).catch((function(n){return t.status=E,C(t,!0).then(r,r);function r(){if(e)throw h(n,t,O);return c(n,t,O),t}})))}))}var $=0,G={parcels:{}};function W(){return F.apply(G,arguments)}function F(t,e){var n=this;if(!t||"object"!==o(t)&&"function"!=typeof t)throw Error(p(2,!1));if(t.name&&"string"!=typeof t.name)throw Error(p(3,!1,o(t.name)));if("object"!==o(e))throw Error(p(4,!1,name,o(e)));if(!e.domElement)throw Error(p(5,!1,name));var r,i=$++,u="function"==typeof t,a=u?t:function(){return Promise.resolve(t)},s={id:i,parcels:{},status:u?m:v,customProps:e,parentName:_(n),unmountThisParcel:function(){return g.then((function(){if(s.status!==E)throw Error(p(6,!1,name,s.status));return C(s,!0)})).then((function(t){return s.parentName&&delete n.parcels[s.id],t})).then((function(t){return f(t),t})).catch((function(t){throw s.status=O,l(t),t}))}};n.parcels[i]=s;var c=a();if(!c||"function"!=typeof c.then)throw Error(p(7,!1));var f,l,d=(c=c.then((function(t){if(!t)throw Error(p(8,!1));var e=t.name||"parcel-".concat(i);if(Object.prototype.hasOwnProperty.call(t,"bootstrap")&&!L(t.bootstrap))throw Error(p(9,!1,e));if(!L(t.mount))throw Error(p(10,!1,e));if(!L(t.unmount))throw Error(p(11,!1,e));if(t.update&&!L(t.update))throw Error(p(12,!1,e));var n=M(t,"bootstrap"),o=M(t,"mount"),u=M(t,"unmount");s.status=v,s.name=e,s.bootstrap=n,s.mount=o,s.unmount=u,s.timeouts=Y(t.timeouts),t.update&&(s.update=M(t,"update"),r.update=function(t){return s.customProps=t,K(function(t){return Promise.resolve().then((function(){if(t.status!==E)throw Error(p(32,!1,_(t)));return t.status=b,X(t,"update").then((function(){return t.status=E,t})).catch((function(e){throw h(e,t,O)}))}))}(s))})}))).then((function(){return x(s,!0)})),g=d.then((function(){return B(s,!0)})),y=new Promise((function(t,e){f=t,l=e}));return r={mount:function(){return K(Promise.resolve().then((function(){if(s.status!==w)throw Error(p(13,!1,name,s.status));return n.parcels[i]=s,B(s)})))},unmount:function(){return K(s.unmountThisParcel())},getStatus:function(){return s.status},loadPromise:K(c),bootstrapPromise:K(d),mountPromise:K(g),unmountPromise:K(y)}}function K(t){return t.then((function(){return null}))}function q(t){var e=_(t),n="function"==typeof t.customProps?t.customProps(e,window.location):t.customProps;("object"!==o(n)||null===n||Array.isArray(n))&&(n={},console.warn(p(40,!1),e,n));var i=U({},n,{name:e,mountParcel:F.bind(t),singleSpa:r});return N(t)&&(i.unmountSelf=t.unmountThisParcel),i}var J={bootstrap:{millis:4e3,dieOnTimeout:!1,warningMillis:1e3},mount:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},unmount:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},unload:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},update:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3}};function H(t,e,n){if("number"!=typeof t||t<=0)throw Error(p(16,!1));J.bootstrap={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function Q(t,e,n){if("number"!=typeof t||t<=0)throw Error(p(17,!1));J.mount={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function V(t,e,n){if("number"!=typeof t||t<=0)throw Error(p(18,!1));J.unmount={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function z(t,e,n){if("number"!=typeof t||t<=0)throw Error(p(19,!1));J.unload={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function X(t,e){var n=t.timeouts[e],r=n.warningMillis,o=j(t);return new Promise((function(i,u){var a=!1,s=!1;t[e](q(t)).then((function(t){a=!0,i(t)})).catch((function(t){a=!0,u(t)})),setTimeout((function(){return f(1)}),r),setTimeout((function(){return f(!0)}),n.millis);var c=p(31,!1,e,o,_(t),n.millis);function f(t){if(!a)if(!0===t)s=!0,n.dieOnTimeout?u(Error(c)):console.error(c);else if(!s){var e=t,o=e*r;console.warn(c),o+r<n.millis&&setTimeout((function(){return f(e+1)}),r)}}}))}function Y(t){var e={};for(var n in J)e[n]=U({},J[n],t&&t[n]||{});return e}function Z(t){return Promise.resolve().then((function(){return t.loadPromise?t.loadPromise:t.status!==d&&t.status!==P?t:(t.status=m,t.loadPromise=Promise.resolve().then((function(){var r=t.loadApp(q(t));if(!k(r))throw n=!0,Error(p(33,!1,_(t)));return r.then((function(n){var r;t.loadErrorTime=null,"object"!==o(e=n)&&(r=34),Object.prototype.hasOwnProperty.call(e,"bootstrap")&&!L(e.bootstrap)&&(r=35),L(e.mount)||(r=36),L(e.unmount)||(r=37);var i=j(e);if(r){var u;try{u=JSON.stringify(e)}catch(t){}return console.error(p(r,!1,i,_(t),u),e),c(void 0,t,O),t}return e.devtools&&e.devtools.overlays&&(t.devtools.overlays=U({},t.devtools.overlays,e.devtools.overlays)),t.status=v,t.bootstrap=M(e,"bootstrap"),t.mount=M(e,"mount"),t.unmount=M(e,"unmount"),t.unload=M(e,"unload"),t.timeouts=Y(e.timeouts),delete t.loadPromise,t}))})).catch((function(e){var r;return delete t.loadPromise,n?r=O:(r=P,t.loadErrorTime=(new Date).getTime()),c(e,t,r),t})));var e,n}))}var tt,et="undefined"!=typeof window,nt={hashchange:[],popstate:[]},rt=["hashchange","popstate"];function ot(t){var e;if("string"==typeof t)e=t;else if(this&&this.href)e=this.href;else{if(!(t&&t.currentTarget&&t.currentTarget.href&&t.preventDefault))throw Error(p(14,!1));e=t.currentTarget.href,t.preventDefault()}var n=lt(window.location.href),r=lt(e);0===e.indexOf("#")?window.location.hash=r.hash:n.host!==r.host&&r.host?window.location.href=e:r.pathname===n.pathname&&r.search===n.search?window.location.hash=r.hash:window.history.pushState(null,null,e)}function it(t){var e=this;if(t){var n=t[0].type;rt.indexOf(n)>=0&&nt[n].forEach((function(n){try{n.apply(e,t)}catch(t){setTimeout((function(){throw t}))}}))}}function ut(){Ct([],arguments)}function at(t,e){return function(){var n=window.location.href,r=t.apply(this,arguments),o=window.location.href;return tt&&n===o||($t()?window.dispatchEvent(st(window.history.state,e)):Ct([])),r}}function st(t,e){var n;try{n=new PopStateEvent("popstate",{state:t})}catch(e){(n=document.createEvent("PopStateEvent")).initPopStateEvent("popstate",!1,!1,t)}return n.singleSpa=!0,n.singleSpaTrigger=e,n}if(et){window.addEventListener("hashchange",ut),window.addEventListener("popstate",ut);var ct=window.addEventListener,ft=window.removeEventListener;window.addEventListener=function(t,e){if(!("function"==typeof e&&rt.indexOf(t)>=0)||D(nt[t],(function(t){return t===e})))return ct.apply(this,arguments);nt[t].push(e)},window.removeEventListener=function(t,e){if(!("function"==typeof e&&rt.indexOf(t)>=0))return ft.apply(this,arguments);nt[t]=nt[t].filter((function(t){return t!==e}))},window.history.pushState=at(window.history.pushState,"pushState"),window.history.replaceState=at(window.history.replaceState,"replaceState"),window.singleSpaNavigate?console.warn(p(41,!1)):window.singleSpaNavigate=ot}function lt(t){var e=document.createElement("a");return e.href=t,e}var pt=!1;function ht(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.jQuery;if(t||window.$&&window.$.fn&&window.$.fn.jquery&&(t=window.$),t&&!pt){var e=t.fn.on,n=t.fn.off;t.fn.on=function(t,n){return dt.call(this,e,window.addEventListener,t,n,arguments)},t.fn.off=function(t,e){return dt.call(this,n,window.removeEventListener,t,e,arguments)},pt=!0}}function dt(t,e,n,r,o){return"string"!=typeof n?t.apply(this,o):(n.split(/\s+/).forEach((function(t){rt.indexOf(t)>=0&&(e(t,r),n=n.replace(t,""))})),""===n.trim()?this:t.apply(this,o))}var mt={};function vt(t){return Promise.resolve().then((function(){var e=mt[_(t)];if(!e)return t;if(t.status===d)return gt(t,e),t;if("UNLOADING"===t.status)return e.promise.then((function(){return t}));if(t.status!==w&&t.status!==P)return t;var n=t.status===P?Promise.resolve():X(t,"unload");return t.status="UNLOADING",n.then((function(){return gt(t,e),t})).catch((function(n){return function(t,e,n){delete mt[_(t)],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,c(n,t,O),e.reject(n)}(t,e,n),t}))}))}function gt(t,e){delete mt[_(t)],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,t.status=d,e.resolve()}function wt(t,e,n,r){mt[_(t)]={app:t,resolve:n,reject:r},Object.defineProperty(mt[_(t)],"promise",{get:e})}function yt(t){return mt[t]}var Et=[];function bt(){var t=[],e=[],n=[],r=[],o=(new Date).getTime();return Et.forEach((function(i){var u=i.status!==O&&A(i);switch(i.status){case P:u&&o-i.loadErrorTime>=200&&n.push(i);break;case d:case m:u&&n.push(i);break;case v:case w:!u&&yt(_(i))?t.push(i):u&&r.push(i);break;case E:u||e.push(i)}})),{appsToUnload:t,appsToUnmount:e,appsToLoad:n,appsToMount:r}}function Tt(){return Et.filter(S).map(_)}function Pt(){return Et.map(_)}function Ot(t){var e=D(Et,(function(e){return _(e)===t}));return e?e.status:null}function St(t,e,n,r){var i=function(t,e,n,r){var i,u={name:null,loadApp:null,activeWhen:null,customProps:null};return"object"===o(t)?(function(t){if(Array.isArray(t)||null===t)throw Error(p(39,!1));var e=["name","app","activeWhen","customProps"],n=Object.keys(t).reduce((function(t,n){return e.indexOf(n)>=0?t:t.concat(n)}),[]);if(0!==n.length)throw Error(p(38,!1,e.join(", "),n.join(", ")));if("string"!=typeof t.name||0===t.name.length)throw Error(p(20,!1));if("object"!==o(t.app)&&"function"!=typeof t.app)throw Error(p(20,!1));var r=function(t){return"string"==typeof t||"function"==typeof t};if(!(r(t.activeWhen)||Array.isArray(t.activeWhen)&&t.activeWhen.every(r)))throw Error(p(24,!1));if(!Ut(t.customProps))throw Error(p(22,!1))}(t),u.name=t.name,u.loadApp=t.app,u.activeWhen=t.activeWhen,u.customProps=t.customProps):(function(t,e,n,r){if("string"!=typeof t||0===t.length)throw Error(p(20,!1));if(!e)throw Error(p(23,!1));if("function"!=typeof n)throw Error(p(24,!1));if(!Ut(r))throw Error(p(22,!1))}(t,e,n,r),u.name=t,u.loadApp=e,u.activeWhen=n,u.customProps=r),u.loadApp="function"!=typeof(i=u.loadApp)?function(){return Promise.resolve(i)}:i,u.customProps=function(t){return t||{}}(u.customProps),u.activeWhen=function(t){var e=Array.isArray(t)?t:[t];return e=e.map((function(t){return"function"==typeof t?t:Dt(t)})),function(t){return e.some((function(e){return e(t)}))}}(u.activeWhen),u}(t,e,n,r);if(-1!==Pt().indexOf(i.name))throw Error(p(21,!1,i.name));Et.push(U({loadErrorTime:null,status:d,parcels:{},devtools:{overlays:{options:{},selectors:[]}}},i)),et&&(ht(),Ct())}function At(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location;return Et.filter((function(e){return e.activeWhen(t)})).map(_)}function _t(t){if(0===Et.filter((function(e){return _(e)===t})).length)throw Error(p(25,!1,t));return Nt(t).then((function(){var e=Et.map(_).indexOf(t);Et.splice(e,1)}))}function Nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{waitForUnmount:!1};if("string"!=typeof t)throw Error(p(26,!1));var n=D(Et,(function(e){return _(e)===t}));if(!n)throw Error(p(27,!1,t));var r,o=yt(_(n));if(e&&e.waitForUnmount){if(o)return o.promise;var i=new Promise((function(t,e){wt(n,(function(){return i}),t,e)}));return i}return o?(r=o.promise,jt(n,o.resolve,o.reject)):r=new Promise((function(t,e){wt(n,(function(){return r}),t,e),jt(n,t,e)})),r}function jt(t,e,n){C(t).then(vt).then((function(){e(),setTimeout((function(){Ct()}))})).catch(n)}function Ut(t){return!t||"function"==typeof t||"object"===o(t)&&null!==t&&!Array.isArray(t)}function Dt(t,e){var n=function(t,e){var n=0,r=!1,o="^";"/"!==t[0]&&(t="/"+t);for(var i=0;i<t.length;i++){var u=t[i];(!r&&":"===u||r&&"/"===u)&&a(i)}return a(t.length),new RegExp(o,"i");function a(i){var u=t.slice(n,i).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");if(o+=r?"[^/]+/?":u,i===t.length)if(r)e&&(o+="$");else{var a=e?"":".*";o="/"===o.charAt(o.length-1)?"".concat(o).concat(a,"$"):"".concat(o,"(/").concat(a,")?(#.*)?$")}r=!r,n=i}}(t,e);return function(t){var e=t.origin;e||(e="".concat(t.protocol,"//").concat(t.host));var r=t.href.replace(e,"").replace(t.search,"").split("?")[0];return n.test(r)}}var Lt=!1,Mt=[],kt=et&&window.location.href;function xt(){return Ct()}function Ct(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;if(Lt)return new Promise((function(t,n){Mt.push({resolve:t,reject:n,eventArguments:e})}));var n,r=bt(),o=r.appsToUnload,u=r.appsToUnmount,s=r.appsToLoad,c=r.appsToMount,f=!1,l=kt,p=kt=window.location.href;return $t()?(Lt=!0,n=o.concat(s,u,c),v()):(n=s,m());function h(){f=!0}function m(){return Promise.resolve().then((function(){var t=s.map(Z);return Promise.all(t).then(y).then((function(){return[]})).catch((function(t){throw y(),t}))}))}function v(){return Promise.resolve().then((function(){if(window.dispatchEvent(new a(0===n.length?"single-spa:before-no-app-change":"single-spa:before-app-change",b(!0))),window.dispatchEvent(new a("single-spa:before-routing-event",b(!0,{cancelNavigation:h}))),f)return window.dispatchEvent(new a("single-spa:before-mount-routing-event",b(!0))),g(),void ot(l);var e=o.map(vt),r=u.map(C).map((function(t){return t.then(vt)})).concat(e),i=Promise.all(r);i.then((function(){window.dispatchEvent(new a("single-spa:before-mount-routing-event",b(!0)))}));var p=s.map((function(t){return Z(t).then((function(t){return Rt(t,i)}))})),d=c.filter((function(t){return s.indexOf(t)<0})).map((function(t){return Rt(t,i)}));return i.catch((function(t){throw y(),t})).then((function(){return y(),Promise.all(p.concat(d)).catch((function(e){throw t.forEach((function(t){return t.reject(e)})),e})).then(g)}))}))}function g(){var e=Tt();t.forEach((function(t){return t.resolve(e)}));try{var r=0===n.length?"single-spa:no-app-change":"single-spa:app-change";window.dispatchEvent(new a(r,b())),window.dispatchEvent(new a("single-spa:routing-event",b()))}catch(t){setTimeout((function(){throw t}))}if(Lt=!1,Mt.length>0){var o=Mt;Mt=[],Ct(o)}return e}function y(){t.forEach((function(t){it(t.eventArguments)})),it(e)}function b(){var t,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1?arguments[1]:void 0,h={},m=(i(t={},E,[]),i(t,w,[]),i(t,d,[]),i(t,O,[]),t);r?(s.concat(c).forEach((function(t,e){g(t,E)})),o.forEach((function(t){g(t,d)})),u.forEach((function(t){g(t,w)}))):n.forEach((function(t){g(t)}));var v={detail:{newAppStatuses:h,appsByNewStatus:m,totalAppChanges:n.length,originalEvent:null==e?void 0:e[0],oldUrl:l,newUrl:p,navigationIsCanceled:f}};return a&&U(v.detail,a),v;function g(t,e){var n=_(t);e=e||Ot(n),h[n]=e,(m[e]=m[e]||[]).push(n)}}}function Rt(t,e){return A(t)?x(t).then((function(t){return e.then((function(){return A(t)?B(t):t}))})):e.then((function(){return t}))}var It=!1;function Bt(t){var e;It=!0,t&&t.urlRerouteOnly&&(e=t.urlRerouteOnly,tt=e),et&&Ct()}function $t(){return It}et&&setTimeout((function(){It||console.warn(p(1,!1))}),5e3);var Gt={getRawAppData:function(){return[].concat(Et)},reroute:Ct,NOT_LOADED:d,toLoadPromise:Z,toBootstrapPromise:x,unregisterApplication:_t};et&&window.__SINGLE_SPA_DEVTOOLS__&&(window.__SINGLE_SPA_DEVTOOLS__.exposedMethods=Gt)},6639:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>a,genericLinkConfigSchema:()=>u});var r=n(5776),o=n.n(r),i=n(4610),u={title:{_default:"New Link",_type:i.Type.String},target:{_default:"#",_type:i.Type.String,_description:"The URL to link to.",_validators:[i.validators.isUrl]}};function a(){var t=(0,i.useConfig)();return o().createElement(i.ConfigurableLink,{to:t.target},t.title)}},1217:(t,e,n)=>{"use strict";n.d(e,{e:()=>r});var r="@openmrs/esm-primary-navigation-app"},2363:(t,e,n)=>{"use strict";var r=n(4610);n(8478),r.Type.String,r.Type.String,r.Type.String,r.Type.Array,r.Type.String,r.Type.String,r.validators.isUrl;var o=n(1217);n(3710),n(6639),n(3979),o.e},3979:(t,e,n)=>{var r={"./en.json":[3574,574],"./fr.json":[2757,757],"./he.json":[5833,833]};function o(t){if(!n.o(r,t))return Promise.resolve().then((()=>{var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=r[t],o=e[0];return n.e(e[1]).then((()=>n(o)))}o.keys=()=>Object.keys(r),o.id=3979,t.exports=o}},r={};function o(t){var e=r[t];if(void 0!==e)return e.exports;var i=r[t]={id:t,loaded:!1,exports:{}};return n[t].call(i.exports,i,i.exports,o),i.loaded=!0,i.exports}o.m=n,o.c=r,o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.f={},o.e=t=>Promise.all(Object.keys(o.f).reduce(((e,n)=>(o.f[n](t,e),e)),[])),o.u=t=>t+".js",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t={},e="@openmrs/esm-primary-navigation-app:",o.l=(n,r,i,u)=>{if(t[n])t[n].push(r);else{var a,s;if(void 0!==i)for(var c=document.getElementsByTagName("script"),f=0;f<c.length;f++){var l=c[f];if(l.getAttribute("src")==n||l.getAttribute("data-webpack")==e+i){a=l;break}}a||(s=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,o.nc&&a.setAttribute("nonce",o.nc),a.setAttribute("data-webpack",e+i),a.src=n),t[n]=[r];var p=(e,r)=>{a.onerror=a.onload=null,clearTimeout(h);var o=t[n];if(delete t[n],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((t=>t(r))),e)return e(r)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),s&&document.head.appendChild(a)}},o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),(()=>{o.S={};var t={},e={};o.I=(n,r)=>{r||(r=[]);var i=e[n];if(i||(i=e[n]={}),!(r.indexOf(i)>=0)){if(r.push(i),t[n])return t[n];o.o(o.S,n)||(o.S[n]={});var u=o.S[n],a="@openmrs/esm-primary-navigation-app",s=(t,e,n,r)=>{var o=u[t]=u[t]||{},i=o[e];(!i||!i.loaded&&(!r!=!i.eager?r:a>i.from))&&(o[e]={get:n,from:a,eager:!!r})},c=[];return"default"===n&&(s("@openmrs/esm-framework/src/internal","4.5.1-pre.798",(()=>Promise.all([o.e(776),o.e(889)]).then((()=>()=>o(4889))))),s("react-dom","18.2.0",(()=>Promise.all([o.e(788),o.e(776)]).then((()=>()=>o(2788))))),s("react-i18next","11.18.6",(()=>Promise.all([o.e(242),o.e(776)]).then((()=>()=>o(6242))))),s("react-router-dom","5.3.4",(()=>Promise.all([o.e(406),o.e(776),o.e(216)]).then((()=>()=>o(4406))))),s("react","18.2.0",(()=>o.e(735).then((()=>()=>o(2735)))))),t[n]=c.length?Promise.all(c).then((()=>t[n]=1)):1}}})(),(()=>{var t;o.g.importScripts&&(t=o.g.location+"");var e=o.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=t})(),(()=>{var t=t=>{var e=t=>t.split(".").map((t=>+t==t?+t:t)),n=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(t),r=n[1]?e(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,e(n[2]))),n[3]&&(r.push([]),r.push.apply(r,e(n[3]))),r},e=t=>{var n=t[0],r="";if(1===t.length)return"*";if(n+.5){r+=0==n?">=":-1==n?"<":1==n?"^":2==n?"~":n>0?"=":"!=";for(var o=1,i=1;i<t.length;i++)o--,r+="u"==(typeof(a=t[i]))[0]?"-":(o>0?".":"")+(o=2,a);return r}var u=[];for(i=1;i<t.length;i++){var a=t[i];u.push(0===a?"not("+s()+")":1===a?"("+s()+" || "+s()+")":2===a?u.pop()+" "+u.pop():e(a))}return s();function s(){return u.pop().replace(/^\((.+)\)$/,"$1")}},n=(e,r)=>{if(0 in e){r=t(r);var o=e[0],i=o<0;i&&(o=-o-1);for(var u=0,a=1,s=!0;;a++,u++){var c,f,l=a<e.length?(typeof e[a])[0]:"";if(u>=r.length||"o"==(f=(typeof(c=r[u]))[0]))return!s||("u"==l?a>o&&!i:""==l!=i);if("u"==f){if(!s||"u"!=l)return!1}else if(s)if(l==f)if(a<=o){if(c!=e[a])return!1}else{if(i?c>e[a]:c<e[a])return!1;c!=e[a]&&(s=!1)}else if("s"!=l&&"n"!=l){if(i||a<=o)return!1;s=!1,a--}else{if(a<=o||f<l!=i)return!1;s=!1}else"s"!=l&&"n"!=l&&(s=!1,a--)}}var p=[],h=p.pop.bind(p);for(u=1;u<e.length;u++){var d=e[u];p.push(1==d?h()|h():2==d?h()&h():d?n(d,r):!h())}return!!h()},r=(e,n)=>{var r=e[n];return Object.keys(r).reduce(((e,n)=>!e||!r[e].loaded&&((e,n)=>{e=t(e),n=t(n);for(var r=0;;){if(r>=e.length)return r<n.length&&"u"!=(typeof n[r])[0];var o=e[r],i=(typeof o)[0];if(r>=n.length)return"u"==i;var u=n[r],a=(typeof u)[0];if(i!=a)return"o"==i&&"n"==a||"s"==a||"u"==i;if("o"!=i&&"u"!=i&&o!=u)return o<u;r++}})(e,n)?n:e),0)},i=(t,o,i,a)=>{var s=r(t,i);return n(a,s)||"undefined"!=typeof console&&console.warn&&console.warn(((t,n,r,o)=>"Unsatisfied version "+r+" from "+(r&&t[n][r].from)+" of shared singleton module "+n+" (required "+e(o)+")")(t,i,s,a)),u(t[i][s])},u=t=>(t.loaded=1,t.get()),a=t=>function(e,n,r,i){var u=o.I(e);return u&&u.then?u.then(t.bind(t,e,o.S[e],n,r,i)):t(e,o.S[e],n,r,i)},s=a(((t,e,n,i)=>e&&o.o(e,n)?((t,e,n,o)=>{var i=r(t,n);return u(t[n][i])})(e,0,n):i())),c=a(((t,e,n,r,u)=>e&&o.o(e,n)?i(e,0,n,r):u())),f={},l={2680:()=>c("default","react-i18next",[1,11],(()=>o.e(242).then((()=>()=>o(6242))))),7743:()=>c("default","react-router-dom",[1,6],(()=>o.e(406).then((()=>()=>o(4406))))),5776:()=>c("default","react",[1,18],(()=>o.e(735).then((()=>()=>o(2735))))),4610:()=>c("default","@openmrs/esm-framework",[0],(()=>o.e(889).then((()=>()=>o(4889))))),8478:()=>s("default","@openmrs/esm-framework/src/internal",(()=>o.e(889).then((()=>()=>o(4889)))))};[4610,8478,5776].forEach((t=>{o.m[t]=e=>{f[t]=0,delete o.c[t];var n=l[t]();if("function"!=typeof n)throw new Error("Shared module is not available for eager consumption: "+t);e.exports=n()}}));var p={241:[7743],680:[2680],776:[5776]};o.f.consumes=(t,e)=>{o.o(p,t)&&p[t].forEach((t=>{if(o.o(f,t))return e.push(f[t]);var n=e=>{f[t]=0,o.m[t]=n=>{delete o.c[t],n.exports=e()}},r=e=>{delete f[t],o.m[t]=n=>{throw delete o.c[t],e}};try{var i=l[t]();i.then?e.push(f[t]=i.then(n).catch(r)):n(i)}catch(t){r(t)}}))}})(),(()=>{var t={179:0,776:0,363:0,710:0};o.f.j=(e,n)=>{var r=o.o(t,e)?t[e]:void 0;if(0!==r)if(r)n.push(r[2]);else if(/^(680|776)$/.test(e))t[e]=0;else{var i=new Promise(((n,o)=>r=t[e]=[n,o]));n.push(r[2]=i);var u=o.p+o.u(e),a=new Error;o.l(u,(n=>{if(o.o(t,e)&&(0!==(r=t[e])&&(t[e]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),u=n&&n.target&&n.target.src;a.message="Loading chunk "+e+" failed.\n("+i+": "+u+")",a.name="ChunkLoadError",a.type=i,a.request=u,r[1](a)}}),"chunk-"+e,e)}};var e=(e,n)=>{var r,i,[u,a,s]=n,c=0;if(u.some((e=>0!==t[e]))){for(r in a)o.o(a,r)&&(o.m[r]=a[r]);s&&s(o)}for(e&&e(n);c<u.length;c++)i=u[c],o.o(t,i)&&t[i]&&t[i][0](),t[i]=0},n=globalThis.webpackChunk_openmrs_esm_primary_navigation_app=globalThis.webpackChunk_openmrs_esm_primary_navigation_app||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))})(),o.nc=void 0,o(2363)})();
|
|
1
|
+
(()=>{var t,e,n={3710:(t,e,n)=>{"use strict";var r=Object.freeze({__proto__:null,get start(){return Bt},get ensureJQuerySupport(){return ht},get setBootstrapMaxTime(){return H},get setMountMaxTime(){return Q},get setUnmountMaxTime(){return V},get setUnloadMaxTime(){return z},get registerApplication(){return St},get unregisterApplication(){return _t},get getMountedApps(){return Tt},get getAppStatus(){return Ot},get unloadApplication(){return Nt},get checkActivityFunctions(){return At},get getAppNames(){return Pt},get pathToActiveWhen(){return Dt},get navigateToUrl(){return ot},get triggerAppChange(){return xt},get addErrorHandler(){return f},get removeErrorHandler(){return l},get mountRootParcel(){return W},get NOT_LOADED(){return d},get LOADING_SOURCE_CODE(){return m},get NOT_BOOTSTRAPPED(){return v},get BOOTSTRAPPING(){return g},get NOT_MOUNTED(){return w},get MOUNTING(){return y},get UPDATING(){return b},get LOAD_ERROR(){return P},get MOUNTED(){return E},get UNMOUNTING(){return T},get SKIP_BECAUSE_BROKEN(){return O}});function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{}).CustomEvent,a=function(){try{var t=new u("cat",{detail:{foo:"bar"}});return"cat"===t.type&&"bar"===t.detail.foo}catch(t){}return!1}()?u:"undefined"!=typeof document&&"function"==typeof document.createEvent?function(t,e){var n=document.createEvent("CustomEvent");return e?n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail):n.initCustomEvent(t,!1,!1,void 0),n}:function(t,e){var n=document.createEventObject();return n.type=t,e?(n.bubbles=Boolean(e.bubbles),n.cancelable=Boolean(e.cancelable),n.detail=e.detail):(n.bubbles=!1,n.cancelable=!1,n.detail=void 0),n},s=[];function c(t,e,n){var r=h(t,e,n);s.length?s.forEach((function(t){return t(r)})):setTimeout((function(){throw r}))}function f(t){if("function"!=typeof t)throw Error(p(28,!1));s.push(t)}function l(t){if("function"!=typeof t)throw Error(p(29,!1));var e=!1;return s=s.filter((function(n){var r=n===t;return e=e||r,!r})),e}function p(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return"single-spa minified message #".concat(t,": ").concat(e?e+" ":"","See https://single-spa.js.org/error/?code=").concat(t).concat(r.length?"&arg=".concat(r.join("&arg=")):"")}function h(t,e,n){var r,o="".concat(j(e)," '").concat(_(e),"' died in status ").concat(e.status,": ");if(t instanceof Error){try{t.message=o+t.message}catch(t){}r=t}else{console.warn(p(30,!1,e.status,_(e)));try{r=Error(o+JSON.stringify(t))}catch(e){r=t}}return r.appOrParcelName=_(e),e.status=n,r}var d="NOT_LOADED",m="LOADING_SOURCE_CODE",v="NOT_BOOTSTRAPPED",g="BOOTSTRAPPING",w="NOT_MOUNTED",y="MOUNTING",E="MOUNTED",b="UPDATING",T="UNMOUNTING",P="LOAD_ERROR",O="SKIP_BECAUSE_BROKEN";function S(t){return t.status===E}function A(t){try{return t.activeWhen(window.location)}catch(e){return c(e,t,O),!1}}function _(t){return t.name}function N(t){return Boolean(t.unmountThisParcel)}function j(t){return N(t)?"parcel":"application"}function U(){for(var t=arguments.length-1;t>0;t--)for(var e in arguments[t])"__proto__"!==e&&(arguments[t-1][e]=arguments[t][e]);return arguments[0]}function D(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return t[n];return null}function L(t){return t&&("function"==typeof t||(e=t,Array.isArray(e)&&!D(e,(function(t){return"function"!=typeof t}))));var e}function M(t,e){var n=t[e]||[];0===(n=Array.isArray(n)?n:[n]).length&&(n=[function(){return Promise.resolve()}]);var r=j(t),o=_(t);return function(t){return n.reduce((function(n,i,u){return n.then((function(){var n=i(t);return k(n)?n:Promise.reject(p(15,!1,r,o,e,u))}))}),Promise.resolve())}}function k(t){return t&&"function"==typeof t.then&&"function"==typeof t.catch}function x(t,e){return Promise.resolve().then((function(){return t.status!==v?t:(t.status=g,t.bootstrap?X(t,"bootstrap").then(n).catch((function(n){if(e)throw h(n,t,O);return c(n,t,O),t})):Promise.resolve().then(n))}));function n(){return t.status=w,t}}function C(t,e){return Promise.resolve().then((function(){if(t.status!==E)return t;t.status=T;var n=Object.keys(t.parcels).map((function(e){return t.parcels[e].unmountThisParcel()}));return Promise.all(n).then(r,(function(n){return r().then((function(){var r=Error(n.message);if(e)throw h(r,t,O);c(r,t,O)}))})).then((function(){return t}));function r(){return X(t,"unmount").then((function(){t.status=w})).catch((function(n){if(e)throw h(n,t,O);c(n,t,O)}))}}))}var R=!1,I=!1;function B(t,e){return Promise.resolve().then((function(){return t.status!==w?t:(R||(window.dispatchEvent(new a("single-spa:before-first-mount")),R=!0),X(t,"mount").then((function(){return t.status=E,I||(window.dispatchEvent(new a("single-spa:first-mount")),I=!0),t})).catch((function(n){return t.status=E,C(t,!0).then(r,r);function r(){if(e)throw h(n,t,O);return c(n,t,O),t}})))}))}var $=0,G={parcels:{}};function W(){return F.apply(G,arguments)}function F(t,e){var n=this;if(!t||"object"!==o(t)&&"function"!=typeof t)throw Error(p(2,!1));if(t.name&&"string"!=typeof t.name)throw Error(p(3,!1,o(t.name)));if("object"!==o(e))throw Error(p(4,!1,name,o(e)));if(!e.domElement)throw Error(p(5,!1,name));var r,i=$++,u="function"==typeof t,a=u?t:function(){return Promise.resolve(t)},s={id:i,parcels:{},status:u?m:v,customProps:e,parentName:_(n),unmountThisParcel:function(){return g.then((function(){if(s.status!==E)throw Error(p(6,!1,name,s.status));return C(s,!0)})).then((function(t){return s.parentName&&delete n.parcels[s.id],t})).then((function(t){return f(t),t})).catch((function(t){throw s.status=O,l(t),t}))}};n.parcels[i]=s;var c=a();if(!c||"function"!=typeof c.then)throw Error(p(7,!1));var f,l,d=(c=c.then((function(t){if(!t)throw Error(p(8,!1));var e=t.name||"parcel-".concat(i);if(Object.prototype.hasOwnProperty.call(t,"bootstrap")&&!L(t.bootstrap))throw Error(p(9,!1,e));if(!L(t.mount))throw Error(p(10,!1,e));if(!L(t.unmount))throw Error(p(11,!1,e));if(t.update&&!L(t.update))throw Error(p(12,!1,e));var n=M(t,"bootstrap"),o=M(t,"mount"),u=M(t,"unmount");s.status=v,s.name=e,s.bootstrap=n,s.mount=o,s.unmount=u,s.timeouts=Y(t.timeouts),t.update&&(s.update=M(t,"update"),r.update=function(t){return s.customProps=t,K(function(t){return Promise.resolve().then((function(){if(t.status!==E)throw Error(p(32,!1,_(t)));return t.status=b,X(t,"update").then((function(){return t.status=E,t})).catch((function(e){throw h(e,t,O)}))}))}(s))})}))).then((function(){return x(s,!0)})),g=d.then((function(){return B(s,!0)})),y=new Promise((function(t,e){f=t,l=e}));return r={mount:function(){return K(Promise.resolve().then((function(){if(s.status!==w)throw Error(p(13,!1,name,s.status));return n.parcels[i]=s,B(s)})))},unmount:function(){return K(s.unmountThisParcel())},getStatus:function(){return s.status},loadPromise:K(c),bootstrapPromise:K(d),mountPromise:K(g),unmountPromise:K(y)}}function K(t){return t.then((function(){return null}))}function q(t){var e=_(t),n="function"==typeof t.customProps?t.customProps(e,window.location):t.customProps;("object"!==o(n)||null===n||Array.isArray(n))&&(n={},console.warn(p(40,!1),e,n));var i=U({},n,{name:e,mountParcel:F.bind(t),singleSpa:r});return N(t)&&(i.unmountSelf=t.unmountThisParcel),i}var J={bootstrap:{millis:4e3,dieOnTimeout:!1,warningMillis:1e3},mount:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},unmount:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},unload:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},update:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3}};function H(t,e,n){if("number"!=typeof t||t<=0)throw Error(p(16,!1));J.bootstrap={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function Q(t,e,n){if("number"!=typeof t||t<=0)throw Error(p(17,!1));J.mount={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function V(t,e,n){if("number"!=typeof t||t<=0)throw Error(p(18,!1));J.unmount={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function z(t,e,n){if("number"!=typeof t||t<=0)throw Error(p(19,!1));J.unload={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function X(t,e){var n=t.timeouts[e],r=n.warningMillis,o=j(t);return new Promise((function(i,u){var a=!1,s=!1;t[e](q(t)).then((function(t){a=!0,i(t)})).catch((function(t){a=!0,u(t)})),setTimeout((function(){return f(1)}),r),setTimeout((function(){return f(!0)}),n.millis);var c=p(31,!1,e,o,_(t),n.millis);function f(t){if(!a)if(!0===t)s=!0,n.dieOnTimeout?u(Error(c)):console.error(c);else if(!s){var e=t,o=e*r;console.warn(c),o+r<n.millis&&setTimeout((function(){return f(e+1)}),r)}}}))}function Y(t){var e={};for(var n in J)e[n]=U({},J[n],t&&t[n]||{});return e}function Z(t){return Promise.resolve().then((function(){return t.loadPromise?t.loadPromise:t.status!==d&&t.status!==P?t:(t.status=m,t.loadPromise=Promise.resolve().then((function(){var r=t.loadApp(q(t));if(!k(r))throw n=!0,Error(p(33,!1,_(t)));return r.then((function(n){var r;t.loadErrorTime=null,"object"!==o(e=n)&&(r=34),Object.prototype.hasOwnProperty.call(e,"bootstrap")&&!L(e.bootstrap)&&(r=35),L(e.mount)||(r=36),L(e.unmount)||(r=37);var i=j(e);if(r){var u;try{u=JSON.stringify(e)}catch(t){}return console.error(p(r,!1,i,_(t),u),e),c(void 0,t,O),t}return e.devtools&&e.devtools.overlays&&(t.devtools.overlays=U({},t.devtools.overlays,e.devtools.overlays)),t.status=v,t.bootstrap=M(e,"bootstrap"),t.mount=M(e,"mount"),t.unmount=M(e,"unmount"),t.unload=M(e,"unload"),t.timeouts=Y(e.timeouts),delete t.loadPromise,t}))})).catch((function(e){var r;return delete t.loadPromise,n?r=O:(r=P,t.loadErrorTime=(new Date).getTime()),c(e,t,r),t})));var e,n}))}var tt,et="undefined"!=typeof window,nt={hashchange:[],popstate:[]},rt=["hashchange","popstate"];function ot(t){var e;if("string"==typeof t)e=t;else if(this&&this.href)e=this.href;else{if(!(t&&t.currentTarget&&t.currentTarget.href&&t.preventDefault))throw Error(p(14,!1));e=t.currentTarget.href,t.preventDefault()}var n=lt(window.location.href),r=lt(e);0===e.indexOf("#")?window.location.hash=r.hash:n.host!==r.host&&r.host?window.location.href=e:r.pathname===n.pathname&&r.search===n.search?window.location.hash=r.hash:window.history.pushState(null,null,e)}function it(t){var e=this;if(t){var n=t[0].type;rt.indexOf(n)>=0&&nt[n].forEach((function(n){try{n.apply(e,t)}catch(t){setTimeout((function(){throw t}))}}))}}function ut(){Ct([],arguments)}function at(t,e){return function(){var n=window.location.href,r=t.apply(this,arguments),o=window.location.href;return tt&&n===o||($t()?window.dispatchEvent(st(window.history.state,e)):Ct([])),r}}function st(t,e){var n;try{n=new PopStateEvent("popstate",{state:t})}catch(e){(n=document.createEvent("PopStateEvent")).initPopStateEvent("popstate",!1,!1,t)}return n.singleSpa=!0,n.singleSpaTrigger=e,n}if(et){window.addEventListener("hashchange",ut),window.addEventListener("popstate",ut);var ct=window.addEventListener,ft=window.removeEventListener;window.addEventListener=function(t,e){if(!("function"==typeof e&&rt.indexOf(t)>=0)||D(nt[t],(function(t){return t===e})))return ct.apply(this,arguments);nt[t].push(e)},window.removeEventListener=function(t,e){if(!("function"==typeof e&&rt.indexOf(t)>=0))return ft.apply(this,arguments);nt[t]=nt[t].filter((function(t){return t!==e}))},window.history.pushState=at(window.history.pushState,"pushState"),window.history.replaceState=at(window.history.replaceState,"replaceState"),window.singleSpaNavigate?console.warn(p(41,!1)):window.singleSpaNavigate=ot}function lt(t){var e=document.createElement("a");return e.href=t,e}var pt=!1;function ht(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.jQuery;if(t||window.$&&window.$.fn&&window.$.fn.jquery&&(t=window.$),t&&!pt){var e=t.fn.on,n=t.fn.off;t.fn.on=function(t,n){return dt.call(this,e,window.addEventListener,t,n,arguments)},t.fn.off=function(t,e){return dt.call(this,n,window.removeEventListener,t,e,arguments)},pt=!0}}function dt(t,e,n,r,o){return"string"!=typeof n?t.apply(this,o):(n.split(/\s+/).forEach((function(t){rt.indexOf(t)>=0&&(e(t,r),n=n.replace(t,""))})),""===n.trim()?this:t.apply(this,o))}var mt={};function vt(t){return Promise.resolve().then((function(){var e=mt[_(t)];if(!e)return t;if(t.status===d)return gt(t,e),t;if("UNLOADING"===t.status)return e.promise.then((function(){return t}));if(t.status!==w&&t.status!==P)return t;var n=t.status===P?Promise.resolve():X(t,"unload");return t.status="UNLOADING",n.then((function(){return gt(t,e),t})).catch((function(n){return function(t,e,n){delete mt[_(t)],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,c(n,t,O),e.reject(n)}(t,e,n),t}))}))}function gt(t,e){delete mt[_(t)],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,t.status=d,e.resolve()}function wt(t,e,n,r){mt[_(t)]={app:t,resolve:n,reject:r},Object.defineProperty(mt[_(t)],"promise",{get:e})}function yt(t){return mt[t]}var Et=[];function bt(){var t=[],e=[],n=[],r=[],o=(new Date).getTime();return Et.forEach((function(i){var u=i.status!==O&&A(i);switch(i.status){case P:u&&o-i.loadErrorTime>=200&&n.push(i);break;case d:case m:u&&n.push(i);break;case v:case w:!u&&yt(_(i))?t.push(i):u&&r.push(i);break;case E:u||e.push(i)}})),{appsToUnload:t,appsToUnmount:e,appsToLoad:n,appsToMount:r}}function Tt(){return Et.filter(S).map(_)}function Pt(){return Et.map(_)}function Ot(t){var e=D(Et,(function(e){return _(e)===t}));return e?e.status:null}function St(t,e,n,r){var i=function(t,e,n,r){var i,u={name:null,loadApp:null,activeWhen:null,customProps:null};return"object"===o(t)?(function(t){if(Array.isArray(t)||null===t)throw Error(p(39,!1));var e=["name","app","activeWhen","customProps"],n=Object.keys(t).reduce((function(t,n){return e.indexOf(n)>=0?t:t.concat(n)}),[]);if(0!==n.length)throw Error(p(38,!1,e.join(", "),n.join(", ")));if("string"!=typeof t.name||0===t.name.length)throw Error(p(20,!1));if("object"!==o(t.app)&&"function"!=typeof t.app)throw Error(p(20,!1));var r=function(t){return"string"==typeof t||"function"==typeof t};if(!(r(t.activeWhen)||Array.isArray(t.activeWhen)&&t.activeWhen.every(r)))throw Error(p(24,!1));if(!Ut(t.customProps))throw Error(p(22,!1))}(t),u.name=t.name,u.loadApp=t.app,u.activeWhen=t.activeWhen,u.customProps=t.customProps):(function(t,e,n,r){if("string"!=typeof t||0===t.length)throw Error(p(20,!1));if(!e)throw Error(p(23,!1));if("function"!=typeof n)throw Error(p(24,!1));if(!Ut(r))throw Error(p(22,!1))}(t,e,n,r),u.name=t,u.loadApp=e,u.activeWhen=n,u.customProps=r),u.loadApp="function"!=typeof(i=u.loadApp)?function(){return Promise.resolve(i)}:i,u.customProps=function(t){return t||{}}(u.customProps),u.activeWhen=function(t){var e=Array.isArray(t)?t:[t];return e=e.map((function(t){return"function"==typeof t?t:Dt(t)})),function(t){return e.some((function(e){return e(t)}))}}(u.activeWhen),u}(t,e,n,r);if(-1!==Pt().indexOf(i.name))throw Error(p(21,!1,i.name));Et.push(U({loadErrorTime:null,status:d,parcels:{},devtools:{overlays:{options:{},selectors:[]}}},i)),et&&(ht(),Ct())}function At(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location;return Et.filter((function(e){return e.activeWhen(t)})).map(_)}function _t(t){if(0===Et.filter((function(e){return _(e)===t})).length)throw Error(p(25,!1,t));return Nt(t).then((function(){var e=Et.map(_).indexOf(t);Et.splice(e,1)}))}function Nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{waitForUnmount:!1};if("string"!=typeof t)throw Error(p(26,!1));var n=D(Et,(function(e){return _(e)===t}));if(!n)throw Error(p(27,!1,t));var r,o=yt(_(n));if(e&&e.waitForUnmount){if(o)return o.promise;var i=new Promise((function(t,e){wt(n,(function(){return i}),t,e)}));return i}return o?(r=o.promise,jt(n,o.resolve,o.reject)):r=new Promise((function(t,e){wt(n,(function(){return r}),t,e),jt(n,t,e)})),r}function jt(t,e,n){C(t).then(vt).then((function(){e(),setTimeout((function(){Ct()}))})).catch(n)}function Ut(t){return!t||"function"==typeof t||"object"===o(t)&&null!==t&&!Array.isArray(t)}function Dt(t,e){var n=function(t,e){var n=0,r=!1,o="^";"/"!==t[0]&&(t="/"+t);for(var i=0;i<t.length;i++){var u=t[i];(!r&&":"===u||r&&"/"===u)&&a(i)}return a(t.length),new RegExp(o,"i");function a(i){var u=t.slice(n,i).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");if(o+=r?"[^/]+/?":u,i===t.length)if(r)e&&(o+="$");else{var a=e?"":".*";o="/"===o.charAt(o.length-1)?"".concat(o).concat(a,"$"):"".concat(o,"(/").concat(a,")?(#.*)?$")}r=!r,n=i}}(t,e);return function(t){var e=t.origin;e||(e="".concat(t.protocol,"//").concat(t.host));var r=t.href.replace(e,"").replace(t.search,"").split("?")[0];return n.test(r)}}var Lt=!1,Mt=[],kt=et&&window.location.href;function xt(){return Ct()}function Ct(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;if(Lt)return new Promise((function(t,n){Mt.push({resolve:t,reject:n,eventArguments:e})}));var n,r=bt(),o=r.appsToUnload,u=r.appsToUnmount,s=r.appsToLoad,c=r.appsToMount,f=!1,l=kt,p=kt=window.location.href;return $t()?(Lt=!0,n=o.concat(s,u,c),v()):(n=s,m());function h(){f=!0}function m(){return Promise.resolve().then((function(){var t=s.map(Z);return Promise.all(t).then(y).then((function(){return[]})).catch((function(t){throw y(),t}))}))}function v(){return Promise.resolve().then((function(){if(window.dispatchEvent(new a(0===n.length?"single-spa:before-no-app-change":"single-spa:before-app-change",b(!0))),window.dispatchEvent(new a("single-spa:before-routing-event",b(!0,{cancelNavigation:h}))),f)return window.dispatchEvent(new a("single-spa:before-mount-routing-event",b(!0))),g(),void ot(l);var e=o.map(vt),r=u.map(C).map((function(t){return t.then(vt)})).concat(e),i=Promise.all(r);i.then((function(){window.dispatchEvent(new a("single-spa:before-mount-routing-event",b(!0)))}));var p=s.map((function(t){return Z(t).then((function(t){return Rt(t,i)}))})),d=c.filter((function(t){return s.indexOf(t)<0})).map((function(t){return Rt(t,i)}));return i.catch((function(t){throw y(),t})).then((function(){return y(),Promise.all(p.concat(d)).catch((function(e){throw t.forEach((function(t){return t.reject(e)})),e})).then(g)}))}))}function g(){var e=Tt();t.forEach((function(t){return t.resolve(e)}));try{var r=0===n.length?"single-spa:no-app-change":"single-spa:app-change";window.dispatchEvent(new a(r,b())),window.dispatchEvent(new a("single-spa:routing-event",b()))}catch(t){setTimeout((function(){throw t}))}if(Lt=!1,Mt.length>0){var o=Mt;Mt=[],Ct(o)}return e}function y(){t.forEach((function(t){it(t.eventArguments)})),it(e)}function b(){var t,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1?arguments[1]:void 0,h={},m=(i(t={},E,[]),i(t,w,[]),i(t,d,[]),i(t,O,[]),t);r?(s.concat(c).forEach((function(t,e){g(t,E)})),o.forEach((function(t){g(t,d)})),u.forEach((function(t){g(t,w)}))):n.forEach((function(t){g(t)}));var v={detail:{newAppStatuses:h,appsByNewStatus:m,totalAppChanges:n.length,originalEvent:null==e?void 0:e[0],oldUrl:l,newUrl:p,navigationIsCanceled:f}};return a&&U(v.detail,a),v;function g(t,e){var n=_(t);e=e||Ot(n),h[n]=e,(m[e]=m[e]||[]).push(n)}}}function Rt(t,e){return A(t)?x(t).then((function(t){return e.then((function(){return A(t)?B(t):t}))})):e.then((function(){return t}))}var It=!1;function Bt(t){var e;It=!0,t&&t.urlRerouteOnly&&(e=t.urlRerouteOnly,tt=e),et&&Ct()}function $t(){return It}et&&setTimeout((function(){It||console.warn(p(1,!1))}),5e3);var Gt={getRawAppData:function(){return[].concat(Et)},reroute:Ct,NOT_LOADED:d,toLoadPromise:Z,toBootstrapPromise:x,unregisterApplication:_t};et&&window.__SINGLE_SPA_DEVTOOLS__&&(window.__SINGLE_SPA_DEVTOOLS__.exposedMethods=Gt)},6639:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>a,genericLinkConfigSchema:()=>u});var r=n(5776),o=n.n(r),i=n(4610),u={title:{_default:"New Link",_type:i.Type.String},target:{_default:"#",_type:i.Type.String,_description:"The URL to link to.",_validators:[i.validators.isUrl]}};function a(){var t=(0,i.useConfig)();return o().createElement(i.ConfigurableLink,{to:t.target},t.title)}},1217:(t,e,n)=>{"use strict";n.d(e,{e:()=>r});var r="@openmrs/esm-primary-navigation-app"},2363:(t,e,n)=>{"use strict";var r=n(4610);n(8478),r.Type.String,r.Type.String,r.Type.String,r.Type.Array,r.Type.String,r.Type.String,r.validators.isUrl;var o=n(1217);n(3710),n(6639),n(3979),o.e},3979:(t,e,n)=>{var r={"./en.json":[3574,574],"./fr.json":[2757,757],"./he.json":[5833,833]};function o(t){if(!n.o(r,t))return Promise.resolve().then((()=>{var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=r[t],o=e[0];return n.e(e[1]).then((()=>n(o)))}o.keys=()=>Object.keys(r),o.id=3979,t.exports=o}},r={};function o(t){var e=r[t];if(void 0!==e)return e.exports;var i=r[t]={id:t,loaded:!1,exports:{}};return n[t].call(i.exports,i,i.exports,o),i.loaded=!0,i.exports}o.m=n,o.c=r,o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.f={},o.e=t=>Promise.all(Object.keys(o.f).reduce(((e,n)=>(o.f[n](t,e),e)),[])),o.u=t=>t+".js",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t={},e="@openmrs/esm-primary-navigation-app:",o.l=(n,r,i,u)=>{if(t[n])t[n].push(r);else{var a,s;if(void 0!==i)for(var c=document.getElementsByTagName("script"),f=0;f<c.length;f++){var l=c[f];if(l.getAttribute("src")==n||l.getAttribute("data-webpack")==e+i){a=l;break}}a||(s=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,o.nc&&a.setAttribute("nonce",o.nc),a.setAttribute("data-webpack",e+i),a.src=n),t[n]=[r];var p=(e,r)=>{a.onerror=a.onload=null,clearTimeout(h);var o=t[n];if(delete t[n],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((t=>t(r))),e)return e(r)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),s&&document.head.appendChild(a)}},o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),(()=>{o.S={};var t={},e={};o.I=(n,r)=>{r||(r=[]);var i=e[n];if(i||(i=e[n]={}),!(r.indexOf(i)>=0)){if(r.push(i),t[n])return t[n];o.o(o.S,n)||(o.S[n]={});var u=o.S[n],a="@openmrs/esm-primary-navigation-app",s=(t,e,n,r)=>{var o=u[t]=u[t]||{},i=o[e];(!i||!i.loaded&&(!r!=!i.eager?r:a>i.from))&&(o[e]={get:n,from:a,eager:!!r})},c=[];return"default"===n&&(s("@openmrs/esm-framework/src/internal","4.5.1-pre.801",(()=>Promise.all([o.e(776),o.e(889)]).then((()=>()=>o(4889))))),s("react-dom","18.2.0",(()=>Promise.all([o.e(788),o.e(776)]).then((()=>()=>o(2788))))),s("react-i18next","11.18.6",(()=>Promise.all([o.e(242),o.e(776)]).then((()=>()=>o(6242))))),s("react-router-dom","5.3.4",(()=>Promise.all([o.e(406),o.e(776),o.e(216)]).then((()=>()=>o(4406))))),s("react","18.2.0",(()=>o.e(735).then((()=>()=>o(2735)))))),t[n]=c.length?Promise.all(c).then((()=>t[n]=1)):1}}})(),(()=>{var t;o.g.importScripts&&(t=o.g.location+"");var e=o.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=t})(),(()=>{var t=t=>{var e=t=>t.split(".").map((t=>+t==t?+t:t)),n=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(t),r=n[1]?e(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,e(n[2]))),n[3]&&(r.push([]),r.push.apply(r,e(n[3]))),r},e=t=>{var n=t[0],r="";if(1===t.length)return"*";if(n+.5){r+=0==n?">=":-1==n?"<":1==n?"^":2==n?"~":n>0?"=":"!=";for(var o=1,i=1;i<t.length;i++)o--,r+="u"==(typeof(a=t[i]))[0]?"-":(o>0?".":"")+(o=2,a);return r}var u=[];for(i=1;i<t.length;i++){var a=t[i];u.push(0===a?"not("+s()+")":1===a?"("+s()+" || "+s()+")":2===a?u.pop()+" "+u.pop():e(a))}return s();function s(){return u.pop().replace(/^\((.+)\)$/,"$1")}},n=(e,r)=>{if(0 in e){r=t(r);var o=e[0],i=o<0;i&&(o=-o-1);for(var u=0,a=1,s=!0;;a++,u++){var c,f,l=a<e.length?(typeof e[a])[0]:"";if(u>=r.length||"o"==(f=(typeof(c=r[u]))[0]))return!s||("u"==l?a>o&&!i:""==l!=i);if("u"==f){if(!s||"u"!=l)return!1}else if(s)if(l==f)if(a<=o){if(c!=e[a])return!1}else{if(i?c>e[a]:c<e[a])return!1;c!=e[a]&&(s=!1)}else if("s"!=l&&"n"!=l){if(i||a<=o)return!1;s=!1,a--}else{if(a<=o||f<l!=i)return!1;s=!1}else"s"!=l&&"n"!=l&&(s=!1,a--)}}var p=[],h=p.pop.bind(p);for(u=1;u<e.length;u++){var d=e[u];p.push(1==d?h()|h():2==d?h()&h():d?n(d,r):!h())}return!!h()},r=(e,n)=>{var r=e[n];return Object.keys(r).reduce(((e,n)=>!e||!r[e].loaded&&((e,n)=>{e=t(e),n=t(n);for(var r=0;;){if(r>=e.length)return r<n.length&&"u"!=(typeof n[r])[0];var o=e[r],i=(typeof o)[0];if(r>=n.length)return"u"==i;var u=n[r],a=(typeof u)[0];if(i!=a)return"o"==i&&"n"==a||"s"==a||"u"==i;if("o"!=i&&"u"!=i&&o!=u)return o<u;r++}})(e,n)?n:e),0)},i=(t,o,i,a)=>{var s=r(t,i);return n(a,s)||"undefined"!=typeof console&&console.warn&&console.warn(((t,n,r,o)=>"Unsatisfied version "+r+" from "+(r&&t[n][r].from)+" of shared singleton module "+n+" (required "+e(o)+")")(t,i,s,a)),u(t[i][s])},u=t=>(t.loaded=1,t.get()),a=t=>function(e,n,r,i){var u=o.I(e);return u&&u.then?u.then(t.bind(t,e,o.S[e],n,r,i)):t(e,o.S[e],n,r,i)},s=a(((t,e,n,i)=>e&&o.o(e,n)?((t,e,n,o)=>{var i=r(t,n);return u(t[n][i])})(e,0,n):i())),c=a(((t,e,n,r,u)=>e&&o.o(e,n)?i(e,0,n,r):u())),f={},l={2680:()=>c("default","react-i18next",[1,11],(()=>o.e(242).then((()=>()=>o(6242))))),7743:()=>c("default","react-router-dom",[1,6],(()=>o.e(406).then((()=>()=>o(4406))))),5776:()=>c("default","react",[1,18],(()=>o.e(735).then((()=>()=>o(2735))))),4610:()=>c("default","@openmrs/esm-framework",[0],(()=>o.e(889).then((()=>()=>o(4889))))),8478:()=>s("default","@openmrs/esm-framework/src/internal",(()=>o.e(889).then((()=>()=>o(4889)))))};[4610,8478,5776].forEach((t=>{o.m[t]=e=>{f[t]=0,delete o.c[t];var n=l[t]();if("function"!=typeof n)throw new Error("Shared module is not available for eager consumption: "+t);e.exports=n()}}));var p={241:[7743],680:[2680],776:[5776]};o.f.consumes=(t,e)=>{o.o(p,t)&&p[t].forEach((t=>{if(o.o(f,t))return e.push(f[t]);var n=e=>{f[t]=0,o.m[t]=n=>{delete o.c[t],n.exports=e()}},r=e=>{delete f[t],o.m[t]=n=>{throw delete o.c[t],e}};try{var i=l[t]();i.then?e.push(f[t]=i.then(n).catch(r)):n(i)}catch(t){r(t)}}))}})(),(()=>{var t={179:0,776:0,363:0,710:0};o.f.j=(e,n)=>{var r=o.o(t,e)?t[e]:void 0;if(0!==r)if(r)n.push(r[2]);else if(/^(680|776)$/.test(e))t[e]=0;else{var i=new Promise(((n,o)=>r=t[e]=[n,o]));n.push(r[2]=i);var u=o.p+o.u(e),a=new Error;o.l(u,(n=>{if(o.o(t,e)&&(0!==(r=t[e])&&(t[e]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),u=n&&n.target&&n.target.src;a.message="Loading chunk "+e+" failed.\n("+i+": "+u+")",a.name="ChunkLoadError",a.type=i,a.request=u,r[1](a)}}),"chunk-"+e,e)}};var e=(e,n)=>{var r,i,[u,a,s]=n,c=0;if(u.some((e=>0!==t[e]))){for(r in a)o.o(a,r)&&(o.m[r]=a[r]);s&&s(o)}for(e&&e(n);c<u.length;c++)i=u[c],o.o(t,i)&&t[i]&&t[i][0](),t[i]=0},n=globalThis.webpackChunk_openmrs_esm_primary_navigation_app=globalThis.webpackChunk_openmrs_esm_primary_navigation_app||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))})(),o.nc=void 0,o(2363)})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var _openmrs_esm_primary_navigation_app;(()=>{function j(a){var b=g[a];if(void 0!==b)return b.exports;var c=g[a]={id:a,loaded:!1,exports:{}};return M[a].call(c.exports,c,c.exports,j),c.loaded=!0,c.exports}var b,k,q,x,z,A,B,C,D,E,F,G,H,I,J,K,L,M={7130:(b,c,d)=>{var f={"./start":()=>Promise.all([d.e(710),d.e(776),d.e(363)]).then(()=>()=>d(2363))},e=(a,b)=>(d.R=b,b=d.o(f,a)?f[a]():Promise.resolve().then(()=>{throw new Error("Module \""+a+"\" does not exist in container.")}),d.R=void 0,b),g=(a,b)=>{if(d.S){var c=d.S["default"];if(c&&c!==a)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return d.S["default"]=a,d.I("default",b)}};d.d(c,{get:()=>e,init:()=>g})}},g={};j.m=M,j.c=g,j.n=a=>{var b=a&&a.__esModule?()=>a.default:()=>a;return j.d(b,{a:b}),b},j.d=(a,b)=>{for(var c in b)j.o(b,c)&&!j.o(a,c)&&Object.defineProperty(a,c,{enumerable:!0,get:b[c]})},j.f={},j.e=a=>Promise.all(Object.keys(j.f).reduce((b,c)=>(j.f[c](a,b),b),[])),j.u=a=>a+".js",j.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(a){if("object"==typeof window)return window}}(),j.o=(a,b)=>Object.prototype.hasOwnProperty.call(a,b),b={},k="@openmrs/esm-primary-navigation-app:",j.l=(a,c,e)=>{if(b[a])b[a].push(c);else{var g,h;if(void 0!==e)for(var m,n=document.getElementsByTagName("script"),o=0;o<n.length;o++)if(m=n[o],m.getAttribute("src")==a||m.getAttribute("data-webpack")==k+e){g=m;break}g||(h=!0,(g=document.createElement("script")).charset="utf-8",g.timeout=120,j.nc&&g.setAttribute("nonce",j.nc),g.setAttribute("data-webpack",k+e),g.src=a),b[a]=[c];var q=(c,d)=>{g.onerror=g.onload=null,clearTimeout(f);var e=b[a];if(delete b[a],g.parentNode&&g.parentNode.removeChild(g),e&&e.forEach(a=>a(d)),c)return c(d)},f=setTimeout(q.bind(null,void 0,{type:"timeout",target:g}),12e4);g.onerror=q.bind(null,g.onerror),g.onload=q.bind(null,g.onload),h&&document.head.appendChild(g)}},j.r=a=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},j.nmd=a=>(a.paths=[],a.children||(a.children=[]),a),(()=>{j.S={};var b={},c={};j.I=(d,e)=>{e||(e=[]);var f=c[d];if(f||(f=c[d]={}),!(0<=e.indexOf(f))){if(e.push(f),b[d])return b[d];j.o(j.S,d)||(j.S[d]={});var g=j.S[d],a=(a,b,c,d)=>{var e=g[a]=g[a]||{},f=e[b];f&&(f.loaded||(!d==!f.eager?!("@openmrs/esm-primary-navigation-app">f.from):!d))||(e[b]={get:c,from:"@openmrs/esm-primary-navigation-app",eager:!!d})},h=[];return"default"===d&&(a("@openmrs/esm-framework/src/internal","4.5.1-pre.
|
|
1
|
+
var _openmrs_esm_primary_navigation_app;(()=>{function j(a){var b=g[a];if(void 0!==b)return b.exports;var c=g[a]={id:a,loaded:!1,exports:{}};return M[a].call(c.exports,c,c.exports,j),c.loaded=!0,c.exports}var b,k,q,x,z,A,B,C,D,E,F,G,H,I,J,K,L,M={7130:(b,c,d)=>{var f={"./start":()=>Promise.all([d.e(710),d.e(776),d.e(363)]).then(()=>()=>d(2363))},e=(a,b)=>(d.R=b,b=d.o(f,a)?f[a]():Promise.resolve().then(()=>{throw new Error("Module \""+a+"\" does not exist in container.")}),d.R=void 0,b),g=(a,b)=>{if(d.S){var c=d.S["default"];if(c&&c!==a)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return d.S["default"]=a,d.I("default",b)}};d.d(c,{get:()=>e,init:()=>g})}},g={};j.m=M,j.c=g,j.n=a=>{var b=a&&a.__esModule?()=>a.default:()=>a;return j.d(b,{a:b}),b},j.d=(a,b)=>{for(var c in b)j.o(b,c)&&!j.o(a,c)&&Object.defineProperty(a,c,{enumerable:!0,get:b[c]})},j.f={},j.e=a=>Promise.all(Object.keys(j.f).reduce((b,c)=>(j.f[c](a,b),b),[])),j.u=a=>a+".js",j.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(a){if("object"==typeof window)return window}}(),j.o=(a,b)=>Object.prototype.hasOwnProperty.call(a,b),b={},k="@openmrs/esm-primary-navigation-app:",j.l=(a,c,e)=>{if(b[a])b[a].push(c);else{var g,h;if(void 0!==e)for(var m,n=document.getElementsByTagName("script"),o=0;o<n.length;o++)if(m=n[o],m.getAttribute("src")==a||m.getAttribute("data-webpack")==k+e){g=m;break}g||(h=!0,(g=document.createElement("script")).charset="utf-8",g.timeout=120,j.nc&&g.setAttribute("nonce",j.nc),g.setAttribute("data-webpack",k+e),g.src=a),b[a]=[c];var q=(c,d)=>{g.onerror=g.onload=null,clearTimeout(f);var e=b[a];if(delete b[a],g.parentNode&&g.parentNode.removeChild(g),e&&e.forEach(a=>a(d)),c)return c(d)},f=setTimeout(q.bind(null,void 0,{type:"timeout",target:g}),12e4);g.onerror=q.bind(null,g.onerror),g.onload=q.bind(null,g.onload),h&&document.head.appendChild(g)}},j.r=a=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},j.nmd=a=>(a.paths=[],a.children||(a.children=[]),a),(()=>{j.S={};var b={},c={};j.I=(d,e)=>{e||(e=[]);var f=c[d];if(f||(f=c[d]={}),!(0<=e.indexOf(f))){if(e.push(f),b[d])return b[d];j.o(j.S,d)||(j.S[d]={});var g=j.S[d],a=(a,b,c,d)=>{var e=g[a]=g[a]||{},f=e[b];f&&(f.loaded||(!d==!f.eager?!("@openmrs/esm-primary-navigation-app">f.from):!d))||(e[b]={get:c,from:"@openmrs/esm-primary-navigation-app",eager:!!d})},h=[];return"default"===d&&(a("@openmrs/esm-framework/src/internal","4.5.1-pre.801",()=>Promise.all([j.e(776),j.e(889)]).then(()=>()=>j(4889))),a("react-dom","18.2.0",()=>Promise.all([j.e(788),j.e(776)]).then(()=>()=>j(2788))),a("react-i18next","11.18.6",()=>Promise.all([j.e(242),j.e(776)]).then(()=>()=>j(6242))),a("react-router-dom","5.3.4",()=>Promise.all([j.e(406),j.e(776),j.e(216)]).then(()=>()=>j(4406))),a("react","18.2.0",()=>j.e(735).then(()=>()=>j(2735)))),b[d]=h.length?Promise.all(h).then(()=>b[d]=1):1}}})(),(()=>{var a;j.g.importScripts&&(a=j.g.location+"");var b=j.g.document;if(!a&&b&&(b.currentScript&&(a=b.currentScript.src),!a)){var c=b.getElementsByTagName("script");c.length&&(a=c[c.length-1].src)}if(!a)throw new Error("Automatic publicPath is not supported in this browser");a=a.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),j.p=a})(),q=a=>{var b=a=>a.split(".").map(a=>+a==a?+a:a),c=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(a),d=c[1]?b(c[1]):[];return c[2]&&(d.length++,d.push.apply(d,b(c[2]))),c[3]&&(d.push([]),d.push.apply(d,b(c[3]))),d},x=(b,c)=>{b=q(b),c=q(c);for(var d=0;;){if(d>=b.length)return d<c.length&&"u"!=(typeof c[d])[0];var f=b[d],g=(typeof f)[0];if(d>=c.length)return"u"==g;var h=c[d],j=(typeof h)[0];if(g!=j)return"o"==g&&"n"==j||"s"==j||"u"==g;if("o"!=g&&"u"!=g&&f!=h)return f<h;d++}},z=b=>{function c(){return h.pop().replace(/^\((.+)\)$/,"$1")}var d=b[0],e="";if(1===b.length)return"*";if(d+.5){e+=0==d?">=":-1==d?"<":1==d?"^":2==d?"~":0<d?"=":"!=";for(var f=1,g=1;g<b.length;g++)f--,e+="u"==(typeof(i=b[g]))[0]?"-":(0<f?".":"")+(f=2,i);return e}var h=[];for(g=1;g<b.length;g++){var i=b[g];h.push(0===i?"not("+c()+")":1===i?"("+c()+" || "+c()+")":2===i?h.pop()+" "+h.pop():z(i))}return c()},A=(a,b)=>{if(0 in a){b=q(b);var e=a[0],g=0>e;g&&(e=-e-1);for(var j=0,k=1,m=!0;;k++,j++){var o,t,v=k<a.length?(typeof a[k])[0]:"";if(j>=b.length||"o"==(t=(typeof(o=b[j]))[0]))return!m||("u"==v?k>e&&!g:""==v!=g);if("u"==t){if(!m||"u"!=v)return!1;}else if(!m)"s"!=v&&"n"!=v&&(m=!1,k--);else if(v==t){if(!(k<=e)){if(g?o>a[k]:o<a[k])return!1;o!=a[k]&&(m=!1)}else if(o!=a[k])return!1;}else if("s"!=v&&"n"!=v){if(g||k<=e)return!1;m=!1,k--}else{if(k<=e||t<v!=g)return!1;m=!1}}}var w=[],d=w.pop.bind(w);for(j=1;j<a.length;j++){var c=a[j];w.push(1==c?d()|d():2==c?d()&d():c?A(c,b):!d())}return!!d()},B=(a,b)=>{var c=a[b];return Object.keys(c).reduce((a,b)=>a&&(c[a].loaded||!x(a,b))?a:b,0)},C=(a,b,c,d)=>"Unsatisfied version "+c+" from "+(c&&a[b][c].from)+" of shared singleton module "+b+" (required "+z(d)+")",D=(a,b,c)=>{var d=B(a,c);return F(a[c][d])},E=(a,b,c,d)=>{var e=B(a,c);return A(d,e)||"undefined"!=typeof console&&console.warn&&console.warn(C(a,c,e,d)),F(a[c][e])},F=a=>(a.loaded=1,a.get()),H=(G=b=>function(c,d,e,f){var g=j.I(c);return g&&g.then?g.then(b.bind(b,c,j.S[c],d,e,f)):b(c,j.S[c],d,e,f)})((a,b,c,d)=>b&&j.o(b,c)?D(b,0,c):d()),I=G((a,b,c,d,e)=>b&&j.o(b,c)?E(b,0,c,d):e()),J={},K={5776:()=>I("default","react",[1,18],()=>j.e(735).then(()=>()=>j(2735))),4610:()=>I("default","@openmrs/esm-framework",[0],()=>j.e(889).then(()=>()=>j(4889))),8478:()=>H("default","@openmrs/esm-framework/src/internal",()=>j.e(889).then(()=>()=>j(4889))),2680:()=>I("default","react-i18next",[1,11],()=>j.e(242).then(()=>()=>j(6242))),7743:()=>I("default","react-router-dom",[1,6],()=>j.e(406).then(()=>()=>j(4406)))},L={241:[7743],363:[4610,8478],680:[2680],776:[5776]},j.f.consumes=(a,b)=>{j.o(L,a)&&L[a].forEach(a=>{if(j.o(J,a))return b.push(J[a]);var c=b=>{J[a]=0,j.m[a]=c=>{delete j.c[a],c.exports=b()}},d=b=>{delete J[a],j.m[a]=()=>{throw delete j.c[a],b}};try{var e=K[a]();e.then?b.push(J[a]=e.then(c).catch(d)):c(e)}catch(a){d(a)}})},(()=>{var b={115:0};j.f.j=(c,d)=>{var e=j.o(b,c)?b[c]:void 0;if(0!==e)if(e)d.push(e[2]);else if(/^(680|776)$/.test(c))b[c]=0;else{var f=new Promise((a,d)=>e=b[c]=[a,d]);d.push(e[2]=f);var g=j.p+j.u(c),h=new Error;j.l(g,d=>{if(j.o(b,c)&&(0!==(e=b[c])&&(b[c]=void 0),e)){var f=d&&("load"===d.type?"missing":d.type),g=d&&d.target&&d.target.src;h.message="Loading chunk "+c+" failed.\n("+f+": "+g+")",h.name="ChunkLoadError",h.type=f,h.request=g,e[1](h)}},"chunk-"+c,c)}};var a=(c,d)=>{var e,f,[g,a,h]=d,i=0;if(g.some(a=>0!==b[a])){for(e in a)j.o(a,e)&&(j.m[e]=a[e]);h&&h(j)}for(c&&c(d);i<g.length;i++)f=g[i],j.o(b,f)&&b[f]&&b[f][0](),b[f]=0},c=globalThis.webpackChunk_openmrs_esm_primary_navigation_app=globalThis.webpackChunk_openmrs_esm_primary_navigation_app||[];c.forEach(a.bind(null,0)),c.push=a.bind(null,c.push.bind(c))})(),j.nc=void 0;var y=j(7130);_openmrs_esm_primary_navigation_app=y})();
|
package/lib/esm-primary-navigation-app/openmrs-esm-primary-navigation-app.js.buildmanifest.json
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"auxiliaryFiles": [
|
|
52
52
|
"openmrs-esm-primary-navigation-app.js.map"
|
|
53
53
|
],
|
|
54
|
-
"hash": "
|
|
54
|
+
"hash": "f16aefe7b82b0dc0",
|
|
55
55
|
"childrenByOrder": {}
|
|
56
56
|
},
|
|
57
57
|
{
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"auxiliaryFiles": [
|
|
80
80
|
"main.js.map"
|
|
81
81
|
],
|
|
82
|
-
"hash": "
|
|
82
|
+
"hash": "d6f945b324cdfdf4",
|
|
83
83
|
"childrenByOrder": {}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
"auxiliaryFiles": [
|
|
180
180
|
"363.js.map"
|
|
181
181
|
],
|
|
182
|
-
"hash": "
|
|
182
|
+
"hash": "39536104a4accbc5",
|
|
183
183
|
"childrenByOrder": {}
|
|
184
184
|
},
|
|
185
185
|
{
|
|
@@ -502,9 +502,9 @@
|
|
|
502
502
|
"entry": false,
|
|
503
503
|
"recorded": false,
|
|
504
504
|
"reason": "reused as split chunk (cache group: default)",
|
|
505
|
-
"size":
|
|
505
|
+
"size": 1106204,
|
|
506
506
|
"sizes": {
|
|
507
|
-
"javascript":
|
|
507
|
+
"javascript": 1106204
|
|
508
508
|
},
|
|
509
509
|
"names": [],
|
|
510
510
|
"idHints": [],
|
|
@@ -518,7 +518,7 @@
|
|
|
518
518
|
"auxiliaryFiles": [
|
|
519
519
|
"889.js.map"
|
|
520
520
|
],
|
|
521
|
-
"hash": "
|
|
521
|
+
"hash": "2b7ac0bb7bef1a75",
|
|
522
522
|
"childrenByOrder": {}
|
|
523
523
|
}
|
|
524
524
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var _openmrs_esm_primary_navigation_app;(()=>{"use strict";var e,r,t,n,o,a,i,l,s,u,p,f,d,c,h,m,v,g={7130:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(710),t.e(776),t.e(363)]).then((()=>()=>t(2363)))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>a})}},y={};function b(e){var r=y[e];if(void 0!==r)return r.exports;var t=y[e]={id:e,loaded:!1,exports:{}};return g[e].call(t.exports,t,t.exports,b),t.loaded=!0,t.exports}b.m=g,b.c=y,b.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return b.d(r,{a:r}),r},b.d=(e,r)=>{for(var t in r)b.o(r,t)&&!b.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},b.f={},b.e=e=>Promise.all(Object.keys(b.f).reduce(((r,t)=>(b.f[t](e,r),r)),[])),b.u=e=>e+".js",b.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),b.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@openmrs/esm-primary-navigation-app:",b.l=(t,n,o,a)=>{if(e[t])e[t].push(n);else{var i,l;if(void 0!==o)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var p=s[u];if(p.getAttribute("src")==t||p.getAttribute("data-webpack")==r+o){i=p;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,b.nc&&i.setAttribute("nonce",b.nc),i.setAttribute("data-webpack",r+o),i.src=t),e[t]=[n];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),r)return r(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),l&&document.head.appendChild(i)}},b.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{b.S={};var e={},r={};b.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];b.o(b.S,t)||(b.S[t]={});var a=b.S[t],i="@openmrs/esm-primary-navigation-app",l=(e,r,t,n)=>{var o=a[e]=a[e]||{},l=o[r];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(o[r]={get:t,from:i,eager:!!n})},s=[];return"default"===t&&(l("@openmrs/esm-framework/src/internal","4.5.1-pre.
|
|
1
|
+
var _openmrs_esm_primary_navigation_app;(()=>{"use strict";var e,r,t,n,o,a,i,l,s,u,p,f,d,c,h,m,v,g={7130:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(710),t.e(776),t.e(363)]).then((()=>()=>t(2363)))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>a})}},y={};function b(e){var r=y[e];if(void 0!==r)return r.exports;var t=y[e]={id:e,loaded:!1,exports:{}};return g[e].call(t.exports,t,t.exports,b),t.loaded=!0,t.exports}b.m=g,b.c=y,b.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return b.d(r,{a:r}),r},b.d=(e,r)=>{for(var t in r)b.o(r,t)&&!b.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},b.f={},b.e=e=>Promise.all(Object.keys(b.f).reduce(((r,t)=>(b.f[t](e,r),r)),[])),b.u=e=>e+".js",b.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),b.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@openmrs/esm-primary-navigation-app:",b.l=(t,n,o,a)=>{if(e[t])e[t].push(n);else{var i,l;if(void 0!==o)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var p=s[u];if(p.getAttribute("src")==t||p.getAttribute("data-webpack")==r+o){i=p;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,b.nc&&i.setAttribute("nonce",b.nc),i.setAttribute("data-webpack",r+o),i.src=t),e[t]=[n];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),r)return r(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),l&&document.head.appendChild(i)}},b.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{b.S={};var e={},r={};b.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];b.o(b.S,t)||(b.S[t]={});var a=b.S[t],i="@openmrs/esm-primary-navigation-app",l=(e,r,t,n)=>{var o=a[e]=a[e]||{},l=o[r];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(o[r]={get:t,from:i,eager:!!n})},s=[];return"default"===t&&(l("@openmrs/esm-framework/src/internal","4.5.1-pre.801",(()=>Promise.all([b.e(776),b.e(889)]).then((()=>()=>b(4889))))),l("react-dom","18.2.0",(()=>Promise.all([b.e(788),b.e(776)]).then((()=>()=>b(2788))))),l("react-i18next","11.18.6",(()=>Promise.all([b.e(242),b.e(776)]).then((()=>()=>b(6242))))),l("react-router-dom","5.3.4",(()=>Promise.all([b.e(406),b.e(776),b.e(216)]).then((()=>()=>b(4406))))),l("react","18.2.0",(()=>b.e(735).then((()=>()=>b(2735)))))),e[t]=s.length?Promise.all(s).then((()=>e[t]=1)):1}}})(),(()=>{var e;b.g.importScripts&&(e=b.g.location+"");var r=b.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");t.length&&(e=t[t.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),b.p=e})(),t=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},n=(e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var o=e[n],a=(typeof o)[0];if(n>=r.length)return"u"==a;var i=r[n],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;n++}},o=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,a=1;a<e.length;a++)n--,t+="u"==(typeof(l=e[a]))[0]?"-":(n>0?".":"")+(n=2,l);return t}var i=[];for(a=1;a<e.length;a++){var l=e[a];i.push(0===l?"not("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?i.pop()+" "+i.pop():o(l))}return s();function s(){return i.pop().replace(/^\((.+)\)$/,"$1")}},a=(e,r)=>{if(0 in e){r=t(r);var n=e[0],o=n<0;o&&(n=-n-1);for(var i=0,l=1,s=!0;;l++,i++){var u,p,f=l<e.length?(typeof e[l])[0]:"";if(i>=r.length||"o"==(p=(typeof(u=r[i]))[0]))return!s||("u"==f?l>n&&!o:""==f!=o);if("u"==p){if(!s||"u"!=f)return!1}else if(s)if(f==p)if(l<=n){if(u!=e[l])return!1}else{if(o?u>e[l]:u<e[l])return!1;u!=e[l]&&(s=!1)}else if("s"!=f&&"n"!=f){if(o||l<=n)return!1;s=!1,l--}else{if(l<=n||p<f!=o)return!1;s=!1}else"s"!=f&&"n"!=f&&(s=!1,l--)}}var d=[],c=d.pop.bind(d);for(i=1;i<e.length;i++){var h=e[i];d.push(1==h?c()|c():2==h?c()&c():h?a(h,r):!c())}return!!c()},i=(e,r)=>{var t=e[r];return Object.keys(t).reduce(((e,r)=>!e||!t[e].loaded&&n(e,r)?r:e),0)},l=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+o(n)+")",s=(e,r,t,n)=>{var o=i(e,t);return p(e[t][o])},u=(e,r,t,n)=>{var o=i(e,t);return a(n,o)||"undefined"!=typeof console&&console.warn&&console.warn(l(e,t,o,n)),p(e[t][o])},p=e=>(e.loaded=1,e.get()),d=(f=e=>function(r,t,n,o){var a=b.I(r);return a&&a.then?a.then(e.bind(e,r,b.S[r],t,n,o)):e(r,b.S[r],t,n,o)})(((e,r,t,n)=>r&&b.o(r,t)?s(r,0,t):n())),c=f(((e,r,t,n,o)=>r&&b.o(r,t)?u(r,0,t,n):o())),h={},m={5776:()=>c("default","react",[1,18],(()=>b.e(735).then((()=>()=>b(2735))))),4610:()=>c("default","@openmrs/esm-framework",[0],(()=>b.e(889).then((()=>()=>b(4889))))),8478:()=>d("default","@openmrs/esm-framework/src/internal",(()=>b.e(889).then((()=>()=>b(4889))))),2680:()=>c("default","react-i18next",[1,11],(()=>b.e(242).then((()=>()=>b(6242))))),7743:()=>c("default","react-router-dom",[1,6],(()=>b.e(406).then((()=>()=>b(4406)))))},v={241:[7743],363:[4610,8478],680:[2680],776:[5776]},b.f.consumes=(e,r)=>{b.o(v,e)&&v[e].forEach((e=>{if(b.o(h,e))return r.push(h[e]);var t=r=>{h[e]=0,b.m[e]=t=>{delete b.c[e],t.exports=r()}},n=r=>{delete h[e],b.m[e]=t=>{throw delete b.c[e],r}};try{var o=m[e]();o.then?r.push(h[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}))},(()=>{var e={115:0};b.f.j=(r,t)=>{var n=b.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(680|776)$/.test(r))e[r]=0;else{var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var a=b.p+b.u(r),i=new Error;b.l(a,(t=>{if(b.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,i,l]=t,s=0;if(a.some((r=>0!==e[r]))){for(n in i)b.o(i,n)&&(b.m[n]=i[n]);l&&l(b)}for(r&&r(t);s<a.length;s++)o=a[s],b.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=globalThis.webpackChunk_openmrs_esm_primary_navigation_app=globalThis.webpackChunk_openmrs_esm_primary_navigation_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),b.nc=void 0;var w=b(7130);_openmrs_esm_primary_navigation_app=w})();
|
package/lib/index.html
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
13
13
|
<meta name="importmap-type" content="systemjs-importmap">
|
|
14
14
|
|
|
15
|
-
<script type="systemjs-importmap">{"imports":{"@openmrs/esm-implementer-tools-app":"./esm-implementer-tools-app/openmrs-esm-implementer-tools-app.js","@openmrs/esm-login-app":"./esm-login-app/openmrs-esm-login-app.js","@openmrs/esm-offline-tools-app":"./esm-offline-tools-app/openmrs-esm-offline-tools-app.js","@openmrs/esm-primary-navigation-app":"./esm-primary-navigation-app/openmrs-esm-primary-navigation-app.js"}}</script>
|
|
15
|
+
<script type="systemjs-importmap">{"imports":{"@openmrs/esm-devtools-app":"./esm-devtools-app/openmrs-esm-devtools-app.js","@openmrs/esm-implementer-tools-app":"./esm-implementer-tools-app/openmrs-esm-implementer-tools-app.js","@openmrs/esm-login-app":"./esm-login-app/openmrs-esm-login-app.js","@openmrs/esm-offline-tools-app":"./esm-offline-tools-app/openmrs-esm-offline-tools-app.js","@openmrs/esm-primary-navigation-app":"./esm-primary-navigation-app/openmrs-esm-primary-navigation-app.js"}}</script>
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|