@openmrs/esm-primary-navigation-app 4.0.3-pre.371 → 4.0.3-pre.389

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.
@@ -1,4 +1,4 @@
1
- @openmrs/esm-primary-navigation-app:build: cache hit, replaying output 9353a1c0882d500e
1
+ @openmrs/esm-primary-navigation-app:build: cache hit, replaying output b590942dfc4946d3
2
2
  @openmrs/esm-primary-navigation-app:build: assets by chunk 230 KiB (id hint: vendors)
3
3
  @openmrs/esm-primary-navigation-app:build:  asset 788.js 130 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
4
4
  @openmrs/esm-primary-navigation-app:build:  asset 483.js 37.8 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
@@ -14,7 +14,7 @@
14
14
  @openmrs/esm-primary-navigation-app:build:  modules by path ../../ 2.42 MiB 43 modules
15
15
  @openmrs/esm-primary-navigation-app:build:  modules by path ./ 183 KiB 18 modules
16
16
  @openmrs/esm-primary-navigation-app:build:  provide-module modules 210 bytes
17
- @openmrs/esm-primary-navigation-app:build:  provide shared module (default) @openmrs/esm-framework/src/internal@4.0.3-pre.371 = ../../framework/esm-framework/src/internal.ts 42 bytes [built] [code generated]
17
+ @openmrs/esm-primary-navigation-app:build:  provide shared module (default) @openmrs/esm-framework/src/internal@4.0.3-pre.389 = ../../framework/esm-framework/src/internal.ts 42 bytes [built] [code generated]
18
18
  @openmrs/esm-primary-navigation-app:build:  + 4 modules
19
19
  @openmrs/esm-primary-navigation-app:build:  consume-shared-module modules 210 bytes
20
20
  @openmrs/esm-primary-navigation-app:build:  modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
@@ -27,4 +27,4 @@
27
27
  @openmrs/esm-primary-navigation-app:build: Assets:
28
28
  @openmrs/esm-primary-navigation-app:build:  889.js (419 KiB)
29
29
  @openmrs/esm-primary-navigation-app:build: 
