@feedmepos/mf-inventory-portal 1.7.11 → 1.7.12-dev.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.
- package/dist/App-Zjoj7th9.js +1434 -0
- package/dist/{ApprovalView-Dn0-OeH0.js → ApprovalView-Cl5HhN3j.js} +9 -9
- package/dist/{BindingsDialog-BVVu8xWS.js → BindingsDialog-3NRAskTw.js} +2 -2
- package/dist/{BindingsPicker-krMKURKj.js → BindingsPicker-Dn_Z7AXH.js} +2 -2
- package/dist/{BindingsTable-CLiGmTHB.js → BindingsTable-DJfPc3bX.js} +4 -4
- package/dist/BulkReceiveRequestView-kFVonMtj.js +2657 -0
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-BYtJnIsF.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-Cu-LwhMc.js} +1 -1
- package/dist/{ClosingDraftView-fUMDbnI6.js → ClosingDraftView-rgY5R7rH.js} +19 -19
- package/dist/{ClosingHistoryView-Cfvkxwlh.js → ClosingHistoryView-BWo5Zfg9.js} +5 -5
- package/dist/{ClosingTemplateView-DtIeSknz.js → ClosingTemplateView-0hd1bbRF.js} +16 -16
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-Bz7CjD7v.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-BVLkGI3q.js} +1 -1
- package/dist/{DefaultView-BbN62d8p.js → DefaultView-D_a7mO1d.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-91UH3oJ8.js → DeliveryOrderPrintPreview-wvMJXbqW.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-DDunnzgw.js → EmailDialog.vue_vue_type_script_setup_true_lang-CI5wpzVc.js} +4111 -4106
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CKlpaNGP.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DVeCzgYj.js} +6 -6
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DOqGzn08.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-aY75LBvg.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CxdQsFqQ.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-I7MyyY0l.js} +2 -2
- package/dist/{FmMultiselectDialog-BEVkUX96.js → FmMultiselectDialog-Bzx3qvlQ.js} +1 -1
- package/dist/{FmMultiselectDialog-Dg70WmLs.js → FmMultiselectDialog-CALAu98v.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-RQ44PYLb.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DXcWyoms.js} +6 -6
- package/dist/{ImportView-C0hAMz8m.js → ImportView-C03iv8Rz.js} +499 -496
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-C6SNYEJl.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-D22hIFRS.js} +1 -1
- package/dist/{IngredientGroupView-CRGyWM_X.js → IngredientGroupView-D9sVDZ4K.js} +5 -5
- package/dist/{IngredientsView-C7CVkoou.js → IngredientsView-mWr_3IOT.js} +18 -17
- package/dist/{IntegrationExplorerView-2nvAOHbA.js → IntegrationExplorerView-BP4OsTrw.js} +4 -4
- package/dist/{IntegrationView-CYSaTE2T.js → IntegrationView-tDdgJq8v.js} +14 -14
- package/dist/{InventoryBindingForm-CezLMw2l.js → InventoryBindingForm-B3xXDk9D.js} +1 -1
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-BrCfJMBq.js +563 -0
- package/dist/{InventoryBindingSummary-QOztXyC8.js → InventoryBindingSummary-IwLszyLP.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BT0zK5o_.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CnTmeO6C.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-_w5kZ9SM.js → PremiumBadge.vue_vue_type_script_setup_true_lang-WLmWGNM1.js} +1 -1
- package/dist/{ProductionView-BveNOlcK.js → ProductionView-D674uvHU.js} +7 -7
- package/dist/{PublishView-bmecemJd.js → PublishView-CnObB4ed.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-CDvO6BLm.js → PurchaseOrderPrintPreview-SRYoRNXX.js} +2 -2
- package/dist/{ReceiveRequestView-CwVQ-KzO.js → ReceiveRequestView-BH9q6BNw.js} +14 -14
- package/dist/RecipeView-B6rTxGUj.js +3625 -0
- package/dist/{SettingsView-DJcAum3t.js → SettingsView-ChRZoXOQ.js} +4 -4
- package/dist/{StockView-GDvWxpOJ.js → StockView-CNbLoirW.js} +21 -21
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DcCO7HHD.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-D431xXOp.js} +1 -1
- package/dist/{SupplierView-C3S8tTyF.js → SupplierView-0Ik9t7h5.js} +12 -12
- package/dist/{SurchargeView-skaVlUu3.js → SurchargeView-B0EOef3a.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-BrBgjPjN.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-CJQzCpzK.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BcvXD9Kt.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BA_3tfAX.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BO6vRibE.js → TransferDetails.vue_vue_type_script_setup_true_lang-BLATExKY.js} +1639 -1575
- package/dist/{TransferTemplateView-j6GNvA2S.js → TransferTemplateView-BlYUrUSk.js} +20 -20
- package/dist/{UnitCostHistoryView-0H_0-DbA.js → UnitCostHistoryView-BJV-skNz.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DJa1AaL2.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-Bc8RdRi2.js} +4 -4
- package/dist/{UnitView-CSD1Gnsb.js → UnitView-B6CKmwnd.js} +8 -8
- package/dist/{WarehouseView-Cua66P5F.js → WarehouseView-Bib8KRcn.js} +5 -5
- package/dist/{WastageTemplateView-kvuJXBiI.js → WastageTemplateView-Bc54z0GW.js} +14 -14
- package/dist/api/changelog.d.ts +132 -0
- package/dist/api/purchase-order.d.ts +2 -0
- package/dist/{app-Bon7qTu5.js → app-B5gyvQqp.js} +10029 -9136
- package/dist/app.d.ts +906 -15
- package/dist/app.js +1 -1
- package/dist/{closing-template-BjekEF5s.js → closing-template-BX7M6U28.js} +1 -1
- package/dist/{date2-BXEHP1It.js → date2-B3vSNZPa.js} +5 -5
- package/dist/{dayjs.min-iFbgqyzU.js → dayjs.min-RI1MhHIp.js} +1 -1
- package/dist/{decimal-BIi1j8fj.js → decimal-C8GlBD-D.js} +2 -2
- package/dist/{defineDeepModel-IMW3a6OW.js → defineDeepModel-BlNY4PKK.js} +1 -1
- package/dist/{duplicate-template-DFciXweZ.js → duplicate-template-DOLKU747.js} +1 -1
- package/dist/{feature-CNI4MMSc.js → feature-Db_mzTW5.js} +2 -2
- package/dist/{format-time-from-id-DDH3ceGb.js → format-time-from-id-D2NTH4Kl.js} +1 -1
- package/dist/{format-unit-display-Dp383g0F.js → format-unit-display-BzIlnWVZ.js} +27 -27
- package/dist/{import-export.helper-BPK_S1mX.js → import-export.helper-B2zDbTZ-.js} +6 -6
- package/dist/{index-BbhrAzLH.js → index-B-yiNvFs.js} +1 -1
- package/dist/{index-BeP05_CC.js → index-BOKqtp7W.js} +3 -3
- package/dist/{index-D20KUiXn.js → index-CTKj2npl.js} +3306 -3232
- package/dist/{inventory-core-dart.default-B7F_lZ7E.js → inventory-core-dart.default-BtP1IlTd.js} +1 -1
- package/dist/{lz-string-C_xIP_0T.js → lz-string-TliBBzY1.js} +1 -1
- package/dist/{netsuite-a6M2ml9V.js → netsuite-Bx9zfO6D.js} +3 -2
- package/dist/{number-4OG2ZSmc.js → number-ON9UUtj8.js} +3 -3
- package/dist/{predefined-templates-CjXICvUU.js → predefined-templates-DN_WPJfI.js} +1 -1
- package/dist/{purchase-order-template-CXdomQWy.js → purchase-order-template-C_9wLae5.js} +1 -1
- package/dist/{recalculationUtils-CEAhd7BW.js → recalculationUtils-DBTDkx9G.js} +1 -1
- package/dist/{rules-Dvr47IAA.js → rules-xnn3-Len.js} +2 -2
- package/dist/{stock-Caf05ukJ.js → stock-B3zGQryO.js} +3 -3
- package/dist/{stock-DEOhLNew.js → stock-CB7P__qm.js} +1 -1
- package/dist/stores/bulk-job.d.ts +13 -0
- package/dist/style.css +1 -1
- package/dist/{supplier-BvHSfhV9.js → supplier-BTXTn0bN.js} +2 -2
- package/dist/{surcharge-Cu0KfPTD.js → surcharge-voSJfpsM.js} +8 -8
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-D71zOsgd.js → uom-rules-64EwcIr7.js} +1 -1
- package/dist/{use-ingredient-select-dialog-DZzvq4UK.js → use-ingredient-select-dialog-CWSEDu-m.js} +2 -2
- package/dist/{use-inventory-binding-dialog-C1focrkJ.js → use-inventory-binding-dialog-HuxFkPP0.js} +2 -2
- package/dist/{use-template-enabled-locations-DMcKtqkt.js → use-template-enabled-locations-Cw5roIHZ.js} +2 -2
- package/dist/{use-transfer-locations-DJttEyyP.js → use-transfer-locations-4QYq6lOQ.js} +2 -2
- package/dist/{useHrmPermission-DaLaaQR9.js → useHrmPermission-lATKCM9d.js} +1 -1
- package/dist/{useNavigationMenu-CoX50gGK.js → useNavigationMenu-gDaTop4p.js} +2 -2
- package/dist/{useSseClient-DTpRYQC7.js → useSseClient-C8HDJYTK.js} +1 -1
- package/dist/views/changelog/components/ChangelogDialog.vue.d.ts +19 -0
- package/dist/views/changelog/components/ChangelogFloatingButton.vue.d.ts +2 -0
- package/dist/views/changelog/components/ChangelogPanel.spec.d.ts +1 -0
- package/dist/views/changelog/components/ChangelogPanel.vue.d.ts +20 -0
- package/dist/views/changelog/composables/change-path.d.ts +10 -0
- package/dist/views/changelog/composables/commit-message.d.ts +9 -0
- package/dist/views/changelog/composables/commit-message.spec.d.ts +1 -0
- package/dist/views/changelog/composables/json-line-diff.d.ts +10 -0
- package/dist/views/changelog/composables/json-line-diff.spec.d.ts +1 -0
- package/dist/views/changelog/composables/use-changelog.d.ts +90 -0
- package/dist/views/changelog/composables/use-changelog.spec.d.ts +1 -0
- package/dist/views/changelog/composables/use-inventory-record-commits.d.ts +97 -0
- package/dist/views/changelog/composables/use-inventory-record-commits.spec.d.ts +1 -0
- package/dist/views/changelog/composables/use-snapshot-diff.d.ts +29 -0
- package/dist/views/changelog/composables/use-snapshot-diff.spec.d.ts +1 -0
- package/dist/views/changelog/composables/value-tree.d.ts +14 -0
- package/dist/views/changelog/composables/value-tree.spec.d.ts +1 -0
- package/dist/views/import/helper/submit-rows.d.ts +13 -0
- package/dist/views/import/helper/submit-rows.spec.d.ts +1 -0
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +2 -0
- package/dist/views/ingredients/components/inventory-binding/RecipeBindingBreakdown.vue.d.ts +25 -0
- package/dist/views/ingredients/components/inventory-binding/composables/recipe-breakdown.d.ts +34 -0
- package/dist/views/ingredients/components/inventory-binding/composables/recipe-breakdown.spec.d.ts +1 -0
- package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +2 -0
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +4 -0
- package/dist/views/receive-request/components/email-dialog/EmailDialog.spec.d.ts +1 -0
- package/dist/views/receive-request/components/email-dialog/EmailDialogProps.d.ts +23 -9
- package/dist/views/recipe/composables/use-recipe-table.d.ts +11 -0
- package/dist/{vue-i18n-BC7M3p_r.js → vue-i18n-guKtBUVP.js} +478 -478
- package/dist/{xlsx.util-D7HlgjJM.js → xlsx.util-DFBAJNta.js} +2 -2
- package/package.json +4 -4
- package/dist/App-C_6oyWjy.js +0 -311
- package/dist/BulkReceiveRequestView-FKdv9h5_.js +0 -2595
- package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-CJ1HyFqS.js +0 -441
- package/dist/RecipeView-B32tleCa.js +0 -3584
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { getCurrentInstance as fn, inject as
|
|
1
|
+
import { getCurrentInstance as fn, inject as pt, ref as Et, shallowRef as gt, computed as he, watch as On, onMounted as Tt, onUnmounted as ht, defineComponent as mn, h as qn, createVNode as Nt, Text as bt, Fragment as Qn } from "vue";
|
|
2
2
|
import "@vue/devtools-api";
|
|
3
3
|
/*!
|
|
4
4
|
* shared v10.0.5
|
|
5
5
|
* (c) 2024 kazuya kawaguchi
|
|
6
6
|
* Released under the MIT License.
|
|
7
7
|
*/
|
|
8
|
-
const kn = typeof window < "u", ie = (e, n = !1) => n ? Symbol.for(e) : Symbol(e), It = (e, n, t) => Ot({ l: e, k: n, s: t }), Ot = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"),
|
|
8
|
+
const kn = typeof window < "u", ie = (e, n = !1) => n ? Symbol.for(e) : Symbol(e), It = (e, n, t) => Ot({ l: e, k: n, s: t }), Ot = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), j = (e) => typeof e == "number" && isFinite(e), kt = (e) => dn(e) === "[object Date]", Pe = (e) => dn(e) === "[object RegExp]", Ue = (e) => D(e) && Object.keys(e).length === 0, K = Object.assign, Lt = Object.create, U = (e = null) => Lt(e);
|
|
9
9
|
let Ln;
|
|
10
10
|
const ce = () => Ln || (Ln = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : U());
|
|
11
11
|
function vn(e) {
|
|
@@ -15,14 +15,14 @@ const vt = Object.prototype.hasOwnProperty;
|
|
|
15
15
|
function Q(e, n) {
|
|
16
16
|
return vt.call(e, n);
|
|
17
17
|
}
|
|
18
|
-
const
|
|
19
|
-
function
|
|
18
|
+
const x = Array.isArray, w = (e) => typeof e == "function", O = (e) => typeof e == "string", B = (e) => typeof e == "boolean", P = (e) => e !== null && typeof e == "object", yt = (e) => P(e) && w(e.then) && w(e.catch), Zn = Object.prototype.toString, dn = (e) => Zn.call(e), D = (e) => dn(e) === "[object Object]", Rt = (e) => e == null ? "" : x(e) || D(e) && e.toString === Zn ? JSON.stringify(e, null, 2) : String(e);
|
|
19
|
+
function pn(e, n = "") {
|
|
20
20
|
return e.reduce((t, r, c) => c === 0 ? t + r : t + n + r, "");
|
|
21
21
|
}
|
|
22
22
|
function At(e, n) {
|
|
23
23
|
typeof console < "u" && (console.warn("[intlify] " + e), n && console.warn(n.stack));
|
|
24
24
|
}
|
|
25
|
-
const Ae = (e) => !P(e) ||
|
|
25
|
+
const Ae = (e) => !P(e) || x(e);
|
|
26
26
|
function De(e, n) {
|
|
27
27
|
if (Ae(e) || Ae(n))
|
|
28
28
|
throw new Error("Invalid value");
|
|
@@ -71,7 +71,7 @@ function Ft(e) {
|
|
|
71
71
|
const n = e;
|
|
72
72
|
let t = 0, r = 1, c = 1, o = 0;
|
|
73
73
|
const l = (T) => n[T] === Pt && n[T + 1] === X, f = (T) => n[T] === X, _ = (T) => n[T] === Ut, g = (T) => n[T] === Mt, L = (T) => l(T) || f(T) || _(T) || g(T), k = () => t, N = () => r, A = () => c, S = () => o, v = (T) => l(T) || _(T) || g(T) ? X : n[T], y = () => v(t), i = () => v(t + o);
|
|
74
|
-
function
|
|
74
|
+
function p() {
|
|
75
75
|
return o = 0, L(t) && (r++, c = 0), l(t) && t++, t++, c++, n[t];
|
|
76
76
|
}
|
|
77
77
|
function h() {
|
|
@@ -86,7 +86,7 @@ function Ft(e) {
|
|
|
86
86
|
function b() {
|
|
87
87
|
const T = t + o;
|
|
88
88
|
for (; T !== t; )
|
|
89
|
-
|
|
89
|
+
p();
|
|
90
90
|
o = 0;
|
|
91
91
|
}
|
|
92
92
|
return {
|
|
@@ -97,7 +97,7 @@ function Ft(e) {
|
|
|
97
97
|
charAt: v,
|
|
98
98
|
currentChar: y,
|
|
99
99
|
currentPeek: i,
|
|
100
|
-
next:
|
|
100
|
+
next: p,
|
|
101
101
|
peek: h,
|
|
102
102
|
reset: m,
|
|
103
103
|
resetPeek: I,
|
|
@@ -119,375 +119,375 @@ function Gt(e, n = {}) {
|
|
|
119
119
|
inLinked: !1,
|
|
120
120
|
text: ""
|
|
121
121
|
}, g = () => _, { onError: L } = n;
|
|
122
|
-
function k(
|
|
122
|
+
function k(s, a, d, ...R) {
|
|
123
123
|
const V = g();
|
|
124
|
-
if (
|
|
125
|
-
const C = t ? tn(V.startLoc,
|
|
124
|
+
if (a.column += d, a.offset += d, L) {
|
|
125
|
+
const C = t ? tn(V.startLoc, a) : null, u = Fe(s, C, {
|
|
126
126
|
domain: Ht,
|
|
127
127
|
args: R
|
|
128
128
|
});
|
|
129
129
|
L(u);
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
function N(
|
|
133
|
-
|
|
134
|
-
const R = { type:
|
|
135
|
-
return t && (R.loc = tn(
|
|
132
|
+
function N(s, a, d) {
|
|
133
|
+
s.endLoc = o(), s.currentType = a;
|
|
134
|
+
const R = { type: a };
|
|
135
|
+
return t && (R.loc = tn(s.startLoc, s.endLoc)), d != null && (R.value = d), R;
|
|
136
136
|
}
|
|
137
|
-
const A = (
|
|
138
|
-
|
|
137
|
+
const A = (s) => N(
|
|
138
|
+
s,
|
|
139
139
|
13
|
|
140
140
|
/* TokenTypes.EOF */
|
|
141
141
|
);
|
|
142
|
-
function S(
|
|
143
|
-
return
|
|
142
|
+
function S(s, a) {
|
|
143
|
+
return s.currentChar() === a ? (s.next(), a) : (k(M.EXPECTED_TOKEN, o(), 0, a), "");
|
|
144
144
|
}
|
|
145
|
-
function v(
|
|
146
|
-
let
|
|
147
|
-
for (;
|
|
148
|
-
|
|
149
|
-
return
|
|
145
|
+
function v(s) {
|
|
146
|
+
let a = "";
|
|
147
|
+
for (; s.currentPeek() === ee || s.currentPeek() === X; )
|
|
148
|
+
a += s.currentPeek(), s.peek();
|
|
149
|
+
return a;
|
|
150
150
|
}
|
|
151
|
-
function y(
|
|
152
|
-
const
|
|
153
|
-
return
|
|
151
|
+
function y(s) {
|
|
152
|
+
const a = v(s);
|
|
153
|
+
return s.skipToPeek(), a;
|
|
154
154
|
}
|
|
155
|
-
function i(
|
|
156
|
-
if (
|
|
155
|
+
function i(s) {
|
|
156
|
+
if (s === re)
|
|
157
157
|
return !1;
|
|
158
|
-
const
|
|
159
|
-
return
|
|
160
|
-
|
|
161
|
-
|
|
158
|
+
const a = s.charCodeAt(0);
|
|
159
|
+
return a >= 97 && a <= 122 || // a-z
|
|
160
|
+
a >= 65 && a <= 90 || // A-Z
|
|
161
|
+
a === 95;
|
|
162
162
|
}
|
|
163
|
-
function
|
|
164
|
-
if (
|
|
163
|
+
function p(s) {
|
|
164
|
+
if (s === re)
|
|
165
165
|
return !1;
|
|
166
|
-
const
|
|
167
|
-
return
|
|
166
|
+
const a = s.charCodeAt(0);
|
|
167
|
+
return a >= 48 && a <= 57;
|
|
168
168
|
}
|
|
169
|
-
function h(
|
|
170
|
-
const { currentType:
|
|
171
|
-
if (
|
|
169
|
+
function h(s, a) {
|
|
170
|
+
const { currentType: d } = a;
|
|
171
|
+
if (d !== 2)
|
|
172
172
|
return !1;
|
|
173
|
-
v(
|
|
174
|
-
const R = i(
|
|
175
|
-
return
|
|
173
|
+
v(s);
|
|
174
|
+
const R = i(s.currentPeek());
|
|
175
|
+
return s.resetPeek(), R;
|
|
176
176
|
}
|
|
177
|
-
function m(
|
|
178
|
-
const { currentType:
|
|
179
|
-
if (
|
|
177
|
+
function m(s, a) {
|
|
178
|
+
const { currentType: d } = a;
|
|
179
|
+
if (d !== 2)
|
|
180
180
|
return !1;
|
|
181
|
-
v(
|
|
182
|
-
const R =
|
|
183
|
-
return
|
|
181
|
+
v(s);
|
|
182
|
+
const R = s.currentPeek() === "-" ? s.peek() : s.currentPeek(), V = p(R);
|
|
183
|
+
return s.resetPeek(), V;
|
|
184
184
|
}
|
|
185
|
-
function I(
|
|
186
|
-
const { currentType:
|
|
187
|
-
if (
|
|
185
|
+
function I(s, a) {
|
|
186
|
+
const { currentType: d } = a;
|
|
187
|
+
if (d !== 2)
|
|
188
188
|
return !1;
|
|
189
|
-
v(
|
|
190
|
-
const R =
|
|
191
|
-
return
|
|
189
|
+
v(s);
|
|
190
|
+
const R = s.currentPeek() === yn;
|
|
191
|
+
return s.resetPeek(), R;
|
|
192
192
|
}
|
|
193
|
-
function b(
|
|
194
|
-
const { currentType:
|
|
195
|
-
if (
|
|
193
|
+
function b(s, a) {
|
|
194
|
+
const { currentType: d } = a;
|
|
195
|
+
if (d !== 7)
|
|
196
196
|
return !1;
|
|
197
|
-
v(
|
|
198
|
-
const R =
|
|
199
|
-
return
|
|
197
|
+
v(s);
|
|
198
|
+
const R = s.currentPeek() === ".";
|
|
199
|
+
return s.resetPeek(), R;
|
|
200
200
|
}
|
|
201
|
-
function T(
|
|
202
|
-
const { currentType:
|
|
203
|
-
if (
|
|
201
|
+
function T(s, a) {
|
|
202
|
+
const { currentType: d } = a;
|
|
203
|
+
if (d !== 8)
|
|
204
204
|
return !1;
|
|
205
|
-
v(
|
|
206
|
-
const R = i(
|
|
207
|
-
return
|
|
205
|
+
v(s);
|
|
206
|
+
const R = i(s.currentPeek());
|
|
207
|
+
return s.resetPeek(), R;
|
|
208
208
|
}
|
|
209
|
-
function H(
|
|
210
|
-
const { currentType:
|
|
211
|
-
if (!(
|
|
209
|
+
function H(s, a) {
|
|
210
|
+
const { currentType: d } = a;
|
|
211
|
+
if (!(d === 7 || d === 11))
|
|
212
212
|
return !1;
|
|
213
|
-
v(
|
|
214
|
-
const R =
|
|
215
|
-
return
|
|
213
|
+
v(s);
|
|
214
|
+
const R = s.currentPeek() === ":";
|
|
215
|
+
return s.resetPeek(), R;
|
|
216
216
|
}
|
|
217
|
-
function G(
|
|
218
|
-
const { currentType:
|
|
219
|
-
if (
|
|
217
|
+
function G(s, a) {
|
|
218
|
+
const { currentType: d } = a;
|
|
219
|
+
if (d !== 9)
|
|
220
220
|
return !1;
|
|
221
221
|
const R = () => {
|
|
222
|
-
const C =
|
|
223
|
-
return C === "{" ? i(
|
|
222
|
+
const C = s.currentPeek();
|
|
223
|
+
return C === "{" ? i(s.peek()) : C === "@" || C === "|" || C === ":" || C === "." || C === ee || !C ? !1 : C === X ? (s.peek(), R()) : q(s, !1);
|
|
224
224
|
}, V = R();
|
|
225
|
-
return
|
|
226
|
-
}
|
|
227
|
-
function $(
|
|
228
|
-
v(
|
|
229
|
-
const
|
|
230
|
-
return
|
|
231
|
-
}
|
|
232
|
-
function q(
|
|
233
|
-
const
|
|
234
|
-
const u =
|
|
235
|
-
return u === "{" || u === "@" || !u ? V : u === "|" ? !(C === ee || C === X) : u === ee ? (
|
|
236
|
-
}, R =
|
|
237
|
-
return
|
|
238
|
-
}
|
|
239
|
-
function
|
|
240
|
-
const
|
|
241
|
-
return
|
|
242
|
-
}
|
|
243
|
-
function le(
|
|
244
|
-
const
|
|
245
|
-
return
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
}
|
|
251
|
-
function He(
|
|
252
|
-
return
|
|
253
|
-
}
|
|
254
|
-
function Ge(
|
|
255
|
-
const
|
|
256
|
-
return
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
}
|
|
263
|
-
function Ve(
|
|
264
|
-
return
|
|
265
|
-
}
|
|
266
|
-
function We(
|
|
267
|
-
const
|
|
268
|
-
return
|
|
269
|
-
}
|
|
270
|
-
function Be(
|
|
271
|
-
return
|
|
272
|
-
}
|
|
273
|
-
function z(
|
|
274
|
-
const
|
|
275
|
-
return
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
}
|
|
279
|
-
function Le(
|
|
280
|
-
return
|
|
281
|
-
}
|
|
282
|
-
function ve(
|
|
283
|
-
let
|
|
284
|
-
for (;
|
|
285
|
-
|
|
286
|
-
return
|
|
287
|
-
}
|
|
288
|
-
function
|
|
289
|
-
let
|
|
225
|
+
return s.resetPeek(), V;
|
|
226
|
+
}
|
|
227
|
+
function $(s) {
|
|
228
|
+
v(s);
|
|
229
|
+
const a = s.currentPeek() === "|";
|
|
230
|
+
return s.resetPeek(), a;
|
|
231
|
+
}
|
|
232
|
+
function q(s, a = !0) {
|
|
233
|
+
const d = (V = !1, C = "") => {
|
|
234
|
+
const u = s.currentPeek();
|
|
235
|
+
return u === "{" || u === "@" || !u ? V : u === "|" ? !(C === ee || C === X) : u === ee ? (s.peek(), d(!0, ee)) : u === X ? (s.peek(), d(!0, X)) : !0;
|
|
236
|
+
}, R = d();
|
|
237
|
+
return a && s.resetPeek(), R;
|
|
238
|
+
}
|
|
239
|
+
function Y(s, a) {
|
|
240
|
+
const d = s.currentChar();
|
|
241
|
+
return d === re ? re : a(d) ? (s.next(), d) : null;
|
|
242
|
+
}
|
|
243
|
+
function le(s) {
|
|
244
|
+
const a = s.charCodeAt(0);
|
|
245
|
+
return a >= 97 && a <= 122 || // a-z
|
|
246
|
+
a >= 65 && a <= 90 || // A-Z
|
|
247
|
+
a >= 48 && a <= 57 || // 0-9
|
|
248
|
+
a === 95 || // _
|
|
249
|
+
a === 36;
|
|
250
|
+
}
|
|
251
|
+
function He(s) {
|
|
252
|
+
return Y(s, le);
|
|
253
|
+
}
|
|
254
|
+
function Ge(s) {
|
|
255
|
+
const a = s.charCodeAt(0);
|
|
256
|
+
return a >= 97 && a <= 122 || // a-z
|
|
257
|
+
a >= 65 && a <= 90 || // A-Z
|
|
258
|
+
a >= 48 && a <= 57 || // 0-9
|
|
259
|
+
a === 95 || // _
|
|
260
|
+
a === 36 || // $
|
|
261
|
+
a === 45;
|
|
262
|
+
}
|
|
263
|
+
function Ve(s) {
|
|
264
|
+
return Y(s, Ge);
|
|
265
|
+
}
|
|
266
|
+
function We(s) {
|
|
267
|
+
const a = s.charCodeAt(0);
|
|
268
|
+
return a >= 48 && a <= 57;
|
|
269
|
+
}
|
|
270
|
+
function Be(s) {
|
|
271
|
+
return Y(s, We);
|
|
272
|
+
}
|
|
273
|
+
function z(s) {
|
|
274
|
+
const a = s.charCodeAt(0);
|
|
275
|
+
return a >= 48 && a <= 57 || // 0-9
|
|
276
|
+
a >= 65 && a <= 70 || // A-F
|
|
277
|
+
a >= 97 && a <= 102;
|
|
278
|
+
}
|
|
279
|
+
function Le(s) {
|
|
280
|
+
return Y(s, z);
|
|
281
|
+
}
|
|
282
|
+
function ve(s) {
|
|
283
|
+
let a = "", d = "";
|
|
284
|
+
for (; a = Be(s); )
|
|
285
|
+
d += a;
|
|
286
|
+
return d;
|
|
287
|
+
}
|
|
288
|
+
function xe(s) {
|
|
289
|
+
let a = "";
|
|
290
290
|
for (; ; ) {
|
|
291
|
-
const
|
|
292
|
-
if (
|
|
291
|
+
const d = s.currentChar();
|
|
292
|
+
if (d === "{" || d === "}" || d === "@" || d === "|" || !d)
|
|
293
293
|
break;
|
|
294
|
-
if (
|
|
295
|
-
if (q(
|
|
296
|
-
|
|
294
|
+
if (d === ee || d === X)
|
|
295
|
+
if (q(s))
|
|
296
|
+
a += d, s.next();
|
|
297
297
|
else {
|
|
298
|
-
if ($(
|
|
298
|
+
if ($(s))
|
|
299
299
|
break;
|
|
300
|
-
|
|
300
|
+
a += d, s.next();
|
|
301
301
|
}
|
|
302
302
|
else
|
|
303
|
-
|
|
303
|
+
a += d, s.next();
|
|
304
304
|
}
|
|
305
|
-
return
|
|
306
|
-
}
|
|
307
|
-
function
|
|
308
|
-
y(
|
|
309
|
-
let
|
|
310
|
-
for (;
|
|
311
|
-
|
|
312
|
-
return
|
|
313
|
-
}
|
|
314
|
-
function
|
|
315
|
-
y(
|
|
316
|
-
let
|
|
317
|
-
return
|
|
318
|
-
}
|
|
319
|
-
function In(
|
|
320
|
-
return
|
|
321
|
-
}
|
|
322
|
-
function Ke(
|
|
323
|
-
y(
|
|
324
|
-
let
|
|
325
|
-
for (;
|
|
326
|
-
|
|
327
|
-
const R =
|
|
328
|
-
return R === X || R === re ? (k(M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, o(), 0), R === X && (
|
|
329
|
-
}
|
|
330
|
-
function Xe(
|
|
331
|
-
const
|
|
332
|
-
switch (
|
|
305
|
+
return a;
|
|
306
|
+
}
|
|
307
|
+
function Ye(s) {
|
|
308
|
+
y(s);
|
|
309
|
+
let a = "", d = "";
|
|
310
|
+
for (; a = Ve(s); )
|
|
311
|
+
d += a;
|
|
312
|
+
return s.currentChar() === re && k(M.UNTERMINATED_CLOSING_BRACE, o(), 0), d;
|
|
313
|
+
}
|
|
314
|
+
function je(s) {
|
|
315
|
+
y(s);
|
|
316
|
+
let a = "";
|
|
317
|
+
return s.currentChar() === "-" ? (s.next(), a += `-${ve(s)}`) : a += ve(s), s.currentChar() === re && k(M.UNTERMINATED_CLOSING_BRACE, o(), 0), a;
|
|
318
|
+
}
|
|
319
|
+
function In(s) {
|
|
320
|
+
return s !== yn && s !== X;
|
|
321
|
+
}
|
|
322
|
+
function Ke(s) {
|
|
323
|
+
y(s), S(s, "'");
|
|
324
|
+
let a = "", d = "";
|
|
325
|
+
for (; a = Y(s, In); )
|
|
326
|
+
a === "\\" ? d += Xe(s) : d += a;
|
|
327
|
+
const R = s.currentChar();
|
|
328
|
+
return R === X || R === re ? (k(M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, o(), 0), R === X && (s.next(), S(s, "'")), d) : (S(s, "'"), d);
|
|
329
|
+
}
|
|
330
|
+
function Xe(s) {
|
|
331
|
+
const a = s.currentChar();
|
|
332
|
+
switch (a) {
|
|
333
333
|
case "\\":
|
|
334
334
|
case "'":
|
|
335
|
-
return
|
|
335
|
+
return s.next(), `\\${a}`;
|
|
336
336
|
case "u":
|
|
337
|
-
return ye(
|
|
337
|
+
return ye(s, a, 4);
|
|
338
338
|
case "U":
|
|
339
|
-
return ye(
|
|
339
|
+
return ye(s, a, 6);
|
|
340
340
|
default:
|
|
341
|
-
return k(M.UNKNOWN_ESCAPE_SEQUENCE, o(), 0,
|
|
341
|
+
return k(M.UNKNOWN_ESCAPE_SEQUENCE, o(), 0, a), "";
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
function ye(
|
|
345
|
-
S(
|
|
344
|
+
function ye(s, a, d) {
|
|
345
|
+
S(s, a);
|
|
346
346
|
let R = "";
|
|
347
|
-
for (let V = 0; V <
|
|
348
|
-
const C = Le(
|
|
347
|
+
for (let V = 0; V < d; V++) {
|
|
348
|
+
const C = Le(s);
|
|
349
349
|
if (!C) {
|
|
350
|
-
k(M.INVALID_UNICODE_ESCAPE_SEQUENCE, o(), 0, `\\${
|
|
350
|
+
k(M.INVALID_UNICODE_ESCAPE_SEQUENCE, o(), 0, `\\${a}${R}${s.currentChar()}`);
|
|
351
351
|
break;
|
|
352
352
|
}
|
|
353
353
|
R += C;
|
|
354
354
|
}
|
|
355
|
-
return `\\${
|
|
356
|
-
}
|
|
357
|
-
function $e(
|
|
358
|
-
return
|
|
359
|
-
}
|
|
360
|
-
function Je(
|
|
361
|
-
y(
|
|
362
|
-
let
|
|
363
|
-
for (;
|
|
364
|
-
|
|
365
|
-
return
|
|
366
|
-
}
|
|
367
|
-
function qe(
|
|
368
|
-
let
|
|
369
|
-
for (;
|
|
370
|
-
|
|
371
|
-
return
|
|
372
|
-
}
|
|
373
|
-
function Qe(
|
|
374
|
-
const
|
|
375
|
-
const R =
|
|
376
|
-
return R === "{" || R === "@" || R === "|" || R === "(" || R === ")" || !R || R === ee ?
|
|
355
|
+
return `\\${a}${R}`;
|
|
356
|
+
}
|
|
357
|
+
function $e(s) {
|
|
358
|
+
return s !== "{" && s !== "}" && s !== ee && s !== X;
|
|
359
|
+
}
|
|
360
|
+
function Je(s) {
|
|
361
|
+
y(s);
|
|
362
|
+
let a = "", d = "";
|
|
363
|
+
for (; a = Y(s, $e); )
|
|
364
|
+
d += a;
|
|
365
|
+
return d;
|
|
366
|
+
}
|
|
367
|
+
function qe(s) {
|
|
368
|
+
let a = "", d = "";
|
|
369
|
+
for (; a = He(s); )
|
|
370
|
+
d += a;
|
|
371
|
+
return d;
|
|
372
|
+
}
|
|
373
|
+
function Qe(s) {
|
|
374
|
+
const a = (d) => {
|
|
375
|
+
const R = s.currentChar();
|
|
376
|
+
return R === "{" || R === "@" || R === "|" || R === "(" || R === ")" || !R || R === ee ? d : (d += R, s.next(), a(d));
|
|
377
377
|
};
|
|
378
|
-
return
|
|
378
|
+
return a("");
|
|
379
379
|
}
|
|
380
|
-
function ge(
|
|
381
|
-
y(
|
|
382
|
-
const
|
|
383
|
-
|
|
380
|
+
function ge(s) {
|
|
381
|
+
y(s);
|
|
382
|
+
const a = S(
|
|
383
|
+
s,
|
|
384
384
|
"|"
|
|
385
385
|
/* TokenChars.Pipe */
|
|
386
386
|
);
|
|
387
|
-
return y(
|
|
387
|
+
return y(s), a;
|
|
388
388
|
}
|
|
389
|
-
function ue(
|
|
390
|
-
let
|
|
391
|
-
switch (
|
|
389
|
+
function ue(s, a) {
|
|
390
|
+
let d = null;
|
|
391
|
+
switch (s.currentChar()) {
|
|
392
392
|
case "{":
|
|
393
|
-
return
|
|
394
|
-
|
|
393
|
+
return a.braceNest >= 1 && k(M.NOT_ALLOW_NEST_PLACEHOLDER, o(), 0), s.next(), d = N(
|
|
394
|
+
a,
|
|
395
395
|
2,
|
|
396
396
|
"{"
|
|
397
397
|
/* TokenChars.BraceLeft */
|
|
398
|
-
), y(
|
|
398
|
+
), y(s), a.braceNest++, d;
|
|
399
399
|
case "}":
|
|
400
|
-
return
|
|
401
|
-
|
|
400
|
+
return a.braceNest > 0 && a.currentType === 2 && k(M.EMPTY_PLACEHOLDER, o(), 0), s.next(), d = N(
|
|
401
|
+
a,
|
|
402
402
|
3,
|
|
403
403
|
"}"
|
|
404
404
|
/* TokenChars.BraceRight */
|
|
405
|
-
),
|
|
405
|
+
), a.braceNest--, a.braceNest > 0 && y(s), a.inLinked && a.braceNest === 0 && (a.inLinked = !1), d;
|
|
406
406
|
case "@":
|
|
407
|
-
return
|
|
407
|
+
return a.braceNest > 0 && k(M.UNTERMINATED_CLOSING_BRACE, o(), 0), d = _e(s, a) || A(a), a.braceNest = 0, d;
|
|
408
408
|
default: {
|
|
409
409
|
let V = !0, C = !0, u = !0;
|
|
410
|
-
if ($(
|
|
411
|
-
return
|
|
412
|
-
if (
|
|
413
|
-
return k(M.UNTERMINATED_CLOSING_BRACE, o(), 0),
|
|
414
|
-
if (V = h(
|
|
415
|
-
return
|
|
416
|
-
if (C = m(
|
|
417
|
-
return
|
|
418
|
-
if (u = I(
|
|
419
|
-
return
|
|
410
|
+
if ($(s))
|
|
411
|
+
return a.braceNest > 0 && k(M.UNTERMINATED_CLOSING_BRACE, o(), 0), d = N(a, 1, ge(s)), a.braceNest = 0, a.inLinked = !1, d;
|
|
412
|
+
if (a.braceNest > 0 && (a.currentType === 4 || a.currentType === 5 || a.currentType === 6))
|
|
413
|
+
return k(M.UNTERMINATED_CLOSING_BRACE, o(), 0), a.braceNest = 0, Te(s, a);
|
|
414
|
+
if (V = h(s, a))
|
|
415
|
+
return d = N(a, 4, Ye(s)), y(s), d;
|
|
416
|
+
if (C = m(s, a))
|
|
417
|
+
return d = N(a, 5, je(s)), y(s), d;
|
|
418
|
+
if (u = I(s, a))
|
|
419
|
+
return d = N(a, 6, Ke(s)), y(s), d;
|
|
420
420
|
if (!V && !C && !u)
|
|
421
|
-
return
|
|
421
|
+
return d = N(a, 12, Je(s)), k(M.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, d.value), y(s), d;
|
|
422
422
|
break;
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
|
-
return
|
|
425
|
+
return d;
|
|
426
426
|
}
|
|
427
|
-
function _e(
|
|
428
|
-
const { currentType:
|
|
427
|
+
function _e(s, a) {
|
|
428
|
+
const { currentType: d } = a;
|
|
429
429
|
let R = null;
|
|
430
|
-
const V =
|
|
431
|
-
switch ((
|
|
430
|
+
const V = s.currentChar();
|
|
431
|
+
switch ((d === 7 || d === 8 || d === 11 || d === 9) && (V === X || V === ee) && k(M.INVALID_LINKED_FORMAT, o(), 0), V) {
|
|
432
432
|
case "@":
|
|
433
|
-
return
|
|
434
|
-
|
|
433
|
+
return s.next(), R = N(
|
|
434
|
+
a,
|
|
435
435
|
7,
|
|
436
436
|
"@"
|
|
437
437
|
/* TokenChars.LinkedAlias */
|
|
438
|
-
),
|
|
438
|
+
), a.inLinked = !0, R;
|
|
439
439
|
case ".":
|
|
440
|
-
return y(
|
|
441
|
-
|
|
440
|
+
return y(s), s.next(), N(
|
|
441
|
+
a,
|
|
442
442
|
8,
|
|
443
443
|
"."
|
|
444
444
|
/* TokenChars.LinkedDot */
|
|
445
445
|
);
|
|
446
446
|
case ":":
|
|
447
|
-
return y(
|
|
448
|
-
|
|
447
|
+
return y(s), s.next(), N(
|
|
448
|
+
a,
|
|
449
449
|
9,
|
|
450
450
|
":"
|
|
451
451
|
/* TokenChars.LinkedDelimiter */
|
|
452
452
|
);
|
|
453
453
|
default:
|
|
454
|
-
return $(
|
|
454
|
+
return $(s) ? (R = N(a, 1, ge(s)), a.braceNest = 0, a.inLinked = !1, R) : b(s, a) || H(s, a) ? (y(s), _e(s, a)) : T(s, a) ? (y(s), N(a, 11, qe(s))) : G(s, a) ? (y(s), V === "{" ? ue(s, a) || R : N(a, 10, Qe(s))) : (d === 7 && k(M.INVALID_LINKED_FORMAT, o(), 0), a.braceNest = 0, a.inLinked = !1, Te(s, a));
|
|
455
455
|
}
|
|
456
456
|
}
|
|
457
|
-
function Te(
|
|
458
|
-
let
|
|
457
|
+
function Te(s, a) {
|
|
458
|
+
let d = {
|
|
459
459
|
type: 13
|
|
460
460
|
/* TokenTypes.EOF */
|
|
461
461
|
};
|
|
462
|
-
if (
|
|
463
|
-
return ue(
|
|
464
|
-
if (
|
|
465
|
-
return _e(
|
|
466
|
-
switch (
|
|
462
|
+
if (a.braceNest > 0)
|
|
463
|
+
return ue(s, a) || A(a);
|
|
464
|
+
if (a.inLinked)
|
|
465
|
+
return _e(s, a) || A(a);
|
|
466
|
+
switch (s.currentChar()) {
|
|
467
467
|
case "{":
|
|
468
|
-
return ue(
|
|
468
|
+
return ue(s, a) || A(a);
|
|
469
469
|
case "}":
|
|
470
|
-
return k(M.UNBALANCED_CLOSING_BRACE, o(), 0),
|
|
471
|
-
|
|
470
|
+
return k(M.UNBALANCED_CLOSING_BRACE, o(), 0), s.next(), N(
|
|
471
|
+
a,
|
|
472
472
|
3,
|
|
473
473
|
"}"
|
|
474
474
|
/* TokenChars.BraceRight */
|
|
475
475
|
);
|
|
476
476
|
case "@":
|
|
477
|
-
return _e(
|
|
477
|
+
return _e(s, a) || A(a);
|
|
478
478
|
default: {
|
|
479
|
-
if ($(
|
|
480
|
-
return
|
|
481
|
-
if (q(
|
|
482
|
-
return N(
|
|
479
|
+
if ($(s))
|
|
480
|
+
return d = N(a, 1, ge(s)), a.braceNest = 0, a.inLinked = !1, d;
|
|
481
|
+
if (q(s))
|
|
482
|
+
return N(a, 0, xe(s));
|
|
483
483
|
break;
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
return
|
|
486
|
+
return d;
|
|
487
487
|
}
|
|
488
488
|
function Ze() {
|
|
489
|
-
const { currentType:
|
|
490
|
-
return _.lastType =
|
|
489
|
+
const { currentType: s, offset: a, startLoc: d, endLoc: R } = _;
|
|
490
|
+
return _.lastType = s, _.lastOffset = a, _.lastStartLoc = d, _.lastEndLoc = R, _.offset = c(), _.startLoc = o(), r.currentChar() === re ? N(
|
|
491
491
|
_,
|
|
492
492
|
13
|
|
493
493
|
/* TokenTypes.EOF */
|
|
@@ -513,76 +513,76 @@ function Bt(e, n, t) {
|
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function xt(e = {}) {
|
|
517
517
|
const n = e.location !== !1, { onError: t } = e;
|
|
518
|
-
function r(i,
|
|
518
|
+
function r(i, p, h, m, ...I) {
|
|
519
519
|
const b = i.currentPosition();
|
|
520
520
|
if (b.offset += m, b.column += m, t) {
|
|
521
|
-
const T = n ? tn(h, b) : null, H = Fe(
|
|
521
|
+
const T = n ? tn(h, b) : null, H = Fe(p, T, {
|
|
522
522
|
domain: Vt,
|
|
523
523
|
args: I
|
|
524
524
|
});
|
|
525
525
|
t(H);
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
|
-
function c(i,
|
|
528
|
+
function c(i, p, h) {
|
|
529
529
|
const m = { type: i };
|
|
530
|
-
return n && (m.start =
|
|
530
|
+
return n && (m.start = p, m.end = p, m.loc = { start: h, end: h }), m;
|
|
531
531
|
}
|
|
532
|
-
function o(i,
|
|
533
|
-
n && (i.end =
|
|
532
|
+
function o(i, p, h, m) {
|
|
533
|
+
n && (i.end = p, i.loc && (i.loc.end = h));
|
|
534
534
|
}
|
|
535
|
-
function l(i,
|
|
535
|
+
function l(i, p) {
|
|
536
536
|
const h = i.context(), m = c(3, h.offset, h.startLoc);
|
|
537
|
-
return m.value =
|
|
537
|
+
return m.value = p, o(m, i.currentOffset(), i.currentPosition()), m;
|
|
538
538
|
}
|
|
539
|
-
function f(i,
|
|
539
|
+
function f(i, p) {
|
|
540
540
|
const h = i.context(), { lastOffset: m, lastStartLoc: I } = h, b = c(5, m, I);
|
|
541
|
-
return b.index = parseInt(
|
|
541
|
+
return b.index = parseInt(p, 10), i.nextToken(), o(b, i.currentOffset(), i.currentPosition()), b;
|
|
542
542
|
}
|
|
543
|
-
function _(i,
|
|
543
|
+
function _(i, p) {
|
|
544
544
|
const h = i.context(), { lastOffset: m, lastStartLoc: I } = h, b = c(4, m, I);
|
|
545
|
-
return b.key =
|
|
545
|
+
return b.key = p, i.nextToken(), o(b, i.currentOffset(), i.currentPosition()), b;
|
|
546
546
|
}
|
|
547
|
-
function g(i,
|
|
547
|
+
function g(i, p) {
|
|
548
548
|
const h = i.context(), { lastOffset: m, lastStartLoc: I } = h, b = c(9, m, I);
|
|
549
|
-
return b.value =
|
|
549
|
+
return b.value = p.replace(Wt, Bt), i.nextToken(), o(b, i.currentOffset(), i.currentPosition()), b;
|
|
550
550
|
}
|
|
551
551
|
function L(i) {
|
|
552
|
-
const
|
|
553
|
-
return
|
|
554
|
-
nextConsumeToken:
|
|
552
|
+
const p = i.nextToken(), h = i.context(), { lastOffset: m, lastStartLoc: I } = h, b = c(8, m, I);
|
|
553
|
+
return p.type !== 11 ? (r(i, M.UNEXPECTED_EMPTY_LINKED_MODIFIER, h.lastStartLoc, 0), b.value = "", o(b, m, I), {
|
|
554
|
+
nextConsumeToken: p,
|
|
555
555
|
node: b
|
|
556
|
-
}) : (
|
|
556
|
+
}) : (p.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, Z(p)), b.value = p.value || "", o(b, i.currentOffset(), i.currentPosition()), {
|
|
557
557
|
node: b
|
|
558
558
|
});
|
|
559
559
|
}
|
|
560
|
-
function k(i,
|
|
560
|
+
function k(i, p) {
|
|
561
561
|
const h = i.context(), m = c(7, h.offset, h.startLoc);
|
|
562
|
-
return m.value =
|
|
562
|
+
return m.value = p, o(m, i.currentOffset(), i.currentPosition()), m;
|
|
563
563
|
}
|
|
564
564
|
function N(i) {
|
|
565
|
-
const
|
|
565
|
+
const p = i.context(), h = c(6, p.offset, p.startLoc);
|
|
566
566
|
let m = i.nextToken();
|
|
567
567
|
if (m.type === 8) {
|
|
568
568
|
const I = L(i);
|
|
569
569
|
h.modifier = I.node, m = I.nextConsumeToken || i.nextToken();
|
|
570
570
|
}
|
|
571
|
-
switch (m.type !== 9 && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
571
|
+
switch (m.type !== 9 && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, p.lastStartLoc, 0, Z(m)), m = i.nextToken(), m.type === 2 && (m = i.nextToken()), m.type) {
|
|
572
572
|
case 10:
|
|
573
|
-
m.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
573
|
+
m.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, p.lastStartLoc, 0, Z(m)), h.key = k(i, m.value || "");
|
|
574
574
|
break;
|
|
575
575
|
case 4:
|
|
576
|
-
m.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
576
|
+
m.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, p.lastStartLoc, 0, Z(m)), h.key = _(i, m.value || "");
|
|
577
577
|
break;
|
|
578
578
|
case 5:
|
|
579
|
-
m.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
579
|
+
m.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, p.lastStartLoc, 0, Z(m)), h.key = f(i, m.value || "");
|
|
580
580
|
break;
|
|
581
581
|
case 6:
|
|
582
|
-
m.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
582
|
+
m.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, p.lastStartLoc, 0, Z(m)), h.key = g(i, m.value || "");
|
|
583
583
|
break;
|
|
584
584
|
default: {
|
|
585
|
-
r(i, M.UNEXPECTED_EMPTY_LINKED_KEY,
|
|
585
|
+
r(i, M.UNEXPECTED_EMPTY_LINKED_KEY, p.lastStartLoc, 0);
|
|
586
586
|
const I = i.context(), b = c(7, I.offset, I.startLoc);
|
|
587
587
|
return b.value = "", o(b, I.offset, I.startLoc), h.key = b, o(h, I.offset, I.startLoc), {
|
|
588
588
|
nextConsumeToken: m,
|
|
@@ -595,23 +595,23 @@ function Yt(e = {}) {
|
|
|
595
595
|
};
|
|
596
596
|
}
|
|
597
597
|
function A(i) {
|
|
598
|
-
const
|
|
598
|
+
const p = i.context(), h = p.currentType === 1 ? i.currentOffset() : p.offset, m = p.currentType === 1 ? p.endLoc : p.startLoc, I = c(2, h, m);
|
|
599
599
|
I.items = [];
|
|
600
600
|
let b = null;
|
|
601
601
|
do {
|
|
602
602
|
const G = b || i.nextToken();
|
|
603
603
|
switch (b = null, G.type) {
|
|
604
604
|
case 0:
|
|
605
|
-
G.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
605
|
+
G.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, p.lastStartLoc, 0, Z(G)), I.items.push(l(i, G.value || ""));
|
|
606
606
|
break;
|
|
607
607
|
case 5:
|
|
608
|
-
G.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
608
|
+
G.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, p.lastStartLoc, 0, Z(G)), I.items.push(f(i, G.value || ""));
|
|
609
609
|
break;
|
|
610
610
|
case 4:
|
|
611
|
-
G.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
611
|
+
G.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, p.lastStartLoc, 0, Z(G)), I.items.push(_(i, G.value || ""));
|
|
612
612
|
break;
|
|
613
613
|
case 6:
|
|
614
|
-
G.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
614
|
+
G.value == null && r(i, M.UNEXPECTED_LEXICAL_ANALYSIS, p.lastStartLoc, 0, Z(G)), I.items.push(g(i, G.value || ""));
|
|
615
615
|
break;
|
|
616
616
|
case 7: {
|
|
617
617
|
const $ = N(i);
|
|
@@ -619,14 +619,14 @@ function Yt(e = {}) {
|
|
|
619
619
|
break;
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
|
-
} while (
|
|
623
|
-
const T =
|
|
622
|
+
} while (p.currentType !== 13 && p.currentType !== 1);
|
|
623
|
+
const T = p.currentType === 1 ? p.lastOffset : i.currentOffset(), H = p.currentType === 1 ? p.lastEndLoc : i.currentPosition();
|
|
624
624
|
return o(I, T, H), I;
|
|
625
625
|
}
|
|
626
|
-
function S(i,
|
|
626
|
+
function S(i, p, h, m) {
|
|
627
627
|
const I = i.context();
|
|
628
628
|
let b = m.items.length === 0;
|
|
629
|
-
const T = c(1,
|
|
629
|
+
const T = c(1, p, h);
|
|
630
630
|
T.cases = [], T.cases.push(m);
|
|
631
631
|
do {
|
|
632
632
|
const H = A(i);
|
|
@@ -635,12 +635,12 @@ function Yt(e = {}) {
|
|
|
635
635
|
return b && r(i, M.MUST_HAVE_MESSAGES_IN_PLURAL, h, 0), o(T, i.currentOffset(), i.currentPosition()), T;
|
|
636
636
|
}
|
|
637
637
|
function v(i) {
|
|
638
|
-
const
|
|
639
|
-
return
|
|
638
|
+
const p = i.context(), { offset: h, startLoc: m } = p, I = A(i);
|
|
639
|
+
return p.currentType === 13 ? I : S(i, h, m, I);
|
|
640
640
|
}
|
|
641
641
|
function y(i) {
|
|
642
|
-
const
|
|
643
|
-
return n && m.loc && (m.loc.source = i), m.body = v(
|
|
642
|
+
const p = Gt(i, K({}, e)), h = p.context(), m = c(0, h.offset, h.startLoc);
|
|
643
|
+
return n && m.loc && (m.loc.source = i), m.body = v(p), e.onCacheKey && (m.cacheKey = e.onCacheKey(i)), h.currentType !== 13 && r(p, M.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, i[h.offset] || ""), o(m, p.currentOffset(), p.currentPosition()), m;
|
|
644
644
|
}
|
|
645
645
|
return { parse: y };
|
|
646
646
|
}
|
|
@@ -650,7 +650,7 @@ function Z(e) {
|
|
|
650
650
|
const n = (e.value || "").replace(/\r?\n/gu, "\\n");
|
|
651
651
|
return n.length > 10 ? n.slice(0, 9) + "…" : n;
|
|
652
652
|
}
|
|
653
|
-
function
|
|
653
|
+
function Yt(e, n = {}) {
|
|
654
654
|
const t = {
|
|
655
655
|
ast: e,
|
|
656
656
|
helpers: /* @__PURE__ */ new Set()
|
|
@@ -702,8 +702,8 @@ function En(e, n) {
|
|
|
702
702
|
break;
|
|
703
703
|
}
|
|
704
704
|
}
|
|
705
|
-
function
|
|
706
|
-
const t =
|
|
705
|
+
function jt(e, n = {}) {
|
|
706
|
+
const t = Yt(e);
|
|
707
707
|
t.helper(
|
|
708
708
|
"normalize"
|
|
709
709
|
/* HelperNameMap.NORMALIZE */
|
|
@@ -728,7 +728,7 @@ function An(e) {
|
|
|
728
728
|
n.push(r.value);
|
|
729
729
|
}
|
|
730
730
|
if (n.length === e.items.length) {
|
|
731
|
-
e.static =
|
|
731
|
+
e.static = pn(n);
|
|
732
732
|
for (let t = 0; t < e.items.length; t++) {
|
|
733
733
|
const r = e.items[t];
|
|
734
734
|
(r.type === 3 || r.type === 9) && delete r.value;
|
|
@@ -830,7 +830,7 @@ function $t(e, n) {
|
|
|
830
830
|
e.push(`${t(
|
|
831
831
|
"linked"
|
|
832
832
|
/* HelperNameMap.LINKED */
|
|
833
|
-
)}(`),
|
|
833
|
+
)}(`), de(e, n.key), n.modifier ? (e.push(", "), de(e, n.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
|
|
834
834
|
}
|
|
835
835
|
function Jt(e, n) {
|
|
836
836
|
const { helper: t, needIndent: r } = e;
|
|
@@ -839,7 +839,7 @@ function Jt(e, n) {
|
|
|
839
839
|
/* HelperNameMap.NORMALIZE */
|
|
840
840
|
)}([`), e.indent(r());
|
|
841
841
|
const c = n.items.length;
|
|
842
|
-
for (let o = 0; o < c && (
|
|
842
|
+
for (let o = 0; o < c && (de(e, n.items[o]), o !== c - 1); o++)
|
|
843
843
|
e.push(", ");
|
|
844
844
|
e.deindent(r()), e.push("])");
|
|
845
845
|
}
|
|
@@ -851,15 +851,15 @@ function qt(e, n) {
|
|
|
851
851
|
/* HelperNameMap.PLURAL */
|
|
852
852
|
)}([`), e.indent(r());
|
|
853
853
|
const c = n.cases.length;
|
|
854
|
-
for (let o = 0; o < c && (
|
|
854
|
+
for (let o = 0; o < c && (de(e, n.cases[o]), o !== c - 1); o++)
|
|
855
855
|
e.push(", ");
|
|
856
856
|
e.deindent(r()), e.push("])");
|
|
857
857
|
}
|
|
858
858
|
}
|
|
859
859
|
function Qt(e, n) {
|
|
860
|
-
n.body ?
|
|
860
|
+
n.body ? de(e, n.body) : e.push("null");
|
|
861
861
|
}
|
|
862
|
-
function
|
|
862
|
+
function de(e, n) {
|
|
863
863
|
const { helper: t } = e;
|
|
864
864
|
switch (n.type) {
|
|
865
865
|
case 0:
|
|
@@ -915,7 +915,7 @@ const Zt = (e, n = {}) => {
|
|
|
915
915
|
breakLineCode: c,
|
|
916
916
|
needIndent: o
|
|
917
917
|
});
|
|
918
|
-
f.push(t === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), f.indent(o), l.length > 0 && (f.push(`const { ${
|
|
918
|
+
f.push(t === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), f.indent(o), l.length > 0 && (f.push(`const { ${pn(l.map((L) => `${L}: _${L}`), ", ")} } = ctx`), f.newline()), f.push("return "), de(f, e), f.deindent(o), f.push("}"), delete e.helpers;
|
|
919
919
|
const { code: _, map: g } = f.context();
|
|
920
920
|
return {
|
|
921
921
|
ast: e,
|
|
@@ -925,8 +925,8 @@ const Zt = (e, n = {}) => {
|
|
|
925
925
|
};
|
|
926
926
|
};
|
|
927
927
|
function zt(e, n = {}) {
|
|
928
|
-
const t = K({}, n), r = !!t.jit, c = !!t.minify, o = t.optimize == null ? !0 : t.optimize, f =
|
|
929
|
-
return r ? (o && Kt(f), c && me(f), { ast: f, code: "" }) : (
|
|
928
|
+
const t = K({}, n), r = !!t.jit, c = !!t.minify, o = t.optimize == null ? !0 : t.optimize, f = xt(t).parse(e);
|
|
929
|
+
return r ? (o && Kt(f), c && me(f), { ast: f, code: "" }) : (jt(f, t), Zt(f, t));
|
|
930
930
|
}
|
|
931
931
|
var er = { env: { NODE_ENV: "production" } };
|
|
932
932
|
function nr() {
|
|
@@ -936,7 +936,7 @@ function ze(e) {
|
|
|
936
936
|
return (t) => tr(t, e);
|
|
937
937
|
}
|
|
938
938
|
function tr(e, n) {
|
|
939
|
-
const t =
|
|
939
|
+
const t = sr(n);
|
|
940
940
|
if (t == null)
|
|
941
941
|
throw be(
|
|
942
942
|
0
|
|
@@ -952,12 +952,12 @@ function tr(e, n) {
|
|
|
952
952
|
return Sn(e, t);
|
|
953
953
|
}
|
|
954
954
|
const rr = ["b", "body"];
|
|
955
|
-
function
|
|
956
|
-
return
|
|
955
|
+
function sr(e) {
|
|
956
|
+
return se(e, rr);
|
|
957
957
|
}
|
|
958
|
-
const
|
|
958
|
+
const ar = ["c", "cases"];
|
|
959
959
|
function or(e) {
|
|
960
|
-
return
|
|
960
|
+
return se(e, ar, []);
|
|
961
961
|
}
|
|
962
962
|
function Sn(e, n) {
|
|
963
963
|
const t = ir(n);
|
|
@@ -970,11 +970,11 @@ function Sn(e, n) {
|
|
|
970
970
|
}
|
|
971
971
|
const cr = ["s", "static"];
|
|
972
972
|
function ir(e) {
|
|
973
|
-
return
|
|
973
|
+
return se(e, cr);
|
|
974
974
|
}
|
|
975
975
|
const lr = ["i", "items"];
|
|
976
976
|
function ur(e) {
|
|
977
|
-
return
|
|
977
|
+
return se(e, lr, []);
|
|
978
978
|
}
|
|
979
979
|
function rn(e, n) {
|
|
980
980
|
const t = gn(n);
|
|
@@ -993,14 +993,14 @@ function rn(e, n) {
|
|
|
993
993
|
}
|
|
994
994
|
case 5: {
|
|
995
995
|
const r = n;
|
|
996
|
-
if (Q(r, "i") &&
|
|
996
|
+
if (Q(r, "i") && j(r.i))
|
|
997
997
|
return e.interpolate(e.list(r.i));
|
|
998
|
-
if (Q(r, "index") &&
|
|
998
|
+
if (Q(r, "index") && j(r.index))
|
|
999
999
|
return e.interpolate(e.list(r.index));
|
|
1000
1000
|
throw be(t);
|
|
1001
1001
|
}
|
|
1002
1002
|
case 6: {
|
|
1003
|
-
const r = n, c =
|
|
1003
|
+
const r = n, c = dr(r), o = Er(r);
|
|
1004
1004
|
return e.linked(rn(e, o), c ? rn(e, c) : void 0, e.type);
|
|
1005
1005
|
}
|
|
1006
1006
|
case 7:
|
|
@@ -1013,22 +1013,22 @@ function rn(e, n) {
|
|
|
1013
1013
|
}
|
|
1014
1014
|
const _r = ["t", "type"];
|
|
1015
1015
|
function gn(e) {
|
|
1016
|
-
return
|
|
1016
|
+
return se(e, _r);
|
|
1017
1017
|
}
|
|
1018
1018
|
const fr = ["v", "value"];
|
|
1019
1019
|
function Se(e, n) {
|
|
1020
|
-
const t =
|
|
1020
|
+
const t = se(e, fr);
|
|
1021
1021
|
if (t)
|
|
1022
1022
|
return t;
|
|
1023
1023
|
throw be(n);
|
|
1024
1024
|
}
|
|
1025
1025
|
const mr = ["m", "modifier"];
|
|
1026
|
-
function
|
|
1027
|
-
return
|
|
1026
|
+
function dr(e) {
|
|
1027
|
+
return se(e, mr);
|
|
1028
1028
|
}
|
|
1029
|
-
const
|
|
1029
|
+
const pr = ["k", "key"];
|
|
1030
1030
|
function Er(e) {
|
|
1031
|
-
const n =
|
|
1031
|
+
const n = se(e, pr);
|
|
1032
1032
|
if (n)
|
|
1033
1033
|
return n;
|
|
1034
1034
|
throw be(
|
|
@@ -1036,7 +1036,7 @@ function Er(e) {
|
|
|
1036
1036
|
/* NodeTypes.Linked */
|
|
1037
1037
|
);
|
|
1038
1038
|
}
|
|
1039
|
-
function
|
|
1039
|
+
function se(e, n, t) {
|
|
1040
1040
|
for (let r = 0; r < n.length; r++) {
|
|
1041
1041
|
const c = n[r];
|
|
1042
1042
|
if (Q(e, c) && e[c] != null)
|
|
@@ -1049,7 +1049,7 @@ function be(e) {
|
|
|
1049
1049
|
}
|
|
1050
1050
|
const gr = (e) => e;
|
|
1051
1051
|
let Ce = U();
|
|
1052
|
-
function
|
|
1052
|
+
function pe(e) {
|
|
1053
1053
|
return P(e) && gn(e) === 0 && (Q(e, "b") || Q(e, "body"));
|
|
1054
1054
|
}
|
|
1055
1055
|
function Tr(e, n = {}) {
|
|
@@ -1132,7 +1132,7 @@ function Cn(e) {
|
|
|
1132
1132
|
function Lr(e, n, t) {
|
|
1133
1133
|
return [.../* @__PURE__ */ new Set([
|
|
1134
1134
|
t,
|
|
1135
|
-
...
|
|
1135
|
+
...x(n) ? n : P(n) ? Object.keys(n) : O(n) ? [n] : [t]
|
|
1136
1136
|
])];
|
|
1137
1137
|
}
|
|
1138
1138
|
function zn(e, n, t) {
|
|
@@ -1142,10 +1142,10 @@ function zn(e, n, t) {
|
|
|
1142
1142
|
if (!o) {
|
|
1143
1143
|
o = [];
|
|
1144
1144
|
let l = [t];
|
|
1145
|
-
for (;
|
|
1145
|
+
for (; x(l); )
|
|
1146
1146
|
l = Dn(o, l, n);
|
|
1147
|
-
const f =
|
|
1148
|
-
l = O(f) ? [f] : f,
|
|
1147
|
+
const f = x(n) || !D(n) ? n : n.default ? n.default : null;
|
|
1148
|
+
l = O(f) ? [f] : f, x(l) && Dn(o, l, !1), c.__localeChainCache.set(r, o);
|
|
1149
1149
|
}
|
|
1150
1150
|
return o;
|
|
1151
1151
|
}
|
|
@@ -1171,12 +1171,12 @@ function yr(e, n, t) {
|
|
|
1171
1171
|
if (!e.includes(n) && (r = !0, n)) {
|
|
1172
1172
|
r = n[n.length - 1] !== "!";
|
|
1173
1173
|
const c = n.replace(/!/g, "");
|
|
1174
|
-
e.push(c), (
|
|
1174
|
+
e.push(c), (x(t) || D(t)) && t[c] && (r = t[c]);
|
|
1175
1175
|
}
|
|
1176
1176
|
return r;
|
|
1177
1177
|
}
|
|
1178
|
-
const
|
|
1179
|
-
|
|
1178
|
+
const ae = [];
|
|
1179
|
+
ae[
|
|
1180
1180
|
0
|
|
1181
1181
|
/* States.BEFORE_PATH */
|
|
1182
1182
|
] = {
|
|
@@ -1198,7 +1198,7 @@ se[
|
|
|
1198
1198
|
/* States.AFTER_PATH */
|
|
1199
1199
|
]
|
|
1200
1200
|
};
|
|
1201
|
-
|
|
1201
|
+
ae[
|
|
1202
1202
|
1
|
|
1203
1203
|
/* States.IN_PATH */
|
|
1204
1204
|
] = {
|
|
@@ -1219,7 +1219,7 @@ se[
|
|
|
1219
1219
|
/* States.AFTER_PATH */
|
|
1220
1220
|
]
|
|
1221
1221
|
};
|
|
1222
|
-
|
|
1222
|
+
ae[
|
|
1223
1223
|
2
|
|
1224
1224
|
/* States.BEFORE_IDENT */
|
|
1225
1225
|
] = {
|
|
@@ -1238,7 +1238,7 @@ se[
|
|
|
1238
1238
|
/* Actions.APPEND */
|
|
1239
1239
|
]
|
|
1240
1240
|
};
|
|
1241
|
-
|
|
1241
|
+
ae[
|
|
1242
1242
|
3
|
|
1243
1243
|
/* States.IN_IDENT */
|
|
1244
1244
|
] = {
|
|
@@ -1273,7 +1273,7 @@ se[
|
|
|
1273
1273
|
/* Actions.PUSH */
|
|
1274
1274
|
]
|
|
1275
1275
|
};
|
|
1276
|
-
|
|
1276
|
+
ae[
|
|
1277
1277
|
4
|
|
1278
1278
|
/* States.IN_SUB_PATH */
|
|
1279
1279
|
] = {
|
|
@@ -1304,7 +1304,7 @@ se[
|
|
|
1304
1304
|
/* Actions.APPEND */
|
|
1305
1305
|
]
|
|
1306
1306
|
};
|
|
1307
|
-
|
|
1307
|
+
ae[
|
|
1308
1308
|
5
|
|
1309
1309
|
/* States.IN_SINGLE_QUOTE */
|
|
1310
1310
|
] = {
|
|
@@ -1320,7 +1320,7 @@ se[
|
|
|
1320
1320
|
/* Actions.APPEND */
|
|
1321
1321
|
]
|
|
1322
1322
|
};
|
|
1323
|
-
|
|
1323
|
+
ae[
|
|
1324
1324
|
6
|
|
1325
1325
|
/* States.IN_DOUBLE_QUOTE */
|
|
1326
1326
|
] = {
|
|
@@ -1423,7 +1423,7 @@ function Pr(e) {
|
|
|
1423
1423
|
}
|
|
1424
1424
|
for (; r !== null; )
|
|
1425
1425
|
if (t++, o = e[t], !(o === "\\" && A())) {
|
|
1426
|
-
if (_ = Cr(o), k =
|
|
1426
|
+
if (_ = Cr(o), k = ae[r], g = k[_] || k.l || 8, g === 8 || (r = g[0], g[1] !== void 0 && (L = N[g[1]], L && (f = o, L() === !1))))
|
|
1427
1427
|
return;
|
|
1428
1428
|
if (r === 7)
|
|
1429
1429
|
return n;
|
|
@@ -1473,15 +1473,15 @@ let rt = null;
|
|
|
1473
1473
|
const Wr = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
1474
1474
|
rt = e;
|
|
1475
1475
|
}, Br = /* @__NO_SIDE_EFFECTS__ */ () => rt;
|
|
1476
|
-
let
|
|
1476
|
+
let st = null;
|
|
1477
1477
|
const Fn = (e) => {
|
|
1478
|
-
|
|
1479
|
-
},
|
|
1478
|
+
st = e;
|
|
1479
|
+
}, xr = () => st;
|
|
1480
1480
|
let wn = 0;
|
|
1481
|
-
function
|
|
1482
|
-
const n = w(e.onWarn) ? e.onWarn : At, t = O(e.version) ? e.version : Fr, r = O(e.locale) || w(e.locale) ? e.locale : Me, c = w(r) ? Me : r, o =
|
|
1481
|
+
function Yr(e = {}) {
|
|
1482
|
+
const n = w(e.onWarn) ? e.onWarn : At, t = O(e.version) ? e.version : Fr, r = O(e.locale) || w(e.locale) ? e.locale : Me, c = w(r) ? Me : r, o = x(e.fallbackLocale) || D(e.fallbackLocale) || O(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c, l = D(e.messages) ? e.messages : nn(c), f = D(e.datetimeFormats) ? e.datetimeFormats : nn(c), _ = D(e.numberFormats) ? e.numberFormats : nn(c), g = K(U(), e.modifiers, wr()), L = e.pluralRules || U(), k = w(e.missing) ? e.missing : null, N = B(e.missingWarn) || Pe(e.missingWarn) ? e.missingWarn : !0, A = B(e.fallbackWarn) || Pe(e.fallbackWarn) ? e.fallbackWarn : !0, S = !!e.fallbackFormat, v = !!e.unresolving, y = w(e.postTranslation) ? e.postTranslation : null, i = D(e.processor) ? e.processor : null, p = B(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, h = !!e.escapeParameter, m = w(e.messageCompiler) ? e.messageCompiler : et, I = w(e.messageResolver) ? e.messageResolver : nt || Mr, b = w(e.localeFallbacker) ? e.localeFallbacker : tt || Lr, T = P(e.fallbackContext) ? e.fallbackContext : void 0, H = e, G = P(H.__datetimeFormatters) ? H.__datetimeFormatters : /* @__PURE__ */ new Map(), $ = P(H.__numberFormatters) ? H.__numberFormatters : /* @__PURE__ */ new Map(), q = P(H.__meta) ? H.__meta : {};
|
|
1483
1483
|
wn++;
|
|
1484
|
-
const
|
|
1484
|
+
const Y = {
|
|
1485
1485
|
version: t,
|
|
1486
1486
|
cid: wn,
|
|
1487
1487
|
locale: r,
|
|
@@ -1496,7 +1496,7 @@ function jr(e = {}) {
|
|
|
1496
1496
|
unresolving: v,
|
|
1497
1497
|
postTranslation: y,
|
|
1498
1498
|
processor: i,
|
|
1499
|
-
warnHtmlMessage:
|
|
1499
|
+
warnHtmlMessage: p,
|
|
1500
1500
|
escapeParameter: h,
|
|
1501
1501
|
messageCompiler: m,
|
|
1502
1502
|
messageResolver: I,
|
|
@@ -1505,7 +1505,7 @@ function jr(e = {}) {
|
|
|
1505
1505
|
onWarn: n,
|
|
1506
1506
|
__meta: q
|
|
1507
1507
|
};
|
|
1508
|
-
return
|
|
1508
|
+
return Y.datetimeFormats = f, Y.numberFormats = _, Y.__datetimeFormatters = G, Y.__numberFormatters = $, __INTLIFY_PROD_DEVTOOLS__ && br(Y, t, q), Y;
|
|
1509
1509
|
}
|
|
1510
1510
|
const nn = (e) => ({ [e]: U() });
|
|
1511
1511
|
function hn(e, n, t, r, c) {
|
|
@@ -1520,7 +1520,7 @@ function Ne(e, n, t) {
|
|
|
1520
1520
|
const r = e;
|
|
1521
1521
|
r.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, t, n);
|
|
1522
1522
|
}
|
|
1523
|
-
function
|
|
1523
|
+
function jr(e, n) {
|
|
1524
1524
|
return e === n ? !1 : e.split("-")[0] === n.split("-")[0];
|
|
1525
1525
|
}
|
|
1526
1526
|
function Kr(e, n) {
|
|
@@ -1528,12 +1528,12 @@ function Kr(e, n) {
|
|
|
1528
1528
|
if (t === -1)
|
|
1529
1529
|
return !1;
|
|
1530
1530
|
for (let r = t + 1; r < n.length; r++)
|
|
1531
|
-
if (
|
|
1531
|
+
if (jr(e, n[r]))
|
|
1532
1532
|
return !0;
|
|
1533
1533
|
return !1;
|
|
1534
1534
|
}
|
|
1535
1535
|
function Hn(e, ...n) {
|
|
1536
|
-
const { datetimeFormats: t, unresolving: r, fallbackLocale: c, onWarn: o, localeFallbacker: l } = e, { __datetimeFormatters: f } = e, [_, g, L, k] =
|
|
1536
|
+
const { datetimeFormats: t, unresolving: r, fallbackLocale: c, onWarn: o, localeFallbacker: l } = e, { __datetimeFormatters: f } = e, [_, g, L, k] = sn(...n), N = B(L.missingWarn) ? L.missingWarn : e.missingWarn;
|
|
1537
1537
|
B(L.fallbackWarn) ? L.fallbackWarn : e.fallbackWarn;
|
|
1538
1538
|
const A = !!L.part, S = Tn(e, L), v = l(
|
|
1539
1539
|
e,
|
|
@@ -1543,18 +1543,18 @@ function Hn(e, ...n) {
|
|
|
1543
1543
|
);
|
|
1544
1544
|
if (!O(_) || _ === "")
|
|
1545
1545
|
return new Intl.DateTimeFormat(S, k).format(g);
|
|
1546
|
-
let y = {}, i,
|
|
1546
|
+
let y = {}, i, p = null;
|
|
1547
1547
|
const h = "datetime format";
|
|
1548
|
-
for (let b = 0; b < v.length && (i = v[b], y = t[i] || {},
|
|
1548
|
+
for (let b = 0; b < v.length && (i = v[b], y = t[i] || {}, p = y[_], !D(p)); b++)
|
|
1549
1549
|
hn(e, _, i, N, h);
|
|
1550
|
-
if (!D(
|
|
1550
|
+
if (!D(p) || !O(i))
|
|
1551
1551
|
return r ? we : _;
|
|
1552
1552
|
let m = `${i}__${_}`;
|
|
1553
1553
|
Ue(k) || (m = `${m}__${JSON.stringify(k)}`);
|
|
1554
1554
|
let I = f.get(m);
|
|
1555
|
-
return I || (I = new Intl.DateTimeFormat(i, K({},
|
|
1555
|
+
return I || (I = new Intl.DateTimeFormat(i, K({}, p, k)), f.set(m, I)), A ? I.formatToParts(g) : I.format(g);
|
|
1556
1556
|
}
|
|
1557
|
-
const
|
|
1557
|
+
const at = [
|
|
1558
1558
|
"localeMatcher",
|
|
1559
1559
|
"weekday",
|
|
1560
1560
|
"era",
|
|
@@ -1576,7 +1576,7 @@ const st = [
|
|
|
1576
1576
|
"hourCycle",
|
|
1577
1577
|
"fractionalSecondDigits"
|
|
1578
1578
|
];
|
|
1579
|
-
function
|
|
1579
|
+
function sn(...e) {
|
|
1580
1580
|
const [n, t, r, c] = e, o = U();
|
|
1581
1581
|
let l = U(), f;
|
|
1582
1582
|
if (O(n)) {
|
|
@@ -1594,12 +1594,12 @@ function an(...e) {
|
|
|
1594
1594
|
if (isNaN(n.getTime()))
|
|
1595
1595
|
throw te(ne.INVALID_DATE_ARGUMENT);
|
|
1596
1596
|
f = n;
|
|
1597
|
-
} else if (
|
|
1597
|
+
} else if (j(n))
|
|
1598
1598
|
f = n;
|
|
1599
1599
|
else
|
|
1600
1600
|
throw te(ne.INVALID_ARGUMENT);
|
|
1601
1601
|
return O(t) ? o.key = t : D(t) && Object.keys(t).forEach((_) => {
|
|
1602
|
-
|
|
1602
|
+
at.includes(_) ? l[_] = t[_] : o[_] = t[_];
|
|
1603
1603
|
}), O(r) ? o.locale = r : D(r) && (l = r), D(c) && (l = c), [o.key || "", f, o, l];
|
|
1604
1604
|
}
|
|
1605
1605
|
function Gn(e, n, t) {
|
|
@@ -1610,7 +1610,7 @@ function Gn(e, n, t) {
|
|
|
1610
1610
|
}
|
|
1611
1611
|
}
|
|
1612
1612
|
function Vn(e, ...n) {
|
|
1613
|
-
const { numberFormats: t, unresolving: r, fallbackLocale: c, onWarn: o, localeFallbacker: l } = e, { __numberFormatters: f } = e, [_, g, L, k] =
|
|
1613
|
+
const { numberFormats: t, unresolving: r, fallbackLocale: c, onWarn: o, localeFallbacker: l } = e, { __numberFormatters: f } = e, [_, g, L, k] = an(...n), N = B(L.missingWarn) ? L.missingWarn : e.missingWarn;
|
|
1614
1614
|
B(L.fallbackWarn) ? L.fallbackWarn : e.fallbackWarn;
|
|
1615
1615
|
const A = !!L.part, S = Tn(e, L), v = l(
|
|
1616
1616
|
e,
|
|
@@ -1620,16 +1620,16 @@ function Vn(e, ...n) {
|
|
|
1620
1620
|
);
|
|
1621
1621
|
if (!O(_) || _ === "")
|
|
1622
1622
|
return new Intl.NumberFormat(S, k).format(g);
|
|
1623
|
-
let y = {}, i,
|
|
1623
|
+
let y = {}, i, p = null;
|
|
1624
1624
|
const h = "number format";
|
|
1625
|
-
for (let b = 0; b < v.length && (i = v[b], y = t[i] || {},
|
|
1625
|
+
for (let b = 0; b < v.length && (i = v[b], y = t[i] || {}, p = y[_], !D(p)); b++)
|
|
1626
1626
|
hn(e, _, i, N, h);
|
|
1627
|
-
if (!D(
|
|
1627
|
+
if (!D(p) || !O(i))
|
|
1628
1628
|
return r ? we : _;
|
|
1629
1629
|
let m = `${i}__${_}`;
|
|
1630
1630
|
Ue(k) || (m = `${m}__${JSON.stringify(k)}`);
|
|
1631
1631
|
let I = f.get(m);
|
|
1632
|
-
return I || (I = new Intl.NumberFormat(i, K({},
|
|
1632
|
+
return I || (I = new Intl.NumberFormat(i, K({}, p, k)), f.set(m, I)), A ? I.formatToParts(g) : I.format(g);
|
|
1633
1633
|
}
|
|
1634
1634
|
const ot = [
|
|
1635
1635
|
"localeMatcher",
|
|
@@ -1653,10 +1653,10 @@ const ot = [
|
|
|
1653
1653
|
"roundingIncrement",
|
|
1654
1654
|
"trailingZeroDisplay"
|
|
1655
1655
|
];
|
|
1656
|
-
function
|
|
1656
|
+
function an(...e) {
|
|
1657
1657
|
const [n, t, r, c] = e, o = U();
|
|
1658
1658
|
let l = U();
|
|
1659
|
-
if (!
|
|
1659
|
+
if (!j(n))
|
|
1660
1660
|
throw te(ne.INVALID_ARGUMENT);
|
|
1661
1661
|
const f = n;
|
|
1662
1662
|
return O(t) ? o.key = t : D(t) && Object.keys(t).forEach((_) => {
|
|
@@ -1670,36 +1670,36 @@ function Wn(e, n, t) {
|
|
|
1670
1670
|
r.__numberFormatters.has(o) && r.__numberFormatters.delete(o);
|
|
1671
1671
|
}
|
|
1672
1672
|
}
|
|
1673
|
-
const Xr = (e) => e, $r = (e) => "", Jr = "text", qr = (e) => e.length === 0 ? "" :
|
|
1673
|
+
const Xr = (e) => e, $r = (e) => "", Jr = "text", qr = (e) => e.length === 0 ? "" : pn(e), Qr = Rt;
|
|
1674
1674
|
function Bn(e, n) {
|
|
1675
1675
|
return e = Math.abs(e), n === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1676
1676
|
}
|
|
1677
1677
|
function Zr(e) {
|
|
1678
|
-
const n =
|
|
1679
|
-
return e.named && (
|
|
1678
|
+
const n = j(e.pluralIndex) ? e.pluralIndex : -1;
|
|
1679
|
+
return e.named && (j(e.named.count) || j(e.named.n)) ? j(e.named.count) ? e.named.count : j(e.named.n) ? e.named.n : n : n;
|
|
1680
1680
|
}
|
|
1681
1681
|
function zr(e, n) {
|
|
1682
1682
|
n.count || (n.count = e), n.n || (n.n = e);
|
|
1683
1683
|
}
|
|
1684
|
-
function
|
|
1684
|
+
function es(e = {}) {
|
|
1685
1685
|
const n = e.locale, t = Zr(e), r = P(e.pluralRules) && O(n) && w(e.pluralRules[n]) ? e.pluralRules[n] : Bn, c = P(e.pluralRules) && O(n) && w(e.pluralRules[n]) ? Bn : void 0, o = (i) => i[r(t, i.length, c)], l = e.list || [], f = (i) => l[i], _ = e.named || U();
|
|
1686
|
-
|
|
1686
|
+
j(e.pluralIndex) && zr(t, _);
|
|
1687
1687
|
const g = (i) => _[i];
|
|
1688
|
-
function L(i,
|
|
1689
|
-
const h = w(e.messages) ? e.messages(i, !!
|
|
1688
|
+
function L(i, p) {
|
|
1689
|
+
const h = w(e.messages) ? e.messages(i, !!p) : P(e.messages) ? e.messages[i] : !1;
|
|
1690
1690
|
return h || (e.parent ? e.parent.message(i) : $r);
|
|
1691
1691
|
}
|
|
1692
1692
|
const k = (i) => e.modifiers ? e.modifiers[i] : Xr, N = D(e.processor) && w(e.processor.normalize) ? e.processor.normalize : qr, A = D(e.processor) && w(e.processor.interpolate) ? e.processor.interpolate : Qr, S = D(e.processor) && O(e.processor.type) ? e.processor.type : Jr, y = {
|
|
1693
1693
|
list: f,
|
|
1694
1694
|
named: g,
|
|
1695
1695
|
plural: o,
|
|
1696
|
-
linked: (i, ...
|
|
1697
|
-
const [h, m] =
|
|
1696
|
+
linked: (i, ...p) => {
|
|
1697
|
+
const [h, m] = p;
|
|
1698
1698
|
let I = "text", b = "";
|
|
1699
|
-
|
|
1699
|
+
p.length === 1 ? P(h) ? (b = h.modifier || b, I = h.type || I) : O(h) && (b = h || b) : p.length === 2 && (O(h) && (b = h || b), O(m) && (I = m || I));
|
|
1700
1700
|
const T = L(i, !0)(y), H = (
|
|
1701
1701
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1702
|
-
I === "vnode" &&
|
|
1702
|
+
I === "vnode" && x(T) && b ? T[0] : T
|
|
1703
1703
|
);
|
|
1704
1704
|
return b ? k(b)(H, I) : H;
|
|
1705
1705
|
},
|
|
@@ -1711,38 +1711,38 @@ function ea(e = {}) {
|
|
|
1711
1711
|
};
|
|
1712
1712
|
return y;
|
|
1713
1713
|
}
|
|
1714
|
-
const
|
|
1715
|
-
function
|
|
1714
|
+
const xn = () => "", J = (e) => w(e);
|
|
1715
|
+
function Yn(e, ...n) {
|
|
1716
1716
|
const { fallbackFormat: t, postTranslation: r, unresolving: c, messageCompiler: o, fallbackLocale: l, messages: f } = e, [_, g] = on(...n), L = B(g.missingWarn) ? g.missingWarn : e.missingWarn, k = B(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn, N = B(g.escapeParameter) ? g.escapeParameter : e.escapeParameter, A = !!g.resolvedMessage, S = O(g.default) || B(g.default) ? B(g.default) ? o ? _ : () => _ : g.default : t ? o ? _ : () => _ : null, v = t || S != null && (O(S) || w(S)), y = Tn(e, g);
|
|
1717
|
-
N &&
|
|
1718
|
-
let [i,
|
|
1717
|
+
N && ns(g);
|
|
1718
|
+
let [i, p, h] = A ? [
|
|
1719
1719
|
_,
|
|
1720
1720
|
y,
|
|
1721
1721
|
f[y] || U()
|
|
1722
1722
|
] : ct(e, _, y, l, k, L), m = i, I = _;
|
|
1723
|
-
if (!A && !(O(m) ||
|
|
1723
|
+
if (!A && !(O(m) || pe(m) || J(m)) && v && (m = S, I = m), !A && (!(O(m) || pe(m) || J(m)) || !O(p)))
|
|
1724
1724
|
return c ? we : _;
|
|
1725
1725
|
let b = !1;
|
|
1726
1726
|
const T = () => {
|
|
1727
1727
|
b = !0;
|
|
1728
|
-
}, H = J(m) ? m : it(e, _,
|
|
1728
|
+
}, H = J(m) ? m : it(e, _, p, m, I, T);
|
|
1729
1729
|
if (b)
|
|
1730
1730
|
return m;
|
|
1731
|
-
const G =
|
|
1731
|
+
const G = ss(e, p, h, g), $ = es(G), q = ts(e, H, $), Y = r ? r(q, _) : q;
|
|
1732
1732
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1733
1733
|
const le = {
|
|
1734
1734
|
timestamp: Date.now(),
|
|
1735
1735
|
key: O(_) ? _ : J(m) ? m.key : "",
|
|
1736
|
-
locale:
|
|
1736
|
+
locale: p || (J(m) ? m.locale : ""),
|
|
1737
1737
|
format: O(m) ? m : J(m) ? m.source : "",
|
|
1738
|
-
message:
|
|
1738
|
+
message: Y
|
|
1739
1739
|
};
|
|
1740
1740
|
le.meta = K({}, e.__meta, /* @__PURE__ */ Br() || {}), Ir(le);
|
|
1741
1741
|
}
|
|
1742
|
-
return
|
|
1742
|
+
return Y;
|
|
1743
1743
|
}
|
|
1744
|
-
function
|
|
1745
|
-
|
|
1744
|
+
function ns(e) {
|
|
1745
|
+
x(e.list) ? e.list = e.list.map((n) => O(n) ? vn(n) : n) : P(e.named) && Object.keys(e.named).forEach((n) => {
|
|
1746
1746
|
O(e.named[n]) && (e.named[n] = vn(e.named[n]));
|
|
1747
1747
|
});
|
|
1748
1748
|
}
|
|
@@ -1750,7 +1750,7 @@ function ct(e, n, t, r, c, o) {
|
|
|
1750
1750
|
const { messages: l, onWarn: f, messageResolver: _, localeFallbacker: g } = e, L = g(e, r, t);
|
|
1751
1751
|
let k = U(), N, A = null;
|
|
1752
1752
|
const S = "translate";
|
|
1753
|
-
for (let v = 0; v < L.length && (N = L[v], k = l[N] || U(), (A = _(k, n)) === null && (A = k[n]), !(O(A) ||
|
|
1753
|
+
for (let v = 0; v < L.length && (N = L[v], k = l[N] || U(), (A = _(k, n)) === null && (A = k[n]), !(O(A) || pe(A) || J(A))); v++)
|
|
1754
1754
|
if (!Kr(N, L)) {
|
|
1755
1755
|
const y = hn(
|
|
1756
1756
|
e,
|
|
@@ -1774,20 +1774,20 @@ function it(e, n, t, r, c, o) {
|
|
|
1774
1774
|
const g = () => r;
|
|
1775
1775
|
return g.locale = t, g.key = n, g;
|
|
1776
1776
|
}
|
|
1777
|
-
const _ = l(r,
|
|
1777
|
+
const _ = l(r, rs(e, t, c, r, f, o));
|
|
1778
1778
|
return _.locale = t, _.key = n, _.source = r, _;
|
|
1779
1779
|
}
|
|
1780
|
-
function
|
|
1780
|
+
function ts(e, n, t) {
|
|
1781
1781
|
return n(t);
|
|
1782
1782
|
}
|
|
1783
1783
|
function on(...e) {
|
|
1784
1784
|
const [n, t, r] = e, c = U();
|
|
1785
|
-
if (!O(n) && !
|
|
1785
|
+
if (!O(n) && !j(n) && !J(n) && !pe(n))
|
|
1786
1786
|
throw te(ne.INVALID_ARGUMENT);
|
|
1787
|
-
const o =
|
|
1788
|
-
return
|
|
1787
|
+
const o = j(n) ? String(n) : (J(n), n);
|
|
1788
|
+
return j(t) ? c.plural = t : O(t) ? c.default = t : D(t) && !Ue(t) ? c.named = t : x(t) && (c.list = t), j(r) ? c.plural = r : O(r) ? c.default = r : D(r) && K(c, r), [o, c];
|
|
1789
1789
|
}
|
|
1790
|
-
function
|
|
1790
|
+
function rs(e, n, t, r, c, o) {
|
|
1791
1791
|
return {
|
|
1792
1792
|
locale: n,
|
|
1793
1793
|
key: t,
|
|
@@ -1798,7 +1798,7 @@ function ra(e, n, t, r, c, o) {
|
|
|
1798
1798
|
onCacheKey: (l) => It(n, t, l)
|
|
1799
1799
|
};
|
|
1800
1800
|
}
|
|
1801
|
-
function
|
|
1801
|
+
function ss(e, n, t, r) {
|
|
1802
1802
|
const { modifiers: c, pluralRules: o, messageResolver: l, fallbackLocale: f, fallbackWarn: _, missingWarn: g, fallbackContext: L } = e, N = {
|
|
1803
1803
|
locale: n,
|
|
1804
1804
|
modifiers: c,
|
|
@@ -1817,21 +1817,21 @@ function aa(e, n, t, r) {
|
|
|
1817
1817
|
);
|
|
1818
1818
|
v = l(y, A);
|
|
1819
1819
|
}
|
|
1820
|
-
if (O(v) ||
|
|
1820
|
+
if (O(v) || pe(v)) {
|
|
1821
1821
|
let y = !1;
|
|
1822
|
-
const
|
|
1822
|
+
const p = it(e, A, n, v, A, () => {
|
|
1823
1823
|
y = !0;
|
|
1824
1824
|
});
|
|
1825
|
-
return y ?
|
|
1826
|
-
} else return J(v) ? v :
|
|
1825
|
+
return y ? xn : p;
|
|
1826
|
+
} else return J(v) ? v : xn;
|
|
1827
1827
|
}
|
|
1828
1828
|
};
|
|
1829
|
-
return e.processor && (N.processor = e.processor), r.list && (N.list = r.list), r.named && (N.named = r.named),
|
|
1829
|
+
return e.processor && (N.processor = e.processor), r.list && (N.list = r.list), r.named && (N.named = r.named), j(r.plural) && (N.pluralIndex = r.plural), N;
|
|
1830
1830
|
}
|
|
1831
1831
|
nr();
|
|
1832
|
-
var sa = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_b97fa8aa-c7c3-408d-880e-a565f48a0c87", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.19.33", npm_config_dedupe_peer_dependents: "", DOTNET_NOLOGO: "1", npm_package_scripts_prepublish: "pnpm check:env && pnpm build:mf && pnpm build:dts", npm_package_dependencies_fuzzy_search: "^3.2.1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^1.6.0", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.20.2 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", npm_package_devDependencies_vite_plugin_commonjs: "^0.10.3", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_b97fa8aa-c7c3-408d-880e-a565f48a0c87", PIPX_HOME: "/opt/pipx", npm_package_scripts_dev_standalone: "vite --mode standalone", npm_package_dependencies_codemirror: "^6.0.2", npm_package_dependencies_html2pdf_js: "^0.14.0", npm_package_dependencies_node_html_parser: "^7.0.1", npm_package_devDependencies_vite: "5.4.8", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", npm_package_files_0: "dist", npm_package_scripts_prod_standalone: "PORTAL_ENV=production vite --mode standalone", npm_package_scripts_check_env: 'cat build-*.env | grep -qE "^[^#].*localhost" && { echo "Error: build-*.env files contains localhost reference" >&2; exit 1;} || exit 0', HOME: "/home/runner", npm_package_devDependencies_sass: "^1.77.2", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "PORTAL_ENV=production vite build --mode fmmf", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8192", GRADLE_HOME: "/usr/share/gradle-9.7.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --declaration --noEmit -p tsconfig.app.json", npm_package_dependencies__feedmepos_mf_common: "^1.29.11", npm_package_dependencies_handlebars: "^4.7.8", npm_package_devDependencies_code_inspector_plugin: "^1.4.5", npm_package_devDependencies_npm_run_all2: "^6.2.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_dependencies__feedmepos_inventory_core_dart: "workspace:^", SYSTEMD_EXEC_PID: "1652", ACTIONS_ORCHESTRATION_ID: "fe930253-4868-43bf-ad98-9c110be2a0e5.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.1", npm_package_dependencies_dayjs: "^1.11.11", npm_package_dependencies_dotenv: "^16.4.5", npm_package_devDependencies__tsconfig_node18: "^18.2.4", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_eventsource: "^4.1.0", npm_package_devDependencies_tailwindcss: "3.4.1", npm_package_devDependencies_typescript: "5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_google_maps: "^4.3.3", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.27", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260810.271.1", npm_package_scripts_build_prod: "PORTAL_ENV=production vite build --mode standalone", npm_package_scripts_dev: "vite", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.5", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_devDependencies__playwright_test: "1.61.1", npm_package_devDependencies_prettier: "^3.2.5", npm_package_devDependencies_zod: "3.17.9", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_b97fa8aa-c7c3-408d-880e-a565f48a0c87", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", VERSION: "1.7.11", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_scripts_prod: "PORTAL_ENV=production vite", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:10719", GITHUB_WORKFLOW: "[CD:prod] inventory-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_dependencies_csstype: "^3.1.3", npm_package_dependencies_fuzzy: "^0.1.3", npm_config_registry: "https://registry.npmjs.org", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.12/x64", GITHUB_RUN_ID: "32119066899", npm_package_dependencies__codemirror_lang_json: "^6.0.2", npm_package_devDependencies__types_lodash: "^4.17.16", npm_package_devDependencies_happy_dom: "^12.10.3", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "f0ede1fce61c36508db920687ae7a05e2f2ae626", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.5/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^4.6.2", GITHUB_WORKFLOW_REF: "feedmepos/inventory-service/.github/workflows/inventory-portal-prod.yaml@refs/tags/inventory-portal-v1.7.11", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies__feedmepos_zod_inventory: "workspace:^", npm_package_dependencies_axios: "^1.7.1", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.20.2/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_cd418a45-cf57-4028-b1fa-a2520a0dbe4b", INVOCATION_ID: "f23ad7fdddd0426db12ac011daffea93", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-inventory-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "457", GITHUB_TRIGGERING_ACTOR: "zdirnecamlcs96", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_test_e2e: "playwright test", npm_package_scripts_test_publish: "pnpm prepublish && pnpm pack", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_config_frozen_lockfile: "", npm_package_dependencies__feedmepos_inventory_core_2: "workspace:^", npm_package_dependencies__typescript_eslint_typescript_estree: "^8.21.0", npm_package_devDependencies__types_dompurify: "^3.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies__vue_test_utils: "^2.4.6", npm_package_devDependencies_eslint: "^8.57.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000113644", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "inventory-portal-v1.7.11", GITHUB_REPOSITORY: "feedmepos/inventory-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_publish_beta: "pnpm publish --tag beta", npm_package_scripts_unpack: "tar zxf", npm_package_dependencies__feedmepos_core: "2.14.40", npm_package_devDependencies__types_debounce: "^1.2.4", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies__feedmepos_netsuite_core: "workspace:^", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", npm_config_manage_package_manager_versions: "true", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "656626604", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/bin/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "1.7.11", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && pnpm build-types", npm_package_dependencies__feedmepos_hrm_permission: "1.0.9", npm_package_dependencies__tanstack_vue_table: "^8.17.3", npm_package_dependencies__vue_cli_service: "^5.0.8", npm_package_devDependencies__rushstack_eslint_patch: "^1.10.3", npm_config_access: "public", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "true", npm_package_scripts_build: "vite build --mode standalone", npm_package_dependencies_vue_i18n: "^10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com", GITHUB_WORKSPACE: "/home/runner/work/inventory-service/inventory-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.20", npm_package_devDependencies__types_fuzzy_search: "^2.1.5", npm_package_devDependencies_cypress: "^13.9.0", GITHUB_SHA: "f0ede1fce61c36508db920687ae7a05e2f2ae626", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/tags/inventory-portal-v1.7.11", GITHUB_ACTOR: "zdirnecamlcs96", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_dependencies_lz_string: "^1.5.0", npm_package_devDependencies__testing_library_vue: "^8.1.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_b97fa8aa-c7c3-408d-880e-a565f48a0c87", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", GITHUB_ACTOR_ID: "12760908", RUNNER_WORKSPACE: "/home/runner/work/inventory-service", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_b97fa8aa-c7c3-408d-880e-a565f48a0c87", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", npm_package_dependencies__feedmepos_inventory_core: "workspace:^", npm_package_dependencies_dompurify: "^3.3.1", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.26.0", npm_package_devDependencies_postcss: "^8.4.38", npm_config_node_options: "--max-old-space-size=8192", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_b97fa8aa-c7c3-408d-880e-a565f48a0c87", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_deploy: "pnpm run build-only && pnpm publish --no-git-checks .", npm_package_scripts_preview: "vite preview", npm_package_dependencies_debounce: "^2.0.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__feedmepos_menu: "1.5.22", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_b97fa8aa-c7c3-408d-880e-a565f48a0c87", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_codemax_core: "workspace:^", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:^", npm_package_dependencies_libphonenumber_js: "^1.11.18", NODE_ENV: "production" } };
|
|
1833
|
-
const
|
|
1834
|
-
function
|
|
1832
|
+
var as = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_9f30e9dc-9c1c-4486-91a1-6ef637d8817d", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.19.33", npm_config_dedupe_peer_dependents: "", DOTNET_NOLOGO: "1", npm_package_scripts_prepublish: "pnpm check:env && pnpm build:mf && pnpm build:dts", npm_package_dependencies_fuzzy_search: "^3.2.1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^1.6.0", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.20.2 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", npm_package_devDependencies_vite_plugin_commonjs: "^0.10.3", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_9f30e9dc-9c1c-4486-91a1-6ef637d8817d", PIPX_HOME: "/opt/pipx", npm_package_scripts_dev_standalone: "vite --mode standalone", npm_package_dependencies_codemirror: "^6.0.2", npm_package_dependencies_html2pdf_js: "^0.14.0", npm_package_dependencies_node_html_parser: "^7.0.1", npm_package_devDependencies_vite: "5.4.8", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", npm_package_files_0: "dist", npm_package_scripts_prod_standalone: "PORTAL_ENV=production vite --mode standalone", npm_package_scripts_check_env: 'cat build-*.env | grep -qE "^[^#].*localhost" && { echo "Error: build-*.env files contains localhost reference" >&2; exit 1;} || exit 0', HOME: "/home/runner", npm_package_devDependencies_sass: "^1.77.2", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "PORTAL_ENV=production vite build --mode fmmf", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8192", GRADLE_HOME: "/usr/share/gradle-9.7.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --declaration --noEmit -p tsconfig.app.json", npm_package_dependencies__feedmepos_mf_common: "^1.29.11", npm_package_dependencies_handlebars: "^4.7.8", npm_package_devDependencies_code_inspector_plugin: "^1.4.5", npm_package_devDependencies_npm_run_all2: "^6.2.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_dependencies__feedmepos_inventory_core_dart: "workspace:^", SYSTEMD_EXEC_PID: "1754", ACTIONS_ORCHESTRATION_ID: "189de170-405b-4655-96a7-e7f2aae18feb.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.1", npm_package_dependencies_dayjs: "^1.11.11", npm_package_dependencies_dotenv: "^16.4.5", npm_package_devDependencies__tsconfig_node18: "^18.2.4", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_eventsource: "^4.1.0", npm_package_devDependencies_tailwindcss: "3.4.1", npm_package_devDependencies_typescript: "5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_google_maps: "^4.3.3", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.27", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260810.271.1", npm_package_scripts_build_prod: "PORTAL_ENV=production vite build --mode standalone", npm_package_scripts_dev: "vite", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.5", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_devDependencies__playwright_test: "1.61.1", npm_package_devDependencies_prettier: "^3.2.5", npm_package_devDependencies_zod: "3.17.9", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_9f30e9dc-9c1c-4486-91a1-6ef637d8817d", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", VERSION: "1.7.12-dev.1", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_scripts_prod: "PORTAL_ENV=production vite", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:11860", GITHUB_WORKFLOW: "[CD:dev] inventory-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_dependencies_csstype: "^3.1.3", npm_package_dependencies_fuzzy: "^0.1.3", npm_config_registry: "https://registry.npmjs.org", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.12/x64", GITHUB_RUN_ID: "32121200939", npm_package_dependencies__codemirror_lang_json: "^6.0.2", npm_package_devDependencies__types_lodash: "^4.17.16", npm_package_devDependencies_happy_dom: "^12.10.3", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "8d8453c149b1c4c6535eaf4ff624c56c35aee1bf", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.5/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^4.6.2", GITHUB_WORKFLOW_REF: "feedmepos/inventory-service/.github/workflows/inventory-portal-dev.yaml@refs/heads/development", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies__feedmepos_zod_inventory: "workspace:^", npm_package_dependencies_axios: "^1.7.1", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.20.2/x64/bin:/home/runner/.pub-cache/bin:/opt/hostedtoolcache/dart/3.4.3/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_8140d5ff-c3de-492b-ac2f-d1340ea56682", INVOCATION_ID: "8c37fab166514317a0ca0212b6a454c7", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-inventory-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "1158", GITHUB_TRIGGERING_ACTOR: "zdirnecamlcs96", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_test_e2e: "playwright test", npm_package_scripts_test_publish: "pnpm prepublish && pnpm pack", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_config_frozen_lockfile: "", npm_package_dependencies__feedmepos_inventory_core_2: "workspace:^", npm_package_dependencies__typescript_eslint_typescript_estree: "^8.21.0", npm_package_devDependencies__types_dompurify: "^3.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", DART_HOME: "/opt/hostedtoolcache/dart/3.4.3/x64", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies__vue_test_utils: "^2.4.6", npm_package_devDependencies_eslint: "^8.57.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000113716", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "development", GITHUB_REPOSITORY: "feedmepos/inventory-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_publish_beta: "pnpm publish --tag beta", npm_package_scripts_unpack: "tar zxf", npm_package_dependencies__feedmepos_core: "2.14.40", npm_package_devDependencies__types_debounce: "^1.2.4", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies__feedmepos_netsuite_core: "workspace:^", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", npm_config_manage_package_manager_versions: "true", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "656626604", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/bin/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "1.7.12-dev.1", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && pnpm build-types", npm_package_dependencies__feedmepos_hrm_permission: "1.0.9", npm_package_dependencies__tanstack_vue_table: "^8.17.3", npm_package_dependencies__vue_cli_service: "^5.0.8", npm_package_devDependencies__rushstack_eslint_patch: "^1.10.3", npm_config_access: "public", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "true", npm_package_scripts_build: "vite build --mode standalone", npm_package_dependencies_vue_i18n: "^10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com", GITHUB_WORKSPACE: "/home/runner/work/inventory-service/inventory-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.20", npm_package_devDependencies__types_fuzzy_search: "^2.1.5", npm_package_devDependencies_cypress: "^13.9.0", GITHUB_SHA: "8d8453c149b1c4c6535eaf4ff624c56c35aee1bf", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/development", GITHUB_ACTOR: "zdirnecamlcs96", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_dependencies_lz_string: "^1.5.0", npm_package_devDependencies__testing_library_vue: "^8.1.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_9f30e9dc-9c1c-4486-91a1-6ef637d8817d", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", GITHUB_ACTOR_ID: "12760908", RUNNER_WORKSPACE: "/home/runner/work/inventory-service", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_9f30e9dc-9c1c-4486-91a1-6ef637d8817d", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", npm_package_dependencies__feedmepos_inventory_core: "workspace:^", npm_package_dependencies_dompurify: "^3.3.1", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PUB_CACHE: "/home/runner/.pub-cache", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.26.0", npm_package_devDependencies_postcss: "^8.4.38", npm_config_node_options: "--max-old-space-size=8192", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_9f30e9dc-9c1c-4486-91a1-6ef637d8817d", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_deploy: "pnpm run build-only && pnpm publish --no-git-checks .", npm_package_scripts_preview: "vite preview", npm_package_dependencies_debounce: "^2.0.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__feedmepos_menu: "1.5.22", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_9f30e9dc-9c1c-4486-91a1-6ef637d8817d", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_codemax_core: "workspace:^", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:^", npm_package_dependencies_libphonenumber_js: "^1.11.18", NODE_ENV: "production" } };
|
|
1833
|
+
const os = "10.0.5";
|
|
1834
|
+
function cs() {
|
|
1835
1835
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (ce().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (ce().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (ce().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (ce().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
1836
1836
|
}
|
|
1837
1837
|
const Ee = {
|
|
@@ -1850,7 +1850,7 @@ const Ee = {
|
|
|
1850
1850
|
function Oe(e, ...n) {
|
|
1851
1851
|
return Fe(e, null, void 0);
|
|
1852
1852
|
}
|
|
1853
|
-
const cn = /* @__PURE__ */ ie("__translateVNode"), ln = /* @__PURE__ */ ie("__datetimeParts"), un = /* @__PURE__ */ ie("__numberParts"),
|
|
1853
|
+
const cn = /* @__PURE__ */ ie("__translateVNode"), ln = /* @__PURE__ */ ie("__datetimeParts"), un = /* @__PURE__ */ ie("__numberParts"), is = ie("__setPluralRules"), lt = /* @__PURE__ */ ie("__injectWithOption"), _n = /* @__PURE__ */ ie("__dispose");
|
|
1854
1854
|
function ke(e) {
|
|
1855
1855
|
if (!P(e))
|
|
1856
1856
|
return e;
|
|
@@ -1873,8 +1873,8 @@ function ke(e) {
|
|
|
1873
1873
|
return e;
|
|
1874
1874
|
}
|
|
1875
1875
|
function ut(e, n) {
|
|
1876
|
-
const { messages: t, __i18n: r, messageResolver: c, flatJson: o } = n, l = D(t) ? t :
|
|
1877
|
-
if (
|
|
1876
|
+
const { messages: t, __i18n: r, messageResolver: c, flatJson: o } = n, l = D(t) ? t : x(r) ? U() : { [e]: U() };
|
|
1877
|
+
if (x(r) && r.forEach((f) => {
|
|
1878
1878
|
if ("locale" in f && "resource" in f) {
|
|
1879
1879
|
const { locale: _, resource: g } = f;
|
|
1880
1880
|
_ ? (l[_] = l[_] || U(), De(g, l[_])) : De(g, l);
|
|
@@ -1888,7 +1888,7 @@ function ut(e, n) {
|
|
|
1888
1888
|
function _t(e) {
|
|
1889
1889
|
return e.type;
|
|
1890
1890
|
}
|
|
1891
|
-
function
|
|
1891
|
+
function ls(e, n, t) {
|
|
1892
1892
|
let r = P(n.messages) ? n.messages : U();
|
|
1893
1893
|
"__i18nGlobal" in t && (r = ut(e.locale.value, {
|
|
1894
1894
|
messages: r,
|
|
@@ -1913,20 +1913,20 @@ function la(e, n, t) {
|
|
|
1913
1913
|
}
|
|
1914
1914
|
}
|
|
1915
1915
|
}
|
|
1916
|
-
function
|
|
1916
|
+
function jn(e) {
|
|
1917
1917
|
return Nt(bt, null, e, 0);
|
|
1918
1918
|
}
|
|
1919
|
-
const Kn = "__INTLIFY_META__", Xn = () => [],
|
|
1919
|
+
const Kn = "__INTLIFY_META__", Xn = () => [], us = () => !1;
|
|
1920
1920
|
let $n = 0;
|
|
1921
1921
|
function Jn(e) {
|
|
1922
1922
|
return (n, t, r, c) => e(t, r, fn() || void 0, c);
|
|
1923
1923
|
}
|
|
1924
|
-
const
|
|
1924
|
+
const _s = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1925
1925
|
const e = fn();
|
|
1926
1926
|
let n = null;
|
|
1927
1927
|
return e && (n = _t(e)[Kn]) ? { [Kn]: n } : null;
|
|
1928
1928
|
};
|
|
1929
|
-
function
|
|
1929
|
+
function fs(e = {}) {
|
|
1930
1930
|
const { __root: n, __injectWithOption: t } = e, r = n === void 0, c = e.flatJson, o = kn ? Et : gt;
|
|
1931
1931
|
let l = B(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1932
1932
|
const f = o(
|
|
@@ -1934,15 +1934,15 @@ function fa(e = {}) {
|
|
|
1934
1934
|
n && l ? n.locale.value : O(e.locale) ? e.locale : Me
|
|
1935
1935
|
), _ = o(
|
|
1936
1936
|
// prettier-ignore
|
|
1937
|
-
n && l ? n.fallbackLocale.value : O(e.fallbackLocale) ||
|
|
1937
|
+
n && l ? n.fallbackLocale.value : O(e.fallbackLocale) || x(e.fallbackLocale) || D(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : f.value
|
|
1938
1938
|
), g = o(ut(f.value, e)), L = o(D(e.datetimeFormats) ? e.datetimeFormats : { [f.value]: {} }), k = o(D(e.numberFormats) ? e.numberFormats : { [f.value]: {} });
|
|
1939
|
-
let N = n ? n.missingWarn : B(e.missingWarn) || Pe(e.missingWarn) ? e.missingWarn : !0, A = n ? n.fallbackWarn : B(e.fallbackWarn) || Pe(e.fallbackWarn) ? e.fallbackWarn : !0, S = n ? n.fallbackRoot : B(e.fallbackRoot) ? e.fallbackRoot : !0, v = !!e.fallbackFormat, y = w(e.missing) ? e.missing : null, i = w(e.missing) ? Jn(e.missing) : null,
|
|
1939
|
+
let N = n ? n.missingWarn : B(e.missingWarn) || Pe(e.missingWarn) ? e.missingWarn : !0, A = n ? n.fallbackWarn : B(e.fallbackWarn) || Pe(e.fallbackWarn) ? e.fallbackWarn : !0, S = n ? n.fallbackRoot : B(e.fallbackRoot) ? e.fallbackRoot : !0, v = !!e.fallbackFormat, y = w(e.missing) ? e.missing : null, i = w(e.missing) ? Jn(e.missing) : null, p = w(e.postTranslation) ? e.postTranslation : null, h = n ? n.warnHtmlMessage : B(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, m = !!e.escapeParameter;
|
|
1940
1940
|
const I = n ? n.modifiers : D(e.modifiers) ? e.modifiers : {};
|
|
1941
1941
|
let b = e.pluralRules || n && n.pluralRules, T;
|
|
1942
1942
|
T = (() => {
|
|
1943
1943
|
r && Fn(null);
|
|
1944
1944
|
const u = {
|
|
1945
|
-
version:
|
|
1945
|
+
version: os,
|
|
1946
1946
|
locale: f.value,
|
|
1947
1947
|
fallbackLocale: _.value,
|
|
1948
1948
|
messages: g.value,
|
|
@@ -1953,7 +1953,7 @@ function fa(e = {}) {
|
|
|
1953
1953
|
fallbackWarn: A,
|
|
1954
1954
|
fallbackFormat: v,
|
|
1955
1955
|
unresolving: !0,
|
|
1956
|
-
postTranslation:
|
|
1956
|
+
postTranslation: p === null ? void 0 : p,
|
|
1957
1957
|
warnHtmlMessage: h,
|
|
1958
1958
|
escapeParameter: m,
|
|
1959
1959
|
messageResolver: e.messageResolver,
|
|
@@ -1961,7 +1961,7 @@ function fa(e = {}) {
|
|
|
1961
1961
|
__meta: { framework: "vue" }
|
|
1962
1962
|
};
|
|
1963
1963
|
u.datetimeFormats = L.value, u.numberFormats = k.value, u.__datetimeFormatters = D(T) ? T.__datetimeFormatters : void 0, u.__numberFormatters = D(T) ? T.__numberFormatters : void 0;
|
|
1964
|
-
const E =
|
|
1964
|
+
const E = Yr(u);
|
|
1965
1965
|
return r && Fn(E), E;
|
|
1966
1966
|
})(), Ne(T, f.value, _.value);
|
|
1967
1967
|
function G() {
|
|
@@ -1983,12 +1983,12 @@ function fa(e = {}) {
|
|
|
1983
1983
|
set: (u) => {
|
|
1984
1984
|
_.value = u, T.fallbackLocale = _.value, Ne(T, f.value, u);
|
|
1985
1985
|
}
|
|
1986
|
-
}),
|
|
1986
|
+
}), Y = he(() => g.value), le = /* @__PURE__ */ he(() => L.value), He = /* @__PURE__ */ he(() => k.value);
|
|
1987
1987
|
function Ge() {
|
|
1988
|
-
return w(
|
|
1988
|
+
return w(p) ? p : null;
|
|
1989
1989
|
}
|
|
1990
1990
|
function Ve(u) {
|
|
1991
|
-
|
|
1991
|
+
p = u, T.postTranslation = u;
|
|
1992
1992
|
}
|
|
1993
1993
|
function We() {
|
|
1994
1994
|
return y;
|
|
@@ -2000,14 +2000,14 @@ function fa(e = {}) {
|
|
|
2000
2000
|
G();
|
|
2001
2001
|
let fe;
|
|
2002
2002
|
try {
|
|
2003
|
-
|
|
2003
|
+
as.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (T.fallbackContext = n ? xr() : void 0), fe = u(T);
|
|
2004
2004
|
} finally {
|
|
2005
2005
|
__INTLIFY_PROD_DEVTOOLS__, r || (T.fallbackContext = void 0);
|
|
2006
2006
|
}
|
|
2007
2007
|
if (F !== "translate exists" && // for not `te` (e.g `t`)
|
|
2008
|
-
|
|
2009
|
-
const [
|
|
2010
|
-
return n && S ? W(n) : oe(
|
|
2008
|
+
j(fe) && fe === we || F === "translate exists" && !fe) {
|
|
2009
|
+
const [dt, Is] = E();
|
|
2010
|
+
return n && S ? W(n) : oe(dt);
|
|
2011
2011
|
} else {
|
|
2012
2012
|
if (Re(fe))
|
|
2013
2013
|
return fe;
|
|
@@ -2015,7 +2015,7 @@ function fa(e = {}) {
|
|
|
2015
2015
|
}
|
|
2016
2016
|
};
|
|
2017
2017
|
function Le(...u) {
|
|
2018
|
-
return z((E) => Reflect.apply(
|
|
2018
|
+
return z((E) => Reflect.apply(Yn, null, [E, ...u]), () => on(...u), "translate", (E) => Reflect.apply(E.t, E, [...u]), (E) => E, (E) => O(E));
|
|
2019
2019
|
}
|
|
2020
2020
|
function ve(...u) {
|
|
2021
2021
|
const [E, F, W] = u;
|
|
@@ -2023,17 +2023,17 @@ function fa(e = {}) {
|
|
|
2023
2023
|
throw Oe(Ee.INVALID_ARGUMENT);
|
|
2024
2024
|
return Le(E, F, K({ resolvedMessage: !0 }, W || {}));
|
|
2025
2025
|
}
|
|
2026
|
-
function
|
|
2027
|
-
return z((E) => Reflect.apply(Hn, null, [E, ...u]), () =>
|
|
2026
|
+
function xe(...u) {
|
|
2027
|
+
return z((E) => Reflect.apply(Hn, null, [E, ...u]), () => sn(...u), "datetime format", (E) => Reflect.apply(E.d, E, [...u]), () => Mn, (E) => O(E));
|
|
2028
2028
|
}
|
|
2029
|
-
function
|
|
2030
|
-
return z((E) => Reflect.apply(Vn, null, [E, ...u]), () =>
|
|
2029
|
+
function Ye(...u) {
|
|
2030
|
+
return z((E) => Reflect.apply(Vn, null, [E, ...u]), () => an(...u), "number format", (E) => Reflect.apply(E.n, E, [...u]), () => Mn, (E) => O(E));
|
|
2031
2031
|
}
|
|
2032
|
-
function
|
|
2033
|
-
return u.map((E) => O(E) ||
|
|
2032
|
+
function je(u) {
|
|
2033
|
+
return u.map((E) => O(E) || j(E) || B(E) ? jn(String(E)) : E);
|
|
2034
2034
|
}
|
|
2035
2035
|
const Ke = {
|
|
2036
|
-
normalize:
|
|
2036
|
+
normalize: je,
|
|
2037
2037
|
interpolate: (u) => u,
|
|
2038
2038
|
type: "vnode"
|
|
2039
2039
|
};
|
|
@@ -2042,18 +2042,18 @@ function fa(e = {}) {
|
|
|
2042
2042
|
let F;
|
|
2043
2043
|
const W = E;
|
|
2044
2044
|
try {
|
|
2045
|
-
W.processor = Ke, F = Reflect.apply(
|
|
2045
|
+
W.processor = Ke, F = Reflect.apply(Yn, null, [W, ...u]);
|
|
2046
2046
|
} finally {
|
|
2047
2047
|
W.processor = null;
|
|
2048
2048
|
}
|
|
2049
2049
|
return F;
|
|
2050
|
-
}, () => on(...u), "translate", (E) => E[cn](...u), (E) => [
|
|
2050
|
+
}, () => on(...u), "translate", (E) => E[cn](...u), (E) => [jn(E)], (E) => x(E));
|
|
2051
2051
|
}
|
|
2052
2052
|
function ye(...u) {
|
|
2053
|
-
return z((E) => Reflect.apply(Vn, null, [E, ...u]), () =>
|
|
2053
|
+
return z((E) => Reflect.apply(Vn, null, [E, ...u]), () => an(...u), "number format", (E) => E[un](...u), Xn, (E) => O(E) || x(E));
|
|
2054
2054
|
}
|
|
2055
2055
|
function $e(...u) {
|
|
2056
|
-
return z((E) => Reflect.apply(Hn, null, [E, ...u]), () =>
|
|
2056
|
+
return z((E) => Reflect.apply(Hn, null, [E, ...u]), () => sn(...u), "datetime format", (E) => E[ln](...u), Xn, (E) => O(E) || x(E));
|
|
2057
2057
|
}
|
|
2058
2058
|
function Je(u) {
|
|
2059
2059
|
b = u, T.pluralRules = b;
|
|
@@ -2063,8 +2063,8 @@ function fa(e = {}) {
|
|
|
2063
2063
|
if (!u)
|
|
2064
2064
|
return !1;
|
|
2065
2065
|
const F = O(E) ? E : f.value, W = ue(F), oe = T.messageResolver(W, u);
|
|
2066
|
-
return
|
|
2067
|
-
}, () => [u], "translate exists", (F) => Reflect.apply(F.te, F, [u, E]),
|
|
2066
|
+
return pe(oe) || J(oe) || O(oe);
|
|
2067
|
+
}, () => [u], "translate exists", (F) => Reflect.apply(F.te, F, [u, E]), us, (F) => B(F));
|
|
2068
2068
|
}
|
|
2069
2069
|
function Qe(u) {
|
|
2070
2070
|
let E = null;
|
|
@@ -2105,13 +2105,13 @@ function fa(e = {}) {
|
|
|
2105
2105
|
function Ze(u) {
|
|
2106
2106
|
return L.value[u] || {};
|
|
2107
2107
|
}
|
|
2108
|
-
function
|
|
2108
|
+
function s(u, E) {
|
|
2109
2109
|
L.value[u] = E, T.datetimeFormats = L.value, Gn(T, u, E);
|
|
2110
2110
|
}
|
|
2111
|
-
function
|
|
2111
|
+
function a(u, E) {
|
|
2112
2112
|
L.value[u] = K(L.value[u] || {}, E), T.datetimeFormats = L.value, Gn(T, u, E);
|
|
2113
2113
|
}
|
|
2114
|
-
function
|
|
2114
|
+
function d(u) {
|
|
2115
2115
|
return k.value[u] || {};
|
|
2116
2116
|
}
|
|
2117
2117
|
function R(u, E) {
|
|
@@ -2138,7 +2138,7 @@ function fa(e = {}) {
|
|
|
2138
2138
|
get availableLocales() {
|
|
2139
2139
|
return Object.keys(g.value).sort();
|
|
2140
2140
|
},
|
|
2141
|
-
messages:
|
|
2141
|
+
messages: Y,
|
|
2142
2142
|
get modifiers() {
|
|
2143
2143
|
return I;
|
|
2144
2144
|
},
|
|
@@ -2192,9 +2192,9 @@ function fa(e = {}) {
|
|
|
2192
2192
|
setPostTranslationHandler: Ve,
|
|
2193
2193
|
getMissingHandler: We,
|
|
2194
2194
|
setMissingHandler: Be,
|
|
2195
|
-
[
|
|
2195
|
+
[is]: Je
|
|
2196
2196
|
};
|
|
2197
|
-
return C.datetimeFormats = le, C.numberFormats = He, C.rt = ve, C.te = qe, C.tm = ge, C.d =
|
|
2197
|
+
return C.datetimeFormats = le, C.numberFormats = He, C.rt = ve, C.te = qe, C.tm = ge, C.d = xe, C.n = Ye, C.getDateTimeFormat = Ze, C.setDateTimeFormat = s, C.mergeDateTimeFormat = a, C.getNumberFormat = d, C.setNumberFormat = R, C.mergeNumberFormat = V, C[lt] = t, C[cn] = Xe, C[ln] = $e, C[un] = ye, C;
|
|
2198
2198
|
}
|
|
2199
2199
|
const Nn = {
|
|
2200
2200
|
tag: {
|
|
@@ -2214,7 +2214,7 @@ const Nn = {
|
|
|
2214
2214
|
type: Object
|
|
2215
2215
|
}
|
|
2216
2216
|
};
|
|
2217
|
-
function
|
|
2217
|
+
function ms({ slots: e }, n) {
|
|
2218
2218
|
return n.length === 1 && n[0] === "default" ? (e.default ? e.default() : []).reduce((r, c) => [
|
|
2219
2219
|
...r,
|
|
2220
2220
|
// prettier-ignore
|
|
@@ -2234,11 +2234,11 @@ K({
|
|
|
2234
2234
|
},
|
|
2235
2235
|
plural: {
|
|
2236
2236
|
type: [Number, String],
|
|
2237
|
-
validator: (e) =>
|
|
2237
|
+
validator: (e) => j(e) || !isNaN(e)
|
|
2238
2238
|
}
|
|
2239
2239
|
}, Nn);
|
|
2240
|
-
function
|
|
2241
|
-
return
|
|
2240
|
+
function ds(e) {
|
|
2241
|
+
return x(e) && !O(e[0]);
|
|
2242
2242
|
}
|
|
2243
2243
|
function mt(e, n, t, r) {
|
|
2244
2244
|
const { slots: c, attrs: o } = n;
|
|
@@ -2248,9 +2248,9 @@ function mt(e, n, t, r) {
|
|
|
2248
2248
|
e.locale && (l.locale = e.locale), O(e.format) ? l.key = e.format : P(e.format) && (O(e.format.key) && (l.key = e.format.key), f = Object.keys(e.format).reduce((N, A) => t.includes(A) ? K(U(), N, { [A]: e.format[A] }) : N, U()));
|
|
2249
2249
|
const _ = r(e.value, l, f);
|
|
2250
2250
|
let g = [l.key];
|
|
2251
|
-
|
|
2251
|
+
x(_) ? g = _.map((N, A) => {
|
|
2252
2252
|
const S = c[N.type], v = S ? S({ [N.type]: N.value, index: A, parts: _ }) : [N.value];
|
|
2253
|
-
return
|
|
2253
|
+
return ds(v) && (v[0].key = `${N.type}-${A}`), v;
|
|
2254
2254
|
}) : O(_) && (g = [_]);
|
|
2255
2255
|
const L = K(U(), o), k = O(e.tag) || P(e.tag) ? e.tag : ft();
|
|
2256
2256
|
return qn(k, L, g);
|
|
@@ -2274,44 +2274,44 @@ K({
|
|
|
2274
2274
|
type: [String, Object]
|
|
2275
2275
|
}
|
|
2276
2276
|
}, Nn);
|
|
2277
|
-
const
|
|
2277
|
+
const ps = /* @__PURE__ */ ie("global-vue-i18n");
|
|
2278
2278
|
function bn(e = {}) {
|
|
2279
2279
|
const n = fn();
|
|
2280
2280
|
if (n == null)
|
|
2281
2281
|
throw Oe(Ee.MUST_BE_CALL_SETUP_TOP);
|
|
2282
2282
|
if (!n.isCE && n.appContext.app != null && !n.appContext.app.__VUE_I18N_SYMBOL__)
|
|
2283
2283
|
throw Oe(Ee.NOT_INSTALLED);
|
|
2284
|
-
const t =
|
|
2284
|
+
const t = Es(n), r = Ts(t), c = _t(n), o = gs(e, c);
|
|
2285
2285
|
if (o === "global")
|
|
2286
|
-
return
|
|
2286
|
+
return ls(r, e, c), r;
|
|
2287
2287
|
if (o === "parent") {
|
|
2288
|
-
let _ =
|
|
2288
|
+
let _ = hs(t, n, e.__useComponent);
|
|
2289
2289
|
return _ == null && (_ = r), _;
|
|
2290
2290
|
}
|
|
2291
2291
|
const l = t;
|
|
2292
2292
|
let f = l.__getInstance(n);
|
|
2293
2293
|
if (f == null) {
|
|
2294
2294
|
const _ = K({}, e);
|
|
2295
|
-
"__i18n" in c && (_.__i18n = c.__i18n), r && (_.__root = r), f =
|
|
2295
|
+
"__i18n" in c && (_.__i18n = c.__i18n), r && (_.__root = r), f = fs(_), l.__composerExtend && (f[_n] = l.__composerExtend(f)), bs(l, n, f), l.__setInstance(n, f);
|
|
2296
2296
|
}
|
|
2297
2297
|
return f;
|
|
2298
2298
|
}
|
|
2299
|
-
function
|
|
2300
|
-
const n =
|
|
2299
|
+
function Es(e) {
|
|
2300
|
+
const n = pt(e.isCE ? ps : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
2301
2301
|
if (!n)
|
|
2302
2302
|
throw Oe(e.isCE ? Ee.NOT_INSTALLED_WITH_PROVIDE : Ee.UNEXPECTED_ERROR);
|
|
2303
2303
|
return n;
|
|
2304
2304
|
}
|
|
2305
|
-
function
|
|
2305
|
+
function gs(e, n) {
|
|
2306
2306
|
return Ue(e) ? "__i18n" in n ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
2307
2307
|
}
|
|
2308
|
-
function
|
|
2308
|
+
function Ts(e) {
|
|
2309
2309
|
return e.mode === "composition" ? e.global : e.global.__composer;
|
|
2310
2310
|
}
|
|
2311
|
-
function
|
|
2311
|
+
function hs(e, n, t = !1) {
|
|
2312
2312
|
let r = null;
|
|
2313
2313
|
const c = n.root;
|
|
2314
|
-
let o =
|
|
2314
|
+
let o = Ns(n, t);
|
|
2315
2315
|
for (; o != null; ) {
|
|
2316
2316
|
const l = e;
|
|
2317
2317
|
if (e.mode === "composition")
|
|
@@ -2326,10 +2326,10 @@ function ha(e, n, t = !1) {
|
|
|
2326
2326
|
}
|
|
2327
2327
|
return r;
|
|
2328
2328
|
}
|
|
2329
|
-
function
|
|
2329
|
+
function Ns(e, n = !1) {
|
|
2330
2330
|
return e == null ? null : n && e.vnode.ctx || e.parent;
|
|
2331
2331
|
}
|
|
2332
|
-
function
|
|
2332
|
+
function bs(e, n, t) {
|
|
2333
2333
|
Tt(() => {
|
|
2334
2334
|
}, n), ht(() => {
|
|
2335
2335
|
const r = t;
|
|
@@ -2338,7 +2338,7 @@ function ba(e, n, t) {
|
|
|
2338
2338
|
c && (c(), delete r[_n]);
|
|
2339
2339
|
}, n);
|
|
2340
2340
|
}
|
|
2341
|
-
|
|
2341
|
+
cs();
|
|
2342
2342
|
Hr(hr);
|
|
2343
2343
|
Gr(Ur);
|
|
2344
2344
|
Vr(zn);
|