warframe-worldstate-data 3.9.0 → 3.9.1

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.
@@ -13539,6 +13539,10 @@
13539
13539
  "desc": "Hijack a Crewship from the enemy",
13540
13540
  "value": "Confiscated"
13541
13541
  },
13542
+ "/lotus/types/challenges/seasons/weekly/seasonweeklyhorsingaround": {
13543
+ "desc": "Fly your Kaithe for 1000 meters",
13544
+ "value": "Horsing Around"
13545
+ },
13542
13546
  "/lotus/types/challenges/seasons/weekly/seasonweeklyisolationbounties": {
13543
13547
  "desc": "Complete an Isolation Vault Bounty Mission on Deimos",
13544
13548
  "value": "Vault Raider"
@@ -13539,6 +13539,10 @@
13539
13539
  "desc": "Entführe ein Crewship vom Feind",
13540
13540
  "value": "Konfisziert"
13541
13541
  },
13542
+ "/lotus/types/challenges/seasons/weekly/seasonweeklyhorsingaround": {
13543
+ "desc": "Fly your Kaithe for 1000 meters",
13544
+ "value": "Horsing Around"
13545
+ },
13542
13546
  "/lotus/types/challenges/seasons/weekly/seasonweeklyisolationbounties": {
13543
13547
  "desc": "Complete an Isolation Vault Bounty Mission on Deimos",
13544
13548
  "value": "Vault Raider"
@@ -13539,6 +13539,10 @@
13539
13539
  "desc": "Hijack a Crewship from the enemy",
13540
13540
  "value": "Confiscated"
13541
13541
  },
13542
+ "/lotus/types/challenges/seasons/weekly/seasonweeklyhorsingaround": {
13543
+ "desc": "Fly your Kaithe for 1000 meters",
13544
+ "value": "Horsing Around"
13545
+ },
13542
13546
  "/lotus/types/challenges/seasons/weekly/seasonweeklyisolationbounties": {
13543
13547
  "desc": "Complete an Isolation Vault Bounty Mission on Deimos",
13544
13548
  "value": "Vault Raider"
@@ -13539,6 +13539,10 @@
13539
13539
  "desc": "Hijack a Crewship from the enemy",
13540
13540
  "value": "Confiscated"
13541
13541
  },
13542
+ "/lotus/types/challenges/seasons/weekly/seasonweeklyhorsingaround": {
13543
+ "desc": "Fly your Kaithe for 1000 meters",
13544
+ "value": "Horsing Around"
13545
+ },
13542
13546
  "/lotus/types/challenges/seasons/weekly/seasonweeklyisolationbounties": {
13543
13547
  "desc": "Complete an Isolation Vault Bounty Mission on Deimos",
13544
13548
  "value": "Vault Raider"
@@ -13539,6 +13539,10 @@
13539
13539
  "desc": "Hijack a Crewship from the enemy",
13540
13540
  "value": "Confiscated"
13541
13541
  },
13542
+ "/lotus/types/challenges/seasons/weekly/seasonweeklyhorsingaround": {
13543
+ "desc": "Fly your Kaithe for 1000 meters",
13544
+ "value": "Horsing Around"
13545
+ },
13542
13546
  "/lotus/types/challenges/seasons/weekly/seasonweeklyisolationbounties": {
13543
13547
  "desc": "Complete an Isolation Vault Bounty Mission on Deimos",
13544
13548
  "value": "Vault Raider"
@@ -13539,6 +13539,10 @@
13539
13539
  "desc": "Hijack a Crewship from the enemy",
13540
13540
  "value": "Confiscated"
13541
13541
  },
13542
+ "/lotus/types/challenges/seasons/weekly/seasonweeklyhorsingaround": {
13543
+ "desc": "Fly your Kaithe for 1000 meters",
13544
+ "value": "Horsing Around"
13545
+ },
13542
13546
  "/lotus/types/challenges/seasons/weekly/seasonweeklyisolationbounties": {
13543
13547
  "desc": "Complete an Isolation Vault Bounty Mission on Deimos",
13544
13548
  "value": "Vault Raider"
@@ -13539,6 +13539,10 @@
13539
13539
  "desc": "Hijack a Crewship from the enemy",
13540
13540
  "value": "Confiscated"
13541
13541
  },
