@inploi/plugin-job-search 8.6.0 → 8.6.1
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/README.md +2 -1
- package/cdn/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/{map-95c39b6f.cjs → map-a092b43f.cjs} +1 -1
- package/dist/{map-2bc8a36b.js → map-ddfd39ea.js} +2 -2
- package/dist/{map-style-9418e566.cjs → map-style-57bbe0a0.cjs} +1 -1
- package/dist/{map-style-383e388c.js → map-style-c988f534.js} +193 -191
- package/dist/{mapbox-gl-8f9e2939.js → mapbox-gl-92318326.js} +1 -1
- package/dist/{mapbox-gl-588b9a28.cjs → mapbox-gl-f5a3f2d4.cjs} +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +1 -1
- package/package.json +2 -2
|
@@ -44,7 +44,7 @@ var ri = {
|
|
|
44
44
|
};
|
|
45
45
|
return a.days === 0 ? r("today") : Math.abs(a.days) < 30 ? n.format(a.days, "days") : Math.abs(a.days) < 3 ? n.format(a.months, "months") : a.months < 0 ? r("over_30_days_ago") : r("in_over_30_days");
|
|
46
46
|
}, en, j, Ra, lt, oi, Da, La, Ma, xo, Wr, zr, Na, Ln = {}, Mn = [], nl = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, tn = Array.isArray;
|
|
47
|
-
function
|
|
47
|
+
function ke(e, t) {
|
|
48
48
|
for (var n in t)
|
|
49
49
|
e[n] = t[n];
|
|
50
50
|
return e;
|
|
@@ -74,18 +74,18 @@ function H(e) {
|
|
|
74
74
|
function ve(e, t) {
|
|
75
75
|
this.props = e, this.context = t;
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function Tt(e, t) {
|
|
78
78
|
if (t == null)
|
|
79
|
-
return e.__ ?
|
|
79
|
+
return e.__ ? Tt(e.__, e.__i + 1) : null;
|
|
80
80
|
for (var n; t < e.__k.length; t++)
|
|
81
81
|
if ((n = e.__k[t]) != null && n.__e != null)
|
|
82
82
|
return n.__e;
|
|
83
|
-
return typeof e.type == "function" ?
|
|
83
|
+
return typeof e.type == "function" ? Tt(e) : null;
|
|
84
84
|
}
|
|
85
85
|
function rl(e) {
|
|
86
86
|
if (e.__P && e.__d) {
|
|
87
|
-
var t = e.__v, n = t.__e, r = [], o = [], i =
|
|
88
|
-
i.__v = t.__v + 1, j.vnode && j.vnode(i), Co(e.__P, i, t, e.__n, e.__P.namespaceURI, 32 & t.__u ? [n] : null, r, n ??
|
|
87
|
+
var t = e.__v, n = t.__e, r = [], o = [], i = ke({}, t);
|
|
88
|
+
i.__v = t.__v + 1, j.vnode && j.vnode(i), Co(e.__P, i, t, e.__n, e.__P.namespaceURI, 32 & t.__u ? [n] : null, r, n ?? Tt(t), !!(32 & t.__u), o), i.__v = t.__v, i.__.__k[i.__i] = i, Ha(r, i, o), t.__e = t.__ = null, i.__e != n && ja(i);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
function ja(e) {
|
|
@@ -115,7 +115,7 @@ function ol(e, t, n, r, o) {
|
|
|
115
115
|
(a = t[i]) != null && typeof a != "boolean" && typeof a != "function" ? (typeof a == "string" || typeof a == "number" || typeof a == "bigint" || a.constructor == String ? a = e.__k[i] = Kt(null, a, null, null, null) : tn(a) ? a = e.__k[i] = Kt(H, { children: a }, null, null, null) : a.constructor === void 0 && a.__b > 0 ? a = e.__k[i] = Kt(a.type, a.props, a.key, a.ref ? a.ref : null, a.__v) : e.__k[i] = a, c = i + h, a.__ = e, a.__b = e.__b + 1, s = null, (d = a.__i = il(a, n, c, l)) != -1 && (l--, (s = n[d]) && (s.__u |= 2)), s == null || s.__v == null ? (d == -1 && (o > f ? h-- : o < f && h++), typeof a.type != "function" && (a.__u |= 4)) : d != c && (d == c - 1 ? h-- : d == c + 1 ? h++ : (d > c ? h-- : h++, a.__u |= 4))) : e.__k[i] = null;
|
|
116
116
|
if (l)
|
|
117
117
|
for (i = 0; i < f; i++)
|
|
118
|
-
(s = n[i]) != null && !(2 & s.__u) && (s.__e == r && (r =
|
|
118
|
+
(s = n[i]) != null && !(2 & s.__u) && (s.__e == r && (r = Tt(s)), Wa(s, s));
|
|
119
119
|
return r;
|
|
120
120
|
}
|
|
121
121
|
function Va(e, t, n, r) {
|
|
@@ -125,7 +125,7 @@ function Va(e, t, n, r) {
|
|
|
125
125
|
o[i] && (o[i].__ = e, t = Va(o[i], t, n, r));
|
|
126
126
|
return t;
|
|
127
127
|
}
|
|
128
|
-
e.__e != t && (r && (t && e.type && !t.parentNode && (t =
|
|
128
|
+
e.__e != t && (r && (t && e.type && !t.parentNode && (t = Tt(e)), n.insertBefore(e.__e, t || null)), t = e.__e);
|
|
129
129
|
do
|
|
130
130
|
t = t && t.nextSibling;
|
|
131
131
|
while (t != null && t.nodeType == 8);
|
|
@@ -198,7 +198,7 @@ function Co(e, t, n, r, o, i, a, s, c, d) {
|
|
|
198
198
|
e:
|
|
199
199
|
if (typeof S == "function")
|
|
200
200
|
try {
|
|
201
|
-
if (m = t.props, _ = "prototype" in S && S.prototype.render, w = (f = S.contextType) && r[f.__c], b = f ? w ? w.props.value : f.__ : r, n.__c ? y = (l = t.__c = n.__c).__ = l.__E : (_ ? t.__c = l = new S(m, b) : (t.__c = l = new ve(m, b), l.constructor = S, l.render = sl), w && w.sub(l), l.state || (l.state = {}), l.__n = r, h = l.__d = !0, l.__h = [], l._sb = []), _ && l.__s == null && (l.__s = l.state), _ && S.getDerivedStateFromProps != null && (l.__s == l.state && (l.__s =
|
|
201
|
+
if (m = t.props, _ = "prototype" in S && S.prototype.render, w = (f = S.contextType) && r[f.__c], b = f ? w ? w.props.value : f.__ : r, n.__c ? y = (l = t.__c = n.__c).__ = l.__E : (_ ? t.__c = l = new S(m, b) : (t.__c = l = new ve(m, b), l.constructor = S, l.render = sl), w && w.sub(l), l.state || (l.state = {}), l.__n = r, h = l.__d = !0, l.__h = [], l._sb = []), _ && l.__s == null && (l.__s = l.state), _ && S.getDerivedStateFromProps != null && (l.__s == l.state && (l.__s = ke({}, l.__s)), ke(l.__s, S.getDerivedStateFromProps(m, l.__s))), p = l.props, v = l.state, l.__v = t, h)
|
|
202
202
|
_ && S.getDerivedStateFromProps == null && l.componentWillMount != null && l.componentWillMount(), _ && l.componentDidMount != null && l.__h.push(l.componentDidMount);
|
|
203
203
|
else {
|
|
204
204
|
if (_ && S.getDerivedStateFromProps == null && m !== p && l.componentWillReceiveProps != null && l.componentWillReceiveProps(m, b), t.__v == n.__v || !l.__e && l.shouldComponentUpdate != null && l.shouldComponentUpdate(m, l.__s, b) === !1) {
|
|
@@ -217,7 +217,7 @@ function Co(e, t, n, r, o, i, a, s, c, d) {
|
|
|
217
217
|
do
|
|
218
218
|
l.__d = !1, x && x(t), f = l.render(l.props, l.state, l.context), l.state = l.__s;
|
|
219
219
|
while (l.__d && ++$ < 25);
|
|
220
|
-
l.state = l.__s, l.getChildContext != null && (r =
|
|
220
|
+
l.state = l.__s, l.getChildContext != null && (r = ke(ke({}, r), l.getChildContext())), _ && !h && l.getSnapshotBeforeUpdate != null && (g = l.getSnapshotBeforeUpdate(p, v)), E = f != null && f.type === H && f.key == null ? Ua(f.props.children) : f, s = Fa(e, tn(E) ? E : [E], t, n, r, o, i, a, s, c, d), l.base = t.__e, t.__u &= -161, l.__h.length && a.push(l), y && (l.__E = l.__ = null);
|
|
221
221
|
} catch (N) {
|
|
222
222
|
if (t.__v = null, c || i != null)
|
|
223
223
|
if (N.then) {
|
|
@@ -254,7 +254,7 @@ function Ha(e, t, n) {
|
|
|
254
254
|
});
|
|
255
255
|
}
|
|
256
256
|
function Ua(e) {
|
|
257
|
-
return typeof e != "object" || e == null || e.__b > 0 ? e : tn(e) ? e.map(Ua) :
|
|
257
|
+
return typeof e != "object" || e == null || e.__b > 0 ? e : tn(e) ? e.map(Ua) : ke({}, e);
|
|
258
258
|
}
|
|
259
259
|
function al(e, t, n, r, o, i, a, s, c) {
|
|
260
260
|
var d, f, l, h, p, v, g, y = n.props || Ln, m = t.props, _ = t.type;
|
|
@@ -282,7 +282,7 @@ function al(e, t, n, r, o, i, a, s, c) {
|
|
|
282
282
|
p = m[d], d == "children" ? h = p : d == "dangerouslySetInnerHTML" ? f = p : d == "value" ? v = p : d == "checked" ? g = p : s && typeof p != "function" || y[d] === p || fn(e, d, p, y[d], o);
|
|
283
283
|
if (f)
|
|
284
284
|
s || l && (f.__html == l.__html || f.__html == e.innerHTML) || (e.innerHTML = f.__html), t.__k = [];
|
|
285
|
-
else if (l && (e.innerHTML = ""), Fa(t.type == "template" ? e.content : e, tn(h) ? h : [h], t, n, r, _ == "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, i, a, i ? i[0] : n.__k &&
|
|
285
|
+
else if (l && (e.innerHTML = ""), Fa(t.type == "template" ? e.content : e, tn(h) ? h : [h], t, n, r, _ == "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, i, a, i ? i[0] : n.__k && Tt(n, 0), s, c), i != null)
|
|
286
286
|
for (d = i.length; d--; )
|
|
287
287
|
$o(i[d]);
|
|
288
288
|
s || (d = "value", _ == "progress" && v == null ? e.removeAttribute("value") : v != null && (v !== e[d] || _ == "progress" && !v || _ == "option" && v != y[d]) && fn(e, d, v, y[d], o), d = "checked", g != null && g != e[d] && fn(e, d, g, y[d], o));
|
|
@@ -327,7 +327,7 @@ function za(e, t) {
|
|
|
327
327
|
Yt(e, t, za);
|
|
328
328
|
}
|
|
329
329
|
function cl(e, t, n) {
|
|
330
|
-
var r, o, i, a, s =
|
|
330
|
+
var r, o, i, a, s = ke({}, e.props);
|
|
331
331
|
for (i in e.type && e.type.defaultProps && (a = e.type.defaultProps), t)
|
|
332
332
|
i == "key" ? r = t[i] : i == "ref" ? o = t[i] : s[i] = t[i] === void 0 && a != null ? a[i] : t[i];
|
|
333
333
|
return arguments.length > 2 && (s.children = arguments.length > 3 ? en.call(arguments, 2) : n), Kt(e.type, s, r || e.key, o || e.ref, null);
|
|
@@ -367,7 +367,7 @@ en = Mn.slice, j = { __e: function(e, t, n, r) {
|
|
|
367
367
|
throw e;
|
|
368
368
|
} }, Ra = 0, ve.prototype.setState = function(e, t) {
|
|
369
369
|
var n;
|
|
370
|
-
n = this.__s != null && this.__s != this.state ? this.__s : this.__s =
|
|
370
|
+
n = this.__s != null && this.__s != this.state ? this.__s : this.__s = ke({}, this.state), typeof e == "function" && (e = e(ke({}, n), this.props)), e && ke(n, e), e != null && this.__v && (t && this._sb.push(t), Br(this));
|
|
371
371
|
}, ve.prototype.forceUpdate = function(e) {
|
|
372
372
|
this.__v && (this.__e = !0, e && this.__h.push(e), Br(this));
|
|
373
373
|
}, ve.prototype.render = H, lt = [], Da = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, La = function(e, t) {
|
|
@@ -746,11 +746,11 @@ function Ya(e, t) {
|
|
|
746
746
|
};
|
|
747
747
|
}
|
|
748
748
|
// @__NO_SIDE_EFFECTS__
|
|
749
|
-
function
|
|
749
|
+
function ko(e, t, n) {
|
|
750
750
|
return {
|
|
751
751
|
kind: "schema",
|
|
752
752
|
type: "record",
|
|
753
|
-
reference:
|
|
753
|
+
reference: ko,
|
|
754
754
|
expects: "Object",
|
|
755
755
|
async: !1,
|
|
756
756
|
key: e,
|
|
@@ -939,7 +939,7 @@ const H_ = "inploi-job-search", gl = [
|
|
|
939
939
|
"VOLUNTEER",
|
|
940
940
|
"OTHER"
|
|
941
941
|
], Ja = ["LOCATION", "REMOTE", "HYBRID"], ut = 10, ci = /* @__PURE__ */ He(/* @__PURE__ */ Za(), /* @__PURE__ */ Ve(String), /* @__PURE__ */ G()), vl = (e) => /* @__PURE__ */ He(
|
|
942
|
-
/* @__PURE__ */
|
|
942
|
+
/* @__PURE__ */ ko(/* @__PURE__ */ G(), /* @__PURE__ */ nn(/* @__PURE__ */ ge({ label: ci, value: ci, jobs: /* @__PURE__ */ he() }))),
|
|
943
943
|
/* @__PURE__ */ Ve((t) => {
|
|
944
944
|
for (const n in t) {
|
|
945
945
|
const r = t[n];
|
|
@@ -987,7 +987,7 @@ const H_ = "inploi-job-search", gl = [
|
|
|
987
987
|
// E.g.: Any varchar, e.g.: "Permanent contract"
|
|
988
988
|
contract_type: /* @__PURE__ */ ae(/* @__PURE__ */ G()),
|
|
989
989
|
created_at: /* @__PURE__ */ ae(/* @__PURE__ */ G()),
|
|
990
|
-
custom_data: /* @__PURE__ */ ae(/* @__PURE__ */
|
|
990
|
+
custom_data: /* @__PURE__ */ ae(/* @__PURE__ */ ko(/* @__PURE__ */ Kr(), /* @__PURE__ */ Kr())),
|
|
991
991
|
href: /* @__PURE__ */ G(),
|
|
992
992
|
industry: /* @__PURE__ */ ae(/* @__PURE__ */ G()),
|
|
993
993
|
category: /* @__PURE__ */ ae(/* @__PURE__ */ G()),
|
|
@@ -1263,7 +1263,7 @@ function P(e) {
|
|
|
1263
1263
|
return { current: e };
|
|
1264
1264
|
}, []);
|
|
1265
1265
|
}
|
|
1266
|
-
function
|
|
1266
|
+
function To(e, t, n) {
|
|
1267
1267
|
Pt = 6, Re(function() {
|
|
1268
1268
|
if (typeof e == "function") {
|
|
1269
1269
|
var r = e(t());
|
|
@@ -1335,7 +1335,7 @@ ee.__b = function(e) {
|
|
|
1335
1335
|
}, ee.diffed = function(e) {
|
|
1336
1336
|
pi && pi(e);
|
|
1337
1337
|
var t = e.__c;
|
|
1338
|
-
t && t.__H && (t.__H.__h.length && (rs.push(t) !== 1 && ui === ee.requestAnimationFrame || ((ui = ee.requestAnimationFrame) ||
|
|
1338
|
+
t && t.__H && (t.__H.__h.length && (rs.push(t) !== 1 && ui === ee.requestAnimationFrame || ((ui = ee.requestAnimationFrame) || kl)(Ol)), t.__H.__.some(function(n) {
|
|
1339
1339
|
n.u && (n.__H = n.u), n.u = void 0;
|
|
1340
1340
|
})), mr = z = null;
|
|
1341
1341
|
}, ee.__c = function(e, t) {
|
|
@@ -1362,7 +1362,7 @@ ee.__b = function(e) {
|
|
|
1362
1362
|
}), n.__H = void 0, t && ee.__e(t, n.__v));
|
|
1363
1363
|
};
|
|
1364
1364
|
var mi = typeof requestAnimationFrame == "function";
|
|
1365
|
-
function
|
|
1365
|
+
function kl(e) {
|
|
1366
1366
|
var t, n = function() {
|
|
1367
1367
|
clearTimeout(r), mi && cancelAnimationFrame(t), setTimeout(e);
|
|
1368
1368
|
}, r = setTimeout(n, 35);
|
|
@@ -1384,7 +1384,7 @@ function Ao(e, t) {
|
|
|
1384
1384
|
function os(e, t) {
|
|
1385
1385
|
return typeof t == "function" ? t(e) : t;
|
|
1386
1386
|
}
|
|
1387
|
-
var
|
|
1387
|
+
var Tl = ["other", "few", "many", "two", "one", "zero"], _i = ({
|
|
1388
1388
|
terms: e,
|
|
1389
1389
|
overrides: t,
|
|
1390
1390
|
locale: n
|
|
@@ -1403,7 +1403,7 @@ var kl = ["other", "few", "many", "two", "one", "zero"], _i = ({
|
|
|
1403
1403
|
throw new Error(`Missing count for translation key “${i.toString()}”`);
|
|
1404
1404
|
let c = r.select(a.count);
|
|
1405
1405
|
if (!(c in s)) {
|
|
1406
|
-
const d =
|
|
1406
|
+
const d = Tl.find((f) => f in s);
|
|
1407
1407
|
if (!d)
|
|
1408
1408
|
throw new Error(`Missing plural rule for translation key “${i.toString()}”`);
|
|
1409
1409
|
c = d;
|
|
@@ -2084,15 +2084,15 @@ var Oi = j.__r;
|
|
|
2084
2084
|
j.__r = function(e) {
|
|
2085
2085
|
Oi && Oi(e), Io = e.__c;
|
|
2086
2086
|
};
|
|
2087
|
-
var
|
|
2087
|
+
var ki = j.diffed;
|
|
2088
2088
|
j.diffed = function(e) {
|
|
2089
|
-
|
|
2089
|
+
ki && ki(e);
|
|
2090
2090
|
var t = e.props, n = e.__e;
|
|
2091
2091
|
n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value), Io = null;
|
|
2092
2092
|
};
|
|
2093
2093
|
var gs = { ReactCurrentDispatcher: { current: { readContext: function(e) {
|
|
2094
2094
|
return Io.__n[e.__c].props.value;
|
|
2095
|
-
}, useCallback: U, useContext: rt, useDebugValue: Zn, useDeferredValue: Do, useEffect: I, useId: Xn, useImperativeHandle:
|
|
2095
|
+
}, useCallback: U, useContext: rt, useDebugValue: Zn, useDeferredValue: Do, useEffect: I, useId: Xn, useImperativeHandle: To, useInsertionEffect: Mo, useLayoutEffect: Re, useMemo: K, useReducer: on, useRef: P, useState: D, useSyncExternalStore: Po, useTransition: Lo } } }, ql = "18.3.1";
|
|
2096
2096
|
function vs(e) {
|
|
2097
2097
|
return O.bind(null, e);
|
|
2098
2098
|
}
|
|
@@ -2118,7 +2118,7 @@ var ws = function(e, t) {
|
|
|
2118
2118
|
return e(t);
|
|
2119
2119
|
}, an = function(e, t) {
|
|
2120
2120
|
return e(t);
|
|
2121
|
-
}, xs = H, $s = ze, sn = { useState: D, useId: Xn, useReducer: on, useEffect: I, useLayoutEffect: Re, useInsertionEffect: Mo, useTransition: Lo, useDeferredValue: Do, useSyncExternalStore: Po, startTransition: Ro, useRef: P, useImperativeHandle:
|
|
2121
|
+
}, xs = H, $s = ze, sn = { useState: D, useId: Xn, useReducer: on, useEffect: I, useLayoutEffect: Re, useInsertionEffect: Mo, useTransition: Lo, useDeferredValue: Do, useSyncExternalStore: Po, startTransition: Ro, useRef: P, useImperativeHandle: To, useMemo: K, useCallback: U, useContext: rt, useDebugValue: Zn, version: "18.3.1", Children: Ae, render: ps, hydrate: hs, unmountComponentAtNode: ys, createPortal: ds, createElement: O, createContext: dt, createFactory: vs, cloneElement: Mt, createRef: Ia, Fragment: H, isValidElement: ze, isElement: $s, isFragment: ms, isMemo: _s, findDOMNode: bs, Component: ve, PureComponent: Vn, memo: ss, forwardRef: Z, flushSync: an, unstable_batchedUpdates: ws, StrictMode: xs, Suspense: Ct, SuspenseList: xt, lazy: No, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: gs };
|
|
2122
2122
|
const Cs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2123
2123
|
__proto__: null,
|
|
2124
2124
|
Children: Ae,
|
|
@@ -2157,7 +2157,7 @@ const Cs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2157
2157
|
useEffect: I,
|
|
2158
2158
|
useErrorBoundary: Sl,
|
|
2159
2159
|
useId: Xn,
|
|
2160
|
-
useImperativeHandle:
|
|
2160
|
+
useImperativeHandle: To,
|
|
2161
2161
|
useInsertionEffect: Mo,
|
|
2162
2162
|
useLayoutEffect: Re,
|
|
2163
2163
|
useMemo: K,
|
|
@@ -2204,11 +2204,11 @@ const Ss = /* @__PURE__ */ Kl(Cs);
|
|
|
2204
2204
|
* This source code is licensed under the MIT license found in the
|
|
2205
2205
|
* LICENSE file in the root directory of this source tree.
|
|
2206
2206
|
*/
|
|
2207
|
-
var
|
|
2207
|
+
var Ti;
|
|
2208
2208
|
function Gl() {
|
|
2209
|
-
if (
|
|
2209
|
+
if (Ti)
|
|
2210
2210
|
return br;
|
|
2211
|
-
|
|
2211
|
+
Ti = 1;
|
|
2212
2212
|
var e = Ss;
|
|
2213
2213
|
function t(l, h) {
|
|
2214
2214
|
return l === h && (l !== 0 || 1 / l === 1 / h) || l !== l && h !== h;
|
|
@@ -2311,7 +2311,7 @@ function Yl() {
|
|
|
2311
2311
|
}
|
|
2312
2312
|
process.env.NODE_ENV === "production" ? Xr.exports = Gl() : Xr.exports = Yl();
|
|
2313
2313
|
var Pi = Xr.exports;
|
|
2314
|
-
const Os = 0,
|
|
2314
|
+
const Os = 0, ks = 1, Ts = 2, Ri = 3;
|
|
2315
2315
|
var Di = Object.prototype.hasOwnProperty;
|
|
2316
2316
|
function Jr(e, t) {
|
|
2317
2317
|
var n, r;
|
|
@@ -2456,7 +2456,7 @@ async function Rs(...e) {
|
|
|
2456
2456
|
return;
|
|
2457
2457
|
const [v, g] = Ps(t, p), [y, m, _, w] = Ie.get(t), b = () => {
|
|
2458
2458
|
const M = y[p];
|
|
2459
|
-
return (be(i.revalidate) ? i.revalidate(v().data, h) : i.revalidate !== !1) && (delete _[p], delete w[p], M && M[0]) ? M[0](
|
|
2459
|
+
return (be(i.revalidate) ? i.revalidate(v().data, h) : i.revalidate !== !1) && (delete _[p], delete w[p], M && M[0]) ? M[0](Ts).then(() => v().data) : v().data;
|
|
2460
2460
|
};
|
|
2461
2461
|
if (e.length < 3)
|
|
2462
2462
|
return b();
|
|
@@ -2466,8 +2466,8 @@ async function Rs(...e) {
|
|
|
2466
2466
|
C,
|
|
2467
2467
|
0
|
|
2468
2468
|
];
|
|
2469
|
-
const S = !F(c), N = v(),
|
|
2470
|
-
if (S && (c = be(c) ? c(V,
|
|
2469
|
+
const S = !F(c), N = v(), k = N.data, L = N._c, V = F(L) ? k : L;
|
|
2470
|
+
if (S && (c = be(c) ? c(V, k) : c, g({
|
|
2471
2471
|
data: c,
|
|
2472
2472
|
_c: V
|
|
2473
2473
|
})), be(x))
|
|
@@ -2540,7 +2540,7 @@ const Ni = (e, t) => {
|
|
|
2540
2540
|
c,
|
|
2541
2541
|
s
|
|
2542
2542
|
]), !Et)) {
|
|
2543
|
-
const f = n.initFocus(setTimeout.bind(oe, Ni.bind(oe, r, Os))), l = n.initReconnect(setTimeout.bind(oe, Ni.bind(oe, r,
|
|
2543
|
+
const f = n.initFocus(setTimeout.bind(oe, Ni.bind(oe, r, Os))), l = n.initReconnect(setTimeout.bind(oe, Ni.bind(oe, r, ks)));
|
|
2544
2544
|
i = () => {
|
|
2545
2545
|
f && f(), l && l(), Ie.delete(e);
|
|
2546
2546
|
};
|
|
@@ -2670,7 +2670,7 @@ const Er = sn.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
2670
2670
|
}), Sr = {
|
|
2671
2671
|
dedupe: !0
|
|
2672
2672
|
}, Ii = Promise.resolve(oe), wu = () => je, xu = (e, t, n) => {
|
|
2673
|
-
const { cache: r, compare: o, suspense: i, fallbackData: a, revalidateOnMount: s, revalidateIfStale: c, refreshInterval: d, refreshWhenHidden: f, refreshWhenOffline: l, keepPreviousData: h, strictServerPrefetchWarning: p } = n, [v, g, y, m] = Ie.get(r), [_, w] = Fo(e), b = P(!1), x = P(!1), $ = P(_), E = P(t), C = P(n), S = () => C.current, N = () => S().isVisible() && S().isOnline(), [
|
|
2673
|
+
const { cache: r, compare: o, suspense: i, fallbackData: a, revalidateOnMount: s, revalidateIfStale: c, refreshInterval: d, refreshWhenHidden: f, refreshWhenOffline: l, keepPreviousData: h, strictServerPrefetchWarning: p } = n, [v, g, y, m] = Ie.get(r), [_, w] = Fo(e), b = P(!1), x = P(!1), $ = P(_), E = P(t), C = P(n), S = () => C.current, N = () => S().isVisible() && S().isOnline(), [k, L, V, M] = Ps(r, _), A = P({}).current, R = F(a) ? F(n.fallback) ? oe : n.fallback[_] : a, T = (W, X) => {
|
|
2674
2674
|
for (const J in A) {
|
|
2675
2675
|
const Q = J;
|
|
2676
2676
|
if (Q === "data") {
|
|
@@ -2681,7 +2681,7 @@ const Er = sn.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
2681
2681
|
}
|
|
2682
2682
|
return !0;
|
|
2683
2683
|
}, B = !b.current, q = K(() => {
|
|
2684
|
-
const W =
|
|
2684
|
+
const W = k(), X = M(), J = (ne) => {
|
|
2685
2685
|
const ye = Be(ne);
|
|
2686
2686
|
return delete ye._k, (() => {
|
|
2687
2687
|
if (!_ || !t || S().isPaused())
|
|
@@ -2699,8 +2699,8 @@ const Er = sn.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
2699
2699
|
let re = Q;
|
|
2700
2700
|
return [
|
|
2701
2701
|
() => {
|
|
2702
|
-
const ne = J(
|
|
2703
|
-
return
|
|
2702
|
+
const ne = J(k());
|
|
2703
|
+
return T(ne, re) ? (re.data = ne.data, re.isLoading = ne.isLoading, re.isValidating = ne.isValidating, re.error = ne.error, re) : (re = ne, ne);
|
|
2704
2704
|
},
|
|
2705
2705
|
() => fe
|
|
2706
2706
|
];
|
|
@@ -2709,7 +2709,7 @@ const Er = sn.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
2709
2709
|
_
|
|
2710
2710
|
]), ce = Pi.useSyncExternalStore(U(
|
|
2711
2711
|
(W) => V(_, (X, J) => {
|
|
2712
|
-
|
|
2712
|
+
T(J, X) || W();
|
|
2713
2713
|
}),
|
|
2714
2714
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2715
2715
|
[
|
|
@@ -2739,9 +2739,9 @@ const Er = sn.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
2739
2739
|
}, ti = {
|
|
2740
2740
|
isValidating: !0
|
|
2741
2741
|
};
|
|
2742
|
-
F(
|
|
2742
|
+
F(k().data) && (ti.isLoading = !0);
|
|
2743
2743
|
try {
|
|
2744
|
-
if (ne && (L(ti), n.loadingTimeout && F(
|
|
2744
|
+
if (ne && (L(ti), n.loadingTimeout && F(k().data) && setTimeout(() => {
|
|
2745
2745
|
fe && ye() && S().onLoadingSlow(_, n);
|
|
2746
2746
|
}, n.loadingTimeout), y[_] = [
|
|
2747
2747
|
X(w),
|
|
@@ -2755,7 +2755,7 @@ const Er = sn.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
2755
2755
|
Q <= pe[1] || // case 3
|
|
2756
2756
|
pe[1] === 0))
|
|
2757
2757
|
return Bt(), ne && ye() && S().onDiscarded(_), !1;
|
|
2758
|
-
const Me =
|
|
2758
|
+
const Me = k().data;
|
|
2759
2759
|
zt.data = o(Me, J) ? Me : J, ne && ye() && S().onSuccess(J, _, n);
|
|
2760
2760
|
} catch (pe) {
|
|
2761
2761
|
ei();
|
|
@@ -2803,10 +2803,10 @@ const Er = sn.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
2803
2803
|
if (fe == Os) {
|
|
2804
2804
|
const ne = Date.now();
|
|
2805
2805
|
S().revalidateOnFocus && ne > X && N() && (X = ne + S().focusThrottleInterval, W());
|
|
2806
|
-
} else if (fe ==
|
|
2806
|
+
} else if (fe == ks)
|
|
2807
2807
|
S().revalidateOnReconnect && N() && W();
|
|
2808
2808
|
else {
|
|
2809
|
-
if (fe ==
|
|
2809
|
+
if (fe == Ts)
|
|
2810
2810
|
return st();
|
|
2811
2811
|
if (fe == Ri)
|
|
2812
2812
|
return st(re);
|
|
@@ -2822,11 +2822,11 @@ const Er = sn.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
2822
2822
|
]), On(() => {
|
|
2823
2823
|
let W;
|
|
2824
2824
|
function X() {
|
|
2825
|
-
const Q = be(d) ? d(
|
|
2825
|
+
const Q = be(d) ? d(k().data) : d;
|
|
2826
2826
|
Q && W !== -1 && (W = setTimeout(J, Q));
|
|
2827
2827
|
}
|
|
2828
2828
|
function J() {
|
|
2829
|
-
!
|
|
2829
|
+
!k().error && (f || S().isVisible()) && (l || S().isOnline()) ? st(Sr).then(X) : X();
|
|
2830
2830
|
}
|
|
2831
2831
|
return X(), () => {
|
|
2832
2832
|
W && (clearTimeout(W), W = -1);
|
|
@@ -2929,7 +2929,7 @@ var Eu = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], Su = {
|
|
|
2929
2929
|
return Object.fromEntries(
|
|
2930
2930
|
Eu.map((n) => [e.prefix + n, e.transform(t(n))])
|
|
2931
2931
|
);
|
|
2932
|
-
},
|
|
2932
|
+
}, kr = (e) => e, ku = (e) => {
|
|
2933
2933
|
const t = Object.keys(e).flatMap((n) => {
|
|
2934
2934
|
const r = e[n];
|
|
2935
2935
|
return typeof r == "object" && r !== null ? Object.keys(r).map((o) => {
|
|
@@ -2953,7 +2953,7 @@ var Eu = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], Su = {
|
|
|
2953
2953
|
Object.assign(e, { [r]: n[r] });
|
|
2954
2954
|
}
|
|
2955
2955
|
return ao(e, ...t);
|
|
2956
|
-
},
|
|
2956
|
+
}, Tu = (e) => {
|
|
2957
2957
|
function t(n, r) {
|
|
2958
2958
|
const o = [e.prefix, r.toString().replace(/\./g, "-")].join("");
|
|
2959
2959
|
return n === "declaration" ? `--${o}` : `var(--${o})`;
|
|
@@ -2969,7 +2969,7 @@ var Eu = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], Su = {
|
|
|
2969
2969
|
core: a,
|
|
2970
2970
|
semantic: a,
|
|
2971
2971
|
raw: { core: s, semantic: c }
|
|
2972
|
-
}), f =
|
|
2972
|
+
}), f = ku(ao(s, c, d)), l = ([h, p], v) => {
|
|
2973
2973
|
const g = [v, h].filter(Boolean).join(".");
|
|
2974
2974
|
return typeof p == "object" ? Object.entries(p).flatMap((y) => l(y, g)) : [[r.getToken("declaration", g), p]];
|
|
2975
2975
|
};
|
|
@@ -3000,39 +3000,39 @@ const Se = (e) => {
|
|
|
3000
3000
|
}
|
|
3001
3001
|
});
|
|
3002
3002
|
return n(e);
|
|
3003
|
-
}, [
|
|
3003
|
+
}, [Tr, Ar, _n] = ["oklch(0 0 0)", "oklch(100 0 0)", "transparent"], Pu = Au().core(({ theme: e }) => {
|
|
3004
3004
|
var t, n, r, o;
|
|
3005
3005
|
return {
|
|
3006
3006
|
color: {
|
|
3007
|
-
black:
|
|
3007
|
+
black: Tr,
|
|
3008
3008
|
white: Ar,
|
|
3009
|
-
lowest: e.mode === "light" ? Ar :
|
|
3010
|
-
highest: e.mode === "light" ?
|
|
3009
|
+
lowest: e.mode === "light" ? Ar : Tr,
|
|
3010
|
+
highest: e.mode === "light" ? Tr : Ar,
|
|
3011
3011
|
...Or({
|
|
3012
3012
|
prefix: "a-",
|
|
3013
3013
|
hue: e.accent.hue,
|
|
3014
3014
|
chroma: e.accent.chroma,
|
|
3015
3015
|
mode: e.mode,
|
|
3016
|
-
transform:
|
|
3016
|
+
transform: kr
|
|
3017
3017
|
}),
|
|
3018
3018
|
...Or({
|
|
3019
3019
|
prefix: "n-",
|
|
3020
3020
|
hue: ((t = e.neutral) == null ? void 0 : t.hue) ?? e.accent.hue,
|
|
3021
3021
|
chroma: ((n = e.neutral) == null ? void 0 : n.chroma) ?? 0.05,
|
|
3022
3022
|
mode: e.mode,
|
|
3023
|
-
transform:
|
|
3023
|
+
transform: kr
|
|
3024
3024
|
}),
|
|
3025
3025
|
...Or({
|
|
3026
3026
|
prefix: "m-",
|
|
3027
3027
|
hue: ((r = e.monetary) == null ? void 0 : r.hue) ?? 140,
|
|
3028
3028
|
chroma: ((o = e.monetary) == null ? void 0 : o.chroma) ?? 1,
|
|
3029
3029
|
mode: e.mode,
|
|
3030
|
-
transform:
|
|
3030
|
+
transform: kr
|
|
3031
3031
|
})
|
|
3032
3032
|
}
|
|
3033
3033
|
};
|
|
3034
3034
|
}).semantic(({ core: e, theme: t, raw: n }) => {
|
|
3035
|
-
var s, c, d, f, l, h, p, v, g, y, m, _, w, b, x, $, E, C, S, N,
|
|
3035
|
+
var s, c, d, f, l, h, p, v, g, y, m, _, w, b, x, $, E, C, S, N, k;
|
|
3036
3036
|
const r = (L, V) => n.core.color[L].replace(")", ` / ${V})`), { typography: o, highlights: i } = t, a = ((s = t.accessibility) == null ? void 0 : s.highContrast) ?? !1;
|
|
3037
3037
|
return {
|
|
3038
3038
|
font: o.fontFamily ?? "inherit",
|
|
@@ -3048,7 +3048,7 @@ const Se = (e) => {
|
|
|
3048
3048
|
"weight-tag": ((w = (_ = o.tag) == null ? void 0 : _.weight) == null ? void 0 : w.toString()) ?? ((b = o.weight) == null ? void 0 : b.toString()) ?? "inherit",
|
|
3049
3049
|
"weight-job-heading": (($ = (x = o.jobHeading) == null ? void 0 : x.weight) == null ? void 0 : $.toString()) ?? ((E = o.weight) == null ? void 0 : E.toString()) ?? "inherit",
|
|
3050
3050
|
"style-input": ((C = o.input) == null ? void 0 : C.style) ?? o.style ?? "inherit",
|
|
3051
|
-
"weight-input": ((N = (S = o.input) == null ? void 0 : S.weight) == null ? void 0 : N.toString()) ?? ((
|
|
3051
|
+
"weight-input": ((N = (S = o.input) == null ? void 0 : S.weight) == null ? void 0 : N.toString()) ?? ((k = o.weight) == null ? void 0 : k.toString()) ?? "inherit",
|
|
3052
3052
|
"app-bg": e("color.lowest"),
|
|
3053
3053
|
copy: e(a ? "color.highest" : "color.n-12"),
|
|
3054
3054
|
"copy-lowcontrast": e("color.n-11"),
|
|
@@ -3097,7 +3097,7 @@ const Se = (e) => {
|
|
|
3097
3097
|
"job-card-stroke-color-active": e("color.a-9"),
|
|
3098
3098
|
"job-card-stroke-width": Se(t).with({ highlights: "stroke", highcontrast: !0 }, () => "1.5px").otherwise(() => "1px")
|
|
3099
3099
|
};
|
|
3100
|
-
}).component(() => ({})), Ru =
|
|
3100
|
+
}).component(() => ({})), Ru = Tu({ prefix: "i-" }), Y_ = (e) => {
|
|
3101
3101
|
const t = Pu.from({ theme: e.theme, getToken: Ru }), n = Object.entries(t.declarations).map(([o, i]) => `${o}: ${i};`);
|
|
3102
3102
|
return `.inploi-job-search${e.widgetId ? `[data-widget-id="${e.widgetId}"]` : ""} {
|
|
3103
3103
|
${n.concat(n).join(`
|
|
@@ -3238,7 +3238,7 @@ const Dt = globalThis != null && globalThis.document ? Re : () => {
|
|
|
3238
3238
|
}, Mu = Cs["useId".toString()] || (() => {
|
|
3239
3239
|
});
|
|
3240
3240
|
let Nu = 0;
|
|
3241
|
-
function
|
|
3241
|
+
function kn(e) {
|
|
3242
3242
|
const [t, n] = D(Mu());
|
|
3243
3243
|
return Dt(() => {
|
|
3244
3244
|
e || n(
|
|
@@ -3403,7 +3403,7 @@ const qu = /* @__PURE__ */ dt({
|
|
|
3403
3403
|
const S = C.target, N = [
|
|
3404
3404
|
...f.branches
|
|
3405
3405
|
].some(
|
|
3406
|
-
(
|
|
3406
|
+
(k) => k.contains(S)
|
|
3407
3407
|
);
|
|
3408
3408
|
!x || N || (i == null || i(C), s == null || s(C), C.defaultPrevented || c == null || c());
|
|
3409
3409
|
}, p), E = Gu((C) => {
|
|
@@ -3411,7 +3411,7 @@ const qu = /* @__PURE__ */ dt({
|
|
|
3411
3411
|
[
|
|
3412
3412
|
...f.branches
|
|
3413
3413
|
].some(
|
|
3414
|
-
(
|
|
3414
|
+
(k) => k.contains(S)
|
|
3415
3415
|
) || (a == null || a(C), s == null || s(C), C.defaultPrevented || c == null || c());
|
|
3416
3416
|
}, p);
|
|
3417
3417
|
return Wu((C) => {
|
|
@@ -3814,7 +3814,7 @@ function rd(e, t, n) {
|
|
|
3814
3814
|
(i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
|
|
3815
3815
|
return e.concat(i || Array.prototype.slice.call(t));
|
|
3816
3816
|
}
|
|
3817
|
-
var
|
|
3817
|
+
var Tn = "right-scroll-bar-position", An = "width-before-scroll-bar", od = "with-scroll-bars-hidden", id = "--removed-body-scroll-bar-size";
|
|
3818
3818
|
function Lr(e, t) {
|
|
3819
3819
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
3820
3820
|
}
|
|
@@ -3956,7 +3956,7 @@ Qn.defaultProps = {
|
|
|
3956
3956
|
};
|
|
3957
3957
|
Qn.classNames = {
|
|
3958
3958
|
fullWidth: An,
|
|
3959
|
-
zeroRight:
|
|
3959
|
+
zeroRight: Tn
|
|
3960
3960
|
};
|
|
3961
3961
|
var qi, pd = function() {
|
|
3962
3962
|
if (qi)
|
|
@@ -4048,7 +4048,7 @@ var md = function() {
|
|
|
4048
4048
|
].filter(Boolean).join(""), `
|
|
4049
4049
|
}
|
|
4050
4050
|
|
|
4051
|
-
.`).concat(
|
|
4051
|
+
.`).concat(Tn, ` {
|
|
4052
4052
|
right: `).concat(s, "px ").concat(r, `;
|
|
4053
4053
|
}
|
|
4054
4054
|
|
|
@@ -4056,7 +4056,7 @@ var md = function() {
|
|
|
4056
4056
|
margin-right: `).concat(s, "px ").concat(r, `;
|
|
4057
4057
|
}
|
|
4058
4058
|
|
|
4059
|
-
.`).concat(
|
|
4059
|
+
.`).concat(Tn, " .").concat(Tn, ` {
|
|
4060
4060
|
right: 0 `).concat(r, `;
|
|
4061
4061
|
}
|
|
4062
4062
|
|
|
@@ -4108,7 +4108,7 @@ var _t = uo ? { passive: !1 } : !1, Sd = function(e) {
|
|
|
4108
4108
|
);
|
|
4109
4109
|
}, Od = function(e) {
|
|
4110
4110
|
return Zs(e, "overflowY");
|
|
4111
|
-
},
|
|
4111
|
+
}, kd = function(e) {
|
|
4112
4112
|
return Zs(e, "overflowX");
|
|
4113
4113
|
}, Gi = function(e, t) {
|
|
4114
4114
|
var n = t;
|
|
@@ -4123,7 +4123,7 @@ var _t = uo ? { passive: !1 } : !1, Sd = function(e) {
|
|
|
4123
4123
|
n = n.parentNode;
|
|
4124
4124
|
} while (n && n !== document.body);
|
|
4125
4125
|
return !1;
|
|
4126
|
-
},
|
|
4126
|
+
}, Td = function(e) {
|
|
4127
4127
|
var t = e.scrollTop, n = e.scrollHeight, r = e.clientHeight;
|
|
4128
4128
|
return [
|
|
4129
4129
|
t,
|
|
@@ -4138,9 +4138,9 @@ var _t = uo ? { passive: !1 } : !1, Sd = function(e) {
|
|
|
4138
4138
|
r
|
|
4139
4139
|
];
|
|
4140
4140
|
}, Xs = function(e, t) {
|
|
4141
|
-
return e === "v" ? Od(t) :
|
|
4141
|
+
return e === "v" ? Od(t) : kd(t);
|
|
4142
4142
|
}, Js = function(e, t) {
|
|
4143
|
-
return e === "v" ?
|
|
4143
|
+
return e === "v" ? Td(t) : Ad(t);
|
|
4144
4144
|
}, Pd = function(e, t) {
|
|
4145
4145
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
4146
4146
|
}, Rd = function(e, t, n, r, o) {
|
|
@@ -4317,9 +4317,9 @@ const rc = "Dialog", [oc, Z_] = Ho(rc), [Hd, it] = oc(rc), Ud = (e) => {
|
|
|
4317
4317
|
scope: t,
|
|
4318
4318
|
triggerRef: s,
|
|
4319
4319
|
contentRef: c,
|
|
4320
|
-
contentId:
|
|
4321
|
-
titleId:
|
|
4322
|
-
descriptionId:
|
|
4320
|
+
contentId: kn(),
|
|
4321
|
+
titleId: kn(),
|
|
4322
|
+
descriptionId: kn(),
|
|
4323
4323
|
open: d,
|
|
4324
4324
|
onOpenChange: f,
|
|
4325
4325
|
onOpenToggle: U(
|
|
@@ -4490,12 +4490,12 @@ function Wo(e) {
|
|
|
4490
4490
|
function zo(e) {
|
|
4491
4491
|
return e === "y" ? "height" : "width";
|
|
4492
4492
|
}
|
|
4493
|
-
function
|
|
4493
|
+
function Te(e) {
|
|
4494
4494
|
const t = e[0];
|
|
4495
4495
|
return t === "t" || t === "b" ? "y" : "x";
|
|
4496
4496
|
}
|
|
4497
4497
|
function Bo(e) {
|
|
4498
|
-
return Wo(
|
|
4498
|
+
return Wo(Te(e));
|
|
4499
4499
|
}
|
|
4500
4500
|
function af(e, t, n) {
|
|
4501
4501
|
n === void 0 && (n = !1);
|
|
@@ -4572,7 +4572,7 @@ function Qi(e, t, n) {
|
|
|
4572
4572
|
reference: r,
|
|
4573
4573
|
floating: o
|
|
4574
4574
|
} = e;
|
|
4575
|
-
const i =
|
|
4575
|
+
const i = Te(t), a = Bo(t), s = zo(a), c = Ke(t), d = i === "y", f = r.x + r.width / 2 - o.width / 2, l = r.y + r.height / 2 - o.height / 2, h = r[s] / 2 - o[s] / 2;
|
|
4576
4576
|
let p;
|
|
4577
4577
|
switch (c) {
|
|
4578
4578
|
case "top":
|
|
@@ -4748,14 +4748,14 @@ const hf = 50, gf = async (e, t, n) => {
|
|
|
4748
4748
|
}, p = Bo(o), v = zo(p), g = await a.getDimensions(d), y = p === "y", m = y ? "top" : "left", _ = y ? "bottom" : "right", w = y ? "clientHeight" : "clientWidth", b = i.reference[v] + i.reference[p] - h[p] - i.floating[v], x = h[p] - i.reference[p], $ = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(d));
|
|
4749
4749
|
let E = $ ? $[w] : 0;
|
|
4750
4750
|
(!E || !await (a.isElement == null ? void 0 : a.isElement($))) && (E = s.floating[w] || i.floating[v]);
|
|
4751
|
-
const C = b / 2 - x / 2, S = E / 2 - g[v] / 2 - 1, N = tt(l[m], S),
|
|
4751
|
+
const C = b / 2 - x / 2, S = E / 2 - g[v] / 2 - 1, N = tt(l[m], S), k = tt(l[_], S), L = N, V = E - g[v] - k, M = E / 2 - g[v] / 2 + C, A = po(L, M, V), R = !c.arrow && It(o) != null && M !== A && i.reference[v] / 2 - (M < L ? N : k) - g[v] / 2 < 0, T = R ? M < L ? M - L : M - V : 0;
|
|
4752
4752
|
return {
|
|
4753
|
-
[p]: h[p] +
|
|
4753
|
+
[p]: h[p] + T,
|
|
4754
4754
|
data: {
|
|
4755
4755
|
[p]: A,
|
|
4756
|
-
centerOffset: M - A -
|
|
4756
|
+
centerOffset: M - A - T,
|
|
4757
4757
|
...R && {
|
|
4758
|
-
alignmentOffset:
|
|
4758
|
+
alignmentOffset: T
|
|
4759
4759
|
}
|
|
4760
4760
|
},
|
|
4761
4761
|
reset: R
|
|
@@ -4785,7 +4785,7 @@ const hf = 50, gf = async (e, t, n) => {
|
|
|
4785
4785
|
} = qe(e, t);
|
|
4786
4786
|
if ((n = i.arrow) != null && n.alignmentOffset)
|
|
4787
4787
|
return {};
|
|
4788
|
-
const m = Ke(o), _ =
|
|
4788
|
+
const m = Ke(o), _ = Te(s), w = Ke(s) === s, b = await (c.isRTL == null ? void 0 : c.isRTL(d.floating)), x = h || (w || !g ? [zn(s)] : sf(s)), $ = v !== "none";
|
|
4789
4789
|
!h && $ && x.push(...df(s, g, v, b));
|
|
4790
4790
|
const E = [s, ...x], C = await c.detectOverflow(t, y), S = [];
|
|
4791
4791
|
let N = ((r = i.flip) == null ? void 0 : r.overflows) || [];
|
|
@@ -4797,11 +4797,11 @@ const hf = 50, gf = async (e, t, n) => {
|
|
|
4797
4797
|
placement: o,
|
|
4798
4798
|
overflows: S
|
|
4799
4799
|
}], !S.every((M) => M <= 0)) {
|
|
4800
|
-
var
|
|
4801
|
-
const M = (((
|
|
4802
|
-
if (A && (!(l === "alignment" ? _ !==
|
|
4800
|
+
var k, L;
|
|
4801
|
+
const M = (((k = i.flip) == null ? void 0 : k.index) || 0) + 1, A = E[M];
|
|
4802
|
+
if (A && (!(l === "alignment" ? _ !== Te(A) : !1) || // We leave the current main axis only if every placement on that axis
|
|
4803
4803
|
// overflows the main axis.
|
|
4804
|
-
N.every((B) =>
|
|
4804
|
+
N.every((B) => Te(B.placement) === _ ? B.overflows[0] > 0 : !0)))
|
|
4805
4805
|
return {
|
|
4806
4806
|
data: {
|
|
4807
4807
|
index: M,
|
|
@@ -4811,21 +4811,21 @@ const hf = 50, gf = async (e, t, n) => {
|
|
|
4811
4811
|
placement: A
|
|
4812
4812
|
}
|
|
4813
4813
|
};
|
|
4814
|
-
let R = (L = N.filter((
|
|
4814
|
+
let R = (L = N.filter((T) => T.overflows[0] <= 0).sort((T, B) => T.overflows[1] - B.overflows[1])[0]) == null ? void 0 : L.placement;
|
|
4815
4815
|
if (!R)
|
|
4816
4816
|
switch (p) {
|
|
4817
4817
|
case "bestFit": {
|
|
4818
4818
|
var V;
|
|
4819
|
-
const
|
|
4819
|
+
const T = (V = N.filter((B) => {
|
|
4820
4820
|
if ($) {
|
|
4821
|
-
const q =
|
|
4821
|
+
const q = Te(B.placement);
|
|
4822
4822
|
return q === _ || // Create a bias to the `y` side axis due to horizontal
|
|
4823
4823
|
// reading directions favoring greater width.
|
|
4824
4824
|
q === "y";
|
|
4825
4825
|
}
|
|
4826
4826
|
return !0;
|
|
4827
4827
|
}).map((B) => [B.placement, B.overflows.filter((q) => q > 0).reduce((q, ce) => q + ce, 0)]).sort((B, q) => B[1] - q[1])[0]) == null ? void 0 : V[0];
|
|
4828
|
-
|
|
4828
|
+
T && (R = T);
|
|
4829
4829
|
break;
|
|
4830
4830
|
}
|
|
4831
4831
|
case "initialPlacement":
|
|
@@ -4902,7 +4902,7 @@ async function yf(e, t) {
|
|
|
4902
4902
|
placement: n,
|
|
4903
4903
|
platform: r,
|
|
4904
4904
|
elements: o
|
|
4905
|
-
} = e, i = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), a = Ke(n), s = It(n), c =
|
|
4905
|
+
} = e, i = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), a = Ke(n), s = It(n), c = Te(n) === "y", d = lc.has(a) ? -1 : 1, f = i && c ? -1 : 1, l = qe(t, e);
|
|
4906
4906
|
let {
|
|
4907
4907
|
mainAxis: h,
|
|
4908
4908
|
crossAxis: p,
|
|
@@ -4975,7 +4975,7 @@ const bf = function(e) {
|
|
|
4975
4975
|
} = qe(e, t), f = {
|
|
4976
4976
|
x: n,
|
|
4977
4977
|
y: r
|
|
4978
|
-
}, l = await i.detectOverflow(t, d), h =
|
|
4978
|
+
}, l = await i.detectOverflow(t, d), h = Te(Ke(o)), p = Wo(h);
|
|
4979
4979
|
let v = f[p], g = f[h];
|
|
4980
4980
|
if (a) {
|
|
4981
4981
|
const m = p === "y" ? "top" : "left", _ = p === "y" ? "bottom" : "right", w = v + l[m], b = v - l[_];
|
|
@@ -5020,7 +5020,7 @@ const bf = function(e) {
|
|
|
5020
5020
|
} = qe(e, t), f = {
|
|
5021
5021
|
x: n,
|
|
5022
5022
|
y: r
|
|
5023
|
-
}, l =
|
|
5023
|
+
}, l = Te(o), h = Wo(l);
|
|
5024
5024
|
let p = f[h], v = f[l];
|
|
5025
5025
|
const g = qe(s, t), y = typeof g == "number" ? {
|
|
5026
5026
|
mainAxis: g,
|
|
@@ -5060,7 +5060,7 @@ const bf = function(e) {
|
|
|
5060
5060
|
apply: c = () => {
|
|
5061
5061
|
},
|
|
5062
5062
|
...d
|
|
5063
|
-
} = qe(e, t), f = await a.detectOverflow(t, d), l = Ke(o), h = It(o), p =
|
|
5063
|
+
} = qe(e, t), f = await a.detectOverflow(t, d), l = Ke(o), h = It(o), p = Te(o) === "y", {
|
|
5064
5064
|
width: v,
|
|
5065
5065
|
height: g
|
|
5066
5066
|
} = i.floating;
|
|
@@ -5069,8 +5069,8 @@ const bf = function(e) {
|
|
|
5069
5069
|
const _ = g - f.top - f.bottom, w = v - f.left - f.right, b = tt(g - f[y], _), x = tt(v - f[m], w), $ = !t.middlewareData.shift;
|
|
5070
5070
|
let E = b, C = x;
|
|
5071
5071
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (C = w), (r = t.middlewareData.shift) != null && r.enabled.y && (E = _), $ && !h) {
|
|
5072
|
-
const N = le(f.left, 0),
|
|
5073
|
-
p ? C = v - 2 * (N !== 0 ||
|
|
5072
|
+
const N = le(f.left, 0), k = le(f.right, 0), L = le(f.top, 0), V = le(f.bottom, 0);
|
|
5073
|
+
p ? C = v - 2 * (N !== 0 || k !== 0 ? N + k : le(f.left, f.right)) : E = g - 2 * (L !== 0 || V !== 0 ? L + V : le(f.top, f.bottom));
|
|
5074
5074
|
}
|
|
5075
5075
|
await c({
|
|
5076
5076
|
...t,
|
|
@@ -5228,15 +5228,15 @@ function Ot(e) {
|
|
|
5228
5228
|
y: s
|
|
5229
5229
|
};
|
|
5230
5230
|
}
|
|
5231
|
-
const
|
|
5231
|
+
const kf = /* @__PURE__ */ Pe(0);
|
|
5232
5232
|
function pc(e) {
|
|
5233
5233
|
const t = ue(e);
|
|
5234
|
-
return !Ko() || !t.visualViewport ?
|
|
5234
|
+
return !Ko() || !t.visualViewport ? kf : {
|
|
5235
5235
|
x: t.visualViewport.offsetLeft,
|
|
5236
5236
|
y: t.visualViewport.offsetTop
|
|
5237
5237
|
};
|
|
5238
5238
|
}
|
|
5239
|
-
function
|
|
5239
|
+
function Tf(e, t, n) {
|
|
5240
5240
|
return t === void 0 && (t = !1), !n || t && n !== ue(e) ? !1 : t;
|
|
5241
5241
|
}
|
|
5242
5242
|
function ft(e, t, n, r) {
|
|
@@ -5244,7 +5244,7 @@ function ft(e, t, n, r) {
|
|
|
5244
5244
|
const o = e.getBoundingClientRect(), i = Go(e);
|
|
5245
5245
|
let a = Pe(1);
|
|
5246
5246
|
t && (r ? xe(r) && (a = Ot(r)) : a = Ot(e));
|
|
5247
|
-
const s =
|
|
5247
|
+
const s = Tf(i, n, r) ? pc(i) : Pe(0);
|
|
5248
5248
|
let c = (o.left + s.x) / a.x, d = (o.top + s.y) / a.y, f = o.width / a.x, l = o.height / a.y;
|
|
5249
5249
|
if (i) {
|
|
5250
5250
|
const h = ue(i), p = r && xe(r) ? ue(r) : r;
|
|
@@ -5657,19 +5657,19 @@ function Xf(e) {
|
|
|
5657
5657
|
isPositioned: !1
|
|
5658
5658
|
}), [h, p] = D(r);
|
|
5659
5659
|
qn(h, r) || p(r);
|
|
5660
|
-
const [v, g] = D(null), [y, m] = D(null), _ = U((
|
|
5661
|
-
|
|
5662
|
-
}, []), w = U((
|
|
5663
|
-
|
|
5664
|
-
}, []), b = i || v, x = a || y, $ = P(null), E = P(null), C = P(f), S = c != null, N = ca(c),
|
|
5660
|
+
const [v, g] = D(null), [y, m] = D(null), _ = U((T) => {
|
|
5661
|
+
T !== $.current && ($.current = T, g(T));
|
|
5662
|
+
}, []), w = U((T) => {
|
|
5663
|
+
T !== E.current && (E.current = T, m(T));
|
|
5664
|
+
}, []), b = i || v, x = a || y, $ = P(null), E = P(null), C = P(f), S = c != null, N = ca(c), k = ca(o), L = U(() => {
|
|
5665
5665
|
if (!$.current || !E.current)
|
|
5666
5666
|
return;
|
|
5667
|
-
const
|
|
5667
|
+
const T = {
|
|
5668
5668
|
placement: t,
|
|
5669
5669
|
strategy: n,
|
|
5670
5670
|
middleware: h
|
|
5671
5671
|
};
|
|
5672
|
-
|
|
5672
|
+
k.current && (T.platform = k.current), Zf($.current, E.current, T).then((B) => {
|
|
5673
5673
|
const q = {
|
|
5674
5674
|
...B,
|
|
5675
5675
|
isPositioned: !0
|
|
@@ -5678,10 +5678,10 @@ function Xf(e) {
|
|
|
5678
5678
|
l(q);
|
|
5679
5679
|
}));
|
|
5680
5680
|
});
|
|
5681
|
-
}, [h, t, n,
|
|
5681
|
+
}, [h, t, n, k]);
|
|
5682
5682
|
Pn(() => {
|
|
5683
|
-
d === !1 && C.current.isPositioned && (C.current.isPositioned = !1, l((
|
|
5684
|
-
...
|
|
5683
|
+
d === !1 && C.current.isPositioned && (C.current.isPositioned = !1, l((T) => ({
|
|
5684
|
+
...T,
|
|
5685
5685
|
isPositioned: !1
|
|
5686
5686
|
})));
|
|
5687
5687
|
}, [d]);
|
|
@@ -5704,16 +5704,16 @@ function Xf(e) {
|
|
|
5704
5704
|
reference: b,
|
|
5705
5705
|
floating: x
|
|
5706
5706
|
}), [b, x]), R = K(() => {
|
|
5707
|
-
const
|
|
5707
|
+
const T = {
|
|
5708
5708
|
position: n,
|
|
5709
5709
|
left: 0,
|
|
5710
5710
|
top: 0
|
|
5711
5711
|
};
|
|
5712
5712
|
if (!A.floating)
|
|
5713
|
-
return
|
|
5713
|
+
return T;
|
|
5714
5714
|
const B = sa(A.floating, f.x), q = sa(A.floating, f.y);
|
|
5715
5715
|
return s ? {
|
|
5716
|
-
...
|
|
5716
|
+
...T,
|
|
5717
5717
|
transform: "translate(" + B + "px, " + q + "px)",
|
|
5718
5718
|
..._c(A.floating) >= 1.5 && {
|
|
5719
5719
|
willChange: "transform"
|
|
@@ -5823,10 +5823,10 @@ const yc = "Popper", [bc, wc] = Ho(yc), [sp, xc] = bc(yc), cp = (e) => {
|
|
|
5823
5823
|
}));
|
|
5824
5824
|
}), $c = "PopperContent", [dp, X_] = bc($c), fp = /* @__PURE__ */ Z((e, t) => {
|
|
5825
5825
|
var n, r, o, i, a, s, c, d;
|
|
5826
|
-
const { __scopePopper: f, side: l = "bottom", sideOffset: h = 0, align: p = "center", alignOffset: v = 0, arrowPadding: g = 0, avoidCollisions: y = !0, collisionBoundary: m = [], collisionPadding: _ = 0, sticky: w = "partial", hideWhenDetached: b = !1, updatePositionStrategy: x = "optimized", onPlaced: $, ...E } = e, C = xc($c, f), [S, N] = D(null),
|
|
5826
|
+
const { __scopePopper: f, side: l = "bottom", sideOffset: h = 0, align: p = "center", alignOffset: v = 0, arrowPadding: g = 0, avoidCollisions: y = !0, collisionBoundary: m = [], collisionPadding: _ = 0, sticky: w = "partial", hideWhenDetached: b = !1, updatePositionStrategy: x = "optimized", onPlaced: $, ...E } = e, C = xc($c, f), [S, N] = D(null), k = De(
|
|
5827
5827
|
t,
|
|
5828
5828
|
(mt) => N(mt)
|
|
5829
|
-
), [L, V] = D(null), M = ap(L), A = (n = M == null ? void 0 : M.width) !== null && n !== void 0 ? n : 0, R = (r = M == null ? void 0 : M.height) !== null && r !== void 0 ? r : 0,
|
|
5829
|
+
), [L, V] = D(null), M = ap(L), A = (n = M == null ? void 0 : M.width) !== null && n !== void 0 ? n : 0, R = (r = M == null ? void 0 : M.height) !== null && r !== void 0 ? r : 0, T = l + (p !== "center" ? "-" + p : ""), B = typeof _ == "number" ? _ : {
|
|
5830
5830
|
top: 0,
|
|
5831
5831
|
right: 0,
|
|
5832
5832
|
bottom: 0,
|
|
@@ -5842,7 +5842,7 @@ const yc = "Popper", [bc, wc] = Ho(yc), [sp, xc] = bc(yc), cp = (e) => {
|
|
|
5842
5842
|
}, { refs: Ye, floatingStyles: Ce, placement: gt, isPositioned: Ze, middlewareData: _e } = Xf({
|
|
5843
5843
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
|
5844
5844
|
strategy: "fixed",
|
|
5845
|
-
placement:
|
|
5845
|
+
placement: T,
|
|
5846
5846
|
whileElementsMounted: (...mt) => Wf(...mt, {
|
|
5847
5847
|
animationFrame: x === "always"
|
|
5848
5848
|
}),
|
|
@@ -5921,7 +5921,7 @@ const yc = "Popper", [bc, wc] = Ho(yc), [sp, xc] = bc(yc), cp = (e) => {
|
|
|
5921
5921
|
"data-side": Ee,
|
|
5922
5922
|
"data-align": at
|
|
5923
5923
|
}, E, {
|
|
5924
|
-
ref:
|
|
5924
|
+
ref: k,
|
|
5925
5925
|
style: {
|
|
5926
5926
|
...E.style,
|
|
5927
5927
|
// if the PopperContent hasn't been placed yet (not all measurements done)
|
|
@@ -5971,7 +5971,7 @@ const gp = cp, vp = up, mp = fp, Ec = "Popover", [Sc, J_] = Ho(Ec, [
|
|
|
5971
5971
|
});
|
|
5972
5972
|
return /* @__PURE__ */ O(gp, s, /* @__PURE__ */ O(_p, {
|
|
5973
5973
|
scope: t,
|
|
5974
|
-
contentId:
|
|
5974
|
+
contentId: kn(),
|
|
5975
5975
|
triggerRef: c,
|
|
5976
5976
|
open: l,
|
|
5977
5977
|
onOpenChange: h,
|
|
@@ -6000,7 +6000,7 @@ const gp = cp, vp = up, mp = fp, Ec = "Popover", [Sc, J_] = Ho(Ec, [
|
|
|
6000
6000
|
"aria-haspopup": "dialog",
|
|
6001
6001
|
"aria-expanded": o.open,
|
|
6002
6002
|
"aria-controls": o.contentId,
|
|
6003
|
-
"data-state":
|
|
6003
|
+
"data-state": Tc(o.open)
|
|
6004
6004
|
}, r, {
|
|
6005
6005
|
ref: a,
|
|
6006
6006
|
onClick: we(e.onClick, o.onOpenToggle)
|
|
@@ -6039,7 +6039,7 @@ const gp = cp, vp = up, mp = fp, Ec = "Popover", [Sc, J_] = Ho(Ec, [
|
|
|
6039
6039
|
}, []), /* @__PURE__ */ O(ec, {
|
|
6040
6040
|
as: Jn,
|
|
6041
6041
|
allowPinchZoom: !0
|
|
6042
|
-
}, /* @__PURE__ */ O(
|
|
6042
|
+
}, /* @__PURE__ */ O(kc, Y({}, e, {
|
|
6043
6043
|
ref: o,
|
|
6044
6044
|
trapFocus: n.open,
|
|
6045
6045
|
disableOutsidePointerEvents: !0,
|
|
@@ -6063,7 +6063,7 @@ const gp = cp, vp = up, mp = fp, Ec = "Popover", [Sc, J_] = Ho(Ec, [
|
|
|
6063
6063
|
})));
|
|
6064
6064
|
}), Op = /* @__PURE__ */ Z((e, t) => {
|
|
6065
6065
|
const n = Ft(Jt, e.__scopePopover), r = P(!1), o = P(!1);
|
|
6066
|
-
return /* @__PURE__ */ O(
|
|
6066
|
+
return /* @__PURE__ */ O(kc, Y({}, e, {
|
|
6067
6067
|
ref: t,
|
|
6068
6068
|
trapFocus: !1,
|
|
6069
6069
|
disableOutsidePointerEvents: !1,
|
|
@@ -6082,7 +6082,7 @@ const gp = cp, vp = up, mp = fp, Ec = "Popover", [Sc, J_] = Ho(Ec, [
|
|
|
6082
6082
|
((s = n.triggerRef.current) === null || s === void 0 ? void 0 : s.contains(c)) && i.preventDefault(), i.detail.originalEvent.type === "focusin" && o.current && i.preventDefault();
|
|
6083
6083
|
}
|
|
6084
6084
|
}));
|
|
6085
|
-
}),
|
|
6085
|
+
}), kc = /* @__PURE__ */ Z((e, t) => {
|
|
6086
6086
|
const { __scopePopover: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: i, disableOutsidePointerEvents: a, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: d, onInteractOutside: f, ...l } = e, h = Ft(Jt, n), p = Yo(n);
|
|
6087
6087
|
return Bs(), /* @__PURE__ */ O(Us, {
|
|
6088
6088
|
asChild: !0,
|
|
@@ -6099,7 +6099,7 @@ const gp = cp, vp = up, mp = fp, Ec = "Popover", [Sc, J_] = Ho(Ec, [
|
|
|
6099
6099
|
onFocusOutside: d,
|
|
6100
6100
|
onDismiss: () => h.onOpenChange(!1)
|
|
6101
6101
|
}, /* @__PURE__ */ O(mp, Y({
|
|
6102
|
-
"data-state":
|
|
6102
|
+
"data-state": Tc(h.open),
|
|
6103
6103
|
role: "dialog",
|
|
6104
6104
|
id: h.contentId
|
|
6105
6105
|
}, p, l, {
|
|
@@ -6114,10 +6114,10 @@ const gp = cp, vp = up, mp = fp, Ec = "Popover", [Sc, J_] = Ho(Ec, [
|
|
|
6114
6114
|
}
|
|
6115
6115
|
}))));
|
|
6116
6116
|
});
|
|
6117
|
-
function
|
|
6117
|
+
function Tc(e) {
|
|
6118
6118
|
return e ? "open" : "closed";
|
|
6119
6119
|
}
|
|
6120
|
-
const
|
|
6120
|
+
const kp = yp, Tp = wp, Ap = Cp, Pp = Ep, la = (e) => {
|
|
6121
6121
|
var n;
|
|
6122
6122
|
const t = Number((n = e.match(/\d/g)) == null ? void 0 : n.join(""));
|
|
6123
6123
|
return Number.isNaN(t) ? 0 : t;
|
|
@@ -6489,9 +6489,9 @@ const Tp = yp, kp = wp, Ap = Cp, Pp = Ep, la = (e) => {
|
|
|
6489
6489
|
g
|
|
6490
6490
|
] })
|
|
6491
6491
|
] }) })
|
|
6492
|
-
] }) : /* @__PURE__ */ u(
|
|
6492
|
+
] }) : /* @__PURE__ */ u(kp, { open: e, onOpenChange: (y) => n(y), modal: p, children: [
|
|
6493
6493
|
/* @__PURE__ */ u(
|
|
6494
|
-
|
|
6494
|
+
Tp,
|
|
6495
6495
|
{
|
|
6496
6496
|
"data-filter-key": r.key,
|
|
6497
6497
|
"aria-label": r.label,
|
|
@@ -6707,9 +6707,9 @@ var Ic = Ch;
|
|
|
6707
6707
|
function Eh(e) {
|
|
6708
6708
|
return e != null && typeof e == "object";
|
|
6709
6709
|
}
|
|
6710
|
-
var Sh = Eh, Oh = Ic,
|
|
6710
|
+
var Sh = Eh, Oh = Ic, kh = Sh, Th = "[object Symbol]";
|
|
6711
6711
|
function Ah(e) {
|
|
6712
|
-
return typeof e == "symbol" ||
|
|
6712
|
+
return typeof e == "symbol" || kh(e) && Oh(e) == Th;
|
|
6713
6713
|
}
|
|
6714
6714
|
var ar = Ah, Ph = lh, ma = or, Rh = ar, _a = 0 / 0, Dh = /^[-+]0x[0-9a-f]+$/i, Lh = /^0b[01]+$/i, Mh = /^0o[0-7]+$/i, Nh = parseInt;
|
|
6715
6715
|
function Ih(e) {
|
|
@@ -7069,7 +7069,7 @@ const cg = ({ signal: e, timeoutMs: t }) => new Promise((n, r) => {
|
|
|
7069
7069
|
children: /* @__PURE__ */ u(te, { name: "target-location" })
|
|
7070
7070
|
}
|
|
7071
7071
|
);
|
|
7072
|
-
},
|
|
7072
|
+
}, kt = me({
|
|
7073
7073
|
base: "block fr font-style-tag font-family-tag font-weight-tag",
|
|
7074
7074
|
variants: {
|
|
7075
7075
|
variant: {
|
|
@@ -7114,12 +7114,12 @@ const cg = ({ signal: e, timeoutMs: t }) => new Promise((n, r) => {
|
|
|
7114
7114
|
revalidateOnFocus: !1
|
|
7115
7115
|
}), { data: g, queryState: y, error: m } = rn(v), _ = P(0), [w, b] = D("view"), x = P(null), $ = P(null), E = P(null), C = P(!1);
|
|
7116
7116
|
I(() => {
|
|
7117
|
-
var
|
|
7118
|
-
w === "edit" && ((
|
|
7117
|
+
var k, L;
|
|
7118
|
+
w === "edit" && ((k = x.current) == null || k.focus()), w === "view" && n && C.current && (C.current = !1, (L = E.current) == null || L.focus());
|
|
7119
7119
|
}, [w, n]);
|
|
7120
|
-
const S = (
|
|
7120
|
+
const S = (k, L) => {
|
|
7121
7121
|
var V;
|
|
7122
|
-
_.current++, C.current = ((V = $.current) == null ? void 0 : V.contains(document.activeElement)) ?? !1, e(
|
|
7122
|
+
_.current++, C.current = ((V = $.current) == null ? void 0 : V.contains(document.activeElement)) ?? !1, e(k, L), f(L), c(""), b("view");
|
|
7123
7123
|
};
|
|
7124
7124
|
return /* @__PURE__ */ u("div", { ref: $, class: "relative flex-1", children: [
|
|
7125
7125
|
w === "view" && n ? /* @__PURE__ */ u(
|
|
@@ -7135,7 +7135,7 @@ const cg = ({ signal: e, timeoutMs: t }) => new Promise((n, r) => {
|
|
|
7135
7135
|
onClick: () => {
|
|
7136
7136
|
b("edit");
|
|
7137
7137
|
},
|
|
7138
|
-
children: /* @__PURE__ */ u("div", { class:
|
|
7138
|
+
children: /* @__PURE__ */ u("div", { class: kt({ size: "sm", variant: "accentStrong", interactive: !0, class: "truncate" }), children: d ?? a("location_provided") })
|
|
7139
7139
|
}
|
|
7140
7140
|
) : /* @__PURE__ */ u(
|
|
7141
7141
|
Xh,
|
|
@@ -7144,27 +7144,27 @@ const cg = ({ signal: e, timeoutMs: t }) => new Promise((n, r) => {
|
|
|
7144
7144
|
error: m,
|
|
7145
7145
|
query: s,
|
|
7146
7146
|
name: "location-search",
|
|
7147
|
-
onQueryChange: (
|
|
7148
|
-
_.current++, c(
|
|
7147
|
+
onQueryChange: (k) => {
|
|
7148
|
+
_.current++, c(k), i(void 0);
|
|
7149
7149
|
},
|
|
7150
7150
|
onFocus: () => {
|
|
7151
7151
|
h.abort(), p(new AbortController());
|
|
7152
7152
|
},
|
|
7153
7153
|
onBlur: () => {
|
|
7154
|
-
const
|
|
7155
|
-
if (!(!
|
|
7154
|
+
const k = x.current;
|
|
7155
|
+
if (!(!k || document.activeElement === k)) {
|
|
7156
7156
|
if (b("view"), n)
|
|
7157
7157
|
return c("");
|
|
7158
|
-
|
|
7158
|
+
k.value.trim() && i(a("geo_choose_location"));
|
|
7159
7159
|
}
|
|
7160
7160
|
},
|
|
7161
|
-
onItemSelect: (
|
|
7161
|
+
onItemSelect: (k) => {
|
|
7162
7162
|
if (y !== "loaded")
|
|
7163
7163
|
return;
|
|
7164
|
-
const L = g.find((V) => V.mapbox_id ===
|
|
7164
|
+
const L = g.find((V) => V.mapbox_id === k);
|
|
7165
7165
|
L && S(L.coordinates, L.name_preferred);
|
|
7166
7166
|
},
|
|
7167
|
-
onEnter: async (
|
|
7167
|
+
onEnter: async (k) => {
|
|
7168
7168
|
const L = s.trim();
|
|
7169
7169
|
if (!L)
|
|
7170
7170
|
return;
|
|
@@ -7175,7 +7175,7 @@ const cg = ({ signal: e, timeoutMs: t }) => new Promise((n, r) => {
|
|
|
7175
7175
|
const M = l === s && y === "loaded" ? g : await wa([L, o]);
|
|
7176
7176
|
if (V !== _.current)
|
|
7177
7177
|
return;
|
|
7178
|
-
const A = M.find((R) => R.mapbox_id ===
|
|
7178
|
+
const A = M.find((R) => R.mapbox_id === k) ?? M[0];
|
|
7179
7179
|
if (A)
|
|
7180
7180
|
return S(A.coordinates, A.name_preferred);
|
|
7181
7181
|
i(a("geo_no_match"));
|
|
@@ -7187,12 +7187,12 @@ const cg = ({ signal: e, timeoutMs: t }) => new Promise((n, r) => {
|
|
|
7187
7187
|
},
|
|
7188
7188
|
inputPlaceholder: a("geo_search_placeholder"),
|
|
7189
7189
|
inputProps: { enterkeyhint: "search" },
|
|
7190
|
-
items: (g == null ? void 0 : g.map((
|
|
7191
|
-
id:
|
|
7190
|
+
items: (g == null ? void 0 : g.map((k) => ({
|
|
7191
|
+
id: k.mapbox_id,
|
|
7192
7192
|
label: /* @__PURE__ */ u("div", { class: "flex min-w-0 max-w-full gap-2 overflow-hidden", children: [
|
|
7193
|
-
/* @__PURE__ */ u("strong", { class: "truncate", children:
|
|
7193
|
+
/* @__PURE__ */ u("strong", { class: "truncate", children: k.name_preferred }),
|
|
7194
7194
|
" ",
|
|
7195
|
-
/* @__PURE__ */ u("span", { class: "flex-1 truncate opacity-50", children:
|
|
7195
|
+
/* @__PURE__ */ u("span", { class: "flex-1 truncate opacity-50", children: k.place_formatted })
|
|
7196
7196
|
] })
|
|
7197
7197
|
}))) ?? []
|
|
7198
7198
|
}
|
|
@@ -7200,7 +7200,7 @@ const cg = ({ signal: e, timeoutMs: t }) => new Promise((n, r) => {
|
|
|
7200
7200
|
/* @__PURE__ */ u("div", { class: "absolute bottom-0 right-0 top-0 flex items-center", children: !s && !n ? /* @__PURE__ */ u(
|
|
7201
7201
|
pg,
|
|
7202
7202
|
{
|
|
7203
|
-
onLocate: (
|
|
7203
|
+
onLocate: (k) => S(k, a("geo_my_location")),
|
|
7204
7204
|
onError: i,
|
|
7205
7205
|
signal: h.signal
|
|
7206
7206
|
}
|
|
@@ -7579,12 +7579,12 @@ const cg = ({ signal: e, timeoutMs: t }) => new Promise((n, r) => {
|
|
|
7579
7579
|
)
|
|
7580
7580
|
] }) : null;
|
|
7581
7581
|
};
|
|
7582
|
-
var Sg = Array.isArray, Xo = Sg, Og = Xo,
|
|
7582
|
+
var Sg = Array.isArray, Xo = Sg, Og = Xo, kg = ar, Tg = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Ag = /^\w*$/;
|
|
7583
7583
|
function Pg(e, t) {
|
|
7584
7584
|
if (Og(e))
|
|
7585
7585
|
return !1;
|
|
7586
7586
|
var n = typeof e;
|
|
7587
|
-
return n == "number" || n == "symbol" || n == "boolean" || e == null ||
|
|
7587
|
+
return n == "number" || n == "symbol" || n == "boolean" || e == null || kg(e) ? !0 : Ag.test(e) || !Tg.test(e) || t != null && e in Object(t);
|
|
7588
7588
|
}
|
|
7589
7589
|
var Rg = Pg, Dg = Ic, Lg = or, Mg = "[object AsyncFunction]", Ng = "[object Function]", Ig = "[object GeneratorFunction]", jg = "[object Proxy]";
|
|
7590
7590
|
function Fg(e) {
|
|
@@ -7650,12 +7650,12 @@ function Cv(e) {
|
|
|
7650
7650
|
}
|
|
7651
7651
|
return $v.call(t, e) ? t[e] : void 0;
|
|
7652
7652
|
}
|
|
7653
|
-
var Ev = Cv, Sv = sr, Ov = Object.prototype,
|
|
7654
|
-
function
|
|
7653
|
+
var Ev = Cv, Sv = sr, Ov = Object.prototype, kv = Ov.hasOwnProperty;
|
|
7654
|
+
function Tv(e) {
|
|
7655
7655
|
var t = this.__data__;
|
|
7656
|
-
return Sv ? t[e] !== void 0 :
|
|
7656
|
+
return Sv ? t[e] !== void 0 : kv.call(t, e);
|
|
7657
7657
|
}
|
|
7658
|
-
var Av =
|
|
7658
|
+
var Av = Tv, Pv = sr, Rv = "__lodash_hash_undefined__";
|
|
7659
7659
|
function Dv(e, t) {
|
|
7660
7660
|
var n = this.__data__;
|
|
7661
7661
|
return this.size += this.has(e) ? 0 : 1, n[e] = Pv && t === void 0 ? Rv : t, this;
|
|
@@ -7746,11 +7746,11 @@ function Sm(e) {
|
|
|
7746
7746
|
var t = Em(this, e).delete(e);
|
|
7747
7747
|
return this.size -= t ? 1 : 0, t;
|
|
7748
7748
|
}
|
|
7749
|
-
var Om = Sm,
|
|
7750
|
-
function
|
|
7751
|
-
return
|
|
7749
|
+
var Om = Sm, km = lr;
|
|
7750
|
+
function Tm(e) {
|
|
7751
|
+
return km(this, e).get(e);
|
|
7752
7752
|
}
|
|
7753
|
-
var Am =
|
|
7753
|
+
var Am = Tm, Pm = lr;
|
|
7754
7754
|
function Rm(e) {
|
|
7755
7755
|
return Pm(this, e).has(e);
|
|
7756
7756
|
}
|
|
@@ -7804,14 +7804,14 @@ function e_(e, t) {
|
|
|
7804
7804
|
o[n] = t(e[n], n, e);
|
|
7805
7805
|
return o;
|
|
7806
7806
|
}
|
|
7807
|
-
var t_ = e_, Sa = Zo, n_ = t_, r_ = Xo, o_ = ar, i_ = 1 / 0, Oa = Sa ? Sa.prototype : void 0,
|
|
7807
|
+
var t_ = e_, Sa = Zo, n_ = t_, r_ = Xo, o_ = ar, i_ = 1 / 0, Oa = Sa ? Sa.prototype : void 0, ka = Oa ? Oa.toString : void 0;
|
|
7808
7808
|
function Uc(e) {
|
|
7809
7809
|
if (typeof e == "string")
|
|
7810
7810
|
return e;
|
|
7811
7811
|
if (r_(e))
|
|
7812
7812
|
return n_(e, Uc) + "";
|
|
7813
7813
|
if (o_(e))
|
|
7814
|
-
return
|
|
7814
|
+
return ka ? ka.call(e) : "";
|
|
7815
7815
|
var t = e + "";
|
|
7816
7816
|
return t == "0" && 1 / e == -i_ ? "-0" : t;
|
|
7817
7817
|
}
|
|
@@ -7858,7 +7858,7 @@ const O_ = /* @__PURE__ */ Es(S_), Gt = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
7858
7858
|
}
|
|
7859
7859
|
},
|
|
7860
7860
|
defaultVariants: { interactive: !0 }
|
|
7861
|
-
}),
|
|
7861
|
+
}), k_ = me({
|
|
7862
7862
|
base: "font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading text-pretty",
|
|
7863
7863
|
variants: {
|
|
7864
7864
|
size: {
|
|
@@ -7877,7 +7877,7 @@ const O_ = /* @__PURE__ */ Es(S_), Gt = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
7877
7877
|
return null;
|
|
7878
7878
|
const n = O_(e.raw, t.key);
|
|
7879
7879
|
return t.transform ? t.transform(n) : n;
|
|
7880
|
-
},
|
|
7880
|
+
}, T_ = ({
|
|
7881
7881
|
job: e,
|
|
7882
7882
|
config: t = "hidden"
|
|
7883
7883
|
}) => t === "hidden" ? null : /* @__PURE__ */ u("div", { class: "rounded-logo h-12 flex-none overflow-hidden", style: { aspectRatio: t.replace(":", "/") }, children: e.company.logo ? /* @__PURE__ */ u(
|
|
@@ -7887,7 +7887,7 @@ const O_ = /* @__PURE__ */ Es(S_), Gt = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
7887
7887
|
alt: e.company.name,
|
|
7888
7888
|
class: "h-full w-full select-none object-contain [-webkit-user-drag:none]"
|
|
7889
7889
|
}
|
|
7890
|
-
) : null }),
|
|
7890
|
+
) : null }), Ta = (e) => Array.isArray(e) ? e : [e], A_ = 1e3 * 60 * 60 * 24, zc = ({
|
|
7891
7891
|
job: e,
|
|
7892
7892
|
config: t,
|
|
7893
7893
|
onJobClick: n,
|
|
@@ -7895,7 +7895,7 @@ const O_ = /* @__PURE__ */ Es(S_), Gt = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
7895
7895
|
distanceUnit: o
|
|
7896
7896
|
}) => {
|
|
7897
7897
|
var y, m, _;
|
|
7898
|
-
const { t: i, locale: a } = ie(), s = e.distanceMeters === null ? null : i("distance_away", { distance: Kp(e.distanceMeters, o ?? "miles", a) }), c = t.subheading ? Ur({ job: e, property: t.subheading }) : null, d = t.infoTags.flatMap((w) =>
|
|
7898
|
+
const { t: i, locale: a } = ie(), s = e.distanceMeters === null ? null : i("distance_away", { distance: Kp(e.distanceMeters, o ?? "miles", a) }), c = t.subheading ? Ur({ job: e, property: t.subheading }) : null, d = t.infoTags.flatMap((w) => Ta(Ur({ job: e, property: w }))).filter(Boolean), f = Ta(
|
|
7899
7899
|
(y = t.overrides) != null && y.salary ? Ur({ job: e, property: t.overrides.salary }) : e.pay
|
|
7900
7900
|
).filter(Boolean), l = t.postedDate ?? "show", h = (m = t.overrides) != null && m.baseUrl ? t.overrides.baseUrl(e.id.toString()) : e.href, p = t.newUnderDays ?? 7, v = e.createdAt ? new Date(e.createdAt).getTime() > Date.now() - p * A_ : !1, g = (w) => {
|
|
7901
7901
|
var b, x;
|
|
@@ -7912,14 +7912,14 @@ const O_ = /* @__PURE__ */ Es(S_), Gt = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
7912
7912
|
children: [
|
|
7913
7913
|
/* @__PURE__ */ u("div", { class: "flex min-w-0 flex-1 flex-col gap-4", children: [
|
|
7914
7914
|
/* @__PURE__ */ u("div", { class: "gap-logo flex items-center", children: [
|
|
7915
|
-
/* @__PURE__ */ u(
|
|
7915
|
+
/* @__PURE__ */ u(T_, { job: e, config: r !== "sm" ? t.logo : void 0 }),
|
|
7916
7916
|
/* @__PURE__ */ u("div", { class: "flex flex-col items-start gap-1", children: [
|
|
7917
7917
|
/* @__PURE__ */ u("div", { class: "order-2 flex flex-col gap-1", children: [
|
|
7918
7918
|
e.match ? /* @__PURE__ */ u("p", { class: "text-style-job-card text-tag-accent-strong-bg flex items-center ", children: [
|
|
7919
7919
|
/* @__PURE__ */ u(te, { name: "ai", class: "size-4 inline-block" }),
|
|
7920
7920
|
/* @__PURE__ */ u("span", { children: e.match })
|
|
7921
7921
|
] }) : null,
|
|
7922
|
-
/* @__PURE__ */ u("p", { class:
|
|
7922
|
+
/* @__PURE__ */ u("p", { class: k_({ size: r }), children: [
|
|
7923
7923
|
e.title.trim(),
|
|
7924
7924
|
v && l !== "hide" && /* @__PURE__ */ u(H, { children: [
|
|
7925
7925
|
" ",
|
|
@@ -7947,8 +7947,8 @@ const O_ = /* @__PURE__ */ Es(S_), Gt = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
7947
7947
|
/* @__PURE__ */ u(te, { name: "target-location", class: "size-4 flex-none", "aria-hidden": !0 }),
|
|
7948
7948
|
s
|
|
7949
7949
|
] }) : null,
|
|
7950
|
-
/* @__PURE__ */ u("div", { class: "flex min-w-0 max-w-full flex-wrap items-center gap-2", children: f.map((w, b) => /* @__PURE__ */ u("span", { class:
|
|
7951
|
-
d.length > 0 && /* @__PURE__ */ u("ul", { class: "flex min-w-0 max-w-full flex-wrap items-center gap-2", children: d.map((w) => /* @__PURE__ */ u("li", { class:
|
|
7950
|
+
/* @__PURE__ */ u("div", { class: "flex min-w-0 max-w-full flex-wrap items-center gap-2", children: f.map((w, b) => /* @__PURE__ */ u("span", { class: kt({ variant: "monetaryWeak", size: "xs" }), children: w }, b)) }),
|
|
7951
|
+
d.length > 0 && /* @__PURE__ */ u("ul", { class: "flex min-w-0 max-w-full flex-wrap items-center gap-2", children: d.map((w) => /* @__PURE__ */ u("li", { class: kt({ size: "xs", class: "max-w-full truncate" }), children: w }, w)) })
|
|
7952
7952
|
] })
|
|
7953
7953
|
] }),
|
|
7954
7954
|
r === "sm" ? /* @__PURE__ */ u("div", { "aria-hidden": !0, class: "absolute right-1 top-1/2 -translate-y-1/2 transform", children: /* @__PURE__ */ u(te, { name: "chevron-right", class: "size-5 text-copy-neutral-icon" }) }) : /* @__PURE__ */ u("div", { "aria-hidden": !0, class: "flex items-center", children: /* @__PURE__ */ u(te, { name: "chevron-right", class: "text-copy-neutral-icon" }) })
|
|
@@ -7983,12 +7983,12 @@ const O_ = /* @__PURE__ */ Es(S_), Gt = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
7983
7983
|
n % 2 === 0 && /* @__PURE__ */ u(
|
|
7984
7984
|
"span",
|
|
7985
7985
|
{
|
|
7986
|
-
class:
|
|
7986
|
+
class: kt({ variant: "neutralWeak", size: "xs", class: "h-[1lh] min-h-[1em] w-[10ch]" })
|
|
7987
7987
|
}
|
|
7988
7988
|
),
|
|
7989
7989
|
/* @__PURE__ */ u("div", { class: "flex items-center gap-2", children: [
|
|
7990
|
-
/* @__PURE__ */ u("span", { class:
|
|
7991
|
-
/* @__PURE__ */ u("span", { class:
|
|
7990
|
+
/* @__PURE__ */ u("span", { class: kt({ variant: "neutralWeak", size: "xs", class: "h-[1lh] min-h-[1em] w-[6ch]" }) }),
|
|
7991
|
+
/* @__PURE__ */ u("span", { class: kt({ variant: "neutralWeak", size: "xs", class: "h-[1lh] min-h-[1em] w-[8ch]" }) })
|
|
7992
7992
|
] })
|
|
7993
7993
|
] })
|
|
7994
7994
|
] }),
|
|
@@ -8162,7 +8162,7 @@ const O_ = /* @__PURE__ */ Es(S_), Gt = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
8162
8162
|
default:
|
|
8163
8163
|
$t(_);
|
|
8164
8164
|
}
|
|
8165
|
-
}, L_ = No(() => import("./map-
|
|
8165
|
+
}, L_ = No(() => import("./map-ddfd39ea.js").then((e) => e.Map)), M_ = ({
|
|
8166
8166
|
state: e,
|
|
8167
8167
|
rpcClient: t,
|
|
8168
8168
|
mapConfig: n,
|
|
@@ -8304,7 +8304,7 @@ const O_ = /* @__PURE__ */ Es(S_), Gt = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
8304
8304
|
onStateChange: o,
|
|
8305
8305
|
params: i
|
|
8306
8306
|
}) => {
|
|
8307
|
-
var C, S, N,
|
|
8307
|
+
var C, S, N, k, L, V, M;
|
|
8308
8308
|
const { t: a } = ie(), s = P(null), c = K(() => Gn(t, "defaultValue"), [t]), [d, f] = D(!0), [l, h] = D(
|
|
8309
8309
|
() => typeof i.initialState == "function" ? i.initialState(i) : i.initialState
|
|
8310
8310
|
), [p, v] = D(0), { onJobClick: g, analyticsPaginate: y } = I_({
|
|
@@ -8319,16 +8319,16 @@ const O_ = /* @__PURE__ */ Es(S_), Gt = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
8319
8319
|
h((R) => {
|
|
8320
8320
|
if (R.page === A)
|
|
8321
8321
|
return R;
|
|
8322
|
-
const
|
|
8323
|
-
return o == null || o(
|
|
8322
|
+
const T = { ...R, page: A };
|
|
8323
|
+
return o == null || o(T), T;
|
|
8324
8324
|
}), y(A);
|
|
8325
8325
|
},
|
|
8326
8326
|
[y, o]
|
|
8327
8327
|
), _ = U(
|
|
8328
8328
|
(A) => {
|
|
8329
8329
|
h((R) => {
|
|
8330
|
-
const
|
|
8331
|
-
return o == null || o(
|
|
8330
|
+
const T = { ...R, view: A };
|
|
8331
|
+
return o == null || o(T), T;
|
|
8332
8332
|
});
|
|
8333
8333
|
},
|
|
8334
8334
|
[o]
|
|
@@ -8339,10 +8339,10 @@ const O_ = /* @__PURE__ */ Es(S_), Gt = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
8339
8339
|
if (!R.query && !A || R.query === A)
|
|
8340
8340
|
return R;
|
|
8341
8341
|
f(!1);
|
|
8342
|
-
const
|
|
8342
|
+
const T = Pa(R.geo), B = {
|
|
8343
8343
|
...R,
|
|
8344
8344
|
query: A,
|
|
8345
|
-
geo:
|
|
8345
|
+
geo: T,
|
|
8346
8346
|
page: 1,
|
|
8347
8347
|
mode: (q = i.naturalLanguageSearch) != null && q.enabled ? "vector" : "query"
|
|
8348
8348
|
};
|
|
@@ -8353,8 +8353,8 @@ const O_ = /* @__PURE__ */ Es(S_), Gt = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
8353
8353
|
), b = U(
|
|
8354
8354
|
(A) => {
|
|
8355
8355
|
f(!1), h((R) => {
|
|
8356
|
-
const
|
|
8357
|
-
return o == null || o(
|
|
8356
|
+
const T = { ...R, geo: A, page: 1 };
|
|
8357
|
+
return o == null || o(T), T;
|
|
8358
8358
|
});
|
|
8359
8359
|
},
|
|
8360
8360
|
[o]
|
|
@@ -8376,8 +8376,8 @@ const O_ = /* @__PURE__ */ Es(S_), Gt = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
8376
8376
|
if (R.resultOrder === A)
|
|
8377
8377
|
return R;
|
|
8378
8378
|
f(!1);
|
|
8379
|
-
const
|
|
8380
|
-
return o == null || o(
|
|
8379
|
+
const T = { ...R, resultOrder: A, page: 1 };
|
|
8380
|
+
return o == null || o(T), T;
|
|
8381
8381
|
});
|
|
8382
8382
|
},
|
|
8383
8383
|
[o]
|
|
@@ -8405,7 +8405,7 @@ const O_ = /* @__PURE__ */ Es(S_), Gt = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
8405
8405
|
}
|
|
8406
8406
|
) : i.enableKeywordSearch ? /* @__PURE__ */ u(bg, { value: l.query, onValueChange: w }) : null
|
|
8407
8407
|
] }),
|
|
8408
|
-
(
|
|
8408
|
+
(k = i.geolocation) != null && k.enabled ? /* @__PURE__ */ u("section", { class: "flex flex-1 flex-col gap-1", children: [
|
|
8409
8409
|
/* @__PURE__ */ u("p", { class: "text-style-filter text-copy-neutral font-style-filter font-weight-filter", children: a("geo_label") }),
|
|
8410
8410
|
/* @__PURE__ */ u(
|
|
8411
8411
|
_g,
|
|
@@ -8415,8 +8415,8 @@ const O_ = /* @__PURE__ */ Es(S_), Gt = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
8415
8415
|
distanceUnit: i.geolocation.distanceUnit,
|
|
8416
8416
|
onValueChange: (A) => {
|
|
8417
8417
|
f(!1), h((R) => {
|
|
8418
|
-
const
|
|
8419
|
-
return o == null || o(
|
|
8418
|
+
const T = { ...R, geo: A, page: 1 };
|
|
8419
|
+
return o == null || o(T), T;
|
|
8420
8420
|
}), y(1);
|
|
8421
8421
|
}
|
|
8422
8422
|
}
|
|
@@ -8428,8 +8428,8 @@ const O_ = /* @__PURE__ */ Es(S_), Gt = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
8428
8428
|
{
|
|
8429
8429
|
state: l,
|
|
8430
8430
|
onFilterValueChange: (A, R) => {
|
|
8431
|
-
f(!1), h((
|
|
8432
|
-
const B = { ...
|
|
8431
|
+
f(!1), h((T) => {
|
|
8432
|
+
const B = { ...T.filters, [A]: R }, q = Pa(T.geo), ce = { ...T, filters: B, geo: q, page: 1 };
|
|
8433
8433
|
return o == null || o(ce), ce;
|
|
8434
8434
|
}), y(1);
|
|
8435
8435
|
},
|
|
@@ -8528,7 +8528,9 @@ const O_ = /* @__PURE__ */ Es(S_), Gt = ({ chars: e }) => /* @__PURE__ */ u(
|
|
|
8528
8528
|
} };
|
|
8529
8529
|
}, En = "https://maps.inploi.com", j_ = {
|
|
8530
8530
|
"mapbox://styles/mapbox/light-v10": "default",
|
|
8531
|
-
"mapbox://styles/mapbox/light-v11": "default"
|
|
8531
|
+
"mapbox://styles/mapbox/light-v11": "default",
|
|
8532
|
+
// Compass job-page "Monochrome-copy" style.
|
|
8533
|
+
"mapbox://styles/alexhansonsmith/cldkh2fyi002301p617kc5rrh": "compass"
|
|
8532
8534
|
}, ry = "https://tiles.openfreemap.org/styles/positron";
|
|
8533
8535
|
function oy(e) {
|
|
8534
8536
|
if (e === void 0)
|