exploria-ui 2026.6.16 → 2026.7.7

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