@hublo/mstaff-client-sdk 0.2.188 → 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.
- package/dist/core.cjs +1 -1
- package/dist/core.js +549 -547
- 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
|
|
8
|
+
var F = {}, ot;
|
|
9
9
|
function Xt() {
|
|
10
|
-
if (ot) return
|
|
11
|
-
ot = 1, Object.defineProperty(
|
|
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
|
};
|
|
@@ -21,7 +21,7 @@ function Xt() {
|
|
|
21
21
|
const T = n?.decode || v;
|
|
22
22
|
let $ = 0;
|
|
23
23
|
do {
|
|
24
|
-
const M =
|
|
24
|
+
const M = V(s, $, P);
|
|
25
25
|
if (M === -1)
|
|
26
26
|
break;
|
|
27
27
|
const L = R(s, $, P);
|
|
@@ -29,8 +29,8 @@ function Xt() {
|
|
|
29
29
|
$ = s.lastIndexOf(";", M - 1) + 1;
|
|
30
30
|
continue;
|
|
31
31
|
}
|
|
32
|
-
const
|
|
33
|
-
I[
|
|
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
|
}
|
|
@@ -109,13 +109,13 @@ function Xt() {
|
|
|
109
109
|
return L;
|
|
110
110
|
}
|
|
111
111
|
function _(s, n) {
|
|
112
|
-
const I = n?.decode || v, P = s.length, T = R(s, 0, P), $ =
|
|
113
|
-
name:
|
|
114
|
-
value: I(
|
|
112
|
+
const I = n?.decode || v, P = s.length, T = R(s, 0, P), $ = V(s, 0, T), M = $ === -1 ? { name: "", value: I(C(s, 0, T)) } : {
|
|
113
|
+
name: C(s, 0, $),
|
|
114
|
+
value: I(C(s, $ + 1, T))
|
|
115
115
|
};
|
|
116
116
|
let L = T + 1;
|
|
117
117
|
for (; L < P; ) {
|
|
118
|
-
const
|
|
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 =
|
|
157
|
+
L = j + 1;
|
|
158
158
|
}
|
|
159
159
|
return M;
|
|
160
160
|
}
|
|
@@ -162,11 +162,11 @@ function Xt() {
|
|
|
162
162
|
const P = s.indexOf(";", n);
|
|
163
163
|
return P === -1 ? I : P;
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function V(s, n, I) {
|
|
166
166
|
const P = s.indexOf("=", n);
|
|
167
167
|
return P < I ? P : -1;
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function C(s, n, I) {
|
|
170
170
|
let P = n, T = I;
|
|
171
171
|
do {
|
|
172
172
|
const $ = s.charCodeAt(P);
|
|
@@ -193,7 +193,7 @@ function Xt() {
|
|
|
193
193
|
function A(s) {
|
|
194
194
|
return c.call(s) === "[object Date]";
|
|
195
195
|
}
|
|
196
|
-
return
|
|
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
|
|
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) =>
|
|
315
|
+
}, sn = (e, t) => je(e, cn(t)), je = (e, t) => {
|
|
316
316
|
const i = {};
|
|
317
|
-
return st(t).forEach((r) => i[r] =
|
|
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
|
-
),
|
|
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("$")),
|
|
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 No = () => {
|
|
|
328
328
|
r = r.parentElement;
|
|
329
329
|
}
|
|
330
330
|
return !1;
|
|
331
|
-
},
|
|
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 No = () => {
|
|
|
358
358
|
for (const [r, o] of i)
|
|
359
359
|
_e(t, r, o);
|
|
360
360
|
return t;
|
|
361
|
-
},
|
|
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 No = () => {
|
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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,25 +451,25 @@ const Re = (e, t, i) => {
|
|
|
451
451
|
}, u = new se({
|
|
452
452
|
prefix: "[SDK]"
|
|
453
453
|
});
|
|
454
|
-
let kt = 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 (!
|
|
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
|
|
463
|
+
return Fe;
|
|
464
464
|
}, wn = (e) => {
|
|
465
|
-
u.info("[Config] API Host:", e),
|
|
466
|
-
}, In = () =>
|
|
467
|
-
|
|
465
|
+
u.info("[Config] API Host:", e), Fe = e;
|
|
466
|
+
}, In = () => Ct, bn = (e) => {
|
|
467
|
+
Ct = e;
|
|
468
468
|
}, kn = () => !He && window?.location ? It(window?.location.host, !0) : He, vn = (e) => {
|
|
469
469
|
u.info("[Config] Main App Host:", e), He = e;
|
|
470
470
|
}, Sn = (e) => {
|
|
471
471
|
u.info("[Config] Base Assets Urls:", e), vt = e;
|
|
472
|
-
}, Rn = () => vt,
|
|
472
|
+
}, Rn = () => vt, Cn = () => St, Vn = (e) => {
|
|
473
473
|
u.info("[Config] App Name:", e), St = e;
|
|
474
474
|
}, An = () => Rt, Pn = (e) => {
|
|
475
475
|
u.info("[Config] App Version:", e), Rt = e;
|
|
@@ -484,8 +484,8 @@ const gn = () => kt, hn = (e) => {
|
|
|
484
484
|
setMainAppHost: vn,
|
|
485
485
|
setBaseAssetsUrl: Sn,
|
|
486
486
|
getBaseAssetsUrl: Rn,
|
|
487
|
-
getAppName:
|
|
488
|
-
setAppName:
|
|
487
|
+
getAppName: Cn,
|
|
488
|
+
setAppName: Vn,
|
|
489
489
|
getAppVersion: An,
|
|
490
490
|
setAppVersion: Pn
|
|
491
491
|
};
|
|
@@ -524,10 +524,10 @@ function En(e) {
|
|
|
524
524
|
function R() {
|
|
525
525
|
return o("Content-Type", "application/json"), this;
|
|
526
526
|
}
|
|
527
|
-
function
|
|
527
|
+
function V() {
|
|
528
528
|
return c("Content-Type") === "multipart/form-data";
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function C() {
|
|
531
531
|
return c("Content-Type") === "application/json";
|
|
532
532
|
}
|
|
533
533
|
return {
|
|
@@ -541,8 +541,8 @@ function En(e) {
|
|
|
541
541
|
hasAuthorization: w,
|
|
542
542
|
setFormData: _,
|
|
543
543
|
setJson: R,
|
|
544
|
-
isFormData:
|
|
545
|
-
isJson:
|
|
544
|
+
isFormData: V,
|
|
545
|
+
isJson: C
|
|
546
546
|
};
|
|
547
547
|
}
|
|
548
548
|
function On(e) {
|
|
@@ -582,14 +582,14 @@ function Ln(e, t, i) {
|
|
|
582
582
|
}
|
|
583
583
|
function y(w) {
|
|
584
584
|
let _ = 0;
|
|
585
|
-
const R = new FormData(),
|
|
586
|
-
for (const v in
|
|
587
|
-
const A =
|
|
588
|
-
p(A) ? (
|
|
585
|
+
const R = new FormData(), V = (C) => {
|
|
586
|
+
for (const v in C) {
|
|
587
|
+
const A = C[v];
|
|
588
|
+
p(A) ? (C[v] = "<<FileIndex:" + _ + ">>", R.append(_, A, A.name), _++) : typeof A == "object" && (C[v] = V(C[v]));
|
|
589
589
|
}
|
|
590
|
-
return
|
|
590
|
+
return C;
|
|
591
591
|
};
|
|
592
|
-
return R.append("payload", JSON.stringify(
|
|
592
|
+
return R.append("payload", JSON.stringify(V(w))), R;
|
|
593
593
|
}
|
|
594
594
|
function p(w) {
|
|
595
595
|
return typeof File < "u" && w instanceof File || typeof Blob < "u" && w instanceof Blob;
|
|
@@ -604,7 +604,7 @@ function Bn(e) {
|
|
|
604
604
|
let i = null, r = {}, o = {};
|
|
605
605
|
e && y(e);
|
|
606
606
|
function c() {
|
|
607
|
-
return t + p() +
|
|
607
|
+
return t + p() + C();
|
|
608
608
|
}
|
|
609
609
|
function f() {
|
|
610
610
|
return p(!0, !0);
|
|
@@ -624,11 +624,11 @@ function Bn(e) {
|
|
|
624
624
|
function R(n) {
|
|
625
625
|
return r[n] && delete r[n], this;
|
|
626
626
|
}
|
|
627
|
-
function
|
|
627
|
+
function V() {
|
|
628
628
|
return Object.keys(r).length > 0;
|
|
629
629
|
}
|
|
630
|
-
function
|
|
631
|
-
if (!
|
|
630
|
+
function C(n = !0) {
|
|
631
|
+
if (!V()) return "";
|
|
632
632
|
let I = "";
|
|
633
633
|
for (const P in r)
|
|
634
634
|
if (Array.isArray(r[P]))
|
|
@@ -655,8 +655,8 @@ function Bn(e) {
|
|
|
655
655
|
setQueryParams: w,
|
|
656
656
|
setQueryParam: _,
|
|
657
657
|
removeQueryParam: R,
|
|
658
|
-
hasQuery:
|
|
659
|
-
getQueryString:
|
|
658
|
+
hasQuery: V,
|
|
659
|
+
getQueryString: C,
|
|
660
660
|
setRouteParams: v,
|
|
661
661
|
setRouteParam: A,
|
|
662
662
|
removeRouteParam: s
|
|
@@ -704,8 +704,8 @@ function Tn(e) {
|
|
|
704
704
|
}
|
|
705
705
|
function f() {
|
|
706
706
|
i = !0;
|
|
707
|
-
const
|
|
708
|
-
return w(
|
|
707
|
+
const C = V(arguments);
|
|
708
|
+
return w(C.page || 1, !1), _(C.perPage || o, !1), R(), this;
|
|
709
709
|
}
|
|
710
710
|
function y() {
|
|
711
711
|
return i = !1, R(), this;
|
|
@@ -713,19 +713,19 @@ function Tn(e) {
|
|
|
713
713
|
function p() {
|
|
714
714
|
return i;
|
|
715
715
|
}
|
|
716
|
-
function w(
|
|
717
|
-
return t = !0, i = !0, r =
|
|
716
|
+
function w(C, v = !0) {
|
|
717
|
+
return t = !0, i = !0, r = C, v && R(), this;
|
|
718
718
|
}
|
|
719
|
-
function _(
|
|
720
|
-
return t = !0, i = !0, o =
|
|
719
|
+
function _(C, v = !0) {
|
|
720
|
+
return t = !0, i = !0, o = C, v && R(), this;
|
|
721
721
|
}
|
|
722
722
|
function R() {
|
|
723
723
|
t ? p() ? (e.removeQueryParam("pagination"), e.setQueryParam("page", r), e.setQueryParam("nbResultPerPage", o)) : (e.removeQueryParam("page"), e.removeQueryParam("nbResultPerPage"), e.setQueryParam("pagination", "false")) : (e.removeQueryParam("page"), e.removeQueryParam("nbResultPerPage"), e.removeQueryParam("pagination"));
|
|
724
724
|
}
|
|
725
|
-
function C
|
|
726
|
-
if (
|
|
725
|
+
function V(C) {
|
|
726
|
+
if (C.length === 1 && typeof C[0] == "object") return C[0];
|
|
727
727
|
const v = {};
|
|
728
|
-
return
|
|
728
|
+
return C.length >= 1 && (v.page = C[0]), C.length >= 2 && (v.perPage = C[1]), v;
|
|
729
729
|
}
|
|
730
730
|
return {
|
|
731
731
|
isList: c,
|
|
@@ -819,7 +819,7 @@ function xn(e, t = !1) {
|
|
|
819
819
|
error: e
|
|
820
820
|
};
|
|
821
821
|
}
|
|
822
|
-
function
|
|
822
|
+
function jn(e) {
|
|
823
823
|
function t() {
|
|
824
824
|
return e;
|
|
825
825
|
}
|
|
@@ -859,25 +859,25 @@ function Fn(e) {
|
|
|
859
859
|
getPages: w
|
|
860
860
|
};
|
|
861
861
|
}
|
|
862
|
-
function
|
|
862
|
+
function Fn(e, t, i, r, o, c) {
|
|
863
863
|
async function f() {
|
|
864
|
-
const p = i.getMethod(), w = t.getUri(), _ = e.getHeaders(), R = r.getPayload(),
|
|
865
|
-
["post", "put", "patch"].includes(p) &&
|
|
864
|
+
const p = i.getMethod(), w = t.getUri(), _ = e.getHeaders(), R = r.getPayload(), V = [w];
|
|
865
|
+
["post", "put", "patch"].includes(p) && V.push(R || {}), V.push({
|
|
866
866
|
headers: _,
|
|
867
867
|
responseType: c.getResponseType()
|
|
868
868
|
}), u.info("[Request] Sending request:", `[${p.toUpperCase()}]`, w);
|
|
869
869
|
try {
|
|
870
|
-
const
|
|
871
|
-
return y(
|
|
872
|
-
} catch (
|
|
873
|
-
throw xn(
|
|
870
|
+
const C = await Kt[p](...V);
|
|
871
|
+
return y(C);
|
|
872
|
+
} catch (C) {
|
|
873
|
+
throw xn(C, o.isSilent());
|
|
874
874
|
}
|
|
875
875
|
}
|
|
876
876
|
function y(p) {
|
|
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
|
|
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(),
|
|
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,
|
|
@@ -897,11 +897,11 @@ function N(e, t = "get", i = null) {
|
|
|
897
897
|
...w,
|
|
898
898
|
..._,
|
|
899
899
|
...R,
|
|
900
|
-
...
|
|
900
|
+
...V
|
|
901
901
|
};
|
|
902
902
|
}
|
|
903
903
|
function S(e, t = "get", i = null) {
|
|
904
|
-
const r = N(e, t, i), o =
|
|
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,182 +923,184 @@ 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 }),
|
|
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 }),
|
|
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
|
-
markCandidateAsSeen: Yn
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
}),
|
|
963
|
-
|
|
964
|
-
}),
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
}),
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
936
|
+
markCandidateAsSeen: Yn,
|
|
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"), as = () => ({
|
|
939
|
+
listByEstablishmentAndCandidate: Xn,
|
|
940
|
+
createForEstablishmentAndCandidate: ei,
|
|
941
|
+
update: ti,
|
|
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, 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
|
+
share: ii,
|
|
945
|
+
isArchived: ai,
|
|
946
|
+
archive: ri,
|
|
947
|
+
unarchive: oi,
|
|
948
|
+
lookup: si,
|
|
949
|
+
invite: ci,
|
|
950
|
+
update: di,
|
|
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) => {
|
|
978
980
|
const i = S("/v2/establishments/:establishmentId/email-templates").setRouteParams({ establishmentId: e }).isList().disablePagination();
|
|
979
981
|
return t && i.setQueryParam("global", !0), i;
|
|
980
|
-
},
|
|
981
|
-
listByEstablishment:
|
|
982
|
-
listSelf:
|
|
983
|
-
}),
|
|
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) => {
|
|
984
986
|
const r = i !== null ? S("establishment-career/:establishmentId/:versionId").setRouteParams({ establishmentId: e, versionId: i }) : S("establishment-career/:establishmentId").setRouteParams({ establishmentId: e });
|
|
985
987
|
return r.setMethod("post").setPayload(t), r;
|
|
986
|
-
},
|
|
987
|
-
readById:
|
|
988
|
-
readByState:
|
|
989
|
-
upsert:
|
|
990
|
-
uploadLogoAndBanner:
|
|
991
|
-
publish:
|
|
992
|
-
}),
|
|
993
|
-
read:
|
|
994
|
-
authorizations:
|
|
995
|
-
}),
|
|
996
|
-
maintenanceModeEnabled:
|
|
997
|
-
forEstablishment:
|
|
998
|
-
}),
|
|
999
|
-
list:
|
|
1000
|
-
listByEstablishment:
|
|
1001
|
-
listMineByEstablishment:
|
|
1002
|
-
}),
|
|
1003
|
-
list:
|
|
1004
|
-
listByEstablishment: Gi,
|
|
1005
|
-
listMineByEstablishment: Ji
|
|
1006
|
-
}), zi = (e) => S("jobStatus/establishment/:establishmentId/mine").isList().addGroup("term:formTermSelect").setRouteParams({ establishmentId: e }), Wi = (e) => S("jobStatus/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), gs = () => ({
|
|
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 = () => ({
|
|
1001
|
+
list: Fi,
|
|
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,
|
|
1007
1006
|
listByEstablishment: zi,
|
|
1008
1007
|
listMineByEstablishment: Wi
|
|
1009
|
-
}), qi = (e
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
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) => {
|
|
1032
1034
|
const i = S("/recruiter/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e });
|
|
1033
1035
|
return t && i.setQueryParam("exclude-me", 1), i;
|
|
1034
|
-
},
|
|
1035
|
-
listByEstablishment:
|
|
1036
|
-
}),
|
|
1037
|
-
read:
|
|
1038
|
-
authorizations:
|
|
1039
|
-
mineByEstablishment:
|
|
1040
|
-
mineWithoutCandidate:
|
|
1041
|
-
mineWithCandidate:
|
|
1042
|
-
withCandidate:
|
|
1043
|
-
addCandidates:
|
|
1044
|
-
removeCandidate:
|
|
1045
|
-
createByEstablishment:
|
|
1046
|
-
update:
|
|
1047
|
-
undraft:
|
|
1048
|
-
archive:
|
|
1049
|
-
unarchive:
|
|
1050
|
-
unclose:
|
|
1051
|
-
delete:
|
|
1052
|
-
}),
|
|
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) => {
|
|
1053
1055
|
const c = N("candidate/register/open").setMethod("post"), f = { email: e };
|
|
1054
1056
|
return t === "establishment" && (f.establishmentId = i), t === "offer" && (f.offerId = i), r && (f.referer = r), o && (f.jwt = o), c.setPayload(f), c;
|
|
1055
|
-
},
|
|
1056
|
-
open:
|
|
1057
|
-
update:
|
|
1058
|
-
read:
|
|
1059
|
-
close:
|
|
1060
|
-
}),
|
|
1061
|
-
lookupEstablishment:
|
|
1062
|
-
}),
|
|
1063
|
-
list:
|
|
1064
|
-
listByEstablishment:
|
|
1065
|
-
listMineByEstablishment:
|
|
1066
|
-
}),
|
|
1067
|
-
listMineByEstablishment:
|
|
1068
|
-
create:
|
|
1069
|
-
update:
|
|
1070
|
-
remove:
|
|
1071
|
-
}),
|
|
1072
|
-
list:
|
|
1073
|
-
listByEstablishment:
|
|
1074
|
-
listMineByEstablishment:
|
|
1075
|
-
}),
|
|
1076
|
-
list:
|
|
1077
|
-
}),
|
|
1078
|
-
list:
|
|
1079
|
-
listByEstablishment:
|
|
1080
|
-
listMineByEstablishment:
|
|
1081
|
-
}),
|
|
1082
|
-
listByEstablishment:
|
|
1083
|
-
}),
|
|
1084
|
-
read:
|
|
1085
|
-
lookupTalent:
|
|
1086
|
-
addCandidateToTalentPool:
|
|
1087
|
-
}),
|
|
1088
|
-
listByEstablishment:
|
|
1089
|
-
}),
|
|
1090
|
-
emailExists:
|
|
1091
|
-
self:
|
|
1092
|
-
byUuidPrivate:
|
|
1093
|
-
byUuid:
|
|
1094
|
-
fetchUuid:
|
|
1095
|
-
listCollaboratorByEstablishment:
|
|
1096
|
-
listCreatorByEstablishment:
|
|
1097
|
-
listValidatorByEstablishment:
|
|
1098
|
-
}),
|
|
1099
|
-
listByEstablishment:
|
|
1100
|
-
listByUserAndEstablishment:
|
|
1101
|
-
}),
|
|
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,
|
|
1075
|
+
listByEstablishment: Fa,
|
|
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 = {
|
|
1102
1104
|
token: "token",
|
|
1103
1105
|
refresh: "refresh_token",
|
|
1104
1106
|
expiration: "token_expiration_date"
|
|
@@ -1109,9 +1111,9 @@ const Hn = (e, t) => S("/v2/activity/candidate/:candidateId/establishment/:estab
|
|
|
1109
1111
|
}, w = async () => {
|
|
1110
1112
|
if (y() && p())
|
|
1111
1113
|
try {
|
|
1112
|
-
return
|
|
1114
|
+
return V();
|
|
1113
1115
|
} catch {
|
|
1114
|
-
return R(),
|
|
1116
|
+
return R(), C();
|
|
1115
1117
|
}
|
|
1116
1118
|
}, _ = (s, n) => {
|
|
1117
1119
|
const I = A(s);
|
|
@@ -1119,7 +1121,7 @@ const Hn = (e, t) => S("/v2/activity/candidate/:candidateId/establishment/:estab
|
|
|
1119
1121
|
t.setItem(e.token, s), t.setItem(e.refresh, n), t.setItem(e.expiration, ((I.exp - 60) * 1e3).toString());
|
|
1120
1122
|
}, R = () => {
|
|
1121
1123
|
t.removeItem(e.token), t.removeItem(e.refresh), t.removeItem(e.expiration);
|
|
1122
|
-
},
|
|
1124
|
+
}, V = async () => {
|
|
1123
1125
|
const s = o();
|
|
1124
1126
|
if (!s) throw new Error("No refresh token found.");
|
|
1125
1127
|
try {
|
|
@@ -1128,18 +1130,18 @@ const Hn = (e, t) => S("/v2/activity/candidate/:candidateId/establishment/:estab
|
|
|
1128
1130
|
} catch {
|
|
1129
1131
|
throw new Error("Failed to refresh token.");
|
|
1130
1132
|
}
|
|
1131
|
-
},
|
|
1133
|
+
}, C = async (s = oe().root()) => (window.open(s, "_self"), setTimeout(() => {
|
|
1132
1134
|
throw u.error("Redirection failed."), new Error("Redirection failed.");
|
|
1133
1135
|
}, 1e4)), v = async () => {
|
|
1134
1136
|
if (!y()) return;
|
|
1135
1137
|
const { roles: s } = A(r());
|
|
1136
1138
|
if (p())
|
|
1137
1139
|
try {
|
|
1138
|
-
await
|
|
1140
|
+
await V();
|
|
1139
1141
|
} catch {
|
|
1140
|
-
return R(), s.includes("ROLE_CANDIDATE") ?
|
|
1142
|
+
return R(), s.includes("ROLE_CANDIDATE") ? C(oe().candidateSignIn()) : C(oe().root());
|
|
1141
1143
|
}
|
|
1142
|
-
return s.includes("ROLE_ADMIN") ?
|
|
1144
|
+
return s.includes("ROLE_ADMIN") ? C(oe().backoffice()) : s.includes("ROLE_RH") ? C(oe().establishments()) : s.includes("ROLE_CANDIDATE") ? C(oe().candidateProfile()) : C();
|
|
1143
1145
|
}, A = (s) => JSON.parse(atob(s.split(".")[1]));
|
|
1144
1146
|
return {
|
|
1145
1147
|
keys: e,
|
|
@@ -1153,27 +1155,27 @@ const Hn = (e, t) => S("/v2/activity/candidate/:candidateId/establishment/:estab
|
|
|
1153
1155
|
refreshIfExpired: w,
|
|
1154
1156
|
authenticate: _,
|
|
1155
1157
|
clear: R,
|
|
1156
|
-
refresh:
|
|
1157
|
-
redirect:
|
|
1158
|
+
refresh: V,
|
|
1159
|
+
redirect: C,
|
|
1158
1160
|
redirectIfAuthenticated: v
|
|
1159
1161
|
};
|
|
1160
1162
|
};
|
|
1161
1163
|
// @__NO_SIDE_EFFECTS__
|
|
1162
|
-
function
|
|
1164
|
+
function ur(e) {
|
|
1163
1165
|
const t = /* @__PURE__ */ Object.create(null);
|
|
1164
1166
|
for (const i of e.split(",")) t[i] = 1;
|
|
1165
1167
|
return (i) => i in t;
|
|
1166
1168
|
}
|
|
1167
1169
|
process.env.NODE_ENV !== "production" && Object.freeze({});
|
|
1168
1170
|
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
1169
|
-
const Ze = Object.assign,
|
|
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) => {
|
|
1170
1172
|
const t = /* @__PURE__ */ Object.create(null);
|
|
1171
1173
|
return ((i) => t[i] || (t[i] = e(i)));
|
|
1172
|
-
},
|
|
1174
|
+
}, gr = yr((e) => e.charAt(0).toUpperCase() + e.slice(1)), ge = (e, t) => !Object.is(e, t);
|
|
1173
1175
|
function le(e, ...t) {
|
|
1174
1176
|
console.warn(`[Vue warn] ${e}`, ...t);
|
|
1175
1177
|
}
|
|
1176
|
-
let
|
|
1178
|
+
let hr, Et = 0, Me;
|
|
1177
1179
|
function et() {
|
|
1178
1180
|
Et++;
|
|
1179
1181
|
}
|
|
@@ -1198,10 +1200,10 @@ function tt() {
|
|
|
1198
1200
|
}
|
|
1199
1201
|
let Ee = !0;
|
|
1200
1202
|
const Ot = [];
|
|
1201
|
-
function
|
|
1203
|
+
function _r() {
|
|
1202
1204
|
Ot.push(Ee), Ee = !1;
|
|
1203
1205
|
}
|
|
1204
|
-
function
|
|
1206
|
+
function wr() {
|
|
1205
1207
|
const e = Ot.pop();
|
|
1206
1208
|
Ee = e === void 0 ? !0 : e;
|
|
1207
1209
|
}
|
|
@@ -1243,7 +1245,7 @@ const Je = /* @__PURE__ */ new WeakMap(), te = /* @__PURE__ */ Symbol(
|
|
|
1243
1245
|
process.env.NODE_ENV !== "production" ? "Array iterate" : ""
|
|
1244
1246
|
);
|
|
1245
1247
|
function x(e, t, i) {
|
|
1246
|
-
if (Ee &&
|
|
1248
|
+
if (Ee && hr) {
|
|
1247
1249
|
let r = Je.get(e);
|
|
1248
1250
|
r || Je.set(e, r = /* @__PURE__ */ new Map());
|
|
1249
1251
|
let o = r.get(i);
|
|
@@ -1274,8 +1276,8 @@ function Y(e, t, i, r, o, c) {
|
|
|
1274
1276
|
const p = we(e), w = p && Xe(i);
|
|
1275
1277
|
if (p && i === "length") {
|
|
1276
1278
|
const _ = Number(r);
|
|
1277
|
-
f.forEach((R,
|
|
1278
|
-
(
|
|
1279
|
+
f.forEach((R, V) => {
|
|
1280
|
+
(V === "length" || V === be || !ve(V) && V >= _) && y(R);
|
|
1279
1281
|
});
|
|
1280
1282
|
} else
|
|
1281
1283
|
switch ((i !== void 0 || f.has(void 0)) && y(f.get(i)), w && y(f.get(be)), t) {
|
|
@@ -1302,7 +1304,7 @@ function nt(e) {
|
|
|
1302
1304
|
function K(e, t) {
|
|
1303
1305
|
return /* @__PURE__ */ X(e) ? ke(/* @__PURE__ */ xt(e) ? z(t) : t) : z(t);
|
|
1304
1306
|
}
|
|
1305
|
-
const
|
|
1307
|
+
const Ir = {
|
|
1306
1308
|
__proto__: null,
|
|
1307
1309
|
[Symbol.iterator]() {
|
|
1308
1310
|
return Ne(this, Symbol.iterator, (e) => K(this, e));
|
|
@@ -1419,18 +1421,18 @@ function Ne(e, t, i) {
|
|
|
1419
1421
|
return c.done || (c.value = i(c.value)), c;
|
|
1420
1422
|
}), o;
|
|
1421
1423
|
}
|
|
1422
|
-
const
|
|
1424
|
+
const br = Array.prototype;
|
|
1423
1425
|
function J(e, t, i, r, o, c) {
|
|
1424
1426
|
const f = nt(e), y = f !== e && !/* @__PURE__ */ ee(e), p = f[t];
|
|
1425
|
-
if (p !==
|
|
1427
|
+
if (p !== br[t]) {
|
|
1426
1428
|
const R = p.apply(e, c);
|
|
1427
1429
|
return y ? z(R) : R;
|
|
1428
1430
|
}
|
|
1429
1431
|
let w = i;
|
|
1430
|
-
f !== e && (y ? w = function(R,
|
|
1431
|
-
return i.call(this, K(e, R),
|
|
1432
|
-
} : i.length > 2 && (w = function(R,
|
|
1433
|
-
return i.call(this, R,
|
|
1432
|
+
f !== e && (y ? w = function(R, V) {
|
|
1433
|
+
return i.call(this, K(e, R), V, e);
|
|
1434
|
+
} : i.length > 2 && (w = function(R, V) {
|
|
1435
|
+
return i.call(this, R, V, e);
|
|
1434
1436
|
}));
|
|
1435
1437
|
const _ = p.call(f, w, r);
|
|
1436
1438
|
return y && o ? o(_) : _;
|
|
@@ -1448,17 +1450,17 @@ function Ue(e, t, i) {
|
|
|
1448
1450
|
const r = /* @__PURE__ */ B(e);
|
|
1449
1451
|
x(r, "iterate", be);
|
|
1450
1452
|
const o = r[t](...i);
|
|
1451
|
-
return (o === -1 || o === !1) && /* @__PURE__ */
|
|
1453
|
+
return (o === -1 || o === !1) && /* @__PURE__ */ $r(i[0]) ? (i[0] = /* @__PURE__ */ B(i[0]), r[t](...i)) : o;
|
|
1452
1454
|
}
|
|
1453
1455
|
function me(e, t, i = []) {
|
|
1454
|
-
|
|
1456
|
+
_r(), et();
|
|
1455
1457
|
const r = (/* @__PURE__ */ B(e))[t].apply(e, i);
|
|
1456
|
-
return tt(),
|
|
1458
|
+
return tt(), wr(), r;
|
|
1457
1459
|
}
|
|
1458
|
-
const
|
|
1460
|
+
const kr = /* @__PURE__ */ ur("__proto__,__v_isRef,__isVue"), Bt = new Set(
|
|
1459
1461
|
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(ve)
|
|
1460
1462
|
);
|
|
1461
|
-
function
|
|
1463
|
+
function vr(e) {
|
|
1462
1464
|
ve(e) || (e = String(e));
|
|
1463
1465
|
const t = /* @__PURE__ */ B(this);
|
|
1464
1466
|
return x(t, "has", e), t.hasOwnProperty(e);
|
|
@@ -1477,16 +1479,16 @@ class Dt {
|
|
|
1477
1479
|
if (i === "__v_isShallow")
|
|
1478
1480
|
return c;
|
|
1479
1481
|
if (i === "__v_raw")
|
|
1480
|
-
return r === (o ? c ?
|
|
1482
|
+
return r === (o ? c ? Br : Mt : c ? Lr : $t).get(t) || // receiver is not the reactive proxy, but has the same prototype
|
|
1481
1483
|
// this means the receiver is a user proxy of the reactive proxy
|
|
1482
1484
|
Object.getPrototypeOf(t) === Object.getPrototypeOf(r) ? t : void 0;
|
|
1483
1485
|
const f = we(t);
|
|
1484
1486
|
if (!o) {
|
|
1485
1487
|
let p;
|
|
1486
|
-
if (f && (p =
|
|
1488
|
+
if (f && (p = Ir[i]))
|
|
1487
1489
|
return p;
|
|
1488
1490
|
if (i === "hasOwnProperty")
|
|
1489
|
-
return
|
|
1491
|
+
return vr;
|
|
1490
1492
|
}
|
|
1491
1493
|
const y = Reflect.get(
|
|
1492
1494
|
t,
|
|
@@ -1496,7 +1498,7 @@ class Dt {
|
|
|
1496
1498
|
// its class methods
|
|
1497
1499
|
/* @__PURE__ */ de(t) ? t : r
|
|
1498
1500
|
);
|
|
1499
|
-
if ((ve(i) ? Bt.has(i) :
|
|
1501
|
+
if ((ve(i) ? Bt.has(i) : kr(i)) || (o || x(t, "get", i), c))
|
|
1500
1502
|
return y;
|
|
1501
1503
|
if (/* @__PURE__ */ de(y)) {
|
|
1502
1504
|
const p = f && Xe(i) ? y : y.value;
|
|
@@ -1505,7 +1507,7 @@ class Dt {
|
|
|
1505
1507
|
return Ie(y) ? o ? /* @__PURE__ */ qe(y) : /* @__PURE__ */ Nt(y) : y;
|
|
1506
1508
|
}
|
|
1507
1509
|
}
|
|
1508
|
-
class
|
|
1510
|
+
class Sr extends Dt {
|
|
1509
1511
|
constructor(t = !1) {
|
|
1510
1512
|
super(!1, t);
|
|
1511
1513
|
}
|
|
@@ -1544,7 +1546,7 @@ class kr extends Dt {
|
|
|
1544
1546
|
), Reflect.ownKeys(t);
|
|
1545
1547
|
}
|
|
1546
1548
|
}
|
|
1547
|
-
class
|
|
1549
|
+
class Rr extends Dt {
|
|
1548
1550
|
constructor(t = !1) {
|
|
1549
1551
|
super(!0, t);
|
|
1550
1552
|
}
|
|
@@ -1561,8 +1563,8 @@ class vr extends Dt {
|
|
|
1561
1563
|
), !0;
|
|
1562
1564
|
}
|
|
1563
1565
|
}
|
|
1564
|
-
const
|
|
1565
|
-
function
|
|
1566
|
+
const Cr = /* @__PURE__ */ new Sr(), Vr = /* @__PURE__ */ new Rr(), We = (e) => e, Ce = (e) => Reflect.getPrototypeOf(e);
|
|
1567
|
+
function Ar(e, t, i) {
|
|
1566
1568
|
return function(...r) {
|
|
1567
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;
|
|
1568
1570
|
return !t && x(
|
|
@@ -1575,34 +1577,34 @@ function Vr(e, t, i) {
|
|
|
1575
1577
|
{
|
|
1576
1578
|
// iterator protocol
|
|
1577
1579
|
next() {
|
|
1578
|
-
const { value: R, done:
|
|
1579
|
-
return
|
|
1580
|
+
const { value: R, done: V } = w.next();
|
|
1581
|
+
return V ? { value: R, done: V } : {
|
|
1580
1582
|
value: y ? [_(R[0]), _(R[1])] : _(R),
|
|
1581
|
-
done:
|
|
1583
|
+
done: V
|
|
1582
1584
|
};
|
|
1583
1585
|
}
|
|
1584
1586
|
}
|
|
1585
1587
|
);
|
|
1586
1588
|
};
|
|
1587
1589
|
}
|
|
1588
|
-
function
|
|
1590
|
+
function Ve(e) {
|
|
1589
1591
|
return function(...t) {
|
|
1590
1592
|
if (process.env.NODE_ENV !== "production") {
|
|
1591
1593
|
const i = t[0] ? `on key "${t[0]}" ` : "";
|
|
1592
1594
|
le(
|
|
1593
|
-
`${
|
|
1595
|
+
`${gr(e)} operation ${i}failed: target is readonly.`,
|
|
1594
1596
|
/* @__PURE__ */ B(this)
|
|
1595
1597
|
);
|
|
1596
1598
|
}
|
|
1597
1599
|
return e === "delete" ? !1 : e === "clear" ? void 0 : this;
|
|
1598
1600
|
};
|
|
1599
1601
|
}
|
|
1600
|
-
function
|
|
1602
|
+
function Pr(e, t) {
|
|
1601
1603
|
const i = {
|
|
1602
1604
|
get(o) {
|
|
1603
1605
|
const c = this.__v_raw, f = /* @__PURE__ */ B(c), y = /* @__PURE__ */ B(o);
|
|
1604
1606
|
e || (ge(o, y) && x(f, "get", o), x(f, "get", y));
|
|
1605
|
-
const { has: p } =
|
|
1607
|
+
const { has: p } = Ce(f), w = t ? We : e ? ke : z;
|
|
1606
1608
|
if (p.call(f, o))
|
|
1607
1609
|
return w(c.get(o));
|
|
1608
1610
|
if (p.call(f, y))
|
|
@@ -1625,26 +1627,26 @@ function Cr(e, t) {
|
|
|
1625
1627
|
return Ze(
|
|
1626
1628
|
i,
|
|
1627
1629
|
e ? {
|
|
1628
|
-
add:
|
|
1629
|
-
set:
|
|
1630
|
-
delete:
|
|
1631
|
-
clear:
|
|
1630
|
+
add: Ve("add"),
|
|
1631
|
+
set: Ve("set"),
|
|
1632
|
+
delete: Ve("delete"),
|
|
1633
|
+
clear: Ve("clear")
|
|
1632
1634
|
} : {
|
|
1633
1635
|
add(o) {
|
|
1634
1636
|
!t && !/* @__PURE__ */ ee(o) && !/* @__PURE__ */ X(o) && (o = /* @__PURE__ */ B(o));
|
|
1635
1637
|
const c = /* @__PURE__ */ B(this);
|
|
1636
|
-
return
|
|
1638
|
+
return Ce(c).has.call(c, o) || (c.add(o), Y(c, "add", o, o)), this;
|
|
1637
1639
|
},
|
|
1638
1640
|
set(o, c) {
|
|
1639
1641
|
!t && !/* @__PURE__ */ ee(c) && !/* @__PURE__ */ X(c) && (c = /* @__PURE__ */ B(c));
|
|
1640
|
-
const f = /* @__PURE__ */ B(this), { has: y, get: p } =
|
|
1642
|
+
const f = /* @__PURE__ */ B(this), { has: y, get: p } = Ce(f);
|
|
1641
1643
|
let w = y.call(f, o);
|
|
1642
1644
|
w ? process.env.NODE_ENV !== "production" && ft(f, y, o) : (o = /* @__PURE__ */ B(o), w = y.call(f, o));
|
|
1643
1645
|
const _ = p.call(f, o);
|
|
1644
1646
|
return f.set(o, c), w ? ge(c, _) && Y(f, "set", o, c, _) : Y(f, "add", o, c), this;
|
|
1645
1647
|
},
|
|
1646
1648
|
delete(o) {
|
|
1647
|
-
const c = /* @__PURE__ */ B(this), { has: f, get: y } =
|
|
1649
|
+
const c = /* @__PURE__ */ B(this), { has: f, get: y } = Ce(c);
|
|
1648
1650
|
let p = f.call(c, o);
|
|
1649
1651
|
p ? process.env.NODE_ENV !== "production" && ft(c, f, o) : (o = /* @__PURE__ */ B(o), p = f.call(c, o));
|
|
1650
1652
|
const w = y ? y.call(c, o) : void 0, _ = c.delete(o);
|
|
@@ -1667,20 +1669,20 @@ function Cr(e, t) {
|
|
|
1667
1669
|
"entries",
|
|
1668
1670
|
Symbol.iterator
|
|
1669
1671
|
].forEach((o) => {
|
|
1670
|
-
i[o] =
|
|
1672
|
+
i[o] = Ar(o, e, t);
|
|
1671
1673
|
}), i;
|
|
1672
1674
|
}
|
|
1673
1675
|
function Tt(e, t) {
|
|
1674
|
-
const i =
|
|
1676
|
+
const i = Pr(e, t);
|
|
1675
1677
|
return (r, o, c) => o === "__v_isReactive" ? !e : o === "__v_isReadonly" ? e : o === "__v_raw" ? r : Reflect.get(
|
|
1676
1678
|
Ge(i, o) && o in r ? i : r,
|
|
1677
1679
|
o,
|
|
1678
1680
|
c
|
|
1679
1681
|
);
|
|
1680
1682
|
}
|
|
1681
|
-
const
|
|
1683
|
+
const Er = {
|
|
1682
1684
|
get: /* @__PURE__ */ Tt(!1, !1)
|
|
1683
|
-
},
|
|
1685
|
+
}, Or = {
|
|
1684
1686
|
get: /* @__PURE__ */ Tt(!0, !1)
|
|
1685
1687
|
};
|
|
1686
1688
|
function ft(e, t, i) {
|
|
@@ -1692,8 +1694,8 @@ function ft(e, t, i) {
|
|
|
1692
1694
|
);
|
|
1693
1695
|
}
|
|
1694
1696
|
}
|
|
1695
|
-
const $t = /* @__PURE__ */ new WeakMap(),
|
|
1696
|
-
function
|
|
1697
|
+
const $t = /* @__PURE__ */ new WeakMap(), Lr = /* @__PURE__ */ new WeakMap(), Mt = /* @__PURE__ */ new WeakMap(), Br = /* @__PURE__ */ new WeakMap();
|
|
1698
|
+
function Dr(e) {
|
|
1697
1699
|
switch (e) {
|
|
1698
1700
|
case "Object":
|
|
1699
1701
|
case "Array":
|
|
@@ -1707,16 +1709,16 @@ function Lr(e) {
|
|
|
1707
1709
|
return 0;
|
|
1708
1710
|
}
|
|
1709
1711
|
}
|
|
1710
|
-
function
|
|
1711
|
-
return e.__v_skip || !Object.isExtensible(e) ? 0 :
|
|
1712
|
+
function Tr(e) {
|
|
1713
|
+
return e.__v_skip || !Object.isExtensible(e) ? 0 : Dr(Pt(e));
|
|
1712
1714
|
}
|
|
1713
1715
|
// @__NO_SIDE_EFFECTS__
|
|
1714
1716
|
function Nt(e) {
|
|
1715
1717
|
return /* @__PURE__ */ X(e) ? e : Ut(
|
|
1716
1718
|
e,
|
|
1717
1719
|
!1,
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
+
Cr,
|
|
1721
|
+
Er,
|
|
1720
1722
|
$t
|
|
1721
1723
|
);
|
|
1722
1724
|
}
|
|
@@ -1725,8 +1727,8 @@ function qe(e) {
|
|
|
1725
1727
|
return Ut(
|
|
1726
1728
|
e,
|
|
1727
1729
|
!0,
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
+
Vr,
|
|
1731
|
+
Or,
|
|
1730
1732
|
Mt
|
|
1731
1733
|
);
|
|
1732
1734
|
}
|
|
@@ -1739,7 +1741,7 @@ function Ut(e, t, i, r, o) {
|
|
|
1739
1741
|
), e;
|
|
1740
1742
|
if (e.__v_raw && !(t && e.__v_isReactive))
|
|
1741
1743
|
return e;
|
|
1742
|
-
const c =
|
|
1744
|
+
const c = Tr(e);
|
|
1743
1745
|
if (c === 0)
|
|
1744
1746
|
return e;
|
|
1745
1747
|
const f = o.get(e);
|
|
@@ -1764,7 +1766,7 @@ function ee(e) {
|
|
|
1764
1766
|
return !!(e && e.__v_isShallow);
|
|
1765
1767
|
}
|
|
1766
1768
|
// @__NO_SIDE_EFFECTS__
|
|
1767
|
-
function
|
|
1769
|
+
function $r(e) {
|
|
1768
1770
|
return e ? !!e.__v_raw : !1;
|
|
1769
1771
|
}
|
|
1770
1772
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -1779,12 +1781,12 @@ function de(e) {
|
|
|
1779
1781
|
}
|
|
1780
1782
|
// @__NO_SIDE_EFFECTS__
|
|
1781
1783
|
function it(e) {
|
|
1782
|
-
return
|
|
1784
|
+
return Mr(e, !1);
|
|
1783
1785
|
}
|
|
1784
|
-
function
|
|
1785
|
-
return /* @__PURE__ */ de(e) ? e : new
|
|
1786
|
+
function Mr(e, t) {
|
|
1787
|
+
return /* @__PURE__ */ de(e) ? e : new Nr(e, t);
|
|
1786
1788
|
}
|
|
1787
|
-
class
|
|
1789
|
+
class Nr {
|
|
1788
1790
|
constructor(t, i) {
|
|
1789
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;
|
|
1790
1792
|
}
|
|
@@ -1806,16 +1808,16 @@ class $r {
|
|
|
1806
1808
|
}) : this.dep.trigger());
|
|
1807
1809
|
}
|
|
1808
1810
|
}
|
|
1809
|
-
const
|
|
1811
|
+
const Ms = () => {
|
|
1810
1812
|
const e = /* @__PURE__ */ it({});
|
|
1811
1813
|
return {
|
|
1812
1814
|
establishments: e,
|
|
1813
1815
|
fetch: async (i, r = !1) => {
|
|
1814
1816
|
if (!(e.value[i] && !r))
|
|
1815
|
-
return
|
|
1817
|
+
return Vt().authorizations(i).send().then((o) => e.value = { ...e.value, [i]: o.getData() });
|
|
1816
1818
|
}
|
|
1817
1819
|
};
|
|
1818
|
-
},
|
|
1820
|
+
}, Ns = () => {
|
|
1819
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"));
|
|
1820
1822
|
return {
|
|
1821
1823
|
user: e,
|
|
@@ -1828,18 +1830,18 @@ const Ts = () => {
|
|
|
1828
1830
|
const y = localStorage.getItem("self");
|
|
1829
1831
|
e.value = y ? JSON.parse(y) : void 0;
|
|
1830
1832
|
}
|
|
1831
|
-
return (e.value === void 0 || f) && await
|
|
1833
|
+
return (e.value === void 0 || f) && await sr().self().send().then((y) => {
|
|
1832
1834
|
e.value = y.getData(), localStorage.setItem("self", JSON.stringify(e.value));
|
|
1833
1835
|
}), e.value;
|
|
1834
1836
|
}
|
|
1835
1837
|
};
|
|
1836
|
-
},
|
|
1838
|
+
}, Us = (e) => {
|
|
1837
1839
|
const t = /* @__PURE__ */ it(void 0);
|
|
1838
1840
|
return {
|
|
1839
1841
|
establishment: t,
|
|
1840
1842
|
fetch: async (o) => {
|
|
1841
1843
|
const c = localStorage.getItem("establishment");
|
|
1842
|
-
return t.value = c ? JSON.parse(c) : void 0, (o || t.value === void 0 || t.value.id !== rt(e)) && await
|
|
1844
|
+
return t.value = c ? JSON.parse(c) : void 0, (o || t.value === void 0 || t.value.id !== rt(e)) && await Vt().read(rt(e)).addGroup("Establishment:id").addGroup("Establishment:uuid").addGroup("Establishment:name").addGroup("Establishment:idhublo").addGroup("Establishment:subdomain").addGroup("Subdomain:id").addGroup("Subdomain:name").addGroup("Subdomain:enabled").send().then((f) => {
|
|
1843
1845
|
t.value = f.getData(), localStorage.setItem("establishment", JSON.stringify(t.value));
|
|
1844
1846
|
}), t.value;
|
|
1845
1847
|
},
|
|
@@ -1847,7 +1849,7 @@ const Ts = () => {
|
|
|
1847
1849
|
t.value = void 0, localStorage.removeItem("establishment");
|
|
1848
1850
|
}
|
|
1849
1851
|
};
|
|
1850
|
-
},
|
|
1852
|
+
}, xs = () => ({
|
|
1851
1853
|
page__CandidateLoginViewed: async (s = {}) => l.page("Candidate Login Viewed", s.category ?? "Authentication"),
|
|
1852
1854
|
page__InstitutionListViewed: async (s) => (m(s, {
|
|
1853
1855
|
companyId: (n) => a(n),
|
|
@@ -1885,12 +1887,12 @@ const Ts = () => {
|
|
|
1885
1887
|
email: (n) => a(n),
|
|
1886
1888
|
error: (n) => b(n, a)
|
|
1887
1889
|
}) || u.warn('Invalid properties for analytics call "User Sign In Failed".'), l.track("User Sign In Failed", s.category ?? "Authentication", s))
|
|
1888
|
-
}),
|
|
1890
|
+
}), js = () => ({
|
|
1889
1891
|
page__AboutConfigurationViewed: async (t) => (m(t, {
|
|
1890
1892
|
companyId: (i) => a(i),
|
|
1891
1893
|
institutionId: (i) => b(i, a)
|
|
1892
1894
|
}) || u.warn('Invalid properties for analytics call "About Configuration Viewed".'), l.page("About Configuration Viewed", t.category ?? "Career Private", t))
|
|
1893
|
-
}),
|
|
1895
|
+
}), Fs = () => ({
|
|
1894
1896
|
page__AboutViewed: async (s) => (m(s, {
|
|
1895
1897
|
companyId: (n) => a(n),
|
|
1896
1898
|
institutionId: (n) => b(n, a)
|
|
@@ -1978,7 +1980,7 @@ const Ts = () => {
|
|
|
1978
1980
|
jobOfferId: (n) => a(n),
|
|
1979
1981
|
recruitmentId: (n) => a(n)
|
|
1980
1982
|
}) || u.warn('Invalid properties for analytics call "Spontaneous Application Sent".'), l.track("Spontaneous Application Sent", s.category ?? "Career Public", s))
|
|
1981
|
-
}),
|
|
1983
|
+
}), Hs = () => ({
|
|
1982
1984
|
page__AddCandidateDocumentViewed: async (s) => (m(s, {
|
|
1983
1985
|
companyId: (n) => a(n),
|
|
1984
1986
|
institutionId: (n) => b(n, a)
|
|
@@ -2050,7 +2052,7 @@ const Ts = () => {
|
|
|
2050
2052
|
institutionId: (n) => b(n, a),
|
|
2051
2053
|
selections: (n) => b(n, a)
|
|
2052
2054
|
}) || u.warn('Invalid properties for analytics call "Document Upload Failed".'), l.track("Document Upload Failed", s.category ?? "CV Bank", s))
|
|
2053
|
-
}),
|
|
2055
|
+
}), Gs = () => ({
|
|
2054
2056
|
campaign__EmailContinueApplication: async (v = {}) => l.campaign("Email: Continue Application", v.category ?? "Hubler Application"),
|
|
2055
2057
|
campaign__EmailFinalizeYourApplication: async (v = {}) => l.campaign("Email: Finalize Your Application", v.category ?? "Hubler Application"),
|
|
2056
2058
|
campaign__EmailFollowUpApplication: async (v = {}) => l.campaign("Email: Follow Up Application", v.category ?? "Hubler Application"),
|
|
@@ -2094,7 +2096,7 @@ const Ts = () => {
|
|
|
2094
2096
|
jobOfferId: (A) => a(A),
|
|
2095
2097
|
recruitmentId: (A) => a(A)
|
|
2096
2098
|
}) || u.warn('Invalid properties for analytics call "Application Form Failed".'), l.track("Application Form Failed", v.category ?? "Hubler Application", v))
|
|
2097
|
-
}),
|
|
2099
|
+
}), Js = () => ({
|
|
2098
2100
|
track__UserSignedIn: async (o) => (m(o, {
|
|
2099
2101
|
companyId: (c) => a(c),
|
|
2100
2102
|
email: (c) => a(c),
|
|
@@ -2113,13 +2115,13 @@ const Ts = () => {
|
|
|
2113
2115
|
email: (c) => a(c),
|
|
2114
2116
|
error: (c) => b(c, a)
|
|
2115
2117
|
}) || u.warn('Invalid properties for analytics call "User Signed Up Failed".'), l.track("User Signed Up Failed", o.category ?? "Hubler Authentication", o))
|
|
2116
|
-
}),
|
|
2118
|
+
}), zs = () => ({
|
|
2117
2119
|
page__CalendarViewed: async (t) => (m(t, {
|
|
2118
2120
|
companyId: (i) => a(i),
|
|
2119
2121
|
institutionId: (i) => b(i, a),
|
|
2120
2122
|
recruitmentId: (i) => a(i)
|
|
2121
2123
|
}) || u.warn('Invalid properties for analytics call "Calendar Viewed".'), l.page("Calendar Viewed", t.category ?? "Hubler Calendar", t))
|
|
2122
|
-
}),
|
|
2124
|
+
}), Ws = () => ({
|
|
2123
2125
|
page__DocumentListViewed: async (o = {}) => l.page("Document List Viewed", o.category ?? "Hubler Document"),
|
|
2124
2126
|
track__DocumentAdded: async (o) => (m(o, {
|
|
2125
2127
|
format: (c) => b(c, a),
|
|
@@ -2135,7 +2137,7 @@ const Ts = () => {
|
|
|
2135
2137
|
hublerId: (c) => a(c),
|
|
2136
2138
|
hublerType: (c) => a(c)
|
|
2137
2139
|
}) || u.warn('Invalid properties for analytics call "Document Downloaded".'), l.track("Document Downloaded", o.category ?? "Hubler Document", o))
|
|
2138
|
-
}),
|
|
2140
|
+
}), qs = () => ({
|
|
2139
2141
|
page__AddExperienceViewed: async (p = {}) => l.page("Add Experience Viewed", p.category ?? "Hubler Resume"),
|
|
2140
2142
|
page__ResumeViewed: async (p = {}) => l.page("Resume Viewed", p.category ?? "Hubler Resume"),
|
|
2141
2143
|
track__ResumeDiplomaAdded: async (p = {}) => l.track("Resume Diploma Added", p.category ?? "Hubler Resume"),
|
|
@@ -2144,12 +2146,12 @@ const Ts = () => {
|
|
|
2144
2146
|
track__ResumePictureUploaded: async (p = {}) => l.track("Resume Picture Uploaded", p.category ?? "Hubler Resume"),
|
|
2145
2147
|
track__ResumeSaved: async (p = {}) => l.track("Resume Saved", p.category ?? "Hubler Resume"),
|
|
2146
2148
|
track__ResumeSkillAdded: async (p = {}) => l.track("Resume Skill Added", p.category ?? "Hubler Resume")
|
|
2147
|
-
}),
|
|
2149
|
+
}), Qs = () => ({
|
|
2148
2150
|
page__SettingAdministrativeViewed: async (o = {}) => l.page("Setting Administrative Viewed", o.category ?? "Hubler Settings"),
|
|
2149
2151
|
page__SettingGeneralViewed: async (o = {}) => l.page("Setting General Viewed", o.category ?? "Hubler Settings"),
|
|
2150
2152
|
page__SettingNotificationViewed: async (o = {}) => l.page("Setting Notification Viewed", o.category ?? "Hubler Settings"),
|
|
2151
2153
|
page__SettingSecurityViewed: async (o = {}) => l.page("Setting Security Viewed", o.category ?? "Hubler Settings")
|
|
2152
|
-
}),
|
|
2154
|
+
}), Ks = () => ({
|
|
2153
2155
|
page__JobOfferListViewed: async (s) => (m(s, {
|
|
2154
2156
|
companyId: (n) => a(n),
|
|
2155
2157
|
institutionId: (n) => b(n, a),
|
|
@@ -2235,10 +2237,10 @@ const Ts = () => {
|
|
|
2235
2237
|
jobOfferId: (n) => a(n),
|
|
2236
2238
|
recruitmentId: (n) => a(n)
|
|
2237
2239
|
}) || u.warn('Invalid properties for analytics call "Offer - Published".'), l.track("Offer - Published", s.category ?? "Job Offer", s))
|
|
2238
|
-
}),
|
|
2240
|
+
}), Ys = () => ({
|
|
2239
2241
|
page__MessagingDiscussionViewed: async (i = {}) => l.page("Messaging Discussion Viewed", i.category ?? "Messaging"),
|
|
2240
2242
|
page__MessengingViewed: async (i = {}) => l.page("Messenging Viewed", i.category ?? "Messaging")
|
|
2241
|
-
}),
|
|
2243
|
+
}), Zs = () => ({
|
|
2242
2244
|
page__ProfileViewed: async (n) => (m(n, {
|
|
2243
2245
|
companyId: (I) => a(I),
|
|
2244
2246
|
hublerId: (I) => a(I),
|
|
@@ -2314,7 +2316,7 @@ const Ts = () => {
|
|
|
2314
2316
|
companyId: (I) => a(I),
|
|
2315
2317
|
hublerId: (I) => a(I)
|
|
2316
2318
|
}) || u.warn('Invalid properties for analytics call "Profile Tab Selected".'), l.track("Profile Tab Selected", n.category ?? "Profile", n))
|
|
2317
|
-
}),
|
|
2319
|
+
}), Xs = () => ({
|
|
2318
2320
|
page__ApplicationListViewed: async (g) => (m(g, {
|
|
2319
2321
|
companyId: (d) => a(d),
|
|
2320
2322
|
institutionId: (d) => b(d, a),
|
|
@@ -2493,7 +2495,7 @@ const Ts = () => {
|
|
|
2493
2495
|
institutionId: (d) => b(d, a),
|
|
2494
2496
|
recruitmentId: (d) => a(d)
|
|
2495
2497
|
}) || u.warn('Invalid properties for analytics call "Update Recruitment Clicked".'), l.track("Update Recruitment Clicked", g.category ?? "Recruitment", g))
|
|
2496
|
-
}),
|
|
2498
|
+
}), ec = () => ({
|
|
2497
2499
|
page__EmailTemplateCreateViewed: async (f = {}) => l.page("Email Template Create Viewed", f.category ?? "Settings"),
|
|
2498
2500
|
page__EmailTemplateEditViewed: async (f = {}) => l.page("Email Template Edit Viewed", f.category ?? "Settings"),
|
|
2499
2501
|
page__EmailTemplateViewed: async (f = {}) => l.page("Email Template Viewed", f.category ?? "Settings"),
|
|
@@ -2503,17 +2505,17 @@ const Ts = () => {
|
|
|
2503
2505
|
}) || u.warn('Invalid properties for analytics call "Settings General Viewed".'), l.page("Settings General Viewed", f.category ?? "Settings", f)),
|
|
2504
2506
|
page__SettingsNotificationViewed: async (f = {}) => l.page("Settings Notification Viewed", f.category ?? "Settings"),
|
|
2505
2507
|
page__SettingsSecurityViewed: async (f = {}) => l.page("Settings Security Viewed", f.category ?? "Settings")
|
|
2506
|
-
}),
|
|
2508
|
+
}), tc = () => ({
|
|
2507
2509
|
page__SourcingViewed: async (t) => (m(t, {
|
|
2508
2510
|
companyId: (i) => a(i),
|
|
2509
2511
|
institutionId: (i) => b(i, a)
|
|
2510
2512
|
}) || u.warn('Invalid properties for analytics call "Sourcing Viewed".'), l.page("Sourcing Viewed", t.category ?? "Sourcing", t))
|
|
2511
|
-
}),
|
|
2513
|
+
}), nc = () => ({
|
|
2512
2514
|
page__StatisticsViewed: async (t) => (m(t, {
|
|
2513
2515
|
companyId: (i) => a(i),
|
|
2514
2516
|
institutionId: (i) => b(i, a)
|
|
2515
2517
|
}) || u.warn('Invalid properties for analytics call "Statistics Viewed".'), l.page("Statistics Viewed", t.category ?? "Statistics", t))
|
|
2516
|
-
}),
|
|
2518
|
+
}), ic = () => ({
|
|
2517
2519
|
page__CareerSitePreviewViewed: async (h) => (m(h, {
|
|
2518
2520
|
companyId: (E) => a(E)
|
|
2519
2521
|
}) || u.warn('Invalid properties for analytics call "Career Site Preview Viewed".'), l.page("Career Site Preview Viewed", h.category ?? "Visual Builder", h)),
|
|
@@ -2625,80 +2627,80 @@ function O() {
|
|
|
2625
2627
|
return i;
|
|
2626
2628
|
}
|
|
2627
2629
|
function f() {
|
|
2628
|
-
const
|
|
2629
|
-
if (!
|
|
2630
|
+
const V = window.analytics = window.analytics || [];
|
|
2631
|
+
if (!V.initialize && V.invoked)
|
|
2630
2632
|
u.error("Segment snippet included twice.");
|
|
2631
2633
|
else {
|
|
2632
|
-
|
|
2634
|
+
V.invoked = !0, V.methods = ["trackSubmit", "trackClick", "trackLink", "trackForm", "pageview", "identify", "reset", "group", "track", "ready", "alias", "debug", "page", "once", "off", "on", "addSourceMiddleware", "addIntegrationMiddleware", "setAnonymousId", "addDestinationMiddleware"], V.factory = function(C) {
|
|
2633
2635
|
return function() {
|
|
2634
|
-
if (window.analytics.initialized) return window.analytics[
|
|
2636
|
+
if (window.analytics.initialized) return window.analytics[C].apply(window.analytics, arguments);
|
|
2635
2637
|
const v = Array.prototype.slice.call(arguments);
|
|
2636
|
-
return v.unshift(
|
|
2638
|
+
return v.unshift(C), V.push(v), V;
|
|
2637
2639
|
};
|
|
2638
2640
|
};
|
|
2639
|
-
for (let
|
|
2640
|
-
const v =
|
|
2641
|
-
|
|
2641
|
+
for (let C = 0; C < V.methods.length; C++) {
|
|
2642
|
+
const v = V.methods[C];
|
|
2643
|
+
V[v] = V.factory(v);
|
|
2642
2644
|
}
|
|
2643
|
-
|
|
2645
|
+
V.load = function(C, v) {
|
|
2644
2646
|
const A = document.createElement("script");
|
|
2645
|
-
A.id = "analytics-script", A.type = "text/javascript", A.async = !0, A.src = "https://cdn.segment.com/analytics.js/v1/" +
|
|
2647
|
+
A.id = "analytics-script", A.type = "text/javascript", A.async = !0, A.src = "https://cdn.segment.com/analytics.js/v1/" + C + "/analytics.min.js", A.onerror = () => window.dispatchEvent(new Event("analytics-error"));
|
|
2646
2648
|
const s = document.getElementsByTagName("script")[0];
|
|
2647
|
-
s.parentNode.insertBefore(A, s),
|
|
2648
|
-
},
|
|
2649
|
+
s.parentNode.insertBefore(A, s), V._loadOptions = v;
|
|
2650
|
+
}, V._writeKey = t, V.SNIPPET_VERSION = "4.16.1", V.load(t), V.page(), V.ready(() => window.dispatchEvent(new Event("analytics-ready")));
|
|
2649
2651
|
}
|
|
2650
2652
|
}
|
|
2651
2653
|
async function y() {
|
|
2652
|
-
return o !== null || (o = new Promise((
|
|
2654
|
+
return o !== null || (o = new Promise((V, C) => {
|
|
2653
2655
|
if (!c())
|
|
2654
|
-
return R("Analytics is disabled."),
|
|
2656
|
+
return R("Analytics is disabled."), V();
|
|
2655
2657
|
if (window.addEventListener("analytics-ready", () => {
|
|
2656
|
-
R("Analytics script loaded successfully."),
|
|
2658
|
+
R("Analytics script loaded successfully."), V();
|
|
2657
2659
|
}), window.addEventListener("analytics-error", () => {
|
|
2658
|
-
R("Analytics script failed to load. Consider disabling your AdBlocker.", null, "error"),
|
|
2659
|
-
}), R("Loading Analytics script."), window.analytics) return
|
|
2660
|
+
R("Analytics script failed to load. Consider disabling your AdBlocker.", null, "error"), C();
|
|
2661
|
+
}), R("Loading Analytics script."), window.analytics) return V();
|
|
2660
2662
|
f();
|
|
2661
2663
|
})), o;
|
|
2662
2664
|
}
|
|
2663
|
-
async function p(
|
|
2665
|
+
async function p(V, C) {
|
|
2664
2666
|
if (!ce())
|
|
2665
2667
|
try {
|
|
2666
|
-
if (await this.analyticsScriptReady(), R("[identify]", [
|
|
2667
|
-
return window.analytics.identify(
|
|
2668
|
+
if (await this.analyticsScriptReady(), R("[identify]", [V, C]), c())
|
|
2669
|
+
return window.analytics.identify(V, C);
|
|
2668
2670
|
} catch {
|
|
2669
|
-
R("[identify]", [
|
|
2671
|
+
R("[identify]", [V, C], "error");
|
|
2670
2672
|
}
|
|
2671
2673
|
}
|
|
2672
|
-
async function w(
|
|
2674
|
+
async function w(V, C, v) {
|
|
2673
2675
|
if (!ce()) {
|
|
2674
2676
|
typeof v != "object" && (v = {});
|
|
2675
2677
|
try {
|
|
2676
|
-
if (await this.analyticsScriptReady(), R("[page]", [
|
|
2677
|
-
return window.analytics.page(
|
|
2678
|
-
category:
|
|
2678
|
+
if (await this.analyticsScriptReady(), R("[page]", [V, C, v]), c())
|
|
2679
|
+
return window.analytics.page(V, {
|
|
2680
|
+
category: C,
|
|
2679
2681
|
...v
|
|
2680
2682
|
});
|
|
2681
2683
|
} catch (A) {
|
|
2682
|
-
console.log(A), R("[page]", [
|
|
2684
|
+
console.log(A), R("[page]", [V, C, v], "error");
|
|
2683
2685
|
}
|
|
2684
2686
|
}
|
|
2685
2687
|
}
|
|
2686
|
-
async function _(
|
|
2688
|
+
async function _(V, C, v) {
|
|
2687
2689
|
if (!ce()) {
|
|
2688
2690
|
typeof v != "object" && (v = {});
|
|
2689
2691
|
try {
|
|
2690
|
-
if (await this.analyticsScriptReady(), R("[track]", [
|
|
2691
|
-
return window.analytics.track(
|
|
2692
|
-
category:
|
|
2692
|
+
if (await this.analyticsScriptReady(), R("[track]", [V, C, v]), c())
|
|
2693
|
+
return window.analytics.track(V, {
|
|
2694
|
+
category: C,
|
|
2693
2695
|
...v
|
|
2694
2696
|
});
|
|
2695
2697
|
} catch {
|
|
2696
|
-
R("[track]", [
|
|
2698
|
+
R("[track]", [V, C, v], "error");
|
|
2697
2699
|
}
|
|
2698
2700
|
}
|
|
2699
2701
|
}
|
|
2700
|
-
function R(
|
|
2701
|
-
|
|
2702
|
+
function R(V, C = [], v = "info") {
|
|
2703
|
+
C || (C = []), r && u[v](`::SDK Analytics:: ${V}`, ...C);
|
|
2702
2704
|
}
|
|
2703
2705
|
return pe = {
|
|
2704
2706
|
analyticsScriptReady: y,
|
|
@@ -2710,7 +2712,7 @@ function O() {
|
|
|
2710
2712
|
}, pe;
|
|
2711
2713
|
}
|
|
2712
2714
|
O.destroy = () => pe = null;
|
|
2713
|
-
function
|
|
2715
|
+
function Ur() {
|
|
2714
2716
|
const e = "Hubler Application";
|
|
2715
2717
|
function t(w) {
|
|
2716
2718
|
if (!w) throw new Error(`Missing arguments for domain "${e}"`);
|
|
@@ -2755,7 +2757,7 @@ function Mr() {
|
|
|
2755
2757
|
applicationFormFailed: p
|
|
2756
2758
|
};
|
|
2757
2759
|
}
|
|
2758
|
-
function
|
|
2760
|
+
function xr() {
|
|
2759
2761
|
const e = "Profile";
|
|
2760
2762
|
function t(n, I) {
|
|
2761
2763
|
if (!n) throw new Error(`Missing arguments for domain "${e}"`);
|
|
@@ -2795,10 +2797,10 @@ function Nr() {
|
|
|
2795
2797
|
async function R(n) {
|
|
2796
2798
|
return O().track(n.name, e, t(n.properties, !0));
|
|
2797
2799
|
}
|
|
2798
|
-
async function
|
|
2800
|
+
async function V(n) {
|
|
2799
2801
|
return O().track(n.name, e, t(n.properties, !0));
|
|
2800
2802
|
}
|
|
2801
|
-
async function
|
|
2803
|
+
async function C(n) {
|
|
2802
2804
|
return O().track(n.name, e, t(n.properties, !0));
|
|
2803
2805
|
}
|
|
2804
2806
|
async function v(n) {
|
|
@@ -2821,14 +2823,14 @@ function Nr() {
|
|
|
2821
2823
|
profileDocumentAdded: w,
|
|
2822
2824
|
profileDocumentDownloaded: _,
|
|
2823
2825
|
profileDocumentRequested: R,
|
|
2824
|
-
profileRecruitmentAdded:
|
|
2825
|
-
profileRecruitmentRemoved:
|
|
2826
|
+
profileRecruitmentAdded: V,
|
|
2827
|
+
profileRecruitmentRemoved: C,
|
|
2826
2828
|
profileTabSelected: v,
|
|
2827
2829
|
profileViewed: A,
|
|
2828
2830
|
profileEmailSent: s
|
|
2829
2831
|
};
|
|
2830
2832
|
}
|
|
2831
|
-
function
|
|
2833
|
+
function jr() {
|
|
2832
2834
|
const e = "Recruitment";
|
|
2833
2835
|
function t(r) {
|
|
2834
2836
|
if (!r) throw new Error(`Missing arguments for domain "${e}"`);
|
|
@@ -2844,7 +2846,7 @@ function Ur() {
|
|
|
2844
2846
|
candidateAdded: i
|
|
2845
2847
|
};
|
|
2846
2848
|
}
|
|
2847
|
-
function
|
|
2849
|
+
function Fr() {
|
|
2848
2850
|
const e = "Visual Builder";
|
|
2849
2851
|
function t(k, at) {
|
|
2850
2852
|
if (!k) throw new Error(`Missing arguments for domain "${e}"`);
|
|
@@ -2883,10 +2885,10 @@ function xr() {
|
|
|
2883
2885
|
async function R(k) {
|
|
2884
2886
|
return O().track(k.name, e, t(k.properties, !0));
|
|
2885
2887
|
}
|
|
2886
|
-
async function
|
|
2888
|
+
async function V(k) {
|
|
2887
2889
|
return O().page(k.name, e, t(k.properties, !0));
|
|
2888
2890
|
}
|
|
2889
|
-
async function
|
|
2891
|
+
async function C(k) {
|
|
2890
2892
|
return O().page(k.name, e, t(k.properties, !0));
|
|
2891
2893
|
}
|
|
2892
2894
|
async function v(k) {
|
|
@@ -2919,7 +2921,7 @@ function xr() {
|
|
|
2919
2921
|
async function L(k) {
|
|
2920
2922
|
return O().track(k.name, e, t(k.properties, !0));
|
|
2921
2923
|
}
|
|
2922
|
-
async function
|
|
2924
|
+
async function j(k) {
|
|
2923
2925
|
return O().track(k.name, e, t(k.properties, !0));
|
|
2924
2926
|
}
|
|
2925
2927
|
async function W(k) {
|
|
@@ -2963,8 +2965,8 @@ function xr() {
|
|
|
2963
2965
|
setupEditionDoneViewed: w,
|
|
2964
2966
|
setupExternalLinkViewed: _,
|
|
2965
2967
|
setupImageUploaded: R,
|
|
2966
|
-
setupImageViewed:
|
|
2967
|
-
setupLocationViewed:
|
|
2968
|
+
setupImageViewed: V,
|
|
2969
|
+
setupLocationViewed: C,
|
|
2968
2970
|
setupPresentationContentAdded: v,
|
|
2969
2971
|
setupPresentationNewTabAdded: A,
|
|
2970
2972
|
setupPresentationViewed: s,
|
|
@@ -2975,7 +2977,7 @@ function xr() {
|
|
|
2975
2977
|
setupImageUploadFailed: $,
|
|
2976
2978
|
fastCopyLinkClicked: M,
|
|
2977
2979
|
setupBenefitCustomDeleted: L,
|
|
2978
|
-
setupBenefitCustomEdited:
|
|
2980
|
+
setupBenefitCustomEdited: j,
|
|
2979
2981
|
setupContactDeleted: W,
|
|
2980
2982
|
setupContactEdited: fe,
|
|
2981
2983
|
setupContactNewClicked: U,
|
|
@@ -2990,12 +2992,12 @@ function xr() {
|
|
|
2990
2992
|
}
|
|
2991
2993
|
const mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2992
2994
|
__proto__: null,
|
|
2993
|
-
useAnalyticsHublerApplication:
|
|
2994
|
-
useAnalyticsProfile:
|
|
2995
|
-
useAnalyticsRecruitment:
|
|
2996
|
-
useAnalyticsVisualBuilder:
|
|
2995
|
+
useAnalyticsHublerApplication: Ur,
|
|
2996
|
+
useAnalyticsProfile: xr,
|
|
2997
|
+
useAnalyticsRecruitment: jr,
|
|
2998
|
+
useAnalyticsVisualBuilder: Fr
|
|
2997
2999
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2998
|
-
function
|
|
3000
|
+
function ac() {
|
|
2999
3001
|
function e(i) {
|
|
3000
3002
|
return O().identify(i.id, {
|
|
3001
3003
|
email: i.email,
|
|
@@ -3018,13 +3020,13 @@ function nc() {
|
|
|
3018
3020
|
};
|
|
3019
3021
|
}
|
|
3020
3022
|
let Ae = null;
|
|
3021
|
-
const
|
|
3023
|
+
const Hr = async (e, t) => {
|
|
3022
3024
|
try {
|
|
3023
3025
|
return await Oe(), u.info("[identify]", [e, t]), window.analytics.identify(e, t);
|
|
3024
3026
|
} catch {
|
|
3025
3027
|
u.error("[identify]", [e, t]);
|
|
3026
3028
|
}
|
|
3027
|
-
},
|
|
3029
|
+
}, Gr = async (e, t, i) => {
|
|
3028
3030
|
if (e) {
|
|
3029
3031
|
typeof i != "object" && (i = {});
|
|
3030
3032
|
try {
|
|
@@ -3037,7 +3039,7 @@ const Fr = async (e, t) => {
|
|
|
3037
3039
|
u.error("[page]", [e, t, i]);
|
|
3038
3040
|
}
|
|
3039
3041
|
}
|
|
3040
|
-
},
|
|
3042
|
+
}, Jr = async (e, t, i) => {
|
|
3041
3043
|
if (e) {
|
|
3042
3044
|
typeof i != "object" && (i = {});
|
|
3043
3045
|
try {
|
|
@@ -3053,7 +3055,7 @@ const Fr = async (e, t) => {
|
|
|
3053
3055
|
}, Qe = () => {
|
|
3054
3056
|
const e = H.getEnvironment();
|
|
3055
3057
|
return e === "prod" || e === "production" ? "pPROC7dPoJ7XdxHrwsTQNXCGX79MJjhp" : e === "staging" ? "823rqOTwVk1ZCWVyBAdLInZ77TcFF0CF" : "TMZX6evFnu87JrBHV5qLwHsld5C6hilZ";
|
|
3056
|
-
},
|
|
3058
|
+
}, jt = () => {
|
|
3057
3059
|
const e = window.analytics = window.analytics || [];
|
|
3058
3060
|
if (!e.initialize && e.invoked)
|
|
3059
3061
|
u.error("Segment snippet included twice.");
|
|
@@ -3082,37 +3084,37 @@ const Fr = async (e, t) => {
|
|
|
3082
3084
|
}), window.addEventListener("analytics-error", () => {
|
|
3083
3085
|
u.error("Analytics script failed to load. Consider disabling your AdBlocker."), t();
|
|
3084
3086
|
}), u.info("Loading Analytics script."), window.analytics) return e();
|
|
3085
|
-
|
|
3087
|
+
jt();
|
|
3086
3088
|
})), Ae), l = {
|
|
3087
3089
|
key: Qe,
|
|
3088
|
-
appendScript:
|
|
3090
|
+
appendScript: jt,
|
|
3089
3091
|
ready: Oe,
|
|
3090
|
-
identify:
|
|
3091
|
-
page:
|
|
3092
|
-
track:
|
|
3093
|
-
},
|
|
3094
|
-
let
|
|
3092
|
+
identify: Hr,
|
|
3093
|
+
page: Gr,
|
|
3094
|
+
track: Jr
|
|
3095
|
+
}, zr = "AIzaSyBd9aaBeos2tzRIKO6VOMdL0iVT_F3CysU";
|
|
3096
|
+
let Ft = !1;
|
|
3095
3097
|
const Ht = () => new Promise((e) => {
|
|
3096
|
-
ce() ||
|
|
3097
|
-
}),
|
|
3098
|
-
ce() ||
|
|
3099
|
-
}),
|
|
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) => {
|
|
3100
3102
|
const i = new window.google.maps.places.Autocomplete(e, { componentRestrictions: { country: ["fr", "re", "yt", "gp", "mq"] } });
|
|
3101
3103
|
window.google.maps.event.addListener(i, "place_changed", () => {
|
|
3102
3104
|
const r = i.getPlace();
|
|
3103
3105
|
r.formatted_address && t && t(r.formatted_address, r);
|
|
3104
3106
|
});
|
|
3105
|
-
},
|
|
3107
|
+
}, Qr = () => {
|
|
3106
3108
|
window.onGmapScriptReady = () => {
|
|
3107
3109
|
};
|
|
3108
3110
|
const e = document.createElement("script");
|
|
3109
|
-
e.src = "https://maps.googleapis.com/maps/api/js?key=" +
|
|
3110
|
-
},
|
|
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 = {
|
|
3111
3113
|
scriptReady: Ht,
|
|
3112
|
-
autocompleteInput:
|
|
3113
|
-
},
|
|
3114
|
+
autocompleteInput: Wr
|
|
3115
|
+
}, Kr = "952da2cb-81ea-11ea-ad85-06f7e2c08348", Yr = (e = 0) => {
|
|
3114
3116
|
setTimeout(() => {
|
|
3115
|
-
window.STONLY_WID =
|
|
3117
|
+
window.STONLY_WID = Kr, (function(t, i, r, o, c, f, y, p, w, _) {
|
|
3116
3118
|
t.StonlyWidget || ((w = t.StonlyWidget = function() {
|
|
3117
3119
|
w._api ? w._api.apply(w, arguments) : w.queue.push(arguments);
|
|
3118
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() {
|
|
@@ -3120,16 +3122,16 @@ const Ht = () => new Promise((e) => {
|
|
|
3120
3122
|
}, _.send());
|
|
3121
3123
|
})(window, document, "script", "https://stonly.com/js/widget/v2/");
|
|
3122
3124
|
}, e);
|
|
3123
|
-
},
|
|
3124
|
-
load:
|
|
3125
|
-
},
|
|
3125
|
+
}, oc = {
|
|
3126
|
+
load: Yr
|
|
3127
|
+
}, Zr = (e = 0) => {
|
|
3126
3128
|
setTimeout(() => {
|
|
3127
3129
|
const t = document.createElement("script");
|
|
3128
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);
|
|
3129
3131
|
}, e);
|
|
3130
|
-
},
|
|
3131
|
-
load:
|
|
3132
|
-
},
|
|
3132
|
+
}, sc = {
|
|
3133
|
+
load: Zr
|
|
3134
|
+
}, Xr = {
|
|
3133
3135
|
common: {
|
|
3134
3136
|
the: "le",
|
|
3135
3137
|
from: "de"
|
|
@@ -3154,9 +3156,9 @@ const Ht = () => new Promise((e) => {
|
|
|
3154
3156
|
minute: "minute | minutes",
|
|
3155
3157
|
second: "seconde | secondes"
|
|
3156
3158
|
}
|
|
3157
|
-
},
|
|
3158
|
-
fr:
|
|
3159
|
-
},
|
|
3159
|
+
}, eo = {
|
|
3160
|
+
fr: Xr
|
|
3161
|
+
}, to = (e, t) => {
|
|
3160
3162
|
if (!e) return null;
|
|
3161
3163
|
const i = e.split(/(\{[{%]+[^{}]*[%}]+})/g).filter((r) => r !== "").map((r) => {
|
|
3162
3164
|
const o = r.startsWith("{%") && r.endsWith("%}") ? "slot" : r.startsWith("{{") && r.endsWith("}}") ? "variable" : "text";
|
|
@@ -3177,14 +3179,14 @@ const Ht = () => new Promise((e) => {
|
|
|
3177
3179
|
text: (e) => De("span", { class: "node node--text" }, e)
|
|
3178
3180
|
};
|
|
3179
3181
|
let Ke = null;
|
|
3180
|
-
const
|
|
3182
|
+
const no = () => Ke, cc = (e = {}) => {
|
|
3181
3183
|
let t = e.locale || "fr";
|
|
3182
|
-
const i = (p) => t = p, r = () => t, o = _t(
|
|
3184
|
+
const i = (p) => t = p, r = () => t, o = _t(eo, e?.messages || {}), c = (p, w) => {
|
|
3183
3185
|
const _ = ne(o, `${t}.${p}`);
|
|
3184
|
-
return _ ? w ?
|
|
3186
|
+
return _ ? w ? io(_, w) : _ : p;
|
|
3185
3187
|
}, f = (p, w) => {
|
|
3186
3188
|
const _ = ne(o, `${t}.${p}`);
|
|
3187
|
-
return _ ?
|
|
3189
|
+
return _ ? to(_, w) : p;
|
|
3188
3190
|
};
|
|
3189
3191
|
return Ke = {
|
|
3190
3192
|
t: c,
|
|
@@ -3195,9 +3197,9 @@ const eo = () => Ke, oc = (e = {}) => {
|
|
|
3195
3197
|
p.config.globalProperties.$t = c, p.config.globalProperties.$tNode = f;
|
|
3196
3198
|
}
|
|
3197
3199
|
}, Ke;
|
|
3198
|
-
},
|
|
3199
|
-
function
|
|
3200
|
-
const { t } =
|
|
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 = {
|
|
3201
3203
|
justNow: t("timeAgo.just-now"),
|
|
3202
3204
|
past: (r) => r.match(/\d/) ? t("timeAgo.ago", [r]) : r,
|
|
3203
3205
|
future: (r) => r.match(/\d/) ? t("timeAgo.in", [r]) : r,
|
|
@@ -3215,7 +3217,7 @@ function sc(e) {
|
|
|
3215
3217
|
messages: i
|
|
3216
3218
|
});
|
|
3217
3219
|
}
|
|
3218
|
-
function
|
|
3220
|
+
function ao() {
|
|
3219
3221
|
let e = null;
|
|
3220
3222
|
function t() {
|
|
3221
3223
|
return e;
|
|
@@ -3250,7 +3252,7 @@ function no() {
|
|
|
3250
3252
|
hasAction: f
|
|
3251
3253
|
};
|
|
3252
3254
|
}
|
|
3253
|
-
function
|
|
3255
|
+
function ro() {
|
|
3254
3256
|
async function e({ domain: r, event: o, ...c }) {
|
|
3255
3257
|
const f = "useAnalytics" + r.charAt(0).toUpperCase() + r.slice(1);
|
|
3256
3258
|
if (!t(f)) throw new Error(`Domain ${r} is not defined`);
|
|
@@ -3270,9 +3272,9 @@ function io() {
|
|
|
3270
3272
|
}
|
|
3271
3273
|
const yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3272
3274
|
__proto__: null,
|
|
3273
|
-
useAnalyticsQSController:
|
|
3275
|
+
useAnalyticsQSController: ro
|
|
3274
3276
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3275
|
-
function
|
|
3277
|
+
function oo(e) {
|
|
3276
3278
|
if (!e.hasAction()) throw new Error("No action found in router");
|
|
3277
3279
|
function t() {
|
|
3278
3280
|
if (!i()) throw new Error(`Controller ${e.getController()} not found`);
|
|
@@ -3290,7 +3292,7 @@ function ao(e) {
|
|
|
3290
3292
|
dispatch: t
|
|
3291
3293
|
};
|
|
3292
3294
|
}
|
|
3293
|
-
function
|
|
3295
|
+
function lc() {
|
|
3294
3296
|
let e = !1;
|
|
3295
3297
|
function t(o, c, f) {
|
|
3296
3298
|
r(), f();
|
|
@@ -3301,9 +3303,9 @@ function cc() {
|
|
|
3301
3303
|
f();
|
|
3302
3304
|
}
|
|
3303
3305
|
function r() {
|
|
3304
|
-
const o =
|
|
3306
|
+
const o = ao();
|
|
3305
3307
|
if (!o.hasAction()) return;
|
|
3306
|
-
|
|
3308
|
+
oo(o).dispatch();
|
|
3307
3309
|
}
|
|
3308
3310
|
return {
|
|
3309
3311
|
vueRouterBeforeEach: t,
|
|
@@ -3316,52 +3318,52 @@ const Gt = async (e, t, i) => {
|
|
|
3316
3318
|
for (const c of e)
|
|
3317
3319
|
t.query[c] !== void 0 && (delete o.query[c], r.push(c));
|
|
3318
3320
|
if (r.length) return i.replace(o);
|
|
3319
|
-
},
|
|
3321
|
+
}, uc = async (e, t, i) => Gt([e], t, i), so = async (e, t, i) => {
|
|
3320
3322
|
const r = {};
|
|
3321
3323
|
for (const o of e)
|
|
3322
3324
|
t.query[o] !== void 0 && (r[o] = t.query[o]);
|
|
3323
3325
|
return await Gt(Object.keys(r), t, i), r;
|
|
3324
|
-
},
|
|
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) => {
|
|
3325
3327
|
let r = `${D()}/recruitment/establishment/${e}`;
|
|
3326
3328
|
return t && (r += `?recruitmentId=${t}`, i && (r += "&duplicate=1")), r;
|
|
3327
|
-
},
|
|
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) => {
|
|
3328
3330
|
const i = D().replace("://", `://${Jt(e)}.`);
|
|
3329
3331
|
return t ? `${i}?_version=${encodeURIComponent(t)}` : `${i}`;
|
|
3330
|
-
},
|
|
3332
|
+
}, Lo = (e, t, i = null) => {
|
|
3331
3333
|
const r = `${D().replace("://", `://${Jt(e)}.`)}/v2/offer/${encodeURIComponent(t)}`;
|
|
3332
3334
|
return i ? `${r}?token=${encodeURIComponent(i)}` : `${r}`;
|
|
3333
|
-
},
|
|
3335
|
+
}, Bo = (e) => `${D()}/rh/establishment/${e}/stats`, Do = (e) => `${D()}/rh/establishment/${e}/backoffice`, To = () => `${D()}/rh/settings/general`, $o = () => `${D()}/backoffice/establishment`;
|
|
3334
3336
|
function oe() {
|
|
3335
3337
|
return {
|
|
3336
3338
|
root: D,
|
|
3337
|
-
candidateSignIn:
|
|
3338
|
-
establishments:
|
|
3339
|
-
establishment:
|
|
3340
|
-
img:
|
|
3341
|
-
dashboard:
|
|
3342
|
-
candidateProfile:
|
|
3343
|
-
candidateInvite:
|
|
3344
|
-
cvtheque:
|
|
3345
|
-
sourcing:
|
|
3346
|
-
userProfile:
|
|
3347
|
-
recruitments:
|
|
3348
|
-
recruitment:
|
|
3349
|
-
recruitmentForm:
|
|
3350
|
-
recruitmentKanban:
|
|
3351
|
-
recruitmentOffer:
|
|
3352
|
-
offers:
|
|
3353
|
-
offerCreate:
|
|
3354
|
-
offerUpdate:
|
|
3355
|
-
offerPreview:
|
|
3356
|
-
career:
|
|
3357
|
-
careerConfig:
|
|
3358
|
-
careerPreview:
|
|
3359
|
-
careerWebsite:
|
|
3360
|
-
careerOffer:
|
|
3361
|
-
statistics:
|
|
3362
|
-
administration:
|
|
3363
|
-
userSettings:
|
|
3364
|
-
backoffice:
|
|
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
|
|
3365
3367
|
};
|
|
3366
3368
|
}
|
|
3367
3369
|
const gt = /* @__PURE__ */ new Set();
|
|
@@ -3383,7 +3385,7 @@ const xe = (e) => {
|
|
|
3383
3385
|
if (i)
|
|
3384
3386
|
for (const r of i) he.add(r.substr(1));
|
|
3385
3387
|
}
|
|
3386
|
-
},
|
|
3388
|
+
}, pc = (e = {}) => {
|
|
3387
3389
|
if (he) return he;
|
|
3388
3390
|
he = /* @__PURE__ */ new Set(), Ye = { ...Ye, ...e }, zt(document.styleSheets), new MutationObserver((i) => {
|
|
3389
3391
|
for (const r of i)
|
|
@@ -3400,132 +3402,132 @@ const xe = (e) => {
|
|
|
3400
3402
|
childList: !0,
|
|
3401
3403
|
subtree: !0
|
|
3402
3404
|
});
|
|
3403
|
-
},
|
|
3405
|
+
}, yc = "0.2.192";
|
|
3404
3406
|
export {
|
|
3405
3407
|
l as Analytics,
|
|
3406
3408
|
se as BaseLogger,
|
|
3407
|
-
|
|
3409
|
+
rc as Gmap,
|
|
3408
3410
|
H as SDKConfig,
|
|
3409
3411
|
u as SDKLogger,
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3412
|
+
oc as Stonly,
|
|
3413
|
+
yc as VERSION,
|
|
3414
|
+
sc as Zendesk,
|
|
3413
3415
|
ct as _clone,
|
|
3414
3416
|
dt as _cloneDeep,
|
|
3415
3417
|
ne as _get,
|
|
3416
|
-
|
|
3418
|
+
Yo as _map,
|
|
3417
3419
|
_t as _merge,
|
|
3418
3420
|
wt as _pathList,
|
|
3419
3421
|
_e as _set,
|
|
3420
3422
|
fn as _setMany,
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3423
|
+
Zo as _toArr,
|
|
3424
|
+
Xo as _uniqueArray,
|
|
3425
|
+
es as _uniqueArrayOfObject,
|
|
3426
|
+
xs as analyticsAuthentication,
|
|
3427
|
+
Hs as analyticsCVBank,
|
|
3428
|
+
js as analyticsCareerPrivate,
|
|
3429
|
+
Fs as analyticsCareerPublic,
|
|
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,
|
|
3446
3448
|
It as ensureScheme,
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
+
Qo as hasOrIsInClass,
|
|
3450
|
+
Ko as inBrowser,
|
|
3449
3451
|
ce as inNode,
|
|
3450
3452
|
ue as isArray,
|
|
3451
3453
|
b as isArrayOf,
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3454
|
+
Fo as isBoolean,
|
|
3455
|
+
Ho as isDate,
|
|
3456
|
+
Wo as isFalsy,
|
|
3457
|
+
Go as isFunction,
|
|
3458
|
+
xo as isMobile,
|
|
3459
|
+
Jo as isNotNullOrUndefined,
|
|
3458
3460
|
dn as isNull,
|
|
3459
3461
|
un as isNullOrUndefined,
|
|
3460
3462
|
G as isNumber,
|
|
3461
3463
|
Z as isObject,
|
|
3462
|
-
|
|
3464
|
+
qo as isObjectOf,
|
|
3463
3465
|
m as isObjectValid,
|
|
3464
3466
|
ht as isPrimitiveObject,
|
|
3465
3467
|
a as isString,
|
|
3466
|
-
|
|
3468
|
+
zo as isTruthy,
|
|
3467
3469
|
ln as isUndefined,
|
|
3468
|
-
|
|
3470
|
+
uc as removeQueryParam,
|
|
3469
3471
|
Gt as removeQueryParams,
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3472
|
+
to as renderNode,
|
|
3473
|
+
jo as sanitizeObject,
|
|
3474
|
+
ts as secureScheme,
|
|
3473
3475
|
cn as transpileAsserts,
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3476
|
+
ns as useActivityRepository,
|
|
3477
|
+
Ur as useAnalyticsHublerApplication,
|
|
3478
|
+
ac as useAnalyticsIdentify,
|
|
3479
|
+
xr as useAnalyticsProfile,
|
|
3480
|
+
jr as useAnalyticsRecruitment,
|
|
3481
|
+
Fr as useAnalyticsVisualBuilder,
|
|
3482
|
+
mc as useAssetUrls,
|
|
3481
3483
|
qn as useAuthRepository,
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3484
|
+
lr as useAuthentication,
|
|
3485
|
+
Ms as useAuthorization,
|
|
3486
|
+
is as useCandidateBankRepository,
|
|
3487
|
+
as as useCandidateNoteRepository,
|
|
3488
|
+
rs as useCandidateRepository,
|
|
3489
|
+
os as useContractTypeRepository,
|
|
3488
3490
|
yn as useCookieStorage,
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3491
|
+
ss as useCvbankRepository,
|
|
3492
|
+
cs as useCvthequeRepository,
|
|
3493
|
+
ds as useDiplomaRepository,
|
|
3494
|
+
ls as useDocumentRepository,
|
|
3493
3495
|
oe as useDomainUrls,
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3496
|
+
us as useEmailHistoryRepository,
|
|
3497
|
+
fs as useEmailRepository,
|
|
3498
|
+
ms as useEmailTemplateRepository,
|
|
3499
|
+
ps as useEstablishmentCareerRepository,
|
|
3500
|
+
Us as useEstablishmentContext,
|
|
3501
|
+
Vt as useEstablishmentRepository,
|
|
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,
|
|
3508
3510
|
sn as useObjectValidation,
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
+
bs as useOfferRepository,
|
|
3512
|
+
ks as usePoleRepository,
|
|
3511
3513
|
S as usePrivateRequest,
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3514
|
+
lc as useQSAction,
|
|
3515
|
+
vs as useRankRepository,
|
|
3516
|
+
Ss as useRecruiterRepository,
|
|
3517
|
+
Rs as useRecruitmentRepository,
|
|
3518
|
+
Cs as useRegisterRepository,
|
|
3519
|
+
Vs as useRegistrationRepository,
|
|
3518
3520
|
N as useRequest,
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
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
|
|
3531
3533
|
};
|