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