@feedmepos/mf-connect 0.0.16-beta.11 → 0.0.16-beta.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/dist/{Analytic-Gq7PoNer.js → Analytic-B8FGU0B7.js} +32 -32
  2. package/dist/App-BXAJ1Z_T.js +6260 -0
  3. package/dist/{Broadcast-DU3JnBwZ.js → Broadcast-DvmjAtxH.js} +8 -8
  4. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-D0I8IZIR.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-Dvp3mOEx.js} +8 -8
  5. package/dist/Card-DblSxqRr.js +825 -0
  6. package/dist/{Collections-B1SC1rr7.js → Collections-C4KRnnWW.js} +4 -4
  7. package/dist/{Credit-BgwI8DR3.js → Credit-C5MbDbWr.js} +8 -8
  8. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-D9VR3P2d.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-2MKUx_As.js} +718 -718
  9. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-DPgu45MD.js → EffectSheet.vue_vue_type_style_index_0_lang-CCsxDg45.js} +8 -8
  10. package/dist/{Experience-C2Q-zqV6.js → Experience-CmDLg17p.js} +8 -8
  11. package/dist/{Game-DU2pZDGk.js → Game-5zvjlfuj.js} +8 -8
  12. package/dist/{Marketing-DWiTQp9I.js → Marketing-BVpimsBU.js} +5 -5
  13. package/dist/Member-BkOqtn9n.js +69 -0
  14. package/dist/{MemberList-DzMdajIf.js → MemberList-3IvxRInu.js} +105 -105
  15. package/dist/{MemberTransactions-Bciankuu.js → MemberTransactions-DRpV77Pn.js} +1 -1
  16. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DH25Hfk3.js → MessageInput.vue_vue_type_script_setup_true_lang-CBvpHaAl.js} +2 -2
  17. package/dist/{Mission-KzwRlaA5.js → Mission-9fJLMJKS.js} +8 -8
  18. package/dist/{Point-CSKvZXHc.js → Point-7O6IdhWH.js} +8 -8
  19. package/dist/Promotion-XqpFw0IZ.js +247 -0
  20. package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-4zIO3oCr.js → RuleGroup.vue_vue_type_script_setup_true_lang-1Fko0V0J.js} +14 -14
  21. package/dist/{Segment-2Q0PonBb.js → Segment-DMaHcJT_.js} +8 -8
  22. package/dist/{Setting-Df5vVRt4.js → Setting-DQh2aqfD.js} +8 -8
  23. package/dist/{Store-C0WXCKs6.js → Store-WvEUlY9N.js} +393 -393
  24. package/dist/{StoreRewards-eSSIO0nk.js → StoreRewards-D50uR2b9.js} +11 -11
  25. package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-BjnCRKGX.js → StoreTransactions.vue_vue_type_script_setup_true_lang-Cm0lHUkP.js} +6 -6
  26. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-b0xTcoEp.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-BnjVkkS1.js} +1 -1
  27. package/dist/{Tier-v-1FkRU-.js → Tier-CqNKi52t.js} +14 -14
  28. package/dist/{Title-CQ2JWqBW.js → Title-CzBp5ig0.js} +14 -14
  29. package/dist/{Transaction-0OouN_6s.js → Transaction-EKIwyavj.js} +2 -2
  30. package/dist/{Voucher-CL0cgogx.js → Voucher-Dhpzn8gs.js} +11 -11
  31. package/dist/{app-Bd19eW7X.js → app-3-6LVz11.js} +27 -24
  32. package/dist/app-DM-4iSsh.js +53428 -0
  33. package/dist/app.js +1 -1
  34. package/dist/{business-dQh3AEot.js → business-Wk7ElvEz.js} +1 -1
  35. package/dist/{campaign-BOl8AgKA.js → campaign-tHUDB7cm.js} +2 -2
  36. package/dist/{collection.fn-B_YsXmrP.js → collection.fn-DS11Xpbu.js} +2 -2
  37. package/dist/dto-B8X9qnLh.js +1169 -0
  38. package/dist/{effect-C2jCStXO.js → effect-BH3AL4S6.js} +9 -9
  39. package/dist/{export-BtZc3Yzh.js → export-DAAmj_h9.js} +3 -3
  40. package/dist/{helper-8oGsrM56.js → helper-BSKllptD.js} +1 -1
  41. package/dist/index-5FIs0G8O.js +29193 -0
  42. package/dist/{index-HoacsZDk.js → index-B0Pw9YQd.js} +46 -39
  43. package/dist/{index-C_0IFnwi.js → index-BH-mOC5-.js} +5 -5
  44. package/dist/{index-C7oeXRUl.js → index-BO94KhQO.js} +1 -1
  45. package/dist/{index-DCixRRvz.js → index-BgIWS3vT.js} +5 -5
  46. package/dist/{index-CZKYIefW.js → index-CIBWHBM-.js} +2 -2
  47. package/dist/{index-Di-kWSmf.js → index-CPxCpRFW.js} +3 -3
  48. package/dist/{index-DYDhH9bi.js → index-CoYSYku2.js} +1 -1
  49. package/dist/{index-DwKqFNF6.js → index-DOFTUTiA.js} +1 -1
  50. package/dist/{index-DFgt4-VW.js → index-DmxAa1MA.js} +1 -1
  51. package/dist/{index-UTQHDUdW.js → index-Z7d84hDW.js} +7 -2
  52. package/dist/{index-6FkKY3q0.js → index-vIwngIP9.js} +1 -1
  53. package/dist/index.esm2017-jX1Q0DsS.js +3069 -0
  54. package/dist/loading-DeWfPgai.js +29843 -0
  55. package/dist/{membership-Ccrx9R6r.js → membership-oIubaesw.js} +3 -3
  56. package/dist/money-D-3GphEZ.js +15 -0
  57. package/dist/number-D_Fi0beD.js +12 -0
  58. package/dist/{rule-DJ07h3Gh.js → rule-C37bqQrm.js} +314 -343
  59. package/dist/{rule-builder-DJ-acvVD.js → rule-builder-DPQJ8Tbv.js} +1 -1
  60. package/dist/style.css +1 -1
  61. package/dist/{template-clxvNnbF.js → template-CIStnXhd.js} +4 -4
  62. package/dist/tslib.es6-BCqqvLQ_.js +44 -0
  63. package/dist/vue-i18n-jf-SfrQy.js +2365 -0
  64. package/dist/{xlsx-BB366cdN.js → xlsx-C91dwH9k.js} +1903 -1903
  65. package/package.json +12 -12
  66. package/dist/App-Cikl5jnp.js +0 -177
  67. package/dist/Card-hIeQ5XUH.js +0 -825
  68. package/dist/Member-BEXKBFry.js +0 -69
  69. package/dist/Promotion-IiwPhx8p.js +0 -221
  70. package/dist/app-CfS25Z66.js +0 -34797
  71. package/dist/dto-B8NfyVPG.js +0 -1169
  72. package/dist/index-Dn0jdj0o.js +0 -28058
  73. package/dist/loading-D_AN6p24.js +0 -32697
  74. package/dist/money-waD-f-Zz.js +0 -15
  75. package/dist/number-CwTGGsh9.js +0 -12
  76. package/dist/vue-i18n-BxwiXSkp.js +0 -2365