13542
+ "/lotus/types/challenges/seasons/weekly/seasonweeklyhorsingaround": {
13543
+ "desc": "Fly your Kaithe for 1000 meters",
13544
+ "value": "Horsing Around"
13545
+ },
13542
13546
  "/lotus/types/challenges/seasons/weekly/seasonweeklyisolationbounties": {
13543
13547
  "desc": "Complete an Isolation Vault Bounty Mission on Deimos",
13544
13548
  "value": "Vault Raider"
@@ -13539,6 +13539,10 @@
13539
13539
  "desc": "Hijack a Crewship from the enemy",
13540
13540
  "value": "Confiscated"
13541
13541
  },
13542
+ "/lotus/types/challenges/seasons/weekly/seasonweeklyhorsingaround": {
13543
+ "desc": "Fly your Kaithe for 1000 meters",
13544
+ "value": "Horsing Around"
13545
+ },
13542
13546
  "/lotus/types/challenges/seasons/weekly/seasonweeklyisolationbounties": {
13543
13547
  "desc": "Complete an Isolation Vault Bounty Mission on Deimos",
13544
13548
  "value": "Vault Raider"
@@ -13539,6 +13539,10 @@
13539
13539
  "desc": "Угоните вражеский транспортёр",
13540
13540
  "value": "Конфискованный"
13541
13541
  },
13542
+ "/lotus/types/challenges/seasons/weekly/seasonweeklyhorsingaround": {
13543
+ "desc": "Fly your Kaithe for 1000 meters",
13544
+ "value": "Horsing Around"
13545
+ },
13542
13546
  "/lotus/types/challenges/seasons/weekly/seasonweeklyisolationbounties": {
13543
13547
  "desc": "Завершите Заказ Изолированного Хранилища на Деймосе",
13544
13548
  "value": "Расхититель Хранилищ"
@@ -13539,6 +13539,10 @@
13539
13539
  "desc": "Hijack a Crewship from the enemy",
13540
13540
  "value": "Confiscated"
13541
13541
  },
13542
+ "/lotus/types/challenges/seasons/weekly/seasonweeklyhorsingaround": {
13543
+ "desc": "Fly your Kaithe for 1000 meters",
13544
+ "value": "Horsing Around"
13545
+ },
13542
13546
  "/lotus/types/challenges/seasons/weekly/seasonweeklyisolationbounties": {
13543
13547
  "desc": "Complete an Isolation Vault Bounty Mission on Deimos",
13544
13548
  "value": "Vault Raider"
@@ -13539,6 +13539,10 @@
13539
13539
  "desc": "Hijack a Crewship from the enemy",
13540
13540
  "value": "Confiscated"
13541
13541
  },
13542
+ "/lotus/types/challenges/seasons/weekly/seasonweeklyhorsingaround": {
13543
+ "desc": "Fly your Kaithe for 1000 meters",
13544
+ "value": "Horsing Around"
13545
+ },
13542
13546
  "/lotus/types/challenges/seasons/weekly/seasonweeklyisolationbounties": {
13543
13547
  "desc": "Complete an Isolation Vault Bounty Mission on Deimos",
13544
13548
  "value": "Vault Raider"
@@ -13539,6 +13539,10 @@
13539
13539
  "desc": "Викрадіть ворожий зореліт.",
13540
13540
  "value": "Конфіскація"
13541
13541
  },
