@inploi/plugin-job-search 0.8.1 → 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)
@@ -1086,14 +1141,8 @@ const getSalaryAsText = (params) => {
1086
1141
  return "From " + [numberFormatter.format(+salary.pay_min), period].filter(Boolean).join(" ");
1087
1142
  return "Invalid salary";
1088
1143
  };
1089
- const DEFAULT_FORMATTER = new Intl.RelativeTimeFormat("en", {
1090
- numeric: "auto"
1091
- });
1092
- const getRelativeTimeDifference = ({
1093
- from = /* @__PURE__ */ new Date(),
1094
- to,
1095
- formatter = DEFAULT_FORMATTER
1096
- }) => {
1144
+ const DEFAULT_FORMATTER = new Intl.RelativeTimeFormat("en", { numeric: "auto" });
1145
+ const getRelativeTimeDifference = ({ from = /* @__PURE__ */ new Date(), to, formatter = DEFAULT_FORMATTER }) => {
1097
1146
  const then = to instanceof Date ? to : new Date(to);
1098
1147
  const diff = then.getTime() - from.getTime();
1099
1148
  const diffIn = {
@@ -1109,10 +1158,9 @@ const getRelativeTimeDifference = ({
1109
1158
  return diffIn.months < 0 ? "a long time ago" : "in a long time";
1110
1159
  };
1111
1160
  const SEVEN_DAYS_MS = 1e3 * 60 * 60 * 24 * 7;
1112
- const AvailablePropertiesSchema = record(array(object({
1113
- label: coerce(string(), String),
1114
- value: coerce(string(), String)
1115
- })));
1161
+ const AvailablePropertiesSchema = record(
1162
+ array(object({ label: coerce(string(), String), value: coerce(string(), String) }))
1163
+ );
1116
1164
  const URLSchema = string([url()]);
1117
1165
  const PaginationSchema = object({
1118
1166
  total: number(),
@@ -1126,7 +1174,9 @@ const JobPayloadSchema = object({
1126
1174
  company_logo: optional(string()),
1127
1175
  employment_type: string(),
1128
1176
  location_type: union([literal("LOCATION"), literal("REMOTE"), literal("HYBRID")]),
1129
- pay_type: nullable(union([literal("ANNUALLY"), literal("HOURLY"), literal("MONTHLY"), literal("WEEKLY"), literal("DAILY")])),
1177
+ pay_type: nullable(
1178
+ union([literal("ANNUALLY"), literal("HOURLY"), literal("MONTHLY"), literal("WEEKLY"), literal("DAILY")])
1179
+ ),
1130
1180
  pay_currency: string(),
1131
1181
  // Whether to mask the pay and show as "competitive"
1132
1182
  pay_mask: boolean(),
@@ -1165,29 +1215,25 @@ const JobSchema = transform(JobPayloadSchema, (schema) => {
1165
1215
  },
1166
1216
  employmentType: schema.employment_type,
1167
1217
  locationType: schema.location_type,
1168
- pay: getSalaryAsText({
1169
- salary: schema,
1170
- config: {
1171
- locales: void 0
1172
- }
1173
- }),
1218
+ pay: getSalaryAsText({ salary: schema, config: { locales: void 0 } }),
1174
1219
  description: schema.description,
1175
1220
  title: schema.title,
1176
1221
  contractType: schema.contract_type,
1177
1222
  href: schema.href,
1178
- relativePostedDate: schema.created_at ? getRelativeTimeDifference({
1179
- to: new Date(schema.created_at)
1180
- }) : "INVALID DATE",
1223
+ relativePostedDate: schema.created_at ? getRelativeTimeDifference({ to: new Date(schema.created_at) }) : "INVALID DATE",
1181
1224
  customData: schema.custom_data
1182
1225
  };
1183
1226
  });
1184
- const JobSearchResponseSchema = transform(object({
1185
- data: array(JobSchema),
1186
- pagination: PaginationSchema
1187
- }), (schema) => ({
1188
- pagination: schema.pagination,
1189
- results: schema.data
1190
- }));
1227
+ const JobSearchResponseSchema = transform(
1228
+ object({
1229
+ data: array(JobSchema),
1230
+ pagination: PaginationSchema
1231
+ }),
1232
+ (schema) => ({
1233
+ pagination: schema.pagination,
1234
+ results: schema.data
1235
+ })
1236
+ );
1191
1237
  const filtersToPayload = (filters) => {
1192
1238
  return Object.fromEntries(Object.entries(filters).map(([key, filter]) => [key, (filter == null ? void 0 : filter.value) ?? null]));
1193
1239
  };
@@ -1242,28 +1288,13 @@ const getJobSearchResults = async ({
1242
1288
  };
1243
1289
  const getQueryState = (swr) => {
1244
1290
  if (swr.error)
1245
- return {
1246
- state: "error",
1247
- error: swr.error,
1248
- swr
1249
- };
1291
+ return { state: "error", error: swr.error, swr };
1250
1292
  if (swr.isLoading && swr.data === void 0)
1251
- return {
1252
- state: "loading",
1253
- swr
1254
- };
1293
+ return { state: "loading", swr };
1255
1294
  if ((swr.isLoading || swr.isValidating) && swr.data)
1256
- return {
1257
- state: "revalidating",
1258
- data: swr.data,
1259
- swr
1260
- };
1295
+ return { state: "revalidating", data: swr.data, swr };
1261
1296
  if (!swr.isLoading && swr.data)
1262
- return {
1263
- state: "loaded",
1264
- data: swr.data,
1265
- swr
1266
- };
1297
+ return { state: "loaded", data: swr.data, swr };
1267
1298
  throw new Error("Unhandled data state");
1268
1299
  };
1269
1300
  const SWR_SETTINGS = {
@@ -1273,6 +1304,38 @@ const SWR_SETTINGS = {
1273
1304
  revalidateIfStale: false,
1274
1305
  revalidateFirstPage: false
1275
1306
  };
1307
+ var f$1 = 0;
1308
+ function u$1(e2, t2, n2, o2, i2, u2) {
1309
+ t2 || (t2 = {});
1310
+ var a2, c2, p2 = t2;
1311
+ if ("ref" in p2)
1312
+ for (c2 in p2 = {}, t2)
1313
+ "ref" == c2 ? a2 = t2[c2] : p2[c2] = t2[c2];
1314
+ var l2 = { type: e2, props: p2, key: n2, ref: a2, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: --f$1, __i: -1, __u: 0, __source: i2, __self: u2 };
1315
+ if ("function" == typeof e2 && (a2 = e2.defaultProps))
1316
+ for (c2 in a2)
1317
+ void 0 === p2[c2] && (p2[c2] = a2[c2]);
1318
+ return l$2.vnode && l$2.vnode(l2), l2;
1319
+ }
1320
+ function r$2(e2) {
1321
+ var t2, f2, n2 = "";
1322
+ if ("string" == typeof e2 || "number" == typeof e2)
1323
+ n2 += e2;
1324
+ else if ("object" == typeof e2)
1325
+ if (Array.isArray(e2)) {
1326
+ var o2 = e2.length;
1327
+ for (t2 = 0; t2 < o2; t2++)
1328
+ e2[t2] && (f2 = r$2(e2[t2])) && (n2 && (n2 += " "), n2 += f2);
1329
+ } else
1330
+ for (f2 in e2)
1331
+ e2[f2] && (n2 && (n2 += " "), n2 += f2);
1332
+ return n2;
1333
+ }
1334
+ function clsx$1() {
1335
+ for (var e2, t2, f2 = 0, n2 = "", o2 = arguments.length; f2 < o2; f2++)
1336
+ (e2 = arguments[f2]) && (t2 = r$2(e2)) && (n2 && (n2 += " "), n2 += t2);
1337
+ return n2;
1338
+ }
1276
1339
  function r$1(e2) {
1277
1340
  var t2, f2, n2 = "";
1278
1341
  if ("string" == typeof e2 || "number" == typeof e2)
@@ -1364,31 +1427,11 @@ const btnClass = cva({
1364
1427
  }
1365
1428
  },
1366
1429
  compoundVariants: [
1367
- {
1368
- size: "sm",
1369
- icon: "right",
1370
- class: "pl-3 pr-1"
1371
- },
1372
- {
1373
- size: "sm",
1374
- icon: "left",
1375
- class: "pl-1 pr-3"
1376
- },
1377
- {
1378
- size: "sm",
1379
- icon: "none",
1380
- class: "px-3"
1381
- },
1382
- {
1383
- size: "lg",
1384
- icon: "none",
1385
- class: "px-5"
1386
- },
1387
- {
1388
- size: "lg",
1389
- icon: "right",
1390
- class: "pl-5 pr-3"
1391
- }
1430
+ { size: "sm", icon: "right", class: "pl-3 pr-1" },
1431
+ { size: "sm", icon: "left", class: "pl-1 pr-3" },
1432
+ { size: "sm", icon: "none", class: "px-3" },
1433
+ { size: "lg", icon: "none", class: "px-5" },
1434
+ { size: "lg", icon: "right", class: "pl-5 pr-3" }
1392
1435
  // { size: 'lg', icon: 'left', class: 'pl-3 pr-5' },
1393
1436
  // { size: 'lg', icon: 'none', class: 'px-5' },
1394
1437
  ],
@@ -1398,287 +1441,189 @@ const btnClass = cva({
1398
1441
  size: "sm"
1399
1442
  }
1400
1443
  });
1401
- var f$1 = 0;
1402
- function u$1(e2, t2, n2, o2, i2, u2) {
1403
- var a2, c2, p2 = {};
1404
- for (c2 in t2)
1405
- "ref" == c2 ? a2 = t2[c2] : p2[c2] = t2[c2];
1406
- var l2 = { type: e2, props: p2, key: n2, ref: a2, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, constructor: void 0, __v: --f$1, __i: -1, __u: 0, __source: i2, __self: u2 };
1407
- if ("function" == typeof e2 && (a2 = e2.defaultProps))
1408
- for (c2 in a2)
1409
- void 0 === p2[c2] && (p2[c2] = a2[c2]);
1410
- return l$2.vnode && l$2.vnode(l2), l2;
1411
- }
1412
- const UnstyledErrorView = ({
1413
- error,
1414
- resetError
1415
- }) => {
1416
- return u$1("div", {
1417
- style: {
1418
- display: "flex",
1419
- flexDirection: "column",
1420
- gap: ".5rem",
1421
- padding: "1rem",
1422
- fontSize: "1rem",
1423
- color: "hsl(10, 82%, 45%)",
1424
- fontFamily: "'system-ui' 'Helvetica'",
1425
- background: "hsl(7, 100%, 98%)"
1426
- },
1427
- children: [u$1("p", {
1428
- children: error.message
1429
- }), u$1("button", {
1430
- onClick: resetError,
1444
+ const UnstyledErrorView = ({ error, resetError }) => {
1445
+ return /* @__PURE__ */ u$1(
1446
+ "div",
1447
+ {
1431
1448
  style: {
1432
- background: "white",
1433
- border: "none",
1434
- cursor: "pointer",
1435
- textAlign: "center",
1436
- borderRadius: "4px",
1437
- padding: "0.5rem 1rem"
1449
+ display: "flex",
1450
+ flexDirection: "column",
1451
+ gap: ".5rem",
1452
+ padding: "1rem",
1453
+ fontSize: "1rem",
1454
+ color: "hsl(10, 82%, 45%)",
1455
+ fontFamily: "'system-ui' 'Helvetica'",
1456
+ background: "hsl(7, 100%, 98%)"
1438
1457
  },
1439
- children: "Retry"
1440
- })]
1441
- });
1458
+ children: [
1459
+ /* @__PURE__ */ u$1("p", { children: error.message }),
1460
+ /* @__PURE__ */ u$1(
1461
+ "button",
1462
+ {
1463
+ onClick: resetError,
1464
+ style: {
1465
+ background: "white",
1466
+ border: "none",
1467
+ cursor: "pointer",
1468
+ textAlign: "center",
1469
+ borderRadius: "4px",
1470
+ padding: "0.5rem 1rem"
1471
+ },
1472
+ children: "Retry"
1473
+ }
1474
+ )
1475
+ ]
1476
+ }
1477
+ );
1442
1478
  };
1443
- const ErrorView = ({
1444
- error,
1445
- resetError,
1446
- class: className,
1447
- ...props
1448
- }) => {
1449
- return u$1("div", {
1450
- class: clsx("bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center", className),
1451
- ...props,
1452
- children: [u$1("div", {
1453
- class: "flex flex-col gap-1",
1454
- children: [u$1("p", {
1455
- class: "text-neutral-1 text-style-job-heading font-style-job-heading font-weight-job-heading [text-wrap:balance]",
1456
- children: "Sorry, this widget is unavailable at the moment."
1457
- }), u$1("p", {
1458
- class: "text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]",
1459
- children: error.message
1460
- })]
1461
- }), u$1("button", {
1462
- class: btnClass({
1463
- variant: "neutral",
1464
- size: "lg",
1465
- class: "text-interactive-neutral-bg bg-lowest"
1466
- }),
1467
- onClick: resetError,
1468
- children: "Retry"
1469
- })]
1470
- });
1479
+ const ErrorView = ({ error, resetError, class: className, ...props }) => {
1480
+ return /* @__PURE__ */ u$1(
1481
+ "div",
1482
+ {
1483
+ class: clsx$1(
1484
+ "bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center",
1485
+ className
1486
+ ),
1487
+ ...props,
1488
+ children: [
1489
+ /* @__PURE__ */ u$1("div", { class: "flex flex-col gap-1", children: [
1490
+ /* @__PURE__ */ u$1("p", { class: "text-neutral-1 text-style-job-heading font-style-job-heading font-weight-job-heading [text-wrap:balance]", children: "Sorry, this widget is unavailable at the moment." }),
1491
+ /* @__PURE__ */ u$1("p", { class: "text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]", children: error.message })
1492
+ ] }),
1493
+ /* @__PURE__ */ u$1(
1494
+ "button",
1495
+ {
1496
+ class: btnClass({
1497
+ variant: "neutral",
1498
+ size: "lg",
1499
+ class: "text-interactive-neutral-bg bg-lowest"
1500
+ }),
1501
+ onClick: resetError,
1502
+ children: "Retry"
1503
+ }
1504
+ )
1505
+ ]
1506
+ }
1507
+ );
1471
1508
  };
1472
1509
  class ErrorBoundary extends b$2 {
1473
1510
  constructor() {
1474
1511
  super(...arguments);
1475
- __publicField(this, "state", {
1476
- error: null
1477
- });
1512
+ __publicField(this, "state", { error: null });
1478
1513
  }
1479
1514
  static getDerivedStateFromError(error) {
1480
- return {
1481
- error: error.message
1482
- };
1515
+ return { error: error.message };
1483
1516
  }
1484
1517
  componentDidCatch(error) {
1485
- this.setState({
1486
- error
1487
- });
1518
+ this.setState({ error });
1488
1519
  }
1489
1520
  render() {
1490
1521
  if (this.state.error) {
1491
- const {
1492
- Fallback
1493
- } = this.props;
1494
- return u$1(Fallback, {
1495
- error: this.state.error,
1496
- resetError: () => {
1497
- console.log("resetting error");
1498
- this.setState({
1499
- error: null
1500
- });
1522
+ const { Fallback } = this.props;
1523
+ return /* @__PURE__ */ u$1(
1524
+ Fallback,
1525
+ {
1526
+ error: this.state.error,
1527
+ resetError: () => {
1528
+ console.log("resetting error");
1529
+ this.setState({ error: null });
1530
+ }
1501
1531
  }
1502
- });
1532
+ );
1503
1533
  }
1504
1534
  return this.props.children;
1505
1535
  }
1506
1536
  }
1507
1537
  const icons = {
1508
- briefcase: u$1(g$3, {
1509
- children: [u$1("path", {
1510
- d: "M17.25 7.75H6.75C5.64543 7.75 4.75 8.64543 4.75 9.75V16.25C4.75 17.3546 5.64543 18.25 6.75 18.25H17.25C18.3546 18.25 19.25 17.3546 19.25 16.25V9.75C19.25 8.64543 18.3546 7.75 17.25 7.75Z"
1511
- }), u$1("path", {
1512
- d: "M4.75 11.75H19.25"
1513
- }), u$1("path", {
1514
- d: "M13.25 12.25V13.25H10.75V12.25H13.25Z"
1515
- }), u$1("path", {
1516
- d: "M9.25 7.5V6.25C9.25 5.42157 9.92157 4.75 10.75 4.75H13.25C14.0784 4.75 14.75 5.42157 14.75 6.25V7.5"
1517
- })]
1518
- }),
1519
- brand: u$1(g$3, {
1520
- children: [u$1("path", {
1521
- d: "M18.45 13.9901C18.1288 15.031 17.5574 15.9886 16.773 16.773C15.5071 18.0388 13.7902 18.75 12 18.75C10.2098 18.75 8.49289 18.0388 7.22702 16.773C6.44262 15.9886 5.87122 15.031 5.55003 13.9901"
1522
- }), u$1("path", {
1523
- d: "M9.87868 14.8713C10.1573 15.1499 10.488 15.3709 10.8519 15.5216C11.2159 15.6724 11.606 15.75 12 15.75C12.394 15.75 12.7841 15.6724 13.1481 15.5216C13.512 15.3709 13.8427 15.1499 14.1213 14.8713"
1524
- }), u$1("path", {
1525
- d: "M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"
1526
- }), u$1("path", {
1527
- d: "M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"
1528
- }), u$1("path", {
1529
- d: "M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"
1530
- }), u$1("circle", {
1531
- cx: "18.75",
1532
- cy: "12",
1533
- r: "2"
1534
- }), u$1("circle", {
1535
- cx: "5.25",
1536
- cy: "12",
1537
- r: "2"
1538
- })]
1539
- }),
1540
- building: u$1(g$3, {
1541
- children: [u$1("path", {
1542
- d: "M16.75 10.25H13.75"
1543
- }), u$1("path", {
1544
- d: "M16.75 13.25H13.75"
1545
- }), u$1("path", {
1546
- d: "M3 18.25H5.25006M5.25006 18.25V14.25C5.25006 13.1454 6.14549 12.25 7.25006 12.25H10.2501L10.25 8.25003C10.25 6.59316 11.5932 5.25 13.25 5.25H17.25C18.9069 5.25 20.25 6.59315 20.25 8.25V18.25H5.25006Z"
1547
- }), u$1("path", {
1548
- d: "M10.25 12.25V18.25"
1549
- })]
1550
- }),
1551
- circles: u$1(g$3, {
1552
- children: [u$1("path", {
1553
- d: "M16.773 16.773C15.829 17.717 14.6262 18.3599 13.3169 18.6203C12.0075 18.8808 10.6503 18.7471 9.41689 18.2362C8.18349 17.7253 7.12928 16.8601 6.38758 15.7501C5.64588 14.6401 5.25 13.335 5.25 12C5.25 10.665 5.64588 9.35993 6.38758 8.2499C7.12928 7.13987 8.18349 6.27471 9.41689 5.76381C10.6503 5.25292 12.0075 5.11925 13.3169 5.3797C14.6262 5.64015 15.829 6.28302 16.773 7.22703"
1554
- }), u$1("path", {
1555
- d: "M9.34835 9.34835C9.8728 8.8239 10.541 8.46675 11.2684 8.32206C11.9958 8.17736 12.7498 8.25162 13.4351 8.53545C14.1203 8.81928 14.706 9.29993 15.118 9.91661C15.5301 10.5333 15.75 11.2583 15.75 12C15.75 12.7417 15.5301 13.4667 15.118 14.0834C14.706 14.7001 14.1203 15.1807 13.4351 15.4645C12.7498 15.7484 11.9958 15.8226 11.2684 15.6779C10.541 15.5333 9.8728 15.1761 9.34835 14.6517"
1556
- })]
1557
- }),
1558
- clock: u$1(g$3, {
1559
- children: [u$1("path", {
1560
- d: "M14 9L12 13L9.5 12"
1561
- }), u$1("path", {
1562
- d: "M18.75 12C18.75 15.7279 15.7279 18.75 12 18.75C8.27208 18.75 5.25 15.7279 5.25 12C5.25 8.27208 8.27208 5.25 12 5.25C15.7279 5.25 18.75 8.27208 18.75 12Z"
1563
- })]
1564
- }),
1565
- filter: u$1(g$3, {
1566
- children: u$1("path", {
1567
- d: "M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"
1568
- })
1569
- }),
1570
- globe: u$1(g$3, {
1571
- children: [u$1("path", {
1572
- d: "M5 13.75H19"
1573
- }), u$1("path", {
1574
- d: "M5 10.25H19"
1575
- }), u$1("path", {
1576
- d: "M12 4.75C15.5 9.25 15.5 14.75 12.0001 19.25C8.50012 14.75 8.50005 9.25 12 4.75Z"
1577
- }), u$1("circle", {
1578
- cx: "12",
1579
- cy: "12",
1580
- r: "7.25"
1581
- })]
1582
- }),
1583
- magnifier: u$1(g$3, {
1584
- children: [u$1("path", {
1585
- d: "M15.5659 15.5659C14.4875 16.6442 13.025 17.25 11.5 17.25C9.97501 17.25 8.51247 16.6442 7.43414 15.5659C6.3558 14.4875 5.75 13.025 5.75 11.5C5.75 9.97501 6.3558 8.51247 7.43414 7.43414C8.51247 6.3558 9.97501 5.75 11.5 5.75C13.025 5.75 14.4875 6.3558 15.5659 7.43414C16.6442 8.51247 17.25 9.97501 17.25 11.5C17.25 13.025 16.6442 14.4875 15.5659 15.5659L15.5659 15.5659Z"
1586
- }), u$1("path", {
1587
- d: "M11.5 8.75C11.8611 8.75 12.2187 8.82113 12.5524 8.95933C12.886 9.09753 13.1892 9.3001 13.4445 9.55546C13.6999 9.81082 13.9025 10.114 14.0407 10.4476C14.1789 10.7813 14.25 11.1389 14.25 11.5"
1588
- }), u$1("path", {
1589
- d: "M16 16L19 19"
1590
- })]
1591
- }),
1592
- mapPin: u$1(g$3, {
1593
- children: u$1(g$3, {
1594
- children: [u$1("circle", {
1595
- cx: "12",
1596
- cy: "9",
1597
- r: "2"
1598
- }), u$1("path", {
1599
- d: "M16.2426 16.8358C17.0818 17.1155 17.6532 17.4719 17.8847 17.8598C18.1162 18.2478 17.9974 18.6499 17.5433 19.0154C17.0892 19.3808 16.3201 19.6932 15.3334 19.9129C14.3467 20.1327 13.1867 20.25 12 20.25C10.8133 20.25 9.65327 20.1327 8.66658 19.9129C7.67988 19.6932 6.91085 19.3808 6.45672 19.0154C6.0026 18.6499 5.88378 18.2478 6.11529 17.8598C6.3468 17.4719 6.91825 17.1155 7.75736 16.8358"
1600
- }), u$1("path", {
1601
- d: "M17.25 9C17.25 13.3995 12 16.75 12 16.75C12 16.75 6.75 13.3995 6.75 9C6.75 6.10051 9.10051 3.75 12 3.75C14.8995 3.75 17.25 6.10051 17.25 9Z"
1602
- })]
1603
- })
1604
- }),
1605
- sunset: u$1(g$3, {
1606
- children: [u$1("path", {
1607
- d: "M18.5 8.5L17.5 9.5"
1608
- }), u$1("path", {
1609
- d: "M5.5 8.5L6.5 9.5"
1610
- }), u$1("path", {
1611
- d: "M12 6L12 7.5"
1612
- }), u$1("path", {
1613
- d: "M7.5 15.25L7.5 14.25C7.5 13.6591 7.6164 13.0739 7.84254 12.5279C8.06869 11.982 8.40016 11.4859 8.81802 11.068C9.23588 10.6502 9.73196 10.3187 10.2779 10.0925C10.8239 9.8664 11.4091 9.75 12 9.75C12.5909 9.75 13.1761 9.8664 13.7221 10.0925C14.268 10.3187 14.7641 10.6502 15.182 11.068C15.5998 11.4859 15.9313 11.982 16.1575 12.5279C16.3836 13.0739 16.5 13.6591 16.5 14.25V15.25"
1614
- }), u$1("path", {
1615
- d: "M20.25 15.25H12H3.75"
1616
- }), u$1("path", {
1617
- d: "M16.25 18.25H12L7.75 18.25"
1618
- })]
1619
- }),
1620
- x: u$1("path", {
1621
- d: "M8 8l8 8M8 16l8 -8"
1622
- }),
1623
- plus: u$1("path", {
1624
- d: "M12 8V16M8 12H16"
1625
- }),
1626
- "chevron-right": u$1("path", {
1627
- d: "M11 8L15 12L11 16"
1628
- })
1538
+ briefcase: /* @__PURE__ */ u$1(k$3, { children: [
1539
+ /* @__PURE__ */ u$1("path", { d: "M17.25 7.75H6.75C5.64543 7.75 4.75 8.64543 4.75 9.75V16.25C4.75 17.3546 5.64543 18.25 6.75 18.25H17.25C18.3546 18.25 19.25 17.3546 19.25 16.25V9.75C19.25 8.64543 18.3546 7.75 17.25 7.75Z" }),
1540
+ /* @__PURE__ */ u$1("path", { d: "M4.75 11.75H19.25" }),
1541
+ /* @__PURE__ */ u$1("path", { d: "M13.25 12.25V13.25H10.75V12.25H13.25Z" }),
1542
+ /* @__PURE__ */ u$1("path", { d: "M9.25 7.5V6.25C9.25 5.42157 9.92157 4.75 10.75 4.75H13.25C14.0784 4.75 14.75 5.42157 14.75 6.25V7.5" })
1543
+ ] }),
1544
+ brand: /* @__PURE__ */ u$1(k$3, { children: [
1545
+ /* @__PURE__ */ u$1("path", { d: "M18.45 13.9901C18.1288 15.031 17.5574 15.9886 16.773 16.773C15.5071 18.0388 13.7902 18.75 12 18.75C10.2098 18.75 8.49289 18.0388 7.22702 16.773C6.44262 15.9886 5.87122 15.031 5.55003 13.9901" }),
1546
+ /* @__PURE__ */ u$1("path", { d: "M9.87868 14.8713C10.1573 15.1499 10.488 15.3709 10.8519 15.5216C11.2159 15.6724 11.606 15.75 12 15.75C12.394 15.75 12.7841 15.6724 13.1481 15.5216C13.512 15.3709 13.8427 15.1499 14.1213 14.8713" }),
1547
+ /* @__PURE__ */ u$1("path", { d: "M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486" }),
1548
+ /* @__PURE__ */ u$1("path", { d: "M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465" }),
1549
+ /* @__PURE__ */ u$1("path", { d: "M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818" }),
1550
+ /* @__PURE__ */ u$1("circle", { cx: "18.75", cy: "12", r: "2" }),
1551
+ /* @__PURE__ */ u$1("circle", { cx: "5.25", cy: "12", r: "2" })
1552
+ ] }),
1553
+ building: /* @__PURE__ */ u$1(k$3, { children: [
1554
+ /* @__PURE__ */ u$1("path", { d: "M16.75 10.25H13.75" }),
1555
+ /* @__PURE__ */ u$1("path", { d: "M16.75 13.25H13.75" }),
1556
+ /* @__PURE__ */ u$1("path", { d: "M3 18.25H5.25006M5.25006 18.25V14.25C5.25006 13.1454 6.14549 12.25 7.25006 12.25H10.2501L10.25 8.25003C10.25 6.59316 11.5932 5.25 13.25 5.25H17.25C18.9069 5.25 20.25 6.59315 20.25 8.25V18.25H5.25006Z" }),
1557
+ /* @__PURE__ */ u$1("path", { d: "M10.25 12.25V18.25" })
1558
+ ] }),
1559
+ circles: /* @__PURE__ */ u$1(k$3, { children: [
1560
+ /* @__PURE__ */ u$1("path", { d: "M16.773 16.773C15.829 17.717 14.6262 18.3599 13.3169 18.6203C12.0075 18.8808 10.6503 18.7471 9.41689 18.2362C8.18349 17.7253 7.12928 16.8601 6.38758 15.7501C5.64588 14.6401 5.25 13.335 5.25 12C5.25 10.665 5.64588 9.35993 6.38758 8.2499C7.12928 7.13987 8.18349 6.27471 9.41689 5.76381C10.6503 5.25292 12.0075 5.11925 13.3169 5.3797C14.6262 5.64015 15.829 6.28302 16.773 7.22703" }),
1561
+ /* @__PURE__ */ u$1("path", { d: "M9.34835 9.34835C9.8728 8.8239 10.541 8.46675 11.2684 8.32206C11.9958 8.17736 12.7498 8.25162 13.4351 8.53545C14.1203 8.81928 14.706 9.29993 15.118 9.91661C15.5301 10.5333 15.75 11.2583 15.75 12C15.75 12.7417 15.5301 13.4667 15.118 14.0834C14.706 14.7001 14.1203 15.1807 13.4351 15.4645C12.7498 15.7484 11.9958 15.8226 11.2684 15.6779C10.541 15.5333 9.8728 15.1761 9.34835 14.6517" })
1562
+ ] }),
1563
+ clock: /* @__PURE__ */ u$1(k$3, { children: [
1564
+ /* @__PURE__ */ u$1("path", { d: "M14 9L12 13L9.5 12" }),
1565
+ /* @__PURE__ */ u$1("path", { d: "M18.75 12C18.75 15.7279 15.7279 18.75 12 18.75C8.27208 18.75 5.25 15.7279 5.25 12C5.25 8.27208 8.27208 5.25 12 5.25C15.7279 5.25 18.75 8.27208 18.75 12Z" })
1566
+ ] }),
1567
+ filter: /* @__PURE__ */ u$1(k$3, { children: /* @__PURE__ */ u$1("path", { d: "M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z" }) }),
1568
+ globe: /* @__PURE__ */ u$1(k$3, { children: [
1569
+ /* @__PURE__ */ u$1("path", { d: "M5 13.75H19" }),
1570
+ /* @__PURE__ */ u$1("path", { d: "M5 10.25H19" }),
1571
+ /* @__PURE__ */ u$1("path", { d: "M12 4.75C15.5 9.25 15.5 14.75 12.0001 19.25C8.50012 14.75 8.50005 9.25 12 4.75Z" }),
1572
+ /* @__PURE__ */ u$1("circle", { cx: "12", cy: "12", r: "7.25" })
1573
+ ] }),
1574
+ magnifier: /* @__PURE__ */ u$1(k$3, { children: [
1575
+ /* @__PURE__ */ u$1("path", { d: "M15.5659 15.5659C14.4875 16.6442 13.025 17.25 11.5 17.25C9.97501 17.25 8.51247 16.6442 7.43414 15.5659C6.3558 14.4875 5.75 13.025 5.75 11.5C5.75 9.97501 6.3558 8.51247 7.43414 7.43414C8.51247 6.3558 9.97501 5.75 11.5 5.75C13.025 5.75 14.4875 6.3558 15.5659 7.43414C16.6442 8.51247 17.25 9.97501 17.25 11.5C17.25 13.025 16.6442 14.4875 15.5659 15.5659L15.5659 15.5659Z" }),
1576
+ /* @__PURE__ */ u$1("path", { d: "M11.5 8.75C11.8611 8.75 12.2187 8.82113 12.5524 8.95933C12.886 9.09753 13.1892 9.3001 13.4445 9.55546C13.6999 9.81082 13.9025 10.114 14.0407 10.4476C14.1789 10.7813 14.25 11.1389 14.25 11.5" }),
1577
+ /* @__PURE__ */ u$1("path", { d: "M16 16L19 19" })
1578
+ ] }),
1579
+ mapPin: /* @__PURE__ */ u$1(k$3, { children: /* @__PURE__ */ u$1(k$3, { children: [
1580
+ /* @__PURE__ */ u$1("circle", { cx: "12", cy: "9", r: "2" }),
1581
+ /* @__PURE__ */ u$1("path", { d: "M16.2426 16.8358C17.0818 17.1155 17.6532 17.4719 17.8847 17.8598C18.1162 18.2478 17.9974 18.6499 17.5433 19.0154C17.0892 19.3808 16.3201 19.6932 15.3334 19.9129C14.3467 20.1327 13.1867 20.25 12 20.25C10.8133 20.25 9.65327 20.1327 8.66658 19.9129C7.67988 19.6932 6.91085 19.3808 6.45672 19.0154C6.0026 18.6499 5.88378 18.2478 6.11529 17.8598C6.3468 17.4719 6.91825 17.1155 7.75736 16.8358" }),
1582
+ /* @__PURE__ */ u$1("path", { d: "M17.25 9C17.25 13.3995 12 16.75 12 16.75C12 16.75 6.75 13.3995 6.75 9C6.75 6.10051 9.10051 3.75 12 3.75C14.8995 3.75 17.25 6.10051 17.25 9Z" })
1583
+ ] }) }),
1584
+ 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" })
1629
1595
  };
1630
- const IconSpritesheet = ({
1631
- theme
1632
- }) => {
1633
- return u$1("svg", {
1634
- xmlns: "http://www.w3.org/2000/svg",
1635
- style: {
1636
- display: "none"
1637
- },
1638
- children: u$1("defs", {
1639
- children: Object.entries(icons).map(([name, icon]) => {
1640
- var _a;
1641
- return u$1("symbol", {
1642
- id: `i-icon-${name}`,
1643
- children: u$1("g", {
1644
- fill: "none",
1645
- "stroke-width": theme.mode === "dark" && ((_a = theme.accessibility) == null ? void 0 : _a.highContrast) != true ? "1" : "1.5",
1646
- "stroke-linecap": "round",
1647
- "stroke-linejoin": "round",
1648
- stroke: "currentColor",
1649
- children: icon
1650
- })
1651
- });
1652
- })
1653
- })
1654
- });
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
+ }) }) });
1655
1611
  };
1656
- const Icon = ({
1657
- name,
1658
- ...props
1659
- }) => {
1660
- return u$1("svg", {
1661
- viewBox: "0 0 24 24",
1662
- width: 24,
1663
- height: 24,
1664
- ...props,
1665
- children: u$1("use", {
1666
- href: `#i-icon-${name}`
1667
- })
1668
- });
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}` }) });
1669
1614
  };
1670
- var t, r, u, i, o = 0, f = [], c = [], e = l$2.__b, a = l$2.__r, v = l$2.diffed, l = l$2.__c, m = l$2.unmount;
1671
- function d(t2, u2) {
1672
- l$2.__h && l$2.__h(r, t2, o || u2), o = 0;
1673
- var i2 = r.__H || (r.__H = { __: [], __h: [] });
1674
- return t2 >= i2.__.length && i2.__.push({ __V: c }), i2.__[t2];
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];
1675
1620
  }
1676
1621
  function h(n2) {
1677
- return o = 1, s(B$1, n2);
1622
+ return o = 1, p(D$1, n2);
1678
1623
  }
1679
- function s(n2, u2, i2) {
1624
+ function p(n2, u2, i2) {
1680
1625
  var o2 = d(t++, 2);
1681
- 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) {
1682
1627
  var t2 = o2.__N ? o2.__N[0] : o2.__[0], r2 = o2.t(t2, n3);
1683
1628
  t2 !== r2 && (o2.__N = [r2, o2.__[1]], o2.__c.setState({}));
1684
1629
  }], o2.__c = r, !r.u)) {
@@ -1686,7 +1631,7 @@ function s(n2, u2, i2) {
1686
1631
  if (!o2.__c.__H)
1687
1632
  return true;
1688
1633
  var u3 = o2.__c.__H.__.filter(function(n4) {
1689
- return n4.__c;
1634
+ return !!n4.__c;
1690
1635
  });
1691
1636
  if (u3.every(function(n4) {
1692
1637
  return !n4.__N;
@@ -1712,21 +1657,21 @@ function s(n2, u2, i2) {
1712
1657
  }
1713
1658
  return o2.__N || o2.__;
1714
1659
  }
1715
- function p(u2, i2) {
1716
- var o2 = d(t++, 3);
1717
- !l$2.__s && z$1(o2.__H, i2) && (o2.__ = u2, o2.i = i2, r.__H.__h.push(o2));
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));
1718
1663
  }
1719
- function y(u2, i2) {
1720
- var o2 = d(t++, 4);
1721
- !l$2.__s && z$1(o2.__H, i2) && (o2.__ = u2, o2.i = i2, r.__h.push(o2));
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));
1722
1667
  }
1723
- function _(n2) {
1724
- return o = 5, F$1(function() {
1668
+ function A$1(n2) {
1669
+ return o = 5, T$1(function() {
1725
1670
  return { current: n2 };
1726
1671
  }, []);
1727
1672
  }
1728
- function A$1(n2, t2, r2) {
1729
- o = 6, y(function() {
1673
+ function F$1(n2, t2, r2) {
1674
+ o = 6, _(function() {
1730
1675
  return "function" == typeof n2 ? (n2(t2()), function() {
1731
1676
  return n2(null);
1732
1677
  }) : n2 ? (n2.current = t2(), function() {
@@ -1734,23 +1679,23 @@ function A$1(n2, t2, r2) {
1734
1679
  }) : void 0;
1735
1680
  }, null == r2 ? r2 : r2.concat(n2));
1736
1681
  }
1737
- function F$1(n2, r2) {
1682
+ function T$1(n2, r2) {
1738
1683
  var u2 = d(t++, 7);
1739
- 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.__;
1740
1685
  }
1741
- function T$1(n2, t2) {
1742
- return o = 8, F$1(function() {
1686
+ function q$1(n2, t2) {
1687
+ return o = 8, T$1(function() {
1743
1688
  return n2;
1744
1689
  }, t2);
1745
1690
  }
1746
- function q$1(n2) {
1691
+ function x$1(n2) {
1747
1692
  var u2 = r.context[n2.__c], i2 = d(t++, 9);
1748
1693
  return i2.c = n2, u2 ? (null == i2.__ && (i2.__ = true, u2.sub(r)), u2.props.value) : n2.__;
1749
1694
  }
1750
- function x$1(t2, r2) {
1751
- 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);
1752
1697
  }
1753
- function P$1(n2) {
1698
+ function b(n2) {
1754
1699
  var u2 = d(t++, 10), i2 = h();
1755
1700
  return u2.__ = n2, r.componentDidCatch || (r.componentDidCatch = function(n3, t2) {
1756
1701
  u2.__ && u2.__(n3, t2), i2[1](n3);
@@ -1758,7 +1703,7 @@ function P$1(n2) {
1758
1703
  i2[1](void 0);
1759
1704
  }];
1760
1705
  }
1761
- function V$1() {
1706
+ function g$1() {
1762
1707
  var n2 = d(t++, 11);
1763
1708
  if (!n2.__) {
1764
1709
  for (var u2 = r.__v; null !== u2 && !u2.__m && null !== u2.__; )
@@ -1768,80 +1713,84 @@ function V$1() {
1768
1713
  }
1769
1714
  return n2.__;
1770
1715
  }
1771
- function b() {
1772
- for (var t2; t2 = f.shift(); )
1773
- if (t2.__P && t2.__H)
1716
+ function j$1() {
1717
+ for (var n2; n2 = f.shift(); )
1718
+ if (n2.__P && n2.__H)
1774
1719
  try {
1775
- t2.__H.__h.forEach(k$1), t2.__H.__h.forEach(w$1), t2.__H.__h = [];
1776
- } catch (r2) {
1777
- t2.__H.__h = [], l$2.__e(r2, t2.__v);
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);
1778
1723
  }
1779
1724
  }
1780
- l$2.__b = function(n2) {
1725
+ c.__b = function(n2) {
1781
1726
  r = null, e && e(n2);
1782
- }, 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) {
1783
1730
  a && a(n2), t = 0;
1784
1731
  var i2 = (r = n2.__c).__H;
1785
1732
  i2 && (u === r ? (i2.__h = [], r.__h = [], i2.__.forEach(function(n3) {
1786
- n3.__N && (n3.__ = n3.__N), n3.__V = c, n3.__N = n3.i = void 0;
1787
- })) : (i2.__h.forEach(k$1), i2.__h.forEach(w$1), i2.__h = [], t = 0)), u = r;
1788
- }, l$2.diffed = function(t2) {
1789
- v && v(t2);
1790
- var o2 = t2.__c;
1791
- o2 && o2.__H && (o2.__H.__h.length && (1 !== f.push(o2) && i === l$2.requestAnimationFrame || ((i = l$2.requestAnimationFrame) || j$1)(b)), o2.__H.__.forEach(function(n2) {
1792
- n2.i && (n2.__H = n2.i), n2.__V !== c && (n2.__ = n2.__V), n2.i = void 0, n2.__V = c;
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;
1793
1740
  })), u = r = null;
1794
- }, l$2.__c = function(t2, r2) {
1795
- r2.some(function(t3) {
1741
+ }, c.__c = function(n2, t2) {
1742
+ t2.some(function(n3) {
1796
1743
  try {
1797
- t3.__h.forEach(k$1), t3.__h = t3.__h.filter(function(n2) {
1798
- return !n2.__ || w$1(n2);
1744
+ n3.__h.forEach(z$1), n3.__h = n3.__h.filter(function(n4) {
1745
+ return !n4.__ || B$1(n4);
1799
1746
  });
1800
- } catch (u2) {
1801
- r2.some(function(n2) {
1802
- n2.__h && (n2.__h = []);
1803
- }), 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);
1804
1751
  }
1805
- }), l && l(t2, r2);
1806
- }, l$2.unmount = function(t2) {
1807
- m && m(t2);
1808
- var r2, u2 = t2.__c;
1809
- u2 && u2.__H && (u2.__H.__.forEach(function(n2) {
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) {
1810
1757
  try {
1811
- k$1(n2);
1812
- } catch (n3) {
1813
- r2 = n3;
1758
+ z$1(n3);
1759
+ } catch (n4) {
1760
+ t2 = n4;
1814
1761
  }
1815
- }), u2.__H = void 0, r2 && l$2.__e(r2, u2.__v));
1762
+ }), r2.__H = void 0, t2 && c.__e(t2, r2.__v));
1816
1763
  };
1817
- var g$1 = "function" == typeof requestAnimationFrame;
1818
- function j$1(n2) {
1764
+ var k$1 = "function" == typeof requestAnimationFrame;
1765
+ function w$1(n2) {
1819
1766
  var t2, r2 = function() {
1820
- clearTimeout(u2), g$1 && cancelAnimationFrame(t2), setTimeout(n2);
1767
+ clearTimeout(u2), k$1 && cancelAnimationFrame(t2), setTimeout(n2);
1821
1768
  }, u2 = setTimeout(r2, 100);
1822
- g$1 && (t2 = requestAnimationFrame(r2));
1769
+ k$1 && (t2 = requestAnimationFrame(r2));
1823
1770
  }
1824
- function k$1(n2) {
1771
+ function z$1(n2) {
1825
1772
  var t2 = r, u2 = n2.__c;
1826
1773
  "function" == typeof u2 && (n2.__c = void 0, u2()), r = t2;
1827
1774
  }
1828
- function w$1(n2) {
1775
+ function B$1(n2) {
1829
1776
  var t2 = r;
1830
1777
  n2.__c = n2.__(), r = t2;
1831
1778
  }
1832
- function z$1(n2, t2) {
1779
+ function C$1(n2, t2) {
1833
1780
  return !n2 || n2.length !== t2.length || t2.some(function(t3, r2) {
1834
1781
  return t3 !== n2[r2];
1835
1782
  });
1836
1783
  }
1837
- function B$1(n2, t2) {
1784
+ function D$1(n2, t2) {
1838
1785
  return "function" == typeof t2 ? t2(n2) : t2;
1839
1786
  }
1840
1787
  const cacheKey = (value) => {
1841
- const filterString = Object.entries(value.filter).sort(([key1], [key2]) => key1.localeCompare(key2)).map(([key, value2]) => {
1842
- var _a;
1843
- return (value2 == null ? void 0 : value2.select) === "many" ? `${key}=${(_a = value2.value) == null ? void 0 : _a.sort().join("|")}` : `${key}=${value2 == null ? void 0 : value2.value}`;
1844
- }).join("&");
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("&");
1845
1794
  return `${value.baseKey}::${filterString}`;
1846
1795
  };
1847
1796
  const jobSearch = "";
@@ -1862,37 +1811,23 @@ const AlertsButton = ({
1862
1811
  appliedFilters
1863
1812
  }) => {
1864
1813
  const [plugin, setPlugin] = h();
1865
- p(() => {
1866
- import("./plugin-job-alerts-2dab76ff.js").then((m2) => setPlugin(m2.jobAlertsPlugin()({
1867
- analytics,
1868
- apiClient,
1869
- logger
1870
- })));
1814
+ y(() => {
1815
+ import("./plugin-job-alerts-ddf07a02.js").then((m2) => setPlugin(m2.jobAlertsPlugin()({ analytics, apiClient, logger })));
1871
1816
  }, [analytics, apiClient, logger]);
1872
- p(() => {
1873
- plugin == null ? void 0 : plugin.render({
1874
- config: {
1875
- label: "Create alert",
1876
- headerText: "asd"
1877
- },
1878
- initialFilters: {},
1879
- theme
1880
- });
1817
+ y(() => {
1818
+ plugin == null ? void 0 : plugin.render({ config: { label: "Create alert", headerText: "asd" }, initialFilters: {}, theme });
1881
1819
  });
1882
- p(() => {
1820
+ y(() => {
1883
1821
  plugin == null ? void 0 : plugin.setFilters(getFilterValues(appliedFilters));
1884
1822
  }, [appliedFilters, plugin]);
1885
- return u$1("div", {
1886
- id: "inploi-job-alerts",
1887
- class: "min-h-[36px]"
1888
- });
1823
+ return /* @__PURE__ */ u$1("div", { id: "inploi-job-alerts", class: "min-h-[36px]" });
1889
1824
  };
1890
1825
  function g(n2, t2) {
1891
1826
  for (var e2 in t2)
1892
1827
  n2[e2] = t2[e2];
1893
1828
  return n2;
1894
1829
  }
1895
- function C(n2, t2) {
1830
+ function E(n2, t2) {
1896
1831
  for (var e2 in n2)
1897
1832
  if ("__source" !== e2 && !(e2 in t2))
1898
1833
  return true;
@@ -1901,73 +1836,73 @@ function C(n2, t2) {
1901
1836
  return true;
1902
1837
  return false;
1903
1838
  }
1904
- function E(n2) {
1905
- this.props = n2;
1839
+ function C(n2, t2) {
1840
+ this.props = n2, this.context = t2;
1906
1841
  }
1907
- function w(n2, e2) {
1842
+ function x(n2, e2) {
1908
1843
  function r2(n3) {
1909
1844
  var t2 = this.props.ref, r3 = t2 == n3.ref;
1910
- return !r3 && t2 && (t2.call ? t2(null) : t2.current = null), e2 ? !e2(this.props, n3) || !r3 : C(this.props, n3);
1845
+ return !r3 && t2 && (t2.call ? t2(null) : t2.current = null), e2 ? !e2(this.props, n3) || !r3 : E(this.props, n3);
1911
1846
  }
1912
1847
  function u2(e3) {
1913
- return this.shouldComponentUpdate = r2, y$2(n2, e3);
1848
+ return this.shouldComponentUpdate = r2, _$1(n2, e3);
1914
1849
  }
1915
1850
  return u2.displayName = "Memo(" + (n2.displayName || n2.name) + ")", u2.prototype.isReactComponent = true, u2.__f = true, u2;
1916
1851
  }
1917
- (E.prototype = new b$2()).isPureReactComponent = true, E.prototype.shouldComponentUpdate = function(n2, t2) {
1918
- 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);
1919
1854
  };
1920
- var x = l$2.__b;
1855
+ var R = l$2.__b;
1921
1856
  l$2.__b = function(n2) {
1922
- 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);
1923
1858
  };
1924
- var R = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.forward_ref") || 3911;
1925
- function N(n2) {
1859
+ var w = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.forward_ref") || 3911;
1860
+ function k(n2) {
1926
1861
  function t2(t3) {
1927
1862
  var e2 = g({}, t3);
1928
1863
  return delete e2.ref, n2(e2, t3.ref || null);
1929
1864
  }
1930
- 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;
1931
1866
  }
1932
- var k = function(n2, t2) {
1933
- return null == n2 ? null : $$1($$1(n2).map(t2));
1934
- }, A = { map: k, forEach: k, count: function(n2) {
1935
- return n2 ? $$1(n2).length : 0;
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;
1936
1871
  }, only: function(n2) {
1937
- var t2 = $$1(n2);
1872
+ var t2 = H$1(n2);
1938
1873
  if (1 !== t2.length)
1939
1874
  throw "Children.only";
1940
1875
  return t2[0];
1941
- }, toArray: $$1 }, O = l$2.__e;
1876
+ }, toArray: H$1 }, M = l$2.__e;
1942
1877
  l$2.__e = function(n2, t2, e2, r2) {
1943
1878
  if (n2.then) {
1944
1879
  for (var u2, o2 = t2; o2 = o2.__; )
1945
1880
  if ((u2 = o2.__c) && u2.__c)
1946
1881
  return null == t2.__e && (t2.__e = e2.__e, t2.__k = e2.__k), u2.__c(n2, t2);
1947
1882
  }
1948
- O(n2, t2, e2, r2);
1883
+ M(n2, t2, e2, r2);
1949
1884
  };
1950
1885
  var T = l$2.unmount;
1951
- function F(n2, t2, e2) {
1886
+ function A(n2, t2, e2) {
1952
1887
  return n2 && (n2.__c && n2.__c.__H && (n2.__c.__H.__.forEach(function(n3) {
1953
1888
  "function" == typeof n3.__c && n3.__c();
1954
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) {
1955
- return F(n3, t2, e2);
1890
+ return A(n3, t2, e2);
1956
1891
  })), n2;
1957
1892
  }
1958
- function I(n2, t2, e2) {
1893
+ function D(n2, t2, e2) {
1959
1894
  return n2 && e2 && (n2.__v = null, n2.__k = n2.__k && n2.__k.map(function(n3) {
1960
- return I(n3, t2, e2);
1895
+ return D(n3, t2, e2);
1961
1896
  }), n2.__c && n2.__c.__P === t2 && (n2.__e && e2.appendChild(n2.__e), n2.__c.__e = true, n2.__c.__P = e2)), n2;
1962
1897
  }
1963
1898
  function L() {
1964
1899
  this.__u = 0, this.t = null, this.__b = null;
1965
1900
  }
1966
- function U(n2) {
1901
+ function O(n2) {
1967
1902
  var t2 = n2.__.__c;
1968
1903
  return t2 && t2.__a && t2.__a(n2);
1969
1904
  }
1970
- function D(n2) {
1905
+ function F(n2) {
1971
1906
  var e2, r2, u2;
1972
1907
  function o2(o3) {
1973
1908
  if (e2 || (e2 = n2()).then(function(n3) {
@@ -1978,11 +1913,11 @@ function D(n2) {
1978
1913
  throw u2;
1979
1914
  if (!r2)
1980
1915
  throw e2;
1981
- return y$2(r2, o3);
1916
+ return _$1(r2, o3);
1982
1917
  }
1983
1918
  return o2.displayName = "Lazy", o2.__f = true, o2;
1984
1919
  }
1985
- function M() {
1920
+ function U() {
1986
1921
  this.u = null, this.o = null;
1987
1922
  }
1988
1923
  l$2.unmount = function(n2) {
@@ -1991,15 +1926,15 @@ l$2.unmount = function(n2) {
1991
1926
  }, (L.prototype = new b$2()).__c = function(n2, t2) {
1992
1927
  var e2 = t2.__c, r2 = this;
1993
1928
  null == r2.t && (r2.t = []), r2.t.push(e2);
1994
- var u2 = U(r2.__v), o2 = false, i2 = function() {
1995
- o2 || (o2 = true, e2.__R = null, u2 ? u2(l2) : l2());
1929
+ var u2 = O(r2.__v), o2 = false, i2 = function() {
1930
+ o2 || (o2 = true, e2.__R = null, u2 ? u2(c2) : c2());
1996
1931
  };
1997
1932
  e2.__R = i2;
1998
- var l2 = function() {
1933
+ var c2 = function() {
1999
1934
  if (!--r2.__u) {
2000
1935
  if (r2.state.__a) {
2001
1936
  var n3 = r2.state.__a;
2002
- 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);
2003
1938
  }
2004
1939
  var t3;
2005
1940
  for (r2.setState({ __a: r2.__b = null }); t3 = r2.t.pop(); )
@@ -2013,12 +1948,12 @@ l$2.unmount = function(n2) {
2013
1948
  if (this.__b) {
2014
1949
  if (this.__v.__k) {
2015
1950
  var r2 = document.createElement("div"), o2 = this.__v.__k[0].__c;
2016
- 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);
2017
1952
  }
2018
1953
  this.__b = null;
2019
1954
  }
2020
- var i2 = e2.__a && y$2(g$3, null, n2.fallback);
2021
- return i2 && (i2.__u &= -33), [y$2(g$3, null, e2.__a ? null : n2.children), i2];
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];
2022
1957
  };
2023
1958
  var V = function(n2, t2, e2) {
2024
1959
  if (++e2[1] === e2[0] && n2.o.delete(t2), n2.props.revealOrder && ("t" !== n2.props.revealOrder[0] || !n2.o.size))
@@ -2038,35 +1973,37 @@ function W(n2) {
2038
1973
  function P(n2) {
2039
1974
  var e2 = this, r2 = n2.i;
2040
1975
  e2.componentWillUnmount = function() {
2041
- q$2(null, e2.l), e2.l = null, e2.i = null;
2042
- }, e2.i && e2.i !== r2 && e2.componentWillUnmount(), e2.l || (e2.i = r2, e2.l = { nodeType: 1, parentNode: r2, childNodes: [], appendChild: function(n3) {
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) {
2043
1980
  this.childNodes.push(n3), e2.i.appendChild(n3);
2044
1981
  }, insertBefore: function(n3, t2) {
2045
1982
  this.childNodes.push(n3), e2.i.appendChild(n3);
2046
1983
  }, removeChild: function(n3) {
2047
1984
  this.childNodes.splice(this.childNodes.indexOf(n3) >>> 1, 1), e2.i.removeChild(n3);
2048
- } }), q$2(y$2(W, { context: e2.context }, n2.__v), e2.l);
1985
+ } }), B$2(_$1(W, { context: e2.context }, n2.__v), e2.l);
2049
1986
  }
2050
1987
  function j(n2, e2) {
2051
- var r2 = y$2(P, { __v: n2, i: e2 });
1988
+ var r2 = _$1(P, { __v: n2, i: e2 });
2052
1989
  return r2.containerInfo = e2, r2;
2053
1990
  }
2054
- (M.prototype = new b$2()).__a = function(n2) {
2055
- 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);
2056
1993
  return r2[0]++, function(u2) {
2057
1994
  var o2 = function() {
2058
1995
  t2.props.revealOrder ? (r2.push(u2), V(t2, n2, r2)) : u2();
2059
1996
  };
2060
1997
  e2 ? e2(o2) : o2();
2061
1998
  };
2062
- }, M.prototype.render = function(n2) {
1999
+ }, U.prototype.render = function(n2) {
2063
2000
  this.u = null, this.o = /* @__PURE__ */ new Map();
2064
- var t2 = $$1(n2.children);
2001
+ var t2 = H$1(n2.children);
2065
2002
  n2.revealOrder && "b" === n2.revealOrder[0] && t2.reverse();
2066
2003
  for (var e2 = t2.length; e2--; )
2067
2004
  this.o.set(t2[e2], this.u = [1, 0, this.u]);
2068
2005
  return n2.children;
2069
- }, M.prototype.componentDidUpdate = M.prototype.componentDidMount = function() {
2006
+ }, U.prototype.componentDidUpdate = U.prototype.componentDidMount = function() {
2070
2007
  var n2 = this;
2071
2008
  this.o.forEach(function(t2, e2) {
2072
2009
  V(n2, e2, t2);
@@ -2076,10 +2013,10 @@ var z = "undefined" != typeof Symbol && Symbol.for && Symbol.for("react.element"
2076
2013
  return ("undefined" != typeof Symbol && "symbol" == typeof Symbol() ? /fil|che|rad/ : /fil|che|ra/).test(n2);
2077
2014
  };
2078
2015
  function q(n2, t2, e2) {
2079
- 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;
2080
2017
  }
2081
2018
  function G(n2, t2, e2) {
2082
- 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;
2083
2020
  }
2084
2021
  b$2.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(t2) {
2085
2022
  Object.defineProperty(b$2.prototype, t2, { configurable: true, get: function() {
@@ -2109,13 +2046,13 @@ l$2.vnode = function(n2) {
2109
2046
  for (var o2 in t2) {
2110
2047
  var i2 = t2[o2];
2111
2048
  if (!("value" === o2 && "defaultValue" in t2 && null == i2 || Y && "children" === o2 && "noscript" === e2 || "class" === o2 || "className" === o2)) {
2112
- var l2 = o2.toLowerCase();
2113
- "defaultValue" === o2 && "value" in t2 && null == t2.value ? o2 = "value" : "download" === o2 && true === i2 ? i2 = "" : "ondoubleclick" === l2 ? o2 = "ondblclick" : "onchange" !== l2 || "input" !== e2 && "textarea" !== e2 || $(t2.type) ? "onfocus" === l2 ? o2 = "onfocusin" : "onblur" === l2 ? o2 = "onfocusout" : H.test(o2) ? o2 = l2 : -1 === e2.indexOf("-") && B.test(o2) ? o2 = o2.replace(Z, "-$&").toLowerCase() : null === i2 && (i2 = void 0) : l2 = o2 = "oninput", "oninput" === l2 && u2[o2 = l2] && (o2 = "oninputCapture"), u2[o2] = i2;
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;
2114
2051
  }
2115
2052
  }
2116
- "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) {
2117
2054
  n4.props.selected = -1 != u2.value.indexOf(n4.props.value);
2118
- })), "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) {
2119
2056
  n4.props.selected = u2.multiple ? -1 != u2.defaultValue.indexOf(n4.props.value) : u2.defaultValue == n4.props.value;
2120
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;
2121
2058
  }(n2), n2.$$typeof = z, en && en(n2);
@@ -2132,51 +2069,54 @@ l$2.diffed = function(n2) {
2132
2069
  };
2133
2070
  var on = { ReactCurrentDispatcher: { current: { readContext: function(n2) {
2134
2071
  return nn.__n[n2.__c].props.value;
2135
- } } } }, ln = "17.0.2";
2136
- function cn(n2) {
2137
- 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);
2138
2075
  }
2139
2076
  function fn(n2) {
2140
2077
  return !!n2 && n2.$$typeof === z;
2141
2078
  }
2142
2079
  function an(n2) {
2143
- return fn(n2) && n2.type === g$3;
2080
+ return fn(n2) && n2.type === k$3;
2144
2081
  }
2145
2082
  function sn(n2) {
2146
- 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(");
2147
2084
  }
2148
2085
  function hn(n2) {
2149
- return !!n2.__k && (q$2(null, n2), true);
2086
+ return fn(n2) ? E$2.apply(null, arguments) : n2;
2150
2087
  }
2151
2088
  function vn(n2) {
2089
+ return !!n2.__k && (B$2(null, n2), true);
2090
+ }
2091
+ function dn(n2) {
2152
2092
  return n2 && (n2.base || 1 === n2.nodeType && n2) || null;
2153
2093
  }
2154
- var dn = function(n2, t2) {
2094
+ var pn = function(n2, t2) {
2155
2095
  return n2(t2);
2156
- }, pn = function(n2, t2) {
2096
+ }, mn = function(n2, t2) {
2157
2097
  return n2(t2);
2158
- }, mn = g$3;
2159
- function yn(n2) {
2098
+ }, yn = k$3;
2099
+ function _n(n2) {
2160
2100
  n2();
2161
2101
  }
2162
- function _n(n2) {
2102
+ function bn(n2) {
2163
2103
  return n2;
2164
2104
  }
2165
- function bn() {
2166
- return [false, yn];
2105
+ function Sn() {
2106
+ return [false, _n];
2167
2107
  }
2168
- var Sn = y, gn = fn;
2108
+ var gn = _, En = fn;
2169
2109
  function Cn(n2, t2) {
2170
2110
  var e2 = t2(), r2 = h({ h: { __: e2, v: t2 } }), u2 = r2[0].h, o2 = r2[1];
2171
- return y(function() {
2172
- u2.__ = e2, u2.v = t2, En(u2) && o2({ h: u2 });
2173
- }, [n2, e2, t2]), p(function() {
2174
- return En(u2) && o2({ h: u2 }), n2(function() {
2175
- En(u2) && o2({ h: u2 });
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 });
2176
2116
  });
2177
2117
  }, [n2]), e2;
2178
2118
  }
2179
- function En(n2) {
2119
+ function xn(n2) {
2180
2120
  var t2, e2, r2 = n2.v, u2 = n2.__;
2181
2121
  try {
2182
2122
  var o2 = r2();
@@ -2185,55 +2125,60 @@ function En(n2) {
2185
2125
  return true;
2186
2126
  }
2187
2127
  }
2188
- var wn = { useState: h, useId: V$1, useReducer: s, useEffect: p, useLayoutEffect: y, useInsertionEffect: Sn, useTransition: bn, useDeferredValue: _n, useSyncExternalStore: Cn, startTransition: yn, useRef: _, useImperativeHandle: A$1, useMemo: F$1, useCallback: T$1, useContext: q$1, useDebugValue: x$1, version: "17.0.2", Children: A, render: q, hydrate: G, unmountComponentAtNode: hn, createPortal: j, createElement: y$2, createContext: F$2, createFactory: cn, cloneElement: sn, createRef: _$2, Fragment: g$3, isValidElement: fn, isElement: gn, isFragment: an, findDOMNode: vn, Component: b$2, PureComponent: E, memo: w, forwardRef: N, flushSync: pn, unstable_batchedUpdates: dn, StrictMode: mn, Suspense: L, SuspenseList: M, lazy: D, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: on };
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 };
2189
2129
  const compat_module = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2190
2130
  __proto__: null,
2191
- Children: A,
2131
+ Children: N,
2192
2132
  Component: b$2,
2193
- Fragment: g$3,
2194
- PureComponent: E,
2195
- StrictMode: mn,
2133
+ Fragment: k$3,
2134
+ PureComponent: C,
2135
+ StrictMode: yn,
2196
2136
  Suspense: L,
2197
- SuspenseList: M,
2137
+ SuspenseList: U,
2198
2138
  __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: on,
2199
- cloneElement: sn,
2200
- createContext: F$2,
2201
- createElement: y$2,
2202
- createFactory: cn,
2139
+ cloneElement: hn,
2140
+ createContext: G$1,
2141
+ createElement: _$1,
2142
+ createFactory: ln,
2203
2143
  createPortal: j,
2204
- createRef: _$2,
2205
- default: wn,
2206
- findDOMNode: vn,
2207
- flushSync: pn,
2208
- forwardRef: N,
2144
+ createRef: m$1,
2145
+ default: Rn,
2146
+ findDOMNode: dn,
2147
+ flushSync: mn,
2148
+ forwardRef: k,
2209
2149
  hydrate: G,
2210
- isElement: gn,
2150
+ isElement: En,
2211
2151
  isFragment: an,
2152
+ isMemo: sn,
2212
2153
  isValidElement: fn,
2213
- lazy: D,
2214
- memo: w,
2154
+ lazy: F,
2155
+ memo: x,
2215
2156
  render: q,
2216
- startTransition: yn,
2217
- unmountComponentAtNode: hn,
2218
- unstable_batchedUpdates: dn,
2219
- useCallback: T$1,
2220
- useContext: q$1,
2221
- useDebugValue: x$1,
2222
- useDeferredValue: _n,
2223
- useEffect: p,
2224
- useErrorBoundary: P$1,
2225
- useId: V$1,
2226
- useImperativeHandle: A$1,
2227
- useInsertionEffect: Sn,
2228
- useLayoutEffect: y,
2229
- useMemo: F$1,
2230
- useReducer: s,
2231
- useRef: _,
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,
2232
2173
  useState: h,
2233
2174
  useSyncExternalStore: Cn,
2234
- useTransition: bn,
2235
- version: ln
2175
+ useTransition: Sn,
2176
+ version: cn
2236
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
+ }
2237
2182
  function getAugmentedNamespace(n2) {
2238
2183
  if (n2.__esModule)
2239
2184
  return n2;
@@ -2460,12 +2405,12 @@ const UNDEFINED = (
2460
2405
  );
2461
2406
  const OBJECT = Object;
2462
2407
  const isUndefined = (v2) => v2 === UNDEFINED;
2463
- const isFunction = (v2) => typeof v2 == "function";
2408
+ const isFunction$2 = (v2) => typeof v2 == "function";
2464
2409
  const mergeObjects = (a2, b2) => ({
2465
2410
  ...a2,
2466
2411
  ...b2
2467
2412
  });
2468
- const isPromiseLike = (x2) => isFunction(x2.then);
2413
+ const isPromiseLike = (x2) => isFunction$2(x2.then);
2469
2414
  const table = /* @__PURE__ */ new WeakMap();
2470
2415
  let counter = 0;
2471
2416
  const stableHash = (arg) => {
@@ -2584,17 +2529,17 @@ const defaultConfigOptions = {
2584
2529
  initFocus,
2585
2530
  initReconnect
2586
2531
  };
2587
- const IS_REACT_LEGACY = !wn.useId;
2532
+ const IS_REACT_LEGACY = !Rn.useId;
2588
2533
  const IS_SERVER = !isWindowDefined || "Deno" in window;
2589
2534
  const rAF = (f2) => hasRequestAnimationFrame() ? window["requestAnimationFrame"](f2) : setTimeout(f2, 1);
2590
- const useIsomorphicLayoutEffect = IS_SERVER ? p : y;
2535
+ const useIsomorphicLayoutEffect = IS_SERVER ? y : _;
2591
2536
  const navigatorConnection = typeof navigator !== "undefined" && navigator.connection;
2592
2537
  const slowConnection = !IS_SERVER && navigatorConnection && ([
2593
2538
  "slow-2g",
2594
2539
  "2g"
2595
2540
  ].includes(navigatorConnection.effectiveType) || navigatorConnection.saveData);
2596
2541
  const serialize = (key) => {
2597
- if (isFunction(key)) {
2542
+ if (isFunction$2(key)) {
2598
2543
  try {
2599
2544
  key = key();
2600
2545
  } catch (err) {
@@ -2632,12 +2577,11 @@ async function internalMutate(...args) {
2632
2577
  let populateCache = options.populateCache;
2633
2578
  const rollbackOnErrorOption = options.rollbackOnError;
2634
2579
  let optimisticData = options.optimisticData;
2635
- const revalidate = options.revalidate !== false;
2636
2580
  const rollbackOnError = (error) => {
2637
2581
  return typeof rollbackOnErrorOption === "function" ? rollbackOnErrorOption(error) : rollbackOnErrorOption !== false;
2638
2582
  };
2639
2583
  const throwOnError = options.throwOnError;
2640
- if (isFunction(_key)) {
2584
+ if (isFunction$2(_key)) {
2641
2585
  const keyFilter = _key;
2642
2586
  const matchedKeys = [];
2643
2587
  const it = cache2.keys();
@@ -2656,18 +2600,19 @@ async function internalMutate(...args) {
2656
2600
  const [key] = serialize(_k);
2657
2601
  if (!key)
2658
2602
  return;
2659
- const [get, set] = createCacheHelper(cache2, key);
2603
+ const [get2, set] = createCacheHelper(cache2, key);
2660
2604
  const [EVENT_REVALIDATORS, MUTATION, FETCH, PRELOAD] = SWRGlobalState.get(cache2);
2661
2605
  const startRevalidate = () => {
2662
2606
  const revalidators = EVENT_REVALIDATORS[key];
2607
+ const revalidate = isFunction$2(options.revalidate) ? options.revalidate(get2().data, _k) : options.revalidate !== false;
2663
2608
  if (revalidate) {
2664
2609
  delete FETCH[key];
2665
2610
  delete PRELOAD[key];
2666
2611
  if (revalidators && revalidators[0]) {
2667
- return revalidators[0](MUTATE_EVENT).then(() => get().data);
2612
+ return revalidators[0](MUTATE_EVENT).then(() => get2().data);
2668
2613
  }
2669
2614
  }
2670
- return get().data;
2615
+ return get2().data;
2671
2616
  };
2672
2617
  if (args.length < 3) {
2673
2618
  return startRevalidate();
@@ -2680,18 +2625,18 @@ async function internalMutate(...args) {
2680
2625
  0
2681
2626
  ];
2682
2627
  const hasOptimisticData = !isUndefined(optimisticData);
2683
- const state = get();
2628
+ const state = get2();
2684
2629
  const displayedData = state.data;
2685
2630
  const currentData = state._c;
2686
2631
  const committedData = isUndefined(currentData) ? displayedData : currentData;
2687
2632
  if (hasOptimisticData) {
2688
- optimisticData = isFunction(optimisticData) ? optimisticData(committedData, displayedData) : optimisticData;
2633
+ optimisticData = isFunction$2(optimisticData) ? optimisticData(committedData, displayedData) : optimisticData;
2689
2634
  set({
2690
2635
  data: optimisticData,
2691
2636
  _c: committedData
2692
2637
  });
2693
2638
  }
2694
- if (isFunction(data)) {
2639
+ if (isFunction$2(data)) {
2695
2640
  try {
2696
2641
  data = data(committedData);
2697
2642
  } catch (err) {
@@ -2716,7 +2661,7 @@ async function internalMutate(...args) {
2716
2661
  }
2717
2662
  if (populateCache) {
2718
2663
  if (!error) {
2719
- if (isFunction(populateCache)) {
2664
+ if (isFunction$2(populateCache)) {
2720
2665
  const populateCachedData = populateCache(data, committedData);
2721
2666
  set({
2722
2667
  data: populateCachedData,
@@ -2862,17 +2807,17 @@ const mergeConfigs = (a2, b2) => {
2862
2807
  }
2863
2808
  return v2;
2864
2809
  };
2865
- const SWRConfigContext = F$2({});
2810
+ const SWRConfigContext = G$1({});
2866
2811
  const INFINITE_PREFIX = "$inf$";
2867
2812
  const enableDevtools = isWindowDefined && window.__SWR_DEVTOOLS_USE__;
2868
2813
  const use$1 = enableDevtools ? window.__SWR_DEVTOOLS_USE__ : [];
2869
2814
  const setupDevTools = () => {
2870
2815
  if (enableDevtools) {
2871
- window.__SWR_DEVTOOLS_REACT__ = wn;
2816
+ window.__SWR_DEVTOOLS_REACT__ = Rn;
2872
2817
  }
2873
2818
  };
2874
2819
  const normalize = (args) => {
2875
- return isFunction(args[1]) ? [
2820
+ return isFunction$2(args[1]) ? [
2876
2821
  args[0],
2877
2822
  args[1],
2878
2823
  args[2] || {}
@@ -2883,7 +2828,7 @@ const normalize = (args) => {
2883
2828
  ];
2884
2829
  };
2885
2830
  const useSWRConfig = () => {
2886
- return mergeObjects(defaultConfig, q$1(SWRConfigContext));
2831
+ return mergeObjects(defaultConfig, x$1(SWRConfigContext));
2887
2832
  };
2888
2833
  const middleware = (useSWRNext) => (key_, fetcher_, config) => {
2889
2834
  const fetcher = fetcher_ && ((...args) => {
@@ -2927,7 +2872,7 @@ const subscribeCallback = (key, callbacks, callback) => {
2927
2872
  };
2928
2873
  };
2929
2874
  setupDevTools();
2930
- const use = wn.use || ((promise) => {
2875
+ const use = Rn.use || ((promise) => {
2931
2876
  if (promise.status === "pending") {
2932
2877
  throw promise;
2933
2878
  } else if (promise.status === "fulfilled") {
@@ -2953,15 +2898,15 @@ const useSWRHandler = (_key, fetcher, config) => {
2953
2898
  const { cache: cache2, compare: compare2, suspense, fallbackData, revalidateOnMount, revalidateIfStale, refreshInterval, refreshWhenHidden, refreshWhenOffline, keepPreviousData } = config;
2954
2899
  const [EVENT_REVALIDATORS, MUTATION, FETCH, PRELOAD] = SWRGlobalState.get(cache2);
2955
2900
  const [key, fnArg] = serialize(_key);
2956
- const initialMountedRef = _(false);
2957
- const unmountedRef = _(false);
2958
- const keyRef = _(key);
2959
- const fetcherRef = _(fetcher);
2960
- const configRef = _(config);
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);
2961
2906
  const getConfig = () => configRef.current;
2962
2907
  const isActive = () => getConfig().isVisible() && getConfig().isOnline();
2963
2908
  const [getCache, setCache, subscribeCache, getInitialCache] = createCacheHelper(cache2, key);
2964
- const stateDependencies = _({}).current;
2909
+ const stateDependencies = A$1({}).current;
2965
2910
  const fallback = isUndefined(fallbackData) ? config.fallback[key] : fallbackData;
2966
2911
  const isEqual = (prev, current) => {
2967
2912
  for (const _2 in stateDependencies) {
@@ -2983,7 +2928,7 @@ const useSWRHandler = (_key, fetcher, config) => {
2983
2928
  }
2984
2929
  return true;
2985
2930
  };
2986
- const getSnapshot = F$1(() => {
2931
+ const getSnapshot = T$1(() => {
2987
2932
  const shouldStartRequest = (() => {
2988
2933
  if (!key)
2989
2934
  return false;
@@ -3037,7 +2982,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3037
2982
  cache2,
3038
2983
  key
3039
2984
  ]);
3040
- const cached = shimExports.useSyncExternalStore(T$1(
2985
+ const cached = shimExports.useSyncExternalStore(q$1(
3041
2986
  (callback) => subscribeCache(key, (current, prev) => {
3042
2987
  if (!isEqual(prev, current))
3043
2988
  callback();
@@ -3053,7 +2998,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3053
2998
  const cachedData = cached.data;
3054
2999
  const data = isUndefined(cachedData) ? fallback : cachedData;
3055
3000
  const error = cached.error;
3056
- const laggyDataRef = _(data);
3001
+ const laggyDataRef = A$1(data);
3057
3002
  const returnedData = keepPreviousData ? isUndefined(cachedData) ? laggyDataRef.current : cachedData : data;
3058
3003
  const shouldDoInitialRevalidation = (() => {
3059
3004
  if (hasRevalidator && !isUndefined(error))
@@ -3069,7 +3014,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3069
3014
  const defaultValidatingState = !!(key && fetcher && isInitialMount && shouldDoInitialRevalidation);
3070
3015
  const isValidating = isUndefined(cached.isValidating) ? defaultValidatingState : cached.isValidating;
3071
3016
  const isLoading = isUndefined(cached.isLoading) ? defaultValidatingState : cached.isLoading;
3072
- const revalidate = T$1(
3017
+ const revalidate = q$1(
3073
3018
  async (revalidateOpts) => {
3074
3019
  const currentFetcher = fetcherRef.current;
3075
3020
  if (!key || !currentFetcher || unmountedRef.current || getConfig().isPaused()) {
@@ -3162,8 +3107,8 @@ const useSWRHandler = (_key, fetcher, config) => {
3162
3107
  finalState.error = err;
3163
3108
  if (shouldStartNewRequest && callbackSafeguard()) {
3164
3109
  currentConfig.onError(err, key, currentConfig);
3165
- if (shouldRetryOnError === true || isFunction(shouldRetryOnError) && shouldRetryOnError(err)) {
3166
- if (isActive()) {
3110
+ if (shouldRetryOnError === true || isFunction$2(shouldRetryOnError) && shouldRetryOnError(err)) {
3111
+ if (!getConfig().revalidateOnFocus || !getConfig().revalidateOnReconnect || isActive()) {
3167
3112
  currentConfig.onErrorRetry(err, key, currentConfig, (_opts) => {
3168
3113
  const revalidators = EVENT_REVALIDATORS[key];
3169
3114
  if (revalidators && revalidators[0]) {
@@ -3198,7 +3143,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3198
3143
  cache2
3199
3144
  ]
3200
3145
  );
3201
- const boundMutate = T$1(
3146
+ const boundMutate = q$1(
3202
3147
  // Use callback to make sure `keyRef.current` returns latest result every time
3203
3148
  (...args) => {
3204
3149
  return internalMutate(cache2, keyRef.current, ...args);
@@ -3260,7 +3205,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3260
3205
  useIsomorphicLayoutEffect(() => {
3261
3206
  let timer;
3262
3207
  function next() {
3263
- const interval = isFunction(refreshInterval) ? refreshInterval(getCache().data) : refreshInterval;
3208
+ const interval = isFunction$2(refreshInterval) ? refreshInterval(getCache().data) : refreshInterval;
3264
3209
  if (interval && timer !== -1) {
3265
3210
  timer = setTimeout(execute, interval);
3266
3211
  }
@@ -3285,7 +3230,7 @@ const useSWRHandler = (_key, fetcher, config) => {
3285
3230
  refreshWhenOffline,
3286
3231
  key
3287
3232
  ]);
3288
- x$1(returnedData);
3233
+ P$1(returnedData);
3289
3234
  if (suspense && isUndefined(data) && key) {
3290
3235
  if (!IS_REACT_LEGACY && IS_SERVER) {
3291
3236
  throw new Error("Fallback data is required when using suspense in SSR.");
@@ -3353,11 +3298,7 @@ const tagClass = cva({
3353
3298
  false: ""
3354
3299
  }
3355
3300
  },
3356
- compoundVariants: [{
3357
- disabled: false,
3358
- interactive: true,
3359
- class: "cursor-pointer active:scale-[0.975]"
3360
- }],
3301
+ compoundVariants: [{ disabled: false, interactive: true, class: "cursor-pointer active:scale-[0.975]" }],
3361
3302
  defaultVariants: {
3362
3303
  variant: "neutralWeak",
3363
3304
  size: "sm",
@@ -3365,11 +3306,7 @@ const tagClass = cva({
3365
3306
  interactive: false
3366
3307
  }
3367
3308
  });
3368
- const CurrentValueTag = ({
3369
- query,
3370
- property,
3371
- selectedValues
3372
- }) => {
3309
+ const CurrentValueTag = ({ query, property, selectedValues }) => {
3373
3310
  switch (query.state) {
3374
3311
  case "error":
3375
3312
  case "loading":
@@ -3384,26 +3321,21 @@ const CurrentValueTag = ({
3384
3321
  case 1: {
3385
3322
  const firstSuggestion = selectedSuggestions[0];
3386
3323
  invariant(firstSuggestion);
3387
- return u$1("span", {
3388
- class: tagClass({
3389
- size: "sm",
3390
- variant: "accentStrong",
3391
- interactive: true,
3392
- class: "truncate"
3393
- }),
3394
- children: firstSuggestion.label
3395
- });
3324
+ return /* @__PURE__ */ u$1("span", { class: tagClass({ size: "sm", variant: "accentStrong", interactive: true, class: "truncate" }), children: firstSuggestion.label });
3396
3325
  }
3397
3326
  default:
3398
- return u$1("span", {
3399
- class: tagClass({
3400
- size: "sm",
3401
- variant: "accentStrong",
3402
- interactive: true,
3403
- class: "ijs-filter-current truncate tabular-nums"
3404
- }),
3405
- children: selectedSuggestions.length
3406
- });
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
+ );
3407
3339
  }
3408
3340
  }
3409
3341
  default:
@@ -3440,7 +3372,7 @@ const FilterContentActive = ({
3440
3372
  onRender
3441
3373
  }) => {
3442
3374
  const filterQuery = getQueryState(useQuery());
3443
- const availablePropertyKeys = F$1(() => {
3375
+ const availablePropertyKeys = T$1(() => {
3444
3376
  switch (filterQuery.state) {
3445
3377
  case "error":
3446
3378
  case "loading":
@@ -3458,43 +3390,45 @@ const FilterContentActive = ({
3458
3390
  const hasValue = selectedValues.length > 0;
3459
3391
  const [displayCount, setDisplayCount] = h(SUGGESTION_COUNT);
3460
3392
  const [search, setSearch] = h();
3461
- p(() => {
3393
+ y(() => {
3462
3394
  onRender();
3463
3395
  });
3464
3396
  if (filterQuery.state === "error") {
3465
- return u$1(ErrorView, {
3466
- error: new Error("We’re having trouble loading available filters.", {
3467
- cause: filterQuery.error
3468
- }),
3469
- resetError: () => filterQuery.swr.mutate()
3470
- });
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
+ );
3471
3404
  }
3472
- return u$1("div", {
3473
- class: "animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",
3474
- children: [property.searchable && u$1("div", {
3475
- class: "top-0 px-4 py-1",
3476
- children: u$1("input", {
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
+ {
3477
3409
  type: "text",
3478
- class: inputClass({
3479
- hasValue
3480
- }),
3410
+ class: inputClass({ hasValue }),
3481
3411
  value: search,
3482
3412
  onInput: (e2) => setSearch(e2.currentTarget.value),
3483
3413
  placeholder: "Type to search"
3484
- })
3485
- }), (() => {
3414
+ }
3415
+ ) }),
3416
+ (() => {
3486
3417
  switch (unfilteredQuery.state) {
3487
3418
  case "error":
3488
- return u$1(ErrorView, {
3489
- error: new Error("We’re having trouble loading available filters.", {
3490
- cause: unfilteredQuery.error
3491
- }),
3492
- resetError: () => unfilteredQuery.swr.mutate()
3493
- });
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
+ );
3494
3428
  case "loading":
3495
- return u$1("div", {
3496
- class: "flex px-4",
3497
- children: u$1("div", {
3429
+ return /* @__PURE__ */ u$1("div", { class: "flex px-4", children: /* @__PURE__ */ u$1(
3430
+ "div",
3431
+ {
3498
3432
  "aria-hidden": true,
3499
3433
  class: tagClass({
3500
3434
  size: "lg",
@@ -3502,144 +3436,137 @@ const FilterContentActive = ({
3502
3436
  interactive: true,
3503
3437
  class: "animate-skeleton cursor-default opacity-20 active:-scale-100"
3504
3438
  }),
3505
- children: u$1("span", {
3506
- class: "inline-block w-[10ch]"
3507
- })
3508
- })
3509
- });
3439
+ children: /* @__PURE__ */ u$1("span", { class: "inline-block w-[10ch]" })
3440
+ }
3441
+ ) });
3510
3442
  case "revalidating":
3511
3443
  case "loaded": {
3512
3444
  const allSuggestions = unfilteredQuery.data[property.key] ?? [];
3513
3445
  const filteredSuggestions = search && search.length > 1 ? allSuggestions.filter((s2) => s2.label.toLowerCase().includes(search.toLowerCase())) : allSuggestions;
3514
- const suggestions = filteredSuggestions.map((s2) => ({
3515
- ...s2,
3516
- disabled: availablePropertyKeys === null ? false : availablePropertyKeys[s2.value] !== true
3517
- }));
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
+ }
3518
3463
  const noEnabledOptions = !suggestions.find((suggestion) => !suggestion.disabled);
3519
3464
  if (noEnabledOptions)
3520
- return u$1("p", {
3521
- class: "font-style-tag text-style-tag font-weight-tag border-px w-full border-transparent px-4 py-2 text-center",
3522
- children: "No filter options available."
3523
- });
3524
- return u$1("div", {
3525
- class: "pointer-fine:px-4",
3526
- children: u$1("ul", {
3527
- style: {
3528
- maxHeight: (TAG_HEIGHT + GAP) * (LINE_COUNT - 1) + TAG_HEIGHT / 2 + 2 * PADDING_Y
3529
- },
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 },
3530
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",
3531
- children: [suggestions.slice(0, displayCount).map((suggestion) => {
3532
- const active = selectedValues.includes(suggestion.value);
3533
- return u$1("li", {
3534
- class: "animate-appear-tag max-w-full origin-top",
3535
- children: u$1("button", {
3536
- disabled: suggestion.disabled,
3537
- "data-filter": true,
3538
- "data-current-value": active ? "true" : void 0,
3539
- onClick: () => {
3540
- switch (value.select) {
3541
- case "many": {
3542
- const newValue = toggleInArray(selectedValues, suggestion.value);
3543
- onValueChange({
3544
- select: "many",
3545
- value: newValue
3546
- });
3547
- break;
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);
3548
3492
  }
3549
- case "one":
3550
- onValueChange({
3551
- select: "one",
3552
- value: suggestion.value
3553
- });
3554
- break;
3555
- default:
3556
- exhaustive(value);
3557
- }
3558
- },
3559
- class: tagClass({
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",
3560
3511
  size: "lg",
3561
- variant: active ? "accentStrong" : "neutralStrong",
3562
- interactive: true,
3563
- disabled: suggestion.disabled,
3564
- class: "ijs-filter-tag"
3512
+ class: "border-px flex w-full max-w-full flex-none flex-nowrap justify-center truncate border-transparent"
3565
3513
  }),
3566
- children: suggestion.label
3567
- })
3568
- }, suggestion.value);
3569
- }), suggestions.length > displayCount && u$1("li", {
3570
- class: "animate-appear-tag pointer-fine:w-full max-w-full flex-none origin-top",
3571
- children: u$1("button", {
3572
- class: btnClass({
3573
- variant: "neutral",
3574
- icon: "right",
3575
- size: "lg",
3576
- class: "border-px flex w-full max-w-full flex-none flex-nowrap justify-center truncate border-transparent"
3577
- }),
3578
- onClick: () => {
3579
- setDisplayCount(displayCount + SUGGESTION_COUNT);
3580
- },
3581
- children: [u$1("span", {
3582
- class: "font-style-tag font-family-tag font-weight-tag text-style-tag",
3583
- children: "Show More"
3584
- }), u$1(Icon, {
3585
- "aria-hidden": true,
3586
- name: "plus"
3587
- })]
3588
- })
3589
- })]
3590
- })
3591
- });
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
+ ) });
3592
3526
  }
3593
3527
  default:
3594
3528
  exhaustive(unfilteredQuery);
3595
3529
  }
3596
- })(), u$1("footer", {
3597
- class: "flex justify-end p-2",
3598
- children: [u$1("div", {
3599
- class: "flex-1",
3600
- children: hasValue && u$1("button", {
3601
- class: btnClass({
3602
- variant: "neutral",
3603
- icon: "left"
3604
- }),
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" }),
3605
3536
  onClick: () => {
3606
3537
  onValueChange(void 0);
3607
3538
  },
3608
- children: [u$1(Icon, {
3609
- "aria-hidden": true,
3610
- name: "x"
3611
- }), " Clear"]
3612
- })
3613
- }), value.select === "many" && u$1("div", {
3614
- class: "flex items-center overflow-hidden",
3615
- children: u$1("p", {
3616
- class: "font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center",
3617
- children: [selectedValues.length, " selected"]
3618
- })
3619
- }), u$1("div", {
3620
- class: "flex-1",
3621
- children: u$1("button", {
3622
- class: btnClass({
3623
- variant: hasValue ? "accent" : "neutral",
3624
- icon: "right",
3625
- class: "ml-auto"
3626
- }),
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" }),
3627
3553
  onClick: onSkip,
3628
- children: [hasValue ? "Done" : "Skip", " ", u$1(Icon, {
3629
- name: "chevron-right"
3630
- })]
3631
- }, hasValue ? "done" : "skip")
3632
- })]
3633
- })]
3634
- });
3554
+ children: [
3555
+ hasValue ? "Done" : "Skip",
3556
+ " ",
3557
+ /* @__PURE__ */ u$1(Icon, { name: "chevron-right" })
3558
+ ]
3559
+ },
3560
+ hasValue ? "done" : "skip"
3561
+ ) })
3562
+ ] })
3563
+ ] });
3635
3564
  };
3636
3565
  const filterIcons = {
3637
3566
  contract_type: "clock",
3638
3567
  title: "magnifier",
3639
3568
  city: "mapPin",
3640
3569
  town: "mapPin",
3641
- address_1: "mapPin",
3642
- address_2: "mapPin",
3643
3570
  country: "mapPin",
3644
3571
  company_name: "briefcase",
3645
3572
  category: "briefcase"
@@ -3667,22 +3594,18 @@ const chevronClass = cva({
3667
3594
  base: "flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"
3668
3595
  });
3669
3596
  const useMeasureHeight = (dependencies) => {
3670
- const ref = _(null);
3597
+ const ref = A$1(null);
3671
3598
  const [height, setHeight] = h(0);
3672
3599
  const updateHeight = () => {
3673
3600
  var _a;
3674
3601
  return setHeight(((_a = ref.current) == null ? void 0 : _a.clientHeight) ?? 0);
3675
3602
  };
3676
- y(() => {
3603
+ _(() => {
3677
3604
  updateHeight();
3678
3605
  window.addEventListener("resize", updateHeight);
3679
3606
  return () => window.removeEventListener("resize", updateHeight);
3680
3607
  }, dependencies);
3681
- return {
3682
- height,
3683
- ref,
3684
- updateHeight
3685
- };
3608
+ return { height, ref, updateHeight };
3686
3609
  };
3687
3610
  const getSelectedValues = (current) => typeof current.value === "string" ? [current.value] : current.value ?? [];
3688
3611
  const Filter = ({
@@ -3695,81 +3618,69 @@ const Filter = ({
3695
3618
  unfilteredQuery,
3696
3619
  useQuery
3697
3620
  }) => {
3698
- 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";
3699
3623
  const selectedValues = getSelectedValues(value);
3700
- const {
3701
- height,
3702
- ref: contentRef,
3703
- updateHeight
3704
- } = useMeasureHeight([active]);
3624
+ const { height, ref: contentRef, updateHeight } = useMeasureHeight([active]);
3705
3625
  const hasValue = selectedValues.length > 0;
3706
- return u$1("section", {
3707
- "data-filter-key": property.key,
3708
- role: "tab",
3709
- "aria-label": property.label,
3710
- "aria-selected": active ? "true" : void 0,
3711
- class: wrapperClass$1({
3712
- hasValue
3713
- }),
3714
- onTouchStart: noop,
3715
- children: [u$1("div", {
3716
- class: "min-w-0 max-w-full shrink-0 flex-grow",
3717
- children: [u$1("button", {
3718
- "aria-label": active ? "Close filter" : "Open filter",
3719
- class: headerClass({
3720
- state: active ? "active" : hasValue ? "filled" : "default",
3721
- class: "ijs-filter-heading rounded-section fr-child flex w-full cursor-pointer select-none items-center gap-2 py-4 pl-4"
3722
- }),
3723
- onClick: () => onActiveChange(!active),
3724
- children: [u$1(Icon, {
3725
- "aria-hidden": true,
3726
- class: "flex-none",
3727
- name: icon
3728
- }), u$1("p", {
3729
- children: property.label
3730
- })]
3731
- }), u$1("div", {
3732
- class: "ease-expo-out duration-snappy relative overflow-hidden transition-all",
3733
- style: {
3734
- height
3735
- },
3736
- children: u$1("div", {
3737
- class: "w-full",
3738
- ref: contentRef,
3739
- children: active && u$1(FilterContentActive, {
3740
- useQuery,
3741
- onRender: updateHeight,
3742
- onSkip,
3743
- onValueChange,
3744
- unfilteredQuery,
3745
- property,
3746
- value
3747
- })
3748
- })
3749
- })]
3750
- }), !active && u$1("button", {
3751
- tabIndex: -1,
3752
- class: "fr-child flex flex-shrink flex-grow cursor-pointer select-none items-center justify-end gap-2 overflow-hidden pl-2 pr-3 focus:outline-none",
3753
- onClick: () => onActiveChange(true),
3754
- children: [u$1("div", {
3755
- "aria-label": "Current value",
3756
- class: "flex max-w-full gap-1 overflow-hidden",
3757
- children: u$1(CurrentValueTag, {
3758
- property,
3759
- query: unfilteredQuery,
3760
- selectedValues
3761
- })
3762
- }), u$1(Icon, {
3763
- "aria-hidden": true,
3764
- class: chevronClass(),
3765
- name: "chevron-right"
3766
- })]
3767
- })]
3768
- });
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
+ );
3769
3680
  };
3770
3681
  const usePrevious = (value) => {
3771
- const ref = _();
3772
- p(() => {
3682
+ const ref = A$1();
3683
+ y(() => {
3773
3684
  ref.current = value;
3774
3685
  }, [value]);
3775
3686
  return ref.current;
@@ -3785,7 +3696,7 @@ const focusFirstAvailableOption = (activeKey, ref) => {
3785
3696
  };
3786
3697
  const useFilterKeyboardFocus = (activeKey, ref) => {
3787
3698
  const previousActiveKey = usePrevious(activeKey);
3788
- p(() => {
3699
+ y(() => {
3789
3700
  if (previousActiveKey === activeKey)
3790
3701
  return;
3791
3702
  const keyToFocus = activeKey ?? previousActiveKey;
@@ -3805,26 +3716,17 @@ const nextStateFromValue = ({
3805
3716
  var _a, _b;
3806
3717
  switch (value == null ? void 0 : value.select) {
3807
3718
  case void 0: {
3808
- return {
3809
- newValue: void 0,
3810
- newActiveKey: activeKey
3811
- };
3719
+ return { newValue: void 0, newActiveKey: activeKey };
3812
3720
  }
3813
3721
  case "many": {
3814
- return {
3815
- newValue: value,
3816
- newActiveKey: activeKey
3817
- };
3722
+ return { newValue: value, newActiveKey: activeKey };
3818
3723
  }
3819
3724
  case "one": {
3820
3725
  const currentIndex = properties.findIndex((p2) => p2.key === property.key);
3821
3726
  const nextPropertyKey = currentIndex !== -1 ? (_a = properties[currentIndex + 1]) == null ? void 0 : _a.key : void 0;
3822
3727
  const isNextFilled = nextPropertyKey ? ((_b = appliedFilters[nextPropertyKey]) == null ? void 0 : _b.value) !== void 0 : false;
3823
3728
  const nextKey = isNextFilled ? void 0 : nextPropertyKey;
3824
- return {
3825
- newValue: value,
3826
- newActiveKey: nextKey
3827
- };
3729
+ return { newValue: value, newActiveKey: nextKey };
3828
3730
  }
3829
3731
  default:
3830
3732
  exhaustive(value);
@@ -3841,97 +3743,536 @@ const FilterSection = ({
3841
3743
  var _a;
3842
3744
  const [activeKey, setActiveKey] = h((_a = properties[0]) == null ? void 0 : _a.key);
3843
3745
  useFilterKeyboardFocus(activeKey, parentRef);
3844
- const defaultFilters = F$1(() => getFilterDefaults(properties.map(({
3845
- value: _2,
3846
- ...prop
3847
- }) => prop)), [properties]);
3848
- const unfilteredQuery = getQueryState(useSWR(cacheKey({
3849
- filter: defaultFilters,
3850
- baseKey: "filters"
3851
- }), () => getAvailableFilters({
3852
- apiClient,
3853
- logger,
3854
- filters: defaultFilters
3855
- }), SWR_SETTINGS));
3856
- const makeQueryWithoutFilter = T$1((keyToExclude) => () => {
3857
- const filters = {
3858
- ...appliedFilters,
3859
- [keyToExclude]: defaultFilters[keyToExclude]
3860
- };
3861
- return useSWR(cacheKey({
3862
- filter: filters,
3863
- baseKey: "filters"
3864
- }), () => getAvailableFilters({
3865
- apiClient,
3866
- logger,
3867
- filters
3868
- }), SWR_SETTINGS);
3869
- }, [apiClient, appliedFilters, defaultFilters, logger]);
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
+ );
3870
3768
  if (unfilteredQuery.state === "error") {
3871
- return u$1(ErrorView, {
3872
- error: new Error("We’re having trouble loading available filters.", {
3873
- cause: unfilteredQuery.error
3874
- }),
3875
- resetError: () => unfilteredQuery.swr.mutate()
3876
- });
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
+ );
3877
3776
  }
3878
- return u$1("aside", {
3879
- children: u$1("div", {
3880
- role: "tablist",
3881
- class: "top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",
3882
- children: properties.map((property) => {
3883
- const active = activeKey === property.key;
3884
- const value = appliedFilters[property.key] ?? {
3885
- select: property.select,
3886
- value: void 0
3887
- };
3888
- const onValueChange = (value2) => {
3889
- const {
3890
- newActiveKey,
3891
- newValue
3892
- } = nextStateFromValue({
3893
- property,
3894
- activeKey,
3895
- value: value2,
3896
- properties,
3897
- appliedFilters
3898
- });
3899
- setActiveKey(newActiveKey);
3900
- return onFilterValueChange(property.key, newValue);
3901
- };
3902
- const onActiveChange = (active2) => setActiveKey(active2 ? property.key : void 0);
3903
- const useQuery = makeQueryWithoutFilter(property.key);
3904
- return u$1(ErrorBoundary, {
3905
- Fallback: ErrorView,
3906
- children: u$1(Filter, {
3907
- unfilteredQuery,
3908
- active,
3909
- property,
3910
- onActiveChange,
3911
- value,
3912
- onSkip: () => {
3913
- var _a2;
3914
- const currentIndex = properties.findIndex((p2) => p2.key === activeKey);
3915
- const nextPropertyKey = currentIndex !== -1 ? (_a2 = properties[currentIndex + 1]) == null ? void 0 : _a2.key : void 0;
3916
- setActiveKey(nextPropertyKey);
3917
- },
3918
- useQuery,
3919
- onValueChange
3920
- })
3921
- }, property.key);
3922
- })
3923
- })
3924
- });
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
+ }) }) });
3925
3812
  };
3926
- const SkeletonText = ({
3927
- chars
3928
- }) => {
3929
- return u$1("span", {
3930
- style: {
3931
- width: chars + "ch"
3932
- },
3933
- class: "rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"
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;
3934
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
+ );
3935
4276
  };
3936
4277
  const wrapperClass = cva({
3937
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",
@@ -3941,184 +4282,117 @@ const wrapperClass = cva({
3941
4282
  false: "animate-skeleton"
3942
4283
  }
3943
4284
  },
3944
- defaultVariants: {
3945
- interactive: true
3946
- }
3947
- });
3948
- const badgeClass = cva({
3949
- base: "bg-tag-accent-strong-bg rounded-job-tag text-style-tag text-tag-accent-strong-copy font-weight-tag flex items-center justify-center px-2"
4285
+ defaultVariants: { interactive: true }
3950
4286
  });
3951
- const getDisplayableFilterProperty = ({
4287
+ const getDisplayableProperty = ({
3952
4288
  job,
3953
4289
  property
3954
4290
  }) => {
3955
- switch (typeof property) {
3956
- case "string":
3957
- if (isKeyInObj(property, job.raw))
3958
- return job.raw[property];
3959
- return null;
3960
- case "object":
3961
- return job.customData && property.transform(job.customData[property.key]);
3962
- default:
3963
- exhaustive(property);
3964
- }
4291
+ if (!property)
4292
+ return null;
4293
+ const value = get$1(job.raw, property.key);
4294
+ return property.transform ? property.transform(value) : value;
3965
4295
  };
3966
- const JobCard = ({
4296
+ const JobCardLogo = ({
3967
4297
  job,
3968
- config
4298
+ config = "hidden"
3969
4299
  }) => {
3970
- const subheading = config.subheading ? getDisplayableFilterProperty({
3971
- job,
3972
- property: config.subheading
3973
- }) : null;
3974
- const tags = config.infoTags.map((infoTag) => getDisplayableFilterProperty({
3975
- job,
3976
- property: infoTag
3977
- })).filter(Boolean);
3978
- return u$1("a", {
3979
- href: job.href,
3980
- class: wrapperClass(),
3981
- children: [u$1("div", {
3982
- class: "flex min-w-0 flex-1 flex-col gap-4",
3983
- children: [u$1("div", {
3984
- class: "gap-logo flex items-center",
3985
- children: [!config.logo || config.logo === "hidden" ? null : u$1("div", {
3986
- class: "rounded-logo bg-neutral-1 h-12 flex-none overflow-hidden",
3987
- style: {
3988
- aspectRatio: config.logo.replace(":", "/")
3989
- },
3990
- children: job.company.logo ? u$1("img", {
3991
- src: job.company.logo,
3992
- alt: job.company.name,
3993
- class: "h-full w-full select-none object-contain [-webkit-user-drag:none]"
3994
- }) : null
3995
- }), u$1("div", {
3996
- class: "flex flex-col items-start gap-1",
3997
- children: [u$1("div", {
3998
- class: "order-2 flex flex-col gap-1",
3999
- children: [u$1("p", {
4000
- class: "text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",
4001
- children: job.title
4002
- }), subheading ? u$1("p", {
4003
- class: "text-style-job-card text-copy-neutral-lowcontrast",
4004
- children: subheading
4005
- }) : null]
4006
- }), job.isNew ? u$1("span", {
4007
- class: badgeClass({
4008
- class: "order-1"
4009
- }),
4010
- children: "NEW"
4011
- }) : u$1("p", {
4012
- class: "text-style-job-card-info text-copy-job-info order-1",
4013
- children: ["Posted ", job.relativePostedDate]
4014
- })]
4015
- })]
4016
- }), u$1("div", {
4017
- class: "flex min-w-0 flex-col items-start gap-2",
4018
- children: [job.pay && u$1("span", {
4019
- class: tagClass({
4020
- variant: "monetaryWeak",
4021
- size: "xs"
4022
- }),
4023
- children: job.pay
4024
- }), tags.length > 0 && u$1("ul", {
4025
- class: "flex min-w-0 max-w-full flex-wrap items-center gap-2",
4026
- children: tags.map((tag) => u$1("li", {
4027
- class: tagClass({
4028
- size: "xs"
4029
- }),
4030
- children: tag
4031
- }, tag))
4032
- })]
4033
- })]
4034
- }), u$1("div", {
4035
- "aria-hidden": true,
4036
- class: "flex items-center",
4037
- children: u$1(Icon, {
4038
- name: "chevron-right",
4039
- class: "text-copy-neutral-icon"
4040
- })
4041
- })]
4042
- });
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
+ ] });
4043
4355
  };
4044
4356
  const JobCardSkeleton = ({
4045
4357
  config,
4046
4358
  animationDelay,
4047
4359
  seed
4048
4360
  }) => {
4049
- return u$1("div", {
4050
- "aria-hidden": true,
4051
- style: {
4052
- animationDelay: animationDelay + "s"
4053
- },
4054
- class: wrapperClass({
4055
- interactive: false
4056
- }),
4057
- children: [u$1("div", {
4058
- class: "flex flex-1 flex-col gap-4",
4059
- children: [u$1("div", {
4060
- class: "flex items-center gap-4",
4061
- children: [!config.logo || config.logo === "hidden" ? null : u$1("div", {
4062
- class: "rounded-logo bg-copy-neutral h-12 opacity-25",
4063
- style: {
4064
- aspectRatio: config.logo.replace(":", "/")
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(":", "/") }
4065
4371
  }
4066
- }), u$1("div", {
4067
- class: "flex flex-col items-start gap-1",
4068
- children: [u$1("p", {
4069
- class: "text-style-job-card-info text-copy-job-info",
4070
- children: u$1(SkeletonText, {
4071
- chars: 12
4072
- })
4073
- }), u$1("div", {
4074
- class: "flex flex-col gap-1",
4075
- children: [u$1("p", {
4076
- class: "text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",
4077
- children: u$1(SkeletonText, {
4078
- chars: 13 + (seed + 5) * seed % 7
4079
- })
4080
- }), config.subheading !== null ? u$1("p", {
4081
- class: "text-style-job-card text-copy-neutral-lowcontrast",
4082
- children: u$1(SkeletonText, {
4083
- chars: 7 + seed * seed % 3
4084
- })
4085
- }) : null]
4086
- })]
4087
- })]
4088
- }), u$1("div", {
4089
- class: "flex flex-col items-start gap-2",
4090
- children: [seed % 2 === 0 && u$1("span", {
4091
- class: tagClass({
4092
- variant: "neutralWeak",
4093
- size: "xs",
4094
- class: "h-[1lh] min-h-[1em] w-[10ch]"
4095
- })
4096
- }), u$1("div", {
4097
- class: "flex items-center gap-2",
4098
- children: [u$1("span", {
4099
- class: tagClass({
4100
- variant: "neutralWeak",
4101
- size: "xs",
4102
- class: "h-[1lh] min-h-[1em] w-[6ch]"
4103
- })
4104
- }), u$1("span", {
4105
- class: tagClass({
4106
- variant: "neutralWeak",
4107
- size: "xs",
4108
- class: "h-[1lh] min-h-[1em] w-[8ch]"
4109
- })
4110
- })]
4111
- })]
4112
- })]
4113
- }), u$1("div", {
4114
- "aria-hidden": true,
4115
- class: "flex items-center",
4116
- children: u$1(Icon, {
4117
- name: "chevron-right",
4118
- class: "text-copy-neutral-icon"
4119
- })
4120
- })]
4121
- });
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
+ ] });
4122
4396
  };
4123
4397
  const LoadMore = ({
4124
4398
  state,
@@ -4126,33 +4400,12 @@ const LoadMore = ({
4126
4400
  config
4127
4401
  }) => {
4128
4402
  if (state === "revalidating") {
4129
- return u$1("ul", {
4130
- class: "flex flex-col gap-3",
4131
- "aria-hidden": true,
4132
- children: Array.from({
4133
- length: PAGE_SIZE
4134
- }).map((_2, i2) => u$1("li", {
4135
- children: u$1(JobCardSkeleton, {
4136
- seed: i2,
4137
- animationDelay: (i2 - 4) * 0.1,
4138
- config
4139
- })
4140
- }, i2))
4141
- });
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)) });
4142
4404
  } else {
4143
- return u$1("button", {
4144
- class: btnClass({
4145
- variant: "neutral",
4146
- class: "py-2"
4147
- }),
4148
- onClick: fetchNextPage,
4149
- children: "Load More"
4150
- });
4405
+ return /* @__PURE__ */ u$1("button", { class: btnClass({ variant: "neutral", class: "py-2" }), onClick: fetchNextPage, children: "Load More" });
4151
4406
  }
4152
4407
  };
4153
- const getResultsCount = ({
4154
- pagination
4155
- }) => {
4408
+ const getResultsCount = ({ pagination }) => {
4156
4409
  invariant(pagination.total >= 0);
4157
4410
  if (pagination.total === 1)
4158
4411
  return "1 job found";
@@ -4166,27 +4419,24 @@ const ResultsSection = ({
4166
4419
  initialData
4167
4420
  }) => {
4168
4421
  const [page, setPage] = h(1);
4169
- return u$1(g$3, {
4170
- children: Array.from({
4171
- length: page
4172
- }).map((_2, index) => {
4173
- const isLast = index === page - 1;
4174
- return u$1(ErrorBoundary, {
4175
- Fallback: ErrorView,
4176
- children: u$1(ResultsPage, {
4177
- appliedFilters,
4178
- apiClient,
4179
- logger,
4180
- page: index + 1,
4181
- isFirst: index === 0,
4182
- isLast,
4183
- fetchNextPage: () => setPage(page + 1),
4184
- jobCardConfig,
4185
- initialData
4186
- }, index)
4187
- }, index);
4188
- })
4189
- });
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
+ }) });
4190
4440
  };
4191
4441
  const ResultsPage = ({
4192
4442
  appliedFilters,
@@ -4200,126 +4450,76 @@ const ResultsPage = ({
4200
4450
  initialData
4201
4451
  }) => {
4202
4452
  const fallbackData = page === 1 ? initialData : void 0;
4203
- const {
4204
- data,
4205
- error,
4206
- state,
4207
- swr
4208
- } = getQueryState(useSWR(cacheKey({
4209
- filter: appliedFilters,
4210
- baseKey: page.toString()
4211
- }), () => getJobSearchResults({
4212
- apiClient,
4213
- logger,
4214
- filters: appliedFilters,
4215
- page
4216
- }), {
4217
- ...SWR_SETTINGS,
4218
- fallbackData
4219
- }));
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
+ );
4220
4460
  switch (state) {
4221
4461
  case "loading":
4222
- return u$1(g$3, {
4223
- children: [isFirst && u$1("p", {
4224
- class: "text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",
4225
- children: u$1(SkeletonText, {
4226
- chars: 8
4227
- })
4228
- }), u$1("ul", {
4229
- class: "flex flex-col gap-3",
4230
- "aria-hidden": true,
4231
- children: Array.from({
4232
- length: PAGE_SIZE
4233
- }).map((_2, i2) => u$1("li", {
4234
- children: u$1(JobCardSkeleton, {
4235
- seed: i2,
4236
- animationDelay: (i2 - PAGE_SIZE) * 0.1,
4237
- config: jobCardConfig
4238
- })
4239
- }, i2))
4240
- })]
4241
- });
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
+ ] });
4242
4466
  case "error":
4243
- return u$1(ErrorView, {
4244
- class: "-m-4",
4245
- error: new Error("We’re having trouble loading available jobs.", {
4246
- cause: error
4247
- }),
4248
- resetError: () => swr.mutate()
4249
- });
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
+ );
4250
4475
  case "revalidating":
4251
4476
  case "loaded": {
4252
4477
  invariant(data.pagination.current_page === page, "Received wrong page from server");
4253
4478
  if (data.pagination.total === 0)
4254
- return u$1("div", {
4255
- class: "mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",
4256
- children: [u$1(Icon, {
4257
- "aria-hidden": true,
4258
- name: "magnifier",
4259
- class: "text-copy-neutral-lowcontrast"
4260
- }), u$1("div", {
4261
- class: "flex flex-col items-center gap-1",
4262
- children: [u$1("p", {
4263
- class: "text-copy-neutral text-style-job-heading",
4264
- children: "No jobs found"
4265
- }), u$1("p", {
4266
- class: "text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]",
4267
- children: "We could not find any jobs matching your filtering criteria."
4268
- })]
4269
- })]
4270
- });
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
+ ] });
4271
4486
  const hasMore = data.pagination.last_page !== data.pagination.current_page;
4272
- return u$1(g$3, {
4273
- children: [isFirst && u$1("p", {
4274
- class: "text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",
4275
- children: getResultsCount({
4276
- pagination: data.pagination
4277
- })
4278
- }), u$1("ul", {
4279
- "aria-label": `Page ${page}`,
4280
- class: "flex flex-col gap-3",
4281
- children: data.results.map((job) => {
4282
- return u$1("li", {
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
+ {
4283
4493
  class: "ease-expo-out duration-slow transition-opacity",
4284
- style: {
4285
- opacity: state === "revalidating" ? 0.33 : 1
4286
- },
4287
- children: u$1(JobCard, {
4288
- job,
4289
- config: jobCardConfig
4290
- })
4291
- }, job.id);
4292
- })
4293
- }), hasMore && isLast && u$1(LoadMore, {
4294
- state,
4295
- fetchNextPage,
4296
- config: jobCardConfig
4297
- })]
4298
- });
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
+ ] });
4299
4502
  }
4300
4503
  default:
4301
4504
  exhaustive(state);
4302
4505
  }
4303
4506
  };
4304
- const getFilterDefaults = (properties) => properties.reduce((acc, property) => {
4305
- switch (property.select) {
4306
- case "one":
4307
- acc[property.key] = {
4308
- select: property.select,
4309
- value: property.value
4310
- };
4311
- break;
4312
- case "many":
4313
- acc[property.key] = {
4314
- select: property.select,
4315
- value: property.value ? [property.value] : []
4316
- };
4317
- break;
4318
- default:
4319
- exhaustive(property.select);
4320
- }
4321
- return acc;
4322
- }, {});
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
+ );
4323
4523
  const JobSearch = ({
4324
4524
  apiClient,
4325
4525
  logger,
@@ -4330,76 +4530,54 @@ const JobSearch = ({
4330
4530
  onFilterChange,
4331
4531
  params
4332
4532
  }) => {
4333
- const appRef = _(null);
4533
+ const appRef = A$1(null);
4334
4534
  const [appliedFilters, setAppliedFilters] = h(() => ({
4335
4535
  default: true,
4336
4536
  filters: getFilterDefaults(properties)
4337
4537
  }));
4338
- return u$1("div", {
4339
- ref: appRef,
4340
- class: className,
4341
- id: JOB_SEARCH_SCOPE_ELEMENT_ID,
4342
- children: u$1("div", {
4343
- class: "ijs-app bg-app rounded-app font-family-default font-weight-default font-style-default mx-auto flex min-h-screen max-w-screen-lg flex-col gap-4 py-4 md:grid md:grid-cols-3 md:px-4",
4344
- children: [u$1(ErrorBoundary, {
4345
- Fallback: ErrorView,
4346
- children: u$1("div", {
4347
- class: "flex flex-col gap-2",
4348
- children: [u$1(FilterSection, {
4349
- appliedFilters: appliedFilters.filters,
4350
- onFilterValueChange: (key, value) => {
4351
- setAppliedFilters((prev) => {
4352
- onFilterChange == null ? void 0 : onFilterChange({
4353
- ...prev.filters,
4354
- [key]: value
4355
- });
4356
- return {
4357
- default: false,
4358
- filters: {
4359
- ...prev.filters,
4360
- [key]: value
4361
- }
4362
- };
4363
- });
4364
- },
4365
- properties,
4366
- parentRef: appRef,
4367
- logger,
4368
- apiClient
4369
- }), params.enableJobAlerts && u$1("div", {
4370
- class: "flex justify-center px-4 md:px-0",
4371
- children: u$1(AlertsButton, {
4372
- appliedFilters: appliedFilters.filters,
4373
- analytics,
4374
- apiClient,
4375
- logger,
4376
- theme: params.theme
4377
- })
4378
- })]
4379
- })
4380
- }), u$1("div", {
4381
- class: "md:col-span-2",
4382
- children: u$1("section", {
4383
- class: "bg-section-strong-bg ring-section-weak-stroke rounded-section ring-px lg:ring-width-section flex flex-col gap-4 p-4",
4384
- children: u$1(ErrorBoundary, {
4385
- Fallback: ErrorView,
4386
- children: u$1(ResultsSection, {
4387
- appliedFilters: appliedFilters.filters,
4388
- logger,
4389
- apiClient,
4390
- jobCardConfig: params.jobCard,
4391
- initialData: appliedFilters.default ? initialData == null ? void 0 : initialData.jobs : void 0
4392
- }, cacheKey({
4393
- filter: appliedFilters.filters,
4394
- baseKey: "resultsSection"
4395
- }))
4396
- })
4397
- })
4398
- })]
4399
- })
4400
- });
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
+ ] }) });
4401
4579
  };
4402
- const tailwind = "#ijs {\n font-size: 16px;\n --tw-content: '';\n}\n\n #ijs * {\n box-sizing: border-box;\n border-style: solid;\n border-width: 0;\n -webkit-tap-highlight-color: transparent;\n font-family: inherit;\n font-style: inherit;\n font-weight: inherit;\n }\n\n #ijs ::before,\n #ijs ::after {\n box-sizing: border-box;\n }\n\n #ijs :is(a) {\n text-decoration: none;\n }\n\n #ijs :is(ul, ol) {\n list-style: none;\n padding: 0;\n margin: 0;\n }\n\n #ijs :is(p) {\n margin: 0;\n padding: 0;\n }\n\n #ijs :is(li) {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n\n #ijs :is(button),\n #ijs :is(a) {\n display: block;\n margin: 0;\n padding: 0;\n border: unset;\n background: unset;\n text-align: unset;\n }\n\n #ijs :is(input),\n #ijs :is(textarea) {\n display: block;\n margin: 0;\n padding: 0;\n min-width: 0;\n max-width: unset;\n width: 100%;\n }\n\n #ijs :is(svg) {\n display: block;\n }\n\n #ijs.reduced-motion * {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n animation-delay: 0s !important;\n }\n\n @media (prefers-reduced-motion) {\n #ijs * {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n animation-delay: 0s !important;\n }\n }\n\n #ijs *, #ijs ::before, #ijs ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n}\n\n #ijs ::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n}\n\n #ijs .container {\n width: 100%;\n}\n\n @media (min-width: 640px) {\n\n #ijs .container {\n max-width: 640px;\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .container {\n max-width: 768px;\n }\n}\n\n @media (min-width: 1024px) {\n\n #ijs .container {\n max-width: 1024px;\n }\n}\n\n @media (min-width: 1280px) {\n\n #ijs .container {\n max-width: 1280px;\n }\n}\n\n @media (min-width: 1536px) {\n\n #ijs .container {\n max-width: 1536px;\n }\n}\n\n #ijs .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n #ijs .pointer-events-none {\n pointer-events: none;\n}\n\n #ijs .visible {\n visibility: visible;\n}\n\n #ijs .invisible {\n visibility: hidden;\n}\n\n #ijs .collapse {\n visibility: collapse;\n}\n\n #ijs .static {\n position: static;\n}\n\n #ijs .fixed {\n position: fixed;\n}\n\n #ijs .absolute {\n position: absolute;\n}\n\n #ijs .relative {\n position: relative;\n}\n\n #ijs .sticky {\n position: sticky;\n}\n\n #ijs .bottom-0 {\n bottom: 0px;\n}\n\n #ijs .right-0 {\n right: 0px;\n}\n\n #ijs .top-0 {\n top: 0px;\n}\n\n #ijs .isolate {\n isolation: isolate;\n}\n\n #ijs .z-50 {\n z-index: 50;\n}\n\n #ijs .order-1 {\n order: 1;\n}\n\n #ijs .order-2 {\n order: 2;\n}\n\n #ijs .col-span-full {\n grid-column: 1 / -1;\n}\n\n #ijs .row-span-full {\n grid-row: 1 / -1;\n}\n\n #ijs .-m-4 {\n margin: -1rem;\n}\n\n #ijs .m-0 {\n margin: 0px;\n}\n\n #ijs .m-11 {\n margin: 2.75rem;\n}\n\n #ijs .m-3 {\n margin: 0.75rem;\n}\n\n #ijs .m-4 {\n margin: 1rem;\n}\n\n #ijs .mx-auto {\n margin-left: auto;\n margin-right: auto;\n}\n\n #ijs .ml-auto {\n margin-left: auto;\n}\n\n #ijs .mt-0 {\n margin-top: 0px;\n}\n\n #ijs .mt-0\\.5 {\n margin-top: 0.125rem;\n}\n\n #ijs .block {\n display: block;\n}\n\n #ijs .inline-block {\n display: inline-block;\n}\n\n #ijs .inline {\n display: inline;\n}\n\n #ijs .flex {\n display: flex;\n}\n\n #ijs .inline-flex {\n display: inline-flex;\n}\n\n #ijs .table {\n display: table;\n}\n\n #ijs .table-row {\n display: table-row;\n}\n\n #ijs .flow-root {\n display: flow-root;\n}\n\n #ijs .grid {\n display: grid;\n}\n\n #ijs .inline-grid {\n display: inline-grid;\n}\n\n #ijs .contents {\n display: contents;\n}\n\n #ijs .list-item {\n display: list-item;\n}\n\n #ijs .\\!hidden {\n display: none !important;\n}\n\n #ijs .hidden {\n display: none;\n}\n\n #ijs .h-12 {\n height: 3rem;\n}\n\n #ijs .h-4 {\n height: 1rem;\n}\n\n #ijs .h-8 {\n height: 2rem;\n}\n\n #ijs .h-\\[1lh\\] {\n height: 1lh;\n}\n\n #ijs .h-full {\n height: 100%;\n}\n\n #ijs .min-h-\\[1em\\] {\n min-height: 1em;\n}\n\n #ijs .min-h-\\[36px\\] {\n min-height: 36px;\n}\n\n #ijs .min-h-screen {\n min-height: 100vh;\n}\n\n #ijs .w-4 {\n width: 1rem;\n}\n\n #ijs .w-64 {\n width: 16rem;\n}\n\n #ijs .w-\\[10ch\\] {\n width: 10ch;\n}\n\n #ijs .w-\\[6ch\\] {\n width: 6ch;\n}\n\n #ijs .w-\\[8ch\\] {\n width: 8ch;\n}\n\n #ijs .w-full {\n width: 100%;\n}\n\n #ijs .min-w-0 {\n min-width: 0px;\n}\n\n #ijs .max-w-\\[var\\(--radix-popover-content-available-width\\)\\] {\n max-width: var(--radix-popover-content-available-width);\n}\n\n #ijs .max-w-full {\n max-width: 100%;\n}\n\n #ijs .max-w-screen-lg {\n max-width: 1024px;\n}\n\n #ijs .flex-1 {\n flex: 1 1 0%;\n}\n\n #ijs .flex-none {\n flex: none;\n}\n\n #ijs .flex-shrink {\n flex-shrink: 1;\n}\n\n #ijs .shrink {\n flex-shrink: 1;\n}\n\n #ijs .shrink-0 {\n flex-shrink: 0;\n}\n\n #ijs .flex-grow {\n flex-grow: 1;\n}\n\n #ijs .grow {\n flex-grow: 1;\n}\n\n #ijs .border-collapse {\n border-collapse: collapse;\n}\n\n #ijs .origin-\\[50\\%_1\\.75rem\\] {\n transform-origin: 50% 1.75rem;\n}\n\n #ijs .origin-top {\n transform-origin: top;\n}\n\n #ijs .translate-y-0 {\n --tw-translate-y: 0px;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .transform {\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n @keyframes appear-tag {\n\n 0% {\n transform: scale(0.9);\n }\n\n 100% {\n transform: scale(1);\n }\n}\n\n #ijs .animate-appear-tag {\n animation: appear-tag .6s cubic-bezier(0.16, 1, 0.3, 1) both;\n}\n\n @keyframes selected-tag {\n\n 0% {\n transform: scale(1.11);\n }\n\n 100% {\n transform: scale(1);\n }\n}\n\n #ijs .animate-selected-tag {\n animation: selected-tag .9s cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n @keyframes skeleton {\n\n 0% {\n opacity: 0.2;\n }\n\n 50% {\n opacity: 0.6;\n }\n\n 100% {\n opacity: 0.25;\n }\n}\n\n #ijs .animate-skeleton {\n animation: skeleton 1.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n}\n\n @keyframes slide-in-bottom {\n\n 0% {\n transform: translateY(-50%);\n }\n\n 100% {\n transform: translateY(0);\n }\n}\n\n #ijs .animate-slide-in-bottom {\n animation: slide-in-bottom .4s cubic-bezier(0.16, 1, 0.3, 1) both;\n}\n\n #ijs .cursor-default {\n cursor: default;\n}\n\n #ijs .cursor-pointer {\n cursor: pointer;\n}\n\n #ijs .select-none {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n\n #ijs .resize {\n resize: both;\n}\n\n #ijs .appearance-none {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n\n #ijs .flex-col {\n flex-direction: column;\n}\n\n #ijs .flex-wrap {\n flex-wrap: wrap;\n}\n\n #ijs .flex-nowrap {\n flex-wrap: nowrap;\n}\n\n #ijs .items-start {\n align-items: flex-start;\n}\n\n #ijs .items-center {\n align-items: center;\n}\n\n #ijs .justify-end {\n justify-content: flex-end;\n}\n\n #ijs .justify-center {\n justify-content: center;\n}\n\n #ijs .gap-1 {\n gap: 0.25rem;\n}\n\n #ijs .gap-1\\.5 {\n gap: 0.375rem;\n}\n\n #ijs .gap-2 {\n gap: 0.5rem;\n}\n\n #ijs .gap-2\\.5 {\n gap: 0.625rem;\n}\n\n #ijs .gap-3 {\n gap: 0.75rem;\n}\n\n #ijs .gap-4 {\n gap: 1rem;\n}\n\n #ijs .gap-logo {\n gap: var(--i-logo-gap);\n}\n\n #ijs .self-center {\n align-self: center;\n}\n\n #ijs .overflow-hidden {\n overflow: hidden;\n}\n\n #ijs .overflow-y-auto {\n overflow-y: auto;\n}\n\n #ijs .truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n #ijs .rounded-app {\n border-radius: var(--i-radius-app);\n}\n\n #ijs .rounded-input {\n border-radius: var(--i-radius-input);\n}\n\n #ijs .rounded-interactive {\n border-radius: var(--i-radius-interactive);\n}\n\n #ijs .rounded-job-card {\n border-radius: var(--i-radius-job-card);\n}\n\n #ijs .rounded-job-tag {\n border-radius: var(--i-radius-job-tag);\n}\n\n #ijs .rounded-logo {\n border-radius: var(--i-radius-logo);\n}\n\n #ijs .rounded-section {\n border-radius: var(--i-radius-section);\n}\n\n #ijs .rounded-tag {\n border-radius: var(--i-radius-job-tag);\n}\n\n #ijs .border-px {\n border-width: 1px;\n}\n\n #ijs .border-solid {\n border-style: solid;\n}\n\n #ijs .border-tag-accent-strong-stroke {\n border-color: var(--i-tag-accent-strong-stroke-color);\n}\n\n #ijs .border-tag-monetary-weak-stroke {\n border-color: var(--i-tag-monetary-weak-stroke-color);\n}\n\n #ijs .border-tag-neutral-strong-stroke {\n border-color: var(--i-tag-neutral-strong-stroke-color);\n}\n\n #ijs .border-tag-neutral-weak-stroke {\n border-color: var(--i-tag-neutral-weak-stroke-color);\n}\n\n #ijs .border-transparent {\n border-color: transparent;\n}\n\n #ijs .bg-\\[currentColor\\] {\n background-color: currentColor;\n}\n\n #ijs .bg-accent-9 {\n background-color: var(--i-color-a-9);\n}\n\n #ijs .bg-app {\n background-color: var(--i-app-bg);\n}\n\n #ijs .bg-copy-neutral {\n background-color: var(--i-copy);\n}\n\n #ijs .bg-interactive-accent-bg {\n background-color: var(--i-interactive-accent-bg);\n}\n\n #ijs .bg-interactive-neutral-bg {\n background-color: var(--i-interactive-neutral-bg);\n}\n\n #ijs .bg-job-card-bg {\n background-color: var(--i-job-card-bg);\n}\n\n #ijs .bg-lowest {\n background-color: var(--i-color-lowest);\n}\n\n #ijs .bg-neutral-1 {\n background-color: var(--i-color-n-1);\n}\n\n #ijs .bg-neutral-12 {\n background-color: var(--i-color-n-12);\n}\n\n #ijs .bg-section-strong-bg {\n background-color: var(--i-section-strong-bg);\n}\n\n #ijs .bg-section-weak-bg {\n background-color: var(--i-section-weak-bg);\n}\n\n #ijs .bg-tag-accent-strong-bg {\n background-color: var(--i-tag-accent-strong-bg);\n}\n\n #ijs .bg-tag-monetary-weak-bg {\n background-color: var(--i-tag-monetary-weak-bg);\n}\n\n #ijs .bg-tag-neutral-strong-bg {\n background-color: var(--i-tag-neutral-strong-bg);\n}\n\n #ijs .bg-tag-neutral-weak-bg {\n background-color: var(--i-tag-neutral-weak-bg);\n}\n\n #ijs .object-contain {\n -o-object-fit: contain;\n object-fit: contain;\n}\n\n #ijs .p-0 {\n padding: 0px;\n}\n\n #ijs .p-1 {\n padding: 0.25rem;\n}\n\n #ijs .p-2 {\n padding: 0.5rem;\n}\n\n #ijs .p-4 {\n padding: 1rem;\n}\n\n #ijs .p-6 {\n padding: 1.5rem;\n}\n\n #ijs .px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n\n #ijs .px-2\\.5 {\n padding-left: 0.625rem;\n padding-right: 0.625rem;\n}\n\n #ijs .px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n\n #ijs .px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n}\n\n #ijs .px-5 {\n padding-left: 1.25rem;\n padding-right: 1.25rem;\n}\n\n #ijs .py-1 {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n}\n\n #ijs .py-1\\.5 {\n padding-top: 0.375rem;\n padding-bottom: 0.375rem;\n}\n\n #ijs .py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n #ijs .py-4 {\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n\n #ijs .pb-4 {\n padding-bottom: 1rem;\n}\n\n #ijs .pl-1 {\n padding-left: 0.25rem;\n}\n\n #ijs .pl-2 {\n padding-left: 0.5rem;\n}\n\n #ijs .pl-2\\.5 {\n padding-left: 0.625rem;\n}\n\n #ijs .pl-3 {\n padding-left: 0.75rem;\n}\n\n #ijs .pl-4 {\n padding-left: 1rem;\n}\n\n #ijs .pl-5 {\n padding-left: 1.25rem;\n}\n\n #ijs .pr-1 {\n padding-right: 0.25rem;\n}\n\n #ijs .pr-3 {\n padding-right: 0.75rem;\n}\n\n #ijs .pr-5 {\n padding-right: 1.25rem;\n}\n\n #ijs .pr-8 {\n padding-right: 2rem;\n}\n\n #ijs .pt-1 {\n padding-top: 0.25rem;\n}\n\n #ijs .text-center {\n text-align: center;\n}\n\n #ijs .text-justify {\n text-align: justify;\n}\n\n #ijs .font-family-default {\n font-family: var(--i-font);\n}\n\n #ijs .font-family-filter {\n font-family: var(--i-font-filter);\n}\n\n #ijs .font-family-job-heading {\n font-family: var(--i-font-job-heading);\n}\n\n #ijs .font-family-tag {\n font-family: var(--i-font-tag);\n}\n\n #ijs .text-style-filter {\n font-size: 1rem;\n line-height: 1.5rem;\n letter-spacing: -0.01em;\n}\n\n #ijs .text-style-input {\n font-size: 1rem;\n line-height: 1.5rem;\n}\n\n #ijs .text-style-job-card {\n font-size: 0.875rem;\n line-height: 1.125rem;\n}\n\n #ijs .text-style-job-card-info {\n font-size: 0.75rem;\n line-height: 1.125rem;\n}\n\n #ijs .text-style-job-heading {\n font-size: 1.125rem;\n line-height: 1.5rem;\n}\n\n #ijs .text-style-tag {\n font-size: 0.875rem;\n line-height: 1.5rem;\n}\n\n #ijs .font-weight-default {\n font-weight: var(--i-weight-default);\n}\n\n #ijs .font-weight-filter {\n font-weight: var(--i-weight-filter);\n}\n\n #ijs .font-weight-input {\n font-weight: var(--i-weight-input);\n}\n\n #ijs .font-weight-job-heading {\n font-weight: var(--i-weight-job-heading);\n}\n\n #ijs .font-weight-tag {\n font-weight: var(--i-weight-tag);\n}\n\n #ijs .uppercase {\n text-transform: uppercase;\n}\n\n #ijs .lowercase {\n text-transform: lowercase;\n}\n\n #ijs .capitalize {\n text-transform: capitalize;\n}\n\n #ijs .italic {\n font-style: italic;\n}\n\n #ijs .ordinal {\n --tw-ordinal: ordinal;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);\n}\n\n #ijs .tabular-nums {\n --tw-numeric-spacing: tabular-nums;\n font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);\n}\n\n #ijs .leading-snug {\n line-height: 1.375;\n}\n\n #ijs .text-\\[\\#E5484D\\] {\n --tw-text-opacity: 1;\n color: rgb(229 72 77 / var(--tw-text-opacity));\n}\n\n #ijs .text-accent-1 {\n color: var(--i-color-a-1);\n}\n\n #ijs .text-accent-11 {\n color: var(--i-color-a-11);\n}\n\n #ijs .text-copy-accent {\n color: var(--i-copy-accent);\n}\n\n #ijs .text-copy-job-info {\n color: var(--i-copy-info);\n}\n\n #ijs .text-copy-neutral {\n color: var(--i-copy);\n}\n\n #ijs .text-copy-neutral-icon {\n color: var(--i-copy-icon);\n}\n\n #ijs .text-copy-neutral-lowcontrast {\n color: var(--i-copy-lowcontrast);\n}\n\n #ijs .text-interactive-accent-text {\n color: var(--i-interactive-accent-text);\n}\n\n #ijs .text-interactive-neutral-bg {\n color: var(--i-interactive-neutral-bg);\n}\n\n #ijs .text-interactive-neutral-text {\n color: var(--i-interactive-neutral-text);\n}\n\n #ijs .text-neutral-1 {\n color: var(--i-color-n-1);\n}\n\n #ijs .text-neutral-10 {\n color: var(--i-color-n-10);\n}\n\n #ijs .text-neutral-11 {\n color: var(--i-color-n-11);\n}\n\n #ijs .text-neutral-8 {\n color: var(--i-color-n-8);\n}\n\n #ijs .text-tag-accent-strong-copy {\n color: var(--i-tag-accent-strong-copy);\n}\n\n #ijs .text-tag-monetary-weak-copy {\n color: var(--i-tag-monetary-weak-copy);\n}\n\n #ijs .text-tag-neutral-strong-copy {\n color: var(--i-tag-neutral-strong-copy);\n}\n\n #ijs .text-tag-neutral-weak-copy {\n color: var(--i-tag-neutral-weak-copy);\n}\n\n #ijs .caret-accent-11 {\n caret-color: var(--i-color-a-11);\n}\n\n #ijs .opacity-0 {\n opacity: 0;\n}\n\n #ijs .opacity-20 {\n opacity: 0.2;\n}\n\n #ijs .opacity-25 {\n opacity: 0.25;\n}\n\n #ijs .shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .shadow-\\[0_0_0_1px\\] {\n --tw-shadow: 0 0 0 1px;\n --tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .outline-none {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n #ijs .outline {\n outline-style: solid;\n}\n\n #ijs .ring-\\[1px\\] {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .ring-px {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .ring-width-job-card {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-job-card-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .ring-width-section {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .ring-job-card-stroke {\n --tw-ring-color: var(--i-job-card-stroke-color);\n}\n\n #ijs .ring-neutral-4 {\n --tw-ring-color: var(--i-color-n-4);\n}\n\n #ijs .ring-neutral-5 {\n --tw-ring-color: var(--i-color-n-5);\n}\n\n #ijs .ring-section-strong-stroke {\n --tw-ring-color: var(--i-section-strong-stroke-color);\n}\n\n #ijs .ring-section-weak-stroke {\n --tw-ring-color: var(--i-section-weak-stroke-color);\n}\n\n #ijs .blur {\n --tw-blur: blur(8px);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .grayscale {\n --tw-grayscale: grayscale(100%);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .invert {\n --tw-invert: invert(100%);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .sepia {\n --tw-sepia: sepia(100%);\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .filter {\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n #ijs .backdrop-filter {\n -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);\n}\n\n #ijs .transition {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n #ijs .transition-all {\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n #ijs .transition-opacity {\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n #ijs .duration-medium {\n transition-duration: .6s;\n}\n\n #ijs .duration-slow {\n transition-duration: .9s;\n}\n\n #ijs .duration-snappy {\n transition-duration: .4s;\n}\n\n #ijs .ease-expo-out {\n transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);\n}\n\n #ijs .will-change-\\[transform\\2c opacity\\] {\n will-change: transform,opacity;\n}\n\n #ijs .font-style-default {\n font-style: var(--i-font-style);\n}\n\n #ijs .font-style-filter {\n font-style: var(--i-style-filter);\n}\n\n #ijs .font-style-input {\n font-style: var(--i-style-input);\n}\n\n #ijs .font-style-job-heading {\n font-style: var(--i-style-job-heading);\n}\n\n #ijs .font-style-tag {\n font-style: var(--i-style-tag);\n}\n\n #ijs .top-filters {\n top: var(--i-filters-offset-top);\n}\n\n #ijs .fr {\n outline: none;\n}\n\n #ijs .fr:focus {\n outline: none;\n}\n\n #ijs .fr:focus-visible {\n outline: none;\n --tw-ring-offset-width: 1px;\n --tw-ring-offset-color: var(--i-color-lowest);\n --tw-ring-opacity: 1;\n --tw-ring-color: var(--i-color-a-9);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .fr-parent:has(.fr-child:focus-visible) {\n outline: none;\n --tw-ring-offset-width: 1px;\n --tw-ring-offset-color: var(--i-color-lowest);\n --tw-ring-opacity: 1;\n --tw-ring-color: var(--i-color-a-9);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n}\n\n #ijs .fr-child {}\n\n #ijs .hide-scrollbars::-webkit-scrollbar {\n display: none;\n}\n\n #ijs .hide-scrollbars {\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n\n #ijs .touch-hitbox::before {\n content: '';\n position: absolute;\n display: block;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n height: 100%;\n min-height: 44px;\n min-width: 44px;\n z-index: 9999;\n}\n\n #ijs .\\[-webkit-user-drag\\:none\\] {\n -webkit-user-drag: none;\n}\n\n #ijs .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\] {\n a-z-a--z0-9-_: .$@?;\n}\n\n #ijs .\\[text-wrap\\:balance\\] {\n text-wrap: balance;\n}\n\n #ijs .\\[text-wrap\\:pretty\\] {\n text-wrap: pretty;\n}\n\n #ijs .placeholder\\:text-neutral-10::-moz-placeholder {\n color: var(--i-color-n-10);\n}\n\n #ijs .placeholder\\:text-neutral-10::placeholder {\n color: var(--i-color-n-10);\n}\n\n #ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill {\n -webkit-text-fill-color: var(--i-color-a-11);\n}\n\n #ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill {\n -webkit-text-fill-color: var(--i-color-a-11);\n}\n\n #ijs .focus-within\\:z-10:focus-within {\n z-index: 10;\n}\n\n #ijs .hover\\:scale-\\[1\\.02\\]:hover {\n --tw-scale-x: 1.02;\n --tw-scale-y: 1.02;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .focus\\:shadow-\\[0_0_0_2px\\]:focus {\n --tw-shadow: 0 0 0 2px;\n --tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .focus\\:outline-none:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n\n #ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill {\n --tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);\n --tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n #ijs .active\\:-scale-100:active {\n --tw-scale-x: -1;\n --tw-scale-y: -1;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .active\\:scale-95:active {\n --tw-scale-x: .95;\n --tw-scale-y: .95;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .active\\:scale-\\[\\.97\\]:active {\n --tw-scale-x: .97;\n --tw-scale-y: .97;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .active\\:scale-\\[0\\.975\\]:active {\n --tw-scale-x: 0.975;\n --tw-scale-y: 0.975;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .active\\:bg-accent-10:active {\n background-color: var(--i-color-a-10);\n}\n\n #ijs .active\\:bg-job-card-bg-active:active {\n background-color: var(--i-job-card-bg-active);\n}\n\n #ijs .active\\:ring-job-card-stroke-active:active {\n --tw-ring-color: var(--i-job-card-stroke-color-active);\n}\n\n #ijs .data-\\[state\\=idle\\]\\:translate-y-full[data-state=idle] {\n --tw-translate-y: 100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .data-\\[state\\=loading\\]\\:-translate-y-full[data-state=loading] {\n --tw-translate-y: -100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .data-\\[state\\=success\\]\\:translate-y-full[data-state=success] {\n --tw-translate-y: 100%;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n #ijs .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle] {\n opacity: 0;\n}\n\n #ijs .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle] {\n opacity: 1;\n}\n\n @media (pointer: coarse) {\n\n #ijs .pointer-coarse\\:overflow-x-auto {\n overflow-x: auto;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:w-full {\n width: 100%;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:flex-wrap {\n flex-wrap: wrap;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:rounded-section {\n border-radius: var(--i-radius-section);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:bg-app {\n background-color: var(--i-app-bg);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:p-2 {\n padding: 0.5rem;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:ring-width-section {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:hover\\:bg-interactive-accent-bg-hover:hover {\n background-color: var(--i-interactive-accent-bg-hover);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .pointer-fine\\:hover\\:bg-interactive-neutral-bg-hover:hover {\n background-color: var(--i-interactive-neutral-bg-hover);\n }\n}\n\n @media (pointer: fine) {\n\n #ijs .group:hover .pointer-fine\\:group-hover\\:text-copy-neutral {\n color: var(--i-copy);\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:col-span-2 {\n grid-column: span 2 / span 2;\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:grid {\n display: grid;\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:px-0 {\n padding-left: 0px;\n padding-right: 0px;\n }\n}\n\n @media (min-width: 768px) {\n\n #ijs .md\\:px-4 {\n padding-left: 1rem;\n padding-right: 1rem;\n }\n}\n\n @media (min-width: 1024px) {\n\n #ijs .lg\\:ring-width-section {\n --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);\n --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);\n box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);\n }\n}\n\n #ijs .\\[\\&\\:has\\(\\.fr-child\\:active\\)\\]\\:scale-\\[0\\.975\\]:has(.fr-child:active) {\n --tw-scale-x: 0.975;\n --tw-scale-y: 0.975;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n";
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";
4403
4581
  var COLOR_SHADES = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"];
4404
4582
  var OKLCH_PRESETS = {
4405
4583
  light: {
@@ -4521,37 +4699,30 @@ var designTokens = () => {
4521
4699
  })
4522
4700
  };
4523
4701
  };
4524
- const match = (m2) => {
4702
+ const match = (subject) => {
4525
4703
  const patterns = [];
4526
- const i2 = (m22) => ({
4527
- with: (p2, fn2) => {
4528
- patterns.push({
4529
- p: p2,
4530
- fn: fn2
4531
- });
4532
- return i2(m22);
4704
+ const run = (subject2) => ({
4705
+ with: (pattern, fn2) => {
4706
+ patterns.push({ pattern, fn: fn2 });
4707
+ return run(subject2);
4533
4708
  },
4534
- otherwise: (o2) => {
4709
+ otherwise: (fallback) => {
4535
4710
  pattern:
4536
- for (let i22 = patterns.length - 1; i22 >= 0; i22--) {
4537
- const pattern = patterns[i22];
4538
- for (const key in pattern.p) {
4539
- if (pattern.p[key] !== m22[key])
4711
+ for (const { fn: fn2, pattern } of patterns) {
4712
+ for (const key in pattern)
4713
+ if (pattern[key] !== subject2[key])
4540
4714
  continue pattern;
4541
- return pattern.fn(m22);
4542
- }
4715
+ return fn2(subject2);
4543
4716
  }
4544
- if (o2)
4545
- return o2(m22);
4717
+ if (fallback)
4718
+ return fallback(subject2);
4546
4719
  throw new Error("No pattern matched");
4547
4720
  }
4548
4721
  });
4549
- return i2(m2);
4722
+ return run(subject);
4550
4723
  };
4551
4724
  const [black, white, transparent] = ["oklch(0 0 0)", "oklch(100 0 0)", "transparent"];
4552
- const tokens = designTokens().core(({
4553
- theme
4554
- }) => ({
4725
+ const tokens = designTokens().core(({ theme }) => ({
4555
4726
  color: {
4556
4727
  black,
4557
4728
  white,
@@ -4579,17 +4750,10 @@ const tokens = designTokens().core(({
4579
4750
  transform: sameAsInput
4580
4751
  })
4581
4752
  }
4582
- })).semantic(({
4583
- core,
4584
- theme,
4585
- raw
4586
- }) => {
4753
+ })).semantic(({ core, theme, raw }) => {
4587
4754
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n2, _o, _p, _q, _r, _s, _t, _u;
4588
4755
  const withOpacity = (token, opacity) => raw.core.color[token].replace(")", ` / ${opacity})`);
4589
- const {
4590
- typography,
4591
- highlights
4592
- } = theme;
4756
+ const { typography, highlights } = theme;
4593
4757
  const highContrast = ((_a = theme.accessibility) == null ? void 0 : _a.highContrast) ?? false;
4594
4758
  return {
4595
4759
  "filters-offset-top": (theme.filtersOffsetTopPx ?? 112) + "px",
@@ -4630,102 +4794,60 @@ const tokens = designTokens().core(({
4630
4794
  "tag-accent-strong-bg": theme.mode === "dark" ? core("color.a-9") : core("color.a-11"),
4631
4795
  "tag-accent-strong-copy": core("color.white"),
4632
4796
  "tag-accent-strong-stroke-color": transparent,
4633
- "radius-app": match(theme).with({
4634
- corners: "rounded"
4635
- }, () => "2rem").with({
4636
- corners: "soft"
4637
- }, () => "2rem").otherwise(() => "0"),
4638
- "radius-section": match(theme).with({
4639
- corners: "rounded"
4640
- }, () => "1rem").with({
4641
- corners: "soft"
4642
- }, () => "1rem").with({
4643
- corners: "sharp"
4644
- }, () => "0").otherwise(),
4645
- "radius-input": match(theme).with({
4646
- corners: "rounded"
4647
- }, () => ".5rem").with({
4648
- corners: "soft"
4649
- }, () => ".25rem").with({
4650
- corners: "sharp"
4651
- }, () => "0").otherwise(),
4652
- "radius-job-card": match(theme).with({
4653
- corners: "rounded"
4654
- }, () => "0.75rem").with({
4655
- corners: "soft"
4656
- }, () => "0.5rem").with({
4657
- corners: "sharp"
4658
- }, () => "0").otherwise(),
4659
- "radius-job-tag": match(theme).with({
4660
- corners: "rounded"
4661
- }, () => "0.5rem").with({
4662
- corners: "soft"
4663
- }, () => "0.25rem").with({
4664
- corners: "sharp"
4665
- }, () => "0").otherwise(),
4666
- "radius-logo": match(theme).with({
4667
- corners: "rounded"
4668
- }, () => ".25rem").with({
4669
- corners: "soft"
4670
- }, () => ".125rem").with({
4671
- corners: "sharp"
4672
- }, () => "0").otherwise(),
4673
- "logo-gap": match(theme).with({
4674
- corners: "rounded"
4675
- }, () => "0.75rem").with({
4676
- corners: "soft"
4677
- }, () => "1rem").with({
4678
- corners: "sharp"
4679
- }, () => "1rem").otherwise(),
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(),
4680
4804
  "interactive-neutral-bg": withOpacity(highContrast ? "n-5" : "n-4", 0.01),
4681
4805
  "interactive-neutral-bg-hover": highContrast ? core("color.n-5") : core("color.n-4"),
4682
4806
  "interactive-neutral-text": core("color.n-12"),
4683
4807
  "interactive-accent-bg": withOpacity(highlights === "fill" ? "a-4" : "a-3", 0.01),
4684
4808
  "interactive-accent-bg-hover": highlights === "fill" ? core("color.a-4") : core("color.a-3"),
4685
4809
  "interactive-accent-text": core("color.a-11"),
4686
- "radius-interactive": match(theme).with({
4687
- corners: "rounded"
4688
- }, () => "1.5rem").with({
4689
- corners: "soft"
4690
- }, () => ".5rem").with({
4691
- corners: "sharp"
4692
- }, () => "0").otherwise(),
4810
+ "radius-interactive": match(theme).with({ corners: "rounded" }, () => "1.5rem").with({ corners: "soft" }, () => ".5rem").with({ corners: "sharp" }, () => "0").otherwise(),
4693
4811
  "section-weak-bg": highlights === "fill" ? core("color.n-2") : transparent,
4694
4812
  "section-strong-bg": highlights === "fill" ? highContrast ? core("color.n-3") : core("color.n-2") : transparent,
4695
4813
  "section-weak-stroke-color": highlights === "fill" ? transparent : highContrast ? core("color.n-7") : core("color.n-3"),
4696
4814
  "section-strong-stroke-color": highlights === "fill" ? transparent : highContrast ? core("color.n-11") : core("color.n-4"),
4697
- "section-stroke-width": match(theme).with({
4698
- highlights: "stroke",
4699
- highcontrast: true
4700
- }, () => "1.5px").otherwise(() => "1px"),
4701
- "job-card-bg": match(theme).with({
4702
- highlights: "fill"
4703
- }, () => core("color.lowest")).otherwise(() => transparent),
4704
- "job-card-bg-active": match(theme).with({
4705
- highlights: "fill"
4706
- }, () => core("color.lowest")).otherwise(() => transparent),
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),
4707
4818
  "job-card-stroke-color": highContrast ? core("color.n-10") : core("color.n-4"),
4708
4819
  "job-card-stroke-color-active": core("color.a-9"),
4709
- "job-card-stroke-width": match(theme).with({
4710
- highlights: "stroke",
4711
- highcontrast: true
4712
- }, () => "1.5px").otherwise(() => "1px")
4820
+ "job-card-stroke-width": match(theme).with({ highlights: "stroke", highcontrast: true }, () => "1.5px").otherwise(() => "1px")
4713
4821
  };
4714
4822
  }).component(() => ({}));
4715
- const asInploiVar = asCssVar({
4716
- prefix: "i-"
4717
- });
4823
+ const asInploiVar = asCssVar({ prefix: "i-" });
4718
4824
  const generateColorThemeCss = (theme) => {
4719
- const core = tokens.from({
4720
- theme,
4721
- getToken: asInploiVar
4722
- });
4825
+ const core = tokens.from({ theme, getToken: asInploiVar });
4723
4826
  const tokenCss = Object.entries(core.declarations).map(([key, value]) => `${key}: ${value};`);
4724
4827
  return `#${JOB_SEARCH_SCOPE_ELEMENT_ID} {
4725
4828
  ${tokenCss.concat(tokenCss).join("\n")}
4726
4829
  }`;
4727
4830
  };
4728
- const FILTER_KEYS = ["company_name", "employment_type", "location_type", "pay_type", "pay_currency", "pay_mask", "pay", "pay_min", "pay_max", "title", "industry", "category", "skills", "town", "city", "country", "contract_type", "pay_display"];
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
+ ];
4729
4851
  const createJobSearchDomManager = () => {
4730
4852
  return {
4731
4853
  getRenderTargetElement: () => {
@@ -4737,33 +4859,28 @@ const createJobSearchDomManager = () => {
4737
4859
  };
4738
4860
  const dom = createJobSearchDomManager();
4739
4861
  const jobSearchPlugin = () => {
4740
- return createPlugin(({
4741
- apiClient,
4742
- logger,
4743
- analytics
4744
- }) => {
4862
+ return createPlugin(({ apiClient, logger, analytics }) => {
4745
4863
  const App = ({
4746
4864
  params
4747
4865
  }) => {
4748
4866
  var _a;
4749
- return y$2(ErrorBoundary, {
4750
- Fallback: UnstyledErrorView
4751
- }, [[y$2("style", {
4752
- id: "inploi-job-search-styles"
4753
- }, tailwind), y$2("style", {
4754
- id: "inploi-job-search-theme"
4755
- }, generateColorThemeCss(params.theme))], y$2(IconSpritesheet, {
4756
- theme: params.theme
4757
- }), y$2(JobSearch, {
4758
- properties: params.properties,
4759
- apiClient,
4760
- logger,
4761
- analytics,
4762
- class: ((_a = params.theme.accessibility) == null ? void 0 : _a.reducedMotion) ? "reduced-motion" : void 0,
4763
- initialData: params.initialData,
4764
- onFilterChange: params.onFilterChange,
4765
- params
4766
- })]);
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
+ ]);
4767
4884
  };
4768
4885
  return {
4769
4886
  /** Returns a string with the initial rendering state of the UI.
@@ -4774,26 +4891,31 @@ const jobSearchPlugin = () => {
4774
4891
  filters: getFilterDefaults(params.properties),
4775
4892
  apiClient,
4776
4893
  logger
4777
- }).then((jobs) => ({
4778
- jobs
4779
- })).catch(() => void 0) : void 0;
4894
+ }).then((jobs) => ({ jobs })).catch(() => void 0) : void 0;
4780
4895
  return {
4781
- html: b$1(y$2(g$3, {}, y$2(App, {
4782
- params: {
4783
- ...params,
4784
- initialData: data
4785
- }
4786
- }))),
4896
+ html: S(
4897
+ _$1(
4898
+ k$3,
4899
+ {},
4900
+ _$1(App, {
4901
+ params: {
4902
+ ...params,
4903
+ initialData: data
4904
+ }
4905
+ })
4906
+ )
4907
+ ),
4787
4908
  data
4788
4909
  };
4789
4910
  },
4790
4911
  /** Renders the Job Search Plugin inside the container element. */
4791
4912
  render: async (params) => {
4792
- const fn2 = params.initialData ? B$2 : q$2;
4793
- invariant(typeof window !== "undefined", "the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead.");
4794
- fn2(y$2(App, {
4795
- params
4796
- }), dom.getRenderTargetElement());
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());
4797
4919
  }
4798
4920
  };
4799
4921
  });