exploria-ui 2026.9.26 → 2026.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/dist/_virtual/_plugin-vue_export-helper.js +8 -0
  2. package/dist/components/data/EMediaViewer/EMediaViewer.d.ts +3 -4
  3. package/dist/components/feedback/EDialog/EDialog.vue.d.ts +15 -9
  4. package/dist/components/feedback/EDrawer/EDrawer.vue.d.ts +3 -4
  5. package/dist/components/feedback/EMessage/EMessage.d.ts +6 -7
  6. package/dist/components/feedback/EMessageBox/EMessageBox.d.ts +47 -20
  7. package/dist/components/feedback/EMessageBox/EMessageBox.vue.d.ts +10 -1
  8. package/dist/components/feedback/ENotification/ENotification.d.ts +3 -4
  9. package/dist/components/feedback/EPopover.vue.d.ts +5 -0
  10. package/dist/components/hooks/useContainer.d.ts +8 -7
  11. package/dist/components/index.d.ts +1 -0
  12. package/dist/components/index.js +59 -55
  13. package/dist/components/navigation/ETabs/ETabs.vue.d.ts +4 -0
  14. package/dist/directives/index.js +3 -3
  15. package/dist/index.css +1 -1
  16. package/dist/node_modules/.pnpm/@intlify_core-base@11.4.10/node_modules/@intlify/core-base/dist/core-base.js +829 -0
  17. package/dist/node_modules/.pnpm/@intlify_message-compiler@11.4.10/node_modules/@intlify/message-compiler/dist/message-compiler.js +775 -0
  18. package/dist/node_modules/.pnpm/@intlify_shared@11.4.10/node_modules/@intlify/shared/dist/shared.js +148 -0
  19. package/dist/node_modules/.pnpm/sortablejs@1.15.7/node_modules/sortablejs/modular/sortable.esm.js +1110 -0
  20. package/dist/node_modules/.pnpm/three@0.185.1/node_modules/three/examples/jsm/controls/OrbitControls.js +439 -0
  21. package/dist/node_modules/.pnpm/three@0.185.1/node_modules/three/examples/jsm/curves/NURBSCurve.js +31 -0
  22. package/dist/node_modules/.pnpm/three@0.185.1/node_modules/three/examples/jsm/curves/NURBSUtils.js +115 -0
  23. package/dist/node_modules/.pnpm/three@0.185.1/node_modules/three/examples/jsm/libs/fflate.module.js +251 -0
  24. package/dist/node_modules/.pnpm/three@0.185.1/node_modules/three/examples/jsm/loaders/FBXLoader.js +1426 -0
  25. package/dist/node_modules/.pnpm/three@0.185.1/node_modules/three/examples/jsm/loaders/FontLoader.js +68 -0
  26. package/dist/node_modules/.pnpm/three@0.185.1/node_modules/three/examples/jsm/loaders/GLTFLoader.js +1340 -0
  27. package/dist/node_modules/.pnpm/three@0.185.1/node_modules/three/examples/jsm/utils/BufferGeometryUtils.js +24 -0
  28. package/dist/node_modules/.pnpm/three@0.185.1/node_modules/three/examples/jsm/utils/SkeletonUtils.js +20 -0
  29. package/dist/node_modules/.pnpm/vue-i18n@11.4.10_vue@3.5.41_typescript@5.9.3_/node_modules/vue-i18n/dist/vue-i18n.js +532 -0
  30. package/dist/package.json.js +86 -0
  31. package/dist/src/components/advanced/ERollingFollow/ERollingFollow.vue.js +7 -0
  32. package/dist/src/components/advanced/ERollingFollow/ERollingFollow.vue_vue_type_script_setup_true_lang.js +42 -0
  33. package/dist/src/components/advanced/EVirtualList/EVirtualList.vue.js +7 -0
  34. package/dist/src/components/advanced/EVirtualList/EVirtualList.vue_vue_type_script_setup_true_lang.js +41 -0
  35. package/dist/src/components/advanced/EWatermark/EWatermark.vue.js +7 -0
  36. package/dist/src/components/advanced/EWatermark/EWatermark.vue_vue_type_script_setup_true_lang.js +98 -0
  37. package/dist/src/components/basic/EAvatar/EAvatar.vue.js +7 -0
  38. package/dist/src/components/basic/EAvatar/EAvatar.vue_vue_type_script_setup_true_lang.js +45 -0
  39. package/dist/src/components/basic/EBadge/EBadge.vue.js +7 -0
  40. package/dist/src/components/basic/EBadge/EBadge.vue_vue_type_script_setup_true_lang.js +48 -0
  41. package/dist/src/components/basic/EButton/EButton.vue.js +7 -0
  42. package/dist/src/components/basic/EButton/EButton.vue_vue_type_script_setup_true_lang.js +37 -0
  43. package/dist/src/components/basic/ECard/ECard.vue.js +7 -0
  44. package/dist/src/components/basic/ECard/ECard.vue_vue_type_script_setup_true_lang.js +41 -0
  45. package/dist/src/components/basic/ESvgIcon/ESvgIcon.vue.js +5 -0
  46. package/dist/src/components/basic/ESvgIcon/ESvgIcon.vue_vue_type_script_setup_true_lang.js +11 -0
  47. package/dist/src/components/basic/EUnderLine/EUnderLine.vue.js +11 -0
  48. package/dist/src/components/data/ECalendar.vue.js +7 -0
  49. package/dist/src/components/data/ECalendar.vue_vue_type_script_setup_true_lang.js +109 -0
  50. package/dist/src/components/data/ECarousel/ECarousel.vue.js +7 -0
  51. package/dist/src/components/data/ECarousel/ECarousel.vue_vue_type_script_setup_true_lang.js +165 -0
  52. package/dist/src/components/data/ECarousel/ECarouselItem.vue.js +7 -0
  53. package/dist/src/components/data/ECarousel/ECarouselItem.vue_vue_type_script_setup_true_lang.js +42 -0
  54. package/dist/src/components/data/ECodeCollapse/ECodeCollapse.vue.js +7 -0
  55. package/dist/src/components/data/ECodeCollapse/ECodeCollapse.vue_vue_type_script_setup_true_lang.js +46 -0
  56. package/dist/src/components/data/ECollapse/ECollapse.vue.js +7 -0
  57. package/dist/src/components/data/ECollapse/ECollapse.vue_vue_type_script_setup_true_lang.js +29 -0
  58. package/dist/src/components/data/EImage.vue.js +7 -0
  59. package/dist/src/components/data/EImage.vue_vue_type_script_setup_true_lang.js +31 -0
  60. package/dist/src/components/data/EList.vue.js +7 -0
  61. package/dist/src/components/data/EList.vue_vue_type_script_setup_true_lang.js +52 -0
  62. package/dist/src/components/data/EMediaViewer/EMediaViewer.js +64 -0
  63. package/dist/src/components/data/EMediaViewer/EMediaViewer.vue.js +7 -0
  64. package/dist/src/components/data/EMediaViewer/EMediaViewer.vue_vue_type_script_setup_true_lang.js +210 -0
  65. package/dist/src/components/data/EProgress.vue.js +7 -0
  66. package/dist/src/components/data/EProgress.vue_vue_type_script_setup_true_lang.js +100 -0
  67. package/dist/src/components/data/ERollingPagination.vue.js +7 -0
  68. package/dist/src/components/data/ERollingPagination.vue_vue_type_script_setup_true_lang.js +45 -0
  69. package/dist/src/components/data/ESkeleton/ESkeleton.vue.js +14 -0
  70. package/dist/src/components/data/ESteps/EStepItem.vue.js +7 -0
  71. package/dist/src/components/data/ESteps/EStepItem.vue_vue_type_script_setup_true_lang.js +144 -0
  72. package/dist/src/components/data/ESteps/ESteps.vue.js +7 -0
  73. package/dist/src/components/data/ESteps/ESteps.vue_vue_type_script_setup_true_lang.js +25 -0
  74. package/dist/src/components/data/ETable/ETable.vue.js +7 -0
  75. package/dist/src/components/data/ETable/ETable.vue_vue_type_script_setup_true_lang.js +60 -0
  76. package/dist/src/components/data/ETable/ETableColumn.vue.js +5 -0
  77. package/dist/src/components/data/ETable/ETableColumn.vue_vue_type_script_setup_true_lang.js +23 -0
  78. package/dist/src/components/data/ETable/no_data.svg.js +4 -0
  79. package/dist/src/components/data/ETimeline/ETimeline.vue.js +7 -0
  80. package/dist/src/components/data/ETimeline/ETimeline.vue_vue_type_script_setup_true_lang.js +41 -0
  81. package/dist/src/components/data/ETimeline/ETimelineItem.vue.js +7 -0
  82. package/dist/src/components/data/ETimeline/ETimelineItem.vue_vue_type_script_setup_true_lang.js +44 -0
  83. package/dist/src/components/feedback/EDialog/EDialog.vue.js +7 -0
  84. package/dist/src/components/feedback/EDialog/EDialog.vue_vue_type_script_setup_true_lang.js +237 -0
  85. package/dist/src/components/feedback/EDrawer/EDrawer.vue.js +7 -0
  86. package/dist/src/components/feedback/EDrawer/EDrawer.vue_vue_type_script_setup_true_lang.js +166 -0
  87. package/dist/src/components/feedback/EMessage/EMessage.js +135 -0
  88. package/dist/src/components/feedback/EMessage/EMessage.vue.js +7 -0
  89. package/dist/src/components/feedback/EMessage/EMessage.vue_vue_type_script_setup_true_lang.js +34 -0
  90. package/dist/src/components/feedback/EMessageBox/EMessageBox.js +153 -0
  91. package/dist/src/components/feedback/EMessageBox/EMessageBox.vue.js +7 -0
  92. package/dist/src/components/feedback/EMessageBox/EMessageBox.vue_vue_type_script_setup_true_lang.js +74 -0
  93. package/dist/src/components/feedback/ENotification/ENotification.js +164 -0
  94. package/dist/src/components/feedback/ENotification/ENotification.vue.js +7 -0
  95. package/dist/src/components/feedback/ENotification/ENotification.vue_vue_type_script_setup_true_lang.js +56 -0
  96. package/dist/src/components/feedback/EPopover.vue.js +7 -0
  97. package/dist/src/components/feedback/EPopover.vue_vue_type_script_setup_true_lang.js +111 -0
  98. package/dist/src/components/feedback/ETooltip.vue.js +7 -0
  99. package/dist/src/components/feedback/ETooltip.vue_vue_type_script_setup_true_lang.js +73 -0
  100. package/dist/src/components/form/ECheckbox.vue.js +7 -0
  101. package/dist/src/components/form/ECheckbox.vue_vue_type_script_setup_true_lang.js +36 -0
  102. package/dist/src/components/form/EColorPicker.vue.js +7 -0
  103. package/dist/src/components/form/EColorPicker.vue_vue_type_script_setup_true_lang.js +309 -0
  104. package/dist/src/components/form/EConditionGroup/EConditionGroup.vue.js +7 -0
  105. package/dist/src/components/form/EConditionGroup/EConditionGroup.vue_vue_type_script_setup_true_lang.js +120 -0
  106. package/dist/src/components/form/EFileSelector.vue.js +7 -0
  107. package/dist/src/components/form/EFileSelector.vue_vue_type_script_setup_true_lang.js +58 -0
  108. package/dist/src/components/form/EForm/EForm.vue.js +7 -0
  109. package/dist/src/components/form/EForm/EForm.vue_vue_type_script_setup_true_lang.js +21 -0
  110. package/dist/src/components/form/EForm/EFormItem.vue.js +7 -0
  111. package/dist/src/components/form/EForm/EFormItem.vue_vue_type_script_setup_true_lang.js +44 -0
  112. package/dist/src/components/form/EInput/EInput.vue.js +7 -0
  113. package/dist/src/components/form/EInput/EInput.vue_vue_type_script_setup_true_lang.js +150 -0
  114. package/dist/src/components/form/ERadio.vue.js +7 -0
  115. package/dist/src/components/form/ERadio.vue_vue_type_script_setup_true_lang.js +36 -0
  116. package/dist/src/components/form/ESelect/ESelect.vue.js +8 -0
  117. package/dist/src/components/form/ESelect/ESelect.vue_vue_type_script_setup_true_lang.js +85 -0
  118. package/dist/src/components/form/ESlider.vue.js +7 -0
  119. package/dist/src/components/form/ESlider.vue_vue_type_script_setup_true_lang.js +77 -0
  120. package/dist/src/components/form/ETimePicker.vue.js +7 -0
  121. package/dist/src/components/form/ETimePicker.vue_vue_type_script_setup_true_lang.js +98 -0
  122. package/dist/src/components/geometry/ECube.vue.js +7 -0
  123. package/dist/src/components/geometry/ECube.vue_vue_type_script_setup_true_lang.js +11 -0
  124. package/dist/src/components/hooks/useContainer.js +129 -0
  125. package/dist/src/components/hooks/useLiquidGlass.js +63 -0
  126. package/dist/src/components/hooks/usePosition.js +42 -0
  127. package/dist/src/components/hooks/useZIndex.js +15 -0
  128. package/dist/src/components/layout/EContainerWithScrollbar.vue.js +7 -0
  129. package/dist/src/components/layout/EContainerWithScrollbar.vue_vue_type_script_setup_true_lang.js +27 -0
  130. package/dist/src/components/layout/EDivider.vue.js +5 -0
  131. package/dist/src/components/layout/EDivider.vue_vue_type_script_setup_true_lang.js +38 -0
  132. package/dist/src/components/layout/EScrollX.vue.js +7 -0
  133. package/dist/src/components/layout/EScrollX.vue_vue_type_script_setup_true_lang.js +34 -0
  134. package/dist/src/components/layout/EScrollbar.vue.js +7 -0
  135. package/dist/src/components/layout/EScrollbar.vue_vue_type_script_setup_true_lang.js +67 -0
  136. package/dist/src/components/navigation/EDropdown.vue.js +7 -0
  137. package/dist/src/components/navigation/EDropdown.vue_vue_type_script_setup_true_lang.js +109 -0
  138. package/dist/src/components/navigation/ETabs/ETabPane.vue.js +7 -0
  139. package/dist/src/components/navigation/ETabs/ETabPane.vue_vue_type_script_setup_true_lang.js +21 -0
  140. package/dist/src/components/navigation/ETabs/ETabs.vue.js +7 -0
  141. package/dist/src/components/navigation/ETabs/ETabs.vue_vue_type_script_setup_true_lang.js +104 -0
  142. package/dist/src/directives/EDrag.js +27 -0
  143. package/dist/src/directives/ESizeOb.js +23 -0
  144. package/dist/src/directives/ESlideIn.js +128 -0
  145. package/dist/src/utils/EAnimateCSSUtil.js +13 -0
  146. package/dist/src/utils/EClipboardUtil.js +19 -0
  147. package/dist/src/utils/EDomUtil.js +41 -0
  148. package/dist/src/utils/EEchartsUtil.js +23 -0
  149. package/dist/src/utils/EEventBus.js +16 -0
  150. package/dist/src/utils/EImageUtil.js +26 -0
  151. package/dist/src/utils/EJSONUtil.js +12 -0
  152. package/dist/src/utils/ELocalStorageUtil.js +15 -0
  153. package/dist/src/utils/EMediaQueryUtil.js +28 -0
  154. package/dist/src/utils/EStringUtil.js +11 -0
  155. package/dist/src/utils/EThreeUtil.js +40 -0
  156. package/dist/src/utils/ETimeUtil.js +22 -0
  157. package/dist/src/utils/EUUIDUtil.js +11 -0
  158. package/dist/utils/index.js +13 -13
  159. package/package.json +2 -6
