@lokalise/harmony 1.20.0 → 1.20.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/harmony.mjs CHANGED
@@ -1,24 +1,24 @@
1
1
  var en = Object.defineProperty;
2
2
  var tn = (e, t, n) => t in e ? en(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var ne = (e, t, n) => tn(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { jsx as s, jsxs as p, Fragment as He } from "react/jsx-runtime";
4
+ import { jsx as s, jsxs as f, Fragment as Ue } from "react/jsx-runtime";
5
5
  import * as K from "react";
6
- import { useRef as Ct, useState as R, useCallback as We, useEffect as J, useContext as wt, createContext as Pt, cloneElement as nn, Fragment as kt, forwardRef as rn } from "react";
7
- import { Tooltip as B, Link as L, Menu as ce, MenuList as le, CaretUpIcon as an, UserIcon as At, MenuItem as W, MenuDivider as It, ConfirmModal as on, Alert as sn, Tag as Oe, Button as xe, Loading as cn, Popover as ln, JobIcon as dn } from "@lokalise/louis";
6
+ import { useRef as Ct, useState as R, useCallback as We, useEffect as J, useContext as wt, createContext as Pt, cloneElement as nn, Fragment as At, forwardRef as rn } from "react";
7
+ import { Tooltip as B, Link as M, Menu as ce, MenuList as le, CaretUpIcon as an, UserIcon as kt, MenuItem as W, MenuDivider as It, ConfirmModal as on, Alert as sn, Tag as Ne, Button as Oe, Loading as cn, Popover as ln, JobIcon as dn } from "@lokalise/louis";
8
8
  import { format as Rt, parseISO as un, isThisSecond as mn } from "date-fns";
9
9
  import { toZonedTime as _n } from "date-fns-tz";
10
10
  import { z as r } from "zod";
11
- import { buildPayloadRoute as qe } from "@lokalise/universal-ts-utils/api-contracts/apiContracts";
12
- import { sendByPayloadRoute as M, sendByGetRoute as Q } from "@lokalise/frontend-http-client";
13
- import { useQuery as D, useMutation as de } from "@tanstack/react-query";
11
+ import { buildPayloadRoute as He } from "@lokalise/universal-ts-utils/api-contracts/apiContracts";
12
+ import { sendByPayloadRoute as D, sendByGetRoute as Q } from "@lokalise/frontend-http-client";
13
+ import { useQuery as $, useMutation as qe } from "@tanstack/react-query";
14
14
  import { buildGetRoute as Y, buildPayloadRoute as jt } from "@lokalise/universal-ts-utils/node";
15
- const Le = {
15
+ const xe = {
16
16
  Completed: "completed",
17
17
  InProgress: "in_progress",
18
18
  Created: "created",
19
19
  Queued: "queued"
20
- }, k = {
21
- ...Le,
20
+ }, A = {
21
+ ...xe,
22
22
  NotStarted: "not_started"
23
23
  }, re = {
24
24
  translation: "translation",
@@ -30,15 +30,15 @@ var ae = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
30
30
  function Nt(e) {
31
31
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
32
32
  }
33
- var fe, Qe;
33
+ var ge, Qe;
34
34
  function Be() {
35
- if (Qe) return fe;
35
+ if (Qe) return ge;
36
36
  Qe = 1;
37
37
  function e(t) {
38
38
  var n = typeof t;
39
39
  return t != null && (n == "object" || n == "function");
40
40
  }
41
- return fe = e, fe;
41
+ return ge = e, ge;
42
42
  }
43
43
  var pe, Ye;
44
44
  function gn() {
@@ -47,25 +47,25 @@ function gn() {
47
47
  var e = typeof ae == "object" && ae && ae.Object === Object && ae;
48
48
  return pe = e, pe;
49
49
  }
50
- var he, Xe;
50
+ var fe, Xe;
51
51
  function Ot() {
52
- if (Xe) return he;
52
+ if (Xe) return fe;
53
53
  Xe = 1;
54
54
  var e = gn(), t = typeof self == "object" && self && self.Object === Object && self, n = e || t || Function("return this")();
55
- return he = n, he;
55
+ return fe = n, fe;
56
56
  }
57
- var be, Ve;
58
- function fn() {
59
- if (Ve) return be;
57
+ var he, Ve;
58
+ function pn() {
59
+ if (Ve) return he;
60
60
  Ve = 1;
61
61
  var e = Ot(), t = function() {
62
62
  return e.Date.now();
63
63
  };
64
- return be = t, be;
64
+ return he = t, he;
65
65
  }
66
- var ve, Ze;
67
- function pn() {
68
- if (Ze) return ve;
66
+ var be, Ze;
67
+ function fn() {
68
+ if (Ze) return be;
69
69
  Ze = 1;
70
70
  var e = /\s/;
71
71
  function t(n) {
@@ -73,28 +73,28 @@ function pn() {
73
73
  ;
74
74
  return a;
75
75
  }
76
- return ve = t, ve;
76
+ return be = t, be;
77
77
  }
78
- var Te, et;
78
+ var ve, et;
79
79
  function hn() {
80
- if (et) return Te;
80
+ if (et) return ve;
81
81
  et = 1;
82
- var e = pn(), t = /^\s+/;
82
+ var e = fn(), t = /^\s+/;
83
83
  function n(a) {
84
84
  return a && a.slice(0, e(a) + 1).replace(t, "");
85
85
  }
86
- return Te = n, Te;
86
+ return ve = n, ve;
87
87
  }
88
- var ye, tt;
88
+ var Te, tt;
89
89
  function xt() {
90
- if (tt) return ye;
90
+ if (tt) return Te;
91
91
  tt = 1;
92
92
  var e = Ot(), t = e.Symbol;
93
- return ye = t, ye;
93
+ return Te = t, Te;
94
94
  }
95
- var Se, nt;
95
+ var ye, nt;
96
96
  function bn() {
97
- if (nt) return Se;
97
+ if (nt) return ye;
98
98
  nt = 1;
99
99
  var e = xt(), t = Object.prototype, n = t.hasOwnProperty, a = t.toString, o = e ? e.toStringTag : void 0;
100
100
  function i(c) {
@@ -107,50 +107,50 @@ function bn() {
107
107
  var m = a.call(c);
108
108
  return l && (d ? c[o] = u : delete c[o]), m;
109
109
  }
110
- return Se = i, Se;
110
+ return ye = i, ye;
111
111
  }
112
- var Ee, rt;
112
+ var Se, rt;
113
113
  function vn() {
114
- if (rt) return Ee;
114
+ if (rt) return Se;
115
115
  rt = 1;
116
116
  var e = Object.prototype, t = e.toString;
117
117
  function n(a) {
118
118
  return t.call(a);
119
119
  }
120
- return Ee = n, Ee;
120
+ return Se = n, Se;
121
121
  }
122
- var Ce, at;
122
+ var Ee, at;
123
123
  function Tn() {
124
- if (at) return Ce;
124
+ if (at) return Ee;
125
125
  at = 1;
126
126
  var e = xt(), t = bn(), n = vn(), a = "[object Null]", o = "[object Undefined]", i = e ? e.toStringTag : void 0;
127
127
  function c(d) {
128
128
  return d == null ? d === void 0 ? o : a : i && i in Object(d) ? t(d) : n(d);
129
129
  }
130
- return Ce = c, Ce;
130
+ return Ee = c, Ee;
131
131
  }
132
- var we, ot;
132
+ var Ce, ot;
133
133
  function yn() {
134
- if (ot) return we;
134
+ if (ot) return Ce;
135
135
  ot = 1;
136
136
  function e(t) {
137
137
  return t != null && typeof t == "object";
138
138
  }
139
- return we = e, we;
139
+ return Ce = e, Ce;
140
140
  }
141
- var Pe, st;
141
+ var we, st;
142
142
  function Sn() {
143
- if (st) return Pe;
143
+ if (st) return we;
144
144
  st = 1;
145
145
  var e = Tn(), t = yn(), n = "[object Symbol]";
146
146
  function a(o) {
147
147
  return typeof o == "symbol" || t(o) && e(o) == n;
148
148
  }
149
- return Pe = a, Pe;
149
+ return we = a, we;
150
150
  }
151
- var ke, it;
151
+ var Pe, it;
152
152
  function En() {
153
- if (it) return ke;
153
+ if (it) return Pe;
154
154
  it = 1;
155
155
  var e = hn(), t = Be(), n = Sn(), a = NaN, o = /^[-+]0x[0-9a-f]+$/i, i = /^0b[01]+$/i, c = /^0o[0-7]+$/i, d = parseInt;
156
156
  function u(l) {
@@ -168,24 +168,24 @@ function En() {
168
168
  var g = i.test(l);
169
169
  return g || c.test(l) ? d(l.slice(2), g ? 2 : 8) : o.test(l) ? a : +l;
170
170
  }
171
- return ke = u, ke;
171
+ return Pe = u, Pe;
172
172
  }
173
173
  var Ae, ct;
174
174
  function Lt() {
175
175
  if (ct) return Ae;
176
176
  ct = 1;
177
- var e = Be(), t = fn(), n = En(), a = "Expected a function", o = Math.max, i = Math.min;
177
+ var e = Be(), t = pn(), n = En(), a = "Expected a function", o = Math.max, i = Math.min;
178
178
  function c(d, u, l) {
179
- var m, g, T, y, _, E, b = 0, f = !1, h = !1, v = !0;
179
+ var m, g, T, y, _, E, b = 0, p = !1, h = !1, v = !0;
180
180
  if (typeof d != "function")
181
181
  throw new TypeError(a);
182
- u = n(u) || 0, e(l) && (f = !!l.leading, h = "maxWait" in l, T = h ? o(n(l.maxWait) || 0, u) : T, v = "trailing" in l ? !!l.trailing : v);
182
+ u = n(u) || 0, e(l) && (p = !!l.leading, h = "maxWait" in l, T = h ? o(n(l.maxWait) || 0, u) : T, v = "trailing" in l ? !!l.trailing : v);
183
183
  function w(S) {
184
184
  var N = m, G = g;
185
185
  return m = g = void 0, b = S, y = d.apply(G, N), y;
186
186
  }
187
187
  function C(S) {
188
- return b = S, _ = setTimeout(te, u), f ? w(S) : y;
188
+ return b = S, _ = setTimeout(te, u), p ? w(S) : y;
189
189
  }
190
190
  function ee(S) {
191
191
  var N = S - E, G = S - b, Je = u - N;
@@ -210,7 +210,7 @@ function Lt() {
210
210
  function Zt() {
211
211
  return _ === void 0 ? y : ze(t());
212
212
  }
213
- function ge() {
213
+ function _e() {
214
214
  var S = t(), N = Ke(S);
215
215
  if (m = arguments, g = this, E = S, N) {
216
216
  if (_ === void 0)
@@ -220,15 +220,15 @@ function Lt() {
220
220
  }
221
221
  return _ === void 0 && (_ = setTimeout(te, u)), y;
222
222
  }
223
- return ge.cancel = Vt, ge.flush = Zt, ge;
223
+ return _e.cancel = Vt, _e.flush = Zt, _e;
224
224
  }
225
225
  return Ae = c, Ae;
226
226
  }
227
227
  var Cn = Lt();
228
228
  const wn = /* @__PURE__ */ Nt(Cn);
229
- var Ie, lt;
229
+ var ke, lt;
230
230
  function Pn() {
231
- if (lt) return Ie;
231
+ if (lt) return ke;
232
232
  lt = 1;
233
233
  var e = Lt(), t = Be(), n = "Expected a function";
234
234
  function a(o, i, c) {
@@ -241,15 +241,15 @@ function Pn() {
241
241
  trailing: u
242
242
  });
243
243
  }
244
- return Ie = a, Ie;
244
+ return ke = a, ke;
245
245
  }
246
- var kn = Pn();
247
- const An = /* @__PURE__ */ Nt(kn), In = (e, t, n, a) => {
246
+ var An = Pn();
247
+ const kn = /* @__PURE__ */ Nt(An), In = (e, t, n, a) => {
248
248
  switch (t) {
249
249
  case "debounce":
250
250
  return wn(e, n, a);
251
251
  case "throttle":
252
- return An(e, n, a);
252
+ return kn(e, n, a);
253
253
  default:
254
254
  return e;
255
255
  }
@@ -311,7 +311,7 @@ function On({ skipOnMount: e = !1, refreshMode: t, refreshRate: n = 1e3, refresh
311
311
  entry: w
312
312
  }), C) : ee);
313
313
  });
314
- }, [o, i, l, E]), f = We(In(b, t, n, a), [
314
+ }, [o, i, l, E]), p = We(In(b, t, n, a), [
315
315
  b,
316
316
  t,
317
317
  n,
@@ -319,15 +319,15 @@ function On({ skipOnMount: e = !1, refreshMode: t, refreshRate: n = 1e3, refresh
319
319
  ]);
320
320
  return J(() => {
321
321
  let h;
322
- return _ ? (h = new window.ResizeObserver(f), h.observe(_, d)) : (g.width || g.height) && (m == null || m({
322
+ return _ ? (h = new window.ResizeObserver(p), h.observe(_, d)) : (g.width || g.height) && (m == null || m({
323
323
  width: null,
324
324
  height: null,
325
325
  entry: null
326
326
  }), T({ width: void 0, height: void 0 })), () => {
327
327
  var v, w, C;
328
- (v = h == null ? void 0 : h.disconnect) === null || v === void 0 || v.call(h), (C = (w = f).cancel) === null || C === void 0 || C.call(w);
328
+ (v = h == null ? void 0 : h.disconnect) === null || v === void 0 || v.call(h), (C = (w = p).cancel) === null || C === void 0 || C.call(w);
329
329
  };
330
- }, [f, _]), Object.assign({ ref: y }, g);
330
+ }, [p, _]), Object.assign({ ref: y }, g);
331
331
  }
332
332
  function Mt(e) {
333
333
  var t, n, a = "";
@@ -360,7 +360,7 @@ const xn = "_headerContainer_1cubo_1", Ln = "_navigationTabList_1cubo_8", Mn = "
360
360
  return window.addEventListener("scroll", u), () => window.removeEventListener("scroll", u);
361
361
  }, []);
362
362
  const d = `${a || qn}px`;
363
- return /* @__PURE__ */ s("div", { style: { minHeight: d }, children: /* @__PURE__ */ s("div", { children: /* @__PURE__ */ p(
363
+ return /* @__PURE__ */ s("div", { style: { minHeight: d }, children: /* @__PURE__ */ s("div", { children: /* @__PURE__ */ f(
364
364
  "div",
365
365
  {
366
366
  ref: n,
@@ -390,7 +390,7 @@ const Bn = "_sidebarContainer_bmdti_1", Dn = {
390
390
  link: Kn,
391
391
  active: zn
392
392
  }, Jn = ({ label: e, to: t, icon: n }) => /* @__PURE__ */ s(B, { placement: "right", tooltip: e, children: /* @__PURE__ */ s(
393
- L,
393
+ M,
394
394
  {
395
395
  className: j(dt.link, {
396
396
  [dt.active]: window.location.pathname.startsWith(t)
@@ -431,7 +431,7 @@ const Bn = "_sidebarContainer_bmdti_1", Dn = {
431
431
  ),
432
432
  children: /* @__PURE__ */ s(an, {})
433
433
  }
434
- ), Zn = "_menuContainer_ywskt_5", er = "_profileButton_ywskt_15", tr = "_profileImage_ywskt_28", nr = "_profileImageHighlight_ywskt_36", rr = "_profileImageUpgradeIcon_ywskt_40", ar = "_userIconWrapper_ywskt_46", O = {
434
+ ), Zn = "_menuContainer_1phdw_10", er = "_profileButton_1phdw_20", tr = "_profileImage_1phdw_33", nr = "_profileImageHighlight_1phdw_41", rr = "_profileImageUpgradeIcon_1phdw_45", ar = "_userIconWrapper_1phdw_51", x = {
435
435
  menuContainer: Zn,
436
436
  profileButton: er,
437
437
  profileImage: tr,
@@ -454,28 +454,28 @@ const Bn = "_sidebarContainer_bmdti_1", Dn = {
454
454
  return /* @__PURE__ */ s(
455
455
  ce,
456
456
  {
457
- menuButton: () => /* @__PURE__ */ p("button", { className: O.profileButton, "aria-label": "Profile menu", type: "button", children: [
457
+ menuButton: () => /* @__PURE__ */ f("button", { className: x.profileButton, "aria-label": "Profile menu", type: "button", children: [
458
458
  t != null && t.logoUrl ? /* @__PURE__ */ s(
459
459
  "img",
460
460
  {
461
461
  src: t.logoUrl,
462
- className: j(O.profileImage, {
463
- [O.profileImageHighlight]: a
462
+ className: j(x.profileImage, {
463
+ [x.profileImageHighlight]: a
464
464
  }),
465
465
  alt: "Team Logo"
466
466
  }
467
467
  ) : /* @__PURE__ */ s(
468
468
  "div",
469
469
  {
470
- className: j(O.userIconWrapper, "flex-row", "align-center", "items-center", {
471
- [O.profileImageHighlight]: a
470
+ className: j(x.userIconWrapper, "flex-row", "align-center", "items-center", {
471
+ [x.profileImageHighlight]: a
472
472
  }),
473
- children: /* @__PURE__ */ s(At, { size: "25px" })
473
+ children: /* @__PURE__ */ s(kt, { size: "25px" })
474
474
  }
475
475
  ),
476
- a && /* @__PURE__ */ s(Ut, { className: O.profileImageUpgradeIcon })
476
+ a && /* @__PURE__ */ s(Ut, { className: x.profileImageUpgradeIcon })
477
477
  ] }),
478
- children: /* @__PURE__ */ s(le, { placement: "right-end", className: O.menuContainer, children: e({
478
+ children: /* @__PURE__ */ s(le, { placement: "right-end", className: x.menuContainer, children: e({
479
479
  allowTeamCreation: i,
480
480
  otherTeams: n,
481
481
  canAccessTeamSettings: d,
@@ -487,7 +487,7 @@ const Bn = "_sidebarContainer_bmdti_1", Dn = {
487
487
  }) })
488
488
  }
489
489
  );
490
- }, qt = 0, sr = 9999, ir = [150, 151, 250, 251], cr = [152, 153, 252, 253], lr = [154, 155, 157, 158, 254, 255, 258, 354, 355, 358], dr = [156, 159, 160, 256, 259, 260], Bt = 9998, De = (e) => e === qt, Dt = (e) => e === sr, qo = (e) => ir.includes(e), Bo = (e) => cr.includes(e), Do = (e) => lr.includes(e), $o = (e) => dr.includes(e), Go = (e) => e > qt && e < Bt, Fo = (e) => e === Bt, ur = /\n/, mt = (e, t, n) => e.split(t).flatMap((a, o) => o !== 0 ? [nn(n, { key: Math.random().toString(32).slice(0, 10) }), a] : a), mr = (e, t, n) => typeof e == "string" ? mt(e, t, n) : e.flatMap((a) => typeof a == "string" ? mt(a, t, n) : a), _r = (e) => mr(e, ur, /* @__PURE__ */ s("br", {})), gr = /(\b(https?|):\/\/[-a-zA-Zа-яА-Я0-9+&@#/%?=~_|!:,.;]*[-a-zA-Zа-яА-Я0-9+&@#/%=~_|])/gi, fr = (e) => e.match(gr) ?? [], _t = (e, t, n) => {
490
+ }, qt = 0, sr = 9999, ir = [150, 151, 250, 251], cr = [152, 153, 252, 253], lr = [154, 155, 157, 158, 254, 255, 258, 354, 355, 358], dr = [156, 159, 160, 256, 259, 260], Bt = 9998, De = (e) => e === qt, Dt = (e) => e === sr, Bo = (e) => ir.includes(e), Do = (e) => cr.includes(e), $o = (e) => lr.includes(e), Go = (e) => dr.includes(e), Fo = (e) => e > qt && e < Bt, Ko = (e) => e === Bt, ur = /\n/, mt = (e, t, n) => e.split(t).flatMap((a, o) => o !== 0 ? [nn(n, { key: Math.random().toString(32).slice(0, 10) }), a] : a), mr = (e, t, n) => typeof e == "string" ? mt(e, t, n) : e.flatMap((a) => typeof a == "string" ? mt(a, t, n) : a), _r = (e) => mr(e, ur, /* @__PURE__ */ s("br", {})), gr = /(\b(https?|):\/\/[-a-zA-Zа-яА-Я0-9+&@#/%?=~_|!:,.;]*[-a-zA-Zа-яА-Я0-9+&@#/%=~_|])/gi, pr = (e) => e.match(gr) ?? [], _t = (e, t, n) => {
491
491
  const a = e.split(t);
492
492
  if (a.length === 1)
493
493
  return e;
@@ -496,18 +496,18 @@ const Bn = "_sidebarContainer_bmdti_1", Dn = {
496
496
  /* @__PURE__ */ s("a", { href: t, target: "_blank", rel: "noreferrer noopener", children: t }, t + n)
497
497
  ), o.push(a.join(t)), o.filter((i) => i !== "");
498
498
  }, gt = (e) => {
499
- const t = fr(e);
499
+ const t = pr(e);
500
500
  return t != null && t.length ? t.reduce((n, a, o) => typeof n == "string" ? _t(n, a, o) : n.flatMap((i) => typeof i == "string" ? _t(i, a, o) : i), e) : e;
501
- }, pr = (e) => typeof e == "string" ? gt(e) : e.flatMap((t) => typeof t == "string" ? gt(t) : t, e), hr = (e, t = "PP") => Rt(e, t), Ko = (e, t, n = "PP") => Rt(_n(e, t), n), $e = (e) => {
501
+ }, fr = (e) => typeof e == "string" ? gt(e) : e.flatMap((t) => typeof t == "string" ? gt(t) : t, e), hr = (e, t = "PP") => Rt(e, t), zo = (e, t, n = "PP") => Rt(_n(e, t), n), $e = (e) => {
502
502
  J(e, []);
503
- }, ft = {
503
+ }, pt = {
504
504
  biller: "biller",
505
505
  owner: "owner"
506
- }, pt = [
507
- ft.biller,
508
- ft.owner
506
+ }, ft = [
507
+ pt.biller,
508
+ pt.owner
509
509
  ], br = ({ children: e, config: t }) => {
510
- const { teams: n, currentTeamId: a, planId: o, isEndOfTrialActive: i, isFullyAuthenticated: c, userTeamRole: d } = t, u = n.find((f) => f.id === a), l = n.filter((f) => f.id !== a), m = pt.includes(d), g = pt.includes(d), T = De(o) || Dt(o), b = {
510
+ const { teams: n, currentTeamId: a, planId: o, isEndOfTrialActive: i, isFullyAuthenticated: c, userTeamRole: d } = t, u = n.find((p) => p.id === a), l = n.filter((p) => p.id !== a), m = ft.includes(d), g = ft.includes(d), T = De(o) || Dt(o), b = {
511
511
  ...t,
512
512
  currentTeam: u,
513
513
  otherTeams: l,
@@ -529,7 +529,7 @@ const Bn = "_sidebarContainer_bmdti_1", Dn = {
529
529
  hideBottomDivider: a
530
530
  }) => {
531
531
  const { isEndOfTrialActive: o, isTeamSuspended: i } = X();
532
- return o || i ? null : /* @__PURE__ */ p(He, { children: [
532
+ return o || i ? null : /* @__PURE__ */ f(Ue, { children: [
533
533
  /* @__PURE__ */ s(
534
534
  W,
535
535
  {
@@ -537,7 +537,7 @@ const Bn = "_sidebarContainer_bmdti_1", Dn = {
537
537
  onClick: () => {
538
538
  t == null || t();
539
539
  },
540
- children: /* @__PURE__ */ p("div", { className: `flex-col ${ht.container}`, children: [
540
+ children: /* @__PURE__ */ f("div", { className: `flex-col ${ht.container}`, children: [
541
541
  /* @__PURE__ */ s("span", { children: "Profile Settings" }),
542
542
  /* @__PURE__ */ s("span", { className: ht.profileEmail, children: n })
543
543
  ] })
@@ -545,74 +545,76 @@ const Bn = "_sidebarContainer_bmdti_1", Dn = {
545
545
  ),
546
546
  !a && /* @__PURE__ */ s(It, {})
547
547
  ] });
548
- }, Er = "_wrapper_15d85_1", Cr = "_profileImage_15d85_14", wr = "_teamName_15d85_22", Pr = "_planLabel_15d85_29", kr = "_membership_15d85_38", Ar = "_defaultProfileImage_15d85_44", U = {
548
+ }, Er = "_wrapper_1in7x_5", Cr = "_profileImage_1in7x_11", wr = "_teamDetails_1in7x_19", Pr = "_planWrapper_1in7x_28", Ar = "_teamName_1in7x_36", kr = "_planLabel_1in7x_45", Ir = "_membership_1in7x_53", Rr = "_defaultProfileImage_1in7x_59", O = {
549
549
  wrapper: Er,
550
550
  profileImage: Cr,
551
- teamName: wr,
552
- planLabel: Pr,
553
- membership: kr,
554
- defaultProfileImage: Ar
551
+ teamDetails: wr,
552
+ planWrapper: Pr,
553
+ teamName: Ar,
554
+ planLabel: kr,
555
+ membership: Ir,
556
+ defaultProfileImage: Rr
555
557
  }, $t = ({ team: e, onClick: t, hidePlanLabel: n }) => {
556
558
  const { currentTeam: a, planId: o } = X(), i = e || a;
557
559
  if (!i)
558
560
  return null;
559
561
  const c = De(o) ? "Free" : Dt(o) ? "Trial" : void 0;
560
- return /* @__PURE__ */ p(
562
+ return /* @__PURE__ */ f(
561
563
  t ? W : "div",
562
564
  {
563
- className: `flex-row gap-2 flex-nowrap items-center ${U.wrapper}`,
565
+ className: O.wrapper,
564
566
  ...t && { onClick: () => t(i) },
565
567
  children: [
566
- i.logoUrl ? /* @__PURE__ */ s("img", { className: U.profileImage, src: i.logoUrl, alt: "Team Logo" }) : /* @__PURE__ */ s("span", { className: `flex-row justify-center items-center ${U.defaultProfileImage}`, children: /* @__PURE__ */ s(At, { size: "25px" }) }),
567
- /* @__PURE__ */ p("div", { className: "flex-col items-start", children: [
568
- /* @__PURE__ */ p("div", { className: "flex-row items-center flex-nowrap gap-2", children: [
569
- /* @__PURE__ */ s("span", { title: i.name, className: U.teamName, children: i.name }),
570
- c && !n && /* @__PURE__ */ s("span", { className: `flex-row justify-center items-center ${U.planLabel}`, children: c })
568
+ i.logoUrl ? /* @__PURE__ */ s("img", { className: O.profileImage, src: i.logoUrl, alt: "" }) : /* @__PURE__ */ s("span", { className: `${O.defaultProfileImage}`, children: /* @__PURE__ */ s(kt, { size: "25px" }) }),
569
+ /* @__PURE__ */ f("div", { className: O.teamDetails, children: [
570
+ /* @__PURE__ */ f("div", { className: O.planWrapper, children: [
571
+ /* @__PURE__ */ s("span", { className: O.teamName, children: i.name }),
572
+ c && !n && /* @__PURE__ */ s("span", { className: `${O.planLabel}`, children: c })
571
573
  ] }),
572
- /* @__PURE__ */ s("span", { className: U.membership, children: i.role })
574
+ /* @__PURE__ */ s("span", { className: O.membership, children: i.role })
573
575
  ] })
574
576
  ]
575
577
  }
576
578
  );
577
- }, Ir = "_teamsContainer_1t68g_1", Rr = {
578
- teamsContainer: Ir
579
- }, jr = ({ onSwitchTeam: e }) => {
579
+ }, jr = "_teamsContainer_1ncrr_5", Nr = {
580
+ teamsContainer: jr
581
+ }, Or = ({ onSwitchTeam: e }) => {
580
582
  const { otherTeams: t } = X();
581
583
  return t.length === 0 ? null : /* @__PURE__ */ s(
582
584
  "div",
583
585
  {
584
586
  "data-testid": "sidebar-team-switch",
585
- className: `flex-col items-stretch ${Rr.teamsContainer}`,
587
+ className: `flex-col items-stretch ${Nr.teamsContainer}`,
586
588
  children: t.map((n) => /* @__PURE__ */ s($t, { team: n, onClick: e, hidePlanLabel: !0 }, n.id))
587
589
  }
588
590
  );
589
- }, Nr = "_container_1u995_1", Or = "_planCta_1u995_15", xr = "_upgradeIconWrapper_1u995_19", Re = {
590
- container: Nr,
591
- planCta: Or,
592
- upgradeIconWrapper: xr
593
- }, Lr = ({ upgradeOptionHref: e }) => {
591
+ }, xr = "_container_1u995_1", Lr = "_planCta_1u995_15", Mr = "_upgradeIconWrapper_1u995_19", Ie = {
592
+ container: xr,
593
+ planCta: Lr,
594
+ upgradeIconWrapper: Mr
595
+ }, Ur = ({ upgradeOptionHref: e }) => {
594
596
  const { planId: t, trialDaysLeft: n, showUpgradeCta: a } = X();
595
597
  if (!a)
596
598
  return null;
597
599
  const c = De(t) ? "Your team is currently on the Free plan" : `Free trial ends in ${n} ${n === 1 ? "day" : "days"}`;
598
- return /* @__PURE__ */ p(
600
+ return /* @__PURE__ */ f(
599
601
  W,
600
602
  {
601
603
  "data-testid": "sidebar-upgrade-menu-item",
602
604
  href: e,
603
- className: `flex-col gap-1 items-start ${Re.container}`,
605
+ className: `flex-col gap-1 items-start ${Ie.container}`,
604
606
  children: [
605
- /* @__PURE__ */ s("span", { className: Re.planCta, children: c }),
606
- /* @__PURE__ */ p("div", { className: `flex-row items-center gap-1 ${Re.upgradeIconWrapper}`, children: [
607
+ /* @__PURE__ */ s("span", { className: Ie.planCta, children: c }),
608
+ /* @__PURE__ */ f("div", { className: `flex-row items-center gap-1 ${Ie.upgradeIconWrapper}`, children: [
607
609
  /* @__PURE__ */ s(Ut, {}),
608
610
  /* @__PURE__ */ s("span", { children: "See upgrade options" })
609
611
  ] })
610
612
  ]
611
613
  }
612
614
  );
613
- }, Mr = Math.min, Ur = Math.max;
615
+ }, Hr = Math.min, qr = Math.max;
614
616
  function bt(e, t, n) {
615
- return Ur(e, Mr(t, n));
617
+ return qr(e, Hr(t, n));
616
618
  }
617
619
  function Gt(e, t) {
618
620
  return typeof e == "function" ? e(t) : e;
@@ -620,13 +622,13 @@ function Gt(e, t) {
620
622
  function Ft(e) {
621
623
  return e.split("-")[0];
622
624
  }
623
- function Hr(e) {
625
+ function Br(e) {
624
626
  return e === "x" ? "y" : "x";
625
627
  }
626
- function qr(e) {
628
+ function Dr(e) {
627
629
  return ["top", "bottom"].includes(Ft(e)) ? "y" : "x";
628
630
  }
629
- function Br(e) {
631
+ function $r(e) {
630
632
  return {
631
633
  top: 0,
632
634
  right: 0,
@@ -635,8 +637,8 @@ function Br(e) {
635
637
  ...e
636
638
  };
637
639
  }
638
- function Dr(e) {
639
- return typeof e != "number" ? Br(e) : {
640
+ function Gr(e) {
641
+ return typeof e != "number" ? $r(e) : {
640
642
  top: e,
641
643
  right: e,
642
644
  bottom: e,
@@ -661,7 +663,7 @@ function vt(e) {
661
663
  y: n
662
664
  };
663
665
  }
664
- async function $r(e, t) {
666
+ async function Fr(e, t) {
665
667
  var n;
666
668
  t === void 0 && (t = {});
667
669
  const {
@@ -677,7 +679,7 @@ async function $r(e, t) {
677
679
  elementContext: g = "floating",
678
680
  altBoundary: T = !1,
679
681
  padding: y = 0
680
- } = Gt(t, e), _ = Dr(y), b = d[T ? g === "floating" ? "reference" : "floating" : g], f = vt(await i.getClippingRect({
682
+ } = Gt(t, e), _ = Gr(y), b = d[T ? g === "floating" ? "reference" : "floating" : g], p = vt(await i.getClippingRect({
681
683
  element: (n = await (i.isElement == null ? void 0 : i.isElement(b))) == null || n ? b : b.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(d.floating)),
682
684
  boundary: l,
683
685
  rootBoundary: m,
@@ -700,13 +702,13 @@ async function $r(e, t) {
700
702
  strategy: u
701
703
  }) : h);
702
704
  return {
703
- top: (f.top - C.top + _.top) / w.y,
704
- bottom: (C.bottom - f.bottom + _.bottom) / w.y,
705
- left: (f.left - C.left + _.left) / w.x,
706
- right: (C.right - f.right + _.right) / w.x
705
+ top: (p.top - C.top + _.top) / w.y,
706
+ bottom: (C.bottom - p.bottom + _.bottom) / w.y,
707
+ left: (p.left - C.left + _.left) / w.x,
708
+ right: (C.right - p.right + _.right) / w.x
707
709
  };
708
710
  }
709
- const Gr = function(e) {
711
+ const Kr = function(e) {
710
712
  return e === void 0 && (e = {}), {
711
713
  name: "shift",
712
714
  options: e,
@@ -721,11 +723,11 @@ const Gr = function(e) {
721
723
  limiter: d = {
722
724
  fn: (b) => {
723
725
  let {
724
- x: f,
726
+ x: p,
725
727
  y: h
726
728
  } = b;
727
729
  return {
728
- x: f,
730
+ x: p,
729
731
  y: h
730
732
  };
731
733
  }
@@ -734,14 +736,14 @@ const Gr = function(e) {
734
736
  } = Gt(e, t), l = {
735
737
  x: n,
736
738
  y: a
737
- }, m = await $r(t, u), g = qr(Ft(o)), T = Hr(g);
739
+ }, m = await Fr(t, u), g = Dr(Ft(o)), T = Br(g);
738
740
  let y = l[T], _ = l[g];
739
741
  if (i) {
740
- const b = T === "y" ? "top" : "left", f = T === "y" ? "bottom" : "right", h = y + m[b], v = y - m[f];
742
+ const b = T === "y" ? "top" : "left", p = T === "y" ? "bottom" : "right", h = y + m[b], v = y - m[p];
741
743
  y = bt(h, y, v);
742
744
  }
743
745
  if (c) {
744
- const b = g === "y" ? "top" : "left", f = g === "y" ? "bottom" : "right", h = _ + m[b], v = _ - m[f];
746
+ const b = g === "y" ? "top" : "left", p = g === "y" ? "bottom" : "right", h = _ + m[b], v = _ - m[p];
745
747
  _ = bt(h, _, v);
746
748
  }
747
749
  const E = d.fn({
@@ -762,48 +764,48 @@ const Gr = function(e) {
762
764
  };
763
765
  }
764
766
  };
765
- }, Fr = "_navItem_1dudv_1", Kr = "_activeNavItem_1dudv_18", zr = "_badge_1dudv_23", je = {
766
- navItem: Fr,
767
- activeNavItem: Kr,
768
- badge: zr
769
- }, Kt = Pt({}), V = () => wt(Kt), Jr = (e) => {
767
+ }, zr = "_navItem_1dudv_1", Jr = "_activeNavItem_1dudv_18", Wr = "_badge_1dudv_23", Re = {
768
+ navItem: zr,
769
+ activeNavItem: Jr,
770
+ badge: Wr
771
+ }, Kt = Pt({}), V = () => wt(Kt), Qr = (e) => {
770
772
  const t = e.lastIndexOf("."), n = e.slice(0, t), a = e.slice(t + 1);
771
773
  return { name: n, extension: a };
772
- }, Wr = (e, t) => {
774
+ }, Yr = (e, t) => {
773
775
  switch (e) {
774
- case k.Completed:
776
+ case A.Completed:
775
777
  return t < 100 ? "Closed" : "Completed";
776
- case k.Created:
778
+ case A.Created:
777
779
  return t > 0 ? "In progress" : "Not started";
778
- case k.InProgress:
780
+ case A.InProgress:
779
781
  return "In progress";
780
- case k.Queued:
782
+ case A.Queued:
781
783
  return "Queued";
782
- case k.NotStarted:
784
+ case A.NotStarted:
783
785
  return "Not started";
784
786
  default:
785
787
  return "-";
786
788
  }
787
- }, Qr = (e) => {
789
+ }, Xr = (e) => {
788
790
  const t = e.progress ?? 0;
789
- return e.status === k.Created && t > 0 ? k.InProgress : e.status;
790
- }, Yr = {
791
+ return e.status === A.Created && t > 0 ? A.InProgress : e.status;
792
+ }, Vr = {
791
793
  [re.translation]: "#0891B2",
792
794
  [re.review]: "#16922D",
793
795
  [re.lqa_by_ai]: "#8B5CF6",
794
796
  [re.automatic_translation]: "#60A5FA"
795
- }, Xr = (e) => {
797
+ }, Zr = (e) => {
796
798
  const t = [
797
- k.InProgress,
798
- k.Created,
799
- k.Completed
799
+ A.InProgress,
800
+ A.Created,
801
+ A.Completed
800
802
  ];
801
- return e.filter((n) => n.status !== "queued").map((n) => ({ ...n, status: Qr(n) })).sort((n, a) => n.status === k.InProgress && n.progress === 100 ? -1 : a.status === k.InProgress && a.progress === 100 ? 1 : n.status === a.status ? n.name < a.name ? 1 : -1 : t.indexOf(n.status) - t.indexOf(a.status));
802
- }, Tt = (e) => [Le.InProgress, Le.Created].includes(e), Vr = (e, t) => Tt(e.status) && Tt(t.status) && (t.progress ?? 0) >= 100, Zr = ({ task: e, language: t }) => {
803
+ return e.filter((n) => n.status !== "queued").map((n) => ({ ...n, status: Xr(n) })).sort((n, a) => n.status === A.InProgress && n.progress === 100 ? -1 : a.status === A.InProgress && a.progress === 100 ? 1 : n.status === a.status ? n.name < a.name ? 1 : -1 : t.indexOf(n.status) - t.indexOf(a.status));
804
+ }, Tt = (e) => [xe.InProgress, xe.Created].includes(e), ea = (e, t) => Tt(e.status) && Tt(t.status) && (t.progress ?? 0) >= 100, ta = ({ task: e, language: t }) => {
803
805
  const [n, a] = R(!1), [o, i] = R(!1), { onLanguageCompleteConfirm: c, fetchTasks: d } = V(), u = () => {
804
806
  i(!1);
805
807
  };
806
- return /* @__PURE__ */ p(He, { children: [
808
+ return /* @__PURE__ */ f(Ue, { children: [
807
809
  o && /* @__PURE__ */ s(
808
810
  on,
809
811
  {
@@ -816,7 +818,7 @@ const Gr = function(e) {
816
818
  onConfirm: async () => {
817
819
  a(!0), await c({ task: e, language: t, closePrompt: u }), d();
818
820
  },
819
- children: /* @__PURE__ */ p(sn, { status: "info", children: [
821
+ children: /* @__PURE__ */ f(sn, { status: "info", children: [
820
822
  "Make sure you are finished and ",
821
823
  /* @__PURE__ */ s("strong", { children: "mark it as done" }),
822
824
  " to notify your team admin. This action cannot be undone, and the language might no longer be available for you to edit."
@@ -824,7 +826,7 @@ const Gr = function(e) {
824
826
  }
825
827
  ),
826
828
  /* @__PURE__ */ s(
827
- L,
829
+ M,
828
830
  {
829
831
  disabled: n,
830
832
  onClick: () => {
@@ -834,21 +836,21 @@ const Gr = function(e) {
834
836
  }
835
837
  )
836
838
  ] });
837
- }, ea = "_langRowCompleted_vpgdi_1", ta = "_langCellSecondary_vpgdi_15", na = "_langStatus_vpgdi_20", Ne = {
838
- langRowCompleted: ea,
839
- langCellSecondary: ta,
840
- langStatus: na
841
- }, ra = ({ language: e, task: t }) => {
842
- const { getProjectUrl: n, langNameOnClick: a, langProgressOnClick: o } = V(), i = e.progress ?? 0, c = e.status === k.Completed, d = Vr(t, e);
843
- return /* @__PURE__ */ p(
839
+ }, na = "_langRowCompleted_vpgdi_1", ra = "_langCellSecondary_vpgdi_15", aa = "_langStatus_vpgdi_20", je = {
840
+ langRowCompleted: na,
841
+ langCellSecondary: ra,
842
+ langStatus: aa
843
+ }, oa = ({ language: e, task: t }) => {
844
+ const { getProjectUrl: n, langNameOnClick: a, langProgressOnClick: o } = V(), i = e.progress ?? 0, c = e.status === A.Completed, d = ea(t, e);
845
+ return /* @__PURE__ */ f(
844
846
  "tr",
845
847
  {
846
848
  className: j({
847
- [Ne.langRowCompleted]: d
849
+ [je.langRowCompleted]: d
848
850
  }),
849
851
  children: [
850
852
  /* @__PURE__ */ s("td", { children: /* @__PURE__ */ s(B, { tooltip: "Open in bilingual view", children: /* @__PURE__ */ s(
851
- L,
853
+ M,
852
854
  {
853
855
  href: n({ task: t, language: e }),
854
856
  onClick: () => {
@@ -857,8 +859,8 @@ const Gr = function(e) {
857
859
  children: e.name
858
860
  }
859
861
  ) }) }),
860
- /* @__PURE__ */ s("td", { className: Ne.langCellSecondary, children: d || c ? "0" : /* @__PURE__ */ s(B, { tooltip: "Open uncompleted items", children: /* @__PURE__ */ s(
861
- L,
862
+ /* @__PURE__ */ s("td", { className: je.langCellSecondary, children: d || c ? "0" : /* @__PURE__ */ s(B, { tooltip: "Open uncompleted items", children: /* @__PURE__ */ s(
863
+ M,
862
864
  {
863
865
  href: n({ task: t, language: e, taskUncompleted: !0 }),
864
866
  onClick: () => {
@@ -867,46 +869,46 @@ const Gr = function(e) {
867
869
  children: e.base_words_total - e.base_words_done
868
870
  }
869
871
  ) }) }),
870
- /* @__PURE__ */ p("td", { children: [
872
+ /* @__PURE__ */ f("td", { children: [
871
873
  i,
872
874
  "%"
873
875
  ] }),
874
- /* @__PURE__ */ s("td", { children: d ? /* @__PURE__ */ s(Zr, { task: t, language: e }) : /* @__PURE__ */ s(
876
+ /* @__PURE__ */ s("td", { children: d ? /* @__PURE__ */ s(ta, { task: t, language: e }) : /* @__PURE__ */ s(
875
877
  "span",
876
878
  {
877
- className: `${Ne.langStatus} flex-row items-center justify-start`,
879
+ className: `${je.langStatus} flex-row items-center justify-start`,
878
880
  "data-status": e.status,
879
- children: Wr(e.status, i)
881
+ children: Yr(e.status, i)
880
882
  }
881
883
  ) })
882
884
  ]
883
885
  }
884
886
  );
885
- }, aa = "_taskContainer_mt2or_1", oa = "_taskTitle_mt2or_21", sa = "_taskDescription_mt2or_28", ia = "_languagesTable_mt2or_35", ca = "_metadata_mt2or_87", H = {
886
- taskContainer: aa,
887
- taskTitle: oa,
888
- taskDescription: sa,
889
- languagesTable: ia,
890
- metadata: ca
891
- }, la = ({ task: e }) => {
892
- const { getProjectUrl: t, taskTitleOnClick: n } = V(), a = Xr(e.langs), o = (i) => {
887
+ }, sa = "_taskContainer_mt2or_1", ia = "_taskTitle_mt2or_21", ca = "_taskDescription_mt2or_28", la = "_languagesTable_mt2or_35", da = "_metadata_mt2or_87", H = {
888
+ taskContainer: sa,
889
+ taskTitle: ia,
890
+ taskDescription: ca,
891
+ languagesTable: la,
892
+ metadata: da
893
+ }, ua = ({ task: e }) => {
894
+ const { getProjectUrl: t, taskTitleOnClick: n } = V(), a = Zr(e.langs), o = (i) => {
893
895
  window.open(
894
896
  `/style-guide/${e.team_id}/download/${i.id}/link`,
895
897
  "_blank",
896
898
  "noopener,noreferrer"
897
899
  );
898
900
  };
899
- return /* @__PURE__ */ p("div", { className: H.taskContainer, children: [
900
- /* @__PURE__ */ p("div", { className: "flex-row gap-1 items-center", children: [
901
- /* @__PURE__ */ p("div", { className: "flex-row gap-1 items-start flex-wrap", children: [
902
- /* @__PURE__ */ s(Oe, { color: Yr[e.task_type], variant: "solid", children: e.task_type.toLocaleUpperCase() }),
903
- e.due_date && /* @__PURE__ */ p(Oe, { color: "#EAB308", children: [
901
+ return /* @__PURE__ */ f("div", { className: H.taskContainer, children: [
902
+ /* @__PURE__ */ f("div", { className: "flex-row gap-1 items-center", children: [
903
+ /* @__PURE__ */ f("div", { className: "flex-row gap-1 items-start flex-wrap", children: [
904
+ /* @__PURE__ */ s(Ne, { color: Vr[e.task_type], variant: "solid", children: e.task_type.toLocaleUpperCase() }),
905
+ e.due_date && /* @__PURE__ */ f(Ne, { color: "#EAB308", children: [
904
906
  "DUE ",
905
907
  hr(un(e.due_date), "yyyy-MM-dd")
906
908
  ] })
907
909
  ] }),
908
910
  e.style_guides.length > 0 && /* @__PURE__ */ s("div", { className: "flex-row", children: e.style_guides.length === 1 ? /* @__PURE__ */ s(
909
- xe,
911
+ Oe,
910
912
  {
911
913
  size: "sm",
912
914
  variant: "secondary",
@@ -916,12 +918,12 @@ const Gr = function(e) {
916
918
  ) : /* @__PURE__ */ s(
917
919
  ce,
918
920
  {
919
- menuButton: /* @__PURE__ */ s(xe, { variant: "secondary", size: "sm", children: "Download style guide" }),
921
+ menuButton: /* @__PURE__ */ s(Oe, { variant: "secondary", size: "sm", children: "Download style guide" }),
920
922
  children: /* @__PURE__ */ s(le, { children: e.style_guides.map((i) => /* @__PURE__ */ s(
921
923
  W,
922
924
  {
923
925
  onClick: () => o(i),
924
- children: Jr(i.name).name
926
+ children: Qr(i.name).name
925
927
  },
926
928
  i.id
927
929
  )) })
@@ -929,7 +931,7 @@ const Gr = function(e) {
929
931
  ) })
930
932
  ] }),
931
933
  /* @__PURE__ */ s("h4", { className: H.taskTitle, children: /* @__PURE__ */ s(
932
- L,
934
+ M,
933
935
  {
934
936
  href: t({ task: e, view: "multi" }),
935
937
  onClick: () => {
@@ -938,23 +940,23 @@ const Gr = function(e) {
938
940
  children: e.title
939
941
  }
940
942
  ) }),
941
- e.description && /* @__PURE__ */ s("div", { className: H.taskDescription, children: _r(pr(e.description)) }),
942
- /* @__PURE__ */ p("table", { className: H.languagesTable, children: [
943
- /* @__PURE__ */ s("thead", { children: /* @__PURE__ */ p("tr", { children: [
943
+ e.description && /* @__PURE__ */ s("div", { className: H.taskDescription, children: _r(fr(e.description)) }),
944
+ /* @__PURE__ */ f("table", { className: H.languagesTable, children: [
945
+ /* @__PURE__ */ s("thead", { children: /* @__PURE__ */ f("tr", { children: [
944
946
  /* @__PURE__ */ s("th", { children: "Languages" }),
945
947
  /* @__PURE__ */ s("th", { children: "Words to do" }),
946
948
  /* @__PURE__ */ s("th", { children: "Progress" }),
947
949
  /* @__PURE__ */ s("th", { children: "Status" })
948
950
  ] }) }),
949
- /* @__PURE__ */ s("tbody", { children: a.map((i) => /* @__PURE__ */ s(ra, { language: i, task: e }, i.lang_id)) })
951
+ /* @__PURE__ */ s("tbody", { children: a.map((i) => /* @__PURE__ */ s(oa, { language: i, task: e }, i.lang_id)) })
950
952
  ] }),
951
- /* @__PURE__ */ p("div", { "data-testid": "sidebar-task-overview-metadata", className: H.metadata, children: [
952
- /* @__PURE__ */ p("span", { children: [
953
+ /* @__PURE__ */ f("div", { "data-testid": "sidebar-task-overview-metadata", className: H.metadata, children: [
954
+ /* @__PURE__ */ f("span", { children: [
953
955
  "Source: ",
954
956
  e.source_lang_name
955
957
  ] }),
956
958
  /* @__PURE__ */ s("span", { children: e.created_by_fullname }),
957
- /* @__PURE__ */ p("span", { children: [
959
+ /* @__PURE__ */ f("span", { children: [
958
960
  "In ",
959
961
  e.project_name,
960
962
  e.master_branching_enabled === "1" && /* @__PURE__ */ s("div", { className: H.tag, children: e.branch_name ? e.branch_name : "master" })
@@ -966,28 +968,28 @@ const Gr = function(e) {
966
968
  TaskClosed: "task_closed",
967
969
  Refresh: "refresh",
968
970
  ShowDialog: "show_dialog"
969
- }, da = "_loadingContainer_19d6m_1", ua = "_noTasksContainer_19d6m_7", ma = "_noTasksHeading_19d6m_14", _a = "_noTasksText_19d6m_18", ga = "_tasksContainer_19d6m_23", F = {
970
- loadingContainer: da,
971
- noTasksContainer: ua,
972
- noTasksHeading: ma,
973
- noTasksText: _a,
974
- tasksContainer: ga
975
- }, fa = () => {
971
+ }, ma = "_loadingContainer_19d6m_1", _a = "_noTasksContainer_19d6m_7", ga = "_noTasksHeading_19d6m_14", pa = "_noTasksText_19d6m_18", fa = "_tasksContainer_19d6m_23", F = {
972
+ loadingContainer: ma,
973
+ noTasksContainer: _a,
974
+ noTasksHeading: ga,
975
+ noTasksText: pa,
976
+ tasksContainer: fa
977
+ }, ha = () => {
976
978
  const { tasks: e, onTasksWidgetOpen: t, loadingTasks: n, fetchTasks: a } = V();
977
979
  return $e(() => ((async () => {
978
980
  const i = await a();
979
981
  t == null || t({ tasks: i });
980
982
  })(), document.addEventListener(P.TaskCompleted, a), document.addEventListener(P.TaskClosed, a), document.addEventListener(P.Refresh, a), () => {
981
983
  document.removeEventListener(P.TaskCompleted, a), document.removeEventListener(P.TaskClosed, a), document.removeEventListener(P.Refresh, a);
982
- })), n ? /* @__PURE__ */ s("div", { "data-testid": "sidebar-tasks-loading-popover", className: F.loadingContainer, children: /* @__PURE__ */ s(cn, {}) }) : e.length === 0 ? /* @__PURE__ */ p("div", { "data-testid": "sidebar-no-tasks-popover", className: F.noTasksContainer, children: [
984
+ })), n ? /* @__PURE__ */ s("div", { "data-testid": "sidebar-tasks-loading-popover", className: F.loadingContainer, children: /* @__PURE__ */ s(cn, {}) }) : e.length === 0 ? /* @__PURE__ */ f("div", { "data-testid": "sidebar-no-tasks-popover", className: F.noTasksContainer, children: [
983
985
  /* @__PURE__ */ s("h3", { className: F.noTasksHeading, children: "No tasks" }),
984
- /* @__PURE__ */ p("div", { className: F.noTasksText, children: [
986
+ /* @__PURE__ */ f("div", { className: F.noTasksText, children: [
985
987
  "Your incoming tasks will appear here.",
986
988
  /* @__PURE__ */ s("br", {}),
987
- /* @__PURE__ */ s(L, { href: "https://docs.lokalise.com/translation-workflow/tasks", target: "_new", children: "Learn more" })
989
+ /* @__PURE__ */ s(M, { href: "https://docs.lokalise.com/translation-workflow/tasks", target: "_new", children: "Learn more" })
988
990
  ] })
989
- ] }) : /* @__PURE__ */ s("div", { "data-testid": "sidebar-tasks-popover", className: F.tasksContainer, children: e.map((o) => /* @__PURE__ */ s(la, { task: o }, o.id)) });
990
- }, pa = ({ children: e, config: t }) => {
991
+ ] }) : /* @__PURE__ */ s("div", { "data-testid": "sidebar-tasks-popover", className: F.tasksContainer, children: e.map((o) => /* @__PURE__ */ s(ua, { task: o }, o.id)) });
992
+ }, ba = ({ children: e, config: t }) => {
991
993
  const [n, a] = R([]), [o, i] = R(!0), [c, d] = R(0), {
992
994
  getProjectUrl: u,
993
995
  onLanguageCompleteConfirm: l,
@@ -999,12 +1001,12 @@ const Gr = function(e) {
999
1001
  i(!0);
1000
1002
  const v = await _();
1001
1003
  return a(v), i(!1), v;
1002
- }, f = async () => {
1004
+ }, p = async () => {
1003
1005
  const v = await E();
1004
1006
  d(v);
1005
1007
  };
1006
- $e(() => (f(), document.addEventListener(P.TaskCompleted, f), document.addEventListener(P.TaskClosed, f), document.addEventListener(P.Refresh, f), () => {
1007
- document.removeEventListener(P.TaskCompleted, f), document.removeEventListener(P.TaskClosed, f), document.removeEventListener(P.Refresh, f);
1008
+ $e(() => (p(), document.addEventListener(P.TaskCompleted, p), document.addEventListener(P.TaskClosed, p), document.addEventListener(P.Refresh, p), () => {
1009
+ document.removeEventListener(P.TaskCompleted, p), document.removeEventListener(P.TaskClosed, p), document.removeEventListener(P.Refresh, p);
1008
1010
  }));
1009
1011
  const h = {
1010
1012
  fetchTasks: b,
@@ -1019,10 +1021,10 @@ const Gr = function(e) {
1019
1021
  taskTitleOnClick: y
1020
1022
  };
1021
1023
  return /* @__PURE__ */ s(Kt.Provider, { value: h, children: e });
1022
- }, ha = (e) => function(n) {
1024
+ }, va = (e) => function(n) {
1023
1025
  const { config: a, ...o } = n;
1024
- return /* @__PURE__ */ s(pa, { config: a, children: /* @__PURE__ */ s(e, { ...o }) });
1025
- }, ba = ha(() => {
1026
+ return /* @__PURE__ */ s(ba, { config: a, children: /* @__PURE__ */ s(e, { ...o }) });
1027
+ }, Ta = va(() => {
1026
1028
  const [e, t] = R(!1), { tasksCount: n } = V();
1027
1029
  return $e(() => {
1028
1030
  const a = () => {
@@ -1034,12 +1036,12 @@ const Gr = function(e) {
1034
1036
  }), /* @__PURE__ */ s(B, { tooltip: "Tasks", placement: "right", children: /* @__PURE__ */ s(
1035
1037
  ln,
1036
1038
  {
1037
- content: /* @__PURE__ */ s(fa, {}),
1039
+ content: /* @__PURE__ */ s(ha, {}),
1038
1040
  placement: "right",
1039
1041
  open: e,
1040
1042
  onOpenChange: t,
1041
1043
  middlewares: [
1042
- Gr({
1044
+ Kr({
1043
1045
  // Adding some spacing to the top and bottom so the popover
1044
1046
  // doesn't extend to the edges of the screen.
1045
1047
  padding: {
@@ -1048,81 +1050,81 @@ const Gr = function(e) {
1048
1050
  }
1049
1051
  })
1050
1052
  ],
1051
- children: (a) => /* @__PURE__ */ p(
1052
- xe,
1053
+ children: (a) => /* @__PURE__ */ f(
1054
+ Oe,
1053
1055
  {
1054
1056
  type: "button",
1055
1057
  "data-testid": "sidebar-tasks-widget-button",
1056
1058
  "aria-label": "Tasks",
1057
- className: j(je.navItem, {
1058
- [je.activeNavItem]: a
1059
+ className: j(Re.navItem, {
1060
+ [Re.activeNavItem]: a
1059
1061
  }),
1060
1062
  children: [
1061
1063
  /* @__PURE__ */ s(dn, { size: "25px" }),
1062
- n > 0 && /* @__PURE__ */ s("div", { className: je.badge, "aria-label": `${n} items requiring attention`, children: n > 9 ? "9+" : n })
1064
+ n > 0 && /* @__PURE__ */ s("div", { className: Re.badge, "aria-label": `${n} items requiring attention`, children: n > 9 ? "9+" : n })
1063
1065
  ]
1064
1066
  }
1065
1067
  )
1066
1068
  }
1067
1069
  ) });
1068
- }), A = ({ children: e, ...t }) => /* @__PURE__ */ s("nav", { ...t, className: Dn.sidebarContainer, children: e }), va = ({ children: e }) => /* @__PURE__ */ s("div", { children: e });
1069
- A.Top = va;
1070
- const Ta = ({ children: e }) => /* @__PURE__ */ s("div", { children: e });
1071
- A.Bottom = Ta;
1072
- A.Avatar = Fn;
1073
- A.IconLink = Jn;
1074
- A.Menu = Yn;
1075
- A.ProfileMenu = vr;
1076
- A.TeamSwitch = jr;
1077
- A.TeamMenuItem = $t;
1078
- A.UpgradeMenuItem = Lr;
1079
- A.ProfileSettingsMenuItem = Sr;
1080
- A.Tasks = ba;
1081
- const ya = "_breadcrumbsItem_1hm6a_1", Sa = "_breadcrumbs_1hm6a_1", yt = {
1082
- breadcrumbsItem: ya,
1083
- breadcrumbs: Sa
1084
- }, zo = ({ items: e }) => /* @__PURE__ */ s("nav", { "aria-label": "breadcrumb", className: yt.breadcrumbs, children: e.map((t, n) => /* @__PURE__ */ p(kt, { children: [
1085
- /* @__PURE__ */ s(L, { className: yt.breadcrumbsItem, href: t.link, rel: "noreferrer", children: t.name }),
1070
+ }), k = ({ children: e, ...t }) => /* @__PURE__ */ s("nav", { ...t, className: Dn.sidebarContainer, children: e }), ya = ({ children: e }) => /* @__PURE__ */ s("div", { children: e });
1071
+ k.Top = ya;
1072
+ const Sa = ({ children: e }) => /* @__PURE__ */ s("div", { children: e });
1073
+ k.Bottom = Sa;
1074
+ k.Avatar = Fn;
1075
+ k.IconLink = Jn;
1076
+ k.Menu = Yn;
1077
+ k.ProfileMenu = vr;
1078
+ k.TeamSwitch = Or;
1079
+ k.TeamMenuItem = $t;
1080
+ k.UpgradeMenuItem = Ur;
1081
+ k.ProfileSettingsMenuItem = Sr;
1082
+ k.Tasks = Ta;
1083
+ const Ea = "_breadcrumbsItem_1hm6a_1", Ca = "_breadcrumbs_1hm6a_1", yt = {
1084
+ breadcrumbsItem: Ea,
1085
+ breadcrumbs: Ca
1086
+ }, Jo = ({ items: e }) => /* @__PURE__ */ s("nav", { "aria-label": "breadcrumb", className: yt.breadcrumbs, children: e.map((t, n) => /* @__PURE__ */ f(At, { children: [
1087
+ /* @__PURE__ */ s(M, { className: yt.breadcrumbsItem, href: t.link, rel: "noreferrer", children: t.name }),
1086
1088
  n < e.length - 1 && /* @__PURE__ */ s("span", { children: " — " })
1087
- ] }, `${t.link}-${t.name}`)) }), Ea = ({ items: e }) => /* @__PURE__ */ s(He, { children: e.map((t, n) => /* @__PURE__ */ p(kt, { children: [
1089
+ ] }, `${t.link}-${t.name}`)) }), wa = ({ items: e }) => /* @__PURE__ */ s(Ue, { children: e.map((t, n) => /* @__PURE__ */ f(At, { children: [
1088
1090
  !!n && t.some((a) => a.visible) && /* @__PURE__ */ s(It, {}),
1089
1091
  t.filter(({ visible: a }) => a).map(({ link: a, label: o, onClick: i }) => /* @__PURE__ */ s(W, { href: a || "#", "aria-label": o, onClick: i, children: o }, o))
1090
- ] }, t[0].label)) }), Ca = "_badge_1pc1v_1", wa = "_tag_1pc1v_15", Pa = "_withNavLinkStyle_1pc1v_42 _withLinkStyle_1pc1v_21", ka = "_disabled_1pc1v_57", Aa = "_projectNavigationItem_1pc1v_61", Ia = "_projectNavigationItemDisabled_1pc1v_67", x = {
1091
- badge: Ca,
1092
- tag: wa,
1093
- withNavLinkStyle: Pa,
1094
- disabled: ka,
1095
- projectNavigationItem: Aa,
1096
- projectNavigationItemDisabled: Ia
1097
- }, St = ({ label: e, badge: t, novel: n }) => /* @__PURE__ */ p("div", { className: "flex gap-1", children: [
1098
- /* @__PURE__ */ p("div", { children: [
1092
+ ] }, t[0].label)) }), Pa = "_badge_1pc1v_1", Aa = "_tag_1pc1v_15", ka = "_withNavLinkStyle_1pc1v_42 _withLinkStyle_1pc1v_21", Ia = "_disabled_1pc1v_57", Ra = "_projectNavigationItem_1pc1v_61", ja = "_projectNavigationItemDisabled_1pc1v_67", L = {
1093
+ badge: Pa,
1094
+ tag: Aa,
1095
+ withNavLinkStyle: ka,
1096
+ disabled: Ia,
1097
+ projectNavigationItem: Ra,
1098
+ projectNavigationItemDisabled: ja
1099
+ }, St = ({ label: e, badge: t, novel: n }) => /* @__PURE__ */ f("div", { className: "flex gap-1", children: [
1100
+ /* @__PURE__ */ f("div", { children: [
1099
1101
  /* @__PURE__ */ s("span", { children: e }),
1100
- !!t && /* @__PURE__ */ s("div", { className: x.badge, "aria-label": `${t} items requiring attention`, children: t > 9 ? "9+" : t })
1102
+ !!t && /* @__PURE__ */ s("div", { className: L.badge, "aria-label": `${t} items requiring attention`, children: t > 9 ? "9+" : t })
1101
1103
  ] }),
1102
- !!n && /* @__PURE__ */ s(Oe, { className: x.tag, children: n })
1103
- ] }), Me = rn(
1104
+ !!n && /* @__PURE__ */ s(Ne, { className: L.tag, children: n })
1105
+ ] }), Le = rn(
1104
1106
  ({ label: e, href: t = "", disabled: n = !1, badge: a, onClick: o, novel: i }, c) => /* @__PURE__ */ s(B, { tooltip: "You do not have access to this function", show: n, children: /* @__PURE__ */ s(
1105
1107
  "div",
1106
1108
  {
1107
- className: n ? x.projectNavigationItemDisabled : x.projectNavigationItem,
1109
+ className: n ? L.projectNavigationItemDisabled : L.projectNavigationItem,
1108
1110
  children: o || n || !t ? /* @__PURE__ */ s(
1109
1111
  "button",
1110
1112
  {
1111
1113
  type: "button",
1112
1114
  ref: c,
1113
- className: j(x.withNavLinkStyle, {
1114
- [x.disabled]: n
1115
+ className: j(L.withNavLinkStyle, {
1116
+ [L.disabled]: n
1115
1117
  }),
1116
1118
  disabled: n,
1117
1119
  onClick: o,
1118
1120
  children: /* @__PURE__ */ s(St, { label: e, badge: a, novel: i })
1119
1121
  }
1120
- ) : /* @__PURE__ */ s("a", { href: t, className: x.withNavLinkStyle, children: /* @__PURE__ */ s(St, { label: e, badge: a, novel: i }) })
1122
+ ) : /* @__PURE__ */ s("a", { href: t, className: L.withNavLinkStyle, children: /* @__PURE__ */ s(St, { label: e, badge: a, novel: i }) })
1121
1123
  }
1122
1124
  ) })
1123
1125
  );
1124
- Me.displayName = "NavigationTabsItem";
1125
- const Ra = (e) => (e == null ? void 0 : e.some((t) => t.some((n) => n.visible))) ?? !1, ja = (e) => e.visible && (!e.dropdown || Ra(e.dropdown)), Jo = ({ navigation: e, activeItem: t }) => /* @__PURE__ */ s("nav", { "aria-label": "Project", children: /* @__PURE__ */ s("ul", { className: q.navigationTabList, "aria-orientation": "horizontal", children: e.filter(ja).map((n) => {
1126
+ Le.displayName = "NavigationTabsItem";
1127
+ const Na = (e) => (e == null ? void 0 : e.some((t) => t.some((n) => n.visible))) ?? !1, Oa = (e) => e.visible && (!e.dropdown || Na(e.dropdown)), Wo = ({ navigation: e, activeItem: t }) => /* @__PURE__ */ s("nav", { "aria-label": "Project", children: /* @__PURE__ */ s("ul", { className: q.navigationTabList, "aria-orientation": "horizontal", children: e.filter(Oa).map((n) => {
1126
1128
  var a, o, i;
1127
1129
  return n.dropdown ? /* @__PURE__ */ s(
1128
1130
  "li",
@@ -1133,8 +1135,8 @@ const Ra = (e) => (e == null ? void 0 : e.some((t) => t.some((n) => n.visible)))
1133
1135
  children: /* @__PURE__ */ s(
1134
1136
  ce,
1135
1137
  {
1136
- menuButton: ({ opened: c }) => /* @__PURE__ */ s(Me, { label: n.label, disabled: n.disabled, active: c }),
1137
- children: /* @__PURE__ */ s(le, { children: /* @__PURE__ */ s(Ea, { items: n.dropdown }) })
1138
+ menuButton: ({ opened: c }) => /* @__PURE__ */ s(Le, { label: n.label, disabled: n.disabled, active: c }),
1139
+ children: /* @__PURE__ */ s(le, { children: /* @__PURE__ */ s(wa, { items: n.dropdown }) })
1138
1140
  }
1139
1141
  )
1140
1142
  },
@@ -1146,7 +1148,7 @@ const Ra = (e) => (e == null ? void 0 : e.some((t) => t.some((n) => n.visible)))
1146
1148
  "data-testid": n.key,
1147
1149
  "aria-selected": (o = n.isActive) == null ? void 0 : o.call(n, t),
1148
1150
  children: /* @__PURE__ */ s(
1149
- Me,
1151
+ Le,
1150
1152
  {
1151
1153
  label: n.label,
1152
1154
  href: n.link,
@@ -1302,9 +1304,9 @@ class I {
1302
1304
  }
1303
1305
  }
1304
1306
  function zt(e) {
1305
- return new Na(e);
1307
+ return new xa(e);
1306
1308
  }
1307
- class Na {
1309
+ class xa {
1308
1310
  constructor(t) {
1309
1311
  this.middleware = t;
1310
1312
  }
@@ -1320,7 +1322,7 @@ const Jt = r.union([
1320
1322
  r.literal("admin"),
1321
1323
  r.literal("biller"),
1322
1324
  r.literal("member")
1323
- ]), Oa = r.object({
1325
+ ]), La = r.object({
1324
1326
  userId: r.number(),
1325
1327
  userUuid: r.string().uuid(),
1326
1328
  teamId: r.number(),
@@ -1338,7 +1340,7 @@ const Jt = r.union([
1338
1340
  function Z(e) {
1339
1341
  try {
1340
1342
  const t = e.split(".")[1], n = atob(t);
1341
- return Oa.parse(JSON.parse(n));
1343
+ return La.parse(JSON.parse(n));
1342
1344
  } catch {
1343
1345
  return;
1344
1346
  }
@@ -1350,7 +1352,7 @@ class se extends Error {
1350
1352
  ne(this, "status", 401);
1351
1353
  }
1352
1354
  }
1353
- function Wo(e) {
1355
+ function Qo(e) {
1354
1356
  return zt(async (t) => {
1355
1357
  var i, c;
1356
1358
  const n = e.getCurrentToken() ?? await ((i = e.generateNewToken) == null ? void 0 : i.call(e));
@@ -1365,21 +1367,21 @@ function Wo(e) {
1365
1367
  return (c = e.onNewTokenIssued) == null || c.call(e, o), t.add("authorization", `Bearer ${o.accessToken}`);
1366
1368
  });
1367
1369
  }
1368
- const Qo = zt(
1370
+ const Yo = zt(
1369
1371
  (e) => e.and({ "x-lokalise-plugin": "true" })
1370
1372
  );
1371
1373
  function Wt() {
1372
- const e = Ue(document.cookie, "accessToken"), t = Ue(document.cookie, "refreshToken");
1374
+ const e = Me(document.cookie, "accessToken"), t = Me(document.cookie, "refreshToken");
1373
1375
  return !e || !t ? null : { accessToken: e, refreshToken: t };
1374
1376
  }
1375
- function xa() {
1376
- return Ue(document.cookie, "csrf_token") ?? null;
1377
+ function Ma() {
1378
+ return Me(document.cookie, "csrf_token") ?? null;
1377
1379
  }
1378
- function Ue(e, t) {
1380
+ function Me(e, t) {
1379
1381
  var n, a;
1380
1382
  return (a = (n = e.split(";").find((o) => o.trim().startsWith(`${t}=`))) == null ? void 0 : n.trim()) == null ? void 0 : a.substring(t.length + 1);
1381
1383
  }
1382
- function Yo() {
1384
+ function Xo() {
1383
1385
  const e = Wt();
1384
1386
  if (!e)
1385
1387
  return;
@@ -1390,66 +1392,66 @@ function Yo() {
1390
1392
  const Qt = r.union([
1391
1393
  r.object({ authorization: r.string() }),
1392
1394
  r.object({ AUTHORIZATION: r.string() })
1393
- ]), La = r.union([
1395
+ ]), Ua = r.union([
1394
1396
  r.object({ "X-API-Token": r.string() }),
1395
1397
  r.object({ "X-Api-Token": r.string() }),
1396
1398
  r.object({ "x-api-token": r.string() }),
1397
1399
  r.object({ "X-API-TOKEN": r.string() })
1398
- ]), Ma = r.union([
1400
+ ]), Ha = r.union([
1399
1401
  Qt,
1400
- La
1401
- ]), Ua = r.union([
1402
+ Ua
1403
+ ]), qa = r.union([
1402
1404
  r.object({ "X-Lokalise-Plugin": r.string() }),
1403
1405
  r.object({ "x-lokalise-plugin": r.string() }),
1404
1406
  r.object({ "X-LOKALISE-PLUGIN": r.string() })
1405
- ]), $ = Ma.and(Ua), Ha = r.object({
1407
+ ]), U = Ha.and(qa), Ba = r.object({
1406
1408
  accessToken: r.string(),
1407
1409
  refreshToken: r.string()
1408
- }), qa = r.union([
1410
+ }), Da = r.union([
1409
1411
  r.object({ "X-Csrf-Token": r.string() }),
1410
1412
  r.object({ "X-CSRF-Token": r.string() }),
1411
1413
  r.object({ "x-csrf-token": r.string() }),
1412
1414
  r.object({ "X-CSRF-TOKEN": r.string() })
1413
- ]), Ba = r.union([
1415
+ ]), $a = r.union([
1414
1416
  Qt,
1415
- qa
1416
- ]), Ge = qe({
1417
+ Da
1418
+ ]), Ge = He({
1417
1419
  description: "Takes a teamId and returns a JWT token access and refresh token for the user",
1418
1420
  method: "post",
1419
1421
  requestPathParamsSchema: r.object({ teamId: r.number() }),
1420
1422
  pathResolver: (e) => `/team/${e.teamId}/actions/get-user-token`,
1421
- requestHeaderSchema: Ba,
1423
+ requestHeaderSchema: $a,
1422
1424
  requestBodySchema: r.undefined(),
1423
1425
  isEmptyResponseExpected: !0,
1424
- successResponseBodySchema: Ha
1426
+ successResponseBodySchema: Ba
1425
1427
  });
1426
- function Xo(e, t, n) {
1428
+ function Vo(e, t, n) {
1427
1429
  return async () => {
1428
1430
  const a = t();
1429
1431
  if (!a)
1430
1432
  throw new se();
1431
- return M(e, Ge, {
1433
+ return D(e, Ge, {
1432
1434
  pathParams: { teamId: Number(await n()) },
1433
1435
  headers: await I.create().add("x-csrf-token", a).resolve()
1434
1436
  });
1435
1437
  };
1436
1438
  }
1437
- function Vo(e) {
1439
+ function Zo(e) {
1438
1440
  return async ({ accessToken: t, refreshToken: n }) => {
1439
1441
  const a = Z(t);
1440
1442
  if (!a)
1441
1443
  throw new se();
1442
- return M(e, Ge, {
1444
+ return D(e, Ge, {
1443
1445
  pathParams: { teamId: a.teamId },
1444
1446
  headers: await I.create().add("authorization", `Bearer ${n}`).resolve()
1445
1447
  });
1446
1448
  };
1447
1449
  }
1448
- const Da = {
1450
+ const Ga = {
1449
1451
  teamKey: (e) => ["getUserToken", e]
1450
- }, $a = (e, t, n) => D({
1452
+ }, Fa = (e, t, n) => $({
1451
1453
  ...n,
1452
- queryFn: async ({ queryKey: [a, o] }) => M(e, Ge, {
1454
+ queryFn: async ({ queryKey: [a, o] }) => D(e, Ge, {
1453
1455
  headers: await t.resolve(),
1454
1456
  pathParams: { teamId: o }
1455
1457
  })
@@ -1462,9 +1464,9 @@ const Da = {
1462
1464
  };
1463
1465
  ne(ie, "eventName", "new-jwt-issued");
1464
1466
  let z = ie;
1465
- function Zo(e, t, n) {
1466
- const a = xa(), o = $a(e, t.add("x-csrf-token", a ?? ""), {
1467
- queryKey: Da.teamKey(n),
1467
+ function es(e, t, n) {
1468
+ const a = Ma(), o = Fa(e, t.add("x-csrf-token", a ?? ""), {
1469
+ queryKey: Ga.teamKey(n),
1468
1470
  enabled: a !== void 0
1469
1471
  }), i = Ct();
1470
1472
  return J(() => {
@@ -1482,87 +1484,87 @@ function Yt() {
1482
1484
  };
1483
1485
  }, []), e;
1484
1486
  }
1485
- const Ga = $, Fa = r.object({
1487
+ const Ka = U, za = r.object({
1486
1488
  user_id: r.number(),
1487
1489
  email: r.string().email(),
1488
1490
  fullname: r.string(),
1489
1491
  created_at: r.string(),
1490
1492
  created_at_timestamp: r.number(),
1491
1493
  role: Jt
1492
- }), Ka = r.object({
1494
+ }), Ja = r.object({
1493
1495
  team_id: r.number(),
1494
- team_user: Fa
1495
- }), za = Y({
1496
+ team_user: za
1497
+ }), Wa = Y({
1496
1498
  description: "Get the details of a team user",
1497
- requestHeaderSchema: Ga,
1499
+ requestHeaderSchema: Ka,
1498
1500
  requestPathParamsSchema: r.object({ teamId: r.number(), userId: r.number() }),
1499
1501
  pathResolver: ({ teamId: e, userId: t }) => `/teams/${e}/users/${t}`,
1500
- successResponseBodySchema: Ka
1501
- }), Ja = {
1502
+ successResponseBodySchema: Ja
1503
+ }), Qa = {
1502
1504
  teamUserKey: (e, t) => ["GetTeamUsers", e, t]
1503
- }, Wa = (e, t, n) => D({
1505
+ }, Ya = (e, t, n) => $({
1504
1506
  ...n,
1505
- queryFn: async ({ queryKey: [a, o, i] }) => Q(e, za, {
1507
+ queryFn: async ({ queryKey: [a, o, i] }) => Q(e, Wa, {
1506
1508
  headers: await t.resolve(),
1507
1509
  pathParams: { teamId: o, userId: i }
1508
1510
  })
1509
1511
  });
1510
- function es(e, t) {
1512
+ function ts(e, t) {
1511
1513
  const n = Yt();
1512
- return Wa(e, t, {
1513
- queryKey: Ja.teamUserKey((n == null ? void 0 : n.teamId) ?? 0, (n == null ? void 0 : n.userId) ?? 0),
1514
+ return Ya(e, t, {
1515
+ queryKey: Qa.teamUserKey((n == null ? void 0 : n.teamId) ?? 0, (n == null ? void 0 : n.userId) ?? 0),
1514
1516
  enabled: (n == null ? void 0 : n.userId) !== void 0 && n.teamId !== void 0
1515
1517
  });
1516
1518
  }
1517
- const Qa = r.object({
1519
+ const ns = U, Xa = r.object({
1518
1520
  lang_id: r.number(),
1519
1521
  lang_iso: r.string(),
1520
1522
  lang_name: r.string(),
1521
1523
  is_writable: r.union([r.literal(0), r.literal(1)])
1522
- }), Ya = r.object({
1524
+ }), Va = r.object({
1523
1525
  user_id: r.number(),
1524
1526
  email: r.string().email(),
1525
1527
  fullname: r.string(),
1526
1528
  created_at: r.string(),
1527
1529
  created_at_timestamp: r.number(),
1528
1530
  admin_rights: r.array(r.string()),
1529
- languages: r.array(Qa),
1531
+ languages: r.array(Xa),
1530
1532
  is_admin: r.boolean(),
1531
1533
  is_reviewer: r.boolean()
1532
- }), Xa = r.object({
1534
+ }), Za = r.object({
1533
1535
  project_id: r.string(),
1534
- contributors: r.array(Ya)
1535
- }), Va = Y({
1536
+ contributors: r.array(Va)
1537
+ }), eo = Y({
1536
1538
  description: "Get the details of a project contributor",
1537
- requestHeaderSchema: $,
1539
+ requestHeaderSchema: U,
1538
1540
  requestPathParamsSchema: r.object({ projectId: r.string(), contributorId: r.number() }),
1539
1541
  pathResolver: ({ projectId: e, contributorId: t }) => `/projects/${e}/contributors/${t}`,
1540
- successResponseBodySchema: Xa
1541
- }), Za = {
1542
+ successResponseBodySchema: Za
1543
+ }), to = {
1542
1544
  projectUserKey: (e, t) => ["RetrieveContributor", e, t]
1543
- }, eo = (e, t, n) => D({
1545
+ }, no = (e, t, n) => $({
1544
1546
  ...n,
1545
- queryFn: async ({ queryKey: [a, o, i] }) => Q(e, Va, {
1547
+ queryFn: async ({ queryKey: [a, o, i] }) => Q(e, eo, {
1546
1548
  pathParams: { projectId: o, contributorId: i },
1547
1549
  headers: await t.resolve()
1548
1550
  })
1549
1551
  });
1550
- function ts(e, t, n) {
1552
+ function rs(e, t, n) {
1551
1553
  const a = Yt();
1552
- return eo(e, t, {
1553
- queryKey: Za.projectUserKey(n, (a == null ? void 0 : a.userId) ?? 0),
1554
+ return no(e, t, {
1555
+ queryKey: to.projectUserKey(n, (a == null ? void 0 : a.userId) ?? 0),
1554
1556
  enabled: a !== void 0
1555
1557
  });
1556
1558
  }
1557
- const to = r.object({
1559
+ const ro = r.object({
1558
1560
  lang_iso: r.string(),
1559
1561
  custom_iso: r.string().optional()
1560
- }), no = r.object({
1562
+ }), ao = r.object({
1561
1563
  language_id: r.number(),
1562
1564
  language_iso: r.string(),
1563
1565
  progress: r.number(),
1564
1566
  words_to_do: r.number()
1565
- }), ro = r.object({
1567
+ }), oo = r.object({
1566
1568
  projectId: r.string()
1567
1569
  }), Xt = r.object({
1568
1570
  lang_id: r.number(),
@@ -1570,13 +1572,13 @@ const to = r.object({
1570
1572
  lang_name: r.string(),
1571
1573
  is_rtl: r.boolean(),
1572
1574
  plural_forms: r.array(r.string().optional())
1573
- }), ao = r.object({
1575
+ }), so = r.object({
1574
1576
  project_id: r.string(),
1575
1577
  project_uuid: r.string().uuid(),
1576
1578
  languages: r.array(Xt)
1577
- }), oo = r.object({
1579
+ }), io = r.object({
1578
1580
  projectId: r.string()
1579
- }), so = r.object({
1581
+ }), co = r.object({
1580
1582
  languages: r.array(
1581
1583
  r.object({
1582
1584
  lang_iso: r.string(),
@@ -1585,7 +1587,7 @@ const to = r.object({
1585
1587
  custom_plural_forms: r.array(r.string()).optional()
1586
1588
  })
1587
1589
  )
1588
- }), io = r.object({
1590
+ }), lo = r.object({
1589
1591
  project_id: r.string(),
1590
1592
  project_uuid: r.string().uuid(),
1591
1593
  languages: r.array(Xt),
@@ -1596,40 +1598,40 @@ const to = r.object({
1596
1598
  lang_iso: r.string()
1597
1599
  })
1598
1600
  ).optional()
1599
- }), co = r.object({
1601
+ }), uo = r.object({
1600
1602
  projectId: r.string()
1601
- }), lo = r.object({
1603
+ }), mo = r.object({
1602
1604
  langs: r.array(
1603
1605
  r.object({
1604
1606
  lang_iso: r.string(),
1605
1607
  base_lang: r.boolean()
1606
1608
  })
1607
1609
  )
1608
- }), uo = r.object({
1610
+ }), _o = r.object({
1609
1611
  result: r.boolean()
1610
- }), mo = Y({
1612
+ }), go = Y({
1611
1613
  description: "List of project languages",
1612
- requestHeaderSchema: $,
1613
- requestPathParamsSchema: ro,
1614
+ requestHeaderSchema: U,
1615
+ requestPathParamsSchema: oo,
1614
1616
  pathResolver: ({ projectId: e }) => `/projects/${e}/languages`,
1615
- successResponseBodySchema: ao
1616
- }), _o = jt({
1617
+ successResponseBodySchema: so
1618
+ }), as = jt({
1617
1619
  description: "Add languages to existing project",
1618
- requestHeaderSchema: $,
1620
+ requestHeaderSchema: U,
1619
1621
  method: "post",
1620
- requestPathParamsSchema: oo,
1622
+ requestPathParamsSchema: io,
1621
1623
  pathResolver: ({ projectId: e }) => `/projects/${e}/languages`,
1622
- requestBodySchema: so,
1623
- successResponseBodySchema: io
1624
- }), go = jt({
1624
+ requestBodySchema: co,
1625
+ successResponseBodySchema: lo
1626
+ }), po = jt({
1625
1627
  description: "Bulk update project languages",
1626
- requestHeaderSchema: $,
1628
+ requestHeaderSchema: U,
1627
1629
  method: "put",
1628
- requestPathParamsSchema: co,
1630
+ requestPathParamsSchema: uo,
1629
1631
  pathResolver: ({ projectId: e }) => `/projects/${e}/languages/bulk-update`,
1630
- requestBodySchema: lo,
1631
- successResponseBodySchema: uo
1632
- }), ue = $, Fe = r.union([
1632
+ requestBodySchema: mo,
1633
+ successResponseBodySchema: _o
1634
+ }), de = U, Fe = r.union([
1633
1635
  r.literal("localization_files"),
1634
1636
  r.literal("paged_documents"),
1635
1637
  r.literal("marketing")
@@ -1644,7 +1646,7 @@ const to = r.object({
1644
1646
  custom_translation_statuses_allow_multiple: r.boolean(),
1645
1647
  segmentation: r.boolean(),
1646
1648
  contributor_preview_download_enabled: r.boolean()
1647
- }), po = r.object({
1649
+ }), ho = r.object({
1648
1650
  not_reviewed: r.number(),
1649
1651
  unverified: r.number(),
1650
1652
  spelling_grammar: r.number(),
@@ -1661,15 +1663,15 @@ const to = r.object({
1661
1663
  double_space: r.number(),
1662
1664
  special_placeholder: r.number(),
1663
1665
  unbalanced_brackets: r.number()
1664
- }), ho = r.object({
1666
+ }), bo = r.object({
1665
1667
  progress_total: r.number(),
1666
1668
  keys_total: r.number(),
1667
1669
  team: r.number(),
1668
1670
  base_words: r.number(),
1669
1671
  qa_issues_total: r.number(),
1670
- qa_issues: po,
1671
- languages: r.array(no)
1672
- }), me = r.object({
1672
+ qa_issues: ho,
1673
+ languages: r.array(ao)
1674
+ }), ue = r.object({
1673
1675
  project_id: r.string(),
1674
1676
  uuid: r.string().uuid(),
1675
1677
  project_type: Fe,
@@ -1683,15 +1685,15 @@ const to = r.object({
1683
1685
  base_language_id: r.number(),
1684
1686
  base_language_iso: r.string(),
1685
1687
  settings: fo.optional(),
1686
- statistics: ho.optional()
1687
- }), bo = r.object({
1688
+ statistics: bo.optional()
1689
+ }), vo = r.object({
1688
1690
  name: r.string(),
1689
1691
  team_id: r.string(),
1690
1692
  base_lang_iso: r.string(),
1691
- languages: r.array(to),
1693
+ languages: r.array(ro),
1692
1694
  project_type: Fe,
1693
1695
  is_segmentation_enabled: r.boolean()
1694
- }), Et = r.union([r.literal(0), r.literal(1)]), vo = r.object({
1696
+ }), Et = r.union([r.literal(0), r.literal(1)]), To = r.object({
1695
1697
  filter_type: Fe.optional(),
1696
1698
  filter_team_id: r.number().optional(),
1697
1699
  filter_names: r.string().optional(),
@@ -1699,112 +1701,102 @@ const to = r.object({
1699
1701
  include_settings: Et.optional(),
1700
1702
  limit: r.number().optional(),
1701
1703
  page: r.number().optional()
1702
- }), To = r.object({
1703
- projects: r.array(me)
1704
1704
  }), yo = r.object({
1705
- project_id: r.string()
1705
+ projects: r.array(ue)
1706
1706
  }), So = r.object({
1707
1707
  project_id: r.string()
1708
1708
  }), Eo = r.object({
1709
+ project_id: r.string()
1710
+ }), Co = r.object({
1709
1711
  name: r.string().min(1),
1710
1712
  description: r.string().optional()
1711
- }), _e = () => "/projects", Co = qe({
1713
+ }), me = () => "/projects", wo = He({
1712
1714
  description: "Create a new project",
1713
- requestHeaderSchema: ue,
1715
+ requestHeaderSchema: de,
1714
1716
  method: "post",
1715
- pathResolver: _e,
1716
- requestBodySchema: bo,
1717
- successResponseBodySchema: me
1718
- }), wo = Y({
1719
- description: "List all projects",
1720
- requestHeaderSchema: ue,
1721
- pathResolver: _e,
1722
- requestQuerySchema: vo,
1723
- successResponseBodySchema: To
1717
+ pathResolver: me,
1718
+ requestBodySchema: vo,
1719
+ successResponseBodySchema: ue
1724
1720
  }), Po = Y({
1721
+ description: "List all projects",
1722
+ requestHeaderSchema: de,
1723
+ pathResolver: me,
1724
+ requestQuerySchema: To,
1725
+ successResponseBodySchema: yo
1726
+ }), Ao = Y({
1725
1727
  description: "Retrieve a project",
1726
- requestHeaderSchema: ue,
1727
- requestPathParamsSchema: yo,
1728
- pathResolver: ({ project_id: e }) => `${_e()}/${e}`,
1729
- successResponseBodySchema: me
1730
- }), ko = qe({
1728
+ requestHeaderSchema: de,
1729
+ requestPathParamsSchema: So,
1730
+ pathResolver: ({ project_id: e }) => `${me()}/${e}`,
1731
+ successResponseBodySchema: ue
1732
+ }), ko = He({
1731
1733
  description: "Update a project",
1732
- requestHeaderSchema: ue,
1734
+ requestHeaderSchema: de,
1733
1735
  method: "put",
1734
- requestPathParamsSchema: So,
1735
- pathResolver: ({ project_id: e }) => `${_e()}/${e}`,
1736
- requestBodySchema: Eo,
1737
- successResponseBodySchema: me
1736
+ requestPathParamsSchema: Eo,
1737
+ pathResolver: ({ project_id: e }) => `${me()}/${e}`,
1738
+ requestBodySchema: Co,
1739
+ successResponseBodySchema: ue
1738
1740
  });
1739
- function ns(e, t, n = {}) {
1740
- return de({
1741
+ function os(e, t, n = {}) {
1742
+ return qe({
1741
1743
  ...n,
1742
- mutationFn: async (a) => M(e, Co, {
1744
+ mutationFn: async (a) => D(e, wo, {
1743
1745
  headers: await t.resolve(),
1744
1746
  body: a
1745
1747
  })
1746
1748
  });
1747
1749
  }
1748
- const rs = {
1750
+ const ss = {
1749
1751
  projectIdKey: (e) => ["listProjectLanguages", e]
1750
1752
  };
1751
- function as(e, t, n) {
1752
- return D({
1753
+ function is(e, t, n) {
1754
+ return $({
1753
1755
  ...n,
1754
- queryFn: async ({ queryKey: [a, o] }) => Q(e, mo, {
1756
+ queryFn: async ({ queryKey: [a, o] }) => Q(e, go, {
1755
1757
  headers: await t.resolve(),
1756
1758
  pathParams: { projectId: o }
1757
1759
  })
1758
1760
  });
1759
1761
  }
1760
- const os = {
1762
+ const cs = {
1761
1763
  paramsKey: (e) => ["listProjects", e]
1762
1764
  };
1763
- function ss(e, t, n) {
1764
- return D({
1765
+ function ls(e, t, n) {
1766
+ return $({
1765
1767
  ...n,
1766
- queryFn: async ({ queryKey: [a, o] }) => Q(e, wo, {
1768
+ queryFn: async ({ queryKey: [a, o] }) => Q(e, Po, {
1767
1769
  headers: await t.resolve(),
1768
1770
  queryParams: o
1769
1771
  })
1770
1772
  });
1771
1773
  }
1772
- const is = {
1774
+ const ds = {
1773
1775
  projectIdKey: (e) => ["retrieveProject", e]
1774
1776
  };
1775
- function cs(e, t, n) {
1776
- return D({
1777
+ function us(e, t, n) {
1778
+ return $({
1777
1779
  ...n,
1778
- queryFn: async ({ queryKey: [a, o] }) => Q(e, Po, {
1780
+ queryFn: async ({ queryKey: [a, o] }) => Q(e, Ao, {
1779
1781
  headers: await t.resolve(),
1780
1782
  pathParams: { project_id: o }
1781
1783
  })
1782
1784
  });
1783
1785
  }
1784
- function ls(e, t, n, a = {}) {
1785
- return de({
1786
+ function ms(e, t, n, a = {}) {
1787
+ return qe({
1786
1788
  ...a,
1787
- mutationFn: async (o) => M(e, ko, {
1789
+ mutationFn: async (o) => D(e, ko, {
1788
1790
  headers: await t.resolve(),
1789
1791
  body: o,
1790
1792
  pathParams: n
1791
1793
  })
1792
1794
  });
1793
1795
  }
1794
- function ds(e, t, n, a = {}) {
1795
- return de({
1796
- ...a,
1797
- mutationFn: async (o) => M(e, go, {
1798
- pathParams: t,
1799
- headers: await n.resolve(),
1800
- body: o
1801
- })
1802
- });
1803
- }
1804
- function us(e, t, n, a = {}) {
1805
- return de({
1796
+ function _s(e, t, n, a = {}) {
1797
+ return qe({
1806
1798
  ...a,
1807
- mutationFn: async (o) => M(e, _o, {
1799
+ mutationFn: async (o) => D(e, po, {
1808
1800
  pathParams: t,
1809
1801
  headers: await n.resolve(),
1810
1802
  body: o
@@ -1812,72 +1804,104 @@ function us(e, t, n, a = {}) {
1812
1804
  });
1813
1805
  }
1814
1806
  export {
1815
- zo as Breadcrumbs,
1807
+ io as ADD_LANGUAGES_TO_PROJECT_PATH_PARAMS_SCHEMA,
1808
+ co as ADD_LANGUAGES_TO_PROJECT_REQUEST_BODY_SCHEMA,
1809
+ lo as ADD_LANGUAGES_TO_PROJECT_RESPONSE_SCHEMA,
1810
+ uo as BULK_UPDATE_PROJECT_LANGUAGES_PATH_PARAMS_SCHEMA,
1811
+ mo as BULK_UPDATE_PROJECT_LANGUAGES_REQUEST_BODY_SCHEMA,
1812
+ _o as BULK_UPDATE_PROJECT_LANGUAGES_RESPONSE_SCHEMA,
1813
+ Jo as Breadcrumbs,
1814
+ ns as CONTRIBUTOR_API_BASE_HEADER_SCHEMA,
1815
+ Xa as CONTRIBUTOR_LANGUAGE_SCHEMA,
1816
+ Va as CONTRIBUTOR_SCHEMA,
1817
+ vo as CREATE_PROJECT_REQUEST_BODY_SCHEMA,
1816
1818
  Bt as ENTERPRISE_OPENSOURCE_PLAN_ID,
1817
1819
  dr as ENTERPRISE_PLAN_IDS,
1818
1820
  cr as ESSENTIAL_PLAN_IDS,
1819
1821
  qt as FREE_PLAN_ID,
1820
1822
  I as HeaderBuilder,
1821
- Wo as JwtAuthHeaderBuilderMiddleware,
1823
+ Ba as JWT_TOKEN_SCHEMA,
1824
+ Qo as JwtAuthHeaderBuilderMiddleware,
1825
+ ro as LANGUAGE_ISO_SCHEMA,
1826
+ Xt as LANGUAGE_SCHEMA,
1827
+ ao as LANGUAGE_STATISTICS_SCHEMA,
1828
+ To as LIST_PROJECTS_REQUEST_QUERY_SCHEMA,
1829
+ yo as LIST_PROJECTS_SUCCESS_RESPONSE_BODY,
1830
+ oo as LIST_PROJECT_LANGUAGES_PATH_PARAMS_SCHEMA,
1831
+ so as LIST_PROJECT_LANGUAGES_RESPONSE_SCHEMA,
1822
1832
  oe as NavigationPanel,
1823
- Jo as NavigationTabs,
1833
+ Wo as NavigationTabs,
1834
+ de as PROJECT_API_BASE_HEADERS_SCHEMA,
1835
+ ho as PROJECT_QA_ISSUES_SCHEMA,
1836
+ ue as PROJECT_SCHEMA,
1837
+ fo as PROJECT_SETTINGS_SCHEMA,
1838
+ bo as PROJECT_STATISTICS_SCHEMA,
1839
+ Fe as PROJECT_TYPE_SCHEMA,
1824
1840
  lr as PRO_PLAN_IDS,
1825
- Qo as PublicApiHeaderBuilderMiddleware,
1841
+ Yo as PublicApiHeaderBuilderMiddleware,
1842
+ Za as RETRIEVE_CONTRIBUTORS_RESPONSE_SCHEMA,
1843
+ So as RETRIEVE_PROJECT_PATH_PARAM_SCHEMA,
1826
1844
  ir as START_PLAN_IDS,
1827
- A as Sidebar,
1828
- k as SidebarTaskLanguageStatuses,
1829
- Le as SidebarTaskStatuses,
1845
+ k as Sidebar,
1846
+ A as SidebarTaskLanguageStatuses,
1847
+ xe as SidebarTaskStatuses,
1830
1848
  re as SidebarTaskTypeOptions,
1849
+ Jt as TEAM_ROLE_SCHEMA,
1850
+ Ka as TEAM_USER_API_BASE_HEADERS_SCHEMA,
1851
+ Ja as TEAM_USER_RESPONSE_SCHEMA,
1852
+ za as TEAM_USER_SCHEMA,
1831
1853
  sr as TRIAL_PLAN_ID,
1854
+ Eo as UPDATE_PROJECT_PATH_PARAMS_SCHEMA,
1855
+ Co as UPDATE_PROJECT_REQUEST_BODY_SCHEMA,
1856
+ $a as USER_TOKEN_REQUEST_HEADER_SCHEMA,
1832
1857
  se as UnauthorizedError,
1833
- _o as addLanguagesToProject,
1834
- go as bulkUpdateProjectLanguages,
1858
+ as as addLanguagesToProject,
1859
+ po as bulkUpdateProjectLanguages,
1835
1860
  _r as convertNewLineToBreakTag,
1836
1861
  zt as createHeaderBuilderMiddleware,
1837
- Co as createProject,
1862
+ wo as createProject,
1838
1863
  hr as formatDate,
1839
- Ko as formatDateTz,
1840
- Xo as generateTokenFromClassicSession,
1841
- Yo as getAuthenticatedSessionDetailFromRequest,
1842
- xa as getCsrfTokenFromCookie,
1864
+ zo as formatDateTz,
1865
+ Vo as generateTokenFromClassicSession,
1866
+ Xo as getAuthenticatedSessionDetailFromRequest,
1867
+ Ma as getCsrfTokenFromCookie,
1843
1868
  Wt as getJwtTokenFromCookie,
1844
- za as getTeamUser,
1845
- Ja as getTeamUsersQueryKey,
1869
+ Wa as getTeamUser,
1870
+ Qa as getTeamUsersQueryKey,
1846
1871
  Ge as getUserToken,
1847
- Da as getUserTokenKey,
1848
- Fo as isEnterpriseOpenSourcePlan,
1849
- $o as isEnterprisePlan,
1850
- Bo as isEssentialPlan,
1872
+ Ga as getUserTokenKey,
1873
+ Ko as isEnterpriseOpenSourcePlan,
1874
+ Go as isEnterprisePlan,
1875
+ Do as isEssentialPlan,
1851
1876
  De as isFreePlan,
1852
- Go as isPaidPlan,
1853
- Do as isProPlan,
1854
- qo as isStartPlan,
1877
+ Fo as isPaidPlan,
1878
+ $o as isProPlan,
1879
+ Bo as isStartPlan,
1855
1880
  Dt as isTrialPlan,
1856
- mo as listProjectLanguages,
1857
- rs as listProjectLanguagesKey,
1858
- wo as listProjects,
1859
- os as listProjectsKey,
1860
- pr as makeUrlClickable,
1881
+ go as listProjectLanguages,
1882
+ ss as listProjectLanguagesKey,
1883
+ Po as listProjects,
1884
+ cs as listProjectsKey,
1885
+ fr as makeUrlClickable,
1861
1886
  Z as parseJwtTokenPayload,
1862
- Vo as refreshExpiredToken,
1863
- Va as retrieveContributor,
1864
- Za as retrieveContributorKeys,
1865
- Po as retrieveProject,
1866
- is as retrieveProjectQueryKey,
1887
+ Zo as refreshExpiredToken,
1888
+ eo as retrieveContributor,
1889
+ to as retrieveContributorKeys,
1890
+ Ao as retrieveProject,
1891
+ ds as retrieveProjectQueryKey,
1867
1892
  ko as updateProject,
1868
- us as useAddLanguagesToProjectMutation,
1869
- ts as useAuthenticatedProjectContributor,
1893
+ rs as useAuthenticatedProjectContributor,
1870
1894
  Yt as useAuthenticatedSessionPayload,
1871
- es as useAuthenticatedUser,
1872
- ds as useBulkUpdateProjectLanguagesMutation,
1873
- ns as useCreateProjectMutation,
1895
+ ts as useAuthenticatedUser,
1896
+ _s as useBulkUpdateProjectLanguagesMutation,
1897
+ os as useCreateProjectMutation,
1874
1898
  $e as useEffectOnce,
1875
- Zo as useGetPromotedClassicSessionJwtQuery,
1876
- Wa as useGetTeamUsersQuery,
1877
- $a as useGetUserTokenQuery,
1878
- as as useListProjectLanguagesQuery,
1879
- ss as useListProjectsQuery,
1880
- eo as useRetrieveContributorQuery,
1881
- cs as useRetrieveProjectQuery,
1882
- ls as useUpdateProjectMutation
1899
+ es as useGetPromotedClassicSessionJwtQuery,
1900
+ Ya as useGetTeamUsersQuery,
1901
+ Fa as useGetUserTokenQuery,
1902
+ is as useListProjectLanguagesQuery,
1903
+ ls as useListProjectsQuery,
1904
+ no as useRetrieveContributorQuery,
1905
+ us as useRetrieveProjectQuery,
1906
+ ms as useUpdateProjectMutation
1883
1907
  };