@hublo/mstaff-client-sdk 0.2.77 → 0.2.78
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 +2 -2
- package/dist/core.js +1589 -1169
- package/package.json +1 -1
package/dist/core.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { getCurrentScope as
|
|
5
|
-
import
|
|
6
|
-
import { defineStore as
|
|
7
|
-
import { useTimeAgo as
|
|
8
|
-
function
|
|
9
|
-
return
|
|
1
|
+
var Lt = Object.defineProperty;
|
|
2
|
+
var Dt = (e, t, r) => t in e ? Lt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
|
+
var _ = (e, t, r) => (Dt(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
4
|
+
import { getCurrentScope as jt, onScopeDispose as xt, ref as Vt, computed as W, h as fe } from "vue";
|
|
5
|
+
import zt from "axios";
|
|
6
|
+
import { defineStore as Bt } from "pinia";
|
|
7
|
+
import { useTimeAgo as Ft } from "@vueuse/core";
|
|
8
|
+
function Ut(e) {
|
|
9
|
+
return jt() ? (xt(e), !0) : !1;
|
|
10
10
|
}
|
|
11
11
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
12
12
|
/*!
|
|
@@ -15,154 +15,154 @@ typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
|
15
15
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
16
16
|
* MIT Licensed
|
|
17
17
|
*/
|
|
18
|
-
var
|
|
19
|
-
function
|
|
18
|
+
var Qe = Qt, ke = qt, Ht = Object.prototype.toString, J = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
|
|
19
|
+
function Qt(e, t) {
|
|
20
20
|
if (typeof e != "string")
|
|
21
21
|
throw new TypeError("argument str must be a string");
|
|
22
|
-
for (var
|
|
23
|
-
var
|
|
24
|
-
if (
|
|
22
|
+
for (var r = {}, n = t || {}, i = n.decode || Gt, s = 0; s < e.length; ) {
|
|
23
|
+
var o = e.indexOf("=", s);
|
|
24
|
+
if (o === -1)
|
|
25
25
|
break;
|
|
26
|
-
var
|
|
27
|
-
if (
|
|
28
|
-
|
|
29
|
-
else if (
|
|
30
|
-
|
|
26
|
+
var c = e.indexOf(";", s);
|
|
27
|
+
if (c === -1)
|
|
28
|
+
c = e.length;
|
|
29
|
+
else if (c < o) {
|
|
30
|
+
s = e.lastIndexOf(";", o - 1) + 1;
|
|
31
31
|
continue;
|
|
32
32
|
}
|
|
33
|
-
var d = e.slice(
|
|
34
|
-
if (
|
|
35
|
-
var
|
|
36
|
-
|
|
33
|
+
var d = e.slice(s, o).trim();
|
|
34
|
+
if (r[d] === void 0) {
|
|
35
|
+
var u = e.slice(o + 1, c).trim();
|
|
36
|
+
u.charCodeAt(0) === 34 && (u = u.slice(1, -1)), r[d] = Jt(u, i);
|
|
37
37
|
}
|
|
38
|
-
|
|
38
|
+
s = c + 1;
|
|
39
39
|
}
|
|
40
|
-
return
|
|
40
|
+
return r;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
var n =
|
|
44
|
-
if (typeof
|
|
42
|
+
function qt(e, t, r) {
|
|
43
|
+
var n = r || {}, i = n.encode || Kt;
|
|
44
|
+
if (typeof i != "function")
|
|
45
45
|
throw new TypeError("option encode is invalid");
|
|
46
|
-
if (!
|
|
46
|
+
if (!J.test(e))
|
|
47
47
|
throw new TypeError("argument name is invalid");
|
|
48
|
-
var
|
|
49
|
-
if (
|
|
48
|
+
var s = i(t);
|
|
49
|
+
if (s && !J.test(s))
|
|
50
50
|
throw new TypeError("argument val is invalid");
|
|
51
|
-
var
|
|
51
|
+
var o = e + "=" + s;
|
|
52
52
|
if (n.maxAge != null) {
|
|
53
|
-
var
|
|
54
|
-
if (isNaN(
|
|
53
|
+
var c = n.maxAge - 0;
|
|
54
|
+
if (isNaN(c) || !isFinite(c))
|
|
55
55
|
throw new TypeError("option maxAge is invalid");
|
|
56
|
-
|
|
56
|
+
o += "; Max-Age=" + Math.floor(c);
|
|
57
57
|
}
|
|
58
58
|
if (n.domain) {
|
|
59
|
-
if (!
|
|
59
|
+
if (!J.test(n.domain))
|
|
60
60
|
throw new TypeError("option domain is invalid");
|
|
61
|
-
|
|
61
|
+
o += "; Domain=" + n.domain;
|
|
62
62
|
}
|
|
63
63
|
if (n.path) {
|
|
64
|
-
if (!
|
|
64
|
+
if (!J.test(n.path))
|
|
65
65
|
throw new TypeError("option path is invalid");
|
|
66
|
-
|
|
66
|
+
o += "; Path=" + n.path;
|
|
67
67
|
}
|
|
68
68
|
if (n.expires) {
|
|
69
69
|
var d = n.expires;
|
|
70
|
-
if (!
|
|
70
|
+
if (!Wt(d) || isNaN(d.valueOf()))
|
|
71
71
|
throw new TypeError("option expires is invalid");
|
|
72
|
-
|
|
72
|
+
o += "; Expires=" + d.toUTCString();
|
|
73
73
|
}
|
|
74
|
-
if (n.httpOnly && (
|
|
75
|
-
var
|
|
76
|
-
switch (
|
|
74
|
+
if (n.httpOnly && (o += "; HttpOnly"), n.secure && (o += "; Secure"), n.partitioned && (o += "; Partitioned"), n.priority) {
|
|
75
|
+
var u = typeof n.priority == "string" ? n.priority.toLowerCase() : n.priority;
|
|
76
|
+
switch (u) {
|
|
77
77
|
case "low":
|
|
78
|
-
|
|
78
|
+
o += "; Priority=Low";
|
|
79
79
|
break;
|
|
80
80
|
case "medium":
|
|
81
|
-
|
|
81
|
+
o += "; Priority=Medium";
|
|
82
82
|
break;
|
|
83
83
|
case "high":
|
|
84
|
-
|
|
84
|
+
o += "; Priority=High";
|
|
85
85
|
break;
|
|
86
86
|
default:
|
|
87
87
|
throw new TypeError("option priority is invalid");
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
if (n.sameSite) {
|
|
91
|
-
var
|
|
92
|
-
switch (
|
|
91
|
+
var a = typeof n.sameSite == "string" ? n.sameSite.toLowerCase() : n.sameSite;
|
|
92
|
+
switch (a) {
|
|
93
93
|
case !0:
|
|
94
|
-
|
|
94
|
+
o += "; SameSite=Strict";
|
|
95
95
|
break;
|
|
96
96
|
case "lax":
|
|
97
|
-
|
|
97
|
+
o += "; SameSite=Lax";
|
|
98
98
|
break;
|
|
99
99
|
case "strict":
|
|
100
|
-
|
|
100
|
+
o += "; SameSite=Strict";
|
|
101
101
|
break;
|
|
102
102
|
case "none":
|
|
103
|
-
|
|
103
|
+
o += "; SameSite=None";
|
|
104
104
|
break;
|
|
105
105
|
default:
|
|
106
106
|
throw new TypeError("option sameSite is invalid");
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
return
|
|
109
|
+
return o;
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function Gt(e) {
|
|
112
112
|
return e.indexOf("%") !== -1 ? decodeURIComponent(e) : e;
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function Kt(e) {
|
|
115
115
|
return encodeURIComponent(e);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
118
|
-
return
|
|
117
|
+
function Wt(e) {
|
|
118
|
+
return Ht.call(e) === "[object Date]" || e instanceof Date;
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Jt(e, t) {
|
|
121
121
|
try {
|
|
122
122
|
return t(e);
|
|
123
123
|
} catch {
|
|
124
124
|
return e;
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function Zt() {
|
|
128
128
|
const e = typeof global > "u" ? void 0 : global.TEST_HAS_DOCUMENT_COOKIE;
|
|
129
129
|
return typeof e == "boolean" ? e : typeof document == "object" && typeof document.cookie == "string";
|
|
130
130
|
}
|
|
131
|
-
function
|
|
132
|
-
return typeof e == "string" ?
|
|
131
|
+
function Xt(e) {
|
|
132
|
+
return typeof e == "string" ? Qe(e) : typeof e == "object" && e !== null ? e : {};
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
const
|
|
134
|
+
function pe(e, t = {}) {
|
|
135
|
+
const r = Yt(e);
|
|
136
136
|
if (!t.doNotParse)
|
|
137
137
|
try {
|
|
138
|
-
return JSON.parse(
|
|
138
|
+
return JSON.parse(r);
|
|
139
139
|
} catch {
|
|
140
140
|
}
|
|
141
141
|
return e;
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function Yt(e) {
|
|
144
144
|
return e && e[0] === "j" && e[1] === ":" ? e.substr(2) : e;
|
|
145
145
|
}
|
|
146
|
-
class
|
|
147
|
-
constructor(t,
|
|
146
|
+
class en {
|
|
147
|
+
constructor(t, r = {}) {
|
|
148
148
|
this.changeListeners = [], this.HAS_DOCUMENT_COOKIE = !1, this.update = () => {
|
|
149
149
|
if (!this.HAS_DOCUMENT_COOKIE)
|
|
150
150
|
return;
|
|
151
|
-
const
|
|
152
|
-
this.cookies =
|
|
151
|
+
const i = this.cookies;
|
|
152
|
+
this.cookies = Qe(document.cookie), this._checkChanges(i);
|
|
153
153
|
};
|
|
154
154
|
const n = typeof document > "u" ? "" : document.cookie;
|
|
155
|
-
this.cookies =
|
|
155
|
+
this.cookies = Xt(t || n), this.defaultSetOptions = r, this.HAS_DOCUMENT_COOKIE = Zt();
|
|
156
156
|
}
|
|
157
157
|
_emitChange(t) {
|
|
158
|
-
for (let
|
|
159
|
-
this.changeListeners[
|
|
158
|
+
for (let r = 0; r < this.changeListeners.length; ++r)
|
|
159
|
+
this.changeListeners[r](t);
|
|
160
160
|
}
|
|
161
161
|
_checkChanges(t) {
|
|
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: pe(this.cookies[n])
|
|
166
166
|
});
|
|
167
167
|
});
|
|
168
168
|
}
|
|
@@ -172,127 +172,127 @@ class nt {
|
|
|
172
172
|
_stopPolling() {
|
|
173
173
|
this.pollingInterval && clearInterval(this.pollingInterval);
|
|
174
174
|
}
|
|
175
|
-
get(t,
|
|
176
|
-
return
|
|
175
|
+
get(t, r = {}) {
|
|
176
|
+
return r.doNotUpdate || this.update(), pe(this.cookies[t], r);
|
|
177
177
|
}
|
|
178
178
|
getAll(t = {}) {
|
|
179
179
|
t.doNotUpdate || this.update();
|
|
180
|
-
const
|
|
180
|
+
const r = {};
|
|
181
181
|
for (let n in this.cookies)
|
|
182
|
-
|
|
183
|
-
return
|
|
182
|
+
r[n] = pe(this.cookies[n], t);
|
|
183
|
+
return r;
|
|
184
184
|
}
|
|
185
|
-
set(t,
|
|
185
|
+
set(t, r, n) {
|
|
186
186
|
n ? n = Object.assign(Object.assign({}, this.defaultSetOptions), n) : n = this.defaultSetOptions;
|
|
187
|
-
const
|
|
188
|
-
this.cookies = Object.assign(Object.assign({}, this.cookies), { [t]:
|
|
187
|
+
const i = typeof r == "string" ? r : JSON.stringify(r);
|
|
188
|
+
this.cookies = Object.assign(Object.assign({}, this.cookies), { [t]: i }), this.HAS_DOCUMENT_COOKIE && (document.cookie = ke(t, i, n)), this._emitChange({ name: t, value: r, options: n });
|
|
189
189
|
}
|
|
190
|
-
remove(t,
|
|
191
|
-
const n =
|
|
192
|
-
this.cookies = Object.assign({}, this.cookies), delete this.cookies[t], this.HAS_DOCUMENT_COOKIE && (document.cookie =
|
|
190
|
+
remove(t, r) {
|
|
191
|
+
const n = r = Object.assign(Object.assign(Object.assign({}, this.defaultSetOptions), r), { expires: new Date(1970, 1, 1, 0, 0, 1), maxAge: 0 });
|
|
192
|
+
this.cookies = Object.assign({}, this.cookies), delete this.cookies[t], this.HAS_DOCUMENT_COOKIE && (document.cookie = ke(t, "", n)), this._emitChange({ name: t, value: void 0, options: r });
|
|
193
193
|
}
|
|
194
194
|
addChangeListener(t) {
|
|
195
195
|
this.changeListeners.push(t), this.HAS_DOCUMENT_COOKIE && this.changeListeners.length === 1 && (typeof window == "object" && "cookieStore" in window ? window.cookieStore.addEventListener("change", this.update) : this._startPolling());
|
|
196
196
|
}
|
|
197
197
|
removeChangeListener(t) {
|
|
198
|
-
const
|
|
199
|
-
|
|
198
|
+
const r = this.changeListeners.indexOf(t);
|
|
199
|
+
r >= 0 && this.changeListeners.splice(r, 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
|
|
203
|
-
const
|
|
204
|
-
let
|
|
205
|
-
const
|
|
202
|
+
function tn(e, { doNotParse: t = !1, autoUpdateDependencies: r = !1 } = {}, n = new en()) {
|
|
203
|
+
const i = r ? [...e || []] : e;
|
|
204
|
+
let s = n.getAll({ doNotParse: !0 });
|
|
205
|
+
const o = Vt(0), c = () => {
|
|
206
206
|
const d = n.getAll({ doNotParse: !0 });
|
|
207
|
-
|
|
208
|
-
|
|
207
|
+
nn(
|
|
208
|
+
i || null,
|
|
209
209
|
d,
|
|
210
|
-
|
|
211
|
-
) &&
|
|
210
|
+
s
|
|
211
|
+
) && o.value++, s = d;
|
|
212
212
|
};
|
|
213
|
-
return n.addChangeListener(
|
|
214
|
-
n.removeChangeListener(
|
|
213
|
+
return n.addChangeListener(c), Ut(() => {
|
|
214
|
+
n.removeChangeListener(c);
|
|
215
215
|
}), {
|
|
216
216
|
/**
|
|
217
217
|
* Reactive get cookie by name. If **autoUpdateDependencies = true** then it will update watching dependencies
|
|
218
218
|
*/
|
|
219
|
-
get: (...d) => (
|
|
219
|
+
get: (...d) => (r && i && !i.includes(d[0]) && i.push(d[0]), o.value, n.get(d[0], { doNotParse: t, ...d[1] })),
|
|
220
220
|
/**
|
|
221
221
|
* Reactive get all cookies
|
|
222
222
|
*/
|
|
223
|
-
getAll: (...d) => (
|
|
223
|
+
getAll: (...d) => (o.value, n.getAll({ doNotParse: t, ...d[0] })),
|
|
224
224
|
set: (...d) => n.set(...d),
|
|
225
225
|
remove: (...d) => n.remove(...d),
|
|
226
226
|
addChangeListener: (...d) => n.addChangeListener(...d),
|
|
227
227
|
removeChangeListener: (...d) => n.removeChangeListener(...d)
|
|
228
228
|
};
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function nn(e, t, r) {
|
|
231
231
|
if (!e)
|
|
232
232
|
return !0;
|
|
233
233
|
for (const n of e)
|
|
234
|
-
if (t[n] !==
|
|
234
|
+
if (t[n] !== r[n])
|
|
235
235
|
return !0;
|
|
236
236
|
return !1;
|
|
237
237
|
}
|
|
238
|
-
const
|
|
238
|
+
const Os = () => {
|
|
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);
|
|
242
242
|
}(navigator.userAgent || navigator.vendor || window.opera), e;
|
|
243
|
-
},
|
|
244
|
-
const
|
|
245
|
-
return
|
|
246
|
-
},
|
|
247
|
-
Object.entries(e).reduce((t, [
|
|
248
|
-
),
|
|
249
|
-
const
|
|
250
|
-
|
|
251
|
-
}), e),
|
|
252
|
-
|
|
243
|
+
}, rn = (e, t) => ye(e, sn(t)), ye = (e, t) => {
|
|
244
|
+
const r = {};
|
|
245
|
+
return $e(t).forEach((n) => r[n] = ye(e == null ? void 0 : e[n], t[n])), "$item" in t && (e == null || e.forEach((n, i) => r[i] = ye(n, t.$item))), r.$valid = (!t.$asserts || t.$asserts.every((n) => n(e))) && $e(r).every((n) => r[n].$valid), r;
|
|
246
|
+
}, sn = (e) => un(
|
|
247
|
+
Object.entries(e).reduce((t, [r, n]) => (t[`${r.replaceAll(".[]", ".$item")}${r.length ? "." : ""}$asserts`] = Array.isArray(n) ? n : [n], t), {})
|
|
248
|
+
), Cs = (e, t, r) => (e = JSON.parse(JSON.stringify(e)), Ge(e).forEach((i) => {
|
|
249
|
+
const s = i.replace(/\.[0-9]+/g, ".[]");
|
|
250
|
+
D(t, `${i}.$valid`) === !1 && r[s] !== void 0 && Q(e, i, r[s]);
|
|
251
|
+
}), e), $e = (e) => Object.keys(e).filter((t) => !t.startsWith("$")), _s = (e) => typeof e == "boolean", ks = (e) => typeof e == "number", $s = (e) => typeof e == "string", oe = (e) => Array.isArray(e), ae = (e) => typeof e == "object" && !oe(e) && e !== null, Ts = (e) => e instanceof Date, Ns = (e) => typeof e == "function", on = (e) => e === null, an = (e) => e === void 0, cn = (e) => on(e) || an(e), Ms = (e) => !cn(e), Ls = (e) => !!e, Ds = (e) => !e, js = (e, t) => oe(e) && e.every((r) => t(r)), xs = (e, t) => ae(e) && Object.values(e).every((r) => t(r)), Vs = (e, t) => rn(e, t).$valid, zs = (e, t, r = !1) => {
|
|
252
|
+
oe(t) || (t = [t]);
|
|
253
253
|
let n = e;
|
|
254
254
|
for (; n; ) {
|
|
255
|
-
if (n.classList && t[
|
|
255
|
+
if (n.classList && t[r ? "every" : "some"]((i) => n.classList.contains(i)))
|
|
256
256
|
return !0;
|
|
257
257
|
n = n.parentElement;
|
|
258
258
|
}
|
|
259
259
|
return !1;
|
|
260
|
-
},
|
|
260
|
+
}, Bs = () => typeof window < "u" && typeof window.document < "u", z = () => typeof process < "u" && process.versions != null && process.versions.node != null, D = (e, t, r) => {
|
|
261
261
|
const n = typeof t == "string" ? t.split(".") : [t];
|
|
262
|
-
let
|
|
263
|
-
const
|
|
264
|
-
for (const [
|
|
265
|
-
if (!
|
|
266
|
-
return
|
|
267
|
-
if (
|
|
268
|
-
return
|
|
269
|
-
if (!
|
|
270
|
-
return
|
|
271
|
-
|
|
272
|
-
}
|
|
273
|
-
return
|
|
274
|
-
},
|
|
275
|
-
const n = typeof t == "string" ? t.split(".") : [t],
|
|
276
|
-
let
|
|
277
|
-
return n.forEach((
|
|
262
|
+
let i = e;
|
|
263
|
+
const s = (c) => c != null, o = (c) => typeof c == "object";
|
|
264
|
+
for (const [c, d] of n.entries()) {
|
|
265
|
+
if (!s(i))
|
|
266
|
+
return r;
|
|
267
|
+
if (c === n.length - 1)
|
|
268
|
+
return s(i[d]) ? i[d] : r;
|
|
269
|
+
if (!o(i[d]))
|
|
270
|
+
return r;
|
|
271
|
+
i = i[d];
|
|
272
|
+
}
|
|
273
|
+
return r;
|
|
274
|
+
}, Q = (e, t, r) => {
|
|
275
|
+
const n = typeof t == "string" ? t.split(".") : [t], i = (c) => typeof c == "number" || /^\d$/g.test(c), s = (c) => parseInt(c, 10);
|
|
276
|
+
let o = e;
|
|
277
|
+
return n.forEach((c, d) => {
|
|
278
278
|
if (d === n.length - 1)
|
|
279
|
-
|
|
279
|
+
o[c] = r;
|
|
280
280
|
else {
|
|
281
|
-
const
|
|
282
|
-
|
|
281
|
+
const u = i(n[d + 1]) ? [] : {};
|
|
282
|
+
c = i(c) ? s(c) : c, o[c] = o[c] ?? u, o = o[c];
|
|
283
283
|
}
|
|
284
284
|
}), e;
|
|
285
|
-
},
|
|
286
|
-
const
|
|
287
|
-
for (const [n,
|
|
288
|
-
|
|
285
|
+
}, un = (e, t = {}) => {
|
|
286
|
+
const r = ae(e) ? Object.entries(e) : e;
|
|
287
|
+
for (const [n, i] of r)
|
|
288
|
+
Q(t, n, i);
|
|
289
289
|
return t;
|
|
290
|
-
},
|
|
291
|
-
const
|
|
292
|
-
for (const [n,
|
|
293
|
-
|
|
290
|
+
}, Fs = (e, t = {}) => {
|
|
291
|
+
const r = ae(e) ? Object.entries(e) : e;
|
|
292
|
+
for (const [n, i] of r)
|
|
293
|
+
Q(t, n, i(t, n));
|
|
294
294
|
return t;
|
|
295
|
-
},
|
|
295
|
+
}, ln = (e) => {
|
|
296
296
|
if (typeof e == "object") {
|
|
297
297
|
if (Array.isArray(e))
|
|
298
298
|
return [...e];
|
|
@@ -300,221 +300,704 @@ const Qi = () => {
|
|
|
300
300
|
return { ...e };
|
|
301
301
|
}
|
|
302
302
|
return e;
|
|
303
|
-
},
|
|
304
|
-
const
|
|
305
|
-
for (const [n,
|
|
306
|
-
n in
|
|
307
|
-
return
|
|
308
|
-
},
|
|
303
|
+
}, qe = (e, t) => {
|
|
304
|
+
const r = { ...e };
|
|
305
|
+
for (const [n, i] of Object.entries(t))
|
|
306
|
+
n in r && typeof r[n] == "object" && typeof i == "object" ? r[n] = qe(r[n], i) : r[n] = ln(i);
|
|
307
|
+
return r;
|
|
308
|
+
}, Ge = (e, t = () => !0, r = "") => {
|
|
309
309
|
const n = [];
|
|
310
|
-
for (const
|
|
311
|
-
const
|
|
312
|
-
t(
|
|
310
|
+
for (const i in e) {
|
|
311
|
+
const s = e[i], o = r ? `${r}.${i}` : i;
|
|
312
|
+
t(i, o, s) && (n.push(o), (ae(s) || oe(s)) && n.push(...Ge(s, t, o)));
|
|
313
313
|
}
|
|
314
314
|
return n;
|
|
315
|
-
},
|
|
316
|
-
const e =
|
|
315
|
+
}, Us = (e) => e.startsWith("http:") ? e.replace("http:", "https:") : e, Hs = (e, t = !1) => e.startsWith("http:") || e.startsWith("https:") ? e : t ? `https://${e}` : `http://${e}`, Ke = () => typeof window < "u" && (window != null && window.location) ? new URL(window.location).hostname : void 0, Te = () => {
|
|
316
|
+
const e = Ke();
|
|
317
317
|
return !e || e === "localhost" ? e : `.${e}`;
|
|
318
|
-
},
|
|
318
|
+
}, dn = () => ({ path: "/" }), fn = (e) => ({
|
|
319
319
|
path: "/",
|
|
320
320
|
domain: e,
|
|
321
321
|
sameSite: "none",
|
|
322
322
|
secure: !0
|
|
323
|
-
}),
|
|
324
|
-
if (!(
|
|
325
|
-
return e.startsWith("localhost") ?
|
|
323
|
+
}), me = (e) => {
|
|
324
|
+
if (!(z() || !e))
|
|
325
|
+
return e.startsWith("localhost") ? dn() : fn(e);
|
|
326
326
|
};
|
|
327
|
-
function
|
|
328
|
-
const e =
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
), n = (
|
|
333
|
-
e.remove(
|
|
327
|
+
function pn() {
|
|
328
|
+
const e = tn(), t = (s) => e.get(s), r = (s, o) => e.set(
|
|
329
|
+
s,
|
|
330
|
+
o,
|
|
331
|
+
me(Te())
|
|
332
|
+
), n = (s) => {
|
|
333
|
+
e.remove(s), e.remove(s, me(Ke())), e.remove(s, me(Te()));
|
|
334
334
|
};
|
|
335
335
|
return {
|
|
336
336
|
getItem: t,
|
|
337
|
-
setItem:
|
|
337
|
+
setItem: r,
|
|
338
338
|
removeItem: n,
|
|
339
|
-
clear: () => Object.keys(e.getAll()).forEach((
|
|
339
|
+
clear: () => Object.keys(e.getAll()).forEach((s) => n(s))
|
|
340
340
|
};
|
|
341
341
|
}
|
|
342
|
-
let
|
|
343
|
-
function
|
|
342
|
+
let Z = null;
|
|
343
|
+
function We(e = {
|
|
344
344
|
auth: "token",
|
|
345
345
|
refresh: "refresh_token",
|
|
346
346
|
expiration: "token_expiration_date"
|
|
347
|
-
}, t =
|
|
348
|
-
if (
|
|
349
|
-
return
|
|
350
|
-
function
|
|
347
|
+
}, t = pn()) {
|
|
348
|
+
if (Z)
|
|
349
|
+
return Z;
|
|
350
|
+
function r() {
|
|
351
351
|
return t.getItem(e.auth);
|
|
352
352
|
}
|
|
353
353
|
function n() {
|
|
354
354
|
return t.getItem(e.refresh);
|
|
355
355
|
}
|
|
356
|
-
function
|
|
356
|
+
function i() {
|
|
357
357
|
return t.getItem(e.expiration);
|
|
358
358
|
}
|
|
359
|
-
function
|
|
360
|
-
const w =
|
|
359
|
+
function s(m, h) {
|
|
360
|
+
const w = a(m);
|
|
361
361
|
if (!w.exp)
|
|
362
362
|
throw new Error("Invalid JWT token.");
|
|
363
|
-
t.setItem(e.auth,
|
|
363
|
+
t.setItem(e.auth, m), t.setItem(e.refresh, h), t.setItem(e.expiration, ((w.exp - 60) * 1e3).toString());
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function o() {
|
|
366
366
|
t.removeItem(e.auth), t.removeItem(e.refresh), t.removeItem(e.expiration);
|
|
367
367
|
}
|
|
368
|
-
function
|
|
369
|
-
return d() && !
|
|
368
|
+
function c() {
|
|
369
|
+
return d() && !u();
|
|
370
370
|
}
|
|
371
371
|
function d() {
|
|
372
|
-
return !!
|
|
372
|
+
return !!r();
|
|
373
373
|
}
|
|
374
|
-
function
|
|
375
|
-
const
|
|
376
|
-
return
|
|
374
|
+
function u() {
|
|
375
|
+
const m = i();
|
|
376
|
+
return m ? new Date(m) < /* @__PURE__ */ new Date() : !0;
|
|
377
377
|
}
|
|
378
|
-
function
|
|
379
|
-
return JSON.parse(atob(
|
|
378
|
+
function a(m) {
|
|
379
|
+
return JSON.parse(atob(m.split(".")[1]));
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function p() {
|
|
382
382
|
return t;
|
|
383
383
|
}
|
|
384
|
-
return
|
|
384
|
+
return Z = {
|
|
385
385
|
keys: e,
|
|
386
|
-
getAuthToken:
|
|
386
|
+
getAuthToken: r,
|
|
387
387
|
getRefreshToken: n,
|
|
388
|
-
getExpiration:
|
|
389
|
-
authenticate:
|
|
390
|
-
clear:
|
|
391
|
-
isAuthenticated:
|
|
388
|
+
getExpiration: i,
|
|
389
|
+
authenticate: s,
|
|
390
|
+
clear: o,
|
|
391
|
+
isAuthenticated: c,
|
|
392
392
|
hasAuth: d,
|
|
393
|
-
isExpired:
|
|
394
|
-
getStorage:
|
|
395
|
-
},
|
|
393
|
+
isExpired: u,
|
|
394
|
+
getStorage: p
|
|
395
|
+
}, Z;
|
|
396
|
+
}
|
|
397
|
+
function mn(e, t) {
|
|
398
|
+
const r = /* @__PURE__ */ Object.create(null), n = e.split(",");
|
|
399
|
+
for (let i = 0; i < n.length; i++)
|
|
400
|
+
r[n[i]] = !0;
|
|
401
|
+
return t ? (i) => !!r[i.toLowerCase()] : (i) => !!r[i];
|
|
402
|
+
}
|
|
403
|
+
process.env.NODE_ENV !== "production" && Object.freeze({});
|
|
404
|
+
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
405
|
+
const Je = Object.assign, hn = Object.prototype.hasOwnProperty, ce = (e, t) => hn.call(e, t), N = Array.isArray, U = (e) => Ze(e) === "[object Map]", yn = (e) => typeof e == "string", Ie = (e) => typeof e == "symbol", ue = (e) => e !== null && typeof e == "object", gn = Object.prototype.toString, Ze = (e) => gn.call(e), Xe = (e) => Ze(e).slice(8, -1), Re = (e) => yn(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, wn = (e) => {
|
|
406
|
+
const t = /* @__PURE__ */ Object.create(null);
|
|
407
|
+
return (r) => t[r] || (t[r] = e(r));
|
|
408
|
+
}, bn = wn(
|
|
409
|
+
(e) => e.charAt(0).toUpperCase() + e.slice(1)
|
|
410
|
+
), Se = (e, t) => !Object.is(e, t);
|
|
411
|
+
function Ne(e, ...t) {
|
|
412
|
+
console.warn(`[Vue warn] ${e}`, ...t);
|
|
413
|
+
}
|
|
414
|
+
const q = (e) => {
|
|
415
|
+
const t = new Set(e);
|
|
416
|
+
return t.w = 0, t.n = 0, t;
|
|
417
|
+
}, vn = (e) => (e.w & Oe) > 0, En = (e) => (e.n & Oe) > 0, ge = /* @__PURE__ */ new WeakMap();
|
|
418
|
+
let Oe = 1, k;
|
|
419
|
+
const L = Symbol(process.env.NODE_ENV !== "production" ? "iterate" : ""), we = Symbol(process.env.NODE_ENV !== "production" ? "Map key iterate" : "");
|
|
420
|
+
let G = !0;
|
|
421
|
+
const Ye = [];
|
|
422
|
+
function An() {
|
|
423
|
+
Ye.push(G), G = !1;
|
|
424
|
+
}
|
|
425
|
+
function Pn() {
|
|
426
|
+
const e = Ye.pop();
|
|
427
|
+
G = e === void 0 ? !0 : e;
|
|
428
|
+
}
|
|
429
|
+
function S(e, t, r) {
|
|
430
|
+
if (G && k) {
|
|
431
|
+
let n = ge.get(e);
|
|
432
|
+
n || ge.set(e, n = /* @__PURE__ */ new Map());
|
|
433
|
+
let i = n.get(r);
|
|
434
|
+
i || n.set(r, i = q());
|
|
435
|
+
const s = process.env.NODE_ENV !== "production" ? { effect: k, target: e, type: t, key: r } : void 0;
|
|
436
|
+
be(i, s);
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
function be(e, t) {
|
|
440
|
+
let r = !1;
|
|
441
|
+
En(e) || (e.n |= Oe, r = !vn(e)), r && (e.add(k), k.deps.push(e), process.env.NODE_ENV !== "production" && k.onTrack && k.onTrack(
|
|
442
|
+
Je(
|
|
443
|
+
{
|
|
444
|
+
effect: k
|
|
445
|
+
},
|
|
446
|
+
t
|
|
447
|
+
)
|
|
448
|
+
));
|
|
449
|
+
}
|
|
450
|
+
function M(e, t, r, n, i, s) {
|
|
451
|
+
const o = ge.get(e);
|
|
452
|
+
if (!o)
|
|
453
|
+
return;
|
|
454
|
+
let c = [];
|
|
455
|
+
if (t === "clear")
|
|
456
|
+
c = [...o.values()];
|
|
457
|
+
else if (r === "length" && N(e)) {
|
|
458
|
+
const u = Number(n);
|
|
459
|
+
o.forEach((a, p) => {
|
|
460
|
+
(p === "length" || p >= u) && c.push(a);
|
|
461
|
+
});
|
|
462
|
+
} else
|
|
463
|
+
switch (r !== void 0 && c.push(o.get(r)), t) {
|
|
464
|
+
case "add":
|
|
465
|
+
N(e) ? Re(r) && c.push(o.get("length")) : (c.push(o.get(L)), U(e) && c.push(o.get(we)));
|
|
466
|
+
break;
|
|
467
|
+
case "delete":
|
|
468
|
+
N(e) || (c.push(o.get(L)), U(e) && c.push(o.get(we)));
|
|
469
|
+
break;
|
|
470
|
+
case "set":
|
|
471
|
+
U(e) && c.push(o.get(L));
|
|
472
|
+
break;
|
|
473
|
+
}
|
|
474
|
+
const d = process.env.NODE_ENV !== "production" ? { target: e, type: t, key: r, newValue: n, oldValue: i, oldTarget: s } : void 0;
|
|
475
|
+
if (c.length === 1)
|
|
476
|
+
c[0] && (process.env.NODE_ENV !== "production" ? x(c[0], d) : x(c[0]));
|
|
477
|
+
else {
|
|
478
|
+
const u = [];
|
|
479
|
+
for (const a of c)
|
|
480
|
+
a && u.push(...a);
|
|
481
|
+
process.env.NODE_ENV !== "production" ? x(q(u), d) : x(q(u));
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
function x(e, t) {
|
|
485
|
+
const r = N(e) ? e : [...e];
|
|
486
|
+
for (const n of r)
|
|
487
|
+
n.computed && Me(n, t);
|
|
488
|
+
for (const n of r)
|
|
489
|
+
n.computed || Me(n, t);
|
|
490
|
+
}
|
|
491
|
+
function Me(e, t) {
|
|
492
|
+
(e !== k || e.allowRecurse) && (process.env.NODE_ENV !== "production" && e.onTrigger && e.onTrigger(Je({ effect: e }, t)), e.scheduler ? e.scheduler() : e.run());
|
|
493
|
+
}
|
|
494
|
+
const In = /* @__PURE__ */ mn("__proto__,__v_isRef,__isVue"), et = new Set(
|
|
495
|
+
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Ie)
|
|
496
|
+
), Rn = /* @__PURE__ */ tt(), Sn = /* @__PURE__ */ tt(!0), Le = /* @__PURE__ */ On();
|
|
497
|
+
function On() {
|
|
498
|
+
const e = {};
|
|
499
|
+
return ["includes", "indexOf", "lastIndexOf"].forEach((t) => {
|
|
500
|
+
e[t] = function(...r) {
|
|
501
|
+
const n = b(this);
|
|
502
|
+
for (let s = 0, o = this.length; s < o; s++)
|
|
503
|
+
S(n, "get", s + "");
|
|
504
|
+
const i = n[t](...r);
|
|
505
|
+
return i === -1 || i === !1 ? n[t](...r.map(b)) : i;
|
|
506
|
+
};
|
|
507
|
+
}), ["push", "pop", "shift", "unshift", "splice"].forEach((t) => {
|
|
508
|
+
e[t] = function(...r) {
|
|
509
|
+
An();
|
|
510
|
+
const n = b(this)[t].apply(this, r);
|
|
511
|
+
return Pn(), n;
|
|
512
|
+
};
|
|
513
|
+
}), e;
|
|
396
514
|
}
|
|
397
|
-
function
|
|
515
|
+
function Cn(e) {
|
|
516
|
+
const t = b(this);
|
|
517
|
+
return S(t, "has", e), t.hasOwnProperty(e);
|
|
518
|
+
}
|
|
519
|
+
function tt(e = !1, t = !1) {
|
|
520
|
+
return function(n, i, s) {
|
|
521
|
+
if (i === "__v_isReactive")
|
|
522
|
+
return !e;
|
|
523
|
+
if (i === "__v_isReadonly")
|
|
524
|
+
return e;
|
|
525
|
+
if (i === "__v_isShallow")
|
|
526
|
+
return t;
|
|
527
|
+
if (i === "__v_raw" && s === (e ? t ? Hn : st : t ? Un : it).get(n))
|
|
528
|
+
return n;
|
|
529
|
+
const o = N(n);
|
|
530
|
+
if (!e) {
|
|
531
|
+
if (o && ce(Le, i))
|
|
532
|
+
return Reflect.get(Le, i, s);
|
|
533
|
+
if (i === "hasOwnProperty")
|
|
534
|
+
return Cn;
|
|
535
|
+
}
|
|
536
|
+
const c = Reflect.get(n, i, s);
|
|
537
|
+
return (Ie(i) ? et.has(i) : In(i)) || (e || S(n, "get", i), t) ? c : V(c) ? o && Re(i) ? c : c.value : ue(c) ? e ? at(c) : ot(c) : c;
|
|
538
|
+
};
|
|
539
|
+
}
|
|
540
|
+
const _n = /* @__PURE__ */ kn();
|
|
541
|
+
function kn(e = !1) {
|
|
542
|
+
return function(r, n, i, s) {
|
|
543
|
+
let o = r[n];
|
|
544
|
+
if (se(o) && V(o) && !V(i))
|
|
545
|
+
return !1;
|
|
546
|
+
if (!e && (!ut(i) && !se(i) && (o = b(o), i = b(i)), !N(r) && V(o) && !V(i)))
|
|
547
|
+
return o.value = i, !0;
|
|
548
|
+
const c = N(r) && Re(n) ? Number(n) < r.length : ce(r, n), d = Reflect.set(r, n, i, s);
|
|
549
|
+
return r === b(s) && (c ? Se(i, o) && M(r, "set", n, i, o) : M(r, "add", n, i)), d;
|
|
550
|
+
};
|
|
551
|
+
}
|
|
552
|
+
function $n(e, t) {
|
|
553
|
+
const r = ce(e, t), n = e[t], i = Reflect.deleteProperty(e, t);
|
|
554
|
+
return i && r && M(e, "delete", t, void 0, n), i;
|
|
555
|
+
}
|
|
556
|
+
function Tn(e, t) {
|
|
557
|
+
const r = Reflect.has(e, t);
|
|
558
|
+
return (!Ie(t) || !et.has(t)) && S(e, "has", t), r;
|
|
559
|
+
}
|
|
560
|
+
function Nn(e) {
|
|
561
|
+
return S(e, "iterate", N(e) ? "length" : L), Reflect.ownKeys(e);
|
|
562
|
+
}
|
|
563
|
+
const Mn = {
|
|
564
|
+
get: Rn,
|
|
565
|
+
set: _n,
|
|
566
|
+
deleteProperty: $n,
|
|
567
|
+
has: Tn,
|
|
568
|
+
ownKeys: Nn
|
|
569
|
+
}, Ln = {
|
|
570
|
+
get: Sn,
|
|
571
|
+
set(e, t) {
|
|
572
|
+
return process.env.NODE_ENV !== "production" && Ne(
|
|
573
|
+
`Set operation on key "${String(t)}" failed: target is readonly.`,
|
|
574
|
+
e
|
|
575
|
+
), !0;
|
|
576
|
+
},
|
|
577
|
+
deleteProperty(e, t) {
|
|
578
|
+
return process.env.NODE_ENV !== "production" && Ne(
|
|
579
|
+
`Delete operation on key "${String(t)}" failed: target is readonly.`,
|
|
580
|
+
e
|
|
581
|
+
), !0;
|
|
582
|
+
}
|
|
583
|
+
}, Ce = (e) => e, le = (e) => Reflect.getPrototypeOf(e);
|
|
584
|
+
function X(e, t, r = !1, n = !1) {
|
|
585
|
+
e = e.__v_raw;
|
|
586
|
+
const i = b(e), s = b(t);
|
|
587
|
+
r || (t !== s && S(i, "get", t), S(i, "get", s));
|
|
588
|
+
const { has: o } = le(i), c = n ? Ce : r ? _e : K;
|
|
589
|
+
if (o.call(i, t))
|
|
590
|
+
return c(e.get(t));
|
|
591
|
+
if (o.call(i, s))
|
|
592
|
+
return c(e.get(s));
|
|
593
|
+
e !== i && e.get(t);
|
|
594
|
+
}
|
|
595
|
+
function Y(e, t = !1) {
|
|
596
|
+
const r = this.__v_raw, n = b(r), i = b(e);
|
|
597
|
+
return t || (e !== i && S(n, "has", e), S(n, "has", i)), e === i ? r.has(e) : r.has(e) || r.has(i);
|
|
598
|
+
}
|
|
599
|
+
function ee(e, t = !1) {
|
|
600
|
+
return e = e.__v_raw, !t && S(b(e), "iterate", L), Reflect.get(e, "size", e);
|
|
601
|
+
}
|
|
602
|
+
function De(e) {
|
|
603
|
+
e = b(e);
|
|
604
|
+
const t = b(this);
|
|
605
|
+
return le(t).has.call(t, e) || (t.add(e), M(t, "add", e, e)), this;
|
|
606
|
+
}
|
|
607
|
+
function je(e, t) {
|
|
608
|
+
t = b(t);
|
|
609
|
+
const r = b(this), { has: n, get: i } = le(r);
|
|
610
|
+
let s = n.call(r, e);
|
|
611
|
+
s ? process.env.NODE_ENV !== "production" && rt(r, n, e) : (e = b(e), s = n.call(r, e));
|
|
612
|
+
const o = i.call(r, e);
|
|
613
|
+
return r.set(e, t), s ? Se(t, o) && M(r, "set", e, t, o) : M(r, "add", e, t), this;
|
|
614
|
+
}
|
|
615
|
+
function xe(e) {
|
|
616
|
+
const t = b(this), { has: r, get: n } = le(t);
|
|
617
|
+
let i = r.call(t, e);
|
|
618
|
+
i ? process.env.NODE_ENV !== "production" && rt(t, r, e) : (e = b(e), i = r.call(t, e));
|
|
619
|
+
const s = n ? n.call(t, e) : void 0, o = t.delete(e);
|
|
620
|
+
return i && M(t, "delete", e, void 0, s), o;
|
|
621
|
+
}
|
|
622
|
+
function Ve() {
|
|
623
|
+
const e = b(this), t = e.size !== 0, r = process.env.NODE_ENV !== "production" ? U(e) ? new Map(e) : new Set(e) : void 0, n = e.clear();
|
|
624
|
+
return t && M(e, "clear", void 0, void 0, r), n;
|
|
625
|
+
}
|
|
626
|
+
function te(e, t) {
|
|
627
|
+
return function(n, i) {
|
|
628
|
+
const s = this, o = s.__v_raw, c = b(o), d = t ? Ce : e ? _e : K;
|
|
629
|
+
return !e && S(c, "iterate", L), o.forEach((u, a) => n.call(i, d(u), d(a), s));
|
|
630
|
+
};
|
|
631
|
+
}
|
|
632
|
+
function ne(e, t, r) {
|
|
633
|
+
return function(...n) {
|
|
634
|
+
const i = this.__v_raw, s = b(i), o = U(s), c = e === "entries" || e === Symbol.iterator && o, d = e === "keys" && o, u = i[e](...n), a = r ? Ce : t ? _e : K;
|
|
635
|
+
return !t && S(
|
|
636
|
+
s,
|
|
637
|
+
"iterate",
|
|
638
|
+
d ? we : L
|
|
639
|
+
), {
|
|
640
|
+
// iterator protocol
|
|
641
|
+
next() {
|
|
642
|
+
const { value: p, done: m } = u.next();
|
|
643
|
+
return m ? { value: p, done: m } : {
|
|
644
|
+
value: c ? [a(p[0]), a(p[1])] : a(p),
|
|
645
|
+
done: m
|
|
646
|
+
};
|
|
647
|
+
},
|
|
648
|
+
// iterable protocol
|
|
649
|
+
[Symbol.iterator]() {
|
|
650
|
+
return this;
|
|
651
|
+
}
|
|
652
|
+
};
|
|
653
|
+
};
|
|
654
|
+
}
|
|
655
|
+
function T(e) {
|
|
656
|
+
return function(...t) {
|
|
657
|
+
if (process.env.NODE_ENV !== "production") {
|
|
658
|
+
const r = t[0] ? `on key "${t[0]}" ` : "";
|
|
659
|
+
console.warn(
|
|
660
|
+
`${bn(e)} operation ${r}failed: target is readonly.`,
|
|
661
|
+
b(this)
|
|
662
|
+
);
|
|
663
|
+
}
|
|
664
|
+
return e === "delete" ? !1 : this;
|
|
665
|
+
};
|
|
666
|
+
}
|
|
667
|
+
function Dn() {
|
|
668
|
+
const e = {
|
|
669
|
+
get(s) {
|
|
670
|
+
return X(this, s);
|
|
671
|
+
},
|
|
672
|
+
get size() {
|
|
673
|
+
return ee(this);
|
|
674
|
+
},
|
|
675
|
+
has: Y,
|
|
676
|
+
add: De,
|
|
677
|
+
set: je,
|
|
678
|
+
delete: xe,
|
|
679
|
+
clear: Ve,
|
|
680
|
+
forEach: te(!1, !1)
|
|
681
|
+
}, t = {
|
|
682
|
+
get(s) {
|
|
683
|
+
return X(this, s, !1, !0);
|
|
684
|
+
},
|
|
685
|
+
get size() {
|
|
686
|
+
return ee(this);
|
|
687
|
+
},
|
|
688
|
+
has: Y,
|
|
689
|
+
add: De,
|
|
690
|
+
set: je,
|
|
691
|
+
delete: xe,
|
|
692
|
+
clear: Ve,
|
|
693
|
+
forEach: te(!1, !0)
|
|
694
|
+
}, r = {
|
|
695
|
+
get(s) {
|
|
696
|
+
return X(this, s, !0);
|
|
697
|
+
},
|
|
698
|
+
get size() {
|
|
699
|
+
return ee(this, !0);
|
|
700
|
+
},
|
|
701
|
+
has(s) {
|
|
702
|
+
return Y.call(this, s, !0);
|
|
703
|
+
},
|
|
704
|
+
add: T("add"),
|
|
705
|
+
set: T("set"),
|
|
706
|
+
delete: T("delete"),
|
|
707
|
+
clear: T("clear"),
|
|
708
|
+
forEach: te(!0, !1)
|
|
709
|
+
}, n = {
|
|
710
|
+
get(s) {
|
|
711
|
+
return X(this, s, !0, !0);
|
|
712
|
+
},
|
|
713
|
+
get size() {
|
|
714
|
+
return ee(this, !0);
|
|
715
|
+
},
|
|
716
|
+
has(s) {
|
|
717
|
+
return Y.call(this, s, !0);
|
|
718
|
+
},
|
|
719
|
+
add: T("add"),
|
|
720
|
+
set: T("set"),
|
|
721
|
+
delete: T("delete"),
|
|
722
|
+
clear: T("clear"),
|
|
723
|
+
forEach: te(!0, !0)
|
|
724
|
+
};
|
|
725
|
+
return ["keys", "values", "entries", Symbol.iterator].forEach((s) => {
|
|
726
|
+
e[s] = ne(
|
|
727
|
+
s,
|
|
728
|
+
!1,
|
|
729
|
+
!1
|
|
730
|
+
), r[s] = ne(
|
|
731
|
+
s,
|
|
732
|
+
!0,
|
|
733
|
+
!1
|
|
734
|
+
), t[s] = ne(
|
|
735
|
+
s,
|
|
736
|
+
!1,
|
|
737
|
+
!0
|
|
738
|
+
), n[s] = ne(
|
|
739
|
+
s,
|
|
740
|
+
!0,
|
|
741
|
+
!0
|
|
742
|
+
);
|
|
743
|
+
}), [
|
|
744
|
+
e,
|
|
745
|
+
r,
|
|
746
|
+
t,
|
|
747
|
+
n
|
|
748
|
+
];
|
|
749
|
+
}
|
|
750
|
+
const [
|
|
751
|
+
jn,
|
|
752
|
+
xn,
|
|
753
|
+
Vn,
|
|
754
|
+
zn
|
|
755
|
+
] = /* @__PURE__ */ Dn();
|
|
756
|
+
function nt(e, t) {
|
|
757
|
+
const r = t ? e ? zn : Vn : e ? xn : jn;
|
|
758
|
+
return (n, i, s) => i === "__v_isReactive" ? !e : i === "__v_isReadonly" ? e : i === "__v_raw" ? n : Reflect.get(
|
|
759
|
+
ce(r, i) && i in n ? r : n,
|
|
760
|
+
i,
|
|
761
|
+
s
|
|
762
|
+
);
|
|
763
|
+
}
|
|
764
|
+
const Bn = {
|
|
765
|
+
get: /* @__PURE__ */ nt(!1, !1)
|
|
766
|
+
}, Fn = {
|
|
767
|
+
get: /* @__PURE__ */ nt(!0, !1)
|
|
768
|
+
};
|
|
769
|
+
function rt(e, t, r) {
|
|
770
|
+
const n = b(r);
|
|
771
|
+
if (n !== r && t.call(e, n)) {
|
|
772
|
+
const i = Xe(e);
|
|
773
|
+
console.warn(
|
|
774
|
+
`Reactive ${i} contains both the raw and reactive versions of the same object${i === "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.`
|
|
775
|
+
);
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
const it = /* @__PURE__ */ new WeakMap(), Un = /* @__PURE__ */ new WeakMap(), st = /* @__PURE__ */ new WeakMap(), Hn = /* @__PURE__ */ new WeakMap();
|
|
779
|
+
function Qn(e) {
|
|
780
|
+
switch (e) {
|
|
781
|
+
case "Object":
|
|
782
|
+
case "Array":
|
|
783
|
+
return 1;
|
|
784
|
+
case "Map":
|
|
785
|
+
case "Set":
|
|
786
|
+
case "WeakMap":
|
|
787
|
+
case "WeakSet":
|
|
788
|
+
return 2;
|
|
789
|
+
default:
|
|
790
|
+
return 0;
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
function qn(e) {
|
|
794
|
+
return e.__v_skip || !Object.isExtensible(e) ? 0 : Qn(Xe(e));
|
|
795
|
+
}
|
|
796
|
+
function ot(e) {
|
|
797
|
+
return se(e) ? e : ct(
|
|
798
|
+
e,
|
|
799
|
+
!1,
|
|
800
|
+
Mn,
|
|
801
|
+
Bn,
|
|
802
|
+
it
|
|
803
|
+
);
|
|
804
|
+
}
|
|
805
|
+
function at(e) {
|
|
806
|
+
return ct(
|
|
807
|
+
e,
|
|
808
|
+
!0,
|
|
809
|
+
Ln,
|
|
810
|
+
Fn,
|
|
811
|
+
st
|
|
812
|
+
);
|
|
813
|
+
}
|
|
814
|
+
function ct(e, t, r, n, i) {
|
|
815
|
+
if (!ue(e))
|
|
816
|
+
return process.env.NODE_ENV !== "production" && console.warn(`value cannot be made reactive: ${String(e)}`), e;
|
|
817
|
+
if (e.__v_raw && !(t && e.__v_isReactive))
|
|
818
|
+
return e;
|
|
819
|
+
const s = i.get(e);
|
|
820
|
+
if (s)
|
|
821
|
+
return s;
|
|
822
|
+
const o = qn(e);
|
|
823
|
+
if (o === 0)
|
|
824
|
+
return e;
|
|
825
|
+
const c = new Proxy(
|
|
826
|
+
e,
|
|
827
|
+
o === 2 ? n : r
|
|
828
|
+
);
|
|
829
|
+
return i.set(e, c), c;
|
|
830
|
+
}
|
|
831
|
+
function se(e) {
|
|
832
|
+
return !!(e && e.__v_isReadonly);
|
|
833
|
+
}
|
|
834
|
+
function ut(e) {
|
|
835
|
+
return !!(e && e.__v_isShallow);
|
|
836
|
+
}
|
|
837
|
+
function b(e) {
|
|
838
|
+
const t = e && e.__v_raw;
|
|
839
|
+
return t ? b(t) : e;
|
|
840
|
+
}
|
|
841
|
+
const K = (e) => ue(e) ? ot(e) : e, _e = (e) => ue(e) ? at(e) : e;
|
|
842
|
+
function Gn(e) {
|
|
843
|
+
G && k && (e = b(e), process.env.NODE_ENV !== "production" ? be(e.dep || (e.dep = q()), {
|
|
844
|
+
target: e,
|
|
845
|
+
type: "get",
|
|
846
|
+
key: "value"
|
|
847
|
+
}) : be(e.dep || (e.dep = q())));
|
|
848
|
+
}
|
|
849
|
+
function Kn(e, t) {
|
|
850
|
+
e = b(e);
|
|
851
|
+
const r = e.dep;
|
|
852
|
+
r && (process.env.NODE_ENV !== "production" ? x(r, {
|
|
853
|
+
target: e,
|
|
854
|
+
type: "set",
|
|
855
|
+
key: "value",
|
|
856
|
+
newValue: t
|
|
857
|
+
}) : x(r));
|
|
858
|
+
}
|
|
859
|
+
function V(e) {
|
|
860
|
+
return !!(e && e.__v_isRef === !0);
|
|
861
|
+
}
|
|
862
|
+
function ze(e) {
|
|
863
|
+
return Wn(e, !1);
|
|
864
|
+
}
|
|
865
|
+
function Wn(e, t) {
|
|
866
|
+
return V(e) ? e : new Jn(e, t);
|
|
867
|
+
}
|
|
868
|
+
class Jn {
|
|
869
|
+
constructor(t, r) {
|
|
870
|
+
this.__v_isShallow = r, this.dep = void 0, this.__v_isRef = !0, this._rawValue = r ? t : b(t), this._value = r ? t : K(t);
|
|
871
|
+
}
|
|
872
|
+
get value() {
|
|
873
|
+
return Gn(this), this._value;
|
|
874
|
+
}
|
|
875
|
+
set value(t) {
|
|
876
|
+
const r = this.__v_isShallow || ut(t) || se(t);
|
|
877
|
+
t = r ? t : b(t), Se(t, this._rawValue) && (this._rawValue = t, this._value = r ? t : K(t), Kn(this, t));
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
function Zn(e) {
|
|
398
881
|
let t = {
|
|
399
882
|
"Content-Type": "application/json"
|
|
400
883
|
};
|
|
401
|
-
e &&
|
|
402
|
-
function
|
|
403
|
-
return t =
|
|
884
|
+
e && r(e);
|
|
885
|
+
function r(w, v = !1) {
|
|
886
|
+
return t = v ? w : { ...t, ...w }, this;
|
|
404
887
|
}
|
|
405
888
|
function n() {
|
|
406
889
|
return t;
|
|
407
890
|
}
|
|
408
|
-
function
|
|
409
|
-
return t[w] =
|
|
891
|
+
function i(w, v) {
|
|
892
|
+
return t[w] = v, this;
|
|
410
893
|
}
|
|
411
|
-
function
|
|
894
|
+
function s(w) {
|
|
412
895
|
return t[w];
|
|
413
896
|
}
|
|
414
|
-
function
|
|
897
|
+
function o(w) {
|
|
415
898
|
return t[w] && delete t[w], this;
|
|
416
899
|
}
|
|
417
|
-
function
|
|
418
|
-
return
|
|
900
|
+
function c(w) {
|
|
901
|
+
return i("Authorization", "Bearer " + w), this;
|
|
419
902
|
}
|
|
420
903
|
function d() {
|
|
421
|
-
return
|
|
904
|
+
return o("Authorization"), this;
|
|
422
905
|
}
|
|
423
|
-
function
|
|
424
|
-
return !!
|
|
425
|
-
}
|
|
426
|
-
function c() {
|
|
427
|
-
return r("Content-Type", "multipart/form-data"), this;
|
|
906
|
+
function u() {
|
|
907
|
+
return !!s("Authorization");
|
|
428
908
|
}
|
|
429
|
-
function
|
|
430
|
-
return
|
|
909
|
+
function a() {
|
|
910
|
+
return i("Content-Type", "multipart/form-data"), this;
|
|
431
911
|
}
|
|
432
912
|
function p() {
|
|
433
|
-
return
|
|
913
|
+
return i("Content-Type", "application/json"), this;
|
|
914
|
+
}
|
|
915
|
+
function m() {
|
|
916
|
+
return s("Content-Type") === "multipart/form-data";
|
|
434
917
|
}
|
|
435
918
|
function h() {
|
|
436
|
-
return
|
|
919
|
+
return s("Content-Type") === "application/json";
|
|
437
920
|
}
|
|
438
921
|
return {
|
|
439
|
-
setHeaders:
|
|
922
|
+
setHeaders: r,
|
|
440
923
|
getHeaders: n,
|
|
441
|
-
setHeader:
|
|
442
|
-
getHeader:
|
|
443
|
-
removeHeader:
|
|
444
|
-
setAuthorization:
|
|
924
|
+
setHeader: i,
|
|
925
|
+
getHeader: s,
|
|
926
|
+
removeHeader: o,
|
|
927
|
+
setAuthorization: c,
|
|
445
928
|
removeAuthorization: d,
|
|
446
|
-
hasAuthorization:
|
|
447
|
-
setFormData:
|
|
448
|
-
setJson:
|
|
449
|
-
isFormData:
|
|
929
|
+
hasAuthorization: u,
|
|
930
|
+
setFormData: a,
|
|
931
|
+
setJson: p,
|
|
932
|
+
isFormData: m,
|
|
450
933
|
isJson: h
|
|
451
934
|
};
|
|
452
935
|
}
|
|
453
|
-
function
|
|
936
|
+
function Xn(e) {
|
|
454
937
|
let t = null;
|
|
455
|
-
e &&
|
|
456
|
-
function i
|
|
457
|
-
if (
|
|
938
|
+
e && r(e);
|
|
939
|
+
function r(i) {
|
|
940
|
+
if (i = i.toLowerCase(), !["get", "post", "put", "patch", "delete"].includes(i))
|
|
458
941
|
throw new Error("Invalid method.");
|
|
459
|
-
return t =
|
|
942
|
+
return t = i, this;
|
|
460
943
|
}
|
|
461
944
|
function n() {
|
|
462
945
|
return t;
|
|
463
946
|
}
|
|
464
947
|
return {
|
|
465
|
-
setMethod:
|
|
948
|
+
setMethod: r,
|
|
466
949
|
getMethod: n
|
|
467
950
|
};
|
|
468
951
|
}
|
|
469
|
-
function
|
|
952
|
+
function Yn(e, t, r) {
|
|
470
953
|
let n = null;
|
|
471
|
-
|
|
472
|
-
function
|
|
954
|
+
r && i(r);
|
|
955
|
+
function i(u) {
|
|
473
956
|
if (!["post", "put", "patch"].includes(e.getMethod()))
|
|
474
957
|
throw new Error("Payload can only be set for POST, PUT and PATCH requests.");
|
|
475
|
-
return
|
|
958
|
+
return u instanceof FormData ? t.setFormData() : o(u) && (u = c(u), t.setFormData()), t.isFormData() && e.getMethod() === "put" && (e.setMethod("post"), u.append("_method", "PUT")), n = u, this;
|
|
476
959
|
}
|
|
477
|
-
function
|
|
960
|
+
function s() {
|
|
478
961
|
return n;
|
|
479
962
|
}
|
|
480
|
-
function u
|
|
481
|
-
for (const
|
|
482
|
-
const
|
|
483
|
-
if (d(
|
|
963
|
+
function o(u) {
|
|
964
|
+
for (const a in u) {
|
|
965
|
+
const p = u[a];
|
|
966
|
+
if (d(p))
|
|
484
967
|
return !0;
|
|
485
|
-
if (typeof
|
|
968
|
+
if (typeof p == "object" && o(p))
|
|
486
969
|
return !0;
|
|
487
970
|
}
|
|
488
971
|
return !1;
|
|
489
972
|
}
|
|
490
|
-
function
|
|
491
|
-
const
|
|
492
|
-
|
|
493
|
-
for (const h in
|
|
494
|
-
const w =
|
|
495
|
-
d(w) ? (
|
|
973
|
+
function c(u, a = null, p = 0) {
|
|
974
|
+
const m = !a;
|
|
975
|
+
m && (a = new FormData());
|
|
976
|
+
for (const h in u) {
|
|
977
|
+
const w = u[h];
|
|
978
|
+
d(w) ? (u[h] = "<<FileIndex:" + p + ">>", a.append(p, w, w.name), p++) : typeof w == "object" && (u[h] = c(u[h], a, p));
|
|
496
979
|
}
|
|
497
|
-
return
|
|
980
|
+
return m ? (a.append("payload", JSON.stringify(u)), a) : u;
|
|
498
981
|
}
|
|
499
|
-
function d(
|
|
500
|
-
return typeof File < "u" &&
|
|
982
|
+
function d(u) {
|
|
983
|
+
return typeof File < "u" && u instanceof File || typeof Blob < "u" && u instanceof Blob;
|
|
501
984
|
}
|
|
502
985
|
return {
|
|
503
|
-
setPayload:
|
|
504
|
-
getPayload:
|
|
986
|
+
setPayload: i,
|
|
987
|
+
getPayload: s
|
|
505
988
|
};
|
|
506
989
|
}
|
|
507
|
-
const
|
|
990
|
+
const O = class O {
|
|
508
991
|
/**
|
|
509
992
|
* Construct the class with the provided sub logger.
|
|
510
993
|
*/
|
|
511
994
|
constructor(t = {}) {
|
|
512
995
|
/** LEVEL represent the current logging level */
|
|
513
|
-
|
|
996
|
+
_(this, "level", 3);
|
|
514
997
|
/** Underlying logger to use. Default to console */
|
|
515
|
-
|
|
998
|
+
_(this, "logger");
|
|
516
999
|
/** Prefix to use for messages */
|
|
517
|
-
|
|
1000
|
+
_(this, "prefix");
|
|
518
1001
|
this.logger = t.logger || console, this.prefix = t.prefix || "";
|
|
519
1002
|
}
|
|
520
1003
|
/**
|
|
@@ -526,264 +1009,264 @@ const E = class E {
|
|
|
526
1009
|
}
|
|
527
1010
|
/** debug display messages only if level is DEBUG or less */
|
|
528
1011
|
debug(...t) {
|
|
529
|
-
this.level <=
|
|
1012
|
+
this.level <= O.LEVEL_DEBUG && re(this.logger.debug, this.prefix, t);
|
|
530
1013
|
}
|
|
531
1014
|
/** info display messages only if level is INFO or less */
|
|
532
1015
|
info(...t) {
|
|
533
|
-
this.level <=
|
|
1016
|
+
this.level <= O.LEVEL_INFO && re(this.logger.info, this.prefix, t);
|
|
534
1017
|
}
|
|
535
1018
|
/** warn display messages only if level is WARN or less */
|
|
536
1019
|
warn(...t) {
|
|
537
|
-
this.level <=
|
|
1020
|
+
this.level <= O.LEVEL_WARN && re(this.logger.warn, this.prefix, t);
|
|
538
1021
|
}
|
|
539
1022
|
/** error display messages only if level is ERROR or less */
|
|
540
1023
|
error(...t) {
|
|
541
|
-
this.level <=
|
|
1024
|
+
this.level <= O.LEVEL_ERROR && re(this.logger.error, this.prefix, t);
|
|
542
1025
|
}
|
|
543
1026
|
};
|
|
544
1027
|
/** Possible logging level by order of verbosity (more verbose first) */
|
|
545
|
-
|
|
546
|
-
let
|
|
547
|
-
const
|
|
548
|
-
t ? e(t, ...
|
|
549
|
-
}, A = new
|
|
1028
|
+
_(O, "LEVEL_DEBUG", 0), _(O, "LEVEL_INFO", 1), _(O, "LEVEL_WARN", 2), _(O, "LEVEL_ERROR", 3), _(O, "LEVEL_OFF", 4);
|
|
1029
|
+
let ve = O;
|
|
1030
|
+
const re = (e, t, r) => {
|
|
1031
|
+
t ? e(t, ...r) : e(...r);
|
|
1032
|
+
}, A = new ve({
|
|
550
1033
|
prefix: "[SDK]"
|
|
551
1034
|
});
|
|
552
|
-
let
|
|
553
|
-
const
|
|
1035
|
+
let lt = null, dt = null, ft = null, pt = "/", mt = null;
|
|
1036
|
+
const er = () => lt, tr = (e) => {
|
|
554
1037
|
if (A.info("[Config] Environment:", e), !e)
|
|
555
1038
|
throw new Error("Invalid environment.");
|
|
556
|
-
|
|
557
|
-
},
|
|
1039
|
+
lt = e;
|
|
1040
|
+
}, nr = () => dt, rr = (e) => {
|
|
558
1041
|
if (A.info("[Config] API Host:", e), !e)
|
|
559
1042
|
throw new Error("Invalid API host.");
|
|
560
|
-
|
|
561
|
-
},
|
|
562
|
-
|
|
563
|
-
},
|
|
1043
|
+
dt = e;
|
|
1044
|
+
}, ir = () => mt, sr = (e) => {
|
|
1045
|
+
mt = e;
|
|
1046
|
+
}, or = () => ft, ar = (e) => {
|
|
564
1047
|
if (A.info("[Config] Main App Host:", e), !e)
|
|
565
1048
|
throw new Error("Invalid main app host.");
|
|
566
|
-
|
|
567
|
-
},
|
|
568
|
-
A.info("[Config] Base Assets Urls:", e),
|
|
569
|
-
},
|
|
570
|
-
getEnvironment:
|
|
571
|
-
getApiHost:
|
|
572
|
-
getErrorHandler:
|
|
573
|
-
setEnvironment:
|
|
574
|
-
setApiHost:
|
|
575
|
-
setErrorHandler:
|
|
576
|
-
getMainAppHost:
|
|
577
|
-
setMainAppHost:
|
|
578
|
-
setBaseAssetsUrl:
|
|
579
|
-
getBaseAssetsUrl:
|
|
1049
|
+
ft = e;
|
|
1050
|
+
}, cr = (e) => {
|
|
1051
|
+
A.info("[Config] Base Assets Urls:", e), pt = e;
|
|
1052
|
+
}, ur = () => pt, j = {
|
|
1053
|
+
getEnvironment: er,
|
|
1054
|
+
getApiHost: nr,
|
|
1055
|
+
getErrorHandler: ir,
|
|
1056
|
+
setEnvironment: tr,
|
|
1057
|
+
setApiHost: rr,
|
|
1058
|
+
setErrorHandler: sr,
|
|
1059
|
+
getMainAppHost: or,
|
|
1060
|
+
setMainAppHost: ar,
|
|
1061
|
+
setBaseAssetsUrl: cr,
|
|
1062
|
+
getBaseAssetsUrl: ur
|
|
580
1063
|
};
|
|
581
|
-
function
|
|
582
|
-
const t =
|
|
583
|
-
let
|
|
584
|
-
e &&
|
|
585
|
-
function
|
|
1064
|
+
function lr(e) {
|
|
1065
|
+
const t = j.getApiHost().replace(/\/$/g, "");
|
|
1066
|
+
let r = null, n = {}, i = {};
|
|
1067
|
+
e && c(e);
|
|
1068
|
+
function s() {
|
|
586
1069
|
return t + d() + h();
|
|
587
1070
|
}
|
|
588
|
-
function
|
|
1071
|
+
function o() {
|
|
589
1072
|
return d(!0, !0);
|
|
590
1073
|
}
|
|
591
|
-
function
|
|
592
|
-
return
|
|
1074
|
+
function c(f) {
|
|
1075
|
+
return r = "/" + f.replace(/^\//g, ""), this;
|
|
593
1076
|
}
|
|
594
|
-
function d(
|
|
595
|
-
return
|
|
1077
|
+
function d(f = !0, P = !1) {
|
|
1078
|
+
return f ? r.replace(/:(\w+)/g, (R, C) => P ? "*" : i[C] || ":" + C) : r;
|
|
596
1079
|
}
|
|
597
|
-
function
|
|
598
|
-
return n =
|
|
1080
|
+
function u(f) {
|
|
1081
|
+
return n = f, this;
|
|
599
1082
|
}
|
|
600
|
-
function
|
|
601
|
-
return n[
|
|
1083
|
+
function a(f, P) {
|
|
1084
|
+
return n[f] = P, this;
|
|
602
1085
|
}
|
|
603
|
-
function f
|
|
604
|
-
return n[
|
|
1086
|
+
function p(f) {
|
|
1087
|
+
return n[f] && delete n[f], this;
|
|
605
1088
|
}
|
|
606
|
-
function
|
|
1089
|
+
function m() {
|
|
607
1090
|
return Object.keys(n).length > 0;
|
|
608
1091
|
}
|
|
609
|
-
function h(
|
|
610
|
-
if (!
|
|
1092
|
+
function h(f = !0) {
|
|
1093
|
+
if (!m())
|
|
611
1094
|
return "";
|
|
612
1095
|
let P = "";
|
|
613
1096
|
for (const R in n)
|
|
614
1097
|
if (Array.isArray(n[R]))
|
|
615
|
-
for (const
|
|
616
|
-
P += (P.length ? "&" : "") + `${R}[]=` +
|
|
1098
|
+
for (const C of n[R])
|
|
1099
|
+
P += (P.length ? "&" : "") + `${R}[]=` + C;
|
|
617
1100
|
else
|
|
618
1101
|
P += (P.length ? "&" : "") + R + "=" + n[R];
|
|
619
|
-
return (
|
|
1102
|
+
return (f ? "?" : "") + P;
|
|
620
1103
|
}
|
|
621
|
-
function w(
|
|
622
|
-
return
|
|
1104
|
+
function w(f) {
|
|
1105
|
+
return i = f, this;
|
|
623
1106
|
}
|
|
624
|
-
function
|
|
625
|
-
return
|
|
1107
|
+
function v(f, P) {
|
|
1108
|
+
return i[f] = P, this;
|
|
626
1109
|
}
|
|
627
|
-
function
|
|
628
|
-
return
|
|
1110
|
+
function $(f) {
|
|
1111
|
+
return i[f] && delete i[f], this;
|
|
629
1112
|
}
|
|
630
1113
|
return {
|
|
631
|
-
setPath:
|
|
1114
|
+
setPath: c,
|
|
632
1115
|
getPath: d,
|
|
633
|
-
getUri:
|
|
634
|
-
getMockUri:
|
|
635
|
-
setQueryParams:
|
|
636
|
-
setQueryParam:
|
|
637
|
-
removeQueryParam:
|
|
638
|
-
hasQuery:
|
|
1116
|
+
getUri: s,
|
|
1117
|
+
getMockUri: o,
|
|
1118
|
+
setQueryParams: u,
|
|
1119
|
+
setQueryParam: a,
|
|
1120
|
+
removeQueryParam: p,
|
|
1121
|
+
hasQuery: m,
|
|
639
1122
|
getQueryString: h,
|
|
640
1123
|
setRouteParams: w,
|
|
641
|
-
setRouteParam:
|
|
642
|
-
removeRouteParam:
|
|
1124
|
+
setRouteParam: v,
|
|
1125
|
+
removeRouteParam: $
|
|
643
1126
|
};
|
|
644
1127
|
}
|
|
645
|
-
function
|
|
1128
|
+
function dr(e) {
|
|
646
1129
|
let t = [];
|
|
647
|
-
function
|
|
648
|
-
return t =
|
|
1130
|
+
function r() {
|
|
1131
|
+
return t = u(arguments), o(), this;
|
|
649
1132
|
}
|
|
650
1133
|
function n() {
|
|
651
1134
|
return t.length > 0;
|
|
652
1135
|
}
|
|
653
|
-
function
|
|
654
|
-
return t.includes(
|
|
1136
|
+
function i(a) {
|
|
1137
|
+
return t.includes(a.trim()) ? this : (t.push(a.trim()), o(), this);
|
|
655
1138
|
}
|
|
656
|
-
function a
|
|
657
|
-
const
|
|
658
|
-
return
|
|
1139
|
+
function s(a) {
|
|
1140
|
+
const p = t.indexOf(a.trim());
|
|
1141
|
+
return p === -1 ? this : (t.splice(p, 1), o(), this);
|
|
659
1142
|
}
|
|
660
|
-
function
|
|
1143
|
+
function o() {
|
|
661
1144
|
t.length ? e.setQueryParam("groups", d(t)) : e.removeQueryParam("groups");
|
|
662
1145
|
}
|
|
663
|
-
function
|
|
664
|
-
return
|
|
1146
|
+
function c(a) {
|
|
1147
|
+
return a.split(",").map((p) => p.trim());
|
|
665
1148
|
}
|
|
666
|
-
function d(
|
|
667
|
-
return
|
|
1149
|
+
function d(a) {
|
|
1150
|
+
return a.join(",");
|
|
668
1151
|
}
|
|
669
|
-
function
|
|
670
|
-
let
|
|
671
|
-
return
|
|
1152
|
+
function u(a) {
|
|
1153
|
+
let p = [];
|
|
1154
|
+
return a.length === 1 ? typeof a[0] == "string" ? p = c(a[0]) : Array.isArray(a[0]) && (p = a[0]) : p = Array.from(a), p;
|
|
672
1155
|
}
|
|
673
1156
|
return {
|
|
674
|
-
setGroups:
|
|
1157
|
+
setGroups: r,
|
|
675
1158
|
hasGroups: n,
|
|
676
|
-
addGroup:
|
|
677
|
-
removeGroup:
|
|
1159
|
+
addGroup: i,
|
|
1160
|
+
removeGroup: s
|
|
678
1161
|
};
|
|
679
1162
|
}
|
|
680
|
-
function
|
|
681
|
-
let t = !1,
|
|
682
|
-
function
|
|
683
|
-
return t = !0,
|
|
1163
|
+
function fr(e) {
|
|
1164
|
+
let t = !1, r = !1, n = 1, i = 10;
|
|
1165
|
+
function s() {
|
|
1166
|
+
return t = !0, o(), this;
|
|
684
1167
|
}
|
|
685
|
-
function
|
|
686
|
-
|
|
687
|
-
const h =
|
|
688
|
-
return
|
|
1168
|
+
function o() {
|
|
1169
|
+
r = !0;
|
|
1170
|
+
const h = m(arguments);
|
|
1171
|
+
return u(h.page || 1, !1), a(h.perPage || i, !1), p(), this;
|
|
689
1172
|
}
|
|
690
|
-
function
|
|
691
|
-
return
|
|
1173
|
+
function c() {
|
|
1174
|
+
return r = !1, p(), this;
|
|
692
1175
|
}
|
|
693
1176
|
function d() {
|
|
694
|
-
return
|
|
1177
|
+
return r;
|
|
695
1178
|
}
|
|
696
|
-
function
|
|
697
|
-
return t = !0,
|
|
1179
|
+
function u(h, w = !0) {
|
|
1180
|
+
return t = !0, r = !0, n = h, w && p(), this;
|
|
698
1181
|
}
|
|
699
|
-
function
|
|
700
|
-
return t = !0,
|
|
1182
|
+
function a(h, w = !0) {
|
|
1183
|
+
return t = !0, r = !0, i = h, w && p(), this;
|
|
701
1184
|
}
|
|
702
|
-
function
|
|
703
|
-
t ? d() ? (e.removeQueryParam("pagination"), e.setQueryParam("page", n), e.setQueryParam("nbResultPerPage",
|
|
1185
|
+
function p() {
|
|
1186
|
+
t ? d() ? (e.removeQueryParam("pagination"), e.setQueryParam("page", n), e.setQueryParam("nbResultPerPage", i)) : (e.removeQueryParam("page"), e.removeQueryParam("nbResultPerPage"), e.setQueryParam("pagination", "false")) : (e.removeQueryParam("page"), e.removeQueryParam("nbResultPerPage"), e.removeQueryParam("pagination"));
|
|
704
1187
|
}
|
|
705
|
-
function
|
|
1188
|
+
function m(h) {
|
|
706
1189
|
if (h.length === 1 && typeof h[0] == "object")
|
|
707
1190
|
return h[0];
|
|
708
1191
|
const w = {};
|
|
709
1192
|
return h.length >= 1 && (w.page = h[0]), h.length >= 2 && (w.perPage = h[1]), w;
|
|
710
1193
|
}
|
|
711
1194
|
return {
|
|
712
|
-
isList:
|
|
713
|
-
paginate:
|
|
714
|
-
disablePagination:
|
|
1195
|
+
isList: s,
|
|
1196
|
+
paginate: o,
|
|
1197
|
+
disablePagination: c,
|
|
715
1198
|
hasPagination: d,
|
|
716
|
-
setPage:
|
|
717
|
-
setPerPage:
|
|
1199
|
+
setPage: u,
|
|
1200
|
+
setPerPage: a
|
|
718
1201
|
};
|
|
719
1202
|
}
|
|
720
|
-
function
|
|
721
|
-
let t = !1,
|
|
722
|
-
function
|
|
1203
|
+
function pr(e) {
|
|
1204
|
+
let t = !1, r = "id", n = "ASC";
|
|
1205
|
+
function i() {
|
|
723
1206
|
t = !0;
|
|
724
|
-
const
|
|
725
|
-
return
|
|
1207
|
+
const a = u(arguments);
|
|
1208
|
+
return a.orderBy && o(a.orderBy, !1), a.orderDir && c(a.orderDir, !1), d(), this;
|
|
726
1209
|
}
|
|
727
|
-
function
|
|
1210
|
+
function s() {
|
|
728
1211
|
return t;
|
|
729
1212
|
}
|
|
730
|
-
function
|
|
731
|
-
return t = !0,
|
|
1213
|
+
function o(a, p = !0) {
|
|
1214
|
+
return t = !0, r = a, p && d(), this;
|
|
732
1215
|
}
|
|
733
|
-
function
|
|
734
|
-
if (
|
|
1216
|
+
function c(a, p = !0) {
|
|
1217
|
+
if (a = a.toUpperCase(), ["ASC", "DESC"].indexOf(a) === -1)
|
|
735
1218
|
throw new Error("Invalid order direction");
|
|
736
|
-
return t = !0, n =
|
|
1219
|
+
return t = !0, n = a, p && d(), this;
|
|
737
1220
|
}
|
|
738
1221
|
function d() {
|
|
739
|
-
|
|
1222
|
+
s() && (e.setQueryParam("orderBy", r), e.setQueryParam("orderDirection", n));
|
|
740
1223
|
}
|
|
741
|
-
function
|
|
742
|
-
if (
|
|
743
|
-
return
|
|
744
|
-
const
|
|
745
|
-
return
|
|
1224
|
+
function u(a) {
|
|
1225
|
+
if (a.length === 1 && typeof a[0] == "object")
|
|
1226
|
+
return a[0];
|
|
1227
|
+
const p = {};
|
|
1228
|
+
return a.length >= 1 && (p.orderBy = a[0]), a.length >= 2 && (p.orderDir = a[1]), p;
|
|
746
1229
|
}
|
|
747
1230
|
return {
|
|
748
|
-
setOrder:
|
|
749
|
-
hasOrder:
|
|
750
|
-
setOrderBy:
|
|
751
|
-
setOrderDir:
|
|
1231
|
+
setOrder: i,
|
|
1232
|
+
hasOrder: s,
|
|
1233
|
+
setOrderBy: o,
|
|
1234
|
+
setOrderDir: c
|
|
752
1235
|
};
|
|
753
1236
|
}
|
|
754
|
-
function
|
|
1237
|
+
function mr() {
|
|
755
1238
|
let e = !1;
|
|
756
1239
|
function t() {
|
|
757
1240
|
return e = !0, this;
|
|
758
1241
|
}
|
|
759
|
-
function
|
|
1242
|
+
function r() {
|
|
760
1243
|
return e;
|
|
761
1244
|
}
|
|
762
1245
|
return {
|
|
763
1246
|
setSilent: t,
|
|
764
|
-
isSilent:
|
|
1247
|
+
isSilent: r
|
|
765
1248
|
};
|
|
766
1249
|
}
|
|
767
|
-
function
|
|
1250
|
+
function hr() {
|
|
768
1251
|
let e = "json";
|
|
769
1252
|
function t(n = "json") {
|
|
770
1253
|
if (["arraybuffer", "document", "json", "text", "stream", "blob"].indexOf(n) === -1)
|
|
771
1254
|
throw new Error("Invalid response type");
|
|
772
1255
|
return e = n, this;
|
|
773
1256
|
}
|
|
774
|
-
function
|
|
1257
|
+
function r() {
|
|
775
1258
|
return e;
|
|
776
1259
|
}
|
|
777
1260
|
return {
|
|
778
1261
|
setResponseType: t,
|
|
779
|
-
getResponseType:
|
|
1262
|
+
getResponseType: r
|
|
780
1263
|
};
|
|
781
1264
|
}
|
|
782
|
-
function
|
|
1265
|
+
function yr(e) {
|
|
783
1266
|
function t() {
|
|
784
1267
|
return e;
|
|
785
1268
|
}
|
|
786
|
-
function
|
|
1269
|
+
function r() {
|
|
787
1270
|
return e.data;
|
|
788
1271
|
}
|
|
789
1272
|
function n() {
|
|
@@ -791,756 +1274,693 @@ function Mt(e) {
|
|
|
791
1274
|
}
|
|
792
1275
|
return {
|
|
793
1276
|
getResponse: t,
|
|
794
|
-
getData:
|
|
1277
|
+
getData: r,
|
|
795
1278
|
getPayload: n
|
|
796
1279
|
};
|
|
797
1280
|
}
|
|
798
|
-
function
|
|
799
|
-
let
|
|
800
|
-
return e.response ? (
|
|
801
|
-
sent:
|
|
1281
|
+
function gr(e, t = !1) {
|
|
1282
|
+
let r = !1, n = !1;
|
|
1283
|
+
return e.response ? (r = !0, n = !0) : e.request && (r = !0), !t && j.getErrorHandler() && j.getErrorHandler()(e), {
|
|
1284
|
+
sent: r,
|
|
802
1285
|
responded: n,
|
|
803
1286
|
error: e
|
|
804
1287
|
};
|
|
805
1288
|
}
|
|
806
|
-
function
|
|
1289
|
+
function wr(e) {
|
|
807
1290
|
function t() {
|
|
808
1291
|
return e;
|
|
809
1292
|
}
|
|
810
|
-
function
|
|
1293
|
+
function r() {
|
|
811
1294
|
return e.data;
|
|
812
1295
|
}
|
|
813
1296
|
function n() {
|
|
814
1297
|
return e.data;
|
|
815
1298
|
}
|
|
816
|
-
function
|
|
1299
|
+
function i() {
|
|
817
1300
|
return e.data["@type"] === "hydra:Collection";
|
|
818
1301
|
}
|
|
819
|
-
function
|
|
820
|
-
return
|
|
1302
|
+
function s() {
|
|
1303
|
+
return i() ? e.data["hydra:member"] : null;
|
|
821
1304
|
}
|
|
822
|
-
function
|
|
823
|
-
return
|
|
1305
|
+
function o() {
|
|
1306
|
+
return i() ? e.data["hydra:totalItems"] : null;
|
|
824
1307
|
}
|
|
825
|
-
function
|
|
826
|
-
return
|
|
1308
|
+
function c() {
|
|
1309
|
+
return i() ? e.data["hydra:view"] && e.data["hydra:view"]["hydra:last"] : !1;
|
|
827
1310
|
}
|
|
828
1311
|
function d() {
|
|
829
|
-
return !
|
|
1312
|
+
return !i() || !c() ? null : parseInt(e.data["hydra:view"]["@id"].match(/page=(\d+)/)[1]);
|
|
830
1313
|
}
|
|
831
|
-
function
|
|
832
|
-
return !
|
|
1314
|
+
function u() {
|
|
1315
|
+
return !i() || !c() ? null : parseInt(e.data["hydra:view"]["hydra:last"].match(/page=(\d+)/)[1]);
|
|
833
1316
|
}
|
|
834
1317
|
return {
|
|
835
1318
|
getResponse: t,
|
|
836
|
-
getData:
|
|
1319
|
+
getData: r,
|
|
837
1320
|
getPayload: n,
|
|
838
|
-
isCollection:
|
|
839
|
-
getCollection:
|
|
840
|
-
getTotal:
|
|
841
|
-
hasPagination:
|
|
1321
|
+
isCollection: i,
|
|
1322
|
+
getCollection: s,
|
|
1323
|
+
getTotal: o,
|
|
1324
|
+
hasPagination: c,
|
|
842
1325
|
getPage: d,
|
|
843
|
-
getPages:
|
|
1326
|
+
getPages: u
|
|
844
1327
|
};
|
|
845
1328
|
}
|
|
846
|
-
function
|
|
847
|
-
async function
|
|
848
|
-
const d =
|
|
849
|
-
["post", "put", "patch"].includes(d) &&
|
|
850
|
-
headers:
|
|
851
|
-
responseType:
|
|
852
|
-
}), A.info("[Request] Sending request:", `[${d.toUpperCase()}]`,
|
|
1329
|
+
function br(e, t, r, n, i, s) {
|
|
1330
|
+
async function o() {
|
|
1331
|
+
const d = r.getMethod(), u = t.getUri(), a = e.getHeaders(), p = n.getPayload(), m = [u];
|
|
1332
|
+
["post", "put", "patch"].includes(d) && m.push(p || {}), m.push({
|
|
1333
|
+
headers: a,
|
|
1334
|
+
responseType: s.getResponseType()
|
|
1335
|
+
}), A.info("[Request] Sending request:", `[${d.toUpperCase()}]`, u);
|
|
853
1336
|
try {
|
|
854
|
-
const h = await
|
|
855
|
-
return
|
|
1337
|
+
const h = await zt[d](...m);
|
|
1338
|
+
return c(h);
|
|
856
1339
|
} catch (h) {
|
|
857
|
-
throw
|
|
1340
|
+
throw gr(h, i.isSilent());
|
|
858
1341
|
}
|
|
859
1342
|
}
|
|
860
|
-
function
|
|
1343
|
+
function c(d) {
|
|
861
1344
|
if (d.headers) {
|
|
862
|
-
const
|
|
863
|
-
if (
|
|
864
|
-
return
|
|
1345
|
+
const u = Object.keys(d.headers), a = u.map((p) => p.toLowerCase()).indexOf("content-type");
|
|
1346
|
+
if (a !== -1 && d.headers[u[a]].includes("application/ld+json"))
|
|
1347
|
+
return wr(d);
|
|
865
1348
|
}
|
|
866
|
-
return
|
|
1349
|
+
return yr(d);
|
|
867
1350
|
}
|
|
868
1351
|
return {
|
|
869
|
-
send:
|
|
1352
|
+
send: o
|
|
870
1353
|
};
|
|
871
1354
|
}
|
|
872
|
-
function
|
|
873
|
-
const n =
|
|
1355
|
+
function I(e, t = "get", r = null) {
|
|
1356
|
+
const n = Zn(), i = lr(e), s = Xn(t), o = Yn(s, n, r), c = dr(i), d = fr(i), u = pr(i), a = mr(), p = hr(), m = br(n, i, s, o, a, p);
|
|
874
1357
|
return {
|
|
875
1358
|
...n,
|
|
876
|
-
...
|
|
877
|
-
...a,
|
|
878
|
-
...u,
|
|
879
|
-
...m,
|
|
880
|
-
...d,
|
|
1359
|
+
...i,
|
|
881
1360
|
...s,
|
|
1361
|
+
...o,
|
|
882
1362
|
...c,
|
|
883
|
-
...
|
|
884
|
-
...
|
|
1363
|
+
...d,
|
|
1364
|
+
...u,
|
|
1365
|
+
...a,
|
|
1366
|
+
...p,
|
|
1367
|
+
...m
|
|
885
1368
|
};
|
|
886
1369
|
}
|
|
887
|
-
function g(e, t = "get",
|
|
888
|
-
const n =
|
|
889
|
-
|
|
890
|
-
const
|
|
1370
|
+
function g(e, t = "get", r = null) {
|
|
1371
|
+
const n = I(e, t, r), i = We();
|
|
1372
|
+
i.isAuthenticated() && n.setAuthorization(i.getAuthToken());
|
|
1373
|
+
const s = n.send;
|
|
891
1374
|
return n.send = async function() {
|
|
892
1375
|
if (!n.hasAuthorization())
|
|
893
1376
|
throw new Error("::SDK Request:: Request cannot be sent, missing authorization header.");
|
|
894
|
-
return
|
|
1377
|
+
return s();
|
|
895
1378
|
}, n;
|
|
896
1379
|
}
|
|
897
|
-
const
|
|
898
|
-
listByCandidateAndEstablishment:
|
|
899
|
-
}),
|
|
900
|
-
share:
|
|
901
|
-
isArchived:
|
|
902
|
-
archive:
|
|
903
|
-
unarchive:
|
|
904
|
-
lookupCandidate:
|
|
905
|
-
createCandidate:
|
|
906
|
-
updateCandidate:
|
|
907
|
-
closeIncompleteRegistration:
|
|
908
|
-
openNewRegistration:
|
|
909
|
-
updateInvitation:
|
|
910
|
-
}),
|
|
911
|
-
getForEstablishmentCandidate:
|
|
912
|
-
postForEstablishmentCandidate:
|
|
913
|
-
update:
|
|
914
|
-
remove:
|
|
915
|
-
}),
|
|
916
|
-
list:
|
|
917
|
-
listByEstablishment:
|
|
918
|
-
}),
|
|
919
|
-
list:
|
|
920
|
-
markAsSeen:
|
|
921
|
-
}),
|
|
922
|
-
syncCandidateLabels:
|
|
923
|
-
}),
|
|
924
|
-
list:
|
|
925
|
-
}),
|
|
926
|
-
listByCandidate:
|
|
927
|
-
listByCandidateAndEstablishmentFromRecruiter:
|
|
928
|
-
listByCandidateAndEstablishmentFromCandidate:
|
|
929
|
-
addFromRecruiter:
|
|
930
|
-
remove:
|
|
931
|
-
}),
|
|
932
|
-
listByCandidateAndEstablishment:
|
|
933
|
-
}),
|
|
934
|
-
sendToCandidate:
|
|
935
|
-
sendToRecipients:
|
|
936
|
-
}),
|
|
937
|
-
const
|
|
938
|
-
return t &&
|
|
939
|
-
},
|
|
940
|
-
listByEstablishment:
|
|
941
|
-
listSelf:
|
|
942
|
-
}),
|
|
943
|
-
const n =
|
|
1380
|
+
const vr = (e, t) => g("/v2/activity/candidate/:candidateId/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }), Qs = () => ({
|
|
1381
|
+
listByCandidateAndEstablishment: vr
|
|
1382
|
+
}), Er = (e, t, r) => g("/candidate/:candidateId/share/establishment/:establishmentId").setMethod("post").setRouteParams({ candidateId: e, establishmentId: t }).setPayload(r), Ar = (e, t) => g("/candidate/:candidateId/archive/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }), Pr = (e, t) => g("/candidate/:candidateId/archive/establishment/:establishmentId").setMethod("post").setRouteParams({ candidateId: e, establishmentId: t }), Ir = (e, t) => g("/candidate/:candidateId/archive/establishment/:establishmentId").setMethod("delete").setRouteParams({ candidateId: e, establishmentId: t }), Rr = (e, t) => g("/v2/candidates/lookup").setQueryParam("email", e).setQueryParam("establishment-id", t), Sr = (e, t) => g("/v2/candidates").setMethod("post").setQueryParam("establishment-id", e).setPayload(t), Or = (e, t, r) => g("/v2/candidates/:candidateId").setQueryParam("establishment-id", t).setRouteParams({ candidateId: e }).setMethod("put").setPayload(r), Cr = (e) => g("/candidate/register/close/:registrationToken").setMethod("post").setRouteParams({ registrationToken: e }), _r = (e) => g("/candidate/register/open").setMethod("post").setQueryParam("groups", "register:token").setPayload(e), kr = (e, t) => g("/establishment/:establishmentId:/candidate/invitation").setRouteParams({ establishmentId: e }).setMethod("post").setPayload(t), qs = () => ({
|
|
1383
|
+
share: Er,
|
|
1384
|
+
isArchived: Ar,
|
|
1385
|
+
archive: Pr,
|
|
1386
|
+
unarchive: Ir,
|
|
1387
|
+
lookupCandidate: Rr,
|
|
1388
|
+
createCandidate: Sr,
|
|
1389
|
+
updateCandidate: Or,
|
|
1390
|
+
closeIncompleteRegistration: Cr,
|
|
1391
|
+
openNewRegistration: _r,
|
|
1392
|
+
updateInvitation: kr
|
|
1393
|
+
}), $r = (e, t) => g("/comment/establishment/:establishmentId/candidate/:userId").setRouteParams({ establishmentId: e, userId: t }), Tr = (e, t, r) => g("/comment/establishment/:establishmentId/candidate/:userId").setRouteParams({ establishmentId: e, userId: t }).setMethod("post").setPayload(r), Nr = (e, t) => g("/comment/:commentId").setRouteParams({ commentId: e }).setMethod("put").setPayload(t), Mr = (e) => g("/comment/:commentId").setRouteParams({ commentId: e }).setMethod("delete"), Gs = () => ({
|
|
1394
|
+
getForEstablishmentCandidate: $r,
|
|
1395
|
+
postForEstablishmentCandidate: Tr,
|
|
1396
|
+
update: Nr,
|
|
1397
|
+
remove: Mr
|
|
1398
|
+
}), Lr = () => I("contractType").isList().addGroup("Term:id").addGroup("Term:name"), Dr = (e, t = !0) => g("contractType/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), Ks = () => ({
|
|
1399
|
+
list: Lr,
|
|
1400
|
+
listByEstablishment: Dr
|
|
1401
|
+
}), jr = (e) => g("/v2/talents").isList().setQueryParam("establishment-id", e), xr = (e) => g("/v2/talent/mark-as-seen/:talentId").setRouteParams({ talentId: e }).setMethod("post"), Ws = () => ({
|
|
1402
|
+
list: jr,
|
|
1403
|
+
markAsSeen: xr
|
|
1404
|
+
}), Vr = (e, t, r) => g("/cvtheque/establishment/:establishmentId/candidate/:candidateId/label/synchronize").setRouteParams({ establishmentId: e, candidateId: t }).setMethod("post").setPayload(r), Js = () => ({
|
|
1405
|
+
syncCandidateLabels: Vr
|
|
1406
|
+
}), zr = () => I("diploma").isList().addGroup("Term:id").addGroup("Term:name"), Zs = () => ({
|
|
1407
|
+
list: zr
|
|
1408
|
+
}), Br = (e) => g("document/candidate/:candidateId").setRouteParams({ candidateId: e }).isList().disablePagination(), Fr = (e, t) => g("document/candidate/:candidateId/establishment/:establishmentId/recruiter").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), Ur = (e, t) => g("document/candidate/:candidateId/establishment/:establishmentId/candidate").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), Hr = (e) => g("document/recruiter").setMethod("post").setPayload(e), Qr = (e) => g("document/:documentId").setRouteParams({ documentId: e }).setMethod("delete"), Xs = () => ({
|
|
1409
|
+
listByCandidate: Br,
|
|
1410
|
+
listByCandidateAndEstablishmentFromRecruiter: Fr,
|
|
1411
|
+
listByCandidateAndEstablishmentFromCandidate: Ur,
|
|
1412
|
+
addFromRecruiter: Hr,
|
|
1413
|
+
remove: Qr
|
|
1414
|
+
}), qr = (e, t) => g("/v2/establishments/:establishmentId/email-history").setRouteParams({ establishmentId: t }).setQueryParam("receiverId", e).isList().disablePagination(), Ys = () => ({
|
|
1415
|
+
listByCandidateAndEstablishment: qr
|
|
1416
|
+
}), Gr = (e, t) => g("/email/candidate/:candidateId").setMethod("post").setRouteParams({ candidateId: e }).setPayload(t), Kr = (e, t) => g("/v2/emails/send").setMethod("post").setPayload({ recipientIds: e, ...t }), eo = () => ({
|
|
1417
|
+
sendToCandidate: Gr,
|
|
1418
|
+
sendToRecipients: Kr
|
|
1419
|
+
}), Wr = (e, t = !0) => {
|
|
1420
|
+
const r = g("/v2/establishments/:establishmentId/email-templates").setRouteParams({ establishmentId: e }).isList().disablePagination();
|
|
1421
|
+
return t && r.setQueryParam("global", !0), r;
|
|
1422
|
+
}, Jr = () => g("/v2/self/email-templates").isList().disablePagination(), to = () => ({
|
|
1423
|
+
listByEstablishment: Wr,
|
|
1424
|
+
listSelf: Jr
|
|
1425
|
+
}), Zr = (e, t) => g("establishment-career/:establishmentId/:versionId").setRouteParams({ establishmentId: e, versionId: t }), Xr = (e, t = "published") => g("establishment-career/:establishmentId/state/:state").setRouteParams({ establishmentId: e, state: t }), Yr = (e, t, r = null) => {
|
|
1426
|
+
const n = r !== null ? g("establishment-career/:establishmentId/:versionId").setRouteParams({ establishmentId: e, versionId: r }) : g("establishment-career/:establishmentId").setRouteParams({ establishmentId: e });
|
|
944
1427
|
return n.setMethod("post").setPayload(t), n;
|
|
945
|
-
},
|
|
946
|
-
readById:
|
|
947
|
-
readByState:
|
|
948
|
-
upsert:
|
|
949
|
-
uploadLogoAndBanner:
|
|
950
|
-
publish:
|
|
951
|
-
}),
|
|
952
|
-
read:
|
|
953
|
-
authorizations:
|
|
954
|
-
}),
|
|
955
|
-
maintenanceModeEnabled:
|
|
956
|
-
forEstablishment:
|
|
957
|
-
}),
|
|
958
|
-
list:
|
|
959
|
-
listByEstablishment:
|
|
960
|
-
}),
|
|
961
|
-
listByEstablishment:
|
|
962
|
-
addToEstablishment:
|
|
963
|
-
update:
|
|
964
|
-
remove:
|
|
965
|
-
syncForCandidate:
|
|
966
|
-
}),
|
|
967
|
-
read:
|
|
968
|
-
}),
|
|
969
|
-
const
|
|
970
|
-
return t &&
|
|
971
|
-
},
|
|
972
|
-
listByEstablishment:
|
|
973
|
-
}),
|
|
974
|
-
read:
|
|
975
|
-
mineByEstablishment:
|
|
976
|
-
mineWithoutCandidate:
|
|
977
|
-
mineWithCandidate:
|
|
978
|
-
withCandidate:
|
|
979
|
-
addCandidates:
|
|
980
|
-
removeCandidate:
|
|
981
|
-
}),
|
|
982
|
-
const
|
|
983
|
-
return t === "establishment" && (
|
|
984
|
-
},
|
|
985
|
-
open:
|
|
986
|
-
update:
|
|
987
|
-
read:
|
|
988
|
-
close:
|
|
989
|
-
}),
|
|
990
|
-
lookupEstablishment:
|
|
991
|
-
}),
|
|
992
|
-
list:
|
|
993
|
-
listByEstablishment:
|
|
994
|
-
}),
|
|
995
|
-
listByEstablishment:
|
|
996
|
-
}),
|
|
997
|
-
lookupTalent:
|
|
998
|
-
addCandidateToTalentPool:
|
|
999
|
-
}),
|
|
1000
|
-
emailExists:
|
|
1001
|
-
self:
|
|
1002
|
-
byUuidPrivate:
|
|
1003
|
-
byUuid:
|
|
1004
|
-
fetchUuid:
|
|
1005
|
-
})
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
const s = (await ge().self().send()).getData();
|
|
1018
|
-
e.user = {
|
|
1019
|
-
id: s.id,
|
|
1020
|
-
email: s.email,
|
|
1021
|
-
firstName: s.firstName,
|
|
1022
|
-
lastName: s.lastName,
|
|
1023
|
-
avatar: s.avatar
|
|
1024
|
-
}, e.roles = s.roles;
|
|
1025
|
-
}, i = async (s) => {
|
|
1026
|
-
if (!V().isAuthenticated())
|
|
1027
|
-
throw new Error("::SDK Authorization:: User not authenticated");
|
|
1028
|
-
e.establishments[s] = (await ye().authorizations(s).send()).getData();
|
|
1029
|
-
}, n = (s) => {
|
|
1030
|
-
if (e.user === void 0)
|
|
1031
|
-
throw new Error("::SDK Authorization:: User not fetched");
|
|
1032
|
-
return e.roles.includes(s);
|
|
1033
|
-
};
|
|
1034
|
-
return B = {
|
|
1035
|
-
fetchSelf: t,
|
|
1036
|
-
fetchPermission: i,
|
|
1037
|
-
hasRole: n,
|
|
1038
|
-
hasRoleRH: () => n("ROLE_RH"),
|
|
1039
|
-
hasRoleCandidate: () => n("ROLE_CANDIDATE"),
|
|
1040
|
-
hasRoleAdmin: () => n("ROLE_ADMIN"),
|
|
1041
|
-
hasPermission: (s, ...c) => {
|
|
1042
|
-
const f = e.establishments[s];
|
|
1043
|
-
if (f === void 0)
|
|
1044
|
-
throw new Error(`::SDK Authorization:: Permissions not fetched for establishment ${s}`);
|
|
1045
|
-
return c.every((p) => f[p] === !0);
|
|
1428
|
+
}, ei = (e, t) => g("establishment-career/:establishmentId/logo-banner").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), ti = (e, t, r) => g("establishment-career/:establishmentId/publish/:versionId").setMethod("post").setRouteParams({ establishmentId: e, versionId: t }).setPayload(r), no = () => ({
|
|
1429
|
+
readById: Zr,
|
|
1430
|
+
readByState: Xr,
|
|
1431
|
+
upsert: Yr,
|
|
1432
|
+
uploadLogoAndBanner: ei,
|
|
1433
|
+
publish: ti
|
|
1434
|
+
}), ni = (e) => I("establishment/:establishmentId").setRouteParams({ establishmentId: e }), ri = (e) => g("establishment/:establishmentId/authorizations").setRouteParams({ establishmentId: e }), ii = () => ({
|
|
1435
|
+
read: ni,
|
|
1436
|
+
authorizations: ri
|
|
1437
|
+
}), si = (e) => I("feature-flag/maintenance").setMethod("post").setPayload(e), oi = (e, t) => I("feature-flag/establishment").setMethod("post").setPayload({ establishment: e, flagName: t }), ro = () => ({
|
|
1438
|
+
maintenanceModeEnabled: si,
|
|
1439
|
+
forEstablishment: oi
|
|
1440
|
+
}), ai = () => I("job").isList().addGroup("Term:id").addGroup("Term:name"), ci = (e, t = !0) => g("job/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), io = () => ({
|
|
1441
|
+
list: ai,
|
|
1442
|
+
listByEstablishment: ci
|
|
1443
|
+
}), ui = (e) => g("/label/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), li = (e, t) => g("/label/establishment/:establishmentId").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), di = (e, t) => g("/label/:labelId").setMethod("put").setRouteParams({ labelId: e }).setPayload(t), fi = (e) => g("/label/:labelId").setMethod("delete").setRouteParams({ labelId: e }), pi = (e, t, r) => g("/label/establishment/:establishmentId/candidate/:candidateId/synchronize").setMethod("post").setPayload(r).setRouteParams({ establishmentId: e, candidateId: t }), so = () => ({
|
|
1444
|
+
listByEstablishment: ui,
|
|
1445
|
+
addToEstablishment: li,
|
|
1446
|
+
update: di,
|
|
1447
|
+
remove: fi,
|
|
1448
|
+
syncForCandidate: pi
|
|
1449
|
+
}), mi = (e) => I("offer/:offerId").setRouteParams({ offerId: e }), oo = () => ({
|
|
1450
|
+
read: mi
|
|
1451
|
+
}), hi = (e, t = !1) => {
|
|
1452
|
+
const r = g("/recruiter/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e });
|
|
1453
|
+
return t && r.setQueryParam("exclude-me", 1), r;
|
|
1454
|
+
}, ao = () => ({
|
|
1455
|
+
listByEstablishment: hi
|
|
1456
|
+
}), yi = (e) => g("/recruitment/:recruitmentId").setRouteParams({ recruitmentId: e }), gi = (e) => g("/recruitment/mine/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), wi = (e, t) => g("/recruitment/mine/establishment/:establishmentId/has-not/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), bi = (e, t) => g("/recruitment/mine/establishment/:establishmentId/has/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), vi = (e, t) => g("/recruitment/establishment/:establishmentId/has/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), Ei = (e, t) => g("/recruitment/:recruitmentId/candidate").setMethod("put").setRouteParams({ recruitmentId: e }).setPayload(t), Ai = (e, t) => g("/recruitment/:recruitmentId/candidate/:candidateId").setMethod("delete").setRouteParams({ recruitmentId: e, candidateId: t }), co = () => ({
|
|
1457
|
+
read: yi,
|
|
1458
|
+
mineByEstablishment: gi,
|
|
1459
|
+
mineWithoutCandidate: wi,
|
|
1460
|
+
mineWithCandidate: bi,
|
|
1461
|
+
withCandidate: vi,
|
|
1462
|
+
addCandidates: Ei,
|
|
1463
|
+
removeCandidate: Ai
|
|
1464
|
+
}), Pi = (e, t, r, n = null) => {
|
|
1465
|
+
const i = I("candidate/register/open").setMethod("post"), s = { email: e };
|
|
1466
|
+
return t === "establishment" && (s.establishmentId = r), t === "offer" && (s.offerId = r), n && (s.referer = n), i.setPayload(s), i;
|
|
1467
|
+
}, Ii = (e, t) => I("candidate/register/update/:token").setMethod("post").setRouteParams({ token: e }).setPayload(t), Ri = (e) => I("candidate/register/read/:token").setRouteParams({ token: e }), Si = (e) => I("candidate/register/close/:token").setMethod("post").setRouteParams({ token: e }), uo = () => ({
|
|
1468
|
+
open: Pi,
|
|
1469
|
+
update: Ii,
|
|
1470
|
+
read: Ri,
|
|
1471
|
+
close: Si
|
|
1472
|
+
}), Oi = (e, t) => g("/v2/registrations/lookup").setQueryParam("candidate-id", e).setQueryParam("establishment-id", t), lo = () => ({
|
|
1473
|
+
lookupEstablishment: Oi
|
|
1474
|
+
}), Ci = () => I("speciality").isList().addGroup("Term:id").addGroup("Term:name"), _i = (e, t = !0) => g("speciality/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), fo = () => ({
|
|
1475
|
+
list: Ci,
|
|
1476
|
+
listByEstablishment: _i
|
|
1477
|
+
}), ki = (e) => g("/tag/public/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), po = () => ({
|
|
1478
|
+
listByEstablishment: ki
|
|
1479
|
+
}), $i = (e, t) => g("/v2/talents/lookup").setQueryParam("candidate-id", e).setQueryParam("establishment-id", t), Ti = (e) => g("/v2/talents/index").setMethod("post").setPayload(e), mo = () => ({
|
|
1480
|
+
lookupTalent: $i,
|
|
1481
|
+
addCandidateToTalentPool: Ti
|
|
1482
|
+
}), Ni = (e) => I("user/email/isset/:email").setRouteParams({ email: e }), Mi = () => g("user/self").addGroup("user:self"), Li = (e) => g("/user/:uuid").setRouteParams({ uuid: e }), Di = (e) => I("/user/:uuid").setRouteParams({ uuid: e }), ji = (e) => g("/user/:id/uuid").setRouteParams({ id: e }), xi = () => ({
|
|
1483
|
+
emailExists: Ni,
|
|
1484
|
+
self: Mi,
|
|
1485
|
+
byUuidPrivate: Li,
|
|
1486
|
+
byUuid: Di,
|
|
1487
|
+
fetchUuid: ji
|
|
1488
|
+
}), ht = () => {
|
|
1489
|
+
const e = ze(null), t = ze({}), r = W(() => e.value.roles ?? []), n = W(() => r.value.includes("ROLE_RH")), i = W(() => r.value.includes("ROLE_CANDIDATE")), s = W(() => r.value.includes("ROLE_ADMIN"));
|
|
1490
|
+
return {
|
|
1491
|
+
user: e,
|
|
1492
|
+
establishments: t,
|
|
1493
|
+
roles: r,
|
|
1494
|
+
isRH: n,
|
|
1495
|
+
isCandidate: i,
|
|
1496
|
+
isAdmin: s,
|
|
1497
|
+
fetchSelf: async (d) => {
|
|
1498
|
+
if (e.value === null || d)
|
|
1499
|
+
return xi().self().send().then((u) => e.value = u.getData());
|
|
1046
1500
|
},
|
|
1047
|
-
|
|
1048
|
-
|
|
1501
|
+
fetchPermission: async (d, u) => {
|
|
1502
|
+
if (!t.value[d] || u)
|
|
1503
|
+
return ii().authorizations(d).send().then((a) => t.value[d] = a.getData());
|
|
1049
1504
|
}
|
|
1050
|
-
}
|
|
1051
|
-
}
|
|
1052
|
-
async function
|
|
1053
|
-
if (!
|
|
1505
|
+
};
|
|
1506
|
+
};
|
|
1507
|
+
async function ho(e, ...t) {
|
|
1508
|
+
if (!We().isAuthenticated())
|
|
1054
1509
|
throw "ERR_NOT_AUTHENTICATED";
|
|
1055
|
-
const n =
|
|
1510
|
+
const n = ht();
|
|
1056
1511
|
await Promise.all([
|
|
1057
1512
|
n.fetchSelf(),
|
|
1058
1513
|
n.fetchPermission(e)
|
|
1059
1514
|
]);
|
|
1060
|
-
for (let
|
|
1061
|
-
const
|
|
1062
|
-
if (!n.hasPermission(e,
|
|
1515
|
+
for (let i = 0; i < t.length; i++) {
|
|
1516
|
+
const s = t[i];
|
|
1517
|
+
if (!n.hasPermission(e, s))
|
|
1063
1518
|
throw "ERR_MISSING_PERMISSION";
|
|
1064
1519
|
}
|
|
1065
1520
|
}
|
|
1066
|
-
const
|
|
1067
|
-
|
|
1068
|
-
user: void 0,
|
|
1069
|
-
establishments: {}
|
|
1070
|
-
}),
|
|
1071
|
-
getters: {
|
|
1072
|
-
roles: (e) => e.user.roles ?? [],
|
|
1073
|
-
isRH() {
|
|
1074
|
-
return this.roles.includes("ROLE_RH");
|
|
1075
|
-
},
|
|
1076
|
-
isCandidate() {
|
|
1077
|
-
return this.roles.includes("ROLE_CANDIDATE");
|
|
1078
|
-
},
|
|
1079
|
-
isAdmin() {
|
|
1080
|
-
return this.roles.includes("ROLE_ADMIN");
|
|
1081
|
-
}
|
|
1082
|
-
},
|
|
1083
|
-
actions: {
|
|
1084
|
-
async fetchSelf(e) {
|
|
1085
|
-
if (this.user === void 0 || e) {
|
|
1086
|
-
const t = await ge().self().send();
|
|
1087
|
-
this.user = t.getData();
|
|
1088
|
-
}
|
|
1089
|
-
},
|
|
1090
|
-
async fetchPermission(e, t) {
|
|
1091
|
-
if (!this.establishments[e] || t) {
|
|
1092
|
-
const i = await ye().authorizations(e).send();
|
|
1093
|
-
this.establishments[e] = i.getData();
|
|
1094
|
-
}
|
|
1095
|
-
},
|
|
1096
|
-
hasPermission(e, ...t) {
|
|
1097
|
-
const i = this.establishments[e];
|
|
1098
|
-
return i === void 0 ? !1 : t.every((n) => i[n] === !0);
|
|
1099
|
-
}
|
|
1100
|
-
}
|
|
1101
|
-
});
|
|
1102
|
-
let N = null;
|
|
1521
|
+
const yo = Bt("authorization", ht);
|
|
1522
|
+
let F = null;
|
|
1103
1523
|
function y() {
|
|
1104
|
-
if (
|
|
1105
|
-
return
|
|
1106
|
-
const e =
|
|
1107
|
-
let
|
|
1108
|
-
function
|
|
1109
|
-
return
|
|
1524
|
+
if (F)
|
|
1525
|
+
return F;
|
|
1526
|
+
const e = j.getEnvironment(), t = (() => e === "prod" || e === "production" ? "pPROC7dPoJ7XdxHrwsTQNXCGX79MJjhp" : e === "staging" ? "823rqOTwVk1ZCWVyBAdLInZ77TcFF0CF" : "TMZX6evFnu87JrBHV5qLwHsld5C6hilZ")(), r = !!t, n = e !== "prod" && e !== "production";
|
|
1527
|
+
let i = null;
|
|
1528
|
+
function s() {
|
|
1529
|
+
return r;
|
|
1110
1530
|
}
|
|
1111
|
-
function
|
|
1112
|
-
const
|
|
1113
|
-
if (!
|
|
1531
|
+
function o() {
|
|
1532
|
+
const m = window.analytics = window.analytics || [];
|
|
1533
|
+
if (!m.initialize && m.invoked)
|
|
1114
1534
|
A.error("Segment snippet included twice.");
|
|
1115
1535
|
else {
|
|
1116
|
-
|
|
1536
|
+
m.invoked = !0, m.methods = ["trackSubmit", "trackClick", "trackLink", "trackForm", "pageview", "identify", "reset", "group", "track", "ready", "alias", "debug", "page", "once", "off", "on", "addSourceMiddleware", "addIntegrationMiddleware", "setAnonymousId", "addDestinationMiddleware"], m.factory = function(h) {
|
|
1117
1537
|
return function() {
|
|
1118
1538
|
if (window.analytics.initialized)
|
|
1119
1539
|
return window.analytics[h].apply(window.analytics, arguments);
|
|
1120
1540
|
const w = Array.prototype.slice.call(arguments);
|
|
1121
|
-
return w.unshift(h),
|
|
1541
|
+
return w.unshift(h), m.push(w), m;
|
|
1122
1542
|
};
|
|
1123
1543
|
};
|
|
1124
|
-
for (let h = 0; h <
|
|
1125
|
-
const w =
|
|
1126
|
-
|
|
1544
|
+
for (let h = 0; h < m.methods.length; h++) {
|
|
1545
|
+
const w = m.methods[h];
|
|
1546
|
+
m[w] = m.factory(w);
|
|
1127
1547
|
}
|
|
1128
|
-
|
|
1129
|
-
const
|
|
1130
|
-
|
|
1131
|
-
const
|
|
1132
|
-
|
|
1133
|
-
},
|
|
1548
|
+
m.load = function(h, w) {
|
|
1549
|
+
const v = document.createElement("script");
|
|
1550
|
+
v.id = "analytics-script", v.type = "text/javascript", v.async = !0, v.src = "https://cdn.segment.com/analytics.js/v1/" + h + "/analytics.min.js", v.onerror = () => window.dispatchEvent(new Event("analytics-error"));
|
|
1551
|
+
const $ = document.getElementsByTagName("script")[0];
|
|
1552
|
+
$.parentNode.insertBefore(v, $), m._loadOptions = w;
|
|
1553
|
+
}, m._writeKey = t, m.SNIPPET_VERSION = "4.16.1", m.load(t), m.page(), m.ready(() => window.dispatchEvent(new Event("analytics-ready")));
|
|
1134
1554
|
}
|
|
1135
1555
|
}
|
|
1136
|
-
async function
|
|
1137
|
-
return
|
|
1138
|
-
if (!
|
|
1139
|
-
return
|
|
1556
|
+
async function c() {
|
|
1557
|
+
return i !== null || (i = new Promise((m, h) => {
|
|
1558
|
+
if (!s())
|
|
1559
|
+
return p("Analytics is disabled."), m();
|
|
1140
1560
|
if (window.addEventListener("analytics-ready", () => {
|
|
1141
|
-
|
|
1561
|
+
p("Analytics script loaded successfully."), m();
|
|
1142
1562
|
}), window.addEventListener("analytics-error", () => {
|
|
1143
|
-
|
|
1144
|
-
}),
|
|
1145
|
-
return
|
|
1146
|
-
|
|
1147
|
-
})),
|
|
1148
|
-
}
|
|
1149
|
-
async function d(
|
|
1150
|
-
if (!
|
|
1563
|
+
p("Analytics script failed to load. Consider disabling your AdBlocker.", null, "error"), h();
|
|
1564
|
+
}), p("Loading Analytics script."), window.analytics)
|
|
1565
|
+
return m();
|
|
1566
|
+
o();
|
|
1567
|
+
})), i;
|
|
1568
|
+
}
|
|
1569
|
+
async function d(m, h) {
|
|
1570
|
+
if (!z())
|
|
1151
1571
|
try {
|
|
1152
|
-
if (await this.analyticsScriptReady(),
|
|
1153
|
-
return window.analytics.identify(
|
|
1572
|
+
if (await this.analyticsScriptReady(), p("[identify]", [m, h]), s())
|
|
1573
|
+
return window.analytics.identify(m, h);
|
|
1154
1574
|
} catch {
|
|
1155
|
-
|
|
1575
|
+
p("[identify]", [m, h], "error");
|
|
1156
1576
|
}
|
|
1157
1577
|
}
|
|
1158
|
-
async function
|
|
1159
|
-
if (!
|
|
1578
|
+
async function u(m, h, w) {
|
|
1579
|
+
if (!z()) {
|
|
1160
1580
|
typeof w != "object" && (w = {});
|
|
1161
1581
|
try {
|
|
1162
|
-
if (await this.analyticsScriptReady(),
|
|
1163
|
-
return window.analytics.page(
|
|
1582
|
+
if (await this.analyticsScriptReady(), p("[page]", [m, h, w]), s())
|
|
1583
|
+
return window.analytics.page(m, {
|
|
1164
1584
|
category: h,
|
|
1165
1585
|
...w
|
|
1166
1586
|
});
|
|
1167
|
-
} catch (
|
|
1168
|
-
console.log(
|
|
1587
|
+
} catch (v) {
|
|
1588
|
+
console.log(v), p("[page]", [m, h, w], "error");
|
|
1169
1589
|
}
|
|
1170
1590
|
}
|
|
1171
1591
|
}
|
|
1172
|
-
async function
|
|
1173
|
-
if (!
|
|
1592
|
+
async function a(m, h, w) {
|
|
1593
|
+
if (!z()) {
|
|
1174
1594
|
typeof w != "object" && (w = {});
|
|
1175
1595
|
try {
|
|
1176
|
-
if (await this.analyticsScriptReady(),
|
|
1177
|
-
return window.analytics.track(
|
|
1596
|
+
if (await this.analyticsScriptReady(), p("[track]", [m, h, w]), s())
|
|
1597
|
+
return window.analytics.track(m, {
|
|
1178
1598
|
category: h,
|
|
1179
1599
|
...w
|
|
1180
1600
|
});
|
|
1181
1601
|
} catch {
|
|
1182
|
-
|
|
1602
|
+
p("[track]", [m, h, w], "error");
|
|
1183
1603
|
}
|
|
1184
1604
|
}
|
|
1185
1605
|
}
|
|
1186
|
-
function
|
|
1187
|
-
h || (h = []), n && A[w](`::SDK Analytics:: ${
|
|
1606
|
+
function p(m, h = [], w = "info") {
|
|
1607
|
+
h || (h = []), n && A[w](`::SDK Analytics:: ${m}`, ...h);
|
|
1188
1608
|
}
|
|
1189
|
-
return
|
|
1190
|
-
analyticsScriptReady:
|
|
1191
|
-
isEnabled:
|
|
1609
|
+
return F = {
|
|
1610
|
+
analyticsScriptReady: c,
|
|
1611
|
+
isEnabled: s,
|
|
1192
1612
|
identify: d,
|
|
1193
|
-
page:
|
|
1194
|
-
track:
|
|
1195
|
-
consoleMessage:
|
|
1196
|
-
},
|
|
1613
|
+
page: u,
|
|
1614
|
+
track: a,
|
|
1615
|
+
consoleMessage: p
|
|
1616
|
+
}, F;
|
|
1197
1617
|
}
|
|
1198
|
-
y.destroy = () =>
|
|
1199
|
-
function
|
|
1618
|
+
y.destroy = () => F = null;
|
|
1619
|
+
function Vi() {
|
|
1200
1620
|
const e = "Hubler Application";
|
|
1201
|
-
function t(
|
|
1202
|
-
if (!
|
|
1621
|
+
function t(u) {
|
|
1622
|
+
if (!u)
|
|
1203
1623
|
throw new Error(`Missing arguments for domain "${e}"`);
|
|
1204
|
-
const
|
|
1205
|
-
if (
|
|
1624
|
+
const a = !!u.offerId;
|
|
1625
|
+
if (a && !u.recruitmentId)
|
|
1206
1626
|
throw new Error(`Missing argument "recruitmentId" for domain "${e}"`);
|
|
1207
1627
|
return {
|
|
1208
|
-
companyId:
|
|
1209
|
-
jobOfferId:
|
|
1210
|
-
recruitmentId:
|
|
1211
|
-
selections: [
|
|
1628
|
+
companyId: u.establishmentId ? u.establishmentId.toString() : null,
|
|
1629
|
+
jobOfferId: a ? u.offerId.toString() : null,
|
|
1630
|
+
recruitmentId: a ? u.recruitmentId.toString() : null,
|
|
1631
|
+
selections: [a ? "Application" : "Spontaneous Application"]
|
|
1212
1632
|
};
|
|
1213
1633
|
}
|
|
1214
|
-
async function
|
|
1215
|
-
return y().page("Application Authentication Viewed", e, t(
|
|
1634
|
+
async function r(u) {
|
|
1635
|
+
return y().page("Application Authentication Viewed", e, t(u));
|
|
1216
1636
|
}
|
|
1217
|
-
async function n(
|
|
1218
|
-
return y().page("Application Magic Link Viewed", e, t(
|
|
1637
|
+
async function n(u) {
|
|
1638
|
+
return y().page("Application Magic Link Viewed", e, t(u));
|
|
1219
1639
|
}
|
|
1220
|
-
async function
|
|
1221
|
-
return y().page("Application Job Viewed", e, t(
|
|
1640
|
+
async function i(u) {
|
|
1641
|
+
return y().page("Application Job Viewed", e, t(u));
|
|
1222
1642
|
}
|
|
1223
|
-
async function
|
|
1224
|
-
return y().page("Application Information Viewed", e, t(
|
|
1643
|
+
async function s(u) {
|
|
1644
|
+
return y().page("Application Information Viewed", e, t(u));
|
|
1225
1645
|
}
|
|
1226
|
-
async function u
|
|
1227
|
-
return y().page("Application Document Viewed", e, t(
|
|
1646
|
+
async function o(u) {
|
|
1647
|
+
return y().page("Application Document Viewed", e, t(u));
|
|
1228
1648
|
}
|
|
1229
|
-
async function
|
|
1230
|
-
return y().page("Application Success Viewed", e, t(
|
|
1649
|
+
async function c(u) {
|
|
1650
|
+
return y().page("Application Success Viewed", e, t(u));
|
|
1231
1651
|
}
|
|
1232
|
-
async function d(
|
|
1233
|
-
if (!
|
|
1652
|
+
async function d(u) {
|
|
1653
|
+
if (!u.error)
|
|
1234
1654
|
throw new Error(`Missing argument "error" for domain "${e}", event "Application Form Failed"`);
|
|
1235
|
-
return y().track("Application Form Failed", e, { ...t(
|
|
1655
|
+
return y().track("Application Form Failed", e, { ...t(u), error: u.error });
|
|
1236
1656
|
}
|
|
1237
1657
|
return {
|
|
1238
|
-
applicationAuthenticationViewed:
|
|
1658
|
+
applicationAuthenticationViewed: r,
|
|
1239
1659
|
applicationMagicLinkViewed: n,
|
|
1240
|
-
applicationJobViewed:
|
|
1241
|
-
applicationInformationViewed:
|
|
1242
|
-
applicationDocumentViewed:
|
|
1243
|
-
applicationSuccessViewed:
|
|
1660
|
+
applicationJobViewed: i,
|
|
1661
|
+
applicationInformationViewed: s,
|
|
1662
|
+
applicationDocumentViewed: o,
|
|
1663
|
+
applicationSuccessViewed: c,
|
|
1244
1664
|
applicationFormFailed: d
|
|
1245
1665
|
};
|
|
1246
1666
|
}
|
|
1247
|
-
function
|
|
1667
|
+
function zi() {
|
|
1248
1668
|
const e = "Profile";
|
|
1249
|
-
function t(
|
|
1250
|
-
var
|
|
1251
|
-
if (!
|
|
1669
|
+
function t(f, P) {
|
|
1670
|
+
var C;
|
|
1671
|
+
if (!f)
|
|
1252
1672
|
throw new Error(`Missing arguments for domain "${e}"`);
|
|
1253
1673
|
const R = {
|
|
1254
|
-
companyId:
|
|
1255
|
-
hublerId: (
|
|
1674
|
+
companyId: f.companyId ? f.companyId.toString() : null,
|
|
1675
|
+
hublerId: (C = f.hublerId) == null ? void 0 : C.toString()
|
|
1256
1676
|
};
|
|
1257
|
-
return P && (R.productId =
|
|
1677
|
+
return P && (R.productId = f.companyId ? f.companyId + "_2" : null), f.recruitmentId && (R.recruitmentId = f.recruitmentId.toString()), f.selections && (R.selections = f.selections), f.institutionId && (R.institutionId = f.institutionId.map(String)), R;
|
|
1258
1678
|
}
|
|
1259
|
-
async function
|
|
1260
|
-
return y().track(
|
|
1679
|
+
async function r(f) {
|
|
1680
|
+
return y().track(f.name, e, t(f.properties), !0);
|
|
1261
1681
|
}
|
|
1262
|
-
async function n(
|
|
1263
|
-
return y().track(
|
|
1682
|
+
async function n(f) {
|
|
1683
|
+
return y().track(f.name, e, t(f.properties, !0));
|
|
1264
1684
|
}
|
|
1265
|
-
async function
|
|
1266
|
-
return y().track(
|
|
1685
|
+
async function i(f) {
|
|
1686
|
+
return y().track(f.name, e, t(f.properties, !0));
|
|
1267
1687
|
}
|
|
1268
|
-
async function
|
|
1269
|
-
return y().track(
|
|
1688
|
+
async function s(f) {
|
|
1689
|
+
return y().track(f.name, e, t(f.properties, !0));
|
|
1270
1690
|
}
|
|
1271
|
-
async function
|
|
1272
|
-
return y().track(
|
|
1691
|
+
async function o(f) {
|
|
1692
|
+
return y().track(f.name, e, t(f.properties, !0));
|
|
1273
1693
|
}
|
|
1274
|
-
async function
|
|
1275
|
-
return y().track(
|
|
1694
|
+
async function c(f) {
|
|
1695
|
+
return y().track(f.name, e, t(f.properties, !0));
|
|
1276
1696
|
}
|
|
1277
|
-
async function d(
|
|
1278
|
-
return y().track(
|
|
1697
|
+
async function d(f) {
|
|
1698
|
+
return y().track(f.name, e, t(f.properties, !0));
|
|
1279
1699
|
}
|
|
1280
|
-
async function
|
|
1281
|
-
return y().track(
|
|
1700
|
+
async function u(f) {
|
|
1701
|
+
return y().track(f.name, e, t(f.properties, !0));
|
|
1282
1702
|
}
|
|
1283
|
-
async function
|
|
1284
|
-
return y().track(
|
|
1703
|
+
async function a(f) {
|
|
1704
|
+
return y().track(f.name, e, t(f.properties, !0));
|
|
1285
1705
|
}
|
|
1286
|
-
async function f
|
|
1287
|
-
return y().track(
|
|
1706
|
+
async function p(f) {
|
|
1707
|
+
return y().track(f.name, e, t(f.properties, !0));
|
|
1288
1708
|
}
|
|
1289
|
-
async function
|
|
1290
|
-
return y().track(
|
|
1709
|
+
async function m(f) {
|
|
1710
|
+
return y().track(f.name, e, t(f.properties, !0));
|
|
1291
1711
|
}
|
|
1292
|
-
async function h(
|
|
1293
|
-
return y().track(
|
|
1712
|
+
async function h(f) {
|
|
1713
|
+
return y().track(f.name, e, t(f.properties, !0));
|
|
1294
1714
|
}
|
|
1295
|
-
async function w(
|
|
1296
|
-
return y().track(
|
|
1715
|
+
async function w(f) {
|
|
1716
|
+
return y().track(f.name, e, t(f.properties, !0));
|
|
1297
1717
|
}
|
|
1298
|
-
async function
|
|
1299
|
-
return y().page(
|
|
1718
|
+
async function v(f) {
|
|
1719
|
+
return y().page(f.name, f.properties.category, t(f.properties, !1));
|
|
1300
1720
|
}
|
|
1301
|
-
async function
|
|
1302
|
-
return y().track(
|
|
1721
|
+
async function $(f) {
|
|
1722
|
+
return y().track(f.name, e, t(f.properties, !1));
|
|
1303
1723
|
}
|
|
1304
1724
|
return {
|
|
1305
|
-
profileDocumentDeleted:
|
|
1725
|
+
profileDocumentDeleted: r,
|
|
1306
1726
|
profileLabelAdded: n,
|
|
1307
|
-
profileLabelRemoved:
|
|
1308
|
-
profileShared:
|
|
1309
|
-
profileArchived:
|
|
1310
|
-
profileCandidateAdded:
|
|
1727
|
+
profileLabelRemoved: i,
|
|
1728
|
+
profileShared: s,
|
|
1729
|
+
profileArchived: o,
|
|
1730
|
+
profileCandidateAdded: c,
|
|
1311
1731
|
profileCommentAdded: d,
|
|
1312
|
-
profileDocumentAdded:
|
|
1313
|
-
profileDocumentDownloaded:
|
|
1314
|
-
profileDocumentRequested:
|
|
1315
|
-
profileRecruitmentAdded:
|
|
1732
|
+
profileDocumentAdded: u,
|
|
1733
|
+
profileDocumentDownloaded: a,
|
|
1734
|
+
profileDocumentRequested: p,
|
|
1735
|
+
profileRecruitmentAdded: m,
|
|
1316
1736
|
profileRecruitmentRemoved: h,
|
|
1317
1737
|
profileTabSelected: w,
|
|
1318
|
-
profileViewed:
|
|
1319
|
-
profileEmailSent:
|
|
1738
|
+
profileViewed: v,
|
|
1739
|
+
profileEmailSent: $
|
|
1320
1740
|
};
|
|
1321
1741
|
}
|
|
1322
|
-
function
|
|
1742
|
+
function Bi() {
|
|
1323
1743
|
const e = "Recruitment";
|
|
1324
1744
|
function t(n) {
|
|
1325
1745
|
if (!n)
|
|
1326
1746
|
throw new Error(`Missing arguments for domain "${e}"`);
|
|
1327
|
-
const
|
|
1747
|
+
const i = {
|
|
1328
1748
|
companyId: n.companyId ? n.companyId.toString() : null
|
|
1329
1749
|
};
|
|
1330
|
-
return n.institutionId && (
|
|
1750
|
+
return n.institutionId && (i.institutionId = [n.institutionId.toString()]), n.origin && (i.origin = n.origin.toString()), i;
|
|
1331
1751
|
}
|
|
1332
|
-
async function
|
|
1752
|
+
async function r(n) {
|
|
1333
1753
|
return y().track(n.name, e, { ...t(n), recruitmentId: n.recruitmentId.toString(), count: parseInt(n.count) });
|
|
1334
1754
|
}
|
|
1335
1755
|
return {
|
|
1336
|
-
candidateAdded:
|
|
1756
|
+
candidateAdded: r
|
|
1337
1757
|
};
|
|
1338
1758
|
}
|
|
1339
|
-
function
|
|
1759
|
+
function Fi() {
|
|
1340
1760
|
const e = "Visual Builder";
|
|
1341
|
-
function t(
|
|
1342
|
-
if (!
|
|
1761
|
+
function t(l, Mt) {
|
|
1762
|
+
if (!l)
|
|
1343
1763
|
throw new Error(`Missing arguments for domain "${e}"`);
|
|
1344
|
-
const
|
|
1345
|
-
companyId:
|
|
1764
|
+
const B = {
|
|
1765
|
+
companyId: l.companyId ? l.companyId.toString() : null
|
|
1346
1766
|
};
|
|
1347
|
-
return
|
|
1767
|
+
return Mt && (B.productId = l.companyId ? l.companyId + "_2" : null), l.selections && (B.selections = l.selections), l.error && (B.error = l.error), l.institutionId && (B.institutionId = [l.institutionId.toString()]), B;
|
|
1348
1768
|
}
|
|
1349
|
-
async function
|
|
1350
|
-
return y().page(
|
|
1769
|
+
async function r(l) {
|
|
1770
|
+
return y().page(l.name, e, t(l.properties, !0));
|
|
1351
1771
|
}
|
|
1352
|
-
async function n(
|
|
1353
|
-
return y().track(
|
|
1772
|
+
async function n(l) {
|
|
1773
|
+
return y().track(l.name, e, t(l.properties), !0);
|
|
1354
1774
|
}
|
|
1355
|
-
async function
|
|
1356
|
-
return y().track(
|
|
1775
|
+
async function i(l) {
|
|
1776
|
+
return y().track(l.name, e, t(l.properties, !0));
|
|
1357
1777
|
}
|
|
1358
|
-
async function
|
|
1359
|
-
return y().page(
|
|
1778
|
+
async function s(l) {
|
|
1779
|
+
return y().page(l.name, e, t(l.properties, !0));
|
|
1360
1780
|
}
|
|
1361
|
-
async function
|
|
1362
|
-
return y().page(
|
|
1781
|
+
async function o(l) {
|
|
1782
|
+
return y().page(l.name, e, t(l.properties, !0));
|
|
1363
1783
|
}
|
|
1364
|
-
async function
|
|
1365
|
-
return y().track(
|
|
1784
|
+
async function c(l) {
|
|
1785
|
+
return y().track(l.name, e, t(l.properties, !0));
|
|
1366
1786
|
}
|
|
1367
|
-
async function d(
|
|
1368
|
-
return y().page(
|
|
1787
|
+
async function d(l) {
|
|
1788
|
+
return y().page(l.name, e, t(l.properties, !0));
|
|
1369
1789
|
}
|
|
1370
|
-
async function
|
|
1371
|
-
return y().page(
|
|
1790
|
+
async function u(l) {
|
|
1791
|
+
return y().page(l.name, e, t(l.properties, !0));
|
|
1372
1792
|
}
|
|
1373
|
-
async function
|
|
1374
|
-
return y().page(
|
|
1793
|
+
async function a(l) {
|
|
1794
|
+
return y().page(l.name, e, t(l.properties, !0));
|
|
1375
1795
|
}
|
|
1376
|
-
async function
|
|
1377
|
-
return y().track(
|
|
1796
|
+
async function p(l) {
|
|
1797
|
+
return y().track(l.name, e, t(l.properties, !0));
|
|
1378
1798
|
}
|
|
1379
|
-
async function
|
|
1380
|
-
return y().page(
|
|
1799
|
+
async function m(l) {
|
|
1800
|
+
return y().page(l.name, e, t(l.properties, !0));
|
|
1381
1801
|
}
|
|
1382
|
-
async function h(
|
|
1383
|
-
return y().page(
|
|
1802
|
+
async function h(l) {
|
|
1803
|
+
return y().page(l.name, e, t(l.properties, !0));
|
|
1384
1804
|
}
|
|
1385
|
-
async function w(
|
|
1386
|
-
return y().track(
|
|
1805
|
+
async function w(l) {
|
|
1806
|
+
return y().track(l.name, e, t(l.properties, !0));
|
|
1387
1807
|
}
|
|
1388
|
-
async function
|
|
1389
|
-
return y().track(
|
|
1808
|
+
async function v(l) {
|
|
1809
|
+
return y().track(l.name, e, t(l.properties, !0));
|
|
1390
1810
|
}
|
|
1391
|
-
async function
|
|
1392
|
-
return y().page(
|
|
1811
|
+
async function $(l) {
|
|
1812
|
+
return y().page(l.name, e, t(l.properties, !0));
|
|
1393
1813
|
}
|
|
1394
|
-
async function l
|
|
1395
|
-
return y().page(
|
|
1814
|
+
async function f(l) {
|
|
1815
|
+
return y().page(l.name, e, t(l.properties, !0));
|
|
1396
1816
|
}
|
|
1397
|
-
async function P(
|
|
1398
|
-
return y().page(
|
|
1817
|
+
async function P(l) {
|
|
1818
|
+
return y().page(l.name, e, t(l.properties, !0));
|
|
1399
1819
|
}
|
|
1400
|
-
async function R(
|
|
1401
|
-
return y().page(
|
|
1820
|
+
async function R(l) {
|
|
1821
|
+
return y().page(l.name, e, t(l.properties, !0));
|
|
1402
1822
|
}
|
|
1403
|
-
async function
|
|
1404
|
-
return y().page(
|
|
1823
|
+
async function C(l) {
|
|
1824
|
+
return y().page(l.name, e, t(l.properties, !1));
|
|
1405
1825
|
}
|
|
1406
|
-
async function
|
|
1407
|
-
return y().track(
|
|
1826
|
+
async function vt(l) {
|
|
1827
|
+
return y().track(l.name, e, t(l.properties, !0));
|
|
1408
1828
|
}
|
|
1409
|
-
async function
|
|
1410
|
-
return y().track(
|
|
1829
|
+
async function Et(l) {
|
|
1830
|
+
return y().track(l.name, e, t(l.properties, !0));
|
|
1411
1831
|
}
|
|
1412
|
-
async function
|
|
1413
|
-
return y().track(
|
|
1832
|
+
async function At(l) {
|
|
1833
|
+
return y().track(l.name, e, t(l.properties, !0));
|
|
1414
1834
|
}
|
|
1415
|
-
async function
|
|
1416
|
-
return y().track(
|
|
1835
|
+
async function Pt(l) {
|
|
1836
|
+
return y().track(l.name, e, t(l.properties, !0));
|
|
1417
1837
|
}
|
|
1418
|
-
async function
|
|
1419
|
-
return y().track(
|
|
1838
|
+
async function It(l) {
|
|
1839
|
+
return y().track(l.name, e, t(l.properties, !0));
|
|
1420
1840
|
}
|
|
1421
|
-
async function
|
|
1422
|
-
return y().track(
|
|
1841
|
+
async function Rt(l) {
|
|
1842
|
+
return y().track(l.name, e, t(l.properties, !0));
|
|
1423
1843
|
}
|
|
1424
|
-
async function
|
|
1425
|
-
return y().track(
|
|
1844
|
+
async function St(l) {
|
|
1845
|
+
return y().track(l.name, e, t(l.properties, !0));
|
|
1426
1846
|
}
|
|
1427
|
-
async function
|
|
1428
|
-
return y().track(
|
|
1847
|
+
async function Ot(l) {
|
|
1848
|
+
return y().track(l.name, e, t(l.properties, !0));
|
|
1429
1849
|
}
|
|
1430
|
-
async function
|
|
1431
|
-
return y().track(
|
|
1850
|
+
async function Ct(l) {
|
|
1851
|
+
return y().track(l.name, e, t(l.properties, !0));
|
|
1432
1852
|
}
|
|
1433
|
-
async function
|
|
1434
|
-
return y().track(
|
|
1853
|
+
async function _t(l) {
|
|
1854
|
+
return y().track(l.name, e, t(l.properties, !0));
|
|
1435
1855
|
}
|
|
1436
|
-
async function
|
|
1437
|
-
return y().track(
|
|
1856
|
+
async function kt(l) {
|
|
1857
|
+
return y().track(l.name, e, t(l.properties, !0));
|
|
1438
1858
|
}
|
|
1439
|
-
async function
|
|
1440
|
-
return y().track(
|
|
1859
|
+
async function $t(l) {
|
|
1860
|
+
return y().track(l.name, e, t(l.properties, !0));
|
|
1441
1861
|
}
|
|
1442
|
-
async function
|
|
1443
|
-
return y().track(
|
|
1862
|
+
async function Tt(l) {
|
|
1863
|
+
return y().track(l.name, e, t(l.properties, !0));
|
|
1444
1864
|
}
|
|
1445
|
-
async function
|
|
1446
|
-
return y().page(
|
|
1865
|
+
async function Nt(l) {
|
|
1866
|
+
return y().page(l.name, e, t(l.properties, !1));
|
|
1447
1867
|
}
|
|
1448
1868
|
return {
|
|
1449
|
-
careerSitePreviewViewed:
|
|
1869
|
+
careerSitePreviewViewed: r,
|
|
1450
1870
|
careerSitePublished: n,
|
|
1451
|
-
setupBenefitCustomAdded:
|
|
1452
|
-
setupBenefitViewed:
|
|
1453
|
-
setupCandidateInformationViewed:
|
|
1454
|
-
setupContactAdded:
|
|
1871
|
+
setupBenefitCustomAdded: i,
|
|
1872
|
+
setupBenefitViewed: s,
|
|
1873
|
+
setupCandidateInformationViewed: o,
|
|
1874
|
+
setupContactAdded: c,
|
|
1455
1875
|
setupContactViewed: d,
|
|
1456
|
-
setupEditionDoneViewed:
|
|
1457
|
-
setupExternalLinkViewed:
|
|
1458
|
-
setupImageUploaded:
|
|
1459
|
-
setupImageViewed:
|
|
1876
|
+
setupEditionDoneViewed: u,
|
|
1877
|
+
setupExternalLinkViewed: a,
|
|
1878
|
+
setupImageUploaded: p,
|
|
1879
|
+
setupImageViewed: m,
|
|
1460
1880
|
setupLocationViewed: h,
|
|
1461
1881
|
setupPresentationContentAdded: w,
|
|
1462
|
-
setupPresentationNewTabAdded:
|
|
1463
|
-
setupPresentationViewed:
|
|
1464
|
-
setupSettingsDoneViewed:
|
|
1882
|
+
setupPresentationNewTabAdded: v,
|
|
1883
|
+
setupPresentationViewed: $,
|
|
1884
|
+
setupSettingsDoneViewed: f,
|
|
1465
1885
|
setupSocialNetworkViewed: P,
|
|
1466
1886
|
setupThemeViewed: R,
|
|
1467
|
-
visualBuilderViewed:
|
|
1468
|
-
setupImageUploadFailed:
|
|
1469
|
-
fastCopyLinkClicked:
|
|
1470
|
-
setupBenefitCustomDeleted:
|
|
1471
|
-
setupBenefitCustomEdited:
|
|
1472
|
-
setupContactDeleted:
|
|
1473
|
-
setupContactEdited:
|
|
1474
|
-
setupContactNewClicked:
|
|
1475
|
-
setupPresentationContentDeleted:
|
|
1476
|
-
setupPresentationContentDuplicated:
|
|
1477
|
-
setupPresentationContentMoved:
|
|
1478
|
-
setupPresentationTabDeleted:
|
|
1479
|
-
setupPresentationTabEdited:
|
|
1480
|
-
setupPresentationTabMoved:
|
|
1481
|
-
setupSEOViewed:
|
|
1887
|
+
visualBuilderViewed: C,
|
|
1888
|
+
setupImageUploadFailed: vt,
|
|
1889
|
+
fastCopyLinkClicked: Et,
|
|
1890
|
+
setupBenefitCustomDeleted: At,
|
|
1891
|
+
setupBenefitCustomEdited: Pt,
|
|
1892
|
+
setupContactDeleted: It,
|
|
1893
|
+
setupContactEdited: Rt,
|
|
1894
|
+
setupContactNewClicked: St,
|
|
1895
|
+
setupPresentationContentDeleted: Ot,
|
|
1896
|
+
setupPresentationContentDuplicated: Ct,
|
|
1897
|
+
setupPresentationContentMoved: _t,
|
|
1898
|
+
setupPresentationTabDeleted: kt,
|
|
1899
|
+
setupPresentationTabEdited: $t,
|
|
1900
|
+
setupPresentationTabMoved: Tt,
|
|
1901
|
+
setupSEOViewed: Nt
|
|
1482
1902
|
};
|
|
1483
1903
|
}
|
|
1484
|
-
const
|
|
1904
|
+
const Be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1485
1905
|
__proto__: null,
|
|
1486
|
-
useAnalyticsHublerApplication:
|
|
1487
|
-
useAnalyticsProfile:
|
|
1488
|
-
useAnalyticsRecruitment:
|
|
1489
|
-
useAnalyticsVisualBuilder:
|
|
1906
|
+
useAnalyticsHublerApplication: Vi,
|
|
1907
|
+
useAnalyticsProfile: zi,
|
|
1908
|
+
useAnalyticsRecruitment: Bi,
|
|
1909
|
+
useAnalyticsVisualBuilder: Fi
|
|
1490
1910
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1491
|
-
function
|
|
1492
|
-
function e(
|
|
1493
|
-
return y().identify(
|
|
1494
|
-
email:
|
|
1495
|
-
firstName:
|
|
1496
|
-
lastName:
|
|
1497
|
-
createdAt:
|
|
1911
|
+
function go() {
|
|
1912
|
+
function e(r) {
|
|
1913
|
+
return y().identify(r.id, {
|
|
1914
|
+
email: r.email,
|
|
1915
|
+
firstName: r.firstname,
|
|
1916
|
+
lastName: r.lastname,
|
|
1917
|
+
createdAt: r.createdAt,
|
|
1498
1918
|
type: "Hubler",
|
|
1499
1919
|
lang: "fr",
|
|
1500
1920
|
medium: t() ? "MOBILE_DEVICE" : "WEB_BROWSER"
|
|
1501
1921
|
});
|
|
1502
1922
|
}
|
|
1503
1923
|
function t() {
|
|
1504
|
-
let
|
|
1924
|
+
let r = !1;
|
|
1505
1925
|
return function(n) {
|
|
1506
|
-
(/(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(n) || /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(n.substr(0, 4))) && (
|
|
1507
|
-
}(navigator.userAgent || navigator.vendor || window.opera),
|
|
1926
|
+
(/(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(n) || /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(n.substr(0, 4))) && (r = !0);
|
|
1927
|
+
}(navigator.userAgent || navigator.vendor || window.opera), r;
|
|
1508
1928
|
}
|
|
1509
1929
|
return {
|
|
1510
1930
|
identifyCandidate: e
|
|
1511
1931
|
};
|
|
1512
1932
|
}
|
|
1513
|
-
let
|
|
1514
|
-
const
|
|
1933
|
+
let ie = null;
|
|
1934
|
+
const Ui = async (e, t) => {
|
|
1515
1935
|
try {
|
|
1516
|
-
return await
|
|
1936
|
+
return await de(), A.info("[identify]", [e, t]), window.analytics.identify(e, t);
|
|
1517
1937
|
} catch {
|
|
1518
1938
|
A.error("[identify]", [e, t]);
|
|
1519
1939
|
}
|
|
1520
|
-
},
|
|
1521
|
-
typeof
|
|
1940
|
+
}, Hi = async (e, t, r) => {
|
|
1941
|
+
typeof r != "object" && (r = {});
|
|
1522
1942
|
try {
|
|
1523
|
-
return await
|
|
1943
|
+
return await de(), A.info("[page]", [e, t, r]), window.analytics.page(e, {
|
|
1524
1944
|
category: t,
|
|
1525
|
-
...
|
|
1945
|
+
...r
|
|
1526
1946
|
});
|
|
1527
1947
|
} catch {
|
|
1528
|
-
A.error("[page]", [e, t,
|
|
1948
|
+
A.error("[page]", [e, t, r]);
|
|
1529
1949
|
}
|
|
1530
|
-
},
|
|
1531
|
-
typeof
|
|
1950
|
+
}, Qi = async (e, t, r) => {
|
|
1951
|
+
typeof r != "object" && (r = {});
|
|
1532
1952
|
try {
|
|
1533
|
-
return await
|
|
1953
|
+
return await de(), A.info("[track]", [e, t, r]), window.analytics.track(e, {
|
|
1534
1954
|
category: t,
|
|
1535
|
-
...
|
|
1955
|
+
...r
|
|
1536
1956
|
});
|
|
1537
1957
|
} catch {
|
|
1538
|
-
A.error("[track]", [e, t,
|
|
1958
|
+
A.error("[track]", [e, t, r]);
|
|
1539
1959
|
}
|
|
1540
|
-
},
|
|
1541
|
-
const e =
|
|
1960
|
+
}, Ee = () => {
|
|
1961
|
+
const e = j.getEnvironment();
|
|
1542
1962
|
return e === "prod" || e === "production" ? "pPROC7dPoJ7XdxHrwsTQNXCGX79MJjhp" : e === "staging" ? "823rqOTwVk1ZCWVyBAdLInZ77TcFF0CF" : "TMZX6evFnu87JrBHV5qLwHsld5C6hilZ";
|
|
1543
|
-
},
|
|
1963
|
+
}, yt = () => {
|
|
1544
1964
|
const e = window.analytics = window.analytics || [];
|
|
1545
1965
|
if (!e.initialize && e.invoked)
|
|
1546
1966
|
A.error("Segment snippet included twice.");
|
|
@@ -1549,57 +1969,57 @@ const ai = async (e, t) => {
|
|
|
1549
1969
|
return function() {
|
|
1550
1970
|
if (window.analytics.initialized)
|
|
1551
1971
|
return window.analytics[t].apply(window.analytics, arguments);
|
|
1552
|
-
const
|
|
1553
|
-
return
|
|
1972
|
+
const r = Array.prototype.slice.call(arguments);
|
|
1973
|
+
return r.unshift(t), e.push(r), e;
|
|
1554
1974
|
};
|
|
1555
1975
|
};
|
|
1556
1976
|
for (let t = 0; t < e.methods.length; t++) {
|
|
1557
|
-
const
|
|
1558
|
-
e[
|
|
1977
|
+
const r = e.methods[t];
|
|
1978
|
+
e[r] = e.factory(r);
|
|
1559
1979
|
}
|
|
1560
|
-
e.load = function(t,
|
|
1980
|
+
e.load = function(t, r) {
|
|
1561
1981
|
const n = document.createElement("script");
|
|
1562
1982
|
n.id = "analytics-script", n.type = "text/javascript", n.async = !0, n.src = "https://cdn.segment.com/analytics.js/v1/" + t + "/analytics.min.js", n.onerror = () => window.dispatchEvent(new Event("analytics-error"));
|
|
1563
|
-
const
|
|
1564
|
-
|
|
1565
|
-
}, e._writeKey =
|
|
1983
|
+
const i = document.getElementsByTagName("script")[0];
|
|
1984
|
+
i.parentNode.insertBefore(n, i), e._loadOptions = r;
|
|
1985
|
+
}, e._writeKey = Ee(), e.SNIPPET_VERSION = "4.16.1", e.load(Ee()), e.page(), e.ready(() => window.dispatchEvent(new Event("analytics-ready")));
|
|
1566
1986
|
}
|
|
1567
|
-
},
|
|
1987
|
+
}, de = () => (ie !== null || (ie = new Promise((e, t) => {
|
|
1568
1988
|
if (window.addEventListener("analytics-ready", () => {
|
|
1569
1989
|
A.info("Analytics script loaded successfully."), e();
|
|
1570
1990
|
}), window.addEventListener("analytics-error", () => {
|
|
1571
1991
|
A.error("Analytics script failed to load. Consider disabling your AdBlocker."), t();
|
|
1572
1992
|
}), A.info("Loading Analytics script."), window.analytics)
|
|
1573
1993
|
return e();
|
|
1574
|
-
|
|
1575
|
-
})),
|
|
1576
|
-
key:
|
|
1577
|
-
appendScript:
|
|
1578
|
-
ready:
|
|
1579
|
-
identify:
|
|
1580
|
-
page:
|
|
1581
|
-
track:
|
|
1582
|
-
},
|
|
1583
|
-
let
|
|
1584
|
-
const
|
|
1585
|
-
|
|
1586
|
-
}),
|
|
1587
|
-
|
|
1588
|
-
}),
|
|
1589
|
-
const
|
|
1590
|
-
window.google.maps.event.addListener(
|
|
1591
|
-
const n =
|
|
1994
|
+
yt();
|
|
1995
|
+
})), ie), wo = {
|
|
1996
|
+
key: Ee,
|
|
1997
|
+
appendScript: yt,
|
|
1998
|
+
ready: de,
|
|
1999
|
+
identify: Ui,
|
|
2000
|
+
page: Hi,
|
|
2001
|
+
track: Qi
|
|
2002
|
+
}, qi = "AIzaSyDicyRD6rvVdnicp1tgV0ElazASNGbyyTs";
|
|
2003
|
+
let gt = !1;
|
|
2004
|
+
const wt = () => new Promise((e) => {
|
|
2005
|
+
z() || gt || window.google && window.google.maps ? e() : (window.addEventListener("gmap-ready", () => e()), Wi());
|
|
2006
|
+
}), Gi = (e, t) => wt().then(() => {
|
|
2007
|
+
z() || Ki(e, t);
|
|
2008
|
+
}), Ki = (e, t) => {
|
|
2009
|
+
const r = new window.google.maps.places.Autocomplete(e, { componentRestrictions: { country: ["fr", "re", "yt", "gp", "mq"] } });
|
|
2010
|
+
window.google.maps.event.addListener(r, "place_changed", () => {
|
|
2011
|
+
const n = r.getPlace();
|
|
1592
2012
|
n.formatted_address && t && t(n.formatted_address, n);
|
|
1593
2013
|
});
|
|
1594
|
-
},
|
|
2014
|
+
}, Wi = () => {
|
|
1595
2015
|
window.onGmapScriptReady = () => {
|
|
1596
2016
|
};
|
|
1597
2017
|
const e = document.createElement("script");
|
|
1598
|
-
e.src = "https://maps.googleapis.com/maps/api/js?key=" +
|
|
1599
|
-
},
|
|
1600
|
-
scriptReady:
|
|
1601
|
-
autocompleteInput:
|
|
1602
|
-
},
|
|
2018
|
+
e.src = "https://maps.googleapis.com/maps/api/js?key=" + qi + "&libraries=places&callback=onGmapScriptReady", e.async = !0, e.defer = !0, e.onload = () => window.dispatchEvent(new Event("gmap-ready")), document.body.appendChild(e), gt = !0;
|
|
2019
|
+
}, bo = {
|
|
2020
|
+
scriptReady: wt,
|
|
2021
|
+
autocompleteInput: Gi
|
|
2022
|
+
}, Ji = {
|
|
1603
2023
|
common: {
|
|
1604
2024
|
the: "le",
|
|
1605
2025
|
from: "de"
|
|
@@ -1624,336 +2044,336 @@ const ve = () => new Promise((e) => {
|
|
|
1624
2044
|
minute: "minute | minutes",
|
|
1625
2045
|
second: "seconde | secondes"
|
|
1626
2046
|
}
|
|
1627
|
-
},
|
|
1628
|
-
fr:
|
|
2047
|
+
}, Zi = {
|
|
2048
|
+
fr: Ji
|
|
1629
2049
|
};
|
|
1630
|
-
let
|
|
1631
|
-
const
|
|
2050
|
+
let Ae = null;
|
|
2051
|
+
const Xi = () => Ae, vo = (e = {}) => {
|
|
1632
2052
|
let t = e.locale || "fr";
|
|
1633
|
-
const
|
|
1634
|
-
const
|
|
1635
|
-
return
|
|
1636
|
-
},
|
|
1637
|
-
const
|
|
1638
|
-
return
|
|
2053
|
+
const r = (d) => t = d, n = () => t, i = qe(Zi, (e == null ? void 0 : e.messages) || {}), s = (d, u) => {
|
|
2054
|
+
const a = D(i, `${t}.${d}`);
|
|
2055
|
+
return a ? u ? Yi(a, u) : a : d;
|
|
2056
|
+
}, o = (d, u) => {
|
|
2057
|
+
const a = D(i, `${t}.${d}`);
|
|
2058
|
+
return a ? es(a, u) : d;
|
|
1639
2059
|
};
|
|
1640
|
-
return
|
|
1641
|
-
t:
|
|
1642
|
-
tNode:
|
|
1643
|
-
setLocale:
|
|
2060
|
+
return Ae = {
|
|
2061
|
+
t: s,
|
|
2062
|
+
tNode: o,
|
|
2063
|
+
setLocale: r,
|
|
1644
2064
|
getLocale: n,
|
|
1645
2065
|
install: (d) => {
|
|
1646
|
-
d.config.globalProperties.$t =
|
|
2066
|
+
d.config.globalProperties.$t = s, d.config.globalProperties.$tNode = o;
|
|
1647
2067
|
}
|
|
1648
|
-
},
|
|
1649
|
-
},
|
|
2068
|
+
}, Ae;
|
|
2069
|
+
}, Yi = (e, t) => e ? e.replace(/{{ ?([a-zA-Z_.]+) ?}}/g, (r, n) => D(t, n)) : null, es = (e, t) => {
|
|
1650
2070
|
if (!e)
|
|
1651
2071
|
return null;
|
|
1652
|
-
const
|
|
1653
|
-
const
|
|
1654
|
-
if (
|
|
1655
|
-
return () =>
|
|
2072
|
+
const r = e.split(/(\{[{%]+[^{}]*[%}]+})/g).filter((n) => n !== "").map((n) => {
|
|
2073
|
+
const i = n.startsWith("{%") && n.endsWith("%}") ? "slot" : n.startsWith("{{") && n.endsWith("}}") ? "variable" : "text";
|
|
2074
|
+
if (i === "text")
|
|
2075
|
+
return () => Fe.text(n);
|
|
1656
2076
|
n = n.replace(/[{}%]/g, "").trim();
|
|
1657
|
-
const
|
|
1658
|
-
n = n.replace(
|
|
1659
|
-
const
|
|
1660
|
-
return n !== "" && ([...n.matchAll(/([a-zA-Z_.]+)(=([a-zA-Z_.]+))?/g)].reduce((
|
|
1661
|
-
let
|
|
1662
|
-
return new RegExp(/^[0-9]*$/).exec(
|
|
1663
|
-
},
|
|
2077
|
+
const s = n.match(/^[a-zA-Z_.]+/)[0];
|
|
2078
|
+
n = n.replace(s, "").trim();
|
|
2079
|
+
const o = {};
|
|
2080
|
+
return n !== "" && ([...n.matchAll(/([a-zA-Z_.]+)(=([a-zA-Z_.]+))?/g)].reduce((u, a) => (a[3] === void 0 ? Q(u, a[1], D(t, a[1])) : Q(u, a[1], D(t, a[3])), u), o), [...n.matchAll(/([a-zA-Z_.]+)="([^"]+)"/g)].reduce((u, a) => {
|
|
2081
|
+
let p = a[2];
|
|
2082
|
+
return new RegExp(/^[0-9]*$/).exec(a[2]) ? p = parseInt(a[2]) : new RegExp(/^(true|false)$/).exec(a[2]) && (p = a[2] === "true"), u[a[1]] = p, u;
|
|
2083
|
+
}, o)), (c) => Fe[i](s, t, c, o);
|
|
1664
2084
|
});
|
|
1665
|
-
return { setup: (n, { slots:
|
|
1666
|
-
},
|
|
1667
|
-
slot: (e, t,
|
|
1668
|
-
variable: (e, t) =>
|
|
1669
|
-
text: (e) =>
|
|
2085
|
+
return { setup: (n, { slots: i }) => () => r.map((s) => s(i)) };
|
|
2086
|
+
}, Fe = {
|
|
2087
|
+
slot: (e, t, r, n) => fe("span", { class: "node node--slot" }, r[e.trim()](n)),
|
|
2088
|
+
variable: (e, t) => fe("span", { class: "node node--variable" }, D(t, e.trim())),
|
|
2089
|
+
text: (e) => fe("span", { class: "node node--text" }, e)
|
|
1670
2090
|
};
|
|
1671
|
-
function
|
|
1672
|
-
const { t } =
|
|
2091
|
+
function Eo(e) {
|
|
2092
|
+
const { t } = Xi(), r = {
|
|
1673
2093
|
justNow: t("timeAgo.just-now"),
|
|
1674
2094
|
past: (n) => n.match(/\d/) ? t("timeAgo.ago", [n]) : n,
|
|
1675
2095
|
future: (n) => n.match(/\d/) ? t("timeAgo.in", [n]) : n,
|
|
1676
|
-
month: (n,
|
|
1677
|
-
year: (n,
|
|
1678
|
-
day: (n,
|
|
1679
|
-
week: (n,
|
|
2096
|
+
month: (n, i) => n === 1 ? t(i ? "timeAgo.last-month" : "timeAgo.next-month") : `${n} ${t("timeAgo.month", n)}`,
|
|
2097
|
+
year: (n, i) => n === 1 ? t(i ? "timeAgo.last-year" : "timeAgo.next-year") : `${n} ${t("timeAgo.year", n)}`,
|
|
2098
|
+
day: (n, i) => n === 1 ? t(i ? "timeAgo.yesterday" : "timeAgo.tomorrow") : `${n} ${t("timeAgo.day", n)}`,
|
|
2099
|
+
week: (n, i) => n === 1 ? t(i ? "timeAgo.last-week" : "timeAgo.next-week") : `${n} ${t("timeAgo.week", n)}`,
|
|
1680
2100
|
hour: (n) => `${n} ${t("timeAgo.hour", n)}`,
|
|
1681
2101
|
minute: (n) => `${n} ${t("timeAgo.minute", n)}`,
|
|
1682
2102
|
second: (n) => `${n} ${t("timeAgo.second", n)}`,
|
|
1683
2103
|
invalid: ""
|
|
1684
2104
|
};
|
|
1685
|
-
return
|
|
2105
|
+
return Ft(e, {
|
|
1686
2106
|
fullDateFormatter: (n) => n.toLocaleDateString(),
|
|
1687
|
-
messages:
|
|
2107
|
+
messages: r
|
|
1688
2108
|
});
|
|
1689
2109
|
}
|
|
1690
|
-
function
|
|
2110
|
+
function ts() {
|
|
1691
2111
|
let e = null;
|
|
1692
2112
|
function t() {
|
|
1693
2113
|
return e;
|
|
1694
2114
|
}
|
|
1695
|
-
function
|
|
2115
|
+
function r() {
|
|
1696
2116
|
return e.controller;
|
|
1697
2117
|
}
|
|
1698
2118
|
function n() {
|
|
1699
2119
|
return "use" + e.controller.charAt(0).toUpperCase() + e.controller.slice(1) + "QSController";
|
|
1700
2120
|
}
|
|
1701
|
-
function
|
|
2121
|
+
function i() {
|
|
1702
2122
|
return e.action;
|
|
1703
2123
|
}
|
|
1704
|
-
function
|
|
2124
|
+
function s() {
|
|
1705
2125
|
return e.arguments;
|
|
1706
2126
|
}
|
|
1707
|
-
function
|
|
2127
|
+
function o() {
|
|
1708
2128
|
return !!(e && e.controller && e.action);
|
|
1709
2129
|
}
|
|
1710
|
-
function
|
|
1711
|
-
window.location.search.length !== 0 && (e = window.location.search.substring(1).split("&").reduce((d,
|
|
1712
|
-
const
|
|
1713
|
-
return
|
|
2130
|
+
function c() {
|
|
2131
|
+
window.location.search.length !== 0 && (e = window.location.search.substring(1).split("&").reduce((d, u) => {
|
|
2132
|
+
const a = u.split("=");
|
|
2133
|
+
return a[0] === "controller" || a[0] === "action" ? d[a[0]] = decodeURIComponent(a[1]) : d.arguments[a[0]] = decodeURIComponent(a[1]), d;
|
|
1714
2134
|
}, { controller: null, action: null, arguments: {} }));
|
|
1715
2135
|
}
|
|
1716
|
-
return
|
|
2136
|
+
return c(), {
|
|
1717
2137
|
getParams: t,
|
|
1718
|
-
getController:
|
|
2138
|
+
getController: r,
|
|
1719
2139
|
getControllerComposableName: n,
|
|
1720
|
-
getAction:
|
|
1721
|
-
getArguments:
|
|
1722
|
-
hasAction:
|
|
2140
|
+
getAction: i,
|
|
2141
|
+
getArguments: s,
|
|
2142
|
+
hasAction: o
|
|
1723
2143
|
};
|
|
1724
2144
|
}
|
|
1725
|
-
function
|
|
1726
|
-
async function e({ domain: n, event:
|
|
1727
|
-
const
|
|
1728
|
-
if (!t(
|
|
2145
|
+
function ns() {
|
|
2146
|
+
async function e({ domain: n, event: i, ...s }) {
|
|
2147
|
+
const o = "useAnalytics" + n.charAt(0).toUpperCase() + n.slice(1);
|
|
2148
|
+
if (!t(o))
|
|
1729
2149
|
throw new Error(`Domain ${n} is not defined`);
|
|
1730
|
-
const
|
|
1731
|
-
if (!
|
|
1732
|
-
throw new Error(`Event ${
|
|
1733
|
-
return
|
|
2150
|
+
const c = Be[o]();
|
|
2151
|
+
if (!r(c, i))
|
|
2152
|
+
throw new Error(`Event ${i} is not defined in domain ${n}`);
|
|
2153
|
+
return c[i](s);
|
|
1734
2154
|
}
|
|
1735
2155
|
function t(n) {
|
|
1736
|
-
return !!
|
|
2156
|
+
return !!Be[n];
|
|
1737
2157
|
}
|
|
1738
|
-
function
|
|
1739
|
-
return !!n[
|
|
2158
|
+
function r(n, i) {
|
|
2159
|
+
return !!n[i];
|
|
1740
2160
|
}
|
|
1741
2161
|
return {
|
|
1742
2162
|
call: e
|
|
1743
2163
|
};
|
|
1744
2164
|
}
|
|
1745
|
-
const
|
|
2165
|
+
const Ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1746
2166
|
__proto__: null,
|
|
1747
|
-
useAnalyticsQSController:
|
|
2167
|
+
useAnalyticsQSController: ns
|
|
1748
2168
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1749
|
-
function
|
|
2169
|
+
function rs(e) {
|
|
1750
2170
|
if (!e.hasAction())
|
|
1751
2171
|
throw new Error("No action found in router");
|
|
1752
2172
|
function t() {
|
|
1753
|
-
if (!
|
|
2173
|
+
if (!r())
|
|
1754
2174
|
throw new Error(`Controller ${e.getController()} not found`);
|
|
1755
|
-
const
|
|
1756
|
-
if (!n(
|
|
2175
|
+
const i = Ue[e.getControllerComposableName()]();
|
|
2176
|
+
if (!n(i))
|
|
1757
2177
|
throw new Error(`Action ${e.getAction()} not found in controller ${e.getController()}`);
|
|
1758
|
-
return
|
|
2178
|
+
return i[e.getAction()](e.getArguments());
|
|
1759
2179
|
}
|
|
1760
|
-
function
|
|
1761
|
-
return e.getControllerComposableName() in
|
|
2180
|
+
function r() {
|
|
2181
|
+
return e.getControllerComposableName() in Ue;
|
|
1762
2182
|
}
|
|
1763
|
-
function n(
|
|
1764
|
-
return e.getAction() in
|
|
2183
|
+
function n(i) {
|
|
2184
|
+
return e.getAction() in i;
|
|
1765
2185
|
}
|
|
1766
2186
|
return {
|
|
1767
2187
|
dispatch: t
|
|
1768
2188
|
};
|
|
1769
2189
|
}
|
|
1770
|
-
function
|
|
2190
|
+
function Ao() {
|
|
1771
2191
|
let e = !1;
|
|
1772
|
-
function t(
|
|
1773
|
-
n(),
|
|
2192
|
+
function t(i, s, o) {
|
|
2193
|
+
n(), o();
|
|
1774
2194
|
}
|
|
1775
|
-
function i
|
|
2195
|
+
function r(i, s, o) {
|
|
1776
2196
|
if (!e)
|
|
1777
|
-
return e = !0, t(
|
|
1778
|
-
|
|
2197
|
+
return e = !0, t(i, s, o);
|
|
2198
|
+
o();
|
|
1779
2199
|
}
|
|
1780
2200
|
function n() {
|
|
1781
|
-
const
|
|
1782
|
-
if (!
|
|
2201
|
+
const i = ts();
|
|
2202
|
+
if (!i.hasAction())
|
|
1783
2203
|
return;
|
|
1784
|
-
|
|
2204
|
+
rs(i).dispatch();
|
|
1785
2205
|
}
|
|
1786
2206
|
return {
|
|
1787
2207
|
vueRouterBeforeEach: t,
|
|
1788
|
-
vueRouterBeforeFirst:
|
|
2208
|
+
vueRouterBeforeFirst: r,
|
|
1789
2209
|
handle: n
|
|
1790
2210
|
};
|
|
1791
2211
|
}
|
|
1792
|
-
const
|
|
2212
|
+
const is = (e, t, r) => {
|
|
1793
2213
|
const n = {};
|
|
1794
|
-
for (const
|
|
1795
|
-
t.query[
|
|
2214
|
+
for (const i of e)
|
|
2215
|
+
t.query[i] !== void 0 && (n[i] = t.query[i]);
|
|
1796
2216
|
if (Object.keys(n).length) {
|
|
1797
|
-
const
|
|
1798
|
-
for (const
|
|
1799
|
-
delete
|
|
1800
|
-
|
|
2217
|
+
const i = JSON.parse(JSON.stringify(t));
|
|
2218
|
+
for (const s in n)
|
|
2219
|
+
delete i.query[s];
|
|
2220
|
+
r.replace(i);
|
|
1801
2221
|
}
|
|
1802
2222
|
return n;
|
|
1803
|
-
},
|
|
2223
|
+
}, Po = (e, t, r) => is([e], t, r)[e], Io = () => ({ getAssetUrl: (t) => `${j.getBaseAssetsUrl()}${t}` }), E = () => j.getMainAppHost(), ss = () => `${E()}/rh/establishments`, os = (e) => `${E()}/rh/establishment/${e}`, as = (e) => {
|
|
1804
2224
|
var t;
|
|
1805
2225
|
return typeof e == "string" ? e : typeof e == "object" && ((t = e == null ? void 0 : e.urls) != null && t.display) ? e.urls.display : null;
|
|
1806
|
-
},
|
|
1807
|
-
const
|
|
1808
|
-
return t ? `${
|
|
1809
|
-
},
|
|
1810
|
-
function
|
|
2226
|
+
}, cs = () => `${E()}/rh/dashboard`, us = (e) => `${E()}/candidate-invite/establishment/${e}`, ls = (e, t = !1) => t ? `${E()}/cvbank/${e}` : `${E()}/rh/establishment/${e}/cvtheque`, ds = (e, t) => `${E()}/user-profile/establishment/${e}/user/${t}`, fs = (e) => `${E()}/rh/establishment/${e}/recruitment`, ps = (e, t) => `${E()}/rh/establishment/${e}/recruitment/${t}`, ms = (e, t) => `${E()}/rh/establishment/${e}/recruitment/${t}/kanban`, hs = (e) => `${E()}/rh/establishment/${e}/career-configuration`, ys = (e, t = null) => t ? `${E()}/career-website/${e}/${t}` : `${E()}/career-website/${e}`, gs = (e, t) => `${E()}/career-website-preview/${e}/${t}`, ws = (e, t = null) => {
|
|
2227
|
+
const r = E().replace("://", `://${e}.`);
|
|
2228
|
+
return t ? `${r}?_version=${t}` : `${r}`;
|
|
2229
|
+
}, bs = (e) => `${E()}/rh/establishment/${e}/stats`, vs = (e) => `${E()}/rh/establishment/${e}/backoffice`, Es = () => `${E()}/rh/settings/general`;
|
|
2230
|
+
function Ro() {
|
|
1811
2231
|
return {
|
|
1812
|
-
root:
|
|
1813
|
-
establishments:
|
|
1814
|
-
establishment:
|
|
1815
|
-
img:
|
|
1816
|
-
dashboard:
|
|
1817
|
-
candidateInvite:
|
|
1818
|
-
cvtheque:
|
|
1819
|
-
userProfile:
|
|
1820
|
-
recruitments:
|
|
1821
|
-
recruitment:
|
|
1822
|
-
recruitmentKanban:
|
|
1823
|
-
career:
|
|
1824
|
-
careerConfig:
|
|
1825
|
-
careerPreview:
|
|
1826
|
-
careerWebsite:
|
|
1827
|
-
statistics:
|
|
1828
|
-
backoffice:
|
|
1829
|
-
userSettings:
|
|
2232
|
+
root: E,
|
|
2233
|
+
establishments: ss,
|
|
2234
|
+
establishment: os,
|
|
2235
|
+
img: as,
|
|
2236
|
+
dashboard: cs,
|
|
2237
|
+
candidateInvite: us,
|
|
2238
|
+
cvtheque: ls,
|
|
2239
|
+
userProfile: ds,
|
|
2240
|
+
recruitments: fs,
|
|
2241
|
+
recruitment: ps,
|
|
2242
|
+
recruitmentKanban: ms,
|
|
2243
|
+
career: hs,
|
|
2244
|
+
careerConfig: ys,
|
|
2245
|
+
careerPreview: gs,
|
|
2246
|
+
careerWebsite: ws,
|
|
2247
|
+
statistics: bs,
|
|
2248
|
+
backoffice: vs,
|
|
2249
|
+
userSettings: Es
|
|
1830
2250
|
};
|
|
1831
2251
|
}
|
|
1832
|
-
const
|
|
1833
|
-
let
|
|
2252
|
+
const He = /* @__PURE__ */ new Set();
|
|
2253
|
+
let H, Pe = {
|
|
1834
2254
|
ignore: (e) => e.startsWith("Ui")
|
|
1835
2255
|
};
|
|
1836
|
-
const
|
|
2256
|
+
const he = (e) => {
|
|
1837
2257
|
if (e != null && e.classList) {
|
|
1838
2258
|
e._cssChecked = !0;
|
|
1839
2259
|
for (const t of e.classList)
|
|
1840
|
-
|
|
2260
|
+
H.has(t) || He.has(t) || Pe.ignore(t) || (He.add(t), A.error(`Undefined CSS class: ${t}`));
|
|
1841
2261
|
}
|
|
1842
|
-
},
|
|
2262
|
+
}, bt = (e) => {
|
|
1843
2263
|
var t;
|
|
1844
|
-
for (const
|
|
1845
|
-
if (
|
|
1846
|
-
|
|
1847
|
-
else if (
|
|
1848
|
-
const n = (t =
|
|
2264
|
+
for (const r of e)
|
|
2265
|
+
if (r != null && r.cssRules && (r == null ? void 0 : r.cssRules.length) > 0)
|
|
2266
|
+
bt(r.cssRules);
|
|
2267
|
+
else if (r.selectorText) {
|
|
2268
|
+
const n = (t = r.selectorText) == null ? void 0 : t.match(/\.[\w-]+/g);
|
|
1849
2269
|
if (n)
|
|
1850
|
-
for (const
|
|
1851
|
-
|
|
2270
|
+
for (const i of n)
|
|
2271
|
+
H.add(i.substr(1));
|
|
1852
2272
|
}
|
|
1853
|
-
},
|
|
1854
|
-
if (
|
|
1855
|
-
return
|
|
1856
|
-
|
|
1857
|
-
for (const n of
|
|
2273
|
+
}, So = (e = {}) => {
|
|
2274
|
+
if (H)
|
|
2275
|
+
return H;
|
|
2276
|
+
H = /* @__PURE__ */ new Set(), Pe = { ...Pe, ...e }, bt(document.styleSheets), new MutationObserver((r) => {
|
|
2277
|
+
for (const n of r)
|
|
1858
2278
|
if (n.type === "childList" && (n != null && n.addedNodes)) {
|
|
1859
|
-
for (const
|
|
1860
|
-
if (!(
|
|
1861
|
-
|
|
1862
|
-
for (const
|
|
1863
|
-
|
|
2279
|
+
for (const i of n.addedNodes)
|
|
2280
|
+
if (!(i.nodeType === 3 || i.nodeType === 8)) {
|
|
2281
|
+
he(i);
|
|
2282
|
+
for (const s of i.querySelectorAll("*"))
|
|
2283
|
+
he(s);
|
|
1864
2284
|
}
|
|
1865
2285
|
} else
|
|
1866
|
-
(n == null ? void 0 : n.attributeName) === "class" &&
|
|
2286
|
+
(n == null ? void 0 : n.attributeName) === "class" && he(n.target);
|
|
1867
2287
|
}).observe(document, {
|
|
1868
2288
|
attributes: !0,
|
|
1869
2289
|
childList: !0,
|
|
1870
2290
|
subtree: !0
|
|
1871
2291
|
});
|
|
1872
|
-
},
|
|
2292
|
+
}, Oo = "0.2.77";
|
|
1873
2293
|
export {
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
2294
|
+
wo as Analytics,
|
|
2295
|
+
ve as BaseLogger,
|
|
2296
|
+
bo as Gmap,
|
|
2297
|
+
j as SDKConfig,
|
|
1878
2298
|
A as SDKLogger,
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
2299
|
+
Oo as VERSION,
|
|
2300
|
+
ln as _clone,
|
|
2301
|
+
D as _get,
|
|
2302
|
+
Fs as _map,
|
|
2303
|
+
qe as _merge,
|
|
2304
|
+
Ge as _pathList,
|
|
2305
|
+
Q as _set,
|
|
2306
|
+
un as _setMany,
|
|
2307
|
+
ye as buildObjectValidation,
|
|
2308
|
+
Po as consumeQueryParam,
|
|
2309
|
+
is as consumeQueryParams,
|
|
2310
|
+
vo as createI18n,
|
|
2311
|
+
Hs as ensureScheme,
|
|
2312
|
+
zs as hasOrIsInClass,
|
|
2313
|
+
Bs as inBrowser,
|
|
2314
|
+
z as inNode,
|
|
2315
|
+
oe as isArray,
|
|
2316
|
+
js as isArrayOf,
|
|
2317
|
+
_s as isBoolean,
|
|
2318
|
+
Ts as isDate,
|
|
2319
|
+
Ds as isFalsy,
|
|
2320
|
+
Ns as isFunction,
|
|
2321
|
+
Os as isMobile,
|
|
2322
|
+
Ms as isNotNullOrUndefined,
|
|
2323
|
+
on as isNull,
|
|
2324
|
+
cn as isNullOrUndefined,
|
|
2325
|
+
ks as isNumber,
|
|
2326
|
+
ae as isObject,
|
|
2327
|
+
xs as isObjectOf,
|
|
2328
|
+
Vs as isObjectValid,
|
|
2329
|
+
$s as isString,
|
|
2330
|
+
Ls as isTruthy,
|
|
2331
|
+
an as isUndefined,
|
|
2332
|
+
Cs as sanitizeObject,
|
|
2333
|
+
Us as secureScheme,
|
|
2334
|
+
sn as transpileAsserts,
|
|
2335
|
+
Qs as useActivityRepository,
|
|
2336
|
+
Vi as useAnalyticsHublerApplication,
|
|
2337
|
+
go as useAnalyticsIdentify,
|
|
2338
|
+
zi as useAnalyticsProfile,
|
|
2339
|
+
Bi as useAnalyticsRecruitment,
|
|
2340
|
+
Fi as useAnalyticsVisualBuilder,
|
|
2341
|
+
Io as useAssetUrls,
|
|
2342
|
+
We as useAuthentication,
|
|
2343
|
+
ht as useAuthorization,
|
|
2344
|
+
yo as useAuthorizationStore,
|
|
2345
|
+
ho as useCanAccessEstablishmentMiddleware,
|
|
2346
|
+
qs as useCandidateRepository,
|
|
2347
|
+
Gs as useCommentRepository,
|
|
2348
|
+
Ks as useContractTypeRepository,
|
|
2349
|
+
pn as useCookieStorage,
|
|
2350
|
+
Ws as useCvbankRepository,
|
|
2351
|
+
Js as useCvthequeRepository,
|
|
2352
|
+
Zs as useDiplomaRepository,
|
|
2353
|
+
Xs as useDocumentRepository,
|
|
2354
|
+
Ro as useDomainUrls,
|
|
2355
|
+
Ys as useEmailHistoryRepository,
|
|
2356
|
+
eo as useEmailRepository,
|
|
2357
|
+
to as useEmailTemplateRepository,
|
|
2358
|
+
no as useEstablishmentCareerRepository,
|
|
2359
|
+
ii as useEstablishmentRepository,
|
|
2360
|
+
ro as useFeatureFlagRepository,
|
|
2361
|
+
Xi as useI18n,
|
|
2362
|
+
io as useJobRepository,
|
|
2363
|
+
so as useLabelRepository,
|
|
2364
|
+
Eo as useLocaleTimeAgo,
|
|
2365
|
+
rn as useObjectValidation,
|
|
2366
|
+
oo as useOfferRepository,
|
|
1947
2367
|
g as usePrivateRequest,
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
2368
|
+
Ao as useQSAction,
|
|
2369
|
+
ao as useRecruiterRepository,
|
|
2370
|
+
co as useRecruitmentRepository,
|
|
2371
|
+
uo as useRegisterRepository,
|
|
2372
|
+
lo as useRegistrationRepository,
|
|
2373
|
+
I as useRequest,
|
|
2374
|
+
fo as useSpecialityRepository,
|
|
2375
|
+
po as useTagRepository,
|
|
2376
|
+
mo as useTalentRepository,
|
|
2377
|
+
So as useUndefinedCssClasses,
|
|
2378
|
+
xi as useUserRepository
|
|
1959
2379
|
};
|