@inploi/plugin-job-search 0.8.0 → 0.9.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)
@@ -1075,24 +1130,19 @@ const getSalaryAsText = (params) => {
1075
1130
  return "Invalid salary";
1076
1131
  if (salary.pay && isNaN(+salary.pay))
1077
1132
  return "Invalid salary";
1133
+ const period = salary.pay_type && salary.pay_type in payPeriods ? payPeriods[salary.pay_type] : void 0;
1078
1134
  if (salary.pay)
1079
- return [numberFormatter.format(+salary.pay), payPeriods[salary.pay_type]].join(" ");
1135
+ return [numberFormatter.format(+salary.pay), period].filter(Boolean).join(" ");
1080
1136
  if (salary.pay_max && salary.pay_min)
1081
- return [numberFormatter.formatRange(+salary.pay_min, +salary.pay_max), payPeriods[salary.pay_type]].join(" ");
1137
+ return [numberFormatter.formatRange(+salary.pay_min, +salary.pay_max), period].filter(Boolean).join(" ");
1082
1138
  if (salary.pay_max)
1083
- return "Up to " + [numberFormatter.format(+salary.pay_max), payPeriods[salary.pay_type]].join(" ");
1139
+ return "Up to " + [numberFormatter.format(+salary.pay_max), period].filter(Boolean).join(" ");
1084
1140
  if (salary.pay_min)
1085
- return "From " + [numberFormatter.format(+salary.pay_min), payPeriods[salary.pay_type]].join(" ");
1141
+ return "From " + [numberFormatter.format(+salary.pay_min), period].filter(Boolean).join(" ");
1086
1142
  return "Invalid salary";
1087
1143
  };
1088
- const DEFAULT_FORMATTER = new Intl.RelativeTimeFormat("en", {
1089
- numeric: "auto"
1090
- });
1091
- const getRelativeTimeDifference = ({
1092
- from = /* @__PURE__ */ new Date(),
1093
- to,
1094
- formatter = DEFAULT_FORMATTER
1095
- }) => {
1144
+ const DEFAULT_FORMATTER = new Intl.RelativeTimeFormat("en", { numeric: "auto" });
1145
+ const getRelativeTimeDifference = ({ from = /* @__PURE__ */ new Date(), to, formatter = DEFAULT_FORMATTER }) => {
1096
1146
  const then = to instanceof Date ? to : new Date(to);
1097
1147
  const diff = then.getTime() - from.getTime();
1098
1148
  const diffIn = {
@@ -1108,10 +1158,9 @@ const getRelativeTimeDifference = ({
1108
1158
  return diffIn.months < 0 ? "a long time ago" : "in a long time";
1109
1159
  };
1110
1160
  const SEVEN_DAYS_MS = 1e3 * 60 * 60 * 24 * 7;
1111
- const AvailablePropertiesSchema = record(array(object({
1112
- label: coerce(string(), String),
1113
- value: coerce(string(), String)
1114
- })));
1161
+ const AvailablePropertiesSchema = record(
1162
+ array(object({ label: coerce(string(), String), value: coerce(string(), String) }))
1163
+ );
1115
1164
  const URLSchema = string([url()]);
1116
1165
  const PaginationSchema = object({
1117
1166
  total: number(),
@@ -1125,7 +1174,9 @@ const JobPayloadSchema = object({
1125
1174
  company_logo: optional(string()),
1126
1175
  employment_type: string(),
1127
1176
  location_type: union([literal("LOCATION"), literal("REMOTE"), literal("HYBRID")]),
1128
- pay_type: 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
+ ),
1129
1180
  pay_currency: string(),
1130
1181
  // Whether to mask the pay and show as "competitive"
1131
1182
  pay_mask: boolean(),
@@ -1164,29 +1215,25 @@ const JobSchema = transform(JobPayloadSchema, (schema) => {
1164
1215
  },
1165
1216
  employmentType: schema.employment_type,
1166
1217
  locationType: schema.location_type,
1167
- pay: getSalaryAsText({
1168
- salary: schema,
1169
- config: {
1170
- locales: void 0
1171
- }
1172
- }),
1218
+ pay: getSalaryAsText({ salary: schema, config: { locales: void 0 } }),
1173
1219
  description: schema.description,
1174
1220
  title: schema.title,
1175
1221
  contractType: schema.contract_type,
1176
1222
  href: schema.href,
1177
- relativePostedDate: schema.created_at ? getRelativeTimeDifference({
1178
- to: new Date(schema.created_at)
1179
- }) : "INVALID DATE",
1223
+ relativePostedDate: schema.created_at ? getRelativeTimeDifference({ to: new Date(schema.created_at) }) : "INVALID DATE",
1180
1224
  customData: schema.custom_data
1181
1225
  };
1182
1226
  });
1183
- const JobSearchResponseSchema = transform(object({
1184
- data: array(JobSchema),
1185
- pagination: PaginationSchema
1186
- }), (schema) => ({
1187
- pagination: schema.pagination,
1188
- results: schema.data
1189
- }));
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
+ );
1190
1237
  const filtersToPayload = (filters) => {
1191
1238
  return Object.fromEntries(Object.entries(filters).map(([key, filter]) => [key, (filter == null ? void 0 : filter.value) ?? null]));
1192
1239
  };
@@ -1241,28 +1288,13 @@ const getJobSearchResults = async ({
1241
1288
  };
1242
1289
  const getQueryState = (swr) => {
1243
1290
  if (swr.error)
1244
- return {
1245
- state: "error",
1246
- error: swr.error,
1247
- swr
1248
- };
1291
+ return { state: "error", error: swr.error, swr };
1249
1292
  if (swr.isLoading && swr.data === void 0)
1250
- return {
1251
- state: "loading",
1252
- swr
1253
- };
1293
+ return { state: "loading", swr };
1254
1294
  if ((swr.isLoading || swr.isValidating) && swr.data)
1255
- return {
1256
- state: "revalidating",
1257
- data: swr.data,
1258
- swr
1259
- };
1295
+ return { state: "revalidating", data: swr.data, swr };
1260
1296
  if (!swr.isLoading && swr.data)
1261
- return {
1262
- state: "loaded",
1263
- data: swr.data,
1264
- swr
1265
- };
1297
+ return { state: "loaded", data: swr.data, swr };
1266
1298
  throw new Error("Unhandled data state");
1267
1299
  };
1268
1300
  const SWR_SETTINGS = {
@@ -1272,6 +1304,38 @@ const SWR_SETTINGS = {
1272
1304
  revalidateIfStale: false,
1273
1305
  revalidateFirstPage: false
1274
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
+ }
1275
1339
  function r$1(e2) {
1276
1340
  var t2, f2, n2 = "";
1277
1341
  if ("string" == typeof e2 || "number" == typeof e2)
@@ -1363,31 +1427,11 @@ const btnClass = cva({
1363
1427
  }
1364
1428
  },
1365
1429
  compoundVariants: [
1366
- {
1367
- size: "sm",
1368
- icon: "right",
1369
- class: "pl-3 pr-1"
1370
- },
1371
- {
1372
- size: "sm",
1373
- icon: "left",
1374
- class: "pl-1 pr-3"
1375
- },
1376
- {
1377
- size: "sm",
1378
- icon: "none",
1379
- class: "px-3"
1380
- },
1381
- {
1382
- size: "lg",
1383
- icon: "none",
1384
- class: "px-5"
1385
- },
1386
- {
1387
- size: "lg",
1388
- icon: "right",
1389
- class: "pl-5 pr-3"
1390
- }
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" }
1391
1435
  // { size: 'lg', icon: 'left', class: 'pl-3 pr-5' },
1392
1436
  // { size: 'lg', icon: 'none', class: 'px-5' },
1393
1437
  ],
@@ -1397,287 +1441,189 @@ const btnClass = cva({
1397
1441
  size: "sm"
1398
1442
  }
1399
1443
  });
1400
- var f$1 = 0;
1401
- function u$1(e2, t2, n2, o2, i2, u2) {
1402
- var a2, c2, p2 = {};
1403
- for (c2 in t2)
1404
- "ref" == c2 ? a2 = t2[c2] : p2[c2] = t2[c2];
1405
- 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 };
1406
- if ("function" == typeof e2 && (a2 = e2.defaultProps))
1407
- for (c2 in a2)
1408
- void 0 === p2[c2] && (p2[c2] = a2[c2]);
1409
- return l$2.vnode && l$2.vnode(l2), l2;
1410
- }
1411
- const UnstyledErrorView = ({
1412
- error,
1413
- resetError
1414
- }) => {
1415
- return u$1("div", {
1416
- style: {
1417
- display: "flex",
1418
- flexDirection: "column",
1419
- gap: ".5rem",
1420
- padding: "1rem",
1421
- fontSize: "1rem",
1422
- color: "hsl(10, 82%, 45%)",
1423
- fontFamily: "'system-ui' 'Helvetica'",
1424
- background: "hsl(7, 100%, 98%)"
1425
- },
1426
- children: [u$1("p", {
1427
- children: error.message
1428
- }), u$1("button", {
1429
- onClick: resetError,
1444
+ const UnstyledErrorView = ({ error, resetError }) => {
1445
+ return /* @__PURE__ */ u$1(
1446
+ "div",
1447
+ {
1430
1448
  style: {
1431
- background: "white",
1432
- border: "none",
1433
- cursor: "pointer",
1434
- textAlign: "center",
1435
- borderRadius: "4px",
1436
- 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%)"
1437
1457
  },
1438
- children: "Retry"
1439
- })]
1440
- });
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
+ );
1441
1478
  };
1442
- const ErrorView = ({
1443
- error,
1444
- resetError,
1445
- class: className,
1446
- ...props
1447
- }) => {
1448
- return u$1("div", {
1449
- class: clsx("bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center", className),
1450
- ...props,
1451
- children: [u$1("div", {
1452
- class: "flex flex-col gap-1",
1453
- children: [u$1("p", {
1454
- class: "text-neutral-1 text-style-job-heading font-style-job-heading font-weight-job-heading [text-wrap:balance]",
1455
- children: "Sorry, this widget is unavailable at the moment."
1456
- }), u$1("p", {
1457
- class: "text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]",
1458
- children: error.message
1459
- })]
1460
- }), u$1("button", {
1461
- class: btnClass({
1462
- variant: "neutral",
1463
- size: "lg",
1464
- class: "text-interactive-neutral-bg bg-lowest"
1465
- }),
1466
- onClick: resetError,
1467
- children: "Retry"
1468
- })]
1469
- });
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
+ );
1470
1508
  };
1471
1509
  class ErrorBoundary extends b$2 {
1472
1510
  constructor() {
1473
1511
  super(...arguments);
1474
- __publicField(this, "state", {
1475
- error: null
1476
- });
1512
+ __publicField(this, "state", { error: null });
1477
1513
  }
1478
1514
  static getDerivedStateFromError(error) {
1479
- return {
1480
- error: error.message
1481
- };
1515
+ return { error: error.message };
1482
1516
  }
1483
1517
  componentDidCatch(error) {
1484
- this.setState({
1485
- error
1486
- });
1518
+ this.setState({ error });
1487
1519
  }
1488
1520
  render() {
1489
1521
  if (this.state.error) {
1490
- const {
1491
- Fallback
1492
- } = this.props;
1493
- return u$1(Fallback, {
1494
- error: this.state.error,
1495
- resetError: () => {
1496
- console.log("resetting error");
1497
- this.setState({
1498
- error: null
1499
- });
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
+ }
1500
1531
  }
1501
- });
1532
+ );
1502
1533
  }
1503
1534
  return this.props.children;
1504
1535
  }
1505
1536
  }
1506
1537
  const icons = {
1507
- briefcase: u$1(g$3, {
1508
- children: [u$1("path", {
1509
- 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"
1510
- }), u$1("path", {
1511
- d: "M4.75 11.75H19.25"
1512
- }), u$1("path", {
1513
- d: "M13.25 12.25V13.25H10.75V12.25H13.25Z"
1514
- }), u$1("path", {
1515
- 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"
1516
- })]
1517
- }),
1518
- brand: u$1(g$3, {
1519
- children: [u$1("path", {
1520
- 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"
1521
- }), u$1("path", {
1522
- 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"
1523
- }), u$1("path", {
1524
- d: "M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"
1525
- }), u$1("path", {
1526
- d: "M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"
1527
- }), u$1("path", {
1528
- d: "M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"
1529
- }), u$1("circle", {
1530
- cx: "18.75",
1531
- cy: "12",
1532
- r: "2"
1533
- }), u$1("circle", {
1534
- cx: "5.25",
1535
- cy: "12",
1536
- r: "2"
1537
- })]
1538
- }),
1539
- building: u$1(g$3, {
1540
- children: [u$1("path", {
1541
- d: "M16.75 10.25H13.75"
1542
- }), u$1("path", {
1543
- d: "M16.75 13.25H13.75"
1544
- }), u$1("path", {
1545
- 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"
1546
- }), u$1("path", {
1547
- d: "M10.25 12.25V18.25"
1548
- })]
1549
- }),
1550
- circles: u$1(g$3, {
1551
- children: [u$1("path", {
1552
- 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"
1553
- }), u$1("path", {
1554
- 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"
1555
- })]
1556
- }),
1557
- clock: u$1(g$3, {
1558
- children: [u$1("path", {
1559
- d: "M14 9L12 13L9.5 12"
1560
- }), u$1("path", {
1561
- 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"
1562
- })]
1563
- }),
1564
- filter: u$1(g$3, {
1565
- children: u$1("path", {
1566
- d: "M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"
1567
- })
1568
- }),
1569
- globe: u$1(g$3, {
1570
- children: [u$1("path", {
1571
- d: "M5 13.75H19"
1572
- }), u$1("path", {
1573
- d: "M5 10.25H19"
1574
- }), u$1("path", {
1575
- 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"
1576
- }), u$1("circle", {
1577
- cx: "12",
1578
- cy: "12",
1579
- r: "7.25"
1580
- })]
1581
- }),
1582
- magnifier: u$1(g$3, {
1583
- children: [u$1("path", {
1584
- 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"
1585
- }), u$1("path", {
1586
- 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"
1587
- }), u$1("path", {
1588
- d: "M16 16L19 19"
1589
- })]
1590
- }),
1591
- mapPin: u$1(g$3, {
1592
- children: u$1(g$3, {
1593
- children: [u$1("circle", {
1594
- cx: "12",
1595
- cy: "9",
1596
- r: "2"
1597
- }), u$1("path", {
1598
- 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"
1599
- }), u$1("path", {
1600
- 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"
1601
- })]
1602
- })
1603
- }),
1604
- sunset: u$1(g$3, {
1605
- children: [u$1("path", {
1606
- d: "M18.5 8.5L17.5 9.5"
1607
- }), u$1("path", {
1608
- d: "M5.5 8.5L6.5 9.5"
1609
- }), u$1("path", {
1610
- d: "M12 6L12 7.5"
1611
- }), u$1("path", {
1612
- 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"
1613
- }), u$1("path", {
1614
- d: "M20.25 15.25H12H3.75"
1615
- }), u$1("path", {
1616
- d: "M16.25 18.25H12L7.75 18.25"
1617
- })]
1618
- }),
1619
- x: u$1("path", {
1620
- d: "M8 8l8 8M8 16l8 -8"
1621
- }),
1622
- plus: u$1("path", {
1623
- d: "M12 8V16M8 12H16"
1624
- }),
1625
- "chevron-right": u$1("path", {
1626
- d: "M11 8L15 12L11 16"
1627
- })
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
+ sunset: /* @__PURE__ */ u$1(k$3, { children: [
1585
+ /* @__PURE__ */ u$1("path", { d: "M18.5 8.5L17.5 9.5" }),
1586
+ /* @__PURE__ */ u$1("path", { d: "M5.5 8.5L6.5 9.5" }),
1587
+ /* @__PURE__ */ u$1("path", { d: "M12 6L12 7.5" }),
1588
+ /* @__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" }),
1589
+ /* @__PURE__ */ u$1("path", { d: "M20.25 15.25H12H3.75" }),
1590
+ /* @__PURE__ */ u$1("path", { d: "M16.25 18.25H12L7.75 18.25" })
1591
+ ] }),
1592
+ x: /* @__PURE__ */ u$1("path", { d: "M8 8l8 8M8 16l8 -8" }),
1593
+ plus: /* @__PURE__ */ u$1("path", { d: "M12 8V16M8 12H16" }),
1594
+ "chevron-right": /* @__PURE__ */ u$1("path", { d: "M11 8L15 12L11 16" })
1628
1595
  };
1629
- const IconSpritesheet = ({
1630
- theme
1631
- }) => {
1632
- return u$1("svg", {
1633
- xmlns: "http://www.w3.org/2000/svg",
1634
- style: {
1635
- display: "none"
1636
- },
1637
- children: u$1("defs", {
1638
- children: Object.entries(icons).map(([name, icon]) => {
1639
- var _a;
1640
- return u$1("symbol", {
1641
- id: `i-icon-${name}`,
1642
- children: u$1("g", {
1643
- fill: "none",
1644
- "stroke-width": theme.mode === "dark" && ((_a = theme.accessibility) == null ? void 0 : _a.highContrast) != true ? "1" : "1.5",
1645
- "stroke-linecap": "round",
1646
- "stroke-linejoin": "round",
1647
- stroke: "currentColor",
1648
- children: icon
1649
- })
1650
- });
1651
- })
1652
- })
1653
- });
1596
+ const IconSpritesheet = ({ theme }) => {
1597
+ 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]) => {
1598
+ var _a;
1599
+ return /* @__PURE__ */ u$1("symbol", { id: `i-icon-${name}`, children: /* @__PURE__ */ u$1(
1600
+ "g",
1601
+ {
1602
+ fill: "none",
1603
+ "stroke-width": theme.mode === "dark" && ((_a = theme.accessibility) == null ? void 0 : _a.highContrast) != true ? "1" : "1.5",
1604
+ "stroke-linecap": "round",
1605
+ "stroke-linejoin": "round",
1606
+ stroke: "currentColor",
1607
+ children: icon
1608
+ }
1609
+ ) });
1610
+ }) }) });
1654
1611
  };