13542
+ "/lotus/types/challenges/seasons/weekly/seasonweeklyhorsingaround": {
13543
+ "desc": "Fly your Kaithe for 1000 meters",
13544
+ "value": "Horsing Around"
13545
+ },
13542
13546
  "/lotus/types/challenges/seasons/weekly/seasonweeklyisolationbounties": {
13543
13547
  "desc": "Завершіть завдання з відкриття камери ізоляції в Кембіонській течії на Деймосі.",
13544
13548
  "value": "Розкрадач ізокамер"
@@ -13539,6 +13539,10 @@
13539
13539
  "desc": "劫持一艘敌方战舰",
13540
13540
  "value": "没收"
13541
13541
  },
13542
+ "/lotus/types/challenges/seasons/weekly/seasonweeklyhorsingaround": {
13543
+ "desc": "Fly your Kaithe for 1000 meters",
13544
+ "value": "Horsing Around"
13545
+ },
13542
13546
  "/lotus/types/challenges/seasons/weekly/seasonweeklyisolationbounties": {
13543
13547
  "desc": "在魔胎之境完成一次隔离库的赏金任务。",
13544
13548
  "value": "宝库强袭者"
@@ -0,0 +1,76 @@
1
+ import { t as safeImport } from "./safeImport-BEIxuaxh.mjs";
2
+ //#region exports.ts
3
+ const locales = [
4
+ "de",
5
+ "es",
6
+ "fr",
7
+ "it",
8
+ "ko",
9
+ "pl",
10
+ "pt",
11
+ "ru",
12
+ "zh",
13
+ "cs",
14
+ "sr",
15
+ "uk"
16
+ ];
17
+ const makeBundle = async () => {
18
+ /**
19
+ * English United States translations bundle,
20
+ * default translations
21
+ * @type {WorldstateLangBundle}
22
+ */
23
+ const enUS = {
24
+ arcanes: await safeImport("./data/arcanes.json"),
25
+ archonShards: await safeImport("./data/archonShards.json"),
26
+ conclave: await safeImport("./data/conclaveData.json"),
27
+ events: await safeImport("./data/eventsData.json"),
28
+ factions: await safeImport("./data/factionsData.json"),
29
+ fissureModifiers: await safeImport("./data/fissureModifiers.json"),
30
+ languages: await safeImport("./data/languages.json"),
31
+ missionTypes: await safeImport("./data/missionTypes.json"),
32
+ operationTypes: await safeImport("./data/operationTypes.json"),
33
+ persistentEnemy: await safeImport("./data/persistentEnemyData.json"),
34
+ solNodes: await safeImport("./data/solNodes.json"),
35
+ sortie: await safeImport("./data/sortieData.json"),
36
+ syndicates: await safeImport("./data/syndicatesData.json"),
37
+ tutorials: await safeImport("./data/tutorials.json"),
38
+ upgradeTypes: await safeImport("./data/upgradeTypes.json"),
39
+ synthTargets: await safeImport("./data/synthTargets.json"),
40
+ steelPath: await safeImport("./data/steelPath.json")
41
+ };
42
+ const bundle = {
43
+ en: enUS,
44
+ ...enUS,
45
+ locales
46
+ };
47
+ for await (const locale of locales)
48
+ /**
49
+ * Translations bundle for $locale
50
+ * @type {WorldstateLangBundle}
51
+ */
52
+ bundle[locale] = {
53
+ arcanes: await safeImport(`./data/${locale}/arcanes.json`, enUS.arcanes),
54
+ archonShards: await safeImport(`./data/${locale}/archonShards.json`, enUS.archonShards),
55
+ conclave: await safeImport(`./data/${locale}/conclaveData.json`, enUS.conclave),
56
+ events: await safeImport(`./data/${locale}/eventsData.json`, enUS.events),
57
+ factions: await safeImport(`./data/${locale}/factionsData.json`, enUS.factions),
58
+ fissureModifiers: await safeImport(`./data/${locale}/fissureModifiers.json`, enUS.fissureModifiers),
59
+ languages: await safeImport(`./data/${locale}/languages.json`, enUS.languages),
60
+ missionTypes: await safeImport(`./data/${locale}/missionTypes.json`, enUS.missionTypes),
61
+ operationTypes: await safeImport(`./data/${locale}/operationTypes.json`, enUS.operationTypes),
62
+ persistentEnemy: await safeImport(`./data/${locale}/persistentEnemyData.json`, enUS.persistentEnemy),
63
+ solNodes: await safeImport(`./data/${locale}/solNodes.json`, enUS.solNodes),
64
+ sortie: await safeImport(`./data/${locale}/sortieData.json`, enUS.sortie),
65
+ syndicates: await safeImport(`./data/${locale}/syndicatesData.json`, enUS.syndicates),
66
+ tutorials: await safeImport(`./data/${locale}/tutorials.json`, enUS.tutorials),
67
+ upgradeTypes: await safeImport(`./data/${locale}/upgradeTypes.json`, enUS.upgradeTypes),
68
+ synthTargets: await safeImport(`./data/${locale}/synthTargets.json`, enUS.synthTargets),
69
+ steelPath: await safeImport(`./data/${locale}/steelPath.json`, enUS.steelPath)
70
+ };
71
+ locales.push("en");
72
+ return bundle;
73
+ };
74
+ var exports_default = await makeBundle();
75
+ //#endregion
76
+ export { exports_default as t };
@@ -0,0 +1,122 @@
1
+ import { a as SolNode, i as Events, l as SynthesisTarget, n as ArchonShard, o as SortieData, r as Conclave, s as SteelPath, t as Arcane } from "./types-Bt_sadfS.mjs";
2
+
3
+ //#region exports.d.ts
4
+ type Locale = 'de' | 'en' | 'es' | 'fr' | 'it' | 'ko' | 'pl' | 'pt' | 'ru' | 'zh' | 'cs' | 'sr' | 'uk';
5
+ /**
6
+ * Bundles all the data for a particular language
7
+ */
8
+ interface WorldstateLangBundle {
9
+ /**
10
+ * Deprecated: Array of arcane data
11
+ */
12
+ arcanes: Arcane[];
13
+ /**
14
+ * Data for Archon shard colors
15
+ */
16
+ archonShards: Record<string, ArchonShard>;
17
+ /**
18
+ * Data for translating PvP categories and types
19
+ */
20
+ conclave: Conclave;
21
+ /**
22
+ * Deprecated: Data for converting event tags to useable event data.
23
+ * Deprecated in favor of keeping values in languages.json
24
+ */
25
+ events: Events;
26
+ /**
27
+ * Faction universal name to plain-usage name
28
+ */
29
+ factions: Record<string, {
30
+ value: string;
31
+ }>;
32
+ /**
33
+ * Map of fissures to "Warframeified" tier names and numbers
34
+ */
35
+ fissureModifiers: Record<string, {
36
+ value: string;
37
+ num: number;
38
+ }>;
39
+ /**
40
+ * Map of "internal" Warframe strings to useable language strings
41
+ */
42
+ languages: Record<string, {
43
+ value: string;
44
+ desc: string;
45
+ }>;
46
+ /**
47
+ * Map of Mission Type identifiers to their corresponding values
48
+ */
49
+ missionTypes: Record<string, {
50
+ value: string;
51
+ }>;
52
+ /**
53
+ * Global modifiers for applying operations to things like
54
+ * credits, affinity, etc.
55
+ */
56
+ operationTypes: Record<string, {
57
+ value: string;
58
+ symbol: string;
59
+ }>;
60
+ /**
61
+ * Region mapping for indicies to planets
62
+ */
63
+ persistentEnemy: {
64
+ regions: string[];
65
+ };
66
+ /**
67
+ * Nodes in the Sol system, with enemy type and node information
68
+ */
69
+ solNodes: Record<string, SolNode>;
70
+ /**
71
+ * Sortie-specific mapping for modifier type, description, and boss
72
+ */
73
+ sortie: SortieData;
74
+ /**
75
+ * Steel Path mission type translations
76
+ */
77
+ steelPath: SteelPath;
78
+ /**
79
+ * Syndicate data
80
+ */
81
+ syndicates: Record<string, {
82
+ name: string;
83
+ }>;
84
+ /**
85
+ * Synthesis target data for optimal locations to find targets.
86
+ */
87
+ synthTargets: SynthesisTarget[];
88
+ /**
89
+ * Official tutorials.
90
+ * Not many have been released in a long time.
91
+ */
92
+ tutorials: {
93
+ regex: string;
94
+ name: string;
95
+ url: string;
96
+ }[];
97
+ /**
98
+ * Global upgrade types that are modified by #operationTypes
99
+ */
100
+ upgradeTypes: Record<string, {
101
+ value: string;
102
+ }>;
103
+ }
104
+ declare const _default: WorldstateLangBundle & {
105
+ de?: WorldstateLangBundle | undefined;
106
+ en?: WorldstateLangBundle | undefined;
107
+ es?: WorldstateLangBundle | undefined;
108
+ fr?: WorldstateLangBundle | undefined;
109
+ it?: WorldstateLangBundle | undefined;
110
+ ko?: WorldstateLangBundle | undefined;
111
+ pl?: WorldstateLangBundle | undefined;
112
+ pt?: WorldstateLangBundle | undefined;
113
+ ru?: WorldstateLangBundle | undefined;
114
+ zh?: WorldstateLangBundle | undefined;
115
+ cs?: WorldstateLangBundle | undefined;
116
+ sr?: WorldstateLangBundle | undefined;
117
+ uk?: WorldstateLangBundle | undefined;
118
+ } & {
119
+ locales: Locale[];
120
+ };
121
+ //#endregion
122
+ export { WorldstateLangBundle as n, _default as r, Locale as t };
@@ -1,122 +1,2 @@
1
- import { Arcane, ArchonShard, Conclave, Events, SolNode, SortieData, SteelPath, SynthesisTarget } from "./types.mjs";
2
-
3
- //#region exports.d.ts
4
- type Locale = 'de' | 'en' | 'es' | 'fr' | 'it' | 'ko' | 'pl' | 'pt' | 'ru' | 'zh' | 'cs' | 'sr' | 'uk';
5
- /**
6
- * Bundles all the data for a particular language
7
- */
8
- interface WorldstateLangBundle {
9
- /**
10
- * Deprecated: Array of arcane data
11
- */
12
- arcanes: Arcane[];
13
- /**
14
- * Data for Archon shard colors
15
- */
16
- archonShards: Record<string, ArchonShard>;
17
- /**
18
- * Data for translating PvP categories and types
19
- */
20
- conclave: Conclave;
21
- /**
22
- * Deprecated: Data for converting event tags to useable event data.
23
- * Deprecated in favor of keeping values in languages.json
24
- */
25
- events: Events;
26
- /**
27
- * Faction universal name to plain-usage name
28
- */
29
- factions: Record<string, {
30
- value: string;
31
- }>;
32
- /**
33
- * Map of fissures to "Warframeified" tier names and numbers
34
- */
35
- fissureModifiers: Record<string, {
36
- value: string;
37
- num: number;
38
- }>;
39
- /**
40
- * Map of "internal" Warframe strings to useable language strings
41
- */
42
- languages: Record<string, {
43
- value: string;
44
- desc: string;
45
- }>;
46
- /**
47
- * Map of Mission Type identifiers to their corresponding values
48
- */
49
- missionTypes: Record<string, {
50
- value: string;
51
- }>;
52
- /**
53
- * Global modifiers for applying operations to things like
54
- * credits, affinity, etc.
55
- */
56
- operationTypes: Record<string, {
57
- value: string;
58
- symbol: string;
59
- }>;
60
- /**
61
- * Region mapping for indicies to planets
62
- */
63
- persistentEnemy: {
64
- regions: string[];
65
- };
66
- /**
67
- * Nodes in the Sol system, with enemy type and node information
68
- */
69
- solNodes: Record<string, SolNode>;
70
- /**
71
- * Sortie-specific mapping for modifier type, description, and boss
72
- */
73
- sortie: SortieData;
74
- /**
75
- * Steel Path mission type translations
76
- */
77
- steelPath: SteelPath;
78
- /**
79
- * Syndicate data
80
- */
81
- syndicates: Record<string, {
82
- name: string;
83
- }>;
84
- /**
85
- * Synthesis target data for optimal locations to find targets.
86
- */
87
- synthTargets: SynthesisTarget[];
88
- /**
89
- * Official tutorials.
90
- * Not many have been released in a long time.
91
- */
92
- tutorials: {
93
- regex: string;
94
- name: string;
95
- url: string;
96
- }[];
97
- /**
98
- * Global upgrade types that are modified by #operationTypes
99
- */
100
- upgradeTypes: Record<string, {
101
- value: string;
102
- }>;
103
- }
104
- declare const _default: WorldstateLangBundle & {
105
- de?: WorldstateLangBundle | undefined;
106
- en?: WorldstateLangBundle | undefined;
107
- es?: WorldstateLangBundle | undefined;
108
- fr?: WorldstateLangBundle | undefined;
109
- it?: WorldstateLangBundle | undefined;
110
- ko?: WorldstateLangBundle | undefined;
111
- pl?: WorldstateLangBundle | undefined;
112
- pt?: WorldstateLangBundle | undefined;
113
- ru?: WorldstateLangBundle | undefined;
114
- zh?: WorldstateLangBundle | undefined;
115
- cs?: WorldstateLangBundle | undefined;
116
- sr?: WorldstateLangBundle | undefined;
117
- uk?: WorldstateLangBundle | undefined;
118
- } & {
119
- locales: Locale[];
120
- };
121
- //#endregion
1
+ import { n as WorldstateLangBundle, r as _default, t as Locale } from "./exports-vM5Z3-oC.mjs";
122
2
  export { Locale, WorldstateLangBundle, _default as default };
package/dist/exports.mjs CHANGED
@@ -1,78 +1,2 @@
1
- import { safeImport } from "./safeImport.mjs";
2
-
3
- //#region exports.ts
4
- const locales = [
5
- "de",
6
- "es",
7
- "fr",
8
- "it",
9
- "ko",
10
- "pl",
11
- "pt",
12
- "ru",
13
- "zh",
14
- "cs",
15
- "sr",
16
- "uk"
17
- ];
18
- const makeBundle = async () => {
19
- /**
20
- * English United States translations bundle,
21
- * default translations
22
- * @type {WorldstateLangBundle}
23
- */
24
- const enUS = {
25
- arcanes: await safeImport("./data/arcanes.json"),
26
- archonShards: await safeImport("./data/archonShards.json"),
27
- conclave: await safeImport("./data/conclaveData.json"),
28
- events: await safeImport("./data/eventsData.json"),
29
- factions: await safeImport("./data/factionsData.json"),
30
- fissureModifiers: await safeImport("./data/fissureModifiers.json"),
31
- languages: await safeImport("./data/languages.json"),
32
- missionTypes: await safeImport("./data/missionTypes.json"),
33
- operationTypes: await safeImport("./data/operationTypes.json"),
34
- persistentEnemy: await safeImport("./data/persistentEnemyData.json"),
35
- solNodes: await safeImport("./data/solNodes.json"),
36
- sortie: await safeImport("./data/sortieData.json"),
37
- syndicates: await safeImport("./data/syndicatesData.json"),
38
- tutorials: await safeImport("./data/tutorials.json"),
39
- upgradeTypes: await safeImport("./data/upgradeTypes.json"),
40
- synthTargets: await safeImport("./data/synthTargets.json"),
41
- steelPath: await safeImport("./data/steelPath.json")
42
- };
43
- const bundle = {
44
- en: enUS,
45
- ...enUS,
46
- locales
47
- };
48
- for await (const locale of locales)
49
- /**
50
- * Translations bundle for $locale
51
- * @type {WorldstateLangBundle}
52
- */
53
- bundle[locale] = {
54
- arcanes: await safeImport(`./data/${locale}/arcanes.json`, enUS.arcanes),
55
- archonShards: await safeImport(`./data/${locale}/archonShards.json`, enUS.archonShards),
56
- conclave: await safeImport(`./data/${locale}/conclaveData.json`, enUS.conclave),
57
- events: await safeImport(`./data/${locale}/eventsData.json`, enUS.events),
58
- factions: await safeImport(`./data/${locale}/factionsData.json`, enUS.factions),
59
- fissureModifiers: await safeImport(`./data/${locale}/fissureModifiers.json`, enUS.fissureModifiers),
60
- languages: await safeImport(`./data/${locale}/languages.json`, enUS.languages),
61
- missionTypes: await safeImport(`./data/${locale}/missionTypes.json`, enUS.missionTypes),
62
- operationTypes: await safeImport(`./data/${locale}/operationTypes.json`, enUS.operationTypes),
63
- persistentEnemy: await safeImport(`./data/${locale}/persistentEnemyData.json`, enUS.persistentEnemy),
64
- solNodes: await safeImport(`./data/${locale}/solNodes.json`, enUS.solNodes),
65
- sortie: await safeImport(`./data/${locale}/sortieData.json`, enUS.sortie),
66
- syndicates: await safeImport(`./data/${locale}/syndicatesData.json`, enUS.syndicates),
67
- tutorials: await safeImport(`./data/${locale}/tutorials.json`, enUS.tutorials),
68
- upgradeTypes: await safeImport(`./data/${locale}/upgradeTypes.json`, enUS.upgradeTypes),
69
- synthTargets: await safeImport(`./data/${locale}/synthTargets.json`, enUS.synthTargets),
70
- steelPath: await safeImport(`./data/${locale}/steelPath.json`, enUS.steelPath)
71
- };
72
- locales.push("en");
73
- return bundle;
74
- };
75
- var exports_default = await makeBundle();
76
-
77
- //#endregion
78
- export { exports_default as default };
1
+ import { t as exports_default } from "./exports-RIRl0WJ7.mjs";
2
+ export { exports_default as default };
@@ -0,0 +1,18 @@
1
+ //#region safeImport.ts
2
+ /**
3
+ * Safely require path, fall back to fallback if module cannot load
4
+ * @param {string} path Path to attempt to load
5
+ * @param {Object} fallback fallback response if error or no module
6
+ * @returns {Promise<any>} module or the default object
7
+ */
8
+ const safeImport = async (path, fallback = {}) => {
9
+ try {
10
+ const mod = path.includes(".json") ? await import(path, { with: { type: "json" } }) : await import(path);
11
+ return "default" in mod ? mod.default : mod;
12
+ } catch (error) {
13
+ if ((process.env.LOG_LEVEL || "ERROR").toUpperCase() === "DEBUG") console.debug(`Failed to load module at ${path} ... returning fallback`);
14
+ return fallback;
15
+ }
16
+ };
17
+ //#endregion
18
+ export { safeImport as t };
@@ -1,19 +1,2 @@
1
- //#region safeImport.ts
2
- /**
3
- * Safely require path, fall back to fallback if module cannot load
4
- * @param {string} path Path to attempt to load
5
- * @param {Object} fallback fallback response if error or no module
6
- * @returns {Promise<any>} module or the default object
7
- */
8
- const safeImport = async (path, fallback = {}) => {
9
- try {
10
- const mod = path.includes(".json") ? await import(path, { with: { type: "json" } }) : await import(path);
11
- return "default" in mod ? mod.default : mod;
12
- } catch (error) {
13
- if ((process.env.LOG_LEVEL || "ERROR").toUpperCase() === "DEBUG") console.debug(`Failed to load module at ${path} ... returning fallback`);
14
- return fallback;
15
- }
16
- };
17
-
18
- //#endregion
19
- export { safeImport };
1
+ import { t as safeImport } from "./safeImport-BEIxuaxh.mjs";
2
+ export { safeImport };