@@ -1,2365 +0,0 @@
1
- import { defineComponent as ut, h as Jt, getCurrentInstance as pt, inject as dn, onMounted as gn, onUnmounted as En, computed as ke, watch as Tt, Fragment as qt, ref as bn, shallowRef as kn, createVNode as Ln, Text as vn } from "vue";
2
- import "@vue/devtools-api";
3
- /*!
4
- * shared v10.0.5
5
- * (c) 2024 kazuya kawaguchi
6
- * Released under the MIT License.
7
- */
8
- const Nt = typeof window < "u", oe = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), Tn = (e, t, n) => Nn({ l: e, k: t, s: n }), Nn = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), B = (e) => typeof e == "number" && isFinite(e), In = (e) => mt(e) === "[object Date]", Pe = (e) => mt(e) === "[object RegExp]", Fe = (e) => D(e) && Object.keys(e).length === 0, K = Object.assign, hn = Object.create, F = (e = null) => hn(e);
9
- let It;
10
- const ce = () => It || (It = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : F());
11
- function ht(e) {
12
- return e.replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;");
13
- }
14
- const Sn = Object.prototype.hasOwnProperty;
15
- function Q(e, t) {
16
- return Sn.call(e, t);
17
- }
18
- const j = Array.isArray, w = (e) => typeof e == "function", I = (e) => typeof e == "string", H = (e) => typeof e == "boolean", P = (e) => e !== null && typeof e == "object", On = (e) => P(e) && w(e.then) && w(e.catch), Qt = Object.prototype.toString, mt = (e) => Qt.call(e), D = (e) => mt(e) === "[object Object]", An = (e) => e == null ? "" : j(e) || D(e) && e.toString === Qt ? JSON.stringify(e, null, 2) : String(e);
19
- function ft(e, t = "") {
20
- return e.reduce((n, r, c) => c === 0 ? n + r : n + t + r, "");
21
- }
22
- function yn(e, t) {
23
- typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
24
- }
25
- const ye = (e) => !P(e) || j(e);
26
- function De(e, t) {
27
- if (ye(e) || ye(t))
28
- throw new Error("Invalid value");
29
- const n = [{ src: e, des: t }];
30
- for (; n.length; ) {
31
- const { src: r, des: c } = n.pop();
32
- Object.keys(r).forEach((i) => {
33
- i !== "__proto__" && (P(r[i]) && !P(c[i]) && (c[i] = Array.isArray(r[i]) ? [] : F()), ye(c[i]) || ye(r[i]) ? c[i] = r[i] : n.push({ src: r[i], des: c[i] }));
34
- });
35
- }
36
- }
37
- function Cn(e, t, n) {
38
- return { line: e, column: t, offset: n };
39
- }
40
- function nt(e, t, n) {
41
- return { start: e, end: t };
42
- }
43
- const M = {
44
- // tokenizer error codes
45
- EXPECTED_TOKEN: 1,
46
- INVALID_TOKEN_IN_PLACEHOLDER: 2,
47
- UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER: 3,
48
- UNKNOWN_ESCAPE_SEQUENCE: 4,
49
- INVALID_UNICODE_ESCAPE_SEQUENCE: 5,
50
- UNBALANCED_CLOSING_BRACE: 6,
51
- UNTERMINATED_CLOSING_BRACE: 7,
52
- EMPTY_PLACEHOLDER: 8,
53
- NOT_ALLOW_NEST_PLACEHOLDER: 9,
54
- INVALID_LINKED_FORMAT: 10,
55
- // parser error codes
56
- MUST_HAVE_MESSAGES_IN_PLURAL: 11,
57
- UNEXPECTED_EMPTY_LINKED_MODIFIER: 12,
58
- UNEXPECTED_EMPTY_LINKED_KEY: 13,
59
- UNEXPECTED_LEXICAL_ANALYSIS: 14,
60
- // generator error codes
61
- UNHANDLED_CODEGEN_NODE_TYPE: 15,
62
- // minifier error codes
63
- UNHANDLED_MINIFIER_NODE_TYPE: 16
64
- }, Rn = 17;
65
- function Ue(e, t, n = {}) {
66
- const { domain: r, messages: c, args: i } = n, l = e, p = new SyntaxError(String(l));
67
- return p.code = e, t && (p.location = t), p.domain = r, p;
68
- }
69
- function Dn(e) {
70
- throw e;
71
- }
72
- const ee = " ", Pn = "\r", X = `
73
- `, Mn = "\u2028", Fn = "\u2029";
74
- function Un(e) {
75
- const t = e;
76
- let n = 0, r = 1, c = 1, i = 0;
77
- const l = (b) => t[b] === Pn && t[b + 1] === X, p = (b) => t[b] === X, _ = (b) => t[b] === Fn, E = (b) => t[b] === Mn, h = (b) => l(b) || p(b) || _(b) || E(b), N = () => n, L = () => r, A = () => c, C = () => i, y = (b) => l(b) || _(b) || E(b) ? X : t[b], S = () => y(n), o = () => y(n + i);
78
- function d() {
79
- return i = 0, h(n) && (r++, c = 0), l(n) && n++, n++, c++, t[n];
80
- }
81
- function k() {
82
- return l(n + i) && i++, i++, t[n + i];
83
- }
84
- function m() {
85
- n = 0, r = 1, c = 1, i = 0;
86
- }
87
- function T(b = 0) {
88
- i = b;
89
- }
90
- function v() {
91
- const b = n + i;
92
- for (; b !== n; )
93
- d();
94
- i = 0;
95
- }
96
- return {
97
- index: N,
98
- line: L,
99
- column: A,
100
- peekOffset: C,
101
- charAt: y,
102
- currentChar: S,
103
- currentPeek: o,
104
- next: d,
105
- peek: k,
106
- reset: m,
107
- resetPeek: T,
108
- skipToPeek: v
109
- };
110
- }
111
- const re = void 0, wn = ".", St = "'", Gn = "tokenizer";
112
- function Vn(e, t = {}) {
113
- const n = t.location !== !1, r = Un(e), c = () => r.index(), i = () => Cn(r.line(), r.column(), r.index()), l = i(), p = c(), _ = {
114
- currentType: 13,
115
- offset: p,
116
- startLoc: l,
117
- endLoc: l,
118
- lastType: 13,
119
- lastOffset: p,
120
- lastStartLoc: l,
121
- lastEndLoc: l,
122
- braceNest: 0,
123
- inLinked: !1,
124
- text: ""
125
- }, E = () => _, { onError: h } = t;
126
- function N(s, a, f, ...O) {
127
- const x = E();
128
- if (a.column += f, a.offset += f, h) {
129
- const R = n ? nt(x.startLoc, a) : null, u = Ue(s, R, {
130
- domain: Gn,
131
- args: O
132
- });
133
- h(u);
134
- }
135
- }
136
- function L(s, a, f) {
137
- s.endLoc = i(), s.currentType = a;
138
- const O = { type: a };
139
- return n && (O.loc = nt(s.startLoc, s.endLoc)), f != null && (O.value = f), O;
140
- }
141
- const A = (s) => L(
142
- s,
143
- 13
144
- /* TokenTypes.EOF */
145
- );
146
- function C(s, a) {
147
- return s.currentChar() === a ? (s.next(), a) : (N(M.EXPECTED_TOKEN, i(), 0, a), "");
148
- }
149
- function y(s) {
150
- let a = "";
151
- for (; s.currentPeek() === ee || s.currentPeek() === X; )
152
- a += s.currentPeek(), s.peek();
153
- return a;
154
- }
155
- function S(s) {
156
- const a = y(s);
157
- return s.skipToPeek(), a;
158
- }
159
- function o(s) {
160
- if (s === re)
161
- return !1;
162
- const a = s.charCodeAt(0);
163
- return a >= 97 && a <= 122 || // a-z
164
- a >= 65 && a <= 90 || // A-Z
165
- a === 95;
166
- }
167
- function d(s) {
168
- if (s === re)
169
- return !1;
170
- const a = s.charCodeAt(0);
171
- return a >= 48 && a <= 57;
172
- }
173
- function k(s, a) {
174
- const { currentType: f } = a;
175
- if (f !== 2)
176
- return !1;
177
- y(s);
178
- const O = o(s.currentPeek());
179
- return s.resetPeek(), O;
180
- }
181
- function m(s, a) {
182
- const { currentType: f } = a;
183
- if (f !== 2)
184
- return !1;
185
- y(s);
186
- const O = s.currentPeek() === "-" ? s.peek() : s.currentPeek(), x = d(O);
187
- return s.resetPeek(), x;
188
- }
189
- function T(s, a) {
190
- const { currentType: f } = a;
191
- if (f !== 2)
192
- return !1;
193
- y(s);
194
- const O = s.currentPeek() === St;
195
- return s.resetPeek(), O;
196
- }
197
- function v(s, a) {
198
- const { currentType: f } = a;
199
- if (f !== 7)
200
- return !1;
201
- y(s);
202
- const O = s.currentPeek() === ".";
203
- return s.resetPeek(), O;
204
- }
205
- function b(s, a) {
206
- const { currentType: f } = a;
207
- if (f !== 8)
208
- return !1;
209
- y(s);
210
- const O = o(s.currentPeek());
211
- return s.resetPeek(), O;
212
- }
213
- function G(s, a) {
214
- const { currentType: f } = a;
215
- if (!(f === 7 || f === 11))
216
- return !1;
217
- y(s);
218
- const O = s.currentPeek() === ":";
219
- return s.resetPeek(), O;
220
- }
221
- function V(s, a) {
222
- const { currentType: f } = a;
223
- if (f !== 9)
224
- return !1;
225
- const O = () => {
226
- const R = s.currentPeek();
227
- return R === "{" ? o(s.peek()) : R === "@" || R === "|" || R === ":" || R === "." || R === ee || !R ? !1 : R === X ? (s.peek(), O()) : q(s, !1);
228
- }, x = O();
229
- return s.resetPeek(), x;
230
- }
231
- function $(s) {
232
- y(s);
233
- const a = s.currentPeek() === "|";
234
- return s.resetPeek(), a;
235
- }
236
- function q(s, a = !0) {
237
- const f = (x = !1, R = "") => {
238
- const u = s.currentPeek();
239
- return u === "{" || u === "@" || !u ? x : u === "|" ? !(R === ee || R === X) : u === ee ? (s.peek(), f(!0, ee)) : u === X ? (s.peek(), f(!0, X)) : !0;
240
- }, O = f();
241
- return a && s.resetPeek(), O;
242
- }
243
- function Y(s, a) {
244
- const f = s.currentChar();
245
- return f === re ? re : a(f) ? (s.next(), f) : null;
246
- }
247
- function le(s) {
248
- const a = s.charCodeAt(0);
249
- return a >= 97 && a <= 122 || // a-z
250
- a >= 65 && a <= 90 || // A-Z
251
- a >= 48 && a <= 57 || // 0-9
252
- a === 95 || // _
253
- a === 36;
254
- }
255
- function Ge(s) {
256
- return Y(s, le);
257
- }
258
- function Ve(s) {
259
- const a = s.charCodeAt(0);
260
- return a >= 97 && a <= 122 || // a-z
261
- a >= 65 && a <= 90 || // A-Z
262
- a >= 48 && a <= 57 || // 0-9
263
- a === 95 || // _
264
- a === 36 || // $
265
- a === 45;
266
- }
267
- function xe(s) {
268
- return Y(s, Ve);
269
- }
270
- function We(s) {
271
- const a = s.charCodeAt(0);
272
- return a >= 48 && a <= 57;
273
- }
274
- function He(s) {
275
- return Y(s, We);
276
- }
277
- function z(s) {
278
- const a = s.charCodeAt(0);
279
- return a >= 48 && a <= 57 || // 0-9
280
- a >= 65 && a <= 70 || // A-F
281
- a >= 97 && a <= 102;
282
- }
283
- function he(s) {
284
- return Y(s, z);
285
- }
286
- function Se(s) {
287
- let a = "", f = "";
288
- for (; a = He(s); )
289
- f += a;
290
- return f;
291
- }
292
- function je(s) {
293
- let a = "";
294
- for (; ; ) {
295
- const f = s.currentChar();
296
- if (f === "{" || f === "}" || f === "@" || f === "|" || !f)
297
- break;
298
- if (f === ee || f === X)
299
- if (q(s))
300
- a += f, s.next();
301
- else {
302
- if ($(s))
303
- break;
304
- a += f, s.next();
305
- }
306
- else
307
- a += f, s.next();
308
- }
309
- return a;
310
- }
311
- function Ye(s) {
312
- S(s);
313
- let a = "", f = "";
314
- for (; a = xe(s); )
315
- f += a;
316
- return s.currentChar() === re && N(M.UNTERMINATED_CLOSING_BRACE, i(), 0), f;
317
- }
318
- function Be(s) {
319
- S(s);
320
- let a = "";
321
- return s.currentChar() === "-" ? (s.next(), a += `-${Se(s)}`) : a += Se(s), s.currentChar() === re && N(M.UNTERMINATED_CLOSING_BRACE, i(), 0), a;
322
- }
323
- function vt(s) {
324
- return s !== St && s !== X;
325
- }
326
- function Ke(s) {
327
- S(s), C(s, "'");
328
- let a = "", f = "";
329
- for (; a = Y(s, vt); )
330
- a === "\\" ? f += Xe(s) : f += a;
331
- const O = s.currentChar();
332
- return O === X || O === re ? (N(M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, i(), 0), O === X && (s.next(), C(s, "'")), f) : (C(s, "'"), f);
333
- }
334
- function Xe(s) {
335
- const a = s.currentChar();
336
- switch (a) {
337
- case "\\":
338
- case "'":
339
- return s.next(), `\\${a}`;
340
- case "u":
341
- return Oe(s, a, 4);
342
- case "U":
343
- return Oe(s, a, 6);
344
- default:
345
- return N(M.UNKNOWN_ESCAPE_SEQUENCE, i(), 0, a), "";
346
- }
347
- }
348
- function Oe(s, a, f) {
349
- C(s, a);
350
- let O = "";
351
- for (let x = 0; x < f; x++) {
352
- const R = he(s);
353
- if (!R) {
354
- N(M.INVALID_UNICODE_ESCAPE_SEQUENCE, i(), 0, `\\${a}${O}${s.currentChar()}`);
355
- break;
356
- }
357
- O += R;
358
- }
359
- return `\\${a}${O}`;
360
- }
361
- function $e(s) {
362
- return s !== "{" && s !== "}" && s !== ee && s !== X;
363
- }
364
- function Je(s) {
365
- S(s);
366
- let a = "", f = "";
367
- for (; a = Y(s, $e); )
368
- f += a;
369
- return f;
370
- }
371
- function qe(s) {
372
- let a = "", f = "";
373
- for (; a = Ge(s); )
374
- f += a;
375
- return f;
376
- }
377
- function Qe(s) {
378
- const a = (f) => {
379
- const O = s.currentChar();
380
- return O === "{" || O === "@" || O === "|" || O === "(" || O === ")" || !O || O === ee ? f : (f += O, s.next(), a(f));
381
- };
382
- return a("");
383
- }
384
- function Ee(s) {
385
- S(s);
386
- const a = C(
387
- s,
388
- "|"
389
- /* TokenChars.Pipe */
390
- );
391
- return S(s), a;
392
- }
393
- function _e(s, a) {
394
- let f = null;
395
- switch (s.currentChar()) {
396
- case "{":
397
- return a.braceNest >= 1 && N(M.NOT_ALLOW_NEST_PLACEHOLDER, i(), 0), s.next(), f = L(
398
- a,
399
- 2,
400
- "{"
401
- /* TokenChars.BraceLeft */
402
- ), S(s), a.braceNest++, f;
403
- case "}":
404
- return a.braceNest > 0 && a.currentType === 2 && N(M.EMPTY_PLACEHOLDER, i(), 0), s.next(), f = L(
405
- a,
406
- 3,
407
- "}"
408
- /* TokenChars.BraceRight */
409
- ), a.braceNest--, a.braceNest > 0 && S(s), a.inLinked && a.braceNest === 0 && (a.inLinked = !1), f;
410
- case "@":
411
- return a.braceNest > 0 && N(M.UNTERMINATED_CLOSING_BRACE, i(), 0), f = ue(s, a) || A(a), a.braceNest = 0, f;
412
- default: {
413
- let x = !0, R = !0, u = !0;
414
- if ($(s))
415
- return a.braceNest > 0 && N(M.UNTERMINATED_CLOSING_BRACE, i(), 0), f = L(a, 1, Ee(s)), a.braceNest = 0, a.inLinked = !1, f;
416
- if (a.braceNest > 0 && (a.currentType === 4 || a.currentType === 5 || a.currentType === 6))
417
- return N(M.UNTERMINATED_CLOSING_BRACE, i(), 0), a.braceNest = 0, be(s, a);
418
- if (x = k(s, a))
419
- return f = L(a, 4, Ye(s)), S(s), f;
420
- if (R = m(s, a))
421
- return f = L(a, 5, Be(s)), S(s), f;
422
- if (u = T(s, a))
423
- return f = L(a, 6, Ke(s)), S(s), f;
424
- if (!x && !R && !u)
425
- return f = L(a, 12, Je(s)), N(M.INVALID_TOKEN_IN_PLACEHOLDER, i(), 0, f.value), S(s), f;
426
- break;
427
- }
428
- }
429
- return f;
430
- }
431
- function ue(s, a) {
432
- const { currentType: f } = a;
433
- let O = null;
434
- const x = s.currentChar();
435
- switch ((f === 7 || f === 8 || f === 11 || f === 9) && (x === X || x === ee) && N(M.INVALID_LINKED_FORMAT, i(), 0), x) {
436
- case "@":
437
- return s.next(), O = L(
438
- a,
439
- 7,
440
- "@"
441
- /* TokenChars.LinkedAlias */
442
- ), a.inLinked = !0, O;
443
- case ".":
444
- return S(s), s.next(), L(
445
- a,
446
- 8,
447
- "."
448
- /* TokenChars.LinkedDot */
449
- );
450
- case ":":
451
- return S(s), s.next(), L(
452
- a,
453
- 9,
454
- ":"
455
- /* TokenChars.LinkedDelimiter */
456
- );
457
- default:
458
- return $(s) ? (O = L(a, 1, Ee(s)), a.braceNest = 0, a.inLinked = !1, O) : v(s, a) || G(s, a) ? (S(s), ue(s, a)) : b(s, a) ? (S(s), L(a, 11, qe(s))) : V(s, a) ? (S(s), x === "{" ? _e(s, a) || O : L(a, 10, Qe(s))) : (f === 7 && N(M.INVALID_LINKED_FORMAT, i(), 0), a.braceNest = 0, a.inLinked = !1, be(s, a));
459
- }
460
- }
461
- function be(s, a) {
462
- let f = {
463
- type: 13
464
- /* TokenTypes.EOF */
465
- };
466
- if (a.braceNest > 0)
467
- return _e(s, a) || A(a);
468
- if (a.inLinked)
469
- return ue(s, a) || A(a);
470
- switch (s.currentChar()) {
471
- case "{":
472
- return _e(s, a) || A(a);
473
- case "}":
474
- return N(M.UNBALANCED_CLOSING_BRACE, i(), 0), s.next(), L(
475
- a,
476
- 3,
477
- "}"
478
- /* TokenChars.BraceRight */
479
- );
480
- case "@":
481
- return ue(s, a) || A(a);
482
- default: {
483
- if ($(s))
484
- return f = L(a, 1, Ee(s)), a.braceNest = 0, a.inLinked = !1, f;
485
- if (q(s))
486
- return L(a, 0, je(s));
487
- break;
488
- }
489
- }
490
- return f;
491
- }
492
- function Ze() {
493
- const { currentType: s, offset: a, startLoc: f, endLoc: O } = _;
494
- return _.lastType = s, _.lastOffset = a, _.lastStartLoc = f, _.lastEndLoc = O, _.offset = c(), _.startLoc = i(), r.currentChar() === re ? L(
495
- _,
496
- 13
497
- /* TokenTypes.EOF */
498
- ) : be(r, _);
499
- }
500
- return {
501
- nextToken: Ze,
502
- currentOffset: c,
503
- currentPosition: i,
504
- context: E
505
- };
506
- }
507
- const xn = "parser", Wn = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
508
- function Hn(e, t, n) {
509
- switch (e) {
510
- case "\\\\":
511
- return "\\";
512
- case "\\'":
513
- return "'";
514
- default: {
515
- const r = parseInt(t || n, 16);
516
- return r <= 55295 || r >= 57344 ? String.fromCodePoint(r) : "�";
517
- }
518
- }
519
- }
520
- function jn(e = {}) {
521
- const t = e.location !== !1, { onError: n } = e;
522
- function r(o, d, k, m, ...T) {
523
- const v = o.currentPosition();
524
- if (v.offset += m, v.column += m, n) {
525
- const b = t ? nt(k, v) : null, G = Ue(d, b, {
526
- domain: xn,
527
- args: T
528
- });
529
- n(G);
530
- }
531
- }
532
- function c(o, d, k) {
533
- const m = { type: o };
534
- return t && (m.start = d, m.end = d, m.loc = { start: k, end: k }), m;
535
- }
536
- function i(o, d, k, m) {
537
- t && (o.end = d, o.loc && (o.loc.end = k));
538
- }
539
- function l(o, d) {
540
- const k = o.context(), m = c(3, k.offset, k.startLoc);
541
- return m.value = d, i(m, o.currentOffset(), o.currentPosition()), m;
542
- }
543
- function p(o, d) {
544
- const k = o.context(), { lastOffset: m, lastStartLoc: T } = k, v = c(5, m, T);
545
- return v.index = parseInt(d, 10), o.nextToken(), i(v, o.currentOffset(), o.currentPosition()), v;
546
- }
547
- function _(o, d) {
548
- const k = o.context(), { lastOffset: m, lastStartLoc: T } = k, v = c(4, m, T);
549
- return v.key = d, o.nextToken(), i(v, o.currentOffset(), o.currentPosition()), v;
550
- }
551
- function E(o, d) {
552
- const k = o.context(), { lastOffset: m, lastStartLoc: T } = k, v = c(9, m, T);
553
- return v.value = d.replace(Wn, Hn), o.nextToken(), i(v, o.currentOffset(), o.currentPosition()), v;
554
- }
555
- function h(o) {
556
- const d = o.nextToken(), k = o.context(), { lastOffset: m, lastStartLoc: T } = k, v = c(8, m, T);
557
- return d.type !== 11 ? (r(o, M.UNEXPECTED_EMPTY_LINKED_MODIFIER, k.lastStartLoc, 0), v.value = "", i(v, m, T), {
558
- nextConsumeToken: d,
559
- node: v
560
- }) : (d.value == null && r(o, M.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, Z(d)), v.value = d.value || "", i(v, o.currentOffset(), o.currentPosition()), {
561
- node: v
562
- });
563
- }
564
- function N(o, d) {
565
- const k = o.context(), m = c(7, k.offset, k.startLoc);
566
- return m.value = d, i(m, o.currentOffset(), o.currentPosition()), m;
567
- }
568
- function L(o) {
569
- const d = o.context(), k = c(6, d.offset, d.startLoc);
570
- let m = o.nextToken();
571
- if (m.type === 8) {
572
- const T = h(o);
573
- k.modifier = T.node, m = T.nextConsumeToken || o.nextToken();
574
- }
575
- switch (m.type !== 9 && r(o, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(m)), m = o.nextToken(), m.type === 2 && (m = o.nextToken()), m.type) {
576
- case 10:
577
- m.value == null && r(o, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(m)), k.key = N(o, m.value || "");
578
- break;
579
- case 4:
580
- m.value == null && r(o, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(m)), k.key = _(o, m.value || "");
581
- break;
582
- case 5:
583
- m.value == null && r(o, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(m)), k.key = p(o, m.value || "");
584
- break;
585
- case 6:
586
- m.value == null && r(o, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(m)), k.key = E(o, m.value || "");
587
- break;
588
- default: {
589
- r(o, M.UNEXPECTED_EMPTY_LINKED_KEY, d.lastStartLoc, 0);
590
- const T = o.context(), v = c(7, T.offset, T.startLoc);
591
- return v.value = "", i(v, T.offset, T.startLoc), k.key = v, i(k, T.offset, T.startLoc), {
592
- nextConsumeToken: m,
593
- node: k
594
- };
595
- }
596
- }
597
- return i(k, o.currentOffset(), o.currentPosition()), {
598
- node: k
599
- };
600
- }
601
- function A(o) {
602
- const d = o.context(), k = d.currentType === 1 ? o.currentOffset() : d.offset, m = d.currentType === 1 ? d.endLoc : d.startLoc, T = c(2, k, m);
603
- T.items = [];
604
- let v = null;
605
- do {
606
- const V = v || o.nextToken();
607
- switch (v = null, V.type) {
608
- case 0:
609
- V.value == null && r(o, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(V)), T.items.push(l(o, V.value || ""));
610
- break;
611
- case 5:
612
- V.value == null && r(o, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(V)), T.items.push(p(o, V.value || ""));
613
- break;
614
- case 4:
615
- V.value == null && r(o, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(V)), T.items.push(_(o, V.value || ""));
616
- break;
617
- case 6:
618
- V.value == null && r(o, M.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Z(V)), T.items.push(E(o, V.value || ""));
619
- break;
620
- case 7: {
621
- const $ = L(o);
622
- T.items.push($.node), v = $.nextConsumeToken || null;
623
- break;
624
- }
625
- }
626
- } while (d.currentType !== 13 && d.currentType !== 1);
627
- const b = d.currentType === 1 ? d.lastOffset : o.currentOffset(), G = d.currentType === 1 ? d.lastEndLoc : o.currentPosition();
628
- return i(T, b, G), T;
629
- }
630
- function C(o, d, k, m) {
631
- const T = o.context();
632
- let v = m.items.length === 0;
633
- const b = c(1, d, k);
634
- b.cases = [], b.cases.push(m);
635
- do {
636
- const G = A(o);
637
- v || (v = G.items.length === 0), b.cases.push(G);
638
- } while (T.currentType !== 13);
639
- return v && r(o, M.MUST_HAVE_MESSAGES_IN_PLURAL, k, 0), i(b, o.currentOffset(), o.currentPosition()), b;
640
- }
641
- function y(o) {
642
- const d = o.context(), { offset: k, startLoc: m } = d, T = A(o);
643
- return d.currentType === 13 ? T : C(o, k, m, T);
644
- }
645
- function S(o) {
646
- const d = Vn(o, K({}, e)), k = d.context(), m = c(0, k.offset, k.startLoc);
647
- return t && m.loc && (m.loc.source = o), m.body = y(d), e.onCacheKey && (m.cacheKey = e.onCacheKey(o)), k.currentType !== 13 && r(d, M.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, o[k.offset] || ""), i(m, d.currentOffset(), d.currentPosition()), m;
648
- }
649
- return { parse: S };
650
- }
651
- function Z(e) {
652
- if (e.type === 13)
653
- return "EOF";
654
- const t = (e.value || "").replace(/\r?\n/gu, "\\n");
655
- return t.length > 10 ? t.slice(0, 9) + "…" : t;
656
- }
657
- function Yn(e, t = {}) {
658
- const n = {
659
- ast: e,
660
- helpers: /* @__PURE__ */ new Set()
661
- };
662
- return { context: () => n, helper: (i) => (n.helpers.add(i), i) };
663
- }
664
- function Ot(e, t) {
665
- for (let n = 0; n < e.length; n++)
666
- dt(e[n], t);
667
- }
668
- function dt(e, t) {
669
- switch (e.type) {
670
- case 1:
671
- Ot(e.cases, t), t.helper(
672
- "plural"
673
- /* HelperNameMap.PLURAL */
674
- );
675
- break;
676
- case 2:
677
- Ot(e.items, t);
678
- break;
679
- case 6: {
680
- dt(e.key, t), t.helper(
681
- "linked"
682
- /* HelperNameMap.LINKED */
683
- ), t.helper(
684
- "type"
685
- /* HelperNameMap.TYPE */
686
- );
687
- break;
688
- }
689
- case 5:
690
- t.helper(
691
- "interpolate"
692
- /* HelperNameMap.INTERPOLATE */
693
- ), t.helper(
694
- "list"
695
- /* HelperNameMap.LIST */
696
- );
697
- break;
698
- case 4:
699
- t.helper(
700
- "interpolate"
701
- /* HelperNameMap.INTERPOLATE */
702
- ), t.helper(
703
- "named"
704
- /* HelperNameMap.NAMED */
705
- );
706
- break;
707
- }
708
- }
709
- function Bn(e, t = {}) {
710
- const n = Yn(e);
711
- n.helper(
712
- "normalize"
713
- /* HelperNameMap.NORMALIZE */
714
- ), e.body && dt(e.body, n);
715
- const r = n.context();
716
- e.helpers = Array.from(r.helpers);
717
- }
718
- function Kn(e) {
719
- const t = e.body;
720
- return t.type === 2 ? At(t) : t.cases.forEach((n) => At(n)), e;
721
- }
722
- function At(e) {
723
- if (e.items.length === 1) {
724
- const t = e.items[0];
725
- (t.type === 3 || t.type === 9) && (e.static = t.value, delete t.value);
726
- } else {
727
- const t = [];
728
- for (let n = 0; n < e.items.length; n++) {
729
- const r = e.items[n];
730
- if (!(r.type === 3 || r.type === 9) || r.value == null)
731
- break;
732
- t.push(r.value);
733
- }
734
- if (t.length === e.items.length) {
735
- e.static = ft(t);
736
- for (let n = 0; n < e.items.length; n++) {
737
- const r = e.items[n];
738
- (r.type === 3 || r.type === 9) && delete r.value;
739
- }
740
- }
741
- }
742
- }
743
- function me(e) {
744
- switch (e.t = e.type, e.type) {
745
- case 0: {
746
- const t = e;
747
- me(t.body), t.b = t.body, delete t.body;
748
- break;
749
- }
750
- case 1: {
751
- const t = e, n = t.cases;
752
- for (let r = 0; r < n.length; r++)
753
- me(n[r]);
754
- t.c = n, delete t.cases;
755
- break;
756
- }
757
- case 2: {
758
- const t = e, n = t.items;
759
- for (let r = 0; r < n.length; r++)
760
- me(n[r]);
761
- t.i = n, delete t.items, t.static && (t.s = t.static, delete t.static);
762
- break;
763
- }
764
- case 3:
765
- case 9:
766
- case 8:
767
- case 7: {
768
- const t = e;
769
- t.value && (t.v = t.value, delete t.value);
770
- break;
771
- }
772
- case 6: {
773
- const t = e;
774
- me(t.key), t.k = t.key, delete t.key, t.modifier && (me(t.modifier), t.m = t.modifier, delete t.modifier);
775
- break;
776
- }
777
- case 5: {
778
- const t = e;
779
- t.i = t.index, delete t.index;
780
- break;
781
- }
782
- case 4: {
783
- const t = e;
784
- t.k = t.key, delete t.key;
785
- break;
786
- }
787
- }
788
- delete e.type;
789
- }
790
- function Xn(e, t) {
791
- const { sourceMap: n, filename: r, breakLineCode: c, needIndent: i } = t, l = t.location !== !1, p = {
792
- filename: r,
793
- code: "",
794
- column: 1,
795
- line: 1,
796
- offset: 0,
797
- map: void 0,
798
- breakLineCode: c,
799
- needIndent: i,
800
- indentLevel: 0
801
- };
802
- l && e.loc && (p.source = e.loc.source);
803
- const _ = () => p;
804
- function E(S, o) {
805
- p.code += S;
806
- }
807
- function h(S, o = !0) {
808
- const d = o ? c : "";
809
- E(i ? d + " ".repeat(S) : d);
810
- }
811
- function N(S = !0) {
812
- const o = ++p.indentLevel;
813
- S && h(o);
814
- }
815
- function L(S = !0) {
816
- const o = --p.indentLevel;
817
- S && h(o);
818
- }
819
- function A() {
820
- h(p.indentLevel);
821
- }
822
- return {
823
- context: _,
824
- push: E,
825
- indent: N,
826
- deindent: L,
827
- newline: A,
828
- helper: (S) => `_${S}`,
829
- needIndent: () => p.needIndent
830
- };
831
- }
832
- function $n(e, t) {
833
- const { helper: n } = e;
834
- e.push(`${n(
835
- "linked"
836
- /* HelperNameMap.LINKED */
837
- )}(`), fe(e, t.key), t.modifier ? (e.push(", "), fe(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
838
- }
839
- function Jn(e, t) {
840
- const { helper: n, needIndent: r } = e;
841
- e.push(`${n(
842
- "normalize"
843
- /* HelperNameMap.NORMALIZE */
844
- )}([`), e.indent(r());
845
- const c = t.items.length;
846
- for (let i = 0; i < c && (fe(e, t.items[i]), i !== c - 1); i++)
847
- e.push(", ");
848
- e.deindent(r()), e.push("])");
849
- }
850
- function qn(e, t) {
851
- const { helper: n, needIndent: r } = e;
852
- if (t.cases.length > 1) {
853
- e.push(`${n(
854
- "plural"
855
- /* HelperNameMap.PLURAL */
856
- )}([`), e.indent(r());
857
- const c = t.cases.length;
858
- for (let i = 0; i < c && (fe(e, t.cases[i]), i !== c - 1); i++)
859
- e.push(", ");
860
- e.deindent(r()), e.push("])");
861
- }
862
- }
863
- function Qn(e, t) {
864
- t.body ? fe(e, t.body) : e.push("null");
865
- }
866
- function fe(e, t) {
867
- const { helper: n } = e;
868
- switch (t.type) {
869
- case 0:
870
- Qn(e, t);
871
- break;
872
- case 1:
873
- qn(e, t);
874
- break;
875
- case 2:
876
- Jn(e, t);
877
- break;
878
- case 6:
879
- $n(e, t);
880
- break;
881
- case 8:
882
- e.push(JSON.stringify(t.value), t);
883
- break;
884
- case 7:
885
- e.push(JSON.stringify(t.value), t);
886
- break;
887
- case 5:
888
- e.push(`${n(
889
- "interpolate"
890
- /* HelperNameMap.INTERPOLATE */
891
- )}(${n(
892
- "list"
893
- /* HelperNameMap.LIST */
894
- )}(${t.index}))`, t);
895
- break;
896
- case 4:
897
- e.push(`${n(
898
- "interpolate"
899
- /* HelperNameMap.INTERPOLATE */
900
- )}(${n(
901
- "named"
902
- /* HelperNameMap.NAMED */
903
- )}(${JSON.stringify(t.key)}))`, t);
904
- break;
905
- case 9:
906
- e.push(JSON.stringify(t.value), t);
907
- break;
908
- case 3:
909
- e.push(JSON.stringify(t.value), t);
910
- break;
911
- }
912
- }
913
- const Zn = (e, t = {}) => {
914
- const n = I(t.mode) ? t.mode : "normal", r = I(t.filename) ? t.filename : "message.intl", c = !!t.sourceMap, i = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
915
- `, l = t.needIndent ? t.needIndent : n !== "arrow", p = e.helpers || [], _ = Xn(e, {
916
- mode: n,
917
- filename: r,
918
- sourceMap: c,
919
- breakLineCode: i,
920
- needIndent: l
921
- });
922
- _.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), _.indent(l), p.length > 0 && (_.push(`const { ${ft(p.map((N) => `${N}: _${N}`), ", ")} } = ctx`), _.newline()), _.push("return "), fe(_, e), _.deindent(l), _.push("}"), delete e.helpers;
923
- const { code: E, map: h } = _.context();
924
- return {
925
- ast: e,
926
- code: E,
927
- map: h ? h.toJSON() : void 0
928
- // eslint-disable-line @typescript-eslint/no-explicit-any
929
- };
930
- };
931
- function zn(e, t = {}) {
932
- const n = K({}, t), r = !!n.jit, c = !!n.minify, i = n.optimize == null ? !0 : n.optimize, p = jn(n).parse(e);
933
- return r ? (i && Kn(p), c && me(p), { ast: p, code: "" }) : (Bn(p, n), Zn(p, n));
934
- }
935
- var er = { env: { npm_package_dependencies_change_case: "^5.4.4", TERM_PROGRAM: "vscode", npm_config__feedmepos_payment_model_registry: "https://npm.pkg.github.com/", npm_config__feedmepos_mf_core_ui_registry: "https://registry.npm.org/", NODE: "/opt/homebrew/Cellar/node@18/18.20.4/bin/node", npm_package_pnpm_overrides__feedmepos_mf_common: "1.15.0-beta.6", npm_package_dependencies_vue3_lottie: "^3.3.0", INIT_CWD: "/Users/binbinliao/project/marketing-services/packages/connect", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.15", npm_package_dependencies_axios: "^1.7.2", npm_package_dependencies_moment: "^2.30.1", npm_package_devDependencies_typescript: "^5.4.5", TERM: "xterm-256color", SHELL: "/bin/zsh", npm_package_devDependencies_vite: "^5.3.1", TMPDIR: "/var/folders/59/2m_9ylk979b57yvk040bv3f00000gn/T/", HOMEBREW_REPOSITORY: "/opt/homebrew", TERM_PROGRAM_VERSION: "0.44.11", npm_package_exports___style: "./dist/style.css", npm_package_dependencies__feedmepos_custom_attributes: "0.0.0-rc.3", npm_package_scripts_dev: "vite", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", CURSOR_TRACE_ID: "52362449dcd2413da89572bdfa64a41f", ORIGINAL_XDG_CURRENT_DESKTOP: "undefined", MallocNanoZone: "0", npm_package_dependencies_uuid: "^10.0.0", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_config_registry: "https://registry.npmjs.org/", npm_package_dependencies_dayjs: "^1.11.11", npm_package_dependencies_xlsx: "^0.18.5", USER: "binbinliao", npm_package_license: "UNLICENSED", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_dependencies__feedmepos_mf_common: "1.15.0-beta.6", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_dependencies_fabric: "^6.4.2", COMMAND_MODE: "unix2003", npm_package_dependencies_rrule: "^2.8.1", PNPM_SCRIPT_SRC_DIR: "/Users/binbinliao/project/marketing-services/packages/connect", npm_package_exports___import: "./dist/app.js", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", SSH_AUTH_SOCK: "/private/tmp/com.apple.launchd.9sZlN4i7p7/Listeners", npm_package_dependencies_lodash: "^4.17.21", __CF_USER_TEXT_ENCODING: "0x1F5:0x0:0x0", npm_package_devDependencies_postcss: "^8.4.38", npm_execpath: "/opt/homebrew/lib/node_modules/pnpm/bin/pnpm.cjs", npm_package_module: "./dist/app.js", npm_package_dependencies__feedmepos_core: "^2.10.4", npm_config_frozen_lockfile: "", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", PATH: "/Users/binbinliao/project/marketing-services/packages/connect/node_modules/.bin:/opt/homebrew/lib/node_modules/pnpm/dist/node-gyp-bin:/Users/binbinliao/project/marketing-services/packages/connect/node_modules/.bin:/opt/homebrew/lib/node_modules/pnpm/dist/node-gyp-bin:/opt/homebrew/opt/node@18/bin:/opt/homebrew/lib/ruby/gems/3.3.0/bin:/Users/binbinliao/development/flutter/flutter/bin:/opt/homebrew/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/binbinliao/.codeium/windsurf/bin:/opt/homebrew/sbin", npm_config__feedmepos_ordering_registry: "https://npm.pkg.github.com/", LaunchInstanceID: "4CD6DC2E-A6A7-47B9-B24E-725171A78527", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", npm_package_dependencies_vue: "^3.5.13", __CFBundleIdentifier: "com.todesktop.230313mzl4w4u92", PWD: "/Users/binbinliao/project/marketing-services/packages/connect", npm_package_devDependencies_tailwindcss: "^3.4.4", npm_command: "run-script", npm_package_scripts_preview: "vite preview", npm_package_devDependencies__types_lodash: "^4.17.5", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", npm_lifecycle_event: "build:mf:dev", LANG: "en_US.UTF-8", npm_package_name: "@feedmepos/mf-connect", NODE_PATH: "/Users/binbinliao/project/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/Users/binbinliao/project/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/Users/binbinliao/project/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/Users/binbinliao/project/marketing-services/packages/connect/node_modules/.pnpm/node_modules", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", npm_package_scripts_build: "vue-tsc && vite build", XPC_FLAGS: "0x0", VSCODE_GIT_ASKPASS_EXTRA_ARGS: "", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies_vue_i18n: "10.0.5", npm_config_node_gyp: "/opt/homebrew/lib/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", XPC_SERVICE_NAME: "application.com.todesktop.230313mzl4w4u92.30648850.30648856", npm_package_version: "0.0.16-beta.10", VSCODE_INJECTION: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_autoprefixer: "^10.4.19", npm_config__feedmepos_inventory_components_registry: "https://npm.pkg.github.com/", HOME: "/Users/binbinliao", SHLVL: "3", npm_package_type: "module", VSCODE_GIT_ASKPASS_MAIN: "/Applications/Cursor.app/Contents/Resources/app/extensions/git/dist/askpass-main.js", npm_package_dependencies__feedmepos_menu: "1.0.34", npm_package_dependencies_dotenv: "^16.4.5", HOMEBREW_PREFIX: "/opt/homebrew", npm_package_dependencies__types_qrcode: "^1.5.5", npm_package_dependencies_zod_i18n_map: "^2.27.0", npm_package_dependencies_firebase: "^10.12.2", LOGNAME: "binbinliao", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_dependencies_unplugin_auto_import: "^0.17.6", npm_package_dependencies_zod: "3.22.4", npm_lifecycle_script: "vite build --mode fmmf", VSCODE_GIT_IPC_HANDLE: "/var/folders/59/2m_9ylk979b57yvk040bv3f00000gn/T/vscode-git-913fa051ae.sock", XDG_DATA_DIRS: "/usr/local/share:/usr/share:/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/contrib/terminal/browser/media/fish_xdg_data", npm_package_devDependencies_unlayer_types: "^1.111.0", npm_config__feedmepos_core_registry: "https://npm.pkg.github.com/", npm_package_devDependencies__types_uuid: "^9.0.8", npm_config_user_agent: "pnpm/9.6.0 npm/? node/v18.20.4 darwin arm64", INFOPATH: "/opt/homebrew/share/info:", HOMEBREW_CELLAR: "/opt/homebrew/Cellar", VSCODE_GIT_ASKPASS_NODE: "/Applications/Cursor.app/Contents/Frameworks/Cursor Helper (Plugin).app/Contents/MacOS/Cursor Helper (Plugin)", GIT_ASKPASS: "/Applications/Cursor.app/Contents/Resources/app/extensions/git/dist/askpass.sh", npm_package_devDependencies__types_node: "^18.19.36", npm_package_files_0: "dist", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", SECURITYSESSIONID: "186a3", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_package_dependencies__feedmepos_ui_library: "1.3.5", npm_package_dependencies_vue_router: "^4.3.3", npm_package_dependencies_i18next: "^24.2.1", COLORTERM: "truecolor", npm_package_dependencies_qrcode: "^1.5.3", npm_package_devDependencies_vue_tsc: "^2.0.21", npm_node_execpath: "/opt/homebrew/Cellar/node@18/18.20.4/bin/node", NODE_ENV: "production", FEEDME_NAMESPACE: "dev", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", AUTH_URL: "https://portal-v2-dev.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedmedev.cc", CRM_APP_URL: "crm.feedmedev.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedmedev.cc", CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", PAYMENT_PORTAL_URL: "https://portal.feedmedev.cc/payment/payout-account" } };
936
- function tr() {
937
- typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (ce().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (ce().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
938
- }
939
- function ze(e) {
940
- return (n) => nr(n, e);
941
- }
942
- function nr(e, t) {
943
- const n = sr(t);
944
- if (n == null)
945
- throw ve(
946
- 0
947
- /* NodeTypes.Resource */
948
- );
949
- if (gt(n) === 1) {
950
- const i = ir(n);
951
- return e.plural(i.reduce((l, p) => [
952
- ...l,
953
- yt(e, p)
954
- ], []));
955
- } else
956
- return yt(e, n);
957
- }
958
- const rr = ["b", "body"];
959
- function sr(e) {
960
- return se(e, rr);
961
- }
962
- const ar = ["c", "cases"];
963
- function ir(e) {
964
- return se(e, ar, []);
965
- }
966
- function yt(e, t) {
967
- const n = or(t);
968
- if (n != null)
969
- return e.type === "text" ? n : e.normalize([n]);
970
- {
971
- const r = _r(t).reduce((c, i) => [...c, rt(e, i)], []);
972
- return e.normalize(r);
973
- }
974
- }
975
- const cr = ["s", "static"];
976
- function or(e) {
977
- return se(e, cr);
978
- }
979
- const lr = ["i", "items"];
980
- function _r(e) {
981
- return se(e, lr, []);
982
- }
983
- function rt(e, t) {
984
- const n = gt(t);
985
- switch (n) {
986
- case 3:
987
- return Ce(t, n);
988
- case 9:
989
- return Ce(t, n);
990
- case 4: {
991
- const r = t;
992
- if (Q(r, "k") && r.k)
993
- return e.interpolate(e.named(r.k));
994
- if (Q(r, "key") && r.key)
995
- return e.interpolate(e.named(r.key));
996
- throw ve(n);
997
- }
998
- case 5: {
999
- const r = t;
1000
- if (Q(r, "i") && B(r.i))
1001
- return e.interpolate(e.list(r.i));
1002
- if (Q(r, "index") && B(r.index))
1003
- return e.interpolate(e.list(r.index));
1004
- throw ve(n);
1005
- }
1006
- case 6: {
1007
- const r = t, c = fr(r), i = gr(r);
1008
- return e.linked(rt(e, i), c ? rt(e, c) : void 0, e.type);
1009
- }
1010
- case 7:
1011
- return Ce(t, n);
1012
- case 8:
1013
- return Ce(t, n);
1014
- default:
1015
- throw new Error(`unhandled node on format message part: ${n}`);
1016
- }
1017
- }
1018
- const ur = ["t", "type"];
1019
- function gt(e) {
1020
- return se(e, ur);
1021
- }
1022
- const pr = ["v", "value"];
1023
- function Ce(e, t) {
1024
- const n = se(e, pr);
1025
- if (n)
1026
- return n;
1027
- throw ve(t);
1028
- }
1029
- const mr = ["m", "modifier"];
1030
- function fr(e) {
1031
- return se(e, mr);
1032
- }
1033
- const dr = ["k", "key"];
1034
- function gr(e) {
1035
- const t = se(e, dr);
1036
- if (t)
1037
- return t;
1038
- throw ve(
1039
- 6
1040
- /* NodeTypes.Linked */
1041
- );
1042
- }
1043
- function se(e, t, n) {
1044
- for (let r = 0; r < t.length; r++) {
1045
- const c = t[r];
1046
- if (Q(e, c) && e[c] != null)
1047
- return e[c];
1048
- }
1049
- return n;
1050
- }
1051
- function ve(e) {
1052
- return new Error(`unhandled node type: ${e}`);
1053
- }
1054
- const Er = (e) => e;
1055
- let Re = F();
1056
- function de(e) {
1057
- return P(e) && gt(e) === 0 && (Q(e, "b") || Q(e, "body"));
1058
- }
1059
- function br(e, t = {}) {
1060
- let n = !1;
1061
- const r = t.onError || Dn;
1062
- return t.onError = (c) => {
1063
- n = !0, r(c);
1064
- }, { ...zn(e, t), detectError: n };
1065
- }
1066
- // @__NO_SIDE_EFFECTS__
1067
- function kr(e, t) {
1068
- if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && I(e)) {
1069
- H(t.warnHtmlMessage) && t.warnHtmlMessage;
1070
- const r = (t.onCacheKey || Er)(e), c = Re[r];
1071
- if (c)
1072
- return c;
1073
- const { ast: i, detectError: l } = br(e, {
1074
- ...t,
1075
- location: er.env.NODE_ENV !== "production",
1076
- jit: !0
1077
- }), p = ze(i);
1078
- return l ? p : Re[r] = p;
1079
- } else {
1080
- const n = e.cacheKey;
1081
- if (n) {
1082
- const r = Re[n];
1083
- return r || (Re[n] = ze(e));
1084
- } else
1085
- return ze(e);
1086
- }
1087
- }
1088
- let Te = null;
1089
- function Lr(e) {
1090
- Te = e;
1091
- }
1092
- function vr(e, t, n) {
1093
- Te && Te.emit("i18n:init", {
1094
- timestamp: Date.now(),
1095
- i18n: e,
1096
- version: t,
1097
- meta: n
1098
- });
1099
- }
1100
- const Tr = /* @__PURE__ */ Nr("function:translate");
1101
- function Nr(e) {
1102
- return (t) => Te && Te.emit(e, t);
1103
- }
1104
- const te = {
1105
- INVALID_ARGUMENT: Rn,
1106
- // 17
1107
- INVALID_DATE_ARGUMENT: 18,
1108
- INVALID_ISO_DATE_ARGUMENT: 19,
1109
- NOT_SUPPORT_NON_STRING_MESSAGE: 20,
1110
- NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
1111
- NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
1112
- NOT_SUPPORT_LOCALE_TYPE: 23
1113
- }, Ir = 24;
1114
- function ne(e) {
1115
- return Ue(e, null, void 0);
1116
- }
1117
- function Et(e, t) {
1118
- return t.locale != null ? Ct(t.locale) : Ct(e.locale);
1119
- }
1120
- let et;
1121
- function Ct(e) {
1122
- if (I(e))
1123
- return e;
1124
- if (w(e)) {
1125
- if (e.resolvedOnce && et != null)
1126
- return et;
1127
- if (e.constructor.name === "Function") {
1128
- const t = e();
1129
- if (On(t))
1130
- throw ne(te.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
1131
- return et = t;
1132
- } else
1133
- throw ne(te.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
1134
- } else
1135
- throw ne(te.NOT_SUPPORT_LOCALE_TYPE);
1136
- }
1137
- function hr(e, t, n) {
1138
- return [.../* @__PURE__ */ new Set([
1139
- n,
1140
- ...j(t) ? t : P(t) ? Object.keys(t) : I(t) ? [t] : [n]
1141
- ])];
1142
- }
1143
- function Zt(e, t, n) {
1144
- const r = I(n) ? n : Me, c = e;
1145
- c.__localeChainCache || (c.__localeChainCache = /* @__PURE__ */ new Map());
1146
- let i = c.__localeChainCache.get(r);
1147
- if (!i) {
1148
- i = [];
1149
- let l = [n];
1150
- for (; j(l); )
1151
- l = Rt(i, l, t);
1152
- const p = j(t) || !D(t) ? t : t.default ? t.default : null;
1153
- l = I(p) ? [p] : p, j(l) && Rt(i, l, !1), c.__localeChainCache.set(r, i);
1154
- }
1155
- return i;
1156
- }
1157
- function Rt(e, t, n) {
1158
- let r = !0;
1159
- for (let c = 0; c < t.length && H(r); c++) {
1160
- const i = t[c];
1161
- I(i) && (r = Sr(e, t[c], n));
1162
- }
1163
- return r;
1164
- }
1165
- function Sr(e, t, n) {
1166
- let r;
1167
- const c = t.split("-");
1168
- do {
1169
- const i = c.join("-");
1170
- r = Or(e, i, n), c.splice(-1, 1);
1171
- } while (c.length && r === !0);
1172
- return r;
1173
- }
1174
- function Or(e, t, n) {
1175
- let r = !1;
1176
- if (!e.includes(t) && (r = !0, t)) {
1177
- r = t[t.length - 1] !== "!";
1178
- const c = t.replace(/!/g, "");
1179
- e.push(c), (j(n) || D(n)) && n[c] && (r = n[c]);
1180
- }
1181
- return r;
1182
- }
1183
- const ae = [];
1184
- ae[
1185
- 0
1186
- /* States.BEFORE_PATH */
1187
- ] = {
1188
- w: [
1189
- 0
1190
- /* States.BEFORE_PATH */
1191
- ],
1192
- i: [
1193
- 3,
1194
- 0
1195
- /* Actions.APPEND */
1196
- ],
1197
- "[": [
1198
- 4
1199
- /* States.IN_SUB_PATH */
1200
- ],
1201
- o: [
1202
- 7
1203
- /* States.AFTER_PATH */
1204
- ]
1205
- };
1206
- ae[
1207
- 1
1208
- /* States.IN_PATH */
1209
- ] = {
1210
- w: [
1211
- 1
1212
- /* States.IN_PATH */
1213
- ],
1214
- ".": [
1215
- 2
1216
- /* States.BEFORE_IDENT */
1217
- ],
1218
- "[": [
1219
- 4
1220
- /* States.IN_SUB_PATH */
1221
- ],
1222
- o: [
1223
- 7
1224
- /* States.AFTER_PATH */
1225
- ]
1226
- };
1227
- ae[
1228
- 2
1229
- /* States.BEFORE_IDENT */
1230
- ] = {
1231
- w: [
1232
- 2
1233
- /* States.BEFORE_IDENT */
1234
- ],
1235
- i: [
1236
- 3,
1237
- 0
1238
- /* Actions.APPEND */
1239
- ],
1240
- 0: [
1241
- 3,
1242
- 0
1243
- /* Actions.APPEND */
1244
- ]
1245
- };
1246
- ae[
1247
- 3
1248
- /* States.IN_IDENT */
1249
- ] = {
1250
- i: [
1251
- 3,
1252
- 0
1253
- /* Actions.APPEND */
1254
- ],
1255
- 0: [
1256
- 3,
1257
- 0
1258
- /* Actions.APPEND */
1259
- ],
1260
- w: [
1261
- 1,
1262
- 1
1263
- /* Actions.PUSH */
1264
- ],
1265
- ".": [
1266
- 2,
1267
- 1
1268
- /* Actions.PUSH */
1269
- ],
1270
- "[": [
1271
- 4,
1272
- 1
1273
- /* Actions.PUSH */
1274
- ],
1275
- o: [
1276
- 7,
1277
- 1
1278
- /* Actions.PUSH */
1279
- ]
1280
- };
1281
- ae[
1282
- 4
1283
- /* States.IN_SUB_PATH */
1284
- ] = {
1285
- "'": [
1286
- 5,
1287
- 0
1288
- /* Actions.APPEND */
1289
- ],
1290
- '"': [
1291
- 6,
1292
- 0
1293
- /* Actions.APPEND */
1294
- ],
1295
- "[": [
1296
- 4,
1297
- 2
1298
- /* Actions.INC_SUB_PATH_DEPTH */
1299
- ],
1300
- "]": [
1301
- 1,
1302
- 3
1303
- /* Actions.PUSH_SUB_PATH */
1304
- ],
1305
- o: 8,
1306
- l: [
1307
- 4,
1308
- 0
1309
- /* Actions.APPEND */
1310
- ]
1311
- };
1312
- ae[
1313
- 5
1314
- /* States.IN_SINGLE_QUOTE */
1315
- ] = {
1316
- "'": [
1317
- 4,
1318
- 0
1319
- /* Actions.APPEND */
1320
- ],
1321
- o: 8,
1322
- l: [
1323
- 5,
1324
- 0
1325
- /* Actions.APPEND */
1326
- ]
1327
- };
1328
- ae[
1329
- 6
1330
- /* States.IN_DOUBLE_QUOTE */
1331
- ] = {
1332
- '"': [
1333
- 4,
1334
- 0
1335
- /* Actions.APPEND */
1336
- ],
1337
- o: 8,
1338
- l: [
1339
- 6,
1340
- 0
1341
- /* Actions.APPEND */
1342
- ]
1343
- };
1344
- const Ar = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1345
- function yr(e) {
1346
- return Ar.test(e);
1347
- }
1348
- function Cr(e) {
1349
- const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
1350
- return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
1351
- }
1352
- function Rr(e) {
1353
- if (e == null)
1354
- return "o";
1355
- switch (e.charCodeAt(0)) {
1356
- case 91:
1357
- case 93:
1358
- case 46:
1359
- case 34:
1360
- case 39:
1361
- return e;
1362
- case 95:
1363
- case 36:
1364
- case 45:
1365
- return "i";
1366
- case 9:
1367
- case 10:
1368
- case 13:
1369
- case 160:
1370
- case 65279:
1371
- case 8232:
1372
- case 8233:
1373
- return "w";
1374
- }
1375
- return "i";
1376
- }
1377
- function Dr(e) {
1378
- const t = e.trim();
1379
- return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : yr(t) ? Cr(t) : "*" + t;
1380
- }
1381
- function Pr(e) {
1382
- const t = [];
1383
- let n = -1, r = 0, c = 0, i, l, p, _, E, h, N;
1384
- const L = [];
1385
- L[
1386
- 0
1387
- /* Actions.APPEND */
1388
- ] = () => {
1389
- l === void 0 ? l = p : l += p;
1390
- }, L[
1391
- 1
1392
- /* Actions.PUSH */
1393
- ] = () => {
1394
- l !== void 0 && (t.push(l), l = void 0);
1395
- }, L[
1396
- 2
1397
- /* Actions.INC_SUB_PATH_DEPTH */
1398
- ] = () => {
1399
- L[
1400
- 0
1401
- /* Actions.APPEND */
1402
- ](), c++;
1403
- }, L[
1404
- 3
1405
- /* Actions.PUSH_SUB_PATH */
1406
- ] = () => {
1407
- if (c > 0)
1408
- c--, r = 4, L[
1409
- 0
1410
- /* Actions.APPEND */
1411
- ]();
1412
- else {
1413
- if (c = 0, l === void 0 || (l = Dr(l), l === !1))
1414
- return !1;
1415
- L[
1416
- 1
1417
- /* Actions.PUSH */
1418
- ]();
1419
- }
1420
- };
1421
- function A() {
1422
- const C = e[n + 1];
1423
- if (r === 5 && C === "'" || r === 6 && C === '"')
1424
- return n++, p = "\\" + C, L[
1425
- 0
1426
- /* Actions.APPEND */
1427
- ](), !0;
1428
- }
1429
- for (; r !== null; )
1430
- if (n++, i = e[n], !(i === "\\" && A())) {
1431
- if (_ = Rr(i), N = ae[r], E = N[_] || N.l || 8, E === 8 || (r = E[0], E[1] !== void 0 && (h = L[E[1]], h && (p = i, h() === !1))))
1432
- return;
1433
- if (r === 7)
1434
- return t;
1435
- }
1436
- }
1437
- const Dt = /* @__PURE__ */ new Map();
1438
- function Mr(e, t) {
1439
- return P(e) ? e[t] : null;
1440
- }
1441
- function Fr(e, t) {
1442
- if (!P(e))
1443
- return null;
1444
- let n = Dt.get(t);
1445
- if (n || (n = Pr(t), n && Dt.set(t, n)), !n)
1446
- return null;
1447
- const r = n.length;
1448
- let c = e, i = 0;
1449
- for (; i < r; ) {
1450
- const l = c[n[i]];
1451
- if (l === void 0 || w(c))
1452
- return null;
1453
- c = l, i++;
1454
- }
1455
- return c;
1456
- }
1457
- const Ur = "10.0.5", we = -1, Me = "en-US", Pt = "", Mt = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1458
- function wr() {
1459
- return {
1460
- upper: (e, t) => t === "text" && I(e) ? e.toUpperCase() : t === "vnode" && P(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1461
- lower: (e, t) => t === "text" && I(e) ? e.toLowerCase() : t === "vnode" && P(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1462
- capitalize: (e, t) => t === "text" && I(e) ? Mt(e) : t === "vnode" && P(e) && "__v_isVNode" in e ? Mt(e.children) : e
1463
- };
1464
- }
1465
- let zt;
1466
- function Gr(e) {
1467
- zt = e;
1468
- }
1469
- let en;
1470
- function Vr(e) {
1471
- en = e;
1472
- }
1473
- let tn;
1474
- function xr(e) {
1475
- tn = e;
1476
- }
1477
- let nn = null;
1478
- const Wr = /* @__NO_SIDE_EFFECTS__ */ (e) => {
1479
- nn = e;
1480
- }, Hr = /* @__NO_SIDE_EFFECTS__ */ () => nn;
1481
- let rn = null;
1482
- const Ft = (e) => {
1483
- rn = e;
1484
- }, jr = () => rn;
1485
- let Ut = 0;
1486
- function Yr(e = {}) {
1487
- const t = w(e.onWarn) ? e.onWarn : yn, n = I(e.version) ? e.version : Ur, r = I(e.locale) || w(e.locale) ? e.locale : Me, c = w(r) ? Me : r, i = j(e.fallbackLocale) || D(e.fallbackLocale) || I(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c, l = D(e.messages) ? e.messages : tt(c), p = D(e.datetimeFormats) ? e.datetimeFormats : tt(c), _ = D(e.numberFormats) ? e.numberFormats : tt(c), E = K(F(), e.modifiers, wr()), h = e.pluralRules || F(), N = w(e.missing) ? e.missing : null, L = H(e.missingWarn) || Pe(e.missingWarn) ? e.missingWarn : !0, A = H(e.fallbackWarn) || Pe(e.fallbackWarn) ? e.fallbackWarn : !0, C = !!e.fallbackFormat, y = !!e.unresolving, S = w(e.postTranslation) ? e.postTranslation : null, o = D(e.processor) ? e.processor : null, d = H(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, k = !!e.escapeParameter, m = w(e.messageCompiler) ? e.messageCompiler : zt, T = w(e.messageResolver) ? e.messageResolver : en || Mr, v = w(e.localeFallbacker) ? e.localeFallbacker : tn || hr, b = P(e.fallbackContext) ? e.fallbackContext : void 0, G = e, V = P(G.__datetimeFormatters) ? G.__datetimeFormatters : /* @__PURE__ */ new Map(), $ = P(G.__numberFormatters) ? G.__numberFormatters : /* @__PURE__ */ new Map(), q = P(G.__meta) ? G.__meta : {};
1488
- Ut++;
1489
- const Y = {
1490
- version: n,
1491
- cid: Ut,
1492
- locale: r,
1493
- fallbackLocale: i,
1494
- messages: l,
1495
- modifiers: E,
1496
- pluralRules: h,
1497
- missing: N,
1498
- missingWarn: L,
1499
- fallbackWarn: A,
1500
- fallbackFormat: C,
1501
- unresolving: y,
1502
- postTranslation: S,
1503
- processor: o,
1504
- warnHtmlMessage: d,
1505
- escapeParameter: k,
1506
- messageCompiler: m,
1507
- messageResolver: T,
1508
- localeFallbacker: v,
1509
- fallbackContext: b,
1510
- onWarn: t,
1511
- __meta: q
1512
- };
1513
- return Y.datetimeFormats = p, Y.numberFormats = _, Y.__datetimeFormatters = V, Y.__numberFormatters = $, __INTLIFY_PROD_DEVTOOLS__ && vr(Y, n, q), Y;
1514
- }
1515
- const tt = (e) => ({ [e]: F() });
1516
- function bt(e, t, n, r, c) {
1517
- const { missing: i, onWarn: l } = e;
1518
- if (i !== null) {
1519
- const p = i(e, n, t, c);
1520
- return I(p) ? p : t;
1521
- } else
1522
- return t;
1523
- }
1524
- function Le(e, t, n) {
1525
- const r = e;
1526
- r.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
1527
- }
1528
- function Br(e, t) {
1529
- return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
1530
- }
1531
- function Kr(e, t) {
1532
- const n = t.indexOf(e);
1533
- if (n === -1)
1534
- return !1;
1535
- for (let r = n + 1; r < t.length; r++)
1536
- if (Br(e, t[r]))
1537
- return !0;
1538
- return !1;
1539
- }
1540
- function wt(e, ...t) {
1541
- const { datetimeFormats: n, unresolving: r, fallbackLocale: c, onWarn: i, localeFallbacker: l } = e, { __datetimeFormatters: p } = e, [_, E, h, N] = st(...t), L = H(h.missingWarn) ? h.missingWarn : e.missingWarn;
1542
- H(h.fallbackWarn) ? h.fallbackWarn : e.fallbackWarn;
1543
- const A = !!h.part, C = Et(e, h), y = l(
1544
- e,
1545
- // eslint-disable-line @typescript-eslint/no-explicit-any
1546
- c,
1547
- C
1548
- );
1549
- if (!I(_) || _ === "")
1550
- return new Intl.DateTimeFormat(C, N).format(E);
1551
- let S = {}, o, d = null;
1552
- const k = "datetime format";
1553
- for (let v = 0; v < y.length && (o = y[v], S = n[o] || {}, d = S[_], !D(d)); v++)
1554
- bt(e, _, o, L, k);
1555
- if (!D(d) || !I(o))
1556
- return r ? we : _;
1557
- let m = `${o}__${_}`;
1558
- Fe(N) || (m = `${m}__${JSON.stringify(N)}`);
1559
- let T = p.get(m);
1560
- return T || (T = new Intl.DateTimeFormat(o, K({}, d, N)), p.set(m, T)), A ? T.formatToParts(E) : T.format(E);
1561
- }
1562
- const sn = [
1563
- "localeMatcher",
1564
- "weekday",
1565
- "era",
1566
- "year",
1567
- "month",
1568
- "day",
1569
- "hour",
1570
- "minute",
1571
- "second",
1572
- "timeZoneName",
1573
- "formatMatcher",
1574
- "hour12",
1575
- "timeZone",
1576
- "dateStyle",
1577
- "timeStyle",
1578
- "calendar",
1579
- "dayPeriod",
1580
- "numberingSystem",
1581
- "hourCycle",
1582
- "fractionalSecondDigits"
1583
- ];
1584
- function st(...e) {
1585
- const [t, n, r, c] = e, i = F();
1586
- let l = F(), p;
1587
- if (I(t)) {
1588
- const _ = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
1589
- if (!_)
1590
- throw ne(te.INVALID_ISO_DATE_ARGUMENT);
1591
- const E = _[3] ? _[3].trim().startsWith("T") ? `${_[1].trim()}${_[3].trim()}` : `${_[1].trim()}T${_[3].trim()}` : _[1].trim();
1592
- p = new Date(E);
1593
- try {
1594
- p.toISOString();
1595
- } catch {
1596
- throw ne(te.INVALID_ISO_DATE_ARGUMENT);
1597
- }
1598
- } else if (In(t)) {
1599
- if (isNaN(t.getTime()))
1600
- throw ne(te.INVALID_DATE_ARGUMENT);
1601
- p = t;
1602
- } else if (B(t))
1603
- p = t;
1604
- else
1605
- throw ne(te.INVALID_ARGUMENT);
1606
- return I(n) ? i.key = n : D(n) && Object.keys(n).forEach((_) => {
1607
- sn.includes(_) ? l[_] = n[_] : i[_] = n[_];
1608
- }), I(r) ? i.locale = r : D(r) && (l = r), D(c) && (l = c), [i.key || "", p, i, l];
1609
- }
1610
- function Gt(e, t, n) {
1611
- const r = e;
1612
- for (const c in n) {
1613
- const i = `${t}__${c}`;
1614
- r.__datetimeFormatters.has(i) && r.__datetimeFormatters.delete(i);
1615
- }
1616
- }
1617
- function Vt(e, ...t) {
1618
- const { numberFormats: n, unresolving: r, fallbackLocale: c, onWarn: i, localeFallbacker: l } = e, { __numberFormatters: p } = e, [_, E, h, N] = at(...t), L = H(h.missingWarn) ? h.missingWarn : e.missingWarn;
1619
- H(h.fallbackWarn) ? h.fallbackWarn : e.fallbackWarn;
1620
- const A = !!h.part, C = Et(e, h), y = l(
1621
- e,
1622
- // eslint-disable-line @typescript-eslint/no-explicit-any
1623
- c,
1624
- C
1625
- );
1626
- if (!I(_) || _ === "")
1627
- return new Intl.NumberFormat(C, N).format(E);
1628
- let S = {}, o, d = null;
1629
- const k = "number format";
1630
- for (let v = 0; v < y.length && (o = y[v], S = n[o] || {}, d = S[_], !D(d)); v++)
1631
- bt(e, _, o, L, k);
1632
- if (!D(d) || !I(o))
1633
- return r ? we : _;
1634
- let m = `${o}__${_}`;
1635
- Fe(N) || (m = `${m}__${JSON.stringify(N)}`);
1636
- let T = p.get(m);
1637
- return T || (T = new Intl.NumberFormat(o, K({}, d, N)), p.set(m, T)), A ? T.formatToParts(E) : T.format(E);
1638
- }
1639
- const an = [
1640
- "localeMatcher",
1641
- "style",
1642
- "currency",
1643
- "currencyDisplay",
1644
- "currencySign",
1645
- "useGrouping",
1646
- "minimumIntegerDigits",
1647
- "minimumFractionDigits",
1648
- "maximumFractionDigits",
1649
- "minimumSignificantDigits",
1650
- "maximumSignificantDigits",
1651
- "compactDisplay",
1652
- "notation",
1653
- "signDisplay",
1654
- "unit",
1655
- "unitDisplay",
1656
- "roundingMode",
1657
- "roundingPriority",
1658
- "roundingIncrement",
1659
- "trailingZeroDisplay"
1660
- ];
1661
- function at(...e) {
1662
- const [t, n, r, c] = e, i = F();
1663
- let l = F();
1664
- if (!B(t))
1665
- throw ne(te.INVALID_ARGUMENT);
1666
- const p = t;
1667
- return I(n) ? i.key = n : D(n) && Object.keys(n).forEach((_) => {
1668
- an.includes(_) ? l[_] = n[_] : i[_] = n[_];
1669
- }), I(r) ? i.locale = r : D(r) && (l = r), D(c) && (l = c), [i.key || "", p, i, l];
1670
- }
1671
- function xt(e, t, n) {
1672
- const r = e;
1673
- for (const c in n) {
1674
- const i = `${t}__${c}`;
1675
- r.__numberFormatters.has(i) && r.__numberFormatters.delete(i);
1676
- }
1677
- }
1678
- const Xr = (e) => e, $r = (e) => "", Jr = "text", qr = (e) => e.length === 0 ? "" : ft(e), Qr = An;
1679
- function Wt(e, t) {
1680
- return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
1681
- }
1682
- function Zr(e) {
1683
- const t = B(e.pluralIndex) ? e.pluralIndex : -1;
1684
- return e.named && (B(e.named.count) || B(e.named.n)) ? B(e.named.count) ? e.named.count : B(e.named.n) ? e.named.n : t : t;
1685
- }
1686
- function zr(e, t) {
1687
- t.count || (t.count = e), t.n || (t.n = e);
1688
- }
1689
- function es(e = {}) {
1690
- const t = e.locale, n = Zr(e), r = P(e.pluralRules) && I(t) && w(e.pluralRules[t]) ? e.pluralRules[t] : Wt, c = P(e.pluralRules) && I(t) && w(e.pluralRules[t]) ? Wt : void 0, i = (o) => o[r(n, o.length, c)], l = e.list || [], p = (o) => l[o], _ = e.named || F();
1691
- B(e.pluralIndex) && zr(n, _);
1692
- const E = (o) => _[o];
1693
- function h(o, d) {
1694
- const k = w(e.messages) ? e.messages(o, !!d) : P(e.messages) ? e.messages[o] : !1;
1695
- return k || (e.parent ? e.parent.message(o) : $r);
1696
- }
1697
- const N = (o) => e.modifiers ? e.modifiers[o] : Xr, L = D(e.processor) && w(e.processor.normalize) ? e.processor.normalize : qr, A = D(e.processor) && w(e.processor.interpolate) ? e.processor.interpolate : Qr, C = D(e.processor) && I(e.processor.type) ? e.processor.type : Jr, S = {
1698
- list: p,
1699
- named: E,
1700
- plural: i,
1701
- linked: (o, ...d) => {
1702
- const [k, m] = d;
1703
- let T = "text", v = "";
1704
- d.length === 1 ? P(k) ? (v = k.modifier || v, T = k.type || T) : I(k) && (v = k || v) : d.length === 2 && (I(k) && (v = k || v), I(m) && (T = m || T));
1705
- const b = h(o, !0)(S), G = (
1706
- // The message in vnode resolved with linked are returned as an array by processor.nomalize
1707
- T === "vnode" && j(b) && v ? b[0] : b
1708
- );
1709
- return v ? N(v)(G, T) : G;
1710
- },
1711
- message: h,
1712
- type: C,
1713
- interpolate: A,
1714
- normalize: L,
1715
- values: K(F(), l, _)
1716
- };
1717
- return S;
1718
- }
1719
- const Ht = () => "", J = (e) => w(e);
1720
- function jt(e, ...t) {
1721
- const { fallbackFormat: n, postTranslation: r, unresolving: c, messageCompiler: i, fallbackLocale: l, messages: p } = e, [_, E] = it(...t), h = H(E.missingWarn) ? E.missingWarn : e.missingWarn, N = H(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn, L = H(E.escapeParameter) ? E.escapeParameter : e.escapeParameter, A = !!E.resolvedMessage, C = I(E.default) || H(E.default) ? H(E.default) ? i ? _ : () => _ : E.default : n ? i ? _ : () => _ : null, y = n || C != null && (I(C) || w(C)), S = Et(e, E);
1722
- L && ts(E);
1723
- let [o, d, k] = A ? [
1724
- _,
1725
- S,
1726
- p[S] || F()
1727
- ] : cn(e, _, S, l, N, h), m = o, T = _;
1728
- if (!A && !(I(m) || de(m) || J(m)) && y && (m = C, T = m), !A && (!(I(m) || de(m) || J(m)) || !I(d)))
1729
- return c ? we : _;
1730
- let v = !1;
1731
- const b = () => {
1732
- v = !0;
1733
- }, G = J(m) ? m : on(e, _, d, m, T, b);
1734
- if (v)
1735
- return m;
1736
- const V = ss(e, d, k, E), $ = es(V), q = ns(e, G, $), Y = r ? r(q, _) : q;
1737
- if (__INTLIFY_PROD_DEVTOOLS__) {
1738
- const le = {
1739
- timestamp: Date.now(),
1740
- key: I(_) ? _ : J(m) ? m.key : "",
1741
- locale: d || (J(m) ? m.locale : ""),
1742
- format: I(m) ? m : J(m) ? m.source : "",
1743
- message: Y
1744
- };
1745
- le.meta = K({}, e.__meta, /* @__PURE__ */ Hr() || {}), Tr(le);
1746
- }
1747
- return Y;
1748
- }
1749
- function ts(e) {
1750
- j(e.list) ? e.list = e.list.map((t) => I(t) ? ht(t) : t) : P(e.named) && Object.keys(e.named).forEach((t) => {
1751
- I(e.named[t]) && (e.named[t] = ht(e.named[t]));
1752
- });
1753
- }
1754
- function cn(e, t, n, r, c, i) {
1755
- const { messages: l, onWarn: p, messageResolver: _, localeFallbacker: E } = e, h = E(e, r, n);
1756
- let N = F(), L, A = null;
1757
- const C = "translate";
1758
- for (let y = 0; y < h.length && (L = h[y], N = l[L] || F(), (A = _(N, t)) === null && (A = N[t]), !(I(A) || de(A) || J(A))); y++)
1759
- if (!Kr(L, h)) {
1760
- const S = bt(
1761
- e,
1762
- // eslint-disable-line @typescript-eslint/no-explicit-any
1763
- t,
1764
- L,
1765
- i,
1766
- C
1767
- );
1768
- S !== t && (A = S);
1769
- }
1770
- return [A, L, N];
1771
- }
1772
- function on(e, t, n, r, c, i) {
1773
- const { messageCompiler: l, warnHtmlMessage: p } = e;
1774
- if (J(r)) {
1775
- const E = r;
1776
- return E.locale = E.locale || n, E.key = E.key || t, E;
1777
- }
1778
- if (l == null) {
1779
- const E = () => r;
1780
- return E.locale = n, E.key = t, E;
1781
- }
1782
- const _ = l(r, rs(e, n, c, r, p, i));
1783
- return _.locale = n, _.key = t, _.source = r, _;
1784
- }
1785
- function ns(e, t, n) {
1786
- return t(n);
1787
- }
1788
- function it(...e) {
1789
- const [t, n, r] = e, c = F();
1790
- if (!I(t) && !B(t) && !J(t) && !de(t))
1791
- throw ne(te.INVALID_ARGUMENT);
1792
- const i = B(t) ? String(t) : (J(t), t);
1793
- return B(n) ? c.plural = n : I(n) ? c.default = n : D(n) && !Fe(n) ? c.named = n : j(n) && (c.list = n), B(r) ? c.plural = r : I(r) ? c.default = r : D(r) && K(c, r), [i, c];
1794
- }
1795
- function rs(e, t, n, r, c, i) {
1796
- return {
1797
- locale: t,
1798
- key: n,
1799
- warnHtmlMessage: c,
1800
- onError: (l) => {
1801
- throw i && i(l), l;
1802
- },
1803
- onCacheKey: (l) => Tn(t, n, l)
1804
- };
1805
- }
1806
- function ss(e, t, n, r) {
1807
- const { modifiers: c, pluralRules: i, messageResolver: l, fallbackLocale: p, fallbackWarn: _, missingWarn: E, fallbackContext: h } = e, L = {
1808
- locale: t,
1809
- modifiers: c,
1810
- pluralRules: i,
1811
- messages: (A, C) => {
1812
- let y = l(n, A);
1813
- if (y == null && (h || C)) {
1814
- const [, , S] = cn(
1815
- h || e,
1816
- // NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
1817
- A,
1818
- t,
1819
- p,
1820
- _,
1821
- E
1822
- );
1823
- y = l(S, A);
1824
- }
1825
- if (I(y) || de(y)) {
1826
- let S = !1;
1827
- const d = on(e, A, t, y, A, () => {
1828
- S = !0;
1829
- });
1830
- return S ? Ht : d;
1831
- } else return J(y) ? y : Ht;
1832
- }
1833
- };
1834
- return e.processor && (L.processor = e.processor), r.list && (L.list = r.list), r.named && (L.named = r.named), B(r.plural) && (L.pluralIndex = r.plural), L;
1835
- }
1836
- tr();
1837
- var as = { env: { npm_package_dependencies_change_case: "^5.4.4", TERM_PROGRAM: "vscode", npm_config__feedmepos_payment_model_registry: "https://npm.pkg.github.com/", npm_config__feedmepos_mf_core_ui_registry: "https://registry.npm.org/", NODE: "/opt/homebrew/Cellar/node@18/18.20.4/bin/node", npm_package_pnpm_overrides__feedmepos_mf_common: "1.15.0-beta.6", npm_package_dependencies_vue3_lottie: "^3.3.0", INIT_CWD: "/Users/binbinliao/project/marketing-services/packages/connect", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.15", npm_package_dependencies_axios: "^1.7.2", npm_package_dependencies_moment: "^2.30.1", npm_package_devDependencies_typescript: "^5.4.5", TERM: "xterm-256color", SHELL: "/bin/zsh", npm_package_devDependencies_vite: "^5.3.1", TMPDIR: "/var/folders/59/2m_9ylk979b57yvk040bv3f00000gn/T/", HOMEBREW_REPOSITORY: "/opt/homebrew", TERM_PROGRAM_VERSION: "0.44.11", npm_package_exports___style: "./dist/style.css", npm_package_dependencies__feedmepos_custom_attributes: "0.0.0-rc.3", npm_package_scripts_dev: "vite", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", CURSOR_TRACE_ID: "52362449dcd2413da89572bdfa64a41f", ORIGINAL_XDG_CURRENT_DESKTOP: "undefined", MallocNanoZone: "0", npm_package_dependencies_uuid: "^10.0.0", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_config_registry: "https://registry.npmjs.org/", npm_package_dependencies_dayjs: "^1.11.11", npm_package_dependencies_xlsx: "^0.18.5", USER: "binbinliao", npm_package_license: "UNLICENSED", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_dependencies__feedmepos_mf_common: "1.15.0-beta.6", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_dependencies_fabric: "^6.4.2", COMMAND_MODE: "unix2003", npm_package_dependencies_rrule: "^2.8.1", PNPM_SCRIPT_SRC_DIR: "/Users/binbinliao/project/marketing-services/packages/connect", npm_package_exports___import: "./dist/app.js", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", SSH_AUTH_SOCK: "/private/tmp/com.apple.launchd.9sZlN4i7p7/Listeners", npm_package_dependencies_lodash: "^4.17.21", __CF_USER_TEXT_ENCODING: "0x1F5:0x0:0x0", npm_package_devDependencies_postcss: "^8.4.38", npm_execpath: "/opt/homebrew/lib/node_modules/pnpm/bin/pnpm.cjs", npm_package_module: "./dist/app.js", npm_package_dependencies__feedmepos_core: "^2.10.4", npm_config_frozen_lockfile: "", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", PATH: "/Users/binbinliao/project/marketing-services/packages/connect/node_modules/.bin:/opt/homebrew/lib/node_modules/pnpm/dist/node-gyp-bin:/Users/binbinliao/project/marketing-services/packages/connect/node_modules/.bin:/opt/homebrew/lib/node_modules/pnpm/dist/node-gyp-bin:/opt/homebrew/opt/node@18/bin:/opt/homebrew/lib/ruby/gems/3.3.0/bin:/Users/binbinliao/development/flutter/flutter/bin:/opt/homebrew/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/binbinliao/.codeium/windsurf/bin:/opt/homebrew/sbin", npm_config__feedmepos_ordering_registry: "https://npm.pkg.github.com/", LaunchInstanceID: "4CD6DC2E-A6A7-47B9-B24E-725171A78527", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", npm_package_dependencies_vue: "^3.5.13", __CFBundleIdentifier: "com.todesktop.230313mzl4w4u92", PWD: "/Users/binbinliao/project/marketing-services/packages/connect", npm_package_devDependencies_tailwindcss: "^3.4.4", npm_command: "run-script", npm_package_scripts_preview: "vite preview", npm_package_devDependencies__types_lodash: "^4.17.5", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", npm_lifecycle_event: "build:mf:dev", LANG: "en_US.UTF-8", npm_package_name: "@feedmepos/mf-connect", NODE_PATH: "/Users/binbinliao/project/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/Users/binbinliao/project/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/Users/binbinliao/project/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/Users/binbinliao/project/marketing-services/packages/connect/node_modules/.pnpm/node_modules", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", npm_package_scripts_build: "vue-tsc && vite build", XPC_FLAGS: "0x0", VSCODE_GIT_ASKPASS_EXTRA_ARGS: "", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies_vue_i18n: "10.0.5", npm_config_node_gyp: "/opt/homebrew/lib/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", XPC_SERVICE_NAME: "application.com.todesktop.230313mzl4w4u92.30648850.30648856", npm_package_version: "0.0.16-beta.10", VSCODE_INJECTION: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_autoprefixer: "^10.4.19", npm_config__feedmepos_inventory_components_registry: "https://npm.pkg.github.com/", HOME: "/Users/binbinliao", SHLVL: "3", npm_package_type: "module", VSCODE_GIT_ASKPASS_MAIN: "/Applications/Cursor.app/Contents/Resources/app/extensions/git/dist/askpass-main.js", npm_package_dependencies__feedmepos_menu: "1.0.34", npm_package_dependencies_dotenv: "^16.4.5", HOMEBREW_PREFIX: "/opt/homebrew", npm_package_dependencies__types_qrcode: "^1.5.5", npm_package_dependencies_zod_i18n_map: "^2.27.0", npm_package_dependencies_firebase: "^10.12.2", LOGNAME: "binbinliao", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_dependencies_unplugin_auto_import: "^0.17.6", npm_package_dependencies_zod: "3.22.4", npm_lifecycle_script: "vite build --mode fmmf", VSCODE_GIT_IPC_HANDLE: "/var/folders/59/2m_9ylk979b57yvk040bv3f00000gn/T/vscode-git-913fa051ae.sock", XDG_DATA_DIRS: "/usr/local/share:/usr/share:/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/contrib/terminal/browser/media/fish_xdg_data", npm_package_devDependencies_unlayer_types: "^1.111.0", npm_config__feedmepos_core_registry: "https://npm.pkg.github.com/", npm_package_devDependencies__types_uuid: "^9.0.8", npm_config_user_agent: "pnpm/9.6.0 npm/? node/v18.20.4 darwin arm64", INFOPATH: "/opt/homebrew/share/info:", HOMEBREW_CELLAR: "/opt/homebrew/Cellar", VSCODE_GIT_ASKPASS_NODE: "/Applications/Cursor.app/Contents/Frameworks/Cursor Helper (Plugin).app/Contents/MacOS/Cursor Helper (Plugin)", GIT_ASKPASS: "/Applications/Cursor.app/Contents/Resources/app/extensions/git/dist/askpass.sh", npm_package_devDependencies__types_node: "^18.19.36", npm_package_files_0: "dist", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", SECURITYSESSIONID: "186a3", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_package_dependencies__feedmepos_ui_library: "1.3.5", npm_package_dependencies_vue_router: "^4.3.3", npm_package_dependencies_i18next: "^24.2.1", COLORTERM: "truecolor", npm_package_dependencies_qrcode: "^1.5.3", npm_package_devDependencies_vue_tsc: "^2.0.21", npm_node_execpath: "/opt/homebrew/Cellar/node@18/18.20.4/bin/node", NODE_ENV: "production", FEEDME_NAMESPACE: "dev", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", AUTH_URL: "https://portal-v2-dev.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedmedev.cc", CRM_APP_URL: "crm.feedmedev.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedmedev.cc", CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", PAYMENT_PORTAL_URL: "https://portal.feedmedev.cc/payment/payout-account" } };
1838
- const is = "10.0.5";
1839
- function cs() {
1840
- 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);
1841
- }
1842
- const ge = {
1843
- // composer module errors
1844
- UNEXPECTED_RETURN_TYPE: Ir,
1845
- // 24
1846
- // legacy module errors
1847
- INVALID_ARGUMENT: 25,
1848
- // i18n module errors
1849
- MUST_BE_CALL_SETUP_TOP: 26,
1850
- NOT_INSTALLED: 27,
1851
- // directive module errors
1852
- REQUIRED_VALUE: 28,
1853
- INVALID_VALUE: 29,
1854
- // vue-devtools errors
1855
- CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN: 30,
1856
- NOT_INSTALLED_WITH_PROVIDE: 31,
1857
- // unexpected error
1858
- UNEXPECTED_ERROR: 32,
1859
- // not compatible legacy vue-i18n constructor
1860
- NOT_COMPATIBLE_LEGACY_VUE_I18N: 33,
1861
- // Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly
1862
- NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
1863
- };
1864
- function Ne(e, ...t) {
1865
- return Ue(e, null, void 0);
1866
- }
1867
- const ct = /* @__PURE__ */ oe("__translateVNode"), ot = /* @__PURE__ */ oe("__datetimeParts"), lt = /* @__PURE__ */ oe("__numberParts"), os = oe("__setPluralRules"), ln = /* @__PURE__ */ oe("__injectWithOption"), _t = /* @__PURE__ */ oe("__dispose");
1868
- function Ie(e) {
1869
- if (!P(e))
1870
- return e;
1871
- for (const t in e)
1872
- if (Q(e, t))
1873
- if (!t.includes("."))
1874
- P(e[t]) && Ie(e[t]);
1875
- else {
1876
- const n = t.split("."), r = n.length - 1;
1877
- let c = e, i = !1;
1878
- for (let l = 0; l < r; l++) {
1879
- if (n[l] in c || (c[n[l]] = F()), !P(c[n[l]])) {
1880
- i = !0;
1881
- break;
1882
- }
1883
- c = c[n[l]];
1884
- }
1885
- i || (c[n[r]] = e[t], delete e[t]), P(c[n[r]]) && Ie(c[n[r]]);
1886
- }
1887
- return e;
1888
- }
1889
- function _n(e, t) {
1890
- const { messages: n, __i18n: r, messageResolver: c, flatJson: i } = t, l = D(n) ? n : j(r) ? F() : { [e]: F() };
1891
- if (j(r) && r.forEach((p) => {
1892
- if ("locale" in p && "resource" in p) {
1893
- const { locale: _, resource: E } = p;
1894
- _ ? (l[_] = l[_] || F(), De(E, l[_])) : De(E, l);
1895
- } else
1896
- I(p) && De(JSON.parse(p), l);
1897
- }), c == null && i)
1898
- for (const p in l)
1899
- Q(l, p) && Ie(l[p]);
1900
- return l;
1901
- }
1902
- function un(e) {
1903
- return e.type;
1904
- }
1905
- function ls(e, t, n) {
1906
- let r = P(t.messages) ? t.messages : F();
1907
- "__i18nGlobal" in n && (r = _n(e.locale.value, {
1908
- messages: r,
1909
- __i18n: n.__i18nGlobal
1910
- }));
1911
- const c = Object.keys(r);
1912
- c.length && c.forEach((i) => {
1913
- e.mergeLocaleMessage(i, r[i]);
1914
- });
1915
- {
1916
- if (P(t.datetimeFormats)) {
1917
- const i = Object.keys(t.datetimeFormats);
1918
- i.length && i.forEach((l) => {
1919
- e.mergeDateTimeFormat(l, t.datetimeFormats[l]);
1920
- });
1921
- }
1922
- if (P(t.numberFormats)) {
1923
- const i = Object.keys(t.numberFormats);
1924
- i.length && i.forEach((l) => {
1925
- e.mergeNumberFormat(l, t.numberFormats[l]);
1926
- });
1927
- }
1928
- }
1929
- }
1930
- function Yt(e) {
1931
- return Ln(vn, null, e, 0);
1932
- }
1933
- const Bt = "__INTLIFY_META__", Kt = () => [], _s = () => !1;
1934
- let Xt = 0;
1935
- function $t(e) {
1936
- return (t, n, r, c) => e(n, r, pt() || void 0, c);
1937
- }
1938
- const us = /* @__NO_SIDE_EFFECTS__ */ () => {
1939
- const e = pt();
1940
- let t = null;
1941
- return e && (t = un(e)[Bt]) ? { [Bt]: t } : null;
1942
- };
1943
- function ps(e = {}) {
1944
- const { __root: t, __injectWithOption: n } = e, r = t === void 0, c = e.flatJson, i = Nt ? bn : kn;
1945
- let l = H(e.inheritLocale) ? e.inheritLocale : !0;
1946
- const p = i(
1947
- // prettier-ignore
1948
- t && l ? t.locale.value : I(e.locale) ? e.locale : Me
1949
- ), _ = i(
1950
- // prettier-ignore
1951
- t && l ? t.fallbackLocale.value : I(e.fallbackLocale) || j(e.fallbackLocale) || D(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : p.value
1952
- ), E = i(_n(p.value, e)), h = i(D(e.datetimeFormats) ? e.datetimeFormats : { [p.value]: {} }), N = i(D(e.numberFormats) ? e.numberFormats : { [p.value]: {} });
1953
- let L = t ? t.missingWarn : H(e.missingWarn) || Pe(e.missingWarn) ? e.missingWarn : !0, A = t ? t.fallbackWarn : H(e.fallbackWarn) || Pe(e.fallbackWarn) ? e.fallbackWarn : !0, C = t ? t.fallbackRoot : H(e.fallbackRoot) ? e.fallbackRoot : !0, y = !!e.fallbackFormat, S = w(e.missing) ? e.missing : null, o = w(e.missing) ? $t(e.missing) : null, d = w(e.postTranslation) ? e.postTranslation : null, k = t ? t.warnHtmlMessage : H(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, m = !!e.escapeParameter;
1954
- const T = t ? t.modifiers : D(e.modifiers) ? e.modifiers : {};
1955
- let v = e.pluralRules || t && t.pluralRules, b;
1956
- b = (() => {
1957
- r && Ft(null);
1958
- const u = {
1959
- version: is,
1960
- locale: p.value,
1961
- fallbackLocale: _.value,
1962
- messages: E.value,
1963
- modifiers: T,
1964
- pluralRules: v,
1965
- missing: o === null ? void 0 : o,
1966
- missingWarn: L,
1967
- fallbackWarn: A,
1968
- fallbackFormat: y,
1969
- unresolving: !0,
1970
- postTranslation: d === null ? void 0 : d,
1971
- warnHtmlMessage: k,
1972
- escapeParameter: m,
1973
- messageResolver: e.messageResolver,
1974
- messageCompiler: e.messageCompiler,
1975
- __meta: { framework: "vue" }
1976
- };
1977
- u.datetimeFormats = h.value, u.numberFormats = N.value, u.__datetimeFormatters = D(b) ? b.__datetimeFormatters : void 0, u.__numberFormatters = D(b) ? b.__numberFormatters : void 0;
1978
- const g = Yr(u);
1979
- return r && Ft(g), g;
1980
- })(), Le(b, p.value, _.value);
1981
- function V() {
1982
- return [
1983
- p.value,
1984
- _.value,
1985
- E.value,
1986
- h.value,
1987
- N.value
1988
- ];
1989
- }
1990
- const $ = ke({
1991
- get: () => p.value,
1992
- set: (u) => {
1993
- p.value = u, b.locale = p.value;
1994
- }
1995
- }), q = ke({
1996
- get: () => _.value,
1997
- set: (u) => {
1998
- _.value = u, b.fallbackLocale = _.value, Le(b, p.value, u);
1999
- }
2000
- }), Y = ke(() => E.value), le = /* @__PURE__ */ ke(() => h.value), Ge = /* @__PURE__ */ ke(() => N.value);
2001
- function Ve() {
2002
- return w(d) ? d : null;
2003
- }
2004
- function xe(u) {
2005
- d = u, b.postTranslation = u;
2006
- }
2007
- function We() {
2008
- return S;
2009
- }
2010
- function He(u) {
2011
- u !== null && (o = $t(u)), S = u, b.missing = o;
2012
- }
2013
- const z = (u, g, U, W, ie, Ae) => {
2014
- V();
2015
- let pe;
2016
- try {
2017
- as.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (b.fallbackContext = t ? jr() : void 0), pe = u(b);
2018
- } finally {
2019
- __INTLIFY_PROD_DEVTOOLS__, r || (b.fallbackContext = void 0);
2020
- }
2021
- if (U !== "translate exists" && // for not `te` (e.g `t`)
2022
- B(pe) && pe === we || U === "translate exists" && !pe) {
2023
- const [fn, Ts] = g();
2024
- return t && C ? W(t) : ie(fn);
2025
- } else {
2026
- if (Ae(pe))
2027
- return pe;
2028
- throw Ne(ge.UNEXPECTED_RETURN_TYPE);
2029
- }
2030
- };
2031
- function he(...u) {
2032
- return z((g) => Reflect.apply(jt, null, [g, ...u]), () => it(...u), "translate", (g) => Reflect.apply(g.t, g, [...u]), (g) => g, (g) => I(g));
2033
- }
2034
- function Se(...u) {
2035
- const [g, U, W] = u;
2036
- if (W && !P(W))
2037
- throw Ne(ge.INVALID_ARGUMENT);
2038
- return he(g, U, K({ resolvedMessage: !0 }, W || {}));
2039
- }
2040
- function je(...u) {
2041
- return z((g) => Reflect.apply(wt, null, [g, ...u]), () => st(...u), "datetime format", (g) => Reflect.apply(g.d, g, [...u]), () => Pt, (g) => I(g));
2042
- }
2043
- function Ye(...u) {
2044
- return z((g) => Reflect.apply(Vt, null, [g, ...u]), () => at(...u), "number format", (g) => Reflect.apply(g.n, g, [...u]), () => Pt, (g) => I(g));
2045
- }
2046
- function Be(u) {
2047
- return u.map((g) => I(g) || B(g) || H(g) ? Yt(String(g)) : g);
2048
- }
2049
- const Ke = {
2050
- normalize: Be,
2051
- interpolate: (u) => u,
2052
- type: "vnode"
2053
- };
2054
- function Xe(...u) {
2055
- return z((g) => {
2056
- let U;
2057
- const W = g;
2058
- try {
2059
- W.processor = Ke, U = Reflect.apply(jt, null, [W, ...u]);
2060
- } finally {
2061
- W.processor = null;
2062
- }
2063
- return U;
2064
- }, () => it(...u), "translate", (g) => g[ct](...u), (g) => [Yt(g)], (g) => j(g));
2065
- }
2066
- function Oe(...u) {
2067
- return z((g) => Reflect.apply(Vt, null, [g, ...u]), () => at(...u), "number format", (g) => g[lt](...u), Kt, (g) => I(g) || j(g));
2068
- }
2069
- function $e(...u) {
2070
- return z((g) => Reflect.apply(wt, null, [g, ...u]), () => st(...u), "datetime format", (g) => g[ot](...u), Kt, (g) => I(g) || j(g));
2071
- }
2072
- function Je(u) {
2073
- v = u, b.pluralRules = v;
2074
- }
2075
- function qe(u, g) {
2076
- return z(() => {
2077
- if (!u)
2078
- return !1;
2079
- const U = I(g) ? g : p.value, W = _e(U), ie = b.messageResolver(W, u);
2080
- return de(ie) || J(ie) || I(ie);
2081
- }, () => [u], "translate exists", (U) => Reflect.apply(U.te, U, [u, g]), _s, (U) => H(U));
2082
- }
2083
- function Qe(u) {
2084
- let g = null;
2085
- const U = Zt(b, _.value, p.value);
2086
- for (let W = 0; W < U.length; W++) {
2087
- const ie = E.value[U[W]] || {}, Ae = b.messageResolver(ie, u);
2088
- if (Ae != null) {
2089
- g = Ae;
2090
- break;
2091
- }
2092
- }
2093
- return g;
2094
- }
2095
- function Ee(u) {
2096
- const g = Qe(u);
2097
- return g ?? (t ? t.tm(u) || {} : {});
2098
- }
2099
- function _e(u) {
2100
- return E.value[u] || {};
2101
- }
2102
- function ue(u, g) {
2103
- if (c) {
2104
- const U = { [u]: g };
2105
- for (const W in U)
2106
- Q(U, W) && Ie(U[W]);
2107
- g = U[u];
2108
- }
2109
- E.value[u] = g, b.messages = E.value;
2110
- }
2111
- function be(u, g) {
2112
- E.value[u] = E.value[u] || {};
2113
- const U = { [u]: g };
2114
- if (c)
2115
- for (const W in U)
2116
- Q(U, W) && Ie(U[W]);
2117
- g = U[u], De(g, E.value[u]), b.messages = E.value;
2118
- }
2119
- function Ze(u) {
2120
- return h.value[u] || {};
2121
- }
2122
- function s(u, g) {
2123
- h.value[u] = g, b.datetimeFormats = h.value, Gt(b, u, g);
2124
- }
2125
- function a(u, g) {
2126
- h.value[u] = K(h.value[u] || {}, g), b.datetimeFormats = h.value, Gt(b, u, g);
2127
- }
2128
- function f(u) {
2129
- return N.value[u] || {};
2130
- }
2131
- function O(u, g) {
2132
- N.value[u] = g, b.numberFormats = N.value, xt(b, u, g);
2133
- }
2134
- function x(u, g) {
2135
- N.value[u] = K(N.value[u] || {}, g), b.numberFormats = N.value, xt(b, u, g);
2136
- }
2137
- Xt++, t && Nt && (Tt(t.locale, (u) => {
2138
- l && (p.value = u, b.locale = u, Le(b, p.value, _.value));
2139
- }), Tt(t.fallbackLocale, (u) => {
2140
- l && (_.value = u, b.fallbackLocale = u, Le(b, p.value, _.value));
2141
- }));
2142
- const R = {
2143
- id: Xt,
2144
- locale: $,
2145
- fallbackLocale: q,
2146
- get inheritLocale() {
2147
- return l;
2148
- },
2149
- set inheritLocale(u) {
2150
- l = u, u && t && (p.value = t.locale.value, _.value = t.fallbackLocale.value, Le(b, p.value, _.value));
2151
- },
2152
- get availableLocales() {
2153
- return Object.keys(E.value).sort();
2154
- },
2155
- messages: Y,
2156
- get modifiers() {
2157
- return T;
2158
- },
2159
- get pluralRules() {
2160
- return v || {};
2161
- },
2162
- get isGlobal() {
2163
- return r;
2164
- },
2165
- get missingWarn() {
2166
- return L;
2167
- },
2168
- set missingWarn(u) {
2169
- L = u, b.missingWarn = L;
2170
- },
2171
- get fallbackWarn() {
2172
- return A;
2173
- },
2174
- set fallbackWarn(u) {
2175
- A = u, b.fallbackWarn = A;
2176
- },
2177
- get fallbackRoot() {
2178
- return C;
2179
- },
2180
- set fallbackRoot(u) {
2181
- C = u;
2182
- },
2183
- get fallbackFormat() {
2184
- return y;
2185
- },
2186
- set fallbackFormat(u) {
2187
- y = u, b.fallbackFormat = y;
2188
- },
2189
- get warnHtmlMessage() {
2190
- return k;
2191
- },
2192
- set warnHtmlMessage(u) {
2193
- k = u, b.warnHtmlMessage = u;
2194
- },
2195
- get escapeParameter() {
2196
- return m;
2197
- },
2198
- set escapeParameter(u) {
2199
- m = u, b.escapeParameter = u;
2200
- },
2201
- t: he,
2202
- getLocaleMessage: _e,
2203
- setLocaleMessage: ue,
2204
- mergeLocaleMessage: be,
2205
- getPostTranslationHandler: Ve,
2206
- setPostTranslationHandler: xe,
2207
- getMissingHandler: We,
2208
- setMissingHandler: He,
2209
- [os]: Je
2210
- };
2211
- return R.datetimeFormats = le, R.numberFormats = Ge, R.rt = Se, R.te = qe, R.tm = Ee, R.d = je, R.n = Ye, R.getDateTimeFormat = Ze, R.setDateTimeFormat = s, R.mergeDateTimeFormat = a, R.getNumberFormat = f, R.setNumberFormat = O, R.mergeNumberFormat = x, R[ln] = n, R[ct] = Xe, R[ot] = $e, R[lt] = Oe, R;
2212
- }
2213
- const kt = {
2214
- tag: {
2215
- type: [String, Object]
2216
- },
2217
- locale: {
2218
- type: String
2219
- },
2220
- scope: {
2221
- type: String,
2222
- // NOTE: avoid https://github.com/microsoft/rushstack/issues/1050
2223
- validator: (e) => e === "parent" || e === "global",
2224
- default: "parent"
2225
- /* ComponentI18nScope */
2226
- },
2227
- i18n: {
2228
- type: Object
2229
- }
2230
- };
2231
- function ms({ slots: e }, t) {
2232
- return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((r, c) => [
2233
- ...r,
2234
- // prettier-ignore
2235
- ...c.type === qt ? c.children : [c]
2236
- ], []) : t.reduce((n, r) => {
2237
- const c = e[r];
2238
- return c && (n[r] = c()), n;
2239
- }, F());
2240
- }
2241
- function pn() {
2242
- return qt;
2243
- }
2244
- K({
2245
- keypath: {
2246
- type: String,
2247
- required: !0
2248
- },
2249
- plural: {
2250
- type: [Number, String],
2251
- validator: (e) => B(e) || !isNaN(e)
2252
- }
2253
- }, kt);
2254
- function fs(e) {
2255
- return j(e) && !I(e[0]);
2256
- }
2257
- function mn(e, t, n, r) {
2258
- const { slots: c, attrs: i } = t;
2259
- return () => {
2260
- const l = { part: !0 };
2261
- let p = F();
2262
- e.locale && (l.locale = e.locale), I(e.format) ? l.key = e.format : P(e.format) && (I(e.format.key) && (l.key = e.format.key), p = Object.keys(e.format).reduce((L, A) => n.includes(A) ? K(F(), L, { [A]: e.format[A] }) : L, F()));
2263
- const _ = r(e.value, l, p);
2264
- let E = [l.key];
2265
- j(_) ? E = _.map((L, A) => {
2266
- const C = c[L.type], y = C ? C({ [L.type]: L.value, index: A, parts: _ }) : [L.value];
2267
- return fs(y) && (y[0].key = `${L.type}-${A}`), y;
2268
- }) : I(_) && (E = [_]);
2269
- const h = K(F(), i), N = I(e.tag) || P(e.tag) ? e.tag : pn();
2270
- return Jt(N, h, E);
2271
- };
2272
- }
2273
- K({
2274
- value: {
2275
- type: Number,
2276
- required: !0
2277
- },
2278
- format: {
2279
- type: [String, Object]
2280
- }
2281
- }, kt);
2282
- K({
2283
- value: {
2284
- type: [Number, Date],
2285
- required: !0
2286
- },
2287
- format: {
2288
- type: [String, Object]
2289
- }
2290
- }, kt);
2291
- const ds = /* @__PURE__ */ oe("global-vue-i18n");
2292
- function Lt(e = {}) {
2293
- const t = pt();
2294
- if (t == null)
2295
- throw Ne(ge.MUST_BE_CALL_SETUP_TOP);
2296
- if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
2297
- throw Ne(ge.NOT_INSTALLED);
2298
- const n = gs(t), r = bs(n), c = un(t), i = Es(e, c);
2299
- if (i === "global")
2300
- return ls(r, e, c), r;
2301
- if (i === "parent") {
2302
- let _ = ks(n, t, e.__useComponent);
2303
- return _ == null && (_ = r), _;
2304
- }
2305
- const l = n;
2306
- let p = l.__getInstance(t);
2307
- if (p == null) {
2308
- const _ = K({}, e);
2309
- "__i18n" in c && (_.__i18n = c.__i18n), r && (_.__root = r), p = ps(_), l.__composerExtend && (p[_t] = l.__composerExtend(p)), vs(l, t, p), l.__setInstance(t, p);
2310
- }
2311
- return p;
2312
- }
2313
- function gs(e) {
2314
- const t = dn(e.isCE ? ds : e.appContext.app.__VUE_I18N_SYMBOL__);
2315
- if (!t)
2316
- throw Ne(e.isCE ? ge.NOT_INSTALLED_WITH_PROVIDE : ge.UNEXPECTED_ERROR);
2317
- return t;
2318
- }
2319
- function Es(e, t) {
2320
- return Fe(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
2321
- }
2322
- function bs(e) {
2323
- return e.mode === "composition" ? e.global : e.global.__composer;
2324
- }
2325
- function ks(e, t, n = !1) {
2326
- let r = null;
2327
- const c = t.root;
2328
- let i = Ls(t, n);
2329
- for (; i != null; ) {
2330
- const l = e;
2331
- if (e.mode === "composition")
2332
- r = l.__getInstance(i);
2333
- else if (__VUE_I18N_LEGACY_API__) {
2334
- const p = l.__getInstance(i);
2335
- p != null && (r = p.__composer, n && r && !r[ln] && (r = null));
2336
- }
2337
- if (r != null || c === i)
2338
- break;
2339
- i = i.parent;
2340
- }
2341
- return r;
2342
- }
2343
- function Ls(e, t = !1) {
2344
- return e == null ? null : t && e.vnode.ctx || e.parent;
2345
- }
2346
- function vs(e, t, n) {
2347
- gn(() => {
2348
- }, t), En(() => {
2349
- const r = n;
2350
- e.__deleteInstance(t);
2351
- const c = r[_t];
2352
- c && (c(), delete r[_t]);
2353
- }, t);
2354
- }
2355
- cs();
2356
- Gr(kr);
2357
- Vr(Fr);
2358
- xr(Zt);
2359
- if (__INTLIFY_PROD_DEVTOOLS__) {
2360
- const e = ce();
2361
- e.__INTLIFY__ = !0, Lr(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
2362
- }
2363
- export {
2364
- Lt as u
2365
- };