@hublo/mstaff-client-sdk 0.2.87 → 0.2.89

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 +2 -2
  2. package/dist/core.js +331 -314
  3. package/package.json +1 -1
package/dist/core.js CHANGED
@@ -3,9 +3,9 @@ var jt = (e, t, i) => t in e ? Ft(e, t, { enumerable: !0, configurable: !0, writ
3
3
  var $ = (e, t, i) => (jt(e, typeof t != "symbol" ? t + "" : t, i), i);
4
4
  import { getCurrentScope as Ht, onScopeDispose as xt, ref as Jt, computed as ae, h as De } from "vue";
5
5
  import zt from "axios";
6
- import { defineStore as qt } from "pinia";
6
+ import { defineStore as Gt } from "pinia";
7
7
  import { useTimeAgo as Qt } from "@vueuse/core";
8
- function Gt(e) {
8
+ function qt(e) {
9
9
  return Ht() ? (xt(e), !0) : !1;
10
10
  }
11
11
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
@@ -210,7 +210,7 @@ function cn(e, { doNotParse: t = !1, autoUpdateDependencies: i = !1 } = {}, a =
210
210
  d
211
211
  ) && m.value++, d = g;
212
212
  };
213
- return a.addChangeListener(y), Gt(() => {
213
+ return a.addChangeListener(y), qt(() => {
214
214
  a.removeChangeListener(y);
215
215
  }), {
216
216
  /**
@@ -235,7 +235,7 @@ function sn(e, t, i) {
235
235
  return !0;
236
236
  return !1;
237
237
  }
238
- const Fr = () => {
238
+ const Qr = () => {
239
239
  let e = !1;
240
240
  return function(t) {
241
241
  (/(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);
@@ -245,10 +245,10 @@ const Fr = () => {
245
245
  return Xe(t).forEach((a) => i[a] = Be(e == null ? void 0 : e[a], t[a])), "$item" in t && (e == null || e.forEach((a, c) => i[c] = Be(a, t.$item))), i.$valid = (!t.$asserts || t.$asserts.every((a) => a(e))) && Xe(i).every((a) => i[a].$valid), i;
246
246
  }, ln = (e) => mn(
247
247
  Object.entries(e).reduce((t, [i, a]) => (t[`${i.replaceAll(".[]", ".$item")}${i.length ? "." : ""}$asserts`] = Array.isArray(a) ? a : [a], t), {})
248
- ), jr = (e, t, i) => (e = JSON.parse(JSON.stringify(e)), mt(e).forEach((c) => {
248
+ ), qr = (e, t, i) => (e = JSON.parse(JSON.stringify(e)), mt(e).forEach((c) => {
249
249
  const d = c.replace(/\.[0-9]+/g, ".[]");
250
250
  z(t, `${c}.$valid`) === !1 && i[d] !== void 0 && ee(e, c, i[d]);
251
- }), e), Xe = (e) => Object.keys(e).filter((t) => !t.startsWith("$")), Hr = (e) => typeof e == "boolean", U = (e) => typeof e == "number", n = (e) => typeof e == "string", me = (e) => Array.isArray(e), ye = (e) => typeof e == "object" && !me(e) && e !== null, xr = (e) => e instanceof Date, Jr = (e) => typeof e == "function", un = (e) => e === null, pn = (e) => e === void 0, fn = (e) => un(e) || pn(e), zr = (e) => !fn(e), qr = (e) => !!e, Qr = (e) => !e, V = (e, t) => me(e) && e.every((i) => t(i)), Gr = (e, t) => ye(e) && Object.values(e).every((i) => t(i)), p = (e, t) => dn(e, t).$valid, Kr = (e, t, i = !1) => {
251
+ }), e), Xe = (e) => Object.keys(e).filter((t) => !t.startsWith("$")), Kr = (e) => typeof e == "boolean", U = (e) => typeof e == "number", n = (e) => typeof e == "string", me = (e) => Array.isArray(e), ye = (e) => typeof e == "object" && !me(e) && e !== null, Wr = (e) => e instanceof Date, Zr = (e) => typeof e == "function", un = (e) => e === null, pn = (e) => e === void 0, fn = (e) => un(e) || pn(e), Xr = (e) => !fn(e), Yr = (e) => !!e, eo = (e) => !e, V = (e, t) => me(e) && e.every((i) => t(i)), to = (e, t) => ye(e) && Object.values(e).every((i) => t(i)), p = (e, t) => dn(e, t).$valid, no = (e, t, i = !1) => {
252
252
  me(t) || (t = [t]);
253
253
  let a = e;
254
254
  for (; a; ) {
@@ -257,7 +257,7 @@ const Fr = () => {
257
257
  a = a.parentElement;
258
258
  }
259
259
  return !1;
260
- }, Wr = () => typeof window < "u" && typeof window.document < "u", W = () => typeof process < "u" && process.versions != null && process.versions.node != null, z = (e, t, i) => {
260
+ }, io = () => typeof window < "u" && typeof window.document < "u", W = () => typeof process < "u" && process.versions != null && process.versions.node != null, z = (e, t, i) => {
261
261
  const a = typeof t == "string" ? t.split(".") : [t];
262
262
  let c = e;
263
263
  const d = (y) => y != null, m = (y) => typeof y == "object";
@@ -287,7 +287,7 @@ const Fr = () => {
287
287
  for (const [a, c] of i)
288
288
  ee(t, a, c);
289
289
  return t;
290
- }, Zr = (e, t = {}) => {
290
+ }, ao = (e, t = {}) => {
291
291
  const i = ye(e) ? Object.entries(e) : e;
292
292
  for (const [a, c] of i)
293
293
  ee(t, a, c(t, a));
@@ -312,7 +312,7 @@ const Fr = () => {
312
312
  t(c, m, d) && (a.push(m), (ye(d) || me(d)) && a.push(...mt(d, t, m)));
313
313
  }
314
314
  return a;
315
- }, Xr = (e) => e.startsWith("http:") ? e.replace("http:", "https:") : e, Yr = (e, t = !1) => e.startsWith("http:") || e.startsWith("https:") ? e : t ? `https://${e}` : `http://${e}`, yt = () => typeof window < "u" && (window != null && window.location) ? new URL(window.location).hostname : void 0, Ye = () => {
315
+ }, ro = (e) => e.startsWith("http:") ? e.replace("http:", "https:") : e, oo = (e, t = !1) => e.startsWith("http:") || e.startsWith("https:") ? e : t ? `https://${e}` : `http://${e}`, yt = () => typeof window < "u" && (window != null && window.location) ? new URL(window.location).hostname : void 0, Ye = () => {
316
316
  const e = yt();
317
317
  return !e || e === "localhost" ? e : `.${e}`;
318
318
  }, gn = () => ({ path: "/" }), wn = (e) => ({
@@ -381,7 +381,7 @@ const gt = Object.assign, bn = Object.prototype.hasOwnProperty, ge = (e, t) => b
381
381
  return (i) => t[i] || (t[i] = e(i));
382
382
  }, Vn = Sn(
383
383
  (e) => e.charAt(0).toUpperCase() + e.slice(1)
384
- ), qe = (e, t) => !Object.is(e, t);
384
+ ), Ge = (e, t) => !Object.is(e, t);
385
385
  function et(e, ...t) {
386
386
  console.warn(`[Vue warn] ${e}`, ...t);
387
387
  }
@@ -447,15 +447,15 @@ function x(e, t, i, a, c, d) {
447
447
  }
448
448
  const g = process.env.NODE_ENV !== "production" ? { target: e, type: t, key: i, newValue: a, oldValue: c, oldTarget: d } : void 0;
449
449
  if (y.length === 1)
450
- y[0] && (process.env.NODE_ENV !== "production" ? G(y[0], g) : G(y[0]));
450
+ y[0] && (process.env.NODE_ENV !== "production" ? q(y[0], g) : q(y[0]));
451
451
  else {
452
452
  const _ = [];
453
453
  for (const I of y)
454
454
  I && _.push(...I);
455
- process.env.NODE_ENV !== "production" ? G(te(_), g) : G(te(_));
455
+ process.env.NODE_ENV !== "production" ? q(te(_), g) : q(te(_));
456
456
  }
457
457
  }
458
- function G(e, t) {
458
+ function q(e, t) {
459
459
  const i = H(e) ? e : [...e];
460
460
  for (const a of i)
461
461
  a.computed && tt(a, t);
@@ -520,7 +520,7 @@ function Bn(e = !1) {
520
520
  if (!e && (!Pt(c) && !fe(c) && (m = D(m), c = D(c)), !H(i) && K(m) && !K(c)))
521
521
  return m.value = c, !0;
522
522
  const y = H(i) && ze(a) ? Number(a) < i.length : ge(i, a), g = Reflect.set(i, a, c, d);
523
- return i === D(d) && (y ? qe(c, m) && x(i, "set", a, c, m) : x(i, "add", a, c)), g;
523
+ return i === D(d) && (y ? Ge(c, m) && x(i, "set", a, c, m) : x(i, "add", a, c)), g;
524
524
  };
525
525
  }
526
526
  function Mn(e, t) {
@@ -554,12 +554,12 @@ const Fn = {
554
554
  e
555
555
  ), !0;
556
556
  }
557
- }, Ge = (e) => e, _e = (e) => Reflect.getPrototypeOf(e);
557
+ }, qe = (e) => e, _e = (e) => Reflect.getPrototypeOf(e);
558
558
  function oe(e, t, i = !1, a = !1) {
559
559
  e = e.__v_raw;
560
560
  const c = D(e), d = D(t);
561
561
  i || (t !== d && T(c, "get", t), T(c, "get", d));
562
- const { has: m } = _e(c), y = a ? Ge : i ? Ke : ie;
562
+ const { has: m } = _e(c), y = a ? qe : i ? Ke : ie;
563
563
  if (m.call(c, t))
564
564
  return y(e.get(t));
565
565
  if (m.call(c, d))
@@ -584,7 +584,7 @@ function at(e, t) {
584
584
  let d = a.call(i, e);
585
585
  d ? process.env.NODE_ENV !== "production" && vt(i, a, e) : (e = D(e), d = a.call(i, e));
586
586
  const m = c.call(i, e);
587
- return i.set(e, t), d ? qe(t, m) && x(i, "set", e, t, m) : x(i, "add", e, t), this;
587
+ return i.set(e, t), d ? Ge(t, m) && x(i, "set", e, t, m) : x(i, "add", e, t), this;
588
588
  }
589
589
  function rt(e) {
590
590
  const t = D(this), { has: i, get: a } = _e(t);
@@ -599,13 +599,13 @@ function ot() {
599
599
  }
600
600
  function de(e, t) {
601
601
  return function(a, c) {
602
- const d = this, m = d.__v_raw, y = D(m), g = t ? Ge : e ? Ke : ie;
602
+ const d = this, m = d.__v_raw, y = D(m), g = t ? qe : e ? Ke : ie;
603
603
  return !e && T(y, "iterate", J), m.forEach((_, I) => a.call(c, g(_), g(I), d));
604
604
  };
605
605
  }
606
606
  function le(e, t, i) {
607
607
  return function(...a) {
608
- const c = this.__v_raw, d = D(c), m = X(d), y = e === "entries" || e === Symbol.iterator && m, g = e === "keys" && m, _ = c[e](...a), I = i ? Ge : t ? Ke : ie;
608
+ const c = this.__v_raw, d = D(c), m = X(d), y = e === "entries" || e === Symbol.iterator && m, g = e === "keys" && m, _ = c[e](...a), I = i ? qe : t ? Ke : ie;
609
609
  return !t && T(
610
610
  d,
611
611
  "iterate",
@@ -725,10 +725,10 @@ const [
725
725
  xn,
726
726
  Jn,
727
727
  zn,
728
- qn
728
+ Gn
729
729
  ] = /* @__PURE__ */ Hn();
730
730
  function kt(e, t) {
731
- const i = t ? e ? qn : zn : e ? Jn : xn;
731
+ const i = t ? e ? Gn : zn : e ? Jn : xn;
732
732
  return (a, c, d) => c === "__v_isReactive" ? !e : c === "__v_isReadonly" ? e : c === "__v_raw" ? a : Reflect.get(
733
733
  ge(i, c) && c in a ? i : a,
734
734
  c,
@@ -737,7 +737,7 @@ function kt(e, t) {
737
737
  }
738
738
  const Qn = {
739
739
  get: /* @__PURE__ */ kt(!1, !1)
740
- }, Gn = {
740
+ }, qn = {
741
741
  get: /* @__PURE__ */ kt(!0, !1)
742
742
  };
743
743
  function vt(e, t, i) {
@@ -781,7 +781,7 @@ function Ct(e) {
781
781
  e,
782
782
  !0,
783
783
  jn,
784
- Gn,
784
+ qn,
785
785
  Vt
786
786
  );
787
787
  }
@@ -823,12 +823,12 @@ function Yn(e) {
823
823
  function ei(e, t) {
824
824
  e = D(e);
825
825
  const i = e.dep;
826
- i && (process.env.NODE_ENV !== "production" ? G(i, {
826
+ i && (process.env.NODE_ENV !== "production" ? q(i, {
827
827
  target: e,
828
828
  type: "set",
829
829
  key: "value",
830
830
  newValue: t
831
- }) : G(i));
831
+ }) : q(i));
832
832
  }
833
833
  function K(e) {
834
834
  return !!(e && e.__v_isRef === !0);
@@ -848,7 +848,7 @@ class ni {
848
848
  }
849
849
  set value(t) {
850
850
  const i = this.__v_isShallow || Pt(t) || fe(t);
851
- t = i ? t : D(t), qe(t, this._rawValue) && (this._rawValue = t, this._value = i ? t : ie(t), ei(this, t));
851
+ t = i ? t : D(t), Ge(t, this._rawValue) && (this._rawValue = t, this._value = i ? t : ie(t), ei(this, t));
852
852
  }
853
853
  }
854
854
  function ii(e) {
@@ -1023,7 +1023,7 @@ const oi = () => Ot, ci = (e) => {
1023
1023
  Dt = e;
1024
1024
  }, mi = (e) => {
1025
1025
  u.info("[Config] Base Assets Urls:", e), Nt = e;
1026
- }, yi = () => Nt, q = {
1026
+ }, yi = () => Nt, G = {
1027
1027
  getEnvironment: oi,
1028
1028
  getApiHost: si,
1029
1029
  getErrorHandler: li,
@@ -1036,7 +1036,7 @@ const oi = () => Ot, ci = (e) => {
1036
1036
  getBaseAssetsUrl: yi
1037
1037
  };
1038
1038
  function gi(e) {
1039
- const t = q.getApiHost().replace(/\/$/g, "");
1039
+ const t = G.getApiHost().replace(/\/$/g, "");
1040
1040
  let i = null, a = {}, c = {};
1041
1041
  e && y(e);
1042
1042
  function d() {
@@ -1254,7 +1254,7 @@ function ki(e) {
1254
1254
  }
1255
1255
  function vi(e, t = !1) {
1256
1256
  let i = !1, a = !1;
1257
- return e.response ? (i = !0, a = !0) : e.request && (i = !0), !t && q.getErrorHandler() && q.getErrorHandler()(e), {
1257
+ return e.response ? (i = !0, a = !0) : e.request && (i = !0), !t && G.getErrorHandler() && G.getErrorHandler()(e), {
1258
1258
  sent: i,
1259
1259
  responded: a,
1260
1260
  error: e
@@ -1341,7 +1341,7 @@ function L(e, t = "get", i = null) {
1341
1341
  ...R
1342
1342
  };
1343
1343
  }
1344
- function E(e, t = "get", i = null) {
1344
+ function O(e, t = "get", i = null) {
1345
1345
  const a = L(e, t, i), c = hn();
1346
1346
  c.isAuthenticated() && a.setAuthorization(c.getAuthToken());
1347
1347
  const d = a.send;
@@ -1351,9 +1351,9 @@ function E(e, t = "get", i = null) {
1351
1351
  return d();
1352
1352
  }, a;
1353
1353
  }
1354
- const Ai = (e, t) => E("/v2/activity/candidate/:candidateId/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }), eo = () => ({
1354
+ const Ai = (e, t) => O("/v2/activity/candidate/:candidateId/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }), co = () => ({
1355
1355
  listByCandidateAndEstablishment: Ai
1356
- }), Ci = (e, t, i) => E("/candidate/:candidateId/share/establishment/:establishmentId").setMethod("post").setRouteParams({ candidateId: e, establishmentId: t }).setPayload(i), Ri = (e, t) => E("/candidate/:candidateId/archive/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }), Pi = (e, t) => E("/candidate/:candidateId/archive/establishment/:establishmentId").setMethod("post").setRouteParams({ candidateId: e, establishmentId: t }), Oi = (e, t) => E("/candidate/:candidateId/archive/establishment/:establishmentId").setMethod("delete").setRouteParams({ candidateId: e, establishmentId: t }), Ei = (e, t) => E("/v2/candidates/lookup").setQueryParam("email", e).setQueryParam("establishment-id", t), Di = (e, t) => E("/v2/candidates").setMethod("post").setQueryParam("establishment-id", e).setPayload(t), Ni = (e, t, i) => E("/v2/candidates/:candidateId").setQueryParam("establishment-id", t).setRouteParams({ candidateId: e }).setMethod("put").setPayload(i), Li = (e) => E("/candidate/register/close/:registrationToken").setMethod("post").setRouteParams({ registrationToken: e }), Ti = (e) => E("/candidate/register/open").setMethod("post").setQueryParam("groups", "register:token").setPayload(e), Bi = (e, t) => E("/establishment/:establishmentId:/candidate/invitation").setRouteParams({ establishmentId: e }).setMethod("post").setPayload(t), to = () => ({
1356
+ }), Ci = (e, t, i) => O("/candidate/:candidateId/share/establishment/:establishmentId").setMethod("post").setRouteParams({ candidateId: e, establishmentId: t }).setPayload(i), Ri = (e, t) => O("/candidate/:candidateId/archive/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }), Pi = (e, t) => O("/candidate/:candidateId/archive/establishment/:establishmentId").setMethod("post").setRouteParams({ candidateId: e, establishmentId: t }), Oi = (e, t) => O("/candidate/:candidateId/archive/establishment/:establishmentId").setMethod("delete").setRouteParams({ candidateId: e, establishmentId: t }), Ei = (e, t) => O("/v2/candidates/lookup").setQueryParam("email", e).setQueryParam("establishment-id", t), Di = (e, t) => O("/v2/candidates").setMethod("post").setQueryParam("establishment-id", e).setPayload(t), Ni = (e, t, i) => O("/v2/candidates/:candidateId").setQueryParam("establishment-id", t).setRouteParams({ candidateId: e }).setMethod("put").setPayload(i), Li = (e) => O("/candidate/register/close/:registrationToken").setMethod("post").setRouteParams({ registrationToken: e }), Ti = (e) => O("/candidate/register/open").setMethod("post").setQueryParam("groups", "register:token").setPayload(e), Bi = (e, t) => O("/establishment/:establishmentId:/candidate/invitation").setRouteParams({ establishmentId: e }).setMethod("post").setPayload(t), so = () => ({
1357
1357
  share: Ci,
1358
1358
  isArchived: Ri,
1359
1359
  archive: Pi,
@@ -1364,102 +1364,109 @@ const Ai = (e, t) => E("/v2/activity/candidate/:candidateId/establishment/:estab
1364
1364
  closeIncompleteRegistration: Li,
1365
1365
  openNewRegistration: Ti,
1366
1366
  updateInvitation: Bi
1367
- }), Mi = (e, t) => E("/comment/establishment/:establishmentId/candidate/:userId").setRouteParams({ establishmentId: e, userId: t }), $i = (e, t, i) => E("/comment/establishment/:establishmentId/candidate/:userId").setRouteParams({ establishmentId: e, userId: t }).setMethod("post").setPayload(i), Ui = (e, t) => E("/comment/:commentId").setRouteParams({ commentId: e }).setMethod("put").setPayload(t), Fi = (e) => E("/comment/:commentId").setRouteParams({ commentId: e }).setMethod("delete"), no = () => ({
1367
+ }), Mi = (e, t) => O("/comment/establishment/:establishmentId/candidate/:userId").setRouteParams({ establishmentId: e, userId: t }), $i = (e, t, i) => O("/comment/establishment/:establishmentId/candidate/:userId").setRouteParams({ establishmentId: e, userId: t }).setMethod("post").setPayload(i), Ui = (e, t) => O("/comment/:commentId").setRouteParams({ commentId: e }).setMethod("put").setPayload(t), Fi = (e) => O("/comment/:commentId").setRouteParams({ commentId: e }).setMethod("delete"), lo = () => ({
1368
1368
  getForEstablishmentCandidate: Mi,
1369
1369
  postForEstablishmentCandidate: $i,
1370
1370
  update: Ui,
1371
1371
  remove: Fi
1372
- }), ji = () => L("contractType").isList().addGroup("Term:id").addGroup("Term:name"), Hi = (e, t = !0) => E("contractType/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), io = () => ({
1372
+ }), ji = () => L("contractType").isList().addGroup("Term:id").addGroup("Term:name"), Hi = (e, t = !0) => O("contractType/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), uo = () => ({
1373
1373
  list: ji,
1374
1374
  listByEstablishment: Hi
1375
- }), xi = (e) => E("/v2/talents").isList().setQueryParam("establishment-id", e), Ji = (e) => E("/v2/talent/mark-as-seen/:talentId").setRouteParams({ talentId: e }).setMethod("post"), ao = () => ({
1375
+ }), xi = (e) => O("/v2/talents").isList().setQueryParam("establishment-id", e), Ji = (e) => O("/v2/talent/mark-as-seen/:talentId").setRouteParams({ talentId: e }).setMethod("post"), po = () => ({
1376
1376
  list: xi,
1377
1377
  markAsSeen: Ji
1378
- }), zi = (e, t, i) => E("/cvtheque/establishment/:establishmentId/candidate/:candidateId/label/synchronize").setRouteParams({ establishmentId: e, candidateId: t }).setMethod("post").setPayload(i), ro = () => ({
1378
+ }), zi = (e, t, i) => O("/cvtheque/establishment/:establishmentId/candidate/:candidateId/label/synchronize").setRouteParams({ establishmentId: e, candidateId: t }).setMethod("post").setPayload(i), fo = () => ({
1379
1379
  syncCandidateLabels: zi
1380
- }), qi = () => L("diploma").isList().addGroup("Term:id").addGroup("Term:name"), oo = () => ({
1381
- list: qi
1382
- }), Qi = (e) => E("document/candidate/:candidateId").setRouteParams({ candidateId: e }).isList().disablePagination(), Gi = (e, t) => E("document/candidate/:candidateId/establishment/:establishmentId/recruiter").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), Ki = (e, t) => E("document/candidate/:candidateId/establishment/:establishmentId/candidate").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), Wi = (e) => E("document/recruiter").setMethod("post").setPayload(e), Zi = (e) => E("document/:documentId").setRouteParams({ documentId: e }).setMethod("delete"), co = () => ({
1380
+ }), Gi = () => L("diploma").isList().addGroup("Term:id").addGroup("Term:name"), mo = () => ({
1381
+ list: Gi
1382
+ }), Qi = (e) => O("document/candidate/:candidateId").setRouteParams({ candidateId: e }).isList().disablePagination(), qi = (e, t) => O("document/candidate/:candidateId/establishment/:establishmentId/recruiter").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), Ki = (e, t) => O("document/candidate/:candidateId/establishment/:establishmentId/candidate").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), Wi = (e) => O("document/recruiter").setMethod("post").setPayload(e), Zi = (e) => O("document/:documentId").setRouteParams({ documentId: e }).setMethod("delete"), yo = () => ({
1383
1383
  listByCandidate: Qi,
1384
- listByCandidateAndEstablishmentFromRecruiter: Gi,
1384
+ listByCandidateAndEstablishmentFromRecruiter: qi,
1385
1385
  listByCandidateAndEstablishmentFromCandidate: Ki,
1386
1386
  addFromRecruiter: Wi,
1387
1387
  remove: Zi
1388
- }), Xi = (e, t) => E("/v2/establishments/:establishmentId/email-history").setRouteParams({ establishmentId: t }).setQueryParam("receiverId", e).isList().disablePagination(), so = () => ({
1388
+ }), Xi = (e, t) => O("/v2/establishments/:establishmentId/email-history").setRouteParams({ establishmentId: t }).setQueryParam("receiverId", e).isList().disablePagination(), go = () => ({
1389
1389
  listByCandidateAndEstablishment: Xi
1390
- }), Yi = (e, t) => E("/email/candidate/:candidateId").setMethod("post").setRouteParams({ candidateId: e }).setPayload(t), ea = (e, t) => E("/v2/emails/send").setMethod("post").setPayload({ recipientIds: e, ...t }), lo = () => ({
1390
+ }), Yi = (e, t) => O("/email/candidate/:candidateId").setMethod("post").setRouteParams({ candidateId: e }).setPayload(t), ea = (e, t) => O("/v2/emails/send").setMethod("post").setPayload({ recipientIds: e, ...t }), wo = () => ({
1391
1391
  sendToCandidate: Yi,
1392
1392
  sendToRecipients: ea
1393
1393
  }), ta = (e, t = !0) => {
1394
- const i = E("/v2/establishments/:establishmentId/email-templates").setRouteParams({ establishmentId: e }).isList().disablePagination();
1394
+ const i = O("/v2/establishments/:establishmentId/email-templates").setRouteParams({ establishmentId: e }).isList().disablePagination();
1395
1395
  return t && i.setQueryParam("global", !0), i;
1396
- }, na = () => E("/v2/self/email-templates").isList().disablePagination(), uo = () => ({
1396
+ }, na = () => O("/v2/self/email-templates").isList().disablePagination(), _o = () => ({
1397
1397
  listByEstablishment: ta,
1398
1398
  listSelf: na
1399
- }), ia = (e, t) => E("establishment-career/:establishmentId/:versionId").setRouteParams({ establishmentId: e, versionId: t }), aa = (e, t = "published") => E("establishment-career/:establishmentId/state/:state").setRouteParams({ establishmentId: e, state: t }), ra = (e, t, i = null) => {
1400
- const a = i !== null ? E("establishment-career/:establishmentId/:versionId").setRouteParams({ establishmentId: e, versionId: i }) : E("establishment-career/:establishmentId").setRouteParams({ establishmentId: e });
1399
+ }), ia = (e, t) => O("establishment-career/:establishmentId/:versionId").setRouteParams({ establishmentId: e, versionId: t }), aa = (e, t = "published") => O("establishment-career/:establishmentId/state/:state").setRouteParams({ establishmentId: e, state: t }), ra = (e, t, i = null) => {
1400
+ const a = i !== null ? O("establishment-career/:establishmentId/:versionId").setRouteParams({ establishmentId: e, versionId: i }) : O("establishment-career/:establishmentId").setRouteParams({ establishmentId: e });
1401
1401
  return a.setMethod("post").setPayload(t), a;
1402
- }, oa = (e, t) => E("establishment-career/:establishmentId/logo-banner").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), ca = (e, t, i) => E("establishment-career/:establishmentId/publish/:versionId").setMethod("post").setRouteParams({ establishmentId: e, versionId: t }).setPayload(i), po = () => ({
1402
+ }, oa = (e, t) => O("establishment-career/:establishmentId/logo-banner").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), ca = (e, t, i) => O("establishment-career/:establishmentId/publish/:versionId").setMethod("post").setRouteParams({ establishmentId: e, versionId: t }).setPayload(i), ho = () => ({
1403
1403
  readById: ia,
1404
1404
  readByState: aa,
1405
1405
  upsert: ra,
1406
1406
  uploadLogoAndBanner: oa,
1407
1407
  publish: ca
1408
- }), sa = (e) => L("establishment/:establishmentId").setRouteParams({ establishmentId: e }), da = (e) => E("establishment/:establishmentId/authorizations").setRouteParams({ establishmentId: e }), la = () => ({
1408
+ }), sa = (e) => L("establishment/:establishmentId").setRouteParams({ establishmentId: e }), da = (e) => O("establishment/:establishmentId/authorizations").setRouteParams({ establishmentId: e }), la = () => ({
1409
1409
  read: sa,
1410
1410
  authorizations: da
1411
- }), ua = (e) => L("feature-flag/maintenance").setMethod("post").setPayload(e), pa = (e, t) => L("feature-flag/establishment").setMethod("post").setPayload({ establishment: e, flagName: t }), fo = () => ({
1411
+ }), ua = (e) => L("feature-flag/maintenance").setMethod("post").setPayload(e), pa = (e, t) => L("feature-flag/establishment").setMethod("post").setPayload({ establishment: e, flagName: t }), Io = () => ({
1412
1412
  maintenanceModeEnabled: ua,
1413
1413
  forEstablishment: pa
1414
- }), fa = () => L("job").isList().addGroup("Term:id").addGroup("Term:name"), ma = (e, t = !0) => E("job/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), mo = () => ({
1414
+ }), fa = () => L("job").isList().addGroup("Term:id").addGroup("Term:name"), ma = (e, t = !0) => O("job/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), bo = () => ({
1415
1415
  list: fa,
1416
1416
  listByEstablishment: ma
1417
- }), ya = (e) => E("/label/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), ga = (e, t) => E("/label/establishment/:establishmentId").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), wa = (e, t) => E("/label/:labelId").setMethod("put").setRouteParams({ labelId: e }).setPayload(t), _a = (e) => E("/label/:labelId").setMethod("delete").setRouteParams({ labelId: e }), ha = (e, t, i) => E("/label/establishment/:establishmentId/candidate/:candidateId/synchronize").setMethod("post").setPayload(i).setRouteParams({ establishmentId: e, candidateId: t }), yo = () => ({
1417
+ }), ya = (e) => O("/label/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), ga = (e, t) => O("/label/establishment/:establishmentId").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), wa = (e, t) => O("/label/:labelId").setMethod("put").setRouteParams({ labelId: e }).setPayload(t), _a = (e) => O("/label/:labelId").setMethod("delete").setRouteParams({ labelId: e }), ha = (e, t, i) => O("/label/establishment/:establishmentId/candidate/:candidateId/synchronize").setMethod("post").setPayload(i).setRouteParams({ establishmentId: e, candidateId: t }), ko = () => ({
1418
1418
  listByEstablishment: ya,
1419
1419
  addToEstablishment: ga,
1420
1420
  update: wa,
1421
1421
  remove: _a,
1422
1422
  syncForCandidate: ha
1423
- }), Ia = (e) => L("offer/:offerId").setRouteParams({ offerId: e }), go = () => ({
1424
- read: Ia
1425
- }), ba = (e, t = !1) => {
1426
- const i = E("/recruiter/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e });
1423
+ }), Ia = (e) => L("offer/:offerId").setRouteParams({ offerId: e }), ba = (e, t) => O("offer/:offerId").setMethod("PUT").setRouteParams({ offerId: e }).setPayload(t).setQueryParam("collection", "complete").addGroup("offer:form-save").addGroup("Offer:jobBoardErrors"), ka = (e) => O("offer/:offerId/undraft").setMethod("PUT").setRouteParams({ offerId: e }).addGroup("offer:form-save").addGroup("Offer:jobBoardErrors"), va = (e, t) => O("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"), vo = () => ({
1424
+ read: Ia,
1425
+ save: ba,
1426
+ undraft: ka,
1427
+ create: va
1428
+ }), Sa = (e, t = !1) => {
1429
+ const i = O("/recruiter/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e });
1427
1430
  return t && i.setQueryParam("exclude-me", 1), i;
1428
- }, wo = () => ({
1429
- listByEstablishment: ba
1430
- }), ka = (e) => E("/recruitment/:recruitmentId").setRouteParams({ recruitmentId: e }), va = (e) => E("/recruitment/mine/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), Sa = (e, t) => E("/recruitment/mine/establishment/:establishmentId/has-not/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), Va = (e, t) => E("/recruitment/mine/establishment/:establishmentId/has/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), Aa = (e, t) => E("/recruitment/establishment/:establishmentId/has/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), Ca = (e, t) => E("/recruitment/:recruitmentId/candidate").setMethod("put").setRouteParams({ recruitmentId: e }).setPayload(t), Ra = (e, t) => E("/recruitment/:recruitmentId/candidate/:candidateId").setMethod("delete").setRouteParams({ recruitmentId: e, candidateId: t }), _o = () => ({
1431
- read: ka,
1432
- mineByEstablishment: va,
1433
- mineWithoutCandidate: Sa,
1434
- mineWithCandidate: Va,
1435
- withCandidate: Aa,
1436
- addCandidates: Ca,
1437
- removeCandidate: Ra
1438
- }), Pa = (e, t, i, a = null) => {
1431
+ }, So = () => ({
1432
+ listByEstablishment: Sa
1433
+ }), Va = (e) => O("/recruitment/:recruitmentId").setRouteParams({ recruitmentId: e }), Aa = (e) => O("/recruitment/mine/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), Ca = (e, t) => O("/recruitment/mine/establishment/:establishmentId/has-not/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), Ra = (e, t) => O("/recruitment/mine/establishment/:establishmentId/has/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), Pa = (e, t) => O("/recruitment/establishment/:establishmentId/has/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), Oa = (e, t) => O("/recruitment/:recruitmentId/candidate").setMethod("put").setRouteParams({ recruitmentId: e }).setPayload(t), Ea = (e, t) => O("/recruitment/:recruitmentId/candidate/:candidateId").setMethod("delete").setRouteParams({ recruitmentId: e, candidateId: t }), Vo = () => ({
1434
+ read: Va,
1435
+ mineByEstablishment: Aa,
1436
+ mineWithoutCandidate: Ca,
1437
+ mineWithCandidate: Ra,
1438
+ withCandidate: Pa,
1439
+ addCandidates: Oa,
1440
+ removeCandidate: Ea
1441
+ }), Da = (e, t, i, a = null) => {
1439
1442
  const c = L("candidate/register/open").setMethod("post"), d = { email: e };
1440
1443
  return t === "establishment" && (d.establishmentId = i), t === "offer" && (d.offerId = i), a && (d.referer = a), c.setPayload(d), c;
1441
- }, Oa = (e, t) => L("candidate/register/update/:token").setMethod("post").setRouteParams({ token: e }).setPayload(t), Ea = (e) => L("candidate/register/read/:token").setRouteParams({ token: e }), Da = (e) => L("candidate/register/close/:token").setMethod("post").setRouteParams({ token: e }), ho = () => ({
1442
- open: Pa,
1443
- update: Oa,
1444
- read: Ea,
1445
- close: Da
1446
- }), Na = (e, t) => E("/v2/registrations/lookup").setQueryParam("candidate-id", e).setQueryParam("establishment-id", t), Io = () => ({
1447
- lookupEstablishment: Na
1448
- }), La = () => L("speciality").isList().addGroup("Term:id").addGroup("Term:name"), Ta = (e, t = !0) => E("speciality/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), bo = () => ({
1449
- list: La,
1450
- listByEstablishment: Ta
1451
- }), Ba = (e) => E("/tag/public/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), ko = () => ({
1452
- listByEstablishment: Ba
1453
- }), Ma = (e, t) => E("/v2/talents/lookup").setQueryParam("candidate-id", e).setQueryParam("establishment-id", t), $a = (e) => E("/v2/talents/index").setMethod("post").setPayload(e), vo = () => ({
1454
- lookupTalent: Ma,
1455
- addCandidateToTalentPool: $a
1456
- }), Ua = (e) => L("user/email/isset/:email").setRouteParams({ email: e }), Fa = () => E("user/self").addGroup("user:self"), ja = (e) => E("/user/:uuid").setRouteParams({ uuid: e }), Ha = (e) => L("/user/:uuid").setRouteParams({ uuid: e }), xa = (e) => E("/user/:id/uuid").setRouteParams({ id: e }), Ja = () => ({
1457
- emailExists: Ua,
1458
- self: Fa,
1459
- byUuidPrivate: ja,
1460
- byUuid: Ha,
1461
- fetchUuid: xa
1462
- }), za = () => {
1444
+ }, Na = (e, t) => L("candidate/register/update/:token").setMethod("post").setRouteParams({ token: e }).setPayload(t), La = (e) => L("candidate/register/read/:token").setRouteParams({ token: e }), Ta = (e) => L("candidate/register/close/:token").setMethod("post").setRouteParams({ token: e }), Ao = () => ({
1445
+ open: Da,
1446
+ update: Na,
1447
+ read: La,
1448
+ close: Ta
1449
+ }), Ba = (e, t) => O("/v2/registrations/lookup").setQueryParam("candidate-id", e).setQueryParam("establishment-id", t), Co = () => ({
1450
+ lookupEstablishment: Ba
1451
+ }), Ma = () => L("speciality").isList().addGroup("Term:id").addGroup("Term:name"), $a = (e, t = !0) => O("speciality/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), Ro = () => ({
1452
+ list: Ma,
1453
+ listByEstablishment: $a
1454
+ }), Ua = (e) => O("/tag/public/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), Po = () => ({
1455
+ listByEstablishment: Ua
1456
+ }), Fa = (e, t) => O("/v2/talents/lookup").setQueryParam("candidate-id", e).setQueryParam("establishment-id", t), ja = (e) => O("/v2/talents/index").setMethod("post").setPayload(e), Oo = () => ({
1457
+ lookupTalent: Fa,
1458
+ addCandidateToTalentPool: ja
1459
+ }), Ha = (e) => L("user/email/isset/:email").setRouteParams({ email: e }), xa = () => O("user/self").addGroup("user:self"), Ja = (e) => O("/user/:uuid").setRouteParams({ uuid: e }), za = (e) => L("/user/:uuid").setRouteParams({ uuid: e }), Ga = (e) => O("/user/:id/uuid").setRouteParams({ id: e }), Qa = () => ({
1460
+ emailExists: Ha,
1461
+ self: xa,
1462
+ byUuidPrivate: Ja,
1463
+ byUuid: za,
1464
+ fetchUuid: Ga
1465
+ }), qa = (e) => O("jobStatus/establishment/:establishmentId/mine").isList().addGroup("term:formTermSelect").setRouteParams({ establishmentId: e }), Eo = () => ({
1466
+ listByEstablishment: qa
1467
+ }), Ka = () => L("skill").isList().addGroup("term:formTermSelect"), Do = () => ({
1468
+ list: Ka
1469
+ }), Wa = () => {
1463
1470
  const e = ct(void 0), t = ct({}), i = ae(() => e.value.roles ?? []), a = ae(() => i.value.includes("ROLE_RH")), c = ae(() => i.value.includes("ROLE_CANDIDATE")), d = ae(() => i.value.includes("ROLE_ADMIN"));
1464
1471
  return {
1465
1472
  user: e,
@@ -1470,14 +1477,14 @@ const Ai = (e, t) => E("/v2/activity/candidate/:candidateId/establishment/:estab
1470
1477
  isAdmin: d,
1471
1478
  fetchSelf: async (g = !1) => {
1472
1479
  if (!(e.value !== void 0 && !g))
1473
- return Ja().self().send().then((_) => e.value = _.getData());
1480
+ return Qa().self().send().then((_) => e.value = _.getData());
1474
1481
  },
1475
1482
  fetchPermission: async (g, _ = !1) => {
1476
1483
  if (!(t.value[g] && !_))
1477
1484
  return la().authorizations(g).send().then((I) => t.value[g] = I.getData());
1478
1485
  }
1479
1486
  };
1480
- }, So = qt("authorization", za), Vo = () => ({
1487
+ }, No = Gt("authorization", Wa), Lo = () => ({
1481
1488
  page__DocumentListViewed: async (c) => (p(c, {
1482
1489
  category: (d) => n(d)
1483
1490
  }) || u.warn('Invalid properties for analytics call "Document List Viewed".'), f.page("Document List Viewed", "Hubler Document", c)),
@@ -1498,7 +1505,7 @@ const Ai = (e, t) => E("/v2/activity/candidate/:candidateId/establishment/:estab
1498
1505
  hublerId: (d) => n(d),
1499
1506
  hublerType: (d) => n(d)
1500
1507
  }) || u.warn('Invalid properties for analytics call "Document Downloaded".'), f.track("Document Downloaded", "Hubler Document", c))
1501
- }), Ao = () => ({
1508
+ }), To = () => ({
1502
1509
  page__EmailTemplateCreateViewed: async (m) => (p(m, {
1503
1510
  category: (y) => n(y)
1504
1511
  }) || u.warn('Invalid properties for analytics call "Email Template Create Viewed".'), f.page("Email Template Create Viewed", "Settings", m)),
@@ -1519,7 +1526,7 @@ const Ai = (e, t) => E("/v2/activity/candidate/:candidateId/establishment/:estab
1519
1526
  page__SettingsSecurityViewed: async (m) => (p(m, {
1520
1527
  category: (y) => n(y)
1521
1528
  }) || u.warn('Invalid properties for analytics call "Settings Security Viewed".'), f.page("Settings Security Viewed", "Settings", m))
1522
- }), Co = () => ({
1529
+ }), Bo = () => ({
1523
1530
  page__CareerSitePreviewViewed: async (v) => (p(v, {
1524
1531
  category: (l) => n(l),
1525
1532
  companyId: (l) => n(l),
@@ -1685,7 +1692,7 @@ const Ai = (e, t) => E("/v2/activity/candidate/:candidateId/establishment/:estab
1685
1692
  companyId: (l) => n(l),
1686
1693
  productId: (l) => n(l)
1687
1694
  }) || u.warn('Invalid properties for analytics call "Setup Presentation Tab Moved".'), f.track("Setup Presentation Tab Moved", "Visual Builder", v))
1688
- }), Ro = () => ({
1695
+ }), Mo = () => ({
1689
1696
  page__AddExperienceViewed: async (g) => (p(g, {
1690
1697
  category: (_) => n(_)
1691
1698
  }) || u.warn('Invalid properties for analytics call "Add Experience Viewed".'), f.page("Add Experience Viewed", "Hubler Resume", g)),
@@ -1710,7 +1717,7 @@ const Ai = (e, t) => E("/v2/activity/candidate/:candidateId/establishment/:estab
1710
1717
  track__ResumeSkillAdded: async (g) => (p(g, {
1711
1718
  category: (_) => n(_)
1712
1719
  }) || u.warn('Invalid properties for analytics call "Resume Skill Added".'), f.track("Resume Skill Added", "Hubler Resume", g))
1713
- }), Po = () => ({
1720
+ }), $o = () => ({
1714
1721
  campaign__EmailContinueApplication: async (s) => (p(s, {
1715
1722
  category: (o) => n(o)
1716
1723
  }) || u.warn('Invalid properties for analytics call "Email: Continue Application".'), f.campaign("Email: Continue Application", "Hubler Application", s)),
@@ -1775,14 +1782,14 @@ const Ai = (e, t) => E("/v2/activity/candidate/:candidateId/establishment/:estab
1775
1782
  jobOfferId: (o) => n(o),
1776
1783
  recruitmentId: (o) => n(o)
1777
1784
  }) || u.warn('Invalid properties for analytics call "Application Form Failed".'), f.track("Application Form Failed", "Hubler Application", s))
1778
- }), Oo = () => ({
1785
+ }), Uo = () => ({
1779
1786
  page__MessagingDiscussionViewed: async (i) => (p(i, {
1780
1787
  category: (a) => n(a)
1781
1788
  }) || u.warn('Invalid properties for analytics call "Messaging Discussion Viewed".'), f.page("Messaging Discussion Viewed", "Messaging", i)),
1782
1789
  page__MessengingViewed: async (i) => (p(i, {
1783
1790
  category: (a) => n(a)
1784
1791
  }) || u.warn('Invalid properties for analytics call "Messenging Viewed".'), f.page("Messenging Viewed", "Messaging", i))
1785
- }), Eo = () => ({
1792
+ }), Fo = () => ({
1786
1793
  page__ApplicationListViewed: async (h) => (p(h, {
1787
1794
  category: (r) => n(r),
1788
1795
  companyId: (r) => n(r),
@@ -1900,6 +1907,13 @@ const Ai = (e, t) => E("/v2/activity/candidate/:candidateId/establishment/:estab
1900
1907
  jobOfferId: (r) => n(r),
1901
1908
  recruitmentId: (r) => n(r)
1902
1909
  }) || u.warn('Invalid properties for analytics call "Offer - Job Description Viewed".'), f.page("Offer - Job Description Viewed", "Recruitment", h)),
1910
+ page__OfferPreviewViewed: async (h) => (p(h, {
1911
+ category: (r) => n(r),
1912
+ companyId: (r) => n(r),
1913
+ institutionId: (r) => V(r, n),
1914
+ jobOfferId: (r) => n(r),
1915
+ recruitmentId: (r) => n(r)
1916
+ }) || u.warn('Invalid properties for analytics call "Offer - Preview Viewed".'), f.page("Offer - Preview Viewed", "Recruitment", h)),
1903
1917
  page__OfferSalaryInformationViewed: async (h) => (p(h, {
1904
1918
  category: (r) => n(r),
1905
1919
  companyId: (r) => n(r),
@@ -1967,13 +1981,6 @@ const Ai = (e, t) => E("/v2/activity/candidate/:candidateId/establishment/:estab
1967
1981
  category: (r) => n(r),
1968
1982
  companyId: (r) => n(r)
1969
1983
  }) || u.warn('Invalid properties for analytics call "Job Offer Broadcasted".'), f.track("Job Offer Broadcasted", "Recruitment", h)),
1970
- track__JobOfferCreated: async (h) => (p(h, {
1971
- category: (r) => n(r),
1972
- companyId: (r) => n(r),
1973
- institutionId: (r) => V(r, n),
1974
- jobOfferId: (r) => n(r),
1975
- recruitmentId: (r) => n(r)
1976
- }) || u.warn('Invalid properties for analytics call "Job Offer Created".'), f.track("Job Offer Created", "Recruitment", h)),
1977
1984
  track__JobOfferUpdated: async (h) => (p(h, {
1978
1985
  category: (r) => n(r),
1979
1986
  companyId: (r) => n(r),
@@ -2003,6 +2010,13 @@ const Ai = (e, t) => E("/v2/activity/candidate/:candidateId/establishment/:estab
2003
2010
  jobOfferId: (r) => n(r),
2004
2011
  recruitmentId: (r) => n(r)
2005
2012
  }) || u.warn('Invalid properties for analytics call "Offer - Form Aborted".'), f.track("Offer - Form Aborted", "Recruitment", h)),
2013
+ track__OfferPublished: async (h) => (p(h, {
2014
+ category: (r) => n(r),
2015
+ companyId: (r) => n(r),
2016
+ institutionId: (r) => V(r, n),
2017
+ jobOfferId: (r) => n(r),
2018
+ recruitmentId: (r) => n(r)
2019
+ }) || u.warn('Invalid properties for analytics call "Offer - Published".'), f.track("Offer - Published", "Recruitment", h)),
2006
2020
  track__RecruitmendClosed: async (h) => (p(h, {
2007
2021
  category: (r) => n(r),
2008
2022
  companyId: (r) => n(r),
@@ -2039,7 +2053,7 @@ const Ai = (e, t) => E("/v2/activity/candidate/:candidateId/establishment/:estab
2039
2053
  processingTime: (r) => U(r),
2040
2054
  recruitmentId: (r) => n(r)
2041
2055
  }) || u.warn('Invalid properties for analytics call "Recruitment Validated".'), f.track("Recruitment Validated", "Recruitment", h))
2042
- }), Do = () => ({
2056
+ }), jo = () => ({
2043
2057
  page__SettingAdministrativeViewed: async (c) => (p(c, {
2044
2058
  category: (d) => n(d)
2045
2059
  }) || u.warn('Invalid properties for analytics call "Setting Administrative Viewed".'), f.page("Setting Administrative Viewed", "Hubler Settings", c)),
@@ -2052,14 +2066,14 @@ const Ai = (e, t) => E("/v2/activity/candidate/:candidateId/establishment/:estab
2052
2066
  page__SettingSecurityViewed: async (c) => (p(c, {
2053
2067
  category: (d) => n(d)
2054
2068
  }) || u.warn('Invalid properties for analytics call "Setting Security Viewed".'), f.page("Setting Security Viewed", "Hubler Settings", c))
2055
- }), No = () => ({
2069
+ }), Ho = () => ({
2056
2070
  page__CalendarViewed: async (t) => (p(t, {
2057
2071
  category: (i) => n(i),
2058
2072
  companyId: (i) => n(i),
2059
2073
  institutionId: (i) => V(i, n),
2060
2074
  recruitmentId: (i) => n(i)
2061
2075
  }) || u.warn('Invalid properties for analytics call "Calendar Viewed".'), f.page("Calendar Viewed", "Hubler Calendar", t))
2062
- }), Lo = () => ({
2076
+ }), xo = () => ({
2063
2077
  page__ProfileViewed: async (o) => (p(o, {
2064
2078
  category: (w) => n(w),
2065
2079
  companyId: (w) => n(w),
@@ -2152,13 +2166,13 @@ const Ai = (e, t) => E("/v2/activity/candidate/:candidateId/establishment/:estab
2152
2166
  hublerId: (w) => n(w),
2153
2167
  productId: (w) => n(w)
2154
2168
  }) || u.warn('Invalid properties for analytics call "Profile Tab Selected".'), f.track("Profile Tab Selected", "Profile", o))
2155
- }), To = () => ({
2169
+ }), Jo = () => ({
2156
2170
  page__AboutConfigurationViewed: async (t) => (p(t, {
2157
2171
  category: (i) => n(i),
2158
2172
  companyId: (i) => n(i),
2159
2173
  institutionId: (i) => V(i, n)
2160
2174
  }) || u.warn('Invalid properties for analytics call "About Configuration Viewed".'), f.page("About Configuration Viewed", "Career Private", t))
2161
- }), Bo = () => ({
2175
+ }), zo = () => ({
2162
2176
  page__AddCandidateDocumentViewed: async (k) => (p(k, {
2163
2177
  category: (s) => n(s),
2164
2178
  companyId: (s) => n(s),
@@ -2227,7 +2241,7 @@ const Ai = (e, t) => E("/v2/activity/candidate/:candidateId/establishment/:estab
2227
2241
  institutionId: (s) => V(s, n),
2228
2242
  selections: (s) => V(s, n)
2229
2243
  }) || u.warn('Invalid properties for analytics call "Document Upload Failed".'), f.track("Document Upload Failed", "CV Bank", k))
2230
- }), Mo = () => ({
2244
+ }), Go = () => ({
2231
2245
  page__InstitutionListViewed: async (P) => (p(P, {
2232
2246
  category: (S) => n(S),
2233
2247
  companyId: (S) => n(S),
@@ -2303,19 +2317,19 @@ const Ai = (e, t) => E("/v2/activity/candidate/:candidateId/establishment/:estab
2303
2317
  email: (S) => n(S),
2304
2318
  error: (S) => V(S, n)
2305
2319
  }) || u.warn('Invalid properties for analytics call "User Sign In Failed".'), f.track("User Sign In Failed", "Authentication", P))
2306
- }), $o = () => ({
2320
+ }), Qo = () => ({
2307
2321
  page__SourcingViewed: async (t) => (p(t, {
2308
2322
  category: (i) => n(i),
2309
2323
  companyId: (i) => n(i),
2310
2324
  institutionId: (i) => V(i, n)
2311
2325
  }) || u.warn('Invalid properties for analytics call "Sourcing Viewed".'), f.page("Sourcing Viewed", "Sourcing", t))
2312
- }), Uo = () => ({
2326
+ }), qo = () => ({
2313
2327
  page__StatisticsViewed: async (t) => (p(t, {
2314
2328
  category: (i) => n(i),
2315
2329
  companyId: (i) => n(i),
2316
2330
  institutionId: (i) => V(i, n)
2317
2331
  }) || u.warn('Invalid properties for analytics call "Statistics Viewed".'), f.page("Statistics Viewed", "Statistics", t))
2318
- }), Fo = () => ({
2332
+ }), Ko = () => ({
2319
2333
  page__AboutViewed: async (s) => (p(s, {
2320
2334
  category: (o) => n(o),
2321
2335
  companyId: (o) => n(o),
@@ -2418,10 +2432,10 @@ const Ai = (e, t) => E("/v2/activity/candidate/:candidateId/establishment/:estab
2418
2432
  }) || u.warn('Invalid properties for analytics call "Spontaneous Application Sent".'), f.track("Spontaneous Application Sent", "Career Public", s))
2419
2433
  });
2420
2434
  let Z = null;
2421
- function O() {
2435
+ function E() {
2422
2436
  if (Z)
2423
2437
  return Z;
2424
- const e = q.getEnvironment(), t = (() => e === "prod" || e === "production" ? "pPROC7dPoJ7XdxHrwsTQNXCGX79MJjhp" : e === "staging" ? "823rqOTwVk1ZCWVyBAdLInZ77TcFF0CF" : "TMZX6evFnu87JrBHV5qLwHsld5C6hilZ")(), i = !!t, a = e !== "prod" && e !== "production";
2438
+ const e = G.getEnvironment(), t = (() => e === "prod" || e === "production" ? "pPROC7dPoJ7XdxHrwsTQNXCGX79MJjhp" : e === "staging" ? "823rqOTwVk1ZCWVyBAdLInZ77TcFF0CF" : "TMZX6evFnu87JrBHV5qLwHsld5C6hilZ")(), i = !!t, a = e !== "prod" && e !== "production";
2425
2439
  let c = null;
2426
2440
  function d() {
2427
2441
  return i;
@@ -2513,8 +2527,8 @@ function O() {
2513
2527
  consoleMessage: C
2514
2528
  }, Z;
2515
2529
  }
2516
- O.destroy = () => Z = null;
2517
- function qa() {
2530
+ E.destroy = () => Z = null;
2531
+ function Za() {
2518
2532
  const e = "Hubler Application";
2519
2533
  function t(_) {
2520
2534
  if (!_)
@@ -2530,27 +2544,27 @@ function qa() {
2530
2544
  };
2531
2545
  }
2532
2546
  async function i(_) {
2533
- return O().page("Application Authentication Viewed", e, t(_));
2547
+ return E().page("Application Authentication Viewed", e, t(_));
2534
2548
  }
2535
2549
  async function a(_) {
2536
- return O().page("Application Magic Link Viewed", e, t(_));
2550
+ return E().page("Application Magic Link Viewed", e, t(_));
2537
2551
  }
2538
2552
  async function c(_) {
2539
- return O().page("Application Job Viewed", e, t(_));
2553
+ return E().page("Application Job Viewed", e, t(_));
2540
2554
  }
2541
2555
  async function d(_) {
2542
- return O().page("Application Information Viewed", e, t(_));
2556
+ return E().page("Application Information Viewed", e, t(_));
2543
2557
  }
2544
2558
  async function m(_) {
2545
- return O().page("Application Document Viewed", e, t(_));
2559
+ return E().page("Application Document Viewed", e, t(_));
2546
2560
  }
2547
2561
  async function y(_) {
2548
- return O().page("Application Success Viewed", e, t(_));
2562
+ return E().page("Application Success Viewed", e, t(_));
2549
2563
  }
2550
2564
  async function g(_) {
2551
2565
  if (!_.error)
2552
2566
  throw new Error(`Missing argument "error" for domain "${e}", event "Application Form Failed"`);
2553
- return O().track("Application Form Failed", e, { ...t(_), error: _.error });
2567
+ return E().track("Application Form Failed", e, { ...t(_), error: _.error });
2554
2568
  }
2555
2569
  return {
2556
2570
  applicationAuthenticationViewed: i,
@@ -2562,7 +2576,7 @@ function qa() {
2562
2576
  applicationFormFailed: g
2563
2577
  };
2564
2578
  }
2565
- function Qa() {
2579
+ function Xa() {
2566
2580
  const e = "Profile";
2567
2581
  function t(A, P) {
2568
2582
  var B;
@@ -2575,49 +2589,49 @@ function Qa() {
2575
2589
  return P && (S.productId = A.companyId ? A.companyId + "_2" : null), A.recruitmentId && (S.recruitmentId = A.recruitmentId.toString()), A.selections && (S.selections = A.selections), A.institutionId && (S.institutionId = A.institutionId.map(String)), S;
2576
2590
  }
2577
2591
  async function i(A) {
2578
- return O().track(A.name, e, t(A.properties), !0);
2592
+ return E().track(A.name, e, t(A.properties), !0);
2579
2593
  }
2580
2594
  async function a(A) {
2581
- return O().track(A.name, e, t(A.properties, !0));
2595
+ return E().track(A.name, e, t(A.properties, !0));
2582
2596
  }
2583
2597
  async function c(A) {
2584
- return O().track(A.name, e, t(A.properties, !0));
2598
+ return E().track(A.name, e, t(A.properties, !0));
2585
2599
  }
2586
2600
  async function d(A) {
2587
- return O().track(A.name, e, t(A.properties, !0));
2601
+ return E().track(A.name, e, t(A.properties, !0));
2588
2602
  }
2589
2603
  async function m(A) {
2590
- return O().track(A.name, e, t(A.properties, !0));
2604
+ return E().track(A.name, e, t(A.properties, !0));
2591
2605
  }
2592
2606
  async function y(A) {
2593
- return O().track(A.name, e, t(A.properties, !0));
2607
+ return E().track(A.name, e, t(A.properties, !0));
2594
2608
  }
2595
2609
  async function g(A) {
2596
- return O().track(A.name, e, t(A.properties, !0));
2610
+ return E().track(A.name, e, t(A.properties, !0));
2597
2611
  }
2598
2612
  async function _(A) {
2599
- return O().track(A.name, e, t(A.properties, !0));
2613
+ return E().track(A.name, e, t(A.properties, !0));
2600
2614
  }
2601
2615
  async function I(A) {
2602
- return O().track(A.name, e, t(A.properties, !0));
2616
+ return E().track(A.name, e, t(A.properties, !0));
2603
2617
  }
2604
2618
  async function C(A) {
2605
- return O().track(A.name, e, t(A.properties, !0));
2619
+ return E().track(A.name, e, t(A.properties, !0));
2606
2620
  }
2607
2621
  async function R(A) {
2608
- return O().track(A.name, e, t(A.properties, !0));
2622
+ return E().track(A.name, e, t(A.properties, !0));
2609
2623
  }
2610
2624
  async function k(A) {
2611
- return O().track(A.name, e, t(A.properties, !0));
2625
+ return E().track(A.name, e, t(A.properties, !0));
2612
2626
  }
2613
2627
  async function s(A) {
2614
- return O().track(A.name, e, t(A.properties, !0));
2628
+ return E().track(A.name, e, t(A.properties, !0));
2615
2629
  }
2616
2630
  async function o(A) {
2617
- return O().page(A.name, A.properties.category, t(A.properties, !1));
2631
+ return E().page(A.name, A.properties.category, t(A.properties, !1));
2618
2632
  }
2619
2633
  async function w(A) {
2620
- return O().track(A.name, e, t(A.properties, !1));
2634
+ return E().track(A.name, e, t(A.properties, !1));
2621
2635
  }
2622
2636
  return {
2623
2637
  profileDocumentDeleted: i,
@@ -2637,7 +2651,7 @@ function Qa() {
2637
2651
  profileEmailSent: w
2638
2652
  };
2639
2653
  }
2640
- function Ga() {
2654
+ function Ya() {
2641
2655
  const e = "Recruitment";
2642
2656
  function t(a) {
2643
2657
  if (!a)
@@ -2648,13 +2662,13 @@ function Ga() {
2648
2662
  return a.institutionId && (c.institutionId = [a.institutionId.toString()]), a.origin && (c.origin = a.origin.toString()), c;
2649
2663
  }
2650
2664
  async function i(a) {
2651
- return O().track(a.name, e, { ...t(a), recruitmentId: a.recruitmentId.toString(), count: parseInt(a.count) });
2665
+ return E().track(a.name, e, { ...t(a), recruitmentId: a.recruitmentId.toString(), count: parseInt(a.count) });
2652
2666
  }
2653
2667
  return {
2654
2668
  candidateAdded: i
2655
2669
  };
2656
2670
  }
2657
- function Ka() {
2671
+ function er() {
2658
2672
  const e = "Visual Builder";
2659
2673
  function t(b, We) {
2660
2674
  if (!b)
@@ -2665,103 +2679,103 @@ function Ka() {
2665
2679
  return We && (Q.productId = b.companyId ? b.companyId + "_2" : null), b.selections && (Q.selections = b.selections), b.error && (Q.error = b.error), b.institutionId && (Q.institutionId = [b.institutionId.toString()]), Q;
2666
2680
  }
2667
2681
  async function i(b) {
2668
- return O().page(b.name, e, t(b.properties, !0));
2682
+ return E().page(b.name, e, t(b.properties, !0));
2669
2683
  }
2670
2684
  async function a(b) {
2671
- return O().track(b.name, e, t(b.properties), !0);
2685
+ return E().track(b.name, e, t(b.properties), !0);
2672
2686
  }
2673
2687
  async function c(b) {
2674
- return O().track(b.name, e, t(b.properties, !0));
2688
+ return E().track(b.name, e, t(b.properties, !0));
2675
2689
  }
2676
2690
  async function d(b) {
2677
- return O().page(b.name, e, t(b.properties, !0));
2691
+ return E().page(b.name, e, t(b.properties, !0));
2678
2692
  }
2679
2693
  async function m(b) {
2680
- return O().page(b.name, e, t(b.properties, !0));
2694
+ return E().page(b.name, e, t(b.properties, !0));
2681
2695
  }
2682
2696
  async function y(b) {
2683
- return O().track(b.name, e, t(b.properties, !0));
2697
+ return E().track(b.name, e, t(b.properties, !0));
2684
2698
  }
2685
2699
  async function g(b) {
2686
- return O().page(b.name, e, t(b.properties, !0));
2700
+ return E().page(b.name, e, t(b.properties, !0));
2687
2701
  }
2688
2702
  async function _(b) {
2689
- return O().page(b.name, e, t(b.properties, !0));
2703
+ return E().page(b.name, e, t(b.properties, !0));
2690
2704
  }
2691
2705
  async function I(b) {
2692
- return O().page(b.name, e, t(b.properties, !0));
2706
+ return E().page(b.name, e, t(b.properties, !0));
2693
2707
  }
2694
2708
  async function C(b) {
2695
- return O().track(b.name, e, t(b.properties, !0));
2709
+ return E().track(b.name, e, t(b.properties, !0));
2696
2710
  }
2697
2711
  async function R(b) {
2698
- return O().page(b.name, e, t(b.properties, !0));
2712
+ return E().page(b.name, e, t(b.properties, !0));
2699
2713
  }
2700
2714
  async function k(b) {
2701
- return O().page(b.name, e, t(b.properties, !0));
2715
+ return E().page(b.name, e, t(b.properties, !0));
2702
2716
  }
2703
2717
  async function s(b) {
2704
- return O().track(b.name, e, t(b.properties, !0));
2718
+ return E().track(b.name, e, t(b.properties, !0));
2705
2719
  }
2706
2720
  async function o(b) {
2707
- return O().track(b.name, e, t(b.properties, !0));
2721
+ return E().track(b.name, e, t(b.properties, !0));
2708
2722
  }
2709
2723
  async function w(b) {
2710
- return O().page(b.name, e, t(b.properties, !0));
2724
+ return E().page(b.name, e, t(b.properties, !0));
2711
2725
  }
2712
2726
  async function A(b) {
2713
- return O().page(b.name, e, t(b.properties, !0));
2727
+ return E().page(b.name, e, t(b.properties, !0));
2714
2728
  }
2715
2729
  async function P(b) {
2716
- return O().page(b.name, e, t(b.properties, !0));
2730
+ return E().page(b.name, e, t(b.properties, !0));
2717
2731
  }
2718
2732
  async function S(b) {
2719
- return O().page(b.name, e, t(b.properties, !0));
2733
+ return E().page(b.name, e, t(b.properties, !0));
2720
2734
  }
2721
2735
  async function B(b) {
2722
- return O().page(b.name, e, t(b.properties, !1));
2736
+ return E().page(b.name, e, t(b.properties, !1));
2723
2737
  }
2724
2738
  async function Ie(b) {
2725
- return O().track(b.name, e, t(b.properties, !0));
2739
+ return E().track(b.name, e, t(b.properties, !0));
2726
2740
  }
2727
2741
  async function be(b) {
2728
- return O().track(b.name, e, t(b.properties, !0));
2742
+ return E().track(b.name, e, t(b.properties, !0));
2729
2743
  }
2730
2744
  async function ke(b) {
2731
- return O().track(b.name, e, t(b.properties, !0));
2745
+ return E().track(b.name, e, t(b.properties, !0));
2732
2746
  }
2733
2747
  async function ve(b) {
2734
- return O().track(b.name, e, t(b.properties, !0));
2748
+ return E().track(b.name, e, t(b.properties, !0));
2735
2749
  }
2736
2750
  async function Se(b) {
2737
- return O().track(b.name, e, t(b.properties, !0));
2751
+ return E().track(b.name, e, t(b.properties, !0));
2738
2752
  }
2739
2753
  async function Ve(b) {
2740
- return O().track(b.name, e, t(b.properties, !0));
2754
+ return E().track(b.name, e, t(b.properties, !0));
2741
2755
  }
2742
2756
  async function Ae(b) {
2743
- return O().track(b.name, e, t(b.properties, !0));
2757
+ return E().track(b.name, e, t(b.properties, !0));
2744
2758
  }
2745
2759
  async function Ce(b) {
2746
- return O().track(b.name, e, t(b.properties, !0));
2760
+ return E().track(b.name, e, t(b.properties, !0));
2747
2761
  }
2748
2762
  async function Re(b) {
2749
- return O().track(b.name, e, t(b.properties, !0));
2763
+ return E().track(b.name, e, t(b.properties, !0));
2750
2764
  }
2751
2765
  async function Pe(b) {
2752
- return O().track(b.name, e, t(b.properties, !0));
2766
+ return E().track(b.name, e, t(b.properties, !0));
2753
2767
  }
2754
2768
  async function Oe(b) {
2755
- return O().track(b.name, e, t(b.properties, !0));
2769
+ return E().track(b.name, e, t(b.properties, !0));
2756
2770
  }
2757
2771
  async function Ee(b) {
2758
- return O().track(b.name, e, t(b.properties, !0));
2772
+ return E().track(b.name, e, t(b.properties, !0));
2759
2773
  }
2760
2774
  async function v(b) {
2761
- return O().track(b.name, e, t(b.properties, !0));
2775
+ return E().track(b.name, e, t(b.properties, !0));
2762
2776
  }
2763
2777
  async function l(b) {
2764
- return O().page(b.name, e, t(b.properties, !1));
2778
+ return E().page(b.name, e, t(b.properties, !1));
2765
2779
  }
2766
2780
  return {
2767
2781
  careerSitePreviewViewed: i,
@@ -2801,14 +2815,14 @@ function Ka() {
2801
2815
  }
2802
2816
  const st = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2803
2817
  __proto__: null,
2804
- useAnalyticsHublerApplication: qa,
2805
- useAnalyticsProfile: Qa,
2806
- useAnalyticsRecruitment: Ga,
2807
- useAnalyticsVisualBuilder: Ka
2818
+ useAnalyticsHublerApplication: Za,
2819
+ useAnalyticsProfile: Xa,
2820
+ useAnalyticsRecruitment: Ya,
2821
+ useAnalyticsVisualBuilder: er
2808
2822
  }, Symbol.toStringTag, { value: "Module" }));
2809
- function jo() {
2823
+ function Wo() {
2810
2824
  function e(i) {
2811
- return O().identify(i.id, {
2825
+ return E().identify(i.id, {
2812
2826
  email: i.email,
2813
2827
  firstName: i.firstname,
2814
2828
  lastName: i.lastname,
@@ -2829,13 +2843,13 @@ function jo() {
2829
2843
  };
2830
2844
  }
2831
2845
  let pe = null;
2832
- const Wa = async (e, t) => {
2846
+ const tr = async (e, t) => {
2833
2847
  try {
2834
2848
  return await he(), u.info("[identify]", [e, t]), window.analytics.identify(e, t);
2835
2849
  } catch {
2836
2850
  u.error("[identify]", [e, t]);
2837
2851
  }
2838
- }, Za = async (e, t, i) => {
2852
+ }, nr = async (e, t, i) => {
2839
2853
  typeof i != "object" && (i = {});
2840
2854
  try {
2841
2855
  return await he(), u.info("[page]", [e, t, i]), window.analytics.page(e, {
@@ -2845,7 +2859,7 @@ const Wa = async (e, t) => {
2845
2859
  } catch {
2846
2860
  u.error("[page]", [e, t, i]);
2847
2861
  }
2848
- }, Xa = async (e, t, i) => {
2862
+ }, ir = async (e, t, i) => {
2849
2863
  typeof i != "object" && (i = {});
2850
2864
  try {
2851
2865
  return await he(), u.info("[track]", [e, t, i]), window.analytics.track(e, {
@@ -2856,7 +2870,7 @@ const Wa = async (e, t) => {
2856
2870
  u.error("[track]", [e, t, i]);
2857
2871
  }
2858
2872
  }, je = () => {
2859
- const e = q.getEnvironment();
2873
+ const e = G.getEnvironment();
2860
2874
  return e === "prod" || e === "production" ? "pPROC7dPoJ7XdxHrwsTQNXCGX79MJjhp" : e === "staging" ? "823rqOTwVk1ZCWVyBAdLInZ77TcFF0CF" : "TMZX6evFnu87JrBHV5qLwHsld5C6hilZ";
2861
2875
  }, Tt = () => {
2862
2876
  const e = window.analytics = window.analytics || [];
@@ -2894,30 +2908,30 @@ const Wa = async (e, t) => {
2894
2908
  key: je,
2895
2909
  appendScript: Tt,
2896
2910
  ready: he,
2897
- identify: Wa,
2898
- page: Za,
2899
- track: Xa
2900
- }, Ya = "AIzaSyDicyRD6rvVdnicp1tgV0ElazASNGbyyTs";
2911
+ identify: tr,
2912
+ page: nr,
2913
+ track: ir
2914
+ }, ar = "AIzaSyDicyRD6rvVdnicp1tgV0ElazASNGbyyTs";
2901
2915
  let Bt = !1;
2902
2916
  const Mt = () => new Promise((e) => {
2903
- W() || Bt || window.google && window.google.maps ? e() : (window.addEventListener("gmap-ready", () => e()), nr());
2904
- }), er = (e, t) => Mt().then(() => {
2905
- W() || tr(e, t);
2906
- }), tr = (e, t) => {
2917
+ W() || Bt || window.google && window.google.maps ? e() : (window.addEventListener("gmap-ready", () => e()), cr());
2918
+ }), rr = (e, t) => Mt().then(() => {
2919
+ W() || or(e, t);
2920
+ }), or = (e, t) => {
2907
2921
  const i = new window.google.maps.places.Autocomplete(e, { componentRestrictions: { country: ["fr", "re", "yt", "gp", "mq"] } });
2908
2922
  window.google.maps.event.addListener(i, "place_changed", () => {
2909
2923
  const a = i.getPlace();
2910
2924
  a.formatted_address && t && t(a.formatted_address, a);
2911
2925
  });
2912
- }, nr = () => {
2926
+ }, cr = () => {
2913
2927
  window.onGmapScriptReady = () => {
2914
2928
  };
2915
2929
  const e = document.createElement("script");
2916
- e.src = "https://maps.googleapis.com/maps/api/js?key=" + Ya + "&libraries=places&callback=onGmapScriptReady", e.async = !0, e.defer = !0, e.onload = () => window.dispatchEvent(new Event("gmap-ready")), document.body.appendChild(e), Bt = !0;
2917
- }, Ho = {
2930
+ e.src = "https://maps.googleapis.com/maps/api/js?key=" + ar + "&libraries=places&callback=onGmapScriptReady", e.async = !0, e.defer = !0, e.onload = () => window.dispatchEvent(new Event("gmap-ready")), document.body.appendChild(e), Bt = !0;
2931
+ }, Zo = {
2918
2932
  scriptReady: Mt,
2919
- autocompleteInput: er
2920
- }, ir = {
2933
+ autocompleteInput: rr
2934
+ }, sr = {
2921
2935
  common: {
2922
2936
  the: "le",
2923
2937
  from: "de"
@@ -2942,18 +2956,18 @@ const Mt = () => new Promise((e) => {
2942
2956
  minute: "minute | minutes",
2943
2957
  second: "seconde | secondes"
2944
2958
  }
2945
- }, ar = {
2946
- fr: ir
2959
+ }, dr = {
2960
+ fr: sr
2947
2961
  };
2948
2962
  let He = null;
2949
- const rr = () => He, xo = (e = {}) => {
2963
+ const lr = () => He, Xo = (e = {}) => {
2950
2964
  let t = e.locale || "fr";
2951
- const i = (g) => t = g, a = () => t, c = ft(ar, (e == null ? void 0 : e.messages) || {}), d = (g, _) => {
2965
+ const i = (g) => t = g, a = () => t, c = ft(dr, (e == null ? void 0 : e.messages) || {}), d = (g, _) => {
2952
2966
  const I = z(c, `${t}.${g}`);
2953
- return I ? _ ? or(I, _) : I : g;
2967
+ return I ? _ ? ur(I, _) : I : g;
2954
2968
  }, m = (g, _) => {
2955
2969
  const I = z(c, `${t}.${g}`);
2956
- return I ? cr(I, _) : g;
2970
+ return I ? pr(I, _) : g;
2957
2971
  };
2958
2972
  return He = {
2959
2973
  t: d,
@@ -2964,7 +2978,7 @@ const rr = () => He, xo = (e = {}) => {
2964
2978
  g.config.globalProperties.$t = d, g.config.globalProperties.$tNode = m;
2965
2979
  }
2966
2980
  }, He;
2967
- }, or = (e, t) => e ? e.replace(/{{ ?([a-zA-Z_.]+) ?}}/g, (i, a) => z(t, a)) : null, cr = (e, t) => {
2981
+ }, ur = (e, t) => e ? e.replace(/{{ ?([a-zA-Z_.]+) ?}}/g, (i, a) => z(t, a)) : null, pr = (e, t) => {
2968
2982
  if (!e)
2969
2983
  return null;
2970
2984
  const i = e.split(/(\{[{%]+[^{}]*[%}]+})/g).filter((a) => a !== "").map((a) => {
@@ -2986,8 +3000,8 @@ const rr = () => He, xo = (e = {}) => {
2986
3000
  variable: (e, t) => De("span", { class: "node node--variable" }, z(t, e.trim())),
2987
3001
  text: (e) => De("span", { class: "node node--text" }, e)
2988
3002
  };
2989
- function Jo(e) {
2990
- const { t } = rr(), i = {
3003
+ function Yo(e) {
3004
+ const { t } = lr(), i = {
2991
3005
  justNow: t("timeAgo.just-now"),
2992
3006
  past: (a) => a.match(/\d/) ? t("timeAgo.ago", [a]) : a,
2993
3007
  future: (a) => a.match(/\d/) ? t("timeAgo.in", [a]) : a,
@@ -3005,7 +3019,7 @@ function Jo(e) {
3005
3019
  messages: i
3006
3020
  });
3007
3021
  }
3008
- function sr() {
3022
+ function fr() {
3009
3023
  let e = null;
3010
3024
  function t() {
3011
3025
  return e;
@@ -3040,7 +3054,7 @@ function sr() {
3040
3054
  hasAction: m
3041
3055
  };
3042
3056
  }
3043
- function dr() {
3057
+ function mr() {
3044
3058
  async function e({ domain: a, event: c, ...d }) {
3045
3059
  const m = "useAnalytics" + a.charAt(0).toUpperCase() + a.slice(1);
3046
3060
  if (!t(m))
@@ -3062,9 +3076,9 @@ function dr() {
3062
3076
  }
3063
3077
  const lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3064
3078
  __proto__: null,
3065
- useAnalyticsQSController: dr
3079
+ useAnalyticsQSController: mr
3066
3080
  }, Symbol.toStringTag, { value: "Module" }));
3067
- function lr(e) {
3081
+ function yr(e) {
3068
3082
  if (!e.hasAction())
3069
3083
  throw new Error("No action found in router");
3070
3084
  function t() {
@@ -3085,7 +3099,7 @@ function lr(e) {
3085
3099
  dispatch: t
3086
3100
  };
3087
3101
  }
3088
- function zo() {
3102
+ function ec() {
3089
3103
  let e = !1;
3090
3104
  function t(c, d, m) {
3091
3105
  a(), m();
@@ -3096,10 +3110,10 @@ function zo() {
3096
3110
  m();
3097
3111
  }
3098
3112
  function a() {
3099
- const c = sr();
3113
+ const c = fr();
3100
3114
  if (!c.hasAction())
3101
3115
  return;
3102
- lr(c).dispatch();
3116
+ yr(c).dispatch();
3103
3117
  }
3104
3118
  return {
3105
3119
  vueRouterBeforeEach: t,
@@ -3113,39 +3127,40 @@ const $t = async (e, t, i) => {
3113
3127
  t.query[d] !== void 0 && (delete c.query[d], a.push(d));
3114
3128
  if (a.length)
3115
3129
  return i.replace(c);
3116
- }, qo = async (e, t, i) => $t([e], t, i), ur = async (e, t, i) => {
3130
+ }, tc = async (e, t, i) => $t([e], t, i), gr = async (e, t, i) => {
3117
3131
  const a = {};
3118
3132
  for (const c of e)
3119
3133
  t.query[c] !== void 0 && (a[c] = t.query[c]);
3120
3134
  return await $t(Object.keys(a), t, i), a;
3121
- }, Qo = async (e, t, i) => ur([e], t, i)[e], Go = () => ({ getAssetUrl: (t) => `${q.getBaseAssetsUrl()}${t}` }), N = () => q.getMainAppHost(), pr = () => `${N()}/rh/establishments`, fr = (e) => `${N()}/rh/establishment/${e}`, mr = (e) => {
3135
+ }, nc = async (e, t, i) => gr([e], t, i)[e], ic = () => ({ getAssetUrl: (t) => `${G.getBaseAssetsUrl()}${t}` }), N = () => G.getMainAppHost(), wr = () => `${N()}/rh/establishments`, _r = (e) => `${N()}/rh/establishment/${e}`, hr = (e) => {
3122
3136
  var t;
3123
3137
  return typeof e == "string" ? e : typeof e == "object" && ((t = e == null ? void 0 : e.urls) != null && t.display) ? e.urls.display : null;
3124
- }, yr = () => `${N()}/rh/dashboard`, gr = (e) => `${N()}/candidate-invite/establishment/${e}`, wr = (e, t = !1) => t ? `${N()}/cvbank/${e}` : `${N()}/rh/establishment/${e}/cvtheque`, _r = (e, t) => `${N()}/user-profile/establishment/${e}/user/${t}`, hr = (e) => `${N()}/rh/establishment/${e}/recruitment`, Ir = (e, t) => `${N()}/rh/establishment/${e}/recruitment/${t}`, br = (e, t) => `${N()}/rh/establishment/${e}/recruitment/${t}/kanban`, kr = (e, t) => `${N()}/rh/establishment/${e}/recruitment/${t}/offer`, vr = (e) => `${N()}/rh/establishment/${e}/career-configuration`, Sr = (e, t = null) => t ? `${N()}/career-website/${e}/${t}` : `${N()}/career-website/${e}`, Vr = (e, t) => `${N()}/career-website-preview/${e}/${t}`, Ar = (e, t = null) => {
3138
+ }, Ir = () => `${N()}/rh/dashboard`, br = (e) => `${N()}/candidate-invite/establishment/${e}`, kr = (e, t = !1) => t ? `${N()}/cvbank/${e}` : `${N()}/rh/establishment/${e}/cvtheque`, vr = (e, t) => `${N()}/user-profile/establishment/${e}/user/${t}`, Sr = (e) => `${N()}/rh/establishment/${e}/recruitment`, Vr = (e, t) => `${N()}/rh/establishment/${e}/recruitment/${t}`, Ar = (e, t) => `${N()}/rh/establishment/${e}/recruitment/${t}/kanban`, Cr = (e, t) => `${N()}/rh/establishment/${e}/recruitment/${t}/offer`, Rr = (e) => `${N()}/rh/establishment/${e}/offer`, Pr = (e) => `${N()}/rh/establishment/${e}/career-configuration`, Or = (e, t = null) => t ? `${N()}/career-website/${e}/${t}` : `${N()}/career-website/${e}`, Er = (e, t) => `${N()}/career-website-preview/${e}/${t}`, Dr = (e, t = null) => {
3125
3139
  const i = N().replace("://", `://${e}.`);
3126
3140
  return t ? `${i}?_version=${t}` : `${i}`;
3127
- }, Cr = (e) => `${N()}/rh/establishment/${e}/stats`, Rr = (e) => `${N()}/rh/establishment/${e}/backoffice`, Pr = () => `${N()}/rh/settings/general`;
3128
- function Ko() {
3141
+ }, Nr = (e) => `${N()}/rh/establishment/${e}/stats`, Lr = (e) => `${N()}/rh/establishment/${e}/backoffice`, Tr = () => `${N()}/rh/settings/general`;
3142
+ function ac() {
3129
3143
  return {
3130
3144
  root: N,
3131
- establishments: pr,
3132
- establishment: fr,
3133
- img: mr,
3134
- dashboard: yr,
3135
- candidateInvite: gr,
3136
- cvtheque: wr,
3137
- userProfile: _r,
3138
- recruitments: hr,
3139
- recruitment: Ir,
3140
- recruitmentKanban: br,
3141
- recruitmentOffer: kr,
3142
- career: vr,
3143
- careerConfig: Sr,
3144
- careerPreview: Vr,
3145
- careerWebsite: Ar,
3146
- statistics: Cr,
3147
- backoffice: Rr,
3148
- userSettings: Pr
3145
+ establishments: wr,
3146
+ establishment: _r,
3147
+ img: hr,
3148
+ dashboard: Ir,
3149
+ candidateInvite: br,
3150
+ cvtheque: kr,
3151
+ userProfile: vr,
3152
+ recruitments: Sr,
3153
+ recruitment: Vr,
3154
+ recruitmentKanban: Ar,
3155
+ recruitmentOffer: Cr,
3156
+ offers: Rr,
3157
+ career: Pr,
3158
+ careerConfig: Or,
3159
+ careerPreview: Er,
3160
+ careerWebsite: Dr,
3161
+ statistics: Nr,
3162
+ backoffice: Lr,
3163
+ userSettings: Tr
3149
3164
  };
3150
3165
  }
3151
3166
  const ut = /* @__PURE__ */ new Set();
@@ -3169,7 +3184,7 @@ const Te = (e) => {
3169
3184
  for (const c of a)
3170
3185
  Y.add(c.substr(1));
3171
3186
  }
3172
- }, Wo = (e = {}) => {
3187
+ }, rc = (e = {}) => {
3173
3188
  if (Y)
3174
3189
  return Y;
3175
3190
  Y = /* @__PURE__ */ new Set(), xe = { ...xe, ...e }, Ut(document.styleSheets), new MutationObserver((i) => {
@@ -3188,108 +3203,110 @@ const Te = (e) => {
3188
3203
  childList: !0,
3189
3204
  subtree: !0
3190
3205
  });
3191
- }, Zo = "0.2.86";
3206
+ }, oc = "0.2.88";
3192
3207
  export {
3193
3208
  f as Analytics,
3194
3209
  Fe as BaseLogger,
3195
- Ho as Gmap,
3196
- q as SDKConfig,
3210
+ Zo as Gmap,
3211
+ G as SDKConfig,
3197
3212
  u as SDKLogger,
3198
- Zo as VERSION,
3213
+ oc as VERSION,
3199
3214
  yn as _clone,
3200
3215
  z as _get,
3201
- Zr as _map,
3216
+ ao as _map,
3202
3217
  ft as _merge,
3203
3218
  mt as _pathList,
3204
3219
  ee as _set,
3205
3220
  mn as _setMany,
3206
- Mo as analyticsAuthentication,
3207
- Bo as analyticsCVBank,
3208
- To as analyticsCareerPrivate,
3209
- Fo as analyticsCareerPublic,
3210
- Po as analyticsHublerApplication,
3211
- No as analyticsHublerCalendar,
3212
- Vo as analyticsHublerDocument,
3213
- Ro as analyticsHublerResume,
3214
- Do as analyticsHublerSettings,
3215
- Oo as analyticsMessaging,
3216
- Lo as analyticsProfile,
3217
- Eo as analyticsRecruitment,
3218
- Ao as analyticsSettings,
3219
- $o as analyticsSourcing,
3220
- Uo as analyticsStatistics,
3221
- Co as analyticsVisualBuilder,
3221
+ Go as analyticsAuthentication,
3222
+ zo as analyticsCVBank,
3223
+ Jo as analyticsCareerPrivate,
3224
+ Ko as analyticsCareerPublic,
3225
+ $o as analyticsHublerApplication,
3226
+ Ho as analyticsHublerCalendar,
3227
+ Lo as analyticsHublerDocument,
3228
+ Mo as analyticsHublerResume,
3229
+ jo as analyticsHublerSettings,
3230
+ Uo as analyticsMessaging,
3231
+ xo as analyticsProfile,
3232
+ Fo as analyticsRecruitment,
3233
+ To as analyticsSettings,
3234
+ Qo as analyticsSourcing,
3235
+ qo as analyticsStatistics,
3236
+ Bo as analyticsVisualBuilder,
3222
3237
  Be as buildObjectValidation,
3223
- Qo as consumeQueryParam,
3224
- ur as consumeQueryParams,
3225
- xo as createI18n,
3226
- Yr as ensureScheme,
3227
- Kr as hasOrIsInClass,
3228
- Wr as inBrowser,
3238
+ nc as consumeQueryParam,
3239
+ gr as consumeQueryParams,
3240
+ Xo as createI18n,
3241
+ oo as ensureScheme,
3242
+ no as hasOrIsInClass,
3243
+ io as inBrowser,
3229
3244
  W as inNode,
3230
3245
  me as isArray,
3231
3246
  V as isArrayOf,
3232
- Hr as isBoolean,
3233
- xr as isDate,
3234
- Qr as isFalsy,
3235
- Jr as isFunction,
3236
- Fr as isMobile,
3237
- zr as isNotNullOrUndefined,
3247
+ Kr as isBoolean,
3248
+ Wr as isDate,
3249
+ eo as isFalsy,
3250
+ Zr as isFunction,
3251
+ Qr as isMobile,
3252
+ Xr as isNotNullOrUndefined,
3238
3253
  un as isNull,
3239
3254
  fn as isNullOrUndefined,
3240
3255
  U as isNumber,
3241
3256
  ye as isObject,
3242
- Gr as isObjectOf,
3257
+ to as isObjectOf,
3243
3258
  p as isObjectValid,
3244
3259
  n as isString,
3245
- qr as isTruthy,
3260
+ Yr as isTruthy,
3246
3261
  pn as isUndefined,
3247
- qo as removeQueryParam,
3262
+ tc as removeQueryParam,
3248
3263
  $t as removeQueryParams,
3249
- jr as sanitizeObject,
3250
- Xr as secureScheme,
3264
+ qr as sanitizeObject,
3265
+ ro as secureScheme,
3251
3266
  ln as transpileAsserts,
3252
- eo as useActivityRepository,
3253
- qa as useAnalyticsHublerApplication,
3254
- jo as useAnalyticsIdentify,
3255
- Qa as useAnalyticsProfile,
3256
- Ga as useAnalyticsRecruitment,
3257
- Ka as useAnalyticsVisualBuilder,
3258
- Go as useAssetUrls,
3267
+ co as useActivityRepository,
3268
+ Za as useAnalyticsHublerApplication,
3269
+ Wo as useAnalyticsIdentify,
3270
+ Xa as useAnalyticsProfile,
3271
+ Ya as useAnalyticsRecruitment,
3272
+ er as useAnalyticsVisualBuilder,
3273
+ ic as useAssetUrls,
3259
3274
  hn as useAuthentication,
3260
- za as useAuthorization,
3261
- So as useAuthorizationStore,
3262
- to as useCandidateRepository,
3263
- no as useCommentRepository,
3264
- io as useContractTypeRepository,
3275
+ Wa as useAuthorization,
3276
+ No as useAuthorizationStore,
3277
+ so as useCandidateRepository,
3278
+ lo as useCommentRepository,
3279
+ uo as useContractTypeRepository,
3265
3280
  _n as useCookieStorage,
3266
- ao as useCvbankRepository,
3267
- ro as useCvthequeRepository,
3268
- oo as useDiplomaRepository,
3269
- co as useDocumentRepository,
3270
- Ko as useDomainUrls,
3271
- so as useEmailHistoryRepository,
3272
- lo as useEmailRepository,
3273
- uo as useEmailTemplateRepository,
3274
- po as useEstablishmentCareerRepository,
3281
+ po as useCvbankRepository,
3282
+ fo as useCvthequeRepository,
3283
+ mo as useDiplomaRepository,
3284
+ yo as useDocumentRepository,
3285
+ ac as useDomainUrls,
3286
+ go as useEmailHistoryRepository,
3287
+ wo as useEmailRepository,
3288
+ _o as useEmailTemplateRepository,
3289
+ ho as useEstablishmentCareerRepository,
3275
3290
  la as useEstablishmentRepository,
3276
- fo as useFeatureFlagRepository,
3277
- rr as useI18n,
3278
- mo as useJobRepository,
3279
- yo as useLabelRepository,
3280
- Jo as useLocaleTimeAgo,
3291
+ Io as useFeatureFlagRepository,
3292
+ lr as useI18n,
3293
+ bo as useJobRepository,
3294
+ Eo as useJobStatusRepository,
3295
+ ko as useLabelRepository,
3296
+ Yo as useLocaleTimeAgo,
3281
3297
  dn as useObjectValidation,
3282
- go as useOfferRepository,
3283
- E as usePrivateRequest,
3284
- zo as useQSAction,
3285
- wo as useRecruiterRepository,
3286
- _o as useRecruitmentRepository,
3287
- ho as useRegisterRepository,
3288
- Io as useRegistrationRepository,
3298
+ vo as useOfferRepository,
3299
+ O as usePrivateRequest,
3300
+ ec as useQSAction,
3301
+ So as useRecruiterRepository,
3302
+ Vo as useRecruitmentRepository,
3303
+ Ao as useRegisterRepository,
3304
+ Co as useRegistrationRepository,
3289
3305
  L as useRequest,
3290
- bo as useSpecialityRepository,
3291
- ko as useTagRepository,
3292
- vo as useTalentRepository,
3293
- Wo as useUndefinedCssClasses,
3294
- Ja as useUserRepository
3306
+ Do as useSkillRepository,
3307
+ Ro as useSpecialityRepository,
3308
+ Po as useTagRepository,
3309
+ Oo as useTalentRepository,
3310
+ rc as useUndefinedCssClasses,
3311
+ Qa as useUserRepository
3295
3312
  };