@openmrs/esm-app-shell 4.4.2-pre.742 → 4.4.2-pre.759

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.
Files changed (38) hide show
  1. package/.turbo/turbo-build.log +103 -103
  2. package/dist/{8b8edb1f6ada2d43.js → 8a3c820bd8a5c087.js} +1 -1
  3. package/dist/{8b8edb1f6ada2d43.js.map → 8a3c820bd8a5c087.js.map} +1 -1
  4. package/dist/index.html +1 -1
  5. package/dist/{openmrs.8d388c8338652aa7.js → openmrs.d58a9da6f7fab247.js} +2 -2
  6. package/dist/{openmrs.8d388c8338652aa7.js.map → openmrs.d58a9da6f7fab247.js.map} +1 -1
  7. package/dist/service-worker.js +1 -1
  8. package/dist/service-worker.js.map +1 -1
  9. package/lib/esm-devtools-app/988.js +1 -1
  10. package/lib/esm-devtools-app/main.js +1 -1
  11. package/lib/esm-devtools-app/openmrs-esm-devtools-app.js +1 -1
  12. package/lib/esm-devtools-app/openmrs-esm-devtools-app.js.buildmanifest.json +3 -3
  13. package/lib/esm-devtools-app/openmrs-esm-devtools-app.old +1 -1
  14. package/lib/esm-implementer-tools-app/807.js +1 -1
  15. package/lib/esm-implementer-tools-app/main.js +1 -1
  16. package/lib/esm-implementer-tools-app/openmrs-esm-implementer-tools-app.js +1 -1
  17. package/lib/esm-implementer-tools-app/openmrs-esm-implementer-tools-app.js.buildmanifest.json +3 -3
  18. package/lib/esm-implementer-tools-app/openmrs-esm-implementer-tools-app.old +1 -1
  19. package/lib/esm-login-app/337.js +1 -1
  20. package/lib/esm-login-app/642.js +1 -1
  21. package/lib/esm-login-app/main.js +1 -1
  22. package/lib/esm-login-app/openmrs-esm-login-app.js +1 -1
  23. package/lib/esm-login-app/openmrs-esm-login-app.js.buildmanifest.json +4 -4
  24. package/lib/esm-login-app/openmrs-esm-login-app.old +1 -1
  25. package/lib/esm-offline-tools-app/264.js +1 -1
  26. package/lib/esm-offline-tools-app/main.js +1 -1
  27. package/lib/esm-offline-tools-app/openmrs-esm-offline-tools-app.js +1 -1
  28. package/lib/esm-offline-tools-app/openmrs-esm-offline-tools-app.js.buildmanifest.json +3 -3
  29. package/lib/esm-offline-tools-app/openmrs-esm-offline-tools-app.old +1 -1
  30. package/lib/esm-primary-navigation-app/363.js +1 -1
  31. package/lib/esm-primary-navigation-app/main.js +1 -1
  32. package/lib/esm-primary-navigation-app/openmrs-esm-primary-navigation-app.js +1 -1
  33. package/lib/esm-primary-navigation-app/openmrs-esm-primary-navigation-app.js.buildmanifest.json +3 -3
  34. package/lib/esm-primary-navigation-app/openmrs-esm-primary-navigation-app.old +1 -1
  35. package/lib/openmrs.js +5 -5
  36. package/lib/service-worker.js +1 -1
  37. package/package.json +4 -4
  38. /package/dist/{openmrs.8d388c8338652aa7.js.LICENSE.txt → openmrs.d58a9da6f7fab247.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- var _openmrs_esm_offline_tools_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 k,q,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M={9652:(b,c,d)=>{var f={"./start":()=>Promise.all([d.e(82),d.e(776),d.e(264)]).then(()=>()=>d(1888))},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),k={},q="@openmrs/esm-offline-tools-app:",j.l=(a,b,c)=>{if(k[a])k[a].push(b);else{var e,g;if(void 0!==c)for(var h,m=document.getElementsByTagName("script"),n=0;n<m.length;n++)if(h=m[n],h.getAttribute("src")==a||h.getAttribute("data-webpack")==q+c){e=h;break}e||(g=!0,(e=document.createElement("script")).charset="utf-8",e.timeout=120,j.nc&&e.setAttribute("nonce",j.nc),e.setAttribute("data-webpack",q+c),e.src=a),k[a]=[b];var o=(b,c)=>{e.onerror=e.onload=null,clearTimeout(p);var d=k[a];if(delete k[a],e.parentNode&&e.parentNode.removeChild(e),d&&d.forEach(a=>a(c)),b)return b(c)},p=setTimeout(o.bind(null,void 0,{type:"timeout",target:e}),12e4);e.onerror=o.bind(null,e.onerror),e.onload=o.bind(null,e.onload),g&&document.head.appendChild(e)}},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-offline-tools-app">f.from):!d))||(e[b]={get:c,from:"@openmrs/esm-offline-tools-app",eager:!!d})},h=[];return"default"===d&&(a("@openmrs/esm-framework","4.4.2-pre.742",()=>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(263),j.e(776)]).then(()=>()=>j(8263))),a("react-router-dom","6.4.2",()=>Promise.all([j.e(63),j.e(776)]).then(()=>()=>j(7063))),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})(),x=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},y=(b,c)=>{b=x(b),c=x(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=x(b);var e=a[0],g=0>e;g&&(e=-e-1);for(var j=0,k=1,m=!0;;k++,j++){var n,q,t=k<a.length?(typeof a[k])[0]:"";if(j>=b.length||"o"==(q=(typeof(n=b[j]))[0]))return!m||("u"==t?k>e&&!g:""==t!=g);if("u"==q){if(!m||"u"!=t)return!1;}else if(!m)"s"!=t&&"n"!=t&&(m=!1,k--);else if(t==q){if(!(k<=e)){if(g?n>a[k]:n<a[k])return!1;n!=a[k]&&(m=!1)}else if(n!=a[k])return!1;}else if("s"!=t&&"n"!=t){if(g||k<=e)return!1;m=!1,k--}else{if(k<=e||q<t!=g)return!1;m=!1}}}var v=[],d=v.pop.bind(v);for(j=1;j<a.length;j++){var c=a[j];v.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||!y(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))),1763:()=>I("default","react-router-dom",[1,6],()=>j.e(63).then(()=>()=>j(7063))),2680:()=>I("default","react-i18next",[1,11],()=>j.e(263).then(()=>()=>j(8263))),4610:()=>I("default","@openmrs/esm-framework",[0],()=>j.e(889).then(()=>()=>j(4889))),6551:()=>I("default","react-dom",[1,18],()=>j.e(788).then(()=>()=>j(2788))),8478:()=>H("default","@openmrs/esm-framework/src/internal",()=>j.e(889).then(()=>()=>j(4889)))},L={264:[1763,2680,4610,6551,8478],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={588: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(776!=c){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)}else b[c]=0};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_offline_tools_app=globalThis.webpackChunk_openmrs_esm_offline_tools_app||[];c.forEach(a.bind(null,0)),c.push=a.bind(null,c.push.bind(c))})(),j.nc=void 0;var b=j(9652);_openmrs_esm_offline_tools_app=b})();
1
+ var _openmrs_esm_offline_tools_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 k,q,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M={9652:(b,c,d)=>{var f={"./start":()=>Promise.all([d.e(82),d.e(776),d.e(264)]).then(()=>()=>d(1888))},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),k={},q="@openmrs/esm-offline-tools-app:",j.l=(a,b,c)=>{if(k[a])k[a].push(b);else{var e,g;if(void 0!==c)for(var h,m=document.getElementsByTagName("script"),n=0;n<m.length;n++)if(h=m[n],h.getAttribute("src")==a||h.getAttribute("data-webpack")==q+c){e=h;break}e||(g=!0,(e=document.createElement("script")).charset="utf-8",e.timeout=120,j.nc&&e.setAttribute("nonce",j.nc),e.setAttribute("data-webpack",q+c),e.src=a),k[a]=[b];var o=(b,c)=>{e.onerror=e.onload=null,clearTimeout(p);var d=k[a];if(delete k[a],e.parentNode&&e.parentNode.removeChild(e),d&&d.forEach(a=>a(c)),b)return b(c)},p=setTimeout(o.bind(null,void 0,{type:"timeout",target:e}),12e4);e.onerror=o.bind(null,e.onerror),e.onload=o.bind(null,e.onload),g&&document.head.appendChild(e)}},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-offline-tools-app">f.from):!d))||(e[b]={get:c,from:"@openmrs/esm-offline-tools-app",eager:!!d})},h=[];return"default"===d&&(a("@openmrs/esm-framework","4.4.2-pre.759",()=>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(263),j.e(776)]).then(()=>()=>j(8263))),a("react-router-dom","6.4.2",()=>Promise.all([j.e(63),j.e(776)]).then(()=>()=>j(7063))),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})(),x=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},y=(b,c)=>{b=x(b),c=x(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=x(b);var e=a[0],g=0>e;g&&(e=-e-1);for(var j=0,k=1,m=!0;;k++,j++){var n,q,t=k<a.length?(typeof a[k])[0]:"";if(j>=b.length||"o"==(q=(typeof(n=b[j]))[0]))return!m||("u"==t?k>e&&!g:""==t!=g);if("u"==q){if(!m||"u"!=t)return!1;}else if(!m)"s"!=t&&"n"!=t&&(m=!1,k--);else if(t==q){if(!(k<=e)){if(g?n>a[k]:n<a[k])return!1;n!=a[k]&&(m=!1)}else if(n!=a[k])return!1;}else if("s"!=t&&"n"!=t){if(g||k<=e)return!1;m=!1,k--}else{if(k<=e||q<t!=g)return!1;m=!1}}}var v=[],d=v.pop.bind(v);for(j=1;j<a.length;j++){var c=a[j];v.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||!y(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))),1763:()=>I("default","react-router-dom",[1,6],()=>j.e(63).then(()=>()=>j(7063))),2680:()=>I("default","react-i18next",[1,11],()=>j.e(263).then(()=>()=>j(8263))),4610:()=>I("default","@openmrs/esm-framework",[0],()=>j.e(889).then(()=>()=>j(4889))),6551:()=>I("default","react-dom",[1,18],()=>j.e(788).then(()=>()=>j(2788))),8478:()=>H("default","@openmrs/esm-framework/src/internal",()=>j.e(889).then(()=>()=>j(4889)))},L={264:[1763,2680,4610,6551,8478],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={588: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(776!=c){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)}else b[c]=0};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_offline_tools_app=globalThis.webpackChunk_openmrs_esm_offline_tools_app||[];c.forEach(a.bind(null,0)),c.push=a.bind(null,c.push.bind(c))})(),j.nc=void 0;var b=j(9652);_openmrs_esm_offline_tools_app=b})();
@@ -127,7 +127,7 @@
127
127
  "auxiliaryFiles": [
128
128
  "main.js.map"
129
129
  ],
130
- "hash": "1b2d4c1446fc4db6",
130
+ "hash": "03d74c809e72eb97",
131
131
  "childrenByOrder": {}
132
132
  },
133
133
  {
@@ -203,7 +203,7 @@
203
203
  "auxiliaryFiles": [
204
204
  "264.js.map"
205
205
  ],
206
- "hash": "f11e5192a6c2ce92",
206
+ "hash": "3c3ddad75a1e94d7",
207
207
  "childrenByOrder": {}
208
208
  },
209
209
  {
@@ -475,7 +475,7 @@
475
475
  "auxiliaryFiles": [
476
476
  "openmrs-esm-offline-tools-app.js.map"
477
477
  ],
478
- "hash": "207930b0a152e05b",
478
+ "hash": "cafd06a180c31a60",
479
479
  "childrenByOrder": {}
480
480
  },
481
481
  {
@@ -1 +1 @@
1
- var _openmrs_esm_offline_tools_app;(()=>{"use strict";var e,r,t,o,n,a,i,l,s,u,f,p,d,c,h,m,v,g={9652:(e,r,t)=>{var o={"./start":()=>Promise.all([t.e(82),t.e(776),t.e(264)]).then((()=>()=>t(1888)))},n=(e,r)=>(t.R=r,r=t.o(o,e)?o[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 o="default",n=t.S[o];if(n&&n!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[o]=e,t.I(o,r)}};t.d(r,{get:()=>n,init:()=>a})}},b={};function y(e){var r=b[e];if(void 0!==r)return r.exports;var t=b[e]={id:e,loaded:!1,exports:{}};return g[e].call(t.exports,t,t.exports,y),t.loaded=!0,t.exports}y.m=g,y.c=b,y.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return y.d(r,{a:r}),r},y.d=(e,r)=>{for(var t in r)y.o(r,t)&&!y.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},y.f={},y.e=e=>Promise.all(Object.keys(y.f).reduce(((r,t)=>(y.f[t](e,r),r)),[])),y.u=e=>e+".js",y.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),y.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@openmrs/esm-offline-tools-app:",y.l=(t,o,n,a)=>{if(e[t])e[t].push(o);else{var i,l;if(void 0!==n)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var f=s[u];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==r+n){i=f;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,y.nc&&i.setAttribute("nonce",y.nc),i.setAttribute("data-webpack",r+n),i.src=t),e[t]=[o];var p=(r,o)=>{i.onerror=i.onload=null,clearTimeout(d);var n=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach((e=>e(o))),r)return r(o)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),l&&document.head.appendChild(i)}},y.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},y.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{y.S={};var e={},r={};y.I=(t,o)=>{o||(o=[]);var n=r[t];if(n||(n=r[t]={}),!(o.indexOf(n)>=0)){if(o.push(n),e[t])return e[t];y.o(y.S,t)||(y.S[t]={});var a=y.S[t],i="@openmrs/esm-offline-tools-app",l=(e,r,t,o)=>{var n=a[e]=a[e]||{},l=n[r];(!l||!l.loaded&&(!o!=!l.eager?o:i>l.from))&&(n[r]={get:t,from:i,eager:!!o})},s=[];return"default"===t&&(l("@openmrs/esm-framework","4.4.2-pre.742",(()=>Promise.all([y.e(776),y.e(889)]).then((()=>()=>y(4889))))),l("react-dom","18.2.0",(()=>Promise.all([y.e(788),y.e(776)]).then((()=>()=>y(2788))))),l("react-i18next","11.18.6",(()=>Promise.all([y.e(263),y.e(776)]).then((()=>()=>y(8263))))),l("react-router-dom","6.4.2",(()=>Promise.all([y.e(63),y.e(776)]).then((()=>()=>y(7063))))),l("react","18.2.0",(()=>y.e(735).then((()=>()=>y(2735)))))),e[t]=s.length?Promise.all(s).then((()=>e[t]=1)):1}}})(),(()=>{var e;y.g.importScripts&&(e=y.g.location+"");var r=y.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(/\/[^\/]+$/,"/"),y.p=e})(),t=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),o=t[1]?r(t[1]):[];return t[2]&&(o.length++,o.push.apply(o,r(t[2]))),t[3]&&(o.push([]),o.push.apply(o,r(t[3]))),o},o=(e,r)=>{e=t(e),r=t(r);for(var o=0;;){if(o>=e.length)return o<r.length&&"u"!=(typeof r[o])[0];var n=e[o],a=(typeof n)[0];if(o>=r.length)return"u"==a;var i=r[o],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"u"==a;if("o"!=a&&"u"!=a&&n!=i)return n<i;o++}},n=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 o=1,a=1;a<e.length;a++)o--,t+="u"==(typeof(l=e[a]))[0]?"-":(o>0?".":"")+(o=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():n(l))}return s();function s(){return i.pop().replace(/^\((.+)\)$/,"$1")}},a=(e,r)=>{if(0 in e){r=t(r);var o=e[0],n=o<0;n&&(o=-o-1);for(var i=0,l=1,s=!0;;l++,i++){var u,f,p=l<e.length?(typeof e[l])[0]:"";if(i>=r.length||"o"==(f=(typeof(u=r[i]))[0]))return!s||("u"==p?l>o&&!n:""==p!=n);if("u"==f){if(!s||"u"!=p)return!1}else if(s)if(p==f)if(l<=o){if(u!=e[l])return!1}else{if(n?u>e[l]:u<e[l])return!1;u!=e[l]&&(s=!1)}else if("s"!=p&&"n"!=p){if(n||l<=o)return!1;s=!1,l--}else{if(l<=o||f<p!=n)return!1;s=!1}else"s"!=p&&"n"!=p&&(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&&o(e,r)?r:e),0)},l=(e,r,t,o)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+n(o)+")",s=(e,r,t,o)=>{var n=i(e,t);return f(e[t][n])},u=(e,r,t,o)=>{var n=i(e,t);return a(o,n)||"undefined"!=typeof console&&console.warn&&console.warn(l(e,t,n,o)),f(e[t][n])},f=e=>(e.loaded=1,e.get()),d=(p=e=>function(r,t,o,n){var a=y.I(r);return a&&a.then?a.then(e.bind(e,r,y.S[r],t,o,n)):e(r,y.S[r],t,o,n)})(((e,r,t,o)=>r&&y.o(r,t)?s(r,0,t):o())),c=p(((e,r,t,o,n)=>r&&y.o(r,t)?u(r,0,t,o):n())),h={},m={5776:()=>c("default","react",[1,18],(()=>y.e(735).then((()=>()=>y(2735))))),1763:()=>c("default","react-router-dom",[1,6],(()=>y.e(63).then((()=>()=>y(7063))))),2680:()=>c("default","react-i18next",[1,11],(()=>y.e(263).then((()=>()=>y(8263))))),4610:()=>c("default","@openmrs/esm-framework",[0],(()=>y.e(889).then((()=>()=>y(4889))))),6551:()=>c("default","react-dom",[1,18],(()=>y.e(788).then((()=>()=>y(2788))))),8478:()=>d("default","@openmrs/esm-framework/src/internal",(()=>y.e(889).then((()=>()=>y(4889)))))},v={264:[1763,2680,4610,6551,8478],776:[5776]},y.f.consumes=(e,r)=>{y.o(v,e)&&v[e].forEach((e=>{if(y.o(h,e))return r.push(h[e]);var t=r=>{h[e]=0,y.m[e]=t=>{delete y.c[e],t.exports=r()}},o=r=>{delete h[e],y.m[e]=t=>{throw delete y.c[e],r}};try{var n=m[e]();n.then?r.push(h[e]=n.then(t).catch(o)):t(n)}catch(e){o(e)}}))},(()=>{var e={588:0};y.f.j=(r,t)=>{var o=y.o(e,r)?e[r]:void 0;if(0!==o)if(o)t.push(o[2]);else if(776!=r){var n=new Promise(((t,n)=>o=e[r]=[t,n]));t.push(o[2]=n);var a=y.p+y.u(r),i=new Error;y.l(a,(t=>{if(y.o(e,r)&&(0!==(o=e[r])&&(e[r]=void 0),o)){var n=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+n+": "+a+")",i.name="ChunkLoadError",i.type=n,i.request=a,o[1](i)}}),"chunk-"+r,r)}else e[r]=0};var r=(r,t)=>{var o,n,[a,i,l]=t,s=0;if(a.some((r=>0!==e[r]))){for(o in i)y.o(i,o)&&(y.m[o]=i[o]);l&&l(y)}for(r&&r(t);s<a.length;s++)n=a[s],y.o(e,n)&&e[n]&&e[n][0](),e[n]=0},t=globalThis.webpackChunk_openmrs_esm_offline_tools_app=globalThis.webpackChunk_openmrs_esm_offline_tools_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),y.nc=void 0;var w=y(9652);_openmrs_esm_offline_tools_app=w})();
1
+ var _openmrs_esm_offline_tools_app;(()=>{"use strict";var e,r,t,o,n,a,i,l,s,u,f,p,d,c,h,m,v,g={9652:(e,r,t)=>{var o={"./start":()=>Promise.all([t.e(82),t.e(776),t.e(264)]).then((()=>()=>t(1888)))},n=(e,r)=>(t.R=r,r=t.o(o,e)?o[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 o="default",n=t.S[o];if(n&&n!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[o]=e,t.I(o,r)}};t.d(r,{get:()=>n,init:()=>a})}},b={};function y(e){var r=b[e];if(void 0!==r)return r.exports;var t=b[e]={id:e,loaded:!1,exports:{}};return g[e].call(t.exports,t,t.exports,y),t.loaded=!0,t.exports}y.m=g,y.c=b,y.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return y.d(r,{a:r}),r},y.d=(e,r)=>{for(var t in r)y.o(r,t)&&!y.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},y.f={},y.e=e=>Promise.all(Object.keys(y.f).reduce(((r,t)=>(y.f[t](e,r),r)),[])),y.u=e=>e+".js",y.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),y.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@openmrs/esm-offline-tools-app:",y.l=(t,o,n,a)=>{if(e[t])e[t].push(o);else{var i,l;if(void 0!==n)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var f=s[u];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==r+n){i=f;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,y.nc&&i.setAttribute("nonce",y.nc),i.setAttribute("data-webpack",r+n),i.src=t),e[t]=[o];var p=(r,o)=>{i.onerror=i.onload=null,clearTimeout(d);var n=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach((e=>e(o))),r)return r(o)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),l&&document.head.appendChild(i)}},y.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},y.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{y.S={};var e={},r={};y.I=(t,o)=>{o||(o=[]);var n=r[t];if(n||(n=r[t]={}),!(o.indexOf(n)>=0)){if(o.push(n),e[t])return e[t];y.o(y.S,t)||(y.S[t]={});var a=y.S[t],i="@openmrs/esm-offline-tools-app",l=(e,r,t,o)=>{var n=a[e]=a[e]||{},l=n[r];(!l||!l.loaded&&(!o!=!l.eager?o:i>l.from))&&(n[r]={get:t,from:i,eager:!!o})},s=[];return"default"===t&&(l("@openmrs/esm-framework","4.4.2-pre.759",(()=>Promise.all([y.e(776),y.e(889)]).then((()=>()=>y(4889))))),l("react-dom","18.2.0",(()=>Promise.all([y.e(788),y.e(776)]).then((()=>()=>y(2788))))),l("react-i18next","11.18.6",(()=>Promise.all([y.e(263),y.e(776)]).then((()=>()=>y(8263))))),l("react-router-dom","6.4.2",(()=>Promise.all([y.e(63),y.e(776)]).then((()=>()=>y(7063))))),l("react","18.2.0",(()=>y.e(735).then((()=>()=>y(2735)))))),e[t]=s.length?Promise.all(s).then((()=>e[t]=1)):1}}})(),(()=>{var e;y.g.importScripts&&(e=y.g.location+"");var r=y.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(/\/[^\/]+$/,"/"),y.p=e})(),t=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),o=t[1]?r(t[1]):[];return t[2]&&(o.length++,o.push.apply(o,r(t[2]))),t[3]&&(o.push([]),o.push.apply(o,r(t[3]))),o},o=(e,r)=>{e=t(e),r=t(r);for(var o=0;;){if(o>=e.length)return o<r.length&&"u"!=(typeof r[o])[0];var n=e[o],a=(typeof n)[0];if(o>=r.length)return"u"==a;var i=r[o],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"u"==a;if("o"!=a&&"u"!=a&&n!=i)return n<i;o++}},n=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 o=1,a=1;a<e.length;a++)o--,t+="u"==(typeof(l=e[a]))[0]?"-":(o>0?".":"")+(o=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():n(l))}return s();function s(){return i.pop().replace(/^\((.+)\)$/,"$1")}},a=(e,r)=>{if(0 in e){r=t(r);var o=e[0],n=o<0;n&&(o=-o-1);for(var i=0,l=1,s=!0;;l++,i++){var u,f,p=l<e.length?(typeof e[l])[0]:"";if(i>=r.length||"o"==(f=(typeof(u=r[i]))[0]))return!s||("u"==p?l>o&&!n:""==p!=n);if("u"==f){if(!s||"u"!=p)return!1}else if(s)if(p==f)if(l<=o){if(u!=e[l])return!1}else{if(n?u>e[l]:u<e[l])return!1;u!=e[l]&&(s=!1)}else if("s"!=p&&"n"!=p){if(n||l<=o)return!1;s=!1,l--}else{if(l<=o||f<p!=n)return!1;s=!1}else"s"!=p&&"n"!=p&&(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&&o(e,r)?r:e),0)},l=(e,r,t,o)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+n(o)+")",s=(e,r,t,o)=>{var n=i(e,t);return f(e[t][n])},u=(e,r,t,o)=>{var n=i(e,t);return a(o,n)||"undefined"!=typeof console&&console.warn&&console.warn(l(e,t,n,o)),f(e[t][n])},f=e=>(e.loaded=1,e.get()),d=(p=e=>function(r,t,o,n){var a=y.I(r);return a&&a.then?a.then(e.bind(e,r,y.S[r],t,o,n)):e(r,y.S[r],t,o,n)})(((e,r,t,o)=>r&&y.o(r,t)?s(r,0,t):o())),c=p(((e,r,t,o,n)=>r&&y.o(r,t)?u(r,0,t,o):n())),h={},m={5776:()=>c("default","react",[1,18],(()=>y.e(735).then((()=>()=>y(2735))))),1763:()=>c("default","react-router-dom",[1,6],(()=>y.e(63).then((()=>()=>y(7063))))),2680:()=>c("default","react-i18next",[1,11],(()=>y.e(263).then((()=>()=>y(8263))))),4610:()=>c("default","@openmrs/esm-framework",[0],(()=>y.e(889).then((()=>()=>y(4889))))),6551:()=>c("default","react-dom",[1,18],(()=>y.e(788).then((()=>()=>y(2788))))),8478:()=>d("default","@openmrs/esm-framework/src/internal",(()=>y.e(889).then((()=>()=>y(4889)))))},v={264:[1763,2680,4610,6551,8478],776:[5776]},y.f.consumes=(e,r)=>{y.o(v,e)&&v[e].forEach((e=>{if(y.o(h,e))return r.push(h[e]);var t=r=>{h[e]=0,y.m[e]=t=>{delete y.c[e],t.exports=r()}},o=r=>{delete h[e],y.m[e]=t=>{throw delete y.c[e],r}};try{var n=m[e]();n.then?r.push(h[e]=n.then(t).catch(o)):t(n)}catch(e){o(e)}}))},(()=>{var e={588:0};y.f.j=(r,t)=>{var o=y.o(e,r)?e[r]:void 0;if(0!==o)if(o)t.push(o[2]);else if(776!=r){var n=new Promise(((t,n)=>o=e[r]=[t,n]));t.push(o[2]=n);var a=y.p+y.u(r),i=new Error;y.l(a,(t=>{if(y.o(e,r)&&(0!==(o=e[r])&&(e[r]=void 0),o)){var n=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+n+": "+a+")",i.name="ChunkLoadError",i.type=n,i.request=a,o[1](i)}}),"chunk-"+r,r)}else e[r]=0};var r=(r,t)=>{var o,n,[a,i,l]=t,s=0;if(a.some((r=>0!==e[r]))){for(o in i)y.o(i,o)&&(y.m[o]=i[o]);l&&l(y)}for(r&&r(t);s<a.length;s++)n=a[s],y.o(e,n)&&e[n]&&e[n][0](),e[n]=0},t=globalThis.webpackChunk_openmrs_esm_offline_tools_app=globalThis.webpackChunk_openmrs_esm_offline_tools_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),y.nc=void 0;var w=y(9652);_openmrs_esm_offline_tools_app=w})();
@@ -1 +1 @@
1
- (globalThis.webpackChunk_openmrs_esm_primary_navigation_app=globalThis.webpackChunk_openmrs_esm_primary_navigation_app||[]).push([[363],{6639:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>l,genericLinkConfigSchema:()=>a});var r=t(5776),o=t.n(r),i=t(4610),a={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 l(){var e=(0,i.useConfig)();return o().createElement(i.ConfigurableLink,{to:e.target},e.title)}},1217:(e,n,t)=>{"use strict";t.d(n,{O:()=>r,e:()=>o});var r="user-property-change",o="@openmrs/esm-primary-navigation-app"},2363:(e,n,t)=>{"use strict";t.r(n),t.d(n,{backendDependencies:()=>x,importTranslation:()=>P,setupOpenMRS:()=>C,version:()=>O});var r=t(4610),o=t(8478),i=t(1217);function a(e,n,t,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void t(e)}l.done?n(s):Promise.resolve(s).then(r,o)}function l(e){return function(){var n=this,t=arguments;return new Promise((function(r,o){var i=e.apply(n,t);function l(e){a(i,r,o,l,s,"next",e)}function s(e){a(i,r,o,l,s,"throw",e)}l(void 0)}))}}var s=function(e,n){var t,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(t)throw new TypeError("Generator is already executing.");for(;a;)try{if(t=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=n.call(e,a)}catch(e){i=[6,e],r=0}finally{t=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}};function u(e,n,t){return c.apply(this,arguments)}function c(){return(c=l((function(e,n,t){return s(this,(function(r){switch(r.label){case 0:return[4,(0,o.openmrsFetch)("/ws/rest/v1/user/".concat(e),{method:"POST",body:{userProperties:n},headers:{"Content-Type":"application/json"},signal:t.signal})];case 1:return r.sent(),window.location.reload(),[2]}}))}))).apply(this,arguments)}function p(e,n){return f.apply(this,arguments)}function f(){return(f=l((function(e,n){return s(this,(function(t){switch(t.label){case 0:return[4,(0,o.openmrsFetch)("/ws/rest/v1/session",{method:"POST",body:{locale:e},headers:{"Content-Type":"application/json"},signal:n.signal})];case 1:return t.sent(),[2]}}))}))).apply(this,arguments)}function y(e,n){return(0,o.queueSynchronizationItemFor)(e,i.O,n,{displayName:"User Language Change"})}var d={logo:{src:{_type:r.Type.String,_default:null,_description:"A path or URL to an image. Defaults to the OpenMRS SVG sprite."},alt:{_type:r.Type.String,_default:"Logo",_description:"Alt text, shown on hover"},name:{_type:r.Type.String,_default:null,_description:"The organization name displayed when image is absent"}},externalRefLinks:{_type:r.Type.Array,_elements:{title:{_type:r.Type.String,_description:"Title of the link"},redirect:{_type:r.Type.String,_description:"Link to redirect to (must be an external link)",_validators:[r.validators.isUrl]}},_default:[],_description:"The external links to be showcased in the app menu"}};function h(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function m(e,n,t,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void t(e)}l.done?n(s):Promise.resolve(s).then(r,o)}function b(e){return function(){var n=this,t=arguments;return new Promise((function(r,o){var i=e.apply(n,t);function a(e){m(i,r,o,a,l,"next",e)}function l(e){m(i,r,o,a,l,"throw",e)}a(void 0)}))}}function v(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i=[],a=!0,l=!1;try{for(t=t.call(e);!(a=(r=t.next()).done)&&(i.push(r.value),!n||i.length!==n);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==t.return||t.return()}finally{if(l)throw o}}return i}}(e,n)||w(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||w(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,n){if(e){if("string"==typeof e)return h(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?h(e,n):void 0}}var _=function(e,n){var t,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(t)throw new TypeError("Generator is already executing.");for(;a;)try{if(t=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=n.call(e,a)}catch(e){i=[6,e],r=0}finally{t=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}};function S(e,n){return k.apply(this,arguments)}function k(){return k=b((function(e,n){var t,r,i,a;return _(this,(function(e){switch(e.label){case 0:return 0!==n.index?[3,3]:[4,(0,o.getLoggedInUser)()];case 1:return r=e.sent(),i=n.items.map((function(e){var n=v(e,2);return n[0],n[1]})),a=(t=Object).assign.apply(t,[{},r.userProperties].concat(g(i))),[4,u(r.uuid,a,n.abort)];case 2:e.sent(),(0,o.refetchCurrentUser)(),e.label=3;case 3:return[2]}}))})),k.apply(this,arguments)}var T=t(3710),L=t(6639),O="4.4.2-pre.742",P=t(3979),x={"webservices.rest":"^2.2.0"},A={featureName:"primary navigation",moduleName:i.e};function C(){return(0,r.defineConfigSchema)(i.e,d),(0,r.defineExtensionConfigSchema)("link",L.genericLinkConfigSchema),(0,r.setupOfflineSync)(i.O,[],S),{pages:[{load:(0,r.getAsyncLifecycle)((function(){return Promise.all([t.e(113),t.e(414),t.e(631),t.e(680),t.e(241)]).then(t.bind(t,6241))}),A),route:function(e){return!e.pathname.startsWith(window.getOpenmrsSpaBase()+"login")},online:!0,offline:!0,order:0},{load:{bootstrap:function(){return Promise.resolve((0,T.UO)(window.getOpenmrsSpaBase()+"home"))},mount:function(){return Promise.resolve()},unmount:function(){return Promise.resolve()}},route:function(e){return e.pathname===window.getOpenmrsSpaBase()},order:0}],extensions:[{name:"default-user-panel",slot:"user-panel-slot",order:0,load:(0,r.getAsyncLifecycle)((function(){return Promise.all([t.e(113),t.e(414),t.e(716)]).then(t.bind(t,9716))}),A),online:!0,offline:!0},{name:"change-locale",slot:"user-panel-slot",order:1,load:(0,r.getAsyncLifecycle)((function(){return Promise.all([t.e(113),t.e(680),t.e(743)]).then(t.bind(t,2743))}),A),online:{postUserProperties:u,postSessionLocale:p},offline:{postUserProperties:y,postSessionLocale:function(){return Promise.resolve({})}}},{name:"link",load:(0,r.getAsyncLifecycle)((function(){return Promise.resolve().then(t.bind(t,6639))}),{featureName:"Link",moduleName:i.e})}]}}},3979:(e,n,t)=>{var r={"./en.json":[3574,574],"./fr.json":[2757,757],"./he.json":[5833,833]};function o(e){if(!t.o(r,e))return Promise.resolve().then((()=>{var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=r[e],o=n[0];return t.e(n[1]).then((()=>t(o)))}o.keys=()=>Object.keys(r),o.id=3979,e.exports=o}}]);
1
+ (globalThis.webpackChunk_openmrs_esm_primary_navigation_app=globalThis.webpackChunk_openmrs_esm_primary_navigation_app||[]).push([[363],{6639:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>l,genericLinkConfigSchema:()=>a});var r=t(5776),o=t.n(r),i=t(4610),a={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 l(){var e=(0,i.useConfig)();return o().createElement(i.ConfigurableLink,{to:e.target},e.title)}},1217:(e,n,t)=>{"use strict";t.d(n,{O:()=>r,e:()=>o});var r="user-property-change",o="@openmrs/esm-primary-navigation-app"},2363:(e,n,t)=>{"use strict";t.r(n),t.d(n,{backendDependencies:()=>x,importTranslation:()=>P,setupOpenMRS:()=>C,version:()=>O});var r=t(4610),o=t(8478),i=t(1217);function a(e,n,t,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void t(e)}l.done?n(s):Promise.resolve(s).then(r,o)}function l(e){return function(){var n=this,t=arguments;return new Promise((function(r,o){var i=e.apply(n,t);function l(e){a(i,r,o,l,s,"next",e)}function s(e){a(i,r,o,l,s,"throw",e)}l(void 0)}))}}var s=function(e,n){var t,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(t)throw new TypeError("Generator is already executing.");for(;a;)try{if(t=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=n.call(e,a)}catch(e){i=[6,e],r=0}finally{t=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}};function u(e,n,t){return c.apply(this,arguments)}function c(){return(c=l((function(e,n,t){return s(this,(function(r){switch(r.label){case 0:return[4,(0,o.openmrsFetch)("/ws/rest/v1/user/".concat(e),{method:"POST",body:{userProperties:n},headers:{"Content-Type":"application/json"},signal:t.signal})];case 1:return r.sent(),window.location.reload(),[2]}}))}))).apply(this,arguments)}function p(e,n){return f.apply(this,arguments)}function f(){return(f=l((function(e,n){return s(this,(function(t){switch(t.label){case 0:return[4,(0,o.openmrsFetch)("/ws/rest/v1/session",{method:"POST",body:{locale:e},headers:{"Content-Type":"application/json"},signal:n.signal})];case 1:return t.sent(),[2]}}))}))).apply(this,arguments)}function y(e,n){return(0,o.queueSynchronizationItemFor)(e,i.O,n,{displayName:"User Language Change"})}var d={logo:{src:{_type:r.Type.String,_default:null,_description:"A path or URL to an image. Defaults to the OpenMRS SVG sprite."},alt:{_type:r.Type.String,_default:"Logo",_description:"Alt text, shown on hover"},name:{_type:r.Type.String,_default:null,_description:"The organization name displayed when image is absent"}},externalRefLinks:{_type:r.Type.Array,_elements:{title:{_type:r.Type.String,_description:"Title of the link"},redirect:{_type:r.Type.String,_description:"Link to redirect to (must be an external link)",_validators:[r.validators.isUrl]}},_default:[],_description:"The external links to be showcased in the app menu"}};function h(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function m(e,n,t,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void t(e)}l.done?n(s):Promise.resolve(s).then(r,o)}function b(e){return function(){var n=this,t=arguments;return new Promise((function(r,o){var i=e.apply(n,t);function a(e){m(i,r,o,a,l,"next",e)}function l(e){m(i,r,o,a,l,"throw",e)}a(void 0)}))}}function v(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i=[],a=!0,l=!1;try{for(t=t.call(e);!(a=(r=t.next()).done)&&(i.push(r.value),!n||i.length!==n);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==t.return||t.return()}finally{if(l)throw o}}return i}}(e,n)||w(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||w(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,n){if(e){if("string"==typeof e)return h(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?h(e,n):void 0}}var _=function(e,n){var t,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(t)throw new TypeError("Generator is already executing.");for(;a;)try{if(t=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=n.call(e,a)}catch(e){i=[6,e],r=0}finally{t=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}};function S(e,n){return k.apply(this,arguments)}function k(){return k=b((function(e,n){var t,r,i,a;return _(this,(function(e){switch(e.label){case 0:return 0!==n.index?[3,3]:[4,(0,o.getLoggedInUser)()];case 1:return r=e.sent(),i=n.items.map((function(e){var n=v(e,2);return n[0],n[1]})),a=(t=Object).assign.apply(t,[{},r.userProperties].concat(g(i))),[4,u(r.uuid,a,n.abort)];case 2:e.sent(),(0,o.refetchCurrentUser)(),e.label=3;case 3:return[2]}}))})),k.apply(this,arguments)}var T=t(3710),L=t(6639),O="4.4.2-pre.759",P=t(3979),x={"webservices.rest":"^2.2.0"},A={featureName:"primary navigation",moduleName:i.e};function C(){return(0,r.defineConfigSchema)(i.e,d),(0,r.defineExtensionConfigSchema)("link",L.genericLinkConfigSchema),(0,r.setupOfflineSync)(i.O,[],S),{pages:[{load:(0,r.getAsyncLifecycle)((function(){return Promise.all([t.e(113),t.e(414),t.e(631),t.e(680),t.e(241)]).then(t.bind(t,6241))}),A),route:function(e){return!e.pathname.startsWith(window.getOpenmrsSpaBase()+"login")},online:!0,offline:!0,order:0},{load:{bootstrap:function(){return Promise.resolve((0,T.UO)(window.getOpenmrsSpaBase()+"home"))},mount:function(){return Promise.resolve()},unmount:function(){return Promise.resolve()}},route:function(e){return e.pathname===window.getOpenmrsSpaBase()},order:0}],extensions:[{name:"default-user-panel",slot:"user-panel-slot",order:0,load:(0,r.getAsyncLifecycle)((function(){return Promise.all([t.e(113),t.e(414),t.e(716)]).then(t.bind(t,9716))}),A),online:!0,offline:!0},{name:"change-locale",slot:"user-panel-slot",order:1,load:(0,r.getAsyncLifecycle)((function(){return Promise.all([t.e(113),t.e(680),t.e(743)]).then(t.bind(t,2743))}),A),online:{postUserProperties:u,postSessionLocale:p},offline:{postUserProperties:y,postSessionLocale:function(){return Promise.resolve({})}}},{name:"link",load:(0,r.getAsyncLifecycle)((function(){return Promise.resolve().then(t.bind(t,6639))}),{featureName:"Link",moduleName:i.e})}]}}},3979:(e,n,t)=>{var r={"./en.json":[3574,574],"./fr.json":[2757,757],"./he.json":[5833,833]};function o(e){if(!t.o(r,e))return Promise.resolve().then((()=>{var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=r[e],o=n[0];return t.e(n[1]).then((()=>t(o)))}o.keys=()=>Object.keys(r),o.id=3979,e.exports=o}}]);
@@ -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.4.2-pre.742",(()=>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.4.2-pre.759",(()=>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.4.2-pre.742",()=>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})();
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.4.2-pre.759",()=>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})();
@@ -51,7 +51,7 @@
51
51
  "auxiliaryFiles": [
52
52
  "openmrs-esm-primary-navigation-app.js.map"
53
53
  ],
54
- "hash": "56c4d3c97a99384c",
54
+ "hash": "e1678091604a99f7",
55
55
  "childrenByOrder": {}
56
56
  },
57
57
  {
@@ -79,7 +79,7 @@
79
79
  "auxiliaryFiles": [
80
80
  "main.js.map"
81
81
  ],
82
- "hash": "5ecf43de8b02370d",
82
+ "hash": "2dc403b747ad3e80",
83
83
  "childrenByOrder": {}
84
84
  },
85
85
  {
@@ -179,7 +179,7 @@
179
179
  "auxiliaryFiles": [
180
180
  "363.js.map"
181
181
  ],
182
- "hash": "7fae6fab097cd0e5",
182
+ "hash": "1e48ce3c65c62951",
183
183
  "childrenByOrder": {}
184
184
  },
185
185
  {
@@ -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.4.2-pre.742",(()=>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})();
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.4.2-pre.759",(()=>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})();