@openmrs/esm-app-shell 10.0.1-pre.5539 → 10.0.1-pre.5545
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.tmp/{openmrs.fec39e8b2462a601.css → openmrs.2366f8911cecaf0f.css} +1 -1
- package/.tmp/openmrs.css +0 -11
- package/.turbo/turbo-build.log +5 -6
- package/dependencies.json +0 -1
- package/dist/{0c3ec589b00659cd.js → 031753d072f15c69.js} +1 -1
- package/dist/031753d072f15c69.js.map +1 -0
- package/dist/04d8feb9d4359f1f.js +1 -0
- package/dist/04d8feb9d4359f1f.js.map +1 -0
- package/dist/05ce2d37a1daa834.js +1 -0
- package/dist/05ce2d37a1daa834.js.map +1 -0
- package/dist/0b75e238cac98eec.js +1 -0
- package/dist/0b75e238cac98eec.js.map +1 -0
- package/dist/282cf17f6e5687b8.js +1 -0
- package/dist/282cf17f6e5687b8.js.map +1 -0
- package/dist/2920145641c09c4d.js +1 -0
- package/dist/2920145641c09c4d.js.map +1 -0
- package/dist/2dff1a92bc9a2725.js +1 -0
- package/dist/{58b422bb3e2b709e.js.map → 2dff1a92bc9a2725.js.map} +1 -1
- package/dist/2fc836ab8d68dc12.js +1 -0
- package/dist/2fc836ab8d68dc12.js.map +1 -0
- package/dist/3136dd8643999f24.js +1 -0
- package/dist/3136dd8643999f24.js.map +1 -0
- package/dist/3d04297932795708.js +1 -0
- package/dist/3d04297932795708.js.map +1 -0
- package/dist/3df1988d05952ad7.js +1 -0
- package/dist/{28b2d84b9ba8a17b.js.map → 3df1988d05952ad7.js.map} +1 -1
- package/dist/3eef8e80f11ca9b4.js +1 -0
- package/dist/3eef8e80f11ca9b4.js.map +1 -0
- package/dist/4599bd0a9024d405.js +1 -0
- package/dist/4599bd0a9024d405.js.map +1 -0
- package/dist/4fc488cad7664f2c.js +1 -0
- package/dist/4fc488cad7664f2c.js.map +1 -0
- package/dist/54875ca06e6fafcd.js +1 -0
- package/dist/{60b81b0c3de3dbcc.js.map → 54875ca06e6fafcd.js.map} +1 -1
- package/dist/561eaf8f6d79fb62.js +1 -0
- package/dist/{3626ab9863946c7b.js.map → 561eaf8f6d79fb62.js.map} +1 -1
- package/dist/5c14561b268aef46.js +1 -0
- package/dist/5c14561b268aef46.js.map +1 -0
- package/dist/5fed09e37d18c002.js +1 -0
- package/dist/{c7ee0af570bf55cb.js.map → 5fed09e37d18c002.js.map} +1 -1
- package/dist/61f48522baa4d4fc.js +1 -0
- package/dist/61f48522baa4d4fc.js.map +1 -0
- package/dist/627c504a8c682995.js +1 -0
- package/dist/{38500563dff47fc6.js.map → 627c504a8c682995.js.map} +1 -1
- package/dist/65e56db2b03f1d2e.js +1 -0
- package/dist/{f3f7ba7a281d137f.js.map → 65e56db2b03f1d2e.js.map} +1 -1
- package/dist/666fc7daf32c11ca.js +1 -0
- package/dist/{4f25fabfbd242652.js.map → 666fc7daf32c11ca.js.map} +1 -1
- package/dist/75bb42fe7c9c7b77.js +1 -0
- package/dist/75bb42fe7c9c7b77.js.map +1 -0
- package/dist/7cf228c10c916060.js +1 -0
- package/dist/7cf228c10c916060.js.map +1 -0
- package/dist/7e61cf61f0fd8435.js +1 -0
- package/dist/7e61cf61f0fd8435.js.map +1 -0
- package/dist/7e94e985736f6433.js +15 -0
- package/dist/7e94e985736f6433.js.map +1 -0
- package/dist/8663374972b63dd0.js +1 -0
- package/dist/8663374972b63dd0.js.map +1 -0
- package/dist/8b339a4472d42390.js +1 -0
- package/dist/8b339a4472d42390.js.map +1 -0
- package/dist/8bd7e7d4a78b3f5d.js +1 -0
- package/dist/8bd7e7d4a78b3f5d.js.map +1 -0
- package/dist/925df42b4aad54ef.js +1 -0
- package/dist/925df42b4aad54ef.js.map +1 -0
- package/dist/92e934ed6a294b48.js +1 -0
- package/dist/92e934ed6a294b48.js.map +1 -0
- package/dist/94db08c37d74f8e6.js +1 -0
- package/dist/94db08c37d74f8e6.js.map +1 -0
- package/dist/988a6152aee0a71f.js +1 -0
- package/dist/{59811cc6672f3c5e.js.map → 988a6152aee0a71f.js.map} +1 -1
- package/dist/9d8d56053913ece7.js +1 -0
- package/dist/{98fa549e4698bac2.js.map → 9d8d56053913ece7.js.map} +1 -1
- package/dist/a320cc5ebbd578aa.js +1 -0
- package/dist/a320cc5ebbd578aa.js.map +1 -0
- package/dist/a67e6d658966fc03.js +1 -0
- package/dist/{5c5d30b9ce092a45.js.map → a67e6d658966fc03.js.map} +1 -1
- package/dist/a7c6cc5f7d5df3cc.js +1 -0
- package/dist/a7c6cc5f7d5df3cc.js.map +1 -0
- package/dist/a8b748cc933a856d.js +1 -0
- package/dist/{a59e93981b163fef.js.map → a8b748cc933a856d.js.map} +1 -1
- package/dist/ac55fdfb68fa02c5.js +1 -0
- package/dist/ac55fdfb68fa02c5.js.map +1 -0
- package/dist/b3ecca387afbe8fa.js +1 -0
- package/dist/b3ecca387afbe8fa.js.map +1 -0
- package/dist/b5620e973d75fba0.js +1 -0
- package/dist/{7bc873dea9adb0c9.js.map → b5620e973d75fba0.js.map} +1 -1
- package/dist/b846dbad2099678e.js +1 -0
- package/dist/b846dbad2099678e.js.map +1 -0
- package/dist/b8c6d524119f74b4.js +1 -0
- package/dist/{e33d524c1897be67.js.map → b8c6d524119f74b4.js.map} +1 -1
- package/dist/bc45832208db8c5c.js +1 -0
- package/dist/{404d8a9d76a18add.js.map → bc45832208db8c5c.js.map} +1 -1
- package/dist/bde5b3201c26a9c0.js +1 -0
- package/dist/bde5b3201c26a9c0.js.map +1 -0
- package/dist/bf576f8339d92b26.js +1 -0
- package/dist/bf576f8339d92b26.js.map +1 -0
- package/dist/c1a327d747ff700c.js +1 -0
- package/dist/{00781fd40b42efd3.js.map → c1a327d747ff700c.js.map} +1 -1
- package/dist/c33a07a92b70a5fa.js +1 -0
- package/dist/c33a07a92b70a5fa.js.map +1 -0
- package/dist/c6dfbd6a0ee16e37.js +1 -0
- package/dist/c6dfbd6a0ee16e37.js.map +1 -0
- package/dist/c7304711c5bc39f8.js +1 -0
- package/dist/{6787ee9c921c765c.js.map → c7304711c5bc39f8.js.map} +1 -1
- package/dist/c9aff7676587de31.js +1 -0
- package/dist/c9aff7676587de31.js.map +1 -0
- package/dist/cc98f9787ffe3fe3.js +1 -0
- package/dist/cc98f9787ffe3fe3.js.map +1 -0
- package/dist/d08b0fa3251554b6.js +1 -0
- package/dist/d08b0fa3251554b6.js.map +1 -0
- package/dist/d6b0bcfd133f4976.js +1 -0
- package/dist/d6b0bcfd133f4976.js.map +1 -0
- package/dist/db6c5d1e99754082.js +1 -0
- package/dist/{5df0e0969c582637.js.map → db6c5d1e99754082.js.map} +1 -1
- package/dist/de0a68fd6cd85a4a.js +1 -0
- package/dist/{a3a573a33ba2d559.js.map → de0a68fd6cd85a4a.js.map} +1 -1
- package/dist/e8f9c5e0127b55b9.js +1 -0
- package/dist/e8f9c5e0127b55b9.js.map +1 -0
- package/dist/ec2f5f7b8f850190.js +1 -0
- package/dist/ec2f5f7b8f850190.js.map +1 -0
- package/dist/edaba5b3f7d26709.js +1 -0
- package/dist/edaba5b3f7d26709.js.map +1 -0
- package/dist/f30c8750c306425c.js +32 -0
- package/dist/f30c8750c306425c.js.map +1 -0
- package/dist/f49125616d97a3ff.js +1 -0
- package/dist/f49125616d97a3ff.js.map +1 -0
- package/dist/index.html +1 -2
- package/dist/{openmrs.fec39e8b2462a601.css → openmrs.2366f8911cecaf0f.css} +1 -1
- package/dist/openmrs.73b95dcb8ed93fe6.js +8 -0
- package/dist/openmrs.73b95dcb8ed93fe6.js.map +1 -0
- package/lib/{36af6fd3e29fff87.js → 4afcde165187cf34.js} +1 -5
- package/lib/{9585b7e8fd13cf44.js → e33a7cd5a9ebb90f.js} +39 -1144
- package/lib/{46f6744c9bdc7ce1.js → f865020c91218e5f.js} +3 -3
- package/lib/index.html +0 -1
- package/lib/openmrs.css +0 -11
- package/lib/openmrs.js +7 -7
- package/package.json +7 -9
- package/rspack.config.js +0 -3
- package/src/events.test.ts +36 -29
- package/src/events.ts +11 -8
- package/src/index.ejs +0 -1
- package/src/index.ts +1 -6
- package/src/optionaldeps.ts +1 -1
- package/src/run.ts +1 -127
- package/dist/00781fd40b42efd3.js +0 -1
- package/dist/013da7b545f9b832.js +0 -1
- package/dist/013da7b545f9b832.js.map +0 -1
- package/dist/03aa011e42235226.js +0 -1
- package/dist/03aa011e42235226.js.map +0 -1
- package/dist/0c3ec589b00659cd.js.map +0 -1
- package/dist/14cab659fd85b863.js +0 -1
- package/dist/14cab659fd85b863.js.map +0 -1
- package/dist/17af628ac569a1f2.js +0 -1
- package/dist/17af628ac569a1f2.js.map +0 -1
- package/dist/1c79b5f63ceb5f34.js +0 -1
- package/dist/1c79b5f63ceb5f34.js.map +0 -1
- package/dist/205f194d86e5ac67.js +0 -1
- package/dist/205f194d86e5ac67.js.map +0 -1
- package/dist/2193b26fed11886c.js +0 -1
- package/dist/2193b26fed11886c.js.map +0 -1
- package/dist/27bbc85bbabee1a5.js +0 -1
- package/dist/27bbc85bbabee1a5.js.map +0 -1
- package/dist/28b2d84b9ba8a17b.js +0 -1
- package/dist/32623ec20d67b16e.js +0 -1
- package/dist/32623ec20d67b16e.js.map +0 -1
- package/dist/3626ab9863946c7b.js +0 -1
- package/dist/38500563dff47fc6.js +0 -1
- package/dist/3c26a553b5db1c11.js +0 -1
- package/dist/3c26a553b5db1c11.js.map +0 -1
- package/dist/3eecc04b32da713c.js +0 -1
- package/dist/3eecc04b32da713c.js.map +0 -1
- package/dist/404d8a9d76a18add.js +0 -1
- package/dist/4487667604ad6f7b.js +0 -1
- package/dist/4487667604ad6f7b.js.map +0 -1
- package/dist/47bd06b70fa65c4f.js +0 -1
- package/dist/47bd06b70fa65c4f.js.map +0 -1
- package/dist/48dcf82a03f07687.js +0 -1
- package/dist/48dcf82a03f07687.js.map +0 -1
- package/dist/4d8f12edc7efe373.js +0 -1
- package/dist/4d8f12edc7efe373.js.map +0 -1
- package/dist/4f25fabfbd242652.js +0 -1
- package/dist/5120f4771ea4fb54.js +0 -1
- package/dist/5120f4771ea4fb54.js.map +0 -1
- package/dist/557ef6dd5c99796c.js +0 -1
- package/dist/557ef6dd5c99796c.js.map +0 -1
- package/dist/57d3240a2dc16b0d.js +0 -15
- package/dist/57d3240a2dc16b0d.js.map +0 -1
- package/dist/58b422bb3e2b709e.js +0 -1
- package/dist/59811cc6672f3c5e.js +0 -1
- package/dist/5c5d30b9ce092a45.js +0 -1
- package/dist/5df0e0969c582637.js +0 -1
- package/dist/60b81b0c3de3dbcc.js +0 -1
- package/dist/616b2aedcab751be.js +0 -1
- package/dist/616b2aedcab751be.js.map +0 -1
- package/dist/61b616c98ab0405a.js +0 -1
- package/dist/61b616c98ab0405a.js.map +0 -1
- package/dist/6787ee9c921c765c.js +0 -1
- package/dist/698e7aab19095311.js +0 -1
- package/dist/698e7aab19095311.js.map +0 -1
- package/dist/6cd82326717c86ed.js +0 -1
- package/dist/6cd82326717c86ed.js.map +0 -1
- package/dist/724db602f85d13fd.js +0 -1
- package/dist/724db602f85d13fd.js.map +0 -1
- package/dist/78d0228dbe6555c1.js +0 -1
- package/dist/78d0228dbe6555c1.js.map +0 -1
- package/dist/79985e1be7b11090.js +0 -1
- package/dist/79985e1be7b11090.js.map +0 -1
- package/dist/7bc873dea9adb0c9.js +0 -1
- package/dist/820d3a7f53689510.js +0 -32
- package/dist/820d3a7f53689510.js.map +0 -1
- package/dist/87fe0aee69d5a4ad.js +0 -1
- package/dist/87fe0aee69d5a4ad.js.map +0 -1
- package/dist/895f33fe88ab78c6.js +0 -1
- package/dist/895f33fe88ab78c6.js.map +0 -1
- package/dist/8f913fa8d380ebae.js +0 -1
- package/dist/8f913fa8d380ebae.js.map +0 -1
- package/dist/98fa549e4698bac2.js +0 -1
- package/dist/9b71fd53d6597470.js +0 -1
- package/dist/9b71fd53d6597470.js.map +0 -1
- package/dist/9ca23c5ecfdf0b6a.js +0 -1
- package/dist/9ca23c5ecfdf0b6a.js.map +0 -1
- package/dist/a3a573a33ba2d559.js +0 -1
- package/dist/a59e93981b163fef.js +0 -1
- package/dist/a71261b407223792.js +0 -1
- package/dist/a71261b407223792.js.map +0 -1
- package/dist/b1a08d9f518cb48c.js +0 -1
- package/dist/b1a08d9f518cb48c.js.map +0 -1
- package/dist/b3536c459d989096.js +0 -1
- package/dist/b3536c459d989096.js.map +0 -1
- package/dist/b80022326e66d4dd.js +0 -1
- package/dist/b80022326e66d4dd.js.map +0 -1
- package/dist/c0b0b589e927e230.js +0 -1
- package/dist/c0b0b589e927e230.js.map +0 -1
- package/dist/c6f3e7b121439a5d.js +0 -1
- package/dist/c6f3e7b121439a5d.js.map +0 -1
- package/dist/c7ee0af570bf55cb.js +0 -1
- package/dist/ca024710e6f87fbc.js +0 -1
- package/dist/ca024710e6f87fbc.js.map +0 -1
- package/dist/cf39cc1e9ef3d2cd.js +0 -1
- package/dist/cf39cc1e9ef3d2cd.js.map +0 -1
- package/dist/d0374d830553d3ad.js +0 -1
- package/dist/d0374d830553d3ad.js.map +0 -1
- package/dist/d20e6ba912862835.js +0 -1
- package/dist/d20e6ba912862835.js.map +0 -1
- package/dist/e33d524c1897be67.js +0 -1
- package/dist/eb9b3b579b6cf027.js +0 -1
- package/dist/eb9b3b579b6cf027.js.map +0 -1
- package/dist/f3f7ba7a281d137f.js +0 -1
- package/dist/f4e99831687680e7.js +0 -1
- package/dist/f4e99831687680e7.js.map +0 -1
- package/dist/openmrs.8d68b614f8a43669.js +0 -8
- package/dist/openmrs.8d68b614f8a43669.js.map +0 -1
- package/lib/3486b148a0446829.js +0 -336
- package/lib/3847735de5f0c8c6.js +0 -84
- package/src/service-worker/caching.ts +0 -95
- package/src/service-worker/constants.ts +0 -19
- package/src/service-worker/http-header-utils.ts +0 -29
- package/src/service-worker/import-map-utils.ts +0 -65
- package/src/service-worker/index.ts +0 -27
- package/src/service-worker/message.ts +0 -93
- package/src/service-worker/noop.ts +0 -27
- package/src/service-worker/routing.ts +0 -113
- package/src/service-worker/storage.ts +0 -37
- package/src/service-worker/types.ts +0 -21
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"c0b0b589e927e230.js","sources":["webpack://@openmrs/esm-app-shell/json|/home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/framework/esm-translations/translations/si.json"],"names":["JSON"],"mappings":"wIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,i7G"}
|
package/dist/c6f3e7b121439a5d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_app_shell=globalThis.webpackChunk_openmrs_esm_app_shell||[]).push([["5778"],{78777(e){e.exports=JSON.parse('{"actionableNotification":"Actionable notification","actions":"Actions","address":"Address","address1":"Address line 1","address2":"Address line 2","address3":"Address line 3","address4":"Address line 4","address5":"Address line 5","address6":"Address line 6","age":"Age","cancel":"Cancel","change":"Change","city":"City","cityVillage":"City","Clinic":"Clinic","close":"Close","closeAllOpenedWorkspaces":"Discard changes in {{count}} workspaces","closesActionableNotification":"Closes actionable notification","closeSnackbar":"Close snackbar","closeWorkspaces2PromptBody":"You are about to close the following workspace(s), which might have unsaved changes:","closeWorkspaces2PromptTitle":"Close workspace(s)","closingAllWorkspacesPromptBody":"There may be unsaved changes in the following workspaces. Do you want to discard changes in the following workspaces? {{workspaceNames}}","closingAllWorkspacesPromptTitle":"You have unsaved changes","confirm":"Confirm","contactAdministratorIfIssuePersists":"Contact your system administrator if the problem persists.","contactDetails":"Contact Details","country":"Country","countyDistrict":"District","delete":"Delete","discard":"Discard","discardChanges":"Discard changes","district":"District","edit":"Edit","emptyStateText":"There are no {{displayText}} to display","error":"Error","errorCopy":"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.","errorLoadingLoginLocations":"Unable to load login locations. Please try again or contact support if the problem persists.","female":"Female","hide":"Hide","leftNavigation":"Left navigation","loading":"Loading","male":"Male","maximize":"Maximize","minimize":"Minimize","noResultsToDisplay":"No results to display","openAnyway":"Open Anyway","other":"Other","paginationItemsCount":"{{pageItemsCount}} / {{totalItems}} items","paginationOfPages":"of {{count}} pages","patientAvatarAlt":"Avatar for {{patientName}}","patientIdentifierSticker":"Patient identifier sticker","patientLists":"Patient Lists","patientPhotoAlt":"Profile photo of {{patientName}}","patientPhotoPlaceholder":"Photo placeholder for {{patientName}}","postalCode":"Postal code","print":"Print","printError":"Print error","printErrorExplainer":"An error occurred in {{errorLocation}}","printIdentifierSticker":"Print identifier sticker","printing":"Printing","recordNewEntry":"Record {{displayText}}","relationships":"Relationships","resetOverrides":"Reset overrides","save":"Save","scriptLoadingError":"Failed to load overridden script from {{url}}. Please check that the bundled script is available at the expected URL. Click the button below to reset all import map overrides.","scriptLoadingFailed":"Error: Script failed to load","searchForLocation":"Search for a location","seeAll":"See all","seeMoreLists":"See {{count}} more lists","sex":"Sex","showLess":"Show less","showMore":"Show more","snackbarNotification":"Snackbar notification","state":"State","stateProvince":"State","toggleDevTools":"Toggle dev tools","unknown":"Unknown","unsavedChangesInOpenedWorkspace":"You may have unsaved changes in the opened workspace. Do you want to discard these changes?","unsavedChangesInWorkspace":"There may be unsaved changes in \\"{{workspaceName}}\\". Please save them before opening another workspace.","unsavedChangesTitleText":"Unsaved changes","workspaceHeader":"Workspace header","yearAbbreviation":"yr","yearsAbbreviation":"yrs"}')}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"c6f3e7b121439a5d.js","sources":["webpack://@openmrs/esm-app-shell/json|/home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/framework/esm-translations/translations/uz.json"],"names":["JSON"],"mappings":"wIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,i7G"}
|
package/dist/c7ee0af570bf55cb.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(globalThis.webpackChunk_openmrs_esm_app_shell=globalThis.webpackChunk_openmrs_esm_app_shell||[]).push([["330"],{64966(e){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},57121(e,t,n){"use strict";let r;n.r(t),n.d(t,{withSSR:()=>K,getDefaults:()=>k,TransWithoutContext:()=>L,initReactI18next:()=>q,withTranslation:()=>U,getI18n:()=>T,useTranslation:()=>B,date:()=>G,composeInitialProps:()=>D,Translation:()=>W,select:()=>J,selectOrdinal:()=>Q,setI18n:()=>S,I18nContext:()=>P,time:()=>X,number:()=>Y,I18nextProvider:()=>H,plural:()=>Z,Trans:()=>F,getInitialProps:()=>z,setDefaults:()=>$,useSSR:()=>M});var a=n(46925),i=n(64966),s=n.n(i),l=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function o(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(s()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("--\x3e");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var a=new RegExp(l),i=null;null!==(i=a.exec(e));)if(i[0].trim())if(i[1]){var o=i[1].trim(),u=[o,""];o.indexOf("=")>-1&&(u=o.split("=")),t.attrs[u[0]]=u[1],a.lastIndex--}else i[2]&&(t.attrs[i[2]]=i[3].trim().substring(1,i[3].length-1));return t}var u=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,c=/^\s*$/,p=Object.create(null);let d=function(e,t){t||(t={}),t.components||(t.components=p);var n,r=[],a=[],i=-1,s=!1;if(0!==e.indexOf("<")){var l=e.indexOf("<");r.push({type:"text",content:-1===l?e:e.substring(0,l)})}return e.replace(u,function(l,u){if(s){if(l!=="</"+n.name+">")return;s=!1}var p,d="/"!==l.charAt(1),f=l.startsWith("\x3c!--"),m=u+l.length,g=e.charAt(m);if(f){var h=o(l);return i<0?r.push(h):(p=a[i]).children.push(h),r}if(d&&(i++,"tag"===(n=o(l)).type&&t.components[n.name]&&(n.type="component",s=!0),n.voidElement||s||!g||"<"===g||n.children.push({type:"text",content:e.slice(m,e.indexOf("<",m))}),0===i&&r.push(n),(p=a[i-1])&&p.children.push(n),a[i]=n),(!d||n.voidElement)&&(i>-1&&(n.voidElement||n.name===l.slice(2,-1))&&(n=-1==--i?r:a[i]),!s&&"<"!==g&&g)){p=-1===i?r:a[i].children;var y=e.indexOf("<",m),N=e.slice(m,-1===y?void 0:y);c.test(N)&&(N=" "),(y>-1&&i+p.length>=0||" "!==N)&&p.push({type:"text",content:N})}}),r},f=(e,t,n,r)=>{let a=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(a,"warn","react-i18next::",!0);E(a[0])&&(a[0]=`react-i18next:: ${a[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...a):console?.warn&&console.warn(...a)},m={},g=(e,t,n,r)=>{E(n)&&m[n]||(E(n)&&(m[n]=new Date),f(e,t,n,r))},h=(e,t)=>()=>{if(e.isInitialized)t();else{let n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},y=(e,t,n)=>{e.loadNamespaces(t,h(e,n))},N=(e,t,n,r)=>{if(E(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return y(e,n,r);n.forEach(t=>{0>e.options.ns.indexOf(t)&&e.options.ns.push(t)}),e.loadLanguages(t,h(e,r))},b=e=>e.displayName||e.name||(E(e)&&e.length>0?e:"Unknown"),E=e=>"string"==typeof e,x=e=>"object"==typeof e&&null!==e,v=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,O={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"\xa9","©":"\xa9","®":"\xae","®":"\xae","…":"…","…":"…","/":"/","/":"/"},I=e=>O[e],w={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(v,I)},$=(e={})=>{w={...w,...e}},k=()=>w,S=e=>{r=e},T=()=>r,A=(e,t)=>{if(!e)return!1;let n=e.props?.children??e.children;return t?n.length>0:!!n},R=e=>{if(!e)return[];let t=e.props?.children??e.children;return e.props?.i18nIsDynamicList?C(t):t},C=e=>Array.isArray(e)?e:[e],_=(e,t,n,r)=>{if(!e)return"";let i="",s=C(e),l=t?.transSupportBasicHtmlNodes?t.transKeepBasicHtmlNodesFor??[]:[];return s.forEach((e,s)=>{if(E(e)){i+=`${e}`;return}if((0,a.isValidElement)(e)){let{props:a,type:o}=e,u=Object.keys(a).length,c=l.indexOf(o)>-1,p=a.children;if(!p&&c&&!u){i+=`<${o}/>`;return}if(!p&&(!c||u)||a.i18nIsDynamicList){i+=`<${s}></${s}>`;return}if(c&&1===u&&E(p)){i+=`<${o}>${p}</${o}>`;return}let d=_(p,t,n,r);i+=`<${s}>${d}</${s}>`;return}if(null===e)return void f(n,"TRANS_NULL_VALUE","Passed in a null value as child",{i18nKey:r});if(x(e)){let{format:t,...a}=e,s=Object.keys(a);if(1===s.length){let e=t?`${s[0]}, ${t}`:s[0];i+=`{{${e}}}`;return}f(n,"TRANS_INVALID_OBJ","Invalid child - Object should only have keys {{ value, format }} (format is optional).",{i18nKey:r,child:e});return}f(n,"TRANS_INVALID_VAR","Passed in a variable like {number} - pass variables for interpolation as full objects like {{number}}.",{i18nKey:r,child:e})}),i},j=(e,t,n)=>{let r=e.key||t,i=(0,a.cloneElement)(e,{key:r});return!i.props||!i.props.children||0>n.indexOf(`${t}/>`)&&0>n.indexOf(`${t} />`)?i:(0,a.createElement)(function(){return(0,a.createElement)(a.Fragment,null,i)},{key:r})};function L({children:e,count:t,parent:n,i18nKey:r,context:i,tOptions:s={},values:l,defaults:o,components:u,ns:c,i18n:p,t:f,shouldUnescape:m,...h}){let y=p||T();if(!y)return g(y,"NO_I18NEXT_INSTANCE","Trans: You need to pass in an i18next instance using i18nextReactModule",{i18nKey:r}),e;let N=f||y.t.bind(y)||(e=>e),b={...k(),...y.options?.react},v=c||N.ns||y.options?.defaultNS;v=E(v)?[v]:v||["translation"];let O=_(e,b,y,r),I=o||O||b.transEmptyNodeValue||r,{hashTransKey:w}=b,$=r||(w?w(O||I):O||I);y.options?.interpolation?.defaultVariables&&(l=l&&Object.keys(l).length>0?{...l,...y.options.interpolation.defaultVariables}:{...y.options.interpolation.defaultVariables});let S=!l&&(void 0===t||y.options?.interpolation?.alwaysFormat)&&e?{interpolation:{...s.interpolation,prefix:"#$?",suffix:"?$#"}}:s.interpolation,P={...s,context:i||s.context,count:t,...l,...S,defaultValue:I,ns:v},V=$?N($,P):I,D=((e,t,n,r)=>{if(!e)return null;if(Array.isArray(e))return e.map((e,n)=>j(e,n,t));if(x(e)){let n;return n={},Object.keys(e).forEach(r=>{Object.assign(n,{[r]:j(e[r],r,t)})}),n}return g(n,"TRANS_INVALID_COMPONENTS",'<Trans /> "components" prop expects an object or array',{i18nKey:r}),null})(u,V,y,r),z=D||e,F=null;!(!x(D)||Array.isArray(D))&&Object.keys(D).reduce((e,t)=>e&&Number.isNaN(Number.parseFloat(t)),!0)&&(F=D,z=e);let B=((e,t,n,r,i,s,l)=>{if(""===n)return[];let o=i.transKeepBasicHtmlNodesFor||[],u=n&&new RegExp(o.map(e=>`<${e}`).join("|")).test(n);if(!e&&!t&&!u&&!l)return[n];let c=t??{},p=e=>{C(e).forEach(e=>{E(e)||(A(e)?p(R(e)):x(e)&&!(0,a.isValidElement)(e)&&Object.assign(c,e))})};p(e);let f=d(`<0>${n}</0>`),m={...c,...s},g=(e,t,n)=>{let r=R(e),i=y(r,t.children,n);return Array.isArray(r)&&r.every(a.isValidElement)&&0===i.length||e.props?.i18nIsDynamicList?r:i},h=(e,t,n,r,i)=>{e.dummy?(e.children=t,n.push((0,a.cloneElement)(e,{key:r},i?void 0:t))):n.push(...a.Children.map([e],e=>{let n={...e.props};return delete n.i18nIsDynamicList,(0,a.createElement)(e.type,{...n,key:r,ref:e.props.ref??e.ref},i?null:t)}))},y=(e,n,s)=>{let c=C(e);return C(n).reduce((e,n,p)=>{let d=n.children?.[0]?.content&&r.services.interpolator.interpolate(n.children[0].content,m,r.language);if("tag"===n.type){var f,N;let l,b=c[parseInt(n.name,10)];!b&&t&&(b=t[n.name]),1!==s.length||b||(b=s[0][n.name]),b||(b={});let v=0!==Object.keys(n.attrs).length?(f={props:n.attrs},(l={...N=b}).props=Object.assign(f.props,N.props),l):b,O=(0,a.isValidElement)(v),I=O&&A(n,!0)&&!n.voidElement,w=u&&x(v)&&v.dummy&&!O,$=x(t)&&Object.hasOwnProperty.call(t,n.name);if(E(v)){let t=r.services.interpolator.interpolate(v,m,r.language);e.push(t)}else if(A(v)||I){let t=g(v,n,s);h(v,t,e,p)}else if(w)h(v,y(c,n.children,s),e,p);else if(Number.isNaN(parseFloat(n.name)))if($){let t=g(v,n,s);h(v,t,e,p,n.voidElement)}else if(i.transSupportBasicHtmlNodes&&o.indexOf(n.name)>-1)if(n.voidElement)e.push((0,a.createElement)(n.name,{key:`${n.name}-${p}`}));else{let t=y(c,n.children,s);e.push((0,a.createElement)(n.name,{key:`${n.name}-${p}`},t))}else if(n.voidElement)e.push(`<${n.name} />`);else{let t=y(c,n.children,s);e.push(`<${n.name}>${t}</${n.name}>`)}else if(x(v)&&!O){let t=n.children[0]?d:null;t&&e.push(t)}else h(v,d,e,p,1!==n.children.length||!d)}else if("text"===n.type){let t=i.transWrapTextNodes,s=l?i.unescape(r.services.interpolator.interpolate(n.content,m,r.language)):r.services.interpolator.interpolate(n.content,m,r.language);t?e.push((0,a.createElement)(t,{key:`${n.name}-${p}`},s)):e.push(s)}return e},[])};return R(y([{dummy:!0,children:e||[]}],f,C(e||[]))[0])})(z,F,V,y,b,P,m),U=n??b.defaultTransParent;return U?(0,a.createElement)(U,h,B):B}let P=(0,a.createContext)();class V{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}let D=e=>async t=>{let n=await e.getInitialProps?.(t)??{},r=z();return{...n,...r}},z=()=>{let e=T(),t=e.reportNamespaces?.getUsedNamespaces()??[],n={},r={};return e.languages.forEach(n=>{r[n]={},t.forEach(t=>{r[n][t]=e.getResourceBundle(n,t)||{}})}),n.initialI18nStore=r,n.initialLanguage=e.language,n};function F({children:e,count:t,parent:n,i18nKey:r,context:i,tOptions:s={},values:l,defaults:o,components:u,ns:c,i18n:p,t:d,shouldUnescape:f,...m}){let{i18n:g,defaultNS:h}=(0,a.useContext)(P)||{},y=p||g||T(),N=d||y?.t.bind(y);return L({children:e,count:t,parent:n,i18nKey:r,context:i,tOptions:s,values:l,defaults:o,components:u,ns:c||N?.ns||h||y?.options?.defaultNS,i18n:y,t:d,shouldUnescape:f,...m})}let B=(e,t={})=>{var n,r,i;let s,{i18n:l}=t,{i18n:o,defaultNS:u}=(0,a.useContext)(P)||{},c=l||o||T();if(c&&!c.reportNamespaces&&(c.reportNamespaces=new V),!c){g(c,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");let e=(e,t)=>E(t)?t:x(t)&&E(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}c.options.react?.wait&&g(c,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");let p={...k(),...c.options.react,...t},{useSuspense:d,keyPrefix:f}=p,m=e||u||c.options?.defaultNS;m=E(m)?[m]:m||["translation"],c.reportNamespaces.addUsedNamespaces?.(m);let h=(c.isInitialized||c.initializedStoreOnce)&&m.every(e=>((e,t,n={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):(g(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0))(e,c,p)),b=(n=t.lng||null,r="fallback"===p.nsMode?m:m[0],(0,a.useCallback)(c.getFixedT(n,r,f),[c,n,r,f])),v=()=>b,O=()=>{let e,n;return e=t.lng||null,n="fallback"===p.nsMode?m:m[0],c.getFixedT(e,n,f)},[I,w]=(0,a.useState)(v),$=m.join();t.lng&&($=`${t.lng}${$}`);let S=(i=$,s=(0,a.useRef)(),(0,a.useEffect)(()=>{s.current=i},[i,void 0]),s.current),A=(0,a.useRef)(!0);(0,a.useEffect)(()=>{let{bindI18n:e,bindI18nStore:n}=p;A.current=!0,h||d||(t.lng?N(c,t.lng,m,()=>{A.current&&w(O)}):y(c,m,()=>{A.current&&w(O)})),h&&S&&S!==$&&A.current&&w(O);let r=()=>{A.current&&w(O)};return e&&c?.on(e,r),n&&c?.store.on(n,r),()=>{A.current=!1,c&&e&&e?.split(" ").forEach(e=>c.off(e,r)),n&&c&&n.split(" ").forEach(e=>c.store.off(e,r))}},[c,$]),(0,a.useEffect)(()=>{A.current&&h&&w(v)},[c,f,h]);let R=[I,c,h];if(R.t=I,R.i18n=c,R.ready=h,h||!h&&!d)return R;throw new Promise(e=>{t.lng?N(c,t.lng,m,()=>e()):y(c,m,()=>e())})},U=(e,t={})=>function(n){function r({forwardedRef:i,...s}){let[l,o,u]=B(e,{...s,keyPrefix:t.keyPrefix}),c={...s,t:l,i18n:o,tReady:u};return t.withRef&&i?c.ref=i:!t.withRef&&i&&(c.forwardedRef=i),(0,a.createElement)(n,c)}return r.displayName=`withI18nextTranslation(${b(n)})`,r.WrappedComponent=n,t.withRef?(0,a.forwardRef)((e,t)=>(0,a.createElement)(r,Object.assign({},e,{forwardedRef:t}))):r},W=({ns:e,children:t,...n})=>{let[r,a,i]=B(e,n);return t(r,{i18n:a,lng:a.language},i)};function H({i18n:e,defaultNS:t,children:n}){let r=(0,a.useMemo)(()=>({i18n:e,defaultNS:t}),[e,t]);return(0,a.createElement)(P.Provider,{value:r},n)}let M=(e,t,n={})=>{let{i18n:r}=n,{i18n:i}=(0,a.useContext)(P)||{},s=r||i||T();s.options?.isClone||(e&&!s.initializedStoreOnce&&(s.services.resourceStore.data=e,s.options.ns=Object.values(e).reduce((e,t)=>(Object.keys(t).forEach(t=>{0>e.indexOf(t)&&e.push(t)}),e),s.options.ns),s.initializedStoreOnce=!0,s.isInitialized=!0),t&&!s.initializedLanguageOnce&&(s.changeLanguage(t),s.initializedLanguageOnce=!0))},K=()=>function(e){function t({initialI18nStore:n,initialLanguage:r,...i}){return M(n,r),(0,a.createElement)(e,{...i})}return t.getInitialProps=D(e),t.displayName=`withI18nextSSR(${b(e)})`,t.WrappedComponent=e,t},q={type:"3rdParty",init(e){$(e.options.react),S(e)}},G=()=>"",X=()=>"",Y=()=>"",J=()=>"",Z=()=>"",Q=()=>""}}]);
|
package/dist/ca024710e6f87fbc.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_app_shell=globalThis.webpackChunk_openmrs_esm_app_shell||[]).push([["7707"],{62614(e){e.exports=JSON.parse('{"actionableNotification":"Actionable notification","actions":"Actions","address":"Address","address1":"Address line 1","address2":"Address line 2","address3":"Address line 3","address4":"Address line 4","address5":"Address line 5","address6":"Address line 6","age":"Age","cancel":"Cancel","change":"ផ្លាស់ប្តូរ","city":"City","cityVillage":"City","Clinic":"Clinic","close":"Close","closeAllOpenedWorkspaces":"Discard changes in {{count}} workspaces","closesActionableNotification":"Closes actionable notification","closeSnackbar":"Close snackbar","closeWorkspaces2PromptBody":"You are about to close the following workspace(s), which might have unsaved changes:","closeWorkspaces2PromptTitle":"Close workspace(s)","closingAllWorkspacesPromptBody":"There may be unsaved changes in the following workspaces. Do you want to discard changes in the following workspaces? {{workspaceNames}}","closingAllWorkspacesPromptTitle":"You have unsaved changes","confirm":"Confirm","contactAdministratorIfIssuePersists":"Contact your system administrator if the problem persists.","contactDetails":"Contact Details","country":"Country","countyDistrict":"District","delete":"Delete","discard":"Discard","discardChanges":"Discard changes","district":"District","edit":"Edit","emptyStateText":"There are no {{displayText}} to display","error":"Error","errorCopy":"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.","errorLoadingLoginLocations":"Unable to load login locations. Please try again or contact support if the problem persists.","female":"Female","hide":"Hide","leftNavigation":"Left navigation","loading":"Loading","male":"Male","maximize":"Maximize","minimize":"Minimize","noResultsToDisplay":"No results to display","openAnyway":"Open Anyway","other":"Other","paginationItemsCount":"{{pageItemsCount}} / {{totalItems}} items","paginationOfPages":"of {{count}} pages","patientAvatarAlt":"Avatar for {{patientName}}","patientIdentifierSticker":"Patient identifier sticker","patientLists":"Patient Lists","patientPhotoAlt":"Profile photo of {{patientName}}","patientPhotoPlaceholder":"Photo placeholder for {{patientName}}","postalCode":"Postal code","print":"Print","printError":"Print error","printErrorExplainer":"An error occurred in {{errorLocation}}","printIdentifierSticker":"Print identifier sticker","printing":"Printing","recordNewEntry":"Record {{displayText}}","relationships":"Relationships","resetOverrides":"Reset overrides","save":"Save","scriptLoadingError":"Failed to load overridden script from {{url}}. Please check that the bundled script is available at the expected URL. Click the button below to reset all import map overrides.","scriptLoadingFailed":"Error: Script failed to load","searchForLocation":"Search for a location","seeAll":"See all","seeMoreLists":"See {{count}} more lists","sex":"Sex","showLess":"Show less","showMore":"Show more","snackbarNotification":"Snackbar notification","state":"State","stateProvince":"State","toggleDevTools":"Toggle dev tools","unknown":"Unknown","unsavedChangesInOpenedWorkspace":"You may have unsaved changes in the opened workspace. Do you want to discard these changes?","unsavedChangesInWorkspace":"There may be unsaved changes in \\"{{workspaceName}}\\". Please save them before opening another workspace.","unsavedChangesTitleText":"Unsaved changes","workspaceHeader":"Workspace header","yearAbbreviation":"yr","yearsAbbreviation":"yrs"}')}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ca024710e6f87fbc.js","sources":["webpack://@openmrs/esm-app-shell/json|/home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/framework/esm-translations/translations/km.json"],"names":["JSON"],"mappings":"wIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,s7G"}
|
package/dist/cf39cc1e9ef3d2cd.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_app_shell=globalThis.webpackChunk_openmrs_esm_app_shell||[]).push([["5874"],{49161(e){e.exports=JSON.parse('{"actionableNotification":"Benachrichtigung, die eine Aktion erfordert","actions":"Aktionen","address":"Adresse","address1":"Adresszeile 1","address2":"Adresszeile 2","address3":"Adresszeile 3","address4":"Adresszeile 4","address5":"Adresszeile 5","address6":"Adresszeile 6","age":"Alter","cancel":"Abbrechen","change":"\xc4ndern","city":"Stadt","cityVillage":"Stadt","Clinic":"Klinik","close":"Schlie\xdfen","closeAllOpenedWorkspaces":"\xc4nderungen in {{count}} Arbeitsbereichen verwerfen","closesActionableNotification":"Schlie\xdft die Benachrichtigung, die eine Aktion erfordert","closeSnackbar":"Snackbar schlie\xdfen","closeWorkspaces2PromptBody":"Sie sind dabei, den/die folgenden Arbeitsbereich(e) zu schlie\xdfen, in denen m\xf6glicherweise noch nicht gespeicherte \xc4nderungen vorhanden sind:","closeWorkspaces2PromptTitle":"Arbeitsbereich(e) schlie\xdfen","closingAllWorkspacesPromptBody":"In den folgenden Arbeitsbereichen sind m\xf6glicherweise noch nicht gespeicherte \xc4nderungen vorhanden. M\xf6chten Sie die \xc4nderungen in den folgenden Arbeitsbereichen verwerfen? {{workspaceNames}}","closingAllWorkspacesPromptTitle":"Sie haben noch nicht gespeicherte \xc4nderungen","confirm":"Best\xe4tigen","contactAdministratorIfIssuePersists":"Wenden Sie sich an Ihren Systemadministrator, falls das Problem weiterhin besteht.","contactDetails":"Kontaktdaten","country":"Land","countyDistrict":"Landkreis","delete":"L\xf6schen","discard":"Verwerfen","discardChanges":"\xc4nderungen verwerfen","district":"Landkreis","edit":"Bearbeiten","emptyStateText":"Es gibt keine {{displayText}} anzuzeigen","error":"Fehler","errorCopy":"Leider ist bei der Anzeige dieser Informationen ein Problem aufgetreten. Sie k\xf6nnen versuchen, die Seite neu zu laden, oder sich unter Angabe des oben genannten Fehlercodes an den Systemadministrator wenden.","errorLoadingLoginLocations":"Die Standorte f\xfcr die Anmeldung k\xf6nnen nicht geladen werden. Bitte versuchen Sie es erneut oder wenden Sie sich an den Support, falls das Problem weiterhin besteht.","female":"weiblich","hide":"Ausblenden","leftNavigation":"Navigation links","loading":"Wird geladen","male":"m\xe4nnlich","maximize":"Maximieren","minimize":"Minimieren","noResultsToDisplay":"Keine Ergebnisse anzuzeigen","openAnyway":"Trotzdem \xf6ffnen","other":"Andere","paginationItemsCount":"{{pageItemsCount}} / {{totalItems}} Artikel","paginationOfPages":"von {{count}} Seiten","patientAvatarAlt":"Profilbild f\xfcr {{patientName}}","patientIdentifierSticker":"Aufkleber zur Patientenidentifizierung","patientLists":"Patientenlisten","patientPhotoAlt":"Profilfoto von {{patientName}}","patientPhotoPlaceholder":"Platzhalter f\xfcr Foto von {{patientName}}","postalCode":"Postleitzahl","print":"Drucken","printError":"Druckfehler","printErrorExplainer":"In {{errorLocation}} ist ein Fehler aufgetreten","printIdentifierSticker":"Aufkleber mit Identifikationsnummer drucken","printing":"Drucken","recordNewEntry":"Eintrag {{displayText}}","relationships":"Beziehungen","resetOverrides":"\xdcberschreibungen zur\xfccksetzen","save":"Speichern","scriptLoadingError":"Das \xfcberschriebene Skript konnte nicht von {{url}} geladen werden. Bitte \xfcberpr\xfcfen Sie, ob das eingebundene Skript unter der erwarteten URL verf\xfcgbar ist. Klicken Sie auf die Schaltfl\xe4che unten, um alle \xdcberschreibungen der Import-Map zur\xfcckzusetzen.","scriptLoadingFailed":"Fehler: Das Skript konnte nicht geladen werden","searchForLocation":"Standort suchen","seeAll":"Alle anzeigen","seeMoreLists":"{{count}} weitere Listen anzeigen","sex":"Geschlecht","showLess":"Weniger anzeigen","showMore":"Mehr anzeigen","snackbarNotification":"Snackbar Benachrichtigung","state":"Bundesland","stateProvince":"Bundesland","toggleDevTools":"Entwickler-Tools ein-/ausblenden","unknown":"Unbekannt","unsavedChangesInOpenedWorkspace":"M\xf6glicherweise sind im ge\xf6ffneten Arbeitsbereich noch nicht gespeicherte \xc4nderungen vorhanden. M\xf6chten Sie diese \xc4nderungen verwerfen?","unsavedChangesInWorkspace":"M\xf6glicherweise sind in „{{workspaceName}}“ noch nicht gespeicherte \xc4nderungen vorhanden. Bitte speichern Sie diese, bevor Sie einen anderen Arbeitsbereich \xf6ffnen.","unsavedChangesTitleText":"nicht gespeicherte \xc4nderungen","workspaceHeader":"Kopfzeile des Arbeitsbereichs","yearAbbreviation":"Jahr","yearsAbbreviation":"Jahre"}')}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cf39cc1e9ef3d2cd.js","sources":["webpack://@openmrs/esm-app-shell/json|/home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/framework/esm-translations/translations/de.json"],"names":["JSON"],"mappings":"wIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,myI"}
|
package/dist/d0374d830553d3ad.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_app_shell=globalThis.webpackChunk_openmrs_esm_app_shell||[]).push([["6653"],{46908(e){e.exports=JSON.parse('{"actionableNotification":"Actionable notification","actions":"Actions","address":"Address","address1":"Address line 1","address2":"Address line 2","address3":"Address line 3","address4":"Address line 4","address5":"Address line 5","address6":"Address line 6","age":"Age","cancel":"Cancel","change":"Change","city":"City","cityVillage":"City","Clinic":"Clinic","close":"Close","closeAllOpenedWorkspaces":"Discard changes in {{count}} workspaces","closesActionableNotification":"Closes actionable notification","closeSnackbar":"Close snackbar","closeWorkspaces2PromptBody":"You are about to close the following workspace(s), which might have unsaved changes:","closeWorkspaces2PromptTitle":"Close workspace(s)","closingAllWorkspacesPromptBody":"There may be unsaved changes in the following workspaces. Do you want to discard changes in the following workspaces? {{workspaceNames}}","closingAllWorkspacesPromptTitle":"You have unsaved changes","confirm":"Confirm","contactAdministratorIfIssuePersists":"Contact your system administrator if the problem persists.","contactDetails":"Contact Details","country":"Country","countyDistrict":"District","delete":"Delete","discard":"Discard","discardChanges":"Discard changes","district":"District","edit":"Edit","emptyStateText":"There are no {{displayText}} to display","error":"Error","errorCopy":"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.","errorLoadingLoginLocations":"Unable to load login locations. Please try again or contact support if the problem persists.","female":"Female","hide":"Hide","leftNavigation":"Left navigation","loading":"Loading","male":"Male","maximize":"Maximize","minimize":"Minimize","noResultsToDisplay":"No results to display","openAnyway":"Open Anyway","other":"Other","paginationItemsCount":"{{pageItemsCount}} / {{totalItems}} items","paginationOfPages":"of {{count}} pages","patientAvatarAlt":"Avatar for {{patientName}}","patientIdentifierSticker":"Patient identifier sticker","patientLists":"Patient Lists","patientPhotoAlt":"Profile photo of {{patientName}}","patientPhotoPlaceholder":"Photo placeholder for {{patientName}}","postalCode":"Postal code","print":"Print","printError":"Print error","printErrorExplainer":"An error occurred in {{errorLocation}}","printIdentifierSticker":"Print identifier sticker","printing":"Printing","recordNewEntry":"Record {{displayText}}","relationships":"Relationships","resetOverrides":"Reset overrides","save":"Save","scriptLoadingError":"Failed to load overridden script from {{url}}. Please check that the bundled script is available at the expected URL. Click the button below to reset all import map overrides.","scriptLoadingFailed":"Error: Script failed to load","searchForLocation":"Search for a location","seeAll":"See all","seeMoreLists":"See {{count}} more lists","sex":"Sex","showLess":"Show less","showMore":"Show more","snackbarNotification":"Snackbar notification","state":"State","stateProvince":"State","toggleDevTools":"Toggle dev tools","unknown":"Unknown","unsavedChangesInOpenedWorkspace":"You may have unsaved changes in the opened workspace. Do you want to discard these changes?","unsavedChangesInWorkspace":"There may be unsaved changes in \\"{{workspaceName}}\\". Please save them before opening another workspace.","unsavedChangesTitleText":"Unsaved changes","workspaceHeader":"Workspace header","yearAbbreviation":"yr","yearsAbbreviation":"yrs"}')}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"d0374d830553d3ad.js","sources":["webpack://@openmrs/esm-app-shell/json|/home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/framework/esm-translations/translations/qu.json"],"names":["JSON"],"mappings":"wIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,i7G"}
|
package/dist/d20e6ba912862835.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_app_shell=globalThis.webpackChunk_openmrs_esm_app_shell||[]).push([["2172"],{49207(a){a.exports=JSON.parse('{"actionableNotification":"Actionable notification","actions":"Aksi","address":"Alamat","address1":"Baris alamat 1","address2":"Baris alamat 2","address3":"Baris alamat 3","address4":"Baris alamat 4","address5":"Baris alamat 5","address6":"Baris alamat 6","age":"Usia","cancel":"Batal","change":"Ubah","city":"Kota","cityVillage":"Kota/Desa","Clinic":"Klinik","close":"Tutup","closeAllOpenedWorkspaces":"Buang perubahan di {{count}} workspace","closesActionableNotification":"Closes actionable notification","closeSnackbar":"Close snackbar","closeWorkspaces2PromptBody":"You are about to close the following workspace(s), which might have unsaved changes:","closeWorkspaces2PromptTitle":"Close workspace(s)","closingAllWorkspacesPromptBody":"There may be unsaved changes in the following workspaces. Do you want to discard changes in the following workspaces? {{workspaceNames}}","closingAllWorkspacesPromptTitle":"Anda memiliki perubahan yang belum disimpan","confirm":"Konfirmasi","contactAdministratorIfIssuePersists":"Hubungi administrator sistem jika masalah tetap terjadi.","contactDetails":"Detail Kontak","country":"Negara","countyDistrict":"Kabupaten","delete":"Hapus","discard":"Buang","discardChanges":"Discard changes","district":"Kecamatan","edit":"Edit","emptyStateText":"There are no {{displayText}} to display","error":"Error","errorCopy":"Maaf, ada masalah menampilkan informasi ini. Anda dapat mencoba memuat ulang halaman ini, atau menghubungi administrator situs dan menyebutkan kode error di atas.","errorLoadingLoginLocations":"Unable to load login locations. Please try again or contact support if the problem persists.","female":"Perempuan","hide":"Sembunyikan","leftNavigation":"Left navigation","loading":"Memuat","male":"Laki-laki","maximize":"Maksimalkan","minimize":"Minimalkan","noResultsToDisplay":"No results to display","openAnyway":"Buka Tetap","other":"Lainnya","paginationItemsCount":"{{pageItemsCount}} / {{totalItems}} items","paginationOfPages":"of {{count}} pages","patientAvatarAlt":"Avatar for {{patientName}}","patientIdentifierSticker":"Stiker identifikasi pasien","patientLists":"Daftar Pasien","patientPhotoAlt":"Profile photo of {{patientName}}","patientPhotoPlaceholder":"Photo placeholder for {{patientName}}","postalCode":"Kode pos","print":"Cetak","printError":"Error cetak","printErrorExplainer":"Terjadi error di {{errorLocation}}","printIdentifierSticker":"Cetak stiker identifikasi","printing":"Mencetak","recordNewEntry":"Record {{displayText}}","relationships":"Hubungan","resetOverrides":"Atur ulang override","save":"Simpan","scriptLoadingError":"Gagal memuat skrip override dari {{url}}. Harap periksa apakah skrip tersedia di URL yang dimaksud. Klik tombol di bawah untuk mengatur ulang semua override peta impor.","scriptLoadingFailed":"Error: Gagal memuat skrip","searchForLocation":"Search for a location","seeAll":"See all","seeMoreLists":"Lihat {{count}} daftar lainnya","sex":"Jenis Kelamin","showLess":"Tampilkan lebih sedikit","showMore":"Tampilkan lebih banyak","snackbarNotification":"Snackbar notification","state":"Provinsi","stateProvince":"Provinsi","toggleDevTools":"Alihkan dev tools","unknown":"Tidak diketahui","unsavedChangesInOpenedWorkspace":"You may have unsaved changes in the opened workspace. Do you want to discard these changes?","unsavedChangesInWorkspace":"Mungkin ada perubahan yang belum disimpan di \\"{{workspaceName}}\\". Harap simpan sebelum membuka workspace lain.","unsavedChangesTitleText":"Perubahan belum disimpan","workspaceHeader":"Header workspace","yearAbbreviation":"yr","yearsAbbreviation":"yrs"}')}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"d20e6ba912862835.js","sources":["webpack://@openmrs/esm-app-shell/json|/home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/framework/esm-translations/translations/id.json"],"names":["JSON"],"mappings":"wIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,shH"}
|
package/dist/e33d524c1897be67.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(globalThis.webpackChunk_openmrs_esm_app_shell=globalThis.webpackChunk_openmrs_esm_app_shell||[]).push([["6621"],{56380(t){t.exports=function(){"use strict";var t="millisecond",e="second",n="minute",r="hour",s="week",i="month",a="quarter",u="year",c="date",o="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},l="en",$={};$[l]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}};var y="$isDayjsObject",m=function(t){return t instanceof p||!(!t||!t[y])},M=function t(e,n,r){var s;if(!e)return l;if("string"==typeof e){var i=e.toLowerCase();$[i]&&(s=i),n&&($[i]=n,s=i);var a=e.split("-");if(!s&&a.length>1)return t(a[0])}else{var u=e.name;$[u]=e,s=u}return!r&&s&&(l=s),s||!r&&l},v=function(t,e){if(m(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new p(n)},g={s:d,z:function(t){var e=-t.utcOffset(),n=Math.abs(e);return(e<=0?"+":"-")+d(Math.floor(n/60),2,"0")+":"+d(n%60,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),s=e.clone().add(r,i),a=n-s<0,u=e.clone().add(r+(a?-1:1),i);return+(-(r+(n-s)/(a?s-u:u-s))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(o){return({M:i,y:u,w:s,d:"day",D:c,h:r,m:n,s:e,ms:t,Q:a})[o]||String(o||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};g.l=M,g.i=m,g.w=function(t,e){return v(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var p=function(){function d(t){this.$L=M(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[y]=!0}var l=d.prototype;return l.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(g.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(h);if(r){var s=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],s,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],s,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(e)}(t),this.init()},l.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},l.$utils=function(){return g},l.isValid=function(){return this.$d.toString()!==o},l.isSame=function(t,e){var n=v(t);return this.startOf(e)<=n&&n<=this.endOf(e)},l.isAfter=function(t,e){return v(t)<this.startOf(e)},l.isBefore=function(t,e){return this.endOf(e)<v(t)},l.$g=function(t,e,n){return g.u(t)?this[e]:this.set(n,t)},l.unix=function(){return Math.floor(this.valueOf()/1e3)},l.valueOf=function(){return this.$d.getTime()},l.startOf=function(t,a){var o=this,h=!!g.u(a)||a,f=g.p(t),d=function(t,e){var n=g.w(o.$u?Date.UTC(o.$y,e,t):new Date(o.$y,e,t),o);return h?n:n.endOf("day")},l=function(t,e){return g.w(o.toDate()[t].apply(o.toDate("s"),(h?[0,0,0,0]:[23,59,59,999]).slice(e)),o)},$=this.$W,y=this.$M,m=this.$D,M="set"+(this.$u?"UTC":"");switch(f){case u:return h?d(1,0):d(31,11);case i:return h?d(1,y):d(0,y+1);case s:var v=this.$locale().weekStart||0,p=($<v?$+7:$)-v;return d(h?m-p:m+(6-p),y);case"day":case c:return l(M+"Hours",0);case r:return l(M+"Minutes",1);case n:return l(M+"Seconds",2);case e:return l(M+"Milliseconds",3);default:return this.clone()}},l.endOf=function(t){return this.startOf(t,!1)},l.$set=function(s,a){var o,h=g.p(s),f="set"+(this.$u?"UTC":""),d=((o={}).day=f+"Date",o[c]=f+"Date",o[i]=f+"Month",o[u]=f+"FullYear",o[r]=f+"Hours",o[n]=f+"Minutes",o[e]=f+"Seconds",o[t]=f+"Milliseconds",o)[h],l="day"===h?this.$D+(a-this.$W):a;if(h===i||h===u){var $=this.clone().set(c,1);$.$d[d](l),$.init(),this.$d=$.set(c,Math.min(this.$D,$.daysInMonth())).$d}else d&&this.$d[d](l);return this.init(),this},l.set=function(t,e){return this.clone().$set(t,e)},l.get=function(t){return this[g.p(t)]()},l.add=function(t,a){var c,o=this;t=Number(t);var h=g.p(a),f=function(e){var n=v(o);return g.w(n.date(n.date()+Math.round(e*t)),o)};if(h===i)return this.set(i,this.$M+t);if(h===u)return this.set(u,this.$y+t);if("day"===h)return f(1);if(h===s)return f(7);var d=((c={})[n]=6e4,c[r]=36e5,c[e]=1e3,c)[h]||1,l=this.$d.getTime()+t*d;return g.w(l,this)},l.subtract=function(t,e){return this.add(-1*t,e)},l.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||o;var r=t||"YYYY-MM-DDTHH:mm:ssZ",s=g.z(this),i=this.$H,a=this.$m,u=this.$M,c=n.weekdays,h=n.months,d=n.meridiem,l=function(t,n,s,i){return t&&(t[n]||t(e,r))||s[n].slice(0,i)},$=function(t){return g.s(i%12||12,t,"0")},y=d||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(f,function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return g.s(e.$y,4,"0");case"M":return u+1;case"MM":return g.s(u+1,2,"0");case"MMM":return l(n.monthsShort,u,h,3);case"MMMM":return l(h,u);case"D":return e.$D;case"DD":return g.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return l(n.weekdaysMin,e.$W,c,2);case"ddd":return l(n.weekdaysShort,e.$W,c,3);case"dddd":return c[e.$W];case"H":return String(i);case"HH":return g.s(i,2,"0");case"h":return $(1);case"hh":return $(2);case"a":return y(i,a,!0);case"A":return y(i,a,!1);case"m":return String(a);case"mm":return g.s(a,2,"0");case"s":return String(e.$s);case"ss":return g.s(e.$s,2,"0");case"SSS":return g.s(e.$ms,3,"0");case"Z":return s}return null}(t)||s.replace(":","")})},l.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},l.diff=function(t,c,o){var h,f=this,d=g.p(c),l=v(t),$=(l.utcOffset()-this.utcOffset())*6e4,y=this-l,m=function(){return g.m(f,l)};switch(d){case u:h=m()/12;break;case i:h=m();break;case a:h=m()/3;break;case s:h=(y-$)/6048e5;break;case"day":h=(y-$)/864e5;break;case r:h=y/36e5;break;case n:h=y/6e4;break;case e:h=y/1e3;break;default:h=y}return o?h:g.a(h)},l.daysInMonth=function(){return this.endOf(i).$D},l.$locale=function(){return $[this.$L]},l.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=M(t,e,!0);return r&&(n.$L=r),n},l.clone=function(){return g.w(this.$d,this)},l.toDate=function(){return new Date(this.valueOf())},l.toJSON=function(){return this.isValid()?this.toISOString():null},l.toISOString=function(){return this.$d.toISOString()},l.toString=function(){return this.$d.toUTCString()},d}(),D=p.prototype;return v.prototype=D,[["$ms",t],["$s",e],["$m",n],["$H",r],["$W","day"],["$M",i],["$y",u],["$D",c]].forEach(function(t){D[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),v.extend=function(t,e){return t.$i||(t(e,p,v),t.$i=!0),v},v.locale=M,v.isDayjs=m,v.unix=function(t){return v(1e3*t)},v.en=$[l],v.Ls=$,v.p={},v}()}}]);
|
package/dist/eb9b3b579b6cf027.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_app_shell=globalThis.webpackChunk_openmrs_esm_app_shell||[]).push([["2895"],{41074(e){e.exports=JSON.parse('{"actionableNotification":"Actionable notification","actions":"Actions","address":"Address","address1":"Address line 1","address2":"Address line 2","address3":"Address line 3","address4":"Address line 4","address5":"Address line 5","address6":"Address line 6","age":"Age","cancel":"Cancel","change":"Change","city":"City","cityVillage":"City","Clinic":"Clinic","close":"Close","closeAllOpenedWorkspaces":"Discard changes in {{count}} workspaces","closesActionableNotification":"Closes actionable notification","closeSnackbar":"Close snackbar","closeWorkspaces2PromptBody":"You are about to close the following workspace(s), which might have unsaved changes:","closeWorkspaces2PromptTitle":"Close workspace(s)","closingAllWorkspacesPromptBody":"There may be unsaved changes in the following workspaces. Do you want to discard changes in the following workspaces? {{workspaceNames}}","closingAllWorkspacesPromptTitle":"You have unsaved changes","confirm":"Confirm","contactAdministratorIfIssuePersists":"Contact your system administrator if the problem persists.","contactDetails":"Contact Details","country":"Country","countyDistrict":"District","delete":"Delete","discard":"Discard","discardChanges":"Discard changes","district":"District","edit":"Edit","emptyStateText":"There are no {{displayText}} to display","error":"Error","errorCopy":"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.","errorLoadingLoginLocations":"Unable to load login locations. Please try again or contact support if the problem persists.","female":"Female","hide":"Hide","leftNavigation":"Left navigation","loading":"Loading","male":"Male","maximize":"Maximize","minimize":"Minimize","noResultsToDisplay":"No results to display","openAnyway":"Open Anyway","other":"Other","paginationItemsCount":"{{pageItemsCount}} / {{totalItems}} items","paginationOfPages":"of {{count}} pages","patientAvatarAlt":"Avatar for {{patientName}}","patientIdentifierSticker":"Patient identifier sticker","patientLists":"Patient Lists","patientPhotoAlt":"Profile photo of {{patientName}}","patientPhotoPlaceholder":"Photo placeholder for {{patientName}}","postalCode":"Postal code","print":"Print","printError":"Print error","printErrorExplainer":"An error occurred in {{errorLocation}}","printIdentifierSticker":"Print identifier sticker","printing":"Printing","recordNewEntry":"Record {{displayText}}","relationships":"Relationships","resetOverrides":"Reset overrides","save":"Save","scriptLoadingError":"Failed to load overridden script from {{url}}. Please check that the bundled script is available at the expected URL. Click the button below to reset all import map overrides.","scriptLoadingFailed":"Error: Script failed to load","searchForLocation":"Search for a location","seeAll":"See all","seeMoreLists":"See {{count}} more lists","sex":"Sex","showLess":"Show less","showMore":"Show more","snackbarNotification":"Snackbar notification","state":"State","stateProvince":"State","toggleDevTools":"Toggle dev tools","unknown":"Unknown","unsavedChangesInOpenedWorkspace":"You may have unsaved changes in the opened workspace. Do you want to discard these changes?","unsavedChangesInWorkspace":"There may be unsaved changes in \\"{{workspaceName}}\\". Please save them before opening another workspace.","unsavedChangesTitleText":"Unsaved changes","workspaceHeader":"Workspace header","yearAbbreviation":"yr","yearsAbbreviation":"yrs"}')}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eb9b3b579b6cf027.js","sources":["webpack://@openmrs/esm-app-shell/json|/home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/framework/esm-translations/translations/uz@Latn.json"],"names":["JSON"],"mappings":"wIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,i7G"}
|
package/dist/f3f7ba7a281d137f.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_app_shell=globalThis.webpackChunk_openmrs_esm_app_shell||[]).push([["1522"],{87844(r,t,e){e.r(t),e.d(t,{default:()=>c});var n=e(46925),u=e.n(n),a=e(42324),s=e(90242),i=e(51405);let o=s.j?r=>{r()}:u().startTransition,c=(0,i.withMiddleware)(a.u,()=>(r,t,e={})=>{let{mutate:u}=(0,i.useSWRConfig)(),a=(0,n.useRef)(r),c=(0,n.useRef)(t),l=(0,n.useRef)(e),g=(0,n.useRef)(0),[h,f,p]=(r=>{let[,t]=(0,n.useState)({}),e=(0,n.useRef)(!1),u=(0,n.useRef)(r),a=(0,n.useRef)({data:!1,error:!1,isValidating:!1}),i=(0,n.useCallback)(r=>{let n=!1,s=u.current;for(let t in r)Object.prototype.hasOwnProperty.call(r,t)&&s[t]!==r[t]&&(s[t]=r[t],a.current[t]&&(n=!0));n&&!e.current&&t({})},[]);return(0,s.u)(()=>(e.current=!1,()=>{e.current=!0})),[u,a.current,i]})({data:s.U,error:s.U,isMutating:!1}),d=h.current,w=(0,n.useCallback)(async(r,t)=>{let[e,n]=(0,s.s)(a.current);if(!c.current)throw Error("Can’t trigger the mutation: missing fetcher.");if(!e)throw Error("Can’t trigger the mutation: missing key.");let i=(0,s.m)((0,s.m)({populateCache:!1,throwOnError:!0},l.current),t),h=(0,s.g)();g.current=h,p({isMutating:!0});try{let t=await u(e,c.current(n,{arg:r}),(0,s.m)(i,{throwOnError:!0}));return g.current<=h&&(o(()=>p({data:t,isMutating:!1,error:void 0})),null==i.onSuccess||i.onSuccess.call(i,t,e,i)),t}catch(r){if(g.current<=h&&(o(()=>p({error:r,isMutating:!1})),null==i.onError||i.onError.call(i,r,e,i),i.throwOnError))throw r}},[]),m=(0,n.useCallback)(()=>{g.current=(0,s.g)(),p({data:s.U,error:s.U,isMutating:!1})},[]);return(0,s.u)(()=>{a.current=r,c.current=t,l.current=e}),{trigger:w,reset:m,get data(){return f.data=!0,d.data},get error(){return f.error=!0,d.error},get isMutating(){return f.isMutating=!0,d.isMutating}}})}}]);
|
package/dist/f4e99831687680e7.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_app_shell=globalThis.webpackChunk_openmrs_esm_app_shell||[]).push([["6526"],{80685(e){e.exports=JSON.parse('{"actionableNotification":"Actionable notification","actions":"الإجراءات","address":"العنوان","address1":"العنوان سطر 1","address2":"العنوان سطر 2","address3":"العنوان سطر 3","address4":"العنوان سطر 4","address5":"العنوان سطر 5","address6":"العنوان سطر 6","age":"العمر","cancel":"يلغي","change":"تغيير","city":"المدينة","cityVillage":"المدينة","Clinic":"Clinic","close":"إغلاق","closeAllOpenedWorkspaces":"تجاهل التغييرات في مساحات العمل {{count}}.","closesActionableNotification":"Closes actionable notification","closeSnackbar":"Close snackbar","closeWorkspaces2PromptBody":"You are about to close the following workspace(s), which might have unsaved changes:","closeWorkspaces2PromptTitle":"Close workspace(s)","closingAllWorkspacesPromptBody":"There may be unsaved changes in the following workspaces. Do you want to discard changes in the following workspaces? {{workspaceNames}}","closingAllWorkspacesPromptTitle":"لديك تغييرات غير محفوظة","confirm":"تأكيد","contactAdministratorIfIssuePersists":"Contact your system administrator if the problem persists.","contactDetails":"تفاصيل الاتصال","country":"الدولة","countyDistrict":"المنطقة","delete":"Delete","discard":"تجاهل","discardChanges":"Discard changes","district":"المنطقة","edit":"Edit","emptyStateText":"There are no {{displayText}} to display","error":"خطأ","errorCopy":"Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.","errorLoadingLoginLocations":"Unable to load login locations. Please try again or contact support if the problem persists.","female":"أنثى","hide":"يخفي","leftNavigation":"Left navigation","loading":"جار التحميل","male":"ذكر","maximize":"تعظيم","minimize":"تصغير","noResultsToDisplay":"No results to display","openAnyway":"افتح على أية حال","other":"أخرى","paginationItemsCount":"{{pageItemsCount}} / {{totalItems}} items","paginationOfPages":"of {{count}} pages","patientAvatarAlt":"Avatar for {{patientName}}","patientIdentifierSticker":"ملصق تعريف المريض","patientLists":"قوائم المرضى","patientPhotoAlt":"Profile photo of {{patientName}}","patientPhotoPlaceholder":"Photo placeholder for {{patientName}}","postalCode":"الرمز البريدي","print":"طباعة","printError":"خطأ في الطباعة","printErrorExplainer":"An error occurred in {{errorLocation}}","printIdentifierSticker":"ملصق تعريف المريض","printing":"الطباعة","recordNewEntry":"Record {{displayText}}","relationships":"العلاقات","resetOverrides":"إعادة تعيين التجاوزات","save":"حفظ","scriptLoadingError":"Failed to load overridden script from {{url}}. Please check that the bundled script is available at the expected URL. Click the button below to reset all import map overrides.","scriptLoadingFailed":"Error: Script failed to load","searchForLocation":"البحث عن موقع","seeAll":"See all","seeMoreLists":"انظر {{count}} قائمة أخرى","sex":"الجنس","showLess":"عرض أقل","showMore":"عرض المزيد","snackbarNotification":"Snackbar notification","state":"الولاية","stateProvince":"الولاية","toggleDevTools":"Toggle dev tools","unknown":"غير معروف","unsavedChangesInOpenedWorkspace":"You may have unsaved changes in the opened workspace. Do you want to discard these changes?","unsavedChangesInWorkspace":"There may be unsaved changes in \\"{{workspaceName}}\\". Please save them before opening another workspace.","unsavedChangesTitleText":"التغييرات غير المحفوظة","workspaceHeader":"رأس مساحة العمل","yearAbbreviation":"yr","yearsAbbreviation":"yrs"}')}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"f4e99831687680e7.js","sources":["webpack://@openmrs/esm-app-shell/json|/home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/framework/esm-translations/translations/ar.json"],"names":["JSON"],"mappings":"wIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,k6G"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
(()=>{var e,t,r,o,n,i,a,s,l,c={97737(e,t,r){"use strict";var o,n={};r.r(n),r.d(n,{BUILD_001:()=>R,BUILD_002:()=>I,RUNTIME_001:()=>a,RUNTIME_002:()=>s,RUNTIME_003:()=>l,RUNTIME_004:()=>c,RUNTIME_005:()=>u,RUNTIME_006:()=>f,RUNTIME_007:()=>d,RUNTIME_008:()=>h,RUNTIME_009:()=>p,RUNTIME_010:()=>m,RUNTIME_011:()=>g,RUNTIME_012:()=>y,RUNTIME_013:()=>E,RUNTIME_014:()=>b,RUNTIME_015:()=>S,TYPE_001:()=>_,buildDescMap:()=>v,errorDescMap:()=>w,getShortErrorMsg:()=>N,runtimeDescMap:()=>T,typeDescMap:()=>M});var i={};r.r(i),r.d(i,{BROWSER_LOG_KEY:()=>P,ENCODE_NAME_PREFIX:()=>j,EncodedNameTransformMap:()=>$,FederationModuleManifest:()=>O,MANIFEST_EXT:()=>".json",MFModuleType:()=>D,MODULE_DEVTOOL_IDENTIFIER:()=>L,ManifestFileName:()=>F,NameTransformMap:()=>A,NameTransformSymbol:()=>k,SEPARATOR:()=>":",StatsFileName:()=>x,TEMP_DIR:()=>U,TreeShakingStatus:()=>C,assert:()=>el,bindLoggerToCompiler:()=>eT,composeKeyWithSeparator:()=>er,consumeSharedPlugin:()=>K,containerPlugin:()=>V,containerReferencePlugin:()=>W,createInfrastructureLogger:()=>eN,createLink:()=>ek,createLogger:()=>eI,createModuleFederationConfig:()=>eD,createScript:()=>eP,createScriptNode:()=>e$,decodeName:()=>en,encodeName:()=>eo,error:()=>ec,generateExposeFilename:()=>ei,generateShareFilename:()=>ea,generateSnapshotFromManifest:()=>eg,getManifestFileName:()=>eE,getProcessEnv:()=>Q,getResourceUrl:()=>es,inferAutoPublicPath:()=>em,infrastructureLogger:()=>ev,isBrowserEnv:()=>X,isBrowserEnvValue:()=>Y,isDebugMode:()=>Z,isManifestProvider:()=>ey,isReactNativeEnv:()=>J,isRequiredVersion:()=>eh,isStaticResourcesEqual:()=>eO,loadScript:()=>eA,loadScriptNode:()=>eF,logger:()=>eM,moduleFederationPlugin:()=>B,normalizeOptions:()=>ex,parseEntry:()=>et,provideSharedPlugin:()=>z,safeToString:()=>ef,safeWrapper:()=>ew,sharePlugin:()=>q,simpleJoinRemoteEntry:()=>ep,warn:()=>eu});let a="RUNTIME-001",s="RUNTIME-002",l="RUNTIME-003",c="RUNTIME-004",u="RUNTIME-005",f="RUNTIME-006",d="RUNTIME-007",h="RUNTIME-008",p="RUNTIME-009",m="RUNTIME-010",g="RUNTIME-011",y="RUNTIME-012",E="RUNTIME-013",b="RUNTIME-014",S="RUNTIME-015",_="TYPE-001",R="BUILD-001",I="BUILD-002",N=(e,t,r,o)=>{let n=[`${[t[e]]} #${e}`];return r&&n.push(`args: ${JSON.stringify(r)}`),n.push(`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`),o&&n.push(`Original Error Message:
|
|
2
|
-
${o}`),n.join("\n")},T={[a]:"Failed to get remoteEntry exports.",[s]:'The remote entry interface does not contain "init"',[l]:"Failed to get manifest.",[c]:"Failed to locate remote.",[u]:"Invalid loadShareSync function call from bundler runtime",[f]:"Invalid loadShareSync function call from runtime",[d]:"Failed to get remote snapshot.",[h]:"Failed to load script resources.",[p]:"Please call createInstance first.",[m]:'The name option cannot be changed after initialization. If you want to create a new instance with a different name, please use "createInstance" api.',[g]:"The remoteEntry URL is missing from the remote snapshot.",[y]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.',[E]:"The manifest is not a valid Module Federation manifest.",[b]:"The remote does not expose the requested module.",[S]:"Remote container initialization failed."},M={[_]:"Failed to generate type declaration. Execute the below cmd to reproduce and fix the error."},v={[R]:"Failed to find expose module.",[I]:"PublicPath is required in prod mode."},w={...T,...M,...v},O="federation-manifest.json",P="FEDERATION_DEBUG",k={AT:"@",HYPHEN:"-",SLASH:"/"},A={[k.AT]:"scope_",[k.HYPHEN]:"_",[k.SLASH]:"__"},$={[A[k.AT]]:k.AT,[A[k.HYPHEN]]:k.HYPHEN,[A[k.SLASH]]:k.SLASH},F="mf-manifest.json",x="mf-stats.json",D={NPM:"npm",APP:"app"},L="__MF_DEVTOOLS_MODULE_INFO__",j="ENCODE_NAME_PREFIX",U=".federation",C=((o={})[o.UNKNOWN=1]="UNKNOWN",o[o.CALCULATED=2]="CALCULATED",o[o.NO_USE=0]="NO_USE",o);var H=Object.defineProperty,G=(e,t)=>{let r={};for(var o in e)H(r,o,{get:e[o],enumerable:!0});return t||H(r,Symbol.toStringTag,{value:"Module"}),r},V=G({}),W=G({}),B=G({}),q=G({}),K=G({}),z=G({});let Y=!0;function X(){return Y}function J(){return"u">typeof navigator&&navigator?.product==="ReactNative"}function Z(){if("u">typeof process&&process.env&&process.env.FEDERATION_DEBUG)return!!process.env.FEDERATION_DEBUG;if("u">typeof FEDERATION_DEBUG&&FEDERATION_DEBUG)return!0;try{if(Y&&window.localStorage)return!!localStorage.getItem(P)}catch(e){}return!1}let Q=function(){return"u">typeof process&&process.env?process.env:{}},ee="[ Federation Runtime ]",et=(e,t,r=":")=>{let o=e.split(r),n="development"===Q().NODE_ENV&&t,i=e=>e.startsWith("http")||e.includes(".json");if(o.length>=2){let[t,...a]=o;e.startsWith(r)&&(t=o.slice(0,2).join(r),a=[n||o.slice(2).join(r)]);let s=n||a.join(r);return i(s)?{name:t,entry:s}:{name:t,version:s||"*"}}if(1===o.length){let[e]=o;return n&&i(n)?{name:e,entry:n}:{name:e,version:n||"*"}}throw`Invalid entry value: ${e}`},er=function(...e){return e.length?e.reduce((e,t)=>t?e?`${e}:${t}`:t:e,""):""},eo=function(e,t="",r=!1){try{return`${t}${e.replace(RegExp(`${k.AT}`,"g"),A[k.AT]).replace(RegExp(`${k.HYPHEN}`,"g"),A[k.HYPHEN]).replace(RegExp(`${k.SLASH}`,"g"),A[k.SLASH])}${r?".js":""}`}catch(e){throw e}},en=function(e,t,r){try{let o=e;if(t){if(!o.startsWith(t))return o;o=o.replace(RegExp(t,"g"),"")}return o=o.replace(RegExp(`${A[k.AT]}`,"g"),$[A[k.AT]]).replace(RegExp(`${A[k.SLASH]}`,"g"),$[A[k.SLASH]]).replace(RegExp(`${A[k.HYPHEN]}`,"g"),$[A[k.HYPHEN]]),r&&(o=o.replace(".js","")),o}catch(e){throw e}},ei=(e,t)=>{if(!e)return"";let r=e;return"."===r&&(r="default_export"),r.startsWith("./")&&(r=r.replace("./","")),eo(r,"__federation_expose_",t)},ea=(e,t)=>e?eo(e,"__federation_shared_",t):"";function es(e,t){if("getPublicPath"in e){let r;return r=e.getPublicPath.startsWith("function")?Function("return "+e.getPublicPath)()():Function(e.getPublicPath)(),`${r}${t}`}return"publicPath"in e?!Y&&!J()&&"ssrPublicPath"in e&&"string"==typeof e.ssrPublicPath?`${e.ssrPublicPath}${t}`:`${e.publicPath}${t}`:(console.warn("Cannot get resource URL. If in debug mode, please ignore.",e,t),"")}let el=(e,t)=>{e||ec(t)},ec=e=>{throw Error(`${ee}: ${e}`)},eu=e=>{console.warn(`${ee}: ${e}`)};function ef(e){try{return JSON.stringify(e,null,2)}catch(e){return""}}let ed=/^([\d^=v<>~]|[*xX]$)/;function eh(e){return ed.test(e)}let ep=(e,t)=>{if(!e)return t;let r=(e=>{if("."===e)return"";if(e.startsWith("./"))return e.replace("./","");if(e.startsWith("/")){let t=e.slice(1);return t.endsWith("/")?t.slice(0,-1):t}return e})(e);return r?r.endsWith("/")?`${r}${t}`:`${r}/${t}`:t};function em(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}function eg(e,t={}){let r,{remotes:o={},overrides:n={},version:i}=t,a=()=>"publicPath"in e.metaData?("auto"===e.metaData.publicPath||""===e.metaData.publicPath)&&i?em(i):e.metaData.publicPath:e.metaData.getPublicPath,s=Object.keys(n),l={};Object.keys(o).length||(l=e.remotes?.reduce((e,t)=>{let r,o=t.federationContainerName;return r=s.includes(o)?n[o]:"version"in t?t.version:t.entry,e[o]={matchedVersion:r},e},{})||{}),Object.keys(o).forEach(e=>l[e]={matchedVersion:s.includes(e)?n[e]:o[e]});let{remoteEntry:{path:c,name:u,type:f},types:d={path:"",name:"",zip:"",api:""},buildInfo:{buildVersion:h},globalName:p,ssrRemoteEntry:m}=e.metaData,{exposes:g}=e,y={version:i||"",buildVersion:h,globalName:p,remoteEntry:ep(c,u),remoteEntryType:f,remoteTypes:ep(d.path,d.name),remoteTypesZip:d.zip||"",remoteTypesAPI:d.api||"",remotesInfo:l,shared:e?.shared.map(e=>({assets:e.assets,sharedName:e.name,version:e.version,usedExports:e.referenceExports||[]})),modules:g?.map(e=>({moduleName:e.name,modulePath:e.path,assets:e.assets}))};if("publicPath"in e.metaData?(r={...y,publicPath:a()},"string"==typeof e.metaData.ssrPublicPath&&(r.ssrPublicPath=e.metaData.ssrPublicPath)):r={...y,getPublicPath:a()},m){let e=ep(m.path,m.name);r.ssrRemoteEntry=e,r.ssrRemoteEntryType=m.type||"commonjs-module"}return r}function ey(e){return!!("remoteEntry"in e&&e.remoteEntry.includes(".json"))}function eE(e){if(!e)return{statsFileName:x,manifestFileName:F};let t="boolean"==typeof e?"":e.filePath||"",r="boolean"==typeof e?"":e.fileName||"",o=".json",n=r?r.endsWith(o)?r:`${r}${o}`:F;return{statsFileName:ep(t,r?n.replace(o,`-stats${o}`):x),manifestFileName:ep(t,n)}}let eb="[ Module Federation ]",eS=console,e_=["logger.ts","logger.js","captureStackTrace","Logger.emit","Logger.log","Logger.info","Logger.warn","Logger.error","Logger.debug"];var eR=class{constructor(e,t=eS){this.prefix=e,this.delegate=t??eS}setPrefix(e){this.prefix=e}setDelegate(e){this.delegate=e??eS}emit(e,t){let r=this.delegate,o=Z()?function(){try{let e=Error().stack;if(!e)return;let[,...t]=e.split("\n"),r=t.filter(e=>!e_.some(t=>e.includes(t)));if(!r.length)return;return`Stack trace:
|
|
3
|
-
${r.slice(0,5).join("\n")}`}catch{return}}():void 0,n=o?[...t,o]:t,i=(()=>{switch(e){case"log":return["log","info"];case"info":return["info","log"];case"warn":return["warn","info","log"];case"error":return["error","warn","log"];default:return["debug","log"]}})();for(let e of i){let t=r[e];if("function"==typeof t)return void t.call(r,this.prefix,...n)}for(let e of i){let t=eS[e];if("function"==typeof t)return void t.call(eS,this.prefix,...n)}}log(...e){this.emit("log",e)}warn(...e){this.emit("warn",e)}error(...e){this.emit("error",e)}success(...e){this.emit("info",e)}info(...e){this.emit("info",e)}ready(...e){this.emit("info",e)}debug(...e){Z()&&this.emit("debug",e)}};function eI(e){return new eR(e)}function eN(e){let t=new eR(e);return Object.defineProperty(t,"__mf_infrastructure_logger__",{value:!0,enumerable:!1,configurable:!1}),t}function eT(e,t,r){if(e.__mf_infrastructure_logger__&&t?.getInfrastructureLogger)try{let o=t.getInfrastructureLogger(r);o&&"object"==typeof o&&("function"==typeof o.log||"function"==typeof o.info||"function"==typeof o.warn||"function"==typeof o.error)&&e.setDelegate(o)}catch{e.setDelegate(void 0)}}let eM=eI(eb),ev=eN(eb);async function ew(e,t){try{return await e()}catch(e){t||eu(e);return}}function eO(e,t){let r=/^(https?:)?\/\//i;return e.replace(r,"").replace(/\/$/,"")===t.replace(r,"").replace(/\/$/,"")}function eP(e){let t,r=null,o=!0,n=2e4,i=document.getElementsByTagName("script");for(let t=0;t<i.length;t++){let n=i[t],a=n.getAttribute("src");if(a&&eO(a,e.url)){r=n,o=!1;break}}if(!r){let t,o=e.attrs;(r=document.createElement("script")).type=o?.type==="module"?"module":"text/javascript",e.createScriptHook&&((t=e.createScriptHook(e.url,e.attrs))instanceof HTMLScriptElement?r=t:"object"==typeof t&&("script"in t&&t.script&&(r=t.script),"timeout"in t&&t.timeout&&(n=t.timeout))),r.src||(r.src=e.url),o&&!t&&Object.keys(o).forEach(e=>{r&&("async"===e||"defer"===e?r[e]=o[e]:r.getAttribute(e)||r.setAttribute(e,o[e]))})}let a=null,s="u">typeof window?t=>{if(t.filename&&eO(t.filename,e.url)){let r=Error(`ScriptExecutionError: Script "${e.url}" loaded but threw a runtime error during execution: ${t.message} (${t.filename}:${t.lineno}:${t.colno})`);r.name="ScriptExecutionError",a=r}}:null;s&&window.addEventListener("error",s);let l=async(o,n)=>{clearTimeout(t),s&&window.removeEventListener("error",s);let i=()=>{if(n?.type==="error"){let t=Error(n?.isTimeout?`ScriptNetworkError: Script "${e.url}" timed out.`:`ScriptNetworkError: Failed to load script "${e.url}" - the script URL is unreachable or the server returned an error (network failure, 404, CORS, etc.)`);t.name="ScriptNetworkError",e?.onErrorCallback&&e?.onErrorCallback(t)}else a?e?.onErrorCallback&&e?.onErrorCallback(a):e?.cb&&e?.cb()};if(r&&(r.onerror=null,r.onload=null,ew(()=>{let{needDeleteScript:t=!0}=e;t&&r?.parentNode&&r.parentNode.removeChild(r)}),o&&"function"==typeof o)){let e=o(n);if(e instanceof Promise){let t=await e;return i(),t}return i(),e}i()};return r.onerror=l.bind(null,r.onerror),r.onload=l.bind(null,r.onload),t=setTimeout(()=>{l(null,{type:"error",isTimeout:!0})},n),{script:r,needAttach:o}}function ek(e){let t,r=null,o=!0,n=2e4,i=document.getElementsByTagName("link");for(let t=0;t<i.length;t++){let n=i[t],a=n.getAttribute("href"),s=n.getAttribute("rel");if(a&&eO(a,e.url)&&s===e.attrs.rel){r=n,o=!1;break}}if(!r){let t;(r=document.createElement("link")).setAttribute("href",e.url);let o=!0,i=e.attrs;e.createLinkHook&&((t=e.createLinkHook(e.url,i))instanceof HTMLLinkElement?(r=t,o=!1):"object"==typeof t&&("link"in t&&t.link&&(r=t.link,o=!1),"timeout"in t&&t.timeout&&(n=t.timeout))),i&&o&&Object.keys(i).forEach(e=>{r&&!r.getAttribute(e)&&r.setAttribute(e,i[e])})}if(!o)return Promise.resolve().then(()=>{e?.cb&&e?.cb()}),{link:r,needAttach:o};let a=(o,n)=>{t&&clearTimeout(t);let i=()=>{if(n?.type==="error"){let t=Error(n?.isTimeout?`LinkNetworkError: Link "${e.url}" timed out.`:`LinkNetworkError: Failed to load link "${e.url}" - the URL is unreachable or the server returned an error.`);t.name="LinkNetworkError",e?.onErrorCallback&&e?.onErrorCallback(t)}else e?.cb&&e?.cb()};if(r&&(r.onerror=null,r.onload=null,ew(()=>{let{needDeleteLink:t=!0}=e;t&&r?.parentNode&&r.parentNode.removeChild(r)}),o)){let e=o(n);return i(),e}i()};return r.onerror=a.bind(null,r.onerror),r.onload=a.bind(null,r.onload),t=setTimeout(()=>{a(null,{type:"error",isTimeout:!0})},n),{link:r,needAttach:o}}function eA(e,t){let{attrs:r={},createScriptHook:o}=t;return new Promise((t,n)=>{let{script:i,needAttach:a}=eP({url:e,cb:t,onErrorCallback:n,attrs:{fetchpriority:"high",...r},createScriptHook:o,needDeleteScript:!0});a&&document.head.appendChild(i)})}let e$=(e,t,r,o)=>{t(Error("createScriptNode is disabled in non-Node.js environment"))},eF=(e,t)=>{throw Error("loadScriptNode is disabled in non-Node.js environment")};function ex(e,t,r){return function(o){if(!1===o)return!1;if(void 0===o)if(e)return t;else return!1;if(!0===o)return t;if(o&&"object"==typeof o)return{...t,...o};throw Error(`Unexpected type for \`${r}\`, expect boolean/undefined/object, got: ${typeof o}`)}}let eD=e=>e;function eL(){return"u"<typeof __FEDERATION__?void 0:__FEDERATION__}function ej(e){return!!(e.loaded||"function"==typeof e.lib)}let eU=new Set(["@openmrs/esm-framework","@openmrs/esm-framework/src/internal"]);globalThis._OPENMRS_FEDERATION_ERROR_CODES=n,globalThis._OPENMRS_FEDERATION_SDK=i,void 0===globalThis._FEDERATION_RUNTIME_CORE&&console.error("The app shell did not publish the Module Federation runtime, so no frontend module will be able to start. This is a bug in the app shell build (see `experiments.provideExternalRuntime`).");let eC=null;Object.defineProperty(window,"initializeSpa",{value:function(e){let t,o;if(eC)return eC;Object.defineProperty(window,"copyText",{value:e=>{let t=window.getSelection();if(t){let r=document.createRange();r.selectNode(e),t.removeAllRanges(),t.addRange(r),document.execCommand("copy"),t.removeAllRanges()}},writable:!1,configurable:!1});let n=!1;if(e.apiUrl||(console.error("initializeSpa() was called without supplying an apiUrl. This means that the application cannot communicate with the backend."),n=!0),e.spaPath||(console.error("initializeSpa() was called without supplying a spaPath. This means that the application cannot properly generate urls."),n=!0),n)throw Error("One or more required properties in the basic configuration of the application was missing and the application cannot be rendered. Please see the browser console for details.");Object.defineProperty(window,"openmrsBase",{value:e.apiUrl,writable:!1,configurable:!1}),Object.defineProperty(window,"spaBase",{value:e.spaPath,writable:!1,configurable:!1}),Object.defineProperty(window,"spaEnv",{value:e.env||"production",writable:!1,configurable:!1}),Object.defineProperty(window,"spaVersion",{value:"10.0.1-pre.5539-20260928",writable:!1,configurable:!1});let i=window.spaBase.endsWith("/")?window.spaBase:window.spaBase+"/";return Object.defineProperty(window,"getOpenmrsSpaBase",{value:()=>i,writable:!1,configurable:!1}),t=document.createElement("base"),t.href=o=window.getOpenmrsSpaBase(),document.head.appendChild(t),r.p=o,eC=Promise.resolve(r.I("default")).then(async()=>{let t=r.S.default;t["@openmrs/esm-framework/src/internal"]&&!t["@openmrs/esm-framework"]&&(t["@openmrs/esm-framework"]=t["@openmrs/esm-framework/src/internal"]),function(e){var t;let r,o;if(!eL())return;let n=Object.values(e["@openmrs/esm-framework/src/internal"]??{}).filter(e=>!!e);if(0===n.length)return console.error("The app shell has not registered @openmrs/esm-framework as a shared module, so frontend modules may each load their own copy of the framework. This is a bug in the app shell build.");t={name:"openmrs-pin-framework-to-app-shell",resolveShare:e=>(eU.has(e.pkgName)&&(e.resolver=()=>{var e;return Object.getOwnPropertyDescriptor(e=n.find(ej)??n[0],"useTreesShaking")||Object.defineProperties(e,{shared:{get:()=>e,configurable:!0},useTreesShaking:{value:!1,configurable:!0}}),e}),e)},r=eL(),!(o=r?.__GLOBAL_PLUGIN__)||o.some(e=>e.name===t.name)||(o.push(t),r?.__INSTANCES__?.forEach(e=>e.registerPlugins([t])))}(t);let{configUrls:o=[],offline:n=!1}=e;Object.defineProperty(window,"offlineEnabled",{value:n,writable:!1,configurable:!1});let{run:i}=await Promise.all([r.e("2366"),r.e("4234"),r.e("5354"),r.e("316"),r.e("6561"),r.e("5848")]).then(r.bind(r,55387));return i(o)})},writable:!1,configurable:!1})},72868(e,t,r){"use strict";var o,n,i,a,s,l,c,u,f,d,h,p,m=r(88516),g=r.n(m),y=r(90839);let E=[{plugin:r.n(y)(),params:void 0}].filter(({plugin:e})=>e).map(({plugin:e,params:t})=>e(t)),b={};if((r.initializeSharingData||r.initializeExposesData)&&r.federation){let e=(e,t,r)=>{e&&e[t]&&(e[t]=r)},t=(e,t,r)=>{let o=r();Array.isArray(o)?(null!=e[t]||(e[t]=[]),e[t].push(...o)):"object"==typeof o&&null!==o&&(null!=e[t]||(e[t]={}),Object.assign(e[t],o))},m=(e,t,r)=>{null!=e[t]||(e[t]=r())},y=null!=(o=null==(l=r.remotesLoadingData)?void 0:l.chunkMapping)?o:{},S=null!=(n=null==(c=r.remotesLoadingData)?void 0:c.moduleIdToRemoteDataMapping)?n:{},_=null!=(i=null==(u=r.initializeSharingData)?void 0:u.scopeToSharingDataMapping)?i:{},R=null!=(a=null==(f=r.consumesLoadingData)?void 0:f.chunkMapping)?a:{},I=null!=(s=null==(d=r.consumesLoadingData)?void 0:d.moduleIdToConsumeDataMapping)?s:{},N={},T=[],M={},v=null==(h=r.initializeExposesData)?void 0:h.shareScope;for(let e in g())r.federation[e]=g()[e];m(r.federation,"consumesLoadingModuleToHandlerMapping",()=>{let e={};for(let[t,r]of Object.entries(I))e[t]={getter:r.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:r.requiredVersion,strictVersion:r.strictVersion,singleton:r.singleton,eager:r.eager},scope:[r.shareScope]},shareKey:r.shareKey};return e}),m(r.federation,"initOptions",()=>({})),m(r.federation.initOptions,"name",()=>"@openmrs/esm-app-shell"),m(r.federation.initOptions,"shareStrategy",()=>"version-first"),m(r.federation.initOptions,"shared",()=>{let e={};for(let[t,r]of Object.entries(_))for(let o of r)if("object"==typeof o&&null!==o){let{name:r,version:n,factory:i,eager:a,singleton:s,requiredVersion:l,strictVersion:c}=o,u={},f=function(e){return void 0!==e};f(s)&&(u.singleton=s),f(l)&&(u.requiredVersion=l),f(a)&&(u.eager=a),f(c)&&(u.strictVersion=c);let d={version:n,scope:[t],shareConfig:u,get:i};e[r]?e[r].push(d):e[r]=[d]}return e}),t(r.federation.initOptions,"remotes",()=>Object.values(b).flat().filter(e=>"script"===e.externalType)),t(r.federation.initOptions,"plugins",()=>E),m(r.federation,"bundlerRuntimeOptions",()=>({})),m(r.federation.bundlerRuntimeOptions,"remotes",()=>({})),m(r.federation.bundlerRuntimeOptions.remotes,"chunkMapping",()=>y),m(r.federation.bundlerRuntimeOptions.remotes,"remoteInfos",()=>b),m(r.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",()=>{let e={};for(let[t,r]of Object.entries(S))e[t]=[r.shareScope,r.name,r.externalModuleId,r.remoteName];return e}),m(r.federation.bundlerRuntimeOptions.remotes,"webpackRequire",()=>r),t(r.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",()=>{let e={};for(let[t,r]of Object.entries(S)){let o=b[r.remoteName];o&&(e[t]=o)}return e}),e(r,"S",r.federation.bundlerRuntime.S),r.federation.attachShareScopeMap&&r.federation.attachShareScopeMap(r),e(r.f,"remotes",(e,t)=>r.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:y,idToExternalAndNameMapping:r.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:r.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:r})),e(r.f,"consumes",(e,t)=>r.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:R,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping,installedModules:N,webpackRequire:r})),e(r,"I",(e,t)=>r.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:T,initTokens:M,webpackRequire:r})),e(r,"initContainer",(e,t,o)=>r.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:o,shareScopeKey:v,webpackRequire:r})),e(r,"getContainer",(e,t)=>{var o=r.initializeExposesData.moduleMap;return r.R=t,t=Object.prototype.hasOwnProperty.call(o,e)?o[e]():Promise.resolve().then(()=>{throw Error('Module "'+e+'" does not exist in container.')}),r.R=void 0,t}),r.federation.instance=r.federation.runtime.init(r.federation.initOptions),(null==(p=r.consumesLoadingData)?void 0:p.initialConsumes)&&r.federation.bundlerRuntime.installInitialConsumes({webpackRequire:r,installedModules:N,initialConsumes:r.consumesLoadingData.initialConsumes,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping})}},52900(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let o=r(2847);t.logAndReport=function(e,t,r,n,i,a){return n(o.getShortErrorMsg(e,t,r,i))}},4359(e,t,r){let o=r(53375),n={[o.RUNTIME_001]:"Failed to get remoteEntry exports.",[o.RUNTIME_002]:'The remote entry interface does not contain "init"',[o.RUNTIME_003]:"Failed to get manifest.",[o.RUNTIME_004]:"Failed to locate remote.",[o.RUNTIME_005]:"Invalid loadShareSync function call from bundler runtime",[o.RUNTIME_006]:"Invalid loadShareSync function call from runtime",[o.RUNTIME_007]:"Failed to get remote snapshot.",[o.RUNTIME_008]:"Failed to load script resources.",[o.RUNTIME_009]:"Please call createInstance first.",[o.RUNTIME_010]:'The name option cannot be changed after initialization. If you want to create a new instance with a different name, please use "createInstance" api.',[o.RUNTIME_011]:"The remoteEntry URL is missing from the remote snapshot.",[o.RUNTIME_012]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.',[o.RUNTIME_013]:"The manifest is not a valid Module Federation manifest.",[o.RUNTIME_014]:"The remote does not expose the requested module.",[o.RUNTIME_015]:"Remote container initialization failed."},i={[o.TYPE_001]:"Failed to generate type declaration. Execute the below cmd to reproduce and fix the error."},a={[o.BUILD_001]:"Failed to find expose module.",[o.BUILD_002]:"PublicPath is required in prod mode."},s={...n,...i,...a};t.buildDescMap=a,t.errorDescMap=s,t.runtimeDescMap=n,t.typeDescMap=i},53375(e,t){t.BUILD_001="BUILD-001",t.BUILD_002="BUILD-002",t.RUNTIME_001="RUNTIME-001",t.RUNTIME_002="RUNTIME-002",t.RUNTIME_003="RUNTIME-003",t.RUNTIME_004="RUNTIME-004",t.RUNTIME_005="RUNTIME-005",t.RUNTIME_006="RUNTIME-006",t.RUNTIME_007="RUNTIME-007",t.RUNTIME_008="RUNTIME-008",t.RUNTIME_009="RUNTIME-009",t.RUNTIME_010="RUNTIME-010",t.RUNTIME_011="RUNTIME-011",t.RUNTIME_012="RUNTIME-012",t.RUNTIME_013="RUNTIME-013",t.RUNTIME_014="RUNTIME-014",t.RUNTIME_015="RUNTIME-015",t.TYPE_001="TYPE-001"},2847(e,t){t.getShortErrorMsg=(e,t,r,o)=>{let n=[`${[t[e]]} #${e}`];return r&&n.push(`args: ${JSON.stringify(r)}`),n.push(`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`),o&&n.push(`Original Error Message:
|
|
4
|
-
${o}`),n.join("\n")}},69512(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let o=r(53375),n=r(2847),i=r(4359);t.BUILD_001=o.BUILD_001,t.BUILD_002=o.BUILD_002,t.RUNTIME_001=o.RUNTIME_001,t.RUNTIME_002=o.RUNTIME_002,t.RUNTIME_003=o.RUNTIME_003,t.RUNTIME_004=o.RUNTIME_004,t.RUNTIME_005=o.RUNTIME_005,t.RUNTIME_006=o.RUNTIME_006,t.RUNTIME_007=o.RUNTIME_007,t.RUNTIME_008=o.RUNTIME_008,t.RUNTIME_009=o.RUNTIME_009,t.RUNTIME_010=o.RUNTIME_010,t.RUNTIME_011=o.RUNTIME_011,t.RUNTIME_012=o.RUNTIME_012,t.RUNTIME_013=o.RUNTIME_013,t.RUNTIME_014=o.RUNTIME_014,t.RUNTIME_015=o.RUNTIME_015,t.TYPE_001=o.TYPE_001,t.buildDescMap=i.buildDescMap,t.errorDescMap=i.errorDescMap,t.getShortErrorMsg=n.getShortErrorMsg,t.runtimeDescMap=i.runtimeDescMap,t.typeDescMap=i.typeDescMap},45147(e,t){var r=Object.create,o=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(a(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var a,l=i(t),c=0,u=l.length;c<u;c++)a=l[c],s.call(e,a)||void 0===a||o(e,a,{get:(e=>t[e]).bind(null,a),enumerable:!(r=n(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?l:o(l,"default",{value:e,enumerable:!0}),e))},90839(e,t,r){let o=r(45147),n=r(27705);n=o.__toESM(n),e.exports=function(){return{name:"inject-external-runtime-core-plugin",version:"2.8.1",beforeInit(e){let t=n.Global;if(!t||"object"!=typeof t)return e;let r=e.options.name,o="2.8.1";return t._FEDERATION_RUNTIME_CORE&&t._FEDERATION_RUNTIME_CORE_FROM&&(t._FEDERATION_RUNTIME_CORE_FROM.name!==r||t._FEDERATION_RUNTIME_CORE_FROM.version!==o)?console.warn(`Detect multiple module federation runtime! Injected runtime from ${t._FEDERATION_RUNTIME_CORE_FROM.name}@${t._FEDERATION_RUNTIME_CORE_FROM.version} and current is ${r}@${o}, pleasure ensure there is only one consumer to provider runtime!`):(t._FEDERATION_RUNTIME_CORE=n,t._FEDERATION_RUNTIME_CORE_FROM={version:o,name:r}),e}}}},2219(e,t){var r=Object.defineProperty;t.__exportAll=(e,t)=>{let o={};for(var n in e)r(o,n,{get:e[n],enumerable:!0});return t||r(o,Symbol.toStringTag,{value:"Module"}),o}},73897(e,t){t.DEFAULT_REMOTE_TYPE="global",t.DEFAULT_SCOPE="default"},54588(e,t,r){let o=r(34647),n=r(73897),i=r(54928),a=r(75612),s=r(23038);r(98073);let l=r(23504),c=r(99101),u=r(14636),f=r(36434),d=r(82098);r(16128),r(35746);let h=r(16751),p=r(21647),m=r(72651);r(88981);let g=r(90211);r(36937);let y=r(91422),E=r(36757),b=r(69512);t.ModuleFederation=class{constructor(e){this.hooks=new d.PluginSystem({beforeInit:new u.SyncWaterfallHook("beforeInit"),init:new l.SyncHook,beforeInitContainer:new f.AsyncWaterfallHook("beforeInitContainer"),initContainer:new f.AsyncWaterfallHook("initContainer")}),this.version="2.8.1",this.moduleCache=new Map,this.loaderHook=new d.PluginSystem({getModuleInfo:new l.SyncHook,createScript:new l.SyncHook,createLink:new l.SyncHook,fetch:new c.AsyncHook,loadEntryError:new c.AsyncHook,afterLoadEntry:new c.AsyncHook("afterLoadEntry"),beforeInitRemote:new c.AsyncHook("beforeInitRemote"),afterInitRemote:new c.AsyncHook("afterInitRemote"),beforeGetExpose:new c.AsyncHook("beforeGetExpose"),afterGetExpose:new c.AsyncHook("afterGetExpose"),beforeExecuteFactory:new c.AsyncHook("beforeExecuteFactory"),afterExecuteFactory:new c.AsyncHook("afterExecuteFactory"),getModuleFactory:new c.AsyncHook}),this.bridgeHook=new d.PluginSystem({beforeBridgeRender:new l.SyncHook,afterBridgeRender:new l.SyncHook,beforeBridgeDestroy:new l.SyncHook,afterBridgeDestroy:new l.SyncHook});const t=[h.snapshotPlugin(),p.generatePreloadAssetsPlugin()],r={id:a.getBuilderId(),name:e.name,plugins:t,remotes:[],shared:{},inBrowser:E.isBrowserEnvValue};this.name=e.name,this.options=r,this.snapshotHandler=new m.SnapshotHandler(this),this.sharedHandler=new g.SharedHandler(this),this.remoteHandler=new y.RemoteHandler(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins([...r.plugins,...e.plugins||[]]),this.options=this.formatOptions(r,e)}initOptions(e){e.name&&e.name!==this.options.name&&o.error((0,b.getShortErrorMsg)(b.RUNTIME_010,b.runtimeDescMap)),this.registerPlugins(e.plugins);let t=this.formatOptions(this.options,e);return this.options=t,t}async loadShare(e,t){return this.sharedHandler.loadShare(e,t)}loadShareSync(e,t){return this.sharedHandler.loadShareSync(e,t)}initializeSharing(e=n.DEFAULT_SCOPE,t){return this.sharedHandler.initializeSharing(e,t)}initRawContainer(e,t,r){return this.remoteHandler.initRawContainer(e,t,r)}async loadRemote(e,t){return this.remoteHandler.loadRemote(e,t)}async preloadRemote(e){return this.remoteHandler.preloadRemote(e)}initShareScopeMap(e,t,r={}){this.sharedHandler.initShareScopeMap(e,t,r)}formatOptions(e,t){let r=i.formatShareConfigs(e,t).allShareInfos,{userOptions:o,options:n}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:t,options:e,shareInfo:r}),a=this.remoteHandler.formatAndRegisterRemote(n,o),{allShareInfos:s}=this.sharedHandler.registerShared(n,o),l=[...n.plugins];o.plugins&&o.plugins.forEach(e=>{l.includes(e)||l.push(e)});let c={...e,...t,plugins:l,remotes:a,shared:s,id:o.id||e.id};return this.hooks.lifecycle.init.emit({origin:this,options:c}),c}registerPlugins(e){let t=s.registerPlugins(e,this);this.options.plugins=this.options.plugins.reduce((e,t)=>(t&&e&&!e.find(e=>e.name===t.name)&&e.push(t),e),t||[])}registerRemotes(e,t){return this.remoteHandler.registerRemotes(e,t)}registerShared(e){this.sharedHandler.registerShared(this.options,{...this.options,shared:e})}}},11772(e,t,r){let o=r(34647),n=r(91557),i=r(36757),a="object"==typeof globalThis?globalThis:window,s=(()=>{try{return document.defaultView}catch{return a}})();function l(e,t,r){Object.defineProperty(e,t,{value:r,configurable:!1,writable:!0})}function c(e,t){return Object.hasOwnProperty.call(e,t)}c(a,"__GLOBAL_LOADING_REMOTE_ENTRY__")||l(a,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});let u=a.__GLOBAL_LOADING_REMOTE_ENTRY__;function f(e){c(e,"__VMOK__")&&!c(e,"__FEDERATION__")&&l(e,"__FEDERATION__",e.__VMOK__),c(e,"__FEDERATION__")||(l(e,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map}),l(e,"__VMOK__",e.__FEDERATION__)),e.__FEDERATION__.__GLOBAL_PLUGIN__??=[],e.__FEDERATION__.__INSTANCES__??=[],e.__FEDERATION__.moduleInfo??={},e.__FEDERATION__.__SHARE__??={},e.__FEDERATION__.__MANIFEST_LOADING__??={},e.__FEDERATION__.__PRELOADED_MAP__??=new Map}function d(e,t){if("string"==typeof t)if(e[t])return{value:e[t],key:t};else{for(let r of Object.keys(e)){let[o,n]=r.split(":"),i=`${o}:${t}`,a=e[i];if(a)return{value:a,key:i}}return{value:void 0,key:t}}o.error(`getInfoWithoutType: "key" must be a string, got ${typeof t} (${JSON.stringify(t)}).`)}f(a),f(s);let h=(e,t)=>{let r=d(t,n.getFMId(e)).value;if(r&&!r.version&&"version"in e&&e.version&&(r.version=e.version),r)return r;if("version"in e&&e.version){let{version:t,...r}=e,o=n.getFMId(r),i=d(s.__FEDERATION__.moduleInfo,o).value;if(i?.version===t)return i}};t.CurrentGlobal=a,t.Global=s,t.addGlobalSnapshot=e=>(s.__FEDERATION__.moduleInfo={...s.__FEDERATION__.moduleInfo,...e},()=>{for(let t of Object.keys(e))delete s.__FEDERATION__.moduleInfo[t]}),t.getGlobalFederationConstructor=function(){return a.__FEDERATION__.__DEBUG_CONSTRUCTOR__},t.getGlobalHostPlugins=()=>s.__FEDERATION__.__GLOBAL_PLUGIN__,t.getGlobalSnapshot=()=>s.__FEDERATION__.moduleInfo,t.getGlobalSnapshotInfoByModuleInfo=e=>h(e,s.__FEDERATION__.moduleInfo),t.getInfoWithoutType=d,t.getPreloaded=e=>a.__FEDERATION__.__PRELOADED_MAP__.get(e),t.getRemoteEntryExports=(e,t)=>{let r=t||`__FEDERATION_${e}:custom__`;return{remoteEntryKey:r,entryExports:a[r]}},t.getTargetSnapshotInfoByModuleInfo=h,t.globalLoading=u,t.nativeGlobal=s,t.registerGlobalPlugins=e=>{let{__GLOBAL_PLUGIN__:t}=s.__FEDERATION__;e.forEach(e=>{-1===t.findIndex(t=>t.name===e.name)?t.push(e):o.warn(`The plugin ${e.name} has been registered.`)})},t.resetFederationGlobalInfo=function(){a.__FEDERATION__.__GLOBAL_PLUGIN__=[],a.__FEDERATION__.__INSTANCES__=[],a.__FEDERATION__.moduleInfo={},a.__FEDERATION__.__SHARE__={},a.__FEDERATION__.__MANIFEST_LOADING__={},Object.keys(u).forEach(e=>{delete u[e]})},t.setGlobalFederationConstructor=function(e,t=(0,i.isDebugMode)()){t&&(a.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,a.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="2.8.1")},t.setGlobalFederationInstance=function(e){a.__FEDERATION__.__INSTANCES__.push(e)},t.setGlobalSnapshotInfoByModuleInfo=(e,t)=>{let r=n.getFMId(e);return s.__FEDERATION__.moduleInfo[r]=t,s.__FEDERATION__.moduleInfo},t.setPreloaded=e=>a.__FEDERATION__.__PRELOADED_MAP__.set(e,!0)},8608(e,t,r){let o=r(11772),n=r(54928),i=r(48316),a=r(77179);r(98073);let s=r(6474),l={getRegisteredShare:n.getRegisteredShare,getGlobalShareScope:n.getGlobalShareScope};t.default={global:{Global:o.Global,nativeGlobal:o.nativeGlobal,resetFederationGlobalInfo:o.resetFederationGlobalInfo,setGlobalFederationInstance:o.setGlobalFederationInstance,getGlobalFederationConstructor:o.getGlobalFederationConstructor,setGlobalFederationConstructor:o.setGlobalFederationConstructor,getInfoWithoutType:o.getInfoWithoutType,getGlobalSnapshot:o.getGlobalSnapshot,getTargetSnapshotInfoByModuleInfo:o.getTargetSnapshotInfoByModuleInfo,getGlobalSnapshotInfoByModuleInfo:o.getGlobalSnapshotInfoByModuleInfo,setGlobalSnapshotInfoByModuleInfo:o.setGlobalSnapshotInfoByModuleInfo,addGlobalSnapshot:o.addGlobalSnapshot,getRemoteEntryExports:o.getRemoteEntryExports,registerGlobalPlugins:o.registerGlobalPlugins,getGlobalHostPlugins:o.getGlobalHostPlugins,getPreloaded:o.getPreloaded,setPreloaded:o.setPreloaded},share:l,utils:{matchRemoteWithNameAndExpose:i.matchRemoteWithNameAndExpose,preloadAssets:s.preloadAssets,getRemoteInfo:a.getRemoteInfo}}},25063(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let o=r(34647),n=r(91557),i=r(11772),a=r(15422),s=r(54928),l=r(48316),c=r(77179);r(98073);let u=r(8608),f=r(65904);r(35746);let d=r(54588),h=r(2924),p=r(36757),m=u.default,g=f.Module;t.CurrentGlobal=i.CurrentGlobal,t.Global=i.Global,t.Module=g,t.ModuleFederation=d.ModuleFederation,t.addGlobalSnapshot=i.addGlobalSnapshot,t.assert=o.assert,t.error=o.error,t.getGlobalFederationConstructor=i.getGlobalFederationConstructor,t.getGlobalSnapshot=i.getGlobalSnapshot,t.getInfoWithoutType=i.getInfoWithoutType,t.getRegisteredShare=s.getRegisteredShare,t.getRemoteEntry=c.getRemoteEntry,t.getRemoteInfo=c.getRemoteInfo,t.helpers=m,t.isStaticResourcesEqual=n.isStaticResourcesEqual,Object.defineProperty(t,"loadScript",{enumerable:!0,get:function(){return p.loadScript}}),Object.defineProperty(t,"loadScriptNode",{enumerable:!0,get:function(){return p.loadScriptNode}}),t.matchRemoteWithNameAndExpose=l.matchRemoteWithNameAndExpose,t.registerGlobalPlugins=i.registerGlobalPlugins,t.resetFederationGlobalInfo=i.resetFederationGlobalInfo,t.safeWrapper=n.safeWrapper,t.satisfy=a.satisfy,t.setGlobalFederationConstructor=i.setGlobalFederationConstructor,t.setGlobalFederationInstance=i.setGlobalFederationInstance,Object.defineProperty(t,"types",{enumerable:!0,get:function(){return h.type_exports}})},65904(e,t,r){let o=r(34647),n=r(91557),i=r(48316),a=r(77179),s=r(40660);r(98073);let l=r(36757),c=r(69512);t.Module=class{constructor({remoteInfo:e,host:t}){this.inited=!1,this.initing=!1,this.lib=void 0,this.remoteInfo=e,this.host=t}async getEntry(e){if(this.remoteEntryExports)return this.remoteEntryExports;let t=await a.getRemoteEntry({origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports,resourceContext:{initiator:"loadRemote",id:i.composeRemoteRequestId(this.remoteInfo.name,e),resourceType:"remoteEntry"}});return o.assert(t,`remoteEntryExports is undefined
|
|
5
|
-
${(0,l.safeToString)(this.remoteInfo)}`),this.remoteEntryExports=t,this.remoteEntryExports}async init(e,t,r,n){let i=await this.getEntry(n);if(this.inited)return await this.host.loaderHook.lifecycle.afterInitRemote.emit({id:e,remoteInfo:this.remoteInfo,remoteSnapshot:t,remoteEntryExports:i,cached:!0,origin:this.host}),i;if(this.initPromise){try{await this.initPromise,await this.host.loaderHook.lifecycle.afterInitRemote.emit({id:e,remoteInfo:this.remoteInfo,remoteSnapshot:t,remoteEntryExports:i,cached:!0,origin:this.host})}catch(r){throw await this.host.loaderHook.lifecycle.afterInitRemote.emit({id:e,remoteInfo:this.remoteInfo,remoteSnapshot:t,remoteEntryExports:i,error:r,cached:!0,origin:this.host}),r}return i}this.initing=!0,this.initPromise=(async()=>{var n,a;let l,u;await this.host.loaderHook.lifecycle.beforeInitRemote.emit({id:e,remoteInfo:this.remoteInfo,remoteSnapshot:t,origin:this.host});let{remoteEntryInitOptions:f,shareScope:d,initScope:h}=(n=this.remoteInfo,a=this.host.shareScopeMap,(l=Array.isArray(n.shareScope)?n.shareScope:[n.shareScope]).length||l.push("default"),l.forEach(e=>{a[e]||(a[e]={})}),Object.defineProperty(u={version:n.version||"",shareScopeKeys:Array.isArray(n.shareScope)?l:n.shareScope||"default"},"shareScopeMap",{value:a,enumerable:!1}),{remoteEntryInitOptions:u,shareScope:a[l[0]],initScope:r??[]}),p=await this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:d,remoteEntryInitOptions:f,initScope:h,remoteInfo:this.remoteInfo,origin:this.host});void 0===i?.init&&o.error(c.RUNTIME_002,c.runtimeDescMap,{hostName:this.host.name,remoteName:this.remoteInfo.name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName},void 0,s.optionsToMFContext(this.host.options));try{await i.init(p.shareScope,p.initScope,p.remoteEntryInitOptions)}catch(e){o.error(c.RUNTIME_015,c.runtimeDescMap,{hostName:this.host.name,remoteName:this.remoteInfo.name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName,shareScope:this.remoteInfo.shareScope},`${e}`,s.optionsToMFContext(this.host.options))}await this.host.hooks.lifecycle.initContainer.emit({...p,id:e,remoteSnapshot:t,remoteEntryExports:i}),this.inited=!0})();try{await this.initPromise,await this.host.loaderHook.lifecycle.afterInitRemote.emit({id:e,remoteInfo:this.remoteInfo,remoteSnapshot:t,remoteEntryExports:i,origin:this.host})}catch(r){throw await this.host.loaderHook.lifecycle.afterInitRemote.emit({id:e,remoteInfo:this.remoteInfo,remoteSnapshot:t,remoteEntryExports:i,error:r,origin:this.host}),r}finally{this.initing=!1,this.initPromise=void 0}return i}async get(e,t,r,i){let a,{loadFactory:l=!0}=r||{loadFactory:!0},u=await this.init(e,i,void 0,t);this.lib=u,await this.host.loaderHook.lifecycle.beforeGetExpose.emit({id:e,expose:t,moduleInfo:this.remoteInfo,remoteEntryExports:u,origin:this.host});try{let r=await this.host.loaderHook.lifecycle.getModuleFactory.emit({remoteEntryExports:u,expose:t,moduleInfo:this.remoteInfo});(a="function"==typeof r?r:void 0)||(a=await u.get(t)),a||o.error(c.RUNTIME_014,c.runtimeDescMap,{hostName:this.host.name,remoteName:this.remoteInfo.name,remoteEntryUrl:this.remoteInfo.entry,expose:t,requestId:e,availableExposes:function(e){if(!e||!("modules"in e)||!Array.isArray(e.modules))return;let t=e.modules.map(e=>e.moduleName).filter(Boolean);return t.length?t.join(","):void 0}(i)},void 0,s.optionsToMFContext(this.host.options)),await this.host.loaderHook.lifecycle.afterGetExpose.emit({id:e,expose:t,moduleInfo:this.remoteInfo,remoteEntryExports:u,moduleFactory:a,origin:this.host})}catch(r){throw await this.host.loaderHook.lifecycle.afterGetExpose.emit({id:e,expose:t,moduleInfo:this.remoteInfo,remoteEntryExports:u,error:r,origin:this.host}),r}let f=n.processModuleAlias(this.remoteInfo.name,t),d=this.wraperFactory(a,f);if(!l)return d;await this.host.loaderHook.lifecycle.beforeExecuteFactory.emit({id:e,expose:t,moduleInfo:this.remoteInfo,loadFactory:l,origin:this.host});try{let r=await d();return await this.host.loaderHook.lifecycle.afterExecuteFactory.emit({id:e,expose:t,moduleInfo:this.remoteInfo,loadFactory:l,exposeModule:r,origin:this.host}),r}catch(r){throw await this.host.loaderHook.lifecycle.afterExecuteFactory.emit({id:e,expose:t,moduleInfo:this.remoteInfo,loadFactory:l,error:r,origin:this.host}),r}}wraperFactory(e,t){function r(e,t){e&&"object"==typeof e&&Object.isExtensible(e)&&!Object.getOwnPropertyDescriptor(e,Symbol.for("mf_module_id"))&&Object.defineProperty(e,Symbol.for("mf_module_id"),{value:t,enumerable:!1})}return()=>{let o=e();return o instanceof Promise?o.then(e=>(r(e,t),e)):(r(o,t),o)}}}},21647(e,t,r){let o=r(91557),n=r(11772),i=r(54928);r(98073);let a=r(6474),s=r(16751),l=r(36757),c=(e,t)=>document.querySelector(`${e}[${"link"===e?"href":"src"}="${t}"]`);t.generatePreloadAssetsPlugin=function(){return{name:"generate-preload-assets-plugin",async generatePreloadAssets(e){let{origin:t,preloadOptions:r,remoteInfo:u,remote:f,globalSnapshot:d,remoteSnapshot:h}=e;return l.isBrowserEnvValue?o.isRemoteInfoWithEntry(f)&&o.isPureRemoteEntry(f)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:f.name,url:f.entry,moduleInfo:{name:u.name,entry:f.entry,type:u.type||"global",entryGlobalName:"",shareScope:""}}]}:(s.assignRemoteInfo(u,h),function(e,t,r,s,u){let f=[],d=[],h=[],p=new Set,m=new Set,{options:g}=e,{preloadConfig:y}=t,{depsRemote:E}=y;!function e(t,r,i,a,s={},c){let{value:u}=n.getInfoWithoutType(t,o.getFMId(r)),f=c||u;if(f&&!(0,l.isManifestProvider)(f)&&(i(f,r,a),f.remotesInfo))for(let r of Object.keys(f.remotesInfo)){if(s[r])continue;s[r]=!0;let o=function(e){let t=e.split(":");return 1===t.length?{name:t[0],version:void 0}:2===t.length?{name:t[0],version:t[1]}:{name:t[1],version:t[2]}}(r),n=f.remotesInfo[r];e(t,{name:o.name,version:n.matchedVersion},i,!1,s,void 0)}}(s,r,(t,r,i)=>{let s;if(i)s=y;else if(Array.isArray(E)){let e=E.find(e=>e.nameOrAlias===r.name||e.nameOrAlias===r.alias);if(!e)return;s=a.defaultPreloadArgs(e)}else{if(!0!==E)return;s=y}let c=(0,l.getResourceUrl)(t,o.getRemoteEntryInfoFromSnapshot(t).url);c&&h.push({name:r.name,moduleInfo:{name:r.name,entry:c,type:"remoteEntryType"in t?t.remoteEntryType:"global",entryGlobalName:"globalName"in t?t.globalName:r.name,shareScope:"",version:"version"in t?t.version:void 0},url:c});let u="modules"in t?t.modules:[],p=a.normalizePreloadExposes(s.exposes);function m(e){let r=e.map(e=>(0,l.getResourceUrl)(t,e));return s.filter?r.filter(s.filter):r}if(p.length&&"modules"in t&&(u=t?.modules?.reduce((e,t)=>(p?.indexOf(t.moduleName)!==-1&&e.push(t),e),[])),u){let o=u.length;for(let i=0;i<o;i++){let o=u[i],a=`${r.name}/${o.moduleName}`;e.remoteHandler.hooks.lifecycle.handlePreloadModule.emit({id:"."===o.moduleName?r.name:a,name:r.name,remoteSnapshot:t,preloadConfig:s,remote:r,origin:e}),n.getPreloaded(a)||("all"===s.resourceCategory?(f.push(...m(o.assets.css.async)),f.push(...m(o.assets.css.sync)),d.push(...m(o.assets.js.async)),d.push(...m(o.assets.js.sync))):"sync"===s.resourceCategory&&(f.push(...m(o.assets.css.sync)),d.push(...m(o.assets.js.sync))),n.setPreloaded(a))}}},!0,{},u),u.shared&&u.shared.length>0&&u.shared.forEach(t=>{let r=g.shared?.[t.sharedName];if(!r)return;let n=t.version?r.find(e=>e.version===t.version):r;n&&o.arrayOptions(n).forEach(r=>{((t,r)=>{let{shared:o}=i.getRegisteredShare(e.shareScopeMap,r.sharedName,t,e.sharedHandler.hooks.lifecycle.resolveShare)||{};o&&"function"==typeof o.lib&&(r.assets.js.sync.forEach(e=>{p.add(e)}),r.assets.css.sync.forEach(e=>{m.add(e)}))})(r,t)})});let b=d.filter(e=>!p.has(e)&&!c("script",e));return{cssAssets:f.filter(e=>!m.has(e)&&!c("link",e)),jsAssetsWithoutEntry:b,entryAssets:h.filter(e=>!c("script",e.url))}}(t,r,u,d,h)):{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[]}}}}},72651(e,t,r){let o=r(34647),n=r(91557),i=r(11772),a=r(77179),s=r(40660);r(98073);let l=r(99101),c=r(36434),u=r(82098);r(16128);let f=r(36757),d=r(69512);function h(e,t){let r=i.getGlobalSnapshotInfoByModuleInfo({name:t.name,version:t.options.version}),o=r&&"remotesInfo"in r&&r.remotesInfo&&i.getInfoWithoutType(r.remotesInfo,e.name).value;return o&&o.matchedVersion?{hostGlobalSnapshot:r,globalSnapshot:i.getGlobalSnapshot(),remoteSnapshot:i.getGlobalSnapshotInfoByModuleInfo({name:e.name,version:o.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:i.getGlobalSnapshot(),remoteSnapshot:i.getGlobalSnapshotInfoByModuleInfo({name:e.name,version:"version"in e?e.version:void 0})}}t.SnapshotHandler=class{constructor(e){this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new u.PluginSystem({beforeLoadRemoteSnapshot:new l.AsyncHook("beforeLoadRemoteSnapshot"),loadSnapshot:new c.AsyncWaterfallHook("loadGlobalSnapshot"),loadRemoteSnapshot:new c.AsyncWaterfallHook("loadRemoteSnapshot"),afterLoadSnapshot:new c.AsyncWaterfallHook("afterLoadSnapshot")}),this.manifestLoading=i.Global.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=e,this.loaderHook=e.loaderHook}async loadRemoteSnapshotInfo({moduleInfo:e,id:t,initiator:r="loadRemote"}){let a,l,{options:c}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:c,moduleInfo:e,origin:this.HostInstance});let u=i.getGlobalSnapshotInfoByModuleInfo({name:this.HostInstance.options.name,version:this.HostInstance.options.version});u||(u={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},i.addGlobalSnapshot({[this.HostInstance.options.name]:u})),u&&"remotesInfo"in u&&!i.getInfoWithoutType(u.remotesInfo,e.name).value&&("version"in e||"entry"in e)&&(u.remotesInfo={...u?.remotesInfo,[e.name]:{matchedVersion:"version"in e?e.version:e.entry}});let{hostGlobalSnapshot:h,remoteSnapshot:p,globalSnapshot:m}=this.getGlobalRemoteInfo(e),{remoteSnapshot:g,globalSnapshot:y}=await this.hooks.lifecycle.loadSnapshot.emit({options:c,moduleInfo:e,hostGlobalSnapshot:h,remoteSnapshot:p,globalSnapshot:m});if(g)if((0,f.isManifestProvider)(g)){let o=f.isBrowserEnvValue?g.remoteEntry:g.ssrRemoteEntry||g.remoteEntry||"",n=await this.loadManifestSnapshot(o,e,{},{initiator:r,id:t||e.name}),s=i.setGlobalSnapshotInfoByModuleInfo({...e,entry:o},n);a=n,l=s}else{let{remoteSnapshot:t}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:g,from:"global"});a=t,l=y}else if(n.isRemoteInfoWithEntry(e)){let o=await this.loadManifestSnapshot(e.entry,e,{},{initiator:r,id:t||e.name}),n=i.setGlobalSnapshotInfoByModuleInfo(e,o);a=o,l=n}else o.error(d.RUNTIME_007,d.runtimeDescMap,{remoteName:e.name,remoteVersion:e.version,hostName:this.HostInstance.options.name,globalSnapshot:JSON.stringify(y)},void 0,s.optionsToMFContext(this.HostInstance.options));return await this.hooks.lifecycle.afterLoadSnapshot.emit({id:t,host:this.HostInstance,options:c,moduleInfo:e,remoteSnapshot:a}),{remoteSnapshot:a,globalSnapshot:l}}getGlobalRemoteInfo(e){return h(e,this.HostInstance)}async getManifestJson(e,t,r,n){return(async()=>{let r=a.getRemoteInfo(t),i=this.manifestCache.get(e);if(i)return i;try{let t=await this.loaderHook.lifecycle.fetch.emit(e,{},r,n?{...n,url:e,resourceType:"manifest"}:void 0);t&&t instanceof Response||(t=await fetch(e,{})),i=await t.json()}catch(n){(i=await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:n,from:"runtime",lifecycle:"afterResolve",remote:r,origin:this.HostInstance}))||(delete this.manifestLoading[e],o.error(d.RUNTIME_003,d.runtimeDescMap,{manifestUrl:e,moduleName:t.name,hostName:this.HostInstance.options.name},`${n}`,s.optionsToMFContext(this.HostInstance.options)))}let l=[!i.metaData&&"metaData",!i.exposes&&"exposes",!i.shared&&"shared"].filter(Boolean);return l.length>0&&await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:Error(`"${e}" is not a valid federation manifest for remote "${t.name}". Missing required fields: ${l.join(", ")}.`),from:"runtime",lifecycle:"afterResolve",remote:r,origin:this.HostInstance}),l.length>0&&o.error(d.RUNTIME_013,d.runtimeDescMap,{manifestUrl:e,moduleName:t.name,hostName:this.HostInstance.options.name,missingFields:l.join(",")},void 0,s.optionsToMFContext(this.HostInstance.options)),this.manifestCache.set(e,i),i})()}async loadManifestSnapshot(e,t,r,o){let n=async()=>{let n=await this.getManifestJson(e,t,r,o),i=(0,f.generateSnapshotFromManifest)(n,{version:e}),{remoteSnapshot:a}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:t,manifestJson:n,remoteSnapshot:i,manifestUrl:e,from:"manifest"});return a};return this.manifestLoading[e]||(this.manifestLoading[e]=n().then(e=>e)),this.manifestLoading[e]}},t.getGlobalRemoteInfo=h},88981(e,t,r){let o=r(82098);r(16128),t.DisabledSnapshotHandler=class{constructor(){this.hooks=new o.PluginSystem({})}}},16751(e,t,r){let o=r(34647),n=r(91557),i=r(48316);r(98073);let a=r(6474),s=r(36757),l=r(69512);function c(e,t){let r=n.getRemoteEntryInfoFromSnapshot(t);r.url||o.error(l.RUNTIME_011,l.runtimeDescMap,{remoteName:e.name});let i=(0,s.getResourceUrl)(t,r.url);s.isBrowserEnvValue||i.startsWith("http")||(i=`https:${i}`),e.type=r.type,e.entryGlobalName=r.globalName,e.entry=i,e.version=t.version,e.buildVersion=t.buildVersion}t.assignRemoteInfo=c,t.snapshotPlugin=function(){return{name:"snapshot-plugin",async afterResolve(e){let{remote:t,pkgNameOrAlias:r,expose:o,origin:s,remoteInfo:l,id:u}=e;if(!n.isRemoteInfoWithEntry(t)||!n.isPureRemoteEntry(t)){let{remoteSnapshot:n,globalSnapshot:f}=await s.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:t,id:i.composeRemoteRequestId(t.name,o)});c(l,n);let d=await s.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:s,preloadOptions:{remote:t,preloadConfig:{nameOrAlias:r,exposes:[o],resourceCategory:"sync",share:!1,depsRemote:!1}},remoteInfo:l,remote:t,remoteSnapshot:n,globalSnapshot:f});return d&&a.preloadAssets(l,s,d,!1,{initiator:"loadRemote",id:u}).catch(()=>void 0),{...e,remoteSnapshot:n}}return e}}}},35746(e,t,r){let o=r(82098);r(16128);let n="Remote loading is disabled by experiments.optimization.disableRemote.";t.DisabledRemoteHandler=class{constructor(){this.hooks=new o.PluginSystem({})}formatAndRegisterRemote(){return[]}loadRemote(){throw Error(n)}preloadRemote(){throw Error(n)}registerRemotes(){throw Error(n)}getRemoteModuleAndOptions(){throw Error(n)}initRawContainer(){throw Error(n)}},t.UnavailableRemoteModule=class{constructor(){throw Error(n)}}},91422(e,t,r){let o=r(34647),n=r(91557),i=r(11772),a=r(73897),s=r(54928),l=r(48316),c=r(77179),u=r(40660);r(98073);let f=r(6474),d=r(65904),h=r(23504),p=r(99101),m=r(14636),g=r(36434),y=r(82098);r(16128);let E=r(72651),b=r(36757),S=r(69512);t.RemoteHandler=class{constructor(e){this.hooks=new y.PluginSystem({beforeRegisterRemote:new m.SyncWaterfallHook("beforeRegisterRemote"),registerRemote:new m.SyncWaterfallHook("registerRemote"),beforeRequest:new g.AsyncWaterfallHook("beforeRequest"),afterMatchRemote:new p.AsyncHook("afterMatchRemote"),onLoad:new p.AsyncHook("onLoad"),afterLoadRemote:new p.AsyncHook("afterLoadRemote"),handlePreloadModule:new h.SyncHook("handlePreloadModule"),errorLoadRemote:new p.AsyncHook("errorLoadRemote"),beforePreloadRemote:new p.AsyncHook("beforePreloadRemote"),generatePreloadAssets:new p.AsyncHook("generatePreloadAssets"),afterPreloadRemote:new p.AsyncHook("afterPreloadRemote"),loadEntry:new p.AsyncHook}),this.host=e,this.idToRemoteMap={}}formatAndRegisterRemote(e,t){return(t.remotes||[]).reduce((e,t)=>(this.registerRemote(t,e,{force:!1}),e),e.remotes)}setIdToRemoteMap(e,t){let{remote:r,expose:o}=t,{name:n,alias:i}=r;if(this.idToRemoteMap[e]={name:r.name,expose:o},i&&e.startsWith(n)){let t=e.replace(n,i);this.idToRemoteMap[t]={name:r.name,expose:o};return}if(i&&e.startsWith(i)){let t=e.replace(i,n);this.idToRemoteMap[t]={name:r.name,expose:o}}}async loadRemote(e,t){let r,{host:o}=this,n=l.matchRemoteWithNameAndExpose(o.options.remotes,e),i=e,a=n?.expose,s=n?c.getRemoteInfo(n.remote):void 0;try{let{loadFactory:n=!0}=t||{loadFactory:!0},{module:l,moduleOptions:u,remoteMatchInfo:f}=await this.getRemoteModuleAndOptions({id:e}),{pkgNameOrAlias:d,remote:h,expose:p,id:m,remoteSnapshot:g}=f;i=m,a=p,s=c.getRemoteInfo(h);let y=await l.get(m,p,t,g),E=await this.hooks.lifecycle.onLoad.emit({id:m,pkgNameOrAlias:d,expose:p,exposeModule:n?y:void 0,exposeModuleFactory:n?void 0:y,remote:h,options:u,moduleInstance:l,origin:o});if(this.setIdToRemoteMap(e,f),r={id:i,expose:a,remote:s,options:t,origin:o},"function"==typeof E)return E;return y}catch(c){let n,{from:l="runtime"}=t||{from:"runtime"};try{n=await this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:c,from:l,lifecycle:"onLoad",expose:a,remote:s,origin:o})}catch(e){throw r={id:i,expose:a,remote:s,options:t,error:e,origin:o},e}if(!n)throw r={id:i,expose:a,remote:s,options:t,error:c,origin:o},c;return r={id:i,expose:a,remote:s,options:t,error:c,origin:o,recovered:!0},n}finally{r&&await this.hooks.lifecycle.afterLoadRemote.emit(r)}}async preloadRemote(e){let t,{host:r}=this,o=[];await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:e,options:r.options,origin:r});let n=f.formatPreloadArgs(r.options.remotes,e);await Promise.all(n.flatMap(e=>{let{preloadConfig:t,remote:r}=e,o=t.exposes||[];return o.length?o.map(o=>({ops:{...e,preloadConfig:{...t,exposes:[o]}},id:l.composeRemoteRequestId(r.name,o)})):[{ops:e,id:`${r.name}/*`}]}).map(async e=>{let{ops:t,id:n}=e,{remote:i,preloadConfig:a}=t,s=c.getRemoteInfo(i);try{let{globalSnapshot:e,remoteSnapshot:l}=await r.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:i,id:n,initiator:"preloadRemote"}),c=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:r,preloadOptions:t,remote:i,remoteInfo:s,globalSnapshot:e,remoteSnapshot:l});if(!c)return;let u=await f.preloadAssets(s,r,c,!0,{initiator:"preloadRemote",id:n});o.push({remote:i,remoteInfo:s,preloadConfig:a,id:n,results:u})}catch(e){o.push({remote:i,remoteInfo:s,preloadConfig:a,id:n,results:[{url:s.entry,status:"error",resourceType:/\.json(?:$|[?#])/i.test(s.entry)?"manifest":"remoteEntry",initiator:"preloadRemote",id:n,error:e}]})}}));let i=o.flatMap(e=>e.results.filter(e=>"error"===e.status||"timeout"===e.status));if(i.length>0&&Object.assign(t=Error(`preloadRemote failed to load ${i.length} resource(s).`),{results:o,failedResults:i}),await this.hooks.lifecycle.afterPreloadRemote.emit({preloadOps:e,options:r.options,origin:r,results:o,error:t}),t)throw t}registerRemotes(e,t){let{host:r}=this;e.forEach(e=>{this.registerRemote(e,r.options.remotes,{force:t?.force})})}initRawContainer(e,t,r){let{host:o}=this,n=new d.Module({host:o,remoteInfo:c.getRemoteInfo({name:e,entry:t})});return n.remoteEntryExports=r,o.moduleCache.set(e,n),n}async getRemoteModuleAndOptions(e){let t,{host:r}=this,{id:n}=e;try{t=await this.hooks.lifecycle.beforeRequest.emit({id:n,options:r.options,origin:r})}catch(e){if(!(t=await this.hooks.lifecycle.errorLoadRemote.emit({id:n,options:r.options,origin:r,from:"runtime",error:e,lifecycle:"beforeRequest"})))throw e}let{id:i}=t,a=l.matchRemoteWithNameAndExpose(r.options.remotes,i);if(!a)try{o.error(S.RUNTIME_004,S.runtimeDescMap,{hostName:r.options.name,requestId:i},void 0,u.optionsToMFContext(r.options))}catch(e){throw await this.hooks.lifecycle.afterMatchRemote.emit({id:i,options:r.options,error:e,origin:r}),e}let{remote:s}=a,f=c.getRemoteInfo(s);await this.hooks.lifecycle.afterMatchRemote.emit({id:i,...a,options:r.options,remoteInfo:f,origin:r});let h=await r.sharedHandler.hooks.lifecycle.afterResolve.emit({id:i,...a,options:r.options,origin:r,remoteInfo:f}),{remote:p,expose:m}=h;o.assert(p&&m,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${i}.`);let g=r.moduleCache.get(p.name),y={host:r,remoteInfo:f};return g||(g=new d.Module(y),r.moduleCache.set(p.name,g)),{module:g,moduleOptions:y,remoteMatchInfo:h}}registerRemote(e,t,r){let{host:n}=this,i=()=>{if(e.alias){let r=t.find(t=>e.alias&&(t.name.startsWith(e.alias)||t.alias?.startsWith(e.alias)));o.assert(!r,`The alias ${e.alias} of remote ${e.name} is not allowed to be the prefix of ${r&&r.name} name or alias`)}"entry"in e&&b.isBrowserEnvValue&&"u">typeof window&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=a.DEFAULT_SCOPE),e.type||(e.type=a.DEFAULT_REMOTE_TYPE)};this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:n});let s=t.find(t=>t.name===e.name);if(s){let o=[`The remote "${e.name}" is already registered.`,"Please note that overriding it may cause unexpected errors."];r?.force&&(this.removeRemote(s),i(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:n}),(0,b.warn)(o.join(" ")))}else i(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:n})}removeRemote(e){try{let{host:t}=this,{name:r}=e,o=t.options.remotes.findIndex(e=>e.name===r);-1!==o&&t.options.remotes.splice(o,1);let a=i.getInfoWithoutType(i.CurrentGlobal.__FEDERATION__.moduleInfo,n.getFMId(e)).key;delete i.CurrentGlobal.__FEDERATION__.moduleInfo[a],"entry"in e&&(t.snapshotHandler.manifestCache.delete(e.entry),delete i.Global.__FEDERATION__.__MANIFEST_LOADING__[e.entry]);let{hostGlobalSnapshot:l}=E.getGlobalRemoteInfo(e,t);if(l){let t=l&&"remotesInfo"in l&&l.remotesInfo&&i.getInfoWithoutType(l.remotesInfo,e.name).key;t&&delete l.remotesInfo[t]}let u=t.moduleCache.get(e.name);if(u){let r=u.remoteInfo,o=r.entryGlobalName;i.CurrentGlobal[o]&&(Object.getOwnPropertyDescriptor(i.CurrentGlobal,o)?.configurable?delete i.CurrentGlobal[o]:i.CurrentGlobal[o]=void 0);let n=c.getRemoteEntryUniqueKey(u.remoteInfo);i.globalLoading[n]&&delete i.globalLoading[n];let a=r.buildVersion?(0,b.composeKeyWithSeparator)(r.name,r.buildVersion):r.name,l=i.CurrentGlobal.__FEDERATION__.__INSTANCES__.findIndex(e=>r.buildVersion?e.options.id===a:e.name===a);if(-1!==l){let e=i.CurrentGlobal.__FEDERATION__.__INSTANCES__[l];a=e.options.id||a;let t=s.getGlobalShareScope(),o=!0,n=[];Object.keys(t).forEach(e=>{let i=t[e];i&&Object.keys(i).forEach(t=>{let a=i[t];a&&Object.keys(a).forEach(i=>{let s=a[i];s&&Object.keys(s).forEach(a=>{let l=s[a];l&&"object"==typeof l&&l.from===r.name&&(l.loaded||l.loading?(l.useIn=l.useIn.filter(e=>e!==r.name),l.useIn.length?o=!1:n.push([e,t,i,a])):n.push([e,t,i,a]))})})})}),o&&(e.shareScopeMap={},delete t[a]),n.forEach(([e,r,o,n])=>{delete t[e]?.[r]?.[o]?.[n]}),i.CurrentGlobal.__FEDERATION__.__INSTANCES__.splice(l,1)}t.moduleCache.delete(e.name)}}catch(e){o.logger.error(`removeRemote failed: ${e instanceof Error?e.message:String(e)}`)}}}},36937(e,t,r){let o=r(36434),n=r(82098);r(16128),t.DisabledSharedHandler=class{constructor(){this.shareScopeMap={},this.hooks=new n.PluginSystem({afterResolve:new o.AsyncWaterfallHook("afterResolve")})}registerShared(){return{newShareInfos:{},allShareInfos:{}}}loadShare(){throw Error("Shared dependency loading is disabled by experiments.optimization.disableShared.")}loadShareSync(){throw Error("Shared dependency loading is disabled by experiments.optimization.disableShared.")}initializeSharing(){return[]}initShareScopeMap(e,t){this.shareScopeMap[e]=t}}},90211(e,t,r){let o=r(34647),n=r(73897),i=r(54928),a=r(40660);r(98073);let s=r(23504),l=r(99101),c=r(14636),u=r(36434),f=r(82098);r(16128);let d=r(69512);t.SharedHandler=class{constructor(e){this.hooks=new f.PluginSystem({beforeRegisterShare:new c.SyncWaterfallHook("beforeRegisterShare"),afterResolve:new u.AsyncWaterfallHook("afterResolve"),beforeLoadShare:new u.AsyncWaterfallHook("beforeLoadShare"),loadShare:new l.AsyncHook,afterLoadShare:new s.SyncHook("afterLoadShare"),errorLoadShare:new s.SyncHook("errorLoadShare"),resolveShare:new c.SyncWaterfallHook("resolveShare"),initContainerShareScopeMap:new c.SyncWaterfallHook("initContainerShareScopeMap")}),this.host=e,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(e.options)}emitAfterLoadShare({lifecycle:e,pkgName:t,shareInfo:r,selectedShared:n}){try{this.hooks.lifecycle.afterLoadShare.emit({pkgName:t,shareInfo:r,selectedShared:n,shared:this.host.options.shared,shareScopeMap:this.shareScopeMap,lifecycle:e,origin:this.host})}catch(e){o.warn(e)}}emitErrorLoadShare({lifecycle:e,pkgName:t,shareInfo:r,error:n,recovered:i}){try{this.hooks.lifecycle.errorLoadShare.emit({pkgName:t,shareInfo:r,shared:this.host.options.shared,shareScopeMap:this.shareScopeMap,lifecycle:e,origin:this.host,error:n,recovered:i})}catch(e){o.warn(e)}}registerShared(e,t){let{newShareInfos:r,allShareInfos:o}=i.formatShareConfigs(e,t);return Object.keys(r).forEach(e=>{r[e].forEach(r=>{r.scope.forEach(o=>{this.hooks.lifecycle.beforeRegisterShare.emit({origin:this.host,pkgName:e,shared:r}),this.shareScopeMap[o]?.[e]||this.setShared({pkgName:e,lib:r.lib,get:r.get,loaded:r.loaded||!!r.lib,shared:r,from:t.name})})})}),{newShareInfos:r,allShareInfos:o}}async loadShare(e,t){let{host:r}=this,n=i.getTargetSharedOptions({pkgName:e,extraOptions:t,shareInfos:r.options.shared}),a=n;try{n?.scope&&await Promise.all(n.scope.map(async e=>{await Promise.all(this.initializeSharing(e,{strategy:n.strategy}))})),a=(await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:n,shared:r.options.shared,origin:r})).shareInfo,o.assert(a,`Cannot find shared "${e}" in host "${r.options.name}". Ensure the shared config for "${e}" is declared in the federation plugin options and the host has been initialized before loading shares.`);let s=a,{shared:l,useTreesShaking:c}=i.getRegisteredShare(this.shareScopeMap,e,a,this.hooks.lifecycle.resolveShare)||{};if(l){let t=i.directShare(l,c);if(t.lib)return i.addUseIn(t,r.options.name),this.emitAfterLoadShare({lifecycle:"loadShare",pkgName:e,shareInfo:s,selectedShared:l}),t.lib;if(t.loading&&!t.loaded){let o=await t.loading;return t.loaded=!0,t.lib||(t.lib=o),i.addUseIn(t,r.options.name),this.emitAfterLoadShare({lifecycle:"loadShare",pkgName:e,shareInfo:s,selectedShared:l}),o}{let o=(async()=>{let e=await t.get();return i.addUseIn(t,r.options.name),t.loaded=!0,t.lib=e,e})();this.setShared({pkgName:e,loaded:!1,shared:l,from:r.options.name,lib:null,loading:o,treeShaking:c?t:void 0});let n=await o;return this.emitAfterLoadShare({lifecycle:"loadShare",pkgName:e,shareInfo:s,selectedShared:l}),n}}{if(t?.customShareInfo)return this.emitErrorLoadShare({lifecycle:"loadShare",pkgName:e,shareInfo:s,recovered:!0}),!1;let o=i.shouldUseTreeShaking(s.treeShaking),n=i.directShare(s,o),a=(async()=>{let t=await n.get();n.lib=t,n.loaded=!0,i.addUseIn(n,r.options.name);let{shared:o,useTreesShaking:a}=i.getRegisteredShare(this.shareScopeMap,e,s,this.hooks.lifecycle.resolveShare)||{};if(o){let e=i.directShare(o,a);e.lib=t,e.loaded=!0,o.from=s.from}return t})();this.setShared({pkgName:e,loaded:!1,shared:s,from:r.options.name,lib:null,loading:a,treeShaking:o?n:void 0});let l=await a;return this.emitAfterLoadShare({lifecycle:"loadShare",pkgName:e,shareInfo:s,selectedShared:s}),l}}catch(t){throw this.emitErrorLoadShare({lifecycle:"loadShare",pkgName:e,shareInfo:a,error:t}),t}}initializeSharing(e=n.DEFAULT_SCOPE,t){let{host:r}=this,o=t?.from,a=t?.strategy,s=t?.initScope,l=[];if("build"!==o){let{initTokens:t}=this;s||(s=[]);let r=t[e];if(r||(r=t[e]={from:this.host.name}),s.indexOf(r)>=0)return l;s.push(r)}let c=this.shareScopeMap,u=r.options.name;c[e]||(c[e]={});let f=c[e],d=async e=>{let t,{module:o}=await r.remoteHandler.getRemoteModuleAndOptions({id:e});try{t=await o.getEntry()}catch(n){if(!(t=await r.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:n,from:"runtime",lifecycle:"beforeLoadShare",remote:o.remoteInfo,origin:r})))return}finally{t?.init&&!o.initing&&(o.remoteEntryExports=t,await o.init(void 0,void 0,s))}};return Object.keys(r.options.shared).forEach(t=>{r.options.shared[t].forEach(r=>{r.scope.includes(e)&&((e,t)=>{let{version:r,eager:o}=t;f[e]=f[e]||{};let n=f[e],a=n[r]&&i.directShare(n[r]),s=!!(a&&("eager"in a&&a.eager||"shareConfig"in a&&a.shareConfig?.eager));(!a||"loaded-first"!==a.strategy&&!a.loaded&&(!o!=!s?o:u>n[r].from))&&(n[r]=t)})(t,r)})}),("version-first"===r.options.shareStrategy||"version-first"===a)&&r.options.remotes.forEach(t=>{t.shareScope===e&&l.push(d(t.name))}),l}loadShareSync(e,t){let{host:r}=this,n=i.getTargetSharedOptions({pkgName:e,extraOptions:t,shareInfos:r.options.shared});try{n?.scope&&n.scope.forEach(e=>{this.initializeSharing(e,{strategy:n.strategy})});let{shared:s}=i.getRegisteredShare(this.shareScopeMap,e,n,this.hooks.lifecycle.resolveShare)||{};if(s){if("function"==typeof s.lib)return i.addUseIn(s,r.options.name),s.loaded||(s.loaded=!0,s.from===r.options.name&&(n.loaded=!0)),this.emitAfterLoadShare({lifecycle:"loadShareSync",pkgName:e,shareInfo:n,selectedShared:s}),s.lib;if("function"==typeof s.get){let t=s.get();if(!(t instanceof Promise))return i.addUseIn(s,r.options.name),this.setShared({pkgName:e,loaded:!0,from:r.options.name,lib:t,shared:s}),this.emitAfterLoadShare({lifecycle:"loadShareSync",pkgName:e,shareInfo:n,selectedShared:s}),t}}if(n.lib)return n.loaded||(n.loaded=!0),this.emitAfterLoadShare({lifecycle:"loadShareSync",pkgName:e,shareInfo:n,selectedShared:n}),n.lib;if(n.get){let i=n.get();return i instanceof Promise&&o.error(t?.from==="build"?d.RUNTIME_005:d.RUNTIME_006,d.runtimeDescMap,{hostName:r.options.name,sharedPkgName:e},void 0,a.optionsToMFContext(r.options)),n.lib=i,this.setShared({pkgName:e,loaded:!0,from:r.options.name,lib:n.lib,shared:n}),this.emitAfterLoadShare({lifecycle:"loadShareSync",pkgName:e,shareInfo:n,selectedShared:n}),n.lib}o.error(d.RUNTIME_006,d.runtimeDescMap,{hostName:r.options.name,sharedPkgName:e},void 0,a.optionsToMFContext(r.options))}catch(t){throw this.emitErrorLoadShare({lifecycle:"loadShareSync",pkgName:e,shareInfo:n,error:t}),t}}initShareScopeMap(e,t,r={}){let{host:o}=this;this.shareScopeMap[e]=t,this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:t,options:o.options,origin:o,scopeName:e,hostShareScopeMap:r.hostShareScopeMap})}setShared({pkgName:e,shared:t,from:r,lib:o,loading:n,loaded:i,get:a,treeShaking:s}){let{version:l,scope:c="default",...u}=t;(Array.isArray(c)?c:[c]).forEach(t=>{let c,f;this.shareScopeMap[t]||(this.shareScopeMap[t]={}),this.shareScopeMap[t][e]||(this.shareScopeMap[t][e]={}),this.shareScopeMap[t][e][l]||(this.shareScopeMap[t][e][l]={version:l,scope:[t],...u,lib:o});let d=this.shareScopeMap[t][e][l];(c=(e,t,r)=>{r&&!e[t]&&(e[t]=r)})(f=s?d.treeShaking:d,"loaded",i),c(f,"loading",n),c(f,"get",a),r&&d.from!==r&&(d.from=r)})}_setGlobalShareScopeMap(e){let t=i.getGlobalShareScope(),r=e.id||e.name;r&&!t[r]&&(t[r]=this.shareScopeMap)}}},2924(e,t,r){var o=r(2219).__exportAll({});Object.defineProperty(t,"type_exports",{enumerable:!0,get:function(){return o}})},40660(e,t){function r(e){return{name:e.name,alias:e.alias,entry:"entry"in e?e.entry:void 0,version:"version"in e?e.version:void 0,type:e.type,entryGlobalName:e.entryGlobalName,shareScope:e.shareScope}}t.optionsToMFContext=function(e){let t={};for(let[r,o]of Object.entries(e.shared)){let e=o[0];e&&(t[r]={version:e.version,singleton:e.shareConfig?.singleton,requiredVersion:e.shareConfig?.requiredVersion!==!1&&e.shareConfig?.requiredVersion,eager:e.eager,strictVersion:e.shareConfig?.strictVersion})}return{project:{name:e.name,mfRole:e.remotes?.length>0?"host":"unknown"},mfConfig:{name:e.name,remotes:e.remotes?.map(r)??[],shared:t}}}},75612(e,t,r){r(36757),t.getBuilderId=function(){return"@openmrs/esm-app-shell:10.0.1-pre.5539"}},99101(e,t,r){let o=r(23504);t.AsyncHook=class extends o.SyncHook{emit(...e){let t,r=Array.from(this.listeners);if(r.length>0){let o=0,n=t=>!1!==t&&(o<r.length?Promise.resolve(r[o++].apply(null,e)).then(r=>void 0===r||1===e.length&&r===e[0]?n(t):n(r)):t);t=n()}return Promise.resolve(t)}}},36434(e,t,r){let o=r(34647),n=r(91557),i=r(23504),a=r(14636);t.AsyncWaterfallHook=class extends i.SyncHook{constructor(e){super(),this.onerror=o.error,this.type=e}emit(e){n.isObject(e)||o.error(`The response data for the "${this.type}" hook must be an object.`);let t=Array.from(this.listeners);if(t.length>0){let r=0,n=t=>(o.warn(t),this.onerror(t),e),i=o=>{if(void 0!==o&&a.checkReturnData(e,o))e=o;else if(void 0!==o)return this.onerror(`A plugin returned an incorrect value for the "${this.type}" type.`),e;if(r<t.length)try{return Promise.resolve(t[r++](e)).then(i,n)}catch(e){return n(e)}return e};return Promise.resolve(i(e))}return Promise.resolve(e)}}},16128(e,t,r){r(23504),r(99101),r(14636),r(36434),r(82098)},82098(e,t,r){let o=r(34647),n=r(91557);r(98073),t.PluginSystem=class{constructor(e){this.registerPlugins={},this.lifecycle=e,this.lifecycleKeys=Object.keys(e)}applyPlugin(e,t){o.assert(n.isPlainObject(e),"Plugin configuration is invalid.");let r=e.name;o.assert(r,"A name must be provided by the plugin."),this.registerPlugins[r]||(this.registerPlugins[r]=e,e.apply?.(t),Object.keys(this.lifecycle).forEach(t=>{let r=e[t];r&&this.lifecycle[t].on(r)}))}removePlugin(e){o.assert(e,"A name is required.");let t=this.registerPlugins[e];o.assert(t,`The plugin "${e}" is not registered.`),Object.keys(t).forEach(e=>{"name"!==e&&this.lifecycle[e].remove(t[e])})}}},23504(e,t){t.SyncHook=class{constructor(e){this.type="",this.listeners=new Set,e&&(this.type=e)}on(e){"function"==typeof e&&this.listeners.add(e)}once(e){let t=this;this.on(function r(...o){return t.remove(r),e.apply(null,o)})}emit(...e){let t;return this.listeners.size>0&&this.listeners.forEach(r=>{let o=r(...e);void 0!==o&&(t=o)}),t}remove(e){this.listeners.delete(e)}removeAll(){this.listeners.clear()}}},14636(e,t,r){let o=r(34647),n=r(91557),i=r(23504);function a(e,t){if(!n.isObject(t))return!1;if(e!==t){for(let r in e)if(!(r in t))return!1}return!0}t.SyncWaterfallHook=class extends i.SyncHook{constructor(e){super(),this.onerror=o.error,this.type=e}emit(e){for(let t of(n.isObject(e)||o.error(`The data for the "${this.type}" hook should be an object.`),this.listeners))try{let r=t(e);if(void 0===r)continue;if(a(e,r))e=r;else{this.onerror(`A plugin returned an unacceptable value for the "${this.type}" type.`);break}}catch(e){o.warn(e),this.onerror(e)}return e}},t.checkReturnData=a},98073(e,t,r){r(34647),r(91557),r(75612),r(48316),r(23038),r(77179),r(40660),r(36757)},77179(e,t,r){let o=r(34647),n=r(11772),i=r(73897),a=r(36757),s=r(69512),l=".then(callbacks[0]).catch(callbacks[1])";function c(e){return"esm"===e||"module"===e}async function u({entry:e,remoteEntryExports:t}){return new Promise((r,n)=>{try{t?r(t):"u">typeof FEDERATION_ALLOW_NEW_FUNCTION?Function("callbacks",`import("${e}")${l}`)([r,n]):import(e).then(r).catch(n)}catch(t){o.error(`Failed to load ESM entry from "${e}". ${t instanceof Error?t.message:String(t)}`)}})}async function f({entry:e,remoteEntryExports:t}){return new Promise((r,n)=>{try{t?r(t):Function("callbacks",`System.import("${e}")${l}`)([r,n])}catch(t){o.error(`Failed to load SystemJS entry from "${e}". ${t instanceof Error?t.message:String(t)}`)}})}async function d({name:e,globalName:t,entry:r,remoteInfo:i,loaderHook:l,getEntryUrl:c,resourceContext:u}){let{entryExports:f}=n.getRemoteEntryExports(e,t);if(f)return f;let h=c?c(r):r;return(0,a.loadScript)(h,{attrs:{},createScriptHook:(e,t)=>{let r=l.lifecycle.createScript.emit({url:e,attrs:t,remoteInfo:i,resourceContext:u?{...u,url:e}:void 0});if(r&&(r instanceof HTMLScriptElement||"script"in r||"timeout"in r))return r}}).then(()=>(function(e,t,r){let{remoteEntryKey:i,entryExports:a}=n.getRemoteEntryExports(e,t);return a||o.error(s.RUNTIME_001,s.runtimeDescMap,{remoteName:e,remoteEntryUrl:r,remoteEntryKey:i}),a})(e,t,r),t=>{let r=t instanceof Error?t.message:String(t);o.error(s.RUNTIME_008,s.runtimeDescMap,{remoteName:e,resourceUrl:h},r)})}async function h({remoteInfo:e,remoteEntryExports:t,loaderHook:r,getEntryUrl:o,resourceContext:n}){let{entry:i,entryGlobalName:a,name:s,type:l}=e;return c(l)?u({entry:i,remoteEntryExports:t}):"system"===l?f({entry:i,remoteEntryExports:t}):d({entry:i,globalName:a,name:s,remoteInfo:e,loaderHook:r,getEntryUrl:o,resourceContext:n})}function p(e){let{entry:t,name:r}=e;return(0,a.composeKeyWithSeparator)(r,t)}async function m(e){let{origin:t,remoteEntryExports:r,remoteInfo:o,getEntryUrl:i,resourceContext:a,_inErrorHandling:l=!1}=e,c=p(o);if(r)return r;if(!n.globalLoading[c]){let e=t.remoteHandler.hooks.lifecycle.loadEntry,u=t.loaderHook;n.globalLoading[c]=e.emit({origin:t,loaderHook:u,remoteInfo:o,remoteEntryExports:r}).then(e=>e||h({remoteInfo:o,remoteEntryExports:r,loaderHook:u,getEntryUrl:i,resourceContext:a})).then(async e=>(await t.loaderHook.lifecycle.afterLoadEntry.emit({origin:t,remoteInfo:o,remoteEntryExports:e}),e)).catch(async e=>{let i=p(o),a=e instanceof Error&&e.message.includes("ScriptExecutionError");if(e instanceof Error&&e.message.includes(s.RUNTIME_008)&&!a&&!l){let e=await t.loaderHook.lifecycle.loadEntryError.emit({getRemoteEntry:e=>m({...e,_inErrorHandling:!0}),origin:t,remoteInfo:o,remoteEntryExports:r,globalLoading:n.globalLoading,uniqueKey:i});if(e)return await t.loaderHook.lifecycle.afterLoadEntry.emit({origin:t,remoteInfo:o,remoteEntryExports:e,recovered:!0}),e}throw await t.loaderHook.lifecycle.afterLoadEntry.emit({origin:t,remoteInfo:o,error:e}),e})}return n.globalLoading[c]}t.getRemoteEntry=m,t.getRemoteEntryUniqueKey=p,t.getRemoteInfo=function(e){return{...e,entry:"entry"in e?e.entry:"",type:e.type||i.DEFAULT_REMOTE_TYPE,entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||i.DEFAULT_SCOPE}},t.isEsmRemoteType=c},34647(e,t,r){let o=r(36757),n=r(52900),i="[ Federation Runtime ]",a=(0,o.createLogger)(i);function s(e,t,r,o,a){if(void 0!==t)return(0,n.logAndReport)(e,t,r??{},e=>{throw Error(`${i}: ${e}`)},o,a);if(e instanceof Error)throw e.message.startsWith(i)||(e.message=`${i}: ${e.message}`),e;throw Error(`${i}: ${e}`)}t.assert=function(e,t,r,o,n){e||(void 0!==r?s(t,r,o,void 0,n):s(t))},t.error=s,t.logger=a,t.warn=function(e){e instanceof Error&&(e.message.startsWith(i)||(e.message=`${i}: ${e.message}`)),a.warn(e)}},48316(e,t){t.composeRemoteRequestId=function(e,t){return t&&"."!==t?`${e}/${t.replace(/^\.\//,"")}`:e},t.matchRemote=function(e,t){for(let r of e)if(t===r.name||r.alias&&t===r.alias)return r},t.matchRemoteWithNameAndExpose=function(e,t){for(let r of e){let e=t.startsWith(r.name),o=t.replace(r.name,"");if(e){if(o.startsWith("/"))return{pkgNameOrAlias:r.name,expose:o=`.${o}`,remote:r};else if(""===o)return{pkgNameOrAlias:r.name,expose:".",remote:r}}let n=r.alias&&t.startsWith(r.alias),i=r.alias&&t.replace(r.alias,"");if(r.alias&&n){if(i&&i.startsWith("/"))return{pkgNameOrAlias:r.alias,expose:i=`.${i}`,remote:r};else if(""===i)return{pkgNameOrAlias:r.alias,expose:".",remote:r}}}}},23038(e,t,r){let o=r(11772);t.registerPlugins=function(e,t){let r=o.getGlobalHostPlugins(),n=[t.hooks,t.remoteHandler.hooks,t.sharedHandler.hooks,t.snapshotHandler.hooks,t.loaderHook,t.bridgeHook];return r.length>0&&r.forEach(t=>{e?.find(e=>e.name!==t.name)&&e.push(t)}),e&&e.length>0&&e.forEach(e=>{n.forEach(r=>{r.applyPlugin(e,t)})}),e}},6474(e,t,r){let o=r(34647),n=r(48316),i=r(77179),a=r(36757);function s(e){return{resourceCategory:"sync",share:!0,depsRemote:!0,...e}}function l(e){return e instanceof Error&&(e.message.includes("timed out")||e.name.includes("Timeout"))}function c(e,t,r,o){return{url:t,status:r,resourceType:e.resourceType,initiator:e.initiator,id:e.id,error:o}}async function u(e,t,r,o){let n=e.moduleCache.get(r.name),a=r.entry;if(n?.remoteEntryExports)return c(o,a,"cached");try{if(!await i.getRemoteEntry({origin:e,remoteInfo:r,remoteEntryExports:n?.remoteEntryExports,resourceContext:{...o,url:a}}))throw Error(`Failed to load remoteEntry "${a}".`);return c(o,a,"success")}catch(e){return c(o,a,l(e)?"timeout":"error",e)}}function f({host:e,remoteInfo:t,url:r,attrs:o,context:n,needDeleteLink:i}){return new Promise(s=>{let{link:u,needAttach:f}=(0,a.createLink)({url:r,cb:()=>{s(c(n,r,f?"success":"cached"))},onErrorCallback:e=>{s(c(n,r,l(e)?"timeout":"error",e))},attrs:o,createLinkHook:(r,o)=>{let i=e.loaderHook.lifecycle.createLink.emit({url:r,attrs:o,remoteInfo:t,resourceContext:{...n,url:r}});return i instanceof HTMLLinkElement,i},needDeleteLink:i});f&&document.head.appendChild(u)})}function d({host:e,remoteInfo:t,url:r,attrs:o,context:n}){return new Promise(i=>{let{script:s,needAttach:u}=(0,a.createScript)({url:r,cb:()=>{i(c(n,r,u?"success":"cached"))},onErrorCallback:e=>{i(c(n,r,l(e)?"timeout":"error",e))},attrs:o,createScriptHook:(r,o)=>{let i=e.loaderHook.lifecycle.createScript.emit({url:r,attrs:o,remoteInfo:t,resourceContext:{...n,url:r}});return i instanceof HTMLScriptElement,i},needDeleteScript:!0});u&&document.head.appendChild(s)})}function h(e,t){return{...e,resourceType:t}}t.defaultPreloadArgs=s,t.formatPreloadArgs=function(e,t){return t.map(t=>{let r=n.matchRemote(e,t.nameOrAlias);return o.assert(r,`Unable to preload ${t.nameOrAlias} as it is not included in ${!r&&(0,a.safeToString)({remoteInfo:r,remotes:e})}`),{remote:r,preloadConfig:s(t)}})},t.normalizePreloadExposes=function(e){return e?e.map(e=>"."===e?e:e.startsWith("./")?e.replace("./",""):e):[]},t.preloadAssets=function(e,t,r,o=!0,n={initiator:"preloadRemote",id:e.name}){let{cssAssets:a,jsAssetsWithoutEntry:s,entryAssets:l}=r,c=[];if(t.options.inBrowser){if(l.forEach(r=>{let{moduleInfo:o}=r;c.push(u(t,e,o,h(n,"remoteEntry")))}),o){let r={rel:"preload",as:"style"};a.forEach(o=>{c.push(f({host:t,remoteInfo:e,url:o,attrs:r,context:h(n,"css")}))})}else{let r={rel:"stylesheet",type:"text/css"};a.forEach(o=>{c.push(f({host:t,remoteInfo:e,url:o,attrs:r,needDeleteLink:!1,context:h(n,"css")}))})}let r=d,p={fetchpriority:"high",type:"text/javascript"};o?(r=f,p={rel:"preload",as:"script"}):i.isEsmRemoteType(e.type)&&(r=f,p={rel:"modulepreload",fetchpriority:"high"}),s.forEach(o=>{c.push(r({host:t,remoteInfo:e,url:o,attrs:p,context:h(n,"js")}))})}return Promise.all(c)}},35679(e,t){function r(e,t){return(e=Number(e)||e)>(t=Number(t)||t)?1:e===t?0:-1}function o(e,t){return r(e.major,t.major)||r(e.minor,t.minor)||r(e.patch,t.patch)||function(e,t){let{preRelease:o}=e,{preRelease:n}=t;if(void 0===o&&n)return 1;if(o&&void 0===n)return -1;if(void 0===o&&void 0===n)return 0;for(let e=0,t=o.length;e<=t;e++){let t=o[e],i=n[e];if(t!==i){if(void 0===t&&void 0===i)return 0;if(!t)return 1;if(!i)return -1;return r(t,i)}}return 0}(e,t)}function n(e,t){return e.version===t.version}t.compare=function(e,t){switch(e.operator){case"":case"=":return n(e,t);case">":return 0>o(e,t);case">=":return n(e,t)||0>o(e,t);case"<":return o(e,t)>0;case"<=":return n(e,t)||o(e,t)>0;case void 0:return!0;default:return!1}}},1541(e,t){let r="[0-9A-Za-z-]+",o=`(?:\\+(${r}(?:\\.${r})*))`,n="0|[1-9]\\d*",i="[0-9]+",a="\\d*[a-zA-Z-][a-zA-Z0-9-]*",s=`(?:${i}|${a})`,l=`(?:-?(${s}(?:\\.${s})*))`,c=`(?:${n}|${a})`,u=`(?:-(${c}(?:\\.${c})*))`,f=`${n}|x|X|\\*`,d=`[v=\\s]*(${f})(?:\\.(${f})(?:\\.(${f})(?:${u})?${o}?)?)?`,h=`^\\s*(${d})\\s+-\\s+(${d})\\s*$`,p=`[v=\\s]*${`(${i})\\.(${i})\\.(${i})`}${l}?${o}?`,m="((?:<|>)?=?)",g=`(\\s*)${m}\\s*(${p}|${d})`,y="(?:~>?)",E=`(\\s*)${y}\\s+`,b="(?:\\^)",S=`(\\s*)${b}\\s+`,_=`^${b}${d}$`,R=`v?${`(${n})\\.(${n})\\.(${n})`}${u}?${o}?`,I=`^${y}${d}$`,N=`^${m}\\s*${d}$`,T=`^${m}\\s*(${R})$|^$`;t.caret=_,t.caretTrim=S,t.comparator=T,t.comparatorTrim=g,t.gte0="^\\s*>=\\s*0.0.0\\s*$",t.hyphenRange=h,t.star="(<|>)?=?\\s*\\*",t.tilde=I,t.tildeTrim=E,t.xRange=N},15422(e,t,r){let o=r(6913),n=r(75699),i=r(35679);t.satisfy=function(e,t){if(!e)return!1;let r=o.extractComparator(e);if(!r)return!1;let[,a,,s,l,c,u]=r,f={operator:a,version:o.combineVersion(s,l,c,u),major:s,minor:l,patch:c,preRelease:u?.split(".")};for(let e of t.split("||")){let t=e.trim();if(!t||"*"===t||"x"===t)return!0;try{let e=o.pipe(n.parseHyphen,n.parseComparatorTrim,n.parseTildeTrim,n.parseCaretTrim)(t.trim()).split(/\s+/).join(" ");if(!e.trim())return!0;let r=e.split(" ").map(e=>o.pipe(n.parseCarets,n.parseTildes,n.parseXRanges,n.parseStar)(e)).join(" ");if(!r.trim())return!0;let a=r.split(/\s+/).map(e=>n.parseGTE0(e)).filter(Boolean);if(0===a.length)continue;let s=!0;for(let e of a){let t=o.extractComparator(e);if(!t){s=!1;break}let[,r,,n,a,l,c]=t;if(!i.compare({operator:r,version:o.combineVersion(n,a,l,c),major:n,minor:a,patch:l,preRelease:c?.split(".")},f)){s=!1;break}}if(s)return!0}catch(e){console.error(`[semver] Error processing range part "${t}":`,e);continue}}return!1}},75699(e,t,r){let o=r(1541),n=r(6913);t.parseCaretTrim=function(e){return e.replace(n.parseRegex(o.caretTrim),"$1^")},t.parseCarets=function(e){return e.trim().split(/\s+/).map(e=>e.replace(n.parseRegex(o.caret),(e,t,r,o,i)=>{if(n.isXVersion(t))return"";if(n.isXVersion(r))return`>=${t}.0.0 <${Number(t)+1}.0.0-0`;if(n.isXVersion(o))if("0"===t)return`>=${t}.${r}.0 <${t}.${Number(r)+1}.0-0`;else return`>=${t}.${r}.0 <${Number(t)+1}.0.0-0`;if(i)if("0"!==t)return`>=${t}.${r}.${o}-${i} <${Number(t)+1}.0.0-0`;else if("0"===r)return`>=${t}.${r}.${o}-${i} <${t}.${r}.${Number(o)+1}-0`;else return`>=${t}.${r}.${o}-${i} <${t}.${Number(r)+1}.0-0`;if("0"===t)if("0"===r)return`>=${t}.${r}.${o} <${t}.${r}.${Number(o)+1}-0`;else return`>=${t}.${r}.${o} <${t}.${Number(r)+1}.0-0`;return`>=${t}.${r}.${o} <${Number(t)+1}.0.0-0`})).join(" ")},t.parseComparatorTrim=function(e){return e.replace(n.parseRegex(o.comparatorTrim),"$1$2$3")},t.parseGTE0=function(e){return e.trim().replace(n.parseRegex(o.gte0),"")},t.parseHyphen=function(e){return e.replace(n.parseRegex(o.hyphenRange),(e,t,r,o,i,a,s,l,c,u,f,d)=>(t=n.isXVersion(r)?"":n.isXVersion(o)?`>=${r}.0.0`:n.isXVersion(i)?`>=${r}.${o}.0`:`>=${t}`,l=n.isXVersion(c)?"":n.isXVersion(u)?`<${Number(c)+1}.0.0-0`:n.isXVersion(f)?`<${c}.${Number(u)+1}.0-0`:d?`<=${c}.${u}.${f}-${d}`:`<=${l}`,`${t} ${l}`.trim()))},t.parseStar=function(e){return e.trim().replace(n.parseRegex(o.star),"")},t.parseTildeTrim=function(e){return e.replace(n.parseRegex(o.tildeTrim),"$1~")},t.parseTildes=function(e){return e.trim().split(/\s+/).map(e=>e.replace(n.parseRegex(o.tilde),(e,t,r,o,i)=>n.isXVersion(t)?"":n.isXVersion(r)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:n.isXVersion(o)?`>=${t}.${r}.0 <${t}.${Number(r)+1}.0-0`:i?`>=${t}.${r}.${o}-${i} <${t}.${Number(r)+1}.0-0`:`>=${t}.${r}.${o} <${t}.${Number(r)+1}.0-0`)).join(" ")},t.parseXRanges=function(e){return e.split(/\s+/).map(e=>e.trim().replace(n.parseRegex(o.xRange),(e,t,r,o,i,a)=>{let s=n.isXVersion(r),l=s||n.isXVersion(o),c=l||n.isXVersion(i);if("="===t&&c&&(t=""),a="",s)if(">"===t||"<"===t)return"<0.0.0-0";else return"*";return t&&c?(l&&(o=0),i=0,">"===t?(t=">=",l?(r=Number(r)+1,o=0):o=Number(o)+1,i=0):"<="===t&&(t="<",l?r=Number(r)+1:o=Number(o)+1),"<"===t&&(a="-0"),`${t+r}.${o}.${i}${a}`):l?`>=${r}.0.0${a} <${Number(r)+1}.0.0-0`:c?`>=${r}.${o}.0${a} <${r}.${Number(o)+1}.0-0`:e})).join(" ")}},6913(e,t,r){let o=r(1541);function n(e){return new RegExp(e)}t.combineVersion=function(e,t,r,o){let n=`${e}.${t}.${r}`;return o?`${n}-${o}`:n},t.extractComparator=function(e){return e.match(n(o.comparator))},t.isXVersion=function(e){return!e||"x"===e.toLowerCase()||"*"===e},t.parseRegex=n,t.pipe=function(...e){return t=>e.reduce((e,t)=>t(e),t)}},54928(e,t,r){let o=r(34647),n=r(91557),i=r(11772),a=r(73897),s=r(15422),l=r(36757);function c(e,t){if(!e)return!1;let{status:r,mode:o}=e;return r!==l.TreeShakingStatus.NO_USE&&(r===l.TreeShakingStatus.CALCULATED||"runtime-infer"===o&&(!t||h(e,t)))}function u(e,t){let r=e=>{if(!Number.isNaN(Number(e))){let t=e.split("."),r=e;for(let e=0;e<3-t.length;e++)r+=".0";return r}return e};return!!s.satisfy(r(e),`<=${r(t)}`)}let f=(e,t)=>{let r=t||function(e,t){return u(e,t)};return Object.keys(e).reduce((e,t)=>!e||r(e,t)||"0"===e?t:e,0)},d=e=>!!e.loaded||"function"==typeof e.lib,h=(e,t)=>{if(!e||!t)return!1;let{usedExports:r}=e;return!!r&&!!t.every(e=>r.includes(e))},p=e=>d(e)||!!e.loading;t.addUseIn=(e,t)=>{e.useIn||(e.useIn=[]),n.addUniqueItem(e.useIn,t)},t.directShare=function(e,t){return t&&e.treeShaking?e.treeShaking:e},t.formatShareConfigs=function(e,t){let r=t.shared||{},i=t.name,a=Object.keys(r).reduce((e,a)=>{let s=n.arrayOptions(r[a]);return e[a]=e[a]||[],s.forEach(r=>{var n;let s;e[a].push((n=t.shareStrategy,s="get"in r?r.get:"lib"in r?()=>Promise.resolve(r.lib):()=>Promise.resolve(()=>{o.error(`Cannot get shared "${a}" from "${i}": neither "get" nor "lib" is provided in the share config.`)}),r.shareConfig?.eager&&r.treeShaking?.mode&&o.error(`Invalid shared config for "${a}" from "${i}": cannot use both "eager: true" and "treeShaking.mode" simultaneously. Choose one strategy.`),{deps:[],useIn:[],from:i,loading:null,...r,shareConfig:{requiredVersion:`^${r.version}`,singleton:!1,eager:!1,strictVersion:!1,...r.shareConfig},get:s,loaded:!!r?.loaded||"lib"in r||void 0,version:r.version??"0",scope:Array.isArray(r.scope)?r.scope:[r.scope??"default"],strategy:(r.strategy??n)||"version-first",treeShaking:r.treeShaking?{...r.treeShaking,mode:r.treeShaking.mode??"server-calc",status:r.treeShaking.status??l.TreeShakingStatus.UNKNOWN,useIn:[]}:void 0}))}),e},{}),s={...e.shared};return Object.keys(a).forEach(e=>{s[e]?a[e].forEach(t=>{s[e].find(e=>e.version===t.version)||s[e].push(t)}):s[e]=a[e]}),{allShareInfos:s,newShareInfos:a}},t.getGlobalShareScope=function(){return i.Global.__FEDERATION__.__SHARE__},t.getRegisteredShare=function(e,t,r,n){if(!e)return;let{shareConfig:l,scope:h=a.DEFAULT_SCOPE,strategy:m,treeShaking:g}=r;for(let a of Array.isArray(h)?h:[h])if(l&&e[a]&&e[a][t]){let{requiredVersion:h}=l,{version:y,useTreesShaking:E}=("loaded-first"===m?function(e,t,r,o){let n=e[t][r],i="",a=c(o),s=function(e,t){if(a){if(!n[e].treeShaking)return!0;if(!n[t].treeShaking)return!1;if(p(n[t].treeShaking))if(p(n[e].treeShaking))return!!u(e,t);else return!0;if(p(n[e].treeShaking))return!1}if(p(n[t]))if(p(n[e]))return!!u(e,t);else return!0;return!p(n[e])&&u(e,t)};if(a){if(i=f(e[t][r],s))return{version:i,useTreesShaking:a};a=!1}return{version:f(e[t][r],s),useTreesShaking:a}}:function(e,t,r,o){let n=e[t][r],i="",a=c(o),s=function(e,t){return a?!n[e].treeShaking||!!n[t].treeShaking&&!d(n[e].treeShaking)&&u(e,t):!d(n[e])&&u(e,t)};if(a){if(i=f(e[t][r],s))return{version:i,useTreesShaking:a};a=!1}return{version:f(e[t][r],s),useTreesShaking:a}})(e,a,t,g),b=()=>{let n=e[a][t][y];if(l.singleton){if("string"==typeof h&&!s.satisfy(y,h)){let e=`Version ${y} from ${y&&n.from} of shared singleton module ${t} does not satisfy the requirement of ${r.from} which needs ${h})`;l.strictVersion?o.error(e):o.warn(e)}return{shared:n,useTreesShaking:E}}{if(!1===h||"*"===h||s.satisfy(y,h))return{shared:n,useTreesShaking:E};let r=c(g);if(r){for(let[o,n]of Object.entries(e[a][t]))if(c(n.treeShaking,g?.usedExports)&&s.satisfy(o,h))return{shared:n,useTreesShaking:r}}for(let[r,o]of Object.entries(e[a][t]))if(s.satisfy(r,h))return{shared:o,useTreesShaking:!1}}},S={shareScopeMap:e,scope:a,pkgName:t,version:y,GlobalFederation:i.Global.__FEDERATION__,shareInfo:r,resolver:b};return(n.emit(S)||S).resolver()}},t.getTargetSharedOptions=function(e){let{pkgName:t,extraOptions:r,shareInfos:o}=e,n=r?.resolver??(e=>{if(!e)return;let t={};return e.forEach(e=>{t[e.version]=e}),t[f(t,function(e,r){return!d(t[e])&&u(e,r)})]}),i=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),a=(...e)=>{let t={};for(let r of e)if(r)for(let[e,o]of Object.entries(r)){let r=t[e];i(r)&&i(o)?t[e]=a(r,o):void 0!==o&&(t[e]=o)}return t};return a(n(o[t]),r?.customShareInfo)},t.shouldUseTreeShaking=c},91557(e,t,r){let o=r(34647),n=r(36757);async function i(e,t){try{return await e()}catch(e){t||o.warn(e);return}}let a=Object.prototype.toString;t.addUniqueItem=function(e,t){return -1===e.findIndex(e=>e===t)&&e.push(t),e},t.arrayOptions=function(e){return Array.isArray(e)?e:[e]},t.getFMId=function(e){return"version"in e&&e.version?`${e.name}:${e.version}`:"entry"in e&&e.entry?`${e.name}:${e.entry}`:`${e.name}`},t.getRemoteEntryInfoFromSnapshot=function(e){let t={url:"",type:"global",globalName:""};return n.isBrowserEnvValue||(0,n.isReactNativeEnv)()||!("ssrRemoteEntry"in e)?"remoteEntry"in e?{url:e.remoteEntry,type:e.remoteEntryType,globalName:e.globalName}:t:"ssrRemoteEntry"in e?{url:e.ssrRemoteEntry||t.url,type:e.ssrRemoteEntryType||t.type,globalName:e.globalName}:t},t.isObject=function(e){return e&&"object"==typeof e},t.isPlainObject=function(e){return"[object Object]"===a.call(e)},t.isPureRemoteEntry=function(e){return!e.entry.includes(".json")},t.isRemoteInfoWithEntry=function(e){return void 0!==e.entry},t.isStaticResourcesEqual=function(e,t){let r=/^(https?:)?\/\//i;return e.replace(r,"").replace(/\/$/,"")===t.replace(r,"").replace(/\/$/,"")},t.objectToString=a,t.processModuleAlias=(e,t)=>{let r;return r=e.endsWith("/")?e.slice(0,-1):e,t.startsWith(".")&&(t=t.slice(1)),r+=t},t.safeWrapper=i},27705(e,t,r){var o=r(97011);Object.keys(o).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})})},17416(e,t){var r=Object.create,o=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(a(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var a,l=i(t),c=0,u=l.length;c<u;c++)a=l[c],s.call(e,a)||void 0===a||o(e,a,{get:(e=>t[e]).bind(null,a),enumerable:!(r=n(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?l:o(l,"default",{value:e,enumerable:!0}),e))},97011(e,t,r){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});let o=r(17416),n=r(25063);t.default=n=o.__toESM(n),Object.keys(n).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})})},45734(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),r(17416);let o=r(91001),n=r(25063),i=r(69512);function a(e){let t=new((0,n.getGlobalFederationConstructor)()||n.ModuleFederation)({id:`${e.name}@${e.version||Date.now()}`,...e});return(0,n.setGlobalFederationInstance)(t),t}let s=null;(0,n.setGlobalFederationConstructor)(n.ModuleFederation),Object.defineProperty(t,"Module",{enumerable:!0,get:function(){return n.Module}}),t.ModuleFederation=n.ModuleFederation,t.createInstance=a,t.getInstance=function(e){return e?n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(e)||null:s},Object.defineProperty(t,"getRemoteEntry",{enumerable:!0,get:function(){return n.getRemoteEntry}}),Object.defineProperty(t,"getRemoteInfo",{enumerable:!0,get:function(){return n.getRemoteInfo}}),t.init=function(e){let t=o.getGlobalFederationInstance(e.name,e.version),r={...e,id:e.id||""};return t?(t.initOptions(r),s||(s=t),t):s=a(r)},t.loadRemote=function(...e){return(0,n.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadRemote.apply(s,e)},Object.defineProperty(t,"loadScript",{enumerable:!0,get:function(){return n.loadScript}}),Object.defineProperty(t,"loadScriptNode",{enumerable:!0,get:function(){return n.loadScriptNode}}),t.loadShare=function(...e){return(0,n.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadShare.apply(s,e)},t.loadShareSync=function(...e){return(0,n.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadShareSync.apply(s,e)},t.preloadRemote=function(...e){return(0,n.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.preloadRemote.apply(s,e)},Object.defineProperty(t,"registerGlobalPlugins",{enumerable:!0,get:function(){return n.registerGlobalPlugins}}),t.registerPlugins=function(...e){return(0,n.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerPlugins.apply(s,e)},t.registerRemotes=function(...e){return(0,n.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerRemotes.apply(s,e)},t.registerShared=function(...e){return(0,n.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerShared.apply(s,e)}},91001(e,t,r){r(17416);let o=r(25063);t.getGlobalFederationInstance=function(e,t){let r="@openmrs/esm-app-shell:10.0.1-pre.5539";return o.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(o=>!!r&&o.options.id===r||o.options.name===e&&!o.options.version&&!t||o.options.name===e&&!!t&&o.options.version===t)}},80541(e,t){var r=Object.defineProperty;t.__exportAll=(e,t)=>{let o={};for(var n in e)r(o,n,{get:e[n],enumerable:!0});return t||r(o,Symbol.toStringTag,{value:"Module"}),o}},45515(e,t){var r;let o={AT:"@",HYPHEN:"-",SLASH:"/"},n={[o.AT]:"scope_",[o.HYPHEN]:"_",[o.SLASH]:"__"},i={[n[o.AT]]:o.AT,[n[o.HYPHEN]]:o.HYPHEN,[n[o.SLASH]]:o.SLASH},a=((r={})[r.UNKNOWN=1]="UNKNOWN",r[r.CALCULATED=2]="CALCULATED",r[r.NO_USE=0]="NO_USE",r);t.BROWSER_LOG_KEY="FEDERATION_DEBUG",t.ENCODE_NAME_PREFIX="ENCODE_NAME_PREFIX",t.EncodedNameTransformMap=i,t.FederationModuleManifest="federation-manifest.json",t.MANIFEST_EXT=".json",t.MFModuleType={NPM:"npm",APP:"app"},t.MODULE_DEVTOOL_IDENTIFIER="__MF_DEVTOOLS_MODULE_INFO__",t.ManifestFileName="mf-manifest.json",t.NameTransformMap=n,t.NameTransformSymbol=o,t.SEPARATOR=":",t.StatsFileName="mf-stats.json",t.TEMP_DIR=".federation",t.TreeShakingStatus=a},84730(e,t){t.createModuleFederationConfig=e=>e},3765(e,t,r){let o=r(41726);async function n(e,t){try{return await e()}catch(e){t||o.warn(e);return}}function i(e,t){let r=/^(https?:)?\/\//i;return e.replace(r,"").replace(/\/$/,"")===t.replace(r,"").replace(/\/$/,"")}function a(e){let t,r=null,o=!0,a=2e4,s=document.getElementsByTagName("script");for(let t=0;t<s.length;t++){let n=s[t],a=n.getAttribute("src");if(a&&i(a,e.url)){r=n,o=!1;break}}if(!r){let t,o=e.attrs;(r=document.createElement("script")).type=o?.type==="module"?"module":"text/javascript",e.createScriptHook&&((t=e.createScriptHook(e.url,e.attrs))instanceof HTMLScriptElement?r=t:"object"==typeof t&&("script"in t&&t.script&&(r=t.script),"timeout"in t&&t.timeout&&(a=t.timeout))),r.src||(r.src=e.url),o&&!t&&Object.keys(o).forEach(e=>{r&&("async"===e||"defer"===e?r[e]=o[e]:r.getAttribute(e)||r.setAttribute(e,o[e]))})}let l=null,c="u">typeof window?t=>{if(t.filename&&i(t.filename,e.url)){let r=Error(`ScriptExecutionError: Script "${e.url}" loaded but threw a runtime error during execution: ${t.message} (${t.filename}:${t.lineno}:${t.colno})`);r.name="ScriptExecutionError",l=r}}:null;c&&window.addEventListener("error",c);let u=async(o,i)=>{clearTimeout(t),c&&window.removeEventListener("error",c);let a=()=>{if(i?.type==="error"){let t=Error(i?.isTimeout?`ScriptNetworkError: Script "${e.url}" timed out.`:`ScriptNetworkError: Failed to load script "${e.url}" - the script URL is unreachable or the server returned an error (network failure, 404, CORS, etc.)`);t.name="ScriptNetworkError",e?.onErrorCallback&&e?.onErrorCallback(t)}else l?e?.onErrorCallback&&e?.onErrorCallback(l):e?.cb&&e?.cb()};if(r&&(r.onerror=null,r.onload=null,n(()=>{let{needDeleteScript:t=!0}=e;t&&r?.parentNode&&r.parentNode.removeChild(r)}),o&&"function"==typeof o)){let e=o(i);if(e instanceof Promise){let t=await e;return a(),t}return a(),e}a()};return r.onerror=u.bind(null,r.onerror),r.onload=u.bind(null,r.onload),t=setTimeout(()=>{u(null,{type:"error",isTimeout:!0})},a),{script:r,needAttach:o}}t.createLink=function(e){let t,r=null,o=!0,a=2e4,s=document.getElementsByTagName("link");for(let t=0;t<s.length;t++){let n=s[t],a=n.getAttribute("href"),l=n.getAttribute("rel");if(a&&i(a,e.url)&&l===e.attrs.rel){r=n,o=!1;break}}if(!r){let t;(r=document.createElement("link")).setAttribute("href",e.url);let o=!0,n=e.attrs;e.createLinkHook&&((t=e.createLinkHook(e.url,n))instanceof HTMLLinkElement?(r=t,o=!1):"object"==typeof t&&("link"in t&&t.link&&(r=t.link,o=!1),"timeout"in t&&t.timeout&&(a=t.timeout))),n&&o&&Object.keys(n).forEach(e=>{r&&!r.getAttribute(e)&&r.setAttribute(e,n[e])})}if(!o)return Promise.resolve().then(()=>{e?.cb&&e?.cb()}),{link:r,needAttach:o};let l=(o,i)=>{t&&clearTimeout(t);let a=()=>{if(i?.type==="error"){let t=Error(i?.isTimeout?`LinkNetworkError: Link "${e.url}" timed out.`:`LinkNetworkError: Failed to load link "${e.url}" - the URL is unreachable or the server returned an error.`);t.name="LinkNetworkError",e?.onErrorCallback&&e?.onErrorCallback(t)}else e?.cb&&e?.cb()};if(r&&(r.onerror=null,r.onload=null,n(()=>{let{needDeleteLink:t=!0}=e;t&&r?.parentNode&&r.parentNode.removeChild(r)}),o)){let e=o(i);return a(),e}a()};return r.onerror=l.bind(null,r.onerror),r.onload=l.bind(null,r.onload),t=setTimeout(()=>{l(null,{type:"error",isTimeout:!0})},a),{link:r,needAttach:o}},t.createScript=a,t.isStaticResourcesEqual=i,t.loadScript=function(e,t){let{attrs:r={},createScriptHook:o}=t;return new Promise((t,n)=>{let{script:i,needAttach:s}=a({url:e,cb:t,onErrorCallback:n,attrs:{fetchpriority:"high",...r},createScriptHook:o,needDeleteScript:!0});s&&document.head.appendChild(i)})},t.safeWrapper=n},4776(e,t,r){let o=r(45515);t.getProcessEnv=function(){return"u">typeof process&&process.env?process.env:{}},t.isBrowserEnv=function(){return!0},t.isBrowserEnvValue=!0,t.isDebugMode=function(){if("u">typeof process&&process.env&&process.env.FEDERATION_DEBUG)return!!process.env.FEDERATION_DEBUG;if("u">typeof FEDERATION_DEBUG&&FEDERATION_DEBUG)return!0;try{if(window.localStorage)return!!localStorage.getItem(o.BROWSER_LOG_KEY)}catch(e){}return!1},t.isReactNativeEnv=function(){return"u">typeof navigator&&navigator?.product==="ReactNative"}},82989(e,t,r){let o=r(45515),n=(e,t)=>{if(!e)return t;let r=(e=>{if("."===e)return"";if(e.startsWith("./"))return e.replace("./","");if(e.startsWith("/")){let t=e.slice(1);return t.endsWith("/")?t.slice(0,-1):t}return e})(e);return r?r.endsWith("/")?`${r}${t}`:`${r}/${t}`:t};function i(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}t.generateSnapshotFromManifest=function(e,t={}){let r,{remotes:o={},overrides:a={},version:s}=t,l=()=>"publicPath"in e.metaData?("auto"===e.metaData.publicPath||""===e.metaData.publicPath)&&s?i(s):e.metaData.publicPath:e.metaData.getPublicPath,c=Object.keys(a),u={};Object.keys(o).length||(u=e.remotes?.reduce((e,t)=>{let r,o=t.federationContainerName;return r=c.includes(o)?a[o]:"version"in t?t.version:t.entry,e[o]={matchedVersion:r},e},{})||{}),Object.keys(o).forEach(e=>u[e]={matchedVersion:c.includes(e)?a[e]:o[e]});let{remoteEntry:{path:f,name:d,type:h},types:p={path:"",name:"",zip:"",api:""},buildInfo:{buildVersion:m},globalName:g,ssrRemoteEntry:y}=e.metaData,{exposes:E}=e,b={version:s||"",buildVersion:m,globalName:g,remoteEntry:n(f,d),remoteEntryType:h,remoteTypes:n(p.path,p.name),remoteTypesZip:p.zip||"",remoteTypesAPI:p.api||"",remotesInfo:u,shared:e?.shared.map(e=>({assets:e.assets,sharedName:e.name,version:e.version,usedExports:e.referenceExports||[]})),modules:E?.map(e=>({moduleName:e.name,modulePath:e.path,assets:e.assets}))};if("publicPath"in e.metaData?(r={...b,publicPath:l()},"string"==typeof e.metaData.ssrPublicPath&&(r.ssrPublicPath=e.metaData.ssrPublicPath)):r={...b,getPublicPath:l()},y){let e=n(y.path,y.name);r.ssrRemoteEntry=e,r.ssrRemoteEntryType=y.type||"commonjs-module"}return r},t.getManifestFileName=function(e){if(!e)return{statsFileName:o.StatsFileName,manifestFileName:o.ManifestFileName};let t="boolean"==typeof e?"":e.filePath||"",r="boolean"==typeof e?"":e.fileName||"",i=".json",a=r?r.endsWith(i)?r:`${r}${i}`:o.ManifestFileName;return{statsFileName:n(t,r?a.replace(i,`-stats${i}`):o.StatsFileName),manifestFileName:n(t,a)}},t.inferAutoPublicPath=i,t.isManifestProvider=function(e){return!!("remoteEntry"in e&&e.remoteEntry.includes(o.MANIFEST_EXT))},t.simpleJoinRemoteEntry=n},36757(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let o=r(45515),n=r(53426),i=r(86739),a=r(59144),s=r(39466),l=r(8202),c=r(42387),u=r(4776),f=r(41726),d=r(82989),h=r(67099),p=r(3765),m=r(95307),g=r(88042),y=r(84730);t.BROWSER_LOG_KEY=o.BROWSER_LOG_KEY,t.ENCODE_NAME_PREFIX=o.ENCODE_NAME_PREFIX,t.EncodedNameTransformMap=o.EncodedNameTransformMap,t.FederationModuleManifest=o.FederationModuleManifest,t.MANIFEST_EXT=o.MANIFEST_EXT,t.MFModuleType=o.MFModuleType,t.MODULE_DEVTOOL_IDENTIFIER=o.MODULE_DEVTOOL_IDENTIFIER,t.ManifestFileName=o.ManifestFileName,t.NameTransformMap=o.NameTransformMap,t.NameTransformSymbol=o.NameTransformSymbol,t.SEPARATOR=o.SEPARATOR,t.StatsFileName=o.StatsFileName,t.TEMP_DIR=o.TEMP_DIR,t.TreeShakingStatus=o.TreeShakingStatus,t.assert=f.assert,t.bindLoggerToCompiler=h.bindLoggerToCompiler,t.composeKeyWithSeparator=f.composeKeyWithSeparator,Object.defineProperty(t,"consumeSharedPlugin",{enumerable:!0,get:function(){return l.ConsumeSharedPlugin_exports}}),Object.defineProperty(t,"containerPlugin",{enumerable:!0,get:function(){return n.ContainerPlugin_exports}}),Object.defineProperty(t,"containerReferencePlugin",{enumerable:!0,get:function(){return i.ContainerReferencePlugin_exports}}),t.createInfrastructureLogger=h.createInfrastructureLogger,t.createLink=p.createLink,t.createLogger=h.createLogger,t.createModuleFederationConfig=y.createModuleFederationConfig,t.createScript=p.createScript,t.createScriptNode=m.createScriptNode,t.decodeName=f.decodeName,t.encodeName=f.encodeName,t.error=f.error,t.generateExposeFilename=f.generateExposeFilename,t.generateShareFilename=f.generateShareFilename,t.generateSnapshotFromManifest=d.generateSnapshotFromManifest,t.getManifestFileName=d.getManifestFileName,t.getProcessEnv=u.getProcessEnv,t.getResourceUrl=f.getResourceUrl,t.inferAutoPublicPath=d.inferAutoPublicPath,t.infrastructureLogger=h.infrastructureLogger,t.isBrowserEnv=u.isBrowserEnv,t.isBrowserEnvValue=u.isBrowserEnvValue,t.isDebugMode=u.isDebugMode,t.isManifestProvider=d.isManifestProvider,t.isReactNativeEnv=u.isReactNativeEnv,t.isRequiredVersion=f.isRequiredVersion,t.isStaticResourcesEqual=p.isStaticResourcesEqual,t.loadScript=p.loadScript,t.loadScriptNode=m.loadScriptNode,t.logger=h.logger,Object.defineProperty(t,"moduleFederationPlugin",{enumerable:!0,get:function(){return a.ModuleFederationPlugin_exports}}),t.normalizeOptions=g.normalizeOptions,t.parseEntry=f.parseEntry,Object.defineProperty(t,"provideSharedPlugin",{enumerable:!0,get:function(){return c.ProvideSharedPlugin_exports}}),t.safeToString=f.safeToString,t.safeWrapper=p.safeWrapper,Object.defineProperty(t,"sharePlugin",{enumerable:!0,get:function(){return s.SharePlugin_exports}}),t.simpleJoinRemoteEntry=d.simpleJoinRemoteEntry,t.warn=f.warn},67099(e,t,r){let o=r(4776),n="[ Module Federation ]",i=console,a=["logger.ts","logger.js","captureStackTrace","Logger.emit","Logger.log","Logger.info","Logger.warn","Logger.error","Logger.debug"];var s=class{constructor(e,t=i){this.prefix=e,this.delegate=t??i}setPrefix(e){this.prefix=e}setDelegate(e){this.delegate=e??i}emit(e,t){let r=this.delegate,n=o.isDebugMode()?function(){try{let e=Error().stack;if(!e)return;let[,...t]=e.split("\n"),r=t.filter(e=>!a.some(t=>e.includes(t)));if(!r.length)return;return`Stack trace:
|
|
6
|
-
${r.slice(0,5).join("\n")}`}catch{return}}():void 0,s=n?[...t,n]:t,l=(()=>{switch(e){case"log":return["log","info"];case"info":return["info","log"];case"warn":return["warn","info","log"];case"error":return["error","warn","log"];default:return["debug","log"]}})();for(let e of l){let t=r[e];if("function"==typeof t)return void t.call(r,this.prefix,...s)}for(let e of l){let t=i[e];if("function"==typeof t)return void t.call(i,this.prefix,...s)}}log(...e){this.emit("log",e)}warn(...e){this.emit("warn",e)}error(...e){this.emit("error",e)}success(...e){this.emit("info",e)}info(...e){this.emit("info",e)}ready(...e){this.emit("info",e)}debug(...e){o.isDebugMode()&&this.emit("debug",e)}};function l(e){return new s(e)}function c(e){let t=new s(e);return Object.defineProperty(t,"__mf_infrastructure_logger__",{value:!0,enumerable:!1,configurable:!1}),t}let u=l(n),f=c(n);t.bindLoggerToCompiler=function(e,t,r){if(e.__mf_infrastructure_logger__&&t?.getInfrastructureLogger)try{let o=t.getInfrastructureLogger(r);o&&"object"==typeof o&&("function"==typeof o.log||"function"==typeof o.info||"function"==typeof o.warn||"function"==typeof o.error)&&e.setDelegate(o)}catch{e.setDelegate(void 0)}},t.createInfrastructureLogger=c,t.createLogger=l,t.infrastructureLogger=f,t.logger=u},95307(e,t){t.createScriptNode=(e,t,r,o)=>{t(Error("createScriptNode is disabled in non-Node.js environment"))},t.loadScriptNode=(e,t)=>{throw Error("loadScriptNode is disabled in non-Node.js environment")}},88042(e,t){t.normalizeOptions=function(e,t,r){return function(o){if(!1===o)return!1;if(void 0===o)if(e)return t;else return!1;if(!0===o)return t;if(o&&"object"==typeof o)return{...t,...o};throw Error(`Unexpected type for \`${r}\`, expect boolean/undefined/object, got: ${typeof o}`)}}},8202(e,t,r){var o=r(80541).__exportAll({});Object.defineProperty(t,"ConsumeSharedPlugin_exports",{enumerable:!0,get:function(){return o}})},53426(e,t,r){var o=r(80541).__exportAll({});Object.defineProperty(t,"ContainerPlugin_exports",{enumerable:!0,get:function(){return o}})},86739(e,t,r){var o=r(80541).__exportAll({});Object.defineProperty(t,"ContainerReferencePlugin_exports",{enumerable:!0,get:function(){return o}})},59144(e,t,r){var o=r(80541).__exportAll({});Object.defineProperty(t,"ModuleFederationPlugin_exports",{enumerable:!0,get:function(){return o}})},42387(e,t,r){var o=r(80541).__exportAll({});Object.defineProperty(t,"ProvideSharedPlugin_exports",{enumerable:!0,get:function(){return o}})},39466(e,t,r){var o=r(80541).__exportAll({});Object.defineProperty(t,"SharePlugin_exports",{enumerable:!0,get:function(){return o}})},41726(e,t,r){let o=r(45515),n=r(4776),i="[ Federation Runtime ]",a=function(e,t="",r=!1){try{return`${t}${e.replace(RegExp(`${o.NameTransformSymbol.AT}`,"g"),o.NameTransformMap[o.NameTransformSymbol.AT]).replace(RegExp(`${o.NameTransformSymbol.HYPHEN}`,"g"),o.NameTransformMap[o.NameTransformSymbol.HYPHEN]).replace(RegExp(`${o.NameTransformSymbol.SLASH}`,"g"),o.NameTransformMap[o.NameTransformSymbol.SLASH])}${r?".js":""}`}catch(e){throw e}},s=e=>{throw Error(`${i}: ${e}`)},l=/^([\d^=v<>~]|[*xX]$)/;t.assert=(e,t)=>{e||s(t)},t.composeKeyWithSeparator=function(...e){return e.length?e.reduce((e,t)=>t?e?`${e}${o.SEPARATOR}${t}`:t:e,""):""},t.decodeName=function(e,t,r){try{let n=e;if(t){if(!n.startsWith(t))return n;n=n.replace(RegExp(t,"g"),"")}return n=n.replace(RegExp(`${o.NameTransformMap[o.NameTransformSymbol.AT]}`,"g"),o.EncodedNameTransformMap[o.NameTransformMap[o.NameTransformSymbol.AT]]).replace(RegExp(`${o.NameTransformMap[o.NameTransformSymbol.SLASH]}`,"g"),o.EncodedNameTransformMap[o.NameTransformMap[o.NameTransformSymbol.SLASH]]).replace(RegExp(`${o.NameTransformMap[o.NameTransformSymbol.HYPHEN]}`,"g"),o.EncodedNameTransformMap[o.NameTransformMap[o.NameTransformSymbol.HYPHEN]]),r&&(n=n.replace(".js","")),n}catch(e){throw e}},t.encodeName=a,t.error=s,t.generateExposeFilename=(e,t)=>{if(!e)return"";let r=e;return"."===r&&(r="default_export"),r.startsWith("./")&&(r=r.replace("./","")),a(r,"__federation_expose_",t)},t.generateShareFilename=(e,t)=>e?a(e,"__federation_shared_",t):"",t.getResourceUrl=function(e,t){if("getPublicPath"in e){let r;return r=e.getPublicPath.startsWith("function")?Function("return "+e.getPublicPath)()():Function(e.getPublicPath)(),`${r}${t}`}return"publicPath"in e?!n.isBrowserEnv()&&!n.isReactNativeEnv()&&"ssrPublicPath"in e&&"string"==typeof e.ssrPublicPath?`${e.ssrPublicPath}${t}`:`${e.publicPath}${t}`:(console.warn("Cannot get resource URL. If in debug mode, please ignore.",e,t),"")},t.isRequiredVersion=function(e){return l.test(e)},t.parseEntry=(e,t,r=o.SEPARATOR)=>{let i=e.split(r),a="development"===n.getProcessEnv().NODE_ENV&&t,s=e=>e.startsWith("http")||e.includes(o.MANIFEST_EXT);if(i.length>=2){let[t,...o]=i;e.startsWith(r)&&(t=i.slice(0,2).join(r),o=[a||i.slice(2).join(r)]);let n=a||o.join(r);return s(n)?{name:t,entry:n}:{name:t,version:n||"*"}}if(1===i.length){let[e]=i;return a&&s(a)?{name:e,entry:a}:{name:e,version:a||"*"}}throw`Invalid entry value: ${e}`},t.safeToString=function(e){try{return JSON.stringify(e,null,2)}catch(e){return""}},t.warn=e=>{console.warn(`${i}: ${e}`)}},73162(e,t){var r=Object.create,o=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(a(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var a,l=i(t),c=0,u=l.length;c<u;c++)a=l[c],s.call(e,a)||void 0===a||o(e,a,{get:(e=>t[e]).bind(null,a),enumerable:!(r=n(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?l:o(l,"default",{value:e,enumerable:!0}),e))},58262(e,t){t.attachShareScopeMap=function(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}},81148(e,t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.FEDERATION_SUPPORTED_TYPES=["script"]},91229(e,t,r){let o=r(58262),n=r(21163),i=r(24476),a=r(1532),s=r(53602);t.consumes=function(e){n.updateConsumeOptions(e);let{chunkId:t,promises:r,installedModules:l,webpackRequire:c,chunkMapping:u,moduleToHandlerMapping:f}=e;o.attachShareScopeMap(c),c.o(u,t)&&u[t].forEach(e=>{if(c.o(l,e))return r.push(l[e]);let t=t=>{l[e]=0,c.m[e]=r=>{delete c.c[e];let o=t(),{shareInfo:n}=f[e];if(n?.shareConfig?.layer&&o&&"object"==typeof o)try{o.hasOwnProperty("layer")&&void 0!==o.layer||(o.layer=n.shareConfig.layer)}catch(e){}r.exports=o}},o=t=>{delete l[e],c.m[e]=r=>{throw delete c.c[e],t}};try{let n=c.federation.instance;if(!n)throw Error("Federation instance not found!");let{shareKey:u,getter:d,shareInfo:h,treeShakingGetter:p}=f[e],m=i.getUsedExports(c,u),g={...h};Array.isArray(g.scope)&&Array.isArray(g.scope[0])&&(g.scope=g.scope[0]),m&&(g.treeShaking={usedExports:m,useIn:[n.options.name]});let y=n.loadShare(u,{customShareInfo:g}).then(e=>{if(!1===e){if("function"!=typeof d)throw Error(s.getShortErrorMsg(a.RUNTIME_012,{[a.RUNTIME_012]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.'},{shareKey:u}));return p?.()||d()}return e});y.then?r.push(l[e]=y.then(t).catch(o)):t(y)}catch(e){o(e)}})}},1532(e,t){t.RUNTIME_012="RUNTIME-012"},53602(e,t){t.getShortErrorMsg=(e,t,r,o)=>{let n=[`${[t[e]]} #${e}`];return r&&n.push(`args: ${JSON.stringify(r)}`),n.push(`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`),o&&n.push(`Original Error Message:
|
|
7
|
-
${o}`),n.join("\n")}},252(e,t){t.getSharedFallbackGetter=({shareKey:e,factory:t,version:r,webpackRequire:o,libraryType:n="global"})=>{let{runtime:i,instance:a,bundlerRuntime:s,sharedFallback:l}=o.federation;if(!l)return t;let c=l[e];if(!c)return t;let u=r?c.find(e=>e[1]===r):c[0];if(!u)throw Error(`No fallback item found for shareKey: ${e} and version: ${r}`);return()=>i.getRemoteEntry({origin:o.federation.instance,remoteInfo:{name:u[2],entry:`${o.p}${u[0]}`,type:n,entryGlobalName:u[2],shareScope:"default"}}).then(t=>{if(!t)throw Error(`Failed to load fallback entry for shareKey: ${e} and version: ${r}`);return t.init(o.federation.instance,s).then(()=>t.get())})}},24476(e,t){t.getUsedExports=function(e,t){let r=e.federation.usedExports;if(r)return r[t]}},88516(e,t,r){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});let o=r(73162),n=r(58262),i=r(57245),a=r(91229),s=r(87706),l=r(29982);r(66605);let c=r(16582),u=r(252),f=r(45734);f=o.__toESM(f);let d={remotes:i.remotes,consumes:a.consumes,I:s.initializeSharing,S:{},installInitialConsumes:l.installInitialConsumes,initContainerEntry:void 0,init:c.init,getSharedFallbackGetter:u.getSharedFallbackGetter},h={runtime:f,instance:void 0,initOptions:void 0,bundlerRuntime:d,attachShareScopeMap:n.attachShareScopeMap,bundlerRuntimeOptions:{}},p=h.instance,m=h.initOptions,g=h.bundlerRuntimeOptions;t.attachShareScopeMap=n.attachShareScopeMap,t.bundlerRuntime=d,t.bundlerRuntimeOptions=g,t.default=h,t.initOptions=m,t.instance=p,Object.defineProperty(t,"runtime",{enumerable:!0,get:function(){return f}})},16582(e,t,r){let o=r(73162),n=r(45734),i=r(23926);i=o.__toESM(i),t.init=function({webpackRequire:e}){let{initOptions:t,runtime:o,sharedFallback:a,bundlerRuntime:s,libraryType:l}=e.federation;if(!t)throw Error("initOptions is required!");return t.plugins||=[],t.plugins.push({name:"tree-shake-plugin",beforeInit(t){let{userOptions:o,origin:c,options:u}=t,f=o.version||u.version;if(!a)return t;let d=o.shared||{},h=[];Object.keys(d).forEach(t=>{(Array.isArray(d[t])?d[t]:[d[t]]).forEach(r=>{h.push([t,r]),"get"in r&&(r.treeShaking||={},r.treeShaking.get=r.get,r.get=s.getSharedFallbackGetter({shareKey:t,factory:r.get,webpackRequire:e,libraryType:l,version:r.version}))})});let p=i.default.global.getGlobalSnapshotInfoByModuleInfo({name:c.name,version:f});return p&&"shared"in p&&(Object.keys(u.shared||{}).forEach(e=>{u.shared[e].forEach(t=>{h.push([e,t])})}),h.forEach(([e,t])=>{((e,t)=>{let o=p.shared.find(t=>t.sharedName===e);if(!o)return;let{treeShaking:i}=t;if(!i)return;let{secondarySharedTreeShakingName:a,secondarySharedTreeShakingEntry:s,treeShakingStatus:u}=o;i.status!==u&&(i.status=u,s&&l&&a&&(i.get=async()=>{let e=await (0,n.getRemoteEntry)({origin:c,remoteInfo:{name:a,entry:s,type:l,entryGlobalName:a,shareScope:"default"}});return await e.init(c,r.federation.bundlerRuntime),e.get()}))})(e,t)})),t}}),o.init(t)}},66605(e,t){t.initContainerEntry=function(e){let{webpackRequire:t,shareScope:r,initScope:o,shareScopeKey:n,remoteEntryInitOptions:i}=e;if(!t.S||!t.federation||!t.federation.instance||!t.federation.initOptions)return;let a=t.federation.instance;a.initOptions({name:t.federation.initOptions.name,remotes:[],...i});let s=i?.shareScopeKeys,l=i?.shareScopeMap;if(n&&"string"!=typeof n)n.forEach(e=>{if(!s||!l)return void a.initShareScopeMap(e,r,{hostShareScopeMap:i?.shareScopeMap||{}});l[e]||(l[e]={});let t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:i?.shareScopeMap||{}})});else{let e=n||"default";Array.isArray(s)?s.forEach(e=>{l[e]||(l[e]={});let t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:i?.shareScopeMap||{}})}):a.initShareScopeMap(e,r,{hostShareScopeMap:i?.shareScopeMap||{}})}return(t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),Array.isArray(n))?t.federation.initOptions.shared?t.I(n,o):Promise.all(n.map(e=>t.I(e,o))).then(()=>!0):t.I(n||"default",o)}},87706(e,t,r){let o=r(58262),n=r(81148);t.initializeSharing=function({shareScopeName:e,webpackRequire:t,initPromises:r,initTokens:i,initScope:a}){let s=Array.isArray(e)?e:[e];var l=[],c=function(s){a||(a=[]);let l=t.federation.instance;var c=i[s];if(c||(c=i[s]={from:l.name}),a.indexOf(c)>=0)return;a.push(c);let u=r[s];if(u)return u;var f=r=>{var o=e=>{let t;return t="Initialization of sharing external failed: "+e,"u">typeof console&&console.warn&&console.warn(t)};try{var n=t(r);if(!n)return;var i=r=>r&&r.init&&r.init(t.S[s],a,{shareScopeMap:t.S||{},shareScopeKeys:e});if(n.then)return d.push(n.then(i,o));var l=i(n);if(l&&"boolean"!=typeof l&&l.then)return d.push(l.catch(o))}catch(e){o(e)}};let d=l.initializeSharing(s,{strategy:l.options.shareStrategy,initScope:a,from:"build"});o.attachShareScopeMap(t);let h=t.federation.bundlerRuntimeOptions.remotes;return(h&&Object.keys(h.idToRemoteMap).forEach(e=>{let t=h.idToRemoteMap[e],r=h.idToExternalAndNameMapping[e][2];if(t.length>1)f(r);else if(1===t.length){let e=t[0];n.FEDERATION_SUPPORTED_TYPES.includes(e.externalType)||f(r)}}),d.length)?r[s]=Promise.all(d).then(()=>r[s]=!0):r[s]=!0};return s.forEach(e=>{l.push(c(e))}),Promise.all(l).then(()=>!0)}},29982(e,t,r){let o=r(21163),n=r(24476);t.installInitialConsumes=function(e){o.updateConsumeOptions(e);let{moduleToHandlerMapping:t,webpackRequire:r,installedModules:i,initialConsumes:a,asyncLoad:s}=e,l=[];a.forEach(e=>{l.push([e,()=>(function(e){let{moduleId:t,moduleToHandlerMapping:r,webpackRequire:o,asyncLoad:i}=e,a=o.federation.instance;if(!a)throw Error("Federation instance not found!");let{shareKey:s,shareInfo:l}=r[t];try{let e=n.getUsedExports(o,s),t={...l};if(e&&(t.treeShaking={usedExports:e,useIn:[a.options.name]}),i)return a.loadShare(s,{customShareInfo:t});return a.loadShareSync(s,{customShareInfo:t})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}})({moduleId:e,moduleToHandlerMapping:t,webpackRequire:r,asyncLoad:s})])});let c=(e,o)=>{r.m[e]=n=>{i[e]=0,delete r.c[e];let a=o();if("function"!=typeof a)throw Error(`Shared module is not available for eager consumption: ${e}`);let s=a(),{shareInfo:l}=t[e];if(l?.shareConfig?.layer&&s&&"object"==typeof s)try{s.hasOwnProperty("layer")&&void 0!==s.layer||(s.layer=l.shareConfig.layer)}catch(e){}n.exports=s}};if(s)return Promise.all(l.map(async([e,t])=>{let r=await t();c(e,()=>r)}));l.forEach(([e,t])=>{c(e,t)})}},57245(e,t,r){r(73162);let o=r(58262),n=r(81148),i=r(21163),a=r(36757);t.remotes=function(e){i.updateRemoteOptions(e);let{chunkId:t,promises:r,webpackRequire:s,chunkMapping:l,idToExternalAndNameMapping:c,idToRemoteMap:u}=e;o.attachShareScopeMap(s),s.o(l,t)&&l[t].forEach(e=>{let t=s.R;t||(t=[]);let o=c[e],i=u[e]||[];if(t.indexOf(o)>=0)return;if(t.push(o),o.p)return r.push(o.p);let l=t=>{t||(t=Error("Container missing")),"string"==typeof t.message&&(t.message+=`
|
|
8
|
-
while loading "${o[1]}" from ${o[2]}`),s.m[e]=()=>{throw t},o.p=0},f=(e,t,n,i,a,s)=>{try{let c=e(t,n);if(!c||!c.then)return a(c,i,s);{let e=c.then(e=>a(e,i),l);if(!s)return e;r.push(o.p=e)}}catch(e){l(e)}};var d=(e,r,n)=>f(r.get,o[1],t,0,h,n),h=t=>{o.p=1,s.m[e]=e=>{e.exports=t()}};1===i.length&&n.FEDERATION_SUPPORTED_TYPES.includes(i[0].externalType)&&i[0].name?f(()=>{try{let e=(0,a.decodeName)(i[0].name,a.ENCODE_NAME_PREFIX)+o[1].slice(1),t=s.federation.instance,r=()=>s.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy){let e=Array.isArray(o[0])?o[0]:[o[0]];return Promise.all(e.map(e=>t.sharedHandler.initializeSharing(e))).then(()=>r())}return r()}catch(e){l(e)}},o[2],0,0,h,1):f(s,o[2],0,0,(e,t,r)=>e?f(s.I,o[0],0,e,d,r):l(),1)})}},21163(e,t){t.updateConsumeOptions=function(e){let{webpackRequire:t,moduleToHandlerMapping:r}=e,{consumesLoadingData:o,initializeSharingData:n}=t,{sharedFallback:i,bundlerRuntime:a,libraryType:s}=t.federation;if(o&&!o._updated){let{moduleIdToConsumeDataMapping:n={},initialConsumes:l=[],chunkMapping:c={}}=o;if(Object.entries(n).forEach(([e,o])=>{r[e]||(r[e]={getter:i?a?.getSharedFallbackGetter({shareKey:o.shareKey,factory:o.fallback,webpackRequire:t,libraryType:s}):o.fallback,treeShakingGetter:i?o.fallback:void 0,shareInfo:{shareConfig:{requiredVersion:o.requiredVersion,strictVersion:o.strictVersion,singleton:o.singleton,eager:o.eager,layer:o.layer},scope:Array.isArray(o.shareScope)?o.shareScope:[o.shareScope||"default"],treeShaking:i?{get:o.fallback,mode:o.treeShakingMode}:void 0},shareKey:o.shareKey})}),"initialConsumes"in e){let{initialConsumes:t=[]}=e;l.forEach(e=>{t.includes(e)||t.push(e)})}if("chunkMapping"in e){let{chunkMapping:t={}}=e;Object.entries(c).forEach(([e,r])=>{t[e]||(t[e]=[]),r.forEach(r=>{t[e].includes(r)||t[e].push(r)})})}o._updated=1}if(n&&!n._updated){let{federation:e}=t;if(!e.instance||!n.scopeToSharingDataMapping)return;let r={};for(let[e,t]of Object.entries(n.scopeToSharingDataMapping))for(let o of t)if("object"==typeof o&&null!==o){let{name:t,version:n,factory:i,eager:a,singleton:s,requiredVersion:l,strictVersion:c}=o,u={requiredVersion:`^${n}`},f=function(e){return void 0!==e};f(s)&&(u.singleton=s),f(l)&&(u.requiredVersion=l),f(a)&&(u.eager=a),f(c)&&(u.strictVersion=c);let d={version:n,scope:[e],shareConfig:u,get:i};r[t]?r[t].push(d):r[t]=[d]}e.instance.registerShared(r),n._updated=1}},t.updateRemoteOptions=function(e){let{webpackRequire:t,idToExternalAndNameMapping:r={},idToRemoteMap:o={},chunkMapping:n={}}=e,{remotesLoadingData:i}=t,a=t.federation?.bundlerRuntimeOptions?.remotes?.remoteInfos;if(!i||i._updated||!a)return;let{chunkMapping:s,moduleIdToRemoteDataMapping:l}=i;if(s&&l){for(let[e,t]of Object.entries(l))if(r[e]||(r[e]=[t.shareScope,t.name,t.externalModuleId]),!o[e]&&a[t.remoteName]){let r=a[t.remoteName];o[e]||=[],r.forEach(t=>{o[e].includes(t)||o[e].push(t)})}n&&Object.entries(s).forEach(([e,t])=>{n[e]||(n[e]=[]),t.forEach(t=>{n[e].includes(t)||n[e].push(t)})}),i._updated=1}}},27913(e,t){var r=Object.create,o=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(a(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var a,l=i(t),c=0,u=l.length;c<u;c++)a=l[c],s.call(e,a)||void 0===a||o(e,a,{get:(e=>t[e]).bind(null,a),enumerable:!(r=n(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?l:o(l,"default",{value:e,enumerable:!0}),e))},23926(e,t,r){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),r(27913);let o=r(41050),n=r(25063),i={...n.helpers.global,getGlobalFederationInstance:o.getGlobalFederationInstance},a=n.helpers.share,s=n.helpers.utils;t.default={global:i,share:a,utils:s},t.global=i,t.share=a,t.utils=s},41050(e,t,r){r(27913);let o=r(25063);t.getGlobalFederationInstance=function(e,t){let r="@openmrs/esm-app-shell:10.0.1-pre.5539";return o.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(o=>!!r&&o.options.id===r||o.options.name===e&&!o.options.version&&!t||o.options.name===e&&!!t&&o.options.version===t)}}},u={};function f(e){var t=u[e];if(void 0!==t)return t.exports;var r=u[e]={exports:{}};return c[e].call(r.exports,r,r.exports,f),r.exports}if(f.m=c,f.c=u,f.x=()=>f(97737),f.federation||(f.federation={chunkMatcher:function(e){return!/^(2366|2874|4234)$/.test(e)},rootOutputDir:""}),f.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return f.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,f.t=function(r,o){if(1&o&&(r=this(r)),8&o||"object"==typeof r&&r&&(4&o&&r.__esModule||16&o&&"function"==typeof r.then))return r;var n=Object.create(null);f.r(n);var i={};e=e||[null,t({}),t([]),t(t)];for(var a=2&o&&r;("object"==typeof a||"function"==typeof a)&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach(e=>{i[e]=()=>r[e]});return i.default=()=>r,f.d(n,i),n},f.d=(e,t)=>{for(var r in t)f.o(t,r)&&!f.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},f.f={},f.e=e=>Promise.all(Object.keys(f.f).reduce((t,r)=>(f.f[r](e,t),t),[])),f.u=e=>""+({1155:"2d877853666ffde5",1285:"485385b17a8973ac",149:"4f25fabfbd242652",1522:"f3f7ba7a281d137f",1554:"27bbc85bbabee1a5",1582:"58b422bb3e2b709e",1689:"6cd82326717c86ed",2021:"557ef6dd5c99796c",2086:"895f33fe88ab78c6",2172:"d20e6ba912862835",2380:"b3536c459d989096",2520:"9b71fd53d6597470",2895:"eb9b3b579b6cf027",2988:"57d3240a2dc16b0d",2998:"d72f9e6e3a770cf5",316:"820d3a7f53689510",330:"c7ee0af570bf55cb",3461:"8f913fa8d380ebae",3734:"03aa011e42235226",3831:"b1a08d9f518cb48c",3899:"87fe0aee69d5a4ad",3942:"616b2aedcab751be",4070:"61b616c98ab0405a",4302:"7bc873dea9adb0c9",4879:"4d8f12edc7efe373",4886:"4487667604ad6f7b",4927:"48dcf82a03f07687",5354:"404d8a9d76a18add",5395:"f14e2dd65bac6caf",5537:"59811cc6672f3c5e",5670:"78d0228dbe6555c1",5778:"c6f3e7b121439a5d",5843:"698e7aab19095311",5848:"205f194d86e5ac67",5855:"c0b0b589e927e230",5874:"cf39cc1e9ef3d2cd",5875:"38500563dff47fc6",5885:"3eecc04b32da713c",5917:"98fa549e4698bac2",6019:"b80022326e66d4dd",6220:"724db602f85d13fd",6259:"79985e1be7b11090",6471:"17af628ac569a1f2",6526:"f4e99831687680e7",6561:"a71261b407223792",6590:"3c26a553b5db1c11",6621:"e33d524c1897be67",6625:"28b2d84b9ba8a17b",6631:"51ba0af155be92c9",6653:"d0374d830553d3ad",7143:"5df0e0969c582637",7707:"ca024710e6f87fbc",7749:"1c79b5f63ceb5f34",7872:"5120f4771ea4fb54",7918:"3626ab9863946c7b",8140:"03ea69ae15e97cd9",8574:"60b81b0c3de3dbcc",8579:"2193b26fed11886c",8728:"9ca23c5ecfdf0b6a",8903:"6787ee9c921c765c",913:"0c3ec589b00659cd",9141:"00781fd40b42efd3",9201:"a59e93981b163fef",9524:"a3a573a33ba2d559",9589:"14cab659fd85b863",9665:"013da7b545f9b832",9705:"47bd06b70fa65c4f",9732:"5c5d30b9ce092a45",9927:"32623ec20d67b16e"})[e]+".js",f.miniCssF=e=>""+({2874:"9764c8732a589cdd",316:"de422601d09003b0"})[e]+".css",f.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),f.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},o="@openmrs/esm-app-shell:",f.l=function(e,t,n,i){if(r[e])return void r[e].push(t);if(void 0!==n)for(var a,s,l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var u=l[c];if(u.getAttribute("src")==e||u.getAttribute("data-rspack")==o+n){a=u;break}}a||(s=!0,(a=document.createElement("script")).timeout=120,f.nc&&a.setAttribute("nonce",f.nc),a.setAttribute("data-rspack",o+n),a.src=e),r[e]=[t];var d=function(t,o){a.onerror=a.onload=null,clearTimeout(h);var n=r[e];if(delete r[e],a.parentNode&&a.parentNode.removeChild(a),n&&n.forEach(function(e){return e(o)}),t)return t(o)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),s&&document.head.appendChild(a)},f.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.p="",f.rv=()=>"1.7.9",f.S={},f.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"@carbon/react",version:"1.92.1",factory:()=>Promise.all([f.e("2366"),f.e("4234"),f.e("5354"),f.e("2988")]).then(()=>()=>f(95015)),eager:0,singleton:1,requiredVersion:"1.x",strictVersion:0},{name:"@openmrs/esm-framework/src/internal",version:"10.0.1-pre.5539",factory:()=>Promise.all([f.e("2366"),f.e("4234"),f.e("5354"),f.e("316")]).then(()=>()=>f(26391)),eager:0,singleton:1,requiredVersion:"*",strictVersion:0},{name:"dayjs",version:"1.11.13",factory:()=>f.e("6621").then(()=>()=>f(56380)),eager:0,singleton:1,requiredVersion:"1.x",strictVersion:0},{name:"i18next",version:"25.5.3",factory:()=>f.e("6625").then(()=>()=>f(46520)),eager:0,singleton:1,requiredVersion:"25.x",strictVersion:0},{name:"react-dom",version:"18.3.1",factory:()=>Promise.all([f.e("2366"),f.e("5917")]).then(()=>()=>f(25724)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"react-i18next",version:"16.0.0",factory:()=>Promise.all([f.e("2366"),f.e("330")]).then(()=>()=>f(57121)),eager:0,singleton:1,requiredVersion:"16.x",strictVersion:0},{name:"react-router-dom",version:"6.30.3",factory:()=>Promise.all([f.e("2366"),f.e("4234"),f.e("9732")]).then(()=>()=>f(7199)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0},{name:"react",version:"18.3.1",factory:()=>f.e("4302").then(()=>()=>f(33805)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"rxjs",version:"6.6.7",factory:()=>Promise.all([f.e("6561"),f.e("5885")]).then(()=>()=>f(13084)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0},{name:"single-spa",version:"6.0.3",factory:()=>f.e("1285").then(()=>()=>f(3700)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0},{name:"swr/_internal",version:"2.5.1",factory:()=>Promise.all([f.e("8574"),f.e("2366")]).then(()=>()=>f(51405)),eager:0,singleton:1,requiredVersion:"2.5.1",strictVersion:0},{name:"swr/immutable",version:"2.5.1",factory:()=>Promise.all([f.e("8574"),f.e("2366"),f.e("149"),f.e("7918")]).then(()=>()=>f(96269)),eager:0,singleton:1,requiredVersion:"2.5.1",strictVersion:0},{name:"swr/infinite",version:"2.5.1",factory:()=>Promise.all([f.e("8574"),f.e("2366"),f.e("149"),f.e("1582")]).then(()=>()=>f(13709)),eager:0,singleton:1,requiredVersion:"2.5.1",strictVersion:0},{name:"swr/mutation",version:"2.5.1",factory:()=>Promise.all([f.e("8574"),f.e("2366"),f.e("149"),f.e("9141")]).then(()=>()=>f(87844)),eager:0,singleton:1,requiredVersion:"2.5.1",strictVersion:0},{name:"swr/subscription",version:"2.5.1",factory:()=>Promise.all([f.e("8574"),f.e("2366"),f.e("149"),f.e("7143")]).then(()=>()=>f(43818)),eager:0,singleton:1,requiredVersion:"2.5.1",strictVersion:0},{name:"swr",version:"2.5.1",factory:()=>Promise.all([f.e("8574"),f.e("2366"),f.e("149"),f.e("4070")]).then(()=>()=>f(31237)),eager:0,singleton:1,requiredVersion:"2.5.1",strictVersion:0}]},uniqueName:"@openmrs/esm-app-shell"},f.I=f.I||function(){throw Error("should have __webpack_require__.I")},f.consumesLoadingData={chunkMapping:{5848:["75404","3658","56312"],316:["72924","15931","67436","26543","480","99970","83360","18326","11712","47665","99737"],2366:["46925"],4234:["22065"]},moduleIdToConsumeDataMapping:{46925:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>f.e("4302").then(()=>()=>f(33805))},47665:{shareScope:"default",shareKey:"react-router-dom",import:"react-router-dom",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>f.e("9732").then(()=>()=>f(7199))},83360:{shareScope:"default",shareKey:"swr/immutable",import:"swr/immutable",requiredVersion:"2.5.1",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([f.e("8574"),f.e("149"),f.e("5537")]).then(()=>()=>f(96269))},18326:{shareScope:"default",shareKey:"@carbon/react",import:"@carbon/react",requiredVersion:"1.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>f.e("2988").then(()=>()=>f(95015))},22065:{shareScope:"default",shareKey:"react-dom",import:"react-dom",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>f.e("5917").then(()=>()=>f(25724))},480:{shareScope:"default",shareKey:"single-spa",import:"single-spa",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>f.e("1285").then(()=>()=>f(3700))},75404:{shareScope:"default",shareKey:"swr/mutation",import:"swr/mutation",requiredVersion:"2.5.1",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([f.e("8574"),f.e("149"),f.e("1522")]).then(()=>()=>f(87844))},15931:{shareScope:"default",shareKey:"swr",import:"swr",requiredVersion:"2.5.1",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([f.e("8574"),f.e("149"),f.e("1689")]).then(()=>()=>f(31237))},72924:{shareScope:"default",shareKey:"swr/_internal",import:"swr/_internal",requiredVersion:"2.5.1",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>f.e("8574").then(()=>()=>f(51405))},3658:{shareScope:"default",shareKey:"@openmrs/esm-framework/src/internal",import:"@openmrs/esm-framework/src/internal",requiredVersion:"*",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>()=>f(26391)},99970:{shareScope:"default",shareKey:"swr/infinite",import:"swr/infinite",requiredVersion:"2.5.1",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([f.e("8574"),f.e("149"),f.e("9201")]).then(()=>()=>f(13709))},99737:{shareScope:"default",shareKey:"react-i18next",import:"react-i18next",requiredVersion:"16.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>f.e("330").then(()=>()=>f(57121))},67436:{shareScope:"default",shareKey:"rxjs",import:"rxjs",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([f.e("6561"),f.e("5885")]).then(()=>()=>f(13084))},11712:{shareScope:"default",shareKey:"dayjs",import:"dayjs",requiredVersion:"1.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>f.e("6621").then(()=>()=>f(56380))},26543:{shareScope:"default",shareKey:"i18next",import:"i18next",requiredVersion:"25.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>f.e("6625").then(()=>()=>f(46520))},56312:{shareScope:"default",shareKey:"swr/subscription",import:"swr/subscription",requiredVersion:"2.5.1",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([f.e("8574"),f.e("149"),f.e("9524")]).then(()=>()=>f(43818))}},initialConsumes:[]},f.f.consumes=f.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")},"u">typeof document){var d=function(e,t,r,o,n){var i=document.createElement("link");return i.rel="stylesheet",i.type="text/css",f.nc&&(i.nonce=f.nc),i.href=t,i.onerror=i.onload=function(r){if(i.onerror=i.onload=null,"load"===r.type)o();else{var a=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.target.href||t,l=Error("Loading CSS chunk "+e+" failed.\\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=a,l.request=s,i.parentNode&&i.parentNode.removeChild(i),n(l)}},r?r.parentNode.insertBefore(i,r.nextSibling):document.head.appendChild(i),i},h=function(e,t){for(var r=document.getElementsByTagName("link"),o=0;o<r.length;o++){var n=r[o],i=n.getAttribute("data-href")||n.getAttribute("href");if(i&&(i=i.split("?")[0]),"stylesheet"===n.rel&&(i===e||i===t))return n}for(var a=document.getElementsByTagName("style"),o=0;o<a.length;o++){var n=a[o],i=n.getAttribute("data-href");if(i===e||i===t)return n}},p={1889:0};f.f.miniCss=function(e,t){if(p[e])t.push(p[e]);else 0!==p[e]&&({2874:1,316:1})[e]&&t.push(p[e]=new Promise(function(t,r){var o=f.miniCssF(e),n=f.p+o;if(h(o,n))return t();d(e,n,null,t,r)}).then(function(){p[e]=0},function(t){throw delete p[e],t}))}}n={1889:0},f.f.j=function(e,t){var r=f.o(n,e)?n[e]:void 0;if(0!==r)if(r)t.push(r[2]);else if(/^(2366|2874|4234)$/.test(e))n[e]=0;else{var o=new Promise((t,o)=>r=n[e]=[t,o]);t.push(r[2]=o);var i=f.p+f.u(e),a=Error();f.l(i,function(t){if(f.o(n,e)&&(0!==(r=n[e])&&(n[e]=void 0),r)){var o=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;a.message="Loading chunk "+e+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}},"chunk-"+e,e)}},i=(e,t)=>{var r,o,[i,a,s]=t,l=0;if(i.some(e=>0!==n[e])){for(r in a)f.o(a,r)&&(f.m[r]=a[r]);s&&s(f)}for(e&&e(t);l<i.length;l++)o=i[l],f.o(n,o)&&n[o]&&n[o][0](),n[o]=0},(a=globalThis.webpackChunk_openmrs_esm_app_shell=globalThis.webpackChunk_openmrs_esm_app_shell||[]).forEach(i.bind(null,0)),a.push=i.bind(null,a.push.bind(a)),f.ruid="bundler=rspack@1.7.9",s=f.x,l=!1,f.x=function(){if(l||(l=!0,f(72868)),"function"==typeof s)return s();console.warn("[MF] Invalid prevStartup")},f.x()})();
|