@openmrs/esm-app-shell 10.0.1-pre.5542 → 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.68aaf830b914e949.js +0 -8
- package/dist/openmrs.68aaf830b914e949.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
package/.tmp/openmrs.css
CHANGED
|
@@ -35224,7 +35224,6 @@ nav.breadcrumbs-container ol li {
|
|
|
35224
35224
|
|
|
35225
35225
|
:root {
|
|
35226
35226
|
--omrs-sidenav-width: 16rem;
|
|
35227
|
-
--omrs-offline-banner-height: 0;
|
|
35228
35227
|
--omrs-navbar-height: 3rem;
|
|
35229
35228
|
--omrs-topnav-height: var(--omrs-navbar-height);
|
|
35230
35229
|
}
|
|
@@ -35234,16 +35233,6 @@ nav.breadcrumbs-container ol li {
|
|
|
35234
35233
|
transition: margin-left 0.5s ease;
|
|
35235
35234
|
}
|
|
35236
35235
|
|
|
35237
|
-
.omrs-offline {
|
|
35238
|
-
--omrs-offline-banner-height: 1.5rem;
|
|
35239
|
-
--omrs-topnav-height: 4.5rem;
|
|
35240
|
-
}
|
|
35241
|
-
.omrs-offline .cds--side-nav,
|
|
35242
|
-
.omrs-offline .cds--header-panel--expanded,
|
|
35243
|
-
.omrs-offline .cds--side-nav__overlay {
|
|
35244
|
-
top: var(--omrs-topnav-height);
|
|
35245
|
-
}
|
|
35246
|
-
|
|
35247
35236
|
#omrs-logo-full-color,
|
|
35248
35237
|
#omrs-logo-partial-color,
|
|
35249
35238
|
#omrs-logo-icon-color {
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
[1m[33mWARNING[39m[22m in [33m⚠[0m asset size limit: The following asset(s) exceed the recommended size limit (244.141 KiB). This can impact web performance.
|
|
2
2
|
│ Assets:
|
|
3
|
-
│
|
|
4
|
-
│ openmrs.
|
|
5
|
-
│
|
|
3
|
+
│ f30c8750c306425c.js (561.147 KiB)
|
|
4
|
+
│ openmrs.2366f8911cecaf0f.css (1.014 MiB)
|
|
5
|
+
│ 7e94e985736f6433.js (660.820 KiB)
|
|
6
6
|
[0m
|
|
7
7
|
|
|
8
|
-
Rspack compiled with [1m[33m1 warning[39m[22m in
|
|
8
|
+
Rspack compiled with [1m[33m1 warning[39m[22m in 4.28 s
|
|
9
9
|
Not serving @openmrs/esm-devtools-app because couldn't find /home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/apps/esm-devtools-app/dist
|
|
10
10
|
Not serving @openmrs/esm-help-menu-app because couldn't find /home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/apps/esm-help-menu-app/dist
|
|
11
11
|
Not serving @openmrs/esm-implementer-tools-app because couldn't find /home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/apps/esm-implementer-tools-app/dist
|
|
12
12
|
Not serving @openmrs/esm-login-app because couldn't find /home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/apps/esm-login-app/dist
|
|
13
|
-
Not serving @openmrs/esm-offline-tools-app because couldn't find /home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/apps/esm-offline-tools-app/dist
|
|
14
13
|
Not serving @openmrs/esm-primary-navigation-app because couldn't find /home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/apps/esm-primary-navigation-app/dist
|
|
15
|
-
Rspack compiled [1m[32msuccessfully[39m[22m in
|
|
14
|
+
Rspack compiled [1m[32msuccessfully[39m[22m in 3.10 s
|
package/dependencies.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_app_shell=globalThis.webpackChunk_openmrs_esm_app_shell||[]).push([["
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_app_shell=globalThis.webpackChunk_openmrs_esm_app_shell||[]).push([["1554"],{5433(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"}')}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"031753d072f15c69.js","sources":["webpack://@openmrs/esm-app-shell/json|/home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/framework/esm-translations/translations/hi.json"],"names":["JSON"],"mappings":"uIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,i7G"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_app_shell=globalThis.webpackChunk_openmrs_esm_app_shell||[]).push([["1689"],{1237(e,l,s){s.r(l),s.d(l,{SWRConfig:()=>a.S,default:()=>a.u,mutate:()=>p.k,preload:()=>u.preload,unload:()=>p.l,unstable_serialize:()=>o,useSWRConfig:()=>u.useSWRConfig});var a=s(2324),p=s(242),u=s(1405);let o=e=>(0,p.s)(e)[0]}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"04d8feb9d4359f1f.js","sources":["webpack://@openmrs/esm-app-shell/../../../node_modules/swr/dist/index/index.mjs"],"names":[],"mappings":"2UAMA,IAAM,EAAqB,AAAC,GAAM,QAAU,EAAI,CAAC,EAAE,A"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_app_shell=globalThis.webpackChunk_openmrs_esm_app_shell||[]).push([["6590"],{7581(e){e.exports=JSON.parse('{"abnormalValue":"Abnormal value","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","batchActionItemSelected":"{{totalSelected}} item selected","batchActionsItemsSelected":"{{totalSelected}} items selected","cancel":"Cancel","change":"Change","city":"City","cityVillage":"City","Clinic":"Clinic","close":"Close","closeAllOpenedWorkspaces":"Discard changes in {{count}} workspaces","closesActionableNotification":"Close actionable notification","closeSnackbar":"Close snackbar","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","discardUnsavedChangesPromptBodyMultiple":"{{count}} workspaces have unsaved changes. Closing them will discard the changes:","discardUnsavedChangesPromptBodySingle":"<strong>{{workspaceTitle}}</strong> has unsaved changes. Closing it will discard them.","discardUnsavedChangesPromptTitle":"Discard unsaved 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","keepEditing":"Keep editing","leftNavigation":"Left navigation","loading":"Loading","localVersion":"Local Build","male":"Male","maximize":"Maximize","minimize":"Minimize","navigateNonHttp":"Could not navigate to the requested page as it is not a safe URL","noResultsToDisplay":"No results to display","notAvailable":"Not available","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","prereleaseVersion":"Prerelease","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","selectAll":"Select all","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"}')}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"05ce2d37a1daa834.js","sources":["webpack://@openmrs/esm-app-shell/json|/home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/framework/esm-translations/translations/en.json"],"names":["JSON"],"mappings":"uIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,08H"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_app_shell=globalThis.webpackChunk_openmrs_esm_app_shell||[]).push([["4879"],{3666(e){e.exports=JSON.parse('{"actionableNotification":"Actionable notification","actions":"A\xe7\xf5es","address":"Endere\xe7o","address1":"Endere\xe7o linha 1","address2":"Endere\xe7o linha 2","address3":"Endere\xe7o linha 3","address4":"Endere\xe7o linha 4","address5":"Endere\xe7o linha 5","address6":"Endere\xe7o linha 6","age":"Idade","cancel":"Cancelar","change":"Alterar","city":"Cidade","cityVillage":"Cidade","Clinic":"Clinic","close":"Fechar","closeAllOpenedWorkspaces":"Descartar altera\xe7\xf5es em {{count}} espa\xe7os de trabalho","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":"Voc\xea tem altera\xe7\xf5es n\xe3o gravadas","confirm":"Confirmar","contactAdministratorIfIssuePersists":"Contacte o administrador do sistema se o problema persistir.","contactDetails":"Detalhes de contato","country":"Pa\xeds","countyDistrict":"Distrito","delete":"Delete","discard":"Descartar","discardChanges":"Discard changes","district":"Distrito","edit":"Edit","emptyStateText":"There are no {{displayText}} to display","error":"Erro","errorCopy":"Desculpe, ocorreu um problema ao visualizar essas informa\xe7\xf5es. Voc\xea pode tentar recarregar esta p\xe1gina ou entrar em contato com o administrador do sistema providenciando o c\xf3digo de erro acima.","errorLoadingLoginLocations":"Unable to load login locations. Please try again or contact support if the problem persists.","female":"Feminino","hide":"Esconder","leftNavigation":"Left navigation","loading":"Carregando","male":"Masculino","maximize":"Maximizar","minimize":"Minimizar","noResultsToDisplay":"No results to display","openAnyway":"Abrir mesmo assim","other":"Outro","paginationItemsCount":"{{pageItemsCount}} / {{totalItems}} items","paginationOfPages":"of {{count}} pages","patientAvatarAlt":"Avatar for {{patientName}}","patientIdentifierSticker":"Etiqueta de Identificador do Utente","patientLists":"Lista de Utentes","patientPhotoAlt":"Profile photo of {{patientName}}","patientPhotoPlaceholder":"Photo placeholder for {{patientName}}","postalCode":"Caixa postal","print":"Imprimir","printError":"Erro de impress\xe3o","printErrorExplainer":"Ocorreu um erro em {{errorLocation}}","printIdentifierSticker":"Imprimir etiqueta do identificador","printing":"Imprimindo","recordNewEntry":"Record {{displayText}}","relationships":"Relacionamentos","resetOverrides":"Redefinir substitui\xe7\xf5es","save":"Salvar","scriptLoadingError":"Falha ao carregar o script de substitu\xed\xe7\xe3o de {{url}}. Verifique se o script inclu\xeddo est\xe1 dispon\xedvel no URL esperado. Clique no bot\xe3o abaixo para redefinir todas as substitui\xe7\xf5es de mapas de importa\xe7\xe3o.","scriptLoadingFailed":"Erro: O carregamento do script falhou","searchForLocation":"Search for a location","seeAll":"See all","seeMoreLists":"Ver {{count}} mais listas","sex":"Sexo","showLess":"Mostrar menos","showMore":"Mostrar mais","snackbarNotification":"Snackbar notification","state":"Estado","stateProvince":"Estado","toggleDevTools":"Toggle dev tools","unknown":"Desconhecido","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":"Altera\xe7\xf5es n\xe3o gravadas","workspaceHeader":"Cabe\xe7alho do espa\xe7o de trabalho","yearAbbreviation":"yr","yearsAbbreviation":"yrs"}')}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"0b75e238cac98eec.js","sources":["webpack://@openmrs/esm-app-shell/json|/home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/framework/esm-translations/translations/pt.json"],"names":["JSON"],"mappings":"uIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,kxH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_app_shell=globalThis.webpackChunk_openmrs_esm_app_shell||[]).push([["8579"],{4254(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"}')}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"282cf17f6e5687b8.js","sources":["webpack://@openmrs/esm-app-shell/json|/home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/framework/esm-translations/translations/es_MX.json"],"names":["JSON"],"mappings":"uIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,i7G"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_app_shell=globalThis.webpackChunk_openmrs_esm_app_shell||[]).push([["3942"],{2533(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"}')}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"2920145641c09c4d.js","sources":["webpack://@openmrs/esm-app-shell/json|/home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/framework/esm-translations/translations/uz_UZ.json"],"names":["JSON"],"mappings":"uIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,i7G"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_app_shell=globalThis.webpackChunk_openmrs_esm_app_shell||[]).push([["1582"],{3709(e,t,a){a.r(t),a.d(t,{default:()=>d,infinite:()=>_,unstable_serialize:()=>c});var l=a(6925),r=a(2324),i=a(242),n=a(1405),u=a(727);let s=e=>(0,i.s)(e?e(0,null):null)[0],c=e=>"$inf$"+s(e),o=Promise.resolve(),_=e=>(t,a,r)=>{let n,c=(0,l.useRef)(!1),{cache:_,initialSize:d=1,revalidateAll:f=!1,persistSize:p=!1,revalidateFirstPage:b=!0,revalidateOnMount:g=!1,parallel:h=!1}=r,[,,,m]=i.a.get(i.o);try{(n=s(t))&&(n="$inf$"+n)}catch(e){}let[k,w,y]=(0,i.c)(_,n),v=(0,l.useCallback)(()=>(0,i.i)(k()._l)?d:k()._l,[_,n,d]);(0,u.useSyncExternalStore)((0,l.useCallback)(e=>n?y(n,()=>{e()}):()=>{},[_,n]),v,v);let C=(0,l.useCallback)(()=>{let e=k()._l;return(0,i.i)(e)?d:e},[n,d]),$=(0,l.useRef)(C());(0,i.u)(()=>{if(!c.current){c.current=!0;return}n&&w({_l:p?$.current:C()})},[n,_]);let U=g&&!c.current,z=e(n,async e=>{let l=k()._i,n=k()._r,u=i.a.get(_),s=u[8],c=()=>u[8]!==s;w({_r:i.U});let o=[],d=C(),[p]=(0,i.c)(_,e),g=p().data,y=[],v=null;for(let e=0;e<d;++e){let[u,s]=(0,i.s)(t(e,h?null:v));if(!u)break;let[d,p]=(0,i.c)(_,u),k=d().data,w=f||l||(0,i.i)(k)||b&&!e&&!(0,i.i)(g)||U||g&&!(0,i.i)(g[e])&&!r.compare(g[e],k);if(a&&("function"==typeof n?n(k,s):w)){let t=async()=>{if(u in m){let e=m[u];delete m[u],k=await e}else k=await a(s);c()||p({data:k,_k:s}),o[e]=k};h?y.push(t):await t()}else o[e]=k;h||(v=k)}return h&&await Promise.all(y.map(e=>e())),c()||w({_i:i.U}),o},r),L=(0,l.useCallback)(function(e,t){let a="boolean"==typeof t?{revalidate:t}:t||{},l=!1!==a.revalidate;return n?(l&&((0,i.i)(e)?w({_i:!0,_r:a.revalidate}):w({_i:!1,_r:a.revalidate})),arguments.length?z.mutate(e,{...a,revalidate:l}):z.mutate()):o},[n,_]),P=(0,l.useCallback)(e=>{let a;if(!n)return o;let[,l]=(0,i.c)(_,n);if((0,i.e)(e)?a=e(C()):"number"==typeof e&&(a=e),"number"!=typeof a)return o;l({_l:a}),$.current=a;let r=[],[u]=(0,i.c)(_,n),s=null;for(let e=0;e<a;++e){let[a]=(0,i.s)(t(e,s)),[l]=(0,i.c)(_,a),n=a?l().data:i.U;if((0,i.i)(n))return L(u().data);r.push(n),s=n}return L(r)},[n,_,L,C]);return{size:C(),setSize:P,mutate:L,get data(){return z.data},get error(){return z.error},get isValidating(){return z.isValidating},get isLoading(){return z.isLoading}}},d=(0,n.withMiddleware)(r.u,_)}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"2dff1a92bc9a2725.js","sources":["webpack://@openmrs/esm-app-shell/../../../node_modules/swr/dist/infinite/index.mjs"],"names":["Promise","p","e","i","u","arguments"],"mappings":"qQAOA,IAAM,EAAkB,AAAC,GACd,QAAU,EAAS,EAAO,EAAG,MAAQ,KAAK,CAAC,EAAE,CAElD,EAAqB,AAAC,GACjB,QAAkB,EAAgB,GAKvC,EAAgBA,QAAQ,OAAO,GAC/B,EAAW,AAAC,GAAa,CAAC,EAAQ,EAAI,KACpC,IAKI,EALE,EAAc,aAAO,IACrB,CAAE,MAAO,CAAO,CAAE,cAAc,CAAC,CAAE,gBAAgB,EAAK,CAAEC,YAAAA,EAAc,EAAK,CAAE,sBAAsB,EAAI,CAAE,oBAAoB,EAAK,CAAE,WAAW,EAAK,CAAE,CAAG,EAC3J,IAAO,EAAQ,CAAG,OAAkB,CAAC,GAAK,EAIhD,GAAI,CAEI,AADJ,GAAc,EAAgB,EAAM,GACnB,GAAc,QAAkB,CAAU,CAC/D,CAAE,MAAOC,EAAK,CAEd,CACA,GAAM,CAAC,EAAK,EAAK,EAAe,CAAG,QAAkB,EAAS,GACxD,EAAc,kBAAY,IACf,GAAAC,EAAA,GAAY,IAAM,EAAE,EAAI,EAAc,IAAM,EAAE,CAG5D,CACC,EACA,EACA,EACH,EACD,GAAAC,EAAA,sBAAqB,kBAAY,AAAC,GAC9B,AAAI,EAAoB,EAAe,EAAa,KAChD,GACJ,GACO,KAAK,EAEhB,CACI,EACA,EACH,EAAG,EAAa,GACjB,IAAM,EAAkB,kBAAY,KAChC,IAAM,EAAiB,IAAM,EAAE,CAC/B,MAAO,GAAAD,EAAA,GAAY,GAAkB,EAAc,CAGvD,EAAG,CACC,EACA,EACH,EAEK,EAAkB,aAAO,KAE/B,QAA0B,KACtB,GAAI,CAAC,EAAY,OAAO,CAAE,CACtB,EAAY,OAAO,CAAG,GACtB,MACJ,CACI,GAGA,EAAI,CACA,GAAIF,EAAc,EAAgB,OAAO,CAAG,GAChD,EAGR,EAAG,CACC,EACA,EACH,EAED,IAAM,EAA0B,GAAqB,CAAC,EAAY,OAAO,CAEnE,EAAM,EAAW,EAAa,MAAO,IAEvC,IAAM,EAAqB,IAAM,EAAE,CAC7B,EAAuB,IAAM,EAAE,CAI/B,EAAQ,OAAkB,CAAC,GAC3B,EAAmB,CAAK,CAAC,EAAE,CAC3B,EAAwB,IAAI,CAAK,CAAC,EAAE,GAAK,EAC/C,EAAI,CACA,GAAI,GAAS,AACjB,GAEA,IAAM,EAAO,EAAE,CACT,EAAW,IACX,CAAC,EAAS,CAAG,QAAkB,EAAS,GACxC,EAAY,IAAW,IAAI,CAC3B,EAAe,EAAE,CACnB,EAAmB,KACvB,IAAI,IAAI,EAAI,EAAG,EAAI,EAAU,EAAE,EAAE,CAC7B,GAAM,CAAC,EAAS,EAAQ,CAAG,QAAU,EAAO,EAAG,EAAW,KAAO,IACjE,GAAI,CAAC,EACD,MAEJ,GAAM,CAAC,EAAa,EAAY,CAAG,QAAkB,EAAS,GAE1D,EAAW,IAAc,IAAI,CAQ3B,EAAkB,GAAiB,GAAsB,GAAAE,EAAA,GAAY,IAAa,GAAuB,CAAC,GAAK,CAAC,GAAAA,EAAA,GAAY,IAAc,GAA2B,GAAa,CAAC,GAAAA,EAAA,GAAY,CAAS,CAAC,EAAE,GAAK,CAAC,EAAO,OAAO,CAAC,CAAS,CAAC,EAAE,CAAE,GACpP,GAAI,GAAO,CAAgC,YAAhC,OAAO,EAAsC,EAAqB,EAAU,GAAW,CAAc,EAAI,CAChH,IAAM,EAAa,UAEf,GAD4B,KAAW,EAGhC,CACH,IAAM,EAAM,CAAO,CAAC,EAAQ,AAG5B,QAAO,CAAO,CAAC,EAAQ,CAEvB,EAAW,MAAM,CACrB,MARI,EAAW,MAAM,EAAG,EASpB,CAAC,KACD,EAAY,CACR,KAAM,EACN,GAAI,CACR,GAEJ,CAAI,CAAC,EAAE,CAAG,CACd,EACI,EACA,EAAa,IAAI,CAAC,GAElB,MAAM,GAEd,MACI,CAAI,CAAC,EAAE,CAAG,CAEV,CAAC,GACD,GAAmB,CAAO,CAElC,CAcA,OAZI,GACA,MAAMH,QAAQ,GAAG,CAAC,EAAa,GAAG,CAAC,AAAC,GAAI,MAKxC,AAAC,KACD,EAAI,CACA,GAAI,GAAS,AACjB,GAGG,CACX,EAAG,GACG,EAAS,kBACf,SAAS,CAAI,CAAE,CAAI,EAGf,IAAM,EAAU,AAAgB,WAAhB,OAAO,EAAqB,CACxC,WAAY,CAChB,EAAI,GAAQ,CAAC,EAEP,EAAmB,AAAuB,KAAvB,EAAQ,UAAU,QAE3C,AAAK,GACD,IACK,GAAAG,EAAA,GAAY,GAQb,EAAI,CACA,GAAI,GACJ,GAAI,EAAQ,UAAU,AAC1B,GATA,EAAI,CACA,GAAI,GACJ,GAAI,EAAQ,UAAU,AAC1B,IASDE,UAAU,MAAM,CAAG,EAAI,MAAM,CAAC,EAAM,CACvC,GAAG,CAAO,CACV,WAAY,CAChB,GAAK,EAAI,MAAM,IAnBU,CAoB7B,EAEA,CACI,EACA,EACH,EAEK,EAAU,kBAAY,AAAC,QAIrB,EAFJ,GAAI,CAAC,EAAa,OAAO,EACzB,GAAM,EAAG,EAAW,CAAG,QAAkB,EAAS,GAOlD,GALI,GAAAF,EAAA,GAAW,GACX,EAAO,EAAI,KACJ,AAAc,UAAd,OAAO,GACd,GAAO,CAAE,EAET,AAAe,UAAf,OAAO,EAAkB,OAAO,EACpC,EAAW,CACP,GAAI,CACR,GACA,EAAgB,OAAO,CAAG,EAE1B,IAAM,EAAO,EAAE,CACT,CAAC,EAAiB,CAAG,QAAkB,EAAS,GAClD,EAAmB,KACvB,IAAI,IAAI,EAAI,EAAG,EAAI,EAAM,EAAE,EAAE,CACzB,GAAM,CAAC,EAAQ,CAAG,QAAU,EAAO,EAAG,IAChC,CAAC,EAAS,CAAG,QAAkB,EAAS,GAExC,EAAW,EAAU,IAAW,IAAI,CAAG,GAAS,CAEtD,GAAI,GAAAA,EAAA,GAAY,GACZ,OAAO,EAAO,IAAmB,IAAI,EAEzC,EAAK,IAAI,CAAC,GACV,EAAmB,CACvB,CACA,OAAO,EAAO,EAClB,EAEA,CACI,EACA,EACA,EACA,EACH,EAGD,MAAO,CACH,KAAM,IACN,UACA,SACA,IAAI,MAAQ,CACR,OAAO,EAAI,IAAI,AACnB,EACA,IAAI,OAAS,CACT,OAAO,EAAI,KAAK,AACpB,EACA,IAAI,cAAgB,CAChB,OAAO,EAAI,YAAY,AAC3B,EACA,IAAI,WAAa,CACb,OAAO,EAAI,SAAS,AACxB,CACJ,CACJ,EACE,EAAiB,qBAAe,GAAM,CAAE,E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_app_shell=globalThis.webpackChunk_openmrs_esm_app_shell||[]).push([["2380"],{7028(e){e.exports=JSON.parse('{"actionableNotification":"Actionable notification","actions":"H\xe0nh động","address":"Địa chỉ","address1":"Địa chỉ 1","address2":"Địa chỉ 2","address3":"Địa chỉ 3","address4":"Địa chỉ 4","address5":"Địa chỉ 5","address6":"Địa chỉ 6","age":"Tuổi","cancel":"Hủy","change":"Thay đổi","city":"Th\xe0nh phố","cityVillage":"Th\xe0nh phố","Clinic":"Clinic","close":"Đ\xf3ng","closeAllOpenedWorkspaces":"Hủy bỏ c\xe1c thay đổi trong {{count}} kh\xf4ng gian l\xe0m việc","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":"Bạn chưa lưu thay đổi","confirm":"X\xe1c nhận","contactAdministratorIfIssuePersists":"H\xe3y li\xean hệ với quản trị vi\xean hệ thống nếu sự cố vẫn tiếp diễn.","contactDetails":"Chi tiết li\xean lạc","country":"Quốc gia","countyDistrict":"Quận/Huyện","delete":"Delete","discard":"Hủy bỏ","discardChanges":"Discard changes","district":"District","edit":"Edit","emptyStateText":"There are no {{displayText}} to display","error":"Lỗi","errorCopy":"Xin lỗi, đ\xe3 xảy ra sự cố khi hiển thị th\xf4ng tin n\xe0y. Bạn c\xf3 thể thử tải lại trang n\xe0y hoặc li\xean hệ với quản trị vi\xean trang web v\xe0 tr\xedch dẫn m\xe3 lỗi ở tr\xean.","errorLoadingLoginLocations":"Unable to load login locations. Please try again or contact support if the problem persists.","female":"Nữ giới","hide":"Ẩn","leftNavigation":"Left navigation","loading":"Đang tải","male":"Nam giới","maximize":"Tối đa","minimize":"Tối thiểu","noResultsToDisplay":"No results to display","openAnyway":"Open Anyway","other":"Kh\xe1c","paginationItemsCount":"{{pageItemsCount}} / {{totalItems}} items","paginationOfPages":"of {{count}} pages","patientAvatarAlt":"Avatar for {{patientName}}","patientIdentifierSticker":"Nh\xe3n d\xe1n nhận dạng bệnh nh\xe2n","patientLists":"Danh s\xe1ch bệnh nh\xe2n","patientPhotoAlt":"Profile photo of {{patientName}}","patientPhotoPlaceholder":"Photo placeholder for {{patientName}}","postalCode":"M\xe3 bưu ch\xednh","print":"In","printError":"Lỗi in","printErrorExplainer":"Đ\xe3 xảy ra lỗi trong {{errorLocation}}","printIdentifierSticker":"In nh\xe3n d\xe1n nhận dạng","printing":"Đang in","recordNewEntry":"Record {{displayText}}","relationships":"Mối quan hệ","resetOverrides":"Đặt lại ghi đ\xe8","save":"Save","scriptLoadingError":"Kh\xf4ng tải được tập lệnh ghi đ\xe8 từ {{url}}. Vui l\xf2ng kiểm tra xem tập lệnh được đ\xf3ng g\xf3i c\xf3 khả dụng tại URL mong đợi hay kh\xf4ng. Nhấp v\xe0o n\xfat b\xean dưới để đặt lại tất cả c\xe1c ghi đ\xe8 bản đồ nhập.","scriptLoadingFailed":"Lỗi: Kh\xf4ng tải được tập lệnh","searchForLocation":"Search for a location","seeAll":"See all","seeMoreLists":"Xem th\xeam {{count}} danh s\xe1ch","sex":"Giới t\xednh","showLess":"Show less","showMore":"Show more","snackbarNotification":"Snackbar notification","state":"Tiểu bang","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":"Những thay đổi chưa lưu","workspaceHeader":"Ti\xeau đề kh\xf4ng gian l\xe0m việc","yearAbbreviation":"yr","yearsAbbreviation":"yrs"}')}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"2fc836ab8d68dc12.js","sources":["webpack://@openmrs/esm-app-shell/json|/home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/framework/esm-translations/translations/vi.json"],"names":["JSON"],"mappings":"uIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,ioH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_app_shell=globalThis.webpackChunk_openmrs_esm_app_shell||[]).push([["3461"],{4468(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"}')}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"3136dd8643999f24.js","sources":["webpack://@openmrs/esm-app-shell/json|/home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/framework/esm-translations/translations/am.json"],"names":["JSON"],"mappings":"uIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,i7G"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_app_shell=globalThis.webpackChunk_openmrs_esm_app_shell||[]).push([["8728"],{1787(e){e.exports=JSON.parse('{"actionableNotification":"Notifica\xe7\xe3o acion\xe1vel","actions":"A\xe7\xf5es","address":"Endere\xe7o","address1":"Linha de Endere\xe7o 1","address2":"Linha de Endere\xe7o 2","address3":"Linha de Endere\xe7o 3","address4":"Linha de endere\xe7o 4","address5":"Linha de Endere\xe7o 5","address6":"Linha de Endere\xe7o 6","age":"Idade","cancel":"Cancelar","change":"Alterar","city":"Cidade","cityVillage":"Cidade","Clinic":"Cl\xednica","close":"Fechar","closeAllOpenedWorkspaces":"Descartar altera\xe7\xf5es em {{count}} espa\xe7os de trabalho ","closesActionableNotification":"Fechar a notifica\xe7\xe3o acion\xe1vel","closeSnackbar":"Fechar notifica\xe7\xe3o","closeWorkspaces2PromptBody":"Voc\xea est\xe1 prestes a fechar o(s) seguinte(s) workspace(s), que podem conter altera\xe7\xf5es n\xe3o salvas:","closeWorkspaces2PromptTitle":"Fechar workspace(s)","closingAllWorkspacesPromptBody":"Pode haver altera\xe7\xf5es n\xe3o salvas nos seguintes workspaces. Deseja descartar as altera\xe7\xf5es nos seguintes workspaces? {{workspaceNames}}","closingAllWorkspacesPromptTitle":"Voc\xea tem altera\xe7\xf5es n\xe3o salvas","confirm":"Confirmar","contactAdministratorIfIssuePersists":"Entre em contato com o administrador do sistema se o problema persistir.","contactDetails":"Detalhes de contato","country":"Pa\xeds","countyDistrict":"Distrito","delete":"Deletar","discard":"Descarte","discardChanges":"Descartar altera\xe7\xf5es","district":"Distrito","edit":"Editar","emptyStateText":"N\xe3o h\xe1 {{displayText}} para exibir","error":"Erro","errorCopy":"Desculpe, houve um problema ao exibir essas informa\xe7\xf5es. Voc\xea pode tentar recarregar esta p\xe1gina ou entrar em contato com o administrador do site e informar o c\xf3digo de erro acima.","errorLoadingLoginLocations":"N\xe3o foi poss\xedvel carregar os locais de login. Tente novamente ou entre em contato com o suporte se o problema persistir.","female":"Feminino","hide":"Esconder","leftNavigation":"Navega\xe7\xe3o lateral esquerda","loading":"Carregando","male":"Masculino","maximize":"Maximizar","minimize":"Minimizar","noResultsToDisplay":"Nenhum resultado para exibir","openAnyway":"Abrir de qualquer forma","other":"Outros","paginationItemsCount":"{{pageItemsCount}} / {{totalItems}} itens","paginationOfPages":"de {{count}} p\xe1ginas","patientAvatarAlt":"Avatar de {{patientName}}","patientIdentifierSticker":"Adesivo de identifica\xe7\xe3o do paciente","patientLists":"Listas de pacientes","patientPhotoAlt":"Foto de perfil de {{patientName}}","patientPhotoPlaceholder":"Imagem padr\xe3o para {{patientName}}","postalCode":"C\xf3digo postal","print":"Imprimir","printError":"Erro de impress\xe3o","printErrorExplainer":"Ocorreu um erro em {{errorLocation}}","printIdentifierSticker":"Imprimir adesivo identificador","printing":"Impress\xe3o","recordNewEntry":"Registrar {{displayText}}","relationships":"Relacionamentos","resetOverrides":"Redefinir substitui\xe7\xf5es","save":"Salvar","scriptLoadingError":"Falha ao carregar o script substitu\xeddo de {{url}}. Verifique se o script empacotado est\xe1 dispon\xedvel no URL esperado. Clique no bot\xe3o abaixo para redefinir todas as substitui\xe7\xf5es do mapa de importa\xe7\xe3o.","scriptLoadingFailed":"Erro: Falha ao carregar o script","searchForLocation":"Buscar um local","seeAll":"Ver todos","seeMoreLists":"Veja mais {{count}} listas","sex":"Sexo","showLess":"Mostrar menos","showMore":"Mostrar mais","snackbarNotification":"Notifica\xe7\xe3o","state":"Estado","stateProvince":"Estado","toggleDevTools":"Alternar ferramentas de desenvolvedor","unknown":"Desconhecido","unsavedChangesInOpenedWorkspace":"Pode haver altera\xe7\xf5es n\xe3o salvas no workspace aberto. Deseja descartar essas altera\xe7\xf5es?","unsavedChangesInWorkspace":"Pode haver altera\xe7\xf5es n\xe3o salvas em \\"{{workspaceName}}\\". Salve-as antes de abrir outro workspace.","unsavedChangesTitleText":"Altera\xe7\xf5es n\xe3o salvas","workspaceHeader":"Cabe\xe7alho do espa\xe7o de trabalho","yearAbbreviation":"ano","yearsAbbreviation":"anos"}')}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"3d04297932795708.js","sources":["webpack://@openmrs/esm-app-shell/json|/home/runner/work/openmrs-esm-core/openmrs-esm-core/packages/framework/esm-translations/translations/pt_BR.json"],"names":["JSON"],"mappings":"uIAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,y9H"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_app_shell=globalThis.webpackChunk_openmrs_esm_app_shell||[]).push([["6625"],{6520(e,t,s){s.r(t),s.d(t,{changeLanguage:()=>G,createInstance:()=>_,default:()=>z,dir:()=>J,exists:()=>ee,getFixedT:()=>X,hasLoadedNamespace:()=>es,init:()=>q,keyFromSelector:()=>w,loadLanguages:()=>ea,loadNamespaces:()=>ei,loadResources:()=>W,reloadResources:()=>Y,setDefaultNamespace:()=>et,t:()=>Z,use:()=>Q});let i=e=>"string"==typeof e,a=()=>{let e,t,s=new Promise((s,i)=>{e=s,t=i});return s.resolve=e,s.reject=t,s},r=e=>null==e?"":""+e,o=/###/g,n=e=>e&&e.indexOf("###")>-1?e.replace(o,"."):e,l=e=>!e||i(e),h=(e,t,s)=>{let a=i(t)?t.split("."):t,r=0;for(;r<a.length-1;){if(l(e))return{};let t=n(a[r]);!e[t]&&s&&(e[t]=new s),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++r}return l(e)?{}:{obj:e,k:n(a[r])}},p=(e,t,s)=>{let{obj:i,k:a}=h(e,t,Object);if(void 0!==i||1===t.length){i[a]=s;return}let r=t[t.length-1],o=t.slice(0,t.length-1),n=h(e,o,Object);for(;void 0===n.obj&&o.length;)r=`${o[o.length-1]}.${r}`,n=h(e,o=o.slice(0,o.length-1),Object),n?.obj&&void 0!==n.obj[`${n.k}.${r}`]&&(n.obj=void 0);n.obj[`${n.k}.${r}`]=s},u=(e,t)=>{let{obj:s,k:i}=h(e,t);if(s&&Object.prototype.hasOwnProperty.call(s,i))return s[i]},g=(e,t,s)=>{for(let a in t)"__proto__"!==a&&"constructor"!==a&&(a in e?i(e[a])||e[a]instanceof String||i(t[a])||t[a]instanceof String?s&&(e[a]=t[a]):g(e[a],t[a],s):e[a]=t[a]);return e};var d={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};let c=e=>i(e)?e.replace(/[&<>"'\/]/g,e=>d[e]):e,f=[" ",",","?","!",";"],m=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(void 0!==t)return t;let s=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,s),this.regExpQueue.push(e),s}}(20),y=(e,t,s=".")=>{if(!e)return;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}let i=t.split(s),a=e;for(let e=0;e<i.length;){let t;if(!a||"object"!=typeof a)return;let r="";for(let o=e;o<i.length;++o)if(o!==e&&(r+=s),r+=i[o],void 0!==(t=a[r])){if(["string","number","boolean"].indexOf(typeof t)>-1&&o<i.length-1)continue;e+=o-e+1;break}a=t}return a},x=e=>e?.replace("_","-"),v={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class b{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||v,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,s,a){return a&&!this.debug?null:(i(e[0])&&(e[0]=`${s}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new b(this.logger,{...{prefix:`${this.prefix}:${e}:`},...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new b(this.logger,e)}}var k=new b;class S{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let s=this.observers[e].get(t)||0;this.observers[e].set(t,s+1)}),this}off(e,t){if(this.observers[e]){if(!t)return void delete this.observers[e];this.observers[e].delete(t)}}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,s])=>{for(let i=0;i<s;i++)e(...t)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([s,i])=>{for(let a=0;a<i;a++)s.apply(s,[e,...t])})}}class L extends S{constructor(e,t={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,s,a={}){let r,o=void 0!==a.keySeparator?a.keySeparator:this.options.keySeparator,n=void 0!==a.ignoreJSONStructure?a.ignoreJSONStructure:this.options.ignoreJSONStructure;e.indexOf(".")>-1?r=e.split("."):(r=[e,t],s&&(Array.isArray(s)?r.push(...s):i(s)&&o?r.push(...s.split(o)):r.push(s)));let l=u(this.data,r);return(!l&&!t&&!s&&e.indexOf(".")>-1&&(e=r[0],t=r[1],s=r.slice(2).join(".")),!l&&n&&i(s))?y(this.data?.[e]?.[t],s,o):l}addResource(e,t,s,i,a={silent:!1}){let r=void 0!==a.keySeparator?a.keySeparator:this.options.keySeparator,o=[e,t];s&&(o=o.concat(r?s.split(r):s)),e.indexOf(".")>-1&&(o=e.split("."),i=t,t=o[1]),this.addNamespaces(t),p(this.data,o,i),a.silent||this.emit("added",e,t,s,i)}addResources(e,t,s,a={silent:!1}){for(let a in s)(i(s[a])||Array.isArray(s[a]))&&this.addResource(e,t,a,s[a],{silent:!0});a.silent||this.emit("added",e,t,s)}addResourceBundle(e,t,s,i,a,r={silent:!1,skipCopy:!1}){let o=[e,t];e.indexOf(".")>-1&&(o=e.split("."),i=s,s=t,t=o[1]),this.addNamespaces(t);let n=u(this.data,o)||{};r.skipCopy||(s=JSON.parse(JSON.stringify(s))),i?g(n,s,a):n={...n,...s},p(this.data,o,n),r.silent||this.emit("added",e,t,s)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var O={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,s,i,a){return e.forEach(e=>{t=this.processors[e]?.process(t,s,i,a)??t}),t}};let $=Symbol("i18next/PATH_KEY");function w(e,t){let s,i,a,{[$]:r}=e((i=[],(a=Object.create(null)).get=(e,t)=>(s?.revoke?.(),t===$)?i:(i.push(t),(s=Proxy.revocable(e,a)).proxy),Proxy.revocable(Object.create(null),a).proxy));return r.join(t?.keySeparator??".")}let R={},C=e=>!i(e)&&"boolean"!=typeof e&&"number"!=typeof e;class P extends S{constructor(e,t={}){super(),((e,t,s)=>{e.forEach(e=>{t[e]&&(s[e]=t[e])})})(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=k.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let s={...t};if(null==e)return!1;let i=this.resolve(e,s);return i?.res!==void 0}extractFromKey(e,t){let s=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===s&&(s=":");let a=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,r=t.ns||this.options.defaultNS||[],o=s&&e.indexOf(s)>-1,n=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!((e,t,s)=>{t=t||"",s=s||"";let i=f.filter(e=>0>t.indexOf(e)&&0>s.indexOf(e));if(0===i.length)return!0;let a=m.getRegExp(`(${i.map(e=>"?"===e?"\\?":e).join("|")})`),r=!a.test(e);if(!r){let t=e.indexOf(s);t>0&&!a.test(e.substring(0,t))&&(r=!0)}return r})(e,s,a);if(o&&!n){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:i(r)?[r]:r};let o=e.split(s);(s!==a||s===a&&this.options.ns.indexOf(o[0])>-1)&&(r=o.shift()),e=o.join(a)}return{key:e,namespaces:i(r)?[r]:r}}translate(e,t,s){let a="object"==typeof t?{...t}:t;if("object"!=typeof a&&this.options.overloadTranslationOptionHandler&&(a=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof a&&(a={...a}),a||(a={}),null==e)return"";"function"==typeof e&&(e=w(e,{...this.options,...a})),Array.isArray(e)||(e=[String(e)]);let r=void 0!==a.returnDetails?a.returnDetails:this.options.returnDetails,o=void 0!==a.keySeparator?a.keySeparator:this.options.keySeparator,{key:n,namespaces:l}=this.extractFromKey(e[e.length-1],a),h=l[l.length-1],p=void 0!==a.nsSeparator?a.nsSeparator:this.options.nsSeparator;void 0===p&&(p=":");let u=a.lng||this.language,g=a.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u?.toLowerCase()==="cimode")return g?r?{res:`${h}${p}${n}`,usedKey:n,exactUsedKey:n,usedLng:u,usedNS:h,usedParams:this.getUsedParamsDetails(a)}:`${h}${p}${n}`:r?{res:n,usedKey:n,exactUsedKey:n,usedLng:u,usedNS:h,usedParams:this.getUsedParamsDetails(a)}:n;let d=this.resolve(e,a),c=d?.res,f=d?.usedKey||n,m=d?.exactUsedKey||n,y=void 0!==a.joinArrays?a.joinArrays:this.options.joinArrays,x=!this.i18nFormat||this.i18nFormat.handleAsObject,v=void 0!==a.count&&!i(a.count),b=P.hasDefaultValue(a),k=v?this.pluralResolver.getSuffix(u,a.count,a):"",S=a.ordinal&&v?this.pluralResolver.getSuffix(u,a.count,{ordinal:!1}):"",L=v&&!a.ordinal&&0===a.count,O=L&&a[`defaultValue${this.options.pluralSeparator}zero`]||a[`defaultValue${k}`]||a[`defaultValue${S}`]||a.defaultValue,$=c;x&&!c&&b&&($=O);let R=C($),N=Object.prototype.toString.apply($);if(x&&$&&R&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(N)&&!(i(y)&&Array.isArray($))){if(!a.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(f,$,{...a,ns:l}):`key '${n} (${this.language})' returned an object instead of string.`;return r?(d.res=e,d.usedParams=this.getUsedParamsDetails(a),d):e}if(o){let e=Array.isArray($),t=e?[]:{},s=e?m:f;for(let e in $)if(Object.prototype.hasOwnProperty.call($,e)){let i=`${s}${o}${e}`;b&&!c?t[e]=this.translate(i,{...a,defaultValue:C(O)?O[e]:void 0,...{joinArrays:!1,ns:l}}):t[e]=this.translate(i,{...a,joinArrays:!1,ns:l}),t[e]===i&&(t[e]=$[e])}c=t}}else if(x&&i(y)&&Array.isArray(c))(c=c.join(y))&&(c=this.extendTranslation(c,e,a,s));else{let t=!1,i=!1;!this.isValidLookup(c)&&b&&(t=!0,c=O),this.isValidLookup(c)||(i=!0,c=n);let r=(a.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&i?void 0:c,l=b&&O!==c&&this.options.updateMissing;if(i||t||l){if(this.logger.log(l?"updateKey":"missingKey",u,h,n,l?O:c),o){let e=this.resolve(n,{...a,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,a.lng||this.language);if("fallback"===this.options.saveMissingTo&&t&&t[0])for(let s=0;s<t.length;s++)e.push(t[s]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(a.lng||this.language):e.push(a.lng||this.language);let s=(e,t,s)=>{let i=b&&s!==c?s:r;this.options.missingKeyHandler?this.options.missingKeyHandler(e,h,t,i,l,a):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,h,t,i,l,a),this.emit("missingKey",e,h,t,c)};this.options.saveMissing&&(this.options.saveMissingPlurals&&v?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,a);L&&a[`defaultValue${this.options.pluralSeparator}zero`]&&0>t.indexOf(`${this.options.pluralSeparator}zero`)&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{s([e],n+t,a[`defaultValue${t}`]||O)})}):s(e,n,O))}c=this.extendTranslation(c,e,a,d,s),i&&c===n&&this.options.appendNamespaceToMissingKey&&(c=`${h}${p}${n}`),(i||t)&&this.options.parseMissingKeyHandler&&(c=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${h}${p}${n}`:n,t?c:void 0,a))}return r?(d.res=c,d.usedParams=this.getUsedParamsDetails(a),d):c}extendTranslation(e,t,s,a,r){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...s},s.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!s.skipInterpolation){let o;s.interpolation&&this.interpolator.init({...s,...{interpolation:{...this.options.interpolation,...s.interpolation}}});let n=i(e)&&(s?.interpolation?.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(n){let t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let l=s.replace&&!i(s.replace)?s.replace:s;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,s.lng||this.language||a.usedLng,s),n){let t=e.match(this.interpolator.nestingRegexp);o<(t&&t.length)&&(s.nest=!1)}!s.lng&&a&&a.res&&(s.lng=this.language||a.usedLng),!1!==s.nest&&(e=this.interpolator.nest(e,(...e)=>r?.[0]!==e[0]||s.context?this.translate(...e,t):(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null),s)),s.interpolation&&this.interpolator.reset()}let o=s.postProcess||this.options.postProcess,n=i(o)?[o]:o;return null!=e&&n?.length&&!1!==s.applyPostProcessor&&(e=O.handle(n,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...a,usedParams:this.getUsedParamsDetails(s)},...s}:s,this)),e}resolve(e,t={}){let s,a,r,o,n;return i(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(s))return;let l=this.extractFromKey(e,t),h=l.key;a=h;let p=l.namespaces;this.options.fallbackNS&&(p=p.concat(this.options.fallbackNS));let u=void 0!==t.count&&!i(t.count),g=u&&!t.ordinal&&0===t.count,d=void 0!==t.context&&(i(t.context)||"number"==typeof t.context)&&""!==t.context,c=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);p.forEach(e=>{this.isValidLookup(s)||(n=e,!R[`${c[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(n)&&(R[`${c[0]}-${e}`]=!0,this.logger.warn(`key "${a}" for languages "${c.join(", ")}" won't get resolved as namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),c.forEach(i=>{let a;if(this.isValidLookup(s))return;o=i;let n=[h];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(n,h,i,e,t);else{let e;u&&(e=this.pluralResolver.getSuffix(i,t.count,t));let s=`${this.options.pluralSeparator}zero`,a=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(t.ordinal&&0===e.indexOf(a)&&n.push(h+e.replace(a,this.options.pluralSeparator)),n.push(h+e),g&&n.push(h+s)),d){let i=`${h}${this.options.contextSeparator||"_"}${t.context}`;n.push(i),u&&(t.ordinal&&0===e.indexOf(a)&&n.push(i+e.replace(a,this.options.pluralSeparator)),n.push(i+e),g&&n.push(i+s))}}for(;a=n.pop();)this.isValidLookup(s)||(r=a,s=this.getResource(i,e,a,t))}))})}),{res:s,usedKey:a,exactUsedKey:r,usedLng:o,usedNS:n}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,s,i={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,s,i):this.resourceStore.getResource(e,t,s,i)}getUsedParamsDetails(e={}){let t=e.replace&&!i(e.replace),s=t?e.replace:e;if(t&&void 0!==e.count&&(s.count=e.count),this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),!t)for(let e of(s={...s},["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]))delete s[e];return s}static hasDefaultValue(e){let t="defaultValue";for(let s in e)if(Object.prototype.hasOwnProperty.call(e,s)&&t===s.substring(0,t.length)&&void 0!==e[s])return!0;return!1}}class N{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=k.create("languageUtils")}getScriptPartFromCode(e){if(!(e=x(e))||0>e.indexOf("-"))return null;let t=e.split("-");return 2===t.length||(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(!(e=x(e))||0>e.indexOf("-"))return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(i(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch(e){}return(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)?t:this.options.lowerCaseLng?e.toLowerCase():e}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){let t;return e?(e.forEach(e=>{if(t)return;let s=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(s))&&(t=s)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let s=this.getScriptPartFromCode(e);if(this.isSupportedCode(s))return t=s;let i=this.getLanguagePartFromCode(e);if(this.isSupportedCode(i))return t=i;t=this.options.supportedLngs.find(e=>{if(e===i||!(0>e.indexOf("-")&&0>i.indexOf("-"))&&(e.indexOf("-")>0&&0>i.indexOf("-")&&e.substring(0,e.indexOf("-"))===i||0===e.indexOf(i)&&i.length>1))return e})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),i(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let s=e[t];return s||(s=e[this.getScriptPartFromCode(t)]),s||(s=e[this.formatLanguageCode(t)]),s||(s=e[this.getLanguagePartFromCode(t)]),s||(s=e.default),s||[]}toResolveHierarchy(e,t){let s=this.getFallbackCodes((!1===t?[]:t)||this.options.fallbackLng||[],e),a=[],r=e=>{e&&(this.isSupportedCode(e)?a.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return i(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&r(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&r(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&r(this.getLanguagePartFromCode(e))):i(e)&&r(this.formatLanguageCode(e)),s.forEach(e=>{0>a.indexOf(e)&&r(this.formatLanguageCode(e))}),a}}let j={zero:0,one:1,two:2,few:3,many:4,other:5},E={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class F{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=k.create("pluralResolver"),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let s,i=x("dev"===e?"en":e),a=t.ordinal?"ordinal":"cardinal",r=JSON.stringify({cleanedCode:i,type:a});if(r in this.pluralRulesCache)return this.pluralRulesCache[r];try{s=new Intl.PluralRules(i,{type:a})}catch(a){if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),E;if(!e.match(/-|_/))return E;let i=this.languageUtils.getLanguagePartFromCode(e);s=this.getRule(i,t)}return this.pluralRulesCache[r]=s,s}needsPlural(e,t={}){let s=this.getRule(e,t);return s||(s=this.getRule("dev",t)),s?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,s={}){return this.getSuffixes(e,s).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let s=this.getRule(e,t);return(s||(s=this.getRule("dev",t)),s)?s.resolvedOptions().pluralCategories.sort((e,t)=>j[e]-j[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):[]}getSuffix(e,t,s={}){let i=this.getRule(e,s);return i?`${this.options.prepend}${s.ordinal?`ordinal${this.options.prepend}`:""}${i.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,s))}}let I=(e,t,s,a=".",r=!0)=>{let o,n=void 0!==(o=u(e,s))?o:u(t,s);return!n&&r&&i(s)&&void 0===(n=y(e,s,a))&&(n=y(t,s,a)),n};class T{constructor(e={}){this.logger=k.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});let{escape:t,escapeValue:s,useRawValueToEscape:i,prefix:a,prefixEscaped:r,suffix:o,suffixEscaped:n,formatSeparator:l,unescapeSuffix:h,unescapePrefix:p,nestingPrefix:u,nestingPrefixEscaped:g,nestingSuffix:d,nestingSuffixEscaped:f,nestingOptionsSeparator:m,maxReplaces:y,alwaysFormat:x}=e.interpolation;this.escape=void 0!==t?t:c,this.escapeValue=void 0===s||s,this.useRawValueToEscape=void 0!==i&&i,this.prefix=a?a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):r||"{{",this.suffix=o?o.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):n||"}}",this.formatSeparator=l||",",this.unescapePrefix=h?"":p||"-",this.unescapeSuffix=this.unescapePrefix?"":h||"",this.nestingPrefix=u?u.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):g||"$t(".replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),this.nestingSuffix=d?d.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):f||")".replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),this.nestingOptionsSeparator=m||",",this.maxReplaces=y||1e3,this.alwaysFormat=void 0!==x&&x,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,s,a){let o,n,l,h=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},p=e=>{if(0>e.indexOf(this.formatSeparator)){let i=I(t,h,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,s,{...a,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),r=i.shift().trim(),o=i.join(this.formatSeparator).trim();return this.format(I(t,h,r,this.options.keySeparator,this.options.ignoreJSONStructure),o,s,{...a,...t,interpolationkey:r})};this.resetRegExp();let u=a?.missingInterpolationHandler||this.options.missingInterpolationHandler,g=a?.interpolation?.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>e.replace(/\$/g,"$$$$")},{regex:this.regexp,safeValue:e=>this.escapeValue?this.escape(e).replace(/\$/g,"$$$$"):e.replace(/\$/g,"$$$$")}].forEach(t=>{for(l=0;o=t.regex.exec(e);){let s=o[1].trim();if(void 0===(n=p(s)))if("function"==typeof u){let t=u(e,o,a);n=i(t)?t:""}else if(a&&Object.prototype.hasOwnProperty.call(a,s))n="";else if(g){n=o[0];continue}else this.logger.warn(`missed to pass in variable ${s} for interpolating ${e}`),n="";else i(n)||this.useRawValueToEscape||(n=r(n));let h=t.safeValue(n);if(e=e.replace(o[0],h),g?(t.regex.lastIndex+=n.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++l>=this.maxReplaces)break}}),e}nest(e,t,s={}){let a,o,n,l=(e,t)=>{let s=this.nestingOptionsSeparator;if(0>e.indexOf(s))return e;let i=e.split(RegExp(`${s}[ ]*{`)),a=`{${i[1]}`;e=i[0];let r=(a=this.interpolate(a,n)).match(/'/g),o=a.match(/"/g);((r?.length??0)%2!=0||o)&&o.length%2==0||(a=a.replace(/'/g,'"'));try{n=JSON.parse(a),t&&(n={...t,...n})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${s}${a}`}return n.defaultValue&&n.defaultValue.indexOf(this.prefix)>-1&&delete n.defaultValue,e};for(;a=this.nestingRegexp.exec(e);){let h=[];(n=(n={...s}).replace&&!i(n.replace)?n.replace:n).applyPostProcessor=!1,delete n.defaultValue;let p=/{.*}/.test(a[1])?a[1].lastIndexOf("}")+1:a[1].indexOf(this.formatSeparator);if(-1!==p&&(h=a[1].slice(p).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),a[1]=a[1].slice(0,p)),(o=t(l.call(this,a[1].trim(),n),n))&&a[0]===e&&!i(o))return o;i(o)||(o=r(o)),o||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${e}`),o=""),h.length&&(o=h.reduce((e,t)=>this.format(e,t,s.lng,{...s,interpolationkey:a[1].trim()}),o.trim())),e=e.replace(a[0],o),this.regexp.lastIndex=0}return e}}let V=e=>{let t={};return(s,i,a)=>{let r=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(r={...r,[a.interpolationkey]:void 0});let o=i+JSON.stringify(r),n=t[o];return n||(n=e(x(i),a),t[o]=n),n(s)}},D=e=>(t,s,i)=>e(x(s),i)(t);class A{constructor(e={}){this.logger=k.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";let s=t.cacheInBuiltFormats?V:D;this.formats={number:s((e,t)=>{let s=new Intl.NumberFormat(e,{...t});return e=>s.format(e)}),currency:s((e,t)=>{let s=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>s.format(e)}),datetime:s((e,t)=>{let s=new Intl.DateTimeFormat(e,{...t});return e=>s.format(e)}),relativetime:s((e,t)=>{let s=new Intl.RelativeTimeFormat(e,{...t});return e=>s.format(e,t.range||"day")}),list:s((e,t)=>{let s=new Intl.ListFormat(e,{...t});return e=>s.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=V(t)}format(e,t,s,i={}){let a=t.split(this.formatSeparator);if(a.length>1&&a[0].indexOf("(")>1&&0>a[0].indexOf(")")&&a.find(e=>e.indexOf(")")>-1)){let e=a.findIndex(e=>e.indexOf(")")>-1);a[0]=[a[0],...a.splice(1,e)].join(this.formatSeparator)}return a.reduce((e,t)=>{let{formatName:a,formatOptions:r}=(e=>{let t=e.toLowerCase().trim(),s={};if(e.indexOf("(")>-1){let i=e.split("(");t=i[0].toLowerCase().trim();let a=i[1].substring(0,i[1].length-1);"currency"===t&&0>a.indexOf(":")?s.currency||(s.currency=a.trim()):"relativetime"===t&&0>a.indexOf(":")?s.range||(s.range=a.trim()):a.split(";").forEach(e=>{if(e){let[t,...i]=e.split(":"),a=i.join(":").trim().replace(/^'+|'+$/g,""),r=t.trim();s[r]||(s[r]=a),"false"===a&&(s[r]=!1),"true"===a&&(s[r]=!0),isNaN(a)||(s[r]=parseInt(a,10))}})}return{formatName:t,formatOptions:s}})(t);if(this.formats[a]){let t=e;try{let o=i?.formatParams?.[i.interpolationkey]||{},n=o.locale||o.lng||i.locale||i.lng||s;t=this.formats[a](e,n,{...r,...i,...o})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${a}`),e},e)}}class K extends S{constructor(e,t,s,i={}){super(),this.backend=e,this.store=t,this.services=s,this.languageUtils=s.languageUtils,this.options=i,this.logger=k.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(s,i.backend,i)}queueLoad(e,t,s,i){let a={},r={},o={},n={};return e.forEach(e=>{let i=!0;t.forEach(t=>{let o=`${e}|${t}`;!s.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(1===this.state[o]?void 0===r[o]&&(r[o]=!0):(this.state[o]=1,i=!1,void 0===r[o]&&(r[o]=!0),void 0===a[o]&&(a[o]=!0),void 0===n[t]&&(n[t]=!0)))}),i||(o[e]=!0)}),(Object.keys(a).length||Object.keys(r).length)&&this.queue.push({pending:r,pendingCount:Object.keys(r).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(a),pending:Object.keys(r),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(n)}}loaded(e,t,s){let i=e.split("|"),a=i[0],r=i[1];t&&this.emit("failedLoading",a,r,t),!t&&s&&this.store.addResourceBundle(a,r,s,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&s&&(this.state[e]=0);let o={};this.queue.forEach(s=>{((e,t,s,i)=>{let{obj:a,k:r}=h(e,t,Object);a[r]=a[r]||[],a[r].push(s)})(s.loaded,[a],r),void 0!==s.pending[e]&&(delete s.pending[e],s.pendingCount--),t&&s.errors.push(t),0!==s.pendingCount||s.done||(Object.keys(s.loaded).forEach(e=>{o[e]||(o[e]={});let t=s.loaded[e];t.length&&t.forEach(t=>{void 0===o[e][t]&&(o[e][t]=!0)})}),s.done=!0,s.errors.length?s.callback(s.errors):s.callback())}),this.emit("loaded",o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,s,i=0,a=this.retryTimeout,r){if(!e.length)return r(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:s,tried:i,wait:a,callback:r});this.readingCalls++;let o=(o,n)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}o&&n&&i<this.maxRetries?setTimeout(()=>{this.read.call(this,e,t,s,i+1,2*a,r)},a):r(o,n)},n=this.backend[s].bind(this.backend);if(2===n.length){try{let s=n(e,t);s&&"function"==typeof s.then?s.then(e=>o(null,e)).catch(o):o(null,s)}catch(e){o(e)}return}return n(e,t,o)}prepareLoading(e,t,s={},a){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();i(e)&&(e=this.languageUtils.toResolveHierarchy(e)),i(t)&&(t=[t]);let r=this.queueLoad(e,t,s,a);if(!r.toLoad.length)return r.pending.length||a(),null;r.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,s){this.prepareLoading(e,t,{},s)}reload(e,t,s){this.prepareLoading(e,t,{reload:!0},s)}loadOne(e,t=""){let s=e.split("|"),i=s[0],a=s[1];this.read(i,a,"read",void 0,void 0,(s,r)=>{s&&this.logger.warn(`${t}loading namespace ${a} for language ${i} failed`,s),!s&&r&&this.logger.log(`${t}loaded namespace ${a} for language ${i}`,r),this.loaded(e,s,r)})}saveMissing(e,t,s,i,a,r={},o=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t))return void this.logger.warn(`did not save key "${s}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");if(null!=s&&""!==s){if(this.backend?.create){let n={...r,isUpdate:a},l=this.backend.create.bind(this.backend);if(l.length<6)try{let a;(a=5===l.length?l(e,t,s,i,n):l(e,t,s,i))&&"function"==typeof a.then?a.then(e=>o(null,e)).catch(o):o(null,a)}catch(e){o(e)}else l(e,t,s,i,o,n)}e&&e[0]&&this.store.addResource(e[0],t,s,i)}}}let U=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),i(e[1])&&(t.defaultValue=e[1]),i(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){let s=e[3]||e[2];Object.keys(s).forEach(e=>{t[e]=s[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),M=e=>(i(e.ns)&&(e.ns=[e.ns]),i(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),i(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"==typeof e.initImmediate&&(e.initAsync=e.initImmediate),e),H=()=>{};class B extends S{constructor(e={},t){if(super(),this.options=M(e),this.services={},this.logger=k,this.modules={external:[]},(e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))})})(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,"function"==typeof e&&(t=e,e={}),null==e.defaultNS&&e.ns&&(i(e.ns)?e.defaultNS=e.ns:0>e.ns.indexOf("translation")&&(e.defaultNS=e.ns[0]));let s=U();this.options={...s,...this.options,...M(e)},this.options.interpolation={...s.interpolation,...this.options.interpolation},void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator);let r=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let e;this.modules.logger?k.init(r(this.modules.logger),this.options):k.init(null,this.options),e=this.modules.formatter?this.modules.formatter:A;let t=new N(this.options);this.store=new L(this.options.resources,this.options);let i=this.services;i.logger=k,i.resourceStore=this.store,i.languageUtils=t,i.pluralResolver=new F(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==s.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),e&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(i.formatter=r(e),i.formatter.init&&i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new T(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new K(r(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(i.languageDetector=r(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=r(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new P(this.services,this.options),this.translator.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||(t=H),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let o=a(),n=()=>{let e=(e,s)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(s),t(e,s)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?n():setTimeout(n,0),o}loadResources(e,t=H){let s=t,a=i(e)?e:this.language;if("function"==typeof e&&(s=e),!this.options.resources||this.options.partialBundledLanguages){if(a?.toLowerCase()==="cimode"&&(!this.options.preload||0===this.options.preload.length))return s();let e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&0>e.indexOf(t)&&e.push(t)})};a?t(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),s(e)})}else s(null)}reloadResources(e,t,s){let i=a();return"function"==typeof e&&(s=e,e=void 0),"function"==typeof t&&(s=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),s||(s=H),this.services.backendConnector.reload(e,t,e=>{i.resolve(),s(e)}),i}use(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&O.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&0>this.languages.indexOf(e)&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let s=a();this.emit("languageChanging",e);let r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},o=(i,a)=>{a?this.isLanguageChangingTo===e&&(r(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit("languageChanged",a),this.logger.log("languageChanged",a)):this.isLanguageChangingTo=void 0,s.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},n=t=>{e||t||!this.services.languageDetector||(t=[]);let s=i(t)?t:t&&t[0],a=this.store.hasLanguageSomeTranslations(s)?s:this.services.languageUtils.getBestMatchFromCodes(i(t)?[t]:t);a&&(this.language||r(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,e=>{o(e,a)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(n):this.services.languageDetector.detect(n):n(e):n(this.services.languageDetector.detect()),s}getFixedT(e,t,s){let a=(e,t,...i)=>{let r,o;(r="object"!=typeof t?this.options.overloadTranslationOptionHandler([e,t].concat(i)):{...t}).lng=r.lng||a.lng,r.lngs=r.lngs||a.lngs,r.ns=r.ns||a.ns,""!==r.keyPrefix&&(r.keyPrefix=r.keyPrefix||s||a.keyPrefix);let n=this.options.keySeparator||".";return r.keyPrefix&&Array.isArray(e)?o=e.map(e=>("function"==typeof e&&(e=w(e,{...this.options,...t})),`${r.keyPrefix}${n}${e}`)):("function"==typeof e&&(e=w(e,{...this.options,...t})),o=r.keyPrefix?`${r.keyPrefix}${n}${e}`:e),this.t(o,r)};return i(e)?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=s,a}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let s=t.lng||this.resolvedLanguage||this.languages[0],i=!!this.options&&this.options.fallbackLng,a=this.languages[this.languages.length-1];if("cimode"===s.toLowerCase())return!0;let r=(e,t)=>{let s=this.services.backendConnector.state[`${e}|${t}`];return -1===s||0===s||2===s};if(t.precheck){let e=t.precheck(this,r);if(void 0!==e)return e}return!!(this.hasResourceBundle(s,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||r(s,e)&&(!i||r(a,e)))}loadNamespaces(e,t){let s=a();return this.options.ns?(i(e)&&(e=[e]),e.forEach(e=>{0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}),this.loadResources(e=>{s.resolve(),t&&t(e)}),s):(t&&t(),Promise.resolve())}loadLanguages(e,t){let s=a();i(e)&&(e=[e]);let r=this.options.preload||[],o=e.filter(e=>0>r.indexOf(e)&&this.services.languageUtils.isSupportedCode(e));return o.length?(this.options.preload=r.concat(o),this.loadResources(e=>{s.resolve(),t&&t(e)}),s):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch(e){}let t=this.services?.languageUtils||new N(U());return e.toLowerCase().indexOf("-latn")>1?"ltr":["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){return new B(e,t)}cloneInstance(e={},t=H){let s=e.forkResourceStore;s&&delete e.forkResourceStore;let i={...this.options,...e,isClone:!0},a=new B(i);return(void 0!==e.debug||void 0!==e.prefix)&&(a.logger=a.logger.clone(e)),["store","services","language"].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},s&&(a.store=new L(Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((s,i)=>(s[i]={...e[t][i]},s),e[t]),e),{}),i),a.services.resourceStore=a.store),a.translator=new P(a.services,i),a.translator.on("*",(e,...t)=>{a.emit(e,...t)}),a.init(i,t),a.translator.options=i,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}let z=B.createInstance();z.createInstance=B.createInstance;let _=z.createInstance,J=z.dir,q=z.init,W=z.loadResources,Y=z.reloadResources,Q=z.use,G=z.changeLanguage,X=z.getFixedT,Z=z.t,ee=z.exists,et=z.setDefaultNamespace,es=z.hasLoadedNamespace,ei=z.loadNamespaces,ea=z.loadLanguages}}]);
|