@hublo/mstaff-client-sdk 0.2.113 → 0.2.115
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 +815 -799
- package/package.json +1 -1
package/dist/core.js
CHANGED
|
@@ -2,9 +2,9 @@ var jt = Object.defineProperty;
|
|
|
2
2
|
var Ht = (e, t, i) => t in e ? jt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i;
|
|
3
3
|
var M = (e, t, i) => (Ht(e, typeof t != "symbol" ? t + "" : t, i), i);
|
|
4
4
|
import { getCurrentScope as xt, onScopeDispose as Jt, ref as zt, computed as ae, h as De } from "vue";
|
|
5
|
-
import
|
|
6
|
-
import { useTimeAgo as
|
|
7
|
-
import { defineStore as
|
|
5
|
+
import Gt from "axios";
|
|
6
|
+
import { useTimeAgo as Qt } from "@vueuse/core";
|
|
7
|
+
import { defineStore as qt } from "pinia";
|
|
8
8
|
function Kt(e) {
|
|
9
9
|
return xt() ? (Jt(e), !0) : !1;
|
|
10
10
|
}
|
|
@@ -19,23 +19,23 @@ var pt = Zt, Ye = Xt, Wt = Object.prototype.toString, re = /^[\u0009\u0020-\u007
|
|
|
19
19
|
function Zt(e, t) {
|
|
20
20
|
if (typeof e != "string")
|
|
21
21
|
throw new TypeError("argument str must be a string");
|
|
22
|
-
for (var i = {}, n = t || {}, r = n.decode || Yt,
|
|
23
|
-
var f = e.indexOf("=",
|
|
22
|
+
for (var i = {}, n = t || {}, r = n.decode || Yt, c = 0; c < e.length; ) {
|
|
23
|
+
var f = e.indexOf("=", c);
|
|
24
24
|
if (f === -1)
|
|
25
25
|
break;
|
|
26
|
-
var h = e.indexOf(";",
|
|
26
|
+
var h = e.indexOf(";", c);
|
|
27
27
|
if (h === -1)
|
|
28
28
|
h = e.length;
|
|
29
29
|
else if (h < f) {
|
|
30
|
-
|
|
30
|
+
c = e.lastIndexOf(";", f - 1) + 1;
|
|
31
31
|
continue;
|
|
32
32
|
}
|
|
33
|
-
var y = e.slice(
|
|
33
|
+
var y = e.slice(c, f).trim();
|
|
34
34
|
if (i[y] === void 0) {
|
|
35
35
|
var b = e.slice(f + 1, h).trim();
|
|
36
36
|
b.charCodeAt(0) === 34 && (b = b.slice(1, -1)), i[y] = nn(b, r);
|
|
37
37
|
}
|
|
38
|
-
|
|
38
|
+
c = h + 1;
|
|
39
39
|
}
|
|
40
40
|
return i;
|
|
41
41
|
}
|
|
@@ -45,10 +45,10 @@ function Xt(e, t, i) {
|
|
|
45
45
|
throw new TypeError("option encode is invalid");
|
|
46
46
|
if (!re.test(e))
|
|
47
47
|
throw new TypeError("argument name is invalid");
|
|
48
|
-
var
|
|
49
|
-
if (
|
|
48
|
+
var c = r(t);
|
|
49
|
+
if (c && !re.test(c))
|
|
50
50
|
throw new TypeError("argument val is invalid");
|
|
51
|
-
var f = e + "=" +
|
|
51
|
+
var f = e + "=" + c;
|
|
52
52
|
if (n.maxAge != null) {
|
|
53
53
|
var h = n.maxAge - 0;
|
|
54
54
|
if (isNaN(h) || !isFinite(h))
|
|
@@ -131,7 +131,7 @@ function an() {
|
|
|
131
131
|
function rn(e) {
|
|
132
132
|
return typeof e == "string" ? pt(e) : typeof e == "object" && e !== null ? e : {};
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function Te(e, t = {}) {
|
|
135
135
|
const i = on(e);
|
|
136
136
|
if (!t.doNotParse)
|
|
137
137
|
try {
|
|
@@ -143,7 +143,7 @@ function Ne(e, t = {}) {
|
|
|
143
143
|
function on(e) {
|
|
144
144
|
return e && e[0] === "j" && e[1] === ":" ? e.substr(2) : e;
|
|
145
145
|
}
|
|
146
|
-
class
|
|
146
|
+
class sn {
|
|
147
147
|
constructor(t, i = {}) {
|
|
148
148
|
this.changeListeners = [], this.HAS_DOCUMENT_COOKIE = !1, this.update = () => {
|
|
149
149
|
if (!this.HAS_DOCUMENT_COOKIE)
|
|
@@ -162,7 +162,7 @@ class cn {
|
|
|
162
162
|
new Set(Object.keys(t).concat(Object.keys(this.cookies))).forEach((n) => {
|
|
163
163
|
t[n] !== this.cookies[n] && this._emitChange({
|
|
164
164
|
name: n,
|
|
165
|
-
value:
|
|
165
|
+
value: Te(this.cookies[n])
|
|
166
166
|
});
|
|
167
167
|
});
|
|
168
168
|
}
|
|
@@ -173,13 +173,13 @@ class cn {
|
|
|
173
173
|
this.pollingInterval && clearInterval(this.pollingInterval);
|
|
174
174
|
}
|
|
175
175
|
get(t, i = {}) {
|
|
176
|
-
return i.doNotUpdate || this.update(),
|
|
176
|
+
return i.doNotUpdate || this.update(), Te(this.cookies[t], i);
|
|
177
177
|
}
|
|
178
178
|
getAll(t = {}) {
|
|
179
179
|
t.doNotUpdate || this.update();
|
|
180
180
|
const i = {};
|
|
181
181
|
for (let n in this.cookies)
|
|
182
|
-
i[n] =
|
|
182
|
+
i[n] = Te(this.cookies[n], t);
|
|
183
183
|
return i;
|
|
184
184
|
}
|
|
185
185
|
set(t, i, n) {
|
|
@@ -199,16 +199,16 @@ class cn {
|
|
|
199
199
|
i >= 0 && this.changeListeners.splice(i, 1), this.HAS_DOCUMENT_COOKIE && this.changeListeners.length === 0 && (typeof window == "object" && "cookieStore" in window ? window.cookieStore.removeEventListener("change", this.update) : this._stopPolling());
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function cn(e, { doNotParse: t = !1, autoUpdateDependencies: i = !1 } = {}, n = new sn()) {
|
|
203
203
|
const r = i ? [...e || []] : e;
|
|
204
|
-
let
|
|
204
|
+
let c = n.getAll({ doNotParse: !0 });
|
|
205
205
|
const f = zt(0), h = () => {
|
|
206
206
|
const y = n.getAll({ doNotParse: !0 });
|
|
207
207
|
dn(
|
|
208
208
|
r || null,
|
|
209
209
|
y,
|
|
210
|
-
|
|
211
|
-
) && f.value++,
|
|
210
|
+
c
|
|
211
|
+
) && f.value++, c = y;
|
|
212
212
|
};
|
|
213
213
|
return n.addChangeListener(h), Kt(() => {
|
|
214
214
|
n.removeChangeListener(h);
|
|
@@ -235,7 +235,7 @@ function dn(e, t, i) {
|
|
|
235
235
|
return !0;
|
|
236
236
|
return !1;
|
|
237
237
|
}
|
|
238
|
-
const
|
|
238
|
+
const go = () => {
|
|
239
239
|
let e = !1;
|
|
240
240
|
return function(t) {
|
|
241
241
|
(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(t) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0, 4))) && (e = !0);
|
|
@@ -245,10 +245,10 @@ const co = () => {
|
|
|
245
245
|
return et(t).forEach((n) => i[n] = Be(e == null ? void 0 : e[n], t[n])), "$item" in t && (e == null || e.forEach((n, r) => i[r] = Be(n, t.$item))), i.$valid = (!t.$asserts || t.$asserts.every((n) => n(e))) && et(i).every((n) => i[n].$valid), i;
|
|
246
246
|
}, un = (e) => yn(
|
|
247
247
|
Object.entries(e).reduce((t, [i, n]) => (t[`${i.replaceAll(".[]", ".$item")}${i.length ? "." : ""}$asserts`] = Array.isArray(n) ? n : [n], t), {})
|
|
248
|
-
),
|
|
249
|
-
const
|
|
250
|
-
z(t, `${r}.$valid`) === !1 && i[
|
|
251
|
-
}), e), et = (e) => Object.keys(e).filter((t) => !t.startsWith("$")),
|
|
248
|
+
), wo = (e, t, i) => (e = JSON.parse(JSON.stringify(e)), gt(e).forEach((r) => {
|
|
249
|
+
const c = r.replace(/\.[0-9]+/g, ".[]");
|
|
250
|
+
z(t, `${r}.$valid`) === !1 && i[c] !== void 0 && ee(e, r, i[c]);
|
|
251
|
+
}), e), et = (e) => Object.keys(e).filter((t) => !t.startsWith("$")), ho = (e) => typeof e == "boolean", U = (e) => typeof e == "number", a = (e) => typeof e == "string", pe = (e) => Array.isArray(e), ye = (e) => typeof e == "object" && !pe(e) && e !== null, _o = (e) => e instanceof Date, Io = (e) => typeof e == "function", fn = (e) => e === null, mn = (e) => e === void 0, pn = (e) => fn(e) || mn(e), bo = (e) => !pn(e), ko = (e) => !!e, vo = (e) => !e, V = (e, t) => pe(e) && e.every((i) => t(i)), So = (e, t) => ye(e) && Object.values(e).every((i) => t(i)), p = (e, t) => ln(e, t).$valid, Vo = (e, t, i = !1) => {
|
|
252
252
|
pe(t) || (t = [t]);
|
|
253
253
|
let n = e;
|
|
254
254
|
for (; n; ) {
|
|
@@ -257,29 +257,29 @@ const co = () => {
|
|
|
257
257
|
n = n.parentElement;
|
|
258
258
|
}
|
|
259
259
|
return !1;
|
|
260
|
-
},
|
|
260
|
+
}, Ao = () => typeof window < "u" && typeof window.document < "u", W = () => typeof process < "u" && process.versions != null && process.versions.node != null, z = (e, t, i) => {
|
|
261
261
|
const n = typeof t == "string" ? t.split(".") : [t];
|
|
262
262
|
let r = e;
|
|
263
|
-
const
|
|
263
|
+
const c = (h) => h != null, f = (h) => typeof h == "object";
|
|
264
264
|
for (const [h, y] of n.entries()) {
|
|
265
|
-
if (!
|
|
265
|
+
if (!c(r))
|
|
266
266
|
return i;
|
|
267
267
|
if (h === n.length - 1)
|
|
268
|
-
return
|
|
268
|
+
return c(r[y]) ? r[y] : i;
|
|
269
269
|
if (!f(r[y]))
|
|
270
270
|
return i;
|
|
271
271
|
r = r[y];
|
|
272
272
|
}
|
|
273
273
|
return i;
|
|
274
274
|
}, ee = (e, t, i) => {
|
|
275
|
-
const n = typeof t == "string" ? t.split(".") : [t], r = (h) => typeof h == "number" || /^\d$/g.test(h),
|
|
275
|
+
const n = typeof t == "string" ? t.split(".") : [t], r = (h) => typeof h == "number" || /^\d$/g.test(h), c = (h) => parseInt(h, 10);
|
|
276
276
|
let f = e;
|
|
277
277
|
return n.forEach((h, y) => {
|
|
278
278
|
if (y === n.length - 1)
|
|
279
279
|
f[h] = i;
|
|
280
280
|
else {
|
|
281
281
|
const b = r(n[y + 1]) ? [] : {};
|
|
282
|
-
h = r(h) ?
|
|
282
|
+
h = r(h) ? c(h) : h, f[h] = f[h] ?? b, f = f[h];
|
|
283
283
|
}
|
|
284
284
|
}), e;
|
|
285
285
|
}, yn = (e, t = {}) => {
|
|
@@ -287,7 +287,7 @@ const co = () => {
|
|
|
287
287
|
for (const [n, r] of i)
|
|
288
288
|
ee(t, n, r);
|
|
289
289
|
return t;
|
|
290
|
-
},
|
|
290
|
+
}, Co = (e, t = {}) => {
|
|
291
291
|
const i = ye(e) ? Object.entries(e) : e;
|
|
292
292
|
for (const [n, r] of i)
|
|
293
293
|
ee(t, n, r(t, n));
|
|
@@ -308,11 +308,11 @@ const co = () => {
|
|
|
308
308
|
}, gt = (e, t = () => !0, i = "") => {
|
|
309
309
|
const n = [];
|
|
310
310
|
for (const r in e) {
|
|
311
|
-
const
|
|
312
|
-
t(r, f,
|
|
311
|
+
const c = e[r], f = i ? `${i}.${r}` : r;
|
|
312
|
+
t(r, f, c) && (n.push(f), (ye(c) || pe(c)) && n.push(...gt(c, t, f)));
|
|
313
313
|
}
|
|
314
314
|
return n;
|
|
315
|
-
},
|
|
315
|
+
}, Ro = (e) => e.startsWith("http:") ? e.replace("http:", "https:") : e, wt = (e, t = !1) => e.startsWith("http:") || e.startsWith("https:") ? e : t ? `https://${e}` : `http://${e}`, ht = () => typeof window < "u" && (window != null && window.location) ? new URL(window.location).hostname : void 0, tt = () => {
|
|
316
316
|
const e = ht();
|
|
317
317
|
return !e || e === "localhost" ? e : `.${e}`;
|
|
318
318
|
}, wn = () => ({ path: "/" }), hn = (e) => ({
|
|
@@ -325,18 +325,18 @@ const co = () => {
|
|
|
325
325
|
return e.startsWith("localhost") ? wn() : hn(e);
|
|
326
326
|
};
|
|
327
327
|
function _n() {
|
|
328
|
-
const e =
|
|
329
|
-
|
|
328
|
+
const e = cn(), t = (c) => e.get(c), i = (c, f) => e.set(
|
|
329
|
+
c,
|
|
330
330
|
f,
|
|
331
331
|
Le(tt())
|
|
332
|
-
), n = (
|
|
333
|
-
e.remove(
|
|
332
|
+
), n = (c) => {
|
|
333
|
+
e.remove(c), e.remove(c, Le(ht())), e.remove(c, Le(tt()));
|
|
334
334
|
};
|
|
335
335
|
return {
|
|
336
336
|
getItem: t,
|
|
337
337
|
setItem: i,
|
|
338
338
|
removeItem: n,
|
|
339
|
-
clear: () => Object.keys(e.getAll()).forEach((
|
|
339
|
+
clear: () => Object.keys(e.getAll()).forEach((c) => n(c))
|
|
340
340
|
};
|
|
341
341
|
}
|
|
342
342
|
function In(e) {
|
|
@@ -344,16 +344,16 @@ function In(e) {
|
|
|
344
344
|
"Content-Type": "application/json"
|
|
345
345
|
};
|
|
346
346
|
e && i(e);
|
|
347
|
-
function i(m,
|
|
348
|
-
return t =
|
|
347
|
+
function i(m, s = !1) {
|
|
348
|
+
return t = s ? m : { ...t, ...m }, this;
|
|
349
349
|
}
|
|
350
350
|
function n() {
|
|
351
351
|
return t;
|
|
352
352
|
}
|
|
353
|
-
function r(m,
|
|
354
|
-
return t[m] =
|
|
353
|
+
function r(m, s) {
|
|
354
|
+
return t[m] = s, this;
|
|
355
355
|
}
|
|
356
|
-
function
|
|
356
|
+
function c(m) {
|
|
357
357
|
return t[m];
|
|
358
358
|
}
|
|
359
359
|
function f(m) {
|
|
@@ -366,7 +366,7 @@ function In(e) {
|
|
|
366
366
|
return f("Authorization"), this;
|
|
367
367
|
}
|
|
368
368
|
function b() {
|
|
369
|
-
return !!
|
|
369
|
+
return !!c("Authorization");
|
|
370
370
|
}
|
|
371
371
|
function _() {
|
|
372
372
|
return r("Content-Type", "multipart/form-data"), this;
|
|
@@ -375,16 +375,16 @@ function In(e) {
|
|
|
375
375
|
return r("Content-Type", "application/json"), this;
|
|
376
376
|
}
|
|
377
377
|
function k() {
|
|
378
|
-
return
|
|
378
|
+
return c("Content-Type") === "multipart/form-data";
|
|
379
379
|
}
|
|
380
380
|
function I() {
|
|
381
|
-
return
|
|
381
|
+
return c("Content-Type") === "application/json";
|
|
382
382
|
}
|
|
383
383
|
return {
|
|
384
384
|
setHeaders: i,
|
|
385
385
|
getHeaders: n,
|
|
386
386
|
setHeader: r,
|
|
387
|
-
getHeader:
|
|
387
|
+
getHeader: c,
|
|
388
388
|
removeHeader: f,
|
|
389
389
|
setAuthorization: h,
|
|
390
390
|
removeAuthorization: y,
|
|
@@ -419,7 +419,7 @@ function kn(e, t, i) {
|
|
|
419
419
|
throw new Error("Payload can only be set for POST, PUT and PATCH requests.");
|
|
420
420
|
return b instanceof FormData ? t.setFormData() : f(b) && (b = h(b), t.setFormData()), t.isFormData() && e.getMethod() === "put" && (e.setMethod("post"), b.append("_method", "PUT")), n = b, this;
|
|
421
421
|
}
|
|
422
|
-
function
|
|
422
|
+
function c() {
|
|
423
423
|
return n;
|
|
424
424
|
}
|
|
425
425
|
function f(b) {
|
|
@@ -446,7 +446,7 @@ function kn(e, t, i) {
|
|
|
446
446
|
}
|
|
447
447
|
return {
|
|
448
448
|
setPayload: r,
|
|
449
|
-
getPayload:
|
|
449
|
+
getPayload: c
|
|
450
450
|
};
|
|
451
451
|
}
|
|
452
452
|
const $ = class $ {
|
|
@@ -495,7 +495,7 @@ const oe = (e, t, i) => {
|
|
|
495
495
|
prefix: "[SDK]"
|
|
496
496
|
});
|
|
497
497
|
let _t = null, Me = null, Ue = null, It = "/", bt = null;
|
|
498
|
-
const
|
|
498
|
+
const vn = () => _t, Sn = (e) => {
|
|
499
499
|
if (u.info("[Config] Environment:", e), !e)
|
|
500
500
|
throw new Error("Invalid environment.");
|
|
501
501
|
_t = e;
|
|
@@ -513,11 +513,11 @@ const Sn = () => _t, vn = (e) => {
|
|
|
513
513
|
u.info("[Config] Main App Host:", e), Ue = e;
|
|
514
514
|
}, En = (e) => {
|
|
515
515
|
u.info("[Config] Base Assets Urls:", e), It = e;
|
|
516
|
-
}, Dn = () => It,
|
|
517
|
-
getEnvironment:
|
|
516
|
+
}, Dn = () => It, G = {
|
|
517
|
+
getEnvironment: vn,
|
|
518
518
|
getApiHost: Vn,
|
|
519
519
|
getErrorHandler: Cn,
|
|
520
|
-
setEnvironment:
|
|
520
|
+
setEnvironment: Sn,
|
|
521
521
|
setApiHost: An,
|
|
522
522
|
setErrorHandler: Rn,
|
|
523
523
|
getMainAppHost: Pn,
|
|
@@ -525,59 +525,59 @@ const Sn = () => _t, vn = (e) => {
|
|
|
525
525
|
setBaseAssetsUrl: En,
|
|
526
526
|
getBaseAssetsUrl: Dn
|
|
527
527
|
};
|
|
528
|
-
function
|
|
529
|
-
const t =
|
|
528
|
+
function Tn(e) {
|
|
529
|
+
const t = G.getApiHost().replace(/\/$/g, "");
|
|
530
530
|
let i = null, n = {}, r = {};
|
|
531
531
|
e && h(e);
|
|
532
|
-
function
|
|
532
|
+
function c() {
|
|
533
533
|
return t + y() + I();
|
|
534
534
|
}
|
|
535
535
|
function f() {
|
|
536
536
|
return y(!0, !0);
|
|
537
537
|
}
|
|
538
|
-
function h(
|
|
539
|
-
return i = "/" +
|
|
538
|
+
function h(v) {
|
|
539
|
+
return i = "/" + v.replace(/^\//g, ""), this;
|
|
540
540
|
}
|
|
541
|
-
function y(
|
|
542
|
-
return
|
|
541
|
+
function y(v = !0, T = !1) {
|
|
542
|
+
return v ? i.replace(/:(\w+)/g, (L, B) => T ? "*" : r[B] || ":" + B) : i;
|
|
543
543
|
}
|
|
544
|
-
function b(
|
|
545
|
-
return n =
|
|
544
|
+
function b(v) {
|
|
545
|
+
return n = v, this;
|
|
546
546
|
}
|
|
547
|
-
function _(
|
|
548
|
-
return n[
|
|
547
|
+
function _(v, T) {
|
|
548
|
+
return n[v] = T, this;
|
|
549
549
|
}
|
|
550
|
-
function A(
|
|
551
|
-
return n[
|
|
550
|
+
function A(v) {
|
|
551
|
+
return n[v] && delete n[v], this;
|
|
552
552
|
}
|
|
553
553
|
function k() {
|
|
554
554
|
return Object.keys(n).length > 0;
|
|
555
555
|
}
|
|
556
|
-
function I(
|
|
556
|
+
function I(v = !0) {
|
|
557
557
|
if (!k())
|
|
558
558
|
return "";
|
|
559
|
-
let
|
|
559
|
+
let T = "";
|
|
560
560
|
for (const L in n)
|
|
561
561
|
if (Array.isArray(n[L]))
|
|
562
562
|
for (const B of n[L])
|
|
563
|
-
|
|
563
|
+
T += (T.length ? "&" : "") + `${L}[]=` + B;
|
|
564
564
|
else
|
|
565
|
-
|
|
566
|
-
return (
|
|
565
|
+
T += (T.length ? "&" : "") + L + "=" + n[L];
|
|
566
|
+
return (v ? "?" : "") + T;
|
|
567
567
|
}
|
|
568
|
-
function m(
|
|
569
|
-
return r =
|
|
568
|
+
function m(v) {
|
|
569
|
+
return r = v, this;
|
|
570
570
|
}
|
|
571
|
-
function
|
|
572
|
-
return r[
|
|
571
|
+
function s(v, T) {
|
|
572
|
+
return r[v] = T, this;
|
|
573
573
|
}
|
|
574
|
-
function w(
|
|
575
|
-
return r[
|
|
574
|
+
function w(v) {
|
|
575
|
+
return r[v] && delete r[v], this;
|
|
576
576
|
}
|
|
577
577
|
return {
|
|
578
578
|
setPath: h,
|
|
579
579
|
getPath: y,
|
|
580
|
-
getUri:
|
|
580
|
+
getUri: c,
|
|
581
581
|
getMockUri: f,
|
|
582
582
|
setQueryParams: b,
|
|
583
583
|
setQueryParam: _,
|
|
@@ -585,7 +585,7 @@ function Nn(e) {
|
|
|
585
585
|
hasQuery: k,
|
|
586
586
|
getQueryString: I,
|
|
587
587
|
setRouteParams: m,
|
|
588
|
-
setRouteParam:
|
|
588
|
+
setRouteParam: s,
|
|
589
589
|
removeRouteParam: w
|
|
590
590
|
};
|
|
591
591
|
}
|
|
@@ -600,7 +600,7 @@ function Ln(e) {
|
|
|
600
600
|
function r(_) {
|
|
601
601
|
return t.includes(_.trim()) ? this : (t.push(_.trim()), f(), this);
|
|
602
602
|
}
|
|
603
|
-
function
|
|
603
|
+
function c(_) {
|
|
604
604
|
const A = t.indexOf(_.trim());
|
|
605
605
|
return A === -1 ? this : (t.splice(A, 1), f(), this);
|
|
606
606
|
}
|
|
@@ -621,12 +621,12 @@ function Ln(e) {
|
|
|
621
621
|
setGroups: i,
|
|
622
622
|
hasGroups: n,
|
|
623
623
|
addGroup: r,
|
|
624
|
-
removeGroup:
|
|
624
|
+
removeGroup: c
|
|
625
625
|
};
|
|
626
626
|
}
|
|
627
|
-
function
|
|
627
|
+
function Nn(e) {
|
|
628
628
|
let t = !1, i = !1, n = 1, r = 10;
|
|
629
|
-
function
|
|
629
|
+
function c() {
|
|
630
630
|
return t = !0, f(), this;
|
|
631
631
|
}
|
|
632
632
|
function f() {
|
|
@@ -656,7 +656,7 @@ function Tn(e) {
|
|
|
656
656
|
return I.length >= 1 && (m.page = I[0]), I.length >= 2 && (m.perPage = I[1]), m;
|
|
657
657
|
}
|
|
658
658
|
return {
|
|
659
|
-
isList:
|
|
659
|
+
isList: c,
|
|
660
660
|
paginate: f,
|
|
661
661
|
disablePagination: h,
|
|
662
662
|
hasPagination: y,
|
|
@@ -671,7 +671,7 @@ function Bn(e) {
|
|
|
671
671
|
const _ = b(arguments);
|
|
672
672
|
return _.orderBy && f(_.orderBy, !1), _.orderDir && h(_.orderDir, !1), y(), this;
|
|
673
673
|
}
|
|
674
|
-
function
|
|
674
|
+
function c() {
|
|
675
675
|
return t;
|
|
676
676
|
}
|
|
677
677
|
function f(_, A = !0) {
|
|
@@ -683,7 +683,7 @@ function Bn(e) {
|
|
|
683
683
|
return t = !0, n = _, A && y(), this;
|
|
684
684
|
}
|
|
685
685
|
function y() {
|
|
686
|
-
|
|
686
|
+
c() && (e.setQueryParam("orderBy", i), e.setQueryParam("orderDirection", n));
|
|
687
687
|
}
|
|
688
688
|
function b(_) {
|
|
689
689
|
if (_.length === 1 && typeof _[0] == "object")
|
|
@@ -693,7 +693,7 @@ function Bn(e) {
|
|
|
693
693
|
}
|
|
694
694
|
return {
|
|
695
695
|
setOrder: r,
|
|
696
|
-
hasOrder:
|
|
696
|
+
hasOrder: c,
|
|
697
697
|
setOrderBy: f,
|
|
698
698
|
setOrderDir: h
|
|
699
699
|
};
|
|
@@ -744,7 +744,7 @@ function Un(e) {
|
|
|
744
744
|
}
|
|
745
745
|
function Fn(e, t = !1) {
|
|
746
746
|
let i = !1, n = !1;
|
|
747
|
-
return e.response ? (i = !0, n = !0) : e.request && (i = !0), !t &&
|
|
747
|
+
return e.response ? (i = !0, n = !0) : e.request && (i = !0), !t && G.getErrorHandler() && G.getErrorHandler()(e), {
|
|
748
748
|
sent: i,
|
|
749
749
|
responded: n,
|
|
750
750
|
error: e
|
|
@@ -763,7 +763,7 @@ function jn(e) {
|
|
|
763
763
|
function r() {
|
|
764
764
|
return e.data["@type"] === "hydra:Collection";
|
|
765
765
|
}
|
|
766
|
-
function
|
|
766
|
+
function c() {
|
|
767
767
|
return r() ? e.data["hydra:member"] : null;
|
|
768
768
|
}
|
|
769
769
|
function f() {
|
|
@@ -783,22 +783,22 @@ function jn(e) {
|
|
|
783
783
|
getData: i,
|
|
784
784
|
getPayload: n,
|
|
785
785
|
isCollection: r,
|
|
786
|
-
getCollection:
|
|
786
|
+
getCollection: c,
|
|
787
787
|
getTotal: f,
|
|
788
788
|
hasPagination: h,
|
|
789
789
|
getPage: y,
|
|
790
790
|
getPages: b
|
|
791
791
|
};
|
|
792
792
|
}
|
|
793
|
-
function Hn(e, t, i, n, r,
|
|
793
|
+
function Hn(e, t, i, n, r, c) {
|
|
794
794
|
async function f() {
|
|
795
795
|
const y = i.getMethod(), b = t.getUri(), _ = e.getHeaders(), A = n.getPayload(), k = [b];
|
|
796
796
|
["post", "put", "patch"].includes(y) && k.push(A || {}), k.push({
|
|
797
797
|
headers: _,
|
|
798
|
-
responseType:
|
|
798
|
+
responseType: c.getResponseType()
|
|
799
799
|
}), u.info("[Request] Sending request:", `[${y.toUpperCase()}]`, b);
|
|
800
800
|
try {
|
|
801
|
-
const I = await
|
|
801
|
+
const I = await Gt[y](...k);
|
|
802
802
|
return h(I);
|
|
803
803
|
} catch (I) {
|
|
804
804
|
throw Fn(I, r.isSilent());
|
|
@@ -817,11 +817,11 @@ function Hn(e, t, i, n, r, s) {
|
|
|
817
817
|
};
|
|
818
818
|
}
|
|
819
819
|
function D(e, t = "get", i = null) {
|
|
820
|
-
const n = In(), r =
|
|
820
|
+
const n = In(), r = Tn(e), c = bn(t), f = kn(c, n, i), h = Ln(r), y = Nn(r), b = Bn(r), _ = $n(), A = Mn(), k = Hn(n, r, c, f, _, A);
|
|
821
821
|
return {
|
|
822
822
|
...n,
|
|
823
823
|
...r,
|
|
824
|
-
...
|
|
824
|
+
...c,
|
|
825
825
|
...f,
|
|
826
826
|
...h,
|
|
827
827
|
...y,
|
|
@@ -832,15 +832,15 @@ function D(e, t = "get", i = null) {
|
|
|
832
832
|
};
|
|
833
833
|
}
|
|
834
834
|
function R(e, t = "get", i = null) {
|
|
835
|
-
const n = D(e, t, i), r =
|
|
835
|
+
const n = D(e, t, i), r = Pa();
|
|
836
836
|
r.hasAuth() && n.setAuthorization(r.getAuthToken()), n.hasBeenRefreshed = !1;
|
|
837
|
-
const
|
|
837
|
+
const c = n.send;
|
|
838
838
|
return n.send = async function() {
|
|
839
839
|
var f, h;
|
|
840
840
|
if (!n.hasAuthorization())
|
|
841
841
|
throw new Error("::SDK Request:: Request cannot be sent, missing authorization header.");
|
|
842
842
|
try {
|
|
843
|
-
return await
|
|
843
|
+
return await c();
|
|
844
844
|
} catch (y) {
|
|
845
845
|
if (((h = (f = y == null ? void 0 : y.error) == null ? void 0 : f.response) == null ? void 0 : h.status) === 401) {
|
|
846
846
|
if (n.hasBeenRefreshed)
|
|
@@ -856,14 +856,14 @@ function R(e, t = "get", i = null) {
|
|
|
856
856
|
}
|
|
857
857
|
}, n.onRefreshFail = async () => (r.clear(), r.redirectToLogin()), n;
|
|
858
858
|
}
|
|
859
|
-
const xn = (e, t) => R("/v2/activity/candidate/:candidateId/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }),
|
|
859
|
+
const xn = (e, t) => R("/v2/activity/candidate/:candidateId/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }), Po = () => ({
|
|
860
860
|
listByCandidateAndEstablishment: xn
|
|
861
|
-
}), Jn = (e, t) => D("/user/login").setMethod("post").setPayload({ email: e, password: t }), zn = (e) => D("/token/refresh").setMethod("post").setPayload({ refresh_token: e }),
|
|
861
|
+
}), Jn = (e, t) => D("/user/login").setMethod("post").setPayload({ email: e, password: t }), zn = (e) => D("/token/refresh").setMethod("post").setPayload({ refresh_token: e }), Gn = () => ({
|
|
862
862
|
login: Jn,
|
|
863
863
|
refreshToken: zn
|
|
864
|
-
}),
|
|
865
|
-
share:
|
|
866
|
-
isArchived:
|
|
864
|
+
}), Qn = (e, t, i) => R("/candidate/:candidateId/share/establishment/:establishmentId").setMethod("post").setRouteParams({ candidateId: e, establishmentId: t }).setPayload(i), qn = (e, t) => R("/candidate/:candidateId/archive/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }), Kn = (e, t) => R("/candidate/:candidateId/archive/establishment/:establishmentId").setMethod("post").setRouteParams({ candidateId: e, establishmentId: t }), Wn = (e, t) => R("/candidate/:candidateId/archive/establishment/:establishmentId").setMethod("delete").setRouteParams({ candidateId: e, establishmentId: t }), Zn = (e, t) => R("/v2/candidates/lookup").setQueryParam("email", e).setQueryParam("establishment-id", t), Xn = (e, t) => R("/v2/candidates").setMethod("post").setQueryParam("establishment-id", e).setPayload(t), Yn = (e, t, i) => R("/v2/candidates/:candidateId").setQueryParam("establishment-id", t).setRouteParams({ candidateId: e }).setMethod("put").setPayload(i), ei = (e) => R("/candidate/register/close/:registrationToken").setMethod("post").setRouteParams({ registrationToken: e }), ti = (e) => R("/candidate/register/open").setMethod("post").setQueryParam("groups", "register:token").setPayload(e), ni = (e, t) => R("/establishment/:establishmentId:/candidate/invitation").setRouteParams({ establishmentId: e }).setMethod("post").setPayload(t), Oo = () => ({
|
|
865
|
+
share: Qn,
|
|
866
|
+
isArchived: qn,
|
|
867
867
|
archive: Kn,
|
|
868
868
|
unarchive: Wn,
|
|
869
869
|
lookupCandidate: Zn,
|
|
@@ -872,44 +872,44 @@ const xn = (e, t) => R("/v2/activity/candidate/:candidateId/establishment/:estab
|
|
|
872
872
|
closeIncompleteRegistration: ei,
|
|
873
873
|
openNewRegistration: ti,
|
|
874
874
|
updateInvitation: ni
|
|
875
|
-
}), ii = (e, t) => R("/comment/establishment/:establishmentId/candidate/:userId").setRouteParams({ establishmentId: e, userId: t }), ai = (e, t, i) => R("/comment/establishment/:establishmentId/candidate/:userId").setRouteParams({ establishmentId: e, userId: t }).setMethod("post").setPayload(i), ri = (e, t) => R("/comment/:commentId").setRouteParams({ commentId: e }).setMethod("put").setPayload(t), oi = (e) => R("/comment/:commentId").setRouteParams({ commentId: e }).setMethod("delete"),
|
|
875
|
+
}), ii = (e, t) => R("/comment/establishment/:establishmentId/candidate/:userId").setRouteParams({ establishmentId: e, userId: t }), ai = (e, t, i) => R("/comment/establishment/:establishmentId/candidate/:userId").setRouteParams({ establishmentId: e, userId: t }).setMethod("post").setPayload(i), ri = (e, t) => R("/comment/:commentId").setRouteParams({ commentId: e }).setMethod("put").setPayload(t), oi = (e) => R("/comment/:commentId").setRouteParams({ commentId: e }).setMethod("delete"), Eo = () => ({
|
|
876
876
|
getForEstablishmentCandidate: ii,
|
|
877
877
|
postForEstablishmentCandidate: ai,
|
|
878
878
|
update: ri,
|
|
879
879
|
remove: oi
|
|
880
|
-
}),
|
|
881
|
-
list:
|
|
882
|
-
listByEstablishment:
|
|
883
|
-
}), di = (e) => R("/v2/talents").isList().setQueryParam("establishment-id", e), li = (e) => R("/v2/talent/mark-as-seen/:talentId").setRouteParams({ talentId: e }).setMethod("post"),
|
|
880
|
+
}), si = () => D("contractType").isList().addGroup("Term:id").addGroup("Term:name"), ci = (e, t = !0) => R("contractType/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), Do = () => ({
|
|
881
|
+
list: si,
|
|
882
|
+
listByEstablishment: ci
|
|
883
|
+
}), di = (e) => R("/v2/talents").isList().setQueryParam("establishment-id", e), li = (e) => R("/v2/talent/mark-as-seen/:talentId").setRouteParams({ talentId: e }).setMethod("post"), To = () => ({
|
|
884
884
|
list: di,
|
|
885
885
|
markAsSeen: li
|
|
886
|
-
}), ui = (e, t, i) => R("/cvtheque/establishment/:establishmentId/candidate/:candidateId/label/synchronize").setRouteParams({ establishmentId: e, candidateId: t }).setMethod("post").setPayload(i),
|
|
886
|
+
}), ui = (e, t, i) => R("/cvtheque/establishment/:establishmentId/candidate/:candidateId/label/synchronize").setRouteParams({ establishmentId: e, candidateId: t }).setMethod("post").setPayload(i), Lo = () => ({
|
|
887
887
|
syncCandidateLabels: ui
|
|
888
|
-
}), fi = () => D("diploma").isList().addGroup("Term:id").addGroup("Term:name"),
|
|
888
|
+
}), fi = () => D("diploma").isList().addGroup("Term:id").addGroup("Term:name"), No = () => ({
|
|
889
889
|
list: fi
|
|
890
|
-
}), mi = (e) => R("document/candidate/:candidateId").setRouteParams({ candidateId: e }).isList().disablePagination(), pi = (e, t) => R("document/candidate/:candidateId/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), yi = (e, t) => R("document/candidate/:candidateId/establishment/:establishmentId/recruiter").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), gi = (e, t) => R("document/candidate/:candidateId/establishment/:establishmentId/candidate").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), wi = (e) => R("document/recruiter").setMethod("post").setPayload(e), hi = (e) => R("document/:documentId").setRouteParams({ documentId: e }).setMethod("delete"),
|
|
890
|
+
}), mi = (e) => R("document/candidate/:candidateId").setRouteParams({ candidateId: e }).isList().disablePagination(), pi = (e, t) => R("document/candidate/:candidateId/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), yi = (e, t) => R("document/candidate/:candidateId/establishment/:establishmentId/recruiter").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), gi = (e, t) => R("document/candidate/:candidateId/establishment/:establishmentId/candidate").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), wi = (e) => R("document/recruiter").setMethod("post").setPayload(e), hi = (e) => R("document/:documentId").setRouteParams({ documentId: e }).setMethod("delete"), Bo = () => ({
|
|
891
891
|
listByCandidate: mi,
|
|
892
892
|
listByCandidateAndEstablishment: pi,
|
|
893
893
|
listByCandidateAndEstablishmentFromRecruiter: yi,
|
|
894
894
|
listByCandidateAndEstablishmentFromCandidate: gi,
|
|
895
895
|
addFromRecruiter: wi,
|
|
896
896
|
remove: hi
|
|
897
|
-
}), _i = (e, t) => R("/v2/establishments/:establishmentId/email-history").setRouteParams({ establishmentId: t }).setQueryParam("receiverId", e).isList().disablePagination(),
|
|
897
|
+
}), _i = (e, t) => R("/v2/establishments/:establishmentId/email-history").setRouteParams({ establishmentId: t }).setQueryParam("receiverId", e).isList().disablePagination(), $o = () => ({
|
|
898
898
|
listByCandidateAndEstablishment: _i
|
|
899
|
-
}), Ii = (e, t) => R("/email/candidate/:candidateId").setMethod("post").setRouteParams({ candidateId: e }).setPayload(t), bi = (e, t) => R("/v2/emails/send").setMethod("post").setPayload({ recipientIds: e, ...t }),
|
|
899
|
+
}), Ii = (e, t) => R("/email/candidate/:candidateId").setMethod("post").setRouteParams({ candidateId: e }).setPayload(t), bi = (e, t) => R("/v2/emails/send").setMethod("post").setPayload({ recipientIds: e, ...t }), Mo = () => ({
|
|
900
900
|
sendToCandidate: Ii,
|
|
901
901
|
sendToRecipients: bi
|
|
902
902
|
}), ki = (e, t = !0) => {
|
|
903
903
|
const i = R("/v2/establishments/:establishmentId/email-templates").setRouteParams({ establishmentId: e }).isList().disablePagination();
|
|
904
904
|
return t && i.setQueryParam("global", !0), i;
|
|
905
|
-
},
|
|
905
|
+
}, vi = () => R("/v2/self/email-templates").isList().disablePagination(), Uo = () => ({
|
|
906
906
|
listByEstablishment: ki,
|
|
907
|
-
listSelf:
|
|
908
|
-
}),
|
|
907
|
+
listSelf: vi
|
|
908
|
+
}), Si = (e, t) => R("establishment-career/:establishmentId/:versionId").setRouteParams({ establishmentId: e, versionId: t }), Vi = (e, t = "published") => R("establishment-career/:establishmentId/state/:state").setRouteParams({ establishmentId: e, state: t }), Ai = (e, t, i = null) => {
|
|
909
909
|
const n = i !== null ? R("establishment-career/:establishmentId/:versionId").setRouteParams({ establishmentId: e, versionId: i }) : R("establishment-career/:establishmentId").setRouteParams({ establishmentId: e });
|
|
910
910
|
return n.setMethod("post").setPayload(t), n;
|
|
911
|
-
}, Ci = (e, t) => R("establishment-career/:establishmentId/logo-banner").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), Ri = (e, t, i) => R("establishment-career/:establishmentId/publish/:versionId").setMethod("post").setRouteParams({ establishmentId: e, versionId: t }).setPayload(i),
|
|
912
|
-
readById:
|
|
911
|
+
}, Ci = (e, t) => R("establishment-career/:establishmentId/logo-banner").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), Ri = (e, t, i) => R("establishment-career/:establishmentId/publish/:versionId").setMethod("post").setRouteParams({ establishmentId: e, versionId: t }).setPayload(i), Fo = () => ({
|
|
912
|
+
readById: Si,
|
|
913
913
|
readByState: Vi,
|
|
914
914
|
upsert: Ai,
|
|
915
915
|
uploadLogoAndBanner: Ci,
|
|
@@ -917,77 +917,89 @@ const xn = (e, t) => R("/v2/activity/candidate/:candidateId/establishment/:estab
|
|
|
917
917
|
}), Pi = (e) => D("establishment/:establishmentId").setRouteParams({ establishmentId: e }), Oi = (e) => R("establishment/:establishmentId/authorizations").setRouteParams({ establishmentId: e }), Ei = () => ({
|
|
918
918
|
read: Pi,
|
|
919
919
|
authorizations: Oi
|
|
920
|
-
}), Di = (e) => D("feature-flag/maintenance").setMethod("post").setPayload(e),
|
|
920
|
+
}), Di = (e) => D("feature-flag/maintenance").setMethod("post").setPayload(e), Ti = (e, t) => D("feature-flag/establishment").setMethod("post").setPayload({ establishment: e, flagName: t }), jo = () => ({
|
|
921
921
|
maintenanceModeEnabled: Di,
|
|
922
|
-
forEstablishment:
|
|
923
|
-
}), Li = () => D("
|
|
922
|
+
forEstablishment: Ti
|
|
923
|
+
}), Li = () => D("functionalUnit").isList().addGroup("Term:id").addGroup("Term:name"), Ni = (e, t = !0) => R("functionalUnit/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), Ho = () => ({
|
|
924
924
|
list: Li,
|
|
925
|
-
listByEstablishment:
|
|
926
|
-
}), Bi = (
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
925
|
+
listByEstablishment: Ni
|
|
926
|
+
}), Bi = () => D("job").isList().addGroup("Term:id").addGroup("Term:name"), $i = (e, t = !0) => R("job/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), xo = () => ({
|
|
927
|
+
list: Bi,
|
|
928
|
+
listByEstablishment: $i
|
|
929
|
+
}), Mi = (e) => R("jobStatus/establishment/:establishmentId/mine").isList().addGroup("term:formTermSelect").setRouteParams({ establishmentId: e }), Jo = () => ({
|
|
930
|
+
listByEstablishment: Mi
|
|
931
|
+
}), Ui = (e, t) => R("/kanbanColumnsTemplate/user/:userId/establishment/:establishmentId").isList().setRouteParams({ userId: e, establishmentId: t }), zo = () => ({
|
|
932
|
+
listByUserAndEstablishment: Ui
|
|
933
|
+
}), Fi = (e) => R("/label/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), ji = (e, t) => R("/v2/candidate-labels").isList().setQueryParam("establishment-id", e).setQueryParam("candidate-id", t), Hi = (e, t) => R("/label/establishment/:establishmentId").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), xi = (e, t) => R("/label/:labelId").setMethod("put").setRouteParams({ labelId: e }).setPayload(t), Ji = (e) => R("/label/:labelId").setMethod("delete").setRouteParams({ labelId: e }), zi = (e, t, i) => R("/label/establishment/:establishmentId/candidate/:candidateId/synchronize").setMethod("post").setPayload(i).setRouteParams({ establishmentId: e, candidateId: t }), Go = () => ({
|
|
934
|
+
listByEstablishment: Fi,
|
|
935
|
+
listByEstablishmentAndCandidate: ji,
|
|
936
|
+
addToEstablishment: Hi,
|
|
937
|
+
update: xi,
|
|
938
|
+
remove: Ji,
|
|
939
|
+
syncForCandidate: zi
|
|
940
|
+
}), Gi = (e) => D("offer/:offerId").setRouteParams({ offerId: e }), Qi = (e, t) => R("offer/:offerId").setMethod("PUT").setRouteParams({ offerId: e }).setPayload(t).setQueryParam("collection", "complete").addGroup("offer:form-save").addGroup("Offer:jobBoardErrors"), qi = (e) => R("offer/:offerId/undraft").setMethod("PUT").setRouteParams({ offerId: e }).addGroup("offer:form-save").addGroup("Offer:jobBoardErrors"), Ki = (e, t) => R("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"), Qo = () => ({
|
|
941
|
+
read: Gi,
|
|
942
|
+
save: Qi,
|
|
943
|
+
undraft: qi,
|
|
944
|
+
create: Ki
|
|
945
|
+
}), Wi = () => D("pole").isList().addGroup("Term:id").addGroup("Term:name"), Zi = (e, t = !0) => R("pole/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), qo = () => ({
|
|
946
|
+
list: Wi,
|
|
947
|
+
listByEstablishment: Zi
|
|
948
|
+
}), Xi = () => D("rank").isList().addGroup("Term:id").addGroup("Term:name"), Yi = (e, t = !0) => R("rank/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), Ko = () => ({
|
|
949
|
+
list: Xi,
|
|
950
|
+
listByEstablishment: Yi
|
|
951
|
+
}), ea = (e, t = !1) => {
|
|
943
952
|
const i = R("/recruiter/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e });
|
|
944
953
|
return t && i.setQueryParam("exclude-me", 1), i;
|
|
945
|
-
},
|
|
946
|
-
listByEstablishment:
|
|
947
|
-
}),
|
|
948
|
-
read:
|
|
949
|
-
mineByEstablishment:
|
|
950
|
-
mineWithoutCandidate:
|
|
951
|
-
mineWithCandidate:
|
|
952
|
-
withCandidate:
|
|
953
|
-
addCandidates:
|
|
954
|
-
removeCandidate:
|
|
955
|
-
}),
|
|
956
|
-
const r = D("candidate/register/open").setMethod("post"),
|
|
957
|
-
return t === "establishment" && (
|
|
958
|
-
},
|
|
959
|
-
open:
|
|
960
|
-
update:
|
|
961
|
-
read:
|
|
962
|
-
close:
|
|
963
|
-
}),
|
|
964
|
-
lookupEstablishment:
|
|
965
|
-
}),
|
|
966
|
-
list:
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
}),
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
954
|
+
}, Wo = () => ({
|
|
955
|
+
listByEstablishment: ea
|
|
956
|
+
}), ta = (e) => R("/recruitment/:recruitmentId").setRouteParams({ recruitmentId: e }), na = (e) => R("/recruitment/mine/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), ia = (e, t) => R("/recruitment/mine/establishment/:establishmentId/has-not/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), aa = (e, t) => R("/recruitment/mine/establishment/:establishmentId/has/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), ra = (e, t) => R("/recruitment/establishment/:establishmentId/has/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), oa = (e, t) => R("/recruitment/:recruitmentId/candidate").setMethod("put").setRouteParams({ recruitmentId: e }).setPayload(t), sa = (e, t) => R("/recruitment/:recruitmentId/candidate/:candidateId").setMethod("delete").setRouteParams({ recruitmentId: e, candidateId: t }), Zo = () => ({
|
|
957
|
+
read: ta,
|
|
958
|
+
mineByEstablishment: na,
|
|
959
|
+
mineWithoutCandidate: ia,
|
|
960
|
+
mineWithCandidate: aa,
|
|
961
|
+
withCandidate: ra,
|
|
962
|
+
addCandidates: oa,
|
|
963
|
+
removeCandidate: sa
|
|
964
|
+
}), ca = (e, t, i, n = null) => {
|
|
965
|
+
const r = D("candidate/register/open").setMethod("post"), c = { email: e };
|
|
966
|
+
return t === "establishment" && (c.establishmentId = i), t === "offer" && (c.offerId = i), n && (c.referer = n), r.setPayload(c), r;
|
|
967
|
+
}, da = (e, t) => D("candidate/register/update/:token").setMethod("post").setRouteParams({ token: e }).setPayload(t), la = (e) => D("candidate/register/read/:token").setRouteParams({ token: e }), ua = (e) => D("candidate/register/close/:token").setMethod("post").setRouteParams({ token: e }), Xo = () => ({
|
|
968
|
+
open: ca,
|
|
969
|
+
update: da,
|
|
970
|
+
read: la,
|
|
971
|
+
close: ua
|
|
972
|
+
}), fa = (e, t) => R("/v2/registrations/lookup").setQueryParam("candidate-id", e).setQueryParam("establishment-id", t), Yo = () => ({
|
|
973
|
+
lookupEstablishment: fa
|
|
974
|
+
}), ma = () => D("service").isList().addGroup("Term:id").addGroup("Term:name"), pa = (e, t = !0) => R("service/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), es = () => ({
|
|
975
|
+
list: ma,
|
|
976
|
+
listByEstablishment: pa
|
|
977
|
+
}), ya = () => D("skill").isList().addGroup("term:formTermSelect"), ts = () => ({
|
|
978
|
+
list: ya
|
|
979
|
+
}), ga = () => D("speciality").isList().addGroup("Term:id").addGroup("Term:name"), wa = (e, t = !0) => R("speciality/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), ns = () => ({
|
|
980
|
+
list: ga,
|
|
981
|
+
listByEstablishment: wa
|
|
982
|
+
}), ha = (e) => R("/tag/public/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), is = () => ({
|
|
983
|
+
listByEstablishment: ha
|
|
984
|
+
}), _a = (e, t) => R("/v2/talent").setQueryParam("establishment-id", e).setQueryParam("candidate-id", t), Ia = (e, t) => R("/v2/talents/lookup").setQueryParam("candidate-id", e).setQueryParam("establishment-id", t), ba = (e) => R("/v2/talents/index").setMethod("post").setPayload(e), as = () => ({
|
|
985
|
+
read: _a,
|
|
986
|
+
lookupTalent: Ia,
|
|
987
|
+
addCandidateToTalentPool: ba
|
|
988
|
+
}), ka = (e) => D("user/email/isset/:email").setRouteParams({ email: e }), va = () => R("user/self").addGroup("user:self"), Sa = (e) => R("/user/:uuid").setRouteParams({ uuid: e }), Va = (e) => D("/user/:uuid").setRouteParams({ uuid: e }), Aa = (e) => R("/user/:id/uuid").setRouteParams({ id: e }), Ca = (e) => R("/collaborator/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), Ra = () => ({
|
|
989
|
+
emailExists: ka,
|
|
990
|
+
self: va,
|
|
991
|
+
byUuidPrivate: Sa,
|
|
992
|
+
byUuid: Va,
|
|
993
|
+
fetchUuid: Aa,
|
|
994
|
+
listCollaboratorByEstablishment: Ca
|
|
995
|
+
}), Pa = (e = {
|
|
984
996
|
token: "token",
|
|
985
997
|
refresh: "refresh_token",
|
|
986
998
|
expiration: "token_expiration_date"
|
|
987
999
|
}, t = _n()) => {
|
|
988
|
-
const i = () => t, n = () => t.getItem(e.token), r = () => t.getItem(e.refresh),
|
|
989
|
-
const
|
|
990
|
-
return
|
|
1000
|
+
const i = () => t, n = () => t.getItem(e.token), r = () => t.getItem(e.refresh), c = () => t.getItem(e.expiration), f = () => h() && !y(), h = () => !!n(), y = () => {
|
|
1001
|
+
const s = c();
|
|
1002
|
+
return s ? new Date(s) < /* @__PURE__ */ new Date() : !0;
|
|
991
1003
|
}, b = async () => {
|
|
992
1004
|
if (h() && y())
|
|
993
1005
|
try {
|
|
@@ -995,32 +1007,32 @@ const xn = (e, t) => R("/v2/activity/candidate/:candidateId/establishment/:estab
|
|
|
995
1007
|
} catch {
|
|
996
1008
|
return A(), I();
|
|
997
1009
|
}
|
|
998
|
-
}, _ = (
|
|
999
|
-
const
|
|
1000
|
-
if (!
|
|
1010
|
+
}, _ = (s, w) => {
|
|
1011
|
+
const v = m(s);
|
|
1012
|
+
if (!v.exp)
|
|
1001
1013
|
throw new Error("Invalid JWT token.");
|
|
1002
|
-
t.setItem(e.token,
|
|
1014
|
+
t.setItem(e.token, s), t.setItem(e.refresh, w), t.setItem(e.expiration, ((v.exp - 60) * 1e3).toString());
|
|
1003
1015
|
}, A = () => {
|
|
1004
1016
|
t.removeItem(e.token), t.removeItem(e.refresh), t.removeItem(e.expiration);
|
|
1005
1017
|
}, k = async () => {
|
|
1006
|
-
const
|
|
1007
|
-
if (!
|
|
1018
|
+
const s = r();
|
|
1019
|
+
if (!s)
|
|
1008
1020
|
throw new Error("No refresh token found.");
|
|
1009
1021
|
try {
|
|
1010
|
-
const w = (await
|
|
1022
|
+
const w = (await Gn().refreshToken(s).send()).getData();
|
|
1011
1023
|
A(), _(w.token, w.refresh_token);
|
|
1012
1024
|
} catch {
|
|
1013
1025
|
throw new Error("Failed to refresh token.");
|
|
1014
1026
|
}
|
|
1015
|
-
}, I = async () => (window.open(
|
|
1027
|
+
}, I = async () => (window.open(io().root(), "_self"), setTimeout(() => {
|
|
1016
1028
|
throw u.error("Redirecting to login page failed."), new Error("Redirecting to login page failed.");
|
|
1017
|
-
}, 1e4)), m = (
|
|
1029
|
+
}, 1e4)), m = (s) => JSON.parse(atob(s.split(".")[1]));
|
|
1018
1030
|
return {
|
|
1019
1031
|
keys: e,
|
|
1020
1032
|
getStorage: i,
|
|
1021
1033
|
getAuthToken: n,
|
|
1022
1034
|
getRefreshToken: r,
|
|
1023
|
-
getExpiration:
|
|
1035
|
+
getExpiration: c,
|
|
1024
1036
|
isAuthenticated: f,
|
|
1025
1037
|
hasAuth: h,
|
|
1026
1038
|
isExpired: y,
|
|
@@ -1031,7 +1043,7 @@ const xn = (e, t) => R("/v2/activity/candidate/:candidateId/establishment/:estab
|
|
|
1031
1043
|
redirectToLogin: I
|
|
1032
1044
|
};
|
|
1033
1045
|
};
|
|
1034
|
-
function
|
|
1046
|
+
function Oa(e, t) {
|
|
1035
1047
|
const i = /* @__PURE__ */ Object.create(null), n = e.split(",");
|
|
1036
1048
|
for (let r = 0; r < n.length; r++)
|
|
1037
1049
|
i[n[r]] = !0;
|
|
@@ -1039,43 +1051,43 @@ function ka(e, t) {
|
|
|
1039
1051
|
}
|
|
1040
1052
|
process.env.NODE_ENV !== "production" && Object.freeze({});
|
|
1041
1053
|
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
1042
|
-
const kt = Object.assign,
|
|
1054
|
+
const kt = Object.assign, Ea = Object.prototype.hasOwnProperty, ge = (e, t) => Ea.call(e, t), H = Array.isArray, X = (e) => vt(e) === "[object Map]", Da = (e) => typeof e == "string", Ge = (e) => typeof e == "symbol", we = (e) => e !== null && typeof e == "object", Ta = Object.prototype.toString, vt = (e) => Ta.call(e), St = (e) => vt(e).slice(8, -1), Qe = (e) => Da(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, La = (e) => {
|
|
1043
1055
|
const t = /* @__PURE__ */ Object.create(null);
|
|
1044
1056
|
return (i) => t[i] || (t[i] = e(i));
|
|
1045
|
-
},
|
|
1057
|
+
}, Na = La(
|
|
1046
1058
|
(e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
1047
|
-
),
|
|
1059
|
+
), qe = (e, t) => !Object.is(e, t);
|
|
1048
1060
|
function nt(e, ...t) {
|
|
1049
1061
|
console.warn(`[Vue warn] ${e}`, ...t);
|
|
1050
1062
|
}
|
|
1051
1063
|
const te = (e) => {
|
|
1052
1064
|
const t = new Set(e);
|
|
1053
1065
|
return t.w = 0, t.n = 0, t;
|
|
1054
|
-
},
|
|
1066
|
+
}, Ba = (e) => (e.w & Ke) > 0, $a = (e) => (e.n & Ke) > 0, Fe = /* @__PURE__ */ new WeakMap();
|
|
1055
1067
|
let Ke = 1, F;
|
|
1056
1068
|
const J = Symbol(process.env.NODE_ENV !== "production" ? "iterate" : ""), je = Symbol(process.env.NODE_ENV !== "production" ? "Map key iterate" : "");
|
|
1057
1069
|
let ne = !0;
|
|
1058
1070
|
const Vt = [];
|
|
1059
|
-
function
|
|
1071
|
+
function Ma() {
|
|
1060
1072
|
Vt.push(ne), ne = !1;
|
|
1061
1073
|
}
|
|
1062
|
-
function
|
|
1074
|
+
function Ua() {
|
|
1063
1075
|
const e = Vt.pop();
|
|
1064
1076
|
ne = e === void 0 ? !0 : e;
|
|
1065
1077
|
}
|
|
1066
|
-
function
|
|
1078
|
+
function N(e, t, i) {
|
|
1067
1079
|
if (ne && F) {
|
|
1068
1080
|
let n = Fe.get(e);
|
|
1069
1081
|
n || Fe.set(e, n = /* @__PURE__ */ new Map());
|
|
1070
1082
|
let r = n.get(i);
|
|
1071
1083
|
r || n.set(i, r = te());
|
|
1072
|
-
const
|
|
1073
|
-
He(r,
|
|
1084
|
+
const c = process.env.NODE_ENV !== "production" ? { effect: F, target: e, type: t, key: i } : void 0;
|
|
1085
|
+
He(r, c);
|
|
1074
1086
|
}
|
|
1075
1087
|
}
|
|
1076
1088
|
function He(e, t) {
|
|
1077
1089
|
let i = !1;
|
|
1078
|
-
|
|
1090
|
+
$a(e) || (e.n |= Ke, i = !Ba(e)), i && (e.add(F), F.deps.push(e), process.env.NODE_ENV !== "production" && F.onTrack && F.onTrack(
|
|
1079
1091
|
kt(
|
|
1080
1092
|
{
|
|
1081
1093
|
effect: F
|
|
@@ -1084,7 +1096,7 @@ function He(e, t) {
|
|
|
1084
1096
|
)
|
|
1085
1097
|
));
|
|
1086
1098
|
}
|
|
1087
|
-
function x(e, t, i, n, r,
|
|
1099
|
+
function x(e, t, i, n, r, c) {
|
|
1088
1100
|
const f = Fe.get(e);
|
|
1089
1101
|
if (!f)
|
|
1090
1102
|
return;
|
|
@@ -1099,7 +1111,7 @@ function x(e, t, i, n, r, s) {
|
|
|
1099
1111
|
} else
|
|
1100
1112
|
switch (i !== void 0 && h.push(f.get(i)), t) {
|
|
1101
1113
|
case "add":
|
|
1102
|
-
H(e) ?
|
|
1114
|
+
H(e) ? Qe(i) && h.push(f.get("length")) : (h.push(f.get(J)), X(e) && h.push(f.get(je)));
|
|
1103
1115
|
break;
|
|
1104
1116
|
case "delete":
|
|
1105
1117
|
H(e) || (h.push(f.get(J)), X(e) && h.push(f.get(je)));
|
|
@@ -1108,17 +1120,17 @@ function x(e, t, i, n, r, s) {
|
|
|
1108
1120
|
X(e) && h.push(f.get(J));
|
|
1109
1121
|
break;
|
|
1110
1122
|
}
|
|
1111
|
-
const y = process.env.NODE_ENV !== "production" ? { target: e, type: t, key: i, newValue: n, oldValue: r, oldTarget:
|
|
1123
|
+
const y = process.env.NODE_ENV !== "production" ? { target: e, type: t, key: i, newValue: n, oldValue: r, oldTarget: c } : void 0;
|
|
1112
1124
|
if (h.length === 1)
|
|
1113
|
-
h[0] && (process.env.NODE_ENV !== "production" ?
|
|
1125
|
+
h[0] && (process.env.NODE_ENV !== "production" ? q(h[0], y) : q(h[0]));
|
|
1114
1126
|
else {
|
|
1115
1127
|
const b = [];
|
|
1116
1128
|
for (const _ of h)
|
|
1117
1129
|
_ && b.push(..._);
|
|
1118
|
-
process.env.NODE_ENV !== "production" ?
|
|
1130
|
+
process.env.NODE_ENV !== "production" ? q(te(b), y) : q(te(b));
|
|
1119
1131
|
}
|
|
1120
1132
|
}
|
|
1121
|
-
function
|
|
1133
|
+
function q(e, t) {
|
|
1122
1134
|
const i = H(e) ? e : [...e];
|
|
1123
1135
|
for (const n of i)
|
|
1124
1136
|
n.computed && it(n, t);
|
|
@@ -1128,83 +1140,83 @@ function G(e, t) {
|
|
|
1128
1140
|
function it(e, t) {
|
|
1129
1141
|
(e !== F || e.allowRecurse) && (process.env.NODE_ENV !== "production" && e.onTrigger && e.onTrigger(kt({ effect: e }, t)), e.scheduler ? e.scheduler() : e.run());
|
|
1130
1142
|
}
|
|
1131
|
-
const
|
|
1132
|
-
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(
|
|
1133
|
-
),
|
|
1134
|
-
function
|
|
1143
|
+
const Fa = /* @__PURE__ */ Oa("__proto__,__v_isRef,__isVue"), At = new Set(
|
|
1144
|
+
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Ge)
|
|
1145
|
+
), ja = /* @__PURE__ */ Ct(), Ha = /* @__PURE__ */ Ct(!0), at = /* @__PURE__ */ xa();
|
|
1146
|
+
function xa() {
|
|
1135
1147
|
const e = {};
|
|
1136
1148
|
return ["includes", "indexOf", "lastIndexOf"].forEach((t) => {
|
|
1137
1149
|
e[t] = function(...i) {
|
|
1138
1150
|
const n = O(this);
|
|
1139
|
-
for (let
|
|
1140
|
-
|
|
1151
|
+
for (let c = 0, f = this.length; c < f; c++)
|
|
1152
|
+
N(n, "get", c + "");
|
|
1141
1153
|
const r = n[t](...i);
|
|
1142
1154
|
return r === -1 || r === !1 ? n[t](...i.map(O)) : r;
|
|
1143
1155
|
};
|
|
1144
1156
|
}), ["push", "pop", "shift", "unshift", "splice"].forEach((t) => {
|
|
1145
1157
|
e[t] = function(...i) {
|
|
1146
|
-
|
|
1158
|
+
Ma();
|
|
1147
1159
|
const n = O(this)[t].apply(this, i);
|
|
1148
|
-
return
|
|
1160
|
+
return Ua(), n;
|
|
1149
1161
|
};
|
|
1150
1162
|
}), e;
|
|
1151
1163
|
}
|
|
1152
|
-
function
|
|
1164
|
+
function Ja(e) {
|
|
1153
1165
|
const t = O(this);
|
|
1154
|
-
return
|
|
1166
|
+
return N(t, "has", e), t.hasOwnProperty(e);
|
|
1155
1167
|
}
|
|
1156
1168
|
function Ct(e = !1, t = !1) {
|
|
1157
|
-
return function(n, r,
|
|
1169
|
+
return function(n, r, c) {
|
|
1158
1170
|
if (r === "__v_isReactive")
|
|
1159
1171
|
return !e;
|
|
1160
1172
|
if (r === "__v_isReadonly")
|
|
1161
1173
|
return e;
|
|
1162
1174
|
if (r === "__v_isShallow")
|
|
1163
1175
|
return t;
|
|
1164
|
-
if (r === "__v_raw" &&
|
|
1176
|
+
if (r === "__v_raw" && c === (e ? t ? or : Et : t ? rr : Ot).get(n))
|
|
1165
1177
|
return n;
|
|
1166
1178
|
const f = H(n);
|
|
1167
1179
|
if (!e) {
|
|
1168
1180
|
if (f && ge(at, r))
|
|
1169
|
-
return Reflect.get(at, r,
|
|
1181
|
+
return Reflect.get(at, r, c);
|
|
1170
1182
|
if (r === "hasOwnProperty")
|
|
1171
|
-
return
|
|
1183
|
+
return Ja;
|
|
1172
1184
|
}
|
|
1173
|
-
const h = Reflect.get(n, r,
|
|
1174
|
-
return (
|
|
1185
|
+
const h = Reflect.get(n, r, c);
|
|
1186
|
+
return (Ge(r) ? At.has(r) : Fa(r)) || (e || N(n, "get", r), t) ? h : K(h) ? f && Qe(r) ? h : h.value : we(h) ? e ? Tt(h) : Dt(h) : h;
|
|
1175
1187
|
};
|
|
1176
1188
|
}
|
|
1177
|
-
const
|
|
1178
|
-
function
|
|
1179
|
-
return function(i, n, r,
|
|
1189
|
+
const za = /* @__PURE__ */ Ga();
|
|
1190
|
+
function Ga(e = !1) {
|
|
1191
|
+
return function(i, n, r, c) {
|
|
1180
1192
|
let f = i[n];
|
|
1181
1193
|
if (me(f) && K(f) && !K(r))
|
|
1182
1194
|
return !1;
|
|
1183
|
-
if (!e && (!
|
|
1195
|
+
if (!e && (!Nt(r) && !me(r) && (f = O(f), r = O(r)), !H(i) && K(f) && !K(r)))
|
|
1184
1196
|
return f.value = r, !0;
|
|
1185
|
-
const h = H(i) &&
|
|
1186
|
-
return i === O(
|
|
1197
|
+
const h = H(i) && Qe(n) ? Number(n) < i.length : ge(i, n), y = Reflect.set(i, n, r, c);
|
|
1198
|
+
return i === O(c) && (h ? qe(r, f) && x(i, "set", n, r, f) : x(i, "add", n, r)), y;
|
|
1187
1199
|
};
|
|
1188
1200
|
}
|
|
1189
|
-
function
|
|
1201
|
+
function Qa(e, t) {
|
|
1190
1202
|
const i = ge(e, t), n = e[t], r = Reflect.deleteProperty(e, t);
|
|
1191
1203
|
return r && i && x(e, "delete", t, void 0, n), r;
|
|
1192
1204
|
}
|
|
1193
|
-
function
|
|
1205
|
+
function qa(e, t) {
|
|
1194
1206
|
const i = Reflect.has(e, t);
|
|
1195
|
-
return (!
|
|
1196
|
-
}
|
|
1197
|
-
function
|
|
1198
|
-
return
|
|
1199
|
-
}
|
|
1200
|
-
const
|
|
1201
|
-
get:
|
|
1202
|
-
set:
|
|
1203
|
-
deleteProperty:
|
|
1204
|
-
has:
|
|
1205
|
-
ownKeys:
|
|
1206
|
-
},
|
|
1207
|
-
get:
|
|
1207
|
+
return (!Ge(t) || !At.has(t)) && N(e, "has", t), i;
|
|
1208
|
+
}
|
|
1209
|
+
function Ka(e) {
|
|
1210
|
+
return N(e, "iterate", H(e) ? "length" : J), Reflect.ownKeys(e);
|
|
1211
|
+
}
|
|
1212
|
+
const Wa = {
|
|
1213
|
+
get: ja,
|
|
1214
|
+
set: za,
|
|
1215
|
+
deleteProperty: Qa,
|
|
1216
|
+
has: qa,
|
|
1217
|
+
ownKeys: Ka
|
|
1218
|
+
}, Za = {
|
|
1219
|
+
get: Ha,
|
|
1208
1220
|
set(e, t) {
|
|
1209
1221
|
return process.env.NODE_ENV !== "production" && nt(
|
|
1210
1222
|
`Set operation on key "${String(t)}" failed: target is readonly.`,
|
|
@@ -1218,23 +1230,23 @@ const Ha = {
|
|
|
1218
1230
|
), !0;
|
|
1219
1231
|
}
|
|
1220
1232
|
}, We = (e) => e, he = (e) => Reflect.getPrototypeOf(e);
|
|
1221
|
-
function
|
|
1233
|
+
function se(e, t, i = !1, n = !1) {
|
|
1222
1234
|
e = e.__v_raw;
|
|
1223
|
-
const r = O(e),
|
|
1224
|
-
i || (t !==
|
|
1235
|
+
const r = O(e), c = O(t);
|
|
1236
|
+
i || (t !== c && N(r, "get", t), N(r, "get", c));
|
|
1225
1237
|
const { has: f } = he(r), h = n ? We : i ? Ze : ie;
|
|
1226
1238
|
if (f.call(r, t))
|
|
1227
1239
|
return h(e.get(t));
|
|
1228
|
-
if (f.call(r,
|
|
1229
|
-
return h(e.get(
|
|
1240
|
+
if (f.call(r, c))
|
|
1241
|
+
return h(e.get(c));
|
|
1230
1242
|
e !== r && e.get(t);
|
|
1231
1243
|
}
|
|
1232
|
-
function
|
|
1244
|
+
function ce(e, t = !1) {
|
|
1233
1245
|
const i = this.__v_raw, n = O(i), r = O(e);
|
|
1234
|
-
return t || (e !== r &&
|
|
1246
|
+
return t || (e !== r && N(n, "has", e), N(n, "has", r)), e === r ? i.has(e) : i.has(e) || i.has(r);
|
|
1235
1247
|
}
|
|
1236
1248
|
function de(e, t = !1) {
|
|
1237
|
-
return e = e.__v_raw, !t &&
|
|
1249
|
+
return e = e.__v_raw, !t && N(O(e), "iterate", J), Reflect.get(e, "size", e);
|
|
1238
1250
|
}
|
|
1239
1251
|
function rt(e) {
|
|
1240
1252
|
e = O(e);
|
|
@@ -1244,33 +1256,33 @@ function rt(e) {
|
|
|
1244
1256
|
function ot(e, t) {
|
|
1245
1257
|
t = O(t);
|
|
1246
1258
|
const i = O(this), { has: n, get: r } = he(i);
|
|
1247
|
-
let
|
|
1248
|
-
|
|
1259
|
+
let c = n.call(i, e);
|
|
1260
|
+
c ? process.env.NODE_ENV !== "production" && Pt(i, n, e) : (e = O(e), c = n.call(i, e));
|
|
1249
1261
|
const f = r.call(i, e);
|
|
1250
|
-
return i.set(e, t),
|
|
1262
|
+
return i.set(e, t), c ? qe(t, f) && x(i, "set", e, t, f) : x(i, "add", e, t), this;
|
|
1251
1263
|
}
|
|
1252
|
-
function
|
|
1264
|
+
function st(e) {
|
|
1253
1265
|
const t = O(this), { has: i, get: n } = he(t);
|
|
1254
1266
|
let r = i.call(t, e);
|
|
1255
1267
|
r ? process.env.NODE_ENV !== "production" && Pt(t, i, e) : (e = O(e), r = i.call(t, e));
|
|
1256
|
-
const
|
|
1257
|
-
return r && x(t, "delete", e, void 0,
|
|
1268
|
+
const c = n ? n.call(t, e) : void 0, f = t.delete(e);
|
|
1269
|
+
return r && x(t, "delete", e, void 0, c), f;
|
|
1258
1270
|
}
|
|
1259
|
-
function
|
|
1271
|
+
function ct() {
|
|
1260
1272
|
const e = O(this), t = e.size !== 0, i = process.env.NODE_ENV !== "production" ? X(e) ? new Map(e) : new Set(e) : void 0, n = e.clear();
|
|
1261
1273
|
return t && x(e, "clear", void 0, void 0, i), n;
|
|
1262
1274
|
}
|
|
1263
1275
|
function le(e, t) {
|
|
1264
1276
|
return function(n, r) {
|
|
1265
|
-
const
|
|
1266
|
-
return !e &&
|
|
1277
|
+
const c = this, f = c.__v_raw, h = O(f), y = t ? We : e ? Ze : ie;
|
|
1278
|
+
return !e && N(h, "iterate", J), f.forEach((b, _) => n.call(r, y(b), y(_), c));
|
|
1267
1279
|
};
|
|
1268
1280
|
}
|
|
1269
1281
|
function ue(e, t, i) {
|
|
1270
1282
|
return function(...n) {
|
|
1271
|
-
const r = this.__v_raw,
|
|
1272
|
-
return !t &&
|
|
1273
|
-
|
|
1283
|
+
const r = this.__v_raw, c = O(r), f = X(c), h = e === "entries" || e === Symbol.iterator && f, y = e === "keys" && f, b = r[e](...n), _ = i ? We : t ? Ze : ie;
|
|
1284
|
+
return !t && N(
|
|
1285
|
+
c,
|
|
1274
1286
|
"iterate",
|
|
1275
1287
|
y ? je : J
|
|
1276
1288
|
), {
|
|
@@ -1294,49 +1306,49 @@ function j(e) {
|
|
|
1294
1306
|
if (process.env.NODE_ENV !== "production") {
|
|
1295
1307
|
const i = t[0] ? `on key "${t[0]}" ` : "";
|
|
1296
1308
|
console.warn(
|
|
1297
|
-
`${
|
|
1309
|
+
`${Na(e)} operation ${i}failed: target is readonly.`,
|
|
1298
1310
|
O(this)
|
|
1299
1311
|
);
|
|
1300
1312
|
}
|
|
1301
1313
|
return e === "delete" ? !1 : this;
|
|
1302
1314
|
};
|
|
1303
1315
|
}
|
|
1304
|
-
function
|
|
1316
|
+
function Xa() {
|
|
1305
1317
|
const e = {
|
|
1306
|
-
get(
|
|
1307
|
-
return
|
|
1318
|
+
get(c) {
|
|
1319
|
+
return se(this, c);
|
|
1308
1320
|
},
|
|
1309
1321
|
get size() {
|
|
1310
1322
|
return de(this);
|
|
1311
1323
|
},
|
|
1312
|
-
has:
|
|
1324
|
+
has: ce,
|
|
1313
1325
|
add: rt,
|
|
1314
1326
|
set: ot,
|
|
1315
|
-
delete:
|
|
1316
|
-
clear:
|
|
1327
|
+
delete: st,
|
|
1328
|
+
clear: ct,
|
|
1317
1329
|
forEach: le(!1, !1)
|
|
1318
1330
|
}, t = {
|
|
1319
|
-
get(
|
|
1320
|
-
return
|
|
1331
|
+
get(c) {
|
|
1332
|
+
return se(this, c, !1, !0);
|
|
1321
1333
|
},
|
|
1322
1334
|
get size() {
|
|
1323
1335
|
return de(this);
|
|
1324
1336
|
},
|
|
1325
|
-
has:
|
|
1337
|
+
has: ce,
|
|
1326
1338
|
add: rt,
|
|
1327
1339
|
set: ot,
|
|
1328
|
-
delete:
|
|
1329
|
-
clear:
|
|
1340
|
+
delete: st,
|
|
1341
|
+
clear: ct,
|
|
1330
1342
|
forEach: le(!1, !0)
|
|
1331
1343
|
}, i = {
|
|
1332
|
-
get(
|
|
1333
|
-
return
|
|
1344
|
+
get(c) {
|
|
1345
|
+
return se(this, c, !0);
|
|
1334
1346
|
},
|
|
1335
1347
|
get size() {
|
|
1336
1348
|
return de(this, !0);
|
|
1337
1349
|
},
|
|
1338
|
-
has(
|
|
1339
|
-
return
|
|
1350
|
+
has(c) {
|
|
1351
|
+
return ce.call(this, c, !0);
|
|
1340
1352
|
},
|
|
1341
1353
|
add: j("add"),
|
|
1342
1354
|
set: j("set"),
|
|
@@ -1344,14 +1356,14 @@ function Ja() {
|
|
|
1344
1356
|
clear: j("clear"),
|
|
1345
1357
|
forEach: le(!0, !1)
|
|
1346
1358
|
}, n = {
|
|
1347
|
-
get(
|
|
1348
|
-
return
|
|
1359
|
+
get(c) {
|
|
1360
|
+
return se(this, c, !0, !0);
|
|
1349
1361
|
},
|
|
1350
1362
|
get size() {
|
|
1351
1363
|
return de(this, !0);
|
|
1352
1364
|
},
|
|
1353
|
-
has(
|
|
1354
|
-
return
|
|
1365
|
+
has(c) {
|
|
1366
|
+
return ce.call(this, c, !0);
|
|
1355
1367
|
},
|
|
1356
1368
|
add: j("add"),
|
|
1357
1369
|
set: j("set"),
|
|
@@ -1359,21 +1371,21 @@ function Ja() {
|
|
|
1359
1371
|
clear: j("clear"),
|
|
1360
1372
|
forEach: le(!0, !0)
|
|
1361
1373
|
};
|
|
1362
|
-
return ["keys", "values", "entries", Symbol.iterator].forEach((
|
|
1363
|
-
e[
|
|
1364
|
-
|
|
1374
|
+
return ["keys", "values", "entries", Symbol.iterator].forEach((c) => {
|
|
1375
|
+
e[c] = ue(
|
|
1376
|
+
c,
|
|
1365
1377
|
!1,
|
|
1366
1378
|
!1
|
|
1367
|
-
), i[
|
|
1368
|
-
|
|
1379
|
+
), i[c] = ue(
|
|
1380
|
+
c,
|
|
1369
1381
|
!0,
|
|
1370
1382
|
!1
|
|
1371
|
-
), t[
|
|
1372
|
-
|
|
1383
|
+
), t[c] = ue(
|
|
1384
|
+
c,
|
|
1373
1385
|
!1,
|
|
1374
1386
|
!0
|
|
1375
|
-
), n[
|
|
1376
|
-
|
|
1387
|
+
), n[c] = ue(
|
|
1388
|
+
c,
|
|
1377
1389
|
!0,
|
|
1378
1390
|
!0
|
|
1379
1391
|
);
|
|
@@ -1385,35 +1397,35 @@ function Ja() {
|
|
|
1385
1397
|
];
|
|
1386
1398
|
}
|
|
1387
1399
|
const [
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
] = /* @__PURE__ */
|
|
1400
|
+
Ya,
|
|
1401
|
+
er,
|
|
1402
|
+
tr,
|
|
1403
|
+
nr
|
|
1404
|
+
] = /* @__PURE__ */ Xa();
|
|
1393
1405
|
function Rt(e, t) {
|
|
1394
|
-
const i = t ? e ?
|
|
1395
|
-
return (n, r,
|
|
1406
|
+
const i = t ? e ? nr : tr : e ? er : Ya;
|
|
1407
|
+
return (n, r, c) => r === "__v_isReactive" ? !e : r === "__v_isReadonly" ? e : r === "__v_raw" ? n : Reflect.get(
|
|
1396
1408
|
ge(i, r) && r in n ? i : n,
|
|
1397
1409
|
r,
|
|
1398
|
-
|
|
1410
|
+
c
|
|
1399
1411
|
);
|
|
1400
1412
|
}
|
|
1401
|
-
const
|
|
1413
|
+
const ir = {
|
|
1402
1414
|
get: /* @__PURE__ */ Rt(!1, !1)
|
|
1403
|
-
},
|
|
1415
|
+
}, ar = {
|
|
1404
1416
|
get: /* @__PURE__ */ Rt(!0, !1)
|
|
1405
1417
|
};
|
|
1406
1418
|
function Pt(e, t, i) {
|
|
1407
1419
|
const n = O(i);
|
|
1408
1420
|
if (n !== i && t.call(e, n)) {
|
|
1409
|
-
const r =
|
|
1421
|
+
const r = St(e);
|
|
1410
1422
|
console.warn(
|
|
1411
1423
|
`Reactive ${r} contains both the raw and reactive versions of the same object${r === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
|
|
1412
1424
|
);
|
|
1413
1425
|
}
|
|
1414
1426
|
}
|
|
1415
|
-
const Ot = /* @__PURE__ */ new WeakMap(),
|
|
1416
|
-
function
|
|
1427
|
+
const Ot = /* @__PURE__ */ new WeakMap(), rr = /* @__PURE__ */ new WeakMap(), Et = /* @__PURE__ */ new WeakMap(), or = /* @__PURE__ */ new WeakMap();
|
|
1428
|
+
function sr(e) {
|
|
1417
1429
|
switch (e) {
|
|
1418
1430
|
case "Object":
|
|
1419
1431
|
case "Array":
|
|
@@ -1427,24 +1439,24 @@ function Ya(e) {
|
|
|
1427
1439
|
return 0;
|
|
1428
1440
|
}
|
|
1429
1441
|
}
|
|
1430
|
-
function
|
|
1431
|
-
return e.__v_skip || !Object.isExtensible(e) ? 0 :
|
|
1442
|
+
function cr(e) {
|
|
1443
|
+
return e.__v_skip || !Object.isExtensible(e) ? 0 : sr(St(e));
|
|
1432
1444
|
}
|
|
1433
1445
|
function Dt(e) {
|
|
1434
1446
|
return me(e) ? e : Lt(
|
|
1435
1447
|
e,
|
|
1436
1448
|
!1,
|
|
1437
|
-
|
|
1438
|
-
|
|
1449
|
+
Wa,
|
|
1450
|
+
ir,
|
|
1439
1451
|
Ot
|
|
1440
1452
|
);
|
|
1441
1453
|
}
|
|
1442
|
-
function
|
|
1454
|
+
function Tt(e) {
|
|
1443
1455
|
return Lt(
|
|
1444
1456
|
e,
|
|
1445
1457
|
!0,
|
|
1446
|
-
|
|
1447
|
-
|
|
1458
|
+
Za,
|
|
1459
|
+
ar,
|
|
1448
1460
|
Et
|
|
1449
1461
|
);
|
|
1450
1462
|
}
|
|
@@ -1453,10 +1465,10 @@ function Lt(e, t, i, n, r) {
|
|
|
1453
1465
|
return process.env.NODE_ENV !== "production" && console.warn(`value cannot be made reactive: ${String(e)}`), e;
|
|
1454
1466
|
if (e.__v_raw && !(t && e.__v_isReactive))
|
|
1455
1467
|
return e;
|
|
1456
|
-
const
|
|
1457
|
-
if (
|
|
1458
|
-
return
|
|
1459
|
-
const f =
|
|
1468
|
+
const c = r.get(e);
|
|
1469
|
+
if (c)
|
|
1470
|
+
return c;
|
|
1471
|
+
const f = cr(e);
|
|
1460
1472
|
if (f === 0)
|
|
1461
1473
|
return e;
|
|
1462
1474
|
const h = new Proxy(
|
|
@@ -1468,204 +1480,204 @@ function Lt(e, t, i, n, r) {
|
|
|
1468
1480
|
function me(e) {
|
|
1469
1481
|
return !!(e && e.__v_isReadonly);
|
|
1470
1482
|
}
|
|
1471
|
-
function
|
|
1483
|
+
function Nt(e) {
|
|
1472
1484
|
return !!(e && e.__v_isShallow);
|
|
1473
1485
|
}
|
|
1474
1486
|
function O(e) {
|
|
1475
1487
|
const t = e && e.__v_raw;
|
|
1476
1488
|
return t ? O(t) : e;
|
|
1477
1489
|
}
|
|
1478
|
-
const ie = (e) => we(e) ? Dt(e) : e, Ze = (e) => we(e) ?
|
|
1479
|
-
function
|
|
1490
|
+
const ie = (e) => we(e) ? Dt(e) : e, Ze = (e) => we(e) ? Tt(e) : e;
|
|
1491
|
+
function dr(e) {
|
|
1480
1492
|
ne && F && (e = O(e), process.env.NODE_ENV !== "production" ? He(e.dep || (e.dep = te()), {
|
|
1481
1493
|
target: e,
|
|
1482
1494
|
type: "get",
|
|
1483
1495
|
key: "value"
|
|
1484
1496
|
}) : He(e.dep || (e.dep = te())));
|
|
1485
1497
|
}
|
|
1486
|
-
function
|
|
1498
|
+
function lr(e, t) {
|
|
1487
1499
|
e = O(e);
|
|
1488
1500
|
const i = e.dep;
|
|
1489
|
-
i && (process.env.NODE_ENV !== "production" ?
|
|
1501
|
+
i && (process.env.NODE_ENV !== "production" ? q(i, {
|
|
1490
1502
|
target: e,
|
|
1491
1503
|
type: "set",
|
|
1492
1504
|
key: "value",
|
|
1493
1505
|
newValue: t
|
|
1494
|
-
}) :
|
|
1506
|
+
}) : q(i));
|
|
1495
1507
|
}
|
|
1496
1508
|
function K(e) {
|
|
1497
1509
|
return !!(e && e.__v_isRef === !0);
|
|
1498
1510
|
}
|
|
1499
1511
|
function dt(e) {
|
|
1500
|
-
return
|
|
1512
|
+
return ur(e, !1);
|
|
1501
1513
|
}
|
|
1502
|
-
function
|
|
1503
|
-
return K(e) ? e : new
|
|
1514
|
+
function ur(e, t) {
|
|
1515
|
+
return K(e) ? e : new fr(e, t);
|
|
1504
1516
|
}
|
|
1505
|
-
class
|
|
1517
|
+
class fr {
|
|
1506
1518
|
constructor(t, i) {
|
|
1507
1519
|
this.__v_isShallow = i, this.dep = void 0, this.__v_isRef = !0, this._rawValue = i ? t : O(t), this._value = i ? t : ie(t);
|
|
1508
1520
|
}
|
|
1509
1521
|
get value() {
|
|
1510
|
-
return
|
|
1522
|
+
return dr(this), this._value;
|
|
1511
1523
|
}
|
|
1512
1524
|
set value(t) {
|
|
1513
|
-
const i = this.__v_isShallow ||
|
|
1514
|
-
t = i ? t : O(t),
|
|
1525
|
+
const i = this.__v_isShallow || Nt(t) || me(t);
|
|
1526
|
+
t = i ? t : O(t), qe(t, this._rawValue) && (this._rawValue = t, this._value = i ? t : ie(t), lr(this, t));
|
|
1515
1527
|
}
|
|
1516
1528
|
}
|
|
1517
|
-
const
|
|
1529
|
+
const mr = () => {
|
|
1518
1530
|
const e = dt(void 0), t = dt({}), i = ae(() => {
|
|
1519
1531
|
var y;
|
|
1520
1532
|
return ((y = e.value) == null ? void 0 : y.roles) ?? [];
|
|
1521
|
-
}), n = ae(() => i.value.includes("ROLE_RH")), r = ae(() => i.value.includes("ROLE_CANDIDATE")),
|
|
1533
|
+
}), n = ae(() => i.value.includes("ROLE_RH")), r = ae(() => i.value.includes("ROLE_CANDIDATE")), c = ae(() => i.value.includes("ROLE_ADMIN"));
|
|
1522
1534
|
return {
|
|
1523
1535
|
user: e,
|
|
1524
1536
|
establishments: t,
|
|
1525
1537
|
roles: i,
|
|
1526
1538
|
isRH: n,
|
|
1527
1539
|
isCandidate: r,
|
|
1528
|
-
isAdmin:
|
|
1540
|
+
isAdmin: c,
|
|
1529
1541
|
fetchSelf: async (y = !1) => {
|
|
1530
1542
|
if (!(e.value !== void 0 && !y))
|
|
1531
|
-
return
|
|
1543
|
+
return Ra().self().send().then((b) => e.value = b.getData());
|
|
1532
1544
|
},
|
|
1533
1545
|
fetchPermission: async (y, b = !1) => {
|
|
1534
1546
|
if (!(t.value[y] && !b))
|
|
1535
1547
|
return Ei().authorizations(y).send().then((_) => t.value = { ...t.value, [y]: _.getData() });
|
|
1536
1548
|
}
|
|
1537
1549
|
};
|
|
1538
|
-
},
|
|
1550
|
+
}, rs = qt("authorization", mr), os = () => ({
|
|
1539
1551
|
page__CandidateLoginViewed: async (w = {}) => d.page("Candidate Login Viewed", w.category ?? "Authentication"),
|
|
1540
1552
|
page__InstitutionListViewed: async (w) => (p(w, {
|
|
1541
|
-
companyId: (
|
|
1542
|
-
institutionId: (
|
|
1553
|
+
companyId: (v) => a(v),
|
|
1554
|
+
institutionId: (v) => V(v, a)
|
|
1543
1555
|
}) || u.warn('Invalid properties for analytics call "Institution List Viewed".'), d.page("Institution List Viewed", w.category ?? "Authentication", w)),
|
|
1544
1556
|
page__PasswordRecoverViewed: async (w = {}) => d.page("Password Recover Viewed", w.category ?? "Authentication"),
|
|
1545
1557
|
page__SignInViewed: async (w = {}) => d.page("Sign In Viewed", w.category ?? "Authentication"),
|
|
1546
1558
|
page__SignUpViewed: async (w = {}) => d.page("Sign Up Viewed", w.category ?? "Authentication"),
|
|
1547
1559
|
track__CandidateLoginRequested: async (w) => (p(w, {
|
|
1548
|
-
email: (
|
|
1560
|
+
email: (v) => a(v)
|
|
1549
1561
|
}) || u.warn('Invalid properties for analytics call "Candidate Login Requested".'), d.track("Candidate Login Requested", w.category ?? "Authentication", w)),
|
|
1550
1562
|
track__DiscoverClicked: async (w = {}) => d.track("Discover Clicked", w.category ?? "Authentication"),
|
|
1551
1563
|
track__InstitutionSelected: async (w) => (p(w, {
|
|
1552
|
-
companyId: (
|
|
1553
|
-
institutionId: (
|
|
1564
|
+
companyId: (v) => a(v),
|
|
1565
|
+
institutionId: (v) => V(v, a)
|
|
1554
1566
|
}) || u.warn('Invalid properties for analytics call "Institution Selected".'), d.track("Institution Selected", w.category ?? "Authentication", w)),
|
|
1555
1567
|
track__PasswordRecoverClicked: async (w = {}) => d.track("Password Recover Clicked", w.category ?? "Authentication"),
|
|
1556
1568
|
track__PasswordRecoverFailed: async (w) => (p(w, {
|
|
1557
|
-
email: (
|
|
1558
|
-
error: (
|
|
1569
|
+
email: (v) => a(v),
|
|
1570
|
+
error: (v) => V(v, a)
|
|
1559
1571
|
}) || u.warn('Invalid properties for analytics call "Password Recover Failed".'), d.track("Password Recover Failed", w.category ?? "Authentication", w)),
|
|
1560
1572
|
track__PasswordSent: async (w) => (p(w, {
|
|
1561
|
-
email: (
|
|
1573
|
+
email: (v) => a(v)
|
|
1562
1574
|
}) || u.warn('Invalid properties for analytics call "Password Sent".'), d.track("Password Sent", w.category ?? "Authentication", w)),
|
|
1563
1575
|
track__SignInClicked: async (w = {}) => d.track("Sign In Clicked", w.category ?? "Authentication"),
|
|
1564
1576
|
track__SignUpClicked: async (w = {}) => d.track("Sign Up Clicked", w.category ?? "Authentication"),
|
|
1565
1577
|
track__UserSignedIn: async (w) => (p(w, {
|
|
1566
|
-
companyId: (
|
|
1567
|
-
email: (
|
|
1568
|
-
hublerId: (
|
|
1569
|
-
institutionId: (
|
|
1578
|
+
companyId: (v) => a(v),
|
|
1579
|
+
email: (v) => a(v),
|
|
1580
|
+
hublerId: (v) => a(v),
|
|
1581
|
+
institutionId: (v) => V(v, a)
|
|
1570
1582
|
}) || u.warn('Invalid properties for analytics call "User Signed In".'), d.track("User Signed In", w.category ?? "Authentication", w)),
|
|
1571
1583
|
track__UserSignedOut: async (w = {}) => d.track("User Signed Out", w.category ?? "Authentication"),
|
|
1572
1584
|
track__UserSignInFailed: async (w) => (p(w, {
|
|
1573
|
-
email: (
|
|
1574
|
-
error: (
|
|
1585
|
+
email: (v) => a(v),
|
|
1586
|
+
error: (v) => V(v, a)
|
|
1575
1587
|
}) || u.warn('Invalid properties for analytics call "User Sign In Failed".'), d.track("User Sign In Failed", w.category ?? "Authentication", w))
|
|
1576
|
-
}),
|
|
1588
|
+
}), ss = () => ({
|
|
1577
1589
|
page__AboutConfigurationViewed: async (t) => (p(t, {
|
|
1578
1590
|
companyId: (i) => a(i),
|
|
1579
1591
|
institutionId: (i) => V(i, a)
|
|
1580
1592
|
}) || u.warn('Invalid properties for analytics call "About Configuration Viewed".'), d.page("About Configuration Viewed", t.category ?? "Career Private", t))
|
|
1581
|
-
}),
|
|
1593
|
+
}), cs = () => ({
|
|
1582
1594
|
page__AboutViewed: async (m) => (p(m, {
|
|
1583
|
-
companyId: (
|
|
1584
|
-
institutionId: (
|
|
1595
|
+
companyId: (s) => a(s),
|
|
1596
|
+
institutionId: (s) => V(s, a)
|
|
1585
1597
|
}) || u.warn('Invalid properties for analytics call "About Viewed".'), d.page("About Viewed", m.category ?? "Career Public", m)),
|
|
1586
1598
|
page__CustomPageViewed: async (m) => (p(m, {
|
|
1587
|
-
companyId: (
|
|
1588
|
-
institutionId: (
|
|
1589
|
-
title: (
|
|
1599
|
+
companyId: (s) => a(s),
|
|
1600
|
+
institutionId: (s) => V(s, a),
|
|
1601
|
+
title: (s) => a(s)
|
|
1590
1602
|
}) || u.warn('Invalid properties for analytics call "Custom Page Viewed".'), d.page("Custom Page Viewed", m.category ?? "Career Public", m)),
|
|
1591
1603
|
page__JobOfferListViewed: async (m) => (p(m, {
|
|
1592
|
-
companyId: (
|
|
1593
|
-
institutionId: (
|
|
1594
|
-
variant: (
|
|
1604
|
+
companyId: (s) => a(s),
|
|
1605
|
+
institutionId: (s) => V(s, a),
|
|
1606
|
+
variant: (s) => a(s)
|
|
1595
1607
|
}) || u.warn('Invalid properties for analytics call "Job Offer List Viewed".'), d.page("Job Offer List Viewed", m.category ?? "Career Public", m)),
|
|
1596
1608
|
page__JobOfferViewed: async (m) => (p(m, {
|
|
1597
|
-
companyId: (
|
|
1598
|
-
institutionId: (
|
|
1609
|
+
companyId: (s) => a(s),
|
|
1610
|
+
institutionId: (s) => V(s, a)
|
|
1599
1611
|
}) || u.warn('Invalid properties for analytics call "Job Offer Viewed".'), d.page("Job Offer Viewed", m.category ?? "Career Public", m)),
|
|
1600
1612
|
page__MobilityOfferListViewed: async (m) => (p(m, {
|
|
1601
|
-
companyId: (
|
|
1602
|
-
institutionId: (
|
|
1603
|
-
jobOfferId: (
|
|
1604
|
-
recruitmentId: (
|
|
1613
|
+
companyId: (s) => a(s),
|
|
1614
|
+
institutionId: (s) => V(s, a),
|
|
1615
|
+
jobOfferId: (s) => a(s),
|
|
1616
|
+
recruitmentId: (s) => a(s)
|
|
1605
1617
|
}) || u.warn('Invalid properties for analytics call "Mobility Offer List Viewed".'), d.page("Mobility Offer List Viewed", m.category ?? "Career Public", m)),
|
|
1606
1618
|
track__ApplicationCTAClicked: async (m) => (p(m, {
|
|
1607
|
-
companyId: (
|
|
1608
|
-
email: (
|
|
1609
|
-
hublerId: (
|
|
1610
|
-
institutionId: (
|
|
1611
|
-
jobOfferId: (
|
|
1612
|
-
recruitmentId: (
|
|
1619
|
+
companyId: (s) => a(s),
|
|
1620
|
+
email: (s) => a(s),
|
|
1621
|
+
hublerId: (s) => a(s),
|
|
1622
|
+
institutionId: (s) => V(s, a),
|
|
1623
|
+
jobOfferId: (s) => a(s),
|
|
1624
|
+
recruitmentId: (s) => a(s)
|
|
1613
1625
|
}) || u.warn('Invalid properties for analytics call "Application CTA Clicked".'), d.track("Application CTA Clicked", m.category ?? "Career Public", m)),
|
|
1614
1626
|
track__ApplicationFailed: async (m) => (p(m, {
|
|
1615
|
-
companyId: (
|
|
1616
|
-
email: (
|
|
1617
|
-
error: (
|
|
1618
|
-
hublerId: (
|
|
1619
|
-
institutionId: (
|
|
1620
|
-
jobOfferId: (
|
|
1621
|
-
recruitmentId: (
|
|
1627
|
+
companyId: (s) => a(s),
|
|
1628
|
+
email: (s) => a(s),
|
|
1629
|
+
error: (s) => V(s, a),
|
|
1630
|
+
hublerId: (s) => a(s),
|
|
1631
|
+
institutionId: (s) => V(s, a),
|
|
1632
|
+
jobOfferId: (s) => a(s),
|
|
1633
|
+
recruitmentId: (s) => a(s)
|
|
1622
1634
|
}) || u.warn('Invalid properties for analytics call "Application Failed".'), d.track("Application Failed", m.category ?? "Career Public", m)),
|
|
1623
1635
|
track__ApplicationSent: async (m) => (p(m, {
|
|
1624
|
-
companyId: (
|
|
1625
|
-
email: (
|
|
1626
|
-
hublerId: (
|
|
1627
|
-
institutionId: (
|
|
1628
|
-
jobOfferId: (
|
|
1629
|
-
recruitmentId: (
|
|
1636
|
+
companyId: (s) => a(s),
|
|
1637
|
+
email: (s) => a(s),
|
|
1638
|
+
hublerId: (s) => a(s),
|
|
1639
|
+
institutionId: (s) => V(s, a),
|
|
1640
|
+
jobOfferId: (s) => a(s),
|
|
1641
|
+
recruitmentId: (s) => a(s)
|
|
1630
1642
|
}) || u.warn('Invalid properties for analytics call "Application Sent".'), d.track("Application Sent", m.category ?? "Career Public", m)),
|
|
1631
1643
|
track__MobilityOfferListFiltered: async (m) => (p(m, {
|
|
1632
|
-
companyId: (
|
|
1633
|
-
filter: (
|
|
1634
|
-
institutionId: (
|
|
1644
|
+
companyId: (s) => a(s),
|
|
1645
|
+
filter: (s) => V(s, a),
|
|
1646
|
+
institutionId: (s) => V(s, a)
|
|
1635
1647
|
}) || u.warn('Invalid properties for analytics call "Mobility Offer List Filtered".'), d.track("Mobility Offer List Filtered", m.category ?? "Career Public", m)),
|
|
1636
1648
|
track__OfferListFiltered: async (m) => (p(m, {
|
|
1637
|
-
companyId: (
|
|
1638
|
-
filter: (
|
|
1639
|
-
institutionId: (
|
|
1649
|
+
companyId: (s) => a(s),
|
|
1650
|
+
filter: (s) => V(s, a),
|
|
1651
|
+
institutionId: (s) => V(s, a)
|
|
1640
1652
|
}) || u.warn('Invalid properties for analytics call "Offer List Filtered".'), d.track("Offer List Filtered", m.category ?? "Career Public", m)),
|
|
1641
1653
|
track__OutboundLinkClicked: async (m) => (p(m, {
|
|
1642
|
-
clickText: (
|
|
1643
|
-
clickUrl: (
|
|
1644
|
-
linkType: (
|
|
1654
|
+
clickText: (s) => a(s),
|
|
1655
|
+
clickUrl: (s) => a(s),
|
|
1656
|
+
linkType: (s) => a(s)
|
|
1645
1657
|
}) || u.warn('Invalid properties for analytics call "Outbound Link Clicked".'), d.track("Outbound Link Clicked", m.category ?? "Career Public", m)),
|
|
1646
1658
|
track__SpontaneousApplicationCTAClicked: async (m) => (p(m, {
|
|
1647
|
-
companyId: (
|
|
1648
|
-
email: (
|
|
1649
|
-
hublerId: (
|
|
1650
|
-
institutionId: (
|
|
1659
|
+
companyId: (s) => a(s),
|
|
1660
|
+
email: (s) => a(s),
|
|
1661
|
+
hublerId: (s) => a(s),
|
|
1662
|
+
institutionId: (s) => V(s, a)
|
|
1651
1663
|
}) || u.warn('Invalid properties for analytics call "Spontaneous Application CTA Clicked".'), d.track("Spontaneous Application CTA Clicked", m.category ?? "Career Public", m)),
|
|
1652
1664
|
track__SpontaneousApplicationFailed: async (m) => (p(m, {
|
|
1653
|
-
companyId: (
|
|
1654
|
-
email: (
|
|
1655
|
-
hublerId: (
|
|
1656
|
-
institutionId: (
|
|
1657
|
-
jobOfferId: (
|
|
1658
|
-
recruitmentId: (
|
|
1665
|
+
companyId: (s) => a(s),
|
|
1666
|
+
email: (s) => a(s),
|
|
1667
|
+
hublerId: (s) => a(s),
|
|
1668
|
+
institutionId: (s) => V(s, a),
|
|
1669
|
+
jobOfferId: (s) => a(s),
|
|
1670
|
+
recruitmentId: (s) => a(s)
|
|
1659
1671
|
}) || u.warn('Invalid properties for analytics call "Spontaneous Application Failed".'), d.track("Spontaneous Application Failed", m.category ?? "Career Public", m)),
|
|
1660
1672
|
track__SpontaneousApplicationSent: async (m) => (p(m, {
|
|
1661
|
-
companyId: (
|
|
1662
|
-
email: (
|
|
1663
|
-
hublerId: (
|
|
1664
|
-
institutionId: (
|
|
1665
|
-
jobOfferId: (
|
|
1666
|
-
recruitmentId: (
|
|
1673
|
+
companyId: (s) => a(s),
|
|
1674
|
+
email: (s) => a(s),
|
|
1675
|
+
hublerId: (s) => a(s),
|
|
1676
|
+
institutionId: (s) => V(s, a),
|
|
1677
|
+
jobOfferId: (s) => a(s),
|
|
1678
|
+
recruitmentId: (s) => a(s)
|
|
1667
1679
|
}) || u.warn('Invalid properties for analytics call "Spontaneous Application Sent".'), d.track("Spontaneous Application Sent", m.category ?? "Career Public", m))
|
|
1668
|
-
}),
|
|
1680
|
+
}), ds = () => ({
|
|
1669
1681
|
page__AddCandidateDocumentViewed: async (k) => (p(k, {
|
|
1670
1682
|
companyId: (I) => a(I),
|
|
1671
1683
|
institutionId: (I) => V(I, a)
|
|
@@ -1716,92 +1728,92 @@ const rr = () => {
|
|
|
1716
1728
|
institutionId: (I) => V(I, a),
|
|
1717
1729
|
selections: (I) => V(I, a)
|
|
1718
1730
|
}) || u.warn('Invalid properties for analytics call "Document Upload Failed".'), d.track("Document Upload Failed", k.category ?? "CV Bank", k))
|
|
1719
|
-
}),
|
|
1731
|
+
}), ls = () => ({
|
|
1720
1732
|
campaign__EmailContinueApplication: async (m = {}) => d.campaign("Email: Continue Application", m.category ?? "Hubler Application"),
|
|
1721
1733
|
campaign__EmailFinalizeYourApplication: async (m = {}) => d.campaign("Email: Finalize Your Application", m.category ?? "Hubler Application"),
|
|
1722
1734
|
campaign__EmailFollowUpApplication: async (m = {}) => d.campaign("Email: Follow Up Application", m.category ?? "Hubler Application"),
|
|
1723
1735
|
campaign__EmailLastCallOfferApplication: async (m = {}) => d.campaign("Email: Last Call (Offer Application)", m.category ?? "Hubler Application"),
|
|
1724
1736
|
campaign__EmailLastCallSpontaneous: async (m = {}) => d.campaign("Email: Last Call (Spontaneous)", m.category ?? "Hubler Application"),
|
|
1725
1737
|
page__ApplicationAuthenticationViewed: async (m) => (p(m, {
|
|
1726
|
-
companyId: (
|
|
1727
|
-
jobOfferId: (
|
|
1728
|
-
recruitmentId: (
|
|
1738
|
+
companyId: (s) => a(s),
|
|
1739
|
+
jobOfferId: (s) => a(s),
|
|
1740
|
+
recruitmentId: (s) => a(s)
|
|
1729
1741
|
}) || u.warn('Invalid properties for analytics call "Application Authentication Viewed".'), d.page("Application Authentication Viewed", m.category ?? "Hubler Application", m)),
|
|
1730
1742
|
page__ApplicationDocumentViewed: async (m) => (p(m, {
|
|
1731
|
-
companyId: (
|
|
1732
|
-
jobOfferId: (
|
|
1733
|
-
recruitmentId: (
|
|
1743
|
+
companyId: (s) => a(s),
|
|
1744
|
+
jobOfferId: (s) => a(s),
|
|
1745
|
+
recruitmentId: (s) => a(s)
|
|
1734
1746
|
}) || u.warn('Invalid properties for analytics call "Application Document Viewed".'), d.page("Application Document Viewed", m.category ?? "Hubler Application", m)),
|
|
1735
1747
|
page__ApplicationInformationViewed: async (m) => (p(m, {
|
|
1736
|
-
companyId: (
|
|
1737
|
-
jobOfferId: (
|
|
1738
|
-
recruitmentId: (
|
|
1748
|
+
companyId: (s) => a(s),
|
|
1749
|
+
jobOfferId: (s) => a(s),
|
|
1750
|
+
recruitmentId: (s) => a(s)
|
|
1739
1751
|
}) || u.warn('Invalid properties for analytics call "Application Information Viewed".'), d.page("Application Information Viewed", m.category ?? "Hubler Application", m)),
|
|
1740
1752
|
page__ApplicationJobViewed: async (m) => (p(m, {
|
|
1741
|
-
companyId: (
|
|
1742
|
-
jobOfferId: (
|
|
1743
|
-
recruitmentId: (
|
|
1753
|
+
companyId: (s) => a(s),
|
|
1754
|
+
jobOfferId: (s) => a(s),
|
|
1755
|
+
recruitmentId: (s) => a(s)
|
|
1744
1756
|
}) || u.warn('Invalid properties for analytics call "Application Job Viewed".'), d.page("Application Job Viewed", m.category ?? "Hubler Application", m)),
|
|
1745
1757
|
page__ApplicationMagicLinkViewed: async (m) => (p(m, {
|
|
1746
|
-
companyId: (
|
|
1747
|
-
jobOfferId: (
|
|
1748
|
-
recruitmentId: (
|
|
1758
|
+
companyId: (s) => a(s),
|
|
1759
|
+
jobOfferId: (s) => a(s),
|
|
1760
|
+
recruitmentId: (s) => a(s)
|
|
1749
1761
|
}) || u.warn('Invalid properties for analytics call "Application Magic Link Viewed".'), d.page("Application Magic Link Viewed", m.category ?? "Hubler Application", m)),
|
|
1750
1762
|
page__ApplicationSuccessViewed: async (m) => (p(m, {
|
|
1751
|
-
companyId: (
|
|
1752
|
-
jobOfferId: (
|
|
1753
|
-
recruitmentId: (
|
|
1763
|
+
companyId: (s) => a(s),
|
|
1764
|
+
jobOfferId: (s) => a(s),
|
|
1765
|
+
recruitmentId: (s) => a(s)
|
|
1754
1766
|
}) || u.warn('Invalid properties for analytics call "Application Success Viewed".'), d.page("Application Success Viewed", m.category ?? "Hubler Application", m)),
|
|
1755
1767
|
page__HublerApplicationListViewed: async (m = {}) => d.page("Hubler Application List Viewed", m.category ?? "Hubler Application"),
|
|
1756
1768
|
page__HublerInstitutionApplicationListViewed: async (m = {}) => d.page("Hubler Institution Application List Viewed", m.category ?? "Hubler Application"),
|
|
1757
1769
|
track__ApplicationFormFailed: async (m) => (p(m, {
|
|
1758
|
-
companyId: (
|
|
1759
|
-
error: (
|
|
1760
|
-
jobOfferId: (
|
|
1761
|
-
recruitmentId: (
|
|
1770
|
+
companyId: (s) => a(s),
|
|
1771
|
+
error: (s) => V(s, a),
|
|
1772
|
+
jobOfferId: (s) => a(s),
|
|
1773
|
+
recruitmentId: (s) => a(s)
|
|
1762
1774
|
}) || u.warn('Invalid properties for analytics call "Application Form Failed".'), d.track("Application Form Failed", m.category ?? "Hubler Application", m))
|
|
1763
|
-
}),
|
|
1775
|
+
}), us = () => ({
|
|
1764
1776
|
track__UserSignedIn: async (r) => (p(r, {
|
|
1765
|
-
companyId: (
|
|
1766
|
-
email: (
|
|
1767
|
-
hublerId: (
|
|
1768
|
-
institutionId: (
|
|
1777
|
+
companyId: (c) => a(c),
|
|
1778
|
+
email: (c) => a(c),
|
|
1779
|
+
hublerId: (c) => a(c),
|
|
1780
|
+
institutionId: (c) => V(c, a)
|
|
1769
1781
|
}) || u.warn('Invalid properties for analytics call "User Signed In".'), d.track("User Signed In", r.category ?? "Hubler Authentication", r)),
|
|
1770
1782
|
track__UserSignedOut: async (r = {}) => d.track("User Signed Out", r.category ?? "Hubler Authentication"),
|
|
1771
1783
|
track__UserSignedUp: async (r) => (p(r, {
|
|
1772
|
-
email: (
|
|
1773
|
-
firstName: (
|
|
1774
|
-
hublerId: (
|
|
1775
|
-
job: (
|
|
1776
|
-
lastName: (
|
|
1784
|
+
email: (c) => a(c),
|
|
1785
|
+
firstName: (c) => a(c),
|
|
1786
|
+
hublerId: (c) => a(c),
|
|
1787
|
+
job: (c) => V(c, a),
|
|
1788
|
+
lastName: (c) => a(c)
|
|
1777
1789
|
}) || u.warn('Invalid properties for analytics call "User Signed Up".'), d.track("User Signed Up", r.category ?? "Hubler Authentication", r)),
|
|
1778
1790
|
track__UserSignedUpFailed: async (r) => (p(r, {
|
|
1779
|
-
email: (
|
|
1780
|
-
error: (
|
|
1791
|
+
email: (c) => a(c),
|
|
1792
|
+
error: (c) => V(c, a)
|
|
1781
1793
|
}) || u.warn('Invalid properties for analytics call "User Signed Up Failed".'), d.track("User Signed Up Failed", r.category ?? "Hubler Authentication", r))
|
|
1782
|
-
}),
|
|
1794
|
+
}), fs = () => ({
|
|
1783
1795
|
page__CalendarViewed: async (t) => (p(t, {
|
|
1784
1796
|
companyId: (i) => a(i),
|
|
1785
1797
|
institutionId: (i) => V(i, a),
|
|
1786
1798
|
recruitmentId: (i) => a(i)
|
|
1787
1799
|
}) || u.warn('Invalid properties for analytics call "Calendar Viewed".'), d.page("Calendar Viewed", t.category ?? "Hubler Calendar", t))
|
|
1788
|
-
}),
|
|
1800
|
+
}), ms = () => ({
|
|
1789
1801
|
page__DocumentListViewed: async (r = {}) => d.page("Document List Viewed", r.category ?? "Hubler Document"),
|
|
1790
1802
|
track__DocumentAdded: async (r) => (p(r, {
|
|
1791
|
-
format: (
|
|
1792
|
-
selections: (
|
|
1803
|
+
format: (c) => V(c, a),
|
|
1804
|
+
selections: (c) => V(c, a)
|
|
1793
1805
|
}) || u.warn('Invalid properties for analytics call "Document Added".'), d.track("Document Added", r.category ?? "Hubler Document", r)),
|
|
1794
1806
|
track__DocumentDeleted: async (r) => (p(r, {
|
|
1795
|
-
format: (
|
|
1796
|
-
selections: (
|
|
1807
|
+
format: (c) => V(c, a),
|
|
1808
|
+
selections: (c) => V(c, a)
|
|
1797
1809
|
}) || u.warn('Invalid properties for analytics call "Document Deleted".'), d.track("Document Deleted", r.category ?? "Hubler Document", r)),
|
|
1798
1810
|
track__DocumentDownloaded: async (r) => (p(r, {
|
|
1799
|
-
companyId: (
|
|
1800
|
-
format: (
|
|
1801
|
-
hublerId: (
|
|
1802
|
-
hublerType: (
|
|
1811
|
+
companyId: (c) => a(c),
|
|
1812
|
+
format: (c) => V(c, a),
|
|
1813
|
+
hublerId: (c) => a(c),
|
|
1814
|
+
hublerType: (c) => a(c)
|
|
1803
1815
|
}) || u.warn('Invalid properties for analytics call "Document Downloaded".'), d.track("Document Downloaded", r.category ?? "Hubler Document", r))
|
|
1804
|
-
}),
|
|
1816
|
+
}), ps = () => ({
|
|
1805
1817
|
page__AddExperienceViewed: async (y = {}) => d.page("Add Experience Viewed", y.category ?? "Hubler Resume"),
|
|
1806
1818
|
page__ResumeViewed: async (y = {}) => d.page("Resume Viewed", y.category ?? "Hubler Resume"),
|
|
1807
1819
|
track__ResumeDiplomaAdded: async (y = {}) => d.track("Resume Diploma Added", y.category ?? "Hubler Resume"),
|
|
@@ -1810,81 +1822,81 @@ const rr = () => {
|
|
|
1810
1822
|
track__ResumePictureUploaded: async (y = {}) => d.track("Resume Picture Uploaded", y.category ?? "Hubler Resume"),
|
|
1811
1823
|
track__ResumeSaved: async (y = {}) => d.track("Resume Saved", y.category ?? "Hubler Resume"),
|
|
1812
1824
|
track__ResumeSkillAdded: async (y = {}) => d.track("Resume Skill Added", y.category ?? "Hubler Resume")
|
|
1813
|
-
}),
|
|
1825
|
+
}), ys = () => ({
|
|
1814
1826
|
page__SettingAdministrativeViewed: async (r = {}) => d.page("Setting Administrative Viewed", r.category ?? "Hubler Settings"),
|
|
1815
1827
|
page__SettingGeneralViewed: async (r = {}) => d.page("Setting General Viewed", r.category ?? "Hubler Settings"),
|
|
1816
1828
|
page__SettingNotificationViewed: async (r = {}) => d.page("Setting Notification Viewed", r.category ?? "Hubler Settings"),
|
|
1817
1829
|
page__SettingSecurityViewed: async (r = {}) => d.page("Setting Security Viewed", r.category ?? "Hubler Settings")
|
|
1818
|
-
}),
|
|
1830
|
+
}), gs = () => ({
|
|
1819
1831
|
page__MessagingDiscussionViewed: async (i = {}) => d.page("Messaging Discussion Viewed", i.category ?? "Messaging"),
|
|
1820
1832
|
page__MessengingViewed: async (i = {}) => d.page("Messenging Viewed", i.category ?? "Messaging")
|
|
1821
|
-
}),
|
|
1822
|
-
page__ProfileViewed: async (
|
|
1833
|
+
}), ws = () => ({
|
|
1834
|
+
page__ProfileViewed: async (s) => (p(s, {
|
|
1823
1835
|
companyId: (w) => a(w),
|
|
1824
1836
|
hublerId: (w) => a(w),
|
|
1825
1837
|
institutionId: (w) => V(w, a)
|
|
1826
|
-
}) || u.warn('Invalid properties for analytics call "Profile Viewed".'), d.page("Profile Viewed",
|
|
1827
|
-
track__ProfileArchived: async (
|
|
1838
|
+
}) || u.warn('Invalid properties for analytics call "Profile Viewed".'), d.page("Profile Viewed", s.category ?? "Profile", s)),
|
|
1839
|
+
track__ProfileArchived: async (s) => (p(s, {
|
|
1828
1840
|
companyId: (w) => a(w),
|
|
1829
1841
|
hublerId: (w) => a(w)
|
|
1830
|
-
}) || u.warn('Invalid properties for analytics call "Profile Archived".'), d.track("Profile Archived",
|
|
1831
|
-
track__ProfileCandidateAdded: async (
|
|
1842
|
+
}) || u.warn('Invalid properties for analytics call "Profile Archived".'), d.track("Profile Archived", s.category ?? "Profile", s)),
|
|
1843
|
+
track__ProfileCandidateAdded: async (s) => (p(s, {
|
|
1832
1844
|
companyId: (w) => a(w),
|
|
1833
1845
|
hublerId: (w) => a(w)
|
|
1834
|
-
}) || u.warn('Invalid properties for analytics call "Profile Candidate Added".'), d.track("Profile Candidate Added",
|
|
1835
|
-
track__ProfileCommentAdded: async (
|
|
1846
|
+
}) || u.warn('Invalid properties for analytics call "Profile Candidate Added".'), d.track("Profile Candidate Added", s.category ?? "Profile", s)),
|
|
1847
|
+
track__ProfileCommentAdded: async (s) => (p(s, {
|
|
1836
1848
|
companyId: (w) => a(w),
|
|
1837
1849
|
hublerId: (w) => a(w),
|
|
1838
1850
|
selections: (w) => V(w, a)
|
|
1839
|
-
}) || u.warn('Invalid properties for analytics call "Profile Comment Added".'), d.track("Profile Comment Added",
|
|
1840
|
-
track__ProfileDocumentAdded: async (
|
|
1851
|
+
}) || u.warn('Invalid properties for analytics call "Profile Comment Added".'), d.track("Profile Comment Added", s.category ?? "Profile", s)),
|
|
1852
|
+
track__ProfileDocumentAdded: async (s) => (p(s, {
|
|
1841
1853
|
companyId: (w) => a(w),
|
|
1842
1854
|
hublerId: (w) => a(w)
|
|
1843
|
-
}) || u.warn('Invalid properties for analytics call "Profile Document Added".'), d.track("Profile Document Added",
|
|
1844
|
-
track__ProfileDocumentDeleted: async (
|
|
1855
|
+
}) || u.warn('Invalid properties for analytics call "Profile Document Added".'), d.track("Profile Document Added", s.category ?? "Profile", s)),
|
|
1856
|
+
track__ProfileDocumentDeleted: async (s) => (p(s, {
|
|
1845
1857
|
companyId: (w) => a(w),
|
|
1846
1858
|
hublerId: (w) => a(w)
|
|
1847
|
-
}) || u.warn('Invalid properties for analytics call "Profile Document Deleted".'), d.track("Profile Document Deleted",
|
|
1848
|
-
track__ProfileDocumentDownloaded: async (
|
|
1859
|
+
}) || u.warn('Invalid properties for analytics call "Profile Document Deleted".'), d.track("Profile Document Deleted", s.category ?? "Profile", s)),
|
|
1860
|
+
track__ProfileDocumentDownloaded: async (s) => (p(s, {
|
|
1849
1861
|
companyId: (w) => a(w),
|
|
1850
1862
|
hublerId: (w) => a(w)
|
|
1851
|
-
}) || u.warn('Invalid properties for analytics call "Profile Document Downloaded".'), d.track("Profile Document Downloaded",
|
|
1852
|
-
track__ProfileDocumentRequested: async (
|
|
1863
|
+
}) || u.warn('Invalid properties for analytics call "Profile Document Downloaded".'), d.track("Profile Document Downloaded", s.category ?? "Profile", s)),
|
|
1864
|
+
track__ProfileDocumentRequested: async (s) => (p(s, {
|
|
1853
1865
|
companyId: (w) => a(w),
|
|
1854
1866
|
hublerId: (w) => a(w)
|
|
1855
|
-
}) || u.warn('Invalid properties for analytics call "Profile Document Requested".'), d.track("Profile Document Requested",
|
|
1856
|
-
track__ProfileEmailSent: async (
|
|
1867
|
+
}) || u.warn('Invalid properties for analytics call "Profile Document Requested".'), d.track("Profile Document Requested", s.category ?? "Profile", s)),
|
|
1868
|
+
track__ProfileEmailSent: async (s) => (p(s, {
|
|
1857
1869
|
companyId: (w) => a(w),
|
|
1858
1870
|
hublerId: (w) => a(w),
|
|
1859
1871
|
institutionId: (w) => V(w, a)
|
|
1860
|
-
}) || u.warn('Invalid properties for analytics call "Profile Email Sent".'), d.track("Profile Email Sent",
|
|
1861
|
-
track__ProfileLabelAdded: async (
|
|
1872
|
+
}) || u.warn('Invalid properties for analytics call "Profile Email Sent".'), d.track("Profile Email Sent", s.category ?? "Profile", s)),
|
|
1873
|
+
track__ProfileLabelAdded: async (s) => (p(s, {
|
|
1862
1874
|
companyId: (w) => a(w),
|
|
1863
1875
|
hublerId: (w) => a(w)
|
|
1864
|
-
}) || u.warn('Invalid properties for analytics call "Profile Label Added".'), d.track("Profile Label Added",
|
|
1865
|
-
track__ProfileLabelRemoved: async (
|
|
1876
|
+
}) || u.warn('Invalid properties for analytics call "Profile Label Added".'), d.track("Profile Label Added", s.category ?? "Profile", s)),
|
|
1877
|
+
track__ProfileLabelRemoved: async (s) => (p(s, {
|
|
1866
1878
|
companyId: (w) => a(w),
|
|
1867
1879
|
hublerId: (w) => a(w)
|
|
1868
|
-
}) || u.warn('Invalid properties for analytics call "Profile Label Removed".'), d.track("Profile Label Removed",
|
|
1869
|
-
track__ProfileRecruitmentAdded: async (
|
|
1880
|
+
}) || u.warn('Invalid properties for analytics call "Profile Label Removed".'), d.track("Profile Label Removed", s.category ?? "Profile", s)),
|
|
1881
|
+
track__ProfileRecruitmentAdded: async (s) => (p(s, {
|
|
1870
1882
|
companyId: (w) => a(w),
|
|
1871
1883
|
hublerId: (w) => a(w),
|
|
1872
1884
|
recruitmentId: (w) => a(w)
|
|
1873
|
-
}) || u.warn('Invalid properties for analytics call "Profile Recruitment Added".'), d.track("Profile Recruitment Added",
|
|
1874
|
-
track__ProfileRecruitmentRemoved: async (
|
|
1885
|
+
}) || u.warn('Invalid properties for analytics call "Profile Recruitment Added".'), d.track("Profile Recruitment Added", s.category ?? "Profile", s)),
|
|
1886
|
+
track__ProfileRecruitmentRemoved: async (s) => (p(s, {
|
|
1875
1887
|
companyId: (w) => a(w),
|
|
1876
1888
|
hublerId: (w) => a(w),
|
|
1877
1889
|
recruitmentId: (w) => a(w)
|
|
1878
|
-
}) || u.warn('Invalid properties for analytics call "Profile Recruitment Removed".'), d.track("Profile Recruitment Removed",
|
|
1879
|
-
track__ProfileShared: async (
|
|
1890
|
+
}) || u.warn('Invalid properties for analytics call "Profile Recruitment Removed".'), d.track("Profile Recruitment Removed", s.category ?? "Profile", s)),
|
|
1891
|
+
track__ProfileShared: async (s) => (p(s, {
|
|
1880
1892
|
companyId: (w) => a(w),
|
|
1881
1893
|
hublerId: (w) => a(w)
|
|
1882
|
-
}) || u.warn('Invalid properties for analytics call "Profile Shared".'), d.track("Profile Shared",
|
|
1883
|
-
track__ProfileTabSelected: async (
|
|
1894
|
+
}) || u.warn('Invalid properties for analytics call "Profile Shared".'), d.track("Profile Shared", s.category ?? "Profile", s)),
|
|
1895
|
+
track__ProfileTabSelected: async (s) => (p(s, {
|
|
1884
1896
|
companyId: (w) => a(w),
|
|
1885
1897
|
hublerId: (w) => a(w)
|
|
1886
|
-
}) || u.warn('Invalid properties for analytics call "Profile Tab Selected".'), d.track("Profile Tab Selected",
|
|
1887
|
-
}),
|
|
1898
|
+
}) || u.warn('Invalid properties for analytics call "Profile Tab Selected".'), d.track("Profile Tab Selected", s.category ?? "Profile", s))
|
|
1899
|
+
}), hs = () => ({
|
|
1888
1900
|
page__ApplicationListViewed: async (l) => (p(l, {
|
|
1889
1901
|
companyId: (o) => a(o),
|
|
1890
1902
|
institutionId: (o) => V(o, a),
|
|
@@ -2103,7 +2115,7 @@ const rr = () => {
|
|
|
2103
2115
|
processingTime: (o) => U(o),
|
|
2104
2116
|
recruitmentId: (o) => a(o)
|
|
2105
2117
|
}) || u.warn('Invalid properties for analytics call "Recruitment Validated".'), d.track("Recruitment Validated", l.category ?? "Recruitment", l))
|
|
2106
|
-
}),
|
|
2118
|
+
}), _s = () => ({
|
|
2107
2119
|
page__EmailTemplateCreateViewed: async (f = {}) => d.page("Email Template Create Viewed", f.category ?? "Settings"),
|
|
2108
2120
|
page__EmailTemplateEditViewed: async (f = {}) => d.page("Email Template Edit Viewed", f.category ?? "Settings"),
|
|
2109
2121
|
page__EmailTemplateViewed: async (f = {}) => d.page("Email Template Viewed", f.category ?? "Settings"),
|
|
@@ -2113,17 +2125,17 @@ const rr = () => {
|
|
|
2113
2125
|
}) || u.warn('Invalid properties for analytics call "Settings General Viewed".'), d.page("Settings General Viewed", f.category ?? "Settings", f)),
|
|
2114
2126
|
page__SettingsNotificationViewed: async (f = {}) => d.page("Settings Notification Viewed", f.category ?? "Settings"),
|
|
2115
2127
|
page__SettingsSecurityViewed: async (f = {}) => d.page("Settings Security Viewed", f.category ?? "Settings")
|
|
2116
|
-
}),
|
|
2128
|
+
}), Is = () => ({
|
|
2117
2129
|
page__SourcingViewed: async (t) => (p(t, {
|
|
2118
2130
|
companyId: (i) => a(i),
|
|
2119
2131
|
institutionId: (i) => V(i, a)
|
|
2120
2132
|
}) || u.warn('Invalid properties for analytics call "Sourcing Viewed".'), d.page("Sourcing Viewed", t.category ?? "Sourcing", t))
|
|
2121
|
-
}),
|
|
2133
|
+
}), bs = () => ({
|
|
2122
2134
|
page__StatisticsViewed: async (t) => (p(t, {
|
|
2123
2135
|
companyId: (i) => a(i),
|
|
2124
2136
|
institutionId: (i) => V(i, a)
|
|
2125
2137
|
}) || u.warn('Invalid properties for analytics call "Statistics Viewed".'), d.page("Statistics Viewed", t.category ?? "Statistics", t))
|
|
2126
|
-
}),
|
|
2138
|
+
}), ks = () => ({
|
|
2127
2139
|
page__CareerSitePreviewViewed: async (g) => (p(g, {
|
|
2128
2140
|
companyId: (C) => a(C)
|
|
2129
2141
|
}) || u.warn('Invalid properties for analytics call "Career Site Preview Viewed".'), d.page("Career Site Preview Viewed", g.category ?? "Visual Builder", g)),
|
|
@@ -2230,9 +2242,9 @@ let Z = null;
|
|
|
2230
2242
|
function P() {
|
|
2231
2243
|
if (Z)
|
|
2232
2244
|
return Z;
|
|
2233
|
-
const e =
|
|
2245
|
+
const e = G.getEnvironment(), t = (() => e === "prod" || e === "production" ? "pPROC7dPoJ7XdxHrwsTQNXCGX79MJjhp" : e === "staging" ? "823rqOTwVk1ZCWVyBAdLInZ77TcFF0CF" : "TMZX6evFnu87JrBHV5qLwHsld5C6hilZ")(), i = !!t, n = e !== "prod" && e !== "production";
|
|
2234
2246
|
let r = null;
|
|
2235
|
-
function
|
|
2247
|
+
function c() {
|
|
2236
2248
|
return i;
|
|
2237
2249
|
}
|
|
2238
2250
|
function f() {
|
|
@@ -2253,16 +2265,16 @@ function P() {
|
|
|
2253
2265
|
k[m] = k.factory(m);
|
|
2254
2266
|
}
|
|
2255
2267
|
k.load = function(I, m) {
|
|
2256
|
-
const
|
|
2257
|
-
|
|
2268
|
+
const s = document.createElement("script");
|
|
2269
|
+
s.id = "analytics-script", s.type = "text/javascript", s.async = !0, s.src = "https://cdn.segment.com/analytics.js/v1/" + I + "/analytics.min.js", s.onerror = () => window.dispatchEvent(new Event("analytics-error"));
|
|
2258
2270
|
const w = document.getElementsByTagName("script")[0];
|
|
2259
|
-
w.parentNode.insertBefore(
|
|
2271
|
+
w.parentNode.insertBefore(s, w), k._loadOptions = m;
|
|
2260
2272
|
}, k._writeKey = t, k.SNIPPET_VERSION = "4.16.1", k.load(t), k.page(), k.ready(() => window.dispatchEvent(new Event("analytics-ready")));
|
|
2261
2273
|
}
|
|
2262
2274
|
}
|
|
2263
2275
|
async function h() {
|
|
2264
2276
|
return r !== null || (r = new Promise((k, I) => {
|
|
2265
|
-
if (!
|
|
2277
|
+
if (!c())
|
|
2266
2278
|
return A("Analytics is disabled."), k();
|
|
2267
2279
|
if (window.addEventListener("analytics-ready", () => {
|
|
2268
2280
|
A("Analytics script loaded successfully."), k();
|
|
@@ -2276,7 +2288,7 @@ function P() {
|
|
|
2276
2288
|
async function y(k, I) {
|
|
2277
2289
|
if (!W())
|
|
2278
2290
|
try {
|
|
2279
|
-
if (await this.analyticsScriptReady(), A("[identify]", [k, I]),
|
|
2291
|
+
if (await this.analyticsScriptReady(), A("[identify]", [k, I]), c())
|
|
2280
2292
|
return window.analytics.identify(k, I);
|
|
2281
2293
|
} catch {
|
|
2282
2294
|
A("[identify]", [k, I], "error");
|
|
@@ -2286,13 +2298,13 @@ function P() {
|
|
|
2286
2298
|
if (!W()) {
|
|
2287
2299
|
typeof m != "object" && (m = {});
|
|
2288
2300
|
try {
|
|
2289
|
-
if (await this.analyticsScriptReady(), A("[page]", [k, I, m]),
|
|
2301
|
+
if (await this.analyticsScriptReady(), A("[page]", [k, I, m]), c())
|
|
2290
2302
|
return window.analytics.page(k, {
|
|
2291
2303
|
category: I,
|
|
2292
2304
|
...m
|
|
2293
2305
|
});
|
|
2294
|
-
} catch (
|
|
2295
|
-
console.log(
|
|
2306
|
+
} catch (s) {
|
|
2307
|
+
console.log(s), A("[page]", [k, I, m], "error");
|
|
2296
2308
|
}
|
|
2297
2309
|
}
|
|
2298
2310
|
}
|
|
@@ -2300,7 +2312,7 @@ function P() {
|
|
|
2300
2312
|
if (!W()) {
|
|
2301
2313
|
typeof m != "object" && (m = {});
|
|
2302
2314
|
try {
|
|
2303
|
-
if (await this.analyticsScriptReady(), A("[track]", [k, I, m]),
|
|
2315
|
+
if (await this.analyticsScriptReady(), A("[track]", [k, I, m]), c())
|
|
2304
2316
|
return window.analytics.track(k, {
|
|
2305
2317
|
category: I,
|
|
2306
2318
|
...m
|
|
@@ -2315,7 +2327,7 @@ function P() {
|
|
|
2315
2327
|
}
|
|
2316
2328
|
return Z = {
|
|
2317
2329
|
analyticsScriptReady: h,
|
|
2318
|
-
isEnabled:
|
|
2330
|
+
isEnabled: c,
|
|
2319
2331
|
identify: y,
|
|
2320
2332
|
page: b,
|
|
2321
2333
|
track: _,
|
|
@@ -2323,7 +2335,7 @@ function P() {
|
|
|
2323
2335
|
}, Z;
|
|
2324
2336
|
}
|
|
2325
2337
|
P.destroy = () => Z = null;
|
|
2326
|
-
function
|
|
2338
|
+
function pr() {
|
|
2327
2339
|
const e = "Hubler Application";
|
|
2328
2340
|
function t(b) {
|
|
2329
2341
|
if (!b)
|
|
@@ -2347,7 +2359,7 @@ function or() {
|
|
|
2347
2359
|
async function r(b) {
|
|
2348
2360
|
return P().page("Application Job Viewed", e, t(b));
|
|
2349
2361
|
}
|
|
2350
|
-
async function
|
|
2362
|
+
async function c(b) {
|
|
2351
2363
|
return P().page("Application Information Viewed", e, t(b));
|
|
2352
2364
|
}
|
|
2353
2365
|
async function f(b) {
|
|
@@ -2365,74 +2377,74 @@ function or() {
|
|
|
2365
2377
|
applicationAuthenticationViewed: i,
|
|
2366
2378
|
applicationMagicLinkViewed: n,
|
|
2367
2379
|
applicationJobViewed: r,
|
|
2368
|
-
applicationInformationViewed:
|
|
2380
|
+
applicationInformationViewed: c,
|
|
2369
2381
|
applicationDocumentViewed: f,
|
|
2370
2382
|
applicationSuccessViewed: h,
|
|
2371
2383
|
applicationFormFailed: y
|
|
2372
2384
|
};
|
|
2373
2385
|
}
|
|
2374
|
-
function
|
|
2386
|
+
function yr() {
|
|
2375
2387
|
const e = "Profile";
|
|
2376
|
-
function t(
|
|
2388
|
+
function t(v, T) {
|
|
2377
2389
|
var B;
|
|
2378
|
-
if (!
|
|
2390
|
+
if (!v)
|
|
2379
2391
|
throw new Error(`Missing arguments for domain "${e}"`);
|
|
2380
2392
|
const L = {
|
|
2381
|
-
companyId:
|
|
2382
|
-
hublerId: (B =
|
|
2393
|
+
companyId: v.companyId ? v.companyId.toString() : null,
|
|
2394
|
+
hublerId: (B = v.hublerId) == null ? void 0 : B.toString()
|
|
2383
2395
|
};
|
|
2384
|
-
return
|
|
2396
|
+
return T && (L.productId = v.companyId ? v.companyId + "_2" : null), v.recruitmentId && (L.recruitmentId = v.recruitmentId.toString()), v.selections && (L.selections = v.selections), v.institutionId && (L.institutionId = v.institutionId.map(String)), L;
|
|
2385
2397
|
}
|
|
2386
|
-
async function i(
|
|
2387
|
-
return P().track(
|
|
2398
|
+
async function i(v) {
|
|
2399
|
+
return P().track(v.name, e, t(v.properties), !0);
|
|
2388
2400
|
}
|
|
2389
|
-
async function n(
|
|
2390
|
-
return P().track(
|
|
2401
|
+
async function n(v) {
|
|
2402
|
+
return P().track(v.name, e, t(v.properties, !0));
|
|
2391
2403
|
}
|
|
2392
|
-
async function r(
|
|
2393
|
-
return P().track(
|
|
2404
|
+
async function r(v) {
|
|
2405
|
+
return P().track(v.name, e, t(v.properties, !0));
|
|
2394
2406
|
}
|
|
2395
|
-
async function
|
|
2396
|
-
return P().track(
|
|
2407
|
+
async function c(v) {
|
|
2408
|
+
return P().track(v.name, e, t(v.properties, !0));
|
|
2397
2409
|
}
|
|
2398
|
-
async function f(
|
|
2399
|
-
return P().track(
|
|
2410
|
+
async function f(v) {
|
|
2411
|
+
return P().track(v.name, e, t(v.properties, !0));
|
|
2400
2412
|
}
|
|
2401
|
-
async function h(
|
|
2402
|
-
return P().track(
|
|
2413
|
+
async function h(v) {
|
|
2414
|
+
return P().track(v.name, e, t(v.properties, !0));
|
|
2403
2415
|
}
|
|
2404
|
-
async function y(
|
|
2405
|
-
return P().track(
|
|
2416
|
+
async function y(v) {
|
|
2417
|
+
return P().track(v.name, e, t(v.properties, !0));
|
|
2406
2418
|
}
|
|
2407
|
-
async function b(
|
|
2408
|
-
return P().track(
|
|
2419
|
+
async function b(v) {
|
|
2420
|
+
return P().track(v.name, e, t(v.properties, !0));
|
|
2409
2421
|
}
|
|
2410
|
-
async function _(
|
|
2411
|
-
return P().track(
|
|
2422
|
+
async function _(v) {
|
|
2423
|
+
return P().track(v.name, e, t(v.properties, !0));
|
|
2412
2424
|
}
|
|
2413
|
-
async function A(
|
|
2414
|
-
return P().track(
|
|
2425
|
+
async function A(v) {
|
|
2426
|
+
return P().track(v.name, e, t(v.properties, !0));
|
|
2415
2427
|
}
|
|
2416
|
-
async function k(
|
|
2417
|
-
return P().track(
|
|
2428
|
+
async function k(v) {
|
|
2429
|
+
return P().track(v.name, e, t(v.properties, !0));
|
|
2418
2430
|
}
|
|
2419
|
-
async function I(
|
|
2420
|
-
return P().track(
|
|
2431
|
+
async function I(v) {
|
|
2432
|
+
return P().track(v.name, e, t(v.properties, !0));
|
|
2421
2433
|
}
|
|
2422
|
-
async function m(
|
|
2423
|
-
return P().track(
|
|
2434
|
+
async function m(v) {
|
|
2435
|
+
return P().track(v.name, e, t(v.properties, !0));
|
|
2424
2436
|
}
|
|
2425
|
-
async function
|
|
2426
|
-
return P().page(
|
|
2437
|
+
async function s(v) {
|
|
2438
|
+
return P().page(v.name, v.properties.category, t(v.properties, !1));
|
|
2427
2439
|
}
|
|
2428
|
-
async function w(
|
|
2429
|
-
return P().track(
|
|
2440
|
+
async function w(v) {
|
|
2441
|
+
return P().track(v.name, e, t(v.properties, !1));
|
|
2430
2442
|
}
|
|
2431
2443
|
return {
|
|
2432
2444
|
profileDocumentDeleted: i,
|
|
2433
2445
|
profileLabelAdded: n,
|
|
2434
2446
|
profileLabelRemoved: r,
|
|
2435
|
-
profileShared:
|
|
2447
|
+
profileShared: c,
|
|
2436
2448
|
profileArchived: f,
|
|
2437
2449
|
profileCandidateAdded: h,
|
|
2438
2450
|
profileCommentAdded: y,
|
|
@@ -2442,11 +2454,11 @@ function cr() {
|
|
|
2442
2454
|
profileRecruitmentAdded: k,
|
|
2443
2455
|
profileRecruitmentRemoved: I,
|
|
2444
2456
|
profileTabSelected: m,
|
|
2445
|
-
profileViewed:
|
|
2457
|
+
profileViewed: s,
|
|
2446
2458
|
profileEmailSent: w
|
|
2447
2459
|
};
|
|
2448
2460
|
}
|
|
2449
|
-
function
|
|
2461
|
+
function gr() {
|
|
2450
2462
|
const e = "Recruitment";
|
|
2451
2463
|
function t(n) {
|
|
2452
2464
|
if (!n)
|
|
@@ -2463,120 +2475,120 @@ function sr() {
|
|
|
2463
2475
|
candidateAdded: i
|
|
2464
2476
|
};
|
|
2465
2477
|
}
|
|
2466
|
-
function
|
|
2478
|
+
function wr() {
|
|
2467
2479
|
const e = "Visual Builder";
|
|
2468
|
-
function t(
|
|
2469
|
-
if (!
|
|
2480
|
+
function t(S, Xe) {
|
|
2481
|
+
if (!S)
|
|
2470
2482
|
throw new Error(`Missing arguments for domain "${e}"`);
|
|
2471
|
-
const
|
|
2472
|
-
companyId:
|
|
2483
|
+
const Q = {
|
|
2484
|
+
companyId: S.companyId ? S.companyId.toString() : null
|
|
2473
2485
|
};
|
|
2474
|
-
return Xe && (
|
|
2486
|
+
return Xe && (Q.productId = S.companyId ? S.companyId + "_2" : null), S.selections && (Q.selections = S.selections), S.error && (Q.error = S.error), S.institutionId && (Q.institutionId = [S.institutionId.toString()]), Q;
|
|
2475
2487
|
}
|
|
2476
|
-
async function i(
|
|
2477
|
-
return P().page(
|
|
2488
|
+
async function i(S) {
|
|
2489
|
+
return P().page(S.name, e, t(S.properties, !0));
|
|
2478
2490
|
}
|
|
2479
|
-
async function n(
|
|
2480
|
-
return P().track(
|
|
2491
|
+
async function n(S) {
|
|
2492
|
+
return P().track(S.name, e, t(S.properties), !0);
|
|
2481
2493
|
}
|
|
2482
|
-
async function r(
|
|
2483
|
-
return P().track(
|
|
2494
|
+
async function r(S) {
|
|
2495
|
+
return P().track(S.name, e, t(S.properties, !0));
|
|
2484
2496
|
}
|
|
2485
|
-
async function
|
|
2486
|
-
return P().page(
|
|
2497
|
+
async function c(S) {
|
|
2498
|
+
return P().page(S.name, e, t(S.properties, !0));
|
|
2487
2499
|
}
|
|
2488
|
-
async function f(
|
|
2489
|
-
return P().page(
|
|
2500
|
+
async function f(S) {
|
|
2501
|
+
return P().page(S.name, e, t(S.properties, !0));
|
|
2490
2502
|
}
|
|
2491
|
-
async function h(
|
|
2492
|
-
return P().track(
|
|
2503
|
+
async function h(S) {
|
|
2504
|
+
return P().track(S.name, e, t(S.properties, !0));
|
|
2493
2505
|
}
|
|
2494
|
-
async function y(
|
|
2495
|
-
return P().page(
|
|
2506
|
+
async function y(S) {
|
|
2507
|
+
return P().page(S.name, e, t(S.properties, !0));
|
|
2496
2508
|
}
|
|
2497
|
-
async function b(
|
|
2498
|
-
return P().page(
|
|
2509
|
+
async function b(S) {
|
|
2510
|
+
return P().page(S.name, e, t(S.properties, !0));
|
|
2499
2511
|
}
|
|
2500
|
-
async function _(
|
|
2501
|
-
return P().page(
|
|
2512
|
+
async function _(S) {
|
|
2513
|
+
return P().page(S.name, e, t(S.properties, !0));
|
|
2502
2514
|
}
|
|
2503
|
-
async function A(
|
|
2504
|
-
return P().track(
|
|
2515
|
+
async function A(S) {
|
|
2516
|
+
return P().track(S.name, e, t(S.properties, !0));
|
|
2505
2517
|
}
|
|
2506
|
-
async function k(
|
|
2507
|
-
return P().page(
|
|
2518
|
+
async function k(S) {
|
|
2519
|
+
return P().page(S.name, e, t(S.properties, !0));
|
|
2508
2520
|
}
|
|
2509
|
-
async function I(
|
|
2510
|
-
return P().page(
|
|
2521
|
+
async function I(S) {
|
|
2522
|
+
return P().page(S.name, e, t(S.properties, !0));
|
|
2511
2523
|
}
|
|
2512
|
-
async function m(
|
|
2513
|
-
return P().track(
|
|
2524
|
+
async function m(S) {
|
|
2525
|
+
return P().track(S.name, e, t(S.properties, !0));
|
|
2514
2526
|
}
|
|
2515
|
-
async function
|
|
2516
|
-
return P().track(
|
|
2527
|
+
async function s(S) {
|
|
2528
|
+
return P().track(S.name, e, t(S.properties, !0));
|
|
2517
2529
|
}
|
|
2518
|
-
async function w(
|
|
2519
|
-
return P().page(
|
|
2530
|
+
async function w(S) {
|
|
2531
|
+
return P().page(S.name, e, t(S.properties, !0));
|
|
2520
2532
|
}
|
|
2521
|
-
async function S
|
|
2522
|
-
return P().page(
|
|
2533
|
+
async function v(S) {
|
|
2534
|
+
return P().page(S.name, e, t(S.properties, !0));
|
|
2523
2535
|
}
|
|
2524
|
-
async function
|
|
2525
|
-
return P().page(
|
|
2536
|
+
async function T(S) {
|
|
2537
|
+
return P().page(S.name, e, t(S.properties, !0));
|
|
2526
2538
|
}
|
|
2527
|
-
async function L(
|
|
2528
|
-
return P().page(
|
|
2539
|
+
async function L(S) {
|
|
2540
|
+
return P().page(S.name, e, t(S.properties, !0));
|
|
2529
2541
|
}
|
|
2530
|
-
async function B(
|
|
2531
|
-
return P().page(
|
|
2542
|
+
async function B(S) {
|
|
2543
|
+
return P().page(S.name, e, t(S.properties, !1));
|
|
2532
2544
|
}
|
|
2533
|
-
async function Ie(
|
|
2534
|
-
return P().track(
|
|
2545
|
+
async function Ie(S) {
|
|
2546
|
+
return P().track(S.name, e, t(S.properties, !0));
|
|
2535
2547
|
}
|
|
2536
|
-
async function be(
|
|
2537
|
-
return P().track(
|
|
2548
|
+
async function be(S) {
|
|
2549
|
+
return P().track(S.name, e, t(S.properties, !0));
|
|
2538
2550
|
}
|
|
2539
|
-
async function ke(
|
|
2540
|
-
return P().track(
|
|
2551
|
+
async function ke(S) {
|
|
2552
|
+
return P().track(S.name, e, t(S.properties, !0));
|
|
2541
2553
|
}
|
|
2542
|
-
async function
|
|
2543
|
-
return P().track(
|
|
2554
|
+
async function ve(S) {
|
|
2555
|
+
return P().track(S.name, e, t(S.properties, !0));
|
|
2544
2556
|
}
|
|
2545
|
-
async function
|
|
2546
|
-
return P().track(
|
|
2557
|
+
async function Se(S) {
|
|
2558
|
+
return P().track(S.name, e, t(S.properties, !0));
|
|
2547
2559
|
}
|
|
2548
|
-
async function Ve(
|
|
2549
|
-
return P().track(
|
|
2560
|
+
async function Ve(S) {
|
|
2561
|
+
return P().track(S.name, e, t(S.properties, !0));
|
|
2550
2562
|
}
|
|
2551
|
-
async function Ae(
|
|
2552
|
-
return P().track(
|
|
2563
|
+
async function Ae(S) {
|
|
2564
|
+
return P().track(S.name, e, t(S.properties, !0));
|
|
2553
2565
|
}
|
|
2554
|
-
async function Ce(
|
|
2555
|
-
return P().track(
|
|
2566
|
+
async function Ce(S) {
|
|
2567
|
+
return P().track(S.name, e, t(S.properties, !0));
|
|
2556
2568
|
}
|
|
2557
|
-
async function Re(
|
|
2558
|
-
return P().track(
|
|
2569
|
+
async function Re(S) {
|
|
2570
|
+
return P().track(S.name, e, t(S.properties, !0));
|
|
2559
2571
|
}
|
|
2560
|
-
async function Pe(
|
|
2561
|
-
return P().track(
|
|
2572
|
+
async function Pe(S) {
|
|
2573
|
+
return P().track(S.name, e, t(S.properties, !0));
|
|
2562
2574
|
}
|
|
2563
|
-
async function Oe(
|
|
2564
|
-
return P().track(
|
|
2575
|
+
async function Oe(S) {
|
|
2576
|
+
return P().track(S.name, e, t(S.properties, !0));
|
|
2565
2577
|
}
|
|
2566
|
-
async function Ee(
|
|
2567
|
-
return P().track(
|
|
2578
|
+
async function Ee(S) {
|
|
2579
|
+
return P().track(S.name, e, t(S.properties, !0));
|
|
2568
2580
|
}
|
|
2569
|
-
async function g(
|
|
2570
|
-
return P().track(
|
|
2581
|
+
async function g(S) {
|
|
2582
|
+
return P().track(S.name, e, t(S.properties, !0));
|
|
2571
2583
|
}
|
|
2572
|
-
async function C(
|
|
2573
|
-
return P().page(
|
|
2584
|
+
async function C(S) {
|
|
2585
|
+
return P().page(S.name, e, t(S.properties, !1));
|
|
2574
2586
|
}
|
|
2575
2587
|
return {
|
|
2576
2588
|
careerSitePreviewViewed: i,
|
|
2577
2589
|
careerSitePublished: n,
|
|
2578
2590
|
setupBenefitCustomAdded: r,
|
|
2579
|
-
setupBenefitViewed:
|
|
2591
|
+
setupBenefitViewed: c,
|
|
2580
2592
|
setupCandidateInformationViewed: f,
|
|
2581
2593
|
setupContactAdded: h,
|
|
2582
2594
|
setupContactViewed: y,
|
|
@@ -2586,17 +2598,17 @@ function dr() {
|
|
|
2586
2598
|
setupImageViewed: k,
|
|
2587
2599
|
setupLocationViewed: I,
|
|
2588
2600
|
setupPresentationContentAdded: m,
|
|
2589
|
-
setupPresentationNewTabAdded:
|
|
2601
|
+
setupPresentationNewTabAdded: s,
|
|
2590
2602
|
setupPresentationViewed: w,
|
|
2591
|
-
setupSettingsDoneViewed:
|
|
2592
|
-
setupSocialNetworkViewed:
|
|
2603
|
+
setupSettingsDoneViewed: v,
|
|
2604
|
+
setupSocialNetworkViewed: T,
|
|
2593
2605
|
setupThemeViewed: L,
|
|
2594
2606
|
visualBuilderViewed: B,
|
|
2595
2607
|
setupImageUploadFailed: Ie,
|
|
2596
2608
|
fastCopyLinkClicked: be,
|
|
2597
2609
|
setupBenefitCustomDeleted: ke,
|
|
2598
|
-
setupBenefitCustomEdited:
|
|
2599
|
-
setupContactDeleted:
|
|
2610
|
+
setupBenefitCustomEdited: ve,
|
|
2611
|
+
setupContactDeleted: Se,
|
|
2600
2612
|
setupContactEdited: Ve,
|
|
2601
2613
|
setupContactNewClicked: Ae,
|
|
2602
2614
|
setupPresentationContentDeleted: Ce,
|
|
@@ -2610,12 +2622,12 @@ function dr() {
|
|
|
2610
2622
|
}
|
|
2611
2623
|
const lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2612
2624
|
__proto__: null,
|
|
2613
|
-
useAnalyticsHublerApplication:
|
|
2614
|
-
useAnalyticsProfile:
|
|
2615
|
-
useAnalyticsRecruitment:
|
|
2616
|
-
useAnalyticsVisualBuilder:
|
|
2625
|
+
useAnalyticsHublerApplication: pr,
|
|
2626
|
+
useAnalyticsProfile: yr,
|
|
2627
|
+
useAnalyticsRecruitment: gr,
|
|
2628
|
+
useAnalyticsVisualBuilder: wr
|
|
2617
2629
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2618
|
-
function
|
|
2630
|
+
function vs() {
|
|
2619
2631
|
function e(i) {
|
|
2620
2632
|
return P().identify(i.id, {
|
|
2621
2633
|
email: i.email,
|
|
@@ -2638,13 +2650,13 @@ function uc() {
|
|
|
2638
2650
|
};
|
|
2639
2651
|
}
|
|
2640
2652
|
let fe = null;
|
|
2641
|
-
const
|
|
2653
|
+
const hr = async (e, t) => {
|
|
2642
2654
|
try {
|
|
2643
2655
|
return await _e(), u.info("[identify]", [e, t]), window.analytics.identify(e, t);
|
|
2644
2656
|
} catch {
|
|
2645
2657
|
u.error("[identify]", [e, t]);
|
|
2646
2658
|
}
|
|
2647
|
-
},
|
|
2659
|
+
}, _r = async (e, t, i) => {
|
|
2648
2660
|
typeof i != "object" && (i = {});
|
|
2649
2661
|
try {
|
|
2650
2662
|
return await _e(), u.info("[page]", [e, t, i]), window.analytics.page(e, {
|
|
@@ -2655,7 +2667,7 @@ const lr = async (e, t) => {
|
|
|
2655
2667
|
} catch {
|
|
2656
2668
|
u.error("[page]", [e, t, i]);
|
|
2657
2669
|
}
|
|
2658
|
-
},
|
|
2670
|
+
}, Ir = async (e, t, i) => {
|
|
2659
2671
|
typeof i != "object" && (i = {});
|
|
2660
2672
|
try {
|
|
2661
2673
|
return await _e(), u.info("[track]", [e, t, i]), window.analytics.track(e, {
|
|
@@ -2667,7 +2679,7 @@ const lr = async (e, t) => {
|
|
|
2667
2679
|
u.error("[track]", [e, t, i]);
|
|
2668
2680
|
}
|
|
2669
2681
|
}, xe = () => {
|
|
2670
|
-
const e =
|
|
2682
|
+
const e = G.getEnvironment();
|
|
2671
2683
|
return e === "prod" || e === "production" ? "pPROC7dPoJ7XdxHrwsTQNXCGX79MJjhp" : e === "staging" ? "823rqOTwVk1ZCWVyBAdLInZ77TcFF0CF" : "TMZX6evFnu87JrBHV5qLwHsld5C6hilZ";
|
|
2672
2684
|
}, Bt = () => {
|
|
2673
2685
|
const e = window.analytics = window.analytics || [];
|
|
@@ -2705,30 +2717,30 @@ const lr = async (e, t) => {
|
|
|
2705
2717
|
key: xe,
|
|
2706
2718
|
appendScript: Bt,
|
|
2707
2719
|
ready: _e,
|
|
2708
|
-
identify:
|
|
2709
|
-
page:
|
|
2710
|
-
track:
|
|
2711
|
-
},
|
|
2720
|
+
identify: hr,
|
|
2721
|
+
page: _r,
|
|
2722
|
+
track: Ir
|
|
2723
|
+
}, br = "AIzaSyBd9aaBeos2tzRIKO6VOMdL0iVT_F3CysU";
|
|
2712
2724
|
let $t = !1;
|
|
2713
2725
|
const Mt = () => new Promise((e) => {
|
|
2714
|
-
W() || $t || window.google && window.google.maps ? e() : (window.addEventListener("gmap-ready", () => e()),
|
|
2715
|
-
}),
|
|
2716
|
-
W() ||
|
|
2717
|
-
}),
|
|
2726
|
+
W() || $t || window.google && window.google.maps ? e() : (window.addEventListener("gmap-ready", () => e()), Sr());
|
|
2727
|
+
}), kr = (e, t) => Mt().then(() => {
|
|
2728
|
+
W() || vr(e, t);
|
|
2729
|
+
}), vr = (e, t) => {
|
|
2718
2730
|
const i = new window.google.maps.places.Autocomplete(e, { componentRestrictions: { country: ["fr", "re", "yt", "gp", "mq"] } });
|
|
2719
2731
|
window.google.maps.event.addListener(i, "place_changed", () => {
|
|
2720
2732
|
const n = i.getPlace();
|
|
2721
2733
|
n.formatted_address && t && t(n.formatted_address, n);
|
|
2722
2734
|
});
|
|
2723
|
-
},
|
|
2735
|
+
}, Sr = () => {
|
|
2724
2736
|
window.onGmapScriptReady = () => {
|
|
2725
2737
|
};
|
|
2726
2738
|
const e = document.createElement("script");
|
|
2727
|
-
e.src = "https://maps.googleapis.com/maps/api/js?key=" +
|
|
2728
|
-
},
|
|
2739
|
+
e.src = "https://maps.googleapis.com/maps/api/js?key=" + br + "&libraries=places&callback=onGmapScriptReady", e.async = !0, e.defer = !0, e.onload = () => window.dispatchEvent(new Event("gmap-ready")), document.body.appendChild(e), $t = !0;
|
|
2740
|
+
}, Ss = {
|
|
2729
2741
|
scriptReady: Mt,
|
|
2730
|
-
autocompleteInput:
|
|
2731
|
-
},
|
|
2742
|
+
autocompleteInput: kr
|
|
2743
|
+
}, Vr = {
|
|
2732
2744
|
common: {
|
|
2733
2745
|
the: "le",
|
|
2734
2746
|
from: "de"
|
|
@@ -2753,29 +2765,29 @@ const Mt = () => new Promise((e) => {
|
|
|
2753
2765
|
minute: "minute | minutes",
|
|
2754
2766
|
second: "seconde | secondes"
|
|
2755
2767
|
}
|
|
2756
|
-
},
|
|
2757
|
-
fr:
|
|
2768
|
+
}, Ar = {
|
|
2769
|
+
fr: Vr
|
|
2758
2770
|
};
|
|
2759
2771
|
let Je = null;
|
|
2760
|
-
const
|
|
2772
|
+
const Cr = () => Je, Vs = (e = {}) => {
|
|
2761
2773
|
let t = e.locale || "fr";
|
|
2762
|
-
const i = (y) => t = y, n = () => t, r = yt(
|
|
2774
|
+
const i = (y) => t = y, n = () => t, r = yt(Ar, (e == null ? void 0 : e.messages) || {}), c = (y, b) => {
|
|
2763
2775
|
const _ = z(r, `${t}.${y}`);
|
|
2764
|
-
return _ ? b ?
|
|
2776
|
+
return _ ? b ? Rr(_, b) : _ : y;
|
|
2765
2777
|
}, f = (y, b) => {
|
|
2766
2778
|
const _ = z(r, `${t}.${y}`);
|
|
2767
|
-
return _ ?
|
|
2779
|
+
return _ ? Pr(_, b) : y;
|
|
2768
2780
|
};
|
|
2769
2781
|
return Je = {
|
|
2770
|
-
t:
|
|
2782
|
+
t: c,
|
|
2771
2783
|
tNode: f,
|
|
2772
2784
|
setLocale: i,
|
|
2773
2785
|
getLocale: n,
|
|
2774
2786
|
install: (y) => {
|
|
2775
|
-
y.config.globalProperties.$t =
|
|
2787
|
+
y.config.globalProperties.$t = c, y.config.globalProperties.$tNode = f;
|
|
2776
2788
|
}
|
|
2777
2789
|
}, Je;
|
|
2778
|
-
},
|
|
2790
|
+
}, Rr = (e, t) => e ? e.replace(/{{ ?([a-zA-Z_.]+) ?}}/g, (i, n) => z(t, n)) : null, Pr = (e, t) => {
|
|
2779
2791
|
if (!e)
|
|
2780
2792
|
return null;
|
|
2781
2793
|
const i = e.split(/(\{[{%]+[^{}]*[%}]+})/g).filter((n) => n !== "").map((n) => {
|
|
@@ -2783,22 +2795,22 @@ const _r = () => Je, mc = (e = {}) => {
|
|
|
2783
2795
|
if (r === "text")
|
|
2784
2796
|
return () => ut.text(n);
|
|
2785
2797
|
n = n.replace(/[{}%]/g, "").trim();
|
|
2786
|
-
const
|
|
2787
|
-
n = n.replace(
|
|
2798
|
+
const c = n.match(/^[a-zA-Z_.]+/)[0];
|
|
2799
|
+
n = n.replace(c, "").trim();
|
|
2788
2800
|
const f = {};
|
|
2789
2801
|
return n !== "" && ([...n.matchAll(/([a-zA-Z_.]+)(=([a-zA-Z_.]+))?/g)].reduce((b, _) => (_[3] === void 0 ? ee(b, _[1], z(t, _[1])) : ee(b, _[1], z(t, _[3])), b), f), [...n.matchAll(/([a-zA-Z_.]+)="([^"]+)"/g)].reduce((b, _) => {
|
|
2790
2802
|
let A = _[2];
|
|
2791
2803
|
return new RegExp(/^[0-9]*$/).exec(_[2]) ? A = parseInt(_[2]) : new RegExp(/^(true|false)$/).exec(_[2]) && (A = _[2] === "true"), b[_[1]] = A, b;
|
|
2792
|
-
}, f)), (h) => ut[r](
|
|
2804
|
+
}, f)), (h) => ut[r](c, t, h, f);
|
|
2793
2805
|
});
|
|
2794
|
-
return { setup: (n, { slots: r }) => () => i.map((
|
|
2806
|
+
return { setup: (n, { slots: r }) => () => i.map((c) => c(r)) };
|
|
2795
2807
|
}, ut = {
|
|
2796
2808
|
slot: (e, t, i, n) => De("span", { class: "node node--slot" }, i[e.trim()](n)),
|
|
2797
2809
|
variable: (e, t) => De("span", { class: "node node--variable" }, z(t, e.trim())),
|
|
2798
2810
|
text: (e) => De("span", { class: "node node--text" }, e)
|
|
2799
2811
|
};
|
|
2800
|
-
function
|
|
2801
|
-
const { t } =
|
|
2812
|
+
function As(e) {
|
|
2813
|
+
const { t } = Cr(), i = {
|
|
2802
2814
|
justNow: t("timeAgo.just-now"),
|
|
2803
2815
|
past: (n) => n.match(/\d/) ? t("timeAgo.ago", [n]) : n,
|
|
2804
2816
|
future: (n) => n.match(/\d/) ? t("timeAgo.in", [n]) : n,
|
|
@@ -2811,12 +2823,12 @@ function pc(e) {
|
|
|
2811
2823
|
second: (n) => `${n} ${t("timeAgo.second", n)}`,
|
|
2812
2824
|
invalid: ""
|
|
2813
2825
|
};
|
|
2814
|
-
return
|
|
2826
|
+
return Qt(e, {
|
|
2815
2827
|
fullDateFormatter: (n) => n.toLocaleDateString(),
|
|
2816
2828
|
messages: i
|
|
2817
2829
|
});
|
|
2818
2830
|
}
|
|
2819
|
-
function
|
|
2831
|
+
function Or() {
|
|
2820
2832
|
let e = null;
|
|
2821
2833
|
function t() {
|
|
2822
2834
|
return e;
|
|
@@ -2830,7 +2842,7 @@ function kr() {
|
|
|
2830
2842
|
function r() {
|
|
2831
2843
|
return e.action;
|
|
2832
2844
|
}
|
|
2833
|
-
function
|
|
2845
|
+
function c() {
|
|
2834
2846
|
return e.arguments;
|
|
2835
2847
|
}
|
|
2836
2848
|
function f() {
|
|
@@ -2847,19 +2859,19 @@ function kr() {
|
|
|
2847
2859
|
getController: i,
|
|
2848
2860
|
getControllerComposableName: n,
|
|
2849
2861
|
getAction: r,
|
|
2850
|
-
getArguments:
|
|
2862
|
+
getArguments: c,
|
|
2851
2863
|
hasAction: f
|
|
2852
2864
|
};
|
|
2853
2865
|
}
|
|
2854
|
-
function
|
|
2855
|
-
async function e({ domain: n, event: r, ...
|
|
2866
|
+
function Er() {
|
|
2867
|
+
async function e({ domain: n, event: r, ...c }) {
|
|
2856
2868
|
const f = "useAnalytics" + n.charAt(0).toUpperCase() + n.slice(1);
|
|
2857
2869
|
if (!t(f))
|
|
2858
2870
|
throw new Error(`Domain ${n} is not defined`);
|
|
2859
2871
|
const h = lt[f]();
|
|
2860
2872
|
if (!i(h, r))
|
|
2861
2873
|
throw new Error(`Event ${r} is not defined in domain ${n}`);
|
|
2862
|
-
return h[r](
|
|
2874
|
+
return h[r](c);
|
|
2863
2875
|
}
|
|
2864
2876
|
function t(n) {
|
|
2865
2877
|
return !!lt[n];
|
|
@@ -2873,9 +2885,9 @@ function Sr() {
|
|
|
2873
2885
|
}
|
|
2874
2886
|
const ft = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2875
2887
|
__proto__: null,
|
|
2876
|
-
useAnalyticsQSController:
|
|
2888
|
+
useAnalyticsQSController: Er
|
|
2877
2889
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2878
|
-
function
|
|
2890
|
+
function Dr(e) {
|
|
2879
2891
|
if (!e.hasAction())
|
|
2880
2892
|
throw new Error("No action found in router");
|
|
2881
2893
|
function t() {
|
|
@@ -2896,21 +2908,21 @@ function vr(e) {
|
|
|
2896
2908
|
dispatch: t
|
|
2897
2909
|
};
|
|
2898
2910
|
}
|
|
2899
|
-
function
|
|
2911
|
+
function Cs() {
|
|
2900
2912
|
let e = !1;
|
|
2901
|
-
function t(r,
|
|
2913
|
+
function t(r, c, f) {
|
|
2902
2914
|
n(), f();
|
|
2903
2915
|
}
|
|
2904
|
-
function i(r,
|
|
2916
|
+
function i(r, c, f) {
|
|
2905
2917
|
if (!e)
|
|
2906
|
-
return e = !0, t(r,
|
|
2918
|
+
return e = !0, t(r, c, f);
|
|
2907
2919
|
f();
|
|
2908
2920
|
}
|
|
2909
2921
|
function n() {
|
|
2910
|
-
const r =
|
|
2922
|
+
const r = Or();
|
|
2911
2923
|
if (!r.hasAction())
|
|
2912
2924
|
return;
|
|
2913
|
-
|
|
2925
|
+
Dr(r).dispatch();
|
|
2914
2926
|
}
|
|
2915
2927
|
return {
|
|
2916
2928
|
vueRouterBeforeEach: t,
|
|
@@ -2920,58 +2932,58 @@ function yc() {
|
|
|
2920
2932
|
}
|
|
2921
2933
|
const Ut = async (e, t, i) => {
|
|
2922
2934
|
const n = [], r = JSON.parse(JSON.stringify(t));
|
|
2923
|
-
for (const
|
|
2924
|
-
t.query[
|
|
2935
|
+
for (const c of e)
|
|
2936
|
+
t.query[c] !== void 0 && (delete r.query[c], n.push(c));
|
|
2925
2937
|
if (n.length)
|
|
2926
2938
|
return i.replace(r);
|
|
2927
|
-
},
|
|
2939
|
+
}, Rs = async (e, t, i) => Ut([e], t, i), Tr = async (e, t, i) => {
|
|
2928
2940
|
const n = {};
|
|
2929
2941
|
for (const r of e)
|
|
2930
2942
|
t.query[r] !== void 0 && (n[r] = t.query[r]);
|
|
2931
2943
|
return await Ut(Object.keys(n), t, i), n;
|
|
2932
|
-
},
|
|
2944
|
+
}, Ps = async (e, t, i) => Tr([e], t, i)[e], Os = () => ({ getAssetUrl: (t) => `${G.getBaseAssetsUrl()}${t}` }), E = () => G.getMainAppHost(), Lr = () => `${E()}/rh/establishments`, Nr = (e) => `${E()}/rh/establishment/${e}`, Br = (e) => {
|
|
2933
2945
|
var t;
|
|
2934
2946
|
return typeof e == "string" ? e : typeof e == "object" && ((t = e == null ? void 0 : e.urls) != null && t.display) ? e.urls.display : null;
|
|
2935
|
-
},
|
|
2947
|
+
}, $r = () => `${E()}/rh/dashboard`, Mr = () => `${E()}/candidate/profile`, Ur = (e) => `${E()}/candidate-invite/establishment/${e}`, Fr = (e) => `${E()}/cvbank/${e}`, jr = (e, t) => `${E()}/user-profile/establishment/${e}/user/${t}`, Hr = (e) => `${E()}/rh/establishment/${e}/recruitment`, xr = (e, t) => `${E()}/rh/establishment/${e}/recruitment/${t}`, Jr = (e, t) => `${E()}/rh/establishment/${e}/recruitment/${t}/kanban`, zr = (e, t) => `${E()}/rh/establishment/${e}/recruitment/${t}/offer`, Gr = (e) => `${E()}/rh/establishment/${e}/offer`, Qr = (e, t, i, n = "") => `${E()}/offer/establishment/${e}/recruitment/${t}/${n}?offerId=${i}`, qr = (e, t, i) => `${E()}/offer-preview/establishment/${e}/recruitment/${t}/offer/${i}`, Kr = (e) => `${E()}/rh/establishment/${e}/career-configuration`, Wr = (e, t = null) => t ? `${E()}/career-website/${e}/${t}` : `${E()}/career-website/${e}`, Zr = (e, t) => `${E()}/career-website-preview/${e}/${t}`, Xr = (e, t = null) => {
|
|
2936
2948
|
const i = E().replace("://", `://${e}.`);
|
|
2937
2949
|
return t ? `${i}?_version=${t}` : `${i}`;
|
|
2938
|
-
},
|
|
2950
|
+
}, Yr = (e, t, i = null) => {
|
|
2939
2951
|
const n = `${E().replace("://", `://${e}.`)}/v2/offer/${t}`;
|
|
2940
2952
|
return i ? `${n}?token=${i}` : `${n}`;
|
|
2941
|
-
},
|
|
2942
|
-
function
|
|
2953
|
+
}, eo = (e) => `${E()}/rh/establishment/${e}/stats`, to = (e) => `${E()}/rh/establishment/${e}/backoffice`, no = () => `${E()}/rh/settings/general`;
|
|
2954
|
+
function io() {
|
|
2943
2955
|
return {
|
|
2944
2956
|
root: E,
|
|
2945
|
-
establishments:
|
|
2946
|
-
establishment:
|
|
2947
|
-
img:
|
|
2948
|
-
dashboard:
|
|
2949
|
-
candidateProfile:
|
|
2950
|
-
candidateInvite:
|
|
2951
|
-
cvtheque:
|
|
2952
|
-
userProfile:
|
|
2953
|
-
recruitments:
|
|
2954
|
-
recruitment:
|
|
2955
|
-
recruitmentKanban:
|
|
2956
|
-
recruitmentOffer:
|
|
2957
|
-
offers:
|
|
2958
|
-
offerUpdate:
|
|
2959
|
-
offerPreview:
|
|
2960
|
-
career:
|
|
2961
|
-
careerConfig:
|
|
2962
|
-
careerPreview:
|
|
2963
|
-
careerWebsite:
|
|
2964
|
-
careerOffer:
|
|
2965
|
-
statistics:
|
|
2966
|
-
backoffice:
|
|
2967
|
-
userSettings:
|
|
2957
|
+
establishments: Lr,
|
|
2958
|
+
establishment: Nr,
|
|
2959
|
+
img: Br,
|
|
2960
|
+
dashboard: $r,
|
|
2961
|
+
candidateProfile: Mr,
|
|
2962
|
+
candidateInvite: Ur,
|
|
2963
|
+
cvtheque: Fr,
|
|
2964
|
+
userProfile: jr,
|
|
2965
|
+
recruitments: Hr,
|
|
2966
|
+
recruitment: xr,
|
|
2967
|
+
recruitmentKanban: Jr,
|
|
2968
|
+
recruitmentOffer: zr,
|
|
2969
|
+
offers: Gr,
|
|
2970
|
+
offerUpdate: Qr,
|
|
2971
|
+
offerPreview: qr,
|
|
2972
|
+
career: Kr,
|
|
2973
|
+
careerConfig: Wr,
|
|
2974
|
+
careerPreview: Zr,
|
|
2975
|
+
careerWebsite: Xr,
|
|
2976
|
+
careerOffer: Yr,
|
|
2977
|
+
statistics: eo,
|
|
2978
|
+
backoffice: to,
|
|
2979
|
+
userSettings: no
|
|
2968
2980
|
};
|
|
2969
2981
|
}
|
|
2970
2982
|
const mt = /* @__PURE__ */ new Set();
|
|
2971
2983
|
let Y, ze = {
|
|
2972
2984
|
ignore: (e) => e.startsWith("Ui")
|
|
2973
2985
|
};
|
|
2974
|
-
const
|
|
2986
|
+
const Ne = (e) => {
|
|
2975
2987
|
if (e != null && e.classList) {
|
|
2976
2988
|
e._cssChecked = !0;
|
|
2977
2989
|
for (const t of e.classList)
|
|
@@ -2988,7 +3000,7 @@ const Te = (e) => {
|
|
|
2988
3000
|
for (const r of n)
|
|
2989
3001
|
Y.add(r.substr(1));
|
|
2990
3002
|
}
|
|
2991
|
-
},
|
|
3003
|
+
}, Es = (e = {}) => {
|
|
2992
3004
|
if (Y)
|
|
2993
3005
|
return Y;
|
|
2994
3006
|
Y = /* @__PURE__ */ new Set(), ze = { ...ze, ...e }, Ft(document.styleSheets), new MutationObserver((i) => {
|
|
@@ -2996,124 +3008,128 @@ const Te = (e) => {
|
|
|
2996
3008
|
if (n.type === "childList" && (n != null && n.addedNodes)) {
|
|
2997
3009
|
for (const r of n.addedNodes)
|
|
2998
3010
|
if (!(r.nodeType === 3 || r.nodeType === 8)) {
|
|
2999
|
-
|
|
3000
|
-
for (const
|
|
3001
|
-
|
|
3011
|
+
Ne(r);
|
|
3012
|
+
for (const c of r.querySelectorAll("*"))
|
|
3013
|
+
Ne(c);
|
|
3002
3014
|
}
|
|
3003
3015
|
} else
|
|
3004
|
-
(n == null ? void 0 : n.attributeName) === "class" &&
|
|
3016
|
+
(n == null ? void 0 : n.attributeName) === "class" && Ne(n.target);
|
|
3005
3017
|
}).observe(document, {
|
|
3006
3018
|
attributes: !0,
|
|
3007
3019
|
childList: !0,
|
|
3008
3020
|
subtree: !0
|
|
3009
3021
|
});
|
|
3010
|
-
},
|
|
3022
|
+
}, Ds = "0.2.114";
|
|
3011
3023
|
export {
|
|
3012
3024
|
d as Analytics,
|
|
3013
3025
|
$e as BaseLogger,
|
|
3014
|
-
|
|
3015
|
-
|
|
3026
|
+
Ss as Gmap,
|
|
3027
|
+
G as SDKConfig,
|
|
3016
3028
|
u as SDKLogger,
|
|
3017
|
-
|
|
3029
|
+
Ds as VERSION,
|
|
3018
3030
|
gn as _clone,
|
|
3019
3031
|
z as _get,
|
|
3020
|
-
|
|
3032
|
+
Co as _map,
|
|
3021
3033
|
yt as _merge,
|
|
3022
3034
|
gt as _pathList,
|
|
3023
3035
|
ee as _set,
|
|
3024
3036
|
yn as _setMany,
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3037
|
+
os as analyticsAuthentication,
|
|
3038
|
+
ds as analyticsCVBank,
|
|
3039
|
+
ss as analyticsCareerPrivate,
|
|
3040
|
+
cs as analyticsCareerPublic,
|
|
3041
|
+
ls as analyticsHublerApplication,
|
|
3042
|
+
us as analyticsHublerAuthentication,
|
|
3043
|
+
fs as analyticsHublerCalendar,
|
|
3044
|
+
ms as analyticsHublerDocument,
|
|
3045
|
+
ps as analyticsHublerResume,
|
|
3046
|
+
ys as analyticsHublerSettings,
|
|
3047
|
+
gs as analyticsMessaging,
|
|
3048
|
+
ws as analyticsProfile,
|
|
3049
|
+
hs as analyticsRecruitment,
|
|
3050
|
+
_s as analyticsSettings,
|
|
3051
|
+
Is as analyticsSourcing,
|
|
3052
|
+
bs as analyticsStatistics,
|
|
3053
|
+
ks as analyticsVisualBuilder,
|
|
3042
3054
|
Be as buildObjectValidation,
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3055
|
+
Ps as consumeQueryParam,
|
|
3056
|
+
Tr as consumeQueryParams,
|
|
3057
|
+
Vs as createI18n,
|
|
3046
3058
|
wt as ensureScheme,
|
|
3047
|
-
|
|
3048
|
-
|
|
3059
|
+
Vo as hasOrIsInClass,
|
|
3060
|
+
Ao as inBrowser,
|
|
3049
3061
|
W as inNode,
|
|
3050
3062
|
pe as isArray,
|
|
3051
3063
|
V as isArrayOf,
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3064
|
+
ho as isBoolean,
|
|
3065
|
+
_o as isDate,
|
|
3066
|
+
vo as isFalsy,
|
|
3067
|
+
Io as isFunction,
|
|
3068
|
+
go as isMobile,
|
|
3069
|
+
bo as isNotNullOrUndefined,
|
|
3058
3070
|
fn as isNull,
|
|
3059
3071
|
pn as isNullOrUndefined,
|
|
3060
3072
|
U as isNumber,
|
|
3061
3073
|
ye as isObject,
|
|
3062
|
-
|
|
3074
|
+
So as isObjectOf,
|
|
3063
3075
|
p as isObjectValid,
|
|
3064
3076
|
a as isString,
|
|
3065
|
-
|
|
3077
|
+
ko as isTruthy,
|
|
3066
3078
|
mn as isUndefined,
|
|
3067
|
-
|
|
3079
|
+
Rs as removeQueryParam,
|
|
3068
3080
|
Ut as removeQueryParams,
|
|
3069
|
-
|
|
3070
|
-
|
|
3081
|
+
wo as sanitizeObject,
|
|
3082
|
+
Ro as secureScheme,
|
|
3071
3083
|
un as transpileAsserts,
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3084
|
+
Po as useActivityRepository,
|
|
3085
|
+
pr as useAnalyticsHublerApplication,
|
|
3086
|
+
vs as useAnalyticsIdentify,
|
|
3087
|
+
yr as useAnalyticsProfile,
|
|
3088
|
+
gr as useAnalyticsRecruitment,
|
|
3089
|
+
wr as useAnalyticsVisualBuilder,
|
|
3090
|
+
Os as useAssetUrls,
|
|
3091
|
+
Gn as useAuthRepository,
|
|
3092
|
+
Pa as useAuthentication,
|
|
3093
|
+
mr as useAuthorization,
|
|
3094
|
+
rs as useAuthorizationStore,
|
|
3095
|
+
Oo as useCandidateRepository,
|
|
3096
|
+
Eo as useCommentRepository,
|
|
3097
|
+
Do as useContractTypeRepository,
|
|
3086
3098
|
_n as useCookieStorage,
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3099
|
+
To as useCvbankRepository,
|
|
3100
|
+
Lo as useCvthequeRepository,
|
|
3101
|
+
No as useDiplomaRepository,
|
|
3102
|
+
Bo as useDocumentRepository,
|
|
3103
|
+
io as useDomainUrls,
|
|
3104
|
+
$o as useEmailHistoryRepository,
|
|
3105
|
+
Mo as useEmailRepository,
|
|
3106
|
+
Uo as useEmailTemplateRepository,
|
|
3107
|
+
Fo as useEstablishmentCareerRepository,
|
|
3096
3108
|
Ei as useEstablishmentRepository,
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3109
|
+
jo as useFeatureFlagRepository,
|
|
3110
|
+
Ho as useFunctionalUnitRepository,
|
|
3111
|
+
Cr as useI18n,
|
|
3112
|
+
xo as useJobRepository,
|
|
3113
|
+
Jo as useJobStatusRepository,
|
|
3114
|
+
zo as useKanbanTemplateRepository,
|
|
3115
|
+
Go as useLabelRepository,
|
|
3116
|
+
As as useLocaleTimeAgo,
|
|
3104
3117
|
ln as useObjectValidation,
|
|
3105
|
-
|
|
3118
|
+
Qo as useOfferRepository,
|
|
3119
|
+
qo as usePoleRepository,
|
|
3106
3120
|
R as usePrivateRequest,
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3121
|
+
Cs as useQSAction,
|
|
3122
|
+
Ko as useRankRepository,
|
|
3123
|
+
Wo as useRecruiterRepository,
|
|
3124
|
+
Zo as useRecruitmentRepository,
|
|
3125
|
+
Xo as useRegisterRepository,
|
|
3126
|
+
Yo as useRegistrationRepository,
|
|
3112
3127
|
D as useRequest,
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3128
|
+
es as useServiceRepository,
|
|
3129
|
+
ts as useSkillRepository,
|
|
3130
|
+
ns as useSpecialityRepository,
|
|
3131
|
+
is as useTagRepository,
|
|
3132
|
+
as as useTalentRepository,
|
|
3133
|
+
Es as useUndefinedCssClasses,
|
|
3134
|
+
Ra as useUserRepository
|
|
3119
3135
|
};
|