@feedmepos/mf-hrm-portal 2.3.2-dev.2 → 2.3.2-dev.4

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 (42) hide show
  1. package/dist/{ApprovalCodeList-sHnINTik.js → ApprovalCodeList-BPTnWcra.js} +7 -7
  2. package/dist/{AuditLogList-C9C2emU9.js → AuditLogList-CvEF4bit.js} +6 -6
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BbsPesWY.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-CPX0sv64.js} +2 -2
  4. package/dist/{EmployeeList-D4oy5hXz.js → EmployeeList-CANPsrQY.js} +8 -8
  5. package/dist/{FormSection.vue_vue_type_script_setup_true_lang-Cl053Tg1.js → FormSection.vue_vue_type_script_setup_true_lang-mdfK9rtZ.js} +1 -1
  6. package/dist/{GrantUserList-LWpqhl-5.js → GrantUserList-DPj_6Wsg.js} +8 -8
  7. package/dist/{Main-BWKb-QIE.js → Main-BWRMirTY.js} +11 -11
  8. package/dist/{Main-PBJjfzBg.js → Main-Cob4hcf-.js} +5 -5
  9. package/dist/{Main-CVGiOYpC.js → Main-DXcSgkhR.js} +10 -10
  10. package/dist/{MyPosProfile-BQCBFMFw.js → MyPosProfile-Bp7-pATz.js} +1 -1
  11. package/dist/{PermissionSetList-D2qZVlF4.js → PermissionSetList-DvAW1q0c.js} +6 -6
  12. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-ZSREAS1r.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DmbI5vgH.js} +1051 -1051
  13. package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DRGTxOMW.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-C8hcooKP.js} +1 -1
  14. package/dist/{RoleForm.vue_vue_type_script_setup_true_lang-DFDTw0lj.js → RoleForm.vue_vue_type_script_setup_true_lang-Bq8-aBSv.js} +9 -9
  15. package/dist/{RoleList-DG0crFzW.js → RoleList-DsrHgU4s.js} +7 -7
  16. package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-Cs0rhCa3.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CRR18xmB.js} +1 -1
  17. package/dist/{ScheduleGeneralPage-C4J6jYtG.js → ScheduleGeneralPage-C_Kj9wmp.js} +2 -2
  18. package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-3UqO6uPu.js → ScheduleModal.vue_vue_type_script_setup_true_lang-3oQ6lE86.js} +4 -4
  19. package/dist/{SchedulePage-ICzggri0.js → SchedulePage-9dFXxWwZ.js} +9 -9
  20. package/dist/{SchedulePositionPage-BshUCd_C.js → SchedulePositionPage-Dea5X8Sa.js} +3 -3
  21. package/dist/{SelectFilter-D9T0nFvG.js → SelectFilter-Dr9lB6Ta.js} +1 -1
  22. package/dist/{TeamMemberList-C970Iqlj.js → TeamMemberList-Bu9QNP9W.js} +12 -12
  23. package/dist/{TimesheetList-nxhr0EWj.js → TimesheetList-B98l028z.js} +8 -8
  24. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-BLqgALLe.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-DIQ7kjG8.js} +3 -3
  25. package/dist/{app-n6d4AmtP.js → app-BHQJX4L4.js} +23 -23
  26. package/dist/app.js +1 -1
  27. package/dist/{approval-code-1j1OoXt1.js → approval-code-w0rZJeYU.js} +1 -1
  28. package/dist/{dayjs.min-DdNivv4b.js → dayjs.min-C4H4diN8.js} +1 -1
  29. package/dist/{employee-BlfleiCU.js → employee-BEwUmdt6.js} +5 -5
  30. package/dist/{grant-user-BmTyexk3.js → grant-user-DdxPMH5_.js} +1 -1
  31. package/dist/{iteration-y_jodvfN.js → iteration-DBHifssn.js} +1 -1
  32. package/dist/{lodash-B2eWEGH4.js → lodash-DqZsWm-0.js} +1 -1
  33. package/dist/{member-grant-CzZUdO_s.js → member-grant-DOigVnBR.js} +2 -2
  34. package/dist/{restaurant-Dl6yx37M.js → restaurant-2xCb2x26.js} +1 -1
  35. package/dist/{role-DfZi7Ssk.js → role-C8STcmLJ.js} +3 -3
  36. package/dist/{rule-ChmhcGgA.js → rule-BkL34-Ma.js} +3 -3
  37. package/dist/src/views/hr/locales/index.d.ts +4 -4
  38. package/dist/tsconfig.app.tsbuildinfo +1 -1
  39. package/dist/{useAppStore-BPARQyvJ.js → useAppStore-BUmFt2dT.js} +1 -1
  40. package/dist/{useLoading-iPESFb6R.js → useLoading-oHRj4RgU.js} +1 -1
  41. package/dist/{useReportPermissions-By-BoJZb.js → useReportPermissions-CpcyfEuV.js} +3 -3
  42. package/package.json +2 -2
@@ -1,14 +1,14 @@
1
- import { getCurrentInstance as Xt, inject as mr, ref as st, shallowRef as dr, computed as z, watch as wt, onMounted as xn, onUnmounted as fr, defineComponent as Ae, h as Wn, createVNode as le, Text as _r, Fragment as we, resolveComponent as De, createBlock as Te, openBlock as J, withCtx as ce, createElementVNode as ie, createElementBlock as re, toDisplayString as Se, unref as B, renderList as Ce, toRef as en, normalizeStyle as rt, renderSlot as Le, createCommentVNode as Ne, normalizeClass as Ie, createTextVNode as vr, useSlots as pr, createSlots as tt, mergeModels as tn, useModel as br } from "vue";
1
+ import { getCurrentInstance as Xt, inject as mr, ref as st, shallowRef as dr, computed as z, watch as wt, onMounted as xn, onUnmounted as fr, defineComponent as Ae, h as Wn, createVNode as le, Text as _r, Fragment as we, resolveComponent as De, createBlock as Te, openBlock as $, withCtx as ce, createElementVNode as ie, createElementBlock as re, toDisplayString as Se, unref as B, renderList as Ne, toRef as en, normalizeStyle as rt, renderSlot as Re, createCommentVNode as Ce, normalizeClass as Ee, createTextVNode as pr, useSlots as vr, createSlots as tt, mergeModels as tn, useModel as br } from "vue";
2
2
  import { useI18n as Ke, useCoreStore as hr } from "@feedmepos/mf-common";
3
- import { useDialog as gr, useBreakpoints as yr } from "@feedmepos/ui-library";
3
+ import { useDialog as gr, useBreakpoints as Ir } from "@feedmepos/ui-library";
4
4
  import "@vue/devtools-api";
5
- import { p as Gn, N as Zn, a as Er, P as Ir, w as Lt, x as Cr, y as Nr } from "./rule-ChmhcGgA.js";
6
- import { _ as Bt, a as Tr, b as nn, u as Or } from "./ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BbsPesWY.js";
7
- import { u as Sr, v as Lr, g as kr, b as Ar, q as Yn, S as Dt, A as nt, m as ye, l as rn, O as Rr } from "./app-n6d4AmtP.js";
8
- import { c as yt } from "./iteration-y_jodvfN.js";
5
+ import { p as Yn, N as Gn, a as yr, P as Er, w as Rt, x as Nr, y as Cr } from "./rule-BkL34-Ma.js";
6
+ import { _ as Bt, a as Tr, b as nn, u as Or } from "./ConditionBuilderForm.vue_vue_type_script_setup_true_lang-CPX0sv64.js";
7
+ import { u as Sr, v as Rr, g as Lr, b as Ar, q as Zn, S as Dt, A as nt, m as Ie, l as rn, O as kr } from "./app-BHQJX4L4.js";
8
+ import { c as It } from "./iteration-DBHifssn.js";
9
9
  import { r as Mr, s as Xn } from "./string-DZQ1uNjn.js";
10
- import { W as wr } from "./member-grant-CzZUdO_s.js";
11
- import { u as Dr } from "./role-DfZi7Ssk.js";
10
+ import { W as wr } from "./member-grant-DOigVnBR.js";
11
+ import { u as Dr } from "./role-C8STcmLJ.js";
12
12
  function Bn(e, t) {
13
13
  return Array.isArray(e) ? e.includes(t) : e === t;
14
14
  }
@@ -31,25 +31,25 @@ function sn(e, t) {
31
31
  * (c) 2024 kazuya kawaguchi
32
32
  * Released under the MIT License.
33
33
  */
34
- const an = typeof window < "u", ze = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), jr = (e, t, n) => Vr({ l: e, k: t, s: n }), Vr = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), he = (e) => typeof e == "number" && isFinite(e), Ur = (e) => Ht(e) === "[object Date]", It = (e) => Ht(e) === "[object RegExp]", Nt = (e) => q(e) && Object.keys(e).length === 0, ge = Object.assign, xr = Object.create, se = (e = null) => xr(e);
34
+ const an = typeof window < "u", ze = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), jr = (e, t, n) => Ur({ l: e, k: t, s: n }), Ur = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), he = (e) => typeof e == "number" && isFinite(e), Vr = (e) => Ht(e) === "[object Date]", Et = (e) => Ht(e) === "[object RegExp]", Ct = (e) => q(e) && Object.keys(e).length === 0, ge = Object.assign, xr = Object.create, se = (e = null) => xr(e);
35
35
  let ln;
36
- const $e = () => ln || (ln = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : se());
36
+ const Je = () => ln || (ln = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : se());
37
37
  function on(e) {
38
38
  return e.replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;");
39
39
  }
40
40
  const Wr = Object.prototype.hasOwnProperty;
