@inploi/plugin-job-search 0.8.1 → 0.10.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.
@@ -17,47 +17,47 @@ function invariant(condition, message) {
17
17
  function isKeyInObj(key, obj) {
18
18
  return key in obj;
19
19
  }
20
- var n$1, l$2, u$3, i$2, o$2, r$2, f$3, e$1, c$2 = {}, s$2 = [], a$2 = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, h$2 = Array.isArray;
21
- function v$2(n2, l2) {
20
+ var n$1, l$2, u$3, i$2, o$2, r$3, f$3, e$1, c$2, s$2, a$2, h$1 = {}, p$2 = [], v$1 = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, y$2 = Array.isArray;
21
+ function d$1(n2, l2) {
22
22
  for (var u2 in l2)
23
23
  n2[u2] = l2[u2];
24
24
  return n2;
25
25
  }
26
- function p$2(n2) {
26
+ function w$3(n2) {
27
27
  var l2 = n2.parentNode;
28
28
  l2 && l2.removeChild(n2);
29
29
  }
30
- function y$2(l2, u2, t2) {
30
+ function _$1(l2, u2, t2) {
31
31
  var i2, o2, r2, f2 = {};
32
32
  for (r2 in u2)
33
33
  "key" == r2 ? i2 = u2[r2] : "ref" == r2 ? o2 = u2[r2] : f2[r2] = u2[r2];
34
34
  if (arguments.length > 2 && (f2.children = arguments.length > 3 ? n$1.call(arguments, 2) : t2), "function" == typeof l2 && null != l2.defaultProps)
35
35
  for (r2 in l2.defaultProps)
36
36
  void 0 === f2[r2] && (f2[r2] = l2.defaultProps[r2]);
37
- return d$2(l2, f2, i2, o2, null);
37
+ return g$3(l2, f2, i2, o2, null);
38
38
  }
39
- function d$2(n2, t2, i2, o2, r2) {
39
+ function g$3(n2, t2, i2, o2, r2) {
40
40
  var f2 = { type: n2, props: t2, key: i2, ref: o2, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: null == r2 ? ++u$3 : r2, __i: -1, __u: 0 };
41
41
  return null == r2 && null != l$2.vnode && l$2.vnode(f2), f2;
42
42
  }
43
- function _$2() {
43
+ function m$1() {
44
44
  return { current: null };
45
45
  }
46
- function g$3(n2) {
46
+ function k$3(n2) {
47
47
  return n2.children;
48
48
  }
49
49
  function b$2(n2, l2) {
50
50
  this.props = n2, this.context = l2;
51
51
  }
52
- function m$2(n2, l2) {
52
+ function x$2(n2, l2) {
53
53
  if (null == l2)
54
- return n2.__ ? m$2(n2.__, n2.__i + 1) : null;
54
+ return n2.__ ? x$2(n2.__, n2.__i + 1) : null;
55
55
  for (var u2; l2 < n2.__k.length; l2++)
56
56
  if (null != (u2 = n2.__k[l2]) && null != u2.__e)
57
57
  return u2.__e;
58
- return "function" == typeof n2.type ? m$2(n2) : null;
58
+ return "function" == typeof n2.type ? x$2(n2) : null;
59
59
  }
60
- function k$3(n2) {
60
+ function C$3(n2) {
61
61
  var l2, u2;
62
62
  if (null != (n2 = n2.__) && null != n2.__c) {
63
63
  for (n2.__e = n2.__c.base = null, l2 = 0; l2 < n2.__k.length; l2++)
@@ -65,49 +65,53 @@ function k$3(n2) {
65
65
  n2.__e = n2.__c.base = u2.__e;
66
66
  break;
67
67
  }
68
- return k$3(n2);
68
+ return C$3(n2);
69
69
  }
70
70
  }
71
- function w$3(n2) {
72
- (!n2.__d && (n2.__d = true) && i$2.push(n2) && !x$3.__r++ || o$2 !== l$2.debounceRendering) && ((o$2 = l$2.debounceRendering) || r$2)(x$3);
71
+ function M$1(n2) {
72
+ (!n2.__d && (n2.__d = true) && i$2.push(n2) && !P$2.__r++ || o$2 !== l$2.debounceRendering) && ((o$2 = l$2.debounceRendering) || r$3)(P$2);
73
73
  }
74
- function x$3() {
75
- var n2, u2, t2, o2, r2, e2, c2, s2, a2;
74
+ function P$2() {
75
+ var n2, u2, t2, o2, r2, e2, c2, s2;
76
76
  for (i$2.sort(f$3); n2 = i$2.shift(); )
77
- n2.__d && (u2 = i$2.length, o2 = void 0, e2 = (r2 = (t2 = n2).__v).__e, s2 = [], a2 = [], (c2 = t2.__P) && ((o2 = v$2({}, r2)).__v = r2.__v + 1, l$2.vnode && l$2.vnode(o2), L$1(c2, o2, r2, t2.__n, void 0 !== c2.ownerSVGElement, 32 & r2.__u ? [e2] : null, s2, null == e2 ? m$2(r2) : e2, !!(32 & r2.__u), a2), o2.__.__k[o2.__i] = o2, M$1(s2, o2, a2), o2.__e != e2 && k$3(o2)), i$2.length > u2 && i$2.sort(f$3));
78
- x$3.__r = 0;
77
+ n2.__d && (u2 = i$2.length, o2 = void 0, e2 = (r2 = (t2 = n2).__v).__e, c2 = [], s2 = [], t2.__P && ((o2 = d$1({}, r2)).__v = r2.__v + 1, l$2.vnode && l$2.vnode(o2), O$1(t2.__P, o2, r2, t2.__n, t2.__P.namespaceURI, 32 & r2.__u ? [e2] : null, c2, null == e2 ? x$2(r2) : e2, !!(32 & r2.__u), s2), o2.__v = r2.__v, o2.__.__k[o2.__i] = o2, j$3(c2, o2, s2), o2.__e != e2 && C$3(o2)), i$2.length > u2 && i$2.sort(f$3));
78
+ P$2.__r = 0;
79
79
  }
80
- function C$2(n2, l2, u2, t2, i2, o2, r2, f2, e2, a2, h2) {
81
- var v2, p2, y2, d2, _2, g2 = t2 && t2.__k || s$2, b2 = l2.length;
82
- for (u2.__d = e2, P$2(u2, l2, g2), e2 = u2.__d, v2 = 0; v2 < b2; v2++)
83
- null != (y2 = u2.__k[v2]) && "boolean" != typeof y2 && "function" != typeof y2 && (p2 = -1 === y2.__i ? c$2 : g2[y2.__i] || c$2, y2.__i = v2, L$1(n2, y2, p2, i2, o2, r2, f2, e2, a2, h2), d2 = y2.__e, y2.ref && p2.ref != y2.ref && (p2.ref && z$2(p2.ref, null, y2), h2.push(y2.ref, y2.__c || d2, y2)), null == _2 && null != d2 && (_2 = d2), 65536 & y2.__u || p2.__k === y2.__k ? e2 = S$1(y2, e2, n2) : "function" == typeof y2.type && void 0 !== y2.__d ? e2 = y2.__d : d2 && (e2 = d2.nextSibling), y2.__d = void 0, y2.__u &= -196609);
84
- u2.__d = e2, u2.__e = _2;
80
+ function S$1(n2, l2, u2, t2, i2, o2, r2, f2, e2, c2, s2) {
81
+ var a2, v2, y2, d2, w2, _2 = t2 && t2.__k || p$2, g2 = l2.length;
82
+ for (u2.__d = e2, $$1(u2, l2, _2), e2 = u2.__d, a2 = 0; a2 < g2; a2++)
83
+ null != (y2 = u2.__k[a2]) && "boolean" != typeof y2 && "function" != typeof y2 && (v2 = -1 === y2.__i ? h$1 : _2[y2.__i] || h$1, y2.__i = a2, O$1(n2, y2, v2, i2, o2, r2, f2, e2, c2, s2), d2 = y2.__e, y2.ref && v2.ref != y2.ref && (v2.ref && N$1(v2.ref, null, y2), s2.push(y2.ref, y2.__c || d2, y2)), null == w2 && null != d2 && (w2 = d2), 65536 & y2.__u || v2.__k === y2.__k ? (e2 && "string" == typeof y2.type && !n2.contains(e2) && (e2 = x$2(v2)), e2 = I$1(y2, e2, n2)) : "function" == typeof y2.type && void 0 !== y2.__d ? e2 = y2.__d : d2 && (e2 = d2.nextSibling), y2.__d = void 0, y2.__u &= -196609);
84
+ u2.__d = e2, u2.__e = w2;
85
85
  }
86
- function P$2(n2, l2, u2) {
86
+ function $$1(n2, l2, u2) {
87
87
  var t2, i2, o2, r2, f2, e2 = l2.length, c2 = u2.length, s2 = c2, a2 = 0;
88
88
  for (n2.__k = [], t2 = 0; t2 < e2; t2++)
89
- null != (i2 = n2.__k[t2] = null == (i2 = l2[t2]) || "boolean" == typeof i2 || "function" == typeof i2 ? null : "string" == typeof i2 || "number" == typeof i2 || "bigint" == typeof i2 || i2.constructor == String ? d$2(null, i2, null, null, i2) : h$2(i2) ? d$2(g$3, { children: i2 }, null, null, null) : void 0 === i2.constructor && i2.__b > 0 ? d$2(i2.type, i2.props, i2.key, i2.ref ? i2.ref : null, i2.__v) : i2) ? (i2.__ = n2, i2.__b = n2.__b + 1, f2 = H$1(i2, u2, r2 = t2 + a2, s2), i2.__i = f2, o2 = null, -1 !== f2 && (s2--, (o2 = u2[f2]) && (o2.__u |= 131072)), null == o2 || null === o2.__v ? (-1 == f2 && a2--, "function" != typeof i2.type && (i2.__u |= 65536)) : f2 !== r2 && (f2 === r2 + 1 ? a2++ : f2 > r2 ? s2 > e2 - r2 ? a2 += f2 - r2 : a2-- : a2 = f2 < r2 && f2 == r2 - 1 ? f2 - r2 : 0, f2 !== t2 + a2 && (i2.__u |= 65536))) : (o2 = u2[t2]) && null == o2.key && o2.__e && (o2.__e == n2.__d && (n2.__d = m$2(o2)), N$1(o2, o2, false), u2[t2] = null, s2--);
89
+ r2 = t2 + a2, null != (i2 = n2.__k[t2] = null == (i2 = l2[t2]) || "boolean" == typeof i2 || "function" == typeof i2 ? null : "string" == typeof i2 || "number" == typeof i2 || "bigint" == typeof i2 || i2.constructor == String ? g$3(null, i2, null, null, null) : y$2(i2) ? g$3(k$3, { children: i2 }, null, null, null) : void 0 === i2.constructor && i2.__b > 0 ? g$3(i2.type, i2.props, i2.key, i2.ref ? i2.ref : null, i2.__v) : i2) ? (i2.__ = n2, i2.__b = n2.__b + 1, f2 = L$2(i2, u2, r2, s2), i2.__i = f2, o2 = null, -1 !== f2 && (s2--, (o2 = u2[f2]) && (o2.__u |= 131072)), null == o2 || null === o2.__v ? (-1 == f2 && a2--, "function" != typeof i2.type && (i2.__u |= 65536)) : f2 !== r2 && (f2 == r2 - 1 ? a2 = f2 - r2 : f2 == r2 + 1 ? a2++ : f2 > r2 ? s2 > e2 - r2 ? a2 += f2 - r2 : a2-- : f2 < r2 && a2++, f2 !== t2 + a2 && (i2.__u |= 65536))) : (o2 = u2[r2]) && null == o2.key && o2.__e && 0 == (131072 & o2.__u) && (o2.__e == n2.__d && (n2.__d = x$2(o2)), V$1(o2, o2, false), u2[r2] = null, s2--);
90
90
  if (s2)
91
91
  for (t2 = 0; t2 < c2; t2++)
92
- null != (o2 = u2[t2]) && 0 == (131072 & o2.__u) && (o2.__e == n2.__d && (n2.__d = m$2(o2)), N$1(o2, o2));
92
+ null != (o2 = u2[t2]) && 0 == (131072 & o2.__u) && (o2.__e == n2.__d && (n2.__d = x$2(o2)), V$1(o2, o2));
93
93
  }
94
- function S$1(n2, l2, u2) {
94
+ function I$1(n2, l2, u2) {
95
95
  var t2, i2;
96
96
  if ("function" == typeof n2.type) {
97
97
  for (t2 = n2.__k, i2 = 0; t2 && i2 < t2.length; i2++)
98
- t2[i2] && (t2[i2].__ = n2, l2 = S$1(t2[i2], l2, u2));
98
+ t2[i2] && (t2[i2].__ = n2, l2 = I$1(t2[i2], l2, u2));
99
99
  return l2;
100
100
  }
101
- return n2.__e != l2 && (u2.insertBefore(n2.__e, l2 || null), l2 = n2.__e), l2 && l2.nextSibling;
101
+ n2.__e != l2 && (u2.insertBefore(n2.__e, l2 || null), l2 = n2.__e);
102
+ do {
103
+ l2 = l2 && l2.nextSibling;
104
+ } while (null != l2 && 8 === l2.nodeType);
105
+ return l2;
102
106
  }
103
- function $$1(n2, l2) {
104
- return l2 = l2 || [], null == n2 || "boolean" == typeof n2 || (h$2(n2) ? n2.some(function(n3) {
105
- $$1(n3, l2);
107
+ function H$1(n2, l2) {
108
+ return l2 = l2 || [], null == n2 || "boolean" == typeof n2 || (y$2(n2) ? n2.some(function(n3) {
109
+ H$1(n3, l2);
106
110
  }) : l2.push(n2)), l2;
107
111
  }
108
- function H$1(n2, l2, u2, t2) {
112
+ function L$2(n2, l2, u2, t2) {
109
113
  var i2 = n2.key, o2 = n2.type, r2 = u2 - 1, f2 = u2 + 1, e2 = l2[u2];
110
- if (null === e2 || e2 && i2 == e2.key && o2 === e2.type)
114
+ if (null === e2 || e2 && i2 == e2.key && o2 === e2.type && 0 == (131072 & e2.__u))
111
115
  return u2;
112
116
  if (t2 > (null != e2 && 0 == (131072 & e2.__u) ? 1 : 0))
113
117
  for (; r2 >= 0 || f2 < l2.length; ) {
@@ -124,10 +128,10 @@ function H$1(n2, l2, u2, t2) {
124
128
  }
125
129
  return -1;
126
130
  }
127
- function I$1(n2, l2, u2) {
128
- "-" === l2[0] ? n2.setProperty(l2, null == u2 ? "" : u2) : n2[l2] = null == u2 ? "" : "number" != typeof u2 || a$2.test(l2) ? u2 : u2 + "px";
131
+ function T$3(n2, l2, u2) {
132
+ "-" === l2[0] ? n2.setProperty(l2, null == u2 ? "" : u2) : n2[l2] = null == u2 ? "" : "number" != typeof u2 || v$1.test(l2) ? u2 : u2 + "px";
129
133
  }
130
- function T$2(n2, l2, u2, t2, i2) {
134
+ function A$3(n2, l2, u2, t2, i2) {
131
135
  var o2;
132
136
  n:
133
137
  if ("style" === l2)
@@ -136,80 +140,80 @@ function T$2(n2, l2, u2, t2, i2) {
136
140
  else {
137
141
  if ("string" == typeof t2 && (n2.style.cssText = t2 = ""), t2)
138
142
  for (l2 in t2)
139
- u2 && l2 in u2 || I$1(n2.style, l2, "");
143
+ u2 && l2 in u2 || T$3(n2.style, l2, "");
140
144
  if (u2)
141
145
  for (l2 in u2)
142
- t2 && u2[l2] === t2[l2] || I$1(n2.style, l2, u2[l2]);
146
+ t2 && u2[l2] === t2[l2] || T$3(n2.style, l2, u2[l2]);
143
147
  }
144
148
  else if ("o" === l2[0] && "n" === l2[1])
145
- o2 = l2 !== (l2 = l2.replace(/(PointerCapture)$|Capture$/, "$1")), l2 = l2.toLowerCase() in n2 ? l2.toLowerCase().slice(2) : l2.slice(2), n2.l || (n2.l = {}), n2.l[l2 + o2] = u2, u2 ? t2 ? u2.u = t2.u : (u2.u = Date.now(), n2.addEventListener(l2, o2 ? D$1 : A$2, o2)) : n2.removeEventListener(l2, o2 ? D$1 : A$2, o2);
149
+ o2 = l2 !== (l2 = l2.replace(/(PointerCapture)$|Capture$/i, "$1")), l2 = l2.toLowerCase() in n2 || "onFocusOut" === l2 || "onFocusIn" === l2 ? l2.toLowerCase().slice(2) : l2.slice(2), n2.l || (n2.l = {}), n2.l[l2 + o2] = u2, u2 ? t2 ? u2.u = t2.u : (u2.u = e$1, n2.addEventListener(l2, o2 ? s$2 : c$2, o2)) : n2.removeEventListener(l2, o2 ? s$2 : c$2, o2);
146
150
  else {
147
- if (i2)
151
+ if ("http://www.w3.org/2000/svg" == i2)
148
152
  l2 = l2.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
149
- else if ("width" !== l2 && "height" !== l2 && "href" !== l2 && "list" !== l2 && "form" !== l2 && "tabIndex" !== l2 && "download" !== l2 && "rowSpan" !== l2 && "colSpan" !== l2 && "role" !== l2 && l2 in n2)
153
+ else if ("width" != l2 && "height" != l2 && "href" != l2 && "list" != l2 && "form" != l2 && "tabIndex" != l2 && "download" != l2 && "rowSpan" != l2 && "colSpan" != l2 && "role" != l2 && "popover" != l2 && l2 in n2)
150
154
  try {
151
155
  n2[l2] = null == u2 ? "" : u2;
152
156
  break n;
153
157
  } catch (n3) {
154
158
  }
155
- "function" == typeof u2 || (null == u2 || false === u2 && "-" !== l2[4] ? n2.removeAttribute(l2) : n2.setAttribute(l2, u2));
159
+ "function" == typeof u2 || (null == u2 || false === u2 && "-" !== l2[4] ? n2.removeAttribute(l2) : n2.setAttribute(l2, "popover" == l2 && 1 == u2 ? "" : u2));
156
160
  }
157
161
  }
158
- function A$2(n2) {
159
- var u2 = this.l[n2.type + false];
160
- if (n2.t) {
161
- if (n2.t <= u2.u)
162
- return;
163
- } else
164
- n2.t = Date.now();
165
- return u2(l$2.event ? l$2.event(n2) : n2);
166
- }
167
- function D$1(n2) {
168
- return this.l[n2.type + true](l$2.event ? l$2.event(n2) : n2);
162
+ function F$2(n2) {
163
+ return function(u2) {
164
+ if (this.l) {
165
+ var t2 = this.l[u2.type + n2];
166
+ if (null == u2.t)
167
+ u2.t = e$1++;
168
+ else if (u2.t < t2.u)
169
+ return;
170
+ return t2(l$2.event ? l$2.event(u2) : u2);
171
+ }
172
+ };
169
173
  }
170
- function L$1(n2, u2, t2, i2, o2, r2, f2, e2, c2, s2) {
171
- var a2, p2, y2, d2, _2, m2, k2, w2, x2, P2, S2, $2, H2, I2, T2, A2 = u2.type;
174
+ function O$1(n2, u2, t2, i2, o2, r2, f2, e2, c2, s2) {
175
+ var a2, h2, p2, v2, w2, _2, g2, m2, x2, C2, M2, P2, $2, I2, H2, L2, T2 = u2.type;
172
176
  if (void 0 !== u2.constructor)
173
177
  return null;
174
178
  128 & t2.__u && (c2 = !!(32 & t2.__u), r2 = [e2 = u2.__e = t2.__e]), (a2 = l$2.__b) && a2(u2);
175
179
  n:
176
- if ("function" == typeof A2)
180
+ if ("function" == typeof T2)
177
181
  try {
178
- if (w2 = u2.props, x2 = (a2 = A2.contextType) && i2[a2.__c], P2 = a2 ? x2 ? x2.props.value : a2.__ : i2, t2.__c ? k2 = (p2 = u2.__c = t2.__c).__ = p2.__E : ("prototype" in A2 && A2.prototype.render ? u2.__c = p2 = new A2(w2, P2) : (u2.__c = p2 = new b$2(w2, P2), p2.constructor = A2, p2.render = O$1), x2 && x2.sub(p2), p2.props = w2, p2.state || (p2.state = {}), p2.context = P2, p2.__n = i2, y2 = p2.__d = true, p2.__h = [], p2._sb = []), null == p2.__s && (p2.__s = p2.state), null != A2.getDerivedStateFromProps && (p2.__s == p2.state && (p2.__s = v$2({}, p2.__s)), v$2(p2.__s, A2.getDerivedStateFromProps(w2, p2.__s))), d2 = p2.props, _2 = p2.state, p2.__v = u2, y2)
179
- null == A2.getDerivedStateFromProps && null != p2.componentWillMount && p2.componentWillMount(), null != p2.componentDidMount && p2.__h.push(p2.componentDidMount);
182
+ if (m2 = u2.props, x2 = "prototype" in T2 && T2.prototype.render, C2 = (a2 = T2.contextType) && i2[a2.__c], M2 = a2 ? C2 ? C2.props.value : a2.__ : i2, t2.__c ? g2 = (h2 = u2.__c = t2.__c).__ = h2.__E : (x2 ? u2.__c = h2 = new T2(m2, M2) : (u2.__c = h2 = new b$2(m2, M2), h2.constructor = T2, h2.render = q$2), C2 && C2.sub(h2), h2.props = m2, h2.state || (h2.state = {}), h2.context = M2, h2.__n = i2, p2 = h2.__d = true, h2.__h = [], h2._sb = []), x2 && null == h2.__s && (h2.__s = h2.state), x2 && null != T2.getDerivedStateFromProps && (h2.__s == h2.state && (h2.__s = d$1({}, h2.__s)), d$1(h2.__s, T2.getDerivedStateFromProps(m2, h2.__s))), v2 = h2.props, w2 = h2.state, h2.__v = u2, p2)
183
+ x2 && null == T2.getDerivedStateFromProps && null != h2.componentWillMount && h2.componentWillMount(), x2 && null != h2.componentDidMount && h2.__h.push(h2.componentDidMount);
180
184
  else {
181
- if (null == A2.getDerivedStateFromProps && w2 !== d2 && null != p2.componentWillReceiveProps && p2.componentWillReceiveProps(w2, P2), !p2.__e && (null != p2.shouldComponentUpdate && false === p2.shouldComponentUpdate(w2, p2.__s, P2) || u2.__v === t2.__v)) {
182
- for (u2.__v !== t2.__v && (p2.props = w2, p2.state = p2.__s, p2.__d = false), u2.__e = t2.__e, u2.__k = t2.__k, u2.__k.forEach(function(n3) {
185
+ if (x2 && null == T2.getDerivedStateFromProps && m2 !== v2 && null != h2.componentWillReceiveProps && h2.componentWillReceiveProps(m2, M2), !h2.__e && (null != h2.shouldComponentUpdate && false === h2.shouldComponentUpdate(m2, h2.__s, M2) || u2.__v === t2.__v)) {
186
+ for (u2.__v !== t2.__v && (h2.props = m2, h2.state = h2.__s, h2.__d = false), u2.__e = t2.__e, u2.__k = t2.__k, u2.__k.forEach(function(n3) {
183
187
  n3 && (n3.__ = u2);
184
- }), S2 = 0; S2 < p2._sb.length; S2++)
185
- p2.__h.push(p2._sb[S2]);
186
- p2._sb = [], p2.__h.length && f2.push(p2);
188
+ }), P2 = 0; P2 < h2._sb.length; P2++)
189
+ h2.__h.push(h2._sb[P2]);
190
+ h2._sb = [], h2.__h.length && f2.push(h2);
187
191
  break n;
188
192
  }
189
- null != p2.componentWillUpdate && p2.componentWillUpdate(w2, p2.__s, P2), null != p2.componentDidUpdate && p2.__h.push(function() {
190
- p2.componentDidUpdate(d2, _2, m2);
193
+ null != h2.componentWillUpdate && h2.componentWillUpdate(m2, h2.__s, M2), x2 && null != h2.componentDidUpdate && h2.__h.push(function() {
194
+ h2.componentDidUpdate(v2, w2, _2);
191
195
  });
192
196
  }
193
- if (p2.context = P2, p2.props = w2, p2.__P = n2, p2.__e = false, $2 = l$2.__r, H2 = 0, "prototype" in A2 && A2.prototype.render) {
194
- for (p2.state = p2.__s, p2.__d = false, $2 && $2(u2), a2 = p2.render(p2.props, p2.state, p2.context), I2 = 0; I2 < p2._sb.length; I2++)
195
- p2.__h.push(p2._sb[I2]);
196
- p2._sb = [];
197
+ if (h2.context = M2, h2.props = m2, h2.__P = n2, h2.__e = false, $2 = l$2.__r, I2 = 0, x2) {
198
+ for (h2.state = h2.__s, h2.__d = false, $2 && $2(u2), a2 = h2.render(h2.props, h2.state, h2.context), H2 = 0; H2 < h2._sb.length; H2++)
199
+ h2.__h.push(h2._sb[H2]);
200
+ h2._sb = [];
197
201
  } else
198
202
  do {
199
- p2.__d = false, $2 && $2(u2), a2 = p2.render(p2.props, p2.state, p2.context), p2.state = p2.__s;
200
- } while (p2.__d && ++H2 < 25);
201
- p2.state = p2.__s, null != p2.getChildContext && (i2 = v$2(v$2({}, i2), p2.getChildContext())), y2 || null == p2.getSnapshotBeforeUpdate || (m2 = p2.getSnapshotBeforeUpdate(d2, _2)), C$2(n2, h$2(T2 = null != a2 && a2.type === g$3 && null == a2.key ? a2.props.children : a2) ? T2 : [T2], u2, t2, i2, o2, r2, f2, e2, c2, s2), p2.base = u2.__e, u2.__u &= -161, p2.__h.length && f2.push(p2), k2 && (p2.__E = p2.__ = null);
203
+ h2.__d = false, $2 && $2(u2), a2 = h2.render(h2.props, h2.state, h2.context), h2.state = h2.__s;
204
+ } while (h2.__d && ++I2 < 25);
205
+ h2.state = h2.__s, null != h2.getChildContext && (i2 = d$1(d$1({}, i2), h2.getChildContext())), x2 && !p2 && null != h2.getSnapshotBeforeUpdate && (_2 = h2.getSnapshotBeforeUpdate(v2, w2)), S$1(n2, y$2(L2 = null != a2 && a2.type === k$3 && null == a2.key ? a2.props.children : a2) ? L2 : [L2], u2, t2, i2, o2, r2, f2, e2, c2, s2), h2.base = u2.__e, u2.__u &= -161, h2.__h.length && f2.push(h2), g2 && (h2.__E = h2.__ = null);
202
206
  } catch (n3) {
203
207
  u2.__v = null, c2 || null != r2 ? (u2.__e = e2, u2.__u |= c2 ? 160 : 32, r2[r2.indexOf(e2)] = null) : (u2.__e = t2.__e, u2.__k = t2.__k), l$2.__e(n3, u2, t2);
204
208
  }
205
209
  else
206
- null == r2 && u2.__v === t2.__v ? (u2.__k = t2.__k, u2.__e = t2.__e) : u2.__e = j$2(t2.__e, u2, t2, i2, o2, r2, f2, c2, s2);
210
+ null == r2 && u2.__v === t2.__v ? (u2.__k = t2.__k, u2.__e = t2.__e) : u2.__e = z$2(t2.__e, u2, t2, i2, o2, r2, f2, c2, s2);
207
211
  (a2 = l$2.diffed) && a2(u2);
208
212
  }
209
- function M$1(n2, u2, t2) {
213
+ function j$3(n2, u2, t2) {
210
214
  u2.__d = void 0;
211
215
  for (var i2 = 0; i2 < t2.length; i2++)
212
- z$2(t2[i2], t2[++i2], t2[++i2]);
216
+ N$1(t2[i2], t2[++i2], t2[++i2]);
213
217
  l$2.__c && l$2.__c(u2, n2), n2.some(function(u3) {
214
218
  try {
215
219
  n2 = u3.__h, u3.__h = [], n2.some(function(n3) {
@@ -220,100 +224,110 @@ function M$1(n2, u2, t2) {
220
224
  }
221
225
  });
222
226
  }
223
- function j$2(l2, u2, t2, i2, o2, r2, f2, e2, s2) {
224
- var a2, v2, y2, d2, _2, g2, b2, k2 = t2.props, w2 = u2.props, x2 = u2.type;
225
- if ("svg" === x2 && (o2 = true), null != r2) {
226
- for (a2 = 0; a2 < r2.length; a2++)
227
- if ((_2 = r2[a2]) && "setAttribute" in _2 == !!x2 && (x2 ? _2.localName === x2 : 3 === _2.nodeType)) {
228
- l2 = _2, r2[a2] = null;
227
+ function z$2(l2, u2, t2, i2, o2, r2, f2, e2, c2) {
228
+ var s2, a2, p2, v2, d2, _2, g2, m2 = t2.props, k2 = u2.props, b2 = u2.type;
229
+ if ("svg" === b2 ? o2 = "http://www.w3.org/2000/svg" : "math" === b2 ? o2 = "http://www.w3.org/1998/Math/MathML" : o2 || (o2 = "http://www.w3.org/1999/xhtml"), null != r2) {
230
+ for (s2 = 0; s2 < r2.length; s2++)
231
+ if ((d2 = r2[s2]) && "setAttribute" in d2 == !!b2 && (b2 ? d2.localName === b2 : 3 === d2.nodeType)) {
232
+ l2 = d2, r2[s2] = null;
229
233
  break;
230
234
  }
231
235
  }
232
236
  if (null == l2) {
233
- if (null === x2)
234
- return document.createTextNode(w2);
235
- l2 = o2 ? document.createElementNS("http://www.w3.org/2000/svg", x2) : document.createElement(x2, w2.is && w2), r2 = null, e2 = false;
237
+ if (null === b2)
238
+ return document.createTextNode(k2);
239
+ l2 = document.createElementNS(o2, b2, k2.is && k2), r2 = null, e2 = false;
236
240
  }
237
- if (null === x2)
238
- k2 === w2 || e2 && l2.data === w2 || (l2.data = w2);
241
+ if (null === b2)
242
+ m2 === k2 || e2 && l2.data === k2 || (l2.data = k2);
239
243
  else {
240
- if (r2 = r2 && n$1.call(l2.childNodes), k2 = t2.props || c$2, !e2 && null != r2)
241
- for (k2 = {}, a2 = 0; a2 < l2.attributes.length; a2++)
242
- k2[(_2 = l2.attributes[a2]).name] = _2.value;
243
- for (a2 in k2)
244
- _2 = k2[a2], "children" == a2 || ("dangerouslySetInnerHTML" == a2 ? y2 = _2 : "key" === a2 || a2 in w2 || T$2(l2, a2, null, _2, o2));
245
- for (a2 in w2)
246
- _2 = w2[a2], "children" == a2 ? d2 = _2 : "dangerouslySetInnerHTML" == a2 ? v2 = _2 : "value" == a2 ? g2 = _2 : "checked" == a2 ? b2 = _2 : "key" === a2 || e2 && "function" != typeof _2 || k2[a2] === _2 || T$2(l2, a2, _2, k2[a2], o2);
247
- if (v2)
248
- e2 || y2 && (v2.__html === y2.__html || v2.__html === l2.innerHTML) || (l2.innerHTML = v2.__html), u2.__k = [];
249
- else if (y2 && (l2.innerHTML = ""), C$2(l2, h$2(d2) ? d2 : [d2], u2, t2, i2, o2 && "foreignObject" !== x2, r2, f2, r2 ? r2[0] : t2.__k && m$2(t2, 0), e2, s2), null != r2)
250
- for (a2 = r2.length; a2--; )
251
- null != r2[a2] && p$2(r2[a2]);
252
- e2 || (a2 = "value", void 0 !== g2 && (g2 !== l2[a2] || "progress" === x2 && !g2 || "option" === x2 && g2 !== k2[a2]) && T$2(l2, a2, g2, k2[a2], false), a2 = "checked", void 0 !== b2 && b2 !== l2[a2] && T$2(l2, a2, b2, k2[a2], false));
244
+ if (r2 = r2 && n$1.call(l2.childNodes), m2 = t2.props || h$1, !e2 && null != r2)
245
+ for (m2 = {}, s2 = 0; s2 < l2.attributes.length; s2++)
246
+ m2[(d2 = l2.attributes[s2]).name] = d2.value;
247
+ for (s2 in m2)
248
+ if (d2 = m2[s2], "children" == s2)
249
+ ;
250
+ else if ("dangerouslySetInnerHTML" == s2)
251
+ p2 = d2;
252
+ else if ("key" !== s2 && !(s2 in k2)) {
253
+ if ("value" == s2 && "defaultValue" in k2 || "checked" == s2 && "defaultChecked" in k2)
254
+ continue;
255
+ A$3(l2, s2, null, d2, o2);
256
+ }
257
+ for (s2 in k2)
258
+ d2 = k2[s2], "children" == s2 ? v2 = d2 : "dangerouslySetInnerHTML" == s2 ? a2 = d2 : "value" == s2 ? _2 = d2 : "checked" == s2 ? g2 = d2 : "key" === s2 || e2 && "function" != typeof d2 || m2[s2] === d2 || A$3(l2, s2, d2, m2[s2], o2);
259
+ if (a2)
260
+ e2 || p2 && (a2.__html === p2.__html || a2.__html === l2.innerHTML) || (l2.innerHTML = a2.__html), u2.__k = [];
261
+ else if (p2 && (l2.innerHTML = ""), S$1(l2, y$2(v2) ? v2 : [v2], u2, t2, i2, "foreignObject" === b2 ? "http://www.w3.org/1999/xhtml" : o2, r2, f2, r2 ? r2[0] : t2.__k && x$2(t2, 0), e2, c2), null != r2)
262
+ for (s2 = r2.length; s2--; )
263
+ null != r2[s2] && w$3(r2[s2]);
264
+ e2 || (s2 = "value", void 0 !== _2 && (_2 !== l2[s2] || "progress" === b2 && !_2 || "option" === b2 && _2 !== m2[s2]) && A$3(l2, s2, _2, m2[s2], o2), s2 = "checked", void 0 !== g2 && g2 !== l2[s2] && A$3(l2, s2, g2, m2[s2], o2));
253
265
  }
254
266
  return l2;
255
267
  }
256
- function z$2(n2, u2, t2) {
268
+ function N$1(n2, u2, t2) {
257
269
  try {
258
270
  "function" == typeof n2 ? n2(u2) : n2.current = u2;
259
271
  } catch (n3) {
260
272
  l$2.__e(n3, t2);
261
273
  }
262
274
  }
263
- function N$1(n2, u2, t2) {
275
+ function V$1(n2, u2, t2) {
264
276
  var i2, o2;
265
- if (l$2.unmount && l$2.unmount(n2), (i2 = n2.ref) && (i2.current && i2.current !== n2.__e || z$2(i2, null, u2)), null != (i2 = n2.__c)) {
277
+ if (l$2.unmount && l$2.unmount(n2), (i2 = n2.ref) && (i2.current && i2.current !== n2.__e || N$1(i2, null, u2)), null != (i2 = n2.__c)) {
266
278
  if (i2.componentWillUnmount)
267
279
  try {
268
280
  i2.componentWillUnmount();
269
281
  } catch (n3) {
270
282
  l$2.__e(n3, u2);
271
283
  }
272
- i2.base = i2.__P = null, n2.__c = void 0;
284
+ i2.base = i2.__P = null;
273
285
  }
274
286
  if (i2 = n2.__k)
275
287
  for (o2 = 0; o2 < i2.length; o2++)
276
- i2[o2] && N$1(i2[o2], u2, t2 || "function" != typeof n2.type);
277
- t2 || null == n2.__e || p$2(n2.__e), n2.__ = n2.__e = n2.__d = void 0;
288
+ i2[o2] && V$1(i2[o2], u2, t2 || "function" != typeof n2.type);
289
+ t2 || null == n2.__e || w$3(n2.__e), n2.__c = n2.__ = n2.__e = n2.__d = void 0;
278
290
  }
279
- function O$1(n2, l2, u2) {
291
+ function q$2(n2, l2, u2) {
280
292
  return this.constructor(n2, u2);
281
293
  }
282
- function q$2(u2, t2, i2) {
294
+ function B$2(u2, t2, i2) {
283
295
  var o2, r2, f2, e2;
284
- l$2.__ && l$2.__(u2, t2), r2 = (o2 = "function" == typeof i2) ? null : i2 && i2.__k || t2.__k, f2 = [], e2 = [], L$1(t2, u2 = (!o2 && i2 || t2).__k = y$2(g$3, null, [u2]), r2 || c$2, c$2, void 0 !== t2.ownerSVGElement, !o2 && i2 ? [i2] : r2 ? null : t2.firstChild ? n$1.call(t2.childNodes) : null, f2, !o2 && i2 ? i2 : r2 ? r2.__e : t2.firstChild, o2, e2), M$1(f2, u2, e2);
296
+ l$2.__ && l$2.__(u2, t2), r2 = (o2 = "function" == typeof i2) ? null : i2 && i2.__k || t2.__k, f2 = [], e2 = [], O$1(t2, u2 = (!o2 && i2 || t2).__k = _$1(k$3, null, [u2]), r2 || h$1, h$1, t2.namespaceURI, !o2 && i2 ? [i2] : r2 ? null : t2.firstChild ? n$1.call(t2.childNodes) : null, f2, !o2 && i2 ? i2 : r2 ? r2.__e : t2.firstChild, o2, e2), j$3(f2, u2, e2);
285
297
  }
286
- function B$2(n2, l2) {
287
- q$2(n2, l2, B$2);
298
+ function D$3(n2, l2) {
299
+ B$2(n2, l2, D$3);
288
300
  }
289
- function E$1(l2, u2, t2) {
290
- var i2, o2, r2, f2, e2 = v$2({}, l2.props);
301
+ function E$2(l2, u2, t2) {
302
+ var i2, o2, r2, f2, e2 = d$1({}, l2.props);
291
303
  for (r2 in l2.type && l2.type.defaultProps && (f2 = l2.type.defaultProps), u2)
292
304
  "key" == r2 ? i2 = u2[r2] : "ref" == r2 ? o2 = u2[r2] : e2[r2] = void 0 === u2[r2] && void 0 !== f2 ? f2[r2] : u2[r2];
293
- return arguments.length > 2 && (e2.children = arguments.length > 3 ? n$1.call(arguments, 2) : t2), d$2(l2.type, e2, i2 || l2.key, o2 || l2.ref, null);
305
+ return arguments.length > 2 && (e2.children = arguments.length > 3 ? n$1.call(arguments, 2) : t2), g$3(l2.type, e2, i2 || l2.key, o2 || l2.ref, null);
294
306
  }
295
- function F$2(n2, l2) {
296
- var u2 = { __c: l2 = "__cC" + e$1++, __: n2, Consumer: function(n3, l3) {
307
+ function G$1(n2, l2) {
308
+ var u2 = { __c: l2 = "__cC" + a$2++, __: n2, Consumer: function(n3, l3) {
297
309
  return n3.children(l3);
298
310
  }, Provider: function(n3) {
299
311
  var u3, t2;
300
312
  return this.getChildContext || (u3 = [], (t2 = {})[l2] = this, this.getChildContext = function() {
301
313
  return t2;
314
+ }, this.componentWillUnmount = function() {
315
+ u3 = null;
302
316
  }, this.shouldComponentUpdate = function(n4) {
303
317
  this.props.value !== n4.value && u3.some(function(n5) {
304
- n5.__e = true, w$3(n5);
318
+ n5.__e = true, M$1(n5);
305
319
  });
306
320
  }, this.sub = function(n4) {
307
321
  u3.push(n4);
308
322
  var l3 = n4.componentWillUnmount;
309
323
  n4.componentWillUnmount = function() {
310
- u3.splice(u3.indexOf(n4), 1), l3 && l3.call(n4);
324
+ u3 && u3.splice(u3.indexOf(n4), 1), l3 && l3.call(n4);
311
325
  };
312
326
  }), n3.children;
313
327
  } };
314
328
  return u2.Provider.__ = u2.Consumer.contextType = u2;
315
329
  }
316
- n$1 = s$2.slice, l$2 = { __e: function(n2, l2, u2, t2) {
330
+ n$1 = p$2.slice, l$2 = { __e: function(n2, l2, u2, t2) {
317
331
  for (var i2, o2, r2; l2 = l2.__; )
318
332
  if ((i2 = l2.__c) && !i2.__)
319
333
  try {
@@ -325,133 +339,174 @@ n$1 = s$2.slice, l$2 = { __e: function(n2, l2, u2, t2) {
325
339
  throw n2;
326
340
  } }, u$3 = 0, b$2.prototype.setState = function(n2, l2) {
327
341
  var u2;
328
- u2 = null != this.__s && this.__s !== this.state ? this.__s : this.__s = v$2({}, this.state), "function" == typeof n2 && (n2 = n2(v$2({}, u2), this.props)), n2 && v$2(u2, n2), null != n2 && this.__v && (l2 && this._sb.push(l2), w$3(this));
342
+ u2 = null != this.__s && this.__s !== this.state ? this.__s : this.__s = d$1({}, this.state), "function" == typeof n2 && (n2 = n2(d$1({}, u2), this.props)), n2 && d$1(u2, n2), null != n2 && this.__v && (l2 && this._sb.push(l2), M$1(this));
329
343
  }, b$2.prototype.forceUpdate = function(n2) {
330
- this.__v && (this.__e = true, n2 && this.__h.push(n2), w$3(this));
331
- }, b$2.prototype.render = g$3, i$2 = [], r$2 = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, f$3 = function(n2, l2) {
344
+ this.__v && (this.__e = true, n2 && this.__h.push(n2), M$1(this));
345
+ }, b$2.prototype.render = k$3, i$2 = [], r$3 = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, f$3 = function(n2, l2) {
332
346
  return n2.__v.__b - l2.__v.__b;
333
- }, x$3.__r = 0, e$1 = 0;
334
- var o$1 = /[\s\n\\/='"\0<>]/, n = /^(xlink|xmlns|xml)([A-Z])/, a$1 = /^accessK|^auto[A-Z]|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|readO|rowS|spellC|src[A-Z]|tabI|item[A-Z]/, i$1 = /^ac|^ali|arabic|basel|cap|clipPath$|clipRule$|color|dominant|enable|fill|flood|font|glyph[^R]|horiz|image|letter|lighting|marker[^WUH]|overline|panose|pointe|paint|rendering|shape|stop|strikethrough|stroke|text[^L]|transform|underline|unicode|units|^v[^i]|^w|^xH/, l$1 = /["&<]/;
347
+ }, P$2.__r = 0, e$1 = 0, c$2 = F$2(false), s$2 = F$2(true), a$2 = 0;
348
+ var n = /[\s\n\\/='"\0<>]/, o$1 = /^(xlink|xmlns|xml)([A-Z])/, i$1 = /^accessK|^auto[A-Z]|^cell|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|spellC|src[A-Z]|tabI|useM|item[A-Z]/, a$1 = /^ac|^ali|arabic|basel|cap|clipPath$|clipRule$|color|dominant|enable|fill|flood|font|glyph[^R]|horiz|image|letter|lighting|marker[^WUH]|overline|panose|pointe|paint|rendering|shape|stop|strikethrough|stroke|text[^L]|transform|underline|unicode|units|^v[^i]|^w|^xH/, c$1 = /["&<]/;
335
349
  function s$1(e2) {
336
- if (0 === e2.length || false === l$1.test(e2))
350
+ if (0 === e2.length || false === c$1.test(e2))
337
351
  return e2;
338
- for (var t2 = 0, r2 = 0, o2 = "", n2 = ""; r2 < e2.length; r2++) {
352
+ for (var t2 = 0, r2 = 0, n2 = "", o2 = ""; r2 < e2.length; r2++) {
339
353
  switch (e2.charCodeAt(r2)) {
340
354
  case 34:
341
- n2 = "&quot;";
355
+ o2 = "&quot;";
342
356
  break;
343
357
  case 38:
344
- n2 = "&amp;";
358
+ o2 = "&amp;";
345
359
  break;
346
360
  case 60:
347
- n2 = "&lt;";
361
+ o2 = "&lt;";
348
362
  break;
349
363
  default:
350
364
  continue;
351
365
  }
352
- r2 !== t2 && (o2 += e2.slice(t2, r2)), o2 += n2, t2 = r2 + 1;
366
+ r2 !== t2 && (n2 += e2.slice(t2, r2)), n2 += o2, t2 = r2 + 1;
353
367
  }
354
- return r2 !== t2 && (o2 += e2.slice(t2, r2)), o2;
368
+ return r2 !== t2 && (n2 += e2.slice(t2, r2)), n2;
355
369
  }
356
- var c$1 = {}, p$1 = /* @__PURE__ */ new Set(["animation-iteration-count", "border-image-outset", "border-image-slice", "border-image-width", "box-flex", "box-flex-group", "box-ordinal-group", "column-count", "fill-opacity", "flex", "flex-grow", "flex-negative", "flex-order", "flex-positive", "flex-shrink", "flood-opacity", "font-weight", "grid-column", "grid-row", "line-clamp", "line-height", "opacity", "order", "orphans", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-miterlimit", "stroke-opacity", "stroke-width", "tab-size", "widows", "z-index", "zoom"]), u$2 = /[A-Z]/g;
357
- function f$2(e2) {
370
+ var l$1 = {}, u$2 = /* @__PURE__ */ new Set(["animation-iteration-count", "border-image-outset", "border-image-slice", "border-image-width", "box-flex", "box-flex-group", "box-ordinal-group", "column-count", "fill-opacity", "flex", "flex-grow", "flex-negative", "flex-order", "flex-positive", "flex-shrink", "flood-opacity", "font-weight", "grid-column", "grid-row", "line-clamp", "line-height", "opacity", "order", "orphans", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-miterlimit", "stroke-opacity", "stroke-width", "tab-size", "widows", "z-index", "zoom"]), f$2 = /[A-Z]/g;
371
+ function p$1(e2) {
358
372
  var t2 = "";
359
373
  for (var r2 in e2) {
360
- var o2 = e2[r2];
361
- if (null != o2 && "" !== o2) {
362
- var n2 = "-" == r2[0] ? r2 : c$1[r2] || (c$1[r2] = r2.replace(u$2, "-$&").toLowerCase()), a2 = ";";
363
- "number" != typeof o2 || n2.startsWith("--") || p$1.has(n2) || (a2 = "px;"), t2 = t2 + n2 + ":" + o2 + a2;
374
+ var n2 = e2[r2];
375
+ if (null != n2 && "" !== n2) {
376
+ var o2 = "-" == r2[0] ? r2 : l$1[r2] || (l$1[r2] = r2.replace(f$2, "-$&").toLowerCase()), i2 = ";";
377
+ "number" != typeof n2 || o2.startsWith("--") || u$2.has(o2) || (i2 = "px;"), t2 = t2 + o2 + ":" + n2 + i2;
364
378
  }
365
379
  }
366
380
  return t2 || void 0;
367
381
  }
368
- var _$1, d$1, h$1, m$1, v$1 = [], g$2 = Array.isArray, y$1 = Object.assign;
369
- function b$1(o2, n2) {
382
+ var y$1, g$2, b$1, k$2, w$2 = [], A$2 = Array.isArray, C$2 = Object.assign;
383
+ function S(n2, o2, i2) {
370
384
  var a2 = l$2.__s;
371
- l$2.__s = true, _$1 = l$2.__b, d$1 = l$2.diffed, h$1 = l$2.__r, m$1 = l$2.unmount;
372
- var i2 = y$2(g$3, null);
373
- i2.__k = [o2];
385
+ l$2.__s = true, y$1 = l$2.__b, g$2 = l$2.diffed, b$1 = l$2.__r, k$2 = l$2.unmount;
386
+ var c2 = _$1(k$3, null);
387
+ c2.__k = [n2];
374
388
  try {
375
- return C$1(o2, n2 || k$2, false, void 0, i2);
389
+ var s2 = j$2(n2, o2 || E$1, false, void 0, c2, false, i2);
390
+ return Array.isArray(s2) ? s2.join("") : s2;
391
+ } catch (e2) {
392
+ if (e2.then)
393
+ throw new Error('Use "renderToStringAsync" for suspenseful rendering.');
394
+ throw e2;
376
395
  } finally {
377
- l$2.__c && l$2.__c(o2, v$1), l$2.__s = a2, v$1.length = 0;
396
+ l$2.__c && l$2.__c(n2, w$2), l$2.__s = a2, w$2.length = 0;
378
397
  }
379
398
  }
380
- function x$2() {
399
+ function L$1() {
381
400
  this.__d = true;
382
401
  }
383
- var k$2 = {};
384
- function w$2(e2, t2) {
385
- var r2, o2 = e2.type, n2 = true;
386
- return e2.__c ? (n2 = false, (r2 = e2.__c).state = r2.__s) : r2 = new o2(e2.props, t2), e2.__c = r2, r2.__v = e2, r2.props = e2.props, r2.context = t2, r2.__d = true, null == r2.state && (r2.state = k$2), null == r2.__s && (r2.__s = r2.state), o2.getDerivedStateFromProps ? r2.state = y$1({}, r2.state, o2.getDerivedStateFromProps(r2.props, r2.state)) : n2 && r2.componentWillMount ? (r2.componentWillMount(), r2.state = r2.__s !== r2.state ? r2.__s : r2.state) : !n2 && r2.componentWillUpdate && r2.componentWillUpdate(), h$1 && h$1(e2), r2.render(r2.props, r2.state, t2);
402
+ var E$1 = {};
403
+ function T$2(e2, t2) {
404
+ var r2, n2 = e2.type, o2 = true;
405
+ return e2.__c ? (o2 = false, (r2 = e2.__c).state = r2.__s) : r2 = new n2(e2.props, t2), e2.__c = r2, r2.__v = e2, r2.props = e2.props, r2.context = t2, r2.__d = true, null == r2.state && (r2.state = E$1), null == r2.__s && (r2.__s = r2.state), n2.getDerivedStateFromProps ? r2.state = C$2({}, r2.state, n2.getDerivedStateFromProps(r2.props, r2.state)) : o2 && r2.componentWillMount ? (r2.componentWillMount(), r2.state = r2.__s !== r2.state ? r2.__s : r2.state) : !o2 && r2.componentWillUpdate && r2.componentWillUpdate(), b$1 && b$1(e2), r2.render(r2.props, r2.state, t2);
387
406
  }
388
- function C$1(t2, l2, c2, p2, u2) {
407
+ function j$2(t2, c2, l2, u2, f2, h2, d2) {
389
408
  if (null == t2 || true === t2 || false === t2 || "" === t2)
390
409
  return "";
391
410
  if ("object" != typeof t2)
392
411
  return "function" == typeof t2 ? "" : s$1(t2 + "");
393
- if (g$2(t2)) {
394
- var v2 = "";
395
- u2.__k = t2;
396
- for (var b2 = 0; b2 < t2.length; b2++) {
397
- var k2 = t2[b2];
398
- null != k2 && "boolean" != typeof k2 && (v2 += C$1(k2, l2, c2, p2, u2));
412
+ if (A$2(t2)) {
413
+ var _2, v2 = "";
414
+ f2.__k = t2;
415
+ for (var m2 = 0; m2 < t2.length; m2++) {
416
+ var x2 = t2[m2];
417
+ if (null != x2 && "boolean" != typeof x2) {
418
+ var w2, S2 = j$2(x2, c2, l2, u2, f2, h2, d2);
419
+ "string" == typeof S2 ? v2 += S2 : (_2 = _2 || [], v2 && _2.push(v2), v2 = "", Array.isArray(S2) ? (w2 = _2).push.apply(w2, S2) : _2.push(S2));
420
+ }
399
421
  }
400
- return v2;
422
+ return _2 ? (v2 && _2.push(v2), _2) : v2;
401
423
  }
402
424
  if (void 0 !== t2.constructor)
403
425
  return "";
404
- t2.__ = u2, _$1 && _$1(t2);
405
- var A2, L2, D2, E2 = t2.type, T2 = t2.props, Z2 = l2;
406
- if ("function" == typeof E2) {
407
- if (E2 === g$3) {
408
- if (T2.tpl) {
409
- for (var F2 = "", U2 = 0; U2 < T2.tpl.length; U2++)
410
- if (F2 += T2.tpl[U2], T2.exprs && U2 < T2.exprs.length) {
411
- var W2 = T2.exprs[U2];
412
- if (null == W2)
426
+ t2.__ = f2, y$1 && y$1(t2);
427
+ var E2, P2, U2, Z2 = t2.type, F2 = t2.props, M2 = c2;
428
+ if ("function" == typeof Z2) {
429
+ if (Z2 === k$3) {
430
+ if (F2.tpl) {
431
+ for (var W2 = "", $2 = 0; $2 < F2.tpl.length; $2++)
432
+ if (W2 += F2.tpl[$2], F2.exprs && $2 < F2.exprs.length) {
433
+ var z2 = F2.exprs[$2];
434
+ if (null == z2)
413
435
  continue;
414
- "object" != typeof W2 || void 0 !== W2.constructor && !g$2(W2) ? F2 += W2 : F2 += C$1(W2, l2, c2, p2, t2);
436
+ "object" != typeof z2 || void 0 !== z2.constructor && !A$2(z2) ? W2 += z2 : W2 += j$2(z2, c2, l2, u2, t2, h2, d2);
415
437
  }
416
- return F2;
438
+ return W2;
417
439
  }
418
- if (T2.UNSTABLE_comment)
419
- return "<!--" + s$1(T2.UNSTABLE_comment || "") + "-->";
420
- L2 = T2.children;
440
+ if (F2.UNSTABLE_comment)
441
+ return "<!--" + s$1(F2.UNSTABLE_comment || "") + "-->";
442
+ P2 = F2.children;
421
443
  } else {
422
- if (null != (A2 = E2.contextType)) {
423
- var $2 = l2[A2.__c];
424
- Z2 = $2 ? $2.props.value : A2.__;
444
+ if (null != (E2 = Z2.contextType)) {
445
+ var H2 = c2[E2.__c];
446
+ M2 = H2 ? H2.props.value : E2.__;
425
447
  }
426
- if (E2.prototype && "function" == typeof E2.prototype.render)
427
- L2 = w$2(t2, Z2), D2 = t2.__c;
448
+ if (Z2.prototype && "function" == typeof Z2.prototype.render)
449
+ P2 = T$2(t2, M2), U2 = t2.__c;
428
450
  else {
429
- t2.__c = D2 = { __v: t2, props: T2, context: Z2, setState: x$2, forceUpdate: x$2, __d: true, __h: [] };
430
- for (var j2 = 0; D2.__d && j2++ < 25; )
431
- D2.__d = false, h$1 && h$1(t2), L2 = E2.call(D2, T2, Z2);
432
- D2.__d = true;
451
+ t2.__c = U2 = { __v: t2, props: F2, context: M2, setState: L$1, forceUpdate: L$1, __d: true, __h: [] };
452
+ for (var q2 = 0; U2.__d && q2++ < 25; )
453
+ U2.__d = false, b$1 && b$1(t2), P2 = Z2.call(U2, F2, M2);
454
+ U2.__d = true;
433
455
  }
434
- if (null != D2.getChildContext && (l2 = y$1({}, l2, D2.getChildContext())), (E2.getDerivedStateFromError || D2.componentDidCatch) && l$2.errorBoundaries) {
435
- var M2 = "";
436
- L2 = null != L2 && L2.type === g$3 && null == L2.key ? L2.props.children : L2;
456
+ if (null != U2.getChildContext && (c2 = C$2({}, c2, U2.getChildContext())), (Z2.getDerivedStateFromError || U2.componentDidCatch) && l$2.errorBoundaries) {
457
+ var B2 = "";
458
+ P2 = null != P2 && P2.type === k$3 && null == P2.key ? P2.props.children : P2;
437
459
  try {
438
- return M2 = C$1(L2, l2, c2, p2, t2);
460
+ return B2 = j$2(P2, c2, l2, u2, t2, h2, d2);
439
461
  } catch (e2) {
440
- return E2.getDerivedStateFromError && (D2.__s = E2.getDerivedStateFromError(e2)), D2.componentDidCatch && D2.componentDidCatch(e2, {}), D2.__d && (L2 = w$2(t2, l2), null != (D2 = t2.__c).getChildContext && (l2 = y$1({}, l2, D2.getChildContext())), M2 = C$1(L2 = null != L2 && L2.type === g$3 && null == L2.key ? L2.props.children : L2, l2, c2, p2, t2)), M2;
462
+ return Z2.getDerivedStateFromError && (U2.__s = Z2.getDerivedStateFromError(e2)), U2.componentDidCatch && U2.componentDidCatch(e2, {}), U2.__d && (P2 = T$2(t2, c2), null != (U2 = t2.__c).getChildContext && (c2 = C$2({}, c2, U2.getChildContext())), B2 = j$2(P2 = null != P2 && P2.type === k$3 && null == P2.key ? P2.props.children : P2, c2, l2, u2, t2, h2, d2)), B2;
441
463
  } finally {
442
- d$1 && d$1(t2), t2.__ = void 0, m$1 && m$1(t2);
464
+ g$2 && g$2(t2), t2.__ = null, k$2 && k$2(t2);
443
465
  }
444
466
  }
445
467
  }
446
- var z2 = C$1(L2 = null != L2 && L2.type === g$3 && null == L2.key ? L2.props.children : L2, l2, c2, p2, t2);
447
- return d$1 && d$1(t2), t2.__ = void 0, m$1 && m$1(t2), z2;
468
+ P2 = null != P2 && P2.type === k$3 && null == P2.key && null == P2.props.tpl ? P2.props.children : P2;
469
+ try {
470
+ var I2 = j$2(P2, c2, l2, u2, t2, h2, d2);
471
+ return g$2 && g$2(t2), t2.__ = null, l$2.unmount && l$2.unmount(t2), I2;
472
+ } catch (r2) {
473
+ if (!h2 && d2 && d2.onError) {
474
+ var N2 = d2.onError(r2, t2, function(e2) {
475
+ return j$2(e2, c2, l2, u2, t2, h2, d2);
476
+ });
477
+ if (void 0 !== N2)
478
+ return N2;
479
+ var O2 = l$2.__e;
480
+ return O2 && O2(r2, t2), "";
481
+ }
482
+ if (!h2)
483
+ throw r2;
484
+ if (!r2 || "function" != typeof r2.then)
485
+ throw r2;
486
+ var R2 = function e2() {
487
+ try {
488
+ return j$2(P2, c2, l2, u2, t2, h2, d2);
489
+ } catch (r3) {
490
+ if (!r3 || "function" != typeof r3.then)
491
+ throw r3;
492
+ return r3.then(function() {
493
+ return j$2(P2, c2, l2, u2, t2, h2, d2);
494
+ }, function() {
495
+ return e2();
496
+ });
497
+ }
498
+ };
499
+ return r2.then(function() {
500
+ return R2();
501
+ });
502
+ }
448
503
  }
449
- var H2, q2 = "<" + E2, B2 = "";
450
- for (var I2 in T2) {
451
- var N2 = T2[I2];
452
- switch (I2) {
504
+ var V2, K2 = "<" + Z2, G2 = "";
505
+ for (var J2 in F2) {
506
+ var Q2 = F2[J2];
507
+ switch (J2) {
453
508
  case "children":
454
- H2 = N2;
509
+ V2 = Q2;
455
510
  continue;
456
511
  case "key":
457
512
  case "ref":
@@ -459,62 +514,65 @@ function C$1(t2, l2, c2, p2, u2) {
459
514
  case "__source":
460
515
  continue;
461
516
  case "htmlFor":
462
- if ("for" in T2)
517
+ if ("for" in F2)
463
518
  continue;
464
- I2 = "for";
519
+ J2 = "for";
465
520
  break;
466
521
  case "className":
467
- if ("class" in T2)
522
+ if ("class" in F2)
468
523
  continue;
469
- I2 = "class";
524
+ J2 = "class";
470
525
  break;
471
526
  case "defaultChecked":
472
- I2 = "checked";
527
+ J2 = "checked";
473
528
  break;
474
529
  case "defaultSelected":
475
- I2 = "selected";
530
+ J2 = "selected";
476
531
  break;
477
532
  case "defaultValue":
478
533
  case "value":
479
- switch (I2 = "value", E2) {
534
+ switch (J2 = "value", Z2) {
480
535
  case "textarea":
481
- H2 = N2;
536
+ V2 = Q2;
482
537
  continue;
483
538
  case "select":
484
- p2 = N2;
539
+ u2 = Q2;
485
540
  continue;
486
541
  case "option":
487
- p2 != N2 || "selected" in T2 || (q2 += " selected");
542
+ u2 != Q2 || "selected" in F2 || (K2 += " selected");
488
543
  }
489
544
  break;
490
545
  case "dangerouslySetInnerHTML":
491
- B2 = N2 && N2.__html;
546
+ G2 = Q2 && Q2.__html;
492
547
  continue;
493
548
  case "style":
494
- "object" == typeof N2 && (N2 = f$2(N2));
549
+ "object" == typeof Q2 && (Q2 = p$1(Q2));
495
550
  break;
496
551
  case "acceptCharset":
497
- I2 = "accept-charset";
552
+ J2 = "accept-charset";
498
553
  break;
499
554
  case "httpEquiv":
500
- I2 = "http-equiv";
555
+ J2 = "http-equiv";
501
556
  break;
502
557
  default:
503
- if (n.test(I2))
504
- I2 = I2.replace(n, "$1:$2").toLowerCase();
558
+ if (o$1.test(J2))
559
+ J2 = J2.replace(o$1, "$1:$2").toLowerCase();
505
560
  else {
506
- if (o$1.test(I2))
561
+ if (n.test(J2))
507
562
  continue;
508
- "-" !== I2[4] && "draggable" !== I2 || null == N2 ? c2 ? i$1.test(I2) && (I2 = "panose1" === I2 ? "panose-1" : I2.replace(/([A-Z])/g, "-$1").toLowerCase()) : a$1.test(I2) && (I2 = I2.toLowerCase()) : N2 += "";
563
+ "-" !== J2[4] && "draggable" !== J2 || null == Q2 ? l2 ? a$1.test(J2) && (J2 = "panose1" === J2 ? "panose-1" : J2.replace(/([A-Z])/g, "-$1").toLowerCase()) : i$1.test(J2) && (J2 = J2.toLowerCase()) : Q2 += "";
509
564
  }
510
565
  }
511
- null != N2 && false !== N2 && "function" != typeof N2 && (q2 = true === N2 || "" === N2 ? q2 + " " + I2 : q2 + " " + I2 + '="' + s$1(N2 + "") + '"');
566
+ null != Q2 && false !== Q2 && "function" != typeof Q2 && (K2 = true === Q2 || "" === Q2 ? K2 + " " + J2 : K2 + " " + J2 + '="' + s$1(Q2 + "") + '"');
512
567
  }
513
- if (o$1.test(E2))
514
- throw new Error(E2 + " is not a valid HTML tag name in " + q2 + ">");
515
- return B2 || ("string" == typeof H2 ? B2 = s$1(H2) : null != H2 && false !== H2 && true !== H2 && (B2 = C$1(H2, l2, "svg" === E2 || "foreignObject" !== E2 && c2, p2, t2))), d$1 && d$1(t2), t2.__ = void 0, m$1 && m$1(t2), !B2 && S.has(E2) ? q2 + "/>" : q2 + ">" + B2 + "</" + E2 + ">";
568
+ if (n.test(Z2))
569
+ throw new Error(Z2 + " is not a valid HTML tag name in " + K2 + ">");
570
+ if (G2 || ("string" == typeof V2 ? G2 = s$1(V2) : null != V2 && false !== V2 && true !== V2 && (G2 = j$2(V2, c2, "svg" === Z2 || "foreignObject" !== Z2 && l2, u2, t2, h2, d2))), g$2 && g$2(t2), t2.__ = null, k$2 && k$2(t2), !G2 && D$2.has(Z2))
571
+ return K2 + "/>";
572
+ var X2 = "</" + Z2 + ">", Y2 = K2 + ">";
573
+ return Array.isArray(G2) ? [Y2].concat(G2, [X2]) : "string" != typeof G2 ? [Y2, G2, X2] : Y2 + G2 + X2;
516
574
  }
517
- var S = /* @__PURE__ */ new Set(["area", "base", "br", "col", "command", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]);
575
+ var D$2 = /* @__PURE__ */ new Set(["area", "base", "br", "col", "command", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]);
518
576
  var ValiError = class extends Error {
519
577
  /**
520
578
  * Creates a Valibot error with useful information.
@@ -1055,14 +1113,11 @@ const payPeriods = {
1055
1113
  WEEKLY: "per week"
1056
1114
  };
1057
1115
  const getSalaryAsText = (params) => {
1058
- const {
1059
- salary,
1060
- config
1061
- } = params;
1116
+ const { salary, config } = params;
1062
1117
  const numberFormatter = new Intl.NumberFormat(config.locales, {
1063
1118
  style: "currency",
1064
1119
  currency: salary.pay_currency,
1065
- // @ts-expect-error - trailingZeroDisplay is not in the types but exists: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#trailingzerodisplay
1120
+ // @ts-expect-error - it exists, but TS doesn't know it
1066
1121
  trailingZeroDisplay: "stripIfInteger"
1067
1122
  });
1068
1123
  if (salary.pay_display === false)
@@ -1086,14 +1141,8 @@ const getSalaryAsText = (params) => {
1086
1141
  return "From " + [numberFormatter.format(+salary.pay_min), period].filter(Boolean).join(" ");
1087
1142
  return "Invalid salary";
1088
1143
  };
1089
- const DEFAULT_FORMATTER = new Intl.RelativeTimeFormat("en", {
1090
- numeric: "auto"
1091
- });
1092
- const getRelativeTimeDifference = ({
1093
- from = /* @__PURE__ */ new Date(),
1094
- to,
1095
- formatter = DEFAULT_FORMATTER
1096
- }) => {
1144
+ const DEFAULT_FORMATTER = new Intl.RelativeTimeFormat("en", { numeric: "auto" });
1145
+ const getRelativeTimeDifference = ({ from = /* @__PURE__ */ new Date(), to, formatter = DEFAULT_FORMATTER }) => {
1097
1146
  const then = to instanceof Date ? to : new Date(to);
1098
1147
  const diff = then.getTime() - from.getTime();
1099
1148
  const diffIn = {
@@ -1109,10 +1158,9 @@ const getRelativeTimeDifference = ({
1109
1158
  return diffIn.months < 0 ? "a long time ago" : "in a long time";
1110
1159
  };
1111
1160
  const SEVEN_DAYS_MS = 1e3 * 60 * 60 * 24 * 7;
1112
- const AvailablePropertiesSchema = record(array(object({
1113
- label: coerce(string(), String),
1114
- value: coerce(string(), String)
1115
- })));
1161
+ const AvailablePropertiesSchema = record(
1162
+ array(object({ label: coerce(string(), String), value: coerce(string(), String) }))
1163
+ );
1116
1164
  const URLSchema = string([url()]);
1117
1165
  const PaginationSchema = object({
1118
1166
  total: number(),
@@ -1123,10 +1171,12 @@ const PaginationSchema = object({
1123
1171
  const JobPayloadSchema = object({
1124
1172
  id: number(),
1125
1173
  company_name: string(),
1126
- company_logo: optional(string()),
1174
+ company_logo: nullable(optional(string())),
1127
1175
  employment_type: string(),
1128
1176
  location_type: union([literal("LOCATION"), literal("REMOTE"), literal("HYBRID")]),
1129
- pay_type: nullable(union([literal("ANNUALLY"), literal("HOURLY"), literal("MONTHLY"), literal("WEEKLY"), literal("DAILY")])),
1177
+ pay_type: nullable(
1178
+ union([literal("ANNUALLY"), literal("HOURLY"), literal("MONTHLY"), literal("WEEKLY"), literal("DAILY")])
1179
+ ),
1130
1180
  pay_currency: string(),
1131
1181
  // Whether to mask the pay and show as "competitive"
1132
1182
  pay_mask: boolean(),
@@ -1165,29 +1215,25 @@ const JobSchema = transform(JobPayloadSchema, (schema) => {
1165
1215
  },
1166
1216
  employmentType: schema.employment_type,
1167
1217
  locationType: schema.location_type,
1168
- pay: getSalaryAsText({
1169
- salary: schema,
1170
- config: {
1171
- locales: void 0
1172
- }
1173
- }),
1218
+ pay: getSalaryAsText({ salary: schema, config: { locales: void 0 } }),
1174
1219
  description: schema.description,
1175
1220
  title: schema.title,
1176
1221
  contractType: schema.contract_type,
1177
1222
  href: schema.href,
1178
- relativePostedDate: schema.created_at ? getRelativeTimeDifference({
1179
- to: new Date(schema.created_at)
1180
- }) : "INVALID DATE",
1223
+ relativePostedDate: schema.created_at ? getRelativeTimeDifference({ to: new Date(schema.created_at) }) : "INVALID DATE",
1181
1224
  customData: schema.custom_data
1182
1225
  };
1183
1226
  });
1184
- const JobSearchResponseSchema = transform(object({
1185
- data: array(JobSchema),
1186
- pagination: PaginationSchema
1187
- }), (schema) => ({
1188
- pagination: schema.pagination,
1189
- results: schema.data
1190
- }));
1227
+ const JobSearchResponseSchema = transform(
1228
+ object({
1229
+ data: array(JobSchema),
1230
+ pagination: PaginationSchema
1231
+ }),
1232
+ (schema) => ({
1233
+ pagination: schema.pagination,
1234
+ results: schema.data
1235
+ })
1236
+ );
1191
1237
  const filtersToPayload = (filters) => {
1192
1238
  return Object.fromEntries(Object.entries(filters).map(([key, filter]) => [key, (filter == null ? void 0 : filter.value) ?? null]));
1193
1239
  };
@@ -1242,28 +1288,13 @@ const getJobSearchResults = async ({
1242
1288
  };
1243
1289
  const getQueryState = (swr) => {
1244
1290
  if (swr.error)
1245
- return {
1246
- state: "error",
1247
- error: swr.error,
1248
- swr
1249
- };
1291
+ return { state: "error", error: swr.error, swr };
1250
1292
  if (swr.isLoading && swr.data === void 0)
1251
- return {
1252
- state: "loading",
1253
- swr
1254
- };
1293
+ return { state: "loading", swr };
1255
1294
  if ((swr.isLoading || swr.isValidating) && swr.data)
1256
- return {
1257
- state: "revalidating",
1258
- data: swr.data,
1259
- swr
1260
- };
1295
+ return { state: "revalidating", data: swr.data, swr };
1261
1296
  if (!swr.isLoading && swr.data)
1262
- return {
1263
- state: "loaded",
1264
- data: swr.data,
1265
- swr
1266
- };
1297
+ return { state: "loaded", data: swr.data, swr };
1267
1298
  throw new Error("Unhandled data state");
1268
1299
  };
1269
1300
  const SWR_SETTINGS = {
@@ -1273,6 +1304,38 @@ const SWR_SETTINGS = {
1273
1304
  revalidateIfStale: false,
1274
1305
  revalidateFirstPage: false
1275
1306
  };
1307
+ var f$1 = 0;
1308
+ function u$1(e2, t2, n2, o2, i2, u2) {
1309
+ t2 || (t2 = {});
1310
+ var a2, c2, p2 = t2;
1311
+ if ("ref" in p2)
1312
+ for (c2 in p2 = {}, t2)
1313
+ "ref" == c2 ? a2 = t2[c2] : p2[c2] = t2[c2];
1314
+ var l2 = { type: e2, props: p2, key: n2, ref: a2, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: --f$1, __i: -1, __u: 0, __source: i2, __self: u2 };
1315
+ if ("function" == typeof e2 && (a2 = e2.defaultProps))
1316
+ for (c2 in a2)
1317
+ void 0 === p2[c2] && (p2[c2] = a2[c2]);
1318
+ return l$2.vnode && l$2.vnode(l2), l2;
1319
+ }
1320
+ function r$2(e2) {
1321
+ var t2, f2, n2 = "";
1322
+ if ("string" == typeof e2 || "number" == typeof e2)
1323
+ n2 += e2;
1324
+ else if ("object" == typeof e2)
1325
+ if (Array.isArray(e2)) {
1326
+ var o2 = e2.length;
1327
+ for (t2 = 0; t2 < o2; t2++)
1328
+ e2[t2] && (f2 = r$2(e2[t2])) && (n2 && (n2 += " "), n2 += f2);
1329
+ } else
1330
+ for (f2 in e2)
1331
+ e2[f2] && (n2 && (n2 += " "), n2 += f2);
1332
+ return n2;
1333
+ }
1334
+ function clsx$1() {
1335
+ for (var e2, t2, f2 = 0, n2 = "", o2 = arguments.length; f2 < o2; f2++)
1336
+ (e2 = arguments[f2]) && (t2 = r$2(e2)) && (n2 && (n2 += " "), n2 += t2);
1337
+ return n2;
1338
+ }
1276
1339
  function r$1(e2) {
1277
1340
  var t2, f2, n2 = "";
1278
1341
  if ("string" == typeof e2 || "number" == typeof e2)
@@ -1364,31 +1427,11 @@ const btnClass = cva({
1364
1427
  }
1365
1428
  },
1366
1429
  compoundVariants: [
1367
- {
1368
- size: "sm",
1369
- icon: "right",
1370
- class: "pl-3 pr-1"
1371
- },
1372
- {
1373
- size: "sm",
1374
- icon: "left",
1375
- class: "pl-1 pr-3"
1376
- },
1377
- {
1378
- size: "sm",
1379
- icon: "none",
1380
- class: "px-3"
1381
- },
1382
- {
1383
- size: "lg",
1384
- icon: "none",
1385
- class: "px-5"
1386
- },
1387
- {
1388
- size: "lg",
1389
- icon: "right",
1390
- class: "pl-5 pr-3"
1391
- }
1430
+ { size: "sm", icon: "right", class: "pl-3 pr-1" },
1431
+ { size: "sm", icon: "left", class: "pl-1 pr-3" },
1432
+ { size: "sm", icon: "none", class: "px-3" },
1433
+ { size: "lg", icon: "none", class: "px-5" },
1434
+ { size: "lg", icon: "right", class: "pl-5 pr-3" }
1392
1435
  // { size: 'lg', icon: 'left', class: 'pl-3 pr-5' },
1393
1436
  // { size: 'lg', icon: 'none', class: 'px-5' },
1394
1437
  ],
@@ -1398,287 +1441,193 @@ const btnClass = cva({
1398
1441
  size: "sm"
1399
1442
  }
1400
1443
  });
1401
- var f$1 = 0;
1402
- function u$1(e2, t2, n2, o2, i2, u2) {
1403
- var a2, c2, p2 = {};
1404
- for (c2 in t2)
1405
- "ref" == c2 ? a2 = t2[c2] : p2[c2] = t2[c2];
1406
- var l2 = { type: e2, props: p2, key: n2, ref: a2, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: --f$1, __i: -1, __u: 0, __source: i2, __self: u2 };
1407
- if ("function" == typeof e2 && (a2 = e2.defaultProps))
1408
- for (c2 in a2)
1409
- void 0 === p2[c2] && (p2[c2] = a2[c2]);
1410
- return l$2.vnode && l$2.vnode(l2), l2;
1411
- }
1412
- const UnstyledErrorView = ({
1413
- error,
1414
- resetError
1415
- }) => {
1416
- return u$1("div", {
1417
- style: {
1418
- display: "flex",
1419
- flexDirection: "column",
1420
- gap: ".5rem",
1421
- padding: "1rem",
1422
- fontSize: "1rem",
1423
- color: "hsl(10, 82%, 45%)",
1424
- fontFamily: "'system-ui' 'Helvetica'",
1425
- background: "hsl(7, 100%, 98%)"
1426
- },
1427
- children: [u$1("p", {
1428
- children: error.message
1429
- }), u$1("button", {
1430
- onClick: resetError,
1444
+ const UnstyledErrorView = ({ error, resetError }) => {
1445
+ return /* @__PURE__ */ u$1(
1446
+ "div",
1447
+ {
1431
1448
  style: {
1432
- background: "white",
1433
- border: "none",
1434
- cursor: "pointer",
1435
- textAlign: "center",
1436
- borderRadius: "4px",
1437
- padding: "0.5rem 1rem"
1449
+ display: "flex",
1450
+ flexDirection: "column",
1451
+ gap: ".5rem",
1452
+ padding: "1rem",
1453
+ fontSize: "1rem",
1454
+ color: "hsl(10, 82%, 45%)",
1455
+ fontFamily: "'system-ui' 'Helvetica'",
1456
+ background: "hsl(7, 100%, 98%)"
1438
1457
  },
1439
- children: "Retry"
1440
- })]
1441
- });
1458
+ children: [
1459
+ /* @__PURE__ */ u$1("p", { children: error.message }),
1460
+ /* @__PURE__ */ u$1(
1461
+ "button",
1462
+ {
1463
+ onClick: resetError,
1464
+ style: {
1465
+ background: "white",
1466
+ border: "none",
1467
+ cursor: "pointer",
1468
+ textAlign: "center",
1469
+ borderRadius: "4px",
1470
+ padding: "0.5rem 1rem"
1471
+ },
1472
+ children: "Retry"
1473
+ }
1474
+ )
1475
+ ]
1476
+ }
1477
+ );
1442
1478
  };
1443
- const ErrorView = ({
1444
- error,
1445
- resetError,
1446
- class: className,
1447
- ...props
1448
- }) => {
1449
- return u$1("div", {
1450
- class: clsx("bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center", className),
1451
- ...props,
1452
- children: [u$1("div", {
1453
- class: "flex flex-col gap-1",
1454
- children: [u$1("p", {
1455
- class: "text-neutral-1 text-style-job-heading font-style-job-heading font-weight-job-heading [text-wrap:balance]",
1456
- children: "Sorry, this widget is unavailable at the moment."
1457
- }), u$1("p", {
1458
- class: "text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]",
1459
- children: error.message
1460
- })]
1461
- }), u$1("button", {
1462
- class: btnClass({
1463
- variant: "neutral",
1464
- size: "lg",
1465
- class: "text-interactive-neutral-bg bg-lowest"
1466
- }),
1467
- onClick: resetError,
1468
- children: "Retry"
1469
- })]
1470
- });
1479
+ const ErrorView = ({ error, resetError, class: className, ...props }) => {
1480
+ return /* @__PURE__ */ u$1(
1481
+ "div",
1482
+ {
1483
+ class: clsx$1(
1484
+ "bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center",
1485
+ className
1486
+ ),
1487
+ ...props,
1488
+ children: [
1489
+ /* @__PURE__ */ u$1("div", { class: "flex flex-col gap-1", children: [
1490
+ /* @__PURE__ */ u$1("p", { class: "text-neutral-1 text-style-job-heading font-style-job-heading font-weight-job-heading [text-wrap:balance]", children: "Sorry, this widget is unavailable at the moment." }),
1491
+ /* @__PURE__ */ u$1("p", { class: "text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]", children: error.message })
1492
+ ] }),
1493
+ /* @__PURE__ */ u$1(
1494
+ "button",
1495
+ {
1496
+ class: btnClass({
1497
+ variant: "neutral",
1498
+ size: "lg",
1499
+ class: "text-interactive-neutral-bg bg-lowest"
1500
+ }),
1501
+ onClick: resetError,
1502
+ children: "Retry"
1503
+ }
1504
+ )
1505
+ ]
1506
+ }
1507
+ );
1471
1508
  };
1472
1509
  class ErrorBoundary extends b$2 {
1473
1510
  constructor() {
1474
1511
  super(...arguments);
1475
- __publicField(this, "state", {
1476
- error: null
1477
- });
1512
+ __publicField(this, "state", { error: null });
1478
1513
  }
1479
1514
  static getDerivedStateFromError(error) {
1480
- return {
1481
- error: error.message
1482
- };
1515
+ return { error: error.message };
1483
1516
  }
1484
1517
  componentDidCatch(error) {
1485
- this.setState({
1486
- error
1487
- });
1518
+ this.setState({ error });
1488
1519
  }
1489
1520
  render() {
1490
1521
  if (this.state.error) {
1491
- const {
1492
- Fallback
1493
- } = this.props;
1494
- return u$1(Fallback, {
1495
- error: this.state.error,
1496
- resetError: () => {
1497
- console.log("resetting error");
1498
- this.setState({
1499
- error: null
1500
- });
1522
+ const { Fallback } = this.props;
1523
+ return /* @__PURE__ */ u$1(
1524
+ Fallback,
1525
+ {
1526
+ error: this.state.error,
1527
+ resetError: () => {
1528
+ console.log("resetting error");
1529
+ this.setState({ error: null });
1530
+ }
1501
1531
  }
1502
- });
1532
+ );
1503
1533
  }
1504
1534
  return this.props.children;
1505
1535
  }
1506
1536
  }
1507
1537
  const icons = {
1508
- briefcase: u$1(g$3, {
1509
- children: [u$1("path", {
1510
- d: "M17.25 7.75H6.75C5.64543 7.75 4.75 8.64543 4.75 9.75V16.25C4.75 17.3546 5.64543 18.25 6.75 18.25H17.25C18.3546 18.25 19.25 17.3546 19.25 16.25V9.75C19.25 8.64543 18.3546 7.75 17.25 7.75Z"
1511
- }), u$1("path", {
1512
- d: "M4.75 11.75H19.25"
1513
- }), u$1("path", {
1514
- d: "M13.25 12.25V13.25H10.75V12.25H13.25Z"
1515
- }), u$1("path", {
1516
- d: "M9.25 7.5V6.25C9.25 5.42157 9.92157 4.75 10.75 4.75H13.25C14.0784 4.75 14.75 5.42157 14.75 6.25V7.5"
1517
- })]
1518
- }),
1519
- brand: u$1(g$3, {
1520
- children: [u$1("path", {
1521
- d: "M18.45 13.9901C18.1288 15.031 17.5574 15.9886 16.773 16.773C15.5071 18.0388 13.7902 18.75 12 18.75C10.2098 18.75 8.49289 18.0388 7.22702 16.773C6.44262 15.9886 5.87122 15.031 5.55003 13.9901"
1522
- }), u$1("path", {
1523
- d: "M9.87868 14.8713C10.1573 15.1499 10.488 15.3709 10.8519 15.5216C11.2159 15.6724 11.606 15.75 12 15.75C12.394 15.75 12.7841 15.6724 13.1481 15.5216C13.512 15.3709 13.8427 15.1499 14.1213 14.8713"
1524
- }), u$1("path", {
1525
- d: "M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"
1526
- }), u$1("path", {
1527
- d: "M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"
1528
- }), u$1("path", {
1529
- d: "M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"
1530
- }), u$1("circle", {
1531
- cx: "18.75",
1532
- cy: "12",
1533
- r: "2"
1534
- }), u$1("circle", {
1535
- cx: "5.25",
1536
- cy: "12",
1537
- r: "2"
1538
- })]
1539
- }),
1540
- building: u$1(g$3, {
1541
- children: [u$1("path", {
1542
- d: "M16.75 10.25H13.75"
1543
- }), u$1("path", {
1544
- d: "M16.75 13.25H13.75"
1545
- }), u$1("path", {
1546
- d: "M3 18.25H5.25006M5.25006 18.25V14.25C5.25006 13.1454 6.14549 12.25 7.25006 12.25H10.2501L10.25 8.25003C10.25 6.59316 11.5932 5.25 13.25 5.25H17.25C18.9069 5.25 20.25 6.59315 20.25 8.25V18.25H5.25006Z"
1547
- }), u$1("path", {
1548
- d: "M10.25 12.25V18.25"
1549
- })]
1550
- }),
1551
- circles: u$1(g$3, {
1552
- children: [u$1("path", {
1553
- d: "M16.773 16.773C15.829 17.717 14.6262 18.3599 13.3169 18.6203C12.0075 18.8808 10.6503 18.7471 9.41689 18.2362C8.18349 17.7253 7.12928 16.8601 6.38758 15.7501C5.64588 14.6401 5.25 13.335 5.25 12C5.25 10.665 5.64588 9.35993 6.38758 8.2499C7.12928 7.13987 8.18349 6.27471 9.41689 5.76381C10.6503 5.25292 12.0075 5.11925 13.3169 5.3797C14.6262 5.64015 15.829 6.28302 16.773 7.22703"
1554
- }), u$1("path", {
1555
- d: "M9.34835 9.34835C9.8728 8.8239 10.541 8.46675 11.2684 8.32206C11.9958 8.17736 12.7498 8.25162 13.4351 8.53545C14.1203 8.81928 14.706 9.29993 15.118 9.91661C15.5301 10.5333 15.75 11.2583 15.75 12C15.75 12.7417 15.5301 13.4667 15.118 14.0834C14.706 14.7001 14.1203 15.1807 13.4351 15.4645C12.7498 15.7484 11.9958 15.8226 11.2684 15.6779C10.541 15.5333 9.8728 15.1761 9.34835 14.6517"
1556
- })]
1557
- }),
1558
- clock: u$1(g$3, {
1559
- children: [u$1("path", {
1560
- d: "M14 9L12 13L9.5 12"
1561
- }), u$1("path", {
1562
- d: "M18.75 12C18.75 15.7279 15.7279 18.75 12 18.75C8.27208 18.75 5.25 15.7279 5.25 12C5.25 8.27208 8.27208 5.25 12 5.25C15.7279 5.25 18.75 8.27208 18.75 12Z"
1563
- })]
1564
- }),
1565
- filter: u$1(g$3, {
1566
- children: u$1("path", {
1567
- d: "M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"
1568
- })
1569
- }),
1570
- globe: u$1(g$3, {
1571
- children: [u$1("path", {
1572
- d: "M5 13.75H19"
1573
- }), u$1("path", {
1574
- d: "M5 10.25H19"
1575
- }), u$1("path", {
1576
- d: "M12 4.75C15.5 9.25 15.5 14.75 12.0001 19.25C8.50012 14.75 8.50005 9.25 12 4.75Z"
1577
- }), u$1("circle", {
1578
- cx: "12",
1579
- cy: "12",
1580
- r: "7.25"
1581
- })]
1582
- }),
1583
- magnifier: u$1(g$3, {
1584
- children: [u$1("path", {
1585
- d: "M15.5659 15.5659C14.4875 16.6442 13.025 17.25 11.5 17.25C9.97501 17.25 8.51247 16.6442 7.43414 15.5659C6.3558 14.4875 5.75 13.025 5.75 11.5C5.75 9.97501 6.3558 8.51247 7.43414 7.43414C8.51247 6.3558 9.97501 5.75 11.5 5.75C13.025 5.75 14.4875 6.3558 15.5659 7.43414C16.6442 8.51247 17.25 9.97501 17.25 11.5C17.25 13.025 16.6442 14.4875 15.5659 15.5659L15.5659 15.5659Z"
1586
- }), u$1("path", {
1587
- d: "M11.5 8.75C11.8611 8.75 12.2187 8.82113 12.5524 8.95933C12.886 9.09753 13.1892 9.3001 13.4445 9.55546C13.6999 9.81082 13.9025 10.114 14.0407 10.4476C14.1789 10.7813 14.25 11.1389 14.25 11.5"
1588
- }), u$1("path", {
1589
- d: "M16 16L19 19"
1590
- })]
1591
- }),
1592
- mapPin: u$1(g$3, {
1593
- children: u$1(g$3, {
1594
- children: [u$1("circle", {
1595
- cx: "12",
1596
- cy: "9",
1597
- r: "2"
1598
- }), u$1("path", {
1599
- d: "M16.2426 16.8358C17.0818 17.1155 17.6532 17.4719 17.8847 17.8598C18.1162 18.2478 17.9974 18.6499 17.5433 19.0154C17.0892 19.3808 16.3201 19.6932 15.3334 19.9129C14.3467 20.1327 13.1867 20.25 12 20.25C10.8133 20.25 9.65327 20.1327 8.66658 19.9129C7.67988 19.6932 6.91085 19.3808 6.45672 19.0154C6.0026 18.6499 5.88378 18.2478 6.11529 17.8598C6.3468 17.4719 6.91825 17.1155 7.75736 16.8358"
1600
- }), u$1("path", {
1601
- d: "M17.25 9C17.25 13.3995 12 16.75 12 16.75C12 16.75 6.75 13.3995 6.75 9C6.75 6.10051 9.10051 3.75 12 3.75C14.8995 3.75 17.25 6.10051 17.25 9Z"
1602
- })]
1603
- })
1604
- }),
1605
- sunset: u$1(g$3, {
1606
- children: [u$1("path", {
1607
- d: "M18.5 8.5L17.5 9.5"
1608
- }), u$1("path", {
1609
- d: "M5.5 8.5L6.5 9.5"
1610
- }), u$1("path", {
1611
- d: "M12 6L12 7.5"
1612
- }), u$1("path", {
1613
- d: "M7.5 15.25L7.5 14.25C7.5 13.6591 7.6164 13.0739 7.84254 12.5279C8.06869 11.982 8.40016 11.4859 8.81802 11.068C9.23588 10.6502 9.73196 10.3187 10.2779 10.0925C10.8239 9.8664 11.4091 9.75 12 9.75C12.5909 9.75 13.1761 9.8664 13.7221 10.0925C14.268 10.3187 14.7641 10.6502 15.182 11.068C15.5998 11.4859 15.9313 11.982 16.1575 12.5279C16.3836 13.0739 16.5 13.6591 16.5 14.25V15.25"
1614
- }), u$1("path", {
1615
- d: "M20.25 15.25H12H3.75"
1616
- }), u$1("path", {
1617
- d: "M16.25 18.25H12L7.75 18.25"
1618
- })]
1619
- }),
1620
- x: u$1("path", {
1621
- d: "M8 8l8 8M8 16l8 -8"
1622
- }),
1623
- plus: u$1("path", {
1624
- d: "M12 8V16M8 12H16"
1625
- }),
1626
- "chevron-right": u$1("path", {
1627
- d: "M11 8L15 12L11 16"
1628
- })
1538
+ briefcase: /* @__PURE__ */ u$1(k$3, { children: [
1539
+ /* @__PURE__ */ u$1("path", { d: "M17.25 7.75H6.75C5.64543 7.75 4.75 8.64543 4.75 9.75V16.25C4.75 17.3546 5.64543 18.25 6.75 18.25H17.25C18.3546 18.25 19.25 17.3546 19.25 16.25V9.75C19.25 8.64543 18.3546 7.75 17.25 7.75Z" }),
1540
+ /* @__PURE__ */ u$1("path", { d: "M4.75 11.75H19.25" }),
1541
+ /* @__PURE__ */ u$1("path", { d: "M13.25 12.25V13.25H10.75V12.25H13.25Z" }),
1542
+ /* @__PURE__ */ u$1("path", { d: "M9.25 7.5V6.25C9.25 5.42157 9.92157 4.75 10.75 4.75H13.25C14.0784 4.75 14.75 5.42157 14.75 6.25V7.5" })
1543
+ ] }),
1544
+ brand: /* @__PURE__ */ u$1(k$3, { children: [
1545
+ /* @__PURE__ */ u$1("path", { d: "M18.45 13.9901C18.1288 15.031 17.5574 15.9886 16.773 16.773C15.5071 18.0388 13.7902 18.75 12 18.75C10.2098 18.75 8.49289 18.0388 7.22702 16.773C6.44262 15.9886 5.87122 15.031 5.55003 13.9901" }),
1546
+ /* @__PURE__ */ u$1("path", { d: "M9.87868 14.8713C10.1573 15.1499 10.488 15.3709 10.8519 15.5216C11.2159 15.6724 11.606 15.75 12 15.75C12.394 15.75 12.7841 15.6724 13.1481 15.5216C13.512 15.3709 13.8427 15.1499 14.1213 14.8713" }),
1547
+ /* @__PURE__ */ u$1("path", { d: "M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486" }),
1548
+ /* @__PURE__ */ u$1("path", { d: "M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465" }),
1549
+ /* @__PURE__ */ u$1("path", { d: "M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818" }),
1550
+ /* @__PURE__ */ u$1("circle", { cx: "18.75", cy: "12", r: "2" }),
1551
+ /* @__PURE__ */ u$1("circle", { cx: "5.25", cy: "12", r: "2" })
1552
+ ] }),
1553
+ building: /* @__PURE__ */ u$1(k$3, { children: [
1554
+ /* @__PURE__ */ u$1("path", { d: "M16.75 10.25H13.75" }),
1555
+ /* @__PURE__ */ u$1("path", { d: "M16.75 13.25H13.75" }),
1556
+ /* @__PURE__ */ u$1("path", { d: "M3 18.25H5.25006M5.25006 18.25V14.25C5.25006 13.1454 6.14549 12.25 7.25006 12.25H10.2501L10.25 8.25003C10.25 6.59316 11.5932 5.25 13.25 5.25H17.25C18.9069 5.25 20.25 6.59315 20.25 8.25V18.25H5.25006Z" }),
1557
+ /* @__PURE__ */ u$1("path", { d: "M10.25 12.25V18.25" })
1558
+ ] }),
1559
+ circles: /* @__PURE__ */ u$1(k$3, { children: [
1560
+ /* @__PURE__ */ u$1("path", { d: "M16.773 16.773C15.829 17.717 14.6262 18.3599 13.3169 18.6203C12.0075 18.8808 10.6503 18.7471 9.41689 18.2362C8.18349 17.7253 7.12928 16.8601 6.38758 15.7501C5.64588 14.6401 5.25 13.335 5.25 12C5.25 10.665 5.64588 9.35993 6.38758 8.2499C7.12928 7.13987 8.18349 6.27471 9.41689 5.76381C10.6503 5.25292 12.0075 5.11925 13.3169 5.3797C14.6262 5.64015 15.829 6.28302 16.773 7.22703" }),
1561
+ /* @__PURE__ */ u$1("path", { d: "M9.34835 9.34835C9.8728 8.8239 10.541 8.46675 11.2684 8.32206C11.9958 8.17736 12.7498 8.25162 13.4351 8.53545C14.1203 8.81928 14.706 9.29993 15.118 9.91661C15.5301 10.5333 15.75 11.2583 15.75 12C15.75 12.7417 15.5301 13.4667 15.118 14.0834C14.706 14.7001 14.1203 15.1807 13.4351 15.4645C12.7498 15.7484 11.9958 15.8226 11.2684 15.6779C10.541 15.5333 9.8728 15.1761 9.34835 14.6517" })
1562
+ ] }),
1563
+ clock: /* @__PURE__ */ u$1(k$3, { children: [
1564
+ /* @__PURE__ */ u$1("path", { d: "M14 9L12 13L9.5 12" }),
1565
+ /* @__PURE__ */ u$1("path", { d: "M18.75 12C18.75 15.7279 15.7279 18.75 12 18.75C8.27208 18.75 5.25 15.7279 5.25 12C5.25 8.27208 8.27208 5.25 12 5.25C15.7279 5.25 18.75 8.27208 18.75 12Z" })
1566
+ ] }),
1567
+ filter: /* @__PURE__ */ u$1(k$3, { children: /* @__PURE__ */ u$1("path", { d: "M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z" }) }),
1568
+ globe: /* @__PURE__ */ u$1(k$3, { children: [
1569
+ /* @__PURE__ */ u$1("path", { d: "M5 13.75H19" }),
1570
+ /* @__PURE__ */ u$1("path", { d: "M5 10.25H19" }),
1571
+ /* @__PURE__ */ u$1("path", { d: "M12 4.75C15.5 9.25 15.5 14.75 12.0001 19.25C8.50012 14.75 8.50005 9.25 12 4.75Z" }),
1572
+ /* @__PURE__ */ u$1("circle", { cx: "12", cy: "12", r: "7.25" })
1573
+ ] }),
1574
+ magnifier: /* @__PURE__ */ u$1(k$3, { children: [
1575
+ /* @__PURE__ */ u$1("path", { d: "M15.5659 15.5659C14.4875 16.6442 13.025 17.25 11.5 17.25C9.97501 17.25 8.51247 16.6442 7.43414 15.5659C6.3558 14.4875 5.75 13.025 5.75 11.5C5.75 9.97501 6.3558 8.51247 7.43414 7.43414C8.51247 6.3558 9.97501 5.75 11.5 5.75C13.025 5.75 14.4875 6.3558 15.5659 7.43414C16.6442 8.51247 17.25 9.97501 17.25 11.5C17.25 13.025 16.6442 14.4875 15.5659 15.5659L15.5659 15.5659Z" }),
1576
+ /* @__PURE__ */ u$1("path", { d: "M11.5 8.75C11.8611 8.75 12.2187 8.82113 12.5524 8.95933C12.886 9.09753 13.1892 9.3001 13.4445 9.55546C13.6999 9.81082 13.9025 10.114 14.0407 10.4476C14.1789 10.7813 14.25 11.1389 14.25 11.5" }),
1577
+ /* @__PURE__ */ u$1("path", { d: "M16 16L19 19" })
1578
+ ] }),
1579
+ mapPin: /* @__PURE__ */ u$1(k$3, { children: /* @__PURE__ */ u$1(k$3, { children: [
1580
+ /* @__PURE__ */ u$1("circle", { cx: "12", cy: "9", r: "2" }),
1581
+ /* @__PURE__ */ u$1("path", { d: "M16.2426 16.8358C17.0818 17.1155 17.6532 17.4719 17.8847 17.8598C18.1162 18.2478 17.9974 18.6499 17.5433 19.0154C17.0892 19.3808 16.3201 19.6932 15.3334 19.9129C14.3467 20.1327 13.1867 20.25 12 20.25C10.8133 20.25 9.65327 20.1327 8.66658 19.9129C7.67988 19.6932 6.91085 19.3808 6.45672 19.0154C6.0026 18.6499 5.88378 18.2478 6.11529 17.8598C6.3468 17.4719 6.91825 17.1155 7.75736 16.8358" }),
1582
+ /* @__PURE__ */ u$1("path", { d: "M17.25 9C17.25 13.3995 12 16.75 12 16.75C12 16.75 6.75 13.3995 6.75 9C6.75 6.10051 9.10051 3.75 12 3.75C14.8995 3.75 17.25 6.10051 17.25 9Z" })
1583
+ ] }) }),
1584
+ pay: /* @__PURE__ */ u$1(k$3, { children: [
1585
+ /* @__PURE__ */ u$1("path", { d: "M16.8 16.8a6.78 6.78 0 1 1 0-9.6M12 16v-1M12 9V8" }),
1586
+ /* @__PURE__ */ u$1("path", { d: "M10 14c.3.7 1 1 2 1 2.6 0 2.7-3 0-3s-2.7-3 0-3c1 0 1.7.4 2 1" })
1587
+ ] }),
1588
+ sunset: /* @__PURE__ */ u$1(k$3, { children: [
1589
+ /* @__PURE__ */ u$1("path", { d: "M18.5 8.5L17.5 9.5" }),
1590
+ /* @__PURE__ */ u$1("path", { d: "M5.5 8.5L6.5 9.5" }),
1591
+ /* @__PURE__ */ u$1("path", { d: "M12 6L12 7.5" }),
1592
+ /* @__PURE__ */ u$1("path", { d: "M7.5 15.25L7.5 14.25C7.5 13.6591 7.6164 13.0739 7.84254 12.5279C8.06869 11.982 8.40016 11.4859 8.81802 11.068C9.23588 10.6502 9.73196 10.3187 10.2779 10.0925C10.8239 9.8664 11.4091 9.75 12 9.75C12.5909 9.75 13.1761 9.8664 13.7221 10.0925C14.268 10.3187 14.7641 10.6502 15.182 11.068C15.5998 11.4859 15.9313 11.982 16.1575 12.5279C16.3836 13.0739 16.5 13.6591 16.5 14.25V15.25" }),
1593
+ /* @__PURE__ */ u$1("path", { d: "M20.25 15.25H12H3.75" }),
1594
+ /* @__PURE__ */ u$1("path", { d: "M16.25 18.25H12L7.75 18.25" })
1595
+ ] }),
1596
+ x: /* @__PURE__ */ u$1("path", { d: "M8 8l8 8M8 16l8 -8" }),
1597
+ plus: /* @__PURE__ */ u$1("path", { d: "M12 8V16M8 12H16" }),
1598
+ "chevron-right": /* @__PURE__ */ u$1("path", { d: "M11 8L15 12L11 16" })
1629
1599
  };
1630
- const IconSpritesheet = ({
1631
- theme
1632
- }) => {
1633
- return u$1("svg", {
1634
- xmlns: "http://www.w3.org/2000/svg",
1635
- style: {
1636
- display: "none"
1637
- },
1638
- children: u$1("defs", {
1639
- children: Object.entries(icons).map(([name, icon]) => {
1640
- var _a;
1641
- return u$1("symbol", {
1642
- id: `i-icon-${name}`,
1643
- children: u$1("g", {
1644
- fill: "none",
1645
- "stroke-width": theme.mode === "dark" && ((_a = theme.accessibility) == null ? void 0 : _a.highContrast) != true ? "1" : "1.5",
1646
- "stroke-linecap": "round",
1647
- "stroke-linejoin": "round",
1648
- stroke: "currentColor",
1649
- children: icon
1650
- })
1651
- });
1652
- })
1653
- })
1654
- });
1600
+ const IconSpritesheet = ({ theme }) => {
1601
+ return /* @__PURE__ */ u$1("svg", { xmlns: "http://www.w3.org/2000/svg", style: { display: "none" }, children: /* @__PURE__ */ u$1("defs", { children: Object.entries(icons).map(([name, icon]) => {
1602
+ var _a;
1603
+ return /* @__PURE__ */ u$1("symbol", { id: `i-icon-${name}`, children: /* @__PURE__ */ u$1(
1604
+ "g",
1605
+ {
1606
+ fill: "none",
1607
+ "stroke-width": theme.mode === "dark" && ((_a = theme.accessibility) == null ? void 0 : _a.highContrast) != true ? "1" : "1.5",
1608
+ "stroke-linecap": "round",
1609
+ "stroke-linejoin": "round",
1610
+ stroke: "currentColor",
1611
+ children: icon
1612
+ }
1613
+ ) });
1614
+ }) }) });
1655
1615
  };
1656
- const Icon = ({
1657
- name,
1658
- ...props
1659
- }) => {
1660
- return u$1("svg", {
1661
- viewBox: "0 0 24 24",
1662
- width: 24,
1663
- height: 24,
1664
- ...props,
1665
- children: u$1("use", {
1666
- href: `#i-icon-${name}`
1667
- })
1668
- });
1616
+ const Icon = ({ name, ...props }) => {
1617
+ return /* @__PURE__ */ u$1("svg", { viewBox: "0 0 24 24", width: 24, height: 24, ...props, children: /* @__PURE__ */ u$1("use", { href: `#i-icon-${name}` }) });
1669
1618
  };
1670
- var t, r, u, i, o = 0, f = [], c = [], e = l$2.__b, a = l$2.__r, v = l$2.diffed, l = l$2.__c, m = l$2.unmount;
1671
- function d(t2, u2) {
1672
- l$2.__h && l$2.__h(r, t2, o || u2), o = 0;
1673
- var i2 = r.__H || (r.__H = { __: [], __h: [] });
1674
- return t2 >= i2.__.length && i2.__.push({ __V: c }), i2.__[t2];
1619
+ var t, r, u, i, o = 0, f = [], c = l$2, e = c.__b, a = c.__r, v = c.diffed, l = c.__c, m = c.unmount, s = c.__;
1620
+ function d(n2, t2) {
1621
+ c.__h && c.__h(r, n2, o || t2), o = 0;
1622
+ var u2 = r.__H || (r.__H = { __: [], __h: [] });
1623
+ return n2 >= u2.__.length && u2.__.push({}), u2.__[n2];
1675
1624
  }
1676
1625
  function h(n2) {
1677
- return o = 1, s(B$1, n2);
1626
+ return o = 1, p(D$1, n2);
1678
1627
  }
1679
- function s(n2, u2, i2) {
1628
+ function p(n2, u2, i2) {
1680
1629
  var o2 = d(t++, 2);
1681
- if (o2.t = n2, !o2.__c && (o2.__ = [i2 ? i2(u2) : B$1(void 0, u2), function(n3) {
1630
+ if (o2.t = n2, !o2.__c && (o2.__ = [i2 ? i2(u2) : D$1(void 0, u2), function(n3) {
1682
1631
  var t2 = o2.__N ? o2.__N[0] : o2.__[0], r2 = o2.t(t2, n3);
1683
1632
  t2 !== r2 && (o2.__N = [r2, o2.__[1]], o2.__c.setState({}));
1684
1633
  }], o2.__c = r, !r.u)) {
@@ -1686,7 +1635,7 @@ function s(n2, u2, i2) {
1686
1635
  if (!o2.__c.__H)
1687
1636
  return true;
1688
1637
  var u3 = o2.__c.__H.__.filter(function(n4) {
1689
- return n4.__c;
1638
+ return !!n4.__c;
1690
1639
  });
1691
1640
  if (u3.every(function(n4) {
1692
1641
  return !n4.__N;
@@ -1712,21 +1661,21 @@ function s(n2, u2, i2) {
1712
1661
  }
1713
1662
  return o2.__N || o2.__;
1714
1663
  }
1715
- function p(u2, i2) {
1716
- var o2 = d(t++, 3);
1717
- !l$2.__s && z$1(o2.__H, i2) && (o2.__ = u2, o2.i = i2, r.__H.__h.push(o2));
1664
+ function y(n2, u2) {
1665
+ var i2 = d(t++, 3);
1666
+ !c.__s && C$1(i2.__H, u2) && (i2.__ = n2, i2.i = u2, r.__H.__h.push(i2));
1718
1667
  }
1719
- function y(u2, i2) {
1720
- var o2 = d(t++, 4);
1721
- !l$2.__s && z$1(o2.__H, i2) && (o2.__ = u2, o2.i = i2, r.__h.push(o2));
1668
+ function _(n2, u2) {
1669
+ var i2 = d(t++, 4);
1670
+ !c.__s && C$1(i2.__H, u2) && (i2.__ = n2, i2.i = u2, r.__h.push(i2));
1722
1671
  }
1723
- function _(n2) {
1724
- return o = 5, F$1(function() {
1672
+ function A$1(n2) {
1673
+ return o = 5, T$1(function() {
1725
1674
  return { current: n2 };
1726
1675
  }, []);
1727
1676
  }
1728
- function A$1(n2, t2, r2) {
1729
- o = 6, y(function() {
1677
+ function F$1(n2, t2, r2) {
1678
+ o = 6, _(function() {
1730
1679
  return "function" == typeof n2 ? (n2(t2()), function() {
1731
1680
  return n2(null);
1732
1681
  }) : n2 ? (n2.current = t2(), function() {
@@ -1734,23 +1683,23 @@ function A$1(n2, t2, r2) {
1734
1683
  }) : void 0;
1735
1684
  }, null == r2 ? r2 : r2.concat(n2));
1736
1685
  }
1737
- function F$1(n2, r2) {
1686
+ function T$1(n2, r2) {
1738
1687
  var u2 = d(t++, 7);
1739
- return z$1(u2.__H, r2) ? (u2.__V = n2(), u2.i = r2, u2.__h = n2, u2.__V) : u2.__;
1688
+ return C$1(u2.__H, r2) && (u2.__ = n2(), u2.__H = r2, u2.__h = n2), u2.__;
1740
1689
  }
1741
- function T$1(n2, t2) {
1742
- return o = 8, F$1(function() {
1690
+ function q$1(n2, t2) {
1691
+ return o = 8, T$1(function() {
1743
1692
  return n2;
1744
1693
  }, t2);
1745
1694
  }
1746
- function q$1(n2) {
1695
+ function x$1(n2) {
1747
1696
  var u2 = r.context[n2.__c], i2 = d(t++, 9);
1748
1697
  return i2.c = n2, u2 ? (null == i2.__ && (i2.__ = true, u2.sub(r)), u2.props.value) : n2.__;
1749
1698
  }
1750
- function x$1(t2, r2) {
1751
- l$2.useDebugValue && l$2.useDebugValue(r2 ? r2(t2) : t2);
1699
+ function P$1(n2, t2) {
1700
+ c.useDebugValue && c.useDebugValue(t2 ? t2(n2) : n2);
1752
1701
  }
1753
- function P$1(n2) {
1702
+ function b(n2) {
1754
1703
  var u2 = d(t++, 10), i2 = h();
1755
1704
  return u2.__ = n2, r.componentDidCatch || (r.componentDidCatch = function(n3, t2) {
1756
1705
  u2.__ && u2.__(n3, t2), i2[1](n3);
@@ -1758,7 +1707,7 @@ function P$1(n2) {
1758
1707
  i2[1](void 0);
1759
1708
  }];
1760
1709
  }
1761
- function V$1() {
1710
+ function g$1() {
1762
1711
  var n2 = d(t++, 11);
1763
1712
  if (!n2.__) {
1764
1713
  for (var u2 = r.__v; null !== u2 && !u2.__m && null !== u2.__; )
@@ -1768,80 +1717,84 @@ function V$1() {
1768
1717
  }
1769
1718
  return n2.__;
1770
1719
  }
1771
- function b() {
1772
- for (var t2; t2 = f.shift(); )
1773
- if (t2.__P && t2.__H)
1720
+ function j$1() {
1721
+ for (var n2; n2 = f.shift(); )
1722
+ if (n2.__P && n2.__H)
1774
1723
  try {
1775
- t2.__H.__h.forEach(k$1), t2.__H.__h.forEach(w$1), t2.__H.__h = [];
1776
- } catch (r2) {
1777
- t2.__H.__h = [], l$2.__e(r2, t2.__v);
1724
+ n2.__H.__h.forEach(z$1), n2.__H.__h.forEach(B$1), n2.__H.__h = [];
1725
+ } catch (t2) {
1726
+ n2.__H.__h = [], c.__e(t2, n2.__v);
1778
1727
  }
1779
1728
  }
1780
- l$2.__b = function(n2) {
1729
+ c.__b = function(n2) {
1781
1730
  r = null, e && e(n2);
1782
- }, l$2.__r = function(n2) {
1731
+ }, c.__ = function(n2, t2) {
1732
+ n2 && t2.__k && t2.__k.__m && (n2.__m = t2.__k.__m), s && s(n2, t2);
1733
+ }, c.__r = function(n2) {
1783
1734
  a && a(n2), t = 0;
1784
1735
  var i2 = (r = n2.__c).__H;
1785
1736
  i2 && (u === r ? (i2.__h = [], r.__h = [], i2.__.forEach(function(n3) {
1786
- n3.__N && (n3.__ = n3.__N), n3.__V = c, n3.__N = n3.i = void 0;
1787
- })) : (i2.__h.forEach(k$1), i2.__h.forEach(w$1), i2.__h = [], t = 0)), u = r;
1788
- }, l$2.diffed = function(t2) {
1789
- v && v(t2);
1790
- var o2 = t2.__c;
1791
- o2 && o2.__H && (o2.__H.__h.length && (1 !== f.push(o2) && i === l$2.requestAnimationFrame || ((i = l$2.requestAnimationFrame) || j$1)(b)), o2.__H.__.forEach(function(n2) {
1792
- n2.i && (n2.__H = n2.i), n2.__V !== c && (n2.__ = n2.__V), n2.i = void 0, n2.__V = c;
1737
+ n3.__N && (n3.__ = n3.__N), n3.i = n3.__N = void 0;
1738
+ })) : (i2.__h.forEach(z$1), i2.__h.forEach(B$1), i2.__h = [], t = 0)), u = r;
1739
+ }, c.diffed = function(n2) {
1740
+ v && v(n2);
1741
+ var t2 = n2.__c;
1742
+ t2 && t2.__H && (t2.__H.__h.length && (1 !== f.push(t2) && i === c.requestAnimationFrame || ((i = c.requestAnimationFrame) || w$1)(j$1)), t2.__H.__.forEach(function(n3) {
1743
+ n3.i && (n3.__H = n3.i), n3.i = void 0;
1793
1744
  })), u = r = null;
1794
- }, l$2.__c = function(t2, r2) {
1795
- r2.some(function(t3) {
1745
+ }, c.__c = function(n2, t2) {
1746
+ t2.some(function(n3) {
1796
1747
  try {
1797
- t3.__h.forEach(k$1), t3.__h = t3.__h.filter(function(n2) {
1798
- return !n2.__ || w$1(n2);
1748
+ n3.__h.forEach(z$1), n3.__h = n3.__h.filter(function(n4) {
1749
+ return !n4.__ || B$1(n4);
1799
1750
  });
1800
- } catch (u2) {
1801
- r2.some(function(n2) {
1802
- n2.__h && (n2.__h = []);
1803
- }), r2 = [], l$2.__e(u2, t3.__v);
1751
+ } catch (r2) {
1752
+ t2.some(function(n4) {
1753
+ n4.__h && (n4.__h = []);
1754
+ }), t2 = [], c.__e(r2, n3.__v);
1804
1755
  }
1805
- }), l && l(t2, r2);
1806
- }, l$2.unmount = function(t2) {
1807
- m && m(t2);
1808
- var r2, u2 = t2.__c;
1809
- u2 && u2.__H && (u2.__H.__.forEach(function(n2) {
1756
+ }), l && l(n2, t2);
1757
+ }, c.unmount = function(n2) {
1758
+ m && m(n2);
1759
+ var t2, r2 = n2.__c;
1760
+ r2 && r2.__H && (r2.__H.__.forEach(function(n3) {
1810
1761
  try {
1811
- k$1(n2);
1812
- } catch (n3) {
1813
- r2 = n3;
1762
+ z$1(n3);
1763
+ } catch (n4) {
1764
+ t2 = n4;
1814
1765
  }
1815
- }), u2.__H = void 0, r2 && l$2.__e(r2, u2.__v));
1766
+ }), r2.__H = void 0, t2 && c.__e(t2, r2.__v));
1816
1767
  };
1817
- var g$1 = "function" == typeof requestAnimationFrame;
1818
- function j$1(n2) {
1768
+ var k$1 = "function" == typeof requestAnimationFrame;
1769
+ function w$1(n2) {
1819
1770
  var t2, r2 = function() {
1820
- clearTimeout(u2), g$1 && cancelAnimationFrame(t2), setTimeout(n2);
1771
+ clearTimeout(u2), k$1 && cancelAnimationFrame(t2), setTimeout(n2);
1821
1772
  }, u2 = setTimeout(r2, 100);
1822
- g$1 && (t2 = requestAnimationFrame(r2));
1773
+ k$1 && (t2 = requestAnimationFrame(r2));
1823
1774
  }
1824
- function k$1(n2) {
1775
+ function z$1(n2) {
1825
1776
  var t2 = r, u2 = n2.__c;
1826
1777
  "function" == typeof u2 && (n2.__c = void 0, u2()), r = t2;
1827
1778
  }
1828
- function w$1(n2) {
1779
+ function B$1(n2) {
1829
1780
  var t2 = r;
1830
1781
  n2.__c = n2.__(), r = t2;
1831
1782
  }
1832
- function z$1(n2, t2) {
1783
+ function C$1(n2, t2) {
1833
1784
  return !n2 || n2.length !== t2.length || t2.some(function(t3, r2) {
1834
1785
  return t3 !== n2[r2];
1835
1786
  });
1836
1787
  }
1837
- function B$1(n2, t2) {
1788
+ function D$1(n2, t2) {
1838
1789
  return "function" == typeof t2 ? t2(n2) : t2;
1839
1790
  }
1840
1791
  const cacheKey = (value) => {
1841
- const filterString = Object.entries(value.filter).sort(([key1], [key2]) => key1.localeCompare(key2)).map(([key, value2]) => {
1842
- var _a;
1843
- return (value2 == null ? void 0 : value2.select) === "many" ? `${key}=${(_a = value2.value) == null ? void 0 : _a.sort().join("|")}` : `${key}=${value2 == null ? void 0 : value2.value}`;
1844
- }).join("&");
1792
+ const filterString = Object.entries(value.filter).sort(([key1], [key2]) => key1.localeCompare(key2)).map(
1793
+ ([key, value2]) => {
1794
+ var _a;
1795
+ return (value2 == null ? void 0 : value2.select) === "many" ? `${key}=${(_a = value2.value) == null ? void 0 : _a.sort().join("|")}` : `${key}=${value2 == null ? void 0 : value2.value}`;
1796
+ }
1797
+ ).join("&");
1845
1798
  return `${value.baseKey}::${filterString}`;
1846
1799
  };
1847
1800
  const jobSearch = "";
@@ -1862,37 +1815,30 @@ const AlertsButton = ({
1862
1815
  appliedFilters
1863
1816
  }) => {
1864
1817
  const [plugin, setPlugin] = h();
1865
- p(() => {
1866
- import("./plugin-job-alerts-2dab76ff.js").then((m2) => setPlugin(m2.jobAlertsPlugin()({
1867
- analytics,
1868
- apiClient,
1869
- logger
1870
- })));
1818
+ y(() => {
1819
+ import("./plugin-job-alerts-ddf07a02.js").then((m2) => setPlugin(m2.jobAlertsPlugin()({ analytics, apiClient, logger })));
1871
1820
  }, [analytics, apiClient, logger]);
1872
- p(() => {
1821
+ y(() => {
1873
1822
  plugin == null ? void 0 : plugin.render({
1874
1823
  config: {
1875
1824
  label: "Create alert",
1876
- headerText: "asd"
1825
+ headerText: "You will be alerted for new jobs matching the filters currently set"
1877
1826
  },
1878
1827
  initialFilters: {},
1879
1828
  theme
1880
1829
  });
1881
1830
  });
1882
- p(() => {
1831
+ y(() => {
1883
1832
  plugin == null ? void 0 : plugin.setFilters(getFilterValues(appliedFilters));
1884
1833
  }, [appliedFilters, plugin]);
1885
- return u$1("div", {
1886
- id: "inploi-job-alerts",
1887
- class: "min-h-[36px]"
1888
- });
1834
+ return /* @__PURE__ */ u$1("div", { id: "inploi-job-alerts", class: "min-h-[36px]" });
1889
1835
  };
1890
1836
  function g(n2, t2) {
1891
1837
  for (var e2 in t2)
1892
1838
  n2[e2] = t2[e2];
1893
1839
  return n2;
1894
1840
  }
1895
- function C(n2, t2) {
1841
+ function E(n2, t2) {
1896
1842
  for (var e2 in n2)
1897
1843
  if ("__source" !== e2 && !(e2 in t2))
1898
1844
  return true;
@@ -1901,73 +1847,73 @@ function C(n2, t2) {
1901
1847
  return true;
1902
1848
  return false;
1903
1849
  }
1904
- function E(n2) {
1905
- this.props = n2;
1850
+ function C(n2, t2) {
1851
+ this.props = n2, this.context = t2;
1906
1852
  }
1907
- function w(n2, e2) {
1853
+ function x(n2, e2) {
1908
1854
  function r2(n3) {
1909
1855
  var t2 = this.props.ref, r3 = t2 == n3.ref;
1910
- return !r3 && t2 && (t2.call ? t2(null) : t2.current = null), e2 ? !e2(this.props, n3) || !r3 : C(this.props, n3);
1856
+ return !r3 && t2 && (t2.call ? t2(null) : t2.current = null), e2 ? !e2(this.props, n3) || !r3 : E(this.props, n3);
1911
1857
  }
1912
1858
  function u2(e3) {
1913
- return this.shouldComponentUpdate = r2, y$2(n2, e3);
1859
+ return this.shouldComponentUpdate = r2, _$1(n2, e3);
1914
1860
  }
1915
1861
  return u2.displayName = "Memo(" + (n2.displayName || n2.name) + ")", u2.prototype.isReactComponent = true, u2.__f = true, u2;
1916
1862
  }
1917
- (E.prototype = new b$2()).isPureReactComponent = true, E.prototype.shouldComponentUpdate = function(n2, t2) {
1918
- return C(this.props, n2) || C(this.state, t2);
1863
+ (C.prototype = new b$2()).isPureReactComponent = true, C.prototype.shouldComponentUpdate = function(n2, t2) {
1864
+ return E(this.props, n2) || E(this.state, t2);
1919
1865
  };
1920
- var x = l$2.__b;
1866
+ var R = l$2.__b;
1921
1867
  l$2.__b = function(n2) {
1922
- n2.type && n2.type.__f && n2.ref && (n2.props.ref = n2.ref, n2.ref = null), x && x(n2);
1868
+ n2.type && n2.type.__f && n2.ref && (n2.props.ref = n2.ref, n2.ref = null), R && R(n2);
1923
1869
  };
1924
- var R = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.forward_ref") || 3911;
1925
- function N(n2) {
1870
+ var w = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.forward_ref") || 3911;
1871
+ function k(n2) {
1926
1872
  function t2(t3) {
1927
1873
  var e2 = g({}, t3);
1928
1874
  return delete e2.ref, n2(e2, t3.ref || null);
1929
1875
  }
1930
- return t2.$$typeof = R, t2.render = t2, t2.prototype.isReactComponent = t2.__f = true, t2.displayName = "ForwardRef(" + (n2.displayName || n2.name) + ")", t2;
1876
+ return t2.$$typeof = w, t2.render = t2, t2.prototype.isReactComponent = t2.__f = true, t2.displayName = "ForwardRef(" + (n2.displayName || n2.name) + ")", t2;
1931
1877
  }
1932
- var k = function(n2, t2) {
1933
- return null == n2 ? null : $$1($$1(n2).map(t2));
1934
- }, A = { map: k, forEach: k, count: function(n2) {
1935
- return n2 ? $$1(n2).length : 0;
1878
+ var I = function(n2, t2) {
1879
+ return null == n2 ? null : H$1(H$1(n2).map(t2));
1880
+ }, N = { map: I, forEach: I, count: function(n2) {
1881
+ return n2 ? H$1(n2).length : 0;
1936
1882
  }, only: function(n2) {
1937
- var t2 = $$1(n2);
1883
+ var t2 = H$1(n2);
1938
1884
  if (1 !== t2.length)
1939
1885
  throw "Children.only";
1940
1886
  return t2[0];
1941
- }, toArray: $$1 }, O = l$2.__e;
1887
+ }, toArray: H$1 }, M = l$2.__e;
1942
1888
  l$2.__e = function(n2, t2, e2, r2) {
1943
1889
  if (n2.then) {
1944
1890
  for (var u2, o2 = t2; o2 = o2.__; )
1945
1891
  if ((u2 = o2.__c) && u2.__c)
1946
1892
  return null == t2.__e && (t2.__e = e2.__e, t2.__k = e2.__k), u2.__c(n2, t2);
1947
1893
  }
1948
- O(n2, t2, e2, r2);
1894
+ M(n2, t2, e2, r2);
1949
1895
  };
1950
1896
  var T = l$2.unmount;
1951
- function F(n2, t2, e2) {
1897
+ function A(n2, t2, e2) {
1952
1898
  return n2 && (n2.__c && n2.__c.__H && (n2.__c.__H.__.forEach(function(n3) {
1953
1899
  "function" == typeof n3.__c && n3.__c();
1954
1900
  }), n2.__c.__H = null), null != (n2 = g({}, n2)).__c && (n2.__c.__P === e2 && (n2.__c.__P = t2), n2.__c = null), n2.__k = n2.__k && n2.__k.map(function(n3) {
1955
- return F(n3, t2, e2);
1901
+ return A(n3, t2, e2);
1956
1902
  })), n2;
1957
1903
  }
1958
- function I(n2, t2, e2) {
1904
+ function D(n2, t2, e2) {
1959
1905
  return n2 && e2 && (n2.__v = null, n2.__k = n2.__k && n2.__k.map(function(n3) {
1960
- return I(n3, t2, e2);
1906
+ return D(n3, t2, e2);
1961
1907
  }), n2.__c && n2.__c.__P === t2 && (n2.__e && e2.appendChild(n2.__e), n2.__c.__e = true, n2.__c.__P = e2)), n2;
1962
1908
  }
1963
1909
  function L() {
1964
1910
  this.__u = 0, this.t = null, this.__b = null;
1965
1911
  }
1966
- function U(n2) {
1912
+ function O(n2) {
1967
1913
  var t2 = n2.__.__c;
1968
1914
  return t2 && t2.__a && t2.__a(n2);
1969
1915
  }
1970
- function D(n2) {
1916
+ function F(n2) {
1971
1917
  var e2, r2, u2;
1972
1918
  function o2(o3) {
1973
1919
  if (e2 || (e2 = n2()).then(function(n3) {
@@ -1978,11 +1924,11 @@ function D(n2) {
1978
1924
  throw u2;
1979
1925
  if (!r2)
1980
1926
  throw e2;
1981
- return y$2(r2, o3);
1927
+ return _$1(r2, o3);
1982
1928
  }
1983
1929
  return o2.displayName = "Lazy", o2.__f = true, o2;
1984
1930
  }
1985
- function M() {
1931
+ function U() {
1986
1932
  this.u = null, this.o = null;
1987
1933
  }
1988
1934
  l$2.unmount = function(n2) {
@@ -1991,15 +1937,15 @@ l$2.unmount = function(n2) {
1991
1937
  }, (L.prototype = new b$2()).__c = function(n2, t2) {
1992
1938
  var e2 = t2.__c, r2 = this;
1993
1939
  null == r2.t && (r2.t = []), r2.t.push(e2);
1994
- var u2 = U(r2.__v), o2 = false, i2 = function() {
1995
- o2 || (o2 = true, e2.__R = null, u2 ? u2(l2) : l2());
1940
+ var u2 = O(r2.__v), o2 = false, i2 = function() {
1941
+ o2 || (o2 = true, e2.__R = null, u2 ? u2(c2) : c2());
1996
1942
  };
1997
1943
  e2.__R = i2;
1998
- var l2 = function() {
1944
+ var c2 = function() {
1999
1945
  if (!--r2.__u) {
2000
1946
  if (r2.state.__a) {
2001
1947
  var n3 = r2.state.__a;
2002
- r2.__v.__k[0] = I(n3, n3.__c.__P, n3.__c.__O);
1948
+ r2.__v.__k[0] = D(n3, n3.__c.__P, n3.__c.__O);
2003
1949
  }
2004
1950
  var t3;
2005
1951
  for (r2.setState({ __a: r2.__b = null }); t3 = r2.t.pop(); )
@@ -2013,12 +1959,12 @@ l$2.unmount = function(n2) {
2013
1959
  if (this.__b) {
2014
1960
  if (this.__v.__k) {
2015
1961
  var r2 = document.createElement("div"), o2 = this.__v.__k[0].__c;
2016
- this.__v.__k[0] = F(this.__b, r2, o2.__O = o2.__P);
1962
+ this.__v.__k[0] = A(this.__b, r2, o2.__O = o2.__P);
2017
1963
  }
2018
1964
  this.__b = null;
2019
1965
  }
2020
- var i2 = e2.__a && y$2(g$3, null, n2.fallback);
2021
- return i2 && (i2.__u &= -33), [y$2(g$3, null, e2.__a ? null : n2.children), i2];
1966
+ var i2 = e2.__a && _$1(k$3, null, n2.fallback);
1967
+ return i2 && (i2.__u &= -33), [_$1(k$3, null, e2.__a ? null : n2.children), i2];
2022
1968
  };
2023
1969
  var V = function(n2, t2, e2) {
2024
1970
  if (++e2[1] === e2[0] && n2.o.delete(t2), n2.props.revealOrder && ("t" !== n2.props.revealOrder[0] || !n2.o.size))
@@ -2038,35 +1984,37 @@ function W(n2) {
2038
1984
  function P(n2) {
2039
1985
  var e2 = this, r2 = n2.i;
2040
1986
  e2.componentWillUnmount = function() {
2041
- q$2(null, e2.l), e2.l = null, e2.i = null;
2042
- }, e2.i && e2.i !== r2 && e2.componentWillUnmount(), e2.l || (e2.i = r2, e2.l = { nodeType: 1, parentNode: r2, childNodes: [], appendChild: function(n3) {
1987
+ B$2(null, e2.l), e2.l = null, e2.i = null;
1988
+ }, e2.i && e2.i !== r2 && e2.componentWillUnmount(), e2.l || (e2.i = r2, e2.l = { nodeType: 1, parentNode: r2, childNodes: [], contains: function() {
1989
+ return true;
1990
+ }, appendChild: function(n3) {
2043
1991
  this.childNodes.push(n3), e2.i.appendChild(n3);
2044
1992
  }, insertBefore: function(n3, t2) {
2045
1993
  this.childNodes.push(n3), e2.i.appendChild(n3);
2046
1994
  }, removeChild: function(n3) {
2047
1995
  this.childNodes.splice(this.childNodes.indexOf(n3) >>> 1, 1), e2.i.removeChild(n3);
2048
- } }), q$2(y$2(W, { context: e2.context }, n2.__v), e2.l);
1996
+ } }), B$2(_$1(W, { context: e2.context }, n2.__v), e2.l);
2049
1997
  }
2050
1998
  function j(n2, e2) {
2051
- var r2 = y$2(P, { __v: n2, i: e2 });
1999
+ var r2 = _$1(P, { __v: n2, i: e2 });
2052
2000
  return r2.containerInfo = e2, r2;
2053
2001
  }
2054
- (M.prototype = new b$2()).__a = function(n2) {
2055
- var t2 = this, e2 = U(t2.__v), r2 = t2.o.get(n2);
2002
+ (U.prototype = new b$2()).__a = function(n2) {
2003
+ var t2 = this, e2 = O(t2.__v), r2 = t2.o.get(n2);
2056
2004
  return r2[0]++, function(u2) {
2057
2005
  var o2 = function() {
2058
2006
  t2.props.revealOrder ? (r2.push(u2), V(t2, n2, r2)) : u2();
2059
2007
  };
2060
2008
  e2 ? e2(o2) : o2();
2061
2009
  };
2062
- }, M.prototype.render = function(n2) {
2010
+ }, U.prototype.render = function(n2) {
2063
2011
  this.u = null, this.o = /* @__PURE__ */ new Map();
2064
- var t2 = $$1(n2.children);
2012
+ var t2 = H$1(n2.children);
2065
2013
  n2.revealOrder && "b" === n2.revealOrder[0] && t2.reverse();
2066
2014
  for (var e2 = t2.length; e2--; )
2067
2015
  this.o.set(t2[e2], this.u = [1, 0, this.u]);
2068
2016
  return n2.children;
2069
- }, M.prototype.componentDidUpdate = M.prototype.componentDidMount = function() {
2017
+ }, U.prototype.componentDidUpdate = U.prototype.componentDidMount = function() {
2070
2018
  var n2 = this;
2071
2019
  this.o.forEach(function(t2, e2) {
2072
2020
  V(n2, e2, t2);
@@ -2076,10 +2024,10 @@ var z = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.element"
2076
2024
  return ("undefined" != typeof Symbol && "symbol" == typeof Symbol() ? /fil|che|rad/ : /fil|che|ra/).test(n2);
2077
2025
  };
2078
2026
  function q(n2, t2, e2) {
2079
- return null == t2.__k && (t2.textContent = ""), q$2(n2, t2), "function" == typeof e2 && e2(), n2 ? n2.__c : null;
2027
+ return null == t2.__k && (t2.textContent = ""), B$2(n2, t2), "function" == typeof e2 && e2(), n2 ? n2.__c : null;
2080
2028
  }
2081
2029
  function G(n2, t2, e2) {
2082
- return B$2(n2, t2), "function" == typeof e2 && e2(), n2 ? n2.__c : null;
2030
+ return D$3(n2, t2), "function" == typeof e2 && e2(), n2 ? n2.__c : null;
2083
2031
  }
2084
2032
  b$2.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(t2) {
2085
2033
  Object.defineProperty(b$2.prototype, t2, { configurable: true, get: function() {
@@ -2109,13 +2057,13 @@ l$2.vnode = function(n2) {
2109
2057
  for (var o2 in t2) {
2110
2058
  var i2 = t2[o2];
2111
2059
  if (!("value" === o2 && "defaultValue" in t2 && null == i2 || Y && "children" === o2 && "noscript" === e2 || "class" === o2 || "className" === o2)) {
2112
- var l2 = o2.toLowerCase();
2113
- "defaultValue" === o2 && "value" in t2 && null == t2.value ? o2 = "value" : "download" === o2 && true === i2 ? i2 = "" : "ondoubleclick" === l2 ? o2 = "ondblclick" : "onchange" !== l2 || "input" !== e2 && "textarea" !== e2 || $(t2.type) ? "onfocus" === l2 ? o2 = "onfocusin" : "onblur" === l2 ? o2 = "onfocusout" : H.test(o2) ? o2 = l2 : -1 === e2.indexOf("-") && B.test(o2) ? o2 = o2.replace(Z, "-$&").toLowerCase() : null === i2 && (i2 = void 0) : l2 = o2 = "oninput", "oninput" === l2 && u2[o2 = l2] && (o2 = "oninputCapture"), u2[o2] = i2;
2060
+ var c2 = o2.toLowerCase();
2061
+ "defaultValue" === o2 && "value" in t2 && null == t2.value ? o2 = "value" : "download" === o2 && true === i2 ? i2 = "" : "translate" === c2 && "no" === i2 ? i2 = false : "ondoubleclick" === c2 ? o2 = "ondblclick" : "onchange" !== c2 || "input" !== e2 && "textarea" !== e2 || $(t2.type) ? "onfocus" === c2 ? o2 = "onfocusin" : "onblur" === c2 ? o2 = "onfocusout" : H.test(o2) ? o2 = c2 : -1 === e2.indexOf("-") && B.test(o2) ? o2 = o2.replace(Z, "-$&").toLowerCase() : null === i2 && (i2 = void 0) : c2 = o2 = "oninput", "oninput" === c2 && u2[o2 = c2] && (o2 = "oninputCapture"), u2[o2] = i2;
2114
2062
  }
2115
2063
  }
2116
- "select" == e2 && u2.multiple && Array.isArray(u2.value) && (u2.value = $$1(t2.children).forEach(function(n4) {
2064
+ "select" == e2 && u2.multiple && Array.isArray(u2.value) && (u2.value = H$1(t2.children).forEach(function(n4) {
2117
2065
  n4.props.selected = -1 != u2.value.indexOf(n4.props.value);
2118
- })), "select" == e2 && null != u2.defaultValue && (u2.value = $$1(t2.children).forEach(function(n4) {
2066
+ })), "select" == e2 && null != u2.defaultValue && (u2.value = H$1(t2.children).forEach(function(n4) {
2119
2067
  n4.props.selected = u2.multiple ? -1 != u2.defaultValue.indexOf(n4.props.value) : u2.defaultValue == n4.props.value;
2120
2068
  })), t2.class && !t2.className ? (u2.class = t2.class, Object.defineProperty(u2, "className", tn)) : (t2.className && !t2.class || t2.class && t2.className) && (u2.class = u2.className = t2.className), n3.props = u2;
2121
2069
  }(n2), n2.$$typeof = z, en && en(n2);
@@ -2132,51 +2080,54 @@ l$2.diffed = function(n2) {
2132
2080
  };
2133
2081
  var on = { ReactCurrentDispatcher: { current: { readContext: function(n2) {
2134
2082
  return nn.__n[n2.__c].props.value;
2135
- } } } }, ln = "17.0.2";
2136
- function cn(n2) {
2137
- return y$2.bind(null, n2);
2083
+ }, useCallback: q$1, useContext: x$1, useDebugValue: P$1, useDeferredValue: bn, useEffect: y, useId: g$1, useImperativeHandle: F$1, useInsertionEffect: gn, useLayoutEffect: _, useMemo: T$1, useReducer: p, useRef: A$1, useState: h, useSyncExternalStore: Cn, useTransition: Sn } } }, cn = "17.0.2";
2084
+ function ln(n2) {
2085
+ return _$1.bind(null, n2);
2138
2086
  }
2139
2087
  function fn(n2) {
2140
2088
  return !!n2 && n2.$$typeof === z;
2141
2089
  }
2142
2090
  function an(n2) {
2143
- return fn(n2) && n2.type === g$3;
2091
+ return fn(n2) && n2.type === k$3;
2144
2092
  }
2145
2093
  function sn(n2) {
2146
- return fn(n2) ? E$1.apply(null, arguments) : n2;
2094
+ return !!n2 && !!n2.displayName && ("string" == typeof n2.displayName || n2.displayName instanceof String) && n2.displayName.startsWith("Memo(");
2147
2095
  }
2148
2096
  function hn(n2) {
2149
- return !!n2.__k && (q$2(null, n2), true);
2097
+ return fn(n2) ? E$2.apply(null, arguments) : n2;
2150
2098
  }
2151
2099
  function vn(n2) {
2100
+ return !!n2.__k && (B$2(null, n2), true);
2101
+ }
2102
+ function dn(n2) {
2152
2103
  return n2 && (n2.base || 1 === n2.nodeType && n2) || null;
2153
2104
  }
2154
- var dn = function(n2, t2) {
2105
+ var pn = function(n2, t2) {
2155
2106
  return n2(t2);
2156
- }, pn = function(n2, t2) {
2107
+ }, mn = function(n2, t2) {
2157
2108
  return n2(t2);
2158
- }, mn = g$3;
2159
- function yn(n2) {
2109
+ }, yn = k$3;
2110
+ function _n(n2) {
2160
2111
  n2();
2161
2112
  }
2162
- function _n(n2) {
2113
+ function bn(n2) {
2163
2114
  return n2;
2164
2115
  }
2165
- function bn() {
2166
- return [false, yn];
2116
+ function Sn() {
2117
+ return [false, _n];
2167
2118
  }
2168
- var Sn = y, gn = fn;
2119
+ var gn = _, En = fn;
2169
2120
  function Cn(n2, t2) {
2170
2121
  var e2 = t2(), r2 = h({ h: { __: e2, v: t2 } }), u2 = r2[0].h, o2 = r2[1];
2171
- return y(function() {
2172
- u2.__ = e2, u2.v = t2, En(u2) && o2({ h: u2 });
2173
- }, [n2, e2, t2]), p(function() {
2174
- return En(u2) && o2({ h: u2 }), n2(function() {
2175
- En(u2) && o2({ h: u2 });
2122
+ return _(function() {
2123
+ u2.__ = e2, u2.v = t2, xn(u2) && o2({ h: u2 });
2124
+ }, [n2, e2, t2]), y(function() {
2125
+ return xn(u2) && o2({ h: u2 }), n2(function() {
2126
+ xn(u2) && o2({ h: u2 });
2176
2127
  });
2177
2128
  }, [n2]), e2;
2178
2129
  }
2179
- function En(n2) {
2130
+ function xn(n2) {
2180
2131
  var t2, e2, r2 = n2.v, u2 = n2.__;
2181
2132
  try {
2182
2133
  var o2 = r2();
@@ -2185,55 +2136,60 @@ function En(n2) {
2185
2136
  return true;
2186
2137
  }
2187
2138
  }
2188
- var wn = { useState: h, useId: V$1, useReducer: s, useEffect: p, useLayoutEffect: y, useInsertionEffect: Sn, useTransition: bn, useDeferredValue: _n, useSyncExternalStore: Cn, startTransition: yn, useRef: _, useImperativeHandle: A$1, useMemo: F$1, useCallback: T$1, useContext: q$1, useDebugValue: x$1, version: "17.0.2", Children: A, render: q, hydrate: G, unmountComponentAtNode: hn, createPortal: j, createElement: y$2, createContext: F$2, createFactory: cn, cloneElement: sn, createRef: _$2, Fragment: g$3, isValidElement: fn, isElement: gn, isFragment: an, findDOMNode: vn, Component: b$2, PureComponent: E, memo: w, forwardRef: N, flushSync: pn, unstable_batchedUpdates: dn, StrictMode: mn, Suspense: L, SuspenseList: M, lazy: D, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: on };
2139
+ var Rn = { useState: h, useId: g$1, useReducer: p, useEffect: y, useLayoutEffect: _, useInsertionEffect: gn, useTransition: Sn, useDeferredValue: bn, useSyncExternalStore: Cn, startTransition: _n, useRef: A$1, useImperativeHandle: F$1, useMemo: T$1, useCallback: q$1, useContext: x$1, useDebugValue: P$1, version: "17.0.2", Children: N, render: q, hydrate: G, unmountComponentAtNode: vn, createPortal: j, createElement: _$1, createContext: G$1, createFactory: ln, cloneElement: hn, createRef: m$1, Fragment: k$3, isValidElement: fn, isElement: En, isFragment: an, isMemo: sn, findDOMNode: dn, Component: b$2, PureComponent: C, memo: x, forwardRef: k, flushSync: mn, unstable_batchedUpdates: pn, StrictMode: yn, Suspense: L, SuspenseList: U, lazy: F, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: on };
2189
2140
  const compat_module = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2190
2141
  __proto__: null,
2191
- Children: A,
2142
+ Children: N,
2192
2143
  Component: b$2,
2193
- Fragment: g$3,
2194
- PureComponent: E,
2195
- StrictMode: mn,
2144
+ Fragment: k$3,
2145
+ PureComponent: C,
2146
+ StrictMode: yn,
2196
2147
  Suspense: L,
2197
- SuspenseList: M,
2148
+ SuspenseList: U,
2198
2149
  __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: on,
2199
- cloneElement: sn,
2200
- createContext: F$2,
2201
- createElement: y$2,
2202
- createFactory: cn,
2150
+ cloneElement: hn,
2151
+ createContext: G$1,
2152
+ createElement: _$1,
2153
+ createFactory: ln,
2203
2154
  createPortal: j,
2204
- createRef: _$2,
2205
- default: wn,
2206
- findDOMNode: vn,
2207
- flushSync: pn,
2208
- forwardRef: N,
2155
+ createRef: m$1,
2156
+ default: Rn,
2157
+ findDOMNode: dn,
2158
+ flushSync: mn,
2159
+ forwardRef: k,
2209
2160
  hydrate: G,
2210
- isElement: gn,
2161
+ isElement: En,
2211
2162
  isFragment: an,
2163
+ isMemo: sn,
2212
2164
  isValidElement: fn,
2213
- lazy: D,
2214
- memo: w,
2165
+ lazy: F,
2166
+ memo: x,
2215
2167
  render: q,
2216
- startTransition: yn,
2217
- unmountComponentAtNode: hn,
2218
- unstable_batchedUpdates: dn,
2219
- useCallback: T$1,
2220
- useContext: q$1,
2221
- useDebugValue: x$1,
2222
- useDeferredValue: _n,
2223
- useEffect: p,
2224
- useErrorBoundary: P$1,
2225
- useId: V$1,
2226
- useImperativeHandle: A$1,
2227
- useInsertionEffect: Sn,
2228
- useLayoutEffect: y,
2229
- useMemo: F$1,
2230
- useReducer: s,
2231
- useRef: _,
2168
+ startTransition: _n,
2169
+ unmountComponentAtNode: vn,
2170
+ unstable_batchedUpdates: pn,
2171
+ useCallback: q$1,
2172
+ useContext: x$1,
2173
+ useDebugValue: P$1,
2174
+ useDeferredValue: bn,
2175
+ useEffect: y,
2176
+ useErrorBoundary: b,
2177
+ useId: g$1,
2178
+ useImperativeHandle: F$1,
2179
+ useInsertionEffect: gn,
2180
+ useLayoutEffect: _,
2181
+ useMemo: T$1,
2182
+ useReducer: p,
2183
+ useRef: A$1,
2232
2184
  useState: h,
2233
2185
  useSyncExternalStore: Cn,
2234
- useTransition: bn,
2235
- version: ln
2186
+ useTransition: Sn,
2187
+ version: cn
2236
2188
  }, Symbol.toStringTag, { value: "Module" }));
2189
+ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
2190
+ function getDefaultExportFromCjs(x2) {
2191
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
2192
+ }
2237
2193
  function getAugmentedNamespace(n2) {
2238
2194
  if (n2.__esModule)
2239
2195
  return n2;
@@ -2460,12 +2416,12 @@ const UNDEFINED = (
2460
2416
  );
2461
2417
  const OBJECT = Object;
2462
2418
  const isUndefined = (v2) => v2 === UNDEFINED;
2463
- const isFunction = (v2) => typeof v2 == "function";
2419
+ const isFunction$2 = (v2) => typeof v2 == "function";
2464
2420
  const mergeObjects = (a2, b2) => ({
2465
2421
  ...a2,
2466
2422
  ...b2
2467
2423
  });
2468
- const isPromiseLike = (x2) => isFunction(x2.then);
2424
+ const isPromiseLike = (x2) => isFunction$2(x2.then);
2469
2425
  const table = /* @__PURE__ */ new WeakMap();
2470
2426
  let counter = 0;
2471
2427
  const stableHash = (arg) => {
@@ -2584,17 +2540,17 @@ const defaultConfigOptions = {
2584
2540
  initFocus,
2585
2541
  initReconnect
2586
2542
  };
2587
- const IS_REACT_LEGACY = !wn.useId;
2543
+ const IS_REACT_LEGACY = !Rn.useId;
2588
2544
  const IS_SERVER = !isWindowDefined || "Deno" in window;
2589
2545
  const rAF = (f2) => hasRequestAnimationFrame() ? window["requestAnimationFrame"](f2) : setTimeout(f2, 1);
2590
- const useIsomorphicLayoutEffect = IS_SERVER ? p : y;
2546
+ const useIsomorphicLayoutEffect = IS_SERVER ? y : _;
2591
2547
  const navigatorConnection = typeof navigator !== "undefined" && navigator.connection;
2592
2548
  const slowConnection = !IS_SERVER && navigatorConnection && ([
2593
2549
  "slow-2g",
2594
2550
  "2g"
2595
2551
  ].includes(navigatorConnection.effectiveType) || navigatorConnection.saveData);
2596
2552
  const serialize = (key) => {
2597
- if (isFunction(key)) {
2553
+ if (isFunction$2(key)) {
2598
2554
  try {
2599
2555
  key = key();
2600
2556
  } catch (err) {
@@ -2632,12 +2588,11 @@ async function internalMutate(...args) {
2632
2588
  let populateCache = options.populateCache;
2633
2589
  const rollbackOnErrorOption = options.rollbackOnError;
2634
2590
  let optimisticData = options.optimisticData;
2635
- const revalidate = options.revalidate !== false;
2636
2591
  const rollbackOnError = (error) => {
2637
2592
  return typeof rollbackOnErrorOption === "function" ? rollbackOnErrorOption(error) : rollbackOnErrorOption !== false;
2638
2593
  };
2639
2594
  const throwOnError = options.throwOnError;
2640
- if (isFunction(_key)) {
2595
+ if (isFunction$2(_key)) {
2641
2596
  const keyFilter = _key;
2642
2597
  const matchedKeys = [];
2643
2598
  const it = cache2.keys();
@@ -2656,18 +2611,19 @@ async function internalMutate(...args) {
2656
2611
  const [key] = serialize(_k);
2657
2612
  if (!key)
2658
2613
  return;
2659
- const [get, set] = createCacheHelper(cache2, key);
2614
+ const [get2, set] = createCacheHelper(cache2, key);
2660
2615
  const [EVENT_REVALIDATORS, MUTATION, FETCH, PRELOAD] = SWRGlobalState.get(cache2);
2661
2616
  const startRevalidate = () => {
2662
2617
  const revalidators = EVENT_REVALIDATORS[key];
2618
+ const revalidate = isFunction$2(options.revalidate) ? options.revalidate(get2().data, _k) : options.revalidate !== false;
2663
2619
  if (revalidate) {
2664
2620
  delete FETCH[key];
2665
2621
  delete PRELOAD[key];
2666
2622
  if (revalidators && revalidators[0]) {
2667
- return revalidators[0](MUTATE_EVENT).then(() => get().data);
2623
+ return revalidators[0](MUTATE_EVENT).then(() => get2().data);
2668
2624
  }
2669
2625
  }
2670
- return get().data;
2626
+ return get2().data;
2671
2627
  };
2672
2628
  if (args.length < 3) {
2673
2629
  return startRevalidate();
@@ -2680,18 +2636,18 @@ async function internalMutate(...args) {
2680
2636
  0
2681
2637
  ];
2682
2638
  const hasOptimisticData = !isUndefined(optimisticData);
2683
- const state = get();
2639
+ const state = get2();
2684
2640
  const displayedData = state.data;
2685
2641
  const currentData = state._c;
2686
2642
  const committedData = isUndefined(currentData) ? displayedData : currentData;
2687
2643
  if (hasOptimisticData) {
2688
- optimisticData = isFunction(optimisticData) ? optimisticData(committedData, displayedData) : optimisticData;
2644
+ optimisticData = isFunction$2(optimisticData) ? optimisticData(committedData, displayedData) : optimisticData;
2689
2645
  set({
2690
2646
  data: optimisticData,
2691
2647
  _c: committedData
2692
2648
  });
2693
2649
  }
2694
- if (isFunction(data)) {
2650
+ if (isFunction$2(data)) {
2695
2651
  try {
2696
2652
  data = data(committedData);
2697
2653
  } catch (err) {
@@ -2716,7 +2672,7 @@ async function internalMutate(...args) {
2716
2672
  }
2717
2673
  if (populateCache) {
2718
2674
  if (!error) {
2719
- if (isFunction(populateCache)) {
2675
+ if (isFunction$2(populateCache)) {
2720
2676
  const populateCachedData = populateCache(data, committedData);
2721
2677
  set({
2722
2678
  data: populateCachedData,
@@ -2862,17 +2818,17 @@ const mergeConfigs = (a2, b2) => {
2862
2818
  }
2863
2819
  return v2;
2864
2820
  };
2865
- const SWRConfigContext = F$2({});
2821
+ const SWRConfigContext = G$1({});
2866
2822
  const INFINITE_PREFIX = "$inf$";
2867
2823
  const enableDevtools = isWindowDefined && window.__SWR_DEVTOOLS_USE__;
2868
2824
  const use$1 = enableDevtools ? window.__SWR_DEVTOOLS_USE__ : [];
2869
2825
  const setupDevTools = () => {
2870
2826
  if (enableDevtools) {
2871
- window.__SWR_DEVTOOLS_REACT__ = wn;
2827
+ window.__SWR_DEVTOOLS_REACT__ = Rn;
2872
2828
  }
2873
2829
  };
2874
2830
  const normalize = (args) => {
2875
- return isFunction(args[1]) ? [
2831
+ return isFunction$2(args[1]) ? [
2876
2832
  args[0],
2877
2833
  args[1],
2878
2834
  args[2] || {}
@@ -2883,7 +2839,7 @@ const normalize = (args) => {
2883
2839
  ];
2884
2840
  };
2885
2841
  const useSWRConfig = () => {
2886
- return mergeObjects(defaultConfig, q$1(SWRConfigContext));
2842
+ return mergeObjects(defaultConfig, x$1(SWRConfigContext));
2887
2843
  };
2888
2844
  const middleware = (useSWRNext) => (key_, fetcher_, config) => {
2889
2845
  const fetcher = fetcher_ && ((...args) => {
@@ -2927,7 +2883,7 @@ const subscribeCallback = (key, callbacks, callback) => {
2927
2883
  };
2928
2884
  };
2929
2885
  setupDevTools();
2930
- const use = wn.use || ((promise) => {
2886
+ const use = Rn.use || ((promise) => {
2931
2887
  if (promise.status === "pending") {
2932
2888
  throw promise;
2933
2889
  } else if (promise.status === "fulfilled") {
@@ -2953,15 +2909,15 @@ const useSWRHandler = (_key, fetcher, config) => {
2953
2909
  const { cache: cache2, compare: compare2, suspense, fallbackData, revalidateOnMount, revalidateIfStale, refreshInterval, refreshWhenHidden, refreshWhenOffline, keepPreviousData } = config;
2954
2910
  const [EVENT_REVALIDATORS, MUTATION, FETCH, PRELOAD] = SWRGlobalState.get(cache2);
2955
2911
  const [key, fnArg] = serialize(_key);
2956
- const initialMountedRef = _(false);
2957
- const unmountedRef = _(false);
2958
- const keyRef = _(key);
2959
- const fetcherRef = _(fetcher);
2960
- const configRef = _(config);
2912
+ const initialMountedRef = A$1(false);
2913
+ const unmountedRef = A$1(false);
2914
+ const keyRef = A$1(key);
2915
+ const fetcherRef = A$1(fetcher);
2916
+ const configRef = A$1(config);
2961
2917
  const getConfig = () => configRef.current;
2962
2918
  const isActive = () => getConfig().isVisible() && getConfig().isOnline();
2963
2919
  const [getCache, setCache, subscribeCache, getInitialCache] = createCacheHelper(cache2, key);
2964
- const stateDependencies = _({}).current;
2920
+ const stateDependencies = A$1({}).current;
2965
2921
  const fallback = isUndefined(fallbackData) ? config.fallback[key] : fallbackData;
2966
2922
  const isEqual = (prev, current) => {
2967
2923
  for (const _2 in stateDependencies) {
@@ -2983,7 +2939,7 @@ const useSWRHandler = (_key, fetcher, config) => {
2983
2939
  }
2984
2940
  return true;
2985
2941
  };
2986
- const getSnapshot = F$1(() => {
2942
+ const getSnapshot = T$1(() => {
2987
2943
  const shouldStartRequest = (() => {
2988
2944
  if (!key)
2989
2945
  return false;
@@ -3037,7 +2993,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3037
2993
  cache2,
3038
2994
  key
3039
2995
  ]);
3040
- const cached = shimExports.useSyncExternalStore(T$1(
2996
+ const cached = shimExports.useSyncExternalStore(q$1(
3041
2997
  (callback) => subscribeCache(key, (current, prev) => {
3042
2998
  if (!isEqual(prev, current))
3043
2999
  callback();
@@ -3053,7 +3009,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3053
3009
  const cachedData = cached.data;
3054
3010
  const data = isUndefined(cachedData) ? fallback : cachedData;
3055
3011
  const error = cached.error;
3056
- const laggyDataRef = _(data);
3012
+ const laggyDataRef = A$1(data);
3057
3013
  const returnedData = keepPreviousData ? isUndefined(cachedData) ? laggyDataRef.current : cachedData : data;
3058
3014
  const shouldDoInitialRevalidation = (() => {
3059
3015
  if (hasRevalidator && !isUndefined(error))
@@ -3069,7 +3025,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3069
3025
  const defaultValidatingState = !!(key && fetcher && isInitialMount && shouldDoInitialRevalidation);
3070
3026
  const isValidating = isUndefined(cached.isValidating) ? defaultValidatingState : cached.isValidating;
3071
3027
  const isLoading = isUndefined(cached.isLoading) ? defaultValidatingState : cached.isLoading;
3072
- const revalidate = T$1(
3028
+ const revalidate = q$1(
3073
3029
  async (revalidateOpts) => {
3074
3030
  const currentFetcher = fetcherRef.current;
3075
3031
  if (!key || !currentFetcher || unmountedRef.current || getConfig().isPaused()) {
@@ -3162,8 +3118,8 @@ const useSWRHandler = (_key, fetcher, config) => {
3162
3118
  finalState.error = err;
3163
3119
  if (shouldStartNewRequest && callbackSafeguard()) {
3164
3120
  currentConfig.onError(err, key, currentConfig);
3165
- if (shouldRetryOnError === true || isFunction(shouldRetryOnError) && shouldRetryOnError(err)) {
3166
- if (isActive()) {
3121
+ if (shouldRetryOnError === true || isFunction$2(shouldRetryOnError) && shouldRetryOnError(err)) {
3122
+ if (!getConfig().revalidateOnFocus || !getConfig().revalidateOnReconnect || isActive()) {
3167
3123
  currentConfig.onErrorRetry(err, key, currentConfig, (_opts) => {
3168
3124
  const revalidators = EVENT_REVALIDATORS[key];
3169
3125
  if (revalidators && revalidators[0]) {
@@ -3198,7 +3154,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3198
3154
  cache2
3199
3155
  ]
3200
3156
  );
3201
- const boundMutate = T$1(
3157
+ const boundMutate = q$1(
3202
3158
  // Use callback to make sure `keyRef.current` returns latest result every time
3203
3159
  (...args) => {
3204
3160
  return internalMutate(cache2, keyRef.current, ...args);
@@ -3260,7 +3216,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3260
3216
  useIsomorphicLayoutEffect(() => {
3261
3217
  let timer;
3262
3218
  function next() {
3263
- const interval = isFunction(refreshInterval) ? refreshInterval(getCache().data) : refreshInterval;
3219
+ const interval = isFunction$2(refreshInterval) ? refreshInterval(getCache().data) : refreshInterval;
3264
3220
  if (interval && timer !== -1) {
3265
3221
  timer = setTimeout(execute, interval);
3266
3222
  }
@@ -3285,7 +3241,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3285
3241
  refreshWhenOffline,
3286
3242
  key
3287
3243
  ]);
3288
- x$1(returnedData);
3244
+ P$1(returnedData);
3289
3245
  if (suspense && isUndefined(data) && key) {
3290
3246
  if (!IS_REACT_LEGACY && IS_SERVER) {
3291
3247
  throw new Error("Fallback data is required when using suspense in SSR.");
@@ -3353,11 +3309,7 @@ const tagClass = cva({
3353
3309
  false: ""
3354
3310
  }
3355
3311
  },
3356
- compoundVariants: [{
3357
- disabled: false,
3358
- interactive: true,
3359
- class: "cursor-pointer active:scale-[0.975]"
3360
- }],
3312
+ compoundVariants: [{ disabled: false, interactive: true, class: "cursor-pointer active:scale-[0.975]" }],
3361
3313
  defaultVariants: {
3362
3314
  variant: "neutralWeak",
3363
3315
  size: "sm",
@@ -3365,11 +3317,7 @@ const tagClass = cva({
3365
3317
  interactive: false
3366
3318
  }
3367
3319
  });
3368
- const CurrentValueTag = ({
3369
- query,
3370
- property,
3371
- selectedValues
3372
- }) => {
3320
+ const CurrentValueTag = ({ query, property, selectedValues }) => {
3373
3321
  switch (query.state) {
3374
3322
  case "error":
3375
3323
  case "loading":
@@ -3384,26 +3332,21 @@ const CurrentValueTag = ({
3384
3332
  case 1: {
3385
3333
  const firstSuggestion = selectedSuggestions[0];
3386
3334
  invariant(firstSuggestion);
3387
- return u$1("span", {
3388
- class: tagClass({
3389
- size: "sm",
3390
- variant: "accentStrong",
3391
- interactive: true,
3392
- class: "truncate"
3393
- }),
3394
- children: firstSuggestion.label
3395
- });
3335
+ return /* @__PURE__ */ u$1("span", { class: tagClass({ size: "sm", variant: "accentStrong", interactive: true, class: "truncate" }), children: firstSuggestion.label });
3396
3336
  }
3397
3337
  default:
3398
- return u$1("span", {
3399
- class: tagClass({
3400
- size: "sm",
3401
- variant: "accentStrong",
3402
- interactive: true,
3403
- class: "ijs-filter-current truncate tabular-nums"
3404
- }),
3405
- children: selectedSuggestions.length
3406
- });
3338
+ return /* @__PURE__ */ u$1(
3339
+ "span",
3340
+ {
3341
+ class: tagClass({
3342
+ size: "sm",
3343
+ variant: "accentStrong",
3344
+ interactive: true,
3345
+ class: "ijs-filter-current truncate tabular-nums"
3346
+ }),
3347
+ children: selectedSuggestions.length
3348
+ }
3349
+ );
3407
3350
  }
3408
3351
  }
3409
3352
  default:
@@ -3440,7 +3383,7 @@ const FilterContentActive = ({
3440
3383
  onRender
3441
3384
  }) => {
3442
3385
  const filterQuery = getQueryState(useQuery());
3443
- const availablePropertyKeys = F$1(() => {
3386
+ const availablePropertyKeys = T$1(() => {
3444
3387
  switch (filterQuery.state) {
3445
3388
  case "error":
3446
3389
  case "loading":
@@ -3458,43 +3401,45 @@ const FilterContentActive = ({
3458
3401
  const hasValue = selectedValues.length > 0;
3459
3402
  const [displayCount, setDisplayCount] = h(SUGGESTION_COUNT);
3460
3403
  const [search, setSearch] = h();
3461
- p(() => {
3404
+ y(() => {
3462
3405
  onRender();
3463
3406
  });
3464
3407
  if (filterQuery.state === "error") {
3465
- return u$1(ErrorView, {
3466
- error: new Error("We’re having trouble loading available filters.", {
3467
- cause: filterQuery.error
3468
- }),
3469
- resetError: () => filterQuery.swr.mutate()
3470
- });
3408
+ return /* @__PURE__ */ u$1(
3409
+ ErrorView,
3410
+ {
3411
+ error: new Error("We’re having trouble loading available filters.", { cause: filterQuery.error }),
3412
+ resetError: () => filterQuery.swr.mutate()
3413
+ }
3414
+ );
3471
3415
  }
3472
- return u$1("div", {
3473
- class: "animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",
3474
- children: [property.searchable && u$1("div", {
3475
- class: "top-0 px-4 py-1",
3476
- children: u$1("input", {
3416
+ return /* @__PURE__ */ u$1("div", { class: "animate-slide-in-bottom flex w-full flex-col gap-2 pt-1", children: [
3417
+ property.searchable && /* @__PURE__ */ u$1("div", { class: "top-0 px-4 py-1", children: /* @__PURE__ */ u$1(
3418
+ "input",
3419
+ {
3477
3420
  type: "text",
3478
- class: inputClass({
3479
- hasValue
3480
- }),
3421
+ class: inputClass({ hasValue }),
3481
3422
  value: search,
3482
3423
  onInput: (e2) => setSearch(e2.currentTarget.value),
3483
3424
  placeholder: "Type to search"
3484
- })
3485
- }), (() => {
3425
+ }
3426
+ ) }),
3427
+ (() => {
3486
3428
  switch (unfilteredQuery.state) {
3487
3429
  case "error":
3488
- return u$1(ErrorView, {
3489
- error: new Error("We’re having trouble loading available filters.", {
3490
- cause: unfilteredQuery.error
3491
- }),
3492
- resetError: () => unfilteredQuery.swr.mutate()
3493
- });
3430
+ return /* @__PURE__ */ u$1(
3431
+ ErrorView,
3432
+ {
3433
+ error: new Error("We’re having trouble loading available filters.", {
3434
+ cause: unfilteredQuery.error
3435
+ }),
3436
+ resetError: () => unfilteredQuery.swr.mutate()
3437
+ }
3438
+ );
3494
3439
  case "loading":
3495
- return u$1("div", {
3496
- class: "flex px-4",
3497
- children: u$1("div", {
3440
+ return /* @__PURE__ */ u$1("div", { class: "flex px-4", children: /* @__PURE__ */ u$1(
3441
+ "div",
3442
+ {
3498
3443
  "aria-hidden": true,
3499
3444
  class: tagClass({
3500
3445
  size: "lg",
@@ -3502,147 +3447,147 @@ const FilterContentActive = ({
3502
3447
  interactive: true,
3503
3448
  class: "animate-skeleton cursor-default opacity-20 active:-scale-100"
3504
3449
  }),
3505
- children: u$1("span", {
3506
- class: "inline-block w-[10ch]"
3507
- })
3508
- })
3509
- });
3450
+ children: /* @__PURE__ */ u$1("span", { class: "inline-block w-[10ch]" })
3451
+ }
3452
+ ) });
3510
3453
  case "revalidating":
3511
3454
  case "loaded": {
3512
3455
  const allSuggestions = unfilteredQuery.data[property.key] ?? [];
3513
3456
  const filteredSuggestions = search && search.length > 1 ? allSuggestions.filter((s2) => s2.label.toLowerCase().includes(search.toLowerCase())) : allSuggestions;
3514
- const suggestions = filteredSuggestions.map((s2) => ({
3515
- ...s2,
3516
- disabled: availablePropertyKeys === null ? false : availablePropertyKeys[s2.value] !== true
3517
- }));
3457
+ const suggestions = [];
3458
+ for (const suggestion of filteredSuggestions) {
3459
+ if (suggestion.label.length < 1)
3460
+ continue;
3461
+ const statefulSuggestion = {
3462
+ ...suggestion,
3463
+ disabled: availablePropertyKeys === null ? false : availablePropertyKeys[suggestion.value] !== true
3464
+ };
3465
+ switch (property.results) {
3466
+ case "only-available":
3467
+ if (statefulSuggestion.disabled == false)
3468
+ suggestions.push(statefulSuggestion);
3469
+ break;
3470
+ default:
3471
+ suggestions.push(statefulSuggestion);
3472
+ }
3473
+ }
3518
3474
  const noEnabledOptions = !suggestions.find((suggestion) => !suggestion.disabled);
3519
3475
  if (noEnabledOptions)
3520
- return u$1("p", {
3521
- class: "font-style-tag text-style-tag font-weight-tag border-px w-full border-transparent px-4 py-2 text-center",
3522
- children: "No filter options available."
3523
- });
3524
- return u$1("div", {
3525
- class: "pointer-fine:px-4",
3526
- children: u$1("ul", {
3527
- style: {
3528
- maxHeight: (TAG_HEIGHT + GAP) * (LINE_COUNT - 1) + TAG_HEIGHT / 2 + 2 * PADDING_Y
3529
- },
3476
+ return /* @__PURE__ */ u$1("p", { class: "font-style-tag text-style-tag font-weight-tag border-px w-full border-transparent px-4 py-2 text-center", children: "No filter options available." });
3477
+ return /* @__PURE__ */ u$1("div", { class: "pointer-fine:px-4", children: /* @__PURE__ */ u$1(
3478
+ "ul",
3479
+ {
3480
+ style: { maxHeight: (TAG_HEIGHT + GAP) * (LINE_COUNT - 1) + TAG_HEIGHT / 2 + 2 * PADDING_Y },
3530
3481
  class: "hide-scrollbars pointer-fine:flex-wrap pointer-fine:p-2 pointer-fine:ring-width-section ring-section-weak-stroke pointer-fine:bg-app pointer-fine:rounded-section pointer-coarse:overflow-x-auto flex max-w-full gap-2 overflow-y-auto px-4",
3531
- children: [suggestions.slice(0, displayCount).map((suggestion) => {
3532
- const active = selectedValues.includes(suggestion.value);
3533
- return u$1("li", {
3534
- class: "animate-appear-tag max-w-full origin-top",
3535
- children: u$1("button", {
3536
- disabled: suggestion.disabled,
3537
- "data-filter": true,
3538
- "data-current-value": active ? "true" : void 0,
3539
- onClick: () => {
3540
- switch (value.select) {
3541
- case "many": {
3542
- const newValue = toggleInArray(selectedValues, suggestion.value);
3543
- onValueChange({
3544
- select: "many",
3545
- value: newValue
3546
- });
3547
- break;
3482
+ children: [
3483
+ suggestions.slice(0, displayCount).map((suggestion) => {
3484
+ const active = selectedValues.includes(suggestion.value);
3485
+ return /* @__PURE__ */ u$1("li", { class: "animate-appear-tag max-w-full origin-top", children: /* @__PURE__ */ u$1(
3486
+ "button",
3487
+ {
3488
+ disabled: suggestion.disabled,
3489
+ "data-filter": true,
3490
+ "data-current-value": active ? "true" : void 0,
3491
+ onClick: () => {
3492
+ switch (value.select) {
3493
+ case "many": {
3494
+ const newValue = toggleInArray(selectedValues, suggestion.value);
3495
+ onValueChange({ select: "many", value: newValue });
3496
+ break;
3497
+ }
3498
+ case "one":
3499
+ onValueChange({ select: "one", value: suggestion.value });
3500
+ break;
3501
+ default:
3502
+ exhaustive(value);
3548
3503
  }
3549
- case "one":
3550
- onValueChange({
3551
- select: "one",
3552
- value: suggestion.value
3553
- });
3554
- break;
3555
- default:
3556
- exhaustive(value);
3557
- }
3558
- },
3559
- class: tagClass({
3504
+ },
3505
+ class: tagClass({
3506
+ size: "lg",
3507
+ variant: active ? "accentStrong" : "neutralStrong",
3508
+ interactive: true,
3509
+ disabled: suggestion.disabled,
3510
+ class: "ijs-filter-tag"
3511
+ }),
3512
+ children: suggestion.label
3513
+ }
3514
+ ) }, suggestion.value);
3515
+ }),
3516
+ suggestions.length > displayCount && /* @__PURE__ */ u$1("li", { class: "animate-appear-tag pointer-fine:w-full max-w-full flex-none origin-top", children: /* @__PURE__ */ u$1(
3517
+ "button",
3518
+ {
3519
+ class: btnClass({
3520
+ variant: "neutral",
3521
+ icon: "right",
3560
3522
  size: "lg",
3561
- variant: active ? "accentStrong" : "neutralStrong",
3562
- interactive: true,
3563
- disabled: suggestion.disabled,
3564
- class: "ijs-filter-tag"
3523
+ class: "border-px flex w-full max-w-full flex-none flex-nowrap justify-center truncate border-transparent"
3565
3524
  }),
3566
- children: suggestion.label
3567
- })
3568
- }, suggestion.value);
3569
- }), suggestions.length > displayCount && u$1("li", {
3570
- class: "animate-appear-tag pointer-fine:w-full max-w-full flex-none origin-top",
3571
- children: u$1("button", {
3572
- class: btnClass({
3573
- variant: "neutral",
3574
- icon: "right",
3575
- size: "lg",
3576
- class: "border-px flex w-full max-w-full flex-none flex-nowrap justify-center truncate border-transparent"
3577
- }),
3578
- onClick: () => {
3579
- setDisplayCount(displayCount + SUGGESTION_COUNT);
3580
- },
3581
- children: [u$1("span", {
3582
- class: "font-style-tag font-family-tag font-weight-tag text-style-tag",
3583
- children: "Show More"
3584
- }), u$1(Icon, {
3585
- "aria-hidden": true,
3586
- name: "plus"
3587
- })]
3588
- })
3589
- })]
3590
- })
3591
- });
3525
+ onClick: () => {
3526
+ setDisplayCount(displayCount + SUGGESTION_COUNT);
3527
+ },
3528
+ children: [
3529
+ /* @__PURE__ */ u$1("span", { class: "font-style-tag font-family-tag font-weight-tag text-style-tag", children: "Show More" }),
3530
+ /* @__PURE__ */ u$1(Icon, { "aria-hidden": true, name: "plus" })
3531
+ ]
3532
+ }
3533
+ ) })
3534
+ ]
3535
+ }
3536
+ ) });
3592
3537
  }
3593
3538
  default:
3594
3539
  exhaustive(unfilteredQuery);
3595
3540
  }
3596
- })(), u$1("footer", {
3597
- class: "flex justify-end p-2",
3598
- children: [u$1("div", {
3599
- class: "flex-1",
3600
- children: hasValue && u$1("button", {
3601
- class: btnClass({
3602
- variant: "neutral",
3603
- icon: "left"
3604
- }),
3541
+ })(),
3542
+ /* @__PURE__ */ u$1("footer", { class: "flex justify-end p-2", children: [
3543
+ /* @__PURE__ */ u$1("div", { class: "flex-1", children: hasValue && /* @__PURE__ */ u$1(
3544
+ "button",
3545
+ {
3546
+ class: btnClass({ variant: "neutral", icon: "left" }),
3605
3547
  onClick: () => {
3606
3548
  onValueChange(void 0);
3607
3549
  },
3608
- children: [u$1(Icon, {
3609
- "aria-hidden": true,
3610
- name: "x"
3611
- }), " Clear"]
3612
- })
3613
- }), value.select === "many" && u$1("div", {
3614
- class: "flex items-center overflow-hidden",
3615
- children: u$1("p", {
3616
- class: "font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center",
3617
- children: [selectedValues.length, " selected"]
3618
- })
3619
- }), u$1("div", {
3620
- class: "flex-1",
3621
- children: u$1("button", {
3622
- class: btnClass({
3623
- variant: hasValue ? "accent" : "neutral",
3624
- icon: "right",
3625
- class: "ml-auto"
3626
- }),
3550
+ children: [
3551
+ /* @__PURE__ */ u$1(Icon, { "aria-hidden": true, name: "x" }),
3552
+ " Clear"
3553
+ ]
3554
+ }
3555
+ ) }),
3556
+ value.select === "many" && /* @__PURE__ */ u$1("div", { class: "flex items-center overflow-hidden", children: /* @__PURE__ */ u$1("p", { class: "font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center", children: [
3557
+ selectedValues.length,
3558
+ " selected"
3559
+ ] }) }),
3560
+ /* @__PURE__ */ u$1("div", { class: "flex-1", children: /* @__PURE__ */ u$1(
3561
+ "button",
3562
+ {
3563
+ class: btnClass({ variant: hasValue ? "accent" : "neutral", icon: "right", class: "ml-auto" }),
3627
3564
  onClick: onSkip,
3628
- children: [hasValue ? "Done" : "Skip", " ", u$1(Icon, {
3629
- name: "chevron-right"
3630
- })]
3631
- }, hasValue ? "done" : "skip")
3632
- })]
3633
- })]
3634
- });
3565
+ children: [
3566
+ hasValue ? "Done" : "Skip",
3567
+ " ",
3568
+ /* @__PURE__ */ u$1(Icon, { name: "chevron-right" })
3569
+ ]
3570
+ },
3571
+ hasValue ? "done" : "skip"
3572
+ ) })
3573
+ ] })
3574
+ ] });
3635
3575
  };
3636
3576
  const filterIcons = {
3637
3577
  contract_type: "clock",
3638
3578
  title: "magnifier",
3639
3579
  city: "mapPin",
3640
3580
  town: "mapPin",
3641
- address_1: "mapPin",
3642
- address_2: "mapPin",
3643
3581
  country: "mapPin",
3644
3582
  company_name: "briefcase",
3645
- category: "briefcase"
3583
+ category: "briefcase",
3584
+ pay: "pay",
3585
+ pay_currency: "pay",
3586
+ pay_mask: "pay",
3587
+ pay_display: "pay",
3588
+ pay_max: "pay",
3589
+ pay_min: "pay",
3590
+ pay_type: "pay"
3646
3591
  };
3647
3592
  const wrapperClass$1 = cva({
3648
3593
  base: "group ijs-filter flex min-w-0 fr overflow-hidden rounded-section text-copy-neutral-lowcontrast ring-width-section transition-all duration-medium ease-expo-out fr-parent [&:has(.fr-child:active)]:scale-[0.975] origin-[50%_1.75rem]",
@@ -3667,22 +3612,18 @@ const chevronClass = cva({
3667
3612
  base: "flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"
3668
3613
  });
3669
3614
  const useMeasureHeight = (dependencies) => {
3670
- const ref = _(null);
3615
+ const ref = A$1(null);
3671
3616
  const [height, setHeight] = h(0);
3672
3617
  const updateHeight = () => {
3673
3618
  var _a;
3674
3619
  return setHeight(((_a = ref.current) == null ? void 0 : _a.clientHeight) ?? 0);
3675
3620
  };
3676
- y(() => {
3621
+ _(() => {
3677
3622
  updateHeight();
3678
3623
  window.addEventListener("resize", updateHeight);
3679
3624
  return () => window.removeEventListener("resize", updateHeight);
3680
3625
  }, dependencies);
3681
- return {
3682
- height,
3683
- ref,
3684
- updateHeight
3685
- };
3626
+ return { height, ref, updateHeight };
3686
3627
  };
3687
3628
  const getSelectedValues = (current) => typeof current.value === "string" ? [current.value] : current.value ?? [];
3688
3629
  const Filter = ({
@@ -3695,81 +3636,69 @@ const Filter = ({
3695
3636
  unfilteredQuery,
3696
3637
  useQuery
3697
3638
  }) => {
3698
- const icon = property.icon ?? filterIcons[property.key] ?? "filter";
3639
+ const defaultIcon = isKeyInObj(property.key, filterIcons) ? filterIcons[property.key] : void 0;
3640
+ const icon = property.icon ?? defaultIcon ?? "filter";
3699
3641
  const selectedValues = getSelectedValues(value);
3700
- const {
3701
- height,
3702
- ref: contentRef,
3703
- updateHeight
3704
- } = useMeasureHeight([active]);
3642
+ const { height, ref: contentRef, updateHeight } = useMeasureHeight([active]);
3705
3643
  const hasValue = selectedValues.length > 0;
3706
- return u$1("section", {
3707
- "data-filter-key": property.key,
3708
- role: "tab",
3709
- "aria-label": property.label,
3710
- "aria-selected": active ? "true" : void 0,
3711
- class: wrapperClass$1({
3712
- hasValue
3713
- }),
3714
- onTouchStart: noop,
3715
- children: [u$1("div", {
3716
- class: "min-w-0 max-w-full shrink-0 flex-grow",
3717
- children: [u$1("button", {
3718
- "aria-label": active ? "Close filter" : "Open filter",
3719
- class: headerClass({
3720
- state: active ? "active" : hasValue ? "filled" : "default",
3721
- class: "ijs-filter-heading rounded-section fr-child flex w-full cursor-pointer select-none items-center gap-2 py-4 pl-4"
3722
- }),
3723
- onClick: () => onActiveChange(!active),
3724
- children: [u$1(Icon, {
3725
- "aria-hidden": true,
3726
- class: "flex-none",
3727
- name: icon
3728
- }), u$1("p", {
3729
- children: property.label
3730
- })]
3731
- }), u$1("div", {
3732
- class: "ease-expo-out duration-snappy relative overflow-hidden transition-all",
3733
- style: {
3734
- height
3735
- },
3736
- children: u$1("div", {
3737
- class: "w-full",
3738
- ref: contentRef,
3739
- children: active && u$1(FilterContentActive, {
3740
- useQuery,
3741
- onRender: updateHeight,
3742
- onSkip,
3743
- onValueChange,
3744
- unfilteredQuery,
3745
- property,
3746
- value
3747
- })
3748
- })
3749
- })]
3750
- }), !active && u$1("button", {
3751
- tabIndex: -1,
3752
- class: "fr-child flex flex-shrink flex-grow cursor-pointer select-none items-center justify-end gap-2 overflow-hidden pl-2 pr-3 focus:outline-none",
3753
- onClick: () => onActiveChange(true),
3754
- children: [u$1("div", {
3755
- "aria-label": "Current value",
3756
- class: "flex max-w-full gap-1 overflow-hidden",
3757
- children: u$1(CurrentValueTag, {
3758
- property,
3759
- query: unfilteredQuery,
3760
- selectedValues
3761
- })
3762
- }), u$1(Icon, {
3763
- "aria-hidden": true,
3764
- class: chevronClass(),
3765
- name: "chevron-right"
3766
- })]
3767
- })]
3768
- });
3644
+ return /* @__PURE__ */ u$1(
3645
+ "section",
3646
+ {
3647
+ "data-filter-key": property.key,
3648
+ role: "tab",
3649
+ "aria-label": property.label,
3650
+ "aria-selected": active ? "true" : void 0,
3651
+ class: wrapperClass$1({ hasValue }),
3652
+ onTouchStart: noop,
3653
+ children: [
3654
+ /* @__PURE__ */ u$1("div", { class: "min-w-0 max-w-full shrink-0 flex-grow", children: [
3655
+ /* @__PURE__ */ u$1(
3656
+ "button",
3657
+ {
3658
+ "aria-label": active ? "Close filter" : "Open filter",
3659
+ class: headerClass({
3660
+ state: active ? "active" : hasValue ? "filled" : "default",
3661
+ class: "ijs-filter-heading rounded-section fr-child flex w-full cursor-pointer select-none items-center gap-2 py-4 pl-4"
3662
+ }),
3663
+ onClick: () => onActiveChange(!active),
3664
+ children: [
3665
+ /* @__PURE__ */ u$1(Icon, { "aria-hidden": true, class: "flex-none", name: icon }),
3666
+ /* @__PURE__ */ u$1("p", { children: property.label })
3667
+ ]
3668
+ }
3669
+ ),
3670
+ /* @__PURE__ */ u$1("div", { class: "ease-expo-out duration-snappy relative overflow-hidden transition-all", style: { height }, children: /* @__PURE__ */ u$1("div", { class: "w-full", ref: contentRef, children: active && /* @__PURE__ */ u$1(
3671
+ FilterContentActive,
3672
+ {
3673
+ useQuery,
3674
+ onRender: updateHeight,
3675
+ onSkip,
3676
+ onValueChange,
3677
+ unfilteredQuery,
3678
+ property,
3679
+ value
3680
+ }
3681
+ ) }) })
3682
+ ] }),
3683
+ !active && /* @__PURE__ */ u$1(
3684
+ "button",
3685
+ {
3686
+ tabIndex: -1,
3687
+ class: "fr-child flex flex-shrink flex-grow cursor-pointer select-none items-center justify-end gap-2 overflow-hidden pl-2 pr-3 focus:outline-none",
3688
+ onClick: () => onActiveChange(true),
3689
+ children: [
3690
+ /* @__PURE__ */ u$1("div", { "aria-label": "Current value", class: "flex max-w-full gap-1 overflow-hidden", children: /* @__PURE__ */ u$1(CurrentValueTag, { property, query: unfilteredQuery, selectedValues }) }),
3691
+ /* @__PURE__ */ u$1(Icon, { "aria-hidden": true, class: chevronClass(), name: "chevron-right" })
3692
+ ]
3693
+ }
3694
+ )
3695
+ ]
3696
+ }
3697
+ );
3769
3698
  };
3770
3699
  const usePrevious = (value) => {
3771
- const ref = _();
3772
- p(() => {
3700
+ const ref = A$1();
3701
+ y(() => {
3773
3702
  ref.current = value;
3774
3703
  }, [value]);
3775
3704
  return ref.current;
@@ -3785,7 +3714,7 @@ const focusFirstAvailableOption = (activeKey, ref) => {
3785
3714
  };
3786
3715
  const useFilterKeyboardFocus = (activeKey, ref) => {
3787
3716
  const previousActiveKey = usePrevious(activeKey);
3788
- p(() => {
3717
+ y(() => {
3789
3718
  if (previousActiveKey === activeKey)
3790
3719
  return;
3791
3720
  const keyToFocus = activeKey ?? previousActiveKey;
@@ -3805,26 +3734,17 @@ const nextStateFromValue = ({
3805
3734
  var _a, _b;
3806
3735
  switch (value == null ? void 0 : value.select) {
3807
3736
  case void 0: {
3808
- return {
3809
- newValue: void 0,
3810
- newActiveKey: activeKey
3811
- };
3737
+ return { newValue: void 0, newActiveKey: activeKey };
3812
3738
  }
3813
3739
  case "many": {
3814
- return {
3815
- newValue: value,
3816
- newActiveKey: activeKey
3817
- };
3740
+ return { newValue: value, newActiveKey: activeKey };
3818
3741
  }
3819
3742
  case "one": {
3820
3743
  const currentIndex = properties.findIndex((p2) => p2.key === property.key);
3821
3744
  const nextPropertyKey = currentIndex !== -1 ? (_a = properties[currentIndex + 1]) == null ? void 0 : _a.key : void 0;
3822
3745
  const isNextFilled = nextPropertyKey ? ((_b = appliedFilters[nextPropertyKey]) == null ? void 0 : _b.value) !== void 0 : false;
3823
3746
  const nextKey = isNextFilled ? void 0 : nextPropertyKey;
3824
- return {
3825
- newValue: value,
3826
- newActiveKey: nextKey
3827
- };
3747
+ return { newValue: value, newActiveKey: nextKey };
3828
3748
  }
3829
3749
  default:
3830
3750
  exhaustive(value);
@@ -3841,97 +3761,536 @@ const FilterSection = ({
3841
3761
  var _a;
3842
3762
  const [activeKey, setActiveKey] = h((_a = properties[0]) == null ? void 0 : _a.key);
3843
3763
  useFilterKeyboardFocus(activeKey, parentRef);
3844
- const defaultFilters = F$1(() => getFilterDefaults(properties.map(({
3845
- value: _2,
3846
- ...prop
3847
- }) => prop)), [properties]);
3848
- const unfilteredQuery = getQueryState(useSWR(cacheKey({
3849
- filter: defaultFilters,
3850
- baseKey: "filters"
3851
- }), () => getAvailableFilters({
3852
- apiClient,
3853
- logger,
3854
- filters: defaultFilters
3855
- }), SWR_SETTINGS));
3856
- const makeQueryWithoutFilter = T$1((keyToExclude) => () => {
3857
- const filters = {
3858
- ...appliedFilters,
3859
- [keyToExclude]: defaultFilters[keyToExclude]
3860
- };
3861
- return useSWR(cacheKey({
3862
- filter: filters,
3863
- baseKey: "filters"
3864
- }), () => getAvailableFilters({
3865
- apiClient,
3866
- logger,
3867
- filters
3868
- }), SWR_SETTINGS);
3869
- }, [apiClient, appliedFilters, defaultFilters, logger]);
3764
+ const defaultFilters = T$1(
3765
+ () => getFilterDefaults(properties.map(({ value: _2, ...prop }) => prop)),
3766
+ [properties]
3767
+ );
3768
+ const unfilteredQuery = getQueryState(
3769
+ useSWR(
3770
+ cacheKey({ filter: defaultFilters, baseKey: "filters" }),
3771
+ () => getAvailableFilters({ apiClient, logger, filters: defaultFilters }),
3772
+ SWR_SETTINGS
3773
+ )
3774
+ );
3775
+ const makeQueryWithoutFilter = q$1(
3776
+ (keyToExclude) => () => {
3777
+ const filters = { ...appliedFilters, [keyToExclude]: defaultFilters[keyToExclude] };
3778
+ return useSWR(
3779
+ cacheKey({ filter: filters, baseKey: "filters" }),
3780
+ () => getAvailableFilters({ apiClient, logger, filters }),
3781
+ SWR_SETTINGS
3782
+ );
3783
+ },
3784
+ [apiClient, appliedFilters, defaultFilters, logger]
3785
+ );
3870
3786
  if (unfilteredQuery.state === "error") {
3871
- return u$1(ErrorView, {
3872
- error: new Error("We’re having trouble loading available filters.", {
3873
- cause: unfilteredQuery.error
3874
- }),
3875
- resetError: () => unfilteredQuery.swr.mutate()
3876
- });
3787
+ return /* @__PURE__ */ u$1(
3788
+ ErrorView,
3789
+ {
3790
+ error: new Error("We’re having trouble loading available filters.", { cause: unfilteredQuery.error }),
3791
+ resetError: () => unfilteredQuery.swr.mutate()
3792
+ }
3793
+ );
3877
3794
  }
3878
- return u$1("aside", {
3879
- children: u$1("div", {
3880
- role: "tablist",
3881
- class: "top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",
3882
- children: properties.map((property) => {
3883
- const active = activeKey === property.key;
3884
- const value = appliedFilters[property.key] ?? {
3885
- select: property.select,
3886
- value: void 0
3887
- };
3888
- const onValueChange = (value2) => {
3889
- const {
3890
- newActiveKey,
3891
- newValue
3892
- } = nextStateFromValue({
3893
- property,
3894
- activeKey,
3895
- value: value2,
3896
- properties,
3897
- appliedFilters
3898
- });
3899
- setActiveKey(newActiveKey);
3900
- return onFilterValueChange(property.key, newValue);
3901
- };
3902
- const onActiveChange = (active2) => setActiveKey(active2 ? property.key : void 0);
3903
- const useQuery = makeQueryWithoutFilter(property.key);
3904
- return u$1(ErrorBoundary, {
3905
- Fallback: ErrorView,
3906
- children: u$1(Filter, {
3907
- unfilteredQuery,
3908
- active,
3909
- property,
3910
- onActiveChange,
3911
- value,
3912
- onSkip: () => {
3913
- var _a2;
3914
- const currentIndex = properties.findIndex((p2) => p2.key === activeKey);
3915
- const nextPropertyKey = currentIndex !== -1 ? (_a2 = properties[currentIndex + 1]) == null ? void 0 : _a2.key : void 0;
3916
- setActiveKey(nextPropertyKey);
3917
- },
3918
- useQuery,
3919
- onValueChange
3920
- })
3921
- }, property.key);
3922
- })
3923
- })
3924
- });
3795
+ return /* @__PURE__ */ u$1("aside", { children: /* @__PURE__ */ u$1("div", { role: "tablist", class: "top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0", children: properties.filter((property) => property.hidden !== true).map((property) => {
3796
+ const active = activeKey === property.key;
3797
+ const value = appliedFilters[property.key] ?? { select: property.select, value: void 0 };
3798
+ const onValueChange = (value2) => {
3799
+ const { newActiveKey, newValue } = nextStateFromValue({
3800
+ property,
3801
+ activeKey,
3802
+ value: value2,
3803
+ properties,
3804
+ appliedFilters
3805
+ });
3806
+ setActiveKey(newActiveKey);
3807
+ return onFilterValueChange(property.key, newValue);
3808
+ };
3809
+ const onActiveChange = (active2) => setActiveKey(active2 ? property.key : void 0);
3810
+ const useQuery = makeQueryWithoutFilter(property.key);
3811
+ return /* @__PURE__ */ u$1(ErrorBoundary, { Fallback: ErrorView, children: /* @__PURE__ */ u$1(
3812
+ Filter,
3813
+ {
3814
+ unfilteredQuery,
3815
+ active,
3816
+ property,
3817
+ onActiveChange,
3818
+ value,
3819
+ onSkip: () => {
3820
+ var _a2;
3821
+ const currentIndex = properties.findIndex((p2) => p2.key === activeKey);
3822
+ const nextPropertyKey = currentIndex !== -1 ? (_a2 = properties[currentIndex + 1]) == null ? void 0 : _a2.key : void 0;
3823
+ setActiveKey(nextPropertyKey);
3824
+ },
3825
+ useQuery,
3826
+ onValueChange
3827
+ }
3828
+ ) }, property.key);
3829
+ }) }) });
3925
3830
  };
3926
- const SkeletonText = ({
3927
- chars
3928
- }) => {
3929
- return u$1("span", {
3930
- style: {
3931
- width: chars + "ch"
3932
- },
3933
- class: "rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"
3831
+ var isArray$3 = Array.isArray;
3832
+ var isArray_1 = isArray$3;
3833
+ var freeGlobal$1 = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
3834
+ var _freeGlobal = freeGlobal$1;
3835
+ var freeGlobal = _freeGlobal;
3836
+ var freeSelf = typeof self == "object" && self && self.Object === Object && self;
3837
+ var root$3 = freeGlobal || freeSelf || Function("return this")();
3838
+ var _root = root$3;
3839
+ var root$2 = _root;
3840
+ var Symbol$4 = root$2.Symbol;
3841
+ var _Symbol = Symbol$4;
3842
+ var Symbol$3 = _Symbol;
3843
+ var objectProto$4 = Object.prototype;
3844
+ var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
3845
+ var nativeObjectToString$1 = objectProto$4.toString;
3846
+ var symToStringTag$1 = Symbol$3 ? Symbol$3.toStringTag : void 0;
3847
+ function getRawTag$1(value) {
3848
+ var isOwn = hasOwnProperty$3.call(value, symToStringTag$1), tag = value[symToStringTag$1];
3849
+ try {
3850
+ value[symToStringTag$1] = void 0;
3851
+ var unmasked = true;
3852
+ } catch (e2) {
3853
+ }
3854
+ var result = nativeObjectToString$1.call(value);
3855
+ if (unmasked) {
3856
+ if (isOwn) {
3857
+ value[symToStringTag$1] = tag;
3858
+ } else {
3859
+ delete value[symToStringTag$1];
3860
+ }
3861
+ }
3862
+ return result;
3863
+ }
3864
+ var _getRawTag = getRawTag$1;
3865
+ var objectProto$3 = Object.prototype;
3866
+ var nativeObjectToString = objectProto$3.toString;
3867
+ function objectToString$1(value) {
3868
+ return nativeObjectToString.call(value);
3869
+ }
3870
+ var _objectToString = objectToString$1;
3871
+ var Symbol$2 = _Symbol, getRawTag = _getRawTag, objectToString = _objectToString;
3872
+ var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
3873
+ var symToStringTag = Symbol$2 ? Symbol$2.toStringTag : void 0;
3874
+ function baseGetTag$2(value) {
3875
+ if (value == null) {
3876
+ return value === void 0 ? undefinedTag : nullTag;
3877
+ }
3878
+ return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
3879
+ }
3880
+ var _baseGetTag = baseGetTag$2;
3881
+ function isObjectLike$1(value) {
3882
+ return value != null && typeof value == "object";
3883
+ }
3884
+ var isObjectLike_1 = isObjectLike$1;
3885
+ var baseGetTag$1 = _baseGetTag, isObjectLike = isObjectLike_1;
3886
+ var symbolTag = "[object Symbol]";
3887
+ function isSymbol$3(value) {
3888
+ return typeof value == "symbol" || isObjectLike(value) && baseGetTag$1(value) == symbolTag;
3889
+ }
3890
+ var isSymbol_1 = isSymbol$3;
3891
+ var isArray$2 = isArray_1, isSymbol$2 = isSymbol_1;
3892
+ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
3893
+ function isKey$1(value, object2) {
3894
+ if (isArray$2(value)) {
3895
+ return false;
3896
+ }
3897
+ var type = typeof value;
3898
+ if (type == "number" || type == "symbol" || type == "boolean" || value == null || isSymbol$2(value)) {
3899
+ return true;
3900
+ }
3901
+ return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object2 != null && value in Object(object2);
3902
+ }
3903
+ var _isKey = isKey$1;
3904
+ function isObject$3(value) {
3905
+ var type = typeof value;
3906
+ return value != null && (type == "object" || type == "function");
3907
+ }
3908
+ var isObject_1 = isObject$3;
3909
+ var baseGetTag = _baseGetTag, isObject$2 = isObject_1;
3910
+ var asyncTag = "[object AsyncFunction]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
3911
+ function isFunction$1(value) {
3912
+ if (!isObject$2(value)) {
3913
+ return false;
3914
+ }
3915
+ var tag = baseGetTag(value);
3916
+ return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
3917
+ }
3918
+ var isFunction_1 = isFunction$1;
3919
+ var root$1 = _root;
3920
+ var coreJsData$1 = root$1["__core-js_shared__"];
3921
+ var _coreJsData = coreJsData$1;
3922
+ var coreJsData = _coreJsData;
3923
+ var maskSrcKey = function() {
3924
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
3925
+ return uid ? "Symbol(src)_1." + uid : "";
3926
+ }();
3927
+ function isMasked$1(func) {
3928
+ return !!maskSrcKey && maskSrcKey in func;
3929
+ }
3930
+ var _isMasked = isMasked$1;
3931
+ var funcProto$1 = Function.prototype;
3932
+ var funcToString$1 = funcProto$1.toString;
3933
+ function toSource$1(func) {
3934
+ if (func != null) {
3935
+ try {
3936
+ return funcToString$1.call(func);
3937
+ } catch (e2) {
3938
+ }
3939
+ try {
3940
+ return func + "";
3941
+ } catch (e2) {
3942
+ }
3943
+ }
3944
+ return "";
3945
+ }
3946
+ var _toSource = toSource$1;
3947
+ var isFunction = isFunction_1, isMasked = _isMasked, isObject$1 = isObject_1, toSource = _toSource;
3948
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
3949
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
3950
+ var funcProto = Function.prototype, objectProto$2 = Object.prototype;
3951
+ var funcToString = funcProto.toString;
3952
+ var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
3953
+ var reIsNative = RegExp(
3954
+ "^" + funcToString.call(hasOwnProperty$2).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
3955
+ );
3956
+ function baseIsNative$1(value) {
3957
+ if (!isObject$1(value) || isMasked(value)) {
3958
+ return false;
3959
+ }
3960
+ var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
3961
+ return pattern.test(toSource(value));
3962
+ }
3963
+ var _baseIsNative = baseIsNative$1;
3964
+ function getValue$1(object2, key) {
3965
+ return object2 == null ? void 0 : object2[key];
3966
+ }
3967
+ var _getValue = getValue$1;
3968
+ var baseIsNative = _baseIsNative, getValue = _getValue;
3969
+ function getNative$2(object2, key) {
3970
+ var value = getValue(object2, key);
3971
+ return baseIsNative(value) ? value : void 0;
3972
+ }
3973
+ var _getNative = getNative$2;
3974
+ var getNative$1 = _getNative;
3975
+ var nativeCreate$4 = getNative$1(Object, "create");
3976
+ var _nativeCreate = nativeCreate$4;
3977
+ var nativeCreate$3 = _nativeCreate;
3978
+ function hashClear$1() {
3979
+ this.__data__ = nativeCreate$3 ? nativeCreate$3(null) : {};
3980
+ this.size = 0;
3981
+ }
3982
+ var _hashClear = hashClear$1;
3983
+ function hashDelete$1(key) {
3984
+ var result = this.has(key) && delete this.__data__[key];
3985
+ this.size -= result ? 1 : 0;
3986
+ return result;
3987
+ }
3988
+ var _hashDelete = hashDelete$1;
3989
+ var nativeCreate$2 = _nativeCreate;
3990
+ var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
3991
+ var objectProto$1 = Object.prototype;
3992
+ var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
3993
+ function hashGet$1(key) {
3994
+ var data = this.__data__;
3995
+ if (nativeCreate$2) {
3996
+ var result = data[key];
3997
+ return result === HASH_UNDEFINED$1 ? void 0 : result;
3998
+ }
3999
+ return hasOwnProperty$1.call(data, key) ? data[key] : void 0;
4000
+ }
4001
+ var _hashGet = hashGet$1;
4002
+ var nativeCreate$1 = _nativeCreate;
4003
+ var objectProto = Object.prototype;
4004
+ var hasOwnProperty = objectProto.hasOwnProperty;
4005
+ function hashHas$1(key) {
4006
+ var data = this.__data__;
4007
+ return nativeCreate$1 ? data[key] !== void 0 : hasOwnProperty.call(data, key);
4008
+ }
4009
+ var _hashHas = hashHas$1;
4010
+ var nativeCreate = _nativeCreate;
4011
+ var HASH_UNDEFINED = "__lodash_hash_undefined__";
4012
+ function hashSet$1(key, value) {
4013
+ var data = this.__data__;
4014
+ this.size += this.has(key) ? 0 : 1;
4015
+ data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
4016
+ return this;
4017
+ }
4018
+ var _hashSet = hashSet$1;
4019
+ var hashClear = _hashClear, hashDelete = _hashDelete, hashGet = _hashGet, hashHas = _hashHas, hashSet = _hashSet;
4020
+ function Hash$1(entries) {
4021
+ var index = -1, length = entries == null ? 0 : entries.length;
4022
+ this.clear();
4023
+ while (++index < length) {
4024
+ var entry = entries[index];
4025
+ this.set(entry[0], entry[1]);
4026
+ }
4027
+ }
4028
+ Hash$1.prototype.clear = hashClear;
4029
+ Hash$1.prototype["delete"] = hashDelete;
4030
+ Hash$1.prototype.get = hashGet;
4031
+ Hash$1.prototype.has = hashHas;
4032
+ Hash$1.prototype.set = hashSet;
4033
+ var _Hash = Hash$1;
4034
+ function listCacheClear$1() {
4035
+ this.__data__ = [];
4036
+ this.size = 0;
4037
+ }
4038
+ var _listCacheClear = listCacheClear$1;
4039
+ function eq$1(value, other) {
4040
+ return value === other || value !== value && other !== other;
4041
+ }
4042
+ var eq_1 = eq$1;
4043
+ var eq = eq_1;
4044
+ function assocIndexOf$4(array2, key) {
4045
+ var length = array2.length;
4046
+ while (length--) {
4047
+ if (eq(array2[length][0], key)) {
4048
+ return length;
4049
+ }
4050
+ }
4051
+ return -1;
4052
+ }
4053
+ var _assocIndexOf = assocIndexOf$4;
4054
+ var assocIndexOf$3 = _assocIndexOf;
4055
+ var arrayProto = Array.prototype;
4056
+ var splice = arrayProto.splice;
4057
+ function listCacheDelete$1(key) {
4058
+ var data = this.__data__, index = assocIndexOf$3(data, key);
4059
+ if (index < 0) {
4060
+ return false;
4061
+ }
4062
+ var lastIndex = data.length - 1;
4063
+ if (index == lastIndex) {
4064
+ data.pop();
4065
+ } else {
4066
+ splice.call(data, index, 1);
4067
+ }
4068
+ --this.size;
4069
+ return true;
4070
+ }
4071
+ var _listCacheDelete = listCacheDelete$1;
4072
+ var assocIndexOf$2 = _assocIndexOf;
4073
+ function listCacheGet$1(key) {
4074
+ var data = this.__data__, index = assocIndexOf$2(data, key);
4075
+ return index < 0 ? void 0 : data[index][1];
4076
+ }
4077
+ var _listCacheGet = listCacheGet$1;
4078
+ var assocIndexOf$1 = _assocIndexOf;
4079
+ function listCacheHas$1(key) {
4080
+ return assocIndexOf$1(this.__data__, key) > -1;
4081
+ }
4082
+ var _listCacheHas = listCacheHas$1;
4083
+ var assocIndexOf = _assocIndexOf;
4084
+ function listCacheSet$1(key, value) {
4085
+ var data = this.__data__, index = assocIndexOf(data, key);
4086
+ if (index < 0) {
4087
+ ++this.size;
4088
+ data.push([key, value]);
4089
+ } else {
4090
+ data[index][1] = value;
4091
+ }
4092
+ return this;
4093
+ }
4094
+ var _listCacheSet = listCacheSet$1;
4095
+ var listCacheClear = _listCacheClear, listCacheDelete = _listCacheDelete, listCacheGet = _listCacheGet, listCacheHas = _listCacheHas, listCacheSet = _listCacheSet;
4096
+ function ListCache$1(entries) {
4097
+ var index = -1, length = entries == null ? 0 : entries.length;
4098
+ this.clear();
4099
+ while (++index < length) {
4100
+ var entry = entries[index];
4101
+ this.set(entry[0], entry[1]);
4102
+ }
4103
+ }
4104
+ ListCache$1.prototype.clear = listCacheClear;
4105
+ ListCache$1.prototype["delete"] = listCacheDelete;
4106
+ ListCache$1.prototype.get = listCacheGet;
4107
+ ListCache$1.prototype.has = listCacheHas;
4108
+ ListCache$1.prototype.set = listCacheSet;
4109
+ var _ListCache = ListCache$1;
4110
+ var getNative = _getNative, root = _root;
4111
+ var Map$2 = getNative(root, "Map");
4112
+ var _Map = Map$2;
4113
+ var Hash = _Hash, ListCache = _ListCache, Map$1 = _Map;
4114
+ function mapCacheClear$1() {
4115
+ this.size = 0;
4116
+ this.__data__ = {
4117
+ "hash": new Hash(),
4118
+ "map": new (Map$1 || ListCache)(),
4119
+ "string": new Hash()
4120
+ };
4121
+ }
4122
+ var _mapCacheClear = mapCacheClear$1;
4123
+ function isKeyable$1(value) {
4124
+ var type = typeof value;
4125
+ return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
4126
+ }
4127
+ var _isKeyable = isKeyable$1;
4128
+ var isKeyable = _isKeyable;
4129
+ function getMapData$4(map, key) {
4130
+ var data = map.__data__;
4131
+ return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
4132
+ }
4133
+ var _getMapData = getMapData$4;
4134
+ var getMapData$3 = _getMapData;
4135
+ function mapCacheDelete$1(key) {
4136
+ var result = getMapData$3(this, key)["delete"](key);
4137
+ this.size -= result ? 1 : 0;
4138
+ return result;
4139
+ }
4140
+ var _mapCacheDelete = mapCacheDelete$1;
4141
+ var getMapData$2 = _getMapData;
4142
+ function mapCacheGet$1(key) {
4143
+ return getMapData$2(this, key).get(key);
4144
+ }
4145
+ var _mapCacheGet = mapCacheGet$1;
4146
+ var getMapData$1 = _getMapData;
4147
+ function mapCacheHas$1(key) {
4148
+ return getMapData$1(this, key).has(key);
4149
+ }
4150
+ var _mapCacheHas = mapCacheHas$1;
4151
+ var getMapData = _getMapData;
4152
+ function mapCacheSet$1(key, value) {
4153
+ var data = getMapData(this, key), size = data.size;
4154
+ data.set(key, value);
4155
+ this.size += data.size == size ? 0 : 1;
4156
+ return this;
4157
+ }
4158
+ var _mapCacheSet = mapCacheSet$1;
4159
+ var mapCacheClear = _mapCacheClear, mapCacheDelete = _mapCacheDelete, mapCacheGet = _mapCacheGet, mapCacheHas = _mapCacheHas, mapCacheSet = _mapCacheSet;
4160
+ function MapCache$1(entries) {
4161
+ var index = -1, length = entries == null ? 0 : entries.length;
4162
+ this.clear();
4163
+ while (++index < length) {
4164
+ var entry = entries[index];
4165
+ this.set(entry[0], entry[1]);
4166
+ }
4167
+ }
4168
+ MapCache$1.prototype.clear = mapCacheClear;
4169
+ MapCache$1.prototype["delete"] = mapCacheDelete;
4170
+ MapCache$1.prototype.get = mapCacheGet;
4171
+ MapCache$1.prototype.has = mapCacheHas;
4172
+ MapCache$1.prototype.set = mapCacheSet;
4173
+ var _MapCache = MapCache$1;
4174
+ var MapCache = _MapCache;
4175
+ var FUNC_ERROR_TEXT = "Expected a function";
4176
+ function memoize$1(func, resolver) {
4177
+ if (typeof func != "function" || resolver != null && typeof resolver != "function") {
4178
+ throw new TypeError(FUNC_ERROR_TEXT);
4179
+ }
4180
+ var memoized = function() {
4181
+ var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache2 = memoized.cache;
4182
+ if (cache2.has(key)) {
4183
+ return cache2.get(key);
4184
+ }
4185
+ var result = func.apply(this, args);
4186
+ memoized.cache = cache2.set(key, result) || cache2;
4187
+ return result;
4188
+ };
4189
+ memoized.cache = new (memoize$1.Cache || MapCache)();
4190
+ return memoized;
4191
+ }
4192
+ memoize$1.Cache = MapCache;
4193
+ var memoize_1 = memoize$1;
4194
+ var memoize = memoize_1;
4195
+ var MAX_MEMOIZE_SIZE = 500;
4196
+ function memoizeCapped$1(func) {
4197
+ var result = memoize(func, function(key) {
4198
+ if (cache2.size === MAX_MEMOIZE_SIZE) {
4199
+ cache2.clear();
4200
+ }
4201
+ return key;
3934
4202
  });
4203
+ var cache2 = result.cache;
4204
+ return result;
4205
+ }
4206
+ var _memoizeCapped = memoizeCapped$1;
4207
+ var memoizeCapped = _memoizeCapped;
4208
+ var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
4209
+ var reEscapeChar = /\\(\\)?/g;
4210
+ var stringToPath$1 = memoizeCapped(function(string2) {
4211
+ var result = [];
4212
+ if (string2.charCodeAt(0) === 46) {
4213
+ result.push("");
4214
+ }
4215
+ string2.replace(rePropName, function(match2, number2, quote, subString) {
4216
+ result.push(quote ? subString.replace(reEscapeChar, "$1") : number2 || match2);
4217
+ });
4218
+ return result;
4219
+ });
4220
+ var _stringToPath = stringToPath$1;
4221
+ function arrayMap$1(array2, iteratee) {
4222
+ var index = -1, length = array2 == null ? 0 : array2.length, result = Array(length);
4223
+ while (++index < length) {
4224
+ result[index] = iteratee(array2[index], index, array2);
4225
+ }
4226
+ return result;
4227
+ }
4228
+ var _arrayMap = arrayMap$1;
4229
+ var Symbol$1 = _Symbol, arrayMap = _arrayMap, isArray$1 = isArray_1, isSymbol$1 = isSymbol_1;
4230
+ var INFINITY$1 = 1 / 0;
4231
+ var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolToString = symbolProto ? symbolProto.toString : void 0;
4232
+ function baseToString$1(value) {
4233
+ if (typeof value == "string") {
4234
+ return value;
4235
+ }
4236
+ if (isArray$1(value)) {
4237
+ return arrayMap(value, baseToString$1) + "";
4238
+ }
4239
+ if (isSymbol$1(value)) {
4240
+ return symbolToString ? symbolToString.call(value) : "";
4241
+ }
4242
+ var result = value + "";
4243
+ return result == "0" && 1 / value == -INFINITY$1 ? "-0" : result;
4244
+ }
4245
+ var _baseToString = baseToString$1;
4246
+ var baseToString = _baseToString;
4247
+ function toString$1(value) {
4248
+ return value == null ? "" : baseToString(value);
4249
+ }
4250
+ var toString_1 = toString$1;
4251
+ var isArray = isArray_1, isKey = _isKey, stringToPath = _stringToPath, toString = toString_1;
4252
+ function castPath$1(value, object2) {
4253
+ if (isArray(value)) {
4254
+ return value;
4255
+ }
4256
+ return isKey(value, object2) ? [value] : stringToPath(toString(value));
4257
+ }
4258
+ var _castPath = castPath$1;
4259
+ var isSymbol = isSymbol_1;
4260
+ var INFINITY = 1 / 0;
4261
+ function toKey$1(value) {
4262
+ if (typeof value == "string" || isSymbol(value)) {
4263
+ return value;
4264
+ }
4265
+ var result = value + "";
4266
+ return result == "0" && 1 / value == -INFINITY ? "-0" : result;
4267
+ }
4268
+ var _toKey = toKey$1;
4269
+ var castPath = _castPath, toKey = _toKey;
4270
+ function baseGet$1(object2, path) {
4271
+ path = castPath(path, object2);
4272
+ var index = 0, length = path.length;
4273
+ while (object2 != null && index < length) {
4274
+ object2 = object2[toKey(path[index++])];
4275
+ }
4276
+ return index && index == length ? object2 : void 0;
4277
+ }
4278
+ var _baseGet = baseGet$1;
4279
+ var baseGet = _baseGet;
4280
+ function get(object2, path, defaultValue) {
4281
+ var result = object2 == null ? void 0 : baseGet(object2, path);
4282
+ return result === void 0 ? defaultValue : result;
4283
+ }
4284
+ var get_1 = get;
4285
+ const get$1 = /* @__PURE__ */ getDefaultExportFromCjs(get_1);
4286
+ const SkeletonText = ({ chars }) => {
4287
+ return /* @__PURE__ */ u$1(
4288
+ "span",
4289
+ {
4290
+ style: { width: chars + "ch" },
4291
+ class: "rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"
4292
+ }
4293
+ );
3935
4294
  };
3936
4295
  const wrapperClass = cva({
3937
4296
  base: "ijs-job rounded-job-card bg-job-card-bg ring-width-job-card ring-job-card-stroke flex gap-4 fr ease-expo-out min-w-0 p-4 transition-all duration-medium",
@@ -3941,184 +4300,117 @@ const wrapperClass = cva({
3941
4300
  false: "animate-skeleton"
3942
4301
  }
3943
4302
  },
3944
- defaultVariants: {
3945
- interactive: true
3946
- }
3947
- });
3948
- const badgeClass = cva({
3949
- base: "bg-tag-accent-strong-bg rounded-job-tag text-style-tag text-tag-accent-strong-copy font-weight-tag flex items-center justify-center px-2"
4303
+ defaultVariants: { interactive: true }
3950
4304
  });
3951
- const getDisplayableFilterProperty = ({
4305
+ const getDisplayableProperty = ({
3952
4306
  job,
3953
4307
  property
3954
4308
  }) => {
3955
- switch (typeof property) {
3956
- case "string":
3957
- if (isKeyInObj(property, job.raw))
3958
- return job.raw[property];
3959
- return null;
3960
- case "object":
3961
- return job.customData && property.transform(job.customData[property.key]);
3962
- default:
3963
- exhaustive(property);
3964
- }
4309
+ if (!property)
4310
+ return null;
4311
+ const value = get$1(job.raw, property.key);
4312
+ return property.transform ? property.transform(value) : value;
3965
4313
  };
3966
- const JobCard = ({
4314
+ const JobCardLogo = ({
3967
4315
  job,
3968
- config
4316
+ config = "hidden"
3969
4317
  }) => {
3970
- const subheading = config.subheading ? getDisplayableFilterProperty({
3971
- job,
3972
- property: config.subheading
3973
- }) : null;
3974
- const tags = config.infoTags.map((infoTag) => getDisplayableFilterProperty({
3975
- job,
3976
- property: infoTag
3977
- })).filter(Boolean);
3978
- return u$1("a", {
3979
- href: job.href,
3980
- class: wrapperClass(),
3981
- children: [u$1("div", {
3982
- class: "flex min-w-0 flex-1 flex-col gap-4",
3983
- children: [u$1("div", {
3984
- class: "gap-logo flex items-center",
3985
- children: [!config.logo || config.logo === "hidden" ? null : u$1("div", {
3986
- class: "rounded-logo bg-neutral-1 h-12 flex-none overflow-hidden",
3987
- style: {
3988
- aspectRatio: config.logo.replace(":", "/")
3989
- },
3990
- children: job.company.logo ? u$1("img", {
3991
- src: job.company.logo,
3992
- alt: job.company.name,
3993
- class: "h-full w-full select-none object-contain [-webkit-user-drag:none]"
3994
- }) : null
3995
- }), u$1("div", {
3996
- class: "flex flex-col items-start gap-1",
3997
- children: [u$1("div", {
3998
- class: "order-2 flex flex-col gap-1",
3999
- children: [u$1("p", {
4000
- class: "text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",
4001
- children: job.title
4002
- }), subheading ? u$1("p", {
4003
- class: "text-style-job-card text-copy-neutral-lowcontrast",
4004
- children: subheading
4005
- }) : null]
4006
- }), job.isNew ? u$1("span", {
4007
- class: badgeClass({
4008
- class: "order-1"
4009
- }),
4010
- children: "NEW"
4011
- }) : u$1("p", {
4012
- class: "text-style-job-card-info text-copy-job-info order-1",
4013
- children: ["Posted ", job.relativePostedDate]
4014
- })]
4015
- })]
4016
- }), u$1("div", {
4017
- class: "flex min-w-0 flex-col items-start gap-2",
4018
- children: [job.pay && u$1("span", {
4019
- class: tagClass({
4020
- variant: "monetaryWeak",
4021
- size: "xs"
4022
- }),
4023
- children: job.pay
4024
- }), tags.length > 0 && u$1("ul", {
4025
- class: "flex min-w-0 max-w-full flex-wrap items-center gap-2",
4026
- children: tags.map((tag) => u$1("li", {
4027
- class: tagClass({
4028
- size: "xs"
4029
- }),
4030
- children: tag
4031
- }, tag))
4032
- })]
4033
- })]
4034
- }), u$1("div", {
4035
- "aria-hidden": true,
4036
- class: "flex items-center",
4037
- children: u$1(Icon, {
4038
- name: "chevron-right",
4039
- class: "text-copy-neutral-icon"
4040
- })
4041
- })]
4042
- });
4318
+ if (config === "hidden")
4319
+ return null;
4320
+ return /* @__PURE__ */ u$1("div", { class: "rounded-logo h-12 flex-none overflow-hidden", style: { aspectRatio: config.replace(":", "/") }, children: job.company.logo ? /* @__PURE__ */ u$1(
4321
+ "img",
4322
+ {
4323
+ src: job.company.logo,
4324
+ alt: job.company.name,
4325
+ class: "h-full w-full select-none object-contain [-webkit-user-drag:none]"
4326
+ }
4327
+ ) : null });
4328
+ };
4329
+ const asArray = (value) => Array.isArray(value) ? value : [value];
4330
+ const JobCard = ({ job, config }) => {
4331
+ var _a;
4332
+ const subheading = config.subheading ? getDisplayableProperty({ job, property: config.subheading }) : null;
4333
+ const tags = config.infoTags.flatMap((infoTag) => asArray(getDisplayableProperty({ job, property: infoTag }))).filter(Boolean);
4334
+ const salary = asArray(
4335
+ ((_a = config.overrides) == null ? void 0 : _a.salary) ? getDisplayableProperty({ job, property: config.overrides.salary }) : job.pay
4336
+ ).filter(Boolean);
4337
+ const postedDateConfig = config.postedDate ?? "show";
4338
+ return /* @__PURE__ */ u$1("a", { href: job.href, class: wrapperClass(), children: [
4339
+ /* @__PURE__ */ u$1("div", { class: "flex min-w-0 flex-1 flex-col gap-4", children: [
4340
+ /* @__PURE__ */ u$1("div", { class: "gap-logo flex items-center", children: [
4341
+ /* @__PURE__ */ u$1(JobCardLogo, { job, config: config.logo }),
4342
+ /* @__PURE__ */ u$1("div", { class: "flex flex-col items-start gap-1", children: [
4343
+ /* @__PURE__ */ u$1("div", { class: "order-2 flex flex-col gap-1", children: [
4344
+ /* @__PURE__ */ u$1("p", { class: "text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading text-pretty", children: [
4345
+ job.title.trim(),
4346
+ job.isNew && postedDateConfig !== "hide" && /* @__PURE__ */ u$1(k$3, { children: [
4347
+ " ",
4348
+ /* @__PURE__ */ u$1(
4349
+ "span",
4350
+ {
4351
+ "aria-hidden": true,
4352
+ class: "ring-px ring-tag-accent-strong-bg rounded-job-card text-tag-accent-strong-bg font-weight-tag not-sr-only order-1 inline-block px-2 py-1 align-middle text-[10px] leading-none",
4353
+ children: "NEW"
4354
+ }
4355
+ )
4356
+ ] })
4357
+ ] }),
4358
+ subheading ? /* @__PURE__ */ u$1("p", { class: "text-style-job-card text-copy-neutral-lowcontrast", children: subheading }) : null
4359
+ ] }),
4360
+ postedDateConfig === "show" ? /* @__PURE__ */ u$1("p", { class: "text-style-job-card-info text-copy-job-info order-1", children: [
4361
+ "Posted ",
4362
+ job.relativePostedDate
4363
+ ] }) : null
4364
+ ] })
4365
+ ] }),
4366
+ /* @__PURE__ */ u$1("div", { class: "flex min-w-0 flex-col items-start gap-2", children: [
4367
+ /* @__PURE__ */ u$1("div", { class: "flex min-w-0 max-w-full flex-wrap items-center gap-2", children: salary.map((salary2, i2) => /* @__PURE__ */ u$1("span", { class: tagClass({ variant: "monetaryWeak", size: "xs" }), children: salary2 }, i2)) }),
4368
+ tags.length > 0 && /* @__PURE__ */ u$1("ul", { class: "flex min-w-0 max-w-full flex-wrap items-center gap-2", children: tags.map((tag) => /* @__PURE__ */ u$1("li", { class: tagClass({ size: "xs" }), children: tag }, tag)) })
4369
+ ] })
4370
+ ] }),
4371
+ /* @__PURE__ */ u$1("div", { "aria-hidden": true, class: "flex items-center", children: /* @__PURE__ */ u$1(Icon, { name: "chevron-right", class: "text-copy-neutral-icon" }) })
4372
+ ] });
4043
4373
  };
4044
4374
  const JobCardSkeleton = ({
4045
4375
  config,
4046
4376
  animationDelay,
4047
4377
  seed
4048
4378
  }) => {
4049
- return u$1("div", {
4050
- "aria-hidden": true,
4051
- style: {
4052
- animationDelay: animationDelay + "s"
4053
- },
4054
- class: wrapperClass({
4055
- interactive: false
4056
- }),
4057
- children: [u$1("div", {
4058
- class: "flex flex-1 flex-col gap-4",
4059
- children: [u$1("div", {
4060
- class: "flex items-center gap-4",
4061
- children: [!config.logo || config.logo === "hidden" ? null : u$1("div", {
4062
- class: "rounded-logo bg-copy-neutral h-12 opacity-25",
4063
- style: {
4064
- aspectRatio: config.logo.replace(":", "/")
4379
+ const logoConfig = config.logo ?? "hidden";
4380
+ const postedDateConfig = config.postedDate ?? "show";
4381
+ return /* @__PURE__ */ u$1("div", { "aria-hidden": true, style: { animationDelay: animationDelay + "s" }, class: wrapperClass({ interactive: false }), children: [
4382
+ /* @__PURE__ */ u$1("div", { class: "flex flex-1 flex-col gap-4", children: [
4383
+ /* @__PURE__ */ u$1("div", { class: "flex items-center gap-4", children: [
4384
+ logoConfig === "hidden" ? null : /* @__PURE__ */ u$1(
4385
+ "div",
4386
+ {
4387
+ class: "rounded-logo bg-copy-neutral h-12 opacity-25",
4388
+ style: { aspectRatio: logoConfig.replace(":", "/") }
4065
4389
  }
4066
- }), u$1("div", {
4067
- class: "flex flex-col items-start gap-1",
4068
- children: [u$1("p", {
4069
- class: "text-style-job-card-info text-copy-job-info",
4070
- children: u$1(SkeletonText, {
4071
- chars: 12
4072
- })
4073
- }), u$1("div", {
4074
- class: "flex flex-col gap-1",
4075
- children: [u$1("p", {
4076
- class: "text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",
4077
- children: u$1(SkeletonText, {
4078
- chars: 13 + (seed + 5) * seed % 7
4079
- })
4080
- }), config.subheading !== null ? u$1("p", {
4081
- class: "text-style-job-card text-copy-neutral-lowcontrast",
4082
- children: u$1(SkeletonText, {
4083
- chars: 7 + seed * seed % 3
4084
- })
4085
- }) : null]
4086
- })]
4087
- })]
4088
- }), u$1("div", {
4089
- class: "flex flex-col items-start gap-2",
4090
- children: [seed % 2 === 0 && u$1("span", {
4091
- class: tagClass({
4092
- variant: "neutralWeak",
4093
- size: "xs",
4094
- class: "h-[1lh] min-h-[1em] w-[10ch]"
4095
- })
4096
- }), u$1("div", {
4097
- class: "flex items-center gap-2",
4098
- children: [u$1("span", {
4099
- class: tagClass({
4100
- variant: "neutralWeak",
4101
- size: "xs",
4102
- class: "h-[1lh] min-h-[1em] w-[6ch]"
4103
- })
4104
- }), u$1("span", {
4105
- class: tagClass({
4106
- variant: "neutralWeak",
4107
- size: "xs",
4108
- class: "h-[1lh] min-h-[1em] w-[8ch]"
4109
- })
4110
- })]
4111
- })]
4112
- })]
4113
- }), u$1("div", {
4114
- "aria-hidden": true,
4115
- class: "flex items-center",
4116
- children: u$1(Icon, {
4117
- name: "chevron-right",
4118
- class: "text-copy-neutral-icon"
4119
- })
4120
- })]
4121
- });
4390
+ ),
4391
+ /* @__PURE__ */ u$1("div", { class: "flex flex-col items-start gap-1", children: [
4392
+ postedDateConfig === "show" ? /* @__PURE__ */ u$1("p", { class: "text-style-job-card-info text-copy-job-info", children: /* @__PURE__ */ u$1(SkeletonText, { chars: 12 }) }) : null,
4393
+ /* @__PURE__ */ u$1("div", { class: "flex flex-col gap-1", children: [
4394
+ /* @__PURE__ */ u$1("p", { class: "text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading", children: /* @__PURE__ */ u$1(SkeletonText, { chars: 13 + (seed + 5) * seed % 7 }) }),
4395
+ config.subheading !== null ? /* @__PURE__ */ u$1("p", { class: "text-style-job-card text-copy-neutral-lowcontrast", children: /* @__PURE__ */ u$1(SkeletonText, { chars: 7 + seed * seed % 3 }) }) : null
4396
+ ] })
4397
+ ] })
4398
+ ] }),
4399
+ /* @__PURE__ */ u$1("div", { class: "flex flex-col items-start gap-2", children: [
4400
+ seed % 2 === 0 && /* @__PURE__ */ u$1(
4401
+ "span",
4402
+ {
4403
+ class: tagClass({ variant: "neutralWeak", size: "xs", class: "h-[1lh] min-h-[1em] w-[10ch]" })
4404
+ }
4405
+ ),
4406
+ /* @__PURE__ */ u$1("div", { class: "flex items-center gap-2", children: [
4407
+ /* @__PURE__ */ u$1("span", { class: tagClass({ variant: "neutralWeak", size: "xs", class: "h-[1lh] min-h-[1em] w-[6ch]" }) }),
4408
+ /* @__PURE__ */ u$1("span", { class: tagClass({ variant: "neutralWeak", size: "xs", class: "h-[1lh] min-h-[1em] w-[8ch]" }) })
4409
+ ] })
4410
+ ] })
4411
+ ] }),
4412
+ /* @__PURE__ */ u$1("div", { "aria-hidden": true, class: "flex items-center", children: /* @__PURE__ */ u$1(Icon, { name: "chevron-right", class: "text-copy-neutral-icon" }) })
4413
+ ] });
4122
4414
  };
4123
4415
  const LoadMore = ({
4124
4416
  state,
@@ -4126,33 +4418,12 @@ const LoadMore = ({
4126
4418
  config
4127
4419
  }) => {
4128
4420
  if (state === "revalidating") {
4129
- return u$1("ul", {
4130
- class: "flex flex-col gap-3",
4131
- "aria-hidden": true,
4132
- children: Array.from({
4133
- length: PAGE_SIZE
4134
- }).map((_2, i2) => u$1("li", {
4135
- children: u$1(JobCardSkeleton, {
4136
- seed: i2,
4137
- animationDelay: (i2 - 4) * 0.1,
4138
- config
4139
- })
4140
- }, i2))
4141
- });
4421
+ return /* @__PURE__ */ u$1("ul", { class: "flex flex-col gap-3", "aria-hidden": true, children: Array.from({ length: PAGE_SIZE }).map((_2, i2) => /* @__PURE__ */ u$1("li", { children: /* @__PURE__ */ u$1(JobCardSkeleton, { seed: i2, animationDelay: (i2 - 4) * 0.1, config }) }, i2)) });
4142
4422
  } else {
4143
- return u$1("button", {
4144
- class: btnClass({
4145
- variant: "neutral",
4146
- class: "py-2"
4147
- }),
4148
- onClick: fetchNextPage,
4149
- children: "Load More"
4150
- });
4423
+ return /* @__PURE__ */ u$1("button", { class: btnClass({ variant: "neutral", class: "py-2" }), onClick: fetchNextPage, children: "Load More" });
4151
4424
  }
4152
4425
  };
4153
- const getResultsCount = ({
4154
- pagination
4155
- }) => {
4426
+ const getResultsCount = ({ pagination }) => {
4156
4427
  invariant(pagination.total >= 0);
4157
4428
  if (pagination.total === 1)
4158
4429
  return "1 job found";
@@ -4166,27 +4437,24 @@ const ResultsSection = ({
4166
4437
  initialData
4167
4438
  }) => {
4168
4439
  const [page, setPage] = h(1);
4169
- return u$1(g$3, {
4170
- children: Array.from({
4171
- length: page
4172
- }).map((_2, index) => {
4173
- const isLast = index === page - 1;
4174
- return u$1(ErrorBoundary, {
4175
- Fallback: ErrorView,
4176
- children: u$1(ResultsPage, {
4177
- appliedFilters,
4178
- apiClient,
4179
- logger,
4180
- page: index + 1,
4181
- isFirst: index === 0,
4182
- isLast,
4183
- fetchNextPage: () => setPage(page + 1),
4184
- jobCardConfig,
4185
- initialData
4186
- }, index)
4187
- }, index);
4188
- })
4189
- });
4440
+ return /* @__PURE__ */ u$1(k$3, { children: Array.from({ length: page }).map((_2, index) => {
4441
+ const isLast = index === page - 1;
4442
+ return /* @__PURE__ */ u$1(ErrorBoundary, { Fallback: ErrorView, children: /* @__PURE__ */ u$1(
4443
+ ResultsPage,
4444
+ {
4445
+ appliedFilters,
4446
+ apiClient,
4447
+ logger,
4448
+ page: index + 1,
4449
+ isFirst: index === 0,
4450
+ isLast,
4451
+ fetchNextPage: () => setPage(page + 1),
4452
+ jobCardConfig,
4453
+ initialData
4454
+ },
4455
+ index
4456
+ ) }, index);
4457
+ }) });
4190
4458
  };
4191
4459
  const ResultsPage = ({
4192
4460
  appliedFilters,
@@ -4200,126 +4468,76 @@ const ResultsPage = ({
4200
4468
  initialData
4201
4469
  }) => {
4202
4470
  const fallbackData = page === 1 ? initialData : void 0;
4203
- const {
4204
- data,
4205
- error,
4206
- state,
4207
- swr
4208
- } = getQueryState(useSWR(cacheKey({
4209
- filter: appliedFilters,
4210
- baseKey: page.toString()
4211
- }), () => getJobSearchResults({
4212
- apiClient,
4213
- logger,
4214
- filters: appliedFilters,
4215
- page
4216
- }), {
4217
- ...SWR_SETTINGS,
4218
- fallbackData
4219
- }));
4471
+ const { data, error, state, swr } = getQueryState(
4472
+ useSWR(
4473
+ cacheKey({ filter: appliedFilters, baseKey: page.toString() }),
4474
+ () => getJobSearchResults({ apiClient, logger, filters: appliedFilters, page }),
4475
+ { ...SWR_SETTINGS, fallbackData }
4476
+ )
4477
+ );
4220
4478
  switch (state) {
4221
4479
  case "loading":
4222
- return u$1(g$3, {
4223
- children: [isFirst && u$1("p", {
4224
- class: "text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",
4225
- children: u$1(SkeletonText, {
4226
- chars: 8
4227
- })
4228
- }), u$1("ul", {
4229
- class: "flex flex-col gap-3",
4230
- "aria-hidden": true,
4231
- children: Array.from({
4232
- length: PAGE_SIZE
4233
- }).map((_2, i2) => u$1("li", {
4234
- children: u$1(JobCardSkeleton, {
4235
- seed: i2,
4236
- animationDelay: (i2 - PAGE_SIZE) * 0.1,
4237
- config: jobCardConfig
4238
- })
4239
- }, i2))
4240
- })]
4241
- });
4480
+ return /* @__PURE__ */ u$1(k$3, { children: [
4481
+ isFirst && /* @__PURE__ */ u$1("p", { class: "text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0", children: /* @__PURE__ */ u$1(SkeletonText, { chars: 8 }) }),
4482
+ /* @__PURE__ */ u$1("ul", { class: "flex flex-col gap-3", "aria-hidden": true, children: Array.from({ length: PAGE_SIZE }).map((_2, i2) => /* @__PURE__ */ u$1("li", { children: /* @__PURE__ */ u$1(JobCardSkeleton, { seed: i2, animationDelay: (i2 - PAGE_SIZE) * 0.1, config: jobCardConfig }) }, i2)) })
4483
+ ] });
4242
4484
  case "error":
4243
- return u$1(ErrorView, {
4244
- class: "-m-4",
4245
- error: new Error("We’re having trouble loading available jobs.", {
4246
- cause: error
4247
- }),
4248
- resetError: () => swr.mutate()
4249
- });
4485
+ return /* @__PURE__ */ u$1(
4486
+ ErrorView,
4487
+ {
4488
+ class: "-m-4",
4489
+ error: new Error("We’re having trouble loading available jobs.", { cause: error }),
4490
+ resetError: () => swr.mutate()
4491
+ }
4492
+ );
4250
4493
  case "revalidating":
4251
4494
  case "loaded": {
4252
4495
  invariant(data.pagination.current_page === page, "Received wrong page from server");
4253
4496
  if (data.pagination.total === 0)
4254
- return u$1("div", {
4255
- class: "mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",
4256
- children: [u$1(Icon, {
4257
- "aria-hidden": true,
4258
- name: "magnifier",
4259
- class: "text-copy-neutral-lowcontrast"
4260
- }), u$1("div", {
4261
- class: "flex flex-col items-center gap-1",
4262
- children: [u$1("p", {
4263
- class: "text-copy-neutral text-style-job-heading",
4264
- children: "No jobs found"
4265
- }), u$1("p", {
4266
- class: "text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]",
4267
- children: "We could not find any jobs matching your filtering criteria."
4268
- })]
4269
- })]
4270
- });
4497
+ return /* @__PURE__ */ u$1("div", { class: "mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center", children: [
4498
+ /* @__PURE__ */ u$1(Icon, { "aria-hidden": true, name: "magnifier", class: "text-copy-neutral-lowcontrast" }),
4499
+ /* @__PURE__ */ u$1("div", { class: "flex flex-col items-center gap-1", children: [
4500
+ /* @__PURE__ */ u$1("p", { class: "text-copy-neutral text-style-job-heading", children: "No jobs found" }),
4501
+ /* @__PURE__ */ u$1("p", { class: "text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]", children: "We could not find any jobs matching your filtering criteria." })
4502
+ ] })
4503
+ ] });
4271
4504
  const hasMore = data.pagination.last_page !== data.pagination.current_page;
4272
- return u$1(g$3, {
4273
- children: [isFirst && u$1("p", {
4274
- class: "text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",
4275
- children: getResultsCount({
4276
- pagination: data.pagination
4277
- })
4278
- }), u$1("ul", {
4279
- "aria-label": `Page ${page}`,
4280
- class: "flex flex-col gap-3",
4281
- children: data.results.map((job) => {
4282
- return u$1("li", {
4505
+ return /* @__PURE__ */ u$1(k$3, { children: [
4506
+ isFirst && /* @__PURE__ */ u$1("p", { class: "text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center", children: getResultsCount({ pagination: data.pagination }) }),
4507
+ /* @__PURE__ */ u$1("ul", { "aria-label": `Page ${page}`, class: "flex flex-col gap-3", children: data.results.map((job) => {
4508
+ return /* @__PURE__ */ u$1(
4509
+ "li",
4510
+ {
4283
4511
  class: "ease-expo-out duration-slow transition-opacity",
4284
- style: {
4285
- opacity: state === "revalidating" ? 0.33 : 1
4286
- },
4287
- children: u$1(JobCard, {
4288
- job,
4289
- config: jobCardConfig
4290
- })
4291
- }, job.id);
4292
- })
4293
- }), hasMore && isLast && u$1(LoadMore, {
4294
- state,
4295
- fetchNextPage,
4296
- config: jobCardConfig
4297
- })]
4298
- });
4512
+ style: { opacity: state === "revalidating" ? 0.33 : 1 },
4513
+ children: /* @__PURE__ */ u$1(JobCard, { job, config: jobCardConfig })
4514
+ },
4515
+ job.id
4516
+ );
4517
+ }) }),
4518
+ hasMore && isLast && /* @__PURE__ */ u$1(LoadMore, { state, fetchNextPage, config: jobCardConfig })
4519
+ ] });
4299
4520
  }
4300
4521
  default:
4301
4522
  exhaustive(state);
4302
4523
  }
4303
4524
  };
4304
- const getFilterDefaults = (properties) => properties.reduce((acc, property) => {
4305
- switch (property.select) {
4306
- case "one":
4307
- acc[property.key] = {
4308
- select: property.select,
4309
- value: property.value
4310
- };
4311
- break;
4312
- case "many":
4313
- acc[property.key] = {
4314
- select: property.select,
4315
- value: property.value ? [property.value] : []
4316
- };
4317
- break;
4318
- default:
4319
- exhaustive(property.select);
4320
- }
4321
- return acc;
4322
- }, {});
4525
+ const getFilterDefaults = (properties) => properties.reduce(
4526
+ (acc, property) => {
4527
+ switch (property.select) {
4528
+ case "one":
4529
+ acc[property.key] = { select: property.select, value: property.value };
4530
+ break;
4531
+ case "many":
4532
+ acc[property.key] = { select: property.select, value: property.value ? [property.value] : [] };
4533
+ break;
4534
+ default:
4535
+ exhaustive(property.select);
4536
+ }
4537
+ return acc;
4538
+ },
4539
+ {}
4540
+ );
4323
4541
  const JobSearch = ({
4324
4542
  apiClient,
4325
4543
  logger,
@@ -4330,76 +4548,54 @@ const JobSearch = ({
4330
4548
  onFilterChange,
4331
4549
  params
4332
4550
  }) => {
4333
- const appRef = _(null);
4551
+ const appRef = A$1(null);
4334
4552
  const [appliedFilters, setAppliedFilters] = h(() => ({
4335
4553
  default: true,
4336
4554
  filters: getFilterDefaults(properties)
4337
4555
  }));
4338
- return u$1("div", {
4339
- ref: appRef,
4340
- class: className,
4341
- id: JOB_SEARCH_SCOPE_ELEMENT_ID,
4342
- children: u$1("div", {
4343
- class: "ijs-app bg-app rounded-app font-family-default font-weight-default font-style-default mx-auto flex min-h-screen max-w-screen-lg flex-col gap-4 py-4 md:grid md:grid-cols-3 md:px-4",
4344
- children: [u$1(ErrorBoundary, {
4345
- Fallback: ErrorView,
4346
- children: u$1("div", {
4347
- class: "flex flex-col gap-2",
4348
- children: [u$1(FilterSection, {
4349
- appliedFilters: appliedFilters.filters,
4350
- onFilterValueChange: (key, value) => {
4351
- setAppliedFilters((prev) => {
4352
- onFilterChange == null ? void 0 : onFilterChange({
4353
- ...prev.filters,
4354
- [key]: value
4355
- });
4356
- return {
4357
- default: false,
4358
- filters: {
4359
- ...prev.filters,
4360
- [key]: value
4361
- }
4362
- };
4363
- });
4364
- },
4365
- properties,
4366
- parentRef: appRef,
4367
- logger,
4368
- apiClient
4369
- }), params.enableJobAlerts && u$1("div", {
4370
- class: "flex justify-center px-4 md:px-0",
4371
- children: u$1(AlertsButton, {
4372
- appliedFilters: appliedFilters.filters,
4373
- analytics,
4374
- apiClient,
4375
- logger,
4376
- theme: params.theme
4377
- })
4378
- })]
4379
- })
4380
- }), u$1("div", {
4381
- class: "md:col-span-2",
4382
- children: u$1("section", {
4383
- class: "bg-section-strong-bg ring-section-weak-stroke rounded-section ring-px lg:ring-width-section flex flex-col gap-4 p-4",
4384
- children: u$1(ErrorBoundary, {
4385
- Fallback: ErrorView,
4386
- children: u$1(ResultsSection, {
4387
- appliedFilters: appliedFilters.filters,
4388
- logger,
4389
- apiClient,
4390
- jobCardConfig: params.jobCard,
4391
- initialData: appliedFilters.default ? initialData == null ? void 0 : initialData.jobs : void 0
4392
- }, cacheKey({
4393
- filter: appliedFilters.filters,
4394
- baseKey: "resultsSection"
4395
- }))
4396
- })
4397
- })
4398
- })]
4399
- })
4400
- });
4556
+ return /* @__PURE__ */ u$1("div", { ref: appRef, class: className, id: JOB_SEARCH_SCOPE_ELEMENT_ID, children: /* @__PURE__ */ u$1("div", { class: "ijs-app bg-app rounded-app font-family-default font-weight-default font-style-default mx-auto flex min-h-screen max-w-screen-lg flex-col gap-4 py-4 md:grid md:grid-cols-3 md:px-4", children: [
4557
+ /* @__PURE__ */ u$1(ErrorBoundary, { Fallback: ErrorView, children: /* @__PURE__ */ u$1("div", { class: "flex flex-col gap-2", children: [
4558
+ /* @__PURE__ */ u$1(
4559
+ FilterSection,
4560
+ {
4561
+ appliedFilters: appliedFilters.filters,
4562
+ onFilterValueChange: (key, value) => {
4563
+ setAppliedFilters((prev) => {
4564
+ onFilterChange == null ? void 0 : onFilterChange({ ...prev.filters, [key]: value });
4565
+ return { default: false, filters: { ...prev.filters, [key]: value } };
4566
+ });
4567
+ },
4568
+ properties,
4569
+ parentRef: appRef,
4570
+ logger,
4571
+ apiClient
4572
+ }
4573
+ ),
4574
+ params.enableJobAlerts && /* @__PURE__ */ u$1("div", { class: "flex justify-center px-4 md:px-0", children: /* @__PURE__ */ u$1(
4575
+ AlertsButton,
4576
+ {
4577
+ appliedFilters: appliedFilters.filters,
4578
+ analytics,
4579
+ apiClient,
4580
+ logger,
4581
+ theme: params.theme
4582
+ }
4583
+ ) })
4584
+ ] }) }),
4585
+ /* @__PURE__ */ u$1("div", { class: "md:col-span-2", children: /* @__PURE__ */ u$1("section", { class: "bg-section-strong-bg ring-section-weak-stroke rounded-section ring-px lg:ring-width-section flex flex-col gap-4 p-4", children: /* @__PURE__ */ u$1(ErrorBoundary, { Fallback: ErrorView, children: /* @__PURE__ */ u$1(
4586
+ ResultsSection,
4587
+ {
4588
+ appliedFilters: appliedFilters.filters,
4589
+ logger,
4590
+ apiClient,
4591
+ jobCardConfig: params.jobCard,
4592
+ initialData: appliedFilters.default ? initialData == null ? void 0 : initialData.jobs : void 0
4593
+ },
4594
+ cacheKey({ filter: appliedFilters.filters, baseKey: "resultsSection" })
4595
+ ) }) }) })
4596
+ ] }) });
4401
4597
  };
4402
- const tailwind = "#ijs {\n font-size: 16px;\n --tw-content: '';\n}\n\n #ijs * {\n box-sizing: border-box;\n border-style: solid;\n border-width: 0;\n -webkit-tap-highlight-color: transparent;\n font-family: inherit;\n font-style: inherit;\n font-weight: inherit;\n }\n\n #ijs ::before,\n #ijs ::after {\n box-sizing: border-box;\n }\n\n #ijs :is(a) {\n text-decoration: none;\n }\n\n #ijs :is(ul, ol) {\n list-style: none;\n padding: 0;\n margin: 0;\n }\n\n #ijs :is(p) {\n margin: 0;\n padding: 0;\n }\n\n #ijs :is(li) {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n\n #ijs :is(button),\n #ijs :is(a) {\n display: block;\n margin: 0;\n padding: 0;\n border: unset;\n background: unset;\n text-align: unset;\n }\n\n #ijs :is(input),\n #ijs :is(textarea) {\n display: block;\n margin: 0;\n padding: 0;\n min-width: 0;\n max-width: unset;\n width: 100%;\n }\n\n #ijs :is(svg) {\n display: block;\n }\n\n #ijs.reduced-motion * {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n animation-delay: 0s !important;\n }\n\n @media (prefers-reduced-motion) {\n #ijs * {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n animation-delay: 0s !important;\n }\n }\n\n #ijs *, #ijs ::before, #ijs ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n}\n\n #ijs ::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n}\n\n #ijs .container {\n width: 100%;\n}\n\n @media (min-width: 640px) {\n\n #ijs .container {\n max-width: 640px;\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .container {\n max-width: 768px;\n }\n}\n\n @media (min-width: 1024px) {\n\n #ijs .container {\n max-width: 1024px;\n }\n}\n\n @media (min-width: 1280px) {\n\n #ijs .container {\n max-width: 1280px;\n }\n}\n\n @media (min-width: 1536px) {\n\n #ijs .container {\n max-width: 1536px;\n }\n}\n\n #ijs .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n #ijs .pointer-events-none {\n pointer-events: none;\n}\n\n #ijs .visible {\n visibility: visible;\n}\n\n #ijs .invisible {\n visibility: hidden;\n}\n\n #ijs .collapse {\n visibility: collapse;\n}\n\n #ijs .static {\n position: static;\n}\n\n #ijs .fixed {\n position: fixed;\n}\n\n #ijs .absolute {\n position: absolute;\n}\n\n #ijs .relative {\n position: relative;\n}\n\n #ijs .sticky {\n position: sticky;\n}\n\n #ijs .bottom-0 {\n bottom: 0px;\n}\n\n #ijs .right-0 {\n right: 0px;\n}\n\n #ijs .top-0 {\n top: 0px;\n}\n\n #ijs .isolate {\n isolation: isolate;\n}\n\n #ijs .z-50 {\n z-index: 50;\n}\n\n #ijs .order-1 {\n order: 1;\n}\n\n #ijs .order-2 {\n order: 2;\n}\n\n #ijs .col-span-full {\n grid-column: 1 / -1;\n}\n\n #ijs .row-span-full {\n grid-row: 1 / -1;\n}\n\n #ijs .-m-4 {\n margin: -1rem;\n}\n\n #ijs .m-0 {\n margin: 0px;\n}\n\n #ijs .m-11 {\n margin: 2.75rem;\n}\n\n #ijs .m-3 {\n margin: 0.75rem;\n}\n\n #ijs .m-4 {\n margin: 1rem;\n}\n\n #ijs .mx-auto {\n margin-left: auto;\n margin-right: auto;\n}\n\n #ijs .ml-auto {\n margin-left: auto;\n}\n\n #ijs .mt-0 {\n margin-top: 0px;\n}\n\n #ijs .mt-0\\.5 {\n margin-top: 0.125rem;\n}\n\n #ijs .block {\n display: block;\n}\n\n #ijs .inline-block {\n display: inline-block;\n}\n\n #ijs .inline {\n display: inline;\n}\n\n #ijs .flex {\n display: flex;\n}\n\n #ijs .inline-flex {\n display: inline-flex;\n}\n\n #ijs .table {\n display: table;\n}\n\n #ijs .table-row {\n display: table-row;\n}\n\n #ijs .flow-root {\n display: flow-root;\n}\n\n #ijs .grid {\n display: grid;\n}\n\n #ijs .inline-grid {\n display: inline-grid;\n}\n\n #ijs .contents {\n display: contents;\n}\n\n #ijs .list-item {\n display: list-item;\n}\n\n #ijs .\\!hidden {\n display: none !important;\n}\n\n #ijs .hidden {\n display: none;\n}\n\n #ijs .h-12 {\n height: 3rem;\n}\n\n #ijs .h-4 {\n height: 1rem;\n}\n\n #ijs .h-8 {\n height: 2rem;\n}\n\n #ijs .h-\\[1lh\\] {\n height: 1lh;\n}\n\n #ijs .h-full {\n height: 100%;\n}\n\n #ijs .min-h-\\[1em\\] {\n min-height: 1em;\n}\n\n #ijs .min-h-\\[36px\\] {\n min-height: 36px;\n}\n\n #ijs .min-h-screen {\n min-height: 100vh;\n}\n\n #ijs .w-4 {\n width: 1rem;\n}\n\n #ijs .w-64 {\n width: 16rem;\n}\n\n #ijs .w-\\[10ch\\] {\n width: 10ch;\n}\n\n #ijs .w-\\[6ch\\] {\n width: 6ch;\n}\n\n #ijs .w-\\[8ch\\] {\n width: 8ch;\n}\n\n #ijs .w-full {\n width: 100%;\n}\n\n #ijs .min-w-0 {\n min-width: 0px;\n}\n\n #ijs .max-w-\\[var\\(--radix-popover-content-available-width\\)\\] {\n max-width: var(--radix-popover-content-available-width);\n}\n\n #ijs .max-w-full {\n max-width: 100%;\n}\n\n #ijs .max-w-screen-lg {\n max-width: 1024px;\n}\n\n #ijs .flex-1 {\n flex: 1 1 0%;\n}\n\n #ijs .flex-none {\n flex: none;\n}\n\n #ijs .flex-shrink {\n flex-shrink: 1;\n}\n\n #ijs .shrink {\n flex-shrink: 1;\n}\n\n #ijs .shrink-0 {\n flex-shrink: 0;\n}\n\n #ijs .flex-grow {\n flex-grow: 1;\n}\n\n #ijs .grow {\n flex-grow: 1;\n}\n\n #ijs .border-collapse {\n border-collapse: collapse;\n}\n\n #ijs .origin-\\[50\\%_1\\.75rem\\] {\n transform-origin: 50% 1.75rem;\n}\n\n #ijs .origin-top {\n transform-origin: top;\n}\n\n #ijs .translate-y-0 {\n --tw-translate-y: 0px;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .transform {\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n @keyframes appear-tag {\n\n 0% {\n transform: scale(0.9);\n }\n\n 100% {\n transform: scale(1);\n }\n}\n\n #ijs .animate-appear-tag {\n animation: appear-tag .6s cubic-bezier(0.16, 1, 0.3, 1) both;\n}\n\n @keyframes selected-tag {\n\n 0% {\n transform: scale(1.11);\n }\n\n 100% {\n transform: scale(1);\n }\n}\n\n #ijs .animate-selected-tag {\n animation: selected-tag .9s cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n @keyframes skeleton {\n\n 0% {\n opacity: 0.2;\n }\n\n 50% {\n opacity: 0.6;\n }\n\n 100% {\n opacity: 0.25;\n }\n}\n\n #ijs .animate-skeleton {\n animation: skeleton 1.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n}\n\n @keyframes slide-in-bottom {\n\n 0% {\n transform: translateY(-50%);\n }\n\n 100% {\n transform: translateY(0);\n }\n}\n\n #ijs .animate-slide-in-bottom {\n animation: slide-in-bottom .4s cubic-bezier(0.16, 1, 0.3, 1) both;\n}\n\n #ijs .cursor-default {\n cursor: default;\n}\n\n #ijs .cursor-pointer {\n cursor: pointer;\n}\n\n #ijs .select-none {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n\n #ijs .resize {\n resize: both;\n}\n\n #ijs .appearance-none {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n\n #ijs .flex-col {\n flex-direction: column;\n}\n\n #ijs .flex-wrap {\n flex-wrap: wrap;\n}\n\n #ijs .flex-nowrap {\n flex-wrap: nowrap;\n}\n\n #ijs .items-start {\n align-items: flex-start;\n}\n\n #ijs .items-center {\n align-items: center;\n}\n\n #ijs .justify-end {\n justify-content: flex-end;\n}\n\n #ijs .justify-center {\n justify-content: center;\n}\n\n #ijs .gap-1 {\n gap: 0.25rem;\n}\n\n #ijs .gap-1\\.5 {\n gap: 0.375rem;\n}\n\n #ijs .gap-2 {\n gap: 0.5rem;\n}\n\n #ijs .gap-2\\.5 {\n gap: 0.625rem;\n}\n\n #ijs .gap-3 {\n gap: 0.75rem;\n}\n\n #ijs .gap-4 {\n gap: 1rem;\n}\n\n #ijs .gap-logo {\n gap: var(--i-logo-gap);\n}\n\n #ijs .self-center {\n align-self: center;\n}\n\n #ijs .overflow-hidden {\n overflow: hidden;\n}\n\n #ijs .overflow-y-auto {\n overflow-y: auto;\n}\n\n #ijs .truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n #ijs .rounded-app {\n border-radius: var(--i-radius-app);\n}\n\n #ijs .rounded-input {\n border-radius: var(--i-radius-input);\n}\n\n #ijs .rounded-interactive {\n border-radius: var(--i-radius-interactive);\n}\n\n #ijs .rounded-job-card {\n border-radius: var(--i-radius-job-card);\n}\n\n #ijs .rounded-job-tag {\n border-radius: var(--i-radius-job-tag);\n}\n\n #ijs .rounded-logo {\n border-radius: var(--i-radius-logo);\n}\n\n #ijs .rounded-section {\n border-radius: var(--i-radius-section);\n}\n\n #ijs .rounded-tag {\n border-radius: var(--i-radius-job-tag);\n}\n\n #ijs .border-px {\n border-width: 1px;\n}\n\n #ijs .border-solid {\n border-style: solid;\n}\n\n #ijs .border-tag-accent-strong-stroke {\n border-color: var(--i-tag-accent-strong-stroke-color);\n}\n\n #ijs .border-tag-monetary-weak-stroke {\n border-color: var(--i-tag-monetary-weak-stroke-color);\n}\n\n #ijs .border-tag-neutral-strong-stroke {\n border-color: var(--i-tag-neutral-strong-stroke-color);\n}\n\n #ijs .border-tag-neutral-weak-stroke {\n border-color: var(--i-tag-neutral-weak-stroke-color);\n}\n\n #ijs .border-transparent {\n border-color: transparent;\n}\n\n #ijs .bg-\\[currentColor\\] {\n background-color: currentColor;\n}\n\n #ijs .bg-accent-9 {\n background-color: var(--i-color-a-9);\n}\n\n #ijs .bg-app {\n background-color: var(--i-app-bg);\n}\n\n #ijs .bg-copy-neutral {\n background-color: var(--i-copy);\n}\n\n #ijs .bg-interactive-accent-bg {\n background-color: var(--i-interactive-accent-bg);\n}\n\n #ijs .bg-interactive-neutral-bg {\n background-color: var(--i-interactive-neutral-bg);\n}\n\n #ijs .bg-job-card-bg {\n background-color: var(--i-job-card-bg);\n}\n\n #ijs .bg-lowest {\n background-color: var(--i-color-lowest);\n}\n\n #ijs .bg-neutral-1 {\n background-color: var(--i-color-n-1);\n}\n\n #ijs .bg-neutral-12 {\n background-color: var(--i-color-n-12);\n}\n\n #ijs .bg-section-strong-bg {\n background-color: var(--i-section-strong-bg);\n}\n\n #ijs .bg-section-weak-bg {\n background-color: var(--i-section-weak-bg);\n}\n\n #ijs .bg-tag-accent-strong-bg {\n background-color: var(--i-tag-accent-strong-bg);\n}\n\n #ijs .bg-tag-monetary-weak-bg {\n background-color: var(--i-tag-monetary-weak-bg);\n}\n\n #ijs .bg-tag-neutral-strong-bg {\n background-color: var(--i-tag-neutral-strong-bg);\n}\n\n #ijs .bg-tag-neutral-weak-bg {\n background-color: var(--i-tag-neutral-weak-bg);\n}\n\n #ijs .object-contain {\n -o-object-fit: contain;\n object-fit: contain;\n}\n\n #ijs .p-0 {\n padding: 0px;\n}\n\n #ijs .p-1 {\n padding: 0.25rem;\n}\n\n #ijs .p-2 {\n padding: 0.5rem;\n}\n\n #ijs .p-4 {\n padding: 1rem;\n}\n\n #ijs .p-6 {\n padding: 1.5rem;\n}\n\n #ijs .px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n\n #ijs .px-2\\.5 {\n padding-left: 0.625rem;\n padding-right: 0.625rem;\n}\n\n #ijs .px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n\n #ijs .px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n\n #ijs .px-5 {\n padding-left: 1.25rem;\n padding-right: 1.25rem;\n}\n\n #ijs .py-1 {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n\n #ijs .py-1\\.5 {\n padding-top: 0.375rem;\n padding-bottom: 0.375rem;\n}\n\n #ijs .py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n #ijs .py-4 {\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n\n #ijs .pb-4 {\n padding-bottom: 1rem;\n}\n\n #ijs .pl-1 {\n padding-left: 0.25rem;\n}\n\n #ijs .pl-2 {\n padding-left: 0.5rem;\n}\n\n #ijs .pl-2\\.5 {\n padding-left: 0.625rem;\n}\n\n #ijs .pl-3 {\n padding-left: 0.75rem;\n}\n\n #ijs .pl-4 {\n padding-left: 1rem;\n}\n\n #ijs .pl-5 {\n padding-left: 1.25rem;\n}\n\n #ijs .pr-1 {\n padding-right: 0.25rem;\n}\n\n #ijs .pr-3 {\n padding-right: 0.75rem;\n}\n\n #ijs .pr-5 {\n padding-right: 1.25rem;\n}\n\n #ijs .pr-8 {\n padding-right: 2rem;\n}\n\n #ijs .pt-1 {\n padding-top: 0.25rem;\n}\n\n #ijs .text-center {\n text-align: center;\n}\n\n #ijs .text-justify {\n text-align: justify;\n}\n\n #ijs .font-family-default {\n font-family: var(--i-font);\n}\n\n #ijs .font-family-filter {\n font-family: var(--i-font-filter);\n}\n\n #ijs .font-family-job-heading {\n font-family: var(--i-font-job-heading);\n}\n\n #ijs .font-family-tag {\n font-family: var(--i-font-tag);\n}\n\n #ijs .text-style-filter {\n font-size: 1rem;\n line-height: 1.5rem;\n letter-spacing: -0.01em;\n}\n\n #ijs .text-style-input {\n font-size: 1rem;\n line-height: 1.5rem;\n}\n\n #ijs .text-style-job-card {\n font-size: 0.875rem;\n line-height: 1.125rem;\n}\n\n #ijs .text-style-job-card-info {\n font-size: 0.75rem;\n line-height: 1.125rem;\n}\n\n #ijs .text-style-job-heading {\n font-size: 1.125rem;\n line-height: 1.5rem;\n}\n\n #ijs .text-style-tag {\n font-size: 0.875rem;\n line-height: 1.5rem;\n}\n\n #ijs .font-weight-default {\n font-weight: var(--i-weight-default);\n}\n\n #ijs .font-weight-filter {\n font-weight: var(--i-weight-filter);\n}\n\n #ijs .font-weight-input {\n font-weight: var(--i-weight-input);\n}\n\n #ijs .font-weight-job-heading {\n font-weight: var(--i-weight-job-heading);\n}\n\n #ijs .font-weight-tag {\n font-weight: var(--i-weight-tag);\n}\n\n #ijs .uppercase {\n text-transform: uppercase;\n}\n\n #ijs .lowercase {\n text-transform: lowercase;\n}\n\n #ijs .capitalize {\n text-transform: capitalize;\n}\n\n #ijs .italic {\n font-style: italic;\n}\n\n #ijs .ordinal {\n --tw-ordinal: ordinal;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);\n}\n\n #ijs .tabular-nums {\n --tw-numeric-spacing: tabular-nums;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);\n}\n\n #ijs .leading-snug {\n line-height: 1.375;\n}\n\n #ijs .text-\\[\\#E5484D\\] {\n --tw-text-opacity: 1;\n color: rgb(229 72 77 / var(--tw-text-opacity));\n}\n\n #ijs .text-accent-1 {\n color: var(--i-color-a-1);\n}\n\n #ijs .text-accent-11 {\n color: var(--i-color-a-11);\n}\n\n #ijs .text-copy-accent {\n color: var(--i-copy-accent);\n}\n\n #ijs .text-copy-job-info {\n color: var(--i-copy-info);\n}\n\n #ijs .text-copy-neutral {\n color: var(--i-copy);\n}\n\n #ijs .text-copy-neutral-icon {\n color: var(--i-copy-icon);\n}\n\n #ijs .text-copy-neutral-lowcontrast {\n color: var(--i-copy-lowcontrast);\n}\n\n #ijs .text-interactive-accent-text {\n color: var(--i-interactive-accent-text);\n}\n\n #ijs .text-interactive-neutral-bg {\n color: var(--i-interactive-neutral-bg);\n}\n\n #ijs .text-interactive-neutral-text {\n color: var(--i-interactive-neutral-text);\n}\n\n #ijs .text-neutral-1 {\n color: var(--i-color-n-1);\n}\n\n #ijs .text-neutral-10 {\n color: var(--i-color-n-10);\n}\n\n #ijs .text-neutral-11 {\n color: var(--i-color-n-11);\n}\n\n #ijs .text-neutral-8 {\n color: var(--i-color-n-8);\n}\n\n #ijs .text-tag-accent-strong-copy {\n color: var(--i-tag-accent-strong-copy);\n}\n\n #ijs .text-tag-monetary-weak-copy {\n color: var(--i-tag-monetary-weak-copy);\n}\n\n #ijs .text-tag-neutral-strong-copy {\n color: var(--i-tag-neutral-strong-copy);\n}\n\n #ijs .text-tag-neutral-weak-copy {\n color: var(--i-tag-neutral-weak-copy);\n}\n\n #ijs .caret-accent-11 {\n caret-color: var(--i-color-a-11);\n}\n\n #ijs .opacity-0 {\n opacity: 0;\n}\n\n #ijs .opacity-20 {\n opacity: 0.2;\n}\n\n #ijs .opacity-25 {\n opacity: 0.25;\n}\n\n #ijs .shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .shadow-\\[0_0_0_1px\\] {\n --tw-shadow: 0 0 0 1px;\n --tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .outline-none {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n #ijs .outline {\n outline-style: solid;\n}\n\n #ijs .ring-\\[1px\\] {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .ring-px {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .ring-width-job-card {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-job-card-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .ring-width-section {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .ring-job-card-stroke {\n --tw-ring-color: var(--i-job-card-stroke-color);\n}\n\n #ijs .ring-neutral-4 {\n --tw-ring-color: var(--i-color-n-4);\n}\n\n #ijs .ring-neutral-5 {\n --tw-ring-color: var(--i-color-n-5);\n}\n\n #ijs .ring-section-strong-stroke {\n --tw-ring-color: var(--i-section-strong-stroke-color);\n}\n\n #ijs .ring-section-weak-stroke {\n --tw-ring-color: var(--i-section-weak-stroke-color);\n}\n\n #ijs .blur {\n --tw-blur: blur(8px);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .grayscale {\n --tw-grayscale: grayscale(100%);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .invert {\n --tw-invert: invert(100%);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .sepia {\n --tw-sepia: sepia(100%);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .filter {\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .backdrop-filter {\n -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n}\n\n #ijs .transition {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n #ijs .transition-all {\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n #ijs .transition-opacity {\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n #ijs .duration-medium {\n transition-duration: .6s;\n}\n\n #ijs .duration-slow {\n transition-duration: .9s;\n}\n\n #ijs .duration-snappy {\n transition-duration: .4s;\n}\n\n #ijs .ease-expo-out {\n transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n #ijs .will-change-\\[transform\\2c opacity\\] {\n will-change: transform,opacity;\n}\n\n #ijs .font-style-default {\n font-style: var(--i-font-style);\n}\n\n #ijs .font-style-filter {\n font-style: var(--i-style-filter);\n}\n\n #ijs .font-style-input {\n font-style: var(--i-style-input);\n}\n\n #ijs .font-style-job-heading {\n font-style: var(--i-style-job-heading);\n}\n\n #ijs .font-style-tag {\n font-style: var(--i-style-tag);\n}\n\n #ijs .top-filters {\n top: var(--i-filters-offset-top);\n}\n\n #ijs .fr {\n outline: none;\n}\n\n #ijs .fr:focus {\n outline: none;\n}\n\n #ijs .fr:focus-visible {\n outline: none;\n --tw-ring-offset-width: 1px;\n --tw-ring-offset-color: var(--i-color-lowest);\n --tw-ring-opacity: 1;\n --tw-ring-color: var(--i-color-a-9);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .fr-parent:has(.fr-child:focus-visible) {\n outline: none;\n --tw-ring-offset-width: 1px;\n --tw-ring-offset-color: var(--i-color-lowest);\n --tw-ring-opacity: 1;\n --tw-ring-color: var(--i-color-a-9);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .fr-child {}\n\n #ijs .hide-scrollbars::-webkit-scrollbar {\n display: none;\n}\n\n #ijs .hide-scrollbars {\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n\n #ijs .touch-hitbox::before {\n content: '';\n position: absolute;\n display: block;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n height: 100%;\n min-height: 44px;\n min-width: 44px;\n z-index: 9999;\n}\n\n #ijs .\\[-webkit-user-drag\\:none\\] {\n -webkit-user-drag: none;\n}\n\n #ijs .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\] {\n a-z-a--z0-9-_: .$@?;\n}\n\n #ijs .\\[text-wrap\\:balance\\] {\n text-wrap: balance;\n}\n\n #ijs .\\[text-wrap\\:pretty\\] {\n text-wrap: pretty;\n}\n\n #ijs .placeholder\\:text-neutral-10::-moz-placeholder {\n color: var(--i-color-n-10);\n}\n\n #ijs .placeholder\\:text-neutral-10::placeholder {\n color: var(--i-color-n-10);\n}\n\n #ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill {\n -webkit-text-fill-color: var(--i-color-a-11);\n}\n\n #ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill {\n -webkit-text-fill-color: var(--i-color-a-11);\n}\n\n #ijs .focus-within\\:z-10:focus-within {\n z-index: 10;\n}\n\n #ijs .hover\\:scale-\\[1\\.02\\]:hover {\n --tw-scale-x: 1.02;\n --tw-scale-y: 1.02;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .focus\\:shadow-\\[0_0_0_2px\\]:focus {\n --tw-shadow: 0 0 0 2px;\n --tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .focus\\:outline-none:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n #ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .active\\:-scale-100:active {\n --tw-scale-x: -1;\n --tw-scale-y: -1;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .active\\:scale-95:active {\n --tw-scale-x: .95;\n --tw-scale-y: .95;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .active\\:scale-\\[\\.97\\]:active {\n --tw-scale-x: .97;\n --tw-scale-y: .97;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .active\\:scale-\\[0\\.975\\]:active {\n --tw-scale-x: 0.975;\n --tw-scale-y: 0.975;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .active\\:bg-accent-10:active {\n background-color: var(--i-color-a-10);\n}\n\n #ijs .active\\:bg-job-card-bg-active:active {\n background-color: var(--i-job-card-bg-active);\n}\n\n #ijs .active\\:ring-job-card-stroke-active:active {\n --tw-ring-color: var(--i-job-card-stroke-color-active);\n}\n\n #ijs .data-\\[state\\=idle\\]\\:translate-y-full[data-state=idle] {\n --tw-translate-y: 100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .data-\\[state\\=loading\\]\\:-translate-y-full[data-state=loading] {\n --tw-translate-y: -100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .data-\\[state\\=success\\]\\:translate-y-full[data-state=success] {\n --tw-translate-y: 100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle] {\n opacity: 0;\n}\n\n #ijs .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle] {\n opacity: 1;\n}\n\n @media (pointer: coarse) {\n\n #ijs .pointer-coarse\\:overflow-x-auto {\n overflow-x: auto;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:w-full {\n width: 100%;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:flex-wrap {\n flex-wrap: wrap;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:rounded-section {\n border-radius: var(--i-radius-section);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:bg-app {\n background-color: var(--i-app-bg);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:p-2 {\n padding: 0.5rem;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:ring-width-section {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:hover\\:bg-interactive-accent-bg-hover:hover {\n background-color: var(--i-interactive-accent-bg-hover);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:hover\\:bg-interactive-neutral-bg-hover:hover {\n background-color: var(--i-interactive-neutral-bg-hover);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .group:hover .pointer-fine\\:group-hover\\:text-copy-neutral {\n color: var(--i-copy);\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:col-span-2 {\n grid-column: span 2 / span 2;\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:grid {\n display: grid;\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:px-0 {\n padding-left: 0px;\n padding-right: 0px;\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n }\n}\n\n @media (min-width: 1024px) {\n\n #ijs .lg\\:ring-width-section {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n }\n}\n\n #ijs .\\[\\&\\:has\\(\\.fr-child\\:active\\)\\]\\:scale-\\[0\\.975\\]:has(.fr-child:active) {\n --tw-scale-x: 0.975;\n --tw-scale-y: 0.975;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n";
4598
+ const tailwind = "#ijs {\n font-size: 16px;\n --tw-content: '';\n}\n\n #ijs * {\n box-sizing: border-box;\n border-style: solid;\n border-width: 0;\n -webkit-tap-highlight-color: transparent;\n font-family: inherit;\n font-style: inherit;\n font-weight: inherit;\n }\n\n #ijs ::before,\n #ijs ::after {\n box-sizing: border-box;\n }\n\n #ijs :is(a) {\n text-decoration: none;\n }\n\n #ijs :is(ul, ol) {\n list-style: none;\n padding: 0;\n margin: 0;\n }\n\n #ijs :is(p) {\n margin: 0;\n padding: 0;\n }\n\n #ijs :is(li) {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n\n #ijs :is(button),\n #ijs :is(a) {\n display: block;\n margin: 0;\n padding: 0;\n border: unset;\n background: unset;\n text-align: unset;\n }\n\n #ijs :is(input),\n #ijs :is(textarea) {\n display: block;\n margin: 0;\n padding: 0;\n min-width: 0;\n max-width: unset;\n width: 100%;\n }\n\n #ijs :is(svg) {\n display: block;\n }\n\n #ijs.reduced-motion * {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n animation-delay: 0s !important;\n }\n\n @media (prefers-reduced-motion) {\n #ijs * {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n animation-delay: 0s !important;\n }\n }\n\n #ijs *, #ijs ::before, #ijs ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n\n #ijs ::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n\n #ijs .container {\n width: 100%;\n}\n\n @media (min-width: 640px) {\n\n #ijs .container {\n max-width: 640px;\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .container {\n max-width: 768px;\n }\n}\n\n @media (min-width: 1024px) {\n\n #ijs .container {\n max-width: 1024px;\n }\n}\n\n @media (min-width: 1280px) {\n\n #ijs .container {\n max-width: 1280px;\n }\n}\n\n @media (min-width: 1536px) {\n\n #ijs .container {\n max-width: 1536px;\n }\n}\n\n #ijs .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n #ijs .not-sr-only {\n position: static;\n width: auto;\n height: auto;\n padding: 0;\n margin: 0;\n overflow: visible;\n clip: auto;\n white-space: normal;\n}\n\n #ijs .pointer-events-none {\n pointer-events: none;\n}\n\n #ijs .visible {\n visibility: visible;\n}\n\n #ijs .invisible {\n visibility: hidden;\n}\n\n #ijs .collapse {\n visibility: collapse;\n}\n\n #ijs .static {\n position: static;\n}\n\n #ijs .fixed {\n position: fixed;\n}\n\n #ijs .absolute {\n position: absolute;\n}\n\n #ijs .relative {\n position: relative;\n}\n\n #ijs .sticky {\n position: sticky;\n}\n\n #ijs .bottom-0 {\n bottom: 0px;\n}\n\n #ijs .right-0 {\n right: 0px;\n}\n\n #ijs .top-0 {\n top: 0px;\n}\n\n #ijs .isolate {\n isolation: isolate;\n}\n\n #ijs .z-50 {\n z-index: 50;\n}\n\n #ijs .order-1 {\n order: 1;\n}\n\n #ijs .order-2 {\n order: 2;\n}\n\n #ijs .col-span-full {\n grid-column: 1 / -1;\n}\n\n #ijs .row-span-full {\n grid-row: 1 / -1;\n}\n\n #ijs .-m-4 {\n margin: -1rem;\n}\n\n #ijs .m-0 {\n margin: 0px;\n}\n\n #ijs .m-11 {\n margin: 2.75rem;\n}\n\n #ijs .m-3 {\n margin: 0.75rem;\n}\n\n #ijs .m-4 {\n margin: 1rem;\n}\n\n #ijs .mx-auto {\n margin-left: auto;\n margin-right: auto;\n}\n\n #ijs .ml-auto {\n margin-left: auto;\n}\n\n #ijs .mt-0\\.5 {\n margin-top: 0.125rem;\n}\n\n #ijs .block {\n display: block;\n}\n\n #ijs .inline-block {\n display: inline-block;\n}\n\n #ijs .inline {\n display: inline;\n}\n\n #ijs .flex {\n display: flex;\n}\n\n #ijs .inline-flex {\n display: inline-flex;\n}\n\n #ijs .table {\n display: table;\n}\n\n #ijs .table-row {\n display: table-row;\n}\n\n #ijs .flow-root {\n display: flow-root;\n}\n\n #ijs .grid {\n display: grid;\n}\n\n #ijs .inline-grid {\n display: inline-grid;\n}\n\n #ijs .contents {\n display: contents;\n}\n\n #ijs .list-item {\n display: list-item;\n}\n\n #ijs .\\!hidden {\n display: none !important;\n}\n\n #ijs .hidden {\n display: none;\n}\n\n #ijs .h-12 {\n height: 3rem;\n}\n\n #ijs .h-4 {\n height: 1rem;\n}\n\n #ijs .h-8 {\n height: 2rem;\n}\n\n #ijs .h-\\[1lh\\] {\n height: 1lh;\n}\n\n #ijs .h-full {\n height: 100%;\n}\n\n #ijs .min-h-\\[1em\\] {\n min-height: 1em;\n}\n\n #ijs .min-h-\\[36px\\] {\n min-height: 36px;\n}\n\n #ijs .min-h-screen {\n min-height: 100vh;\n}\n\n #ijs .w-4 {\n width: 1rem;\n}\n\n #ijs .w-64 {\n width: 16rem;\n}\n\n #ijs .w-\\[10ch\\] {\n width: 10ch;\n}\n\n #ijs .w-\\[6ch\\] {\n width: 6ch;\n}\n\n #ijs .w-\\[8ch\\] {\n width: 8ch;\n}\n\n #ijs .w-full {\n width: 100%;\n}\n\n #ijs .min-w-0 {\n min-width: 0px;\n}\n\n #ijs .max-w-\\[var\\(--radix-popover-content-available-width\\)\\] {\n max-width: var(--radix-popover-content-available-width);\n}\n\n #ijs .max-w-full {\n max-width: 100%;\n}\n\n #ijs .max-w-screen-lg {\n max-width: 1024px;\n}\n\n #ijs .flex-1 {\n flex: 1 1 0%;\n}\n\n #ijs .flex-none {\n flex: none;\n}\n\n #ijs .flex-shrink {\n flex-shrink: 1;\n}\n\n #ijs .shrink {\n flex-shrink: 1;\n}\n\n #ijs .shrink-0 {\n flex-shrink: 0;\n}\n\n #ijs .flex-grow {\n flex-grow: 1;\n}\n\n #ijs .grow {\n flex-grow: 1;\n}\n\n #ijs .border-collapse {\n border-collapse: collapse;\n}\n\n #ijs .origin-\\[50\\%_1\\.75rem\\] {\n transform-origin: 50% 1.75rem;\n}\n\n #ijs .origin-top {\n transform-origin: top;\n}\n\n #ijs .translate-y-0 {\n --tw-translate-y: 0px;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .transform {\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n @keyframes appear-tag {\n\n 0% {\n transform: scale(0.9);\n }\n\n 100% {\n transform: scale(1);\n }\n}\n\n #ijs .animate-appear-tag {\n animation: appear-tag .6s cubic-bezier(0.16, 1, 0.3, 1) both;\n}\n\n @keyframes selected-tag {\n\n 0% {\n transform: scale(1.11);\n }\n\n 100% {\n transform: scale(1);\n }\n}\n\n #ijs .animate-selected-tag {\n animation: selected-tag .9s cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n @keyframes skeleton {\n\n 0% {\n opacity: 0.2;\n }\n\n 50% {\n opacity: 0.6;\n }\n\n 100% {\n opacity: 0.25;\n }\n}\n\n #ijs .animate-skeleton {\n animation: skeleton 1.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n}\n\n @keyframes slide-in-bottom {\n\n 0% {\n transform: translateY(-50%);\n }\n\n 100% {\n transform: translateY(0);\n }\n}\n\n #ijs .animate-slide-in-bottom {\n animation: slide-in-bottom .4s cubic-bezier(0.16, 1, 0.3, 1) both;\n}\n\n #ijs .cursor-default {\n cursor: default;\n}\n\n #ijs .cursor-pointer {\n cursor: pointer;\n}\n\n #ijs .select-none {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n\n #ijs .resize {\n resize: both;\n}\n\n #ijs .appearance-none {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n\n #ijs .flex-col {\n flex-direction: column;\n}\n\n #ijs .flex-wrap {\n flex-wrap: wrap;\n}\n\n #ijs .flex-nowrap {\n flex-wrap: nowrap;\n}\n\n #ijs .items-start {\n align-items: flex-start;\n}\n\n #ijs .items-center {\n align-items: center;\n}\n\n #ijs .justify-end {\n justify-content: flex-end;\n}\n\n #ijs .justify-center {\n justify-content: center;\n}\n\n #ijs .gap-1 {\n gap: 0.25rem;\n}\n\n #ijs .gap-1\\.5 {\n gap: 0.375rem;\n}\n\n #ijs .gap-2 {\n gap: 0.5rem;\n}\n\n #ijs .gap-2\\.5 {\n gap: 0.625rem;\n}\n\n #ijs .gap-3 {\n gap: 0.75rem;\n}\n\n #ijs .gap-4 {\n gap: 1rem;\n}\n\n #ijs .gap-logo {\n gap: var(--i-logo-gap);\n}\n\n #ijs .self-center {\n align-self: center;\n}\n\n #ijs .overflow-hidden {\n overflow: hidden;\n}\n\n #ijs .overflow-y-auto {\n overflow-y: auto;\n}\n\n #ijs .truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n #ijs .text-pretty {\n text-wrap: pretty;\n}\n\n #ijs .rounded-app {\n border-radius: var(--i-radius-app);\n}\n\n #ijs .rounded-input {\n border-radius: var(--i-radius-input);\n}\n\n #ijs .rounded-interactive {\n border-radius: var(--i-radius-interactive);\n}\n\n #ijs .rounded-job-card {\n border-radius: var(--i-radius-job-card);\n}\n\n #ijs .rounded-job-tag {\n border-radius: var(--i-radius-job-tag);\n}\n\n #ijs .rounded-logo {\n border-radius: var(--i-radius-logo);\n}\n\n #ijs .rounded-section {\n border-radius: var(--i-radius-section);\n}\n\n #ijs .rounded-tag {\n border-radius: var(--i-radius-job-tag);\n}\n\n #ijs .border-px {\n border-width: 1px;\n}\n\n #ijs .border-solid {\n border-style: solid;\n}\n\n #ijs .border-tag-accent-strong-stroke {\n border-color: var(--i-tag-accent-strong-stroke-color);\n}\n\n #ijs .border-tag-monetary-weak-stroke {\n border-color: var(--i-tag-monetary-weak-stroke-color);\n}\n\n #ijs .border-tag-neutral-strong-stroke {\n border-color: var(--i-tag-neutral-strong-stroke-color);\n}\n\n #ijs .border-tag-neutral-weak-stroke {\n border-color: var(--i-tag-neutral-weak-stroke-color);\n}\n\n #ijs .border-transparent {\n border-color: transparent;\n}\n\n #ijs .bg-\\[currentColor\\] {\n background-color: currentColor;\n}\n\n #ijs .bg-accent-9 {\n background-color: var(--i-color-a-9);\n}\n\n #ijs .bg-app {\n background-color: var(--i-app-bg);\n}\n\n #ijs .bg-copy-neutral {\n background-color: var(--i-copy);\n}\n\n #ijs .bg-interactive-accent-bg {\n background-color: var(--i-interactive-accent-bg);\n}\n\n #ijs .bg-interactive-neutral-bg {\n background-color: var(--i-interactive-neutral-bg);\n}\n\n #ijs .bg-job-card-bg {\n background-color: var(--i-job-card-bg);\n}\n\n #ijs .bg-lowest {\n background-color: var(--i-color-lowest);\n}\n\n #ijs .bg-neutral-1 {\n background-color: var(--i-color-n-1);\n}\n\n #ijs .bg-neutral-12 {\n background-color: var(--i-color-n-12);\n}\n\n #ijs .bg-section-strong-bg {\n background-color: var(--i-section-strong-bg);\n}\n\n #ijs .bg-section-weak-bg {\n background-color: var(--i-section-weak-bg);\n}\n\n #ijs .bg-tag-accent-strong-bg {\n background-color: var(--i-tag-accent-strong-bg);\n}\n\n #ijs .bg-tag-monetary-weak-bg {\n background-color: var(--i-tag-monetary-weak-bg);\n}\n\n #ijs .bg-tag-neutral-strong-bg {\n background-color: var(--i-tag-neutral-strong-bg);\n}\n\n #ijs .bg-tag-neutral-weak-bg {\n background-color: var(--i-tag-neutral-weak-bg);\n}\n\n #ijs .object-contain {\n -o-object-fit: contain;\n object-fit: contain;\n}\n\n #ijs .p-0 {\n padding: 0px;\n}\n\n #ijs .p-1 {\n padding: 0.25rem;\n}\n\n #ijs .p-2 {\n padding: 0.5rem;\n}\n\n #ijs .p-4 {\n padding: 1rem;\n}\n\n #ijs .p-6 {\n padding: 1.5rem;\n}\n\n #ijs .px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n\n #ijs .px-2\\.5 {\n padding-left: 0.625rem;\n padding-right: 0.625rem;\n}\n\n #ijs .px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n\n #ijs .px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n\n #ijs .px-5 {\n padding-left: 1.25rem;\n padding-right: 1.25rem;\n}\n\n #ijs .py-1 {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n\n #ijs .py-1\\.5 {\n padding-top: 0.375rem;\n padding-bottom: 0.375rem;\n}\n\n #ijs .py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n #ijs .py-4 {\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n\n #ijs .pb-4 {\n padding-bottom: 1rem;\n}\n\n #ijs .pl-1 {\n padding-left: 0.25rem;\n}\n\n #ijs .pl-2 {\n padding-left: 0.5rem;\n}\n\n #ijs .pl-2\\.5 {\n padding-left: 0.625rem;\n}\n\n #ijs .pl-3 {\n padding-left: 0.75rem;\n}\n\n #ijs .pl-4 {\n padding-left: 1rem;\n}\n\n #ijs .pl-5 {\n padding-left: 1.25rem;\n}\n\n #ijs .pr-1 {\n padding-right: 0.25rem;\n}\n\n #ijs .pr-3 {\n padding-right: 0.75rem;\n}\n\n #ijs .pr-5 {\n padding-right: 1.25rem;\n}\n\n #ijs .pr-8 {\n padding-right: 2rem;\n}\n\n #ijs .pt-1 {\n padding-top: 0.25rem;\n}\n\n #ijs .text-center {\n text-align: center;\n}\n\n #ijs .text-justify {\n text-align: justify;\n}\n\n #ijs .align-middle {\n vertical-align: middle;\n}\n\n #ijs .font-family-default {\n font-family: var(--i-font);\n}\n\n #ijs .font-family-filter {\n font-family: var(--i-font-filter);\n}\n\n #ijs .font-family-job-heading {\n font-family: var(--i-font-job-heading);\n}\n\n #ijs .font-family-tag {\n font-family: var(--i-font-tag);\n}\n\n #ijs .text-\\[10px\\] {\n font-size: 10px;\n}\n\n #ijs .text-style-filter {\n font-size: 1rem;\n line-height: 1.5rem;\n letter-spacing: -0.01em;\n}\n\n #ijs .text-style-input {\n font-size: 1rem;\n line-height: 1.5rem;\n}\n\n #ijs .text-style-job-card {\n font-size: 0.875rem;\n line-height: 1.125rem;\n}\n\n #ijs .text-style-job-card-info {\n font-size: 0.75rem;\n line-height: 1.125rem;\n}\n\n #ijs .text-style-job-heading {\n font-size: 1.125rem;\n line-height: 1.5rem;\n}\n\n #ijs .text-style-tag {\n font-size: 0.875rem;\n line-height: 1.5rem;\n}\n\n #ijs .font-weight-default {\n font-weight: var(--i-weight-default);\n}\n\n #ijs .font-weight-filter {\n font-weight: var(--i-weight-filter);\n}\n\n #ijs .font-weight-input {\n font-weight: var(--i-weight-input);\n}\n\n #ijs .font-weight-job-heading {\n font-weight: var(--i-weight-job-heading);\n}\n\n #ijs .font-weight-tag {\n font-weight: var(--i-weight-tag);\n}\n\n #ijs .uppercase {\n text-transform: uppercase;\n}\n\n #ijs .lowercase {\n text-transform: lowercase;\n}\n\n #ijs .capitalize {\n text-transform: capitalize;\n}\n\n #ijs .italic {\n font-style: italic;\n}\n\n #ijs .ordinal {\n --tw-ordinal: ordinal;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);\n}\n\n #ijs .tabular-nums {\n --tw-numeric-spacing: tabular-nums;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);\n}\n\n #ijs .leading-none {\n line-height: 1;\n}\n\n #ijs .leading-snug {\n line-height: 1.375;\n}\n\n #ijs .text-\\[\\#E5484D\\] {\n --tw-text-opacity: 1;\n color: rgb(229 72 77 / var(--tw-text-opacity));\n}\n\n #ijs .text-accent-1 {\n color: var(--i-color-a-1);\n}\n\n #ijs .text-accent-11 {\n color: var(--i-color-a-11);\n}\n\n #ijs .text-copy-accent {\n color: var(--i-copy-accent);\n}\n\n #ijs .text-copy-job-info {\n color: var(--i-copy-info);\n}\n\n #ijs .text-copy-neutral {\n color: var(--i-copy);\n}\n\n #ijs .text-copy-neutral-icon {\n color: var(--i-copy-icon);\n}\n\n #ijs .text-copy-neutral-lowcontrast {\n color: var(--i-copy-lowcontrast);\n}\n\n #ijs .text-interactive-accent-text {\n color: var(--i-interactive-accent-text);\n}\n\n #ijs .text-interactive-neutral-bg {\n color: var(--i-interactive-neutral-bg);\n}\n\n #ijs .text-interactive-neutral-text {\n color: var(--i-interactive-neutral-text);\n}\n\n #ijs .text-neutral-1 {\n color: var(--i-color-n-1);\n}\n\n #ijs .text-neutral-10 {\n color: var(--i-color-n-10);\n}\n\n #ijs .text-neutral-11 {\n color: var(--i-color-n-11);\n}\n\n #ijs .text-neutral-8 {\n color: var(--i-color-n-8);\n}\n\n #ijs .text-tag-accent-strong-bg {\n color: var(--i-tag-accent-strong-bg);\n}\n\n #ijs .text-tag-accent-strong-copy {\n color: var(--i-tag-accent-strong-copy);\n}\n\n #ijs .text-tag-monetary-weak-copy {\n color: var(--i-tag-monetary-weak-copy);\n}\n\n #ijs .text-tag-neutral-strong-copy {\n color: var(--i-tag-neutral-strong-copy);\n}\n\n #ijs .text-tag-neutral-weak-copy {\n color: var(--i-tag-neutral-weak-copy);\n}\n\n #ijs .underline {\n text-decoration-line: underline;\n}\n\n #ijs .caret-accent-11 {\n caret-color: var(--i-color-a-11);\n}\n\n #ijs .opacity-0 {\n opacity: 0;\n}\n\n #ijs .opacity-20 {\n opacity: 0.2;\n}\n\n #ijs .opacity-25 {\n opacity: 0.25;\n}\n\n #ijs .shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .shadow-\\[0_0_0_1px\\] {\n --tw-shadow: 0 0 0 1px;\n --tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .outline-none {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n #ijs .outline {\n outline-style: solid;\n}\n\n #ijs .ring-\\[1px\\] {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .ring-px {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .ring-width-job-card {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-job-card-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .ring-width-section {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .ring-job-card-stroke {\n --tw-ring-color: var(--i-job-card-stroke-color);\n}\n\n #ijs .ring-neutral-4 {\n --tw-ring-color: var(--i-color-n-4);\n}\n\n #ijs .ring-neutral-5 {\n --tw-ring-color: var(--i-color-n-5);\n}\n\n #ijs .ring-section-strong-stroke {\n --tw-ring-color: var(--i-section-strong-stroke-color);\n}\n\n #ijs .ring-section-weak-stroke {\n --tw-ring-color: var(--i-section-weak-stroke-color);\n}\n\n #ijs .ring-tag-accent-strong-bg {\n --tw-ring-color: var(--i-tag-accent-strong-bg);\n}\n\n #ijs .blur {\n --tw-blur: blur(8px);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .grayscale {\n --tw-grayscale: grayscale(100%);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .invert {\n --tw-invert: invert(100%);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .sepia {\n --tw-sepia: sepia(100%);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .filter {\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .backdrop-filter {\n -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n}\n\n #ijs .transition {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n #ijs .transition-all {\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n #ijs .transition-opacity {\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n #ijs .duration-medium {\n transition-duration: .6s;\n}\n\n #ijs .duration-slow {\n transition-duration: .9s;\n}\n\n #ijs .duration-snappy {\n transition-duration: .4s;\n}\n\n #ijs .ease-expo-out {\n transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n #ijs .will-change-\\[transform\\2c opacity\\] {\n will-change: transform,opacity;\n}\n\n #ijs .font-style-default {\n font-style: var(--i-font-style);\n}\n\n #ijs .font-style-filter {\n font-style: var(--i-style-filter);\n}\n\n #ijs .font-style-input {\n font-style: var(--i-style-input);\n}\n\n #ijs .font-style-job-heading {\n font-style: var(--i-style-job-heading);\n}\n\n #ijs .font-style-tag {\n font-style: var(--i-style-tag);\n}\n\n #ijs .top-filters {\n top: var(--i-filters-offset-top);\n}\n\n #ijs .fr {\n outline: none;\n}\n\n #ijs .fr:focus {\n outline: none;\n}\n\n #ijs .fr:focus-visible {\n outline: none;\n --tw-ring-offset-width: 1px;\n --tw-ring-offset-color: var(--i-color-lowest);\n --tw-ring-opacity: 1;\n --tw-ring-color: var(--i-color-a-9);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .fr-parent:has(.fr-child:focus-visible) {\n outline: none;\n --tw-ring-offset-width: 1px;\n --tw-ring-offset-color: var(--i-color-lowest);\n --tw-ring-opacity: 1;\n --tw-ring-color: var(--i-color-a-9);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .fr-child {}\n\n #ijs .hide-scrollbars::-webkit-scrollbar {\n display: none;\n}\n\n #ijs .hide-scrollbars {\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n\n #ijs .touch-hitbox::before {\n content: '';\n position: absolute;\n display: block;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n height: 100%;\n min-height: 44px;\n min-width: 44px;\n z-index: 9999;\n}\n\n #ijs .\\[-webkit-user-drag\\:none\\] {\n -webkit-user-drag: none;\n}\n\n #ijs .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\] {\n a-z-a--z0-9-_: .$@?;\n}\n\n #ijs .\\[text-wrap\\:balance\\] {\n text-wrap: balance;\n}\n\n #ijs .\\[text-wrap\\:pretty\\] {\n text-wrap: pretty;\n}\n\n #ijs .placeholder\\:text-neutral-10::-moz-placeholder {\n color: var(--i-color-n-10);\n}\n\n #ijs .placeholder\\:text-neutral-10::placeholder {\n color: var(--i-color-n-10);\n}\n\n #ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill {\n -webkit-text-fill-color: var(--i-color-a-11);\n}\n\n #ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill {\n -webkit-text-fill-color: var(--i-color-a-11);\n}\n\n #ijs .focus-within\\:z-10:focus-within {\n z-index: 10;\n}\n\n #ijs .hover\\:scale-\\[1\\.02\\]:hover {\n --tw-scale-x: 1.02;\n --tw-scale-y: 1.02;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .focus\\:shadow-\\[0_0_0_2px\\]:focus {\n --tw-shadow: 0 0 0 2px;\n --tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .focus\\:outline-none:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n #ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .active\\:-scale-100:active {\n --tw-scale-x: -1;\n --tw-scale-y: -1;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .active\\:scale-95:active {\n --tw-scale-x: .95;\n --tw-scale-y: .95;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .active\\:scale-\\[\\.97\\]:active {\n --tw-scale-x: .97;\n --tw-scale-y: .97;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .active\\:scale-\\[0\\.975\\]:active {\n --tw-scale-x: 0.975;\n --tw-scale-y: 0.975;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .active\\:bg-accent-10:active {\n background-color: var(--i-color-a-10);\n}\n\n #ijs .active\\:bg-job-card-bg-active:active {\n background-color: var(--i-job-card-bg-active);\n}\n\n #ijs .active\\:ring-job-card-stroke-active:active {\n --tw-ring-color: var(--i-job-card-stroke-color-active);\n}\n\n #ijs .data-\\[state\\=idle\\]\\:translate-y-full[data-state=idle] {\n --tw-translate-y: 100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .data-\\[state\\=loading\\]\\:-translate-y-full[data-state=loading] {\n --tw-translate-y: -100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .data-\\[state\\=success\\]\\:translate-y-full[data-state=success] {\n --tw-translate-y: 100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle] {\n opacity: 0;\n}\n\n #ijs .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle] {\n opacity: 1;\n}\n\n @media (pointer: coarse) {\n\n #ijs .pointer-coarse\\:overflow-x-auto {\n overflow-x: auto;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:w-full {\n width: 100%;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:flex-wrap {\n flex-wrap: wrap;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:rounded-section {\n border-radius: var(--i-radius-section);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:bg-app {\n background-color: var(--i-app-bg);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:p-2 {\n padding: 0.5rem;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:ring-width-section {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:hover\\:bg-interactive-accent-bg-hover:hover {\n background-color: var(--i-interactive-accent-bg-hover);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:hover\\:bg-interactive-neutral-bg-hover:hover {\n background-color: var(--i-interactive-neutral-bg-hover);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .group:hover .pointer-fine\\:group-hover\\:text-copy-neutral {\n color: var(--i-copy);\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:col-span-2 {\n grid-column: span 2 / span 2;\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:grid {\n display: grid;\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:px-0 {\n padding-left: 0px;\n padding-right: 0px;\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n }\n}\n\n @media (min-width: 1024px) {\n\n #ijs .lg\\:ring-width-section {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n }\n}\n\n #ijs .\\[\\&\\:has\\(\\.fr-child\\:active\\)\\]\\:scale-\\[0\\.975\\]:has(.fr-child:active) {\n --tw-scale-x: 0.975;\n --tw-scale-y: 0.975;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n";
4403
4599
  var COLOR_SHADES = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"];
4404
4600
  var OKLCH_PRESETS = {
4405
4601
  light: {
@@ -4521,37 +4717,30 @@ var designTokens = () => {
4521
4717
  })
4522
4718
  };
4523
4719
  };
4524
- const match = (m2) => {
4720
+ const match = (subject) => {
4525
4721
  const patterns = [];
4526
- const i2 = (m22) => ({
4527
- with: (p2, fn2) => {
4528
- patterns.push({
4529
- p: p2,
4530
- fn: fn2
4531
- });
4532
- return i2(m22);
4722
+ const run = (subject2) => ({
4723
+ with: (pattern, fn2) => {
4724
+ patterns.push({ pattern, fn: fn2 });
4725
+ return run(subject2);
4533
4726
  },
4534
- otherwise: (o2) => {
4727
+ otherwise: (fallback) => {
4535
4728
  pattern:
4536
- for (let i22 = patterns.length - 1; i22 >= 0; i22--) {
4537
- const pattern = patterns[i22];
4538
- for (const key in pattern.p) {
4539
- if (pattern.p[key] !== m22[key])
4729
+ for (const { fn: fn2, pattern } of patterns) {
4730
+ for (const key in pattern)
4731
+ if (pattern[key] !== subject2[key])
4540
4732
  continue pattern;
4541
- return pattern.fn(m22);
4542
- }
4733
+ return fn2(subject2);
4543
4734
  }
4544
- if (o2)
4545
- return o2(m22);
4735
+ if (fallback)
4736
+ return fallback(subject2);
4546
4737
  throw new Error("No pattern matched");
4547
4738
  }
4548
4739
  });
4549
- return i2(m2);
4740
+ return run(subject);
4550
4741
  };
4551
4742
  const [black, white, transparent] = ["oklch(0 0 0)", "oklch(100 0 0)", "transparent"];
4552
- const tokens = designTokens().core(({
4553
- theme
4554
- }) => ({
4743
+ const tokens = designTokens().core(({ theme }) => ({
4555
4744
  color: {
4556
4745
  black,
4557
4746
  white,
@@ -4579,17 +4768,10 @@ const tokens = designTokens().core(({
4579
4768
  transform: sameAsInput
4580
4769
  })
4581
4770
  }
4582
- })).semantic(({
4583
- core,
4584
- theme,
4585
- raw
4586
- }) => {
4771
+ })).semantic(({ core, theme, raw }) => {
4587
4772
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n2, _o, _p, _q, _r, _s, _t, _u;
4588
4773
  const withOpacity = (token, opacity) => raw.core.color[token].replace(")", ` / ${opacity})`);
4589
- const {
4590
- typography,
4591
- highlights
4592
- } = theme;
4774
+ const { typography, highlights } = theme;
4593
4775
  const highContrast = ((_a = theme.accessibility) == null ? void 0 : _a.highContrast) ?? false;
4594
4776
  return {
4595
4777
  "filters-offset-top": (theme.filtersOffsetTopPx ?? 112) + "px",
@@ -4630,102 +4812,60 @@ const tokens = designTokens().core(({
4630
4812
  "tag-accent-strong-bg": theme.mode === "dark" ? core("color.a-9") : core("color.a-11"),
4631
4813
  "tag-accent-strong-copy": core("color.white"),
4632
4814
  "tag-accent-strong-stroke-color": transparent,
4633
- "radius-app": match(theme).with({
4634
- corners: "rounded"
4635
- }, () => "2rem").with({
4636
- corners: "soft"
4637
- }, () => "2rem").otherwise(() => "0"),
4638
- "radius-section": match(theme).with({
4639
- corners: "rounded"
4640
- }, () => "1rem").with({
4641
- corners: "soft"
4642
- }, () => "1rem").with({
4643
- corners: "sharp"
4644
- }, () => "0").otherwise(),
4645
- "radius-input": match(theme).with({
4646
- corners: "rounded"
4647
- }, () => ".5rem").with({
4648
- corners: "soft"
4649
- }, () => ".25rem").with({
4650
- corners: "sharp"
4651
- }, () => "0").otherwise(),
4652
- "radius-job-card": match(theme).with({
4653
- corners: "rounded"
4654
- }, () => "0.75rem").with({
4655
- corners: "soft"
4656
- }, () => "0.5rem").with({
4657
- corners: "sharp"
4658
- }, () => "0").otherwise(),
4659
- "radius-job-tag": match(theme).with({
4660
- corners: "rounded"
4661
- }, () => "0.5rem").with({
4662
- corners: "soft"
4663
- }, () => "0.25rem").with({
4664
- corners: "sharp"
4665
- }, () => "0").otherwise(),
4666
- "radius-logo": match(theme).with({
4667
- corners: "rounded"
4668
- }, () => ".25rem").with({
4669
- corners: "soft"
4670
- }, () => ".125rem").with({
4671
- corners: "sharp"
4672
- }, () => "0").otherwise(),
4673
- "logo-gap": match(theme).with({
4674
- corners: "rounded"
4675
- }, () => "0.75rem").with({
4676
- corners: "soft"
4677
- }, () => "1rem").with({
4678
- corners: "sharp"
4679
- }, () => "1rem").otherwise(),
4815
+ "radius-app": match(theme).with({ corners: "rounded" }, () => "2rem").with({ corners: "soft" }, () => "2rem").otherwise(() => "0"),
4816
+ "radius-section": match(theme).with({ corners: "rounded" }, () => "1rem").with({ corners: "soft" }, () => "1rem").with({ corners: "sharp" }, () => "0").otherwise(),
4817
+ "radius-input": match(theme).with({ corners: "rounded" }, () => ".5rem").with({ corners: "soft" }, () => ".25rem").with({ corners: "sharp" }, () => "0").otherwise(),
4818
+ "radius-job-card": match(theme).with({ corners: "rounded" }, () => "0.75rem").with({ corners: "soft" }, () => "0.5rem").with({ corners: "sharp" }, () => "0").otherwise(),
4819
+ "radius-job-tag": match(theme).with({ corners: "rounded" }, () => "0.5rem").with({ corners: "soft" }, () => "0.25rem").with({ corners: "sharp" }, () => "0").otherwise(),
4820
+ "radius-logo": match(theme).with({ corners: "rounded" }, () => ".25rem").with({ corners: "soft" }, () => ".125rem").with({ corners: "sharp" }, () => "0").otherwise(),
4821
+ "logo-gap": match(theme).with({ corners: "rounded" }, () => "0.75rem").with({ corners: "soft" }, () => "1rem").with({ corners: "sharp" }, () => "1rem").otherwise(),
4680
4822
  "interactive-neutral-bg": withOpacity(highContrast ? "n-5" : "n-4", 0.01),
4681
4823
  "interactive-neutral-bg-hover": highContrast ? core("color.n-5") : core("color.n-4"),
4682
4824
  "interactive-neutral-text": core("color.n-12"),
4683
4825
  "interactive-accent-bg": withOpacity(highlights === "fill" ? "a-4" : "a-3", 0.01),
4684
4826
  "interactive-accent-bg-hover": highlights === "fill" ? core("color.a-4") : core("color.a-3"),
4685
4827
  "interactive-accent-text": core("color.a-11"),
4686
- "radius-interactive": match(theme).with({
4687
- corners: "rounded"
4688
- }, () => "1.5rem").with({
4689
- corners: "soft"
4690
- }, () => ".5rem").with({
4691
- corners: "sharp"
4692
- }, () => "0").otherwise(),
4828
+ "radius-interactive": match(theme).with({ corners: "rounded" }, () => "1.5rem").with({ corners: "soft" }, () => ".5rem").with({ corners: "sharp" }, () => "0").otherwise(),
4693
4829
  "section-weak-bg": highlights === "fill" ? core("color.n-2") : transparent,
4694
4830
  "section-strong-bg": highlights === "fill" ? highContrast ? core("color.n-3") : core("color.n-2") : transparent,
4695
4831
  "section-weak-stroke-color": highlights === "fill" ? transparent : highContrast ? core("color.n-7") : core("color.n-3"),
4696
4832
  "section-strong-stroke-color": highlights === "fill" ? transparent : highContrast ? core("color.n-11") : core("color.n-4"),
4697
- "section-stroke-width": match(theme).with({
4698
- highlights: "stroke",
4699
- highcontrast: true
4700
- }, () => "1.5px").otherwise(() => "1px"),
4701
- "job-card-bg": match(theme).with({
4702
- highlights: "fill"
4703
- }, () => core("color.lowest")).otherwise(() => transparent),
4704
- "job-card-bg-active": match(theme).with({
4705
- highlights: "fill"
4706
- }, () => core("color.lowest")).otherwise(() => transparent),
4833
+ "section-stroke-width": match(theme).with({ highlights: "stroke", highcontrast: true }, () => "1.5px").otherwise(() => "1px"),
4834
+ "job-card-bg": match(theme).with({ highlights: "fill" }, () => core("color.lowest")).otherwise(() => transparent),
4835
+ "job-card-bg-active": match(theme).with({ highlights: "fill" }, () => core("color.lowest")).otherwise(() => transparent),
4707
4836
  "job-card-stroke-color": highContrast ? core("color.n-10") : core("color.n-4"),
4708
4837
  "job-card-stroke-color-active": core("color.a-9"),
4709
- "job-card-stroke-width": match(theme).with({
4710
- highlights: "stroke",
4711
- highcontrast: true
4712
- }, () => "1.5px").otherwise(() => "1px")
4838
+ "job-card-stroke-width": match(theme).with({ highlights: "stroke", highcontrast: true }, () => "1.5px").otherwise(() => "1px")
4713
4839
  };
4714
4840
  }).component(() => ({}));
4715
- const asInploiVar = asCssVar({
4716
- prefix: "i-"
4717
- });
4841
+ const asInploiVar = asCssVar({ prefix: "i-" });
4718
4842
  const generateColorThemeCss = (theme) => {
4719
- const core = tokens.from({
4720
- theme,
4721
- getToken: asInploiVar
4722
- });
4843
+ const core = tokens.from({ theme, getToken: asInploiVar });
4723
4844
  const tokenCss = Object.entries(core.declarations).map(([key, value]) => `${key}: ${value};`);
4724
4845
  return `#${JOB_SEARCH_SCOPE_ELEMENT_ID} {
4725
4846
  ${tokenCss.concat(tokenCss).join("\n")}
4726
4847
  }`;
4727
4848
  };
4728
- const FILTER_KEYS = ["company_name", "employment_type", "location_type", "pay_type", "pay_currency", "pay_mask", "pay", "pay_min", "pay_max", "title", "industry", "category", "skills", "town", "city", "country", "contract_type", "pay_display"];
4849
+ const FILTER_KEYS = [
4850
+ "company_name",
4851
+ "employment_type",
4852
+ "location_type",
4853
+ "pay_type",
4854
+ "pay_currency",
4855
+ "pay_mask",
4856
+ "pay",
4857
+ "pay_min",
4858
+ "pay_max",
4859
+ "title",
4860
+ "industry",
4861
+ "category",
4862
+ "skills",
4863
+ "town",
4864
+ "city",
4865
+ "country",
4866
+ "contract_type",
4867
+ "pay_display"
4868
+ ];
4729
4869
  const createJobSearchDomManager = () => {
4730
4870
  return {
4731
4871
  getRenderTargetElement: () => {
@@ -4737,33 +4877,28 @@ const createJobSearchDomManager = () => {
4737
4877
  };
4738
4878
  const dom = createJobSearchDomManager();
4739
4879
  const jobSearchPlugin = () => {
4740
- return createPlugin(({
4741
- apiClient,
4742
- logger,
4743
- analytics
4744
- }) => {
4880
+ return createPlugin(({ apiClient, logger, analytics }) => {
4745
4881
  const App = ({
4746
4882
  params
4747
4883
  }) => {
4748
4884
  var _a;
4749
- return y$2(ErrorBoundary, {
4750
- Fallback: UnstyledErrorView
4751
- }, [[y$2("style", {
4752
- id: "inploi-job-search-styles"
4753
- }, tailwind), y$2("style", {
4754
- id: "inploi-job-search-theme"
4755
- }, generateColorThemeCss(params.theme))], y$2(IconSpritesheet, {
4756
- theme: params.theme
4757
- }), y$2(JobSearch, {
4758
- properties: params.properties,
4759
- apiClient,
4760
- logger,
4761
- analytics,
4762
- class: ((_a = params.theme.accessibility) == null ? void 0 : _a.reducedMotion) ? "reduced-motion" : void 0,
4763
- initialData: params.initialData,
4764
- onFilterChange: params.onFilterChange,
4765
- params
4766
- })]);
4885
+ return _$1(ErrorBoundary, { Fallback: UnstyledErrorView }, [
4886
+ [
4887
+ _$1("style", { id: "inploi-job-search-styles" }, tailwind),
4888
+ _$1("style", { id: "inploi-job-search-theme" }, generateColorThemeCss(params.theme))
4889
+ ],
4890
+ _$1(IconSpritesheet, { theme: params.theme }),
4891
+ _$1(JobSearch, {
4892
+ properties: params.properties,
4893
+ apiClient,
4894
+ logger,
4895
+ analytics,
4896
+ class: ((_a = params.theme.accessibility) == null ? void 0 : _a.reducedMotion) ? "reduced-motion" : void 0,
4897
+ initialData: params.initialData,
4898
+ onFilterChange: params.onFilterChange,
4899
+ params
4900
+ })
4901
+ ]);
4767
4902
  };
4768
4903
  return {
4769
4904
  /** Returns a string with the initial rendering state of the UI.
@@ -4774,26 +4909,31 @@ const jobSearchPlugin = () => {
4774
4909
  filters: getFilterDefaults(params.properties),
4775
4910
  apiClient,
4776
4911
  logger
4777
- }).then((jobs) => ({
4778
- jobs
4779
- })).catch(() => void 0) : void 0;
4912
+ }).then((jobs) => ({ jobs })).catch(() => void 0) : void 0;
4780
4913
  return {
4781
- html: b$1(y$2(g$3, {}, y$2(App, {
4782
- params: {
4783
- ...params,
4784
- initialData: data
4785
- }
4786
- }))),
4914
+ html: S(
4915
+ _$1(
4916
+ k$3,
4917
+ {},
4918
+ _$1(App, {
4919
+ params: {
4920
+ ...params,
4921
+ initialData: data
4922
+ }
4923
+ })
4924
+ )
4925
+ ),
4787
4926
  data
4788
4927
  };
4789
4928
  },
4790
4929
  /** Renders the Job Search Plugin inside the container element. */
4791
4930
  render: async (params) => {
4792
- const fn2 = params.initialData ? B$2 : q$2;
4793
- invariant(typeof window !== "undefined", "the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead.");
4794
- fn2(y$2(App, {
4795
- params
4796
- }), dom.getRenderTargetElement());
4931
+ const fn2 = params.initialData ? D$3 : B$2;
4932
+ invariant(
4933
+ typeof window !== "undefined",
4934
+ "the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."
4935
+ );
4936
+ fn2(_$1(App, { params }), dom.getRenderTargetElement());
4797
4937
  }
4798
4938
  };
4799
4939
  });