@@ -0,0 +1,829 @@
1
+ import { assign as e, create as t, escapeHtml as n, format as r, friendlyJSONstringify as i, generateCodeFrame as a, generateFormatCacheKey as o, getGlobalThis as s, hasOwn as c, inBrowser as l, isArray as u, isBoolean as d, isDate as f, isEmptyObject as p, isFunction as m, isNumber as h, isObject as g, isPlainObject as _, isPromise as v, isRegExp as y, isString as b, join as x, mark as S, measure as C, sanitizeTranslatedHtml as w, toDevtoolsGroupId as T, toDisplayString as E, warn as D, warnOnce as O } from "../../../../../@intlify_shared@11.4.10/node_modules/@intlify/shared/dist/shared.js";
2
+ import { baseCompile as k, createCompileError as A, defaultOnError as j, detectHtmlTag as M } from "../../../../../@intlify_message-compiler@11.4.10/node_modules/@intlify/message-compiler/dist/message-compiler.js";
3
+ //#region node_modules/.pnpm/@intlify+core-base@11.4.10/node_modules/@intlify/core-base/dist/core-base.mjs
4
+ function ee() {
5
+ typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (s().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (s().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
6
+ }
7
+ function N(e) {
8
+ return g(e) && I(e) === 0 && (c(e, "b") || c(e, "body"));
9
+ }
10
+ var P = ["b", "body"];
11
+ function te(e) {
12
+ return R(e, P);
13
+ }
14
+ var ne = ["c", "cases"];
15
+ function re(e) {
16
+ return R(e, ne, []);
17
+ }
18
+ var F = ["s", "static"];
19
+ function ie(e) {
20
+ return R(e, F);
21
+ }
22
+ var ae = ["i", "items"];
23
+ function oe(e) {
24
+ return R(e, ae, []);
25
+ }
26
+ var se = ["t", "type"];
27
+ function I(e) {
28
+ return R(e, se);
29
+ }
30
+ var ce = ["v", "value"];
31
+ function L(e, t) {
32
+ let n = R(e, ce);
33
+ if (n != null) return n;
34
+ throw z(t);
35
+ }
36
+ var le = ["m", "modifier"];
37
+ function ue(e) {
38
+ return R(e, le);
39
+ }
40
+ var de = ["k", "key"];
41
+ function fe(e) {
42
+ let t = R(e, de);
43
+ if (t) return t;
44
+ throw z(6);
45
+ }
46
+ function R(e, t, n) {
47
+ for (let n = 0; n < t.length; n++) {
48
+ let r = t[n];
49
+ if (c(e, r) && e[r] != null) return e[r];
50
+ }
51
+ return n;
52
+ }
53
+ var pe = [
54
+ ...P,
55
+ ...ne,
56
+ ...F,
57
+ ...ae,
58
+ ...de,
59
+ ...le,
60
+ ...ce,
61
+ ...se
62
+ ];
63
+ function z(e) {
64
+ return Error(`unhandled node type: ${e}`);
65
+ }
66
+ function B(e) {
67
+ return (t) => me(t, e);
68
+ }
69
+ function me(e, t) {
70
+ let n = te(t);
71
+ if (n == null) throw z(0);
72
+ if (I(n) === 1) {
73
+ let t = re(n);
74
+ return e.plural(t.reduce((t, n) => [...t, he(e, n)], []));
75
+ }
76
+ return he(e, n);
77
+ }
78
+ function he(e, t) {
79
+ let n = ie(t);
80
+ if (n != null) return e.type === "text" ? n : e.normalize([n]);
81
+ {
82
+ let n = oe(t).reduce((t, n) => [...t, V(e, n)], []);
83
+ return e.normalize(n);
84
+ }
85
+ }
86
+ function V(e, t) {
87
+ let n = I(t);
88
+ switch (n) {
89
+ case 3: return L(t, n);
90
+ case 9: return L(t, n);
91
+ case 4: {
92
+ let r = t;
93
+ if (c(r, "k") && r.k) return e.interpolate(e.named(r.k));
94
+ if (c(r, "key") && r.key) return e.interpolate(e.named(r.key));
95
+ throw z(n);
96
+ }
97
+ case 5: {
98
+ let r = t;
99
+ if (c(r, "i") && h(r.i)) return e.interpolate(e.list(r.i));
100
+ if (c(r, "index") && h(r.index)) return e.interpolate(e.list(r.index));
101
+ throw z(n);
102
+ }
103
+ case 6: {
104
+ let n = t, r = ue(n), i = fe(n);
105
+ return e.linked(V(e, i), r ? V(e, r) : void 0, e.type);
106
+ }
107
+ case 7: return L(t, n);
108
+ case 8: return L(t, n);
109
+ default: throw Error(`unhandled node on format message part: ${n}`);
110
+ }
111
+ }
112
+ var ge = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
113
+ function _e(e, t) {
114
+ t && M(e) && D(r(ge, { source: e }));
115
+ }
116
+ var ve = (e) => e, H = t();
117
+ function ye(e, t = {}) {
118
+ let n = !1, r = t.onError || j;
119
+ return t.onError = (e) => {
120
+ n = !0, r(e);
121
+ }, {
122
+ ...k(e, t),
123
+ detectError: n
124
+ };
125
+ }
126
+ function be(e, t) {
127
+ if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && b(e)) {
128
+ let n = !d(t.warnHtmlMessage) || t.warnHtmlMessage;
129
+ process.env.NODE_ENV !== "production" && _e(e, n);
130
+ let r = (t.onCacheKey || ve)(e), i = H[r];
131
+ if (i) return i;
132
+ let { ast: a, detectError: o } = ye(e, {
133
+ ...t,
134
+ location: process.env.NODE_ENV !== "production",
135
+ jit: !0
136
+ }), s = B(a);
137
+ return o ? s : H[r] = s;
138
+ }
139
+ {
140
+ if (process.env.NODE_ENV !== "production" && !N(e)) return D(`the message that is resolve with key '${t.key}' is not supported for jit compilation`), (() => e);
141
+ let n = e.cacheKey;
142
+ return n ? H[n] || (H[n] = B(e)) : B(e);
143
+ }
144
+ }
145
+ var U = null;
146
+ function xe(e) {
147
+ U = e;
148
+ }
149
+ function Se(e, t, n) {
150
+ U && U.emit("i18n:init", {
151
+ timestamp: Date.now(),
152
+ i18n: e,
153
+ version: t,
154
+ meta: n
155
+ });
156
+ }
157
+ var Ce = we("function:translate");
158
+ function we(e) {
159
+ return (t) => U && U.emit(e, t);
160
+ }
161
+ var W = {
162
+ INVALID_ARGUMENT: 17,
163
+ INVALID_DATE_ARGUMENT: 18,
164
+ INVALID_ISO_DATE_ARGUMENT: 19,
165
+ NOT_SUPPORT_NON_STRING_MESSAGE: 20,
166
+ NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
167
+ NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
168
+ NOT_SUPPORT_LOCALE_TYPE: 23
169
+ };
170
+ function G(e) {
171
+ return A(e, null, process.env.NODE_ENV === "production" ? void 0 : { messages: Te });
172
+ }
173
+ var Te = {
174
+ [W.INVALID_ARGUMENT]: "Invalid arguments",
175
+ [W.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
176
+ [W.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
177
+ [W.NOT_SUPPORT_NON_STRING_MESSAGE]: "Not support non-string message",
178
+ [W.NOT_SUPPORT_LOCALE_PROMISE_VALUE]: "cannot support promise value",
179
+ [W.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]: "cannot support async function",
180
+ [W.NOT_SUPPORT_LOCALE_TYPE]: "cannot support locale type"
181
+ };
182
+ function K(e, t) {
183
+ return t.locale == null ? Ee(e.locale) : Ee(t.locale);
184
+ }
185
+ var q;
186
+ function Ee(e) {
187
+ if (b(e)) return e;
188
+ if (m(e)) {
189
+ if (e.resolvedOnce && q != null) return q;
190
+ if (e.constructor.name === "Function") {
191
+ let t = e();
192
+ if (v(t)) throw G(W.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
193
+ return q = t;
194
+ }
195
+ throw G(W.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
196
+ }
197
+ throw G(W.NOT_SUPPORT_LOCALE_TYPE);
198
+ }
199
+ function De(e, t, n) {
200
+ return [...new Set([n, ...u(t) ? t : g(t) ? Object.keys(t).filter((e) => e !== "default") : b(t) ? [t] : [n]])];
201
+ }
202
+ function Oe(e, t, n) {
203
+ let r = b(n) ? n : Z, a = e;
204
+ a.__localeChainCache ||= new Map();
205
+ let o = i(t), s = a.__localeChainCache.get(r);
206
+ s || (s = new Map(), a.__localeChainCache.set(r, s));
207
+ let c = s.get(o);
208
+ if (c) return c;
209
+ let l = [], d = [n];
210
+ for (; u(d);) d = ke(l, d, t);
211
+ let f = u(t) || !_(t) ? t : t.default ? t.default : null;
212
+ return d = b(f) ? [f] : f, u(d) && ke(l, d, !1), s.set(o, l), l;
213
+ }
214
+ function ke(e, t, n) {
215
+ let r = !0;
216
+ for (let i = 0; i < t.length && d(r); i++) {
217
+ let a = t[i];
218
+ b(a) && (r = Ae(e, t[i], n));
219
+ }
220
+ return r;
221
+ }
222
+ function Ae(e, t, n) {
223
+ let r, i = t.split("-");
224
+ do
225
+ r = je(e, i.join("-"), n), i.splice(-1, 1);
226
+ while (i.length && r === !0);
227
+ return r;
228
+ }
229
+ function je(e, t, n) {
230
+ let r = !1;
231
+ if (!e.includes(t) && (r = !0, t)) {
232
+ r = t[t.length - 1] !== "!";
233
+ let i = t.replace(/!/g, "");
234
+ e.push(i), (u(n) || _(n)) && n[i] && (r = n[i]);
235
+ }
236
+ return r;
237
+ }
238
+ var J = [];
239
+ J[0] = {
240
+ w: [0],
241
+ i: [3, 0],
242
+ "[": [4],
243
+ o: [7]
244
+ }, J[1] = {
245
+ w: [1],
246
+ ".": [2],
247
+ "[": [4],
248
+ o: [7]
249
+ }, J[2] = {
250
+ w: [2],
251
+ i: [3, 0],
252
+ 0: [3, 0]
253
+ }, J[3] = {
254
+ i: [3, 0],
255
+ 0: [3, 0],
256
+ w: [1, 1],
257
+ ".": [2, 1],
258
+ "[": [4, 1],
259
+ o: [7, 1]
260
+ }, J[4] = {
261
+ "'": [5, 0],
262
+ "\"": [6, 0],
263
+ "[": [4, 2],
264
+ "]": [1, 3],
265
+ o: 8,
266
+ l: [4, 0]
267
+ }, J[5] = {
268
+ "'": [4, 0],
269
+ o: 8,
270
+ l: [5, 0]
271
+ }, J[6] = {
272
+ "\"": [4, 0],
273
+ o: 8,
274
+ l: [6, 0]
275
+ };
276
+ var Me = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
277
+ function Ne(e) {
278
+ return Me.test(e);
279
+ }
280
+ function Pe(e) {
281
+ let t = e.charCodeAt(0);
282
+ return t === e.charCodeAt(e.length - 1) && (t === 34 || t === 39) ? e.slice(1, -1) : e;
283
+ }
284
+ function Fe(e) {
285
+ if (e == null) return "o";
286
+ switch (e.charCodeAt(0)) {
287
+ case 91:
288
+ case 93:
289
+ case 46:
290
+ case 34:
291
+ case 39: return e;
292
+ case 95:
293
+ case 36:
294
+ case 45: return "i";
295
+ case 9:
296
+ case 10:
297
+ case 13:
298
+ case 160:
299
+ case 65279:
300
+ case 8232:
301
+ case 8233: return "w";
302
+ }
303
+ return "i";
304
+ }
305
+ function Ie(e) {
306
+ let t = e.trim();
307
+ return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Ne(t) ? Pe(t) : "*" + t;
308
+ }
309
+ function Le(e) {
310
+ let t = [], n = -1, r = 0, i = 0, a, o, s, c, l, u, d, f = [];
311
+ f[0] = () => {
312
+ o === void 0 ? o = s : o += s;
313
+ }, f[1] = () => {
314
+ o !== void 0 && (t.push(o), o = void 0);
315
+ }, f[2] = () => {
316
+ f[0](), i++;
317
+ }, f[3] = () => {
318
+ if (i > 0) i--, r = 4, f[0]();
319
+ else {
320
+ if (i = 0, o === void 0 || (o = Ie(o), o === !1)) return !1;
321
+ f[1]();
322
+ }
323
+ };
324
+ function p() {
325
+ let t = e[n + 1];
326
+ if (r === 5 && t === "'" || r === 6 && t === "\"") return n++, s = "\\" + t, f[0](), !0;
327
+ }
328
+ for (; r !== null;) if (n++, a = e[n], !(a === "\\" && p())) {
329
+ if (c = Fe(a), d = J[r], l = d[c] || d.l || 8, l === 8 || (r = l[0], l[1] !== void 0 && (u = f[l[1]], u && (s = a, u() === !1)))) return;
330
+ if (r === 7) return t;
331
+ }
332
+ }
333
+ var Re = new Map();
334
+ function ze(e, t) {
335
+ return g(e) ? e[t] : null;
336
+ }
337
+ function Be(e, t) {
338
+ if (!g(e)) return null;
339
+ let n = Re.get(t);
340
+ if (n || (n = Le(t), n && Re.set(t, n)), !n) return null;
341
+ let r = n.length, i = e, a = 0;
342
+ for (; a < r;) {
343
+ let e = n[a];
344
+ if (pe.includes(e) && N(i) || !g(i) || !c(i, e)) return null;
345
+ let t = i[e];
346
+ if (t === void 0 || m(i)) return null;
347
+ i = t, a++;
348
+ }
349
+ return i;
350
+ }
351
+ var Y = {
352
+ NOT_FOUND_KEY: 1,
353
+ FALLBACK_TO_TRANSLATE: 2,
354
+ CANNOT_FORMAT_NUMBER: 3,
355
+ FALLBACK_TO_NUMBER_FORMAT: 4,
356
+ CANNOT_FORMAT_DATE: 5,
357
+ FALLBACK_TO_DATE_FORMAT: 6,
358
+ EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7,
359
+ INVALID_NUMBER_ARGUMENT: 8,
360
+ INVALID_DATE_ARGUMENT: 9
361
+ }, Ve = {
362
+ [Y.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
363
+ [Y.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
364
+ [Y.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
365
+ [Y.FALLBACK_TO_NUMBER_FORMAT]: "Fall back to number format '{key}' key with '{target}' locale.",
366
+ [Y.CANNOT_FORMAT_DATE]: "Cannot format a date value due to not supported Intl.DateTimeFormat.",
367
+ [Y.FALLBACK_TO_DATE_FORMAT]: "Fall back to datetime format '{key}' key with '{target}' locale.",
368
+ [Y.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]: "This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.",
369
+ [Y.INVALID_NUMBER_ARGUMENT]: "Invalid argument for number formatting: expected a number but received '{value}'.",
370
+ [Y.INVALID_DATE_ARGUMENT]: "Invalid argument for datetime formatting: expected a Date, number, or ISO string but received '{value}'."
371
+ };
372
+ function X(e, ...t) {
373
+ return r(Ve[e], ...t);
374
+ }
375
+ var He = "11.4.10", Z = "en-US", Ue = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
376
+ function We() {
377
+ return {
378
+ upper: (e, t) => t === "text" && b(e) ? e.toUpperCase() : t === "vnode" && g(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
379
+ lower: (e, t) => t === "text" && b(e) ? e.toLowerCase() : t === "vnode" && g(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
380
+ capitalize: (e, t) => t === "text" && b(e) ? Ue(e) : t === "vnode" && g(e) && "__v_isVNode" in e ? Ue(e.children) : e
381
+ };
382
+ }
383
+ var Ge;
384
+ function Ke(e) {
385
+ Ge = e;
386
+ }
387
+ var qe;
388
+ function Je(e) {
389
+ qe = e;
390
+ }
391
+ var Ye;
392
+ function Xe(e) {
393
+ Ye = e;
394
+ }
395
+ var Ze = null, Qe = (e) => {
396
+ Ze = e;
397
+ }, $e = () => Ze, et = null, tt = (e) => {
398
+ et = e;
399
+ }, nt = () => et, rt = 0;
400
+ function it(n = {}) {
401
+ let r = m(n.onWarn) ? n.onWarn : D, i = b(n.version) ? n.version : He, a = b(n.locale) || m(n.locale) ? n.locale : Z, o = m(a) ? Z : a, s = u(n.fallbackLocale) || _(n.fallbackLocale) || b(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : o, c = _(n.messages) ? n.messages : at(o), l = _(n.datetimeFormats) ? n.datetimeFormats : at(o), f = _(n.numberFormats) ? n.numberFormats : at(o), p = e(t(), n.modifiers, We()), h = n.pluralRules || t(), v = m(n.missing) ? n.missing : null, x = d(n.missingWarn) || y(n.missingWarn) ? n.missingWarn : !0, S = d(n.fallbackWarn) || y(n.fallbackWarn) ? n.fallbackWarn : !0, C = !!n.fallbackFormat, w = !!n.unresolving, T = m(n.postTranslation) ? n.postTranslation : null, E = _(n.processor) ? n.processor : null, k = !d(n.warnHtmlMessage) || n.warnHtmlMessage, A = !!n.escapeParameter, j = m(n.messageCompiler) ? n.messageCompiler : Ge;
402
+ process.env.NODE_ENV !== "production" && m(n.messageCompiler) && O(X(Y.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
403
+ let M = m(n.messageResolver) ? n.messageResolver : qe || ze, ee = m(n.localeFallbacker) ? n.localeFallbacker : Ye || De, N = g(n.fallbackContext) ? n.fallbackContext : void 0, P = n, te = g(P.__datetimeFormatters) ? P.__datetimeFormatters : new Map(), ne = g(P.__numberFormatters) ? P.__numberFormatters : new Map(), re = g(P.__meta) ? P.__meta : {};
404
+ rt++;
405
+ let F = {
406
+ version: i,
407
+ cid: rt,
408
+ locale: a,
409
+ fallbackLocale: s,
410
+ messages: c,
411
+ modifiers: p,
412
+ pluralRules: h,
413
+ missing: v,
414
+ missingWarn: x,
415
+ fallbackWarn: S,
416
+ fallbackFormat: C,
417
+ unresolving: w,
418
+ postTranslation: T,
419
+ processor: E,
420
+ warnHtmlMessage: k,
421
+ escapeParameter: A,
422
+ messageCompiler: j,
423
+ messageResolver: M,
424
+ localeFallbacker: ee,
425
+ fallbackContext: N,
426
+ onWarn: r,
427
+ __meta: re
428
+ };
429
+ return F.datetimeFormats = l, F.numberFormats = f, F.__datetimeFormatters = te, F.__numberFormatters = ne, process.env.NODE_ENV !== "production" && (F.__v_emitter = P.__v_emitter == null ? void 0 : P.__v_emitter), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && Se(F, i, re), F;
430
+ }
431
+ var at = (e) => ({ [e]: t() });
432
+ function ot(e, t) {
433
+ return e instanceof RegExp ? e.test(t) : e;
434
+ }
435
+ function st(e, t) {
436
+ return e instanceof RegExp ? e.test(t) : e;
437
+ }
438
+ function ct(e, t, n, r, i) {
439
+ let { missing: a, onWarn: o } = e;
440
+ if (process.env.NODE_ENV !== "production") {
441
+ let r = e.__v_emitter;
442
+ r && r.emit("missing", {
443
+ locale: n,
444
+ key: t,
445
+ type: i,
446
+ groupId: T(i, t)
447
+ });
448
+ }
449
+ if (a !== null) {
450
+ let r = a(e, n, t, i);
451
+ return b(r) ? r : t;
452
+ }
453
+ return process.env.NODE_ENV !== "production" && st(r, t) && o(X(Y.NOT_FOUND_KEY, {
454
+ key: t,
455
+ locale: n
456
+ })), t;
457
+ }
458
+ function lt(e, t, n) {
459
+ let r = e;
460
+ r.__localeChainCache = new Map(), e.localeFallbacker(e, n, t);
461
+ }
462
+ function ut(e, t) {
463
+ return e !== t && e.split("-")[0] === t.split("-")[0];
464
+ }
465
+ function dt(e, t) {
466
+ let n = t.indexOf(e);
467
+ if (n === -1) return !1;
468
+ for (let r = n + 1; r < t.length; r++) if (ut(e, t[r])) return !0;
469
+ return !1;
470
+ }
471
+ function ft(e, t, n, r, i, a, o) {
472
+ let { fallbackLocale: s, localeFallbacker: c, onWarn: l } = e, u = c(e, s, n), d = n;
473
+ for (let s = 0; s < u.length; s++) {
474
+ let c = u[s];
475
+ if (process.env.NODE_ENV !== "production" && n !== c && ot(a, t) && l(X(o === "datetime format" ? Y.FALLBACK_TO_DATE_FORMAT : Y.FALLBACK_TO_NUMBER_FORMAT, {
476
+ key: t,
477
+ target: c
478
+ })), process.env.NODE_ENV !== "production" && n !== c) {
479
+ let n = e.__v_emitter;
480
+ n && n.emit("fallback", {
481
+ type: o,
482
+ key: t,
483
+ from: d,
484
+ to: c,
485
+ groupId: T(o, t)
486
+ });
487
+ }
488
+ let f = (r[c] || {})[t];
489
+ if (_(f) && b(c)) return c;
490
+ ct(e, t, c, i, o), d = c;
491
+ }
492
+ return null;
493
+ }
494
+ function pt(e, t, n) {
495
+ let r = `${e}__${t}`;
496
+ return _(n) && !p(n) && (r = `${r}__${JSON.stringify(n)}`), r;
497
+ }
498
+ function mt(e, t, n) {
499
+ for (let r in n) {
500
+ let n = `${t}__${r}`;
501
+ for (let t of e.keys()) (t === n || t.startsWith(`${n}__`)) && e.delete(t);
502
+ }
503
+ }
504
+ function ht(e, t, n, r) {
505
+ let [, i, a, o] = e, s = n;
506
+ return b(i) ? t.key = i : _(i) && Object.keys(i).forEach((e) => {
507
+ r.includes(e) ? s[e] = i[e] : t[e] = i[e];
508
+ }), b(a) ? t.locale = a : _(a) && (s = a), _(o) && (s = o), s;
509
+ }
510
+ var gt = typeof Intl < "u", _t = {
511
+ dateTimeFormat: gt && Intl.DateTimeFormat !== void 0,
512
+ numberFormat: gt && Intl.NumberFormat !== void 0
513
+ };
514
+ function vt(t, ...n) {
515
+ let { datetimeFormats: r, unresolving: i, onWarn: a } = t, { __datetimeFormatters: o } = t;
516
+ if (process.env.NODE_ENV !== "production" && !_t.dateTimeFormat) return a(X(Y.CANNOT_FORMAT_DATE)), "";
517
+ if (!b(n[0]) && !f(n[0]) && !h(n[0])) return process.env.NODE_ENV !== "production" && a(X(Y.INVALID_DATE_ARGUMENT, { value: String(n[0]) })), "";
518
+ let [s, c, l, u] = bt(...n), p = d(l.missingWarn) ? l.missingWarn : t.missingWarn, m = d(l.fallbackWarn) ? l.fallbackWarn : t.fallbackWarn, g = !!l.part, _ = K(t, l);
519
+ if (!b(s) || s === "") {
520
+ let e = new Intl.DateTimeFormat(_.replace(/!/g, ""), u);
521
+ return g ? e.formatToParts(c) : e.format(c);
522
+ }
523
+ let v = ft(t, s, _, r, p, m, "datetime format");
524
+ if (!b(v)) return i ? -1 : s;
525
+ let y = r[v][s], x = pt(v, s, u), S = o.get(x);
526
+ return S || (S = new Intl.DateTimeFormat(v, e({}, y, u)), o.set(x, S)), g ? S.formatToParts(c) : S.format(c);
527
+ }
528
+ var yt = [
529
+ "localeMatcher",
530
+ "weekday",
531
+ "era",
532
+ "year",
533
+ "month",
534
+ "day",
535
+ "hour",
536
+ "minute",
537
+ "second",
538
+ "timeZoneName",
539
+ "formatMatcher",
540
+ "hour12",
541
+ "timeZone",
542
+ "dateStyle",
543
+ "timeStyle",
544
+ "calendar",
545
+ "dayPeriod",
546
+ "numberingSystem",
547
+ "hourCycle",
548
+ "fractionalSecondDigits"
549
+ ];
550
+ function bt(...e) {
551
+ let [n] = e, r = t(), i = t(), a;
552
+ if (b(n)) {
553
+ let e = n.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
554
+ if (!e) throw G(W.INVALID_ISO_DATE_ARGUMENT);
555
+ let t = e[3] ? e[3].trim().startsWith("T") ? `${e[1].trim()}${e[3].trim()}` : `${e[1].trim()}T${e[3].trim()}` : e[1].trim();
556
+ a = new Date(t);
557
+ try {
558
+ a.toISOString();
559
+ } catch {
560
+ throw G(W.INVALID_ISO_DATE_ARGUMENT);
561
+ }
562
+ } else if (f(n)) {
563
+ if (isNaN(n.getTime())) throw G(W.INVALID_DATE_ARGUMENT);
564
+ a = n;
565
+ } else if (h(n)) a = n;
566
+ else throw G(W.INVALID_ARGUMENT);
567
+ let o = ht(e, r, i, yt);
568
+ return [
569
+ r.key || "",
570
+ a,
571
+ r,
572
+ o
573
+ ];
574
+ }
575
+ function xt(e, t, n) {
576
+ mt(e.__datetimeFormatters, t, n);
577
+ }
578
+ function St(t, ...n) {
579
+ let { numberFormats: r, unresolving: i, onWarn: a } = t, { __numberFormatters: o } = t;
580
+ if (process.env.NODE_ENV !== "production" && !_t.numberFormat) return a(X(Y.CANNOT_FORMAT_NUMBER)), "";
581
+ if (!h(n[0])) return process.env.NODE_ENV !== "production" && a(X(Y.INVALID_NUMBER_ARGUMENT, { value: String(n[0]) })), "";
582
+ let [s, c, l, u] = wt(...n), f = d(l.missingWarn) ? l.missingWarn : t.missingWarn, p = d(l.fallbackWarn) ? l.fallbackWarn : t.fallbackWarn, m = !!l.part, g = K(t, l);
583
+ if (!b(s) || s === "") {
584
+ let e = new Intl.NumberFormat(g.replace(/!/g, ""), u);
585
+ return m ? e.formatToParts(c) : e.format(c);
586
+ }
587
+ let _ = ft(t, s, g, r, f, p, "number format");
588
+ if (!b(_)) return i ? -1 : s;
589
+ let v = r[_][s], y = pt(_, s, u), x = o.get(y);
590
+ return x || (x = new Intl.NumberFormat(_, e({}, v, u)), o.set(y, x)), m ? x.formatToParts(c) : x.format(c);
591
+ }
592
+ var Ct = [
593
+ "localeMatcher",
594
+ "style",
595
+ "currency",
596
+ "currencyDisplay",
597
+ "currencySign",
598
+ "useGrouping",
599
+ "minimumIntegerDigits",
600
+ "minimumFractionDigits",
601
+ "maximumFractionDigits",
602
+ "minimumSignificantDigits",
603
+ "maximumSignificantDigits",
604
+ "compactDisplay",
605
+ "notation",
606
+ "signDisplay",
607
+ "unit",
608
+ "unitDisplay",
609
+ "roundingMode",
610
+ "roundingPriority",
611
+ "roundingIncrement",
612
+ "trailingZeroDisplay"
613
+ ];
614
+ function wt(...e) {
615
+ let [n] = e, r = t(), i = t();
616
+ if (!h(n)) throw G(W.INVALID_ARGUMENT);
617
+ let a = n, o = ht(e, r, i, Ct);
618
+ return [
619
+ r.key || "",
620
+ a,
621
+ r,
622
+ o
623
+ ];
624
+ }
625
+ function Tt(e, t, n) {
626
+ mt(e.__numberFormatters, t, n);
627
+ }
628
+ var Et = (e) => e, Dt = (e) => "", Ot = "text", kt = (e) => e.length === 0 ? "" : x(e), At = E;
629
+ function Q(e, t) {
630
+ return e = Math.abs(e), t === 2 ? e === 1 ? 0 : 1 : Math.min(e, 2);
631
+ }
632
+ function jt(e) {
633
+ let t = h(e.pluralIndex) ? e.pluralIndex : -1;
634
+ return h(e.named?.count) ? e.named.count : h(e.named?.n) ? e.named.n : t;
635
+ }
636
+ function Mt(n = {}) {
637
+ let r = n.locale, i = jt(n), a = b(r) && m(n.pluralRules?.[r]) ? n.pluralRules[r] : Q, o = a === Q ? void 0 : Q, s = (e) => e[a(i, e.length, o)], c = n.list || [], l = (e) => c[e], d = n.named || t();
638
+ h(n.pluralIndex) && (d.count ||= n.pluralIndex, d.n ||= n.pluralIndex);
639
+ let f = (e) => d[e];
640
+ function p(e, t) {
641
+ return (m(n.messages) ? n.messages(e, !!t) : g(n.messages) ? n.messages[e] : !1) || (n.parent ? n.parent.message(e) : Dt);
642
+ }
643
+ let _ = (e) => n.modifiers ? n.modifiers[e] : Et, v = m(n.processor?.normalize) ? n.processor.normalize : kt, y = m(n.processor?.interpolate) ? n.processor.interpolate : At, x = {
644
+ list: l,
645
+ named: f,
646
+ plural: s,
647
+ linked: (e, ...t) => {
648
+ let [n, r] = t, i = "text", a = "";
649
+ t.length === 1 ? g(n) ? (a = n.modifier || a, i = n.type || i) : b(n) && (a = n || a) : t.length === 2 && (b(n) && (a = n || a), b(r) && (i = r || i));
650
+ let o = p(e, !0)(x), s = o === "" || o === void 0 ? e : o, c = i === "vnode" && u(s) && a ? s[0] : s;
651
+ return a ? _(a)(c, i) : c;
652
+ },
653
+ message: p,
654
+ type: b(n.processor?.type) ? n.processor.type : Ot,
655
+ interpolate: y,
656
+ normalize: v,
657
+ values: e(t(), c, d)
658
+ };
659
+ return x;
660
+ }
661
+ var Nt = () => "", $ = (e) => m(e);
662
+ function Pt(n, ...r) {
663
+ let { fallbackFormat: i, postTranslation: a, unresolving: o, messageCompiler: s, fallbackLocale: c, messages: l } = n, [u, f] = zt(...r), p = d(f.missingWarn) ? f.missingWarn : n.missingWarn, h = d(f.fallbackWarn) ? f.fallbackWarn : n.fallbackWarn, g = d(f.escapeParameter) ? f.escapeParameter : n.escapeParameter, _ = !!f.resolvedMessage, v = b(f.default) || d(f.default) ? d(f.default) ? s ? u : () => u : f.default : i ? s ? u : () => u : null, y = i || v != null && (b(v) || m(v)), x = K(n, f);
664
+ g && Ft(f);
665
+ let [S, C, T] = _ ? [
666
+ u,
667
+ x,
668
+ l[x] || t()
669
+ ] : It(n, u, x, c, h, p), E = S, O = u;
670
+ if (!_ && !(b(E) || N(E) || $(E)) && y && (E = v, O = E), !_ && (!(b(E) || N(E) || $(E)) || !b(C))) return o ? -1 : u;
671
+ if (process.env.NODE_ENV !== "production" && b(E) && n.messageCompiler == null) return D(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${u}'.`), u;
672
+ let k = !1, A = $(E) ? E : Lt(n, u, C, E, O, () => {
673
+ k = !0;
674
+ });
675
+ if (k) return E;
676
+ let j = Rt(n, A, Mt(Ht(n, C, T, f))), M = a ? a(j, u) : j;
677
+ if (g && b(M) && (M = w(M)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
678
+ let t = {
679
+ timestamp: Date.now(),
680
+ key: b(u) ? u : $(E) ? E.key : "",
681
+ locale: C || ($(E) ? E.locale : ""),
682
+ format: b(E) ? E : $(E) ? E.source : "",
683
+ message: M
684
+ };
685
+ t.meta = e({}, n.__meta, $e() || {}), Ce(t);
686
+ }
687
+ return M;
688
+ }
689
+ function Ft(e) {
690
+ u(e.list) ? e.list = e.list.map((e) => b(e) ? n(e) : e) : g(e.named) && Object.keys(e.named).forEach((t) => {
691
+ b(e.named[t]) && (e.named[t] = n(e.named[t]));
692
+ });
693
+ }
694
+ function It(e, n, r, i, a, o) {
695
+ let { messages: s, onWarn: c, messageResolver: u, localeFallbacker: d } = e, f = d(e, i, r), p = t(), m, h = null, g = r, _ = null, v = "translate";
696
+ for (let i = 0; i < f.length; i++) {
697
+ m = _ = f[i], process.env.NODE_ENV !== "production" && r !== m && !ut(r, m) && ot(a, n) && c(X(Y.FALLBACK_TO_TRANSLATE, {
698
+ key: n,
699
+ target: m
700
+ }));
701
+ let d = process.env.NODE_ENV === "production" ? void 0 : e.__v_emitter;
702
+ process.env.NODE_ENV !== "production" && r !== m && d && d.emit("fallback", {
703
+ type: v,
704
+ key: n,
705
+ from: g,
706
+ to: _,
707
+ groupId: T(v, n)
708
+ }), p = s[m] || t();
709
+ let y = null, x, w;
710
+ if (process.env.NODE_ENV !== "production" && l && d && (y = window.performance.now(), x = "intlify-message-resolve-start", w = "intlify-message-resolve-end", S && S(x)), (h = u(p, n)) === null && (h = p[n]), process.env.NODE_ENV !== "production" && l && d) {
711
+ let e = window.performance.now();
712
+ d && y && h && d.emit("message-resolve", {
713
+ type: "message-resolve",
714
+ key: n,
715
+ message: h,
716
+ time: e - y,
717
+ groupId: T(v, n)
718
+ }), x && w && S && C && (S(w), C("intlify message resolve", x, w));
719
+ }
720
+ if (b(h) || N(h) || $(h)) break;
721
+ if (!dt(m, f)) {
722
+ let t = ct(e, n, m, o, v);
723
+ t !== n && (h = t);
724
+ }
725
+ g = _;
726
+ }
727
+ return [
728
+ h,
729
+ m,
730
+ p
731
+ ];
732
+ }
733
+ function Lt(e, t, n, r, i, a) {
734
+ let { messageCompiler: o, warnHtmlMessage: s } = e;
735
+ if ($(r)) {
736
+ let e = r;
737
+ return e.locale = e.locale || n, e.key = e.key || t, e;
738
+ }
739
+ if (o == null) {
740
+ let e = (() => r);
741
+ return e.locale = n, e.key = t, e;
742
+ }
743
+ let c = process.env.NODE_ENV === "production" ? void 0 : e.__v_emitter, u = null, d, f;
744
+ process.env.NODE_ENV !== "production" && l && c && (u = window.performance.now(), d = "intlify-message-compilation-start", f = "intlify-message-compilation-end", S && S(d));
745
+ let p = o(r, Bt(e, n, i, r, s, a));
746
+ if (process.env.NODE_ENV !== "production" && l && c) {
747
+ let e = window.performance.now();
748
+ c && u && c.emit("message-compilation", {
749
+ type: "message-compilation",
750
+ message: r,
751
+ time: e - u,
752
+ groupId: T("translate", t)
753
+ }), d && f && S && C && (S(f), C("intlify message compilation", d, f));
754
+ }
755
+ return p.locale = n, p.key = t, p.source = r, p;
756
+ }
757
+ function Rt(e, t, n) {
758
+ let r = process.env.NODE_ENV === "production" ? void 0 : e.__v_emitter, i = null, a, o;
759
+ process.env.NODE_ENV !== "production" && l && r && (i = window.performance.now(), a = "intlify-message-evaluation-start", o = "intlify-message-evaluation-end", S && S(a));
760
+ let s = t(n);
761
+ if (process.env.NODE_ENV !== "production" && l && r) {
762
+ let e = window.performance.now();
763
+ r && i && r.emit("message-evaluation", {
764
+ type: "message-evaluation",
765
+ value: s,
766
+ time: e - i,
767
+ groupId: T("translate", t.key)
768
+ }), a && o && S && C && (S(o), C("intlify message evaluation", a, o));
769
+ }
770
+ return s;
771
+ }
772
+ function zt(...n) {
773
+ let [r, i, a] = n, o = t();
774
+ if (!b(r) && !h(r) && !$(r) && !N(r)) throw G(W.INVALID_ARGUMENT);
775
+ let s = h(r) ? String(r) : ($(r), r);
776
+ return h(i) ? o.plural = i : b(i) ? o.default = i : _(i) && !p(i) ? o.named = i : u(i) && (o.list = i), h(a) ? o.plural = a : b(a) ? o.default = a : _(a) && e(o, a), [s, o];
777
+ }
778
+ function Bt(e, t, n, r, i, s) {
779
+ return {
780
+ locale: t,
781
+ key: n,
782
+ warnHtmlMessage: i,
783
+ onError: (t) => {
784
+ if (s && s(t), process.env.NODE_ENV !== "production") {
785
+ let i = Vt(r), o = t.location && i && a(i, t.location.start.offset, t.location.end.offset), s = e.__v_emitter;
786
+ s && i && s.emit("compile-error", {
787
+ message: i,
788
+ error: t.message,
789
+ start: t.location && t.location.start.offset,
790
+ end: t.location && t.location.end.offset,
791
+ groupId: T("translate", n)
792
+ });
793
+ let c = `Message compilation error: ${t.message}`;
794
+ throw SyntaxError(o ? `${c}\n${o}` : c);
795
+ }
796
+ throw t;
797
+ },
798
+ onCacheKey: (e) => o(t, n, e)
799
+ };
800
+ }
801
+ function Vt(e) {
802
+ if (b(e)) return e;
803
+ if (e.loc && e.loc.source) return e.loc.source;
804
+ }
805
+ function Ht(e, t, n, r) {
806
+ let { modifiers: i, pluralRules: a, messageResolver: o, fallbackLocale: s, fallbackWarn: c, missingWarn: l, fallbackContext: u } = e, d = {
807
+ locale: t,
808
+ modifiers: i,
809
+ pluralRules: a,
810
+ messages: (r, i) => {
811
+ let a = o(n, r);
812
+ if (a == null && (u || i)) {
813
+ let [n, , i] = It(u || e, r, t, s, c, l);
814
+ a = n ?? o(i, r);
815
+ }
816
+ if (b(a) || N(a)) {
817
+ let n = !1, i = Lt(e, r, t, a, r, () => {
818
+ n = !0;
819
+ });
820
+ return n ? Nt : i;
821
+ }
822
+ return $(a) ? a : Nt;
823
+ }
824
+ };
825
+ return e.processor && (d.processor = e.processor), r.list && (d.list = r.list), r.named && (d.named = r.named), h(r.plural) && (d.pluralIndex = r.plural), d;
826
+ }
827
+ ee();
828
+ //#endregion
829
+ export { pe as AST_NODE_PROPS_KEYS, W as CoreErrorCodes, Y as CoreWarnCodes, yt as DATETIME_FORMAT_OPTIONS_KEYS, Z as DEFAULT_LOCALE, Ot as DEFAULT_MESSAGE_DATA_TYPE, Ct as NUMBER_FORMAT_OPTIONS_KEYS, He as VERSION, xt as clearDateTimeFormat, Tt as clearNumberFormat, be as compile, A as createCompileError, it as createCoreContext, G as createCoreError, Mt as createMessageContext, vt as datetime, Oe as fallbackWithLocaleChain, De as fallbackWithSimple, $e as getAdditionalMeta, nt as getFallbackContext, K as getLocale, X as getWarnMessage, ct as handleMissing, Se as initI18nDevTools, ut as isAlmostSameLocale, dt as isImplicitFallback, N as isMessageAST, $ as isMessageFunction, ot as isTranslateFallbackWarn, st as isTranslateMissingWarn, St as number, Le as parse, bt as parseDateTimeArgs, wt as parseNumberArgs, zt as parseTranslateArgs, Xe as registerLocaleFallbacker, Ke as registerMessageCompiler, Je as registerMessageResolver, Ee as resolveLocale, Be as resolveValue, ze as resolveWithKeyValue, Qe as setAdditionalMeta, xe as setDevToolsHook, tt as setFallbackContext, Pt as translate, Ce as translateDevTools, lt as updateFallbackLocale };