41
- function ke(e, t) {
41
+ function Le(e, t) {
42
42
  return Wr.call(e, t);
43
43
  }
44
- const ve = Array.isArray, ue = (e) => typeof e == "function", G = (e) => typeof e == "string", _e = (e) => typeof e == "boolean", ee = (e) => e !== null && typeof e == "object", Gr = (e) => ee(e) && ue(e.then) && ue(e.catch), Hn = Object.prototype.toString, Ht = (e) => Hn.call(e), q = (e) => Ht(e) === "[object Object]", Zr = (e) => e == null ? "" : ve(e) || q(e) && e.toString === Hn ? JSON.stringify(e, null, 2) : String(e);
45
- function Jt(e, t = "") {
44
+ const pe = Array.isArray, ue = (e) => typeof e == "function", Y = (e) => typeof e == "string", _e = (e) => typeof e == "boolean", ee = (e) => e !== null && typeof e == "object", Yr = (e) => ee(e) && ue(e.then) && ue(e.catch), Hn = Object.prototype.toString, Ht = (e) => Hn.call(e), q = (e) => Ht(e) === "[object Object]", Gr = (e) => e == null ? "" : pe(e) || q(e) && e.toString === Hn ? JSON.stringify(e, null, 2) : String(e);
45
+ function $t(e, t = "") {
46
46
  return e.reduce((n, r, a) => a === 0 ? n + r : n + t + r, "");
47
47
  }
48
- function Yr(e, t) {
48
+ function Zr(e, t) {
49
49
  typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
50
50
  }
51
- const ft = (e) => !ee(e) || ve(e);
52
- function Et(e, t) {
51
+ const ft = (e) => !ee(e) || pe(e);
52
+ function yt(e, t) {
53
53
  if (ft(e) || ft(t))
54
54
  throw new Error("Invalid value");
55
55
  const n = [{ src: e, des: t }];
@@ -91,14 +91,14 @@ function Tt(e, t, n = {}) {
91
91
  function Hr(e) {
92
92
  throw e;
93
93
  }
94
- const Ve = " ", Jr = "\r", Ee = `
95
- `, $r = "\u2028", Kr = "\u2029";
94
+ const Ue = " ", $r = "\r", ye = `
95
+ `, Jr = "\u2028", Kr = "\u2029";
96
96
  function zr(e) {
97
97
  const t = e;
98
98
  let n = 0, r = 1, a = 1, l = 0;
99
- const f = (p) => t[p] === Jr && t[p + 1] === Ee, d = (p) => t[p] === Ee, i = (p) => t[p] === Kr, g = (p) => t[p] === $r, C = (p) => f(p) || d(p) || i(p) || g(p), O = () => n, N = () => r, w = () => a, R = () => l, k = (p) => f(p) || i(p) || g(p) ? Ee : t[p], M = () => k(n), v = () => k(n + l);
99
+ const f = (v) => t[v] === $r && t[v + 1] === ye, d = (v) => t[v] === ye, i = (v) => t[v] === Kr, g = (v) => t[v] === Jr, N = (v) => f(v) || d(v) || i(v) || g(v), O = () => n, C = () => r, w = () => a, k = () => l, L = (v) => f(v) || i(v) || g(v) ? ye : t[v], M = () => L(n), p = () => L(n + l);
100
100
  function b() {
101
- return l = 0, C(n) && (r++, a = 0), f(n) && n++, n++, a++, t[n];
101
+ return l = 0, N(n) && (r++, a = 0), f(n) && n++, n++, a++, t[n];
102
102
  }
103
103
  function S() {
104
104
  return f(n + l) && l++, l++, t[n + l];
@@ -106,31 +106,31 @@ function zr(e) {
106
106
  function m() {
107
107
  n = 0, r = 1, a = 1, l = 0;
108
108
  }
109
- function y(p = 0) {
110
- l = p;
109
+ function I(v = 0) {
110
+ l = v;
111
111
  }
112
- function I() {
113
- const p = n + l;
114
- for (; p !== n; )
112
+ function E() {
113
+ const v = n + l;
114
+ for (; v !== n; )
115
115
  b();
116
116
  l = 0;
117
117
  }
118
118
  return {
119
119
  index: O,
120
- line: N,
120
+ line: C,
121
121
  column: w,
122
- peekOffset: R,
123
- charAt: k,
122
+ peekOffset: k,
123
+ charAt: L,
124
124
  currentChar: M,
125
- currentPeek: v,
125
+ currentPeek: p,
126
126
  next: b,
127
127
  peek: S,
128
128
  reset: m,
129
- resetPeek: y,
130
- skipToPeek: I
129
+ resetPeek: I,
130
+ skipToPeek: E
131
131
  };
132
132
  }
133
- const Ye = void 0, Qr = ".", cn = "'", qr = "tokenizer";
133
+ const Ze = void 0, Qr = ".", cn = "'", qr = "tokenizer";
134
134
  function es(e, t = {}) {
135
135
  const n = t.location !== !1, r = zr(e), a = () => r.index(), l = () => Xr(r.line(), r.column(), r.index()), f = l(), d = a(), i = {
136
136
  currentType: 13,
@@ -144,42 +144,42 @@ function es(e, t = {}) {
144
144
  braceNest: 0,
145
145
  inLinked: !1,
146
146
  text: ""
147
- }, g = () => i, { onError: C } = t;
147
+ }, g = () => i, { onError: N } = t;
148
148
  function O(o, s, c, ...h) {
149
149
  const D = g();
150
- if (s.column += c, s.offset += c, C) {
151
- const U = n ? Ft(D.startLoc, s) : null, u = Tt(o, U, {
150
+ if (s.column += c, s.offset += c, N) {
151
+ const V = n ? Ft(D.startLoc, s) : null, u = Tt(o, V, {
152
152
  domain: qr,
153
153
  args: h
154
154
  });
155
- C(u);
155
+ N(u);
156
156
  }
157
157
  }
158
- function N(o, s, c) {
158
+ function C(o, s, c) {
159
159
  o.endLoc = l(), o.currentType = s;
160
160
  const h = { type: s };
161
161
  return n && (h.loc = Ft(o.startLoc, o.endLoc)), c != null && (h.value = c), h;
162
162
  }
163
- const w = (o) => N(
163
+ const w = (o) => C(
164
164
  o,
165
165
  13
166
166
  /* TokenTypes.EOF */
167
167
  );
168
- function R(o, s) {
168
+ function k(o, s) {
169
169
  return o.currentChar() === s ? (o.next(), s) : (O(ne.EXPECTED_TOKEN, l(), 0, s), "");
170
170
  }
171
- function k(o) {
171
+ function L(o) {
172
172
  let s = "";
173
- for (; o.currentPeek() === Ve || o.currentPeek() === Ee; )
173
+ for (; o.currentPeek() === Ue || o.currentPeek() === ye; )
174
174
  s += o.currentPeek(), o.peek();
175
175
  return s;
176
176
  }
177
177
  function M(o) {
178
- const s = k(o);
178
+ const s = L(o);
179
179
  return o.skipToPeek(), s;
180
180
  }
181
- function v(o) {
182
- if (o === Ye)
181
+ function p(o) {
182
+ if (o === Ze)
183
183
  return !1;
184
184
  const s = o.charCodeAt(0);
185
185
  return s >= 97 && s <= 122 || // a-z
@@ -187,7 +187,7 @@ function es(e, t = {}) {
187
187
  s === 95;
188
188
  }
189
189
  function b(o) {
190
- if (o === Ye)
190
+ if (o === Ze)
191
191
  return !1;
192
192
  const s = o.charCodeAt(0);
193
193
  return s >= 48 && s <= 57;
@@ -196,75 +196,75 @@ function es(e, t = {}) {
196
196
  const { currentType: c } = s;
197
197
  if (c !== 2)
198
198
  return !1;
199
- k(o);
200
- const h = v(o.currentPeek());
199
+ L(o);
200
+ const h = p(o.currentPeek());
201
201
  return o.resetPeek(), h;
202
202
  }
203
203
  function m(o, s) {
204
204
  const { currentType: c } = s;
205
205
  if (c !== 2)
206
206
  return !1;
207
- k(o);
207
+ L(o);
208
208
  const h = o.currentPeek() === "-" ? o.peek() : o.currentPeek(), D = b(h);
209
209
  return o.resetPeek(), D;
210
210
  }
211
- function y(o, s) {
211
+ function I(o, s) {
212
212
  const { currentType: c } = s;
213
213
  if (c !== 2)
214
214
  return !1;
215
- k(o);
215
+ L(o);
216
216
  const h = o.currentPeek() === cn;
217
217
  return o.resetPeek(), h;
218
218
  }
219
- function I(o, s) {
219
+ function E(o, s) {
220
220
  const { currentType: c } = s;
221
221
  if (c !== 7)
222
222
  return !1;
223
- k(o);
223
+ L(o);
224
224
  const h = o.currentPeek() === ".";
225
225
  return o.resetPeek(), h;
226
226
  }
227
- function p(o, s) {
227
+ function v(o, s) {
228
228
  const { currentType: c } = s;
229
229
  if (c !== 8)
230
230
  return !1;
231
- k(o);
232
- const h = v(o.currentPeek());
231
+ L(o);
232
+ const h = p(o.currentPeek());
233
233
  return o.resetPeek(), h;
234
234
  }
235
235
  function A(o, s) {
236
236
  const { currentType: c } = s;
237
237
  if (!(c === 7 || c === 11))
238
238
  return !1;
239
- k(o);
239
+ L(o);
240
240
  const h = o.currentPeek() === ":";
241
241
  return o.resetPeek(), h;
242
242
  }
243
- function L(o, s) {
243
+ function R(o, s) {
244
244
  const { currentType: c } = s;
245
245
  if (c !== 9)
246
246
  return !1;
247
247
  const h = () => {
248
- const U = o.currentPeek();
249
- return U === "{" ? v(o.peek()) : U === "@" || U === "|" || U === ":" || U === "." || U === Ve || !U ? !1 : U === Ee ? (o.peek(), h()) : x(o, !1);
248
+ const V = o.currentPeek();
249
+ return V === "{" ? p(o.peek()) : V === "@" || V === "|" || V === ":" || V === "." || V === Ue || !V ? !1 : V === ye ? (o.peek(), h()) : x(o, !1);
250
250
  }, D = h();
251
251
  return o.resetPeek(), D;
252
252
  }
253
253
  function H(o) {
254
- k(o);
254
+ L(o);
255
255
  const s = o.currentPeek() === "|";
256
256
  return o.resetPeek(), s;
257
257
  }
258
258
  function x(o, s = !0) {
259
- const c = (D = !1, U = "") => {
259
+ const c = (D = !1, V = "") => {
260
260
  const u = o.currentPeek();
261
- return u === "{" || u === "@" || !u ? D : u === "|" ? !(U === Ve || U === Ee) : u === Ve ? (o.peek(), c(!0, Ve)) : u === Ee ? (o.peek(), c(!0, Ee)) : !0;
261
+ return u === "{" || u === "@" || !u ? D : u === "|" ? !(V === Ue || V === ye) : u === Ue ? (o.peek(), c(!0, Ue)) : u === ye ? (o.peek(), c(!0, ye)) : !0;
262
262
  }, h = c();
263
263
  return s && o.resetPeek(), h;
264
264
  }
265
265
  function _(o, s) {
266
266
  const c = o.currentChar();
267
- return c === Ye ? Ye : s(c) ? (o.next(), c) : null;
267
+ return c === Ze ? Ze : s(c) ? (o.next(), c) : null;
268
268
  }
269
269
  function T(o) {
270
270
  const s = o.charCodeAt(0);
@@ -293,21 +293,21 @@ function es(e, t = {}) {
293
293
  const s = o.charCodeAt(0);
294
294
  return s >= 48 && s <= 57;
295
295
  }
296
- function V(o) {
296
+ function U(o) {
297
297
  return _(o, W);
298
298
  }
299
- function Z(o) {
299
+ function G(o) {
300
300
  const s = o.charCodeAt(0);
301
301
  return s >= 48 && s <= 57 || // 0-9
302
302
  s >= 65 && s <= 70 || // A-F
303
303
  s >= 97 && s <= 102;
304
304
  }
305
305
  function X(o) {
306
- return _(o, Z);
306
+ return _(o, G);
307
307
  }
308
308
  function te(o) {
309
309
  let s = "", c = "";
310
- for (; s = V(o); )
310
+ for (; s = U(o); )
311
311
  c += s;
312
312
  return c;
313
313
  }
@@ -317,7 +317,7 @@ function es(e, t = {}) {
317
317
  const c = o.currentChar();
318
318
  if (c === "{" || c === "}" || c === "@" || c === "|" || !c)
319
319
  break;
320
- if (c === Ve || c === Ee)
320
+ if (c === Ue || c === ye)
321
321
  if (x(o))
322
322
  s += c, o.next();
323
323
  else {
@@ -335,23 +335,23 @@ function es(e, t = {}) {
335
335
  let s = "", c = "";
336
336
  for (; s = F(o); )
337
337
  c += s;
338
- return o.currentChar() === Ye && O(ne.UNTERMINATED_CLOSING_BRACE, l(), 0), c;
338
+ return o.currentChar() === Ze && O(ne.UNTERMINATED_CLOSING_BRACE, l(), 0), c;
339
339
  }
340
- function pe(o) {
340
+ function ve(o) {
341
341
  M(o);
342
342
  let s = "";
343
- return o.currentChar() === "-" ? (o.next(), s += `-${te(o)}`) : s += te(o), o.currentChar() === Ye && O(ne.UNTERMINATED_CLOSING_BRACE, l(), 0), s;
343
+ return o.currentChar() === "-" ? (o.next(), s += `-${te(o)}`) : s += te(o), o.currentChar() === Ze && O(ne.UNTERMINATED_CLOSING_BRACE, l(), 0), s;
344
344
  }
345
345
  function be(o) {
346
- return o !== cn && o !== Ee;
346
+ return o !== cn && o !== ye;
347
347
  }
348
348
  function ae(o) {
349
- M(o), R(o, "'");
349
+ M(o), k(o, "'");
350
350
  let s = "", c = "";
351
351
  for (; s = _(o, be); )
352
352
  s === "\\" ? c += oe(o) : c += s;
353
353
  const h = o.currentChar();
354
- return h === Ee || h === Ye ? (O(ne.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, l(), 0), h === Ee && (o.next(), R(o, "'")), c) : (R(o, "'"), c);
354
+ return h === ye || h === Ze ? (O(ne.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, l(), 0), h === ye && (o.next(), k(o, "'")), c) : (k(o, "'"), c);
355
355
  }
356
356
  function oe(o) {
357
357
  const s = o.currentChar();
@@ -360,37 +360,37 @@ function es(e, t = {}) {
360
360
  case "'":
361
361
  return o.next(), `\\${s}`;
362
362
  case "u":
363
- return Re(o, s, 4);
363
+ return ke(o, s, 4);
364
364
  case "U":
365
- return Re(o, s, 6);
365
+ return ke(o, s, 6);
366
366
  default:
367
367
  return O(ne.UNKNOWN_ESCAPE_SEQUENCE, l(), 0, s), "";
368
368
  }
369
369
  }
370
- function Re(o, s, c) {
371
- R(o, s);
370
+ function ke(o, s, c) {
371
+ k(o, s);
372
372
  let h = "";
373
373
  for (let D = 0; D < c; D++) {
374
- const U = X(o);
375
- if (!U) {
374
+ const V = X(o);
375
+ if (!V) {
376
376
  O(ne.INVALID_UNICODE_ESCAPE_SEQUENCE, l(), 0, `\\${s}${h}${o.currentChar()}`);
377
377
  break;
378
378
  }
379
- h += U;
379
+ h += V;
380
380
  }
381
381
  return `\\${s}${h}`;
382
382
  }
383
- function Y(o) {
384
- return o !== "{" && o !== "}" && o !== Ve && o !== Ee;
383
+ function Z(o) {
384
+ return o !== "{" && o !== "}" && o !== Ue && o !== ye;
385
385
  }
386
386
  function fe(o) {
387
387
  M(o);
388
388
  let s = "", c = "";
389
- for (; s = _(o, Y); )
389
+ for (; s = _(o, Z); )
390
390
  c += s;
391
391
  return c;
392
392
  }
393
- function Je(o) {
393
+ function $e(o) {
394
394
  let s = "", c = "";
395
395
  for (; s = j(o); )
396
396
  c += s;
@@ -399,13 +399,13 @@ function es(e, t = {}) {
399
399
  function Qe(o) {
400
400
  const s = (c) => {
401
401
  const h = o.currentChar();
402
- return h === "{" || h === "@" || h === "|" || h === "(" || h === ")" || !h || h === Ve ? c : (c += h, o.next(), s(c));
402
+ return h === "{" || h === "@" || h === "|" || h === "(" || h === ")" || !h || h === Ue ? c : (c += h, o.next(), s(c));
403
403
  };
404
404
  return s("");
405
405
  }
406
406
  function We(o) {
407
407
  M(o);
408
- const s = R(
408
+ const s = k(
409
409
  o,
410
410
  "|"
411
411
  /* TokenChars.Pipe */
@@ -416,14 +416,14 @@ function es(e, t = {}) {
416
416
  let c = null;
417
417
  switch (o.currentChar()) {
418
418
  case "{":
419
- return s.braceNest >= 1 && O(ne.NOT_ALLOW_NEST_PLACEHOLDER, l(), 0), o.next(), c = N(
419
+ return s.braceNest >= 1 && O(ne.NOT_ALLOW_NEST_PLACEHOLDER, l(), 0), o.next(), c = C(
420
420
  s,
421
421
  2,
422
422
  "{"
423
423
  /* TokenChars.BraceLeft */
424
424
  ), M(o), s.braceNest++, c;
425
425
  case "}":
426
- return s.braceNest > 0 && s.currentType === 2 && O(ne.EMPTY_PLACEHOLDER, l(), 0), o.next(), c = N(
426
+ return s.braceNest > 0 && s.currentType === 2 && O(ne.EMPTY_PLACEHOLDER, l(), 0), o.next(), c = C(
427
427
  s,
428
428
  3,
429
429
  "}"
@@ -432,19 +432,19 @@ function es(e, t = {}) {
432
432
  case "@":
433
433
  return s.braceNest > 0 && O(ne.UNTERMINATED_CLOSING_BRACE, l(), 0), c = Pe(o, s) || w(s), s.braceNest = 0, c;
434
434
  default: {
435
- let D = !0, U = !0, u = !0;
435
+ let D = !0, V = !0, u = !0;
436
436
  if (H(o))
437
- return s.braceNest > 0 && O(ne.UNTERMINATED_CLOSING_BRACE, l(), 0), c = N(s, 1, We(o)), s.braceNest = 0, s.inLinked = !1, c;
437
+ return s.braceNest > 0 && O(ne.UNTERMINATED_CLOSING_BRACE, l(), 0), c = C(s, 1, We(o)), s.braceNest = 0, s.inLinked = !1, c;
438
438
  if (s.braceNest > 0 && (s.currentType === 4 || s.currentType === 5 || s.currentType === 6))
439
- return O(ne.UNTERMINATED_CLOSING_BRACE, l(), 0), s.braceNest = 0, Ge(o, s);
439
+ return O(ne.UNTERMINATED_CLOSING_BRACE, l(), 0), s.braceNest = 0, Ye(o, s);
440
440
  if (D = S(o, s))
441
- return c = N(s, 4, de(o)), M(o), c;
442
- if (U = m(o, s))
443
- return c = N(s, 5, pe(o)), M(o), c;
444
- if (u = y(o, s))
445
- return c = N(s, 6, ae(o)), M(o), c;
446
- if (!D && !U && !u)
447
- return c = N(s, 12, fe(o)), O(ne.INVALID_TOKEN_IN_PLACEHOLDER, l(), 0, c.value), M(o), c;
441
+ return c = C(s, 4, de(o)), M(o), c;
442
+ if (V = m(o, s))
443
+ return c = C(s, 5, ve(o)), M(o), c;
444
+ if (u = I(o, s))
445
+ return c = C(s, 6, ae(o)), M(o), c;
446
+ if (!D && !V && !u)
447
+ return c = C(s, 12, fe(o)), O(ne.INVALID_TOKEN_IN_PLACEHOLDER, l(), 0, c.value), M(o), c;
448
448
  break;
449
449
  }
450
450
  }
@@ -454,33 +454,33 @@ function es(e, t = {}) {
454
454
  const { currentType: c } = s;
455
455
  let h = null;
456
456
  const D = o.currentChar();
457
- switch ((c === 7 || c === 8 || c === 11 || c === 9) && (D === Ee || D === Ve) && O(ne.INVALID_LINKED_FORMAT, l(), 0), D) {
457
+ switch ((c === 7 || c === 8 || c === 11 || c === 9) && (D === ye || D === Ue) && O(ne.INVALID_LINKED_FORMAT, l(), 0), D) {
458
458
  case "@":
459
- return o.next(), h = N(
459
+ return o.next(), h = C(
460
460
  s,
461
461
  7,
462
462
  "@"
463
463
  /* TokenChars.LinkedAlias */
464
464
  ), s.inLinked = !0, h;
465
465
  case ".":
466
- return M(o), o.next(), N(
466
+ return M(o), o.next(), C(
467
467
  s,
468
468
  8,
469
469
  "."
470
470
  /* TokenChars.LinkedDot */
471
471
  );
472
472
  case ":":
473
- return M(o), o.next(), N(
473
+ return M(o), o.next(), C(
474
474
  s,
475
475
  9,
476
476
  ":"
477
477
  /* TokenChars.LinkedDelimiter */
478
478
  );
479
479
  default:
480
- return H(o) ? (h = N(s, 1, We(o)), s.braceNest = 0, s.inLinked = !1, h) : I(o, s) || A(o, s) ? (M(o), Pe(o, s)) : p(o, s) ? (M(o), N(s, 11, Je(o))) : L(o, s) ? (M(o), D === "{" ? Fe(o, s) || h : N(s, 10, Qe(o))) : (c === 7 && O(ne.INVALID_LINKED_FORMAT, l(), 0), s.braceNest = 0, s.inLinked = !1, Ge(o, s));
480
+ return H(o) ? (h = C(s, 1, We(o)), s.braceNest = 0, s.inLinked = !1, h) : E(o, s) || A(o, s) ? (M(o), Pe(o, s)) : v(o, s) ? (M(o), C(s, 11, $e(o))) : R(o, s) ? (M(o), D === "{" ? Fe(o, s) || h : C(s, 10, Qe(o))) : (c === 7 && O(ne.INVALID_LINKED_FORMAT, l(), 0), s.braceNest = 0, s.inLinked = !1, Ye(o, s));
481
481
  }
482
482
  }
483
- function Ge(o, s) {
483
+ function Ye(o, s) {
484
484
  let c = {
485
485
  type: 13
486
486
  /* TokenTypes.EOF */
@@ -493,7 +493,7 @@ function es(e, t = {}) {
493
493
  case "{":
494
494
  return Fe(o, s) || w(s);
495
495
  case "}":
496
- return O(ne.UNBALANCED_CLOSING_BRACE, l(), 0), o.next(), N(
496
+ return O(ne.UNBALANCED_CLOSING_BRACE, l(), 0), o.next(), C(
497
497
  s,
498
498
  3,
499
499
  "}"
@@ -503,9 +503,9 @@ function es(e, t = {}) {
503
503
  return Pe(o, s) || w(s);
504
504
  default: {
505
505
  if (H(o))
506
- return c = N(s, 1, We(o)), s.braceNest = 0, s.inLinked = !1, c;
506
+ return c = C(s, 1, We(o)), s.braceNest = 0, s.inLinked = !1, c;
507
507
  if (x(o))
508
- return N(s, 0, Q(o));
508
+ return C(s, 0, Q(o));
509
509
  break;
510
510
  }
511
511
  }
@@ -513,11 +513,11 @@ function es(e, t = {}) {
513
513
  }
514
514
  function je() {
515
515
  const { currentType: o, offset: s, startLoc: c, endLoc: h } = i;
516
- return i.lastType = o, i.lastOffset = s, i.lastStartLoc = c, i.lastEndLoc = h, i.offset = a(), i.startLoc = l(), r.currentChar() === Ye ? N(
516
+ return i.lastType = o, i.lastOffset = s, i.lastStartLoc = c, i.lastEndLoc = h, i.offset = a(), i.startLoc = l(), r.currentChar() === Ze ? C(
517
517
  i,
518
518
  13
519
519
  /* TokenTypes.EOF */
520
- ) : Ge(r, i);
520
+ ) : Ye(r, i);
521
521
  }
522
522
  return {
523
523
  nextToken: je,
@@ -541,132 +541,132 @@ function rs(e, t, n) {
541
541
  }
542
542
  function ss(e = {}) {
543
543
  const t = e.location !== !1, { onError: n } = e;
544
- function r(v, b, S, m, ...y) {
545
- const I = v.currentPosition();
546
- if (I.offset += m, I.column += m, n) {
547
- const p = t ? Ft(S, I) : null, A = Tt(b, p, {
544
+ function r(p, b, S, m, ...I) {
545
+ const E = p.currentPosition();
546
+ if (E.offset += m, E.column += m, n) {
547
+ const v = t ? Ft(S, E) : null, A = Tt(b, v, {
548
548
  domain: ts,
549
- args: y
549
+ args: I
550
550
  });
551
551
  n(A);
552
552
  }
553
553
  }
554
- function a(v, b, S) {
555
- const m = { type: v };
554
+ function a(p, b, S) {
555
+ const m = { type: p };
556
556
  return t && (m.start = b, m.end = b, m.loc = { start: S, end: S }), m;
557
557
  }
558
- function l(v, b, S, m) {
559
- t && (v.end = b, v.loc && (v.loc.end = S));
558
+ function l(p, b, S, m) {
559
+ t && (p.end = b, p.loc && (p.loc.end = S));
560
560
  }
561
- function f(v, b) {
562
- const S = v.context(), m = a(3, S.offset, S.startLoc);
563
- return m.value = b, l(m, v.currentOffset(), v.currentPosition()), m;
561
+ function f(p, b) {
562
+ const S = p.context(), m = a(3, S.offset, S.startLoc);
563
+ return m.value = b, l(m, p.currentOffset(), p.currentPosition()), m;
564
564
  }
565
- function d(v, b) {
566
- const S = v.context(), { lastOffset: m, lastStartLoc: y } = S, I = a(5, m, y);
567
- return I.index = parseInt(b, 10), v.nextToken(), l(I, v.currentOffset(), v.currentPosition()), I;
565
+ function d(p, b) {
566
+ const S = p.context(), { lastOffset: m, lastStartLoc: I } = S, E = a(5, m, I);
567
+ return E.index = parseInt(b, 10), p.nextToken(), l(E, p.currentOffset(), p.currentPosition()), E;
568
568
  }
569
- function i(v, b) {
570
- const S = v.context(), { lastOffset: m, lastStartLoc: y } = S, I = a(4, m, y);
571
- return I.key = b, v.nextToken(), l(I, v.currentOffset(), v.currentPosition()), I;
569
+ function i(p, b) {
570
+ const S = p.context(), { lastOffset: m, lastStartLoc: I } = S, E = a(4, m, I);
571
+ return E.key = b, p.nextToken(), l(E, p.currentOffset(), p.currentPosition()), E;
572
572
  }
573
- function g(v, b) {
574
- const S = v.context(), { lastOffset: m, lastStartLoc: y } = S, I = a(9, m, y);
575
- return I.value = b.replace(ns, rs), v.nextToken(), l(I, v.currentOffset(), v.currentPosition()), I;
573
+ function g(p, b) {
574
+ const S = p.context(), { lastOffset: m, lastStartLoc: I } = S, E = a(9, m, I);
575
+ return E.value = b.replace(ns, rs), p.nextToken(), l(E, p.currentOffset(), p.currentPosition()), E;
576
576
  }
577
- function C(v) {
578
- const b = v.nextToken(), S = v.context(), { lastOffset: m, lastStartLoc: y } = S, I = a(8, m, y);
579
- return b.type !== 11 ? (r(v, ne.UNEXPECTED_EMPTY_LINKED_MODIFIER, S.lastStartLoc, 0), I.value = "", l(I, m, y), {
577
+ function N(p) {
578
+ const b = p.nextToken(), S = p.context(), { lastOffset: m, lastStartLoc: I } = S, E = a(8, m, I);
579
+ return b.type !== 11 ? (r(p, ne.UNEXPECTED_EMPTY_LINKED_MODIFIER, S.lastStartLoc, 0), E.value = "", l(E, m, I), {
580
580
  nextConsumeToken: b,
581
- node: I
582
- }) : (b.value == null && r(v, ne.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0, Me(b)), I.value = b.value || "", l(I, v.currentOffset(), v.currentPosition()), {
583
- node: I
581
+ node: E
582
+ }) : (b.value == null && r(p, ne.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0, Me(b)), E.value = b.value || "", l(E, p.currentOffset(), p.currentPosition()), {
583
+ node: E
584
584
  });
585
585
  }
586
- function O(v, b) {
587
- const S = v.context(), m = a(7, S.offset, S.startLoc);
588
- return m.value = b, l(m, v.currentOffset(), v.currentPosition()), m;
586
+ function O(p, b) {
587
+ const S = p.context(), m = a(7, S.offset, S.startLoc);
588
+ return m.value = b, l(m, p.currentOffset(), p.currentPosition()), m;
589
589
  }
590
- function N(v) {
591
- const b = v.context(), S = a(6, b.offset, b.startLoc);
592
- let m = v.nextToken();
590
+ function C(p) {
591
+ const b = p.context(), S = a(6, b.offset, b.startLoc);
592
+ let m = p.nextToken();
593
593
  if (m.type === 8) {
594
- const y = C(v);
595
- S.modifier = y.node, m = y.nextConsumeToken || v.nextToken();
594
+ const I = N(p);
595
+ S.modifier = I.node, m = I.nextConsumeToken || p.nextToken();
596
596
  }
597
- switch (m.type !== 9 && r(v, ne.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, Me(m)), m = v.nextToken(), m.type === 2 && (m = v.nextToken()), m.type) {
597
+ switch (m.type !== 9 && r(p, ne.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, Me(m)), m = p.nextToken(), m.type === 2 && (m = p.nextToken()), m.type) {
598
598
  case 10:
599
- m.value == null && r(v, ne.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, Me(m)), S.key = O(v, m.value || "");
599
+ m.value == null && r(p, ne.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, Me(m)), S.key = O(p, m.value || "");
600
600
  break;
601
601
  case 4:
602
- m.value == null && r(v, ne.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, Me(m)), S.key = i(v, m.value || "");
602
+ m.value == null && r(p, ne.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, Me(m)), S.key = i(p, m.value || "");
603
603
  break;
604
604
  case 5:
605
- m.value == null && r(v, ne.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, Me(m)), S.key = d(v, m.value || "");
605
+ m.value == null && r(p, ne.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, Me(m)), S.key = d(p, m.value || "");
606
606
  break;
607
607
  case 6:
608
- m.value == null && r(v, ne.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, Me(m)), S.key = g(v, m.value || "");
608
+ m.value == null && r(p, ne.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, Me(m)), S.key = g(p, m.value || "");
609
609
  break;
610
610
  default: {
611
- r(v, ne.UNEXPECTED_EMPTY_LINKED_KEY, b.lastStartLoc, 0);
612
- const y = v.context(), I = a(7, y.offset, y.startLoc);
613
- return I.value = "", l(I, y.offset, y.startLoc), S.key = I, l(S, y.offset, y.startLoc), {
611
+ r(p, ne.UNEXPECTED_EMPTY_LINKED_KEY, b.lastStartLoc, 0);
612
+ const I = p.context(), E = a(7, I.offset, I.startLoc);
613
+ return E.value = "", l(E, I.offset, I.startLoc), S.key = E, l(S, I.offset, I.startLoc), {
614
614
  nextConsumeToken: m,
615
615
  node: S
616
616
  };
617
617
  }
618
618
  }
619
- return l(S, v.currentOffset(), v.currentPosition()), {
619
+ return l(S, p.currentOffset(), p.currentPosition()), {
620
620
  node: S
621
621
  };
622
622
  }
623
- function w(v) {
624
- const b = v.context(), S = b.currentType === 1 ? v.currentOffset() : b.offset, m = b.currentType === 1 ? b.endLoc : b.startLoc, y = a(2, S, m);
625
- y.items = [];
626
- let I = null;
623
+ function w(p) {
624
+ const b = p.context(), S = b.currentType === 1 ? p.currentOffset() : b.offset, m = b.currentType === 1 ? b.endLoc : b.startLoc, I = a(2, S, m);
625
+ I.items = [];
626
+ let E = null;
627
627
  do {
628
- const L = I || v.nextToken();
629
- switch (I = null, L.type) {
628
+ const R = E || p.nextToken();
629
+ switch (E = null, R.type) {
630
630
  case 0:
631
- L.value == null && r(v, ne.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, Me(L)), y.items.push(f(v, L.value || ""));
631
+ R.value == null && r(p, ne.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, Me(R)), I.items.push(f(p, R.value || ""));
632
632
  break;
633
633
  case 5:
634
- L.value == null && r(v, ne.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, Me(L)), y.items.push(d(v, L.value || ""));
634
+ R.value == null && r(p, ne.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, Me(R)), I.items.push(d(p, R.value || ""));
635
635
  break;
636
636
  case 4:
637
- L.value == null && r(v, ne.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, Me(L)), y.items.push(i(v, L.value || ""));
637
+ R.value == null && r(p, ne.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, Me(R)), I.items.push(i(p, R.value || ""));
638
638
  break;
639
639
  case 6:
640
- L.value == null && r(v, ne.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, Me(L)), y.items.push(g(v, L.value || ""));
640
+ R.value == null && r(p, ne.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, Me(R)), I.items.push(g(p, R.value || ""));
641
641
  break;
642
642
  case 7: {
643
- const H = N(v);
644
- y.items.push(H.node), I = H.nextConsumeToken || null;
643
+ const H = C(p);
644
+ I.items.push(H.node), E = H.nextConsumeToken || null;
645
645
  break;
646
646
  }
647
647
  }
648
648
  } while (b.currentType !== 13 && b.currentType !== 1);
649
- const p = b.currentType === 1 ? b.lastOffset : v.currentOffset(), A = b.currentType === 1 ? b.lastEndLoc : v.currentPosition();
650
- return l(y, p, A), y;
651
- }
652
- function R(v, b, S, m) {
653
- const y = v.context();
654
- let I = m.items.length === 0;
655
- const p = a(1, b, S);
656
- p.cases = [], p.cases.push(m);
649
+ const v = b.currentType === 1 ? b.lastOffset : p.currentOffset(), A = b.currentType === 1 ? b.lastEndLoc : p.currentPosition();
650
+ return l(I, v, A), I;
651
+ }
652
+ function k(p, b, S, m) {
653
+ const I = p.context();
654
+ let E = m.items.length === 0;
655
+ const v = a(1, b, S);
656
+ v.cases = [], v.cases.push(m);
657
657
  do {
658
- const A = w(v);
659
- I || (I = A.items.length === 0), p.cases.push(A);
660
- } while (y.currentType !== 13);
661
- return I && r(v, ne.MUST_HAVE_MESSAGES_IN_PLURAL, S, 0), l(p, v.currentOffset(), v.currentPosition()), p;
658
+ const A = w(p);
659
+ E || (E = A.items.length === 0), v.cases.push(A);
660
+ } while (I.currentType !== 13);
661
+ return E && r(p, ne.MUST_HAVE_MESSAGES_IN_PLURAL, S, 0), l(v, p.currentOffset(), p.currentPosition()), v;
662
662
  }
663
- function k(v) {
664
- const b = v.context(), { offset: S, startLoc: m } = b, y = w(v);
665
- return b.currentType === 13 ? y : R(v, S, m, y);
663
+ function L(p) {
664
+ const b = p.context(), { offset: S, startLoc: m } = b, I = w(p);
665
+ return b.currentType === 13 ? I : k(p, S, m, I);
666
666
  }
667
- function M(v) {
668
- const b = es(v, ge({}, e)), S = b.context(), m = a(0, S.offset, S.startLoc);
669
- return t && m.loc && (m.loc.source = v), m.body = k(b), e.onCacheKey && (m.cacheKey = e.onCacheKey(v)), S.currentType !== 13 && r(b, ne.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0, v[S.offset] || ""), l(m, b.currentOffset(), b.currentPosition()), m;
667
+ function M(p) {
668
+ const b = es(p, ge({}, e)), S = b.context(), m = a(0, S.offset, S.startLoc);
669
+ return t && m.loc && (m.loc.source = p), m.body = L(b), e.onCacheKey && (m.cacheKey = e.onCacheKey(p)), S.currentType !== 13 && r(b, ne.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0, p[S.offset] || ""), l(m, b.currentOffset(), b.currentPosition()), m;
670
670
  }
671
671
  return { parse: M };
672
672
  }
@@ -685,9 +685,9 @@ function as(e, t = {}) {
685
685
  }
686
686
  function un(e, t) {
687
687
  for (let n = 0; n < e.length; n++)
688
- $t(e[n], t);
688
+ Jt(e[n], t);
689
689
  }
690
- function $t(e, t) {
690
+ function Jt(e, t) {
691
691
  switch (e.type) {
692
692
  case 1:
693
693
  un(e.cases, t), t.helper(
@@ -699,7 +699,7 @@ function $t(e, t) {
699
699
  un(e.items, t);
700
700
  break;
701
701
  case 6: {
702
- $t(e.key, t), t.helper(
702
+ Jt(e.key, t), t.helper(
703
703
  "linked"
704
704
  /* HelperNameMap.LINKED */
705
705
  ), t.helper(
@@ -733,7 +733,7 @@ function ls(e, t = {}) {
733
733
  n.helper(
734
734
  "normalize"
735
735
  /* HelperNameMap.NORMALIZE */
736
- ), e.body && $t(e.body, n);
736
+ ), e.body && Jt(e.body, n);
737
737
  const r = n.context();
738
738
  e.helpers = Array.from(r.helpers);
739
739
  }
@@ -754,7 +754,7 @@ function mn(e) {
754
754
  t.push(r.value);
755
755
  }
756
756
  if (t.length === e.items.length) {
757
- e.static = Jt(t);
757
+ e.static = $t(t);
758
758
  for (let n = 0; n < e.items.length; n++) {
759
759
  const r = e.items[n];
760
760
  (r.type === 3 || r.type === 9) && delete r.value;
@@ -823,31 +823,31 @@ function is(e, t) {
823
823
  };
824
824
  l && e.loc && (f.source = e.loc.source);
825
825
  const d = () => f;
826
- function i(k, M) {
827
- f.code += k;
826
+ function i(L, M) {
827
+ f.code += L;
828
828
  }
829
- function g(k, M = !0) {
830
- const v = M ? r : "";
831
- i(a ? v + " ".repeat(k) : v);
829
+ function g(L, M = !0) {
830
+ const p = M ? r : "";
831
+ i(a ? p + " ".repeat(L) : p);
832
832
  }
833
- function C(k = !0) {
833
+ function N(L = !0) {
834
834
  const M = ++f.indentLevel;
835
- k && g(M);
835
+ L && g(M);
836
836
  }
837
- function O(k = !0) {
837
+ function O(L = !0) {
838
838
  const M = --f.indentLevel;
839
- k && g(M);
839
+ L && g(M);
840
840
  }
841
- function N() {
841
+ function C() {
842
842
  g(f.indentLevel);
843
843
  }
844
844
  return {
845
845
  context: d,
846
846
  push: i,
847
- indent: C,
847
+ indent: N,
848
848
  deindent: O,
849
- newline: N,
850
- helper: (k) => `_${k}`,
849
+ newline: C,
850
+ helper: (L) => `_${L}`,
851
851
  needIndent: () => f.needIndent
852
852
  };
853
853
  }
@@ -933,7 +933,7 @@ function at(e, t) {
933
933
  }
934
934
  }
935
935
  const fs = (e, t = {}) => {
936
- const n = G(t.mode) ? t.mode : "normal", r = G(t.filename) ? t.filename : "message.intl";
936
+ const n = Y(t.mode) ? t.mode : "normal", r = Y(t.filename) ? t.filename : "message.intl";
937
937
  t.sourceMap;
938
938
  const a = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
939
939
  `, l = t.needIndent ? t.needIndent : n !== "arrow", f = e.helpers || [], d = is(e, {
@@ -941,7 +941,7 @@ const fs = (e, t = {}) => {
941
941
  breakLineCode: a,
942
942
  needIndent: l
943
943
  });
944
- d.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), d.indent(l), f.length > 0 && (d.push(`const { ${Jt(f.map((C) => `${C}: _${C}`), ", ")} } = ctx`), d.newline()), d.push("return "), at(d, e), d.deindent(l), d.push("}"), delete e.helpers;
944
+ d.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), d.indent(l), f.length > 0 && (d.push(`const { ${$t(f.map((N) => `${N}: _${N}`), ", ")} } = ctx`), d.newline()), d.push("return "), at(d, e), d.deindent(l), d.push("}"), delete e.helpers;
945
945
  const { code: i, map: g } = d.context();
946
946
  return {
947
947
  ast: e,
@@ -954,11 +954,11 @@ function _s(e, t = {}) {
954
954
  const n = ge({}, t), r = !!n.jit, a = !!n.minify, l = n.optimize == null ? !0 : n.optimize, d = ss(n).parse(e);
955
955
  return r ? (l && os(d), a && et(d), { ast: d, code: "" }) : (ls(d, n), fs(d, n));
956
956
  }
957
- var vs = { env: { NODE_ENV: "production" } };
958
- function ps() {
959
- typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && ($e().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && ($e().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
957
+ var ps = { env: { NODE_ENV: "production" } };
958
+ function vs() {
959
+ typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Je().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Je().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
960
960
  }
961
- function kt(e) {
961
+ function Lt(e) {
962
962
  return (n) => bs(n, e);
963
963
  }
964
964
  function bs(e, t) {
@@ -969,7 +969,7 @@ function bs(e, t) {
969
969
  /* NodeTypes.Resource */
970
970
  );
971
971
  if (Kt(n) === 1) {
972
- const l = Es(n);
972
+ const l = ys(n);
973
973
  return e.plural(l.reduce((f, d) => [
974
974
  ...f,
975
975
  dn(e, d)
@@ -981,12 +981,12 @@ const hs = ["b", "body"];
981
981
  function gs(e) {
982
982
  return Be(e, hs);
983
983
  }
984
- const ys = ["c", "cases"];
985
- function Es(e) {
986
- return Be(e, ys, []);
984
+ const Is = ["c", "cases"];
985
+ function ys(e) {
986
+ return Be(e, Is, []);
987
987
  }
988
988
  function dn(e, t) {
989
- const n = Cs(t);
989
+ const n = Ns(t);
990
990
  if (n != null)
991
991
  return e.type === "text" ? n : e.normalize([n]);
992
992
  {
@@ -994,13 +994,13 @@ function dn(e, t) {
994
994
  return e.normalize(r);
995
995
  }
996
996
  }
997
- const Is = ["s", "static"];
998
- function Cs(e) {
999
- return Be(e, Is);
997
+ const Es = ["s", "static"];
998
+ function Ns(e) {
999
+ return Be(e, Es);
1000
1000
  }
1001
- const Ns = ["i", "items"];
1001
+ const Cs = ["i", "items"];
1002
1002
  function Ts(e) {
1003
- return Be(e, Ns, []);
1003
+ return Be(e, Cs, []);
1004
1004
  }
1005
1005
  function Pt(e, t) {
1006
1006
  const n = Kt(t);
@@ -1011,22 +1011,22 @@ function Pt(e, t) {
1011
1011
  return _t(t, n);
1012
1012
  case 4: {
1013
1013
  const r = t;
1014
- if (ke(r, "k") && r.k)
1014
+ if (Le(r, "k") && r.k)
1015
1015
  return e.interpolate(e.named(r.k));
1016
- if (ke(r, "key") && r.key)
1016
+ if (Le(r, "key") && r.key)
1017
1017
  return e.interpolate(e.named(r.key));
1018
1018
  throw ct(n);
1019
1019
  }
1020
1020
  case 5: {
1021
1021
  const r = t;
1022
- if (ke(r, "i") && he(r.i))
1022
+ if (Le(r, "i") && he(r.i))
1023
1023
  return e.interpolate(e.list(r.i));
1024
- if (ke(r, "index") && he(r.index))
1024
+ if (Le(r, "index") && he(r.index))
1025
1025
  return e.interpolate(e.list(r.index));
1026
1026
  throw ct(n);
1027
1027
  }
1028
1028
  case 6: {
1029
- const r = t, a = ks(r), l = Rs(r);
1029
+ const r = t, a = Ls(r), l = ks(r);
1030
1030
  return e.linked(Pt(e, l), a ? Pt(e, a) : void 0, e.type);
1031
1031
  }
1032
1032
  case 7:
@@ -1048,12 +1048,12 @@ function _t(e, t) {
1048
1048
  return n;
1049
1049
  throw ct(t);
1050
1050
  }
1051
- const Ls = ["m", "modifier"];
1052
- function ks(e) {
1053
- return Be(e, Ls);
1051
+ const Rs = ["m", "modifier"];
1052
+ function Ls(e) {
1053
+ return Be(e, Rs);
1054
1054
  }
1055
1055
  const As = ["k", "key"];
1056
- function Rs(e) {
1056
+ function ks(e) {
1057
1057
  const t = Be(e, As);
1058
1058
  if (t)
1059
1059
  return t;
@@ -1065,7 +1065,7 @@ function Rs(e) {
1065
1065
  function Be(e, t, n) {
1066
1066
  for (let r = 0; r < t.length; r++) {
1067
1067
  const a = t[r];
1068
- if (ke(e, a) && e[a] != null)
1068
+ if (Le(e, a) && e[a] != null)
1069
1069
  return e[a];
1070
1070
  }
1071
1071
  return n;
@@ -1074,9 +1074,9 @@ function ct(e) {
1074
1074
  return new Error(`unhandled node type: ${e}`);
1075
1075
  }
1076
1076
  const Ms = (e) => e;
1077
- let vt = se();
1077
+ let pt = se();
1078
1078
  function lt(e) {
1079
- return ee(e) && Kt(e) === 0 && (ke(e, "b") || ke(e, "body"));
1079
+ return ee(e) && Kt(e) === 0 && (Le(e, "b") || Le(e, "body"));
1080
1080
  }
1081
1081
  function ws(e, t = {}) {
1082
1082
  let n = !1;
@@ -1087,24 +1087,24 @@ function ws(e, t = {}) {
1087
1087
  }
1088
1088
  // @__NO_SIDE_EFFECTS__
1089
1089
  function Ds(e, t) {
1090
- if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && G(e)) {
1090
+ if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && Y(e)) {
1091
1091
  _e(t.warnHtmlMessage) && t.warnHtmlMessage;
1092
- const r = (t.onCacheKey || Ms)(e), a = vt[r];
1092
+ const r = (t.onCacheKey || Ms)(e), a = pt[r];
1093
1093
  if (a)
1094
1094
  return a;
1095
1095
  const { ast: l, detectError: f } = ws(e, {
1096
1096
  ...t,
1097
- location: vs.env.NODE_ENV !== "production",
1097
+ location: ps.env.NODE_ENV !== "production",
1098
1098
  jit: !0
1099
- }), d = kt(l);
1100
- return f ? d : vt[r] = d;
1099
+ }), d = Lt(l);
1100
+ return f ? d : pt[r] = d;
1101
1101
  } else {
1102
1102
  const n = e.cacheKey;
1103
1103
  if (n) {
1104
- const r = vt[n];
1105
- return r || (vt[n] = kt(e));
1104
+ const r = pt[n];
1105
+ return r || (pt[n] = Lt(e));
1106
1106
  } else
1107
- return kt(e);
1107
+ return Lt(e);
1108
1108
  }
1109
1109
  }
1110
1110
  let ut = null;
@@ -1119,11 +1119,11 @@ function Ps(e, t, n) {
1119
1119
  meta: n
1120
1120
  });
1121
1121
  }
1122
- const js = /* @__PURE__ */ Vs("function:translate");
1123
- function Vs(e) {
1122
+ const js = /* @__PURE__ */ Us("function:translate");
1123
+ function Us(e) {
1124
1124
  return (t) => ut && ut.emit(e, t);
1125
1125
  }
1126
- const Ue = {
1126
+ const Ve = {
1127
1127
  INVALID_ARGUMENT: Br,
1128
1128
  // 17
1129
1129
  INVALID_DATE_ARGUMENT: 18,
@@ -1131,7 +1131,7 @@ const Ue = {
1131
1131
  NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
1132
1132
  NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
1133
1133
  NOT_SUPPORT_LOCALE_TYPE: 23
1134
- }, Us = 24;
1134
+ }, Vs = 24;
1135
1135
  function xe(e) {
1136
1136
  return Tt(e, null, void 0);
1137
1137
  }
@@ -1140,38 +1140,38 @@ function zt(e, t) {
1140
1140
  }
1141
1141
  let At;
1142
1142
  function fn(e) {
1143
- if (G(e))
1143
+ if (Y(e))
1144
1144
  return e;
1145
1145
  if (ue(e)) {
1146
1146
  if (e.resolvedOnce && At != null)
1147
1147
  return At;
1148
1148
  if (e.constructor.name === "Function") {
1149
1149
  const t = e();
1150
- if (Gr(t))
1151
- throw xe(Ue.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
1150
+ if (Yr(t))
1151
+ throw xe(Ve.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
1152
1152
  return At = t;
1153
1153
  } else
1154
- throw xe(Ue.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
1154
+ throw xe(Ve.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
1155
1155
  } else
1156
- throw xe(Ue.NOT_SUPPORT_LOCALE_TYPE);
1156
+ throw xe(Ve.NOT_SUPPORT_LOCALE_TYPE);
1157
1157
  }
1158
1158
  function xs(e, t, n) {
1159
1159
  return [.../* @__PURE__ */ new Set([
1160
1160
  n,
1161
- ...ve(t) ? t : ee(t) ? Object.keys(t) : G(t) ? [t] : [n]
1161
+ ...pe(t) ? t : ee(t) ? Object.keys(t) : Y(t) ? [t] : [n]
1162
1162
  ])];
1163
1163
  }
1164
- function Jn(e, t, n) {
1165
- const r = G(n) ? n : Ct, a = e;
1164
+ function $n(e, t, n) {
1165
+ const r = Y(n) ? n : Nt, a = e;
1166
1166
  a.__localeChainCache || (a.__localeChainCache = /* @__PURE__ */ new Map());
1167
1167
  let l = a.__localeChainCache.get(r);
1168
1168
  if (!l) {
1169
1169
  l = [];
1170
1170
  let f = [n];
1171
- for (; ve(f); )
1171
+ for (; pe(f); )
1172
1172
  f = _n(l, f, t);
1173
- const d = ve(t) || !q(t) ? t : t.default ? t.default : null;
1174
- f = G(d) ? [d] : d, ve(f) && _n(l, f, !1), a.__localeChainCache.set(r, l);
1173
+ const d = pe(t) || !q(t) ? t : t.default ? t.default : null;
1174
+ f = Y(d) ? [d] : d, pe(f) && _n(l, f, !1), a.__localeChainCache.set(r, l);
1175
1175
  }
1176
1176
  return l;
1177
1177
  }
@@ -1179,7 +1179,7 @@ function _n(e, t, n) {
1179
1179
  let r = !0;
1180
1180
  for (let a = 0; a < t.length && _e(r); a++) {
1181
1181
  const l = t[a];
1182
- G(l) && (r = Ws(e, t[a], n));
1182
+ Y(l) && (r = Ws(e, t[a], n));
1183
1183
  }
1184
1184
  return r;
1185
1185
  }
@@ -1188,16 +1188,16 @@ function Ws(e, t, n) {
1188
1188
  const a = t.split("-");
1189
1189
  do {
1190
1190
  const l = a.join("-");
1191
- r = Gs(e, l, n), a.splice(-1, 1);
1191
+ r = Ys(e, l, n), a.splice(-1, 1);
1192
1192
  } while (a.length && r === !0);
1193
1193
  return r;
1194
1194
  }
1195
- function Gs(e, t, n) {
1195
+ function Ys(e, t, n) {
1196
1196
  let r = !1;
1197
1197
  if (!e.includes(t) && (r = !0, t)) {
1198
1198
  r = t[t.length - 1] !== "!";
1199
1199
  const a = t.replace(/!/g, "");
1200
- e.push(a), (ve(n) || q(n)) && n[a] && (r = n[a]);
1200
+ e.push(a), (pe(n) || q(n)) && n[a] && (r = n[a]);
1201
1201
  }
1202
1202
  return r;
1203
1203
  }
@@ -1362,9 +1362,9 @@ He[
1362
1362
  /* Actions.APPEND */
1363
1363
  ]
1364
1364
  };
1365
- const Zs = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1366
- function Ys(e) {
1367
- return Zs.test(e);
1365
+ const Gs = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1366
+ function Zs(e) {
1367
+ return Gs.test(e);
1368
1368
  }
1369
1369
  function Xs(e) {
1370
1370
  const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
@@ -1397,73 +1397,73 @@ function Bs(e) {
1397
1397
  }
1398
1398
  function Hs(e) {
1399
1399
  const t = e.trim();
1400
- return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Ys(t) ? Xs(t) : "*" + t;
1400
+ return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Zs(t) ? Xs(t) : "*" + t;
1401
1401
  }
1402
- function Js(e) {
1402
+ function $s(e) {
1403
1403
  const t = [];
1404
- let n = -1, r = 0, a = 0, l, f, d, i, g, C, O;
1405
- const N = [];
1406
- N[
1404
+ let n = -1, r = 0, a = 0, l, f, d, i, g, N, O;
1405
+ const C = [];
1406
+ C[
1407
1407
  0
1408
1408
  /* Actions.APPEND */
1409
1409
  ] = () => {
1410
1410
  f === void 0 ? f = d : f += d;
1411
- }, N[
1411
+ }, C[
1412
1412
  1
1413
1413
  /* Actions.PUSH */
1414
1414
  ] = () => {
1415
1415
  f !== void 0 && (t.push(f), f = void 0);
1416
- }, N[
1416
+ }, C[
1417
1417
  2
1418
1418
  /* Actions.INC_SUB_PATH_DEPTH */
1419
1419
  ] = () => {
1420
- N[
1420
+ C[
1421
1421
  0
1422
1422
  /* Actions.APPEND */
1423
1423
  ](), a++;
1424
- }, N[
1424
+ }, C[
1425
1425
  3
1426
1426
  /* Actions.PUSH_SUB_PATH */
1427
1427
  ] = () => {
1428
1428
  if (a > 0)
1429
- a--, r = 4, N[
1429
+ a--, r = 4, C[
1430
1430
  0
1431
1431
  /* Actions.APPEND */
1432
1432
  ]();
1433
1433
  else {
1434
1434
  if (a = 0, f === void 0 || (f = Hs(f), f === !1))
1435
1435
  return !1;
1436
- N[
1436
+ C[
1437
1437
  1
1438
1438
  /* Actions.PUSH */
1439
1439
  ]();
1440
1440
  }
1441
1441
  };
1442
1442
  function w() {
1443
- const R = e[n + 1];
1444
- if (r === 5 && R === "'" || r === 6 && R === '"')
1445
- return n++, d = "\\" + R, N[
1443
+ const k = e[n + 1];
1444
+ if (r === 5 && k === "'" || r === 6 && k === '"')
1445
+ return n++, d = "\\" + k, C[
1446
1446
  0
1447
1447
  /* Actions.APPEND */
1448
1448
  ](), !0;
1449
1449
  }
1450
1450
  for (; r !== null; )
1451
1451
  if (n++, l = e[n], !(l === "\\" && w())) {
1452
- if (i = Bs(l), O = He[r], g = O[i] || O.l || 8, g === 8 || (r = g[0], g[1] !== void 0 && (C = N[g[1]], C && (d = l, C() === !1))))
1452
+ if (i = Bs(l), O = He[r], g = O[i] || O.l || 8, g === 8 || (r = g[0], g[1] !== void 0 && (N = C[g[1]], N && (d = l, N() === !1))))
1453
1453
  return;
1454
1454
  if (r === 7)
1455
1455
  return t;
1456
1456
  }
1457
1457
  }
1458
- const vn = /* @__PURE__ */ new Map();
1459
- function $s(e, t) {
1458
+ const pn = /* @__PURE__ */ new Map();
1459
+ function Js(e, t) {
1460
1460
  return ee(e) ? e[t] : null;
1461
1461
  }
1462
1462
  function Ks(e, t) {
1463
1463
  if (!ee(e))
1464
1464
  return null;
1465
- let n = vn.get(t);
1466
- if (n || (n = Js(t), n && vn.set(t, n)), !n)
1465
+ let n = pn.get(t);
1466
+ if (n || (n = $s(t), n && pn.set(t, n)), !n)
1467
1467
  return null;
1468
1468
  const r = n.length;
1469
1469
  let a = e, l = 0;
@@ -1475,17 +1475,17 @@ function Ks(e, t) {
1475
1475
  }
1476
1476
  return a;
1477
1477
  }
1478
- const zs = "10.0.5", Ot = -1, Ct = "en-US", pn = "", bn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1478
+ const zs = "10.0.5", Ot = -1, Nt = "en-US", vn = "", bn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1479
1479
  function Qs() {
1480
1480
  return {
1481
- upper: (e, t) => t === "text" && G(e) ? e.toUpperCase() : t === "vnode" && ee(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1482
- lower: (e, t) => t === "text" && G(e) ? e.toLowerCase() : t === "vnode" && ee(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1483
- capitalize: (e, t) => t === "text" && G(e) ? bn(e) : t === "vnode" && ee(e) && "__v_isVNode" in e ? bn(e.children) : e
1481
+ upper: (e, t) => t === "text" && Y(e) ? e.toUpperCase() : t === "vnode" && ee(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1482
+ lower: (e, t) => t === "text" && Y(e) ? e.toLowerCase() : t === "vnode" && ee(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1483
+ capitalize: (e, t) => t === "text" && Y(e) ? bn(e) : t === "vnode" && ee(e) && "__v_isVNode" in e ? bn(e.children) : e
1484
1484
  };
1485
1485
  }
1486
- let $n;
1486
+ let Jn;
1487
1487
  function qs(e) {
1488
- $n = e;
1488
+ Jn = e;
1489
1489
  }
1490
1490
  let Kn;
1491
1491
  function ea(e) {
@@ -1505,7 +1505,7 @@ const hn = (e) => {
1505
1505
  }, sa = () => qn;
1506
1506
  let gn = 0;
1507
1507
  function aa(e = {}) {
1508
- const t = ue(e.onWarn) ? e.onWarn : Yr, n = G(e.version) ? e.version : zs, r = G(e.locale) || ue(e.locale) ? e.locale : Ct, a = ue(r) ? Ct : r, l = ve(e.fallbackLocale) || q(e.fallbackLocale) || G(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, f = q(e.messages) ? e.messages : Rt(a), d = q(e.datetimeFormats) ? e.datetimeFormats : Rt(a), i = q(e.numberFormats) ? e.numberFormats : Rt(a), g = ge(se(), e.modifiers, Qs()), C = e.pluralRules || se(), O = ue(e.missing) ? e.missing : null, N = _e(e.missingWarn) || It(e.missingWarn) ? e.missingWarn : !0, w = _e(e.fallbackWarn) || It(e.fallbackWarn) ? e.fallbackWarn : !0, R = !!e.fallbackFormat, k = !!e.unresolving, M = ue(e.postTranslation) ? e.postTranslation : null, v = q(e.processor) ? e.processor : null, b = _e(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, S = !!e.escapeParameter, m = ue(e.messageCompiler) ? e.messageCompiler : $n, y = ue(e.messageResolver) ? e.messageResolver : Kn || $s, I = ue(e.localeFallbacker) ? e.localeFallbacker : zn || xs, p = ee(e.fallbackContext) ? e.fallbackContext : void 0, A = e, L = ee(A.__datetimeFormatters) ? A.__datetimeFormatters : /* @__PURE__ */ new Map(), H = ee(A.__numberFormatters) ? A.__numberFormatters : /* @__PURE__ */ new Map(), x = ee(A.__meta) ? A.__meta : {};
1508
+ const t = ue(e.onWarn) ? e.onWarn : Zr, n = Y(e.version) ? e.version : zs, r = Y(e.locale) || ue(e.locale) ? e.locale : Nt, a = ue(r) ? Nt : r, l = pe(e.fallbackLocale) || q(e.fallbackLocale) || Y(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, f = q(e.messages) ? e.messages : kt(a), d = q(e.datetimeFormats) ? e.datetimeFormats : kt(a), i = q(e.numberFormats) ? e.numberFormats : kt(a), g = ge(se(), e.modifiers, Qs()), N = e.pluralRules || se(), O = ue(e.missing) ? e.missing : null, C = _e(e.missingWarn) || Et(e.missingWarn) ? e.missingWarn : !0, w = _e(e.fallbackWarn) || Et(e.fallbackWarn) ? e.fallbackWarn : !0, k = !!e.fallbackFormat, L = !!e.unresolving, M = ue(e.postTranslation) ? e.postTranslation : null, p = q(e.processor) ? e.processor : null, b = _e(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, S = !!e.escapeParameter, m = ue(e.messageCompiler) ? e.messageCompiler : Jn, I = ue(e.messageResolver) ? e.messageResolver : Kn || Js, E = ue(e.localeFallbacker) ? e.localeFallbacker : zn || xs, v = ee(e.fallbackContext) ? e.fallbackContext : void 0, A = e, R = ee(A.__datetimeFormatters) ? A.__datetimeFormatters : /* @__PURE__ */ new Map(), H = ee(A.__numberFormatters) ? A.__numberFormatters : /* @__PURE__ */ new Map(), x = ee(A.__meta) ? A.__meta : {};
1509
1509
  gn++;
1510
1510
  const _ = {
1511
1511
  version: n,
@@ -1514,31 +1514,31 @@ function aa(e = {}) {
1514
1514
  fallbackLocale: l,
1515
1515
  messages: f,
1516
1516
  modifiers: g,
1517
- pluralRules: C,
1517
+ pluralRules: N,
1518
1518
  missing: O,
1519
- missingWarn: N,
1519
+ missingWarn: C,
1520
1520
  fallbackWarn: w,
1521
- fallbackFormat: R,
1522
- unresolving: k,
1521
+ fallbackFormat: k,
1522
+ unresolving: L,
1523
1523
  postTranslation: M,
1524
- processor: v,
1524
+ processor: p,
1525
1525
  warnHtmlMessage: b,
1526
1526
  escapeParameter: S,
1527
1527
  messageCompiler: m,
1528
- messageResolver: y,
1529
- localeFallbacker: I,
1530
- fallbackContext: p,
1528
+ messageResolver: I,
1529
+ localeFallbacker: E,
1530
+ fallbackContext: v,
1531
1531
  onWarn: t,
1532
1532
  __meta: x
1533
1533
  };
1534
- return _.datetimeFormats = d, _.numberFormats = i, _.__datetimeFormatters = L, _.__numberFormatters = H, __INTLIFY_PROD_DEVTOOLS__ && Ps(_, n, x), _;
1534
+ return _.datetimeFormats = d, _.numberFormats = i, _.__datetimeFormatters = R, _.__numberFormatters = H, __INTLIFY_PROD_DEVTOOLS__ && Ps(_, n, x), _;
1535
1535
  }
1536
- const Rt = (e) => ({ [e]: se() });
1536
+ const kt = (e) => ({ [e]: se() });
1537
1537
  function Qt(e, t, n, r, a) {
1538
1538
  const { missing: l, onWarn: f } = e;
1539
1539
  if (l !== null) {
1540
1540
  const d = l(e, n, t, a);
1541
- return G(d) ? d : t;
1541
+ return Y(d) ? d : t;
1542
1542
  } else
1543
1543
  return t;
1544
1544
  }
@@ -1558,27 +1558,27 @@ function oa(e, t) {
1558
1558
  return !0;
1559
1559
  return !1;
1560
1560
  }
1561
- function yn(e, ...t) {
1562
- const { datetimeFormats: n, unresolving: r, fallbackLocale: a, onWarn: l, localeFallbacker: f } = e, { __datetimeFormatters: d } = e, [i, g, C, O] = jt(...t), N = _e(C.missingWarn) ? C.missingWarn : e.missingWarn;
1563
- _e(C.fallbackWarn) ? C.fallbackWarn : e.fallbackWarn;
1564
- const w = !!C.part, R = zt(e, C), k = f(
1561
+ function In(e, ...t) {
1562
+ const { datetimeFormats: n, unresolving: r, fallbackLocale: a, onWarn: l, localeFallbacker: f } = e, { __datetimeFormatters: d } = e, [i, g, N, O] = jt(...t), C = _e(N.missingWarn) ? N.missingWarn : e.missingWarn;
1563
+ _e(N.fallbackWarn) ? N.fallbackWarn : e.fallbackWarn;
1564
+ const w = !!N.part, k = zt(e, N), L = f(
1565
1565
  e,
1566
1566
  // eslint-disable-line @typescript-eslint/no-explicit-any
1567
1567
  a,
1568
- R
1568
+ k
1569
1569
  );
1570
- if (!G(i) || i === "")
1571
- return new Intl.DateTimeFormat(R, O).format(g);
1572
- let M = {}, v, b = null;
1570
+ if (!Y(i) || i === "")
1571
+ return new Intl.DateTimeFormat(k, O).format(g);
1572
+ let M = {}, p, b = null;
1573
1573
  const S = "datetime format";
1574
- for (let I = 0; I < k.length && (v = k[I], M = n[v] || {}, b = M[i], !q(b)); I++)
1575
- Qt(e, i, v, N, S);
1576
- if (!q(b) || !G(v))
1574
+ for (let E = 0; E < L.length && (p = L[E], M = n[p] || {}, b = M[i], !q(b)); E++)
1575
+ Qt(e, i, p, C, S);
1576
+ if (!q(b) || !Y(p))
1577
1577
  return r ? Ot : i;
1578
- let m = `${v}__${i}`;
1579
- Nt(O) || (m = `${m}__${JSON.stringify(O)}`);
1580
- let y = d.get(m);
1581
- return y || (y = new Intl.DateTimeFormat(v, ge({}, b, O)), d.set(m, y)), w ? y.formatToParts(g) : y.format(g);
1578
+ let m = `${p}__${i}`;
1579
+ Ct(O) || (m = `${m}__${JSON.stringify(O)}`);
1580
+ let I = d.get(m);
1581
+ return I || (I = new Intl.DateTimeFormat(p, ge({}, b, O)), d.set(m, I)), w ? I.formatToParts(g) : I.format(g);
1582
1582
  }
1583
1583
  const er = [
1584
1584
  "localeMatcher",
@@ -1605,57 +1605,57 @@ const er = [
1605
1605
  function jt(...e) {
1606
1606
  const [t, n, r, a] = e, l = se();
1607
1607
  let f = se(), d;
1608
- if (G(t)) {
1608
+ if (Y(t)) {
1609
1609
  const i = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
1610
1610
  if (!i)
1611
- throw xe(Ue.INVALID_ISO_DATE_ARGUMENT);
1611
+ throw xe(Ve.INVALID_ISO_DATE_ARGUMENT);
1612
1612
  const g = i[3] ? i[3].trim().startsWith("T") ? `${i[1].trim()}${i[3].trim()}` : `${i[1].trim()}T${i[3].trim()}` : i[1].trim();
1613
1613
  d = new Date(g);
1614
1614
  try {
1615
1615
  d.toISOString();
1616
1616
  } catch {
1617
- throw xe(Ue.INVALID_ISO_DATE_ARGUMENT);
1617
+ throw xe(Ve.INVALID_ISO_DATE_ARGUMENT);
1618
1618
  }
1619
- } else if (Ur(t)) {
1619
+ } else if (Vr(t)) {
1620
1620
  if (isNaN(t.getTime()))
1621
- throw xe(Ue.INVALID_DATE_ARGUMENT);
1621
+ throw xe(Ve.INVALID_DATE_ARGUMENT);
1622
1622
  d = t;
1623
1623
  } else if (he(t))
1624
1624
  d = t;
1625
1625
  else
1626
- throw xe(Ue.INVALID_ARGUMENT);
1627
- return G(n) ? l.key = n : q(n) && Object.keys(n).forEach((i) => {
1626
+ throw xe(Ve.INVALID_ARGUMENT);
1627
+ return Y(n) ? l.key = n : q(n) && Object.keys(n).forEach((i) => {
1628
1628
  er.includes(i) ? f[i] = n[i] : l[i] = n[i];
1629
- }), G(r) ? l.locale = r : q(r) && (f = r), q(a) && (f = a), [l.key || "", d, l, f];
1629
+ }), Y(r) ? l.locale = r : q(r) && (f = r), q(a) && (f = a), [l.key || "", d, l, f];
1630
1630
  }
1631
- function En(e, t, n) {
1631
+ function yn(e, t, n) {
1632
1632
  const r = e;
1633
1633
  for (const a in n) {
1634
1634
  const l = `${t}__${a}`;
1635
1635
  r.__datetimeFormatters.has(l) && r.__datetimeFormatters.delete(l);
1636
1636
  }
1637
1637
  }
1638
- function In(e, ...t) {
1639
- const { numberFormats: n, unresolving: r, fallbackLocale: a, onWarn: l, localeFallbacker: f } = e, { __numberFormatters: d } = e, [i, g, C, O] = Vt(...t), N = _e(C.missingWarn) ? C.missingWarn : e.missingWarn;
1640
- _e(C.fallbackWarn) ? C.fallbackWarn : e.fallbackWarn;
1641
- const w = !!C.part, R = zt(e, C), k = f(
1638
+ function En(e, ...t) {
1639
+ const { numberFormats: n, unresolving: r, fallbackLocale: a, onWarn: l, localeFallbacker: f } = e, { __numberFormatters: d } = e, [i, g, N, O] = Ut(...t), C = _e(N.missingWarn) ? N.missingWarn : e.missingWarn;
1640
+ _e(N.fallbackWarn) ? N.fallbackWarn : e.fallbackWarn;
1641
+ const w = !!N.part, k = zt(e, N), L = f(
1642
1642
  e,
1643
1643
  // eslint-disable-line @typescript-eslint/no-explicit-any
1644
1644
  a,
1645
- R
1645
+ k
1646
1646
  );
1647
- if (!G(i) || i === "")
1648
- return new Intl.NumberFormat(R, O).format(g);
1649
- let M = {}, v, b = null;
1647
+ if (!Y(i) || i === "")
1648
+ return new Intl.NumberFormat(k, O).format(g);
1649
+ let M = {}, p, b = null;
1650
1650
  const S = "number format";
1651
- for (let I = 0; I < k.length && (v = k[I], M = n[v] || {}, b = M[i], !q(b)); I++)
1652
- Qt(e, i, v, N, S);
1653
- if (!q(b) || !G(v))
1651
+ for (let E = 0; E < L.length && (p = L[E], M = n[p] || {}, b = M[i], !q(b)); E++)
1652
+ Qt(e, i, p, C, S);
1653
+ if (!q(b) || !Y(p))
1654
1654
  return r ? Ot : i;
1655
- let m = `${v}__${i}`;
1656
- Nt(O) || (m = `${m}__${JSON.stringify(O)}`);
1657
- let y = d.get(m);
1658
- return y || (y = new Intl.NumberFormat(v, ge({}, b, O)), d.set(m, y)), w ? y.formatToParts(g) : y.format(g);
1655
+ let m = `${p}__${i}`;
1656
+ Ct(O) || (m = `${m}__${JSON.stringify(O)}`);
1657
+ let I = d.get(m);
1658
+ return I || (I = new Intl.NumberFormat(p, ge({}, b, O)), d.set(m, I)), w ? I.formatToParts(g) : I.format(g);
1659
1659
  }
1660
1660
  const tr = [
1661
1661
  "localeMatcher",
@@ -1679,25 +1679,25 @@ const tr = [
1679
1679
  "roundingIncrement",
1680
1680
  "trailingZeroDisplay"
1681
1681
  ];
1682
- function Vt(...e) {
1682
+ function Ut(...e) {
1683
1683
  const [t, n, r, a] = e, l = se();
1684
1684
  let f = se();
1685
1685
  if (!he(t))
1686
- throw xe(Ue.INVALID_ARGUMENT);
1686
+ throw xe(Ve.INVALID_ARGUMENT);
1687
1687
  const d = t;
1688
- return G(n) ? l.key = n : q(n) && Object.keys(n).forEach((i) => {
1688
+ return Y(n) ? l.key = n : q(n) && Object.keys(n).forEach((i) => {
1689
1689
  tr.includes(i) ? f[i] = n[i] : l[i] = n[i];
1690
- }), G(r) ? l.locale = r : q(r) && (f = r), q(a) && (f = a), [l.key || "", d, l, f];
1690
+ }), Y(r) ? l.locale = r : q(r) && (f = r), q(a) && (f = a), [l.key || "", d, l, f];
1691
1691
  }
1692
- function Cn(e, t, n) {
1692
+ function Nn(e, t, n) {
1693
1693
  const r = e;
1694
1694
  for (const a in n) {
1695
1695
  const l = `${t}__${a}`;
1696
1696
  r.__numberFormatters.has(l) && r.__numberFormatters.delete(l);
1697
1697
  }
1698
1698
  }
1699
- const ia = (e) => e, ca = (e) => "", ua = "text", ma = (e) => e.length === 0 ? "" : Jt(e), da = Zr;
1700
- function Nn(e, t) {
1699
+ const ia = (e) => e, ca = (e) => "", ua = "text", ma = (e) => e.length === 0 ? "" : $t(e), da = Gr;
1700
+ function Cn(e, t) {
1701
1701
  return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
1702
1702
  }
1703
1703
  function fa(e) {
@@ -1707,88 +1707,88 @@ function fa(e) {
1707
1707
  function _a(e, t) {
1708
1708
  t.count || (t.count = e), t.n || (t.n = e);
1709
1709
  }
1710
- function va(e = {}) {
1711
- const t = e.locale, n = fa(e), r = ee(e.pluralRules) && G(t) && ue(e.pluralRules[t]) ? e.pluralRules[t] : Nn, a = ee(e.pluralRules) && G(t) && ue(e.pluralRules[t]) ? Nn : void 0, l = (v) => v[r(n, v.length, a)], f = e.list || [], d = (v) => f[v], i = e.named || se();
1710
+ function pa(e = {}) {
1711
+ const t = e.locale, n = fa(e), r = ee(e.pluralRules) && Y(t) && ue(e.pluralRules[t]) ? e.pluralRules[t] : Cn, a = ee(e.pluralRules) && Y(t) && ue(e.pluralRules[t]) ? Cn : void 0, l = (p) => p[r(n, p.length, a)], f = e.list || [], d = (p) => f[p], i = e.named || se();
1712
1712
  he(e.pluralIndex) && _a(n, i);
1713
- const g = (v) => i[v];
1714
- function C(v, b) {
1715
- const S = ue(e.messages) ? e.messages(v, !!b) : ee(e.messages) ? e.messages[v] : !1;
1716
- return S || (e.parent ? e.parent.message(v) : ca);
1713
+ const g = (p) => i[p];
1714
+ function N(p, b) {
1715
+ const S = ue(e.messages) ? e.messages(p, !!b) : ee(e.messages) ? e.messages[p] : !1;
1716
+ return S || (e.parent ? e.parent.message(p) : ca);
1717
1717
  }
1718
- const O = (v) => e.modifiers ? e.modifiers[v] : ia, N = q(e.processor) && ue(e.processor.normalize) ? e.processor.normalize : ma, w = q(e.processor) && ue(e.processor.interpolate) ? e.processor.interpolate : da, R = q(e.processor) && G(e.processor.type) ? e.processor.type : ua, M = {
1718
+ const O = (p) => e.modifiers ? e.modifiers[p] : ia, C = q(e.processor) && ue(e.processor.normalize) ? e.processor.normalize : ma, w = q(e.processor) && ue(e.processor.interpolate) ? e.processor.interpolate : da, k = q(e.processor) && Y(e.processor.type) ? e.processor.type : ua, M = {
1719
1719
  list: d,
1720
1720
  named: g,
1721
1721
  plural: l,
1722
- linked: (v, ...b) => {
1722
+ linked: (p, ...b) => {
1723
1723
  const [S, m] = b;
1724
- let y = "text", I = "";
1725
- b.length === 1 ? ee(S) ? (I = S.modifier || I, y = S.type || y) : G(S) && (I = S || I) : b.length === 2 && (G(S) && (I = S || I), G(m) && (y = m || y));
1726
- const p = C(v, !0)(M), A = (
1724
+ let I = "text", E = "";
1725
+ b.length === 1 ? ee(S) ? (E = S.modifier || E, I = S.type || I) : Y(S) && (E = S || E) : b.length === 2 && (Y(S) && (E = S || E), Y(m) && (I = m || I));
1726
+ const v = N(p, !0)(M), A = (
1727
1727
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
1728
- y === "vnode" && ve(p) && I ? p[0] : p
1728
+ I === "vnode" && pe(v) && E ? v[0] : v
1729
1729
  );
1730
- return I ? O(I)(A, y) : A;
1730
+ return E ? O(E)(A, I) : A;
1731
1731
  },
1732
- message: C,
1733
- type: R,
1732
+ message: N,
1733
+ type: k,
1734
1734
  interpolate: w,
1735
- normalize: N,
1735
+ normalize: C,
1736
1736
  values: ge(se(), f, i)
1737
1737
  };
1738
1738
  return M;
1739
1739
  }
1740
1740
  const Tn = () => "", Oe = (e) => ue(e);
1741
1741
  function On(e, ...t) {
1742
- const { fallbackFormat: n, postTranslation: r, unresolving: a, messageCompiler: l, fallbackLocale: f, messages: d } = e, [i, g] = Ut(...t), C = _e(g.missingWarn) ? g.missingWarn : e.missingWarn, O = _e(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn, N = _e(g.escapeParameter) ? g.escapeParameter : e.escapeParameter, w = !!g.resolvedMessage, R = G(g.default) || _e(g.default) ? _e(g.default) ? l ? i : () => i : g.default : n ? l ? i : () => i : null, k = n || R != null && (G(R) || ue(R)), M = zt(e, g);
1743
- N && pa(g);
1744
- let [v, b, S] = w ? [
1742
+ const { fallbackFormat: n, postTranslation: r, unresolving: a, messageCompiler: l, fallbackLocale: f, messages: d } = e, [i, g] = Vt(...t), N = _e(g.missingWarn) ? g.missingWarn : e.missingWarn, O = _e(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn, C = _e(g.escapeParameter) ? g.escapeParameter : e.escapeParameter, w = !!g.resolvedMessage, k = Y(g.default) || _e(g.default) ? _e(g.default) ? l ? i : () => i : g.default : n ? l ? i : () => i : null, L = n || k != null && (Y(k) || ue(k)), M = zt(e, g);
1743
+ C && va(g);
1744
+ let [p, b, S] = w ? [
1745
1745
  i,
1746
1746
  M,
1747
1747
  d[M] || se()
1748
- ] : nr(e, i, M, f, O, C), m = v, y = i;
1749
- if (!w && !(G(m) || lt(m) || Oe(m)) && k && (m = R, y = m), !w && (!(G(m) || lt(m) || Oe(m)) || !G(b)))
1748
+ ] : nr(e, i, M, f, O, N), m = p, I = i;
1749
+ if (!w && !(Y(m) || lt(m) || Oe(m)) && L && (m = k, I = m), !w && (!(Y(m) || lt(m) || Oe(m)) || !Y(b)))
1750
1750
  return a ? Ot : i;
1751
- let I = !1;
1752
- const p = () => {
1753
- I = !0;
1754
- }, A = Oe(m) ? m : rr(e, i, b, m, y, p);
1755
- if (I)
1751
+ let E = !1;
1752
+ const v = () => {
1753
+ E = !0;
1754
+ }, A = Oe(m) ? m : rr(e, i, b, m, I, v);
1755
+ if (E)
1756
1756
  return m;
1757
- const L = ga(e, b, S, g), H = va(L), x = ba(e, A, H), _ = r ? r(x, i) : x;
1757
+ const R = ga(e, b, S, g), H = pa(R), x = ba(e, A, H), _ = r ? r(x, i) : x;
1758
1758
  if (__INTLIFY_PROD_DEVTOOLS__) {
1759
1759
  const T = {
1760
1760
  timestamp: Date.now(),
1761
- key: G(i) ? i : Oe(m) ? m.key : "",
1761
+ key: Y(i) ? i : Oe(m) ? m.key : "",
1762
1762
  locale: b || (Oe(m) ? m.locale : ""),
1763
- format: G(m) ? m : Oe(m) ? m.source : "",
1763
+ format: Y(m) ? m : Oe(m) ? m.source : "",
1764
1764
  message: _
1765
1765
  };
1766
1766
  T.meta = ge({}, e.__meta, /* @__PURE__ */ ra() || {}), js(T);
1767
1767
  }
1768
1768
  return _;
1769
1769
  }
1770
- function pa(e) {
1771
- ve(e.list) ? e.list = e.list.map((t) => G(t) ? on(t) : t) : ee(e.named) && Object.keys(e.named).forEach((t) => {
1772
- G(e.named[t]) && (e.named[t] = on(e.named[t]));
1770
+ function va(e) {
1771
+ pe(e.list) ? e.list = e.list.map((t) => Y(t) ? on(t) : t) : ee(e.named) && Object.keys(e.named).forEach((t) => {
1772
+ Y(e.named[t]) && (e.named[t] = on(e.named[t]));
1773
1773
  });
1774
1774
  }
1775
1775
  function nr(e, t, n, r, a, l) {
1776
- const { messages: f, onWarn: d, messageResolver: i, localeFallbacker: g } = e, C = g(e, r, n);
1777
- let O = se(), N, w = null;
1778
- const R = "translate";
1779
- for (let k = 0; k < C.length && (N = C[k], O = f[N] || se(), (w = i(O, t)) === null && (w = O[t]), !(G(w) || lt(w) || Oe(w))); k++)
1780
- if (!oa(N, C)) {
1776
+ const { messages: f, onWarn: d, messageResolver: i, localeFallbacker: g } = e, N = g(e, r, n);
1777
+ let O = se(), C, w = null;
1778
+ const k = "translate";
1779
+ for (let L = 0; L < N.length && (C = N[L], O = f[C] || se(), (w = i(O, t)) === null && (w = O[t]), !(Y(w) || lt(w) || Oe(w))); L++)
1780
+ if (!oa(C, N)) {
1781
1781
  const M = Qt(
1782
1782
  e,
1783
1783
  // eslint-disable-line @typescript-eslint/no-explicit-any
1784
1784
  t,
1785
- N,
1785
+ C,
1786
1786
  l,
1787
- R
1787
+ k
1788
1788
  );
1789
1789
  M !== t && (w = M);
1790
1790
  }
1791
- return [w, N, O];
1791
+ return [w, C, O];
1792
1792
  }
1793
1793
  function rr(e, t, n, r, a, l) {
1794
1794
  const { messageCompiler: f, warnHtmlMessage: d } = e;
@@ -1806,12 +1806,12 @@ function rr(e, t, n, r, a, l) {
1806
1806
  function ba(e, t, n) {
1807
1807
  return t(n);
1808
1808
  }
1809
- function Ut(...e) {
1809
+ function Vt(...e) {
1810
1810
  const [t, n, r] = e, a = se();
1811
- if (!G(t) && !he(t) && !Oe(t) && !lt(t))
1812
- throw xe(Ue.INVALID_ARGUMENT);
1811
+ if (!Y(t) && !he(t) && !Oe(t) && !lt(t))
1812
+ throw xe(Ve.INVALID_ARGUMENT);
1813
1813
  const l = he(t) ? String(t) : (Oe(t), t);
1814
- return he(n) ? a.plural = n : G(n) ? a.default = n : q(n) && !Nt(n) ? a.named = n : ve(n) && (a.list = n), he(r) ? a.plural = r : G(r) ? a.default = r : q(r) && ge(a, r), [l, a];
1814
+ return he(n) ? a.plural = n : Y(n) ? a.default = n : q(n) && !Ct(n) ? a.named = n : pe(n) && (a.list = n), he(r) ? a.plural = r : Y(r) ? a.default = r : q(r) && ge(a, r), [l, a];
1815
1815
  }
1816
1816
  function ha(e, t, n, r, a, l) {
1817
1817
  return {
@@ -1825,15 +1825,15 @@ function ha(e, t, n, r, a, l) {
1825
1825
  };
1826
1826
  }
1827
1827
  function ga(e, t, n, r) {
1828
- const { modifiers: a, pluralRules: l, messageResolver: f, fallbackLocale: d, fallbackWarn: i, missingWarn: g, fallbackContext: C } = e, N = {
1828
+ const { modifiers: a, pluralRules: l, messageResolver: f, fallbackLocale: d, fallbackWarn: i, missingWarn: g, fallbackContext: N } = e, C = {
1829
1829
  locale: t,
1830
1830
  modifiers: a,
1831
1831
  pluralRules: l,
1832
- messages: (w, R) => {
1833
- let k = f(n, w);
1834
- if (k == null && (C || R)) {
1832
+ messages: (w, k) => {
1833
+ let L = f(n, w);
1834
+ if (L == null && (N || k)) {
1835
1835
  const [, , M] = nr(
1836
- C || e,
1836
+ N || e,
1837
1837
  // NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
1838
1838
  w,
1839
1839
  t,
@@ -1841,28 +1841,28 @@ function ga(e, t, n, r) {
1841
1841
  i,
1842
1842
  g
1843
1843
  );
1844
- k = f(M, w);
1844
+ L = f(M, w);
1845
1845
  }
1846
- if (G(k) || lt(k)) {
1846
+ if (Y(L) || lt(L)) {
1847
1847
  let M = !1;
1848
- const b = rr(e, w, t, k, w, () => {
1848
+ const b = rr(e, w, t, L, w, () => {
1849
1849
  M = !0;
1850
1850
  });
1851
1851
  return M ? Tn : b;
1852
- } else return Oe(k) ? k : Tn;
1852
+ } else return Oe(L) ? L : Tn;
1853
1853
  }
1854
1854
  };
1855
- return e.processor && (N.processor = e.processor), r.list && (N.list = r.list), r.named && (N.named = r.named), he(r.plural) && (N.pluralIndex = r.plural), N;
1855
+ return e.processor && (C.processor = e.processor), r.list && (C.list = r.list), r.named && (C.named = r.named), he(r.plural) && (C.pluralIndex = r.plural), C;
1856
1856
  }
1857
- ps();
1858
- var ya = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_f0ceb635-d5aa-438f-9226-b69a37cfa096", DOTNET_NOLOGO: "1", USER: "runner", npm_config_always_auth: "", npm_config_user_agent: "pnpm/10.8.0 npm/? node/v24.5.0 linux x64", CI: "true", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_f0ceb635-d5aa-438f-9226-b69a37cfa096", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.8.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/30.0.16248370", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1942", ACTIONS_ORCHESTRATION_ID: "dc1c8b31-af04-4b91-b0a4-178bc5925862.publish.publish.__default", npm_config_engine_strict: "true", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20261018.339.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_f0ceb635-d5aa-438f-9226-b69a37cfa096", SWIFT_PATH: "/usr/share/swift/usr/bin", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "10:13597", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.14/x64", GITHUB_RUN_ID: "39442523505", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "c1880067ec0724e515e661a5e8cfee792b984a59", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.9/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/ma/feat/kdi-5225-team-member-ui", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYS9mZWF0L2tkaS01MjI1LXRlYW0tbWVtYmVyLXVpXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzkyNTI5ODgxLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3OTI1MDc2ODEsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiI5YmQwNjczZi1iMzQ5LTU0YzMtYWE5Yi1jNTc1ZGEyY2U1ZTUiLCJqb2Jfd29ya2Zsb3dfcmVmIjoiZmVlZG1lcG9zL2FjdGlvbnMvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ucG0tZ2l0aHViLnlhbWxAcmVmcy9oZWFkcy9tYWluIiwiam9iX3dvcmtmbG93X3NoYSI6IjA5Zjc2ZDhhYzVlNmEwNzA3NTQyNzQ5ZTFkNTY4N2JmMWVhZDVmMmMiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3OTI1MDczODEsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwianVuLWxlZS1mZWVkbWVcIixcImFjdG9yX2lkXCI6XCIyMzkyODI4NjJcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiMTE4Njk1ODI0MjM5XCIsXCJldmVudF9uYW1lXCI6XCJ3b3JrZmxvd19kaXNwYXRjaFwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiam9iX3dvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2FjdGlvbnMvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ucG0tZ2l0aHViLnlhbWxAcmVmcy9oZWFkcy9tYWluXCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCIwOWY3NmQ4YWM1ZTZhMDcwNzU0Mjc0OWUxZDU2ODdiZjFlYWQ1ZjJjXCIsXCJyZWZcIjpcInJlZnMvaGVhZHMvbWEvZmVhdC9rZGktNTIyNS10ZWFtLW1lbWJlci11aVwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiMTEyNDY3MjIzNVwiLFwicmVwb3NpdG9yeV9vd25lclwiOlwiZmVlZG1lcG9zXCIsXCJyZXBvc2l0b3J5X293bmVyX2lkXCI6XCI1NDgzMTUxNVwiLFwicmVwb3NpdG9yeV92aXNpYmlsaXR5XCI6XCJwcml2YXRlXCIsXCJydW5fYXR0ZW1wdFwiOlwiMVwiLFwicnVuX2lkXCI6XCIzOTQ0MjUyMzUwNVwiLFwicnVuX251bWJlclwiOlwiMjI2XCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIixcInNoYVwiOlwiYzE4ODAwNjdlYzA3MjRlNTE1ZTY2MWE1ZThjZmVlNzkyYjk4NGE1OVwiLFwid29ya2Zsb3dcIjpcIlB1Ymxpc2ggaHJtLXBvcnRhbFwiLFwid29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ocm0tcG9ydGFsLXRydXN0ZWQueW1sQHJlZnMvaGVhZHMvbWEvZmVhdC9rZGktNTIyNS10ZWFtLW1lbWJlci11aVwiLFwid29ya2Zsb3dfc2hhXCI6XCJjMTg4MDA2N2VjMDcyNGU1MTVlNjYxYTVlOGNmZWU3OTJiOTg0YTU5XCJ9Iiwib2lkY19zdWIiOiJyZXBvOmZlZWRtZXBvcy9ocm0tc2VydmljZTpyZWY6cmVmcy9oZWFkcy9tYS9mZWF0L2tkaS01MjI1LXRlYW0tbWVtYmVyLXVpIiwib3JjaF9pZCI6ImRjMWM4YjMxLWFmMDQtNGI5MS1iMGE0LTE3OGJjNTkyNTg2Mi5wdWJsaXNoLnB1Ymxpc2guX19kZWZhdWx0Iiwib3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJwbGFuX2lkIjoiZGMxYzhiMzEtYWYwNC00YjkxLWIwYTQtMTc4YmM1OTI1ODYyIiwicmVwb3NpdG9yeV9pZCI6IjExMjQ2NzIyMzUiLCJyZXBvc2l0b3J5X293bmVyX2lkIjoiNTQ4MzE1MTUiLCJyZXBvc2l0b3J5X3Zpc2liaWxpdHkiOiJwcml2YXRlIiwicnVuX2lkIjoiMzk0NDI1MjM1MDUiLCJydW5fbnVtYmVyIjoiMjI2IiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDIxMDg5MCIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOmRjMWM4YjMxLWFmMDQtNGI5MS1iMGE0LTE3OGJjNTkyNTg2Mjo5YmQwNjczZi1iMzQ5LTU0YzMtYWE5Yi1jNTc1ZGEyY2U1ZTUgQWN0aW9ucy5SdW5uZXI6ZGMxYzhiMzEtYWYwNC00YjkxLWIwYTQtMTc4YmM1OTI1ODYyOjliZDA2NzNmLWIzNDktNTRjMy1hYTliLWM1NzVkYTJjZTVlNSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czpkYzFjOGIzMS1hZjA0LTRiOTEtYjBhNC0xNzhiYzU5MjU4NjI6OWJkMDY3M2YtYjM0OS01NGMzLWFhOWItYzU3NWRhMmNlNWU1IGdlbmVyYXRlX2lkX3Rva2VuOmRjMWM4YjMxLWFmMDQtNGI5MS1iMGE0LTE3OGJjNTkyNTg2Mjo5YmQwNjczZi1iMzQ5LTU0YzMtYWE5Yi1jNTc1ZGEyY2U1ZTUgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiJjMTg4MDA2N2VjMDcyNGU1MTVlNjYxYTVlOGNmZWU3OTJiOTg0YTU5IiwidHJ1c3RfdGllciI6IjEifQ.TBi1ivVTyGOc4_youT5aLey3PzmfSFO89SbQgmvwP_8t8VvfrfhcdOx0aZ1Lh0inAe_2kmeyJ-a5s8KyZN2k4MDwFvLMxaYLmKmgIVFqN90ytTtic-xPQ6AxqlVzhmAAxHEjTJLehDI78wo-N2UyHSYug2ABOfr_5K-6KZ-7C4beDLY-bVO-XxSq1n68cWRYSA5yyZNUF_bYAjVxsMw3P5KI8xBp56lHU5lZ51p3uVqOjT_7IQU66D6Iy_DsVXZbAdFIhV-ip-1MV2qpXt2PvamqkAcu6crO8qxF-A5R45Tp6KBJjG0a-ZXGea49zdYzL01J3zwVJv6Ulpc2IPrV9w", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/24.5.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_b1de2b1a-c6d7-4254-961f-5b43e2885644", INVOCATION_ID: "764cc1a313324b7a8a00ebbb78991b22", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", npm_package_name: "@feedmepos/mf-hrm-portal", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "226", GITHUB_TRIGGERING_ACTOR: "jun-lee-feedme", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000210890", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "ma/feat/kdi-5225-team-member-ui", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "1124672235", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "2.3.2-dev.2", npm_config_verify_deps_before_run: "false", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", GITHUB_SHA: "c1880067ec0724e515e661a5e8cfee792b984a59", GITHUB_RUN_ATTEMPT: "1", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/ma/feat/kdi-5225-team-member-ui", GITHUB_ACTOR: "jun-lee-feedme", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_f0ceb635-d5aa-438f-9226-b69a37cfa096", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "239282862", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-2-azure-eastus.actions.githubusercontent.com/132//idtoken/dc1c8b31-af04-4b91-b0a4-178bc5925862/9bd0673f-b349-54c3-aa9b-c575da2ce5e5?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_f0ceb635-d5aa-438f-9226-b69a37cfa096", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_f0ceb635-d5aa-438f-9226-b69a37cfa096", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_f0ceb635-d5aa-438f-9226-b69a37cfa096", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", NODE_ENV: "production" } };
1859
- const Ea = "10.0.5";
1860
- function Ia() {
1861
- typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && ($e().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && ($e().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && ($e().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && ($e().__INTLIFY_PROD_DEVTOOLS__ = !1);
1857
+ vs();
1858
+ var Ia = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_950e12e6-bf3c-436e-91f3-cce8bb852a35", DOTNET_NOLOGO: "1", USER: "runner", npm_config_always_auth: "", npm_config_user_agent: "pnpm/10.8.0 npm/? node/v24.5.0 linux x64", CI: "true", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_950e12e6-bf3c-436e-91f3-cce8bb852a35", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.8.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/30.0.16248370", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1860", ACTIONS_ORCHESTRATION_ID: "ab1186bb-558a-4cf2-b532-9a7b552b2011.publish.publish.__default", npm_config_engine_strict: "true", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20261012.334.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_950e12e6-bf3c-436e-91f3-cce8bb852a35", SWIFT_PATH: "/usr/share/swift/usr/bin", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:13548", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.14/x64", GITHUB_RUN_ID: "39561905800", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "1653cf95ba5e05b54deb8094b8a1717039b0b354", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.9/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/ma/feat/kdi-5225-staff-invites", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYS9mZWF0L2tkaS01MjI1LXN0YWZmLWludml0ZXNcIixcIlBlcm1pc3Npb25cIjozfSx7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjZmOTZmYTg5LWI3YmYtNDg3OC1iYWQzLTg5ODAwNjU2NmI2ZSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3OTI1ODk3NTIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc5MjU2NzU1MiwiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6ImNiY2Y0YTliLWY1ZWEtNWQ3NS1hNjFhLTgzMTc4NzhmZWZlMiIsImpvYl93b3JrZmxvd19yZWYiOiJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW4iLCJqb2Jfd29ya2Zsb3dfc2hhIjoiMDlmNzZkOGFjNWU2YTA3MDc1NDI3NDllMWQ1Njg3YmYxZWFkNWYyYyIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc5MjU2NzI1Miwib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJNaXJvb245OVwiLFwiYWN0b3JfaWRcIjpcIjY1NjM3NDIxXCIsXCJiYXNlX3JlZlwiOlwiXCIsXCJjaGVja19ydW5faWRcIjpcIjExOTA5NDkyNDA4MlwiLFwiZXZlbnRfbmFtZVwiOlwid29ya2Zsb3dfZGlzcGF0Y2hcIixcImhlYWRfcmVmXCI6XCJcIixcImpvYl93b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9hY3Rpb25zLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtbnBtLWdpdGh1Yi55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwiam9iX3dvcmtmbG93X3NoYVwiOlwiMDlmNzZkOGFjNWU2YTA3MDc1NDI3NDllMWQ1Njg3YmYxZWFkNWYyY1wiLFwicmVmXCI6XCJyZWZzL2hlYWRzL21hL2ZlYXQva2RpLTUyMjUtc3RhZmYtaW52aXRlc1wiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiMTEyNDY3MjIzNVwiLFwicmVwb3NpdG9yeV9vd25lclwiOlwiZmVlZG1lcG9zXCIsXCJyZXBvc2l0b3J5X293bmVyX2lkXCI6XCI1NDgzMTUxNVwiLFwicmVwb3NpdG9yeV92aXNpYmlsaXR5XCI6XCJwcml2YXRlXCIsXCJydW5fYXR0ZW1wdFwiOlwiMVwiLFwicnVuX2lkXCI6XCIzOTU2MTkwNTgwMFwiLFwicnVuX251bWJlclwiOlwiMjI4XCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIixcInNoYVwiOlwiMTY1M2NmOTViYTVlMDViNTRkZWI4MDk0YjhhMTcxNzAzOWIwYjM1NFwiLFwid29ya2Zsb3dcIjpcIlB1Ymxpc2ggaHJtLXBvcnRhbFwiLFwid29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ocm0tcG9ydGFsLXRydXN0ZWQueW1sQHJlZnMvaGVhZHMvbWEvZmVhdC9rZGktNTIyNS1zdGFmZi1pbnZpdGVzXCIsXCJ3b3JrZmxvd19zaGFcIjpcIjE2NTNjZjk1YmE1ZTA1YjU0ZGViODA5NGI4YTE3MTcwMzliMGIzNTRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL2hybS1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL21hL2ZlYXQva2RpLTUyMjUtc3RhZmYtaW52aXRlcyIsIm9yY2hfaWQiOiJhYjExODZiYi01NThhLTRjZjItYjUzMi05YTdiNTUyYjIwMTEucHVibGlzaC5wdWJsaXNoLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6ImFiMTE4NmJiLTU1OGEtNGNmMi1iNTMyLTlhN2I1NTJiMjAxMSIsInJlcG9zaXRvcnlfaWQiOiIxMTI0NjcyMjM1IiwicmVwb3NpdG9yeV9vd25lcl9pZCI6IjU0ODMxNTE1IiwicmVwb3NpdG9yeV92aXNpYmlsaXR5IjoicHJpdmF0ZSIsInJ1bl9pZCI6IjM5NTYxOTA1ODAwIiwicnVuX251bWJlciI6IjIyOCIsInJ1bl90eXBlIjoiZnVsbCIsInJ1bm5lcl9pZCI6IjEwMDAyMTI3ODgiLCJydW5uZXJfdHlwZSI6Imhvc3RlZCIsInNjcCI6IkFjdGlvbnMuUmVzdWx0czphYjExODZiYi01NThhLTRjZjItYjUzMi05YTdiNTUyYjIwMTE6Y2JjZjRhOWItZjVlYS01ZDc1LWE2MWEtODMxNzg3OGZlZmUyIEFjdGlvbnMuUnVubmVyOmFiMTE4NmJiLTU1OGEtNGNmMi1iNTMyLTlhN2I1NTJiMjAxMTpjYmNmNGE5Yi1mNWVhLTVkNzUtYTYxYS04MzE3ODc4ZmVmZTIgQWN0aW9ucy5VcGxvYWRBcnRpZmFjdHM6YWIxMTg2YmItNTU4YS00Y2YyLWI1MzItOWE3YjU1MmIyMDExOmNiY2Y0YTliLWY1ZWEtNWQ3NS1hNjFhLTgzMTc4NzhmZWZlMiBnZW5lcmF0ZV9pZF90b2tlbjphYjExODZiYi01NThhLTRjZjItYjUzMi05YTdiNTUyYjIwMTE6Y2JjZjRhOWItZjVlYS01ZDc1LWE2MWEtODMxNzg3OGZlZmUyIEFjdGlvbnMuR2VuZXJpY1JlYWQ6MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIiwic2hhIjoiMTY1M2NmOTViYTVlMDViNTRkZWI4MDk0YjhhMTcxNzAzOWIwYjM1NCIsInRydXN0X3RpZXIiOiIxIn0.ZQyJlGMceIaWlSXekrIwichZ-GizJ_UjDJQMCvIdEEIXT8SBw_Ssf_zxg6hqMPoAzqt71ONyAJlhwIUpkMpbZeIlVCxb2_7uV7o7QPFYXYmlFK0Z8OUR8h6rqbQIjkfxUWb14XmdDgeTxEuM0fpO3bZMHZX1WbnazAy2SV1SR_ySVY3SlYVVfoIxq9KdktQQKicu0hECjkJjL5iRn7jWwNQAQ-JJIBu9vzcqDRaArPIb66Tl8fCz6RztHC6UDYSFLCSovRR-bz2HsPIVOnRB1BmET7DuaqLZJk3GC1YfRLjr92SuoySbsTP3NRLvpT70lvm8eu8lqo7My4RRQP9kvw", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/24.5.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_f185ba0a-4c7b-4c1b-8e83-00bf78d616b9", INVOCATION_ID: "0fa554f2278d47329ed178e0e2ea82ef", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", npm_package_name: "@feedmepos/mf-hrm-portal", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "228", GITHUB_TRIGGERING_ACTOR: "Miroon99", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000212788", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "ma/feat/kdi-5225-staff-invites", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "1124672235", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "2.3.2-dev.4", npm_config_verify_deps_before_run: "false", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", GITHUB_SHA: "1653cf95ba5e05b54deb8094b8a1717039b0b354", GITHUB_RUN_ATTEMPT: "1", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/ma/feat/kdi-5225-staff-invites", GITHUB_ACTOR: "Miroon99", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_950e12e6-bf3c-436e-91f3-cce8bb852a35", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "65637421", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-3-azure-eastus.actions.githubusercontent.com/59//idtoken/ab1186bb-558a-4cf2-b532-9a7b552b2011/cbcf4a9b-f5ea-5d75-a61a-8317878fefe2?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_950e12e6-bf3c-436e-91f3-cce8bb852a35", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_950e12e6-bf3c-436e-91f3-cce8bb852a35", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_950e12e6-bf3c-436e-91f3-cce8bb852a35", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", NODE_ENV: "production" } };
1859
+ const ya = "10.0.5";
1860
+ function Ea() {
1861
+ typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Je().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Je().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Je().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Je().__INTLIFY_PROD_DEVTOOLS__ = !1);
1862
1862
  }
1863
1863
  const ot = {
1864
1864
  // composer module errors
1865
- UNEXPECTED_RETURN_TYPE: Us,
1865
+ UNEXPECTED_RETURN_TYPE: Vs,
1866
1866
  // 24
1867
1867
  // legacy module errors
1868
1868
  INVALID_ARGUMENT: 25,
@@ -1876,12 +1876,12 @@ const ot = {
1876
1876
  function mt(e, ...t) {
1877
1877
  return Tt(e, null, void 0);
1878
1878
  }
1879
- const xt = /* @__PURE__ */ ze("__translateVNode"), Wt = /* @__PURE__ */ ze("__datetimeParts"), Gt = /* @__PURE__ */ ze("__numberParts"), Ca = ze("__setPluralRules"), sr = /* @__PURE__ */ ze("__injectWithOption"), Zt = /* @__PURE__ */ ze("__dispose");
1879
+ const xt = /* @__PURE__ */ ze("__translateVNode"), Wt = /* @__PURE__ */ ze("__datetimeParts"), Yt = /* @__PURE__ */ ze("__numberParts"), Na = ze("__setPluralRules"), sr = /* @__PURE__ */ ze("__injectWithOption"), Gt = /* @__PURE__ */ ze("__dispose");
1880
1880
  function dt(e) {
1881
1881
  if (!ee(e))
1882
1882
  return e;
1883
1883
  for (const t in e)
1884
- if (ke(e, t))
1884
+ if (Le(e, t))
1885
1885
  if (!t.includes("."))
1886
1886
  ee(e[t]) && dt(e[t]);
1887
1887
  else {
@@ -1899,22 +1899,22 @@ function dt(e) {
1899
1899
  return e;
1900
1900
  }
1901
1901
  function ar(e, t) {
1902
- const { messages: n, __i18n: r, messageResolver: a, flatJson: l } = t, f = q(n) ? n : ve(r) ? se() : { [e]: se() };
1903
- if (ve(r) && r.forEach((d) => {
1902
+ const { messages: n, __i18n: r, messageResolver: a, flatJson: l } = t, f = q(n) ? n : pe(r) ? se() : { [e]: se() };
1903
+ if (pe(r) && r.forEach((d) => {
1904
1904
  if ("locale" in d && "resource" in d) {
1905
1905
  const { locale: i, resource: g } = d;
1906
- i ? (f[i] = f[i] || se(), Et(g, f[i])) : Et(g, f);
1906
+ i ? (f[i] = f[i] || se(), yt(g, f[i])) : yt(g, f);
1907
1907
  } else
1908
- G(d) && Et(JSON.parse(d), f);
1908
+ Y(d) && yt(JSON.parse(d), f);
1909
1909
  }), a == null && l)
1910
1910
  for (const d in f)
1911
- ke(f, d) && dt(f[d]);
1911
+ Le(f, d) && dt(f[d]);
1912
1912
  return f;
1913
1913
  }
1914
1914
  function lr(e) {
1915
1915
  return e.type;
1916
1916
  }
1917
- function Na(e, t, n) {
1917
+ function Ca(e, t, n) {
1918
1918
  let r = ee(t.messages) ? t.messages : se();
1919
1919
  "__i18nGlobal" in n && (r = ar(e.locale.value, {
1920
1920
  messages: r,
@@ -1942,42 +1942,42 @@ function Na(e, t, n) {
1942
1942
  function Sn(e) {
1943
1943
  return le(_r, null, e, 0);
1944
1944
  }
1945
- const Ln = "__INTLIFY_META__", kn = () => [], Ta = () => !1;
1945
+ const Rn = "__INTLIFY_META__", Ln = () => [], Ta = () => !1;
1946
1946
  let An = 0;
1947
- function Rn(e) {
1947
+ function kn(e) {
1948
1948
  return (t, n, r, a) => e(n, r, Xt() || void 0, a);
1949
1949
  }
1950
1950
  const Oa = /* @__NO_SIDE_EFFECTS__ */ () => {
1951
1951
  const e = Xt();
1952
1952
  let t = null;
1953
- return e && (t = lr(e)[Ln]) ? { [Ln]: t } : null;
1953
+ return e && (t = lr(e)[Rn]) ? { [Rn]: t } : null;
1954
1954
  };
1955
1955
  function Sa(e = {}) {
1956
1956
  const { __root: t, __injectWithOption: n } = e, r = t === void 0, a = e.flatJson, l = an ? st : dr;
1957
1957
  let f = _e(e.inheritLocale) ? e.inheritLocale : !0;
1958
1958
  const d = l(
1959
1959
  // prettier-ignore
1960
- t && f ? t.locale.value : G(e.locale) ? e.locale : Ct
1960
+ t && f ? t.locale.value : Y(e.locale) ? e.locale : Nt
1961
1961
  ), i = l(
1962
1962
  // prettier-ignore
1963
- t && f ? t.fallbackLocale.value : G(e.fallbackLocale) || ve(e.fallbackLocale) || q(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : d.value
1964
- ), g = l(ar(d.value, e)), C = l(q(e.datetimeFormats) ? e.datetimeFormats : { [d.value]: {} }), O = l(q(e.numberFormats) ? e.numberFormats : { [d.value]: {} });
1965
- let N = t ? t.missingWarn : _e(e.missingWarn) || It(e.missingWarn) ? e.missingWarn : !0, w = t ? t.fallbackWarn : _e(e.fallbackWarn) || It(e.fallbackWarn) ? e.fallbackWarn : !0, R = t ? t.fallbackRoot : _e(e.fallbackRoot) ? e.fallbackRoot : !0, k = !!e.fallbackFormat, M = ue(e.missing) ? e.missing : null, v = ue(e.missing) ? Rn(e.missing) : null, b = ue(e.postTranslation) ? e.postTranslation : null, S = t ? t.warnHtmlMessage : _e(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, m = !!e.escapeParameter;
1966
- const y = t ? t.modifiers : q(e.modifiers) ? e.modifiers : {};
1967
- let I = e.pluralRules || t && t.pluralRules, p;
1968
- p = (() => {
1963
+ t && f ? t.fallbackLocale.value : Y(e.fallbackLocale) || pe(e.fallbackLocale) || q(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : d.value
1964
+ ), g = l(ar(d.value, e)), N = l(q(e.datetimeFormats) ? e.datetimeFormats : { [d.value]: {} }), O = l(q(e.numberFormats) ? e.numberFormats : { [d.value]: {} });
1965
+ let C = t ? t.missingWarn : _e(e.missingWarn) || Et(e.missingWarn) ? e.missingWarn : !0, w = t ? t.fallbackWarn : _e(e.fallbackWarn) || Et(e.fallbackWarn) ? e.fallbackWarn : !0, k = t ? t.fallbackRoot : _e(e.fallbackRoot) ? e.fallbackRoot : !0, L = !!e.fallbackFormat, M = ue(e.missing) ? e.missing : null, p = ue(e.missing) ? kn(e.missing) : null, b = ue(e.postTranslation) ? e.postTranslation : null, S = t ? t.warnHtmlMessage : _e(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, m = !!e.escapeParameter;
1966
+ const I = t ? t.modifiers : q(e.modifiers) ? e.modifiers : {};
1967
+ let E = e.pluralRules || t && t.pluralRules, v;
1968
+ v = (() => {
1969
1969
  r && hn(null);
1970
1970
  const u = {
1971
- version: Ea,
1971
+ version: ya,
1972
1972
  locale: d.value,
1973
1973
  fallbackLocale: i.value,
1974
1974
  messages: g.value,
1975
- modifiers: y,
1976
- pluralRules: I,
1977
- missing: v === null ? void 0 : v,
1978
- missingWarn: N,
1975
+ modifiers: I,
1976
+ pluralRules: E,
1977
+ missing: p === null ? void 0 : p,
1978
+ missingWarn: C,
1979
1979
  fallbackWarn: w,
1980
- fallbackFormat: k,
1980
+ fallbackFormat: L,
1981
1981
  unresolving: !0,
1982
1982
  postTranslation: b === null ? void 0 : b,
1983
1983
  warnHtmlMessage: S,
@@ -1986,172 +1986,172 @@ function Sa(e = {}) {
1986
1986
  messageCompiler: e.messageCompiler,
1987
1987
  __meta: { framework: "vue" }
1988
1988
  };
1989
- u.datetimeFormats = C.value, u.numberFormats = O.value, u.__datetimeFormatters = q(p) ? p.__datetimeFormatters : void 0, u.__numberFormatters = q(p) ? p.__numberFormatters : void 0;
1990
- const E = aa(u);
1991
- return r && hn(E), E;
1992
- })(), it(p, d.value, i.value);
1993
- function L() {
1989
+ u.datetimeFormats = N.value, u.numberFormats = O.value, u.__datetimeFormatters = q(v) ? v.__datetimeFormatters : void 0, u.__numberFormatters = q(v) ? v.__numberFormatters : void 0;
1990
+ const y = aa(u);
1991
+ return r && hn(y), y;
1992
+ })(), it(v, d.value, i.value);
1993
+ function R() {
1994
1994
  return [
1995
1995
  d.value,
1996
1996
  i.value,
1997
1997
  g.value,
1998
- C.value,
1998
+ N.value,
1999
1999
  O.value
2000
2000
  ];
2001
2001
  }
2002
2002
  const H = z({
2003
2003
  get: () => d.value,
2004
2004
  set: (u) => {
2005
- d.value = u, p.locale = d.value;
2005
+ d.value = u, v.locale = d.value;
2006
2006
  }
2007
2007
  }), x = z({
2008
2008
  get: () => i.value,
2009
2009
  set: (u) => {
2010
- i.value = u, p.fallbackLocale = i.value, it(p, d.value, u);
2010
+ i.value = u, v.fallbackLocale = i.value, it(v, d.value, u);
2011
2011
  }
2012
- }), _ = z(() => g.value), T = /* @__PURE__ */ z(() => C.value), j = /* @__PURE__ */ z(() => O.value);
2012
+ }), _ = z(() => g.value), T = /* @__PURE__ */ z(() => N.value), j = /* @__PURE__ */ z(() => O.value);
2013
2013
  function P() {
2014
2014
  return ue(b) ? b : null;
2015
2015
  }
2016
2016
  function F(u) {
2017
- b = u, p.postTranslation = u;
2017
+ b = u, v.postTranslation = u;
2018
2018
  }
2019
2019
  function W() {
2020
2020
  return M;
2021
2021
  }
2022
- function V(u) {
2023
- u !== null && (v = Rn(u)), M = u, p.missing = v;
2022
+ function U(u) {
2023
+ u !== null && (p = kn(u)), M = u, v.missing = p;
2024
2024
  }
2025
- const Z = (u, E, K, $, me, Ze) => {
2026
- L();
2025
+ const G = (u, y, K, J, me, Ge) => {
2026
+ R();
2027
2027
  let qe;
2028
2028
  try {
2029
- ya.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (p.fallbackContext = t ? sa() : void 0), qe = u(p);
2029
+ Ia.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (v.fallbackContext = t ? sa() : void 0), qe = u(v);
2030
2030
  } finally {
2031
- __INTLIFY_PROD_DEVTOOLS__, r || (p.fallbackContext = void 0);
2031
+ __INTLIFY_PROD_DEVTOOLS__, r || (v.fallbackContext = void 0);
2032
2032
  }
2033
2033
  if (K !== "translate exists" && // for not `te` (e.g `t`)
2034
2034
  he(qe) && qe === Ot || K === "translate exists" && !qe) {
2035
- const [ur, vl] = E();
2036
- return t && R ? $(t) : me(ur);
2035
+ const [ur, pl] = y();
2036
+ return t && k ? J(t) : me(ur);
2037
2037
  } else {
2038
- if (Ze(qe))
2038
+ if (Ge(qe))
2039
2039
  return qe;
2040
2040
  throw mt(ot.UNEXPECTED_RETURN_TYPE);
2041
2041
  }
2042
2042
  };
2043
2043
  function X(...u) {
2044
- return Z((E) => Reflect.apply(On, null, [E, ...u]), () => Ut(...u), "translate", (E) => Reflect.apply(E.t, E, [...u]), (E) => E, (E) => G(E));
2044
+ return G((y) => Reflect.apply(On, null, [y, ...u]), () => Vt(...u), "translate", (y) => Reflect.apply(y.t, y, [...u]), (y) => y, (y) => Y(y));
2045
2045
  }
2046
2046
  function te(...u) {
2047
- const [E, K, $] = u;
2048
- if ($ && !ee($))
2047
+ const [y, K, J] = u;
2048
+ if (J && !ee(J))
2049
2049
  throw mt(ot.INVALID_ARGUMENT);
2050
- return X(E, K, ge({ resolvedMessage: !0 }, $ || {}));
2050
+ return X(y, K, ge({ resolvedMessage: !0 }, J || {}));
2051
2051
  }
2052
2052
  function Q(...u) {
2053
- return Z((E) => Reflect.apply(yn, null, [E, ...u]), () => jt(...u), "datetime format", (E) => Reflect.apply(E.d, E, [...u]), () => pn, (E) => G(E));
2053
+ return G((y) => Reflect.apply(In, null, [y, ...u]), () => jt(...u), "datetime format", (y) => Reflect.apply(y.d, y, [...u]), () => vn, (y) => Y(y));
2054
2054
  }
2055
2055
  function de(...u) {
2056
- return Z((E) => Reflect.apply(In, null, [E, ...u]), () => Vt(...u), "number format", (E) => Reflect.apply(E.n, E, [...u]), () => pn, (E) => G(E));
2056
+ return G((y) => Reflect.apply(En, null, [y, ...u]), () => Ut(...u), "number format", (y) => Reflect.apply(y.n, y, [...u]), () => vn, (y) => Y(y));
2057
2057
  }
2058
- function pe(u) {
2059
- return u.map((E) => G(E) || he(E) || _e(E) ? Sn(String(E)) : E);
2058
+ function ve(u) {
2059
+ return u.map((y) => Y(y) || he(y) || _e(y) ? Sn(String(y)) : y);
2060
2060
  }
2061
2061
  const ae = {
2062
- normalize: pe,
2062
+ normalize: ve,
2063
2063
  interpolate: (u) => u,
2064
2064
  type: "vnode"
2065
2065
  };
2066
2066
  function oe(...u) {
2067
- return Z((E) => {
2067
+ return G((y) => {
2068
2068
  let K;
2069
- const $ = E;
2069
+ const J = y;
2070
2070
  try {
2071
- $.processor = ae, K = Reflect.apply(On, null, [$, ...u]);
2071
+ J.processor = ae, K = Reflect.apply(On, null, [J, ...u]);
2072
2072
  } finally {
2073
- $.processor = null;
2073
+ J.processor = null;
2074
2074
  }
2075
2075
  return K;
2076
- }, () => Ut(...u), "translate", (E) => E[xt](...u), (E) => [Sn(E)], (E) => ve(E));
2076
+ }, () => Vt(...u), "translate", (y) => y[xt](...u), (y) => [Sn(y)], (y) => pe(y));
2077
2077
  }
2078
- function Re(...u) {
2079
- return Z((E) => Reflect.apply(In, null, [E, ...u]), () => Vt(...u), "number format", (E) => E[Gt](...u), kn, (E) => G(E) || ve(E));
2078
+ function ke(...u) {
2079
+ return G((y) => Reflect.apply(En, null, [y, ...u]), () => Ut(...u), "number format", (y) => y[Yt](...u), Ln, (y) => Y(y) || pe(y));
2080
2080
  }
2081
- function Y(...u) {
2082
- return Z((E) => Reflect.apply(yn, null, [E, ...u]), () => jt(...u), "datetime format", (E) => E[Wt](...u), kn, (E) => G(E) || ve(E));
2081
+ function Z(...u) {
2082
+ return G((y) => Reflect.apply(In, null, [y, ...u]), () => jt(...u), "datetime format", (y) => y[Wt](...u), Ln, (y) => Y(y) || pe(y));
2083
2083
  }
2084
2084
  function fe(u) {
2085
- I = u, p.pluralRules = I;
2085
+ E = u, v.pluralRules = E;
2086
2086
  }
2087
- function Je(u, E) {
2088
- return Z(() => {
2087
+ function $e(u, y) {
2088
+ return G(() => {
2089
2089
  if (!u)
2090
2090
  return !1;
2091
- const K = G(E) ? E : d.value, $ = Fe(K), me = p.messageResolver($, u);
2092
- return lt(me) || Oe(me) || G(me);
2093
- }, () => [u], "translate exists", (K) => Reflect.apply(K.te, K, [u, E]), Ta, (K) => _e(K));
2091
+ const K = Y(y) ? y : d.value, J = Fe(K), me = v.messageResolver(J, u);
2092
+ return lt(me) || Oe(me) || Y(me);
2093
+ }, () => [u], "translate exists", (K) => Reflect.apply(K.te, K, [u, y]), Ta, (K) => _e(K));
2094
2094
  }
2095
2095
  function Qe(u) {
2096
- let E = null;
2097
- const K = Jn(p, i.value, d.value);
2098
- for (let $ = 0; $ < K.length; $++) {
2099
- const me = g.value[K[$]] || {}, Ze = p.messageResolver(me, u);
2100
- if (Ze != null) {
2101
- E = Ze;
2096
+ let y = null;
2097
+ const K = $n(v, i.value, d.value);
2098
+ for (let J = 0; J < K.length; J++) {
2099
+ const me = g.value[K[J]] || {}, Ge = v.messageResolver(me, u);
2100
+ if (Ge != null) {
2101
+ y = Ge;
2102
2102
  break;
2103
2103
  }
2104
2104
  }
2105
- return E;
2105
+ return y;
2106
2106
  }
2107
2107
  function We(u) {
2108
- const E = Qe(u);
2109
- return E ?? (t ? t.tm(u) || {} : {});
2108
+ const y = Qe(u);
2109
+ return y ?? (t ? t.tm(u) || {} : {});
2110
2110
  }
2111
2111
  function Fe(u) {
2112
2112
  return g.value[u] || {};
2113
2113
  }
2114
- function Pe(u, E) {
2114
+ function Pe(u, y) {
2115
2115
  if (a) {
2116
- const K = { [u]: E };
2117
- for (const $ in K)
2118
- ke(K, $) && dt(K[$]);
2119
- E = K[u];
2116
+ const K = { [u]: y };
2117
+ for (const J in K)
2118
+ Le(K, J) && dt(K[J]);
2119
+ y = K[u];
2120
2120
  }
2121
- g.value[u] = E, p.messages = g.value;
2121
+ g.value[u] = y, v.messages = g.value;
2122
2122
  }
2123
- function Ge(u, E) {
2123
+ function Ye(u, y) {
2124
2124
  g.value[u] = g.value[u] || {};
2125
- const K = { [u]: E };
2125
+ const K = { [u]: y };
2126
2126
  if (a)
2127
- for (const $ in K)
2128
- ke(K, $) && dt(K[$]);
2129
- E = K[u], Et(E, g.value[u]), p.messages = g.value;
2127
+ for (const J in K)
2128
+ Le(K, J) && dt(K[J]);
2129
+ y = K[u], yt(y, g.value[u]), v.messages = g.value;
2130
2130
  }
2131
2131
  function je(u) {
2132
- return C.value[u] || {};
2132
+ return N.value[u] || {};
2133
2133
  }
2134
- function o(u, E) {
2135
- C.value[u] = E, p.datetimeFormats = C.value, En(p, u, E);
2134
+ function o(u, y) {
2135
+ N.value[u] = y, v.datetimeFormats = N.value, yn(v, u, y);
2136
2136
  }
2137
- function s(u, E) {
2138
- C.value[u] = ge(C.value[u] || {}, E), p.datetimeFormats = C.value, En(p, u, E);
2137
+ function s(u, y) {
2138
+ N.value[u] = ge(N.value[u] || {}, y), v.datetimeFormats = N.value, yn(v, u, y);
2139
2139
  }
2140
2140
  function c(u) {
2141
2141
  return O.value[u] || {};
2142
2142
  }
2143
- function h(u, E) {
2144
- O.value[u] = E, p.numberFormats = O.value, Cn(p, u, E);
2143
+ function h(u, y) {
2144
+ O.value[u] = y, v.numberFormats = O.value, Nn(v, u, y);
2145
2145
  }
2146
- function D(u, E) {
2147
- O.value[u] = ge(O.value[u] || {}, E), p.numberFormats = O.value, Cn(p, u, E);
2146
+ function D(u, y) {
2147
+ O.value[u] = ge(O.value[u] || {}, y), v.numberFormats = O.value, Nn(v, u, y);
2148
2148
  }
2149
2149
  An++, t && an && (wt(t.locale, (u) => {
2150
- f && (d.value = u, p.locale = u, it(p, d.value, i.value));
2150
+ f && (d.value = u, v.locale = u, it(v, d.value, i.value));
2151
2151
  }), wt(t.fallbackLocale, (u) => {
2152
- f && (i.value = u, p.fallbackLocale = u, it(p, d.value, i.value));
2152
+ f && (i.value = u, v.fallbackLocale = u, it(v, d.value, i.value));
2153
2153
  }));
2154
- const U = {
2154
+ const V = {
2155
2155
  id: An,
2156
2156
  locale: H,
2157
2157
  fallbackLocale: x,
@@ -2159,68 +2159,68 @@ function Sa(e = {}) {
2159
2159
  return f;
2160
2160
  },
2161
2161
  set inheritLocale(u) {
2162
- f = u, u && t && (d.value = t.locale.value, i.value = t.fallbackLocale.value, it(p, d.value, i.value));
2162
+ f = u, u && t && (d.value = t.locale.value, i.value = t.fallbackLocale.value, it(v, d.value, i.value));
2163
2163
  },
2164
2164
  get availableLocales() {
2165
2165
  return Object.keys(g.value).sort();
2166
2166
  },
2167
2167
  messages: _,
2168
2168
  get modifiers() {
2169
- return y;
2169
+ return I;
2170
2170
  },
2171
2171
  get pluralRules() {
2172
- return I || {};
2172
+ return E || {};
2173
2173
  },
2174
2174
  get isGlobal() {
2175
2175
  return r;
2176
2176
  },
2177
2177
  get missingWarn() {
2178
- return N;
2178
+ return C;
2179
2179
  },
2180
2180
  set missingWarn(u) {
2181
- N = u, p.missingWarn = N;
2181
+ C = u, v.missingWarn = C;
2182
2182
  },
2183
2183
  get fallbackWarn() {
2184
2184
  return w;
2185
2185
  },
2186
2186
  set fallbackWarn(u) {
2187
- w = u, p.fallbackWarn = w;
2187
+ w = u, v.fallbackWarn = w;
2188
2188
  },
2189
2189
  get fallbackRoot() {
2190
- return R;
2190
+ return k;
2191
2191
  },
2192
2192
  set fallbackRoot(u) {
2193
- R = u;
2193
+ k = u;
2194
2194
  },
2195
2195
  get fallbackFormat() {
2196
- return k;
2196
+ return L;
2197
2197
  },
2198
2198
  set fallbackFormat(u) {
2199
- k = u, p.fallbackFormat = k;
2199
+ L = u, v.fallbackFormat = L;
2200
2200
  },
2201
2201
  get warnHtmlMessage() {
2202
2202
  return S;
2203
2203
  },
2204
2204
  set warnHtmlMessage(u) {
2205
- S = u, p.warnHtmlMessage = u;
2205
+ S = u, v.warnHtmlMessage = u;
2206
2206
  },
2207
2207
  get escapeParameter() {
2208
2208
  return m;
2209
2209
  },
2210
2210
  set escapeParameter(u) {
2211
- m = u, p.escapeParameter = u;
2211
+ m = u, v.escapeParameter = u;
2212
2212
  },
2213
2213
  t: X,
2214
2214
  getLocaleMessage: Fe,
2215
2215
  setLocaleMessage: Pe,
2216
- mergeLocaleMessage: Ge,
2216
+ mergeLocaleMessage: Ye,
2217
2217
  getPostTranslationHandler: P,
2218
2218
  setPostTranslationHandler: F,
2219
2219
  getMissingHandler: W,
2220
- setMissingHandler: V,
2221
- [Ca]: fe
2220
+ setMissingHandler: U,
2221
+ [Na]: fe
2222
2222
  };
2223
- return U.datetimeFormats = T, U.numberFormats = j, U.rt = te, U.te = Je, U.tm = We, U.d = Q, U.n = de, U.getDateTimeFormat = je, U.setDateTimeFormat = o, U.mergeDateTimeFormat = s, U.getNumberFormat = c, U.setNumberFormat = h, U.mergeNumberFormat = D, U[sr] = n, U[xt] = oe, U[Wt] = Y, U[Gt] = Re, U;
2223
+ return V.datetimeFormats = T, V.numberFormats = j, V.rt = te, V.te = $e, V.tm = We, V.d = Q, V.n = de, V.getDateTimeFormat = je, V.setDateTimeFormat = o, V.mergeDateTimeFormat = s, V.getNumberFormat = c, V.setNumberFormat = h, V.mergeNumberFormat = D, V[sr] = n, V[xt] = oe, V[Wt] = Z, V[Yt] = ke, V;
2224
2224
  }
2225
2225
  const qt = {
2226
2226
  tag: {
@@ -2240,7 +2240,7 @@ const qt = {
2240
2240
  type: Object
2241
2241
  }
2242
2242
  };
2243
- function La({ slots: e }, t) {
2243
+ function Ra({ slots: e }, t) {
2244
2244
  return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((r, a) => [
2245
2245
  ...r,
2246
2246
  // prettier-ignore
@@ -2263,23 +2263,23 @@ ge({
2263
2263
  validator: (e) => he(e) || !isNaN(e)
2264
2264
  }
2265
2265
  }, qt);
2266
- function ka(e) {
2267
- return ve(e) && !G(e[0]);
2266
+ function La(e) {
2267
+ return pe(e) && !Y(e[0]);
2268
2268
  }
2269
2269
  function ir(e, t, n, r) {
2270
2270
  const { slots: a, attrs: l } = t;
2271
2271
  return () => {
2272
2272
  const f = { part: !0 };
2273
2273
  let d = se();
2274
- e.locale && (f.locale = e.locale), G(e.format) ? f.key = e.format : ee(e.format) && (G(e.format.key) && (f.key = e.format.key), d = Object.keys(e.format).reduce((N, w) => n.includes(w) ? ge(se(), N, { [w]: e.format[w] }) : N, se()));
2274
+ e.locale && (f.locale = e.locale), Y(e.format) ? f.key = e.format : ee(e.format) && (Y(e.format.key) && (f.key = e.format.key), d = Object.keys(e.format).reduce((C, w) => n.includes(w) ? ge(se(), C, { [w]: e.format[w] }) : C, se()));
2275
2275
  const i = r(e.value, f, d);
2276
2276
  let g = [f.key];
2277
- ve(i) ? g = i.map((N, w) => {
2278
- const R = a[N.type], k = R ? R({ [N.type]: N.value, index: w, parts: i }) : [N.value];
2279
- return ka(k) && (k[0].key = `${N.type}-${w}`), k;
2280
- }) : G(i) && (g = [i]);
2281
- const C = ge(se(), l), O = G(e.tag) || ee(e.tag) ? e.tag : or();
2282
- return Wn(O, C, g);
2277
+ pe(i) ? g = i.map((C, w) => {
2278
+ const k = a[C.type], L = k ? k({ [C.type]: C.value, index: w, parts: i }) : [C.value];
2279
+ return La(L) && (L[0].key = `${C.type}-${w}`), L;
2280
+ }) : Y(i) && (g = [i]);
2281
+ const N = ge(se(), l), O = Y(e.tag) || ee(e.tag) ? e.tag : or();
2282
+ return Wn(O, N, g);
2283
2283
  };
2284
2284
  }
2285
2285
  ge({
@@ -2307,9 +2307,9 @@ function St(e = {}) {
2307
2307
  throw mt(ot.MUST_BE_CALL_SETUP_TOP);
2308
2308
  if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
2309
2309
  throw mt(ot.NOT_INSTALLED);
2310
- const n = Ra(t), r = wa(n), a = lr(t), l = Ma(e, a);
2310
+ const n = ka(t), r = wa(n), a = lr(t), l = Ma(e, a);
2311
2311
  if (l === "global")
2312
- return Na(r, e, a), r;
2312
+ return Ca(r, e, a), r;
2313
2313
  if (l === "parent") {
2314
2314
  let i = Da(n, t, e.__useComponent);
2315
2315
  return i == null && (i = r), i;
@@ -2318,18 +2318,18 @@ function St(e = {}) {
2318
2318
  let d = f.__getInstance(t);
2319
2319
  if (d == null) {
2320
2320
  const i = ge({}, e);
2321
- "__i18n" in a && (i.__i18n = a.__i18n), r && (i.__root = r), d = Sa(i), f.__composerExtend && (d[Zt] = f.__composerExtend(d)), Pa(f, t, d), f.__setInstance(t, d);
2321
+ "__i18n" in a && (i.__i18n = a.__i18n), r && (i.__root = r), d = Sa(i), f.__composerExtend && (d[Gt] = f.__composerExtend(d)), Pa(f, t, d), f.__setInstance(t, d);
2322
2322
  }
2323
2323
  return d;
2324
2324
  }
2325
- function Ra(e) {
2325
+ function ka(e) {
2326
2326
  const t = mr(e.isCE ? Aa : e.appContext.app.__VUE_I18N_SYMBOL__);
2327
2327
  if (!t)
2328
2328
  throw mt(e.isCE ? ot.NOT_INSTALLED_WITH_PROVIDE : ot.UNEXPECTED_ERROR);
2329
2329
  return t;
2330
2330
  }
2331
2331
  function Ma(e, t) {
2332
- return Nt(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
2332
+ return Ct(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
2333
2333
  }
2334
2334
  function wa(e) {
2335
2335
  return e.mode === "composition" ? e.global : e.global.__composer;
@@ -2360,19 +2360,19 @@ function Pa(e, t, n) {
2360
2360
  }, t), fr(() => {
2361
2361
  const r = n;
2362
2362
  e.__deleteInstance(t);
2363
- const a = r[Zt];
2364
- a && (a(), delete r[Zt]);
2363
+ const a = r[Gt];
2364
+ a && (a(), delete r[Gt]);
2365
2365
  }, t);
2366
2366
  }
2367
- Ia();
2367
+ Ea();
2368
2368
  qs(Ds);
2369
2369
  ea(Ks);
2370
- ta(Jn);
2370
+ ta($n);
2371
2371
  if (__INTLIFY_PROD_DEVTOOLS__) {
2372
- const e = $e();
2372
+ const e = Je();
2373
2373
  e.__INTLIFY__ = !0, Fs(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
2374
2374
  }
2375
- const pt = /* @__PURE__ */ Ae({
2375
+ const vt = /* @__PURE__ */ Ae({
2376
2376
  __name: "InheritPermissionTooltip",
2377
2377
  props: {
2378
2378
  item: {
@@ -2384,14 +2384,14 @@ const pt = /* @__PURE__ */ Ae({
2384
2384
  const { t } = St();
2385
2385
  return (n, r) => {
2386
2386
  const a = De("FmIcon"), l = De("FmTooltip");
2387
- return J(), Te(l, {
2387
+ return $(), Te(l, {
2388
2388
  variant: "plain",
2389
2389
  placement: "right",
2390
2390
  "z-index": 50
2391
2391
  }, {
2392
2392
  content: ce(() => [
2393
2393
  ie("div", null, Se(B(t)("team.memberForm.permissions.inherited")), 1),
2394
- (J(!0), re(we, null, Ce(e.item.setNames, (f) => (J(), re("div", { key: f }, [
2394
+ ($(!0), re(we, null, Ne(e.item.setNames, (f) => ($(), re("div", { key: f }, [
2395
2395
  ie("div", null, "- " + Se(f), 1)
2396
2396
  ]))), 128))
2397
2397
  ]),
@@ -2421,80 +2421,80 @@ function Mn(e, t, n) {
2421
2421
  actions: Array.from(l)
2422
2422
  });
2423
2423
  }
2424
- const wn = Object.values(Lr), ja = {
2424
+ const wn = Object.values(Rr), ja = {
2425
2425
  read: "View",
2426
2426
  create: "Duplicate",
2427
2427
  update: "Edit"
2428
2428
  };
2429
- function Va(e, t, n, r) {
2429
+ function Ua(e, t, n, r) {
2430
2430
  const { t: a } = Ke(), { getFlagValue: l, getFlag: f } = Sr(), d = z(() => {
2431
2431
  var F;
2432
2432
  const _ = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new Map(), j = /* @__PURE__ */ new Map();
2433
2433
  for (const W of t.value) {
2434
- const V = W.category;
2435
- if (!V) continue;
2436
- const Z = W.subject;
2434
+ const U = W.category;
2435
+ if (!U) continue;
2436
+ const G = W.subject;
2437
2437
  if (n.value.includes(W.subject) || W.showByFeatureFlag && ((F = f(W.showByFeatureFlag)) == null ? void 0 : F.enabled) === !1 && l(W.showByFeatureFlag) === "true")
2438
2438
  continue;
2439
- _.has(V) || _.set(V, []);
2440
- const X = j.get(Z) ?? 0;
2441
- j.set(Z, X + 1), _.get(V).push({
2442
- label: a(`permissionSet.permissionLabels.${Z}`, W.label),
2443
- value: Z,
2444
- optionKey: `${Z}::${X}`
2445
- }), T.has(Z) || T.set(Z, W);
2439
+ _.has(U) || _.set(U, []);
2440
+ const X = j.get(G) ?? 0;
2441
+ j.set(G, X + 1), _.get(U).push({
2442
+ label: a(`permissionSet.permissionLabels.${G}`, W.label),
2443
+ value: G,
2444
+ optionKey: `${G}::${X}`
2445
+ }), T.has(G) || T.set(G, W);
2446
2446
  }
2447
- return [..._.keys()].sort((W, V) => {
2448
- const Z = wn.indexOf(W), X = wn.indexOf(V);
2449
- return Z === -1 && X === -1 ? W.localeCompare(V) : Z === -1 ? 1 : X === -1 ? -1 : Z - X;
2447
+ return [..._.keys()].sort((W, U) => {
2448
+ const G = wn.indexOf(W), X = wn.indexOf(U);
2449
+ return G === -1 && X === -1 ? W.localeCompare(U) : G === -1 ? 1 : X === -1 ? -1 : G - X;
2450
2450
  }).map((W) => {
2451
- const V = _.get(W), Z = a(`permissionSet.categoryLabels.${W}`, W), X = /* @__PURE__ */ new Map();
2452
- for (const Y of V) {
2453
- const fe = T.get(Y.value);
2454
- fe && X.set(Y.value, fe.actions);
2451
+ const U = _.get(W), G = a(`permissionSet.categoryLabels.${W}`, W), X = /* @__PURE__ */ new Map();
2452
+ for (const Z of U) {
2453
+ const fe = T.get(Z.value);
2454
+ fe && X.set(Z.value, fe.actions);
2455
2455
  }
2456
- const te = V.some((Y) => {
2457
- const fe = X.get(Y.value);
2456
+ const te = U.some((Z) => {
2457
+ const fe = X.get(Z.value);
2458
2458
  return fe && fe.length > 1;
2459
2459
  }), Q = te ? [
2460
2460
  ...new Set(
2461
- V.flatMap((Y) => X.get(Y.value) ?? []).filter((Y) => Y !== "manage")
2461
+ U.flatMap((Z) => X.get(Z.value) ?? []).filter((Z) => Z !== "manage")
2462
2462
  )
2463
2463
  ] : [], de = /* @__PURE__ */ new Map();
2464
- for (const Y of e.value)
2465
- V.some((fe) => fe.value === Y.subject) && !Y.inverted && de.set(Y.subject, new Set(Y.actions));
2466
- const pe = te ? e.value.filter(
2467
- (Y) => V.some((fe) => fe.value === Y.subject) && !Y.inverted && Y.actions.includes("manage")
2468
- ).map((Y) => Y.subject) : e.value.filter((Y) => V.some((fe) => fe.value === Y.subject) && !Y.inverted).map((Y) => Y.subject), be = V.find((Y) => {
2464
+ for (const Z of e.value)
2465
+ U.some((fe) => fe.value === Z.subject) && !Z.inverted && de.set(Z.subject, new Set(Z.actions));
2466
+ const ve = te ? e.value.filter(
2467
+ (Z) => U.some((fe) => fe.value === Z.subject) && !Z.inverted && Z.actions.includes("manage")
2468
+ ).map((Z) => Z.subject) : e.value.filter((Z) => U.some((fe) => fe.value === Z.subject) && !Z.inverted).map((Z) => Z.subject), be = U.find((Z) => {
2469
2469
  var fe;
2470
- return (fe = T.get(Y.value)) == null ? void 0 : fe.isCategoryCover;
2471
- }), ae = (be == null ? void 0 : be.value) ?? null, oe = ae ? de.get(ae) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(), Re = oe.has("manage");
2470
+ return (fe = T.get(Z.value)) == null ? void 0 : fe.isCategoryCover;
2471
+ }), ae = (be == null ? void 0 : be.value) ?? null, oe = ae ? de.get(ae) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(), ke = oe.has("manage");
2472
2472
  return {
2473
2473
  category: W,
2474
- label: Z,
2475
- options: V,
2476
- selectedSubjects: pe,
2474
+ label: G,
2475
+ options: U,
2476
+ selectedSubjects: ve,
2477
2477
  isMultiAction: te,
2478
2478
  actionColumns: Q,
2479
2479
  permissionActionsMap: X,
2480
2480
  selectedActionsMap: de,
2481
2481
  coverSubject: ae,
2482
2482
  coverSelectedActions: oe,
2483
- coverCoversAll: Re
2483
+ coverCoversAll: ke
2484
2484
  };
2485
2485
  });
2486
2486
  });
2487
2487
  function i(_, T) {
2488
- const j = d.value.find((Q) => Q.category === _), P = (j == null ? void 0 : j.options) ?? [], F = new Set(P.map((Q) => Q.value)), W = new Set(T), V = /* @__PURE__ */ new Map();
2488
+ const j = d.value.find((Q) => Q.category === _), P = (j == null ? void 0 : j.options) ?? [], F = new Set(P.map((Q) => Q.value)), W = new Set(T), U = /* @__PURE__ */ new Map();
2489
2489
  for (const Q of e.value)
2490
- F.has(Q.subject) && !Q.inverted && V.set(Q.subject, Q.conditions);
2491
- const Z = j != null && j.coverSubject ? V.get(j.coverSubject) : void 0, X = /* @__PURE__ */ new Set(), te = t.value.flatMap(
2492
- ({ category: Q, showByFeatureFlag: de, isCategoryCover: pe, ...be }) => {
2490
+ F.has(Q.subject) && !Q.inverted && U.set(Q.subject, Q.conditions);
2491
+ const G = j != null && j.coverSubject ? U.get(j.coverSubject) : void 0, X = /* @__PURE__ */ new Set(), te = t.value.flatMap(
2492
+ ({ category: Q, showByFeatureFlag: de, isCategoryCover: ve, ...be }) => {
2493
2493
  const ae = be.subject;
2494
2494
  if (!W.has(ae) || X.has(ae)) return [];
2495
2495
  X.add(ae);
2496
2496
  let oe;
2497
- return V.has(ae) ? oe = V.get(ae) : j != null && j.coverSubject && ae !== j.coverSubject && (oe = Z), [
2497
+ return U.has(ae) ? oe = U.get(ae) : j != null && j.coverSubject && ae !== j.coverSubject && (oe = G), [
2498
2498
  { ...be, ...oe !== void 0 && { conditions: oe } }
2499
2499
  ];
2500
2500
  }
@@ -2507,48 +2507,48 @@ function Va(e, t, n, r) {
2507
2507
  function g(_, T) {
2508
2508
  return w(_, T) || m(_, T);
2509
2509
  }
2510
- function C(_) {
2510
+ function N(_) {
2511
2511
  return _.options.length > 0 && _.options.every((T) => g(_, T.value));
2512
2512
  }
2513
2513
  function O(_) {
2514
- return _.options.length === 0 || C(_) ? !1 : _.options.some(
2515
- (T) => g(_, T.value) || R(_, T.value).length > 0
2514
+ return _.options.length === 0 || N(_) ? !1 : _.options.some(
2515
+ (T) => g(_, T.value) || k(_, T.value).length > 0
2516
2516
  );
2517
2517
  }
2518
- function N(_) {
2518
+ function C(_) {
2519
2519
  const T = new Set(_.options.map((P) => P.value)), j = e.value.filter((P) => !T.has(P.subject));
2520
- if (C(_))
2520
+ if (N(_))
2521
2521
  r("update:model-value", j);
2522
2522
  else {
2523
2523
  const P = /* @__PURE__ */ new Map();
2524
- for (const Z of e.value)
2525
- T.has(Z.subject) && !Z.inverted && P.set(Z.subject, Z.conditions);
2526
- const F = _.coverSubject ? P.get(_.coverSubject) : void 0, W = /* @__PURE__ */ new Set(), V = t.value.flatMap(
2527
- ({ category: Z, showByFeatureFlag: X, isCategoryCover: te, ...Q }) => {
2524
+ for (const G of e.value)
2525
+ T.has(G.subject) && !G.inverted && P.set(G.subject, G.conditions);
2526
+ const F = _.coverSubject ? P.get(_.coverSubject) : void 0, W = /* @__PURE__ */ new Set(), U = t.value.flatMap(
2527
+ ({ category: G, showByFeatureFlag: X, isCategoryCover: te, ...Q }) => {
2528
2528
  const de = Q.subject;
2529
2529
  if (!T.has(de) || W.has(de)) return [];
2530
2530
  W.add(de);
2531
- let pe;
2532
- return P.has(de) ? pe = P.get(de) : _.coverSubject && de !== _.coverSubject && (pe = F), [
2533
- { ...Q, ...pe !== void 0 && { conditions: pe } }
2531
+ let ve;
2532
+ return P.has(de) ? ve = P.get(de) : _.coverSubject && de !== _.coverSubject && (ve = F), [
2533
+ { ...Q, ...ve !== void 0 && { conditions: ve } }
2534
2534
  ];
2535
2535
  }
2536
2536
  );
2537
- r("update:model-value", [...j, ...V]);
2537
+ r("update:model-value", [...j, ...U]);
2538
2538
  }
2539
2539
  }
2540
2540
  function w(_, T) {
2541
2541
  const j = _.selectedActionsMap.get(T);
2542
2542
  return j ? j.has("manage") : !1;
2543
2543
  }
2544
- function R(_, T) {
2544
+ function k(_, T) {
2545
2545
  const j = _.permissionActionsMap.get(T);
2546
2546
  return j ? j.filter((F) => F !== "manage").filter(
2547
- (F) => S(_, T, F) || y(_, T, F)
2547
+ (F) => S(_, T, F) || I(_, T, F)
2548
2548
  ) : [];
2549
2549
  }
2550
- function k(_, T) {
2551
- return m(_, T) ? !1 : !w(_, T) && R(_, T).length > 0;
2550
+ function L(_, T) {
2551
+ return m(_, T) ? !1 : !w(_, T) && k(_, T).length > 0;
2552
2552
  }
2553
2553
  function M(_, T) {
2554
2554
  if (!_.coverSubject || T === _.coverSubject) return;
@@ -2557,18 +2557,18 @@ function Va(e, t, n, r) {
2557
2557
  );
2558
2558
  return (j == null ? void 0 : j.conditions) || void 0;
2559
2559
  }
2560
- function v(_, T, j) {
2560
+ function p(_, T, j) {
2561
2561
  if (j) {
2562
2562
  const P = t.value.find((Q) => Q.subject === T);
2563
2563
  if (!P) return;
2564
2564
  const {
2565
2565
  category: F,
2566
2566
  showByFeatureFlag: W,
2567
- isCategoryCover: V,
2568
- ...Z
2567
+ isCategoryCover: U,
2568
+ ...G
2569
2569
  } = P, X = M(_, T), te = e.value.filter((Q) => Q.subject !== T);
2570
2570
  te.push({
2571
- ...Z,
2571
+ ...G,
2572
2572
  ...X !== void 0 && { conditions: X }
2573
2573
  }), r("update:model-value", te);
2574
2574
  } else
@@ -2588,72 +2588,72 @@ function Va(e, t, n, r) {
2588
2588
  function m(_, T) {
2589
2589
  return !_.coverSubject || T === _.coverSubject ? !1 : _.coverCoversAll;
2590
2590
  }
2591
- function y(_, T, j) {
2591
+ function I(_, T, j) {
2592
2592
  return !_.coverSubject || T === _.coverSubject ? !1 : _.coverCoversAll ? !0 : _.coverSelectedActions.has(j);
2593
2593
  }
2594
- function I(_, T, j) {
2594
+ function E(_, T, j) {
2595
2595
  const P = _.permissionActionsMap.get(T);
2596
2596
  return P ? P.includes(j) : !1;
2597
2597
  }
2598
- function p(_, T, j) {
2599
- const P = [...e.value], F = P.findIndex((V) => V.subject === _ && !V.inverted);
2598
+ function v(_, T, j) {
2599
+ const P = [...e.value], F = P.findIndex((U) => U.subject === _ && !U.inverted);
2600
2600
  if (j)
2601
2601
  if (F >= 0) {
2602
- const V = { ...P[F] }, Z = new Set(V.actions);
2603
- Z.add(T), V.actions = Array.from(Z), P[F] = V;
2602
+ const U = { ...P[F] }, G = new Set(U.actions);
2603
+ G.add(T), U.actions = Array.from(G), P[F] = U;
2604
2604
  } else {
2605
- const V = t.value.find((be) => be.subject === _);
2606
- if (!V) return;
2605
+ const U = t.value.find((be) => be.subject === _);
2606
+ if (!U) return;
2607
2607
  const {
2608
- category: Z,
2608
+ category: G,
2609
2609
  showByFeatureFlag: X,
2610
2610
  isCategoryCover: te,
2611
2611
  ...Q
2612
- } = V, de = d.value.find(
2612
+ } = U, de = d.value.find(
2613
2613
  (be) => be.options.some((ae) => ae.value === _)
2614
- ), pe = de ? M(de, _) : void 0;
2614
+ ), ve = de ? M(de, _) : void 0;
2615
2615
  P.push({
2616
2616
  ...Q,
2617
2617
  actions: [T],
2618
- ...pe !== void 0 && { conditions: pe }
2618
+ ...ve !== void 0 && { conditions: ve }
2619
2619
  });
2620
2620
  }
2621
2621
  else if (F >= 0) {
2622
- const V = { ...P[F] }, Z = V.actions.filter((X) => X !== T);
2623
- Z.length === 0 ? P.splice(F, 1) : (V.actions = Z, P[F] = V);
2622
+ const U = { ...P[F] }, G = U.actions.filter((X) => X !== T);
2623
+ G.length === 0 ? P.splice(F, 1) : (U.actions = G, P[F] = U);
2624
2624
  }
2625
- const W = t.value.find((V) => V.subject === _);
2625
+ const W = t.value.find((U) => U.subject === _);
2626
2626
  W && Mn(P, _, W.actions), r("update:model-value", P);
2627
2627
  }
2628
2628
  function A(_, T) {
2629
2629
  const j = _.options.filter(
2630
- (P) => I(_, P.value, T)
2630
+ (P) => E(_, P.value, T)
2631
2631
  );
2632
2632
  return j.length === 0 ? !1 : j.every(
2633
- (P) => S(_, P.value, T) || y(_, P.value, T)
2633
+ (P) => S(_, P.value, T) || I(_, P.value, T)
2634
2634
  );
2635
2635
  }
2636
- function L(_, T) {
2636
+ function R(_, T) {
2637
2637
  const j = _.options.filter(
2638
- (F) => I(_, F.value, T)
2638
+ (F) => E(_, F.value, T)
2639
2639
  );
2640
2640
  if (j.length === 0) return !1;
2641
2641
  const P = j.filter(
2642
- (F) => S(_, F.value, T) || y(_, F.value, T)
2642
+ (F) => S(_, F.value, T) || I(_, F.value, T)
2643
2643
  ).length;
2644
2644
  return P > 0 && P < j.length;
2645
2645
  }
2646
2646
  function H(_, T, j) {
2647
2647
  const P = [...e.value];
2648
2648
  for (const F of _.options) {
2649
- if (!I(_, F.value, T)) continue;
2650
- const W = F.value, V = P.findIndex(
2649
+ if (!E(_, F.value, T)) continue;
2650
+ const W = F.value, U = P.findIndex(
2651
2651
  (X) => X.subject === W && !X.inverted
2652
2652
  );
2653
2653
  if (j)
2654
- if (V >= 0) {
2655
- const X = { ...P[V] }, te = new Set(X.actions);
2656
- te.add(T), X.actions = Array.from(te), P[V] = X;
2654
+ if (U >= 0) {
2655
+ const X = { ...P[U] }, te = new Set(X.actions);
2656
+ te.add(T), X.actions = Array.from(te), P[U] = X;
2657
2657
  } else {
2658
2658
  const X = t.value.find((ae) => ae.subject === W);
2659
2659
  if (!X) continue;
@@ -2661,20 +2661,20 @@ function Va(e, t, n, r) {
2661
2661
  category: te,
2662
2662
  showByFeatureFlag: Q,
2663
2663
  isCategoryCover: de,
2664
- ...pe
2664
+ ...ve
2665
2665
  } = X, be = M(_, W);
2666
2666
  P.push({
2667
- ...pe,
2667
+ ...ve,
2668
2668
  actions: [T],
2669
2669
  ...be !== void 0 && { conditions: be }
2670
2670
  });
2671
2671
  }
2672
- else if (V >= 0) {
2673
- const X = { ...P[V] }, te = X.actions.filter((Q) => Q !== T);
2674
- te.length === 0 ? P.splice(V, 1) : (X.actions = te, P[V] = X);
2672
+ else if (U >= 0) {
2673
+ const X = { ...P[U] }, te = X.actions.filter((Q) => Q !== T);
2674
+ te.length === 0 ? P.splice(U, 1) : (X.actions = te, P[U] = X);
2675
2675
  }
2676
- const Z = t.value.find((X) => X.subject === W);
2677
- Z && Mn(P, W, Z.actions);
2676
+ const G = t.value.find((X) => X.subject === W);
2677
+ G && Mn(P, W, G.actions);
2678
2678
  }
2679
2679
  r("update:model-value", P);
2680
2680
  }
@@ -2685,25 +2685,25 @@ function Va(e, t, n, r) {
2685
2685
  return {
2686
2686
  categoryGroups: d,
2687
2687
  toggleCategory: i,
2688
- isAllManageChecked: C,
2688
+ isAllManageChecked: N,
2689
2689
  isAllManageIndeterminate: O,
2690
- toggleAllManage: N,
2690
+ toggleAllManage: C,
2691
2691
  isManageChecked: w,
2692
- isManageIndeterminate: k,
2693
- toggleManage: v,
2692
+ isManageIndeterminate: L,
2693
+ toggleManage: p,
2694
2694
  hasNonManageActions: b,
2695
2695
  isActionChecked: S,
2696
2696
  isRowFullyCoveredByCover: m,
2697
- isActionCoveredByCover: y,
2698
- permissionDefinesAction: I,
2699
- toggleAction: p,
2697
+ isActionCoveredByCover: I,
2698
+ permissionDefinesAction: E,
2699
+ toggleAction: v,
2700
2700
  isAllActionChecked: A,
2701
- isAllActionIndeterminate: L,
2701
+ isAllActionIndeterminate: R,
2702
2702
  toggleAllAction: H,
2703
2703
  actionLabel: x
2704
2704
  };
2705
2705
  }
2706
- const Ua = { class: "flex flex-col gap-16" }, xa = { class: "mt-16" }, Wa = { class: "text-center text-sm font-semibold text-fm-color-typo-primary" }, Ga = ["onClick"], Za = { class: "flex justify-center" }, Ya = { class: "flex items-center min-w-0 gap-8" }, Xa = ["title", "onClick"], Ba = { class: "flex justify-center" }, Ha = /* @__PURE__ */ Ae({
2706
+ const Va = { class: "flex flex-col gap-16" }, xa = { class: "mt-16" }, Wa = { class: "text-center text-sm font-semibold text-fm-color-typo-primary" }, Ya = ["onClick"], Ga = { class: "flex justify-center" }, Za = { class: "flex items-center min-w-0 gap-8" }, Xa = ["title", "onClick"], Ba = { class: "flex justify-center" }, Ha = /* @__PURE__ */ Ae({
2707
2707
  __name: "BasePermission",
2708
2708
  props: {
2709
2709
  modelValue: {
@@ -2730,50 +2730,50 @@ const Ua = { class: "flex flex-col gap-16" }, xa = { class: "mt-16" }, Wa = { cl
2730
2730
  },
2731
2731
  emits: ["update:model-value"],
2732
2732
  setup(e, { emit: t }) {
2733
- const n = e, r = t, { t: a } = Ke(), l = z(() => [...Gn, ...n.additionalPermissions]), {
2733
+ const n = e, r = t, { t: a } = Ke(), l = z(() => [...Yn, ...n.additionalPermissions]), {
2734
2734
  categoryGroups: f,
2735
2735
  isAllManageChecked: d,
2736
2736
  isAllManageIndeterminate: i,
2737
2737
  toggleAllManage: g,
2738
- isManageChecked: C,
2738
+ isManageChecked: N,
2739
2739
  isManageIndeterminate: O,
2740
- toggleManage: N,
2740
+ toggleManage: C,
2741
2741
  isActionChecked: w,
2742
- isRowFullyCoveredByCover: R,
2743
- isActionCoveredByCover: k,
2742
+ isRowFullyCoveredByCover: k,
2743
+ isActionCoveredByCover: L,
2744
2744
  permissionDefinesAction: M,
2745
- toggleAction: v,
2745
+ toggleAction: p,
2746
2746
  isAllActionChecked: b,
2747
2747
  isAllActionIndeterminate: S,
2748
2748
  toggleAllAction: m,
2749
- actionLabel: y
2750
- } = Va(
2749
+ actionLabel: I
2750
+ } = Ua(
2751
2751
  en(n, "modelValue"),
2752
2752
  l,
2753
2753
  en(n, "excludedSubjects"),
2754
- (A, L) => r("update:model-value", L)
2754
+ (A, R) => r("update:model-value", R)
2755
2755
  );
2756
- function I(A) {
2757
- const L = A.selectedSubjects.length;
2758
- return L === 0 && n.layout !== "leading" ? "" : a("team.memberForm.permissions.allowedCount", { count: L });
2756
+ function E(A) {
2757
+ const R = A.selectedSubjects.length;
2758
+ return R === 0 && n.layout !== "leading" ? "" : a("team.memberForm.permissions.allowedCount", { count: R });
2759
2759
  }
2760
- function p(A, L) {
2761
- return C(A, L) || R(A, L) ? !0 : A.actionColumns.some(
2762
- (H) => M(A, L, H) && (w(A, L, H) || k(A, L, H))
2760
+ function v(A, R) {
2761
+ return N(A, R) || k(A, R) ? !0 : A.actionColumns.some(
2762
+ (H) => M(A, R, H) && (w(A, R, H) || L(A, R, H))
2763
2763
  );
2764
2764
  }
2765
- return (A, L) => {
2765
+ return (A, R) => {
2766
2766
  const H = De("FmCheckbox");
2767
- return J(), re("div", Ua, [
2768
- (J(!0), re(we, null, Ce(B(f), (x) => (J(), Te(Bt, {
2767
+ return $(), re("div", Va, [
2768
+ ($(!0), re(we, null, Ne(B(f), (x) => ($(), Te(Bt, {
2769
2769
  key: x.category,
2770
- subtitle: I(x),
2770
+ subtitle: E(x),
2771
2771
  layout: e.layout,
2772
2772
  "initially-collapsed": e.layout === "leading"
2773
2773
  }, {
2774
2774
  title: ce(() => [
2775
2775
  ie("p", {
2776
- class: Ie(e.layout === "leading" ? "text-[18px] font-semibold leading-[24px] tracking-[-0.27px]" : "fm-typo-en-title-sm-600")
2776
+ class: Ee(e.layout === "leading" ? "text-[18px] font-semibold leading-[24px] tracking-[-0.27px]" : "fm-typo-en-title-sm-600")
2777
2777
  }, Se(x.label), 3)
2778
2778
  ]),
2779
2779
  default: ce(() => [
@@ -2784,12 +2784,12 @@ const Ua = { class: "flex flex-col gap-16" }, xa = { class: "mt-16" }, Wa = { cl
2784
2784
  gridTemplateColumns: `minmax(0, 1fr) repeat(${x.actionColumns.length + 1}, 80px)`
2785
2785
  })
2786
2786
  }, [
2787
- L[0] || (L[0] = ie("div", null, null, -1)),
2787
+ R[0] || (R[0] = ie("div", null, null, -1)),
2788
2788
  ie("div", Wa, Se(B(a)("team.memberForm.permissions.columnManage")), 1),
2789
- (J(!0), re(we, null, Ce(x.actionColumns, (_) => (J(), re("div", {
2789
+ ($(!0), re(we, null, Ne(x.actionColumns, (_) => ($(), re("div", {
2790
2790
  key: `header-${_}`,
2791
2791
  class: "text-center text-sm font-semibold text-fm-color-typo-primary"
2792
- }, Se(B(y)(_)), 1))), 128))
2792
+ }, Se(B(I)(_)), 1))), 128))
2793
2793
  ], 4),
2794
2794
  ie("div", {
2795
2795
  class: "grid items-center bg-fm-color-neutral-gray-100 px-12 py-8",
@@ -2800,8 +2800,8 @@ const Ua = { class: "flex flex-col gap-16" }, xa = { class: "mt-16" }, Wa = { cl
2800
2800
  ie("div", {
2801
2801
  class: "cursor-pointer font-semibold",
2802
2802
  onClick: (_) => !e.disable && B(g)(x)
2803
- }, Se(B(a)("team.labels.all")), 9, Ga),
2804
- ie("div", Za, [
2803
+ }, Se(B(a)("team.labels.all")), 9, Ya),
2804
+ ie("div", Ga, [
2805
2805
  le(H, {
2806
2806
  "model-value": B(d)(x),
2807
2807
  indeterminate: B(i)(x),
@@ -2812,7 +2812,7 @@ const Ua = { class: "flex flex-col gap-16" }, xa = { class: "mt-16" }, Wa = { cl
2812
2812
  "onUpdate:modelValue": (_) => B(g)(x)
2813
2813
  }, null, 8, ["model-value", "indeterminate", "disabled", "onUpdate:modelValue"])
2814
2814
  ]),
2815
- (J(!0), re(we, null, Ce(x.actionColumns, (_) => (J(), re("div", {
2815
+ ($(!0), re(we, null, Ne(x.actionColumns, (_) => ($(), re("div", {
2816
2816
  key: `all-${_}`,
2817
2817
  class: "flex justify-center"
2818
2818
  }, [
@@ -2827,53 +2827,53 @@ const Ua = { class: "flex flex-col gap-16" }, xa = { class: "mt-16" }, Wa = { cl
2827
2827
  }, null, 8, ["model-value", "indeterminate", "value", "disabled", "onUpdate:modelValue"])
2828
2828
  ]))), 128))
2829
2829
  ], 4),
2830
- L[1] || (L[1] = ie("div", { class: "h-px bg-fm-color-neutral-gray-200" }, null, -1)),
2831
- (J(!0), re(we, null, Ce(x.options, (_) => (J(), re("div", {
2830
+ R[1] || (R[1] = ie("div", { class: "h-px bg-fm-color-neutral-gray-200" }, null, -1)),
2831
+ ($(!0), re(we, null, Ne(x.options, (_) => ($(), re("div", {
2832
2832
  key: _.optionKey,
2833
2833
  class: "grid items-center rounded px-12 py-8 transition-colors hover:bg-fm-color-neutral-gray-100",
2834
2834
  style: rt({
2835
2835
  gridTemplateColumns: `minmax(0, 1fr) repeat(${x.actionColumns.length + 1}, 80px)`
2836
2836
  })
2837
2837
  }, [
2838
- ie("div", Ya, [
2838
+ ie("div", Za, [
2839
2839
  ie("span", {
2840
2840
  class: "block truncate cursor-pointer",
2841
2841
  title: _.label,
2842
- onClick: (T) => !e.disable && !B(R)(x, _.value) && B(N)(x, _.value, !B(C)(x, _.value))
2842
+ onClick: (T) => !e.disable && !B(k)(x, _.value) && B(C)(x, _.value, !B(N)(x, _.value))
2843
2843
  }, Se(_.label), 9, Xa),
2844
- Le(A.$slots, `checkbox-${_.value}-append`, {
2844
+ Re(A.$slots, `checkbox-${_.value}-append`, {
2845
2845
  option: _,
2846
- isEffectiveSelected: p(x, _.value),
2847
- isCoveredByCover: B(R)(x, _.value) || x.actionColumns.some((T) => B(k)(x, _.value, T))
2846
+ isEffectiveSelected: v(x, _.value),
2847
+ isCoveredByCover: B(k)(x, _.value) || x.actionColumns.some((T) => B(L)(x, _.value, T))
2848
2848
  }),
2849
- Le(A.$slots, `checkbox-${_.value}-icon`, {
2849
+ Re(A.$slots, `checkbox-${_.value}-icon`, {
2850
2850
  option: _,
2851
- isEffectiveSelected: p(x, _.value),
2852
- isCoveredByCover: B(R)(x, _.value) || x.actionColumns.some((T) => B(k)(x, _.value, T))
2851
+ isEffectiveSelected: v(x, _.value),
2852
+ isCoveredByCover: B(k)(x, _.value) || x.actionColumns.some((T) => B(L)(x, _.value, T))
2853
2853
  })
2854
2854
  ]),
2855
2855
  ie("div", Ba, [
2856
2856
  le(H, {
2857
- "model-value": B(C)(x, _.value) || B(R)(x, _.value),
2857
+ "model-value": B(N)(x, _.value) || B(k)(x, _.value),
2858
2858
  value: _.value,
2859
- disabled: e.disable || B(R)(x, _.value),
2859
+ disabled: e.disable || B(k)(x, _.value),
2860
2860
  indeterminate: B(O)(x, _.value),
2861
2861
  size: "sm",
2862
- "onUpdate:modelValue": (T) => B(N)(x, _.value, T)
2862
+ "onUpdate:modelValue": (T) => B(C)(x, _.value, T)
2863
2863
  }, null, 8, ["model-value", "value", "disabled", "indeterminate", "onUpdate:modelValue"])
2864
2864
  ]),
2865
- (J(!0), re(we, null, Ce(x.actionColumns, (T) => (J(), re("div", {
2865
+ ($(!0), re(we, null, Ne(x.actionColumns, (T) => ($(), re("div", {
2866
2866
  key: `${_.optionKey}-${T}`,
2867
2867
  class: "flex justify-center"
2868
2868
  }, [
2869
- B(M)(x, _.value, T) ? (J(), Te(H, {
2869
+ B(M)(x, _.value, T) ? ($(), Te(H, {
2870
2870
  key: 0,
2871
- "model-value": B(w)(x, _.value, T) || B(k)(x, _.value, T),
2871
+ "model-value": B(w)(x, _.value, T) || B(L)(x, _.value, T),
2872
2872
  value: T,
2873
- disabled: e.disable || B(k)(x, _.value, T),
2873
+ disabled: e.disable || B(L)(x, _.value, T),
2874
2874
  size: "sm",
2875
- "onUpdate:modelValue": (j) => B(v)(_.value, T, j)
2876
- }, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) : Ne("", !0)
2875
+ "onUpdate:modelValue": (j) => B(p)(_.value, T, j)
2876
+ }, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) : Ce("", !0)
2877
2877
  ]))), 128))
2878
2878
  ], 4))), 128))
2879
2879
  ])
@@ -2883,7 +2883,7 @@ const Ua = { class: "flex flex-col gap-16" }, xa = { class: "mt-16" }, Wa = { cl
2883
2883
  ]);
2884
2884
  };
2885
2885
  }
2886
- }), Ja = { class: "space-y-16" }, $a = {
2886
+ }), $a = { class: "space-y-16" }, Ja = {
2887
2887
  key: 0,
2888
2888
  class: "flex fm-typo-en-title-sm-600"
2889
2889
  }, Ka = {
@@ -2907,18 +2907,18 @@ const Ua = { class: "flex flex-col gap-16" }, xa = { class: "mt-16" }, Wa = { cl
2907
2907
  },
2908
2908
  setup(e) {
2909
2909
  const t = e;
2910
- return (n, r) => (J(), re("div", Ja, [
2911
- Le(n.$slots, "top", {}, () => [
2912
- t.title ? (J(), re("div", $a, [
2910
+ return (n, r) => ($(), re("div", $a, [
2911
+ Re(n.$slots, "top", {}, () => [
2912
+ t.title ? ($(), re("div", Ja, [
2913
2913
  ie("div", null, [
2914
- t.required ? (J(), re("span", Ka, "*")) : Ne("", !0),
2915
- vr(Se(t.title), 1)
2914
+ t.required ? ($(), re("span", Ka, "*")) : Ce("", !0),
2915
+ pr(Se(t.title), 1)
2916
2916
  ]),
2917
- Le(n.$slots, "title-right")
2918
- ])) : Ne("", !0)
2917
+ Re(n.$slots, "title-right")
2918
+ ])) : Ce("", !0)
2919
2919
  ]),
2920
2920
  ie("div", za, [
2921
- Le(n.$slots, "default")
2921
+ Re(n.$slots, "default")
2922
2922
  ])
2923
2923
  ]));
2924
2924
  }
@@ -2983,38 +2983,38 @@ const Ua = { class: "flex flex-col gap-16" }, xa = { class: "mt-16" }, Wa = { cl
2983
2983
  },
2984
2984
  emits: ["update:model-value"],
2985
2985
  setup(e, { emit: t }) {
2986
- const n = e, r = t, { t: a } = Ke(), l = st(!1), f = pr(), d = z(() => n.modelValue.length < n.min ? `Min selection ${n.min}` : n.max !== void 0 && n.modelValue.length > n.max ? `Max selection ${n.max}` : !0), i = `checkbox-${Mr(6)}`, g = z(() => d.value !== !0), C = z(
2987
- () => n.modelValue.filter((k) => n.options.some((M) => M.value === k))
2986
+ const n = e, r = t, { t: a } = Ke(), l = st(!1), f = vr(), d = z(() => n.modelValue.length < n.min ? `Min selection ${n.min}` : n.max !== void 0 && n.modelValue.length > n.max ? `Max selection ${n.max}` : !0), i = `checkbox-${Mr(6)}`, g = z(() => d.value !== !0), N = z(
2987
+ () => n.modelValue.filter((L) => n.options.some((M) => M.value === L))
2988
2988
  ), O = z(
2989
2989
  () => typeof n.showAllToggle == "boolean" ? a("team.labels.all") : n.showAllToggle
2990
- ), N = z(() => n.options.length > 0 && n.options.length === C.value.length);
2990
+ ), C = z(() => n.options.length > 0 && n.options.length === N.value.length);
2991
2991
  function w() {
2992
- const k = n.modelValue.filter((M) => !C.value.includes(M));
2993
- if (N.value === !0)
2994
- r("update:model-value", k);
2992
+ const L = n.modelValue.filter((M) => !N.value.includes(M));
2993
+ if (C.value === !0)
2994
+ r("update:model-value", L);
2995
2995
  else {
2996
- const M = n.includeDisabledOptionsWhenSelectAll ? n.options.map((v) => v.value) : n.options.filter((v) => !v.disabled).map((v) => v.value);
2997
- r("update:model-value", [...k, ...M]);
2996
+ const M = n.includeDisabledOptionsWhenSelectAll ? n.options.map((p) => p.value) : n.options.filter((p) => !p.disabled).map((p) => p.value);
2997
+ r("update:model-value", [...L, ...M]);
2998
2998
  }
2999
2999
  }
3000
- function R(k, M) {
3001
- let v = yt(n.modelValue);
3002
- M ? v.every((b) => b !== k) && v.push(k) : v = v.filter((b) => b !== k), r("update:model-value", v);
3000
+ function k(L, M) {
3001
+ let p = It(n.modelValue);
3002
+ M ? p.every((b) => b !== L) && p.push(L) : p = p.filter((b) => b !== L), r("update:model-value", p);
3003
3003
  }
3004
- return (k, M) => {
3005
- const v = De("FmCheckbox");
3006
- return J(), Te(Qa, {
3004
+ return (L, M) => {
3005
+ const p = De("FmCheckbox");
3006
+ return $(), Te(Qa, {
3007
3007
  id: i,
3008
3008
  title: e.title,
3009
3009
  required: !1
3010
3010
  }, {
3011
3011
  top: ce(() => [
3012
- Le(k.$slots, "top")
3012
+ Re(L.$slots, "top")
3013
3013
  ]),
3014
3014
  default: ce(() => [
3015
- n.showAllToggle ? (J(), Te(v, {
3015
+ n.showAllToggle ? ($(), Te(p, {
3016
3016
  key: 0,
3017
- "model-value": N.value,
3017
+ "model-value": C.value,
3018
3018
  disabled: e.disable,
3019
3019
  label: O.value,
3020
3020
  style: rt(`margin-bottom: ${n.gutter}px`),
@@ -3022,53 +3022,53 @@ const Ua = { class: "flex flex-col gap-16" }, xa = { class: "mt-16" }, Wa = { cl
3022
3022
  dense: "",
3023
3023
  value: O.value,
3024
3024
  "onUpdate:modelValue": w
3025
- }, null, 8, ["model-value", "disabled", "label", "style", "value"])) : Ne("", !0),
3026
- (J(!0), re(we, null, Ce(e.options, (b, S) => (J(), re("div", {
3025
+ }, null, 8, ["model-value", "disabled", "label", "style", "value"])) : Ce("", !0),
3026
+ ($(!0), re(we, null, Ne(e.options, (b, S) => ($(), re("div", {
3027
3027
  key: b.value,
3028
3028
  style: rt(`margin-bottom: ${S < e.options.length - 1 ? n.gutter : 0}px`),
3029
- class: Ie(S < e.options.length - 1 ? "q-mb-sm" : "")
3029
+ class: Ee(S < e.options.length - 1 ? "q-mb-sm" : "")
3030
3030
  }, [
3031
3031
  ie("div", {
3032
- class: Ie(["row justify-between", e.alignCenter ? "items-center" : "items-start"])
3032
+ class: Ee(["row justify-between", e.alignCenter ? "items-center" : "items-start"])
3033
3033
  }, [
3034
3034
  ie("div", qa, [
3035
- le(v, {
3035
+ le(p, {
3036
3036
  "model-value": e.modelValue.includes(b.value),
3037
3037
  disabled: e.disable || b.disabled,
3038
3038
  size: "sm",
3039
3039
  label: b.label,
3040
3040
  value: b.label,
3041
- "onUpdate:modelValue": (m) => R(b.value, m)
3041
+ "onUpdate:modelValue": (m) => k(b.value, m)
3042
3042
  }, null, 8, ["model-value", "disabled", "label", "value", "onUpdate:modelValue"]),
3043
- Le(k.$slots, `checkbox-${b.key || b.value}-append`, {
3043
+ Re(L.$slots, `checkbox-${b.key || b.value}-append`, {
3044
3044
  option: b,
3045
3045
  selected: e.modelValue.includes(b.value)
3046
3046
  })
3047
3047
  ]),
3048
- B(f)[`checkbox-${b.key || b.value}-end`] && (e.modelValue.includes(b.value) || e.falsyShowSlot) ? (J(), re("div", {
3048
+ B(f)[`checkbox-${b.key || b.value}-end`] && (e.modelValue.includes(b.value) || e.falsyShowSlot) ? ($(), re("div", {
3049
3049
  key: 0,
3050
- class: Ie([{ "q-checkbox disabled": e.disable || b.disabled }, "col"])
3050
+ class: Ee([{ "q-checkbox disabled": e.disable || b.disabled }, "col"])
3051
3051
  }, [
3052
- Le(k.$slots, `checkbox-${b.key || b.value}-end`, {
3052
+ Re(L.$slots, `checkbox-${b.key || b.value}-end`, {
3053
3053
  option: b,
3054
3054
  value: e.modelValue.includes(b.value),
3055
3055
  disable: e.disable || b.disabled
3056
3056
  })
3057
- ], 2)) : Ne("", !0)
3057
+ ], 2)) : Ce("", !0)
3058
3058
  ], 2),
3059
- B(f)[`checkbox-${b.key || b.value}-bottom`] && (e.modelValue.includes(b.value) || e.falsyShowSlot) ? (J(), re("div", {
3059
+ B(f)[`checkbox-${b.key || b.value}-bottom`] && (e.modelValue.includes(b.value) || e.falsyShowSlot) ? ($(), re("div", {
3060
3060
  key: 0,
3061
- class: Ie(["q-mt-sm", { "q-checkbox disabled": e.disable || b.disabled }]),
3061
+ class: Ee(["q-mt-sm", { "q-checkbox disabled": e.disable || b.disabled }]),
3062
3062
  style: rt(`margin-left: ${e.bottomSlotIndent}`)
3063
3063
  }, [
3064
- Le(k.$slots, `checkbox-${b.key || b.value}-bottom`, {
3064
+ Re(L.$slots, `checkbox-${b.key || b.value}-bottom`, {
3065
3065
  option: b,
3066
3066
  disable: e.disable || b.disabled,
3067
3067
  value: e.modelValue.includes(b.value)
3068
3068
  })
3069
- ], 6)) : Ne("", !0)
3069
+ ], 6)) : Ce("", !0)
3070
3070
  ], 6))), 128)),
3071
- l.value && g.value ? (J(), re("div", el, Se(d.value), 1)) : Ne("", !0)
3071
+ l.value && g.value ? ($(), re("div", el, Se(d.value), 1)) : Ce("", !0)
3072
3072
  ]),
3073
3073
  _: 3
3074
3074
  }, 8, ["title"]);
@@ -3109,47 +3109,47 @@ const Ua = { class: "flex flex-col gap-16" }, xa = { class: "mt-16" }, Wa = { cl
3109
3109
  disabled: !!n.modelValue && n.options.length > n.modelValue.length
3110
3110
  },
3111
3111
  ...n.options.filter(
3112
- (C) => C.label.toLocaleLowerCase().includes(g.value.toLocaleLowerCase())
3112
+ (N) => N.label.toLocaleLowerCase().includes(g.value.toLocaleLowerCase())
3113
3113
  )
3114
- ]), f = z(() => n.modelValue ? n.modelValue : [bt, ...n.options.map((C) => C.value)]), d = z(() => {
3114
+ ]), f = z(() => n.modelValue ? n.modelValue : [bt, ...n.options.map((N) => N.value)]), d = z(() => {
3115
3115
  if (n.layout === "leading") {
3116
- const O = n.modelValue ? n.options.filter((N) => n.modelValue.includes(N.value)).map((N) => N.label) : null;
3116
+ const O = n.modelValue ? n.options.filter((C) => n.modelValue.includes(C.value)).map((C) => C.label) : null;
3117
3117
  return Xn(O, {
3118
3118
  all: a("team.labels.all"),
3119
3119
  none: a("team.labels.none"),
3120
- more: (N) => a("team.labels.more", { count: N })
3120
+ more: (C) => a("team.labels.more", { count: C })
3121
3121
  });
3122
3122
  }
3123
- const C = f.value.filter((O) => O !== bt).length;
3124
- return C === 0 ? "" : a("team.memberForm.permissions.allowedCount", { count: C });
3123
+ const N = f.value.filter((O) => O !== bt).length;
3124
+ return N === 0 ? "" : a("team.memberForm.permissions.allowedCount", { count: N });
3125
3125
  });
3126
- function i(C) {
3127
- const O = C.length === l.value.length;
3128
- r("update:model-value", O ? null : C.filter((N) => N !== bt));
3126
+ function i(N) {
3127
+ const O = N.length === l.value.length;
3128
+ r("update:model-value", O ? null : N.filter((C) => C !== bt));
3129
3129
  }
3130
3130
  const g = st("");
3131
- return (C, O) => {
3132
- const N = De("fm-search");
3133
- return J(), Te(Bt, {
3131
+ return (N, O) => {
3132
+ const C = De("fm-search");
3133
+ return $(), Te(Bt, {
3134
3134
  subtitle: d.value,
3135
3135
  layout: e.layout,
3136
3136
  "initially-collapsed": e.layout === "leading"
3137
3137
  }, {
3138
3138
  title: ce(() => [
3139
3139
  ie("p", {
3140
- class: Ie(
3140
+ class: Ee(
3141
3141
  e.layout === "leading" ? "text-[18px] font-semibold leading-[24px] tracking-[-0.27px]" : "fm-typo-en-title-sm-600"
3142
3142
  )
3143
3143
  }, Se(B(a)("team.memberForm.permissions.manageable", { context: e.context })), 3)
3144
3144
  ]),
3145
3145
  default: ce(() => [
3146
- e.options.length > 1 ? (J(), Te(N, {
3146
+ e.options.length > 1 ? ($(), Te(C, {
3147
3147
  key: 0,
3148
3148
  modelValue: g.value,
3149
3149
  "onUpdate:modelValue": O[0] || (O[0] = (w) => g.value = w),
3150
3150
  class: "mt-16",
3151
3151
  placeholder: B(a)("team.memberForm.permissions.search", { context: e.context })
3152
- }, null, 8, ["modelValue", "placeholder"])) : Ne("", !0),
3152
+ }, null, 8, ["modelValue", "placeholder"])) : Ce("", !0),
3153
3153
  le(cr, {
3154
3154
  "model-value": f.value,
3155
3155
  options: l.value,
@@ -3161,10 +3161,10 @@ const Ua = { class: "flex flex-col gap-16" }, xa = { class: "mt-16" }, Wa = { cl
3161
3161
  class: "mt-16",
3162
3162
  "onUpdate:modelValue": i
3163
3163
  }, tt({ _: 2 }, [
3164
- Ce(l.value, (w) => ({
3164
+ Ne(l.value, (w) => ({
3165
3165
  name: `checkbox-${w.value}-append`,
3166
- fn: ce(({ option: R }) => [
3167
- Le(C.$slots, `checkbox-${w.value}-append`, { option: R })
3166
+ fn: ce(({ option: k }) => [
3167
+ Re(N.$slots, `checkbox-${w.value}-append`, { option: k })
3168
3168
  ])
3169
3169
  }))
3170
3170
  ]), 1032, ["model-value", "options", "disable"])
@@ -3208,36 +3208,36 @@ const Ua = { class: "flex flex-col gap-16" }, xa = { class: "mt-16" }, Wa = { cl
3208
3208
  value: ht,
3209
3209
  disabled: !!n.modelValue && n.roles.length > n.modelValue.length
3210
3210
  },
3211
- ...n.roles.map((C) => ({
3212
- label: C.name,
3213
- value: C._id,
3214
- disabled: !!g && C.restaurants.every(({ id: O }) => !g.includes(O))
3211
+ ...n.roles.map((N) => ({
3212
+ label: N.name,
3213
+ value: N._id,
3214
+ disabled: !!g && N.restaurants.every(({ id: O }) => !g.includes(O))
3215
3215
  }))
3216
3216
  ];
3217
3217
  }), f = z(() => n.modelValue ? n.modelValue : [ht, ...n.roles.map((g) => g._id)]), d = z(() => {
3218
3218
  if (n.layout === "leading") {
3219
- const C = n.modelValue ? n.roles.filter((O) => n.modelValue.includes(O._id)).map((O) => O.name) : null;
3220
- return Xn(C, {
3219
+ const N = n.modelValue ? n.roles.filter((O) => n.modelValue.includes(O._id)).map((O) => O.name) : null;
3220
+ return Xn(N, {
3221
3221
  all: a("team.labels.all"),
3222
3222
  none: a("team.labels.none"),
3223
3223
  more: (O) => a("team.labels.more", { count: O })
3224
3224
  });
3225
3225
  }
3226
- const g = f.value.filter((C) => C !== ht).length;
3226
+ const g = f.value.filter((N) => N !== ht).length;
3227
3227
  return g === 0 ? "" : a("team.memberForm.permissions.allowedCount", { count: g });
3228
3228
  });
3229
3229
  function i(g) {
3230
- const C = g.length === l.value.length;
3231
- r("update:model-value", C ? null : g.filter((O) => O !== ht));
3230
+ const N = g.length === l.value.length;
3231
+ r("update:model-value", N ? null : g.filter((O) => O !== ht));
3232
3232
  }
3233
- return (g, C) => (J(), Te(Bt, {
3233
+ return (g, N) => ($(), Te(Bt, {
3234
3234
  subtitle: d.value,
3235
3235
  layout: e.layout,
3236
3236
  "initially-collapsed": e.layout === "leading"
3237
3237
  }, {
3238
3238
  title: ce(() => [
3239
3239
  ie("p", {
3240
- class: Ie(
3240
+ class: Ee(
3241
3241
  e.layout === "leading" ? "text-[18px] font-semibold leading-[24px] tracking-[-0.27px]" : "fm-typo-en-title-sm-600"
3242
3242
  )
3243
3243
  }, Se(B(a)("team.memberForm.permissions.roles")), 3)
@@ -3253,10 +3253,10 @@ const Ua = { class: "flex flex-col gap-16" }, xa = { class: "mt-16" }, Wa = { cl
3253
3253
  class: "mt-16",
3254
3254
  "onUpdate:modelValue": i
3255
3255
  }, tt({ _: 2 }, [
3256
- Ce(l.value, (O) => ({
3256
+ Ne(l.value, (O) => ({
3257
3257
  name: `checkbox-${O.value}-append`,
3258
- fn: ce(({ option: N }) => [
3259
- Le(g.$slots, `checkbox-${O.value}-append`, { option: N })
3258
+ fn: ce(({ option: C }) => [
3259
+ Re(g.$slots, `checkbox-${O.value}-append`, { option: C })
3260
3260
  ])
3261
3261
  }))
3262
3262
  ]), 1032, ["model-value", "options", "disable"])
@@ -3294,7 +3294,7 @@ const Ua = { class: "flex flex-col gap-16" }, xa = { class: "mt-16" }, Wa = { cl
3294
3294
  const n = t, { t: r } = Ke();
3295
3295
  return (a, l) => {
3296
3296
  const f = De("FmRadio"), d = De("FmRadioGroup");
3297
- return J(), Te(Tr, {
3297
+ return $(), Te(Tr, {
3298
3298
  title: e.title,
3299
3299
  builders: e.builders,
3300
3300
  "form-value-for": e.formValueFor,
@@ -3305,7 +3305,7 @@ const Ua = { class: "flex flex-col gap-16" }, xa = { class: "mt-16" }, Wa = { cl
3305
3305
  onApply: l[1] || (l[1] = (i) => n("apply"))
3306
3306
  }, {
3307
3307
  section: ce(({ builder: i }) => [
3308
- e.coverOverride.shouldShowInheritToggle(e.entry, i) ? (J(), re("div", nl, [
3308
+ e.coverOverride.shouldShowInheritToggle(e.entry, i) ? ($(), re("div", nl, [
3309
3309
  le(d, {
3310
3310
  "model-value": e.inheritModeFor(i),
3311
3311
  disabled: e.disable,
@@ -3319,10 +3319,10 @@ const Ua = { class: "flex flex-col gap-16" }, xa = { class: "mt-16" }, Wa = { cl
3319
3319
  cover: e.coverOverride.coverLabel(e.subject)
3320
3320
  })
3321
3321
  }, null, 8, ["label"]),
3322
- e.coverOverride.inheritedSummary(e.entry, i, e.timeZone) ? (J(), re("p", rl, " (" + Se(B(r)(
3322
+ e.coverOverride.inheritedSummary(e.entry, i, e.timeZone) ? ($(), re("p", rl, " (" + Se(B(r)(
3323
3323
  e.coverOverride.inheritedSummary(e.entry, i, e.timeZone).labelKey,
3324
3324
  e.coverOverride.inheritedSummary(e.entry, i, e.timeZone).params ?? {}
3325
- )) + ") ", 1)) : Ne("", !0)
3325
+ )) + ") ", 1)) : Ce("", !0)
3326
3326
  ]),
3327
3327
  le(f, {
3328
3328
  value: "custom",
@@ -3331,15 +3331,15 @@ const Ua = { class: "flex flex-col gap-16" }, xa = { class: "mt-16" }, Wa = { cl
3331
3331
  ]),
3332
3332
  _: 2
3333
3333
  }, 1032, ["model-value", "disabled", "onUpdate:modelValue"]),
3334
- e.inheritModeFor(i) === "custom" ? (J(), re("div", sl, [
3334
+ e.inheritModeFor(i) === "custom" ? ($(), re("div", sl, [
3335
3335
  le(nn, {
3336
3336
  builder: i,
3337
3337
  "model-value": e.formValueFor(i),
3338
3338
  disable: e.disable,
3339
3339
  "onUpdate:modelValue": (g) => n("update-form", { builder: i, form: g })
3340
3340
  }, null, 8, ["builder", "model-value", "disable", "onUpdate:modelValue"])
3341
- ])) : Ne("", !0)
3342
- ])) : (J(), Te(nn, {
3341
+ ])) : Ce("", !0)
3342
+ ])) : ($(), Te(nn, {
3343
3343
  key: 1,
3344
3344
  builder: i,
3345
3345
  "model-value": e.formValueFor(i),
@@ -3353,18 +3353,18 @@ const Ua = { class: "flex flex-col gap-16" }, xa = { class: "mt-16" }, Wa = { cl
3353
3353
  }
3354
3354
  }), al = {
3355
3355
  async readWarehouses() {
3356
- return kr(await Ar().get("/warehouses"));
3356
+ return Lr(await Ar().get("/warehouses"));
3357
3357
  }
3358
3358
  };
3359
3359
  function Pn(e, t) {
3360
- return Zn(e, Yn).some(
3360
+ return Gn(e, Zn).some(
3361
3361
  (n) => n.subject === t && !n.inverted && n.actions.includes("manage")
3362
3362
  );
3363
3363
  }
3364
3364
  function jn(e, t) {
3365
3365
  return e.some((n) => n.subject === t && n.inverted) ? e : [...e, { subject: t, actions: ["manage"], inverted: !0 }];
3366
3366
  }
3367
- function Vn(e, t, n) {
3367
+ function Un(e, t, n) {
3368
3368
  const { category: r, showByFeatureFlag: a, isCategoryCover: l, ...f } = e;
3369
3369
  return {
3370
3370
  ...f,
@@ -3382,35 +3382,35 @@ function ll(e, t, n, r) {
3382
3382
  );
3383
3383
  let d = [...n];
3384
3384
  for (const i of a)
3385
- l.has(i) || (f.has(i) && (d = d.filter((C) => C.subject !== i)), (!f.has(i) || Pn(d, i)) && (d = jn(d, i)));
3385
+ l.has(i) || (f.has(i) && (d = d.filter((N) => N.subject !== i)), (!f.has(i) || Pn(d, i)) && (d = jn(d, i)));
3386
3386
  for (const i of l)
3387
3387
  if (!a.has(i)) {
3388
- const g = d.some((C) => C.subject === i && C.inverted);
3389
- if (d = d.filter((C) => !(C.subject === i && C.inverted)), !g && !f.has(i)) {
3390
- const C = t.find(
3391
- (N) => N.subject === i && !N.inverted
3388
+ const g = d.some((N) => N.subject === i && N.inverted);
3389
+ if (d = d.filter((N) => !(N.subject === i && N.inverted)), !g && !f.has(i)) {
3390
+ const N = t.find(
3391
+ (C) => C.subject === i && !C.inverted
3392
3392
  ), O = r(i);
3393
- O && C && d.push(Vn(O, C.actions, C.conditions));
3393
+ O && N && d.push(Un(O, N.actions, N.conditions));
3394
3394
  }
3395
3395
  }
3396
3396
  for (const i of l) {
3397
3397
  if (!a.has(i)) continue;
3398
- const g = e.find((R) => R.subject === i && !R.inverted), C = t.find((R) => R.subject === i && !R.inverted);
3399
- if (!g || !C) continue;
3400
- const O = new Set(g.actions), N = new Set(C.actions);
3401
- if (O.size === N.size && [...O].every((R) => N.has(R)))
3398
+ const g = e.find((k) => k.subject === i && !k.inverted), N = t.find((k) => k.subject === i && !k.inverted);
3399
+ if (!g || !N) continue;
3400
+ const O = new Set(g.actions), C = new Set(N.actions);
3401
+ if (O.size === C.size && [...O].every((k) => C.has(k)))
3402
3402
  continue;
3403
- const w = d.findIndex((R) => R.subject === i && !R.inverted);
3403
+ const w = d.findIndex((k) => k.subject === i && !k.inverted);
3404
3404
  if (w >= 0)
3405
3405
  d[w] = {
3406
3406
  ...d[w],
3407
- actions: Array.from(N)
3407
+ actions: Array.from(C)
3408
3408
  };
3409
3409
  else {
3410
- const R = r(i);
3411
- R && d.push(Vn(R, Array.from(N)));
3410
+ const k = r(i);
3411
+ k && d.push(Un(k, Array.from(C)));
3412
3412
  }
3413
- O.has("manage") && !N.has("manage") && Pn(d, i) && (d = jn(d, i)), !O.has("manage") && N.has("manage") && (d = d.filter((R) => !(R.subject === i && R.inverted)));
3413
+ O.has("manage") && !C.has("manage") && Pn(d, i) && (d = jn(d, i)), !O.has("manage") && C.has("manage") && (d = d.filter((k) => !(k.subject === i && k.inverted)));
3414
3414
  }
3415
3415
  return d;
3416
3416
  }
@@ -3451,15 +3451,15 @@ function ul(e, t) {
3451
3451
  }
3452
3452
  function Mt(e, t) {
3453
3453
  const n = new Set(e.actions);
3454
- return n.has(ye.Action.manage) ? !0 : t.actions.every((r) => n.has(r));
3454
+ return n.has(Ie.Action.manage) ? !0 : t.actions.every((r) => n.has(r));
3455
3455
  }
3456
- function Yt(e, t) {
3456
+ function Zt(e, t) {
3457
3457
  const n = Xe(e);
3458
3458
  return Dt(n, [{ builder: t, formValue: t.fromCondition(void 0) }]);
3459
3459
  }
3460
- function Un(e, t, n) {
3460
+ function Vn(e, t, n) {
3461
3461
  return {
3462
- ...Yt(e, n),
3462
+ ...Zt(e, n),
3463
3463
  ...nt(Xe(t), n)
3464
3464
  };
3465
3465
  }
@@ -3469,232 +3469,232 @@ function ml(e, t, n) {
3469
3469
  return Pr(m, t.value);
3470
3470
  }
3471
3471
  function l(m) {
3472
- return t.value.find((y) => y.subject === m);
3472
+ return t.value.find((I) => I.subject === m);
3473
3473
  }
3474
3474
  function f(m) {
3475
- var I;
3476
- const y = a(m);
3477
- return y ? (I = l(y)) == null ? void 0 : I.label : void 0;
3475
+ var E;
3476
+ const I = a(m);
3477
+ return I ? (E = l(I)) == null ? void 0 : E.label : void 0;
3478
3478
  }
3479
3479
  function d(m) {
3480
3480
  return ul(e.value, m);
3481
3481
  }
3482
- function i(m, y) {
3483
- return nt(Xe(m), y);
3482
+ function i(m, I) {
3483
+ return nt(Xe(m), I);
3484
3484
  }
3485
- function g(m, y) {
3485
+ function g(m, I) {
3486
3486
  var A;
3487
- if (!(((A = y.appliesToActions) == null ? void 0 : A.call(y, m.actions)) ?? !0)) return !1;
3488
- const I = a(m.subject);
3489
- if (!I) return !1;
3490
- const p = d(I);
3491
- return p ? Object.keys(i(p, y)).length > 0 : !1;
3492
- }
3493
- function C(m, y) {
3494
- if (!g(m, y) || r.value.has(gt(m.subject, y))) return "custom";
3487
+ if (!(((A = I.appliesToActions) == null ? void 0 : A.call(I, m.actions)) ?? !0)) return !1;
3488
+ const E = a(m.subject);
3489
+ if (!E) return !1;
3490
+ const v = d(E);
3491
+ return v ? Object.keys(i(v, I)).length > 0 : !1;
3492
+ }
3493
+ function N(m, I) {
3494
+ if (!g(m, I) || r.value.has(gt(m.subject, I))) return "custom";
3495
3495
  if (m.index === null) return "inherit";
3496
- const I = e.value[m.index], p = a(m.subject), A = p ? d(p) : void 0;
3497
- if (I && A) {
3498
- const L = nt(Xe(I), y), H = i(A, y);
3499
- if (JSON.stringify(L) === JSON.stringify(H)) return "inherit";
3496
+ const E = e.value[m.index], v = a(m.subject), A = v ? d(v) : void 0;
3497
+ if (E && A) {
3498
+ const R = nt(Xe(E), I), H = i(A, I);
3499
+ if (JSON.stringify(R) === JSON.stringify(H)) return "inherit";
3500
3500
  }
3501
3501
  return "custom";
3502
3502
  }
3503
- function O(m, y, I) {
3504
- if (!y.summarizeForm) return;
3505
- const p = a(m.subject);
3506
- if (!p) return;
3507
- const A = d(p);
3503
+ function O(m, I, E) {
3504
+ if (!I.summarizeForm) return;
3505
+ const v = a(m.subject);
3506
+ if (!v) return;
3507
+ const A = d(v);
3508
3508
  if (!A) return;
3509
- const L = y.fromCondition(i(A, y));
3510
- return y.summarizeForm(L, { timeZone: I });
3509
+ const R = I.fromCondition(i(A, I));
3510
+ return I.summarizeForm(R, { timeZone: E });
3511
3511
  }
3512
- function N(m, y) {
3512
+ function C(m, I) {
3513
3513
  if (m.index === null) return;
3514
- const I = [...e.value], p = { ...I[m.index] }, A = Yt(p, y), L = Object.keys(A).length === 0, H = a(m.subject), x = H ? d(H) : void 0, _ = x ? Mt(x, p) : !1;
3515
- if (L && _)
3516
- I.splice(m.index, 1);
3514
+ const E = [...e.value], v = { ...E[m.index] }, A = Zt(v, I), R = Object.keys(A).length === 0, H = a(m.subject), x = H ? d(H) : void 0, _ = x ? Mt(x, v) : !1;
3515
+ if (R && _)
3516
+ E.splice(m.index, 1);
3517
3517
  else if (x) {
3518
- const T = Un(p, x, y);
3519
- Object.keys(T).length === 0 ? delete p.conditions : p.conditions = JSON.stringify(T), I[m.index] = p;
3518
+ const T = Vn(v, x, I);
3519
+ Object.keys(T).length === 0 ? delete v.conditions : v.conditions = JSON.stringify(T), E[m.index] = v;
3520
3520
  } else
3521
- L ? delete p.conditions : p.conditions = JSON.stringify(A), I[m.index] = p;
3522
- n(I);
3523
- }
3524
- function w(m, y, I) {
3525
- const p = gt(m.subject, y);
3526
- if (I === "inherit") {
3527
- const L = new Set(r.value);
3528
- L.delete(p), r.value = L, N(m, y);
3521
+ R ? delete v.conditions : v.conditions = JSON.stringify(A), E[m.index] = v;
3522
+ n(E);
3523
+ }
3524
+ function w(m, I, E) {
3525
+ const v = gt(m.subject, I);
3526
+ if (E === "inherit") {
3527
+ const R = new Set(r.value);
3528
+ R.delete(v), r.value = R, C(m, I);
3529
3529
  return;
3530
3530
  }
3531
3531
  const A = new Set(r.value);
3532
- A.add(p), r.value = A, m.index === null && b(m, y, y.fromCondition(void 0), {
3532
+ A.add(v), r.value = A, m.index === null && b(m, I, I.fromCondition(void 0), {
3533
3533
  forceCreateRule: !0
3534
3534
  });
3535
3535
  }
3536
- function R(m) {
3537
- const y = a(m);
3538
- if (!y) return [];
3539
- const I = d(y);
3540
- return (I == null ? void 0 : I.actions) ?? [];
3541
- }
3542
- function k(m, y) {
3543
- return e.value.filter((I) => {
3544
- if (I.inverted) return !1;
3545
- const p = I.subject;
3546
- return p === m || a(p) !== m ? !1 : r.value.has(gt(p, y)) ? !0 : Object.keys(nt(Xe(I), y)).length > 0;
3536
+ function k(m) {
3537
+ const I = a(m);
3538
+ if (!I) return [];
3539
+ const E = d(I);
3540
+ return (E == null ? void 0 : E.actions) ?? [];
3541
+ }
3542
+ function L(m, I) {
3543
+ return e.value.filter((E) => {
3544
+ if (E.inverted) return !1;
3545
+ const v = E.subject;
3546
+ return v === m || a(v) !== m ? !1 : r.value.has(gt(v, I)) ? !0 : Object.keys(nt(Xe(E), I)).length > 0;
3547
3547
  });
3548
3548
  }
3549
- function M(m, y) {
3550
- const I = `::${y.builderKey}`, p = new Set(r.value);
3551
- for (const A of p) {
3552
- if (!A.endsWith(I)) continue;
3553
- const L = A.slice(0, -I.length);
3554
- a(L) === m && p.delete(A);
3549
+ function M(m, I) {
3550
+ const E = `::${I.builderKey}`, v = new Set(r.value);
3551
+ for (const A of v) {
3552
+ if (!A.endsWith(E)) continue;
3553
+ const R = A.slice(0, -E.length);
3554
+ a(R) === m && v.delete(A);
3555
3555
  }
3556
- r.value = p;
3557
- }
3558
- function v(m, y, I) {
3559
- const p = y.subject;
3560
- return m.reduce((A, L) => {
3561
- if (L.inverted)
3562
- return A.push(L), A;
3563
- const H = L.subject;
3564
- if (H === p || a(H) !== p)
3565
- return A.push(L), A;
3566
- if (Mt(y, L) && Object.keys(Yt(L, I)).length === 0)
3556
+ r.value = v;
3557
+ }
3558
+ function p(m, I, E) {
3559
+ const v = I.subject;
3560
+ return m.reduce((A, R) => {
3561
+ if (R.inverted)
3562
+ return A.push(R), A;
3563
+ const H = R.subject;
3564
+ if (H === v || a(H) !== v)
3565
+ return A.push(R), A;
3566
+ if (Mt(I, R) && Object.keys(Zt(R, E)).length === 0)
3567
3567
  return A;
3568
- const _ = Un(L, y, I);
3568
+ const _ = Vn(R, I, E);
3569
3569
  if (Object.keys(_).length === 0) {
3570
- const { conditions: T, ...j } = L;
3570
+ const { conditions: T, ...j } = R;
3571
3571
  A.push(j);
3572
3572
  } else
3573
- A.push({ ...L, conditions: JSON.stringify(_) });
3573
+ A.push({ ...R, conditions: JSON.stringify(_) });
3574
3574
  return A;
3575
3575
  }, []);
3576
3576
  }
3577
- function b(m, y, I, p = {}) {
3577
+ function b(m, I, E, v = {}) {
3578
3578
  var P;
3579
3579
  const A = [...e.value];
3580
- let L = m.index;
3581
- const H = y.toCondition(I), x = Object.keys(H).length > 0;
3582
- if (L === null && !x && !p.forceCreateRule) return;
3583
- if (L === null) {
3580
+ let R = m.index;
3581
+ const H = I.toCondition(E), x = Object.keys(H).length > 0;
3582
+ if (R === null && !x && !v.forceCreateRule) return;
3583
+ if (R === null) {
3584
3584
  const F = A.findIndex((W) => !W.inverted && W.subject === m.subject);
3585
3585
  if (F !== -1)
3586
- L = F;
3586
+ R = F;
3587
3587
  else {
3588
3588
  const W = t.value.find((Q) => Q.subject === m.subject);
3589
3589
  if (!W) return;
3590
3590
  const {
3591
- category: V,
3592
- showByFeatureFlag: Z,
3591
+ category: U,
3592
+ showByFeatureFlag: G,
3593
3593
  isCategoryCover: X,
3594
3594
  ...te
3595
3595
  } = W;
3596
3596
  A.push({
3597
3597
  ...te,
3598
3598
  actions: m.actions.length > 0 ? m.actions : te.actions
3599
- }), L = A.length - 1;
3599
+ }), R = A.length - 1;
3600
3600
  }
3601
3601
  }
3602
- const _ = { ...A[L] };
3602
+ const _ = { ...A[R] };
3603
3603
  _.actions = [
3604
3604
  .../* @__PURE__ */ new Set([..._.actions, ...m.actions])
3605
3605
  ];
3606
- const T = Xe(_), j = Dt(T, [{ builder: y, formValue: I }]);
3607
- if (Object.keys(j).length === 0 ? delete _.conditions : _.conditions = JSON.stringify(j), A[L] = _, sn(m.subject, t.value)) {
3608
- const F = k(m.subject, y), W = () => {
3609
- var Z;
3610
- M(m.subject, y), n(v(A, _, y)), (Z = p.afterCommit) == null || Z.call(p);
3611
- }, V = () => {
3612
- var Z;
3613
- n(A), (Z = p.afterCommit) == null || Z.call(p);
3606
+ const T = Xe(_), j = Dt(T, [{ builder: I, formValue: E }]);
3607
+ if (Object.keys(j).length === 0 ? delete _.conditions : _.conditions = JSON.stringify(j), A[R] = _, sn(m.subject, t.value)) {
3608
+ const F = L(m.subject, I), W = () => {
3609
+ var G;
3610
+ M(m.subject, I), n(p(A, _, I)), (G = v.afterCommit) == null || G.call(v);
3611
+ }, U = () => {
3612
+ var G;
3613
+ n(A), (G = v.afterCommit) == null || G.call(v);
3614
3614
  };
3615
3615
  if (F.length === 0) {
3616
3616
  W();
3617
3617
  return;
3618
3618
  }
3619
- p.onOverridesConflict ? p.onOverridesConflict({ override: W, keep: V }) : V();
3619
+ v.onOverridesConflict ? v.onOverridesConflict({ override: W, keep: U }) : U();
3620
3620
  return;
3621
3621
  }
3622
- n(A), (P = p.afterCommit) == null || P.call(p);
3622
+ n(A), (P = v.afterCommit) == null || P.call(v);
3623
3623
  }
3624
- function S(m, y, I = {}) {
3625
- if (y.length === 0) return;
3626
- const p = [...e.value];
3627
- let A = p.findIndex((F) => !F.inverted && F.subject === m.subject), L = A === -1 ? void 0 : { ...p[A] }, H = Xe(L ?? {}) ?? {};
3628
- for (const F of y) {
3624
+ function S(m, I, E = {}) {
3625
+ if (I.length === 0) return;
3626
+ const v = [...e.value];
3627
+ let A = v.findIndex((F) => !F.inverted && F.subject === m.subject), R = A === -1 ? void 0 : { ...v[A] }, H = Xe(R ?? {}) ?? {};
3628
+ for (const F of I) {
3629
3629
  const W = F.mode === "inherit" ? F.builder.fromCondition(void 0) : F.form;
3630
3630
  H = Dt(H, [{ builder: F.builder, formValue: W }]);
3631
3631
  }
3632
- const x = y.some((F) => F.mode === "custom");
3633
- if (!L && (Object.keys(H).length > 0 || x)) {
3632
+ const x = I.some((F) => F.mode === "custom");
3633
+ if (!R && (Object.keys(H).length > 0 || x)) {
3634
3634
  const F = t.value.find((te) => te.subject === m.subject);
3635
3635
  if (!F) return;
3636
3636
  const {
3637
3637
  category: W,
3638
- showByFeatureFlag: V,
3639
- isCategoryCover: Z,
3638
+ showByFeatureFlag: U,
3639
+ isCategoryCover: G,
3640
3640
  ...X
3641
3641
  } = F;
3642
- L = {
3642
+ R = {
3643
3643
  ...X,
3644
3644
  actions: m.actions.length > 0 ? m.actions : X.actions
3645
- }, p.push(L), A = p.length - 1;
3645
+ }, v.push(R), A = v.length - 1;
3646
3646
  }
3647
- if (L) {
3647
+ if (R) {
3648
3648
  const F = a(m.subject), W = F ? d(F) : void 0;
3649
- if (!x && Object.keys(H).length === 0 && !!W && Mt(W, L))
3650
- p.splice(A, 1), L = void 0;
3649
+ if (!x && Object.keys(H).length === 0 && !!W && Mt(W, R))
3650
+ v.splice(A, 1), R = void 0;
3651
3651
  else {
3652
- if (L.actions = [
3653
- .../* @__PURE__ */ new Set([...L.actions, ...m.actions])
3652
+ if (R.actions = [
3653
+ .../* @__PURE__ */ new Set([...R.actions, ...m.actions])
3654
3654
  ], W)
3655
- for (const Z of y)
3656
- Z.mode === "inherit" && (H = {
3655
+ for (const G of I)
3656
+ G.mode === "inherit" && (H = {
3657
3657
  ...H,
3658
- ...nt(Xe(W), Z.builder)
3658
+ ...nt(Xe(W), G.builder)
3659
3659
  });
3660
- Object.keys(H).length === 0 ? delete L.conditions : L.conditions = JSON.stringify(H), p[A] = L;
3660
+ Object.keys(H).length === 0 ? delete R.conditions : R.conditions = JSON.stringify(H), v[A] = R;
3661
3661
  }
3662
3662
  }
3663
3663
  const _ = () => {
3664
3664
  const F = new Set(r.value);
3665
- for (const W of y) {
3666
- const V = gt(m.subject, W.builder);
3667
- W.mode === "custom" ? F.add(V) : F.delete(V);
3665
+ for (const W of I) {
3666
+ const U = gt(m.subject, W.builder);
3667
+ W.mode === "custom" ? F.add(U) : F.delete(U);
3668
3668
  }
3669
3669
  r.value = F;
3670
3670
  }, T = (F) => {
3671
3671
  var W;
3672
- _(), n(F), (W = I.afterCommit) == null || W.call(I);
3672
+ _(), n(F), (W = E.afterCommit) == null || W.call(E);
3673
3673
  };
3674
- if (!sn(m.subject, t.value) || !L) {
3675
- T(p);
3674
+ if (!sn(m.subject, t.value) || !R) {
3675
+ T(v);
3676
3676
  return;
3677
3677
  }
3678
- const j = y.map((F) => F.builder).filter((F) => k(m.subject, F).length > 0), P = () => {
3679
- let F = p;
3680
- for (const W of y.map((V) => V.builder))
3681
- M(m.subject, W), F = v(F, L, W);
3678
+ const j = I.map((F) => F.builder).filter((F) => L(m.subject, F).length > 0), P = () => {
3679
+ let F = v;
3680
+ for (const W of I.map((U) => U.builder))
3681
+ M(m.subject, W), F = p(F, R, W);
3682
3682
  T(F);
3683
3683
  };
3684
- if (j.length > 0 && I.onOverridesConflict) {
3685
- I.onOverridesConflict({ override: P, keep: () => T(p) });
3684
+ if (j.length > 0 && E.onOverridesConflict) {
3685
+ E.onOverridesConflict({ override: P, keep: () => T(v) });
3686
3686
  return;
3687
3687
  }
3688
- j.length > 0 ? T(p) : P();
3688
+ j.length > 0 ? T(v) : P();
3689
3689
  }
3690
3690
  return {
3691
3691
  getCoverSubject: a,
3692
3692
  coverLabel: f,
3693
3693
  shouldShowInheritToggle: g,
3694
- inheritMode: C,
3694
+ inheritMode: N,
3695
3695
  setInheritMode: w,
3696
3696
  inheritedSummary: O,
3697
- getEffectiveActions: R,
3697
+ getEffectiveActions: k,
3698
3698
  updateBuilderCondition: b,
3699
3699
  applyConditionDrafts: S
3700
3700
  };
@@ -3728,20 +3728,20 @@ const dl = { class: "h-[24px] w-[24px] flex items-center justify-center" }, fl =
3728
3728
  setup(e, { emit: t }) {
3729
3729
  const n = br(e, "modelValue"), r = e, a = z(() => r.part === "all" ? "trailing" : "leading"), l = z(
3730
3730
  () => r.part === "all" ? "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" : ""
3731
- ), f = t, { t: d } = Ke(), i = hr(), g = gr(), { breakpoints: C } = yr(), O = z(() => C.value.xs || C.value.sm), {
3732
- fetchCustomReportPermissions: N,
3731
+ ), f = t, { t: d } = Ke(), i = hr(), g = gr(), { breakpoints: N } = Ir(), O = z(() => N.value.xs || N.value.sm), {
3732
+ fetchCustomReportPermissions: C,
3733
3733
  customReportPermissions: w
3734
- } = Er(), R = z(() => [
3735
- ...Gn,
3734
+ } = yr(), k = z(() => [
3735
+ ...Yn,
3736
3736
  ...w.value
3737
- ]), k = z(() => {
3737
+ ]), L = z(() => {
3738
3738
  const s = i.currentBusiness.value, c = i.currentCountry.value, h = c instanceof Object ? c.code : c;
3739
3739
  return cl(s, h);
3740
3740
  });
3741
3741
  function M(s) {
3742
- return R.value.find((c) => c.subject === s);
3742
+ return k.value.find((c) => c.subject === s);
3743
3743
  }
3744
- function v(s, c) {
3744
+ function p(s, c) {
3745
3745
  return rn(s).filter(
3746
3746
  (h) => {
3747
3747
  var D;
@@ -3750,8 +3750,8 @@ const dl = { class: "h-[24px] w-[24px] flex items-center justify-center" }, fl =
3750
3750
  );
3751
3751
  }
3752
3752
  const b = z(() => {
3753
- const s = R.value.filter((h) => !I.includes(h.subject)).map((h) => h.subject);
3754
- return Ir(
3753
+ const s = k.value.filter((h) => !E.includes(h.subject)).map((h) => h.subject);
3754
+ return Er(
3755
3755
  r.inheritPermissions.map((h) => ({
3756
3756
  ...h,
3757
3757
  permissions: h.permissions.filter((D) => s.includes(D.subject))
@@ -3764,10 +3764,10 @@ const dl = { class: "h-[24px] w-[24px] flex items-center justify-center" }, fl =
3764
3764
  const s = r.inheritPermissions.map((c) => ({
3765
3765
  ...c,
3766
3766
  permissions: c.permissions.filter(
3767
- (h) => h.subject === ye.Subject.Business.inventory_stock
3767
+ (h) => h.subject === Ie.Subject.Business.inventory_stock
3768
3768
  )
3769
3769
  }));
3770
- return Lt(
3770
+ return Rt(
3771
3771
  s,
3772
3772
  "warehouseId",
3773
3773
  A.value.map((c) => c._id)
@@ -3776,31 +3776,31 @@ const dl = { class: "h-[24px] w-[24px] flex items-center justify-center" }, fl =
3776
3776
  const s = r.inheritPermissions.map((c) => ({
3777
3777
  ...c,
3778
3778
  permissions: c.permissions.filter(
3779
- (h) => h.subject === ye.Subject.Restaurant.restaurant
3779
+ (h) => h.subject === Ie.Subject.Restaurant.restaurant
3780
3780
  )
3781
3781
  }));
3782
- return Lt(
3782
+ return Rt(
3783
3783
  s,
3784
3784
  "restaurantId",
3785
3785
  _.value.map((c) => c._id)
3786
3786
  );
3787
- }), y = z(() => {
3787
+ }), I = z(() => {
3788
3788
  const s = r.inheritPermissions.map((c) => ({
3789
3789
  ...c,
3790
- permissions: c.permissions.filter((h) => h.subject === ye.Subject.Business.role)
3790
+ permissions: c.permissions.filter((h) => h.subject === Ie.Subject.Business.role)
3791
3791
  }));
3792
- return Lt(
3792
+ return Rt(
3793
3793
  s,
3794
3794
  "roleId",
3795
3795
  T.value.map((c) => c._id)
3796
3796
  );
3797
- }), I = [...wr], p = z(() => {
3797
+ }), E = [...wr], v = z(() => {
3798
3798
  var c;
3799
3799
  const s = (c = n.value) == null ? void 0 : c.find(
3800
- (h) => h.subject === ye.Subject.Business.inventory_stock
3800
+ (h) => h.subject === Ie.Subject.Business.inventory_stock
3801
3801
  );
3802
3802
  return s ? s.conditions ? JSON.parse(s.conditions).warehouseId.$in : null : [];
3803
- }), A = st([]), L = z(() => A.value.map((s) => ({
3803
+ }), A = st([]), R = z(() => A.value.map((s) => ({
3804
3804
  label: s.profile.name,
3805
3805
  value: s._id
3806
3806
  })));
@@ -3809,13 +3809,13 @@ const dl = { class: "h-[24px] w-[24px] flex items-center justify-center" }, fl =
3809
3809
  n.value = c;
3810
3810
  }
3811
3811
  function x(s, c) {
3812
- let h = yt(
3813
- s.filter((D) => D.subject !== ye.Subject.Business.inventory_stock)
3812
+ let h = It(
3813
+ s.filter((D) => D.subject !== Ie.Subject.Business.inventory_stock)
3814
3814
  );
3815
3815
  if (!c || c.length > 0) {
3816
3816
  const D = {
3817
- actions: [ye.Action.manage],
3818
- subject: ye.Subject.Business.inventory_stock
3817
+ actions: [Ie.Action.manage],
3818
+ subject: Ie.Subject.Business.inventory_stock
3819
3819
  };
3820
3820
  c && (D.conditions = JSON.stringify({ warehouseId: { $in: c } })), h.push(D);
3821
3821
  }
@@ -3824,39 +3824,39 @@ const dl = { class: "h-[24px] w-[24px] flex items-center justify-center" }, fl =
3824
3824
  const { restaurants: _ } = i, T = Dr().roles, j = z(() => _.value.map((s) => ({
3825
3825
  label: `${s.profile.code ? s.profile.code + "-" : ""}${s.profile.name}`,
3826
3826
  value: s._id
3827
- }))), P = z(() => _.value.reduce((s, c) => (s[c._id] = T.value.filter((h) => h.restaurants.some((D) => D.id === c._id)).map((h) => h._id), s), {})), F = z(() => Cr(n.value));
3827
+ }))), P = z(() => _.value.reduce((s, c) => (s[c._id] = T.value.filter((h) => h.restaurants.some((D) => D.id === c._id)).map((h) => h._id), s), {})), F = z(() => Nr(n.value));
3828
3828
  function W(s) {
3829
- const c = Z(n.value, s);
3829
+ const c = G(n.value, s);
3830
3830
  n.value = c;
3831
3831
  }
3832
- const V = z(() => Nr(n.value));
3833
- function Z(s, c) {
3832
+ const U = z(() => Cr(n.value));
3833
+ function G(s, c) {
3834
3834
  var D;
3835
- let h = yt(
3835
+ let h = It(
3836
3836
  s.filter(
3837
- (U) => U.subject !== ye.Subject.Business.restaurant && U.subject !== ye.Subject.Restaurant.restaurant
3837
+ (V) => V.subject !== Ie.Subject.Business.restaurant && V.subject !== Ie.Subject.Restaurant.restaurant
3838
3838
  )
3839
3839
  );
3840
3840
  if (!c || c.length > 0) {
3841
3841
  const {
3842
- category: U,
3842
+ category: V,
3843
3843
  showByFeatureFlag: u,
3844
- ...E
3845
- } = Rr.restaurant;
3846
- h.push(E);
3844
+ ...y
3845
+ } = kr.restaurant;
3846
+ h.push(y);
3847
3847
  const K = {
3848
- actions: [ye.Action.manage],
3849
- subject: ye.Subject.Restaurant.restaurant
3848
+ actions: [Ie.Action.manage],
3849
+ subject: Ie.Subject.Restaurant.restaurant
3850
3850
  };
3851
3851
  c && (K.conditions = JSON.stringify({ restaurantId: { $in: c } })), h.push(K);
3852
3852
  }
3853
3853
  if (c) {
3854
- const U = [
3855
- ...new Set(c.map((E) => P.value[E]).flatMap((E) => E))
3856
- ], u = T.value.map((E) => E._id);
3857
- U.length !== u.length && (h = te(
3854
+ const V = [
3855
+ ...new Set(c.map((y) => P.value[y]).flatMap((y) => y))
3856
+ ], u = T.value.map((y) => y._id);
3857
+ V.length !== u.length && (h = te(
3858
3858
  h,
3859
- (D = V.value || u) == null ? void 0 : D.filter((E) => U.includes(E))
3859
+ (D = U.value || u) == null ? void 0 : D.filter((y) => V.includes(y))
3860
3860
  ));
3861
3861
  }
3862
3862
  return h;
@@ -3866,13 +3866,13 @@ const dl = { class: "h-[24px] w-[24px] flex items-center justify-center" }, fl =
3866
3866
  n.value = c;
3867
3867
  }
3868
3868
  function te(s, c) {
3869
- let h = yt(
3870
- s.filter((D) => D.subject !== ye.Subject.Business.role)
3869
+ let h = It(
3870
+ s.filter((D) => D.subject !== Ie.Subject.Business.role)
3871
3871
  );
3872
3872
  if (c && c.length > 0) {
3873
3873
  const D = {
3874
- actions: [ye.Action.manage],
3875
- subject: ye.Subject.Business.role,
3874
+ actions: [Ie.Action.manage],
3875
+ subject: Ie.Subject.Business.role,
3876
3876
  conditions: JSON.stringify({ roleId: { $in: c } })
3877
3877
  };
3878
3878
  h.push(D);
@@ -3882,12 +3882,12 @@ const dl = { class: "h-[24px] w-[24px] flex items-center justify-center" }, fl =
3882
3882
  xn(async () => {
3883
3883
  await Promise.all([
3884
3884
  r.part !== "portal" && al.readWarehouses().then((s) => A.value = s),
3885
- N()
3885
+ C()
3886
3886
  ]);
3887
3887
  });
3888
- const Q = z(() => Zn(
3888
+ const Q = z(() => Gn(
3889
3889
  n.value,
3890
- Yn
3890
+ Zn
3891
3891
  ).filter((h) => {
3892
3892
  const D = h.source;
3893
3893
  return (D == null ? void 0 : D.type) !== "systemPermissionSet" ? !0 : h.actions.includes("manage");
@@ -3895,9 +3895,9 @@ const dl = { class: "h-[24px] w-[24px] flex items-center justify-center" }, fl =
3895
3895
  if (h.inverted) return h;
3896
3896
  const D = h.actions;
3897
3897
  if (!D.includes("manage")) return h;
3898
- const U = M(h.subject);
3899
- if (!U) return h;
3900
- const u = U.actions;
3898
+ const V = M(h.subject);
3899
+ if (!V) return h;
3900
+ const u = V.actions;
3901
3901
  return u.length <= 1 || u.filter((K) => !D.includes(K)).length === 0 ? h : { ...h, actions: [...u] };
3902
3902
  }));
3903
3903
  function de(s) {
@@ -3908,8 +3908,8 @@ const dl = { class: "h-[24px] w-[24px] flex items-center justify-center" }, fl =
3908
3908
  M
3909
3909
  );
3910
3910
  }
3911
- const pe = z(() => new Set(
3912
- R.value.filter((s) => rn(s.subject).length > 0).map((s) => s.subject)
3911
+ const ve = z(() => new Set(
3912
+ k.value.filter((s) => rn(s.subject).length > 0).map((s) => s.subject)
3913
3913
  )), be = z(() => {
3914
3914
  const s = /* @__PURE__ */ new Map();
3915
3915
  return Q.value.map((c) => ({
@@ -3918,9 +3918,9 @@ const dl = { class: "h-[24px] w-[24px] flex items-center justify-center" }, fl =
3918
3918
  (h) => !h.inverted && h.subject === c.subject
3919
3919
  )
3920
3920
  })).filter(({ rule: c }) => !c.inverted).forEach(({ rule: c, index: h }) => {
3921
- var E;
3922
- const D = c.actions, U = v(c.subject, D);
3923
- if (U.length === 0) return;
3921
+ var y;
3922
+ const D = c.actions, V = p(c.subject, D);
3923
+ if (V.length === 0) return;
3924
3924
  let u;
3925
3925
  try {
3926
3926
  u = c.conditions ? JSON.parse(c.conditions) : void 0;
@@ -3930,29 +3930,29 @@ const dl = { class: "h-[24px] w-[24px] flex items-center justify-center" }, fl =
3930
3930
  s.set(c.subject, {
3931
3931
  index: h >= 0 ? h : null,
3932
3932
  subject: c.subject,
3933
- label: ((E = M(c.subject)) == null ? void 0 : E.label) ?? c.subject,
3933
+ label: ((y = M(c.subject)) == null ? void 0 : y.label) ?? c.subject,
3934
3934
  actions: D,
3935
3935
  // Each builder only ever sees its own slice of the stored condition.
3936
- sections: U.map((K) => ({
3936
+ sections: V.map((K) => ({
3937
3937
  builder: K,
3938
3938
  formValue: K.fromCondition(nt(u, K))
3939
3939
  }))
3940
3940
  });
3941
3941
  }), s;
3942
- }), ae = ml(n, R, (s) => {
3942
+ }), ae = ml(n, k, (s) => {
3943
3943
  n.value = s;
3944
- }), oe = Or(n), Re = st(null);
3945
- function Y(s, c) {
3944
+ }), oe = Or(n), ke = st(null);
3945
+ function Z(s, c) {
3946
3946
  const h = be.value.get(s);
3947
3947
  if (h) return h;
3948
- const D = ae.getEffectiveActions(s), U = v(s, D);
3949
- if (U.length !== 0)
3948
+ const D = ae.getEffectiveActions(s), V = p(s, D);
3949
+ if (V.length !== 0)
3950
3950
  return {
3951
3951
  index: null,
3952
3952
  subject: s,
3953
3953
  label: c,
3954
3954
  actions: D,
3955
- sections: U.map((u) => ({
3955
+ sections: V.map((u) => ({
3956
3956
  builder: u,
3957
3957
  formValue: u.fromCondition(void 0)
3958
3958
  }))
@@ -3961,10 +3961,10 @@ const dl = { class: "h-[24px] w-[24px] flex items-center justify-center" }, fl =
3961
3961
  function fe(s, c) {
3962
3962
  const h = oe.getDraft({ subject: s.subject, builderKey: c.builderKey });
3963
3963
  if (h) return h.formValue;
3964
- const D = s.sections.find((U) => U.builder.builderKey === c.builderKey);
3964
+ const D = s.sections.find((V) => V.builder.builderKey === c.builderKey);
3965
3965
  return D == null ? void 0 : D.formValue;
3966
3966
  }
3967
- function Je(s, c) {
3967
+ function $e(s, c) {
3968
3968
  const h = oe.getDraft({ subject: s.subject, builderKey: c.builderKey });
3969
3969
  return h != null && h.inheritMode ? h.inheritMode : ae.inheritMode(s, c);
3970
3970
  }
@@ -3977,7 +3977,7 @@ const dl = { class: "h-[24px] w-[24px] flex items-center justify-center" }, fl =
3977
3977
  { subject: s.subject, builderKey: c.builderKey },
3978
3978
  {
3979
3979
  formValue: h,
3980
- inheritMode: (D == null ? void 0 : D.inheritMode) ?? Je(s, c)
3980
+ inheritMode: (D == null ? void 0 : D.inheritMode) ?? $e(s, c)
3981
3981
  }
3982
3982
  );
3983
3983
  }
@@ -3985,11 +3985,11 @@ const dl = { class: "h-[24px] w-[24px] flex items-center justify-center" }, fl =
3985
3985
  const D = oe.getDraft({
3986
3986
  subject: s.subject,
3987
3987
  builderKey: c.builderKey
3988
- }), U = s.sections.find((u) => u.builder.builderKey === c.builderKey);
3988
+ }), V = s.sections.find((u) => u.builder.builderKey === c.builderKey);
3989
3989
  oe.setDraft(
3990
3990
  { subject: s.subject, builderKey: c.builderKey },
3991
3991
  {
3992
- formValue: (D == null ? void 0 : D.formValue) ?? (U == null ? void 0 : U.formValue),
3992
+ formValue: (D == null ? void 0 : D.formValue) ?? (V == null ? void 0 : V.formValue),
3993
3993
  inheritMode: h
3994
3994
  }
3995
3995
  );
@@ -3999,11 +3999,11 @@ const dl = { class: "h-[24px] w-[24px] flex items-center justify-center" }, fl =
3999
3999
  }
4000
4000
  function Pe(s, c) {
4001
4001
  const h = s.sections.flatMap((D) => {
4002
- const U = oe.getDraft({
4002
+ const V = oe.getDraft({
4003
4003
  subject: s.subject,
4004
4004
  builderKey: D.builder.builderKey
4005
4005
  });
4006
- return U ? [{ builder: D.builder, form: U.formValue, mode: U.inheritMode ?? "custom" }] : [];
4006
+ return V ? [{ builder: D.builder, form: V.formValue, mode: V.inheritMode ?? "custom" }] : [];
4007
4007
  });
4008
4008
  ae.applyConditionDrafts(s, h, {
4009
4009
  afterCommit: () => {
@@ -4012,7 +4012,7 @@ const dl = { class: "h-[24px] w-[24px] flex items-center justify-center" }, fl =
4012
4012
  onOverridesConflict: o(s).onOverridesConflict
4013
4013
  });
4014
4014
  }
4015
- function Ge(s) {
4015
+ function Ye(s) {
4016
4016
  return s.sections.some((c) => ae.shouldShowInheritToggle(s, c.builder) ? ae.inheritMode(s, c.builder) === "custom" : Object.keys(c.builder.toCondition(c.formValue)).length > 0);
4017
4017
  }
4018
4018
  let je = !1;
@@ -4025,7 +4025,7 @@ const dl = { class: "h-[24px] w-[24px] flex items-center justify-center" }, fl =
4025
4025
  message: d("team.memberForm.permissions.conditionCover.confirmMessage", {
4026
4026
  cover: s.label
4027
4027
  }),
4028
- minWidth: C.value.lg ? 588 : 0,
4028
+ minWidth: N.value.lg ? 588 : 0,
4029
4029
  zIndex: 200,
4030
4030
  primaryActions: {
4031
4031
  text: d("team.memberForm.permissions.conditionCover.override"),
@@ -4052,42 +4052,42 @@ const dl = { class: "h-[24px] w-[24px] flex items-center justify-center" }, fl =
4052
4052
  },
4053
4053
  { deep: !0 }
4054
4054
  ), (s, c) => {
4055
- const h = De("FmIcon"), D = De("FmBottomSheet"), U = De("FmPopover");
4056
- return J(), re("div", {
4057
- class: Ie(["flex flex-col", e.part === "all" ? "gap-32" : "gap-16"])
4055
+ const h = De("FmIcon"), D = De("FmBottomSheet"), V = De("FmPopover");
4056
+ return $(), re("div", {
4057
+ class: Ee(["flex flex-col", e.part === "all" ? "gap-32" : "gap-16"])
4058
4058
  }, [
4059
- e.part !== "workplace" ? (J(), re("div", {
4059
+ e.part !== "workplace" ? ($(), re("div", {
4060
4060
  key: 0,
4061
- class: Ie(l.value)
4061
+ class: Ee(l.value)
4062
4062
  }, [
4063
4063
  le(Ha, {
4064
4064
  "model-value": Q.value,
4065
- "excluded-subjects": I,
4065
+ "excluded-subjects": E,
4066
4066
  "additional-permissions": B(w),
4067
4067
  layout: a.value,
4068
4068
  "onUpdate:modelValue": de
4069
4069
  }, tt({ _: 2 }, [
4070
- Ce(b.value, (u) => ({
4070
+ Ne(b.value, (u) => ({
4071
4071
  name: `checkbox-${u.id}-append`,
4072
4072
  fn: ce(() => [
4073
- le(pt, { item: u }, null, 8, ["item"])
4073
+ le(vt, { item: u }, null, 8, ["item"])
4074
4074
  ])
4075
4075
  })),
4076
- Ce(pe.value, (u) => ({
4076
+ Ne(ve.value, (u) => ({
4077
4077
  name: `checkbox-${u}-icon`,
4078
- fn: ce(({ option: E, isEffectiveSelected: K }) => [
4079
- K && Y(u, E.label) ? (J(), re(we, { key: 0 }, [
4080
- O.value ? (J(), Te(D, {
4078
+ fn: ce(({ option: y, isEffectiveSelected: K }) => [
4079
+ K && Z(u, y.label) ? ($(), re(we, { key: 0 }, [
4080
+ O.value ? ($(), Te(D, {
4081
4081
  key: 0,
4082
- "model-value": Re.value === u,
4082
+ "model-value": ke.value === u,
4083
4083
  header: B(d)("team.memberForm.permissions.conditionTitle", {
4084
- context: Y(u, E.label).label
4084
+ context: Z(u, y.label).label
4085
4085
  }),
4086
4086
  "dismiss-away": "",
4087
4087
  "z-index": 100,
4088
4088
  class: "h-5 flex items-center",
4089
- "onUpdate:modelValue": ($) => {
4090
- Re.value = $ ? u : null, $ || B(oe).clearDraftsForSubject(u);
4089
+ "onUpdate:modelValue": (J) => {
4090
+ ke.value = J ? u : null, J || B(oe).clearDraftsForSubject(u);
4091
4091
  }
4092
4092
  }, {
4093
4093
  "bottom-sheet-button": ce(() => [
@@ -4095,39 +4095,39 @@ const dl = { class: "h-[24px] w-[24px] flex items-center justify-center" }, fl =
4095
4095
  le(h, {
4096
4096
  name: "settings",
4097
4097
  size: "sm",
4098
- class: Ie([
4098
+ class: Ee([
4099
4099
  "cursor-pointer transition-colors",
4100
- Ge(Y(u, E.label)) ? "text-fm-color-primary-main" : "text-fm-color-neutral-gray-400 hover:text-fm-color-neutral-gray-600"
4100
+ Ye(Z(u, y.label)) ? "text-fm-color-primary-main" : "text-fm-color-neutral-gray-400 hover:text-fm-color-neutral-gray-600"
4101
4101
  ])
4102
4102
  }, null, 8, ["class"])
4103
4103
  ])
4104
4104
  ]),
4105
4105
  default: ce(() => [
4106
4106
  le(Fn, {
4107
- entry: Y(u, E.label),
4108
- builders: Y(u, E.label).sections.map(($) => $.builder),
4107
+ entry: Z(u, y.label),
4108
+ builders: Z(u, y.label).sections.map((J) => J.builder),
4109
4109
  subject: u,
4110
- "time-zone": k.value,
4110
+ "time-zone": L.value,
4111
4111
  "cover-override": B(ae),
4112
- "inherit-mode-for": ($) => Je(Y(u, E.label), $),
4113
- "form-value-for": ($) => fe(Y(u, E.label), $),
4112
+ "inherit-mode-for": (J) => $e(Z(u, y.label), J),
4113
+ "form-value-for": (J) => fe(Z(u, y.label), J),
4114
4114
  "has-changes": Fe(u),
4115
4115
  disable: e.disable,
4116
4116
  "full-width": !0,
4117
- onUpdateInheritMode: ({ builder: $, mode: me }) => We(Y(u, E.label), $, me),
4118
- onUpdateForm: ({ builder: $, form: me }) => Qe(Y(u, E.label), $, me),
4119
- onApply: ($) => Pe(Y(u, E.label), () => Re.value = null)
4117
+ onUpdateInheritMode: ({ builder: J, mode: me }) => We(Z(u, y.label), J, me),
4118
+ onUpdateForm: ({ builder: J, form: me }) => Qe(Z(u, y.label), J, me),
4119
+ onApply: (J) => Pe(Z(u, y.label), () => ke.value = null)
4120
4120
  }, null, 8, ["entry", "builders", "subject", "time-zone", "cover-override", "inherit-mode-for", "form-value-for", "has-changes", "disable", "onUpdateInheritMode", "onUpdateForm", "onApply"])
4121
4121
  ]),
4122
4122
  _: 2
4123
- }, 1032, ["model-value", "header", "onUpdate:modelValue"])) : (J(), Te(U, {
4123
+ }, 1032, ["model-value", "header", "onUpdate:modelValue"])) : ($(), Te(V, {
4124
4124
  key: 1,
4125
4125
  disabled: e.disable,
4126
4126
  "z-index": 100,
4127
4127
  "exclude-el-from-click-outside": [_l],
4128
4128
  class: "h-5 flex items-center",
4129
- onPopoverChanged: ($) => {
4130
- $ || B(oe).clearDraftsForSubject(u);
4129
+ onPopoverChanged: (J) => {
4130
+ J || B(oe).clearDraftsForSubject(u);
4131
4131
  }
4132
4132
  }, {
4133
4133
  "popover-button": ce(() => [
@@ -4135,39 +4135,39 @@ const dl = { class: "h-[24px] w-[24px] flex items-center justify-center" }, fl =
4135
4135
  le(h, {
4136
4136
  name: "settings",
4137
4137
  size: "sm",
4138
- class: Ie([
4138
+ class: Ee([
4139
4139
  "cursor-pointer transition-colors",
4140
- Ge(Y(u, E.label)) ? "text-fm-color-primary-main" : "text-fm-color-neutral-gray-400 hover:text-fm-color-neutral-gray-600"
4140
+ Ye(Z(u, y.label)) ? "text-fm-color-primary-main" : "text-fm-color-neutral-gray-400 hover:text-fm-color-neutral-gray-600"
4141
4141
  ])
4142
4142
  }, null, 8, ["class"])
4143
4143
  ])
4144
4144
  ]),
4145
- default: ce(({ hide: $ }) => [
4145
+ default: ce(({ hide: J }) => [
4146
4146
  le(Fn, {
4147
- entry: Y(u, E.label),
4148
- builders: Y(u, E.label).sections.map((me) => me.builder),
4147
+ entry: Z(u, y.label),
4148
+ builders: Z(u, y.label).sections.map((me) => me.builder),
4149
4149
  subject: u,
4150
- "time-zone": k.value,
4150
+ "time-zone": L.value,
4151
4151
  "cover-override": B(ae),
4152
4152
  title: B(d)("team.memberForm.permissions.conditionTitle", {
4153
- context: Y(u, E.label).label
4153
+ context: Z(u, y.label).label
4154
4154
  }),
4155
- "inherit-mode-for": (me) => Je(Y(u, E.label), me),
4156
- "form-value-for": (me) => fe(Y(u, E.label), me),
4155
+ "inherit-mode-for": (me) => $e(Z(u, y.label), me),
4156
+ "form-value-for": (me) => fe(Z(u, y.label), me),
4157
4157
  "has-changes": Fe(u),
4158
4158
  disable: e.disable,
4159
- onUpdateInheritMode: ({ builder: me, mode: Ze }) => We(
4160
- Y(u, E.label),
4159
+ onUpdateInheritMode: ({ builder: me, mode: Ge }) => We(
4160
+ Z(u, y.label),
4161
4161
  me,
4162
- Ze
4162
+ Ge
4163
4163
  ),
4164
- onUpdateForm: ({ builder: me, form: Ze }) => Qe(Y(u, E.label), me, Ze),
4165
- onApply: (me) => Pe(Y(u, E.label), $)
4164
+ onUpdateForm: ({ builder: me, form: Ge }) => Qe(Z(u, y.label), me, Ge),
4165
+ onApply: (me) => Pe(Z(u, y.label), J)
4166
4166
  }, null, 8, ["entry", "builders", "subject", "time-zone", "cover-override", "title", "inherit-mode-for", "form-value-for", "has-changes", "disable", "onUpdateInheritMode", "onUpdateForm", "onApply"])
4167
4167
  ]),
4168
4168
  _: 2
4169
4169
  }, 1032, ["disabled", "exclude-el-from-click-outside", "onPopoverChanged"]))
4170
- ], 64)) : (J(), Te(h, {
4170
+ ], 64)) : ($(), Te(h, {
4171
4171
  key: 1,
4172
4172
  name: "settings",
4173
4173
  size: "sm",
@@ -4176,29 +4176,29 @@ const dl = { class: "h-[24px] w-[24px] flex items-center justify-center" }, fl =
4176
4176
  ])
4177
4177
  }))
4178
4178
  ]), 1032, ["model-value", "additional-permissions", "layout"])
4179
- ], 2)) : Ne("", !0),
4180
- e.part !== "portal" ? (J(), re("div", {
4179
+ ], 2)) : Ce("", !0),
4180
+ e.part !== "portal" ? ($(), re("div", {
4181
4181
  key: 1,
4182
- class: Ie(l.value)
4182
+ class: Ee(l.value)
4183
4183
  }, [
4184
4184
  le(Dn, {
4185
- "model-value": p.value,
4186
- options: L.value,
4185
+ "model-value": v.value,
4186
+ options: R.value,
4187
4187
  context: B(d)("team.labels.warehouse"),
4188
4188
  layout: a.value,
4189
4189
  "onUpdate:modelValue": H
4190
4190
  }, tt({ _: 2 }, [
4191
- Ce(S.value, (u) => ({
4191
+ Ne(S.value, (u) => ({
4192
4192
  name: `checkbox-${u.id}-append`,
4193
4193
  fn: ce(() => [
4194
- le(pt, { item: u }, null, 8, ["item"])
4194
+ le(vt, { item: u }, null, 8, ["item"])
4195
4195
  ])
4196
4196
  }))
4197
4197
  ]), 1032, ["model-value", "options", "context", "layout"])
4198
- ], 2)) : Ne("", !0),
4199
- e.part !== "portal" ? (J(), re("div", {
4198
+ ], 2)) : Ce("", !0),
4199
+ e.part !== "portal" ? ($(), re("div", {
4200
4200
  key: 2,
4201
- class: Ie([l.value, { "order-first": e.part === "workplace" }])
4201
+ class: Ee([l.value, { "order-first": e.part === "workplace" }])
4202
4202
  }, [
4203
4203
  le(Dn, {
4204
4204
  "model-value": F.value,
@@ -4207,33 +4207,33 @@ const dl = { class: "h-[24px] w-[24px] flex items-center justify-center" }, fl =
4207
4207
  layout: a.value,
4208
4208
  "onUpdate:modelValue": W
4209
4209
  }, tt({ _: 2 }, [
4210
- Ce(m.value, (u) => ({
4210
+ Ne(m.value, (u) => ({
4211
4211
  name: `checkbox-${u.id}-append`,
4212
4212
  fn: ce(() => [
4213
- le(pt, { item: u }, null, 8, ["item"])
4213
+ le(vt, { item: u }, null, 8, ["item"])
4214
4214
  ])
4215
4215
  }))
4216
4216
  ]), 1032, ["model-value", "options", "context", "layout"])
4217
- ], 2)) : Ne("", !0),
4218
- e.part !== "portal" ? (J(), re("div", {
4217
+ ], 2)) : Ce("", !0),
4218
+ e.part !== "portal" ? ($(), re("div", {
4219
4219
  key: 3,
4220
- class: Ie(l.value)
4220
+ class: Ee(l.value)
4221
4221
  }, [
4222
4222
  le(tl, {
4223
4223
  roles: B(T),
4224
- "model-value": V.value,
4224
+ "model-value": U.value,
4225
4225
  "restaurant-ids": F.value,
4226
4226
  layout: a.value,
4227
4227
  "onUpdate:modelValue": X
4228
4228
  }, tt({ _: 2 }, [
4229
- Ce(y.value, (u) => ({
4229
+ Ne(I.value, (u) => ({
4230
4230
  name: `checkbox-${u.id}-append`,
4231
4231
  fn: ce(() => [
4232
- le(pt, { item: u }, null, 8, ["item"])
4232
+ le(vt, { item: u }, null, 8, ["item"])
4233
4233
  ])
4234
4234
  }))
4235
4235
  ]), 1032, ["roles", "model-value", "restaurant-ids", "layout"])
4236
- ], 2)) : Ne("", !0)
4236
+ ], 2)) : Ce("", !0)
4237
4237
  ], 2);
4238
4238
  };
4239
4239
  }