30
- @openmrs/esm-primary-navigation-app:build: webpack 5.74.0 compiled with 1 warning in 93773 ms
30
+ @openmrs/esm-primary-navigation-app:build: webpack 5.74.0 compiled with 1 warning in 83461 ms
package/dist/789.js CHANGED
@@ -1 +1 @@
1
- (self.webpackChunk_openmrs_esm_primary_navigation_app=self.webpackChunk_openmrs_esm_primary_navigation_app||[]).push([[789],{6639:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>a,genericLinkConfigSchema:()=>u});var r=e(5776),o=e.n(r),i=e(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,n,e)=>{"use strict";e.d(n,{O:()=>r,e:()=>o});var r="user-property-change",o="@openmrs/esm-primary-navigation-app"},789:(t,n,e)=>{"use strict";e.r(n),e.d(n,{backendDependencies:()=>fn,importTranslation:()=>ln,setupOpenMRS:()=>hn,version:()=>cn});var r=e(4610),o=e(8478),i=e(1217);function u(t,n,e,r,o,i,u){try{var a=t[i](u),s=a.value}catch(t){return void e(t)}a.done?n(s):Promise.resolve(s).then(r,o)}function a(t){return function(){var n=this,e=arguments;return new Promise((function(r,o){var i=t.apply(n,e);function a(t){u(i,r,o,a,s,"next",t)}function s(t){u(i,r,o,a,s,"throw",t)}a(void 0)}))}}var s=function(t,n){var e,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;u;)try{if(e=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 u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!((o=(o=u.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=n.call(t,u)}catch(t){i=[6,t],r=0}finally{e=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}};function c(t,n,e){return l.apply(this,arguments)}function l(){return(l=a((function(t,n,e){var r,i;return s(this,(function(u){switch(u.label){case 0:return[4,(0,o.getSessionLocation)()];case 1:return r=u.sent(),i=null==r?void 0:r.uuid,[4,(0,o.openmrsFetch)("/ws/rest/v1/user/".concat(t),{method:"POST",body:{userProperties:n},headers:{"Content-Type":"application/json"},signal:e.signal})];case 2:return u.sent(),i?[4,(0,o.setSessionLocation)(i,e)]:[3,4];case 3:u.sent(),u.label=4;case 4:return[2]}}))}))).apply(this,arguments)}function f(t,n){return(0,o.queueSynchronizationItemFor)(t,i.O,n,{displayName:"User Language Change"})}var p={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(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function m(t,n,e,r,o,i,u){try{var a=t[i](u),s=a.value}catch(t){return void e(t)}a.done?n(s):Promise.resolve(s).then(r,o)}function d(t){return function(){var n=this,e=arguments;return new Promise((function(r,o){var i=t.apply(n,e);function u(t){m(i,r,o,u,a,"next",t)}function a(t){m(i,r,o,u,a,"throw",t)}u(void 0)}))}}function v(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,o,i=[],u=!0,a=!1;try{for(e=e.call(t);!(u=(r=e.next()).done)&&(i.push(r.value),!n||i.length!==n);u=!0);}catch(t){a=!0,o=t}finally{try{u||null==e.return||e.return()}finally{if(a)throw o}}return i}}(t,n)||y(t,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 w(t){return function(t){if(Array.isArray(t))return h(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||y(t)||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 y(t,n){if(t){if("string"==typeof t)return h(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(e):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?h(t,n):void 0}}var g=function(t,n){var e,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;u;)try{if(e=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 u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!((o=(o=u.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=n.call(t,u)}catch(t){i=[6,t],r=0}finally{e=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}};function b(t,n){return E.apply(this,arguments)}function E(){return E=d((function(t,n){var e,r,i,u;return g(this,(function(t){switch(t.label){case 0:return 0!==n.index?[3,3]:[4,(0,o.getLoggedInUser)()];case 1:return r=t.sent(),i=n.items.map((function(t){var n=v(t,2);return n[0],n[1]})),u=(e=Object).assign.apply(e,[{},r.userProperties].concat(w(i))),[4,c(r.uuid,u,n.abort)];case 2:t.sent(),(0,o.refetchCurrentUser)(),t.label=3;case 3:return[2]}}))})),E.apply(this,arguments)}var P=Object.freeze({__proto__:null,get start(){return on},get ensureJQuerySupport(){return kt},get setBootstrapMaxTime(){return pt},get setMountMaxTime(){return ht},get setUnmountMaxTime(){return mt},get setUnloadMaxTime(){return dt},get registerApplication(){return Kt},get unregisterApplication(){return Jt},get getMountedApps(){return Wt},get getAppStatus(){return Ft},get unloadApplication(){return Vt},get checkActivityFunctions(){return zt},get getAppNames(){return $t},get pathToActiveWhen(){return Qt},get navigateToUrl(){return Tt},get triggerAppChange(){return tn},get addErrorHandler(){return L},get removeErrorHandler(){return U},get mountRootParcel(){return at},get NOT_LOADED(){return D},get LOADING_SOURCE_CODE(){return x},get NOT_BOOTSTRAPPED(){return M},get BOOTSTRAPPING(){return C},get NOT_MOUNTED(){return I},get MOUNTING(){return R},get UPDATING(){return G},get LOAD_ERROR(){return $},get MOUNTED(){return B},get UNMOUNTING(){return W},get SKIP_BECAUSE_BROKEN(){return F}});function T(t){return(T="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 O(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var S=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e.g?e.g:"undefined"!=typeof self?self:{}).CustomEvent,_=function(){try{var t=new S("cat",{detail:{foo:"bar"}});return"cat"===t.type&&"bar"===t.detail.foo}catch(t){}return!1}()?S:"undefined"!=typeof document&&"function"==typeof document.createEvent?function(t,n){var e=document.createEvent("CustomEvent");return n?e.initCustomEvent(t,n.bubbles,n.cancelable,n.detail):e.initCustomEvent(t,!1,!1,void 0),e}:function(t,n){var e=document.createEventObject();return e.type=t,n?(e.bubbles=Boolean(n.bubbles),e.cancelable=Boolean(n.cancelable),e.detail=n.detail):(e.bubbles=!1,e.cancelable=!1,e.detail=void 0),e},A=[];function N(t,n,e){var r=k(t,n,e);A.length?A.forEach((function(t){return t(r)})):setTimeout((function(){throw r}))}function L(t){if("function"!=typeof t)throw Error(j(28,!1));A.push(t)}function U(t){if("function"!=typeof t)throw Error(j(29,!1));var n=!1;return A=A.filter((function(e){var r=e===t;return n=n||r,!r})),n}function j(t,n){for(var e=arguments.length,r=new Array(e>2?e-2:0),o=2;o<e;o++)r[o-2]=arguments[o];return"single-spa minified message #".concat(t,": ").concat(n?n+" ":"","See https://single-spa.js.org/error/?code=").concat(t).concat(r.length?"&arg=".concat(r.join("&arg=")):"")}function k(t,n,e){var r,o="".concat(q(n)," '").concat(J(n),"' died in status ").concat(n.status,": ");if(t instanceof Error){try{t.message=o+t.message}catch(t){}r=t}else{console.warn(j(30,!1,n.status,J(n)));try{r=Error(o+JSON.stringify(t))}catch(n){r=t}}return r.appOrParcelName=J(n),n.status=e,r}var D="NOT_LOADED",x="LOADING_SOURCE_CODE",M="NOT_BOOTSTRAPPED",C="BOOTSTRAPPING",I="NOT_MOUNTED",R="MOUNTING",B="MOUNTED",G="UPDATING",W="UNMOUNTING",$="LOAD_ERROR",F="SKIP_BECAUSE_BROKEN";function K(t){return t.status===B}function z(t){try{return t.activeWhen(window.location)}catch(n){return N(n,t,F),!1}}function J(t){return t.name}function V(t){return Boolean(t.unmountThisParcel)}function q(t){return V(t)?"parcel":"application"}function H(){for(var t=arguments.length-1;t>0;t--)for(var n in arguments[t])"__proto__"!==n&&(arguments[t-1][n]=arguments[t][n]);return arguments[0]}function Q(t,n){for(var e=0;e<t.length;e++)if(n(t[e]))return t[e];return null}function X(t){return t&&("function"==typeof t||(n=t,Array.isArray(n)&&!Q(n,(function(t){return"function"!=typeof t}))));var n}function Y(t,n){var e=t[n]||[];0===(e=Array.isArray(e)?e:[e]).length&&(e=[function(){return Promise.resolve()}]);var r=q(t),o=J(t);return function(t){return e.reduce((function(e,i,u){return e.then((function(){var e=i(t);return Z(e)?e:Promise.reject(j(15,!1,r,o,n,u))}))}),Promise.resolve())}}function Z(t){return t&&"function"==typeof t.then&&"function"==typeof t.catch}function tt(t,n){return Promise.resolve().then((function(){return t.status!==M?t:(t.status=C,t.bootstrap?vt(t,"bootstrap").then(e).catch((function(e){if(n)throw k(e,t,F);return N(e,t,F),t})):Promise.resolve().then(e))}));function e(){return t.status=I,t}}function nt(t,n){return Promise.resolve().then((function(){if(t.status!==B)return t;t.status=W;var e=Object.keys(t.parcels).map((function(n){return t.parcels[n].unmountThisParcel()}));return Promise.all(e).then(r,(function(e){return r().then((function(){var r=Error(e.message);if(n)throw k(r,t,F);N(r,t,F)}))})).then((function(){return t}));function r(){return vt(t,"unmount").then((function(){t.status=I})).catch((function(e){if(n)throw k(e,t,F);N(e,t,F)}))}}))}var et=!1,rt=!1;function ot(t,n){return Promise.resolve().then((function(){return t.status!==I?t:(et||(window.dispatchEvent(new _("single-spa:before-first-mount")),et=!0),vt(t,"mount").then((function(){return t.status=B,rt||(window.dispatchEvent(new _("single-spa:first-mount")),rt=!0),t})).catch((function(e){return t.status=B,nt(t,!0).then(r,r);function r(){if(n)throw k(e,t,F);return N(e,t,F),t}})))}))}var it=0,ut={parcels:{}};function at(){return st.apply(ut,arguments)}function st(t,n){var e=this;if(!t||"object"!==T(t)&&"function"!=typeof t)throw Error(j(2,!1));if(t.name&&"string"!=typeof t.name)throw Error(j(3,!1,T(t.name)));if("object"!==T(n))throw Error(j(4,!1,name,T(n)));if(!n.domElement)throw Error(j(5,!1,name));var r,o=it++,i="function"==typeof t,u=i?t:function(){return Promise.resolve(t)},a={id:o,parcels:{},status:i?x:M,customProps:n,parentName:J(e),unmountThisParcel:function(){return p.then((function(){if(a.status!==B)throw Error(j(6,!1,name,a.status));return nt(a,!0)})).then((function(t){return a.parentName&&delete e.parcels[a.id],t})).then((function(t){return c(t),t})).catch((function(t){throw a.status=F,l(t),t}))}};e.parcels[o]=a;var s=u();if(!s||"function"!=typeof s.then)throw Error(j(7,!1));var c,l,f=(s=s.then((function(t){if(!t)throw Error(j(8,!1));var n=t.name||"parcel-".concat(o);if(Object.prototype.hasOwnProperty.call(t,"bootstrap")&&!X(t.bootstrap))throw Error(j(9,!1,n));if(!X(t.mount))throw Error(j(10,!1,n));if(!X(t.unmount))throw Error(j(11,!1,n));if(t.update&&!X(t.update))throw Error(j(12,!1,n));var e=Y(t,"bootstrap"),i=Y(t,"mount"),u=Y(t,"unmount");a.status=M,a.name=n,a.bootstrap=e,a.mount=i,a.unmount=u,a.timeouts=wt(t.timeouts),t.update&&(a.update=Y(t,"update"),r.update=function(t){return a.customProps=t,ct(function(t){return Promise.resolve().then((function(){if(t.status!==B)throw Error(j(32,!1,J(t)));return t.status=G,vt(t,"update").then((function(){return t.status=B,t})).catch((function(n){throw k(n,t,F)}))}))}(a))})}))).then((function(){return tt(a,!0)})),p=f.then((function(){return ot(a,!0)})),h=new Promise((function(t,n){c=t,l=n}));return r={mount:function(){return ct(Promise.resolve().then((function(){if(a.status!==I)throw Error(j(13,!1,name,a.status));return e.parcels[o]=a,ot(a)})))},unmount:function(){return ct(a.unmountThisParcel())},getStatus:function(){return a.status},loadPromise:ct(s),bootstrapPromise:ct(f),mountPromise:ct(p),unmountPromise:ct(h)}}function ct(t){return t.then((function(){return null}))}function lt(t){var n=J(t),e="function"==typeof t.customProps?t.customProps(n,window.location):t.customProps;("object"!==T(e)||null===e||Array.isArray(e))&&(e={},console.warn(j(40,!1),n,e));var r=H({},e,{name:n,mountParcel:st.bind(t),singleSpa:P});return V(t)&&(r.unmountSelf=t.unmountThisParcel),r}var ft={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 pt(t,n,e){if("number"!=typeof t||t<=0)throw Error(j(16,!1));ft.bootstrap={millis:t,dieOnTimeout:n,warningMillis:e||1e3}}function ht(t,n,e){if("number"!=typeof t||t<=0)throw Error(j(17,!1));ft.mount={millis:t,dieOnTimeout:n,warningMillis:e||1e3}}function mt(t,n,e){if("number"!=typeof t||t<=0)throw Error(j(18,!1));ft.unmount={millis:t,dieOnTimeout:n,warningMillis:e||1e3}}function dt(t,n,e){if("number"!=typeof t||t<=0)throw Error(j(19,!1));ft.unload={millis:t,dieOnTimeout:n,warningMillis:e||1e3}}function vt(t,n){var e=t.timeouts[n],r=e.warningMillis,o=q(t);return new Promise((function(i,u){var a=!1,s=!1;t[n](lt(t)).then((function(t){a=!0,i(t)})).catch((function(t){a=!0,u(t)})),setTimeout((function(){return l(1)}),r),setTimeout((function(){return l(!0)}),e.millis);var c=j(31,!1,n,o,J(t),e.millis);function l(t){if(!a)if(!0===t)s=!0,e.dieOnTimeout?u(Error(c)):console.error(c);else if(!s){var n=t,o=n*r;console.warn(c),o+r<e.millis&&setTimeout((function(){return l(n+1)}),r)}}}))}function wt(t){var n={};for(var e in ft)n[e]=H({},ft[e],t&&t[e]||{});return n}function yt(t){return Promise.resolve().then((function(){return t.loadPromise?t.loadPromise:t.status!==D&&t.status!==$?t:(t.status=x,t.loadPromise=Promise.resolve().then((function(){var r=t.loadApp(lt(t));if(!Z(r))throw e=!0,Error(j(33,!1,J(t)));return r.then((function(e){var r;t.loadErrorTime=null,"object"!==T(n=e)&&(r=34),Object.prototype.hasOwnProperty.call(n,"bootstrap")&&!X(n.bootstrap)&&(r=35),X(n.mount)||(r=36),X(n.unmount)||(r=37);var o=q(n);if(r){var i;try{i=JSON.stringify(n)}catch(t){}return console.error(j(r,!1,o,J(t),i),n),N(void 0,t,F),t}return n.devtools&&n.devtools.overlays&&(t.devtools.overlays=H({},t.devtools.overlays,n.devtools.overlays)),t.status=M,t.bootstrap=Y(n,"bootstrap"),t.mount=Y(n,"mount"),t.unmount=Y(n,"unmount"),t.unload=Y(n,"unload"),t.timeouts=wt(n.timeouts),delete t.loadPromise,t}))})).catch((function(n){var r;return delete t.loadPromise,e?r=F:(r=$,t.loadErrorTime=(new Date).getTime()),N(n,t,r),t})));var n,e}))}var gt,bt="undefined"!=typeof window,Et={hashchange:[],popstate:[]},Pt=["hashchange","popstate"];function Tt(t){var n;if("string"==typeof t)n=t;else if(this&&this.href)n=this.href;else{if(!(t&&t.currentTarget&&t.currentTarget.href&&t.preventDefault))throw Error(j(14,!1));n=t.currentTarget.href,t.preventDefault()}var e=Ut(window.location.href),r=Ut(n);0===n.indexOf("#")?window.location.hash=r.hash:e.host!==r.host&&r.host?window.location.href=n:r.pathname===e.pathname&&r.search===e.search?window.location.hash=r.hash:window.history.pushState(null,null,n)}function Ot(t){var n=this;if(t){var e=t[0].type;Pt.indexOf(e)>=0&&Et[e].forEach((function(e){try{e.apply(n,t)}catch(t){setTimeout((function(){throw t}))}}))}}function St(){nn([],arguments)}function _t(t,n){return function(){var e=window.location.href,r=t.apply(this,arguments),o=window.location.href;return gt&&e===o||(un()?window.dispatchEvent(At(window.history.state,n)):nn([])),r}}function At(t,n){var e;try{e=new PopStateEvent("popstate",{state:t})}catch(n){(e=document.createEvent("PopStateEvent")).initPopStateEvent("popstate",!1,!1,t)}return e.singleSpa=!0,e.singleSpaTrigger=n,e}if(bt){window.addEventListener("hashchange",St),window.addEventListener("popstate",St);var Nt=window.addEventListener,Lt=window.removeEventListener;window.addEventListener=function(t,n){if(!("function"==typeof n&&Pt.indexOf(t)>=0)||Q(Et[t],(function(t){return t===n})))return Nt.apply(this,arguments);Et[t].push(n)},window.removeEventListener=function(t,n){if(!("function"==typeof n&&Pt.indexOf(t)>=0))return Lt.apply(this,arguments);Et[t]=Et[t].filter((function(t){return t!==n}))},window.history.pushState=_t(window.history.pushState,"pushState"),window.history.replaceState=_t(window.history.replaceState,"replaceState"),window.singleSpaNavigate?console.warn(j(41,!1)):window.singleSpaNavigate=Tt}function Ut(t){var n=document.createElement("a");return n.href=t,n}var jt=!1;function kt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.jQuery;if(t||window.$&&window.$.fn&&window.$.fn.jquery&&(t=window.$),t&&!jt){var n=t.fn.on,e=t.fn.off;t.fn.on=function(t,e){return Dt.call(this,n,window.addEventListener,t,e,arguments)},t.fn.off=function(t,n){return Dt.call(this,e,window.removeEventListener,t,n,arguments)},jt=!0}}function Dt(t,n,e,r,o){return"string"!=typeof e?t.apply(this,o):(e.split(/\s+/).forEach((function(t){Pt.indexOf(t)>=0&&(n(t,r),e=e.replace(t,""))})),""===e.trim()?this:t.apply(this,o))}var xt={};function Mt(t){return Promise.resolve().then((function(){var n=xt[J(t)];if(!n)return t;if(t.status===D)return Ct(t,n),t;if("UNLOADING"===t.status)return n.promise.then((function(){return t}));if(t.status!==I&&t.status!==$)return t;var e=t.status===$?Promise.resolve():vt(t,"unload");return t.status="UNLOADING",e.then((function(){return Ct(t,n),t})).catch((function(e){return function(t,n,e){delete xt[J(t)],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,N(e,t,F),n.reject(e)}(t,n,e),t}))}))}function Ct(t,n){delete xt[J(t)],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,t.status=D,n.resolve()}function It(t,n,e,r){xt[J(t)]={app:t,resolve:e,reject:r},Object.defineProperty(xt[J(t)],"promise",{get:n})}function Rt(t){return xt[t]}var Bt=[];function Gt(){var t=[],n=[],e=[],r=[],o=(new Date).getTime();return Bt.forEach((function(i){var u=i.status!==F&&z(i);switch(i.status){case $:u&&o-i.loadErrorTime>=200&&e.push(i);break;case D:case x:u&&e.push(i);break;case M:case I:!u&&Rt(J(i))?t.push(i):u&&r.push(i);break;case B:u||n.push(i)}})),{appsToUnload:t,appsToUnmount:n,appsToLoad:e,appsToMount:r}}function Wt(){return Bt.filter(K).map(J)}function $t(){return Bt.map(J)}function Ft(t){var n=Q(Bt,(function(n){return J(n)===t}));return n?n.status:null}function Kt(t,n,e,r){var o=function(t,n,e,r){var o,i={name:null,loadApp:null,activeWhen:null,customProps:null};return"object"===T(t)?(function(t){if(Array.isArray(t)||null===t)throw Error(j(39,!1));var n=["name","app","activeWhen","customProps"],e=Object.keys(t).reduce((function(t,e){return n.indexOf(e)>=0?t:t.concat(e)}),[]);if(0!==e.length)throw Error(j(38,!1,n.join(", "),e.join(", ")));if("string"!=typeof t.name||0===t.name.length)throw Error(j(20,!1));if("object"!==T(t.app)&&"function"!=typeof t.app)throw Error(j(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(j(24,!1));if(!Ht(t.customProps))throw Error(j(22,!1))}(t),i.name=t.name,i.loadApp=t.app,i.activeWhen=t.activeWhen,i.customProps=t.customProps):(function(t,n,e,r){if("string"!=typeof t||0===t.length)throw Error(j(20,!1));if(!n)throw Error(j(23,!1));if("function"!=typeof e)throw Error(j(24,!1));if(!Ht(r))throw Error(j(22,!1))}(t,n,e,r),i.name=t,i.loadApp=n,i.activeWhen=e,i.customProps=r),i.loadApp="function"!=typeof(o=i.loadApp)?function(){return Promise.resolve(o)}:o,i.customProps=function(t){return t||{}}(i.customProps),i.activeWhen=function(t){var n=Array.isArray(t)?t:[t];return n=n.map((function(t){return"function"==typeof t?t:Qt(t)})),function(t){return n.some((function(n){return n(t)}))}}(i.activeWhen),i}(t,n,e,r);if(-1!==$t().indexOf(o.name))throw Error(j(21,!1,o.name));Bt.push(H({loadErrorTime:null,status:D,parcels:{},devtools:{overlays:{options:{},selectors:[]}}},o)),bt&&(kt(),nn())}function zt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location;return Bt.filter((function(n){return n.activeWhen(t)})).map(J)}function Jt(t){if(0===Bt.filter((function(n){return J(n)===t})).length)throw Error(j(25,!1,t));return Vt(t).then((function(){var n=Bt.map(J).indexOf(t);Bt.splice(n,1)}))}function Vt(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{waitForUnmount:!1};if("string"!=typeof t)throw Error(j(26,!1));var e=Q(Bt,(function(n){return J(n)===t}));if(!e)throw Error(j(27,!1,t));var r,o=Rt(J(e));if(n&&n.waitForUnmount){if(o)return o.promise;var i=new Promise((function(t,n){It(e,(function(){return i}),t,n)}));return i}return o?(r=o.promise,qt(e,o.resolve,o.reject)):r=new Promise((function(t,n){It(e,(function(){return r}),t,n),qt(e,t,n)})),r}function qt(t,n,e){nt(t).then(Mt).then((function(){n(),setTimeout((function(){nn()}))})).catch(e)}function Ht(t){return!t||"function"==typeof t||"object"===T(t)&&null!==t&&!Array.isArray(t)}function Qt(t,n){var e=function(t,n){var e=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(e,i).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");if(o+=r?"[^/]+/?":u,i===t.length)if(r)n&&(o+="$");else{var a=n?"":".*";o="/"===o.charAt(o.length-1)?"".concat(o).concat(a,"$"):"".concat(o,"(/").concat(a,")?(#.*)?$")}r=!r,e=i}}(t,n);return function(t){var n=t.origin;n||(n="".concat(t.protocol,"//").concat(t.host));var r=t.href.replace(n,"").replace(t.search,"").split("?")[0];return e.test(r)}}var Xt=!1,Yt=[],Zt=bt&&window.location.href;function tn(){return nn()}function nn(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;if(Xt)return new Promise((function(t,e){Yt.push({resolve:t,reject:e,eventArguments:n})}));var e,r=Gt(),o=r.appsToUnload,i=r.appsToUnmount,u=r.appsToLoad,a=r.appsToMount,s=!1,c=Zt,l=Zt=window.location.href;return un()?(Xt=!0,e=o.concat(u,i,a),h()):(e=u,p());function f(){s=!0}function p(){return Promise.resolve().then((function(){var t=u.map(yt);return Promise.all(t).then(d).then((function(){return[]})).catch((function(t){throw d(),t}))}))}function h(){return Promise.resolve().then((function(){if(window.dispatchEvent(new _(0===e.length?"single-spa:before-no-app-change":"single-spa:before-app-change",v(!0))),window.dispatchEvent(new _("single-spa:before-routing-event",v(!0,{cancelNavigation:f}))),s)return window.dispatchEvent(new _("single-spa:before-mount-routing-event",v(!0))),m(),void Tt(c);var n=o.map(Mt),r=i.map(nt).map((function(t){return t.then(Mt)})).concat(n),l=Promise.all(r);l.then((function(){window.dispatchEvent(new _("single-spa:before-mount-routing-event",v(!0)))}));var p=u.map((function(t){return yt(t).then((function(t){return en(t,l)}))})),h=a.filter((function(t){return u.indexOf(t)<0})).map((function(t){return en(t,l)}));return l.catch((function(t){throw d(),t})).then((function(){return d(),Promise.all(p.concat(h)).catch((function(n){throw t.forEach((function(t){return t.reject(n)})),n})).then(m)}))}))}function m(){var n=Wt();t.forEach((function(t){return t.resolve(n)}));try{var r=0===e.length?"single-spa:no-app-change":"single-spa:app-change";window.dispatchEvent(new _(r,v())),window.dispatchEvent(new _("single-spa:routing-event",v()))}catch(t){setTimeout((function(){throw t}))}if(Xt=!1,Yt.length>0){var o=Yt;Yt=[],nn(o)}return n}function d(){t.forEach((function(t){Ot(t.eventArguments)})),Ot(n)}function v(){var t,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0],f=arguments.length>1?arguments[1]:void 0,p={},h=(O(t={},B,[]),O(t,I,[]),O(t,D,[]),O(t,F,[]),t);r?(u.concat(a).forEach((function(t,n){d(t,B)})),o.forEach((function(t){d(t,D)})),i.forEach((function(t){d(t,I)}))):e.forEach((function(t){d(t)}));var m={detail:{newAppStatuses:p,appsByNewStatus:h,totalAppChanges:e.length,originalEvent:null==n?void 0:n[0],oldUrl:c,newUrl:l,navigationIsCanceled:s}};return f&&H(m.detail,f),m;function d(t,n){var e=J(t);n=n||Ft(e),p[e]=n,(h[n]=h[n]||[]).push(e)}}}function en(t,n){return z(t)?tt(t).then((function(t){return n.then((function(){return z(t)?ot(t):t}))})):n.then((function(){return t}))}var rn=!1;function on(t){var n;rn=!0,t&&t.urlRerouteOnly&&(n=t.urlRerouteOnly,gt=n),bt&&nn()}function un(){return rn}bt&&setTimeout((function(){rn||console.warn(j(1,!1))}),5e3);var an={getRawAppData:function(){return[].concat(Bt)},reroute:nn,NOT_LOADED:D,toLoadPromise:yt,toBootstrapPromise:tt,unregisterApplication:Jt};bt&&window.__SINGLE_SPA_DEVTOOLS__&&(window.__SINGLE_SPA_DEVTOOLS__.exposedMethods=an);var sn=e(6639),cn="4.0.3-pre.371",ln=e(3979),fn={"webservices.rest":"^2.2.0"},pn={featureName:"primary navigation",moduleName:i.e};function hn(){return(0,r.defineConfigSchema)(i.e,p),(0,r.defineExtensionConfigSchema)("link",sn.genericLinkConfigSchema),(0,r.setupOfflineSync)(i.O,[],b),{pages:[{load:(0,r.getAsyncLifecycle)((function(){return Promise.all([e.e(483),e.e(414),e.e(723),e.e(680),e.e(656)]).then(e.bind(e,3656))}),pn),route:function(t){return!t.pathname.startsWith(window.getOpenmrsSpaBase()+"login")},online:!0,offline:!0,order:0},{load:{bootstrap:function(){return Promise.resolve(Tt(window.getOpenmrsSpaBase()+"home"))},mount:function(){return Promise.resolve()},unmount:function(){return Promise.resolve()}},route:function(t){return t.pathname===window.getOpenmrsSpaBase()},order:0}],extensions:[{name:"default-user-panel",slot:"user-panel-slot",order:0,load:(0,r.getAsyncLifecycle)((function(){return Promise.all([e.e(483),e.e(414),e.e(473)]).then(e.bind(e,3473))}),pn),online:!0,offline:!0},{name:"change-locale",slot:"user-panel-slot",order:1,load:(0,r.getAsyncLifecycle)((function(){return Promise.all([e.e(483),e.e(680),e.e(98)]).then(e.bind(e,5098))}),pn),online:{postUserProperties:c},offline:{postUserProperties:f}},{name:"link",load:(0,r.getAsyncLifecycle)((function(){return Promise.resolve().then(e.bind(e,6639))}),{featureName:"Link",moduleName:i.e})}]}}},3979:(t,n,e)=>{var r={"./en.json":[3574,574]};function o(t){if(!e.o(r,t))return Promise.resolve().then((()=>{var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=r[t],o=n[0];return e.e(n[1]).then((()=>e(o)))}o.keys=()=>Object.keys(r),o.id=3979,t.exports=o}}]);
1
+ (self.webpackChunk_openmrs_esm_primary_navigation_app=self.webpackChunk_openmrs_esm_primary_navigation_app||[]).push([[789],{6639:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>a,genericLinkConfigSchema:()=>u});var r=e(5776),o=e.n(r),i=e(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,n,e)=>{"use strict";e.d(n,{O:()=>r,e:()=>o});var r="user-property-change",o="@openmrs/esm-primary-navigation-app"},789:(t,n,e)=>{"use strict";e.r(n),e.d(n,{backendDependencies:()=>fn,importTranslation:()=>ln,setupOpenMRS:()=>hn,version:()=>cn});var r=e(4610),o=e(8478),i=e(1217);function u(t,n,e,r,o,i,u){try{var a=t[i](u),s=a.value}catch(t){return void e(t)}a.done?n(s):Promise.resolve(s).then(r,o)}function a(t){return function(){var n=this,e=arguments;return new Promise((function(r,o){var i=t.apply(n,e);function a(t){u(i,r,o,a,s,"next",t)}function s(t){u(i,r,o,a,s,"throw",t)}a(void 0)}))}}var s=function(t,n){var e,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;u;)try{if(e=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 u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!((o=(o=u.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=n.call(t,u)}catch(t){i=[6,t],r=0}finally{e=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}};function c(t,n,e){return l.apply(this,arguments)}function l(){return(l=a((function(t,n,e){var r,i;return s(this,(function(u){switch(u.label){case 0:return[4,(0,o.getSessionLocation)()];case 1:return r=u.sent(),i=null==r?void 0:r.uuid,[4,(0,o.openmrsFetch)("/ws/rest/v1/user/".concat(t),{method:"POST",body:{userProperties:n},headers:{"Content-Type":"application/json"},signal:e.signal})];case 2:return u.sent(),i?[4,(0,o.setSessionLocation)(i,e)]:[3,4];case 3:u.sent(),u.label=4;case 4:return[2]}}))}))).apply(this,arguments)}function f(t,n){return(0,o.queueSynchronizationItemFor)(t,i.O,n,{displayName:"User Language Change"})}var p={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(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function m(t,n,e,r,o,i,u){try{var a=t[i](u),s=a.value}catch(t){return void e(t)}a.done?n(s):Promise.resolve(s).then(r,o)}function d(t){return function(){var n=this,e=arguments;return new Promise((function(r,o){var i=t.apply(n,e);function u(t){m(i,r,o,u,a,"next",t)}function a(t){m(i,r,o,u,a,"throw",t)}u(void 0)}))}}function v(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,o,i=[],u=!0,a=!1;try{for(e=e.call(t);!(u=(r=e.next()).done)&&(i.push(r.value),!n||i.length!==n);u=!0);}catch(t){a=!0,o=t}finally{try{u||null==e.return||e.return()}finally{if(a)throw o}}return i}}(t,n)||y(t,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 w(t){return function(t){if(Array.isArray(t))return h(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||y(t)||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 y(t,n){if(t){if("string"==typeof t)return h(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(e):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?h(t,n):void 0}}var g=function(t,n){var e,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;u;)try{if(e=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 u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!((o=(o=u.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=n.call(t,u)}catch(t){i=[6,t],r=0}finally{e=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}};function b(t,n){return E.apply(this,arguments)}function E(){return E=d((function(t,n){var e,r,i,u;return g(this,(function(t){switch(t.label){case 0:return 0!==n.index?[3,3]:[4,(0,o.getLoggedInUser)()];case 1:return r=t.sent(),i=n.items.map((function(t){var n=v(t,2);return n[0],n[1]})),u=(e=Object).assign.apply(e,[{},r.userProperties].concat(w(i))),[4,c(r.uuid,u,n.abort)];case 2:t.sent(),(0,o.refetchCurrentUser)(),t.label=3;case 3:return[2]}}))})),E.apply(this,arguments)}var P=Object.freeze({__proto__:null,get start(){return on},get ensureJQuerySupport(){return kt},get setBootstrapMaxTime(){return pt},get setMountMaxTime(){return ht},get setUnmountMaxTime(){return mt},get setUnloadMaxTime(){return dt},get registerApplication(){return Kt},get unregisterApplication(){return Jt},get getMountedApps(){return Wt},get getAppStatus(){return Ft},get unloadApplication(){return Vt},get checkActivityFunctions(){return zt},get getAppNames(){return $t},get pathToActiveWhen(){return Qt},get navigateToUrl(){return Tt},get triggerAppChange(){return tn},get addErrorHandler(){return L},get removeErrorHandler(){return U},get mountRootParcel(){return at},get NOT_LOADED(){return D},get LOADING_SOURCE_CODE(){return x},get NOT_BOOTSTRAPPED(){return M},get BOOTSTRAPPING(){return C},get NOT_MOUNTED(){return I},get MOUNTING(){return R},get UPDATING(){return G},get LOAD_ERROR(){return $},get MOUNTED(){return B},get UNMOUNTING(){return W},get SKIP_BECAUSE_BROKEN(){return F}});function T(t){return(T="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 O(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var S=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e.g?e.g:"undefined"!=typeof self?self:{}).CustomEvent,_=function(){try{var t=new S("cat",{detail:{foo:"bar"}});return"cat"===t.type&&"bar"===t.detail.foo}catch(t){}return!1}()?S:"undefined"!=typeof document&&"function"==typeof document.createEvent?function(t,n){var e=document.createEvent("CustomEvent");return n?e.initCustomEvent(t,n.bubbles,n.cancelable,n.detail):e.initCustomEvent(t,!1,!1,void 0),e}:function(t,n){var e=document.createEventObject();return e.type=t,n?(e.bubbles=Boolean(n.bubbles),e.cancelable=Boolean(n.cancelable),e.detail=n.detail):(e.bubbles=!1,e.cancelable=!1,e.detail=void 0),e},A=[];function N(t,n,e){var r=k(t,n,e);A.length?A.forEach((function(t){return t(r)})):setTimeout((function(){throw r}))}function L(t){if("function"!=typeof t)throw Error(j(28,!1));A.push(t)}function U(t){if("function"!=typeof t)throw Error(j(29,!1));var n=!1;return A=A.filter((function(e){var r=e===t;return n=n||r,!r})),n}function j(t,n){for(var e=arguments.length,r=new Array(e>2?e-2:0),o=2;o<e;o++)r[o-2]=arguments[o];return"single-spa minified message #".concat(t,": ").concat(n?n+" ":"","See https://single-spa.js.org/error/?code=").concat(t).concat(r.length?"&arg=".concat(r.join("&arg=")):"")}function k(t,n,e){var r,o="".concat(q(n)," '").concat(J(n),"' died in status ").concat(n.status,": ");if(t instanceof Error){try{t.message=o+t.message}catch(t){}r=t}else{console.warn(j(30,!1,n.status,J(n)));try{r=Error(o+JSON.stringify(t))}catch(n){r=t}}return r.appOrParcelName=J(n),n.status=e,r}var D="NOT_LOADED",x="LOADING_SOURCE_CODE",M="NOT_BOOTSTRAPPED",C="BOOTSTRAPPING",I="NOT_MOUNTED",R="MOUNTING",B="MOUNTED",G="UPDATING",W="UNMOUNTING",$="LOAD_ERROR",F="SKIP_BECAUSE_BROKEN";function K(t){return t.status===B}function z(t){try{return t.activeWhen(window.location)}catch(n){return N(n,t,F),!1}}function J(t){return t.name}function V(t){return Boolean(t.unmountThisParcel)}function q(t){return V(t)?"parcel":"application"}function H(){for(var t=arguments.length-1;t>0;t--)for(var n in arguments[t])"__proto__"!==n&&(arguments[t-1][n]=arguments[t][n]);return arguments[0]}function Q(t,n){for(var e=0;e<t.length;e++)if(n(t[e]))return t[e];return null}function X(t){return t&&("function"==typeof t||(n=t,Array.isArray(n)&&!Q(n,(function(t){return"function"!=typeof t}))));var n}function Y(t,n){var e=t[n]||[];0===(e=Array.isArray(e)?e:[e]).length&&(e=[function(){return Promise.resolve()}]);var r=q(t),o=J(t);return function(t){return e.reduce((function(e,i,u){return e.then((function(){var e=i(t);return Z(e)?e:Promise.reject(j(15,!1,r,o,n,u))}))}),Promise.resolve())}}function Z(t){return t&&"function"==typeof t.then&&"function"==typeof t.catch}function tt(t,n){return Promise.resolve().then((function(){return t.status!==M?t:(t.status=C,t.bootstrap?vt(t,"bootstrap").then(e).catch((function(e){if(n)throw k(e,t,F);return N(e,t,F),t})):Promise.resolve().then(e))}));function e(){return t.status=I,t}}function nt(t,n){return Promise.resolve().then((function(){if(t.status!==B)return t;t.status=W;var e=Object.keys(t.parcels).map((function(n){return t.parcels[n].unmountThisParcel()}));return Promise.all(e).then(r,(function(e){return r().then((function(){var r=Error(e.message);if(n)throw k(r,t,F);N(r,t,F)}))})).then((function(){return t}));function r(){return vt(t,"unmount").then((function(){t.status=I})).catch((function(e){if(n)throw k(e,t,F);N(e,t,F)}))}}))}var et=!1,rt=!1;function ot(t,n){return Promise.resolve().then((function(){return t.status!==I?t:(et||(window.dispatchEvent(new _("single-spa:before-first-mount")),et=!0),vt(t,"mount").then((function(){return t.status=B,rt||(window.dispatchEvent(new _("single-spa:first-mount")),rt=!0),t})).catch((function(e){return t.status=B,nt(t,!0).then(r,r);function r(){if(n)throw k(e,t,F);return N(e,t,F),t}})))}))}var it=0,ut={parcels:{}};function at(){return st.apply(ut,arguments)}function st(t,n){var e=this;if(!t||"object"!==T(t)&&"function"!=typeof t)throw Error(j(2,!1));if(t.name&&"string"!=typeof t.name)throw Error(j(3,!1,T(t.name)));if("object"!==T(n))throw Error(j(4,!1,name,T(n)));if(!n.domElement)throw Error(j(5,!1,name));var r,o=it++,i="function"==typeof t,u=i?t:function(){return Promise.resolve(t)},a={id:o,parcels:{},status:i?x:M,customProps:n,parentName:J(e),unmountThisParcel:function(){return p.then((function(){if(a.status!==B)throw Error(j(6,!1,name,a.status));return nt(a,!0)})).then((function(t){return a.parentName&&delete e.parcels[a.id],t})).then((function(t){return c(t),t})).catch((function(t){throw a.status=F,l(t),t}))}};e.parcels[o]=a;var s=u();if(!s||"function"!=typeof s.then)throw Error(j(7,!1));var c,l,f=(s=s.then((function(t){if(!t)throw Error(j(8,!1));var n=t.name||"parcel-".concat(o);if(Object.prototype.hasOwnProperty.call(t,"bootstrap")&&!X(t.bootstrap))throw Error(j(9,!1,n));if(!X(t.mount))throw Error(j(10,!1,n));if(!X(t.unmount))throw Error(j(11,!1,n));if(t.update&&!X(t.update))throw Error(j(12,!1,n));var e=Y(t,"bootstrap"),i=Y(t,"mount"),u=Y(t,"unmount");a.status=M,a.name=n,a.bootstrap=e,a.mount=i,a.unmount=u,a.timeouts=wt(t.timeouts),t.update&&(a.update=Y(t,"update"),r.update=function(t){return a.customProps=t,ct(function(t){return Promise.resolve().then((function(){if(t.status!==B)throw Error(j(32,!1,J(t)));return t.status=G,vt(t,"update").then((function(){return t.status=B,t})).catch((function(n){throw k(n,t,F)}))}))}(a))})}))).then((function(){return tt(a,!0)})),p=f.then((function(){return ot(a,!0)})),h=new Promise((function(t,n){c=t,l=n}));return r={mount:function(){return ct(Promise.resolve().then((function(){if(a.status!==I)throw Error(j(13,!1,name,a.status));return e.parcels[o]=a,ot(a)})))},unmount:function(){return ct(a.unmountThisParcel())},getStatus:function(){return a.status},loadPromise:ct(s),bootstrapPromise:ct(f),mountPromise:ct(p),unmountPromise:ct(h)}}function ct(t){return t.then((function(){return null}))}function lt(t){var n=J(t),e="function"==typeof t.customProps?t.customProps(n,window.location):t.customProps;("object"!==T(e)||null===e||Array.isArray(e))&&(e={},console.warn(j(40,!1),n,e));var r=H({},e,{name:n,mountParcel:st.bind(t),singleSpa:P});return V(t)&&(r.unmountSelf=t.unmountThisParcel),r}var ft={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 pt(t,n,e){if("number"!=typeof t||t<=0)throw Error(j(16,!1));ft.bootstrap={millis:t,dieOnTimeout:n,warningMillis:e||1e3}}function ht(t,n,e){if("number"!=typeof t||t<=0)throw Error(j(17,!1));ft.mount={millis:t,dieOnTimeout:n,warningMillis:e||1e3}}function mt(t,n,e){if("number"!=typeof t||t<=0)throw Error(j(18,!1));ft.unmount={millis:t,dieOnTimeout:n,warningMillis:e||1e3}}function dt(t,n,e){if("number"!=typeof t||t<=0)throw Error(j(19,!1));ft.unload={millis:t,dieOnTimeout:n,warningMillis:e||1e3}}function vt(t,n){var e=t.timeouts[n],r=e.warningMillis,o=q(t);return new Promise((function(i,u){var a=!1,s=!1;t[n](lt(t)).then((function(t){a=!0,i(t)})).catch((function(t){a=!0,u(t)})),setTimeout((function(){return l(1)}),r),setTimeout((function(){return l(!0)}),e.millis);var c=j(31,!1,n,o,J(t),e.millis);function l(t){if(!a)if(!0===t)s=!0,e.dieOnTimeout?u(Error(c)):console.error(c);else if(!s){var n=t,o=n*r;console.warn(c),o+r<e.millis&&setTimeout((function(){return l(n+1)}),r)}}}))}function wt(t){var n={};for(var e in ft)n[e]=H({},ft[e],t&&t[e]||{});return n}function yt(t){return Promise.resolve().then((function(){return t.loadPromise?t.loadPromise:t.status!==D&&t.status!==$?t:(t.status=x,t.loadPromise=Promise.resolve().then((function(){var r=t.loadApp(lt(t));if(!Z(r))throw e=!0,Error(j(33,!1,J(t)));return r.then((function(e){var r;t.loadErrorTime=null,"object"!==T(n=e)&&(r=34),Object.prototype.hasOwnProperty.call(n,"bootstrap")&&!X(n.bootstrap)&&(r=35),X(n.mount)||(r=36),X(n.unmount)||(r=37);var o=q(n);if(r){var i;try{i=JSON.stringify(n)}catch(t){}return console.error(j(r,!1,o,J(t),i),n),N(void 0,t,F),t}return n.devtools&&n.devtools.overlays&&(t.devtools.overlays=H({},t.devtools.overlays,n.devtools.overlays)),t.status=M,t.bootstrap=Y(n,"bootstrap"),t.mount=Y(n,"mount"),t.unmount=Y(n,"unmount"),t.unload=Y(n,"unload"),t.timeouts=wt(n.timeouts),delete t.loadPromise,t}))})).catch((function(n){var r;return delete t.loadPromise,e?r=F:(r=$,t.loadErrorTime=(new Date).getTime()),N(n,t,r),t})));var n,e}))}var gt,bt="undefined"!=typeof window,Et={hashchange:[],popstate:[]},Pt=["hashchange","popstate"];function Tt(t){var n;if("string"==typeof t)n=t;else if(this&&this.href)n=this.href;else{if(!(t&&t.currentTarget&&t.currentTarget.href&&t.preventDefault))throw Error(j(14,!1));n=t.currentTarget.href,t.preventDefault()}var e=Ut(window.location.href),r=Ut(n);0===n.indexOf("#")?window.location.hash=r.hash:e.host!==r.host&&r.host?window.location.href=n:r.pathname===e.pathname&&r.search===e.search?window.location.hash=r.hash:window.history.pushState(null,null,n)}function Ot(t){var n=this;if(t){var e=t[0].type;Pt.indexOf(e)>=0&&Et[e].forEach((function(e){try{e.apply(n,t)}catch(t){setTimeout((function(){throw t}))}}))}}function St(){nn([],arguments)}function _t(t,n){return function(){var e=window.location.href,r=t.apply(this,arguments),o=window.location.href;return gt&&e===o||(un()?window.dispatchEvent(At(window.history.state,n)):nn([])),r}}function At(t,n){var e;try{e=new PopStateEvent("popstate",{state:t})}catch(n){(e=document.createEvent("PopStateEvent")).initPopStateEvent("popstate",!1,!1,t)}return e.singleSpa=!0,e.singleSpaTrigger=n,e}if(bt){window.addEventListener("hashchange",St),window.addEventListener("popstate",St);var Nt=window.addEventListener,Lt=window.removeEventListener;window.addEventListener=function(t,n){if(!("function"==typeof n&&Pt.indexOf(t)>=0)||Q(Et[t],(function(t){return t===n})))return Nt.apply(this,arguments);Et[t].push(n)},window.removeEventListener=function(t,n){if(!("function"==typeof n&&Pt.indexOf(t)>=0))return Lt.apply(this,arguments);Et[t]=Et[t].filter((function(t){return t!==n}))},window.history.pushState=_t(window.history.pushState,"pushState"),window.history.replaceState=_t(window.history.replaceState,"replaceState"),window.singleSpaNavigate?console.warn(j(41,!1)):window.singleSpaNavigate=Tt}function Ut(t){var n=document.createElement("a");return n.href=t,n}var jt=!1;function kt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.jQuery;if(t||window.$&&window.$.fn&&window.$.fn.jquery&&(t=window.$),t&&!jt){var n=t.fn.on,e=t.fn.off;t.fn.on=function(t,e){return Dt.call(this,n,window.addEventListener,t,e,arguments)},t.fn.off=function(t,n){return Dt.call(this,e,window.removeEventListener,t,n,arguments)},jt=!0}}function Dt(t,n,e,r,o){return"string"!=typeof e?t.apply(this,o):(e.split(/\s+/).forEach((function(t){Pt.indexOf(t)>=0&&(n(t,r),e=e.replace(t,""))})),""===e.trim()?this:t.apply(this,o))}var xt={};function Mt(t){return Promise.resolve().then((function(){var n=xt[J(t)];if(!n)return t;if(t.status===D)return Ct(t,n),t;if("UNLOADING"===t.status)return n.promise.then((function(){return t}));if(t.status!==I&&t.status!==$)return t;var e=t.status===$?Promise.resolve():vt(t,"unload");return t.status="UNLOADING",e.then((function(){return Ct(t,n),t})).catch((function(e){return function(t,n,e){delete xt[J(t)],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,N(e,t,F),n.reject(e)}(t,n,e),t}))}))}function Ct(t,n){delete xt[J(t)],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,t.status=D,n.resolve()}function It(t,n,e,r){xt[J(t)]={app:t,resolve:e,reject:r},Object.defineProperty(xt[J(t)],"promise",{get:n})}function Rt(t){return xt[t]}var Bt=[];function Gt(){var t=[],n=[],e=[],r=[],o=(new Date).getTime();return Bt.forEach((function(i){var u=i.status!==F&&z(i);switch(i.status){case $:u&&o-i.loadErrorTime>=200&&e.push(i);break;case D:case x:u&&e.push(i);break;case M:case I:!u&&Rt(J(i))?t.push(i):u&&r.push(i);break;case B:u||n.push(i)}})),{appsToUnload:t,appsToUnmount:n,appsToLoad:e,appsToMount:r}}function Wt(){return Bt.filter(K).map(J)}function $t(){return Bt.map(J)}function Ft(t){var n=Q(Bt,(function(n){return J(n)===t}));return n?n.status:null}function Kt(t,n,e,r){var o=function(t,n,e,r){var o,i={name:null,loadApp:null,activeWhen:null,customProps:null};return"object"===T(t)?(function(t){if(Array.isArray(t)||null===t)throw Error(j(39,!1));var n=["name","app","activeWhen","customProps"],e=Object.keys(t).reduce((function(t,e){return n.indexOf(e)>=0?t:t.concat(e)}),[]);if(0!==e.length)throw Error(j(38,!1,n.join(", "),e.join(", ")));if("string"!=typeof t.name||0===t.name.length)throw Error(j(20,!1));if("object"!==T(t.app)&&"function"!=typeof t.app)throw Error(j(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(j(24,!1));if(!Ht(t.customProps))throw Error(j(22,!1))}(t),i.name=t.name,i.loadApp=t.app,i.activeWhen=t.activeWhen,i.customProps=t.customProps):(function(t,n,e,r){if("string"!=typeof t||0===t.length)throw Error(j(20,!1));if(!n)throw Error(j(23,!1));if("function"!=typeof e)throw Error(j(24,!1));if(!Ht(r))throw Error(j(22,!1))}(t,n,e,r),i.name=t,i.loadApp=n,i.activeWhen=e,i.customProps=r),i.loadApp="function"!=typeof(o=i.loadApp)?function(){return Promise.resolve(o)}:o,i.customProps=function(t){return t||{}}(i.customProps),i.activeWhen=function(t){var n=Array.isArray(t)?t:[t];return n=n.map((function(t){return"function"==typeof t?t:Qt(t)})),function(t){return n.some((function(n){return n(t)}))}}(i.activeWhen),i}(t,n,e,r);if(-1!==$t().indexOf(o.name))throw Error(j(21,!1,o.name));Bt.push(H({loadErrorTime:null,status:D,parcels:{},devtools:{overlays:{options:{},selectors:[]}}},o)),bt&&(kt(),nn())}function zt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location;return Bt.filter((function(n){return n.activeWhen(t)})).map(J)}function Jt(t){if(0===Bt.filter((function(n){return J(n)===t})).length)throw Error(j(25,!1,t));return Vt(t).then((function(){var n=Bt.map(J).indexOf(t);Bt.splice(n,1)}))}function Vt(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{waitForUnmount:!1};if("string"!=typeof t)throw Error(j(26,!1));var e=Q(Bt,(function(n){return J(n)===t}));if(!e)throw Error(j(27,!1,t));var r,o=Rt(J(e));if(n&&n.waitForUnmount){if(o)return o.promise;var i=new Promise((function(t,n){It(e,(function(){return i}),t,n)}));return i}return o?(r=o.promise,qt(e,o.resolve,o.reject)):r=new Promise((function(t,n){It(e,(function(){return r}),t,n),qt(e,t,n)})),r}function qt(t,n,e){nt(t).then(Mt).then((function(){n(),setTimeout((function(){nn()}))})).catch(e)}function Ht(t){return!t||"function"==typeof t||"object"===T(t)&&null!==t&&!Array.isArray(t)}function Qt(t,n){var e=function(t,n){var e=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(e,i).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");if(o+=r?"[^/]+/?":u,i===t.length)if(r)n&&(o+="$");else{var a=n?"":".*";o="/"===o.charAt(o.length-1)?"".concat(o).concat(a,"$"):"".concat(o,"(/").concat(a,")?(#.*)?$")}r=!r,e=i}}(t,n);return function(t){var n=t.origin;n||(n="".concat(t.protocol,"//").concat(t.host));var r=t.href.replace(n,"").replace(t.search,"").split("?")[0];return e.test(r)}}var Xt=!1,Yt=[],Zt=bt&&window.location.href;function tn(){return nn()}function nn(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;if(Xt)return new Promise((function(t,e){Yt.push({resolve:t,reject:e,eventArguments:n})}));var e,r=Gt(),o=r.appsToUnload,i=r.appsToUnmount,u=r.appsToLoad,a=r.appsToMount,s=!1,c=Zt,l=Zt=window.location.href;return un()?(Xt=!0,e=o.concat(u,i,a),h()):(e=u,p());function f(){s=!0}function p(){return Promise.resolve().then((function(){var t=u.map(yt);return Promise.all(t).then(d).then((function(){return[]})).catch((function(t){throw d(),t}))}))}function h(){return Promise.resolve().then((function(){if(window.dispatchEvent(new _(0===e.length?"single-spa:before-no-app-change":"single-spa:before-app-change",v(!0))),window.dispatchEvent(new _("single-spa:before-routing-event",v(!0,{cancelNavigation:f}))),s)return window.dispatchEvent(new _("single-spa:before-mount-routing-event",v(!0))),m(),void Tt(c);var n=o.map(Mt),r=i.map(nt).map((function(t){return t.then(Mt)})).concat(n),l=Promise.all(r);l.then((function(){window.dispatchEvent(new _("single-spa:before-mount-routing-event",v(!0)))}));var p=u.map((function(t){return yt(t).then((function(t){return en(t,l)}))})),h=a.filter((function(t){return u.indexOf(t)<0})).map((function(t){return en(t,l)}));return l.catch((function(t){throw d(),t})).then((function(){return d(),Promise.all(p.concat(h)).catch((function(n){throw t.forEach((function(t){return t.reject(n)})),n})).then(m)}))}))}function m(){var n=Wt();t.forEach((function(t){return t.resolve(n)}));try{var r=0===e.length?"single-spa:no-app-change":"single-spa:app-change";window.dispatchEvent(new _(r,v())),window.dispatchEvent(new _("single-spa:routing-event",v()))}catch(t){setTimeout((function(){throw t}))}if(Xt=!1,Yt.length>0){var o=Yt;Yt=[],nn(o)}return n}function d(){t.forEach((function(t){Ot(t.eventArguments)})),Ot(n)}function v(){var t,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0],f=arguments.length>1?arguments[1]:void 0,p={},h=(O(t={},B,[]),O(t,I,[]),O(t,D,[]),O(t,F,[]),t);r?(u.concat(a).forEach((function(t,n){d(t,B)})),o.forEach((function(t){d(t,D)})),i.forEach((function(t){d(t,I)}))):e.forEach((function(t){d(t)}));var m={detail:{newAppStatuses:p,appsByNewStatus:h,totalAppChanges:e.length,originalEvent:null==n?void 0:n[0],oldUrl:c,newUrl:l,navigationIsCanceled:s}};return f&&H(m.detail,f),m;function d(t,n){var e=J(t);n=n||Ft(e),p[e]=n,(h[n]=h[n]||[]).push(e)}}}function en(t,n){return z(t)?tt(t).then((function(t){return n.then((function(){return z(t)?ot(t):t}))})):n.then((function(){return t}))}var rn=!1;function on(t){var n;rn=!0,t&&t.urlRerouteOnly&&(n=t.urlRerouteOnly,gt=n),bt&&nn()}function un(){return rn}bt&&setTimeout((function(){rn||console.warn(j(1,!1))}),5e3);var an={getRawAppData:function(){return[].concat(Bt)},reroute:nn,NOT_LOADED:D,toLoadPromise:yt,toBootstrapPromise:tt,unregisterApplication:Jt};bt&&window.__SINGLE_SPA_DEVTOOLS__&&(window.__SINGLE_SPA_DEVTOOLS__.exposedMethods=an);var sn=e(6639),cn="4.0.3-pre.389",ln=e(3979),fn={"webservices.rest":"^2.2.0"},pn={featureName:"primary navigation",moduleName:i.e};function hn(){return(0,r.defineConfigSchema)(i.e,p),(0,r.defineExtensionConfigSchema)("link",sn.genericLinkConfigSchema),(0,r.setupOfflineSync)(i.O,[],b),{pages:[{load:(0,r.getAsyncLifecycle)((function(){return Promise.all([e.e(483),e.e(414),e.e(723),e.e(680),e.e(656)]).then(e.bind(e,3656))}),pn),route:function(t){return!t.pathname.startsWith(window.getOpenmrsSpaBase()+"login")},online:!0,offline:!0,order:0},{load:{bootstrap:function(){return Promise.resolve(Tt(window.getOpenmrsSpaBase()+"home"))},mount:function(){return Promise.resolve()},unmount:function(){return Promise.resolve()}},route:function(t){return t.pathname===window.getOpenmrsSpaBase()},order:0}],extensions:[{name:"default-user-panel",slot:"user-panel-slot",order:0,load:(0,r.getAsyncLifecycle)((function(){return Promise.all([e.e(483),e.e(414),e.e(473)]).then(e.bind(e,3473))}),pn),online:!0,offline:!0},{name:"change-locale",slot:"user-panel-slot",order:1,load:(0,r.getAsyncLifecycle)((function(){return Promise.all([e.e(483),e.e(680),e.e(98)]).then(e.bind(e,5098))}),pn),online:{postUserProperties:c},offline:{postUserProperties:f}},{name:"link",load:(0,r.getAsyncLifecycle)((function(){return Promise.resolve().then(e.bind(e,6639))}),{featureName:"Link",moduleName:i.e})}]}}},3979:(t,n,e)=>{var r={"./en.json":[3574,574]};function o(t){if(!e.o(r,t))return Promise.resolve().then((()=>{var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=r[t],o=n[0];return e.e(n[1]).then((()=>e(o)))}o.keys=()=>Object.keys(r),o.id=3979,t.exports=o}}]);