1655
- const Icon = ({
1656
- name,
1657
- ...props
1658
- }) => {
1659
- return u$1("svg", {
1660
- viewBox: "0 0 24 24",
1661
- width: 24,
1662
- height: 24,
1663
- ...props,
1664
- children: u$1("use", {
1665
- href: `#i-icon-${name}`
1666
- })
1667
- });
1612
+ const Icon = ({ name, ...props }) => {
1613
+ return /* @__PURE__ */ u$1("svg", { viewBox: "0 0 24 24", width: 24, height: 24, ...props, children: /* @__PURE__ */ u$1("use", { href: `#i-icon-${name}` }) });
1668
1614
  };
1669
- 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;
1670
- function d(t2, u2) {
1671
- l$2.__h && l$2.__h(r, t2, o || u2), o = 0;
1672
- var i2 = r.__H || (r.__H = { __: [], __h: [] });
1673
- return t2 >= i2.__.length && i2.__.push({ __V: c }), i2.__[t2];
1615
+ 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.__;
1616
+ function d(n2, t2) {
1617
+ c.__h && c.__h(r, n2, o || t2), o = 0;
1618
+ var u2 = r.__H || (r.__H = { __: [], __h: [] });
1619
+ return n2 >= u2.__.length && u2.__.push({}), u2.__[n2];
1674
1620
  }
1675
1621
  function h(n2) {
1676
- return o = 1, s(B$1, n2);
1622
+ return o = 1, p(D$1, n2);
1677
1623
  }
1678
- function s(n2, u2, i2) {
1624
+ function p(n2, u2, i2) {
1679
1625
  var o2 = d(t++, 2);
1680
- if (o2.t = n2, !o2.__c && (o2.__ = [i2 ? i2(u2) : B$1(void 0, u2), function(n3) {
1626
+ if (o2.t = n2, !o2.__c && (o2.__ = [i2 ? i2(u2) : D$1(void 0, u2), function(n3) {
1681
1627
  var t2 = o2.__N ? o2.__N[0] : o2.__[0], r2 = o2.t(t2, n3);
1682
1628
  t2 !== r2 && (o2.__N = [r2, o2.__[1]], o2.__c.setState({}));
1683
1629
  }], o2.__c = r, !r.u)) {
@@ -1685,7 +1631,7 @@ function s(n2, u2, i2) {
1685
1631
  if (!o2.__c.__H)
1686
1632
  return true;
1687
1633
  var u3 = o2.__c.__H.__.filter(function(n4) {
1688
- return n4.__c;
1634
+ return !!n4.__c;
1689
1635
  });
1690
1636
  if (u3.every(function(n4) {
1691
1637
  return !n4.__N;
@@ -1711,21 +1657,21 @@ function s(n2, u2, i2) {
1711
1657
  }
1712
1658
  return o2.__N || o2.__;
1713
1659
  }
1714
- function p(u2, i2) {
1715
- var o2 = d(t++, 3);
1716
- !l$2.__s && z$1(o2.__H, i2) && (o2.__ = u2, o2.i = i2, r.__H.__h.push(o2));
1660
+ function y(n2, u2) {
1661
+ var i2 = d(t++, 3);
1662
+ !c.__s && C$1(i2.__H, u2) && (i2.__ = n2, i2.i = u2, r.__H.__h.push(i2));
1717
1663
  }
1718
- function y(u2, i2) {
1719
- var o2 = d(t++, 4);
1720
- !l$2.__s && z$1(o2.__H, i2) && (o2.__ = u2, o2.i = i2, r.__h.push(o2));
1664
+ function _(n2, u2) {
1665
+ var i2 = d(t++, 4);
1666
+ !c.__s && C$1(i2.__H, u2) && (i2.__ = n2, i2.i = u2, r.__h.push(i2));
1721
1667
  }
1722
- function _(n2) {
1723
- return o = 5, F$1(function() {
1668
+ function A$1(n2) {
1669
+ return o = 5, T$1(function() {
1724
1670
  return { current: n2 };
1725
1671
  }, []);
1726
1672
  }
1727
- function A$1(n2, t2, r2) {
1728
- o = 6, y(function() {
1673
+ function F$1(n2, t2, r2) {
1674
+ o = 6, _(function() {
1729
1675
  return "function" == typeof n2 ? (n2(t2()), function() {
1730
1676
  return n2(null);
1731
1677
  }) : n2 ? (n2.current = t2(), function() {
@@ -1733,23 +1679,23 @@ function A$1(n2, t2, r2) {
1733
1679
  }) : void 0;
1734
1680
  }, null == r2 ? r2 : r2.concat(n2));
1735
1681
  }
1736
- function F$1(n2, r2) {
1682
+ function T$1(n2, r2) {
1737
1683
  var u2 = d(t++, 7);
1738
- return z$1(u2.__H, r2) ? (u2.__V = n2(), u2.i = r2, u2.__h = n2, u2.__V) : u2.__;
1684
+ return C$1(u2.__H, r2) && (u2.__ = n2(), u2.__H = r2, u2.__h = n2), u2.__;
1739
1685
  }
1740
- function T$1(n2, t2) {
1741
- return o = 8, F$1(function() {
1686
+ function q$1(n2, t2) {
1687
+ return o = 8, T$1(function() {
1742
1688
  return n2;
1743
1689
  }, t2);
1744
1690
  }
1745
- function q$1(n2) {
1691
+ function x$1(n2) {
1746
1692
  var u2 = r.context[n2.__c], i2 = d(t++, 9);
1747
1693
  return i2.c = n2, u2 ? (null == i2.__ && (i2.__ = true, u2.sub(r)), u2.props.value) : n2.__;
1748
1694
  }
1749
- function x$1(t2, r2) {
1750
- l$2.useDebugValue && l$2.useDebugValue(r2 ? r2(t2) : t2);
1695
+ function P$1(n2, t2) {
1696
+ c.useDebugValue && c.useDebugValue(t2 ? t2(n2) : n2);
1751
1697
  }
1752
- function P$1(n2) {
1698
+ function b(n2) {
1753
1699
  var u2 = d(t++, 10), i2 = h();
1754
1700
  return u2.__ = n2, r.componentDidCatch || (r.componentDidCatch = function(n3, t2) {
1755
1701
  u2.__ && u2.__(n3, t2), i2[1](n3);
@@ -1757,7 +1703,7 @@ function P$1(n2) {
1757
1703
  i2[1](void 0);
1758
1704
  }];
1759
1705
  }
1760
- function V$1() {
1706
+ function g$1() {
1761
1707
  var n2 = d(t++, 11);
1762
1708
  if (!n2.__) {
1763
1709
  for (var u2 = r.__v; null !== u2 && !u2.__m && null !== u2.__; )
@@ -1767,80 +1713,84 @@ function V$1() {
1767
1713
  }
1768
1714
  return n2.__;
1769
1715
  }
1770
- function b() {
1771
- for (var t2; t2 = f.shift(); )
1772
- if (t2.__P && t2.__H)
1716
+ function j$1() {
1717
+ for (var n2; n2 = f.shift(); )
1718
+ if (n2.__P && n2.__H)
1773
1719
  try {
1774
- t2.__H.__h.forEach(k$1), t2.__H.__h.forEach(w$1), t2.__H.__h = [];
1775
- } catch (r2) {
1776
- t2.__H.__h = [], l$2.__e(r2, t2.__v);
1720
+ n2.__H.__h.forEach(z$1), n2.__H.__h.forEach(B$1), n2.__H.__h = [];
1721
+ } catch (t2) {
1722
+ n2.__H.__h = [], c.__e(t2, n2.__v);
1777
1723
  }
1778
1724
  }
1779
- l$2.__b = function(n2) {
1725
+ c.__b = function(n2) {
1780
1726
  r = null, e && e(n2);
1781
- }, l$2.__r = function(n2) {
1727
+ }, c.__ = function(n2, t2) {
1728
+ n2 && t2.__k && t2.__k.__m && (n2.__m = t2.__k.__m), s && s(n2, t2);
1729
+ }, c.__r = function(n2) {
1782
1730
  a && a(n2), t = 0;
1783
1731
  var i2 = (r = n2.__c).__H;
1784
1732
  i2 && (u === r ? (i2.__h = [], r.__h = [], i2.__.forEach(function(n3) {
1785
- n3.__N && (n3.__ = n3.__N), n3.__V = c, n3.__N = n3.i = void 0;
1786
- })) : (i2.__h.forEach(k$1), i2.__h.forEach(w$1), i2.__h = [], t = 0)), u = r;
1787
- }, l$2.diffed = function(t2) {
1788
- v && v(t2);
1789
- var o2 = t2.__c;
1790
- 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) {
1791
- n2.i && (n2.__H = n2.i), n2.__V !== c && (n2.__ = n2.__V), n2.i = void 0, n2.__V = c;
1733
+ n3.__N && (n3.__ = n3.__N), n3.i = n3.__N = void 0;
1734
+ })) : (i2.__h.forEach(z$1), i2.__h.forEach(B$1), i2.__h = [], t = 0)), u = r;
1735
+ }, c.diffed = function(n2) {
1736
+ v && v(n2);
1737
+ var t2 = n2.__c;
1738
+ 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) {
1739
+ n3.i && (n3.__H = n3.i), n3.i = void 0;
1792
1740
  })), u = r = null;
1793
- }, l$2.__c = function(t2, r2) {
1794
- r2.some(function(t3) {
1741
+ }, c.__c = function(n2, t2) {
1742
+ t2.some(function(n3) {
1795
1743
  try {
1796
- t3.__h.forEach(k$1), t3.__h = t3.__h.filter(function(n2) {
1797
- return !n2.__ || w$1(n2);
1744
+ n3.__h.forEach(z$1), n3.__h = n3.__h.filter(function(n4) {
1745
+ return !n4.__ || B$1(n4);
1798
1746
  });
1799
- } catch (u2) {
1800
- r2.some(function(n2) {
1801
- n2.__h && (n2.__h = []);
1802
- }), r2 = [], l$2.__e(u2, t3.__v);
1747
+ } catch (r2) {
1748
+ t2.some(function(n4) {
1749
+ n4.__h && (n4.__h = []);
1750
+ }), t2 = [], c.__e(r2, n3.__v);
1803
1751
  }
1804
- }), l && l(t2, r2);
1805
- }, l$2.unmount = function(t2) {
1806
- m && m(t2);
1807
- var r2, u2 = t2.__c;
1808
- u2 && u2.__H && (u2.__H.__.forEach(function(n2) {
1752
+ }), l && l(n2, t2);
1753
+ }, c.unmount = function(n2) {
1754
+ m && m(n2);
1755
+ var t2, r2 = n2.__c;
1756
+ r2 && r2.__H && (r2.__H.__.forEach(function(n3) {
1809
1757
  try {
1810
- k$1(n2);
1811
- } catch (n3) {
1812
- r2 = n3;
1758
+ z$1(n3);
1759
+ } catch (n4) {
1760
+ t2 = n4;
1813
1761
  }
1814
- }), u2.__H = void 0, r2 && l$2.__e(r2, u2.__v));
1762
+ }), r2.__H = void 0, t2 && c.__e(t2, r2.__v));
1815
1763
  };
1816
- var g$1 = "function" == typeof requestAnimationFrame;
1817
- function j$1(n2) {
1764
+ var k$1 = "function" == typeof requestAnimationFrame;
1765
+ function w$1(n2) {
1818
1766
  var t2, r2 = function() {
1819
- clearTimeout(u2), g$1 && cancelAnimationFrame(t2), setTimeout(n2);
1767
+ clearTimeout(u2), k$1 && cancelAnimationFrame(t2), setTimeout(n2);
1820
1768
  }, u2 = setTimeout(r2, 100);
1821
- g$1 && (t2 = requestAnimationFrame(r2));
1769
+ k$1 && (t2 = requestAnimationFrame(r2));
1822
1770
  }
1823
- function k$1(n2) {
1771
+ function z$1(n2) {
1824
1772
  var t2 = r, u2 = n2.__c;
1825
1773
  "function" == typeof u2 && (n2.__c = void 0, u2()), r = t2;
1826
1774
  }
1827
- function w$1(n2) {
1775
+ function B$1(n2) {
1828
1776
  var t2 = r;
1829
1777
  n2.__c = n2.__(), r = t2;
1830
1778
  }
1831
- function z$1(n2, t2) {
1779
+ function C$1(n2, t2) {
1832
1780
  return !n2 || n2.length !== t2.length || t2.some(function(t3, r2) {
1833
1781
  return t3 !== n2[r2];
1834
1782
  });
1835
1783
  }
1836
- function B$1(n2, t2) {
1784
+ function D$1(n2, t2) {
1837
1785
  return "function" == typeof t2 ? t2(n2) : t2;
1838
1786
  }
1839
1787
  const cacheKey = (value) => {
1840
- const filterString = Object.entries(value.filter).sort(([key1], [key2]) => key1.localeCompare(key2)).map(([key, value2]) => {
1841
- var _a;
1842
- 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}`;
1843
- }).join("&");
1788
+ const filterString = Object.entries(value.filter).sort(([key1], [key2]) => key1.localeCompare(key2)).map(
1789
+ ([key, value2]) => {
1790
+ var _a;
1791
+ 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}`;
1792
+ }
1793
+ ).join("&");
1844
1794
  return `${value.baseKey}::${filterString}`;
1845
1795
  };
1846
1796
  const jobSearch = "";
@@ -1861,37 +1811,23 @@ const AlertsButton = ({
1861
1811
  appliedFilters
1862
1812
  }) => {
1863
1813
  const [plugin, setPlugin] = h();
1864
- p(() => {
1865
- import("./plugin-job-alerts-2dab76ff.js").then((m2) => setPlugin(m2.jobAlertsPlugin()({
1866
- analytics,
1867
- apiClient,
1868
- logger
1869
- })));
1814
+ y(() => {
1815
+ import("./plugin-job-alerts-ddf07a02.js").then((m2) => setPlugin(m2.jobAlertsPlugin()({ analytics, apiClient, logger })));
1870
1816
  }, [analytics, apiClient, logger]);
1871
- p(() => {
1872
- plugin == null ? void 0 : plugin.render({
1873
- config: {
1874
- label: "Create alert",
1875
- headerText: "asd"
1876
- },
1877
- initialFilters: {},
1878
- theme
1879
- });
1817
+ y(() => {
1818
+ plugin == null ? void 0 : plugin.render({ config: { label: "Create alert", headerText: "asd" }, initialFilters: {}, theme });
1880
1819
  });
1881
- p(() => {
1820
+ y(() => {
1882
1821
  plugin == null ? void 0 : plugin.setFilters(getFilterValues(appliedFilters));
1883
1822
  }, [appliedFilters, plugin]);
1884
- return u$1("div", {
1885
- id: "inploi-job-alerts",
1886
- class: "min-h-[36px]"
1887
- });
1823
+ return /* @__PURE__ */ u$1("div", { id: "inploi-job-alerts", class: "min-h-[36px]" });
1888
1824
  };
1889
1825
  function g(n2, t2) {
1890
1826
  for (var e2 in t2)
1891
1827
  n2[e2] = t2[e2];
1892
1828
  return n2;
1893
1829
  }
1894
- function C(n2, t2) {
1830
+ function E(n2, t2) {
1895
1831
  for (var e2 in n2)
1896
1832
  if ("__source" !== e2 && !(e2 in t2))
1897
1833
  return true;
@@ -1900,73 +1836,73 @@ function C(n2, t2) {
1900
1836
  return true;
1901
1837
  return false;
1902
1838
  }
1903
- function E(n2) {
1904
- this.props = n2;
1839
+ function C(n2, t2) {
1840
+ this.props = n2, this.context = t2;
1905
1841
  }
1906
- function w(n2, e2) {
1842
+ function x(n2, e2) {
1907
1843
  function r2(n3) {
1908
1844
  var t2 = this.props.ref, r3 = t2 == n3.ref;
1909
- return !r3 && t2 && (t2.call ? t2(null) : t2.current = null), e2 ? !e2(this.props, n3) || !r3 : C(this.props, n3);
1845
+ return !r3 && t2 && (t2.call ? t2(null) : t2.current = null), e2 ? !e2(this.props, n3) || !r3 : E(this.props, n3);
1910
1846
  }
1911
1847
  function u2(e3) {
1912
- return this.shouldComponentUpdate = r2, y$2(n2, e3);
1848
+ return this.shouldComponentUpdate = r2, _$1(n2, e3);
1913
1849
  }
1914
1850
  return u2.displayName = "Memo(" + (n2.displayName || n2.name) + ")", u2.prototype.isReactComponent = true, u2.__f = true, u2;
1915
1851
  }
1916
- (E.prototype = new b$2()).isPureReactComponent = true, E.prototype.shouldComponentUpdate = function(n2, t2) {
1917
- return C(this.props, n2) || C(this.state, t2);
1852
+ (C.prototype = new b$2()).isPureReactComponent = true, C.prototype.shouldComponentUpdate = function(n2, t2) {
1853
+ return E(this.props, n2) || E(this.state, t2);
1918
1854
  };
1919
- var x = l$2.__b;
1855
+ var R = l$2.__b;
1920
1856
  l$2.__b = function(n2) {
1921
- n2.type && n2.type.__f && n2.ref && (n2.props.ref = n2.ref, n2.ref = null), x && x(n2);
1857
+ n2.type && n2.type.__f && n2.ref && (n2.props.ref = n2.ref, n2.ref = null), R && R(n2);
1922
1858
  };
1923
- var R = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.forward_ref") || 3911;
1924
- function N(n2) {
1859
+ var w = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.forward_ref") || 3911;
1860
+ function k(n2) {
1925
1861
  function t2(t3) {
1926
1862
  var e2 = g({}, t3);
1927
1863
  return delete e2.ref, n2(e2, t3.ref || null);
1928
1864
  }
1929
- return t2.$$typeof = R, t2.render = t2, t2.prototype.isReactComponent = t2.__f = true, t2.displayName = "ForwardRef(" + (n2.displayName || n2.name) + ")", t2;
1865
+ return t2.$$typeof = w, t2.render = t2, t2.prototype.isReactComponent = t2.__f = true, t2.displayName = "ForwardRef(" + (n2.displayName || n2.name) + ")", t2;
1930
1866
  }
1931
- var k = function(n2, t2) {
1932
- return null == n2 ? null : $$1($$1(n2).map(t2));
1933
- }, A = { map: k, forEach: k, count: function(n2) {
1934
- return n2 ? $$1(n2).length : 0;
1867
+ var I = function(n2, t2) {
1868
+ return null == n2 ? null : H$1(H$1(n2).map(t2));
1869
+ }, N = { map: I, forEach: I, count: function(n2) {
1870
+ return n2 ? H$1(n2).length : 0;
1935
1871
  }, only: function(n2) {
1936
- var t2 = $$1(n2);
1872
+ var t2 = H$1(n2);
1937
1873
  if (1 !== t2.length)
1938
1874
  throw "Children.only";
1939
1875
  return t2[0];
1940
- }, toArray: $$1 }, O = l$2.__e;
1876
+ }, toArray: H$1 }, M = l$2.__e;
1941
1877
  l$2.__e = function(n2, t2, e2, r2) {
1942
1878
  if (n2.then) {
1943
1879
  for (var u2, o2 = t2; o2 = o2.__; )
1944
1880
  if ((u2 = o2.__c) && u2.__c)
1945
1881
  return null == t2.__e && (t2.__e = e2.__e, t2.__k = e2.__k), u2.__c(n2, t2);
1946
1882
  }
1947
- O(n2, t2, e2, r2);
1883
+ M(n2, t2, e2, r2);
1948
1884
  };
1949
1885
  var T = l$2.unmount;
1950
- function F(n2, t2, e2) {
1886
+ function A(n2, t2, e2) {
1951
1887
  return n2 && (n2.__c && n2.__c.__H && (n2.__c.__H.__.forEach(function(n3) {
1952
1888
  "function" == typeof n3.__c && n3.__c();
1953
1889
  }), 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) {
1954
- return F(n3, t2, e2);
1890
+ return A(n3, t2, e2);
1955
1891
  })), n2;
1956
1892
  }
1957
- function I(n2, t2, e2) {
1893
+ function D(n2, t2, e2) {
1958
1894
  return n2 && e2 && (n2.__v = null, n2.__k = n2.__k && n2.__k.map(function(n3) {
1959
- return I(n3, t2, e2);
1895
+ return D(n3, t2, e2);
1960
1896
  }), n2.__c && n2.__c.__P === t2 && (n2.__e && e2.appendChild(n2.__e), n2.__c.__e = true, n2.__c.__P = e2)), n2;
1961
1897
  }
1962
1898
  function L() {
1963
1899
  this.__u = 0, this.t = null, this.__b = null;
1964
1900
  }
1965
- function U(n2) {
1901
+ function O(n2) {
1966
1902
  var t2 = n2.__.__c;
1967
1903
  return t2 && t2.__a && t2.__a(n2);
1968
1904
  }
1969
- function D(n2) {
1905
+ function F(n2) {
1970
1906
  var e2, r2, u2;
1971
1907
  function o2(o3) {
1972
1908
  if (e2 || (e2 = n2()).then(function(n3) {
@@ -1977,11 +1913,11 @@ function D(n2) {
1977
1913
  throw u2;
1978
1914
  if (!r2)
1979
1915
  throw e2;
1980
- return y$2(r2, o3);
1916
+ return _$1(r2, o3);
1981
1917
  }
1982
1918
  return o2.displayName = "Lazy", o2.__f = true, o2;
1983
1919
  }
1984
- function M() {
1920
+ function U() {
1985
1921
  this.u = null, this.o = null;
1986
1922
  }
1987
1923
  l$2.unmount = function(n2) {
@@ -1990,15 +1926,15 @@ l$2.unmount = function(n2) {
1990
1926
  }, (L.prototype = new b$2()).__c = function(n2, t2) {
1991
1927
  var e2 = t2.__c, r2 = this;
1992
1928
  null == r2.t && (r2.t = []), r2.t.push(e2);
1993
- var u2 = U(r2.__v), o2 = false, i2 = function() {
1994
- o2 || (o2 = true, e2.__R = null, u2 ? u2(l2) : l2());
1929
+ var u2 = O(r2.__v), o2 = false, i2 = function() {
1930
+ o2 || (o2 = true, e2.__R = null, u2 ? u2(c2) : c2());
1995
1931
  };
1996
1932
  e2.__R = i2;
1997
- var l2 = function() {
1933
+ var c2 = function() {
1998
1934
  if (!--r2.__u) {
1999
1935
  if (r2.state.__a) {
2000
1936
  var n3 = r2.state.__a;
2001
- r2.__v.__k[0] = I(n3, n3.__c.__P, n3.__c.__O);
1937
+ r2.__v.__k[0] = D(n3, n3.__c.__P, n3.__c.__O);
2002
1938
  }
2003
1939
  var t3;
2004
1940
  for (r2.setState({ __a: r2.__b = null }); t3 = r2.t.pop(); )
@@ -2012,12 +1948,12 @@ l$2.unmount = function(n2) {
2012
1948
  if (this.__b) {
2013
1949
  if (this.__v.__k) {
2014
1950
  var r2 = document.createElement("div"), o2 = this.__v.__k[0].__c;
2015
- this.__v.__k[0] = F(this.__b, r2, o2.__O = o2.__P);
1951
+ this.__v.__k[0] = A(this.__b, r2, o2.__O = o2.__P);
2016
1952
  }
2017
1953
  this.__b = null;
2018
1954
  }
2019
- var i2 = e2.__a && y$2(g$3, null, n2.fallback);
2020
- return i2 && (i2.__u &= -33), [y$2(g$3, null, e2.__a ? null : n2.children), i2];
1955
+ var i2 = e2.__a && _$1(k$3, null, n2.fallback);
1956
+ return i2 && (i2.__u &= -33), [_$1(k$3, null, e2.__a ? null : n2.children), i2];
2021
1957
  };
2022
1958
  var V = function(n2, t2, e2) {
2023
1959
  if (++e2[1] === e2[0] && n2.o.delete(t2), n2.props.revealOrder && ("t" !== n2.props.revealOrder[0] || !n2.o.size))
@@ -2037,35 +1973,37 @@ function W(n2) {
2037
1973
  function P(n2) {
2038
1974
  var e2 = this, r2 = n2.i;
2039
1975
  e2.componentWillUnmount = function() {
2040
- q$2(null, e2.l), e2.l = null, e2.i = null;
2041
- }, e2.i && e2.i !== r2 && e2.componentWillUnmount(), e2.l || (e2.i = r2, e2.l = { nodeType: 1, parentNode: r2, childNodes: [], appendChild: function(n3) {
1976
+ B$2(null, e2.l), e2.l = null, e2.i = null;
1977
+ }, e2.i && e2.i !== r2 && e2.componentWillUnmount(), e2.l || (e2.i = r2, e2.l = { nodeType: 1, parentNode: r2, childNodes: [], contains: function() {
1978
+ return true;
1979
+ }, appendChild: function(n3) {
2042
1980
  this.childNodes.push(n3), e2.i.appendChild(n3);
2043
1981
  }, insertBefore: function(n3, t2) {
2044
1982
  this.childNodes.push(n3), e2.i.appendChild(n3);
2045
1983
  }, removeChild: function(n3) {
2046
1984
  this.childNodes.splice(this.childNodes.indexOf(n3) >>> 1, 1), e2.i.removeChild(n3);
2047
- } }), q$2(y$2(W, { context: e2.context }, n2.__v), e2.l);
1985
+ } }), B$2(_$1(W, { context: e2.context }, n2.__v), e2.l);
2048
1986
  }
2049
1987
  function j(n2, e2) {
2050
- var r2 = y$2(P, { __v: n2, i: e2 });
1988
+ var r2 = _$1(P, { __v: n2, i: e2 });
2051
1989
  return r2.containerInfo = e2, r2;
2052
1990
  }
2053
- (M.prototype = new b$2()).__a = function(n2) {
2054
- var t2 = this, e2 = U(t2.__v), r2 = t2.o.get(n2);
1991
+ (U.prototype = new b$2()).__a = function(n2) {
1992
+ var t2 = this, e2 = O(t2.__v), r2 = t2.o.get(n2);
2055
1993
  return r2[0]++, function(u2) {
2056
1994
  var o2 = function() {
2057
1995
  t2.props.revealOrder ? (r2.push(u2), V(t2, n2, r2)) : u2();
2058
1996
  };
2059
1997
  e2 ? e2(o2) : o2();
2060
1998
  };
2061
- }, M.prototype.render = function(n2) {
1999
+ }, U.prototype.render = function(n2) {
2062
2000
  this.u = null, this.o = /* @__PURE__ */ new Map();
2063
- var t2 = $$1(n2.children);
2001
+ var t2 = H$1(n2.children);
2064
2002
  n2.revealOrder && "b" === n2.revealOrder[0] && t2.reverse();
2065
2003
  for (var e2 = t2.length; e2--; )
2066
2004
  this.o.set(t2[e2], this.u = [1, 0, this.u]);
2067
2005
  return n2.children;
2068
- }, M.prototype.componentDidUpdate = M.prototype.componentDidMount = function() {
2006
+ }, U.prototype.componentDidUpdate = U.prototype.componentDidMount = function() {
2069
2007
  var n2 = this;
2070
2008
  this.o.forEach(function(t2, e2) {
2071
2009
  V(n2, e2, t2);
@@ -2075,10 +2013,10 @@ var z = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.element"
2075
2013
  return ("undefined" != typeof Symbol && "symbol" == typeof Symbol() ? /fil|che|rad/ : /fil|che|ra/).test(n2);
2076
2014
  };
2077
2015
  function q(n2, t2, e2) {
2078
- return null == t2.__k && (t2.textContent = ""), q$2(n2, t2), "function" == typeof e2 && e2(), n2 ? n2.__c : null;
2016
+ return null == t2.__k && (t2.textContent = ""), B$2(n2, t2), "function" == typeof e2 && e2(), n2 ? n2.__c : null;
2079
2017
  }
2080
2018
  function G(n2, t2, e2) {
2081
- return B$2(n2, t2), "function" == typeof e2 && e2(), n2 ? n2.__c : null;
2019
+ return D$3(n2, t2), "function" == typeof e2 && e2(), n2 ? n2.__c : null;
2082
2020
  }
2083
2021
  b$2.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(t2) {
2084
2022
  Object.defineProperty(b$2.prototype, t2, { configurable: true, get: function() {
@@ -2108,13 +2046,13 @@ l$2.vnode = function(n2) {
2108
2046
  for (var o2 in t2) {
2109
2047
  var i2 = t2[o2];
2110
2048
  if (!("value" === o2 && "defaultValue" in t2 && null == i2 || Y && "children" === o2 && "noscript" === e2 || "class" === o2 || "className" === o2)) {
2111
- var l2 = o2.toLowerCase();
2112
- "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;
2049
+ var c2 = o2.toLowerCase();
2050
+ "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;
2113
2051
  }
2114
2052
  }
2115
- "select" == e2 && u2.multiple && Array.isArray(u2.value) && (u2.value = $$1(t2.children).forEach(function(n4) {
2053
+ "select" == e2 && u2.multiple && Array.isArray(u2.value) && (u2.value = H$1(t2.children).forEach(function(n4) {
2116
2054
  n4.props.selected = -1 != u2.value.indexOf(n4.props.value);
2117
- })), "select" == e2 && null != u2.defaultValue && (u2.value = $$1(t2.children).forEach(function(n4) {
2055
+ })), "select" == e2 && null != u2.defaultValue && (u2.value = H$1(t2.children).forEach(function(n4) {
2118
2056
  n4.props.selected = u2.multiple ? -1 != u2.defaultValue.indexOf(n4.props.value) : u2.defaultValue == n4.props.value;
2119
2057
  })), 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;
2120
2058
  }(n2), n2.$$typeof = z, en && en(n2);
@@ -2131,51 +2069,54 @@ l$2.diffed = function(n2) {
2131
2069
  };
2132
2070
  var on = { ReactCurrentDispatcher: { current: { readContext: function(n2) {
2133
2071
  return nn.__n[n2.__c].props.value;
2134
- } } } }, ln = "17.0.2";
2135
- function cn(n2) {
2136
- return y$2.bind(null, n2);
2072
+ }, 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";
2073
+ function ln(n2) {
2074
+ return _$1.bind(null, n2);
2137
2075
  }
2138
2076
  function fn(n2) {
2139
2077
  return !!n2 && n2.$$typeof === z;
2140
2078
  }
2141
2079
  function an(n2) {
2142
- return fn(n2) && n2.type === g$3;
2080
+ return fn(n2) && n2.type === k$3;
2143
2081
  }
2144
2082
  function sn(n2) {
2145
- return fn(n2) ? E$1.apply(null, arguments) : n2;
2083
+ return !!n2 && !!n2.displayName && ("string" == typeof n2.displayName || n2.displayName instanceof String) && n2.displayName.startsWith("Memo(");
2146
2084
  }
2147
2085
  function hn(n2) {
2148
- return !!n2.__k && (q$2(null, n2), true);
2086
+ return fn(n2) ? E$2.apply(null, arguments) : n2;
2149
2087
  }
2150
2088
  function vn(n2) {
2089
+ return !!n2.__k && (B$2(null, n2), true);
2090
+ }
2091
+ function dn(n2) {
2151
2092
  return n2 && (n2.base || 1 === n2.nodeType && n2) || null;
2152
2093
  }
2153
- var dn = function(n2, t2) {
2094
+ var pn = function(n2, t2) {
2154
2095
  return n2(t2);
2155
- }, pn = function(n2, t2) {
2096
+ }, mn = function(n2, t2) {
2156
2097
  return n2(t2);
2157
- }, mn = g$3;
2158
- function yn(n2) {
2098
+ }, yn = k$3;
2099
+ function _n(n2) {
2159
2100
  n2();
2160
2101
  }
2161
- function _n(n2) {
2102
+ function bn(n2) {
2162
2103
  return n2;
2163
2104
  }
2164
- function bn() {
2165
- return [false, yn];
2105
+ function Sn() {
2106
+ return [false, _n];
2166
2107
  }
2167
- var Sn = y, gn = fn;
2108
+ var gn = _, En = fn;
2168
2109
  function Cn(n2, t2) {
2169
2110
  var e2 = t2(), r2 = h({ h: { __: e2, v: t2 } }), u2 = r2[0].h, o2 = r2[1];
2170
- return y(function() {
2171
- u2.__ = e2, u2.v = t2, En(u2) && o2({ h: u2 });
2172
- }, [n2, e2, t2]), p(function() {
2173
- return En(u2) && o2({ h: u2 }), n2(function() {
2174
- En(u2) && o2({ h: u2 });
2111
+ return _(function() {
2112
+ u2.__ = e2, u2.v = t2, xn(u2) && o2({ h: u2 });
2113
+ }, [n2, e2, t2]), y(function() {
2114
+ return xn(u2) && o2({ h: u2 }), n2(function() {
2115
+ xn(u2) && o2({ h: u2 });
2175
2116
  });
2176
2117
  }, [n2]), e2;
2177
2118
  }
2178
- function En(n2) {
2119
+ function xn(n2) {
2179
2120
  var t2, e2, r2 = n2.v, u2 = n2.__;
2180
2121
  try {
2181
2122
  var o2 = r2();
@@ -2184,55 +2125,60 @@ function En(n2) {
2184
2125
  return true;
2185
2126
  }
2186
2127
  }
2187
- 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 };
2128
+ 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 };
2188
2129
  const compat_module = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2189
2130
  __proto__: null,
2190
- Children: A,
2131
+ Children: N,
2191
2132
  Component: b$2,
2192
- Fragment: g$3,
2193
- PureComponent: E,
2194
- StrictMode: mn,
2133
+ Fragment: k$3,
2134
+ PureComponent: C,
2135
+ StrictMode: yn,
2195
2136
  Suspense: L,
2196
- SuspenseList: M,
2137
+ SuspenseList: U,
2197
2138
  __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: on,
2198
- cloneElement: sn,
2199
- createContext: F$2,
2200
- createElement: y$2,
2201
- createFactory: cn,
2139
+ cloneElement: hn,
2140
+ createContext: G$1,
2141
+ createElement: _$1,
2142
+ createFactory: ln,
2202
2143
  createPortal: j,
2203
- createRef: _$2,
2204
- default: wn,
2205
- findDOMNode: vn,
2206
- flushSync: pn,
2207
- forwardRef: N,
2144
+ createRef: m$1,
2145
+ default: Rn,
2146
+ findDOMNode: dn,
2147
+ flushSync: mn,
2148
+ forwardRef: k,
2208
2149
  hydrate: G,
2209
- isElement: gn,
2150
+ isElement: En,
2210
2151
  isFragment: an,
2152
+ isMemo: sn,
2211
2153
  isValidElement: fn,
2212
- lazy: D,
2213
- memo: w,
2154
+ lazy: F,
2155
+ memo: x,
2214
2156
  render: q,
2215
- startTransition: yn,
2216
- unmountComponentAtNode: hn,
2217
- unstable_batchedUpdates: dn,
2218
- useCallback: T$1,
2219
- useContext: q$1,
2220
- useDebugValue: x$1,
2221
- useDeferredValue: _n,
2222
- useEffect: p,
2223
- useErrorBoundary: P$1,
2224
- useId: V$1,
2225
- useImperativeHandle: A$1,
2226
- useInsertionEffect: Sn,
2227
- useLayoutEffect: y,
2228
- useMemo: F$1,
2229
- useReducer: s,
2230
- useRef: _,
2157
+ startTransition: _n,
2158
+ unmountComponentAtNode: vn,
2159
+ unstable_batchedUpdates: pn,
2160
+ useCallback: q$1,
2161
+ useContext: x$1,
2162
+ useDebugValue: P$1,
2163
+ useDeferredValue: bn,
2164
+ useEffect: y,
2165
+ useErrorBoundary: b,
2166
+ useId: g$1,
2167
+ useImperativeHandle: F$1,
2168
+ useInsertionEffect: gn,
2169
+ useLayoutEffect: _,
2170
+ useMemo: T$1,
2171
+ useReducer: p,
2172
+ useRef: A$1,
2231
2173
  useState: h,
2232
2174
  useSyncExternalStore: Cn,
2233
- useTransition: bn,
2234
- version: ln
2175
+ useTransition: Sn,
2176
+ version: cn
2235
2177
  }, Symbol.toStringTag, { value: "Module" }));
2178
+ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
2179
+ function getDefaultExportFromCjs(x2) {
2180
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
2181
+ }
2236
2182
  function getAugmentedNamespace(n2) {
2237
2183
  if (n2.__esModule)
2238
2184
  return n2;
@@ -2459,12 +2405,12 @@ const UNDEFINED = (
2459
2405
  );
2460
2406
  const OBJECT = Object;
2461
2407
  const isUndefined = (v2) => v2 === UNDEFINED;
2462
- const isFunction = (v2) => typeof v2 == "function";
2408
+ const isFunction$2 = (v2) => typeof v2 == "function";
2463
2409
  const mergeObjects = (a2, b2) => ({
2464
2410
  ...a2,
2465
2411
  ...b2
2466
2412
  });
2467
- const isPromiseLike = (x2) => isFunction(x2.then);
2413
+ const isPromiseLike = (x2) => isFunction$2(x2.then);
2468
2414
  const table = /* @__PURE__ */ new WeakMap();
2469
2415
  let counter = 0;
2470
2416
  const stableHash = (arg) => {
@@ -2583,17 +2529,17 @@ const defaultConfigOptions = {
2583
2529
  initFocus,
2584
2530
  initReconnect
2585
2531
  };
2586
- const IS_REACT_LEGACY = !wn.useId;
2532
+ const IS_REACT_LEGACY = !Rn.useId;
2587
2533
  const IS_SERVER = !isWindowDefined || "Deno" in window;
2588
2534
  const rAF = (f2) => hasRequestAnimationFrame() ? window["requestAnimationFrame"](f2) : setTimeout(f2, 1);
2589
- const useIsomorphicLayoutEffect = IS_SERVER ? p : y;
2535
+ const useIsomorphicLayoutEffect = IS_SERVER ? y : _;
2590
2536
  const navigatorConnection = typeof navigator !== "undefined" && navigator.connection;
2591
2537
  const slowConnection = !IS_SERVER && navigatorConnection && ([
2592
2538
  "slow-2g",
2593
2539
  "2g"
2594
2540
  ].includes(navigatorConnection.effectiveType) || navigatorConnection.saveData);
2595
2541
  const serialize = (key) => {
2596
- if (isFunction(key)) {
2542
+ if (isFunction$2(key)) {
2597
2543
  try {
2598
2544
  key = key();
2599
2545
  } catch (err) {
@@ -2631,12 +2577,11 @@ async function internalMutate(...args) {
2631
2577
  let populateCache = options.populateCache;
2632
2578
  const rollbackOnErrorOption = options.rollbackOnError;
2633
2579
  let optimisticData = options.optimisticData;
2634
- const revalidate = options.revalidate !== false;
2635
2580
  const rollbackOnError = (error) => {
2636
2581
  return typeof rollbackOnErrorOption === "function" ? rollbackOnErrorOption(error) : rollbackOnErrorOption !== false;
2637
2582
  };
2638
2583
  const throwOnError = options.throwOnError;
2639
- if (isFunction(_key)) {
2584
+ if (isFunction$2(_key)) {
2640
2585
  const keyFilter = _key;
2641
2586
  const matchedKeys = [];
2642
2587
  const it = cache2.keys();
@@ -2655,18 +2600,19 @@ async function internalMutate(...args) {
2655
2600
  const [key] = serialize(_k);
2656
2601
  if (!key)
2657
2602
  return;
2658
- const [get, set] = createCacheHelper(cache2, key);
2603
+ const [get2, set] = createCacheHelper(cache2, key);
2659
2604
  const [EVENT_REVALIDATORS, MUTATION, FETCH, PRELOAD] = SWRGlobalState.get(cache2);
2660
2605
  const startRevalidate = () => {
2661
2606
  const revalidators = EVENT_REVALIDATORS[key];
2607
+ const revalidate = isFunction$2(options.revalidate) ? options.revalidate(get2().data, _k) : options.revalidate !== false;
2662
2608
  if (revalidate) {
2663
2609
  delete FETCH[key];
2664
2610
  delete PRELOAD[key];
2665
2611
  if (revalidators && revalidators[0]) {
2666
- return revalidators[0](MUTATE_EVENT).then(() => get().data);
2612
+ return revalidators[0](MUTATE_EVENT).then(() => get2().data);
2667
2613
  }
2668
2614
  }
2669
- return get().data;
2615
+ return get2().data;
2670
2616
  };
2671
2617
  if (args.length < 3) {
2672
2618
  return startRevalidate();
@@ -2679,18 +2625,18 @@ async function internalMutate(...args) {
2679
2625
  0
2680
2626
  ];
2681
2627
  const hasOptimisticData = !isUndefined(optimisticData);
2682
- const state = get();
2628
+ const state = get2();
2683
2629
  const displayedData = state.data;
2684
2630
  const currentData = state._c;
2685
2631
  const committedData = isUndefined(currentData) ? displayedData : currentData;
2686
2632
  if (hasOptimisticData) {
2687
- optimisticData = isFunction(optimisticData) ? optimisticData(committedData, displayedData) : optimisticData;
2633
+ optimisticData = isFunction$2(optimisticData) ? optimisticData(committedData, displayedData) : optimisticData;
2688
2634
  set({
2689
2635
  data: optimisticData,
2690
2636
  _c: committedData
2691
2637
  });
2692
2638
  }
2693
- if (isFunction(data)) {
2639
+ if (isFunction$2(data)) {
2694
2640
  try {
2695
2641
  data = data(committedData);
2696
2642
  } catch (err) {
@@ -2715,7 +2661,7 @@ async function internalMutate(...args) {
2715
2661
  }
2716
2662
  if (populateCache) {
2717
2663
  if (!error) {
2718
- if (isFunction(populateCache)) {
2664
+ if (isFunction$2(populateCache)) {
2719
2665
  const populateCachedData = populateCache(data, committedData);
2720
2666
  set({
2721
2667
  data: populateCachedData,
@@ -2861,17 +2807,17 @@ const mergeConfigs = (a2, b2) => {
2861
2807
  }
2862
2808
  return v2;
2863
2809
  };
2864
- const SWRConfigContext = F$2({});
2810
+ const SWRConfigContext = G$1({});
2865
2811
  const INFINITE_PREFIX = "$inf$";
2866
2812
  const enableDevtools = isWindowDefined && window.__SWR_DEVTOOLS_USE__;
2867
2813
  const use$1 = enableDevtools ? window.__SWR_DEVTOOLS_USE__ : [];
2868
2814
  const setupDevTools = () => {
2869
2815
  if (enableDevtools) {
2870
- window.__SWR_DEVTOOLS_REACT__ = wn;
2816
+ window.__SWR_DEVTOOLS_REACT__ = Rn;
2871
2817
  }
2872
2818
  };
2873
2819
  const normalize = (args) => {
2874
- return isFunction(args[1]) ? [
2820
+ return isFunction$2(args[1]) ? [
2875
2821
  args[0],
2876
2822
  args[1],
2877
2823
  args[2] || {}
@@ -2882,7 +2828,7 @@ const normalize = (args) => {
2882
2828
  ];
2883
2829
  };
2884
2830
  const useSWRConfig = () => {
2885
- return mergeObjects(defaultConfig, q$1(SWRConfigContext));
2831
+ return mergeObjects(defaultConfig, x$1(SWRConfigContext));
2886
2832
  };
2887
2833
  const middleware = (useSWRNext) => (key_, fetcher_, config) => {
2888
2834
  const fetcher = fetcher_ && ((...args) => {
@@ -2926,7 +2872,7 @@ const subscribeCallback = (key, callbacks, callback) => {
2926
2872
  };
2927
2873
  };
2928
2874
  setupDevTools();
2929
- const use = wn.use || ((promise) => {
2875
+ const use = Rn.use || ((promise) => {
2930
2876
  if (promise.status === "pending") {
2931
2877
  throw promise;
2932
2878
  } else if (promise.status === "fulfilled") {
@@ -2952,15 +2898,15 @@ const useSWRHandler = (_key, fetcher, config) => {
2952
2898
  const { cache: cache2, compare: compare2, suspense, fallbackData, revalidateOnMount, revalidateIfStale, refreshInterval, refreshWhenHidden, refreshWhenOffline, keepPreviousData } = config;
2953
2899
  const [EVENT_REVALIDATORS, MUTATION, FETCH, PRELOAD] = SWRGlobalState.get(cache2);
2954
2900
  const [key, fnArg] = serialize(_key);
2955
- const initialMountedRef = _(false);
2956
- const unmountedRef = _(false);
2957
- const keyRef = _(key);
2958
- const fetcherRef = _(fetcher);
2959
- const configRef = _(config);
2901
+ const initialMountedRef = A$1(false);
2902
+ const unmountedRef = A$1(false);
2903
+ const keyRef = A$1(key);
2904
+ const fetcherRef = A$1(fetcher);
2905
+ const configRef = A$1(config);
2960
2906
  const getConfig = () => configRef.current;
2961
2907
  const isActive = () => getConfig().isVisible() && getConfig().isOnline();
2962
2908
  const [getCache, setCache, subscribeCache, getInitialCache] = createCacheHelper(cache2, key);
2963
- const stateDependencies = _({}).current;
2909
+ const stateDependencies = A$1({}).current;
2964
2910
  const fallback = isUndefined(fallbackData) ? config.fallback[key] : fallbackData;
2965
2911
  const isEqual = (prev, current) => {
2966
2912
  for (const _2 in stateDependencies) {
@@ -2982,7 +2928,7 @@ const useSWRHandler = (_key, fetcher, config) => {
2982
2928
  }
2983
2929
  return true;
2984
2930
  };
2985
- const getSnapshot = F$1(() => {
2931
+ const getSnapshot = T$1(() => {
2986
2932
  const shouldStartRequest = (() => {
2987
2933
  if (!key)
2988
2934
  return false;
@@ -3036,7 +2982,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3036
2982
  cache2,
3037
2983
  key
3038
2984
  ]);
3039
- const cached = shimExports.useSyncExternalStore(T$1(
2985
+ const cached = shimExports.useSyncExternalStore(q$1(
3040
2986
  (callback) => subscribeCache(key, (current, prev) => {
3041
2987
  if (!isEqual(prev, current))
3042
2988
  callback();
@@ -3052,7 +2998,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3052
2998
  const cachedData = cached.data;
3053
2999
  const data = isUndefined(cachedData) ? fallback : cachedData;
3054
3000
  const error = cached.error;
3055
- const laggyDataRef = _(data);
3001
+ const laggyDataRef = A$1(data);
3056
3002
  const returnedData = keepPreviousData ? isUndefined(cachedData) ? laggyDataRef.current : cachedData : data;
3057
3003
  const shouldDoInitialRevalidation = (() => {
3058
3004
  if (hasRevalidator && !isUndefined(error))
@@ -3068,7 +3014,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3068
3014
  const defaultValidatingState = !!(key && fetcher && isInitialMount && shouldDoInitialRevalidation);
3069
3015
  const isValidating = isUndefined(cached.isValidating) ? defaultValidatingState : cached.isValidating;
3070
3016
  const isLoading = isUndefined(cached.isLoading) ? defaultValidatingState : cached.isLoading;
3071
- const revalidate = T$1(
3017
+ const revalidate = q$1(
3072
3018
  async (revalidateOpts) => {
3073
3019
  const currentFetcher = fetcherRef.current;
3074
3020
  if (!key || !currentFetcher || unmountedRef.current || getConfig().isPaused()) {
@@ -3161,8 +3107,8 @@ const useSWRHandler = (_key, fetcher, config) => {
3161
3107
  finalState.error = err;
3162
3108
  if (shouldStartNewRequest && callbackSafeguard()) {
3163
3109
  currentConfig.onError(err, key, currentConfig);
3164
- if (shouldRetryOnError === true || isFunction(shouldRetryOnError) && shouldRetryOnError(err)) {
3165
- if (isActive()) {
3110
+ if (shouldRetryOnError === true || isFunction$2(shouldRetryOnError) && shouldRetryOnError(err)) {
3111
+ if (!getConfig().revalidateOnFocus || !getConfig().revalidateOnReconnect || isActive()) {
3166
3112
  currentConfig.onErrorRetry(err, key, currentConfig, (_opts) => {
3167
3113
  const revalidators = EVENT_REVALIDATORS[key];
3168
3114
  if (revalidators && revalidators[0]) {
@@ -3197,7 +3143,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3197
3143
  cache2
3198
3144
  ]
3199
3145
  );
3200
- const boundMutate = T$1(
3146
+ const boundMutate = q$1(
3201
3147
  // Use callback to make sure `keyRef.current` returns latest result every time
3202
3148
  (...args) => {
3203
3149
  return internalMutate(cache2, keyRef.current, ...args);
@@ -3259,7 +3205,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3259
3205
  useIsomorphicLayoutEffect(() => {
3260
3206
  let timer;
3261
3207
  function next() {
3262
- const interval = isFunction(refreshInterval) ? refreshInterval(getCache().data) : refreshInterval;
3208
+ const interval = isFunction$2(refreshInterval) ? refreshInterval(getCache().data) : refreshInterval;
3263
3209
  if (interval && timer !== -1) {
3264
3210
  timer = setTimeout(execute, interval);
3265
3211
  }
@@ -3284,7 +3230,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3284
3230
  refreshWhenOffline,
3285
3231
  key
3286
3232
  ]);
3287
- x$1(returnedData);
3233
+ P$1(returnedData);
3288
3234
  if (suspense && isUndefined(data) && key) {
3289
3235
  if (!IS_REACT_LEGACY && IS_SERVER) {
3290
3236
  throw new Error("Fallback data is required when using suspense in SSR.");
@@ -3352,11 +3298,7 @@ const tagClass = cva({
3352
3298
  false: ""
3353
3299
  }
3354
3300
  },
3355
- compoundVariants: [{
3356
- disabled: false,
3357
- interactive: true,
3358
- class: "cursor-pointer active:scale-[0.975]"
3359
- }],
3301
+ compoundVariants: [{ disabled: false, interactive: true, class: "cursor-pointer active:scale-[0.975]" }],
3360
3302
  defaultVariants: {
3361
3303
  variant: "neutralWeak",
3362
3304
  size: "sm",
@@ -3364,11 +3306,7 @@ const tagClass = cva({
3364
3306
  interactive: false
3365
3307
  }
3366
3308
  });
3367
- const CurrentValueTag = ({
3368
- query,
3369
- property,
3370
- selectedValues
3371
- }) => {
3309
+ const CurrentValueTag = ({ query, property, selectedValues }) => {
3372
3310
  switch (query.state) {
3373
3311
  case "error":
3374
3312
  case "loading":
@@ -3383,26 +3321,21 @@ const CurrentValueTag = ({
3383
3321
  case 1: {
3384
3322
  const firstSuggestion = selectedSuggestions[0];
3385
3323
  invariant(firstSuggestion);
3386
- return u$1("span", {
3387
- class: tagClass({
3388
- size: "sm",
3389
- variant: "accentStrong",
3390
- interactive: true,
3391
- class: "truncate"
3392
- }),
3393
- children: firstSuggestion.label
3394
- });
3324
+ return /* @__PURE__ */ u$1("span", { class: tagClass({ size: "sm", variant: "accentStrong", interactive: true, class: "truncate" }), children: firstSuggestion.label });
3395
3325
  }
3396
3326
  default:
3397
- return u$1("span", {
3398
- class: tagClass({
3399
- size: "sm",
3400
- variant: "accentStrong",
3401
- interactive: true,
3402
- class: "ijs-filter-current truncate tabular-nums"
3403
- }),
3404
- children: selectedSuggestions.length
3405
- });
3327
+ return /* @__PURE__ */ u$1(
3328
+ "span",
3329
+ {
3330
+ class: tagClass({
3331
+ size: "sm",
3332
+ variant: "accentStrong",
3333
+ interactive: true,
3334
+ class: "ijs-filter-current truncate tabular-nums"
3335
+ }),
3336
+ children: selectedSuggestions.length
3337
+ }
3338
+ );
3406
3339
  }
3407
3340
  }
3408
3341
  default:
@@ -3439,7 +3372,7 @@ const FilterContentActive = ({
3439
3372
  onRender
3440
3373
  }) => {
3441
3374
  const filterQuery = getQueryState(useQuery());
3442
- const availablePropertyKeys = F$1(() => {
3375
+ const availablePropertyKeys = T$1(() => {
3443
3376
  switch (filterQuery.state) {
3444
3377
  case "error":
3445
3378
  case "loading":
@@ -3457,43 +3390,45 @@ const FilterContentActive = ({
3457
3390
  const hasValue = selectedValues.length > 0;
3458
3391
  const [displayCount, setDisplayCount] = h(SUGGESTION_COUNT);
3459
3392
  const [search, setSearch] = h();
3460
- p(() => {
3393
+ y(() => {
3461
3394
  onRender();
3462
3395
  });
3463
3396
  if (filterQuery.state === "error") {
3464
- return u$1(ErrorView, {
3465
- error: new Error("We’re having trouble loading available filters.", {
3466
- cause: filterQuery.error
3467
- }),
3468
- resetError: () => filterQuery.swr.mutate()
3469
- });
3397
+ return /* @__PURE__ */ u$1(
3398
+ ErrorView,
3399
+ {
3400
+ error: new Error("We’re having trouble loading available filters.", { cause: filterQuery.error }),
3401
+ resetError: () => filterQuery.swr.mutate()
3402
+ }
3403
+ );
3470
3404
  }
3471
- return u$1("div", {
3472
- class: "animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",
3473
- children: [property.searchable && u$1("div", {
3474
- class: "top-0 px-4 py-1",
3475
- children: u$1("input", {
3405
+ return /* @__PURE__ */ u$1("div", { class: "animate-slide-in-bottom flex w-full flex-col gap-2 pt-1", children: [
3406
+ property.searchable && /* @__PURE__ */ u$1("div", { class: "top-0 px-4 py-1", children: /* @__PURE__ */ u$1(
3407
+ "input",
3408
+ {
3476
3409
  type: "text",
3477
- class: inputClass({
3478
- hasValue
3479
- }),
3410
+ class: inputClass({ hasValue }),
3480
3411
  value: search,
3481
3412
  onInput: (e2) => setSearch(e2.currentTarget.value),
3482
3413
  placeholder: "Type to search"
3483
- })
3484
- }), (() => {
3414
+ }
3415
+ ) }),
3416
+ (() => {
3485
3417
  switch (unfilteredQuery.state) {
3486
3418
  case "error":
3487
- return u$1(ErrorView, {
3488
- error: new Error("We’re having trouble loading available filters.", {
3489
- cause: unfilteredQuery.error
3490
- }),
3491
- resetError: () => unfilteredQuery.swr.mutate()
3492
- });
3419
+ return /* @__PURE__ */ u$1(
3420
+ ErrorView,
3421
+ {
3422
+ error: new Error("We’re having trouble loading available filters.", {
3423
+ cause: unfilteredQuery.error
3424
+ }),
3425
+ resetError: () => unfilteredQuery.swr.mutate()
3426
+ }
3427
+ );
3493
3428
  case "loading":
3494
- return u$1("div", {
3495
- class: "flex px-4",
3496
- children: u$1("div", {
3429
+ return /* @__PURE__ */ u$1("div", { class: "flex px-4", children: /* @__PURE__ */ u$1(
3430
+ "div",
3431
+ {
3497
3432
  "aria-hidden": true,
3498
3433
  class: tagClass({
3499
3434
  size: "lg",
@@ -3501,144 +3436,137 @@ const FilterContentActive = ({
3501
3436
  interactive: true,
3502
3437
  class: "animate-skeleton cursor-default opacity-20 active:-scale-100"
3503
3438
  }),
3504
- children: u$1("span", {
3505
- class: "inline-block w-[10ch]"
3506
- })
3507
- })
3508
- });
3439
+ children: /* @__PURE__ */ u$1("span", { class: "inline-block w-[10ch]" })
3440
+ }
3441
+ ) });
3509
3442
  case "revalidating":
3510
3443
  case "loaded": {
3511
3444
  const allSuggestions = unfilteredQuery.data[property.key] ?? [];
3512
3445
  const filteredSuggestions = search && search.length > 1 ? allSuggestions.filter((s2) => s2.label.toLowerCase().includes(search.toLowerCase())) : allSuggestions;
3513
- const suggestions = filteredSuggestions.map((s2) => ({
3514
- ...s2,
3515
- disabled: availablePropertyKeys === null ? false : availablePropertyKeys[s2.value] !== true
3516
- }));
3446
+ const suggestions = [];
3447
+ for (const suggestion of filteredSuggestions) {
3448
+ if (suggestion.label.length < 1)
3449
+ continue;
3450
+ const statefulSuggestion = {
3451
+ ...suggestion,
3452
+ disabled: availablePropertyKeys === null ? false : availablePropertyKeys[suggestion.value] !== true
3453
+ };
3454
+ switch (property.results) {
3455
+ case "only-available":
3456
+ if (statefulSuggestion.disabled == false)
3457
+ suggestions.push(statefulSuggestion);
3458
+ break;
3459
+ default:
3460
+ suggestions.push(statefulSuggestion);
3461
+ }
3462
+ }
3517
3463
  const noEnabledOptions = !suggestions.find((suggestion) => !suggestion.disabled);
3518
3464
  if (noEnabledOptions)
3519
- return u$1("p", {
3520
- class: "font-style-tag text-style-tag font-weight-tag border-px w-full border-transparent px-4 py-2 text-center",
3521
- children: "No filter options available."
3522
- });
3523
- return u$1("div", {
3524
- class: "pointer-fine:px-4",
3525
- children: u$1("ul", {
3526
- style: {
3527
- maxHeight: (TAG_HEIGHT + GAP) * (LINE_COUNT - 1) + TAG_HEIGHT / 2 + 2 * PADDING_Y
3528
- },
3465
+ 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." });
3466
+ return /* @__PURE__ */ u$1("div", { class: "pointer-fine:px-4", children: /* @__PURE__ */ u$1(
3467
+ "ul",
3468
+ {
3469
+ style: { maxHeight: (TAG_HEIGHT + GAP) * (LINE_COUNT - 1) + TAG_HEIGHT / 2 + 2 * PADDING_Y },
3529
3470
  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",
3530
- children: [suggestions.slice(0, displayCount).map((suggestion) => {
3531
- const active = selectedValues.includes(suggestion.value);
3532
- return u$1("li", {
3533
- class: "animate-appear-tag max-w-full origin-top",
3534
- children: u$1("button", {
3535
- disabled: suggestion.disabled,
3536
- "data-filter": true,
3537
- "data-current-value": active ? "true" : void 0,
3538
- onClick: () => {
3539
- switch (value.select) {
3540
- case "many": {
3541
- const newValue = toggleInArray(selectedValues, suggestion.value);
3542
- onValueChange({
3543
- select: "many",
3544
- value: newValue
3545
- });
3546
- break;
3471
+ children: [
3472
+ suggestions.slice(0, displayCount).map((suggestion) => {
3473
+ const active = selectedValues.includes(suggestion.value);
3474
+ return /* @__PURE__ */ u$1("li", { class: "animate-appear-tag max-w-full origin-top", children: /* @__PURE__ */ u$1(
3475
+ "button",
3476
+ {
3477
+ disabled: suggestion.disabled,
3478
+ "data-filter": true,
3479
+ "data-current-value": active ? "true" : void 0,
3480
+ onClick: () => {
3481
+ switch (value.select) {
3482
+ case "many": {
3483
+ const newValue = toggleInArray(selectedValues, suggestion.value);
3484
+ onValueChange({ select: "many", value: newValue });
3485
+ break;
3486
+ }
3487
+ case "one":
3488
+ onValueChange({ select: "one", value: suggestion.value });
3489
+ break;
3490
+ default:
3491
+ exhaustive(value);
3547
3492
  }
3548
- case "one":
3549
- onValueChange({
3550
- select: "one",
3551
- value: suggestion.value
3552
- });
3553
- break;
3554
- default:
3555
- exhaustive(value);
3556
- }
3557
- },
3558
- class: tagClass({
3493
+ },
3494
+ class: tagClass({
3495
+ size: "lg",
3496
+ variant: active ? "accentStrong" : "neutralStrong",
3497
+ interactive: true,
3498
+ disabled: suggestion.disabled,
3499
+ class: "ijs-filter-tag"
3500
+ }),
3501
+ children: suggestion.label
3502
+ }
3503
+ ) }, suggestion.value);
3504
+ }),
3505
+ 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(
3506
+ "button",
3507
+ {
3508
+ class: btnClass({
3509
+ variant: "neutral",
3510
+ icon: "right",
3559
3511
  size: "lg",
3560
- variant: active ? "accentStrong" : "neutralStrong",
3561
- interactive: true,
3562
- disabled: suggestion.disabled,
3563
- class: "ijs-filter-tag"
3512
+ class: "border-px flex w-full max-w-full flex-none flex-nowrap justify-center truncate border-transparent"
3564
3513
  }),
3565
- children: suggestion.label
3566
- })
3567
- }, suggestion.value);
3568
- }), suggestions.length > displayCount && u$1("li", {
3569
- class: "animate-appear-tag pointer-fine:w-full max-w-full flex-none origin-top",
3570
- children: u$1("button", {
3571
- class: btnClass({
3572
- variant: "neutral",
3573
- icon: "right",
3574
- size: "lg",
3575
- class: "border-px flex w-full max-w-full flex-none flex-nowrap justify-center truncate border-transparent"
3576
- }),
3577
- onClick: () => {
3578
- setDisplayCount(displayCount + SUGGESTION_COUNT);
3579
- },
3580
- children: [u$1("span", {
3581
- class: "font-style-tag font-family-tag font-weight-tag text-style-tag",
3582
- children: "Show More"
3583
- }), u$1(Icon, {
3584
- "aria-hidden": true,
3585
- name: "plus"
3586
- })]
3587
- })
3588
- })]
3589
- })
3590
- });
3514
+ onClick: () => {
3515
+ setDisplayCount(displayCount + SUGGESTION_COUNT);
3516
+ },
3517
+ children: [
3518
+ /* @__PURE__ */ u$1("span", { class: "font-style-tag font-family-tag font-weight-tag text-style-tag", children: "Show More" }),
3519
+ /* @__PURE__ */ u$1(Icon, { "aria-hidden": true, name: "plus" })
3520
+ ]
3521
+ }
3522
+ ) })
3523
+ ]
3524
+ }
3525
+ ) });
3591
3526
  }
3592
3527
  default:
3593
3528
  exhaustive(unfilteredQuery);
3594
3529
  }
3595
- })(), u$1("footer", {
3596
- class: "flex justify-end p-2",
3597
- children: [u$1("div", {
3598
- class: "flex-1",
3599
- children: hasValue && u$1("button", {
3600
- class: btnClass({
3601
- variant: "neutral",
3602
- icon: "left"
3603
- }),
3530
+ })(),
3531
+ /* @__PURE__ */ u$1("footer", { class: "flex justify-end p-2", children: [
3532
+ /* @__PURE__ */ u$1("div", { class: "flex-1", children: hasValue && /* @__PURE__ */ u$1(
3533
+ "button",
3534
+ {
3535
+ class: btnClass({ variant: "neutral", icon: "left" }),
3604
3536
  onClick: () => {
3605
3537
  onValueChange(void 0);
3606
3538
  },
3607
- children: [u$1(Icon, {
3608
- "aria-hidden": true,
3609
- name: "x"
3610
- }), " Clear"]
3611
- })
3612
- }), value.select === "many" && u$1("div", {
3613
- class: "flex items-center overflow-hidden",
3614
- children: u$1("p", {
3615
- class: "font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center",
3616
- children: [selectedValues.length, " selected"]
3617
- })
3618
- }), u$1("div", {
3619
- class: "flex-1",
3620
- children: u$1("button", {
3621
- class: btnClass({
3622
- variant: hasValue ? "accent" : "neutral",
3623
- icon: "right",
3624
- class: "ml-auto"
3625
- }),
3539
+ children: [
3540
+ /* @__PURE__ */ u$1(Icon, { "aria-hidden": true, name: "x" }),
3541
+ " Clear"
3542
+ ]
3543
+ }
3544
+ ) }),
3545
+ 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: [
3546
+ selectedValues.length,
3547
+ " selected"
3548
+ ] }) }),
3549
+ /* @__PURE__ */ u$1("div", { class: "flex-1", children: /* @__PURE__ */ u$1(
3550
+ "button",
3551
+ {
3552
+ class: btnClass({ variant: hasValue ? "accent" : "neutral", icon: "right", class: "ml-auto" }),
3626
3553
  onClick: onSkip,
3627
- children: [hasValue ? "Done" : "Skip", " ", u$1(Icon, {
3628
- name: "chevron-right"
3629
- })]
3630
- }, hasValue ? "done" : "skip")
3631
- })]
3632
- })]
3633
- });
3554
+ children: [
3555
+ hasValue ? "Done" : "Skip",
3556
+ " ",
3557
+ /* @__PURE__ */ u$1(Icon, { name: "chevron-right" })
3558
+ ]
3559
+ },
3560
+ hasValue ? "done" : "skip"
3561
+ ) })
3562
+ ] })
3563
+ ] });
3634
3564
  };
3635
3565
  const filterIcons = {
3636
3566
  contract_type: "clock",
3637
3567
  title: "magnifier",
3638
3568
  city: "mapPin",
3639
3569
  town: "mapPin",
3640
- address_1: "mapPin",
3641
- address_2: "mapPin",
3642
3570
  country: "mapPin",
3643
3571
  company_name: "briefcase",
3644
3572
  category: "briefcase"
@@ -3666,22 +3594,18 @@ const chevronClass = cva({
3666
3594
  base: "flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"
3667
3595
  });
3668
3596
  const useMeasureHeight = (dependencies) => {
3669
- const ref = _(null);
3597
+ const ref = A$1(null);
3670
3598
  const [height, setHeight] = h(0);
3671
3599
  const updateHeight = () => {
3672
3600
  var _a;
3673
3601
  return setHeight(((_a = ref.current) == null ? void 0 : _a.clientHeight) ?? 0);
3674
3602
  };
3675
- y(() => {
3603
+ _(() => {
3676
3604
  updateHeight();
3677
3605
  window.addEventListener("resize", updateHeight);
3678
3606
  return () => window.removeEventListener("resize", updateHeight);
3679
3607
  }, dependencies);
3680
- return {
3681
- height,
3682
- ref,
3683
- updateHeight
3684
- };
3608
+ return { height, ref, updateHeight };
3685
3609
  };
3686
3610
  const getSelectedValues = (current) => typeof current.value === "string" ? [current.value] : current.value ?? [];
3687
3611
  const Filter = ({
@@ -3694,81 +3618,69 @@ const Filter = ({
3694
3618
  unfilteredQuery,
3695
3619
  useQuery
3696
3620
  }) => {
3697
- const icon = property.icon ?? filterIcons[property.key] ?? "filter";
3621
+ const defaultIcon = isKeyInObj(property.key, filterIcons) ? filterIcons[property.key] : void 0;
3622
+ const icon = property.icon ?? defaultIcon ?? "filter";
3698
3623
  const selectedValues = getSelectedValues(value);
3699
- const {
3700
- height,
3701
- ref: contentRef,
3702
- updateHeight
3703
- } = useMeasureHeight([active]);
3624
+ const { height, ref: contentRef, updateHeight } = useMeasureHeight([active]);
3704
3625
  const hasValue = selectedValues.length > 0;
3705
- return u$1("section", {
3706
- "data-filter-key": property.key,
3707
- role: "tab",
3708
- "aria-label": property.label,
3709
- "aria-selected": active ? "true" : void 0,
3710
- class: wrapperClass$1({
3711
- hasValue
3712
- }),
3713
- onTouchStart: noop,
3714
- children: [u$1("div", {
3715
- class: "min-w-0 max-w-full shrink-0 flex-grow",
3716
- children: [u$1("button", {
3717
- "aria-label": active ? "Close filter" : "Open filter",
3718
- class: headerClass({
3719
- state: active ? "active" : hasValue ? "filled" : "default",
3720
- class: "ijs-filter-heading rounded-section fr-child flex w-full cursor-pointer select-none items-center gap-2 py-4 pl-4"
3721
- }),
3722
- onClick: () => onActiveChange(!active),
3723
- children: [u$1(Icon, {
3724
- "aria-hidden": true,
3725
- class: "flex-none",
3726
- name: icon
3727
- }), u$1("p", {
3728
- children: property.label
3729
- })]
3730
- }), u$1("div", {
3731
- class: "ease-expo-out duration-snappy relative overflow-hidden transition-all",
3732
- style: {
3733
- height
3734
- },
3735
- children: u$1("div", {
3736
- class: "w-full",
3737
- ref: contentRef,
3738
- children: active && u$1(FilterContentActive, {
3739
- useQuery,
3740
- onRender: updateHeight,
3741
- onSkip,
3742
- onValueChange,
3743
- unfilteredQuery,
3744
- property,
3745
- value
3746
- })
3747
- })
3748
- })]
3749
- }), !active && u$1("button", {
3750
- tabIndex: -1,
3751
- 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",
3752
- onClick: () => onActiveChange(true),
3753
- children: [u$1("div", {
3754
- "aria-label": "Current value",
3755
- class: "flex max-w-full gap-1 overflow-hidden",
3756
- children: u$1(CurrentValueTag, {
3757
- property,
3758
- query: unfilteredQuery,
3759
- selectedValues
3760
- })
3761
- }), u$1(Icon, {
3762
- "aria-hidden": true,
3763
- class: chevronClass(),
3764
- name: "chevron-right"
3765
- })]
3766
- })]
3767
- });
3626
+ return /* @__PURE__ */ u$1(
3627
+ "section",
3628
+ {
3629
+ "data-filter-key": property.key,
3630
+ role: "tab",
3631
+ "aria-label": property.label,
3632
+ "aria-selected": active ? "true" : void 0,
3633
+ class: wrapperClass$1({ hasValue }),
3634
+ onTouchStart: noop,
3635
+ children: [
3636
+ /* @__PURE__ */ u$1("div", { class: "min-w-0 max-w-full shrink-0 flex-grow", children: [
3637
+ /* @__PURE__ */ u$1(
3638
+ "button",
3639
+ {
3640
+ "aria-label": active ? "Close filter" : "Open filter",
3641
+ class: headerClass({
3642
+ state: active ? "active" : hasValue ? "filled" : "default",
3643
+ class: "ijs-filter-heading rounded-section fr-child flex w-full cursor-pointer select-none items-center gap-2 py-4 pl-4"
3644
+ }),
3645
+ onClick: () => onActiveChange(!active),
3646
+ children: [
3647
+ /* @__PURE__ */ u$1(Icon, { "aria-hidden": true, class: "flex-none", name: icon }),
3648
+ /* @__PURE__ */ u$1("p", { children: property.label })
3649
+ ]
3650
+ }
3651
+ ),
3652
+ /* @__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(
3653
+ FilterContentActive,
3654
+ {
3655
+ useQuery,
3656
+ onRender: updateHeight,
3657
+ onSkip,
3658
+ onValueChange,
3659
+ unfilteredQuery,
3660
+ property,
3661
+ value
3662
+ }
3663
+ ) }) })
3664
+ ] }),
3665
+ !active && /* @__PURE__ */ u$1(
3666
+ "button",
3667
+ {
3668
+ tabIndex: -1,
3669
+ 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",
3670
+ onClick: () => onActiveChange(true),
3671
+ children: [
3672
+ /* @__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 }) }),
3673
+ /* @__PURE__ */ u$1(Icon, { "aria-hidden": true, class: chevronClass(), name: "chevron-right" })
3674
+ ]
3675
+ }
3676
+ )
3677
+ ]
3678
+ }
3679
+ );
3768
3680
  };
3769
3681
  const usePrevious = (value) => {
3770
- const ref = _();
3771
- p(() => {
3682
+ const ref = A$1();
3683
+ y(() => {
3772
3684
  ref.current = value;
3773
3685
  }, [value]);
3774
3686
  return ref.current;
@@ -3784,7 +3696,7 @@ const focusFirstAvailableOption = (activeKey, ref) => {
3784
3696
  };
3785
3697
  const useFilterKeyboardFocus = (activeKey, ref) => {
3786
3698
  const previousActiveKey = usePrevious(activeKey);
3787
- p(() => {
3699
+ y(() => {
3788
3700
  if (previousActiveKey === activeKey)
3789
3701
  return;
3790
3702
  const keyToFocus = activeKey ?? previousActiveKey;
@@ -3804,26 +3716,17 @@ const nextStateFromValue = ({
3804
3716
  var _a, _b;
3805
3717
  switch (value == null ? void 0 : value.select) {
3806
3718
  case void 0: {
3807
- return {
3808
- newValue: void 0,
3809
- newActiveKey: activeKey
3810
- };
3719
+ return { newValue: void 0, newActiveKey: activeKey };
3811
3720
  }
3812
3721
  case "many": {
3813
- return {
3814
- newValue: value,
3815
- newActiveKey: activeKey
3816
- };
3722
+ return { newValue: value, newActiveKey: activeKey };
3817
3723
  }
3818
3724
  case "one": {
3819
3725
  const currentIndex = properties.findIndex((p2) => p2.key === property.key);
3820
3726
  const nextPropertyKey = currentIndex !== -1 ? (_a = properties[currentIndex + 1]) == null ? void 0 : _a.key : void 0;
3821
3727
  const isNextFilled = nextPropertyKey ? ((_b = appliedFilters[nextPropertyKey]) == null ? void 0 : _b.value) !== void 0 : false;
3822
3728
  const nextKey = isNextFilled ? void 0 : nextPropertyKey;
3823
- return {
3824
- newValue: value,
3825
- newActiveKey: nextKey
3826
- };
3729
+ return { newValue: value, newActiveKey: nextKey };
3827
3730
  }
3828
3731
  default:
3829
3732
  exhaustive(value);
@@ -3840,97 +3743,536 @@ const FilterSection = ({
3840
3743
  var _a;
3841
3744
  const [activeKey, setActiveKey] = h((_a = properties[0]) == null ? void 0 : _a.key);
3842
3745
  useFilterKeyboardFocus(activeKey, parentRef);
3843
- const defaultFilters = F$1(() => getFilterDefaults(properties.map(({
3844
- value: _2,
3845
- ...prop
3846
- }) => prop)), [properties]);
3847
- const unfilteredQuery = getQueryState(useSWR(cacheKey({
3848
- filter: defaultFilters,
3849
- baseKey: "filters"
3850
- }), () => getAvailableFilters({
3851
- apiClient,
3852
- logger,
3853
- filters: defaultFilters
3854
- }), SWR_SETTINGS));
3855
- const makeQueryWithoutFilter = T$1((keyToExclude) => () => {
3856
- const filters = {
3857
- ...appliedFilters,
3858
- [keyToExclude]: defaultFilters[keyToExclude]
3859
- };
3860
- return useSWR(cacheKey({
3861
- filter: filters,
3862
- baseKey: "filters"
3863
- }), () => getAvailableFilters({
3864
- apiClient,
3865
- logger,
3866
- filters
3867
- }), SWR_SETTINGS);
3868
- }, [apiClient, appliedFilters, defaultFilters, logger]);
3746
+ const defaultFilters = T$1(
3747
+ () => getFilterDefaults(properties.map(({ value: _2, ...prop }) => prop)),
3748
+ [properties]
3749
+ );
3750
+ const unfilteredQuery = getQueryState(
3751
+ useSWR(
3752
+ cacheKey({ filter: defaultFilters, baseKey: "filters" }),
3753
+ () => getAvailableFilters({ apiClient, logger, filters: defaultFilters }),
3754
+ SWR_SETTINGS
3755
+ )
3756
+ );
3757
+ const makeQueryWithoutFilter = q$1(
3758
+ (keyToExclude) => () => {
3759
+ const filters = { ...appliedFilters, [keyToExclude]: defaultFilters[keyToExclude] };
3760
+ return useSWR(
3761
+ cacheKey({ filter: filters, baseKey: "filters" }),
3762
+ () => getAvailableFilters({ apiClient, logger, filters }),
3763
+ SWR_SETTINGS
3764
+ );
3765
+ },
3766
+ [apiClient, appliedFilters, defaultFilters, logger]
3767
+ );
3869
3768
  if (unfilteredQuery.state === "error") {
3870
- return u$1(ErrorView, {
3871
- error: new Error("We’re having trouble loading available filters.", {
3872
- cause: unfilteredQuery.error
3873
- }),
3874
- resetError: () => unfilteredQuery.swr.mutate()
3875
- });
3769
+ return /* @__PURE__ */ u$1(
3770
+ ErrorView,
3771
+ {
3772
+ error: new Error("We’re having trouble loading available filters.", { cause: unfilteredQuery.error }),
3773
+ resetError: () => unfilteredQuery.swr.mutate()
3774
+ }
3775
+ );
3876
3776
  }
3877
- return u$1("aside", {
3878
- children: u$1("div", {
3879
- role: "tablist",
3880
- class: "top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",
3881
- children: properties.map((property) => {
3882
- const active = activeKey === property.key;
3883
- const value = appliedFilters[property.key] ?? {
3884
- select: property.select,
3885
- value: void 0
3886
- };
3887
- const onValueChange = (value2) => {
3888
- const {
3889
- newActiveKey,
3890
- newValue
3891
- } = nextStateFromValue({
3892
- property,
3893
- activeKey,
3894
- value: value2,
3895
- properties,
3896
- appliedFilters
3897
- });
3898
- setActiveKey(newActiveKey);
3899
- return onFilterValueChange(property.key, newValue);
3900
- };
3901
- const onActiveChange = (active2) => setActiveKey(active2 ? property.key : void 0);
3902
- const useQuery = makeQueryWithoutFilter(property.key);
3903
- return u$1(ErrorBoundary, {
3904
- Fallback: ErrorView,
3905
- children: u$1(Filter, {
3906
- unfilteredQuery,
3907
- active,
3908
- property,
3909
- onActiveChange,
3910
- value,
3911
- onSkip: () => {
3912
- var _a2;
3913
- const currentIndex = properties.findIndex((p2) => p2.key === activeKey);
3914
- const nextPropertyKey = currentIndex !== -1 ? (_a2 = properties[currentIndex + 1]) == null ? void 0 : _a2.key : void 0;
3915
- setActiveKey(nextPropertyKey);
3916
- },
3917
- useQuery,
3918
- onValueChange
3919
- })
3920
- }, property.key);
3921
- })
3922
- })
3923
- });
3777
+ 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) => {
3778
+ const active = activeKey === property.key;
3779
+ const value = appliedFilters[property.key] ?? { select: property.select, value: void 0 };
3780
+ const onValueChange = (value2) => {
3781
+ const { newActiveKey, newValue } = nextStateFromValue({
3782
+ property,
3783
+ activeKey,
3784
+ value: value2,
3785
+ properties,
3786
+ appliedFilters
3787
+ });
3788
+ setActiveKey(newActiveKey);
3789
+ return onFilterValueChange(property.key, newValue);
3790
+ };
3791
+ const onActiveChange = (active2) => setActiveKey(active2 ? property.key : void 0);
3792
+ const useQuery = makeQueryWithoutFilter(property.key);
3793
+ return /* @__PURE__ */ u$1(ErrorBoundary, { Fallback: ErrorView, children: /* @__PURE__ */ u$1(
3794
+ Filter,
3795
+ {
3796
+ unfilteredQuery,
3797
+ active,
3798
+ property,
3799
+ onActiveChange,
3800
+ value,
3801
+ onSkip: () => {
3802
+ var _a2;
3803
+ const currentIndex = properties.findIndex((p2) => p2.key === activeKey);
3804
+ const nextPropertyKey = currentIndex !== -1 ? (_a2 = properties[currentIndex + 1]) == null ? void 0 : _a2.key : void 0;
3805
+ setActiveKey(nextPropertyKey);
3806
+ },
3807
+ useQuery,
3808
+ onValueChange
3809
+ }
3810
+ ) }, property.key);
3811
+ }) }) });
3924
3812
  };
3925
- const SkeletonText = ({
3926
- chars
3927
- }) => {
3928
- return u$1("span", {
3929
- style: {
3930
- width: chars + "ch"
3931
- },
3932
- class: "rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"
3813
+ var isArray$3 = Array.isArray;
3814
+ var isArray_1 = isArray$3;
3815
+ var freeGlobal$1 = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
3816
+ var _freeGlobal = freeGlobal$1;
3817
+ var freeGlobal = _freeGlobal;
3818
+ var freeSelf = typeof self == "object" && self && self.Object === Object && self;
3819
+ var root$3 = freeGlobal || freeSelf || Function("return this")();
3820
+ var _root = root$3;
3821
+ var root$2 = _root;
3822
+ var Symbol$4 = root$2.Symbol;
3823
+ var _Symbol = Symbol$4;
3824
+ var Symbol$3 = _Symbol;
3825
+ var objectProto$4 = Object.prototype;
3826
+ var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
3827
+ var nativeObjectToString$1 = objectProto$4.toString;
3828
+ var symToStringTag$1 = Symbol$3 ? Symbol$3.toStringTag : void 0;
3829
+ function getRawTag$1(value) {
3830
+ var isOwn = hasOwnProperty$3.call(value, symToStringTag$1), tag = value[symToStringTag$1];
3831
+ try {
3832
+ value[symToStringTag$1] = void 0;
3833
+ var unmasked = true;
3834
+ } catch (e2) {
3835
+ }
3836
+ var result = nativeObjectToString$1.call(value);
3837
+ if (unmasked) {
3838
+ if (isOwn) {
3839
+ value[symToStringTag$1] = tag;
3840
+ } else {
3841
+ delete value[symToStringTag$1];
3842
+ }
3843
+ }
3844
+ return result;
3845
+ }
3846
+ var _getRawTag = getRawTag$1;
3847
+ var objectProto$3 = Object.prototype;
3848
+ var nativeObjectToString = objectProto$3.toString;
3849
+ function objectToString$1(value) {
3850
+ return nativeObjectToString.call(value);
3851
+ }
3852
+ var _objectToString = objectToString$1;
3853
+ var Symbol$2 = _Symbol, getRawTag = _getRawTag, objectToString = _objectToString;
3854
+ var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
3855
+ var symToStringTag = Symbol$2 ? Symbol$2.toStringTag : void 0;
3856
+ function baseGetTag$2(value) {
3857
+ if (value == null) {
3858
+ return value === void 0 ? undefinedTag : nullTag;
3859
+ }
3860
+ return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
3861
+ }
3862
+ var _baseGetTag = baseGetTag$2;
3863
+ function isObjectLike$1(value) {
3864
+ return value != null && typeof value == "object";
3865
+ }
3866
+ var isObjectLike_1 = isObjectLike$1;
3867
+ var baseGetTag$1 = _baseGetTag, isObjectLike = isObjectLike_1;
3868
+ var symbolTag = "[object Symbol]";
3869
+ function isSymbol$3(value) {
3870
+ return typeof value == "symbol" || isObjectLike(value) && baseGetTag$1(value) == symbolTag;
3871
+ }
3872
+ var isSymbol_1 = isSymbol$3;
3873
+ var isArray$2 = isArray_1, isSymbol$2 = isSymbol_1;
3874
+ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
3875
+ function isKey$1(value, object2) {
3876
+ if (isArray$2(value)) {
3877
+ return false;
3878
+ }
3879
+ var type = typeof value;
3880
+ if (type == "number" || type == "symbol" || type == "boolean" || value == null || isSymbol$2(value)) {
3881
+ return true;
3882
+ }
3883
+ return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object2 != null && value in Object(object2);
3884
+ }
3885
+ var _isKey = isKey$1;
3886
+ function isObject$3(value) {
3887
+ var type = typeof value;
3888
+ return value != null && (type == "object" || type == "function");
3889
+ }
3890
+ var isObject_1 = isObject$3;
3891
+ var baseGetTag = _baseGetTag, isObject$2 = isObject_1;
3892
+ var asyncTag = "[object AsyncFunction]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
3893
+ function isFunction$1(value) {
3894
+ if (!isObject$2(value)) {
3895
+ return false;
3896
+ }
3897
+ var tag = baseGetTag(value);
3898
+ return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
3899
+ }
3900
+ var isFunction_1 = isFunction$1;
3901
+ var root$1 = _root;
3902
+ var coreJsData$1 = root$1["__core-js_shared__"];
3903
+ var _coreJsData = coreJsData$1;
3904
+ var coreJsData = _coreJsData;
3905
+ var maskSrcKey = function() {
3906
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
3907
+ return uid ? "Symbol(src)_1." + uid : "";
3908
+ }();
3909
+ function isMasked$1(func) {
3910
+ return !!maskSrcKey && maskSrcKey in func;
3911
+ }
3912
+ var _isMasked = isMasked$1;
3913
+ var funcProto$1 = Function.prototype;
3914
+ var funcToString$1 = funcProto$1.toString;
3915
+ function toSource$1(func) {
3916
+ if (func != null) {
3917
+ try {
3918
+ return funcToString$1.call(func);
3919
+ } catch (e2) {
3920
+ }
3921
+ try {
3922
+ return func + "";
3923
+ } catch (e2) {
3924
+ }
3925
+ }
3926
+ return "";
3927
+ }
3928
+ var _toSource = toSource$1;
3929
+ var isFunction = isFunction_1, isMasked = _isMasked, isObject$1 = isObject_1, toSource = _toSource;
3930
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
3931
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
3932
+ var funcProto = Function.prototype, objectProto$2 = Object.prototype;
3933
+ var funcToString = funcProto.toString;
3934
+ var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
3935
+ var reIsNative = RegExp(
3936
+ "^" + funcToString.call(hasOwnProperty$2).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
3937
+ );
3938
+ function baseIsNative$1(value) {
3939
+ if (!isObject$1(value) || isMasked(value)) {
3940
+ return false;
3941
+ }
3942
+ var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
3943
+ return pattern.test(toSource(value));
3944
+ }
3945
+ var _baseIsNative = baseIsNative$1;
3946
+ function getValue$1(object2, key) {
3947
+ return object2 == null ? void 0 : object2[key];
3948
+ }
3949
+ var _getValue = getValue$1;
3950
+ var baseIsNative = _baseIsNative, getValue = _getValue;
3951
+ function getNative$2(object2, key) {
3952
+ var value = getValue(object2, key);
3953
+ return baseIsNative(value) ? value : void 0;
3954
+ }
3955
+ var _getNative = getNative$2;
3956
+ var getNative$1 = _getNative;
3957
+ var nativeCreate$4 = getNative$1(Object, "create");
3958
+ var _nativeCreate = nativeCreate$4;
3959
+ var nativeCreate$3 = _nativeCreate;
3960
+ function hashClear$1() {
3961
+ this.__data__ = nativeCreate$3 ? nativeCreate$3(null) : {};
3962
+ this.size = 0;
3963
+ }
3964
+ var _hashClear = hashClear$1;
3965
+ function hashDelete$1(key) {
3966
+ var result = this.has(key) && delete this.__data__[key];
3967
+ this.size -= result ? 1 : 0;
3968
+ return result;
3969
+ }
3970
+ var _hashDelete = hashDelete$1;
3971
+ var nativeCreate$2 = _nativeCreate;
3972
+ var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
3973
+ var objectProto$1 = Object.prototype;
3974
+ var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
3975
+ function hashGet$1(key) {
3976
+ var data = this.__data__;
3977
+ if (nativeCreate$2) {
3978
+ var result = data[key];
3979
+ return result === HASH_UNDEFINED$1 ? void 0 : result;
3980
+ }
3981
+ return hasOwnProperty$1.call(data, key) ? data[key] : void 0;
3982
+ }
3983
+ var _hashGet = hashGet$1;
3984
+ var nativeCreate$1 = _nativeCreate;
3985
+ var objectProto = Object.prototype;
3986
+ var hasOwnProperty = objectProto.hasOwnProperty;
3987
+ function hashHas$1(key) {
3988
+ var data = this.__data__;
3989
+ return nativeCreate$1 ? data[key] !== void 0 : hasOwnProperty.call(data, key);
3990
+ }
3991
+ var _hashHas = hashHas$1;
3992
+ var nativeCreate = _nativeCreate;
3993
+ var HASH_UNDEFINED = "__lodash_hash_undefined__";
3994
+ function hashSet$1(key, value) {
3995
+ var data = this.__data__;
3996
+ this.size += this.has(key) ? 0 : 1;
3997
+ data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
3998
+ return this;
3999
+ }
4000
+ var _hashSet = hashSet$1;
4001
+ var hashClear = _hashClear, hashDelete = _hashDelete, hashGet = _hashGet, hashHas = _hashHas, hashSet = _hashSet;
4002
+ function Hash$1(entries) {
4003
+ var index = -1, length = entries == null ? 0 : entries.length;
4004
+ this.clear();
4005
+ while (++index < length) {
4006
+ var entry = entries[index];
4007
+ this.set(entry[0], entry[1]);
4008
+ }
4009
+ }
4010
+ Hash$1.prototype.clear = hashClear;
4011
+ Hash$1.prototype["delete"] = hashDelete;
4012
+ Hash$1.prototype.get = hashGet;
4013
+ Hash$1.prototype.has = hashHas;
4014
+ Hash$1.prototype.set = hashSet;
4015
+ var _Hash = Hash$1;
4016
+ function listCacheClear$1() {
4017
+ this.__data__ = [];
4018
+ this.size = 0;
4019
+ }
4020
+ var _listCacheClear = listCacheClear$1;
4021
+ function eq$1(value, other) {
4022
+ return value === other || value !== value && other !== other;
4023
+ }
4024
+ var eq_1 = eq$1;
4025
+ var eq = eq_1;
4026
+ function assocIndexOf$4(array2, key) {
4027
+ var length = array2.length;
4028
+ while (length--) {
4029
+ if (eq(array2[length][0], key)) {
4030
+ return length;
4031
+ }
4032
+ }
4033
+ return -1;
4034
+ }
4035
+ var _assocIndexOf = assocIndexOf$4;
4036
+ var assocIndexOf$3 = _assocIndexOf;
4037
+ var arrayProto = Array.prototype;
4038
+ var splice = arrayProto.splice;
4039
+ function listCacheDelete$1(key) {
4040
+ var data = this.__data__, index = assocIndexOf$3(data, key);
4041
+ if (index < 0) {
4042
+ return false;
4043
+ }
4044
+ var lastIndex = data.length - 1;
4045
+ if (index == lastIndex) {
4046
+ data.pop();
4047
+ } else {
4048
+ splice.call(data, index, 1);
4049
+ }
4050
+ --this.size;
4051
+ return true;
4052
+ }
4053
+ var _listCacheDelete = listCacheDelete$1;
4054
+ var assocIndexOf$2 = _assocIndexOf;
4055
+ function listCacheGet$1(key) {
4056
+ var data = this.__data__, index = assocIndexOf$2(data, key);
4057
+ return index < 0 ? void 0 : data[index][1];
4058
+ }
4059
+ var _listCacheGet = listCacheGet$1;
4060
+ var assocIndexOf$1 = _assocIndexOf;
4061
+ function listCacheHas$1(key) {
4062
+ return assocIndexOf$1(this.__data__, key) > -1;
4063
+ }
4064
+ var _listCacheHas = listCacheHas$1;
4065
+ var assocIndexOf = _assocIndexOf;
4066
+ function listCacheSet$1(key, value) {
4067
+ var data = this.__data__, index = assocIndexOf(data, key);
4068
+ if (index < 0) {
4069
+ ++this.size;
4070
+ data.push([key, value]);
4071
+ } else {
4072
+ data[index][1] = value;
4073
+ }
4074
+ return this;
4075
+ }
4076
+ var _listCacheSet = listCacheSet$1;
4077
+ var listCacheClear = _listCacheClear, listCacheDelete = _listCacheDelete, listCacheGet = _listCacheGet, listCacheHas = _listCacheHas, listCacheSet = _listCacheSet;
4078
+ function ListCache$1(entries) {
4079
+ var index = -1, length = entries == null ? 0 : entries.length;
4080
+ this.clear();
4081
+ while (++index < length) {
4082
+ var entry = entries[index];
4083
+ this.set(entry[0], entry[1]);
4084
+ }
4085
+ }
4086
+ ListCache$1.prototype.clear = listCacheClear;
4087
+ ListCache$1.prototype["delete"] = listCacheDelete;
4088
+ ListCache$1.prototype.get = listCacheGet;
4089
+ ListCache$1.prototype.has = listCacheHas;
4090
+ ListCache$1.prototype.set = listCacheSet;
4091
+ var _ListCache = ListCache$1;
4092
+ var getNative = _getNative, root = _root;
4093
+ var Map$2 = getNative(root, "Map");
4094
+ var _Map = Map$2;
4095
+ var Hash = _Hash, ListCache = _ListCache, Map$1 = _Map;
4096
+ function mapCacheClear$1() {
4097
+ this.size = 0;
4098
+ this.__data__ = {
4099
+ "hash": new Hash(),
4100
+ "map": new (Map$1 || ListCache)(),
4101
+ "string": new Hash()
4102
+ };
4103
+ }
4104
+ var _mapCacheClear = mapCacheClear$1;
4105
+ function isKeyable$1(value) {
4106
+ var type = typeof value;
4107
+ return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
4108
+ }
4109
+ var _isKeyable = isKeyable$1;
4110
+ var isKeyable = _isKeyable;
4111
+ function getMapData$4(map, key) {
4112
+ var data = map.__data__;
4113
+ return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
4114
+ }
4115
+ var _getMapData = getMapData$4;
4116
+ var getMapData$3 = _getMapData;
4117
+ function mapCacheDelete$1(key) {
4118
+ var result = getMapData$3(this, key)["delete"](key);
4119
+ this.size -= result ? 1 : 0;
4120
+ return result;
4121
+ }
4122
+ var _mapCacheDelete = mapCacheDelete$1;
4123
+ var getMapData$2 = _getMapData;
4124
+ function mapCacheGet$1(key) {
4125
+ return getMapData$2(this, key).get(key);
4126
+ }
4127
+ var _mapCacheGet = mapCacheGet$1;
4128
+ var getMapData$1 = _getMapData;
4129
+ function mapCacheHas$1(key) {
4130
+ return getMapData$1(this, key).has(key);
4131
+ }
4132
+ var _mapCacheHas = mapCacheHas$1;
4133
+ var getMapData = _getMapData;
4134
+ function mapCacheSet$1(key, value) {
4135
+ var data = getMapData(this, key), size = data.size;
4136
+ data.set(key, value);
4137
+ this.size += data.size == size ? 0 : 1;
4138
+ return this;
4139
+ }
4140
+ var _mapCacheSet = mapCacheSet$1;
4141
+ var mapCacheClear = _mapCacheClear, mapCacheDelete = _mapCacheDelete, mapCacheGet = _mapCacheGet, mapCacheHas = _mapCacheHas, mapCacheSet = _mapCacheSet;
4142
+ function MapCache$1(entries) {
4143
+ var index = -1, length = entries == null ? 0 : entries.length;
4144
+ this.clear();
4145
+ while (++index < length) {
4146
+ var entry = entries[index];
4147
+ this.set(entry[0], entry[1]);
4148
+ }
4149
+ }
4150
+ MapCache$1.prototype.clear = mapCacheClear;
4151
+ MapCache$1.prototype["delete"] = mapCacheDelete;
4152
+ MapCache$1.prototype.get = mapCacheGet;
4153
+ MapCache$1.prototype.has = mapCacheHas;
4154
+ MapCache$1.prototype.set = mapCacheSet;
4155
+ var _MapCache = MapCache$1;
4156
+ var MapCache = _MapCache;
4157
+ var FUNC_ERROR_TEXT = "Expected a function";
4158
+ function memoize$1(func, resolver) {
4159
+ if (typeof func != "function" || resolver != null && typeof resolver != "function") {
4160
+ throw new TypeError(FUNC_ERROR_TEXT);
4161
+ }
4162
+ var memoized = function() {
4163
+ var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache2 = memoized.cache;
4164
+ if (cache2.has(key)) {
4165
+ return cache2.get(key);
4166
+ }
4167
+ var result = func.apply(this, args);
4168
+ memoized.cache = cache2.set(key, result) || cache2;
4169
+ return result;
4170
+ };
4171
+ memoized.cache = new (memoize$1.Cache || MapCache)();
4172
+ return memoized;
4173
+ }
4174
+ memoize$1.Cache = MapCache;
4175
+ var memoize_1 = memoize$1;
4176
+ var memoize = memoize_1;
4177
+ var MAX_MEMOIZE_SIZE = 500;
4178
+ function memoizeCapped$1(func) {
4179
+ var result = memoize(func, function(key) {
4180
+ if (cache2.size === MAX_MEMOIZE_SIZE) {
4181
+ cache2.clear();
4182
+ }
4183
+ return key;
3933
4184
  });
4185
+ var cache2 = result.cache;
4186
+ return result;
4187
+ }
4188
+ var _memoizeCapped = memoizeCapped$1;
4189
+ var memoizeCapped = _memoizeCapped;
4190
+ var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
4191
+ var reEscapeChar = /\\(\\)?/g;
4192
+ var stringToPath$1 = memoizeCapped(function(string2) {
4193
+ var result = [];
4194
+ if (string2.charCodeAt(0) === 46) {
4195
+ result.push("");
4196
+ }
4197
+ string2.replace(rePropName, function(match2, number2, quote, subString) {
4198
+ result.push(quote ? subString.replace(reEscapeChar, "$1") : number2 || match2);
4199
+ });
4200
+ return result;
4201
+ });
4202
+ var _stringToPath = stringToPath$1;
4203
+ function arrayMap$1(array2, iteratee) {
4204
+ var index = -1, length = array2 == null ? 0 : array2.length, result = Array(length);
4205
+ while (++index < length) {
4206
+ result[index] = iteratee(array2[index], index, array2);
4207
+ }
4208
+ return result;
4209
+ }
4210
+ var _arrayMap = arrayMap$1;
4211
+ var Symbol$1 = _Symbol, arrayMap = _arrayMap, isArray$1 = isArray_1, isSymbol$1 = isSymbol_1;
4212
+ var INFINITY$1 = 1 / 0;
4213
+ var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolToString = symbolProto ? symbolProto.toString : void 0;
4214
+ function baseToString$1(value) {
4215
+ if (typeof value == "string") {
4216
+ return value;
4217
+ }
4218
+ if (isArray$1(value)) {
4219
+ return arrayMap(value, baseToString$1) + "";
4220
+ }
4221
+ if (isSymbol$1(value)) {
4222
+ return symbolToString ? symbolToString.call(value) : "";
4223
+ }
4224
+ var result = value + "";
4225
+ return result == "0" && 1 / value == -INFINITY$1 ? "-0" : result;
4226
+ }
4227
+ var _baseToString = baseToString$1;
4228
+ var baseToString = _baseToString;
4229
+ function toString$1(value) {
4230
+ return value == null ? "" : baseToString(value);
4231
+ }
4232
+ var toString_1 = toString$1;
4233
+ var isArray = isArray_1, isKey = _isKey, stringToPath = _stringToPath, toString = toString_1;
4234
+ function castPath$1(value, object2) {
4235
+ if (isArray(value)) {
4236
+ return value;
4237
+ }
4238
+ return isKey(value, object2) ? [value] : stringToPath(toString(value));
4239
+ }
4240
+ var _castPath = castPath$1;
4241
+ var isSymbol = isSymbol_1;
4242
+ var INFINITY = 1 / 0;
4243
+ function toKey$1(value) {
4244
+ if (typeof value == "string" || isSymbol(value)) {
4245
+ return value;
4246
+ }
4247
+ var result = value + "";
4248
+ return result == "0" && 1 / value == -INFINITY ? "-0" : result;
4249
+ }
4250
+ var _toKey = toKey$1;
4251
+ var castPath = _castPath, toKey = _toKey;
4252
+ function baseGet$1(object2, path) {
4253
+ path = castPath(path, object2);
4254
+ var index = 0, length = path.length;
4255
+ while (object2 != null && index < length) {
4256
+ object2 = object2[toKey(path[index++])];
4257
+ }
4258
+ return index && index == length ? object2 : void 0;
4259
+ }
4260
+ var _baseGet = baseGet$1;
4261
+ var baseGet = _baseGet;
4262
+ function get(object2, path, defaultValue) {
4263
+ var result = object2 == null ? void 0 : baseGet(object2, path);
4264
+ return result === void 0 ? defaultValue : result;
4265
+ }
4266
+ var get_1 = get;
4267
+ const get$1 = /* @__PURE__ */ getDefaultExportFromCjs(get_1);
4268
+ const SkeletonText = ({ chars }) => {
4269
+ return /* @__PURE__ */ u$1(
4270
+ "span",
4271
+ {
4272
+ style: { width: chars + "ch" },
4273
+ class: "rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"
4274
+ }
4275
+ );
3934
4276
  };
3935
4277
  const wrapperClass = cva({
3936
4278
  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",
@@ -3940,184 +4282,117 @@ const wrapperClass = cva({
3940
4282
  false: "animate-skeleton"
3941
4283
  }
3942
4284
  },
3943
- defaultVariants: {
3944
- interactive: true
3945
- }
3946
- });
3947
- const badgeClass = cva({
3948
- 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"
4285
+ defaultVariants: { interactive: true }
3949
4286
  });
3950
- const getDisplayableFilterProperty = ({
4287
+ const getDisplayableProperty = ({
3951
4288
  job,
3952
4289
  property
3953
4290
  }) => {
3954
- switch (typeof property) {
3955
- case "string":
3956
- if (isKeyInObj(property, job.raw))
3957
- return job.raw[property];
3958
- return null;
3959
- case "object":
3960
- return job.customData && property.transform(job.customData[property.key]);
3961
- default:
3962
- exhaustive(property);
3963
- }
4291
+ if (!property)
4292
+ return null;
4293
+ const value = get$1(job.raw, property.key);
4294
+ return property.transform ? property.transform(value) : value;
3964
4295
  };
3965
- const JobCard = ({
4296
+ const JobCardLogo = ({
3966
4297
  job,
3967
- config
4298
+ config = "hidden"
3968
4299
  }) => {
3969
- const subheading = config.subheading ? getDisplayableFilterProperty({
3970
- job,
3971
- property: config.subheading
3972
- }) : null;
3973
- const tags = config.infoTags.map((infoTag) => getDisplayableFilterProperty({
3974
- job,
3975
- property: infoTag
3976
- })).filter(Boolean);
3977
- return u$1("a", {
3978
- href: job.href,
3979
- class: wrapperClass(),
3980
- children: [u$1("div", {
3981
- class: "flex min-w-0 flex-1 flex-col gap-4",
3982
- children: [u$1("div", {
3983
- class: "gap-logo flex items-center",
3984
- children: [!config.logo || config.logo === "hidden" ? null : u$1("div", {
3985
- class: "rounded-logo bg-neutral-1 h-12 flex-none overflow-hidden",
3986
- style: {
3987
- aspectRatio: config.logo.replace(":", "/")
3988
- },
3989
- children: job.company.logo ? u$1("img", {
3990
- src: job.company.logo,
3991
- alt: job.company.name,
3992
- class: "h-full w-full select-none object-contain [-webkit-user-drag:none]"
3993
- }) : null
3994
- }), u$1("div", {
3995
- class: "flex flex-col items-start gap-1",
3996
- children: [u$1("div", {
3997
- class: "order-2 flex flex-col gap-1",
3998
- children: [u$1("p", {
3999
- class: "text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",
4000
- children: job.title
4001
- }), subheading ? u$1("p", {
4002
- class: "text-style-job-card text-copy-neutral-lowcontrast",
4003
- children: subheading
4004
- }) : null]
4005
- }), job.isNew ? u$1("span", {
4006
- class: badgeClass({
4007
- class: "order-1"
4008
- }),
4009
- children: "NEW"
4010
- }) : u$1("p", {
4011
- class: "text-style-job-card-info text-copy-job-info order-1",
4012
- children: ["Posted ", job.relativePostedDate]
4013
- })]
4014
- })]
4015
- }), u$1("div", {
4016
- class: "flex min-w-0 flex-col items-start gap-2",
4017
- children: [job.pay && u$1("span", {
4018
- class: tagClass({
4019
- variant: "monetaryWeak",
4020
- size: "xs"
4021
- }),
4022
- children: job.pay
4023
- }), tags.length > 0 && u$1("ul", {
4024
- class: "flex min-w-0 max-w-full flex-wrap items-center gap-2",
4025
- children: tags.map((tag) => u$1("li", {
4026
- class: tagClass({
4027
- size: "xs"
4028
- }),
4029
- children: tag
4030
- }, tag))
4031
- })]
4032
- })]
4033
- }), u$1("div", {
4034
- "aria-hidden": true,
4035
- class: "flex items-center",
4036
- children: u$1(Icon, {
4037
- name: "chevron-right",
4038
- class: "text-copy-neutral-icon"
4039
- })
4040
- })]
4041
- });
4300
+ if (config === "hidden")
4301
+ return null;
4302
+ 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(
4303
+ "img",
4304
+ {
4305
+ src: job.company.logo,
4306
+ alt: job.company.name,
4307
+ class: "h-full w-full select-none object-contain [-webkit-user-drag:none]"
4308
+ }
4309
+ ) : null });
4310
+ };
4311
+ const asArray = (value) => Array.isArray(value) ? value : [value];
4312
+ const JobCard = ({ job, config }) => {
4313
+ var _a;
4314
+ const subheading = config.subheading ? getDisplayableProperty({ job, property: config.subheading }) : null;
4315
+ const tags = config.infoTags.flatMap((infoTag) => asArray(getDisplayableProperty({ job, property: infoTag }))).filter(Boolean);
4316
+ const salary = asArray(
4317
+ ((_a = config.overrides) == null ? void 0 : _a.salary) ? getDisplayableProperty({ job, property: config.overrides.salary }) : job.pay
4318
+ ).filter(Boolean);
4319
+ const postedDateConfig = config.postedDate ?? "show";
4320
+ return /* @__PURE__ */ u$1("a", { href: job.href, class: wrapperClass(), children: [
4321
+ /* @__PURE__ */ u$1("div", { class: "flex min-w-0 flex-1 flex-col gap-4", children: [
4322
+ /* @__PURE__ */ u$1("div", { class: "gap-logo flex items-center", children: [
4323
+ /* @__PURE__ */ u$1(JobCardLogo, { job, config: config.logo }),
4324
+ /* @__PURE__ */ u$1("div", { class: "flex flex-col items-start gap-1", children: [
4325
+ /* @__PURE__ */ u$1("div", { class: "order-2 flex flex-col gap-1", children: [
4326
+ /* @__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: [
4327
+ job.title.trim(),
4328
+ job.isNew && postedDateConfig !== "hide" && /* @__PURE__ */ u$1(k$3, { children: [
4329
+ " ",
4330
+ /* @__PURE__ */ u$1(
4331
+ "span",
4332
+ {
4333
+ "aria-hidden": true,
4334
+ 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",
4335
+ children: "NEW"
4336
+ }
4337
+ )
4338
+ ] })
4339
+ ] }),
4340
+ subheading ? /* @__PURE__ */ u$1("p", { class: "text-style-job-card text-copy-neutral-lowcontrast", children: subheading }) : null
4341
+ ] }),
4342
+ postedDateConfig === "show" ? /* @__PURE__ */ u$1("p", { class: "text-style-job-card-info text-copy-job-info order-1", children: [
4343
+ "Posted ",
4344
+ job.relativePostedDate
4345
+ ] }) : null
4346
+ ] })
4347
+ ] }),
4348
+ /* @__PURE__ */ u$1("div", { class: "flex min-w-0 flex-col items-start gap-2", children: [
4349
+ /* @__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)) }),
4350
+ 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)) })
4351
+ ] })
4352
+ ] }),
4353
+ /* @__PURE__ */ u$1("div", { "aria-hidden": true, class: "flex items-center", children: /* @__PURE__ */ u$1(Icon, { name: "chevron-right", class: "text-copy-neutral-icon" }) })
4354
+ ] });
4042
4355
  };
4043
4356
  const JobCardSkeleton = ({
4044
4357
  config,
4045
4358
  animationDelay,
4046
4359
  seed
4047
4360
  }) => {
4048
- return u$1("div", {
4049
- "aria-hidden": true,
4050
- style: {
4051
- animationDelay: animationDelay + "s"
4052
- },
4053
- class: wrapperClass({
4054
- interactive: false
4055
- }),
4056
- children: [u$1("div", {
4057
- class: "flex flex-1 flex-col gap-4",
4058
- children: [u$1("div", {
4059
- class: "flex items-center gap-4",
4060
- children: [!config.logo || config.logo === "hidden" ? null : u$1("div", {
4061
- class: "rounded-logo bg-copy-neutral h-12 opacity-25",
4062
- style: {
4063
- aspectRatio: config.logo.replace(":", "/")
4361
+ const logoConfig = config.logo ?? "hidden";
4362
+ const postedDateConfig = config.postedDate ?? "show";
4363
+ return /* @__PURE__ */ u$1("div", { "aria-hidden": true, style: { animationDelay: animationDelay + "s" }, class: wrapperClass({ interactive: false }), children: [
4364
+ /* @__PURE__ */ u$1("div", { class: "flex flex-1 flex-col gap-4", children: [
4365
+ /* @__PURE__ */ u$1("div", { class: "flex items-center gap-4", children: [
4366
+ logoConfig === "hidden" ? null : /* @__PURE__ */ u$1(
4367
+ "div",
4368
+ {
4369
+ class: "rounded-logo bg-copy-neutral h-12 opacity-25",
4370
+ style: { aspectRatio: logoConfig.replace(":", "/") }
4064
4371
  }
4065
- }), u$1("div", {
4066
- class: "flex flex-col items-start gap-1",
4067
- children: [u$1("p", {
4068
- class: "text-style-job-card-info text-copy-job-info",
4069
- children: u$1(SkeletonText, {
4070
- chars: 12
4071
- })
4072
- }), u$1("div", {
4073
- class: "flex flex-col gap-1",
4074
- children: [u$1("p", {
4075
- class: "text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",
4076
- children: u$1(SkeletonText, {
4077
- chars: 13 + (seed + 5) * seed % 7
4078
- })
4079
- }), config.subheading !== null ? u$1("p", {
4080
- class: "text-style-job-card text-copy-neutral-lowcontrast",
4081
- children: u$1(SkeletonText, {
4082
- chars: 7 + seed * seed % 3
4083
- })
4084
- }) : null]
4085
- })]
4086
- })]
4087
- }), u$1("div", {
4088
- class: "flex flex-col items-start gap-2",
4089
- children: [seed % 2 === 0 && u$1("span", {
4090
- class: tagClass({
4091
- variant: "neutralWeak",
4092
- size: "xs",
4093
- class: "h-[1lh] min-h-[1em] w-[10ch]"
4094
- })
4095
- }), u$1("div", {
4096
- class: "flex items-center gap-2",
4097
- children: [u$1("span", {
4098
- class: tagClass({
4099
- variant: "neutralWeak",
4100
- size: "xs",
4101
- class: "h-[1lh] min-h-[1em] w-[6ch]"
4102
- })
4103
- }), u$1("span", {
4104
- class: tagClass({
4105
- variant: "neutralWeak",
4106
- size: "xs",
4107
- class: "h-[1lh] min-h-[1em] w-[8ch]"
4108
- })
4109
- })]
4110
- })]
4111
- })]
4112
- }), u$1("div", {
4113
- "aria-hidden": true,
4114
- class: "flex items-center",
4115
- children: u$1(Icon, {
4116
- name: "chevron-right",
4117
- class: "text-copy-neutral-icon"
4118
- })
4119
- })]
4120
- });
4372
+ ),
4373
+ /* @__PURE__ */ u$1("div", { class: "flex flex-col items-start gap-1", children: [
4374
+ postedDateConfig === "show" ? /* @__PURE__ */ u$1("p", { class: "text-style-job-card-info text-copy-job-info", children: /* @__PURE__ */ u$1(SkeletonText, { chars: 12 }) }) : null,
4375
+ /* @__PURE__ */ u$1("div", { class: "flex flex-col gap-1", children: [
4376
+ /* @__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 }) }),
4377
+ 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
4378
+ ] })
4379
+ ] })
4380
+ ] }),
4381
+ /* @__PURE__ */ u$1("div", { class: "flex flex-col items-start gap-2", children: [
4382
+ seed % 2 === 0 && /* @__PURE__ */ u$1(
4383
+ "span",
4384
+ {
4385
+ class: tagClass({ variant: "neutralWeak", size: "xs", class: "h-[1lh] min-h-[1em] w-[10ch]" })
4386
+ }
4387
+ ),
4388
+ /* @__PURE__ */ u$1("div", { class: "flex items-center gap-2", children: [
4389
+ /* @__PURE__ */ u$1("span", { class: tagClass({ variant: "neutralWeak", size: "xs", class: "h-[1lh] min-h-[1em] w-[6ch]" }) }),
4390
+ /* @__PURE__ */ u$1("span", { class: tagClass({ variant: "neutralWeak", size: "xs", class: "h-[1lh] min-h-[1em] w-[8ch]" }) })
4391
+ ] })
4392
+ ] })
4393
+ ] }),
4394
+ /* @__PURE__ */ u$1("div", { "aria-hidden": true, class: "flex items-center", children: /* @__PURE__ */ u$1(Icon, { name: "chevron-right", class: "text-copy-neutral-icon" }) })
4395
+ ] });
4121
4396
  };
4122
4397
  const LoadMore = ({
4123
4398
  state,
@@ -4125,33 +4400,12 @@ const LoadMore = ({
4125
4400
  config
4126
4401
  }) => {
4127
4402
  if (state === "revalidating") {
4128
- return u$1("ul", {
4129
- class: "flex flex-col gap-3",
4130
- "aria-hidden": true,
4131
- children: Array.from({
4132
- length: PAGE_SIZE
4133
- }).map((_2, i2) => u$1("li", {
4134
- children: u$1(JobCardSkeleton, {
4135
- seed: i2,
4136
- animationDelay: (i2 - 4) * 0.1,
4137
- config
4138
- })
4139
- }, i2))
4140
- });
4403
+ 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)) });
4141
4404
  } else {
4142
- return u$1("button", {
4143
- class: btnClass({
4144
- variant: "neutral",
4145
- class: "py-2"
4146
- }),
4147
- onClick: fetchNextPage,
4148
- children: "Load More"
4149
- });
4405
+ return /* @__PURE__ */ u$1("button", { class: btnClass({ variant: "neutral", class: "py-2" }), onClick: fetchNextPage, children: "Load More" });
4150
4406
  }
4151
4407
  };
4152
- const getResultsCount = ({
4153
- pagination
4154
- }) => {
4408
+ const getResultsCount = ({ pagination }) => {
4155
4409
  invariant(pagination.total >= 0);
4156
4410
  if (pagination.total === 1)
4157
4411
  return "1 job found";
@@ -4165,27 +4419,24 @@ const ResultsSection = ({
4165
4419
  initialData
4166
4420
  }) => {
4167
4421
  const [page, setPage] = h(1);
4168
- return u$1(g$3, {
4169
- children: Array.from({
4170
- length: page
4171
- }).map((a2, index) => {
4172
- const isLast = index === page - 1;
4173
- return u$1(ErrorBoundary, {
4174
- Fallback: ErrorView,
4175
- children: u$1(ResultsPage, {
4176
- appliedFilters,
4177
- apiClient,
4178
- logger,
4179
- page: index + 1,
4180
- isFirst: index === 0,
4181
- isLast,
4182
- fetchNextPage: () => setPage(page + 1),
4183
- jobCardConfig,
4184
- initialData
4185
- }, index)
4186
- }, index);
4187
- })
4188
- });
4422
+ return /* @__PURE__ */ u$1(k$3, { children: Array.from({ length: page }).map((_2, index) => {
4423
+ const isLast = index === page - 1;
4424
+ return /* @__PURE__ */ u$1(ErrorBoundary, { Fallback: ErrorView, children: /* @__PURE__ */ u$1(
4425
+ ResultsPage,
4426
+ {
4427
+ appliedFilters,
4428
+ apiClient,
4429
+ logger,
4430
+ page: index + 1,
4431
+ isFirst: index === 0,
4432
+ isLast,
4433
+ fetchNextPage: () => setPage(page + 1),
4434
+ jobCardConfig,
4435
+ initialData
4436
+ },
4437
+ index
4438
+ ) }, index);
4439
+ }) });
4189
4440
  };
4190
4441
  const ResultsPage = ({
4191
4442
  appliedFilters,
@@ -4199,126 +4450,76 @@ const ResultsPage = ({
4199
4450
  initialData
4200
4451
  }) => {
4201
4452
  const fallbackData = page === 1 ? initialData : void 0;
4202
- const {
4203
- data,
4204
- error,
4205
- state,
4206
- swr
4207
- } = getQueryState(useSWR(cacheKey({
4208
- filter: appliedFilters,
4209
- baseKey: page.toString()
4210
- }), () => getJobSearchResults({
4211
- apiClient,
4212
- logger,
4213
- filters: appliedFilters,
4214
- page
4215
- }), {
4216
- ...SWR_SETTINGS,
4217
- fallbackData
4218
- }));
4453
+ const { data, error, state, swr } = getQueryState(
4454
+ useSWR(
4455
+ cacheKey({ filter: appliedFilters, baseKey: page.toString() }),
4456
+ () => getJobSearchResults({ apiClient, logger, filters: appliedFilters, page }),
4457
+ { ...SWR_SETTINGS, fallbackData }
4458
+ )
4459
+ );
4219
4460
  switch (state) {
4220
4461
  case "loading":
4221
- return u$1(g$3, {
4222
- children: [isFirst && u$1("p", {
4223
- class: "text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",
4224
- children: u$1(SkeletonText, {
4225
- chars: 8
4226
- })
4227
- }), u$1("ul", {
4228
- class: "flex flex-col gap-3",
4229
- "aria-hidden": true,
4230
- children: Array.from({
4231
- length: PAGE_SIZE
4232
- }).map((_2, i2) => u$1("li", {
4233
- children: u$1(JobCardSkeleton, {
4234
- seed: i2,
4235
- animationDelay: (i2 - PAGE_SIZE) * 0.1,
4236
- config: jobCardConfig
4237
- })
4238
- }, i2))
4239
- })]
4240
- });
4462
+ return /* @__PURE__ */ u$1(k$3, { children: [
4463
+ 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 }) }),
4464
+ /* @__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)) })
4465
+ ] });
4241
4466
  case "error":
4242
- return u$1(ErrorView, {
4243
- class: "-m-4",
4244
- error: new Error("We’re having trouble loading available jobs.", {
4245
- cause: error
4246
- }),
4247
- resetError: () => swr.mutate()
4248
- });
4467
+ return /* @__PURE__ */ u$1(
4468
+ ErrorView,
4469
+ {
4470
+ class: "-m-4",
4471
+ error: new Error("We’re having trouble loading available jobs.", { cause: error }),
4472
+ resetError: () => swr.mutate()
4473
+ }
4474
+ );
4249
4475
  case "revalidating":
4250
4476
  case "loaded": {
4251
4477
  invariant(data.pagination.current_page === page, "Received wrong page from server");
4252
4478
  if (data.pagination.total === 0)
4253
- return u$1("div", {
4254
- class: "mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",
4255
- children: [u$1(Icon, {
4256
- "aria-hidden": true,
4257
- name: "magnifier",
4258
- class: "text-copy-neutral-lowcontrast"
4259
- }), u$1("div", {
4260
- class: "flex flex-col items-center gap-1",
4261
- children: [u$1("p", {
4262
- class: "text-copy-neutral text-style-job-heading",
4263
- children: "No jobs found"
4264
- }), u$1("p", {
4265
- class: "text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]",
4266
- children: "We could not find any jobs matching your filtering criteria."
4267
- })]
4268
- })]
4269
- });
4479
+ return /* @__PURE__ */ u$1("div", { class: "mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center", children: [
4480
+ /* @__PURE__ */ u$1(Icon, { "aria-hidden": true, name: "magnifier", class: "text-copy-neutral-lowcontrast" }),
4481
+ /* @__PURE__ */ u$1("div", { class: "flex flex-col items-center gap-1", children: [
4482
+ /* @__PURE__ */ u$1("p", { class: "text-copy-neutral text-style-job-heading", children: "No jobs found" }),
4483
+ /* @__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." })
4484
+ ] })
4485
+ ] });
4270
4486
  const hasMore = data.pagination.last_page !== data.pagination.current_page;
4271
- return u$1(g$3, {
4272
- children: [isFirst && u$1("p", {
4273
- class: "text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",
4274
- children: getResultsCount({
4275
- pagination: data.pagination
4276
- })
4277
- }), u$1("ul", {
4278
- "aria-label": `Page ${page}`,
4279
- class: "flex flex-col gap-3",
4280
- children: data.results.map((job) => {
4281
- return u$1("li", {
4487
+ return /* @__PURE__ */ u$1(k$3, { children: [
4488
+ isFirst && /* @__PURE__ */ u$1("p", { class: "text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center", children: getResultsCount({ pagination: data.pagination }) }),
4489
+ /* @__PURE__ */ u$1("ul", { "aria-label": `Page ${page}`, class: "flex flex-col gap-3", children: data.results.map((job) => {
4490
+ return /* @__PURE__ */ u$1(
4491
+ "li",
4492
+ {
4282
4493
  class: "ease-expo-out duration-slow transition-opacity",
4283
- style: {
4284
- opacity: state === "revalidating" ? 0.33 : 1
4285
- },
4286
- children: u$1(JobCard, {
4287
- job,
4288
- config: jobCardConfig
4289
- })
4290
- }, job.id);
4291
- })
4292
- }), hasMore && isLast && u$1(LoadMore, {
4293
- state,
4294
- fetchNextPage,
4295
- config: jobCardConfig
4296
- })]
4297
- });
4494
+ style: { opacity: state === "revalidating" ? 0.33 : 1 },
4495
+ children: /* @__PURE__ */ u$1(JobCard, { job, config: jobCardConfig })
4496
+ },
4497
+ job.id
4498
+ );
4499
+ }) }),
4500
+ hasMore && isLast && /* @__PURE__ */ u$1(LoadMore, { state, fetchNextPage, config: jobCardConfig })
4501
+ ] });
4298
4502
  }
4299
4503
  default:
4300
4504
  exhaustive(state);
4301
4505
  }
4302
4506
  };
4303
- const getFilterDefaults = (properties) => properties.reduce((acc, property) => {
4304
- switch (property.select) {
4305
- case "one":
4306
- acc[property.key] = {
4307
- select: property.select,
4308
- value: property.value
4309
- };
4310
- break;
4311
- case "many":
4312
- acc[property.key] = {
4313
- select: property.select,
4314
- value: property.value ? [property.value] : []
4315
- };
4316
- break;
4317
- default:
4318
- exhaustive(property.select);
4319
- }
4320
- return acc;
4321
- }, {});
4507
+ const getFilterDefaults = (properties) => properties.reduce(
4508
+ (acc, property) => {
4509
+ switch (property.select) {
4510
+ case "one":
4511
+ acc[property.key] = { select: property.select, value: property.value };
4512
+ break;
4513
+ case "many":
4514
+ acc[property.key] = { select: property.select, value: property.value ? [property.value] : [] };
4515
+ break;
4516
+ default:
4517
+ exhaustive(property.select);
4518
+ }
4519
+ return acc;
4520
+ },
4521
+ {}
4522
+ );
4322
4523
  const JobSearch = ({
4323
4524
  apiClient,
4324
4525
  logger,
@@ -4329,70 +4530,54 @@ const JobSearch = ({
4329
4530
  onFilterChange,
4330
4531
  params
4331
4532
  }) => {
4332
- const appRef = _(null);
4333
- const [appliedFilters, setAppliedFilters] = h(() => getFilterDefaults(properties));
4334
- return u$1("div", {
4335
- ref: appRef,
4336
- class: className,
4337
- id: JOB_SEARCH_SCOPE_ELEMENT_ID,
4338
- children: u$1("div", {
4339
- 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",
4340
- children: [u$1(ErrorBoundary, {
4341
- Fallback: ErrorView,
4342
- children: u$1("div", {
4343
- class: "flex flex-col gap-2",
4344
- children: [u$1(FilterSection, {
4345
- appliedFilters,
4346
- onFilterValueChange: (key, value) => {
4347
- setAppliedFilters((prev) => {
4348
- onFilterChange == null ? void 0 : onFilterChange({
4349
- ...prev,
4350
- [key]: value
4351
- });
4352
- return {
4353
- ...prev,
4354
- [key]: value
4355
- };
4356
- });
4357
- },
4358
- properties,
4359
- parentRef: appRef,
4360
- logger,
4361
- apiClient
4362
- }), params.enableJobAlerts && u$1("div", {
4363
- class: "flex justify-center px-4 md:px-0",
4364
- children: u$1(AlertsButton, {
4365
- appliedFilters,
4366
- analytics,
4367
- apiClient,
4368
- logger,
4369
- theme: params.theme
4370
- })
4371
- })]
4372
- })
4373
- }), u$1("div", {
4374
- class: "md:col-span-2",
4375
- children: u$1("section", {
4376
- class: "bg-section-strong-bg ring-section-weak-stroke rounded-section ring-px lg:ring-width-section flex flex-col gap-4 p-4",
4377
- children: u$1(ErrorBoundary, {
4378
- Fallback: ErrorView,
4379
- children: u$1(ResultsSection, {
4380
- appliedFilters,
4381
- logger,
4382
- apiClient,
4383
- jobCardConfig: params.jobCard,
4384
- initialData: initialData == null ? void 0 : initialData.jobs
4385
- }, cacheKey({
4386
- filter: appliedFilters,
4387
- baseKey: "resultsSection"
4388
- }))
4389
- })
4390
- })
4391
- })]
4392
- })
4393
- });
4533
+ const appRef = A$1(null);
4534
+ const [appliedFilters, setAppliedFilters] = h(() => ({
4535
+ default: true,
4536
+ filters: getFilterDefaults(properties)
4537
+ }));
4538
+ 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: [
4539
+ /* @__PURE__ */ u$1(ErrorBoundary, { Fallback: ErrorView, children: /* @__PURE__ */ u$1("div", { class: "flex flex-col gap-2", children: [
4540
+ /* @__PURE__ */ u$1(
4541
+ FilterSection,
4542
+ {
4543
+ appliedFilters: appliedFilters.filters,
4544
+ onFilterValueChange: (key, value) => {
4545
+ setAppliedFilters((prev) => {
4546
+ onFilterChange == null ? void 0 : onFilterChange({ ...prev.filters, [key]: value });
4547
+ return { default: false, filters: { ...prev.filters, [key]: value } };
4548
+ });
4549
+ },
4550
+ properties,
4551
+ parentRef: appRef,
4552
+ logger,
4553
+ apiClient
4554
+ }
4555
+ ),
4556
+ params.enableJobAlerts && /* @__PURE__ */ u$1("div", { class: "flex justify-center px-4 md:px-0", children: /* @__PURE__ */ u$1(
4557
+ AlertsButton,
4558
+ {
4559
+ appliedFilters: appliedFilters.filters,
4560
+ analytics,
4561
+ apiClient,
4562
+ logger,
4563
+ theme: params.theme
4564
+ }
4565
+ ) })
4566
+ ] }) }),
4567
+ /* @__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(
4568
+ ResultsSection,
4569
+ {
4570
+ appliedFilters: appliedFilters.filters,
4571
+ logger,
4572
+ apiClient,
4573
+ jobCardConfig: params.jobCard,
4574
+ initialData: appliedFilters.default ? initialData == null ? void 0 : initialData.jobs : void 0
4575
+ },
4576
+ cacheKey({ filter: appliedFilters.filters, baseKey: "resultsSection" })
4577
+ ) }) }) })
4578
+ ] }) });
4394
4579
  };
4395
- 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";
4580
+ 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";
4396
4581
  var COLOR_SHADES = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"];
4397
4582
  var OKLCH_PRESETS = {
4398
4583
  light: {
@@ -4514,37 +4699,30 @@ var designTokens = () => {
4514
4699
  })
4515
4700
  };
4516
4701
  };
4517
- const match = (m2) => {
4702
+ const match = (subject) => {
4518
4703
  const patterns = [];
4519
- const i2 = (m22) => ({
4520
- with: (p2, fn2) => {
4521
- patterns.push({
4522
- p: p2,
4523
- fn: fn2
4524
- });
4525
- return i2(m22);
4704
+ const run = (subject2) => ({
4705
+ with: (pattern, fn2) => {
4706
+ patterns.push({ pattern, fn: fn2 });
4707
+ return run(subject2);
4526
4708
  },
4527
- otherwise: (o2) => {
4709
+ otherwise: (fallback) => {
4528
4710
  pattern:
4529
- for (let i22 = patterns.length - 1; i22 >= 0; i22--) {
4530
- const pattern = patterns[i22];
4531
- for (const key in pattern.p) {
4532
- if (pattern.p[key] !== m22[key])
4711
+ for (const { fn: fn2, pattern } of patterns) {
4712
+ for (const key in pattern)
4713
+ if (pattern[key] !== subject2[key])
4533
4714
  continue pattern;
4534
- return pattern.fn(m22);
4535
- }
4715
+ return fn2(subject2);
4536
4716
  }
4537
- if (o2)
4538
- return o2(m22);
4717
+ if (fallback)
4718
+ return fallback(subject2);
4539
4719
  throw new Error("No pattern matched");
4540
4720
  }
4541
4721
  });
4542
- return i2(m2);
4722
+ return run(subject);
4543
4723
  };
4544
4724
  const [black, white, transparent] = ["oklch(0 0 0)", "oklch(100 0 0)", "transparent"];
4545
- const tokens = designTokens().core(({
4546
- theme
4547
- }) => ({
4725
+ const tokens = designTokens().core(({ theme }) => ({
4548
4726
  color: {
4549
4727
  black,
4550
4728
  white,
@@ -4572,17 +4750,10 @@ const tokens = designTokens().core(({
4572
4750
  transform: sameAsInput
4573
4751
  })
4574
4752
  }
4575
- })).semantic(({
4576
- core,
4577
- theme,
4578
- raw
4579
- }) => {
4753
+ })).semantic(({ core, theme, raw }) => {
4580
4754
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n2, _o, _p, _q, _r, _s, _t, _u;
4581
4755
  const withOpacity = (token, opacity) => raw.core.color[token].replace(")", ` / ${opacity})`);
4582
- const {
4583
- typography,
4584
- highlights
4585
- } = theme;
4756
+ const { typography, highlights } = theme;
4586
4757
  const highContrast = ((_a = theme.accessibility) == null ? void 0 : _a.highContrast) ?? false;
4587
4758
  return {
4588
4759
  "filters-offset-top": (theme.filtersOffsetTopPx ?? 112) + "px",
@@ -4623,102 +4794,60 @@ const tokens = designTokens().core(({
4623
4794
  "tag-accent-strong-bg": theme.mode === "dark" ? core("color.a-9") : core("color.a-11"),
4624
4795
  "tag-accent-strong-copy": core("color.white"),
4625
4796
  "tag-accent-strong-stroke-color": transparent,
4626
- "radius-app": match(theme).with({
4627
- corners: "rounded"
4628
- }, () => "2rem").with({
4629
- corners: "soft"
4630
- }, () => "2rem").otherwise(() => "0"),
4631
- "radius-section": match(theme).with({
4632
- corners: "rounded"
4633
- }, () => "1rem").with({
4634
- corners: "soft"
4635
- }, () => "1rem").with({
4636
- corners: "sharp"
4637
- }, () => "0").otherwise(),
4638
- "radius-input": match(theme).with({
4639
- corners: "rounded"
4640
- }, () => ".5rem").with({
4641
- corners: "soft"
4642
- }, () => ".25rem").with({
4643
- corners: "sharp"
4644
- }, () => "0").otherwise(),
4645
- "radius-job-card": match(theme).with({
4646
- corners: "rounded"
4647
- }, () => "0.75rem").with({
4648
- corners: "soft"
4649
- }, () => "0.5rem").with({
4650
- corners: "sharp"
4651
- }, () => "0").otherwise(),
4652
- "radius-job-tag": match(theme).with({
4653
- corners: "rounded"
4654
- }, () => "0.5rem").with({
4655
- corners: "soft"
4656
- }, () => "0.25rem").with({
4657
- corners: "sharp"
4658
- }, () => "0").otherwise(),
4659
- "radius-logo": match(theme).with({
4660
- corners: "rounded"
4661
- }, () => ".25rem").with({
4662
- corners: "soft"
4663
- }, () => ".125rem").with({
4664
- corners: "sharp"
4665
- }, () => "0").otherwise(),
4666
- "logo-gap": match(theme).with({
4667
- corners: "rounded"
4668
- }, () => "0.75rem").with({
4669
- corners: "soft"
4670
- }, () => "1rem").with({
4671
- corners: "sharp"
4672
- }, () => "1rem").otherwise(),
4797
+ "radius-app": match(theme).with({ corners: "rounded" }, () => "2rem").with({ corners: "soft" }, () => "2rem").otherwise(() => "0"),
4798
+ "radius-section": match(theme).with({ corners: "rounded" }, () => "1rem").with({ corners: "soft" }, () => "1rem").with({ corners: "sharp" }, () => "0").otherwise(),
4799
+ "radius-input": match(theme).with({ corners: "rounded" }, () => ".5rem").with({ corners: "soft" }, () => ".25rem").with({ corners: "sharp" }, () => "0").otherwise(),
4800
+ "radius-job-card": match(theme).with({ corners: "rounded" }, () => "0.75rem").with({ corners: "soft" }, () => "0.5rem").with({ corners: "sharp" }, () => "0").otherwise(),
4801
+ "radius-job-tag": match(theme).with({ corners: "rounded" }, () => "0.5rem").with({ corners: "soft" }, () => "0.25rem").with({ corners: "sharp" }, () => "0").otherwise(),
4802
+ "radius-logo": match(theme).with({ corners: "rounded" }, () => ".25rem").with({ corners: "soft" }, () => ".125rem").with({ corners: "sharp" }, () => "0").otherwise(),
4803
+ "logo-gap": match(theme).with({ corners: "rounded" }, () => "0.75rem").with({ corners: "soft" }, () => "1rem").with({ corners: "sharp" }, () => "1rem").otherwise(),
4673
4804
  "interactive-neutral-bg": withOpacity(highContrast ? "n-5" : "n-4", 0.01),
4674
4805
  "interactive-neutral-bg-hover": highContrast ? core("color.n-5") : core("color.n-4"),
4675
4806
  "interactive-neutral-text": core("color.n-12"),
4676
4807
  "interactive-accent-bg": withOpacity(highlights === "fill" ? "a-4" : "a-3", 0.01),
4677
4808
  "interactive-accent-bg-hover": highlights === "fill" ? core("color.a-4") : core("color.a-3"),
4678
4809
  "interactive-accent-text": core("color.a-11"),
4679
- "radius-interactive": match(theme).with({
4680
- corners: "rounded"
4681
- }, () => "1.5rem").with({
4682
- corners: "soft"
4683
- }, () => ".5rem").with({
4684
- corners: "sharp"
4685
- }, () => "0").otherwise(),
4810
+ "radius-interactive": match(theme).with({ corners: "rounded" }, () => "1.5rem").with({ corners: "soft" }, () => ".5rem").with({ corners: "sharp" }, () => "0").otherwise(),
4686
4811
  "section-weak-bg": highlights === "fill" ? core("color.n-2") : transparent,
4687
4812
  "section-strong-bg": highlights === "fill" ? highContrast ? core("color.n-3") : core("color.n-2") : transparent,
4688
4813
  "section-weak-stroke-color": highlights === "fill" ? transparent : highContrast ? core("color.n-7") : core("color.n-3"),
4689
4814
  "section-strong-stroke-color": highlights === "fill" ? transparent : highContrast ? core("color.n-11") : core("color.n-4"),
4690
- "section-stroke-width": match(theme).with({
4691
- highlights: "stroke",
4692
- highcontrast: true
4693
- }, () => "1.5px").otherwise(() => "1px"),
4694
- "job-card-bg": match(theme).with({
4695
- highlights: "fill"
4696
- }, () => core("color.lowest")).otherwise(() => transparent),
4697
- "job-card-bg-active": match(theme).with({
4698
- highlights: "fill"
4699
- }, () => core("color.lowest")).otherwise(() => transparent),
4815
+ "section-stroke-width": match(theme).with({ highlights: "stroke", highcontrast: true }, () => "1.5px").otherwise(() => "1px"),
4816
+ "job-card-bg": match(theme).with({ highlights: "fill" }, () => core("color.lowest")).otherwise(() => transparent),
4817
+ "job-card-bg-active": match(theme).with({ highlights: "fill" }, () => core("color.lowest")).otherwise(() => transparent),
4700
4818
  "job-card-stroke-color": highContrast ? core("color.n-10") : core("color.n-4"),
4701
4819
  "job-card-stroke-color-active": core("color.a-9"),
4702
- "job-card-stroke-width": match(theme).with({
4703
- highlights: "stroke",
4704
- highcontrast: true
4705
- }, () => "1.5px").otherwise(() => "1px")
4820
+ "job-card-stroke-width": match(theme).with({ highlights: "stroke", highcontrast: true }, () => "1.5px").otherwise(() => "1px")
4706
4821
  };
4707
4822
  }).component(() => ({}));
4708
- const asInploiVar = asCssVar({
4709
- prefix: "i-"
4710
- });
4823
+ const asInploiVar = asCssVar({ prefix: "i-" });
4711
4824
  const generateColorThemeCss = (theme) => {
4712
- const core = tokens.from({
4713
- theme,
4714
- getToken: asInploiVar
4715
- });
4825
+ const core = tokens.from({ theme, getToken: asInploiVar });
4716
4826
  const tokenCss = Object.entries(core.declarations).map(([key, value]) => `${key}: ${value};`);
4717
4827
  return `#${JOB_SEARCH_SCOPE_ELEMENT_ID} {
4718
4828
  ${tokenCss.concat(tokenCss).join("\n")}
4719
4829
  }`;
4720
4830
  };
4721
- 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"];
4831
+ const FILTER_KEYS = [
4832
+ "company_name",
4833
+ "employment_type",
4834
+ "location_type",
4835
+ "pay_type",
4836
+ "pay_currency",
4837
+ "pay_mask",
4838
+ "pay",
4839
+ "pay_min",
4840
+ "pay_max",
4841
+ "title",
4842
+ "industry",
4843
+ "category",
4844
+ "skills",
4845
+ "town",
4846
+ "city",
4847
+ "country",
4848
+ "contract_type",
4849
+ "pay_display"
4850
+ ];
4722
4851
  const createJobSearchDomManager = () => {
4723
4852
  return {
4724
4853
  getRenderTargetElement: () => {
@@ -4730,33 +4859,28 @@ const createJobSearchDomManager = () => {
4730
4859
  };
4731
4860
  const dom = createJobSearchDomManager();
4732
4861
  const jobSearchPlugin = () => {
4733
- return createPlugin(({
4734
- apiClient,
4735
- logger,
4736
- analytics
4737
- }) => {
4862
+ return createPlugin(({ apiClient, logger, analytics }) => {
4738
4863
  const App = ({
4739
4864
  params
4740
4865
  }) => {
4741
4866
  var _a;
4742
- return y$2(ErrorBoundary, {
4743
- Fallback: UnstyledErrorView
4744
- }, [[y$2("style", {
4745
- id: "inploi-job-search-styles"
4746
- }, tailwind), y$2("style", {
4747
- id: "inploi-job-search-theme"
4748
- }, generateColorThemeCss(params.theme))], y$2(IconSpritesheet, {
4749
- theme: params.theme
4750
- }), y$2(JobSearch, {
4751
- properties: params.properties,
4752
- apiClient,
4753
- logger,
4754
- analytics,
4755
- class: ((_a = params.theme.accessibility) == null ? void 0 : _a.reducedMotion) ? "reduced-motion" : void 0,
4756
- initialData: params.initialData,
4757
- onFilterChange: params.onFilterChange,
4758
- params
4759
- })]);
4867
+ return _$1(ErrorBoundary, { Fallback: UnstyledErrorView }, [
4868
+ [
4869
+ _$1("style", { id: "inploi-job-search-styles" }, tailwind),
4870
+ _$1("style", { id: "inploi-job-search-theme" }, generateColorThemeCss(params.theme))
4871
+ ],
4872
+ _$1(IconSpritesheet, { theme: params.theme }),
4873
+ _$1(JobSearch, {
4874
+ properties: params.properties,
4875
+ apiClient,
4876
+ logger,
4877
+ analytics,
4878
+ class: ((_a = params.theme.accessibility) == null ? void 0 : _a.reducedMotion) ? "reduced-motion" : void 0,
4879
+ initialData: params.initialData,
4880
+ onFilterChange: params.onFilterChange,
4881
+ params
4882
+ })
4883
+ ]);
4760
4884
  };
4761
4885
  return {
4762
4886
  /** Returns a string with the initial rendering state of the UI.
@@ -4767,26 +4891,31 @@ const jobSearchPlugin = () => {
4767
4891
  filters: getFilterDefaults(params.properties),
4768
4892
  apiClient,
4769
4893
  logger
4770
- }).then((jobs) => ({
4771
- jobs
4772
- })).catch(() => void 0) : void 0;
4894
+ }).then((jobs) => ({ jobs })).catch(() => void 0) : void 0;
4773
4895
  return {
4774
- html: b$1(y$2(g$3, {}, y$2(App, {
4775
- params: {
4776
- ...params,
4777
- initialData: data
4778
- }
4779
- }))),
4896
+ html: S(
4897
+ _$1(
4898
+ k$3,
4899
+ {},
4900
+ _$1(App, {
4901
+ params: {
4902
+ ...params,
4903
+ initialData: data
4904
+ }
4905
+ })
4906
+ )
4907
+ ),
4780
4908
  data
4781
4909
  };
4782
4910
  },
4783
4911
  /** Renders the Job Search Plugin inside the container element. */
4784
4912
  render: async (params) => {
4785
- const fn2 = params.initialData ? B$2 : q$2;
4786
- invariant(typeof window !== "undefined", "the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead.");
4787
- fn2(y$2(App, {
4788
- params
4789
- }), dom.getRenderTargetElement());
4913
+ const fn2 = params.initialData ? D$3 : B$2;
4914
+ invariant(
4915
+ typeof window !== "undefined",
4916
+ "the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."
4917
+ );
4918
+ fn2(_$1(App, { params }), dom.getRenderTargetElement());
4790
4919
  }
4791
4920
  };
4792
4921
  });