@inploi/plugin-job-search 0.25.1 → 1.0.0
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/cdn/index.js +6 -1055
- package/cdn/style.css +1 -1
- package/dist/components/job-search.d.ts +1 -2
- package/dist/index.cjs +4 -4
- package/dist/index.js +841 -847
- package/dist/{job-search.api-c4af53ba.js → job-search.api-f001f5fd.js} +188 -190
- package/dist/job-search.api-fce04187.cjs +17 -0
- package/dist/job-search.api.d.ts +1 -2
- package/dist/job-search.constants.d.ts +1 -1
- package/dist/job-search.d.ts +21 -6
- package/dist/job-search.schemas.d.ts +1 -2
- package/dist/lib/i18n.d.ts +6 -12
- package/dist/style/theme.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +1 -1
- package/package.json +6 -3
- package/dist/components/alerts-button.d.ts +0 -11
- package/dist/job-search.api-1670984d.cjs +0 -17
- package/dist/plugin-job-alerts-7fc7b0f9.cjs +0 -1050
- package/dist/plugin-job-alerts-a5cbb5be.js +0 -5578
|
@@ -11,7 +11,7 @@ function wo(e, t) {
|
|
|
11
11
|
function So(e, t) {
|
|
12
12
|
return e in t;
|
|
13
13
|
}
|
|
14
|
-
var ze, w, tr, Ee, fn, nr, Ot, rr,
|
|
14
|
+
var ze, w, tr, Ee, fn, nr, Ot, rr, Ie = {}, or = [], Co = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, at = Array.isArray;
|
|
15
15
|
function ie(e, t) {
|
|
16
16
|
for (var n in t)
|
|
17
17
|
e[n] = t[n];
|
|
@@ -28,9 +28,9 @@ function X(e, t, n) {
|
|
|
28
28
|
if (arguments.length > 2 && (s.children = arguments.length > 3 ? ze.call(arguments, 2) : n), typeof e == "function" && e.defaultProps != null)
|
|
29
29
|
for (a in e.defaultProps)
|
|
30
30
|
s[a] === void 0 && (s[a] = e.defaultProps[a]);
|
|
31
|
-
return
|
|
31
|
+
return Me(e, s, r, o, null);
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function Me(e, t, n, r, o) {
|
|
34
34
|
var a = { type: e, props: t, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: o ?? ++tr };
|
|
35
35
|
return o == null && w.vnode != null && w.vnode(a), a;
|
|
36
36
|
}
|
|
@@ -74,7 +74,7 @@ function nt() {
|
|
|
74
74
|
function lr(e, t, n, r, o, a, s, l, c, d, f) {
|
|
75
75
|
var i, p, y, _, h, C, g, E, S, v, b = 0, m = r && r.__k || or, k = m.length, x = k, T = t.length;
|
|
76
76
|
for (n.__k = [], i = 0; i < T; i++)
|
|
77
|
-
(_ = n.__k[i] = (_ = t[i]) == null || typeof _ == "boolean" || typeof _ == "function" ? null : typeof _ == "string" || typeof _ == "number" || typeof _ == "bigint" ?
|
|
77
|
+
(_ = n.__k[i] = (_ = t[i]) == null || typeof _ == "boolean" || typeof _ == "function" ? null : typeof _ == "string" || typeof _ == "number" || typeof _ == "bigint" ? Me(null, _, null, null, _) : at(_) ? Me(D, { children: _ }, null, null, null) : _.__b > 0 ? Me(_.type, _.props, _.key, _.ref ? _.ref : null, _.__v) : _) != null && (_.__ = n, _.__b = n.__b + 1, (E = xo(_, m, g = i + b, x)) === -1 ? y = Ie : (y = m[E] || Ie, m[E] = void 0, x--), Ht(e, _, y, o, a, s, l, c, d, f), h = _.__e, (p = _.ref) && y.ref != p && (y.ref && Ft(y.ref, null, _), f.push(p, _.__c || h, _)), h != null && (C == null && (C = h), v = !(S = y === Ie || y.__v === null) && E === g, S ? E == -1 && b-- : E !== g && (E === g + 1 ? (b++, v = !0) : E > g ? x > T - g ? (b += E - g, v = !0) : b-- : b = E < g && E == g - 1 ? E - g : 0), g = i + b, v = v || E == i && !S, typeof _.type != "function" || E === g && y.__k !== _.__k ? typeof _.type == "function" || v ? _.__d !== void 0 ? (c = _.__d, _.__d = void 0) : c = h.nextSibling : c = ur(e, h, c) : c = cr(_, c, e), typeof n.type == "function" && (n.__d = c)));
|
|
78
78
|
for (n.__e = C, i = k; i--; )
|
|
79
79
|
m[i] != null && (typeof n.type == "function" && m[i].__e != null && m[i].__e == n.__d && (n.__d = m[i].__e.nextSibling), fr(m[i], m[i]));
|
|
80
80
|
}
|
|
@@ -223,7 +223,7 @@ function ko(e, t, n, r, o, a, s, l, c) {
|
|
|
223
223
|
if (_ === null)
|
|
224
224
|
p === y || l && e.data === y || (e.data = y);
|
|
225
225
|
else {
|
|
226
|
-
if (a = a && ze.call(e.childNodes), f = (p = n.props ||
|
|
226
|
+
if (a = a && ze.call(e.childNodes), f = (p = n.props || Ie).dangerouslySetInnerHTML, i = y.dangerouslySetInnerHTML, !l) {
|
|
227
227
|
if (a != null)
|
|
228
228
|
for (p = {}, h = 0; h < e.attributes.length; h++)
|
|
229
229
|
p[e.attributes[h].name] = e.attributes[h].value;
|
|
@@ -266,7 +266,7 @@ function Oo(e, t, n) {
|
|
|
266
266
|
}
|
|
267
267
|
function $e(e, t, n) {
|
|
268
268
|
var r, o, a, s;
|
|
269
|
-
w.__ && w.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, a = [], s = [], Ht(t, e = (!r && n || t).__k = X(D, null, [e]), o ||
|
|
269
|
+
w.__ && w.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, a = [], s = [], Ht(t, e = (!r && n || t).__k = X(D, null, [e]), o || Ie, Ie, t.ownerSVGElement !== void 0, !r && n ? [n] : o ? null : t.firstChild ? ze.call(t.childNodes) : null, a, !r && n ? n : o ? o.__e : t.firstChild, r, s), dr(a, e, s);
|
|
270
270
|
}
|
|
271
271
|
function _r(e, t) {
|
|
272
272
|
$e(e, t, _r);
|
|
@@ -275,7 +275,7 @@ function Ro(e, t, n) {
|
|
|
275
275
|
var r, o, a, s, l = ie({}, e.props);
|
|
276
276
|
for (a in e.type && e.type.defaultProps && (s = e.type.defaultProps), t)
|
|
277
277
|
a == "key" ? r = t[a] : a == "ref" ? o = t[a] : l[a] = t[a] === void 0 && s !== void 0 ? s[a] : t[a];
|
|
278
|
-
return arguments.length > 2 && (l.children = arguments.length > 3 ? ze.call(arguments, 2) : n),
|
|
278
|
+
return arguments.length > 2 && (l.children = arguments.length > 3 ? ze.call(arguments, 2) : n), Me(e.type, l, r || e.key, o || e.ref, null);
|
|
279
279
|
}
|
|
280
280
|
function it(e, t) {
|
|
281
281
|
var n = { __c: t = "__cC" + rr++, __: e, Consumer: function(r, o) {
|
|
@@ -316,15 +316,15 @@ ze = or.slice, w = { __e: function(e, t, n, r) {
|
|
|
316
316
|
}, G.prototype.render = D, Ee = [], nr = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Ot = function(e, t) {
|
|
317
317
|
return e.__v.__b - t.__v.__b;
|
|
318
318
|
}, nt.__r = 0, rr = 0;
|
|
319
|
-
var Nt = "RFC3986",
|
|
319
|
+
var Nt = "RFC3986", It = {
|
|
320
320
|
RFC1738: (e) => String(e).replace(/%20/g, "+"),
|
|
321
321
|
RFC3986: (e) => String(e)
|
|
322
|
-
}, No = "RFC1738",
|
|
322
|
+
}, No = "RFC1738", Io = Array.isArray, Y = (() => {
|
|
323
323
|
const e = [];
|
|
324
324
|
for (let t = 0; t < 256; ++t)
|
|
325
325
|
e.push("%" + ((t < 16 ? "0" : "") + t.toString(16)).toUpperCase());
|
|
326
326
|
return e;
|
|
327
|
-
})(), ht = 1024,
|
|
327
|
+
})(), ht = 1024, Lo = (e, t, n, r, o) => {
|
|
328
328
|
if (e.length === 0)
|
|
329
329
|
return e;
|
|
330
330
|
let a = e;
|
|
@@ -370,7 +370,7 @@ function Ao(e) {
|
|
|
370
370
|
return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
|
|
371
371
|
}
|
|
372
372
|
function yn(e, t) {
|
|
373
|
-
if (
|
|
373
|
+
if (Io(e)) {
|
|
374
374
|
const n = [];
|
|
375
375
|
for (let r = 0; r < e.length; r += 1)
|
|
376
376
|
n.push(t(e[r]));
|
|
@@ -389,9 +389,9 @@ var Do = Object.prototype.hasOwnProperty, pr = {
|
|
|
389
389
|
repeat(e) {
|
|
390
390
|
return String(e);
|
|
391
391
|
}
|
|
392
|
-
}, J = Array.isArray,
|
|
393
|
-
|
|
394
|
-
},
|
|
392
|
+
}, J = Array.isArray, Po = Array.prototype.push, hr = function(e, t) {
|
|
393
|
+
Po.apply(e, J(t) ? t : [t]);
|
|
394
|
+
}, Mo = Date.prototype.toISOString, M = {
|
|
395
395
|
addQueryPrefix: !1,
|
|
396
396
|
allowDots: !1,
|
|
397
397
|
allowEmptyArrays: !1,
|
|
@@ -401,14 +401,14 @@ var Do = Object.prototype.hasOwnProperty, pr = {
|
|
|
401
401
|
delimiter: "&",
|
|
402
402
|
encode: !0,
|
|
403
403
|
encodeDotInKeys: !1,
|
|
404
|
-
encoder:
|
|
404
|
+
encoder: Lo,
|
|
405
405
|
encodeValuesOnly: !1,
|
|
406
406
|
format: Nt,
|
|
407
|
-
formatter:
|
|
407
|
+
formatter: It[Nt],
|
|
408
408
|
/** @deprecated */
|
|
409
409
|
indices: !1,
|
|
410
410
|
serializeDate(e) {
|
|
411
|
-
return
|
|
411
|
+
return Mo.call(e);
|
|
412
412
|
},
|
|
413
413
|
skipNulls: !1,
|
|
414
414
|
strictNullHandling: !1
|
|
@@ -434,7 +434,7 @@ function yr(e, t, n, r, o, a, s, l, c, d, f, i, p, y, _, h, C, g) {
|
|
|
434
434
|
if (a)
|
|
435
435
|
return c && !h ? (
|
|
436
436
|
// @ts-expect-error
|
|
437
|
-
c(t,
|
|
437
|
+
c(t, M.encoder, C, "key", y)
|
|
438
438
|
) : t;
|
|
439
439
|
E = "";
|
|
440
440
|
}
|
|
@@ -442,11 +442,11 @@ function yr(e, t, n, r, o, a, s, l, c, d, f, i, p, y, _, h, C, g) {
|
|
|
442
442
|
if (c) {
|
|
443
443
|
const O = h ? t : (
|
|
444
444
|
// @ts-expect-error
|
|
445
|
-
c(t,
|
|
445
|
+
c(t, M.encoder, C, "key", y)
|
|
446
446
|
);
|
|
447
447
|
return [
|
|
448
448
|
(_ == null ? void 0 : _(O)) + "=" + // @ts-expect-error
|
|
449
|
-
(_ == null ? void 0 : _(c(E,
|
|
449
|
+
(_ == null ? void 0 : _(c(E, M.encoder, C, "value", y)))
|
|
450
450
|
];
|
|
451
451
|
}
|
|
452
452
|
return [(_ == null ? void 0 : _(t)) + "=" + (_ == null ? void 0 : _(String(E)))];
|
|
@@ -503,51 +503,51 @@ function yr(e, t, n, r, o, a, s, l, c, d, f, i, p, y, _, h, C, g) {
|
|
|
503
503
|
}
|
|
504
504
|
return m;
|
|
505
505
|
}
|
|
506
|
-
function Vo(e =
|
|
506
|
+
function Vo(e = M) {
|
|
507
507
|
if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
|
|
508
508
|
throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
509
509
|
if (typeof e.encodeDotInKeys < "u" && typeof e.encodeDotInKeys != "boolean")
|
|
510
510
|
throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");
|
|
511
511
|
if (e.encoder !== null && typeof e.encoder < "u" && typeof e.encoder != "function")
|
|
512
512
|
throw new TypeError("Encoder has to be a function.");
|
|
513
|
-
const t = e.charset ||
|
|
513
|
+
const t = e.charset || M.charset;
|
|
514
514
|
if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
|
|
515
515
|
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
516
516
|
let n = Nt;
|
|
517
517
|
if (typeof e.format < "u") {
|
|
518
|
-
if (!Do.call(
|
|
518
|
+
if (!Do.call(It, e.format))
|
|
519
519
|
throw new TypeError("Unknown format option provided.");
|
|
520
520
|
n = e.format;
|
|
521
521
|
}
|
|
522
|
-
const r =
|
|
523
|
-
let o =
|
|
522
|
+
const r = It[n];
|
|
523
|
+
let o = M.filter;
|
|
524
524
|
(typeof e.filter == "function" || J(e.filter)) && (o = e.filter);
|
|
525
525
|
let a;
|
|
526
|
-
if (e.arrayFormat && e.arrayFormat in pr ? a = e.arrayFormat : "indices" in e ? a = e.indices ? "indices" : "repeat" : a =
|
|
526
|
+
if (e.arrayFormat && e.arrayFormat in pr ? a = e.arrayFormat : "indices" in e ? a = e.indices ? "indices" : "repeat" : a = M.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
|
|
527
527
|
throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
|
|
528
|
-
const s = typeof e.allowDots > "u" ? e.encodeDotInKeys ? !0 :
|
|
528
|
+
const s = typeof e.allowDots > "u" ? e.encodeDotInKeys ? !0 : M.allowDots : !!e.allowDots;
|
|
529
529
|
return {
|
|
530
|
-
addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix :
|
|
530
|
+
addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : M.addQueryPrefix,
|
|
531
531
|
// @ts-ignore
|
|
532
532
|
allowDots: s,
|
|
533
|
-
allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays :
|
|
533
|
+
allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : M.allowEmptyArrays,
|
|
534
534
|
arrayFormat: a,
|
|
535
535
|
charset: t,
|
|
536
|
-
charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel :
|
|
536
|
+
charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : M.charsetSentinel,
|
|
537
537
|
commaRoundTrip: !!e.commaRoundTrip,
|
|
538
|
-
delimiter: typeof e.delimiter > "u" ?
|
|
539
|
-
encode: typeof e.encode == "boolean" ? e.encode :
|
|
540
|
-
encodeDotInKeys: typeof e.encodeDotInKeys == "boolean" ? e.encodeDotInKeys :
|
|
541
|
-
encoder: typeof e.encoder == "function" ? e.encoder :
|
|
542
|
-
encodeValuesOnly: typeof e.encodeValuesOnly == "boolean" ? e.encodeValuesOnly :
|
|
538
|
+
delimiter: typeof e.delimiter > "u" ? M.delimiter : e.delimiter,
|
|
539
|
+
encode: typeof e.encode == "boolean" ? e.encode : M.encode,
|
|
540
|
+
encodeDotInKeys: typeof e.encodeDotInKeys == "boolean" ? e.encodeDotInKeys : M.encodeDotInKeys,
|
|
541
|
+
encoder: typeof e.encoder == "function" ? e.encoder : M.encoder,
|
|
542
|
+
encodeValuesOnly: typeof e.encodeValuesOnly == "boolean" ? e.encodeValuesOnly : M.encodeValuesOnly,
|
|
543
543
|
filter: o,
|
|
544
544
|
format: n,
|
|
545
545
|
formatter: r,
|
|
546
|
-
serializeDate: typeof e.serializeDate == "function" ? e.serializeDate :
|
|
547
|
-
skipNulls: typeof e.skipNulls == "boolean" ? e.skipNulls :
|
|
546
|
+
serializeDate: typeof e.serializeDate == "function" ? e.serializeDate : M.serializeDate,
|
|
547
|
+
skipNulls: typeof e.skipNulls == "boolean" ? e.skipNulls : M.skipNulls,
|
|
548
548
|
// @ts-expect-error
|
|
549
549
|
sort: typeof e.sort == "function" ? e.sort : null,
|
|
550
|
-
strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling :
|
|
550
|
+
strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : M.strictNullHandling
|
|
551
551
|
};
|
|
552
552
|
}
|
|
553
553
|
function gr(e, t = {}) {
|
|
@@ -1033,7 +1033,7 @@ function qo(e = "Invalid URL") {
|
|
|
1033
1033
|
}
|
|
1034
1034
|
};
|
|
1035
1035
|
}
|
|
1036
|
-
const Ws = "inploi-job-search",
|
|
1036
|
+
const Ws = "inploi-job-search", Go = 10;
|
|
1037
1037
|
var Ze = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1038
1038
|
function Ko(e) {
|
|
1039
1039
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -1098,15 +1098,15 @@ var ka = Ta;
|
|
|
1098
1098
|
function Oa(e) {
|
|
1099
1099
|
return e != null && typeof e == "object";
|
|
1100
1100
|
}
|
|
1101
|
-
var Ra = Oa, Na = ka,
|
|
1101
|
+
var Ra = Oa, Na = ka, Ia = Ra, La = "[object Symbol]";
|
|
1102
1102
|
function Aa(e) {
|
|
1103
|
-
return typeof e == "symbol" ||
|
|
1103
|
+
return typeof e == "symbol" || Ia(e) && Na(e) == La;
|
|
1104
1104
|
}
|
|
1105
|
-
var Da = Aa,
|
|
1105
|
+
var Da = Aa, Pa = da, Sn = wr, Ma = Da, Cn = 0 / 0, ja = /^[-+]0x[0-9a-f]+$/i, Va = /^0b[01]+$/i, $a = /^0o[0-7]+$/i, Ua = parseInt;
|
|
1106
1106
|
function Ha(e) {
|
|
1107
1107
|
if (typeof e == "number")
|
|
1108
1108
|
return e;
|
|
1109
|
-
if (
|
|
1109
|
+
if (Ma(e))
|
|
1110
1110
|
return Cn;
|
|
1111
1111
|
if (Sn(e)) {
|
|
1112
1112
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
@@ -1114,7 +1114,7 @@ function Ha(e) {
|
|
|
1114
1114
|
}
|
|
1115
1115
|
if (typeof e != "string")
|
|
1116
1116
|
return e === 0 ? e : +e;
|
|
1117
|
-
e =
|
|
1117
|
+
e = Pa(e);
|
|
1118
1118
|
var n = Va.test(e);
|
|
1119
1119
|
return n || $a.test(e) ? Ua(e.slice(2), n ? 2 : 8) : ja.test(e) ? Cn : +e;
|
|
1120
1120
|
}
|
|
@@ -1168,21 +1168,21 @@ function Ga(e, t, n) {
|
|
|
1168
1168
|
}
|
|
1169
1169
|
var Ka = Ga;
|
|
1170
1170
|
const Za = /* @__PURE__ */ Ko(Ka);
|
|
1171
|
-
var ce,
|
|
1171
|
+
var ce, I, vt, Tn, Le = 0, Tr = [], Xe = [], kn = w.__b, On = w.__r, Rn = w.diffed, Nn = w.__c, In = w.unmount;
|
|
1172
1172
|
function Se(e, t) {
|
|
1173
|
-
w.__h && w.__h(
|
|
1174
|
-
var n =
|
|
1173
|
+
w.__h && w.__h(I, e, Le || t), Le = 0;
|
|
1174
|
+
var n = I.__H || (I.__H = { __: [], __h: [] });
|
|
1175
1175
|
return e >= n.__.length && n.__.push({ __V: Xe }), n.__[e];
|
|
1176
1176
|
}
|
|
1177
1177
|
function j(e) {
|
|
1178
|
-
return
|
|
1178
|
+
return Le = 1, Bt(Or, e);
|
|
1179
1179
|
}
|
|
1180
1180
|
function Bt(e, t, n) {
|
|
1181
1181
|
var r = Se(ce++, 2);
|
|
1182
1182
|
if (r.t = e, !r.__c && (r.__ = [n ? n(t) : Or(void 0, t), function(l) {
|
|
1183
1183
|
var c = r.__N ? r.__N[0] : r.__[0], d = r.t(c, l);
|
|
1184
1184
|
c !== d && (r.__N = [d, r.__[1]], r.__c.setState({}));
|
|
1185
|
-
}], r.__c =
|
|
1185
|
+
}], r.__c = I, !I.u)) {
|
|
1186
1186
|
var o = function(l, c, d) {
|
|
1187
1187
|
if (!r.__c.__H)
|
|
1188
1188
|
return !0;
|
|
@@ -1201,33 +1201,33 @@ function Bt(e, t, n) {
|
|
|
1201
1201
|
}
|
|
1202
1202
|
}), !(!i && r.__c.props === l) && (!a || a.call(this, l, c, d));
|
|
1203
1203
|
};
|
|
1204
|
-
|
|
1205
|
-
var a =
|
|
1206
|
-
|
|
1204
|
+
I.u = !0;
|
|
1205
|
+
var a = I.shouldComponentUpdate, s = I.componentWillUpdate;
|
|
1206
|
+
I.componentWillUpdate = function(l, c, d) {
|
|
1207
1207
|
if (this.__e) {
|
|
1208
1208
|
var f = a;
|
|
1209
1209
|
a = void 0, o(l, c, d), a = f;
|
|
1210
1210
|
}
|
|
1211
1211
|
s && s.call(this, l, c, d);
|
|
1212
|
-
},
|
|
1212
|
+
}, I.shouldComponentUpdate = o;
|
|
1213
1213
|
}
|
|
1214
1214
|
return r.__N || r.__;
|
|
1215
1215
|
}
|
|
1216
1216
|
function ee(e, t) {
|
|
1217
1217
|
var n = Se(ce++, 3);
|
|
1218
|
-
!w.__s && Kt(n.__H, t) && (n.__ = e, n.i = t,
|
|
1218
|
+
!w.__s && Kt(n.__H, t) && (n.__ = e, n.i = t, I.__H.__h.push(n));
|
|
1219
1219
|
}
|
|
1220
1220
|
function Ce(e, t) {
|
|
1221
1221
|
var n = Se(ce++, 4);
|
|
1222
|
-
!w.__s && Kt(n.__H, t) && (n.__ = e, n.i = t,
|
|
1222
|
+
!w.__s && Kt(n.__H, t) && (n.__ = e, n.i = t, I.__h.push(n));
|
|
1223
1223
|
}
|
|
1224
1224
|
function q(e) {
|
|
1225
|
-
return
|
|
1225
|
+
return Le = 5, be(function() {
|
|
1226
1226
|
return { current: e };
|
|
1227
1227
|
}, []);
|
|
1228
1228
|
}
|
|
1229
1229
|
function kr(e, t, n) {
|
|
1230
|
-
|
|
1230
|
+
Le = 6, Ce(function() {
|
|
1231
1231
|
return typeof e == "function" ? (e(t()), function() {
|
|
1232
1232
|
return e(null);
|
|
1233
1233
|
}) : e ? (e.current = t(), function() {
|
|
@@ -1240,20 +1240,20 @@ function be(e, t) {
|
|
|
1240
1240
|
return Kt(n.__H, t) ? (n.__V = e(), n.i = t, n.__h = e, n.__V) : n.__;
|
|
1241
1241
|
}
|
|
1242
1242
|
function je(e, t) {
|
|
1243
|
-
return
|
|
1243
|
+
return Le = 8, be(function() {
|
|
1244
1244
|
return e;
|
|
1245
1245
|
}, t);
|
|
1246
1246
|
}
|
|
1247
1247
|
function lt(e) {
|
|
1248
|
-
var t =
|
|
1249
|
-
return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub(
|
|
1248
|
+
var t = I.context[e.__c], n = Se(ce++, 9);
|
|
1249
|
+
return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub(I)), t.props.value) : e.__;
|
|
1250
1250
|
}
|
|
1251
1251
|
function qt(e, t) {
|
|
1252
1252
|
w.useDebugValue && w.useDebugValue(t ? t(e) : e);
|
|
1253
1253
|
}
|
|
1254
1254
|
function Ya(e) {
|
|
1255
1255
|
var t = Se(ce++, 10), n = j();
|
|
1256
|
-
return t.__ = e,
|
|
1256
|
+
return t.__ = e, I.componentDidCatch || (I.componentDidCatch = function(r, o) {
|
|
1257
1257
|
t.__ && t.__(r, o), n[1](r);
|
|
1258
1258
|
}), [n[0], function() {
|
|
1259
1259
|
n[1](void 0);
|
|
@@ -1262,7 +1262,7 @@ function Ya(e) {
|
|
|
1262
1262
|
function Gt() {
|
|
1263
1263
|
var e = Se(ce++, 11);
|
|
1264
1264
|
if (!e.__) {
|
|
1265
|
-
for (var t =
|
|
1265
|
+
for (var t = I.__v; t !== null && !t.__m && t.__ !== null; )
|
|
1266
1266
|
t = t.__;
|
|
1267
1267
|
var n = t.__m || (t.__m = [0, 0]);
|
|
1268
1268
|
e.__ = "P" + n[0] + "-" + n[1]++;
|
|
@@ -1273,30 +1273,30 @@ function Ja() {
|
|
|
1273
1273
|
for (var e; e = Tr.shift(); )
|
|
1274
1274
|
if (e.__P && e.__H)
|
|
1275
1275
|
try {
|
|
1276
|
-
e.__H.__h.forEach(et), e.__H.__h.forEach(
|
|
1276
|
+
e.__H.__h.forEach(et), e.__H.__h.forEach(Lt), e.__H.__h = [];
|
|
1277
1277
|
} catch (t) {
|
|
1278
1278
|
e.__H.__h = [], w.__e(t, e.__v);
|
|
1279
1279
|
}
|
|
1280
1280
|
}
|
|
1281
1281
|
w.__b = function(e) {
|
|
1282
|
-
|
|
1282
|
+
I = null, kn && kn(e);
|
|
1283
1283
|
}, w.__r = function(e) {
|
|
1284
1284
|
On && On(e), ce = 0;
|
|
1285
|
-
var t = (
|
|
1286
|
-
t && (vt ===
|
|
1285
|
+
var t = (I = e.__c).__H;
|
|
1286
|
+
t && (vt === I ? (t.__h = [], I.__h = [], t.__.forEach(function(n) {
|
|
1287
1287
|
n.__N && (n.__ = n.__N), n.__V = Xe, n.__N = n.i = void 0;
|
|
1288
|
-
})) : (t.__h.forEach(et), t.__h.forEach(
|
|
1288
|
+
})) : (t.__h.forEach(et), t.__h.forEach(Lt), t.__h = [], ce = 0)), vt = I;
|
|
1289
1289
|
}, w.diffed = function(e) {
|
|
1290
1290
|
Rn && Rn(e);
|
|
1291
1291
|
var t = e.__c;
|
|
1292
1292
|
t && t.__H && (t.__H.__h.length && (Tr.push(t) !== 1 && Tn === w.requestAnimationFrame || ((Tn = w.requestAnimationFrame) || Qa)(Ja)), t.__H.__.forEach(function(n) {
|
|
1293
1293
|
n.i && (n.__H = n.i), n.__V !== Xe && (n.__ = n.__V), n.i = void 0, n.__V = Xe;
|
|
1294
|
-
})), vt =
|
|
1294
|
+
})), vt = I = null;
|
|
1295
1295
|
}, w.__c = function(e, t) {
|
|
1296
1296
|
t.some(function(n) {
|
|
1297
1297
|
try {
|
|
1298
1298
|
n.__h.forEach(et), n.__h = n.__h.filter(function(r) {
|
|
1299
|
-
return !r.__ ||
|
|
1299
|
+
return !r.__ || Lt(r);
|
|
1300
1300
|
});
|
|
1301
1301
|
} catch (r) {
|
|
1302
1302
|
t.some(function(o) {
|
|
@@ -1305,7 +1305,7 @@ w.__b = function(e) {
|
|
|
1305
1305
|
}
|
|
1306
1306
|
}), Nn && Nn(e, t);
|
|
1307
1307
|
}, w.unmount = function(e) {
|
|
1308
|
-
|
|
1308
|
+
In && In(e);
|
|
1309
1309
|
var t, n = e.__c;
|
|
1310
1310
|
n && n.__H && (n.__H.__.forEach(function(r) {
|
|
1311
1311
|
try {
|
|
@@ -1315,20 +1315,20 @@ w.__b = function(e) {
|
|
|
1315
1315
|
}
|
|
1316
1316
|
}), n.__H = void 0, t && w.__e(t, n.__v));
|
|
1317
1317
|
};
|
|
1318
|
-
var
|
|
1318
|
+
var Ln = typeof requestAnimationFrame == "function";
|
|
1319
1319
|
function Qa(e) {
|
|
1320
1320
|
var t, n = function() {
|
|
1321
|
-
clearTimeout(r),
|
|
1321
|
+
clearTimeout(r), Ln && cancelAnimationFrame(t), setTimeout(e);
|
|
1322
1322
|
}, r = setTimeout(n, 100);
|
|
1323
|
-
|
|
1323
|
+
Ln && (t = requestAnimationFrame(n));
|
|
1324
1324
|
}
|
|
1325
1325
|
function et(e) {
|
|
1326
|
-
var t =
|
|
1327
|
-
typeof n == "function" && (e.__c = void 0, n()),
|
|
1326
|
+
var t = I, n = e.__c;
|
|
1327
|
+
typeof n == "function" && (e.__c = void 0, n()), I = t;
|
|
1328
1328
|
}
|
|
1329
|
-
function
|
|
1330
|
-
var t =
|
|
1331
|
-
e.__c = e.__(),
|
|
1329
|
+
function Lt(e) {
|
|
1330
|
+
var t = I;
|
|
1331
|
+
e.__c = e.__(), I = t;
|
|
1332
1332
|
}
|
|
1333
1333
|
function Kt(e, t) {
|
|
1334
1334
|
return !e || e.length !== t.length || t.some(function(n, r) {
|
|
@@ -1399,7 +1399,7 @@ var ei = ["other", "few", "many", "two", "one", "zero"], An = ({
|
|
|
1399
1399
|
locale: n
|
|
1400
1400
|
}) => An({ terms: e, overrides: t, locale: n })
|
|
1401
1401
|
});
|
|
1402
|
-
const { TranslationProvider:
|
|
1402
|
+
const { TranslationProvider: zs, useTranslation: xe, createTFunction: Bs } = ti({
|
|
1403
1403
|
type_to_search_jobs: "Type to search jobs",
|
|
1404
1404
|
type_to_search: "Type to search",
|
|
1405
1405
|
jobs_found: { one: "{{count}} job found", other: "{{count}} jobs found" },
|
|
@@ -1418,8 +1418,6 @@ const { TranslationProvider: Bs, useTranslation: xe, createTFunction: qs } = ti(
|
|
|
1418
1418
|
widget_unavailable: "Sorry, this widget is unavailable at the moment.",
|
|
1419
1419
|
load_more_count: "Load {{count}} more",
|
|
1420
1420
|
of_remaining_count: "of {{count}} remaining",
|
|
1421
|
-
create_alert: "Create alert",
|
|
1422
|
-
alert_header_text: "You will be alerted for new jobs matching the filters currently set",
|
|
1423
1421
|
today: "today",
|
|
1424
1422
|
over_30_days_ago: "over 30 days ago",
|
|
1425
1423
|
in_over_30_days: "in over 30 days",
|
|
@@ -1443,7 +1441,8 @@ const { TranslationProvider: Bs, useTranslation: xe, createTFunction: qs } = ti(
|
|
|
1443
1441
|
search_label: "What",
|
|
1444
1442
|
geo_label: "Where",
|
|
1445
1443
|
geo_range_label: "Within",
|
|
1446
|
-
geo_suggestions_error: "Could not get the suggested locations."
|
|
1444
|
+
geo_suggestions_error: "Could not get the suggested locations.",
|
|
1445
|
+
feedback: "How was your search experience?"
|
|
1447
1446
|
});
|
|
1448
1447
|
function Rr(e) {
|
|
1449
1448
|
var t, n, r = "";
|
|
@@ -1463,7 +1462,7 @@ function mt() {
|
|
|
1463
1462
|
(e = arguments[n++]) && (t = Rr(e)) && (r && (r += " "), r += t);
|
|
1464
1463
|
return r;
|
|
1465
1464
|
}
|
|
1466
|
-
const
|
|
1465
|
+
const Pn = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, ni = (e) => {
|
|
1467
1466
|
const t = function() {
|
|
1468
1467
|
for (var o = arguments.length, a = new Array(o), s = 0; s < o; s++)
|
|
1469
1468
|
a[s] = arguments[s];
|
|
@@ -1485,7 +1484,7 @@ const Mn = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, ni =
|
|
|
1485
1484
|
if ((o == null ? void 0 : o.variants) == null)
|
|
1486
1485
|
return t(o == null ? void 0 : o.base, a == null ? void 0 : a.class, a == null ? void 0 : a.className);
|
|
1487
1486
|
const { variants: l, defaultVariants: c } = o, d = Object.keys(l).map((p) => {
|
|
1488
|
-
const y = a == null ? void 0 : a[p], _ = c == null ? void 0 : c[p], h =
|
|
1487
|
+
const y = a == null ? void 0 : a[p], _ = c == null ? void 0 : c[p], h = Pn(y) || Pn(_);
|
|
1489
1488
|
return l[p][h];
|
|
1490
1489
|
}), f = { ...c, ...a && Object.entries(a).reduce((p, y) => {
|
|
1491
1490
|
let [_, h] = y;
|
|
@@ -1500,7 +1499,7 @@ const Mn = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, ni =
|
|
|
1500
1499
|
}, []);
|
|
1501
1500
|
return t(o == null ? void 0 : o.base, d, i, a == null ? void 0 : a.class, a == null ? void 0 : a.className);
|
|
1502
1501
|
}, cx: t };
|
|
1503
|
-
}, { compose:
|
|
1502
|
+
}, { compose: qs, cva: te, cx: Gs } = ni(), ri = (e) => {
|
|
1504
1503
|
const [t, n] = j(!1);
|
|
1505
1504
|
return ee(() => {
|
|
1506
1505
|
if (typeof window > "u")
|
|
@@ -1508,7 +1507,7 @@ const Mn = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, ni =
|
|
|
1508
1507
|
const r = window.matchMedia(e), o = () => n(r.matches);
|
|
1509
1508
|
return o(), r.addEventListener("change", o), () => r.removeEventListener("change", o);
|
|
1510
1509
|
}, [e]), t;
|
|
1511
|
-
},
|
|
1510
|
+
}, Ks = (e, { minViewTime: t = 1e3, visibilityThreshold: n = 0, onView: r }) => {
|
|
1512
1511
|
const [o, a] = j(!1);
|
|
1513
1512
|
ee(() => {
|
|
1514
1513
|
if (o || !e.current)
|
|
@@ -1586,7 +1585,7 @@ function oi() {
|
|
|
1586
1585
|
(e = arguments[n]) && (t = Nr(e)) && (r && (r += " "), r += t);
|
|
1587
1586
|
return r;
|
|
1588
1587
|
}
|
|
1589
|
-
const
|
|
1588
|
+
const Zs = ({ error: e, resetError: t }) => {
|
|
1590
1589
|
const { t: n } = xe();
|
|
1591
1590
|
return /* @__PURE__ */ u(
|
|
1592
1591
|
"div",
|
|
@@ -1622,7 +1621,7 @@ const Ys = ({ error: e, resetError: t }) => {
|
|
|
1622
1621
|
]
|
|
1623
1622
|
}
|
|
1624
1623
|
);
|
|
1625
|
-
},
|
|
1624
|
+
}, Mn = ({ error: e, resetError: t, class: n, ...r }) => {
|
|
1626
1625
|
const { t: o } = xe();
|
|
1627
1626
|
return /* @__PURE__ */ u(
|
|
1628
1627
|
"div",
|
|
@@ -1654,7 +1653,7 @@ const Ys = ({ error: e, resetError: t }) => {
|
|
|
1654
1653
|
}
|
|
1655
1654
|
);
|
|
1656
1655
|
};
|
|
1657
|
-
class
|
|
1656
|
+
class Ys extends G {
|
|
1658
1657
|
constructor() {
|
|
1659
1658
|
super(...arguments);
|
|
1660
1659
|
pt(this, "state", { error: null });
|
|
@@ -1835,7 +1834,7 @@ const He = te({
|
|
|
1835
1834
|
d: "M12 20.4C16.63 20.4 20.4 16.64 20.4 12C20.4 7.36 16.64 3.6 12.0 3.6C7.36 3.6 3.6 7.36 3.6 12C3.6 16.64 7.36 20.4 12 20.4ZM10.8 12.6V7.8H13.2V12.6H10.8ZM10.8 16.8V14.4H13.2V16.8H10.8Z"
|
|
1836
1835
|
}
|
|
1837
1836
|
)
|
|
1838
|
-
},
|
|
1837
|
+
}, Js = ({ theme: e }) => /* @__PURE__ */ u("svg", { xmlns: "http://www.w3.org/2000/svg", style: { display: "none" }, children: /* @__PURE__ */ u("defs", { children: Object.entries(ii).map(([t, n]) => {
|
|
1839
1838
|
var r;
|
|
1840
1839
|
return /* @__PURE__ */ u("symbol", { id: `i-icon-${t}`, children: /* @__PURE__ */ u(
|
|
1841
1840
|
"g",
|
|
@@ -1888,7 +1887,7 @@ const He = te({
|
|
|
1888
1887
|
return r(((a = t.current) == null ? void 0 : a.clientHeight) ?? 0);
|
|
1889
1888
|
};
|
|
1890
1889
|
return Ce(() => (o(), window.addEventListener("resize", o), () => window.removeEventListener("resize", o)), e), { height: n, ref: t, updateHeight: o };
|
|
1891
|
-
},
|
|
1890
|
+
}, Ir = (e) => typeof e.value == "string" ? [e.value] : e.value ?? [], Qs = ({
|
|
1892
1891
|
active: e,
|
|
1893
1892
|
value: t,
|
|
1894
1893
|
onActiveChange: n,
|
|
@@ -1898,7 +1897,7 @@ const He = te({
|
|
|
1898
1897
|
unfilteredQuery: s,
|
|
1899
1898
|
useQuery: l
|
|
1900
1899
|
}) => {
|
|
1901
|
-
const c = So(r.key, jn) ? jn[r.key] : void 0, d = r.icon ?? c ?? "filter", f =
|
|
1900
|
+
const c = So(r.key, jn) ? jn[r.key] : void 0, d = r.icon ?? c ?? "filter", f = Ir(t), { height: i, ref: p, updateHeight: y } = ui([e]), _ = f.length > 0;
|
|
1902
1901
|
return /* @__PURE__ */ u(
|
|
1903
1902
|
"section",
|
|
1904
1903
|
{
|
|
@@ -1971,7 +1970,7 @@ const fi = 44, _i = 6, pi = 12, hi = 8, ct = te({
|
|
|
1971
1970
|
size: "md",
|
|
1972
1971
|
hasValue: !1
|
|
1973
1972
|
}
|
|
1974
|
-
}),
|
|
1973
|
+
}), Lr = te({
|
|
1975
1974
|
base: "gutter-stable pointer-fine:flex-wrap pointer-fine:p-2 pointer-fine:bg-app pointer-fine:rounded-section pointer-coarse:overflow-x-auto flex max-w-full overflow-y-auto px-4",
|
|
1976
1975
|
variants: {
|
|
1977
1976
|
type: {
|
|
@@ -2087,11 +2086,11 @@ const fi = 44, _i = 6, pi = 12, hi = 8, ct = te({
|
|
|
2087
2086
|
default:
|
|
2088
2087
|
Qe(c);
|
|
2089
2088
|
}
|
|
2090
|
-
}, [c, t.key]), f =
|
|
2089
|
+
}, [c, t.key]), f = Ir(e), i = f.length > 0, [p, y] = j(), _ = ri("(pointer: coarse)");
|
|
2091
2090
|
return ee(() => {
|
|
2092
2091
|
s();
|
|
2093
2092
|
}), c.queryState === "error" ? /* @__PURE__ */ u(
|
|
2094
|
-
|
|
2093
|
+
Mn,
|
|
2095
2094
|
{
|
|
2096
2095
|
error: new Error(l("filters_loading_error"), { cause: c.error }),
|
|
2097
2096
|
resetError: () => c.swr.mutate()
|
|
@@ -2111,7 +2110,7 @@ const fi = 44, _i = 6, pi = 12, hi = 8, ct = te({
|
|
|
2111
2110
|
switch (a.queryState) {
|
|
2112
2111
|
case "error":
|
|
2113
2112
|
return /* @__PURE__ */ u(
|
|
2114
|
-
|
|
2113
|
+
Mn,
|
|
2115
2114
|
{
|
|
2116
2115
|
error: new Error(l("filters_loading_error"), {
|
|
2117
2116
|
cause: a.error
|
|
@@ -2162,7 +2161,7 @@ const fi = 44, _i = 6, pi = 12, hi = 8, ct = te({
|
|
|
2162
2161
|
style: {
|
|
2163
2162
|
"--maxHeight": `${fi * (_i + 0.5) + 2 * hi}px`
|
|
2164
2163
|
},
|
|
2165
|
-
class:
|
|
2164
|
+
class: Lr({
|
|
2166
2165
|
type: v ? "long" : "short"
|
|
2167
2166
|
}),
|
|
2168
2167
|
children: mi(g, t.sortSuggestions).map((b) => {
|
|
@@ -2270,7 +2269,7 @@ const fi = 44, _i = 6, pi = 12, hi = 8, ct = te({
|
|
|
2270
2269
|
] })
|
|
2271
2270
|
] });
|
|
2272
2271
|
};
|
|
2273
|
-
function
|
|
2272
|
+
function Pr(e, t) {
|
|
2274
2273
|
for (var n in t)
|
|
2275
2274
|
e[n] = t[n];
|
|
2276
2275
|
return e;
|
|
@@ -2290,7 +2289,7 @@ function bt(e, t) {
|
|
|
2290
2289
|
function ot(e) {
|
|
2291
2290
|
this.props = e;
|
|
2292
2291
|
}
|
|
2293
|
-
function
|
|
2292
|
+
function Mr(e, t) {
|
|
2294
2293
|
function n(o) {
|
|
2295
2294
|
var a = this.props.ref, s = a == o.ref;
|
|
2296
2295
|
return !s && a && (a.call ? a(null) : a.current = null), t ? !t(this.props, o) || !s : At(this.props, o);
|
|
@@ -2310,7 +2309,7 @@ w.__b = function(e) {
|
|
|
2310
2309
|
var Si = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
|
|
2311
2310
|
function Zt(e) {
|
|
2312
2311
|
function t(n) {
|
|
2313
|
-
var r =
|
|
2312
|
+
var r = Pr({}, n);
|
|
2314
2313
|
return delete r.ref, e(r, n.ref || null);
|
|
2315
2314
|
}
|
|
2316
2315
|
return t.$$typeof = Si, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
|
|
@@ -2337,7 +2336,7 @@ var Hn = w.unmount;
|
|
|
2337
2336
|
function Vr(e, t, n) {
|
|
2338
2337
|
return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(r) {
|
|
2339
2338
|
typeof r.__c == "function" && r.__c();
|
|
2340
|
-
}), e.__c.__H = null), (e =
|
|
2339
|
+
}), e.__c.__H = null), (e = Pr({}, e)).__c != null && (e.__c.__P === n && (e.__c.__P = t), e.__c = null), e.__k = e.__k && e.__k.map(function(r) {
|
|
2341
2340
|
return Vr(r, t, n);
|
|
2342
2341
|
})), e;
|
|
2343
2342
|
}
|
|
@@ -2458,7 +2457,7 @@ function Fr(e, t) {
|
|
|
2458
2457
|
Fn(e, n, t);
|
|
2459
2458
|
});
|
|
2460
2459
|
};
|
|
2461
|
-
var Wr = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, ki = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, Oi = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Ri = /[A-Z0-9]/g, Ni = typeof document < "u",
|
|
2460
|
+
var Wr = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, ki = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, Oi = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Ri = /[A-Z0-9]/g, Ni = typeof document < "u", Ii = function(e) {
|
|
2462
2461
|
return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
|
|
2463
2462
|
};
|
|
2464
2463
|
function zr(e, t, n) {
|
|
@@ -2475,7 +2474,7 @@ G.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveP
|
|
|
2475
2474
|
} });
|
|
2476
2475
|
});
|
|
2477
2476
|
var Wn = w.event;
|
|
2478
|
-
function
|
|
2477
|
+
function Li() {
|
|
2479
2478
|
}
|
|
2480
2479
|
function Ai() {
|
|
2481
2480
|
return this.cancelBubble;
|
|
@@ -2484,9 +2483,9 @@ function Di() {
|
|
|
2484
2483
|
return this.defaultPrevented;
|
|
2485
2484
|
}
|
|
2486
2485
|
w.event = function(e) {
|
|
2487
|
-
return Wn && (e = Wn(e)), e.persist =
|
|
2486
|
+
return Wn && (e = Wn(e)), e.persist = Li, e.isPropagationStopped = Ai, e.isDefaultPrevented = Di, e.nativeEvent = e;
|
|
2488
2487
|
};
|
|
2489
|
-
var Yt,
|
|
2488
|
+
var Yt, Pi = { enumerable: !1, configurable: !0, get: function() {
|
|
2490
2489
|
return this.class;
|
|
2491
2490
|
} }, zn = w.vnode;
|
|
2492
2491
|
w.vnode = function(e) {
|
|
@@ -2496,14 +2495,14 @@ w.vnode = function(e) {
|
|
|
2496
2495
|
var s = n[a];
|
|
2497
2496
|
if (!(a === "value" && "defaultValue" in n && s == null || Ni && a === "children" && r === "noscript" || a === "class" || a === "className")) {
|
|
2498
2497
|
var l = a.toLowerCase();
|
|
2499
|
-
a === "defaultValue" && "value" in n && n.value == null ? a = "value" : a === "download" && s === !0 ? s = "" : l === "ondoubleclick" ? a = "ondblclick" : l !== "onchange" || r !== "input" && r !== "textarea" ||
|
|
2498
|
+
a === "defaultValue" && "value" in n && n.value == null ? a = "value" : a === "download" && s === !0 ? s = "" : l === "ondoubleclick" ? a = "ondblclick" : l !== "onchange" || r !== "input" && r !== "textarea" || Ii(n.type) ? l === "onfocus" ? a = "onfocusin" : l === "onblur" ? a = "onfocusout" : Oi.test(a) ? a = l : r.indexOf("-") === -1 && ki.test(a) ? a = a.replace(Ri, "-$&").toLowerCase() : s === null && (s = void 0) : l = a = "oninput", l === "oninput" && o[a = l] && (a = "oninputCapture"), o[a] = s;
|
|
2500
2499
|
}
|
|
2501
2500
|
}
|
|
2502
2501
|
r == "select" && o.multiple && Array.isArray(o.value) && (o.value = le(n.children).forEach(function(c) {
|
|
2503
2502
|
c.props.selected = o.value.indexOf(c.props.value) != -1;
|
|
2504
2503
|
})), r == "select" && o.defaultValue != null && (o.value = le(n.children).forEach(function(c) {
|
|
2505
2504
|
c.props.selected = o.multiple ? o.defaultValue.indexOf(c.props.value) != -1 : o.defaultValue == c.props.value;
|
|
2506
|
-
})), n.class && !n.className ? (o.class = n.class, Object.defineProperty(o, "className",
|
|
2505
|
+
})), n.class && !n.className ? (o.class = n.class, Object.defineProperty(o, "className", Pi)) : (n.className && !n.class || n.class && n.className) && (o.class = o.className = n.className), t.props = o;
|
|
2507
2506
|
}(e), e.$$typeof = Wr, zn && zn(e);
|
|
2508
2507
|
};
|
|
2509
2508
|
var Bn = w.__r;
|
|
@@ -2518,7 +2517,7 @@ w.diffed = function(e) {
|
|
|
2518
2517
|
};
|
|
2519
2518
|
var qr = { ReactCurrentDispatcher: { current: { readContext: function(e) {
|
|
2520
2519
|
return Yt.__n[e.__c].props.value;
|
|
2521
|
-
} } } },
|
|
2520
|
+
} } } }, Mi = "17.0.2";
|
|
2522
2521
|
function Gr(e) {
|
|
2523
2522
|
return X.bind(null, e);
|
|
2524
2523
|
}
|
|
@@ -2559,7 +2558,7 @@ function ro(e, t) {
|
|
|
2559
2558
|
});
|
|
2560
2559
|
}, [e]), n;
|
|
2561
2560
|
}
|
|
2562
|
-
var ut = { useState: j, useId: Gt, useReducer: Bt, useEffect: ee, useLayoutEffect: Ce, useInsertionEffect: no, useTransition: to, useDeferredValue: eo, useSyncExternalStore: ro, startTransition: Qt, useRef: q, useImperativeHandle: kr, useMemo: be, useCallback: je, useContext: lt, useDebugValue: qt, version: "17.0.2", Children: jr, render: zr, hydrate: Br, unmountComponentAtNode: Zr, createPortal: Fr, createElement: X, createContext: it, createFactory: Gr, cloneElement: Kr, createRef: ir, Fragment: D, isValidElement: Jt, findDOMNode: Yr, Component: G, PureComponent: ot, memo:
|
|
2561
|
+
var ut = { useState: j, useId: Gt, useReducer: Bt, useEffect: ee, useLayoutEffect: Ce, useInsertionEffect: no, useTransition: to, useDeferredValue: eo, useSyncExternalStore: ro, startTransition: Qt, useRef: q, useImperativeHandle: kr, useMemo: be, useCallback: je, useContext: lt, useDebugValue: qt, version: "17.0.2", Children: jr, render: zr, hydrate: Br, unmountComponentAtNode: Zr, createPortal: Fr, createElement: X, createContext: it, createFactory: Gr, cloneElement: Kr, createRef: ir, Fragment: D, isValidElement: Jt, findDOMNode: Yr, Component: G, PureComponent: ot, memo: Mr, forwardRef: Zt, flushSync: Qr, unstable_batchedUpdates: Jr, StrictMode: Xr, Suspense: Ve, SuspenseList: Ne, lazy: Hr, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: qr };
|
|
2563
2562
|
const ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2564
2563
|
__proto__: null,
|
|
2565
2564
|
Children: jr,
|
|
@@ -2583,7 +2582,7 @@ const ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2583
2582
|
hydrate: Br,
|
|
2584
2583
|
isValidElement: Jt,
|
|
2585
2584
|
lazy: Hr,
|
|
2586
|
-
memo:
|
|
2585
|
+
memo: Mr,
|
|
2587
2586
|
render: zr,
|
|
2588
2587
|
startTransition: Qt,
|
|
2589
2588
|
unmountComponentAtNode: Zr,
|
|
@@ -2604,7 +2603,7 @@ const ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2604
2603
|
useState: j,
|
|
2605
2604
|
useSyncExternalStore: ro,
|
|
2606
2605
|
useTransition: to,
|
|
2607
|
-
version:
|
|
2606
|
+
version: Mi
|
|
2608
2607
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2609
2608
|
var Dt = { exports: {} }, Et = {};
|
|
2610
2609
|
const oo = /* @__PURE__ */ Zo(ji);
|
|
@@ -2766,7 +2765,7 @@ const Fe = (e) => {
|
|
|
2766
2765
|
} else
|
|
2767
2766
|
o = r ? e.toJSON() : t == "symbol" ? e.toString() : t == "string" ? JSON.stringify(e) : "" + e;
|
|
2768
2767
|
return o;
|
|
2769
|
-
}, ae = /* @__PURE__ */ new WeakMap(), Ct = {}, Je = {}, Xt = "undefined", dt = typeof window != Xt,
|
|
2768
|
+
}, ae = /* @__PURE__ */ new WeakMap(), Ct = {}, Je = {}, Xt = "undefined", dt = typeof window != Xt, Pt = typeof document != Xt, Wi = () => dt && typeof window.requestAnimationFrame != Xt, ao = (e, t) => {
|
|
2770
2769
|
const n = ae.get(e);
|
|
2771
2770
|
return [
|
|
2772
2771
|
// Getter
|
|
@@ -2784,23 +2783,23 @@ const Fe = (e) => {
|
|
|
2784
2783
|
() => !R(t) && t in Je ? Je[t] : !R(t) && e.get(t) || Ct
|
|
2785
2784
|
];
|
|
2786
2785
|
};
|
|
2787
|
-
let
|
|
2788
|
-
const zi = () =>
|
|
2786
|
+
let Mt = !0;
|
|
2787
|
+
const zi = () => Mt, [jt, Vt] = dt && window.addEventListener ? [
|
|
2789
2788
|
window.addEventListener.bind(window),
|
|
2790
2789
|
window.removeEventListener.bind(window)
|
|
2791
2790
|
] : [
|
|
2792
2791
|
pe,
|
|
2793
2792
|
pe
|
|
2794
2793
|
], Bi = () => {
|
|
2795
|
-
const e =
|
|
2794
|
+
const e = Pt && document.visibilityState;
|
|
2796
2795
|
return R(e) || e !== "hidden";
|
|
2797
|
-
}, qi = (e) => (
|
|
2798
|
-
|
|
2796
|
+
}, qi = (e) => (Pt && document.addEventListener("visibilitychange", e), jt("focus", e), () => {
|
|
2797
|
+
Pt && document.removeEventListener("visibilitychange", e), Vt("focus", e);
|
|
2799
2798
|
}), Gi = (e) => {
|
|
2800
2799
|
const t = () => {
|
|
2801
|
-
|
|
2800
|
+
Mt = !0, e();
|
|
2802
2801
|
}, n = () => {
|
|
2803
|
-
|
|
2802
|
+
Mt = !1;
|
|
2804
2803
|
};
|
|
2805
2804
|
return jt("online", t), jt("offline", n), () => {
|
|
2806
2805
|
Vt("online", t), Vt("offline", n);
|
|
@@ -2829,7 +2828,7 @@ const zi = () => Pt, [jt, Vt] = dt && window.addEventListener ? [
|
|
|
2829
2828
|
};
|
|
2830
2829
|
let Ji = 0;
|
|
2831
2830
|
const $t = () => ++Ji, io = 0, so = 1, lo = 2, Qi = 3;
|
|
2832
|
-
var
|
|
2831
|
+
var Pe = {
|
|
2833
2832
|
__proto__: null,
|
|
2834
2833
|
ERROR_REVALIDATE_EVENT: Qi,
|
|
2835
2834
|
FOCUS_EVENT: io,
|
|
@@ -3043,25 +3042,25 @@ const Qn = ut.use || ((e) => {
|
|
|
3043
3042
|
}), kt = {
|
|
3044
3043
|
dedupe: !0
|
|
3045
3044
|
}, hs = (e, t, n) => {
|
|
3046
|
-
const { cache: r, compare: o, suspense: a, fallbackData: s, revalidateOnMount: l, revalidateIfStale: c, refreshInterval: d, refreshWhenHidden: f, refreshWhenOffline: i, keepPreviousData: p } = n, [y, _, h, C] = ae.get(r), [g, E] = en(e), S = q(!1), v = q(!1), b = q(g), m = q(t), k = q(n), x = () => k.current, T = () => x().isVisible() && x().isOnline(), [O, U, K, H] = ao(r, g), ue = q({}).current, qe = R(s) ? n.fallback[g] : s, tn = (
|
|
3045
|
+
const { cache: r, compare: o, suspense: a, fallbackData: s, revalidateOnMount: l, revalidateIfStale: c, refreshInterval: d, refreshWhenHidden: f, refreshWhenOffline: i, keepPreviousData: p } = n, [y, _, h, C] = ae.get(r), [g, E] = en(e), S = q(!1), v = q(!1), b = q(g), m = q(t), k = q(n), x = () => k.current, T = () => x().isVisible() && x().isOnline(), [O, U, K, H] = ao(r, g), ue = q({}).current, qe = R(s) ? n.fallback[g] : s, tn = (L, A) => {
|
|
3047
3046
|
for (const $ in ue) {
|
|
3048
|
-
const
|
|
3049
|
-
if (
|
|
3050
|
-
if (!o(
|
|
3047
|
+
const P = $;
|
|
3048
|
+
if (P === "data") {
|
|
3049
|
+
if (!o(L[P], A[P]) && (!R(L[P]) || !o(Ke, A[P])))
|
|
3051
3050
|
return !1;
|
|
3052
|
-
} else if (A[
|
|
3051
|
+
} else if (A[P] !== L[P])
|
|
3053
3052
|
return !1;
|
|
3054
3053
|
}
|
|
3055
3054
|
return !0;
|
|
3056
3055
|
}, nn = be(() => {
|
|
3057
|
-
const
|
|
3056
|
+
const L = (() => !g || !t ? !1 : R(l) ? x().isPaused() || a ? !1 : R(c) ? !0 : c : l)(), A = (F) => {
|
|
3058
3057
|
const ne = ge(F);
|
|
3059
|
-
return delete ne._k,
|
|
3058
|
+
return delete ne._k, L ? {
|
|
3060
3059
|
isValidating: !0,
|
|
3061
3060
|
isLoading: !0,
|
|
3062
3061
|
...ne
|
|
3063
3062
|
} : ne;
|
|
3064
|
-
}, $ = O(),
|
|
3063
|
+
}, $ = O(), P = H(), Z = A($), Re = $ === P ? Z : A(P);
|
|
3065
3064
|
let V = Z;
|
|
3066
3065
|
return [
|
|
3067
3066
|
() => {
|
|
@@ -3074,8 +3073,8 @@ const Qn = ut.use || ((e) => {
|
|
|
3074
3073
|
r,
|
|
3075
3074
|
g
|
|
3076
3075
|
]), Te = Ui.useSyncExternalStore(je(
|
|
3077
|
-
(
|
|
3078
|
-
tn($, A) ||
|
|
3076
|
+
(L) => K(g, (A, $) => {
|
|
3077
|
+
tn($, A) || L();
|
|
3079
3078
|
}),
|
|
3080
3079
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
3081
3080
|
[
|
|
@@ -3083,19 +3082,19 @@ const Qn = ut.use || ((e) => {
|
|
|
3083
3082
|
g
|
|
3084
3083
|
]
|
|
3085
3084
|
), nn[0], nn[1]), rn = !S.current, yo = y[g] && y[g].length > 0, ke = Te.data, Oe = R(ke) ? qe : ke, Ge = Te.error, on = q(Oe), Ke = p ? R(ke) ? on.current : ke : Oe, an = (() => yo && !R(Ge) ? !1 : rn && !R(l) ? l : x().isPaused() ? !1 : a ? R(Oe) ? !1 : c : R(Oe) || c)(), sn = !!(g && t && rn && an), go = R(Te.isValidating) ? sn : Te.isValidating, vo = R(Te.isLoading) ? sn : Te.isLoading, Ae = je(
|
|
3086
|
-
async (
|
|
3085
|
+
async (L) => {
|
|
3087
3086
|
const A = m.current;
|
|
3088
3087
|
if (!g || !A || v.current || x().isPaused())
|
|
3089
3088
|
return !1;
|
|
3090
|
-
let $,
|
|
3091
|
-
const Re =
|
|
3089
|
+
let $, P, Z = !0;
|
|
3090
|
+
const Re = L || {}, V = !h[g] || !Re.dedupe, F = () => Zn ? !v.current && g === b.current && S.current : g === b.current, ne = {
|
|
3092
3091
|
isValidating: !1,
|
|
3093
3092
|
isLoading: !1
|
|
3094
3093
|
}, cn = () => {
|
|
3095
3094
|
U(ne);
|
|
3096
3095
|
}, un = () => {
|
|
3097
3096
|
const B = h[g];
|
|
3098
|
-
B && B[1] ===
|
|
3097
|
+
B && B[1] === P && delete h[g];
|
|
3099
3098
|
}, dn = {
|
|
3100
3099
|
isValidating: !0
|
|
3101
3100
|
};
|
|
@@ -3106,13 +3105,13 @@ const Qn = ut.use || ((e) => {
|
|
|
3106
3105
|
}, n.loadingTimeout), h[g] = [
|
|
3107
3106
|
A(E),
|
|
3108
3107
|
$t()
|
|
3109
|
-
]), [$,
|
|
3108
|
+
]), [$, P] = h[g], $ = await $, V && setTimeout(un, n.dedupingInterval), !h[g] || h[g][1] !== P)
|
|
3110
3109
|
return V && F() && x().onDiscarded(g), !1;
|
|
3111
3110
|
ne.error = W;
|
|
3112
3111
|
const B = _[g];
|
|
3113
3112
|
if (!R(B) && // case 1
|
|
3114
|
-
(
|
|
3115
|
-
|
|
3113
|
+
(P <= B[0] || // case 2
|
|
3114
|
+
P <= B[1] || // case 3
|
|
3116
3115
|
B[1] === 0))
|
|
3117
3116
|
return cn(), V && F() && x().onDiscarded(g), !1;
|
|
3118
3117
|
const re = O().data;
|
|
@@ -3122,7 +3121,7 @@ const Qn = ut.use || ((e) => {
|
|
|
3122
3121
|
const re = x(), { shouldRetryOnError: ft } = re;
|
|
3123
3122
|
re.isPaused() || (ne.error = B, V && F() && (re.onError(B, g, re), (ft === !0 || Q(ft) && ft(B)) && (!x().revalidateOnFocus || !x().revalidateOnReconnect || T()) && re.onErrorRetry(B, g, re, (mo) => {
|
|
3124
3123
|
const _t = y[g];
|
|
3125
|
-
_t && _t[0] && _t[0](
|
|
3124
|
+
_t && _t[0] && _t[0](Pe.ERROR_REVALIDATE_EVENT, mo);
|
|
3126
3125
|
}, {
|
|
3127
3126
|
retryCount: (Re.retryCount || 0) + 1,
|
|
3128
3127
|
dedupe: !0
|
|
@@ -3147,7 +3146,7 @@ const Qn = ut.use || ((e) => {
|
|
|
3147
3146
|
]
|
|
3148
3147
|
), ln = je(
|
|
3149
3148
|
// Use callback to make sure `keyRef.current` returns latest result every time
|
|
3150
|
-
(...
|
|
3149
|
+
(...L) => co(r, b.current, ...L),
|
|
3151
3150
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
3152
3151
|
[]
|
|
3153
3152
|
);
|
|
@@ -3156,39 +3155,39 @@ const Qn = ut.use || ((e) => {
|
|
|
3156
3155
|
}), xt(() => {
|
|
3157
3156
|
if (!g)
|
|
3158
3157
|
return;
|
|
3159
|
-
const
|
|
3158
|
+
const L = Ae.bind(W, kt);
|
|
3160
3159
|
let A = 0;
|
|
3161
|
-
const
|
|
3162
|
-
if (Z ==
|
|
3160
|
+
const P = ps(g, y, (Z, Re = {}) => {
|
|
3161
|
+
if (Z == Pe.FOCUS_EVENT) {
|
|
3163
3162
|
const V = Date.now();
|
|
3164
|
-
x().revalidateOnFocus && V > A && T() && (A = V + x().focusThrottleInterval,
|
|
3165
|
-
} else if (Z ==
|
|
3166
|
-
x().revalidateOnReconnect && T() &&
|
|
3163
|
+
x().revalidateOnFocus && V > A && T() && (A = V + x().focusThrottleInterval, L());
|
|
3164
|
+
} else if (Z == Pe.RECONNECT_EVENT)
|
|
3165
|
+
x().revalidateOnReconnect && T() && L();
|
|
3167
3166
|
else {
|
|
3168
|
-
if (Z ==
|
|
3167
|
+
if (Z == Pe.MUTATE_EVENT)
|
|
3169
3168
|
return Ae();
|
|
3170
|
-
if (Z ==
|
|
3169
|
+
if (Z == Pe.ERROR_REVALIDATE_EVENT)
|
|
3171
3170
|
return Ae(Re);
|
|
3172
3171
|
}
|
|
3173
3172
|
});
|
|
3174
3173
|
return v.current = !1, b.current = g, S.current = !0, U({
|
|
3175
3174
|
_k: E
|
|
3176
|
-
}), an && (R(Oe) || We ?
|
|
3177
|
-
v.current = !0,
|
|
3175
|
+
}), an && (R(Oe) || We ? L() : Yi(L)), () => {
|
|
3176
|
+
v.current = !0, P();
|
|
3178
3177
|
};
|
|
3179
3178
|
}, [
|
|
3180
3179
|
g
|
|
3181
3180
|
]), xt(() => {
|
|
3182
|
-
let
|
|
3181
|
+
let L;
|
|
3183
3182
|
function A() {
|
|
3184
|
-
const
|
|
3185
|
-
|
|
3183
|
+
const P = Q(d) ? d(O().data) : d;
|
|
3184
|
+
P && L !== -1 && (L = setTimeout($, P));
|
|
3186
3185
|
}
|
|
3187
3186
|
function $() {
|
|
3188
3187
|
!O().error && (f || x().isVisible()) && (i || x().isOnline()) ? Ae(kt).then(A) : A();
|
|
3189
3188
|
}
|
|
3190
3189
|
return A(), () => {
|
|
3191
|
-
|
|
3190
|
+
L && (clearTimeout(L), L = -1);
|
|
3192
3191
|
};
|
|
3193
3192
|
}, [
|
|
3194
3193
|
d,
|
|
@@ -3199,9 +3198,9 @@ const Qn = ut.use || ((e) => {
|
|
|
3199
3198
|
if (!Zn && We)
|
|
3200
3199
|
throw new Error("Fallback data is required when using suspense in SSR.");
|
|
3201
3200
|
m.current = t, k.current = n, v.current = !1;
|
|
3202
|
-
const
|
|
3203
|
-
if (!R(
|
|
3204
|
-
const A = ln(
|
|
3201
|
+
const L = C[g];
|
|
3202
|
+
if (!R(L)) {
|
|
3203
|
+
const A = ln(L);
|
|
3205
3204
|
Qn(A);
|
|
3206
3205
|
}
|
|
3207
3206
|
if (R(Ge)) {
|
|
@@ -3297,7 +3296,7 @@ const Qn = ut.use || ((e) => {
|
|
|
3297
3296
|
!t && y && !e && o.length > 0 ? /* @__PURE__ */ u(
|
|
3298
3297
|
"ul",
|
|
3299
3298
|
{
|
|
3300
|
-
className:
|
|
3299
|
+
className: Lr({
|
|
3301
3300
|
type: "long",
|
|
3302
3301
|
ring: "unset",
|
|
3303
3302
|
className: "ring-width-section ring-job-card-stroke absolute left-0 right-0 top-12 z-50 w-full shadow-sm"
|
|
@@ -3441,7 +3440,7 @@ const Qn = ut.use || ((e) => {
|
|
|
3441
3440
|
radius: r,
|
|
3442
3441
|
onError: o
|
|
3443
3442
|
}) => {
|
|
3444
|
-
const { t: a } = xe(), [s, l] = j(""), [c, d] = j(), f =
|
|
3443
|
+
const { t: a } = xe(), [s, l] = j(""), [c, d] = j(), f = Is(s, 500), [i, p] = j(new AbortController()), y = ys(f, Ts, {
|
|
3445
3444
|
keepPreviousData: !1,
|
|
3446
3445
|
revalidateIfStale: !1,
|
|
3447
3446
|
revalidateOnFocus: !1
|
|
@@ -3547,7 +3546,7 @@ const Qn = ut.use || ((e) => {
|
|
|
3547
3546
|
type: e.type,
|
|
3548
3547
|
coords: e.lat && e.lng ? { lat: e.lat, lng: e.lng } : void 0
|
|
3549
3548
|
})
|
|
3550
|
-
),
|
|
3549
|
+
), Xs = ({
|
|
3551
3550
|
value: e,
|
|
3552
3551
|
onValueChange: t,
|
|
3553
3552
|
logger: n
|
|
@@ -3627,7 +3626,7 @@ const Qn = ut.use || ((e) => {
|
|
|
3627
3626
|
}
|
|
3628
3627
|
) : null
|
|
3629
3628
|
] });
|
|
3630
|
-
},
|
|
3629
|
+
}, el = (e, t) => {
|
|
3631
3630
|
const n = structuredClone(e);
|
|
3632
3631
|
return n.forEach((r) => {
|
|
3633
3632
|
if (t.has(r.key)) {
|
|
@@ -3637,14 +3636,14 @@ const Qn = ut.use || ((e) => {
|
|
|
3637
3636
|
r.defaultValue = o.includes(",") ? o.split(",") : o;
|
|
3638
3637
|
}
|
|
3639
3638
|
}), n;
|
|
3640
|
-
},
|
|
3639
|
+
}, tl = (e) => {
|
|
3641
3640
|
const t = e.get("lat"), n = e.get("lng"), r = e.get("radius");
|
|
3642
3641
|
return {
|
|
3643
3642
|
type: "provided",
|
|
3644
3643
|
coords: t && n ? { lat: Number(t), lng: Number(n) } : void 0,
|
|
3645
3644
|
radius: r ? Number(r) : Ut(_o)
|
|
3646
3645
|
};
|
|
3647
|
-
},
|
|
3646
|
+
}, Is = (e, t = 1e3) => {
|
|
3648
3647
|
const [n, r] = j(e), o = be(() => Za((a) => r(a), t), [t]);
|
|
3649
3648
|
return ee(() => {
|
|
3650
3649
|
o(e);
|
|
@@ -3655,7 +3654,7 @@ const Qn = ut.use || ((e) => {
|
|
|
3655
3654
|
HOURLY: "per hour",
|
|
3656
3655
|
MONTHLY: "per month",
|
|
3657
3656
|
WEEKLY: "per week"
|
|
3658
|
-
},
|
|
3657
|
+
}, Ls = (e) => {
|
|
3659
3658
|
const { salary: t, config: n } = e, r = new Intl.NumberFormat(n.locales, {
|
|
3660
3659
|
style: "currency",
|
|
3661
3660
|
currency: t.pay_currency,
|
|
@@ -3676,9 +3675,9 @@ const Qn = ut.use || ((e) => {
|
|
|
3676
3675
|
months: Math.round(a / 1e3 / 60 / 60 / 24 / 30)
|
|
3677
3676
|
};
|
|
3678
3677
|
return s.days === 0 ? r("today") : Math.abs(s.days) < 30 ? n.format(s.days, "days") : Math.abs(s.days) < 3 ? n.format(s.months, "months") : s.months < 0 ? r("over_30_days_ago") : r("in_over_30_days");
|
|
3679
|
-
},
|
|
3678
|
+
}, Ps = br(
|
|
3680
3679
|
Wt(se({ label: gn(N(), String), value: gn(N(), String), jobs: de() }))
|
|
3681
|
-
),
|
|
3680
|
+
), Ms = N([qo()]), js = se({
|
|
3682
3681
|
total: de(),
|
|
3683
3682
|
current_page: de(),
|
|
3684
3683
|
per_page: de(),
|
|
@@ -3718,7 +3717,7 @@ const Qn = ut.use || ((e) => {
|
|
|
3718
3717
|
country: z(N()),
|
|
3719
3718
|
vector_distance: fe(z(N()))
|
|
3720
3719
|
}), $s = (e) => _e(Vs, (t) => {
|
|
3721
|
-
const n = zt(
|
|
3720
|
+
const n = zt(Ms, t.company_logo);
|
|
3722
3721
|
return {
|
|
3723
3722
|
id: t.id,
|
|
3724
3723
|
createdAt: t.created_at,
|
|
@@ -3728,7 +3727,7 @@ const Qn = ut.use || ((e) => {
|
|
|
3728
3727
|
},
|
|
3729
3728
|
employmentType: t.employment_type,
|
|
3730
3729
|
locationType: t.location_type,
|
|
3731
|
-
pay:
|
|
3730
|
+
pay: Ls({ salary: t, config: { locales: void 0 }, t: e }) ?? null,
|
|
3732
3731
|
description: t.description,
|
|
3733
3732
|
title: t.title,
|
|
3734
3733
|
contractType: t.contract_type,
|
|
@@ -3760,7 +3759,7 @@ const Qn = ut.use || ((e) => {
|
|
|
3760
3759
|
lng: e.geo.coords.lng,
|
|
3761
3760
|
radius: e.geo.radius
|
|
3762
3761
|
}), t;
|
|
3763
|
-
},
|
|
3762
|
+
}, nl = async ({
|
|
3764
3763
|
apiClient: e,
|
|
3765
3764
|
state: t,
|
|
3766
3765
|
logger: n,
|
|
@@ -3775,11 +3774,11 @@ const Qn = ut.use || ((e) => {
|
|
|
3775
3774
|
), a = "/search/filters", s = await e.fetch([a, o.toString()].filter(Boolean).join("?"), {
|
|
3776
3775
|
signal: r
|
|
3777
3776
|
});
|
|
3778
|
-
return Er(
|
|
3777
|
+
return Er(Ps, s);
|
|
3779
3778
|
} catch (o) {
|
|
3780
3779
|
throw o instanceof st ? n.error(o.message, o.issues) : n.error(o), o;
|
|
3781
3780
|
}
|
|
3782
|
-
},
|
|
3781
|
+
}, rl = async ({
|
|
3783
3782
|
apiClient: e,
|
|
3784
3783
|
logger: t,
|
|
3785
3784
|
signal: n,
|
|
@@ -3813,7 +3812,7 @@ const Qn = ut.use || ((e) => {
|
|
|
3813
3812
|
if (!e.data && !e.isLoading)
|
|
3814
3813
|
return { queryState: "idle", swr: e };
|
|
3815
3814
|
throw console.error("Unhandled data state", e), new Error("Unhandled data state");
|
|
3816
|
-
},
|
|
3815
|
+
}, ol = {
|
|
3817
3816
|
keepPreviousData: !0,
|
|
3818
3817
|
revalidateOnFocus: !1,
|
|
3819
3818
|
revalidateOnReconnect: !1,
|
|
@@ -3821,31 +3820,30 @@ const Qn = ut.use || ((e) => {
|
|
|
3821
3820
|
revalidateFirstPage: !1
|
|
3822
3821
|
};
|
|
3823
3822
|
export {
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3823
|
+
Ks as A,
|
|
3824
|
+
Bs as B,
|
|
3825
|
+
_r as C,
|
|
3826
|
+
$e as D,
|
|
3827
|
+
Mn as E,
|
|
3829
3828
|
be as F,
|
|
3830
|
-
|
|
3831
|
-
|
|
3829
|
+
Xs as G,
|
|
3830
|
+
zs as H,
|
|
3832
3831
|
ye as I,
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3832
|
+
Ws as J,
|
|
3833
|
+
Js as K,
|
|
3834
|
+
el as L,
|
|
3836
3835
|
tl as M,
|
|
3837
|
-
|
|
3838
|
-
|
|
3836
|
+
Ls as N,
|
|
3837
|
+
Ds as O,
|
|
3839
3838
|
Go as P,
|
|
3840
|
-
|
|
3841
|
-
al as S,
|
|
3839
|
+
ol as S,
|
|
3842
3840
|
je as T,
|
|
3843
|
-
|
|
3841
|
+
Zs as U,
|
|
3844
3842
|
q as _,
|
|
3845
3843
|
ys as a,
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3844
|
+
nl as b,
|
|
3845
|
+
Ys as c,
|
|
3846
|
+
Qs as d,
|
|
3849
3847
|
Qe as e,
|
|
3850
3848
|
oi as f,
|
|
3851
3849
|
ho as g,
|
|
@@ -3865,7 +3863,7 @@ export {
|
|
|
3865
3863
|
xe as u,
|
|
3866
3864
|
Ko as v,
|
|
3867
3865
|
te as w,
|
|
3868
|
-
|
|
3866
|
+
rl as x,
|
|
3869
3867
|
X as y,
|
|
3870
3868
|
wo as z
|
|
3871
3869
|
};
|