@hublo/mstaff-client-sdk 0.2.191 → 0.2.192

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 (3) hide show
  1. package/dist/core.cjs +1 -1
  2. package/dist/core.js +416 -415
  3. package/package.json +3 -3
package/dist/core.js CHANGED
@@ -5,10 +5,10 @@ function Zt(e) {
5
5
  return Wt() ? (qt(e), !0) : !1;
6
6
  }
7
7
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
8
- var j = {}, ot;
8
+ var F = {}, ot;
9
9
  function Xt() {
10
- if (ot) return j;
11
- ot = 1, Object.defineProperty(j, "__esModule", { value: !0 }), j.parseCookie = y, j.parse = y, j.stringifyCookie = p, j.stringifySetCookie = w, j.serialize = w, j.parseSetCookie = _, j.stringifySetCookie = w, j.serialize = w;
10
+ if (ot) return F;
11
+ ot = 1, Object.defineProperty(F, "__esModule", { value: !0 }), F.parseCookie = y, F.parse = y, F.stringifyCookie = p, F.stringifySetCookie = w, F.serialize = w, F.parseSetCookie = _, F.stringifySetCookie = w, F.serialize = w;
12
12
  const e = /^[\u0021-\u003A\u003C\u003E-\u007E]+$/, t = /^[\u0021-\u003A\u003C-\u007E]*$/, i = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i, r = /^[\u0020-\u003A\u003D-\u007E]*$/, o = /^-?\d+$/, c = Object.prototype.toString, f = /* @__PURE__ */ (() => {
13
13
  const s = function() {
14
14
  };
@@ -29,8 +29,8 @@ function Xt() {
29
29
  $ = s.lastIndexOf(";", M - 1) + 1;
30
30
  continue;
31
31
  }
32
- const F = C(s, $, M);
33
- I[F] === void 0 && (I[F] = T(C(s, M + 1, L))), $ = L + 1;
32
+ const j = C(s, $, M);
33
+ I[j] === void 0 && (I[j] = T(C(s, M + 1, L))), $ = L + 1;
34
34
  } while ($ < P);
35
35
  return I;
36
36
  }
@@ -115,7 +115,7 @@ function Xt() {
115
115
  };
116
116
  let L = T + 1;
117
117
  for (; L < P; ) {
118
- const F = R(s, L, P), W = V(s, L, F), fe = W === -1 ? C(s, L, F) : C(s, L, W), U = W === -1 ? void 0 : C(s, W + 1, F);
118
+ const j = R(s, L, P), W = V(s, L, j), fe = W === -1 ? C(s, L, j) : C(s, L, W), U = W === -1 ? void 0 : C(s, W + 1, j);
119
119
  switch (fe.toLowerCase()) {
120
120
  case "httponly":
121
121
  M.httpOnly = !0;
@@ -154,7 +154,7 @@ function Xt() {
154
154
  (Q === "lax" || Q === "strict" || Q === "none") && (M.sameSite = Q);
155
155
  break;
156
156
  }
157
- L = F + 1;
157
+ L = j + 1;
158
158
  }
159
159
  return M;
160
160
  }
@@ -193,7 +193,7 @@ function Xt() {
193
193
  function A(s) {
194
194
  return c.call(s) === "[object Date]";
195
195
  }
196
- return j;
196
+ return F;
197
197
  }
198
198
  var Pe = /* @__PURE__ */ Xt();
199
199
  function en() {
@@ -307,20 +307,20 @@ function on(e, t, i) {
307
307
  return !0;
308
308
  return !1;
309
309
  }
310
- const Uo = () => {
310
+ const xo = () => {
311
311
  let e = !1;
312
312
  return (function(t) {
313
313
  (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(t) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0, 4))) && (e = !0);
314
314
  })(navigator.userAgent || navigator.vendor || window.opera), e;
315
- }, sn = (e, t) => Fe(e, cn(t)), Fe = (e, t) => {
315
+ }, sn = (e, t) => je(e, cn(t)), je = (e, t) => {
316
316
  const i = {};
317
- return st(t).forEach((r) => i[r] = Fe(e?.[r], t[r])), "$item" in t && e?.forEach((r, o) => i[o] = Fe(r, t.$item)), i.$valid = (!t.$asserts || t.$asserts.every((r) => r(e))) && st(i).every((r) => i[r].$valid), i;
317
+ return st(t).forEach((r) => i[r] = je(e?.[r], t[r])), "$item" in t && e?.forEach((r, o) => i[o] = je(r, t.$item)), i.$valid = (!t.$asserts || t.$asserts.every((r) => r(e))) && st(i).every((r) => i[r].$valid), i;
318
318
  }, cn = (e) => fn(
319
319
  Object.entries(e).reduce((t, [i, r]) => (t[`${i.replaceAll(".[]", ".$item")}${i.length ? "." : ""}$asserts`] = Array.isArray(r) ? r : [r], t), {})
320
- ), xo = (e, t, i) => (e = JSON.parse(JSON.stringify(e)), wt(e).forEach((o) => {
320
+ ), jo = (e, t, i) => (e = JSON.parse(JSON.stringify(e)), wt(e).forEach((o) => {
321
321
  const c = o.replace(/\.[0-9]+/g, ".[]");
322
322
  ne(t, `${o}.$valid`) === !1 && i[c] !== void 0 && _e(e, o, i[c]);
323
- }), e), st = (e) => Object.keys(e).filter((t) => !t.startsWith("$")), Fo = (e) => typeof e == "boolean", G = (e) => typeof e == "number", a = (e) => typeof e == "string", ue = (e) => Array.isArray(e), Z = (e) => typeof e == "object" && !ue(e) && e !== null, ht = (e) => Z(e) && e.constructor === Object, jo = (e) => e instanceof Date, Ho = (e) => typeof e == "function", dn = (e) => e === null, ln = (e) => e === void 0, un = (e) => dn(e) || ln(e), Go = (e) => !un(e), Jo = (e) => !!e, zo = (e) => !e, b = (e, t) => ue(e) && e.every((i) => t(i)), Wo = (e, t) => Z(e) && Object.values(e).every((i) => t(i)), m = (e, t) => sn(e, t).$valid, qo = (e, t, i = !1) => {
323
+ }), e), st = (e) => Object.keys(e).filter((t) => !t.startsWith("$")), Fo = (e) => typeof e == "boolean", G = (e) => typeof e == "number", a = (e) => typeof e == "string", ue = (e) => Array.isArray(e), Z = (e) => typeof e == "object" && !ue(e) && e !== null, ht = (e) => Z(e) && e.constructor === Object, Ho = (e) => e instanceof Date, Go = (e) => typeof e == "function", dn = (e) => e === null, ln = (e) => e === void 0, un = (e) => dn(e) || ln(e), Jo = (e) => !un(e), zo = (e) => !!e, Wo = (e) => !e, b = (e, t) => ue(e) && e.every((i) => t(i)), qo = (e, t) => Z(e) && Object.values(e).every((i) => t(i)), m = (e, t) => sn(e, t).$valid, Qo = (e, t, i = !1) => {
324
324
  ue(t) || (t = [t]);
325
325
  let r = e;
326
326
  for (; r; ) {
@@ -328,7 +328,7 @@ const Uo = () => {
328
328
  r = r.parentElement;
329
329
  }
330
330
  return !1;
331
- }, Qo = () => typeof window < "u" && typeof window.document < "u", ce = () => typeof process < "u" && process.versions != null && process.versions.node != null, ne = (e, t, i) => {
331
+ }, Ko = () => typeof window < "u" && typeof window.document < "u", ce = () => typeof process < "u" && process.versions != null && process.versions.node != null, ne = (e, t, i) => {
332
332
  const r = typeof t == "string" ? t.split(".") : [t];
333
333
  let o = e;
334
334
  const c = (y) => y != null, f = (y) => typeof y == "object";
@@ -358,7 +358,7 @@ const Uo = () => {
358
358
  for (const [r, o] of i)
359
359
  _e(t, r, o);
360
360
  return t;
361
- }, Ko = (e, t = {}) => {
361
+ }, Yo = (e, t = {}) => {
362
362
  const i = Z(e) ? Object.entries(e) : e;
363
363
  for (const [r, o] of i)
364
364
  _e(t, r, o(t, r));
@@ -370,13 +370,13 @@ const Uo = () => {
370
370
  t(o, f, c) && (r.push(f), (Z(c) || ue(c)) && r.push(...wt(c, t, f)));
371
371
  }
372
372
  return r;
373
- }, Yo = (e) => Z(e) ? Object.values(e) : e, Zo = (e) => [...new Set(e)], Xo = (e, t) => {
373
+ }, Zo = (e) => Z(e) ? Object.values(e) : e, Xo = (e) => [...new Set(e)], es = (e, t) => {
374
374
  const i = /* @__PURE__ */ new Set();
375
375
  return e.filter((r) => {
376
376
  const o = r[t];
377
377
  return i.has(o) ? !1 : (i.add(o), !0);
378
378
  });
379
- }, es = (e) => e.startsWith("http:") ? e.replace("http:", "https:") : e, It = (e, t = !1) => e.startsWith("http:") || e.startsWith("https:") ? e : t ? `https://${e}` : `http://${e}`, bt = () => typeof window < "u" && window?.location ? new URL(window.location).hostname : void 0, lt = () => {
379
+ }, ts = (e) => e.startsWith("http:") ? e.replace("http:", "https:") : e, It = (e, t = !1) => e.startsWith("http:") || e.startsWith("https:") ? e : t ? `https://${e}` : `http://${e}`, bt = () => typeof window < "u" && window?.location ? new URL(window.location).hostname : void 0, lt = () => {
380
380
  const e = bt();
381
381
  return !e || e === "localhost" ? e : `.${e}`;
382
382
  }, mn = () => ({ path: "/" }), pn = (e) => ({
@@ -451,18 +451,18 @@ const Re = (e, t, i) => {
451
451
  }, u = new se({
452
452
  prefix: "[SDK]"
453
453
  });
454
- let kt = null, je = null, He = null, vt = "/", St = null, Rt = null, Ct = null;
454
+ let kt = null, Fe = null, He = null, vt = "/", St = null, Rt = null, Ct = null;
455
455
  const gn = () => kt, hn = (e) => {
456
456
  if (u.info("[Config] Environment:", e), !e) throw new Error("Invalid environment.");
457
457
  kt = e;
458
458
  }, _n = () => {
459
- if (!je && window?.location) {
459
+ if (!Fe && window?.location) {
460
460
  const e = window.location.host, t = e.includes(".playground-hublo.com") ? `api-${e}` : `api.${e}`;
461
461
  return It(t, !0);
462
462
  }
463
- return je;
463
+ return Fe;
464
464
  }, wn = (e) => {
465
- u.info("[Config] API Host:", e), je = e;
465
+ u.info("[Config] API Host:", e), Fe = e;
466
466
  }, In = () => Ct, bn = (e) => {
467
467
  Ct = e;
468
468
  }, kn = () => !He && window?.location ? It(window?.location.host, !0) : He, vn = (e) => {
@@ -819,7 +819,7 @@ function xn(e, t = !1) {
819
819
  error: e
820
820
  };
821
821
  }
822
- function Fn(e) {
822
+ function jn(e) {
823
823
  function t() {
824
824
  return e;
825
825
  }
@@ -859,7 +859,7 @@ function Fn(e) {
859
859
  getPages: w
860
860
  };
861
861
  }
862
- function jn(e, t, i, r, o, c) {
862
+ function Fn(e, t, i, r, o, c) {
863
863
  async function f() {
864
864
  const p = i.getMethod(), w = t.getUri(), _ = e.getHeaders(), R = r.getPayload(), V = [w];
865
865
  ["post", "put", "patch"].includes(p) && V.push(R || {}), V.push({
@@ -877,7 +877,7 @@ function jn(e, t, i, r, o, c) {
877
877
  if (p.headers) {
878
878
  const w = Object.keys(p.headers), _ = w.map((R) => R.toLowerCase()).indexOf("content-type");
879
879
  if (_ !== -1 && p.headers[w[_]].includes("application/ld+json"))
880
- return Fn(p);
880
+ return jn(p);
881
881
  }
882
882
  return Un(p);
883
883
  }
@@ -886,7 +886,7 @@ function jn(e, t, i, r, o, c) {
886
886
  };
887
887
  }
888
888
  function N(e, t = "get", i = null) {
889
- const r = En(), o = Bn(e), c = On(t), f = Ln(c, r, i), y = Dn(o), p = Tn(o), w = $n(o), _ = Mn(), R = Nn(), V = jn(r, o, c, f, _, R);
889
+ const r = En(), o = Bn(e), c = On(t), f = Ln(c, r, i), y = Dn(o), p = Tn(o), w = $n(o), _ = Mn(), R = Nn(), V = Fn(r, o, c, f, _, R);
890
890
  return {
891
891
  ...r,
892
892
  ...o,
@@ -901,7 +901,7 @@ function N(e, t = "get", i = null) {
901
901
  };
902
902
  }
903
903
  function S(e, t = "get", i = null) {
904
- const r = N(e, t, i), o = dr();
904
+ const r = N(e, t, i), o = lr();
905
905
  o.hasAuth() && r.setAuthorization(o.getAuthToken()), r.hasBeenRefreshed = !1;
906
906
  const c = r.send;
907
907
  return r.send = async function() {
@@ -923,24 +923,24 @@ function S(e, t = "get", i = null) {
923
923
  }
924
924
  }, r.onRefreshFail = async () => (o.clear(), o.redirect()), r;
925
925
  }
926
- const Hn = (e, t) => S("/v2/activity/candidate/:candidateId/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }), ts = () => ({
926
+ const Hn = (e, t) => S("/v2/activity/candidate/:candidateId/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }), ns = () => ({
927
927
  listByCandidateAndEstablishment: Hn
928
928
  }), Gn = (e, t) => N("/user/login").setMethod("post").setPayload({ email: e, password: t }), Jn = (e) => N("/token/refresh").setMethod("post").setPayload({ refresh_token: e }), zn = (e) => N("/user/password/reset/ask").setMethod("post").setPayload({ email: e }), Wn = (e, t) => N("/user/password/reset").setMethod("post").setPayload({ token: e, password: t }), qn = () => ({
929
929
  login: Gn,
930
930
  refreshToken: Jn,
931
931
  resetAsk: zn,
932
932
  reset: Wn
933
- }), Qn = (e) => S("/v2/recruiter-area/candidate-bank/institutions/:institutionUuid/candidates").isList().setRouteParams({ institutionUuid: e }), Kn = (e, t) => S("/v2/recruiter-area/candidate-bank/institutions/:institutionUuid/candidates/:candidateUuid").setRouteParams({ institutionUuid: e, candidateUuid: t }), Yn = (e, t) => S("/v2/recruiter-area/candidate-bank/institutions/:institutionUuid/candidates/:candidateUuid/mark-as-seen").setMethod("post").setRouteParams({ institutionUuid: e, candidateUuid: t }), Zn = (e, t, i) => S("/v2/recruiter-area/candidate-bank/institutions/:institutionUuid/candidates/:candidateUuid/scope").setMethod("patch").setRouteParams({ institutionUuid: e, candidateUuid: t }).setPayload({ scope: i }), ns = () => ({
933
+ }), Qn = (e) => S("/v2/recruiter-area/candidate-bank/institutions/:institutionUuid/candidates").isList().setRouteParams({ institutionUuid: e }), Kn = (e, t) => S("/v2/recruiter-area/candidate-bank/institutions/:institutionUuid/candidates/:candidateUuid").setRouteParams({ institutionUuid: e, candidateUuid: t }), Yn = (e, t) => S("/v2/recruiter-area/candidate-bank/institutions/:institutionUuid/candidates/:candidateUuid/mark-as-seen").setMethod("post").setRouteParams({ institutionUuid: e, candidateUuid: t }), Zn = (e, t, i) => S("/v2/recruiter-area/candidate-bank/institutions/:institutionUuid/candidates/:candidateUuid/scope").setMethod("patch").setRouteParams({ institutionUuid: e, candidateUuid: t }).setPayload({ scope: i }), is = () => ({
934
934
  listCandidate: Qn,
935
935
  getCandidate: Kn,
936
936
  markCandidateAsSeen: Yn,
937
937
  updateCandidateScope: Zn
938
- }), Xn = (e, t) => S("/v2/recruiter-area/candidate-notes").setQueryParams({ institution_uuid: e, candidate_uuid: t }), ei = (e, t, i) => S("/v2/recruiter-area/candidate-notes").setMethod("post").setPayload({ institution_uuid: e, candidate_uuid: t, ...i }), ti = (e, t) => S("/v2/recruiter-area/candidate-notes/:note_uuid").setRouteParams({ note_uuid: e }).setMethod("put").setPayload(t), ni = (e) => S("/v2/recruiter-area/candidate-notes/:note_uuid").setRouteParams({ note_uuid: e }).setMethod("delete"), is = () => ({
938
+ }), Xn = (e, t) => S("/v2/recruiter-area/candidate-notes").setQueryParams({ institution_uuid: e, candidate_uuid: t }), ei = (e, t, i) => S("/v2/recruiter-area/candidate-notes").setMethod("post").setPayload({ institution_uuid: e, candidate_uuid: t, ...i }), ti = (e, t) => S("/v2/recruiter-area/candidate-notes/:note_uuid").setRouteParams({ note_uuid: e }).setMethod("put").setPayload(t), ni = (e) => S("/v2/recruiter-area/candidate-notes/:note_uuid").setRouteParams({ note_uuid: e }).setMethod("delete"), as = () => ({
939
939
  listByEstablishmentAndCandidate: Xn,
940
940
  createForEstablishmentAndCandidate: ei,
941
941
  update: ti,
942
942
  remove: ni
943
- }), ii = (e, t, i) => S("/candidate/:candidateId/share/establishment/:establishmentId").setMethod("post").setRouteParams({ candidateId: e, establishmentId: t }).setPayload(i), ai = (e, t) => S("/candidate/:candidateId/archive/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }), ri = (e, t) => S("/candidate/:candidateId/archive/establishment/:establishmentId").setMethod("post").setRouteParams({ candidateId: e, establishmentId: t }), oi = (e, t) => S("/candidate/:candidateId/archive/establishment/:establishmentId").setMethod("delete").setRouteParams({ candidateId: e, establishmentId: t }), si = (e, t) => S("/v2/recruiter-area/candidates/lookup").setQueryParam("institution_uuid", e).setQueryParam("email", t), ci = (e, t) => S("v2/recruiter-area/candidates/invite").setMethod("post").setQueryParam("institution_uuid", e).setPayload(t), di = (e, t, i) => S("/v2/recruiter-area/candidates/:candidateUuid").setMethod("put").setRouteParams({ candidateUuid: e }).setQueryParam("institution_uuid", t).setPayload(i), li = (e) => S("/candidate/register/close/:registrationToken").setMethod("post").setRouteParams({ registrationToken: e }), ui = (e) => S("/candidate/register/open").setMethod("post").setQueryParam("groups", "register:token").setPayload(e), fi = (e, t) => S("/establishment/:establishmentId:/candidate/invitation").setRouteParams({ establishmentId: e }).setMethod("post").setPayload(t), as = () => ({
943
+ }), ii = (e, t, i) => S("/candidate/:candidateId/share/establishment/:establishmentId").setMethod("post").setRouteParams({ candidateId: e, establishmentId: t }).setPayload(i), ai = (e, t) => S("/candidate/:candidateId/archive/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }), ri = (e, t) => S("/candidate/:candidateId/archive/establishment/:establishmentId").setMethod("post").setRouteParams({ candidateId: e, establishmentId: t }), oi = (e, t) => S("/candidate/:candidateId/archive/establishment/:establishmentId").setMethod("delete").setRouteParams({ candidateId: e, establishmentId: t }), si = (e, t) => S("/v2/recruiter-area/candidates/lookup").setQueryParam("institution_uuid", e).setQueryParam("email", t), ci = (e, t) => S("v2/recruiter-area/candidates/invite").setMethod("post").setQueryParam("institution_uuid", e).setPayload(t), di = (e, t, i) => S("/v2/recruiter-area/candidates/:candidateUuid").setMethod("put").setRouteParams({ candidateUuid: e }).setQueryParam("institution_uuid", t).setPayload(i), li = (e, t, i) => S("/v2/recruiter-area/candidates/:candidateUuid/jobs").setMethod("put").setRouteParams({ candidateUuid: e }).setPayload({ institution_uuid: t, jobs: i }), ui = (e) => S("/candidate/register/close/:registrationToken").setMethod("post").setRouteParams({ registrationToken: e }), fi = (e) => S("/candidate/register/open").setMethod("post").setQueryParam("groups", "register:token").setPayload(e), mi = (e, t) => S("/establishment/:establishmentId:/candidate/invitation").setRouteParams({ establishmentId: e }).setMethod("post").setPayload(t), rs = () => ({
944
944
  share: ii,
945
945
  isArchived: ai,
946
946
  archive: ri,
@@ -948,158 +948,159 @@ const Hn = (e, t) => S("/v2/activity/candidate/:candidateId/establishment/:estab
948
948
  lookup: si,
949
949
  invite: ci,
950
950
  update: di,
951
- closeIncompleteRegistration: li,
952
- openNewRegistration: ui,
953
- updateInvitation: fi
954
- }), mi = () => N("contractType").isList().addGroup("Term:id").addGroup("Term:name"), pi = (e, t = !0) => S("contractType/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), yi = (e) => S("contractType/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), rs = () => ({
955
- list: mi,
956
- listByEstablishment: pi,
957
- listMineByEstablishment: yi
958
- }), gi = (e) => S("/v2/talents").isList().setQueryParam("establishment-id", e), hi = (e) => S("/v2/talent/mark-as-seen/:talentId").setRouteParams({ talentId: e }).setMethod("post"), os = () => ({
959
- list: gi,
960
- markAsSeen: hi
961
- }), _i = (e, t, i) => S("/cvtheque/establishment/:establishmentId/candidate/:candidateId/label/synchronize").setRouteParams({ establishmentId: e, candidateId: t }).setMethod("post").setPayload(i), ss = () => ({
962
- syncCandidateLabels: _i
963
- }), wi = () => N("diploma").isList().addGroup("Term:id").addGroup("Term:name"), cs = () => ({
964
- list: wi
965
- }), Ii = (e) => S("document/candidate/:candidateId").setRouteParams({ candidateId: e }).isList().disablePagination(), bi = (e, t) => S("document/candidate/:candidateId/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), ki = (e, t) => S("document/candidate/:candidateId/establishment/:establishmentId/recruiter").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), vi = (e, t) => S("document/candidate/:candidateId/establishment/:establishmentId/candidate").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), Si = (e) => S("document/recruiter").setMethod("post").setPayload(e), Ri = (e) => S("document/:documentId").setRouteParams({ documentId: e }).setMethod("delete"), Ci = (e, t) => S("document/:documentId").setRouteParams({ documentId: e }).setMethod("put").setPayload({ documentType: t }), ds = () => ({
966
- listByCandidate: Ii,
967
- listByCandidateAndEstablishment: bi,
968
- listByCandidateAndEstablishmentFromRecruiter: ki,
969
- listByCandidateAndEstablishmentFromCandidate: vi,
970
- addFromRecruiter: Si,
971
- remove: Ri,
972
- edit: Ci
973
- }), Vi = (e, t) => S("/v2/establishments/:establishmentId/email-history").setRouteParams({ establishmentId: t }).setQueryParam("receiverId", e).isList().disablePagination(), ls = () => ({
974
- listByCandidateAndEstablishment: Vi
975
- }), Ai = (e, t) => S("/email/candidate/:candidateId").setMethod("post").setRouteParams({ candidateId: e }).setPayload(t), Pi = (e, t) => S("/v2/emails/send").setMethod("post").setPayload({ recipientIds: e, ...t }), us = () => ({
976
- sendToCandidate: Ai,
977
- sendToRecipients: Pi
978
- }), Ei = (e, t = !0) => {
951
+ updateJobs: li,
952
+ closeIncompleteRegistration: ui,
953
+ openNewRegistration: fi,
954
+ updateInvitation: mi
955
+ }), pi = () => N("contractType").isList().addGroup("Term:id").addGroup("Term:name"), yi = (e, t = !0) => S("contractType/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), gi = (e) => S("contractType/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), os = () => ({
956
+ list: pi,
957
+ listByEstablishment: yi,
958
+ listMineByEstablishment: gi
959
+ }), hi = (e) => S("/v2/talents").isList().setQueryParam("establishment-id", e), _i = (e) => S("/v2/talent/mark-as-seen/:talentId").setRouteParams({ talentId: e }).setMethod("post"), ss = () => ({
960
+ list: hi,
961
+ markAsSeen: _i
962
+ }), wi = (e, t, i) => S("/cvtheque/establishment/:establishmentId/candidate/:candidateId/label/synchronize").setRouteParams({ establishmentId: e, candidateId: t }).setMethod("post").setPayload(i), cs = () => ({
963
+ syncCandidateLabels: wi
964
+ }), Ii = () => N("diploma").isList().addGroup("Term:id").addGroup("Term:name"), ds = () => ({
965
+ list: Ii
966
+ }), bi = (e) => S("document/candidate/:candidateId").setRouteParams({ candidateId: e }).isList().disablePagination(), ki = (e, t) => S("document/candidate/:candidateId/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), vi = (e, t) => S("document/candidate/:candidateId/establishment/:establishmentId/recruiter").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), Si = (e, t) => S("document/candidate/:candidateId/establishment/:establishmentId/candidate").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), Ri = (e) => S("document/recruiter").setMethod("post").setPayload(e), Ci = (e) => S("document/:documentId").setRouteParams({ documentId: e }).setMethod("delete"), Vi = (e, t) => S("document/:documentId").setRouteParams({ documentId: e }).setMethod("put").setPayload({ documentType: t }), ls = () => ({
967
+ listByCandidate: bi,
968
+ listByCandidateAndEstablishment: ki,
969
+ listByCandidateAndEstablishmentFromRecruiter: vi,
970
+ listByCandidateAndEstablishmentFromCandidate: Si,
971
+ addFromRecruiter: Ri,
972
+ remove: Ci,
973
+ edit: Vi
974
+ }), Ai = (e, t) => S("/v2/establishments/:establishmentId/email-history").setRouteParams({ establishmentId: t }).setQueryParam("receiverId", e).isList().disablePagination(), us = () => ({
975
+ listByCandidateAndEstablishment: Ai
976
+ }), Pi = (e, t) => S("/email/candidate/:candidateId").setMethod("post").setRouteParams({ candidateId: e }).setPayload(t), Ei = (e, t) => S("/v2/emails/send").setMethod("post").setPayload({ recipientIds: e, ...t }), fs = () => ({
977
+ sendToCandidate: Pi,
978
+ sendToRecipients: Ei
979
+ }), Oi = (e, t = !0) => {
979
980
  const i = S("/v2/establishments/:establishmentId/email-templates").setRouteParams({ establishmentId: e }).isList().disablePagination();
980
981
  return t && i.setQueryParam("global", !0), i;
981
- }, Oi = () => S("/v2/self/email-templates").isList().disablePagination(), fs = () => ({
982
- listByEstablishment: Ei,
983
- listSelf: Oi
984
- }), Li = (e, t) => S("establishment-career/:establishmentId/:versionId").setRouteParams({ establishmentId: e, versionId: t }), Bi = (e, t = "published") => S("establishment-career/:establishmentId/state/:state").setRouteParams({ establishmentId: e, state: t }), Di = (e, t, i = null) => {
982
+ }, Li = () => S("/v2/self/email-templates").isList().disablePagination(), ms = () => ({
983
+ listByEstablishment: Oi,
984
+ listSelf: Li
985
+ }), Bi = (e, t) => S("establishment-career/:establishmentId/:versionId").setRouteParams({ establishmentId: e, versionId: t }), Di = (e, t = "published") => S("establishment-career/:establishmentId/state/:state").setRouteParams({ establishmentId: e, state: t }), Ti = (e, t, i = null) => {
985
986
  const r = i !== null ? S("establishment-career/:establishmentId/:versionId").setRouteParams({ establishmentId: e, versionId: i }) : S("establishment-career/:establishmentId").setRouteParams({ establishmentId: e });
986
987
  return r.setMethod("post").setPayload(t), r;
987
- }, Ti = (e, t) => S("establishment-career/:establishmentId/logo-banner").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), $i = (e, t, i) => S("establishment-career/:establishmentId/publish/:versionId").setMethod("post").setRouteParams({ establishmentId: e, versionId: t }).setPayload(i), ms = () => ({
988
- readById: Li,
989
- readByState: Bi,
990
- upsert: Di,
991
- uploadLogoAndBanner: Ti,
992
- publish: $i
993
- }), Mi = (e) => N("establishment/:establishmentId").setRouteParams({ establishmentId: e }), Ni = (e) => S("establishment/:establishmentId/authorizations").setRouteParams({ establishmentId: e }), Vt = () => ({
994
- read: Mi,
995
- authorizations: Ni
996
- }), Ui = (e) => N("feature-flag/maintenance").setMethod("post").setPayload(e), xi = (e, t) => N("feature-flag/establishment").setMethod("post").setPayload({ establishment: e, flagName: t }), ps = () => ({
997
- maintenanceModeEnabled: Ui,
998
- forEstablishment: xi
999
- }), Fi = () => N("functionalUnit").isList().addGroup("Term:id").addGroup("Term:name"), ji = (e, t = !0) => S("functionalUnit/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), Hi = (e) => S("functionalUnit/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), ys = () => ({
988
+ }, $i = (e, t) => S("establishment-career/:establishmentId/logo-banner").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), Mi = (e, t, i) => S("establishment-career/:establishmentId/publish/:versionId").setMethod("post").setRouteParams({ establishmentId: e, versionId: t }).setPayload(i), ps = () => ({
989
+ readById: Bi,
990
+ readByState: Di,
991
+ upsert: Ti,
992
+ uploadLogoAndBanner: $i,
993
+ publish: Mi
994
+ }), Ni = (e) => N("establishment/:establishmentId").setRouteParams({ establishmentId: e }), Ui = (e) => S("establishment/:establishmentId/authorizations").setRouteParams({ establishmentId: e }), Vt = () => ({
995
+ read: Ni,
996
+ authorizations: Ui
997
+ }), xi = (e) => N("feature-flag/maintenance").setMethod("post").setPayload(e), ji = (e, t) => N("feature-flag/establishment").setMethod("post").setPayload({ establishment: e, flagName: t }), ys = () => ({
998
+ maintenanceModeEnabled: xi,
999
+ forEstablishment: ji
1000
+ }), Fi = () => N("functionalUnit").isList().addGroup("Term:id").addGroup("Term:name"), Hi = (e, t = !0) => S("functionalUnit/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), Gi = (e) => S("functionalUnit/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), gs = () => ({
1000
1001
  list: Fi,
1001
- listByEstablishment: ji,
1002
- listMineByEstablishment: Hi
1003
- }), Gi = () => N("job").isList().addGroup("Term:id").addGroup("Term:name"), Ji = (e, t = !0) => S("job/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), zi = (e) => S("job/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), gs = () => ({
1004
- list: Gi,
1005
- listByEstablishment: Ji,
1006
- listMineByEstablishment: zi
1007
- }), Wi = (e) => S("jobStatus/establishment/:establishmentId/mine").isList().addGroup("term:formTermSelect").setRouteParams({ establishmentId: e }), qi = (e) => S("jobStatus/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), hs = () => ({
1008
- listByEstablishment: Wi,
1009
- listMineByEstablishment: qi
1010
- }), Qi = (e, t) => S("/kanbanColumnsTemplate/user/:userId/establishment/:establishmentId").isList().setRouteParams({ userId: e, establishmentId: t }), _s = () => ({
1011
- listByUserAndEstablishment: Qi
1012
- }), Ki = (e) => S("/label/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), Yi = (e, t) => S("/v2/candidate-labels").isList().setQueryParam("establishment-id", e).setQueryParam("candidate-id", t), Zi = (e, t) => S("/label/establishment/:establishmentId").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), Xi = (e, t) => S("/label/:labelId").setMethod("put").setRouteParams({ labelId: e }).setPayload(t), ea = (e) => S("/label/:labelId").setMethod("delete").setRouteParams({ labelId: e }), ta = (e, t, i) => S("/label/establishment/:establishmentId/candidate/:candidateId/synchronize").setMethod("post").setPayload(i).setRouteParams({ establishmentId: e, candidateId: t }), ws = () => ({
1013
- listByEstablishment: Ki,
1014
- listByEstablishmentAndCandidate: Yi,
1015
- addToEstablishment: Zi,
1016
- update: Xi,
1017
- remove: ea,
1018
- syncForCandidate: ta
1019
- }), na = (e) => N("offer/:offerId").setRouteParams({ offerId: e }), ia = (e, t) => S("offer/:offerId").setMethod("PUT").setRouteParams({ offerId: e }).setPayload(t).setQueryParam("collection", "complete").addGroup("offer:form-save").addGroup("Offer:jobBoardErrors"), aa = (e) => S("offer/:offerId/undraft").setMethod("PUT").setRouteParams({ offerId: e }).addGroup("offer:form-save").addGroup("Offer:jobBoardErrors"), ra = (e, t) => S("offer/recruitment/:recruitmentId").setMethod("POST").setRouteParams({ recruitmentId: e }).setPayload(t).setQueryParam("draft", 1).setQueryParam("collection", "complete").setQueryParam("forcePublish", "false").addGroup("offer:form-save").addGroup("Offer:jobBoardErrors"), Is = () => ({
1020
- read: na,
1021
- save: ia,
1022
- undraft: aa,
1023
- create: ra
1024
- }), oa = () => N("pole").isList().addGroup("Term:id").addGroup("Term:name"), sa = (e, t = !0) => S("pole/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), ca = (e) => S("pole/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), bs = () => ({
1025
- list: oa,
1026
- listByEstablishment: sa,
1027
- listMineByEstablishment: ca
1028
- }), da = () => N("rank").isList().addGroup("Term:id").addGroup("Term:name"), la = (e, t = !0) => S("rank/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), ua = (e) => S("rank/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), ks = () => ({
1029
- list: da,
1030
- listByEstablishment: la,
1031
- listMineByEstablishment: ua
1032
- }), fa = (e, t = !1) => {
1002
+ listByEstablishment: Hi,
1003
+ listMineByEstablishment: Gi
1004
+ }), Ji = () => N("job").isList().addGroup("Term:id").addGroup("Term:name"), zi = (e, t = !0) => S("job/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), Wi = (e) => S("job/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), hs = () => ({
1005
+ list: Ji,
1006
+ listByEstablishment: zi,
1007
+ listMineByEstablishment: Wi
1008
+ }), qi = (e) => S("jobStatus/establishment/:establishmentId/mine").isList().addGroup("term:formTermSelect").setRouteParams({ establishmentId: e }), Qi = (e) => S("jobStatus/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), _s = () => ({
1009
+ listByEstablishment: qi,
1010
+ listMineByEstablishment: Qi
1011
+ }), Ki = (e, t) => S("/kanbanColumnsTemplate/user/:userId/establishment/:establishmentId").isList().setRouteParams({ userId: e, establishmentId: t }), ws = () => ({
1012
+ listByUserAndEstablishment: Ki
1013
+ }), Yi = (e) => S("/label/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), Zi = (e, t) => S("/v2/candidate-labels").isList().setQueryParam("establishment-id", e).setQueryParam("candidate-id", t), Xi = (e, t) => S("/label/establishment/:establishmentId").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), ea = (e, t) => S("/label/:labelId").setMethod("put").setRouteParams({ labelId: e }).setPayload(t), ta = (e) => S("/label/:labelId").setMethod("delete").setRouteParams({ labelId: e }), na = (e, t, i) => S("/label/establishment/:establishmentId/candidate/:candidateId/synchronize").setMethod("post").setPayload(i).setRouteParams({ establishmentId: e, candidateId: t }), Is = () => ({
1014
+ listByEstablishment: Yi,
1015
+ listByEstablishmentAndCandidate: Zi,
1016
+ addToEstablishment: Xi,
1017
+ update: ea,
1018
+ remove: ta,
1019
+ syncForCandidate: na
1020
+ }), ia = (e) => N("offer/:offerId").setRouteParams({ offerId: e }), aa = (e, t) => S("offer/:offerId").setMethod("PUT").setRouteParams({ offerId: e }).setPayload(t).setQueryParam("collection", "complete").addGroup("offer:form-save").addGroup("Offer:jobBoardErrors"), ra = (e) => S("offer/:offerId/undraft").setMethod("PUT").setRouteParams({ offerId: e }).addGroup("offer:form-save").addGroup("Offer:jobBoardErrors"), oa = (e, t) => S("offer/recruitment/:recruitmentId").setMethod("POST").setRouteParams({ recruitmentId: e }).setPayload(t).setQueryParam("draft", 1).setQueryParam("collection", "complete").setQueryParam("forcePublish", "false").addGroup("offer:form-save").addGroup("Offer:jobBoardErrors"), bs = () => ({
1021
+ read: ia,
1022
+ save: aa,
1023
+ undraft: ra,
1024
+ create: oa
1025
+ }), sa = () => N("pole").isList().addGroup("Term:id").addGroup("Term:name"), ca = (e, t = !0) => S("pole/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), da = (e) => S("pole/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), ks = () => ({
1026
+ list: sa,
1027
+ listByEstablishment: ca,
1028
+ listMineByEstablishment: da
1029
+ }), la = () => N("rank").isList().addGroup("Term:id").addGroup("Term:name"), ua = (e, t = !0) => S("rank/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), fa = (e) => S("rank/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), vs = () => ({
1030
+ list: la,
1031
+ listByEstablishment: ua,
1032
+ listMineByEstablishment: fa
1033
+ }), ma = (e, t = !1) => {
1033
1034
  const i = S("/recruiter/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e });
1034
1035
  return t && i.setQueryParam("exclude-me", 1), i;
1035
- }, vs = () => ({
1036
- listByEstablishment: fa
1037
- }), ma = (e) => S("/recruitment/:recruitmentId").setRouteParams({ recruitmentId: e }), pa = (e) => S("recruitment/:recruitmentId/authorizations").setRouteParams({ recruitmentId: e }), ya = (e) => S("/recruitment/mine/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), ga = (e, t) => S("/recruitment/mine/establishment/:establishmentId/has-not/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), ha = (e, t) => S("/recruitment/mine/establishment/:establishmentId/has/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), _a = (e, t) => S("/recruitment/establishment/:establishmentId/has/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), wa = (e, t) => S("/recruitment/:recruitmentId/candidate").setMethod("put").setRouteParams({ recruitmentId: e }).setPayload(t), Ia = (e, t) => S("/recruitment/:recruitmentId/candidate/:candidateId").setMethod("delete").setRouteParams({ recruitmentId: e, candidateId: t }), ba = (e, t) => S("/recruitment/establishment/:establishmentId").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), ka = (e, t) => S("/recruitment/:recruitmentId").setMethod("put").setRouteParams({ recruitmentId: e }).setPayload(t), va = (e) => S("/recruitment/:recruitmentId/undraft").setMethod("put").setRouteParams({ recruitmentId: e }), Sa = (e) => S("/recruitment/:recruitmentId/archive").setMethod("put").setRouteParams({ recruitmentId: e }), Ra = (e) => S("/recruitment/:recruitmentId/unarchive").setMethod("put").setRouteParams({ recruitmentId: e }), Ca = (e) => S("/recruitment/:recruitmentId/unclose").setMethod("put").setRouteParams({ recruitmentId: e }), Va = (e) => S("/recruitment/:recruitmentId").setMethod("delete").setRouteParams({ recruitmentId: e }), Ss = () => ({
1038
- read: ma,
1039
- authorizations: pa,
1040
- mineByEstablishment: ya,
1041
- mineWithoutCandidate: ga,
1042
- mineWithCandidate: ha,
1043
- withCandidate: _a,
1044
- addCandidates: wa,
1045
- removeCandidate: Ia,
1046
- createByEstablishment: ba,
1047
- update: ka,
1048
- undraft: va,
1049
- archive: Sa,
1050
- unarchive: Ra,
1051
- unclose: Ca,
1052
- delete: Va
1053
- }), Aa = (e, t, i, r = null, o = null) => {
1036
+ }, Ss = () => ({
1037
+ listByEstablishment: ma
1038
+ }), pa = (e) => S("/recruitment/:recruitmentId").setRouteParams({ recruitmentId: e }), ya = (e) => S("recruitment/:recruitmentId/authorizations").setRouteParams({ recruitmentId: e }), ga = (e) => S("/recruitment/mine/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), ha = (e, t) => S("/recruitment/mine/establishment/:establishmentId/has-not/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), _a = (e, t) => S("/recruitment/mine/establishment/:establishmentId/has/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), wa = (e, t) => S("/recruitment/establishment/:establishmentId/has/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), Ia = (e, t) => S("/recruitment/:recruitmentId/candidate").setMethod("put").setRouteParams({ recruitmentId: e }).setPayload(t), ba = (e, t) => S("/recruitment/:recruitmentId/candidate/:candidateId").setMethod("delete").setRouteParams({ recruitmentId: e, candidateId: t }), ka = (e, t) => S("/recruitment/establishment/:establishmentId").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), va = (e, t) => S("/recruitment/:recruitmentId").setMethod("put").setRouteParams({ recruitmentId: e }).setPayload(t), Sa = (e) => S("/recruitment/:recruitmentId/undraft").setMethod("put").setRouteParams({ recruitmentId: e }), Ra = (e) => S("/recruitment/:recruitmentId/archive").setMethod("put").setRouteParams({ recruitmentId: e }), Ca = (e) => S("/recruitment/:recruitmentId/unarchive").setMethod("put").setRouteParams({ recruitmentId: e }), Va = (e) => S("/recruitment/:recruitmentId/unclose").setMethod("put").setRouteParams({ recruitmentId: e }), Aa = (e) => S("/recruitment/:recruitmentId").setMethod("delete").setRouteParams({ recruitmentId: e }), Rs = () => ({
1039
+ read: pa,
1040
+ authorizations: ya,
1041
+ mineByEstablishment: ga,
1042
+ mineWithoutCandidate: ha,
1043
+ mineWithCandidate: _a,
1044
+ withCandidate: wa,
1045
+ addCandidates: Ia,
1046
+ removeCandidate: ba,
1047
+ createByEstablishment: ka,
1048
+ update: va,
1049
+ undraft: Sa,
1050
+ archive: Ra,
1051
+ unarchive: Ca,
1052
+ unclose: Va,
1053
+ delete: Aa
1054
+ }), Pa = (e, t, i, r = null, o = null) => {
1054
1055
  const c = N("candidate/register/open").setMethod("post"), f = { email: e };
1055
1056
  return t === "establishment" && (f.establishmentId = i), t === "offer" && (f.offerId = i), r && (f.referer = r), o && (f.jwt = o), c.setPayload(f), c;
1056
- }, Pa = (e, t) => N("candidate/register/update/:token").setMethod("post").setRouteParams({ token: e }).setPayload(t), Ea = (e) => N("candidate/register/read/:token").setRouteParams({ token: e }), Oa = (e) => N("candidate/register/close/:token").setMethod("post").setRouteParams({ token: e }), Rs = () => ({
1057
- open: Aa,
1058
- update: Pa,
1059
- read: Ea,
1060
- close: Oa
1061
- }), La = (e, t) => S("/v2/registrations/lookup").setQueryParam("candidate-id", e).setQueryParam("establishment-id", t), Cs = () => ({
1062
- lookupEstablishment: La
1063
- }), Ba = () => N("requestReason").isList().addGroup("Term:id").addGroup("Term:name"), Da = (e, t = !0) => S("requestReason/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), Ta = (e) => S("requestReason/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), Vs = () => ({
1064
- list: Ba,
1065
- listByEstablishment: Da,
1066
- listMineByEstablishment: Ta
1067
- }), $a = (e) => S("/v2/recruiter-area/saved-filters").isList().setQueryParam("institution_uuid", e), Ma = (e) => S("/v2/recruiter-area/saved-filters").setMethod("post").setPayload(e), Na = (e, t) => S("/v2/recruiter-area/saved-filters/:uuid").setRouteParams({ uuid: e }).setMethod("put").setPayload(t), Ua = (e) => S("/v2/recruiter-area/saved-filters/:uuid").setRouteParams({ uuid: e }).setMethod("delete"), As = () => ({
1068
- listMineByEstablishment: $a,
1069
- create: Ma,
1070
- update: Na,
1071
- remove: Ua
1072
- }), xa = () => N("service").isList().addGroup("Term:id").addGroup("Term:name"), Fa = (e, t = !0) => S("service/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), ja = (e) => S("service/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), Ps = () => ({
1073
- list: xa,
1057
+ }, Ea = (e, t) => N("candidate/register/update/:token").setMethod("post").setRouteParams({ token: e }).setPayload(t), Oa = (e) => N("candidate/register/read/:token").setRouteParams({ token: e }), La = (e) => N("candidate/register/close/:token").setMethod("post").setRouteParams({ token: e }), Cs = () => ({
1058
+ open: Pa,
1059
+ update: Ea,
1060
+ read: Oa,
1061
+ close: La
1062
+ }), Ba = (e, t) => S("/v2/registrations/lookup").setQueryParam("candidate-id", e).setQueryParam("establishment-id", t), Vs = () => ({
1063
+ lookupEstablishment: Ba
1064
+ }), Da = () => N("requestReason").isList().addGroup("Term:id").addGroup("Term:name"), Ta = (e, t = !0) => S("requestReason/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), $a = (e) => S("requestReason/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), As = () => ({
1065
+ list: Da,
1066
+ listByEstablishment: Ta,
1067
+ listMineByEstablishment: $a
1068
+ }), Ma = (e) => S("/v2/recruiter-area/saved-filters").isList().setQueryParam("institution_uuid", e), Na = (e) => S("/v2/recruiter-area/saved-filters").setMethod("post").setPayload(e), Ua = (e, t) => S("/v2/recruiter-area/saved-filters/:uuid").setRouteParams({ uuid: e }).setMethod("put").setPayload(t), xa = (e) => S("/v2/recruiter-area/saved-filters/:uuid").setRouteParams({ uuid: e }).setMethod("delete"), Ps = () => ({
1069
+ listMineByEstablishment: Ma,
1070
+ create: Na,
1071
+ update: Ua,
1072
+ remove: xa
1073
+ }), ja = () => N("service").isList().addGroup("Term:id").addGroup("Term:name"), Fa = (e, t = !0) => S("service/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), Ha = (e) => S("service/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), Es = () => ({
1074
+ list: ja,
1074
1075
  listByEstablishment: Fa,
1075
- listMineByEstablishment: ja
1076
- }), Ha = () => N("skill").isList().addGroup("term:formTermSelect"), Es = () => ({
1077
- list: Ha
1078
- }), Ga = () => N("speciality").isList().addGroup("Term:id").addGroup("Term:name"), Ja = (e, t = !0) => S("speciality/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), za = (e) => S("speciality/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), Os = () => ({
1079
- list: Ga,
1080
- listByEstablishment: Ja,
1081
- listMineByEstablishment: za
1082
- }), Wa = (e) => S("/tag/public/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), Ls = () => ({
1083
- listByEstablishment: Wa
1084
- }), qa = (e, t) => S("/v2/talent").setQueryParam("establishment-id", e).setQueryParam("candidate-id", t), Qa = (e, t) => S("/v2/talents/lookup").setQueryParam("candidate-id", e).setQueryParam("establishment-id", t), Ka = (e) => S("/v2/talents/index").setMethod("post").setPayload(e), Bs = () => ({
1085
- read: qa,
1086
- lookupTalent: Qa,
1087
- addCandidateToTalentPool: Ka
1088
- }), Ya = (e) => S("/v2/recruiter-area/user-lists/institution/:establishmentUuid").setRouteParams({ establishmentUuid: e }), Ds = () => ({
1089
- listByEstablishment: Ya
1090
- }), Za = (e) => N("user/email/isset/:email").setRouteParams({ email: e }), Xa = () => S("user/self").addGroup("user:self").addGroup("User:phoneNumber"), er = (e) => S("/user/:uuid").setRouteParams({ uuid: e }), tr = (e) => N("/user/:uuid").setRouteParams({ uuid: e }), nr = (e) => S("/user/:id/uuid").setRouteParams({ id: e }), ir = (e) => S("/user/collaborator/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), ar = (e) => S("/user/creator/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), rr = (e) => S("/recruitment/establishment/:establishmentId/validators").isList().setRouteParams({ establishmentId: e }), or = () => ({
1091
- emailExists: Za,
1092
- self: Xa,
1093
- byUuidPrivate: er,
1094
- byUuid: tr,
1095
- fetchUuid: nr,
1096
- listCollaboratorByEstablishment: ir,
1097
- listCreatorByEstablishment: ar,
1098
- listValidatorByEstablishment: rr
1099
- }), sr = (e) => S("validationFlow/establishment/:establishmentId").setRouteParams({ establishmentId: e }).isList(), cr = (e, t) => S("validationFlow/user/:userId/establishment/:establishmentId").setRouteParams({ userId: e, establishmentId: t }).isList(), Ts = () => ({
1100
- listByEstablishment: sr,
1101
- listByUserAndEstablishment: cr
1102
- }), dr = (e = {
1076
+ listMineByEstablishment: Ha
1077
+ }), Ga = () => N("skill").isList().addGroup("term:formTermSelect"), Os = () => ({
1078
+ list: Ga
1079
+ }), Ja = () => N("speciality").isList().addGroup("Term:id").addGroup("Term:name"), za = (e, t = !0) => S("speciality/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), Wa = (e) => S("speciality/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), Ls = () => ({
1080
+ list: Ja,
1081
+ listByEstablishment: za,
1082
+ listMineByEstablishment: Wa
1083
+ }), qa = (e) => S("/tag/public/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), Bs = () => ({
1084
+ listByEstablishment: qa
1085
+ }), Qa = (e, t) => S("/v2/talent").setQueryParam("establishment-id", e).setQueryParam("candidate-id", t), Ka = (e, t) => S("/v2/talents/lookup").setQueryParam("candidate-id", e).setQueryParam("establishment-id", t), Ya = (e) => S("/v2/talents/index").setMethod("post").setPayload(e), Ds = () => ({
1086
+ read: Qa,
1087
+ lookupTalent: Ka,
1088
+ addCandidateToTalentPool: Ya
1089
+ }), Za = (e) => S("/v2/recruiter-area/user-lists/institution/:establishmentUuid").setRouteParams({ establishmentUuid: e }), Ts = () => ({
1090
+ listByEstablishment: Za
1091
+ }), Xa = (e) => N("user/email/isset/:email").setRouteParams({ email: e }), er = () => S("user/self").addGroup("user:self").addGroup("User:phoneNumber"), tr = (e) => S("/user/:uuid").setRouteParams({ uuid: e }), nr = (e) => N("/user/:uuid").setRouteParams({ uuid: e }), ir = (e) => S("/user/:id/uuid").setRouteParams({ id: e }), ar = (e) => S("/user/collaborator/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), rr = (e) => S("/user/creator/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), or = (e) => S("/recruitment/establishment/:establishmentId/validators").isList().setRouteParams({ establishmentId: e }), sr = () => ({
1092
+ emailExists: Xa,
1093
+ self: er,
1094
+ byUuidPrivate: tr,
1095
+ byUuid: nr,
1096
+ fetchUuid: ir,
1097
+ listCollaboratorByEstablishment: ar,
1098
+ listCreatorByEstablishment: rr,
1099
+ listValidatorByEstablishment: or
1100
+ }), cr = (e) => S("validationFlow/establishment/:establishmentId").setRouteParams({ establishmentId: e }).isList(), dr = (e, t) => S("validationFlow/user/:userId/establishment/:establishmentId").setRouteParams({ userId: e, establishmentId: t }).isList(), $s = () => ({
1101
+ listByEstablishment: cr,
1102
+ listByUserAndEstablishment: dr
1103
+ }), lr = (e = {
1103
1104
  token: "token",
1104
1105
  refresh: "refresh_token",
1105
1106
  expiration: "token_expiration_date"
@@ -1160,21 +1161,21 @@ const Hn = (e, t) => S("/v2/activity/candidate/:candidateId/establishment/:estab
1160
1161
  };
1161
1162
  };
1162
1163
  // @__NO_SIDE_EFFECTS__
1163
- function lr(e) {
1164
+ function ur(e) {
1164
1165
  const t = /* @__PURE__ */ Object.create(null);
1165
1166
  for (const i of e.split(",")) t[i] = 1;
1166
1167
  return (i) => i in t;
1167
1168
  }
1168
1169
  process.env.NODE_ENV !== "production" && Object.freeze({});
1169
1170
  process.env.NODE_ENV !== "production" && Object.freeze([]);
1170
- const Ze = Object.assign, ur = Object.prototype.hasOwnProperty, Ge = (e, t) => ur.call(e, t), we = Array.isArray, ye = (e) => At(e) === "[object Map]", fr = (e) => typeof e == "string", ve = (e) => typeof e == "symbol", Ie = (e) => e !== null && typeof e == "object", mr = Object.prototype.toString, At = (e) => mr.call(e), Pt = (e) => At(e).slice(8, -1), Xe = (e) => fr(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, pr = (e) => {
1171
+ const Ze = Object.assign, fr = Object.prototype.hasOwnProperty, Ge = (e, t) => fr.call(e, t), we = Array.isArray, ye = (e) => At(e) === "[object Map]", mr = (e) => typeof e == "string", ve = (e) => typeof e == "symbol", Ie = (e) => e !== null && typeof e == "object", pr = Object.prototype.toString, At = (e) => pr.call(e), Pt = (e) => At(e).slice(8, -1), Xe = (e) => mr(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, yr = (e) => {
1171
1172
  const t = /* @__PURE__ */ Object.create(null);
1172
1173
  return ((i) => t[i] || (t[i] = e(i)));
1173
- }, yr = pr((e) => e.charAt(0).toUpperCase() + e.slice(1)), ge = (e, t) => !Object.is(e, t);
1174
+ }, gr = yr((e) => e.charAt(0).toUpperCase() + e.slice(1)), ge = (e, t) => !Object.is(e, t);
1174
1175
  function le(e, ...t) {
1175
1176
  console.warn(`[Vue warn] ${e}`, ...t);
1176
1177
  }
1177
- let gr, Et = 0, Me;
1178
+ let hr, Et = 0, Me;
1178
1179
  function et() {
1179
1180
  Et++;
1180
1181
  }
@@ -1199,10 +1200,10 @@ function tt() {
1199
1200
  }
1200
1201
  let Ee = !0;
1201
1202
  const Ot = [];
1202
- function hr() {
1203
+ function _r() {
1203
1204
  Ot.push(Ee), Ee = !1;
1204
1205
  }
1205
- function _r() {
1206
+ function wr() {
1206
1207
  const e = Ot.pop();
1207
1208
  Ee = e === void 0 ? !0 : e;
1208
1209
  }
@@ -1244,7 +1245,7 @@ const Je = /* @__PURE__ */ new WeakMap(), te = /* @__PURE__ */ Symbol(
1244
1245
  process.env.NODE_ENV !== "production" ? "Array iterate" : ""
1245
1246
  );
1246
1247
  function x(e, t, i) {
1247
- if (Ee && gr) {
1248
+ if (Ee && hr) {
1248
1249
  let r = Je.get(e);
1249
1250
  r || Je.set(e, r = /* @__PURE__ */ new Map());
1250
1251
  let o = r.get(i);
@@ -1303,7 +1304,7 @@ function nt(e) {
1303
1304
  function K(e, t) {
1304
1305
  return /* @__PURE__ */ X(e) ? ke(/* @__PURE__ */ xt(e) ? z(t) : t) : z(t);
1305
1306
  }
1306
- const wr = {
1307
+ const Ir = {
1307
1308
  __proto__: null,
1308
1309
  [Symbol.iterator]() {
1309
1310
  return Ne(this, Symbol.iterator, (e) => K(this, e));
@@ -1420,10 +1421,10 @@ function Ne(e, t, i) {
1420
1421
  return c.done || (c.value = i(c.value)), c;
1421
1422
  }), o;
1422
1423
  }
1423
- const Ir = Array.prototype;
1424
+ const br = Array.prototype;
1424
1425
  function J(e, t, i, r, o, c) {
1425
1426
  const f = nt(e), y = f !== e && !/* @__PURE__ */ ee(e), p = f[t];
1426
- if (p !== Ir[t]) {
1427
+ if (p !== br[t]) {
1427
1428
  const R = p.apply(e, c);
1428
1429
  return y ? z(R) : R;
1429
1430
  }
@@ -1449,17 +1450,17 @@ function Ue(e, t, i) {
1449
1450
  const r = /* @__PURE__ */ B(e);
1450
1451
  x(r, "iterate", be);
1451
1452
  const o = r[t](...i);
1452
- return (o === -1 || o === !1) && /* @__PURE__ */ Tr(i[0]) ? (i[0] = /* @__PURE__ */ B(i[0]), r[t](...i)) : o;
1453
+ return (o === -1 || o === !1) && /* @__PURE__ */ $r(i[0]) ? (i[0] = /* @__PURE__ */ B(i[0]), r[t](...i)) : o;
1453
1454
  }
1454
1455
  function me(e, t, i = []) {
1455
- hr(), et();
1456
+ _r(), et();
1456
1457
  const r = (/* @__PURE__ */ B(e))[t].apply(e, i);
1457
- return tt(), _r(), r;
1458
+ return tt(), wr(), r;
1458
1459
  }
1459
- const br = /* @__PURE__ */ lr("__proto__,__v_isRef,__isVue"), Bt = new Set(
1460
+ const kr = /* @__PURE__ */ ur("__proto__,__v_isRef,__isVue"), Bt = new Set(
1460
1461
  /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(ve)
1461
1462
  );
1462
- function kr(e) {
1463
+ function vr(e) {
1463
1464
  ve(e) || (e = String(e));
1464
1465
  const t = /* @__PURE__ */ B(this);
1465
1466
  return x(t, "has", e), t.hasOwnProperty(e);
@@ -1478,16 +1479,16 @@ class Dt {
1478
1479
  if (i === "__v_isShallow")
1479
1480
  return c;
1480
1481
  if (i === "__v_raw")
1481
- return r === (o ? c ? Lr : Mt : c ? Or : $t).get(t) || // receiver is not the reactive proxy, but has the same prototype
1482
+ return r === (o ? c ? Br : Mt : c ? Lr : $t).get(t) || // receiver is not the reactive proxy, but has the same prototype
1482
1483
  // this means the receiver is a user proxy of the reactive proxy
1483
1484
  Object.getPrototypeOf(t) === Object.getPrototypeOf(r) ? t : void 0;
1484
1485
  const f = we(t);
1485
1486
  if (!o) {
1486
1487
  let p;
1487
- if (f && (p = wr[i]))
1488
+ if (f && (p = Ir[i]))
1488
1489
  return p;
1489
1490
  if (i === "hasOwnProperty")
1490
- return kr;
1491
+ return vr;
1491
1492
  }
1492
1493
  const y = Reflect.get(
1493
1494
  t,
@@ -1497,7 +1498,7 @@ class Dt {
1497
1498
  // its class methods
1498
1499
  /* @__PURE__ */ de(t) ? t : r
1499
1500
  );
1500
- if ((ve(i) ? Bt.has(i) : br(i)) || (o || x(t, "get", i), c))
1501
+ if ((ve(i) ? Bt.has(i) : kr(i)) || (o || x(t, "get", i), c))
1501
1502
  return y;
1502
1503
  if (/* @__PURE__ */ de(y)) {
1503
1504
  const p = f && Xe(i) ? y : y.value;
@@ -1506,7 +1507,7 @@ class Dt {
1506
1507
  return Ie(y) ? o ? /* @__PURE__ */ qe(y) : /* @__PURE__ */ Nt(y) : y;
1507
1508
  }
1508
1509
  }
1509
- class vr extends Dt {
1510
+ class Sr extends Dt {
1510
1511
  constructor(t = !1) {
1511
1512
  super(!1, t);
1512
1513
  }
@@ -1545,7 +1546,7 @@ class vr extends Dt {
1545
1546
  ), Reflect.ownKeys(t);
1546
1547
  }
1547
1548
  }
1548
- class Sr extends Dt {
1549
+ class Rr extends Dt {
1549
1550
  constructor(t = !1) {
1550
1551
  super(!0, t);
1551
1552
  }
@@ -1562,8 +1563,8 @@ class Sr extends Dt {
1562
1563
  ), !0;
1563
1564
  }
1564
1565
  }
1565
- const Rr = /* @__PURE__ */ new vr(), Cr = /* @__PURE__ */ new Sr(), We = (e) => e, Ce = (e) => Reflect.getPrototypeOf(e);
1566
- function Vr(e, t, i) {
1566
+ const Cr = /* @__PURE__ */ new Sr(), Vr = /* @__PURE__ */ new Rr(), We = (e) => e, Ce = (e) => Reflect.getPrototypeOf(e);
1567
+ function Ar(e, t, i) {
1567
1568
  return function(...r) {
1568
1569
  const o = this.__v_raw, c = /* @__PURE__ */ B(o), f = ye(c), y = e === "entries" || e === Symbol.iterator && f, p = e === "keys" && f, w = o[e](...r), _ = i ? We : t ? ke : z;
1569
1570
  return !t && x(
@@ -1591,14 +1592,14 @@ function Ve(e) {
1591
1592
  if (process.env.NODE_ENV !== "production") {
1592
1593
  const i = t[0] ? `on key "${t[0]}" ` : "";
1593
1594
  le(
1594
- `${yr(e)} operation ${i}failed: target is readonly.`,
1595
+ `${gr(e)} operation ${i}failed: target is readonly.`,
1595
1596
  /* @__PURE__ */ B(this)
1596
1597
  );
1597
1598
  }
1598
1599
  return e === "delete" ? !1 : e === "clear" ? void 0 : this;
1599
1600
  };
1600
1601
  }
1601
- function Ar(e, t) {
1602
+ function Pr(e, t) {
1602
1603
  const i = {
1603
1604
  get(o) {
1604
1605
  const c = this.__v_raw, f = /* @__PURE__ */ B(c), y = /* @__PURE__ */ B(o);
@@ -1668,20 +1669,20 @@ function Ar(e, t) {
1668
1669
  "entries",
1669
1670
  Symbol.iterator
1670
1671
  ].forEach((o) => {
1671
- i[o] = Vr(o, e, t);
1672
+ i[o] = Ar(o, e, t);
1672
1673
  }), i;
1673
1674
  }
1674
1675
  function Tt(e, t) {
1675
- const i = Ar(e, t);
1676
+ const i = Pr(e, t);
1676
1677
  return (r, o, c) => o === "__v_isReactive" ? !e : o === "__v_isReadonly" ? e : o === "__v_raw" ? r : Reflect.get(
1677
1678
  Ge(i, o) && o in r ? i : r,
1678
1679
  o,
1679
1680
  c
1680
1681
  );
1681
1682
  }
1682
- const Pr = {
1683
+ const Er = {
1683
1684
  get: /* @__PURE__ */ Tt(!1, !1)
1684
- }, Er = {
1685
+ }, Or = {
1685
1686
  get: /* @__PURE__ */ Tt(!0, !1)
1686
1687
  };
1687
1688
  function ft(e, t, i) {
@@ -1693,8 +1694,8 @@ function ft(e, t, i) {
1693
1694
  );
1694
1695
  }
1695
1696
  }
1696
- const $t = /* @__PURE__ */ new WeakMap(), Or = /* @__PURE__ */ new WeakMap(), Mt = /* @__PURE__ */ new WeakMap(), Lr = /* @__PURE__ */ new WeakMap();
1697
- function Br(e) {
1697
+ const $t = /* @__PURE__ */ new WeakMap(), Lr = /* @__PURE__ */ new WeakMap(), Mt = /* @__PURE__ */ new WeakMap(), Br = /* @__PURE__ */ new WeakMap();
1698
+ function Dr(e) {
1698
1699
  switch (e) {
1699
1700
  case "Object":
1700
1701
  case "Array":
@@ -1708,16 +1709,16 @@ function Br(e) {
1708
1709
  return 0;
1709
1710
  }
1710
1711
  }
1711
- function Dr(e) {
1712
- return e.__v_skip || !Object.isExtensible(e) ? 0 : Br(Pt(e));
1712
+ function Tr(e) {
1713
+ return e.__v_skip || !Object.isExtensible(e) ? 0 : Dr(Pt(e));
1713
1714
  }
1714
1715
  // @__NO_SIDE_EFFECTS__
1715
1716
  function Nt(e) {
1716
1717
  return /* @__PURE__ */ X(e) ? e : Ut(
1717
1718
  e,
1718
1719
  !1,
1719
- Rr,
1720
- Pr,
1720
+ Cr,
1721
+ Er,
1721
1722
  $t
1722
1723
  );
1723
1724
  }
@@ -1726,8 +1727,8 @@ function qe(e) {
1726
1727
  return Ut(
1727
1728
  e,
1728
1729
  !0,
1729
- Cr,
1730
- Er,
1730
+ Vr,
1731
+ Or,
1731
1732
  Mt
1732
1733
  );
1733
1734
  }
@@ -1740,7 +1741,7 @@ function Ut(e, t, i, r, o) {
1740
1741
  ), e;
1741
1742
  if (e.__v_raw && !(t && e.__v_isReactive))
1742
1743
  return e;
1743
- const c = Dr(e);
1744
+ const c = Tr(e);
1744
1745
  if (c === 0)
1745
1746
  return e;
1746
1747
  const f = o.get(e);
@@ -1765,7 +1766,7 @@ function ee(e) {
1765
1766
  return !!(e && e.__v_isShallow);
1766
1767
  }
1767
1768
  // @__NO_SIDE_EFFECTS__
1768
- function Tr(e) {
1769
+ function $r(e) {
1769
1770
  return e ? !!e.__v_raw : !1;
1770
1771
  }
1771
1772
  // @__NO_SIDE_EFFECTS__
@@ -1780,12 +1781,12 @@ function de(e) {
1780
1781
  }
1781
1782
  // @__NO_SIDE_EFFECTS__
1782
1783
  function it(e) {
1783
- return $r(e, !1);
1784
+ return Mr(e, !1);
1784
1785
  }
1785
- function $r(e, t) {
1786
- return /* @__PURE__ */ de(e) ? e : new Mr(e, t);
1786
+ function Mr(e, t) {
1787
+ return /* @__PURE__ */ de(e) ? e : new Nr(e, t);
1787
1788
  }
1788
- class Mr {
1789
+ class Nr {
1789
1790
  constructor(t, i) {
1790
1791
  this.dep = new Lt(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = i ? t : /* @__PURE__ */ B(t), this._value = i ? t : z(t), this.__v_isShallow = i;
1791
1792
  }
@@ -1807,7 +1808,7 @@ class Mr {
1807
1808
  }) : this.dep.trigger());
1808
1809
  }
1809
1810
  }
1810
- const $s = () => {
1811
+ const Ms = () => {
1811
1812
  const e = /* @__PURE__ */ it({});
1812
1813
  return {
1813
1814
  establishments: e,
@@ -1816,7 +1817,7 @@ const $s = () => {
1816
1817
  return Vt().authorizations(i).send().then((o) => e.value = { ...e.value, [i]: o.getData() });
1817
1818
  }
1818
1819
  };
1819
- }, Ms = () => {
1820
+ }, Ns = () => {
1820
1821
  const e = /* @__PURE__ */ it(void 0), t = Se(() => e.value?.roles ?? []), i = Se(() => t.value.includes("ROLE_RH")), r = Se(() => t.value.includes("ROLE_CANDIDATE")), o = Se(() => t.value.includes("ROLE_ADMIN"));
1821
1822
  return {
1822
1823
  user: e,
@@ -1829,12 +1830,12 @@ const $s = () => {
1829
1830
  const y = localStorage.getItem("self");
1830
1831
  e.value = y ? JSON.parse(y) : void 0;
1831
1832
  }
1832
- return (e.value === void 0 || f) && await or().self().send().then((y) => {
1833
+ return (e.value === void 0 || f) && await sr().self().send().then((y) => {
1833
1834
  e.value = y.getData(), localStorage.setItem("self", JSON.stringify(e.value));
1834
1835
  }), e.value;
1835
1836
  }
1836
1837
  };
1837
- }, Ns = (e) => {
1838
+ }, Us = (e) => {
1838
1839
  const t = /* @__PURE__ */ it(void 0);
1839
1840
  return {
1840
1841
  establishment: t,
@@ -1848,7 +1849,7 @@ const $s = () => {
1848
1849
  t.value = void 0, localStorage.removeItem("establishment");
1849
1850
  }
1850
1851
  };
1851
- }, Us = () => ({
1852
+ }, xs = () => ({
1852
1853
  page__CandidateLoginViewed: async (s = {}) => l.page("Candidate Login Viewed", s.category ?? "Authentication"),
1853
1854
  page__InstitutionListViewed: async (s) => (m(s, {
1854
1855
  companyId: (n) => a(n),
@@ -1886,7 +1887,7 @@ const $s = () => {
1886
1887
  email: (n) => a(n),
1887
1888
  error: (n) => b(n, a)
1888
1889
  }) || u.warn('Invalid properties for analytics call "User Sign In Failed".'), l.track("User Sign In Failed", s.category ?? "Authentication", s))
1889
- }), xs = () => ({
1890
+ }), js = () => ({
1890
1891
  page__AboutConfigurationViewed: async (t) => (m(t, {
1891
1892
  companyId: (i) => a(i),
1892
1893
  institutionId: (i) => b(i, a)
@@ -1979,7 +1980,7 @@ const $s = () => {
1979
1980
  jobOfferId: (n) => a(n),
1980
1981
  recruitmentId: (n) => a(n)
1981
1982
  }) || u.warn('Invalid properties for analytics call "Spontaneous Application Sent".'), l.track("Spontaneous Application Sent", s.category ?? "Career Public", s))
1982
- }), js = () => ({
1983
+ }), Hs = () => ({
1983
1984
  page__AddCandidateDocumentViewed: async (s) => (m(s, {
1984
1985
  companyId: (n) => a(n),
1985
1986
  institutionId: (n) => b(n, a)
@@ -2051,7 +2052,7 @@ const $s = () => {
2051
2052
  institutionId: (n) => b(n, a),
2052
2053
  selections: (n) => b(n, a)
2053
2054
  }) || u.warn('Invalid properties for analytics call "Document Upload Failed".'), l.track("Document Upload Failed", s.category ?? "CV Bank", s))
2054
- }), Hs = () => ({
2055
+ }), Gs = () => ({
2055
2056
  campaign__EmailContinueApplication: async (v = {}) => l.campaign("Email: Continue Application", v.category ?? "Hubler Application"),
2056
2057
  campaign__EmailFinalizeYourApplication: async (v = {}) => l.campaign("Email: Finalize Your Application", v.category ?? "Hubler Application"),
2057
2058
  campaign__EmailFollowUpApplication: async (v = {}) => l.campaign("Email: Follow Up Application", v.category ?? "Hubler Application"),
@@ -2095,7 +2096,7 @@ const $s = () => {
2095
2096
  jobOfferId: (A) => a(A),
2096
2097
  recruitmentId: (A) => a(A)
2097
2098
  }) || u.warn('Invalid properties for analytics call "Application Form Failed".'), l.track("Application Form Failed", v.category ?? "Hubler Application", v))
2098
- }), Gs = () => ({
2099
+ }), Js = () => ({
2099
2100
  track__UserSignedIn: async (o) => (m(o, {
2100
2101
  companyId: (c) => a(c),
2101
2102
  email: (c) => a(c),
@@ -2114,13 +2115,13 @@ const $s = () => {
2114
2115
  email: (c) => a(c),
2115
2116
  error: (c) => b(c, a)
2116
2117
  }) || u.warn('Invalid properties for analytics call "User Signed Up Failed".'), l.track("User Signed Up Failed", o.category ?? "Hubler Authentication", o))
2117
- }), Js = () => ({
2118
+ }), zs = () => ({
2118
2119
  page__CalendarViewed: async (t) => (m(t, {
2119
2120
  companyId: (i) => a(i),
2120
2121
  institutionId: (i) => b(i, a),
2121
2122
  recruitmentId: (i) => a(i)
2122
2123
  }) || u.warn('Invalid properties for analytics call "Calendar Viewed".'), l.page("Calendar Viewed", t.category ?? "Hubler Calendar", t))
2123
- }), zs = () => ({
2124
+ }), Ws = () => ({
2124
2125
  page__DocumentListViewed: async (o = {}) => l.page("Document List Viewed", o.category ?? "Hubler Document"),
2125
2126
  track__DocumentAdded: async (o) => (m(o, {
2126
2127
  format: (c) => b(c, a),
@@ -2136,7 +2137,7 @@ const $s = () => {
2136
2137
  hublerId: (c) => a(c),
2137
2138
  hublerType: (c) => a(c)
2138
2139
  }) || u.warn('Invalid properties for analytics call "Document Downloaded".'), l.track("Document Downloaded", o.category ?? "Hubler Document", o))
2139
- }), Ws = () => ({
2140
+ }), qs = () => ({
2140
2141
  page__AddExperienceViewed: async (p = {}) => l.page("Add Experience Viewed", p.category ?? "Hubler Resume"),
2141
2142
  page__ResumeViewed: async (p = {}) => l.page("Resume Viewed", p.category ?? "Hubler Resume"),
2142
2143
  track__ResumeDiplomaAdded: async (p = {}) => l.track("Resume Diploma Added", p.category ?? "Hubler Resume"),
@@ -2145,12 +2146,12 @@ const $s = () => {
2145
2146
  track__ResumePictureUploaded: async (p = {}) => l.track("Resume Picture Uploaded", p.category ?? "Hubler Resume"),
2146
2147
  track__ResumeSaved: async (p = {}) => l.track("Resume Saved", p.category ?? "Hubler Resume"),
2147
2148
  track__ResumeSkillAdded: async (p = {}) => l.track("Resume Skill Added", p.category ?? "Hubler Resume")
2148
- }), qs = () => ({
2149
+ }), Qs = () => ({
2149
2150
  page__SettingAdministrativeViewed: async (o = {}) => l.page("Setting Administrative Viewed", o.category ?? "Hubler Settings"),
2150
2151
  page__SettingGeneralViewed: async (o = {}) => l.page("Setting General Viewed", o.category ?? "Hubler Settings"),
2151
2152
  page__SettingNotificationViewed: async (o = {}) => l.page("Setting Notification Viewed", o.category ?? "Hubler Settings"),
2152
2153
  page__SettingSecurityViewed: async (o = {}) => l.page("Setting Security Viewed", o.category ?? "Hubler Settings")
2153
- }), Qs = () => ({
2154
+ }), Ks = () => ({
2154
2155
  page__JobOfferListViewed: async (s) => (m(s, {
2155
2156
  companyId: (n) => a(n),
2156
2157
  institutionId: (n) => b(n, a),
@@ -2236,10 +2237,10 @@ const $s = () => {
2236
2237
  jobOfferId: (n) => a(n),
2237
2238
  recruitmentId: (n) => a(n)
2238
2239
  }) || u.warn('Invalid properties for analytics call "Offer - Published".'), l.track("Offer - Published", s.category ?? "Job Offer", s))
2239
- }), Ks = () => ({
2240
+ }), Ys = () => ({
2240
2241
  page__MessagingDiscussionViewed: async (i = {}) => l.page("Messaging Discussion Viewed", i.category ?? "Messaging"),
2241
2242
  page__MessengingViewed: async (i = {}) => l.page("Messenging Viewed", i.category ?? "Messaging")
2242
- }), Ys = () => ({
2243
+ }), Zs = () => ({
2243
2244
  page__ProfileViewed: async (n) => (m(n, {
2244
2245
  companyId: (I) => a(I),
2245
2246
  hublerId: (I) => a(I),
@@ -2315,7 +2316,7 @@ const $s = () => {
2315
2316
  companyId: (I) => a(I),
2316
2317
  hublerId: (I) => a(I)
2317
2318
  }) || u.warn('Invalid properties for analytics call "Profile Tab Selected".'), l.track("Profile Tab Selected", n.category ?? "Profile", n))
2318
- }), Zs = () => ({
2319
+ }), Xs = () => ({
2319
2320
  page__ApplicationListViewed: async (g) => (m(g, {
2320
2321
  companyId: (d) => a(d),
2321
2322
  institutionId: (d) => b(d, a),
@@ -2494,7 +2495,7 @@ const $s = () => {
2494
2495
  institutionId: (d) => b(d, a),
2495
2496
  recruitmentId: (d) => a(d)
2496
2497
  }) || u.warn('Invalid properties for analytics call "Update Recruitment Clicked".'), l.track("Update Recruitment Clicked", g.category ?? "Recruitment", g))
2497
- }), Xs = () => ({
2498
+ }), ec = () => ({
2498
2499
  page__EmailTemplateCreateViewed: async (f = {}) => l.page("Email Template Create Viewed", f.category ?? "Settings"),
2499
2500
  page__EmailTemplateEditViewed: async (f = {}) => l.page("Email Template Edit Viewed", f.category ?? "Settings"),
2500
2501
  page__EmailTemplateViewed: async (f = {}) => l.page("Email Template Viewed", f.category ?? "Settings"),
@@ -2504,17 +2505,17 @@ const $s = () => {
2504
2505
  }) || u.warn('Invalid properties for analytics call "Settings General Viewed".'), l.page("Settings General Viewed", f.category ?? "Settings", f)),
2505
2506
  page__SettingsNotificationViewed: async (f = {}) => l.page("Settings Notification Viewed", f.category ?? "Settings"),
2506
2507
  page__SettingsSecurityViewed: async (f = {}) => l.page("Settings Security Viewed", f.category ?? "Settings")
2507
- }), ec = () => ({
2508
+ }), tc = () => ({
2508
2509
  page__SourcingViewed: async (t) => (m(t, {
2509
2510
  companyId: (i) => a(i),
2510
2511
  institutionId: (i) => b(i, a)
2511
2512
  }) || u.warn('Invalid properties for analytics call "Sourcing Viewed".'), l.page("Sourcing Viewed", t.category ?? "Sourcing", t))
2512
- }), tc = () => ({
2513
+ }), nc = () => ({
2513
2514
  page__StatisticsViewed: async (t) => (m(t, {
2514
2515
  companyId: (i) => a(i),
2515
2516
  institutionId: (i) => b(i, a)
2516
2517
  }) || u.warn('Invalid properties for analytics call "Statistics Viewed".'), l.page("Statistics Viewed", t.category ?? "Statistics", t))
2517
- }), nc = () => ({
2518
+ }), ic = () => ({
2518
2519
  page__CareerSitePreviewViewed: async (h) => (m(h, {
2519
2520
  companyId: (E) => a(E)
2520
2521
  }) || u.warn('Invalid properties for analytics call "Career Site Preview Viewed".'), l.page("Career Site Preview Viewed", h.category ?? "Visual Builder", h)),
@@ -2711,7 +2712,7 @@ function O() {
2711
2712
  }, pe;
2712
2713
  }
2713
2714
  O.destroy = () => pe = null;
2714
- function Nr() {
2715
+ function Ur() {
2715
2716
  const e = "Hubler Application";
2716
2717
  function t(w) {
2717
2718
  if (!w) throw new Error(`Missing arguments for domain "${e}"`);
@@ -2756,7 +2757,7 @@ function Nr() {
2756
2757
  applicationFormFailed: p
2757
2758
  };
2758
2759
  }
2759
- function Ur() {
2760
+ function xr() {
2760
2761
  const e = "Profile";
2761
2762
  function t(n, I) {
2762
2763
  if (!n) throw new Error(`Missing arguments for domain "${e}"`);
@@ -2829,7 +2830,7 @@ function Ur() {
2829
2830
  profileEmailSent: s
2830
2831
  };
2831
2832
  }
2832
- function xr() {
2833
+ function jr() {
2833
2834
  const e = "Recruitment";
2834
2835
  function t(r) {
2835
2836
  if (!r) throw new Error(`Missing arguments for domain "${e}"`);
@@ -2920,7 +2921,7 @@ function Fr() {
2920
2921
  async function L(k) {
2921
2922
  return O().track(k.name, e, t(k.properties, !0));
2922
2923
  }
2923
- async function F(k) {
2924
+ async function j(k) {
2924
2925
  return O().track(k.name, e, t(k.properties, !0));
2925
2926
  }
2926
2927
  async function W(k) {
@@ -2976,7 +2977,7 @@ function Fr() {
2976
2977
  setupImageUploadFailed: $,
2977
2978
  fastCopyLinkClicked: M,
2978
2979
  setupBenefitCustomDeleted: L,
2979
- setupBenefitCustomEdited: F,
2980
+ setupBenefitCustomEdited: j,
2980
2981
  setupContactDeleted: W,
2981
2982
  setupContactEdited: fe,
2982
2983
  setupContactNewClicked: U,
@@ -2991,12 +2992,12 @@ function Fr() {
2991
2992
  }
2992
2993
  const mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2993
2994
  __proto__: null,
2994
- useAnalyticsHublerApplication: Nr,
2995
- useAnalyticsProfile: Ur,
2996
- useAnalyticsRecruitment: xr,
2995
+ useAnalyticsHublerApplication: Ur,
2996
+ useAnalyticsProfile: xr,
2997
+ useAnalyticsRecruitment: jr,
2997
2998
  useAnalyticsVisualBuilder: Fr
2998
2999
  }, Symbol.toStringTag, { value: "Module" }));
2999
- function ic() {
3000
+ function ac() {
3000
3001
  function e(i) {
3001
3002
  return O().identify(i.id, {
3002
3003
  email: i.email,
@@ -3019,13 +3020,13 @@ function ic() {
3019
3020
  };
3020
3021
  }
3021
3022
  let Ae = null;
3022
- const jr = async (e, t) => {
3023
+ const Hr = async (e, t) => {
3023
3024
  try {
3024
3025
  return await Oe(), u.info("[identify]", [e, t]), window.analytics.identify(e, t);
3025
3026
  } catch {
3026
3027
  u.error("[identify]", [e, t]);
3027
3028
  }
3028
- }, Hr = async (e, t, i) => {
3029
+ }, Gr = async (e, t, i) => {
3029
3030
  if (e) {
3030
3031
  typeof i != "object" && (i = {});
3031
3032
  try {
@@ -3038,7 +3039,7 @@ const jr = async (e, t) => {
3038
3039
  u.error("[page]", [e, t, i]);
3039
3040
  }
3040
3041
  }
3041
- }, Gr = async (e, t, i) => {
3042
+ }, Jr = async (e, t, i) => {
3042
3043
  if (e) {
3043
3044
  typeof i != "object" && (i = {});
3044
3045
  try {
@@ -3054,7 +3055,7 @@ const jr = async (e, t) => {
3054
3055
  }, Qe = () => {
3055
3056
  const e = H.getEnvironment();
3056
3057
  return e === "prod" || e === "production" ? "pPROC7dPoJ7XdxHrwsTQNXCGX79MJjhp" : e === "staging" ? "823rqOTwVk1ZCWVyBAdLInZ77TcFF0CF" : "TMZX6evFnu87JrBHV5qLwHsld5C6hilZ";
3057
- }, Ft = () => {
3058
+ }, jt = () => {
3058
3059
  const e = window.analytics = window.analytics || [];
3059
3060
  if (!e.initialize && e.invoked)
3060
3061
  u.error("Segment snippet included twice.");
@@ -3083,37 +3084,37 @@ const jr = async (e, t) => {
3083
3084
  }), window.addEventListener("analytics-error", () => {
3084
3085
  u.error("Analytics script failed to load. Consider disabling your AdBlocker."), t();
3085
3086
  }), u.info("Loading Analytics script."), window.analytics) return e();
3086
- Ft();
3087
+ jt();
3087
3088
  })), Ae), l = {
3088
3089
  key: Qe,
3089
- appendScript: Ft,
3090
+ appendScript: jt,
3090
3091
  ready: Oe,
3091
- identify: jr,
3092
- page: Hr,
3093
- track: Gr
3094
- }, Jr = "AIzaSyBd9aaBeos2tzRIKO6VOMdL0iVT_F3CysU";
3095
- let jt = !1;
3092
+ identify: Hr,
3093
+ page: Gr,
3094
+ track: Jr
3095
+ }, zr = "AIzaSyBd9aaBeos2tzRIKO6VOMdL0iVT_F3CysU";
3096
+ let Ft = !1;
3096
3097
  const Ht = () => new Promise((e) => {
3097
- ce() || jt || window.google && window.google.maps ? e() : (window.addEventListener("gmap-ready", () => e()), qr());
3098
- }), zr = (e, t) => Ht().then(() => {
3099
- ce() || Wr(e, t);
3100
- }), Wr = (e, t) => {
3098
+ ce() || Ft || window.google && window.google.maps ? e() : (window.addEventListener("gmap-ready", () => e()), Qr());
3099
+ }), Wr = (e, t) => Ht().then(() => {
3100
+ ce() || qr(e, t);
3101
+ }), qr = (e, t) => {
3101
3102
  const i = new window.google.maps.places.Autocomplete(e, { componentRestrictions: { country: ["fr", "re", "yt", "gp", "mq"] } });
3102
3103
  window.google.maps.event.addListener(i, "place_changed", () => {
3103
3104
  const r = i.getPlace();
3104
3105
  r.formatted_address && t && t(r.formatted_address, r);
3105
3106
  });
3106
- }, qr = () => {
3107
+ }, Qr = () => {
3107
3108
  window.onGmapScriptReady = () => {
3108
3109
  };
3109
3110
  const e = document.createElement("script");
3110
- e.src = "https://maps.googleapis.com/maps/api/js?key=" + Jr + "&libraries=places&callback=onGmapScriptReady", e.async = !0, e.defer = !0, e.onload = () => window.dispatchEvent(new Event("gmap-ready")), document.body.appendChild(e), jt = !0;
3111
- }, ac = {
3111
+ e.src = "https://maps.googleapis.com/maps/api/js?key=" + zr + "&libraries=places&callback=onGmapScriptReady", e.async = !0, e.defer = !0, e.onload = () => window.dispatchEvent(new Event("gmap-ready")), document.body.appendChild(e), Ft = !0;
3112
+ }, rc = {
3112
3113
  scriptReady: Ht,
3113
- autocompleteInput: zr
3114
- }, Qr = "952da2cb-81ea-11ea-ad85-06f7e2c08348", Kr = (e = 0) => {
3114
+ autocompleteInput: Wr
3115
+ }, Kr = "952da2cb-81ea-11ea-ad85-06f7e2c08348", Yr = (e = 0) => {
3115
3116
  setTimeout(() => {
3116
- window.STONLY_WID = Qr, (function(t, i, r, o, c, f, y, p, w, _) {
3117
+ window.STONLY_WID = Kr, (function(t, i, r, o, c, f, y, p, w, _) {
3117
3118
  t.StonlyWidget || ((w = t.StonlyWidget = function() {
3118
3119
  w._api ? w._api.apply(w, arguments) : w.queue.push(arguments);
3119
3120
  }).scriptPath = o, w.apiPath = c, w.sPath = f, w.queue = [], (p = i.createElement(r)).async = !0, (_ = new XMLHttpRequest()).open("GET", o + "version?v=" + Date.now(), !0), _.onreadystatechange = function() {
@@ -3121,16 +3122,16 @@ const Ht = () => new Promise((e) => {
3121
3122
  }, _.send());
3122
3123
  })(window, document, "script", "https://stonly.com/js/widget/v2/");
3123
3124
  }, e);
3124
- }, rc = {
3125
- load: Kr
3126
- }, Yr = (e = 0) => {
3125
+ }, oc = {
3126
+ load: Yr
3127
+ }, Zr = (e = 0) => {
3127
3128
  setTimeout(() => {
3128
3129
  const t = document.createElement("script");
3129
3130
  t.id = "ze-snippet", t.src = "https://static.zdassets.com/ekr/snippet.js?key=aa09b07e-b446-459a-9f0b-191509a6aba3", t.async = !0, document.head.appendChild(t);
3130
3131
  }, e);
3131
- }, oc = {
3132
- load: Yr
3133
- }, Zr = {
3132
+ }, sc = {
3133
+ load: Zr
3134
+ }, Xr = {
3134
3135
  common: {
3135
3136
  the: "le",
3136
3137
  from: "de"
@@ -3155,9 +3156,9 @@ const Ht = () => new Promise((e) => {
3155
3156
  minute: "minute | minutes",
3156
3157
  second: "seconde | secondes"
3157
3158
  }
3158
- }, Xr = {
3159
- fr: Zr
3160
- }, eo = (e, t) => {
3159
+ }, eo = {
3160
+ fr: Xr
3161
+ }, to = (e, t) => {
3161
3162
  if (!e) return null;
3162
3163
  const i = e.split(/(\{[{%]+[^{}]*[%}]+})/g).filter((r) => r !== "").map((r) => {
3163
3164
  const o = r.startsWith("{%") && r.endsWith("%}") ? "slot" : r.startsWith("{{") && r.endsWith("}}") ? "variable" : "text";
@@ -3178,14 +3179,14 @@ const Ht = () => new Promise((e) => {
3178
3179
  text: (e) => De("span", { class: "node node--text" }, e)
3179
3180
  };
3180
3181
  let Ke = null;
3181
- const to = () => Ke, sc = (e = {}) => {
3182
+ const no = () => Ke, cc = (e = {}) => {
3182
3183
  let t = e.locale || "fr";
3183
- const i = (p) => t = p, r = () => t, o = _t(Xr, e?.messages || {}), c = (p, w) => {
3184
+ const i = (p) => t = p, r = () => t, o = _t(eo, e?.messages || {}), c = (p, w) => {
3184
3185
  const _ = ne(o, `${t}.${p}`);
3185
- return _ ? w ? no(_, w) : _ : p;
3186
+ return _ ? w ? io(_, w) : _ : p;
3186
3187
  }, f = (p, w) => {
3187
3188
  const _ = ne(o, `${t}.${p}`);
3188
- return _ ? eo(_, w) : p;
3189
+ return _ ? to(_, w) : p;
3189
3190
  };
3190
3191
  return Ke = {
3191
3192
  t: c,
@@ -3196,9 +3197,9 @@ const to = () => Ke, sc = (e = {}) => {
3196
3197
  p.config.globalProperties.$t = c, p.config.globalProperties.$tNode = f;
3197
3198
  }
3198
3199
  }, Ke;
3199
- }, no = (e, t) => e ? e.replace(/{{ ?([a-zA-Z_.]+) ?}}/g, (i, r) => ne(t, r)) : null;
3200
- function cc(e) {
3201
- const { t } = to(), i = {
3200
+ }, io = (e, t) => e ? e.replace(/{{ ?([a-zA-Z_.]+) ?}}/g, (i, r) => ne(t, r)) : null;
3201
+ function dc(e) {
3202
+ const { t } = no(), i = {
3202
3203
  justNow: t("timeAgo.just-now"),
3203
3204
  past: (r) => r.match(/\d/) ? t("timeAgo.ago", [r]) : r,
3204
3205
  future: (r) => r.match(/\d/) ? t("timeAgo.in", [r]) : r,
@@ -3216,7 +3217,7 @@ function cc(e) {
3216
3217
  messages: i
3217
3218
  });
3218
3219
  }
3219
- function io() {
3220
+ function ao() {
3220
3221
  let e = null;
3221
3222
  function t() {
3222
3223
  return e;
@@ -3251,7 +3252,7 @@ function io() {
3251
3252
  hasAction: f
3252
3253
  };
3253
3254
  }
3254
- function ao() {
3255
+ function ro() {
3255
3256
  async function e({ domain: r, event: o, ...c }) {
3256
3257
  const f = "useAnalytics" + r.charAt(0).toUpperCase() + r.slice(1);
3257
3258
  if (!t(f)) throw new Error(`Domain ${r} is not defined`);
@@ -3271,9 +3272,9 @@ function ao() {
3271
3272
  }
3272
3273
  const yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3273
3274
  __proto__: null,
3274
- useAnalyticsQSController: ao
3275
+ useAnalyticsQSController: ro
3275
3276
  }, Symbol.toStringTag, { value: "Module" }));
3276
- function ro(e) {
3277
+ function oo(e) {
3277
3278
  if (!e.hasAction()) throw new Error("No action found in router");
3278
3279
  function t() {
3279
3280
  if (!i()) throw new Error(`Controller ${e.getController()} not found`);
@@ -3291,7 +3292,7 @@ function ro(e) {
3291
3292
  dispatch: t
3292
3293
  };
3293
3294
  }
3294
- function dc() {
3295
+ function lc() {
3295
3296
  let e = !1;
3296
3297
  function t(o, c, f) {
3297
3298
  r(), f();
@@ -3302,9 +3303,9 @@ function dc() {
3302
3303
  f();
3303
3304
  }
3304
3305
  function r() {
3305
- const o = io();
3306
+ const o = ao();
3306
3307
  if (!o.hasAction()) return;
3307
- ro(o).dispatch();
3308
+ oo(o).dispatch();
3308
3309
  }
3309
3310
  return {
3310
3311
  vueRouterBeforeEach: t,
@@ -3317,52 +3318,52 @@ const Gt = async (e, t, i) => {
3317
3318
  for (const c of e)
3318
3319
  t.query[c] !== void 0 && (delete o.query[c], r.push(c));
3319
3320
  if (r.length) return i.replace(o);
3320
- }, lc = async (e, t, i) => Gt([e], t, i), oo = async (e, t, i) => {
3321
+ }, uc = async (e, t, i) => Gt([e], t, i), so = async (e, t, i) => {
3321
3322
  const r = {};
3322
3323
  for (const o of e)
3323
3324
  t.query[o] !== void 0 && (r[o] = t.query[o]);
3324
3325
  return await Gt(Object.keys(r), t, i), r;
3325
- }, uc = async (e, t, i) => oo([e], t, i)[e], fc = () => ({ getAssetUrl: (t) => `${H.getBaseAssetsUrl()}${t}` }), Jt = (e) => typeof e != "string" ? "" : e.replace(/[^a-zA-Z0-9-]/g, ""), D = () => H.getMainAppHost(), so = () => `${D()}/login/candidate`, co = () => `${D()}/rh/establishments`, lo = (e) => `${D()}/rh/establishment/${e}`, uo = (e) => typeof e == "string" ? e : typeof e == "object" && e?.urls?.display ? e.urls.display : null, fo = () => `${D()}/rh/dashboard`, mo = () => `${D()}/candidate/profile`, po = (e) => `${D()}/candidate-invite/establishment/${e}`, yo = (e) => `${D()}/cvbank/${e}`, go = (e) => `${D()}/rh/establishment/${e}/sourcing`, ho = (e, t) => `${D()}/user-profile/establishment/${e}/user/${t}`, _o = (e) => `${D()}/recruitment-list/establishment/${e}`, wo = (e, t) => `${D()}/rh/establishment/${e}/recruitment/${t}`, Io = (e, t = null, i = !1) => {
3326
+ }, fc = async (e, t, i) => so([e], t, i)[e], mc = () => ({ getAssetUrl: (t) => `${H.getBaseAssetsUrl()}${t}` }), Jt = (e) => typeof e != "string" ? "" : e.replace(/[^a-zA-Z0-9-]/g, ""), D = () => H.getMainAppHost(), co = () => `${D()}/login/candidate`, lo = () => `${D()}/rh/establishments`, uo = (e) => `${D()}/rh/establishment/${e}`, fo = (e) => typeof e == "string" ? e : typeof e == "object" && e?.urls?.display ? e.urls.display : null, mo = () => `${D()}/rh/dashboard`, po = () => `${D()}/candidate/profile`, yo = (e) => `${D()}/candidate-invite/establishment/${e}`, go = (e) => `${D()}/cvbank/${e}`, ho = (e) => `${D()}/rh/establishment/${e}/sourcing`, _o = (e, t) => `${D()}/user-profile/establishment/${e}/user/${t}`, wo = (e) => `${D()}/recruitment-list/establishment/${e}`, Io = (e, t) => `${D()}/rh/establishment/${e}/recruitment/${t}`, bo = (e, t = null, i = !1) => {
3326
3327
  let r = `${D()}/recruitment/establishment/${e}`;
3327
3328
  return t && (r += `?recruitmentId=${t}`, i && (r += "&duplicate=1")), r;
3328
- }, bo = (e, t) => `${D()}/rh/establishment/${e}/recruitment/${t}/kanban`, ko = (e, t) => `${D()}/rh/establishment/${e}/recruitment/${t}/offer`, vo = (e) => `${D()}/rh/establishment/${e}/offer`, So = (e, t) => `${D()}/offer/establishment/${e}/recruitment/${t}`, Ro = (e, t, i, r = "") => `${D()}/offer/establishment/${e}/recruitment/${t}/${r}?offerId=${i}`, Co = (e, t, i) => `${D()}/offer-preview/establishment/${e}/recruitment/${t}/offer/${i}`, Vo = (e) => `${D()}/rh/establishment/${e}/career-configuration`, Ao = (e, t = null) => t ? `${D()}/career-website/${e}/${t}` : `${D()}/career-website/${e}`, Po = (e, t) => `${D()}/career-website-preview/${e}/${t}`, Eo = (e, t = null) => {
3329
+ }, ko = (e, t) => `${D()}/rh/establishment/${e}/recruitment/${t}/kanban`, vo = (e, t) => `${D()}/rh/establishment/${e}/recruitment/${t}/offer`, So = (e) => `${D()}/rh/establishment/${e}/offer`, Ro = (e, t) => `${D()}/offer/establishment/${e}/recruitment/${t}`, Co = (e, t, i, r = "") => `${D()}/offer/establishment/${e}/recruitment/${t}/${r}?offerId=${i}`, Vo = (e, t, i) => `${D()}/offer-preview/establishment/${e}/recruitment/${t}/offer/${i}`, Ao = (e) => `${D()}/rh/establishment/${e}/career-configuration`, Po = (e, t = null) => t ? `${D()}/career-website/${e}/${t}` : `${D()}/career-website/${e}`, Eo = (e, t) => `${D()}/career-website-preview/${e}/${t}`, Oo = (e, t = null) => {
3329
3330
  const i = D().replace("://", `://${Jt(e)}.`);
3330
3331
  return t ? `${i}?_version=${encodeURIComponent(t)}` : `${i}`;
3331
- }, Oo = (e, t, i = null) => {
3332
+ }, Lo = (e, t, i = null) => {
3332
3333
  const r = `${D().replace("://", `://${Jt(e)}.`)}/v2/offer/${encodeURIComponent(t)}`;
3333
3334
  return i ? `${r}?token=${encodeURIComponent(i)}` : `${r}`;
3334
- }, Lo = (e) => `${D()}/rh/establishment/${e}/stats`, Bo = (e) => `${D()}/rh/establishment/${e}/backoffice`, Do = () => `${D()}/rh/settings/general`, To = () => `${D()}/backoffice/establishment`;
3335
+ }, Bo = (e) => `${D()}/rh/establishment/${e}/stats`, Do = (e) => `${D()}/rh/establishment/${e}/backoffice`, To = () => `${D()}/rh/settings/general`, $o = () => `${D()}/backoffice/establishment`;
3335
3336
  function oe() {
3336
3337
  return {
3337
3338
  root: D,
3338
- candidateSignIn: so,
3339
- establishments: co,
3340
- establishment: lo,
3341
- img: uo,
3342
- dashboard: fo,
3343
- candidateProfile: mo,
3344
- candidateInvite: po,
3345
- cvtheque: yo,
3346
- sourcing: go,
3347
- userProfile: ho,
3348
- recruitments: _o,
3349
- recruitment: wo,
3350
- recruitmentForm: Io,
3351
- recruitmentKanban: bo,
3352
- recruitmentOffer: ko,
3353
- offers: vo,
3354
- offerCreate: So,
3355
- offerUpdate: Ro,
3356
- offerPreview: Co,
3357
- career: Vo,
3358
- careerConfig: Ao,
3359
- careerPreview: Po,
3360
- careerWebsite: Eo,
3361
- careerOffer: Oo,
3362
- statistics: Lo,
3363
- administration: Bo,
3364
- userSettings: Do,
3365
- backoffice: To
3339
+ candidateSignIn: co,
3340
+ establishments: lo,
3341
+ establishment: uo,
3342
+ img: fo,
3343
+ dashboard: mo,
3344
+ candidateProfile: po,
3345
+ candidateInvite: yo,
3346
+ cvtheque: go,
3347
+ sourcing: ho,
3348
+ userProfile: _o,
3349
+ recruitments: wo,
3350
+ recruitment: Io,
3351
+ recruitmentForm: bo,
3352
+ recruitmentKanban: ko,
3353
+ recruitmentOffer: vo,
3354
+ offers: So,
3355
+ offerCreate: Ro,
3356
+ offerUpdate: Co,
3357
+ offerPreview: Vo,
3358
+ career: Ao,
3359
+ careerConfig: Po,
3360
+ careerPreview: Eo,
3361
+ careerWebsite: Oo,
3362
+ careerOffer: Lo,
3363
+ statistics: Bo,
3364
+ administration: Do,
3365
+ userSettings: To,
3366
+ backoffice: $o
3366
3367
  };
3367
3368
  }
3368
3369
  const gt = /* @__PURE__ */ new Set();
@@ -3384,7 +3385,7 @@ const xe = (e) => {
3384
3385
  if (i)
3385
3386
  for (const r of i) he.add(r.substr(1));
3386
3387
  }
3387
- }, mc = (e = {}) => {
3388
+ }, pc = (e = {}) => {
3388
3389
  if (he) return he;
3389
3390
  he = /* @__PURE__ */ new Set(), Ye = { ...Ye, ...e }, zt(document.styleSheets), new MutationObserver((i) => {
3390
3391
  for (const r of i)
@@ -3401,132 +3402,132 @@ const xe = (e) => {
3401
3402
  childList: !0,
3402
3403
  subtree: !0
3403
3404
  });
3404
- }, pc = "0.2.190";
3405
+ }, yc = "0.2.192";
3405
3406
  export {
3406
3407
  l as Analytics,
3407
3408
  se as BaseLogger,
3408
- ac as Gmap,
3409
+ rc as Gmap,
3409
3410
  H as SDKConfig,
3410
3411
  u as SDKLogger,
3411
- rc as Stonly,
3412
- pc as VERSION,
3413
- oc as Zendesk,
3412
+ oc as Stonly,
3413
+ yc as VERSION,
3414
+ sc as Zendesk,
3414
3415
  ct as _clone,
3415
3416
  dt as _cloneDeep,
3416
3417
  ne as _get,
3417
- Ko as _map,
3418
+ Yo as _map,
3418
3419
  _t as _merge,
3419
3420
  wt as _pathList,
3420
3421
  _e as _set,
3421
3422
  fn as _setMany,
3422
- Yo as _toArr,
3423
- Zo as _uniqueArray,
3424
- Xo as _uniqueArrayOfObject,
3425
- Us as analyticsAuthentication,
3426
- js as analyticsCVBank,
3427
- xs as analyticsCareerPrivate,
3423
+ Zo as _toArr,
3424
+ Xo as _uniqueArray,
3425
+ es as _uniqueArrayOfObject,
3426
+ xs as analyticsAuthentication,
3427
+ Hs as analyticsCVBank,
3428
+ js as analyticsCareerPrivate,
3428
3429
  Fs as analyticsCareerPublic,
3429
- Hs as analyticsHublerApplication,
3430
- Gs as analyticsHublerAuthentication,
3431
- Js as analyticsHublerCalendar,
3432
- zs as analyticsHublerDocument,
3433
- Ws as analyticsHublerResume,
3434
- qs as analyticsHublerSettings,
3435
- Qs as analyticsJobOffer,
3436
- Ks as analyticsMessaging,
3437
- Ys as analyticsProfile,
3438
- Zs as analyticsRecruitment,
3439
- Xs as analyticsSettings,
3440
- ec as analyticsSourcing,
3441
- tc as analyticsStatistics,
3442
- nc as analyticsVisualBuilder,
3443
- Fe as buildObjectValidation,
3444
- uc as consumeQueryParam,
3445
- oo as consumeQueryParams,
3446
- sc as createI18n,
3430
+ Gs as analyticsHublerApplication,
3431
+ Js as analyticsHublerAuthentication,
3432
+ zs as analyticsHublerCalendar,
3433
+ Ws as analyticsHublerDocument,
3434
+ qs as analyticsHublerResume,
3435
+ Qs as analyticsHublerSettings,
3436
+ Ks as analyticsJobOffer,
3437
+ Ys as analyticsMessaging,
3438
+ Zs as analyticsProfile,
3439
+ Xs as analyticsRecruitment,
3440
+ ec as analyticsSettings,
3441
+ tc as analyticsSourcing,
3442
+ nc as analyticsStatistics,
3443
+ ic as analyticsVisualBuilder,
3444
+ je as buildObjectValidation,
3445
+ fc as consumeQueryParam,
3446
+ so as consumeQueryParams,
3447
+ cc as createI18n,
3447
3448
  It as ensureScheme,
3448
- qo as hasOrIsInClass,
3449
- Qo as inBrowser,
3449
+ Qo as hasOrIsInClass,
3450
+ Ko as inBrowser,
3450
3451
  ce as inNode,
3451
3452
  ue as isArray,
3452
3453
  b as isArrayOf,
3453
3454
  Fo as isBoolean,
3454
- jo as isDate,
3455
- zo as isFalsy,
3456
- Ho as isFunction,
3457
- Uo as isMobile,
3458
- Go as isNotNullOrUndefined,
3455
+ Ho as isDate,
3456
+ Wo as isFalsy,
3457
+ Go as isFunction,
3458
+ xo as isMobile,
3459
+ Jo as isNotNullOrUndefined,
3459
3460
  dn as isNull,
3460
3461
  un as isNullOrUndefined,
3461
3462
  G as isNumber,
3462
3463
  Z as isObject,
3463
- Wo as isObjectOf,
3464
+ qo as isObjectOf,
3464
3465
  m as isObjectValid,
3465
3466
  ht as isPrimitiveObject,
3466
3467
  a as isString,
3467
- Jo as isTruthy,
3468
+ zo as isTruthy,
3468
3469
  ln as isUndefined,
3469
- lc as removeQueryParam,
3470
+ uc as removeQueryParam,
3470
3471
  Gt as removeQueryParams,
3471
- eo as renderNode,
3472
- xo as sanitizeObject,
3473
- es as secureScheme,
3472
+ to as renderNode,
3473
+ jo as sanitizeObject,
3474
+ ts as secureScheme,
3474
3475
  cn as transpileAsserts,
3475
- ts as useActivityRepository,
3476
- Nr as useAnalyticsHublerApplication,
3477
- ic as useAnalyticsIdentify,
3478
- Ur as useAnalyticsProfile,
3479
- xr as useAnalyticsRecruitment,
3476
+ ns as useActivityRepository,
3477
+ Ur as useAnalyticsHublerApplication,
3478
+ ac as useAnalyticsIdentify,
3479
+ xr as useAnalyticsProfile,
3480
+ jr as useAnalyticsRecruitment,
3480
3481
  Fr as useAnalyticsVisualBuilder,
3481
- fc as useAssetUrls,
3482
+ mc as useAssetUrls,
3482
3483
  qn as useAuthRepository,
3483
- dr as useAuthentication,
3484
- $s as useAuthorization,
3485
- ns as useCandidateBankRepository,
3486
- is as useCandidateNoteRepository,
3487
- as as useCandidateRepository,
3488
- rs as useContractTypeRepository,
3484
+ lr as useAuthentication,
3485
+ Ms as useAuthorization,
3486
+ is as useCandidateBankRepository,
3487
+ as as useCandidateNoteRepository,
3488
+ rs as useCandidateRepository,
3489
+ os as useContractTypeRepository,
3489
3490
  yn as useCookieStorage,
3490
- os as useCvbankRepository,
3491
- ss as useCvthequeRepository,
3492
- cs as useDiplomaRepository,
3493
- ds as useDocumentRepository,
3491
+ ss as useCvbankRepository,
3492
+ cs as useCvthequeRepository,
3493
+ ds as useDiplomaRepository,
3494
+ ls as useDocumentRepository,
3494
3495
  oe as useDomainUrls,
3495
- ls as useEmailHistoryRepository,
3496
- us as useEmailRepository,
3497
- fs as useEmailTemplateRepository,
3498
- ms as useEstablishmentCareerRepository,
3499
- Ns as useEstablishmentContext,
3496
+ us as useEmailHistoryRepository,
3497
+ fs as useEmailRepository,
3498
+ ms as useEmailTemplateRepository,
3499
+ ps as useEstablishmentCareerRepository,
3500
+ Us as useEstablishmentContext,
3500
3501
  Vt as useEstablishmentRepository,
3501
- ps as useFeatureFlagRepository,
3502
- ys as useFunctionalUnitRepository,
3503
- to as useI18n,
3504
- gs as useJobRepository,
3505
- hs as useJobStatusRepository,
3506
- _s as useKanbanTemplateRepository,
3507
- ws as useLabelRepository,
3508
- cc as useLocaleTimeAgo,
3502
+ ys as useFeatureFlagRepository,
3503
+ gs as useFunctionalUnitRepository,
3504
+ no as useI18n,
3505
+ hs as useJobRepository,
3506
+ _s as useJobStatusRepository,
3507
+ ws as useKanbanTemplateRepository,
3508
+ Is as useLabelRepository,
3509
+ dc as useLocaleTimeAgo,
3509
3510
  sn as useObjectValidation,
3510
- Is as useOfferRepository,
3511
- bs as usePoleRepository,
3511
+ bs as useOfferRepository,
3512
+ ks as usePoleRepository,
3512
3513
  S as usePrivateRequest,
3513
- dc as useQSAction,
3514
- ks as useRankRepository,
3515
- vs as useRecruiterRepository,
3516
- Ss as useRecruitmentRepository,
3517
- Rs as useRegisterRepository,
3518
- Cs as useRegistrationRepository,
3514
+ lc as useQSAction,
3515
+ vs as useRankRepository,
3516
+ Ss as useRecruiterRepository,
3517
+ Rs as useRecruitmentRepository,
3518
+ Cs as useRegisterRepository,
3519
+ Vs as useRegistrationRepository,
3519
3520
  N as useRequest,
3520
- Vs as useRequestReasonRepository,
3521
- As as useSavedFiltersRepository,
3522
- Ms as useSelf,
3523
- Ps as useServiceRepository,
3524
- Es as useSkillRepository,
3525
- Os as useSpecialityRepository,
3526
- Ls as useTagRepository,
3527
- Bs as useTalentRepository,
3528
- mc as useUndefinedCssClasses,
3529
- Ds as useUserListRepository,
3530
- or as useUserRepository,
3531
- Ts as useValidationFlowRepository
3521
+ As as useRequestReasonRepository,
3522
+ Ps as useSavedFiltersRepository,
3523
+ Ns as useSelf,
3524
+ Es as useServiceRepository,
3525
+ Os as useSkillRepository,
3526
+ Ls as useSpecialityRepository,
3527
+ Bs as useTagRepository,
3528
+ Ds as useTalentRepository,
3529
+ pc as useUndefinedCssClasses,
3530
+ Ts as useUserListRepository,
3531
+ sr as useUserRepository,
3532
+ $s as useValidationFlowRepository
3532
3533
  };